{"version":3,"file":"TableOfContents.CYuPRZ51.mjs","names":["React.useContext","React.useMemo","React.Fragment","React.forwardRef","useRef","React.useId","useState","useRef","closedTranslate","_Fragment","useState","useState","useRef","_Fragment"],"sources":["https:/framerusercontent.com/modules/GM9fnosZmexgVmVFcnLU/y3Bxwp1HyhC4Ljy8raEp/TextClip.js","https:/framerusercontent.com/modules/TCXWTlqRGocAFDlRfVDE/qD4exJgLm4y6g7SpCv7M/QujhKuuAF.js","https:/framerusercontent.com/modules/69WZFguKfgkBuoASP1C6/RtUNh4M2U7Y6aqanSCx0/TableOFcontentMobile.js","https:/framerusercontent.com/modules/vj7bFUjvEQFgEzNBkdoG/vf3CKm378wlVcBk7IhSU/createStore.js","https:/framer.com/m/framer/store.js@^1.0.0","https:/framerusercontent.com/modules/1XxWQwY0hfK0NPkccp4R/KJkJpnADqLZBYSaIILnx/Utils.js","https:/framer.com/m/Utils-WIyM.js","https:/framerusercontent.com/modules/4BsNydxeAEjhleU69NfW/m46G91LvjMdR2vxD0YqI/TableOfContents.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n */export default function TextClip({text,fontSize,fontFamily,color,fontWeight,lineHeight}){return /*#__PURE__*/_jsx(\"p\",{style:{fontFamily,fontSize,color,fontWeight,lineHeight,margin:0,width:\"100%\"},children:text});}TextClip.defaultProps={text:\"This is a long title that will be clipped\",fontSize:16,fontFamily:\"DM Sans, Arial, sans-serif\",color:\"#ffffff\",fontWeight:400,lineHeight:1.4};addPropertyControls(TextClip,{text:{type:ControlType.String,title:\"Text\",defaultValue:\"This is a long title that will be clipped\"},fontSize:{type:ControlType.Number,title:\"Font Size\",defaultValue:16,min:10,max:32,step:1},fontFamily:{type:ControlType.String,title:\"Font\",defaultValue:\"DM Sans, Arial, sans-serif\"},color:{type:ControlType.Color,title:\"Color\",defaultValue:\"#ffffff\"},fontWeight:{type:ControlType.Number,title:\"Weight\",defaultValue:400,min:100,max:900,step:100},lineHeight:{type:ControlType.Number,title:\"Line Height\",defaultValue:1.4,min:1,max:3,step:.1,displayStepper:true}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"TextClip\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"any\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"any\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./TextClip.map","// Generated by Framer (1a21bd5)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ComponentViewportProvider,ControlType,cx,getFonts,SmartComponentScopedContainer,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";import TextClip from\"https://framerusercontent.com/modules/GM9fnosZmexgVmVFcnLU/y3Bxwp1HyhC4Ljy8raEp/TextClip.js\";const TextClipFonts=getFonts(TextClip);const cycleOrder=[\"VR0hcvI0r\",\"kOsTP3eVO\"];const serializationHash=\"framer-sFQQi\";const variantClassNames={kOsTP3eVO:\"framer-v-olwufr\",VR0hcvI0r:\"framer-v-x1txm5\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const jgLXzaW6M=undefined;const J7BaLDAFQ=undefined;const transition1={bounce:.2,delay:0,duration:.4,type:\"spring\"};const Transition=({value,children})=>{const config=React.useContext(MotionConfigContext);const transition=value??config.transition;const contextValue=React.useMemo(()=>({...config,transition}),[JSON.stringify(transition)]);return /*#__PURE__*/_jsx(MotionConfigContext.Provider,{value:contextValue,children:children});};const humanReadableVariantMap={h2:\"VR0hcvI0r\",h3:\"kOsTP3eVO\"};const Variants=motion.create(React.Fragment);const getProps=({fontSize,height,id,title,width,...props})=>{return{...props,J7BaLDAFQ:fontSize??props.J7BaLDAFQ??14,jgLXzaW6M:title??props.jgLXzaW6M??\"Title\",variant:humanReadableVariantMap[props.variant]??props.variant??\"VR0hcvI0r\"};};const createLayoutDependency=(props,variants)=>{if(props.layoutDependency)return variants.join(\"-\")+props.layoutDependency;return variants.join(\"-\");};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const fallbackRef=useRef(null);const refBinding=ref??fallbackRef;const defaultLayoutId=React.useId();const{activeLocale,setLocale}=useLocaleInfo();const componentViewport=useComponentViewport();const{style,className,layoutId,variant,jgLXzaW6M,J7BaLDAFQ,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"VR0hcvI0r\",ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const sharedStyleClassNames=[];const scopingClassNames=cx(serializationHash,...sharedStyleClassNames);return /*#__PURE__*/_jsx(LayoutGroup,{id:layoutId??defaultLayoutId,children:/*#__PURE__*/_jsx(Variants,{animate:variants,initial:false,children:/*#__PURE__*/_jsx(Transition,{value:transition1,children:/*#__PURE__*/_jsx(motion.div,{...restProps,...gestureHandlers,className:cx(scopingClassNames,\"framer-x1txm5\",className,classNames),\"data-framer-name\":\"h2\",layoutDependency:layoutDependency,layoutId:\"VR0hcvI0r\",ref:refBinding,style:{...style},...addPropertyOverrides({kOsTP3eVO:{\"data-framer-name\":\"h3\"}},baseVariant,gestureVariant),children:/*#__PURE__*/_jsx(motion.div,{className:\"framer-1h78ijl\",layoutDependency:layoutDependency,layoutId:\"I9AxujnGQ\",children:/*#__PURE__*/_jsx(ComponentViewportProvider,{children:/*#__PURE__*/_jsx(SmartComponentScopedContainer,{className:\"framer-17qyc1v-container\",isAuthoredByUser:true,layoutDependency:layoutDependency,layoutId:\"BDZbe6b30-container\",nodeId:\"BDZbe6b30\",rendersWithMotion:true,scopeId:\"QujhKuuAF\",children:/*#__PURE__*/_jsx(TextClip,{color:\"rgb(255, 255, 255)\",fontFamily:\"DM Sans\",fontSize:J7BaLDAFQ,fontWeight:300,height:\"100%\",id:\"BDZbe6b30\",layoutId:\"BDZbe6b30\",lineHeight:1.2,style:{width:\"100%\"},text:jgLXzaW6M,width:\"100%\"})})})})})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-sFQQi.framer-bfm8ym, .framer-sFQQi .framer-bfm8ym { display: block; }\",\".framer-sFQQi.framer-x1txm5 { align-content: center; align-items: center; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 10px; height: min-content; justify-content: flex-start; overflow: var(--overflow-clip-fallback, clip); padding: 0px; position: relative; width: 60px; }\",\".framer-sFQQi .framer-1h78ijl { align-content: center; align-items: center; display: flex; flex: 1 0 0px; flex-direction: row; flex-wrap: nowrap; gap: 10px; height: min-content; justify-content: flex-start; overflow: visible; padding: 0px; position: relative; width: 1px; }\",\".framer-sFQQi .framer-17qyc1v-container { flex: 1 0 0px; height: auto; position: relative; width: 1px; }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 17\n * @framerIntrinsicWidth 60\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"auto\"]},\"kOsTP3eVO\":{\"layout\":[\"fixed\",\"auto\"]}}}\n * @framerVariables {\"jgLXzaW6M\":\"title\",\"J7BaLDAFQ\":\"fontSize\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerQujhKuuAF=withCSS(Component,css,\"framer-sFQQi\");export default FramerQujhKuuAF;FramerQujhKuuAF.displayName=\"TableOfContent\";FramerQujhKuuAF.defaultProps={height:17,width:60};addPropertyControls(FramerQujhKuuAF,{variant:{options:[\"VR0hcvI0r\",\"kOsTP3eVO\"],optionTitles:[\"h2\",\"h3\"],title:\"Variant\",type:ControlType.Enum},jgLXzaW6M:{defaultValue:\"Title\",displayTextArea:false,title:\"Title\",type:ControlType.String},onjgLXzaW6MChange:{changes:\"jgLXzaW6M\",type:ControlType.ChangeHandler},J7BaLDAFQ:{defaultValue:14,max:32,min:10,step:1,title:\"Font Size\",type:ControlType.Number},onJ7BaLDAFQChange:{changes:\"J7BaLDAFQ\",type:ControlType.ChangeHandler}});addFonts(FramerQujhKuuAF,[{explicitInter:true,fonts:[]},...TextClipFonts],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerQujhKuuAF\",\"slots\":[],\"annotations\":{\"framerVariables\":\"{\\\"jgLXzaW6M\\\":\\\"title\\\",\\\"J7BaLDAFQ\\\":\\\"fontSize\\\"}\",\"framerAutoSizeImages\":\"true\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]},\\\"kOsTP3eVO\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]}}}\",\"framerContractVersion\":\"1\",\"framerIntrinsicWidth\":\"60\",\"framerComponentViewportWidth\":\"true\",\"framerIntrinsicHeight\":\"17\",\"framerDisplayContentsDiv\":\"false\",\"framerColorSyntax\":\"true\",\"framerImmutableVariables\":\"true\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./QujhKuuAF.map","import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{useEffect,useState,useRef}from\"react\";import{addPropertyControls,ControlType}from\"framer\";/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n */const VERTICAL_DRAG_OPEN_THRESHOLD=-60;const VERTICAL_DRAG_CLOSE_THRESHOLD=60;const HORIZONTAL_SWIPE_THRESHOLD=40;const AXIS_LOCK_THRESHOLD=6;const MAX_LIST_VIEWPORT_RATIO=.6;function TitleCell({text,width,paddingH,fontSize,fontWeight,color}){return /*#__PURE__*/_jsx(\"div\",{style:{width,height:\"100%\",flexShrink:0,display:\"flex\",alignItems:\"center\",padding:`0 ${paddingH}px`,boxSizing:\"border-box\"},children:/*#__PURE__*/_jsx(\"span\",{style:{fontSize,fontWeight,color,whiteSpace:\"nowrap\",overflow:\"hidden\",textOverflow:\"ellipsis\",width:\"100%\"},children:text})});}function Arrow({direction,color,disabledColor,onTap,enabled}){return /*#__PURE__*/_jsx(\"div\",{\"data-toc-interactive\":\"true\",onClick:e=>{e.stopPropagation();if(enabled)onTap();},style:{position:\"absolute\",top:0,bottom:0,[direction]:8,width:36,display:\"flex\",alignItems:\"center\",justifyContent:\"center\",pointerEvents:enabled?\"auto\":\"none\",cursor:enabled?\"pointer\":\"default\",zIndex:2},children:/*#__PURE__*/_jsx(\"svg\",{width:\"8\",height:\"14\",viewBox:\"0 0 8 14\",fill:\"none\",xmlns:\"http://www.w3.org/2000/svg\",style:{transform:direction===\"left\"?\"rotate(180deg)\":\"none\",transition:\"stroke 0.2s ease\"},children:/*#__PURE__*/_jsx(\"path\",{d:\"M1 1L7 7L1 13\",stroke:enabled?color:disabledColor,strokeWidth:\"1.5\",strokeLinecap:\"round\",strokeLinejoin:\"round\"})})});}export default function MobileTOCBar({bgColor,textColor,activeColor,fontSize,fontFamily,fontWeight,paddingH,barHeight,borderColor,borderWidth,handleColor,listItemHeight,listPaddingH,listPaddingV,listFontSize,scrimColor,scrimOpacity,scrollOffset,arrowDisabledColor,cornerRadius,labelText,labelColor,labelFontSize,handleTopPadding,activeThreshold,headingSelector}){const[headings,setHeadings]=useState([]);const[activeIndex,setActiveIndex]=useState(0);const[isOpen,setIsOpen]=useState(false);const[dragOffset,setDragOffset]=useState(0);const[isDragging,setIsDragging]=useState(false);const[swipeOffset,setSwipeOffset]=useState(0);const[isSwipingTitles,setIsSwipingTitles]=useState(false);const[barWidth,setBarWidth]=useState(0);const[isMeasured,setIsMeasured]=useState(false);const[maxListHeight,setMaxListHeight]=useState(300);// safe area insets — read once and update on resize\nconst[safeBottom,setSafeBottom]=useState(0);const barRef=useRef(null);const containerRef=useRef(null);const listRef=useRef(null);const listItemRefs=useRef([]);const isOpenRef=useRef(isOpen);const activeIndexRef=useRef(activeIndex);const headingsRef=useRef(headings);const dragStart=useRef(null);const lastDelta=useRef({x:0,y:0});const axis=useRef(null);const movedEnough=useRef(false);const startedOnInteractive=useRef(false);const programmaticScrollUntil=useRef(0);useEffect(()=>{isOpenRef.current=isOpen;},[isOpen]);useEffect(()=>{activeIndexRef.current=activeIndex;},[activeIndex]);useEffect(()=>{headingsRef.current=headings;},[headings]);// ── read safe area insets via CSS env() ────────────────────────────────\n// We inject a tiny probe element, measure its padding, then remove it.\n// This is the only reliable cross-browser way to read env() values in JS.\nuseEffect(()=>{const probe=document.createElement(\"div\");probe.style.cssText=[\"position:fixed\",\"bottom:0\",\"left:0\",\"width:1px\",\"height:1px\",\"padding-bottom:env(safe-area-inset-bottom,0px)\",\"padding-left:env(safe-area-inset-left,0px)\",\"visibility:hidden\",\"pointer-events:none\"].join(\";\");document.body.appendChild(probe);const read=()=>{const cs=window.getComputedStyle(probe);const bottom=parseFloat(cs.paddingBottom)||0;setSafeBottom(bottom);};read();window.addEventListener(\"resize\",read);return()=>{window.removeEventListener(\"resize\",read);document.body.removeChild(probe);};},[]);// ── cap list height using dvh if supported, else innerHeight ──────────\nuseEffect(()=>{const update=()=>{// dvh = dynamic viewport height (excludes browser chrome on mobile)\n// Fallback to innerHeight for browsers that don't support it yet\nconst vh=window.innerHeight;setMaxListHeight(Math.floor(vh*MAX_LIST_VIEWPORT_RATIO));};update();window.addEventListener(\"resize\",update);return()=>window.removeEventListener(\"resize\",update);},[]);// ── measure bar width ──────────────────────────────────────────────────\nuseEffect(()=>{const el=barRef.current;if(!el)return;const measure=()=>{const w=el.getBoundingClientRect().width;if(w>0){setBarWidth(w);setIsMeasured(true);}};measure();if(typeof ResizeObserver===\"undefined\")return;const ro=new ResizeObserver(measure);ro.observe(el);return()=>ro.disconnect();},[]);// ── find headings (configurable selector) ──────────────────────────────\nuseEffect(()=>{if(typeof window===\"undefined\"||typeof document===\"undefined\")return;const slugify=value=>value.toLowerCase().trim().replace(/[^a-z0-9]+/g,\"-\").replace(/^-+|-+$/g,\"\");const areHeadingListsEqual=(a,b)=>{if(a.length!==b.length)return false;for(let i=0;i<a.length;i++){if(a[i].id!==b[i].id||a[i].text!==b[i].text)return false;}return true;};const safeSelector=typeof headingSelector===\"string\"&&headingSelector.trim()?headingSelector:\"h2\";let debounceId=0;let stopId=0;let observer=null;let stableCount=0;let didStop=false;let lastSignature=\"\";const stopObserving=()=>{if(didStop)return;didStop=true;if(debounceId)window.clearTimeout(debounceId);if(stopId)window.clearTimeout(stopId);if(observer)observer.disconnect();};const findHeadings=()=>{if(didStop)return;let els;try{els=document.querySelectorAll(safeSelector);}catch{els=document.querySelectorAll(\"h2\");}const found=[];const usedIds=new Set;document.querySelectorAll(\"[id]\").forEach(node=>{if(node.id)usedIds.add(node.id);});els.forEach(el=>{if(!(el instanceof HTMLElement))return;if(containerRef.current?.contains(el))return;const text=el.textContent?.trim()||\"\";if(!text)return;let id=el.id?.trim();if(!id){const base=slugify(text)||\"section\";let candidate=base;let suffix=2;while(usedIds.has(candidate)){candidate=`${base}-${suffix}`;suffix+=1;}id=candidate;el.id=id;usedIds.add(id);}else{usedIds.add(id);}found.push({id,text,el});});const signature=found.map(h=>`${h.id}::${h.text}`).join(\"||\");if(signature===lastSignature){stableCount+=1;}else{stableCount=0;lastSignature=signature;}setHeadings(prev=>areHeadingListsEqual(prev,found)?prev:found);if(stableCount>=3){stopObserving();}};const scheduleFind=()=>{if(didStop)return;if(debounceId)window.clearTimeout(debounceId);debounceId=window.setTimeout(findHeadings,300);};findHeadings();observer=new MutationObserver(()=>{scheduleFind();});if(document.body){observer.observe(document.body,{childList:true,subtree:true});}stopId=window.setTimeout(()=>{stopObserving();},1e4);return()=>{stopObserving();};},[headingSelector]);// ── scroll detection ───────────────────────────────────────────────────\nuseEffect(()=>{if(typeof window===\"undefined\")return;if(headings.length===0)return;const onScroll=()=>{if(Date.now()<programmaticScrollUntil.current)return;const detectionLine=window.innerHeight*activeThreshold;let currentIndex=0;for(let i=headings.length-1;i>=0;i--){const rect=headings[i].el.getBoundingClientRect();if(rect.top-detectionLine-1<=0){currentIndex=i;break;}}if(currentIndex!==activeIndexRef.current)setActiveIndex(currentIndex);};window.addEventListener(\"scroll\",onScroll,{passive:true});onScroll();return()=>window.removeEventListener(\"scroll\",onScroll);},[headings,scrollOffset,activeThreshold]);const scrollToIndex=index=>{const h=headingsRef.current[index];if(!h)return;const rect=h.el.getBoundingClientRect();const absoluteTop=rect.top+window.scrollY;programmaticScrollUntil.current=Date.now()+800;window.scrollTo({top:absoluteTop-scrollOffset,behavior:\"smooth\"});};const goToIndex=index=>{if(index<0||index>=headingsRef.current.length)return;setActiveIndex(index);scrollToIndex(index);};// ── unified gesture handler ────────────────────────────────────────────\nuseEffect(()=>{const el=containerRef.current;if(!el)return;const onTouchStart=e=>{const target=e.target;startedOnInteractive.current=!!target.closest?.(\"[data-toc-interactive]\");if(startedOnInteractive.current){dragStart.current=null;return;}dragStart.current={x:e.touches[0].clientX,y:e.touches[0].clientY};lastDelta.current={x:0,y:0};axis.current=null;movedEnough.current=false;};const onTouchMove=e=>{if(!dragStart.current)return;const dx=e.touches[0].clientX-dragStart.current.x;const dy=e.touches[0].clientY-dragStart.current.y;if(axis.current===null){if(Math.abs(dx)>AXIS_LOCK_THRESHOLD){if(isOpenRef.current){dragStart.current=null;return;}axis.current=\"h\";}else if(Math.abs(dy)>AXIS_LOCK_THRESHOLD){axis.current=\"v\";}else{return;}}lastDelta.current={x:dx,y:dy};movedEnough.current=true;if(axis.current===\"h\"){e.preventDefault();setIsSwipingTitles(true);const idx=activeIndexRef.current;const total=headingsRef.current.length;let resisted=dx;if(idx===0&&dx>0)resisted=dx*.3;if(idx===total-1&&dx<0)resisted=dx*.3;setSwipeOffset(resisted);}else{e.preventDefault();setIsDragging(true);if(!isOpenRef.current)setDragOffset(Math.min(0,dy));else setDragOffset(Math.max(0,dy));}};const onTouchEnd=()=>{if(!dragStart.current)return;const dx=lastDelta.current.x;const dy=lastDelta.current.y;const wasHorizontal=axis.current===\"h\";const wasVertical=axis.current===\"v\";if(wasHorizontal&&movedEnough.current&&!isOpenRef.current){const idx=activeIndexRef.current;const total=headingsRef.current.length;let nextIdx=idx;if(dx<=-HORIZONTAL_SWIPE_THRESHOLD&&idx<total-1)nextIdx=idx+1;else if(dx>=HORIZONTAL_SWIPE_THRESHOLD&&idx>0)nextIdx=idx-1;if(nextIdx!==idx)goToIndex(nextIdx);}else if(wasVertical&&movedEnough.current){if(!isOpenRef.current&&dy<VERTICAL_DRAG_OPEN_THRESHOLD)setIsOpen(true);else if(isOpenRef.current&&dy>VERTICAL_DRAG_CLOSE_THRESHOLD)setIsOpen(false);}else if(!movedEnough.current&&!isOpenRef.current){setIsOpen(true);}setIsSwipingTitles(false);setSwipeOffset(0);setIsDragging(false);setDragOffset(0);dragStart.current=null;axis.current=null;movedEnough.current=false;};el.addEventListener(\"touchstart\",onTouchStart,{passive:true});el.addEventListener(\"touchmove\",onTouchMove,{passive:false});el.addEventListener(\"touchend\",onTouchEnd,{passive:true});return()=>{el.removeEventListener(\"touchstart\",onTouchStart);el.removeEventListener(\"touchmove\",onTouchMove);el.removeEventListener(\"touchend\",onTouchEnd);};},[]);// ── when drawer opens, scroll active item into view ────────────────────\nuseEffect(()=>{if(!isOpen)return;const list=listRef.current;const item=listItemRefs.current[activeIndex];if(!list||!item)return;const id=requestAnimationFrame(()=>{list.scrollTo({top:item.offsetTop-listPaddingV,behavior:\"smooth\"});});return()=>cancelAnimationFrame(id);},[isOpen,activeIndex,listPaddingV]);const handleListTap=index=>{setIsOpen(false);goToIndex(index);};const isEmpty=headings.length===0;// ── geometry ───────────────────────────────────────────────────────────\nconst handleAreaHeight=handleTopPadding+(labelText?22:12);// add safeBottom to closedHeight so the bar clears the home indicator\nconst closedHeight=handleAreaHeight+barHeight+safeBottom;const naturalListHeight=Math.max(headings.length,1)*listItemHeight+listPaddingV*2;const listHeight=Math.min(naturalListHeight,maxListHeight);const totalHeight=closedHeight+listHeight;const closedTranslate=listHeight;const currentTranslate=isOpen?Math.max(0,dragOffset):closedTranslate+Math.min(0,dragOffset);const railTranslate=-activeIndex*barWidth+swipeOffset;const fadeMask=\"linear-gradient(to right, transparent 16px, black 64px, black calc(100% - 64px), transparent calc(100% - 16px))\";return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"div\",{onClick:()=>setIsOpen(false),style:{position:\"fixed\",inset:0,zIndex:9998,background:scrimColor,opacity:isOpen?scrimOpacity:0,pointerEvents:isOpen?\"auto\":\"none\",transition:\"opacity 0.4s cubic-bezier(0.32,0.72,0,1)\",willChange:\"opacity\"}}),/*#__PURE__*/_jsxs(\"div\",{ref:containerRef,style:{position:\"fixed\",// safe area: left/right so bar fills edge to edge on notched phones\nbottom:0,left:\"env(safe-area-inset-left, 0px)\",right:\"env(safe-area-inset-right, 0px)\",zIndex:9999,height:totalHeight,transform:`translateY(${currentTranslate}px)`,transition:isDragging?\"none\":\"transform 0.4s cubic-bezier(0.32,0.72,0,1)\",willChange:\"transform\",background:bgColor,fontFamily,borderTop:borderWidth>0?`${borderWidth}px solid ${borderColor}`:\"none\",boxShadow:isOpen?\"0 -8px 40px rgba(0,0,0,0.5)\":\"none\",borderTopLeftRadius:cornerRadius,borderTopRightRadius:cornerRadius,display:\"flex\",flexDirection:\"column\",touchAction:\"none\"},children:[labelText?/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",top:handleTopPadding-2,left:paddingH,fontSize:labelFontSize,color:labelColor,fontWeight:500,letterSpacing:\"0.02em\",pointerEvents:\"none\",zIndex:3,textTransform:\"uppercase\"},children:labelText}):null,/*#__PURE__*/_jsxs(\"div\",{style:{width:\"100%\",height:handleAreaHeight,position:\"relative\",display:\"flex\",justifyContent:\"center\",alignItems:\"flex-start\",paddingTop:handleTopPadding,boxSizing:\"border-box\",flexShrink:0},children:[/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",top:-20,left:0,right:0,height:20}}),/*#__PURE__*/_jsx(\"div\",{style:{width:48,height:5,borderRadius:3,background:handleColor}})]}),/*#__PURE__*/_jsx(\"div\",{ref:barRef,style:{height:isOpen?0:barHeight,opacity:isOpen?0:1,flexShrink:0,overflow:\"hidden\",position:\"relative\",transition:\"height 0.4s cubic-bezier(0.32,0.72,0,1), opacity 0.25s ease\",pointerEvents:isOpen?\"none\":\"auto\"},children:isEmpty?/*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\",height:\"100%\",display:\"flex\",alignItems:\"center\",padding:`0 ${paddingH}px`,boxSizing:\"border-box\"},children:/*#__PURE__*/_jsx(\"span\",{style:{fontSize,fontWeight,color:activeColor},children:\"Table of contents\"})}):/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",inset:0,overflow:\"hidden\",WebkitMaskImage:fadeMask,maskImage:fadeMask,zIndex:1},children:/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",height:\"100%\",width:barWidth*headings.length,transform:`translateX(${railTranslate}px)`,transition:!isMeasured||isSwipingTitles?\"none\":\"transform 0.45s cubic-bezier(0.32,0.72,0,1)\",willChange:\"transform\",opacity:isMeasured?1:0},children:headings.map(h=>/*#__PURE__*/_jsx(TitleCell,{text:h.text,width:barWidth,paddingH:paddingH+36,fontSize:fontSize,fontWeight:fontWeight,color:activeColor},h.id))})}),/*#__PURE__*/_jsx(Arrow,{direction:\"left\",color:textColor,disabledColor:arrowDisabledColor,enabled:isMeasured&&activeIndex>0,onTap:()=>goToIndex(activeIndex-1)}),/*#__PURE__*/_jsx(Arrow,{direction:\"right\",color:textColor,disabledColor:arrowDisabledColor,enabled:isMeasured&&activeIndex<headings.length-1,onTap:()=>goToIndex(activeIndex+1)})]})}),/*#__PURE__*/_jsx(\"div\",{ref:listRef,\"data-toc-interactive\":\"true\",style:{height:listHeight,overflowY:\"auto\",WebkitOverflowScrolling:\"touch\",padding:`${listPaddingV}px ${listPaddingH}px`,touchAction:\"pan-y\",flexShrink:0,boxSizing:\"border-box\"},children:isEmpty?/*#__PURE__*/_jsx(\"div\",{style:{color:textColor,fontSize:listFontSize,padding:\"12px 0\"},children:\"Headings appear here in preview\"}):headings.map((h,i)=>/*#__PURE__*/_jsx(\"div\",{\"data-toc-interactive\":\"true\",ref:el=>{listItemRefs.current[i]=el;},onClick:()=>handleListTap(i),style:{height:listItemHeight,display:\"flex\",alignItems:\"center\",cursor:\"pointer\"},children:/*#__PURE__*/_jsx(\"span\",{style:{fontSize:listFontSize,fontWeight:i===activeIndex?500:fontWeight,color:i===activeIndex?activeColor:textColor,transition:\"color 0.2s ease\",overflow:\"hidden\",textOverflow:\"ellipsis\",whiteSpace:\"nowrap\",width:\"100%\"},children:h.text})},h.id))}),safeBottom>0&&/*#__PURE__*/_jsx(\"div\",{style:{height:safeBottom,flexShrink:0}})]}),/*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\",height:closedHeight}})]});}MobileTOCBar.defaultProps={bgColor:\"#0A0A0C\",textColor:\"#9B9B9B\",activeColor:\"#F9F9F9\",fontSize:16,fontFamily:\"DM Sans, sans-serif\",fontWeight:400,paddingH:16,barHeight:52,borderColor:\"#2e2e2e\",borderWidth:1,handleColor:\"#3a3a3a\",listItemHeight:52,listPaddingH:16,listPaddingV:8,listFontSize:16,scrimColor:\"#000000\",scrimOpacity:.5,scrollOffset:16,arrowDisabledColor:\"#3a3a3a\",cornerRadius:16,labelText:\"Table of Content\",labelColor:\"#6B6B6B\",labelFontSize:11,handleTopPadding:12,activeThreshold:.2,headingSelector:\"h2\"};addPropertyControls(MobileTOCBar,{bgColor:{type:ControlType.Color,title:\"Background\",defaultValue:\"#0A0A0C\"},textColor:{type:ControlType.Color,title:\"Text Color\",defaultValue:\"#9B9B9B\"},activeColor:{type:ControlType.Color,title:\"Active Color\",defaultValue:\"#F9F9F9\"},fontSize:{type:ControlType.Number,title:\"Bar Font Size\",defaultValue:16,min:10,max:24,step:1},fontFamily:{type:ControlType.String,title:\"Font\",defaultValue:\"DM Sans, sans-serif\"},fontWeight:{type:ControlType.Number,title:\"Weight\",defaultValue:400,min:100,max:900,step:100},paddingH:{type:ControlType.Number,title:\"Bar Padding H\",defaultValue:16,min:0,max:32,step:2},barHeight:{type:ControlType.Number,title:\"Bar Height\",defaultValue:52,min:32,max:72,step:2},borderColor:{type:ControlType.Color,title:\"Border Color\",defaultValue:\"#2e2e2e\"},borderWidth:{type:ControlType.Number,title:\"Border Width\",defaultValue:1,min:0,max:4,step:1},handleColor:{type:ControlType.Color,title:\"Handle Color\",defaultValue:\"#3a3a3a\"},listItemHeight:{type:ControlType.Number,title:\"List Item Height\",defaultValue:52,min:32,max:80,step:2},listPaddingH:{type:ControlType.Number,title:\"List Padding H\",defaultValue:16,min:0,max:40,step:2},listPaddingV:{type:ControlType.Number,title:\"List Padding V\",defaultValue:8,min:0,max:32,step:2},listFontSize:{type:ControlType.Number,title:\"List Font Size\",defaultValue:16,min:12,max:24,step:1},scrimColor:{type:ControlType.Color,title:\"Scrim Color\",defaultValue:\"#000000\"},scrimOpacity:{type:ControlType.Number,title:\"Scrim Opacity\",defaultValue:.5,min:0,max:1,step:.05},scrollOffset:{type:ControlType.Number,title:\"Scroll Offset\",description:\"Space above title when scrolled to. Increase if there's a sticky header.\",defaultValue:16,min:0,max:200,step:4},arrowDisabledColor:{type:ControlType.Color,title:\"Arrow Disabled\",defaultValue:\"#3a3a3a\"},cornerRadius:{type:ControlType.Number,title:\"Corner Radius\",defaultValue:16,min:0,max:40,step:1},labelText:{type:ControlType.String,title:\"Label\",defaultValue:\"Table of Content\"},labelColor:{type:ControlType.Color,title:\"Label Color\",defaultValue:\"#6B6B6B\"},labelFontSize:{type:ControlType.Number,title:\"Label Size\",defaultValue:11,min:9,max:16,step:1},handleTopPadding:{type:ControlType.Number,title:\"Handle Top Pad\",defaultValue:12,min:4,max:32,step:1},activeThreshold:{type:ControlType.Number,title:\"Active Threshold\",description:\"How far down in viewport (0-1) a heading must reach before it becomes active. 0.2 = 20vh from top.\",defaultValue:.2,min:0,max:.8,step:.05},headingSelector:{type:ControlType.String,title:\"Heading Selector\",defaultValue:\"h2\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"MobileTOCBar\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./TableOFcontentMobile.map","import{useState,useEffect}from\"react\";import{Data,useObserveData}from\"framer\";export function createStore(state1){// Use Data so that a Preview reload resets the state\nconst dataStore=Data({state:Object.freeze({...state1})});// Create a set function that updates the state\nconst setDataStore=newState=>{// If the state is an object, make sure we copy it\nif(typeof newState===\"function\"){newState=newState(dataStore.state);}dataStore.state=Object.freeze({...dataStore.state,...newState});};// Store the initial state, copy the object if it's an object\nlet storeState=typeof state1===\"object\"?Object.freeze({...state1}):state1;// Keep a list of all the listeners, in the form of React hook setters\nconst storeSetters=new Set();// Create a set function that updates all the listeners / setters\nconst setStoreState=newState=>{// If the state is an object, make sure we copy it\nif(typeof newState===\"function\"){newState=newState(storeState);}storeState=typeof newState===\"object\"?Object.freeze({...storeState,...newState}):newState;// Update all the listeners / setters with the new value\nstoreSetters.forEach(setter=>setter(storeState));};// Create the actual hook based on everything above\nfunction useStore(){// Create the hook we are going to use as a listener\nconst[state,setState]=useState(storeState);// If we unmount the component using this hook, we need to remove the listener\n// @ts-ignore\nuseEffect(()=>{// But right now, we need to add the listener\nstoreSetters.add(setState);return()=>storeSetters.delete(setState);},[]);// If Data context exists, use Data, otherwise use vanilla React state\nif(useObserveData()===true){useObserveData();return[dataStore.state,setDataStore];}else{// Return the state and a function to update the central store\nreturn[state,setStoreState];}}return useStore;}\nexport const __FramerMetadata__ = {\"exports\":{\"createStore\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./createStore.map","/*\n * createStore (framer/store@1.0.1)\n *\n * Learn More: https://www.framer.com/asset-urls\n */\n\nexport * from \"https://framerusercontent.com/modules/vj7bFUjvEQFgEzNBkdoG/vf3CKm378wlVcBk7IhSU/createStore.js\"\n","export const HEADINGS=[\"h1\",\"h2\",\"h3\",\"h4\",\"h5\",\"h6\"];const formatHeading=(children,index)=>{let formattedHeading=\"\";let formattedId=\"\";if(typeof children===\"string\"){formattedHeading=children;}else if(Array.isArray(children)){formattedHeading=children.map(item=>{var _item_props;if(typeof item===\"string\")return item.trim();if(typeof((_item_props=item.props)===null||_item_props===void 0?void 0:_item_props.children)===\"string\")return item.props.children.trim();}).join(\" \");}else if(typeof children===\"object\"){if(typeof children.props.children===\"string\"){formattedHeading=children.props.children;}else{formattedHeading=children.type;}}else{formattedHeading=index.toString();}formattedId=formattedHeading.toLowerCase().replace(/[^a-z0-9]+/g,\"-\").replace(/^-+|-+$/g,\"\").trim();return{formattedId,formattedHeading};};export const formatTableOfContent=children=>{const result=[];children.length>0&&children.filter(({type})=>HEADINGS.includes(type)).map((item,index)=>{const children=item.props.children;const{formattedId,formattedHeading}=formatHeading(children,index);result.push({id:formattedId,heading:formattedHeading,type:item.type,originalIndex:index});});return result;};export const formatHeadings=props=>{const newChildren=[];props.children.props.children.forEach((item,index)=>{const children=item.props.children;if(HEADINGS.includes(item.type)){const{formattedId}=formatHeading(children,index);// Create a new object for the modified item\nconst newItem={...item,props:{...item.props,id:formattedId}};newChildren.push(newItem);}else{newChildren.push(item);}});// Return a new props object with the modified children\nreturn{...props,children:{...props.children,props:{...props.children.props,children:newChildren}}};};\nexport const __FramerMetadata__ = {\"exports\":{\"formatTableOfContent\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"HEADINGS\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"formatHeadings\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Utils.map","/*\n * Utils\n *\n * Learn More: https://www.framer.com/asset-urls\n */\n\nexport * from \"https://framerusercontent.com/modules/1XxWQwY0hfK0NPkccp4R/KJkJpnADqLZBYSaIILnx/Utils.js\"\n","import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{createStore}from\"https://framer.com/m/framer/store.js@^1.0.0\";import{useEffect,useState,useRef}from\"react\";import{formatHeadings,formatTableOfContent}from\"https://framer.com/m/Utils-WIyM.js\";// ─── constants ───────────────────────────────────────────────────────────────\nconst HEADING_TO_DISPLAY=[\"h2\"];// Scroll margin — how far from the top the heading lands when clicked\n// Adjust these to match your nav height on each breakpoint\nconst SCROLL_MARGIN_TOP_DESKTOP=100;const SCROLL_MARGIN_TOP_MOBILE=200;const getScrollMargin=()=>typeof window!==\"undefined\"&&window.innerWidth<=768?SCROLL_MARGIN_TOP_MOBILE:SCROLL_MARGIN_TOP_DESKTOP;const SCROLL_DETECTION_TOLERANCE=12;const TOC_ITEM_PADDING_BOTTOM=0;const TOC_ITEM_PADDING_TOP=20;const TOC_CHILD_INDENT=20;const TOC_MAX_CHARS=200;const SWIPE_THRESHOLD=60;const FALLBACK_SCAN_DELAY_MS_1=1e3;const FALLBACK_SCAN_DELAY_MS_2=3e3;const ACTIVE_COLOR=\"#8D79FF\";const INACTIVE_COLOR=\"#F9F9F9\";const HOVER_COLOR=\"#8D79FF\";// ─── shared store ────────────────────────────────────────────────────────────\nconst useStore=createStore({headingGroups:{},activeId:null,sheetOpen:false});// ─── helpers ─────────────────────────────────────────────────────────────────\n// Filter out bogus headings (e.g. <br> tags parsed as headings)\nfunction isValidHeading(h){if(!h||!h.heading)return false;const text=h.heading.trim().toLowerCase();if(text===\"\"||text===\"br\"||text===\"<br>\"||text===\"<br/>\")return false;return true;}function getDocumentTop(el){return el.getBoundingClientRect().top+window.scrollY;}function getAllHeadings(headingGroups){const all=[];Object.values(headingGroups).forEach(group=>{group.forEach(h=>all.push(h));});const deduped=[];const seen=new Set;all.filter(isValidHeading).forEach(h=>{if(!h?.id||seen.has(h.id))return;seen.add(h.id);deduped.push(h);});return deduped.sort((a,b)=>{const elA=document.getElementById(a.id);const elB=document.getElementById(b.id);if(elA&&elB)return getDocumentTop(elA)-getDocumentTop(elB);return a.originalIndex-b.originalIndex;});}function getH4s(headingGroups){return getAllHeadings(headingGroups).filter(h=>h.type===\"h2\");}function buildGroups(sorted){const groups=[];let currentGroup=null;sorted.forEach((item,index)=>{if(item.type===\"h2\"){currentGroup={parent:item,parentIndex:index,children:[]};groups.push(currentGroup);}else if(item.type===\"h3\"){if(currentGroup){currentGroup.children.push(item);}else{groups.push({parent:item,parentIndex:index,children:[]});}}});return groups;}function scrollToHeading(id){const el=document.getElementById(id);if(el){const top=getDocumentTop(el)-getScrollMargin();window.scrollTo({top,behavior:\"smooth\"});}}function slugifyHeading(text){const slug=text.toLowerCase().replace(/[^a-z0-9\\s-]/g,\"\").replace(/\\s+/g,\"-\").replace(/-+/g,\"-\").replace(/^-+|-+$/g,\"\");return slug||\"section\";}function getUniqueHeadingId(base,used,el){let candidate=base;let index=2;while(true){const existing=document.getElementById(candidate);const collidesInDom=!!existing&&existing!==el;const collidesInRun=used.has(candidate);if(!collidesInDom&&!collidesInRun)break;candidate=`${base}-${index}`;index++;}used.add(candidate);return candidate;}function getDomFallbackHeadings(){if(typeof window===\"undefined\")return[];const used=new Set;const els=document.querySelectorAll(\"h2\");const found=[];els.forEach((node,index)=>{const el=node;const heading=el.textContent?.trim()??\"\";if(!heading)return;const currentId=el.id?.trim();const base=currentId||slugifyHeading(heading);const id=getUniqueHeadingId(base,used,el);if(el.id!==id)el.id=id;found.push({id,heading,type:\"h2\",originalIndex:index});});return found;}function normalizeParsedHeadings(headings){if(typeof window===\"undefined\")return headings;const used=new Set;return headings.map((item,index)=>{if(!item)return null;const heading=item.heading?.trim?.()??\"\";if(!heading)return null;const currentId=item.id?.trim?.();const base=currentId||slugifyHeading(heading);const matchingEl=currentId?document.getElementById(currentId):null;const uniqueId=getUniqueHeadingId(base,used,matchingEl??undefined);if(matchingEl&&matchingEl.id!==uniqueId)matchingEl.id=uniqueId;return{...item,id:uniqueId,originalIndex:typeof item.originalIndex===\"number\"?item.originalIndex:index};}).filter(Boolean);}// ─── withContent ─────────────────────────────────────────────────────────────\nlet contentInstanceCounter=0;export function withContent(Component){return props=>{const[store,setStore]=useStore();const[newProps,setNewProps]=useState(props);const instanceId=useRef(`content-${contentInstanceCounter++}`);useEffect(()=>{try{const found=formatTableOfContent(newProps.children.props.children);const normalizedFound=normalizeParsedHeadings(found);setStore(prev=>({headingGroups:{...prev.headingGroups,[instanceId.current]:normalizedFound}}));}catch(e){console.error(\"TOC error:\",e);}},[newProps]);useEffect(()=>{try{setNewProps(formatHeadings(props));}catch(e){console.error(\"TOC format error:\",e);}},[props]);useEffect(()=>{return()=>{setStore(prev=>{const next={...prev.headingGroups};delete next[instanceId.current];return{headingGroups:next};});};},[]);return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"style\",{children:`.framer-text { scroll-margin-top: ${SCROLL_MARGIN_TOP_DESKTOP}px; }`}),/*#__PURE__*/_jsx(Component,{...newProps})]});};}// ─── withTableOfContent ───────────────────────────────────────────────────────\nexport function withTableOfContent(Component){return props=>{const[store,setStore]=useStore();const[expandedParent,setExpandedParent]=useState(null);const[headings,setHeadings]=useState([]);useEffect(()=>{if(typeof window===\"undefined\")return;let mounted=true;const updateHeadings=()=>{const parsed=getAllHeadings(store.headingGroups);const parsedForDisplay=parsed.filter(({type})=>HEADING_TO_DISPLAY.includes(type));if(parsedForDisplay.length>0){if(mounted)setHeadings(parsed);return;}const fallback=getDomFallbackHeadings();if(mounted)setHeadings(fallback);};updateHeadings();const t1=window.setTimeout(updateHeadings,FALLBACK_SCAN_DELAY_MS_1);const t2=window.setTimeout(updateHeadings,FALLBACK_SCAN_DELAY_MS_2);return()=>{mounted=false;window.clearTimeout(t1);window.clearTimeout(t2);};},[store.headingGroups]);// scroll detection — writes activeId into the shared store\nuseEffect(()=>{if(typeof window===\"undefined\")return;if(headings.length===0)return;const headingElements=[];headings.filter(({type})=>HEADING_TO_DISPLAY.includes(type)).forEach(({id})=>{const el=document.getElementById(id);if(el)headingElements.push({id,el});});if(headingElements.length===0)return;const onScroll=()=>{const scrollY=window.scrollY+getScrollMargin()+SCROLL_DETECTION_TOLERANCE;let current=null;for(let i=headingElements.length-1;i>=0;i--){if(getDocumentTop(headingElements[i].el)<=scrollY){current=headingElements[i].id;break;}}if(current&&current!==store.activeId){setStore({activeId:current});}};window.addEventListener(\"scroll\",onScroll,{passive:true});onScroll();return()=>window.removeEventListener(\"scroll\",onScroll);},[headings]);// auto-expand active group AND collapse all others\nuseEffect(()=>{if(!store.activeId)return;const sorted=headings.filter(({type})=>HEADING_TO_DISPLAY.includes(type));const groups=buildGroups(sorted);for(const group of groups){// direct h2 match\nif(group.parent.id===store.activeId){setExpandedParent(group.children.length>0?group.parentIndex:null);return;}// h3 child match — expand this parent, collapse all others\nconst childMatch=group.children.find(c=>c.id===store.activeId);if(childMatch){setExpandedParent(group.parentIndex);return;}}// no match — collapse everything\nsetExpandedParent(null);},[store.activeId,headings]);if(!(headings.length>0&&typeof window!==\"undefined\")){return /*#__PURE__*/_jsx(Component,{...props});}const sorted=headings.filter(({type})=>HEADING_TO_DISPLAY.includes(type));const groups=buildGroups(sorted);const handleClick=(id,groupIndex)=>{setStore({activeId:id});if(groupIndex!==undefined){setExpandedParent(prev=>prev===groupIndex?null:groupIndex);}scrollToHeading(id);};const clipText=text=>text.length>TOC_MAX_CHARS?text.slice(0,TOC_MAX_CHARS-3)+\"...\":text;const isActive=id=>id===store.activeId;return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"style\",{children:`\n                    .toc-item-active, .toc-item-active *, .toc-item-active p, .toc-item-active span, .toc-item-active a { color: ${ACTIVE_COLOR} !important; opacity: 1 !important; }\n                    .toc-item-inactive, .toc-item-inactive *, .toc-item-inactive p, .toc-item-inactive span, .toc-item-inactive a { color: ${INACTIVE_COLOR} !important; opacity: 1 !important; }\n                    .toc-item-inactive:hover, .toc-item-inactive:hover *, .toc-item-inactive:hover p, .toc-item-inactive:hover span, .toc-item-inactive:hover a { color: ${HOVER_COLOR} !important; }\n                    .toc-item-active, .toc-item-inactive, .toc-item-active a, .toc-item-inactive a { transition: color 0.2s ease; cursor: pointer; }\n                `}),groups.map(group=>{const hasChildren=group.children.length>0;const isExpanded=expandedParent===group.parentIndex;const parentActive=isActive(group.parent.id);const anyChildActive=group.children.some(c=>isActive(c.id));return /*#__PURE__*/_jsxs(\"div\",{children:[/*#__PURE__*/_jsx(\"div\",{className:parentActive&&!anyChildActive?\"toc-item-active\":\"toc-item-inactive\",onClick:e=>{e.preventDefault();handleClick(group.parent.id,hasChildren?group.parentIndex:undefined);},style:{paddingBottom:TOC_ITEM_PADDING_BOTTOM,paddingTop:TOC_ITEM_PADDING_TOP},children:/*#__PURE__*/_jsx(Component,{...props,variant:group.parent.type,title:clipText(group.parent.heading),link:`${window.location.pathname}#${group.parent.id}`})}),hasChildren&&/*#__PURE__*/_jsx(\"div\",{style:{overflow:\"hidden\",maxHeight:isExpanded?`${group.children.length*70}px`:\"0px\",transition:\"max-height 0.3s ease\"},children:group.children.map((child,ci)=>/*#__PURE__*/_jsx(\"div\",{className:isActive(child.id)?\"toc-item-active\":\"toc-item-inactive\",onClick:e=>{e.preventDefault();handleClick(child.id);},style:{paddingBottom:TOC_ITEM_PADDING_BOTTOM,paddingTop:TOC_ITEM_PADDING_TOP,paddingLeft:TOC_CHILD_INDENT},children:/*#__PURE__*/_jsx(Component,{...props,variant:child.type,title:clipText(child.heading),link:`${window.location.pathname}#${child.id}`})},ci))})]},group.parentIndex);})]});};}// ─── withStickyBar ────────────────────────────────────────────────────────────\nexport function withStickyBar(Component){return props=>{const[store,setStore]=useStore();const[currentTitle,setCurrentTitle]=useState(\"Contents\");const[currentIndex,setCurrentIndex]=useState(0);const[fallbackH2s,setFallbackH2s]=useState([]);const pointerStartX=useRef(null);const isSwiping=useRef(false);const h4s=getH4s(store.headingGroups);const chapterHeadings=h4s.length>0?h4s:fallbackH2s;useEffect(()=>{if(typeof window===\"undefined\")return;if(h4s.length>0){setFallbackH2s([]);return;}let mounted=true;const updateFallback=()=>{if(h4s.length>0)return;const fallback=getDomFallbackHeadings();if(mounted)setFallbackH2s(fallback);};updateFallback();const t1=window.setTimeout(updateFallback,FALLBACK_SCAN_DELAY_MS_1);const t2=window.setTimeout(updateFallback,FALLBACK_SCAN_DELAY_MS_2);return()=>{mounted=false;window.clearTimeout(t1);window.clearTimeout(t2);};},[store.headingGroups,h4s.length]);useEffect(()=>{if(!store.activeId||chapterHeadings.length===0)return;const all=getAllHeadings(store.headingGroups).filter(h=>HEADING_TO_DISPLAY.includes(h.type));const source=all.length>0?all:chapterHeadings;const activeItem=source.find(h=>h.id===store.activeId);if(!activeItem)return;if(activeItem.type===\"h2\"){const idx=chapterHeadings.findIndex(h=>h.id===store.activeId);if(idx!==-1){setCurrentIndex(idx);setCurrentTitle(chapterHeadings[idx].heading);}}else{// h3 — find its parent h2\nconst allSorted=all.length>0?getAllHeadings(store.headingGroups):source;let parentH4=null;for(const item of allSorted){if(item.type===\"h2\")parentH4=item;if(item.id===store.activeId)break;}if(parentH4){const idx=chapterHeadings.findIndex(h=>h.id===parentH4.id);if(idx!==-1){setCurrentIndex(idx);setCurrentTitle(chapterHeadings[idx].heading);}}}},[store.activeId,store.headingGroups,chapterHeadings]);const goToChapter=index=>{if(index<0||index>=chapterHeadings.length)return;const target=chapterHeadings[index];setCurrentIndex(index);setCurrentTitle(target.heading);setStore({activeId:target.id});scrollToHeading(target.id);};const handlePointerDown=e=>{pointerStartX.current=e.clientX;isSwiping.current=false;};const handlePointerUp=e=>{if(pointerStartX.current===null)return;const deltaX=e.clientX-pointerStartX.current;pointerStartX.current=null;if(Math.abs(deltaX)<SWIPE_THRESHOLD)return;isSwiping.current=true;if(deltaX<0){goToChapter(currentIndex+1);}else{goToChapter(currentIndex-1);}};const handlePointerCancel=()=>{pointerStartX.current=null;};const handleTap=()=>{if(isSwiping.current)return;setStore({sheetOpen:true});};return /*#__PURE__*/_jsx(\"div\",{onPointerDown:handlePointerDown,onPointerUp:handlePointerUp,onPointerCancel:handlePointerCancel,onClick:handleTap,style:{width:\"100%\",touchAction:\"pan-y\",userSelect:\"none\",cursor:\"pointer\"},children:/*#__PURE__*/_jsx(Component,{...props,text:currentTitle})});};}\nexport const __FramerMetadata__ = {\"exports\":{\"withContent\":{\"type\":\"reactHoc\",\"name\":\"withContent\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withStickyBar\":{\"type\":\"reactHoc\",\"name\":\"withStickyBar\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withTableOfContent\":{\"type\":\"reactHoc\",\"name\":\"withTableOfContent\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./TableOfContents.map"],"mappings":"mZAGG,SAAwB,EAAS,CAAC,OAAK,WAAS,aAAW,QAAM,aAAW,cAAY,CAAC,OAAoB,EAAK,IAAI,CAAC,MAAM,CAAC,aAAW,WAAS,QAAM,aAAW,aAAW,OAAO,EAAE,MAAM,MAAM,EAAE,SAAS,CAAI,CAAC,CAAE,iBAH9K,IAAoD,EAG2H,EAAS,aAAa,CAAC,KAAK,4CAA4C,SAAS,GAAG,WAAW,6BAA6B,MAAM,UAAU,WAAW,IAAI,WAAW,GAAG,EAAE,GAAoB,EAAS,CAAC,KAAK,CAAC,KAAK,EAAY,OAAO,MAAM,OAAO,aAAa,2CAA2C,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