{"version":3,"file":"BlogPreviewImage.Ds4_d4xG.mjs","names":[],"sources":["https:/framerusercontent.com/modules/ae92IbWEqKwRFki535Oa/AfEyzZZGxS7SWFp5ENVF/BlogPreviewImage.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/**\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */export default function BlogPreviewImage(props){const{image,background=\"rgba(0,0,0,0)\",style}=props;const width=style?.width??290;const height=style?.height??220;return /*#__PURE__*/_jsx(\"div\",{style:{position:\"relative\",width,height,background,overflow:\"hidden\",...style},children:image?.src?/*#__PURE__*/_jsx(\"img\",{src:image.src,srcSet:image.srcSet,alt:image.alt||\"\",style:{width:\"100%\",height:\"100%\",objectFit:\"contain\",objectPosition:\"center\",display:\"block\"}}):null});}addPropertyControls(BlogPreviewImage,{image:{type:ControlType.ResponsiveImage,title:\"Image\"},background:{type:ControlType.Color,title:\"Background\",defaultValue:\"rgba(0,0,0,0)\",optional:true}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"BlogPreviewImage\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"fixed\",\"framerSupportedLayoutWidth\":\"fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./BlogPreviewImage.map"],"mappings":"6JAGG,SAAwB,EAAiB,EAAM,CAAC,GAAK,CAAC,QAAM,aAAW,gBAAgB,SAAO,EAAoE,OAAoB,EAAK,MAAM,CAAC,MAAM,CAAC,SAAS,WAAW,MAA7G,GAAO,OAAO,IAAqG,OAApF,GAAO,QAAQ,IAA4E,aAAW,SAAS,SAAS,GAAG,CAAK,EAAE,SAAS,GAAO,IAAiB,EAAK,MAAM,CAAC,IAAI,EAAM,IAAI,OAAO,EAAM,OAAO,IAAI,EAAM,KAAK,GAAG,MAAM,CAAC,MAAM,OAAO,OAAO,OAAO,UAAU,UAAU,eAAe,SAAS,QAAQ,OAAO,CAAC,CAAC,EAAE,IAAI,CAAC,CAAE,iBAHnb,IAAoD,EAGgY,EAAoB,EAAiB,CAAC,MAAM,CAAC,KAAK,EAAY,gBAAgB,MAAM,OAAO,EAAE,WAAW,CAAC,KAAK,EAAY,MAAM,MAAM,aAAa,aAAa,gBAAgB,SAAS,EAAI,CAAC,CAAC"}