{"version":3,"file":"shared-lib.CSkwk3AG.mjs","names":["useState","useRef","fonts","css","className"],"sources":["https:/framerusercontent.com/modules/NUNPiEE55VArhACiFReF/ij8zGbkgCHliRa4b839g/HideNavOnScroll.js","https:/framerusercontent.com/modules/RkzlheMMWjpXZK6TcgaO/7nvfPLjmAY5eIIDO4g7x/bQKOrqzQ7.js","https:/framerusercontent.com/modules/Tc70HhSzmgGxz04z7iRQ/H4UtziX8KOUMfBH7u7ko/jRxV9EaKd.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{useState,useEffect,useRef}from\"react\";export function withHideOnScroll(Component){return props=>{const[visible,setVisible]=useState(true);const lastScrollY=useRef(0);useEffect(()=>{const handleScroll=()=>{const currentScrollY=window.scrollY;if(currentScrollY<10){setVisible(true);}else if(currentScrollY>lastScrollY.current){setVisible(false);}else{setVisible(true);}lastScrollY.current=currentScrollY;};window.addEventListener(\"scroll\",handleScroll,{passive:true});return()=>window.removeEventListener(\"scroll\",handleScroll);},[]);return /*#__PURE__*/_jsx(Component,{...props,style:{...props.style,transform:visible?\"translateY(0)\":\"translateY(-100%)\",transition:\"transform 0.3s ease\"}});};}\nexport const __FramerMetadata__ = {\"exports\":{\"withHideOnScroll\":{\"type\":\"reactHoc\",\"name\":\"withHideOnScroll\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./HideNavOnScroll.map","// Generated by Framer (e999480)\nimport{fontStore}from\"framer\";fontStore.loadFonts([\"FS;Clash Display-semibold\",\"FS;Clash Display-bold\"]);export const fonts=[{explicitInter:true,fonts:[{cssFamilyName:\"Clash Display\",source:\"fontshare\",style:\"normal\",uiFamilyName:\"Clash Display\",url:\"https://framerusercontent.com/third-party-assets/fontshare/wf/FPDAZ2S6SW4QMSRIIKNNGTPM6VIXYMKO/5HNPQ453FRLIQWV2FNOBUU3FKTDZQVSG/Z3MGHFHX6DCTLQ55LJYRJ5MDCZPMFZU6.woff2\",weight:\"600\"},{cssFamilyName:\"Clash Display\",source:\"fontshare\",style:\"normal\",uiFamilyName:\"Clash Display\",url:\"https://framerusercontent.com/third-party-assets/fontshare/wf/BFBSY7LX5W2U2EROCLVVTQP4VS7S4PC3/IIUX4FGTMD2LK2VWD3RVTAS4SSMUN7B5/53RZKGODFYDW3QHTIL7IPOWTBCSUEZK7.woff2\",weight:\"700\"}]}];export const css=[\".framer-6KAXr .framer-styles-preset-9z40rh:not(.rich-text-wrapper), .framer-6KAXr .framer-styles-preset-9z40rh.rich-text-wrapper p { --framer-font-family: \\\"Clash Display\\\", \\\"Clash Display Placeholder\\\", sans-serif; --framer-font-family-bold: \\\"Clash Display\\\", \\\"Clash Display Placeholder\\\", sans-serif; --framer-font-open-type-features: 'blwf' on, 'cv03' on, 'cv04' on, 'cv09' on, 'cv11' on; --framer-font-size: 14px; --framer-font-style: normal; --framer-font-style-bold: normal; --framer-font-variation-axes: normal; --framer-font-weight: 600; --framer-font-weight-bold: 700; --framer-letter-spacing: 0.02em; --framer-line-height: 1.4em; --framer-paragraph-spacing: 20px; --framer-text-alignment: left; --framer-text-color: #666666; --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: uppercase; }\"];export const className=\"framer-6KAXr\";\nexport const __FramerMetadata__ = {\"exports\":{\"css\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"fonts\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"className\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// Generated by Framer (b47b624)\nimport{fontStore}from\"framer\";fontStore.loadFonts([]);export const fonts=[{explicitInter:true,fonts:[]}];export const css=[\".framer-5WUUL .framer-styles-preset-1qch4rt:not(.rich-text-wrapper), .framer-5WUUL .framer-styles-preset-1qch4rt.rich-text-wrapper a { --framer-link-text-color: var(--token-cb363c97-35ac-48fb-8e4c-90a7788efa1f, #000000); }\"];export const className=\"framer-5WUUL\";\nexport const __FramerMetadata__ = {\"exports\":{\"css\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"fonts\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"className\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"+LAAwF,SAAgB,EAAiB,EAAU,CAAC,MAAO,IAAO,CAAC,GAAK,CAAC,EAAQ,GAAYA,EAAS,GAAK,CAAO,EAAYC,EAAO,EAAE,CAA+W,OAA9W,MAAc,CAAC,IAAM,MAAiB,CAAC,IAAM,EAAe,EAAO,QAAW,EAAe,GAAI,EAAW,GAAK,CAAU,EAAe,EAAY,QAAS,EAAW,GAAM,CAAO,EAAW,GAAK,CAAE,EAAY,QAAQ,GAA+E,OAA9D,EAAO,iBAAiB,SAAS,EAAa,CAAC,QAAQ,GAAK,CAAC,KAAW,EAAO,oBAAoB,SAAS,EAAa,EAAG,EAAE,CAAC,CAAqB,EAAK,EAAU,CAAC,GAAG,EAAM,MAAM,CAAC,GAAG,EAAM,MAAM,UAAU,EAAQ,gBAAgB,oBAAoB,WAAW,sBAAsB,CAAC,CAAC,uBAAvrB,IAA6C,uBCC1D,GAAU,UAAU,CAAC,4BAA4B,wBAAwB,CAAC,CAAcC,EAAM,CAAC,CAAC,cAAc,GAAK,MAAM,CAAC,CAAC,cAAc,gBAAgB,OAAO,YAAY,MAAM,SAAS,aAAa,gBAAgB,IAAI,yKAAyK,OAAO,MAAM,CAAC,CAAC,cAAc,gBAAgB,OAAO,YAAY,MAAM,SAAS,aAAa,gBAAgB,IAAI,yKAAyK,OAAO,MAAM,CAAC,CAAC,CAAC,CAAcC,EAAI,CAAC,42BAAo3B,CAAcC,EAAU,qCCA7kD,GAAU,UAAU,EAAE,CAAC,CAAc,EAAM,CAAC,CAAC,cAAc,GAAK,MAAM,EAAE,CAAC,CAAC,CAAc,EAAI,CAAC,iOAAiO,CAAc,EAAU"}