{"version":3,"file":"ForceFullHeight.BOdupsyu.mjs","names":["useRef","__legacyOverrideHOC_DataObserverContext","_jsx"],"sources":["https:/framerusercontent.com/modules/sWuOWvLeDpnvfvVYIhke/jP9d32lF3OyjheM9gSbh/ForceFullHeight.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect,useRef}from\"react\";export function ForceStackFullHeight(){const ref=useRef(null);useEffect(()=>{const updateHeight=()=>{const height=window.visualViewport?.height||window.innerHeight;if(ref.current){ref.current.style.height=height+\"px\";}};updateHeight();window.visualViewport?.addEventListener(\"resize\",updateHeight);window.addEventListener(\"resize\",updateHeight);return()=>{window.visualViewport?.removeEventListener(\"resize\",updateHeight);window.removeEventListener(\"resize\",updateHeight);};},[]);return{ref};}import{useContext as __legacyOverrideHOC_useContext}from\"react\";import{DataObserverContext as __legacyOverrideHOC_DataObserverContext}from\"framer\";export function withForceStackFullHeight(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...ForceStackFullHeight(props)});};}withForceStackFullHeight.displayName=\"ForceStackFullHeight\";\nexport const __FramerMetadata__ = {\"exports\":{\"ForceStackFullHeight\":{\"type\":\"override\",\"name\":\"ForceStackFullHeight\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withForceStackFullHeight\":{\"type\":\"reactHoc\",\"name\":\"withForceStackFullHeight\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ForceFullHeight.map"],"mappings":"0LAA+E,SAAgB,GAAsB,CAAC,IAAM,EAAIA,EAAO,KAAK,CAAma,OAAla,MAAc,CAAC,IAAM,MAAiB,CAAC,IAAM,EAAO,EAAO,gBAAgB,QAAQ,EAAO,YAAe,EAAI,UAAS,EAAI,QAAQ,MAAM,OAAO,EAAO,OAAqI,OAA7H,GAAc,CAAC,EAAO,gBAAgB,iBAAiB,SAAS,EAAa,CAAC,EAAO,iBAAiB,SAAS,EAAa,KAAW,CAAC,EAAO,gBAAgB,oBAAoB,SAAS,EAAa,CAAC,EAAO,oBAAoB,SAAS,EAAa,GAAK,EAAE,CAAC,CAAO,CAAC,MAAI,CAAqJ,SAAgB,EAAyB,EAAE,CAAC,MAAO,KAAQ,EAA+BC,EAAwC,CAAQC,EAAK,EAAE,CAAC,GAAG,EAAM,GAAG,EAAqB,EAAM,CAAC,CAAC,uBAA/1B,IAAoC,IAAgoB,CAA+L,EAAyB,YAAY"}