{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/oWUCfBZY3zPgbcs5vl4m/FBCurXOkuXfeAuYAUO4U/Background_Image.js"],
  "sourcesContent": ["import { jsx as _jsx } from \"react/jsx-runtime\";\nimport { addPropertyControls, ControlType } from \"framer\";\nexport default function BackgroundImage({\n  backgroundPosition,\n  filepath\n}) {\n  return /*#__PURE__*/_jsx(\"div\", {\n    style: {\n      width: \"100%\",\n      height: \"100%\",\n      background: `url(${filepath})`,\n      backgroundSize: \"cover\",\n      backgroundPosition: `${backgroundPosition.yAxis} ${backgroundPosition.xAxis}`\n    }\n  });\n}\n;\nBackgroundImage.defaultProps = {\n  backgroundPosition: {\n    yAxis: \"center\",\n    xAxis: \"center\"\n  }\n};\naddPropertyControls(BackgroundImage, {\n  filepath: {\n    title: \"Image\",\n    type: ControlType.File,\n    allowedFileTypes: [\"png\", \"jpg\", \"jpeg\", \"svg\"]\n  },\n  backgroundPosition: {\n    type: ControlType.Object,\n    controls: {\n      yAxis: {\n        title: \"Y Axis\",\n        type: ControlType.Enum,\n        defaultValue: \"center\",\n        displaySegmentedControl: true,\n        segmentedControlDirection: \"vertical\",\n        options: [\"center\", \"top\", \"bottom\"],\n        optionTitles: [\"center\", \"top\", \"bottom\"]\n      },\n      xAxis: {\n        title: \"X Axis\",\n        type: ControlType.Enum,\n        defaultValue: \"center\",\n        displaySegmentedControl: true,\n        segmentedControlDirection: \"vertical\",\n        options: [\"center\", \"left\", \"right\"],\n        optionTitles: [\"center\", \"left\", \"right\"]\n      }\n    }\n  }\n});\nexport const __FramerMetadata__ = {\n  \"exports\": {\n    \"default\": {\n      \"type\": \"reactComponent\",\n      \"name\": \"BackgroundImage\",\n      \"slots\": [],\n      \"annotations\": {\n        \"framerContractVersion\": \"1\"\n      }\n    },\n    \"__FramerMetadata__\": {\n      \"type\": \"variable\"\n    }\n  }\n};\n//# sourceMappingURL=./Background_Image.map"],
  "mappings": "yFAEe,SAARA,EAAiC,CACtC,mBAAAC,EACA,SAAAC,CACF,EAAG,CACD,OAAoBC,EAAK,MAAO,CAC9B,MAAO,CACL,MAAO,OACP,OAAQ,OACR,WAAY,OAAOD,KACnB,eAAgB,QAChB,mBAAoB,GAAGD,EAAmB,SAASA,EAAmB,OACxE,CACF,CAAC,CACH,CAEAD,EAAgB,aAAe,CAC7B,mBAAoB,CAClB,MAAO,SACP,MAAO,QACT,CACF,EACAI,EAAoBJ,EAAiB,CACnC,SAAU,CACR,MAAO,QACP,KAAMK,EAAY,KAClB,iBAAkB,CAAC,MAAO,MAAO,OAAQ,KAAK,CAChD,EACA,mBAAoB,CAClB,KAAMA,EAAY,OAClB,SAAU,CACR,MAAO,CACL,MAAO,SACP,KAAMA,EAAY,KAClB,aAAc,SACd,wBAAyB,GACzB,0BAA2B,WAC3B,QAAS,CAAC,SAAU,MAAO,QAAQ,EACnC,aAAc,CAAC,SAAU,MAAO,QAAQ,CAC1C,EACA,MAAO,CACL,MAAO,SACP,KAAMA,EAAY,KAClB,aAAc,SACd,wBAAyB,GACzB,0BAA2B,WAC3B,QAAS,CAAC,SAAU,OAAQ,OAAO,EACnC,aAAc,CAAC,SAAU,OAAQ,OAAO,CAC1C,CACF,CACF,CACF,CAAC",
  "names": ["BackgroundImage", "backgroundPosition", "filepath", "p", "addPropertyControls", "ControlType"]
}
