{"version":3,"file":"ScrollToTop.CkILJ_dZ.mjs","names":[],"sources":["https:/framerusercontent.com/modules/vVRJGspZaKCICMd5t5yN/hfK9PkcxDcOIMPYZAuen/ScrollToTop.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect}from\"react\";import{addPropertyControls}from\"framer\";/**\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n * @framerIntrinsicWidth 20\n * @framerIntrinsicHeight 20\n */export default function ScrollToTop(){useEffect(()=>{window.scrollTo(0,0);const root=document.getElementById(\"main\");if(root){root.scrollTop=0;}},[]);return /*#__PURE__*/_jsx(\"div\",{style:{width:0,height:0,overflow:\"hidden\"}});}addPropertyControls(ScrollToTop,{});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ScrollToTop\",\"slots\":[],\"annotations\":{\"framerIntrinsicWidth\":\"20\",\"framerSupportedLayoutWidth\":\"fixed\",\"framerIntrinsicHeight\":\"20\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ScrollToTop.map"],"mappings":"4KAKG,SAAwB,GAAa,CAAiH,OAAhH,MAAc,CAAC,EAAO,SAAS,EAAE,EAAE,CAAC,IAAM,EAAK,SAAS,eAAe,OAAO,CAAI,IAAM,EAAK,UAAU,IAAK,EAAE,CAAC,CAAqB,EAAK,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,EAAE,SAAS,SAAS,CAAC,CAAC,sBAL1L,IAA6B,IAAwC,CAKuH,EAAoB,EAAY,EAAE,CAAC"}