{"version":3,"file":"Scroll_Position.BdlyM2Mb.mjs","names":["React.useContext","React.useMemo","React.Fragment","useRef","React.useId","SVG","RichText","__legacyOverrideHOC_DataObserverContext","_jsx"],"sources":["https:/framerusercontent.com/modules/dNkBXdA0ohhmz9uCw55c/KVivZnHzACyc1HXdbBY1/O43vQGprp.js","https:/framerusercontent.com/modules/4zgwodx3LJcuET7fcZhL/y2VJ1Ny1pGoe7d6YtC4P/Scroll_Position.js"],"sourcesContent":["// Generated by Framer (77d7dc9)\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addFonts,cx,RichText,SVG,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";const enabledGestures={YdxZqCjek:{hover:true}};const serializationHash=\"framer-c2u2l\";const variantClassNames={YdxZqCjek:\"framer-v-13huyvm\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const transition1={bounce:0,delay:0,duration:1,type:\"spring\"};const transformTemplate1=(_,t)=>`translate(-50%, -50%) ${t}`;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 Variants=motion.create(React.Fragment);const getProps=({height,id,width,...props})=>{return{...props};};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,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({defaultVariant:\"YdxZqCjek\",enabledGestures,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-13huyvm\",className,classNames),\"data-framer-name\":\"Default\",layoutDependency:layoutDependency,layoutId:\"YdxZqCjek\",ref:refBinding,style:{backgroundColor:\"var(--token-83095cd9-5cec-4b6f-bd77-bb87123ebf9d, rgb(204, 204, 204))\",borderBottomLeftRadius:32,borderBottomRightRadius:32,borderTopLeftRadius:32,borderTopRightRadius:32,...style},...addPropertyOverrides({\"YdxZqCjek-hover\":{\"data-framer-name\":undefined}},baseVariant,gestureVariant),children:/*#__PURE__*/_jsxs(motion.div,{className:\"framer-1i0blnl\",\"data-framer-name\":\"Switch\",layoutDependency:layoutDependency,layoutId:\"LHNXflWvM\",style:{backgroundColor:\"var(--token-980945bd-7632-4456-b791-71e669707610, rgb(250, 250, 250))\",borderBottomLeftRadius:32,borderBottomRightRadius:32,borderTopLeftRadius:32,borderTopRightRadius:32,boxShadow:\"0px 3px 8px 0px rgba(184, 184, 184, 0.25)\"},children:[/*#__PURE__*/_jsxs(motion.div,{className:\"framer-ggtqxl\",\"data-framer-name\":\"Icon\",layoutDependency:layoutDependency,layoutId:\"hg7XDA85O\",style:{rotate:0},variants:{\"YdxZqCjek-hover\":{rotate:45}},children:[/*#__PURE__*/_jsx(motion.div,{className:\"framer-s418mi\",\"data-framer-name\":\"1\",layoutDependency:layoutDependency,layoutId:\"En7sOxIMO\",children:/*#__PURE__*/_jsx(SVG,{className:\"framer-15ko6wb\",layoutDependency:layoutDependency,layoutId:\"yRCMsHKGX\",opacity:1,requiresOverflowVisible:false,svg:'<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" viewBox=\"0 0 18 18\" overflow=\"visible\"><path d=\"M 9.9 0.857 C 9.9 0.384 9.497 0 9 0 C 8.503 0 8.1 0.384 8.1 0.857 C 8.1 3.59 7.498 5.362 6.406 6.459 C 5.324 7.547 3.591 8.143 0.9 8.143 C 0.403 8.143 0 8.527 0 9 C 0 9.473 0.403 9.857 0.9 9.857 C 3.591 9.857 5.324 10.453 6.406 11.541 C 7.497 12.638 8.1 14.41 8.1 17.143 C 8.1 17.616 8.503 18 9 18 C 9.497 18 9.9 17.616 9.9 17.143 C 9.9 14.41 10.502 12.638 11.594 11.541 C 12.676 10.453 14.409 9.857 17.1 9.857 C 17.597 9.857 18 9.473 18 9 C 18 8.527 17.597 8.143 17.1 8.143 C 14.409 8.143 12.676 7.547 11.594 6.459 C 10.503 5.362 9.9 3.59 9.9 0.857 Z\" fill=\"var(--token-b77a662a-e846-43ac-96f1-fe0a78693167, rgb(10, 10, 10))\"></path></svg>',withExternalLayout:true})}),/*#__PURE__*/_jsxs(motion.div,{className:\"framer-1y4r041\",\"data-framer-name\":\"2\",layoutDependency:layoutDependency,layoutId:\"e1tmh_tAm\",style:{filter:\"blur(5px)\",opacity:0,WebkitFilter:\"blur(5px)\"},children:[/*#__PURE__*/_jsx(motion.div,{className:\"framer-27mc8s\",\"data-framer-name\":\"Image Icon\",layoutDependency:layoutDependency,layoutId:\"t8SuyerW1\",style:{backgroundColor:\"var(--token-980945bd-7632-4456-b791-71e669707610, rgb(250, 250, 250))\",borderBottomLeftRadius:5,borderBottomRightRadius:5,borderTopLeftRadius:5,borderTopRightRadius:5},transformTemplate:transformTemplate1,children:/*#__PURE__*/_jsxs(motion.div,{className:\"framer-jp22nh\",layoutDependency:layoutDependency,layoutId:\"m2ImCTD9k\",children:[/*#__PURE__*/_jsx(SVG,{className:\"framer-1uzl6g8\",layoutDependency:layoutDependency,layoutId:\"WyCaYi7lJ\",opacity:1,requiresOverflowVisible:false,style:{rotate:-15},svg:'<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" viewBox=\"0 0 18 15\" overflow=\"visible\"><g><path d=\"M 0 3.125 C 0 1.399 1.679 0 3.75 0 L 14.25 0 C 16.321 0 18 1.399 18 3.125 L 18 11.875 C 18 13.601 16.321 15 14.25 15 L 3.75 15 C 1.679 15 0 13.601 0 11.875 Z M 3.75 1.25 C 2.507 1.25 1.5 2.089 1.5 3.125 L 1.5 9.533 L 2.348 8.826 C 3.051 8.24 4.005 7.91 5 7.91 C 5.995 7.91 6.949 8.24 7.652 8.826 L 13.56 13.75 L 14.249 13.75 C 15.492 13.75 16.499 12.911 16.499 11.875 L 16.499 3.125 C 16.499 2.089 15.492 1.25 14.249 1.25 Z\" fill=\"var(--token-b77a662a-e846-43ac-96f1-fe0a78693167, rgb(10, 10, 10))\"></path></g></svg>',withExternalLayout:true,children:/*#__PURE__*/_jsxs(SVG,{className:\"framer-142huc\",layoutDependency:layoutDependency,layoutId:\"AEgra7zXG\",opacity:1,requiresOverflowVisible:false,svg:'<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" viewBox=\"0 0 18 15\" overflow=\"visible\"><path d=\"M 0 3.125 C 0 1.399 1.679 0 3.75 0 L 14.25 0 C 16.321 0 18 1.399 18 3.125 L 18 11.875 C 18 13.601 16.321 15 14.25 15 L 3.75 15 C 1.679 15 0 13.601 0 11.875 Z M 3.75 1.25 C 2.507 1.25 1.5 2.089 1.5 3.125 L 1.5 9.533 L 2.348 8.826 C 3.051 8.24 4.005 7.91 5 7.91 C 5.995 7.91 6.949 8.24 7.652 8.826 L 13.56 13.75 L 14.249 13.75 C 15.492 13.75 16.499 12.911 16.499 11.875 L 16.499 3.125 C 16.499 2.089 15.492 1.25 14.249 1.25 Z\" fill=\"var(--token-b77a662a-e846-43ac-96f1-fe0a78693167, rgb(10, 10, 10))\"></path></svg>',withExternalLayout:true,children:[/*#__PURE__*/_jsx(SVG,{className:\"framer-11gnj19\",layoutDependency:layoutDependency,layoutId:\"A5jcGjWSJ\",opacity:1,requiresOverflowVisible:false,svg:'<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" viewBox=\"0 0 18 15\" overflow=\"visible\"><path d=\"M 0 3.125 C 0 1.399 1.679 0 3.75 0 L 14.25 0 C 16.321 0 18 1.399 18 3.125 L 18 11.875 C 18 13.601 16.321 15 14.25 15 L 3.75 15 C 1.679 15 0 13.601 0 11.875 Z\" fill=\"transparent\"></path></svg>',withExternalLayout:true}),/*#__PURE__*/_jsx(SVG,{className:\"framer-ucl3w\",layoutDependency:layoutDependency,layoutId:\"ZkKl6HH7l\",opacity:1,requiresOverflowVisible:false,svg:'<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" viewBox=\"0 0 14.999 12.5\" overflow=\"visible\"><path d=\"M 2.25 0 C 1.007 0 0 0.839 0 1.875 L 0 8.283 L 0.848 7.576 C 1.551 6.99 2.505 6.66 3.5 6.66 C 4.495 6.66 5.449 6.99 6.152 7.576 L 12.06 12.5 L 12.749 12.5 C 13.992 12.5 14.999 11.661 14.999 10.625 L 14.999 1.875 C 14.999 0.839 13.992 0 12.749 0 Z\" fill=\"transparent\"></path></svg>',withExternalLayout:true})]})}),/*#__PURE__*/_jsx(motion.div,{className:\"framer-hgnhz9\",\"data-framer-name\":\"Circle\",layoutDependency:layoutDependency,layoutId:\"cQuGv4O47\",style:{backgroundColor:\"var(--token-b77a662a-e846-43ac-96f1-fe0a78693167, rgb(10, 10, 10))\",borderBottomLeftRadius:207,borderBottomRightRadius:207,borderTopLeftRadius:207,borderTopRightRadius:207}})]})}),/*#__PURE__*/_jsx(motion.div,{className:\"framer-ykmpac\",\"data-framer-name\":\"Image Icon\",layoutDependency:layoutDependency,layoutId:\"KpG2GNiYY\",style:{backgroundColor:\"var(--token-980945bd-7632-4456-b791-71e669707610, rgb(250, 250, 250))\",borderBottomLeftRadius:5,borderBottomRightRadius:5,borderTopLeftRadius:5,borderTopRightRadius:5},transformTemplate:transformTemplate1,children:/*#__PURE__*/_jsxs(motion.div,{className:\"framer-18ipj1r\",layoutDependency:layoutDependency,layoutId:\"YVtmh_bGo\",children:[/*#__PURE__*/_jsx(SVG,{className:\"framer-11g6cki\",layoutDependency:layoutDependency,layoutId:\"ZjbotcpBp\",opacity:1,requiresOverflowVisible:false,svg:'<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" viewBox=\"0 0 18 15\" overflow=\"visible\"><g><path d=\"M 0 3.125 C 0 1.399 1.679 0 3.75 0 L 14.25 0 C 16.321 0 18 1.399 18 3.125 L 18 11.875 C 18 13.601 16.321 15 14.25 15 L 3.75 15 C 1.679 15 0 13.601 0 11.875 Z M 3.75 1.25 C 2.507 1.25 1.5 2.089 1.5 3.125 L 1.5 9.533 L 2.348 8.826 C 3.051 8.24 4.005 7.91 5 7.91 C 5.995 7.91 6.949 8.24 7.652 8.826 L 13.56 13.75 L 14.249 13.75 C 15.492 13.75 16.499 12.911 16.499 11.875 L 16.499 3.125 C 16.499 2.089 15.492 1.25 14.249 1.25 Z\" fill=\"var(--token-b77a662a-e846-43ac-96f1-fe0a78693167, rgb(10, 10, 10))\"></path></g></svg>',withExternalLayout:true,children:/*#__PURE__*/_jsxs(SVG,{className:\"framer-169lcn6\",layoutDependency:layoutDependency,layoutId:\"NFHTZyy9w\",opacity:1,requiresOverflowVisible:false,svg:'<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" viewBox=\"0 0 18 15\" overflow=\"visible\"><path d=\"M 0 3.125 C 0 1.399 1.679 0 3.75 0 L 14.25 0 C 16.321 0 18 1.399 18 3.125 L 18 11.875 C 18 13.601 16.321 15 14.25 15 L 3.75 15 C 1.679 15 0 13.601 0 11.875 Z M 3.75 1.25 C 2.507 1.25 1.5 2.089 1.5 3.125 L 1.5 9.533 L 2.348 8.826 C 3.051 8.24 4.005 7.91 5 7.91 C 5.995 7.91 6.949 8.24 7.652 8.826 L 13.56 13.75 L 14.249 13.75 C 15.492 13.75 16.499 12.911 16.499 11.875 L 16.499 3.125 C 16.499 2.089 15.492 1.25 14.249 1.25 Z\" fill=\"var(--token-b77a662a-e846-43ac-96f1-fe0a78693167, rgb(10, 10, 10))\"></path></svg>',withExternalLayout:true,children:[/*#__PURE__*/_jsx(SVG,{className:\"framer-ee23ip\",layoutDependency:layoutDependency,layoutId:\"myKSfiTuT\",opacity:1,requiresOverflowVisible:false,svg:'<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" viewBox=\"0 0 18 15\" overflow=\"visible\"><path d=\"M 0 3.125 C 0 1.399 1.679 0 3.75 0 L 14.25 0 C 16.321 0 18 1.399 18 3.125 L 18 11.875 C 18 13.601 16.321 15 14.25 15 L 3.75 15 C 1.679 15 0 13.601 0 11.875 Z\" fill=\"transparent\"></path></svg>',withExternalLayout:true}),/*#__PURE__*/_jsx(SVG,{className:\"framer-2hy4x1\",layoutDependency:layoutDependency,layoutId:\"A9AAdmqJW\",opacity:1,requiresOverflowVisible:false,svg:'<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" viewBox=\"0 0 14.999 12.5\" overflow=\"visible\"><path d=\"M 2.25 0 C 1.007 0 0 0.839 0 1.875 L 0 8.283 L 0.848 7.576 C 1.551 6.99 2.505 6.66 3.5 6.66 C 4.495 6.66 5.449 6.99 6.152 7.576 L 12.06 12.5 L 12.749 12.5 C 13.992 12.5 14.999 11.661 14.999 10.625 L 14.999 1.875 C 14.999 0.839 13.992 0 12.749 0 Z\" fill=\"transparent\"></path></svg>',withExternalLayout:true})]})}),/*#__PURE__*/_jsx(motion.div,{className:\"framer-9xeknn\",\"data-framer-name\":\"Circle\",layoutDependency:layoutDependency,layoutId:\"jY0GK2bGw\",style:{backgroundColor:\"var(--token-b77a662a-e846-43ac-96f1-fe0a78693167, rgb(10, 10, 10))\",borderBottomLeftRadius:207,borderBottomRightRadius:207,borderTopLeftRadius:207,borderTopRightRadius:207}})]})})]})]}),/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsxs(motion.p,{style:{\"--font-selector\":\"RlM7UG9wcGlucy1tZWRpdW0=\",\"--framer-font-family\":'\"Poppins\", \"Poppins Placeholder\", sans-serif',\"--framer-font-weight\":\"500\",\"--framer-text-color\":\"var(--extracted-r6o4lv, var(--token-b77a662a-e846-43ac-96f1-fe0a78693167, rgb(10, 10, 10)))\"},children:[\"Custom Event \",/*#__PURE__*/_jsx(motion.br,{}),\"for 40+ Students\"]})}),className:\"framer-2ga0fd\",fonts:[\"FS;Poppins-medium\"],layoutDependency:layoutDependency,layoutId:\"B06NtuKP0\",style:{\"--extracted-r6o4lv\":\"var(--token-b77a662a-e846-43ac-96f1-fe0a78693167, rgb(10, 10, 10))\",\"--framer-link-text-color\":\"rgb(0, 153, 255)\",\"--framer-link-text-decoration\":\"underline\"},verticalAlignment:\"top\",withExternalLayout:true,...addPropertyOverrides({\"YdxZqCjek-hover\":{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsxs(motion.p,{style:{\"--font-selector\":\"RlM7UG9wcGlucy1tZWRpdW0=\",\"--framer-font-family\":'\"Poppins\", \"Poppins Placeholder\", sans-serif',\"--framer-font-size\":\"14px\",\"--framer-font-weight\":\"500\",\"--framer-text-color\":\"var(--extracted-r6o4lv, var(--token-b77a662a-e846-43ac-96f1-fe0a78693167, rgb(10, 10, 10)))\"},children:[\"Custom Event \",/*#__PURE__*/_jsx(motion.br,{}),\"for 40+ Students\"]})})}},baseVariant,gestureVariant)})]})})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-c2u2l.framer-i6a99s, .framer-c2u2l .framer-i6a99s { display: block; }\",\".framer-c2u2l.framer-13huyvm { align-content: center; align-items: center; cursor: pointer; display: flex; flex-direction: column; flex-wrap: nowrap; gap: 0px; height: min-content; justify-content: center; overflow: visible; padding: 4px; position: relative; width: min-content; }\",\".framer-c2u2l .framer-1i0blnl { align-content: center; align-items: center; display: flex; flex: none; flex-direction: row; flex-wrap: nowrap; gap: 16px; height: 56px; justify-content: center; overflow: visible; padding: 0px 24px 0px 24px; position: relative; width: min-content; }\",\".framer-c2u2l .framer-ggtqxl { -webkit-user-select: none; align-content: center; align-items: center; display: flex; flex: none; flex-direction: column; flex-wrap: nowrap; gap: 0px; height: min-content; justify-content: center; overflow: visible; padding: 0px; position: relative; user-select: none; width: min-content; }\",\".framer-c2u2l .framer-s418mi { flex: none; height: 18px; overflow: visible; position: relative; width: 18px; }\",\".framer-c2u2l .framer-15ko6wb { height: 18px; left: 0px; position: absolute; top: 0px; width: 18px; }\",\".framer-c2u2l .framer-1y4r041 { flex: none; height: 18px; left: calc(50.00000000000002% - 18px / 2); overflow: visible; position: absolute; top: calc(50.00000000000002% - 18px / 2); width: 18px; z-index: 1; }\",\".framer-c2u2l .framer-27mc8s { align-content: center; align-items: center; display: flex; flex: none; flex-direction: column; flex-wrap: nowrap; gap: 10px; height: min-content; justify-content: center; left: 28%; overflow: visible; padding: 0px; position: absolute; top: 39%; width: min-content; }\",\".framer-c2u2l .framer-jp22nh, .framer-c2u2l .framer-18ipj1r { flex: none; height: 15px; overflow: visible; position: relative; width: 18px; }\",\".framer-c2u2l .framer-1uzl6g8, .framer-c2u2l .framer-142huc, .framer-c2u2l .framer-11gnj19, .framer-c2u2l .framer-11g6cki, .framer-c2u2l .framer-169lcn6, .framer-c2u2l .framer-ee23ip { height: 15px; left: 0px; position: absolute; top: 0px; width: 18px; }\",\".framer-c2u2l .framer-ucl3w { height: 13px; left: 2px; position: absolute; top: 1px; width: 15px; }\",\".framer-c2u2l .framer-hgnhz9, .framer-c2u2l .framer-9xeknn { flex: none; height: 5px; overflow: visible; position: absolute; right: 4px; top: 4px; width: 5px; }\",\".framer-c2u2l .framer-ykmpac { align-content: center; align-items: center; display: flex; flex: none; flex-direction: column; flex-wrap: nowrap; gap: 10px; height: min-content; justify-content: center; left: 50%; overflow: visible; padding: 0px; position: absolute; top: 50%; width: min-content; }\",\".framer-c2u2l .framer-2hy4x1 { height: 13px; left: 2px; position: absolute; top: 2px; width: 15px; }\",\".framer-c2u2l .framer-2ga0fd { flex: none; height: auto; position: relative; white-space: pre; width: auto; }\",\".framer-c2u2l.framer-v-13huyvm.hover.framer-13huyvm { height: 64px; width: 224px; }\",\".framer-c2u2l.framer-v-13huyvm.hover .framer-1i0blnl { height: 48px; width: 208px; }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 64\n * @framerIntrinsicWidth 224\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"auto\",\"auto\"]},\"xrb3DeO1S\":{\"layout\":[\"fixed\",\"fixed\"]}}}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerO43vQGprp=withCSS(Component,css,\"framer-c2u2l\");export default FramerO43vQGprp;FramerO43vQGprp.displayName=\"Custom Event Btn\";FramerO43vQGprp.defaultProps={height:64,width:224};addFonts(FramerO43vQGprp,[{explicitInter:true,fonts:[{cssFamilyName:\"Poppins\",source:\"fontshare\",style:\"normal\",uiFamilyName:\"Poppins\",url:\"https://framerusercontent.com/third-party-assets/fontshare/wf/K4RHKGAGLQZBXEZQT2O2AGSLKJF2E4YC/JRUTXNFPWLFGIEVSSEYOW7EP7TYM3V6A/UCDYLFFGLZRGCFY5GYDYM5LDB52BAR5M.woff2\",weight:\"500\"}]}],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerO43vQGprp\",\"slots\":[],\"annotations\":{\"framerAutoSizeImages\":\"true\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]},\\\"xrb3DeO1S\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]}}}\",\"framerDisplayContentsDiv\":\"false\",\"framerIntrinsicWidth\":\"224\",\"framerComponentViewportWidth\":\"true\",\"framerContractVersion\":\"1\",\"framerImmutableVariables\":\"true\",\"framerIntrinsicHeight\":\"64\",\"framerColorSyntax\":\"true\"}},\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./O43vQGprp.map","// PreserveWindowScroll.tsx\nimport{jsx as _jsx}from\"react/jsx-runtime\";import*as React from\"react\";// In-memory store for scroll positions keyed by URL\nconst positions=new Map;function keyForRoute(){if(typeof window===\"undefined\")return;const{pathname,search,hash}=window.location;return`${pathname}${search}${hash}`;}export function PreserveWindowScroll(){React.useEffect(()=>{const key=keyForRoute();// Restore on mount (after layout paints)\nconst saved=positions.get(key)??0;let raf=null;let tries=0;const restore=()=>{// Try a few frames so images/fonts don’t defeat the restore\nwindow.scrollTo(0,saved);tries++;if(tries<20&&Math.abs(window.scrollY-saved)>1){raf=requestAnimationFrame(restore);}};raf=requestAnimationFrame(restore);// Save while scrolling\nconst onScroll=()=>positions.set(key,window.scrollY);window.addEventListener(\"scroll\",onScroll,{passive:true});// Also save right before nav/unload just in case\nconst onBeforeUnload=()=>positions.set(key,window.scrollY);window.addEventListener(\"beforeunload\",onBeforeUnload);return()=>{window.removeEventListener(\"scroll\",onScroll);window.removeEventListener(\"beforeunload\",onBeforeUnload);if(raf)cancelAnimationFrame(raf);};},[]);// No prop changes needed—just return an empty override\nreturn{};}import{useContext as __legacyOverrideHOC_useContext}from\"react\";import{DataObserverContext as __legacyOverrideHOC_DataObserverContext}from\"framer\";export function withPreserveWindowScroll(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...PreserveWindowScroll(props)});};}withPreserveWindowScroll.displayName=\"PreserveWindowScroll\";\nexport const __FramerMetadata__ = {\"exports\":{\"withPreserveWindowScroll\":{\"type\":\"reactHoc\",\"name\":\"withPreserveWindowScroll\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"PreserveWindowScroll\":{\"type\":\"override\",\"name\":\"PreserveWindowScroll\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Scroll_Position.map"],"mappings":"8VACsa,SAAS,EAAqB,EAAU,GAAG,EAAS,CAAC,IAAM,EAAc,EAAE,CAAsF,OAArF,GAAU,QAAQ,GAAS,GAAS,OAAO,OAAO,EAAc,EAAU,GAAS,CAAC,CAAQ,yCAArhB,IAAwG,IAAkE,IAA4B,CAAgC,EAAgB,CAAC,UAAU,CAAC,MAAM,GAAK,CAAC,CAAO,EAAkB,eAAqB,EAAkB,CAAC,UAAU,mBAAmB,CAA8L,EAAY,CAAC,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,KAAK,SAAS,CAAO,GAAoB,EAAE,IAAI,yBAAyB,IAAU,GAAY,CAAC,QAAM,cAAY,CAAC,IAAM,EAAOA,EAAiB,EAAoB,CAAO,EAAW,GAAO,EAAO,WAAiB,EAAaC,OAAmB,CAAC,GAAG,EAAO,aAAW,EAAE,CAAC,KAAK,UAAU,EAAW,CAAC,CAAC,CAAC,OAAoB,EAAK,EAAoB,SAAS,CAAC,MAAM,EAAsB,WAAS,CAAC,EAAS,EAAS,EAAO,OAAOC,EAAe,CAAO,GAAU,CAAC,SAAO,KAAG,QAAM,GAAG,MAAgB,CAAC,GAAG,EAAM,EAAS,GAAwB,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