"';b?fp(function(b){gp(b?c:'javascript:" "')}):gp(c)}},gp=function(a){var b=fe("IFRAME",{src:a,style:"display:none"});a=Xd(b).body;var c= Qf(function(){cf(d);le(b)},15E3);var d=Ue(b,["load","error"],function(){Qf(function(){Rf(c);le(b)},5E3)});a.appendChild(b)},fp=function(a){var b=cp.imageLoadingEnabled;if(null!=b)a(b);else{var c=!1;ip(function(b,e){delete cp[e];c||(c=!0,null!=cp.imageLoadingEnabled||(cp.imageLoadingEnabled=b),a(b))})}},ip=function(a){var b=new Image,c=""+bp++;cp[c]=b;b.onload=function(){clearTimeout(d);a(!0,c)};var d=setTimeout(function(){a(!1,c)},300);b.src="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw=="}, jp=function(a){if(a){var b=document.createElement("OBJECT");b.data=a;b.width="1";b.height="1";b.style.visibility="hidden";var c=""+bp++;cp[c]=b;b.onload=b.onerror=function(){delete cp[c]};document.body.appendChild(b)}},kp=function(a){if(a){var b=new Image,c=""+bp++;cp[c]=b;b.onload=b.onerror=function(){delete cp[c]};b.src=a}},lp=function(a,b){a&&(b?fp(function(b){b?kp(a):jp(a)}):kp(a))},ep=function(a){a=od(rd(a));if("about:invalid#zClosurez"===a)return"";a=Jd(Ld(a));return encodeURIComponent(String(hg(a)))};var S=function(a){Ee.call(this);this.h=a;this.g={}};A(S,Ee);var mp=[];S.prototype.H=function(a,b,c,d){return np(this,a,b,c,d)};var U=function(a,b,c,d,e){np(a,b,c,d,!1,e)},np=function(a,b,c,d,e,f){Da(c)||(c&&(mp[0]=c.toString()),c=mp);for(var h=0;hh;++h){var k="";void 0!==e&&e||(k=(k=9!==d.nodeType&&d.id)?"/"+k:"");a:{if(d&&d.nodeName&&d.parentElement){var l=d.nodeName.toString().toLowerCase();for(var m=d.parentElement.childNodes,n=0,r=0;rf;++f){var J=x.frames;for(h=0;ha?"postroll":0==a?"preroll":"midroll");c.push(x)}else for(a= 0;a>2)+c.charCodeAt(J)&4294967295;c=0b.length?!1:b.substr(-a.length)==a&&(b.length==a.length||"."==b.charAt(b.length-a.length-1))):a==b} var eq=function(a){a=new R(a);var b=a.g;return"http"!=a.o&&"https"!=a.o?!1:-1==b.indexOf(".")||b.match(/^[\.0-9]*$/)?!1:dq(a.toString())},dq=function(a){try{pb(a)}catch(b){return!1}return!0};var fq=function(a){var b=["243-250"];b=void 0===b?["18"]:b;a=new R(a);b.length&&To(a,"itags",b.join(","));return a.toString()};var gq=function(a,b){this.url=a;this.id=void 0===b?null:b};var hq=function(a,b,c){this.url=a;this.g=b;this.h=void 0===c?null:c};var iq=function(a){a=void 0===a?{}:a;var b=void 0===a.vc?null:a.vc,c=void 0===a.ua?null:a.ua,d=void 0===a.width?null:a.width,e=void 0===a.height?null:a.height,f=void 0===a.Bd?null:a.Bd,h=void 0===a.De?[]:a.De,k=void 0===a.Ua?[]:a.Ua,l=void 0===a.ha?[]:a.ha;this.id=void 0===a.id?null:a.id;this.vc=b;this.ua=c;this.width=d;this.height=e;this.Bd=f;this.De=h;this.Ua=k;this.ha=l};var jq=function(a,b){this.g=a;this.h=void 0===b?"none":b};var kq=function(a){a=void 0===a?{}:a;var b=void 0===a.Ce?[]:a.Ce,c=void 0===a.He?[]:a.He;this.zd=void 0===a.zd?null:a.zd;this.Ce=b;this.He=c};var lq=function(a){a=void 0===a?{}:a;var b=void 0===a.ua?null:a.ua,c=void 0===a.Lb?null:a.Lb,d=void 0===a.Nb?null:a.Nb,e=void 0===a.width?null:a.width,f=void 0===a.height?null:a.height,h=void 0===a.Ia?null:a.Ia,k=void 0===a.Sa?null:a.Sa,l=void 0===a.fe?null:a.fe,m=void 0===a.Od?null:a.Od,n=void 0===a.Pd?[]:a.Pd,r=void 0===a.Ua?[]:a.Ua;this.dc=void 0===a.dc?null:a.dc;this.ua=b;this.Lb=c;this.Nb=d;this.width=e;this.height=f;this.Ia=h;this.fe=l;this.Sa=k;this.Od=m;this.Pd=n;this.Ua=r};var mq=function(a,b){var c=void 0===b?{}:b;b=void 0===c.height?null:c.height;var d=void 0===c.width?null:c.width,e=void 0===c.yc?null:c.yc,f=void 0===c.mimeType?null:c.mimeType,h=void 0===c.ua?null:c.ua,k=void 0===c.bitrate?null:c.bitrate,l=void 0===c.Na?null:c.Na,m=void 0===c.maxBitrate?null:c.maxBitrate;c=void 0===c.Kb?null:c.Kb;this.url=a;this.height=b;this.width=d;this.yc=e;this.mimeType=f;this.ua=h;this.Na=l||m||k||0;this.maxBitrate=m||l||k||0;this.Kb=c};var nq=function(a){a=void 0===a?{}:a;var b=void 0===a.Df?null:a.Df,c=void 0===a.ha?[]:a.ha,d=void 0===a.kf?[]:a.kf,e=void 0===a.sd?null:a.sd,f=void 0===a.Ob?null:a.Ob,h=void 0===a.Se?[]:a.Se;this.duration=void 0===a.duration?null:a.duration;this.Ob=f;this.Df=b;this.ha=c;this.kf=d;this.sd=e;this.Se=h};var oq=function(a){a=void 0===a?{}:a;var b=void 0===a.ua?null:a.ua,c=void 0===a.height?null:a.height,d=void 0===a.width?null:a.width,e=void 0===a.$d?null:a.$d,f=void 0===a.Ua?[]:a.Ua,h=void 0===a.ae?null:a.ae,k=void 0===a.qf?[]:a.qf,l=void 0===a.Ob?null:a.Ob;this.id=void 0===a.id?null:a.id;this.ua=b;this.height=c;this.width=d;this.$d=e;this.Ua=f;this.ae=h;this.qf=k;this.Ob=l};var pq=function(a,b){b=void 0===b?[]:b;this.g=a;this.ha=b};var qq=function(a){a=void 0===a?{}:a;var b=void 0===a.Qd?"unknown":a.Qd;this.Rd=(void 0===a.Rd?"unknown":a.Rd)||"unknown";this.Qd=b||"unknown"};var rq=function(a){a=void 0===a?{}:a;var b=void 0===a.id?null:a.id,c=void 0===a.adId?null:a.adId,d=void 0===a.Zd?null:a.Zd,e=void 0===a.jd?null:a.jd,f=void 0===a.Xc?null:a.Xc,h=void 0===a.pe?null:a.pe;this.sequence=void 0===a.sequence?null:a.sequence;this.id=b;this.adId=c;this.Zd=d;this.jd=e;this.Xc=f;this.pe=h};var sq=function(a){a=void 0===a?{}:a;var b=void 0===a.nd?null:a.nd,c=void 0===a.Rc?null:a.Rc,d=void 0===a.parameters?null:a.parameters,e=void 0===a.ha?[]:a.ha;this.vendor=void 0===a.vendor?null:a.vendor;this.nd=b;this.Rc=c;this.parameters=d;this.ha=e};var tq=function(a){a=void 0===a?{}:a;var b=void 0===a.Vb?[]:a.Vb,c=void 0===a.Zb?[]:a.Zb,d=void 0===a.rb?[]:a.rb,e=void 0===a.qb?[]:a.qb,f=void 0===a.Qa?[]:a.Qa;this.Va=void 0===a.Va?null:a.Va;this.g=b;this.h=c;this.rb=d;this.qb=e;this.Qa=f};var uq=function(a,b){var c=void 0===b?{}:b;b=void 0===c.id?null:c.id;c=void 0===c.sequence?null:c.sequence;this.g=a;this.id=b;this.sequence=c};var vq=function(a){this.g=a=void 0===a?[]:a};var wq=function(a){a=void 0===a?{}:a;var b=void 0===a.wc?null:a.wc,c=void 0===a.ve?null:a.ve,d=void 0===a.description?null:a.description,e=void 0===a.Ef?null:a.Ef;tq.call(this,{Va:void 0===a.Va?null:a.Va,Vb:void 0===a.Vb?[]:a.Vb,Zb:void 0===a.Zb?[]:a.Zb,rb:void 0===a.rb?[]:a.rb,qb:void 0===a.qb?[]:a.qb,Qa:void 0===a.Qa?[]:a.Qa});this.wc=b;this.ve=c;this.description=d;this.Ef=e};q(wq,tq);var yq=function(a){var b=new zp;xq(a,b);return b},xq=function(a,b){a.g.forEach(function(a){zq(a,b);a.g.Va&&b.adSystems.push(a.g.Va)});0a?0:a;a=b?a:Math.round(a);if(b){var c=Bb(Math.floor(a/3600))+":";var d=10>Math.floor(a/60)%60?"0":""}else c=3600<=a?Math.floor(a/3600)+":":"",d=10>Math.floor(a/60)%60&&3600<=a?"0":"";return""+c+d+Math.floor(a/60)%60+":"+(10>Math.floor(a%60)?"0":"")+Math.floor(a%60)+(b?(a%1).toFixed(3).slice(1):"")};var Cq=function(a,b,c){this.id=a;this.pa=b;this.g=c;this.vf=!1},Dq=function(){this.g=[]},Eq=function(){this.g=new Map;this.o=!1;this.l=new Dq;this.w=new Cq(0,0,!1);this.h=[this.l]},Gq=function(a){var b=Fq;if(b.o||b.g.has(a.id)||null==a.pa&&null==a.control)return b.w;var c=b.l;if(null!=a.control)for(var d=p(b.h),e=d.next();!e.done;e=d.next()){if(e=e.value,e.g.includes(a.control)){c=e;break}}else null!=a.ek&&(c=a.ek);d=0;null!=a.control?d=a.control.pa:null!=a.pa&&(d=a.pa);a=new Cq(a.id,d,!!a.tn);c.g.push(a); b.h.includes(c)||b.h.push(c);b.g.set(a.id,a);return a};Eq.prototype.reset=function(){for(var a=p(this.g),b=a.next();!b.done;b=a.next())b=p(b.value),b.next(),b.next().value.vf=!1;this.o=!1};var Fq=new Eq;Gq({id:418572103,pa:0});Gq({id:324123060,pa:10});Gq({id:324123061,pa:10});Gq({id:324123062,pa:10});Gq({id:324123063,pa:10});Gq({id:420706097,pa:10});Gq({id:420706098,pa:10});Gq({id:21061786,pa:10});Gq({id:21061817,pa:10});Gq({id:21061824,pa:50});Gq({id:21061888,pa:10});var Hq=Gq({id:21061893,pa:10});Gq({id:21062100,pa:0});Gq({id:21062273,pa:0});Gq({id:21062582,pa:0});Gq({id:420706109,pa:10});Gq({id:420706110,pa:10});Gq({id:21062301,pa:0});Gq({id:21062345,pa:0});Gq({id:21062347,pa:0}); Gq({id:21062349,pa:0});Gq({id:21062488,pa:0});Gq({id:21062478,pa:0});Gq({id:21062480,pa:0});Gq({id:21062482,pa:0});Gq({id:21062484,pa:0});Gq({id:420706116,pa:0});Gq({id:21062559,pa:0});Gq({id:21062871,pa:50});var Iq=Gq({id:420706119,pa:0}),Jq=Gq({id:420706120,pa:0});var Kq={Gl:"application/dash+xml",aj:"application/x-mpegURL",lm:"audio/mpeg",mm:"video/mp4",nm:"audio/mp4",pm:"video/mpeg",sm:"video/ogg",Xm:"video/3gpp"},Lq=[37],Mq=["*.googlesyndication.com","*.gvt1.com","gcdn.2mdn.net"],Nq=function(a){a=void 0===a?{}:a;var b=void 0===a.Ii?null:a.Ii,c=void 0===a.mimeTypes?[]:a.mimeTypes;this.h=void 0===a.vd?0:a.vd;this.A=b;a=c.length?c:Sb(Kq);this.A&&(a=a.filter(function(){return!0}));this.l=a=a.map(function(a){return a.toLowerCase()})}; Nq.prototype.g=function(a){var b=0,c=0;for(d in a)d.mimeType&&"video/webm"==d.mimeType.toLowerCase()&&(b++,d.Kb&&d.Kb.toLowerCase().includes("vp9")&&c++);Qp("webm",b.toString());Qp("vp9",c.toString());c=0>=this.h?Ah()?500:1E3:this.h;b=Oq(this,a);if(0==b.length)c=null;else{Op(Pp.K(),"smb",c);var d=null;for(var e=p(b),f=e.next();!f.done;f=e.next()){f=f.value;var h=f.Na,k=f.maxBitrate;null!=h&&h>c||null!=k&&kh)||(d=f)}if(!d)for(d=null,e=p(b),f=e.next();!f.done;f= e.next())if(f=f.value,h=f.Na,k=f.maxBitrate,!(null!=k&&k>c))if(null==k||null==d||null==d.maxBitrate||d.maxBitrateh)d=f;if(!d)for(d=null,e=p(b),f=e.next();!f.done;f=e.next())if(f=f.value,h=f.Na,k=f.maxBitrate,!(null!=h&&hh)d=f;c=d}c||Pq(a,b);c&&(c.maxBitrate?Op(Pp.K(),"br",c.maxBitrate):c.Na&&Op(Pp.K(),"br",c.Na),c.mimeType&&Op(Pp.K(),"mt",c.mimeType),c.width&&c.height&&Op(Pp.K(), "vs",c.width+"x"+c.height),c.Kb&&Op(Pp.K(),"vc",c.Kb));return c}; var Oq=function(a,b){var c=b.length;b=b.filter(function(a){var b=a.mimeType;if(B(C(a.url)))b=!1;else{b=C(b).toLowerCase();if(!(a=B(b)||"streaming"==a.yc&&C(b)!=Kq.aj.toLowerCase())){if(a=Bc)(a=(a=Aq.exec(Lb))?a[1]:"")?(a=a.replace(/_/g,"."),a=0<=Eb(a,2.3)):a=!1;a=a&&-1!=b.indexOf("application/ogg")}b=a?!1:!0}return b});var d=b.length;b=b.filter(function(b){return a.l.includes(C(b.mimeType).toLowerCase())});var e=b.length;Iq.vf||Iq.g||(Jq.vf||Jq.g)&&1==b.length||(b=b.filter(function(a){a:{a=a.url; if(Bc&&bq(Mq,a)&&(a=(new R(a)).l)&&kb(a,"/videoplayback/")&&(a=a.match(/itag\/(\d+)\//))&&(a=parseInt(a[1],10),Op(Pp.K(),"bit",a),Lq.includes(a))){a=!0;break a}a=!1}return!a}));var f=b.length;Op(Pp.K(),"gpm_i",c);Op(Pp.K(),"gpm_c",d);Op(Pp.K(),"gpm_a",e);Op(Pp.K(),"gpm_s",f);return b},Pq=function(a,b){var c=[],d=!1;a.forEach(function(a){a=C(a.mimeType).toLowerCase();c.push(a);"application/javascript"==a&&(d=!0)});a=b.map(function(a){return C(a.mimeType).toLowerCase()});Qp("vamt",c.join());Qp("plmt", a.join());Qp("hjsm",C(d));Pp.K().B()};var Qq=function(a){this.g=a};Qq.prototype.toString=function(){return this.g};var Rq=new Qq("ui_vast_icon_clicked"),Sq=new Qq("ui_vast_icon_rendered"),Tq=function(a){this.g=a;this.totalAds=this.adPosition=null},Uq=new Qq("video_time_update");var Vq=function(){};var Wq={},Xq={},Yq={},Zq={},$q={},ar={},br=function(){throw Error("Do not instantiate directly");};br.prototype.Ee=null;br.prototype.getContent=function(){return this.content};br.prototype.toString=function(){return this.content};var cr=function(a,b){this.content=String(a);this.Ee=null!=b?b:null};A(cr,br);cr.prototype.Yc=ar;var dr=function(){br.call(this)};A(dr,br);dr.prototype.Yc=Wq;var er=function(){br.call(this)};A(er,br);er.prototype.Yc=Zq;er.prototype.Ee=1;var fr=function(a,b){return null!=a&&a.Yc===b};var gr=function(a){if(null!=a)switch(a.Ee){case 1:return 1;case -1:return-1;case 0:return 0}return null},V=function(a){return fr(a,Wq)?a:a instanceof Id?hr(Jd(a),a.g()):hr(xb(String(String(a))),gr(a))},hr=function(a){function b(a){this.content=a}b.prototype=a.prototype;return function(a,d){a=new b(String(a));void 0!==d&&(a.Ee=d);return a}}(dr),ir=function(a){function b(a){this.content=a}b.prototype=a.prototype;return function(a){return new b(String(a))}}(er),jr=function(a){return a instanceof br? !!a.getContent():!!a},kr={},lr={},mr=function(a,b,c){var d="key_"+a+":"+b,e=kr[d];if(void 0===e||0>e)kr[d]=0,lr[d]=c;else if(0==e)throw Error('Encountered two active delegates with the same priority ("'+a+":"+b+'").');},or=function(a,b){var c=lr["key_"+a+":"+b];c||""==b||(c=lr["key_"+a+":"]);return c?c:nr;throw Error('Found no active impl for delegate call to "'+a+(b?":"+b:"")+'" (and delcall does not set allowemptydefault="true").');},nr=function(){return""},pr=function(a){return a.replace(/<\//g, "<\\/").replace(/\]\]>/g,"]]\\>")},W=function(a){return fr(a,Wq)?String(String(a.getContent()).replace(qr,"").replace(rr,"<")).replace(sr,tr):xb(String(a))},wr=function(a){return fr(a,Wq)?String(String(a.getContent()).replace(qr,"").replace(rr,"<")).replace(ur,tr):String(a).replace(vr,tr)},Br=function(a){fr(a,Xq)||fr(a,Yq)?a=xr(a):a instanceof nd?a=xr(od(a)):a instanceof jd?a=xr(kd(a)):(a=String(a),a=yr.test(a)?a.replace(zr,Ar):"about:invalid#zSoyz");return a},Dr=function(a){fr(a,Xq)||fr(a, Yq)?a=xr(a):a instanceof nd?a=xr(od(a)):a instanceof jd?a=xr(kd(a)):(a=String(a),a=Cr.test(a)?a.replace(zr,Ar):"about:invalid#zSoyz");return a},Fr=function(a){fr(a,$q)?a=pr(a.getContent()):null==a?a="":a instanceof td?a=pr(ud(a)):a instanceof Gd?(a instanceof Gd&&a.constructor===Gd&&a.h===Fd?a=a.g:(Ca(a),a="type_error:SafeStyleSheet"),a=pr(a)):(a=String(a),a=Er.test(a)?a:"zSoyz");return a},Gr={},Hr={"\x00":"�","\t":" ","\n":" ","\x0B":" ","\f":" ","\r":" "," ":" ",'"':""", "&":"&","'":"'","-":"-","/":"/","<":"<","=":"=",">":">","`":"`","\u0085":"…","\u00a0":" ","\u2028":"
","\u2029":"
"},tr=function(a){return Hr[a]},Ir={"\x00":"%00","\u0001":"%01","\u0002":"%02","\u0003":"%03","\u0004":"%04","\u0005":"%05","\u0006":"%06","\u0007":"%07","\b":"%08","\t":"%09","\n":"%0A","\x0B":"%0B","\f":"%0C","\r":"%0D","\u000e":"%0E","\u000f":"%0F","\u0010":"%10","\u0011":"%11","\u0012":"%12","\u0013":"%13","\u0014":"%14","\u0015":"%15", "\u0016":"%16","\u0017":"%17","\u0018":"%18","\u0019":"%19","\u001a":"%1A","\u001b":"%1B","\u001c":"%1C","\u001d":"%1D","\u001e":"%1E","\u001f":"%1F"," ":"%20",'"':"%22","'":"%27","(":"%28",")":"%29","<":"%3C",">":"%3E","\\":"%5C","{":"%7B","}":"%7D","\u007f":"%7F","\u0085":"%C2%85","\u00a0":"%C2%A0","\u2028":"%E2%80%A8","\u2029":"%E2%80%A9","\uff01":"%EF%BC%81","\uff03":"%EF%BC%83","\uff04":"%EF%BC%84","\uff06":"%EF%BC%86","\uff07":"%EF%BC%87","\uff08":"%EF%BC%88","\uff09":"%EF%BC%89","\uff0a":"%EF%BC%8A", "\uff0b":"%EF%BC%8B","\uff0c":"%EF%BC%8C","\uff0f":"%EF%BC%8F","\uff1a":"%EF%BC%9A","\uff1b":"%EF%BC%9B","\uff1d":"%EF%BC%9D","\uff1f":"%EF%BC%9F","\uff20":"%EF%BC%A0","\uff3b":"%EF%BC%BB","\uff3d":"%EF%BC%BD"},Ar=function(a){return Ir[a]},sr=/[\x00\x22\x27\x3c\x3e]/g,vr=/[\x00\x09-\x0d \x22\x26\x27\x2d\/\x3c-\x3e`\x85\xa0\u2028\u2029]/g,ur=/[\x00\x09-\x0d \x22\x27\x2d\/\x3c-\x3e`\x85\xa0\u2028\u2029]/g,zr=/[\x00- \x22\x27-\x29\x3c\x3e\\\x7b\x7d\x7f\x85\xa0\u2028\u2029\uff01\uff03\uff04\uff06-\uff0c\uff0f\uff1a\uff1b\uff1d\uff1f\uff20\uff3b\uff3d]/g, Er=/^(?!-*(?:expression|(?:moz-)?binding))(?:(?:[.#]?-?(?:[_a-z0-9-]+)(?:-[_a-z0-9-]+)*-?|(?:rgb|hsl)a?\([0-9.%,\u0020]+\)|-?(?:[0-9]+(?:\.[0-9]*)?|\.[0-9]+)(?:[a-z]{1,4}|%)?|!important)(?:\s+|$))*$/i,yr=/^(?![^#?]*\/(?:\.|%2E){2}(?:[\/?#]|$))(?:(?:https?|mailto):|[^&:\/?#]*(?:[\/?#]|$))/i,Cr=/^[^&:\/?#]*(?:[\/?#]|$)|^https?:|^data:image\/[a-z0-9+]+;base64,[a-z0-9+\/]+=*$|^blob:/i,Jr=/^(?!on|src|(?:action|archive|background|cite|classid|codebase|content|data|dsync|href|http-equiv|longdesc|style|usemap)\s*$)(?:[a-z0-9_$:-]*)$/i, xr=function(a){return String(a).replace(zr,Ar)},qr=/<(?:!|\/?([a-zA-Z][a-zA-Z0-9:\-]*))(?:[^>'"]|"[^"]*"|'[^']*')*>/g,rr=/
'+V(a.Da)+'
')};var Lr=function(){return hr('
')};var Mr=function(){L.call(this);this.element=null;this.Y=new S(this);Fe(this,this.Y)};q(Mr,L);Mr.prototype.P=function(){this.Y=null};var Nr=function(a){if(a.classList)return a.classList;a=a.className;return v(a)&&a.match(/\S+/g)||[]},Or=function(a,b){return a.classList?a.classList.contains(b):Za(Nr(a),b)},Pr=function(a,b){a.classList?a.classList.add(b):Or(a,b)||(a.className+=0
')};var bs=function(a){Mr.call(this);this.g=a;this.element=Ur($r,{});as(this)};q(bs,Mr);var as=function(a){a.Y.H(G("advertiserChannelThumbnail",a.element),"click",function(){a.g?Rp("ectc"):Rp("ctc")});a.Y.H(G("advertiserHeadline",a.element),"click",function(){a.g?Rp("eadc"):Rp("adc")});a.Y.H(G("advertiserDescription",a.element),"click",function(){a.g?Rp("eahc"):Rp("ahc")})};bs.prototype.P=function(){le(this.element);this.element=null;Mr.prototype.P.call(this)};var cs=function(a){Xr.apply(this,arguments)};q(cs,Xr);cs.prototype.nf=function(){};var ds=function(a){a=void 0===a?!1:a;cs.call(this);this.g=new bs(a);this.o=G("advertiserChannelThumbnail",this.g.element);this.h=G("advertiserDescription",this.g.element);this.l=G("advertiserHeadline",this.g.element)};q(ds,cs);ds.prototype.Eg=function(a){a&&this.o.setAttribute("src",a)};ds.prototype.Dg=function(a){a&&this.l&&re(this.l,a)};ds.prototype.nf=function(a){a&&this.h&&re(this.h,a)};ds.prototype.gc=function(a){ke(a,this.g.element)}; var es=function(a){a.Y.H(a.o,"click",function(b){b.stopPropagation();a.dispatchEvent("video_card_endcap_action")});a.Y.H(a.h,"click",function(b){b.stopPropagation();a.dispatchEvent("video_card_endcap_action")});a.Y.H(a.l,"click",function(b){b.stopPropagation();a.dispatchEvent("video_card_endcap_action")})};var fs=function(){return"Learn More "+V({ke:""}.ke)};var gs=function(a){return hr('
'+V(a.ag)+"
")};var is=function(a){Mr.call(this);var b=this;this.element=Ur(gs,{ag:a||fs()});a=function(){return b.dispatchEvent("click")};this.g=G("videoAdUiT4aCtaInset",this.element);this.o=G("videoAdUiT4aCtaText",this.g);hs(this,this.o,"fctc",a);this.l=G("videoAdUiT4aCtaLink",this.g);hs(this,this.l,"fcvuc",a);this.h=G("videoAdUiT4aCtaIconContainer",this.g);hs(this,this.h,"fctnc",a);hs(this,G("videoAdUiT4aCtaButton",this.g),"fcabc",function(){return b.dispatchEvent("click")});hs(this,G("videoAdUiT4aCtaInset",this.g), "fcbgc",a);this.w=G("t4aCtaCollapsibleContainer",this.g);this.A=G("videoAdUiT4aCtaExpandIcon",this.g)};q(is,Mr);var hs=function(a,b,c,d){d=void 0===d?null:d;null!=b&&a.Y.H(b,"click",function(a){a.stopPropagation();Rp(c);d&&(Pp.K().B(),d())})};var js=function(a){cs.call(this);this.h=!1;this.g=new is(a)};q(js,cs);g=js.prototype;g.gc=function(a){var b=this;ke(a,this.g.element);this.Y.H(this.g,"click",function(){b.dispatchEvent("ctaClicked")})};g.Dg=function(a){a&&re(this.g.o,a)};g.Eg=function(a){var b=this.g,c=document.createElement("IMG");c.setAttribute("onerror",'this.style.display="none"');c.setAttribute("src",a);Pr(c,"videoAdUiT4aIcon");b.h.appendChild(c)};g.nf=function(a){a&&re(this.g.l,a)};g.he=function(a){this.gc(a)};var ks=function(a){Ee.call(this);this.G=1;this.o=[];this.w=0;this.g=[];this.h={};this.B=!!a};A(ks,Ee);ks.prototype.subscribe=function(a,b,c){var d=this.h[a];d||(d=this.h[a]=[]);var e=this.G;this.g[e]=a;this.g[e+1]=b;this.g[e+2]=c;this.G=e+3;d.push(e);return e};var ls=function(a,b,c){var d=a.h[Uq.toString()];if(d){var e=a.g;(d=Xa(d,function(a){return e[a+1]==b&&e[a+2]==c}))&&a.l(d)}}; ks.prototype.l=function(a){var b=this.g[a];if(b){var c=this.h[b];0!=this.w?(this.o.push(a),this.g[a+1]=w):(c&&$a(c,a),delete this.g[a],delete this.g[a+1],delete this.g[a+2])}return!!b}; ks.prototype.A=function(a,b){var c=this.h[a];if(c){for(var d=Array(arguments.length-1),e=1,f=arguments.length;e=c?(this.h.g&&rs(this.h),vs(this)):1E3*a.g>=b&&(ts(this),0>c&&vs(this))}}; var vs=function(a){ls(a.l.g,a.o,a)},ts=function(a){a.h.g||(a.h.show(),a.l.g.A(Sq.toString(),a.g))};us.prototype.P=function(){vs(this);ps.prototype.P.call(this)};var ws=function(){return hr('
')},xs=function(a){return hr('
')};var ys=function(){L.call(this);this.h=0;this.endTime=this.startTime=null};A(ys,L);ys.prototype.Ib=function(){return 1==this.h};var zs=function(a,b){Da(b)||(b=[b]);b=Ta(b,function(a){return v(a)?a:a.ki+" "+a.duration+"s "+a.timing+" "+a.delay+"s"});Ig(a,"transition",b.join(","))},As=Tc(function(){if(sc)return Lc("10.0");var a=document.createElement("DIV"),b=vc?"-webkit":uc?"-moz":sc?"-ms":rc?"-o":null,c={transition:"opacity 1s linear"};b&&(c[b+"-transition"]="opacity 1s linear");b={style:c};if(!Md.test("div"))throw Error("Invalid tag name
.");if("DIV"in Od)throw Error("Tag name
is not allowed for SafeHtml.");c= null;var d="";if(b)for(m in b){if(!Md.test(m))throw Error('Invalid attribute name "'+m+'".');var e=b[m];if(null!=e){var f=m;var h=e;if(h instanceof Yc)h=Zc(h);else if("style"==f.toLowerCase()){e=void 0;if(!Ga(h))throw Error('The "style" attribute requires goog.html.SafeStyle or map of style properties, '+typeof h+" given: "+h);if(!(h instanceof td)){var k="";for(e in h){if(!/^[-_a-zA-Z0-9]+$/.test(e))throw Error("Name allows only [-_a-zA-Z0-9], got: "+e);var l=h[e];null!=l&&(l=Da(l)?Ta(l,yd).join(" "): yd(l),k+=e+":"+l+";")}h=k?vd(k):wd}h=ud(h)}else{if(/^on/i.test(f))throw Error('Attribute "'+f+'" requires goog.string.Const value, "'+h+'" given.');if(f.toLowerCase()in Nd)if(h instanceof jd)h=kd(h);else if(h instanceof nd)h=od(h);else if(v(h))h=rd(h).tb();else throw Error('Attribute "'+f+'" on tag "div" requires goog.html.SafeUrl, goog.string.Const, or string, value "'+h+'" given.');}h.Hb&&(h=h.tb());f=f+'="'+xb(String(h))+'"';d+=" "+f}}var m=""+Jd(c)+"
",c=c.g());(b=b&&b.dir)&&(/^(ltr|rtl|auto)$/i.test(b)?c=0:c=null);b=Kd(m,c);Rd(a,Jd(b));return""!=Kg(a.firstChild,"transition")});var Bs=function(a,b,c,d,e){ys.call(this);this.g=a;this.w=b;this.A=c;this.l=d;this.B=Da(e)?e:[e]};A(Bs,ys);var Cs=function(a){a.Ib()||(a.dispatchEvent("begin"),a.dispatchEvent("play"),a.startTime=z(),a.h=1,As()?(Ig(a.g,a.A),a.o=Qf(a.Kk,void 0,a)):a.Tg(!1))};g=Bs.prototype;g.Kk=function(){Tg(this.g);zs(this.g,this.B);Ig(this.g,this.l);this.o=Qf(y(this.Tg,this,!1),1E3*this.w)};g.stop=function(){this.Ib()&&this.Tg(!0)}; g.Tg=function(a){Ig(this.g,"transition","");Rf(this.o);Ig(this.g,this.l);this.endTime=z();this.h=0;a?this.dispatchEvent("stop"):this.dispatchEvent("finish");this.dispatchEvent("end")};g.P=function(){this.stop();Bs.O.P.call(this)};g.pause=function(){};var Ds=function(a,b){return new Bs(a,b,{opacity:0},{opacity:1},{ki:"opacity",duration:b,timing:"ease-out",delay:0})};var Fs=function(a){Mr.call(this);this.A=this.w=this.g=this.l=this.B=this.o=this.h=null;Es(this,a)};q(Fs,Mr); var Es=function(a,b){a.h=Ur(ws);a.o=G("videoAdUiPreSkipButton",a.h);a.B=G("videoAdUiPreSkipText",a.o);a.g=Ur(xs,{Sg:ob("Skip Ad "+V({ie:""}.ie))});a.l=G("videoAdUiSkipButton",a.g);N(a.h,!1);b.appendChild(a.h);b.appendChild(a.g);a.Y.H(a.l,"click",function(b){b.stopPropagation();a.dispatchEvent("click")})},Gs=function(a){a.o.style.backgroundColor="black";a.l.style.backgroundColor="black"},Hs=function(a){N(a.g,!1);Vg(a.g,0)};Fs.prototype.show=function(){N(this.o,!0);N(this.l,!0)}; Fs.prototype.P=function(){I(this.w);this.w=null;I(this.A);this.A=null;this.h&&(le(this.h),this.h=null);this.l&&(this.l=null);this.g&&(le(this.g),this.g=null);Mr.prototype.P.call(this)};var Is=function(){if(Ac){var a=/Windows NT ([0-9.]+)/;return(a=a.exec(Lb))?a[1]:"0"}return zc?(a=/10[_.][0-9_.]+/,(a=a.exec(Lb))?a[0].replace(/_/g,"."):"10"):Bc?(a=/Android\s+([^\);]+)(\)|;)/,(a=a.exec(Lb))?a[1]:""):Cc||Dc||Ec?(a=/(?:iPhone|CPU)\s+OS\s+(\S+)/,(a=a.exec(Lb))?a[1].replace(/_/g,"."):""):""}();var Ks=function(a,b){Xr.call(this);this.h=b;this.g=new Fs(a);this.l=0==b?3:1;Fe(this,this.g);Js(this)};q(Ks,Xr);var Js=function(a){Ls(a);Bc&&"4.4.4"===Is&&Gs(a.g);0==a.h?a.dispatchEvent("skipShown"):Hs(a.g);a.Y.H(a.g,"click",function(){3==a.l&&a.dispatchEvent("videoSkipClicked")})},Ls=function(a){if(!(0>a.h)){var b=Math.ceil(a.h-0),c=b.toString();60<=b&&(c=Bq(b));a=a.g.B;c=c={Mb:c};c="You can skip this ad in "+V(c.Mb);re(a,c)}}; Ks.prototype.skip=function(){return 0<=this.h&&3==this.l?(this.dispatchEvent("publisher_invoked_skip"),!0):!1};Ks.prototype.show=function(){this.g.show()};var Ms=function(){return hr('
')};var Ns=function(){return hr('
')},Os=function(){return hr('
')},Ps=function(a){return hr('
'+V(a.ag)+"
")};var Qs=function(){var a=''); return hr(a)};var Ts=function(a,b){Mr.call(this);this.h=this.g=null;this.element=Ur(Ns,{});a.appendChild(this.element);this.Y.H(this.element,"touchmove",function(a){a.preventDefault()});Rs(this);Ss(this,b);400>=(parseInt(Lg(a,"width"),10)||parseInt(a.getAttribute("width"),10))&&Pr(this.element,"videoAdUi-mobile");N(this.element,!1)};q(Ts,Mr); var Rs=function(a){a.g=Ur(Os,{});a.element.appendChild(a.g);a.Y.H(a.g,"click",function(a){Rp("sic");a.stopPropagation()})},Ss=function(a,b){a.h=Ur(Ps,{ag:b||fs()});a.element.appendChild(a.h);a.Y.H(G("callToActionButton",a.element),"click",function(b){Rp("ecbc");a.dispatchEvent("video_card_endcap_action");b.stopPropagation()})};Ts.prototype.show=function(){N(this.element,!0)};Ts.prototype.P=function(){le(this.element);this.element=null;Mr.prototype.P.call(this)};var Us=function(a,b,c,d,e){Xr.call(this);var f=this;this.h=new Ts(a,e);this.A=0;this.B=b;this.g=this.w=null;this.l=new ds(!0);this.Y.H(this.h,"video_card_endcap_action",function(){f.dispatchEvent("video_card_endcap_action")});Fe(this,this.h);this.l.fa=this;this.l.gc(this.h.h);es(this.l);Fe(this,this.l);c||(this.w=new Zr,this.w.gc(this.h.element),Fe(this,this.w));d||(this.o=new Ks(this.h.element,0),this.o.fa=this,Fe(this,this.o));0=this.B&&(N(this.h.element,!1),this.g&&this.g.stop(),this.dispatchEvent("video_card_endcap_collapse"))};Us.prototype.pause=function(){this.g&&this.g.stop()};var Vs=function(){L.call(this);this.element=null;this.Y=new S(this);Fe(this,this.Y)};q(Vs,L);var Ws=function(){Vs.call(this)};q(Ws,Vs);var Xs=function(a,b){a.element&&ke(b,a.element)};var Ys=function(a){Vs.call(this);var b=this;this.g=!1;this.element=Ur(Ms);switch(a){case "author":Pr(this.element,"authorIcon");break;case "vast":Pr(this.element,"vastIcon")}rs(this);this.h=null;this.Y.H(this.element,"click",function(a){a.stopPropagation();b.dispatchEvent("click")})};q(Ys,Vs);var qs=function(a,b){a.h||(a.h=document.createElement("IMG"));a.h.setAttribute("src",b);a.h.setAttribute("onerror",'this.style.display="none"');a.element.appendChild(a.h)}; Ys.prototype.show=function(){N(this.element,!0);this.g=!0};var rs=function(a){N(a.element,!1);a.g=!1};var Zs=function(){Yr.call(this,Qs,{},"helpIconClicked")};q(Zs,Yr);Zs.prototype.he=function(a){this.gc(a)};var $s=function(a,b){this.h=a;this.g=b};var bt=function(a){a=void 0===a?null:a;var b=void 0===b?new Map:b;b.set("AD_MT",new $s("AD_MT",{toString:function(){return null==a?"-1":Math.round(Math.max(0,1E3*a.getCurrentTime())).toString()}}));b.set("ADPLAYHEAD",new $s("ADPLAYHEAD",{toString:function(){return null==a?"-1":Bq(a.getCurrentTime(),!0)}}));b.set("ASSETURI",new $s("ASSETURI",{toString:function(){return null==a?"-1":a.mf()}}));return at(b)},at=function(a){a.set("TIMESTAMP",new $s("TIMESTAMP",{toString:function(){return(new Date).toISOString()}})); a.set("CACHEBUSTING",new $s("CACHEBUSTING",{toString:function(){return Math.round(1E8*Math.random()+1E8).toString().slice(1)}}));ct(a,"IFA","-2");ct(a,"IFATYPE","-2");ct(a,"SERVERUA","-1");ct(a,"DEVICEUA","-1");ct(a,"SERVERSIDE","0");ct(a,"DEVICEIP","-1");ct(a,"LATLONG","-1");ct(a,"GDPRCONSENT","-1");return a},ct=function(a,b,c){a.set(b,new $s(b,{toString:function(){return c}}))};var et=function(a){R.call(this,a);this.B=new Map;a=this.l;var b=a.indexOf(";"),c=null;0<=b?(this.l=a.substring(0,b),c=a.substring(b+1)):this.l=a;dt(this,c)};q(et,R);et.prototype.toString=function(){return ft(this,R.prototype.toString.call(this))};et.prototype.w=function(){return""}; var dt=function(a,b){B(C(b))||b.split(";").forEach(function(b){var c=b.indexOf("=");if(!(0>=c)){var e=pb(b.substring(0,c));b=pb(b.substring(c+1));c=a.B.get(e);null!=c?c.includes(b)||c.push(b):c=[C(b)];a.B.set(e,c)}},a)},gt=function(a,b){if(B(C(b)))return null;a=a.B.get(b);return null!=a?a:null},ht=function(a,b,c){B(C(b))||(c=c.map(C),a.B.set(b,c))},ft=function(a,b){b=[C(b)];b.push.apply(b,ba(it(a)));return b.join(";")},it=function(a){var b=gt(a,"ord");null==b?b=[C(z())]:B(C("ord"))||a.B["delete"]("ord"); var c=[];a.B.forEach(function(a,b){a.forEach(function(a){c.push(b+"="+a)})});c.push("ord="+b[0]);ht(a,"ord",b);return c};et.prototype.clone=function(){return new et(this.toString())};var jt={TYPE_EXTERNAL:0};var kt=function(a){a=void 0===a?{}:a;var b=void 0===a.target?null:a.target,c=void 0===a.title?null:a.title;this.type=a.type;this.target=b;this.title=c};var lt={TYPE_ADX_ENDCAP:0,TYPE_WEBSITE:1};var mt=function(a){a=void 0===a?{}:a;var b=void 0===a.Bf?!1:a.Bf;this.Af=void 0===a.Af?!1:a.Af;this.Bf=b};var nt=function(a){a=void 0===a?{}:a;var b=void 0===a.Md?null:a.Md;this.description=void 0===a.description?null:a.description;this.Md=b};var ot=function(a){a=void 0===a?{}:a;var b=void 0===a.priority?-1:a.priority,c=void 0===a.ha?[]:a.ha,d=void 0===a.actions?[]:a.actions,e=void 0===a.Pc?null:a.Pc,f=void 0===a.Mf?null:a.Mf;this.type=a.type;this.priority=b;this.ha=c;this.actions=d;this.Pc=e;this.Mf=f};var pt=function(a){a=void 0===a?{}:a;this.xd=void 0===a.xd?[]:a.xd};var qt=function(a){this.ha=a=void 0===a?[]:a};var rt=function(a,b){b=void 0===b?[]:b;qt.call(this,a);this.g=b};q(rt,qt);var tt=function(a){this.duration=a};var ut=function(a,b,c){this.Va=a;this.h=b;this.g=c};var vt=function(){var a={},b=void 0===a.Qb?"http://www.google.com/adsense/support":a.Qb,c=void 0===a.ye?!1:a.ye,d=void 0===a.Cf?0:a.Cf;this.Da=void 0===a.Da?"":a.Da;this.Qb=b;this.ye=c;this.Cf=d};var wt=function(a,b){var c=void 0===b?{}:b;b=void 0===c.Da?null:c.Da;var d=void 0===c.Qb?null:c.Qb,e=void 0===c.Ge?null:c.Ge,f=void 0===c.zg?!1:c.zg,h=void 0===c.pf?[]:c.pf,k=void 0===c.qd?!1:c.qd,l=void 0===c.Gf?null:c.Gf,m=void 0===c.Vc?null:c.Vc;c=void 0===c.Nf?null:c.Nf;qt.call(this,a);this.Da=b;this.Qb=d;this.Ge=e;this.zg=f;this.pf=h;this.qd=k;this.Gf=l;this.Vc=m;this.Nf=c};q(wt,qt);var xt=function(a){this.qb=a=void 0===a?[]:a};var yt=function(a){this.g=a=void 0===a?[]:a};var zt=function(a,b){this.h=a;this.g=void 0===b?null:b};var At=function(a,b){qt.call(this,a);this.g=b};q(At,qt);var Bt=function(a,b,c,d){this.value=a;this.h=b;this.l=c;this.g=d};var Ct=function(a,b){this.g=void 0===a?null:a;this.h=void 0===b?null:b};var Dt=function(a){this.sequence=a};var Et=function(a){this.g=a};var Ft=function(a,b,c,d){this.l=a;this.h=b;this.o=c;this.g=d};var Gt=function(a){var b=void 0===a.cf?null:a.cf,c=void 0===a.df?null:a.df,d=void 0===a.$e?null:a.$e,e=void 0===a.imageWidth?0:a.imageWidth,f=void 0===a.imageHeight?0:a.imageHeight;this.bf=void 0===a.bf?null:a.bf;this.cf=b;this.df=c;this.$e=d;this.imageWidth=e;this.imageHeight=f};var Ht=function(a){this.g=void 0===a?!1:a};var It=function(a){this.g=a};var Jt=function(a){a=void 0===a?{}:a;var b=void 0===a.Ne?!0:a.Ne,c=void 0===a.kb?!1:a.kb,d=void 0===a.cg?!1:a.cg,e=void 0===a.se?null:a.se;tq.call(this,{Va:void 0===a.Va?null:a.Va,Vb:void 0===a.Vb?[]:a.Vb,Zb:void 0===a.Zb?[]:a.Zb,rb:void 0===a.rb?[]:a.rb,qb:void 0===a.qb?[]:a.qb,Qa:void 0===a.Qa?[]:a.Qa});this.Ne=b;this.kb=c;this.cg=d;this.se=e};q(Jt,tq);var Kt=function(a,b){a=parseInt(a.getAttribute(b),10);if(!isNaN(a))return a},Lt=function(a){if(null!=a){a=a.toLowerCase();if("1"==a||"true"==a)return!0;if("0"==a||"false"==a)return!1}},Mt=function(a,b){var c=[];b=b.toLowerCase();a=p(H(a));for(var d=a.next();!d.done;d=a.next())d=d.value,d.nodeName.toLowerCase()==b&&c.push(d);return c},Nt=function(a,b){a=Mt(a,b);return 0a||4a||1
";a.A=b;a.h=c;a.g=d;a.o=!1;a.l=e||[];a.w=[]}else{b=this.getContent();c=this.h;d=this.g;e=this.o;var f=this.l,h=this.w;a.G=b;a.A=null;a.h=c;a.g=d;a.o=e;a.l=f||[];a.w=h||[]}return a};var kv=function(a,b,c){this.g=a;this.h=Td(b||0);this.l=null!=c?c:!0};var lv=function(){this.h=new Bo;this.g=null},mv=function(a){var b=Math.random(),c=0,d=a.h.fb();d.forEach(function(a){c+=a.h});var e=1=b){a.g=d[h];break}};var qv=function(){this.h=null!=t.G_testRunner;this.g=new Bo;nv(this,31061774,.01);nv(this,31061775,.01);nv(this,420706068,.01);nv(this,420706069,.01);nv(this,41351070,.01);nv(this,41351071,.01);nv(this,413051065,.01);nv(this,413051066,.01);nv(this,4081988,.1);nv(this,4081989,.1);nv(this,651800007,.01);nv(this,651800008,.01);nv(this,651800009,0);nv(this,6518000010,0);nv(this,6518000011,0);nv(this,6518000012,0);nv(this,41341330,.01);nv(this,41341331,.01);nv(this,420706121,.01);nv(this,420706122,.01); ov(this);pv(this)},rv=["ActiveViewExternalLayer"],tv=null,uv=function(){tv||(tv=new qv);return tv},nv=function(a,b,c){B(C("GvnExternalLayer"))||isNaN(b)||0>=b||(b=new kv(b,c),vv(a,"GvnExternalLayer").h.set(b.g,b))},ov=function(a){Uu()||Y.B||a.g.fb().forEach(function(a){mv(a)})},pv=function(a){var b=Su();b=Wu(b);null!=b&&(a.h=!1,wv(a,b.map(String)))},xv=function(a,b,c,d){isNaN(b)||0>=b||B(C(c))||(d=null!=d?d:!0,vv(a,c).g=new kv(b,0,d))},wv=function(a,b){b.forEach(function(b){xv(a,Number(b),"FORCED_PUB_EXP_LAYER_"+ b,void 0)})},yv=function(a){var b=uv();Object.keys(a).forEach(function(c){var d=a[c],e=d.experimentId;d=d.shouldReport;e?xv(b,e,c,d):vv(b,c).g=null})},zv=function(a,b){return a.h?!1:a.g.fb().some(function(a){return!!a.g&&a.g.g==b})},Av=function(a){if(a.h)return"";var b=[];a.g.fb().forEach(function(a){(a=a.g)&&a.l&&b.push(a.g)});return b.sort().join(",")},vv=function(a,b){var c=a.g.get(b);null==c&&(c=new lv,a.g.set(b,c));return c},Bv=function(){var a=[],b=uv();rv.forEach(function(c){(c=(c=vv(b,c))? c.g:null)&&a.push(c.g)});return a};var Cv="abort canplay canplaythrough durationchange emptied loadstart loadeddata loadedmetadata progress ratechange seeked seeking stalled suspend waiting".split(" ");var Dv=function(a){return(a=a.exec(Lb))?a[1]:""},Ev=function(){if(Vf)return Dv(/Firefox\/([0-9.]+)/);if(sc||tc||rc)return Kc;if(Zf)return mc()||F("iPad")||F("iPod")?Dv(/CriOS\/([0-9.]+)/):Dv(/Chrome\/([0-9.]+)/);if($f&&!(mc()||F("iPad")||F("iPod")))return Dv(/Version\/([0-9.]+)/);if(Wf||Xf){var a=/Version\/(\S+).*Mobile\/(\S+)/.exec(Lb);if(a)return a[1]+"."+a[2]}else if(Yf)return(a=Dv(/Android\s+([0-9.]+)/))?a:Dv(/Version\/([0-9.]+)/);return""}();var Fv={},Gv="",Hv=/OS (\S+) like/,Iv=/Android ([\d\.]+)/,Jv=function(){return Ah()||zh()},Kv=function(){return Cc&&!Dc||zb(Lb,"iPod")},Mv=function(a,b){null==Fv[b]&&((a=Lv(a))?(a=a.replace(/_/g,"."),Fv[b]=0<=Eb(a,b)):Fv[b]=!1);return Fv[b]},Lv=function(a){B(Gv)&&(a=a.exec(Lb))&&(Gv=a[1]);return Gv},Xp=function(){var a=Lb;return zb(a,"AppleTV")||zb(a,"tvOS")},Nv=function(a){return(Dc||(Kv()||Dc)&&Mv(Hv,10)&&Y.fa)&&a?!0:Kv()&&!Y.g||Bc&&(!Bc||!Mv(Iv,4))||Bm()?!1:!0},Ov=function(a){return Y.g?!0:!(null=== a||a.qc()||Kv()||Bm()||Bc&&(!Bc||!Mv(Iv,4)))};var Pv=["*.googlesyndication.com","gcdn.2mdn.net"];var Qv="adBreakReady adCanPlay interaction adMetadata adProgress adBuffering allAdsCompleted cacheAbandonUrls click companionBackfill companionInitialized complete contentPauseRequested contentResumeRequested durationChange externalActivityEvent firstquartile impression linearChanged loaded log measurable_impression mediaUrlPinged midpoint pause resume show_ad skipshown skippableStateChanged skip start thirdquartile trackingUrlPinged urlNavigationRequested userClose viewable_impression video_card_endcap_collapse video_card_endcap_dismiss video_card_endcap_impression videoClicked videoIconClicked volumeChange mute whyThisAdIconClicked".split(" "), Rv="adBuffering adCanPlay adMetadata adProgress click companionBackfill companionInitialized complete durationChange firstquartile impression interaction loaded log mediaUrlPinged midpoint pause resume skipshown skippableStateChanged skip start thirdquartile trackingUrlPinged userClose videoClicked videoIconClicked volumeChange mute vpaidEvent".split(" "),Sv="abandon acceptinvitation acceptinvitationlinear click close collapse companionClick complete creativeview engagedview exitfullscreen expand instreamAdComplete externalActivityEvent firstquartile fullscreen loaded measurable_impression midpoint pause progress replay resume rewind show_ad skipshown skip start stop thirdquartile userClose video_card_endcap_collapse video_card_endcap_dismiss video_card_endcap_impression viewable_impression mute unmute".split(" "), Tv="click complete creativeview firstquartile midpoint skipshown skip start thirdquartile mute unmute".split(" "),Uv="acceptinvitation click close collapse creativeview expand progress".split(" "),Vv="viewable_impression measurable_impression overlay_unmeasurable_impression overlay_unviewable_impression overlay_viewable_immediate_impression overlay_viewable_end_of_session_impression externalActivityEvent".split(" "),Wv={measurable_impression:"measurable_impression",viewable_impression:"viewable_impression", custom_metric_viewable:"custom_metric_viewable",fully_viewable_audible_half_duration_impression:"fully_viewable_audible_half_duration_impression",overlay_unmeasurable_impression:"overlay_unmeasurable_impression",overlay_unviewable_impression:"overlay_unviewable_impression",overlay_viewable_immediate_impression:"overlay_viewable_immediate_impression",overlay_viewable_end_of_session_impression:"overlay_viewable_end_of_session_impression"},Xv=function(a){return kb(a,"custom_metric_viewable")?!0:u(Wv[a])};var Yv=function(a,b,c){K.call(this,a);this.G=b;this.g=null!=c?c:null};A(Yv,K);Yv.prototype.getAd=function(){return this.G}; var Zv={AD_CAN_PLAY:"adCanPlay",ll:"adStarted",CONTENT_PAUSE_REQUESTED:"contentPauseRequested",CONTENT_RESUME_REQUESTED:"contentResumeRequested",CLICK:"click",mn:"videoClicked",nn:"videoIconClicked",Xg:"engagedview",Nl:"expandedChanged",STARTED:"start",AD_PROGRESS:"adProgress",AD_BUFFERING:"adBuffering",IMPRESSION:"impression",Zg:"measurable_impression",VIEWABLE_IMPRESSION:"viewable_impression",Yg:"fully_viewable_audible_half_duration_impression",dj:"overlay_resize",ej:"overlay_unmeasurable_impression", fj:"overlay_unviewable_impression",hj:"overlay_viewable_immediate_impression",gj:"overlay_viewable_end_of_session_impression",Ql:"externalActivityEvent",PAUSED:"pause",RESUMED:"resume",FIRST_QUARTILE:"firstquartile",MIDPOINT:"midpoint",THIRD_QUARTILE:"thirdquartile",COMPLETE:"complete",DURATION_CHANGE:"durationChange",USER_CLOSE:"userClose",gn:"userRecall",xm:"prefetched",LOADED:"loaded",ALL_ADS_COMPLETED:"allAdsCompleted",SKIPPED:"skip",Km:"skipshown",LINEAR_CHANGED:"linearChanged",SKIPPABLE_STATE_CHANGED:"skippableStateChanged", kl:"adMetadata",AD_BREAK_READY:"adBreakReady",LOG:"log",VOLUME_CHANGED:"volumeChange",VOLUME_MUTED:"mute",Zl:"interaction",Al:"companionBackfill",fn:"urlNavigationRequested",an:"trackingUrlPinged",jn:"video_card_endcap_collapse",kn:"video_card_endcap_dismiss",ln:"video_card_endcap_impression",Dl:"companionInitialized",Cl:"companionImpression",Bl:"companionClick",hm:"mediaUrlPinged",fm:"loadStart"};var $v=function(a){this.g=a+z()};$v.prototype.reset=function(a){this.g=a+z()};var aw=function(a){var b=z();a=a.g-b;return 0l.length){a=l;break a}}a=c}null!=e&&(a=Iw(a,e))}catch(m){}return a},Gw=function(a,b,c,d){a=Jw(a,b,c,void 0);a=aq(a);if(Xp())Kw(a);else try{var e=!Y.g;null!=d&&d?hp(a,e):a&&(dp(a)?hp(a, e):lp(a,e))}catch(f){}},Kw=function(a){Ew(new Cw,a,function(){},function(){},new $v(5E3),"GET")},Lw=function(a,b){null!=a&&a.forEach(function(a){Gw(a,b)})},Iw=function(a,b){if(B(b))return a;var c=new R(a);To(c,"vci",b);b=c.toString().replace(/%2C/g,",");return 2048a&&b.setFullYear(b.getFullYear()-1900);return b};g=Tw.prototype;g.ph=Pw.Xi;g.qh=Pw.Yi;g.clone=function(){var a=new Tw(this.g);a.ph=this.ph;a.qh=this.qh;return a};g.getFullYear=function(){return this.g.getFullYear()}; g.getMonth=function(){return this.g.getMonth()};g.getDate=function(){return this.g.getDate()};g.getTime=function(){return this.g.getTime()};g.set=function(a){this.g=new Date(a.getFullYear(),a.getMonth(),a.getDate())}; g.add=function(a){if(a.l||a.h){var b=this.getMonth()+a.h+12*a.l,c=this.getFullYear()+Math.floor(b/12);b%=12;0>b&&(b+=12);a:{switch(b){case 1:var d=0!=c%4||0==c%100&&0!=c%400?28:29;break a;case 5:case 8:case 10:case 3:d=30;break a}d=31}d=Math.min(d,this.getDate());this.g.setDate(1);this.g.setFullYear(c);this.g.setMonth(b);this.g.setDate(d)}a.g&&(a=new Date((new Date(this.getFullYear(),this.getMonth(),this.getDate(),12)).getTime()+864E5*a.g),this.g.setDate(1),this.g.setFullYear(a.getFullYear()),this.g.setMonth(a.getMonth()), this.g.setDate(a.getDate()),Sw(this,a.getDate()))};g.toString=function(){return[this.getFullYear(),Bb(this.getMonth()+1),Bb(this.getDate())].join("")+""};var Sw=function(a,b){a.getDate()!=b&&a.g.setUTCHours(a.g.getUTCHours()+(a.getDate()Math.random();this.h=Math.floor(4503599627370496*Math.random())};Ba(rx);rx.prototype.report=function(a,b,c){if(null==t.G_testRunner&&(this.g||c)&&!Xp()){b=b||{};b.lid=a;b.sdkv=px();a=Av(uv());B(C(a))||(b.e=a);b=sx(this,b);var d=new R("http://pagead2.googlesyndication.com/pagead/gen_204");Pb(b,function(a,b){To(d,b,null==a?"":"boolean"==typeof a?a?"t":"f":""+a)},this);a=tx();Ho(d,a.o);Y.B||(a=d.toString(),b=d.h.get("url"),null!=b&&ec()&&2083=c)return a.toString();for(var d=b.slice(0,c),e=encodeURIComponent(d),f=c;0c;)d=b.slice(0,f--),e=encodeURIComponent(d);To(a,"url",d)}catch(h){}return a.toString()},sx=function(a,b){b.id="ima_html5";var c=tx();b.c=a.h;b.domain=c.g;return b},tx=function(){var a=de(),b=document;return new R(a.parent==a?a.location.href:b.referrer)};var wx=function(){var a=Ki(),b=a.h,c=a.g;a=a.l;var d=null;a&&(d=vx(a.url));return d?d:b&&b.url?b.url:c&&c.url?c.url:""},vx=function(a){try{var b=new R(a);if(!b.g.includes(".cdn.ampproject.org"))return null;var c=b.l.split("/").slice(1),d="s"==c[1]&&3>c.length;if(2>c.length||d)return null;var e="s"==c[1];c=e?c.slice(2):c.slice(1);var f=decodeURIComponent(c[0])+"/";return e?"https://"+f+c.slice(1).join("/"):"http://"+f+c.slice(1).join("/")}catch(h){return null}};var xx=function(){L.call(this);this.A=!1;this.M=void 0;this.F=!1;this.R=void 0;this.C=!1;this.B=void 0;this.D=!1;this.h=this.o=null;this.w=new S(this);this.l=null;this.g={cslots:0,dispcorr:0,streamcorr:0}};A(xx,L);xx.prototype.P=function(){I(this.o);I(this.l);I(this.w);xx.O.P.call(this)};var yx=function(a){if(a.F&&null!=a.M)return a.M.map(function(a){return a.clone()})},zx=function(a){a=yx(a);if(null!=a)return a.map(function(a){return a.B})}; xx.prototype.Xa=function(a){a=a.map(this.U,this);Ax(this,null,"googleSetCompanionAdContents",[a,null,px()])}; xx.prototype.I=function(a){var b=a.g.returnValue,c=Number(b);switch(a.h){case "isGptPresent":null!=b&&b?(this.g.isgptpresent="1",this.h.h(this.h.A),null==this.l&&(this.l=new Pf(100),this.w.H(this.l,"tick",this.L),this.l.start()),this.L()):(this.g.isgptpresent="0",this.J());break;case "getDisplayAdsCorrelator":isNaN(c)||(this.g.dispcorr="1",this.R=c,this.C=!0);Bx(this);break;case "getVideoStreamCorrelator":isNaN(c)||(this.g.streamcorr="1",this.B=c,this.D=!0);Bx(this);break;case "googleGetCompanionAdSlots":a= b.map(this.V,this),this.g.cslots="1",this.M=a,this.F=!0,Bx(this)}}; var Cx=function(a){Ax(a,"pubads","setImaContent",["",""])},Ax=function(a,b,c,d){null!=a.h&&(b={scope:b},null!=d&&(b.args=d),a.h.send("gpt",c,b))},Dx=function(a,b){var c=0,d=0;null!=b&&(b=new R(b.adTagUrl),c=Number(b.h.get("pod")||0),d=Number(b.h.get("ppos")||0));Ax(a,"companionAds","setVideoSession",[Ww,c,d,!1])},Ex=function(a){a.o&&(a.o.stop(),a.w.za(a.o,"tick",a.J),a.o.W(),a.o=null);null!=a.l&&(a.l.stop(),a.w.za(a.l,"tick",a.L),a.l.W(),a.l=null)}; xx.prototype.J=function(){this.A||(this.A=!0,Ex(this),Fx(this),this.dispatchEvent(new hv("companion_initialization_failed",Error("GPT companion ads service not available."))),null!=this.h&&this.w.za(this.h,"gpt",this.I))};xx.prototype.L=function(){this.C||Ax(this,"companionAds","getDisplayAdsCorrelator",[px()]);this.D||Ax(this,"companionAds","getVideoStreamCorrelator");this.F||Ax(this,null,"googleGetCompanionAdSlots")}; var Bx=function(a){a.F&&a.C&&a.D?(a.A=!0,Ex(a),Fx(a),a.dispatchEvent(new hv("companions_success"))):a.o||(a.o=new Pf(5E3),a.w.ac(a.o,"tick",a.J),a.o.start())};xx.prototype.V=function(a){var b=a.adSizes.map(function(a){return new Vd(a.adWidth,a.adHeight)});return new iv(a.slotId,b)};xx.prototype.U=function(a){var b={};b.slotId=a.C;b.adContent=a.getContent();b.adWidth=a.h;b.adHeight=a.g;b.friendlyIframeRendering=a.o;return b}; var Fx=function(a){a.g.loggingDone||(a.g.loc=wx(),a.g.ref=window.document.referrer,a.g.gcasclass="1",a.g.vpaidadapter=Y.La,a.g.ifstate=Xw,rx.K().report(70,a.g),a.g={loggingDone:!0})};var Gx=function(){this.slotId=Math.floor(2147483646*Math.random())+1};g=Gx.prototype; g.clone=function(){var a=new Gx;"auto"==this.videoPlayActivation?a.setAdWillAutoPlay(!0):"click"==this.videoPlayActivation&&a.setAdWillAutoPlay(!1);"muted"==this.videoPlayMuted?a.setAdWillPlayMuted(!0):"unmuted"==this.videoPlayMuted&&a.setAdWillPlayMuted(!1);a.adTagUrl=this.adTagUrl;a.h=this.h;a.adSenseParams=ac(this.adSenseParams);a.adsResponse=this.adsResponse;a.contentDuration=this.contentDuration;a.contentKeywords=this.contentKeywords?this.contentKeywords.slice():null;a.contentTitle=this.contentTitle; a.customMacros=ac(this.customMacros);a.location=this.location;a.referrer=this.referrer;a.g=this.g;a.language=this.language;a.linearAdSlotWidth=this.linearAdSlotWidth;a.linearAdSlotHeight=this.linearAdSlotHeight;a.nonLinearAdSlotWidth=this.nonLinearAdSlotWidth;a.nonLinearAdSlotHeight=this.nonLinearAdSlotHeight;a.w=this.w;a.Ue=this.Ue;a.Ve=this.Ve;a.deviceId=this.deviceId;a.videoAdKey=this.videoAdKey;a.tagForChildDirectedContent=this.tagForChildDirectedContent;a.usePostAdRequests=this.usePostAdRequests; a.Te=this.Te;a.o=this.o;a.l=this.l;a.forceNonLinearFullSlot=this.forceNonLinearFullSlot;a.liveStreamPrefetchSeconds=this.liveStreamPrefetchSeconds;a.Vd=this.Vd;a.vastLoadTimeout=this.vastLoadTimeout;return a}; g.wa=function(){var a={};a.adSenseParams=this.adSenseParams;a.adsResponse=this.adsResponse;a.videoPlayActivation=this.videoPlayActivation;a.videoPlayMuted=this.videoPlayMuted;a.adTagUrl=this.adTagUrl;a.mediaUrl=this.h;a.contentDuration=this.contentDuration;a.contentKeywords=this.contentKeywords;a.contentTitle=this.contentTitle;a.location=this.location;a.referrer=this.referrer;a.topOrigin=this.g;a.language=this.language;a.linearAdSlotWidth=this.linearAdSlotWidth;a.linearAdSlotHeight=this.linearAdSlotHeight; a.nonLinearAdSlotWidth=this.nonLinearAdSlotWidth;a.nonLinearAdSlotHeight=this.nonLinearAdSlotHeight;a.requestCorrelatorId=this.w;a.videoAdKey=this.videoAdKey;a.tagForChildDirectedContent=this.tagForChildDirectedContent;a.usePostAdRequests=this.usePostAdRequests;a.marketAppVersion=this.o;a.marketAppPackageName=this.l;a.forceNonLinearFullSlot=this.forceNonLinearFullSlot;a.liveStreamPrefetchSeconds=this.liveStreamPrefetchSeconds;a.isAmp=this.Vd;a.vastLoadTimeout=this.vastLoadTimeout;return a}; g.adSenseParams=null;g.customMacros=null;g.videoPlayActivation="unknown";g.videoPlayMuted="unknown";g.liveStreamPrefetchSeconds=0;g.linearAdSlotWidth=0;g.linearAdSlotHeight=0;g.nonLinearAdSlotWidth=0;g.nonLinearAdSlotHeight=0;g.deviceId=null;g.Ue=null;g.Ve=null;g.forceNonLinearFullSlot=!1;g.videoAdKey=null;g.tagForChildDirectedContent=!1;g.usePostAdRequests=!1;g.slotId=0;g.Te=null;g.setAdWillAutoPlay=function(a){this.videoPlayActivation=a?"auto":"click"}; g.setAdWillPlayMuted=function(a){this.videoPlayMuted=a?"muted":"unmuted"};g.Vd=!1;g.vastLoadTimeout=5E3;var Hx=function(){};Hx.prototype.allowCustom=!0;var Ix={$i:"Image",Zi:"Flash",Qi:"All"},Jx={Wl:"Html",Xl:"IFrame",Sm:"Static",Qi:"All"},Kx={Yl:"IgnoreSize",Cm:"SelectExactMatch",Dm:"SelectNearMatch"},Lx={Jl:"DisallowResize",Bm:"ResizeSmaller"};var Mx=function(a,b,c){this.w=b;this.h=c;this.l=a};A(Mx,Error);var Nx=function(a,b){a.o||(a.o=b)};g=Mx.prototype;g.getAd=function(){return this.o};g.getInnerError=function(){return this.g};g.getMessage=function(){return this.w};g.getErrorCode=function(){return this.h};g.toString=function(){return"AdError "+this.getErrorCode()+": "+this.getMessage()+(null!=this.getInnerError()?" Caused by: "+this.getInnerError():"")}; g.wa=function(){for(var a={},b=a=(a.type=this.l,a.errorCode=this.getErrorCode(),a.errorMessage=this.getMessage(),a),c=this.getInnerError(),d=0;3>d;++d)if(c instanceof Mx){var e={};e=(e.type=c.l,e.errorCode=c.getErrorCode(),e.errorMessage=c.getMessage(),e);b=b.innerError=e;c=c.getInnerError()}else{null!=c&&(b.innerError=String(c));break}return a};var Ox=function(a){K.call(this,"adError");this.h=a};A(Ox,K);Ox.prototype.getError=function(){return this.h};var Px=function(a,b){this.message=a;this.g=b};Px.prototype.getErrorCode=function(){return this.g};Px.prototype.getMessage=function(){return this.message}; var Qx=new Px("Unable to request ads from server. Cause: {0}.",1005),Rx=new Px("Unable to request ads from server due to network error.",1012),Sx=new Px("Cannot parse the {0} value for the adslist response: {1}.",900),Tx=new Px("Invalid usage of the API. Cause: {0}",900),Ux=new Px("Asset fallback ad replacement.",1021),Vx=new Px("Asset fallback no ad replacement.",1021),Wx=new Px("The browser prevented playback initiated without user interaction.",1205),Xx=new Px("Unable to display one or more required companions.", 602),Yx=new Px("There was a problem requesting ads from the server.",1005),Zx=new Px("Ad tag URI {0} is invalid. It must be properly encoded before being passed.",1013),$x=new Px("The provided ad type: {0} is not supported.",1005),ay=new Px("The provided {0} information: {1} is invalid.",1101),by=new Px("The response does not contain any valid ads.",1009),cy=new Px("The overlay ad content could not be displayed since creative dimensions do not align with display area.",501),dy=new Px("The ad playlist response was malformed or empty.", 1010),ey=new Px("The ad response was not understood and cannot be parsed.",1010),fy=new Px("An unexpected error occurred and the cause is not known. Refer to the inner error for more info.",900),gy=new Px("No assets were found in the VAST ad response.",200),hy=new Px("The VAST response document is empty.",1009),iy=new Px("Linear assets were found in the VAST ad response, but none of them matched the video player's capabilities.",403),jy=new Px("Ad request reached a timeout.",301),ky=new Px("VAST response was malformed and could not be parsed.", 100),ly=new Px("VAST media file loading reached a timeout of {0} seconds.",402),my=new Px("Ad request could not be completed due to a network error.",301),ny=new Px("Non linear assets were found in the VAST ad response, but none of them matched the video player's capabilities.",503),oy=new Px("The maximum number of VAST wrappers ({0}) has been reached.",302),py=new Px("VAST media file duration differs from the VAST response duration by {0} seconds.",202),qy=new Px("Video player received an ad with unexpected or incompatible linearity", 201),ry=new Px("No additional VAST wrappers allowed.",300),sy=new Px("No Ads VAST response after one or more Wrappers",303),ty=new Px("There was an error playing the video ad.",400),uy=new Px("An unexpected error occurred within the VPAID creative. Refer to the inner error for more info.",901),wy=function(a,b,c){return vy("adLoadError",a,b||null,Array.prototype.slice.call(arguments,2))},Z=function(a,b,c){return vy("adPlayError",a,b||null,Array.prototype.slice.call(arguments,2))},yy=function(){var a= Z(ty),b=Z(Wx);a.g=b;return a},zy=function(a){var b=a;for(a=0;10>a&&null!=b;){if(b instanceof Mx){if(1205==b.getErrorCode())return!0;b=b.getInnerError()}else break;a+=1}return!1},Ay=function(a,b,c,d,e){var f=a.apply(null,[c,d].concat(Array.prototype.slice.call(arguments,3)));b.dispatchEvent(new Yv("log",null,f))},By=function(a){Ay(wy,a,by,void 0,void 0)},Cy=function(a,b,c){Ay(Z,a,b,c,void 0)},vy=function(a,b,c,d){if(c instanceof Mx)return c;var e=b.g;b=b.message;if(0=a.width||0>=a.height)throw Z(ay,null,"ad slot size",a.toString());this.h=a;this.g=null!=b?b:new Hx;this.w=Jy(Jx,this.g.resourceType)?this.g.resourceType:"All";this.o=Jy(Ix,this.g.creativeType)?this.g.creativeType:"All";this.G=Jy(Kx,this.g.sizeCriteria)?this.g.sizeCriteria:"SelectExactMatch";this.B=Jy(Lx,this.g.g)?this.g.g:"DisallowResize";this.l=null!=this.g.adSlotIds?this.g.adSlotIds:[];this.A=va(this.g.nearMatchPercent)&&0=this.g.nearMatchPercent?this.g.nearMatchPercent:90},Oy=function(a,b){var c=[];b.forEach(function(b){a.g.allowCustom&&(!B(C(b.va.o))&&(isNaN(b.Ea())||isNaN(Ly(b))||Ly(b)==b.Ea())&&My(a,b)?c.push(b):(b=Ny(a,b),null!=b&&!B(C(b.va.o))&&c.push(b)))});return c},My=function(a,b){var c;if(c="Flash"!=b.getContentType()||Hy){if(c="All"==a.w||a.w==b.va.I)c=b.getContentType(),c=null==c?!0:"All"==a.o||a.o==c;c&&(c=b.g,c=0==a.l.length?!0:null!=c?a.l.includes(c):!1)}if(c)if(b=b.va.Ta(),(c="IgnoreSize"==a.G)|| (c=a.h,c=c==b?!0:c&&b?c.width==b.width&&c.height==b.height:!1),c)a=!0;else{if(c="SelectNearMatch"==a.G)"ResizeSmaller"==a.B?(b=b.width<=a.h.width&&b.height<=a.h.height?b:Py(b,a.h),c=b.width,b=b.height):(c=b.width,b=b.height),c=c>a.h.width||b>a.h.height||ca?0:Math.round(a);return 3600<=a?""+Math.floor(a/3600)+":"+("0"+Math.floor(a/60)%60).slice(-2)+":"+("0"+a%60).slice(-2):""+Math.floor(a/60)%60+":"+("0"+a%60).slice(-2)},Ry=function(a){var b={};a.split(",").forEach(function(a){var c=a.split("=");2==c.length&&(a=ob(c[0]),c=ob(c[1]),0=f-k.width&&42>=h-k.height}b.opt_fullscreen=f}null==b.opt_adElement&&(b.opt_adElement=a)}c=lj(469,Ma(so,e,c,b))||{}}else c={};d.viewabilityData=c;this.g.send("activityMonitor","viewability",d);break;case "fetchAdTagUrl":d={},d.eventId= b.eventId,a=b.osdId,Vb(b,"isFullscreen")&&(e=b.isFullscreen),Vb(b,"loggingId")&&(c=b.loggingId,d.loggingId=c,rx.K().report(43,{step:"beforeLookup",logid:c,time:z()},!0)),d.engagementString=uz(this,a,e),this.g&&this.g.send("activityMonitor","engagement",d)}}; var uz=function(a,b,c){if(!Y.ma)return"";var d=b?a.B.get(b):Y.Db;a={};null!=c&&(a.fullscreen=c);c="";try{c=$g(function(){return d},a)}catch(e){c="sdktle;"+yb(e.name,12)+";"+yb(e.message,40)}return c},vz=function(){var a=2;var b=Y.g;b=P&&hk(P)||b?!1:0===tj();!Bm()&&b&&(a|=2048);return a};wa("ima.common.getVideoMetadata",function(a){return lo(sz(),a)},void 0); wa("ima.common.triggerViewEvent",function(a,b){var c=sz(),d={};d.queryId=a;d.viewabilityString=b;c.g?c.g.send("activityMonitor","viewableImpression",d):c.dispatchEvent(new Yv("viewable_impression",null,d))},void 0);wa("ima.common.triggerViewabilityMeasurementUpdate",function(a,b){qo(sz(),a,b)},void 0);wa("ima.common.triggerMeasurableEvent",function(a,b){sz().Vg(a,b)},void 0);wa("ima.common.triggerExternalActivityEvent",function(a,b,c){$n(sz(),a,b,c)},void 0);sz();var xz=function(a){if(null==a)return!1;a=new R(a);var b=a.l;return lb(a.g,"googleads.g.doubleclick.net")&&wz("/pagead/(live/)?ads",b)},yz=function(a){a=a.adTagUrl;return null==a?!1:"bid.g.doubleclick.net"==(new R(a)).g},zz=function(a){if(null==a)return!1;var b=new et(a);a=b.g;b=ft(b,b.l);return!lb(a,".g.doubleclick.net")&&lb(a,"doubleclick.net")&&wz("/(ad|pfad)[x|i|j]?/",b)},Az=function(a){if(null==a)return!1;a=new R(a);var b=a.l;return lb(a.g,"doubleclick.net")&&wz("/gampad/(live/)?ads",b)},Bz=function(a){return xz(a.adTagUrl)|| zz(a.adTagUrl)||Az(a.adTagUrl)||yz(a)},Cz=function(a){a=a.adTagUrl;if(null==a)return null;a=(new R(a)).h;return null!=a.get("ms")?C(a.get("ms")):null},wz=function(a,b){return B(C(b))?!1:(new RegExp(a)).test(b)};var Dz=function(){this.U=-1;this.sa=this.xa="unknown";this.oa={};this.fa="";this.Td=new Yy};g=Dz.prototype;g.Ea=function(){return this.Ze};g.getDuration=function(){return this.U};g.xf=function(a){this.ib=a};g.wf=function(a){this.Ca=a};g.rg=function(){return null};g.bd=function(){return null};g.getAd=function(){return this.R};g.zf=function(a){this.xa=a};g.yf=function(a){this.sa=a};var Ez=function(a,b){var c=[];a.F().forEach(function(a){c=(az(a.Td,b)||[]).concat(c)});return c}; Dz.prototype.F=function(){for(var a=[this],b=this.R.h;b;){var c=Fz(this,b)||Fz(this,b,!0);null!=c&&a.push(c);b=b.h}return a};var Fz=function(a,b,c){var d=c||!1;return b.B.find(function(b){var c=b.Ea()==a.Ea();return b instanceof a.constructor&&(d||c)})};var Gz=function(a,b,c,d,e){Dz.call(this);B(C(a))&&(a="goog_"+Fb++ +"_ima");this.ga=C(a);this.La=b;this.I=c;this.C=d;this.o=e;this.B=[];null==this.C?this.$=null:this.$=gv[this.C]||"Other"};A(Gz,Dz);g=Gz.prototype;g.getContent=function(){var a=this.nb();if("outerHTML"in a)a=a.outerHTML;else{var b=Xd(a).createElement("DIV");b.appendChild(a.cloneNode(!0));a=b.innerHTML}return a};g.sg=function(){return!1};g.getContentType=function(){return this.$};g.Ta=function(){return this.La};g.Yb=function(){return this.Ta().width}; g.Gb=function(){return this.Ta().height};g.Gh=function(){return this.o};g.rg=function(){return"VPAID"==this.G&&"Javascript"==this.$?this.o:null};g.bd=function(){return this.G};g.Fb=function(){return this.V};var Hz=function(a,b){a.B=b};var Iz=function(a,b){this.g=a;this.h=b};var Jz=function(a,b,c){this.va=a;this.h=b;this.g=c};Jz.prototype.getContent=function(){return this.va.getContent()};Jz.prototype.nb=function(){return this.va.nb()};Jz.prototype.getContentType=function(){return this.va.getContentType()};Jz.prototype.Ea=function(){return this.va.Ea()};var Ly=function(a){a=a.va.getAd().g;return null!=a?a.Ea():NaN};Jz.prototype.getAd=function(){return this.va.getAd()};var Kz=function(a,b){a.va.R=b;a.h.forEach(function(a){Kz(a,b)})}; Jz.prototype.wa=function(){var a={};a.apiFramework=this.va.bd()||"";a.content=this.getContent();a.size=this.va.Ta();a.resourceType=this.va.I;a.contentType=this.getContentType();a.sequenceNumber=this.Ea();a.masterSequenceNumber=Ly(this);a.adSlotId=this.g;a.backupCompanions=this.h.map(function(a){return a.wa()});return a};var Lz=sc?ld(Zc($c('javascript:""'))):ld(Zc($c("about:blank")));kd(Lz);var Mz=sc?ld(Zc($c('javascript:""'))):ld(Zc($c("javascript:undefined")));kd(Mz);var Nz=function(a,b,c,d,e){Gz.call(this,a,b,c,d,e);this.h=null;this.L=-2;this.l=null;this.na=this.ma=this.D=w;this.M=[];this.w=!1};A(Nz,Gz); var Rz=function(a,b){a.l=b;null!=a.h&&null!=b&&(Oz(a,a.D),Pz(a,a.ma),Qz(a,a.na))},Oz=function(a,b){null!=a.l&&null!=a.h&&a.M.forEach(function(c){a.l.za(c,"click",a.D);!B(C(a.Fb()))&&a.l.H(c,"click",b)});a.D=b},Qz=function(a,b){a.na=b;null!=a.l&&a.h&&(b=G("wtaIcon",a.h))&&a.l.H(b,"click",a.na)},Pz=function(a,b){null!=a.l&&null!=a.h&&(a.l.za(a.h,"creativeview",a.ma),a.l.H(a.h,"creativeview",b));a.ma=b},Sz=function(a,b){null==a.l||B(C(a.Fb()))||(a.l.H(b,"click",a.D),a.M.push(b))}; Nz.prototype.nb=function(){null==this.h&&(this.h=this.Ed(),ie(this.h,Tz(this)));var a=this.h;null!=this.l&&this.l.H(a,"creativeview",this.ma);return a}; Nz.prototype.Ed=function(){var a=C(this.o);B(C(this.Fb()))||(a=new R(a),To(a,"clickTAG",encodeURIComponent(String(this.Fb()))),a=a.toString());var b=fe("IFRAME",{marginwidth:0,marginheight:0,hspace:0,vspace:0,frameborder:0,scrolling:"no"},null);b.height=this.Gb();"Text"!=this.getContentType()&&(b.width=this.Yb());b.setAttribute("src",aq(a));Sz(this,b);return Uz(this,b)}; var Uz=function(a,b){var c=a.ga,d={};d.style="cursor:default;position:relative;z-index:1001;height:"+a.Gb()+"px;";"Text"!=a.getContentType()&&(d.style+="width:"+a.Yb()+"px");B(C(c))||(d.id=c);return fe("DIV",d,b)};Nz.prototype.sh=function(){return 2}; var Tz=function(a){if(!a.w)return null;a=Ez(a,"start").concat(Ez(a,"creativeview"));if(null!=a&&0e;++e)if(d instanceof Object){var f=new Mx(d.type,d.errorMessage,d.errorCode);c=c.g=f;d=d.innerError}else{null!=d&&(c.g=Error(b.innerError));break}this.M=null!=a?a:Error(b.errorMessage)}this.dispatchEvent("error"); break;case "fullscreen":this.F=!0;this.dispatchEvent("beginFullscreen");break;case "exitFullscreen":this.F=!1;this.dispatchEvent("endFullscreen");break;case "loaded":this.dispatchEvent("loaded");break;case "mute":this.w=!0;this.dispatchEvent("volumeChange");break;case "pause":this.o||(this.o=!0,null!=b.ended&&(this.B=b.ended),this.dispatchEvent("pause"));break;case "play":this.o=!1;this.dispatchEvent("play");break;case "autoplayDisallowed":this.dispatchEvent("autoplayDisallowed");break;case "skip":this.dispatchEvent("skip"); break;case "skipShown":this.dispatchEvent("skipShown");break;case "focusSkipButton":this.dispatchEvent("focusSkipButton");break;case "start":this.D||(iA(this),this.D=!0,mA(this,b),this.dispatchEvent("start"));break;case "timeupdate":this.J&&(a=b.currentTime,b=b.duration,u(a)&&u(b)&&(this.h=Gb(a),this.l=Gb(b),this.dispatchEvent("timeUpdate")));break;case "timedMetadata":this.U=b.TXXX;this.dispatchEvent("timedMetadata");break;case "unmute":this.w=!1;this.dispatchEvent("volumeChange");break;case "volumeChange":mA(this, b);this.dispatchEvent("volumeChange");break;case "loadedmetadata":this.l=Gb(b.duration);this.dispatchEvent(a);break;case "abort":case "canplay":case "canplaythrough":case "durationchange":case "emptied":case "loadstart":case "loadeddata":case "progress":case "ratechange":case "seeked":case "seeking":case "stalled":case "suspend":case "waiting":this.dispatchEvent(a)}};var mA=function(a,b){b=b.volume;!va(b)||isNaN(b)||0>b||1b.h?b.h:900;var e=void 0===e?new Map:e;e.set("ERRORCODE",new $s("ERRORCODE",b));qA(d,e);d.SDKV=px();rA(d,a);e=a.error.getErrorCode();d.ERROR_MSG=a.error.getMessage();d.IMA_ERROR=e;d.INTERNAL_ID="0";e=nA.includes(e);d.BLOCKING_ERROR=e?"1":"0";return d},tA=function(a,b){var c={};a=new pA(null,a,u(b)?b:null);b=bt(a.display);qA(c,b);c.SDKV=px();rA(c,a);return c},uA=function(){var a={};var b=void 0=== b?new Map:b;ct(b,"ADCATEGORIES","-1");ct(b,"BLOCKEDADCATEGORIES","-1");ct(b,"VERIFICATIONVENDORS","-2");ct(b,"PLAYERCAPABILITIES","-1");b=at(b);qA(a,b);return a},pA=function(a,b,c){this.error=a;this.g=b;this.display=c},vA=function(a,b){null!=b&&(a.VIEWABILITY=b)},xA=function(a,b,c,d){wA(c,b)?a[c]=d||"":a[c]=""},wA=function(a,b){return oA[a].some(function(a){return null!=b.match(a)})},qA=function(a,b){b.forEach(function(b){a[b.h]={toString:function(){a:{try{var a=b.g.toString();break a}catch(e){}a= null}return a}}})},rA=function(a,b){if(null!=b.g){var c=yA(b.g);a.AQI=null!=c?c:"";a.AD_V={toString:function(){if(null!=b.display){var a=cA(b.display.mf());if(null!=a)return a}return"0"}};a.FINAL="1"}},zA=function(){var a=Array(16);if(t.crypto&&t.crypto.getRandomValues){var b=new Uint8Array(16);t.crypto.getRandomValues(b);for(var c=0;cb;b++){c=z();for(var d=0;d=b.width||0>=b.height)return[];var c=new Hx;c.creativeType="Image";c.resourceType="Static";c.sizeCriteria="SelectNearMatch";c.nearMatchPercent=40;var d=wB(a,b.width,b.height,c);if(0!=d.length)return d;c.g="ResizeSmaller";d=aB(a).filter(function(a){return a.va.sg()});return Oy(new Ky(new Vd(b.width,b.height),c),d)},gB=function(a){var b=null,c=0;BB(a).forEach(function(d){var e=xB(a);e=!d.va.sg()||d.va.Yb()<=e.width&&d.va.Gb()<=e.height?d.va.Ta():Py(d.va.Ta(),e);e=e.width*e.height;e> c&&(c=e,b=d)});return b},CB=function(a,b){return b||null==a.h?a.oa:a.oa.concat(CB(a.h))},UA=function(a,b){a.oa=b?b.slice():[];a.oa.forEach(function(b){a.L=a.L.concat(b.g.slice())});a.L.forEach(function(b){Kz(b,a)})},DB=function(a,b){return a.B.some(function(a){return a instanceof CA&&"linear"==b||a instanceof Nz&&"nonlinear"==b?!0:!1})},EB=function(a){return-1!=a.getDuration()&&0!=a.getDuration()&&7>=a.getDuration()}; VA.prototype.isLinear=function(){return this.Wd?this.bi:FB(this)?!0:yB(this)&&!Y.g?"video"==this.Nh:DB(this,"linear")}; var FB=function(a){var b=a.g;return yB(a)&&null!=b&&b instanceof Nz&&(90e?1:0)?-e:e;if(0===e)ah=0<1/e?0:2147483648;else if(isNaN(e))ah=2147483647;else if(3.4028234663852886E38>>0;else if(1.1754943508222875E-38>e)e=Math.round(e/Math.pow(2,-149)),ah=(d<<31|e)>>>0;else{var f=Math.floor(Math.log(e)/Math.LN2);e*=Math.pow(2,-f);e=Math.round(8388608* e)&8388607;ah=(d<<31|f+127<<23|e)>>>0}d=ah;c.g.push(d>>>0&255);c.g.push(d>>>8&255);c.g.push(d>>>16&255);c.g.push(d>>>24&255)}}c=qh(a,5);null!=c&&ih(b,5,c);c=qh(a,6);null!=c&&ih(b,6,c);c=qh(a,7);null!=c&&kh(b,7,c);c=qh(a,8);null!=c&&kh(b,8,c);c=qh(a,9);null!=c&&null!=c&&hh(b,9,c);c=qh(a,10);null!=c&&ih(b,10,c);c=qh(a,11);null!=c&&kh(b,11,c);c=qh(a,12);null!=c&&jh(b,12,c)};KC.prototype.zf=function(a){sh(this,7,a)};KC.prototype.yf=function(a){sh(this,8,a)};JC.prototype.xf=function(a){sh(this,6,a)}; JC.prototype.wf=function(a){sh(this,7,a)};var MC=function(a,b){sh(a,11,b||[])};var NC=new Map(Object.entries({"application/dash+xml":1,"application/x-javascript":2,"application/x-mpegurl":3,"application/javascript":4,"audio/ogg":5,"audio/mp4":6,"audio/mpeg":7,"audio/wav":8,"text/javascript":9,"video/m4v":10,"video/ogg":11,"video/x-flv":12,"video/3gpp":13,"video/mpt2":14,"video/mp4":15,"video/mpeg":16,"video/quicktime":17,"video/webm":18})),QC=function(a){for(var b=new HC,c=[],d=a;null!=d;)c.push(OC(d)),d=d.h;d=c[0];var e=new KC,f=a.g;if(f instanceof CA){if(sh(e,5,!0),f=f.g, null!=f){var h=f.mimeType;h=0==h.length?null:PC(h);sh(e,2,h);h=f.Na||0;sh(e,1,0>=h?null:h);f=aA(f.url)?f.g:null;sh(e,11,f)}}else f instanceof Nz&&(sh(e,5,!1),f=f.C,f=0==f.length?null:PC(f),sh(e,2,f),sh(e,1,null));$A(a)&&(2==Y.A?sh(e,12,1):sh(e,12,2));f=a.getDuration();sh(e,4,0>f?null:f);e.zf(pB(a));e.yf(qB(a));a=a.o;f=a.l;h=a.h;null!=f&&null!=h&&h>=f&&sh(e,9,h-f);sh(e,10,a.g);d.Ka||(d.Ka={});a=e?th(e):e;d.Ka[10]=e;sh(d,10,a);c.reverse();b.Ka||(b.Ka={});c=c||[];d=[];for(e=0;e=c&&sh(b,8,d-c);MC(b,a.A.map(function(a){return a.g}));return b},RC=function(a){return 1<=a&&2>a?1:2<=a&&3>a?2:3<=a&&4>a?3:4<=a&&5>a?4:0},PC=function(a){a=a.trim().toLowerCase(); a=a.split(" ")[0];return NC.get(a)||0};var SC=/(doubleclick\.net|googleadservices\.com)/,TC=["ai","sigh"],UC=["xai","sig"],XC=function(a){var b=C(a);!B(b)&&VC(b)&&(a=WC(b,"&sdkv="+px()),kx&&(a=WC(a,"&ssss=gima")));return a},WC=function(a,b){var c=a.indexOf("&adurl=");return-1!=c?Cb(a.substr(0,c),b,a.substr(c,a.length)):a+b},VC=function(a){return a&&SC.test(a)?a.includes("/pagead/adview")||a.includes("/pagead/conversion")||a.includes("/gampad/live/conversion")?TC.every(function(b){return rg(a,b)}):a.includes("/pcs/view")?UC.every(function(b){return rg(a, b)}):!1:!1},YC=function(a){a=C(a);if(B(a))return!1;try{pb(a)}catch(b){return!1}return!0};var ZC=function(){Ee.call(this);this.w=null;this.o="";this.g=new Yy;this.l=new Map;this.A=[];this.D=!1;this.h={};this.B={};this.C=-1;this.G=[]};A(ZC,Ee);var $C=function(a,b){var c=QC(b);return a.map(function(a){return VC(a)?Iw(a,c):a})},aD=function(a,b){a.h=b},bD=function(a,b){a.A.includes(b)||a.A.push(b)};ZC.prototype.report=function(a,b){var c=this,d=b||fz(this.g,a.type);Y.l?EC(vC(),a.type,this.o,function(b){return cD(c,a.type,d,b)}):cD(this,a.type,d)}; var dD=function(a,b,c){c=ac(c||{});"timeout"==(c.viewability||"")&&(a=a.B[b],null!=a&&(c.viewability=a));return c},cD=function(a,b,c,d){d=dD(a,b,d);if("impression"==b&&!a.D&&null!=a.A&&0a||1a.h?a.h.toFixed(0):a.g.toString(),wD(a,d),zD("//s.youtube.com/api/stats/watchtime",d))},zD=function(a,b){a=new R(a);for(var c in b)To(a, c,b[c]);Gw(a.toString())};sD.prototype.U=function(){if(!(0>=vD(this)))if(this.L)if(!this.D&&vD(this)>=xD(this)){var a={};wD(this,a);yD(this,a);zD("//s.youtube.com/api/stats/delayplay",a);this.D=!0}else vD(this)>=this.g&&BD(this,vD(this)>=this.h);else a={},this.J=0==this.l.getVolume(),this.h=this.l.getDuration(),this.B=Math.floor(z()/1E3),wD(this,a),yD(this,a),a.rtn=this.g,zD("//s.youtube.com/api/stats/playback",a),this.L=!0};sD.prototype.R=function(){BD(this,!0);tD(this)};var CD=function(a,b,c){eC.call(this,a);this.Z=b;this.C=this.h=this.o=null;this.F=!0;this.l=new S(a);Fe(this,this.l);this.I=c;this.A=this.B=this.w=null;this.D=!1};q(CD,eC); CD.prototype.start=function(){DD(this);eC.prototype.start.call(this);this.w=cB(this.getAd(),"InfoCards").uj[0];this.B=this.w.actions[0].title;this.A=this.w.Mf;this.w.Pc&&this.w.Pc.Af&&(this.o=new js(this.B),(this.C=G("videoAdUiFloatingLayer",this.Z.Id()))&&this.o.he(this.C),this.o.Dg(this.A.Md),this.o.nf(this.A.description));if(this.w.Pc&&this.w.Pc.Bf){var a=this.Z.Bc();a&&(this.getAd().$=5,this.h=new Us(a,1E3*NB(this.getAd()),!0,!1,this.B));this.h.l.Dg(this.A.Md);this.h.l.nf(this.A.description)}ED(this); FD(this)}; var FD=function(a){a.l.H(a.Z.pc(),"timeUpdate",function(){if(4Math.pow(5,2))this.B=!0};MD.prototype.$=function(a){this.A?this.J():(!this.F||1!=this.h||this.B||this.L||this.D||!RD(this,a.changedTouches)||(this.l=window.setTimeout(y(this.J,this),300)),this.h=a.touches.length,0==this.h&&(this.B=this.F=!1,this.o=[]),this.L=!1)};MD.prototype.U=function(){this.J()}; var RD=function(a,b){for(var c=0;c
'+V(a.Yd)+'
'+V(a.Yd)+'
'+('
'+V(a.Da)+'
')+'
'}); mr("a","redesign2014q4",function(a){a=a||{};var b='
'+V(a.un)+'
"+V(a.Da)+'
'}); var TD=function(a){return'
'+V(a.Da)+'
'},UD=function(a){return'
'+V(a.Da)+'
'+V(a.Yd)+'
'},VD=function(){return hr('
')},WD=function(a){a=a||{};return""+or("b",a.Le)(a,void 0)};mr("b","",function(a){a=a||{};return"You can skip this ad in "+V(a.Mb)});mr("b","redesign2014q4",function(a){a=a||{};return"You can skip to video in "+V(a.Mb)});mr("b","forcedlinebreak",function(a){a=a||{};return"You can skip to"+(V(a.sk)+("video in "+V(a.Mb)))}); var XD=function(a){return'
'},YD=function(a){var b="";2<=a.totalAds&&1<=a.adPosition?(a="Ad "+(V(a.adPosition)+(" of "+(V(a.totalAds)+(" "+V(a.oe))))),b+=a):(a="Ad "+V(a.oe),b+=a);return b};var ZD=function(){this.Da=YD({oe:"",adPosition:0,totalAds:0});this.Yd="Learn More "+V({ke:""}.ke);this.g=null;this.F=6E3;this.ma=this.h=this.J=this.w=!0;this.l=!1;this.o=!Y.o;this.L=!1;this.A=!0;this.C=this.fa=this.oa=this.B=this.G=!1;this.D=null;this.M=!1},$D=function(a){var b=[];a.w&&b.push("adAttribution");a.h&&b.push("countdown");return b},aE=function(a,b,c,d){var e=new ZD;e.G=a;e.U=b;e.g=c;e.J=d.Uk;e.D=SD;e.V=eA(b,null!=c);return e},cE=function(a,b,c,d,e,f,h,k){a=aE(a,b,c,e);a.l=f;a.L=h;a.ma= !0;a.B=e.Vk;a.F=0;k||bE(a,e.uiElements);B(C(d))||(a.I=d);return a},bE=function(a,b){null!=b&&(a.w=b.includes("adAttribution"),a.h=b.includes("countdown"))};var eE=function(a,b){L.call(this);this.h=a;this.L=0;this.F=!1;this.w=0==Wy(this.h.g)?3:1;this.o=this.g=this.J=this.A=this.l=null;this.I=new S(this);this.C=this.B=null;this.D=new MD;this.M="";this.l=Ur(VD);this.A=G("videoAdUiPreSkipButton",this.l);this.J=G("videoAdUiPreSkipText",this.A);dE(this,0);Pr(this.J,"videoAdUiPreSkipTextOnly");this.o=Ur(XD,{Sg:ob("Skip Ad "+V({ie:""}.ie))});this.g=G("videoAdUiSkipButton",this.o);a=G("videoAdUiSkipIcon",this.g);null!=a&&Or(a,"videoAdUiSkipIcon")&&(Qr(a,"videoAdUiSkipIcon"), Pr(a,"videoAdUiExperimentalSkipIcon"));Pr(this.g,"videoAdUiRedesignedSkipButton");a=G("videoAdUiSkipButtonExperimentalText",this.g);null!=a&&Pr(a,"videoAdUiFixedPaddingSkipButtonText");Pr(G("videoAdUiExperimentalSkipIcon",this.g),"videoAdUiFixedPaddingSkipButtonIcon");"4.4.4"===(Bc?Lv(Iv):"")&&(this.A.style.backgroundColor="black",this.g.style.backgroundColor="black");N(this.l,!1);b.appendChild(this.l);0==Wy(this.h.g)?this.dispatchEvent("skipshown"):(N(this.o,!1),Vg(this.o,0));b.appendChild(this.o); this.I.H(this.D,"click",this.R);OD(this.D,this.g)};A(eE,L);eE.prototype.P=function(){I(this.B);this.B=null;I(this.C);this.C=null;null!=this.l&&(le(this.l),this.l=null);null!=this.g&&(this.g=null);null!=this.o&&(le(this.o),this.o=null);this.D.W();this.D=null;this.I.W();this.I=null;eE.O.P.call(this)}; var fE=function(a,b,c){a.L=c;0>=a.L||null==a.h.g||0>Wy(a.h.g)||(c=Wy(a.h.g),c>=a.L||3==a.w||(0>b?a.w=1:b<=c?(2!=a.w&&(dE(a,0),Cs(Ds(a.l,.5)),N(a.l,!0)),a.w=2):(3!=a.w&&(N(a.o,!0),c=new Bs(a.l,.5,{opacity:1,visibility:"shown"},{opacity:.9,visibility:"hidden"},{ki:"opacity",duration:.5,timing:"ease-out",delay:0}),a.C=c,Cs(a.C),a.B=Ds(a.o,.5),Cs(a.B),a.g.autofocus&&a.g.focus()),a.w=3,a.dispatchEvent("skipshown"))));2==a.w&&dE(a,b)}; eE.prototype.skip=function(){return null==this.h.g||3!=this.w||this.F?!1:(this.F=!0,this.dispatchEvent("PUBLISHER_INVOKED_SKIP"),!0)};var dE=function(a,b){var c=null==a.h.g||-1==Wy(a.h.g)?-1:Wy(a.h.g);0>c||(b=Math.ceil(c-b),c=b.toString(),60<=b&&(c=Qy(b)),re(a.J,WD({Le:a.M,Mb:c,sk:"\n"})))};eE.prototype.R=function(a){a.stopPropagation();3!=this.w||this.F||(this.F=!0,this.dispatchEvent("skip"))};var gE=function(a,b){null!=a.A&&N(a.A,b);null!=a.g&&N(a.g,b)}; eE.prototype.focus=function(){null!=this.g&&this.g.focus()};var iE=function(a,b,c){L.call(this);this.g=a;this.na=!1;this.R=c;this.V=this.F=this.A=this.w=this.D=this.$=this.U=this.h=null;this.sa=!1;this.l=this.B=this.ga=this.L=this.I=this.C=null;this.o=new S(this);this.M=[];this.J=[];hE(this,b)};A(iE,L);iE.prototype.show=function(){null!=this.h&&N(this.h,!0)};iE.prototype.skip=function(){var a;if(a=null!=this.l)a=this.l,a=null!=a.h.g&&3==a.w;return a?this.l.skip():!1}; var jE=function(a){null!=a.B&&(a.o.H(a.B,"click",a.Hi),null==a.A||"none"!=a.A.style.display||Ig(a.B,"cursor","pointer"))},kE=function(a){null!=a.B&&(a.o.za(a.B,"click",a.Hi),Ig(a.B,"cursor","default"))};iE.prototype.P=function(){this.h&&(le(this.h),this.h=null);this.B=this.ga=this.L=this.I=this.V=this.F=this.A=this.w=this.D=this.$=this.U=null;this.l&&(this.l.W(),this.l=null);this.M.length=0;this.J.forEach(function(a){QD(a)});this.J.length=0;this.o.W();this.o=null;this.sa=!1;iE.O.P.call(this)}; var mE=function(a,b,c,d,e,f){a.sa=!0;null!=a.h&&(null!=a.$&&lE(a,b,d,e,f),null!=a.L&&(a.L.style.width=Rg(b/d*100+"%")),null!=a.ga&&(a.ga.style.width=Rg(c/d*100+"%")),0d-b&&Pr(a.I,"videoAdUiTopBarNoFade"),a.M.forEach(function(a){var c=0<=a.Ia?a.Ia/1E3:0;a.Sa=0<=a.Sa?a.Sa:1E3*d;var e=a.Sa/1E3;c<=b&&c+e>=b?$z(a):N(a.g,!1)}))},nE=function(a,b){a.M=b;b.forEach(function(b){b.display(a.h);var c=b.nb();if(null!=c){var e=new MD;e.A=!0;a.J.push(e); a.o.H(e,"click",y(a.Kj,a,b));OD(e,c)}})},pE=function(a,b){a.g.fa=!B(C(b));a.g.R=b;null!=a.w&&re(a.w,(new cr("by "+a.g.R,void 0)).getContent());oE(a)},qE=function(a,b){a.g.oa=!B(C(b));if(null!=a.D){var c=document.createElement("img");c.setAttribute("onerror",'this.style.display="none"');c.setAttribute("src",b);Pr(c,"videoAdUiAuthorIconImage");a.D.appendChild(c);null!=a.C&&Pr(a.C,"videoAdUiTitleWithAuthorIcon");null!=a.w&&Pr(a.w,"videoAdUiAuthorNameWithAuthorIcon")}oE(a)},rE=function(a,b){a.g.C=!B(C(b)); a.g.title=b;null!=a.C&&re(a.C,a.g.title);oE(a)},hE=function(a,b){var c={Da:a.g.Da,Yd:a.g.Yd,Le:""};a.h=Ur(a.g.D,c);a.o.H(a.h,"touchmove",a.Tk);a.L=G("videoAdUiProgress",a.h);a.ga=G("videoAdUiBuffer",a.h);a.U=G("videoAdUiAttributionContainer",a.h);a.$=G("videoAdUiAttribution",a.h);a.D=G("videoAdUiAuthorIcon",a.h);a.w=G("videoAdUiAuthorName",a.h);a.A=G("videoAdUiLearnMore",a.h);a.F=G("videoAdUiLearnMoreText",a.h);a.C=G("videoAdUiTitle",a.h);a.I=G("videoAdUiTopBar",a.h);a.V=G("videoAdUiBottomBar",a.h); a.xa=G("videoAdUiWtaIconContainer",a.h);null!=a.D&&a.o.H(a.D,"click",a.rj);if(null!=a.w){var d=new MD;a.J.push(d);a.o.H(d,"click",a.sj);OD(d,a.w)}null!=a.A&&(d=new MD,d.A=!0,a.J.push(d),a.o.H(d,"click",a.Mh),OD(d,a.A));null!=a.F&&(d=new MD,d.A=!0,a.J.push(d),a.o.H(d,"click",a.Mh),OD(d,a.F));null!=a.C&&(d=new MD,a.J.push(d),a.o.H(d,"click",a.Sk),OD(d,a.C));null==a.I||Jv()&&!Y.g||a.o.H(a.h,"mouseover",a.Nk);null!=a.g.g&&(a.l=new eE(a.g,a.h),a.l.fa=a,a.l.M=c.Le);null!=a.xa&&null!=a.g.I&&(c=new Zs,c.he(a.xa), a.o.H(c,"helpIconClicked",a.Wj));400>=(parseInt(Lg(b,"width"),10)||b.width)&&Pr(a.h,"videoAdUi-mobile");c=xe(b);null!=c&&Rr(c,"ytp-video-ad-learn-more-ui",a.g.G);N(a.h,!1);b.appendChild(a.h);!a.g.G&&a.g.J&&(a.B=fe("DIV",{style:"width:100%;height:100%;pointer-events:auto;"}),a.h.appendChild(a.B));if(Y.g){var e=a.h.getElementsByTagName("a");for(b={Wc:0};b.Wca.g.F||0==a.R),c=b&&a.g.oa,d=b&&a.g.fa,e=b&&a.g.l;b=b&&a.g.C;var f=a.g.L&&a.g.h,h="0px";null!=a.C&&(N(a.C,b),null!=a.D&&N(a.D,c),null!=a.w&&N(a.w,d),null!=a.I&&N(a.I,b||c||d||e));null!=a.U&&sE(a);null!=a.L&&(N(a.L,f),f&&(h=Lg(a.L,"height")));null!=a.V&&Ig(a.V,"bottom",h);tE(a);a.g.o&&!Y.o&&(null!=a.A&&N(a.A,!1),null!=a.F&&N(a.F,!1))},lE=function(a,b,c,d,e){var f=YD({oe:"",adPosition:0,totalAds:0});a.g.h&&a.g.ma&&(f=YD({oe:": ("+Qy(c-b)+ ")",adPosition:d,totalAds:e}));re(a.$,f);sE(a)},sE=function(a){N(a.U,a.g.w&&(!a.g.h||a.sa))};g=iE.prototype;g.rj=function(){this.dispatchEvent("videoAuthorIconClicked")};g.sj=function(){this.dispatchEvent("videoAuthorClicked")};g.Wj=function(){if(null!=this.g){var a=this.g.I;B(C(a))||this.dispatchEvent(new Yv("whyThisAdIconClicked",null,{clickThroughUrl:a}))}}; g.Kj=function(a){var b=a.o;if(!B(C(b)))for(this.dispatchEvent(new Yv("videoIconClicked",null,{clickThroughUrl:b})),a=p(a.w),b=a.next();!b.done;b=a.next())Gw(b.value)};g.Mh=function(){this.dispatchEvent("videoLearnMoreClicked")};g.Sk=function(){this.dispatchEvent("videoTitleClicked")};g.Tk=function(a){a.preventDefault()};g.Hi=function(){this.dispatchEvent("click")};g.resize=function(){null!=this.M&&this.M.forEach(function(a){Zz(a)})};g.Nk=function(){null!=this.I&&Pr(this.I,"videoAdUiTopBarTransitions")}; var tE=function(a){var b=a.g.A&&(a.R>a.g.F||0==a.R)&&a.g.l?a.g.o?!Y.o||a.na:!0:!1;null!=a.A&&N(a.A,b);null!=a.F&&N(a.F,a.g.G&&!b)},uE=function(a){a.g.A=!1;a.g.l=!1;a.g.w=!1;a.g.h=!1;oE(a);kE(a);a.B=null;var b=G("videoAdUiTopBar",a.h),c=G("videoAdUiBottomBar",a.h),d=G("videoAdUiProgressBar",a.h);null!=b&&N(b,!1);null!=c&&N(c,!1);null!=d&&N(d,!1);null!=a.l&&gE(a.l,!1)};var vE=function(a,b,c,d,e){var f=dB(a,"AdSense").pop(),h;if(h=!Y.g&&!0)h=(null===b?!1:"modules"==(new R(b)).w().toLowerCase()||(null===b?!1:"pharma"==(new R(b)).w().toLowerCase()))||null!=f&&f.qd();b=EB(a)?null:IB(a);f=f?f.A:null;if(d||h)c.useLearnMoreButton=!0,c.useStyledLinearAds=!0;if(c.useStyledLinearAds){d=C(LB(a));var k=c.useLearnMoreButton;if(B(d)||!dq(d))k=!1;return cE(h,a.G,b,f,c,k,Y.g,!e)}TB(a)?(e=h,a=a.G,B(C(a))||null===b||!(0=.25*a&&DE(this,"firstquartile",!0,!0);this.g.h>=.5*a&&DE(this,"midpoint",!0,!0);this.g.h>=.75*a&&DE(this,"thirdquartile",!0,!0);var b=this.o,c=this.g.getCurrentTime();if(!b.l.has("skip")){0>b.C&&(ez(b.g,a),b.C=0);a=az(b.g,"progress");for(var d=[],e=b.C;ec)break;b.C=e+1;d.push(f.Aa())}0a.B||a.L||!(a.g.h>=a.B||a.g.dd())||!a.D||(a.L=!0,DE(a,"engagedview",!0,!0),a.dispatchEvent(new xE("viewCount",a.g)))};g=yE.prototype; g.Dk=function(){this.D=!0;DE(this,"impression",!0,!0);DE(this,"creativeview",!0,!0);null==this.I&&null==this.l&&this.h.H(this.g,"click",this.tg);null!=this.I&&(this.A=new MD,this.h.H(this.A,"click",this.tg,!1),OD(this.A,this.I));null!=this.l&&(this.F=new MD,this.h.H(this.F,"click",this.tg,!1),OD(this.F,this.l));DE(this,"start",!0,!0);(this.g.Kc()||0==this.g.getVolume())&&DE(this,"mute",!1,!1)}; g.Hk=function(){var a=this.g.Kc(),b=this.g.getVolume(),c=this.w;c.g&&!a||!a&&0==c.volume&&0=a;return a};g.skip=function(){null!=IB(this.g)&&(null!=this.l?this.l.skip():(this.ca("skip"),this.N("skip"),this.destroy()))}; g.start=function(){jD.prototype.start.call(this);try{a:{this.C=GE(this),this.N("contentPauseRequested");if(!this.B){var a=cA(this.C.Aa());a&&(this.g.G=a);var b=cB(this.g,"AdSense");null!=b&&null!=b.h&&b.h.g&&this.setVolume(0);if(this.ba.useVideoAdUi){var c=vE(this.g,this.C.Aa(),this.ba,Y.g||Bm()?!1:Jv()&&!this.xg()||RB(this.g)||this.ba.useStyledLinearAds?!0:!1,HE(this));zv(uv(),420706069)&&(Y.o=!0);Y.o&&(c.o=!0);var d=this.X().Id();d?je(d):d=document.body;var e=1E3*this.g.getDuration(),f=new iE(c, d,e),h=this.g.G;null!=h&&c.B&&IE(this,h);XB(this.g,this.ba.disableUi)&&uE(f);this.l=f;var k=$D(c);this.g.sa=k}CE(this.o,this.g,this.h,this.X().Oe(),this.l);$p(this.ob())&&uD(this.F,this.g,this.h);this.ka().H(this.o,"engagedview urlNavigationRequested videoAuthorIconClicked videoAuthorClicked videoClicked videoIconClicked videoLearnMoreClicked videoMuteClicked videoTitleClicked videoUnmuteClicked whyThisAdIconClicked start".split(" "),this.U);this.ka().H(this.h,"loaded",this.lk);this.ka().H(this.h, "timeUpdate",this.mk);this.ka().H(this.h,"waiting",this.pk);this.ka().H(this.h,"volumeChange",this.nk);this.yb();var l=tA(this.g,this.h);this.aa.h=l;var m=this.g.g;if(null!=m&&m instanceof CA){this.pb(m,Sv);this.uc(m);var n=this.ka();U(n,this.o,"error",this.jk,this);U(n,this.o,"mediaLoadTimeout",this.kk,this);U(n,this.o,"autoplayDisallowed",this.V,this)}this.ld();null!=IB(this.g)&&(this.o.B=30);var r=this.ba.loadVideoTimeout;0this.g.fa)){f=this.h.getDuration();var h=MB(this.g);f=Math.abs(f-h);2a||1c||0>b)&&a.la()){var d=a.T(),e=d.l.g,f=d.l.l,h={};b=new KD((h.adBreakDuration=d.l.h,h.adPosition=e,h.currentTime=b,h.duration=c,h.totalAds=f,h));a.N("adProgress",b)}};WE.prototype.gg=function(){var a=[];(new Set(Sv.concat(Sb(Wv)))).forEach(function(b){return a.push(b)});return a};WE.prototype.Qc=function(a,b){var c=this;b.forEach(function(a){var b=a.Aa();cz(c.aa.g,a.g,b)})}; WE.prototype.ce=function(a){var b=a.type;if(-1!=Vv.indexOf(b)){if("externalActivityEvent"==b&&(b=a.g.eventName,!Xv(b)))return;ZE(this,b)}};WE.prototype.clicked=w;var cF=function(a,b){WE.call(this,a);this.l=new yE(this.aa);this.A=new sD;this.I=this.M=this.C=!1;this.R=this.B=1;this.h=null;this.J=new Set;this.F=this.D=!1;this.w=null;this.g=b.pc();this.o=null;this.U=!1;b=0=a;return b}return!1};g.skip=function(){this.la()&&null!=IB(this.T())&&(null!=this.ra?this.ra.skip():(this.ca("skip"),pF(this)))}; g.start=function(){cF.O.start.call(this);try{var a=this.T();this.h=mF(this,a);dF(this,y(cF.prototype.sa,this,a,this.h.Aa(),this.h.mimeType))}catch(b){oF(this,b),this.od(),this.la()?(Cy(this,ty,b),this.start()):(this.C?Cy(this,ty,b):(null!=this.Wa&&this.Wa.Xa(cC()),Dy(this,ty,b)),this.stop())}};g.getVolume=function(){YE(this);return this.g.Kc()?0:this.g.getVolume()};g.setVolume=function(a){YE(this);this.C?this.g.setVolume(a):this.B=a};g.pause=function(){YE(this);this.g.pause()}; g.resume=function(){YE(this);kA(this.g)};g.getCurrentTime=function(){YE(this);return this.g.getCurrentTime()};g.getDuration=function(){YE(this);return this.g.getDuration()};g.getRemainingTime=function(){YE(this);var a=this.getDuration(),b=this.getCurrentTime();return 0<=a&&0<=b?Math.max(0,a-b):-1};g.Nj=function(){jF(this)&&!this.D&&this.hi();lF(this,ty,Z(ty,this.g.getError()))};g.hi=function(){this.F=!0};g.Bk=function(){this.la()&&jz(this.T().o)}; g.Oj=function(){this.la()&&jz(this.T().o);qF(this);lF(this,ly,Z(ly,null,(this.ba.loadVideoTimeout/1E3).toString()))};g.Mj=function(){var a={};if(this.la()){a.aid=jB(this.T());a.xcid=mB(this.T());a.url=Yw;var b=this.T().w;if(null!=b&&null!=b.adTagUrl){var c=(new R(b.adTagUrl)).h;a.au=c.get("iu");a.wp=c.get("client");a.url=a.url||b.location}}rx.K().report(76,a);lF(this,ty,yy())}; var qF=function(a){var b=a.T(),c={};c.pubbr=a.ba.bitrate;c.ic=Y.w;c.nat=!1;if(null!=b){a=a.jc(b);var d=b.g;d=d?d.g:null;var e=a.map(function(a){return a.maxBitrate||0});a=a.map(function(a){return a.mimeType});c.brs=e.join(",");c.mts=a.join(",");c.as=XA(b);null===d?(c.selbr=-1,c.selmt="",c.iyh="0",c.murl=""):(c.selbr=d.maxBitrate||0,c.selmt=d.mimeType,c.iyh=$p(d.Aa())?"1":"0",c.murl=d.Aa())}rx.K().report(45,c)},lF=function(a,b,c){oF(a,c);zy(c)?(Dy(a,b,c),a.stop()):(a.od(),a.la()?(Cy(a,b,c),a.start()): (Dy(a,b,c),a.stop()))},oF=function(a,b){b=Z(ty,b);b=sA(b,a.T(),a.g);iD(a.T(),b)},rF=function(a){a.U&&a.N("click")};cF.prototype.Qc=function(a,b){cF.O.Qc.call(this,a,b);sF(this,a)};var sF=function(a,b){Wb(Zv,b)&&U(a.ka(),a.l,b,a.V,a)}; cF.prototype.V=function(a){switch(a.type){case "start":this.N("start");this.Fc();this.U=!0;this.ra&&(Y.o&&(this.ra.na=!0),tE(this.ra));break;case "impression":this.N("impression");this.D=!0;if(hF(this))try{var b=this.sb();null!=b&&(b.o.g=!0,this.h=mF(this,b),dF(this,y(cF.prototype.L,this,b,this.h.Aa(),this.h.mimeType,!0)))}catch(c){}Y.oa&&tF(this);break;case "viewable_impression":this.N("viewable_impression");break;case "pause":this.N("pause");break;case "resume":this.N("resume");break;case "firstquartile":this.N("firstquartile"); break;case "midpoint":this.N("midpoint");break;case "thirdquartile":this.N("thirdquartile");break;case "complete":this.N("complete");this.ca("instreamAdComplete");fF(this);break;case "click":this.ra&&this.ra.g.l?this.g.Lc()?this.resume():this.pause():rF(this);break;case "engagedview":this.N("engagedview");break;case "urlNavigationRequested":this.dispatchEvent(a);break;case "videoAuthorIconClicked":uF(this);break;case "videoAuthorClicked":uF(this);break;case "videoClicked":this.N("videoClicked");break; case "videoIconClicked":this.dispatchEvent(a);break;case "videoLearnMoreClicked":AD(this.A,3);rF(this);this.g.pause();break;case "videoTitleClicked":a=this.T();b=a.C;null!=b&&(a=eA(b.h,null!=IB(a)),null!==a&&(this.g.pause(),vF(this,a)));break;case "videoMuteClicked":this.R=this.B;this.setVolume(0);break;case "videoUnmuteClicked":this.setVolume(this.R);break;case "whyThisAdIconClicked":this.dispatchEvent(a);break;case "skipshown":this.N("skippableStateChanged");break;case "skip":pF(this)}}; var tF=function(a){a.o=new wE(a.aa,y(function(a,c){this.dispatchEvent(new Yv("cacheAbandonUrls",this.T(),{urls:a,scrubReferrer:c}))},a));a.o.start()};cF.prototype.Ja=function(){cF.O.Ja.call(this);this.o&&(I(this.o),this.o=null)};var pF=function(a){null!=a.g&&(a.g.J=!1);dF(a,function(){a.N("skip");fF(a)})};g=cF.prototype;g.yb=function(a){cF.O.yb.call(this,a);sF(this,"impression")};g.pb=function(a,b){var c=this;cF.O.pb.call(this,a,b);b.forEach(function(a){sF(c,a)})}; g.uc=function(a){cF.O.uc.call(this,a);if(a instanceof CA){a=DA(a);a=p(a.keys());for(var b=a.next();!b.done;b=a.next())sF(this,b.value)}};g.ob=function(){if(!this.la())return null;try{var a=this.T();if(null==a)return null;var b=mF(this,a);return null==b?null:b.Aa()}catch(c){return null}};g.clicked=function(){this.la()&&(this.T().ma||Y.g)?(AD(this.A,3),rF(this),this.g.pause()):this.la()&&this.T()};g.Pj=function(){this.la()&&jz(this.T().o);this.N("adCanPlay")}; g.Qj=function(){var a=this.getDuration();YE(this);var b=this.g.hg();var c=this.getCurrentTime(),d=0,e=0;this.la()&&(e=this.T(),d=e.l.g,e=e.l.l);if(null!=this.ra&&0<=a&&0<=c){var f=this.T();if(!(this.I||3>f.fa)){var h=this.g.getDuration();f=MB(f);h=Math.abs(h-f);2
'+(a.image?(a.Sb?'':'')+''+(a.duration?'
'+V(a.duration)+"
":"")+"
":"")+(a.Sb?''+V(a.Vc)+"":"")+"
"},JF=function(a){return'
'+(a.Sb?'':'')+ '
'};var KF=function(a,b,c,d){Nz.call(this,a,b,"Static",c,d)};A(KF,Nz);KF.prototype.getContent=function(){var a=KF.O.getContent.call(this);this.w&&(a=a.replace('src=""','src="'+aq(C(this.o))+'"'));return a};KF.prototype.Ed=function(){var a="";this.w||(a=aq(C(this.o)));a={id:this.ga,url:a,Sb:this.Fb(),width:this.Yb()+"px",height:this.Gb()+"px"};a=Ur(JF,a);for(var b=a.getElementsByTagName("a"),c=0;ca||1this.getDuration()||0>this.getRemainingTime()?-1:this.getDuration()-this.getRemainingTime()}; tG.prototype.getDuration=function(){return this.A};tG.prototype.getRemainingTime=function(){return this.U};tG.prototype.Ib=function(){return!this.w};var EG=function(a,b){a.U=b;a.Ib()&&(b=a.T().getDuration(),aF(a,b-a.U,b))};tG.prototype.ab=function(){yG(this,"getAdRemainingTime")};var vG=function(a){return!(!a||!a.match("//s0.2mdn.net/instream/html5/survey/survey.html"))},uG=function(a){a=a.la()?PB(a.T()):"";return 2==Y.A&&!vG(a)};tG.prototype.xa=function(a){a.A.forEach(function(a){Gw(a)})}; tG.prototype.sa=function(a){var b=a.o;null!=b&&(Fw(b),this.pause());a.w.forEach(function(a){Gw(a)})};tG.prototype.skip=function(){this.la()&&yG(this,"skipAd")};var FG=function(){WE.call(this,[]);this.B=this.C=-1;this.F=!1};A(FG,WE);g=FG.prototype;g.T=function(){if(this.g)return this.g.getCurrentAd();throw Z(Tx,null,"Proxied ads manager not available.\n"+Error().stack);};g.la=function(){return null!=this.g&&null!=this.g.getCurrentAd()};g.oc=function(){return!1};g.sb=function(){return null};g.uf=function(){this.la()&&(this.ia=[this.T()],this.ya=this.T())};g.destroy=function(){this.g&&(this.g.destroy(),this.g=null);FG.O.destroy.call(this)}; g.getCurrentAd=function(){return this.g?this.g.getCurrentAd():null};g.Fc=function(){this.F=!0;this.g&&this.g.Fc()};g.init=function(a){this.$a(a);this.Za()&&this.g.init(a)};g.updateAdsRenderingSettings=function(a){FG.O.updateAdsRenderingSettings.call(this,a);this.g.updateAdsRenderingSettings(a)};g.Ga=function(a,b){var c=a;a&&a instanceof TE&&(c=a.g);FG.O.Ga.call(this,c,b);var d;if(d=this.ba.enablePreloading)d=this.g,d=!(null!=d&&d instanceof tG);d?GG(this,a,b):GG(this,c,b)}; g.P=function(){this.N("allAdsCompleted");HG(this);FG.O.P.call(this)};g.getCurrentTime=function(){return this.Za()?this.g.getCurrentTime():-1};g.getDuration=function(){return this.Za()?this.g.getDuration():-1};g.getRemainingTime=function(){return this.Za()?this.g.getRemainingTime():-1};g.Oa=function(){this.g&&this.g.Oa()};g.resize=function(a,b,c){this.C=a;this.B=b;this.$a(c);this.Za()&&this.g.resize(a,b,c)};g.pause=function(){this.Za()&&this.g.pause()};g.resume=function(){this.Za()&&this.g.resume()}; g.getAdSkippableState=function(){return this.Za()?this.g.getAdSkippableState():!1};g.skip=function(){this.Za()&&this.g.skip()};g.start=function(){if(this.Za()){var a=this.g,b=this.X();a&&b&&(null!=a&&a instanceof cF?b.jb():null!=a&&a instanceof tG&&(b.Jb(),b.jb()));null==this.volume||isNaN(this.volume)||this.g.setVolume(this.volume);this.g.start()}}; var GG=function(a,b,c){if(a.g){var d=a.g;U(a.ka(),d,Rv,a.dispatchEvent,a);U(a.ka(),d,"adError",a.fi,a);U(a.ka(),d,"allAdsCompleted",w,a);U(a.ka(),d,"contentPauseRequested",a.gi,a);U(a.ka(),d,"contentResumeRequested",a.Kg,a);a.g.gb(a.Wa);a.g.Ga(b,c)}};g=FG.prototype;g.stop=function(){this.getCurrentAd()&&this.getCurrentAd().isLinear()&&this.N("contentResumeRequested");this.destroy()};g.getVolume=function(){return this.Za()?this.g.getVolume():0}; g.setVolume=function(a){a=isNaN(a)||0>a?0:a;FG.O.setVolume.call(this,a);this.Za()&&this.g.setVolume(a)};g.$a=function(a){FG.O.$a.call(this,a);this.g&&this.g.$a(a)};g.Ja=function(){this.g&&this.g.Ja()};g.$b=function(){return this.g?this.g.$b():!1};g.ob=function(){return this.g?this.g.ob():null};g.clicked=function(){this.Za()&&this.g.clicked()};g.fi=function(a){this.dispatchEvent(a)};g.gi=function(a){this.dispatchEvent(a)};g.Kg=function(a){this.dispatchEvent(a)}; g.gb=function(a){FG.O.gb.call(this,a);this.g&&this.g.gb(a)};var HG=function(a){a.g&&(a.g.destroy(),a.g=null);a.X()&&a.X().xb();I(a.Y);a.Y=null};FG.prototype.Za=function(){return null!=this.g&&this.g.Za()};var JG=function(a,b,c){FG.call(this);this.l=c;this.h=null;this.w=this.A=this.o=!1;this.g&&HG(this);this.g=b;IG(this,b)};A(JG,FG);g=JG.prototype;g.getCurrentAd=function(){return this.l};g.dispatchEvent=function(a){if(a instanceof Yv){if("loaded"==a.type&&this.w)return a.stopPropagation(),!1;"loaded"==a.type&&(this.w=!0)}return JG.O.dispatchEvent.call(this,a)};g.oc=function(){return null!=vB(this.l)&&vB(this.l).Cb()}; g.fi=function(a){if(this.o)this.dispatchEvent(a);else{var b=a.getError()||Z(ty);a=a.target.getCurrentAd();uB(a);KG(this,vB(a),Error(b.getMessage()))}};g.Kg=function(a){this.o&&(JG.O.Kg.call(this,a),this.destroy())};g.gi=function(a){this.A||(this.A=!0,this.dispatchEvent(a))}; var KG=function(a,b,c){var d=y(function(a){Cy(this,Ux,c);try{var b=this.X(),d=this.Wa,e=LG([a[0]],b,d);if(e){e.gb(d);var l=e}else throw Error("Manager creation failure, failed to determine ad type.");a=l;IG(this,a);try{this.g&&HG(this),(this.g=a)&&this.ba&&this.g.updateAdsRenderingSettings(this.ba),GG(this,this.X(),new Qu),this.F&&this.g.Fc(),this.g.resize(this.C,this.B,this.Ra),this.g.init(this.Ra),this.start()}catch(n){l=n;var m=a.getCurrentAd();uB(m);KG(this,vB(m),Error(l.getMessage()))}}catch(n){m= n,Dy(this,m.getMessage(),m.getInnerError())}},a);a=y(function(){this.N("contentResumeRequested");Dy(this,Vx,c);this.destroy()},a);null!=b?b.zc(d,a):a(null)},IG=function(a,b){a.h&&a.h.W();a.h=new S(a);Fe(a,a.h);U(a.h,b,"start",a.D,a);U(a.h,b,"adStarted",a.D,a)};JG.prototype.D=function(){this.h&&this.h.W();this.o=!0};var NG=function(a){WE.call(this,[]);this.h=a;this.l=0;this.g=this.h[this.l];this.o=this.w=this.A=null;this.B=this.C=-1;this.D=!1;MG(this)};A(NG,WE);g=NG.prototype;g.T=function(){if(this.g)return this.g.getCurrentAd();throw Z(Tx,null,"Current ads manager not available.\n"+Error().stack);};g.la=function(){return null!=this.g&&null!=this.g.getCurrentAd()};g.oc=function(){return this.l+1a?0:a;NG.O.setVolume.call(this,a);this.g&&this.g.setVolume(a)};g.$a=function(a){NG.O.$a.call(this,a);this.g&&this.g.$a(a)};g.Ja=function(){this.g&&this.g.Ja()};g.$b=function(){return this.g?this.g.$b():!1};g.ob=function(){return this.g?this.g.ob():null};g.clicked=function(){this.g&&this.g.clicked()}; var RG=function(a,b,c){U(c,b,Rv,a.dispatchEvent,a);U(c,b,"start",a.J,a);U(c,b,"adError",a.L,a);U(c,b,"allAdsCompleted",w,a);U(c,b,"contentPauseRequested",a.F,a);U(c,b,"contentResumeRequested",a.I,a)},MG=function(a){var b=0,c=a.h.length;a.h.forEach(function(a){b+=a.getCurrentAd().getDuration()});var d=1;a.h.forEach(function(a){a=a.getCurrentAd().l;a.l=c;a.g=d;a.o=d;d++;a.h=b})};NG.prototype.L=function(a){var b=a.getError()||Z(ty);SG(this,a.target,b)}; var SG=function(a,b,c){a.o=null;a.w=null;a.l+1>=a.h.length?Dy(a,ty,c.getInnerError()):(Cy(a,ty,c.getInnerError()),TG(a,b))};NG.prototype.F=function(){this.D||(this.N("contentPauseRequested"),this.D=!0)};NG.prototype.I=function(a){TG(this,a.target)}; NG.prototype.J=function(){if(this.ba.enablePreloading){var a=this.l+1'},VG=function(){return'
'},WG=function(a){return''+V(a.text)+""};var XG=function(a,b){this.F=a;this.D=fe("DIV",{"class":"controls"});this.g=fe("DIV",{"class":"adDisplay"});this.M=b||w;this.Eb=new S(this)};A(XG,Ee);g=XG.prototype;g.Sd=!1;g.mg=1E3;g.Qh=30;g.Rh=45E3;g.mi=15E3;g.xh=!1;var YG=function(a){var b=fe("DIV",{"class":"ima-container"});zs(b,"opacity 0.4s");a.Eb.H(b,"mouseover",a.Tj);a.Eb.H(b,"mouseout",a.Uj);b.appendChild(a.D);a.D.appendChild(a.g);return b}; XG.prototype.B=function(){var a=YG(this);this.g.appendChild(this.F);this.display(this.F);this.Ec();return a};var ZG=function(a){null==a.J&&(a.J=a.B());return a.J};g=XG.prototype;g.Ec=function(){null==this.l&&(this.l=Qf(function(){this.Sd||(this.ng(),this.xh=!0);this.l=null},this.xh?this.mi:this.Rh,this))};g.stop=function(){null!=this.l&&(Rf(this.l),this.l=null)};g.display=function(a){var b=document.createEvent("Event");b.initEvent("creativeview",!0,!0);a.dispatchEvent(b)}; g.show=function(){Vg(ZG(this),1);null!=this.h&&(Rf(this.h),this.h=null)};g.ng=function(){Vg(ZG(this),this.Qh/100);null==this.h&&(this.h=Qf(function(){this.M();this.h=null},400,this))};g.Tj=function(){this.show();this.Sd=!0;this.A=Qf(function(){this.Sd&&this.stop();this.A=null},this.mg,this)};g.Uj=function(){null!=this.A&&(Rf(this.A),this.A=null);this.Sd&&this.Ec();this.Sd=!1};g.P=function(){XG.O.P.call(this);this.stop();I(this.Eb)};var $G=function(a){WE.call(this,a);this.l=null;this.U=this.V=-1;this.J=fe("DIV",{style:"display:none;position:absolute;top:0;left:0;bottom:0;right:0;z-index:2000"});this.w=!1;this.D=[]};A($G,WE); $G.prototype.start=function(){$G.O.start.call(this);this.X().Jb();this.l=this.X().Bc();if(null!=this.l){Y.g||this.ca("show_ad");je(this.l);var a=this.jh();if(Y.l){var b=this.la()?this.T().g.nb():a;vC().l=b}this.l.appendChild(a);this.yd();this.D.forEach(function(a){return a()});this.D=[];this.w=!0;aH(this,2E3)}};var aH=function(a,b){a.M&&Rf(a.M);N(a.J,!0);a.M=Qf(function(){N(this.J,!1)},b,a)};g=$G.prototype;g.init=function(a){$G.O.init.call(this,a);a=vC();this.ka().H(a,Vv,this.ce)}; g.expand=function(){null!=this.g&&this.g.show();this.ca("expand")};g.collapse=function(){null!=this.g&&this.g.ng();this.ca("collapse")};g.Oa=function(){$G.O.Oa.call(this);this.yd();this.w&&this.ca("overlay_resize")};g.resize=function(a,b,c){$G.O.resize.call(this,a,b,c);this.V=a;this.U=b;this.yd();this.w&&this.ca("overlay_resize")};g.P=function(){I(this.g);this.g=null;this.w=!1;vC().l=null;null!=this.l&&(je(this.l),this.l=null);$G.O.P.call(this)}; var bH=function(a,b){Wz(b).forEach(function(b){cz(a.aa.g,"click",b)})};g=$G.prototype;g.jh=function(){var a=this.T().g;if(null==a)throw a=Z(gy),cH(this,a),a;var b=this.T();Rz(a,this.ka());Oz(a,this.yj);a.w||Pz(a,Ma(this.jg,b,a));try{this.Xa(b)}catch(d){throw cH(this,d),d;}this.yb(b);var c=tA(b);this.aa.h=c;b.g&&(this.yb(b),c=b.g)&&(this.pb(c,Uv),this.ld(b));this.pb(a,["start"]);bH(this,a);return this.xe([a.nb()])};g.rh=function(a,b){return new XG(a[0],b)}; g.xe=function(a){var b=this;null!=this.g&&this.g.stop();this.g=this.rh(a,function(){return b.Me()});a=ZG(this.g);Rr(a,"autoalign",this.ba.autoAlign);a.appendChild(this.J);this.ka().H(a,"click",Ge);(this.la()&&yB(this.T())||this.ba.useStyledNonLinearAds)&&this.Uf(this.g.g);return a}; g.Uf=function(a){var b=this.ka();this.C=Ur(VG);b.H(this.C,"click",this.Lj);var c=Ur(UG,{close:"Close"});b.H(c,"click",this.Re);Pr(a,"extra-padding");if(b=null!=this.ya)b=this.ya,b=728<=(b.isLinear()?0:b.I.width);b&&Pr(a,"wide-overlay-ad");a.appendChild(c)};g.yd=function(a,b){if(null!=this.g){a=a?a:0;b=b?b:0;var c=Tg(this.X().Bc()),d=this.V,e=this.U;if(-1==d||-1==e)d=c.width,e=c.height;c=Tg(this.g.g);if(c.width+a>d||c.height+b>e)throw a=Z(cy),cH(this,a),this.stop(),a;}}; var cH=function(a,b){b=sA(b,a.T());iD(a.T(),b)};g=$G.prototype;g.yj=function(a){ZE(this,"click");Ge(a)};g.Re=function(){this.ca("close");this.Me(!0)};g.jg=function(a,b){var c=this;Pz(b,w);this.w?this.ge(a,b):this.D.push(function(){return c.ge(a,b)})};g.ge=function(a){a=tA(a);this.aa.h=a;ZE(this,"impression");this.ca("creativeview");ZE(this,"start")};g.Me=function(a){null!=this.g&&(this.g.stop(),null!=this.C&&me(this.C,this.g.g),a&&this.N("userClose"))}; g.Lj=function(a){Ge(a);this.g.show();this.g.Ec();me(this.g.g,this.C);aH(this,500);this.N("userRecall")};g.ce=function(a){this.la()&&this.T().A==a.g.queryId&&$G.O.ce.call(this,a)};var dH=function(a,b,c,d,e,f,h){L.call(this);this.h=this.A=0;this.F=a;this.I=b;this.La=c;this.w=null;this.J=d;this.L=f;this.U=Y.h;this.D=this.o=this.B=this.g=null;this.$=this.ga=-1;this.V="normal";this.R=null;this.Z=e;this.l=[];this.sa=this.xa=this.M=!1;this.na=h};A(dH,L);g=dH.prototype;g.fg=function(){return this.I};g.init=function(a,b,c){this.resize(a,b,c);null==this.C&&(this.C=new S(this),U(this.C,this.J,"adBreakFetchError",this.ab,this));eH(this)}; g.start=function(){fH(this,"breakstart");this.M=!0;gH(this);0=e||(a.w=new Pf(1E3*e),pp(a.B,a.w,"tick",a.Ac,a))}}}if(xH(a.g))a.dispatchEvent("contentResumeRequested"),a.Z.Jb(),a.g.start(),null!=a.w&&a.w.start();else{var f=a.g;if(null!=f&&f instanceof cF)a.Z.jb(),a.g.start();else{var h=a.g;if(null!= h&&h instanceof tG){var k=a.g;a.Z.Jb();k.isLinear()?uG(k)||a.Z.jb():a.dispatchEvent("contentResumeRequested");a.g.start()}else{var l,m=a.g;if(!(l=null!=m&&m instanceof NG)){var n=a.g;l=null!=n&&n instanceof JG}if(l)a.g.start();else throw Error("Unknown ads manager type.");}}}}catch(r){yH(a,r)}nH(a)&&oH(a)}else a.dispatchEvent("contentResumeRequested"),iH(a)},wH=function(a,b){if(null==b)throw Error("Ads manager must be constructed before initialization");b.init(a.V)},uH=function(a,b){null!=b&&null!= a.R&&b.setVolume(a.R)},vH=function(a,b,c){var d=a.J.h,e=new TE(a.Z,pH(a));b=zH(d,b.g,e,a.na);U(c,b,Rv,a.zb,a);U(c,b,"adError",a.lb,a);U(c,b,"allAdsCompleted",w,a);U(c,b,"contentPauseRequested",a.Db,a);U(c,b,"contentResumeRequested",a.Ub,a);a.L.enablePreloading&&null!=b&&b instanceof tG&&(e=a.Z);b.updateAdsRenderingSettings(a.L);b.Ga(e,new Qu);b.resize(a.ga,a.$,a.V);return b},jH=function(a){a.Z.xb();null!=a.w&&(a.w.W(),a.w=null);null!=a.B&&(a.B.W(),a.B=null);null!=a.g&&(a.g.destroy(),a.g=null)},kH= function(a){null!=a.D&&(a.D.W(),a.D=null);null!=a.o&&(a.o.destroy(),a.o=null)};dH.prototype.Ac=function(){jH(this);kH(this);iH(this)};dH.prototype.lb=function(a){a=a.getError();yH(this,a)};dH.prototype.Ub=function(){this.h++;hH(this)};dH.prototype.Db=function(a){this.sa||(AH(this,a),this.dispatchEvent(a),this.sa=!0)};var xH=function(a){return null!=a&&a instanceof $G};dH.prototype.Ic=function(){return 0==this.I};var iH=function(a){a.M=!1;fH(a,"breakend");a.dispatchEvent("allAdsCompleted")}; dH.prototype.zb=function(a){switch(a.type){case "start":pH(this)&&qH(this,this.h+1)&&rH(this,this.h+1)&&null!=this.g&&!this.g.oc()&&sH(this,this.h+1)}AH(this,a);this.dispatchEvent(a)}; var AH=function(a,b){a:{switch(b.type){case "start":case "loaded":case "adMetadata":case "companionBackfill":case "firstquartile":case "contentPauseRequested":var c=!0;break a}c=!1}if(c){var d=b.getAd(),e=0,f=0,h=!1;a.l.forEach(function(b,c){var k=b.g;k.includes(d)&&(h=b.h);e+=k.length;cb.g?1:a.g>1;var m=c(b,a[l]);0c&&eb(a,-(c+1),0,b)},b)));return b}; KH.prototype.B=function(){if(this.l){var a=this.h.g;if(isNaN(a)||0>a)this.dispatchEvent(new IH("contentTrackingError"));else{for(var b=[],c=0;c=c.g-4&&aa.g[a.g.length-1].g)return d;var e=0;0e&&b=c||(this.l=new Pf(1E3*c),pp(this.o,this.l,"tick",this.ab,this))}}}if(YH(this.g))this.dispatchEvent("contentResumeRequested"),this.Z.Jb(),this.g.start(),null!=this.l&&this.l.start();else{var d=this.g;if(null!=d&&d instanceof cF)this.Z.jb(), this.g.start();else{var e=this.g;if(null!=e&&e instanceof tG){var f=this.g;this.Z.Jb();f.isLinear()?uG(f)||this.Z.jb():this.dispatchEvent("contentResumeRequested");this.g.start()}else{var h,k=this.g;if(!(h=null!=k&&k instanceof NG)){var l=this.g;h=null!=l&&l instanceof JG}if(h)this.g.start();else throw Error("Unknown ads manager type.");}}}}catch(m){ZH(this,m)}else"always"==Y.h&&this.V.Xa(cC()),By(this),this.Ic()&&this.dispatchEvent("contentResumeRequested"),$H(this)}; g.destroy=function(){null!=this.w&&(this.w.W(),this.w=null);aI(this);Y.h=this.I;this.D=!1};g.getCurrentAd=function(){return 0this.A?(this.g="failed",vI(this)):uI(this);break;case "loaded":wI(this);break;case "failed":0this.A?vI(this):(this.g="loading",uI(this))}};var wI=function(a){a.l.H(a.o,"tick",a.G);null!=a.o&&(a.o.stop(),a.o.W(),a.o=null)},vI=function(a){wI(a);null!=a.h&&(a.l.za(a.h,"gpt",a.B),a.h=null);a.w=[]}; sI.prototype.B=function(a){"isConsolePresent"==a.h&&(a=a.g.returnValue,null!=a&&a?(this.h.h(this.h.A),this.w.forEach(this.C,this),this.w=[],this.g="loaded"):this.g="failed")};var xI=function(a,b,c){this.h=c;0==b.length&&(b=[[]]);this.g=b.map(function(b){b=a.concat(b);for(var c=[],d=0,h=0;dk)c[h++]=String.fromCharCode(k);else if(191k){var l=b[d++];c[h++]=String.fromCharCode((k&31)<<6|l&63)}else if(239k){l=b[d++];var m=b[d++],n=b[d++];k=((k&7)<<18|(l&63)<<12|(m&63)<<6|n&63)-65536;c[h++]=String.fromCharCode(55296+(k>>10));c[h++]=String.fromCharCode(56320+(k&1023))}else l=b[d++],m=b[d++],c[h++]=String.fromCharCode((k&15)<<12| (l&63)<<6|m&63)}return new RegExp(c.join(""))})};xI.prototype.match=function(a){var b=this;return this.g.some(function(c){c=a.match(c);return null==c?!1:!b.h||1<=c.length&&"3.270.1"==c[1]||2<=c.length&&"3.270.1"==c[2]?!0:!1})}; var yI=[104,116,116,112,115,63,58,47,47,105,109,97,115,100,107,92,46,103,111,111,103,108,101,97,112,105,115,92,46,99,111,109,47,106,115,47,40,115,100,107,108,111,97,100,101,114,124,99,111,114,101,41,47],zI=[104,116,116,112,115,63,58,47,47,115,48,92,46,50,109,100,110,92,46,110,101,116,47,105,110,115,116,114,101,97,109,47,104,116,109,108,53,47],AI=[104,116,116,112,115,63,58,47,47,105,109,97,115,100,107,92,46,103,111,111,103,108,101,97,112,105,115,92,46,99,111,109,47,97,100,109,111,98,47,40,115,100, 107,108,111,97,100,101,114,124,99,111,114,101,41,47],BI=[104,116,116,112,115,63,58,47,47,105,109,97,115,100,107,92,46,103,111,111,103,108,101,97,112,105,115,92,46,99,111,109,47,106,115,47,99,111,114,101,47,97,100,109,111,98,47],CI=[104,116,116,112,115,63,58,47,47,105,109,97,115,100,107,92,46,103,111,111,103,108,101,97,112,105,115,92,46,99,111,109,47,112,114,101,114,101,108,101,97,115,101,47,106,115,47,91,48,45,57,93,43,92,46,91,48,45,57,92,46,93,43,47],DI=[[105,109,97,51,92,46,106,115],[105,109,97, 51,95,100,101,98,117,103,92,46,106,115]],EI=[[98,114,105,100,103,101,40,91,48,45,57,93,43,92,46,91,48,45,57,92,46,93,43,41,40,95,40,91,97,45,122,48,45,57,93,41,123,50,44,51,125,41,123,48,44,50,125,92,46,104,116,109,108],[98,114,105,100,103,101,40,91,48,45,57,93,43,92,46,91,48,45,57,92,46,93,43,41,95,100,101,98,117,103,40,95,40,91,97,45,122,48,45,57,93,41,123,50,44,51,125,41,123,48,44,50,125,92,46,104,116,109,108],[98,114,105,100,103,101,40,95,40,91,97,45,122,48,45,57,93,41,123,50,44,51,125,41,123, 48,44,50,125,92,46,104,116,109,108]],FI=[[111,117,116,115,116,114,101,97,109,92,46,106,115],[111,117,116,115,116,114,101,97,109,95,100,101,98,117,103,92,46,106,115]],GI=new xI(yI,DI,!1),HI=new xI(yI,EI,!0),II=new xI(zI,DI,!1),JI=new xI(zI,EI,!0),KI=new xI(AI,[],!1),LI=new xI(AI,EI,!0),MI=new xI(BI,EI,!1),NI=new xI(BI,[[97,112,112,95,112,114,111,109,111,95,105,110,116,101,114,115,116,105,116,105,97,108,40,95,40,91,97,45,122,48,45,57,93,41,123,50,44,51,125,41,123,48,44,50,125,92,46,106,115],[97,112, 112,95,112,114,111,109,111,95,105,110,116,101,114,115,116,105,116,105,97,108,95,99,97,110,97,114,121,40,95,40,91,97,45,122,48,45,57,93,41,123,50,44,51,125,41,123,48,44,50,125,92,46,106,115],[118,105,100,101,111,95,105,110,116,101,114,115,116,105,116,105,97,108,40,95,40,91,97,45,122,48,45,57,93,41,123,50,44,51,125,41,123,48,44,50,125,92,46,106,115],[118,105,100,101,111,95,105,110,116,101,114,115,116,105,116,105,97,108,95,99,97,110,97,114,121,40,95,40,91,97,45,122,48,45,57,93,41,123,50,44,51,125,41, 123,48,44,50,125,92,46,106,115]],!1),OI=new xI([104,116,116,112,115,63,58,47,47,103,111,111,103,108,101,97,100,115,92,46,103,92,46,100,111,117,98,108,101,99,108,105,99,107,92,46,110,101,116,47,109,97,100,115,47,115,116,97,116,105,99,47],[],!1),PI=new xI([104,116,116,112,115,63,58,47,47,119,119,119,92,46,103,115,116,97,116,105,99,92,46,99,111,109,47,97,100,109,111,98,47,106,115,47],[],!1),QI=new xI([104,116,116,112,115,63,58,47,47,109,105,110,116,45,109,97,100,92,46,115,97,110,100,98,111,120,92,46, 103,111,111,103,108,101,92,46,99,111,109,47,109,97,100,115,47,115,116,97,116,105,99,47,102,111,114,109,97,116,115,47],[],!1),RI=new xI([104,116,116,112,115,63,58,47,47,118,105,100,101,111,45,97,100,45,116,101,115,116,92,46,97,112,112,115,112,111,116,92,46,99,111,109,47],[],!1),SI=new xI(CI,DI,!1),TI=new xI([104,116,116,112,115,63,58,47,47,40,112,97,103,101,97,100,50,124,116,112,99,41,92,46,103,111,111,103,108,101,115,121,110,100,105,99,97,116,105,111,110,92,46,99,111,109,47,112,97,103,101,97,100, 47,40,103,97,100,103,101,116,115,124,106,115,41,47],[],!1),UI=new xI(yI,FI,!1),VI=new xI(CI,FI,!1),WI={Tl:GI,Sl:HI,em:II,dm:JI,gl:KI,bl:LI,al:MI,dl:NI,il:OI,fl:PI,$k:QI,jl:RI,Ul:SI,Um:TI,tm:UI,vm:VI},XI=function(){if(!Rb(WI,function(a){return a.match(de().location.href)})){for(var a=Zd(document,"script",void 0,void 0),b=null,c=null,d=0;d=Number(c)?a:a=-1Number(a)?"-":0<=b.indexOf("+")?"+":0<=b.indexOf(" ")?" ":"";0<=Number(a)&&(d=f+d);if(isNaN(c)||d.length>=Number(c))return d;d=isNaN(e)?Math.abs(Number(a)).toString():Math.abs(Number(a)).toFixed(e);a=Number(c)-d.length-f.length;return d=0<=b.indexOf("-",0)?f+d+Ab(" ",a):f+Ab(0<=b.indexOf("0",0)?"0":" ",a)+d},d:function(a,b,c,d,e,f,h,k){return jJ.f(parseInt(a, 10),b,c,d,0,f,h,k)}};jJ.i=jJ.d;jJ.u=jJ.d;var lJ=function(a){this.g=a;this.h=new S(this);this.h.H(this.g,"i18n",this.l)};A(lJ,Ee);lJ.prototype.P=function(){this.h.W();lJ.O.P.call(this)}; lJ.prototype.l=function(a){var b=a.h,c=a.g;a="";switch(b){case "adRemainingTime":var d=c.minutes;var e=c.seconds;a=c.adPosition;c=c.totalAds;e=kJ(": (%d:%02d)",d,e);a=YD({oe:e,adPosition:a,totalAds:c});break;case "learnMore":a="Learn More "+V({ke:"\u00bb"}.ke);break;case "preSkipButton":e=c.seconds;a=WD({Mb:Math.floor(e)});break;case "skipButton":a="Skip Ad "+V({ie:"\u00bb"}.ie)}B(C(a))?this.g.send("i18n","error",{errorMessage:"Failed to translate type: "+b}):this.g.send("i18n",b,{translation:a})};var mJ=function(a,b,c,d){var e=this;this.J=a;this.g=null;this.L=b;this.l=c;this.A=d;this.C=new Qu(this.A);this.C.start();this.h=new S(this);this.V=new lJ(this.A);this.o=null;this.D=-1;this.G=[];this.B={};this.h.H(this.A,"adsManager",this.U);this.w=null;Y.ga&&(this.w=Ve(window,"beforeunload",function(){e.g&&e.g.Ja()}))};A(mJ,Ee);mJ.prototype.P=function(){this.g&&this.g.destroy();this.w&&(cf(this.w),this.w=null);I(this.o);I(this.h);I(this.V);mJ.O.P.call(this)}; mJ.prototype.R=function(a){nJ(this,a.type,{vpaidEventType:a.h,session:a.g})};mJ.prototype.U=function(a){try{oJ(this,a.h,a.g)}catch(b){pJ(this,b)}}; var pJ=function(a,b){b instanceof Mx?(b.getErrorCode(),qJ(a,b)):qJ(a,Z(fy,b));a.W()},oJ=function(a,b,c){if("start"!=b||a.g)if(a.g||"init"==b)var d=!1;else a.G.push({type:b,data:c}),d=!0;else qJ(a,Z(Tx,null,"Should call init before calling start.")),d=!0;if(!d)switch(b){case "init":if(a.g)break;a.l=rJ(a.l,c.adsRenderingSettings);b=a.J;d=a.l;var e=new sJ;if(b.g instanceof tJ){e=b.Z;var f=b.h,h=b.g.g,k=b.o;e=zv(uv(),6518000012)?new RE(e,f,h,k):new uJ(h,k);e.gb(b.h)}else e=zH(e,b.g,b.Z,b.h);e.updateAdsRenderingSettings(d); b.l(e);b=e;a.h.H(b,Qv,a.M);a.h.H(b,"adError",a.fa);a.h.H(b,"vpaidEvent",a.R);a.g=b;for(a.g.Ga(a.L,a.C);0!=a.G.length;)b=a.G.shift(),oJ(a,b.type,b.data);c=c.viewMode||"normal";null==a.o&&(a.o=new Pf(200));a.h.H(a.o,"tick",a.F);a.o.start();a.g.init(c);Xp()||a.h.H(de(),"resize",a.I);break;case "skip":a.g.skip();break;case "start":a.g.start();break;case "stop":a.g.stop();break;case "pause":a.g.pause();break;case "resume":a.g.resume();break;case "destroy":a.W();break;case "expand":a.g.expand();break;case "collapse":a.g.collapse(); break;case "sendAbandonUrls":a.g.Ja();break;case "volume":a.g.setVolume(c.volume);break;case "resize":a.g.resize(c.width,c.height,c.viewMode);break;case "discardAdBreak":a.g.Zc();break;case "requestNextAdBreak":a.g.requestNextAdBreak();break;case "updateAdsRenderingSettings":if(null==c)break;a.l=rJ(a.l,c.adsRenderingSettings);a.g.updateAdsRenderingSettings(a.l);break;case "click":a.g.clicked()}}; mJ.prototype.M=function(a){var b=vJ(this,a.type,a.getAd()),c={};switch(a.type){case "adBreakReady":case "trackingUrlPinged":case "mediaUrlPinged":case "adProgress":null!=a.g&&(c=a.g);nJ(this,a.type,c);break;case "interaction":nJ(this,a.type,{adData:b,interactionData:a.g});break;case "adMetadata":if(null==a.h)break;b=a.h.getCuePoints();c=NH(b);nJ(this,a.type,{adCuePoints:b,internalCuePoints:c});break;case "complete":nJ(this,"remainingTime",{currentTime:-1,duration:-1,remainingTime:-1});nJ(this,a.type, {adData:b});break;case "allAdsCompleted":wJ(this);nJ(this,a.type,{adData:b});break;case "loaded":if(!a.getAd()){qJ(this,Z(fy));break}c=this.g.ob();null!=c&&(b.mediaUrl=c,c=a.getAd().getContentType(),b.contentType=c);c={adData:b};a=a.getAd();null!=$B(a)&&YI.h&&Y.D&&(b.gfpCookie=$B(a).wa());nJ(this,"loaded",c);break;case "videoIconClicked":case "whyThisAdIconClicked":c=a.g;nJ(this,"videoIconClicked",c);null!=c&&(a=c.clickThroughUrl,this.l.disableClickThrough||null!=a&&Fw(a));break;case "click":nJ(this, "click",{adData:b});a=a.getAd();null==a||!a.isLinear()||this.l.disableClickThrough||$A(a)||FB(a)||(a=a.g.Fb(),null!=a&&Fw(a));break;case "log":a.g instanceof Mx&&(c=a.g.wa(),nJ(this,a.type,{adData:b,logData:c}));break;case "companionBackfill":nJ(this,"companionBackfill");break;case "urlNavigationRequested":c={};null!=a.g&&(c=a.g);nJ(this,a.type,{adData:b,urlNavigationData:c});break;case "cacheAbandonUrls":null!=a.g&&nJ(this,a.type,a.g);break;case "volumeChange":nJ(this,a.type,{adData:a.g});break; default:nJ(this,a.type,{adData:b})}};mJ.prototype.fa=function(a){var b=this;wJ(this);this.h.za(de(),"resize",this.I);qJ(this,a.getError());Qf(function(){return b.W()})};var wJ=function(a){a.h.za(a.o,"tick",a.F);I(a.o);nJ(a,"remainingTime",{currentTime:-1,duration:-1,remainingTime:-1})};mJ.prototype.F=function(){var a=this.g.getRemainingTime();this.D!=a&&(this.D=a,a={currentTime:this.g.getCurrentTime(),duration:this.g.getDuration(),remainingTime:a},nJ(this,"remainingTime",a))}; mJ.prototype.I=function(){try{this.g.Oa()}catch(a){pJ(this,a)}}; var vJ=function(a,b,c){if(null==c||null==c.g)return{};var d=c.wa();"start"!=b||null!=a.B[jB(c)]||(a.B[jB(c)]=d.companions=(aB(c)||[]).map(function(a){return a.wa()}));return d},xJ=function(a){if(null==a)return null;a.mimeTypes&&0!=a.mimeTypes.length||(a.mimeTypes=null);null==a.uiElements&&(a.uiElements=null);var b=Kb(a.bitrate);if(!va(b)||isNaN(b)||0>=b)a.bitrate=-1;b=Kb(a.loadVideoTimeout);if(!va(b)||isNaN(b)||0>=b)a.loadVideoTimeout=null;return a},rJ=function(a,b){if(null==b)return a;b=xJ(b);var c= new Zu;Tb(c).forEach(function(d){null!=b[d]&&b[d]!==c[d]?c[d]=b[d]:null!=a[d]&&(c[d]=a[d])});return c},nJ=function(a,b,c){c=void 0===c?{}:c;a.A.send("adsManager",b,c)},qJ=function(a,b){b=b.wa();nJ(a,"error",b)};var yJ=function(a,b){K.call(this,"adsManagerLoaded");this.g=a;this.h=b};A(yJ,K);var tJ=function(a){this.g=a};var zJ=function(a,b){this.I=a;this.fa=new Bo;this.L=15E3;this.G=fe("SPAN");XG.call(this,a[0],b);this.g.appendChild(this.G)};A(zJ,XG); zJ.prototype.B=function(){var a=this,b=YG(this);Pr(b,"ima-container-rotator");this.C=fe("DIV");this.g.appendChild(this.C);this.I.forEach(function(b,d){Pr(b,"ima-container-highlight");d=63/a.I.length*(d+.5)-5;var c=fe("DIV",{id:"goog_"+Fb++,"class":"ima-container-selector"});c.style.top=d+"px";a.Eb.H(c,"click",function(a){AJ(this,a.target)});a.fa.set(c.id,b);a.G.appendChild(c)});AJ(this,oe(this.G));this.Ec();return b}; zJ.prototype.Ec=function(){null==this.o&&(this.o=new Pf(this.L),this.Eb.H(this.o,"tick",this.R));zJ.O.Ec.call(this);this.o.start()};zJ.prototype.stop=function(){null!=this.o&&this.o.stop();zJ.O.stop.call(this)};zJ.prototype.R=function(){var a=this.w;AJ(this,(u(a.nextElementSibling)?a.nextElementSibling:ne(a.nextSibling))||oe(this.w.parentNode))};var AJ=function(a,b){a.w&&Qr(a.w,"ima-container-active");Pr(b,"ima-container-active");var c=a.fa.get(b.id);me(c,a.C);a.w=b;a.C=c;a.display(c)};var BJ=function(a,b){XG.call(this,a[0],b);this.o=a;Pr(this.g,"ima-container-stack")};A(BJ,XG);BJ.prototype.ng=w;BJ.prototype.B=function(){var a=this,b=YG(this);this.o.forEach(function(b){Pr(b,"ima-container-highlight");a.g.appendChild(b);a.display(b)});this.Ec();return b};var CJ=function(a){return''+V(a.text)+""},DJ=function(a){return''},EJ=function(a){return'
'+V(a.tj)+"
"};var FJ=function(a){L.call(this);this.B=new Pf(200);Fe(this,this.B);this.l=0;this.w=!1;this.I=a;this.o=new S(this);this.o.H(this.B,"tick",this.J)};A(FJ,L);FJ.prototype.start=function(){this.resize();this.l=0;GJ(this);this.w=!0;this.B.start()};FJ.prototype.pause=function(){this.w&&GJ(this)};FJ.prototype.stop=function(){this.w&&GJ(this);this.dispatchEvent("end")};FJ.prototype.resize=function(){};var GJ=function(a){a.B.stop();a.w=!1}; FJ.prototype.J=function(){this.l+=.2;this.yh(this.l,this.I);this.dispatchEvent("timeUpdate");0>=this.I-this.l&&this.stop()};FJ.prototype.yh=w;FJ.prototype.P=function(){this.w=!1;this.o.W();FJ.O.P.call(this)};var IJ=function(a,b,c,d,e,f,h){FJ.call(this,15);this.D=c;this.g=a;this.h=this.F=this.C=null;Pr(this.g,iI(this.D));a=this.g;b=new ZD;b.g=new Vy(5,!1);this.h=new eE(b,a);gE(this.h,f);f=d&&d.Ok;d&&d.text&&e&&(f?(d=Ur(DJ,d),this.g.appendChild(d)):(d=Ur(CJ,d),this.g.appendChild(d)));h?(h=this.g,d="Ad will close in "+V({Mb:HJ(15)}.Mb),e=Ur(EJ,{tj:d}),re(e,d),h.appendChild(e),h=e):h=null;this.C=h;(this.F=G("rewarded-end-slate-learn-more-button",this.g))&&this.o.H(this.F,"click",this.fk);(this.A=G("fullslot-wtaIconContainer", this.g))&&f&&(h=new Zs,h.he(this.A),h.show(),this.o.H(h,"helpIconClicked",this.Vj))};A(IJ,FJ);IJ.prototype.start=function(){this.resize();fE(this.h,0,15);Cs(Ds(this.g,3));this.o.H(this.h,"skipshown",this.pj);this.o.H(this.h,"skip",this.qj);IJ.O.start.call(this)}; IJ.prototype.resize=function(){var a=Tg(this.g);if(1==this.D)a=400>=parseInt(Lg(this.g,"width"),10)||400>=a.width,Rr(this.g,"videoAdUi-mobile",a);else if(2==this.D){var b=oe(this.g),c=Tg(b),d=65>=(a.height-c.height)/2;Rr(this.g,"fullslotAdUi-mobile",d);Rr(this.g,"videoAdUi-mobile",165>=(a.width-c.width)/2&&d);b.style.top=Math.max(5,Math.floor((a.height-c.height-65)/2))+"px"}};var JJ=function(a){var b=G("videoAdUiSkipButton",a.g);b?(a=a.g,b=Qg(b),a=Qg(a),b=new Ud(b.x-a.x,b.y-a.y)):b=new Ud(0,0);return b}; g=IJ.prototype;g.pj=function(){this.dispatchEvent("skipShown")};g.qj=function(){this.pause();this.dispatchEvent("skip")};g.Vj=function(){this.dispatchEvent("whyThisAdIconClicked")};g.yh=function(a,b){fE(this.h,a,b);this.C&&(a="Ad will close in "+V({Mb:HJ(b-a)}.Mb),re(this.C,a))};g.fk=function(a){a.preventDefault();this.pause();this.dispatchEvent("click")};var HJ=function(a){a=Math.ceil(a);return"0:"+(10>a?"0"+a:""+a)};IJ.prototype.P=function(){this.h&&this.h.W();je(this.g);IJ.O.P.call(this)};var KJ=function(){this.g={}},LJ=function(a,b){var c=null!=b?b:"";Pb(a.g,function(a,b){b!=c&&a.report(new K("close"))})};var MJ=function(a){$G.call(this,a);this.A=!1;this.o=null;this.I=new KJ;this.h=this.L=null;this.F=!1};A(MJ,$G);g=MJ.prototype;g.rh=function(a,b){if(this.A||null==b)b=w;1=a}return!1};g.getCurrentTime=function(){return NJ(this)&&null!=this.h?this.h.l:MJ.O.getCurrentTime.call(this)}; g.getDuration=function(){return NJ(this)&&null!=this.B?15:MJ.O.getDuration.call(this)};g.getRemainingTime=function(){var a=this.getDuration(),b=this.getCurrentTime();return NJ(this)&&0<=b&&b<=a?a-b:MJ.O.getRemainingTime.call(this)};g.$g=function(a){this.L=a;a=this.I.g[a];null!=a&&(this.aa=a)};var RJ=function(){this.g=[];this.h=[]},SJ=function(a){0==a.g.length&&(a.g=a.h,a.g.reverse(),a.h=[])},TJ=function(a,b){a.h.push(b)},UJ=function(a){SJ(a);return a.g.pop()},VJ=function(a){SJ(a);a=a.g;return a[a.length-1]};RJ.prototype.isEmpty=function(){return 0==this.g.length&&0==this.h.length};RJ.prototype.clear=function(){this.g=[];this.h=[]};RJ.prototype.contains=function(a){return Za(this.g,a)||Za(this.h,a)}; RJ.prototype.fb=function(){for(var a=[],b=this.g.length-1;0<=b;--b)a.push(this.g[b]);var c=this.h.length;for(b=0;b=b-(a.C-a.B)||-1>=c)DK(a),EK(a)}},zK=function(a,b){gJ(a.A)&&(a.M?BK(a,(((a.g.g.tags||{})[b]||{}).type||"").toLowerCase(),((a.g.g.tags||{})[b]||{}).ad||""):TJ(a.U,b))},GK=function(a){var b=a.J.getVolume();if(null!=a.h){var c=0==b,d=0==a.V;c&&!d?FK(a,"mute"):!c&&d&&FK(a,"unmute")}a.V=b},BK=function(a,b,c){if(!B(C(c)))switch(b){case "start":if(!a.$.has(c)&&(a.$.add(c),a.l=c,b=((a.g.g.ads||{})[c]||{}).vast||"",!B(b)))if(b=HK(b),null==b)DK(a);else{a.B=a.C;a.h=b;IK(a);JK(a); b=bJ(a.g,a.l,"creative_id");a.h.ib=b.slice();b=bJ(a.g,a.l,"system");a.h.Ca=b.slice();b=bJ(a.g,a.l,"ad_id");a.h.xa=b.slice();a:{b=p(((a.g.g.ads||{})[a.l]||{}).wrappers||[]);for(c=b.next();!c.done;c=b.next())if(c=c.value,c.deal_id){b=c.deal_id;break a}b=""}a.h.ga=b||ZA(a.h);1==$I(a.g,a.l)?KK(a):a.I||(a.L=a.B-eJ(a.g,a.l),a.I=!0,a.dispatchEvent(new iJ("adBreakStarted")));FK(a,"loaded");FK(a,"impression");FK(a,"creativeview");FK(a,"start");0==a.V&&FK(a,"mute")}break;case "firstquartile":case "midpoint":case "thirdquartile":var d= a.l;B(d)||d!=c?hJ(a.A)||a.$.has(c)||(a.l=c,a.h=new VA("","","UNKNOWN","","","","","",0,[],[],[],[],new Map),JK(a),c=a.getDuration(),d=0,"firstquartile"==b?d=.25*c:"midpoint"==b?d=.5*c:"thirdquartile"==b&&(d=.75*c),a.B=a.C-d,a.L=a.B-eJ(a.g,a.l),a.I||(a.I=!0,a.dispatchEvent(new iJ("adBreakStarted"))),FK(a,b)):FK(a,b);break;case "complete":b=a.l,B(b)||b!=c||(FK(a,"complete"),LK(a))}},LK=function(a){var b=a.g,c=a.l;if(null==b||B(c))var d=!0;else d=cJ(b,aJ(b,c)),b=$I(b,c),d=va(d)&&va(b)?b>=d:!0;DK(a); d&&EK(a)},EK=function(a){a.dispatchEvent(new iJ("adBreakEnded"));a.I=!1},HK=function(a){a=ew(a);if(null==a||!wu(a))return null;a=new UF(a);try{var b=VF(a);if(0==b.length)return null;var c=b[0],d=c.B.find(function(a){return a instanceof CA});if(null==d)return null;fB(c,d);return c}catch(e){return null}},JK=function(a){var b=a.h.l;if(null!=b){var c=aJ(a.g,a.l),d=cJ(a.g,c);c=dJ(a.g,c);b.g=$I(a.g,a.l);b.l=d;b.h=c;a.F.some(function(c,d){return a.B>=c.start&&a.B<=c.end?(b.w=d,b.A=c.start,!0):!1})}},yK= function(a){a.dispatchEvent(new iJ("cuepointsChanged",{cuepoints:a.F}))},DK=function(a){I(a.w);a.h=null;a.l=""},KK=function(a){a.L=a.C;a.I=!0;a.dispatchEvent(new iJ("adBreakStarted"));hJ(a.A)&&null!=a.R&&a.F.forEach(function(b){b.start!=a.R||b.played||(b.played=!0,yK(a))})},IK=function(a){if(null!=a.h){I(a.w);a.w=new ZC;var b=tA(a.h,a.J);b.SDKV=a.A.Pg;a.w.h=b;YA(a.h).forEach(function(b){bD(a.w,b)});a.w.w=a.h;a.w.o=a.h.A;var c=a.h.g;null!=c&&Tv.forEach(function(b){b=Ez(c,b);bz(a.w.g,b)});b=p(a.h.D.values()); for(var d=b.next();!d.done;d=b.next())MK(a,d.value)}},MK=function(a,b){NK().forEach(function(c){b.l(c).forEach(function(b){var c=b.Aa();cz(a.w.g,b.g,c)})})},NK=function(){var a=[].concat(ba(Sv),ba(Sb(Wv))),b=[];(new Set(a)).forEach(function(a){return b.push(a)});return b},FK=function(a,b){null!=a.h&&(a.dispatchEvent(new Yv(b,a.h)),a.w.report(new K(b)))},uK=function(a,b){a.dispatchEvent(new iJ("streamError",{errorMessage:b}))}; tK.prototype.Jd=function(){var a=this.getCurrentTime(),b=this.getDuration();return{currentTime:a,duration:b,isPlaying:null!=this.J,isVpaid:!1,isYouTube:!1,volume:this.getVolume()}};tK.prototype.getVolume=function(){return null!=this.J?this.J.getVolume():0};var OK=function(a,b){L.call(this);this.g=b;this.l=a};q(OK,L);g=OK.prototype;g.getVolume=function(){return this.g.getVolume()};g.dd=function(){return this.g.dd()};g.ed=function(){return this.g.ed()};g.Lc=function(){return this.g.Lc()};g.Kc=function(){return this.g.Kc()};g.getCurrentTime=function(){return this.l.getCurrentTime()};g.hg=function(){return this.l.getDuration()||-1};g.getDuration=function(){return this.l.getDuration()||-1};g.mf=function(){return this.g.mf()}; g.hd=function(){this.Mc();this.h=new S(this);this.h.H(this.l,"adProgress",this.rk);this.h.H(this.l,"complete",this.qk)};g.Mc=function(){null!=this.h&&(this.h.W(),this.h=null)};g.rk=function(){this.dispatchEvent("timeUpdate")};g.qk=function(){this.dispatchEvent("end");this.Mc()};var PK=function(a,b,c){c=void 0===c?!1:c;L.call(this);this.g=new tK;this.Z=a;this.w=b;this.L=c;this.o=a.pc();this.C=this.F=null;this.D=new Zu;this.J=new sD;this.I=new OK(this.g,this.o);pC()};q(PK,L); var QK=function(a){I(a.h);a.o.Mc();a.I.Mc();tD(a.J)},SK=function(a){QK(a);var b=a.g;qp(b.na);null!=b.D&&b.D.stop();I(b.D);DK(b);b.g=null;b.o={};b.D=null;b.$=new Set;b.R=null;b.M=!1;b.J=null;b.A=null;b.C=0;b.B=0;b.L=0;b.V=1;a.F=null;RK(a)},RK=function(a){a.Z.xb();a.B=null;a.A=null;a.C=null;I(a.l);I(a.J);I(a.I);a.l=null};g=PK.prototype;g.uk=function(a){var b=a.g;"init"==a.h&&null!=b&&(a=b.adsRenderingSettings||{},this.D.uiElements=a.uiElements||this.D.uiElements,this.D.disableUi=a.disableUi||this.D.disableUi)}; g.Ek=function(a){switch(a.type){case "adBreakStarted":this.w.send("adsManager",a.type);break;case "adBreakEnded":RK(this);this.w.send("adsManager",a.type);break;case "adProgress":this.w.send("adsManager",a.type,a.data);break;case "cuepointsChanged":this.w.send("adsManager",a.type,a.data);break;case "loadStream":this.w.send("videoDisplay",a.type,a.data);break;case "streamInitialized":this.w.send("adsLoader",a.type,a.data);break;case "streamError":var b={};b.type=a.type;b.errorMessage=a.data.errorMessage; b.errorCode=1020;this.w.send("adsLoader","error",b)}};g.Gk=function(){GK(this.g)};g.hk=function(){this.F=this.o.getCurrentTime();CK(this.g,this.o.getCurrentTime());null!=this.l&&null!=this.A&&null!=this.B&&(va(this.C)||(this.C=this.F),this.C<=this.F&&mE(this.l,this.F-this.C,0,this.A.duration,this.A.adPosition,this.A.totalAds))};g.gk=function(){zK(this.g,C(this.o.U))};g.ik=function(){GK(this.g)}; var UK=function(a){var b="",c=null;null!=a.B&&(b=C(LB(a.B)),c=IB(a.B));b=cE(!1,null,c,null,a.D,!B(b)&&!a.L,!1,!1);b.o=!1;a.l=new iE(b,document.body,1E3*a.A.duration);XB(a.B,a.D.disableUi)&&uE(a.l);a.h.H(a.l,"videoLearnMoreClicked",function(){return TK(a,"click",a.B)});a.h.H(a.l,"videoClicked",function(){return TK(a,"videoClicked",a.B)});a.h.H(a.l,["skip","skipshown"],function(b){var c=a.g;b=b.type;null!=c.l&&(FK(c,b),"skip"==b&&LK(c))});jE(a.l)}; PK.prototype.M=function(a){switch(a.type){case "loaded":this.C=this.F;this.B=a.getAd();var b=this.g;this.A=fJ(b.g,b.l,b.getCurrentTime());break;case "impression":Y.l&&BC(vC(),this.w);null!=this.A&&(null==this.l&&UK(this),this.l.show(),this.Z.jb());break;case "start":b=this.g.getCurrentAd(),null!=b&&(this.I.hd(),uD(this.J,b,this.I))}this.dispatchEvent(a);TK(this,a.type,a.getAd());"complete"!=a.type&&"skip"!=a.type||RK(this)}; var TK=function(a,b,c){var d=[],e={},f={};null!=c&&(d=aB(c)||[],e=c.wa());"start"==b?e.companions=d.map(function(a){var b={};b.apiFramework=a.va.bd()||"";b.height=a.va.Ta().height;b.resourceValue=a.va.o;b.width=a.va.Ta().width;return b}):"skip"==b?f.seekTime=a.C+a.A.duration:"skipshown"==b&&(b="skippableStateChanged");f.adData=e;a.w.send("adsManager",b,f)};PK.prototype.R=function(a){a=a.g;if(null!=a){var b=this.g,c=a.eventName;c=Wv[c];b.w.B[c]=a.viewabilityString;b.dispatchEvent(new Yv(c,b.h));b.w.report(new K(c))}};var VK=function(a){this.g=a},WK=function(a,b){"unknown"!=a.g.videoPlayActivation&&b.set("vpa",a.g.videoPlayActivation);"unknown"!=a.g.videoPlayMuted&&b.set("vpmute","muted"==a.g.videoPlayMuted?1:0)},XK=function(a){B(Y.F)||(a.set("mpt",Y.F),B(Y.I)||a.set("mpv",Y.I))},YK=function(a,b){var c=ex,d=fx,e=Yw;null!=c&&b.set("js","ima-"+c);null!=d&&"0"!=d&&b.set("msid",d);null!=e&&b.set("an",e);c=a.g.o;null!=c&&b.set("mv",c+"."+(a.g.l||""));c="l";a.g.linearAdSlotHeight>a.g.linearAdSlotWidth&&(c="p");b.set("u_so", c)},ZK=function(a,b){if(Y.l){var c=vz();b.set("osd",c)}-1!=Xw&&b.set("frm",Xw);c=gx;null!=c&&b.set("ms",c);b.set("sdr",1);b.set("is_amp",a.g.Vd?1:0);B(Y.L)||b.set("adsid",Y.L);B(Y.U)||b.set("pucrd",Y.U);B(Y.M)||b.set("jar",Y.M);a.g.language?c=Xu(a.g.language):(c=t.navigator||null,c=Xu(c.language||c.userLanguage||c.browserLanguage||c.systemLanguage||""));c&&b.set("hl",c);Bz(a.g)&&((Y.ib||Y.R&&2!=Y.sa)&&b.set("npa",1),c=Y.$,c in[0,1]&&b.set("tfua",c));var d=a.g;a=d.Ue;c=d.Ve;d=d.deviceId;null!=a&&b.set("idtype", a);null!=c&&b.set("is_lat",c?"1":"0");null!=d&&b.set("rdid",d)},$K=function(a){var b=a.l();b.forEach(function(a,d){B(a)&&b["delete"](d)});return a.o(b)};VK.prototype.G=function(){return $K(this).toString()};VK.prototype.w=function(){var a=0;if(Bm())return a;a+=1;Nv(lx)&&(a+=4);var b=1088;Y.ga&&(b+=8);return a+b};var bL=function(){L.call(this);this.l=aL(this);this.Y=new S(this);this.g=null;Y.l&&BC(vC(),this.l);this.Y.H(this.l,"adsLoader",this.L)};A(bL,L);bL.prototype.B=w;bL.prototype.P=function(){this.Y.W();I(this.g);bL.O.P.call(this)};var dL=function(a,b){a.Y.H(b,"adsManagerLoaded",function(c){return cL(a,c,b)});a.Y.H(b,"adError",a.J)}; bL.prototype.L=function(a){var b=new UE;b.g=a.G;switch(a.h){case "requestAds":aL(this,b.g);eL(this,a.g,b);break;case "requestStream":aL(this,b.g);var c=a.g;fL(c.settings);gL(c.videoEnvironment,b);hL(c,b);kx=!0;FC();iL();var d=aL(this,b.g),e=this.X(b);b.l=e;a=new mz;a.we=c.assetKey||"";a.hh=c.authToken||"";a.Fe=c.contentSourceId||"";a.qg=c.videoId||"";a.fh=c.apiKey||"";a.te=c.adTagParameters||{};a.ai=c.msParameter||"";var f=c.identifierInfo;f?(a.deviceId=f.deviceId,a.Xe=f.idType,a.Ye=f.isLimitedAdTracking): (a.deviceId=c.rdid||"",a.Xe=c.idType||"",c.isLat&&(a.Ye="1"==c.isLat));a.h=cx;a.Pg=px()||"";a.zi=c.streamActivityMonitorId||"";a.gh=fx||"";a.Eh=Yw||"";a.pg="hls";a.Fi=c.useQAStreamBaseUrl||!1;"dash"==c.format&&(a.pg=c.format);f=ex||"";B(f)||(a.ci="ima-"+f);c=c.marketAppInfo;null!=c&&(a.g=c.appVersion||"",a.Fh=c.packageName||"");b=this.A=new PK(e,d,b.w);SK(b);QK(b);b.o.hd();b.h=new S(b);Y.l&&(d=vC(),b.h.H(d,["externalActivityEvent","measurable_impression","viewable_impression","fully_viewable_audible_half_duration_impression"], b.R));b.h.H(b.o,"start",b.Gk);b.h.H(b.o,"timedMetadata",b.gk);b.h.H(b.o,"timeUpdate",b.hk);b.h.H(b.o,"volumeChange",b.ik);b.h.H(b.g,"adBreakStarted adBreakEnded adProgress cuepointsChanged loadStream streamError streamInitialized".split(" "),b.Ek);b.h.H(b.g,"loaded impression start firstquartile midpoint thirdquartile complete skipshown skip".split(" "),b.M);b.h.H(b.w,"adsManager",b.uk);b.g.J=b.o;xK(b.g,a);break;case "contentComplete":null!=this.A?SK(this.A):this.g&&(a=this.g,b=new VE("contentComplete", new UE),a.dispatchEvent(b),b.h&&(qx(),a=a.l.C(),null!=a&&(a.B=Ww,Cx(a),Dx(a,null))))}};var cL=function(a,b,c){var d=b.g,e=b.h,f=aL(a,e.g);b=a.X(e);new mJ(new kK(c,d,a.D,b,function(b){a.B(b,f,e)}),b,jL(e),f);c=kL(e.A||"",d);f.send("adsLoader","adsLoaded",c)},kL=function(a,b){if(b instanceof tJ){var c=EH(b.g);b=Jv()}else c=[],b=zB(b[0])&&Jv();var d=NH(c);c={adCuePoints:c,internalCuePoints:d};Su();c.isCustomClickTrackingAllowed=b;c.adTagUrl=a;return c}; bL.prototype.J=function(a){var b=a.g.g,c=a.getError();a=c.getInnerError();c={type:c.l,errorMessage:c.getMessage(),errorCode:c.getErrorCode()};null!=a&&(c.innerError=a.message);aL(this,b).send("adsLoader","error",c)}; var lL=function(a,b){a=new R(a);var c=a.h.get("tfua");0==c?Y.$=0:1==c&&(Y.$=1);1==a.h.get("npa")&&(Y.ib=!0);b&&null!=b.gfcUserConsent&&(Y.sa=b.gfcUserConsent);b&&null!=b.gfcPresent&&(Y.R=b.gfcPresent)},fL=function(a){null!=a&&(null!=a.vpaidMode&&(Y.A=a.vpaidMode),null!=a.activityMonitorMode&&(Y.xa=a.activityMonitorMode),rx.K().report(41,{mode:Y.A}),null!=a.autoPlayAdBreaks&&(Y.G=a.autoPlayAdBreaks),null!=a.companionBackfill&&(Y.h=a.companionBackfill),null!=a.pageCorrelator&&0=b?null:a.ia.find(function(a){return 0=Y.C){var c=LL(b, oy,null,String(Y.C));ML(a,b,c);return!0}return a.A?!1:(a.l=LL(b,ry),!0)},IL=function(a,b,c,d){var e=[];b.forEach(function(b){b.forEach(function(b){return a.ee(b,function(a){return e.push(a)},function(b){return a.l=b})})});0=Y.C){var e=LL(d,oy,null,String(Y.C));ML(a,d,e);c(e)}else a.A?a.Mg(d,function(d){a.g=d;a.sb(b,c)},function(b){b=OL(b,null);ML(a,d,b);c(b)}):(e=LL(d,ry),c(e));else a.ee(d,b,c)},OL=function(a,b){switch(a.getErrorCode()){case 300:case 301:case 302:case 303:case 200:case 1012:Nx(a,b);break;default:a.getAd()&&(b=a.getAd()),a=LL(b, sy)}return a},PL=function(a,b,c,d){a.ia.forEach(function(a){a.h=b});SL(a,c);a.A=d},LL=function(a,b,c,d){b=wy(b,c,d);Nx(b,a);return b},TL=function(a,b){var c=b.Db;a.getAd()&&(b=a.getAd());return $C(c,b)};var VL=function(a,b,c){EL.call(this,[],a,b,c)};q(VL,EL);VL.prototype.Xf=function(){return 0a.h?1:a.h+1);return null!=a.g&&a.g instanceof VL?b+WL(a.g):b};g=VL.prototype;g.zc=function(a,b){GL(this,a,b)};g.Cb=function(){if(null!=this.g&&this.g.Cb())return!0;var a=0==this.o||this.o==this.D;return 0=a.width&&c-65>=a.height,k=!d&&!f&&90>=a.height&&b>= a.width&&c>=a.height;(f||k)&&e.push(a.width+"x"+a.height)});return e.join(",")},lM=function(a,b){return null==b||isNaN(b)?a:Number(b)},mM=function(a,b){return null!=b?String(b):null!=a?a:null},nM=function(a,b){if(null==b)return a;switch(b.toLowerCase()){case "true":case "1":return!0;case "false":case "0":return!1}return a},oM=function(a,b,c){return null!=b&&Wb(c,b)?b:a},pM=function(a){return gM.some(function(b){return a.g.includes(b)})},qM=function(a,b,c){null!=b&&c.set(a,b)};var rM=function(a,b){this.g=a;var c=new aM,d=(new R(a.adTagUrl)).h;c.Sf=oM(c.Sf,d.get("cust_age"),cM);c.re=oM(c.re,d.get("adsafe"),bM);c.g=iM(c.g,d.get("ad_type"));c.$c=c.g.join("_");c.Qf=lM(c.Qf,d.get("videoad_start_delay"));c.Rf=mM(c.Rf,d.get("slotname"));c.Pf=nM(c.Pf,d.get("adtest"))||"on"==d.get("adtest");c.eh=nM(c.eh,d.get("scs"));c.Tf=mM(c.Tf,d.get("alternate_ad_url"));c.o=jM(c.o,d.get("channel"));c.Zf=lM(c.Zf,d.get("cpm"));c.Ie=mM(c.Ie,d.get("description_url"));c.Ke=mM(c.Ke,d.get("eid"));c.eg= oM(c.eg,d.get("cust_gender"),dM);c.h=nM(c.h,d.get("overlay"));c.host=mM(c.host,d.get("host"));c.l=jM(c.l,d.get("h_ch"));c.lg=lM(c.lg,d.get("ht_id"));c.Jh=nM(c.Jh,d.get("lsv"));d.get("hl")&&(c.zh=Xu(String(d.get("hl"))));c.Bh=lM(c.Bh,d.get("linearAdSlotWidth"));c.Ah=lM(c.Ah,d.get("linearAdSlotHeight"));c.ff=lM(c.ff,d.get("max_ad_duration"));c.Cg=lM(c.Cg,d.get("min_ad_duration"));c.gf=lM(c.gf,d.get("sdmax"));c.Dh=lM(c.Dh,d.get("nonLinearAdSlotWidth"));c.Ch=lM(c.Ch,d.get("nonLinearAdSlotHeight"));c.kd= mM(c.kd,d.get("client"));c.tf=mM(c.tf,d.get("t_pyv"));var e=d.get("sdki");c.ti=lM(c.ti,v(e)?parseInt(e,16):e);c.Ug=mM(c.Ug,d.get("sz"));c.Ff=lM(c.Ff,d.get("tfcd"));c.rf=mM(c.rf,d.get("pucrd"));c.Ai=oM(c.Ai,d.get("targeting"),eM);c.Ji=lM(c.Ji,d.get("video_format"));c.Ki=lM(c.Ki,d.get("video_cpm"));c.Oi=mM(c.Oi,d.get("yt_pt"));c.Li=mM(c.Li,d.get("ytdevice"));c.Mi=mM(c.Mi,d.get("ytdevicever"));c.Ni=mM(c.Ni,d.get("dbp"));c.Ig=mM(c.Ig,d.get("ms"));c.ah=lM(c.ah,d.get("adBlock"));c.url=mM(c.url,d.get("url")); c.ih=mM(c.ih,d.get("avo"));c.Gi=mM(c.Gi,d.get("v_p"));c.Xj=a.contentDuration;c.Yj=a.contentKeywords;c.Zj=a.contentTitle;c.Of=lM(c.Of,d.get("ad_block"));c.og=a.h;this.h=c;this.B=b;B(C(this.h.Ke))||(a=this.h.Ke.split(","),wv(uv(),a))};A(rM,VK);var sM=["bumpervideo","skippablevideo","standardvideo","video"];rM.prototype.A={Ri:"allow",Vi:"exclude",Am:"require"};rM.prototype.w=function(){return rM.O.w.call(this)}; rM.prototype.o=function(a){var b=new R(this.g.adTagUrl),c=new R("//"+b.g+b.l);a.forEach(function(a,b){To(c,b,a)});Y.w||Ho(c,"https");return c}; rM.prototype.l=function(){var a=new Map;a.set("sdkv",px());a.set("sdki",this.w().toString(16));a.set("video_product_type",null==this.h.kd?-1:kb(this.h.kd,"ca-games-")?4:kb(this.h.kd,"ca-video-")?0:-1);a.set("correlator",Ww);a.set("client",this.h.kd);a.set("url",this.g.location?this.g.location:this.g.referrer);if(this.g.g){var b=Uo(this.g.location||this.g.referrer),c=Uo(this.g.g);b.g!=c.g&&a.set("top",this.g.g)}b=rC();null!=b&&a.set("sdk_apis",b);b=sC();null!=b&&a.set("omid_p",b);b=ox();null!=b&&a.set("omid_v", b);this.h.og&&a.set("media_url",this.h.og);null!=this.g.videoAdKey&&a.set("adk",this.g.videoAdKey);a.set("num_ads",tM(this));a.set("channel",uM(this));a.set("output","xml_vast3");this.h.Pf&&a.set("adtest","on");Hy&&a.set("flash",Iy);qM("alternate_ad_url",this.h.Tf,a);qM("cpm",this.h.Zf,a);c=this.g;b=this.h.Ug;c=Math.max(null!=c.linearAdSlotWidth?c.linearAdSlotWidth:0,null!=c.nonLinearAdSlotWidth?c.nonLinearAdSlotWidth:0)+"x"+Math.max(null!=c.linearAdSlotHeight?c.linearAdSlotHeight:0,null!=c.nonLinearAdSlotHeight? c.nonLinearAdSlotHeight:0);null!=b&&"0x0"==c&&(c=b);a.set("sz",c);Wb(bM,this.h.re)&&a.set("adsafe",this.h.re);this.h.host&&(a.set("host",this.h.host),qM("ht_id",this.h.lg,a),null!=this.h.l&&qM("h_ch",this.h.l.join("+"),a));a.has("hl")||qM("hl",this.h.zh,a);qM("cust_age",this.h.Sf,a);qM("cust_gender",this.h.eg,a);-1!=this.h.Ff&&qM("tfcd",this.h.Ff,a);null!=this.h.rf&&qM("pucrd",this.h.rf,a);qM("slotname",this.h.Rf,a);pM(this.h)&&(a.set("ea","0"),null!=this.g.nonLinearAdSlotWidth&&null!=this.g.nonLinearAdSlotHeight&& (b=kM(this.h,this.g.nonLinearAdSlotWidth,this.g.nonLinearAdSlotHeight,this.g.forceNonLinearFullSlot),a.set("image_size",b),B(b)&&(this.h.g=iM(this.h.g,this.h.$c,!0),this.h.$c=this.h.g.join("_"))));a.set("ad_type",this.h.$c);b=Av(uv());B(C(b))||a.set("eid",b);b={};b.u_tz=-(new Date).getTimezoneOffset();var d=void 0===d?P:d;try{var e=d.history.length}catch(h){e=0}b.u_his=e;b.u_java=!!P.navigator&&"unknown"!==typeof P.navigator.javaEnabled&&!!P.navigator.javaEnabled&&P.navigator.javaEnabled();P.screen&& (b.u_h=P.screen.height,b.u_w=P.screen.width,b.u_ah=P.screen.availHeight,b.u_aw=P.screen.availWidth,b.u_cd=P.screen.colorDepth);P.navigator&&P.navigator.plugins&&(b.u_nplug=P.navigator.plugins.length);P.navigator&&P.navigator.mimeTypes&&(b.u_nmime=P.navigator.mimeTypes.length);for(var f in b)a.set(f,b[f]);a.set("dt",wo);f=this.h;e=this.h.Ie;null!=e&&(null==$w&&($w=new Nw),d=$w,null!=f.Of?f=f.Of:(null!=e&&d.h!=e?(d.g=1,d.h=e):d.g=null!=e?d.g+1:1,f=d.g),1!=f&&a.set("ad_block",f),null==bx&&(bx=new Uw), f=bx,b=e!=ax,(0==d.g%100||b||36E5<(null===f.g?0:(new Tw).getTime()-f.g))&&f.reset(),ax=e,e=f.h,null!==e&&a.set("tok",e));a.set("unviewed_position_start","1");e=this.h.Qf;a.set("videoad_start_delay",null!=e?e:1);YK(this,a);ZK(this,a);WK(this,a);vM(this)&&a.set("video_format",Zf&&0<=Eb(Ev,6)||Vf&&0<=Eb(Ev,4)||Bc&&Mv(Iv,2.3)?43:18);e=null!=this.h.tf?this.h.tf:this.h.$c.split("_").includes("text")?this.A.Ri:this.A.Vi;a.set("t_pyv",e);qM("min_ad_duration",this.h.Cg,a);0