{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/1zvr2gw2JfzEkZJjEsdp/9iPrP0NPvZnb7LtCUUcX/Download_Button_Ubi.js"],
  "sourcesContent": ["import{jsx as _jsx}from\"react/jsx-runtime\";import{motion}from\"framer-motion\";import{addPropertyControls,ControlType}from\"framer\";// Welcome to Code in Framer\n// Get Started: https://www.framer.com/docs/guides/\n/**\n * These annotations control how your component sizes\n * Learn more: https://www.framer.com/docs/guides/auto-sizing\n *\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n */export default function Download(props){const{title,tint,style,file}=props;return /*#__PURE__*/_jsx(motion.div,{style:{...style,...containerStyle},children:/*#__PURE__*/_jsx(motion.div,{onTap:()=>{const link=document.createElement(\"a\");link.href=file;link.download=\"download\";document.body.appendChild(link);link.click();link.remove();},style:{margin:40,padding:20,borderRadius:5,backgroundColor:tint,color:\"white\",fontSize:\"2em\",fontWeight:\"regular\"},whileHover:{scale:1.01},children:title})});}Download.defaultProps={tint:\"#09F\",title:\"Download\"};addPropertyControls(Download,{tint:{title:\"Tint\",type:ControlType.Color},title:{title:\"Label\",type:ControlType.String},file:{title:\"File\",type:ControlType.File,allowedFileTypes:[]}});const containerStyle={display:\"flex\",justifyContent:\"center\",alignItems:\"center\",overflow:\"hidden\"};\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Download\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"any\",\"framerSupportedLayoutHeight\":\"any\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Download_Button_Ubi.map"],
  "mappings": "gGAQkB,SAARA,EAA0BC,EAAM,CAAC,GAAK,CAAC,MAAAC,EAAM,KAAAC,EAAK,MAAAC,EAAM,KAAAC,CAAI,EAAEJ,EAAM,OAAoBK,EAAKC,EAAO,IAAI,CAAC,MAAM,CAAC,GAAGH,EAAM,GAAGI,CAAc,EAAE,SAAsBF,EAAKC,EAAO,IAAI,CAAC,MAAM,IAAI,CAAC,IAAME,EAAK,SAAS,cAAc,GAAG,EAAEA,EAAK,KAAKJ,EAAKI,EAAK,SAAS,WAAW,SAAS,KAAK,YAAYA,CAAI,EAAEA,EAAK,MAAM,EAAEA,EAAK,OAAO,CAAE,EAAE,MAAM,CAAC,OAAO,GAAG,QAAQ,GAAG,aAAa,EAAE,gBAAgBN,EAAK,MAAM,QAAQ,SAAS,MAAM,WAAW,SAAS,EAAE,WAAW,CAAC,MAAM,IAAI,EAAE,SAASD,CAAK,CAAC,CAAC,CAAC,CAAE,CAACF,EAAS,aAAa,CAAC,KAAK,OAAO,MAAM,UAAU,EAAEU,EAAoBV,EAAS,CAAC,KAAK,CAAC,MAAM,OAAO,KAAKW,EAAY,KAAK,EAAE,MAAM,CAAC,MAAM,QAAQ,KAAKA,EAAY,MAAM,EAAE,KAAK,CAAC,MAAM,OAAO,KAAKA,EAAY,KAAK,iBAAiB,CAAC,CAAC,CAAC,CAAC,EAAE,IAAMH,EAAe,CAAC,QAAQ,OAAO,eAAe,SAAS,WAAW,SAAS,SAAS,QAAQ",
  "names": ["Download", "props", "title", "tint", "style", "file", "p", "motion", "containerStyle", "link", "addPropertyControls", "ControlType"]
}
