{"version":3,"file":"ResponsiveImage.CfP8mRk0.mjs","names":["__esmMin","c","init_jsx_runtime","addPropertyControls","init_framer_CN96F41L","ControlType","ResponsiveImageComponent","props","imageURL","cmsImageURL","appendChar","imageURLSet","altText","init_ResponsiveImage"],"sources":["https:/framerusercontent.com/modules/XOkWmt1e8ffNozLy4bkO/WVYgrZMZu8njdJkGqVCI/ResponsiveImage.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";export function ResponsiveImageComponent(props){const{cmsImageURL,altText,borderRadius}=props;// Check if the image URL is available\nconst imageURL=cmsImageURL?cmsImageURL:null;const appendChar=imageURL.match(/\\?/)?\"&\":\"?\";const imageURLSet=imageURL+appendChar+\"scale-down-to=512 512w, \"+imageURL+appendChar+\"scale-down-to=1024 1024w, \"+imageURL+appendChar+\"scale-down-to=2048 2048w, \"+imageURL+appendChar+\"scale-down-to=2304 2304w\";// Apply \"display: none\" if the image URL is not set\nconst displayStyle=imageURL?\"block\":\"none\";return /*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\",height:\"auto\",overflow:\"hidden\",position:\"relative\",display:displayStyle},children:/*#__PURE__*/_jsx(\"img\",{src:imageURL,srcSet:imageURLSet,sizes:\"max(100vw * 0.5017, 1px)\",alt:altText||\"Responsive Image\",style:{width:\"100%\",height:\"auto\",objectFit:\"cover\",display:\"block\",userSelect:\"none\"}})});}// Framer Property Controls - No more \"Is Set\" control\naddPropertyControls(ResponsiveImageComponent,{cmsImageURL:{type:ControlType.Image,title:\"CMS Image\"},altText:{type:ControlType.String,title:\"Alt Text\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"ResponsiveImageComponent\":{\"type\":\"reactComponent\",\"name\":\"ResponsiveImageComponent\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ResponsiveImage.map"],"mappings":"A,4JAA+F,SAAgBM,EAAyB,EAAM,CAAC,GAAK,CAAC,cAAY,UAAQ,gBAAcC,EACjLC,EAASC,GAAwB,KAAWC,EAAWF,EAAS,MAAM,IAAI,EAAE,IAAI,IAAUG,EAAYH,EAASE,EAAW,2BAA2BF,EAASE,EAAW,6BAA6BF,EAASE,EAAW,6BAA6BF,EAASE,EAAW,2BACtO,MAAoB,gBAAK,MAAM,CAAC,MAAM,CAAC,MAAM,OAAO,OAAO,OAAO,SAAS,SAAS,SAAS,WAAW,QAAhIF,EAAS,QAAQ,MAAmI,EAAE,SAAsB,gBAAK,MAAM,CAAC,IAAIA,EAAS,OAAOG,EAAY,MAAM,2BAA2B,IAAIC,GAAS,mBAAmB,MAAM,CAAC,MAAM,OAAO,OAAO,OAAO,UAAU,QAAQ,QAAQ,QAAQ,WAAW,MAAM,CAAC,CAAC,CAAC,CAAC,CAAE,C,sCACvYT,EAAoBG,EAAyB,CAAC,YAAY,CAAC,KAAKD,EAAY,MAAM,MAAM,WAAW,EAAE,QAAQ,CAAC,KAAKA,EAAY,OAAO,MAAM,UAAU,CAAC,CAAC,C"}