{"version":3,"file":"ResizeFix.BDAkAg1V.mjs","names":[],"sources":["https:/framerusercontent.com/modules/kRaz22ALY9hoomE1dgxH/VkXUVknSf7Uou9GnLOQP/ResizeFix.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{forwardRef,useEffect}from\"react\";export function withResizeFix(Component){return /*#__PURE__*/forwardRef((props,ref)=>{useEffect(()=>{// Scroll to top first to reset Framer's scroll-based state\nwindow.scrollTo(0,0);// Then fire resize so Framer re-evaluates the breakpoint\nconst t1=setTimeout(()=>{window.dispatchEvent(new Event(\"resize\"));},50);// Fire again slightly later as a fallback\nconst t2=setTimeout(()=>{window.dispatchEvent(new Event(\"resize\"));},300);return()=>{clearTimeout(t1);clearTimeout(t2);};},[]);return /*#__PURE__*/_jsx(Component,{ref:ref,...props});});}\nexport const __FramerMetadata__ = {\"exports\":{\"withResizeFix\":{\"type\":\"reactHoc\",\"name\":\"withResizeFix\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ResizeFix.map"],"mappings":"uIAAmF,SAAgB,EAAc,EAAU,CAAC,OAAoB,GAAY,EAAM,KAAO,MAAc,CACvL,EAAO,SAAS,EAAE,EAAE,CACpB,IAAM,EAAG,eAAe,CAAC,EAAO,cAAc,IAAI,MAAM,SAAS,CAAC,EAAG,GAAG,CAClE,EAAG,eAAe,CAAC,EAAO,cAAc,IAAI,MAAM,SAAS,CAAC,EAAG,IAAI,CAAC,UAAU,CAAC,aAAa,EAAG,CAAC,aAAa,EAAG,GAAK,EAAE,CAAC,CAAqB,EAAK,EAAU,CAAK,MAAI,GAAG,EAAM,CAAC,EAAG,sBAH7I,IAAwC"}