{"version":3,"file":"ImageLoader.DGu3dDa4.mjs","names":[],"sources":["https:/framerusercontent.com/modules/RwjmY2CrFD7bPpPNTDli/Ie01YG1vzHGxKhJqtToX/ImageLoader.js"],"sourcesContent":["// Image component that loads from a URL provided in the right panel\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/**\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */export default function ImageLoader(props){const{imageUrl=\"https://framerusercontent.com/images/GfGkADagM4KEibNcIiRUWlfrR0.jpg\",alt=\"Image\",objectFit=\"cover\",style}=props;return /*#__PURE__*/_jsx(\"div\",{style:{position:\"relative\",width:\"100%\",height:\"100%\",overflow:\"hidden\",...style,borderRadius:props.radius},children:/*#__PURE__*/_jsx(\"img\",{src:imageUrl,alt:alt,style:{width:\"100%\",height:\"100%\",objectFit:objectFit,display:\"block\"}})});}addPropertyControls(ImageLoader,{imageUrl:{type:ControlType.String,title:\"Image URL\",defaultValue:\"https://framerusercontent.com/images/GfGkADagM4KEibNcIiRUWlfrR0.jpg\",placeholder:\"Paste image URL...\"},alt:{type:ControlType.String,title:\"Alt Text\",defaultValue:\"Image\",placeholder:\"Describe the image...\"},objectFit:{type:ControlType.Enum,title:\"Object Fit\",options:[\"contain\",\"cover\",\"fill\",\"none\",\"scale-down\"],optionTitles:[\"Contain\",\"Cover\",\"Fill\",\"None\",\"Scale Down\"],defaultValue:\"cover\",displaySegmentedControl:false},radius:{type:ControlType.Number,title:\"Radius\",defaultValue:8,min:0,max:64,unit:\"px\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ImageLoader\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"fixed\",\"framerSupportedLayoutWidth\":\"fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ImageLoader.map"],"mappings":"4JAIG,SAAwB,EAAY,EAAM,CAAC,GAAK,CAAC,WAAS,sEAAsE,MAAI,QAAQ,YAAU,QAAQ,SAAO,EAAM,OAAoB,EAAK,MAAM,CAAC,MAAM,CAAC,SAAS,WAAW,MAAM,OAAO,OAAO,OAAO,SAAS,SAAS,GAAG,EAAM,aAAa,EAAM,OAAO,CAAC,SAAsB,EAAK,MAAM,CAAC,IAAI,EAAa,MAAI,MAAM,CAAC,MAAM,OAAO,OAAO,OAAiB,YAAU,QAAQ,QAAQ,CAAC,CAAC,CAAC,CAAC,kBAHhZ,IAAoD,CAG8V,EAAoB,EAAY,CAAC,SAAS,CAAC,KAAK,EAAY,OAAO,MAAM,YAAY,aAAa,sEAAsE,YAAY,qBAAqB,CAAC,IAAI,CAAC,KAAK,EAAY,OAAO,MAAM,WAAW,aAAa,QAAQ,YAAY,wBAAwB,CAAC,UAAU,CAAC,KAAK,EAAY,KAAK,MAAM,aAAa,QAAQ,CAAC,UAAU,QAAQ,OAAO,OAAO,aAAa,CAAC,aAAa,CAAC,UAAU,QAAQ,OAAO,OAAO,aAAa,CAAC,aAAa,QAAQ,wBAAwB,GAAM,CAAC,OAAO,CAAC,KAAK,EAAY,OAAO,MAAM,SAAS,aAAa,EAAE,IAAI,EAAE,IAAI,GAAG,KAAK,KAAK,CAAC,CAAC"}