{"version":3,"file":"ImageLink.DaCF2UGZ.mjs","names":[],"sources":["https:/framerusercontent.com/modules/iL2HrILDbOj4z21zEx49/06XqTxWMircR1uHD40yn/ImageLink.js"],"sourcesContent":["// Image component that uses a link property to render the link as the background\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/**\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */export default function ImageLink(props){const{link=\"\",alt=\"Image\",objectFit=\"cover\",fallbackLink=\"https://framerusercontent.com/images/aNsAT3jCvt4zglbWCUoFe33Q.jpg\"}=props;const imageUrl=link||fallbackLink;return /*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\",height:\"100%\",backgroundImage:`url(${imageUrl})`,backgroundSize:objectFit===\"cover\"?\"cover\":objectFit===\"contain\"?\"contain\":\"100% 100%\",backgroundPosition:\"center\",backgroundRepeat:\"no-repeat\",...props.style},role:\"img\",\"aria-label\":alt});}addPropertyControls(ImageLink,{link:{type:ControlType.Link,title:\"Image URL\",defaultValue:\"\"},alt:{type:ControlType.String,title:\"Alt Text\",defaultValue:\"Image\"},objectFit:{type:ControlType.Enum,title:\"Object Fit\",options:[\"cover\",\"contain\",\"fill\",\"scale-down\",\"none\"],optionTitles:[\"Cover\",\"Contain\",\"Fill\",\"Scale Down\",\"None\"],defaultValue:\"cover\",displaySegmentedControl:true},fallbackLink:{type:ControlType.Link,title:\"Fallback URL\",defaultValue:\"https://framerusercontent.com/images/aNsAT3jCvt4zglbWCUoFe33Q.jpg\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ImageLink\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"fixed\",\"framerSupportedLayoutWidth\":\"fixed\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ImageLink.map"],"mappings":"iOAIG,SAAwB,EAAU,EAAM,CAAC,GAAK,CAAC,OAAK,GAAG,MAAI,QAAQ,YAAU,QAAQ,eAAa,qEAAqE,EAAwC,OAAoB,EAAK,MAAM,CAAC,MAAM,CAAC,MAAM,OAAO,OAAO,OAAO,gBAAgB,OAArG,GAAM,EAA+G,GAAG,eAAe,IAAY,QAAQ,QAAQ,IAAY,UAAU,UAAU,YAAY,mBAAmB,SAAS,iBAAiB,YAAY,GAAG,EAAM,MAAM,CAAC,KAAK,MAAM,aAAa,EAAI,CAAC,kBAHzc,IAAoD,CAGuZ,EAAoB,EAAU,CAAC,KAAK,CAAC,KAAK,EAAY,KAAK,MAAM,YAAY,aAAa,GAAG,CAAC,IAAI,CAAC,KAAK,EAAY,OAAO,MAAM,WAAW,aAAa,QAAQ,CAAC,UAAU,CAAC,KAAK,EAAY,KAAK,MAAM,aAAa,QAAQ,CAAC,QAAQ,UAAU,OAAO,aAAa,OAAO,CAAC,aAAa,CAAC,QAAQ,UAAU,OAAO,aAAa,OAAO,CAAC,aAAa,QAAQ,wBAAwB,GAAK,CAAC,aAAa,CAAC,KAAK,EAAY,KAAK,MAAM,eAAe,aAAa,oEAAoE,CAAC,CAAC"}