Hamzabige / insthk

1 stars 0 forks source link

python insthk.py #1

Open Hamzabige opened 3 years ago

Hamzabige commented 3 years ago

// Copyright 2012 Google Inc. All rights reserved. (function(){ var data = { "resource": { "version":"1", "macros":[{"function":"e"},{"vtp_signal":0,"function":"__c","vtp_value":0},{"function":"c","vtp_value":"google.dz"},{"function":"c","vtp_value":0},{"function":"aev","vtp_varType":"URL","vtp_component":"IS_OUTBOUND","vtp_affiliatedDomains":["list"]},{"function":"v","vtp_name":"gtm.triggers","vtp_dataLayerVersion":2,"vtp_setDefaultValue":true,"vtp_defaultValue":""},{"function":"v","vtp_name":"gtm.elementId","vtp_dataLayerVersion":1},{"function":"v","vtp_name":"gtm.elementClasses","vtp_dataLayerVersion":1},{"function":"aev","vtp_varType":"URL","vtp_component":"URL_NO_FRAGMENT"},{"function":"aev","vtp_varType":"URL","vtp_component":"HOST","vtp_stripWww":true},{"function":"aev","vtp_varType":"URL","vtp_component":"EXTENSION"},{"function":"aev","vtp_varType":"TEXT"},{"function":"aev","vtp_varType":"URL","vtp_component":"PATH"},{"function":"v","vtp_name":"gtm.videoStatus","vtp_dataLayerVersion":1},{"function":"v","vtp_name":"gtm.videoUrl","vtp_dataLayerVersion":1},{"function":"v","vtp_name":"gtm.videoTitle","vtp_dataLayerVersion":1},{"function":"v","vtp_name":"gtm.videoProvider","vtp_dataLayerVersion":1},{"function":"v","vtp_name":"gtm.videoCurrentTime","vtp_dataLayerVersion":1},{"function":"v","vtp_name":"gtm.videoDuration","vtp_dataLayerVersion":1},{"function":"v","vtp_name":"gtm.videoPercent","vtp_dataLayerVersion":1},{"function":"v","vtp_name":"gtm.videoVisible","vtp_dataLayerVersion":1},{"function":"u","vtp_component":"QUERY","vtp_queryKey":"q,s,search,query,keyword","vtp_multiQueryKeys":true,"vtp_ignoreEmptyQueryParam":true,"vtp_enableMultiQueryKeys":false,"vtp_enableIgnoreEmptyQueryParam":false},{"function":"v","vtp_name":"gtm.scrollThreshold","vtp_dataLayerVersion":1},{"function":"v","vtp_name":"gtm.historyChangeSource","vtp_dataLayerVersion":1},{"function":"v","vtp_name":"gtm.oldUrl","vtp_dataLayerVersion":1},{"function":"v","vtp_name":"gtm.newUrl","vtp_dataLayerVersion":1}], "tags":[{"function":"__gct","vtp_trackingId":"G-6QG59X8VM6","vtp_adFeatures":false,"vtp_sessionDuration":0,"vtp_googleSignals":["macro",1],"vtp_foreignTld":["macro",2],"vtp_restrictDomain":["macro",3],"vtp_eventSettings":["map","purchase",["map","blacklisted",false,"conversion",true]],"vtp_dynamicEventSettings":["map","edit_rules",["list"],"synthesis_rules",["list"]],"tag_id":7},{"function":"get","vtp_eventName":"click","vtp_settings":["map","streamId","G-6QG59X8VM6","eventParameters",["map","link_id",["macro",6],"link_classes",["macro",7],"link_url",["macro",8],"link_domain",["macro",9],"outbound",true]],"vtp_deferrable":false,"tag_id":17},{"function":"get","vtp_eventName":"file_download","vtp_settings":["map","streamId","G-6QG59X8VM6","eventParameters",["map","link_id",["macro",6],"link_text",["macro",11],"link_url",["macro",8],"file_name",["macro",12],"file_extension",["macro",10]]],"vtp_deferrable":false,"tag_id":24},{"function":"get","vtpeventName":["template","video",["macro",13]],"vtp_settings":["map","streamId","G-6QG59X8VM6","eventParameters",["map","video_url",["macro",14],"video_title",["macro",15],"video_provider",["macro",16],"video_current_time",["macro",17],"video_duration",["macro",18],"video_percent",["macro",19],"visible",["macro",20]]],"vtp_deferrable":false,"tag_id":27},{"function":"get","vtp_eventName":"view_search_results","vtp_settings":["map","streamId","G-6QG59X8VM6","eventParameters",["map","search_term",["macro",21]]],"vtp_deferrable":true,"tag_id":32},{"function":"__get","vtp_eventName":"scroll","vtp_settings":["map","streamId","G-6QG59X8VM6","eventParameters",["map","percent_scrolled",["macro",22]]],"vtp_deferrable":false,"tag_id":35},{"function":"get","vtp_eventName":"page_view","vtp_settings":["map","streamId","G-6QG59X8VM6","eventParameters",["map","page_referrer",["macro",24]]],"vtp_deferrable":false,"tag_id":38},{"function":"dlm","vtp_userInput":["list",["map","key","gtm.gtagReferrer.G-6QG59X8VM6","value",["macro",24]]],"tag_id":39},{"function":"lcl","vtp_waitForTags":false,"vtp_checkValidation":true,"vtp_uniqueTriggerId":"1_15","tag_id":40},{"function":"lcl","vtp_waitForTags":false,"vtp_checkValidation":true,"vtp_uniqueTriggerId":"1_22","tag_id":41},{"function":"ytl","vtp_captureStart":true,"vtp_captureComplete":true,"vtp_captureProgress":true,"vtp_progressThresholdsPercent":"10,25,50,75","vtp_triggerStartOption":"DOM_READY","vtp_uniqueTriggerId":"1_25","vtp_enableTriggerStartOption":true,"tag_id":42},{"function":"sdl","vtp_verticalThresholdUnits":"PERCENT","vtp_verticalThresholdsPercent":"90","vtp_verticalThresholdOn":true,"vtp_horizontalThresholdOn":false,"vtp_triggerStartOption":"WINDOW_LOAD","vtp_uniqueTriggerId":"1_33","vtp_enableTriggerStartOption":true,"tag_id":43},{"function":"__ehl","vtp_groupEvents":true,"vtp_groupEventsInterval":1000,"vtp_uniqueTriggerId":"1_36","tag_id":44}], "predicates":[{"function":"_eq","arg0":["macro",0],"arg1":"gtm.js"},{"function":"_eq","arg0":["macro",4],"arg1":true},{"function":"_eq","arg0":["macro",0],"arg1":"gtm.linkClick"},{"function":"_re","arg0":["macro",5],"arg1":"(^$|((^|,)1_15($|,)))"},{"function":"_re","arg0":["macro",10],"arg1":"pdf|xlsx?|docx?|txt|rtf|csv|exe|key|pp(s|t|tx)|7z|pkg|rar|gz|zip|avi|mov|mp4|mpe?g|wmv|midi?|mp3|wav|wma","ignore_case":true},{"function":"_re","arg0":["macro",5],"arg1":"(^$|((^|,)1_22($|,)))"},{"function":"_eq","arg0":["macro",0],"arg1":"gtm.video"},{"function":"_re","arg0":["macro",5],"arg1":"(^$|((^|,)1_25($|,)))"},{"function":"_eq","arg0":["macro",21],"arg1":"undefined"},{"function":"_eq","arg0":["macro",0],"arg1":"gtm.scrollDepth"},{"function":"_re","arg0":["macro",5],"arg1":"(^$|((^|,)1_33($|,)))"},{"function":"_eq","arg0":["macro",23],"arg1":["list","pushState","popstate","replaceState"],"any_of":true},{"function":"_eq","arg0":["macro",24],"arg1":["macro",25]},{"function":"_eq","arg0":["macro",0],"arg1":"gtm.historyChange-v2"},{"function":"_re","arg0":["macro",5],"arg1":"(^$|((^|,)1_36($|,)))"},{"function":"_eq","arg0":["macro",0],"arg1":"gtm.dom"},{"function":"_eq","arg0":["macro",0],"arg1":"gtm.load"}], "rules":[[["if",0],["add",0,8,9,12]],[["if",1,2,3],["add",1]],[["if",2,4,5],["add",2]],[["if",6,7],["add",3]],[["if",0],["unless",8],["add",4]],[["if",9,10],["add",5]],[["if",11,13,14],["unless",12],["add",6,7]],[["if",15],["add",10]],[["if",16],["add",11]]] }, "runtime":[] }; / Copyright The Closure Library Authors. SPDX-License-Identifier: Apache-2.0 / var aa,ca=function(a){var b=0;return function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}}},fa=function(a){var b="undefined"!=typeof Symbol&&Symbol.iterator&&a[Symbol.iterator];return b?b.call(a):{next:ca(a)}},ha="function"==typeof Object.create?Object.create:function(a){var b=function(){};b.prototype=a;return new b},ia; if("function"==typeof Object.setPrototypeOf)ia=Object.setPrototypeOf;else{var ja;a:{var ka={a:!0},na={};try{na.proto=ka;ja=na.a;break a}catch(a){}ja=!1}ia=ja?function(a,b){a.proto=b;if(a.proto__!==b)throw new TypeError(a+" is not extensible");return a}:null} var oa=ia,pa=function(a,b){a.prototype=ha(b.prototype);a.prototype.constructor=a;if(oa)oa(a,b);else for(var c in b)if("prototype"!=c)if(Object.defineProperties){var d=Object.getOwnPropertyDescriptor(b,c);d&&Object.defineProperty(a,c,d)}else a[c]=b[c];a.yj=b.prototype},qa=this||self,ra=function(a){return a};var sa=function(){},ta=function(a){return"function"==typeof a},h=function(a){return"string"==typeof a},ua=function(a){return"number"==typeof a&&!isNaN(a)},va=Array.isArray,wa=function(a,b){if(Array.prototype.indexOf){var c=a.indexOf(b);return"number"==typeof c?c:-1}for(var d=0;d<a.length;d++)if(a[d]===b)return d;return-1},xa=function(a,b){if(a&&va(a))for(var c=0;c<a.length;c++)if(a[c]&&b(a[c]))return a[c]},ya=function(a,b){if(!ua(a)||!ua(b)||a>b)a=0,b=2147483647;return Math.floor(Math.random()(b- a+1)+a)},Ca=function(a,b){for(var c=new Aa,d=0;d<a.length;d++)c.set(a[d],!0);for(var e=0;e<b.length;e++)if(c.get(b[e]))return!0;return!1},Ea=function(a,b){for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&b(c,a[c])},Ga=function(a){return!!a&&("[object Arguments]"==Object.prototype.toString.call(a)||Object.prototype.hasOwnProperty.call(a,"callee"))},Ia=function(a){return Math.round(Number(a))||0},La=function(a){return"false"==String(a).toLowerCase()?!1:!!a},Ma=function(a){var b=[];if(va(a))for(var c= 0;c<a.length;c++)b.push(String(a[c]));return b},Na=function(a){return a?a.replace(/^\s+|\s+$/g,""):""},Oa=function(){return new Date(Date.now())},l=function(){return Oa().getTime()},Aa=function(){this.prefix="gtm.";this.values={}};Aa.prototype.set=function(a,b){this.values[this.prefix+a]=b};Aa.prototype.get=function(a){return this.values[this.prefix+a]}; var Pa=function(a,b,c){return a&&a.hasOwnProperty(b)?a[b]:c},Ra=function(a){var b=a;return function(){if(b){var c=b;b=void 0;try{c()}catch(d){}}}},Sa=function(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c])},Ta=function(a){for(var b in a)if(a.hasOwnProperty(b))return!0;return!1},Ua=function(a,b){for(var c=[],d=0;d<a.length;d++)c.push(a[d]),c.push.apply(c,b[a[d]]||[]);return c},Va=function(a,b){for(var c={},d=c,e=a.split("."),f=0;f<e.length-1;f++)d=d[e[f]]={};d[e[e.length-1]]=b;return c},Wa=/^\w{1,9}$/, Xa=function(a,b){a=a||{};b=b||",";var c=[];Ea(a,function(d,e){Wa.test(d)&&e&&c.push(d)});return c.join(b)};var Ya,Za=function(){if(void 0===Ya){var a=null,b=qa.trustedTypes;if(b&&b.createPolicy){try{a=b.createPolicy("goog#html",{createHTML:ra,createScript:ra,createScriptURL:ra})}catch(c){qa.console&&qa.console.error(c.message)}Ya=a}else Ya=a}return Ya};var ab=function(a,b){this.o=b===$a?a:""};ab.prototype.toString=function(){return this.o+""};var $a={},db=function(a){var b=Za(),c=b?b.createScriptURL(a):a;return new ab(c,$a)};var eb=/^(?:(?:https?|mailto|ftp):|[^:/?#](?:[/?#]|$))/i;var fb;a:{var gb=qa.navigator;if(gb){var hb=gb.userAgent;if(hb){fb=hb;break a}}fb=""}function ib(a){return-1!=fb.indexOf(a)};var kb={},lb=function(a,b,c){this.o=c===kb?a:""};lb.prototype.toString=function(){return this.o.toString()};var mb=function(a){return a instanceof lb&&a.constructor===lb?a.o:"type_error:SafeHtml"},nb=function(a){var b=Za(),c=b?b.createHTML(a):a;return new lb(c,null,kb)},ob=new lb(qa.trustedTypes&&qa.trustedTypes.emptyHTML||"",0,kb);/ Copyright 2021 The Safevalues Authors SPDX-License-Identifier: Apache-2.0 / function pb(a,b){a.src=b instanceof ab&&b.constructor===ab?b.o:"type_error:TrustedResourceUrl";var c,d,e=(a.ownerDocument&&a.ownerDocument.defaultView||window).document,f=null===(d=e.querySelector)||void 0===d?void 0:d.call(e,"script[nonce]");(c=f?f.nonce||f.getAttribute("nonce")||"":"")&&a.setAttribute("nonce",c)};var qb=function(a,b){var c=function(){};c.prototype=a.prototype;var d=new c;a.apply(d,Array.prototype.slice.call(arguments,1));return d},tb=function(a){var b=a;return function(){if(b){var c=b;b=null;c()}}};var ub=function(a){var b=!1,c;return function(){b||(c=a(),b=!0);return c}}(function(){var a=document.createElement("div"),b=document.createElement("div");b.appendChild(document.createElement("div"));a.appendChild(b);var c=a.firstChild.firstChild;a.innerHTML=mb(ob);return!c.parentElement}),vb=function(a,b){if(ub())for(;a.lastChild;)a.removeChild(a.lastChild);a.innerHTML=mb(b)};var B=window,G=document,wb=navigator,xb=G.currentScript&&G.currentScript.src,yb=function(a,b){var c=B[a];B[a]=void 0===c?b:c;return B[a]},zb=function(a){var b=G.getElementsByTagName("script")[0]||G.body||G.head;b.parentNode.insertBefore(a,b)},Ab=function(a,b){b&&(a.addEventListener?a.onload=b:a.onreadystatechange=function(){a.readyState in{loaded:1,complete:1}&&(a.onreadystatechange=null,b())})},Bb={async:1,nonce:1,onerror:1,onload:1,src:1,type:1},Cb=function(a,b,c,d){var e=G.createElement("script"); d&&Ea(d,function(f,g){f=f.toLowerCase();Bb.hasOwnProperty(f)||e.setAttribute(f,g)});e.type="text/javascript";e.async=!0;pb(e,db(a));Ab(e,b);c&&(e.onerror=c);zb(e);return e},Db=function(){if(xb){var a=xb.toLowerCase();if(0===a.indexOf("https://"))return 2;if(0===a.indexOf("http://"))return 3}return 1},Eb=function(a,b){var c=G.createElement("iframe");c.height="0";c.width="0";c.style.display="none";c.style.visibility="hidden";var d=G.body&&G.body.lastChild||G.body||G.head;d.parentNode.insertBefore(c, d);Ab(c,b);void 0!==a&&(c.src=a);return c},Ib=function(a,b,c){var d=new Image(1,1);d.onload=function(){d.onload=null;b&&b()};d.onerror=function(){d.onerror=null;c&&c()};d.src=a;return d},Jb=function(a,b,c,d){a.addEventListener?a.addEventListener(b,c,!!d):a.attachEvent&&a.attachEvent("on"+b,c)},Kb=function(a,b,c){a.removeEventListener?a.removeEventListener(b,c,!1):a.detachEvent&&a.detachEvent("on"+b,c)},H=function(a){B.setTimeout(a,0)},Lb=function(a,b){return a&&b&&a.attributes&&a.attributes[b]?a.attributes[b].value: null},Mb=function(a){var b=a.innerText||a.textContent||"";b&&" "!=b&&(b=b.replace(/^[\s\xa0]+|[\s\xa0]+$/g,""));b&&(b=b.replace(/(\xa0+|\s{2,}|\n|\r\t)/g," "));return b},Nb=function(a){var b=G.createElement("div"),c=nb("A

"+a+"
");vb(b,c);b=b.lastChild;for(var d=[];b.firstChild;)d.push(b.removeChild(b.firstChild));return d},Ob=function(a,b,c){c=c||100;for(var d={},e=0;e<b.length;e++)d[b[e]]=!0;for(var f=a,g=0;f&&g<=c;g++){if(d[String(f.tagName).toLowerCase()])return f;f=f.parentElement}return null}, Pb=function(a){var b;try{b=wb.sendBeacon&&wb.sendBeacon(a)}catch(c){}b||Ib(a)},Qb=function(a,b){var c=a[b];c&&"string"===typeof c.animVal&&(c=c.animVal);return c},Rb=function(a){var b=G.featurePolicy;return b&&ta(b.features)?-1!==b.features().indexOf(a):!1};/ jQuery v1.9.1 (c) 2005, 2012 jQuery Foundation, Inc. jquery.org/license. / var Sb=/[object (Boolean|Number|String|Function|Array|Date|RegExp)]/,Tb=function(a){if(null==a)return String(a);var b=Sb.exec(Object.prototype.toString.call(Object(a)));return b?b[1].toLowerCase():"object"},Ub=function(a,b){return Object.prototype.hasOwnProperty.call(Object(a),b)},$b=function(a){if(!a||"object"!=Tb(a)||a.nodeType||a==a.window)return!1;try{if(a.constructor&&!Ub(a,"constructor")&&!Ub(a.constructor.prototype,"isPrototypeOf"))return!1}catch(c){return!1}for(var b in a);return void 0=== b||Ub(a,b)},N=function(a,b){var c=b||("array"==Tb(a)?[]:{}),d;for(d in a)if(Ub(a,d)){var e=a[d];"array"==Tb(e)?("array"!=Tb(c[d])&&(c[d]=[]),c[d]=N(e,c[d])):$b(e)?($b(c[d])||(c[d]={}),c[d]=N(e,c[d])):c[d]=e}return c};var ac=function(a){if(void 0===a||va(a)||$b(a))return!0;switch(typeof a){case "boolean":case "number":case "string":case "function":return!0}return!1};var bc=function(){var a=function(b){return{toString:function(){return b}}};return{Hg:a("consent"),Ig:a("consent_always_fire"),Pe:a("convert_case_to"),Qe:a("convert_false_to"),Re:a("convert_null_to"),Se:a("convert_true_to"),Te:a("convert_undefined_to"),jj:a("debug_mode_metadata"),lj:a("event_data_overrides"),mb:a("function"),Ch:a("instance_name"),Eh:a("live_only"),Fh:a("malware_disabled"),Gh:a("metadata"),mj:a("original_activity_id"),nj:a("original_vendor_template_id"),Ih:a("once_per_event"),vf:a("once_per_load"), pj:a("priority_override"),qj:a("respected_consent_types"),zf:a("setup_tags"),Bf:a("tag_id"),Cf:a("teardowntags")}}();var yc; var zc=[],Ac=[],Bc=[],Ic=[],Jc=[],Kc={},Lc,Mc,Nc,Oc=function(a,b){var c=a["function"];if(!c)throw Error("Error: No function name given for function call.");var d=Kc[c],e={},f;for(f in a)if(a.hasOwnProperty(f))if(0===f.indexOf("vtp"))d&&b&&b.Nf&&b.Nf(a[f]),e[void 0!==d?f:f.substr(4)]=a[f];else if(f===bc.Ig.toString()&&a[f]){} d&&b&&b.Mf&&(e.vtp_gtmCachedValues=b.Mf);return void 0!==d?d(e):yc(c,e,b)},Qc=function(a,b,c){c=c||[];var d={},e;for(e in a)a.hasOwnProperty(e)&&(d[e]=Pc(a[e],b,c));return d},Pc=function(a,b,c){if(va(a)){var d;switch(a[0]){case "function_id":return a[1];case "list":d=[];for(var e=1;e<a.length;e++)d.push(Pc(a[e],b,c));return d;case "macro":var f=a[1];if(c[f])return;var g=zc[f];if(!g||b.ze(g))return;c[f]=!0;try{var k=Qc(g,b,c);k.vtp_gtmEventId=b.id; d=Oc(k,b);Nc&&(d=Nc.Yh(d,k))}catch(z){b.dg&&b.dg(z,Number(f)),d=!1}c[f]=!1;return d;case "map":d={};for(var m=1;m<a.length;m+=2)d[Pc(a[m],b,c)]=Pc(a[m+1],b,c);return d;case "template":d=[];for(var n=!1,p=1;p<a.length;p++){var q=Pc(a[p],b,c);Mc&&(n=n||q===Mc.Zc);d.push(q)}return Mc&&n?Mc.bi(d):d.join("");case "escape":d=Pc(a[1],b,c);if(Mc&&va(a[1])&&"macro"===a[1][0]&&Mc.zi(a))return Mc.Oi(d);d=String(d);for(var t=2;t<a.length;t++)cc[a[t]]&&(d=cca[t]);return d;case "tag":var u=a[1];if(!Ic[u])throw Error("Unable to resolve tag reference "+ u+".");return d={Uf:a[2],index:u};case "zb":var r={arg0:a[2],arg1:a[3],ignore_case:a[5]};r["function"]=a[1];var v=Rc(r,b,c),x=!!a[4];return x||2!==v?x!==(1===v):null;default:throw Error("Attempting to expand unknown Value type: "+a[0]+".");}}return a},Rc=function(a,b,c){try{return Lc(Qc(a,b,c))}catch(d){JSON.stringify(a)}return 2};var Uc=function(a){function b(t){for(var u=0;u<t.length;u++)d[t[u]]=!0}for(var c=[],d=[],e=Sc(a),f=0;f<Ac.length;f++){var g=Ac[f],k=Tc(g,e);if(k){for(var m=g.add||[],n=0;n<m.length;n++)c[m[n]]=!0;b(g.block||[])}else null===k&&b(g.block||[]);}for(var p=[],q=0;q<Ic.length;q++)c[q]&&!d[q]&&(p[q]=!0);return p},Tc=function(a,b){for(var c=a["if"]||[],d=0;d<c.length;d++){var e=b(c[d]);if(0===e)return!1;if(2===e)return null}for(var f= a.unless||[],g=0;g<f.length;g++){var k=b(f[g]);if(2===k)return null;if(1===k)return!1}return!0},Sc=function(a){var b=[];return function(c){void 0===b[c]&&(b[c]=Rc(Bc[c],a));return b[c]}};var Vc={Yh:function(a,b){b[bc.Pe]&&"string"===typeof a&&(a=1==b[bc.Pe]?a.toLowerCase():a.toUpperCase());b.hasOwnProperty(bc.Re)&&null===a&&(a=b[bc.Re]);b.hasOwnProperty(bc.Te)&&void 0===a&&(a=b[bc.Te]);b.hasOwnProperty(bc.Se)&&!0===a&&(a=b[bc.Se]);b.hasOwnProperty(bc.Qe)&&!1===a&&(a=b[bc.Qe]);return a}};var Wc=function(a,b){var c=String(a);return c}; var ad=function(a){var b={},c=0;Ea(a,function(e,f){if(void 0!==f)if(f=Wc(f,100),Xc.hasOwnProperty(e))b[Xc[e]]=Yc(f);else if(Zc.hasOwnProperty(e)){var g=Zc[e],k=Yc(f);b.hasOwnProperty(g)||(b[g]=k)}else if("category"===e)for(var m=Yc(f).split("/",5),n=0;n<m.length;n++){var p=$c[n],q=m[n];b.hasOwnProperty(p)||(b[p]=q)}else 10>c&&(b["k"+c]=Yc(Wc(e,40)),b["v"+c]=Yc(f),c++)});var d=[];Ea(b,function(e,f){d.push(""+e+f)});return d.join("~")},Yc=function(a){return(""+a).replace(/~/g,function(){return"~~"})}, Xc={item_id:"id",item_name:"nm",item_brand:"br",item_category:"ca",item_category2:"c2",item_category3:"c3",item_category4:"c4",item_category5:"c5",item_variant:"va",price:"pr",quantity:"qt",coupon:"cp",item_list_name:"ln",index:"lp",item_list_id:"li",discount:"ds",affiliation:"af",promotion_id:"pi",promotion_name:"pn",creative_name:"cn",creative_slot:"cs",location_id:"lo"},Zc={id:"id",name:"nm",brand:"br",variant:"va",list_name:"ln",list_position:"lp",list:"ln",position:"lp",creative:"cn"},$c=["ca", "c2","c3","c4","c5"];var bd=function(a){var b=[];Ea(a,function(c,d){null!=d&&b.push(encodeURIComponent(c)+"="+encodeURIComponent(String(d)))});return b.join("&")},cd=function(a,b,c,d){this.Ra=a.Ra;this.ub=a.ub;this.K=a.K;this.s=b;this.F=c;this.C=bd(a.Ra);this.o=bd(a.K);this.P=d?this.o.length:0;if(16384<this.P)throw Error("EVENT_TOO_LARGE");};var dd=function(){this.events=[];this.o=this.Ra="";this.C=0;this.s=!1};dd.prototype.add=function(a){return this.F(a)?(this.events.push(a),this.Ra=a.C,this.o=a.s,this.C+=a.P,this.s=a.F,!0):!1};dd.prototype.F=function(a){var b=20>this.events.length&&16384>a.P+this.C,c=this.Ra===a.C&&this.o===a.s&&this.s===a.F;return 0==this.events.length||b&&c}; var jd=function(a,b){Ea(a,function(c,d){null!=d&&b.push(encodeURIComponent(c)+"="+encodeURIComponent(d))})},kd=function(a,b){var c=[];a.C&&c.push(a.C);b&&c.push("_s="+b);jd(a.ub,c);var d=!1;a.o&&(c.push(a.o),d=!0);var e=c.join("&"),f="",g=e.length+a.s.length+1;d&&2048<g&&(f=c.pop(),e=c.join("&"));return{Fe:e,body:f}},ld=function(a,b){var c=a.events;if(1==c.length)return kd(c[0],b);var d=[];a.Ra&&d.push(a.Ra);for(var e={},f=0;f<c.length;f++)Ea(c[f].ub,function(u,r){null!=r&&(e[u]=e[u]||{},e[u][String(r)]= e[u][String(r)]+1||1)});var g={};Ea(e,function(u,r){var v,x=-1,z=0;Ea(r,function(w,y){z+=y;var A=(w.length+u.length+2)*(y-1);A>x&&(v=w,x=A)});z==c.length&&(g[u]=v)});jd(g,d);b&&d.push("_s="+b);for(var k=d.join("&"),m=[],n={},p=0;p<c.length;n={Hc:n.Hc},p++){var q=[];n.Hc={};Ea(c[p].ub,function(u){return function(r,v){g[r]!=""+v&&(u.Hc[r]=v)}}(n));c[p].o&&q.push(c[p].o);jd(n.Hc,q);m.push(q.join("&"))}var t=m.join("\r\n");return{Fe:k,body:t}};var O={hc:"_ee",dd:"_syn_or_mod",rj:"_uei",Xd:"_eu",oj:"_pci",Eb:"event_callback",Pc:"event_timeout",za:"gtag.config",Ja:"gtag.get",sa:"purchase",Cb:"refund",hb:"begin_checkout",zb:"add_to_cart",Ab:"remove_from_cart",Rg:"view_cart",Ve:"add_to_wishlist",Ia:"view_item",Ub:"view_promotion",Kc:"select_promotion",Ad:"select_item",Bb:"view_item_list",Ue:"add_payment_info",Qg:"add_shipping_info",Ma:"value_key",Va:"value_callback",Aa:"allow_ad_personalization_signals",$b:"restricted_data_processing",Wb:"allow_google_signals", Da:"cookie_expires",Xb:"cookie_update",bc:"session_duration",Tc:"session_engaged_time",Na:"user_properties",oa:"transport_url",U:"ads_data_redaction",va:"user_data",Yb:"first_party_collection",D:"ad_storage",I:"analytics_storage",Ne:"region",Oe:"wait_for_update",Ca:"conversion_linker",Ba:"conversion_cookie_prefix",da:"value",ca:"currency",pf:"trip_type",X:"items",ef:"passengers",Dd:"allow_custom_scripts",cc:"session_id",lf:"quantity",Ya:"transaction_id",kb:"language",Nc:"country",Lc:"allow_enhanced_conversions", Id:"aw_merchant_id",Gd:"aw_feed_country",Hd:"aw_feed_language",Fd:"discount",ma:"developer_id",Uc:"delivery_postal_code",Od:"estimated_delivery_date",Md:"shipping",Td:"new_customer",Jd:"customer_lifetime_value",Nd:"enhanced_conversions",Vb:"page_view",na:"linker",O:"domains",Hb:"decorate_forms",bf:"enhanced_conversions_automatic_settings",$g:"auto_detection_enabled",cf:"ga_temp_client_id"}; O.Bd="user_engagement",O.Lg="app_remove",O.Mg="app_store_refund",O.Ng="app_store_subscription_cancel",O.Og="app_store_subscription_convert",O.Pg="app_store_subscription_renew",O.Sg="first_open",O.Tg="first_visit",O.Ug="in_app_purchase",O.Vg="session_start",O.Wg="user_data_login",O.Xg="user_data_logout",O.Yg="allow_display_features",O.Ka="campaign",O.ah="content",O.bh="id",O.dh="medium",O.eh="name",O.fh="source",O.gh="term",O.Db="client_id",O.ka="cookie_domain",O.Mc="cookie_name",O.ib="cookie_path", O.La="cookie_flags",O.Xe="custom_map",O.Qd="groups",O.kj="non_interaction",O.Ib="page_location",O.df="page_path",O.Xa="page_referrer",O.Ud="page_title",O.ac="send_page_view",O.lb="send_to",O.Vd="session_engaged",O.Rc="_logged_in_state",O.Wd="session_number",O.yh="tracking_id",O.Za="url_passthrough",O.Gb="accept_incoming",O.Zb="url_position",O.jf="phone_conversion_number",O.ff="phone_conversion_callback",O.hf="phone_conversion_css_class",O.kf="phone_conversion_options",O.uh="phone_conversion_ids", O.th="phone_conversion_country_code",O.We="aw_remarketing",O.Ed="aw_remarketing_only",O.Cd="gclid",O.Zg="auid",O.lh="affiliation",O.af="tax",O.Ld="list_name",O.$e="checkout_step",O.Ze="checkout_option",O.mh="coupon",O.nh="promotions",O.Jb="user_id",O.vh="retoken",O.la="cookie_prefix",O.Ye="disable_merchant_reported_purchases",O.kh="dc_natural_search",O.jh="dc_custom_params",O.rh="method",O.xh="search_term",O.ih="content_type",O.sh="optimize_id",O.oh="experiments",O.Wa="google_signals",O.Qc="google_tld", O.Vc="update",O.Pd="firebase_id",O.Fb="ga_restrict_domain",O.Oc="event_settings",O.Kd="dynamic_event_settings",O.fc="user_data_settings",O.wh="screen_name",O.qh="_x_19",O.jb="_ecid",O.ph="_x_20",O.Sd="internal_traffic_results",O.nf="traffic_type",O.Sc="referral_exclusion_definition",O.Rd="ignore_referrer",O.hh="contentgroup"; O.zh=[O.Aa,O.Lc,O.Wb,O.X,O.$b,O.ka,O.Da,O.La,O.Mc,O.ib,O.la,O.Xb,O.Xe,O.ma,O.Kd,O.Eb,O.Oc,O.Pc,O.Yb,O.Fb,O.Wa,O.Qc,O.Qd,O.Sd,O.na,O.Sc,O.lb,O.ac,O.bc,O.Tc,O.oa,O.Vc,O.fc,O.Na,O.Uc,O.Xd],O.qf=[O.Ib,O.Xa,O.Ud,O.kb,O.wh,O.Jb,O.Pd,O.hh],O.Bh=[O.Lg,O.Mg,O.Ng,O.Og,O.Pg,O.Sg,O.Tg,O.Ug,O.Vg,O.Bd];O.sf=[O.sa,O.Cb,O.hb,O.zb,O.Ab,O.Rg,O.Ve,O.Ia,O.Ub,O.Kc,O.Bb,O.Ad,O.Ue,O.Qg];O.rf=[O.Aa,O.Wb,O.Xb];O.tf=[O.Da,O.Pc,O.bc,O.Tc];var vd={},wd=function(a,b){vd[a]=vd[a]||[];vd[a][b]=!0},xd=function(a){for(var b=[],c=vd[a]||[],d=0;d<c.length;d++)c[d]&&(b[Math.floor(d/6)]^=1<<d%6);for(var e=0;e<b.length;e++)b[e]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-".charAt(b[e]||0);return b.join("")};var yd=function(a){wd("GTM",a)};var zd=new function(a,b){this.o=a;this.defaultValue=void 0===b?!1:b}(1933);var Bd=function(){var a=Ad;if(a.xe&&a.hasOwnProperty("xe"))return a.xe;var b=new a;return a.xe=b};var Ad=function(){var a={};this.o=function(){var b=zd.o,c=zd.defaultValue;return null!=a[b]?a[b]:c};this.s=function(){a[zd.o]=!0}};var Cd=[];function Dd(){var a=yb("google_tagdata",{});a.ics||(a.ics={entries:{},set:Kd,update:Ld,addListener:Md,notifyListeners:Nd,active:!1,usedDefault:!1});return a.ics} function Kd(a,b,c,d,e,f){var g=Dd();g.active=!0;g.usedDefault=!0;if(void 0!=b){var k=g.entries,m=k[a]||{},n=m.region,p=c&&h(c)?c.toUpperCase():void 0;d=d.toUpperCase();e=e.toUpperCase();if(""===d||p===e||(p===d?n!==e:!p&&!n)){var q=!!(f&&0<f&&void 0===m.update),t={region:p,initial:"granted"===b,update:m.update,quiet:q};if(""!==d||!1!==m.initial)k[a]=t;q&&B.setTimeout(function(){k[a]===t&&t.quiet&&(t.quiet=!1,Od(a),Nd(),wd("TAGGING",2))},f)}}} function Ld(a,b){var c=Dd();c.active=!0;if(void 0!=b){var d=Pd(a),e=c.entries,f=e[a]=e[a]||{};f.update="granted"===b;var g=Pd(a);f.quiet?(f.quiet=!1,Od(a)):g!==d&&Od(a)}}function Md(a,b){Cd.push({oe:a,li:b})}function Od(a){for(var b=0;b<Cd.length;++b){var c=Cd[b];va(c.oe)&&-1!==c.oe.indexOf(a)&&(c.ig=!0)}}function Nd(a){for(var b=0;b<Cd.length;++b){var c=Cd[b];if(c.ig){c.ig=!1;try{c.li({Xh:a})}catch(d){}}}} var Pd=function(a){var b=Dd().entries[a]||{};return void 0!==b.update?b.update:b.initial},Qd=function(a){return(Dd().entries[a]||{}).initial},Rd=function(a){return!(Dd().entries[a]||{}).quiet},Sd=function(){return Bd().o()?Dd().active:!1},Td=function(){return Dd().usedDefault},Ud=function(a,b){Dd().addListener(a,b)},Vd=function(a){Dd().notifyListeners(a)},Wd=function(a,b){function c(){for(var e=0;e<b.length;e++)if(!Rd(b[e]))return!0;return!1}if(c()){var d=!1;Ud(b,function(e){d||c()||(d=!0,a(e))})}else a({})}, Xd=function(a,b){function c(){for(var f=[],g=0;g<d.length;g++){var k=d[g];!1===Pd(k)||e[k]||(f.push(k),e[k]=!0)}return f}var d=h(b)?[b]:b,e={};c().length!==d.length&&Ud(d,function(f){var g=c();0<g.length&&(f.oe=g,a(f))})};function Yd(a){for(var b=[],c=0;c<Zd.length;c++){var d=a(Zd[c]);b[c]=!0===d?"1":!1===d?"0":"-"}return b.join("")} var Zd=[O.D,O.I],$d=function(a){var b=a[O.Ne];b&&yd(40);var c=a[O.Oe];c&&yd(41);for(var d=va(b)?b:[b],e={Qb:0};e.Qb<d.length;e={Qb:e.Qb},++e.Qb)Ea(a,function(f){return function(g,k){if(g!==O.Ne&&g!==O.Oe){var m=d[f.Qb];Dd().set(g,k,m,"DZ","DZ-16",c)}}}(e))},ae=0,be=function(a,b){Ea(a,function(e,f){Dd().update(e,f)});Vd(b);var c=l(),d=c-ae;ae&&0<=d&&1E3>d&&yd(66);ae=c},ce=function(a){var b=Pd(a);return void 0!=b?b:!0},de=function(){return"G1"+Yd(Pd)},ee=function(){return"G1"+ Yd(Qd)},fe=function(a,b){Xd(a,b)},ge=function(a,b){Wd(a,b)};var ie=function(a){return he?G.querySelectorAll(a):null},je=function(a,b){if(!he)return null;if(Element.prototype.closest)try{return a.closest(b)}catch(e){return null}var c=Element.prototype.matches||Element.prototype.webkitMatchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector||Element.prototype.oMatchesSelector,d=a;if(!G.documentElement.contains(d))return null;do{try{if(c.call(d,b))return d}catch(e){break}d=d.parentElement||d.parentNode}while(null!==d&&1===d.nodeType); return null},ke=!1;if(G.querySelectorAll)try{var le=G.querySelectorAll(":root");le&&1==le.length&&le[0]==G.documentElement&&(ke=!0)}catch(a){}var he=ke; var me=function(a){return void 0===a||null===a?"":h(a)?Na(String(a)):"e0"},oe=function(a){return a.replace(ne,"")},qe=function(a){return pe(a.replace(/\s/g,""))},pe=function(a){return Na(a.replace(re,"").toLowerCase())},te=function(a){a=a.replace(/[\s-()/.]/g,"");"+"!==a.charAt(0)&&(a="+"+a);return se.test(a)?a:"e0"},ve=function(a){var b=a.toLowerCase().split("@");if(2==b.length){var c=b[0];/^(gmail|googlemail)./.test(b[1])&&(c=c.replace(/./g,""));c=c+"@"+b[1];if(ue.test(c))return c}return"e0"}, ye=function(a,b){window.Promise||b([]);Promise.all(a.map(function(c){return c.value&&we(c.name)?xe(c.value).then(function(d){c.value=d}):Promise.resolve()})).then(function(){b(a)}).catch(function(){b([])})},xe=function(a){if(""===a||"e0"===a)return Promise.resolve(a);if(B.crypto&&B.crypto.subtle)try{var b=ze(a);return B.crypto.subtle.digest("SHA-256",b).then(function(c){var d=Array.from(new Uint8Array(c)).map(function(e){return String.fromCharCode(e)}).join("");return B.btoa(d).replace(/+/g,"-").replace(/\//g, "").replace(/=+$/,"")}).catch(function(){return"e2"})}catch(c){return Promise.resolve("e2")}else return Promise.resolve("e1")},ze=function(a){var b;if(B.TextEncoder)b=(new B.TextEncoder("utf-8")).encode(a);else{for(var c=[],d=0;d<a.length;d++){var e=a.charCodeAt(d);128>e?c.push(e):2048>e?c.push(192|e>>6,128|e&63):55296>e||57344<=e?c.push(224|e>>12,128|e>>6&63,128|e&63):(e=65536+((e&1023)<<10|a.charCodeAt(++d)&1023),c.push(240|e>>18,128|e>>12&63,128|e>>6&63,128|e&63))}b=new Uint8Array(c)}return b}, re=/[0-9`~!@#$%^&()_-+=:;<>,.?|/\[]]/g,ue=/^\S+@\S+.\S+$/,se=/^+\d{11,15}$/,ne=/[.~]/g,Ae={},Be=(Ae.email="em",Ae.phone_number="pn",Ae.first_name="fn",Ae.last_name="ln",Ae.street="sa",Ae.city="ct",Ae.region="rg",Ae.country="co",Ae.postal_code="pc",Ae.error_code="ec",Ae),Ce=function(a,b){function c(n,p,q){var t=n[p];va(t)||(t=[t]);for(var u=0;u<t.length;++u){var r=me(t[u]);""!==r&&f.push({name:p,value:q(r),index:void 0})}}function d(n,p,q,t){var u=me(n[p]);""!==u&&f.push({name:p,value:q(u),index:t})} function e(n){return function(p){yd(64);return n(p)}}var f=[];if("https:"===B.location.protocol){c(a,"email",ve);c(a,"phone_number",te);c(a,"first_name",e(qe));c(a,"last_name",e(qe));var g=a.home_address||{};c(g,"street",e(pe));c(g,"city",e(pe));c(g,"postal_code",e(oe));c(g,"region",e(pe));c(g,"country",e(oe));var k=a.address||{};va(k)||(k=[k]);for(var m=0;m<k.length;m++)d(k[m],"first_name",qe,m),d(k[m],"last_name",qe,m),d(k[m],"street",pe,m),d(k[m],"city",pe,m),d(k[m],"postal_code",oe,m),d(k[m], "region",pe,m),d(k[m],"country",oe,m);ye(f,b)}else f.push({name:"errorcode",value:"e3",index:void 0}),b(f)},De=function(a,b){Ce(a,function(c){for(var d=["tv.1"],e=0,f=0;f<c.length;++f){var g=c[f].name,k=c[f].value,m=c[f].index,n=Be[g];n&&k&&(!we(g)||/^e\d+$/.test(k)||/^[0-9A-Za-z-]{43}$/.test(k))&&(void 0!==m&&(n+=m),d.push(n+"."+k),e++)}1===c.length&&"error_code"===c[0].name&&(e=0);b(encodeURIComponent(d.join("~")),e)})},Ee=function(a){if(B.Promise)try{return new Promise(function(b){De(a,function(c, d){b({yc:c,vj:d})})})}catch(b){}},we=function(a){return-1!==["email","phone_number","first_name","last_name","street"].indexOf(a)};var Oe=function(){this.eventModel={};this.targetConfig={};this.containerConfig={};this.remoteConfig={};this.globalConfig={};this.onSuccess=function(){};this.onFailure=function(){};this.setContainerTypeLoaded=function(){};this.getContainerTypeLoaded=function(){};this.eventId=void 0;this.isGtmEvent=!1},Pe=function(a){var b=new Oe;b.eventModel=a;return b},Qe=function(a,b){a.targetConfig=b;return a},Re=function(a,b){a.containerConfig=b;return a},Se=function(a,b){a.remoteConfig=b;return a},Te=function(a, b){a.globalConfig=b;return a},Ue=function(a,b){a.onSuccess=b;return a},Ve=function(a,b){a.setContainerTypeLoaded=b;return a},We=function(a,b){a.getContainerTypeLoaded=b;return a},Xe=function(a,b){a.onFailure=b;return a}; Oe.prototype.getWithConfig=function(a){if(void 0!==this.eventModel[a])return this.eventModel[a];if(void 0!==this.targetConfig[a])return this.targetConfig[a];if(void 0!==this.containerConfig[a])return this.containerConfig[a];if(void 0!==this.remoteConfig[a])return this.remoteConfig[a];if(void 0!==this.globalConfig[a])return this.globalConfig[a]}; var Ye=function(a){function b(d){for(var e=Object.keys(d),f=0;f<e.length;++f)c[e[f]]=1}var c={};b(a.eventModel);b(a.targetConfig);b(a.containerConfig);b(a.globalConfig);return Object.keys(c)},Ze=function(a,b,c){function d(g){$b(g)&&Ea(g,function(k,m){f=!0;e[k]=m})}var e={},f=!1;c&&1!==c||(d(a.globalConfig[b]),d(a.remoteConfig[b]),d(a.containerConfig[b]),d(a.targetConfig[b]));c&&2!==c||d(a.eventModel[b]);return f?e:void 0};var $e={},R=null,af=Math.random();$e.M="G-6QG59X8VM6";$e.cd="9m0";$e.Kg="ChAI8O61igYQ1vfLvZyjxN0vEiUAZ2qXKClUub0G6fUGjpgdP+KBiSjWUr6KdtKv/CHq2TA5VGsxGgLs7Q\x3d\x3d";var bf={cl:!0,ecl:!0,ehl:!0,evl:!0,fal:!0,fil:!0,fsl:!0,hl:!0,jel:!0,lcl:!0,sdl:!0,tl:!0,ytl:!0},cf={paused:!0,__tg:!0},df;for(df in bf)bf.hasOwnProperty(df)&&(cf[df]=!0);var ef="www.googletagmanager.com/gtm.js"; ef="www.googletagmanager.com/gtag/js";var ff=ef,gf=La(""),hf=null,jf=null,kf="https://www.googletagmanager.com/a?id="+$e.M+"&cv=1",lf={},mf={},nf=function(){var a=R.sequence||1;R.sequence=a+1;return a};$e.Jg="";var of=""; $e.Lb=of;var pf={},qf=new Aa,rf={},sf={},vf={name:"dataLayer",set:function(a,b){N(Va(a,b),rf);tf()},get:function(a){return uf(a,2)},reset:function(){qf=new Aa;rf={};tf()}},uf=function(a,b){return 2!=b?qf.get(a):wf(a)},wf=function(a){var b,c=a.split(".");b=b||[];for(var d=rf,e=0;e<c.length;e++){if(null===d)return!1;if(void 0===d)break;d=d[c[e]];if(-1!==wa(b,d))return}return d},xf=function(a,b){sf.hasOwnProperty(a)||(qf.set(a,b),N(Va(a,b),rf),tf())},tf=function(a){Ea(sf,function(b,c){qf.set(b,c);N(Va(b, void 0),rf);N(Va(b,c),rf);a&&delete sf[b]})},zf=function(a,b,c){pf[a]=pf[a]||{};pf[a][b]=yf(b,c)},yf=function(a,b){var c,d=1!==(void 0===b?2:b)?wf(a):qf.get(a);"array"===Tb(d)||"object"===Tb(d)?c=N(d):c=d;return c},Af=function(a,b){if(pf[a])return pf[a][b]},Bf=function(a,b){pf[a]&&delete pf[a][b]};var Cf,Df=!1,Ef=function(a){if(!Df){Df=!0;Cf=Cf||{}}return Cf[a]};var Ff=function(a){if(G.hidden)return!0;var b=a.getBoundingClientRect();if(b.top==b.bottom||b.left==b.right||!B.getComputedStyle)return!0;var c=B.getComputedStyle(a,null);if("hidden"===c.visibility)return!0;for(var d=a,e=c;d;){if("none"===e.display)return!0;var f=e.opacity,g=e.filter;if(g){var k=g.indexOf("opacity(");0<=k&&(g=g.substring(k+8,g.indexOf(")",k)),"%"==g.charAt(g.length-1)&&(g=g.substring(0,g.length-1)),f=Math.min(g,f))}if(void 0!==f&&0>=f)return!0;(d=d.parentElement)&&(e=B.getComputedStyle(d, null))}return!1}; var Gf=function(){var a=G.body,b=G.documentElement||a&&a.parentElement,c,d;if(G.compatMode&&"BackCompat"!==G.compatMode)c=b?b.clientHeight:0,d=b?b.clientWidth:0;else{var e=function(f,g){return f&&g?Math.min(f,g):Math.max(f,g)};yd(7);c=e(b?b.clientHeight:0,a?a.clientHeight:0);d=e(b?b.clientWidth:0,a?a.clientWidth:0)}return{width:d,height:c}},Hf=function(a){var b=Gf(),c=b.height,d=b.width,e=a.getBoundingClientRect(),f=e.bottom-e.top,g=e.right-e.left;return f&&g?(1-Math.min((Math.max(0-e.left,0)+Math.max(e.right- d,0))/g,1))(1-Math.min((Math.max(0-e.top,0)+Math.max(e.bottom-c,0))/f,1)):0};var Of=/:[0-9]+$/,Pf=function(a,b,c){for(var d=a.split("&"),e=0;e<d.length;e++){var f=d[e].split("=");if(decodeURIComponent(f[0]).replace(/+/g," ")===b){var g=f.slice(1).join("=");return c?g:decodeURIComponent(g).replace(/+/g," ")}}},Sf=function(a,b,c,d,e){b&&(b=String(b).toLowerCase());if("protocol"===b||"port"===b)a.protocol=Qf(a.protocol)||Qf(B.location.protocol);"port"===b?a.port=String(Number(a.hostname?a.port:B.location.port)||("http"==a.protocol?80:"https"==a.protocol?443:"")):"host"===b&& (a.hostname=(a.hostname||B.location.hostname).replace(Of,"").toLowerCase());return Rf(a,b,c,d,e)},Rf=function(a,b,c,d,e){var f,g=Qf(a.protocol);b&&(b=String(b).toLowerCase());switch(b){case "url_no_fragment":f=Tf(a);break;case "protocol":f=g;break;case "host":f=a.hostname.replace(Of,"").toLowerCase();if(c){var k=/^www\d./.exec(f);k&&k[0]&&(f=f.substr(k[0].length))}break;case "port":f=String(Number(a.port)||("http"==g?80:"https"==g?443:""));break;case "path":a.pathname||a.hostname||wd("TAGGING", 1);f="/"==a.pathname.substr(0,1)?a.pathname:"/"+a.pathname;var m=f.split("/");0<=wa(d||[],m[m.length-1])&&(m[m.length-1]="");f=m.join("/");break;case "query":f=a.search.replace("?","");e&&(f=Pf(f,e,void 0));break;case "extension":var n=a.pathname.split(".");f=1<n.length?n[n.length-1]:"";f=f.split("/")[0];break;case "fragment":f=a.hash.replace("#","");break;default:f=a&&a.href}return f},Qf=function(a){return a?a.replace(":","").toLowerCase():""},Tf=function(a){var b="";if(a&&a.href){var c=a.href.indexOf("#"); b=0>c?a.href:a.href.substr(0,c)}return b},Uf=function(a){var b=G.createElement("a");a&&(b.href=a);var c=b.pathname;"/"!==c[0]&&(a||wd("TAGGING",1),c="/"+c);var d=b.hostname.replace(Of,"");return{href:b.href,protocol:b.protocol,host:b.host,hostname:d,pathname:c,search:b.search,hash:b.hash,port:b.port}},Vf=function(a){function b(n){var p=n.split("=")[0];return 0>d.indexOf(p)?n:p+"=0"}function c(n){return n.split("&").map(b).filter(function(p){return void 0!=p}).join("&")}var d="gclid dclid gbraid wbraid gclaw gcldc gclha gclgf gclgb gl".split(" "), e=Uf(a),f=a.split(/[?#]/)[0],g=e.search,k=e.hash;"?"===g[0]&&(g=g.substring(1));"#"===k[0]&&(k=k.substring(1));g=c(g);k=c(k);""!==g&&(g="?"+g);""!==k&&(k="#"+k);var m=""+f+g+k;"/"===m[m.length-1]&&(m=m.substring(0,m.length-1));return m};var Wf={},Xf=!0,Yf=!1;Wf.Fg="true"; var Zf=function(a){if("false"===Wf.Fg||!Xf)return!1;if(Yf)return!0;var b=Ef("AW-"+a);return!!b&&!!b.preAutoPii},$f=new RegExp(/[A-Z0-9.%+-]+@[A-Z0-9.-]+.[A-Z]{2,}/i),ag=new RegExp(/@(gmail|googlemail)./i),bg=new RegExp(/support|noreply/i),cg="SCRIPT STYLE IMG SVG PATH BR".split(" "),dg=["BR"],eg={}; function fg(a){var b;if(a===G.body)b="body";else{var c;if(a.id)c="#"+a.id;else{var d;if(a.parentElement){var e;a:{var f=a.parentElement;if(f){for(var g=0;g<f.childElementCount;g++)if(f.children[g]===a){e=g+1;break a}e=-1}else e=1}d=fg(a.parentElement)+">:nth-child("+e+")"}else d="";c=d}b=c}return b}function gg(a,b){if(1>=a.length)return a;var c=a.filter(b);return 0==c.length?a:c} function hg(a){if(0==a.length)return null;var b;b=gg(a,function(c){return!bg.test(c.Sa)});b=gg(b,function(c){return"INPUT"===c.element.tagName.toUpperCase()});b=gg(b,function(c){return!Ff(c.element)});return b[0]} var ig=function(a){a=a||{ve:!0,we:!0};a.cb=a.cb||{email:!0,phone:!0,Kf:!0};var b,c=a,d=!!c.ve+"."+!!c.we;c&&c.md&&c.md.length&&(d+="."+c.md.join("."));c&&c.cb&&(d+="."+c.cb.email+"."+c.cb.phone+"."+c.cb.Kf);b=d;var e=eg[b];if(e&&200>l()-e.timestamp)return e.result;var f;var g=[],k=G.body;if(k){for(var m=k.querySelectorAll(""),n=0;n<m.length&&1E4>n;n++){var p=m[n];if(!(0<=cg.indexOf(p.tagName.toUpperCase()))&&p.children instanceof HTMLCollection){for(var q=!1,t=0;t<p.childElementCount&&1E4>t;t++)if(!(0<= dg.indexOf(p.children[t].tagName.toUpperCase()))){q=!0;break}q||g.push(p)}}f={elements:g,status:1E4<m.length?"2":"1"}}else f={elements:g,status:"4"};var u=f,r=u.status,v;if(a.cb&&a.cb.email){for(var x=u.elements,z=[],w=0;w<x.length;w++){var y=x[w],A=y.textContent;"INPUT"===y.tagName.toUpperCase()&&y.value&&(A=y.value);if(A){var C=A.match($f);if(C){var F=C[0],E;if(B.location){var D=Rf(B.location,"host",!0);E=0<=F.toLowerCase().indexOf(D)}else E=!1;E||z.push({element:y,Sa:F})}}}var M;var K=a&&a.md; if(K&&0!==K.length){for(var L=[],Q=0;Q<z.length;Q++){for(var I=!0,J=0;J<K.length;J++){var T=K[J];if(T&&je(z[Q].element,T)){I=!1;break}}I&&L.push(z[Q])}M=L}else M=z;v=hg(M);10<z.length&&(r="3")}var U=[];if(v){var ea=v.element,P={Sa:v.Sa,tagName:ea.tagName,type:1};a.ve&&(P.querySelector=fg(ea));a.we&&(P.isVisible=!Ff(ea));U.push(P)}var W={elements:U,status:r};eg[b]={timestamp:l(),result:W};return W},jg=function(a){return a.tagName+":"+a.isVisible+":"+a.Sa.length+":"+ag.test(a.Sa)}; var kg=function(a,b,c){if(c){var d=c.selector_type,e=String(c.value),f;if("js_variable"===d){e=e.replace(/["?'?/g,".").replace(/"?'?]/g,"");for(var g=e.split(","),k=0;k<g.length;k++){var m=g[k].trim();if(m){if(0===m.indexOf("dataLayer."))f=uf(m.substring(10));else{var n=m.split(".");f=B[n.shift()];for(var p=0;p<n.length;p++)f=f&&f[n[p]]}if(void 0!==f)break}}}else if("css_selector"===d&&he){var q=ie(e);q&&0<q.length&&(f=Mb(q[0])||Na(q[0].value))}f&&(a[b]=f)}},lg=function(a){if(a){var b={};kg(b,"email", a.email);kg(b,"phone_number",a.phone);b.address=[];for(var c=a.name_and_address||[],d=0;d<c.length;d++){var e={};kg(e,"first_name",c[d].first_name);kg(e,"last_name",c[d].last_name);kg(e,"street",c[d].street);kg(e,"city",c[d].city);kg(e,"region",c[d].region);kg(e,"country",c[d].country);kg(e,"postal_code",c[d].postal_code);b.address.push(e)}return b}},mg=function(a){if(a)switch(a.mode){case "selectors":return lg(a.selectors);case "auto_detect":var b;var c=a.auto_detect;if(c){var d=ig({ve:!1,we:!1, md:c.exclude_element_selectors,cb:{email:!!c.email,phone:!!c.phone,Kf:!!c.address}}).elements,e={};if(0<d.length)for(var f=0;f<d.length;f++){var g=d[f];if(1===g.type){e.email=g.Sa;break}}b=e}else b=void 0;return b}},ng=function(a){switch(a.enhanced_conversions_mode){case "manual":var b=a.enhanced_conversions_manual_var;return void 0!==b?b:B.enhanced_conversion_data;case "automatic":return lg(a[O.bf])}};var og={},pg=function(a,b){if(B._gtmexpgrp&&B._gtmexpgrp.hasOwnProperty(a))return B._gtmexpgrp[a];void 0===og[a]&&(og[a]=Math.floor(Math.random()b));return og[a]};var qg=function(a){var b=1,c,d,e;if(a)for(b=0,d=a.length-1;0<=d;d--)e=a.charCodeAt(d),b=(b<<6&268435455)+e+(e<<14),c=b&266338304,b=0!=c?b^c>>21:b;return b};function rg(a,b,c){for(var d=[],e=b.split(";"),f=0;f<e.length;f++){var g=e[f].split("="),k=g[0].replace(/^\s|\s$/g,"");if(k&&k==a){var m=g.slice(1).join("=").replace(/^\s|\s$/g,"");m&&c&&(m=decodeURIComponent(m));d.push(m)}}return d};function sg(a){return"null"!==a.origin};var xg=function(a,b,c,d){return tg(d)?rg(a,String(b||wg()),c):[]},Ag=function(a,b,c,d,e){if(tg(e)){var f=yg(a,d,e);if(1===f.length)return f[0].id;if(0!==f.length){f=zg(f,function(g){return g.kd},b);if(1===f.length)return f[0].id;f=zg(f,function(g){return g.zc},c);return f[0]?f[0].id:void 0}}};function Bg(a,b,c,d){var e=wg(),f=window;sg(f)&&(f.document.cookie=a);var g=wg();return e!=g||void 0!=c&&0<=xg(b,g,!1,d).indexOf(c)} var Fg=function(a,b,c){function d(u,r,v){if(null==v)return delete g[r],u;g[r]=v;return u+"; "+r+"="+v}function e(u,r){if(null==r)return delete g[r],u;g[r]=!0;return u+"; "+r}if(!tg(c.Ga))return 2;var f;void 0==b?f=a+"=deleted; expires="+(new Date(0)).toUTCString():(c.encode&&(b=encodeURIComponent(b)),b=Cg(b),f=a+"="+b);var g={};f=d(f,"path",c.path);var k;c.expires instanceof Date?k=c.expires.toUTCString():null!=c.expires&&(k=""+c.expires);f=d(f,"expires",k);f=d(f,"max-age",c.uj);f=d(f,"samesite", c.wj);c.xj&&(f=e(f,"secure"));var m=c.domain;if(m&&"auto"===m.toLowerCase()){for(var n=Dg(),p=0;p<n.length;++p){var q="none"!==n[p]?n[p]:void 0,t=d(f,"domain",q);t=e(t,c.flags);if(!Eg(q,c.path)&&Bg(t,a,b,c.Ga))return 0}return 1}m&&"none"!==m.toLowerCase()&&(f=d(f,"domain",m));f=e(f,c.flags);return Eg(m,c.path)?1:Bg(f,a,b,c.Ga)?0:1},Gg=function(a,b,c){null==c.path&&(c.path="/");c.domain||(c.domain="auto");return Fg(a,b,c)}; function zg(a,b,c){for(var d=[],e=[],f,g=0;g<a.length;g++){var k=a[g],m=b(k);m===c?d.push(k):void 0===f||m<f?(e=[k],f=m):m===f&&e.push(k)}return 0<d.length?d:e}function yg(a,b,c){for(var d=[],e=xg(a,void 0,void 0,c),f=0;f<e.length;f++){var g=e[f].split("."),k=g.shift();if(!b||-1!==b.indexOf(k)){var m=g.shift();m&&(m=m.split("-"),d.push({id:g.join("."),kd:1m[0]||1,zc:1m[1]||1}))}}return d} var Cg=function(a){a&&1200<a.length&&(a=a.substring(0,1200));return a},Hg=/^(www.)?google(.com?)?(.[a-z]{2})?$/,Ig=/(^|.)doubleclick.net$/i,Eg=function(a,b){return Ig.test(window.document.location.hostname)||"/"===b&&Hg.test(a)},wg=function(){return sg(window)?window.document.cookie:""},Dg=function(){var a=[],b=window.document.location.hostname.split(".");if(4===b.length){var c=b[b.length-1];if(parseInt(c,10).toString()===c)return["none"]}for(var d=b.length-2;0<=d;d--)a.push(b.slice(d).join(".")); var e=window.document.location.hostname;Ig.test(e)||Hg.test(e)||a.push("none");return a},tg=function(a){if(!Bd().o()||!a||!Sd())return!0;if(!Rd(a))return!1;var b=Pd(a);return null==b?!0:!!b};var Jg=function(a){var b=Math.round(2147483647Math.random()),c=b;a&&(c=b^qg(a)&2147483647);return[c,Math.round(l()/1E3)].join(".")},Mg=function(a,b,c,d,e){var f=Kg(b);return Ag(a,f,Lg(c),d,e)},Ng=function(a,b,c,d){var e=""+Kg(c),f=Lg(d);1<f&&(e+="-"+f);return[b,e,a].join(".")},Kg=function(a){if(!a)return 1;a=0===a.indexOf(".")?a.substr(1):a;return a.split(".").length},Lg=function(a){if(!a||"/"===a)return 1;"/"!==a[0]&&(a="/"+a);"/"!==a[a.length-1]&&(a+="/");return a.split("/").length-1};function Og(a,b,c){var d,e=Number(null!=a.eb?a.eb:void 0);0!==e&&(d=new Date((b||l())+1E3(e||7776E3)));return{path:a.path,domain:a.domain,flags:a.flags,encode:!!c,expires:d}};var Pg=["1"],Qg={},Tg=function(a,b){b=void 0===b?!0:b;var c=Rg(a.prefix);if(!Qg[c]&&!Sg(c,a.path,a.domain)&&b){var d=Rg(a.prefix),e=Jg(),f=Ng(e,"1",a.domain,a.path),g=Og(a);g.Ga="ad_storage";if(0===Gg(d,f,g)){var k=yb("google_tag_data",{});k._gcl_au?wd("GTM",57):k._gcl_au=e}Sg(c,a.path,a.domain)}};function Sg(a,b,c){var d=Mg(a,b,c,Pg,"ad_storage");d&&(Qg[a]=d);return d}function Rg(a){return(a||"_gcl")+"_au"};var Ug=function(a){for(var b=[],c=G.cookie.split(";"),d=new RegExp("^\s"+(a||"gac")+"(UA-\d+-\d+)=\s(.+?)\s$"),e=0;e<c.length;e++){var f=c[e].match(d);f&&b.push({Ke:f[1],value:f[2],timestamp:Number(f[2].split(".")[1])||0})}b.sort(function(g,k){return k.timestamp-g.timestamp});return b}; function Vg(a,b){var c=Ug(a),d={};if(!c||!c.length)return d;for(var e=0;e<c.length;e++){var f=c[e].value.split(".");if(!("1"!==f[0]||b&&3>f.length||!b&&3!==f.length)&&Number(f[1])){d[c[e].Ke]||(d[c[e].Ke]=[]);var g={version:f[0],timestamp:1E3Number(f[1]),qa:f[2]};b&&3<f.length&&(g.labels=f.slice(3));d[c[e].Ke].push(g)}}return d};function Wg(){for(var a=Xg,b={},c=0;c<a.length;++c)b[a[c]]=c;return b}function Yg(){var a="ABCDEFGHIJKLMNOPQRSTUVWXYZ";a+=a.toLowerCase()+"0123456789-_";return a+"."}var Xg,Zg; function $g(a){function b(m){for(;d<a.length;){var n=a.charAt(d++),p=Zg[n];if(null!=p)return p;if(!/^[\s\xa0]$/.test(n))throw Error("Unknown base64 encoding at char: "+n);}return m}Xg=Xg||Yg();Zg=Zg||Wg();for(var c="",d=0;;){var e=b(-1),f=b(0),g=b(64),k=b(64);if(64===k&&-1===e)return c;c+=String.fromCharCode(e<<2|f>>4);64!=g&&(c+=String.fromCharCode(f<<4&240|g>>2),64!=k&&(c+=String.fromCharCode(g<<6&192|k)))}};var ah;var eh=function(){var a=bh,b=ch,c=dh(),d=function(g){a(g.target||g.srcElement||{})},e=function(g){b(g.target||g.srcElement||{})};if(!c.init){Jb(G,"mousedown",d);Jb(G,"keyup",d);Jb(G,"submit",e);var f=HTMLFormElement.prototype.submit;HTMLFormElement.prototype.submit=function(){b(this);f.call(this)};c.init=!0}},fh=function(a,b,c,d,e){var f={callback:a,domains:b,fragment:2===c,placement:c,forms:d,sameHost:e};dh().decorators.push(f)},gh=function(a,b,c){for(var d=dh().decorators,e={},f=0;f<d.length;++f){var g= d[f],k;if(k=!c||g.forms)a:{var m=g.domains,n=a,p=!!g.sameHost;if(m&&(p||n!==G.location.hostname))for(var q=0;q<m.length;q++)if(m[q]instanceof RegExp){if(m[q].test(n)){k=!0;break a}}else if(0<=n.indexOf(m[q])||p&&0<=m[q].indexOf(n)){k=!0;break a}k=!1}if(k){var t=g.placement;void 0==t&&(t=g.fragment?2:1);t===b&&Sa(e,g.callback())}}return e},dh=function(){var a=yb("google_tag_data",{}),b=a.gl;b&&b.decorators||(b={decorators:[]},a.gl=b);return b};var hh=/(.?)*(.?)*(.)/,ih=/^https?:\/\/([^\/]?).?cdn.ampproject.org\/?(.)/,jh=/^(?:www.|m.|amp.)+/,kh=/([^?#]+)(\?[^#])?(#.)?/;function lh(a){return new RegExp("(.?)(^|&)"+a+"=([^&])&?(.)")} var nh=function(a){var b=[],c;for(c in a)if(a.hasOwnProperty(c)){var d=a[c];if(void 0!==d&&d===d&&null!==d&&"[object Object]"!==d.toString()){b.push(c);var e=b,f=e.push,g,k=String(d);Xg=Xg||Yg();Zg=Zg||Wg();for(var m=[],n=0;n<k.length;n+=3){var p=n+1<k.length,q=n+2<k.length,t=k.charCodeAt(n),u=p?k.charCodeAt(n+1):0,r=q?k.charCodeAt(n+2):0,v=t>>2,x=(t&3)<<4|u>>4,z=(u&15)<<2|r>>6,w=r&63;q||(w=64,p||(z=64));m.push(Xg[v],Xg[x],Xg[z],Xg[w])}g=m.join("");f.call(e,g)}}var y=b.join("");return["1",mh(y), y].join("")},mh=function(a,b){var c=[window.navigator.userAgent,(new Date).getTimezoneOffset(),window.navigator.userLanguage||window.navigator.language,Math.floor((new Date).getTime()/60/1E3)-(void 0===b?0:b),a].join(""),d;if(!(d=ah)){for(var e=Array(256),f=0;256>f;f++){for(var g=f,k=0;8>k;k++)g=g&1?g>>>1^3988292384:g>>>1;e[f]=g}d=e}ah=d;for(var m=4294967295,n=0;n<c.length;n++)m=m>>>8^ah[(m^c.charCodeAt(n))&255];return((m^-1)>>>0).toString(36)},ph=function(){return function(a){var b=Uf(B.location.href), c=b.search.replace("?",""),d=Pf(c,"_gl",!0)||"";a.query=oh(d)||{};var e=Sf(b,"fragment").match(lh("_gl"));a.fragment=oh(e&&e[3]||"")||{}}},qh=function(a){var b=ph(),c=dh();c.data||(c.data={query:{},fragment:{}},b(c.data));var d={},e=c.data;e&&(Sa(d,e.query),a&&Sa(d,e.fragment));return d},oh=function(a){var b;b=void 0===b?3:b;try{if(a){var c;a:{for(var d=a,e=0;3>e;++e){var f=hh.exec(d);if(f){c=f;break a}d=decodeURIComponent(d)}c=void 0}var g=c;if(g&&"1"===g[1]){var k=g[3],m;a:{for(var n=g[2],p=0;p< b;++p)if(n===mh(k,p)){m=!0;break a}m=!1}if(m){for(var q={},t=k?k.split(""):[],u=0;u<t.length;u+=2)q[t[u]]=$g(t[u+1]);return q}}}}catch(r){}};function rh(a,b,c,d){function e(p){var q=p,t=lh(a).exec(q),u=q;if(t){var r=t[2],v=t[4];u=t[1];v&&(u=u+r+v)}p=u;var x=p.charAt(p.length-1);p&&"&"!==x&&(p+="&");return p+n}d=void 0===d?!1:d;var f=kh.exec(c);if(!f)return"";var g=f[1],k=f[2]||"",m=f[3]||"",n=a+"="+b;d?m="#"+e(m.substring(1)):k="?"+e(k.substring(1));return""+g+k+m} function sh(a,b){var c="FORM"===(a.tagName||"").toUpperCase(),d=gh(b,1,c),e=gh(b,2,c),f=gh(b,3,c);if(Ta(d)){var g=nh(d);c?th("_gl",g,a):uh("_gl",g,a,!1)}if(!c&&Ta(e)){var k=nh(e);uh("_gl",k,a,!0)}for(var m in f)if(f.hasOwnProperty(m))a:{var n=m,p=f[m],q=a;if(q.tagName){if("a"===q.tagName.toLowerCase()){uh(n,p,q,void 0);break a}if("form"===q.tagName.toLowerCase()){th(n,p,q);break a}}"string"==typeof q&&rh(n,p,q,void 0)}} function uh(a,b,c,d){if(c.href){var e=rh(a,b,c.href,void 0===d?!1:d);eb.test(e)&&(c.href=e)}} function th(a,b,c){if(c&&c.action){var d=(c.method||"").toLowerCase();if("get"===d){for(var e=c.childNodes||[],f=!1,g=0;g<e.length;g++){var k=e[g];if(k.name===a){k.setAttribute("value",b);f=!0;break}}if(!f){var m=G.createElement("input");m.setAttribute("type","hidden");m.setAttribute("name",a);m.setAttribute("value",b);c.appendChild(m)}}else if("post"===d){var n=rh(a,b,c.action);eb.test(n)&&(c.action=n)}}} var bh=function(a){try{var b;a:{for(var c=a,d=100;c&&0<d;){if(c.href&&c.nodeName.match(/^a(?:rea)?$/i)){b=c;break a}c=c.parentNode;d--}b=null}var e=b;if(e){var f=e.protocol;"http:"!==f&&"https:"!==f||sh(e,e.hostname)}}catch(g){}},ch=function(a){try{if(a.action){var b=Sf(Uf(a.action),"host");sh(a,b)}}catch(c){}},vh=function(a,b,c,d){eh();fh(a,b,"fragment"===c?2:1,!!d,!1)},wh=function(a,b){eh();fh(a,[Rf(B.location,"host",!0)],b,!0,!0)},xh=function(){var a=G.location.hostname,b=ih.exec(G.referrer);if(!b)return!1; var c=b[2],d=b[1],e="";if(c){var f=c.split("/"),g=f[1];e="s"===g?decodeURIComponent(f[2]):decodeURIComponent(g)}else if(d){if(0===d.indexOf("xn--"))return!1;e=d.replace(/-/g,".").replace(/../g,"-")}var k=a.replace(jh,""),m=e.replace(jh,""),n;if(!(n=k===m)){var p="."+m;n=k.substring(k.length-p.length,k.length)===p}return n},yh=function(a,b){return!1===a?!1:a||b||xh()};var zh={};var Ah=/^\w+$/,Bh=/^[\w-]+$/,Ch={aw:"_aw",dc:"_dc",gf:"_gf",ha:"_ha",gp:"_gp",gb:"_gb"},Dh=function(){if(!Bd().o()||!Sd())return!0;var a=Pd("ad_storage");return null==a?!0:!!a},Eh=function(a,b){Rd("ad_storage")?Dh()?a():Xd(a,"ad_storage"):b?wd("TAGGING",3):Wd(function(){Eh(a,!0)},["ad_storage"])},Gh=function(a){return Fh(a).map(function(b){return b.qa})},Fh=function(a){var b=[];if(!sg(B)||!G.cookie)return b;var c=xg(a,G.cookie,void 0,"ad_storage");if(!c||0==c.length)return b;for(var d={},e=0;e<c.length;d= {Gc:d.Gc},e++){var f=Hh(c[e]);if(null!=f){var g=f,k=g.version;d.Gc=g.qa;var m=g.timestamp,n=g.labels,p=xa(b,function(q){return function(t){return t.qa===q.Gc}}(d));p?(p.timestamp=Math.max(p.timestamp,m),p.labels=Ih(p.labels,n||[])):b.push({version:k,qa:d.Gc,timestamp:m,labels:n})}}b.sort(function(q,t){return t.timestamp-q.timestamp});return Jh(b)};function Ih(a,b){for(var c={},d=[],e=0;e<a.length;e++)c[a[e]]=!0,d.push(a[e]);for(var f=0;f<b.length;f++)c[b[f]]||d.push(b[f]);return d} function Kh(a){return a&&"string"==typeof a&&a.match(Ah)?a:"_gcl"} var Mh=function(){var a=Uf(B.location.href),b=Sf(a,"query",!1,void 0,"gclid"),c=Sf(a,"query",!1,void 0,"gclsrc"),d=Sf(a,"query",!1,void 0,"wbraid"),e=Sf(a,"query",!1,void 0,"dclid");if(!b||!c||!d){var f=a.hash.replace("#","");b=b||Pf(f,"gclid",void 0);c=c||Pf(f,"gclsrc",void 0);d=d||Pf(f,"wbraid",void 0)}return Lh(b,c,e,d)},Lh=function(a,b,c,d){var e={},f=function(g,k){e[k]||(e[k]=[]);e[k].push(g)};e.gclid=a;e.gclsrc=b;e.dclid=c;void 0!==d&&Bh.test(d)&&(e.gbraid=d,f(d,"gb"));if(void 0!==a&&a.match(Bh))switch(b){case void 0:f(a, "aw");break;case "aw.ds":f(a,"aw");f(a,"dc");break;case "ds":f(a,"dc");break;case "3p.ds":f(a,"dc");break;case "gf":f(a,"gf");break;case "ha":f(a,"ha")}c&&f(c,"dc");return e},Oh=function(a){var b=Mh();Eh(function(){Nh(b,!1,a)})}; function Nh(a,b,c,d,e){function f(x,z){var w=Ph(x,g);w&&(Gg(w,z,k),m=!0)}c=c||{};e=e||[];var g=Kh(c.prefix);d=d||l();var k=Og(c,d,!0);k.Ga="ad_storage";var m=!1,n=Math.round(d/1E3),p=function(x){var z=["GCL",n,x];0<e.length&&z.push(e.join("."));return z.join(".")};a.aw&&f("aw",p(a.aw[0]));a.dc&&f("dc",p(a.dc[0]));a.gf&&f("gf",p(a.gf[0]));a.ha&&f("ha",p(a.ha[0]));a.gp&&f("gp",p(a.gp[0]));if((void 0==zh.enable_gbraid_cookie_write?0:zh.enable_gbraid_cookie_write)&&!m&&a.gb){var q=a.gb[0],t=Ph("gb",g), u=!1;if(!b)for(var r=Fh(t),v=0;v<r.length;v++)r[v].qa===q&&r[v].labels&&0<r[v].labels.length&&(u=!0);u||f("gb",p(q))}} var Rh=function(a,b){var c=qh(!0);Eh(function(){for(var d=Kh(b.prefix),e=0;e<a.length;++e){var f=a[e];if(void 0!==Ch[f]){var g=Ph(f,d),k=c[g];if(k){var m=Math.min(Qh(k),l()),n;b:{var p=m;if(sg(B))for(var q=xg(g,G.cookie,void 0,"ad_storage"),t=0;t<q.length;++t)if(Qh(q[t])>p){n=!0;break b}n=!1}if(!n){var u=Og(b,m,!0);u.Ga="ad_storage";Gg(g,k,u)}}}}Nh(Lh(c.gclid,c.gclsrc),!1,b)})},Ph=function(a,b){var c=Ch[a];if(void 0!==c)return b+c},Qh=function(a){return 0!==Sh(a.split(".")).length?1E3(Number(a.split(".")[1])|| 0):0};function Hh(a){var b=Sh(a.split("."));return 0===b.length?null:{version:b[0],qa:b[2],timestamp:1E3(Number(b[1])||0),labels:b.slice(3)}}function Sh(a){return 3>a.length||"GCL"!==a[0]&&"1"!==a[0]||!/^\d+$/.test(a[1])||!Bh.test(a[2])?[]:a} var Th=function(a,b,c,d,e){if(va(b)&&sg(B)){var f=Kh(e),g=function(){for(var k={},m=0;m<a.length;++m){var n=Ph(a[m],f);if(n){var p=xg(n,G.cookie,void 0,"ad_storage");p.length&&(k[n]=p.sort()[p.length-1])}}return k};Eh(function(){vh(g,b,c,d)})}},Jh=function(a){return a.filter(function(b){return Bh.test(b.qa)})},Uh=function(a,b){if(sg(B)){for(var c=Kh(b.prefix),d={},e=0;e<a.length;e++)Ch[a[e]]&&(d[a[e]]=Ch[a[e]]);Eh(function(){Ea(d,function(f,g){var k=xg(c+g,G.cookie,void 0,"ad_storage");k.sort(function(u, r){return Qh(r)-Qh(u)});if(k.length){var m=k[0],n=Qh(m),p=0!==Sh(m.split(".")).length?m.split(".").slice(3):[],q={},t;t=0!==Sh(m.split(".")).length?m.split(".")[2]:void 0;q[f]=[t];Nh(q,!0,b,n,p)}})})}};function Vh(a,b){for(var c=0;c<b.length;++c)if(a[b[c]])return!0;return!1} var Wh=function(a){function b(e,f,g){g&&(e[f]=g)}if(Sd()){var c=Mh();if(Vh(c,a)){var d={};b(d,"gclid",c.gclid);b(d,"dclid",c.dclid);b(d,"gclsrc",c.gclsrc);b(d,"wbraid",c.gbraid);wh(function(){return d},3);wh(function(){var e={};return e.up="1",e},1)}}};function Xh(a,b){var c=Kh(b),d=Ph(a,c);if(!d)return 0;for(var e=Fh(d),f=0,g=0;g<e.length;g++)f=Math.max(f,e[g].timestamp);return f} function Yh(a){var b=0,c;for(c in a)for(var d=a[c],e=0;e<d.length;e++)b=Math.max(b,Number(d[e].timestamp));return b};function ji(a){var b=wb&&wb.userAgent||"";if(0>b.indexOf("Safari")||/Chrome|Coast|Opera|Edg|Silk|Android/.test(b))return!1;var c=(/Version\/([\d.]+)/.exec(b)||[])[1]||"";if(""===c)return!1;for(var d=a.split("."),e=c.split("."),f=0;f<e.length;f++){if(void 0===d[f])return!0;if(e[f]!=d[f])return Number(e[f])>Number(d[f])}return e.length>=d.length};var qi=new RegExp(/^(.*.)?(google|youtube|blogger|withgoogle)(.com?)?(.[a-z]{2})?.?$/),ri={cl:["ecl"],customPixels:["nonGooglePixels"],ecl:["cl"],ehl:["hl"],hl:["ehl"],html:["customScripts","customPixels","nonGooglePixels","nonGoogleScripts","nonGoogleIframes"],customScripts:["html","customPixels","nonGooglePixels","nonGoogleScripts","nonGoogleIframes"],nonGooglePixels:[],nonGoogleScripts:["nonGooglePixels"],nonGoogleIframes:["nonGooglePixels"]},si={cl:["ecl"],customPixels:["customScripts","html"], ecl:["cl"],ehl:["hl"],hl:["ehl"],html:["customScripts"],customScripts:["html"],nonGooglePixels:["customPixels","customScripts","html","nonGoogleScripts","nonGoogleIframes"],nonGoogleScripts:["customScripts","html"],nonGoogleIframes:["customScripts","html","nonGoogleScripts"]},ti="google customPixels customScripts html nonGooglePixels nonGoogleScripts nonGoogleIframes".split(" "); var ui=function(){var a=!1;a=!0;return a},wi=function(a){var b=uf("gtm.allowlist")||uf("gtm.whitelist");b&&yd(9);ui()&&(b="google gtagfl lcl zone oid op".split(" "));var c=b&&Ua(Ma(b),ri),d=uf("gtm.blocklist")|| uf("gtm.blacklist");d||(d=uf("tagTypeBlacklist"))&&yd(3);d?yd(8):d=[];vi()&&(d=Ma(d),d.push("nonGooglePixels","nonGoogleScripts","sandboxedScripts"));0<=wa(Ma(d),"google")&&yd(2);var e=d&&Ua(Ma(d),si),f={};return function(g){var k=g&&g[bc.mb];if(!k||"string"!=typeof k)return!0;k=k.replace(/^/,"");if(void 0!==f[k])return f[k];var m=mf[k]||[],n=a(k,m);if(b){var p;if(p= n)a:{if(0>wa(c,k))if(m&&0<m.length)for(var q=0;q<m.length;q++){if(0>wa(c,m[q])){yd(11);p=!1;break a}}else{p=!1;break a}p=!0}n=p}var t=!1;if(d){var u=0<=wa(e,k);if(u)t=u;else{var r=Ca(e,m||[]);r&&yd(10);t=r}}var v=!n||t;v||!(0<=wa(m,"sandboxedScripts"))||c&&-1!==wa(c,"sandboxedScripts")||(v=Ca(e,ti));return f[k]=v}},vi=function(){return qi.test(B.location&&B.location.hostname)};var xi=!1,yi=0,zi=[];function Ai(a){if(!xi){var b=G.createEventObject,c="complete"==G.readyState,d="interactive"==G.readyState;if(!a||"readystatechange"!=a.type||c||!b&&d){xi=!0;for(var e=0;e<zi.length;e++)H(zi[e])}zi.push=function(){for(var f=0;f<arguments.length;f++)H(arguments[f]);return 0}}}function Bi(){if(!xi&&140>yi){yi++;try{G.documentElement.doScroll("left"),Ai()}catch(a){B.setTimeout(Bi,50)}}}var Ci=function(a){xi?a():zi.push(a)};var Ei=function(a,b){this.o=!1;this.F=[];this.P={tags:[]};this.ba=!1;this.s=this.C=0;Di(this,a,b)},Fi=function(a,b,c,d){if(cf.hasOwnProperty(b)||"__zone"===b)return-1;var e={};$b(d)&&(e=N(d,e));e.id=c;e.status="timeout";return a.P.tags.push(e)-1},Gi=function(a,b,c,d){var e=a.P.tags[b];e&&(e.status=c,e.executionTime=d)},Hi=function(a){if(!a.o){for(var b=a.F,c=0;c<b.length;c++)b[c]();a.o=!0;a.F.length=0}},Di=function(a,b,c){ta(b)&&Ii(a,b);c&&B.setTimeout(function(){return Hi(a)},Number(c))},Ii=function(a, b){var c=Ra(function(){return H(function(){b($e.M,a.P)})});a.o?c():a.F.push(c)},Ji=function(a){a.C++;return Ra(function(){a.s++;a.ba&&a.s>=a.C&&Hi(a)})};var Ki=function(){function a(d){return!ua(d)||0>d?0:d}if(!R._li&&B.performance&&B.performance.timing){var b=B.performance.timing.navigationStart,c=ua(vf.get("gtm.start"))?vf.get("gtm.start"):0;R.li={cst:a(c-b),cbt:a(jf-b)}}},Li=function(a){B.performance&&B.performance.mark($e.M+""+a+"start")},Mi=function(a){if(B.performance){var b=$e.M+""+a+"start",c=$e.M+""+a+"_duration";B.performance.measure(c,b);var d=B.performance.getEntriesByName(c)[0];B.performance.clearMarks(b);B.performance.clearMeasures(c); var e=R._p||{};void 0===e[a]&&(e[a]=d.duration,R._p=e);return d.duration}},Ni=function(){if(B.performance&&B.performance.now){var a=R._p||{};a.PAGEVIEW=B.performance.now();R._p=a}};var Oi={},Pi=function(){return B.GoogleAnalyticsObject&&B[B.GoogleAnalyticsObject]},Qi=!1;function Ui(){return B.GoogleAnalyticsObject||"ga"} var Vi=function(a){},Wi=function(a,b){return function(){var c=Pi(),d=c&&c.getByName&&c.getByName(a);if(d){var e=d.get("sendHitTask");d.set("sendHitTask",function(f){var g=f.get("hitPayload"),k=f.get("hitCallback"),m=0>g.indexOf("&tid="+b);m&&(f.set("hitPayload",g.replace(/&tid=UA-[0-9]+-[0-9]+/,"&tid="+b),!0),f.set("hitCallback",void 0,!0));e(f);m&&(f.set("hitPayload", g,!0),f.set("hitCallback",k,!0),f.set("_x_19",void 0,!0),e(f))})}}}; var cj=function(a){},ij=function(a){},jj= function(){return"&tc="+Ic.filter(function(a){return a}).length},mj=function(){2022<=kj().length&&lj()},nj=function(a){return 0===a.indexOf("gtm.")?encodeURIComponent(a):""},pj=function(){oj||(oj=B.setTimeout(lj,500))},lj=function(){oj&&(B.clearTimeout(oj),oj=void 0);void 0===qj||rj[qj]&&!sj&&!tj||(uj[qj]||vj.Ai()||0>=wj--?(yd(1),uj[qj]=!0):(vj.Vi(),Ib(kj(!0)),rj[qj]=!0,xj=yj=zj=tj=sj=""))},kj=function(a){var b=qj;if(void 0===b)return"";var c=xd("GTM"),d=xd("TAGGING");return[Aj,rj[b]?"":"&es=1", Bj[b],cj(b),c?"&u="+c:"",d?"&ut="+d:"",jj(),sj,tj,zj,yj,ij(a),xj,"&z=0"].join("")},Dj=function(){Aj=Cj()},Cj=function(){return[kf,"&v=3&t=t","&pid="+ya(),"&rv="+$e.cd].join("")},hj=["L","S","Y"],bj=["S","E"],Ej={sampleRate:"0.005000",Cg:"",Bg:Number("5")},Fj=0<=G.location.search.indexOf("?gtm_latency=")||0<=G.location.search.indexOf("&gtmlatency="),Gj;if(!(Gj=Fj)){var Hj=Math.random(),Ij=Ej.sampleRate;Gj=Hj<Ij}var Jj=Gj,Kj={label:$e.M+" Container",children:[{label:"Initialization",children:[]}]},Aj=Cj(),rj={},sj="",tj="",xj="",yj="",gj={},fj=!1,aj={},Lj={},zj="",qj=void 0,Bj={},uj={},oj=void 0,Mj=5;0<Ej.Bg&&(Mj=Ej.Bg);var vj=function(a,b){for(var c=0,d=[],e=0;e<a;++e)d.push(0);return{Ai:function(){return c<a?!1:l()-d[c%a]<b},Vi:function(){var f=c++%a;d[f]=l()}}}(Mj,1E3),wj=1E3,Oj=function(a,b){if(Jj&&!uj[a]&&qj!== a){lj();qj=a;xj=sj="";Bj[a]="&e="+nj(b)+"&eid="+a;pj();}},Pj=function(a,b,c,d){if(Jj&&b){var e,f=String(b[bc.mb]||"").replace(//g,"");0===f.indexOf("cvt")&&(f="cvt");e=f;var g=c+e;if(!uj[a]){a!==qj&&(lj(),qj=a);sj=sj?sj+"."+g:"&tr="+g;var k=b["function"];if(!k)throw Error("Error: No function name given for function call.");var m=(Kc[k]?"1":"2")+e;xj=xj?xj+"."+m:"&ti="+m; pj();mj()}}};var Wj=function(a,b,c){if(Jj&&!uj[a]){a!==qj&&(lj(),qj=a);var d=c+b;tj=tj?tj+"."+d:"&epr="+d;pj();mj()}},Xj=function(a,b,c){};var Yj={active:!0,isAllowed:function(){return!0}},Zj=function(a){var b=R.zones;return b?b.checkState($e.M,a):Yj},ak=function(a){var b=R.zones;!b&&a&&(b=R.zones=a());return b};function bk(){}function ck(){};function dk(a,b,c,d){var e=Ic[a],f=ek(a,b,c,d);if(!f)return null;var g=Pc(e[bc.zf],c,[]);if(g&&g.length){var k=g[0];f=dk(k.index,{onSuccess:f,onFailure:1===k.Uf?b.terminate:f,terminate:b.terminate},c,d)}return f} function ek(a,b,c,d){function e(){if(f[bc.Fh])k();else{var x=Qc(f,c,[]);var z=x[bc.Hg];if(null!=z)for(var w=0;w<z.length;w++)if(!ce(z[w])){k();return}var y=Fi(c.nb,String(f[bc.mb]),Number(f[bc.Bf]),x[bc.Gh]),A=!1;x.vtp_gtmOnSuccess=function(){if(!A){A=!0;var E=l()-F;Pj(c.id,Ic[a],"5",E);Gi(c.nb,y,"success", E);g()}};x.vtp_gtmOnFailure=function(){if(!A){A=!0;var E=l()-F;Pj(c.id,Ic[a],"6",E);Gi(c.nb,y,"failure",E);k()}};x.vtp_gtmTagId=f.tag_id;x.vtp_gtmEventId=c.id;Pj(c.id,f,"1");var C=function(){var E=l()-F;Pj(c.id,f,"7",E);Gi(c.nb,y,"exception",E);A||(A=!0,k())};var F=l();try{Oc(x,c)}catch(E){C(E)}}}var f=Ic[a],g=b.onSuccess,k=b.onFailure,m=b.terminate;if(c.ze(f))return null;var n=Pc(f[bc.Cf],c,[]);if(n&&n.length){var p=n[0],q=dk(p.index,{onSuccess:g,onFailure:k,terminate:m},c,d);if(!q)return null;g=q;k=2===p.Uf?m:q}if(f[bc.vf]||f[bc.Ih]){var t=f[bc.vf]?Jc: c.cj,u=g,r=k;if(!t[a]){e=Ra(e);var v=fk(a,t,e);g=v.onSuccess;k=v.onFailure}return function(){ta}}return e}function fk(a,b,c){var d=[],e=[];b[a]=gk(d,e,c);return{onSuccess:function(){b[a]=hk;for(var f=0;f<d.length;f++)d[f]()},onFailure:function(){b[a]=ik;for(var f=0;f<e.length;f++)e[f]()}}}function gk(a,b,c){return function(d,e){a.push(d);b.push(e);c()}}function hk(a){a()}function ik(a,b){b()};var lk=function(a,b){for(var c=[],d=0;d<Ic.length;d++)if(a[d]){var e=Ic[d];var f=Ji(b.nb);try{var g=dk(d,{onSuccess:f,onFailure:f,terminate:f},b,d);if(g){var k=c,m=k.push,n=d,p=e["function"];if(!p)throw"Error: No function name given for function call.";var q=Kc[p];m.call(k,{ug:n,jg:q?q.priorityOverride||0:0,ji:g})}else jk(d,b),f()}catch(r){f()}}var t=b.nb;t.ba=!0;t.s>=t.C&&Hi(t);c.sort(kk);for(var u=0;u<c.length;u++)c[u].ji(); return 0<c.length};function kk(a,b){var c,d=b.jg,e=a.jg;c=d>e?1:d<e?-1:0;var f;if(0!==c)f=c;else{var g=a.ug,k=b.ug;f=g>k?1:g<k?-1:0}return f}function jk(a,b){if(!Jj)return;var c=function(d){var e=b.ze(Ic[d])?"3":"4",f=Pc(Ic[d][bc.zf],b,[]);f&&f.length&&c(f[0].index);Pj(b.id,Ic[d],e);var g=Pc(Ic[d][bc.Cf],b,[]);g&&g.length&&c(g[0].index)};c(a);} var mk=!1,sk=function(a){var b=l(),c=a["gtm.uniqueEventId"],d=a.event;if("gtm.js"===d){if(mk)return!1;mk=!0;}var g=Zj(c),k=!1;if(!g.active){if("gtm.js"!==d)return!1;k=!0;g=Zj(Number.MAX_SAFE_INTEGER)} Oj(c,d);var m=a.eventCallback,n=a.eventTimeout,p=m;var q={id:c,name:d,ze:wi(g.isAllowed),cj:[],dg:function(){yd(6)},Nf:nk(c),nb:new Ei(p,n)};q.Mf=ok(); pk(c,q.nb);var t=Uc(q);k&&(t=qk(t));var u=lk(t,q);"gtm.js"!==d&&"gtm.sync"!==d||Vi($e.M);return rk(t,u)};function nk(a){return function(b){Jj&&(ac(b)||Xj(a,"input",b))}} function pk(a,b){zf(a,"event",1);zf(a,"ecommerce",1);zf(a,"gtm");zf(a,"eventModel");}function ok(){var a={};a.event=yf("event",1);a.ecommerce=yf("ecommerce",1);a.gtm=yf("gtm");a.eventModel=yf("eventModel");return a}function qk(a){for(var b=[],c=0;c<a.length;c++)a[c]&&bf[String(Ic[c][bc.mb])]&&(b[c]=!0);return b} function rk(a,b){if(!b)return b;for(var c=0;c<a.length;c++)if(a[c]&&Ic[c]&&!cf[String(Ic[c][bc.mb])])return!0;return!1}function tk(a,b){if(a){var c=""+a;0!==c.indexOf("http://")&&0!==c.indexOf("https://")&&(c="https://"+c);"/"===c[c.length-1]&&(c=c.substring(0,c.length-1));return Uf(""+c+b).href}}function uk(a,b){return vk()?tk(a,b):void 0}function vk(){var a=!1;return a};var wk=function(){var a=!1;return a};var xk;if(3===$e.cd.length)xk="g";else{var yk="G";yk="g";xk=yk} var zk={"":"n",UA:"u",AW:"a",DC:"d",G:"e",GF:"f",HA:"h",GTM:xk,OPT:"o"},Ak=function(a){var b=$e.M.split("-"),c=b[0].toUpperCase(),d=zk[c]||"i",e=a&&"GTM"===c?b[1]:"OPT"===c?b[1]:"",f;if(3===$e.cd.length){var g="w";g=wk()?"s":"o";f="2"+g}else f="";return f+d+$e.cd+e};function Bk(a,b){if(""===a)return b;var c=Number(a);return isNaN(c)?b:c};var Ck=function(a,b){a.addEventListener&&a.addEventListener.call(a,"message",b,!1)};function Dk(){return ib("iPhone")&&!ib("iPod")&&!ib("iPad")};ib("Opera");ib("Trident")||ib("MSIE");ib("Edge");!ib("Gecko")||-1!=fb.toLowerCase().indexOf("webkit")&&!ib("Edge")||ib("Trident")||ib("MSIE")||ib("Edge");-1!=fb.toLowerCase().indexOf("webkit")&&!ib("Edge")&&ib("Mobile");ib("Macintosh");ib("Windows");ib("Linux")||ib("CrOS");var Ek=qa.navigator||null;Ek&&(Ek.appVersion||"").indexOf("X11");ib("Android");Dk();ib("iPad");ib("iPod");Dk()||ib("iPad")||ib("iPod");fb.toLowerCase().indexOf("kaios");var Fk=function(a,b){for(var c=a,d=0;50>d;++d){var e;try{e=!(!c.frames||!c.frames[b])}catch(k){e=!1}if(e)return c;var f;a:{try{var g=c.parent;if(g&&g!=c){f=g;break a}}catch(k){}f=null}if(!(c=f))break}return null},Gk=function(a){var b=G;b=void 0===b?window.document:b;if(!a||!b.head)return null;var c=document.createElement("meta");b.head.appendChild(c);c.httpEquiv="origin-trial";c.content=a;return c};var Hk=function(){};var Ik=function(a){void 0!==a.addtlConsent&&"string"!==typeof a.addtlConsent&&(a.addtlConsent=void 0);void 0!==a.gdprApplies&&"boolean"!==typeof a.gdprApplies&&(a.gdprApplies=void 0);return void 0!==a.tcString&&"string"!==typeof a.tcString||void 0!==a.listenerId&&"number"!==typeof a.listenerId?2:a.cmpStatus&&"error"!==a.cmpStatus?0:3},Jk=function(a,b){this.s=a;this.o=null;this.F={};this.ba=0;this.P=void 0===b?500:b;this.C=null};pa(Jk,Hk); var Lk=function(a){return"function"===typeof a.s.tcfapi||null!=Kk(a)}; Jk.prototype.addEventListener=function(a){var b={},c=tb(function(){return a(b)}),d=0;-1!==this.P&&(d=setTimeout(function(){b.tcString="tcunavailable";b.internalErrorState=1;c()},this.P));var e=function(f,g){clearTimeout(d);f?(b=f,b.internalErrorState=Ik(b),g&&0===b.internalErrorState||(b.tcString="tcunavailable",g||(b.internalErrorState=3))):(b.tcString="tcunavailable",b.internalErrorState=3);a(b)};try{Mk(this,"addEventListener",e)}catch(f){b.tcString="tcunavailable",b.internalErrorState=3,d&&(clearTimeout(d), d=0),c()}};Jk.prototype.removeEventListener=function(a){a&&a.listenerId&&Mk(this,"removeEventListener",null,a.listenerId)}; var Ok=function(a,b,c){var d;d=void 0===d?"755":d;var e;a:{if(a.publisher&&a.publisher.restrictions){var f=a.publisher.restrictions[b];if(void 0!==f){e=f[void 0===d?"755":d];break a}}e=void 0}var g=e;if(0===g)return!1;var k=c;2===c?(k=0,2===g&&(k=1)):3===c&&(k=1,1===g&&(k=0));var m;if(0===k)if(a.purpose&&a.vendor){var n=Nk(a.vendor.consents,void 0===d?"755":d);m=n&&"1"===b&&a.purposeOneTreatment&&("DE"===a.publisherCC||"CH"===a.publisherCC)?!0:n&&Nk(a.purpose.consents,b)}else m=!0;else m=1===k?a.purpose&& a.vendor?Nk(a.purpose.legitimateInterests,b)&&Nk(a.vendor.legitimateInterests,void 0===d?"755":d):!0:!0;return m},Nk=function(a,b){return!(!a||!a[b])},Mk=function(a,b,c,d){c||(c=function(){});if("function"===typeof a.s.tcfapi){var e=a.s.tcfapi;e(b,2,c,d)}else if(Kk(a)){Pk(a);var f=++a.ba;a.F[f]=c;if(a.o){var g={};a.o.postMessage((g.tcfapiCall={command:b,version:2,callId:f,parameter:d},g),"*")}}else c({},!1)},Kk=function(a){if(a.o)return a.o;a.o=Fk(a.s,"tcfapiLocator");return a.o},Pk=function(a){a.C|| (a.C=function(b){try{var c;c=("string"===typeof b.data?JSON.parse(b.data):b.data).tcfapiReturn;a.Fc.callId}catch(d){}},Ck(a.s,a.C))};var Qk=!0;Qk=!1;var Rk={1:0,3:0,4:0,7:3,9:3,10:3},Sk=Bk("",550),Tk=Bk("",500);function Uk(){var a=R.tcf||{};return R.tcf=a} var Vk=function(a,b){this.C=a;this.o=b;this.s=l();},Wk=function(a){},Xk=function(a){},cl=function(){var a=Uk(),b=new Jk(B,Qk?3E3:-1),c=new Vk(b,a);if((Yk()?!0===B.gtag_enable_tcf_support:!1!==B.gtag_enable_tcf_support)&&!a.active&&("function"===typeof B.__tcfapi||Lk(b))){a.active=!0;a.Bc={};Zk();var d=null;Qk?d=B.setTimeout(function(){$k(a);al(a);d=null},Tk):a.tcString="tcunavailable";try{b.addEventListener(function(e){d&&(clearTimeout(d),d=null);if(0!==e.internalErrorState)$k(a),al(a),Wk(c); else{var f;a.gdprApplies=e.gdprApplies;if(!1===e.gdprApplies)f=bl(),b.removeEventListener(e);else if("tcloaded"===e.eventStatus||"useractioncomplete"===e.eventStatus||"cmpuishown"===e.eventStatus){var g={},k;for(k in Rk)if(Rk.hasOwnProperty(k))if("1"===k){var m=e,n=!0;n=void 0===n?!1:n;var p;var q=m;!1===q.gdprApplies?p=!0:(void 0===q.internalErrorState&&(q.internalErrorState=Ik(q)),p="error"===q.cmpStatus||0!==q.internalErrorState||"loaded"===q.cmpStatus&&("tcloaded"===q.eventStatus||"useractioncomplete"=== q.eventStatus)?!0:!1);g["1"]=p?!1===m.gdprApplies||"tcunavailable"===m.tcString||void 0===m.gdprApplies&&!n||"string"!==typeof m.tcString||!m.tcString.length?!0:Ok(m,"1",0):!1}else g[k]=Ok(e,k,Rk[k]);f=g}f&&(a.tcString=e.tcString||"tcempty",a.Bc=f,al(a),Wk(c))}}),Xk(c)}catch(e){d&&(clearTimeout(d),d=null),$k(a),al(a)}}};function $k(a){a.type="e";a.tcString="tcunavailable";Qk&&(a.Bc=bl())}function Zk(){var a={},b=(a.ad_storage="denied",a.wait_for_update=Sk,a);$d(b)} var Yk=function(){var a=!1;a=!0;return a};function bl(){var a={},b;for(b in Rk)Rk.hasOwnProperty(b)&&(a[b]=!0);return a}function al(a){var b={},c=(b.ad_storage=a.Bc["1"]?"granted":"denied",b);dl();be(c,0)} var el=function(){var a=Uk();if(a.active&&void 0!==a.loadTime)return Number(a.loadTime)},dl=function(){var a=Uk();return a.active?a.tcString||"":""},fl=function(){var a=Uk();return a.active&&void 0!==a.gdprApplies?a.gdprApplies?"1":"0":""},gl=function(a){if(!Rk.hasOwnProperty(String(a)))return!0;var b=Uk();return b.active&&b.Bc?!!b.Bc[String(a)]:!0};function ml(a){a=a||{};if(sg(B)&&G.cookie){var b=Mg(Kh(a.prefix)+"_ec",a.domain,a.path,["1"],O.D);if(b){var c=b.split(".");if(3===c.length)return{Sf:c[0]+"."+c[1],ci:Number(c[1])||0,bg:Number(c[2])||0}}}}function nl(a){if(!Sd()||Pd(O.D)){var b=ml(a);if(b&&!(18E5<l()-b.bg))return b.Sf}};var ol=!1;var pl=function(){this.o={}},ql=function(a,b,c){null!=c&&(a.o[b]=c)},rl=function(a){return Object.keys(a.o).map(function(b){return encodeURIComponent(b)+"="+encodeURIComponent(a.o[b])}).join("&")},tl=function(a,b,c,d,e){}; var vl=/[A-Z]+/,wl=/\s/,xl=function(a){if(h(a)&&(a=Na(a),!wl.test(a))){var b=a.indexOf("-");if(!(0>b)){var c=a.substring(0,b);if(vl.test(c)){for(var d=a.substring(b+1).split("/"),e=0;e<d.length;e++)if(!d[e])return;return{id:a,prefix:c,containerId:c+"-"+d[0],N:d}}}}},zl=function(a){for(var b={},c=0;c<a.length;++c){var d=xl(a[c]);d&&(b[d.id]=d)}yl(b);var e=[];Ea(b,function(f,g){e.push(g)});return e}; function yl(a){var b=[],c;for(c in a)if(a.hasOwnProperty(c)){var d=a[c];"AW"===d.prefix&&d.N[1]&&b.push(d.containerId)}for(var e=0;e<b.length;++e)delete a[b[e]]};var Bl=function(a,b,c,d){return(2===Al()||d||"http:"!=B.location.protocol?a:b)+c},Al=function(){var a=Db(),b;if(1===a)a:{var c=ff;c=c.toLowerCase();for(var d="https://"+c,e="http://"+c,f=1,g=G.getElementsByTagName("script"),k=0;k<g.length&&100>k;k++){var m=g[k].src;if(m){m=m.toLowerCase();if(0===m.indexOf(e)){b=3;break a}1===f&&0===m.indexOf(d)&&(f=2)}}b=f}else b=a;return b};var Nl=!1,Ol=Number("200");function Pl(){if(!B.Promise)return!1;ta(G.interestCohort)||Nl||(Nl=!0,Gk("A489+ZNTpP/HCOD+k3I13nobRVH7eyh5fz5LGhYvQlNf9WauHk/0awCtXOEoWTIK9JN8bgzgn2SfPdaFXe5O9QkAAACKeyJvcmlnaW4iOiJodHRwczovL3d3dy5nb29nbGV0YWdtYW5hZ2VyLmNvbTo0NDMiLCJmZWF0dXJlIjoiSW50ZXJlc3RDb2hvcnRBUEkiLCJleHBpcnkiOjE2MjYyMjA3OTksImlzU3ViZG9tYWluIjp0cnVlLCJpc1RoaXJkUGFydHkiOnRydWV9"));return ta(G.interestCohort)} function Ql(){var a=R.floc;if(a){var b=a.ts,c=a.floc;if(b&&c&&1E3>l()-b)return Promise.resolve(c)}var d=void 0;try{d=Promise.race([G.interestCohort().then(function(e){R.floc={ts:l(),floc:e};return e}),new Promise(function(e){B.setTimeout(function(){return e()},Ol)})]).catch(function(){})}catch(e){return}return d}var Sm=function(){var a=!0;gl(7)&&gl(9)&&gl(10)||(a=!1);var b=!0;b=!1;b&&!Rm()&&(a=!1);return a},Rm=function(){var a=!0;gl(3)&&gl(4)||(a=!1);return a};var yn=!1;yn=!0;var zn=!1;zn=!0;function An(){var a=R;return a.gcq=a.gcq||new Bn} var Cn=function(a,b,c){An().register(a,b,c)},Dn=function(a,b,c,d){An().push("event",[b,a],c,d)},En=function(a,b){An().push("config",[a],b)},Fn=function(a,b,c,d){An().push("get",[a,b],c,d)},Gn={},Hn=function(){this.status=1;this.containerConfig={};this.targetConfig={};this.remoteConfig={};this.s={};this.C=null;this.o=!1},In=function(a,b,c,d,e){this.type=a;this.C=b;this.T=c||"";this.o=d;this.s=e},Bn=function(){this.s={};this.C={};this.o=[];this.F={AW:!1,UA:!1};this.enableDeferrableCommandAfterConfig= yn},Jn=function(a,b){var c=xl(b);return a.s[c.containerId]=a.s[c.containerId]||new Hn},Kn=function(a,b,c){if(b){var d=xl(b);if(d&&1===Jn(a,b).status){Jn(a,b).status=2;var e={};Jj&&(e.timeoutId=B.setTimeout(function(){yd(38);pj()},3E3));a.push("require",[e],d.containerId);Gn[d.containerId]=l();if(wk()){}else{var g="/gtag/js?id="+encodeURIComponent(d.containerId)+"&l=dataLayer&cx=c";$e.Lb&&"SGTM_TOKEN"!==$e.Lb.replaceAll("@@","")&&(g+="&sign="+$e.Lb);var k=("http:"!=B.location.protocol?"https:":"http:")+("//www.googletagmanager.com"+g),m=uk(c,g)||k;Cb(m)}}}},Ln=function(a,b,c,d){if(d.T){var e=Jn(a,d.T),f=e.C;if(f){var g=N(c),k=N(e.targetConfig[d.T]),m=N(e.containerConfig),n=N(e.remoteConfig),p=N(a.C),q=uf("gtm.uniqueEventId"),t=xl(d.T).prefix,u=Ra(function(){var v= g[O.Eb];v&&H(v)}),r=We(Ve(Xe(Ue(Te(Se(Re(Qe(Pe(g),k),m),n),p),function(){Wj(q,t,"2");zn&&u()}),function(){Wj(q,t,"3");zn&&u()}),function(v,x){a.F[v]=x}),function(v){return a.F[v]});try{Wj(q,t,"1");f(d.T,b,d.C,r)}catch(v){Wj(q,t,"4");}}}}; Bn.prototype.register=function(a,b,c){var d=Jn(this,a);if(3!==d.status){d.C=b;d.status=3;c&&(N(d.remoteConfig,c),d.remoteConfig=c);var e=xl(a),f=Gn[e.containerId];if(void 0!==f){var g=R[e.containerId].bootstrap,k=e.prefix.toUpperCase();R[e.containerId]._spx&&(k=k.toLowerCase());var m=uf("gtm.uniqueEventId"),n=k,p=l()-g;if(Jj&&!uj[m]){m!==qj&&(lj(),qj=m);var q=n+"."+Math.floor(g-f)+"."+Math.floor(p);yj=yj?yj+","+q:"&cl="+q}delete Gn[e.containerId]}this.flush()}}; Bn.prototype.push=function(a,b,c,d){var e=Math.floor(l()/1E3);Kn(this,c,b[0][O.oa]||this.C[O.oa]);yn&&c&&Jn(this,c).o&&(d=!1);this.o.push(new In(a,e,c,b,d));d||this.flush()};Bn.prototype.insert=function(a,b,c){var d=Math.floor(l()/1E3);0<this.o.length?this.o.splice(1,0,new In(a,d,c,b,!1)):this.o.push(new In(a,d,c,b,!1))}; Bn.prototype.flush=function(a){for(var b=this,c=[],d=!1,e={};this.o.length;){var f=this.o[0];if(f.s)yn?!f.T||Jn(this,f.T).o?(f.s=!1,this.o.push(f)):c.push(f):(f.s=!1,this.o.push(f)),this.o.shift();else{switch(f.type){case "require":if(3!==Jn(this,f.T).status&&!a){yn&&this.o.push.apply(this.o,c);return}Jj&&B.clearTimeout(f.o[0].timeoutId);break;case "set":Ea(f.o[0],function(t,u){N(Va(t,u),b.C)});break;case "config":e.Ha={};Ea(f.o[0],function(t){return function(u,r){N(Va(u,r),t.Ha)}}(e));var g=!!e.Ha[O.Vc]; delete e.Ha[O.Vc];var k=Jn(this,f.T),m=xl(f.T),n=m.containerId===m.id;g||(n?k.containerConfig={}:k.targetConfig[f.T]={});k.o&&g||Ln(this,O.za,e.Ha,f);k.o=!0;delete e.Ha[O.hc];n?N(e.Ha,k.containerConfig):N(e.Ha,k.targetConfig[f.T]);yn&&(d=!0);break;case "event":e.Fc={};Ea(f.o[0],function(t){return function(u,r){N(Va(u,r),t.Fc)}}(e));Ln(this,f.o[1],e.Fc,f);break;case "get":var p={},q=(p[O.Ma]=f.o[0],p[O.Va]=f.o[1],p);Ln(this,O.Ja,q,f)}this.o.shift();Mn(this,f)}e={Ha:e.Ha,Fc:e.Fc}}yn&&(this.o.push.apply(this.o, c),d&&this.flush())};var Mn=function(a,b){if("require"!==b.type)if(b.T)for(var c=a.getCommandListeners(b.T)[b.type]||[],d=0;d<c.length;d++)c[d]();else for(var e in a.s)if(a.s.hasOwnProperty(e)){var f=a.s[e];if(f&&f.s)for(var g=f.s[b.type]||[],k=0;k<g.length;k++)g[k]()}};Bn.prototype.getRemoteConfig=function(a){return Jn(this,a).remoteConfig};Bn.prototype.getCommandListeners=function(a){return Jn(this,a).s};var Nn=function(a,b,c){var d={event:b,"gtm.element":a,"gtm.elementClasses":Qb(a,"className"),"gtm.elementId":a["for"]||Lb(a,"id")||"","gtm.elementTarget":a.formTarget||Qb(a,"target")||""};c&&(d["gtm.triggers"]=c.join(","));d["gtm.elementUrl"]=(a.attributes&&a.attributes.formaction?a.formAction:"")||a.action||Qb(a,"href")||a.src||a.code||a.codebase||"";return d},On=function(a){R.hasOwnProperty("autoEventsSettings")||(R.autoEventsSettings={});var b=R.autoEventsSettings;b.hasOwnProperty(a)||(b[a]={}); return b[a]},Pn=function(a,b,c){On(a)[b]=c},Qn=function(a,b,c,d){var e=On(a),f=Pa(e,b,d);e[b]=c(f)},Rn=function(a,b,c){var d=On(a);return Pa(d,b,c)};var Sn=["input","select","textarea"],Tn=["button","hidden","image","reset","submit"],Un=function(a){var b=a.tagName.toLowerCase();return!xa(Sn,function(c){return c===b})||"input"===b&&xa(Tn,function(c){return c===a.type.toLowerCase()})?!1:!0},Vn=function(a){return a.form?a.form.tagName?a.form:G.getElementById(a.form):Ob(a,["form"],100)},Wn=function(a,b,c){if(!a.elements)return 0;for(var d=b.dataset[c],e=0,f=1;e<a.elements.length;e++){var g=a.elements[e];if(Un(g)){if(g.dataset[c]===d)return f;f++}}return 0};var Xn=!!B.MutationObserver,Yn=void 0,Zn=function(a){if(!Yn){var b=function(){var c=G.body;if(c)if(Xn)(new MutationObserver(function(){for(var e=0;e<Yn.length;e++)H(Yn[e])})).observe(c,{childList:!0,subtree:!0});else{var d=!1;Jb(c,"DOMNodeInserted",function(){d||(d=!0,H(function(){d=!1;for(var e=0;e<Yn.length;e++)H(Yn[e])}))})}};Yn=[];G.body?b():H(b)}Yn.push(a)}; var $n=function(a,b,c){function d(){var g=a();f+=e?(l()-e)g.playbackRate/1E3:0;e=l()}var e=0,f=0;return{createEvent:function(g,k,m){var n=a(),p=n.Rf,q=void 0!==m?Math.round(m):void 0!==k?Math.round(n.Rfk):Math.round(n.di),t=void 0!==k?Math.round(100k):0>=p?0:Math.round(q/p100),u=G.hidden?!1:.5<=Hf(c);d();var r=void 0;void 0!==b&&(r=[b]);var v=Nn(c,"gtm.video",r);v["gtm.videoProvider"]="youtube";v["gtm.videoStatus"]=g;v["gtm.videoUrl"]=n.url;v["gtm.videoTitle"]=n.title;v["gtm.videoDuration"]=Math.round(p); v["gtm.videoCurrentTime"]=Math.round(q);v["gtm.videoElapsedTime"]=Math.round(f);v["gtm.videoPercent"]=t;v["gtm.videoVisible"]=u;return v},Yi:function(){e=l()},je:function(){d()}}};var ao=!1,bo=[];function co(){if(!ao){ao=!0;for(var a=0;a<bo.length;a++)H(bo[a])}}var eo=function(a){ao?H(a):bo.push(a)};function fo(a,b){a=String(a);b=String(b);var c=a.length-b.length;return 0<=c&&a.indexOf(b,c)==c}var go=new Aa;function ho(a,b,c){var d=c?"i":void 0;try{var e=String(b)+d,f=go.get(e);f||(f=new RegExp(b,d),go.set(e,f));return f.test(a)}catch(g){return!1}} function io(a,b){function c(g){var k=Uf(g),m=Sf(k,"protocol"),n=Sf(k,"host",!0),p=Sf(k,"port"),q=Sf(k,"path").toLowerCase().replace(/\/$/,"");if(void 0===m||"http"==m&&"80"==p||"https"==m&&"443"==p)m="web",p="default";return[m,n,p,q]}for(var d=c(String(a)),e=c(String(b)),f=0;f<d.length;f++)if(d[f]!==e[f])return!1;return!0} function jo(a){return ko(a)?1:0} function ko(a){var b=a.arg0,c=a.arg1;if(a.any_of&&va(c)){for(var d=0;d<c.length;d++){var e=N(a,{});N({arg1:c[d],any_of:void 0},e);if(jo(e))return!0}return!1}switch(a["function"]){case "_cn":return 0<=String(b).indexOf(String(c));case "_css":var f;a:{if(b){var g=["matches","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector","oMatchesSelector"];try{for(var k=0;k<g.length;k++)if(b[g[k]]){f=bg[k];break a}}catch(n){}}f=!1}return f;case "_ew":return fo(b,c);case "_eq":return String(b)== String(c);case "_ge":return Number(b)>=Number(c);case "_gt":return Number(b)>Number(c);case "_lc":var m;m=String(b).split(",");return 0<=wa(m,String(c));case "_le":return Number(b)<=Number(c);case "_lt":return Number(b)<Number(c);case "_re":return ho(b,c,a.ignore_case);case "_sw":return 0==String(b).indexOf(String(c));case "_um":return io(b,c)}return!1};Object.freeze({dl:1,id:1});var lo={},mo=function(a,b){b=b.toString().split(",");for(var c=0;c<b.length;c++){var d=lo[b[c]]||[];lo[b[c]]=d;0>wa(d,a)&&d.push(a)}},no=function(a){Ea(lo,function(b,c){var d=wa(c,a);0<=d&&c.splice(d,1)})};var oo="HA GF G UA AW DC".split(" "),po=!1;po=!0;var qo=!1,ro=!1;function so(a,b){var c={event:a};b&&(c.eventModel=N(b),b[O.Eb]&&(c.eventCallback=b[O.Eb]),b[O.Pc]&&(c.eventTimeout=b[O.Pc]));return c}function to(a){a.hasOwnProperty("gtm.uniqueEventId")||Object.defineProperty(a,"gtm.uniqueEventId",{value:nf()});return a["gtm.uniqueEventId"]} function uo(){if(!qo&&!R.gtagRegistered){qo=R.gtagRegistered=!0;R.addTargetToGroup=function(c){mo(c,"default")};}return qo} var vo={config:function(a){var b,c=to(a);if(2>a.length||!h(a[1]))return;var d={};if(2<a.length){if(void 0!=a[2]&&!$b(a[2])||3<a.length)return;d=a[2]}var e=xl(a[1]);if(!e)return;no(e.id);mo(e.id,d[O.Qd]||"default");delete d[O.Qd];ro||yd(43);if(uo()&&-1!==wa(oo,e.prefix)){"G"===e.prefix&&(d[O.hc]=!0);po&&delete d[O.Eb];En(d,e.id);return}xf("gtag.targets."+e.id,void 0);xf("gtag.targets."+e.id,N(d));var f={};f[O.lb]=e.id;b=so(O.za,f);b["gtm.uniqueEventId"]=c; return b},consent:function(a){function b(){uo()&&N(a[2],{subcommand:a[1]})}if(3===a.length){yd(39);var c=nf(),d=a[1];"default"===d?(b(),$d(a[2])):"update"===d&&(b(),be(a[2],c))}},event:function(a){var b=a[1];if(!(2>a.length)&&h(b)){var c;if(2<a.length){if(!$b(a[2])&&void 0!=a[2]||3<a.length)return;c=a[2]}var d=so(b,c),e=to(a);d["gtm.uniqueEventId"]=e;var f;var g=c&&c[O.lb];void 0===g&&(g=uf(O.lb,2),void 0===g&&(g="default"));if(h(g)||va(g)){for(var k=g.toString().replace(/\s+/g, "").split(","),m=[],n=0;n<k.length;n++)if(0<=k[n].indexOf("-"))m.push(k[n]);else{var p=lo[k[n]];p&&p.length&&(m=m.concat(p))}f=zl(m)}else f=void 0;var q=f;if(!q)return;for(var t=uo(),u=[],r=0;t&&r<q.length;r++){var v=q[r];if(-1!==wa(oo,v.prefix)){var x=N(c);"G"===v.prefix&&(x[O.hc]=!0);po&&delete x[O.Eb];Dn(b,x,v.id)}u.push(v.id)}d.eventModel=d.eventModel||{};0<q.length?d.eventModel[O.lb]=u.join():delete d.eventModel[O.lb];ro||yd(43);return d}},get:function(a){ yd(53);if(4!==a.length||!h(a[1])||!h(a[2])||!ta(a[3]))return;var b=xl(a[1]),c=String(a[2]),d=a[3];if(!b)return;ro||yd(43);if(!uo()||-1===wa(oo,b.prefix))return;nf();var e={};bk(N((e[O.Ma]=c,e[O.Va]=d,e)));Fn(c,function(f){H(function(){return d(f)})},b.id);},js:function(a){if(2==a.length&&a[1].getTime){ro=!0;uo();var b={};return b.event="gtm.js",b["gtm.start"]=a[1].getTime(),b["gtm.uniqueEventId"]=to(a),b}},policy:function(){},set:function(a){var b;2==a.length&&$b(a[1])? b=N(a[1]):3==a.length&&h(a[1])&&(b={},$b(a[2])||va(a[2])?b[a[1]]=N(a[2]):b[a[1]]=a[2]);if(b){if(nf(),uo()){N(b);var c=N(b);An().push("set",[c])}b._clear=!0;return b}}},wo={policy:!0};var xo=function(a,b){var c=a.hide;if(c&&void 0!==c[b]&&c.end){c[b]=!1;var d=!0,e;for(e in c)if(c.hasOwnProperty(e)&&!0===c[e]){d=!1;break}d&&(c.end(),c.end=null)}},zo=function(a){var b=yo(),c=b&&b.hide;c&&c.end&&(c[a]=!0)};var Qo=function(a){if(Po(a))return a;this.o=a};Qo.prototype.si=function(){return this.o};var Po=function(a){return!a||"object"!==Tb(a)||$b(a)?!1:"getUntrustedUpdateValue"in a};Qo.prototype.getUntrustedUpdateValue=Qo.prototype.si;var Ro=[],So=!1,To=!1,Uo=function(a){return B["dataLayer"].push(a)},Vo=function(a){var b=R["dataLayer"],c=b?b.subscribers:1,d=0,e=a;return function(){++d===c&&(e(),e=null)}}; function Wo(a){var b=a._clear;Ea(a,function(d,e){"_clear"!==d&&(b&&xf(d,void 0),xf(d,e))});hf||(hf=a["gtm.start"]);var c=a["gtm.uniqueEventId"];if(!a.event)return!1;c||(c=nf(),a["gtm.uniqueEventId"]=c,xf("gtm.uniqueEventId",c));return sk(a)}function Xo(){var a=Ro[0];if(null==a||"object"!==typeof a)return!1;if(a.event)return!0;if(Ga(a)){var b=a[0];if("config"===b||"event"===b||"js"===b)return!0}return!1} function Yo(){for(var a=!1;!To&&0<Ro.length;){if(!So&&Xo()){var b={},c=(b.event="gtm.init_consent",b),d={},e=(d.event="gtm.init",d);Ro.unshift(c,e);So=!0}To=!0;delete rf.eventModel; tf();var g=Ro.shift();if(null!=g){var k=Po(g);if(k){var m=g;g=Po(m)?m.getUntrustedUpdateValue():void 0;for(var n=["gtm.allowlist","gtm.blocklist","gtm.whitelist","gtm.blacklist","tagTypeBlacklist"],p=0;p<n.length;p++){var q=n[p],t=uf(q,1);if(va(t)||$b(t))t=N(t);sf[q]=t}}try{if(ta(g))try{g.call(vf)}catch(A){}else if(va(g)){var u=g;if(h(u[0])){var r=u[0].split("."),v=r.pop(),x=u.slice(1),z=uf(r.join("."),2);if(void 0!==z&&null!==z)try{z[v].apply(z,x)}catch(A){}}}else{if(Ga(g)){a:{var w=g;if(w.length&& h(w[0])){var y=vo[w[0]];if(y&&(!k||!wo[w[0]])){g=y(w);break a}}g=void 0}if(!g){To=!1;continue}}a=Wo(g)||a}}finally{k&&tf(!0)}}To=!1}return!a} function Zo(){var b=Yo();try{xo(B["dataLayer"],$e.M)}catch(c){}return b} var ap=function(){var a=yb("dataLayer",[]),b=yb("google_tag_manager",{});b=b["dataLayer"]=b["dataLayer"]||{};Ci(function(){b.gtmDom||(b.gtmDom=!0,a.push({event:"gtm.dom"}))});eo(function(){b.gtmLoad||(b.gtmLoad=!0,a.push({event:"gtm.load"}))});b.subscribers=(b.subscribers||0)+1;var c=a.push;a.push=function(){var e;if(0<R.SANDBOXED_JS_SEMAPHORE){e=[];for(var f=0;f<arguments.length;f++)e[f]=new Qo(arguments[f])}else e=[].slice.call(arguments,0);var g=c.apply(a,e);Ro.push.apply(Ro,e);if(300< this.length)for(yd(4);300<this.length;)this.shift();var k="boolean"!==typeof g||g;return Yo()&&k};var d=a.slice(0);Ro.push.apply(Ro,d);if($o()){H(Zo)}},$o=function(){var a=!0;return a};var bp={};bp.Zc=new String("undefined"); var cp=function(a){this.o=function(b){for(var c=[],d=0;d<a.length;d++)c.push(a[d]===bp.Zc?b:a[d]);return c.join("")}};cp.prototype.toString=function(){return this.o("undefined")};cp.prototype.valueOf=cp.prototype.toString;bp.Kh=cp;bp.he={};bp.bi=function(a){return new cp(a)};var dp={};bp.Wi=function(a,b){var c=nf();dp[c]=[a,b];return c};bp.Pf=function(a){var b=a?0:1;return function(c){var d=dp[c];if(d&&"function"===typeof d[b])d[b]();dp[c]=void 0}};bp.zi=function(a){for(var b=!1,c=!1,d=2;d<a.length;d++)b= b||8===a[d],c=c||16===a[d];return b&&c};bp.Oi=function(a){if(a===bp.Zc)return a;var b=nf();bp.he[b]=a;return'google_tag_manager["'+$e.M+'"].macro('+b+")"};bp.Ji=function(a,b,c){a instanceof bp.Kh&&(a=a.o(bp.Wi(b,c)),b=sa);return{wi:a,onSuccess:b}};var op=B.clearTimeout,pp=B.setTimeout,V=function(a,b,c){if(wk()){b&&H(b)}else return Cb(a,b,c,void 0)},qp=function(){return new Date},rp=function(){return B.location.href},sp=function(a){return Sf(Uf(a),"fragment")},tp=function(a){return Tf(Uf(a))},up=function(a,b){return uf(a,b||2)},vp=function(a,b,c){var d;b?(a.eventCallback=b,c&&(a.eventTimeout=c),d=Uo(a)):d=Uo(a);return d},wp=function(a,b){B[a]=b},X=function(a, b,c){b&&(void 0===B[a]||c&&!B[a])&&(B[a]=b);return B[a]},xp=function(a,b,c){return xg(a,b,void 0===c?!0:!!c)},yp=function(a,b,c){return 0===Gg(a,b,c)},zp=function(a,b){if(wk()){b&&H(b)}else Eb(a,b)},Ap=function(a){return!!Rn(a,"init",!1)},Bp=function(a){Pn(a,"init",!0)},Cp=function(a){var b=ff+"?id="+encodeURIComponent(a)+"&l=dataLayer";$e.Lb&&"SGTM_TOKEN"!==$e.Lb.replaceAll("@@","")&&(b+="&sign="+$e.Lb);V(Bl("https://", "http://",b))},Dp=function(a,b,c){Jj&&(ac(a)||Xj(c,b,a))}; var Ep=bp.Ji; var aq=encodeURI,Y=encodeURIComponent,bq=Ib;var cq=function(a,b){if(!a)return!1;var c=Sf(Uf(a),"host");if(!c)return!1;for(var d=0;b&&d<b.length;d++){var e=b[d]&&b[d].toLowerCase();if(e){var f=c.length-e.length;0<f&&"."!=e.charAt(0)&&(f--,e="."+e);if(0<=f&&c.indexOf(e,f)==f)return!0}}return!1}; var dq=function(a,b,c){for(var d={},e=!1,f=0;a&&f<a.length;f++)a[f]&&a[f].hasOwnProperty(b)&&a[f].hasOwnProperty(c)&&(d[a[f][b]]=a[f][c],e=!0);return e?d:null}; var mr={};mr[O.Mc]="";mr[O.la]="";mr[O.La]="";mr[O.ka]="auto";mr[O.ib]="/";mr[O.Da]=63072E3;mr[O.bc]=30;mr[O.Tc]=1E4;mr[O.ac]=!0;var nr=function(a,b,c,d,e){this.s=a;this.J=b;this.F=c;this.K=d.eventModel;this.Lh=d.containerConfig;this.C=d;this.fb=d.getWithConfig(O.Db)?1:7;this.ae=d.getWithConfig(O.jb)?1:7;this.ba=e;this.yb=this.$d=this.If=this.P=this.Ef=this.Gf=this.Yc=!1;this.rb=0;this.de=this.ee=this.Xc=!1;this.fe=void 0;this.Wc=0;this.Af=this.ce=this.Hf=this.o=this.Df=this.be=void 0};aa=nr.prototype; aa.Ea=function(a,b){void 0===this.B(a)&&(this.K[a]=b)};aa.qg=function(a,b){b<=this.fb&&(this.K[O.Db]=a,this.fb=b)};aa.rg=function(a,b){b<=this.ae&&(this.K[O.jb]=a,this.ae=b)};aa.B=function(a){return void 0!==this.K[a]?this.K[a]:void 0!==this.C.getWithConfig(a)?this.C.getWithConfig(a):void 0!==this.ba[a]?this.ba[a]:mr[a]};aa.getRemoteConfig=function(a){return void 0!==this.C.remoteConfig[a]?this.C.remoteConfig[a]:this.ba[a]};aa.pd=function(a){var b=this.qb(O.Oc,this.ba[O.Oc]);if(b&&void 0!==b[a||this.J])return b[a|| this.J]};aa.qb=function(a,b){var c=Ef(this.s);if(c&&c.hasOwnProperty(a))return c[a];return b};aa.Yf=function(){var a=this.B(O.va);if("object"===typeof a)return a};aa.Zf=function(){return!!this.Yf()};aa.abort=function(){throw"ABORT";};aa.Pa=function(){return!(!0!==this.B(O.Yb)&&"true"!==this.B(O.Yb)||!this.B(O.oa))};aa.Ki=function(){return this.P||!!this.B(O.cf)}; var or=!1,pr=function(){or=!0;or=!0;},qr=function(a){var b=!1;b=a.J===O.Vb&&Sd()&&a.Pa();return!(!wb.sendBeacon||a.Xc||a.ee||a.P||a.$d||a.yb||b||or)}; var ur=function(){var a=0,b=0;return{start:function(){a=l()},stop:function(){b=this.get()},get:function(){var c=0;rr&&sr&&tr&&(c=l()-a);return c+b}}},yr=function(){vr+=wr();xr=ur();rr&&sr&&tr&&xr.start()},xr=void 0,vr=0,rr=!1,sr=!1,tr=!1,zr=void 0,Ar=void 0,Br=function(a){if(!xr){rr=G.hasFocus();sr=!G.hidden;tr=!0;var b=function(c,d,e){Jb(c,d,function(f){xr.stop();e(f);rr&&sr&&tr&&xr.start()})};b(B,"focus",function(){rr=!0});b(B,"blur",function(){rr=!1});b(B,"pageshow",function(c){tr=!0;c.persisted&& yd(56);Ar&&Ar()});b(B,"pagehide",function(){tr=!1;zr&&zr()});b(G,"visibilitychange",function(){sr=!G.hidden});a.Pa()&&-1===(wb.userAgent||"").indexOf("Firefox")&&-1===(wb.userAgent||"").indexOf("FxiOS")&&b(B,"beforeunload",function(){pr()});yr();vr=0}},wr=function(){return xr&&xr.get()||0}; var Cr=function(a){wd("GA4_EVENT",a)}; var Er=function(a){return!a||Dr.test(a)||0<=wa(O.Bh,a)},Fr=function(a){var b=a[O.df];if(b)return b;var c=a[O.Ib];if(h(c)){if("function"===typeof URL)try{return(new URL(c)).pathname}catch(e){return}var d=Uf(c);return d.hostname?Sf(d,"path"):void 0}},Gr=function(a,b,c){if(c)switch(c.type){case "event_name":return a;case "const":return c.const_value;case "event_param":var d=c.event_param.param_name,e=b[d]; return e}},Hr=function(a,b,c){for(var d=c.event_param_ops||[],e=0;e<d.length;e++){var f=d[e];if(f.edit_param){var g=f.edit_param.param_name,k=Gr(a,b,f.edit_param.param_value),m;if(k){var n=Number(k);m=isNaN(n)?k:n}else m=k;b[g]=m}else f.delete_param&&delete b[f.delete_param.param_name]}},Ir=function(a,b){var c=b.values||[],d=Gr(a.J,a.K,c[0]),e=Gr(a.J,a.K,c[1]),f=b.type;if("eqi"===f||"swi"===f||"ewi"===f||"cni"===f)d="string"===typeof d?d.toLowerCase():d,e="string"===typeof e?e.toLowerCase():e;var g= !1;switch(f){case "eq":case "eqi":g=String(d)==String(e);break;case "sw":case "swi":g=0==String(d).indexOf(String(e));break;case "ew":case "ewi":g=fo(d,e);break;case "cn":case "cni":g=0<=String(d).indexOf(String(e));break;case "lt":g=Number(d)<Number(e);break;case "le":g=Number(d)<=Number(e);break;case "gt":g=Number(d)>Number(e);break;case "ge":g=Number(d)>=Number(e);break;case "re":case "rei":g=ho(d,e,"rei"===f)}return!!b.negate!==g},Jr=function(a,b){var c=b.event_namepredicate;if(c&&!Ir(a,c))return!1; var d=b.conditions||[];if(0===d.length)return!0;for(var e=0;e<d.length;e++){for(var f=d[e].predicates||[],g=!0,k=0;k<f.length;k++)if(!Ir(a,f[k])){g=!1;break}if(g)return!0}return!1},Dr=/^(|ga|google|gtag.|firebase_).$/,Kr=!1;Kr=!0;function Lr(){return B.gaGlobal=B.gaGlobal||{}}var Mr=function(){var a=Lr();a.hid=a.hid||ya();return a.hid},Nr=function(a,b){var c=Lr();if(void 0==c.vid||b&&!c.from_cookie)c.vid=a,c.from_cookie=b}; var Qr=function(a,b){var c=!0;return c},Sr=function(a){var b;return b},Or=function(a,b,c){var d=String(c.B(O.ka)),e=String(c.B(O.ib)),f=Number(c.B(O.Da)),g=c.B(O.Xb),k={Ga:O.I,domain:d,path:e,expires:f?new Date(l()+1E3f):void 0,flags:""+c.B(O.La)};if(!1===g&&Tr(c)===b)return!0; var m=Ng(b,Ur[0],d,e);return 1!==Gg(a,m,k)},Rr=function(a,b){var c=""+b.B(O.ka),d=""+b.B(O.ib),e=Mg(a,c,d,Ur,O.I);if(!e){var f=String(b.B(O.Mc));f&&f!=a&&(e=Mg(f,c,d,Ur,O.I))}return e},Pr=function(a){return a.B(O.la)+"_ga_ecid"},Wr=function(a,b){return Or(Vr(b),a,b)},Tr=function(a){return Rr(Vr(a),a)},Vr=function(a){return String(a.B(O.la))+"_ga"},Ur=["GA1"]; var Zr=function(a,b){var c=Xr(b),d=String(b.B(O.ka)),e=String(b.B(O.ib)),f=Number(b.B(O.Da)),g=Ng(a,Yr[0],d,e),k={Ga:O.I,domain:d,path:e,expires:f?new Date(l()+1E3f):void 0,flags:String(b.B(O.La))};return 1!==Gg(c,g,k)},$r=function(a){var b=Xr(a),c=String(a.B(O.ka)),d=String(a.B(O.ib));return Mg(b,c,d,Yr,O.I)},Yr=["GS1"],Xr=function(a){return String(a.B(O.la))+"ga"+a.s.substr(2)},as=function(a){var b;var c=a.K[O.cc],d=a.K[O.Wd],e=!!a.K[O.Rc];if(c&&d){var f=[c,d,Ia(a.K[O.Vd]),a.F,a.rb];b=f.join(".")}else b=void 0;return b}; var bs=function(a){var b=a.B(O.na),c=a.getRemoteConfig(O.na);if(c===b)return c;var d=N(b);c&&c[O.O]&&(d[O.O]=(d[O.O]||[]).concat(c[O.O]));return d},cs=function(a,b,c,d){var e=qh(!0);if("1"!==e._up)return{};var f=e[b],g=e[d],k;a.o&&(k=e[c]);return{clientId:f,Tf:k,pg:g}},ds=function(a,b,c,d){var e=qh(!0),f=e[b];f&&(a.qg(f,2),Wr(f,a));var g=e[c];a.o&&g&&(a.rg(g,2),Qr(g,a));var k=e[d];k&&Zr(k,a);return a.o?!!(f&&g&&k):!(!f||!k)},es=!1,fs=function(a){var b=bs(a)||{},c=Vr(a),d=Pr(a),e=Xr(a);yh(b[O.Gb], !!b[O.O])&&ds(a,c,d,e)&&(es=!0);b[O.O]&&vh(function(){var f={},g=Tr(a);g&&(f[c]=g);if(a.o){var k=Sr(a);k&&(f[d]=k)}var m=$r(a);m&&(f[e]=m);var n=xg("FPLC",void 0,void 0,O.I);n.length&&(f._fplc=n[0]);return f},b[O.O],b[O.Zb],!!b[O.Hb])},hs=function(a){if(!a.B(O.Za))return{};var b=Vr(a),c=Pr(a),d=Xr(a);wh(function(){var e; if(ce("analytics_storage"))e={};else{var f={},g=(f._up="1",f[b]=a.K[O.Db],f[d]=as(a),f);a.o&&(g[c]=a.K[O.jb]);e=g}return e},1);if(!ce("analytics_storage")&&gs())return cs(a,b,c,d);return{}},gs=function(){var a=Rf(B.location,"host"),b=Rf(Uf(G.referrer),"host");return a&&b?a===b||0<=a.indexOf("."+b)||0<=b.indexOf("."+a)?!0:!1:!1};var is=function(){var a=l(),b=a+864E5,c=20,d=5E3;return function(){var e=l();e>=b&&(b=e+864E5,d=5E3);if(1>d)return!1;c=Math.min(c+(e-a)/1E35,20);a=e;if(1>c)return!1;d--;c--;return!0}};var js=!1;js=!0;var ks=""+ya(),ls=!1,ms=void 0;var ns=function(){if(ta(B.uspapi)){var a="";try{B.uspapi("getUSPData",1,function(b,c){if(c&&b){var d=b.uspString;d&&RegExp("^[\da-zA-Z-]{1,20}$").test(d)&&(a=d)}})}catch(b){}return a}}; var os=function(a,b){if(b.Pa()){var c=ns();c&&(a.us_privacy=c);var d=fl();d&&(a.gdpr=d);var e=dl();e&&(a.gdpr_consent=e)}},qs=function(a,b){if(Sd()&&(a.gcs=de(),b.ce&&(a.gcu="1"),b.Pa())){Td()&&(a.gcd=ee());var c=b.B(O.U);a.adr=void 0!==c&&!1!==c?"1":"0";b.ce&&(a.gcut=ps[b.Af||""]);}},rs=function(a,b,c){void 0===c&&(c={});if("object"===typeof b)for(var d in b)rs(a+"."+d,b[d],c);else c[a]=b;return c}, ss=function(a){var b="https://www.google-analytics.com/g/collect",c=tk(a.B(O.oa),"/g/collect");if(c)return c;var d=!0;ce(O.D)&&ce(O.I)||(d=!1);var e=!1!==a.B(O.Aa);e=!0;var f=a.qb(O.Wa,a.B(O.Wa)),g=a.qb(O.Fb,a.B(O.Fb));f&&!g&&e&&!1!==a.B(O.Wb)&&Sm()&&d&&(b="https://analytics.google.com/g/collect");return b},ts=!1; var us={},ps=(us[O.D]="1",us[O.I]="2",us),vs={};vs[O.yh]="tid";vs[O.Db]="cid";vs[O.kb]="ul";vs[O.Pd]="fid";vs[O.nf]="tt";vs[O.Rd]="ir";var ws={};ws[O.cc]="sid";ws[O.Wd]="sct";ws[O.Vd]="seg";ws[O.Ib]="dl";ws[O.Xa]="dr";ws[O.Ud]="dt";ws[O.ca]="cu";ws[O.Jb]="uid";ws[O.Ka+"."+O.ah]="cc";ws[O.Ka+"."+O.bh]="ci";ws[O.Ka+"."+O.dh]="cm";ws[O.Ka+"."+O.eh]="cn";ws[O.Ka+"."+O.fh]="cs"; ws[O.Ka+"."+O.gh]="ck";var xs=function(a,b,c){function d(w,y){if(void 0!==y&&-1==O.zh.indexOf(w)){null===y&&(y="");var A;if(""===w.charAt(0)){e[w]=Wc(y,300)}else if(vs[w])A=vs[w],e[A]=Wc(y,300);else if(ws[w])A=ws[w],g[A]=Wc(y,300);else if(!t(w,y)){q(w,y)}}}var e={},f={},g={};e.v="2";e.tid=a.s;e.gtm=Ak();e._p=Mr();a.fe&&(e.sr=a.fe);a.Df&&(e._z=a.Df);c&&(e.em=c);a.yb&&(e._gaz=1);qs(e,a);os(e,a);a.Hf&&(e.gtm_up="1");if(ts){var k=Xa(Ze(a.C,O.ma,1),".");k&&(e.gdid=k)}f.en=Wc(a.J,40);a.Yc&&(f._fv=a.Gf?2:1);a.Ef&&(f._nsi=1);a.P&& (f._ss=a.If?2:1);a.Xc&&(f._c=1);0<a.Wc&&(f._et=a.Wc);if(a.de){var m=a.B(O.X);if(va(m))for(var n=0;n<m.length&&200>n;n++)f["pr"+(n+1)]=ad(m[n])}a.be&&(f._eu=a.be);if(ts){var p=Xa(Ze(a.C,O.ma,2),".");p&&(f.edid=p)}for(var q=function(w,y){w=Wc(w,40);var A="ep."+w,C="epn."+w;w=ua(y)?C:A;var F=ua(y)?A:C;f.hasOwnProperty(F)&&delete f[F];f[w]=Wc(y,100)},t=function(w,y){var A=w.split(".");if(w===O.va&&"object"!==typeof y)return q(w,y),!0;if(A[0]===O.va){if((1<A.length||"object"===typeof y)&&a.Pa()){var C= rs(w,y);Ea(C,function(F,E){return void q(F,E)})}return!0}return!1},u=0;u<O.qf.length;++u){var r=O.qf[u];d(r,a.B(r))}a.de&&d(O.ca,a.B(O.ca));Ea(a.Lh,d);Ea(a.K,d);var x=a.B(O.Na)||{};!1!==a.B(O.Aa)&& Rm()||(x._npa="1");Ea(x,function(w,y){if(void 0!==y&&(null===y&&(y=""),b[w]!==y)){if(w!==O.Jb||g.uid){var A=(ua(y)?"upn.":"up.")+Wc(w,24);f[A]=Wc(y,36)}else g.uid=Wc(y,36);b[w]=y}});var z=!1;return cd.call(this,{Ra:e,ub:g,K:f},ss(a),a.Pa(),z)||this};pa(xs,cd); var ys=function(a,b){return a.replace(/\${([^}]+)}/g,function(c,d){return b[d]||c})},zs=function(a){var b=a.search;return a.protocol+"//"+a.hostname+a.pathname+(b?b+"&richsstsse":"?richsstsse")},As=function(a){var b={},c="",d=a.pathname.indexOf("/g/collect");0<=d&&(c=a.pathname.substring(0,d));b.transport_url=a.protocol+"//"+a.hostname+c;return b},Bs=function(a,b){var c=new B.XMLHttpRequest;c.withCredentials=!0;var d=b?"POST":"GET",e="",f=0, g=Uf(a),k=As(g),m=zs(g);c.onprogress=function(n){if(200===c.status){e+=c.responseText.substring(f);f=n.loaded;for(var p=ys(e,k),q=p.indexOf("\n\n");-1!==q;){var t;a:{var u=fa(p.substring(0,q).split("\n")),r=u.next().value,v=u.next().value;if(r.startsWith("event: message")&&v.startsWith("data: "))try{t=JSON.parse(v.substring(v.indexOf(":")+1));break a}catch(w){}t=void 0}if(t){var x=t.send_pixel||[];if(Array.isArray(x))for(var z=0;z<x.length;z++)Ib(x[z])}p=p.substring(q+2);q=p.indexOf("\n\n")}e=p}}; c.open(d,m);c.send(b);}; var Fs=function(a,b,c,d){var e=a+"?"+b;Cs&&(d=!(0===e.indexOf("https://www.google-analytics.com/g/collect")||0===e.indexOf("https://analytics.google.com/g/collect")));Ds&&d&&!or?Bs(e,c):Es(a,b,c)},Gs=function(a){return a&&0===a.indexOf("google.")&&"google.com"!=a?"https://www.%/ads/ga-audiences?v=1&t=sr&slf_rd=1&_r=4&".replace("%",a):void 0},Ds=!1;Ds=!0;var Cs=!1;var Hs=function(){this.F=1;this.P={};this.o=new dd;this.s=-1};Hs.prototype.C=function(a,b){var c=this,d;try{d=new xs(a,this.P,b)}catch(m){a.abort()}var e=qr(a);e&&this.o.F(d)||this.flush();if(e&&this.o.add(d)){if(0>this.s){var f=B.setTimeout,g;a.Pa()?Is?(Is=!1,g=Js):g=Ks:g=5E3;this.s=f.call(B,function(){return c.flush()},g)}}else{var k=kd(d,this.F++);Fs(d.s,k.Fe,k.body,d.F);Ls(d,a.$d,a.yb,String(a.qb(O.Qc,a.B(O.Qc))))}};Hs.prototype.add= function(a){a.ee?this.ba(a):this.C(a)};Hs.prototype.flush=function(){if(this.o.events.length){var a=ld(this.o,this.F++);Fs(this.o.o,a.Fe,a.body,this.o.s);this.o=new dd;0<=this.s&&(B.clearTimeout(this.s),this.s=-1)}};Hs.prototype.ba=function(a){var b=this,c=a.Yf();c?De(c,function(d){b.C(a,d)}):this.C(a)};var Ls=function(a,b,c,d){function e(k){f.push(k+"="+encodeURIComponent(""+a.Ra[k]))}if(b||c){var f=[];e("tid");e("cid");e("gtm");f.push("aip=1");a.ub.uid&&f.push("uid="+encodeURIComponent(""+a.ub.uid)); b&&(Es("https://stats.g.doubleclick.net/g/collect","v=2&"+f.join("&")),ck("https://stats.g.doubleclick.net/g/collect?v=2&"+f.join("&")));if(c){f.push("z="+ya());var g=Gs(d);g&&Ib(g+f.join("&"))}}},Es=function(a,b,c){var d=a+"?"+b;c?wb.sendBeacon&&wb.sendBeacon(d,c):Pb(d)},Js=Bk('',500),Ks=Bk('',5E3),Is=!0;var Ms=window,Ns=document,Os=function(a){var b=Ms._gaUserPrefs;if(b&&b.ioo&&b.ioo()||a&&!0===Ms["ga-disable-"+a])return!0;try{var c=Ms.external;if(c&&c._gaUserPrefs&&"oo"==c._gaUserPrefs)return!0}catch(f){}for(var d=rg("AMP_TOKEN",String(Ns.cookie),!0),e=0;e<d.length;e++)if("$OPT_OUT"==d[e])return!0;return Ns.getElementById("gaOptOutExtension")?!0:!1};var Ps={}; var Qs=function(a,b){var c=O.D;ce(c)||fe(function(){b.ce=!0;b.Af=c;a.Jf(b)},c)};Ps.Ah="";var Rs=function(a,b){this.fb=a;this.yb=b;this.ba=new Hs;this.o=this.F=this.C=this.s=void 0;this.P=!1};aa=Rs.prototype;aa.Pi=function(a,b,c){var d=this;if(c.eventModel[O.hc]){if("_"===a.charAt(0))return;a!==O.za&&a!==O.Ja&&Er(a)&&yd(58);Ss(c)}var e=new nr(this.fb,a,b,c,this.yb),f=[O.I],g=!1;g=e.Pa(); (e.qb(O.Wa,e.B(O.Wa))||g)&&f.push(O.D);ge(function(){d.Qi(e)},f)};aa.Qi=function(a){this.o=a;try{Os(a.s)&&(yd(28),a.abort());var b=Ps.Ah.replace(/\s+/g,"").split(",");0<=wa(b,a.J)&&(yd(33),a.abort());var c=a.pd();c&&c.blacklisted&&(yd(34),a.abort());var d=G.location.protocol;"http:"!=d&&"https:"!=d&&(yd(29),a.abort());wb&&"preview"==wb.loadPurpose&&(yd(30),a.abort());var e=R.grl;e||(e=is(),R.grl=e);e()||(yd(35),a.abort());a.Wc=wr();var k=this.lg,m;b:{if(!a.B(O.Za)||ce(O.I)||1===a.fb)break b;a.Hf=!0;}a.J===O.za?(a.B(O.Za)&&Wh(["aw","dc"]),fs(a),m=hs(a)):m={};k.call(this,m);a.J!==O.Ja&&Br(a);a.J==O.za&&(a.B(O.ac)||a.abort(), a.J=O.Vb);var n=this.s,p=this.C,q=this.F,t=$r(a);t||(t=q);var u=Ia(a.B(O.bc)),r;r=Ia(a.B(O.Tc));var v;a:{if(t){var x=t.split(".");if(!(5>x.length||6<x.length)){5===x.length&&yd(67);v={sessionId:x[0],Je:Number(x[1]),ud:!!Number(x[2]),Ae:Number(x[3]),rb:Number(x[4]||0),xc:"1"===x[5]};break a}}v=void 0}v&&v.rb&&(a.rb=Math.max(0,v.rb-Math.max(0,a.F-v.Ae)));var z=!1;v||(z=a.Yc=!0,v={sessionId:String(a.F),Je:1,ud:!1,Ae:a.F,xc:!1});a.F>v.Ae+60u&&(z=!0,v.sessionId=String(a.F),v.Je++,v.ud=!1);if(z)a.P=!0, a.Wc=0,yr(),vr=0;else if(vr+wr()>r||a.J==O.Vb)v.ud=!0;a.Ea(O.cc,v.sessionId);a.Ea(O.Wd,v.Je);a.Ea(O.Vd,v.ud?1:0);var w=a.B(O.Db),y=a.fb;w||(w=Tr(a),y=3);w||(w=n,y=4);if(!w){var A=ce(O.I),C=Lr();w=!C.from_cookie||A?C.vid: void 0;y=5}w?w=""+w:(a.Yc=a.Ef=!0,w=Jg(),y=6);a.qg(w,y);a:{}var D="",M=G.location;if(M){var K=M.pathname||"";"/"!=K.charAt(0)&&(K="/"+K);D=M.protocol+"//"+M.hostname+K+M.search}a.Ea(O.Ib,D);var L;a:{var Q=xg("_opt_expid",void 0,void 0,O.I)[0]; if(Q){var I=decodeURIComponent(Q).split("$");if(3===I.length){L=I[2];break a}}if(void 0!==R.ga4_referrer_override){L=R.ga4_referrer_override;break a}var J=uf("gtm.gtagReferrer."+a.s);L=J?""+J:G.referrer}var T=L;T&&a.Ea(O.Xa,T);a.Ea(O.Ud,G.title);a.Ea(O.kb,(wb.language||"").toLowerCase());var U=B.screen,ea=U?U.width:0,P=U?U.height:0;a.fe=ea+"x"+P;var W=!1!==a.B(O.Aa);W=!0; if(W&&!1!==a.B(O.Wb)&&Sm()&&ce(O.D)){var ba=a.qb(O.Wa,a.B(O.Wa)),ma=a.qb(O.Fb,a.B(O.Fb));a.Ki()&&(a.$d=!!ba);ba&&!ma&&0===a.rb&&(a.rb=60,a.yb=!0)}Ts(a);a.de=0<=O.sf.indexOf(a.J);for(var Ba=a.B(O.Sd)||[],Ha=0;Ha<Ba.length;Ha++){var ed=Ba[Ha];if(ed.rule_result){a.Ea(O.nf,ed.traffic_type);Cr(3);break}}if(a.B(O.oa)){var Fe=bs(a)||{},Vb=yh(Fe[O.Gb],!!Fe[O.O])?qh(!0)._fplc:void 0;a.K._fplc=Vb||(0<xg("FPLC",void 0,void 0,O.I).length?void 0:"0")} if(void 0===a.B(O.Rd)){var Ge=a.B(O.Sc),Ed,Fb;a:{if(es){var Fd=bs(a)||{};if(Fd&&Fd[O.O])for(var He=Sf(Uf(a.B(O.Xa)),"host",!0),Cc=Fd[O.O],Gb=0;Gb<Cc.length;Gb++)if(Cc[Gb]instanceof RegExp){if(Cc[Gb].test(He)){Fb=!0;break a}}else if(0<=He.indexOf(Cc[Gb])){Fb=!0;break a}}Fb=!1}var fd;if(!(fd=Fb))if(js)fd=!1;else{var gd=Sf(Uf(a.B(O.Xa)),"host",!0),Gd;var Dc=String(a.B(O.ka));if("none"!==Dc)if("auto"!==Dc)Gd=Dc;else{if(!ls){for(var Ie=String(a.B(O.ib)),hd=Dg(),la=0;la<hd.length;la++)if("none"!==hd[la]){var da= String(a.B(O.la))+"_ga_autodomain";if(0===Gg(da,ks,{Ga:O.I,domain:hd[la],path:Ie})){Gg(da,void 0,{Ga:O.I,domain:hd[la],path:Ie});ms=hd[la];break}}ls=!0}Gd=ms}else Gd=void 0;var Ja=Gd;fd=Ja?0<=gd.indexOf(Ja):!1}if(!(Ed=fd)){var Wb;if(Wb=Ge)a:{for(var nc=Ge.include_conditions||[],bb=0;bb<nc.length;bb++)if(nc[bb].test(a.B(O.Xa))){Wb=!0;break a}Wb=!1}Ed=Wb}Ed&&(a.Ea(O.Rd,1),Cr(4))}if(a.J==O.Ja){var Xb=a.B(O.Ma);a.B(O.Va)(a.B(Xb));a.abort()}if(a.K[O.dd])delete a.K[O.dd];else{var cb=a.B(O.Kd);if(cb){for(var rb= cb.edit_rules||[],S=0;S<rb.length;S++)a:{var Ka=a,Hb=rb[S];if(Jr(Ka,Hb)){if(Hb.new_event_name){var za="string"===typeof Hb.new_event_name?String(Hb.new_event_name):Gr(Ka.J,Ka.K,Hb.new_event_name);if(Er(za))break a;Ka.J=String(za)}Hr(Ka.J,Ka.K,Hb);if(Kr){Ka.K[O.dd]=!0;if(An().enableDeferrableCommandAfterConfig){var Je=Ka.J,Hd=Ka.K,Id=Ka.s;An().insert("event",[Hd,Je],Id)}else Dn(Ka.J,Ka.K,Ka.s,!0);Cr(2);Ka.abort()}else Cr(2)}}for(var Ke=cb.synthesis_rules||[],Ec=0;Ec<Ke.length;Ec++){var id=a,Yb=Ke[Ec]; if(Jr(id,Yb)){var Zb=Yb.new_event_name;if(!Er(Zb)){var Fc=Yb.merge_source_event_params?N(id.K):{};Fc[O.dd]=!0;Hr(Zb,Fc,Yb);if(An().enableDeferrableCommandAfterConfig){var ug=Zb,sb=Fc,Qa=id.s;An().insert("event",[sb,ug],Qa)}else Dn(Zb,Fc,id.s,!0);Cr(1)}}}}}var Fa=a.K[O.Xd];if(va(Fa))for(var Da=0;Da<Fa.length;Da++)Cr(Fa[Da]);var jb=xd("GA4_EVENT");jb&&(a.be=jb);var Le=this.lg,Gc=this.s,Jd=this.C,dj;var ej=as(a);ej?(Zr(ej,a)||(yd(25),a.abort()),dj=ej):dj=void 0;var $s=dj,vg;var Hc=a.K[O.Db];Gc&&Hc=== Gc?vg=Hc:Hc?(Hc=""+Hc,Wr(Hc,a)||(yd(31),a.abort()),Nr(Hc,ce(O.I)),vg=Hc):(yd(32),a.abort(),vg="");var at=vg,Me;a:{Me=void 0}Le.call(this,{clientId:at,Tf:Me,pg:$s});this.ej();a.Pa()&&("page_view"===a.J||a.Xc)&&Qs(this, a);yr();this.Jf(a);a.C.onSuccess()}catch(ft){a.C.onFailure()}delete vd.GA4_EVENT};aa.Jf=function(a){this.ba.add(a)};aa.lg=function(a){var b=a.clientId,c=a.Tf,d=a.pg;b&&d&&(this.s=b,this.C=c,this.F=d)};aa.flush=function(){this.ba.flush()};aa.ej=function(){var a=this;if(!this.P){var b=ce(O.I);Ud([O.I],function(){var c=ce(O.I);if(b^c&&a.o&&a.F&&a.s){var d=a.s;if(c){var e=Tr(a.o);e?(a.s=e,a.F=$r(a.o),a.o.o&&(a.C=Sr(a.o))):(Wr(a.s,a.o),Zr(a.F,a.o),Nr(a.s, !0),a.o.o&&a.C&&Qr(a.C,a.o));}else{a.F=void 0;a.s=void 0;a.C=void 0;}b=c}});this.P=!0}};var Ts=function(a){var b=function(c){return!!c&&c.conversion};a.Xc=b(a.pd());a.Yc&&(a.Gf=b(a.pd("first_visit")));a.P&&(a.If=b(a.pd("sessionstart")))}; function Ss(a){delete a.eventModel[O.hc];Us(a.eventModel)}var Us=function(a){Ea(a,function(c){""===c.charAt(0)&&delete a[c]});var b=a[O.Na]||{};Ea(b,function(c){"_"===c.charAt(0)&&delete b[c]})};var Vs=function(a){if("prerender"==G.visibilityState)return!1;a();return!0},Ws=function(a){if(!Vs(a)){var b=!1,c=function(){!b&&Vs(a)&&(b=!0,Kb(G,"visibilitychange",c),yd(55))};Jb(G,"visibilitychange",c);yd(54)}};var Xs=function(a,b,c){Dn(b,c,a)},Ys=function(a,b,c){Dn(b,c,a,!0)},bt=function(a,b){var c=new Rs(a,b);Ws(function(){Zs(a,c)});}; function Zs(a,b){Cn(a,function(c,d,e,f){b.Pi(d,e,f)}),zr=function(){An().flush();1E3<=wr()&&wb.sendBeacon&&Xs(a,O.Bd,{});pr();b.flush();Ar=function(){or=!1;or=!1;Ar=void 0}};}var Z={g:{}}; Z.g.ehl=["google"],function(){function a(m){return m.target&&m.target.location&&m.target.location.href?m.target.location.href:rp()}function b(m,n){Jb(m,"hashchange",function(p){var q=a(p);n({source:"hashchange",state:null,url:tp(q),aa:sp(q)})})}function c(m,n){Jb(m,"popstate",function(p){var q=a(p);n({source:"popstate",state:p.state,url:tp(q),aa:sp(q)})})}function d(m,n,p){var q=n.history,t=q[m];if(ta(t))try{q[m]=function(u,r,v){t.apply(q,[].slice.call(arguments,0));p({source:m,state:u,url:tp(rp()), aa:sp(rp())})}}catch(u){}}function e(){var m={source:null,state:X("history").state||null,url:tp(rp()),aa:sp(rp())};return function(n,p){var q=m,t={};t[q.source]=!0;t[n.source]=!0;if(!t.popstate||!t.hashchange||q.aa!=n.aa){var u={event:"gtm.historyChange-v2","gtm.historyChangeSource":n.source,"gtm.oldUrlFragment":m.aa,"gtm.newUrlFragment":n.aa,"gtm.oldHistoryState":m.state,"gtm.newHistoryState":n.state,"gtm.oldUrl":m.url,"gtm.newUrl":n.url,"gtm.triggers":p.join(",")};m=n;vp(u)}}}function f(m,n){var p= ""+n;if(g[p])g[p].push(m);else{var q=[m];g[p]=q;var t=e(),u=-1;k.push(function(r){0<=u&&op(u);n?u=pp(function(){t(r,q);u=-1},n):t(r,q)})}}var g={},k=[];(function(m){Z.ehl=m;Z.ehl.h="ehl";Z.ehl.m=!0;Z.ehl.priorityOverride=0})(function(m){var n=X("self"),p=m.vtp_uniqueTriggerId||"0",q=m.vtp_groupEvents?Number(m.vtp_groupEventsInterval):0;0>q?q=0:isNaN(q)&&(q=1E3);if(Ap("ehl")){var t=Rn("ehl","reg");t?(t(p,q),H(m.vtp_gtmOnSuccess)): H(m.vtp_gtmOnFailure)}else{var u=function(r){for(var v=0;v<k.length;v++)kv};b(n,u);c(n,u);d("pushState",n,u);d("replaceState",n,u);f(p,q);Pn("ehl","reg",f);Bp("ehl");H(m.vtp_gtmOnSuccess)}})}(); Z.g.sdl=["google"],function(){function a(){return!!(Object.keys(m("horiz.pix")).length||Object.keys(m("horiz.pct")).length||Object.keys(m("vert.pix")).length||Object.keys(m("vert.pct")).length)}function b(w){for(var y=[],A=w.split(","),C=0;C<A.length;C++){var F=Number(A[C]);if(isNaN(F))return[];p.test(A[C])||y.push(F)}return y}function c(){var w=0,y=0;return function(){var A=Gf(),C=A.height;w=Math.max(v.scrollLeft+A.width,w);y=Math.max(v.scrollTop+C,y);return{fi:w,gi:y}}}function d(){u=X("self"); r=u.document;v=r.scrollingElement||r.body&&r.body.parentNode;z=c()}function e(w,y,A,C){var F=m(y),E={},D;for(D in F){E.xb=D;if(F.hasOwnProperty(E.xb)){var M=Number(E.xb);w<M||(vp({event:"gtm.scrollDepth","gtm.scrollThreshold":M,"gtm.scrollUnits":A.toLowerCase(),"gtm.scrollDirection":C,"gtm.triggers":F[E.xb].join(",")}),Qn("sdl",y,function(K){return function(L){delete L[K.xb];return L}}(E),{}))}E={xb:E.xb}}}function f(){var w=z(),y=w.fi,A=w.gi,C=y/v.scrollWidth100,F=A/v.scrollHeight100;e(y,"horiz.pix", q.ad,t.uf);e(C,"horiz.pct",q.$c,t.uf);e(A,"vert.pix",q.ad,t.Ff);e(F,"vert.pct",q.$c,t.Ff);Pn("sdl","pending",!1)}function g(){var w=250,y=!1;r.scrollingElement&&r.documentElement&&u.addEventListener&&(w=50,y=!0);var A=0,C=!1,F=function(){C?A=pp(F,w):(A=0,f(),Ap("sdl")&&!a()&&(Kb(u,"scroll",E),Kb(u,"resize",E),Pn("sdl","init",!1)));C=!1},E=function(){y&&z();A?C=!0:(A=pp(F,w),Pn("sdl","pending",!0))};return E}function k(w,y,A){if(y){var C=b(String(w));Qn("sdl",A,function(F){for(var E=0;E<C.length;E++){var D= String(C[E]);F.hasOwnProperty(D)||(F[D]=[]);F[D].push(y)}return F},{})}}function m(w){return Rn("sdl",w,{})}function n(w){H(w.vtp_gtmOnSuccess);var y=w.vtp_uniqueTriggerId,A=w.vtp_horizontalThresholdsPixels,C=w.vtp_horizontalThresholdsPercent,F=w.vtp_verticalThresholdUnits,E=w.vtp_verticalThresholdsPixels,D=w.vtp_verticalThresholdsPercent;switch(w.vtp_horizontalThresholdUnits){case q.ad:k(A,y,"horiz.pix");break;case q.$c:k(C,y,"horiz.pct")}switch(F){case q.ad:k(E,y,"vert.pix");break;case q.$c:k(D, y,"vert.pct")}Ap("sdl")?Rn("sdl","pending")||(x||(d(),x=!0),H(function(){return f()})):(d(),x=!0,v&&(Bp("sdl"),Pn("sdl","pending",!0),H(function(){f();if(a()){var M=g();Jb(u,"scroll",M);Jb(u,"resize",M)}else Pn("sdl","init",!1)})))}var p=/^\s$/,q={$c:"PERCENT",ad:"PIXELS"},t={Ff:"vertical",uf:"horizontal"},u,r,v,x=!1,z;(function(w){Z.sdl=w;Z.sdl.h="sdl";Z.sdl.m=!0;Z.sdl.priorityOverride=0})(function(w){w.vtp_triggerStartOption?n(w):eo(function(){n(w)})})}(); Z.g.c=["google"],function(){(function(a){Z.c=a;Z.c.h="c";Z.c.m=!0;Z.c.priorityOverride=0})(function(a){Dp(a.vtp_value,"c",a.vtp_gtmEventId);return a.vtp_value})}(); Z.g.e=["google"],function(){(function(a){Z.e=a;Z.e.h="e";Z.e.m=!0;Z.e.priorityOverride=0})(function(a){var b=String(Af(a.vtp_gtmEventId,"event"));a.vtp_gtmCachedValues&&(b=String(a.vtp_gtmCachedValues.event));return b})}(); Z.g.u=["google"],function(){var a=function(b){return{toString:function(){return b}}};(function(b){Z.u=b;Z.u.h="u";Z.u.m=!0;Z.u.priorityOverride=0})(function(b){var c;c=(c=b.vtp_customUrlSource?b.vtp_customUrlSource:up("gtm.url",1))||rp();var d=b[a("vtp_component")];if(!d||"URL"==d)return tp(String(c));var e=Uf(String(c)),f;if("QUERY"===d)a:{var g=b[a("vtp_multiQueryKeys").toString()],k=b[a("vtp_queryKey").toString()]||"",m=b[a("vtp_ignoreEmptyQueryParam").toString()],n;g?va(k)?n=k:n=String(k).replace(/\s+/g, "").split(","):n=[String(k)];for(var p=0;p<n.length;p++){var q=Sf(e,"QUERY",void 0,void 0,n[p]);if(void 0!=q&&(!m||""!==q)){f=q;break a}}f=void 0}else f=Sf(e,d,"HOST"==d?b[a("vtp_stripWww")]:void 0,"PATH"==d?b[a("vtp_defaultPages")]:void 0,void 0);return f})}(); Z.g.v=["google"],function(){(function(a){Z.v=a;Z.v.h="v";Z.v.m=!0;Z.v.priorityOverride=0})(function(a){var b=a.vtp_name;if(!b||!b.replace)return!1;var c=up(b.replace(/\./g,"."),a.vtp_dataLayerVersion||1),d=void 0!==c?c:a.vtp_defaultValue;Dp(d,"v",a.vtp_gtmEventId);return d})}(); Z.g.ytl=["google"],function(){function a(){var r=Math.round(1E9Math.random())+"";return G.getElementById(r)?a():r}function b(r,v){if(!r)return!1;for(var x=0;x<p.length;x++)if(0<=r.indexOf("//"+p[x]+"/"+v))return!0;return!1}function c(r,v){var x=r.getAttribute("src");if(b(x,"embed/")){if(0<x.indexOf("enablejsapi=1"))return!0;if(v){var z=r.setAttribute,w;var y=-1!==x.indexOf("?")?"&":"?";if(-1<x.indexOf("origin="))w=x+y+"enablejsapi=1";else{if(!t){var A=X("document");t=A.location.protocol+"//"+A.location.hostname; A.location.port&&(t+=":"+A.location.port)}w=x+y+"enablejsapi=1&origin="+encodeURIComponent(t)}z.call(r,"src",w);return!0}}return!1}function d(r,v){if(!r.getAttribute("data-gtm-yt-inspected-"+v.Le)&&(r.setAttribute("data-gtm-yt-inspected-"+v.Le,"true"),c(r,v.Wf))){r.id||(r.id=a());var x=X("YT"),z=x.get(r.id);z||(z=new x.Player(r.id));var w=f(z,v),y={},A;for(A in w)y.Tb=A,w.hasOwnProperty(y.Tb)&&z.addEventListener(y.Tb,function(C){return function(F){return wC.Tb}}(y)),y={Tb:y.Tb}}}function e(r){H(function(){function v(){for(var z= x.getElementsByTagName("iframe"),w=z.length,y=0;y<w;y++)d(z[y],r)}var x=X("document");v();Zn(v)})}function f(r,v){var x,z;function w(){L=$n(function(){return{url:J,title:T,Rf:I,di:r.getCurrentTime(),playbackRate:U}},v.Le,r.getIframe());I=0;T=J="";U=1;return y}function y(ba){switch(ba){case q.PLAYING:I=Math.round(r.getDuration());J=r.getVideoUrl();if(r.getVideoData){var ma=r.getVideoData();T=ma?ma.title:""}U=r.getPlaybackRate();v.Vh?vp(L.createEvent("start")):L.je();Q=m(v.Si,v.Ri,r.getDuration()); return A(ba);default:return y}}function A(){ea=r.getCurrentTime();P=qp().getTime();L.Yi();K();return C}function C(ba){var ma;switch(ba){case q.ENDED:return E(ba);case q.PAUSED:ma="pause";case q.BUFFERING:var Ba=r.getCurrentTime()-ea;ma=1<Math.abs((qp().getTime()-P)/1E3U-Ba)?"seek":ma||"buffering";r.getCurrentTime()&&(v.Uh?vp(L.createEvent(ma)):L.je());M();return F;case q.UNSTARTED:return w(ba);default:return C}}function F(ba){switch(ba){case q.ENDED:return E(ba);case q.PLAYING:return A(ba);case q.UNSTARTED:return w(ba); default:return F}}function E(){for(;z;){var ba=x;op(z);ba()}v.Th&&vp(L.createEvent("complete",1));return w(q.UNSTARTED)}function D(){}function M(){z&&(op(z),z=0,x=D)}function K(){if(Q.length&&0!==U){var ba=-1,ma;do{ma=Q[0];if(ma.tb>r.getDuration())return;ba=(ma.tb-r.getCurrentTime())/U;if(0>ba&&(Q.shift(),0===Q.length))return}while(0>ba);x=function(){z=0;x=D;0<Q.length&&Q[0].tb===ma.tb&&(Q.shift(),vp(L.createEvent("progress",ma.hg,ma.ng)));K()};z=pp(x,1E3ba)}}var L,Q=[],I,J,T,U,ea,P,W=w(q.UNSTARTED); z=0;x=D;return{onStateChange:function(ba){W=W(ba)},onPlaybackRateChange:function(ba){ea=r.getCurrentTime();P=qp().getTime();L.je();U=ba;M();K()}}}function g(r){for(var v=r.split(","),x=v.length,z=[],w=0;w<x;w++){var y=parseInt(v[w],10);isNaN(y)||100<y||0>y||z.push(y/100)}z.sort(function(A,C){return A-C});return z}function k(r){for(var v=r.split(","),x=v.length,z=[],w=0;w<x;w++){var y=parseInt(v[w],10);isNaN(y)||0>y||z.push(y)}z.sort(function(A,C){return A-C});return z}function m(r,v,x){var z=r.map(function(A){return{tb:A, ng:A,hg:void 0}});if(!v.length)return z;var w=v.map(function(A){return{tb:Ax,ng:void 0,hg:A}});if(!z.length)return w;var y=z.concat(w);y.sort(function(A,C){return A.tb-C.tb});return y}function n(r){var v=!!r.vtp_captureStart,x=!!r.vtp_captureComplete,z=!!r.vtp_capturePause,w=g(r.vtp_progressThresholdsPercent+""),y=k(r.vtp_progressThresholdsTimeInSeconds+""),A=!!r.vtp_fixMissingApi;if(v||x||z||w.length||y.length){var C={Vh:v,Th:x,Uh:z,Ri:w,Si:y,Wf:A,Le:void 0===r.vtp_uniqueTriggerId?"":r.vtp_uniqueTriggerId}, F=X("YT"),E=function(){e(C)};H(r.vtp_gtmOnSuccess);if(F)F.ready&&F.ready(E);else{var D=X("onYouTubeIframeAPIReady");wp("onYouTubeIframeAPIReady",function(){D&&D();E()});H(function(){for(var M=X("document"),K=M.getElementsByTagName("script"),L=K.length,Q=0;Q<L;Q++){var I=K[Q].getAttribute("src");if(b(I,"iframe_api")||b(I,"player_api"))return}for(var J=M.getElementsByTagName("iframe"),T=J.length,U=0;U<T;U++)if(!u&&c(J[U],C.Wf)){V("https://www.youtube.com/iframe_api");u=!0;break}})}}else H(r.vtp_gtmOnSuccess)} var p=["www.youtube.com","www.youtube-nocookie.com"],q={UNSTARTED:-1,ENDED:0,PLAYING:1,PAUSED:2,BUFFERING:3,CUED:5},t,u=!1;(function(r){Z.ytl=r;Z.ytl.h="ytl";Z.ytl.m=!0;Z.ytl.priorityOverride=0})(function(r){r.vtp_triggerStartOption?n(r):Ci(function(){n(r)})})}(); Z.g.aev=["google"],function(){function a(u,r,v){var x=u||Af(r,"gtm");if(x)return x[v]}function b(u,r,v,x,z){z||(z="element");var w=r+"."+v,y;if(p.hasOwnProperty(w))y=p[w];else{var A=a(u,r,z);if(A&&(y=x(A),p[w]=y,q.push(w),35<q.length)){var C=q.shift();delete p[C]}}return y}function c(u,r,v,x){var z=a(u,r,t[v]);return void 0!==z?z:x}function d(u,r){if(!u)return!1;var v=e(rp());va(r)||(r=String(r||"").replace(/\s+/g,"").split(","));for(var x=[v],z=0;z<r.length;z++){var w=r[z];if(w.hasOwnProperty("is_regex"))if(w.is_regex)try{w= new RegExp(w.domain)}catch(A){continue}else w=w.domain;if(w instanceof RegExp){if(w.test(u))return!1}else{var y=w;if(0!=y.length){if(0<=e(u).indexOf(y))return!1;x.push(e(y))}}}return!cq(u,x)}function e(u){n.test(u)||(u="http://"+u);return Sf(Uf(u),"HOST",!0)}function f(u,r,v,x){switch(u){case "SUBMIT_TEXT":return b(r,v,"FORM."+u,g,"formSubmitElement")||x;case "LENGTH":var z=b(r,v,"FORM."+u,k);return void 0===z?x:z;case "INTERACTED_FIELD_ID":return m(r,v,"id",x);case "INTERACTED_FIELD_NAME":return m(r, v,"name",x);case "INTERACTED_FIELD_TYPE":return m(r,v,"type",x);case "INTERACTED_FIELD_POSITION":var w=a(r,v,"interactedFormFieldPosition");return void 0===w?x:w;case "INTERACT_SEQUENCE_NUMBER":var y=a(r,v,"interactSequenceNumber");return void 0===y?x:y;default:return x}}function g(u){switch(u.tagName.toLowerCase()){case "input":return Lb(u,"value");case "button":return Mb(u);default:return null}}function k(u){if("form"===u.tagName.toLowerCase()&&u.elements){for(var r=0,v=0;v<u.elements.length;v++)Un(u.elements[v])&& r++;return r}}function m(u,r,v,x){var z=a(u,r,"interactedFormField");return z&&Lb(z,v)||x}var n=/^https?:\/\//i,p={},q=[],t={ATTRIBUTE:"elementAttribute",CLASSES:"elementClasses",ELEMENT:"element",ID:"elementId",HISTORY_CHANGE_SOURCE:"historyChangeSource",HISTORY_NEW_STATE:"newHistoryState",HISTORY_NEW_URL_FRAGMENT:"newUrlFragment",HISTORY_OLD_STATE:"oldHistoryState",HISTORY_OLD_URL_FRAGMENT:"oldUrlFragment",TARGET:"elementTarget"};(function(u){Z.aev=u;Z.aev.h="aev";Z.aev.m=!0;Z.aev.priorityOverride= 0})(function(u){var r=u.vtp_gtmEventId,v=u.vtp_defaultValue,x=u.vtp_varType,z;u.vtp_gtmCachedValues&&(z=u.vtp_gtmCachedValues.gtm);switch(x){case "TAG_NAME":var w=a(z,r,"element");return w&&w.tagName||v;case "TEXT":return b(z,r,x,Mb)||v;case "URL":var y;a:{var A=String(a(z,r,"elementUrl")||v||""),C=Uf(A),F=String(u.vtp_component||"URL");switch(F){case "URL":y=A;break a;case "IS_OUTBOUND":y= d(A,u.vtp_affiliatedDomains);break a;default:y=Sf(C,F,u.vtp_stripWww,u.vtp_defaultPages,u.vtp_queryKey)}}return y;case "ATTRIBUTE":var E;if(void 0===u.vtp_attribute)E=c(z,r,x,v);else{var D=u.vtp_attribute,M=a(z,r,"element");E=M&&Lb(M,D)||v||""}return E;case "MD":var K=u.vtp_mdValue,L=b(z,r,"MD",kp);return K&&L?np(L,K)||v:L||v;case "FORM":return f(String(u.vtp_component||"SUBMIT_TEXT"),z,r,v);default:var Q=c(z,r,x,v);Dp(Q,"aev",u.vtp_gtmEventId);return Q}})}(); Z.g.dlm=["google"],function(){(function(a){Z.dlm=a;Z.dlm.h="dlm";Z.dlm.m=!0;Z.dlm.priorityOverride=0})(function(a){var b=dq(a.vtp_userInput||[],"key","value")||{};a.vtp_synchronousWrite?Ea(b,function(c,d){xf(c,d)}):vp(b);H(a.vtp_gtmOnSuccess)})}(); Z.g.gct=["google"],function(){function a(d){for(var e=[],f=0;f<d.length;f++)try{e.push(new RegExp(d[f]))}catch(g){}return e}function b(d){return d.replace(/[.*+-?^${}()|[]\]/g,"\$&")}function c(d){for(var e=[],f=0;f<d.length;f++){var g=d[f].matchValue,k;switch(d[f].matchType){case "BEGINS_WITH":k="^"+b(g);break;case "ENDS_WITH":k=b(g)+"$";break;case "EQUALS":k="^"+b(g)+"$";break;case "REGEX":k=g;break;default:k=b(g)}e.push(k)}return e}(function(d){Z.gct=d;Z.gct.h="gct";Z.gct.m=!0;Z.gct.priorityOverride= 0})(function(d){var e={};0<d.vtp_sessionDuration&&(e[O.bc]=d.vtp_sessionDuration);e[O.Oc]=d.vtp_eventSettings;e[O.Kd]=d.vtp_dynamicEventSettings;e[O.Wa]=1===d.vtp_googleSignals;e[O.Qc]=d.vtp_foreignTld;e[O.Fb]=1===d.vtp_restrictDomain;e[O.Sd]=d.vtp_internalTrafficResults;var f=O.na,g=d.vtp_linker;g&&g[O.O]&&(g[O.O]=a(g[O.O]));e[f]=g;var k=O.Sc,m=d.vtp_referralExclusionDefinition;m&&m.include_conditions&&(m.include_conditions=a(m.include_conditions));e[k]=m;var n,p=d.vtp_trackingId;n=An().getRemoteConfig(p); var q=n.referral_exclusion_conditions;q&&(q.length&&"object"===typeof q[0]&&(q=c(q)),e[O.Sc]={include_conditions:a(q)});var t=n.cross_domain_conditions;if(t){t.length&&"object"===typeof t[0]&&(t=c(t));var u={};e[O.na]=(u[O.O]=a(t),u[O.Hb]=!0,u[O.Gb]=!0,u[O.Zb]="query",u)}bt(d.vtp_trackingId,e);H(d.vtp_gtmOnSuccess)})}(); Z.g.get=["google"],function(){(function(a){Z.get=a;Z.get.h="get";Z.get.m=!0;Z.get.priorityOverride=0})(function(a){var b=a.vtp_settings;(a.vtp_deferrable?Ys:Xs)(String(b.streamId),String(a.vtp_eventName),b.eventParameters||{});a.vtp_gtmOnSuccess()})}(); Z.g.lcl=[],function(){function a(){var c=X("document"),d=0,e=function(f){var g=f.target;if(g&&3!==f.which&&!(f.yi||f.timeStamp&&f.timeStamp===d)){d=f.timeStamp;g=Ob(g,["a","area"],100);if(!g)return f.returnValue;var k=f.defaultPrevented||!1===f.returnValue,m=Rn("lcl",k?"nv.mwt":"mwt",0),n;n=k?Rn("lcl","nv.ids",[]):Rn("lcl","ids",[]);if(n.length){var p=Nn(g,"gtm.linkClick",n);if(b(f,g,c)&&!k&&m&&g.href){var q=!!xa(String(Qb(g,"rel")||"").split(" "),function(r){return"noreferrer"===r.toLowerCase()}); q&&yd(36);var t=X((Qb(g,"target")||"_self").substring(1)),u=!0;if(vp(p,Vo(function(){var r;if(r=u&&t){var v;a:if(q){var x;try{x=new MouseEvent(f.type,{bubbles:!0})}catch(z){if(!c.createEvent){v=!1;break a}x=c.createEvent("MouseEvents");x.initEvent(f.type,!0,!0)}x.yi=!0;f.target.dispatchEvent(x);v=!0}else v=!1;r=!v}r&&(t.location.href=Qb(g,"href"))}),m))u=!1;else return f.preventDefault&&f.preventDefault(),f.returnValue=!1}else vp(p,function(){},m||2E3);return!0}}};Jb(c,"click",e,!1);Jb(c,"auxclick", e,!1)}function b(c,d,e){if(2===c.which||c.ctrlKey||c.shiftKey||c.altKey||c.metaKey)return!1;var f=Qb(d,"href"),g=f.indexOf("#"),k=Qb(d,"target");if(k&&"_self"!==k&&"_parent"!==k&&"_top"!==k||0===g)return!1;if(0<g){var m=tp(f),n=tp(e.location);return m!==n}return!0}(function(c){Z.lcl=c;Z.lcl.h="lcl";Z.lcl.m=!0;Z.lcl.priorityOverride=0})(function(c){var d=void 0===c.vtp_waitForTags?!0:c.vtp_waitForTags,e=void 0===c.vtp_checkValidation?!0:c.vtp_checkValidation,f=Number(c.vtp_waitForTagsTimeout); if(!f||0>=f)f=2E3;var g=c.vtp_uniqueTriggerId||"0";if(d){var k=function(n){return Math.max(f,n)};Qn("lcl","mwt",k,0);e||Qn("lcl","nv.mwt",k,0)}var m=function(n){n.push(g);return n};Qn("lcl","ids",m,[]);e||Qn("lcl","nv.ids",m,[]);Ap("lcl")||(a(),Bp("lcl"));H(c.vtp_gtmOnSuccess)})}(); var ct={};ct.macro=function(a){if(bp.he.hasOwnProperty(a))return bp.he[a]},ct.onHtmlSuccess=bp.Pf(!0),ct.onHtmlFailure=bp.Pf(!1);ct.dataLayer=vf;ct.callback=function(a){lf.hasOwnProperty(a)&&ta(lf[a])&&lf[a]();delete lf[a]};ct.bootstrap=0;ct._spx=!1; function dt(){R[$e.M]=ct;Sa(mf,Z.g);Mc=Mc||bp;Nc=Vc} function et(){var a=!1;a&&Li("INIT");Bd().s();R=B.google_tag_manager=B.google_tag_manager||{};cl(); zh.enable_gbraid_cookie_write=!0;var b=!!R[$e.M];if(b){var c=R.zones;c&&c.unregisterChild($e.M);}else{for(var d=data.resource||{},e=d.macros||[],f=0;f<e.length;f++)zc.push(e[f]); for(var g=d.tags||[],k=0;k<g.length;k++)Ic.push(g[k]);for(var m=d.predicates||[],n=0;n<m.length;n++)Bc.push(m[n]);for(var p=d.rules||[],q=0;q<p.length;q++){for(var t=p[q],u={},r=0;r<t.length;r++)u[t[r][0]]=Array.prototype.slice.call(t[r],1);Ac.push(u)}Kc=Z;Lc=jo;dt();ap();xi=!1;yi=0;if("interactive"==G.readyState&&!G.createEventObject||"complete"==G.readyState)Ai();else{Jb(G,"DOMContentLoaded",Ai);Jb(G,"readystatechange",Ai);if(G.createEventObject&&G.documentElement.doScroll){var v=!0;try{v=!B.frameElement}catch(A){}v&& Bi()}Jb(B,"load",Ai)}ao=!1;"complete"===G.readyState?co():Jb(B,"load",co);Jj&&B.setInterval(Dj,864E5); jf=(new Date).getTime();ct.bootstrap=jf;if(a){var y=Mi("INIT");}}} (function(a){if(!B["TAGGY_INSTALLED"]){var b=!1;if(G.referrer){var c=Uf(G.referrer);b="cct.google"===Rf(c,"host")}if(!b){var d=xg("googTaggyReferrer");b=d.length&&d[0].length}b&&(B["TAGGY_INSTALLED"]=!0,Cb("https://cct.google/taggy/agent.js"))}var f=function(){var n=B["google.tagmanager.debugui2.queue"];n||(n=[],B["google.tagmanager.debugui2.queue"]=n,Cb("https://www.googletagmanager.com/debug/bootstrap"));var p={messageType:"CONTAINER_STARTING",data:{scriptSource:xb,containerProduct:"GTM",debug:!1,id:$e.M}};p.data.resume=function(){a()}; p.data.containerProduct="OGT";$e.Jg&&(p.data.initialPublish=!0);n.push(p)},g="x"===Sf(B.location,"query",!1,void 0,"gtm_debug");if(!g&&G.referrer){var k=Uf(G.referrer);g="tagassistant.google.com"===Rf(k,"host")}if(!g){var m=xg("__TAG_ASSISTANT");g=m.length&&m[0].length}!g&&B.TAG_ASSISTANT_API&&(g=!0);!g&&G.documentElement.hasAttribute("data-tag-assistant-present")&&(g=!0);g&&xb?f():a()})(et); })()

Hamzabige commented 3 years ago

Python insthk.py