(function(){var g,l=this,m=function(a){return void 0!==a},aa=function(a){a=a.split(".");for(var b=l,c;c=a.shift();)if(null!=b[c])b=b[c];else return null;return b},ba=function(){},ca=function(a){var b=typeof a;if("object"==b)if(a){if(a instanceof Array)return"array";if(a instanceof Object)return b;var c=Object.prototype.toString.call(a);if("[object Window]"==c)return"object";if("[object Array]"==c||"number"==typeof a.length&&"undefined"!=typeof a.splice&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("splice"))return"array";
if("[object Function]"==c||"undefined"!=typeof a.call&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("call"))return"function"}else return"null";else if("function"==b&&"undefined"==typeof a.call)return"object";return b},n=function(a){return"array"==ca(a)},da=function(a){var b=ca(a);return"array"==b||"object"==b&&"number"==typeof a.length},q=function(a){return"string"==typeof a},ea=function(a){return"number"==typeof a},r=function(a){return"function"==ca(a)},u=function(a){var b=
typeof a;return"object"==b&&null!=a||"function"==b},ha=function(a){return a[fa]||(a[fa]=++ga)},fa="closure_uid_"+(1E9*Math.random()>>>0),ga=0,ia=function(a,b,c){return a.call.apply(a.bind,arguments)},ja=function(a,b,c){if(!a)throw Error();if(2<arguments.length){var d=Array.prototype.slice.call(arguments,2);return function(){var c=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(c,d);return a.apply(b,c)}}return function(){return a.apply(b,arguments)}},v=function(a,b,c){v=Function.prototype.bind&&
-1!=Function.prototype.bind.toString().indexOf("native code")?ia:ja;return v.apply(null,arguments)},w=function(a,b){var c=Array.prototype.slice.call(arguments,1);return function(){var b=c.slice();b.push.apply(b,arguments);return a.apply(this,b)}},x=Date.now||function(){return+new Date},y=function(a,b){var c=a.split("."),d=l;c[0]in d||!d.execScript||d.execScript("var "+c[0]);for(var e;c.length&&(e=c.shift());)!c.length&&m(b)?d[e]=b:d=d[e]?d[e]:d[e]={}},A=function(a,b){function c(){}c.prototype=b.prototype;
a.m=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.Kj=function(a,c,f){for(var h=Array(arguments.length-2),k=2;k<arguments.length;k++)h[k-2]=arguments[k];return b.prototype[c].apply(a,h)}};var B=document,C=window;var D=function(a,b){this.width=a;this.height=b},ka=function(a,b){return a==b?!0:a&&b?a.width==b.width&&a.height==b.height:!1};g=D.prototype;g.clone=function(){return new D(this.width,this.height)};g.hh=function(){return this.width*this.height};g.Jc=function(){return!this.hh()};g.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};g.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};
g.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};g.scale=function(a,b){var c=ea(b)?b:a;this.width*=a;this.height*=c;return this};var la=function(a){la[" "](a);return a};la[" "]=ba;var ma=function(a,b){try{return la(a[b]),!0}catch(c){}return!1};var na=function(a){var b=[!0];if(!(1E-4>Math.random())){var c=Math.random();if(c<a){a=window;try{var d=new Uint32Array(1);a.crypto.getRandomValues(d);c=d[0]/65536/65536}catch(e){c=Math.random()}return b[Math.floor(c*b.length)]}}return null},oa=function(a,b){for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&b.call(void 0,a[c],c,a)},pa=function(a){if(!a)return"";var b=/.*[&#?]google_debug(=[^&]*)?(&.*)?$/;try{var c=b.exec(decodeURIComponent(a));if(c)return c[1]&&1<c[1].length?c[1].substring(1):
"true"}catch(d){}return""},qa=function(a){var b=a.document;a=a.document;a="CSS1Compat"==a.compatMode?a.documentElement:a.body;a=new D(a.clientWidth,a.clientHeight);return new D(Math.max(a.width,Math.max(b.body.scrollWidth,b.documentElement.scrollWidth)),Math.max(a.height,Math.max(b.body.scrollHeight,b.documentElement.scrollHeight)))};var ra=function(a,b,c){a.addEventListener?a.addEventListener(b,c,!1):a.attachEvent&&a.attachEvent("on"+b,c)};var ua=function(a,b,c,d,e,f){try{if((d?a.Ri:Math.random())<(e||a.wh)){var h=a.ih+b+("&"+sa(c,1)),h=h.substring(0,2E3);"undefined"===typeof f?ta(l,h):ta(l,h,f)}}catch(k){}},sa=function(a,b){var c=[];oa(a,function(a,e){var f=null;if(u(a)&&2>b)f=sa(a,b+1);else if(0===a||a)f=String(a);f&&c.push(e+"="+encodeURIComponent(f))});return c.join("&")},ta=function(a,b,c){a.google_image_requests||(a.google_image_requests=[]);var d=a.document.createElement("img");if(c){var e=function(a){c(a);a=e;d.removeEventListener?
d.removeEventListener("load",a,!1):d.detachEvent&&d.detachEvent("onload",a);a=e;d.removeEventListener?d.removeEventListener("error",a,!1):d.detachEvent&&d.detachEvent("onerror",a)};ra(d,"load",e);ra(d,"error",e)}d.src=b;a.google_image_requests.push(d)};var va=function(a,b,c){this.Fi=a;this.Ch=b;this.sf=c;this.If=null;this.Bh=this.ug;this.aj=!1},wa=function(a,b,c){this.message=a;this.fileName=b||"";this.lineNumber=c||-1},ya=function(a,b){var c;try{c=b()}catch(f){var d=a.sf;try{var e=xa(f),d=a.Bh.call(a,"osd_proto::reqm_int",e,void 0,void 0)}catch(h){a.ug("pAR",h)}if(!d)throw f;}finally{}return c},Aa=function(a){var b=za;return function(){for(var c=[],d=0;d<arguments.length;++d)c[d]=arguments[d];return ya(b,function(){return a.apply(void 0,c)})}};
va.prototype.ug=function(a,b,c,d,e){var f={};f.context=a;b instanceof wa||(b=xa(b));f.msg=b.message.substring(0,512);b.fileName&&(f.file=b.fileName);0<b.lineNumber&&(f.line=b.lineNumber.toString());a=l.document;f.url=a.URL.substring(0,512);f.ref=a.referrer.substring(0,512);if(this.If)try{this.If(f)}catch(h){}if(d)try{d(f)}catch(h){}ua(this.Fi,e||this.Ch,f,this.aj,c);return this.sf};
var xa=function(a){var b=a.toString();a.name&&-1==b.indexOf(a.name)&&(b+=": "+a.name);a.message&&-1==b.indexOf(a.message)&&(b+=": "+a.message);if(a.stack){var c=a.stack,d=b;try{-1==c.indexOf(d)&&(c=d+"\n"+c);for(var e;c!=e;)e=c,c=c.replace(/((https?:\/..*\/)[^\/:]*:\d+(?:.|\n)*)\2/,"$1");b=c.replace(/\n */g,"\n")}catch(f){b=d}}return new wa(b,a.fileName,a.lineNumber)};var Ba=function(a){if(Error.captureStackTrace)Error.captureStackTrace(this,Ba);else{var b=Error().stack;b&&(this.stack=b)}a&&(this.message=String(a))};A(Ba,Error);Ba.prototype.name="CustomError";var Ca;var Da=function(a){return/^[\s\xa0]*$/.test(a)},Ea=String.prototype.trim?function(a){return a.trim()}:function(a){return a.replace(/^[\s\xa0]+|[\s\xa0]+$/g,"")},Ma=function(a){if(!Fa.test(a))return a;-1!=a.indexOf("&")&&(a=a.replace(Ga,"&amp;"));-1!=a.indexOf("<")&&(a=a.replace(Ha,"&lt;"));-1!=a.indexOf(">")&&(a=a.replace(Ia,"&gt;"));-1!=a.indexOf('"')&&(a=a.replace(Ja,"&quot;"));-1!=a.indexOf("'")&&(a=a.replace(Ka,"&#39;"));-1!=a.indexOf("\x00")&&(a=a.replace(La,"&#0;"));return a},Ga=/&/g,Ha=/</g,
Ia=/>/g,Ja=/"/g,Ka=/'/g,La=/\x00/g,Fa=/[\x00&<>"']/,Na=function(a,b){return a<b?-1:a>b?1:0},Oa=function(a){var b=Number(a);return 0==b&&Da(a)?NaN:b},Pa=function(a){return String(a).replace(/\-([a-z])/g,function(a,c){return c.toUpperCase()})},Qa=function(a){var b=q(void 0)?"undefined".replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08"):"\\s";return a.replace(new RegExp("(^"+(b?"|["+b+"]+":"")+")([a-z])","g"),function(a,b,e){return b+e.toUpperCase()})};var Ra=Array.prototype.indexOf?function(a,b,c){return Array.prototype.indexOf.call(a,b,c)}:function(a,b,c){c=null==c?0:0>c?Math.max(0,a.length+c):c;if(q(a))return q(b)&&1==b.length?a.indexOf(b,c):-1;for(;c<a.length;c++)if(c in a&&a[c]===b)return c;return-1},F=Array.prototype.forEach?function(a,b,c){Array.prototype.forEach.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=q(a)?a.split(""):a,f=0;f<d;f++)f in e&&b.call(c,e[f],f,a)},Sa=Array.prototype.filter?function(a,b,c){return Array.prototype.filter.call(a,
b,c)}:function(a,b,c){for(var d=a.length,e=[],f=0,h=q(a)?a.split(""):a,k=0;k<d;k++)if(k in h){var t=h[k];b.call(c,t,k,a)&&(e[f++]=t)}return e},Ta=Array.prototype.map?function(a,b,c){return Array.prototype.map.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=Array(d),f=q(a)?a.split(""):a,h=0;h<d;h++)h in f&&(e[h]=b.call(c,f[h],h,a));return e},Ua=Array.prototype.some?function(a,b,c){return Array.prototype.some.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=q(a)?a.split(""):a,f=0;f<d;f++)if(f in
e&&b.call(c,e[f],f,a))return!0;return!1},Va=function(a,b){for(var c=a.length,d=q(a)?a.split(""):a,e=0;e<c;e++)if(e in d&&b.call(void 0,d[e],e,a))return e;return-1},Wa=function(a,b){return 0<=Ra(a,b)},Xa=function(a){return Array.prototype.concat.apply(Array.prototype,arguments)},Ya=function(a){return Array.prototype.concat.apply(Array.prototype,arguments)},Za=function(a){var b=a.length;if(0<b){for(var c=Array(b),d=0;d<b;d++)c[d]=a[d];return c}return[]},$a=function(a,b){for(var c=1;c<arguments.length;c++){var d=
arguments[c];if(da(d)){var e=a.length||0,f=d.length||0;a.length=e+f;for(var h=0;h<f;h++)a[e+h]=d[h]}else a.push(d)}},ab=function(a){for(var b={},c=0,d=0;d<a.length;){var e=a[d++],f;f=e;f=u(f)?"o"+ha(f):(typeof f).charAt(0)+f;Object.prototype.hasOwnProperty.call(b,f)||(b[f]=!0,a[c++]=e)}a.length=c},bb=function(a,b,c){b=Array.prototype.splice.call(a,b,1);Array.prototype.splice.call(a,c,0,b[0])},cb=function(a){for(var b=Math.random,c=a.length-1;0<c;c--){var d=Math.floor(b()*(c+1)),e=a[c];a[c]=a[d];a[d]=
e}};var db=function(a,b,c){for(var d in a)b.call(c,a[d],d,a)},eb=function(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return!0;return!1},fb=function(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b},gb=function(a){var b=[],c=0,d;for(d in a)b[c++]=d;return b},ib=function(){var a=hb,b;for(b in a)return!1;return!0},jb=function(a){var b={},c;for(c in a)b[c]=a[c];return b},kb=function(a){var b=ca(a);if("object"==b||"array"==b){if(r(a.clone))return a.clone();var b="array"==b?[]:{},c;for(c in a)b[c]=kb(a[c]);
return b}return a},mb=function(){var a=lb,b={},c;for(c in a)b[a[c]]=c;return b},nb="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" "),ob=function(a,b){for(var c,d,e=1;e<arguments.length;e++){d=arguments[e];for(c in d)a[c]=d[c];for(var f=0;f<nb.length;f++)c=nb[f],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}},pb=function(a){var b=arguments.length;if(1==b&&n(arguments[0]))return pb.apply(null,arguments[0]);if(b%2)throw Error("Uneven number of arguments");
for(var c={},d=0;d<b;d+=2)c[arguments[d]]=arguments[d+1];return c};var qb;a:{var rb=l.navigator;if(rb){var sb=rb.userAgent;if(sb){qb=sb;break a}}qb=""}var G=function(a){return-1!=qb.indexOf(a)};var tb=function(){return G("Opera")||G("OPR")};var H=function(a,b){this.x=m(a)?a:0;this.y=m(b)?b:0};H.prototype.clone=function(){return new H(this.x,this.y)};var ub=function(a,b){return a==b?!0:a&&b?a.x==b.x&&a.y==b.y:!1},vb=function(a,b){var c=a.x-b.x,d=a.y-b.y;return Math.sqrt(c*c+d*d)};g=H.prototype;g.ceil=function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this};g.floor=function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this};g.round=function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this};
g.translate=function(a,b){a instanceof H?(this.x+=a.x,this.y+=a.y):(this.x+=Number(a),ea(b)&&(this.y+=b));return this};g.scale=function(a,b){var c=ea(b)?b:a;this.x*=a;this.y*=c;return this};var wb={area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0};var yb=function(){this.wf="";this.$g=xb};yb.prototype.Kb=!0;yb.prototype.qb=function(){return this.wf};yb.prototype.toString=function(){return"Const{"+this.wf+"}"};var zb=function(a){return a instanceof yb&&a.constructor===yb&&a.$g===xb?a.wf:"type_error:Const"},xb={};var Bb=function(){this.ff="";this.Yg=Ab};Bb.prototype.Kb=!0;var Ab={};Bb.prototype.qb=function(){return this.ff};Bb.prototype.Ed=function(a){this.ff=a;return this};var Cb=(new Bb).Ed(""),Db=/^([-,."'%_!# a-zA-Z0-9]+|(?:rgb|hsl)a?\([0-9.%, ]+\))$/;var Fb=function(){this.Qb="";this.Zg=Eb};Fb.prototype.Kb=!0;Fb.prototype.qb=function(){return this.Qb};Fb.prototype.Re=!0;Fb.prototype.Gc=function(){return 1};var Gb=/^(?:(?:https?|mailto|ftp):|[^&:/?#]*(?:[/?#]|$))/i,Eb={},Hb=function(a){var b=new Fb;b.Qb=a;return b};Hb("about:blank");var Jb=function(){this.Eg="";this.ah=Ib};Jb.prototype.Kb=!0;Jb.prototype.qb=function(){return this.Eg};Jb.prototype.Re=!0;Jb.prototype.Gc=function(){return 1};var Ib={};var Lb=function(){this.Qb="";this.Xg=Kb;this.bg=null};Lb.prototype.Re=!0;Lb.prototype.Gc=function(){return this.bg};Lb.prototype.Kb=!0;Lb.prototype.qb=function(){return this.Qb};
var Mb=function(a){if(a instanceof Lb&&a.constructor===Lb&&a.Xg===Kb)return a.Qb;ca(a);return"type_error:SafeHtml"},Nb=/^[a-zA-Z0-9-]+$/,Ob={action:!0,cite:!0,data:!0,formaction:!0,href:!0,manifest:!0,poster:!0,src:!0},Pb={APPLET:!0,BASE:!0,EMBED:!0,IFRAME:!0,LINK:!0,MATH:!0,META:!0,OBJECT:!0,SCRIPT:!0,STYLE:!0,SVG:!0,TEMPLATE:!0},Rb=function(a){var b=0,c="",d=function(a){if(n(a))F(a,d);else{if(!(a instanceof Lb)){var f=null;a.Re&&(f=a.Gc());a=Qb(Ma(a.Kb?a.qb():String(a)),f)}c+=Mb(a);a=a.Gc();0==
b?b=a:0!=a&&b!=a&&(b=null)}};F(arguments,d);return Qb(c,b)},Kb={},Qb=function(a,b){return(new Lb).Ed(a,b)};Lb.prototype.Ed=function(a,b){this.Qb=a;this.bg=b;return this};Qb("<!DOCTYPE html>",0);Qb("",0);Qb("<br>",0);var Sb=tb(),I=G("Trident")||G("MSIE"),Tb=G("Edge"),Ub=G("Gecko")&&!(-1!=qb.toLowerCase().indexOf("webkit")&&!G("Edge"))&&!(G("Trident")||G("MSIE"))&&!G("Edge"),Vb=-1!=qb.toLowerCase().indexOf("webkit")&&!G("Edge"),Wb=Vb&&G("Mobile"),Xb=G("Android"),Yb=function(){var a=l.document;return a?a.documentMode:void 0},Zb;
a:{var $b="",ac=function(){var a=qb;if(Ub)return/rv\:([^\);]+)(\)|;)/.exec(a);if(Tb)return/Edge\/([\d\.]+)/.exec(a);if(I)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(Vb)return/WebKit\/(\S+)/.exec(a);if(Sb)return/(?:Version)[ \/]?(\S+)/.exec(a)}();ac&&($b=ac?ac[1]:"");if(I){var bc=Yb();if(null!=bc&&bc>parseFloat($b)){Zb=String(bc);break a}}Zb=$b}
var cc=Zb,dc={},ec=function(a){var b;if(!(b=dc[a])){b=0;for(var c=Ea(String(cc)).split("."),d=Ea(String(a)).split("."),e=Math.max(c.length,d.length),f=0;0==b&&f<e;f++){var h=c[f]||"",k=d[f]||"",t=RegExp("(\\d*)(\\D*)","g"),z=RegExp("(\\d*)(\\D*)","g");do{var p=t.exec(h)||["","",""],J=z.exec(k)||["","",""];if(0==p[0].length&&0==J[0].length)break;b=Na(0==p[1].length?0:parseInt(p[1],10),0==J[1].length?0:parseInt(J[1],10))||Na(0==p[2].length,0==J[2].length)||Na(p[2],J[2])}while(0==b)}b=dc[a]=0<=b}return b},
fc=l.document,gc=fc&&I?Yb()||("CSS1Compat"==fc.compatMode?parseInt(cc,10):5):void 0;var hc=!I||9<=Number(gc);!Ub&&!I||I&&9<=Number(gc)||Ub&&ec("1.9.1");I&&ec("9");var ic=I||Sb||Vb;var lc=function(a){return a?new jc(kc(a)):Ca||(Ca=new jc)},nc=function(a,b){db(b,function(b,d){"style"==d?a.style.cssText=b:"class"==d?a.className=b:"for"==d?a.htmlFor=b:mc.hasOwnProperty(d)?a.setAttribute(mc[d],b):0==d.lastIndexOf("aria-",0)||0==d.lastIndexOf("data-",0)?a.setAttribute(d,b):a[d]=b})},mc={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",frameborder:"frameBorder",height:"height",maxlength:"maxLength",nonce:"nonce",role:"role",rowspan:"rowSpan",type:"type",usemap:"useMap",
valign:"vAlign",width:"width"},oc=function(a){a=(a||window).document;a="CSS1Compat"==a.compatMode?a.documentElement:a.body;return new D(a.clientWidth,a.clientHeight)},qc=function(a,b,c){return pc(document,arguments)},pc=function(a,b){var c=b[0],d=b[1];if(!hc&&d&&(d.name||d.type)){c=["<",c];d.name&&c.push(' name="',Ma(d.name),'"');if(d.type){c.push(' type="',Ma(d.type),'"');var e={};ob(e,d);delete e.type;d=e}c.push(">");c=c.join("")}c=a.createElement(c);d&&(q(d)?c.className=d:n(d)?c.className=d.join(" "):
nc(c,d));2<b.length&&rc(a,c,b,2);return c},rc=function(a,b,c,d){function e(c){c&&b.appendChild(q(c)?a.createTextNode(c):c)}for(;d<c.length;d++){var f=c[d];!da(f)||u(f)&&0<f.nodeType?e(f):F(sc(f)?Za(f):f,e)}},tc=function(a){for(var b;b=a.firstChild;)a.removeChild(b)},K=function(a){return a&&a.parentNode?a.parentNode.removeChild(a):null},uc=function(a){var b;if(ic&&!(I&&ec("9")&&!ec("10")&&l.SVGElement&&a instanceof l.SVGElement)&&(b=a.parentElement))return b;b=a.parentNode;return u(b)&&1==b.nodeType?
b:null},kc=function(a){return 9==a.nodeType?a:a.ownerDocument||a.document},vc=function(a,b){if("textContent"in a)a.textContent=b;else if(3==a.nodeType)a.data=b;else if(a.firstChild&&3==a.firstChild.nodeType){for(;a.lastChild!=a.firstChild;)a.removeChild(a.lastChild);a.firstChild.data=b}else tc(a),a.appendChild(kc(a).createTextNode(String(b)))},sc=function(a){if(a&&"number"==typeof a.length){if(u(a))return"function"==typeof a.item||"string"==typeof a.item;if(r(a))return"function"==typeof a.item}return!1},
jc=function(a){this.U=a||l.document||document},wc=function(a,b){var c;c=a.U;var d=b&&"*"!=b?b.toUpperCase():"";c=c.querySelectorAll&&c.querySelector&&d?c.querySelectorAll(d+""):c.getElementsByTagName(d||"*");return c};g=jc.prototype;g.Yf=function(a,b,c){return pc(this.U,arguments)};g.createElement=function(a){return this.U.createElement(a)};g.createTextNode=function(a){return this.U.createTextNode(String(a))};g.fc=function(){var a=this.U;return a.parentWindow||a.defaultView};
g.appendChild=function(a,b){a.appendChild(b)};g.append=function(a,b){rc(kc(a),a,arguments,1)};g.canHaveChildren=function(a){if(1!=a.nodeType)return!1;switch(a.tagName){case "APPLET":case "AREA":case "BASE":case "BR":case "COL":case "COMMAND":case "EMBED":case "FRAME":case "HR":case "IMG":case "INPUT":case "IFRAME":case "ISINDEX":case "KEYGEN":case "LINK":case "NOFRAMES":case "NOSCRIPT":case "META":case "OBJECT":case "PARAM":case "SCRIPT":case "SOURCE":case "STYLE":case "TRACK":case "WBR":return!1}return!0};
g.removeNode=K;g.contains=function(a,b){if(!a||!b)return!1;if(a.contains&&1==b.nodeType)return a==b||a.contains(b);if("undefined"!=typeof a.compareDocumentPosition)return a==b||!!(a.compareDocumentPosition(b)&16);for(;b&&a!=b;)b=b.parentNode;return b==a};var xc=function(){return Vb?"Webkit":Ub?"Moz":I?"ms":Sb?"O":null},yc=function(a,b){if(b&&a in b)return a;var c=xc();return c?(c=c.toLowerCase(),c+=Qa(a),!m(b)||c in b?c:null):null};var zc=function(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d};g=zc.prototype;g.clone=function(){return new zc(this.top,this.right,this.bottom,this.left)};g.contains=function(a){return this&&a?a instanceof zc?a.left>=this.left&&a.right<=this.right&&a.top>=this.top&&a.bottom<=this.bottom:a.x>=this.left&&a.x<=this.right&&a.y>=this.top&&a.y<=this.bottom:!1};
g.expand=function(a,b,c,d){u(a)?(this.top-=a.top,this.right+=a.right,this.bottom+=a.bottom,this.left-=a.left):(this.top-=a,this.right+=Number(b),this.bottom+=Number(c),this.left-=Number(d));return this};g.ceil=function(){this.top=Math.ceil(this.top);this.right=Math.ceil(this.right);this.bottom=Math.ceil(this.bottom);this.left=Math.ceil(this.left);return this};
g.floor=function(){this.top=Math.floor(this.top);this.right=Math.floor(this.right);this.bottom=Math.floor(this.bottom);this.left=Math.floor(this.left);return this};g.round=function(){this.top=Math.round(this.top);this.right=Math.round(this.right);this.bottom=Math.round(this.bottom);this.left=Math.round(this.left);return this};g.translate=function(a,b){a instanceof H?(this.left+=a.x,this.right+=a.x,this.top+=a.y,this.bottom+=a.y):(this.left+=a,this.right+=a,ea(b)&&(this.top+=b,this.bottom+=b));return this};
g.scale=function(a,b){var c=ea(b)?b:a;this.left*=a;this.right*=a;this.top*=c;this.bottom*=c;return this};var Bc=function(a,b,c){if(q(b))(b=Ac(a,b))&&(a.style[b]=c);else for(var d in b){c=a;var e=b[d],f=Ac(c,d);f&&(c.style[f]=e)}},Cc={},Ac=function(a,b){var c=Cc[b];if(!c){var d=Pa(b),c=d;void 0===a.style[d]&&(d=xc()+Qa(d),void 0!==a.style[d]&&(c=d));Cc[b]=c}return c},Dc=function(a,b){var c;a:{c=kc(a);if(c.defaultView&&c.defaultView.getComputedStyle&&(c=c.defaultView.getComputedStyle(a,null))){c=c[b]||c.getPropertyValue(b)||"";break a}c=""}return c||(a.currentStyle?a.currentStyle[b]:null)||a.style&&a.style[b]},
Fc=function(a,b,c){var d;b instanceof H?(d=b.x,b=b.y):(d=b,b=c);a.style.left=Ec(d,!1);a.style.top=Ec(b,!1)},Gc=function(a){var b;try{b=a.getBoundingClientRect()}catch(c){return{left:0,top:0,right:0,bottom:0}}I&&a.ownerDocument.body&&(a=a.ownerDocument,b.left-=a.documentElement.clientLeft+a.body.clientLeft,b.top-=a.documentElement.clientTop+a.body.clientTop);return b},Hc=function(a){if(1==a.nodeType)return a=Gc(a),new H(a.left,a.top);a=a.changedTouches?a.changedTouches[0]:a;return new H(a.clientX,
a.clientY)},Ic=function(a,b,c){if(b instanceof D)c=b.height,b=b.width;else if(void 0==c)throw Error("missing height argument");a.style.width=Ec(b,!0);a.style.height=Ec(c,!0)},Ec=function(a,b){"number"==typeof a&&(a=(b?Math.round(a):a)+"px");return a},Kc=function(a){var b=Jc;if("none"!=Dc(a,"display"))return b(a);var c=a.style,d=c.display,e=c.visibility,f=c.position;c.visibility="hidden";c.position="absolute";c.display="inline";a=b(a);c.display=d;c.position=f;c.visibility=e;return a},Jc=function(a){var b=
a.offsetWidth,c=a.offsetHeight,d=Vb&&!b&&!c;return m(b)&&!d||!a.getBoundingClientRect?new D(b,c):(a=Gc(a),new D(a.right-a.left,a.bottom-a.top))},Lc=function(a,b){a.style.display=b?"":"none"},Mc=function(a,b){var c=lc(b),d=null,e=c.U;if(I&&e.createStyleSheet)c=d=e.createStyleSheet(),I&&m(c.cssText)?c.cssText=a:vc(c,a);else{e=wc(c,"HEAD")[0];e||(d=wc(c,"BODY")[0],e=c.Yf("HEAD"),d.parentNode.insertBefore(e,d));var f=d=c.Yf("STYLE");I&&m(f.cssText)?f.cssText=a:vc(f,a);c.appendChild(e,d)}},Nc=Ub?"MozUserSelect":
Vb||Tb?"WebkitUserSelect":null,Oc=function(a){var b=a.getElementsByTagName("*");if(Nc){var c="none";a.style&&(a.style[Nc]=c);if(b){a=0;for(var d;d=b[a];a++)d.style&&(d.style[Nc]=c)}}else if(I||Sb)if(c="on",a.setAttribute("unselectable",c),b)for(a=0;d=b[a];a++)d.setAttribute("unselectable",c)};var Pc=Object.prototype.hasOwnProperty,Qc=null,Rc=function(a,b){for(var c in a)Pc.call(a,c)&&b.call(void 0,a[c],c,a)},Sc=function(a){return ea(a)&&0<a},Tc=function(a){return!!a&&0<pa(a).length};var Uc,za;Uc=new function(){this.ih="http"+("http:"===C.location.protocol?"":"s")+"://pagead2.googlesyndication.com/pagead/gen_204?id=";this.wh=.01;this.Ri=Math.random()};za=new va(Uc,"jserror",!0);var Vc=function(a){if(a.classList)return a.classList;a=a.className;return q(a)&&a.match(/\S+/g)||[]},Wc=function(a,b){return a.classList?a.classList.contains(b):Wa(Vc(a),b)},Xc=function(a,b){a.classList?a.classList.add(b):Wc(a,b)||(a.className+=0<a.className.length?" "+b:b)},Yc=function(a,b){if(a.classList)F(b,function(b){Xc(a,b)});else{var c={};F(Vc(a),function(a){c[a]=!0});F(b,function(a){c[a]=!0});a.className="";for(var d in c)a.className+=0<a.className.length?" "+d:d}},Zc=function(a,b){a.classList?
a.classList.remove(b):Wc(a,b)&&(a.className=Sa(Vc(a),function(a){return a!=b}).join(" "))},ad=function(a){var b=fb($c);a.classList?F(b,function(b){Zc(a,b)}):a.className=Sa(Vc(a),function(a){return!Wa(b,a)}).join(" ")};var bd=function(a){return function(){return a}},cd=bd(!1),dd=bd(null),ed=function(a){var b=!1,c;return function(){b||(c=a(),b=!0);return c}};var fd="StopIteration"in l?l.StopIteration:{message:"StopIteration",stack:""},gd=function(){};gd.prototype.next=function(){throw fd;};gd.prototype.le=function(){return this};var hd=function(a,b){this.L={};this.A=[];this.gd=this.B=0;var c=arguments.length;if(1<c){if(c%2)throw Error("Uneven number of arguments");for(var d=0;d<c;d+=2)this.set(arguments[d],arguments[d+1])}else a&&this.addAll(a)};g=hd.prototype;g.la=function(){id(this);for(var a=[],b=0;b<this.A.length;b++)a.push(this.L[this.A[b]]);return a};g.pb=function(){id(this);return this.A.concat()};g.$b=function(a){return jd(this.L,a)};g.Jc=function(){return 0==this.B};
g.clear=function(){this.L={};this.gd=this.B=this.A.length=0};g.remove=function(a){return jd(this.L,a)?(delete this.L[a],this.B--,this.gd++,this.A.length>2*this.B&&id(this),!0):!1};var id=function(a){if(a.B!=a.A.length){for(var b=0,c=0;b<a.A.length;){var d=a.A[b];jd(a.L,d)&&(a.A[c++]=d);b++}a.A.length=c}if(a.B!=a.A.length){for(var e={},c=b=0;b<a.A.length;)d=a.A[b],jd(e,d)||(a.A[c++]=d,e[d]=1),b++;a.A.length=c}};g=hd.prototype;g.get=function(a,b){return jd(this.L,a)?this.L[a]:b};
g.set=function(a,b){jd(this.L,a)||(this.B++,this.A.push(a),this.gd++);this.L[a]=b};g.addAll=function(a){var b;a instanceof hd?(b=a.pb(),a=a.la()):(b=gb(a),a=fb(a));for(var c=0;c<b.length;c++)this.set(b[c],a[c])};g.forEach=function(a,b){for(var c=this.pb(),d=0;d<c.length;d++){var e=c[d],f=this.get(e);a.call(b,f,e,this)}};g.clone=function(){return new hd(this)};
g.le=function(a){id(this);var b=0,c=this.gd,d=this,e=new gd;e.next=function(){if(c!=d.gd)throw Error("The map has changed since the iterator was created");if(b>=d.A.length)throw fd;var e=d.A[b++];return a?e:d.L[e]};return e};var jd=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};var kd=function(a){if(a.la&&"function"==typeof a.la)return a.la();if(q(a))return a.split("");if(da(a)){for(var b=[],c=a.length,d=0;d<c;d++)b.push(a[d]);return b}return fb(a)},ld=function(a,b,c){if(a.forEach&&"function"==typeof a.forEach)a.forEach(b,c);else if(da(a)||q(a))F(a,b,c);else{var d;if(a.pb&&"function"==typeof a.pb)d=a.pb();else if(a.la&&"function"==typeof a.la)d=void 0;else if(da(a)||q(a)){d=[];for(var e=a.length,f=0;f<e;f++)d.push(f)}else d=gb(a);for(var e=kd(a),f=e.length,h=0;h<f;h++)b.call(c,
e[h],d&&d[h],a)}};var md=function(a){this.L=new hd;a&&this.addAll(a)},nd=function(a){var b=typeof a;return"object"==b&&a||"function"==b?"o"+ha(a):b.substr(0,1)+a};g=md.prototype;g.add=function(a){this.L.set(nd(a),a)};g.addAll=function(a){a=kd(a);for(var b=a.length,c=0;c<b;c++)this.add(a[c])};g.pc=function(a){a=kd(a);for(var b=a.length,c=0;c<b;c++)this.remove(a[c])};g.remove=function(a){return this.L.remove(nd(a))};g.clear=function(){this.L.clear()};g.Jc=function(){return this.L.Jc()};g.contains=function(a){return this.L.$b(nd(a))};
g.la=function(){return this.L.la()};g.clone=function(){return new md(this)};g.le=function(){return this.L.le(!1)};var od=function(){this.nd=[]},M=function(a,b,c,d,e){a.nd.push(new pd(b,c,d,e))},N=function(a,b,c,d,e){M(a,b,c,d+"px",e)},qd=function(a,b){M(a,b,"zIndex",999999)},rd=function(a){for(var b=a.nd.length-1;0<=b;b--){var c=a.nd[b];c.fd?(c.Ze.style.removeProperty(c.Va),c.Ze.style.setProperty(c.Va,c.Ag,c.Di)):c.Ze.style[c.Va]=c.Ag}a.nd.length=0},pd=function(a,b,c,d){this.Ze=a;this.Va=(this.fd=m(d)&&a.style&&a.style.getPropertyPriority)?String(b).replace(/([A-Z])/g,"-$1").toLowerCase():b;this.Ag=this.fd?a.style.getPropertyValue(this.Va):
a.style[this.Va];this.Di=this.fd?a.style.getPropertyPriority(this.Va):null;this.fd?(a.style.removeProperty(this.Va),a.style.setProperty(this.Va,c,d)):a.style[this.Va]=c};var sd={NORMAL:0,LIGHTBOX:1,EXPANSION_MODES:2},P=function(){var a=O().MOBILE_BROWSER_CLASS;if(null!=a&&0<=a)return 3!=a;a=C.navigator.userAgent;return Wb||Xb||Ub&&(/Mobile/.test(a)||/Tablet/.test(a))||I&&/IEMobile/.test(a)},O=function(){return C.CREATIVE_TOOLSET_PARAMS||{}},td=function(){var a=O();return{SAMPLE_VIEWPORT_SIZES:a.SAMPLE_VIEWPORT_SIZES,JS_EXPERIMENT_LABELS:a.JS_EXPERIMENT_LABELS,MOBILE_BROWSER_CLASS:a.MOBILE_BROWSER_CLASS}},ud=function(a){return!!a&&/^ins$/i.test(a.nodeName)},vd=function(a){return P()?
new D(a.innerWidth,a.innerHeight):oc(a)},wd=function(a){a.style.setProperty("background-color","transparent","important");a.style.setProperty("background-image","none","important");a.style.setProperty("border","0 none transparent","important");a.style.setProperty("color","transparent","important");a.style.setProperty("margin","0px 0px 0px 0px","important");a.style.setProperty("opacity","1","important");a.style.setProperty("overflow","visible","important");a.style.setProperty("padding","0px 0px 0px 0px",
"important");a.style.setProperty("visibility","visible","important")};var xd=[],zd=function(a,b,c){yd("ct-error",a,b,c)},Ad=function(a,b,c){yd("ct-info",a,b,c)},yd=function(a,b,c,d){c=jb(c||{});d=d||.01;Wa(xd,b)&&(d=1);m(void 0)&&(void 0)(a,b,c,d)||(c.eventType=b,b=O(),m(b.EXPANSION_CLICK_INFO)&&(c.ai=b.EXPANSION_CLICK_INFO),c.clientTime=x(),ua(Uc,a,c,"jserror"!=a,d,void 0))};var lb={oj:"lb_reexpand_overlay",wj:"no_expansion_animation",sj:"log_ignored_events",rj:"log_idle_on_pub",bj:"back_button_collapse",Dj:"stricter_mobile_taps",fj:"error_reporting",tj:"look_for_google_in_url",nj:"external_overlay",zj:"overlay_expand_icon",Aj:"overlay_touch_ripple",Cj:"show_survey_close_button",Ej:"survey_close_button_bottom_right"},Q=function(a){var b=O().JS_EXPERIMENT_LABELS;return q(b)?Wa(b.split(","),a):!1},Bd=function(a){var b=O().JS_EXPERIMENT_LABELS;if(q(b))for(var b=b.split(","),
c=0;c<b.length;c++){var d=b[c].match(a);if(null!=d)return parseInt(d[1],10)}return-1},Cd=function(){return Bd(/^ad_survey_(\d+)$/)},Dd=function(){var a=[],b=O().JS_EXPERIMENT_LABELS;if(q(b)){var c=mb();F(b.split(","),function(b){Da(b)||null!==c&&b in c||a.push(b)})}ab(a);return a};var Ed={ENGAGEMENT_START:"engstart",ENGAGEMENT_END:"engend"},Fd={CLICK_TO_EXPAND:29,HOVER_TO_EXPAND:30,GENERIC_ENGAGEMENT:32,VIDEO_PLAY:33,VIDEO_UNMUTE:34,VIDEO_VIEW_TIMER:35,MOUSE_HOVER:36,SWIPE:37,CREATIVE_TOOLSET_ERROR:377,VIDEO_REPLAY:10001,VIDEO_PAUSE:10002,VIDEO_STOP:10003,VIDEO_MUTE:10004,VIDEO_MIDPOINT:10005,VIDEO_COMPLETE:10006,VIDEO_INTERACTION:10007,FULL_SCREEN:10008,MANUAL_CLOSE:10009,CONTRACTION:10010,VIDEO_FIRST_QUARTILE:10011,VIDEO_THIRD_QUARTILE:10012,SUCCESSFUL_ENGAGEMENT:10025,ENGAGEMENT_END:10026,
VIDEO2_START:10027,VIDEO2_FIRST_QUARTILE:10028,VIDEO2_MIDPOINT:10029,VIDEO2_THIRD_QUARTILE:10030,VIDEO2_COMPLETE:10031,VIDEO3_START:10032,VIDEO3_FIRST_QUARTILE:10033,VIDEO3_MIDPOINT:10034,VIDEO3_THIRD_QUARTILE:10035,VIDEO3_COMPLETE:10036,VIDEO4_START:10037,VIDEO4_FIRST_QUARTILE:10038,VIDEO4_MIDPOINT:10039,VIDEO4_THIRD_QUARTILE:10040,VIDEO4_COMPLETE:10041,VIDEO5_START:10042,VIDEO5_FIRST_QUARTILE:10043,VIDEO5_MIDPOINT:10044,VIDEO5_THIRD_QUARTILE:10045,VIDEO5_COMPLETE:10046,ASSETS_LOADED:10047,RENDERING_COMPLETED:10048};var Gd=function(){this.rc=[];this.ib=[]},Hd=function(){var a=aa("googlecreative.reporting.sharedReporter");a||(a=new Gd,y("googlecreative.reporting.sharedReporter",a));return a};g=Gd.prototype;g.addReporter=function(a){F(this.rc,function(b){b.newReporterCallback(a);a.newReporterCallback(b)});F(this.ib,function(b){a.registerChargeableEventName(b)});this.rc.push(a)};g.reportEvents=function(a){F(this.rc,function(b){b.reportEvents(a)})};
g.registerChargeableEventName=function(a){F(this.rc,function(b){b.registerChargeableEventName(a)});this.ib.push(a)};g.logCustomVariable=function(a,b){F(this.rc,function(c){c.logCustomVariable(a,b)})};g.getType=function(){return"UNIFIED_DISPATCHER"};g.getConfig=function(){return{reportingApiVersion:2}};g.newReporterCallback=ba;g.supportsChargeableEvents=function(){var a=!1;F(this.rc,function(b){b.supportsChargeableEvents()&&(a=!0)});return a};var Id=/^(?:([^:/?#.]+):)?(?:\/\/(?:([^/?#]*)@)?([^/#?]*?)(?::([0-9]+))?(?=[/#?]|$))?([^?#]+)?(?:\?([^#]*))?(?:#(.*))?$/,Jd=function(a){var b=a.match(Id);a=b[1];var c=b[2],d=b[3],b=b[4],e="";a&&(e+=a+":");d&&(e+="//",c&&(e+=c+"@"),e+=d,b&&(e+=":"+b));return e},Kd=function(a,b){if(a)for(var c=a.split("&"),d=0;d<c.length;d++){var e=c[d].indexOf("="),f=null,h=null;0<=e?(f=c[d].substring(0,e),h=c[d].substring(e+1)):f=c[d];b(f,h?decodeURIComponent(h.replace(/\+/g," ")):"")}},Ld=function(a){if(a[1]){var b=
a[0],c=b.indexOf("#");0<=c&&(a.push(b.substr(c)),a[0]=b=b.substr(0,c));c=b.indexOf("?");0>c?a[1]="?":c==b.length-1&&(a[1]=void 0)}return a.join("")},Md=function(a,b,c){if(n(b))for(var d=0;d<b.length;d++)Md(a,String(b[d]),c);else null!=b&&c.push("&",a,""===b?"":"=",encodeURIComponent(String(b)))},Nd=function(a,b,c,d){for(var e=c.length;0<=(b=a.indexOf(c,b))&&b<d;){var f=a.charCodeAt(b-1);if(38==f||63==f)if(f=a.charCodeAt(b+e),!f||61==f||38==f||35==f)return b;b+=e+1}return-1},Od=/#|$/,Pd=/[?&]($|#)/,
Qd=function(a,b,c){for(var d=a.search(Od),e=0,f,h=[];0<=(f=Nd(a,e,b,d));)h.push(a.substring(e,f)),e=Math.min(a.indexOf("&",f)+1||d,d);h.push(a.substr(e));a=[h.join("").replace(Pd,"$1"),"&",b];null!=c&&a.push("=",encodeURIComponent(String(c)));return Ld(a)};var Rd=function(a){return 0>a.indexOf("::")?a:a.substr(a.indexOf("::")+2)};var Sd={EXPANSION:"expansion",EXPANSION_HOVER:"expansion_hover",GENERIC_ENGAGEMENT:"generic_engagement",PART2VIEWED:"part2viewed",RM_VIDEO_PLAY:"rm_video_play",RM_VIDEO_UNMUTE:"rm_video_unmute",RM_VIDEO_VIEW_TIMER:"rm_video_view_timer",MOUSE_HOVER:"mouse_hover",SWIPE:"swipe",CLICK_THROUGH:"click_through",RM_VIDEO_REPLAY:"rm_video_replay",RM_VIDEO_PAUSE:"rm_video_pause",RM_VIDEO_STOP:"rm_video_stop",RM_VIDEO_MUTE:"rm_video_mute",VIDEOPLAYTIME50:"videoplaytime50",VIDEOPLAYTIME100:"videoplaytime100",
RM_VIDEO_INTERACTION:"rm_video_interaction",RM_FULLSCREEN:"rm_fullscreen",RM_MANUAL_CLOSE:"rm_manual_close",CONTRACTION:"contraction",VIDEOPLAYTIME25:"videoplaytime25",VIDEOPLAYTIME75:"videoplaytime75",ENGAGE_1S:"engage_1s",ENGAGE_2S:"engage_2s",ENGAGE_3S:"engage_3s",ENGAGE_4S:"engage_4s",ENGAGE_5S:"engage_5s",ENGAGE_10S:"engage_10s",ENGAGE_15S:"engage_15s",ENGAGE_20S:"engage_20s",ENGAGE_25S:"engage_25s",ENGAGE_30S:"engage_30s",ENGAGE_35S:"engage_35s",ENGAGE_40S:"engage_40s",ENGAGE_45S:"engage_45s",
ENGAGE_50S:"engage_50s",ENGAGE_55S:"engage_55s",ENGAGE_60S:"engage_60s",ENGAGE_90S:"engage_90s",ENGAGE_120S:"engage_120s",ENGAGE_180S:"engage_180s",ENGAGE_SUCCESS:"engage_success",ENGAGE_ENDED:"engage_ended",VIDEO2_PLAYTIME0:"video2_playtime0",VIDEO2_PLAYTIME25:"video2_playtime25",VIDEO2_PLAYTIME50:"video2_playtime50",VIDEO2_PLAYTIME75:"video2_playtime75",VIDEO2_PLAYTIME100:"video2_playtime100",VIDEO3_PLAYTIME0:"video3_playtime0",VIDEO3_PLAYTIME25:"video3_playtime25",VIDEO3_PLAYTIME50:"video3_playtime50",
VIDEO3_PLAYTIME75:"video3_playtime75",VIDEO3_PLAYTIME100:"video3_playtime100",VIDEO4_PLAYTIME0:"video4_playtime0",VIDEO4_PLAYTIME25:"video4_playtime25",VIDEO4_PLAYTIME50:"video4_playtime50",VIDEO4_PLAYTIME75:"video4_playtime75",VIDEO4_PLAYTIME100:"video4_playtime100",VIDEO5_PLAYTIME0:"video5_playtime0",VIDEO5_PLAYTIME25:"video5_playtime25",VIDEO5_PLAYTIME50:"video5_playtime50",VIDEO5_PLAYTIME75:"video5_playtime75",VIDEO5_PLAYTIME100:"video5_playtime100",CREATIVE_TOOLSET_ERROR:"ct_error",video1Paused:"rm_video_pause",
video1Played0Percent:"part2viewed",video1Played25Percent:"videoplaytime25",video1Played50Percent:"videoplaytime50",video1Played75Percent:"videoplaytime75",video1Played100Percent:"videoplaytime100",video2Paused:"rm_video_pause",video2Played0Percent:"video2_playtime0",video2Played25Percent:"video2_playtime25",video2Played50Percent:"video2_playtime50",video2Played75Percent:"video2_playtime75",video2Played100Percent:"video2_playtime100",video3Paused:"rm_video_pause",video3Played0Percent:"video3_playtime0",
video3Played25Percent:"video3_playtime25",video3Played50Percent:"video3_playtime50",video3Played75Percent:"video3_playtime75",video3Played100Percent:"video3_playtime100",video4Paused:"rm_video_pause",video4Played0Percent:"video4_playtime0",video4Played25Percent:"video4_playtime25",video4Played50Percent:"video4_playtime50",video4Played75Percent:"video4_playtime75",video4Played100Percent:"video4_playtime100",video5Paused:"rm_video_pause",video5Played0Percent:"video5_playtime0",video5Played25Percent:"video5_playtime25",
video5Played50Percent:"video5_playtime50",video5Played75Percent:"video5_playtime75",video5Played100Percent:"video5_playtime100",imageGalleryCardInteracted:"tetris_image_gallery_card_interacted",mapCardInteracted:"tetris_map_card_interacted",videoCardInteracted:"tetris_video_card_interacted",elementInteracted:"lightbox_ad_interacted"};
ob(Sd,{"Element interacted":"lightbox_ad_interacted","Logo clicked":"tetris_logo_clicked","Header CTA clicked":"tetris_header_cta_clicked","Social link clicked":"tetris_social_link_clicked","Image gallery card interacted":"tetris_image_gallery_card_interacted","Image gallery CTA clicked":"tetris_image_gallery_cta_clicked","Image gallery image selected":"tetris_image_gallery_image_selected","Map card interacted":"tetris_map_card_interacted","Map location selected":"tetris_map_location_selected","Product gallery card interacted":"tetris_product_gallery_card_interacted",
"Product gallery product clicked":"tetris_product_gallery_product_clicked","Product gallery scrolled":"tetris_product_gallery_scrolled","Thumb selected":"tetris_thumb_selected","Video buffering":"tetris_video_buffering","Video card interacted":"tetris_video_card_interacted","Video paused":"rm_video_pause","Video played 0%":"part2viewed","Video played 25%":"videoplaytime25","Video played 50%":"videoplaytime50","Video played 75%":"videoplaytime75","Video played 100%":"videoplaytime100","Video playing":"tetris_video_playing",
"Video unmuted":"rm_video_unmute"});var Td={};ob(Td,{"Tetris became active":"tetris_became_active","Tetris became idle":"tetris_became_idle"});var Ud={};ob(Ud,{"Engagement state failure":"engagement_state_failure","Google Maps API failure":"google_maps_api_failure","WebFont API failure":"web_font_api_failure","YouTube Iframe API failure":"youtube_iframe_api_failure","Osd timed out":"osd_timed_out"});
for(var Vd={EXPANSION:29,EXPANSION_HOVER:30,GENERIC_ENGAGEMENT:32,RM_VIDEO_PLAY:33,RM_VIDEO_UNMUTE:34,RM_VIDEO_VIEW_TIMER:35,MOUSE_HOVER:36,SWIPE:37},Wd={29:"EXPANSION",30:"EXPANSION_HOVER",32:"GENERIC_ENGAGEMENT",33:"RM_VIDEO_PLAY",34:"RM_VIDEO_UNMUTE",35:"RM_VIDEO_VIEW_TIMER",36:"MOUSE_HOVER",37:"SWIPE",377:"CT_ERROR",10001:"RM_VIDEO_REPLAY",10002:"RM_VIDEO_PAUSE",10003:"RM_VIDEO_STOP",10004:"RM_VIDEO_MUTE",10005:"VIDEOPLAYTME50",10006:"VIDEOPLAYTME100",10007:"RM_VIDEO_INTERACTION",10008:"RM_FULL_SCREEN",
10009:"RM_MANUAL_CLOSE",10010:"CONTRACTION",10011:"VIDEOPLAYTIME25",10012:"VIDEOPLAYTIME75",10013:"ENGAGE_1S",10014:"ENGAGE_2S",10015:"ENGAGE_3S",10016:"ENGAGE_4S",10017:"ENGAGE_5S",10018:"ENGAGE_10S",10019:"ENGAGE_15S",10020:"ENGAGE_30S",10021:"ENGAGE_60S",10022:"ENGAGE_90S",10023:"ENGAGE_120S",10024:"ENGAGE_180S",10025:"ENGAGE_SUCCESS",10026:"ENGAGE_ENDED",10027:"VIDEO2_PLAYTIME0",10028:"VIDEO2_PLAYTIME25",10029:"VIDEO2_PLAYTIME50",10030:"VIDEO2_PLAYTIME75",10031:"VIDEO2_PLAYTIME100",10032:"VIDEO3_PLAYTIME0",
10033:"VIDEO3_PLAYTIME25",10034:"VIDEO3_PLAYTIME50",10035:"VIDEO3_PLAYTIME75",10036:"VIDEO3_PLAYTIME100",10037:"VIDEO4_PLAYTIME0",10038:"VIDEO4_PLAYTIME25",10039:"VIDEO4_PLAYTIME50",10040:"VIDEO4_PLAYTIME75",10041:"VIDEO4_PLAYTIME100",10042:"VIDEO5_PLAYTIME0",10043:"VIDEO5_PLAYTIME25",10044:"VIDEO5_PLAYTIME50",10045:"VIDEO5_PLAYTIME75",10046:"VIDEO5_PLAYTIME100",10047:"ASSETS_LOADED",10048:"RENDERING_COMPLETE",10049:"ENGAGE_20S",10050:"ENGAGE_25S",10051:"ENGAGE_35S",10052:"ENGAGE_40S",10053:"ENGAGE_45S",
10054:"ENGAGE_50S",10055:"ENGAGE_55S"},Xd=1;10>=Xd;++Xd){var Yd="card"+Xd;ob(Sd,pb(Yd+"VideoPaused","rm_video_pause",Yd+"VideoPlayed0Percent","part2viewed",Yd+"VideoPlayed25Percent","videoplaytime25",Yd+"VideoPlayed50Percent","videoplaytime50",Yd+"VideoPlayed75Percent","videoplaytime75",Yd+"VideoPlayed100Percent","videoplaytime100",Yd+"ImageGalleryCardInteracted","tetris_image_gallery_card_interacted",Yd+"MapCardInteracted","tetris_map_card_interacted",Yd+"VideoCardInteracted","tetris_video_card_interacted"))};var Zd=function(a){this.Z={chargeableAction:void 0,currentState:0,cycleWasCharged:!1,engagementAction:void 0,engagementCycle:0,timestamp:x()};this.ue=this.qd=null;this.Sb=a;this.Z.currentState=0},ce=function(a,b){a.qd=x();var c=a.Sb,d=a.qd;if(null==c.sc){var e=[{interval:3E3,args:{action:10015,chargeable:!0}},{interval:4E3,args:{action:10016}},{interval:5E3,args:{action:10017}},{interval:1E4,args:{action:10018}},{interval:15E3,args:{action:10019}},{interval:2E4,args:{action:10049}},{interval:25E3,
args:{action:10050}},{interval:3E4,args:{action:10020}},{interval:35E3,args:{action:10051}},{interval:4E4,args:{action:10052}},{interval:45E3,args:{action:10053}},{interval:5E4,args:{action:10054}},{interval:55E3,args:{action:10055}},{interval:6E4,args:{action:10021}},{interval:9E4,args:{action:10022}},{interval:12E4,args:{action:10023}},{interval:18E4,args:{action:10024}}],f=O().EXPERIMENTAL_REPORTING_SCHEDULE;if(m(f))try{e=$d(f).schedule}catch(t){zd("badExpSchedJson",{context:"experimental reporting schedule parse error",
msg:t.toString()})}if("LargeCanvasEngagement"==O().ENGAGEMENT_NOTIFIER)for(f=0;f<e.length;f++)delete e[f].args.chargeable;f=O().ENGAGEMENT_CONVERSION_URLS;if(m(f)&&(f=f.ENGAGEMENT_DURATION_10S,m(f))){var h;h=null;for(var k=0;k<e.length;k++)if(1E4==e[k].interval){h=e[k];break}h&&u(h.args)&&!m(h.args.conversionUrl)&&(h.args.conversionUrl=f)}c.sc=e}c.Fb=0;c.Ub=0;c.Xc=[];c.Ta=d;c.Tc&&ae(c);d=x()-c.Ta;be(c,d);a.Z.timestamp=a.qd;a.Z.engagementAction=b};
Zd.prototype.Zc=function(a){0==this.Z.currentState&&(this.Z.currentState=a,2==a&&ce(this,"LARGE_CANVAS"))};Zd.prototype.getEngagementState=function(){return this.Z};var ee=function(){this.Mb=[];this.Mb.push(new de(0,{Fc:"collapserequested",Kc:["collapsed"]}));this.Mb.push(new de(0,{Fc:"notifierstart",Kc:["notifiercompleted"]}));this.Mb.push(new de(0,{Fc:"expansionrequested",ii:["abouttoexpand"],Kc:["expansioncompleted","expansioncancelled"]}));this.Mb.push(new de(0,{Fc:"expansionrequested",Kc:["creativeloaded"]}));this.Mb.push(new de(0,{Fc:"initialload",Kc:["creativerendered"]}));this.we={};if(C.jstiming)for(var a=0;a<this.Mb.length;a++)for(var b=this.Mb[a],
c=b.Fh(),d=0;d<c.length;d++){var e=c[d];(this.we[e]||(this.we[e]=[])).push(b)}this.xa("initialload")},de=function(a,b){this.ig=b.Fc;this.qg=b.Kc;this.ji=b.ii||[];this.R=null;this.uh=C.jstiming};ee.prototype.xa=function(a){if(O().MEASURE_LATENCY){var b=this.we[a];if(b)for(var c=0;c<b.length;c++)b[c].xa(a)}};de.prototype.Fh=function(){return Ya([this.ig],this.qg,this.ji)};
de.prototype.xa=function(a){this.ig==a?(this.R=new window.jstiming.Timer,this.R.name="loadcreativetoolset"):this.R&&(la(this.R.tick(a)),0>Va(this.qg,function(b){return b==a})||la(this.uh.report(this.R,{e:O().JS_EXPERIMENT_LABELS})))};var R=function(){this.ca=this.ca;this.Ob=this.Ob};R.prototype.ca=!1;R.prototype.dispose=function(){this.ca||(this.ca=!0,this.i())};var he=function(a,b){fe(a,w(ge,b))},fe=function(a,b){a.ca?b.call(void 0):(a.Ob||(a.Ob=[]),a.Ob.push(m(void 0)?v(b,void 0):b))};R.prototype.i=function(){if(this.Ob)for(;this.Ob.length;)this.Ob.shift()()};var ge=function(a){a&&"function"==typeof a.dispose&&a.dispose()},ie=function(a){for(var b=0,c=arguments.length;b<c;++b){var d=arguments[b];da(d)?ie.apply(null,d):ge(d)}};var je=function(a,b){this.ja=this.Wb=this.eb="";this.vb=null;this.Ib=this.Ra="";this.ua=this.li=!1;var c;if(a instanceof je)this.ua=m(b)?b:a.ua,ke(this,a.eb),c=a.Wb,le(this),this.Wb=c,c=a.ja,le(this),this.ja=c,me(this,a.vb),c=a.Ra,le(this),this.Ra=c,ne(this,a.bb.clone()),c=a.Ib,le(this),this.Ib=c;else if(a&&(c=String(a).match(Id))){this.ua=!!b;ke(this,c[1]||"",!0);var d=c[2]||"";le(this);this.Wb=oe(d);d=c[3]||"";le(this);this.ja=oe(d,!0);me(this,c[4]);d=c[5]||"";le(this);this.Ra=oe(d,!0);ne(this,
c[6]||"",!0);c=c[7]||"";le(this);this.Ib=oe(c)}else this.ua=!!b,this.bb=new pe(null,0,this.ua)};
je.prototype.toString=function(){var a=[],b=this.eb;b&&a.push(qe(b,re,!0),":");var c=this.ja;if(c||"file"==b)a.push("//"),(b=this.Wb)&&a.push(qe(b,re,!0),"@"),a.push(encodeURIComponent(String(c)).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),c=this.vb,null!=c&&a.push(":",String(c));if(c=this.Ra)this.ja&&"/"!=c.charAt(0)&&a.push("/"),a.push(qe(c,"/"==c.charAt(0)?se:te,!0));(c=this.bb.toString())&&a.push("?",c);(c=this.Ib)&&a.push("#",qe(c,ue));return a.join("")};
je.prototype.resolve=function(a){var b=this.clone(),c=!!a.eb;c?ke(b,a.eb):c=!!a.Wb;if(c){var d=a.Wb;le(b);b.Wb=d}else c=!!a.ja;c?(d=a.ja,le(b),b.ja=d):c=null!=a.vb;d=a.Ra;if(c)me(b,a.vb);else if(c=!!a.Ra){if("/"!=d.charAt(0))if(this.ja&&!this.Ra)d="/"+d;else{var e=b.Ra.lastIndexOf("/");-1!=e&&(d=b.Ra.substr(0,e+1)+d)}e=d;if(".."==e||"."==e)d="";else if(-1!=e.indexOf("./")||-1!=e.indexOf("/.")){for(var d=0==e.lastIndexOf("/",0),e=e.split("/"),f=[],h=0;h<e.length;){var k=e[h++];"."==k?d&&h==e.length&&
f.push(""):".."==k?((1<f.length||1==f.length&&""!=f[0])&&f.pop(),d&&h==e.length&&f.push("")):(f.push(k),d=!0)}d=f.join("/")}else d=e}c?(le(b),b.Ra=d):c=""!==a.bb.toString();c?ne(b,oe(a.bb.toString())):c=!!a.Ib;c&&(a=a.Ib,le(b),b.Ib=a);return b};je.prototype.clone=function(){return new je(this)};
var ke=function(a,b,c){le(a);a.eb=c?oe(b,!0):b;a.eb&&(a.eb=a.eb.replace(/:$/,""))},me=function(a,b){le(a);if(b){b=Number(b);if(isNaN(b)||0>b)throw Error("Bad port number "+b);a.vb=b}else a.vb=null},ne=function(a,b,c){le(a);b instanceof pe?(a.bb=b,a.bb.qf(a.ua)):(c||(b=qe(b,ve)),a.bb=new pe(b,0,a.ua))},le=function(a){if(a.li)throw Error("Tried to modify a read-only Uri");};je.prototype.qf=function(a){this.ua=a;this.bb&&this.bb.qf(a);return this};
var we=function(a){return a instanceof je?a.clone():new je(a,void 0)},oe=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""},qe=function(a,b,c){return q(a)?(a=encodeURI(a).replace(b,xe),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null},xe=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)},re=/[#\/\?@]/g,te=/[\#\?:]/g,se=/[\#\?]/g,ve=/[\#\?@]/g,ue=/#/g,pe=function(a,b,c){this.B=this.G=null;this.ka=a||null;this.ua=!!c},ye=function(a){a.G||
(a.G=new hd,a.B=0,a.ka&&Kd(a.ka,function(b,c){a.add(decodeURIComponent(b.replace(/\+/g," ")),c)}))};g=pe.prototype;g.add=function(a,b){ye(this);this.ka=null;a=ze(this,a);var c=this.G.get(a);c||this.G.set(a,c=[]);c.push(b);this.B+=1;return this};g.remove=function(a){ye(this);a=ze(this,a);return this.G.$b(a)?(this.ka=null,this.B-=this.G.get(a).length,this.G.remove(a)):!1};g.clear=function(){this.G=this.ka=null;this.B=0};g.Jc=function(){ye(this);return 0==this.B};
g.$b=function(a){ye(this);a=ze(this,a);return this.G.$b(a)};g.pb=function(){ye(this);for(var a=this.G.la(),b=this.G.pb(),c=[],d=0;d<b.length;d++)for(var e=a[d],f=0;f<e.length;f++)c.push(b[d]);return c};g.la=function(a){ye(this);var b=[];if(q(a))this.$b(a)&&(b=Xa(b,this.G.get(ze(this,a))));else{a=this.G.la();for(var c=0;c<a.length;c++)b=Xa(b,a[c])}return b};g.set=function(a,b){ye(this);this.ka=null;a=ze(this,a);this.$b(a)&&(this.B-=this.G.get(a).length);this.G.set(a,[b]);this.B+=1;return this};
g.get=function(a,b){var c=a?this.la(a):[];return 0<c.length?String(c[0]):b};g.toString=function(){if(this.ka)return this.ka;if(!this.G)return"";for(var a=[],b=this.G.pb(),c=0;c<b.length;c++)for(var d=b[c],e=encodeURIComponent(String(d)),d=this.la(d),f=0;f<d.length;f++){var h=e;""!==d[f]&&(h+="="+encodeURIComponent(String(d[f])));a.push(h)}return this.ka=a.join("&")};g.clone=function(){var a=new pe;a.ka=this.ka;this.G&&(a.G=this.G.clone(),a.B=this.B);return a};
var ze=function(a,b){var c=String(b);a.ua&&(c=c.toLowerCase());return c};pe.prototype.qf=function(a){a&&!this.ua&&(ye(this),this.ka=null,this.G.forEach(function(a,c){var d=c.toLowerCase();c!=d&&(this.remove(c),this.remove(d),0<a.length&&(this.ka=null,this.G.set(ze(this,d),Za(a)),this.B+=a.length))},this));this.ua=a};pe.prototype.extend=function(a){for(var b=0;b<arguments.length;b++)ld(arguments[b],function(a,b){this.add(b,a)},this)};var Ae=Xa(fb({dj:"chrgact",ej:"ctype",gj:"cycchrg",hj:"deferred_action",ij:"no_charge",jj:"engact",kj:"engactd",lj:"engcyc",mj:"engdelay",pj:"label",qj:"explen",vj:"noconv",uj:"notifier",Bj:"random",Fj:"unload",Gj:"value",Hj:"visfrc",Ij:"viscrd"}),fb(Ed)),Be=function(a){var b={};Rc(a,function(a,d){Wa(Ae,d)&&(b[d]=a)});return b};var Ce=function(){this.time=0;this.ve=!1;this.data=null};Ce.prototype.setTime=function(a){this.time=a;return this};var De=function(a,b){this.Tf=a;this.kf=b};A(De,Ce);var Ee=function(a,b){var c=[],d="",e=b.indexOf("?")+1;0!=e?(c.push(b.substr(0,e)),d=b.substr(e)):(c.push(b),c.push("?"));Rc(a,function(a,b){d=d.replace(new RegExp(b+"=[^&\\s]*&?"),"");c.push([b,"=",a,"&"].join(""))});d?c.push(d):(e=c.pop(),e=e.substr(0,e.length-1),c.push(e));return c.join("")};
De.prototype.Nf=function(){if(this.ve){var a={context:"GdnChargeableEventUrlBuilder assembleUrl",msg:"eventAlreadySent cannot be true for chargeable url: "+this.Tf};ua(Uc,"cpeunif",a,!0,void 0,void 0);return""}a=jb(this.data||{});a.ctype=this.Tf.toString();return Ee(a,this.kf)};var Fe=function(a,b){this.ni=a;this.kf=b};A(Fe,Ce);Fe.prototype.Nf=function(){var a=jb(this.data||{});a.label=this.ni;this.ve&&(a.noconv=1);a.random=Math.floor(1E11+9E11*Math.random());var b=[this.kf],c;for(c in a)Md(c,a[c],b);return Ld(b)};var Ge=function(a,b,c){R.call(this);this.$=a;this.Rf=!1;this.xe={};this.ib=[];this.de=[];this.ed=0;this.Wg=1049;this.nb=new Zd(b);this.Zf=!1;this.Za=c};A(Ge,R);
Ge.prototype.reportEvents=function(a){for(var b=0;b<a.length;++b){var c=a[b];if(!this.ca){var d=c.unifiedReportingEvent,e="CUSTOM_EVENT"!=d.type?d.type:d.name,f;f=e;if(this.$.cpeEnabled()&&!He()){var h={context:"GdnEventReporter.shouldReportChargeableEvent",msg:"CPE is enabled but chargeable url is not set"};zd("cpeAndNoChargeableUrl",h);f=!1}else{if(h=this.$.cpeEnabled()&&!this.Zf)C.CREATIVE_TOOLSET_PARAMS&&null!=O().NEVER_CHARGE_FOR_EXPANSION?(O().NEVER_CHARGE_FOR_EXPANSION&&0==this.ib.length&&
Hd().registerChargeableEventName("GENERIC_ENGAGEMENT"),h=this.Zf=!0):h=!1,h=!h;h&&(h={context:"GdnEventReporter.shouldReportChargeableEvent",msg:"CPE default chargeable event is not configured and attempt to configure failed."},zd("cpeChargeableEventConfigureFailed",h));f=0==this.ib.length&&!!Vd[f]||Wa(this.ib,f);f=this.$.cpeEnabled()&&!!He()&&!this.Rf&&f}if(f){this.Rf=!0;d=this.nb;d.Z.chargeableAction=e;d.Z.cycleWasCharged=!0;d.Z.currentState=1;Ie(d.Sb);d=e;f=c;h=new De(Vd[d]||Vd.GENERIC_ENGAGEMENT,
He());if(Q("look_for_google_in_url")){var k=new je(He());k.ja&&!/google.com/.test(k.ja)||Ad(k.ja?"googleUrl":"relativeUrl",{engagementUrl:He().substring(0,500),containerUrl:C.document.URL.substring(0,500)},1)}Je(this,d,h,1,f.time,!0,f.data,!1);if(1<c.count){this.xe[e]=!0;d=[];if(n(c.data))for(f=1;f<c.data.length;++f)d.push(kb(c.data[f]));Ke(this,e,{count:c.count-1,time:0,data:d,unifiedReportingEvent:c.unifiedReportingEvent})}}else if((f=m(Sd[Rd(e)]))?Le()||(f="Unknown",m(window.adData)?f="FLASH_TEMPLATE or HTML5_TEMPLATE":
m(window.studioV2)&&(f=u(window.studioV2.creatives)?"RICH_MEDIA":"HTML5_STUDIO_TEMPLATE"),f={context:"GdnEventReporter.shouldReportFreeEvent",msg:"free url is not set",eventName:e,cpeEnabled:!!this.$.cpeEnabled(),chargeableUrlLength:He().length,creativeType:f},zd("noFreeUrl",f),f=!1):f=!1,f)Ke(this,e,c);else if(m(Td[Rd(e)]))Ad(Td[Rd(e)],{},1);else if(m(Ud[Rd(e)]))zd(Ud[Rd(e)],{},1);else if(c=d,Q("log_ignored_events")&&"Counter"==c.trigger&&"CUSTOM_EVENT"==c.type)c=encodeURIComponent(e+",").length,
this.ed+=c,this.ed>this.Wg&&(Me(this),this.ed=c),$a(this.de,e);else switch(Fd[e.toUpperCase()]){case 10047:this.Za.xa("creativeloaded");break;case 10048:this.Za.xa("creativerendered")}this.xe[e]=!0}}};
var Ke=function(a,b,c){Je(a,b,new Fe(Sd[Rd(b)],Le()||""),c.count,c.time,!1,c.data,!!a.xe[b])},Je=function(a,b,c,d,e,f,h,k){for(var t=0;t<d;++t){var z=[];n(h)&&h.length>t&&(z=Be(h[t]));if(null!==z&&"engstart"in z)ce(a.nb,b);else if(null!==z&&"engend"in z){var p=a.nb;p.ue=x();p=p.Sb;p.tb&&(p.tb=!1,p.Tc=!0,p.Ub+=x()-p.mc,p.mc=null);clearTimeout(p.Wc);p.Wc=null;p.Ta=null;p.Fb=0;var p=z,J;var E=a.nb;if(E.ue){J=E.ue-E.qd;var L=0;E=E.Sb;E.tb?(L=x()-E.mc,L=E.Ub+L):L=E.Ub;J-=L}else J=0;p.explen=""+J}p=a.$;
J=f;E={};p.K&&(L=p.K.ec(),L=Infinity==L?-1:L,E.engdelay=L.toString(),E.notifier=p.K.Jb(),L=p.K.ud(),E.engactd=L,8==L&&(J=!1),J&&ob(E,p.K.jg()));ea(p.hd)&&(E.visfrc=p.hd);null===p.Db||(E.viscrd=p.Db.top+","+p.Db.left+","+p.Db.bottom+","+p.Db.right);J=p=E;E=a.nb.getEngagementState();L={};L.engcyc=E.engagementCycle;E.engagementAction&&(L.engact=E.engagementAction);L.cycchrg=E.cycleWasCharged;E.chargeableAction&&(L.chrgact=E.chargeableAction);ob(J,L);ob(p,z);J=c.setTime(e);J.ve=k;J.data=p;if(p=J.Nf())2E3<
p.length&&zd("reporting-url-too-long"),ta(C,p,void 0),0<e&&(e=0),k=!0;null!==z&&"engend"in z&&(z=a.nb,z.Z.currentState=0,z.Z.timestamp=x(),z.Z.engagementCycle++,z.Z.cycleWasCharged=!1,Me(a))}};g=Ge.prototype;g.getEngagementState=function(){return this.nb.getEngagementState()};g.registerChargeableEventName=function(a){Wa(this.ib,a)||$a(this.ib,a)};g.logCustomVariable=ba;g.getType=function(){return"GDN"};g.getConfig=function(){return{reportingApiVersion:2}};
g.newReporterCallback=function(a){r(a.getType)&&"STUDIO"==a.getType()&&(this.$.Si=!0)};g.supportsChargeableEvents=function(){return this.$.cpeEnabled()};g.Zc=function(a){this.nb.Zc(a)};var Me=function(a){0!=a.de.length&&(Ad("unreportedEvents",{events:a.de},1),a.de=[],a.ed=0)};var Ne=function(){R.call(this);this.lf=""};A(Ne,R);g=Ne.prototype;
g.reportEvents=function(a){if(!this.ca)for(var b=0;b<a.length;++b){var c=Rd(a[b].unifiedReportingEvent.name);if(m(c))switch(c){case "search_lift_impression":S(this,"199");break;case "EXPANSION":case "EXPANSION_HOVER":S(this,"201");break;case "GENERIC_ENGAGEMENT":S(this,"259");break;case "ENGAGE_1S":S(this,"202");break;case "ENGAGE_2S":S(this,"203");break;case "ENGAGE_3S":S(this,"204");break;case "ENGAGE_4S":S(this,"205");break;case "ENGAGE_5S":S(this,"206");break;case "ENGAGE_10S":S(this,"211");break;
case "ENGAGE_15S":S(this,"216");break;case "ENGAGE_30S":S(this,"231");break;case "ENGAGE_60S":S(this,"240");break;case "ENGAGE_90S":S(this,"241");break;case "ENGAGE_120S":S(this,"242");break;case "ENGAGE_180S":S(this,"243");break;case "elementInteracted":case "Element interacted":S(this,"260")}}};g.registerChargeableEventName=ba;g.logCustomVariable=ba;g.getType=function(){return"GDN_SEARCH_LIFT"};g.getConfig=function(){return{reportingApiVersion:2}};g.newReporterCallback=ba;
g.supportsChargeableEvents=function(){return!1};var S=function(a,b){var c;a.lf||(c=O(),a.lf=c&&c.SEARCH_UPLIFT_URL?c.SEARCH_UPLIFT_URL:"");if(c=a.lf){u(O().VBB_DATA)&&(c=Qd(c,"vtt",O().VBB_DATA.TRAFFIC_TYPE),c=Qd(c,"vbk",O().VBB_DATA.VBB_BUCKET));c=Qd(c,"vi",b);var d;B.body?(Qc||(d=B.createElement("iframe"),d.style.display="none",d.id="anonIframe",Qc=d,B.body.appendChild(d)),d=!0):d=!1;d&&ta(Qc.contentWindow,c,void 0)}};var Oe=!1,Pe=!1,Qe=["googlesyndication.com","googleadservices.com","doubleclick.net"],Le=function(){var a=O();return a&&a.CREATIVE_CONVERSION_URL?a.CREATIVE_CONVERSION_URL:""},Se=function(a,b,c){if(!(Math.random()>(c||.01))){c=!!Le();var d=Q("error_reporting");c&&d?(b=jb(b||{}),b.eventType=a,(a=Re(377,b))&&Hd().reportEvents([a])):zd(a,b,1)}},Re=function(a,b){var c=Wd[a];return m(c)?Te(c,b):null},Te=function(a,b){return{unifiedReportingEvent:{type:"CUSTOM_EVENT",name:a,videoName:"",trigger:"Counter"},
count:1,time:0,data:[b]}},T=function(a,b){return function(){try{return b.apply(this,arguments)}catch(c){Se(a,c,1)}}};var Ue=null,Ve=function(){var a;if(!Ue)a:{for(var b=[l.top],c=[],d=0,e;e=b[d++];){c.push(e);try{if(e.frames)for(var f=e.frames.length,h=0;h<f&&1024>b.length;++h)b.push(e.frames[h])}catch(t){}}for(b=0;b<c.length;b++)try{a=c[b].frames.google_esf;var k;if(k=a)try{k=!!a&&null!=a.location.href&&ma(a,"foo")}catch(t){k=!1}if(k){Ue=a;break a}}catch(t){}Ue=null}a=Ue;if(!a)return null;(c=a.esf_winPropArray)||(c=a.esf_winPropArray=[]);for(a=0;a<c.length;a++)if(c[a].window==C)return c[a].store;a={};a.window=
C;a.store={};Array.prototype.push.call(c,a);return a.store};var $d=function(a){a=String(a);if(/^\s*$/.test(a)?0:/^[\],:{}\s\u2028\u2029]*$/.test(a.replace(/\\["\\\/bfnrtu]/g,"@").replace(/(?:"[^"\\\n\r\u2028\u2029\x00-\x08\x0a-\x1f]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?)[\s\u2028\u2029]*(?=:|,|]|}|$)/g,"]").replace(/(?:^|:|,)(?:[\s\u2028\u2029]*\[)+/g,"")))try{return eval("("+a+")")}catch(b){}throw Error("Invalid JSON string: "+a);},Ye=function(a){var b=[];We(new Xe,a,b);return b.join("")},Xe=function(){this.Ud=void 0},We=function(a,b,c){if(null==
b)c.push("null");else{if("object"==typeof b){if(n(b)){var d=b;b=d.length;c.push("[");for(var e="",f=0;f<b;f++)c.push(e),e=d[f],We(a,a.Ud?a.Ud.call(d,String(f),e):e,c),e=",";c.push("]");return}if(b instanceof String||b instanceof Number||b instanceof Boolean)b=b.valueOf();else{c.push("{");f="";for(d in b)Object.prototype.hasOwnProperty.call(b,d)&&(e=b[d],"function"!=typeof e&&(c.push(f),Ze(d,c),c.push(":"),We(a,a.Ud?a.Ud.call(b,d,e):e,c),f=","));c.push("}");return}}switch(typeof b){case "string":Ze(b,
c);break;case "number":c.push(isFinite(b)&&!isNaN(b)?String(b):"null");break;case "boolean":c.push(String(b));break;case "function":c.push("null");break;default:throw Error("Unknown type: "+typeof b);}}},$e={'"':'\\"',"\\":"\\\\","/":"\\/","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\x0B":"\\u000b"},af=/\uffff/.test("\uffff")?/[\\\"\x00-\x1f\x7f-\uffff]/g:/[\\\"\x00-\x1f\x7f-\xff]/g,Ze=function(a,b){b.push('"',a.replace(af,function(a){var b=$e[a];b||(b="\\u"+(a.charCodeAt(0)|65536).toString(16).substr(1),
$e[a]=b);return b}),'"')};Ub||Vb||I&&ec(11);var bf=function(a,b){this.type=a;this.currentTarget=this.target=b;this.defaultPrevented=this.Rb=!1;this.Lg=!0};bf.prototype.stopPropagation=function(){this.Rb=!0};bf.prototype.preventDefault=function(){this.defaultPrevented=!0;this.Lg=!1};var cf=!I||9<=Number(gc),df=I&&!ec("9");!Vb||ec("528");Ub&&ec("1.9b")||I&&ec("8")||Sb&&ec("9.5")||Vb&&ec("528");Ub&&!ec("8")||I&&ec("9");var ef=Vb?"webkitTransitionEnd":Sb?"otransitionend":"transitionend";var ff=function(a,b){bf.call(this,a?a.type:"");this.relatedTarget=this.currentTarget=this.target=null;this.charCode=this.keyCode=this.button=this.screenY=this.screenX=this.clientY=this.clientX=this.offsetY=this.offsetX=0;this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1;this.ac=this.state=null;if(a){var c=this.type=a.type,d=a.changedTouches?a.changedTouches[0]:null;this.target=a.target||a.srcElement;this.currentTarget=b;var e=a.relatedTarget;e?Ub&&(ma(e,"nodeName")||(e=null)):"mouseover"==c?
e=a.fromElement:"mouseout"==c&&(e=a.toElement);this.relatedTarget=e;null===d?(this.offsetX=Vb||void 0!==a.offsetX?a.offsetX:a.layerX,this.offsetY=Vb||void 0!==a.offsetY?a.offsetY:a.layerY,this.clientX=void 0!==a.clientX?a.clientX:a.pageX,this.clientY=void 0!==a.clientY?a.clientY:a.pageY,this.screenX=a.screenX||0,this.screenY=a.screenY||0):(this.clientX=void 0!==d.clientX?d.clientX:d.pageX,this.clientY=void 0!==d.clientY?d.clientY:d.pageY,this.screenX=d.screenX||0,this.screenY=d.screenY||0);this.button=
a.button;this.keyCode=a.keyCode||0;this.charCode=a.charCode||("keypress"==c?a.keyCode:0);this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.state=a.state;this.ac=a;a.defaultPrevented&&this.preventDefault()}};A(ff,bf);ff.prototype.stopPropagation=function(){ff.m.stopPropagation.call(this);this.ac.stopPropagation?this.ac.stopPropagation():this.ac.cancelBubble=!0};
ff.prototype.preventDefault=function(){ff.m.preventDefault.call(this);var a=this.ac;if(a.preventDefault)a.preventDefault();else if(a.returnValue=!1,df)try{if(a.ctrlKey||112<=a.keyCode&&123>=a.keyCode)a.keyCode=-1}catch(b){}};ff.prototype.Fa=function(){return this.ac};var gf="closure_listenable_"+(1E6*Math.random()|0),hf=function(a){return!(!a||!a[gf])},jf=0;var kf=function(a,b,c,d,e){this.listener=a;this.Td=null;this.src=b;this.type=c;this.Ac=!!d;this.Ad=e;this.key=++jf;this.qc=this.ld=!1},lf=function(a){a.qc=!0;a.listener=null;a.Td=null;a.src=null;a.Ad=null};var mf=function(a){this.src=a;this.O={};this.dd=0};mf.prototype.add=function(a,b,c,d,e){var f=a.toString();a=this.O[f];a||(a=this.O[f]=[],this.dd++);var h=nf(a,b,d,e);-1<h?(b=a[h],c||(b.ld=!1)):(b=new kf(b,this.src,f,!!d,e),b.ld=c,a.push(b));return b};mf.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.O))return!1;var e=this.O[a];b=nf(e,b,c,d);return-1<b?(lf(e[b]),Array.prototype.splice.call(e,b,1),0==e.length&&(delete this.O[a],this.dd--),!0):!1};
var of=function(a,b){var c=b.type;if(!(c in a.O))return!1;var d=a.O[c],e=Ra(d,b),f;(f=0<=e)&&Array.prototype.splice.call(d,e,1);f&&(lf(b),0==a.O[c].length&&(delete a.O[c],a.dd--));return f};mf.prototype.pc=function(a){a=a&&a.toString();var b=0,c;for(c in this.O)if(!a||c==a){for(var d=this.O[c],e=0;e<d.length;e++)++b,lf(d[e]);delete this.O[c];this.dd--}return b};mf.prototype.Hc=function(a,b,c,d){a=this.O[a.toString()];var e=-1;a&&(e=nf(a,b,c,d));return-1<e?a[e]:null};
mf.prototype.hasListener=function(a,b){var c=m(a),d=c?a.toString():"",e=m(b);return eb(this.O,function(a){for(var h=0;h<a.length;++h)if(!(c&&a[h].type!=d||e&&a[h].Ac!=b))return!0;return!1})};var nf=function(a,b,c,d){for(var e=0;e<a.length;++e){var f=a[e];if(!f.qc&&f.listener==b&&f.Ac==!!c&&f.Ad==d)return e}return-1};var pf="closure_lm_"+(1E6*Math.random()|0),qf={},rf=0,U=function(a,b,c,d,e){if(n(b)){for(var f=0;f<b.length;f++)U(a,b[f],c,d,e);return null}c=sf(c);return hf(a)?a.$a(b,c,d,e):tf(a,b,c,!1,d,e)},tf=function(a,b,c,d,e,f){if(!b)throw Error("Invalid event type");var h=!!e,k=uf(a);k||(a[pf]=k=new mf(a));c=k.add(b,c,d,e,f);if(c.Td)return c;d=vf();c.Td=d;d.src=a;d.listener=c;if(a.addEventListener)a.addEventListener(b.toString(),d,h);else if(a.attachEvent)a.attachEvent(wf(b.toString()),d);else throw Error("addEventListener and attachEvent are unavailable.");
rf++;return c},vf=function(){var a=xf,b=cf?function(c){return a.call(b.src,b.listener,c)}:function(c){c=a.call(b.src,b.listener,c);if(!c)return c};return b},yf=function(a,b,c,d,e){if(n(b)){for(var f=0;f<b.length;f++)yf(a,b[f],c,d,e);return null}c=sf(c);return hf(a)?a.Nb(b,c,d,e):tf(a,b,c,!0,d,e)},zf=function(a,b,c,d,e){if(n(b))for(var f=0;f<b.length;f++)zf(a,b[f],c,d,e);else c=sf(c),hf(a)?a.Bb(b,c,d,e):a&&(a=uf(a))&&(b=a.Hc(b,c,!!d,e))&&V(b)},V=function(a){if(ea(a)||!a||a.qc)return!1;var b=a.src;
if(hf(b))return b.Vb(a);var c=a.type,d=a.Td;b.removeEventListener?b.removeEventListener(c,d,a.Ac):b.detachEvent&&b.detachEvent(wf(c),d);rf--;(c=uf(b))?(of(c,a),0==c.dd&&(c.src=null,b[pf]=null)):lf(a);return!0},Af=function(a){if(a)if(hf(a))a.Da&&a.Da.pc("end");else if(a=uf(a)){var b=0,c="end".toString(),d;for(d in a.O)if(!c||d==c)for(var e=a.O[d].concat(),f=0;f<e.length;++f)V(e[f])&&++b}},Bf=function(a,b,c,d,e){c=sf(c);d=!!d;return hf(a)?a.Hc(b,c,d,e):a?(a=uf(a))?a.Hc(b,c,d,e):null:null},wf=function(a){return a in
qf?qf[a]:qf[a]="on"+a},Df=function(a,b,c,d){var e=!0;if(a=uf(a))if(b=a.O[b.toString()])for(b=b.concat(),a=0;a<b.length;a++){var f=b[a];f&&f.Ac==c&&!f.qc&&(f=Cf(f,d),e=e&&!1!==f)}return e},Cf=function(a,b){var c=a.listener,d=a.Ad||a.src;a.ld&&V(a);return c.call(d,b)},xf=function(a,b){if(a.qc)return!0;if(!cf){var c=b||aa("window.event"),d=new ff(c,this),e=!0;if(!(0>c.keyCode||void 0!=c.returnValue)){a:{var f=!1;if(0==c.keyCode)try{c.keyCode=-1;break a}catch(t){f=!0}if(f||void 0==c.returnValue)c.returnValue=
!0}c=[];for(f=d.currentTarget;f;f=f.parentNode)c.push(f);for(var f=a.type,h=c.length-1;!d.Rb&&0<=h;h--){d.currentTarget=c[h];var k=Df(c[h],f,!0,d),e=e&&k}for(h=0;!d.Rb&&h<c.length;h++)d.currentTarget=c[h],k=Df(c[h],f,!1,d),e=e&&k}return e}return Cf(a,new ff(b,this))},uf=function(a){a=a[pf];return a instanceof mf?a:null},Ef="__closure_events_fn_"+(1E9*Math.random()>>>0),sf=function(a){if(r(a))return a;a[Ef]||(a[Ef]=function(b){return a.handleEvent(b)});return a[Ef]};var W=function(){R.call(this);this.Da=new mf(this);this.fh=this;this.cf=null};A(W,R);W.prototype[gf]=!0;g=W.prototype;g.addEventListener=function(a,b,c,d){U(this,a,b,c,d)};g.removeEventListener=function(a,b,c,d){zf(this,a,b,c,d)};
g.dispatchEvent=function(a){var b,c=this.cf;if(c)for(b=[];c;c=c.cf)b.push(c);var c=this.fh,d=a.type||a;if(q(a))a=new bf(a,c);else if(a instanceof bf)a.target=a.target||c;else{var e=a;a=new bf(d,c);ob(a,e)}var e=!0,f;if(b)for(var h=b.length-1;!a.Rb&&0<=h;h--)f=a.currentTarget=b[h],e=Ff(f,d,!0,a)&&e;a.Rb||(f=a.currentTarget=c,e=Ff(f,d,!0,a)&&e,a.Rb||(e=Ff(f,d,!1,a)&&e));if(b)for(h=0;!a.Rb&&h<b.length;h++)f=a.currentTarget=b[h],e=Ff(f,d,!1,a)&&e;return e};
g.i=function(){W.m.i.call(this);this.Da&&this.Da.pc(void 0);this.cf=null};g.$a=function(a,b,c,d){return this.Da.add(String(a),b,!1,c,d)};g.Nb=function(a,b,c,d){return this.Da.add(String(a),b,!0,c,d)};g.Bb=function(a,b,c,d){return this.Da.remove(String(a),b,c,d)};g.Vb=function(a){return of(this.Da,a)};
var Ff=function(a,b,c,d){b=a.Da.O[String(b)];if(!b)return!0;b=b.concat();for(var e=!0,f=0;f<b.length;++f){var h=b[f];if(h&&!h.qc&&h.Ac==c){var k=h.listener,t=h.Ad||h.src;h.ld&&a.Vb(h);e=!1!==k.call(t,d)&&e}}return e&&0!=d.Lg};W.prototype.Hc=function(a,b,c,d){return this.Da.Hc(String(a),b,c,d)};W.prototype.hasListener=function(a,b){return this.Da.hasListener(m(a)?String(a):void 0,b)};var Gf=function(a,b,c){this.ri=c;this.th=a;this.Ji=b;this.Pd=0;this.Bd=null};Gf.prototype.get=function(){var a;0<this.Pd?(this.Pd--,a=this.Bd,this.Bd=a.next,a.next=null):a=this.th();return a};Gf.prototype.put=function(a){this.Ji(a);this.Pd<this.ri&&(this.Pd++,a.next=this.Bd,this.Bd=a)};var Hf=function(a){l.setTimeout(function(){throw a;},0)},If,Jf=function(){var a=l.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!G("Presto")&&(a=function(){var a=document.createElement("IFRAME");a.style.display="none";a.src="";document.documentElement.appendChild(a);var b=a.contentWindow,a=b.document;a.open();a.write("");a.close();var c="callImmediate"+Math.random(),d="file:"==b.location.protocol?"*":b.location.protocol+"//"+b.location.host,
a=v(function(a){if(("*"==d||a.origin==d)&&a.data==c)this.port1.onmessage()},this);b.addEventListener("message",a,!1);this.port1={};this.port2={postMessage:function(){b.postMessage(c,d)}}});if("undefined"!==typeof a&&!G("Trident")&&!G("MSIE")){var b=new a,c={},d=c;b.port1.onmessage=function(){if(m(c.next)){c=c.next;var a=c.Of;c.Of=null;a()}};return function(a){d.next={Of:a};d=d.next;b.port2.postMessage(0)}}return"undefined"!==typeof document&&"onreadystatechange"in document.createElement("SCRIPT")?
function(a){var b=document.createElement("SCRIPT");b.onreadystatechange=function(){b.onreadystatechange=null;b.parentNode.removeChild(b);b=null;a();a=null};document.documentElement.appendChild(b)}:function(a){l.setTimeout(a,0)}};var Kf=function(){this.je=this.wc=null},Mf=new Gf(function(){return new Lf},function(a){a.reset()},100);Kf.prototype.add=function(a,b){var c=Mf.get();c.set(a,b);this.je?this.je.next=c:this.wc=c;this.je=c};Kf.prototype.remove=function(){var a=null;this.wc&&(a=this.wc,this.wc=this.wc.next,this.wc||(this.je=null),a.next=null);return a};var Lf=function(){this.next=this.scope=this.Fe=null};Lf.prototype.set=function(a,b){this.Fe=a;this.scope=b;this.next=null};
Lf.prototype.reset=function(){this.next=this.scope=this.Fe=null};var Rf=function(a,b){Nf||Of();Pf||(Nf(),Pf=!0);Qf.add(a,b)},Nf,Of=function(){if(l.Promise&&l.Promise.resolve){var a=l.Promise.resolve(void 0);Nf=function(){a.then(Sf)}}else Nf=function(){var a=Sf;!r(l.setImmediate)||l.Window&&l.Window.prototype&&!G("Edge")&&l.Window.prototype.setImmediate==l.setImmediate?(If||(If=Jf()),If(a)):l.setImmediate(a)}},Pf=!1,Qf=new Kf,Sf=function(){for(var a=null;a=Qf.remove();){try{a.Fe.call(a.scope)}catch(b){Hf(b)}Mf.put(a)}Pf=!1};var Tf=function(a){a.prototype.then=a.prototype.then;a.prototype.$goog_Thenable=!0},Uf=function(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(b){return!1}};var Wf=function(a,b){this.o=0;this.cb=void 0;this.Zb=this.hb=this.aa=null;this.wd=this.ye=!1;if(a!=ba)try{var c=this;a.call(b,function(a){Vf(c,2,a)},function(a){Vf(c,3,a)})}catch(d){Vf(this,3,d)}},Xf=function(){this.next=this.context=this.lc=this.Sc=this.Eb=null;this.jd=!1};Xf.prototype.reset=function(){this.context=this.lc=this.Sc=this.Eb=null;this.jd=!1};var Yf=new Gf(function(){return new Xf},function(a){a.reset()},100),Zf=function(a,b,c){var d=Yf.get();d.Sc=a;d.lc=b;d.context=c;return d};
Wf.prototype.then=function(a,b,c){return $f(this,r(a)?a:null,r(b)?b:null,c)};Tf(Wf);Wf.prototype.cancel=function(a){0==this.o&&Rf(function(){var b=new ag(a);bg(this,b)},this)};
var bg=function(a,b){if(0==a.o)if(a.aa){var c=a.aa;if(c.hb){for(var d=0,e=null,f=null,h=c.hb;h&&(h.jd||(d++,h.Eb==a&&(e=h),!(e&&1<d)));h=h.next)e||(f=h);e&&(0==c.o&&1==d?bg(c,b):(f?(d=f,d.next==c.Zb&&(c.Zb=d),d.next=d.next.next):cg(c),dg(c,e,3,b)))}a.aa=null}else Vf(a,3,b)},fg=function(a,b){a.hb||2!=a.o&&3!=a.o||eg(a);a.Zb?a.Zb.next=b:a.hb=b;a.Zb=b},$f=function(a,b,c,d){var e=Zf(null,null,null);e.Eb=new Wf(function(a,h){e.Sc=b?function(c){try{var e=b.call(d,c);a(e)}catch(z){h(z)}}:a;e.lc=c?function(b){try{var e=
c.call(d,b);!m(e)&&b instanceof ag?h(b):a(e)}catch(z){h(z)}}:h});e.Eb.aa=a;fg(a,e);return e.Eb};Wf.prototype.Xi=function(a){this.o=0;Vf(this,2,a)};Wf.prototype.Yi=function(a){this.o=0;Vf(this,3,a)};
var Vf=function(a,b,c){if(0==a.o){a==c&&(b=3,c=new TypeError("Promise cannot resolve to itself"));a.o=1;var d;a:{var e=c,f=a.Xi,h=a.Yi;if(e instanceof Wf)fg(e,Zf(f||ba,h||null,a)),d=!0;else if(Uf(e))e.then(f,h,a),d=!0;else{if(u(e))try{var k=e.then;if(r(k)){gg(e,k,f,h,a);d=!0;break a}}catch(t){h.call(a,t);d=!0;break a}d=!1}}d||(a.cb=c,a.o=b,a.aa=null,eg(a),3!=b||c instanceof ag||hg(a,c))}},gg=function(a,b,c,d,e){var f=!1,h=function(a){f||(f=!0,c.call(e,a))},k=function(a){f||(f=!0,d.call(e,a))};try{b.call(a,
h,k)}catch(t){k(t)}},eg=function(a){a.ye||(a.ye=!0,Rf(a.Gh,a))},cg=function(a){var b=null;a.hb&&(b=a.hb,a.hb=b.next,b.next=null);a.hb||(a.Zb=null);return b};Wf.prototype.Gh=function(){for(var a=null;a=cg(this);)dg(this,a,this.o,this.cb);this.ye=!1};
var dg=function(a,b,c,d){if(3==c&&b.lc&&!b.jd)for(;a&&a.wd;a=a.aa)a.wd=!1;if(b.Eb)b.Eb.aa=null,ig(b,c,d);else try{b.jd?b.Sc.call(b.context):ig(b,c,d)}catch(e){jg.call(null,e)}Yf.put(b)},ig=function(a,b,c){2==b?a.Sc.call(a.context,c):a.lc&&a.lc.call(a.context,c)},hg=function(a,b){a.wd=!0;Rf(function(){a.wd&&jg.call(null,b)})},jg=Hf,ag=function(a){Ba.call(this,a)};A(ag,Ba);ag.prototype.name="cancel";var kg=function(a,b){W.call(this);this.Lb=a||1;this.uc=b||l;this.oe=v(this.Ui,this);this.Te=x()};A(kg,W);g=kg.prototype;g.enabled=!1;g.R=null;g.setInterval=function(a){this.Lb=a;this.R&&this.enabled?(this.stop(),this.start()):this.R&&this.stop()};
g.Ui=function(){if(this.enabled){var a=x()-this.Te;0<a&&a<.8*this.Lb?this.R=this.uc.setTimeout(this.oe,this.Lb-a):(this.R&&(this.uc.clearTimeout(this.R),this.R=null),this.dispatchEvent("tick"),this.enabled&&(this.R=this.uc.setTimeout(this.oe,this.Lb),this.Te=x()))}};g.start=function(){this.enabled=!0;this.R||(this.R=this.uc.setTimeout(this.oe,this.Lb),this.Te=x())};g.stop=function(){this.enabled=!1;this.R&&(this.uc.clearTimeout(this.R),this.R=null)};g.i=function(){kg.m.i.call(this);this.stop();delete this.uc};
var lg=function(a,b,c){if(r(a))c&&(a=v(a,c));else if(a&&"function"==typeof a.handleEvent)a=v(a.handleEvent,a);else throw Error("Invalid listener argument");return 2147483647<Number(b)?-1:l.setTimeout(a,b||0)};var mg=function(a,b,c){R.call(this);this.Ve=a;this.Lb=b||0;this.gc=c;this.nh=v(this.xh,this)};A(mg,R);g=mg.prototype;g.Na=0;g.i=function(){mg.m.i.call(this);this.stop();delete this.Ve;delete this.gc};g.start=function(a){this.stop();this.Na=lg(this.nh,m(a)?a:this.Lb)};g.stop=function(){this.rb()&&l.clearTimeout(this.Na);this.Na=0};g.rb=function(){return 0!=this.Na};g.xh=function(){this.Na=0;this.Ve&&this.Ve.call(this.gc)};var ng=function(a){R.call(this);this.gc=a;this.A={}};A(ng,R);var og=[];ng.prototype.$a=function(a,b,c,d){n(b)||(b&&(og[0]=b.toString()),b=og);for(var e=0;e<b.length;e++){var f=U(a,b[e],c||this.handleEvent,d||!1,this.gc||this);if(!f)break;this.A[f.key]=f}return this};ng.prototype.Nb=function(a,b,c,d){return pg(this,a,b,c,d)};var pg=function(a,b,c,d,e,f){if(n(c))for(var h=0;h<c.length;h++)pg(a,b,c[h],d,e,f);else{b=yf(b,c,d||a.handleEvent,e,f||a.gc||a);if(!b)return a;a.A[b.key]=b}return a};
ng.prototype.Bb=function(a,b,c,d,e){if(n(b))for(var f=0;f<b.length;f++)this.Bb(a,b[f],c,d,e);else if(a=Bf(a,b,c||this.handleEvent,d,e||this.gc||this))V(a),delete this.A[a.key];return this};ng.prototype.pc=function(){db(this.A,function(a,b){this.A.hasOwnProperty(b)&&V(a)},this);this.A={}};ng.prototype.i=function(){ng.m.i.call(this);this.pc()};ng.prototype.handleEvent=function(){throw Error("EventHandler.handleEvent not implemented");};var qg=function(){R.call(this);this.pf={}};A(qg,R);qg.prototype.We=null;qg.prototype.connect=function(a){a&&a()};qg.prototype.Oa=function(){return!0};var rg=function(a,b){a.pf.expandable_ad={ra:b,xg:!1}},sg=function(a,b){if(b&&q(a))try{return $d(a)}catch(c){return null}else if(!b&&!q(a))return Ye(a);return a};qg.prototype.i=function(){qg.m.i.call(this);delete this.We;delete this.pf;delete this.ag};/*
 Portions of this code are from MochiKit, received by
 The Closure Authors under the MIT license. All other code is Copyright
 2005-2009 The Closure Authors. All Rights Reserved.
*/
var X=function(a,b){this.Vd=[];this.zg=a;this.$f=b||null;this.Ic=this.Ea=!1;this.cb=void 0;this.tf=this.jh=this.ne=!1;this.ce=0;this.aa=null;this.kd=0};X.prototype.cancel=function(a){if(this.Ea)this.cb instanceof X&&this.cb.cancel();else{if(this.aa){var b=this.aa;delete this.aa;a?b.cancel(a):(b.kd--,0>=b.kd&&b.cancel())}this.zg?this.zg.call(this.$f,this):this.tf=!0;this.Ea||this.dg(new tg)}};X.prototype.Xf=function(a,b){this.ne=!1;ug(this,a,b)};
var ug=function(a,b,c){a.Ea=!0;a.cb=c;a.Ic=!b;vg(a)},xg=function(a){if(a.Ea){if(!a.tf)throw new wg;a.tf=!1}};X.prototype.ra=function(a){xg(this);ug(this,!0,a)};X.prototype.dg=function(a){xg(this);ug(this,!1,a)};var zg=function(a,b,c){yg(a,b,null,c)},yg=function(a,b,c,d){a.Vd.push([b,c,d]);a.Ea&&vg(a)};X.prototype.then=function(a,b,c){var d,e,f=new Wf(function(a,b){d=a;e=b});yg(this,d,function(a){a instanceof tg?f.cancel():e(a)});return f.then(a,b,c)};Tf(X);
var Ag=function(a,b){b instanceof X?zg(a,v(b.mh,b)):zg(a,function(){return b})};X.prototype.mh=function(a){var b=new X;yg(this,b.ra,b.dg,b);a&&(b.aa=this,this.kd++);return b};
var Bg=function(a){return Ua(a.Vd,function(a){return r(a[1])})},vg=function(a){if(a.ce&&a.Ea&&Bg(a)){var b=a.ce,c=Cg[b];c&&(c.Kg(),delete Cg[b]);a.ce=0}a.aa&&(a.aa.kd--,delete a.aa);for(var b=a.cb,d=c=!1;a.Vd.length&&!a.ne;){var e=a.Vd.shift(),f=e[0],h=e[1],e=e[2];if(f=a.Ic?h:f)try{var k=f.call(e||a.$f,b);m(k)&&(a.Ic=a.Ic&&(k==b||k instanceof Error),a.cb=b=k);if(Uf(b)||"function"===typeof l.Promise&&b instanceof l.Promise)d=!0,a.ne=!0}catch(t){b=t,a.Ic=!0,Bg(a)||(c=!0)}}a.cb=b;d&&(k=v(a.Xf,a,!0),
d=v(a.Xf,a,!1),b instanceof X?(yg(b,k,d),b.jh=!0):b.then(k,d));c&&(b=new Dg(b),Cg[b.Na]=b,a.ce=b.Na)},wg=function(){Ba.call(this)};A(wg,Ba);wg.prototype.message="Deferred has already fired";wg.prototype.name="AlreadyCalledError";var tg=function(){Ba.call(this)};A(tg,Ba);tg.prototype.message="Deferred was canceled";tg.prototype.name="CanceledError";var Dg=function(a){this.Na=l.setTimeout(v(this.Ti,this),0);this.Dh=a};Dg.prototype.Ti=function(){delete Cg[this.Na];throw this.Dh;};Dg.prototype.Kg=function(){l.clearTimeout(this.Na)};
var Cg={};var Eg={1:"NativeMessagingTransport",2:"FrameElementMethodTransport",3:"IframeRelayTransport",4:"IframePollingTransport",5:"FlashTransport",6:"NixTransport",7:"DirectTransport"},Fg=["pu","lru","pru","lpu","ppu"],Gg={},Ig=function(){for(var a=10,b=Hg,c=b.length,d="";0<a--;)d+=b.charAt(Math.floor(Math.random()*c));return d},Hg="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";var Jg=function(a){R.call(this);this.sa=a||lc()};A(Jg,R);Jg.prototype.cd=0;Jg.prototype.getType=function(){return this.cd};Jg.prototype.fc=function(){return this.sa.fc()};Jg.prototype.getName=function(){return Eg[String(this.cd)]||""};var Lg=function(a,b,c,d,e){Jg.call(this,c);this.s=a;this.oc=e||2;this.df=b||"*";this.Gb=new ng(this);this.Nc=new kg(100,this.fc());this.af=!!d;this.xb=new X;this.yb=new X;this.jb=new X;this.Ah=Ig();this.Rd=null;this.af?1==Kg(this.s)?Ag(this.jb,this.xb):Ag(this.jb,this.yb):(Ag(this.jb,this.xb),2==this.oc&&Ag(this.jb,this.yb));zg(this.jb,this.Bi,this);this.jb.ra(!0);this.Gb.$a(this.Nc,"tick",this.tg)};A(Lg,Jg);Lg.prototype.ma=null;Lg.prototype.og=!1;Lg.prototype.cd=1;var Mg={};Lg.prototype.Yc=0;
var Og=function(a){var b=a.Fa().data;if(!q(b))return!1;var c=b.indexOf("|"),d=b.indexOf(":");if(-1==c||-1==d)return!1;var e=b.substring(0,c),c=b.substring(c+1,d),b=b.substring(d+1);if(d=Gg[e])return d.Cf(c,b,a.Fa().origin),!0;var d=Ng(b)[0],f;for(f in Gg)if(a=Gg[f],1==Kg(a)&&!a.Oa()&&"tp"==c&&("SETUP"==d||"SETUP_NTPV2"==d))return f=a,delete Gg[f.name],f.name=e,Gg[e]=f,a.Cf(c,b),!0;return!1},Pg=function(a){if(2==a.oc&&(null==a.ma||2==a.ma)){var b;b="SETUP_NTPV2,"+a.Ah;a.send("tp",b)}null!=a.ma&&1!=
a.ma||a.send("tp","SETUP")},Qg=function(a,b){if(2!=a.oc||null!=a.ma&&2!=a.ma||2!=b){if(null!=a.ma&&1!=a.ma||1!=b)return;a.send("tp","SETUP_ACK")}else a.send("tp","SETUP_ACK_NTPV2");a.yb.Ea||a.yb.ra(!0)},Rg=function(a,b){b>a.ma&&(a.ma=b);1==a.ma&&(a.yb.Ea||a.af||a.yb.ra(!0),a.Rd=null)};g=Lg.prototype;g.connect=function(){var a=this.fc(),b=ha(a),c=Mg[b];ea(c)||(c=0);0==c&&U(a.postMessage?a:a.document,"message",Og,!1,Lg);Mg[b]=c+1;this.og=!0;this.tg()};
g.tg=function(){var a=0==Kg(this.s);this.af&&a||this.s.Oa()||this.ca?this.Nc.stop():(this.Nc.start(),Pg(this))};g.send=function(a,b){var c=this.s.ub;c&&(this.send=function(a,b){var f=this,h=this.s.name;this.Yc=lg(function(){f.Yc=0;try{var k=c.postMessage?c:c.document;k.postMessage&&k.postMessage(h+"|"+a+":"+b,f.df)}catch(t){}},0)},this.send(a,b))};
g.Bi=function(){var a=this.s,b=1==this.oc||1==this.ma?200:void 0;a.Oa()||a.kb&&a.kb.rb()||(a.o=2,ge(a.kb),m(b)?(a.kb=new mg(a.pe,b),a.kb.start()):(a.kb=null,a.pe()))};
g.i=function(){if(this.og){var a=this.fc(),b=ha(a),c=Mg[b];Mg[b]=c-1;1==c&&zf(a.postMessage?a:a.document,"message",Og,!1,Lg)}this.Yc&&(l.clearTimeout(this.Yc),this.Yc=0);ge(this.Gb);delete this.Gb;ge(this.Nc);delete this.Nc;this.xb.cancel();delete this.xb;this.yb.cancel();delete this.yb;this.jb.cancel();delete this.jb;delete this.send;Lg.m.i.call(this)};var Ng=function(a){a=a.split(",");a[1]=a[1]||null;return a};var Tg=function(a,b){qg.call(this);for(var c=0,d;d=Fg[c];c++)if(d in a&&!/^https?:\/\//.test(a[d]))throw Error("URI "+a[d]+" is invalid for field "+d);this.Y=a;this.name=this.Y.cn||Ig();this.sa=b||lc();this.od=[];this.ef=new ng(this);a.lpu=a.lpu||Jd(this.sa.fc().location.href)+"/robots.txt";a.ppu=a.ppu||Jd(a.pu||"")+"/robots.txt";Gg[this.name]=this;Bf(window,"unload",Sg)||yf(window,"unload",Sg)};A(Tg,qg);var Ug=/^%*tp$/,Vg=/^%+tp$/;g=Tg.prototype;g.kb=null;g.Pb=null;g.S=null;g.o=1;
g.Oa=function(){return 2==this.o};g.ub=null;g.Dd=null;g.getConfig=function(){return this.Y};g.connect=function(a){this.pe=a||ba;3==this.o&&(this.o=1);this.Pb?zg(this.Pb,this.Wf):this.Wf()};
g.Wf=function(){this.Pb=null;if(this.Y.ifrid){var a=this.Y.ifrid;this.Dd=q(a)?this.sa.U.getElementById(a):a}this.Dd&&((a=this.Dd.contentWindow)||(a=window.frames[this.Y.ifrid]),this.ub=a);if(!this.ub){if(window==window.top)throw Error("CrossPageChannel: Can't connect, peer window-object not set.");this.ub=window.parent}if(!this.S){this.Y.tp||(this.Y.tp=r(document.postMessage)||r(window.postMessage)||I&&window.postMessage?1:Ub?2:I&&this.Y.pru?3:4);switch(this.Y.tp){case 1:this.S=new Lg(this,this.Y.ph,
this.sa,!!this.Y.osh,this.Y.nativeProtocolVersion||2);break;case 6:this.S=null;break;case 2:this.S=null;break;case 3:this.S=null;break;case 4:this.S=null}if(!this.S)throw Error("CrossPageChannel: No suitable transport found!");}for(this.S.connect();0<this.od.length;)this.od.shift()()};g.close=function(){this.Pb&&(this.Pb.cancel(),this.Pb=null);this.od.length=0;this.ef.pc();this.o=3;ge(this.S);this.pe=this.S=null;ge(this.kb);this.kb=null};
g.send=function(a,b){if(this.Oa()){var c;try{c=!!this.ub&&!this.ub.closed}catch(d){c=!1}c?(u(b)&&(b=Ye(b)),this.S.send(Wg(a),b)):this.close()}};
g.Cf=function(a,b,c){if(this.Pb)this.od.push(v(this.Cf,this,a,b,c));else{var d=this.Y.ph;if((Da(null==c?"":String(c))||Da(null==d?"":String(d))||c==this.Y.ph)&&!this.ca&&3!=this.o)if(a&&"tp"!=a)this.Oa()&&(a=a.replace(/%[0-9a-f]{2}/gi,decodeURIComponent),a=Vg.test(a)?a.substring(1):a,a=(c=this.pf[a])?c:this.ag?{ra:w(this.ag,a),xg:u(b)}:null)&&(b=sg(b,a.xg),null!=b&&a.ra(b));else switch(a=this.S,c=Ng(b),b=c[1],c[0]){case "SETUP_ACK":Rg(a,1);a.xb.Ea||a.xb.ra(!0);break;case "SETUP_ACK_NTPV2":2==a.oc&&
(Rg(a,2),a.xb.Ea||a.xb.ra(!0));break;case "SETUP":Rg(a,1);Qg(a,1);break;case "SETUP_NTPV2":2==a.oc&&(c=a.ma,Rg(a,2),Qg(a,2),1!=c&&null==a.Rd||a.Rd==b||Pg(a),a.Rd=b)}}};var Wg=function(a){Ug.test(a)&&(a="%"+a);return a.replace(/[%:|]/g,encodeURIComponent)},Kg=function(a){var b=a.Y.role;return ea(b)?b:window.parent==a.ub?1:0};Tg.prototype.i=function(){this.close();this.Dd=this.ub=null;delete Gg[this.name];ge(this.ef);delete this.ef;Tg.m.i.call(this)};var Sg=function(){for(var a in Gg)ge(Gg[a])};var Xg=function(a,b){var c=a.match("[?&#]"+b+"=([^&#]*)");return c?decodeURIComponent(c[1]):void 0},Yg=function(a,b,c){return[b?"google_debug"+(c?"="+c:"")+"&":"","xpc=",a,"&p=",encodeURIComponent(l.document.location.protocol),"//",encodeURIComponent(l.document.location.host)].join("")},Zg=function(a,b,c){c=c?encodeURIComponent:function(a){return a};var d=pa(l.document.URL),e=0<d.length;return a+(-1==a.indexOf(c("?"))?c("?"):c("&"))+c(Yg(b,e,d))},$g=function(a){return(a||l.document.location.protocol+
"//"+l.document.location.host)+"/robots.txt"};var ah=[],bh=function(a){try{var b=Kc(C.document.documentElement);b.width-=2;b.height-=2;var c=Kc(a),d=0<a.contentDocument.body.children.length||0<a.contentDocument.head.children.length;return b.width<=c.width&&b.height<=c.height&&d}catch(e){return!1}},ch=function(a,b,c){F(B.getElementsByTagName("iframe"),function(d){bh(d)?ah.push(U(d.contentDocument.body,a,b,c,void 0)):ah.push(U(d,"load",function(){bh(d)&&ah.push(U(d.contentDocument.body,a,b,c,void 0))}))})};var dh=G("Firefox"),eh=G("Safari")&&!((G("Chrome")||G("CriOS"))&&!tb()&&!G("Edge")||G("Coast")||tb()||G("Edge")||G("Silk")||G("Android"))&&!(G("iPhone")&&!G("iPod")&&!G("iPad")||G("iPad")||G("iPod"));var fh=[],gh="touchstart touchend click mousedown mouseup vclick".split(" "),hh=new W,ih=!1,jh=!1,mh=function(){ih||(F(gh,function(a){fh.push(U(B.body,a,function(b){Ff(hh,a,!0,kh(b))},!0));fh.push(U(B.body,a,function(b){Ff(hh,a,!1,kh(b))},!1));ch(a,function(b){jh||Ff(hh,a,!0,kh(b))},!0);ch(a,function(b){jh||Ff(hh,a,!1,kh(b))},!1)}),lh(),ih=!0)},oh=function(a,b,c,d){Wa(gh,a)&&(mh(),a=U(hh,a,b,c,d),nh(d,a))},ph=function(a){null!==a&&"object"==typeof a&&q(a.type)&&Wa(gh,a.type)&&jh&&hh.dispatchEvent(kh(a))},
kh=function(a){a=r(a.Fa)?a:new ff(a);a.target=null;a.srcElement=null;a.currentTarget=null;a.relatedTarget=null;return a},qh=function(a){jh=a},rh=function(a){return r(a.Fa)?a.Fa():a},lh=function(){var a=null,b=null;fh.push(U(hh,"touchstart",function(c){c=rh(c);da(c.touches)&&0!=c.touches.length&&(a=x(),c=c.touches[0],b=new H(c.screenX,c.screenY))}));fh.push(U(hh,"touchend",function(c){if(null!=b&&null!=a&&(c=rh(c),da(c.changedTouches)&&0!=c.changedTouches.length)){c=c.changedTouches[0];var d=new H(c.screenX,
c.screenY),e=vb(b,d),f=x()-a;500>=f&&9>=e&&(e=B.createEvent("CustomEvent"),e.initEvent("vclick",!0,!0),ob(e,{clientX:c.clientX,clientY:c.clientY,Oj:b,Nj:d,duration:f}),hh.dispatchEvent(e));b=a=null}}))},nh=function(a,b){for(var c=1;c<arguments.length;c++)da(arguments[c])?w(nh,a).apply(this,arguments[c]):function(b){fe(a,function(){V(b)})}(arguments[c])};var sh=function(){this.Xd={}},uh=function(a,b,c){var d;if(u(c)){var e;"touchend"==c.type||"touchcancel"==c.type?c.changedTouches&&0<c.changedTouches.length?(d=c.changedTouches[0].clientX,e=c.changedTouches[0].clientY):r(c.Fa)&&(c=c.Fa(),c.changedTouches&&0<c.changedTouches.length&&(d=c.changedTouches[0].clientX,e=c.changedTouches[0].clientY)):(e=Hc(c),d=e.x,e=e.y);d=m(d)&&m(e)?d+","+e:""}else d=c+"";d&&(a.Xd[b]=d)},wh=function(a){var b={};Rc(a.Xd,v(function(a,d){vh(d)&&(b[d]=a)},a));return b},vh=
function(a){var b=O().JS_SPAM_SIGNALS;a=xh[a];return m(a)&&null!=b&&(b&a)==a},xh={zcf:8192,zcr:16384,clkt:16,zbq:262144,gcf:32768,gcr:65536,gq:4096,gv:524288};var yh=function(a){W.call(this);this.Ia=!1;this.sb=this.aboutToExpandCallback=this.expansionCallback=null;this.kc=a.kc;this.te=a.cg;this.Df=a.bh;this.We=null;this.Kf=a.gh||a.cg;this.Kf>this.te&&(this.Kf=this.te);var b=B.body;this.fg=B.createElement("div");b.appendChild(this.fg);this.ha=0;this.ea=new sh;this.Lc=a.oi;this.$=a.Xa;this.mb=0};A(yh,W);g=yh.prototype;g.i=function(){K(this.fg);ge(this.sb);this.sb=null;yh.m.i.call(this)};
g.remove=function(){if(4==this.ha||0==this.ha)this.ea.Xd={};this.dispatchEvent(new bf("removed",this))};g.ud=function(){return this.mb};g.jg=function(){return wh(this.ea)};g.getContext=function(){return this.ha};var Ah=function(a,b){Wa(zh[a.ha],b)||Ad("notifierContextTransitionError",{old:a.ha,"new":b,not:a.kc});a.ha=b;a.Lc&&(1==a.ha?a.Lc.xa("notifierstart"):2==a.ha&&a.Lc.xa("notifiercompleted"))};g=yh.prototype;g.rb=function(){return 1==this.ha};g.Fd=function(){return 1==this.ha||2==this.ha};
g.isExpanded=function(){return 3==this.ha};g.Tb=function(a){Ah(this,a?3:0);this.remove()};g.ec=function(){return this.te};g.Jb=function(){return this.kc};var Bh=function(a){a.Ia&&a.expansionCallback&&(Ah(a,2),a.remove(),a.expansionCallback(),a.expansionCallback=null)};yh.prototype.Cg=function(){this.aboutToExpandCallback&&(Wa(zh[this.ha],2)&&this.aboutToExpandCallback(),this.aboutToExpandCallback=null);this.Lc&&this.Lc.xa("abouttoexpand")};var zh={0:[1],1:[2,4],4:[0],2:[3],3:[0]};var Ch=function(a,b){this.ng=this.tc=0;this.bd=this.Ua=null;this.Zd=0;this.tc=0<a?a:0;this.ng=b&&0<b&&b<this.tc?this.tc-b:0};Ch.prototype.start=function(a,b,c){null!==this.Ua||null!==this.bd||0>=this.tc||(this.Zd=x(),this.Ua=lg(b,this.tc,a),c&&(this.bd=lg(c,this.ng,a)))};Ch.prototype.clear=function(){null!==this.Ua&&(l.clearTimeout(this.Ua),this.Ua=null);null!==this.bd&&(l.clearTimeout(this.bd),this.bd=null);this.Zd=0};
var Dh=function(a){return a.Zd?x()-a.Zd:0},Eh=function(a){var b=Dh(a);return Math.max(0,a.tc-b)};var Fh=function(a){yh.call(this,a);this.jc=0;this.wb=null;this.ge=new Ch(50);a=B.body;m(B.body.onmouseenter)&&m(B.body.onmouseleave)&&!eh?nh(this,U(a,"mouseenter",this.Od,!1,this),U(a,"mouseleave",this.Nd,!1,this)):nh(this,U(a,"mouseover",this.Od,!0,this),U(a,"mouseout",this.Nd,!0,this))};A(Fh,yh);g=Fh.prototype;g.Od=function(a){this.jc||(this.jc=x(),a&&(uh(this.ea,"zcf",a),uh(this.ea,"zcr",a)))};g.i=function(){K(this.wb);this.wb=null;Fh.m.i.call(this)};g.Nd=function(){this.jc=0};
g.remove=function(){Fh.m.remove.call(this);this.Ia=!1};g.Tb=function(a){Fh.m.Tb.call(this,a);var b=Q("lb_reexpand_overlay");!a&&C.innerWidth&&(Ub||b)&&(this.wb=document.createElement("div"),Bc(this.wb,{position:"absolute",width:C.innerWidth+"px",height:C.innerHeight+"px",opacity:0,top:0,zIndex:999999}),U(this.wb,"mouseover",function(){B.body.removeChild(this.wb);this.wb=null},!0,this),B.body.appendChild(this.wb))};
g.start=function(a,b){this.ge.clear();this.Ia?this.Dg(a,b):this.ge.start(this,w(this.Dg,a,b))};g.Dg=function(a,b){this.ge.clear();this.mb=0;this.Ia&&(this.expansionCallback=a,this.aboutToExpandCallback=b,Ah(this,1),this.Ff())};var Gh=function(a){Fh.call(this,a);this.Ec=new Ch(3E3);oh("mousedown",this.Ye,!0,this);this.kc="DesktopClickToExpand"};A(Gh,Fh);g=Gh.prototype;g.i=function(){this.Ec.clear();Gh.m.i.call(this)};g.Ye=function(){this.isExpanded()||(this.Ia=!0,this.Ec.clear(),this.Ec.start(this,this.Ih))};g.Ih=function(){this.Ia=!1};g.dc=function(){return 29};g.remove=function(){Gh.m.remove.call(this);this.Ec.clear()};g.Ff=function(){this.Ec.clear();this.mb=1;Bh(this)};var Hh=function(){var a=O().IS_MOBILE_APP_REQUEST;m(a)||(a=m(C.mraid));return a};var Ih=function(a,b,c,d,e){R.call(this);this.wg=c;this.mi=d;this.Hi=e;a=q("engagement_css_link")?document.getElementById("engagement_css_link"):"engagement_css_link";u(a)&&1==a.nodeType||(a=B.getElementsByTagName("head"),a=0<a.length?a[0]:B.body.parentNode.appendChild(B.createElement("head")),b=B.createElement("link"),b.rel="stylesheet",b.type="text/css",b.href=O().ENGAGEMENT_CSS_URL||"//pagead2.googlesyndication.com/pagead/css/engagement.css",b.id="engagement_css_link",a.appendChild(b),b=B.createElement("link"),
b.rel="stylesheet",b.type="text/css",b.href="//fonts.googleapis.com/css?family=Roboto:300,400,500,700",a.appendChild(b));a=B.createElement("div");Yc(a,["progressbar-notifier","container","off",this.mi?"rtl":"ltr"]);0==this.Hi&&Xc(a,"desktop");this.Pg(a);b=B.createElement("span");b.className="spanner";c=B.createTextNode(" ");d=B.createElement("div");d.className="overlay overlay1";e=B.createElement("div");e.className="overlay overlay2";var f=B.createElement("div");f.className="viz";var h=B.createElement("div");
h.className="notifier-text";var k=B.createTextNode(this.wg?this.wg:"Expanding..."),t=B.createElement("div");t.className="progbar-container";var z=B.createElement("div");z.className="progbar-border";var p=B.createElement("div");p.className="progbar";B.body.appendChild(a);a.appendChild(b);b.appendChild(c);a.appendChild(d);a.appendChild(e);a.appendChild(f);f.appendChild(h);h.appendChild(k);f.appendChild(t);t.appendChild(z);t.appendChild(p);a={container:a,overlay:d};this.md=a.container;this.Ei=a.overlay;
this.Ab=null;nh(this,U(C,"resize",w(this.Pg,this.md),!1,this))};A(Ih,R);var $c={xj:"off",yj:"on",cj:"cancel"};Ih.prototype.i=function(){K(this.md);Ih.m.i.call(this)};var Jh=function(a,b){ad(a.md);Xc(a.md,b)},Kh=function(a){null!=a.Ab&&(V(a.Ab),a.Ab=null);Jh(a,"on")},Lh=function(a,b){var c=v(function(){null!=this.Ab&&Lh(this,0)},a);b&&4==b?(Jh(a,"cancel"),null==a.Ab&&(a.Ab=yf(a.Ei,ef,c,!1,a))):(V(a.Ab),a.Ab=null,Jh(a,"off"))};
Ih.prototype.Pg=function(a){if(Hh()){var b=oc().height;0>=b&&(b=window.innerHeight);a.style.height=Ec(b,!0)}};var Mh=function(a){Fh.call(this,a);this.Oc=0;this.Pc=null;this.da=new Ch(this.ec(),this.Df);oh("mousedown",this.Ye,!0,this);oh("mouseup",this.xi,!0,this);this.sb=new Ih(0,0,a.gg||"Expanding...",O().EXPANSION_RIGHT_TO_LEFT||!1,0)};A(Mh,Fh);g=Mh.prototype;g.i=function(){V(this.Pc);this.Pc=null;Mh.m.i.call(this)};g.Ye=function(){this.isExpanded()||(this.Oc=x())};
g.xi=function(){if(!this.isExpanded()&&this.Oc&&this.rb()){this.da.clear();this.mb=3;var a=this.jc?x()-this.jc:0,b=x()-this.Oc;uh(this.ea,"zbq",a);uh(this.ea,"clkt",b);this.Oc=0;Bh(this)}};g.Od=function(a){Mh.m.Od.call(this,a);this.Ia=!0};g.Nd=function(){this.jc&&x();Mh.m.Nd.call(this);this.Ia=!1;this.ge.clear();var a=this.rb();a&&Ah(this,4);this.da.clear();this.remove();a&&Ah(this,0)};g.wi=function(a){a&&uh(this.ea,"zcr",a)};g.dc=function(){return 30};
g.remove=function(){Mh.m.remove.call(this);this.da.clear();this.Oc=0;Lh(this.sb,this.getContext());V(this.Pc);this.Pc=null};g.gf=function(){this.mb=2;Bh(this)};g.Ff=function(){this.da.start(this,this.gf,this.Cg);Kh(this.sb);if(vh("zcf")||vh("zcr"))this.Pc=U(B.body,"mousemove",this.wi,!0,this)};var Nh=function(a){yh.call(this,a);this.Ja=this.fa=0;oh("touchstart",this.Af,!0,this);oh("touchend",this.zf,!0,this)};A(Nh,yh);g=Nh.prototype;g.start=function(a){!Q("stricter_mobile_taps")||0!=this.fa&&0!=this.Ja?(Ah(this,1),this.expansionCallback=a,this.Ia=!0,Bh(this)):Ad("noTouchStartEndPair",{notifier:"InstantlyEngage"},1)};g.remove=function(){Nh.m.remove.call(this);this.Ja=this.fa=0};g.dc=bd(29);g.ud=function(){return 4};g.ec=bd(0);g.Jb=bd("InstantlyEngage");
g.Af=function(a){this.isExpanded()||(this.fa=x(),this.Ja=0,uh(this.ea,"gcf",a))};g.zf=function(a){!this.isExpanded()&&this.fa&&(this.Ja=x(),this.fa&&(uh(this.ea,"gq",this.Ja-this.fa),uh(this.ea,"gcr",a)))};var Oh=function(a){yh.call(this,a);this.Ai=a.kc};A(Oh,yh);g=Oh.prototype;g.start=function(){};g.remove=ba;g.Fd=cd;g.Tb=ba;g.dc=bd(32);g.ec=bd(Infinity);g.Jb=function(){return this.Ai};var Ph=function(){W.call(this)};A(Ph,W);g=Ph.prototype;g.remove=ba;g.Fd=cd;g.start=function(a){a()};g.Tb=function(){};g.dc=function(){return 32};g.ud=function(){return 1};g.Jb=function(){return"NoOp"};g.ec=function(){return 0};g.jg=dd;var Qh=function(a){yh.call(this,a);this.Ja=this.fa=0;this.da=new Ch(this.ec(),this.Df);oh("touchstart",this.Af,!0,this);oh("touchend",this.zf,!0,this);var b=O().EXPANSION_RIGHT_TO_LEFT||!1;a=a.gg||"Tap to cancel";this.sb=new Ih(0,0,a+"...",b,1)};A(Qh,yh);g=Qh.prototype;g.i=function(){this.da.clear();Qh.m.i.call(this)};g.dc=function(){return 29};g.remove=function(){Qh.m.remove.call(this);this.da.clear();Lh(this.sb,this.getContext());this.Ia=!1;this.Ja=this.fa=0};
g.Af=function(a){this.isExpanded()||(this.fa=x(),this.rb()&&null!==this.da.Ua&&0<Eh(this.da)?(this.da.clear(),Ah(this,4),this.remove(),Ah(this,0),a.preventDefault?a.preventDefault():a.returnValue=!1,a.stopPropagation()):uh(this.ea,"gcf",a))};g.zf=function(a){!this.isExpanded()&&this.fa&&(this.Ja=x(),uh(this.ea,"gcr",a),uh(this.ea,"gq",this.Ja-this.fa),Q("stricter_mobile_taps")||(this.fa=0))};g.gf=function(){8!=this.ud()&&(this.mb=5);var a={};ob(a,this.ea.Xd);a.scproglen=Dh(this.da);this.Ia=!0;Bh(this)};
g.Oi=ed(function(){var a;if(!(a=jh))a:{a=B.getElementsByTagName("iframe");for(var b=0,c;c=a[b];b++)if(bh(c)){a=!0;break a}a=!1}return a});g.start=function(a,b){if(!(this.rb()&&null!==this.da.Ua&&0<Eh(this.da))){this.mb=0;if(!this.Oi())this.mb=8;else if(0==this.fa&&0==this.Ja||Q("stricter_mobile_taps")&&(0==this.fa||0==this.Ja)){Ad("noTouchStartEndPair",{notifier:"ProgBarMobile"},1);return}this.expansionCallback=a;this.aboutToExpandCallback=b;Ah(this,1);this.da.start(this,this.gf,this.Cg);Kh(this.sb)}};var Sh=function(a,b,c){switch(a){case "NoOp":a=new Ph;break;case "InstantlyEngage":a=new Nh(Rh(a,b,c));break;case "NeverEngage":a=new Oh(Rh(a,b,c));break;case "DesktopProgressBarHover":a=new Mh(Rh(a,b,c));break;case "DesktopClickToExpand":a=new Gh(Rh(a,b,c));break;case "LargeCanvasEngagement":a=new Oh(Rh(a,b,c));break;case "MobileProgressBarTapToCancelCSS3":a=new Qh(Rh(a,b,c));break;default:var d=P()?"MobileProgressBarTapToCancelCSS3":"DesktopProgressBarHover";Ad("notifierUnknownWarning",{unknownInput:a,
replacedWith:d});return Sh(d,b,c)}return a},Rh=function(a,b,c){var d=O(),e=d.ENGAGEMENT_DELAY_MS;if(!e||0>e)e=2E3;var f=d.ABOUT_TO_EXPAND_TIME_LEFT_MS;if(!f||0>=f||f>=e)f=500;return{kc:a,gg:d.EXPANSION_TEXT,cg:e,gh:e,bh:f,oi:b,Xa:c}};var Th=function(a,b){this.$=a;this.Z=b||null;this.cpeEnabled=T("CT-cpeEnabled",v(this.cpeEnabled,this));this.getClientEnvironment=T("CT-getClientEnvironment",v(this.getClientEnvironment,this));this.getEngagementState=T("CT-getEngagementState",v(this.getEngagementState,this));this.getActiveExperimentLabels=T("CT-getActiveExperimentLabels",v(this.getActiveExperimentLabels,this))};Th.prototype.cpeEnabled=function(){return this.$.cpeEnabled()};
Th.prototype.getClientEnvironment=function(){return{browserClass:this.$.getClientEnvironment().browserClass,language:this.$.getClientEnvironment().language}};Th.prototype.getEngagementState=function(){return this.Z};Th.prototype.getActiveExperimentLabels=function(){return Dd()};var Uh=function(){this.K=null;this.Lh=this.Si=!1;this.Db=this.hd=null},He=function(){return O().ENGAGEMENT_URL||""};Uh.prototype.cpeEnabled=function(){return O().ENABLE_CPE};Uh.prototype.getClientEnvironment=function(){var a=0;P()&&!Hh()?a=1:Hh()&&(a=2);return{browserClass:a,language:O().LANGUAGE}};var Vh=function(){var a=window;return!(!a.history||!a.history.pushState)};if(B&&B.URL){var Wh=!Tc(B.URL);za.sf=Wh};var Xh=function(a,b){this.Aa=a||0;this.qa=b||""};Xh.prototype.match=function(a){return(this.Aa||this.qa)&&(a.Aa||a.qa)?this.qa||a.qa?this.qa==a.qa:this.Aa||a.Aa?this.Aa==a.Aa:!1:!1};Xh.prototype.toString=function(){var a=""+this.Aa;this.qa&&(a+="-"+this.qa);return a};
var Yh=function(a){var b=[];db(a,function(a,d){var e=encodeURIComponent(d),f=a;q(f)&&(f=encodeURIComponent(f));b.push(e+"="+f)});return b.join("\n")},Zh=0,$h=0,ai=function(){var a=0,b=C;try{if(b&&b.Goog_AdSense_getAdAdapterInstance)return b}catch(c){}for(;b&&5>a;){try{if(b.google_osd_static_frame)return b}catch(c){}try{if(b.aswift_0&&b.aswift_0.google_osd_static_frame)return b.aswift_0}catch(c){}a++;b=b!=b.parent?b.parent:null}return null},bi=function(a,b,c,d,e){if(10<$h)C.clearInterval(Zh);else if(++$h,
C.postMessage&&(b.Aa||b.qa)){var f=ai();if(f){var h={};b.Aa&&(h[4]=b.Aa);b.qa&&(h[12]=b.qa);h[0]="goog_request_monitoring";h[6]=a;h[16]=c;d&&d.length&&(h[17]=d.join(","));e&&(h[19]=e);try{var k=Yh(h);f.postMessage(k,"*")}catch(t){}}}};var di=function(a){var b=ci;return function(){var c=this||l,c=c.closure_memoize_cache_||(c.closure_memoize_cache_={}),d=b(ha(a),arguments);return c.hasOwnProperty(d)?c[d]:c[d]=a.apply(this,arguments)}},ci=function(a,b){for(var c=[a],d=b.length-1;0<=d;--d)c.push(typeof b[d],b[d]);return c.join("\x0B")};var ei=function(a){W.call(this);this.sa=a||lc();if(this.eg=this.Mh())this.Eh=U(this.sa.U,this.eg,v(this.Sh,this))};A(ei,W);g=ei.prototype;g.Mh=di(function(){var a=this.isSupported(),b="hidden"!=this.vd();return a?b?((xc()||"")+"visibilitychange").toLowerCase():"visibilitychange":null});g.vd=di(function(){return yc("hidden",this.sa.U)});g.Nh=di(function(){return yc("visibilityState",this.sa.U)});g.isSupported=function(){return!!this.vd()};
g.Sh=function(){var a=this.isSupported()?this.sa.U[this.Nh()]:null,a=new fi(!!this.sa.U[this.vd()],a);this.dispatchEvent(a)};g.i=function(){V(this.Eh);ei.m.i.call(this)};var fi=function(a,b){bf.call(this,"visibilitychange");this.hidden=a;this.visibilityState=b};A(fi,bf);var gi=null,ii=function(a,b){var c=C.mraid;c&&c.addEventListener?(c.addEventListener("viewableChange",v(a,b)),fe(b,function(){c.removeEventListener("viewableChange",v(a,b))})):nh(b,U(hi(),"visibilitychange",a,!1,b))},ji=function(){var a=C.mraid;a&&a.isViewable?a=!a.isViewable():(a=hi(),a=!!a.sa.U[a.vd()]);return a},hi=function(){null===gi&&(gi=new ei);return gi},ki=function(a,b,c){if(c.data){var d=c.data;if(q(d)){c={};for(var d=d.split("\n"),e=0;e<d.length;e++){var f=d[e].indexOf("=");if(!(0>=f)){var h=
Number(d[e].substr(0,f)),f=d[e].substr(f+1);switch(h){case 5:case 8:case 11:case 15:case 16:case 18:f="true"==f;break;case 4:case 7:case 6:case 14:case 20:case 21:case 22:case 23:f=Number(f);break;case 3:case 19:if(r(decodeURIComponent))try{f=decodeURIComponent(f)}catch(k){throw Error("Error: URI malformed: "+f);}break;case 17:f=Ta(decodeURIComponent(f).split(","),Number)}c[h]=f}}c=c[0]?c:null}else c=null;if(c&&(d=new Xh(c[4],c[12]),a&&a.match(d)&&"goog_update_data"==c[0])){a={hd:c[7]};if(c=c[9])c=
c.split("-"),4==c.length&&(a.Db=new zc(Oa(c[0]),Oa(c[3]),Oa(c[2]),Oa(c[1])));b(a)}}};var li=function(a){R.call(this);this.Ig=a;this.sc=null;this.Fb=0;this.Wc=this.Ta=null;this.tb=this.Tc=!1;this.mc=null;this.Ub=0;this.Gd=!1;this.Xc=[];ii(this.Xh,this);ji()&&(this.Tc=!0)};A(li,R);var be=function(a,b){if(!a.tb&&a.Fb<a.sc.length){var c=a.sc[a.Fb].interval-b;0<c?a.Wc=setTimeout(v(a.Ng,a),c):a.Ng()}},Ie=function(a){if(!a.Gd){a.Gd=!0;for(var b=0;b<a.Xc.length;b++)a.Ig(a.sc[b].args,a.Xc[b]);a.Xc=[]}};
li.prototype.Ng=function(){if(null!=this.Ta){var a=x()-this.Ta,b=this.sc[this.Fb].args;!this.Gd&&b.chargeable&&Ie(this);this.Gd?this.Ig(b,a):this.Xc.push(a);this.Fb+=1;be(this,a)}};var ae=function(a){a.tb||(null!=a.Ta?(clearTimeout(a.Wc),a.Wc=null,a.mc=x(),a.tb=!0):a.Tc=!0)};li.prototype.Xh=function(a){(u(a)?a.hidden:!a)?ae(this):(this.Tc=!1,this.tb&&null!=this.Ta&&(this.tb=!1,a=x()-this.mc,this.Ub+=a,this.Ta+=a,this.mc=null,a=x()-this.Ta,be(this,a)))};var mi=function(a,b){R.call(this);this.$=a;this.Sb=new li(v(this.Kh,this));he(this,this.Sb);var c;Oe?c=null:(c=new Ge(this.$,this.Sb,b),Hd().addReporter(c),Oe=!0);this.cc=c;null!=this.cc&&(this.$.Lh=!0,he(this,this.cc))};A(mi,R);mi.prototype.getEngagementState=function(){return null!=this.cc?this.cc.getEngagementState():null};mi.prototype.Zc=function(a){null!=this.cc&&this.cc.Zc(a)};
mi.prototype.Kh=function(a,b){var c={};c.explen=b;if(a.chargeable)ni(this,32,c);else if(m(a.conversionUrl)){var d=new je(a.conversionUrl);ke(d,C.location.protocol);var d=d.toString(),e;a:{if(e=(e=d.match(Id)[3]||null)?decodeURI(e):e)for(var f=0;f<Qe.length;++f){var h=Qe[f],k=String(h).toLowerCase(),h=String(e.substr(e.length-h.length,h.length)).toLowerCase();if(0==(k<h?-1:k==h?0:1)){e=!0;break a}}e=!1}e&&ta(C,d,void 0)}ni(this,a.action,c)};
mi.prototype.setChargeableAction=function(a){!this.ca&&"number"===typeof a&&Wd[a]&&Vd[Wd[a]]&&(a=Wd[a])&&Hd().registerChargeableEventName(a)};var ni=function(a,b,c){!a.ca&&"number"===typeof b&&Wd[b]&&(a=Re(b,c||{}))&&Hd().reportEvents([a])};var oi=function(a){this.bf=a},qi=function(a,b,c,d){pi(a,"ct-error",b,c,d)},Y=function(a,b,c,d){pi(a,"ct-info",b,c,d)},pi=function(a,b,c,d,e){d=jb(d||{});e=e||.01;m(a.bf)&&a.bf(b,c,d,e)||("ct-info"==b?Ad(c,d,e):"ct-error"==b&&zd(c,d,e))};var ri=function(){W.call(this);this.o=0;this.endTime=this.startTime=null};A(ri,W);ri.prototype.Qd=function(){this.ia("begin")};ri.prototype.Rc=function(){this.ia("end")};ri.prototype.ia=function(a){this.dispatchEvent(a)};var si=function(a,b){n(b)||(b=[b]);var c=Ta(b,function(a){return q(a)?a:a.Sd+" "+a.duration+"s "+a.timing+" "+a.pd+"s"});Bc(a,"transition",c.join(","))},ti=ed(function(){if(I)return ec("10.0");var a=document.createElement("DIV"),b=Vb?"-webkit":Ub?"-moz":I?"-ms":Sb?"-o":null,c={transition:"opacity 1s linear"};b&&(c[b+"-transition"]="opacity 1s linear");b={style:c};if(!Nb.test("div"))throw Error("Invalid tag name <div>.");if("DIV"in Pb)throw Error("Tag name <div> is not allowed for SafeHtml.");var c=
null,d,e="<div",f="";if(b)for(d in b){if(!Nb.test(d))throw Error('Invalid attribute name "'+d+'".');var h=b[d];if(null!=h){var k;k=d;if(h instanceof yb)h=zb(h);else if("style"==k.toLowerCase()){if(!u(h))throw Error('The "style" attribute requires goog.html.SafeStyle or map of style properties, '+typeof h+" given: "+h);if(!(h instanceof Bb)){var t="",z=void 0;for(z in h){if(!/^[-_a-zA-Z0-9]+$/.test(z))throw Error("Name allows only [-_a-zA-Z0-9], got: "+z);var p=h[z];if(null!=p){if(p instanceof yb)p=
zb(p);else if(Db.test(p)){for(var J=!0,E=!0,L=0;L<p.length;L++){var th=p.charAt(L);"'"==th&&E?J=!J:'"'==th&&J&&(E=!E)}J&&E||(p="zClosurez")}else p="zClosurez";t+=z+":"+p+";"}}h=t?(new Bb).Ed(t):Cb}t=void 0;h instanceof Bb&&h.constructor===Bb&&h.Yg===Ab?t=h.ff:(ca(h),t="type_error:SafeStyle");h=t}else{if(/^on/i.test(k))throw Error('Attribute "'+k+'" requires goog.string.Const value, "'+h+'" given.');if(k.toLowerCase()in Ob)if(h instanceof Jb)h instanceof Jb&&h.constructor===Jb&&h.ah===Ib?h=h.Eg:(ca(h),
h="type_error:TrustedResourceUrl");else if(h instanceof Fb)h instanceof Fb&&h.constructor===Fb&&h.Zg===Eb?h=h.Qb:(ca(h),h="type_error:SafeUrl");else if(q(h))h instanceof Fb||(h=h.Kb?h.qb():String(h),Gb.test(h)||(h="about:invalid#zClosurez"),h=Hb(h)),h=h.qb();else throw Error('Attribute "'+k+'" on tag "div" requires goog.html.SafeUrl, goog.string.Const, or string, value "'+h+'" given.');}h.Kb&&(h=h.qb());k=k+'="'+Ma(String(h))+'"';f+=" "+k}}d=e+f;e=void 0;null!=e?n(e)||(e=[e]):e=[];!0===wb.div?d+=
">":(c=Rb(e),d+=">"+Mb(c)+"</div>",c=c.Gc());(b=b&&b.dir)&&(c=/^(ltr|rtl|auto)$/i.test(b)?0:null);b=Qb(d,c);a.innerHTML=Mb(b);a=a.firstChild;b=a.style[Pa("transition")];return""!=("undefined"!==typeof b?b:a.style[Ac(a,"transition")]||"")});var ui=function(a,b,c,d,e){ri.call(this);this.Ca=a;this.yh=b;this.hi=c;this.hg=d;this.Wi=n(e)?e:[e]};A(ui,ri);g=ui.prototype;g.play=function(){if(1==this.o)return!1;this.Qd();this.ia("play");this.startTime=x();this.o=1;if(ti())return Bc(this.Ca,this.hi),this.Ua=lg(this.Gi,void 0,this),!0;this.vf(!1);return!1};g.Gi=function(){Kc(this.Ca);si(this.Ca,this.Wi);Bc(this.Ca,this.hg);this.Ua=lg(v(this.vf,this,!1),1E3*this.yh)};g.stop=function(){1==this.o&&this.vf(!0)};
g.vf=function(a){Bc(this.Ca,"transition","");l.clearTimeout(this.Ua);Bc(this.Ca,this.hg);this.endTime=x();this.o=0;a?this.ia("stop"):this.ia("finish");this.Rc()};g.i=function(){this.stop();ui.m.i.call(this)};g.pause=function(){};var hb={},vi=null,wi=function(a){a=ha(a);delete hb[a];ib()&&vi&&vi.stop()},yi=function(){vi||(vi=new mg(function(){xi()},20));var a=vi;a.rb()||a.start()},xi=function(){var a=x();db(hb,function(b){zi(b,a)});ib()||yi()};var Ai=function(a,b,c,d){ri.call(this);if(!n(a)||!n(b))throw Error("Start and end parameters must be arrays");if(a.length!=b.length)throw Error("Start and end points must be the same length");this.ad=a;this.zh=b;this.duration=c;this.Ef=d;this.coords=[];this.$i=!1;this.wa=0};A(Ai,ri);
Ai.prototype.play=function(a){if(a||0==this.o)this.wa=0,this.coords=this.ad;else if(1==this.o)return!1;wi(this);this.startTime=a=x();-1==this.o&&(this.startTime-=this.duration*this.wa);this.endTime=this.startTime+this.duration;this.wa||this.Qd();this.ia("play");-1==this.o&&this.ia("resume");this.o=1;var b=ha(this);b in hb||(hb[b]=this);yi();zi(this,a);return!0};Ai.prototype.stop=function(a){wi(this);this.o=0;a&&(this.wa=1);Bi(this,this.wa);this.ia("stop");this.Rc()};
Ai.prototype.pause=function(){1==this.o&&(wi(this),this.o=-1,this.ia("pause"))};Ai.prototype.i=function(){0==this.o||this.stop(!1);this.ia("destroy");Ai.m.i.call(this)};var zi=function(a,b){a.wa=(b-a.startTime)/(a.endTime-a.startTime);1<=a.wa&&(a.wa=1);Bi(a,a.wa);1==a.wa?(a.o=0,wi(a),a.ia("finish"),a.Rc()):1==a.o&&a.$e()},Bi=function(a,b){r(a.Ef)&&(b=a.Ef(b));a.coords=Array(a.ad.length);for(var c=0;c<a.ad.length;c++)a.coords[c]=(a.zh[c]-a.ad[c])*b+a.ad[c]};Ai.prototype.$e=function(){this.ia("animate")};
Ai.prototype.ia=function(a){this.dispatchEvent(new Ci(a,this))};var Ci=function(a,b){bf.call(this,a);this.coords=b.coords;this.x=b.coords[0];this.y=b.coords[1];this.z=b.coords[2];this.duration=b.duration;this.wa=b.wa;this.state=b.o};A(Ci,bf);var Di=function(a,b,c,d,e){Ai.call(this,b,c,d,e);this.element=a};A(Di,Ai);Di.prototype.fe=ba;Di.prototype.$e=function(){this.fe();Di.m.$e.call(this)};Di.prototype.Rc=function(){this.fe();Di.m.Rc.call(this)};Di.prototype.Qd=function(){this.fe();Di.m.Qd.call(this)};var Ei=function(a,b,c,d,e){if(2!=b.length||2!=c.length)throw Error("Start and end points must be 2D");Di.apply(this,arguments)};A(Ei,Di);
Ei.prototype.fe=function(){var a;if(a=this.$i)m(this.Mg)||(this.Mg="rtl"==Dc(this.element,"direction")),a=this.Mg;this.element.style[a?"right":"left"]=Math.round(this.coords[0])+"px";this.element.style.top=Math.round(this.coords[1])+"px"};var Fi=function(a){return 1-Math.pow(1-a,3)};var Gi=function(){R.call(this);this.nc=this.va=null;this.Wd=!0};A(Gi,R);var Hi=function(a){null===a.va?(a.va={state:C.history.state,title:C.document.title,href:C.location.href,pi:C.history.length},C.history.replaceState({view:"expanded"},""),C.history.pushState({},"")):(zd("history-cleanup-error",null,.01),a.Wd=!1)};
Gi.prototype.Sf=function(){var a=C.history;if(null!==a.state&&null!==a.state.view&&"expanded"==a.state.view)return C.history.replaceState(this.va.state,this.va.title,this.va.href),this.va=null,!0;zd("browser-history-error",{prevLen:this.va?this.va.pi:0,currLen:a.length,prevState:!!this.va,currState:!!a.state,currView:a.state?a.state.view:""},.01);return this.Wd=!1};Gi.prototype.i=function(){this.va=null;V(this.nc)};var Ji=function(a,b){W.call(this);this.se=[];this.Zi=!!b;this.Gb=new ng(this);this.ki=window.parent!=window;if(a)if(n(a))for(var c=0;c<a.length;c++)Ii(this,a[c].U);else Ii(this,a.U);else Ii(this,lc().U);this.pg=x()};A(Ji,W);Ji.prototype.vg=0;var Ki=["click","dblclick","mousedown","mousemove","mouseup"],Li=["touchend","touchmove","touchstart"],Mi=["keydown","keyup"];Ji.prototype.i=function(){Ji.m.i.call(this);this.Gb.dispose();this.Gb=null;delete this.se};
var Ii=function(a,b){if(!Wa(a.se,b)){a.se.push(b);var c=!a.Zi,d=Xa(Mi,Ki);a.ki||$a(d,Li);a.Gb.$a(b,d,a.Th,c)}};Ji.prototype.Th=function(a){var b=!1;switch(a.type){case "mousemove":if("number"==typeof this.rg&&this.rg!=a.clientX||"number"==typeof this.sg&&this.sg!=a.clientY)b=!0;this.rg=a.clientX;this.sg=a.clientY;break;default:b=!0}b&&Ni(this)};Ji.prototype.Kg=function(){Ni(this)};var Ni=function(a){var b=x();a.pg=b;b>a.vg&&(a.dispatchEvent("activity"),a.vg=b+3E3)};var Ri=function(a,b){W.call(this);var c;(c=b)||(Oi.add(this),null==Pi&&(Pi=new Ji),c=Pi);this.fi=a;this.me=c;this.kh=v(this.Ci,this);Qi(this)};A(Ri,W);Ri.prototype.Pe=!1;var Pi=Ri.prototype.Qc=null,Oi=new md,Qi=function(a){var b=a.fi+1-(x()-a.me.pg);0<b?a.Qc=lg(a.kh,b):(U(a.me,"activity",a.yg,!1,a),a.Pe=!0,a.dispatchEvent("idle"))};Ri.prototype.Ci=function(){this.Qc=null;Qi(this)};Ri.prototype.yg=function(){Si(this);this.dispatchEvent("active");Qi(this)};
var Si=function(a){a.Pe&&(zf(a.me,"activity",a.yg,!1,a),a.Pe=!1)};Ri.prototype.i=function(){Si(this);null!=this.Qc&&(l.clearTimeout(this.Qc),this.Qc=null);Oi.remove(this);null!=Pi&&Oi.Jc()&&(Pi.dispose(),Pi=null);Ri.m.i.call(this)};var Ti=function(a){this.u=a;this.H=[];this.Cd=new Ri(5E3);this.H.push(U(this.Cd,"idle",this.Ph,!1,this));this.H.push(U(this.Cd,"active",this.Oh,!1,this))};A(Ti,R);Ti.prototype.Ph=function(){Y(this.u,"become-idle-on-pub",{},1)};Ti.prototype.Oh=function(){Y(this.u,"become-active-on-pub",{},1)};Ti.prototype.i=function(){for(var a=0;a<this.H.length;a++)V(this.H[a]);this.H=[];null!=this.Cd&&this.Cd.dispose()};var Vi=function(a,b){this.Xb=new H(0,0);this.na=null;this.Jf=!1;null!==b&&(this.na=a.document.createElement("div"),this.na.style.setProperty("height","1px","important"),this.na.style.setProperty("width","1px","important"),this.na.style.setProperty("visibility","hidden","important"),this.na.style.setProperty("position","fixed","important"),Ui(this),b.appendChild(this.na))};A(Vi,R);
var Ui=function(a){a.na.style.setProperty("top",a.Xb.y+"px","important");a.na.style.setProperty("left",a.Xb.x+"px","important")},Wi=function(a){a=a.na.getBoundingClientRect();return 1E-6>=Math.abs(a.top-0)&&1E-6>=Math.abs(a.left-0)},Xi=function(a,b){if(null!==a.na&&!Wi(a)){var c=a.na.getBoundingClientRect();a.Xb.y-=c.top;a.Xb.x-=c.left;Ui(a);Wi(a)||a.Jf||(a.Jf=!0,zd("could-not-position-at-viewport-origin"))}c=a.Xb;return new H(b.x+c.x,b.y+c.y)};Vi.prototype.i=function(){K(this.na);this.na=null};var Yi=function(a,b,c,d){R.call(this);this.j=a;this.u=b;this.Qg=c;this.qh=d;this.Cb=null;this.Sg=0;this.H=[];this.ic=oc(this.j);this.Uf=this.zb=this.oa=this.lb=this.Ma=this.w=this.D=this.ba=this.yf=this.Yd=null;this.Fg=[{type:"multiple-choice",title:"",Ha:"Test Question",La:{0:"Option 1",1:"Option 2"},Sa:!1},{type:"multiple-choice",title:"",Ha:"Did you intend to open this ad?",La:{0:"Yes",1:"No"},Sa:!0},{type:"stars-rating",title:"Survey powered by",Ha:"Rate your experience with this ad",La:{},Sa:!1},
{type:"multiple-choice",title:"",Ha:"Which one of these best describes your experience with the ad?",La:{0:"The ad accidentally expanded",1:"The ad was broken",2:"I liked the layout",3:"I found the ad relevant",4:"Other"},Qi:!0,Sa:!0},{type:"multiple-choice",title:"Survey powered by",Ha:"Describe your experience with the ad:",La:{0:"I intended to expand the ad",1:"I did not intend to expand the ad"},Sa:!0},{type:"multiple-choice",title:"Survey powered by",Ha:"",La:{0:"I intentionally expanded the ad",
1:"I accidentally expanded the ad"},Sa:!0},{type:"multiple-choice",title:"Survey powered by",Ha:"",La:{0:"The ad was broken",1:"The ad worked correctly"},Sa:!0},{type:"multiple-choice",title:"",Ha:"How much time did you spend on the previous ad?",La:{0:"More than 5 minutes",1:"Less than 5 minutes"},Sa:!0},{type:"multiple-choice",title:"",Ha:"What is the current year?",La:{0:"2015",1:"1988"},Sa:!0},{type:"multiple-choice",title:"",Ha:"What is the current year?",La:{0:"2015",1:"1988",2:"1862",3:"2020",
4:"2012"},Sa:!0}];Mc("#goog-ea-survey-overlay{all:initial;background-color:#fff;position:fixed;",this.j.document)};A(Yi,R);var Zi=function(a){return null!==a.D&&"visible"==a.D.style.visibility},$i=function(a,b,c){var d=vd(a.j);return Xi(a.Cb,new H((d.width-b)/2,(d.height-c)/2))};
Yi.prototype.Ii=function(){if(null!=this.j.document.getElementById("goog-ea-survey-overlay")){Mc('@import url(//fonts.googleapis.com/css?family=Roboto&lang=en);body{font-family:"Roboto",Arial,sans-serif;margin:0}#header{background-color:#4285f4;display:table}#close-button{color:#3367d6;cursor:pointer;font-size:24pt;float:right;height:42px;position:absolute;right:0;text-align:center;width:42px}#title{color:#fff;cursor:default;float:left;font-size:11pt;font-weight:bold;margin-top:25px;margin-left:20px;margin-right:7px}#logo{height:20px;margin-top:25px}#content-box{background-color:#f6f6f6;cursor:default;display:table}.answers{display:table-cell;position:relative;text-align:center;vertical-align:middle}#question{color:#fff;display:table-cell;font-size:12pt;padding-right:50px;padding-left:50px;position:relative;text-align:center;vertical-align:middle}#question-inner{color:#9e9e9e;font-size:11pt;padding-bottom:20px}#stars{direction:rtl;unicode-bidi:bidi-override}.star{font-size:25pt;position:relative;width:1.1em;color:#bdbdbd;cursor:default}.star:hover,.star:hover~span{color:#ffd700}.answer-button{background-color:#ebebeb;border-radius:3px;cursor:pointer;margin-left:50px;margin-right:50px;margin-bottom:12px;padding-left:20px;padding-right:20px}.answer-button:hover{background-color:#dedede}.answer-button.raised{box-shadow:0 2px 5px 0 rgba(0,0,0,0.26);transition:box-shadow .2s cubic-bezier(.4,0,.2,1);transition-delay:.2s}.answer-button.raised:active{box-shadow:0 rgba(0,0,0,0.2);transition-delay:0s}.answer{cursor:pointer;display:inline-block;font-size:10pt;margin:8px}.stars-label{color:#9e9e9e;font-size:10pt}',this.D.contentDocument);
this.ba=new jc(this.D.contentDocument);this.Ma=this.ba.createElement("div");this.Ma.id="header";this.ba.appendChild(this.D.contentDocument.body,this.Ma);this.lb=this.ba.createElement("div");this.lb.id="content-box";this.ba.appendChild(this.D.contentDocument.body,this.lb);Q("show_survey_close_button")&&this.rf();this.H.push(U(this.j,"resize",this.Ne,!1,this));var a=Cd();if(0>a||a>this.Fg.length-1)a=0;var b=this.Fg[a];if("multiple-choice"==b.type)aj(this,a,b.Ha,b.La,b.Qi,b.title,b.Sa,b.type);else if("stars-rating"==
b.type){var c=b.Ha,d=b.title,b=b.type;this.oa=this.ba.createElement("div");this.oa.className="answers";this.oa.id="stars";this.lb.appendChild(this.oa);var e=this.ba.createElement("div");e.textContent=c.toUpperCase();e.id="question-inner";this.oa.appendChild(e);Y(this.u,"survey-created",pb(["questionIndex",a,"questionType",b]),1);for(c=5;0<c;c--)b=this.ba.createElement("span"),b.textContent="\u2605",b.className="star",this.oa.appendChild(b),e=pb(["questionIndex",a,"answerId",c]),this.H.push(U(b,"click",
w(this.lg,e),!1,this));0==d.length||bj(this,d)}this.Sg++;null===this.Cb&&(this.Cb=new Vi(this.j,this.D.parentElement))}else qi(this.u,"survey-iframe-not-created",{},1)};Yi.prototype.rf=function(){this.zb||(this.zb=qc("div",{textContent:"\u00d7",id:"close-button"}),this.zb.style.zIndex=1E6,this.Ma.appendChild(this.zb),this.H.push(U(this.zb,"click",function(){Y(this.u,"survey-closed",{},1);cj(this)},!1,this)))};
var aj=function(a,b,c,d,e,f,h,k){a.oa=a.ba.createElement("div");a.oa.className="answers";a.lb.appendChild(a.oa);0==c.length||0==f.length?0==c.length?0==f.length||bj(a,f):(f=a.ba.createElement("div"),f.textContent=c,f.id="question",a.Ma.appendChild(f)):(bj(a,f),f=a.ba.createElement("div"),f.textContent=c,f.id="question-inner",a.oa.appendChild(f));c=Ta(gb(d),function(a){return parseInt(a,10)});h&&cb(c);null!=e&&e&&(e=c.length-1,bb(c,c.indexOf(e),e));e=c.toString().replace(/,/g,"-");Y(a.u,"survey-created",
pb(["questionIndex",b,"questionType",k,"answerOrder",e]),1);F(c,function(a,b){var c=this.ba.createElement("div");c.className="answer-button raised";this.oa.appendChild(c);var e=this.ba.createElement("div");e.textContent=d[a];e.className="answer";c.appendChild(e);e=pb(["answerId",a,"answerIndex",b]);this.H.push(U(c,"click",w(this.lg,e),!1,this))},a)},bj=function(a,b){var c=a.ba.createElement("div");c.textContent=b;c.id="title";a.Ma.appendChild(c);"Survey powered by"==b&&(c=a.ba.createElement("img"),
c.src="//pagead2.googlesyndication.com/pagead/bf/images/google_white_logo.png",c.id="logo",a.Ma.appendChild(c))};Yi.prototype.lg=function(a){Y(this.u,"survey-response",a,1);cj(this)};var cj=function(a){l.clearTimeout(a.Uf);null!=a.Yd&&(a.yf=x()-a.Yd,Y(a.u,"survey-duration",{duration:a.yf},1));tc(a.D);K(a.D);a.D=null;a.zb=null;a.w=null;a.Ma=null;a.lb=null;a.oa=null;a.Yd=null;a.yf=null;a.Qg();1<=a.Sg&&a.qh()};
Yi.prototype.Ne=function(){var a=oc(this.j);ka(this.ic,a)||(this.ic=a,Zi(this)&&(a=$i(this,this.D.clientWidth,this.D.clientHeight),Fc(this.D,a.x,a.y)),null!=this.w&&(a=qa(this.j),Ic(this.w,a.width,a.height)))};Yi.prototype.i=function(){F(this.H,function(a){V(a)},this);this.H=[];Yi.m.i.call(this)};var dj=function(a,b,c,d,e,f,h){this.l=a;this.j=b;this.u=f;this.F=c.clone();this.ic=oc(this.j);this.xf=d;this.Cc=e;this.H=[];this.v=new od;this.ke=.3;this.Cb=this.T=this.ob=this.w=null;this.Cb=new Vi(this.j,this.l.parentElement);this.sd=null;this.W=h},ej=function(a,b,c,d){var e=d.width/2-c.width/2;d=d.height/2-c.height/2;M(a.v,a.l,"left",0);M(a.v,a.l,"top",0);var f=a.F.width/2-c.width/2;c=a.F.height/2-c.height/2;e=Math.max(0,e-f)+f;d=Math.max(0,d-c)+c;P()?(e-=b.x,b=d-b.y):b=d;b=new H(Math.floor(e),
Math.floor(b));P()||(b=Xi(a.Cb,b));return b};
dj.prototype.Ne=function(){var a=oc(this.j);ka(this.ic,a)||(this.ic=a,this.N()&&(Q("mobile_fullscreen")&&P()?fj(this):(a=Hc(uc(this.l)),a=ej(this,a,this.F,vd(this.j)),N(this.v,this.l,"left",a.x,"important"),N(this.v,this.l,"top",a.y,"important"),gj(this,a.x,a.y))));null!=this.w&&(a=qa(this.j),this.w.style.setProperty("width",a.width+"px","important"),this.w.style.setProperty("height",a.height+"px","important"),Y(this.u,"viewport-resized",{oldWidth:this.w.width,oldHeight:this.w.height,newWidth:a.width,
newHeight:a.height}))};dj.prototype.N=function(){return null!=this.w};var ij=function(a){a.ob&&1==a.ob.o&&(Af(a.ob),a.ob.stop());F(a.H,function(a){V(a)},a);a.H=[];!a.N()||null!==a.W&&Zi(a.W)||a.Gg();a.T&&K(a.T);hj(a);rd(a.v)};dj.prototype.Gg=function(){K(this.w);this.W=this.w=null};var hj=function(a){null!=a.sd&&(a.sd.dispose(),a.sd=null)};
dj.prototype.kg=function(a){this.Cc();Q("back_button_collapse")&&Y(this.u,"collapse-target",pb(["collapseTarget",a]),1);if(0<=Cd()&&null!=this.W){a=this.W;if(null!==a.D){var b;b=vd(a.j);var c=Math.max(250,a.oa.clientHeight+120),d=Math.min(.95*b.width,350);P()&&310<=b.width&&(d=Math.max(d,300));b=new D(d,c);c=$i(a,b.width,b.height);Ic(a.D,b.width,b.height);Fc(a.D,c.x,c.y);null===a.Ma||Ic(a.Ma,b.width,60);null===a.lb||Ic(a.lb,b.width,b.height-60)}a.D.style.visibility="visible";a.Yd=x();Q("survey_close_button_bottom_right")&&
(a.rf(),a.zb.style.color="#d3d3d3",a.zb.style.top=a.D.clientHeight+"px");b=Bd(/^survey_close_button_(\d+)$/);0<=b&&(a.Uf=lg(a.rf,b,a))}};
dj.prototype.Hg=function(a){if(Q("mobile_fullscreen")&&P())fj(this);else{var b,c=this.l;b=new H(c.offsetLeft,c.offsetTop);c=b.x-Math.ceil(this.F.width/2-a.width/2);a=b.y-Math.ceil(this.F.height/2-a.height/2);N(this.v,this.l,"width",this.F.width,"important");N(this.v,this.l,"height",this.F.height,"important");N(this.v,this.l,"left",c,"important");N(this.v,this.l,"top",a,"important");gj(this,c,a)}this.H.push(U(this.j,"resize",this.Ne,!1,this));r(this.j.document.elementFromPoint)&&(a=Hc(this.l),c=Kc(this.l),
this.j.document.elementFromPoint(a.x+c.width/2,a.y+c.height/2)!=this.l&&qi(this.u,"lightbox-behind-content",{url:this.j.document.location.href,e:td().JS_EXPERIMENT_LABELS}));ji()&&qi(this.u,"lightbox-not-in-focus",{url:this.j.document.location.href});Q("log_idle_on_pub")&&(hj(this),this.sd=new Ti(this.u));this.xf()};
var fj=function(a){a.F=new D(C.innerWidth,C.innerHeight);M(a.v,a.l,"position","fixed","important");N(a.v,a.l,"width",a.F.width,"important");N(a.v,a.l,"height",a.F.height,"important");N(a.v,a.l,"left",0,"important");N(a.v,a.l,"top",0,"important");gj(a,0,0)},gj=function(a,b,c){if(!a.T){var d="http:"==C.location.protocol?"http:":"https:";a.T=a.j.document.createElement("img");a.T.src=[d,"//pagead2.googlesyndication.com/pagead/bf/images/close_circle.png"].join("");d=a.l;d.parentNode&&d.parentNode.insertBefore(a.T,
d);wd(a.T);a.T.style.setProperty("outline","none","important");M(a.v,a.T,"zIndex",1E6,"important");a.T.style.setProperty("width","42px","important");a.T.style.setProperty("height","42px","important");a.H.push(U(a.T,"click",w(a.kg,"close-button"),!1,a))}b=b+a.F.width-21;c-=21;d=qa(a.j);a.F.width+42>d.width&&(b-=(a.F.width+42-d.width)/2);Q("mobile_fullscreen")&&P()&&(b=C.innerWidth-42,c=0);a.T.style.setProperty("position",Dc(a.l,"position"),"important");a.T.style.setProperty("left",b+"px","important");
a.T.style.setProperty("top",c+"px","important");Lc(a.T,!0)};var jj=function(){R.call(this);this.Ga=null};A(jj,R);jj.prototype.i=function(){K(this.Ga);this.Ga=null;jj.m.i.call(this)};jj.prototype.show=function(a){this.Ga||(this.Ga=qc("div"),B.body.appendChild(this.Ga));Xc(this.Ga,"fading-text-overlay");vc(this.Ga,a);Xc(this.Ga,"shown");setTimeout(v(function(){Zc(this.Ga,"shown")},this),5E3)};var Z=function(){W.call(this);this.N=this.Pa=!1;this.Xe=!0;this.qe=new D(0,0);this.xc=this.Se=this.Cc=this.ze=null;this.Pf=new zc(0,0,0,0);this.F=new D(0,0);this.J=new D(0,0);this.We=null;this.Wa=0;this.Qa=this.K=null;this.Yb=this.Ce=this.rd=this.td=!1;this.Xa=kj||(kj=new Uh);this.Za=lj||(lj=new ee);this.ya=mj||(mj=new mi(this.Xa,this.Za));he(this,this.ya);this.Jh=new Th(this.Xa,this.ya.getEngagementState());this.Dc=0;this.P=this.Ba=this.Hd=null;this.he=new X;var a=v(this.di,this),b=/[&\?]exk=([^& ]+)/.exec(C.location.href),
b=new Xh(O().AD_KEY||0,b&&2==b.length?b[1]:null);if(b.Aa||b.qa)ra(C,"message",w(ki,b,a)),Zh=C.setInterval(Aa(w(bi,2,b,void 0,void 0,void 0)),500);this.hc=null;this.Bf=new jj;he(this,this.Bf);this.Hb=new Gi;this.nc=null;this.hf()},lj,nj,oj;A(Z,W);
Z.prototype.hf=function(){this.instantlyResizeWindow=T("CTB-instantlyResizeWindow",v(this.instantlyResizeWindow,this));this.getCollapsedHeight=T("CTB-getCollapsedHeight",v(this.getCollapsedHeight,this));this.getCollapsedWidth=T("CTB-getCollapsedWidth",v(this.getCollapsedWidth,this));this.getExpandedHeight=T("CTB-getExpandedHeight",v(this.getExpandedHeight,this));this.getExpandedWidth=T("CTB-getExpandedHeight",v(this.getExpandedWidth,this));this.getMaxExpandableSize=T("CTB-getMaxExpandableSize",v(this.getMaxExpandableSize,
this));this.isExpanded=T("CTB-isExpanded",v(this.isExpanded,this));this.isExpansionEnabled=T("CTB-isExpansionEnabled",v(this.isExpansionEnabled,this));this.shouldMaintainCoordinates=T("CTB-shouldMaintainCoordinates",v(this.shouldMaintainCoordinates,this));this.getConfig=T("CTB-getConfig",v(this.getConfig,this));this.dispose=T("CTB-dispose",v(this.dispose,this));this.reportEngagement=T("CTB-reportEngagement",v(this.reportEngagement,this));this.setChargeableAction=T("CTB-setChargeableAction",v(this.setChargeableAction,
this));this.$a=T("CTB-listen",v(this.$a,this));this.Nb=T("CTB-listenOnce",v(this.Nb,this));this.Bb=T("CTB-unlisten",v(this.Bb,this));this.Vb=T("CTB-unlistenByKey",v(this.Vb,this))};Z.prototype.i=function(){ie(this.K,this.Ba);this.P=this.Ba=this.K=null;this.he=new X;this.Hb.dispose();null!=gi&&(gi.dispose(),gi=null);Z.m.i.call(this)};var kj=new Uh,mj=null;Z.prototype.Jg=function(a){if(this.isExpanded()&&this.ya){var b=this.ya;a=a||{};a.engend=!0;ni(b,10010,a)}};
var pj=function(a,b){null!=a.hc&&Bc(a.hc,{display:b?"block":"none"})};Z.prototype.instantlyResizeWindow=function(a,b){qj(this,v(function(){if(O().ALLOW_INSTANT_RESIZING){if(!this.isExpanded()&&0<=a&&0<=b){var c=new D(a,b);rj(this,["resize_w",c.width,"_h",c.height].join(""))}}else sj(this,"illegal_instant_resizing",{resizew:a,resizeh:b})},this))};Z.prototype.getMaxExpandableSize=function(a){this.Qa?zg(this.Qa,a):(this.Qa=new X,zg(this.Qa,a),rj(this,"maxsize")||(this.Ld=!0))};
var qj=function(a,b){zg(a.he,b);!a.he.Ea&&a.he.ra()},tj=function(a){a.td=!0;null!==a.xc&&(a.rd=!1,a.xc())},uj=function(a){var b=P()&&!Hh();a=1==a.Wa;var c=Q("external_overlay");return b&&a&&c};Z.prototype.gi=function(){var a=O();vj(this)||(this.K=wj(this,this.Yb?"NoOp":a.ENGAGEMENT_NOTIFIER),P()&&(this.Dc=a.ENGAGEMENT_BORDER_WIDTH||10,this.Ba=wj(this,"InstantlyEngage"),this.Og(),oh("touchstart",this.Vi,!1,this)))};
var wj=function(a,b){var c=Sh(b,a.Za,a.Xa);"LargeCanvasEngagement"==b&&(a.N=!0,a.Pa=!1,a.ya.Zc(2),a.Xa.K=c);he(a,c);U(c,"removed",a.zi,!1,a);return c};g=Z.prototype;g.Og=function(){if(this.Ba){var a=oc();0==a.height&&(a.height=window.innerHeight);this.Pf=new zc(this.Dc,a.width-this.Dc,a.height-this.Dc,this.Dc)}};g.Vi=function(a){this.Hd=Hc(a)};g.getCollapsedHeight=function(){return this.J.height};g.getCollapsedWidth=function(){return this.J.width};g.Ge=function(){return this.J.clone()};
g.getExpandedHeight=function(){return this.F.height};g.getExpandedWidth=function(){return this.F.width};g.isExpanded=function(){return this.N};g.isExpansionEnabled=function(){return this.Pa};g.shouldMaintainCoordinates=function(a){this.Xe=a};
var yj=function(a,b){if("function"==typeof b&&a.Pa&&!a.N&&!a.Ya()){var c=v(function(){this.dispatchEvent("expanding");b()},a);a.Za.xa("expansionrequested");var d=v(function(a){if(null!=a){if(a.lightboxWidth<this.getExpandedWidth()){this.Bf.show("Zoom out for the full experience");xj(this,{overlay:!0,maxw:a.lightboxWidth,maxh:a.lightboxHeight});this.K&&this.K.remove();this.Ba&&this.Ba.remove();return}a=this.Bf;a.Ga&&Zc(a.Ga,"shown")}this.Ba&&this.Pf.contains(this.Hd)?this.P=this.Ba:this.K&&(this.P=
this.K,this.Ba&&!this.Hd&&sj(this,"incompatible_with_1_point_5_click"));null!==this.P&&(this.Xa.K=this.P,this.P.start(c,v(this.dh,this)))},a);P()&&1==a.Wa?a.getMaxExpandableSize(d):d()}};Z.prototype.zi=function(){this.Hd=null};
var Bj=function(a,b,c){a.N=!0;null===a.P||a.P.Tb(!0);a.Xe&&zj(a,b,c);pj(a,!0);Aj();Q("back_button_collapse")&&Vh()&&a.Hb.Wd&&(Hi(a.Hb),a.nc=yf(C,"popstate",a.Yh,!1,a));var d=uj(a);a.ya&&(a.P||d)&&(d=d?29:a.P.dc(),ni(a.ya,d,{engstart:!0}));1==a.Wa&&(d=v(function(a){(a.lightboxWidth<b.width||a.lightboxHeight<b.height)&&xj(this,{overlay:!1,maxw:a.lightboxWidth,maxh:a.lightboxHeight,bc:O().MOBILE_BROWSER_CLASS})},a),a.getMaxExpandableSize(d));"function"==typeof a.ze&&(a.ze(b.width,b.height,c),a.Za.xa("expansioncompleted"))};
Z.prototype.Yh=function(){if(this.N){var a=this.Hb;Ad("collapse-target",pb(["collapseTarget","back-button"]),1);a.Sf()&&Cj(this)}};var vj=function(a){return!a.Yb&&uj(a)?(a.rd=!1,a.td=!1,a.Ce=!1,a.$c(),!0):!1},Cj=function(a){null!==a.P&&a.Ya()?a.P.Tb(!1):"function"===typeof a.Se&&a.Se();var b;if(b=Q("back_button_collapse")&&Vh()&&a.Hb.Wd)b=a.Hb,b=null!==b.va&&b.va.state!=C.history.state;b&&(V(a.nc),a.nc=null,a=a.Hb,a.nc=yf(C,"popstate",a.Sf,!1,a),C.history.back())};
Z.prototype.dh=function(){r(this.xc)&&this.xc()};var Aj=function(){var a=B.getElementById("abgc");a&&Lc(a,!1);(a=B.getElementById("cbc"))&&Lc(a,!1)},zj=function(a,b,c){if(1===a.Wa){var d=B.body;c=Math.round((b.width-a.J.width)/2);0<c&&Bc(d,"marginLeft",c+"px");a=Math.round((b.height-a.J.height)/2);0<a&&Bc(d,"marginTop",a+"px")}else{d=B.body;if(0==c||3==c){var e=b.width-a.J.width;0<e&&Bc(d,"marginLeft",e+"px")}if(0==c||1==c)a=b.height-a.J.height,0<a&&Bc(d,"marginTop",a+"px")}};
Z.prototype.Ya=function(){return!!this.P&&this.P.Fd()};Z.prototype.reportEngagement=function(a,b){this.ya&&ni(this.ya,a,b)};Z.prototype.setChargeableAction=function(a){this.ya&&this.ya.setChargeableAction(a)};
var xj=function(a,b){var c={expandw:a.getExpandedWidth(),expandh:a.getExpandedHeight()};Rc(b,function(a,b){c[b]=a});var d=O();m(d.EXPANSION_CLICK_INFO)&&(c.ai=d.EXPANSION_CLICK_INFO);sj(a,"oversized_expansion",c)},sj=function(a,b,c){c=jb(c||{});c.ee=a.isExpansionEnabled()?1:0;c.ie=a.isExpanded()?1:0;c.em=a.Wa;c.p=a.Yb?1:0;c.not=a.K&&a.K.Jb();a.Ba&&(c.not+=","+a.Ba.Jb());Se(b,c)};Z.prototype.di=function(a){this.Yb||(this.Xa.hd=a.hd,this.Xa.Db=a.Db||null)};Z.prototype.getConfig=function(){return this.Jh};
Z.prototype.dispatchEvent=function(a){return Z.m.dispatchEvent.call(this,a)};var Dj={"become-active-on-pub":!0,"become-idle-on-pub":!0,"document-is-hidden":!0,"document-not-in-focus":!0,"drag-to-expand-background-touch":!0,"drag-to-expand-end":!0,"drag-to-expand-tap-timeout":!0,"drag-to-expand-tap":!0,"dispose-external-notifier-timeout":!0,"external-notifier-invalid-iframe-or-win":!0,"external-border-tap":!0,"external-center-tap":!0,"lightbox-behind-content":!0,"lightbox-not-in-focus":!0,"unknown-external-notifier":!0,viewport:!0,"viewport-resized":!0,"collapse-target":!0,
"survey-created":!0,"survey-response":!0,"survey-closed":!0,"survey-duration":!0,"survey-iframe-not-created":!0},Ej=/^[\w,]*$/,Fj=function(a,b){switch(a){case "url":return!0;case "e":return null!==b.match(Ej);case "event":return"lbstart"==b;case "ew":case "eh":case "lw":case "lh":case "vw":case "vh":return!isNaN(parseFloat(b));case "holdComplete":return"true"==b||"false"==b;case "direction":return"up"==b||"down"==b||"left"==b||"right"==b||"none"==b;case "distance":case "duration":case "progress":return!isNaN(parseFloat(b));
case "state":return"hooked"==b||"tapunhooked"==b||"holdunhooked"==b||"middrag"==b||"expanding"==b;case "oldWidth":case "oldHeight":case "newWidth":case "newHeight":return!isNaN(parseFloat(b));case "collapseTarget":return"close-button"==b||"background-overlay"==b;case "questionIndex":return!isNaN(parseFloat(b));case "questionType":return"multiple-choice"==b||"stars-rating"==b;case "answerOrder":case "answerIndex":return!isNaN(parseFloat(b));case "answerId":return!isNaN(parseFloat(b))}return!1};var Jj=function(){if(Gj&&!Gj.ca)return Gj;Z.call(this);Gj=this;this.s=null;this.Ld=!1;var a=B.URL;this.J=oc(C).clone();a=Hj(a);if(!m(a.cn)){var b=Ve();b=b?b.adUrl:void 0;(b=b||"")&&(a=Hj(b))}m(a.cn)&&(this.s=new Tg(a),he(this,this.s),rg(this.s,v(this.Le,this)),Ij(this));this.Bg=!1};A(Jj,Z);
Jj.prototype.hf=function(){Jj.m.hf.call(this);this.collapseWindow=T("XCT-collapseWindow",v(this.collapseWindow,this));this.expandWindow=T("XCT-expandWindow",v(this.expandWindow,this));this.enableExpansion=T("XCT-enableExpansion",v(this.enableExpansion,this))};var Gj=null;
Jj.prototype.enableExpansion=function(a){this.Pa=!0;if(a){var b=a.height,c=a.collapseCallback,d=a.initiateCollapseCallback,e=a.aboutToExpandCallback,f=a.expansionMode,b=Sc(a.width)&&Sc(b),c=r(a.expansionCallback)&&r(c)&&("undefined"===typeof d||r(d))&&("undefined"===typeof e||r(e)),c=b&&c;if("undefined"!==typeof f){if(!ea(f)||0>f||2<=f)c=!1;1!==f||d||(c=!1)}if(this.Pa=c)this.qe=new D(a.width,a.height),this.F=this.qe.clone(),this.ze=a.expansionCallback,this.Cc=a.collapseCallback,this.Se=r(a.initiateCollapseCallback)?
a.initiateCollapseCallback:null,d=a.aboutToExpandCallback,this.xc=r(d)?d:null,this.Wa=a.expansionMode||0,1===this.Wa&&this.shouldMaintainCoordinates(!1),qj(this,v(this.gi,this)),Vb&&1==this.Wa&&!Hh()&&(this.hc=B.createElement("div"),this.hc.id="inframe-close-button",d=Math.floor(21),Bc(this.hc,{height:d+"px",width:d+"px"}),B.body.appendChild(this.hc)),r(a.toolsetReadyCallback)&&qj(this,a.toolsetReadyCallback),this.Yb||nh(this,yf(C,"pagehide",v(this.Jg,this,{unload:!0}),!0,this));nh(this,U(C,"resize",
this.Og,!1,this))}else this.Pa=!1;a=this.Pa;return a?!0:!1};var Hj=function(a){var b;b=Xg(a,"xpc");a=Xg(a,"p");var c={};c.cn=b;c.ph=a;c.ppu=$g(a);c.lpu=$g();return c},Ij=function(a){a.s.connect(v(function(){rj(this,"ctType_embed");var a=Ye(td());rj(this,"params_"+a);a=Ye({ENABLE_OUT_OF_FOCUS_EXPANSION:(C.CREATIVE_TOOLSET_PREVIEW_PARAMS||{}).ENABLE_OUT_OF_FOCUS_EXPANSION});rj(this,"previewParams_"+a);this.Ld&&!rj(this,"maxsize")&&(this.Ld=!0)},a));window.setTimeout(v(a.Ie,a),3E4)};g=Jj.prototype;
g.Ie=function(){if(this.s&&!this.s.ca&&!this.s.Oa()&&(this.s.dispose(),this.s=null,sj(this,"xct-commTimeout"),this.Ld)){var a={lightboxWidth:0,lightboxHeight:0};this.Qa&&(this.Qa.ra(a),this.Qa=null)}};g.expandWindow=function(a,b){!this.Pa||this.N||this.Ya()||(a&&b&&(this.F=(new D(a,b)).clone()),uj(this)?this.td&&(this.rd=!0,this.Ce&&this.jf()):yj(this,v(this.jf,this)))};g.$c=function(){this.Bg&&rj(this,"startExternalNotifier")};
g.jf=function(){var a=this.F.clone();rj(this,["expand_w",a.width,"_h",a.height,"_m",this.Wa].join(""))};g.collapseWindow=function(){this.Pa&&this.N&&rj(this,"collapse")};var rj=function(a,b){if(a.s&&a.s.Oa())return a.s.send("expandable_ad",b),!0;sj(a,"xct-commError",{msg:b});return!1};
Jj.prototype.Le=function(a){var b=a.split("_");if("ok"===b[0]){for(var c,d,e,f=new D(0,0),h=2;h<b.length;++h){var k=b[h].charAt(0),t=parseInt(b[h].substring(1),10);"w"==k?f.width=t:"h"==k?f.height=t:"d"==k?c=t:"i"==k?d=t:"e"==k&&(e=t)}"expand"==b[1]&&Sc(f.width)&&Sc(f.height)&&ea(c)&&0<=c?Bj(this,f,c):"collapse"==b[1]&&Sc(f.width)&&Sc(f.height)?(this.Za.xa("collapserequested"),this.Jg(),this.N=!1,null!==this.P&&(this.P.Tb(!1),dh&&"DesktopProgressBarHover"==this.P.Jb()&&(ge(this.K),this.P=this.K=wj(this,
"DesktopClickToExpand"))),this.Xe&&Bc(B.body,{marginLeft:0,marginTop:0}),pj(this,!1),(b=B.getElementById("abgc"))&&Lc(b,!0),(b=B.getElementById("cbc"))&&Lc(b,!0),this.dispatchEvent("collapsed"),this.F=this.qe.clone(),"function"==typeof this.Cc&&(this.Cc(f.width,f.height),this.Za.xa("collapsed")),vj(this)):"resize"==b[1]&&Sc(f.width)&&Sc(f.height)?this.J=f.clone():"maxsize"==b[1]&&ea(d)&&ea(e)?(b={lightboxWidth:d,lightboxHeight:e},this.Qa&&(this.Qa.ra(b),this.Qa=null)):"params"==b[1]?(this.Bg=!0,uj(this)&&
this.$c()):sj(this,"xct-badMsg",{yi:a})}else if("initiateCollapse"===b[0])Cj(this);else if("externalNotifierAboutToComplete"===b[0])tj(this);else if("externalNotifierComplete"===b[0])this.Ce=!0,this.td?this.rd&&this.jf():tj(this);else if("externalLog"===b[0]){if(4<=b.length){f=b[1];a=b[2];c=parseFloat(b[3]);d={};for(h=4;h+1<b.length;h+=2)Fj(b[h],b[h+1])&&(d[b[h]]=b[h+1]);!Dj[f]||"ct-error"!=a&&"ct-info"!=a||yd(a,f,d,c)}}else sj(this,"xct-badMsg",{yi:a})};
Jj.prototype.dispatchEvent=function(a){var b=Jj.m.dispatchEvent.call(this,a);rj(this,a);return b};
(function(a){function b(){if(nj&&!nj.ca)return nj;a.call(this);nj=this;this.Yb=!0;this.ya=null}A(b,a);y("CreativeToolset",a);y("CreativeToolset.prototype.collapseWindow",a.prototype.collapseWindow);y("CreativeToolset.prototype.enableExpansion",a.prototype.enableExpansion);y("CreativeToolset.prototype.expandWindow",a.prototype.expandWindow);y("CreativeToolset.prototype.instantlyResizeWindow",a.prototype.instantlyResizeWindow);y("CreativeToolset.prototype.getCollapsedHeight",a.prototype.getCollapsedHeight);
y("CreativeToolset.prototype.getCollapsedWidth",a.prototype.getCollapsedWidth);y("CreativeToolset.prototype.getExpandedHeight",a.prototype.getExpandedHeight);y("CreativeToolset.prototype.getExpandedWidth",a.prototype.getExpandedWidth);y("CreativeToolset.prototype.getMaxExpandableSize",a.prototype.getMaxExpandableSize);y("CreativeToolset.prototype.isExpanded",a.prototype.isExpanded);y("CreativeToolset.prototype.isExpansionEnabled",a.prototype.isExpansionEnabled);y("CreativeToolset.prototype.shouldMaintainCoordinates",
a.prototype.shouldMaintainCoordinates);y("CreativeToolset.prototype.reportEngagement",a.prototype.reportEngagement);y("CreativeToolset.prototype.setChargeableAction",a.prototype.setChargeableAction);y("CreativeToolset.prototype.getConfig",a.prototype.getConfig);y("CreativeToolset.prototype.dispose",a.prototype.dispose);y("CreativeToolsetProxy",b);y("CreativeToolsetProxy.prototype",CreativeToolset.prototype);y("CreativeToolset.BrowserClass.DESKTOP",0);y("CreativeToolset.BrowserClass.MOBILE_WEB",1);
y("CreativeToolset.BrowserClass.IN_APP",2);y("EngagementAction",Fd);y("CreativeToolset.EngagementAction",Fd);y("CreativeToolset.ExpansionMode",sd);y("CreativeToolset.EngagementCycleParam",Ed);lj=new ee;oj=function(){return new a};y("CreativeToolset.getInstance",oj);mj=new mi(kj,lj);U(C,"load",function(){if(!Pe){var a=new Ne;Hd().addReporter(a);Pe=!0}(a=Te("search_lift_impression"))&&Hd().reportEvents([a])});y("CreativeToolset.internals.creativeBodyRemoteEventSink",ph);y("CreativeToolset.internals.enableRemoteEvents",
qh);y("CreativeToolset.internals.gen204.sampledInfo",Ad);Z.prototype.listen=Z.prototype.$a;Z.prototype.listenOnce=Z.prototype.Nb;Z.prototype.unlisten=Z.prototype.Bb;Z.prototype.unlistenByKey=Z.prototype.Vb})(Jj);var Kj=function(a,b){W.call(this);this.Uc=0;this.Kd=this.vc=!1;this.Ca=a;this.Pi=b;this.Kd||(this.Kd=!0,this.vi=U(this.Ca,"touchstart",w(this.Md,v(this.zd,this)),!1,this),this.ui=U(this.Ca,"touchmove",w(this.Md,v(this.bi,this)),!1,this),this.ti=U(this.Ca,"touchend",w(this.Md,v(this.yd,this)),!1,this),this.si=U(this.Ca,"touchcancel",w(this.Md,v(this.xd,this)),!1,this))};A(Kj,W);Kj.prototype.i=function(){this.Kd&&(this.vc=!1,this.Uc=0,this.Kd=!1,V(this.vi),V(this.ui),V(this.ti),V(this.si));Kj.m.i.call(this)};
var Lj=function(a,b){if(!a.vc)return null;for(var c=0;c<b.changedTouches.length;c++){var d=b.changedTouches[c];if(a.Uc==d.identifier)return d}return null};g=Kj.prototype;g.zd=function(a){var b=a.Fa();this.vc||0==b.targetTouches.length||(b=b.targetTouches[b.targetTouches.length-1],this.Uc=b.identifier,this.vc=!0,this.dispatchEvent({type:"singletouchstart",fb:b,zc:a}))};g.bi=function(a){var b=Lj(this,a.Fa());b&&this.dispatchEvent({type:"singletouchmove",fb:b,zc:a})};
g.yd=function(a){var b=Lj(this,a.Fa());b&&(this.vc=!1,this.Uc=0,this.dispatchEvent({type:"singletouchend",fb:b,zc:a}))};g.xd=function(a){var b=Lj(this,a.Fa());b&&(this.vc=!1,this.Uc=0,this.dispatchEvent({type:"singletouchcancel",fb:b,zc:a}))};g.Md=function(a,b){this.Pi&&b.preventDefault();a(b)};var Mj=function(a){W.call(this);this.Tg=0;this.be=null;this.uf=[U(a,"singletouchstart",this.$h,!1,this),U(a,"singletouchend",this.Zh,!1,this)]};A(Mj,W);Mj.prototype.$h=function(a){this.Tg=Date.now();this.be=new H(a.fb.clientX,a.fb.clientY)};Mj.prototype.Zh=function(a){if(null!==this.be){var b=new H(a.fb.clientX,a.fb.clientY),c=500<Date.now()-this.Tg;9<vb(b,this.be)||c||(this.dispatchEvent({type:"singletouchtap",Mj:b,zc:a.zc}),this.be=null)}};
Mj.prototype.i=function(){for(var a=0;a<this.uf.length;a++)V(this.uf[a]);this.uf=[];Mj.m.i.call(this)};var Pj=function(a,b,c,d){this.j=a;this.Ka=b;b=Kc(this.Ka);this.Vg=c;this.I=a.document.createElement("div");this.I.style.width=b.width+"px";this.I.style.height=b.height+"px";this.I.style.zIndex=Dc(this.Ka,"zIndex");this.I.style.position="absolute";this.I.style.top="0";this.I.style.left="0";this.I.style.backgroundColor="rgba(0, 0, 0, 0)";this.I.style.overflow="hidden";Oc(this.I);this.Ka.parentNode.appendChild(this.I);Lc(this.I,!0);this.X=a.document.createElement("div");this.X.style.width=b.width+"px";
this.X.style.height=b.height+"px";this.X.style.position="absolute";this.X.style.top="0px";this.X.style.left="0px";this.X.style.opacity=.7;this.X.style.backgroundColor="#fff";Oc(this.X);this.I.appendChild(this.X);Lc(this.X,!1);this.Gf=new ui(this.X,.5,{opacity:.7},{opacity:0},[{Sd:"opacity",duration:.5,timing:"ease-in",pd:0}]);this.Qe=!0;this.za=a.document.createElement("div");this.za.style.position="relative";this.za.style.height=2*b.height+"px";this.za.style.width=2*b.width+"px";Oc(this.za);this.I.appendChild(this.za);
this.pa=a.document.createElement("div");this.pa.style.position="absolute";this.pa.style.margin="auto";this.pa.style.bottom="0";this.pa.style.top="0";this.pa.style.right="0";this.pa.style.left="0";this.pa.style.opacity=.09;this.pa.style.backgroundColor="#000";this.pa.style.borderRadius="50%";Oc(this.pa);this.za.appendChild(this.pa);this.V=a.document.createElement("div");this.V.style.position="absolute";this.V.style.bottom="5px";this.V.style.right="5px";this.V.style.height="40px";this.V.style.width=
"40px";this.V.style.borderRadius="50%";this.V.style.borderWidth="2px";this.V.style.borderStyle="solid";this.V.style.borderColor="#eee";Nj(this);Oc(this.V);this.I.appendChild(this.V);Lc(this.V,d);this.ta=a.document.createElement("img");this.ta.src=["http:"==this.j.location.protocol?"http:":"https:","//pagead2.googlesyndication.com/pagead/bf/images/diagonal_expand_arrows.svg"].join("");this.ta.style.position="absolute";this.ta.style.margin="auto";this.ta.style.bottom="0";this.ta.style.top="0";this.ta.style.right=
"0";this.ta.style.left="0";this.ta.style.height="40px";this.ta.style.width="40px";Oc(this.ta);this.V.appendChild(this.ta);this.ab=a.document.createElement("div");this.ab.style.width=b.width+"px";this.ab.style.height=b.height+"px";this.ab.style.position="absolute";this.ab.style.top="0px";this.ab.style.left="0px";this.ab.style.backgroundColor="rgba(0, 0, 0, 0)";Oc(this.ab);this.I.appendChild(this.ab);this.ga=a.document.createElement("div");this.ga.style.width=b.width-20+"px";this.ga.style.height=b.height-
20+"px";this.ga.style.position="absolute";this.ga.style.margin="auto";this.ga.style.top="0px";this.ga.style.left="0px";this.ga.style.right="0px";this.ga.style.bottom="0px";this.ga.style.backgroundColor="rgba(0, 0, 0, 0)";Oc(this.ga);this.I.appendChild(this.ga);d=uc(this.Ka);a=Dc(d,"position");if("absolute"!=a&&"fixed"!=a&&"relative"!=a){a=Hc(d);c=Hc(this.Ka);d.style.position="relative";d=Hc(d);var e=Hc(this.Ka);ub(a,d)||Oj("overlay-iframe-parent-coords-changed",a,d);ub(c,e)||Oj("overlay-iframe-moved-after-parent-position-changed",
c,e)}a=Hc(this.Ka);c=Hc(this.I);ub(a,c)||(Oj("overlay-incorrect-after-parent-position-changed",a,c),a=new H(a.x-c.x,a.y-c.y),this.I.style.top=a.y+"px",this.I.style.left=a.x+"px",a=Hc(this.Ka),c=Hc(this.I),ub(a,c)||Oj("overlay-incorrect-after-offset",a,c));b=.95*Math.max(b.width,b.height);this.ae=new ui(this.pa,.4,{height:"15px",width:"15px"},{height:b+"px",width:b+"px"},[{Sd:"height",duration:.4,timing:"ease-out",pd:0},{Sd:"width",duration:.4,timing:"ease-out",pd:0}]);U(this.ae,"end",v(this.ci,this),
!1);this.ae.stop();Lc(this.za,!1)};A(Pj,R);var Oj=function(a,b,c){Ad(a,{x1:b.x,y1:b.y,x2:c.x,y2:c.y})},Nj=function(a){a.V.style.backgroundColor="#999"};Pj.prototype.ci=function(){this.ae.stop();Lc(this.za,!1);this.Qe||(this.Qe=!0,this.Gf.play(!0))};Pj.prototype.i=function(){K(this.ga);K(this.pa);K(this.za);K(this.X);K(this.I);K(this.ta);K(this.V)};var Qj=function(a,b,c,d){this.xf=c;this.gb=new Pj(a,b,Q("overlay_touch_ripple"),Q("overlay_expand_icon"));this.u=d;this.yc=new Kj(this.gb.ab,!1);this.Bc=new Kj(this.gb.ga,!1);this.Mf=new Mj(this.yc);this.Qf=new Mj(this.Bc);this.H=[U(this.Bc,"singletouchstart",this.zd,!1,this),U(this.Bc,"singletouchend",this.yd,!1,this),U(this.Bc,"singletouchcancel",this.xd,!1,this),U(this.yc,"singletouchstart",this.zd,!1,this),U(this.yc,"singletouchend",this.yd,!1,this),U(this.yc,"singletouchcancel",this.xd,!1,this),
U(this.Mf,"singletouchtap",this.Qh,!1,this),U(this.Qf,"singletouchtap",this.Rh,!1,this)]};A(Qj,R);var Rj=function(a){for(var b=0;b<a.H.length;b++)V(a.H[b]);a.H=[]};g=Qj.prototype;g.Rh=function(){Rj(this);this.xf();Y(this.u,"external-center-tap",{},1)};g.Qh=function(){Y(this.u,"external-border-tap",{},1)};
g.zd=function(a){var b=this.gb;a=new H(a.fb.clientX,a.fb.clientY);if(b.Vg){var c=Kc(b.Ka),d=Hc(b.Ka);Fc(b.za,a.x-d.x-c.width,a.y-d.y-c.height);Lc(b.za,!0);b.ae.play(!0)}else Lc(b.za,!1);b=this.gb;b.Vg?(b.Qe=!1,b.Gf.stop(),Lc(b.X,!0),b.X.style.opacity=.7):Lc(b.X,!1);this.gb.V.style.backgroundColor="#4285F4"};g.yd=function(){Nj(this.gb)};g.xd=function(){Nj(this.gb)};g.i=function(){Rj(this);this.gb.dispose();this.Bc.dispose();this.yc.dispose();this.Qf.dispose();this.Mf.dispose()};var Sj=function(a,b,c){a=uc(a);var d=uc(a),e=uc(d),f=a;ud(a)&&d&&ud(d)&&((f=e)&&ud(e)&&Wc(e,"adsbygoogle")&&(f=uc(e)),b||(a&&qd(c,a),qd(c,d),f==uc(e)&&e&&qd(c,e)));for(a=f;a&&a.style&&!/^body$/i.test(a.nodeName);a=uc(a))b&&!P()||"visible"==a.style.overflow||M(c,a,"overflow","visible"),b&&("visible"!=a.style.overflow&&(M(c,a,"overflow-x","visible","important"),M(c,a,"overflow-y","visible","important")),M(c,a,"zIndex",999999,"important"),d=Dc(a,"position"),"absolute"!=d&&"fixed"!=d&&"relative"!=d&&
(M(c,a,"position","relative","important"),M(c,a,"left",0),M(c,a,"top",0),M(c,a,"right",0),M(c,a,"bottom",0)))};var Tj=function(a,b,c,d,e){this.N=!1;this.Hf=a;this.j=d;this.Lf=e;this.Ug=b;this.J=c.clone();this.v=new od;this.Mc=null;this.Id=this.J.clone();this.Ae=this.De=this.Be=this.Ue=this.Jd=null;this.Ee=!1;this.re=0;this.mg=!1;this.u=new oi;this.Rg=!1;this.W=null};Tj.prototype.Fd=function(){return this.Ya};Tj.prototype.isExpanded=function(){return this.N};Tj.prototype.Ge=function(){return this.J.clone()};
Tj.prototype.collapse=function(){Uj(this)&&(this.Mc&&(ij(this.Mc),this.Mc=null),rd(this.v),this.Ya=this.N=!1)};var Vj=function(a,b,c){N(a.v,b,"width",c.width);N(a.v,b,"height",c.height);qd(a.v,b)},Wj=function(a){var b=[],c=Uj(a);if(!c)return b;b.push(c);a.j&&a.Lf&&b.push(a.j.document.getElementById(a.Lf));return b};
Tj.prototype.expand=function(a,b){var c=Wj(this);if(!(0>=c.length)){for(var d=0,e=c.length;d<e;++d)Vj(this,c[d],a);c=c[c.length-1];a.width>this.J.width&&(0==b||3==b)&&N(this.v,c,"left",this.J.width-a.width);a.height>this.J.height&&(1==b||0==b)&&N(this.v,c,"top",this.J.height-a.height);Sj(c,!1,this.v);this.N=!0}};
Tj.prototype.resize=function(a){var b=Wj(this);if(!(0>=b.length)){for(var c=b.length,d=0;d<c;++d)Ic(b[d],a);b=b[c-1].parentNode;c=b.parentNode;d=c.parentNode;ud(b)&&c&&ud(c)&&(Ic(b,a),Ic(c,a),d&&d&&ud(d)&&Wc(d,"adsbygoogle")&&Ic(d,a))}};
var Xj=function(a){var b=Q("mobile_fullscreen")&&P();if(!b&&a.isExpanded())return a.Id;a=a.j||C;a=P()?new D(a.innerWidth,a.innerHeight):oc(a);b?b=a:(b=new D(Math.max(0,a.width-Math.max(Math.ceil(.1*a.width),42)),Math.max(0,a.height-Math.max(Math.ceil(.2*a.height),42))),P()&&310<=a.width&&(b.width=Math.max(b.width,300)));return b},Zj=function(a,b,c,d){var e;if((C.CREATIVE_TOOLSET_PREVIEW_PARAMS||{}).ENABLE_OUT_OF_FOCUS_EXPANSION)e=!1;else{e=!1;var f=a.j||C;r(f.document.hasFocus)&&!f.document.hasFocus()&&
(Y(a.u,"document-not-in-focus"),e=!0);ji()&&(Y(a.u,"document-is-hidden"),e=!0)}if(e)d();else if(!(a.Ya||a.N||(a.Ya=!0,a.mg||(Yj(a),e=Wj(a),0>=e.length)))){e=e[e.length-1];f=a.j||C;a.Jd=c;a.Ue=d;a.Id=b.clone();0<=Cd()&&null===a.W&&!a.Rg&&(a.Rg=!0,a.W=new Yi(f,a.u,ba,v(a.rh,a)));a.Mc=new dj(e,f,a.Id,v(a.Hh,a),v(a.sh,a),a.u,a.W);Sj(e,!0,a.v);a=a.Mc;a.w=a.j.document.createElement("div");b=a.l;b.parentNode&&b.parentNode.insertBefore(a.w,b);wd(a.w);b=qa(a.j);a.w.style.setProperty("width",b.width+"px","important");
a.w.style.setProperty("height",b.height+"px","important");a.w.style.setProperty("position","fixed","important");M(a.v,a.w,"zIndex",999998,"important");a.w.style.setProperty("opacity","0.7","important");b=new H(0,0);b=Xi(a.Cb,b);a.w.style.setProperty("left",b.x+"px","important");a.w.style.setProperty("top",b.y+"px","important");a.w.style.setProperty("background-color","#666","important");a.w.id="goog-lb-overlay";a.H.push(U(a.w,"click",w(a.kg,"background-overlay"),!1,a));M(a.v,a.l,"zIndex",999999,"important");
null!=a.W&&(a.W.w=a.w);Bc(a.l,"outline","none");b=Kc(a.l);N(a.v,a.l,"width",b.width,"important");N(a.v,a.l,"height",b.height,"important");e=Hc(uc(a.l));P()||(e=Xi(a.Cb,e));c=ej(a,e,b,vd(a.j));a.ic=oc(a.j);P()?(e=d=0,M(a.v,a.l,"position","absolute","important"),a.l.parentNode&&M(a.v,a.l.parentNode,"position","relative","important")):(d=e.x,e=e.y,M(a.v,a.l,"position","fixed","important"));a:{f=td();if(null==f.SAMPLE_VIEWPORT_SIZES){if(P()&&!na(.05)||!P()&&!na(.01))break a}else if(!f.SAMPLE_VIEWPORT_SIZES)break a;
var f=oc(a.j),h=vd(a.j);Y(a.u,"viewport",{event:"lbstart",ew:a.F.width,eh:a.F.height,lw:f.width,lh:f.height,vw:h.width,vh:h.height},1)}Q("no_expansion_animation")?(N(a.v,a.l,"left",c.x,"important"),N(a.v,a.l,"top",c.y,"important"),a.Hg(b)):(ti()?a.ob=new ui(a.l,a.ke,{left:d+"px",top:e+"px"},{left:c.x+"px",top:c.y+"px"},[{Sd:"all",duration:a.ke,timing:"ease-out",pd:0}]):a.ob=new Ei(a.l,[d,e],[c.x,c.y],1E3*a.ke,Fi),U(a.ob,"end",v(a.Hg,a,b),!1),a.ob.play(),null!=a.W&&(b=v(a.Gg,a),a.W.Qg=b,a=a.W,a.D=
a.j.document.createElement("iframe"),a.D.style.visibility="hidden",a.D.style.zIndex=1E6,a.D.id="goog-ea-survey-overlay",a.j.document.body.appendChild(a.D),lg(a.Ii,200,a)))}};Tj.prototype.rh=function(){this.W.dispose();this.W=null};
Tj.prototype.$c=function(a,b){if(!this.Ee){this.Ee=!0;var c=Wj(this),c=0>=c.length?null:c[c.length-1],d=this.j||C;if(d&&c){this.Be=a;this.De=b;v(this.Uh,this);var e=v(this.Vh,this);Q("external_overlay")||qi(this.u,"unknown-external-notifier");c=new Qj(d,c,e,this.u);this.Ae=c}else qi(this.u,"external-notifier-invalid-iframe-or-win")}};var Yj=function(a){null!==a.Ae&&(clearTimeout(a.re),a.re=0,a.Ae.dispose(),a.Be=null,a.De=null,a.Ee=!1)};g=Tj.prototype;
g.Vh=function(){this.De();this.re=setTimeout(v(this.ei,this),3E3)};g.ei=function(){this.mg=!0;Yj(this);Y(this.u,"dispose-external-notifier-timeout",{},1)};g.Uh=function(){this.Be()};g.Hh=function(){if(this.Ya){this.N=!0;this.Ya=!1;var a=Wj(this);1<a.length&&Vj(this,a[0],this.Id);this.Jd&&(this.Jd(),this.Jd=null)}};g.sh=function(){this.N||this.collapse();this.Ue&&this.Ue()};
var ak=function(a,b){var c=Wj(a),d=Hc(c[c.length-1]),e=oc(a.j||C),c=d.y,f=e.height-(d.y+a.J.height),c=b.height-a.J.height>c||f>=c,f=d.x,d=e.width-(d.x+a.J.width),d=b.width-a.J.width>f||d>=f,e=2;c&&!d?e=3:!c&&d?e=1:c||d||(e=0);return e},Uj=function(a){a.l||(a.l=B.getElementById(a.Hf));return a.l};var bk=function(a,b){W.call(this);this.u=new oi(v(this.mf,this));var c=this.C=a,d=this.u;m(c.u.bf)?zd("multiple-gen204-overrides"):c.u=d;this.oh=b;a:{var c=a.Ug,e;try{var d=c,f=B.URL;f instanceof je||(f=we(f));d instanceof je||(d=we(d));e=f.resolve(d)}catch(h){d=c.indexOf("//");e=c.substring(0,d);e=(f=0<=d&&(0==d||":"==c.charAt(d-1)))&&0<d?e:B.location.protocol;c=f?c.substring(d+2):B.location.host;d=c.indexOf("/");0>d&&(d=c.indexOf("?"));f&&0<d&&(c=c.substring(0,d));c=e+"//"+c;break a}c=e.eb+"://"+
e.ja;null!=e.vb&&(c+=":"+e.vb)}this.df=c;c=this.C;e={};e.ifrid=c.Hf;e.pu=c.Ug;e.cn=this.oh;e.ppu=$g(this.df);e.lpu=$g();this.s=new Tg(e);rg(this.s,v(this.Le,this));this.Vf();lg(this.Ie,3E4,this);this.Vc=!1};A(bk,W);g=bk.prototype;g.Vf=function(){if(this.s)try{this.s.connect()}catch(a){lg(this.Vf,10,this)}};g.Ie=function(){this.s&&!this.s.Oa()&&(this.s.S.connect=function(){},1==this.s.S.cd&&(this.s.S.Lj=function(){}),4==this.s.S.cd&&(this.s.S.Jj=function(){}),this.s.S.dispose(),this.s.dispose())};
g.Le=function(a){var b=a.split("_"),c=b[0];switch(c){case "expand":this.Je(b);break;case "collapse":this.He();break;case "resize":this.Me(b);break;case "maxsize":this.Ke();break;case "params":a=a.substr(7);C.CREATIVE_TOOLSET_PARAMS=$d(a);this.Vc=!0;this.M("ok_params");break;case "previewParams":a=a.substr(14);C.CREATIVE_TOOLSET_PREVIEW_PARAMS=$d(a);break;case "startExternalNotifier":this.Oe();break;case "expanding":case "collapsed":this.dispatchEvent(c)}};
g.M=function(a){this.s.send("expandable_ad",a)};g.Ke=function(){var a=Xj(this.C);this.M("ok_maxsize_i"+a.width+"_e"+a.height)};
g.Je=function(a){if(!this.C.isExpanded()){for(var b=new D(0,0),c=0,d=0;d<a.length;++d){var e=a[d].charAt(0);"w"==e?b.width=parseInt(a[d].substring(1),10):"h"==e?b.height=parseInt(a[d].substring(1),10):"m"==e&&(c=parseInt(a[d].substring(1),10))}a=ak(this.C,b);this.$d="ok_expand_w"+b.width+"_h"+b.height+"_d"+a;0===c?(this.C.expand(b,a),this.nf()):1===c&&Zj(this.C,b,v(this.nf,this),v(this.Mi,this))}};g.Oe=function(){this.Vc?this.C.$c(v(this.Ki,this),v(this.Li,this)):Y(this.u,"start-external-notifier-before-params-received")};
g.Ki=function(){this.M("externalNotifierAboutToComplete")};g.Li=function(){this.M("externalNotifierComplete")};g.mf=function(a,b,c,d){if(!this.s||!this.s.Oa())return!1;a="externalLog_"+b+"_"+a+"_"+d;for(var e in c)a+="_"+e+"_"+c[e];this.M(a);return!0};g.nf=function(){this.$d&&(this.M(this.$d),this.$d=null)};g.Mi=function(){this.M("initiateCollapse")};g.He=function(){if(this.C.isExpanded()){this.C.collapse();var a=this.C.Ge();this.M("ok_collapse_w"+a.width+"_h"+a.height)}};
g.Me=function(a){for(var b=new D(0,0),c=0;c<a.length;++c){var d=a[c].charAt(0);"w"==d?b.width=parseInt(a[c].substring(1),10):"h"==d&&(b.height=parseInt(a[c].substring(1),10))}this.$d="ok_resize_w"+b.width+"_h"+b.height;this.C.resize(b);this.nf()};
y("ExpandableAdSlotFactory.createIframeFromWindow",function(a){var b=a.google_frame_id;b||(b="google_frame_"+Math.floor(2147483647*Math.random()));var c=ck(b,a.google_ad_url,parseInt(a.google_ad_width,10),parseInt(a.google_ad_height,10),a.google_container_id);return a[b]=c});
var dk=function(a){if(!a)return null;var b=a.a,c=a.b,d=a.c,e=a.d,f=a.e,h=a.h;if(!b||!c||0>=d||0>=e||!f)return null;a=new Tj(b,c,new D(d,e),a.f,a.g);f=new bk(a,f);h&&(C[h]=f);return f},ck=function(a,b,c,d,e,f,h,k){if(!a||!b||0>=c||0>=d)return null;var t=Ig();b=Zg(b,t,k);k="<iframe allowtransparency=true frameborder=0 height="+d+" hspace=0 id="+a+" marginheight=0 marginwidth=0 name="+a+' scrolling=no src="'+b+'" style="left:0;position:absolute;top:0" vspace=0 width='+c+" allowfullscreen=true></iframe>";
if(!h){var z="border:none;height:"+d+"px;margin:0;padding:0;position:relative;visibility:visible;width:"+c+"px;background-color:transparent";k=['<ins id="',a+"_expand",'" style="display:inline-table;',z,'"><ins id="',a+"_anchor",'" style="display:block;',z,'">',k,"</ins></ins>"].join("")}(e=e?B.getElementById(e):null)?e.innerHTML=k:B.write(k);return dk({a:a,b:b,c:c,d:d,e:t,f:f,g:h,h:void 0})};y("ExpandableAdSlotFactory.createIframe",ck);
y("DhtmlExpandableIframeFactory.createElement",function(a,b,c,d){if(!a||!b||0>=c||0>=d)return null;var e=Ig();b=Zg(b,e);var f=ek(a,b,c,d);dk({a:a,b:b,c:c,d:d,e:e,f:void 0,g:void 0,h:"expandableAdSlot_"+a});return fk(f,c,d)});y("DhtmlExpandableIframeFactory.appendAndSetupExpandableIframe",function(a,b,c,d,e){if(!a||!b||0>=c||0>=d)return null;var f=Ig();b=Zg(b,f);var h=ek(a,b,c,d),h=fk(h,c,d);e.appendChild(h);dk({a:a,b:b,c:c,d:d,e:f,f:void 0,g:void 0,h:"expandableAdSlot_"+a});return h});
var fk=function(a,b,c){b="border:none;height:"+c+"px;margin:0;padding:0;position:relative;visibility:visible;width:"+b+"px";c=B.createElement("ins");c.style.cssText="display:inline-table;"+b;var d=B.createElement("ins");d.style.cssText="display:block;"+b;d.appendChild(a);c.appendChild(d);return c},ek=function(a,b,c,d){var e=document.createElement("iframe");e.style.cssText="border:none;height:"+d+"px;margin:0;padding:0;position:relative;visibility:visible;width:"+c+"px";e.name=a;e.id=a;e.src=b;e.style.cssText=
"left:0;position:absolute;top:0";e.width=c;e.height=d;e.frameBorder=0;e.hspace=0;e.vspace=0;e.scrolling="no";e.marginHeight=0;e.marginWidth=0;e.allowTransparency=!0;e.setAttribute("allowfullscreen",!0);return e};bk.prototype.listen=bk.prototype.$a;bk.prototype.listenOnce=bk.prototype.Nb;bk.prototype.unlisten=bk.prototype.Bb;bk.prototype.unlistenByKey=bk.prototype.Vb;var gk=function(a,b,c,d,e,f,h){W.call(this);this.C=new Tj(b,c,new D(d,e),f,h);this.Ni=a;this.Vc=!1;this.u=new oi(v(this.mf,this))};A(gk,W);
gk.prototype.Wh=function(a){var b=a.split("_"),c=b[0];switch(c){case "expand":this.Je(b);break;case "collapse":this.He();break;case "resize":this.Me(b);break;case "maxsize":this.Ke();break;case "params":a=a.substr(7);C.CREATIVE_TOOLSET_PARAMS=$d(a);this.Vc=!0;this.M("ok_params");break;case "previewParams":a=a.substr(14);C.CREATIVE_TOOLSET_PREVIEW_PARAMS=$d(a);break;case "startExternalNotifier":this.Oe();break;case "expanding":case "collapsed":this.dispatchEvent(c)}};gk.prototype.handleMessage=gk.prototype.Wh;
g=gk.prototype;g.M=function(a){this.Ni(a)};g.Ke=function(){var a=Xj(this.C);this.M("ok_maxsize_i"+a.width+"_e"+a.height)};
g.Je=function(a){if(!this.C.isExpanded()){for(var b=new D(0,0),c=0,d=0;d<a.length;++d){var e=a[d].charAt(0);"w"==e?b.width=parseInt(a[d].substring(1),10):"h"==e?b.height=parseInt(a[d].substring(1),10):"m"==e&&(c=parseInt(a[d].substring(1),10))}a=ak(this.C,b);d="ok_expand_w"+b.width+"_h"+b.height+"_d"+a;0===c?(this.C.expand(b,a),this.M(d)):1===c&&Zj(this.C,b,v(this.M,this,d),v(this.M,this,"initiateCollapse"))}};
g.Oe=function(){this.Vc?this.C.$c(v(this.M,this,"externalNotifierAboutToComplete"),v(this.M,this,"externalNotifierComplete")):Y(this.u,"start-external-notifier-before-params-received")};g.mf=function(a,b,c,d){a="externalLog_"+b+"_"+a+"_"+d;for(var e in c)a+="_"+e+"_"+c[e];this.M(a);return!0};g.He=function(){if(this.C.isExpanded()){this.C.collapse();var a=this.C.Ge();this.M("ok_collapse_w"+a.width+"_h"+a.height)}};
g.Me=function(a){for(var b=new D(0,0),c=0;c<a.length;++c){var d=a[c].charAt(0);"w"==d?b.width=parseInt(a[c].substring(1),10):"h"==d&&(b.height=parseInt(a[c].substring(1),10))}a="ok_resize_w"+b.width+"_h"+b.height;this.C.resize(b);this.M(a)};y("ExpandableIframeController",gk);gk.prototype.listen=gk.prototype.$a;gk.prototype.listenOnce=gk.prototype.Nb;gk.prototype.unlisten=gk.prototype.Bb;gk.prototype.unlistenByKey=gk.prototype.Vb;if(Tc(document.URL)){window.CreativeToolset.getInstance().dispose();var hk=document.createElement("script");hk.src="//pagead2.googlesyndication.com/pagead/js/creativetoolset/expansion_embed_dbg.js";document.body.appendChild(hk)}else{var ik=C.google_eas_queue;if(ik&&n(ik))for(var jk=0;jk<ik.length;jk++)ik[jk]&&dk(ik[jk]);C.google_eas_queue={push:dk}};}).call(this);
