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E,aAAa,CAAC,IAA8C,KAAK,CAAG,CAAA,EAAM,EAAE,GAAG,CACjF,yDAAwD,EAAE,UAAU,CAAC,YAAY,CAAC,EAAG,GASrG,SAAS,gBAAgB,CAAC,mBAAoB,WAC1C,OAAO,SAAS,CAAG,YAAY,EAAc,IACjD","sources":["","develop/js/trackers.js"],"sourcesContent":["var $f45759213759f1e4$exports = {};\n/* Google Tag Manager */ (function(w, d, s, l, i) {\n w[l] = w[l] || [];\n w[l].push({\n \"gtm.start\": new Date().getTime(),\n event: \"gtm.js\"\n });\n var f = d.getElementsByTagName(s)[0], j = d.createElement(s), dl = l != \"dataLayer\" ? \"&l=\" + l : \"\";\n j.async = true;\n j.src = \"https://www.googletagmanager.com/gtm.js?id=\" + i + dl;\n f.parentNode.insertBefore(j, f);\n})(window, document, \"script\", \"dataLayer\", \"GTM-TQJ44DP\");\n/* End Google Tag Manager */ function $f45759213759f1e4$var$hasCookieOptOut() {\n /* OnetrustActiveGroups.includes(\"C0002\") && */ return !(OnetrustActiveGroups.indexOf(\"2\"), OnetrustActiveGroups.indexOf(\",2\") >= 0);\n}\ndocument.addEventListener(\"DOMContentLoaded\", function() {\n window.iOneTrust = setInterval($f45759213759f1e4$var$init_cookie, 500);\n});\nfunction $f45759213759f1e4$var$init_cookie() {\n //console.log(\"tick\");\n if (typeof OneTrust === \"undefined\" || typeof OnetrustActiveGroups === \"undefined\") return;\n else clearInterval(window.iOneTrust);\n //console.log(OnetrustActiveGroups);\n if (!$f45759213759f1e4$var$hasCookieOptOut()) document.getElementsByTagName(\"body\")[0].classList.add(\"--cookie-all\");\n else document.getElementsByTagName(\"body\")[0].classList.add(\"--cookie-optout\");\n OneTrust.OnConsentChanged(function(e) {\n console.log(\"OnConsentChanged\");\n console.log(e.detail);\n console.log(e.detail.includes(\"2\"));\n if (e.detail.includes(\"2\")) {\n window.top.document.getElementsByTagName(\"body\")[0].classList.remove(\"--cookie-optout\");\n window.top.document.getElementsByTagName(\"body\")[0].classList.add(\"--cookie-all\");\n } else {\n window.top.document.getElementsByTagName(\"body\")[0].classList.add(\"--cookie-optout\");\n window.top.document.getElementsByTagName(\"body\")[0].classList.remove(\"--cookie-all\");\n }\n });\n}\nfunction $f45759213759f1e4$var$onDecline(e) {\n document.getElementsByTagName(\"body\")[0].classList.add(\"--cookie-optout\");\n document.getElementsByTagName(\"body\")[0].classList.remove(\"--cookie-all\");\n}\nfunction $f45759213759f1e4$var$OptanonWrapper() {\n if (!$f45759213759f1e4$var$hasCookieOptOut()) document.getElementsByTagName(\"body\")[0].classList.add(\"--cookie-all\");\n}\n\n\n//# sourceMappingURL=index.630bd805.js.map\n","/* Google Tag Manager */\n(function (w, d, s, l, i) {\n w[l] = w[l] || []; w[l].push({\n 'gtm.start':\n new Date().getTime(), event: 'gtm.js'\n }); var f = d.getElementsByTagName(s)[0],\n j = d.createElement(s), dl = l != 'dataLayer' ? '&l=' + l : ''; j.async = true; j.src =\n 'https://www.googletagmanager.com/gtm.js?id=' + i + dl; f.parentNode.insertBefore(j, f);\n })(window, document, 'script', 'dataLayer', 'GTM-TQJ44DP');\n/* End Google Tag Manager */\n\nfunction hasCookieOptOut() {\n /* OnetrustActiveGroups.includes(\"C0002\") && */\n return !((OnetrustActiveGroups.indexOf(\"2\") == 0, OnetrustActiveGroups.indexOf(\",2\") >= 0));\n}\n\ndocument.addEventListener(\"DOMContentLoaded\", function() {\n window.iOneTrust = setInterval(init_cookie , 500);\n});\n\nfunction init_cookie()\n{\n //console.log(\"tick\");\n if (typeof(OneTrust) === \"undefined\" || typeof(OnetrustActiveGroups) === \"undefined\" ) { return; } else { clearInterval(window.iOneTrust); }\n //console.log(OnetrustActiveGroups);\n\n if (!hasCookieOptOut()) {\n document.getElementsByTagName('body')[0].classList.add(\"--cookie-all\");\n } else {\n document.getElementsByTagName('body')[0].classList.add(\"--cookie-optout\");\n }\n\n OneTrust.OnConsentChanged(function (e) {\n console.log(\"OnConsentChanged\");\n console.log(e.detail);\n console.log((e.detail.includes(\"2\")));\n if (e.detail.includes(\"2\")) {\n window.top.document.getElementsByTagName('body')[0].classList.remove(\"--cookie-optout\");\n window.top.document.getElementsByTagName('body')[0].classList.add(\"--cookie-all\");\n } else {\n window.top.document.getElementsByTagName('body')[0].classList.add(\"--cookie-optout\");\n window.top.document.getElementsByTagName('body')[0].classList.remove(\"--cookie-all\");\n }\n });\n}\n\nfunction onDecline(e) {\n document.getElementsByTagName('body')[0].classList.add(\"--cookie-optout\");\n document.getElementsByTagName('body')[0].classList.remove(\"--cookie-all\");\n}\n\nfunction OptanonWrapper() {\n if(!hasCookieOptOut()){\n document.getElementsByTagName('body')[0].classList.add(\"--cookie-all\");\n \n }\n}\n"],"names":["w","d","s","l","f","j","$f45759213759f1e4$var$init_cookie","OneTrust","OnetrustActiveGroups","clearInterval","window","iOneTrust","indexOf","document","getElementsByTagName","classList","add","OnConsentChanged","e","console","log","detail","includes","top","remove","push","Date","getTime","event","createElement","async","src","parentNode","insertBefore","addEventListener","setInterval"],"version":3,"file":"index.630bd805.js.map"}