{"version":3,"file":"CourseSectionMenu.BclvTFa7.mjs","names":["p","useRef","useState","useCallback","useMemo","__esmMin","init_ssg_sandbox_shims","pe","te","navigator","init_npm_react_18_3_1","_e","Ha","de","init_jsx_runtime","ne","init_npm_react_dom_18_3_1","c","ce","window","init_framer_Bf4_tcb2","addPropertyControls","ControlType","RenderTarget","prettify","id","lines","text","l","parseRename","out","i","key","norm","val","clean","isShown","el","h","cs","ours","BAR_ATTR","eyebrowOf","w","seen","node","t","p","scan","root","cands","e","validId","slot","o","applyRules","hideKeys","hide","renames","rename","raw","keys","r","base","source","hit","k","findNav","custom","ok","stack","best","bestTop","all","Bar","p$1","rowEl","canL","setCanL","canR","setCanR","hoverId","setHoverId","overBar","setOverBar","mouse","setMouse","measure","max","items","fade","dir","theme","arrow","on","barH","ready","FONT","contentWidth","s","active","hov","cta","CourseSectionMenu","props","itemSize","isCanvas","mounted","setMounted","setRaw","activeId","setActiveId","stuck","setStuck","navHidden","setNavHidden","phone","setPhone","navInfo","setNavInfo","zIndex","setZIndex","slotRef","barRefs","rowRefs","els","navRef","lastNavLook","navFull","navB","stuckRef","navHiddenRef","activeRef","clickTarget","settle","userUntil","raf","until","secs","labelSource","barHeightPhone","phonePadding","barHeight","cfg","collect","found","m","f","sig","prev","ts","ms","deb","mo","list","mq","extra","landingGap","spy","cur","lastShown","line","tick","nav","now","z","b","st","fx","ix","nh","run","wake","onScroll","onResize","row","a","li","left","reduce","onRowScroll","side","other","onUser","land","up","y","go","hashDone","onCta","u","ctaLink","same","shown","SAMPLE","live","minSections","showCta","ctaLabel","debugOn","showDebug","common","style","CSS","SKIP_ID","init_CourseSectionMenu"],"sources":["https:/framerusercontent.com/modules/MCDpxHlXb5SxaDe84RrR/nRpjnqpji8Xn4MJ7zKLW/CourseSectionMenu.js"],"sourcesContent":["// CourseSectionMenu — on-page section menu for the course pages (200-Hour,\n// Seniors, Prenatal & Postnatal, …). Viktor's brief, 2026-10-28.\n//\n// ONE component for every course page. Place one instance directly under the\n// hero, full width, and leave everything else on Auto:\n//\n// · Items = every section on the page BELOW this component that has a Scroll\n//   Section value (an id). Page order = menu order, so moving a section moves\n//   its menu item; renaming a layer renames the label. Sections without a\n//   Scroll Section value never appear. The label is the section's eyebrow\n//   (the first uppercase overline text inside it) or its layer name (setting\n//   \"Label from\"), falling back to the other one.\n// · Hide a section: write its layer name (or eyebrow) on its own line in\n//   \"Hide sections\". Rename one: \"name = New label\" per line in \"Rename\".\n//   Open the page with ?menudebug (or switch on \"Debug list\") to see every\n//   detected section with its names.\n// · Behaves as one system with the hide-on-scroll main nav WITHOUT copying its\n//   logic: it finds the fixed/sticky nav and simply sits at the nav's current\n//   bottom edge. Nav visible → menu directly under it. Nav hidden → menu at\n//   the top edge. Reappearing nav pushes the menu down instead of covering it.\n// · Under the hero it is an ordinary in-flow bar; once it reaches the top it\n//   hands over to a fixed copy (rendered into <body>, so Framer's transforms /\n//   overflow on parent layers can't break it). Both copies share state.\n// · \"Enroll Now\" button appears at the right end of the bar only while the\n//   main nav is hidden (the nav carries the button otherwise). It has the same\n//   box as the primary button in the main nav; colours are set in the panel\n//   (default white text on chocolate). Set \"Button link\" to the same target\n//   as the nav button, e.g. /seniors-yoga#enroll-now.\n// · The row scrolls sideways (edge fades, arrows on mouse devices); the active\n//   item is kept centred. Click → section lands just under the bar.\n// · Inline styles only; the one <style> is a constant string (no useId, see\n//   framer-useid-scoped-css).\n//\n// Placement: under the hero, Width = Fill (1fr). Do NOT set Position sticky or\n// fixed on the layer — the component does that itself.\n//\n// NOTE: never name a property control \"height\" or \"width\" — Framer reserves\n// those names for the layer size and overwrites them at runtime (that made the\n// bar 100vh tall). The bar height controls are \"barHeight\" / \"barHeightPhone\".\n//\n// 2026-11-04 mobile fixes:\n// · Dragging the row on touch screens works again. Two causes removed: (1) the\n//   hidden twin bar wrote scrollLeft back into the row being dragged, which\n//   killed the swipe/momentum; now only the visible bar is synced to the\n//   hidden one. (2) edge fades used mask-image on the scroller (unreliable for\n//   touch on iOS); they are now plain overlay gradients that ignore touches.\n//   The row also declares touch-action: pan-x, and links are not draggable.\n// · \"Phone padding\" adds extra space above and below the items on phones.\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useEffect,useState,useRef,useMemo,useCallback,startTransition}from\"react\";import{createPortal}from\"react-dom\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";const FONT='\"Satoshi\", \"Satoshi Placeholder\", sans-serif';const SKIP_ID=/^(main|overlay|template-overlay|svg-templates|undefined|frameruni|__framer)/i;const BAR_ATTR=\"data-mw-secmenu\";const CSS=`.mw-secmenu-row::-webkit-scrollbar{display:none}.mw-secmenu-row{scrollbar-width:none}.mw-secmenu-row a{-webkit-user-drag:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent}`;const norm=s=>(s||\"\").toLowerCase().replace(/[^a-z0-9]+/g,\"\");const clean=s=>(s||\"\").replace(/[{}]/g,\"\").replace(/\\s+/g,\" \").trim();function prettify(id){const t=id.replace(/[-_]+/g,\" \").trim();return t?t.charAt(0).toUpperCase()+t.slice(1):id;}function lines(text){return(text||\"\").split(/\\n|;/).map(l=>l.trim()).filter(Boolean);}function parseRename(text){const out=[];lines(text).forEach(l=>{const i=l.indexOf(\"=\");if(i<1)return;const key=norm(l.slice(0,i));const val=clean(l.slice(i+1));if(key&&val)out.push([key,val]);});return out;}function isShown(el){if(!el)return false;const h=el;if(h.getClientRects().length===0)return false;const cs=window.getComputedStyle(h);return cs.display!==\"none\"&&cs.visibility!==\"hidden\";}function ours(el){return!!(el&&el.closest&&el.closest(`[${BAR_ATTR}]`));}/** The eyebrow = first short uppercase text among the first few text nodes. */function eyebrowOf(el){const w=document.createTreeWalker(el,NodeFilter.SHOW_TEXT);let seen=0;let node;while((node=w.nextNode())&&seen<6){const t=clean(node.textContent||\"\");if(!t)continue;seen++;const p=node.parentElement;if(!p||t.length>70)continue;if(window.getComputedStyle(p).textTransform===\"uppercase\")return t;}return\"\";}const validId=id=>!!id&&/^[a-z][a-z0-9_-]*$/i.test(id)&&!SKIP_ID.test(id);/** Every section below the menu that has a Scroll Section id, in page order (outermost layers only). */function scan(slot){const root=document.getElementById(\"main\")||document.body;const cands=Array.from(root.querySelectorAll(\"[id]\")).filter(e=>{if(!(e instanceof HTMLElement))return false;if(!validId(e.id))return false;if(ours(e)||e.closest(\"nav\"))return false;if(slot&&(e.contains(slot)||slot.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_PRECEDING))return false;return e.offsetHeight>=80&&isShown(e);});const outer=cands.filter(e=>!cands.some(o=>o!==e&&o.contains(e)));return outer.map(el=>({el,id:el.id,layer:clean(el.getAttribute(\"data-framer-name\")||\"\"),eyebrow:eyebrowOf(el)}));}function applyRules(raw,hide,rename,source){const hideKeys=lines(hide).map(norm).filter(Boolean);const renames=parseRename(rename);return raw.map(r=>{const keys=[norm(r.id),norm(r.layer),norm(r.eyebrow)].filter(Boolean);const base=source===\"Layer name\"?r.layer||r.eyebrow||prettify(r.id):r.eyebrow||r.layer||prettify(r.id);const hit=renames.find(([k])=>keys.indexOf(k)!==-1);return{...r,label:hit?hit[1]:base,hidden:hideKeys.some(k=>keys.indexOf(k)!==-1)};});}/** The fixed/sticky main nav: a wide, short fixed/sticky bar near the top of the viewport.\n *  It may sit below a banner (top > 0) or be slid out of view (bottom <= 0) by hide-on-scroll. */function findNav(custom){if(custom&&custom.trim()){try{const c=document.querySelector(custom.trim());if(c)return c;}catch(e){}}const ok=el=>{if(ours(el))return false;const cs=window.getComputedStyle(el);if(cs.position!==\"fixed\"&&cs.position!==\"sticky\")return false;const r=el.getBoundingClientRect();return r.height>=24&&r.height<=220&&r.width>=window.innerWidth*.6&&r.top<=150&&r.bottom>=-260;};const stack=document.elementsFromPoint(Math.round(window.innerWidth/2),6);for(const hit of stack){let el=hit;while(el&&el!==document.body&&el!==document.documentElement){if(ok(el))return el;el=el.parentElement;}}// Nav not under the probe point (below a banner, or slid out): scan for it.\nlet best=null;let bestTop=1e9;const all=document.body.querySelectorAll(\"div, header, nav\");for(let i=0;i<all.length;i++){const el=all[i];if(!ok(el))continue;const t=el.getBoundingClientRect().top;if(t<bestTop){best=el;bestTop=t;}}return best;}function Bar(p){const{items,active,barH,theme,contentWidth,cta,ready}=p;const rowEl=useRef(null);const[canL,setCanL]=useState(false);const[canR,setCanR]=useState(false);const[hoverId,setHoverId]=useState(\"\");const[overBar,setOverBar]=useState(false);const[mouse,setMouse]=useState(false);useEffect(()=>{if(typeof window===\"undefined\")return;setMouse(window.matchMedia(\"(hover: hover)\").matches);},[]);const measure=useCallback(()=>{const r=rowEl.current;if(!r)return;const max=r.scrollWidth-r.clientWidth;startTransition(()=>{setCanL(r.scrollLeft>4);setCanR(r.scrollLeft<max-4);});},[]);useEffect(()=>{measure();window.addEventListener(\"resize\",measure);return()=>window.removeEventListener(\"resize\",measure);},[measure,items.length,p.barH]);// Edge fades are overlays that ignore touches (a mask-image on the scroller blocks touch drags on iOS).\nconst fade=(dir,on)=>/*#__PURE__*/_jsx(\"div\",{\"aria-hidden\":\"true\",style:{position:\"absolute\",top:0,bottom:0,...dir<0?{left:0}:{right:0},width:36,pointerEvents:\"none\",zIndex:1,opacity:on?1:0,transition:\"opacity 0.2s ease\",background:`linear-gradient(${dir<0?90:270}deg, ${theme.bg} 0%, transparent 100%)`}});const arrow=(dir,on)=>/*#__PURE__*/_jsx(\"button\",{type:\"button\",\"aria-label\":dir<0?\"Scroll menu left\":\"Scroll menu right\",tabIndex:-1,onClick:()=>rowEl.current&&rowEl.current.scrollBy({left:dir*rowEl.current.clientWidth*.6,behavior:\"smooth\"}),style:{position:\"absolute\",top:0,bottom:0,...dir<0?{left:0}:{right:0},width:34,padding:0,border:0,background:\"transparent\",color:theme.active,cursor:\"pointer\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",opacity:on&&overBar&&mouse?1:0,pointerEvents:on&&overBar&&mouse?\"auto\":\"none\",transition:\"opacity 0.2s ease\",zIndex:2},children:/*#__PURE__*/_jsx(\"svg\",{width:\"14\",height:\"14\",viewBox:\"0 0 16 16\",fill:\"none\",stroke:\"currentColor\",strokeWidth:\"2\",children:/*#__PURE__*/_jsx(\"path\",{d:dir<0?\"M10 3 5 8l5 5\":\"m6 3 5 5-5 5\"})})});return /*#__PURE__*/_jsx(\"div\",{ref:p.barRef,[BAR_ATTR]:p.side,\"aria-hidden\":p.visible?undefined:true,style:{boxSizing:\"border-box\",height:barH,width:\"100%\",background:ready?theme.bg:\"transparent\",borderBottom:ready?`1px solid ${theme.border}`:\"1px solid transparent\",boxShadow:p.shadow&&ready?\"0 8px 22px -12px rgba(58, 27, 20, 0.35)\":\"none\",transition:\"box-shadow 0.3s ease\",fontFamily:FONT,visibility:p.visible?\"visible\":\"hidden\",...p.style},children:/*#__PURE__*/_jsxs(\"nav\",{\"aria-label\":\"On this page\",style:{height:\"100%\",maxWidth:contentWidth,margin:\"0 auto\",padding:\"0 20px\",boxSizing:\"border-box\",display:\"flex\",alignItems:\"center\"},children:[/*#__PURE__*/_jsxs(\"div\",{style:{position:\"relative\",flex:\"1 1 auto\",minWidth:0,height:\"100%\"},onMouseEnter:()=>setOverBar(true),onMouseLeave:()=>setOverBar(false),children:[fade(-1,canL),fade(1,canR),arrow(-1,canL),/*#__PURE__*/_jsx(\"div\",{ref:el=>{rowEl.current=el;p.rowRef(el);},className:\"mw-secmenu-row\",onScroll:()=>{measure();if(rowEl.current)p.onRowScroll(rowEl.current.scrollLeft);},onPointerDown:p.onUser,onWheel:p.onUser,onTouchStart:p.onUser,style:{position:\"relative\",height:\"100%\",overflowX:\"scroll\",overflowY:\"hidden\",overscrollBehaviorX:\"contain\",touchAction:\"pan-x\",WebkitOverflowScrolling:\"touch\"},children:/*#__PURE__*/_jsx(\"ul\",{style:{listStyle:\"none\",margin:0,padding:0,display:\"flex\",height:\"100%\",width:\"max-content\",gap:4},children:items.map(s=>{const on=s.id===active;const hov=s.id===hoverId;return /*#__PURE__*/_jsx(\"li\",{style:{margin:0,padding:0,height:\"100%\"},children:/*#__PURE__*/_jsxs(\"a\",{href:`#${s.id}`,\"data-mw-sec\":s.id,title:s.label,draggable:false,tabIndex:p.visible?undefined:-1,\"aria-current\":on?\"location\":undefined,onClick:e=>p.onGo(e,s.id),onMouseEnter:()=>setHoverId(s.id),onMouseLeave:()=>setHoverId(\"\"),style:{position:\"relative\",display:\"flex\",alignItems:\"center\",height:\"100%\",padding:\"0 14px\",boxSizing:\"border-box\",textDecoration:\"none\",whiteSpace:\"nowrap\",fontSize:theme.size,lineHeight:1.2,color:on||hov?theme.active:theme.text,transition:\"color 0.2s ease\",cursor:\"pointer\",userSelect:\"none\",WebkitUserSelect:\"none\"},children:[/*#__PURE__*/_jsxs(\"span\",{style:{display:\"inline-grid\"},children:[/*#__PURE__*/_jsx(\"span\",{\"aria-hidden\":\"true\",style:{gridArea:\"1 / 1\",fontWeight:700,visibility:\"hidden\"},children:s.label}),/*#__PURE__*/_jsx(\"span\",{style:{gridArea:\"1 / 1\",fontWeight:on?700:500},children:s.label})]}),/*#__PURE__*/_jsx(\"span\",{\"aria-hidden\":\"true\",style:{position:\"absolute\",left:14,right:14,bottom:-1,height:2,background:theme.accent,transformOrigin:\"left\",transform:on?\"scaleX(1)\":\"scaleX(0)\",transition:\"transform 0.3s ease\"}})]})},s.id);})})}),arrow(1,canR)]}),cta?/*#__PURE__*/_jsx(\"div\",{style:{flex:\"none\",overflow:\"hidden\",maxWidth:cta.show?220:0,opacity:cta.show?1:0,marginLeft:cta.show?12:0,transition:\"max-width 0.38s ease, opacity 0.25s ease, margin 0.3s ease\"},children:/*#__PURE__*/_jsx(\"a\",{href:cta.href||\"#\",onClick:p.onCta,tabIndex:cta.show&&p.visible?undefined:-1,style:{display:\"inline-flex\",alignItems:\"center\",justifyContent:\"center\",// same box as the primary button in the main nav: 10px 20px, Satoshi 15/500\nboxSizing:\"border-box\",padding:\"10px 20px\",background:theme.ctaBg,color:theme.ctaText,fontFamily:FONT,fontSize:15,lineHeight:\"15px\",fontWeight:500,letterSpacing:\"-0.01em\",whiteSpace:\"nowrap\",textDecoration:\"none\"},children:cta.label})}):null]})});}const SAMPLE=[\"Overview\",\"Curriculum\",\"Manual\",\"Pricing\",\"FAQ\"].map(l=>({id:norm(l),layer:l,eyebrow:l,label:l,hidden:false}));/**\n * Course Section Menu\n *\n * @framerIntrinsicWidth 1000\n * @framerIntrinsicHeight 48\n *\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight auto\n */export default function CourseSectionMenu(props){const{hide,rename,labelSource,showCta,ctaLabel,ctaLink,barHeight,barHeightPhone,phonePadding,contentWidth,itemSize,landingGap,minSections,followNav,topOffset,navSelector,showDebug,style}=props;const theme={bg:props.bg,text:props.text,active:props.active,accent:props.accent,border:props.border,ctaBg:props.ctaBg,ctaText:props.ctaText,size:itemSize};const isCanvas=RenderTarget.current()===RenderTarget.canvas;const[mounted,setMounted]=useState(false);const[raw,setRaw]=useState(null);const[activeId,setActiveId]=useState(\"\");const[stuck,setStuck]=useState(false);const[navHidden,setNavHidden]=useState(false);const[phone,setPhone]=useState(false);const[navInfo,setNavInfo]=useState(\"not looked for yet\");const[zIndex,setZIndex]=useState(40);const slotRef=useRef(null);const barRefs=useRef({inline:null,fixed:null});const rowRefs=useRef({inline:null,fixed:null});const els=useRef(new Map);const navRef=useRef(null);const lastNavLook=useRef(0);const navFull=useRef(0);const navB=useRef(0);const stuckRef=useRef(false);const navHiddenRef=useRef(false);const activeRef=useRef(\"\");const clickTarget=useRef(\"\");const settle=useRef(0);const userUntil=useRef(0);const raf=useRef(0);const until=useRef(0);const secs=useMemo(()=>raw?applyRules(raw,hide,rename,labelSource):[],[raw,hide,rename,labelSource]);const items=useMemo(()=>secs.filter(s=>!s.hidden),[secs]);// On phones the bar gets extra space above and below the items (\"Phone padding\" is per side).\nconst barH=phone?Math.max(32,Number(barHeightPhone)||44)+2*Math.max(0,Number(phonePadding)||0):Math.max(32,Number(barHeight)||48);// Latest values for the scroll loop (no re-subscribing on every render).\nconst cfg=useRef({secs,barH,landingGap,followNav,topOffset,navSelector,showCta});cfg.current={secs,barH,landingGap,followNav,topOffset,navSelector,showCta};// ── Detect sections ─────────────────────────────────────────────────\nconst collect=useCallback(()=>{if(typeof document===\"undefined\")return;const found=scan(slotRef.current);const m=new Map;found.forEach(f=>m.set(f.id,f.el));els.current=m;const sig=found.map(f=>`${f.id}|${f.layer}|${f.eyebrow}`).join(\"\\n\");setRaw(prev=>{const old=prev?prev.map(f=>`${f.id}|${f.layer}|${f.eyebrow}`).join(\"\\n\"):null;return old===sig?prev:found.map(({id,layer,eyebrow})=>({id,layer,eyebrow}));});},[]);useEffect(()=>{if(isCanvas||typeof window===\"undefined\")return;setMounted(true);collect();const ts=[200,800,2e3,4e3].map(ms=>window.setTimeout(collect,ms));let deb=0;const root=document.getElementById(\"main\")||document.body;const mo=new MutationObserver(list=>{if(list.every(r=>ours(r.target)))return;window.clearTimeout(deb);deb=window.setTimeout(collect,400);});mo.observe(root,{childList:true,subtree:true});window.addEventListener(\"load\",collect);return()=>{ts.forEach(t=>window.clearTimeout(t));window.clearTimeout(deb);mo.disconnect();window.removeEventListener(\"load\",collect);};},[collect,isCanvas]);useEffect(()=>{if(typeof window===\"undefined\")return;const mq=window.matchMedia(\"(max-width: 809px)\");const on=()=>setPhone(mq.matches);on();mq.addEventListener(\"change\",on);return()=>mq.removeEventListener(\"change\",on);},[]);// Native anchor jumps (Framer links to a scroll section, #hash on load) also clear the bars.\nuseEffect(()=>{if(typeof window===\"undefined\"||isCanvas)return;const extra=(cfg.current.followNav?navFull.current:0)+barH+landingGap;els.current.forEach(el=>{el.style.scrollMarginTop=`${extra}px`;});},[raw,barH,landingGap,isCanvas,navInfo]);// ── The loop: follow the nav, decide stuck, spy ─────────────────────\nconst spy=useCallback(line=>{const all=cfg.current.secs;let cur=\"\";let lastShown=\"\";for(const s of all){const el=els.current.get(s.id);if(!el)continue;if(!s.hidden)lastShown=s.id;if(el.getBoundingClientRect().top<=line)cur=s.hidden?lastShown:s.id;else break;}if(window.scrollY+window.innerHeight>=document.documentElement.scrollHeight-2){for(let i=all.length-1;i>=0;i--)if(!all[i].hidden){cur=all[i].id;break;}}if(clickTarget.current)cur=clickTarget.current;if(cur!==activeRef.current){activeRef.current=cur;startTransition(()=>setActiveId(cur));}},[]);const tick=useCallback(()=>{const c=cfg.current;let nav=navRef.current;const now=performance.now();if((!nav||!nav.isConnected)&&now-lastNavLook.current>500){lastNavLook.current=now;nav=c.followNav?findNav(c.navSelector):null;navRef.current=nav;if(nav){const z=parseInt(window.getComputedStyle(nav).zIndex,10);if(!isNaN(z))setZIndex(Math.max(1,z-1));}setNavInfo(nav?`found, ${Math.round(nav.getBoundingClientRect().height)}px tall`:\"not found\");}let b=c.topOffset;if(c.followNav&&nav&&nav.isConnected){const r=nav.getBoundingClientRect();if(r.height>navFull.current)navFull.current=r.height;b=Math.max(0,Math.round(r.bottom*10)/10);}navB.current=b;const slot=slotRef.current;if(!slot)return;// reads first, writes after (no layout thrash inside the scroll loop)\nconst st=slot.getBoundingClientRect().top<=b+.5;spy(c.barH+b+24);const fx=barRefs.current.fixed;const ix=barRefs.current.inline;if(fx){fx.style.top=`${b}px`;fx.style.visibility=st?\"visible\":\"hidden\";}if(ix)ix.style.visibility=st?\"hidden\":\"visible\";if(st!==stuckRef.current){stuckRef.current=st;startTransition(()=>setStuck(st));}const nh=!!(c.followNav&&nav)?b<=1:true;if(nh!==navHiddenRef.current){navHiddenRef.current=nh;startTransition(()=>setNavHidden(nh));}},[spy]);const run=useCallback(()=>{raf.current=0;tick();if(performance.now()<until.current)raf.current=window.requestAnimationFrame(run);},[tick]);const wake=useCallback(ms=>{until.current=Math.max(until.current,performance.now()+ms);if(!raf.current)raf.current=window.requestAnimationFrame(run);},[run]);useEffect(()=>{if(isCanvas||typeof window===\"undefined\")return;const onScroll=()=>{wake(900)// tail covers the nav's own slide animation\n;if(clickTarget.current){window.clearTimeout(settle.current);settle.current=window.setTimeout(()=>{clickTarget.current=\"\";wake(100);},160);}};const onResize=()=>wake(400);wake(1500);window.addEventListener(\"scroll\",onScroll,{passive:true});window.addEventListener(\"resize\",onResize);return()=>{if(raf.current)window.cancelAnimationFrame(raf.current);raf.current=0;window.clearTimeout(settle.current);window.removeEventListener(\"scroll\",onScroll);window.removeEventListener(\"resize\",onResize);};},[wake,isCanvas]);useEffect(()=>{if(mounted)wake(600);},[mounted,raw,hide,rename,barH,wake]);// ── Keep the active item centred in the visible row ────────────────\nuseEffect(()=>{if(isCanvas||!activeId||performance.now()<userUntil.current)return;const row=stuck?rowRefs.current.fixed:rowRefs.current.inline;const a=row&&row.querySelector(`a[data-mw-sec=\"${activeId}\"]`);if(!row||!a)return;const li=a.parentElement;const left=li.offsetLeft-(row.clientWidth-li.offsetWidth)/2;const reduce=window.matchMedia(\"(prefers-reduced-motion: reduce)\").matches;row.scrollTo({left:Math.max(0,left),behavior:reduce?\"auto\":\"smooth\"});},[activeId,stuck,items.length,isCanvas]);// Only the VISIBLE bar drives the hidden twin. Writing scrollLeft back into the row the finger\n// is dragging cancels touch scrolling / momentum, so the hidden bar's echo is ignored.\nconst onRowScroll=useCallback((side,left)=>{if(side===\"fixed\"!==stuckRef.current)return;const other=rowRefs.current[side===\"inline\"?\"fixed\":\"inline\"];if(other&&Math.abs(other.scrollLeft-left)>1)other.scrollLeft=left;},[]);const onUser=useCallback(()=>{userUntil.current=performance.now()+2500;},[]);// ── Landing ─────────────────────────────────────────────────────────\nconst land=useCallback((el,id)=>{const c=cfg.current;const base=el.getBoundingClientRect().top+window.scrollY-c.barH-c.landingGap;// Jumping UP makes Framer's nav come back, so leave room for it too.\nconst up=base<window.scrollY-2;const y=Math.max(0,base-(c.followNav&&up?navFull.current:0));clickTarget.current=id;activeRef.current=id;setActiveId(id);const reduce=window.matchMedia(\"(prefers-reduced-motion: reduce)\").matches;window.scrollTo({top:y,behavior:reduce?\"auto\":\"smooth\"});window.clearTimeout(settle.current);settle.current=window.setTimeout(()=>{clickTarget.current=\"\";wake(100);},reduce?60:350);wake(1200);},[wake]);const go=useCallback((e,id)=>{if(e.defaultPrevented||e.button!==0||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey)return;const el=els.current.get(id);if(!el)return;e.preventDefault();land(el,id);try{window.history.replaceState(null,\"\",`#${id}`);}catch(err){}},[land]);// A #hash in the URL (shared link) → jump to that section once the list is known.\nconst hashDone=useRef(false);useEffect(()=>{if(isCanvas||hashDone.current||!raw||raw.length===0||typeof window===\"undefined\")return;hashDone.current=true;let h=\"\";try{h=decodeURIComponent(window.location.hash.slice(1));}catch(e){}const el=h?els.current.get(h):null;if(el)window.setTimeout(()=>land(el,h),350);},[raw,isCanvas,land]);const onCta=useCallback(e=>{if(e.defaultPrevented||e.button!==0||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey)return;try{const u=new URL(ctaLink||\"\",window.location.href);const same=u.pathname.replace(/\\/+$/,\"\")===window.location.pathname.replace(/\\/+$/,\"\");const el=u.hash?document.getElementById(decodeURIComponent(u.hash.slice(1))):null;if(same&&el){e.preventDefault();land(el,\"\");}}catch(err){}},[ctaLink,land]);// ── Render ──────────────────────────────────────────────────────────\nconst shown=isCanvas?SAMPLE:items;const live=isCanvas||raw!==null&&items.length>=Math.max(1,minSections);const ready=isCanvas||raw!==null;const active=isCanvas?\"overview\":activeId;const cta=showCta&&ctaLabel?{label:ctaLabel,href:ctaLink,show:isCanvas?false:stuck&&navHidden}:null;const debugOn=showDebug||mounted&&typeof window!==\"undefined\"&&/[?&]menudebug/.test(window.location.search);const common={items:shown,active,barH,theme,contentWidth,cta,ready:ready&&live,onGo:go,onCta,onUser};return /*#__PURE__*/_jsxs(\"div\",{ref:slotRef,style:{position:\"relative\",...style,// Framer's layout style must never decide the height: the slot is\n// exactly one bar tall (or 0 when the menu is not shown).\nwidth:\"100%\",height:live||!ready?barH:0},children:[/*#__PURE__*/_jsx(\"style\",{children:CSS}),live||!ready?/*#__PURE__*/_jsx(Bar,{...common,side:\"inline\",visible:!stuck||isCanvas,shadow:false,barRef:el=>barRefs.current.inline=el,rowRef:el=>rowRefs.current.inline=el,onRowScroll:l=>onRowScroll(\"inline\",l),style:{position:\"absolute\",left:0,right:0,top:0}}):null,mounted&&live&&!isCanvas&&typeof document!==\"undefined\"?/*#__PURE__*/createPortal(/*#__PURE__*/_jsx(Bar,{...common,side:\"fixed\",visible:stuck,shadow:stuck,barRef:el=>barRefs.current.fixed=el,rowRef:el=>rowRefs.current.fixed=el,onRowScroll:l=>onRowScroll(\"fixed\",l),style:{position:\"fixed\",left:0,right:0,top:navB.current,zIndex}}),document.body):null,mounted&&debugOn&&!isCanvas&&typeof document!==\"undefined\"?/*#__PURE__*/createPortal(/*#__PURE__*/_jsxs(\"div\",{[BAR_ATTR]:\"debug\",style:{position:\"fixed\",left:12,bottom:12,zIndex:2147483e3,width:340,maxWidth:\"calc(100vw - 24px)\",maxHeight:\"60vh\",overflow:\"auto\",background:\"#fff\",color:\"#3A1B14\",border:\"1px solid #3A1B14\",fontFamily:FONT,fontSize:12,lineHeight:1.4,padding:12,boxShadow:\"0 12px 32px -12px rgba(58,27,20,.45)\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{fontWeight:700,marginBottom:4},children:\"Section menu: detected sections\"}),/*#__PURE__*/_jsxs(\"div\",{style:{color:\"#7A6057\",marginBottom:8},children:[\"Top nav: \",navInfo,\" \\xb7 bar \",stuck?`stuck at ${navB.current}px`:\"in flow\",\" \\xb7 click a row to copy its id\"]}),secs.length===0?/*#__PURE__*/_jsx(\"div\",{children:\"No sections found below the menu.\"}):null,secs.map(s=>/*#__PURE__*/_jsxs(\"div\",{onClick:()=>{try{navigator.clipboard.writeText(s.id);}catch(e){}},style:{padding:\"5px 0\",borderTop:\"1px solid #E5D3C8\",cursor:\"copy\",opacity:s.hidden?.5:1},children:[/*#__PURE__*/_jsx(\"b\",{style:{textDecoration:s.hidden?\"line-through\":\"none\"},children:s.label}),s.hidden?\" (hidden)\":\"\",/*#__PURE__*/_jsxs(\"div\",{style:{color:\"#7A6057\"},children:[\"id: \",s.id,\" \\xb7 layer: \",s.layer||\"–\",\" \\xb7 eyebrow: \",s.eyebrow||\"–\"]})]},s.id))]}),document.body):null]});}CourseSectionMenu.defaultProps={hide:\"\",rename:\"\",labelSource:\"Eyebrow text\",showCta:true,ctaLabel:\"Enroll Now\",ctaLink:\"\",barHeight:48,barHeightPhone:44,phonePadding:6,contentWidth:1e3,itemSize:15,landingGap:8,minSections:3,followNav:true,topOffset:0,navSelector:\"\",showDebug:false,bg:\"rgb(251, 245, 240)\",text:\"rgb(122, 96, 87)\",active:\"rgb(58, 27, 20)\",accent:\"rgb(236, 106, 82)\",border:\"rgb(229, 211, 200)\",ctaBg:\"rgb(58, 27, 20)\",ctaText:\"rgb(255, 255, 255)\"};addPropertyControls(CourseSectionMenu,{hide:{type:ControlType.String,title:\"Hide sections\",displayTextArea:true,placeholder:\"one section per line\",description:\"Sections to leave out of the menu (on top of the Scroll Section rule). One per line: layer name or eyebrow (any capitalisation). Only sections with a Scroll Section value are in the menu at all. Add ?menudebug to the page URL to list them all.\"},rename:{type:ControlType.String,title:\"Rename\",displayTextArea:true,placeholder:\"Section layer name = Menu label\",description:\"Menu label override. One per line: name = New label.\"},labelSource:{type:ControlType.Enum,title:\"Label from\",options:[\"Eyebrow text\",\"Layer name\"],optionTitles:[\"Eyebrow\",\"Layer name\"],displaySegmentedControl:true,description:\"Falls back to the other one when empty.\"},showCta:{type:ControlType.Boolean,title:\"Button\",enabledTitle:\"Show\",disabledTitle:\"Hide\"},ctaLabel:{type:ControlType.String,title:\"Button label\",hidden:p=>!p.showCta},ctaLink:{type:ControlType.Link,title:\"Button link\",hidden:p=>!p.showCta,description:\"Same target as the nav button, e.g. /page#section. Empty = the button does nothing.\"},minSections:{type:ControlType.Number,title:\"Min items\",min:1,max:10,step:1,displayStepper:true,description:\"Fewer menu items than this → the menu does not render.\"},barHeight:{type:ControlType.Number,title:\"Bar height\",min:36,max:72,step:1,unit:\"px\"},barHeightPhone:{type:ControlType.Number,title:\"Bar height phone\",min:36,max:72,step:1,unit:\"px\"},phonePadding:{type:ControlType.Number,title:\"Phone padding\",min:0,max:24,step:1,unit:\"px\",description:\"Extra space above AND below the items on phones (added to Bar height phone).\"},contentWidth:{type:ControlType.Number,title:\"Content width\",min:320,max:1600,step:10,unit:\"px\",description:\"Align with the page container (1000).\"},itemSize:{type:ControlType.Number,title:\"Text size\",min:12,max:20,step:1,unit:\"px\"},landingGap:{type:ControlType.Number,title:\"Landing gap\",min:0,max:80,step:2,unit:\"px\",description:\"Space between the menu and a section's top edge after a click.\"},bg:{type:ControlType.Color,title:\"Background\"},text:{type:ControlType.Color,title:\"Text\"},active:{type:ControlType.Color,title:\"Active text\"},accent:{type:ControlType.Color,title:\"Underline\"},border:{type:ControlType.Color,title:\"Border\"},ctaBg:{type:ControlType.Color,title:\"Button background\",hidden:p=>!p.showCta},ctaText:{type:ControlType.Color,title:\"Button text\",hidden:p=>!p.showCta},showDebug:{type:ControlType.Boolean,title:\"Debug list\",enabledTitle:\"On\",disabledTitle:\"Off\",description:\"Lists every detected section on the live page. Turn off before publishing (or just use ?menudebug).\"},followNav:{type:ControlType.Boolean,title:\"Follow nav\",enabledTitle:\"Yes\",disabledTitle:\"No\",description:\"Sit under the hide-on-scroll nav. Off = always at Top offset.\"},topOffset:{type:ControlType.Number,title:\"Top offset\",min:0,max:200,step:1,unit:\"px\",description:\"Used when Follow nav is off or the nav can't be found.\"},navSelector:{type:ControlType.String,title:\"Nav selector\",description:\"Advanced. CSS selector of the main nav wrapper. Empty = auto-detect.\",hidden:p=>!p.followNav}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"CourseSectionMenu\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"auto\",\"framerIntrinsicHeight\":\"48\",\"framerIntrinsicWidth\":\"1000\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//#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