{"version":3,"file":"ImageDisplay.CSWPObAl.mjs","names":[],"sources":["https:/framerusercontent.com/modules/IriePqrNyXsAiIvUDNi5/WYtKeHUR2PiuzJRBabIW/ImageDisplay.js"],"sourcesContent":["// Component that displays an image from a URL (e.g., R2 storage link)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/**\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */export default function ImageDisplay(props){const{imageUrl=\"https://framerusercontent.com/images/GfGkADagM4KEibNcIiRUWlfrR0.jpg\",alt=\"Image from R2\",objectFit=\"cover\",objectPosition=\"center\",borderRadius=0,style}=props;return /*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\",height:\"100%\",position:\"relative\",overflow:\"hidden\",borderRadius:`${borderRadius}px`,...style},children:/*#__PURE__*/_jsx(\"img\",{src:imageUrl,alt:alt,style:{width:\"100%\",height:\"100%\",objectFit:objectFit,objectPosition:objectPosition,display:\"block\"}})});}addPropertyControls(ImageDisplay,{imageUrl:{type:ControlType.String,title:\"Image URL\",defaultValue:\"https://framerusercontent.com/images/GfGkADagM4KEibNcIiRUWlfrR0.jpg\",placeholder:\"Paste your R2 image URL...\"},alt:{type:ControlType.String,title:\"Alt Text\",defaultValue:\"Image from R2\",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},objectPosition:{type:ControlType.Enum,title:\"Alignment\",options:[\"center\",\"top\",\"bottom\",\"left\",\"right\",\"top left\",\"top right\",\"bottom left\",\"bottom right\"],optionTitles:[\"Center\",\"Top\",\"Bottom\",\"Left\",\"Right\",\"Top Left\",\"Top Right\",\"Bottom Left\",\"Bottom Right\"],defaultValue:\"center\",displaySegmentedControl:false},borderRadius:{type:ControlType.Number,title:\"Border Radius\",defaultValue:0,min:0,max:100,step:1,unit:\"px\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ImageDisplay\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"fixed\",\"framerSupportedLayoutWidth\":\"fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ImageDisplay.map"],"mappings":"4JAIG,SAAwB,EAAa,EAAM,CAAC,GAAK,CAAC,WAAS,sEAAsE,MAAI,gBAAgB,YAAU,QAAQ,iBAAe,SAAS,eAAa,EAAE,SAAO,EAAM,OAAoB,EAAK,MAAM,CAAC,MAAM,CAAC,MAAM,OAAO,OAAO,OAAO,SAAS,WAAW,SAAS,SAAS,aAAa,GAAG,EAAa,IAAI,GAAG,EAAM,CAAC,SAAsB,EAAK,MAAM,CAAC,IAAI,EAAa,MAAI,MAAM,CAAC,MAAM,OAAO,OAAO,OAAiB,YAAyB,iBAAe,QAAQ,QAAQ,CAAC,CAAC,CAAC,CAAC,kBAHre,IAAoD,CAGmb,EAAoB,EAAa,CAAC,SAAS,CAAC,KAAK,EAAY,OAAO,MAAM,YAAY,aAAa,sEAAsE,YAAY,6BAA6B,CAAC,IAAI,CAAC,KAAK,EAAY,OAAO,MAAM,WAAW,aAAa,gBAAgB,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,eAAe,CAAC,KAAK,EAAY,KAAK,MAAM,YAAY,QAAQ,CAAC,SAAS,MAAM,SAAS,OAAO,QAAQ,WAAW,YAAY,cAAc,eAAe,CAAC,aAAa,CAAC,SAAS,MAAM,SAAS,OAAO,QAAQ,WAAW,YAAY,cAAc,eAAe,CAAC,aAAa,SAAS,wBAAwB,GAAM,CAAC,aAAa,CAAC,KAAK,EAAY,OAAO,MAAM,gBAAgB,aAAa,EAAE,IAAI,EAAE,IAAI,IAAI,KAAK,EAAE,KAAK,KAAK,CAAC,CAAC"}