(function(){var k,aa=aa||{},l=this,m=function(a){return void 0!==a},p=function(a){return"string"==typeof a},q=function(a){return"number"==typeof a},da=function(){if(null===ba)a:{var a=l.document;if((a=a.querySelector&&a.querySelector("script[nonce]"))&&(a=a.nonce||a.getAttribute("nonce"))&&ca.test(a)){ba=a;break a}ba=""}return ba},ca=/^[\w+/_-]+[=]{0,2}$/,ba=null,ea=function(a){a=a.split(".");for(var b=l,c=0;cb?null:p(a)?a.charAt(b):a[b]},Ba=function(a,b){var c=xa(a,b),d;if(d=0<=c)x(null!=a.length),Array.prototype.splice.call(a,c, 1);return d},Ca=function(a){return Array.prototype.concat.apply([],arguments)},Da=function(a){var b=a.length;if(0b?1:0};var y;a:{var Ja=l.navigator;if(Ja){var Ka=Ja.userAgent;if(Ka){y=Ka;break a}}y=""}var z=function(a){return-1!=y.indexOf(a)};var La=function(a,b){for(var c in a)b.call(void 0,a[c],c,a)},Ma=function(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return!0;return!1},Na=function(a){var b={},c;for(c in a)b[c]=a[c];return b},Oa="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" "),Pa=function(a,b){for(var c,d,e=1;eparseFloat(cb)){bb=String(eb);break a}}bb=cb} var fb=bb,Va={},gb=function(a){return Wa(a,function(){for(var b=0,c=Ga(String(fb)).split("."),d=Ga(String(a)).split("."),e=Math.max(c.length,d.length),f=0;0==b&&fb.length){c.push(jb(a)+"(");for(var d=a.arguments,e=0;d&&e=yb(this).value)for(ha(b)&&(b=b()),a=new qb(a,String(b),this.ib),c&&(a.Za=c),c=this;c;){var d=c,e=a;if(d.bb)for(var f=0;b=d.bb[f];f++)b(e);c=c.getParent()}};B.prototype.info=function(a,b){this.log(vb,a,b)};B.prototype.C=function(a,b){this.log(wb,a,b)}; var zb={},Ab=null,Bb=function(a){Ab||(Ab=new B(""),zb[""]=Ab,Ab.Ra(wb));var b;if(!(b=zb[a])){b=new B(a);var c=a.lastIndexOf("."),d=a.substr(c+1);c=Bb(a.substr(0,c));c.xa||(c.xa={});c.xa[d]=b;b.ma=c;zb[a]=b}return b};var Cb=function(a,b){var c=Bb(a);b&&c&&c.Ra(b);return c},Db=function(a,b){a&&a.info(b,void 0)},C=function(a,b){a&&a.log(xb,b,void 0)};var Eb=function(a){a=Cb(a,vb);Db(a,"Logging enabled.");return a};var Fb=function(a){x(/^[a-zA-Z0-9][a-zA-Z0-9_\-]{0,49}$/.test(a),"A valid product name should be a non-empty string containing alphanumeric characters, dashes (-) and underscores(_). It must start with alphanumeric character and be at most 50 characters long.");this.Eb=a;this.I="empty";this.Xa=null;this.Ya={}};k=Fb.prototype;k.ga=function(){return this.Eb};k.Fa=function(){return this.I};k.X=function(){return this.Xa};k.getContext=function(){return this.Ya}; k.$=function(a){x(/^[a-zA-Z0-9][a-zA-Z0-9_\-\.]{0,39}$/.test(a),"A valid version should be a non-empty string containing alphanumeric characters, dots(.), dashes (-) and underscores(_). It must start with an alphanumeric character and be at most 40 characters long.");this.I=a;return this};k.Na=function(a){x(!Fa(a),"Channel must not be empty");this.Xa=a;return this};k.Oa=function(a){x(ia(a),"Context must be an object");this.Ya=Na(a);return this};var Ib=function(a){var b=[];Gb(new Hb,a,b);return b.join("")},Hb=function(){this.ra=void 0},Gb=function(a,b,c){if(null==b)c.push("null");else{if("object"==typeof b){if(t(b)){var d=b;b=d.length;c.push("[");for(var e="",f=0;f=a.length)throw Mb;if(b in a)return a[b++];b++}};return c}throw Error("Not implemented");},Pb=function(a,b){if(u(a))try{ya(a,b,void 0)}catch(c){if(c!==Mb)throw c;}else{a=Ob(a);try{for(;;)b.call(void 0,a.next(),void 0,a)}catch(c){if(c!==Mb)throw c;}}},Qb=function(a){if(u(a))return Da(a);a=Ob(a);var b=[];Pb(a,function(a){b.push(a)});return b};var Rb=function(){};var Sb=function(){};w(Sb,Rb);Sb.prototype.clear=function(){var a=Qb(this.T(!0)),b=this;ya(a,function(a){b.remove(a)})};var Tb=function(a){this.f=a};w(Tb,Sb);var Ub=function(a){if(!a.f)return!1;try{return a.f.setItem("__sak","1"),a.f.removeItem("__sak"),!0}catch(b){return!1}};k=Tb.prototype;k.set=function(a,b){try{this.f.setItem(a,b)}catch(c){if(0==this.f.length)throw"Storage mechanism: Storage disabled";throw"Storage mechanism: Quota exceeded";}};k.get=function(a){a=this.f.getItem(a);if(!p(a)&&null!==a)throw"Storage mechanism: Invalid value was encountered";return a};k.remove=function(a){this.f.removeItem(a)}; k.T=function(a){var b=0,c=this.f,d=new Nb;d.next=function(){if(b>=c.length)throw Mb;var d=sa(c.key(b++));if(a)return d;d=c.getItem(d);if(!p(d))throw"Storage mechanism: Invalid value was encountered";return d};return d};k.clear=function(){this.f.clear()};k.key=function(a){return this.f.key(a)};var Vb=function(){var a=null;try{a=window.localStorage||null}catch(b){}this.f=a};w(Vb,Tb);var Yb=function(a,b){this.b=a;this.Db=36E5;this.ob="__webmonitoring_RateThrottler_history_hourlyRate";this.s=[];null===Wb&&(Wb=Eb("webmonitoring.RateThrottler"));this.f=null;b&&(this.f=new Vb);if(null!=this.f&&Ub(this.f)){var c=this.f.get(this.ob);if(null!=c)try{this.s=JSON.parse(c)||[]}catch(d){Wb&&Wb.log(tb,"Could not parse old history.",d)}}c=!1;t(this.s)||(this.s=[],c=!0);for(;this.s.length>this.b;)this.s.shift(),c=!0;c&&Xb(this)},Xb=function(a){if(null!=a.f&&Ub(a.f))try{a.f.set(a.ob,Ib(a.s))}catch(b){Wb&& Wb.log(tb,"Could not save history.",b)}};Yb.prototype.exec=function(a){var b=+new Date;x(this.s.length<=this.b);if(this.s.length==this.b)if(this.s[0]=a.keyCode)a.keyCode=-1}catch(b){}};var ec="closure_listenable_"+(1E6*Math.random()|0),fc=0;var gc=function(a,b,c,d,e){this.listener=a;this.pa=null;this.src=b;this.type=c;this.capture=!!d;this.ha=e;this.key=++fc;this.R=this.da=!1},hc=function(a){a.R=!0;a.listener=null;a.pa=null;a.src=null;a.ha=null};var G=function(a){this.src=a;this.h={};this.ca=0};G.prototype.add=function(a,b,c,d,e){var f=a.toString();a=this.h[f];a||(a=this.h[f]=[],this.ca++);var g=ic(a,b,d,e);-1c.keyCode||void 0!=c.returnValue)){a:{var f=!1;if(0==c.keyCode)try{c.keyCode= -1;break a}catch(n){f=!0}if(f||void 0==c.returnValue)c.returnValue=!0}c=[];for(f=d.currentTarget;f;f=f.parentNode)c.push(f);f=a.type;for(var g=c.length-1;!d.N&&0<=g;g--){d.currentTarget=c[g];var h=zc(c[g],f,!0,d);e=e&&h}for(g=0;!d.N&&g>>0),pc=function(a){x(a,"Listener can not be null.");if(ha(a))return a; x(a.handleEvent,"An object listener must have handleEvent method.");a[Ac]||(a[Ac]=function(b){return a.handleEvent(b)});return a[Ac]};var H=function(){D.call(this);this.l=new G(this);this.tb=this;this.Ja=null};w(H,D);H.prototype[ec]=!0;H.prototype.addEventListener=function(a,b,c,d){oc(this,a,b,c,d)};H.prototype.removeEventListener=function(a,b,c,d){wc(this,a,b,c,d)}; H.prototype.dispatchEvent=function(a){qc(this);var b=this.Ja;if(b){var c=[];for(var d=1;b;b=b.Ja)c.push(b),x(1E3>++d,"infinite loop")}b=this.tb;d=a.type||a;if(p(a))a=new E(a,b);else if(a instanceof E)a.target=a.target||b;else{var e=a;a=new E(d,b);Pa(a,e)}e=!0;if(c)for(var f=c.length-1;!a.N&&0<=f;f--){var g=a.currentTarget=c[f];e=Bc(g,d,!0,a)&&e}a.N||(g=a.currentTarget=b,e=Bc(g,d,!0,a)&&e,a.N||(e=Bc(g,d,!1,a)&&e));if(c)for(f=0;!a.N&&f2*this.b&&Jc(this),!0):!1};var Jc=function(a){if(a.b!=a.g.length){for(var b=0,c=0;b=d.g.length)throw Mb;var e=d.g[b++];return a?e:d.u[e]};return e}; var Kc=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};var Lc=function(a){if(a.B&&"function"==typeof a.B)return a.B();if(p(a))return a.split("");if(u(a)){for(var b=[],c=a.length,d=0;db)throw Error("Bad port number "+b);a.P=b}else a.P=null},gd=function(a,b,c){M(a);b instanceof N?(a.w=b,a.w.Qa(a.m)):(c||(b=id(b,nd)),a.w=new N(b,a.m))};L.prototype.getQuery=function(){return this.w.toString()};L.prototype.removeParameter=function(a){M(this);this.w.remove(a);return this};var M=function(a){if(a.Ab)throw Error("Tried to modify a read-only Uri");}; L.prototype.Qa=function(a){this.m=a;this.w&&this.w.Qa(a)}; var hd=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""},id=function(a,b,c){return p(a)?(a=encodeURI(a).replace(b,od),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null},od=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)},jd=/[#\/\?@]/g,ld=/[#\?:]/g,kd=/[#\?]/g,nd=/[#\?@]/g,md=/#/g,N=function(a,b){this.b=this.c=null;this.j=a||null;this.m=!!b},O=function(a){a.c||(a.c=new Ic,a.b=0,a.j&&Qc(a.j,function(b,c){a.add(decodeURIComponent(b.replace(/\+/g, " ")),c)}))};k=N.prototype;k.add=function(a,b){O(this);this.j=null;a=pd(this,a);var c=this.c.get(a);c||this.c.set(a,c=[]);c.push(b);this.b=ra(this.b)+1;return this};k.remove=function(a){O(this);a=pd(this,a);return this.c.U(a)?(this.j=null,this.b=ra(this.b)-this.c.get(a).length,this.c.remove(a)):!1};k.clear=function(){this.c=this.j=null;this.b=0};k.U=function(a){O(this);a=pd(this,a);return this.c.U(a)}; k.forEach=function(a,b){O(this);this.c.forEach(function(c,d){ya(c,function(c){a.call(b,c,d,this)},this)},this)};k.F=function(){O(this);for(var a=this.c.B(),b=this.c.F(),c=[],d=0;d=a,"Global sampling should be a number between 0 and 100");x(a==a.toPrecision(5),"Global sampling percent supported only up to a thousandth precision");return a}; Q.prototype.enable=function(){if(this.isEnabled())return!1;this.Ia=window.onerror;window.onerror=this.Bb.bind(this);return this.fb=!0};Q.prototype.enable=Q.prototype.enable; Q.prototype.La=function(a,b,c,d,e){var f=window.location.href;f=f instanceof L?f.clone():new L(f,void 0);a=null!=e&&null!=e.message?e.message:a;Db(P,Ea('The following error:" %s" occurred at URL: %s',a,f.i));if(ha(this.wa)&&!this.wa(f.i,a,b,c,d,e))Db(P,"The error was throttled by a custom handler and will not be uploaded.");else if(this.fa){for(var g=Object.keys(this.Ka),h=100,n=0;n=this.ab*h/100?Db(P, "The error upload was throttled due to sampling."):(0<=this.Ha&&null===this.qa&&(this.qa=new Yb(this.Ha,this.qb)),(null===this.qa?0:!this.qa.exec())?Db(P,"The error upload was throttled since it exceeded the maximum allowed hourly rate."):this.fa&&(g=Na(this.M.getContext()),g.url=f.i,this.xb&&(g.full_url=l.location.href),this.yb&&(g.user_agent=l.navigator.userAgent),g.type="JavascriptError",g.error_message=a,h="Other",Xa?h="Opera":A?h="Internet Explorer":qd?h="Firefox":ud?h="Chrome":vd&&(h="Safari"), g.browser=h,g.browser_version=xd,g.os=z("CrOS")?"Chrome OS":z("Linux")?"Linux":z("Windows")?"Windows":z("Android")?"Android":Sa()?"iPhone":z("iPad")?"iPad":z("iPod")?"iPod":z("Macintosh")?"Mac":"Unknown",h=y,n="",z("Windows")?(n=/Windows (?:NT|Phone) ([0-9.]+)/,n=(h=n.exec(h))?h[1]:"0.0"):Ta()?(n=/(?:iPhone|iPod|iPad|CPU)\s+OS\s+(\S+)/,n=(h=n.exec(h))&&h[1].replace(/_/g,".")):z("Macintosh")?(n=/Mac OS X ([0-9_.]+)/,n=(h=n.exec(h))?h[1].replace(/_/g,"."):"10"):z("Android")?(n=/Android\s+([^\);]+)(\)|;)/, n=(h=n.exec(h))&&h[1]):z("CrOS")&&(n=/(?:CrOS\s+(?:i686|x86_64)\s+([0-9.]+))/,n=(h=n.exec(h))&&h[1]),g.os_version=n||"",null!=this.M.X()&&(g.channel=this.M.X()),Fa(this.ya)||(g.guid=this.ya),null!=b&&(g.src=b),null!=c&&(g.line=c),null!=d&&(g.column=d),g.prod=this.M.ga(),g.ver=this.M.Fa(),c=null!=e?Ha(e.stack):"",b=zd(g),Fa(a)||(d=c.split("\n"),-1=+new Date&&b.push("adsid="+encodeURIComponent(X[1]));return a+"?"+b.join("&")},X,Y,$d=function(){W=l;X=W.googleToken=W.googleToken||{};var a=+new Date;X[1]&&X[3]>a&&0=+new Date?Z.Wa(a):(Z.$a().push(a),Z.lb()));X[3]>=+new Date&&X[2]>=+new Date||Z.lb()},be=function(a){l.processGoogleToken=l.processGoogleToken|| function(a,c){var b=a,e=c;b=void 0===b?{}:b;e=void 0===e?0:e;var f=b.newToken||"",g="NT"==f,h=parseInt(b.freshLifetimeSecs||"",10),n=parseInt(b.validLifetimeSecs||"",10),wa=b["1p_jar"]||"";b=b.pucrd||"";$d();1==e?Z.Ib():Z.Hb();var na=W.googleToken=W.googleToken||{},Wc=0==e&&f&&p(f)&&!g&&q(h)&&0=+new Date)||"NT"==X[1]);var ce=!(X[3]>=+new Date)&&0!=e;if(Wc||g||ce)g=+new Date,h=g+1E3*h,n=g+1E3*n,1E-5>Math.random()&&Ud("https://pagead2.googlesyndication.com/pagead/gen_204?id=imerr&err="+ e),na[5]=e,na[1]=f,na[2]=h,na[3]=n,na[4]=wa,na[6]=b,$d();if(Wc||!Z.Ca()){e=Z.$a();for(f=0;ff&&(f=d.length);c=d.indexOf("?");if(0>c||c>f){c=f;var g= ""}else g=d.substring(c+1,f);d=[d.substr(0,c),g,d.substr(f)];f=d[1];d[1]=e?f?f+"&"+e:e:f;d=d[0]+(d[1]?"?"+d[1]:"")+d[2]}de("script",{src:d,nonce:da()})}},de=function(a,b){var c=document.createElement(a);La(b,function(a,b){c.setAttribute(b,a)});Kd(c)},fe=function(){try{var a=_402,b=la(ee,a,void 0);if(a.im){if(""!=a.tld){var c=a.tld;$d();Yd(c)&&(Y[1]=c)}be(b)}else b()}catch(d){if(a=d,a=kb(lb(a)),Ld&&Ld.log(ub,"Logging an error.",a),(b=-1!==window.location.href.indexOf("204_debug"))&&window.console&& window.console.log&&(window.console.log("Exception caught: ",a),window.console.log("Stack: ",a.stack)),Nd.La(a.message,window.location.href,Number(a.lineNumber),void 0,a),b)throw a;}};_402.load=_402.load||la(fe);_402.domWait=function(){Td(function(){_402.load()})};}).call(this); window['_402'] = window['_402'] || {}; window['_402']['site'] = "aphsjzlsda2tudoi4wvasbjeru"; window['_402']['im'] = true; window['_402']['tld'] = '.google.ca'; (function(){ if(!window._402nosurvey){ var n = document.createElement("script"); n.setAttribute('charset', 'utf-8'); n.setAttribute('type', 'text/javascript'); n.setAttribute('src', '//survey.g.doubleclick.net/insights/consumersurveys/static/414523917512466659/prompt_embed_static.js'); var noncedScript = document.querySelector('script[nonce]'); if (noncedScript) { n.setAttribute('nonce', noncedScript['nonce'] || noncedScript.getAttribute('nonce')); } var parent = document.getElementsByTagName('head')[0] || document.getElementByTagName('body')[0]; parent.appendChild(n);} })(); window['_402']['promptHandlerUrl'] = window['_402']['promptHandlerUrl'] || '//survey.g.doubleclick.net/gk/prompt'; window['_402']['params'] = {}; window['_402']['domWait']();