{"version":3,"file":"CMSImage.BA7YVSCQ.mjs","names":[],"sources":["https:/framerusercontent.com/modules/i9I3RaD6LojRnjsAbW0J/RRxXGVsXn96SC6c3h0T1/CMSImage.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/**\n * @framerSupportedLayoutWidth auto\n * @framerSupportedLayoutHeight auto\n */export default function CMSImage(props){// Prefer the new Image field; fall back to the legacy URL text field.\n// ControlType.Image passes a URL string when bound to a CMS Image field,\n// so both `image` and `url` end up as strings here.\nconst src=props.image||props.url;if(!src)return null;return /*#__PURE__*/_jsx(\"img\",{src:src,alt:props.alt??\"\",style:{width:\"100%\",height:\"100%\",objectFit:\"cover\",display:\"block\"}});}addPropertyControls(CMSImage,{image:{type:ControlType.Image,title:\"Image\"},url:{type:ControlType.String,title:\"URL (legacy)\"},alt:{type:ControlType.String,title:\"Alt\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"CMSImage\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"auto\",\"framerSupportedLayoutHeight\":\"auto\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./CMSImage.map"],"mappings":"4JAGG,SAAwB,EAAS,EAAM,CAG1C,IAAM,EAAI,EAAM,OAAO,EAAM,IAAwB,OAAhB,EAAoC,EAAK,MAAM,CAAK,MAAI,IAAI,EAAM,KAAK,GAAG,MAAM,CAAC,MAAM,OAAO,OAAO,OAAO,UAAU,QAAQ,QAAQ,OAAO,CAAC,CAAC,EAApI,IAAsI,iBAN5I,IAAoD,EAMyF,EAAoB,EAAS,CAAC,MAAM,CAAC,KAAK,EAAY,MAAM,MAAM,OAAO,EAAE,IAAI,CAAC,KAAK,EAAY,OAAO,MAAM,cAAc,EAAE,IAAI,CAAC,KAAK,EAAY,OAAO,MAAM,KAAK,CAAC,CAAC"}