{"version":3,"file":"Card.BBAGgLIr.mjs","names":["useState","useRef","__esmMin","window","le","init_ssg_sandbox_shims","_e","de","init_npm_react_18_3_1","Card","windowWidth","setWindowWidth","timerRef","updateSize","style","init_Card","init_jsx_runtime"],"sources":["https:/framerusercontent.com/modules/w2N4TuxR5w936q24Bgyc/tLxKoS3ImUZYdcSxlS8t/Card.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{useState,useLayoutEffect,useRef}from\"react\";/**\n * These annotations control how your component sizes\n * Learn more: https://www.framer.com/developers/#code-components-auto-sizing\n *\n * @framerSupportedLayoutWidth auto\n * @framerSupportedLayoutHeight auto\n */export default function Card(props){const[windowWidth,setWindowWidth]=useState(window?window.innerWidth:0);const timerRef=useRef();useLayoutEffect(()=>{const updateSize=()=>{window.clearTimeout(timerRef.current);timerRef.current=window.setTimeout(()=>setWindowWidth(window.innerWidth),500);};window.addEventListener(\"resize\",updateSize);return()=>{window.removeEventListener(\"resize\",updateSize);window.clearTimeout(timerRef.current);};},[]);const style={height:\"100px\",width:Math.max((windowWidth-Math.min(windowWidth,1150))/2-30,0)};return /*#__PURE__*/_jsx(\"div\",{style:style});}\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Card\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"auto\",\"framerSupportedLayoutHeight\":\"auto\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Card.map"],"mappings":"A,oIAMG,SAAwBS,EAAK,EAAM,CAAC,GAAK,CAACC,EAAYC,GAAgBX,EAASG,EAAOA,EAAO,WAAW,CAAC,EAAQS,EAASX,EAAO,EAAEG,MAAoB,CAAC,IAAMS,MAAe,CAACV,EAAO,aAAaS,EAAS,OAAO,EAAE,EAAS,QAAQT,EAAO,eAAeQ,EAAeR,EAAO,UAAU,EAAE,GAAG,CAAE,EAA+C,OAA7CA,EAAO,iBAAiB,SAASU,CAAU,MAAY,CAACV,EAAO,oBAAoB,SAASU,CAAU,EAAEV,EAAO,aAAaS,EAAS,OAAO,CAAE,CAAE,EAAE,CAAC,CAAC,EAAE,IAAME,EAAM,CAAC,OAAO,QAAQ,MAAM,KAAK,KAAKJ,EAAY,KAAK,IAAIA,EAAY,IAAI,GAAG,EAAE,GAAG,CAAC,CAAC,EAAE,MAAoB,gBAAK,MAAM,CAAO,OAAK,CAAC,CAAE,C"}