{"version":3,"file":"BackgroundImage.0QrI-5pd.mjs","names":[],"sources":["https:/framerusercontent.com/modules/9WTXQox8y03uCsywCZui/f8WySproJeonj7yfMLHC/BackgroundImage.js"],"sourcesContent":["// Simple background component with configurable image\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/**\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */export default function BackgroundImage(props){const{backgroundImage={src:\"https://framerusercontent.com/images/GfGkADagM4KEibNcIiRUWlfrR0.jpg\",alt:\"Background\"},objectFit,objectPosition,opacity,link,style}=props;const content=/*#__PURE__*/_jsx(\"img\",{src:backgroundImage.src,alt:backgroundImage.alt||\"Background\",style:{width:\"100%\",height:\"100%\",objectFit,objectPosition,opacity,display:\"block\"}});return /*#__PURE__*/_jsx(\"div\",{style:{...style,position:\"relative\",width:\"100%\",height:\"100%\",overflow:\"hidden\"},children:link?/*#__PURE__*/_jsx(\"a\",{href:link,style:{display:\"block\",width:\"100%\",height:\"100%\",cursor:\"pointer\"},children:content}):content});}addPropertyControls(BackgroundImage,{backgroundImage:{type:ControlType.ResponsiveImage,title:\"Image\"},objectFit:{type:ControlType.Enum,title:\"Fit\",options:[\"cover\",\"contain\",\"fill\",\"none\"],optionTitles:[\"Cover\",\"Contain\",\"Fill\",\"None\"],defaultValue:\"cover\",displaySegmentedControl:true},objectPosition:{type:ControlType.String,title:\"Position\",defaultValue:\"center\",placeholder:\"e.g., center, top, bottom\"},opacity:{type:ControlType.Number,title:\"Opacity\",defaultValue:1,min:0,max:1,step:.1},link:{type:ControlType.Link,title:\"Link\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"BackgroundImage\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"fixed\",\"framerSupportedLayoutWidth\":\"fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./BackgroundImage.map"],"mappings":"4JAIG,SAAwB,EAAgB,EAAM,CAAC,GAAK,CAAC,kBAAgB,CAAC,IAAI,sEAAsE,IAAI,aAAa,CAAC,YAAU,iBAAe,UAAQ,OAAK,SAAO,EAAY,EAAqB,EAAK,MAAM,CAAC,IAAI,EAAgB,IAAI,IAAI,EAAgB,KAAK,aAAa,MAAM,CAAC,MAAM,OAAO,OAAO,OAAO,YAAU,iBAAe,UAAQ,QAAQ,QAAQ,CAAC,CAAC,CAAC,OAAoB,EAAK,MAAM,CAAC,MAAM,CAAC,GAAG,EAAM,SAAS,WAAW,MAAM,OAAO,OAAO,OAAO,SAAS,SAAS,CAAC,SAAS,EAAkB,EAAK,IAAI,CAAC,KAAK,EAAK,MAAM,CAAC,QAAQ,QAAQ,MAAM,OAAO,OAAO,OAAO,OAAO,UAAU,CAAC,SAAS,EAAQ,CAAC,CAAC,EAAQ,CAAC,kBAHzmB,IAAoD,CAGujB,EAAoB,EAAgB,CAAC,gBAAgB,CAAC,KAAK,EAAY,gBAAgB,MAAM,QAAQ,CAAC,UAAU,CAAC,KAAK,EAAY,KAAK,MAAM,MAAM,QAAQ,CAAC,QAAQ,UAAU,OAAO,OAAO,CAAC,aAAa,CAAC,QAAQ,UAAU,OAAO,OAAO,CAAC,aAAa,QAAQ,wBAAwB,GAAK,CAAC,eAAe,CAAC,KAAK,EAAY,OAAO,MAAM,WAAW,aAAa,SAAS,YAAY,4BAA4B,CAAC,QAAQ,CAAC,KAAK,EAAY,OAAO,MAAM,UAAU,aAAa,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,GAAG,CAAC,KAAK,CAAC,KAAK,EAAY,KAAK,MAAM,OAAO,CAAC,CAAC"}