{"version":3,"file":"Image.DMYVhHNT.mjs","names":[],"sources":["https:/framerusercontent.com/modules/UfpyqN7ZgbLPKzoezWmZ/lvEwwoMxn08LilwEVVp6/Image.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n * @framerIntrinsicWidth 400\n * @framerIntrinsicHeight 300\n */export default function OptimizedImage(props){const{image,highPriority,objectFit,radius,style}=props;if(!image?.src)return null;return /*#__PURE__*/_jsx(\"img\",{src:image.src,alt:image.alt||\"\",loading:highPriority?\"eager\":\"lazy\",fetchPriority:highPriority?\"high\":\"auto\",decoding:\"async\",style:{width:\"100%\",height:\"100%\",objectFit,borderRadius:`${radius.topLeft}px ${radius.topRight}px ${radius.bottomRight}px ${radius.bottomLeft}px`,display:\"block\",...style}});}OptimizedImage.displayName=\"Optimized Image\";addPropertyControls(OptimizedImage,{image:{type:ControlType.ResponsiveImage,title:\"Image\"},highPriority:{type:ControlType.Boolean,title:\"High Priority (Hero)\",defaultValue:false},objectFit:{type:ControlType.Enum,title:\"Object Fit\",options:[\"cover\",\"contain\",\"fill\",\"none\",\"scale-down\"],optionTitles:[\"Cover\",\"Contain\",\"Fill\",\"None\",\"Scale Down\"],defaultValue:\"cover\"},radius:{type:ControlType.FusedNumber,title:\"Radius\",defaultValue:0,toggleKey:\"isMixed\",toggleTitles:[\"All\",\"Individual\"],valueKeys:[\"topLeft\",\"topRight\",\"bottomRight\",\"bottomLeft\"],valueLabels:[\"TL\",\"TR\",\"BR\",\"BL\"],min:0,unit:\"px\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"OptimizedImage\",\"slots\":[],\"annotations\":{\"framerIntrinsicHeight\":\"300\",\"framerContractVersion\":\"1\",\"framerIntrinsicWidth\":\"400\",\"framerSupportedLayoutWidth\":\"any\",\"framerSupportedLayoutHeight\":\"any\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Image.map"],"mappings":"4JAKG,SAAwB,EAAe,EAAM,CAAC,GAAK,CAAC,QAAM,eAAa,YAAU,SAAO,SAAO,EAAiC,OAAvB,GAAO,IAAoC,EAAK,MAAM,CAAC,IAAI,EAAM,IAAI,IAAI,EAAM,KAAK,GAAG,QAAQ,EAAa,QAAQ,OAAO,cAAc,EAAa,OAAO,OAAO,SAAS,QAAQ,MAAM,CAAC,MAAM,OAAO,OAAO,OAAO,YAAU,aAAa,GAAG,EAAO,QAAQ,KAAK,EAAO,SAAS,KAAK,EAAO,YAAY,KAAK,EAAO,WAAW,IAAI,QAAQ,QAAQ,GAAG,CAAK,CAAC,CAAC,EAAhV,IAAkV,iBALta,IAAoD,EAKmX,EAAe,YAAY,kBAAkB,EAAoB,EAAe,CAAC,MAAM,CAAC,KAAK,EAAY,gBAAgB,MAAM,OAAO,EAAE,aAAa,CAAC,KAAK,EAAY,QAAQ,MAAM,uBAAuB,aAAa,EAAK,EAAE,UAAU,CAAC,KAAK,EAAY,KAAK,MAAM,aAAa,QAAQ,CAAC,QAAQ,UAAU,OAAO,OAAO,YAAY,EAAE,aAAa,CAAC,QAAQ,UAAU,OAAO,OAAO,YAAY,EAAE,aAAa,OAAO,EAAE,OAAO,CAAC,KAAK,EAAY,YAAY,MAAM,SAAS,aAAa,EAAE,UAAU,UAAU,aAAa,CAAC,MAAM,YAAY,EAAE,UAAU,CAAC,UAAU,WAAW,cAAc,YAAY,EAAE,YAAY,CAAC,KAAK,KAAK,KAAK,IAAI,EAAE,IAAI,EAAE,KAAK,IAAI,CAAC,CAAC"}