{"version":3,"file":"WithGrid.BfPygrLG.mjs","names":["n","e","i"],"sources":["https:/framerusercontent.com/modules/VqIcVfFXD6Y7W22wZ3J0/eEO8Jdxd3S473ITOZZXG/WithGrid.js"],"sourcesContent":["import{jsx as t}from\"react/jsx-runtime\";import{useEffect as e,useState as n}from\"react\";import i from\"lodash/debounce\";export function withGridLine(e){return n=>/*#__PURE__*/t(e,{...n,style:{...n.style,transformOrigin:\"top left\"},animate:{scaleX:[0,1]},transition:{duration:2,ease:[.075,.82,.165,1]}});}export function withGridWidth(r){return d=>{let[a,o]=n(25);return e(()=>{let t=document.createElement(\"style\");return t.textContent=`\n                .grid-align:nth-child(2n) {\n                    justify-content: end;\n                }\n\n                .grid-align:nth-child(3n) {\n                    justify-content: center;\n                }\n            `,document.head.appendChild(t),()=>{document.head.removeChild(t);};},[]),e(()=>{let t=()=>{window.matchMedia(\"(max-width: 609px)\").matches?o(100):window.matchMedia(\"(max-width: 1100px)\").matches?o(50):o(25);},e=i(t,200);return window.addEventListener(\"resize\",e),t(),()=>{window.removeEventListener(\"resize\",e);};},[]),/*#__PURE__*/t(r,{...d,className:`${d.className} grid-align`,style:{...d.style,width:`${a}vw`}});};}export function withGridWidthImage(e){return n=>/*#__PURE__*/t(e,{...n,style:{...n.style,width:\"75vw\"}});}\nexport const __FramerMetadata__ = {\"exports\":{\"withGridWidthImage\":{\"type\":\"reactHoc\",\"name\":\"withGridWidthImage\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withGridWidth\":{\"type\":\"reactHoc\",\"name\":\"withGridWidth\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withGridLine\":{\"type\":\"reactHoc\",\"name\":\"withGridLine\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./WithGrid.map"],"mappings":"qLAA+S,SAAgB,EAAc,EAAE,CAAC,MAAO,IAAG,CAAC,GAAG,CAAC,EAAE,GAAGA,EAAE,EAAE,EAAE,OAAOC,MAAM,CAAC,IAAI,EAAE,SAAS,cAAc,OAAO,EAAE,MAAO,GAAE,YAAY;;;;;;;;cAQra,SAAS,KAAK,YAAY,CAAC,MAAM,CAAC,SAAS,KAAK,YAAY,CAAC,CAAE,CAAE,EAAE,CAAC,CAAC,EAAEA,MAAM,CAAC,IAAI,MAAM,CAAC,EAAO,WAAW,oBAAoB,CAAC,CAAC,QAAQ,EAAE,GAAG,EAAE,EAAO,WAAW,qBAAqB,CAAC,CAAC,QAAQ,EAAE,EAAE,EAAE,EAAE,EAAE,CAAE,EAAE,EAAEC,EAAE,EAAE,GAAG,EAAE,OAAO,EAAO,iBAAiB,SAAS,CAAC,EAAE,EAAE,MAAM,CAAC,EAAO,oBAAoB,SAAS,CAAC,CAAE,CAAE,EAAE,CAAC,CAAC,EAAe,EAAE,EAAE,CAAC,GAAG,EAAE,UAAU,GAAG,EAAE,UAAU,aAAa,MAAM,CAAC,GAAG,EAAE,MAAM,MAAM,GAAG,EAAE,GAAG,CAAC,CAAC,CAAE,CAAE,CAAC,SAAgB,EAAmB,EAAE,CAAC,MAAO,IAAgB,EAAE,EAAE,CAAC,GAAG,EAAE,MAAM,CAAC,GAAG,EAAE,MAAM,MAAM,MAAM,CAAC,CAAC,CAAE,qBARjf,IAAgD,IAA+B"}