{"version":3,"file":"TableOfContentsSidebar.D9KYoImM.mjs","names":["useState","useRef"],"sources":["https:/framerusercontent.com/modules/KTUoMaKKJoL6Ho6ZEhFd/UdN7BHMaq2KWBSaI9Z46/TableOfContentsSidebar.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{useState,useEffect,useRef}from\"react\";function normPad(v,fallback){if(!v)return fallback;if(typeof v===\"number\")return{top:v,right:v,bottom:v,left:v};return v;}// ─── Component ───────────────────────────────────────────────────────────────\nexport default function TableOfContents({font,headings:headingsRaw,colors:colorsRaw,indicator:indicatorRaw,spacing:spacingRaw,behavior:behaviorRaw,mobile:mobileRaw,style}){// Framer passes every key in the Object control but leaves untouched ones\n// as `undefined`. Spread-merging doesn't help because `...{ a: undefined }`\n// DOES override `{ a: 0 }`. Use ?? on every field instead.\nconst headings={level1Tag:headingsRaw?.level1Tag??\"h2\",level2Tag:headingsRaw?.level2Tag??\"\",level2Font:headingsRaw?.level2Font??undefined,level2Indent:headingsRaw?.level2Indent??16,level3Tag:headingsRaw?.level3Tag??\"\",level3Font:headingsRaw?.level3Font??undefined,level3Indent:headingsRaw?.level3Indent??32,containerIdSuffix:headingsRaw?.containerIdSuffix??\"\"};const colors={active:colorsRaw?.active??\"#6B5CE7\",inactive:colorsRaw?.inactive??\"#1a1a1a\",hover:colorsRaw?.hover??\"\",listBg:colorsRaw?.listBg??\"\",itemBg:colorsRaw?.itemBg??\"\",itemActiveBg:colorsRaw?.itemActiveBg??\"\",itemHoverBg:colorsRaw?.itemHoverBg??\"\"};const indicator={style:indicatorRaw?.style??\"none\",color:indicatorRaw?.color??\"\",shiftAmount:indicatorRaw?.shiftAmount??24};const spacing={gap:spacingRaw?.gap??20,listPadding:spacingRaw?.listPadding??undefined,itemPadding:spacingRaw?.itemPadding??undefined,itemRadius:spacingRaw?.itemRadius??0};const behavior={activeMode:behaviorRaw?.activeMode??\"last\"};const mobile={previewMobile:mobileRaw?.previewMobile??false,layout:mobileRaw?.layout??\"select\",breakpoint:mobileRaw?.breakpoint??767,dropdownBg:mobileRaw?.dropdownBg??\"#ffffff\",dropdownRadius:mobileRaw?.dropdownRadius??8,dropdownTop:mobileRaw?.dropdownTop??0,dropdownInset:mobileRaw?.dropdownInset??0};const lp=normPad(spacing.listPadding,{top:0,right:0,bottom:0,left:0});const ip=normPad(spacing.itemPadding,{top:4,right:0,bottom:4,left:0});const[items,setItems]=useState([]);const[activeId,setActiveId]=useState(\"\");const[hoveredId,setHoveredId]=useState(\"\");const[isMobile,setIsMobile]=useState(false);const[stickyOffset,setStickyOffset]=useState(0);const navRef=useRef(null);// ── Read sticky top from nearest sticky/fixed ancestor ─────────────────\n// Uses a MutationObserver to watch for DOM/style changes until the\n// ancestor with a resolved sticky top is found, then disconnects.\nuseEffect(()=>{const read=()=>{let el=navRef.current;while(el){const{position,top}=getComputedStyle(el);if(position===\"sticky\"||position===\"fixed\"){const parsed=parseFloat(top);if(!isNaN(parsed)&&parsed>0){setStickyOffset(parsed);return true// found — observer can disconnect\n;}}el=el.parentElement;}return false;};// Try immediately first\nif(read())return;// Otherwise watch for DOM mutations until it resolves\nconst mo=new MutationObserver(()=>{if(read())mo.disconnect();});mo.observe(document.documentElement,{attributes:true,attributeFilter:[\"style\",\"class\"],subtree:true});return()=>mo.disconnect();},[]);// ── Discover headings ──────────────────────────────────────────────────\nuseEffect(()=>{const levels=[{tag:headings.level1Tag,level:0}];if(headings.level2Tag&&headings.level2Tag!==headings.level1Tag)levels.push({tag:headings.level2Tag,level:1});if(headings.level3Tag&&headings.level3Tag!==headings.level1Tag&&headings.level3Tag!==headings.level2Tag)levels.push({tag:headings.level3Tag,level:2});const selector=levels.map(l=>l.tag).join(\", \");const tagToLevel=Object.fromEntries(levels.map(l=>[l.tag,l.level]));// Scope to a specific container when an ID suffix is provided.\n// Try the bare suffix first (works in canvas + when user typed the full ID),\n// then try slug-prefixed as fallback (published site with short suffix).\nlet container=document.documentElement;if(headings.containerIdSuffix){const slug=window.location.pathname.replace(/^\\/|\\/$/g,\"\").toLowerCase().replace(/[^a-z0-9]+/g,\"-\");const fullId=slug?`${slug}-${headings.containerIdSuffix}`:headings.containerIdSuffix;const found=document.getElementById(headings.containerIdSuffix)??document.getElementById(fullId);container=found??document.documentElement;}const els=Array.from(container.querySelectorAll(selector));const seen=new Set;const discovered=[];els.forEach((el,i)=>{if(!el.id){el.id=el.textContent?.trim().toLowerCase().replace(/[^a-z0-9]+/g,\"-\").replace(/^-|-$/g,\"\")||`section-${i}`;}if(seen.has(el.id))return;seen.add(el.id);discovered.push({label:el.textContent?.trim()??\"\",id:el.id,level:tagToLevel[el.tagName.toLowerCase()]??0});});setItems(discovered);},[headings.level1Tag,headings.level2Tag,headings.level3Tag,headings.containerIdSuffix]);// ── Active tracking ────────────────────────────────────────────────────\nuseEffect(()=>{if(!items.length)return;const offset=stickyOffset;const getActiveId=()=>{if(behavior.activeMode===\"first\"){const visible=items.filter(({id})=>{const el=document.getElementById(id);if(!el)return false;const top=el.getBoundingClientRect().top;return top>=offset&&top<=window.innerHeight;});if(visible.length)return visible[visible.length-1].id;}let current=items[0].id;for(const{id}of items){const el=document.getElementById(id);if(!el)continue;if(el.getBoundingClientRect().top<offset)current=id;else break;}return current;};const onScroll=()=>setActiveId(getActiveId());setActiveId(getActiveId());window.addEventListener(\"scroll\",onScroll,{passive:true});return()=>window.removeEventListener(\"scroll\",onScroll);},[items,stickyOffset,behavior.activeMode]);// ── Mobile detection ───────────────────────────────────────────────────\nuseEffect(()=>{const check=()=>setIsMobile(window.innerWidth<=mobile.breakpoint);check();window.addEventListener(\"resize\",check);return()=>window.removeEventListener(\"resize\",check);},[mobile.breakpoint]);// ── Helpers ────────────────────────────────────────────────────────────\nconst handleClick=id=>{const el=document.getElementById(id);if(!el)return;window.scrollTo({top:el.getBoundingClientRect().top+window.scrollY-stickyOffset,behavior:\"smooth\"});};const onMobile=mobile.previewMobile||isMobile;const resolvedHoverColor=colors.hover||colors.active;const resolvedIndicatorColor=indicator.color||colors.active;const primaryFontSize=font?.fontSize??16;const fontForLevel=level=>{if(level===2)return headings.level3Font??headings.level2Font??font;if(level===1)return headings.level2Font??font;return font;};const indentForLevel=level=>{if(level===2)return headings.level3Indent??32;if(level===1)return headings.level2Indent??16;return 0;};// ── Empty state ────────────────────────────────────────────────────────\nif(!items.length){return /*#__PURE__*/_jsxs(\"div\",{style:{fontSize:12,color:\"#999\",fontStyle:\"italic\",...style},children:[\"No \",headings.level1Tag,\" headings found on this page.\"]});}// ── Mobile: Sticky dropdown ────────────────────────────────────────────\nif(onMobile&&mobile.layout===\"select\"){return /*#__PURE__*/_jsx(\"div\",{style:{position:\"fixed\",top:mobile.dropdownTop,left:mobile.dropdownInset,right:mobile.dropdownInset,zIndex:1e3,backgroundColor:mobile.dropdownBg,borderRadius:mobile.dropdownRadius,padding:\"10px 16px\",boxShadow:\"0 1px 12px rgba(0,0,0,0.10)\",display:\"flex\",alignItems:\"center\",boxSizing:\"border-box\"},children:/*#__PURE__*/_jsxs(\"div\",{style:{flex:1,position:\"relative\"},children:[/*#__PURE__*/_jsx(\"select\",{value:activeId,onChange:e=>handleClick(e.target.value),style:{width:\"100%\",appearance:\"none\",WebkitAppearance:\"none\",background:\"none\",border:\"none\",fontFamily:font?.fontFamily??\"Inter\",fontSize:font?.fontSize??16,fontWeight:font?.fontWeight??700,lineHeight:font?.lineHeight??\"1.5em\",color:colors.active,cursor:\"pointer\",outline:\"none\",paddingRight:24},children:items.map(({label,id,level})=>/*#__PURE__*/_jsxs(\"option\",{value:id,children:[level===2?\"      \\xb7 \":level===1?\"  \\xb7 \":\"\",label]},id))}),/*#__PURE__*/_jsx(\"span\",{style:{position:\"absolute\",right:4,top:\"50%\",transform:\"translateY(-50%)\",pointerEvents:\"none\",color:colors.active,fontSize:13,lineHeight:1,opacity:.6},children:\"▾\"})]})});}// ── Mobile: Hidden ─────────────────────────────────────────────────────\nif(onMobile&&mobile.layout===\"hidden\")return null;// ── Shared item renderer ───────────────────────────────────────────────\nconst renderItems=withActiveState=>items.map(({label,id,level})=>{const isActive=withActiveState&&activeId===id;const isHovered=hoveredId===id;const f=fontForLevel(level);const fs=f?.fontSize??(level>0?14:primaryFontSize);const resolvedPaddingLeft=ip.left+indentForLevel(level)+(indicator.style===\"indent\"&&isActive?indicator.shiftAmount:0);const resolvedColor=withActiveState?isActive?colors.active:isHovered?resolvedHoverColor:colors.inactive:isHovered?resolvedHoverColor:colors.inactive;const resolvedOpacity=withActiveState?isActive?1:isHovered?.8:.55:isHovered?1:.7;const resolvedItemBg=withActiveState&&isActive?colors.itemActiveBg||colors.itemBg||\"none\":isHovered?colors.itemHoverBg||colors.itemBg||\"none\":colors.itemBg||\"none\";return /*#__PURE__*/_jsxs(\"button\",{onClick:()=>handleClick(id),onMouseEnter:()=>setHoveredId(id),onMouseLeave:()=>setHoveredId(\"\"),style:{background:resolvedItemBg,border:\"none\",margin:0,position:\"relative\",display:\"flex\",alignItems:\"center\",cursor:\"pointer\",textAlign:\"left\",borderRadius:spacing.itemRadius,paddingTop:ip.top,paddingBottom:ip.bottom,paddingRight:ip.right,paddingLeft:resolvedPaddingLeft,fontFamily:f?.fontFamily??\"Inter\",fontSize:fs,fontWeight:f?.fontWeight??(level>0?400:700),lineHeight:f?.lineHeight??\"1.5em\",letterSpacing:f?.letterSpacing,color:resolvedColor,opacity:resolvedOpacity,transition:\"color 0.25s ease, opacity 0.25s ease, padding-left 0.25s ease, background 0.25s ease\"},children:[withActiveState&&indicator.style===\"bar\"&&/*#__PURE__*/_jsx(\"span\",{style:{display:\"inline-block\",flexShrink:0,width:3,height:fs,marginRight:10,borderRadius:2,backgroundColor:resolvedIndicatorColor,opacity:isActive?1:0,transition:\"opacity 0.2s ease\"}}),withActiveState&&indicator.style===\"dot\"&&/*#__PURE__*/_jsx(\"span\",{style:{display:\"inline-block\",flexShrink:0,width:6,height:6,marginRight:12,borderRadius:\"50%\",backgroundColor:resolvedIndicatorColor,opacity:isActive?1:0,transform:`scale(${isActive?1:.4})`,transition:\"opacity 0.2s ease, transform 0.2s ease\",transformOrigin:\"center\"}}),withActiveState&&indicator.style===\"square\"&&/*#__PURE__*/_jsx(\"span\",{style:{display:\"inline-block\",flexShrink:0,width:6,height:6,marginRight:12,borderRadius:1,backgroundColor:resolvedIndicatorColor,opacity:isActive?1:0,transform:`scale(${isActive?1:.4})`,transition:\"opacity 0.2s ease, transform 0.2s ease\",transformOrigin:\"center\"}}),label]},id);});// ── Inline list (mobile no-active) / Desktop ───────────────────────────\nreturn /*#__PURE__*/_jsx(\"nav\",{ref:navRef,style:{display:\"flex\",flexDirection:\"column\",gap:spacing.gap,backgroundColor:colors.listBg||undefined,paddingTop:lp.top,paddingRight:lp.right,paddingBottom:lp.bottom,paddingLeft:lp.left,...style},children:renderItems(!(onMobile&&mobile.layout===\"inline\"))});}// ─── Property Controls ────────────────────────────────────────────────────────\naddPropertyControls(TableOfContents,{// ── Level 1 font lives at the top level so it's always visible ──────────\nfont:{type:ControlType.Font,title:\"Font\",controls:\"extended\",defaultValue:{fontFamily:\"Inter\",fontSize:16,fontWeight:700,lineHeight:\"1.5em\"}},// ── Headings ───────────────────────────────────────────────────────────\nheadings:{type:ControlType.Object,title:\"Headings\",controls:{containerIdSuffix:{type:ControlType.String,title:\"Container ID\",defaultValue:\"\",placeholder:\"e.g. content\",description:\"Enter the ID of the element wrapping your page content, as set in Framer's scroll content attribute. You can paste the full ID (e.g. privacy-policy-page-content) or just the short suffix (e.g. page-content) — both work.\"},level1Tag:{type:ControlType.Enum,title:\"Level 1\",defaultValue:\"h2\",options:[\"h1\",\"h2\",\"h3\",\"h4\",\"h5\",\"h6\"],optionTitles:[\"H1\",\"H2\",\"H3\",\"H4\",\"H5\",\"H6\"]},level2Tag:{type:ControlType.Enum,title:\"Level 2\",defaultValue:\"\",options:[\"\",\"h2\",\"h3\",\"h4\",\"h5\",\"h6\"],optionTitles:[\"None\",\"H2\",\"H3\",\"H4\",\"H5\",\"H6\"]},level2Font:{type:ControlType.Font,title:\"Level 2 Font\",controls:\"extended\",defaultValue:{fontFamily:\"Inter\",fontSize:14,fontWeight:400,lineHeight:\"1.5em\"},hidden(props){return!props.level2Tag;}},level2Indent:{type:ControlType.Number,title:\"Level 2 Indent\",defaultValue:16,min:0,max:80,step:2,unit:\"px\",hidden(props){return!props.level2Tag;}},level3Tag:{type:ControlType.Enum,title:\"Level 3\",defaultValue:\"\",options:[\"\",\"h2\",\"h3\",\"h4\",\"h5\",\"h6\"],optionTitles:[\"None\",\"H2\",\"H3\",\"H4\",\"H5\",\"H6\"]},level3Font:{type:ControlType.Font,title:\"Level 3 Font\",controls:\"extended\",defaultValue:{fontFamily:\"Inter\",fontSize:13,fontWeight:400,lineHeight:\"1.5em\"},hidden(props){return!props.level3Tag;}},level3Indent:{type:ControlType.Number,title:\"Level 3 Indent\",defaultValue:32,min:0,max:120,step:2,unit:\"px\",hidden(props){return!props.level3Tag;}}}},// ── Colors ─────────────────────────────────────────────────────────────\ncolors:{type:ControlType.Object,title:\"Colors\",controls:{active:{type:ControlType.Color,title:\"Active\",defaultValue:\"#6B5CE7\"},inactive:{type:ControlType.Color,title:\"Inactive\",defaultValue:\"#1a1a1a\"},hover:{type:ControlType.Color,title:\"Hover\",defaultValue:\"\",description:\"Defaults to Active if not set.\"},listBg:{type:ControlType.Color,title:\"List Background\",defaultValue:\"\",description:\"Fill behind the entire nav. Transparent if not set.\"},itemBg:{type:ControlType.Color,title:\"Item Background\",defaultValue:\"\",description:\"Per-item background. Transparent if not set.\"},itemActiveBg:{type:ControlType.Color,title:\"Item Active BG\",defaultValue:\"\",description:\"Active item background. Falls back to Item Background.\"},itemHoverBg:{type:ControlType.Color,title:\"Item Hover BG\",defaultValue:\"\",description:\"Hover item background. Falls back to Item Background.\"}}},// ── Indicator ──────────────────────────────────────────────────────────\nindicator:{type:ControlType.Object,title:\"Indicator\",controls:{style:{type:ControlType.Enum,title:\"Style\",defaultValue:\"none\",options:[\"none\",\"bar\",\"dot\",\"square\",\"indent\"],optionTitles:[\"None\",\"| Bar\",\"\\xb7 Dot\",\"▪ Square\",\"→ Indent\"]},color:{type:ControlType.Color,title:\"Color\",defaultValue:\"\",description:\"Defaults to Active color if not set.\",hidden(props){return props.style===\"none\"||props.style===\"indent\";}},shiftAmount:{type:ControlType.Number,title:\"Shift Amount\",defaultValue:24,min:8,max:64,step:2,unit:\"px\",description:\"How far the active item shifts right.\",hidden(props){return props.style!==\"indent\";}}}},// ── Spacing ────────────────────────────────────────────────────────────\nspacing:{type:ControlType.Object,title:\"Spacing\",controls:{gap:{type:ControlType.Number,title:\"Item Gap\",defaultValue:20,min:0,max:64,step:2,unit:\"px\"},listPadding:{type:ControlType.FusedNumber,title:\"List Padding\",toggleKey:\"isMixed\",toggleTitles:[\"All sides\",\"Per side\"],valueKeys:[\"top\",\"right\",\"bottom\",\"left\"],valueLabels:[\"T\",\"R\",\"B\",\"L\"],min:0,defaultValue:{top:0,right:0,bottom:0,left:0}},itemPadding:{type:ControlType.FusedNumber,title:\"Item Padding\",toggleKey:\"isMixed\",toggleTitles:[\"All sides\",\"Per side\"],valueKeys:[\"top\",\"right\",\"bottom\",\"left\"],valueLabels:[\"T\",\"R\",\"B\",\"L\"],min:0,defaultValue:{top:4,right:0,bottom:4,left:0}},itemRadius:{type:ControlType.Number,title:\"Item Radius\",defaultValue:0,min:0,max:32,step:1,unit:\"px\",description:\"Border radius applied to each item.\"}}},// ── Behavior ───────────────────────────────────────────────────────────\nbehavior:{type:ControlType.Object,title:\"Behavior\",controls:{activeMode:{type:ControlType.Enum,title:\"Active Mode\",defaultValue:\"last\",options:[\"last\",\"first\"],optionTitles:[\"Last passed\",\"Last visible\"],description:\"Last passed: highlights the most recent heading scrolled past. Last visible: highlights the bottommost heading currently in the viewport. The activation threshold and jump offset are both derived automatically from the component's sticky top position.\"}}},// ── Mobile ─────────────────────────────────────────────────────────────\nmobile:{type:ControlType.Object,title:\"Mobile\",controls:{previewMobile:{type:ControlType.Boolean,title:\"Preview Mobile\",defaultValue:false,description:\"Forces mobile layout in the Framer canvas. No effect on the published site.\"},layout:{type:ControlType.Enum,title:\"Layout\",defaultValue:\"select\",options:[\"select\",\"inline\",\"hidden\"],optionTitles:[\"Sticky Dropdown\",\"Inline List\",\"Hidden\"],description:\"Sticky Dropdown: fixed bar at the viewport top. Inline List: click-to-scroll list, no active tracking. Hidden: renders nothing.\"},breakpoint:{type:ControlType.Number,title:\"Breakpoint\",defaultValue:767,min:320,max:1280,step:1,unit:\"px\",description:\"Viewport width below which the mobile layout activates.\"},dropdownBg:{type:ControlType.Color,title:\"Background\",defaultValue:\"#ffffff\",hidden(props){return props.layout!==\"select\";}},dropdownRadius:{type:ControlType.Number,title:\"Radius\",defaultValue:8,min:0,max:32,step:1,unit:\"px\",hidden(props){return props.layout!==\"select\";}},dropdownTop:{type:ControlType.Number,title:\"Top Offset\",defaultValue:0,min:0,max:200,step:1,unit:\"px\",description:\"Distance from the viewport top. Match to any fixed header height.\",hidden(props){return props.layout!==\"select\";}},dropdownInset:{type:ControlType.Number,title:\"Side Inset\",defaultValue:0,min:0,max:64,step:2,unit:\"px\",description:\"Horizontal gap from screen edges.\",hidden(props){return props.layout!==\"select\";}}}}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"TableOfContents\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./TableOfContentsSidebar.map"],"mappings":"8MAA0J,SAAS,EAAQ,EAAE,EAAS,CAAoF,OAA/E,EAAqB,OAAO,GAAI,SAAe,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE,CAAQ,EAA7E,EACpM,SAAwB,EAAgB,CAAC,OAAK,SAAS,EAAY,OAAO,EAAU,UAAU,EAAa,QAAQ,EAAW,SAAS,EAAY,OAAO,EAAU,SAAO,CAG3K,IAAM,EAAS,CAA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