{"version":3,"file":"SVViewportFix.BTTU6Ds3.mjs","names":[],"sources":["https:/framerusercontent.com/modules/XF768cXlhjunRnOJG2HM/GcKZ2ujs4Bf3EgxAjRvm/SVViewportFix.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect}from\"react\";import{addPropertyControls}from\"framer\";/**\n * SVViewportFix — drop this ONCE at the top of any page.\n *\n * THE BUG: a Framer page with only a Desktop breakpoint publishes a\n * fixed-width viewport meta tag. The phone then reports itself as ~1440px,\n * so EVERY @media query and matchMedia check fails and the desktop layout\n * (giant text) renders on the phone.\n *\n * THE FIX: rewrite the viewport meta to width=device-width at runtime.\n * Renders nothing. Zero visual footprint.\n */export default function SVViewportFix(){useEffect(()=>{let meta=document.querySelector('meta[name=\"viewport\"]');if(!meta){meta=document.createElement(\"meta\");meta.name=\"viewport\";document.head.appendChild(meta);}meta.setAttribute(\"content\",\"width=device-width, initial-scale=1, viewport-fit=cover\");},[]);return /*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\",height:0,overflow:\"hidden\"}});}addPropertyControls(SVViewportFix,{});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"SVViewportFix\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./SVViewportFix.map"],"mappings":"mKAUG,SAAwB,GAAe,CAA0Q,OAAzQ,MAAc,CAAC,IAAI,EAAK,SAAS,cAAc,uBAAuB,EAAM,IAAM,EAAK,SAAS,cAAc,MAAM,EAAE,EAAK,KAAK,WAAW,SAAS,KAAK,YAAY,CAAI,GAAG,EAAK,aAAa,UAAU,yDAAyD,CAAE,EAAE,CAAC,CAAC,EAAsB,EAAK,MAAM,CAAC,MAAM,CAAC,MAAM,OAAO,OAAO,EAAE,SAAS,QAAQ,CAAC,CAAC,CAAE,iBAV5V,IAA6B,IAAwC,EAUwR,EAAoB,EAAc,CAAC,CAAC"}