{"version":3,"file":"Ni_Overrides.DVSmPpyb.mjs","names":["useState"],"sources":["https:/framerusercontent.com/modules/RSZoJxrBAP26oIuMGX7L/udacULz9OAFQVhqo2xLl/Ni_Overrides.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{forwardRef}from\"react\";export function OpenStoreModal(Component){return /*#__PURE__*/forwardRef((props,ref)=>{return /*#__PURE__*/_jsx(Component,{ref:ref,...props,\"fontdue-click\":\"open-store-modal\"});});}export function withButtondown(Component){return props=>{return /*#__PURE__*/_jsx(Component,{...props,action:\"https://buttondown.com/api/emails/embed-subscribe/NinaType\",method:\"post\",encType:\"application/x-www-form-urlencoded\"});};}export function withDvh(Component){return props=>/*#__PURE__*/_jsx(Component,{...props,style:{...props.style,height:\"90dvh\"}});}export function withFontdueBuy(Component){return props=>/*#__PURE__*/_jsx(Component,{...props,type:\"button\",\"fontdue-click\":\"open-store-modal\",\"fontdue-store-route\":\"product/Rm9udENvbGxlY3Rpb246MjI5MzEyMjIxMTI5MTI5Nzc5OA==\"});}import{useState,useEffect}from\"react\";export function withDvh2(Component){return props=>{const[isMobile,setIsMobile]=useState(false);useEffect(()=>{const update=()=>setIsMobile(window.innerWidth<=767);update();window.addEventListener(\"resize\",update);return()=>window.removeEventListener(\"resize\",update);},[]);return /*#__PURE__*/_jsx(Component,{...props,style:{...props.style,...isMobile&&{height:\"95dvh\"}}});};}export function withDvhHome(Component){return props=>{const[isMobile,setIsMobile]=useState(false);useEffect(()=>{const update=()=>setIsMobile(window.innerWidth<=767);update();window.addEventListener(\"resize\",update);return()=>window.removeEventListener(\"resize\",update);},[]);return /*#__PURE__*/_jsx(Component,{...props,style:{...props.style,...isMobile&&{height:\"90dvh\"}}});};}\nexport const __FramerMetadata__ = {\"exports\":{\"withDvh\":{\"type\":\"reactHoc\",\"name\":\"withDvh\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withDvh2\":{\"type\":\"reactHoc\",\"name\":\"withDvh2\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"OpenStoreModal\":{\"type\":\"reactHoc\",\"name\":\"OpenStoreModal\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withFontdueBuy\":{\"type\":\"reactHoc\",\"name\":\"withFontdueBuy\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withButtondown\":{\"type\":\"reactHoc\",\"name\":\"withButtondown\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withDvhHome\":{\"type\":\"reactHoc\",\"name\":\"withDvhHome\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Ni_Overrides.map"],"mappings":"uIAAg3B,SAAgB,EAAS,EAAU,CAAC,MAAO,IAAO,CAAC,GAAK,CAAC,EAAS,GAAaA,EAAS,EAAK,EAAoL,OAAlL,MAAc,CAAC,IAAM,MAAW,EAAY,EAAO,YAAY,GAAG,EAAoD,OAAlD,EAAO,EAAE,EAAO,iBAAiB,SAAS,CAAM,MAAY,EAAO,oBAAoB,SAAS,CAAM,CAAE,EAAE,CAAC,CAAC,EAAsB,EAAK,EAAU,CAAC,GAAG,EAAM,MAAM,CAAC,GAAG,EAAM,MAAM,GAAG,GAAU,CAAC,OAAO,OAAO,CAAC,CAAC,CAAC,CAAE,CAAE,CAAC,SAAgB,EAAY,EAAU,CAAC,MAAO,IAAO,CAAC,GAAK,CAAC,EAAS,GAAaA,EAAS,EAAK,EAAoL,OAAlL,MAAc,CAAC,IAAM,MAAW,EAAY,EAAO,YAAY,GAAG,EAAoD,OAAlD,EAAO,EAAE,EAAO,iBAAiB,SAAS,CAAM,MAAY,EAAO,oBAAoB,SAAS,CAAM,CAAE,EAAE,CAAC,CAAC,EAAsB,EAAK,EAAU,CAAC,GAAG,EAAM,MAAM,CAAC,GAAG,EAAM,MAAM,GAAG,GAAU,CAAC,OAAO,OAAO,CAAC,CAAC,CAAC,CAAE,CAAE,qBAAxjD,IAA8B"}