// 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)},ua=function(a,b){for(var c=new ta,d=0;d"+a+"");void 0!==c.tagName&&db(c);c.innerHTML=bb(d);b=b.lastChild;for(var e=[];b.firstChild;)e.push(b.removeChild(b.firstChild));return e},yb=function(a,b,c){c=c||100;for(var d={},e=0;e=f)return!0;(d=d.parentElement)&&(e=E.getComputedStyle(d,null))}return!1};var Ae=/:[0-9]+$/,Be=function(a,b,c){for(var d=a.split("&"),e=0;ec?a.href:a.href.substr(0,c)}return b},Ie=function(a){var b=F.createElement("a");a&&(b.href=a);var c=b.pathname;"/"!==c[0]&&(a||fb("TAGGING",1),c="/"+c);var d=b.hostname.replace(Ae,"");return{href:b.href,protocol:b.protocol,host:b.host,hostname:d,pathname:c,search:b.search,hash:b.hash,port:b.port}},Je=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=Ie(a),f=a.split(/[?#]/)[0],g=e.search,l=e.hash;"?"===g[0]&&(g=g.substring(1));"#"===l[0]&&(l=l.substring(1));g=c(g);l=c(l);""!==g&&(g="?"+g);""!==l&&(l="#"+l);var m=""+f+g+l;"/"===m[m.length-1]&&(m=m.substring(0,m.length-1));return m};var Ke={};var mf={},nf=function(a,b){if(E._gtmexpgrp&&E._gtmexpgrp.hasOwnProperty(a))return E._gtmexpgrp[a];void 0===mf[a]&&(mf[a]=Math.floor(Math.random()*b));return mf[a]};var pf={Zg:"NL",Lj:""};var qf=new function(a,b){this.h=a;this.defaultValue=void 0===b?!1:b}(1933);var rf=function(a){rf[" "](a);return a};rf[" "]=function(){};var tf=function(){var a=sf,b="cf";if(a.cf&&a.hasOwnProperty(b))return a.cf;var c=new a;return a.cf=c};var sf=function(){var a={};this.h=function(){var b=qf.h,c=qf.defaultValue;return null!=a[b]?a[b]:c};this.m=function(){a[qf.h]=!0}};var uf=[];function vf(){var a=kb("google_tag_data",{});a.ics||(a.ics={entries:{},set:wf,update:xf,addListener:yf,notifyListeners:zf,active:!1,usedDefault:!1,usedUpdate:!1,accessedDefault:!1,accessedAny:!1,wasSetLate:!1});return a.ics} function wf(a,b,c,d,e,f){var g=vf();g.usedDefault||!g.accessedDefault&&!g.accessedAny||(g.wasSetLate=!0);g.active=!0;g.usedDefault=!0;if(void 0!=b){var l=g.entries,m=l[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&&0d&&O(66);Qf=c},Sf=function(a){var b=Cf(a);return void 0!=b?b:!0},Tf=function(){return"G1"+Nf(Cf)},Uf=function(a, b){Kf(a,b)},Vf=function(a,b){Jf(a,b)};var Wf=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};var Xf=function(a,b,c){for(var d=[],e=b.split(";"),f=0;fd)return null;var e=a.indexOf("&",d);if(0>e||e>c)e=c;d+=b.length+1;return decodeURIComponent(a.slice(d,-1!==e?e:0).replace(/\+/g," "))},Zg=/[?&]($|#)/,$g=function(a,b,c){for(var d,e=a.search(Xg),f=0,g,l=[];0<=(g=Wg(a,f,b,e));)l.push(a.substring(f, g)),f=Math.min(a.indexOf("&",g)+1||e,e);l.push(a.slice(f));d=l.join("").replace(Zg,"$1");var m,n=null!=c?"="+encodeURIComponent(String(c)):"";var p=b+n;if(p){var q,t=d.indexOf("#");0>t&&(t=d.length);var u=d.indexOf("?"),r;0>u||u>t?(u=t,r=""):r=d.substring(u+1,t);q=[d.slice(0,u),r,d.slice(t)];var v=q[1];q[1]=p?v?v+"&"+p:p:v;m=q[0]+(q[1]?"?"+q[1]:"")+q[2]}else m=d;return m};function ah(a){if(!a||!F.head)return null;var b,c;c=void 0===c?document:c;b=c.createElement("meta");F.head.appendChild(b);b.httpEquiv="origin-trial";b.content=a;return b}var bh=function(){if(E.top==E)return 0;var a=E.location.ancestorOrigins;if(a)return a[a.length-1]==E.location.origin?1:2;var b;var c=E.top;try{var d;if(d=!!c&&null!=c.location.href)b:{try{rf(c.foo);d=!0;break b}catch(e){}d=!1}b=d}catch(e){b=!1}return b?1:2};var ch=function(){};var dh=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},eh=function(a,b,c){this.m=a;this.h=null;this.K={};this.Ga=0;this.P=void 0===b?500:b;this.D=void 0===c?!1:c;this.B=null};ka(eh,ch); eh.prototype.addEventListener=function(a){var b=this,c={internalBlockOnErrors:this.D},d=Zf(function(){return a(c)}),e=0;-1!==this.P&&(e=setTimeout(function(){c.tcString="tcunavailable";c.internalErrorState=1;d()},this.P));var f=function(g,l){clearTimeout(e);g?(c=g,c.internalErrorState=dh(c),c.internalBlockOnErrors=b.D,l&&0===c.internalErrorState||(c.tcString="tcunavailable",l||(c.internalErrorState=3))):(c.tcString="tcunavailable",c.internalErrorState=3);a(c)};try{fh(this,"addEventListener",f)}catch(g){c.tcString= "tcunavailable",c.internalErrorState=3,e&&(clearTimeout(e),e=0),d()}};eh.prototype.removeEventListener=function(a){a&&a.listenerId&&fh(this,"removeEventListener",null,a.listenerId)}; var hh=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 l=c;2===c?(l=0,2===g&&(l=1)):3===c&&(l=1,1===g&&(l=0));var m;if(0===l)if(a.purpose&&a.vendor){var n=gh(a.vendor.consents,void 0===d?"755":d);m=n&&"1"===b&&a.purposeOneTreatment&&"CH"===a.publisherCC?!0:n&&gh(a.purpose.consents,b)}else m=!0;else m=1===l?a.purpose&&a.vendor?gh(a.purpose.legitimateInterests, b)&&gh(a.vendor.legitimateInterests,void 0===d?"755":d):!0:!0;return m},gh=function(a,b){return!(!a||!a[b])},fh=function(a,b,c,d){c||(c=function(){});if("function"===typeof a.m.__tcfapi){var e=a.m.__tcfapi;e(b,2,c,d)}else if(ih(a)){jh(a);var f=++a.Ga;a.K[f]=c;if(a.h){var g={};a.h.postMessage((g.__tcfapiCall={command:b,version:2,callId:f,parameter:d},g),"*")}}else c({},!1)},ih=function(a){if(a.h)return a.h;var b;a:{for(var c=a.m,d=0;50>d;++d){var e;try{e=!(!c.frames||!c.frames.__tcfapiLocator)}catch(l){e= !1}if(e){b=c;break a}var f;b:{try{var g=c.parent;if(g&&g!=c){f=g;break b}}catch(l){}f=null}if(!(c=f))break}b=null}a.h=b;return a.h},jh=function(a){a.B||(a.B=function(b){try{var c;c=("string"===typeof b.data?JSON.parse(b.data):b.data).__tcfapiReturn;a.K[c.callId](c.returnValue,c.success)}catch(d){}},Sg(a.m,a.B))};var kh=!0;kh=!1;var lh={1:0,3:0,4:0,7:3,9:3,10:3},mh=Rg("",550),nh=Rg("",500);function oh(){var a=Qd.tcf||{};return Qd.tcf=a} var th=function(){var a=oh(),b=new eh(E,kh?3E3:-1);if(!0===E.gtag_enable_tcf_support&&!a.active&&("function"===typeof E.__tcfapi||"function"===typeof b.m.__tcfapi||null!=ih(b))){a.active=!0;a.fd={};ph();var c=null;kh?c=E.setTimeout(function(){qh(a);rh(a);c=null},nh):a.tcString="tcunavailable";try{b.addEventListener(function(d){c&&(clearTimeout(c),c=null);if(0!==d.internalErrorState)qh(a),rh(a);else{var e;a.gdprApplies=d.gdprApplies;if(!1===d.gdprApplies)e=sh(),b.removeEventListener(d);else if("tcloaded"=== d.eventStatus||"useractioncomplete"===d.eventStatus||"cmpuishown"===d.eventStatus){var f={},g;for(g in lh)if(lh.hasOwnProperty(g))if("1"===g){var l=d,m=!0;m=void 0===m?!1:m;var n;var p=l;!1===p.gdprApplies?n=!0:(void 0===p.internalErrorState&&(p.internalErrorState=dh(p)),n="error"===p.cmpStatus||0!==p.internalErrorState?!p.internalBlockOnErrors:"loaded"!==p.cmpStatus||"tcloaded"!==p.eventStatus&&"useractioncomplete"!==p.eventStatus?!1:!0);f["1"]=n?!1===l.gdprApplies||"tcunavailable"===l.tcString|| void 0===l.gdprApplies&&!m||"string"!==typeof l.tcString||!l.tcString.length?!0:hh(l,"1",0):!1}else f[g]=hh(d,g,lh[g]);e=f}e&&(a.tcString=d.tcString||"tcempty",a.fd=e,rh(a))}})}catch(d){c&&(clearTimeout(c),c=null),qh(a),rh(a)}}};function qh(a){a.type="e";a.tcString="tcunavailable";kh&&(a.fd=sh())}function ph(){var a={},b=(a.ad_storage="denied",a.wait_for_update=mh,a);Pf(b)}function sh(){var a={},b;for(b in lh)lh.hasOwnProperty(b)&&(a[b]=!0);return a} function rh(a){var b={},c=(b.ad_storage=a.fd["1"]?"granted":"denied",b);Rf(c,{eventId:0},{gdprApplies:a?a.gdprApplies:void 0,tcString:uh()})}var uh=function(){var a=oh();return a.active?a.tcString||"":""},vh=function(){var a=oh();return a.active&&void 0!==a.gdprApplies?a.gdprApplies?"1":"0":""},wh=function(a){if(!lh.hasOwnProperty(String(a)))return!0;var b=oh();return b.active&&b.fd?!!b.fd[String(a)]:!0};function xh(a,b,c,d){var e,f=Number(null!=a.Sa?a.Sa:void 0);0!==f&&(e=new Date((b||z())+1E3*(f||7776E3)));return{path:a.path,domain:a.domain,flags:a.flags,encode:!!c,expires:e,qb:d}};var yh=["1"],zh={},Ah={},Ch=function(a){return zh[Bh(a)]},Fh=function(a,b){b=void 0===b?!0:b;var c=Bh(a.prefix);if(!zh[c]&&!Dh(c,a.path,a.domain)&&b){var d=Bh(a.prefix),e=wg();if(0===Eh(d,e,a)){var f=kb("google_tag_data",{});f._gcl_au?fb("GTM",57):f._gcl_au=e}Dh(c,a.path,a.domain)}};function Eh(a,b,c,d){var e=Ag(b,"1",c.domain,c.path),f=xh(c,d);f.qb="ad_storage";return lg(a,e,f)} function Dh(a,b,c){var d=zg(a,b,c,yh,"ad_storage");if(!d)return!1;var e=d.split(".");5===e.length?(zh[a]=e.slice(0,2).join("."),Ah[a]={id:e.slice(2,4).join("."),kh:Number(e[4])||0}):3===e.length?Ah[a]={id:e.slice(0,2).join("."),kh:Number(e[2])||0}:zh[a]=d;return!0}function Bh(a){return(a||"_gcl")+"_au"};function Gh(){for(var a=Hh,b={},c=0;c>4);64!=g&&(c+=String.fromCharCode(f<<4&240|g>>2),64!=l&&(c+=String.fromCharCode(g<<6&192|l)))}};var Lh;var Ph=function(){var a=Mh,b=Nh,c=Oh(),d=function(g){a(g.target||g.srcElement||{})},e=function(g){b(g.target||g.srcElement||{})};if(!c.init){tb(F,"mousedown",d);tb(F,"keyup",d);tb(F,"submit",e);var f=HTMLFormElement.prototype.submit;HTMLFormElement.prototype.submit=function(){b(this);f.call(this)};c.init=!0}},Qh=function(a,b,c,d,e){var f={callback:a,domains:b,fragment:2===c,placement:c,forms:d,sameHost:e};Oh().decorators.push(f)},Rh=function(a,b,c){for(var d=Oh().decorators,e={},f=0;f>2,w=(t&3)<<4|u>>4,y=(u&15)<<2|r>>6,x=r&63;q||(x=64,p||(y=64));m.push(Hh[v],Hh[w],Hh[y],Hh[x])}g=m.join("");f.call(e,g)}}var A=b.join("*");return["1",Xh(A), A].join("*")};function Xh(a,b){var c=[E.navigator.userAgent,(new Date).getTimezoneOffset(),ib.userLanguage||ib.language,Math.floor(z()/60/1E3)-(void 0===b?0:b),a].join("*"),d;if(!(d=Lh)){for(var e=Array(256),f=0;256>f;f++){for(var g=f,l=0;8>l;l++)g=g&1?g>>>1^3988292384:g>>>1;e[f]=g}d=e}Lh=d;for(var m=4294967295,n=0;n>>8^Lh[(m^c.charCodeAt(n))&255];return((m^-1)>>>0).toString(36)} function Zh(){return function(a){var b=Ie(E.location.href),c=b.search.replace("?",""),d=Be(c,"_gl",!0)||"";a.query=$h(d)||{};var e=Ge(b,"fragment").match(Wh("_gl"));a.fragment=$h(e&&e[3]||"")||{}}}function ai(a,b){var c=Wh(a).exec(b),d=b;if(c){var e=c[2],f=c[4];d=c[1];f&&(d=d+e+f)}return d} var bi=function(a,b){b||(b="_gl");var c=Vh.exec(a);if(!c)return"";var d=c[1],e=ai(b,(c[2]||"").slice(1)),f=ai(b,(c[3]||"").slice(1));e.length&&(e="?"+e);f.length&&(f="#"+f);return""+d+e+f},ci=function(a){var b=Zh(),c=Oh();c.data||(c.data={query:{},fragment:{}},b(c.data));var d={},e=c.data;e&&(Ga(d,e.query),a&&Ga(d,e.fragment));return d},$h=function(a){try{var b=di(a,3);if(void 0!==b){for(var c={},d=b?b.split("*"):[],e=0;e+1e;++e){var f=Sh.exec(d);if(f){c=f;break a}d=decodeURIComponent(d)}c=void 0}var g=c;if(g&&"1"===g[1]){var l=g[3],m;a:{for(var n=g[2],p=0;pf.length||!b&&3!==f.length)&&Number(f[1])){d[c[e].xf]||(d[c[e].xf]=[]);var g={version:f[0],timestamp:1E3*Number(f[1]),da:f[2]};b&&3p){n=!0;break b}n=!1}if(!n){var u=xh(b,m,!0);u.qb="ad_storage";lg(g,l,u)}}}}Ci(Ai(c.gclid,c.gclsrc),!1,b)})},Ei=function(a,b){var c=ri[a];if(void 0!==c)return b+c},Fi=function(a){return 0!==Hi(a.split(".")).length?1E3*(Number(a.split(".")[1])|| 0):0};function wi(a){var b=Hi(a.split("."));return 0===b.length?null:{version:b[0],da:b[2],timestamp:1E3*(Number(b[1])||0),labels:b.slice(3)}}function Hi(a){return 3>a.length||"GCL"!==a[0]&&"1"!==a[0]||!/^\d+$/.test(a[1])||!qi.test(a[2])?[]:a} var Ii=function(a,b,c,d,e){if(qa(b)&&$f(E)){var f=zi(e),g=function(){for(var l={},m=0;mb};var Ui=/[A-Z]+/,Vi=/\s/,Wi=function(a){if(h(a)){a=Ca(a);var b=a.indexOf("-");if(!(0>b)){var c=a.substring(0,b);if(Ui.test(c)){for(var d=a.substring(b+1).split("/"),e=0;el;l++){var m=g[l].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 bj=function(a,b,c){if(E[a.functionName])return b.pf&&G(b.pf),E[a.functionName];var d=aj();E[a.functionName]=d;if(a.Vd)for(var e=0;e=Bk--))O(1),xk[vk]=!0;else{void 0===Kk[vk]&&Ak.Mj();var b=Ck(!0,a);a?zb(b):sb(b);if(nk||pk&&0>=8);b[c++]=e}var f=4;void 0===f&&(f=0);if(!Al){Al={};for(var g="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),l=["+/=","+/","-_=","-_.","-_"],m=0;5>m;m++){var n=g.concat(l[m].split(""));zl[m]=n;for(var p=0;p>2],D=t[(y&3)<<4|x>>4],H=t[(x&15)<<2|A>>6],I=t[A&63];u[w++]=""+B+D+H+I}var C=0,K=r;switch(b.length-v){case 2:C=b[v+1],K=t[(C&15)<<2]||r;case 1:var M=b[v];u[w]=""+t[M>>2]+t[(M&3)<<4|C>>4]+K+r}return u.join("")};var Cl="platform platformVersion architecture model uaFullVersion bitness fullVersionList wow64".split(" ");function Dl(){var a;return null!=(a=E.google_tag_data)?a:E.google_tag_data={}}function El(){var a=E.google_tag_data,b;if(null!=a&&a.uach){var c=a.uach,d=Object.assign({},c);c.fullVersionList&&(d.fullVersionList=c.fullVersionList.slice(0));b=d}else b=null;return b}function Fl(){var a,b;return null!=(b=null==(a=E.google_tag_data)?void 0:a.uach_promise)?b:null} function Gl(){var a,b;return"function"===typeof(null==(a=E.navigator)?void 0:null==(b=a.userAgentData)?void 0:b.getHighEntropyValues)}function Hl(){if(!Gl())return null;var a=Dl();if(a.uach_promise)return a.uach_promise;var b=E.navigator.userAgentData.getHighEntropyValues(Cl).then(function(c){null!=a.uach||(a.uach=c);return c});return a.uach_promise=b};function Nl(){return"attribution-reporting"}function Ol(a){var b;b=void 0===b?document:b;var c;return!(null==(c=b.featurePolicy)||!c.allowedFeatures().includes(a))};var Pl=!1;function Ql(){if(Ol("join-ad-interest-group")&&oa(ib.joinAdInterestGroup))return!0;Pl||(ah('A7bG5hJ4XpMV5a3V1wwAR0PalkFSxLOZeL9D/YBYdupYUIgUgGhfVJ1zBFOqGybb7gRhswfJ+AmO7S2rNK2IOwkAAAB7eyJvcmlnaW4iOiJodHRwczovL3d3dy5nb29nbGV0YWdtYW5hZ2VyLmNvbTo0NDMiLCJmZWF0dXJlIjoiUHJpdmFjeVNhbmRib3hBZHNBUElzIiwiZXhwaXJ5IjoxNjY5NzY2Mzk5LCJpc1RoaXJkUGFydHkiOnRydWV9'),Pl=!0);return Ol("join-ad-interest-group")&&oa(ib.joinAdInterestGroup)} function Rl(a,b){var c=void 0;try{c=F.querySelector('iframe[data-tagging-id="'+b+'"]')}catch(e){}if(c){var d=Number(c.dataset.loadTime);if(d&&6E4>z()-d){fb("TAGGING",9);return}}else try{if(50<=F.querySelectorAll('iframe[allow="join-ad-interest-group"][data-tagging-id*="-"]').length){fb("TAGGING",10);return}}catch(e){}rb(a,void 0,{allow:"join-ad-interest-group"},{taggingId:b,loadTime:z()},c)};var Sl=RegExp("^UA-\\d+-\\d+%3A[\\w-]+(?:%2C[\\w-]+)*(?:%3BUA-\\d+-\\d+%3A[\\w-]+(?:%2C[\\w-]+)*)*$"),Tl=/^~?[\w-]+(?:\.~?[\w-]+)*$/,Ul=/^\d+\.fls\.doubleclick\.net$/,Vl=/;gac=([^;?]+)/,Wl=/;gacgb=([^;?]+)/,Xl=/;gclaw=([^;?]+)/,Yl=/;gclgb=([^;?]+)/; function Zl(a,b){if(Ul.test(F.location.host)){var c=F.location.href.match(b);return c&&2==c.length&&c[1].match(Sl)?decodeURIComponent(c[1]):""}var d=[],e;for(e in a){for(var f=[],g=a[e],l=0;lc.indexOf(l))if(m&&0c.indexOf(m[q])){O(11);p=!1;break a}}else{p=!1;break a}p=!0}n=p}var t=!1;if(d){var u=0<=e.indexOf(l);if(u)t=u;else{var r=ua(e,m||[]);r&&O(10);t=r}}var v=!n||t;v||!(0<=m.indexOf("sandboxedScripts"))||c&&-1!==c.indexOf("sandboxedScripts")||(v=ua(e,vn));return f[l]=v}},xn=function(){return sn.test(E.location&&E.location.hostname)};var zn={initialized:11,complete:12,interactive:13},An={},Bn=Object.freeze((An[R.g.xa]=!0,An)),Cn=0<=F.location.search.indexOf("?gtm_diagnostics=")||0<=F.location.search.indexOf(">m_diagnostics="),En=function(a,b,c){if(dk&&"config"===a&&!(1Hn){Hn++;try{F.documentElement.doScroll("left"),Jn()}catch(a){E.setTimeout(Kn,50)}}}var Ln=function(a){Gn?a():In.push(a)};var Mn=function(a,b){return{entityType:1,indexInOriginContainer:a,nameInOriginContainer:b,originContainerId:Dg.M}};var On=function(a,b){this.h=!1;this.D=[];this.K={tags:[]};this.P=!1;this.m=this.B=0;Nn(this,a,b)},Pn=function(a,b,c,d){if(Td.hasOwnProperty(b)||"__zone"===b)return-1;var e={};J(d)&&(e=N(d,e));e.id=c;e.status="timeout";return a.K.tags.push(e)-1},Qn=function(a,b,c,d){var e=a.K.tags[b];e&&(e.status=c,e.executionTime=d)},Rn=function(a){if(!a.h){for(var b=a.D,c=0;c=a.B&&Rn(a)})},Un=function(a){a.P=!0;a.m>=a.B&&Rn(a)};var Vn=function(){function a(d){return!pa(d)||0>d?0:d}if(!Qd._li&&E.performance&&E.performance.timing){var b=E.performance.timing.navigationStart,c=pa(je.get("gtm.start"))?je.get("gtm.start"):0;Qd._li={cst:a(c-b),cbt:a($d-b)}}},Wn=function(a){E.performance&&E.performance.mark(Dg.M+"_"+a+"_start")},Xn=function(a){if(E.performance){var b=Dg.M+"_"+a+"_start",c=Dg.M+"_"+a+"_duration";E.performance.measure(c,b);var d=E.performance.getEntriesByName(c)[0];E.performance.clearMarks(b);E.performance.clearMeasures(c); var e=Qd._p||{};void 0===e[a]&&(e[a]=d.duration,Qd._p=e);return d.duration}},Yn=function(){var a=Bb();if(void 0!==a){var b=Qd._p||{};b.PAGEVIEW=a;Qd._p=b}};var Zn={},$n=function(){return E.GoogleAnalyticsObject&&E[E.GoogleAnalyticsObject]},ao=!1;var bo=function(a){E.GoogleAnalyticsObject||(E.GoogleAnalyticsObject=a||"ga");var b=E.GoogleAnalyticsObject;if(E[b])E.hasOwnProperty(b)||O(12);else{var c=function(){c.q=c.q||[];c.q.push(arguments)};c.l=Number(Da());E[b]=c}Vn();return E[b]},co=function(a){if(Ff()){var b=$n();b(a+"require","linker");b(a+"linker:passthrough",!0)}}; function eo(){return E.GoogleAnalyticsObject||"ga"} var fo=function(a){},go=function(a,b){return function(){var c=$n(),d=c&&c.getByName&&c.getByName(a);if(d){var e=d.get("sendHitTask");d.set("sendHitTask",function(f){var g=f.get("hitPayload"),l=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",l,!0),f.set("_x_19",void 0,!0),e(f))})}}};function lo(a,b,c,d){var e=gc[a],f=mo(a,b,c,d);if(!f)return null;var g=pc(e[Gb.Qg],c,[]);if(g&&g.length){var l=g[0];f=lo(l.index,{O:f,N:1===l.eh?b.terminate:f,terminate:b.terminate},c,d)}return f} function mo(a,b,c,d){function e(){if(f[Gb.wi])l();else{var w=qc(f,c,[]),y=w[Gb.Ih];if(null!=y)for(var x=0;xe?1:dl?1:ga.length)&&h(a[1])){var d={};if(2t.indexOf(n)&&t.push(n)}}else{Ep(e.id);var u=e.id,r=d[R.g.Hd]||"default";r=r.toString().split(",");for(var v=0;vw.indexOf(u)&&w.push(u)}}delete d[R.g.Hd];var y=b.eventMetadata||{};y.hasOwnProperty("is_external_event")||(y.is_external_event=!b.fromContainerExecution);b.eventMetadata=y;delete d[R.g.Mb];for(var x=g?[e.id]:Gg(),A=0;Aa.length)&&h(c)){var d;if(2iq&&(iq=w)}nq=!1}}}return!a}function wq(){var b=uq();try{Mp(Dg.M)}catch(c){}return b} function xo(a){if(iqn)for(O(4),c.pruned=!0;this.length>n;)this.shift();var p="boolean"!==typeof m||m;return uq()&&p};var e=b.slice(0).map(function(f){return a(f)});kq.push.apply(kq,e);if(xq()){G(wq)}},xq=function(){var a=!0;return a};function zq(a){if(null==a||0===a.length)return!1;var b=Number(a),c=z();return bc-9E5};var lc={};lc.Od=new String("undefined");var Cq=function(a){this.pj=a};function Dq(a){return new Cq(function(b){return b.substr(0,a.length+1).toLowerCase()===a+":"})}var Eq=[Dq("data"),Dq("http"),Dq("https"),Dq("mailto"),Dq("ftp"),new Cq(function(a){return/^[^:]*([/?#]|$)/.test(a)})];var cr=E.clearTimeout,dr=E.setTimeout,V=function(a,b,c,d){if(Cg()){b&&G(b)}else return pb(a,b,c,d)},er=function(){return new Date},fr=function(){return E.location.href},gr=function(a){return Ge(Ie(a),"fragment")},hr=function(a){return He(Ie(a))},ir=function(a,b){return ie(a,b||2)},jr=function(a,b,c){var d;b?(a.eventCallback=b,c&&(a.eventTimeout=c),d=pq(a)):d=pq(a);return d},kr=function(a,b){E[a]=b},W=function(a,b,c){b&& (void 0===E[a]||c&&!E[a])&&(E[a]=b);return E[a]},lr=function(a,b,c){return cg(a,b,void 0===c?!0:!!c)},mr=function(a,b,c){return 0===lg(a,b,c)},nr=function(a,b){if(Cg()){b&&G(b)}else rb(a,b)},or=function(a){return!!Jq(a,"init",!1)},pr=function(a){Hq(a,"init",!0)},qr=function(a,b,c){dk&&(Fb(a)||Yk(c,b,a))}; var Or=["matches","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector","oMatchesSelector"];function Pr(a,b){a=String(a);b=String(b);var c=a.length-b.length;return 0<=c&&a.indexOf(b,c)===c}var Qr=new ta;function Rr(a,b,c){var d=c?"i":void 0;try{var e=String(b)+d,f=Qr.get(e);f||(f=new RegExp(b,d),Qr.set(e,f));return f.test(a)}catch(g){return!1}} function Sr(a,b){function c(g){var l=Ie(g),m=Ge(l,"protocol"),n=Ge(l,"host",!0),p=Ge(l,"port"),q=Ge(l,"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=Number(c);case "_gt":return Number(b)>Number(c); case "_lc":return 0<=String(b).split(",").indexOf(String(c));case "_le":return Number(b)<=Number(c);case "_lt":return Number(b)t.indexOf(R.g.Cc)&&(l.cookieName=w+"_ga")}}!1!==d(R.g.Uh)&&!1!==d(R.g.vc)&&Ks()||(g.allowAdFeatures=!1);!1!==d(R.g.X)&&Ls()||(g.allowAdPersonalizationSignals=!1);!c.C&&d(R.g.ab)&&(l._useUp=!0);if(c.C){l.name=l.name||e.gtmTrackerName; var B=g.hitCallback;g.hitCallback=function(){oa(B)&&B();c.O()}}else{Tu(l,"cookieDomain","auto");Tu(g,"forceSSL",!0);Tu(e,"eventCategory",xv(b));zv[b]&&Tu(f,"nonInteraction",!0);"login"===b||"sign_up"===b||"share"===b?Tu(e,"eventLabel",d(R.g.hg)):"search"===b||"view_search_results"===b?Tu(e,"eventLabel",d(R.g.li)):"select_content"===b&&Tu(e,"eventLabel",d(R.g.Xh));var D=e[R.g.ra]||{},H=D[R.g.Pb];H||0!=H&&D[R.g.R]?l.allowLinker=!0:!1===H&&Tu(l,"useAmpClientId",!1);f.hitCallback=c.O;l.name=a}Ff()&&(g["&gcs"]= Tf(),Sf(R.g.U)||(l.storage="none"),Sf(R.g.F)||(g.allowAdFeatures=!1,l.storeGac=!1));var I=d(R.g.na)||d(R.g.ub),C=d(R.g.Ed);I&&(c.C||(l[R.g.ub]=I),l._cd2l=!0);C&&!c.C&&(l[R.g.Ed]=C);e.fieldsToSend=f;e.fieldsToSet=g;e.createOnlyFields=l;return e},Uu=function(a){var b=a.gtmEcommerceData;if(!b)return null;var c={};b.currencyCode&&(c.Xe=b.currencyCode);if(b.impressions){c.action="impressions";var d=b.impressions;c.jh="impressions"===b.translateIfKeyEquals?ev(d,!0):d}if(b.promoView){c.action="promo_view"; var e=b.promoView.promotions;c.ed="promoView"===b.translateIfKeyEquals?ev(e,!0):e}if(b.promoClick){c.action="promo_click";var f=b.promoClick.promotions;c.ed="promoClick"===b.translateIfKeyEquals?ev(f,!0):f;c.Ra=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 l=b[g].products;c.Bb="products"===b.translateIfKeyEquals?ev(l,!0):l;c.Ra=b[g].actionField;break}return Object.keys(c).length? c:null},Vu=function(a,b){function c(v){return{id:d(R.g.Ea),affiliation:d(R.g.bi),revenue:d(R.g.ka),tax:d(R.g.Tf),shipping:d(R.g.Fc),coupon:d(R.g.ci),list:e()||v}}for(var d=function(v){return U(b,v)},e=function(){var v;dv&&(v=d(R.g.Rf));return d(R.g.Sf)||v},f=d(R.g.Z),g,l=0;f&&l