{"version":3,"file":"ImageComponent.DbbUAQCr.mjs","names":[],"sources":["https:/framerusercontent.com/modules/Lof2o3eNdiqn8suk5flq/G2lUv4ya78KzrviAuZQi/ImageComponent.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{Frame,addPropertyControls,ControlType}from\"framer\";export function ImageComponent(props){const{imageUrl,fill,filter,radius}=props;const backgroundStyles={contain:`url(${imageUrl}) center / contain no-repeat`,cover:`url(${imageUrl}) center / cover no-repeat`,stretch:`url(${imageUrl}) 0% 0% / 100% 100% no-repeat`,tile:`url(${imageUrl}) 0% 0% / auto auto repeat`};return /*#__PURE__*/_jsx(Frame,{width:\"100%\",height:\"100%\",radius:radius,background:backgroundStyles[fill],style:{filter}});}addPropertyControls(ImageComponent,{imageUrl:{type:ControlType.String,title:\"Image URL\",defaultValue:\"https://via.placeholder.com/150\"},fill:{type:ControlType.Enum,title:\"Fill\",options:[\"contain\",\"cover\",\"stretch\",\"tile\"],optionTitles:[\"Contain\",\"Cover\",\"Stretch\",\"Tile\"],defaultValue:\"cover\"},filter:{type:ControlType.Enum,title:\"Color Transform\",options:[\"none\",\"grayscale(100%)\",\"sepia(100%)\",\"hue-rotate(90deg)\",\"invert(100%)\",\"brightness(150%)\",\"contrast(200%)\"],optionTitles:[\"None\",\"Grayscale\",\"Sepia\",\"Hue Rotate\",\"Invert\",\"Brightness\",\"Contrast\"],defaultValue:\"none\"},radius:{type:ControlType.Number,title:\"Radius\",defaultValue:10,min:0,max:9999}});\nexport const __FramerMetadata__ = {\"exports\":{\"ImageComponent\":{\"type\":\"reactComponent\",\"name\":\"ImageComponent\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ImageComponent.map"],"mappings":"mKAAqG,SAAgB,EAAe,EAAM,CAAC,GAAK,CAAC,WAAS,OAAK,SAAO,UAAQ,EAA+O,OAAoB,EAAK,EAAM,CAAC,MAAM,OAAO,OAAO,OAAc,SAAO,WAAW,CAArS,QAAQ,OAAO,EAAS,8BAA8B,MAAM,OAAO,EAAS,4BAA4B,QAAQ,OAAO,EAAS,+BAA+B,KAAK,OAAO,EAAS,2BAAgI,EAAE,GAAM,MAAM,CAAC,QAAM,CAAC,CAAC,CAAE,iBAA/e,IAA0D,EAAsb,EAAoB,EAAe,CAAC,SAAS,CAAC,KAAK,EAAY,OAAO,MAAM,YAAY,aAAa,iCAAiC,EAAE,KAAK,CAAC,KAAK,EAAY,KAAK,MAAM,OAAO,QAAQ,CAAC,UAAU,QAAQ,UAAU,MAAM,EAAE,aAAa,CAAC,UAAU,QAAQ,UAAU,MAAM,EAAE,aAAa,OAAO,EAAE,OAAO,CAAC,KAAK,EAAY,KAAK,MAAM,kBAAkB,QAAQ,CAAC,OAAO,kBAAkB,cAAc,oBAAoB,eAAe,mBAAmB,gBAAgB,EAAE,aAAa,CAAC,OAAO,YAAY,QAAQ,aAAa,SAAS,aAAa,UAAU,EAAE,aAAa,MAAM,EAAE,OAAO,CAAC,KAAK,EAAY,OAAO,MAAM,SAAS,aAAa,GAAG,IAAI,EAAE,IAAI,IAAI,CAAC,CAAC"}