{"version":3,"file":"GenerateIDs.BoFp0afS.mjs","names":["useState","useRef","useMemo","useCallback","__esmMin","window","te","ne","init_ssg_sandbox_shims","_e","de","init_jsx_runtime","pe","J","c","p","init_npm_react_18_3_1","ce","useIsStaticRenderer","addPropertyControls","init_framer_DcGZRLrs","ControlType","ArticleTableOfContents","props","isStatic","items","setItems","activeId","setActiveId","showCustomIndicator","setShowCustomIndicator","indicatorThumbTop","setIndicatorThumbTop","indicatorThumbHeight","setIndicatorThumbHeight","navRef","canAccessDocument","previewTocItems","previewItems","index","line","item","maxItems","collectHeadings","headingSelector","el","node","tagName","level","attempts","retryCollect","next","headings","setActiveSafely","id","currentHash","observer","visible","entries","entry","a","b","heading","ticking","onScroll","closestId","bestDistance","rect","distance","stickyTop","handleClick","target","previousBehavior","cardShadow","shadow","scrollbarClassName","updateScrollIndicator","navEl","maxHeight","overflow","nextThumbHeight","travel","nextThumbTop","onResize","renderItems","backgroundColor","borderWidth","borderColor","radius","textColor","titleAlign","titleFont","title","gap","isSubHeading","isActive","itemFont","mutedTextColor","itemAlign","event","activeColor","init_ArticleTableOfContents","withHeadingIds","init_GenerateIDs","Component"],"sources":["https:/framerusercontent.com/modules/5Aq2FkbNZ7l86AgLGQXR/KuTkImpVL524CxAitScG/ArticleTableOfContents.js","https:/framerusercontent.com/modules/xfaze45fcjILelozXR8p/m7NNoIBiKF8pkZtkvQgJ/GenerateIDs.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{startTransition,useCallback,useEffect,useMemo,useRef,useState}from\"react\";import{addPropertyControls,ControlType,useIsStaticRenderer}from\"framer\";/**\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight auto\n */export default function ArticleTableOfContents(props){const{title,previewItems,headingSelector,maxItems,stickyTop,backgroundColor,borderColor,activeColor,textColor,mutedTextColor,borderWidth,shadow,titleAlign,itemAlign,maxHeight,radius,padding,gap,titleFont,itemFont}=props;const isStatic=useIsStaticRenderer();const[items,setItems]=useState([]);const[activeId,setActiveId]=useState(\"\");const[showCustomIndicator,setShowCustomIndicator]=useState(false);const[indicatorThumbTop,setIndicatorThumbTop]=useState(0);const[indicatorThumbHeight,setIndicatorThumbHeight]=useState(36);const navRef=useRef(null);const canAccessDocument=typeof document!==\"undefined\";const previewTocItems=useMemo(()=>{return previewItems.split(\"\\n\").map((line,index)=>({id:`preview-${index+1}`,text:line.trim(),level:2})).filter(item=>item.text.length>0).slice(0,Math.max(0,maxItems));},[previewItems,maxItems]);const collectHeadings=useCallback(()=>{if(typeof document===\"undefined\")return[];const nodes=Array.from(document.querySelectorAll(headingSelector));const collected=nodes.map(node=>{const el=node;const tagName=(el.tagName||\"\").toLowerCase();const level=tagName.startsWith(\"h\")&&tagName.length>1?Number(tagName.slice(1)):2;return{id:el.id?.trim()||\"\",text:(el.textContent||\"\").trim(),level:Number.isFinite(level)?level:2};}).filter(item=>item.id.length>0&&item.text.length>0).slice(0,Math.max(0,maxItems));return collected;},[headingSelector,maxItems]);useEffect(()=>{if(isStatic)return;if(typeof window===\"undefined\"||typeof document===\"undefined\")return;let attempts=0;const maxAttempts=8;const retryDelay=150;const retryCollect=()=>{const next=collectHeadings();const done=next.length>0||attempts>=maxAttempts;if(done){startTransition(()=>setItems(next));return;}attempts+=1;window.setTimeout(retryCollect,retryDelay);};window.setTimeout(retryCollect,80);},[collectHeadings,isStatic]);useEffect(()=>{if(isStatic||items.length===0)return;if(typeof window===\"undefined\"||typeof document===\"undefined\")return;const headings=items.map(item=>document.getElementById(item.id)).filter(el=>Boolean(el));if(headings.length===0)return;const setActiveSafely=id=>{startTransition(()=>setActiveId(id));};const currentHash=window.location.hash.replace(\"#\",\"\");if(currentHash)setActiveSafely(currentHash);const supportsObserver=typeof IntersectionObserver!==\"undefined\";if(supportsObserver){const observer=new IntersectionObserver(entries=>{const visible=entries.filter(entry=>entry.isIntersecting).sort((a,b)=>Math.abs(a.boundingClientRect.top)-Math.abs(b.boundingClientRect.top));if(visible.length>0){const id=visible[0].target.id;if(id)setActiveSafely(id);}},{root:null,rootMargin:\"-20% 0px -65% 0px\",threshold:[0,.25,.5,1]});headings.forEach(heading=>observer.observe(heading));return()=>observer.disconnect();}let ticking=false;const onScroll=()=>{if(ticking)return;ticking=true;window.requestAnimationFrame(()=>{ticking=false;let closestId=\"\";let bestDistance=Number.POSITIVE_INFINITY;for(const heading of headings){const rect=heading.getBoundingClientRect();const distance=Math.abs(rect.top-stickyTop-24);if(rect.top<=window.innerHeight*.55&&distance<bestDistance){bestDistance=distance;closestId=heading.id;}}if(closestId)setActiveSafely(closestId);});};window.addEventListener(\"scroll\",onScroll,{passive:true});onScroll();return()=>window.removeEventListener(\"scroll\",onScroll);},[isStatic,items,stickyTop]);const handleClick=useCallback(id=>{if(typeof window===\"undefined\"||typeof document===\"undefined\")return;const target=document.getElementById(id);if(!target)return;const previousBehavior=document.documentElement.style.scrollBehavior;document.documentElement.style.scrollBehavior=\"smooth\";window.history.pushState(null,\"\",`#${id}`);target.scrollIntoView({behavior:\"smooth\",block:\"start\"});window.setTimeout(()=>{document.documentElement.style.scrollBehavior=previousBehavior;},500);startTransition(()=>setActiveId(id));},[]);const cardShadow=useMemo(()=>shadow||\"0 12px 30px rgba(255, 200, 120, 0.12)\",[shadow]);const scrollbarClassName=\"article-toc-scroll\";const scrollbarThumb=\"rgba(118, 89, 58, 0.55)\";const scrollbarTrack=\"rgba(118, 89, 58, 0.14)\";const updateScrollIndicator=useCallback(()=>{const navEl=navRef.current;if(!navEl||maxHeight<=0){startTransition(()=>setShowCustomIndicator(false));return;}const overflow=navEl.scrollHeight-navEl.clientHeight;if(overflow<=1){startTransition(()=>setShowCustomIndicator(false));return;}const nextThumbHeight=Math.max(26,navEl.clientHeight/navEl.scrollHeight*navEl.clientHeight);const travel=Math.max(0,navEl.clientHeight-nextThumbHeight);const nextThumbTop=overflow>0?navEl.scrollTop/overflow*travel:0;startTransition(()=>{setShowCustomIndicator(true);setIndicatorThumbHeight(nextThumbHeight);setIndicatorThumbTop(nextThumbTop);});},[maxHeight]);useEffect(()=>{if(isStatic){if(maxHeight>0){startTransition(()=>{setShowCustomIndicator(true);setIndicatorThumbTop(8);setIndicatorThumbHeight(44);});}else{startTransition(()=>setShowCustomIndicator(false));}return;}updateScrollIndicator();if(typeof window===\"undefined\")return;const onResize=()=>updateScrollIndicator();window.addEventListener(\"resize\",onResize);return()=>window.removeEventListener(\"resize\",onResize);},[isStatic,maxHeight,items.length,previewTocItems.length,updateScrollIndicator]);const renderItems=isStatic?previewTocItems:items.length>0?items:!canAccessDocument?previewTocItems:[];if(renderItems.length===0)return null;return /*#__PURE__*/_jsx(\"aside\",{style:{position:\"relative\",width:\"100%\",minWidth:280,maxWidth:300},\"aria-label\":\"Article table of contents\",children:/*#__PURE__*/_jsxs(\"div\",{style:{position:\"sticky\",top:stickyTop,background:backgroundColor,border:`${borderWidth}px solid ${borderColor}`,borderRadius:radius,padding,boxShadow:cardShadow,display:\"flex\",flexDirection:\"column\",gap,backdropFilter:\"blur(2px)\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{color:textColor,textAlign:titleAlign,...titleFont},children:title}),/*#__PURE__*/_jsxs(\"div\",{style:{position:\"relative\"},children:[/*#__PURE__*/_jsxs(\"nav\",{ref:navRef,className:scrollbarClassName,\"aria-label\":title,onScroll:maxHeight>0?updateScrollIndicator:undefined,style:{maxHeight:maxHeight>0?maxHeight:undefined,overflowY:maxHeight>0?\"auto\":\"visible\",overflowX:\"hidden\",paddingRight:maxHeight>0&&(showCustomIndicator||isStatic)?14:0,scrollbarWidth:\"none\",msOverflowStyle:\"none\"},children:[/*#__PURE__*/_jsx(\"style\",{children:`\n                        .${scrollbarClassName}::-webkit-scrollbar {\n                            width: 0;\n                            height: 0;\n                            background: transparent;\n                        }\n                        .${scrollbarClassName}::-webkit-scrollbar-track {\n                            background: transparent;\n                        }\n                        .${scrollbarClassName}::-webkit-scrollbar-corner {\n                            background: transparent;\n                            border-radius: 999px;\n                        }\n                    `}),/*#__PURE__*/_jsx(\"ul\",{style:{listStyle:\"none\",margin:0,padding:0,display:\"flex\",flexDirection:\"column\",gap:Math.max(6,gap-2)},children:renderItems.map(item=>{const isSubHeading=item.level>=3;const isActive=activeId===item.id;return /*#__PURE__*/_jsx(\"li\",{children:isStatic?/*#__PURE__*/_jsx(\"span\",{style:{...itemFont,color:isSubHeading?mutedTextColor:textColor,opacity:isSubHeading?.82:1,display:\"block\",width:\"100%\",textAlign:itemAlign,lineHeight:itemFont.lineHeight||(isSubHeading?\"1.3em\":\"1.35em\"),paddingLeft:isSubHeading?12:0,fontSize:itemFont.fontSize??(isSubHeading?\"14px\":\"15px\"),overflowWrap:\"anywhere\"},children:item.text}):/*#__PURE__*/_jsx(\"a\",{href:`#${item.id}`,onClick:event=>{event.preventDefault();handleClick(item.id);},style:{...itemFont,color:isActive?activeColor:isSubHeading?mutedTextColor:textColor,opacity:isSubHeading?.82:1,textDecoration:\"none\",display:\"block\",width:\"100%\",textAlign:itemAlign,lineHeight:itemFont.lineHeight||(isSubHeading?\"1.3em\":\"1.35em\"),paddingLeft:isSubHeading?12:0,fontSize:itemFont.fontSize??(isSubHeading?\"14px\":\"15px\"),transition:\"color 160ms ease, opacity 160ms ease\",overflowWrap:\"anywhere\"},children:item.text})},item.id);})})]}),maxHeight>0&&(showCustomIndicator||isStatic)?/*#__PURE__*/_jsx(\"div\",{\"aria-hidden\":true,style:{position:\"absolute\",top:0,right:1,width:8,height:\"100%\",borderRadius:999,background:scrollbarTrack,pointerEvents:\"none\"},children:/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",left:0,width:\"100%\",borderRadius:999,background:scrollbarThumb,height:indicatorThumbHeight,transform:`translateY(${indicatorThumbTop}px)`}})}):null]})]})});}addPropertyControls(ArticleTableOfContents,{title:{type:ControlType.String,title:\"Title\",defaultValue:\"Table of Contents\"},previewItems:{type:ControlType.String,title:\"Preview Items\",displayTextArea:true,defaultValue:`The Technical Reality: What You Have to Work With\nThe Only Question That Matters\nThe Four Elements of a Bio That Converts\nKeyword Optimization: How Your Bio Gets Found\nYour Display Name Is Part of the Bio\nProven Bio Formulas (With Examples)\nBio Examples by Niche\nThe Rest of Your Profile Matters Too\nWhat to Stop Doing: Common Bio Mistakes\nHow to Test Whether Your Bio Is Working\nFrequently Asked Questions`},headingSelector:{type:ControlType.String,title:\"Selector\",defaultValue:\"h2, h3\"},maxItems:{type:ControlType.Number,title:\"Max Items\",defaultValue:24,min:1,max:100,step:1},stickyTop:{type:ControlType.Number,title:\"Sticky Top\",defaultValue:96,min:0,max:320,step:1},backgroundColor:{type:ControlType.Color,title:\"Background\",defaultValue:\"#111111\"},borderColor:{type:ControlType.Color,title:\"Border\",defaultValue:\"#3A3128\"},activeColor:{type:ControlType.Color,title:\"Active\",defaultValue:\"#F3B46A\"},textColor:{type:ControlType.Color,title:\"Text\",defaultValue:\"#FFFFFF\"},mutedTextColor:{type:ControlType.Color,title:\"Muted Text\",defaultValue:\"#CCCCCC\"},borderWidth:{type:ControlType.Number,title:\"Border W\",defaultValue:2,min:0,max:10,step:1},shadow:{type:ControlType.BoxShadow,title:\"Shadow\",defaultValue:\"0 12px 30px rgba(255, 200, 120, 0.12)\"},titleAlign:{type:ControlType.Enum,title:\"Title Align\",defaultValue:\"center\",options:[\"left\",\"center\",\"right\"],optionTitles:[\"Left\",\"Center\",\"Right\"],displaySegmentedControl:true},itemAlign:{type:ControlType.Enum,title:\"Item Align\",defaultValue:\"left\",options:[\"left\",\"center\",\"right\"],optionTitles:[\"Left\",\"Center\",\"Right\"],displaySegmentedControl:true},maxHeight:{type:ControlType.Number,title:\"Max Height\",defaultValue:0,min:0,max:1200,step:10},radius:{type:ControlType.Number,title:\"Radius\",defaultValue:24,min:0,max:48,step:1},padding:{type:ControlType.Number,title:\"Padding\",defaultValue:16,min:0,max:64,step:1},gap:{type:ControlType.Number,title:\"Gap\",defaultValue:10,min:0,max:40,step:1},titleFont:{type:ControlType.Font,title:\"Title Font\",defaultValue:{fontSize:\"15px\",variant:\"Semibold\",letterSpacing:\"-0.01em\",lineHeight:\"1.1em\"},controls:\"extended\",defaultFontType:\"sans-serif\"},itemFont:{type:ControlType.Font,title:\"Item Font\",defaultValue:{fontSize:\"15px\",variant:\"Medium\",letterSpacing:\"-0.01em\",lineHeight:\"1.35em\"},controls:\"extended\",defaultFontType:\"sans-serif\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ArticleTableOfContents\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"fixed\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"auto\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ArticleTableOfContents.map","import{jsx as _jsx}from\"react/jsx-runtime\";import{forwardRef,useEffect}from\"react\";export const withHeadingIds=Component=>{return /*#__PURE__*/forwardRef((props,ref)=>{useEffect(()=>{// Smooth scrolling\ndocument.documentElement.style.scrollBehavior=\"smooth\";// Add IDs + scroll padding to each heading\nconst headings=document.querySelectorAll(\"h1, h2, h3, h4, h5, h6\");headings.forEach(heading=>{if(!heading.id){heading.id=heading.textContent?.toLowerCase().trim().replace(/\\s+/g,\"-\").replace(/[^\\w-]/g,\"\")??\"\";}heading.style.scrollMarginTop=\"100px\";});},[]);return /*#__PURE__*/_jsx(Component,{...props,ref:ref});});};\nexport const __FramerMetadata__ = {\"exports\":{\"withHeadingIds\":{\"type\":\"reactHoc\",\"name\":\"withHeadingIds\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./GenerateIDs.map"],"mappings":"A,kPAGG,SAAwBsB,EAAuB,EAAM,CAAC,GAAK,CAAC,QAAM,eAAa,kBAAgB,WAAS,YAAU,kBAAgB,cAAY,cAAY,YAAU,iBAAe,cAAY,SAAO,aAAW,YAAU,YAAU,SAAO,UAAQ,MAAI,YAAU,YAAUC,EAAYC,EAASN,EAAoB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