{"version":3,"file":"ViewportHeight.C1a2bO2n.mjs","names":["__esmMin","init_npm_react_18_3_1","c","J","init_jsx_runtime","withFullScreenHeight","Component","props","init_ViewportHeight"],"sources":["https:/framerusercontent.com/modules/DZ2k8JAx2NAfi6R7X7Yd/3F3tZD2wOJrd2VW7YdJZ/ViewportHeight.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{forwardRef}from\"react\";/**\n * Makes a frame exactly as tall as the visible screen (100dvh follows the browser bars),\n * so the page has nothing to scroll but the browser's own pull-down-to-refresh still works.\n */export function withFullScreenHeight(Component){return /*#__PURE__*/forwardRef((props,ref)=>/*#__PURE__*/_jsx(Component,{ref:ref,...props,style:{...props.style,height:\"100dvh\",minHeight:\"100dvh\",maxHeight:\"100dvh\",overflow:\"hidden\"}}));}\nexport const __FramerMetadata__ = {\"exports\":{\"withFullScreenHeight\":{\"type\":\"reactHoc\",\"name\":\"withFullScreenHeight\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ViewportHeight.map"],"mappings":"A,kHAGG,SAAgBK,EAAqB,EAAU,CAAC,MAAoB,iBAAY,EAAM,IAAmB,gBAAKC,EAAU,CAAK,MAAI,GAAGC,EAAM,MAAM,CAAC,GAAGA,EAAM,MAAM,OAAO,SAAS,UAAU,SAAS,UAAU,SAAS,SAAS,QAAQ,CAAC,CAAC,CAAC,CAAE,C"}