{"version":3,"file":"GtagConversion.BEbefGVK.mjs","names":[],"sources":["https:/framerusercontent.com/modules/YVZiVsaB0UjvuOXoCano/NG6alvBiQX0GqWtFMVb8/GtagConversion.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";export function withGtagConversion(Component){return props=>{return /*#__PURE__*/_jsx(Component,{...props,onClick:e=>{// Prevent the current tab from navigating\ne.preventDefault();e.stopPropagation();// Fire Google Ads conversion\nif(typeof window.gtag===\"function\"){window.gtag(\"event\",\"conversion\",{send_to:\"AW-16643879337/s8goCMGmk5IcEKnjtYA-\"});}// Find the closest anchor and open in new tab\nconst anchor=e.target.closest(\"a\");const href=anchor?.href||props.href;if(href){window.open(href,\"_blank\",\"noopener,noreferrer\");}}});};}\nexport const __FramerMetadata__ = {\"exports\":{\"withGtagConversion\":{\"type\":\"reactHoc\",\"name\":\"withGtagConversion\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./GtagConversion.map"],"mappings":"kHAA2C,SAAgB,EAAmB,EAAU,CAAC,MAAO,IAA4B,EAAK,EAAU,CAAC,GAAG,EAAM,QAAQ,GAAG,CAChK,EAAE,gBAAgB,CAAC,EAAE,iBAAiB,CACnC,OAAO,EAAO,MAAO,YAAY,EAAO,KAAK,QAAQ,aAAa,CAAC,QAAQ,sCAAsC,CAAC,CAClF,IAAM,EAA5B,EAAE,OAAO,QAAQ,IAAI,EAAoB,MAAM,EAAM,KAAQ,GAAM,EAAO,KAAK,EAAK,SAAS,sBAAsB,EAAI,CAAC,sBAH1F"}