{"version":3,"file":"ScaledImage.BulNOLep.mjs","names":[],"sources":["https:/framerusercontent.com/modules/jFyyp0gY9XT3XItZg8Dy/4SVY2UOrkXdusgWE2obk/ScaledImage.js"],"sourcesContent":["// scaledImage.tsx\n// Renders an image that scales to fit its container while preserving aspect ratio\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n * @framerIntrinsicWidth 200\n * @framerIntrinsicHeight 200\n */export default function ScaledImage(props){const{image,style}=props;if(!image){return /*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\",height:\"100%\",minWidth:20,minHeight:20,background:\"repeating-linear-gradient(135deg, #fff 0 5px, #eee 5px 32px)\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",color:\"#aaa\",fontSize:12,...style},children:\"No image\"});}return /*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\",height:\"100%\",minWidth:20,minHeight:20,display:\"flex\",alignItems:\"center\",justifyContent:\"center\",...style},children:/*#__PURE__*/_jsx(\"img\",{src:image,alt:\"\",style:{maxWidth:\"100%\",maxHeight:\"100%\",width:\"auto\",height:\"auto\",objectFit:\"contain\",objectPosition:\"top center\",display:\"block\"}})});}addPropertyControls(ScaledImage,{image:{type:ControlType.Image,title:\"Image\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ScaledImage\",\"slots\":[],\"annotations\":{\"framerIntrinsicWidth\":\"200\",\"framerSupportedLayoutWidth\":\"any\",\"framerSupportedLayoutHeight\":\"any\",\"framerContractVersion\":\"1\",\"framerIntrinsicHeight\":\"200\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ScaledImage.map"],"mappings":"4JAOG,SAAwB,EAAY,EAAM,CAAC,GAAK,CAAC,QAAM,SAAO,EAA2S,OAAjS,EAAqT,EAAK,MAAM,CAAC,MAAM,CAAC,MAAM,OAAO,OAAO,OAAO,SAAS,GAAG,UAAU,GAAG,QAAQ,OAAO,WAAW,SAAS,eAAe,SAAS,GAAG,EAAM,CAAC,SAAsB,EAAK,MAAM,CAAC,IAAI,EAAM,IAAI,GAAG,MAAM,CAAC,SAAS,OAAO,UAAU,OAAO,MAAM,OAAO,OAAO,OAAO,UAAU,UAAU,eAAe,aAAa,QAAQ,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAhmB,EAAK,MAAM,CAAC,MAAM,CAAC,MAAM,OAAO,OAAO,OAAO,SAAS,GAAG,UAAU,GAAG,WAAW,+DAA+D,QAAQ,OAAO,WAAW,SAAS,eAAe,SAAS,MAAM,OAAO,SAAS,GAAG,GAAG,EAAM,CAAC,SAAS,WAAW,CAAC,kBAL/T,IAAoD,CAKymB,EAAoB,EAAY,CAAC,MAAM,CAAC,KAAK,EAAY,MAAM,MAAM,QAAQ,CAAC,CAAC"}