{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/DeEeWPYDVDkVadRGyiH0/rN6Sto3lxGQFgCRxQcq8/ResponsiveImage.js"],
  "sourcesContent": ["import{jsx as _jsx}from\"react/jsx-runtime\";import{useMemo}from\"react\";import{ControlType,addPropertyControls}from\"framer\";/**\n * These annotations control how your component sizes\n * Learn more: https://www.framer.com/developers/components/auto-sizing\n *\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n */export default function ResponsiveImage({image,style,imageUrl,styleOverrides,isExternalResource}){const objectPosition=useMemo(()=>image?`${image.positionX} ${image.positionY}`:\"center\",[image?.positionX,image?.positionY]);return /*#__PURE__*/_jsx(\"img\",{...image,...isExternalResource?{src:imageUrl}:{},style:{...style,...styleOverrides,objectPosition,width:\"100%\",height:\"auto\",overflow:\"hidden\"}});}addPropertyControls(ResponsiveImage,{isExternalResource:{title:\"Source\",defaultValue:false,type:ControlType.Boolean,enabledTitle:\"URL\",disabledTitle:\"File\"},image:{title:\"Image\",type:ControlType.ResponsiveImage,description:\"Upload a file from your device.\",hidden(props){return props.isExternalResource===true;}},imageUrl:{title:\"URL\",type:ControlType.String,description:\"Hosted image file.\",defaultValue:\"\",hidden(props){return props.isExternalResource===false;}},styleOverrides:{type:ControlType.Object,controls:{aspectRatio:{type:ControlType.String},borderRadius:{type:ControlType.String},objectFit:{type:ControlType.Enum,defaultValue:\"cover\",options:[\"cover\",\"contain\"],optionTitles:[\"Cover\",\"Contain\"]}}}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ResponsiveImage\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ResponsiveImage.map"],
  "mappings": "gEAMkB,SAARA,EAAiC,CAAC,MAAAC,EAAM,MAAAC,EAAM,SAAAC,EAAS,eAAAC,EAAe,mBAAAC,CAAkB,EAAE,CAAC,IAAMC,EAAeC,EAAQ,IAAIN,EAAM,GAAGA,EAAM,SAAS,IAAIA,EAAM,SAAS,GAAG,SAAS,CAACA,GAAO,UAAUA,GAAO,SAAS,CAAC,EAAE,OAAoBO,EAAK,MAAM,CAAC,GAAGP,EAAM,GAAGI,EAAmB,CAAC,IAAIF,CAAQ,EAAE,CAAC,EAAE,MAAM,CAAC,GAAGD,EAAM,GAAGE,EAAe,eAAAE,EAAe,MAAM,OAAO,OAAO,OAAO,SAAS,QAAQ,CAAC,CAAC,CAAE,CAACG,EAAoBT,EAAgB,CAAC,mBAAmB,CAAC,MAAM,SAAS,aAAa,GAAM,KAAKU,EAAY,QAAQ,aAAa,MAAM,cAAc,MAAM,EAAE,MAAM,CAAC,MAAM,QAAQ,KAAKA,EAAY,gBAAgB,YAAY,kCAAkC,OAAOC,EAAM,CAAC,OAAOA,EAAM,qBAAqB,EAAK,CAAC,EAAE,SAAS,CAAC,MAAM,MAAM,KAAKD,EAAY,OAAO,YAAY,qBAAqB,aAAa,GAAG,OAAOC,EAAM,CAAC,OAAOA,EAAM,qBAAqB,EAAM,CAAC,EAAE,eAAe,CAAC,KAAKD,EAAY,OAAO,SAAS,CAAC,YAAY,CAAC,KAAKA,EAAY,MAAM,EAAE,aAAa,CAAC,KAAKA,EAAY,MAAM,EAAE,UAAU,CAAC,KAAKA,EAAY,KAAK,aAAa,QAAQ,QAAQ,CAAC,QAAQ,SAAS,EAAE,aAAa,CAAC,QAAQ,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC",
  "names": ["ResponsiveImage", "image", "style", "imageUrl", "styleOverrides", "isExternalResource", "objectPosition", "se", "p", "addPropertyControls", "ControlType", "props"]
}
