{"version":3,"file":"shared-lib.CnyTa_ZW.mjs","names":[],"sources":["https:/framerusercontent.com/modules/iSk9lf3rmpMBOJlc0d0f/6a1iyjWPPg8rGgCuYehr/GA4Tracker.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls}from\"framer\";import{useEffect}from\"react\";const GA_ID=\"G-BT1WCYXT29\";export default function GA4Tracker(){useEffect(()=>{if(document.getElementById(\"ga4-script\"))return;const script1=document.createElement(\"script\");script1.id=\"ga4-script\";script1.async=true;script1.src=`https://www.googletagmanager.com/gtag/js?id=${GA_ID}`;document.head.appendChild(script1);const script2=document.createElement(\"script\");script2.id=\"ga4-init\";script2.textContent=`\nwindow.dataLayer = window.dataLayer || [];\nfunction gtag(){dataLayer.push(arguments);}\ngtag('js', new Date());\ngtag('config', '${GA_ID}');\n`;document.head.appendChild(script2);},[]);return /*#__PURE__*/_jsx(\"div\",{style:{width:0,height:0,overflow:\"hidden\",position:\"absolute\",pointerEvents:\"none\"}});}addPropertyControls(GA4Tracker,{});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"GA4Tracker\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./GA4Tracker.map"],"mappings":"mKAA2I,SAAwB,GAAY,CAKpI,OALqI,MAAc,CAAC,GAAG,SAAS,eAAe,aAAa,CAAC,OAAO,IAAM,EAAQ,SAAS,cAAc,SAAS,CAAC,EAAQ,GAAG,aAAa,EAAQ,MAAM,GAAK,EAAQ,IAAI,+CAA+C,IAAQ,SAAS,KAAK,YAAY,EAAQ,CAAC,IAAM,EAAQ,SAAS,cAAc,SAAS,CAAC,EAAQ,GAAG,WAAW,EAAQ,YAAY;;;;kBAItf,EAAM;EACtB,SAAS,KAAK,YAAY,EAAQ,EAAG,EAAE,CAAC,CAAqB,EAAK,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,EAAE,SAAS,SAAS,SAAS,WAAW,cAAc,OAAO,CAAC,CAAC,oBALrH,IAAwC,IAA6B,CAAM,EAAM,eAKsC,EAAoB,EAAW,EAAE,CAAC"}