{{-- State Loader Logic for LandingSectionsEditor --}} const $hiddenInput = $('#landing-sections-hidden-' + name); try { const rawValue = $hiddenInput.val(); sections = JSON.parse(rawValue || '[]'); } catch (e) { console.error('[LandingSectionsEditor] Failed to parse initial value:', e); sections = []; }