{"version":3,"file":"SectionRail.8AFECpRi.mjs","names":["getProps","React.forwardRef","React.useContext","React.useMemo","React.Fragment","House","useRef","React.useId","sharedStyle.className","className","sharedStyle.css","sharedStyle.fonts","__esmMin","x","init_ssg_sandbox_shims","pe","init_npm_react_18_3_1","de","oe","p","J","init_jsx_runtime","ie","ce","window","motion","MotionConfigContext","LayoutGroup","init_framer_motion_DhsWWWsN","getFontsFromSharedStyle","useSVGTemplate","addFonts","withCSS","init_framer_BisrWwwE","addPropertyControls","useVariantState","useLocaleInfo","Link","cx","Instance","ControlType","useComponentViewport","RichText","className","css$1","fonts","init_v6QgvwrYl","mask","Base","MotionSVG","SVG","svg","getProps$1","Icon","init_u5jXKuGDk","props","rest","animated","color","width1","alpha","restProps","href","qxTvv_EBh","ezTt3ayMo","lschgej4H","style","addPropertyOverrides","variants","nextOverrides","variant","overrides","enabledGestures","cycleOrder","serializationHash","variantClassNames","transition1","Transition","humanReadableVariantMap","Variants","getProps","createLayoutDependency","Component","css","FramerGf9NlWhg3","init_Gf9NlWhg3","config","transition","value","contextValue","link","icon","label","fallbackRef","refBinding","ref","defaultLayoutId","className$1","layoutDependency","scopingClassNames","isDisplayed","gestureVariant","baseVariant","layoutId","pQB6sCKlX","gestureHandlers","classNames","TnhKrKFxh","xi8P2r_jR","withSectionSpy","STYLE_ID","s","CSS","nav","pairs","id","a","n","raf","pinned","mark","best","update","line","headerOffset","bestTop","top","onScroll","b","r","e","go","y","el","onClick","q","url","reduce","fix","unpin","init_SectionRail"],"sources":["https:/framerusercontent.com/modules/FVmCnCqw20xX4DJfDJYm/SFCB7H15XZWu6ihL6WN7/u5jXKuGDk.js","https:/framerusercontent.com/modules/Ae9vCeSFZgVulWmmnuRE/t4gxOiS900A4m1WT0j0z/Gf9NlWhg3.js","https:/framerusercontent.com/modules/3vtBrEJqpa1KepwvIzJP/pzr8hYfqxxHUwmq5LfpJ/SectionRail.js"],"sourcesContent":["// Generated by Framer (6ca5d98)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,cx,motion,useSVGTemplate,withCSS}from\"framer\";import*as React from\"react\";import{forwardRef}from\"react\";const mask=\"var(--framer-icon-mask)\";const Base=/*#__PURE__*/forwardRef(function(props,ref){return /*#__PURE__*/_jsx(\"svg\",{...props,ref:ref,children:props.children});});const MotionSVG=motion.create(Base);const SVG=/*#__PURE__*/forwardRef((props,ref)=>{const{animated,layoutId,children,...rest}=props;return animated?/*#__PURE__*/_jsx(MotionSVG,{...rest,layoutId:layoutId,ref:ref,children:children}):/*#__PURE__*/_jsx(\"svg\",{...rest,ref:ref,children:children});});const svg='<svg display=\"block\" role=\"presentation\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M 6 17.251 L 6 11.251 L 10.5 11.251 L 10.5 17.251 L 16.5 17.251 L 16.5 8.251 C 16.5 8.052 16.421 7.861 16.281 7.72 L 8.781 0.22 C 8.64 0.079 8.449 0 8.25 0 C 8.051 0 7.86 0.079 7.719 0.22 L 0.219 7.72 C 0.079 7.861 0 8.052 0 8.251 L 0 17.251 Z\" fill-opacity=\"var(--1m6trwb, 0)\" fill=\"var(--21h8s6, rgb(0, 0, 0))\" height=\"17.250589992311827px\" id=\"Zd1kfaYz1\" transform=\"translate(3.75 2.999)\" width=\"16.500000464425764px\"/><path d=\"M 6 17.251 L 6 11.251 L 10.5 11.251 L 10.5 17.251 L 16.5 17.251 L 16.5 8.251 C 16.5 8.052 16.421 7.861 16.281 7.72 L 8.781 0.22 C 8.64 0.079 8.449 0 8.25 0 C 8.051 0 7.86 0.079 7.719 0.22 L 0.219 7.72 C 0.079 7.861 0 8.052 0 8.251 L 0 17.251 Z\" fill=\"transparent\" height=\"17.250589992311827px\" id=\"U148LkUuz\" stroke-dasharray=\"\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"var(--pgex8v, 1.5)\" stroke=\"var(--21h8s6, rgb(0, 0, 0))\" transform=\"translate(3.75 2.999)\" width=\"16.500000464425764px\"/></svg>';const getProps=({alpha,color,height,id,width,width1,...props})=>{return{...props,ezTt3ayMo:color??props.ezTt3ayMo??\"rgb(0, 0, 0)\",lschgej4H:width1??props.lschgej4H??1.5,qxTvv_EBh:alpha??props.qxTvv_EBh};};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const{style,className,layoutId,variant,ezTt3ayMo,lschgej4H,qxTvv_EBh,...restProps}=getProps(props);const href=useSVGTemplate(\"4175524542\",svg);return /*#__PURE__*/_jsx(SVG,{...restProps,className:cx(\"framer-7ihGz\",className),layoutId:layoutId,ref:ref,role:\"presentation\",style:{\"--1m6trwb\":qxTvv_EBh,\"--21h8s6\":ezTt3ayMo,\"--pgex8v\":lschgej4H,...style},viewBox:\"0 0 24 24\",children:/*#__PURE__*/_jsx(\"use\",{href:href})});});const css=[`.framer-7ihGz { -webkit-mask: ${mask}; aspect-ratio: 1; display: block; mask: ${mask}; width: 24px; }`];/**\n * This is a generated Framer component.\n * @framerIntrinsicWidth 24\n * @framerIntrinsicHeight 24\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n * @framerVariables {\"ezTt3ayMo\":\"color\",\"lschgej4H\":\"width1\",\"qxTvv_EBh\":\"alpha\"}\n * @framerImmutableVariables true\n * @framerVector {\"name\":\"House\",\"color\":{\"type\":\"variable\",\"value\":\"21h8s6\"},\"set\":{\"localId\":\"vectorSet/NGVKdicsm\",\"id\":\"NGVKdicsm\",\"moduleId\":\"omX0gWFPqDwhaiWwf6ab\"}}\n * @framerDisableUnlink true\n */const Icon=withCSS(Component,css,\"framer-7ihGz\");Icon.displayName=\"House\";export default Icon;addPropertyControls(Icon,{ezTt3ayMo:{defaultValue:\"rgb(0, 0, 0)\",hidden:false,title:\"Color\",type:ControlType.Color},lschgej4H:{defaultValue:1.5,displayStepper:true,hidden:false,max:6,min:0,step:.5,title:\"Width\",type:ControlType.Number},qxTvv_EBh:{defaultValue:0,displayStepper:true,hidden:false,max:1,min:0,step:.1,title:\"Alpha\",type:ControlType.Number}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Icon\",\"slots\":[],\"annotations\":{\"framerVector\":\"{\\\"name\\\":\\\"House\\\",\\\"color\\\":{\\\"type\\\":\\\"variable\\\",\\\"value\\\":\\\"21h8s6\\\"},\\\"set\\\":{\\\"localId\\\":\\\"vectorSet/NGVKdicsm\\\",\\\"id\\\":\\\"NGVKdicsm\\\",\\\"moduleId\\\":\\\"omX0gWFPqDwhaiWwf6ab\\\"}}\",\"framerImmutableVariables\":\"true\",\"framerDisableUnlink\":\"true\",\"framerVariables\":\"{\\\"ezTt3ayMo\\\":\\\"color\\\",\\\"lschgej4H\\\":\\\"width1\\\",\\\"qxTvv_EBh\\\":\\\"alpha\\\"}\",\"framerIntrinsicHeight\":\"24\",\"framerContractVersion\":\"1\",\"framerIntrinsicWidth\":\"24\",\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// Generated by Framer (0d9ff52)\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ControlType,cx,getFontsFromSharedStyle,Instance,Link,RichText,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";import House from\"https://framerusercontent.com/modules/FVmCnCqw20xX4DJfDJYm/SFCB7H15XZWu6ihL6WN7/u5jXKuGDk.js\";import*as sharedStyle from\"https://framerusercontent.com/modules/DUH2ykICJ3PcdcYXfunI/2cf4Vph85cl43udvMHUP/v6QgvwrYl.js\";const enabledGestures={HltZNWlJs:{hover:true},pkQmMQecV:{hover:true}};const cycleOrder=[\"pkQmMQecV\",\"HltZNWlJs\"];const serializationHash=\"framer-bSogV\";const variantClassNames={HltZNWlJs:\"framer-v-ppnc0c\",pkQmMQecV:\"framer-v-1bz100b\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const pQB6sCKlX=undefined;const TnhKrKFxh=undefined;const xi8P2r_jR=undefined;const transition1={delay:0,duration:.2,ease:[.44,0,.56,1],type:\"tween\"};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={Collapsed:\"pkQmMQecV\",Expanded:\"HltZNWlJs\"};const Variants=motion.create(React.Fragment);const getProps=({height,icon,id,label,link,width,...props})=>{return{...props,pQB6sCKlX:link??props.pQB6sCKlX,TnhKrKFxh:icon??props.TnhKrKFxh??House,variant:humanReadableVariantMap[props.variant]??props.variant??\"pkQmMQecV\",xi8P2r_jR:label??props.xi8P2r_jR??\"Home\"};};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,contentLocale,setLocale}=useLocaleInfo();const componentViewport=useComponentViewport();const{style,className,layoutId,variant,TnhKrKFxh,xi8P2r_jR,pQB6sCKlX,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"pkQmMQecV\",enabledGestures,ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const sharedStyleClassNames=[sharedStyle.className];const scopingClassNames=cx(serializationHash,...sharedStyleClassNames);const isDisplayed=()=>{if([\"pkQmMQecV-hover\",\"HltZNWlJs-hover\"].includes(gestureVariant))return true;if(baseVariant===\"HltZNWlJs\")return true;return false;};return /*#__PURE__*/_jsx(LayoutGroup,{id:layoutId??defaultLayoutId,children:/*#__PURE__*/_jsx(Variants,{animate:variants,initial:false,children:/*#__PURE__*/_jsx(Transition,{value:transition1,children:/*#__PURE__*/_jsx(Link,{href:pQB6sCKlX,motionChild:true,nodeId:\"pkQmMQecV\",scopeId:\"Gf9NlWhg3\",smoothScroll:true,children:/*#__PURE__*/_jsxs(motion.a,{...restProps,...gestureHandlers,className:`${cx(scopingClassNames,\"framer-1bz100b\",className,classNames)} framer-ifcxlk`,\"data-framer-name\":\"Collapsed\",layoutDependency:layoutDependency,layoutId:\"pkQmMQecV\",ref:refBinding,style:{backgroundColor:\"var(--token-VCtnLKSI5)\",...style},variants:{\"HltZNWlJs-hover\":{backgroundColor:\"var(--token-NkNGr7KMv)\"}},...addPropertyOverrides({\"HltZNWlJs-hover\":{\"data-framer-name\":undefined},\"pkQmMQecV-hover\":{\"data-framer-name\":undefined},HltZNWlJs:{\"data-framer-name\":\"Expanded\"}},baseVariant,gestureVariant),children:[/*#__PURE__*/_jsx(Instance,{animated:true,className:\"framer-wpq7n3\",Component:TnhKrKFxh,\"data-framer-name\":\"Icon\",layoutDependency:layoutDependency,layoutId:\"l7d3Vrq8l\",style:{\"--1m6trwb\":0,\"--21h8s6\":\"var(--token-VAlu6Ovq5)\",\"--pgex8v\":1.5}}),isDisplayed()&&/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{className:\"framer-styles-preset-1pq8xwz\",\"data-styles-preset\":\"v6QgvwrYl\",dir:\"auto\",children:\"Home\"})}),className:\"framer-1qonn6i\",\"data-framer-name\":\"Label\",fonts:[\"Inter\"],layoutDependency:layoutDependency,layoutId:\"HbGgiMrgm\",text:xi8P2r_jR,verticalAlignment:\"top\",withExternalLayout:true})]})})})})});});const css=[\".framer-bSogV.framer-ifcxlk, .framer-bSogV .framer-ifcxlk { display: block; }\",\".framer-bSogV.framer-1bz100b { align-content: center; align-items: center; cursor: pointer; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 12px; height: min-content; justify-content: flex-start; overflow: var(--overflow-clip-fallback, clip); padding: 8px; position: relative; text-decoration: none; width: min-content; }\",\".framer-bSogV .framer-wpq7n3 { flex: none; height: auto; position: relative; width: 24px; }\",\".framer-bSogV .framer-1qonn6i { flex: none; height: auto; position: relative; white-space: pre; width: auto; }\",\".framer-bSogV.framer-v-ppnc0c.framer-1bz100b { padding: 8px 16px 8px 8px; width: 180px; }\",\".framer-bSogV.framer-v-1bz100b.hover.framer-1bz100b { padding: 8px 16px 8px 8px; }\",...sharedStyle.css];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 200\n * @framerIntrinsicWidth 200\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"auto\",\"auto\"]},\"HltZNWlJs\":{\"layout\":[\"fixed\",\"auto\"]},\"uL3QGZJoZ\":{\"layout\":[\"auto\",\"auto\"]},\"m1NvRWPdP\":{\"layout\":[\"fixed\",\"auto\"]}}}\n * @framerVariables {\"TnhKrKFxh\":\"icon\",\"xi8P2r_jR\":\"label\",\"pQB6sCKlX\":\"link\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n * @framerVectorSets [\"omX0gWFPqDwhaiWwf6ab\"]\n */const FramerGf9NlWhg3=withCSS(Component,css,\"framer-bSogV\");export default FramerGf9NlWhg3;FramerGf9NlWhg3.displayName=\"Rail Item\";FramerGf9NlWhg3.defaultProps={height:200,width:200};addPropertyControls(FramerGf9NlWhg3,{variant:{options:[\"pkQmMQecV\",\"HltZNWlJs\"],optionTitles:[\"Collapsed\",\"Expanded\"],title:\"Variant\",type:ControlType.Enum},TnhKrKFxh:{defaultValue:{identifier:\"module:FVmCnCqw20xX4DJfDJYm/SFCB7H15XZWu6ihL6WN7/u5jXKuGDk.js:default\",moduleId:\"FVmCnCqw20xX4DJfDJYm\"},setModuleId:\"omX0gWFPqDwhaiWwf6ab\",title:\"Icon\",type:ControlType.VectorSetItem},xi8P2r_jR:{defaultValue:\"Home\",title:\"Label\",type:ControlType.String},onxi8P2r_jRChange:{changes:\"xi8P2r_jR\",type:ControlType.ChangeHandler},pQB6sCKlX:{title:\"Link\",type:ControlType.Link}});addFonts(FramerGf9NlWhg3,[{explicitInter:true,fonts:[{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F\",url:\"https://framerusercontent.com/assets/5vvr9Vy74if2I6bQbJvbw7SY1pQ.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116\",url:\"https://framerusercontent.com/assets/EOr0mi4hNtlgWNn9if640EZzXCo.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+1F00-1FFF\",url:\"https://framerusercontent.com/assets/Y9k9QrlZAqio88Klkmbd8VoMQc.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0370-03FF\",url:\"https://framerusercontent.com/assets/OYrD2tBIBPvoJXiIHnLoOXnY9M.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF\",url:\"https://framerusercontent.com/assets/JeYwfuaPfZHQhEG8U5gtPDZ7WQ.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2070, U+2074-207E, U+2080-208E, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD\",url:\"https://framerusercontent.com/assets/GrgcKwrN6d3Uz8EwcLHZxwEfC4.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB\",url:\"https://framerusercontent.com/assets/b6Y37FthZeALduNqHicBT6FutY.woff2\",weight:\"400\"}]},...getFontsFromSharedStyle(sharedStyle.fonts)],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerGf9NlWhg3\",\"slots\":[],\"annotations\":{\"framerAutoSizeImages\":\"true\",\"framerVariables\":\"{\\\"TnhKrKFxh\\\":\\\"icon\\\",\\\"xi8P2r_jR\\\":\\\"label\\\",\\\"pQB6sCKlX\\\":\\\"link\\\"}\",\"framerIntrinsicWidth\":\"200\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]},\\\"HltZNWlJs\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]},\\\"uL3QGZJoZ\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]},\\\"m1NvRWPdP\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]}}}\",\"framerVectorSets\":\"[\\\"omX0gWFPqDwhaiWwf6ab\\\"]\",\"framerImmutableVariables\":\"true\",\"framerDisplayContentsDiv\":\"false\",\"framerComponentViewportWidth\":\"true\",\"framerContractVersion\":\"1\",\"framerColorSyntax\":\"true\",\"framerIntrinsicHeight\":\"200\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Gf9NlWhg3.map","import{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect}from\"react\";/**\n * Section Rail (Warrant)\n * Apply to a page's Section Rail frame. As the visitor scrolls, the Rail Item whose\n * section sits at the top of the screen (just under the Navbar) fills with Accent Deep\n * and is marked aria-current=\"location\". A clicked item stays lit until the visitor\n * scrolls or types again. Clicks glide to the section (instant for reduced motion),\n * stopping just below the fixed Navbar (layer named Navbar), measured on each click. Each item's layer name becomes its screen-reader label.\n * It reads each item's link (page#section), so adding, removing or reordering\n * Rail Items needs no change here.\n */const STYLE_ID=\"warrant-section-rail\";const CSS='nav[aria-label=\"On this page\"] a[aria-current=\"location\"]{background-color:var(--token-NkNGr7KMv) !important}';export function withSectionSpy(Component){return props=>{useEffect(()=>{if(typeof document===\"undefined\")return;if(!document.getElementById(STYLE_ID)){const s=document.createElement(\"style\");s.id=STYLE_ID;s.textContent=CSS;document.head.appendChild(s);}const nav=document.querySelector('nav[aria-label=\"On this page\"]');if(!nav)return;const pairs=Array.from(nav.querySelectorAll(\"a[href*='#']\")).map(a=>{const id=decodeURIComponent(new URL(a.href,location.href).hash.slice(1));return{a,el:id?document.getElementById(id):null};}).filter(p=>p.el);if(!pairs.length)return;for(const p of pairs){const n=p.a.getAttribute(\"name\");if(n&&!p.a.getAttribute(\"aria-label\"))p.a.setAttribute(\"aria-label\",n);}let raf=0;let pinned=null;const mark=best=>{for(const p of pairs){if(p===best)p.a.setAttribute(\"aria-current\",\"location\");else p.a.removeAttribute(\"aria-current\");}};const update=()=>{raf=0;if(pinned)return mark(pinned);const line=headerOffset()+66;let best=pairs[0],bestTop=-Infinity;for(const p of pairs){const top=p.el.getBoundingClientRect().top;if(top<=line&&top>bestTop){best=p;bestTop=top;}}mark(best);};const onScroll=()=>{if(!raf)raf=requestAnimationFrame(update);};// The Navbar is fixed, so stop each section just below it.\nconst headerOffset=()=>{let b=0;document.querySelectorAll('[data-framer-name=\"Navbar\"]').forEach(e=>{const r=e.getBoundingClientRect();if(r.width>0&&r.top<=1&&r.bottom<window.innerHeight/2)b=Math.max(b,r.bottom);});return b;};const go=(el,behavior)=>{const y=el.getBoundingClientRect().top+window.scrollY-headerOffset();window.scrollTo({top:Math.max(0,y),behavior});};const onClick=e=>{const p=pairs.find(q=>q.a.contains(e.target));if(!p)return;pinned=p;mark(p);if(e.button!==0||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey)return;const url=new URL(p.a.href,location.href);if(url.pathname.replace(/\\/$/,\"\")!==location.pathname.replace(/\\/$/,\"\"))return;e.preventDefault();e.stopPropagation();const reduce=window.matchMedia(\"(prefers-reduced-motion: reduce)\").matches;go(p.el,reduce?\"auto\":\"smooth\");const fix=()=>{if(pinned!==p)return;if(Math.abs(p.el.getBoundingClientRect().top-headerOffset())>2)go(p.el,\"auto\");};if(\"onscrollend\"in window)window.addEventListener(\"scrollend\",fix,{once:true});else setTimeout(fix,1200);history.replaceState(history.state,\"\",url.hash);if(!p.el.hasAttribute(\"tabindex\"))p.el.setAttribute(\"tabindex\",\"-1\");p.el.focus({preventScroll:true});};const unpin=()=>{if(pinned){pinned=null;onScroll();}};update();nav.addEventListener(\"click\",onClick,true);window.addEventListener(\"scroll\",onScroll,{passive:true});window.addEventListener(\"resize\",onScroll);window.addEventListener(\"wheel\",unpin,{passive:true});window.addEventListener(\"touchstart\",unpin,{passive:true});window.addEventListener(\"keydown\",unpin);return()=>{cancelAnimationFrame(raf);nav.removeEventListener(\"click\",onClick,true);window.removeEventListener(\"scroll\",onScroll);window.removeEventListener(\"resize\",onScroll);window.removeEventListener(\"wheel\",unpin);window.removeEventListener(\"touchstart\",unpin);window.removeEventListener(\"keydown\",unpin);};},[]);return /*#__PURE__*/_jsx(Component,{...props});};}\nexport const __FramerMetadata__ = {\"exports\":{\"withSectionSpy\":{\"type\":\"reactHoc\",\"name\":\"withSectionSpy\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./SectionRail.map"],"mappings":"A,ogBACgM,EAAK,0BAAgC,EAAkB,gBAAW,SAAS,EAAM,EAAI,CAAC,MAAoB,gBAAK,MAAM,CAAC,GAAGuD,EAAU,MAAI,SAASA,EAAM,QAAQ,CAAC,CAAE,CAAC,EAAQ,EAAU9B,EAAO,OAAOuB,CAAI,EAAQ,EAAiB,iBAAY,EAAM,IAAM,CAAC,GAAK,CAAC,WAAS,WAAS,WAAS,GAAGQ,GAAMD,EAAM,OAAOE,EAAsB,gBAAKR,EAAU,CAAC,GAAGO,EAAc,WAAa,MAAa,UAAQ,CAAC,EAAe,gBAAK,MAAM,CAAC,GAAGA,EAAS,MAAa,UAAQ,CAAC,CAAE,CAAC,EAAQ,EAAI,giCAAsiCxD,GAAU,CAAC,QAAM,QAAM,SAAO,KAAG,QAAM,SAAO,GAAGuD,MAAgB,CAAC,GAAGA,EAAM,UAAUG,GAAOH,EAAM,WAAW,eAAe,UAAUI,GAAQJ,EAAM,WAAW,IAAI,UAAUK,GAAOL,EAAM,SAAS,GAUr3D,EAAKvB,EAVi5D/B,kBAAiB,SAAS,EAAM,EAAI,CAAC,GAAK,CAAC,QAAM,YAAU,WAAS,UAAQ,YAAU,YAAU,YAAU,GAAG4D,GAAW7D,EAASuD,CAAK,EAAQO,EAAKhC,EAAe,aAAaqB,CAAG,EAAE,MAAoB,gBAAKD,EAAI,CAAC,GAAGW,EAAU,UAAUvB,EAAG,eAAeK,CAAS,EAAW,WAAa,MAAI,KAAK,eAAe,MAAM,CAAC,YAAYoB,EAAU,WAAWC,EAAU,WAAWC,EAAU,GAAGC,CAAK,EAAE,QAAQ,YAAY,SAAsB,gBAAK,MAAM,CAAM,MAAI,CAAC,CAAC,CAAC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