{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/NrS7yFxrwAnlLdIhlut6/lXah0TElkSD1aMkEyfd8/FluidImage.js"],
  "sourcesContent": ["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/**\n * These annotations control how your component sizes\n * Learn more: https://www.framer.com/docs/guides/auto-sizing\n *\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight auto\n */ export default function FluidImage(props){const{image,altText,altTextSuffix}=props;const getCustomAltText=()=>{let newAlt=\"\";if(altTextSuffix&&altTextSuffix.trim()!==\"\"){newAlt=altTextSuffix;}if(altText&&altText.trim()!==\"\"){newAlt=newAlt+altText;}if(newAlt!==\"\"){return newAlt;}return null;};return /*#__PURE__*/ _jsxs(\"div\",{style:containerStyle,children:[!image&&/*#__PURE__*/ _jsx(\"div\",{style:{...missingImageStyle},children:\"Needs an image!\"}),image&&/*#__PURE__*/ _jsx(\"img\",{src:image.src,srcSet:image.srcSet,alt:getCustomAltText()?getCustomAltText():image.alt,style:imageStyle})]});};const containerStyle={display:\"flex\",height:\"100%\"};const missingImageStyle={padding:10,background:\"#f0f0f0\"};const imageStyle={display:\"block\",width:\"100%\",height:\"auto\"};addPropertyControls(FluidImage,{image:{title:\"Image\",type:ControlType.ResponsiveImage},altTextSuffix:{title:\"Alt suffix\",type:ControlType.String},altText:{title:\"Alt Text\",type:ControlType.String}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FluidImage\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"auto\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./FluidImage.map"],
  "mappings": "gGAMmB,SAARA,EAA4BC,EAAM,CAAC,GAAK,CAAC,MAAAC,EAAM,QAAAC,EAAQ,cAAAC,CAAa,EAAEH,EAAYI,EAAiB,IAAI,CAAC,IAAIC,EAAO,GAA8H,OAAxHF,GAAeA,EAAc,KAAK,IAAI,KAAIE,EAAOF,GAAkBD,GAASA,EAAQ,KAAK,IAAI,KAAIG,EAAOA,EAAOH,GAAYG,IAAS,GAAWA,EAAe,IAAK,EAAE,OAAqBC,EAAM,MAAM,CAAC,MAAMC,EAAe,SAAS,CAAC,CAACN,GAAqBO,EAAK,MAAM,CAAC,MAAM,CAAC,GAAGC,CAAiB,EAAE,SAAS,iBAAiB,CAAC,EAAER,GAAqBO,EAAK,MAAM,CAAC,IAAIP,EAAM,IAAI,OAAOA,EAAM,OAAO,IAAIG,EAAiB,EAAEA,EAAiB,EAAEH,EAAM,IAAI,MAAMS,CAAU,CAAC,CAAC,CAAC,CAAC,CAAE,CAAE,IAAMH,EAAe,CAAC,QAAQ,OAAO,OAAO,MAAM,EAAQE,EAAkB,CAAC,QAAQ,GAAG,WAAW,SAAS,EAAQC,EAAW,CAAC,QAAQ,QAAQ,MAAM,OAAO,OAAO,MAAM,EAAEC,EAAoBZ,EAAW,CAAC,MAAM,CAAC,MAAM,QAAQ,KAAKa,EAAY,eAAe,EAAE,cAAc,CAAC,MAAM,aAAa,KAAKA,EAAY,MAAM,EAAE,QAAQ,CAAC,MAAM,WAAW,KAAKA,EAAY,MAAM,CAAC,CAAC",
  "names": ["FluidImage", "props", "image", "altText", "altTextSuffix", "getCustomAltText", "newAlt", "u", "containerStyle", "p", "missingImageStyle", "imageStyle", "addPropertyControls", "ControlType"]
}
