{"version":3,"file":"FitImage.B_ReVdPm.mjs","names":["_jsx","__esmMin","c","init_jsx_runtime","addPropertyControls","init_framer_ChujFWHC","ControlType","FitImage","props","image","radius","init_FitImage"],"sources":["https:/framerusercontent.com/modules/XKQqGS9ceCv9uUuQw5N6/igqjZknWBtoh08I3bc5l/FitImage.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n */export default function FitImage(props){const{image,radius=0}=props;return /*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\",height:\"100%\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",overflow:\"hidden\"},children:image?.src?/*#__PURE__*/_jsx(\"img\",{src:image.src,alt:image.alt??\"\",style:{maxWidth:\"100%\",maxHeight:\"100%\",width:\"auto\",height:\"auto\",objectFit:\"contain\",borderRadius:radius,display:\"block\"}}):null});}addPropertyControls(FitImage,{image:{type:ControlType.ResponsiveImage,title:\"Bild\"},radius:{type:ControlType.Number,title:\"Radius\",min:0,max:48,defaultValue:0}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FitImage\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"any\",\"framerSupportedLayoutHeight\":\"any\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./FitImage.map"],"mappings":"A,4JAGG,SAAwBO,EAASC,EAAM,CAAC,GAAK,CAACC,QAAMC,SAAO,GAAGF,EAAM,MAAoBR,gBAAK,MAAM,CAAC,MAAM,CAAC,MAAM,OAAO,OAAO,OAAO,QAAQ,OAAO,WAAW,SAAS,eAAe,SAAS,SAAS,QAAQ,EAAE,SAASS,GAAO,IAAiBT,gBAAK,MAAM,CAAC,IAAIS,EAAM,IAAI,IAAIA,EAAM,KAAK,GAAG,MAAM,CAAC,SAAS,OAAO,UAAU,OAAO,MAAM,OAAO,OAAO,OAAO,UAAU,UAAU,aAAaC,EAAO,QAAQ,OAAO,CAAC,CAAC,EAAE,IAAI,CAAC,CAAE,C,sCAACN,EAAoBG,EAAS,CAAC,MAAM,CAAC,KAAKD,EAAY,gBAAgB,MAAM,MAAM,EAAE,OAAO,CAAC,KAAKA,EAAY,OAAO,MAAM,SAAS,IAAI,EAAE,IAAI,GAAG,aAAa,CAAC,CAAC,CAAC,C"}