{"version":3,"file":"Viewheight.C8fC-eCd.mjs","names":[],"sources":["https:/framerusercontent.com/modules/lPkJbH9nBTPtWSLIlLWW/smfHs3F880NEZ0MDhjAh/Viewheight.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect}from\"react\";export function withMobileViewportFix(Component){return props=>{useEffect(()=>{// Only set the initial height once\nconst vh=window.innerHeight*.01;document.documentElement.style.setProperty(\"--vh\",`${vh}px`);},[])// Empty dependency array means this only runs once\n;const style={...props.style,height:\"calc(var(--vh, 1vh) * 100)\"};return /*#__PURE__*/_jsx(Component,{...props,style:style});};}\nexport const __FramerMetadata__ = {\"exports\":{\"withMobileViewportFix\":{\"type\":\"reactHoc\",\"name\":\"withMobileViewportFix\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Viewheight.map"],"mappings":"gIAAwE,SAAgB,EAAsB,EAAU,CAAC,MAAO,IAAO,CAAC,MAAc,CACtJ,IAAM,EAAG,EAAO,YAAY,IAAI,SAAS,gBAAgB,MAAM,YAAY,OAAO,GAAG,EAAG,IAAI,EAAG,EAAE,CAAC,CACjG,IAAM,EAAM,CAAC,GAAG,EAAM,MAAM,OAAO,6BAA6B,CAAC,OAAoB,EAAK,EAAU,CAAC,GAAG,EAAY,QAAM,CAAC,uBAFjF,IAA6B"}