{"version":3,"file":"SectionIndex.CuQ6mCDV.mjs","names":["useRef","useState","startTransition","_Fragment","__esmMin","init_ssg_sandbox_shims","init_npm_react_18_3_1","window","te","ce","init_jsx_runtime","p","_e","de","useIsStaticRenderer","addPropertyControls","init_framer_D6uXRwWs","ControlType","themeColor","init_PanelSystem","needleFor","item","MATCH_BY_LABEL","autoLabel","layer","el","words","heading","readRibbon","svg","paths","legs","band","box","edge","finish","corner","first","container","top","topRadius","readCard","card","b","y","px","n","r","l","t","e","d","x","inset","topFlare","w","radius","FLARE_WIDTH","h","FLARE_HEIGHT","a","FLARE_REACH","c","reach","tallest","FLARE_GROW","textWidth","measureCanvas","text","size","SectionIndex","DEFAULT_ITEMS","tickColorRaw","activeTickColorRaw","cardBackgroundRaw","titleColorRaw","noteColorRaw","props","tickColor","activeTickColor","cardBackground","titleColor","noteColor","isStatic","configuredByLabel","items","resolvedItems","cfg","itemsKey","i","sectionsRef","rowsKeyRef","anchorRef","rows","setRows","active","setActive","hovered","setHovered","wide","setWide","anchorRect","setAnchorRect","ribbon","setRibbon","ribbonFits","setRibbonFits","labelIndex","setLabelIndex","ribbonRef","ribbonFitsRef","navRef","panelRef","slideRef","labelRef","growRef","positionRibbon","nav","vh","stripTop","stripEnd","RIBBON_PAD","panel","laneTop","fits","media","minViewport","onMedia","findBands","scope","found","node","rect","minSectionHeight","wraps","host","sectionEls","isSection","smallest","prev","unique","o","collect","bands","claimed","picked","needle","firstTop","key","track","viewport","index","mostVisible","visible","measureAnchor","next","anchor","els","measureRibbon","sameRibbon","measureRaf","onScroll","onResize","settleTimers","ms","scrollToIndex","staticRows","allRows","showTop","ribbonMode","leaveRail","staticActive","isRight","railOffset","anchorInset","leftOffset","fontSize","ribbonFontSize","ribbonName","row","tickEnd","longest","room","needed","GROW_LABEL_GAP","GROW_LABEL_PAD","growWidth","labelLeft","bottomRadius","flares","flareWidth","f","flareShape","at","smoothing","progress","rx","ry","direction","beta","arc","v","py","x1","y1","x2","y2","segment","p1x","p1y","p2x","p2y","py0","curves","from","to","handle","panelHeight","panelClip","bottom","shift","end","path","start","growTimeline","label","time","GROW_OPEN_MS","timing","GROW_EASE","anims","setGrowOpen","g","open","clip","shape","opacity","target","outlineEffect","labelEffect","curveSteps","offset","immediate","pointer","GROW_CLOSE_MS","enterRow","isActive","isHovered","tickWidth","falloff","rowSpacing","RIBBON_CURRENT_TICK","RIBBON_TICK","init_SectionIndex","acc","k"],"sources":["https:/framerusercontent.com/modules/APG46CrigqxHbLVKhFcF/qxh9pXBT9TE1R14zr1GV/SectionIndex.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{themeColor}from\"https://framerusercontent.com/modules/xuHq55xcsIuroc51p47f/pFIIFCkBf6FoTCOyYxr6/PanelSystem.js\";import{useEffect,useRef,useState,startTransition}from\"react\";import{addPropertyControls,ControlType,useIsStaticRenderer}from\"framer\";// `match` is matched against each section's own heading, so hiding,\n// adding, or reordering sections can never shift the labels.\nconst DEFAULT_ITEMS=[{label:\"Design\",match:\"Design every email\",note:\"One editor for every email\"},{label:\"Engineering\",match:\"easy yes from engineering\",note:\"The API, SDKs, and webhooks\"},{label:\"Lifecycle\",match:\"lifecycle workflows\",note:\"Workflows for every stage\"},{label:\"Growth\",match:\"growth team\",note:\"The growth team’s lever\"},{label:\"Marketing\",match:\"marketing in sync\",note:\"Campaigns tied to product data\"},{label:\"Integrations\",match:\"tools you already use\",note:\"Works with your stack\"},{label:\"Deliverability\",match:\"protection for sender reputation\",note:\"Protect your sender reputation\"},{label:\"Testimonials\",match:\"why teams\",note:\"Why teams choose Loops\"},{label:\"Get started\",match:\"Start sending better\",note:\"Free to start\"}];const MATCH_BY_LABEL=DEFAULT_ITEMS.reduce((acc,item)=>({...acc,[item.label.toLowerCase()]:item.match}),{});// Framer keys array sub-controls off their title, so the stored field can\n// arrive as `match` or `headingMatch`; fall back to the known label map\n// before ever matching on the raw label.\nfunction needleFor(item){const raw=item.match||item.headingMatch||MATCH_BY_LABEL[(item.label||\"\").toLowerCase()]||item.label||\"\";return raw.toLowerCase();}// Title for a section no item claimed. The Framer layer name reads far\n// better than a chopped heading (\"Integrations\" beats \"Stay synced with\").\nfunction autoLabel(el,heading){const layer=(el.getAttribute(\"data-framer-name\")||\"\").replace(/\\(.*?\\)/g,\"\").replace(/\\bsections?\\b/gi,\"\").trim();if(layer&&layer.length<=22){return layer.charAt(0).toUpperCase()+layer.slice(1);}const words=heading.replace(/[.,:;!?]+$/,\"\").split(\" \").slice(0,3).join(\" \");return words.length>22?words.slice(0,21).trimEnd()+\"…\":words;}const RIBBON_PAD=24;const GROW_OPEN_MS=300;const GROW_CLOSE_MS=200;// Soft start, soft landing and no overshoot; the lane and its name share it.\nconst GROW_EASE=\"cubic-bezier(.25,.1,.25,1)\";const curveSteps=Array.from({length:49},(_,i)=>i/48);const GROW_LABEL_GAP=8;// Where the grown lane meets the lane above it (and the footer below), it\n// flares out on a long concave slope, scaled from the sheet's own corner.\nconst FLARE_WIDTH=1.15;const FLARE_HEIGHT=2.2;// The top flare runs on into the hero card's corner rather than levelling off\n// beside it: at most this much taller than usual (flatter beyond that), and\n// only while the card is within this many flare widths.\nconst FLARE_GROW=2.2;const FLARE_REACH=3.5;const GROW_LABEL_PAD=12;// On oxblood the ticks keep the original light grey in both themes (the tick\n// colour prop resolves to a dark grey in dark mode), and the original's\n// near-black current tick becomes white.\nconst RIBBON_TICK=\"#DAD9D6\";const RIBBON_CURRENT_TICK=\"#FFFFFF\";function readRibbon(container){const svg=document.querySelector(\".laod-page-art > svg\");const paths=svg?Array.from(svg.querySelectorAll(\"path\")):[];const legs=paths.map(p=>(p.getAttribute(\"d\")||\"\").match(/A([\\d.]+) [\\d.]+ 0 0 0 (-?[\\d.]+) (-?[\\d.]+)V(-?[\\d.]+)/));if(!svg||legs.length<4||!legs[3])return null;const band=parseFloat(paths[3].getAttribute(\"stroke-width\")||\"0\")-.4;if(!(band>0))return null;const box=svg.getBoundingClientRect();const edge=box.left+parseFloat(legs[3][2])+band/2;const finish=document.querySelector(\"svg.laod-ribbon-finish\");const corner=Array.from(finish?.querySelectorAll(\"path\")||[]).map(p=>p.getAttribute(\"d\")||\"\").join(\" \").match(/A([\\d.]+) [\\d.]+ 0 0 1 (-?[\\d.]+) (-?[\\d.]+)V-200Z/);const first=document.querySelector(`[data-framer-name=\"${container}\"]`)?.children[0];const top=box.top+window.scrollY+parseFloat(legs[3][3]);// The lane's path is its centre line, so the sheet corner is half a lane tighter.\nconst topRadius=Math.max(0,parseFloat(legs[3][1])-band/2);return{left:edge-4*band,band,top,end:corner&&finish?finish.getBoundingClientRect().top+window.scrollY+parseFloat(corner[3]):box.top+window.scrollY+parseFloat(legs[3][4]),topRadius,bottomRadius:corner?parseFloat(corner[1]):0,color:window.getComputedStyle(paths[3]).stroke,margin:first?first.getBoundingClientRect().left-edge:0,...readCard(edge-2,top-topRadius-1)};}// Up to about 1700px wide the hero card overlaps the strip's turn. The grown lane\n// passes under it: the card's rounded box, relative to the panel's origin\n// (x, y in document space), is cut out of the panel.\nfunction readCard(x,y){const card=Array.from(document.querySelectorAll(\".laod-svg\")).find(el=>{const b=el.getBoundingClientRect();return b.top+window.scrollY<=y&&b.bottom+window.scrollY>y;});if(!card)return{clip:\"none\",cornerX:0,cornerY:0};const b=card.getBoundingClientRect();const px=n=>Math.round(n*2)/2;const r=px(parseFloat(window.getComputedStyle(card).borderBottomLeftRadius)*(b.width/card.offsetWidth||1));const[l,t,e,d]=[b.left-x,b.top+window.scrollY-y,b.right-x,b.bottom+window.scrollY-y].map(px);// The point halfway round the card's corner.\nconst inset=px(r*(1-Math.SQRT1_2));return{// Outer box clockwise, card counter-clockwise, so the card is a hole.\nclip:`path(\"M-9999 -9999H9999V99999H-9999Z M${l} ${t+r}V${d-r}A${r} ${r} 0 0 0 ${l+r} ${d}H${e-r}A${r} ${r} 0 0 0 ${e} ${d-r}V${t+r}A${r} ${r} 0 0 0 ${e-r} ${t}H${l+r}A${r} ${r} 0 0 0 ${l} ${t+r}Z\")`,cornerX:l+inset,cornerY:d-inset};}// The top flare's size, given the sheet corner's radius and the card corner's\n// offset (a across from the grown lane's edge, b down from its top). Through\n// that point it keeps the flare's proportions, or its height cap if that\n// would be taller: (1 - a/w)² + (1 - b/h)² = 1.\nfunction topFlare(radius,a,b){const w=radius*FLARE_WIDTH;const h=radius*FLARE_HEIGHT;if(!(a>0&&b>0&&a<w*FLARE_REACH))return{w,h};const c=b*FLARE_WIDTH/FLARE_HEIGHT;const reach=(a*a+c*c)/(a+c-Math.sqrt(2*a*c));if(reach<=w)return{w,h};const tallest=h*FLARE_GROW;if(reach*FLARE_HEIGHT/FLARE_WIDTH<=tallest)return{w:reach,h:reach*FLARE_HEIGHT/FLARE_WIDTH};return{w:a/(1-Math.sqrt(1-(1-b/tallest)**2)),h:tallest};}const sameRibbon=(a,b)=>a===b||!!a&&!!b&&a.color===b.color&&a.clip===b.clip&&[\"left\",\"band\",\"top\",\"end\",\"margin\",\"topRadius\",\"bottomRadius\",\"cornerX\",\"cornerY\"].every(k=>Math.abs(a[k]-b[k])<.5);// \"Testimonials\", the longest name, sets in about 6.2 ems at 600; size the\n// type so it clears the strip, up to 12px.\nconst ribbonFontSize=band=>Math.round(Math.min(12,Math.max(10,(band*4-12)/6.2))*2)/2;let measureCanvas=null;function textWidth(text,size){if(typeof document===\"undefined\")return text.length*size*.6;if(!measureCanvas)measureCanvas=document.createElement(\"canvas\").getContext(\"2d\");if(!measureCanvas)return text.length*size*.6;measureCanvas.font=`600 ${size}px Inter`;return Math.ceil(measureCanvas.measureText(text).width);}/**\n * Page index rail. One tick per section, centered along the configured viewport edge,\n * or, on the homepage's Ribbon Frame, set into the strip's oxblood lane.\n * Sections are located by matching each item's `match` text against the\n * section headings rendered inside the container frame.\n *\n * @framerIntrinsicWidth 48\n * @framerIntrinsicHeight 120\n *\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */export default function SectionIndex(props){const{items=DEFAULT_ITEMS,showTop=true,container=\"Inner Content\",minSectionHeight=250,rowSpacing=12,anchor=\"left\",anchorInset=12,anchorGap=3,leftOffset=24,minViewport=1200,tickColor:tickColorRaw=\"var(--token-ee2fd5cb-f3a4-4f81-9d12-b11768d65182, #DAD9D6)\",activeTickColor:activeTickColorRaw=\"var(--token-c3a36b0c-4da1-403f-83a2-d5b8f9dcaed7, #111111)\",cardBackground:cardBackgroundRaw=\"var(--token-83f5fefd-8241-47f8-8f7c-5e6247fea9aa, #FFFFFF)\",titleColor:titleColorRaw=\"var(--token-c3a36b0c-4da1-403f-83a2-d5b8f9dcaed7, #111111)\",noteColor:noteColorRaw=\"var(--token-c2820726-15e0-47b6-8552-99c14deaa2e6, #63635e)\"}=props;const tickColor=themeColor(tickColorRaw);const activeTickColor=themeColor(activeTickColorRaw);const cardBackground=themeColor(cardBackgroundRaw);const titleColor=themeColor(titleColorRaw);const noteColor=themeColor(noteColorRaw);const isStatic=useIsStaticRenderer();// Framer hands back a fresh array each render; key on contents so the\n// scroll listeners are not torn down on every hover.\nconst configuredByLabel=new Map(items.map(item=>[(item.label||\"\").toLowerCase(),item]));// Instances hold a frozen snapshot of this array from before the\n// defaults had notes, so an empty stored note inherits the default.\nconst resolvedItems=[...DEFAULT_ITEMS.map(item=>{const cfg=configuredByLabel.get(item.label.toLowerCase());if(!cfg)return item;return cfg.note?cfg:{...cfg,note:item.note};}),...items.filter(item=>!MATCH_BY_LABEL[(item.label||\"\").toLowerCase()])];const itemsKey=resolvedItems.map(i=>`${i.label}|${i.match}|${i.note}`).join(\"~\");const sectionsRef=useRef([]);const rowsKeyRef=useRef(\"\");const anchorRef=useRef(null);const[rows,setRows]=useState([]);const[active,setActive]=useState(-1);const[hovered,setHovered]=useState(-1);const[wide,setWide]=useState(true);const[anchorRect,setAnchorRect]=useState(null);const[ribbon,setRibbon]=useState(null);const[ribbonFits,setRibbonFits]=useState(false);const[labelIndex,setLabelIndex]=useState(0);const ribbonRef=useRef(null);const ribbonFitsRef=useRef(false);const navRef=useRef(null);const panelRef=useRef(null);const slideRef=useRef(null);const labelRef=useRef(null);const growRef=useRef(null);// Ribbon mode positions itself on every scroll frame, so these writes go\n// straight to the DOM instead of through a render.\nfunction positionRibbon(){const nav=navRef.current;const r=ribbonRef.current;if(!nav)return;if(!r){nav.style.translate=\"\";return;}const vh=window.innerHeight;const stripTop=r.top-window.scrollY;const stripEnd=r.end-window.scrollY;const h=nav.offsetHeight;// Sticky on the sheet edge: centred while the strip fills the screen,\n// clear of both sheet corners.\nconst top=Math.round(Math.min(Math.max((vh-h)/2,stripTop+RIBBON_PAD),stripEnd-RIBBON_PAD-h));nav.style.translate=`0 ${top}px`;const panel=panelRef.current;if(panel){// The grown lane is the sheet's edge moved into the margin: it runs\n// the sheet's full height and keeps both of its rounded corners.\n// 1px past each end, into the lane above and the footer below, so\n// no sub-pixel seam opens where they meet.\nconst sheetTop=stripTop-r.topRadius;const laneTop=sheetTop-top-1;panel.style.top=`${laneTop}px`;// The name rides inside the lane; this holds it level with its tick.\nif(labelRef.current)labelRef.current.style.translate=`0 ${-laneTop}px`;panel.style.height=`${r.end-r.top+r.topRadius+r.bottomRadius+2}px`;}const fits=stripEnd-stripTop>=h+2*RIBBON_PAD;if(fits!==ribbonFitsRef.current){ribbonFitsRef.current=fits;startTransition(()=>setRibbonFits(fits));}}useEffect(()=>{if(isStatic||typeof window===\"undefined\")return;const media=window.matchMedia(`(min-width: ${minViewport}px)`);const onMedia=()=>startTransition(()=>setWide(media.matches));onMedia();media.addEventListener(\"change\",onMedia);// Every banded section on the page, in page order. Deliberately free\n// of any document-height maths: inside Framer's preview frame the\n// document can measure as one viewport, which used to exclude every\n// section and leave no rail at all.\nconst findBands=()=>{const scope=container?document.querySelector(`[data-framer-name=\"${container}\"]`)||document.body:document.body;const found=[];scope.querySelectorAll(\"div, section, footer\").forEach(node=>{const el=node;const rect=el.getBoundingClientRect();if(rect.height<minSectionHeight)return;const heading=el.querySelector(\"h1, h2, h3\");const text=(heading?.textContent||\"\").replace(/\\s+/g,\" \").trim();if(!text)return;found.push({el,heading:text,top:rect.top+window.scrollY,height:rect.height});});const wraps=(a,b)=>a!==b&&a.el.contains(b.el);// A section is a direct child of the container. Anything else\n// carrying the same heading is either a wrapper around it or a\n// header block nested inside it, so the section always wins.\nconst host=container?document.querySelector(`[data-framer-name=\"${container}\"]`):null;const sectionEls=host?Array.from(host.children):[];const isSection=b=>sectionEls.includes(b.el);// Order matters. A layout wrapper always reports the first heading\n// it contains, so collapsing each heading to its smallest element\n// discards the wrappers and leaves the real section...\nconst smallest=new Map;for(const c of found){const prev=smallest.get(c.heading);if(!prev){smallest.set(c.heading,c);continue;}if(isSection(c)!==isSection(prev)){if(isSection(c))smallest.set(c.heading,c);continue;}if(c.height<prev.height)smallest.set(c.heading,c);}// ...and only then does dropping nested bands remove the demos\n// inside a section rather than the section itself.\nconst unique=Array.from(smallest.values());return unique.filter(c=>!unique.some(o=>wraps(o,c))).map(c=>({...c,isSection:isSection(c)})).sort((a,b)=>a.top-b.top);};const collect=()=>{const bands=findBands();if(bands.length===0)return;const claimed=new Set;const picked=[];for(const item of resolvedItems){const needle=needleFor(item);if(!needle)continue;const i=bands.findIndex((b,n)=>!claimed.has(n)&&b.heading.toLowerCase().includes(needle));if(i===-1)continue;claimed.add(i);picked.push({row:{label:item.label,note:item.note||bands[i].heading},band:bands[i]});}if(picked.length===0)return;// Any unclaimed section below the first tracked one also gets a\n// tick, so the index always covers the rest of the page. Bands\n// above it (the hero) stay untracked — that is the \"Top\" tick.\nconst firstTop=Math.min(...picked.map(p=>p.band.top));bands.forEach((b,i)=>{if(claimed.has(i)||b.top<=firstTop)return;if(b.isSection===false)return;picked.push({row:{label:autoLabel(b.el,b.heading),note:DEFAULT_ITEMS.find(item=>b.heading.toLowerCase().includes(item.match.toLowerCase()))?.note||b.heading},band:b});});picked.sort((a,b)=>a.band.top-b.band.top);sectionsRef.current=picked.map(p=>p.band.el);const found=picked.map(p=>p.row);const key=found.map(r=>r.label+\"|\"+r.note).join(\"~\");if(key!==rowsKeyRef.current){rowsKeyRef.current=key;startTransition(()=>setRows(found));}};// The section filling most of the screen is the one being read, which\n// keeps the tick on it until the next section actually takes over.\nconst track=()=>{const stale=sectionsRef.current.length===0||!sectionsRef.current[0].isConnected;if(stale)collect();const viewport=window.innerHeight;let index=-1;let mostVisible=0;sectionsRef.current.forEach((el,i)=>{const rect=el.getBoundingClientRect();const visible=Math.min(rect.bottom,viewport)-Math.max(rect.top,0);// A section peeking in at the bottom of a tall window does not\n// count yet — otherwise the rail appears while the hero still\n// fills the screen.\nconst enoughToCount=Math.min(viewport*.25,rect.height*.6);if(visible>=enoughToCount&&visible>mostVisible){mostVisible=visible;index=i;}});startTransition(()=>setActive(index));};const measureAnchor=()=>{let next=null;if(anchor){const els=document.querySelectorAll(`[data-framer-name=\"${anchor}\"]`);for(const el of Array.from(els)){// Only the fixed nav qualifies — page content (book spines,\n// split layouts) reuses the same layer name.\nif(window.getComputedStyle(el).position!==\"fixed\")continue;const rect=el.getBoundingClientRect();if(rect.width>0&&rect.height>0){next={left:rect.left,right:window.innerWidth-rect.right};break;}}}const prev=anchorRef.current;const changed=prev===null||next===null?prev!==next:Math.abs(prev.left-next.left)>.5||Math.abs(prev.right-next.right)>.5;if(changed){anchorRef.current=next;startTransition(()=>setAnchorRect(next));}};const measureRibbon=()=>{const next=media.matches?readRibbon(container):null;if(!sameRibbon(next,ribbonRef.current)){ribbonRef.current=next;startTransition(()=>setRibbon(next));}positionRibbon();};// one measurement per frame, and none at all for horizontal\n// scrollers (the homepage demo strip fires capture-phase scroll\n// events every frame of its glide; a sideways scroll cannot move\n// section verticals, and per-event forced layout here thrashes\n// against the glide's scrollLeft writes)\nlet measureRaf=0;const onScroll=e=>{const t=e?.target;if(t&&t!==document&&t instanceof Element&&t.scrollHeight<=t.clientHeight)return;if(measureRaf)return;measureRaf=window.requestAnimationFrame(()=>{measureRaf=0;measureAnchor();track();measureRibbon();});};const onResize=()=>{sectionsRef.current=[];onScroll();};collect();onScroll();// Sections mount and animate in after hydration; re-read until settled.\nconst settleTimers=[300,1e3,2500].map(ms=>window.setTimeout(()=>{sectionsRef.current=[];onScroll();},ms));window.addEventListener(\"scroll\",onScroll,{passive:true});// Capture phase catches scrolling inside a nested container, which is\n// how the page behaves in Framer's preview frame.\ndocument.addEventListener(\"scroll\",onScroll,{passive:true,capture:true});window.addEventListener(\"resize\",onResize);return()=>{if(measureRaf)window.cancelAnimationFrame(measureRaf);settleTimers.forEach(t=>window.clearTimeout(t));media.removeEventListener(\"change\",onMedia);window.removeEventListener(\"scroll\",onScroll);document.removeEventListener(\"scroll\",onScroll,{capture:true});window.removeEventListener(\"resize\",onResize);};},[isStatic,container,minSectionHeight,itemsKey,minViewport,anchor]);function scrollToIndex(index){if(typeof window===\"undefined\")return;if(index<0){window.scrollTo({top:0,behavior:\"smooth\"});return;}const el=sectionsRef.current[index];if(!el)return;// scrollIntoView works whether the page scrolls the window or a\n// nested container; the margin keeps the heading clear of the nav.\nel.style.scrollMarginTop=\"80px\";el.scrollIntoView({behavior:\"smooth\",block:\"start\"});}const staticRows=isStatic?resolvedItems.map(i=>({label:i.label,note:i.note})):rows;const allRows=[];if(showTop)allRows.push({label:\"Back to the start\",note:\"\",index:-1});staticRows.forEach((r,i)=>allRows.push({label:r.label,note:r.note,index:i}));const ribbonMode=!isStatic&&wide&&ribbon!==null;// Place the rail after ribbon mode renders (and on row changes), and drop\n// the grow timeline when ribbon mode ends or the component unmounts.\nuseEffect(()=>{positionRibbon();},[ribbonMode,rows.length]);useEffect(()=>{if(!ribbonMode)return;return()=>{growRef.current?.anims.forEach(a=>a.cancel());growRef.current=null;};},[ribbonMode]);const visible=isStatic||wide&&active>=0&&(!ribbonMode||ribbonFits);// The rail hides over the hero and at the footer. In ribbon mode only its\n// ticks fade; an open lane slides shut rather than fading with them.\nuseEffect(()=>{if(ribbonMode&&!visible&&growRef.current?.open)leaveRail();},[ribbonMode,visible]);const staticActive=isStatic?0:active;const isRight=anchor.toLowerCase()===\"right\";const railOffset=anchorRect?(isRight?anchorRect.right:anchorRect.left)+anchorInset:leftOffset;// Ribbon mode geometry, relative to the strip's outer edge: ticks sit in\n// the oxblood lane (the fourth), and the grown lane starts at the sheet\n// edge, just wide enough for the longest name beside the hovered tick.\n// Where the margin is tight the name tucks closer to the tick.\nconst band=ribbon?.band??0;const fontSize=ribbonFontSize(band);const ribbonName=row=>row.index<0?\"Top\":row.label;const tickEnd=3*band+Math.min(20,band);const longest=ribbonMode?Math.max(...allRows.map(row=>textWidth(ribbonName(row),fontSize))):0;const room=(ribbon?.margin??0)-4;const needed=tickEnd-4*band+GROW_LABEL_GAP+longest+GROW_LABEL_PAD;const growWidth=needed<=room?needed:room;const labelLeft=needed<=room?tickEnd+GROW_LABEL_GAP:Math.max(tickEnd+3,4*band+room-longest-4);const bottomRadius=ribbon?.bottomRadius??0;const flares=[{at:\"top\",...topFlare(ribbon?.topRadius??0,(ribbon?.cornerX??0)-growWidth-2,ribbon?.cornerY??0)},{at:\"bottom\",w:bottomRadius*FLARE_WIDTH,h:bottomRadius*FLARE_HEIGHT}].map(({at,w,h})=>({at,w:Math.round(w),h:Math.round(h)}));const flareWidth=Math.max(ribbon?.topRadius??0,bottomRadius,...flares.map(f=>f.w));function flareShape(at,w,h,progress){const radius=at===\"top\"?ribbon?.topRadius??0:bottomRadius;const smoothing=.85*Math.sin(Math.PI*progress)**2;const rx=radius+(w-radius)*progress;const ry=radius+(h-radius)*progress;const edge=2+growWidth*progress;const y=at===\"top\"?1-progress:Math.max(radius,h)+progress;const direction=at===\"top\"?1:-1;const r=1/(1+smoothing);const beta=Math.PI*smoothing/4;const arc=r*(Math.cos(beta)-Math.sin(beta));const c=r*Math.tan(beta/2)*Math.cos(beta);const d=c*Math.tan(beta);const b=(1-arc-c-d)/3;const a=2*b;const x=v=>Number((edge+rx*v).toFixed(4));const py=v=>Number((y+direction*ry*v).toFixed(4));const x1=1-a-b-c;const y1=d;const x2=x1-arc;const y2=y1+arc;const segment=(p1x,p1y,p2x,p2y,px,py0)=>[x(p1x),py(p1y),x(p2x),py(p2y),x(px),py(py0)];const curves=[segment(1-a,0,1-a-b,0,x1,y1)];for(let i=0;i<4;i++){const from=-Math.PI/2-beta-(Math.PI/2-2*beta)*i/4;const to=-Math.PI/2-beta-(Math.PI/2-2*beta)*(i+1)/4;const handle=4*Math.tan((to-from)/4)/3;curves.push(segment(r*(1+Math.cos(from)-handle*Math.sin(from)),r*(1+Math.sin(from)+handle*Math.cos(from)),r*(1+Math.cos(to)+handle*Math.sin(to)),r*(1+Math.sin(to)-handle*Math.cos(to)),r*(1+Math.cos(to)),r*(1+Math.sin(to))));}curves.push(segment(x2-d,y2+c,x2-d,y2+b+c,0,1));return{start:[x(1),Number(y.toFixed(4))],curves};}const panelHeight=ribbon?ribbon.end-ribbon.top+ribbon.topRadius+bottomRadius+2:0;function panelClip(progress){const top=flareShape(\"top\",flares[0].w,flares[0].h,progress);const bottom=flareShape(\"bottom\",flares[1].w,flares[1].h,progress);const shift=panelHeight-Math.max(bottomRadius,flares[1].h)-1;const end=bottom.curves[bottom.curves.length-1];let path=`M0 ${top.start[1]}H${top.start[0]}${top.curves.map(c=>`C${c.join(\" \")}`).join(\"\")}V${end[5]+shift}`;for(let i=bottom.curves.length-1;i>=0;i--){const c=bottom.curves[i];const start=i===0?bottom.start:bottom.curves[i-1].slice(4);path+=`C${c[2]} ${c[3]+shift} ${c[0]} ${c[1]+shift} ${start[0]} ${start[1]+shift}`;}return`path(\"${path}H0Z\")`;}// One painted outline keeps the turns and straight edge in the same frame.\nfunction growTimeline(){const panel=slideRef.current;const label=labelRef.current;if(!panel||!label)return null;const key=`${growWidth.toFixed(1)}|${panelHeight}|${ribbon?.topRadius}|${bottomRadius}|${flares.map(f=>`${f.w},${f.h}`).join(\"|\")}`;const prev=growRef.current;if(prev&&prev.key===key)return prev;const time=prev?.open?GROW_OPEN_MS:0;prev?.anims.forEach(a=>a.cancel());const timing={duration:GROW_OPEN_MS,easing:GROW_EASE,fill:\"both\"};const anims=[panel.animate([{clipPath:panelClip(0),visibility:\"hidden\",offset:0},{clipPath:panelClip(1),visibility:\"visible\",offset:1}],timing),label.animate([{opacity:0},{opacity:1}],timing)];anims.forEach(a=>{a.pause();a.currentTime=time;});growRef.current={anims,key,open:prev?.open??false};return growRef.current;}function setGrowOpen(open,pointer=true){const g=growTimeline();const panel=slideRef.current;const label=labelRef.current;if(!g||!panel||!label||g.open===open)return;// Start from what is drawn now, so reversing mid-way doesn't jump.\nconst clip=getComputedStyle(panel).clipPath;const y=Number(clip.match(/M\\s*0\\s+(-?[\\d.]+(?:e[+-]?\\d+)?)/i)?.[1]??1);const shape=Math.max(0,Math.min(1,1-y));const opacity=Number(getComputedStyle(label).opacity);const target=open?1:0;const outlineEffect=g.anims[0].effect;const labelEffect=g.anims[1].effect;g.open=open;outlineEffect.setKeyframes(curveSteps.map(offset=>({clipPath:offset===0?clip:panelClip(shape+(target-shape)*offset),visibility:(open?offset===0&&shape===0:offset===1)?\"hidden\":\"visible\",offset})));labelEffect.setKeyframes([{opacity},{opacity:target}]);const immediate=!pointer||window.matchMedia(\"(prefers-reduced-motion: reduce)\").matches;g.anims.forEach(a=>{a.pause();a.currentTime=immediate?GROW_OPEN_MS:0;a.playbackRate=open?1:GROW_OPEN_MS/GROW_CLOSE_MS;if(!immediate)a.play();});}function enterRow(i,el,pointer=false){startTransition(()=>setHovered(i));if(!ribbonMode)return;if(labelRef.current){labelRef.current.style.top=`${el.offsetTop+el.offsetHeight/2}px`;}setLabelIndex(i);setGrowOpen(true,pointer);}function leaveRail(pointer=true){startTransition(()=>setHovered(-1));if(ribbonMode)setGrowOpen(false,pointer);}return /*#__PURE__*/_jsx(\"div\",{style:{...props.style,position:\"relative\"},children:/*#__PURE__*/_jsxs(\"nav\",{ref:navRef,\"aria-label\":\"Page sections\",style:{position:isStatic?\"relative\":\"fixed\",left:ribbonMode?ribbon.left:isStatic?0:isRight?\"auto\":railOffset,right:ribbonMode||isStatic?\"auto\":isRight?railOffset:\"auto\",// Ribbon mode is placed by positionRibbon (translate).\ntop:ribbonMode||isStatic?0:\"50%\",bottom:\"auto\",transform:ribbonMode||isStatic?\"none\":\"translateY(-50%)\",// Under page content at rest; lifts while hovered so the\n// card reads above the sections.\nzIndex:hovered>-1?40:0,display:\"flex\",flexDirection:\"column\",gap:0,opacity:visible||ribbonMode?1:0,pointerEvents:visible?\"auto\":\"none\",transition:\"opacity 0.3s ease\"},onMouseLeave:()=>leaveRail(),children:[ribbonMode&&/*#__PURE__*/_jsx(_Fragment,{children:/*#__PURE__*/_jsx(\"span\",{ref:panelRef,\"aria-hidden\":\"true\",style:{position:\"absolute\",// The clip starts 2px inside the oxblood lane, so no sub-pixel\n// seam shows between the lane and the grown lane.\nleft:4*band-2,width:growWidth+2+flareWidth,overflow:\"hidden\",clipPath:ribbon.clip,pointerEvents:\"none\"},children:/*#__PURE__*/_jsx(\"span\",{ref:slideRef,style:{position:\"absolute\",inset:0,background:ribbon.color,clipPath:panelClip(0),visibility:\"hidden\"},children:/*#__PURE__*/_jsx(\"span\",{ref:labelRef,style:{position:\"absolute\",left:labelLeft-4*band+2,transform:\"translateY(-50%)\",opacity:0,color:\"#FFFFFF\",fontFamily:\"'Inter', 'Inter Placeholder', sans-serif\",fontSize,fontWeight:600,letterSpacing:\"-0.01em\",lineHeight:1,whiteSpace:\"nowrap\"},children:ribbonName(allRows[labelIndex]??allRows[0])})})})}),allRows.map((row,i)=>{const isActive=row.index===staticActive;const isHovered=hovered===i;let tickWidth=isActive?14:8;if(hovered>-1){const falloff=Math.max(0,1-Math.abs(i-hovered)/3);tickWidth=Math.max(tickWidth,Math.round(8+12*falloff));}return /*#__PURE__*/_jsxs(\"button\",{type:\"button\",\"aria-label\":row.label,onClick:()=>scrollToIndex(row.index),onMouseEnter:e=>enterRow(i,e.currentTarget,true),onFocus:e=>enterRow(i,e.currentTarget),onBlur:()=>leaveRail(false),style:{position:\"relative\",display:\"flex\",alignItems:\"center\",justifyContent:isRight&&!ribbonMode?\"flex-end\":\"flex-start\",// In ribbon mode the hit area spans the whole strip, and the\n// grown lane while open, so the cursor can rest on the name.\nboxSizing:\"border-box\",width:ribbonMode?4*band+(hovered>-1?growWidth:8):48,padding:ribbonMode?`${rowSpacing/2}px 0 ${rowSpacing/2}px ${3*band}px`:`${rowSpacing/2}px 0`,margin:0,border:\"none\",background:\"transparent\",cursor:\"pointer\",opacity:ribbonMode&&!visible?0:1,transition:\"opacity 0.3s ease\"},children:[/*#__PURE__*/_jsx(\"span\",{style:{position:\"relative\",zIndex:1,display:\"block\",height:isActive||isHovered?3:2,borderRadius:2,width:ribbonMode?Math.min(tickWidth,band):tickWidth,background:ribbonMode?isActive||isHovered?RIBBON_CURRENT_TICK:RIBBON_TICK:isActive||isHovered?activeTickColor:tickColor,transition:\"width 0.2s ease, height 0.2s ease, background 0.2s ease\"}}),isHovered&&!ribbonMode&&/*#__PURE__*/_jsxs(\"span\",{style:{position:\"absolute\",left:isRight?\"auto\":48,right:isRight?48:\"auto\",top:\"50%\",transform:\"translateY(-50%)\",width:\"max-content\",maxWidth:260,padding:row.note?\"12px 14px\":\"8px 12px\",borderRadius:12,background:cardBackground,border:\"1px solid color-mix(in srgb, var(--token-b7dc8e9b-7e9f-4c62-8d94-c25234a077f5, rgb(0, 0, 0)) 6%, transparent)\",boxShadow:\"0 4px 16px rgba(0, 0, 0, 0.06)\",display:\"flex\",flexDirection:\"column\",gap:4,textAlign:\"left\",fontFamily:\"'Inter', 'Inter Placeholder', sans-serif\",fontSize:13,letterSpacing:\"-0.01em\",lineHeight:1.4,whiteSpace:\"normal\"},children:[/*#__PURE__*/_jsx(\"span\",{style:{color:titleColor,fontWeight:600},children:row.label}),row.note&&/*#__PURE__*/_jsx(\"span\",{style:{color:noteColor,fontWeight:400},children:row.note})]})]},row.label+i);})]})});}addPropertyControls(SectionIndex,{items:{type:ControlType.Array,title:\"Sections\",control:{type:ControlType.Object,controls:{label:{type:ControlType.String,title:\"Label\",defaultValue:\"Section\"},match:{type:ControlType.String,title:\"Match\",defaultValue:\"\"},note:{type:ControlType.String,title:\"Note\",defaultValue:\"\",displayTextArea:true}}},defaultValue:DEFAULT_ITEMS,maxCount:14},showTop:{type:ControlType.Boolean,title:\"Top tick\",defaultValue:true},container:{type:ControlType.String,title:\"Scope\",defaultValue:\"Inner Content\"},minSectionHeight:{type:ControlType.Number,title:\"Min section\",defaultValue:250,min:100,max:600,unit:\"px\"},rowSpacing:{type:ControlType.Number,title:\"Row spacing\",defaultValue:12,min:2,max:40,unit:\"px\"},anchor:{type:ControlType.String,title:\"Anchor\",defaultValue:\"left\"},anchorInset:{type:ControlType.Number,title:\"Anchor inset\",defaultValue:12,min:0,max:48,unit:\"px\"},anchorGap:{type:ControlType.Number,title:\"Anchor gap\",defaultValue:3,min:0,max:96,unit:\"px\"},leftOffset:{type:ControlType.Number,title:\"Left\",defaultValue:24,min:8,max:64,unit:\"px\"},minViewport:{type:ControlType.Number,title:\"Min width\",defaultValue:1200,min:768,max:1600,unit:\"px\"},tickColor:{type:ControlType.Color,title:\"Tick\",defaultValue:\"#D9D9D9\"},activeTickColor:{type:ControlType.Color,title:\"Active tick\",defaultValue:\"#111111\"},cardBackground:{type:ControlType.Color,title:\"Card\",defaultValue:\"#FFFFFF\"},titleColor:{type:ControlType.Color,title:\"Title\",defaultValue:\"#111111\"},noteColor:{type:ControlType.Color,title:\"Note\",defaultValue:\"#999999\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"SectionIndex\",\"slots\":[],\"annotations\":{\"framerIntrinsicWidth\":\"48\",\"framerIntrinsicHeight\":\"120\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"fixed\",\"framerSupportedLayoutWidth\":\"fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"A,6RAKA,SAASoB,EAAU,EAAK,CAAyG,OAA9FC,EAAK,OAAOA,E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