forked from OverlordQ/Reddit-Pro-Tools
-
Notifications
You must be signed in to change notification settings - Fork 2
/
analytics_debug.js
104 lines (104 loc) · 57.2 KB
/
analytics_debug.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
(function(){var k=this,l=function(a,b){a=a.split(".");var c=k;a[0]in c||"undefined"==typeof c.execScript||c.execScript("var "+a[0]);for(var d;a.length&&(d=a.shift());)a.length||void 0===b?c=c[d]&&c[d]!==Object.prototype[d]?c[d]:c[d]={}:c[d]=b};var m=function(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c])},n=function(a){for(var b in a)if(a.hasOwnProperty(b))return!0;return!1};var q=/^(?:(?:https?|mailto|ftp):|[^:/?#]*(?:[/?#]|$))/i;var r=window,t=document,u=function(a,b){t.addEventListener?t.addEventListener(a,b,!1):t.attachEvent&&t.attachEvent("on"+a,b)};var v=/:[0-9]+$/,x=function(a,b){b&&(b=String(b).toLowerCase());if("protocol"===b||"port"===b)a.protocol=w(a.protocol)||w(r.location.protocol);"port"===b?a.port=String(Number(a.hostname?a.port:r.location.port)||("http"==a.protocol?80:"https"==a.protocol?443:"")):"host"===b&&(a.hostname=(a.hostname||r.location.hostname).replace(v,"").toLowerCase());var c=w(a.protocol);b&&(b=String(b).toLowerCase());switch(b){case "url_no_fragment":b="";a&&a.href&&(b=a.href.indexOf("#"),b=0>b?a.href:a.href.substr(0,
b));a=b;break;case "protocol":a=c;break;case "host":a=a.hostname.replace(v,"").toLowerCase();break;case "port":a=String(Number(a.port)||("http"==c?80:"https"==c?443:""));break;case "path":a="/"==a.pathname.substr(0,1)?a.pathname:"/"+a.pathname;a=a.split("/");a:if(b=a[a.length-1],c=[],Array.prototype.indexOf)b=c.indexOf(b),b="number"==typeof b?b:-1;else{for(var d=0;d<c.length;d++)if(c[d]===b){b=d;break a}b=-1}0<=b&&(a[a.length-1]="");a=a.join("/");break;case "query":a=a.search.replace("?","");break;
case "extension":a=a.pathname.split(".");a=1<a.length?a[a.length-1]:"";a=a.split("/")[0];break;case "fragment":a=a.hash.replace("#","");break;default:a=a&&a.href}return a},w=function(a){return a?a.replace(":","").toLowerCase():""},y=function(a){var b=t.createElement("a");a&&(b.href=a);a=b.pathname;"/"!==a[0]&&(a="/"+a);var c=b.hostname.replace(v,"");return{href:b.href,protocol:b.protocol,host:b.host,hostname:c,pathname:a,search:b.search,hash:b.hash,port:b.port}};function z(){for(var a=A,b={},c=0;c<a.length;++c)b[a[c]]=c;return b}function B(){var a="ABCDEFGHIJKLMNOPQRSTUVWXYZ";a+=a.toLowerCase()+"0123456789-_";return a+"."}
var A,C,D=function(a){A=A||B();C=C||z();for(var b=[],c=0;c<a.length;c+=3){var d=c+1<a.length,e=c+2<a.length,g=a.charCodeAt(c),f=d?a.charCodeAt(c+1):0,h=e?a.charCodeAt(c+2):0,p=g>>2;g=(g&3)<<4|f>>4;f=(f&15)<<2|h>>6;h&=63;e||(h=64,d||(f=64));b.push(A[p],A[g],A[f],A[h])}return b.join("")},E=function(a){function b(b){for(;d<a.length;){var c=a.charAt(d++),e=C[c];if(null!=e)return e;if(!/^[\s\xa0]*$/.test(c))throw Error("Unknown base64 encoding at char: "+c);}return b}A=A||B();C=C||z();for(var c="",d=0;;){var e=
b(-1),g=b(0),f=b(64),h=b(64);if(64===h&&-1===e)return c;c+=String.fromCharCode(e<<2|g>>4);64!=f&&(c+=String.fromCharCode(g<<4&240|f>>2),64!=h&&(c+=String.fromCharCode(f<<6&192|h)))}};var F;function G(a,b){if(!a||b===t.location.hostname)return!1;for(var c=0;c<a.length;c++)if(a[c]instanceof RegExp){if(a[c].test(b))return!0}else if(0<=b.indexOf(a[c]))return!0;return!1}var H=function(){var a={};var b=r.google_tag_data;r.google_tag_data=void 0===b?a:b;a=r.google_tag_data;b=a.gl;b&&b.decorators||(b={decorators:[]},a.gl=b);return b};var I=/(.*?)\*(.*?)\*(.*)/,J=/([^?#]+)(\?[^#]*)?(#.*)?/,K=/(.*?)(^|&)_gl=([^&]*)&?(.*)/,M=function(a){var b=[],c;for(c in a)if(a.hasOwnProperty(c)){var d=a[c];void 0!==d&&d===d&&null!==d&&"[object Object]"!==d.toString()&&(b.push(c),b.push(D(String(d))))}a=b.join("*");return["1",L(a),a].join("*")},L=function(a,b){a=[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("*");
if(!(b=F)){b=Array(256);for(var c=0;256>c;c++){for(var d=c,e=0;8>e;e++)d=d&1?d>>>1^3988292384:d>>>1;b[c]=d}}F=b;b=4294967295;for(c=0;c<a.length;c++)b=b>>>8^F[(b^a.charCodeAt(c))&255];return((b^-1)>>>0).toString(36)},P=function(a){return function(b){var c=y(r.location.href),d=c.search.replace("?","");a:{var e=d.split("&");for(var g=0;g<e.length;g++){var f=e[g].split("=");if("_gl"===decodeURIComponent(f[0]).replace(/\+/g," ")){e=f.slice(1).join("=");break a}}e=void 0}b.query=N(e||"")||{};e=x(c,"fragment");
g=e.match(K);b.fragment=N(g&&g[3]||"")||{};a&&O(c,d,e)}};function Q(a){var b=K.exec(a);if(b){var c=b[2],d=b[4];a=b[1];d&&(a=a+c+d)}return a}
var O=function(a,b,c){function d(a,b){a=Q(a);a.length&&(a=b+a);return a}r.history&&r.history.replaceState&&(K.test(b)||K.test(c))&&(a=x(a,"path"),b=d(b,"?"),c=d(c,"#"),r.history.replaceState({},void 0,""+a+b+c))},N=function(a){var b=void 0===b?3:b;try{if(a){a:{for(var c=0;3>c;++c){var d=I.exec(a);if(d){var e=d;break a}a=decodeURIComponent(a)}e=void 0}if(e&&"1"===e[1]){var g=e[2],f=e[3];a:{for(e=0;e<b;++e)if(g===L(f,e)){var h=!0;break a}h=!1}if(h){b={};var p=f?f.split("*"):[];for(f=0;f<p.length;f+=
2)b[p[f]]=E(p[f+1]);return b}}}}catch(X){}};function R(a,b,c){function d(a){a=Q(a);var b=a.charAt(a.length-1);a&&"&"!==b&&(a+="&");return a+f}c=void 0===c?!1:c;var e=J.exec(b);if(!e)return"";b=e[1];var g=e[2]||"";e=e[3]||"";var f="_gl="+a;c?e="#"+d(e.substring(1)):g="?"+d(g.substring(1));return""+b+g+e}
function S(a,b,c){for(var d={},e={},g=H().decorators,f=0;f<g.length;++f){var h=g[f];(!c||h.forms)&&G(h.domains,b)&&(h.fragment?m(e,h.callback()):m(d,h.callback()))}n(d)&&(b=M(d),c?T(b,a):U(b,a,!1));!c&&n(e)&&(c=M(e),U(c,a,!0))}function U(a,b,c){b.href&&(a=R(a,b.href,void 0===c?!1:c),q.test(a)&&(b.href=a))}
function T(a,b){if(b&&b.action){var c=(b.method||"").toLowerCase();if("get"===c){c=b.childNodes||[];for(var d=!1,e=0;e<c.length;e++){var g=c[e];if("_gl"===g.name){g.setAttribute("value",a);d=!0;break}}d||(c=t.createElement("input"),c.setAttribute("type","hidden"),c.setAttribute("name","_gl"),c.setAttribute("value",a),b.appendChild(c))}else"post"===c&&(a=R(a,b.action),q.test(a)&&(b.action=a))}}
var V=function(a){try{a:{var b=a.target||a.srcElement||{};for(a=100;b&&0<a;){if(b.href&&b.nodeName.match(/^a(?:rea)?$/i)){var c=b;break a}b=b.parentNode;a--}c=null}if(c){var d=c.protocol;"http:"!==d&&"https:"!==d||S(c,c.hostname,!1)}}catch(e){}},W=function(a){try{var b=a.target||a.srcElement||{};if(b.action){var c=x(y(b.action),"host");S(b,c,!0)}}catch(d){}};l("google_tag_data.glBridge.auto",function(a,b,c,d){var e=H();e.init||(u("mousedown",V),u("keyup",V),u("submit",W),e.init=!0);a={callback:a,domains:b,fragment:"fragment"===c,forms:!!d};H().decorators.push(a)});l("google_tag_data.glBridge.decorate",function(a,b,c){c=!!c;a=M(a);if(b.tagName){if("a"==b.tagName.toLowerCase())return U(a,b,c);if("form"==b.tagName.toLowerCase())return T(a,b)}if("string"==typeof b)return R(a,b,c)});l("google_tag_data.glBridge.generate",M);
l("google_tag_data.glBridge.get",function(a,b){var c=P(!!b);b=H();b.data||(b.data={query:{},fragment:{}},c(b.data));c={};if(b=b.data)m(c,b.query),a&&m(c,b.fragment);return c});})(window);
(function(){function ic(a){var b=1,c;if(a)for(b=0,c=a.length-1;0<=c;c--){var d=a.charCodeAt(c);b=(b<<6&268435455)+d+(d<<14);d=b&266338304;b=0!=d?b^d>>21:b}return b};var ec=function(a){this.B=a||[]};ec.prototype.set=function(a){this.B[a]=!0};ec.prototype.encode=function(){for(var a=[],b=0;b<this.B.length;b++)this.B[b]&&(a[Math.floor(b/6)]^=1<<b%6);for(b=0;b<a.length;b++)a[b]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_".charAt(a[b]||0);return a.join("")+"~"};var Ne=new ec;function F(a){Ne.set(a)}var cf=function(a){a=$e(a);a=new ec(a);for(var b=Ne.B.slice(),c=0;c<a.B.length;c++)b[c]=b[c]||a.B[c];return(new ec(b)).encode()},$e=function(a){a=a.get(af);sa(a)||(a=[]);return a};var t=function(a){return"function"==typeof a},sa=function(a){return"[object Array]"==Object.prototype.toString.call(Object(a))},G=function(a){return void 0!=a&&-1<(a.constructor+"").indexOf("String")},H=function(a,b){return 0==a.indexOf(b)},xa=function(a){return a?a.replace(/^[\s\xa0]+|[\s\xa0]+$/g,""):""},ia=function(){for(var a=Q.navigator.userAgent+(I.cookie?I.cookie:"")+(I.referrer?I.referrer:""),b=a.length,c=Q.history.length;0<c;)a+=c--^b++;return[ae()^ic(a)&2147483647,Math.round((new Date).getTime()/
1E3)].join(".")},za=function(a){var b=I.createElement("img");b.width=1;b.height=1;b.src=a;return b},Aa=function(){},P=function(a){if(encodeURIComponent instanceof Function)return encodeURIComponent(a);F(28);return a},Ba=function(a){a=a.split("+").join(" ");if(decodeURIComponent instanceof Function)try{return decodeURIComponent(a)}catch(b){F(18)}F(28);return a},Ca=function(a,b,c,d){try{a.addEventListener?a.addEventListener(b,c,!!d):a.attachEvent&&a.attachEvent("on"+b,c)}catch(e){F(27)}},g=/^[\w\-:/.?=&%!\[\]]+$/,
Fb=/^[\w+/_-]+[=]{0,2}$/,Ea=function(a,b,c){if(a){N("Loading script: %s",a);var d=I.querySelector&&I.querySelector("script[nonce]")||null;d=d?d.nonce||d.getAttribute&&d.getAttribute("nonce")||"":"";if(c){var e=c="";b&&(g.test(b)?c=' id="'+b+'"':J("Dropping invalid script ID: %s",b));d&&Fb.test(d)&&(e=' nonce="'+d+'"');g.test(a)?I.write("<script"+c+e+' src="'+a+'">\x3c/script>'):J("URL uses invalid characters. Dropping request for: %s",a)}else c=I.createElement("script"),c.type="text/javascript",c.async=
!0,c.src=a,b&&(c.id=b),d&&c.setAttribute("nonce",d),a=I.getElementsByTagName("script")[0],a.parentNode.insertBefore(c,a)}},ee=function(a,b){return aa(I.location[b?"href":"search"],a)},aa=function(a,b){return(a=a.match("(?:&|#|\\?)"+P(b).replace(/([.*+?^=!:${}()|\[\]\/\\])/g,"\\$1")+"=([^&#]*)"))&&2==a.length?a[1]:""},Wb=function(){var a=""+I.location.hostname;return 0==a.indexOf("www.")?a.substring(4):a},Be=function(a,b){var c=a.indexOf(b);if(5==c||6==c)if(a=a.charAt(c+b.length),"/"==a||"?"==a||""==
a||":"==a)return!0;return!1},Xb=function(a,b){var c=I.referrer;if(/^(https?|android-app):\/\//i.test(c)){if(a)return c;a="//"+I.location.hostname;if(!Be(c,a))return b&&(b=a.replace(/\./g,"-")+".cdn.ampproject.org",Be(c,b))?void 0:c}},Yb=function(a,b){if(1==b.length&&null!=b[0]&&"object"===typeof b[0])return b[0];for(var c={},d=Math.min(a.length+1,b.length),e=0;e<d;e++)if("object"===typeof b[e]){for(var f in b[e])b[e].hasOwnProperty(f)&&(c[f]=b[e][f]);break}else e<a.length?c[a[e]]=b[e]:J("Unrecognized positional argument: "+
b[e]);return c},Zb=function(a,b){for(var c=0;c<a.length;c++)if(b==a[c])return!0;return!1};var ef=function(){this.keys=[];this.values={};this.u={};this.debug=!1};ef.prototype.set=function(a,b,c){this.debug&&L(" "+a+"="+Fa(b)+(c?" (temp)":""));this.keys.push(a);c?this.u[":"+a]=b:this.values[":"+a]=b};ef.prototype.get=function(a){return this.u.hasOwnProperty(":"+a)?this.u[":"+a]:this.values[":"+a]};ef.prototype.map=function(a){for(var b=0;b<this.keys.length;b++){var c=this.keys[b],d=this.get(c);d&&a(c,d)}};var Rd=[{V:"pa",W:"ec:action"},{V:"ti",W:"ec:id"},{V:"ta",W:"ec:affiliation"},{V:"tr",W:"ec:revenue"},{V:"tt",W:"ec:tax"},{V:"ts",W:"ec:shipping"},{V:"tcc",W:"ec:coupon"},{V:"cos",W:"ec:step"},{V:"col",W:"ec:label"},{V:"pal",W:"ec:product action list"},{V:"promoa",W:"ec:promo action"},{V:/^pr(\d+)id$/,W:"ec:product %s id"},{V:/^pr(\d+)nm$/,W:"ec:product %s name"},{V:/^pr(\d+)br$/,W:"ec:product %s brand"},{V:/^pr(\d+)ca$/,W:"ec:product %s category"},{V:/^pr(\d+)va$/,W:"ec:product %s variant"},{V:/^pr(\d+)ps$/,
W:"ec:product %s position"},{V:/^pr(\d+)pr$/,W:"ec:product %s price"},{V:/^pr(\d+)qt$/,W:"ec:product %s quantity"},{V:/^pr(\d+)cc$/,W:"ec:product %s coupon"},{V:/^pr(\d+)cd(\d+)$/,W:"ec:product %s dimension %s"},{V:/^pr(\d+)cm(\d+)$/,W:"ec:product %s metric %s"},{V:/^promo(\d+)id$/,W:"ec:promo %s id"},{V:/^promo(\d+)nm$/,W:"ec:promo %s name"},{V:/^promo(\d+)cr$/,W:"ec:promo %s creative"},{V:/^promo(\d+)ps$/,W:"ec:promo %s position"},{V:/^il(\d+)nm$/,W:"ec:impression list %s name"},{V:/^il(\d+)ls$/,
W:"ec:impression list %s source"},{V:/^il(\d+)pi(\d+)id$/,W:"ec:impression list %s product %s id"},{V:/^il(\d+)pi(\d+)nm$/,W:"ec:impression list %s product %s name"},{V:/^il(\d+)pi(\d+)br$/,W:"ec:impression list %s product %s brand"},{V:/^il(\d+)pi(\d+)ca$/,W:"ec:impression list %s product %s category"},{V:/^il(\d+)pi(\d+)va$/,W:"ec:impression list %s product %s variant"},{V:/^il(\d+)pi(\d+)ps$/,W:"ec:impression list %s product %s position"},{V:/^il(\d+)pi(\d+)pr$/,W:"ec:impression list %s product %s price"},
{V:/^il(\d+)pi(\d+)cd(\d+)$/,W:"ec:impression list %s product %s dimension %s"},{V:/^il(\d+)pi(\d+)cm(\d+)$/,W:"ec:impression list %s product %s metric %s"},{V:"linkid",W:"linkid:linkId"},{V:"ic",W:"ec:item code"},{V:"in",W:"ec:item name"},{V:"iv",W:"ec:item variation"},{V:"ip",W:"ec:item price"},{V:"iq",W:"ec:item quantity"},{V:"cu",W:"ec:item currency"}],Sd=function(a){"&"==a.charAt(0)&&(a=a.substring(1));for(var b=0;b<Rd.length;b++){var c=Rd[b].V,d=Rd[b].W;if(G(c)){if(c==a)return d}else if(c=a.match(c))return c[0]=
d,Ha.apply(void 0,c)}return""};function Ga(a,b){var c=[].slice.call(arguments);c.unshift("log");M.log.apply(M,c)}function N(a,b){var c=[].slice.call(arguments);c.unshift("info");M.log.apply(M,c)}function J(a,b){var c=[].slice.call(arguments);c.unshift("warn");M.log.apply(M,c)}function O(a,b){var c=[].slice.call(arguments);c.unshift("error");M.log.apply(M,c)}function L(a,b){var c=Q.ga_debug;c&&c.trace&&(c=[].slice.call(arguments),c.unshift("log"),M.log.apply(M,c))}
function dd(a,b){var c=[].slice.call(arguments);c.unshift("group");M.log.apply(M,c)}function ge(){M.log.apply(M,["groupEnd"])}var M=new function(){var a=window.console,b=a&&"Firebug Lite"==a.provider;this.log=function(c,d,e){if(a){var f=Ha.apply(window,[].slice.call(arguments,1));if(b){f=f.split("\n");for(var ea=0;ea<f.length;ea++)a[c](f[ea])}else if(a[c])a[c](f);else"group"==c&&a.log(f)}}};
function Ia(a){N("\nSent beacon:\n"+a+"\n\n");var b=[];a=a.split("&");for(var c=0;c<a.length;c++){var d=a[c].split("="),e=d[0];d=d[1];if("_"!=e.charAt(0)){var f=kd(e);f&&0==f.indexOf("&")&&(f=Sd(f)||f);f&&("&"+e==f&&(f="<unknown>"),b.push([f,"(&"+e+")",Ba(d)]))}}b.sort();Xd(b)}
function Xd(a){for(var b=[],c=0;c<a.length;c++)for(var d=0;d<a[c].length-1;d++)a[c][d]&&(b[d]=b[d]||0,b[d]=a[c][d].length>b[d]?a[c][d].length:b[d]);for(c=0;c<a.length;c++){var e=[];for(d=0;d<a[c].length;d++){var f=he(0)+a[c][d];e.push(f+he((b[d]||0)-f.length))}N(e.join(" "))}}function Ja(a){var b=[];Ka.map(function(c,d){var e=a.get(c);void 0!=e&&"_"!=c[0]&&b.push(c+(d.i?" ("+d.i+")":"")+" = "+Fa(e))});for(var c=b.sort(),d=0;d<c.length;d++)N(" "+c[d])}
function Td(a){for(var b in a)a.hasOwnProperty(b)&&(Zb(ac,b)||(yc(b)?J('This field cannot be set in a create method. Please use ga("set", %s, %s);',b,a[b]):J("Create config had an unknown parameter: %s",b)),La(b,a[b]))}
function Fa(a,b){var c=b||0;if(void 0==a)return""+a;if(G(a))return'"'+a+'"';if(t(a))return"[function]";if(sa(a)){if(3<b)return"[...]";b=[];for(var d=0;d<a.length;d++)b.push(Fa(a[d],c+1));return"["+b.join(", ")+"]"}if(a.constructor==Object){if(3<b)return"{...}";b=[];for(d in a)b.push(d+": "+Fa(a[d],c+1));return"{"+b.join(", ")+"}"}return""+a}function Ha(a,b){if(!G(a))return"";for(var c=a.split("%s"),d=1;d<arguments.length;d++)c.splice(2*d-1,0,Fa(arguments[d]));return c.join("")}
function he(a){return 0<a?Array(a+1).join(" "):""}
function La(a,b){if(void 0==b)switch(a){case U:case Ma:case Gc:J("Expected a value for required field: %s",a)}else{switch(a){case Ma:case Na:case Oa:case Pa:case Qa:case Ra:case Sa:case Ta:case Ua:case Va:case Wa:case Xa:case Ya:case Za:case R:case $a:case ab:case bb:case cb:case db:case eb:case fb:case gb:case hb:case ib:case jb:case kb:case lb:case mb:case nb:case pb:case qb:case rb:case sb:case tb:case ub:case S:case vb:case wb:case xb:case Pd:G(b)||J("Expected a string value for field: %s. But found: %s.",
a,typeof b);break;case yb:case zb:case Bb:case Cb:case Db:case Eb:!isNaN(parseFloat(b))&&isFinite(b)||J("Expected a number value for the field: %s. But found: %s.",a,typeof b);break;case Ab:isFinite(b)&&!isNaN(parseInt(b,10))&&-1===String(b).indexOf(".")||J("Expected an integer value for the field: %s. But found: %s.",a,b);break;case Gb:case Ib:case Jb:case "forceSSL":case Kb:case Lb:case Mb:!0!==b&&!1!==b&&1!==b&&0!==b&&J("Expected a boolean value for the field: %s. But found: %s.",a,typeof b);break;
case Nb:case Ob:case Pb:case Qb:case Rb:case Tb:case Ub:case Vb:t(b)||J("Expected a function for the field value: %s. But found: %s.",a,typeof b);break;case T:/^[a-zA-Z0-9_]+$/.test(b)||O("Tracker name should only consist of alphanumeric characters.");break;case U:va.test(b)||J("The tracking Id should only be of the format UA-NNNNNN-N.");break;case Hb:"start"!=b&&"end"!=b&&J('Expected "start" or "end" for the field: %s. But found: %s',a,b)}!/^contentGroup[0-9]+$/.test(a)&&!/^dimension[0-9]+$/.test(a)||
G(b)||J("Expected a string value for field: %s. but found: %s.",a,typeof b);!/^metric[0-9]+$/.test(a)||!isNaN(parseFloat(b))&&isFinite(b)||J("Expected a number value for field: %s. but found: %s.",a,typeof b)}}
function Ec(a){function b(b){G(a.get(b))||O("Missing required field '%s' for hit of type '%s'",b,c)}var c=V(a,Ma);switch(c){case "pageview":b(Pa);break;case "event":b(fb);b(gb);break;case "social":b(ib);b(jb);b(kb);break;case "exception":b(tb);break;case "timing":if(a.get(Ic))break;b(lb);b(mb);break;case "appview":b(pb)}}
function od(a,b){N("\nSent beacon:\n"+b+"\n\n");var c=[];a.map(function(a,b){if("_"!=a.charAt(0)){var d=[],e=kd(a);e&&(d.push(e),d.push("(&"+a+")"),d.push(b),c.push(d))}});Xd(c)}var tc=["__utma","__utmb","__utmz","__utmv"];function Dc(a,b){for(var c="",d=b.split(".")[0],e=fd(),f=0;f<e.length;f++){if(d==ic(e[f])){c=e[f];break}if(d==ic("."+e[f])){c=e[f];break}}return[a,c,"/",b]};var Q=window,I=document,ta=function(a,b){return setTimeout(a,b)};var E=window,wa=document,K=function(a){var b=E._gaUserPrefs;if(b&&b.ioo&&b.ioo()||a&&!0===E["ga-disable-"+a])return!0;try{var c=E.external;if(c&&c._gaUserPrefs&&"oo"==c._gaUserPrefs)return!0}catch(f){}a=[];b=String(wa.cookie||document.cookie).split(";");for(c=0;c<b.length;c++){var d=b[c].split("="),e=d[0].replace(/^\s*|\s*$/g,"");e&&"AMP_TOKEN"==e&&((d=d.slice(1).join("=").replace(/^\s*|\s*$/g,""))&&(d=decodeURIComponent(d)),a.push(d))}for(b=0;b<a.length;b++)if("$OPT_OUT"==a[b])return!0;return!1};var Md=function(a){var b=[],c=I.cookie.split(";");a=new RegExp("^\\s*"+a+"=\\s*(.*?)\\s*$");for(var d=0;d<c.length;d++){var e=c[d].match(a);e&&b.push(e[1])}return b},pe=function(a,b,c,d,e,f){K(e)?("function"==typeof N&&N("Aborting cookie write: User has opted out of tracking."),e=!1):Wd.test(I.location.hostname)||"/"==c&&fe.test(d)?("function"==typeof N&&N("Aborting cookie write: Prohibited domain."),e=!1):e=!0;if(!e)return!1;b&&1200<b.length&&(b=b.substring(0,1200));c=a+"="+b+"; path="+c+"; ";f&&
(c+="expires="+(new Date((new Date).getTime()+f)).toGMTString()+"; ");d&&"none"!==d&&(c+="domain="+d+";");d=I.cookie;I.cookie=c;if(!(d=d!=I.cookie))a:{a=Md(a);for(d=0;d<a.length;d++)if(b==a[d]){d=!0;break a}d=!1}return d},Ae=function(a){return encodeURIComponent?encodeURIComponent(a).replace(/\(/g,"%28").replace(/\)/g,"%29"):a},fe=/^(www\.)?google(\.com?)?(\.[a-z]{2})?$/,Wd=/(^|\.)doubleclick\.net$/i;var hd,Ee=/^.*Version\/?(\d+)[^\d].*$/i,ff=function(){if(void 0!==Q.__ga4__)return Q.__ga4__;if(void 0===hd){var a=Q.navigator.userAgent;if(a){var b=a;try{b=decodeURIComponent(a)}catch(c){}if(a=!(0<=b.indexOf("Chrome"))&&!(0<=b.indexOf("CriOS"))&&(0<=b.indexOf("Safari/")||0<=b.indexOf("Safari,")))b=Ee.exec(b),a=11<=(b?Number(b[1]):-1);hd=a}else hd=!1}return hd};var Da,Sb,cc,dc,ma=/^https?:\/\/[^/]*cdn\.ampproject\.org\//,Nf=/^(?:www\.|m\.|amp\.)+/,sc=[],fa=function(a){a:{if(ma.test(I.referrer)){var b=I.location.hostname.replace(Nf,"");b:{var c=I.referrer;c=c.replace(/^https?:\/\//,"");var d=c.replace(/^[^/]+/,"").split("/"),e=d[2];d=(d="s"==e?d[3]:e)?decodeURIComponent(d):d;if(!d){if(0==c.indexOf("xn--")){J("IDN are not fully supported for AMP integration.");c="";break b}(c=c.match(/(.*)\.cdn\.ampproject\.org\/?$/))&&2==c.length&&(d=c[1].replace(/-/g,".").replace(/\.\./g,
"-"))}c=d?d.replace(Nf,""):""}if(b==c){b=!0;break a}else F(78)}b=!1}if(b&&!1!==a[ce]&&(void 0===dc&&(b=(b=wf.get())&&b._ga||void 0)&&(dc=b,F(81)),void 0!==dc))return a[R]?J("Using client id from config instead of AMP."):(N("Using client id Provided by AMP."),a[R]=dc),!1;if(a[ce]){F(67);if(a[xb]&&"cookie"!=a[xb])return J("Can't use AMP client id when storage is not 'cookie'."),!1;if(void 0!==dc)a[R]?J("Using client id from config instead of AMP."):a[R]=dc;else{a:if(b=String(a[S]||Wb()),c=String(a[vb]||
"/"),d=Md(String(a[ub]||"_ga")),b=pa(d,b,c),!b||Bd.test(b))b=!0;else if(b=Md("AMP_TOKEN"),0==b.length)b=!0;else{if(1==b.length&&(b=decodeURIComponent(b[0]),"$RETRIEVING"==b||"$OPT_OUT"==b||"$ERROR"==b||"$NOT_FOUND"==b)){b=!0;break a}b=!1}if(b){if($c(Uc,String(a[U])))return N("Requesting client id from AMP."),!0;J("Could not request client id from AMP.")}}}return!1},Uc=function(){jf.H([Aa])},$c=function(a,b){var c=Md("AMP_TOKEN");if(1<c.length)return F(55),!1;c=decodeURIComponent(c[0]||"");if("$OPT_OUT"==
c||"$ERROR"==c||K(b))return F(62),!1;if(!ma.test(I.referrer)&&"$NOT_FOUND"==c)return F(68),!1;if(void 0!==dc)return F(56),ta(function(){a(dc)},0),!0;if(Da)return sc.push(a),!0;if("$RETRIEVING"==c)return F(57),ta(function(){$c(a,b)},1E4),!0;Da=!0;c&&"$"!=c[0]||(ed("$RETRIEVING",3E4),setTimeout(jd,3E4),c="");return ld(c,b)?(sc.push(a),!0):!1},ld=function(a,b,c){if(!window.JSON)return F(58),!1;var d=Q.XMLHttpRequest;if(!d)return F(59),!1;var e=new d;if(!("withCredentials"in e))return F(60),!1;e.open("POST",
(c||"https://ampcid.google.com/v1/publisher:getClientId")+"?key=AIzaSyA65lEHUEizIsNtlbNo-l2K18dT680nsaM",!0);e.withCredentials=!0;e.setRequestHeader("Content-Type","text/plain");e.onload=function(){Da=!1;if(4==e.readyState){try{200!=e.status&&(J("Could not get client id from AMP."),F(61),yd("","$ERROR",3E4));var d=JSON.parse(e.responseText);d.optOut?(J("Could not get client id from AMP. User has opeted out."),F(63),yd("","$OPT_OUT",31536E6)):d.clientId?(N("Got client id from AMP."),yd(d.clientId,
d.securityToken,31536E6)):!c&&d.alternateUrl?(N("Got an alternate URL to get client id."),Sb&&clearTimeout(Sb),Da=!0,ld(a,b,d.alternateUrl)):(J("Could not get client id from AMP."),F(64),yd("","$NOT_FOUND",36E5))}catch(ea){J("Could not get client id from AMP."),F(65),yd("","$ERROR",3E4)}e=null}};d={originScope:"AMP_ECID_GOOGLE"};a&&(d.securityToken=a);e.send(JSON.stringify(d));Sb=ta(function(){F(66);yd("","$ERROR",3E4)},1E4);return!0},jd=function(){Da=!1},ed=function(a,b){if(void 0===cc){cc="";for(var c=
fd(),d=0;d<c.length;d++){var e=c[d];if(pe("AMP_TOKEN",encodeURIComponent(a),"/",e,"",b)){cc=e;return}}}pe("AMP_TOKEN",encodeURIComponent(a),"/",cc,"",b)},yd=function(a,b,c){Sb&&clearTimeout(Sb);b&&ed(b,c);dc=a;b=sc;sc=[];for(c=0;c<b.length;c++)b[c](a)};var gf=function(){return($b||"https:"==I.location.protocol?"https:":"http:")+"//www.google-analytics.com"},bc=function(a){this.name="len";this.message=a+"-8192"},da=function(a,b,c){c=c||Aa;if(2036>=b.length)id(a,b,c),Ia(b);else if(8192>=b.length)u(a,b,c)||te(a,b,c)||id(a,b,c),Ia(b);else throw O("Payload size is too large (%s). Max allowed is %s.",b.length,8192),fc("len",b.length),new bc(b.length);},hf=function(a,b,c,d){d=d||Aa;te(a+"?"+b,"",d,c)&&Ia(b)},id=function(a,b,c){var d=za(a+"?"+b);d.onload=
d.onerror=function(){d.onload=null;d.onerror=null;c()}},te=function(a,b,c,d){var e=Q.XMLHttpRequest;if(!e)return!1;var f=new e;if(!("withCredentials"in f))return!1;a=a.replace(/^http:/,"https:");f.open("POST",a,!0);f.withCredentials=!0;f.setRequestHeader("Content-Type","text/plain");f.onreadystatechange=function(){if(4==f.readyState){if(d)try{var a=f.responseText;if(1>a.length)fc("xhr","ver","0"),c();else if("1"!=a.charAt(0))fc("xhr","ver",String(a.length)),c();else if(3<d.count++)fc("xhr","tmr",
""+d.count),c();else if(1==a.length)c();else{var b=a.charAt(1);if("d"==b)hf("https://stats.g.doubleclick.net/j/collect",d.Y,d,c);else if("g"==b){var e="https://www.google.%/ads/ga-audiences".replace("%","com");id(e,d.google,c);var v=a.substring(2);if(v)if(/^[a-z.]{1,6}$/.test(v)){var ka="https://www.google.%/ads/ga-audiences".replace("%",v);id(ka,d.google,Aa)}else fc("tld","bcc",v)}else fc("xhr","brc",b),c()}}catch(of){fc("xhr","rsp"),c()}else c();f=null}};f.send(b);return!0},u=function(a,b,c){return Q.navigator.sendBeacon?
Q.navigator.sendBeacon(a,b)?(c(),!0):!1:!1},fc=function(a,b,c){O("Error: type=%s method=%s message=%s account=%s",arguments);if(!(1<=100*Math.random()||K("?"))){var d=["t=error","_e="+a,"_v=j73d","sr=1"];b&&d.push("_f="+b);c&&d.push("_m="+P(c.substring(0,100)));d.push("aip=1");d.push("z="+ae());id("https://www.google-analytics.com/u/d",d.join("&"),Aa)}};var h=function(a){var b=Q.gaData=Q.gaData||{};return b[a]=b[a]||{}};var gc=function(){this.m=[]};gc.prototype.add=function(a){this.m.push(a)};gc.prototype.H=function(a){L("\nExecuting "+this.m.length+" filters:");try{for(var b=0;b<this.m.length;b++){L(" filter["+b+"]: "+this.m[b]);var c=a.get(this.m[b]);c&&t(c)?c.call(Q,a):L(" Skipping (no function found.)")}}catch(d){L("Aborted execution due to exception: "+d)}b=a.get(Nb);b!=Aa&&t(b)&&(L("Manually firing callback"),a.set(Nb,Aa,!0),setTimeout(b,10))};
function hc(a){if(100!=a.get(Db)&&ic(V(a,R))%1E4>=100*jc(a,Db))throw N("User has been sampled out. Aborting hit."),"abort";}function kc(a){if(K(V(a,U)))throw N("User has opted out of tracking. Aborting hit."),"abort";}function lc(){var a=I.location.protocol;if("http:"!=a&&"https:"!=a)throw N("Unallowed document protocol. Aborting hit."),"abort";}
function mc(a){try{Q.navigator.sendBeacon?F(42):Q.XMLHttpRequest&&"withCredentials"in new Q.XMLHttpRequest&&F(40)}catch(c){}a.set(oc,cf(a),!0);a.set(md,jc(a,md)+1);var b=[];Ka.map(function(c,d){d.i&&(c=a.get(c),void 0!=c&&c!=d.defaultValue&&("boolean"==typeof c&&(c*=1),b.push(d.i+"="+P(""+c))))});b.push("z="+be());a.set(Na,b.join("&"),!0)}
function pc(a){var b=V(a,ob)||gf()+"/collect",c=a.get(kf),d=V(a,ha);!d&&a.get(Oe)&&(d="beacon");if(c)hf(b,V(a,Na),c,a.get(Nb));else if(d){c=d;d=V(a,Na);var e=a.get(Nb);8192<d.length&&O("Payload size is too large (%s). Max allowed is %s.",d.length,8192);e=e||Aa;N("Sending hit with transport method %s",c);"image"==c?(id(b,d,e),Ia(d)):"xhr"==c&&te(b,d,e)?Ia(d):"beacon"==c&&u(b,d,e)?Ia(d):(N("Transport Method, %s, is not supported, falling back to default method.",c),da(b,d,e))}else da(b,V(a,Na),a.get(Nb));
b=a.get(U);b=h(b);c=b.hitcount;b.hitcount=c?c+1:1;b=a.get(U);delete h(b).pending_experiments;a.set(Nb,Aa,!0)}function td(a){(Q.gaData=Q.gaData||{}).expId&&a.set(zd,(Q.gaData=Q.gaData||{}).expId);(Q.gaData=Q.gaData||{}).expVar&&a.set(Ad,(Q.gaData=Q.gaData||{}).expVar);var b=a.get(U);if(b=h(b).pending_experiments){var c=[];for(d in b)b.hasOwnProperty(d)&&b[d]&&c.push(encodeURIComponent(d)+"."+encodeURIComponent(b[d]));var d=c.join("!")}else d=void 0;d&&a.set(m,d,!0)}function nc(a){Ec(a)}
function Ud(){if(Q.navigator&&"preview"==Q.navigator.loadPurpose)throw N("Navigator in preview mode. Aborting hit."),"abort";}function ve(a){var b=Q.gaDevIds;sa(b)&&0!=b.length&&a.set("&did",b.join(","),!0)}function ya(a){if(!a.get(U))throw O("Tracking ID not set. Aborting hit."),"abort";};var ae=function(){return Math.round(2147483647*Math.random())},be=function(){try{var a=new Uint32Array(1);Q.crypto.getRandomValues(a);return a[0]&2147483647}catch(b){return ae()}};function qc(a){var b=jc(a,rc);500<=b&&(F(15),N("Exceeded maximum number of hits for this page. Try reducing the number of hits being sent."));var c=V(a,Ma);if("transaction"!=c&&"item"!=c){c=jc(a,uc);var d=(new Date).getTime(),e=jc(a,vc);0==e&&a.set(vc,d);e=Math.round(2*(d-e)/1E3);0<e&&(c=Math.min(c+e,20),a.set(vc,d));if(0>=c)throw N("Exceeded rate limit for sending hits. Aborting hit."),"abort";a.set(uc,--c)}a.set(rc,++b)};var wc=function(){this.data=new ef;this.data.debug=!0},Ka=new ef,xc=[];wc.prototype.get=function(a){var b=yc(a),c=this.data.get(a);b&&void 0==c&&(c=t(b.defaultValue)?b.defaultValue():b.defaultValue);return b&&b.v?b.v(this,a,c):c};var V=function(a,b){a=a.get(b);return void 0==a?"":""+a},jc=function(a,b){a=a.get(b);return void 0==a||""===a?0:1*a};wc.prototype.set=function(a,b,c){if(a)if("object"==typeof a)for(var d in a)a.hasOwnProperty(d)&&zc(this,d,a[d],c);else zc(this,a,b,c)};
var zc=function(a,b,c,d){La(b,c);var e=yc(b);e&&e.w?e.w(a,b,c,d):a.data.set(b,c,d);e||N("Set called on unknown field: %s.",b)},Ac=function(a,b,c,d,e){this.name=a;this.i=b;this.v=d;this.w=e;this.defaultValue=c},yc=function(a){var b=Ka.get(a);if(!b)for(var c=0;c<xc.length;c++){var d=xc[c],e=d[0].exec(a);if(e){L("Generating new model field for name: "+a);b=d[1](e);Ka.set(b.name,b);break}}return b},kd=function(a){var b;Ka.map(function(c,d){d.i==a&&(b=d)});return b&&b.name},W=function(a,b,c,d,e){a=new Ac(a,
b,c,d,e);Ka.set(a.name,a);return a.name},Bc=function(a,b){xc.push([new RegExp("^"+a+"$"),b])},X=function(a,b,c){return W(a,b,c,void 0,Cc)},Cc=function(a,b){O("Ignored attempt to update read-only property: "+b)};var Fc=G(window.GoogleAnalyticsObject)&&xa(window.GoogleAnalyticsObject)||"ga",Bd=/^(?:utma\.)?\d+\.\d+$/,Cd=/^amp-[\w.-]{22,64}$/,$b=!1,Gc=X("apiVersion","v"),Hc=X("clientVersion","_v");W("anonymizeIp","aip");var yb=W("adSenseId","a"),Ma=W("hitType","t"),Nb=W("hitCallback"),Na=W("hitPayload"),Gb=W("nonInteraction","ni"),Pd=W("currencyCode","cu");W("dataSource","ds");var Oe=W("useBeacon",void 0,!1),ha=W("transport"),Hb=W("sessionControl","sc","");W("sessionGroup","sg");
var zb=W("queueTime","qt"),md=W("_s","_s"),Oa=W("screenName","cd"),Pa=W("location","dl",""),Qa=W("referrer","dr"),Ra=W("page","dp",""),Sa=W("hostname","dh"),Ta=W("language","ul"),Ua=W("encoding","de"),Va=W("title","dt",function(){return I.title||void 0});Bc("contentGroup([0-9]+)",function(a){return new Ac(a[0],"cg"+a[1])});
var Wa=W("screenColors","sd"),Xa=W("screenResolution","sr"),Ya=W("viewportSize","vp"),Ib=W("javaEnabled","je"),Za=W("flashVersion","fl"),$a=W("campaignId","ci"),ab=W("campaignName","cn"),bb=W("campaignSource","cs"),cb=W("campaignMedium","cm"),db=W("campaignKeyword","ck"),eb=W("campaignContent","cc"),fb=W("eventCategory","ec"),gb=W("eventAction","ea"),hb=W("eventLabel","el"),Ab=W("eventValue","ev"),ib=W("socialNetwork","sn"),jb=W("socialAction","sa"),kb=W("socialTarget","st"),Ic=W("l1","plt"),Jc=W("l2",
"pdt"),Kc=W("l3","dns"),Lc=W("l4","rrt"),Mc=W("l5","srt"),Nc=W("l6","tcp"),Oc=W("l7","dit"),Pc=W("l8","clt"),Of=W("l9","_gst"),Pf=W("l10","_gbt"),Qf=W("l11","_cst"),Rf=W("l12","_cbt"),lb=W("timingCategory","utc"),mb=W("timingVar","utv"),nb=W("timingLabel","utl"),Bb=W("timingValue","utt"),pb=W("appName","an"),qb=W("appVersion","av",""),rb=W("appId","aid",""),sb=W("appInstallerId","aiid",""),tb=W("exDescription","exd"),Jb=W("exFatal","exf"),zd=W("expId","xid"),Ad=W("expVar","xvar"),m=W("exp","exp"),
Dd=W("_utma","_utma"),Ed=W("_utmz","_utmz"),Fd=W("_utmht","_utmht"),rc=W("_hc",void 0,0),vc=W("_ti",void 0,0),uc=W("_to",void 0,20);Bc("dimension([0-9]+)",function(a){return new Ac(a[0],"cd"+a[1])});Bc("metric([0-9]+)",function(a){return new Ac(a[0],"cm"+a[1])});W("linkerParam",void 0,void 0,nd,Cc);var Sf=X("_cd2l",void 0,!1),oc=W("usage","_u"),af=W("_um");W("forceSSL",void 0,void 0,function(){return $b},function(a,b,c){F(34);$b=!!c});var Zd=W("_j1","jid"),ja=W("_j2","gjid");
Bc("\\&(.*)",function(a){var b=new Ac(a[0],a[1]),c=kd(a[0].substring(1));c&&(L("Alias created: "+a[0]+" -> "+c),b.v=function(a){return a.get(c)},b.w=function(a,b,f,ea){a.set(c,f,ea)},b.i=void 0);return b});
var Ob=X("_oot"),Vd=W("previewTask"),Pb=W("checkProtocolTask"),xd=W("validationTask"),Qb=W("checkStorageTask"),Gd=W("historyImportTask"),Rb=W("samplerTask"),Tb=W("_rlt"),Ub=W("buildHitTask"),Vb=W("sendHitTask"),Hd=W("ceTask"),we=W("devIdTask"),oe=W("timingTask"),Ce=W("displayFeaturesTask"),qa=W("customTask"),T=X("name"),R=X("clientId","cid"),n=X("clientIdTime"),Qd=X("storedClientId"),xe=W("userId","uid"),U=X("trackingId","tid"),ub=X("cookieName",void 0,"_ga"),S=X("cookieDomain"),vb=X("cookiePath",
void 0,"/"),Cb=X("cookieExpires",void 0,63072E3),Yd=X("cookieUpdate",void 0,!0),wb=X("legacyCookieDomain"),Id=X("legacyHistoryImport",void 0,!0),xb=X("storage",void 0,"cookie"),Kb=X("allowLinker",void 0,!1),Lb=X("allowAnchor",void 0,!0),Db=X("sampleRate","sf",100),Eb=X("siteSpeedSampleRate",void 0,1),Mb=X("alwaysSendReferrer",void 0,!1),la=X("_gid","_gid"),na=X("_gcn"),ce=X("useAmpClientId"),ue=X("_gclid"),Ge=X("_gt"),Qe=X("_ge",void 0,7776E6),Ve=X("_gclsrc"),We=X("storeGac",void 0,!0),ac=[T,U,R,
n,xe,ub,S,vb,Cb,Yd,wb,Id,Kb,Lb,Db,Eb,Mb,xb,ce,We],ob=W("transportUrl"),De=W("_r","_r"),kf=W("_dp"),df=W("allowAdFeatures",void 0,!0);function Y(a,b,c,d){b[a]=function(){try{return d&&F(d),c.apply(this,arguments)}catch(e){throw fc("exc",a,e&&e.name),e;}}};var Ie=function(){this.Z=100;this.fa=this.ja=!1;this.ra="detourexp";this.groups=1},ye=function(a){var b=new Ie,c;if(b.ja&&b.fa)return 0;b.fa=!0;if(a){if(b.ra&&void 0!==a.get(b.ra))return jc(a,b.ra);if(0==a.get(Eb))return 0}if(0==b.Z)return 0;void 0===c&&(c=be());return 0==c%b.Z?Math.floor(c/b.Z)%b.groups+1:0};function Qc(){var a,b;if((b=(b=Q.navigator)?b.plugins:null)&&b.length)for(var c=0;c<b.length&&!a;c++){var d=b[c];-1<d.name.indexOf("Shockwave Flash")&&(a=d.description)}if(!a)try{var e=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");a=e.GetVariable("$version")}catch(f){}if(!a)try{e=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6"),a="WIN 6,0,21,0",e.AllowScriptAccess="always",a=e.GetVariable("$version")}catch(f){}if(!a)try{e=new ActiveXObject("ShockwaveFlash.ShockwaveFlash"),a=e.GetVariable("$version")}catch(f){}a&&
(e=a.match(/[\d]+/g))&&3<=e.length&&(a=e[0]+"."+e[1]+" r"+e[2]);return a||void 0};var ba=function(a){var b=Math.min(jc(a,Eb),100);return ic(V(a,R))%100>=b?(L("Site speed data not sent - visitor sampled out"),!1):!0},Sc=function(a){var b={};if(qd(b)||rd(b)){var c=b[Ic];void 0==c||Infinity==c||isNaN(c)?L("Site speed data not sent - unsupported browser"):0<c?(Rc(b,Kc),Rc(b,Nc),Rc(b,Mc),Rc(b,Jc),Rc(b,Lc),Rc(b,Oc),Rc(b,Pc),Rc(b,Of),Rc(b,Pf),Rc(b,Qf),Rc(b,Rf),ta(function(){a(b)},10)):(L("Site speed data not available - waiting for onload"),Ca(Q,"load",function(){Sc(a)},!1))}else L("Site speed data not sent - unsupported browser")},
qd=function(a){var b=Q.performance||Q.webkitPerformance;b=b&&b.timing;if(!b)return!1;var c=b.navigationStart;if(0==c)return!1;a[Ic]=b.loadEventStart-c;a[Kc]=b.domainLookupEnd-b.domainLookupStart;a[Nc]=b.connectEnd-b.connectStart;a[Mc]=b.responseStart-b.requestStart;a[Jc]=b.responseEnd-b.responseStart;a[Lc]=b.fetchStart-c;a[Oc]=b.domInteractive-c;a[Pc]=b.domContentLoadedEventStart-c;a[Of]=Z.h-c;a[Pf]=Z.Ba-c;Q.google_tag_manager&&Q.google_tag_manager._li&&(b=Q.google_tag_manager._li,a[Qf]=b.cst,a[Rf]=
b.cbt);return!0},rd=function(a){if(Q.top!=Q)return!1;var b=Q.external,c=b&&b.onloadT;b&&!b.isValidLoadTime&&(c=void 0);2147483648<c&&(c=void 0);0<c&&b.setPageReadyTime();if(void 0==c)return!1;a[Ic]=c;return!0},Rc=function(a,b){var c=a[b];if(isNaN(c)||Infinity==c||0>c)a[b]=void 0},ze=function(a){return function(b){if("pageview"==b.get(Ma)&&!a.L){a.L=!0;var c=ba(b),d=0<aa(b.get(Pa),"gclid").length;(c||d)&&Sc(function(b){c&&a.send("timing",b);d&&a.send("adtiming",b)})}}};var Tc=!1,Yc=function(a){if("cookie"==V(a,xb)){if(a.get(Yd)||V(a,Qd)!=V(a,R)){var b=1E3*jc(a,Cb);oa(a,R,ub,b)}oa(a,la,na,864E5);if(a.get(We)){var c=a.get(ue);if(c){var d=Math.min(jc(a,Qe),1E3*jc(a,Cb));d=Math.min(d,1E3*jc(a,Ge)+d-(new Date).getTime());a.data.set(Qe,d);b={};var e=a.get(Ge),f=a.get(Ve),ea=Wc(V(a,vb)),l=Xc(V(a,S));a=V(a,U);f&&"aw.ds"!=f?b&&(b.xa=!0):(c=["1",e,Ae(c)].join("."),0<d&&(b&&(b.wa=!0),pe("_gac_"+Ae(a),c,ea,l,a,d)));Ye(b)}}else F(75)}},oa=function(a,b,c,d){var e=ie(a,b);if(e){c=
V(a,c);var f=Wc(V(a,vb)),ea=Xc(V(a,S)),l=V(a,U);if("auto"!=ea)pe(c,e,f,ea,l,d)&&(Tc=!0);else{F(32);for(var k=fd(),v=0;v<k.length;v++)if(ea=k[v],a.data.set(S,ea),e=ie(a,b),pe(c,e,f,ea,l,d)){N("Auto cookieDomain found: %s",ea);Tc=!0;return}O("Cookie write failed.");a.data.set(S,"auto")}}},Zc=function(a){if("cookie"==V(a,xb)&&!Tc&&(Yc(a),!Tc))throw N("Storage not available. Aborting hit."),"abort";},Kd=function(a){if(a.get(Id)){var b=V(a,S),c=V(a,wb)||Wb(),d=Jd("__utma",c,b);d&&(F(19),a.set(Fd,(new Date).getTime(),
!0),a.set(Dd,d.T),(b=Jd("__utmz",c,b))&&d.hash==b.hash&&a.set(Ed,b.T))}},ie=function(a,b){b=Ae(V(a,b));var c=Xc(V(a,S)).split(".").length;a=Vc(V(a,vb));1<a&&(c+="-"+a);return b?["GA1",c,b].join("."):""},de=function(a,b){return pa(b,V(a,S),V(a,vb))},pa=function(a,b,c){if(!a||1>a.length)F(12);else{for(var d=[],e=0;e<a.length;e++){var f=a[e];var ea=f.split(".");var l=ea.shift();("GA1"==l||"1"==l)&&1<ea.length?(f=ea.shift().split("-"),1==f.length&&(f[1]="1"),f[0]*=1,f[1]*=1,ea={K:f,M:ea.join(".")}):Cd.test(f)?
ea={K:[0,0],M:f}:(J("Unknown cookie version: "+l),ea=void 0);ea&&d.push(ea)}if(1==d.length)return F(13),d[0].M;if(0==d.length)F(12);else{F(14);d=sd(d,Xc(b).split(".").length,0);if(1==d.length)return d[0].M;d=sd(d,Vc(c),1);1<d.length&&F(41);return d[0]&&d[0].M}}},sd=function(a,b,c){for(var d=[],e=[],f,ea=0;ea<a.length;ea++){var l=a[ea];l.K[c]==b?d.push(l):void 0==f||l.K[c]<f?(e=[l],f=l.K[c]):l.K[c]==f&&e.push(l)}return 0<d.length?d:e},Xc=function(a){return 0==a.indexOf(".")?a.substr(1):a},fd=function(){var a=
[],b=Wb().split(".");if(4==b.length){var c=b[b.length-1];if(parseInt(c,10)==c)return["none"]}for(c=b.length-2;0<=c;c--)a.push(b.slice(c).join("."));b=I.location.hostname;Wd.test(b)||fe.test(b)||a.push("none");return a},Wc=function(a){if(!a)return"/";1<a.length&&a.lastIndexOf("/")==a.length-1&&(a=a.substr(0,a.length-1));0!=a.indexOf("/")&&(a="/"+a);return a},Vc=function(a){a=Wc(a);return"/"==a?1:a.split("/").length},Ye=function(a){a.wa&&F(77);a.qa&&F(74);a.sa&&F(73);a.xa&&F(69)};function Jd(a,b,c){"none"==b&&(b="");var d=[],e=Md(a);a="__utma"==a?6:2;for(var f=0;f<e.length;f++){var ea=(""+e[f]).split(".");ea.length>=a&&d.push({hash:ea[0],T:e[f],ea:ea})}if(0!=d.length)return 1==d.length?d[0]:Ld(b,d)||Ld(c,d)||Ld(null,d)||d[0]}function Ld(a,b){if(null==a)var c=a=1;else c=ic(a),a=ic(H(a,".")?a.substring(1):"."+a);for(var d=0;d<b.length;d++)if(b[d].hash==c||b[d].hash==a)return b[d]};var je=new RegExp(/^https?:\/\/([^\/:]+)/),wf=Q.google_tag_data.glBridge,ke=/(.*)([?&#])(?:_ga=[^&#]*)(?:&?)(.*)/,Ze=/(.*)([?&#])(?:_gac=[^&#]*)(?:&?)(.*)/;function nd(a){if(a.get(Sf))return F(35),wf.generate(Tf(a));var b=a.get(R),c=a.get(la)||"";b="_ga=2."+P(ra(c+b,0)+"."+c+"-"+b);(a=Uf(a))?(F(44),a="&_gac=1."+P([ra(a.ta,0),a.timestamp,a.ta].join("."))):a="";return b+a}
function ud(a,b){var c=new Date,d=Q.navigator,e=d.plugins||[];a=[a,d.userAgent,c.getTimezoneOffset(),c.getYear(),c.getDate(),c.getHours(),c.getMinutes()+b];for(b=0;b<e.length;++b)a.push(e[b].description);return ic(a.join("."))}function ra(a,b){var c=new Date,d=Q.navigator,e=c.getHours()+Math.floor((c.getMinutes()+b)/60);return ic([a,d.userAgent,d.language||"",c.getTimezoneOffset(),c.getYear(),c.getDate()+Math.floor(e/24),(24+e)%24,(60+c.getMinutes()+b)%60].join("."))}
var pd=function(a){F(48);this.target=a;this.X=!1};pd.prototype.S=function(a,b){if(a){if(this.target.get(Sf))return wf.decorate(Tf(this.target),a,b);if(a.tagName){if("a"==a.tagName.toLowerCase()){a.href&&(a.href=le(this,a.href,b));return}if("form"==a.tagName.toLowerCase())return me(this,a)}if("string"==typeof a)return le(this,a,b);O("Unknown Object passed to linker:decorate %s",a)}};
var le=function(a,b,c){var d=ke.exec(b);d&&3<=d.length&&(b=d[1]+(d[3]?d[2]+d[3]:""));(d=Ze.exec(b))&&3<=d.length&&(b=d[1]+(d[3]?d[2]+d[3]:""));a=a.target.get("linkerParam");var e=b.indexOf("?");d=b.indexOf("#");c?b+=(-1==d?"#":"&")+a:(c=-1==e?"?":"&",b=-1==d?b+(c+a):b.substring(0,d)+c+a+b.substring(d));b=b.replace(/&+_ga=/,"&_ga=");return b=b.replace(/&+_gac=/,"&_gac=")},me=function(a,b){if(b)if(b.action)if(N("Linker decorating form: %s",b),"get"==b.method.toLowerCase()){a=a.target.get("linkerParam").split("&");
for(var c=0;c<a.length;c++){var d=a[c].split("="),e=d[1];d=d[0];for(var f=b.childNodes||[],ea=!1,l=0;l<f.length;l++)if(f[l].name==d){f[l].setAttribute("value",e);ea=!0;break}ea||(f=I.createElement("input"),f.setAttribute("type","hidden"),f.setAttribute("name",d),f.setAttribute("value",e),b.appendChild(f))}}else"post"==b.method.toLowerCase()?b.action=le(a,b.action):O("Unknown form method %s on %s",b.method,b);else O("An action is required for the linker to work.")};
pd.prototype.U=function(a,b,c){function d(c){try{c=c||Q.event;a:{var d=c.target||c.srcElement;for(c=100;d&&0<c;){if(d.href&&d.nodeName.match(/^a(?:rea)?$/i)){var f=d;break a}d=d.parentNode;c--}f={}}"http:"!=f.protocol&&"https:"!=f.protocol||!ne(a,f.hostname||"")||(f.href&&(f.href=le(e,f.href,b)),N("Link decorated: "+f.href))}catch(k){F(26)}}var e=this;this.target.get(Sf)?wf.auto(function(){return Tf(e.target)},a,b?"fragment":"",c):(this.X||(this.X=!0,Ca(I,"mousedown",d,!1),Ca(I,"keyup",d,!1)),c&&
Ca(I,"submit",function(b){b=b||Q.event;if((b=b.target||b.srcElement)&&b.action){var c=b.action.match(je);c&&ne(a,c[1])&&me(e,b)}}))};function ne(a,b){if(b==I.location.hostname)return!1;for(var c=0;c<a.length;c++)if(a[c]instanceof RegExp){if(a[c].test(b))return!0}else if(0<=b.indexOf(a[c]))return!0;return!1}function Xe(a,b){return b!=ud(a,0)&&b!=ud(a,-1)&&b!=ud(a,-2)&&b!=ra(a,0)&&b!=ra(a,-1)&&b!=ra(a,-2)}
function Tf(a){var b=Uf(a);return{_ga:a.get(R),_gid:a.get(la)||void 0,_gac:b?[b.ta,b.timestamp].join("."):void 0}}function Uf(a){function b(a){return void 0==a||""===a?0:Number(a)}var c=a.get(ue);if(c&&a.get(We)){var d=b(a.get(Ge));if(1E3*d+b(a.get(Qe))<=(new Date).getTime())F(76);else return{timestamp:d,ta:c}}};var p=/^(GTM|OPT)-[A-Z0-9]+$/,q=/;_gaexp=[^;]*/g,r=/;((__utma=)|([^;=]+=GAX?\d+\.))[^;]*/g,ua=/^https?:\/\/[\w\-.]+\.google.com(:\d+)?\/optimize\/opt-launch\.html\?.*$/,w=function(a){function b(a,b){b&&(c+="&"+a+"="+P(b))}var c="https://www.google-analytics.com/gtm/js?id="+P(a.id);"dataLayer"!=a.F&&b("l",a.F);b("t",a.target);b("cid",a.clientId);b("cidt",a.na);b("gac",a.oa);b("aip",a.la);a.sync&&b("m","sync");b("cycle",a.J);a.ta&&b("gclid",a.ta);ua.test(I.referrer)&&b("cb",String(ae()));return c};var Fe=function(a,b,c){this.ca=b;(b=c)||(b=(b=V(a,T))&&"t0"!=b?Pe.test(b)?"_gat_"+Ae(V(a,U)):"_gat_"+Ae(b):"_gat");this.aa=b;this.ua=null},Le=function(a,b){var c=b.get(Ub);b.set(Ub,function(b){Je(a,b,Zd);Je(a,b,ja);var d=c(b);Ke(a,b);return d});var d=b.get(Vb);b.set(Vb,function(b){var c=d(b);if(mf(b)){if(ff()!==ca(a,b)){F(80);var e={Y:lf(a,b,1),google:lf(a,b,2),count:0};hf("https://stats.g.doubleclick.net/j/collect",e.Y,e)}else za(lf(a,b,0));b.set(Zd,"",!0)}return c})},Je=function(a,b,c){!1!==b.get(df)&&
(b.get(c)?J("Join id already set: "+c):"1"==Md(a.aa)[0]?b.set(c,"",!0):b.set(c,""+ae(),!0))},Ke=function(a,b){mf(b)&&(N("Setting throttling cookie: %s",a.aa),pe(a.aa,"1",b.get(vb),b.get(S),b.get(U),6E4))},mf=function(a){return!!a.get(Zd)&&a.get(df)},lf=function(a,b,c){var d=new ef,e=function(a){yc(a).i&&d.set(yc(a).i,b.get(a))};e(Gc);e(Hc);e(U);e(R);e(Zd);if(0==c||1==c)e(xe),e(ja),e(la);d.set(yc(oc).i,cf(b));var f="";d.map(function(a,b){f+=P(a)+"=";f+=P(""+b)+"&"});f+="z="+ae();0==c?(f=a.ca+f,od(d,
f)):1==c?f="t=dc&aip=1&_r=3&"+f:2==c&&(f="t=sr&aip=1&_r=4&slf_rd=1&"+f);return f},ca=function(a,b){null===a.ua&&(a.ua=1===ye(b),a.ua&&F(33));return a.ua},Pe=/^gtm\d+$/;var $d=function(a,b){a=a.a;if(!a.get("dcLoaded")){var c=new ec($e(a));c.set(29);a.set(af,c.B);b=b||{};var d;b[ub]&&(d=Ae(b[ub]));b=new Fe(a,"https://stats.g.doubleclick.net/r/collect?t=dc&aip=1&_r=3&",d);Le(b,a);a.set("dcLoaded",!0)}};var Me=function(a){if(!a.get("dcLoaded")&&"cookie"==a.get(xb)){var b=new Fe(a);Je(b,a,Zd);Je(b,a,ja);Ke(b,a);if(mf(a)){var c=ff()!==ca(b,a);a.set(De,1,!0);c?(F(79),a.set(ob,gf()+"/j/collect",!0),a.set(kf,{Y:lf(b,a,1),google:lf(b,a,2),count:0},!0)):a.set(ob,gf()+"/r/collect",!0)}}};var He=function(){var a=Q.gaGlobal=Q.gaGlobal||{};return a.hid=a.hid||ae()};var Nd,Od=function(a,b,c){if(!Nd){var d=I.location.hash;var e=Q.name,f=/^#?gaso=([^&]*)/;if(e=(d=(d=d&&d.match(f)||e&&e.match(f))?d[1]:Md("GASO")[0]||"")&&d.match(/^(?:!([-0-9a-z.]{1,40})!)?([-.\w]{10,1200})$/i))pe("GASO",""+d,c,b,a,0),window._udo||(window._udo=b),window._utcp||(window._utcp=c),a=e[1],Ea("https://www.google.com/analytics/web/inpage/pub/inpage.js?"+(a?"prefix="+a+"&":"")+ae(),"_gasojs");Nd=!0}};var va=/^(UA|YT|MO|GP)-(\d+)-(\d+)$/,ad=function(a){function b(a,b){d.a.data.set(a,b)}function c(a,c){b(a,c);d.filters.add(a)}var d=this;this.a=new wc;this.filters=new gc;L("Initializing tracker");b(T,a[T]);b(U,xa(a[U]));b(ub,a[ub]);b(S,a[S]||Wb());b(vb,a[vb]);b(Cb,a[Cb]);b(Yd,a[Yd]);b(wb,a[wb]);b(Id,a[Id]);b(Kb,a[Kb]);b(Lb,a[Lb]);b(Db,a[Db]);b(Eb,a[Eb]);b(Mb,a[Mb]);b(xb,a[xb]);b(xe,a[xe]);b(n,a[n]);b(ce,a[ce]);b(We,a[We]);b(Sf,a[Sf]);b(Gc,1);b(Hc,"j73d");c(Ob,kc);c(qa,Aa);c(Vd,Ud);c(Pb,lc);c(xd,
ya);c(Qb,Zc);c(Gd,Kd);c(Rb,hc);c(Tb,qc);c(Hd,td);c(we,ve);c(Ce,Me);c(Ub,mc);c("_dt",nc);c(Vb,pc);c(oe,ze(this));wd(this.a);vd(this.a,a[R]);this.a.set(yb,He());Od(this.a.get(U),this.a.get(S),this.a.get(vb));Td(a);L("Initialization complete\n\n")},vd=function(a,b){var c=V(a,ub);a.data.set(na,"_ga"==c?"_gid":c+"_gid");if("cookie"==V(a,xb)){Tc=!1;c=Md(V(a,ub));c=de(a,c);if(!c){c=V(a,S);var d=V(a,wb)||Wb();c=Jd("__utma",d,c);void 0!=c?(F(10),d=c.ea[1]+"."+c.ea[2],Ga("Loaded legacy client id from utma cookie: %s (hash=%s)",
d,c.hash),c=d):c=void 0}c&&(Tc=!0);if(d=c&&!a.get(Yd))if(d=c.split("."),2!=d.length)d=!1;else if(d=Number(d[1])){var e=jc(a,Cb);d=d+e<(new Date).getTime()/1E3}else d=!1;d&&(c=void 0,J("Client id is ignored because cookie update is disabled"));c&&(a.data.set(Qd,c),a.data.set(R,c),c=Md(V(a,na)),(c=de(a,c))&&a.data.set(la,c));if(a.get(We)&&(c=a.get(ue),d=a.get(Ve),!c||d&&"aw.ds"!=d)){c={};if(I){d=[];e=I.cookie.split(";");for(var f=/^\s*_gac_(UA-\d+-\d+)=\s*(.+?)\s*$/,ea=0;ea<e.length;ea++){var l=e[ea].match(f);
l&&d.push({ma:l[1],value:l[2]})}e={};if(d&&d.length)for(f=0;f<d.length;f++)(ea=d[f].value.split("."),"1"!=ea[0]||3!=ea.length)?c&&(c.qa=!0):ea[1]&&(e[d[f].ma]?c&&(c.sa=!0):e[d[f].ma]=[],e[d[f].ma].push({timestamp:ea[1],ta:ea[2]}));d=e}else d={};d=d[V(a,U)];Ye(c);d&&0!=d.length&&(c=d[0],a.data.set(Ge,c.timestamp),a.data.set(ue,c.ta))}}if(a.get(Yd)&&(c=ee("_ga",a.get(Lb)),d=ee("_gl",a.get(Lb)),e=wf.get(a.get(Lb)),f=e._ga,d&&0<d.indexOf("_ga")&&!f&&F(30),c||f))if(c&&f&&F(36),a.get(Kb)){if(f&&(Ga("Loaded client id: "+
f),F(38),a.data.set(R,f),e._gid&&(Ga("Loaded gid: "+e._gid),F(51),a.data.set(la,e._gid)),e._gac&&(d=e._gac.split("."))&&2==d.length&&(F(37),a.data.set(ue,d[0]),a.data.set(Ge,d[1]))),c)b:if(e=c.indexOf("."),-1==e)J("Invalid linker parameter format: "+c),F(22);else{ea=c.substring(0,e);f=c.substring(e+1);e=f.indexOf(".");d=f.substring(0,e);f=f.substring(e+1);if("1"==ea){if(e=f,Xe(e,d)){J("Bad or expired linker parameter hash: "+c);F(23);break b}}else if("2"==ea){e=f.indexOf("-");ea="";0<e?(ea=f.substring(0,
e),e=f.substring(e+1)):e=f.substring(1);if(Xe(ea+e,d)){J("Bad or expired linker parameter hash: "+c);F(53);break b}ea&&(Ga("Loaded gid: "+ea),F(2),a.data.set(la,ea))}else{J("Unrecognized linker parameter version: "+c);F(22);break b}Ga("Loaded client id: "+e);F(11);a.data.set(R,e);if(c=ee("_gac",a.get(Lb)))c=c.split("."),"1"!=c[0]||4!=c.length?F(72):Xe(c[3],c[1])?F(71):(a.data.set(ue,c[3]),a.data.set(Ge,c[2]),F(70))}}else J("Linker disabled. Ignoring linker parameter: "+c),F(21);b&&(Ga("Used client Id from constructor."),
F(9),a.data.set(R,P(b)));a.get(R)||((b=(b=Q.gaGlobal&&Q.gaGlobal.vid)&&-1!=b.search(Bd)?b:void 0)?(Ga("New visitor. Copying new clientId"),F(17),a.data.set(R,b)):(Ga("New visitor. Generating new clientId"),F(8),a.data.set(R,ia())));a.get(la)||(Ga("Generating new gid"),F(3),a.data.set(la,ia()));Yc(a)},wd=function(a){var b=Q.navigator,c=Q.screen,d=I.location;a.set(Qa,Xb(a.get(Mb),a.get(ce)));if(d){var e=d.pathname||"";"/"!=e.charAt(0)&&(F(31),e="/"+e);a.set(Pa,d.protocol+"//"+d.hostname+e+d.search)}c&&
a.set(Xa,c.width+"x"+c.height);c&&a.set(Wa,c.colorDepth+"-bit");c=I.documentElement;var f=(e=I.body)&&e.clientWidth&&e.clientHeight,ea=[];c&&c.clientWidth&&c.clientHeight&&("CSS1Compat"===I.compatMode||!f)?ea=[c.clientWidth,c.clientHeight]:f&&(ea=[e.clientWidth,e.clientHeight]);c=0>=ea[0]||0>=ea[1]?"":ea.join("x");a.set(Ya,c);a.set(Za,Qc());a.set(Ua,I.characterSet||I.charset);a.set(Ib,b&&"function"===typeof b.javaEnabled&&b.javaEnabled()||!1);a.set(Ta,(b&&(b.language||b.browserLanguage)||"").toLowerCase());
a.data.set(ue,ee("gclid",!0));a.data.set(Ve,ee("gclsrc",!0));a.data.set(Ge,Math.round((new Date).getTime()/1E3));if(d&&a.get(Lb)&&(b=I.location.hash)){b=b.split(/[?&#]+/);d=[];for(c=0;c<b.length;++c)(H(b[c],"utm_id")||H(b[c],"utm_campaign")||H(b[c],"utm_source")||H(b[c],"utm_medium")||H(b[c],"utm_term")||H(b[c],"utm_content")||H(b[c],"gclid")||H(b[c],"dclid")||H(b[c],"gclsrc"))&&d.push(b[c]);0<d.length&&(b="#"+d.join("&"),a.set(Pa,a.get(Pa)+b))}};
ad.prototype.get=function(a){G(a)||O("Please specify a field name to get it's value.");return this.a.get(a)};ad.prototype.set=function(a,b){this.a.set(a,b)};var bd={pageview:[Ra],event:[fb,gb,hb,Ab],social:[ib,jb,kb],timing:[lb,mb,Bb,nb]};
ad.prototype.send=function(a){L("Send start: "+(0==Z.h?-1:(new Date).getTime()-Z.h));if(1>arguments.length)O("No hit type specified. Aborting hit.");else{if("string"===typeof arguments[0]){var b=arguments[0];var c=[].slice.call(arguments,1)}else b=arguments[0]&&arguments[0][Ma],c=arguments;b?(c=Yb(bd[b]||[],c),c[Ma]=b,this.a.set(c,void 0,!0),this.filters.H(this.a),L("Send finished: "+(0==Z.h?-1:(new Date).getTime()-Z.h)),this.a.data.u={}):O("No hit type specified. Aborting hit.")}};
ad.prototype.pa=function(a,b){var c=this;x(a,c,b)||(y(a,function(){x(a,c,b)}),z(String(c.get(T)),a,void 0,b,!0))};var cd=function(a){if("prerender"==I.visibilityState)return!1;a();return!0},A=function(a){if(!cd(a)){F(16);var b=!1,c=function(){if(!b&&cd(a)){b=!0;var d=c,e=I;e.removeEventListener?e.removeEventListener("visibilitychange",d,!1):e.detachEvent&&e.detachEvent("onvisibilitychange",d)}};Ca(I,"visibilitychange",c)}};var qe=/^(?:(\w+)\.)?(?:(\w+):)?(\w+)$/,se=function(a){this.G=a;if(t(a[0]))this.s=a[0];else{var b=qe.exec(a[0]);null!=b&&4==b.length&&(this.c=b[1]||"t0",this.I=b[2]||"",this.A=b[3],this.b=[].slice.call(a,1),this.I||(this.D="create"==this.A,this.g="require"==this.A,this.f="provide"==this.A,this.$="remove"==this.A),this.g&&(3<=this.b.length?(this.da=this.b[1],this.ba=this.b[2]):this.b[1]&&(G(this.b[1])?this.da=this.b[1]:this.ba=this.b[1])));b=a[1];var c=a[2];if(!this.A)throw O("Invalid command: "+a),
"abort";if(this.g&&(!G(b)||""==b))throw O("Invalid require command.",a),"abort";if(this.f&&(!G(b)||""==b||!t(c)))throw O("Invalid provide command.",a),"abort";if(re(this.c)||re(this.I))throw O('Target name and plugin names should not contain "." or ":"'),"abort";if(this.f&&"t0"!=this.c)throw O("Provide command should not be preceeded by a tracker name."),"abort";}};function re(a){return 0<=a.indexOf(".")||0<=a.indexOf(":")};var Re,Se,Te,B;Re=new ef;Te=new ef;B=new ef;Se={ec:45,ecommerce:46,linkid:47};
var x=function(a,b,c){var d=b==Z?Fc:b.get(T),e=Re.get(a);if(!t(e))return N("Waiting on require of %s to be fulfilled.",a),!1;b.plugins_=b.plugins_||new ef;if(b.plugins_.get(a))return O("Command ignored. Plugin %s has already been required on tracker %s.",a,d),!0;b.plugins_.set(a,new e(b,c||{}));N("Plugin %s intialized on tracker %s.",a,d);return!0},z=function(a,b,c,d,e){if(!t(Re.get(b))&&!Te.get(b)){Se.hasOwnProperty(b)&&F(Se[b]);if(p.test(b)){F(52);a=Z.O(a);if(!a)return!0;c=d||{};d={id:b,F:c.dataLayer||
"dataLayer",la:!!a.get("anonymizeIp"),sync:e,J:!1};a.get(">m")==b&&(d.J=!0,O("Infinite loop detected. Tracker trying to load the container (%s) that created it. Ignoring require statement.",b));var f=String(a.get("name"));"t0"!=f&&(d.target=f);K(String(a.get("trackingId")))||(d.clientId=String(a.get(R)),d.na=Number(a.get(n)),c=c.palindrome?r:q,c=(c=I.cookie.replace(/^|(; +)/g,";").match(c))?c.sort().join("").substring(1):void 0,d.oa=c,d.ta=aa(a.a.get(Pa)||"","gclid"));a=d.F;c=(new Date).getTime();
Q[a]=Q[a]||[];c={"gtm.start":c};e||(c.event="gtm.js");Q[a].push(c);c=w(d)}!c&&Se.hasOwnProperty(b)?(F(39),c=b+".js"):F(43);c?(c&&0<=c.indexOf("/")||(c=($b||"https:"==I.location.protocol?"https:":"http:")+"//www.google-analytics.com/plugins/ua/"+c),d=Ue(c),a=d.protocol,c=I.location.protocol,("https:"==a||a==c||("http:"!=a?0:"http:"==c))&&C(d)?(N("Loading resource for plugin: "+b),Ea(d.url,void 0,e),Te.set(b,!0)):O("Error loading resource for plugin %s: Refusing to load url: %s",b,d.url)):N("No plugin url set for %s.",
b)}},y=function(a,b){var c=B.get(a)||[];c.push(b);B.set(a,c)},D=function(a,b){Re.set(a,b);b=B.get(a)||[];for(var c=0;c<b.length;c++)b[c]();B.set(a,[])},C=function(a){var b=Ue(I.location.href);if(H(a.url,"https://www.google-analytics.com/gtm/js?id="))return!0;if(a.query||0<=a.url.indexOf("?")||0<=a.path.indexOf("://"))return!1;if(a.host==b.host&&a.port==b.port)return!0;b="http:"==a.protocol?80:443;return"www.google-analytics.com"==a.host&&(a.port||b)==b&&H(a.path,"/plugins/")?!0:!1},Ue=function(a){function b(a){var b=
a.hostname||"",c=0<=b.indexOf("]");b=b.split(c?"]":":")[0].toLowerCase();c&&(b+="]");c=(a.protocol||"").toLowerCase();c=1*a.port||("http:"==c?80:"https:"==c?443:"");a=a.pathname||"";H(a,"/")||(a="/"+a);return[b,""+c,a]}var c=I.createElement("a");c.href=I.location.href;var d=(c.protocol||"").toLowerCase(),e=b(c),f=c.search||"",ea=d+"//"+e[0]+(e[1]?":"+e[1]:"");H(a,"//")?a=d+a:H(a,"/")?a=ea+a:!a||H(a,"?")?a=ea+e[2]+(a||f):0>a.split("/")[0].indexOf(":")&&(a=ea+e[2].substring(0,e[2].lastIndexOf("/"))+
"/"+a);c.href=a;d=b(c);return{protocol:(c.protocol||"").toLowerCase(),host:d[0],port:d[1],path:d[2],query:c.search||"",url:a||""}};var jf={ka:function(){jf.j=[]}};jf.ka();jf.H=function(a){var b=jf.N.apply(jf,arguments);b=jf.j.concat(b);for(jf.j=[];0<b.length;){var c=b[0];if(c.s)c="ga(Function)";else{for(var d=[],e=0;c.G&&e<c.G.length;e++)d.push(Fa(c.G[e]));c="ga("+d.join(", ")+")"}dd("Running command: "+c);c=jf.R(b[0]);ge();if(c)break;b.shift();if(0<jf.j.length)break}jf.j=jf.j.concat(b)};
jf.N=function(a){for(var b=[],c=0;c<arguments.length;c++)try{var d=new se(arguments[c]);d.f?(D(d.b[0],d.b[1]),N("Registered new plugin: ga(provide, %s, Function)",d.b[0])):(d.g&&(d.ha=z(d.c,d.b[0],d.da,d.ba)),b.push(d))}catch(l){var e=arguments[c],f=d,ea=l;sa(e)||t(e)?sa(e)&&!G(e[0])?O("First element of command array is not a string: %s",e):f&&f.g?O("Invalid require command: %s",e):O("Command failure: %s",ea):O("Command is not an array or function: %s",ea)}return b};
jf.R=function(a){try{if(a.s)a.s.call(Q,Z.O("t0"));else{var b=a.c==Fc?Z:Z.O(a.c);if(a.D)if("t0"!=a.c)J('Command ignored. Use "create" instead of "%s.create"',a.c);else{if(b=Z.create.apply(Z,a.b),null===b)return!0}else if(a.$)Z.remove(a.c);else if(b)if(a.g){if(a.ha&&(a.ha=z(a.c,a.b[0],a.da,a.ba)),!x(a.b[0],b,a.ba))return!0}else if(a.I){var c=a.I,d=a.A,e=a.b;b.plugins_||O("Tracker does not have any plugins.");b.plugins_.get(c)||O("Tracker does not have %s plugin required.",c);var f=b.plugins_.get(c);
f[d]||O("Plugin %s does not have method %s.",c,d);f[d].apply(f,e)}else b[a.A].apply(b,a.b);else N("Command ignored. Unknown target: "+b)}}catch(ea){c=ea,a.s?O("Exception thrown from pushed function: %s",c):a.g?O("Error creating a plugin instance: %s",a.G):a.f?O("Error registering a plugin: %s",a.G):a.$?O("Error removing tracker: %s",a.G):a.I?O("Error calling a plugin method: %s",a.G):O('Called method "%s" threw exception: %s',a.A,c)}};var Z=function(a){dd("Executing Google Analytics commands.");F(1);jf.H.apply(jf,[arguments]);ge()};Z.o={};Z.C=[];Z.h=0;Z.Ba=0;Z.answer=42;var gd=[U,S,T];Z.create=function(a){var b=Yb(gd,[].slice.call(arguments));b[T]||(b[T]="t0");var c=""+b[T];if(Z.o[c])return J("Ignoring create request for duplicate tracking name."),Z.o[c];if(fa(b))return null;N("Creating new tracker: "+c);b=new ad(b);Z.o[c]=b;Z.C.push(b);return b};
Z.remove=function(a){for(var b=0;b<Z.C.length;b++)if(Z.C[b].get(T)==a){N("Removing tracker: "+a);Z.C.splice(b,1);Z.o[a]=null;return}O("Tracker does not exist.")};Z.O=function(a){return Z.o[a]};Z.getAll=function(){return Z.C.slice(0)};
Z.P=function(){dd("Initializing Google Analytics.");"ga"!=Fc&&F(49);var a=Q[Fc];if(a&&42==a.answer)J("Tracking script already loaded. Abandoning initialization.");else{a&&42!=a.answer&&!a.q&&J("An existing object with the name '%s' found. Unexpected results can occur because of this.",Fc);Z.h=a&&a.l;Z.Ba=1*new Date;Z.loaded=!0;var b=Q[Fc]=Z;Y("create",b,b.create);Y("remove",b,b.remove);Y("getByName",b,b.O,5);Y("getAll",b,b.getAll,6);Y("dump",b,b.dump);b=ad.prototype;Y("get",b,b.get,7);Y("set",b,b.set,
4);Y("send",b,b.send);Y("requireSync",b,b.pa);b=wc.prototype;Y("get",b,b.get);Y("set",b,b.set);if("https:"!=I.location.protocol&&!$b){a:{b=I.getElementsByTagName("script");for(var c=0;c<b.length&&100>c;c++){var d=b[c].src;if(d&&0==d.indexOf("https://www.google-analytics.com/analytics")){b=!0;break a}}b=!1}b&&(L("Analytics.js is secure, forcing SSL for all hits."),$b=!0)}(Q.gaplugins=Q.gaplugins||{}).Linker=pd;b=pd.prototype;D("linker",pd);Y("decorate",b,b.S,20);Y("autoLink",b,b.U,25);D("displayfeatures",
$d);D("adfeatures",$d);a=a&&a.q;sa(a)?jf.H.apply(Z,a):F(50)}ge()};
Z.ga=function(){for(var a=Z.getAll(),b=0;b<a.length;b++)dd("Tracker: "+a[b].get(T)),Ja(a[b].a),ge();a=I.cookie;dd("Cookie Information");a=a.split("; ");b=[["Name","Domain","Path","Value"]];for(var c=0;c<a.length;c++){var d=a[c].split("="),e=d[0];d=d[1]||"";if(Zb(tc,e))b.push(Dc(e,d));else if("_ga"==e){var f="",ea="/",l=d.split(".")[1];l&&(l=l.split("-"),f=I.location.hostname.split("."),f=f.slice(f.length-l[0]).join("."),ea+=I.location.pathname.split("/").slice(1,l[1]||1).join("/"));b.push([e,f,ea,
d])}else/^((__utmt)|(_gat))/.test(e)&&b.push([e,"","",d])}Xd(b);ge()};Z.dump=Z.ga;Ga("\n _ _ _ _\n | | | | | | (_)\n __ _ ___ ___ __ _| | ___ __ _ _ __ __ _| |_ _| |_ _ ___ ___\n / _` |/ _ \\ / _ \\ / _` | |/ _ \\ / _` | '_ \\ / _` | | | | | __| |/ __/ __|\n| (_| | (_) | (_) | (_| | | __/ | (_| | | | | (_| | | |_| | |_| | (__\\__ \\\n \\__, |\\___/ \\___/ \\__, |_|\\___| \\__,_|_| |_|\\__,_|_|\\__, |\\__|_|\\___|___/\n __/ | __/ | __/ |\n |___/ |___/ |___/\n");
J("Running analytics_debug.js. This script is intended for testing and debugging only.");var bf=Z.P,nf=Q[Fc];nf&&nf.r?bf():A(bf);A(function(){jf.H(["provide","render",Aa])});})(window);