{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/pGaCDjcNMZ5RboViL868/ZPEVS92oL2EoqzB3ofsY/JoinButton_1.js"],
  "sourcesContent": ["// 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 */ import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";const click=typeForm=>{window.dataLayer=window.dataLayer||[];function gtag(){//@ts-ignore\ndataLayer.push(arguments);}//@ts-ignore\ngtag(\"js\",new Date);//@ts-ignore\ngtag(\"config\",\"AW-11061117681\");try{window.fbq(\"track\",\"InitiateCheckout\");window.umami.track(\"ApplyStart\");}catch(error){console.log(error);}const source=new URLSearchParams(window.location.search).get(\"utm_source\")||\"organic\";// This is deprecated\n// fetch(\"https://api.dreamshot.bg/api/proxy\", {\n//     method: \"POST\",\n//     headers: {\n//         \"Content-Type\": \"application/json\",\n//     },\n//     body: JSON.stringify({\n//         agent: navigator.userAgent,\n//         event: \"ApplyStart\",\n//     }),\n// })\n// This is now sent trough Zapier\n// fetch(\"https://api.dreamshot.bg/api/proxy\", {\n//     method: \"POST\",\n//     headers: {\n//         \"Content-Type\": \"application/json\",\n//     },\n//     body: JSON.stringify({\n//         agent: navigator.userAgent,\n//         event: \"InitiateCheckout\",\n//     }),\n// })\nwindow.open(`${typeForm}${window.location.search}#agent=${navigator.userAgent}`,\"_blank\");};export default function JoinButton(props){// This is a React component containing an Example component\n// - Replace <Example /> with your own code\n// - Find inspiration: https://www.framer.com/developers/\nreturn /*#__PURE__*/ _jsx(\"div\",{onClick:()=>{click(props.typeForm);// window.open(props.typeForm)\n},style:containerStyle,children:props.text});};addPropertyControls(JoinButton,{text:{title:\"text\",type:ControlType.String,defaultValue:\"Apply now\"},typeForm:{title:\"Link\",type:ControlType.String}});// Styles are written in object syntax\n// Learn more: https://reactjs.org/docs/dom-elements.html#style\nconst containerStyle={height:50,display:\"flex\",justifyContent:\"center\",alignItems:\"center\",overflow:\"hidden\",backgroundColor:\"white\",color:\"black\",borderRadius:30,fontFamily:\"Poppins\",fontSize:14,fontWeight:\"bold\",textTransform:\"uppercase\",cursor:\"pointer\"};\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"JoinButton\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./JoinButton_1.map"],
  "mappings": "yIAQmG,IAAMA,EAAMC,GAAU,CAACC,EAAO,UAAUA,EAAO,WAAW,CAAC,EAAE,SAASC,GAAM,CAC/K,UAAU,KAAK,SAAS,CAAE,CAC1BA,EAAK,KAAK,IAAI,IAAI,EAClBA,EAAK,SAAS,gBAAgB,EAAE,GAAG,CAACD,EAAO,IAAI,QAAQ,kBAAkB,EAAEA,EAAO,MAAM,MAAM,YAAY,CAAE,OAAOE,EAAM,CAAC,QAAQ,IAAIA,CAAK,CAAE,CAAC,IAAMC,EAAO,IAAI,gBAAgBH,EAAO,SAAS,MAAM,EAAE,IAAI,YAAY,GAAG,UAsB1NA,EAAO,KAAK,GAAGD,CAAQ,GAAGC,EAAO,SAAS,MAAM,UAAUI,EAAU,SAAS,GAAG,QAAQ,CAAE,EAAiB,SAARC,EAA4BC,EAAM,CAGrI,OAAqBC,EAAK,MAAM,CAAC,QAAQ,IAAI,CAACT,EAAMQ,EAAM,QAAQ,CAClE,EAAE,MAAME,EAAe,SAASF,EAAM,IAAI,CAAC,CAAE,CAAEG,EAAoBJ,EAAW,CAAC,KAAK,CAAC,MAAM,OAAO,KAAKK,EAAY,OAAO,aAAa,WAAW,EAAE,SAAS,CAAC,MAAM,OAAO,KAAKA,EAAY,MAAM,CAAC,CAAC,EAEpM,IAAMF,EAAe,CAAC,OAAO,GAAG,QAAQ,OAAO,eAAe,SAAS,WAAW,SAAS,SAAS,SAAS,gBAAgB,QAAQ,MAAM,QAAQ,aAAa,GAAG,WAAW,UAAU,SAAS,GAAG,WAAW,OAAO,cAAc,YAAY,OAAO,SAAS",
  "names": ["click", "typeForm", "window", "gtag", "error", "source", "navigator", "JoinButton", "props", "p", "containerStyle", "addPropertyControls", "ControlType"]
}
