{"version":3,"file":"DynamicViewportHeight.B0A93Rwl.mjs","names":["__legacyOverrideHOC_DataObserverContext","_jsx"],"sources":["https:/framerusercontent.com/modules/xZTi9qHVdVRKu1jI4edT/BNL6AllClFoj0bbpCP9U/DynamicViewportHeight.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";function isIOSSafari(){if(typeof navigator===\"undefined\")return false;const ua=navigator.userAgent;const isiOS=/iP(hone|ad|od)/.test(ua);const isWebKit=/WebKit/.test(ua);const isChromeiOS=/CriOS/.test(ua);const isFirefoxiOS=/FxiOS/.test(ua);return isiOS&&isWebKit&&!isChromeiOS&&!isFirefoxiOS;}export function HeroViewportHeight(){const height=isIOSSafari()?\"100dvh\":\"100svh\";return{style:{height,minHeight:0}};}import{useContext as __legacyOverrideHOC_useContext}from\"react\";import{DataObserverContext as __legacyOverrideHOC_DataObserverContext}from\"framer\";export function withHeroViewportHeight(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...HeroViewportHeight(props)});};}withHeroViewportHeight.displayName=\"HeroViewportHeight\";\nexport const __FramerMetadata__ = {\"exports\":{\"withHeroViewportHeight\":{\"type\":\"reactHoc\",\"name\":\"withHeroViewportHeight\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"HeroViewportHeight\":{\"type\":\"override\",\"name\":\"HeroViewportHeight\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./DynamicViewportHeight.map"],"mappings":"4KAA2C,SAAS,GAAa,CAAC,GAAU,IAAY,OAAY,MAAO,GAAM,IAAM,EAAG,EAAU,UAAgB,EAAM,iBAAiB,KAAK,EAAG,CAAO,EAAS,SAAS,KAAK,EAAG,CAAO,EAAY,QAAQ,KAAK,EAAG,CAAO,EAAa,QAAQ,KAAK,EAAG,CAAC,OAAO,GAAO,GAAU,CAAC,GAAa,CAAC,EAAc,SAAgB,GAAoB,CAA8C,MAAM,CAAC,MAAM,CAAC,OAA9C,GAAa,CAAC,SAAS,SAA8B,UAAU,EAAE,CAAC,CAAqJ,SAAgB,EAAuB,EAAE,CAAC,MAAO,KAAQ,EAA+BA,EAAwC,CAAQC,EAAK,EAAE,CAAC,GAAG,EAAM,GAAG,EAAmB,EAAM,CAAC,CAAC,uBAAtuB,IAA4d,IAAmF,CAA2L,EAAuB,YAAY"}