{"version":3,"file":"VhToDvh.H89Ae5Ly.mjs","names":["useRef"],"sources":["https:/framerusercontent.com/modules/yfmfawnwCI63TZj6s3K2/r2hJhIzmwgCNcTKf2GOJ/VhToDvh.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{forwardRef,useRef,useEffect}from\"react\";export function withDvh(Component){return /*#__PURE__*/forwardRef((props,forwardedRef)=>{const localRef=useRef(null);useEffect(()=>{const element=localRef.current;if(element){element.style.setProperty(\"height\",\"100dvh\",\"important\");element.style.setProperty(\"min-height\",\"100dvh\",\"important\");}},[]);return /*#__PURE__*/_jsx(Component,{...props,ref:node=>{localRef.current=node;if(typeof forwardedRef===\"function\"){forwardedRef(node);}else if(forwardedRef){forwardedRef.current=node;}}});});}\nexport const __FramerMetadata__ = {\"exports\":{\"withDvh\":{\"type\":\"reactHoc\",\"name\":\"withDvh\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./VhToDvh.map"],"mappings":"2HAA0F,SAAgB,EAAQ,EAAU,CAAC,OAAoB,GAAY,EAAM,IAAe,CAAC,IAAM,EAASA,EAAO,KAAK,CAAwL,OAAvL,MAAc,CAAC,IAAM,EAAQ,EAAS,QAAW,IAAS,EAAQ,MAAM,YAAY,SAAS,SAAS,YAAY,CAAC,EAAQ,MAAM,YAAY,aAAa,SAAS,YAAY,GAAI,EAAE,CAAC,CAAqB,EAAK,EAAU,CAAC,GAAG,EAAM,IAAI,GAAM,CAAC,EAAS,QAAQ,EAAQ,OAAO,GAAe,WAAY,EAAa,EAAK,CAAU,IAAc,EAAa,QAAQ,IAAQ,CAAC,EAAG,kBAAzhB,IAA+C"}