{"version":3,"file":"ImageURL.DYtp0Xya.mjs","names":[],"sources":["https:/framerusercontent.com/modules/Mk85nDdEsJ2h0fk1kNkR/IwC6YCcn2Kzww7lzLT3t/ImageURL.js"],"sourcesContent":["// Image component with URL input and native Framer image controls\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/**\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */export default function ImageURL(props){const{imageURL=\"https://framerusercontent.com/images/GfGkADagM4KEibNcIiRUWlfrR0.jpg\",alt=\"\",fit=\"fill\",positionX=\"50%\",positionY=\"50%\",radius=0,style}=props;const objectFitMap={fill:\"cover\",fit:\"contain\",stretch:\"fill\"};return /*#__PURE__*/_jsx(\"div\",{style:{...style,width:\"100%\",height:\"100%\",overflow:\"hidden\",borderRadius:radius,position:\"relative\"},children:/*#__PURE__*/_jsx(\"img\",{src:imageURL,alt:alt,style:{width:\"100%\",height:\"100%\",objectFit:objectFitMap[fit],objectPosition:`${positionX} ${positionY}`}})});}addPropertyControls(ImageURL,{imageURL:{type:ControlType.String,title:\"Image URL\",defaultValue:\"https://framerusercontent.com/images/GfGkADagM4KEibNcIiRUWlfrR0.jpg\",placeholder:\"https://example.com/image.jpg\"},alt:{type:ControlType.String,title:\"Alt Text\",defaultValue:\"\",placeholder:\"Image description\"},fit:{type:ControlType.Enum,title:\"Fit\",options:[\"fill\",\"fit\",\"stretch\"],optionTitles:[\"Fill\",\"Fit\",\"Stretch\"],defaultValue:\"fill\"},positionX:{type:ControlType.Enum,title:\"Position X\",options:[\"0%\",\"25%\",\"50%\",\"75%\",\"100%\"],optionTitles:[\"Left\",\"25%\",\"Center\",\"75%\",\"Right\"],defaultValue:\"50%\"},positionY:{type:ControlType.Enum,title:\"Position Y\",options:[\"0%\",\"25%\",\"50%\",\"75%\",\"100%\"],optionTitles:[\"Top\",\"25%\",\"Center\",\"75%\",\"Bottom\"],defaultValue:\"50%\"},radius:{type:ControlType.Number,title:\"Radius\",defaultValue:0,min:0,max:200,step:1,unit:\"px\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ImageURL\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"fixed\",\"framerSupportedLayoutWidth\":\"fixed\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ImageURL.map"],"mappings":"6JAIG,SAAwB,EAAS,EAAM,CAAC,GAAK,CAAC,WAAS,sEAAsE,MAAI,GAAG,MAAI,OAAO,YAAU,MAAM,YAAU,MAAM,SAAO,EAAE,SAAO,EAAY,EAAa,CAAC,KAAK,QAAQ,IAAI,UAAU,QAAQ,OAAO,CAAC,OAAoB,EAAK,MAAM,CAAC,MAAM,CAAC,GAAG,EAAM,MAAM,OAAO,OAAO,OAAO,SAAS,SAAS,aAAa,EAAO,SAAS,WAAW,CAAC,SAAsB,EAAK,MAAM,CAAC,IAAI,EAAa,MAAI,MAAM,CAAC,MAAM,OAAO,OAAO,OAAO,UAAU,EAAa,GAAK,eAAe,GAAG,EAAU,GAAG,IAAY,CAAC,CAAC,CAAC,CAAC,kBAHtgB,IAAoD,CAGod,EAAoB,EAAS,CAAC,SAAS,CAAC,KAAK,EAAY,OAAO,MAAM,YAAY,aAAa,sEAAsE,YAAY,gCAAgC,CAAC,IAAI,CAAC,KAAK,EAAY,OAAO,MAAM,WAAW,aAAa,GAAG,YAAY,oBAAoB,CAAC,IAAI,CAAC,KAAK,EAAY,KAAK,MAAM,MAAM,QAAQ,CAAC,OAAO,MAAM,UAAU,CAAC,aAAa,CAAC,OAAO,MAAM,UAAU,CAAC,aAAa,OAAO,CAAC,UAAU,CAAC,KAAK,EAAY,KAAK,MAAM,aAAa,QAAQ,CAAC,KAAK,MAAM,MAAM,MAAM,OAAO,CAAC,aAAa,CAAC,OAAO,MAAM,SAAS,MAAM,QAAQ,CAAC,aAAa,MAAM,CAAC,UAAU,CAAC,KAAK,EAAY,KAAK,MAAM,aAAa,QAAQ,CAAC,KAAK,MAAM,MAAM,MAAM,OAAO,CAAC,aAAa,CAAC,MAAM,MAAM,SAAS,MAAM,SAAS,CAAC,aAAa,MAAM,CAAC,OAAO,CAAC,KAAK,EAAY,OAAO,MAAM,SAAS,aAAa,EAAE,IAAI,EAAE,IAAI,IAAI,KAAK,EAAE,KAAK,KAAK,CAAC,CAAC"}