// Copyright 2012 Google Inc. All rights reserved. (function(){ var data = { "resource": { "version":"1", "macros":[{"function":"__e"},{"function":"__cid"}], "tags":[{"function":"__rep","once_per_event":true,"vtp_containerId":["macro",1],"tag_id":1}], "predicates":[{"function":"_eq","arg0":["macro",0],"arg1":"gtm.js"}], "rules":[[["if",0],["add",0]]] }, "runtime":[] }; /* Copyright The Closure Library Authors. SPDX-License-Identifier: Apache-2.0 */ var aa,ba=function(a){var b=0;return function(){return bb)a=0,b=2147483647;return Math.floor(Math.random()*(b- a+1)+a)},za=function(a,b){for(var c=new ya,d=0;d"+a+""),d=b;if(tb())for(;d.lastChild;)d.removeChild(d.lastChild);d.innerHTML=nb(c);b=b.lastChild;for(var e=[];b.firstChild;)e.push(b.removeChild(b.firstChild));return e},Kb=function(a,b,c){c=c||100;for(var d={},e=0;ed&&Ad(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?B.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(!B.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(B.querySelectorAll)try{var le=B.querySelectorAll(":root");le&&1==le.length&&le[0]==B.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(l.crypto&&l.crypto.subtle)try{var b=ze(a);return l.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 l.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(l.TextEncoder)b=(new l.TextEncoder("utf-8")).encode(a);else{for(var c=[],d=0;de?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];ua(t)||(t=[t]);for(var u=0;u=f)return!0;(d=d.parentElement)&&(e=l.getComputedStyle(d, null))}return!1};var Nf=/:[0-9]+$/,Of=function(a,b,c){for(var d=a.split("&"),e=0;ec?a.href:a.href.substr(0,c)}return b},Tf=function(a){var b=B.createElement("a");a&&(b.href=a);var c=b.pathname;"/"!==c[0]&&(a||yd("TAGGING",1),c="/"+c);var d=b.hostname.replace(Nf,"");return{href:b.href,protocol:b.protocol,host:b.host,hostname:d,pathname:c,search:b.search,hash:b.hash,port:b.port}},Uf=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=Tf(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 Vf={},Wf=!0,Xf=!1;Vf.Kg="false"; var Yf=function(a){if("false"===Vf.Kg||!Wf)return!1;if(Xf)return!0;var b=Df("AW-"+a);return!!b&&!!b.preAutoPii},Zf=new RegExp(/[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,}/i),$f=new RegExp(/@(gmail|googlemail)\./i),ag=new RegExp(/support|noreply/i),bg="SCRIPT STYLE IMG SVG PATH BR".split(" "),cg=["BR"],dg={}; function eg(a){var b;if(a===B.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:nth-child("+e+")"}else d="";c=d}b=c}return b}function fg(a,b){if(1>=a.length)return a;var c=a.filter(b);return 0==c.length?a:c} function gg(a){if(0==a.length)return null;var b;b=fg(a,function(c){return!ag.test(c.Pa)});b=fg(b,function(c){return"INPUT"===c.element.tagName.toUpperCase()});b=fg(b,function(c){return!Ef(c.element)});return b[0]} var hg=function(a){a=a||{ue:!0,ve:!0};a.Za=a.Za||{email:!0,phone:!0,Pf:!0};var b,c=a,d=!!c.ue+"."+!!c.ve;c&&c.kd&&c.kd.length&&(d+="."+c.kd.join("."));c&&c.Za&&(d+="."+c.Za.email+"."+c.Za.phone+"."+c.Za.Pf);b=d;var e=dg[b];if(e&&200>Pa()-e.timestamp)return e.result;var f;var g=[],k=B.body;if(k){for(var m=k.querySelectorAll("*"),n=0;nn;n++){var p=m[n];if(!(0<=bg.indexOf(p.tagName.toUpperCase()))&&p.children instanceof HTMLCollection){for(var q=!1,t=0;tt;t++)if(!(0<= cg.indexOf(p.children[t].tagName.toUpperCase()))){q=!0;break}q||g.push(p)}}f={elements:g,status:1E4>21:b;return b};function qg(a,b,c){for(var d=[],e=b.split(";"),f=0;ff.length||!b&&3!==f.length)&&Number(f[1])){d[c[e].Je]||(d[c[e].Je]=[]);var g={version:f[0],timestamp:1E3*Number(f[1]),oa:f[2]};b&&3>4);64!=g&&(c+=String.fromCharCode(f<<4&240|g>>2),64!=k&&(c+=String.fromCharCode(g<<6&192|k)))}};var ch;var gh=function(){var a=dh,b=eh,c=fh(),d=function(g){a(g.target||g.srcElement||{})},e=function(g){b(g.target||g.srcElement||{})};if(!c.init){Fb(B,"mousedown",d);Fb(B,"keyup",d);Fb(B,"submit",e);var f=HTMLFormElement.prototype.submit;HTMLFormElement.prototype.submit=function(){b(this);f.call(this)};c.init=!0}},hh=function(a,b,c,d,e){var f={callback:a,domains:b,fragment:2===c,placement:c,forms:d,sameHost:e};fh().decorators.push(f)},ih=function(a,b,c){for(var d=fh().decorators,e={},f=0;f>2,x=(t&3)<<4|u>>4,z=(u&15)<<2|r>>6,w=r&63;q||(w=64,p||(z=64));m.push(Zg[v],Zg[x],Zg[z],Zg[w])}g=m.join("");f.call(e,g)}}var y=b.join("*");return["1",oh(y), y].join("*")},oh=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=ch)){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}ch=d;for(var m=4294967295,n=0;n>>8^ch[(m^c.charCodeAt(n))&255];return((m^-1)>>>0).toString(36)},rh=function(){return function(a){var b=Tf(l.location.href), c=b.search.replace("?",""),d=Of(c,"_gl",!0)||"";a.query=qh(d)||{};var e=Rf(b,"fragment").match(nh("_gl"));a.fragment=qh(e&&e[3]||"")||{}}},sh=function(a){var b=rh(),c=fh();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},qh=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=jh.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===oh(k,p)){m=!0;break a}m=!1}if(m){for(var q={},t=k?k.split("*"):[],u=0;up){n=!0;break b}n=!1}if(!n){var u=Qg(b,m,!0);u.Ea="ad_storage";Ig(g,k,u)}}}}Ph(Nh(c.gclid,c.gclsrc),!1,b)})},Rh=function(a,b){var c=Eh[a];if(void 0!==c)return b+c},Sh=function(a){return 0!==Uh(a.split(".")).length?1E3*(Number(a.split(".")[1])|| 0):0};function Jh(a){var b=Uh(a.split("."));return 0===b.length?null:{version:b[0],oa:b[2],timestamp:1E3*(Number(b[1])||0),labels:b.slice(3)}}function Uh(a){return 3>a.length||"GCL"!==a[0]&&"1"!==a[0]||!/^\d+$/.test(a[1])||!Dh.test(a[2])?[]:a} var Vh=function(a,b,c,d,e){if(ua(b)&&rg(l)){var f=Mh(e),g=function(){for(var k={},m=0;mb.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;fNumber(d[f])}return e.length>=d.length};var ti=new RegExp(/^(.*\.)?(google|youtube|blogger|withgoogle)(\.com?)?(\.[a-z]{2})?\.?$/),ui={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"]},vi={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"]},wi="google customPixels customScripts html nonGooglePixels nonGoogleScripts nonGoogleIframes".split(" "); var xi=function(){var a=!1;a=!0;return a},zi=function(a){var b=tf("gtm.allowlist")||tf("gtm.whitelist");b&&Ad(9);xi()&&(b="google gtagfl lcl zone oid op".split(" "));var c=b&&Ua(Ma(b),ui),d=tf("gtm.blocklist")|| tf("gtm.blacklist");d||(d=tf("tagTypeBlacklist"))&&Ad(3);d?Ad(8):d=[];yi()&&(d=Ma(d),d.push("nonGooglePixels","nonGoogleScripts","sandboxedScripts"));0<=va(Ma(d),"google")&&Ad(2);var e=d&&Ua(Ma(d),vi),f={};return function(g){var k=g&&g[Zb.jb];if(!k||"string"!=typeof k)return!0;k=k.replace(/^_*/,"");if(void 0!==f[k])return f[k];var m=lf[k]||[],n=a(k,m);if(b){var p;if(p= n)a:{if(0>va(c,k))if(m&&0va(c,m[q])){Ad(11);p=!1;break a}}else{p=!1;break a}p=!0}n=p}var t=!1;if(d){var u=0<=va(e,k);if(u)t=u;else{var r=za(e,m||[]);r&&Ad(10);t=r}}var v=!n||t;v||!(0<=va(m,"sandboxedScripts"))||c&&-1!==va(c,"sandboxedScripts")||(v=za(e,wi));return f[k]=v}},yi=function(){return ti.test(l.location&&l.location.hostname)};var Ai=!1,Bi=0,Ci=[];function Di(a){if(!Ai){var b=B.createEventObject,c="complete"==B.readyState,d="interactive"==B.readyState;if(!a||"readystatechange"!=a.type||c||!b&&d){Ai=!0;for(var e=0;eBi){Bi++;try{B.documentElement.doScroll("left"),Di()}catch(a){l.setTimeout(Ei,50)}}}var Fi=function(a){Ai?a():Ci.push(a)};var Hi=function(a,b){this.m=!1;this.D=[];this.N={tags:[]};this.Z=!1;this.o=this.B=0;Gi(this,a,b)},Ii=function(a,b,c,d){if(bf.hasOwnProperty(b)||"__zone"===b)return-1;var e={};Rb(d)&&(e=H(d,e));e.id=c;e.status="timeout";return a.N.tags.push(e)-1},Ji=function(a,b,c,d){var e=a.N.tags[b];e&&(e.status=c,e.executionTime=d)},Ki=function(a){if(!a.m){for(var b=a.D,c=0;c=a.B&&Ki(a)})};var Ni=function(){function a(d){return!ta(d)||0>d?0:d}if(!P._li&&l.performance&&l.performance.timing){var b=l.performance.timing.navigationStart,c=ta(uf.get("gtm.start"))?uf.get("gtm.start"):0;P._li={cst:a(c-b),cbt:a(hf-b)}}},Oi=function(a){l.performance&&l.performance.mark(Ze.I+"_"+a+"_start")},Pi=function(a){if(l.performance){var b=Ze.I+"_"+a+"_start",c=Ze.I+"_"+a+"_duration";l.performance.measure(c,b);var d=l.performance.getEntriesByName(c)[0];l.performance.clearMarks(b);l.performance.clearMeasures(c); var e=P._p||{};void 0===e[a]&&(e[a]=d.duration,P._p=e);return d.duration}},Qi=function(){if(l.performance&&l.performance.now){var a=P._p||{};a.PAGEVIEW=l.performance.now();P._p=a}};var Ri={},Si=function(){return l.GoogleAnalyticsObject&&l[l.GoogleAnalyticsObject]},Ti=!1; var Ui=function(a){l.GoogleAnalyticsObject||(l.GoogleAnalyticsObject=a||"ga");var b=l.GoogleAnalyticsObject;if(l[b])l.hasOwnProperty(b)||Ad(12);else{var c=function(){c.q=c.q||[];c.q.push(arguments)};c.l=Number(Oa());l[b]=c}Ni();return l[b]},Vi=function(a,b,c,d){b=String(b).replace(/\s+/g,"").split(",");var e=Si();e(a+"require","linker");e(a+"linker:autoLink",b,c,d)},Wi=function(a){if(!Sd())return;var b=Si();b(a+"require","linker");b(a+"linker:passthrough", !0);};function Xi(){return l.GoogleAnalyticsObject||"ga"} var Yi=function(a){},Zi=function(a,b){return function(){var c=Si(),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 fj=function(a){},jj=function(a){},kj= function(){return"&tc="+Dc.filter(function(a){return a}).length},nj=function(){2022<=lj().length&&mj()},oj=function(a){return 0===a.indexOf("gtm.")?encodeURIComponent(a):"*"},qj=function(){pj||(pj=l.setTimeout(mj,500))},mj=function(){pj&&(l.clearTimeout(pj),pj=void 0);void 0===rj||sj[rj]&&!tj&&!uj||(vj[rj]||wj.wi()||0>=xj--?(Ad(1),vj[rj]=!0):(wj.Ri(),Eb(lj(!0)),sj[rj]=!0,yj=zj=Aj=uj=tj=""))},lj=function(a){var b=rj;if(void 0===b)return"";var c=zd("GTM"),d=zd("TAGGING");return[Bj,sj[b]?"":"&es=1", Cj[b],fj(b),c?"&u="+c:"",d?"&ut="+d:"",kj(),tj,uj,Aj,zj,jj(a),yj,"&z=0"].join("")},Ej=function(){Bj=Dj()},Dj=function(){return[jf,"&v=3&t=t","&pid="+xa(),"&rv="+Ze.ad].join("")},ij=["L","S","Y"],ej=["S","E"],Fj={sampleRate:"0.005000",Hg:"",Gg:Number("5")},Gj=0<=B.location.search.indexOf("?gtm_latency=")||0<=B.location.search.indexOf(">m_latency="),Hj;if(!(Hj=Gj)){var Ij=Math.random(),Jj=Fj.sampleRate;Hj=Ij=t.B&&Ki(t);c.sort(lk);for(var u=0;ue?1:dk?1:gd;++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},Hk=function(a){var b=B;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 Ik=function(){};var Jk=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},Kk=function(a,b){this.o=a;this.m=null;this.D={};this.Z=0;this.N=void 0===b?500:b;this.B=null};na(Kk,Ik); var Mk=function(a){return"function"===typeof a.o.__tcfapi||null!=Lk(a)}; Kk.prototype.addEventListener=function(a){var b={},c=sb(function(){return a(b)}),d=0;-1!==this.N&&(d=setTimeout(function(){b.tcString="tcunavailable";b.internalErrorState=1;c()},this.N));var e=function(f,g){clearTimeout(d);f?(b=f,b.internalErrorState=Jk(b),g&&0===b.internalErrorState||(b.tcString="tcunavailable",g||(b.internalErrorState=3))):(b.tcString="tcunavailable",b.internalErrorState=3);a(b)};try{Nk(this,"addEventListener",e)}catch(f){b.tcString="tcunavailable",b.internalErrorState=3,d&&(clearTimeout(d), d=0),c()}};Kk.prototype.removeEventListener=function(a){a&&a.listenerId&&Nk(this,"removeEventListener",null,a.listenerId)}; var Pk=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=Ok(a.vendor.consents,void 0===d?"755":d);m=n&&"1"===b&&a.purposeOneTreatment&&("DE"===a.publisherCC||"CH"===a.publisherCC)?!0:n&&Ok(a.purpose.consents,b)}else m=!0;else m=1===k?a.purpose&& a.vendor?Ok(a.purpose.legitimateInterests,b)&&Ok(a.vendor.legitimateInterests,void 0===d?"755":d):!0:!0;return m},Ok=function(a,b){return!(!a||!a[b])},Nk=function(a,b,c,d){c||(c=function(){});if("function"===typeof a.o.__tcfapi){var e=a.o.__tcfapi;e(b,2,c,d)}else if(Lk(a)){Qk(a);var f=++a.Z;a.D[f]=c;if(a.m){var g={};a.m.postMessage((g.__tcfapiCall={command:b,version:2,callId:f,parameter:d},g),"*")}}else c({},!1)},Lk=function(a){if(a.m)return a.m;a.m=Gk(a.o,"__tcfapiLocator");return a.m},Qk=function(a){a.B|| (a.B=function(b){try{var c;c=("string"===typeof b.data?JSON.parse(b.data):b.data).__tcfapiReturn;a.D[c.callId](c.returnValue,c.success)}catch(d){}},Dk(a.o,a.B))};var Rk=!0;Rk=!1;var Sk={1:0,3:0,4:0,7:3,9:3,10:3},Tk=Ck("",550),Uk=Ck("",500);function Vk(){var a=P.tcf||{};return P.tcf=a} var Wk=function(a,b){this.B=a;this.m=b;this.o=Pa();},Xk=function(a){},Yk=function(a){},dl=function(){var a=Vk(),b=new Kk(l,Rk?3E3:-1),c=new Wk(b,a);if((Zk()?!0===l.gtag_enable_tcf_support:!1!==l.gtag_enable_tcf_support)&&!a.active&&("function"===typeof l.__tcfapi||Mk(b))){a.active=!0;a.zc={};$k();var d=null;Rk?d=l.setTimeout(function(){al(a);bl(a);d=null},Uk):a.tcString="tcunavailable";try{b.addEventListener(function(e){d&&(clearTimeout(d),d=null);if(0!==e.internalErrorState)al(a),bl(a),Xk(c); else{var f;a.gdprApplies=e.gdprApplies;if(!1===e.gdprApplies)f=cl(),b.removeEventListener(e);else if("tcloaded"===e.eventStatus||"useractioncomplete"===e.eventStatus||"cmpuishown"===e.eventStatus){var g={},k;for(k in Sk)if(Sk.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=Jk(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:Pk(m,"1",0):!1}else g[k]=Pk(e,k,Sk[k]);f=g}f&&(a.tcString=e.tcString||"tcempty",a.zc=f,bl(a),Xk(c))}}),Yk(c)}catch(e){d&&(clearTimeout(d),d=null),al(a),bl(a)}}};function al(a){a.type="e";a.tcString="tcunavailable";Rk&&(a.zc=cl())}function $k(){var a={},b=(a.ad_storage="denied",a.wait_for_update=Tk,a);$d(b)} var Zk=function(){var a=!1;a=!0;return a};function cl(){var a={},b;for(b in Sk)Sk.hasOwnProperty(b)&&(a[b]=!0);return a}function bl(a){var b={},c=(b.ad_storage=a.zc["1"]?"granted":"denied",b);el();be(c,0)} var fl=function(){var a=Vk();if(a.active&&void 0!==a.loadTime)return Number(a.loadTime)},el=function(){var a=Vk();return a.active?a.tcString||"":""},gl=function(){var a=Vk();return a.active&&void 0!==a.gdprApplies?a.gdprApplies?"1":"0":""},hl=function(a){if(!Sk.hasOwnProperty(String(a)))return!0;var b=Vk();return b.active&&b.zc?!!b.zc[String(a)]:!0};function nl(a){a=a||{};if(rg(l)&&B.cookie){var b=Og(Mh(a.prefix)+"_ec",a.domain,a.path,["1"],M.C);if(b){var c=b.split(".");if(3===c.length){var d=1E3*Number(c[1])||0;if(0!==d)return{Xf:c[0]+"."+c[1],$h:d,gg:1E3*Number(c[2])||0}}}}}function ol(a){if(!Sd()||Pd(M.C)){var b=nl(a);if(b&&!(18E5b)){var c=a.substring(0,b);if(wl.test(c)){for(var d=a.substring(b+1).split("/"),e=0;ek;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 El=function(a,b,c){if(l[a.functionName])return b.Ce&&G(b.Ce),l[a.functionName];var d=Dl();l[a.functionName]=d;if(a.dd)for(var e=0;eva(u,M.Kc)&&(m.cookieName=z+"_ga")}}!1!==e(M.dh)&&!1!==e(M.Tb)&&Tm()||(k.allowAdFeatures=!1);if(!1===e(M.ya)||!Sm()){var C=c.isGtmEvent?"allowAdPersonalizationSignals":"allowAdFeatures";C="allowAdPersonalizationSignals";k[C]=!1}!c.isGtmEvent&&e(M.Wa)&&(m._useUp=!0);if(c.isGtmEvent){m.name=m.name||f.gtmTrackerName;var F=k.hitCallback;k.hitCallback= function(){sa(F)&&F();c.onSuccess()}}else{cn(m,"cookieDomain","auto");cn(k,"forceSSL",!0);cn(f,"eventCategory",wn(b));0<=va(["view_item","view_item_list","view_promotion","view_search_results"],b)&&cn(g,"nonInteraction",!0);"login"===b||"sign_up"===b||"share"===b?cn(f,"eventLabel",e(M.qh)):"search"===b||"view_search_results"===b?cn(f,"eventLabel",e(M.wh)):"select_content"===b&&cn(f,"eventLabel",e(M.hh));var D=f[M.ma]||{},E=D[M.Db];E||0!=E&&D[M.M]?m.allowLinker=!0:!1===E&&cn(m,"useAmpClientId",!1); g.hitCallback=c.onSuccess;m.name=a}Sd()&&(k["&gcs"]=de(),ce(M.H)||(m.storage="none"),ce(M.C)||(k.allowAdFeatures=!1,m.storeGac=!1));var N=e(M.na)||e(M.ph),K=e(M.oh);if(N){c.isGtmEvent||(m._x_19=N);m._cd2l=!0;}K&&!c.isGtmEvent&&(m._x_20=K);f.ia=g;f.mc=k;f.fa=m;return f},dn=function(a){var b=a.gtmEcommerceData;if(!b)return null;var c={};b.currencyCode&&(c.ne=b.currencyCode);if(b.impressions){c.action="impressions";var d=b.impressions;c.fg="impressions"===b.translateIfKeyEquals?nn(d,!0):d}if(b.promoView){c.action="promo_view";var e=b.promoView.promotions; c.yc="promoView"===b.translateIfKeyEquals?nn(e,!0):e}if(b.promoClick){c.action="promo_click";var f=b.promoClick.promotions;c.yc="promoClick"===b.translateIfKeyEquals?nn(f,!0):f;c.Xa=b.promoClick.actionField;return c}for(var g in b)if(b.hasOwnProperty(g)&&"translateIfKeyEquals"!==g&&"impressions"!==g&&"promoView"!==g&&"promoClick"!==g&&"currencyCode"!==g){c.action=g;var k=b[g].products;c.pb="products"===b.translateIfKeyEquals?nn(k,!0):k;c.Xa=b[g].actionField;break}return Object.keys(c).length?c:null}, en=function(a,b){function c(u){return{id:d(M.Va),affiliation:d(M.kh),revenue:d(M.ca),tax:d(M.ff),shipping:d(M.Kd),coupon:d(M.lh),list:d(M.Jd)||u}}for(var d=function(u){return b.getWithConfig(u)},e=d(M.V),f,g=0;e&&g=Number(c);case "_gt":return Number(b)>Number(c);case "_lc":var m;m=String(b).split(",");return 0<=va(m,String(c));case "_le":return Number(b)<=Number(c);case "_lt":return Number(b)va(d,a)&&d.push(a)}},oo=function(a){Ca(mo,function(b,c){var d=va(c,a);0<=d&&c.splice(d,1)})};var po="HA GF G UA AW DC".split(" "),qo=!1;qo=!0;var ro=!1,so=!1;function to(a,b){var c={event:a};b&&(c.eventModel=H(b),b[M.Bb]&&(c.eventCallback=b[M.Bb]),b[M.Nc]&&(c.eventTimeout=b[M.Nc]));return c}function uo(a){a.hasOwnProperty("gtm.uniqueEventId")||Object.defineProperty(a,"gtm.uniqueEventId",{value:mf()});return a["gtm.uniqueEventId"]} function vo(){if(!ro&&!P.gtagRegistered){ro=P.gtagRegistered=!0;P.addTargetToGroup=function(c){no(c,"default")};}return ro} var wo={config:function(a){var b,c=uo(a);if(2>a.length||!h(a[1]))return;var d={};if(2a.length)&&h(b)){var c;if(2r-9E5}if(!l["__TAGGY_INSTALLED"]){var c=!1;if(B.referrer){var d=Tf(B.referrer);c="cct.google"===Qf(d,"host")}if(!c){var e=zg("googTaggyReferrer");c=e.length&&e[0].length}c&&(l["__TAGGY_INSTALLED"]=!0,Ab("https://cct.google/taggy/agent.js"))}var g=function(u){var r="GTM",v="GTM";r="OGT",v="GTAG";var x=l["google.tagmanager.debugui2.queue"];x||(x=[],l["google.tagmanager.debugui2.queue"]=x,Ab("/df0e319e4616eb357c8c725b1ca46de9/debug/bootstrap?id="+Ze.I+"&src="+v+"&cond="+u+">m="+Bk()));var z={messageType:"CONTAINER_STARTING", data:{scriptSource:vb,containerProduct:r,debug:!1,id:Ze.I}};z.data.resume=function(){a()};Ze.Og&&(z.data.initialPublish=!0);x.push(z)},k=void 0,m=Rf(l.location,"query",!1,void 0,"gtm_debug"),n=!0;n&&"x"===m&&(k=1);!k&&b(Number(m))&&(k=2);if(!k&&B.referrer){var p=Tf(B.referrer);"tagassistant.google.com"===Qf(p,"host")&&(k=3)}if(!k){var q=zg("__TAG_ASSISTANT"); q.length&&q[0].length&&(k=4)}if(!k&&B.documentElement.hasAttribute("data-tag-assistant-present")){k=5;var t=Number(B.documentElement.getAttribute("data-tag-assistant-present"));k=b(t)?5:void 0;}k&&vb?g(k):a()})(gt); })()