{"version":3,"file":"Image.BdZGRWHH.mjs","names":[],"sources":["https:/framerusercontent.com/modules/36Ad69EB02LMXtJ6IwoE/epT2MDGvcs8UdlEcIcCu/Image.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";export default function DealImage({imageUrl,objectFit=\"contain\",borderRadius=8,style}){const baseStyle={width:\"100%\",height:\"100%\",position:\"relative\",borderRadius,overflow:\"hidden\",...style};if(!imageUrl)return /*#__PURE__*/_jsx(\"div\",{style:{...baseStyle,background:\"#1a1a2e\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\"},children:/*#__PURE__*/_jsx(\"span\",{style:{color:\"#666\"},children:\"No image\"})});return /*#__PURE__*/_jsx(\"div\",{style:baseStyle,children:/*#__PURE__*/_jsx(\"img\",{src:imageUrl,alt:\"Vehicle\",style:{width:\"100%\",height:\"100%\",objectFit,display:\"block\"}})});}addPropertyControls(DealImage,{imageUrl:{type:ControlType.String,title:\"Image URL\",defaultValue:\"\"},objectFit:{type:ControlType.Enum,title:\"Fit\",options:[\"contain\",\"cover\",\"fill\"],optionTitles:[\"Contain\",\"Cover\",\"Fill\"],defaultValue:\"contain\"},borderRadius:{type:ControlType.Number,title:\"Radius\",defaultValue:8,min:0,max:32,step:1}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"DealImage\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Image.map"],"mappings":"4JAA+F,SAAwB,EAAU,CAAC,WAAS,YAAU,UAAU,eAAa,EAAE,SAAO,CAAC,IAAM,EAAU,CAAC,MAAM,OAAO,OAAO,OAAO,SAAS,WAAW,eAAa,SAAS,SAAS,GAAG,CAAK,EAAoO,OAA9N,EAAkP,EAAK,MAAM,CAAC,MAAM,EAAU,SAAsB,EAAK,MAAM,CAAC,IAAI,EAAS,IAAI,UAAU,MAAM,CAAC,MAAM,OAAO,OAAO,OAAO,YAAU,QAAQ,OAAO,CAAC,CAAC,CAAC,CAAC,EAA7W,EAAK,MAAM,CAAC,MAAM,CAAC,GAAG,EAAU,WAAW,UAAU,QAAQ,OAAO,WAAW,SAAS,eAAe,QAAQ,EAAE,SAAsB,EAAK,OAAO,CAAC,MAAM,CAAC,MAAM,MAAM,EAAE,SAAS,UAAU,CAAC,CAAC,CAAC,CAAgL,iBAAroB,IAAoD,EAAklB,EAAoB,EAAU,CAAC,SAAS,CAAC,KAAK,EAAY,OAAO,MAAM,YAAY,aAAa,EAAE,EAAE,UAAU,CAAC,KAAK,EAAY,KAAK,MAAM,MAAM,QAAQ,CAAC,UAAU,QAAQ,MAAM,EAAE,aAAa,CAAC,UAAU,QAAQ,MAAM,EAAE,aAAa,SAAS,EAAE,aAAa,CAAC,KAAK,EAAY,OAAO,MAAM,SAAS,aAAa,EAAE,IAAI,EAAE,IAAI,GAAG,KAAK,CAAC,CAAC,CAAC"}