{"mappings":"AAkBA,SAASA,gBAAgBC,GACrB,IAAIC,EAAK,IAAIC,OAAOC,WAAWC,WAAW,CACtCC,QAAS,4BACTC,UAAW,sBACXC,cAAe,2BACfC,eAAe,EACfC,oBAAoB,EACpBC,WAAY,CACRC,UAAWX,EACXY,WAAW,EACXC,IAAKX,OAAOY,SAASC,MAEzBC,iBAAkB,SAAUC,EAAYC,GAMpChB,OAAOiB,UAAUC,KAAK,CAClBC,MAAO,cACPC,OAAQ,gBACRC,OAAQ,uBACRC,iBAAiB,EACjBC,iBAAkBR,EAAWS,IAC7BC,gBAAiBT,EAAOQ,KAEhC,IAGJxB,OAAOD,GAAKA,EAEZA,EAAG2B,eAAeC,MAAK,WAInBC,SAASC,gBAAgBC,UAAYF,SAASC,gBAAgBC,UAAUC,QAAQC,OAAO,gBAAiB,GAC5G,GACJ,CArDAC,QACI,CACIC,kBAAmB,UACnBC,WAAY,SACZC,aAAc,SACdC,mBAAoB,WAK5BrC,OAAOsC,KAAK,MAAO,eAAgB,aAAa,SAASxC,GAErDD,gBAAgBC,EACpB,IA4CAE,OAAOuC,OAAUpB,IACbqB,iBAAgB","sources":["src/js/hlp_pixel_growthbook.js"],"sourcesContent":["\n// Google Tag Manager\ninitGTM(\n {\n analytics_storage: 'granted',\n ad_storage: 'denied',\n ad_user_data: 'denied',\n ad_personalization: 'denied'\n }\n);\n\n// Initialize growthbook once the GTM ID is available\nwindow.gtag('get', 'G-E0GYTBGKFL', 'client_id', function(cid) {\n //console.log(\"Got GB ID\", cid)\n startGrowthbook(cid);\n});\n\n\nfunction startGrowthbook(cid) {\n var gb = new window.growthbook.GrowthBook({\n apiHost: \"https://cdn.growthbook.io\",\n clientKey: \"sdk-C7meu2HEigqxiWn\",\n decryptionKey: \"jKPa9PqkNvTJM1AQXBYJbQ==\",\n enableDevMode: true,\n subscribeToChanges: false,\n attributes: {\n device_id: cid,\n logged_in: false,\n url: window.location.href,\n },\n trackingCallback: function (experiment, result) {\n /*console.log(\"Viewed Experiment\", {\n gb_experiment_id: experiment.key,\n gb_variation_id: result.key\n });*/\n\n window.dataLayer.push({\n event: \"interaction\",\n target: \"gb_experiment\",\n action: \"gb_experiment_viewed\",\n interactionType: true,\n gb_experiment_id: experiment.key,\n gb_variation_id: result.key\n });\n }\n });\n\n window.gb = gb;\n\n gb.loadFeatures().then(function () {\n //console.log(\"Loaded GB features\");\n\n // un-hide the documents content\n document.documentElement.className = document.documentElement.className.replace(RegExp(' ?!opacity-0'), '');\n });\n}\n\n\n// set up cookie popup\nwindow.onload = (event) => {\n initCookiePopup(true);\n}\n"],"names":["startGrowthbook","cid","gb","window","growthbook","GrowthBook","apiHost","clientKey","decryptionKey","enableDevMode","subscribeToChanges","attributes","device_id","logged_in","url","location","href","trackingCallback","experiment","result","dataLayer","push","event","target","action","interactionType","gb_experiment_id","key","gb_variation_id","loadFeatures","then","document","documentElement","className","replace","RegExp","initGTM","analytics_storage","ad_storage","ad_user_data","ad_personalization","gtag","onload","initCookiePopup"],"version":3,"file":"free-mastercard-gold.459ca229.js.map"}