":a)}return a};m.getContentType=function(){return this.g.lb().getContentType()};m.getWidth=function(){return this.getSize().width};m.getHeight=function(){return this.getSize().height};m.Xf=function(){return this.g.lb().Xf()};m.ah=function(){return this.g.lb().ah()};m.Pa=function(){return this.g.lb().Pa()}; var uV=function(a){var b;a=(b=a.g.lb().getAd())==null?void 0:b.g;return a!=null?a.Pa():NaN};m=jY.prototype;m.getSize=function(){return this.g.getSize()};m.zb=function(){return this.g.lb().zb()};m.getAdSlotId=function(){return this.l};m.getApiFramework=function(){return this.g.lb().getApiFramework()||""};m.getAd=function(){return this.g.lb().getAd()}; var CW=function(a,b){a.g.lb().ad=b;a.pi.forEach(function(c){CW(c,b)});kY(a,b)},kY=function(a,b){var c,d;a.j=((d=((c=pW(b).get("companionAta"))!=null?c:[])[0])==null?void 0:d.j)||null},XW=function(a){var b={};return b.apiFramework=a.getApiFramework(),b.content=a.getContent(),b.size=a.getSize(),b.fluidSize=a.Xf(),b.resourceType=a.zb(),b.resourceValue=a.g.lb().Fa,b.contentType=a.getContentType(),b.sequenceNumber=a.Pa(),b.mainAdSequenceNumber=uV(a),b.adSlotId=a.getAdSlotId(),b.backupCompanions=a.pi.map(function(c){return XW(c)}), b.height=a.getSize().height,b.width=a.getSize().width,b};var lY=function(a){this.g=a;this.element=null}; lY.prototype.Vg=function(){if(this.element==null){var a=G(this.g.Fa);if(!F(G(this.g.rc()))){a=new P(a);var b=encodeURIComponent(String(this.g.rc()));a.g.set("clickTAG",b);a=a.toString()}b=Re("IFRAME",{marginwidth:0,marginheight:0,hspace:0,vspace:0,frameborder:0,scrolling:"no",title:"Advertisement"},null);var c=this.getSize();b.height=c.height;this.g.getContentType()!=="Text"&&(b.width=c.width);b.setAttribute("src",QV(a));this.element=hY({qk:b,adId:this.g.getAdId(),Yc:this.getSize(),contentType:this.g.getContentType()|| ""});Ue(this.element,gY(this.g))}return iY(af(this.element))};lY.prototype.getSize=function(){return this.g.getSize()};lY.prototype.lb=function(){return this.g};var mY=function(a){this.g=a;this.element=null};mY.prototype.Vg=function(){if(this.element==null){var a=Re("DIV");eW(hE)?yd(a,Be(this.g.Fa)):yd(a,$J(this.g.Fa));this.element=hY({qk:a,adId:this.g.getAdId(),Yc:this.getSize(),contentType:this.g.getContentType()||""});Ue(this.element,gY(this.g))}return iY(af(this.element))};mY.prototype.lb=function(){return this.g};mY.prototype.getSize=function(){return this.g.getSize()};var nY=function(a){this.g=a;this.element=null};nY.prototype.Vg=function(){if(this.element==null){var a=Re("a",{target:"_blank",id:this.g.getAdId()});a.setAttribute("href",QV(G(this.g.rc())));RH(this.g.g,a);var b=this.getSize();b=PP({height:b.height,width:b.width,Ua:"",attribution:""},0);a.appendChild(b.va());this.element=a;Ue(this.element,gY(this.g))}return iY(af(this.element)).replace(' src=""',' src="'+QV(G(this.g.Fa))+'"')};nY.prototype.lb=function(){return this.g};nY.prototype.getSize=function(){return this.g.getSize()};function oY(a,b){var c=a.getSize();switch(a.Rb){case "image":return PP({height:a.Wf?void 0:c.height,width:a.Wf?void 0:c.width,Ua:QV(G(a.Fa)),attribution:b.za},b.Vc);case "html":return c={height:c.height,width:c.width,Ua:a.Fa,attribution:b.za},b=b.Vc,a=vD(eP,c),yd(Ke("overlayInnerElement",a),Be(c.Ua||"")),new NP(a,b);case "text,":return QP(pY(b.za,a.getAd()),b.Vc);default:var d=G(a.Fa);F(G(a.rc()))||(d=new P(d),a=encodeURIComponent(String(a.rc())),d.g.set("clickTAG",a),d=d.toString());c={height:c.height, width:c.width,Ua:QV(d),attribution:b.za};b=b.Vc;a=vD(dP,c);Ke("embeddedOverlayIframe",a).setAttribute("src",c.Ua||"");return new NP(a,b)}} function pY(a,b){if(!b)return{title:void 0,text:void 0,dir:void 0,image:void 0,duration:void 0,Fc:void 0,attribution:void 0};var c=oW(b,"AdSense"),d=oW(b,"TextAd"),e=d.af||"",f="rtl";e!=null&&(f=HC.test.call(HC,e)?"rtl":"ltr");e={title:e,text:(d.bf||"")+" "+(d.cf||""),dir:f,image:void 0,duration:void 0,Fc:void 0,attribution:void 0};if(d=d.Xa)e.image=QV(d),b=b.ya.find(function(g){return g instanceof YV}),b!=null&&(e.duration=YF(b.getDuration()));c.Fc&&(e.Fc=c.Fc||void 0);e.attribution=(c.za?c.za:a)|| void 0;return e};var qY=function(a){this.g=a;this.j=null};qY.prototype.Vg=function(){if(this.j==null){var a=QP(pY("",this.g.getAd()),0).va();a.id=this.g.getAdId();rY(this,Ke("textImageContainer",a));rY(this,Ke("overlayTextTitle",a));this.j=a;Ue(this.j,gY(this.g))}return iY(af(this.j))};qY.prototype.lb=function(){return this.g};qY.prototype.getSize=function(){return new ge(this.getWidth(),this.g.getSize().height)};qY.prototype.getWidth=function(){return this.j!=null?Mf(this.j).width:this.g.getSize().width}; var rY=function(a,b){if(b!=null){var c=Re("a");c.setAttribute("href",QV(G(a.g.rc())));RH(a.g.g,c);var d;(d=b.parentElement)==null||d.replaceChild(c,b);c.appendChild(b)}};function sY(a){var b=a.id;var c=a.size;var d=a.resources;a=a.ea;if(d.length===0)return new aW({id:b,size:c,resourceType:"",creativeType:null,Fa:"",ea:a,Rb:"default"});var e=tY(d);d=e.zb();var f=e.creativeType;e=e.Fa;switch(d){case "Html":return new aW({id:b,size:c,resourceType:"Html",creativeType:f,Fa:e,ea:a,Rb:a==="Safeframe"?"safe_frame":"html"});case "Static":if(f!=null)switch(bS[f]){case "Image":return new aW({id:b,size:c,resourceType:"Static",creativeType:f,Fa:e,ea:a,Rb:"image"});case "Text":return new aW({id:b, size:new ge(0,63),resourceType:"Static",creativeType:"text",Fa:"",ea:a,Rb:"text,"})}}return new aW({id:b,size:c,resourceType:d,creativeType:f,Fa:e,ea:a,Rb:"default"})}function uY(a){if(a.Wf)return new nY(a);switch(a.Rb){case "image":return new nY(a);case "html":return new mY(a);case "text,":return new qY(a);default:return new lY(a)}} function tY(a){var b=a.find(function(f){return f.zb()==="IFrame"}),c=a.find(function(f){return f.zb()==="Html"}),d=a.find(function(f){var g=f.creativeType;return f.zb()==="Static"&&g!=null&&bS[g]==="Image"}),e=a.find(function(f){var g=f.creativeType;return f.zb()==="Static"&&g!=null&&bS[g]==="Text"});return b!=null?b:c!=null?c:d!=null?d:e!=null?e:a[0]};function vY(a,b,c,d,e){var f=tY(e),g=sY({id:a.id,size:a.size,resources:[f],ea:a.ea}),h=function(l){l.o=!0;l.g=b;l.j=c;d&&(l.aa=d);l.Ja=!!a.Ja};h(g);g=uY(g);e.splice(e.indexOf(f),1);var k=[];e.forEach(function(l){l=sY({id:a.id,size:a.size,resources:[l],ea:a.ea});h(l);k.push(new jY(uY(l),[],a.he))});return new jY(g,k,a.he)};var wY=function(a,b,c){this.resourceType=a;this.creativeType=b;this.Fa=c};wY.prototype.zb=function(){return this.resourceType};wY.prototype.getContentType=function(){return this.creativeType==null?null:bS[this.creativeType]||"Other"};var xY=function(a,b){FV.call(this,b);this.j=a};q(xY,FV);var yY=function(a){FV.call(this);this.duration=a};q(yY,FV);yY.prototype.getDuration=function(){return this.duration};var zY=function(a){FV.call(this);this.Eb=a};q(zY,FV);zY.prototype.dd=function(){return this.Eb};var AY=function(a,b,c,d,e,f,g,h,k){FV.call(this,h,k);this.za=a;this.Hb=b;this.Pe=c;this.Fc=d;this.j=e;this.uiConfig=f;this.sf=g};q(AY,FV);var BY=function(a,b){FV.call(this);this.j=a;this.offset=b};q(BY,FV);BY.prototype.isSkippable=function(){return this.j};var CY=function(a){FV.call(this);this.j=a};q(CY,FV);var DY=function(a){FV.call(this);this.eg=a};q(DY,FV);var EY=function(a){FV.call(this);this.j=a};q(EY,FV);var FY=function(a){FV.call(this);this.j=a};q(FY,FV);var GY=function(a,b){FV.call(this,b);this.ke=a};q(GY,FV);var NW=function(a){var b=[];a=w(a.ke);for(var c=a.next();!c.done;c=a.next())c=c.value,c.type===1&&b.push(c);return b.length>0?b[0]:null};var HY=function(a,b,c){FV.call(this);this.j=a;this.l=b;this.o=c};q(HY,FV);var IY=function(a,b){FV.call(this);this.j=a;this.l=b};q(IY,FV);var JY=function(a){FV.call(this);this.j=a};q(JY,FV);var KY=function(a){FV.call(this);this.dealId=a};q(KY,FV);KY.prototype.getDealId=function(){return this.dealId};var LY=function(a,b,c,d,e){e=e===void 0?null:e;FV.call(this);this.l=a;this.A=b;this.j=c;this.o=d;this.C=e};q(LY,FV); LY.prototype.init=function(){if(this.l&&(this.A&&this.j||this.o)){var a,b=window,c=this.l,d=(a=this.C)!=null?a:void 0;a=this.A;var e=this.j,f=this.o;var g=g===void 0?!1:g;var h;a?h=(g===void 0?0:g)?"//ep1.adtrafficquality.google/bg/"+Bd(a)+".js":"//pagead2.googlesyndication.com/bg/"+Bd(a)+".js":h="";a=g;a=a===void 0?!1:a;g=b.document;var k={};d&&(k._scs_=d);k._bgu_=h;k._bgp_=e;k._li_="v_h.3.704.0";f&&(k._upb_=f);(d=b.GoogleTyFxhY)&&typeof d.push=="function"||(d=b.GoogleTyFxhY=[]);d.push(k);d=He(g); d=Se(d.g,"SCRIPT");d.type="text/javascript";d.async=!0;c=(a===void 0?0:a)?Ee(zu,Bd(c)+".js"):Ee(Au,Bd(c)+".js");xd(d,c);(b=(b.GoogleTyFxhYEET||{})[d.src])?b():g.getElementsByTagName("head")[0].appendChild(d)}};var MY=function(a,b,c,d,e,f){FV.call(this);this.af=a;this.bf=b;this.cf=c;this.Xa=d;this.imageWidth=e;this.imageHeight=f};q(MY,FV);var NY=function(a){FV.call(this);this.j=a};q(NY,FV);var OY=function(a){FV.call(this);this.j=a};q(OY,FV);OY.prototype.Pa=function(){return this.j};var PY=function(a){FV.call(this);this.j=isNaN(a)?-1:a};q(PY,FV);var QY=function(a,b,c,d,e,f,g,h,k,l){k=QV(G(k));kI.call(this,k,{height:h,width:g,Jb:a,mimeType:b,ea:l,bitrate:d,rb:e,maxBitrate:f,codec:c});this.g=BJ(k)};q(QY,kI);QY.prototype.getWidth=function(){return this.width||0};QY.prototype.getHeight=function(){return this.height||0};QY.prototype.getApiFramework=function(){return this.ea};var SY=function(a,b){var c=Array.prototype.slice.call(arguments),d=c.shift();if(typeof d=="undefined")throw Error("[goog.string.format] Template required");return d.replace(/%([0\- \+]*)(\d+)?(\.(\d+))?([%sfdiu])/g,function(e,f,g,h,k,l,n,p){if(l=="%")return"%";var r=c.shift();if(typeof r=="undefined")throw Error("[goog.string.format] Not enough arguments");arguments[0]=r;return RY[l].apply(null,arguments)})},RY={s:function(a,b,c){return isNaN(c)||c==""||a.length>=Number(c)?a:a=b.indexOf("-",0)>-1? a+Hd(" ",Number(c)-a.length):Hd(" ",Number(c)-a.length)+a},f:function(a,b,c,d,e){d=a.toString();isNaN(e)||e==""||(d=parseFloat(a).toFixed(e));var f=Number(a)<0?"-":b.indexOf("+")>=0?"+":b.indexOf(" ")>=0?" ":"";Number(a)>=0&&(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=b.indexOf("-",0)>=0?f+d+Hd(" ",a):f+Hd(b.indexOf("0",0)>=0?"0":" ",a)+d},d:function(a,b,c,d,e,f,g,h){return RY.f(parseInt(a, 10),b,c,d,0,f,g,h)}};RY.i=RY.d;RY.u=RY.d;var TY=function(a,b){this.j=a;this.U=b};q(TY,hS);TY.prototype.g=function(){var a=this;try{var b=UY(this)}catch(d){throw iV(BS,d);}var c=b.g.map(function(d){d=a.getAd(d);var e=OH(a.j)||0;d.F=e;mV("vl");return d});return new eV(c,null,b.gf)}; TY.prototype.getAd=function(a){var b=a.jb,c=null,d=null,e=!1,f=null,g=!1,h=null,k=null;b instanceof GJ?(c=b.Bg,d=b.ie,f=b.description,h=b.sg):b instanceof BK&&(e=b.kb,g=b.pe,k=b.zg);var l=VY(b.ia,this.U),n=l==null;a:{var p=b.ab;if(F(G(p)))p="UNKNOWN";else switch(p=p.toUpperCase(),p){case "ADSENSE":case "ADSENSE/ADX":case "ADSENSE-VIRAL":case "DART":case "DART_DFP":case "DART_DFA":case "FREEWHEEL":case "GDFP":case "402":case "YT:ADSENSE":case "YT:DOUBLECLICK":case "YT:FREEWHEEL":case "VIRAL":case "VIRAL-RESERVE":break a; default:p="UNKNOWN"}}return new hW(a.id||"",b.ab,p,c,d,f,h,this.getDealId(b.ia),a.Qa||0,WY(this,b.g),XY(this,b.j),YY(this,b.ya,l),ZY(this,b.ya),$Y(this,b.ia,n),a,k,e,g,this.dd(b.Eb),!l)}; var VY=function(a,b){if(!CU(b))return xE(EF)||xE(FF)||xE(HF)||xE(IF)||xE(GF)?bF(T.getInstance(),"ima_lvp_nss_ycs"):bF(T.getInstance(),"ima_lvp_nss_ncs"),null;if(!(xE(EF)||xE(FF)||xE(HF)||xE(IF)||xE(GF)))return bF(T.getInstance(),"ima_lvp_ncs"),null;bF(T.getInstance(),"ima_lvp_ycs");b=a.find(function(e){return e instanceof OJ});var c=a.find(function(e){return e instanceof eJ});if(!(b instanceof OJ)||c)return bF(T.getInstance(),"ima_lvp_ycs_ns"),null;c=a.find(function(e){return e instanceof DJ});a= a.find(function(e){return e instanceof BI});var d={};return d.channelCustomUrl=b.Ig,d.channelId=b.Bd,d.channelThumbnailUrl=b.Me,d.channelTitle=b.Ne,d.cpn=c instanceof DJ?c.o:null,d.format=b.format,d.isSkippable=b.format!=="BUMPER"&&b.format!=="NONSKIPPABLE",d.isTrueView=b.kd,d.isVideoUnlisted=b.ye,d.title=b.wf,d.videoThumbnailUrl=b.wg,d.wtaUrl=a instanceof BI?a.Gc:null,d.youtubeVideoId=b.wd,d.engagedViewUrls=[],d.infoCards=[],d},aZ=function(a,b,c){return eY(b)?dY(b,c,a.U):null},WY=function(a,b){var c= [];b.forEach(function(d){(d=aZ(a,d,"error"))&&c.push(d)});return c},XY=function(a,b){var c=[];b.forEach(function(d){var e=aZ(a,d.url,"impression");e&&c.push(new nE(e,d.g))});return c},ZY=function(a,b){var c=[];b.forEach(function(d){d.Oe!=null&&(d=a.getCompanionAds(d.Oe,d.Qa||0),c.push(d))});return c};TY.prototype.getCompanionAds=function(a,b){var c=this,d=[];a.g.forEach(function(e){(e=bZ(c,e,b))&&d.push(e)});return new fY(d,cZ(a.required))}; var bZ=function(a,b,c){var d={ea:b.ea,size:a.getSize(b.width,b.height),id:b.id,he:b.he,Ja:b.Ja},e=b.Lg||null,f=dZ(a,b.resources);if(f.length===0)return null;var g=eZ(a,b.aa);b.Mg.forEach(function(h){tU(g,"click",h.url,null,h.g)});return vY(d,e,c,g,f)},cZ=function(a){a=a!=null?a.toLowerCase():"";return a==="all"?"all":a==="any"?"any":"none"},YY=function(a,b,c){var d=[];b.forEach(function(e){e.xc!=null?d.push(fZ(a,e,c)):e.hf!=null&&(d=d.concat(gZ(a,e)))});return d},fZ=function(a,b,c){var d=b.xc,e=d.qb; e.length>0?bF(T.getInstance(),"ima_lvp_nvs"):bF(T.getInstance(),"ima_lvp_yvs");c&&(e=SY("https://imasdk.googleapis.com/js/simid/simid_trueview_%s.html",eT.getLocale()),e=[new gI(new $H(e,"Url"),{mimeType:"text/html",ea:"SIMID",uf:!1})]);e=new YV(d.duration?d.duration/1E3:0,hZ(d.ee),iZ(d.nd),e,jZ(d.lc),kZ(a,d.Ea),a.U.appName);var f=eZ(a,d.aa);lZ(d.ee).forEach(function(g){tU(f,"click",g.url,null,g.g)});d.ee&&d.ee.Hf.forEach(function(g){c&&xE(FF)&&g.id==="engagedView"?c.engagedViewUrls.push(g.url):tU(f, g.id?g.id:"",g.url)});c?SV(e,JSON.stringify(c)):e.oa=d.oa||"";e.j=b.Qa||0;e.creativeId=b.id;e.l=b.adId;f&&(e.aa=f);TV(e,a.getUniversalAdIds(b.tb));return e},gZ=function(a,b){var c=b.hf,d=eZ(a,c.aa);c=c.g.map(function(f){return mZ(a,f,d)});if(c.length===0&&!d.isEmpty()){var e=sY({id:null,size:new ge(-1,-1),resources:[new wY("",null,"")],ea:""});d&&(e.aa=d);c.push(e)}c.forEach(function(f){f.j=b.Qa||0;f.creativeId=b.id;f.l=b.adId;var g=a.getUniversalAdIds(b.tb);f.tb=g});return c},mZ=function(a,b,c){var d= -1;b.od!=null&&(d=b.od/1E3);a=sY({id:b.id,size:a.getSize(b.width,b.height),resources:dZ(a,b.resources),ea:b.ea});a.oa=b.oa||"";a.g=b.Bh;var e=new qU;b.Ch.forEach(function(f){tU(e,"click",f.url)});vU(e,c);e&&(a.aa=e);a.od=d;return a},dZ=function(a,b,c){c=c===void 0?!1:c;var d=[];b.forEach(function(e){var f=e.creativeType?e.creativeType.toLowerCase():null,g=a.zb(e.resourceType);g==null||c&&g!=="Static"||f==="text/javascript"||d.push(new wY(g,f,e.g))});return d},kZ=function(a,b){var c=[];b.forEach(function(d){(d= nZ(a,d))&&c.push(d)});return c},nZ=function(a,b){a=dZ(a,b.resources,!0);if(a.length===0)return null;a=tY(a);var c=new DH;c.Lb=b.Lb||"";c.ea=b.ea;c.xb=b.xb;c.j=b.width!=null?b.width:NaN;c.g=b.height!=null?b.height:NaN;c.P=b.jg?b.jg:1;c.Nb=b.Nb?b.Nb.toLowerCase():"left";c.Ob=b.Ob?b.Ob.toLowerCase():"top";c.Ta=b.Ta!=null?b.Ta:0;c.Qb=b.Qb!=null?b.Qb:-1;var d=hZ(b.We),e;c.o=(e=d==null?void 0:d.url)!=null?e:null;c.C=QH(d);c.B=lZ(b.We).map(function(f){return f.url});c.A=oZ(b.We);c.L=b.Sf;c.l=a.Fa;c.D=a.creativeType; return c},iZ=function(a){var b=[];a.forEach(function(c){c=new QY(c.Jb?c.Jb.toLowerCase():null,c.mimeType?c.mimeType.toLowerCase():null,c.codec?c.codec.toLowerCase():null,c.rb||0,c.rb||0,c.maxBitrate||0,c.width!=null?c.width:NaN,c.height!=null?c.height:NaN,c.url,c.ea);b.push(c)});return b},hZ=function(a){var b;return(b=a==null?void 0:a.Yb)!=null?b:null},lZ=function(a){var b=[];return a==null?b:a.Xc},oZ=function(a){return(a==null?[]:a.Jg).map(function(b){var c=new CH;c.j=b.width||0;c.g=b.height||0; c.l=b.Ua?b.Ua.g:"";c.xb=b.xb;return c})},eZ=function(a,b){var c=new qU;b.forEach(function(d){var e=aZ(a,d.url,d.eventType);if(e){var f=jZ(d.Ta);f==null&&d.Ae!=null&&(f=new $V(d.Ae,!0));tU(c,d.eventType,e,f,d.g)}});return c};TY.prototype.zb=function(a){switch(a){case "Static":case "IFrame":case "Html":return a;default:return null}}; var $Y=function(a,b,c){var d=new Map;b.forEach(function(e){var f=pZ(a,e);e=f.type;f=f.yn;if(e!=null&&f!=null&&(c||e!=="InfoCards")){var g=d.get(e);g==null?d.set(e,f):e==="generic"&&GV(g,f.g)}});return d},pZ=function(a,b){var c=null,d=null;if(b instanceof yI)c="activeview",d=new xY(b.g,eZ(a,b.aa));else if(b instanceof TQ)c="wrapper_info",d=new yY(b.duration/1E3);else if(b instanceof JJ)c="adVerifications",b=a.dd(b.Eb),b.length!==0&&(d=new zY(b));else if(b instanceof bL)c="adx",d=new BY(b.j,jZ(b.g)); else if(b instanceof BI)c="AdSense",d=eZ(a,b.aa),d=new AY(b.za,b.Hb,b.Pe,b.Fc,b.Gc,qZ(b.uiConfig),b.sf,d,b.ff);else if(b instanceof cL)c="DFP",d=new IV(b.g==="Generic",eZ(a,b.aa));else if(b instanceof fJ)c="EoidCookieExtension",d=new JV(uH(tH(sH(rH(new qH,b.value),b.g),b.path),b.domain));else if(b instanceof jJ)c=b.j?"GfpCookieV2Extension":"GfpCookieV1Extension",d=new MV(uH(tH(sH(rH(new qH,b.value),b.g),b.path),b.domain));else if(b instanceof DJ)c="GoogleHostedMediaExtension",d=new EY(b);else if(b instanceof FJ)try{var e=Tw(Ed(b.g));d=new FY(e);c="GpidWtaExtension"}catch(g){}else if(b instanceof VQ)c="inred_info",d=new HY(b.g,b.j,b.l);else if(b instanceof HJ)c="metrics",d=new IY(b.g,b.Ma);else if(b instanceof XQ)c="pod",d=new OY(b.Qa);else if(b instanceof KJ)c="programmatic",d=new KY(b.dealId);else if(b instanceof LJ)c="sodar",d=new LY(b.l,b.o,b.g,"",b.j);else if(b instanceof YQ)c="TextAd",d=new MY(b.af,b.bf,b.cf,b.Xa,b.imageWidth,b.imageHeight);else if(b instanceof MJ)c="uiSettings",d=new NY(b.g);else if(b instanceof ZQ)c="waterfall",d=new PY(b.g);else if(b instanceof xI)c="generic",d=new FV(eZ(a,b.aa));else if(b instanceof eJ){c="InfoCards";var f=[];b.ke.forEach(function(g){return f.push.apply(f,x(g.aa))});d=new GY(b.ke,eZ(a,f))}else if(b instanceof gJ)c="esp",d=new KV(b.g);else if(b instanceof UQ)c="watermark",d=new DY(b.eg,b.j,b.g);else if(b instanceof WQ){if(b=nZ(a,b.g))c="nonlinearAta",d=new JY(b)}else if(b instanceof CI){if(b=nZ(a,b.g))c="companionAta",d=new CY(b)}else b instanceof NJ&&(b=nZ(a,b.g))&&(c= "vast2Ata",d=new OV(b));return{type:c,yn:d}};TY.prototype.getUniversalAdIds=function(a){return a.map(function(b){return new KH(b.Uf,b.Tf)})};TY.prototype.dd=function(a){var b=this,c=[];a.forEach(function(d){if(d.rf!=null){var e=eZ(b,d.aa).getEvents("verificationNotExecuted");c.push(new xH(d.rf,{vd:d.vd||void 0,aa:e,vendor:d.vendor||void 0,parameters:d.parameters||void 0}))}});return c};var qZ=function(a){var b=new NV;if(a==null)return b;a.za!=null&&(b.za=a.za);b.Hb=a.Hb;b.je=a.je;b.Vc=a.Vc;return b}; TY.prototype.getDealId=function(a){var b="";a.forEach(function(c){c instanceof KJ&&(b=c.dealId||"")});return b};TY.prototype.getSize=function(a,b){return new ge(a!=null?a:NaN,b!=null?b:NaN)}; var jZ=function(a){return a==null?null:new $V(a/1E3,!1)},UY=function(a){var b=new TK;UK(b,new aR);UK(b,new fR);UK(b,new cR);UK(b,new jR);UK(b,new xR);UK(b,new ER);UK(b,new LR);UK(b,new zR);UK(b,new PR);UK(b,new mR);UK(b,new AR);UK(b,new kR);UK(b,new IR);UK(b,new gR);UK(b,new $Q);UK(b,new yR);UK(b,new lR);UK(b,new bR);UK(b,new eR);UK(b,new iR);UK(b,new GR);UK(b,new HR);UK(b,new JR);UK(b,new KR);UK(b,new MR);UK(b,new NR);UK(b,new OR);UK(b,new hR);var c=a.j;if(!c)throw Error("VAST string is empty."); if(!NH(c))throw Error("Response string is not a valid VAST document.");a=[];var d=[];c=w(Ye(c));for(var e=c.next();!e.done;e=c.next()){var f=e.value;switch(f.nodeName){case "Ad":var g=void 0,h=b;e={};e.id=f.getAttribute("id");e.Qa=CK(f,"sequence");e.zd=f.getAttribute("adType");f=w(Ye(f));for(var k=f.next();!k.done;k=f.next()){var l=k.value;if(l.nodeName=="InLine"){var n=k=f=g=void 0,p=void 0,r=void 0,t=void 0,u=[],A=[],v=[],E=[];l=w(Ye(l));for(var D=l.next();!D.done;D=l.next()){var K=D.value;switch(K.nodeName){case "AdServingId":t= V(K);break;case "AdSystem":r=V(K);break;case "AdTitle":p=V(K);break;case "AdVerifications":E=E.concat(JK(K));break;case "Advertiser":n=V(K);break;case "Creatives":D=w(Ye(K));for(K=D.next();!K.done;K=D.next())K=K.value,K.nodeName=="Creative"&&v.push(XK(K));break;case "Description":k=V(K);break;case "Error":V(K)!=null&&u.push(V(K));break;case "Extensions":g=VK(h,Ye(K));break;case "Impression":D=NK(V(K));K=GK(K);D!=null&&A.push(new rI(D,K));break;case "Survey":f=V(K)}}g=new GJ({ge:t,ab:r,ie:p,Bg:n,description:k, sg:f,errors:u,gd:A,ya:v,Eb:E,ia:g});break}else if(l.nodeName=="Wrapper"){f=k=g=void 0;n=h;E=l;p=[];r=[];t=[];h=[];u=E.getAttribute("followAdditionalWrappers")!="false";A=E.getAttribute("allowMultipleAds")=="true";v=E.getAttribute("fallbackOnNoAd")=="true";E=w(Ye(E));for(l=E.next();!l.done;l=E.next())switch(D=l.value,D.nodeName){case "AdSystem":f=V(D);break;case "VASTAdTagURI":k=(k=V(D))?k:void 0;break;case "Creatives":l=w(Ye(D));for(D=l.next();!D.done;D=l.next())D=D.value,D.nodeName=="Creative"&& t.push(XK(D));break;case "Error":l=V(D);l!=null&&p.push(l);break;case "AdVerifications":h=h.concat(JK(D));break;case "Extensions":g=VK(n,Ye(D));break;case "Impression":l=NK(V(D)),D=GK(D),l!=null&&r.push(new rI(l,D))}g=new BK({ab:f,pe:u,kb:A,Vi:v,zg:k,errors:p,gd:r,ya:t,Eb:h,ia:g});break}}if(!g)throw Error("Vast Ad contains neither inline nor wrapper data.");a.push(new uI(g,e));break;case "Error":(e=V(f))&&d.push(e)}}dF(["lima_p_ich","lima_p_icu"]);return new AK({ads:a,gf:d})};var rZ=function(a,b,c){this.j=a;this.ua=b;this.U=c;this.adsResponse=null;oU.getInstance().report(115,{vmap:!0})};q(rZ,hS);rZ.prototype.g=function(){this.adsResponse||(this.adsResponse=new eV(null,sZ(this),[]));return this.adsResponse}; var sZ=function(a){var b=new bV,c=new WR;YR(c);try{var d=$R(c,a.j)}catch(e){throw iV(sS);}d.g.forEach(function(e){var f=e.j;var g=f.Ag;f=f.He;g?g=mG(a.ua,g):f?(g=a.ua.clone(),g.adTagUrl=null,g.adsResponse=f,g.C=!0):g=null;g!=null&&(g=tZ(a,e,g),b.add(e.g,[g]))});if(dV(b).length===0)throw iV(sS);return b},tZ=function(a,b,c){c=new wU(c);var d=new qU;b.ia.find(function(e){return e instanceof UR})&&(c.g=!0);b.aa.forEach(function(e){var f=e.eventType,g=dY(e.url,f,a.U);g&&eY(g)&&f!=null&&tU(d,e.eventType, g)});c.aa=d;return c};function uZ(a,b,c){if(a!=null){if(a&&a.nodeName==="Playlist")return new kV(a,b);if(ZR(a))return new rZ(a,b,c);if(NH(a))return new TY(a,c)}return null};var vZ=function(){hq.apply(this,arguments);this.g=new Set};q(vZ,hq);var wZ=function(a,b){var c=Fv(function(){a.g.delete(c);b.call(a)});a.g.add(c)};vZ.prototype.O=function(){this.g.forEach(function(a){return Gv(a)});this.g.clear()};function xZ(a){for(var b=a.length,c=new Uint8Array(b),d=0;d1)throw Error("Value for "+a+" is outside the range [0,1]");};function VZ(){return/\d+\.\d+\.\d+(-.*)?/.test("1.5.2-google_20241009")}function WZ(){for(var a=["1","5","2"],b=["1","0","3"],c=0;c<3;c++){var d=parseInt(a[c],10),e=parseInt(b[c],10);if(d>e)break;else if(d=0&&(b=b.adEvents);r_.indexOf(a)>=0&&(b=b.mediaEvents);b=b[a];if(!b)throw Error("Unrecognized method name: "+a+".");b.apply(null,x(c))};var w_=function(a,b,c){SZ("AdSession.context",a);this.g=b_();this.o=a;this.L=!1;var d=this.o.g||void 0;if(!b){b=j_();var e=e===void 0?e_:e;var f=[b,h_(b)?b.top:g_];d&&f.unshift(d);a:{d=w(f);for(var g=d.next();!g.done;g=d.next()){b:{f=b;g=g.value;var h=e;if(!i_(g))try{var k=m_(g);if(k){var l=new f_(k);break b}}catch(n){}l=h(g)?new k_(f,g):null}if(f=l){b=f;break a}}b=null}}this.A=b;this.D=c||new t_;this.P=this.G=this.F=!1;this.l=this.j=null;this.B=!1;this.C={};this.A&&(this.A.g=this.Hn.bind(this)); this.Ga("setClientInfo","1.5.2-google_20241009",this.o.j.name,this.o.j.version,this.g);u_(this,a.B);(a=a.A)&&this.Ga("setContentUrl",a,this.g);v_(this)},x_=function(a){return!!a.A||a.D.g!=null};m=w_.prototype;m.registerSessionObserver=function(a){this.sendMessage("registerSessionObserver",a,this.g)};m.start=function(){this.Ga("startSession",{customReferenceData:this.o.C,underEvaluation:this.o.o},this.g)};m.error=function(a,b){this.Ga("sessionError",a,b,this.g)}; m.Ga=function(a){this.sendMessage.apply(this,[a,null].concat(x(Ea.apply(1,arguments))))};m.sendMessage=function(a,b){var c=Ea.apply(2,arguments);if(this.A){var d=b_();b&&(this.C[d]=b);c=new XZ(d,"SessionService."+a,"1.5.2-google_20241009",VZ()&&WZ()?c:JSON.stringify(c));this.A.sendMessage(c)}else if(this.D.g!=null)try{this.D.sendMessage(a,b,c)}catch(e){c_("Failed to communicate with SessionInterface with error:"),c_(e)}}; m.Hn=function(a){var b=a.method,c=a.g;a=a.args;if(b==="response"&&this.C[c]){var d=VZ()&&WZ()?a?a:[]:a&&typeof a==="string"?JSON.parse(a):[];this.C[c].apply(this,d)}b==="error"&&window.console&&c_(a)};var u_=function(a,b){b&&(b=b.map(function(c){return c.toJSON()}),a.Ga("injectVerificationScriptResources",b,a.g))},v_=function(a){a.registerSessionObserver(function(b){b.type==="sessionStart"&&(a.P=!0,a.j=b.data.creativeType,a.l=b.data.impressionType);b.type==="sessionFinish"&&(a.P=!1)})}; eG("OmidSessionClient.AdSession",w_);var y_=function(a){SZ("AdEvents.adSession",a);this.j=a.g;try{if(a.F)throw Error("AdEvents already registered.");a.F=!0;a.Ga("registerAdEvents",a.g);this.g=a}catch(b){throw Error("AdSession already has an ad events instance registered");}}; y_.prototype.loaded=function(a){a=a===void 0?null:a;var b=this.g;if(b.j==="definedByJavaScript")throw Error("Creative type has not been redefined");if(b.l==="definedByJavaScript")throw Error("Impression type has not been redefined");b.B=!0;a=a?a.toJSON():null;this.g.Ga("loaded",a,this.j)};eG("OmidSessionClient.AdEvents",y_);var z_=function(a){SZ("MediaEvents.adSession",a);this.j=a.g;try{if(a.G)throw Error("MediaEvents already registered.");a.G=!0;a.Ga("registerMediaEvents",a.g);this.g=a}catch(b){throw Error("AdSession already has a media events instance registered");}};z_.prototype.start=function(a,b){TZ("MediaEvents.start.duration",a);UZ("MediaEvents.start.mediaPlayerVolume",b);this.g.Ga("start",a,b,this.j)};z_.prototype.complete=function(){this.g.Ga("complete",this.j)}; z_.prototype.pause=function(){this.g.Ga("pause",this.j)};z_.prototype.resume=function(){this.g.Ga("resume",this.j)};var A_=function(a,b){SZ("MediaEvents.playerStateChange.playerState",b);a.g.Ga("playerStateChange",b,a.j)},B_=function(a,b){SZ("MediaEvents.adUserInteraction.interactionType",b);a.g.Ga("adUserInteraction",b,a.j)};eG("OmidSessionClient.MediaEvents",z_);var C_=function(a,b,c,d,e){O.call(this);this.ad=a;this.N=b;this.K=c;this.omidAccessModeRules=d;this.U=e;this.qa=this.l=null;this.B=[];this.G=this.X=this.D=this.Z=!1;this.A=this.g=this.F=this.j=null;this.o=new bK(this);this.o.listen(this.N,jU,this.ha);this.o.listen(this.N,["adError","streamError"],this.ba)};q(C_,O); var K_=function(a,b,c){var d=D_(a);E_(d);d.length===0?F_(a,"noVerifications"):(b=new p_(b,d,a.U.g),c&&(b.l(c),c=Object.keys(a.omidAccessModeRules).length>0,b.o=!c,oU.getInstance().report(159,{pcp:c})),a.j=new w_(b),mV("sc"),x_(a.j)?(a.F=new y_(a.j),a.g=new z_(a.j),a.j.registerSessionObserver(function(e){if(!G_(a))switch(e.type){case "sessionStart":mV("ss");e=e.data;a.D=!0;H_(a,e==null?void 0:e.creativeType);I_(a,e==null?void 0:e.impressionType);J_(a);break;case "sessionFinish":mV("sf");a.X=!0;a.dispatchEvent(new Cu("omidAdSessionCompleted")); break;case "sessionError":mV("se")}}),a.Z=!0,H_(a),I_(a),a.j.start(),mV("ssa")):(a.j=null,F_(a,"notSupported")))};C_.prototype.ha=function(a){this.G||G_(this)||(a.type!=="firstQuartile"||this.D||mV("bf"),a.type!=="complete"||this.D||mV("bc"),this.B.push(a),J_(this))};C_.prototype.ba=function(a){this.B.push(a);J_(this)};C_.prototype.T=function(){J_(this)}; var L_=function(a){if(!a.G){a.G=!0;var b;(b=a.j)!=null&&b.Ga("finishSession",b.g);Fv(function(){G_(a)||(mV("le"),F_(a,"sessionLingering"))},5E3)}},J_=function(a){if(a.D&&!G_(a))for(;a.B.length>0;){var b=a.B[0];if(b.type==="start"&&(a.l==null?0:a.l.getVolume())<0)break;a.B.shift();var c=a;if(b instanceof eX){var d=void 0;if(c.F&&c.g)switch(b.type){case "loaded":mV("oml");b=c.F;d=b.loaded;var e=c;c="preroll";e.ad.getAdPodInfo().getPodIndex()<0?c="postroll":e.ad.getAdPodInfo().getPodIndex()>0&&(c="midroll"); var f=e.ad.isSkippable(),g=e.ad.getSkipTimeOffset();e=e.ad;d.call(b,new QZ(f,g,e.ua?e.ua.g==="auto":!1,c));break;case "impression":mV("i");b=c.F;if(!b.g.P)throw Error("Session not started.");d=b.g;if(d.j==="definedByJavaScript")throw Error("Creative type has not been redefined");if(d.l==="definedByJavaScript")throw Error("Impression type has not been redefined");d.L=!0;b.g.Ga("impressionOccurred",b.j);break;case "start":mV("ps");c.g.start(c.ad.getDuration(),c.l==null?0:c.l.getVolume());((d=c.l)== null?0:d.we())&&A_(c.g,"fullscreen");break;case "firstQuartile":b=c.g;b.g.Ga("firstQuartile",b.j);break;case "midpoint":b=c.g;b.g.Ga("midpoint",b.j);break;case "thirdQuartile":b=c.g;b.g.Ga("thirdQuartile",b.j);break;case "complete":c.g.complete();L_(c);break;case "pause":c.g.pause();break;case "resume":c.g.resume();break;case "skip":b=c.g;b.g.Ga("skipped",b.j);L_(c);break;case "volumeChange":b=b.getAdData();d=c.g;b=b.volume;UZ("MediaEvents.volumeChange.mediaPlayerVolume",b);d.g.Ga("volumeChange", b,d.j);break;case "click":case "videoClicked":B_(c.g,"click");break;case "fullscreen":A_(c.g,"fullscreen");break;case "exitFullscreen":A_(c.g,"normal");break;case "expand":A_(c.g,"expanded");break;case "collapse":A_(c.g,"collapsed");break;case "acceptInvitation":case "acceptInvitationLinear":B_(c.g,"invitationAccept")}}else b instanceof hV&&(d=void 0,b=b.getError(),mV("e"),(d=c.j)==null||d.error("video",b.toString()),L_(c))}},F_=function(a,b){a.A=b;a.dispatchEvent(new Cu("omidAdSessionAbandoned")); mV("ab");a.A==="notSupported"&&M_(a,a.ad.dd(),"3","notSupported")},H_=function(a,b){b=b===void 0?null:b;if(a.j&&(!b||b==="definedByJavaScript")){b=a.j;a=a.ad.getContentType().startsWith("audio")?"audio":"video";if(a==="definedByJavaScript")throw Error("Creative type cannot be redefined with value definedByJavaScript");if(b.L)throw Error("Impression has already occurred");if(b.B)throw Error("Creative has already loaded");if(b.j&&b.j!=="definedByJavaScript")throw Error("Creative type cannot be redefined"); if(b.j===void 0)throw Error("Native integration is using OMID 1.2 or earlier");b.Ga("setCreativeType",a,b.g);b.j=a}},I_=function(a,b){b=b===void 0?null:b;if(a.j&&(!b||b==="definedByJavaScript")){a=a.j;if(a.L)throw Error("Impression has already occurred");if(a.B)throw Error("Creative has already loaded");if(a.l&&a.l!=="definedByJavaScript")throw Error("Impression type cannot be redefined");if(a.l===void 0)throw Error("Native integration is using OMID 1.2 or earlier");a.Ga("setImpressionType","beginToRender", a.g);a.l="beginToRender"}},G_=function(a){return a.X||a.A!=null};C_.prototype.getAd=function(){return this.ad}; var D_=function(a){for(var b=[],c=a.ad;c!=null;){var d=SW(c),e=[];d=w(d);for(var f=d.next();!f.done;f=d.next())if(f=f.value,f.vd==="omid")if(f.g==null)M_(a,[f],"3","nullUrl");else{var g=new o_(f.g,f.vendor||void 0,f.parameters||void 0,MZ(a.omidAccessModeRules,f.g));b.push(g);e.push(f)}else M_(a,[f],"2");if(d=c.Fb)d.l=e;c=c.ca}return b},M_=function(a,b,c,d){var e=[];b=w(b);for(var f=b.next();!f.done;f=b.next())f=f.value,e=[].concat(x(e),x(f.aa.map(function(g){return sE(g)})));d&&(e=e.map(function(g){g= new P(g);g.g.set("dbg",d);return g.toString()}));hH(a.K,ZX(c,a.U));a.K.report("verificationNotExecuted",e)};C_.prototype.O=function(){fK(this.o);gq(this.o);O.prototype.O.call(this)};var E_=function(a){a=a.map(function(b){return[b.j||"",b.g]});oU.getInstance().report(129,{omData:JSON.stringify(a)});mV("oms")};var N_=null,O_=function(){O.call(this);this.A=!0;this.Fh=new n_("Google1","3.704.0");this.j=[];this.qa=this.B=this.g=null;this.o=new bK(this)};q(O_,O);var P_=function(){N_==null&&(N_=new O_);return N_};O_.prototype.D=function(){this.A=!1;this.dispatchEvent(new Cu("omidUnavailable"));oU.getInstance().report(128,{status:"disabled",reason:"iframeLoadFailed",description:"The OM SDK iframe failed to load. No measurements can be taken."})}; O_.prototype.wl=function(a,b,c,d,e){var f=this;e=e===void 0?{}:e;mV("omo");var g=new C_(a,b,c,e,d);if(!this.A)return M_(g,a.dd(),"3","notEnabled"),null;this.o.Nd(b,["show_ad","start","adError"],function(h){switch(h.type){case "show_ad":Q_(f,g);break;case "start":Q_(f,g);break;case "adError":g.D||M_(g,g.getAd().dd(),"3","A fatal ad error occurred, so no OMID ad session was started.")}});this.o.listen(g,"omidAdSessionAbandoned",function(){R_(!0,g);g.dispose();f.g=null;S_(f)});this.o.listen(g,"omidAdSessionCompleted", function(){R_(!1,g);g.dispose();f.g=null;S_(f)});return g};var Q_=function(a,b){b.Z||G_(b)||a.j.includes(b)||(a.j.push(b),a.g&&(mV("saa"),L_(a.g)),S_(a))},S_=function(a){a.A&&!a.g&&a.j.length!==0&&a.B&&(a.g=a.j.shift(),K_(a.g,a.Fh,a.B))};O_.prototype.l=function(a){this.B=a;S_(this)};var R_=function(a,b){var c={es:a?"abandon":"complete",ai:b.getAd().getAdId(),qy:b.getAd().Hc};a&&b.A!=null&&(c.ar=b.A);oU.getInstance().report(87,c)};function T_(a,b,c){b=b===void 0?window:b;c=c===void 0?function(){}:c;try{return b.localStorage.getItem(a)}catch(d){return c(d),null}}function U_(a,b,c){var d=window;d=d===void 0?window:d;c=c===void 0?function(){}:c;return b.j()?T_(a,d,c):null}function V_(a,b,c,d){c=c===void 0?window:c;d=d===void 0?function(){}:d;try{return c.localStorage.setItem(a,b),!0}catch(e){d(e)}return!1}function W_(a,b,c,d){var e=window;e=e===void 0?window:e;d=d===void 0?function(){}:d;return c.j()?V_(a,b,e,d):!1} function X_(a,b,c){b=b===void 0?window:b;c=c===void 0?function(){}:c;try{b.localStorage.removeItem(a)}catch(d){c(d)}}function Y_(a,b,c){var d=window;d=d===void 0?window:d;c=c===void 0?function(){}:c;b.j()&&X_(a,d,c)};var Z_=function(){};Z_.getInstance=function(){throw Error("Must be overridden");};var $_=function(){this.g=0};q($_,Z_);$_.ve=void 0;$_.getInstance=function(){return $_.ve?$_.ve:$_.ve=new $_};function a0(a,b,c,d){c=c===void 0?null:c;d=d===void 0?{}:d;var e=$_.getInstance();e.g===0&&(e.g=Math.random()<.001?2:1);e.g===2&&(e={},Wg(Object.assign({},(e.c=String(a),e.pc=String(wg()),e.em=c,e.lid=b,e.eids=Yg(BA).g().join(),e),d),"esp"))};var b0=function(){this.cache={}};b0.prototype.get=function(a,b,c){function d(k){a0(6,a,k==null?void 0:k.message);e=!0}if(this.cache[a])return{Va:this.cache[a],success:!0};var e=!1,f="_GESPSK-"+a;b=c?T_(f,window,d):U_(f,b,d);if(e)return{Va:null,success:!1};if(!b)return{Va:null,success:!0};try{var g=dw(b);this.cache[a]=g;return{Va:g,success:!0}}catch(k){var h;a0(5,a,(h=k)==null?void 0:h.message);return{Va:null,success:!1}}}; b0.prototype.set=function(a,b,c){function d(g){a0(7,e,g==null?void 0:g.message)}var e=Xk(a,1),f="_GESPSK-"+e;bw(a);if(c?!V_(f,Am(a),window,d):!W_(f,Am(a),b,d))return!1;this.cache[e]=a;return!0};b0.prototype.remove=function(a,b,c){function d(e){a0(8,a,e==null?void 0:e.message)}c?X_("_GESPSK-"+a,window,d):Y_("_GESPSK-"+a,b,d);delete this.cache[a]};var c0=null;function d0(a,b){a.id=b.id;a.dg=b.dg;a.Qi=b.Qi};d0(e0,{id:1041,dg:{}});function e0(a,b){if(!a.Va)return{};c0||(c0=new b0);c0.set(a.Va,a.Aa,b)&&yj(ak(a.Va,2))!=null&&a0(27,Xk(a.Va,1));return{}};d0(f0,{id:1046,dg:{ce:void 0}});function f0(a){return{ce:a.Jr}};d0(g0,{id:1028,dg:{ce:void 0}});function g0(a){var b=Xk(a.Va,1);var c=ak(a.Va,3);c!=null&&(typeof c==="bigint"?Ci(c)?c=Number(c):(c=Ti(64,c),c=Ci(c)?Number(c):String(c)):c=cj(c)?typeof c==="number"?oj(c):kj(c):void 0);c!=null||a0(35,b);return{ce:a.Va}};d0(h0,{id:1050,dg:{ce:void 0}});function h0(a,b){var c=Xk(a.Va,1);if(a.signal==null)return a0(41,c),cw(a.Va,Zv(111)),{ce:a.Va};if(typeof a.signal!=="string")return a0(21,c),{ce:cw(a.Va,Zv(113))};if(a.signal.length>b)return b={},a0(12,c,null,(b.sl=String(a.signal.length),b)),c=cw(a.Va,Zv(108)),ck(c,2),{ce:a.Va};a.signal.length||a0(20,c);ck(a.Va,10);return{ce:a.Va}};function i0(a){var b="";a.forEach(function(c,d){F(c)||(b+=d+"="+c+"&")});return b.slice(0,-1)}function j0(a){var b=new P(a);if(b.o)return a;b.j?(KB(b,"https"),a=b.toString()):a="https://"+b;return a};function k0(a,b){this.blockSize=-1;this.blockSize=64;this.o=B.Uint8Array?new Uint8Array(this.blockSize):Array(this.blockSize);this.l=this.j=0;this.g=[];this.C=a;this.A=b;this.B=B.Int32Array?new Int32Array(64):Array(64);l0===void 0&&(B.Int32Array?l0=new Int32Array(m0):l0=m0);this.reset()}Va(k0,JB);var n0=[].concat(128,ub(0,63));k0.prototype.reset=function(){this.l=this.j=0;this.g=B.Int32Array?new Int32Array(this.A):pb(this.A)}; var o0=function(a){for(var b=a.o,c=a.B,d=0,e=0;e>>7|d<<25)^(d>>>18|d<<14)^d>>>3)|0)+((c[b-7]|0)+((e>>>17|e<<15)^(e>>>19|e<<13)^e>>>10)|0)|0;b=a.g[0]|0;d=a.g[1]|0;e=a.g[2]|0;for(var f=a.g[3]|0,g=a.g[4]|0,h=a.g[5]|0,k=a.g[6]|0,l=a.g[7]|0,n=0;n<64;n++){var p=((b>>>2|b<<30)^(b>>>13|b<<19)^(b>>>22|b<<10))+(b&d^b&e^d&e)|0,r=(l+((g>>>6|g<<26)^(g>>>11|g<<21)^(g>>>25|g<<7))|0)+(((g&h^ ~g&k)+(l0[n]|0)|0)+(c[n]|0)|0)|0;l=k;k=h;h=g;g=f+r|0;f=e;e=d;d=b;b=r+p|0}a.g[0]=a.g[0]+b|0;a.g[1]=a.g[1]+d|0;a.g[2]=a.g[2]+e|0;a.g[3]=a.g[3]+f|0;a.g[4]=a.g[4]+g|0;a.g[5]=a.g[5]+h|0;a.g[6]=a.g[6]+k|0;a.g[7]=a.g[7]+l|0},p0=function(a,b,c){c===void 0&&(c=b.length);var d=0,e=a.j;if(typeof b==="string")for(;d=f&&f==(f|0)))throw Error("message must be a byte array");a.o[e++]= f;e==a.blockSize&&(o0(a),e=0)}else throw Error("message must be string or array");a.j=e;a.l+=c},q0=function(a){var b=[],c=a.l*8;a.j<56?p0(a,n0,56-a.j):p0(a,n0,a.blockSize-(a.j-56));for(var d=63;d>=56;d--)a.o[d]=c&255,c/=256;o0(a);for(d=c=0;d=0;e-=8)b[c++]=a.g[d]>>e&255;return b},m0=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774, 264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],l0;function r0(){k0.call(this,8,s0)}Va(r0,k0);var s0=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225];var t0=function(){this.g=(typeof document=="undefined"?null:document)||{cookie:""}},v0=function(){var a=u0;if(!B.navigator.cookieEnabled)return!1;if(!a.isEmpty())return!0;a.set("TESTCOOKIESENABLED","1",{Jk:60});if(a.get("TESTCOOKIESENABLED")!=="1")return!1;a.remove("TESTCOOKIESENABLED");return!0};m=t0.prototype; m.set=function(a,b,c){var d=!1;if(typeof c==="object"){var e=c.Gr;d=c.Ir||!1;var f=c.domain||void 0;var g=c.path||void 0;var h=c.Jk}if(/[;=\s]/.test(a))throw Error('Invalid cookie name "'+a+'"');if(/[;\r\n]/.test(b))throw Error('Invalid cookie value "'+b+'"');h===void 0&&(h=-1);this.g.cookie=a+"="+b+(f?";domain="+f:"")+(g?";path="+g:"")+(h<0?"":h==0?";expires="+(new Date(1970,1,1)).toUTCString():";expires="+(new Date(Date.now()+h*1E3)).toUTCString())+(d?";secure":"")+(e!=null?";samesite="+e:"")}; m.get=function(a,b){for(var c=a+"=",d=(this.g.cookie||"").split(";"),e=0,f;e=0;b--)this.remove(a[b])}; var w0=function(a){a=(a.g.cookie||"").split(";");for(var b=[],c=[],d,e,f=0;f0&&b.push(c.map(function(d){return d.Ja?"fluid":d.size.width+"x"+d.size.height}).join("|"))});return b.join(",")}function z0(a,b){var c;a=(c=A0(a,b).get("url"))!=null?c:"";c=new Map;var d=b.N;d==null||/[;\r\n]/.test(d)?b.Xb&&(c.set("eoidce","1"),B0(c,a,b)):c.set("eo_id_str",d);return c} function C0(a,b){var c;a=(c=A0(a,b).get("url"))!=null?c:"";c=new Map;if(!eT.isCookiesEnabled())c.set("co","1");else if(b.fh&&!wT(b.Aa)){var d=b.A,e=d!=null&&!/[;\r\n]/.test(d);e&&c.set("cookie",d);d=b.T;var f=d!=null&&!/[;\r\n]/.test(d);f&&c.set("gpic",d);e&&f||(c.set("cookie_enabled","1"),B0(c,a,b));b=b.Zb;b!=null&&!/[;\r\n]/.test(b)&&c.set("pdopt",b)}return c}function B0(a,b,c){c=c.bd;var d=null;try{d=(new URL(decodeURIComponent(b))).hostname}catch(e){}d!==c&&a.set("cdm",c)} function D0(a,b){var c=new Map,d=b.P;d>0&&c.set("pvsid",d.toString());c.set("correlator",XT.toString());c.set("scor",YT.toString());if(d=ZT.g===null?"":ZT.g.toString())c.set("fbidx",d),ZT.reset();b.G!=null&&c.set("ppid",b.G);b.Kc!=null&&c.set("submodel",b.Kc);b.K!=null&&c.set("cbidsp",b.K);b.X!=null&&c.set("gblpids",b.X);b.ka!=null&&c.set("pied",b.ka);var e=a.adTagUrl||"";d=new Map;var f=b.wb;f!=null?(e=y0(f),d.set("ciu_szs",e)):e=(new P(e)).g.get("ciu_szs","");gT("audioPosterImageEnabled")&&(f=x0.join(","), e=e===""?f:e+","+f);d.set("ciu_szs",e);e=C0(a,b);f=z0(a,b);!wT(b.Aa)&&eW(fE)&&a.l&&c.set("aos",a.l);return new Map([].concat(x(d),x(E0(a,b)),x(e),x(f),x(c)))} function F0(a,b,c){var d=new Map;d.set("correlator",XT.toString());var e=new P(a.adTagUrl),f=e.g;f.get("description_url","")!==""&&(f=f.get("ad_block",""),f=F(f)?c.j.toString():f,d.set("ad_block",f));if(b.length>0&&(f=b[0].getSizes(),f.length>0)){var g;b=(g=f.map(function(k){return k.size.width}).filter(function(k){return k&&k>0})[0])!=null?g:-1;var h;g=(h=f.map(function(k){return k.size.height}).filter(function(k){return k&&k>0})[0])!=null?h:-1;b!==-1&&g!==-1&&(d.set("ca_w",b.toString()),d.set("ca_h", g.toString()))}return new Map([].concat(x(G0(e,a,c)),x(E0(a,c)),x(C0(a,c)),x(z0(a,c)),x(d)))} function E0(a,b){var c=new Map;c.set("sdkv",UT(b));var d=c.set,e=1;EU(b)&&!b.ud&&(e+=4);BU(b)||(e+=1024);!BU(b)&&(e+=64);b.ud&&(e+=2147483648);d.call(c,"sdki",e.toString(16));c.set("ptt",(20).toString());eW(jE)&&c.set("vo",b.kc.toString());b.ta!=null&&c.set("sq",b.ta);b.Da!=null&&c.set("adk",b.Da);d=GU(b);d.length>0&&c.set("sdk_apis",d.join(","));if(DU(b)){var f;d="Google1/"+((f=b.Sd)!=null?f:"h.3.704.0")}else d=null;f=d;f!=null&&c.set("omid_p",f);b.da&&c.set("media_url",b.da);eT.D&&c.set("sid",eT.D); b.secureSignals&&!wT(b.Aa)&&c.set("a3p",b.secureSignals);b.sa&&c.set("htps",(10).toString());c.set("nel",PH()?"1":"0");(f=b.ac)&&c.set("scar",f);b.nh&&c.set("td",(1).toString());f=EG((new P(a.adTagUrl)).g.get("eid",""));F(G(f))||c.set("eid",f);c.set("afvsz",aQ(a));f=(new P(a.adTagUrl)).g.get("ctv","");d={};oU.getInstance().report(197,(d.pctv=f,d));f=new Map;b.F?f.set("attmas",b.F):b.o!=null&&f.set("is_lat",b.o?"1":"0");if(!wT(b.Aa)){e=eT.da;xE(NF)&&e!==null&&(d=new bT,e=el(d,3,e),hl(e,4,eT.Z),d=uh(Am(d)), f.set("psd",d));e=b.deviceId;d=b.Aa;if(d.j){var g=oT(d,"tfcd");g=g==="0"||g==="false"?(0).toString():jT(g)?(1).toString():""}else g="";(g=g===(1).toString())||(d.j?(d=oT(d,"tfua"),d=d==="0"||d==="false"?(0).toString():jT(d)?(1).toString():""):d="",g=d===(1).toString());d=e&&e!=="00000000-0000-0000-0000-000000000000"&&!g;b.C&&f.set("idtype",b.C);e&&!g&&f.set("rdid",e);if((e=b.Wk)&&!d){f.set("paid",e);if(e=b.sc)g=new r0,p0(g,nh(e)),g=oh(q0(g)).substring(0,32).toUpperCase(),g=g.length===32?[g.substring(0, 8),g.substring(8,12),g.substring(12,16),g.substring(16,20),g.substring(20)].join("-"):void 0,g&&f.set("vid1",g);g=b.al;var h=!b.ql;g&&(f.set("paid2",g),f.set("paopt",h?"1":"0"),e&&(g=new r0,p0(g,nh(e)),e=oh(q0(g)).substring(32).toUpperCase(),e=e.length===32?[e.substring(0,8),e.substring(8,12),e.substring(12,16),e.substring(16,20),e.substring(20)].join("-"):void 0,e&&f.set("vid2",e)))}e=b.Wa;g=b.ub;e&&g&&!d&&(f.set("pvid",e),f.set("pvid_s",""+g))}d=new Map;e=b.Z;g=(document.visibilityState||"")=== "visible";g!=null&&d.set("vis",g?"1":"2");e!==-1&&d.set("frm",e.toString());zU()&&(e=2,g=C&&rp(C).hc?!1:Xf($g().j),!BU(b)&&g&&(e|=2048),d.set("osd",e.toString()));e=b.ha;e!=null&&d.set("ms",e);d.set("sdr","1");d.set("unviewed_position_start","1");d.set("is_amp",b.Pf?"1":"0");(e=PI())&&d.set("hl",e);(e=b.de)&&d.set("uach",e);e=new Map;g=b.Sd;g!=null&&e.set("js","ima-"+g);g=b.appName;g!=null&&(e.set("an",g),b.yc==="android"&&e.set("msid",g));g=b.Qk;g!=null&&e.set("mv",g+"."+(b.Dh||""));g=a.linearAdSlotWidth; h=a.linearAdSlotHeight;e.set("u_so",g==null||h==null?"l":h>g?"p":"l");e.set("ctv",String(HU(b)));g=new Map;F(eT.getPlayerType())||(g.set("mpt",eT.getPlayerType()),F(eT.getPlayerVersion())||g.set("mpv",eT.getPlayerVersion()));h=new Map;FU(b)||h.set("wta","0");if(a instanceof lG&&a.C&&a.adTagUrl!==null){var k=a.adTagUrl;var l=uT(b.Aa);k=iT(k);for(var n=w(hT),p=n.next();!p.done;p=n.next())p=p.value,k[p]==="redundant"&&l.set(p,"redundant")}else l=uT(b.Aa);k=Map;n=[];p=n.concat;h=x(h);var r=new Map;wT(b.Aa)|| (F(eT.o)||r.set("adsid",eT.o),F(eT.G)||r.set("pucrd",eT.G),F(eT.F)||r.set("jar",eT.F));h=new k(p.call(n,h,x(r),x(l)));l=new Map;k=b.Vb;(n=b.El)&&k&&k>0&&n>k&&(l.set("dlt",k.toString()),l.set("idt",(n-k).toString()));l.set("dt",Ao().toString());a=A0(a,b);b=b.xl||{};return new Map([].concat(x(f),x(d),x(e),x(g),x(b),x(h),x(c),x(a),x(l)))} function G0(a,b,c){var d=new Map,e=dQ(a);EU(c)||(e=cQ(e));e.some(function(f){return bQ(f)})&&b.nonLinearAdSlotWidth!=null&&b.nonLinearAdSlotHeight!=null&&(b=aQ(b),d.set("image_size",b),F(b)&&(e=e.filter(function(f){return!bQ(f)})));d.set("ad_type",e.join("_"));b=e.some(function(f){return f==="text"});d.set("num_ads",b?"3":"1");a=FG(a,"t_pyv");F(a)&&(a=b?"allow":"exclude");d.set("t_pyv",a);e.some(function(f){return f==="bumpervideo"||f==="skippablevideo"||f==="standardvideo"||f==="video"})&&(e=Vc("Chromium")>= 6||Vc("Firefox")>=4||Zd&&OI(NI,2.3)?43:18,d.set("video_format",e.toString()));return d} function A0(a,b){var c,d=(c=a.adTagUrl)!=null?c:"";c=new P(d);var e;a=(e=a.pageUrl)!=null?e:"";var f;e=(f=XB(c,"url"))!=null?f:"";f=KI(a)?a:e;c=H0(c);c=KI(f)?f:c;c=new P(c);e=new P(b.ba);a=new P(b.g);d="unknown";YB(a,e)?d="flat":YB(c,e)?d="bottom":YB(c,a)&&(d="top");oU.getInstance().report(160,{contentLocation:d});c=new Map;e=b.referrer;F(G(e))||c.set("ref",e);if(KI(f)){c.set("url",f);var g;c.set("top",(g=b.g)!=null?g:"");c.set("loc",b.ba)}else g=c.set,b=b.g&&KI(b.g)?b.g:b.referrer&&KI(b.referrer)? b.referrer:"null",g.call(c,"url",b);return c}function H0(a){var b="";["video_url_to_fetch","description_url","durl"].find(function(c){c=XB(a,c)||"";return KI(c)?(b=c,!0):!1});return b}function I0(a){return a?xG(a)?(a=new P(a),a.g.remove("ctv"),a.toString()):a:null};function J0(){this.g=[];this.j=[]}var K0=function(a){a.g.length===0&&(a.g=a.j,a.g.reverse(),a.j=[])},L0=function(a,b){a.j.push(b)};m=J0.prototype;m.isEmpty=function(){return this.g.length===0&&this.j.length===0};m.clear=function(){this.g=[];this.j=[]};m.contains=function(a){return jb(this.g,a)||jb(this.j,a)}; m.remove=function(a){var b=this.g;b:{var c=b.length-1;c<0&&(c=Math.max(0,b.length+c));if(typeof b==="string")c=typeof a!=="string"||a.length!=1?-1:b.lastIndexOf(a,c);else{for(;c>=0;c--)if(c in b&&b[c]===a)break b;c=-1}}c>=0?(lb(b,c),b=!0):b=!1;return b||kb(this.j,a)};m.Of=function(){for(var a=[],b=this.g.length-1;b>=0;--b)a.push(this.g[b]);b=this.j.length;for(var c=0;c=4294967296)throw new Z("Number has to be unsigned 32-bit integer.");for(var d=Array(4),e=0;e<4;e++)d[e]=255&a>>8*(4-e-1);b=c.call(b,d);return new Uint8Array(b)},V1=new Uint8Array(0);var W1=function(a,b,c){this.l=a;this.g=b;this.j=c};W1.prototype.dc=function(){return this.l};var X1=function(a){this.l=a;this.j=null;this.g=new Map};X1.prototype.pb=function(){return this.l};var Z1=function(a,b){return(a=Y1(a,b))?a:[]},Y1=function(a,b){b instanceof Uint8Array&&(b=[].concat(x(b)).toString());return a.g.get(b)};/* Copyright 2022 Google LLC SPDX-License-Identifier: Apache-2.0 */ function $1(a){return a==null?void 0:new Uint8Array(Kh(a)||0)}function a2(a){a==null?a=void 0:a=(a=Kh(a))?a.length:0;return a};function b2(){for(var a=0,b=0;bNumber.MAX_SAFE_INTEGER)throw new Z("cannot convert number larger than "+Number.MAX_SAFE_INTEGER);var b=a%4294967296;a/=4294967296;for(var c=new Uint8Array(8),d=7;d>=4;d--)c[d]=b&255,b>>>=8;for(b=3;b>=0;b--)c[b]=a&255,a>>>=8;return c}function d2(a){for(var b="",c=0;c1?d:"0"+d}return b} function e2(a){a=a.replace(/-/g,"+").replace(/_/g,"/");return f2(globalThis.atob(a))}function g2(a){for(var b="",c=0;ca&&(c=c.slice(c.length-a,c.length));b.length>a&&(b=b.slice(b.length-a,b.length));d=new Uint8Array(2* a);d.set(c,0);d.set(b,a);return d;case 2:b=c.x;d=c.y;if(b===void 0)throw new Z("x must be provided");if(d===void 0)throw new Z("y must be provided");c=e2(b);b=e2(d);c.length>a&&(c=c.slice(c.length-a,c.length));b.length>a&&(b=b.slice(b.length-a,b.length));d=new Uint8Array(1+a);d.set(c,1+a-c.length);d[0]=l2(BigInt("0x"+d2(b)),0)?3:2;return d;default:throw new Y("invalid format");}} function m2(a){switch(a){case 1:return BigInt("115792089210356248762697446949407573530086143415290314195533631308867097853951");case 2:return BigInt("39402006196394479212279040100143613805079739270465446667948293404245721771496870329047266088258938001861606973112319");case 3:return BigInt("6864797660130609714981900799081393217269435300143305409394463459185543183397656052122559640661454554977296311391480858037121987999716643812574028291115057151");default:throw new Z("invalid curve");}} function n2(a){a=a.toString(16);a=a.length%2===0?a:"0"+a;if(a.length%2!=0)throw new Z("Hex string length must be multiple of 2");for(var b=new Uint8Array(a.length/2),c=0;c=d)throw new Y("x is out of range");d=m2(i2(a));var e=d-BigInt(3);a:switch(i2(a)){case 1:var f=BigInt("0x5ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b");break a;case 2:f=BigInt("0xb3312fa7e23ee7e4988e056be3f82d19181d9c6efe8141120314088f5013875ac656398d8a2ed19d2a85c8edd3ec2aef");break a;case 3:f=BigInt("0x051953eb9618e1c9a1f929a21a0b68540eea2da725b99b315f3b8b489918ef109e156193951ec7e937b1652c0bd3bb1bf073573df883d2c34f1ef451fd46b503f00"); break a;default:throw new Z("invalid curve");}if(d<=BigInt(0))throw new Z("p must be positive");e=((c*c+e)*c+f)%d%d;if(l2(d,0)&&l2(d,1)){var g=d+BigInt(1)>>BigInt(2);if(g===BigInt(0))f=BigInt(1);else{f=e;g=g.toString(2);for(var h=1;hb){for(var d=0;db)throw new Y("Version is out of bound, must be between 0 and "+b+".");};var N2=function(a,b){this.key=a;this.Md=b};N2.prototype.encrypt=function(a){var b=this,c,d,e,f;return z(function(g){if(g.g==1)return L2(a),c=F2(b.Md),d=new Uint8Array(16),d.set(c),e={name:"AES-CTR",counter:d,length:128},y(g,globalThis.crypto.subtle.encrypt(e,b.key,a),2);f=g.j;return g.return(b2(c,new Uint8Array(f)))})}; N2.prototype.decrypt=function(a){var b=this,c,d,e;return z(function(f){if(f.g==1){L2(a);if(a.length16)throw new Y("invalid IV length, must be at least 12 and at most 16");L2(a);K2(a.length);return y(d,globalThis.crypto.subtle.importKey("raw",a,{name:"AES-CTR",length:a.length},!1,["encrypt","decrypt"]),2)}c=d.j;return d.return(new N2(c,b))})};var P2=function(){};var Q2=function(a,b,c){this.hash=a;this.key=b;this.be=c};q(Q2,P2);var R2=function(a,b){var c;return z(function(d){if(d.g==1)return L2(b),y(d,globalThis.crypto.subtle.sign({name:"HMAC",hash:{name:a.hash}},a.key,b),2);c=d.j;return d.return(new Uint8Array(c.slice(0,a.be)))})},S2=function(a,b,c){var d;return z(function(e){if(e.g==1)return L2(b),L2(c),y(e,R2(a,c),2);d=e.j;if(b.length!==d.length)var f=!1;else{for(var g=f=0;g20)throw new Z("tag too long, must not be larger than 20 bytes");break;case "SHA-256":if(c>32)throw new Z("tag too long, must not be larger than 32 bytes");break;case "SHA-384":if(c>48)throw new Z("tag too long, must not be larger than 48 bytes");break; case "SHA-512":if(c>64)throw new Z("tag too long, must not be larger than 64 bytes");break;default:throw new Z(a+" is not supported");}return y(e,globalThis.crypto.subtle.importKey("raw",b,{name:"HMAC",hash:{name:a},length:b.length*8},!1,["sign","verify"]),2)}d=e.j;return e.return(new Q2(a,d,c))})};var U2=function(a,b,c,d){this.g=a;this.Md=b;this.j=c;this.be=d};q(U2,I2);U2.prototype.encrypt=function(a,b){b=b===void 0?new Uint8Array(0):b;var c=this,d,e,f;return z(function(g){if(g.g==1)return L2(a),y(g,c.g.encrypt(a),2);if(g.g!=3)return d=g.j,L2(b),e=c2(b.length*8),y(g,R2(c.j,b2(b,d,e)),3);f=g.j;if(c.be!=f.length)throw new Y("invalid tag size, expected "+c.be+" but got "+f.length);return g.return(b2(d,f))})}; U2.prototype.decrypt=function(a,b){b=b===void 0?new Uint8Array(0):b;var c=this,d,e,f,g,h;return z(function(k){if(k.g==1){L2(a);if(a.length16)throw new Y("Invalid AES CTR HMAC key format: IV size is out of range: "+c);return{Wm:a,Cg:b,Md:c}},Y2=function(a){if(!a)throw new Y("Invalid AES CTR HMAC key format: key format undefined");var b=Sk(a,2);if(b<16)throw new Y("Invalid AES CTR HMAC key format: HMAC key is too small: "+ Sk(a,2));a=I(a,O0,1);if(!a)throw new Y("Invalid AES CTR HMAC key format: params undefined");var c=Sk(a,2);if(c<10)throw new Y("Invalid HMAC params: tag size "+c+" is too small.");if(!Z2.has(Vk(a,1)))throw new Y("Unknown hash type.");if(c>Z2.get(Vk(a,1)))throw new Y("Invalid HMAC params: tag size "+c+" is out of range.");switch(Vk(a,1)){case 1:var d="SHA-1";break;case 3:d="SHA-256";break;case 4:d="SHA-512";break;default:d="UNKNOWN HASH"}return{Wn:a,Vn:b,Tn:d,be:c}},Z2=new Map([[1,20],[3,32],[4,64]]), $2=function(){this.g=new W2};m=$2.prototype; m.dc=function(a,b){var c,d,e,f,g,h=this,k,l,n,p,r,t;return z(function(u){if(u.g==1){if(a!=h.pb())throw new Y("Requested primitive type which is not supported by this key manager.");if(b instanceof L1){if(!h.Se(J(b,1)))throw new Y("Key type "+J(b,1)+" is not supported. This key manager supports "+h.yb()+".");try{k=W0(b.getValue())}catch(D){throw new Y("Could not parse the key in key data as a serialized proto of type.googleapis.com/google.crypto.tink.AesCtrHmacAeadKey");}if(k===null||k===void 0)throw new Y("Could not parse the key in key data as a serialized proto of type.googleapis.com/google.crypto.tink.AesCtrHmacAeadKey"); }else if(b instanceof Q0)k=b;else throw new Y("Given key type is not supported. This key manager supports "+h.yb()+".");var A=I(k,N0,2);if(!A)throw new Y("Invalid AES CTR HMAC key format: key undefined");M2(A.getVersion(),h.getVersion());var v=new X0;var E=I(A,M0,2);v=Mk(v,1,E);E=a2(zk(A,3));v=bl(v,2,E);v=X2(v).Md;f=$1(zk(A,3));g=v;l=f;n=g;A=I(k,P0,3);if(!A)throw new Y("Invalid AES CTR HMAC key format: key undefined");M2(A.getVersion(),h.getVersion());v=new Y0;E=I(A,O0,2);v=Mk(v,1,E);E=a2(zk(A,3)); v=bl(v,2,E);E=Y2(v);v=E.Tn;E=E.be;c=$1(zk(A,3));d=v;e=E;p=c;r=d;t=e;return y(u,V2(l,n,r,p,t),2)}return u.return(u.j)})};m.Se=function(a){return a===this.yb()};m.yb=function(){return"type.googleapis.com/google.crypto.tink.AesCtrHmacAeadKey"};m.pb=function(){return I2};m.getVersion=function(){return 0};m.Ue=function(){return this.g};var a3=function(a){var b=a.key;a=a.qd;this.key=b;this.qd=a};a3.prototype.encrypt=function(a,b,c){var d=this,e,f;return z(function(g){if(g.g==1){if(a.length!==12)throw new Y("IV must be 12 bytes");e={name:"AES-GCM",iv:a,tagLength:128};c&&(e.additionalData=c);return y(g,globalThis.crypto.subtle.encrypt(e,d.key,b),2)}f=g.j;return g.return(d.qd?b2(a,new Uint8Array(f)):new Uint8Array(f))})}; a3.prototype.decrypt=function(a,b,c){var d=this,e,f,g,h,k;return z(function(l){if(l.g==1){e=d.qd?28:16;if(b.length5)){k.g=2;break}d=a.subarray(0,5);return y(k,Z1(c.g,d),3);case 3:return e=k.j,f=a.subarray(5,a.length),k.l=4,y(k,i3(e,f,b),6);case 6:g=k.j;k.g=5;k.l=0;break;case 4:xa(k);case 5:if(g)return k.return(g);case 2:return y(k,Z1(c.g,V1),7);case 7:return h=k.j,k.return(i3(h,a,b))}})}; var i3=function(a,b,c){var d,e,f,g;return z(function(h){switch(h.g){case 1:d=a.length,e=0;case 2:if(!(e5100)throw new Z("size too large");break;case "SHA-256":f=32;if(a>8160)throw new Z("size too large");break;case "SHA-512":f=64;if(a>16320)throw new Z("size too large");break;default:throw new Z(b+" is not supported");}L2(c);L2(d);g=e;if(e==null||g===void 0||g.length==0)g=new Uint8Array(f); L2(g);return y(u,T2(b,g,f),2);case 2:return h=u.j,y(u,R2(h,c),3);case 3:return k=u.j,y(u,T2(b,k,f),4);case 4:h=u.j,l=1,n=0,p=new Uint8Array(0),r=new Uint8Array(a);case 5:return t=new Uint8Array(p.length+d.length+1),t.set(p,0),t.set(d,p.length),t[t.length-1]=l,y(u,R2(h,t),8);case 8:p=u.j;if(n+p.length>8*(a-d-1)&255;return c}function L3(a){var b=a.Kd;var c=a.Jd;return b2(K3,a.Mb,f2(b),c)}function M3(a){var b=a.ue;var c=a.info;var d=a.Mb;return b2(E3(2,a.length),K3,d,f2(b),c)}function N3(a){switch(a){case 2:return 1;case 4:return 3;default:throw new Z("Unrecognized NIST HPKE KEM identifier");}} function O3(a,b){var c;return z(function(d){return d.g==1?(c=o2(a,1,b),y(d,s2(c),2)):d.return(d.j)})}function eaa(a){var b=a.Ei;var c=a.publicKey;var d=a.privateKey;var e;return z(function(f){return f.g==1?(e=o2(b,1,c),e.d=g2(d),y(f,t2(e),2)):f.return(f.j)})}function P3(a){var b,c;return z(function(d){if(d.g==1)return b=a.algorithm,y(d,r2(a),2);c=d.j;if(!c.crv)throw new Y("Curve has to be defined.");return d.return(j2(b.namedCurve,1,c))})};var Q3=function(a,b,c,d){this.Oi=a;this.key=b;this.l=c;this.j=d;this.g=BigInt(0);this.o=(BigInt(1)<>BigInt(8*(12-d-1)))&255;b=a.l;if(b.length!==c.length)throw new Z("Both byte arrays should be of the same length");d=new Uint8Array(b.length);for(var e=0;e=a.o)throw new Y("message limit reached");a.g+=BigInt(1);return d}; function S3(a,b,c,d,e,f){var g,h,k,l,n,p,r,t,u;return z(function(A){switch(A.g){case 1:a:{switch(e.mh){case 16:var v=aaa;break a;case 32:v=baa;break a}v=void 0}a:{switch(d.bh){case "SHA-256":var E=I3;break a;case "SHA-512":E=J3;break a}E=void 0}g=b2(daa,T3(c),E,v);h=U3(d,{Jd:new Uint8Array(0),Kd:"psk_id_hash",Mb:g});return y(A,U3(d,{Jd:f,Kd:"info_hash",Mb:g}),2);case 2:return k=A.j,y(A,h,3);case 3:return l=A.j,n=b2(F3,l,k),y(A,U3(d,{Jd:new Uint8Array(0),Kd:"secret",Mb:g,salt:b}),4);case 4:return p= A.j,r=V3(d,{Uk:p,info:n,ue:"key",Mb:g,length:e.mh}),y(A,V3(d,{Uk:p,info:n,ue:"base_nonce",Mb:g,length:12}),5);case 5:return t=A.j,y(A,r,6);case 6:return u=A.j,A.return(new Q3(a,u,t,e))}})}function faa(a,b,c,d,e){var f,g,h;return z(function(k){return k.g==1?y(k,b.Ni(a),2):k.g!=3?(f=k.j,g=f.Oi,h=f.To,y(k,S3(g,h,b,c,d,e),3)):k.return(k.j)})}function gaa(a,b,c,d,e,f){var g;return z(function(h){return h.g==1?y(h,c.Fi(a,b),2):h.g!=3?(g=h.j,y(h,S3(a,g,c,d,e,f),3)):h.return(h.j)})};var W3=function(a,b){this.privateKey=a;this.publicKey=b},X3=function(a){return z(function(b){return b.g==1?y(b,P3(a.publicKey),2):b.return(b.j)})}; function haa(a){var b=a.privateKey;var c=a.publicKey;var d=a.Ei;var e,f;return z(function(g){if(g.g==1){if(!b)throw new Z("KEM private key was null or undefined");if(!c)throw new Z("KEM public key was null or undefined");return y(g,O3(h2(d),c),2)}if(g.g!=3)return e=g.j,y(g,eaa({Ei:h2(d),publicKey:c,privateKey:b}),3);f=g.j;return g.return(new W3(f,e))})}function iaa(a){return z(function(b){Y3(a.privateKey,"private");Y3(a.publicKey,"public");return b.return(new W3(a.privateKey,a.publicKey))})} function Y3(a,b){if(b!==a.type)throw new Z("keyPair "+b+" key was of type "+a.type);a=a.algorithm;if("ECDH"!==a.name)throw new Z("keyPair "+b+" key should be ECDH but found "+a.name);};var Z3=function(a){this.mh=a};Z3.prototype.seal=function(a){var b=a.key;var c=a.nonce;var d=a.Io;var e=a.oi;var f=this,g;return z(function(h){if(h.g==1){if(b.length!==f.mh)throw new Y("Unexpected key length: "+b.length.toString());return y(h,b3({key:b,qd:!1}),2)}return h.g!=3?(g=h.j,y(h,g.encrypt(c,d,e),3)):h.return(h.j)})}; Z3.prototype.open=function(a){var b=a.key;var c=a.nonce;var d=a.hn;var e=a.oi;var f=this,g;return z(function(h){if(h.g==1){if(b.length!==f.mh)throw new Y("Unexpected key length: "+b.length.toString());return y(h,b3({key:b,qd:!1}),2)}g=h.j;return h.return(g.decrypt(c,d,e))})};var $3=function(a){this.bh=a},U3=function(a,b){var c=b.Jd;var d=b.Kd;var e=b.Mb;var f=b.salt;return z(function(g){return g.g==1?y(g,a4(a,L3({Kd:d,Jd:c,Mb:e}),f),2):g.return(g.j)})},V3=function(a,b){var c=b.Uk;var d=b.info;var e=b.ue;var f=b.Mb;var g=b.length;return z(function(h){return h.g==1?y(h,a.expand(c,M3({ue:e,info:d,Mb:f,length:g}),g),2):h.return(h.j)})},jaa=function(a,b){var c=b.Jd;var d=b.Kd;var e=b.info;var f=b.ue;var g=b.Mb;var h=b.length;var k=b.salt;var l;return z(function(n){return n.g== 1?y(n,a4(a,L3({Kd:d,Jd:c,Mb:g}),k),2):n.g!=3?(l=n.j,y(n,a.expand(l,M3({ue:f,info:e,Mb:g,length:h}),h),3)):n.return(n.j)})}; $3.prototype.expand=function(a,b,c){var d=this,e,f,g,h,k,l,n;return z(function(p){switch(p.g){case 1:if(!Number.isInteger(c))throw new Y("length must be an integer");if(c<=0)throw new Y("length must be positive");e=b4(d);if(c>255*e)throw new Y("length too large");L2(b);return y(p,T2(d.bh,a,e),2);case 2:f=p.j,g=1,h=0,k=new Uint8Array(0),l=new Uint8Array(c);case 3:return n=new Uint8Array(k.length+b.length+1),n.set(k,0),n.set(b,k.length),n[n.length-1]=g,y(p,R2(f,n),6);case 6:k=p.j;if(h+k.length25)a.A=!0},touchend:function(b){return void taa(a,b)}},Gb(a.G,function(b,c){a.g.addEventListener(c,b,!1)})):a.K.listen(a.g,"click",a.Z)},B4=function(a){a.K.xa(a.g,"click",a.Z);Gb(a.G,function(b,c){this.g.removeEventListener(c,b,!1)},a);a.G={}},taa=function(a,b){!a.D||a.j!==1||a.A||a.N||a.B||!C4(a,b.changedTouches)||(a.l=window.setTimeout(function(){return void D4(a)},300));a.j=b.touches.length;a.j===0&&(a.D=!1,a.A=!1,a.o=[]);a.N=!1};A4.prototype.Z=function(){D4(this)}; var C4=function(a,b){for(var c=0;cc||a.getDuration()===0;a.j&&(d.F=SQ(a.j)||"");c=fT();ZS(c,"disableSkipFadeTransition")&&(d.Wh=0); c=RW(a);if(I4(c)){var l;c=((l=pW(a).get("GpidWtaExtension"))!=null?l:[])[0];d.L=c==null?void 0:c.j}if(a=(pW(a).get("watermark")||[]).pop())d.D={eg:a.eg};return d}function I4(a){return a.some(function(b){return b.Lb==="GoogleWhyThisAd"})}function zaa(a){a.forEach(function(b){if(b.Lb==="GoogleWhyThisAd"||b.Lb==="AdChoices")b.Nb="left",b.Ob="top",b.j=20,b.g=20})} function Aaa(a,b){var c=46;b&&(c=Math.ceil(Math.sqrt(b.width*b.height*.001)));a.forEach(function(d){d.Lb==="GoogleWhyThisAd"&&(d.j=0};var J4=function(a){O.call(this);this.H=a;this.qa=this.j=this.g=null};q(J4,O);J4.prototype.l=function(){this.j=window.performance?window.performance.now():null};J4.prototype.o=function(){if(this.j!==null){var a=performance.now()-this.j;oU.getInstance().report(175,{latency:a});this.j=null}};var K4=function(a,b){Cu.call(this,"vpaidEvent");this.l=a;this.g=b};q(K4,Cu);function L4(a){var b=a instanceof hW?a.j:a;if(a instanceof hW){if(OW(a)||lW(a))return!1;for(var c=!1;a!=null;){var d=oW(a,"uiSettings");if(d!=null)if(d.j)a.ca==null&&(c=!0);else return!1;a=a.ca}if(!c)return!1}return!(CQ(b)!=null||BQ(b)!=null)&&!(b instanceof LH&&LQ(b))};var M4=function(){nO.apply(this,arguments)};q(M4,nO);var Baa=function(a){var b=a.Mk;a=a.margin;var c='
';b=Math.max(0,Math.ceil(b-0));for(var d=0;d
';return QC(c+"
")},Caa=function(){return QC('
')};var N4=function(){lP.call(this);this.element=vD(Caa);this.j=Ke("fullSlotContentContainer",this.element);this.l=Ke("fullSlotBottomBar",this.element)};q(N4,nP);var O4=function(a,b){a.l&&b.element&&a.l.appendChild(b.element)},Daa=function(a,b){a.j&&b.element&&a.j.appendChild(b.element)};var P4=function(a,b,c,d,e,f,g){M4.call(this,b);this.l=a;this.na=c;this.uiConfig=d;this.za=e;this.A=f;this.C=g;this.o=[];this.g=0;this.view=new N4;this.j=new bK(this)};q(P4,M4);m=P4.prototype; m.build=function(){var a=this;oP(this.view,this.na);this.l.forEach(function(d,e){d=oY(d,a.uiConfig);a.o.push(d);var f=OP(d);f!=null&&a.j.listen(f,"click",function(g){g.stopPropagation();jL(a.I,aM,null)});new yO(d,a.I,tM);a.j.listen(d,"click",function(){a.g=e});Daa(a.view,d)});if(this.A){var b=new TP({cg:!0,Ph:!0,Qc:gT("promoskip")});O4(this.view,b);b=new NO(b,this.I,5);N(this,b);b=new sP;O4(this.view,b);new JO(b,this.I);b=new pP;new sO(b,this.I,aM);b.l(this.za);O4(this.view,b);b.show();if(this.C){var c= new UP(!0);new sO(c,this.I,EM);mP(b,c)}}ZN(this.view.element,.3).play();jL(this.I,vM,null)};m.O=function(){Xe(this.view.va());M4.prototype.O.call(this)};m.fe=function(){return this.view.j};m.show=function(){};m.fa=function(){};m.re=function(){return this.l[this.g]};m.Mf=function(){return this.o[this.g]};var Q4=function(a,b){lP.call(this);var c=this;this.D=b;this.l=this.o=null;this.B=!1;this.element=vD(Baa,{Mk:a,margin:(57-10*a)/a});this.j=Ke("innerContainer",this.element);this.A=Array.from((this.element||document).querySelectorAll(".overlaySelector"));this.A.forEach(function(d,e){c.g.listen(d,"click",function(f){c.select(e);f.stopPropagation()})});this.select(0);this.g.listen(this.element,"mouseover",function(){c.dispatchEvent("mouseover")});this.g.listen(this.element,"mouseout",function(){c.dispatchEvent("mouseout")})}; q(Q4,nP);Q4.prototype.De=function(a){this.B=a;this.l&&this.l.De(a)};Q4.prototype.select=function(a){this.o!=null&&sC(this.A[this.o],"active");qC(this.A[a],"active");this.o=a;this.D(a)};var Eaa=function(a,b){if(a.l){var c;(c=a.j)==null||c.removeChild(a.l.va());a.g.xa(b,"click")}a.l=b;a.l.De(a.B);var d;(d=a.j)==null||d.appendChild(b.element);a.g.listen(b,"click",function(e){a.dispatchEvent(e);e.stopPropagation()})};m=Q4.prototype;m.hl=function(a){WN(this.j,"opacity "+a/1E3+"s")}; m.show=function(){Of(this.j,!0)};m.fa=function(){Of(this.j,!1)};m.Oj=function(){Nf(this.j,1)};m.vk=function(){Nf(this.j,.3)};var R4=function(a,b,c,d){M4.call(this,b);var e=this;this.C=a;this.na=c;this.uiConfig=d;this.l=[];this.g=null;this.j=-1;this.A=new bK(this);this.o=new Ev(15E3);this.view=new Q4(a.length,function(f){e.select(f)})};q(R4,M4);m=R4.prototype; m.build=function(){var a=this;oP(this.view,this.na);new BO(this.view,this.I,!1);new yO(this.view,this.I,tM);this.l=this.C.map(function(b){var c=oY(b,a.uiConfig),d=OP(c);d!=null&&a.A.listen(d,"click",function(e){e.stopPropagation();jL(a.I,aM,null)});d=new DP;new vO(d,a.I,iM);mP(c,d);b.Gc&&(b=new UP(!0),new sO(b,a.I,EM),mP(c,b));return c});this.select(0);this.g=new SP;new KO(this.g,this.I,iM);mP(this.view,this.g);iL(this.I,iM,function(){return void a.stop()});iL(this.I,zM,function(){return void a.play()}); this.A.listen(this.o,"tick",this.km);this.play()};m.O=function(){Xe(this.view.va());M4.prototype.O.call(this)};m.play=function(){this.o.start()};m.stop=function(){this.o.stop()};m.km=function(){this.view.select((this.j+1)%this.l.length)};m.select=function(a){a!==this.j&&this.l[a]&&(Eaa(this.view,this.l[a]),this.j=a,jL(this.I,vM,null))};m.fe=function(){var a=this.Mf();return a?a.va():null};m.Mf=function(){return this.l[this.j]};m.show=function(){this.view&&this.view.show();this.g&&this.g.fa()}; m.fa=function(){this.view&&this.view.fa();this.g&&this.g.show()};m.re=function(){return this.C[this.j]};var Faa=function(a){this.I=a},Gaa=function(a){return a.some(function(b){if(!b.B)return!1;b=b.A;return b!=null&&b.style.display!="none"?(b.focus(),!0):!1})},Haa=function(a,b){var c=Pe().screen;if(c){var d=c.availWidth||c.width,e=c.availHeight||c.height,f=new fe(0,e),g=Number.MAX_VALUE,h=null;b.forEach(function(k,l){l=a[l];if(l.B){var n=new fe(Od(EH(k,d)),Od(FH(k,e)));k=f.x-n.x;n=f.y-n.y;k=Math.sqrt(k*k+n*n);g>k&&(h=l,g=k)}});h!=null&&(b=h.va(),b!=null&&b.focus())}};var S4=function(a,b,c,d){oO.call(this,b);var e=this;this.A=d;this.j=new hL;new RO(a,this.j,c,!1);iL(this.j,CM,function(){e.A.show()});pO(this,oN,this.l,this)};q(S4,oO);S4.prototype.l=function(a){jL(this.j,oN,a)};var T4=function(a,b){oO.call(this,b);var c=this;this.view=a;N(this,this.view);this.g.listen(this.view.j,"wtaClicked",function(d){d=d.detail;d.underlyingEvent.preventDefault();qO(c,XL,d.wtaUrl)});this.g.listen(this.view.j,"learnMoreClicked",function(d){d=d.detail;d.underlyingEvent.preventDefault();qO(c,XL,d.learnMoreUrl)});this.g.listen(this.view.j,"updateGpid",function(d){d=d.detail;qO(c,YL,new ZL(d.gpidType,d.gpidPersonalizationEnabled,d.gpidShouldResetAdsData))});this.g.listen(this.view.j,"p-control-panel-hidden", function(){return void qO(c,WL,null)});pO(this,GM,function(d){d||c.fa()},this)};q(T4,oO);T4.prototype.show=function(){this.view.show();qO(this,VL,null)};T4.prototype.fa=function(){this.view.fa()};var U4=function(a){lP.call(this);this.element=Se(document,"div");this.element!==null&&(this.element.id="ima_"+a)};q(U4,lP);var Iaa=function(){return QC('')};var V4=function(a){lP.call(this);var b=this;this.o=this.l=!1;this.element=vD(Iaa);var c;(c=I(a,ek,1))!=null&&dl(c,40,"https://support.google.com/ads/answer/10923348");if(!a)throw Error("bad attrdata");c=new tC(a);this.j=new RD(a,c);this.g.listen(this.j,"p-control-panel-hidden",function(){b.l=!1})};q(V4,nP);V4.prototype.show=function(){this.l||(this.o||(this.j.render(),this.o=!0),this.j.expand(),this.l=!0)};V4.prototype.fa=function(){this.l&&(this.j.collapse(),this.l=!1)};var W4=function(a,b,c,d,e,f,g){f=f===void 0?!1:f;nO.call(this,b);var h=this;this.g=a;this.na=c;this.o=d;this.G=e;this.j=f;this.da=g;this.D=this.B=!1;this.A=[];this.C=!1;this.l=null;this.view=new tP([this.g.F],this.g.A?"videoAdUiTopBar-gvn":"videoAdUiTopBarWithGradients",!this.g.g,this.j);yP(this.view,!this.j&&(!QI()||!1));this.F=new bK(this);N(this,this.F);document.addEventListener("click",function(k){var l=h.view.va().getBoundingClientRect();l.bottomk.clientY|| l.left>k.clientX||(U(T.getInstance(),"ctie",k.target instanceof Element?"1":"0"),T.getInstance().recordClick("clk",k.clientX-l.left,k.clientY-l.top,k.target instanceof Element?k.target:void 0),T.getInstance().j())},!0);this.K=new Faa(b)};q(W4,nO);m=W4.prototype; m.build=function(){var a=this;oP(this.view,this.na);uP(this.view);iq(this,function(){return Xe(a.view.va())});this.g.Ma&&mP(this.view,new U4(this.g.Ma));if(this.g.isSkippable()){iL(this.I,BM,function(){a.B=!0});var b=new TP({cg:!0,Ph:!0,Wh:this.g.Wh,Qc:gT("promoskip")});xP(this.view,b);var c=new NO(b,this.I,this.g.C);N(this,c);this.o&&b.fa()}if(this.g.j&&!this.o){var d=new qP(this.j);this.j?xP(this.view,d):this.g.A?(wP(this.view,d),vP(this.view)):xP(this.view,d);this.g.l?new JO(d,this.I):d.show()}this.g.B&& (b=new UP(!0),new sO(b,this.I,EM),this.j?xP(this.view,b):d?mP(d,b):this.g.A?wP(this.view,b):xP(this.view,b));this.j&&(d=new RP,IO(new HO(d,this.I)),CP(this.view,d),iL(this.I,GM,function(e){a.C&&(zP(a.view,!e),AP(a.view,!e))}));if(this.j||this.g.o&&!this.o)d=new FP("author"),new tO(d,this.I,gM,RL),wP(this.view,d),d=new pP,new tO(d,this.I,hM,UL),this.j?BP(this.view,d):wP(this.view,d),d=new rP,new tO(d,this.I,bM,SL),this.j?BP(this.view,d):wP(this.view,d),iL(this.I,RL,function(){return void vP(a.view)}), iL(this.I,UL,function(){return void vP(a.view)}),iL(this.I,SL,function(){return void vP(a.view)});this.j?new AO(this.view,this.I,!0):this.o||(d=cM,this.g.g||!this.g.G?d=FM:new rO(this.view,!0),this.G?new yO(this.view,this.I,d):(new sO(this.view,this.I,d),this.view.De(!0)));this.g.Ea.forEach(function(e){var f=null;if(a.g.L&&e.Lb==="GoogleWhyThisAd"){f=new FP("vast");var g=new V4(a.g.L);oP(g,a.na);iq(a,function(){return Xe(g.va())});var h=new T4(g,a.I);new S4(f,a.I,e,h)}else f=gT("force_wta_top_left")? new FP("freeplayWta"):new FP("vast"),new RO(f,a.I,e,a.da.rg);GP(f,e.g,e.j);mP(a.view,f);a.A.push(f)});this.j?(this.l=new IP,new tO(this.l,this.I,qM,TL)):(this.l=new JP,new sO(this.l,this.I,qM));this.g.D!=null&&(d=new EP(this.g.D),new zO(d,this.I),CP(this.view,d));iL(this.I,oN,function(e){!a.j&&e&&e.durationSeconds>0&&e.durationSeconds-e.currentTimeSeconds<5&&yP(a.view,!1);a.j&&!a.C&&e&&e.currentTimeSeconds>5&&(a.C=!0,zP(a.view,!0),AP(a.view,!0))});iL(this.I,nM,function(){var e=a.K,f=a.A,g=a.g.Ea, h=a.g.isSkippable();Gaa(f)||(h?jL(e.I,oM,null):Haa(f,g))});this.jf()};m.kf=function(){this.B&&jL(this.I,$L,null)};m.Gh=function(){!this.D&&this.g.o&&!this.o&&this.g.g&&this.l&&(this.D=!0,wP(this.view,this.l),vP(this.view))};m.jf=function(){var a=this,b=Kf(this.view.va()),c=b.height;gT("force_wta_top_left")&&(c=c-16-20-2);this.g.Ea.forEach(function(d,e){a.g.Ea.length===a.A.length&&HP(a.A[e],EH(d,b.width),FH(d,c))})};m.getConfig=function(){return this.g};var X4=function(a,b,c,d,e,f,g,h){g=g===void 0?!1:g;nO.call(this,c);this.g=new W4(b,c,d,e,f,g,h);this.j=new P4([a],c,d,new NV,"",!1,!1)};q(X4,nO);m=X4.prototype;m.build=function(){this.g.build();this.j.build()};m.kf=function(){this.g.kf()};m.Gh=function(){this.g.Gh()};m.jf=function(){this.g.jf()};m.getConfig=function(){return this.g.getConfig()};m.O=function(){this.g.dispose();this.j.dispose()};var Y4=function(a,b,c,d){nO.call(this,a);this.na=b;this.g=c;this.l=d;this.j=null;this.view=new tP(["videoAdUiInstreamUxRefresh","endcap"],"",!0,!0)};q(Y4,nO); Y4.prototype.build=function(){oP(this.view,this.na);uP(this.view);this.j=new TP({cg:!0,Ph:!0,Qc:gT("promoskip")});xP(this.view,this.j);new NO(this.j,this.I,0);var a=new IP(this.g.actions[0].title);new sO(a,this.I,mM);wP(this.view,a);a=new pP;var b;if((b=this.g.xd)==null?0:b.uc)a.l(this.g.xd.uc),a.show();new sO(a,this.I,mM);CP(this.view,a);b=new rP;var c;if((c=this.g.xd)==null?0:c.description)b.l(this.g.xd.description),b.show();CP(this.view,b);new sO(b,this.I,mM);c=new FP("author");var d;if(b=((d= this.g.xd)==null?void 0:d.Xa)||this.l)c.l(b),c.show();new sO(c,this.I,mM);wP(this.view,c);vP(this.view)};var Jaa=function(a){var b;(b=a.j)!=null&&b.j&&b.j.focus()};Y4.prototype.O=function(){Xe(this.view.va());this.view.dispose();nO.prototype.O.call(this)};var Z4=function(a){lP.call(this);this.element=Re("DIV","nonLinearContainer");a&&qC(this.element,"autoalign")};q(Z4,nP);var $4=function(a,b,c,d,e,f){M4.call(this,b);this.l=a;this.na=c;this.j=this.g=null;this.o=new bK(this);N(this,this.o);this.view=new Z4(d);this.A=e;this.uiConfig=f};q($4,M4);m=$4.prototype; m.build=function(){var a=this;oP(this.view,this.na);iq(this,function(){return Xe(a.view.va())});this.g=oY(this.l,this.uiConfig);var b=OP(this.g);b!=null&&this.o.listen(b,"click",function(c){c.stopPropagation();jL(a.I,aM,null)});b=this.l.getMinSuggestedDuration()*1E3;new BO(this.g,this.I,!0,b);new yO(this.g,this.I,tM);mP(this.view,this.g);this.A&&(b=new DP,new vO(b,this.I,iM),mP(this.g,b),this.j=new SP,new KO(this.j,this.I,uM),mP(this.view,this.j));this.l.Gc&&(b=new UP(!0),new sO(b,this.I,EM),mP(this.g, b));jL(this.I,vM,null)};m.fe=function(){return this.g?this.g.va():null};m.show=function(){this.j&&this.j.fa();this.g&&this.g.show()};m.fa=function(){this.j&&this.j.show();this.g&&this.g.fa()};m.re=function(){return this.l};m.Mf=function(){return this.g};var a5=function(a,b,c,d,e,f){hq.call(this);this.o=a;this.status=1;this.l=b;this.j=c;this.G=d;this.Ze=!!e;this.A=Math.random();this.C={};this.g=null;this.B=Ra(this.F,this);this.Bc=f};q(a5,hq); a5.prototype.F=function(a){if(!(this.j!=="*"&&a.origin!==this.j||!this.Ze&&a.source!=this.l)){var b=null;try{b=JSON.parse(a.data)}catch(c){}if(Ma(b)&&(a=b.i,b.c===this.o&&a!=this.A)){if(this.status!==2)try{this.status=2,b5(this),this.g&&(this.g(),this.g=null)}catch(c){}a=b.s;b=b.p;if(typeof a==="string"&&(typeof b==="string"||Ma(b))&&this.C.hasOwnProperty(a))this.C[a](b)}}};var b5=function(a){var b={};b.c=a.o;b.i=a.A;a.Bc&&(b.e=a.Bc);a.l.postMessage(JSON.stringify(b),a.j)}; a5.prototype.D=function(){if(this.status===1){try{this.l.postMessage&&b5(this)}catch(a){}window.setTimeout(Ra(this.D,this),50)}};a5.prototype.connect=function(a){a&&(this.g=a);Rf(window,"message",this.B);this.G&&this.D()};var c5=function(a,b,c){a.C[b]=c},d5=function(a,b,c){var d={};d.c=a.o;d.i=a.A;d.s=b;d.p=c;try{a.l.postMessage(JSON.stringify(d),a.j)}catch(e){}};a5.prototype.O=function(){this.status=3;Sf(window,"message",this.B);hq.prototype.O.call(this)};function e5(a,b){b=b===void 0?{}:b;var c={};c=(c.frameborder=0,c.allowTransparency="true",c.style="border:0;vertical-align:bottom;",c.src="about:blank",c);Xb(c,b);Me(a,c)};var f5=function(a){this.uid=a;this.l=null;this.A=this.status=0;this.g=null;this.G="sfchannel"+a};f5.prototype.Ka=function(){return this.status===1};var Kaa=function(a){var b={};Za(a,function(c){b[c.g()]=c.j()});return b};var Laa=function(a,b,c,d,e,f){this.o=c;this.A=e;this.C=f;this.l=a.clone();this.j=b.clone();this.g=d.clone()},g5=function(a){return JSON.stringify({windowCoords_t:a.l.top,windowCoords_r:a.l.right,windowCoords_b:a.l.bottom,windowCoords_l:a.l.left,frameCoords_t:a.j.top,frameCoords_r:a.j.right,frameCoords_b:a.j.bottom,frameCoords_l:a.j.left,styleZIndex:a.o,allowedExpansion_t:a.g.top,allowedExpansion_r:a.g.right,allowedExpansion_b:a.g.bottom,allowedExpansion_l:a.g.left,xInView:a.A,yInView:a.C})},h5=function(a){var b= b||window;var c=b.screenX||b.screenLeft||0,d=b.screenY||b.screenTop||0;b=new sf(d,c+(b.outerWidth||document.documentElement.clientWidth||0),d+(b.outerHeight||document.documentElement.clientHeight||0),c);c=Ff(a);d=Jf(a);var e=new vf(c.x,c.y,d.width,d.height);c=wf(e);d=String(Cf(a,"zIndex"));var f=new sf(0,Infinity,Infinity,0);for(var g=He(a),h=g.g.body,k=g.g.documentElement,l=Oe(g.g);a=Ef(a);)if((!Vd||a.clientHeight!=0||a!=h)&&a!=h&&a!=k&&Cf(a,"overflow")!="visible"){var n=Ff(a),p=new fe(a.clientLeft, a.clientTop);n.x+=p.x;n.y+=p.y;f.top=Math.max(f.top,n.y);f.right=Math.min(f.right,n.x+a.clientWidth);f.bottom=Math.min(f.bottom,n.y+a.clientHeight);f.left=Math.max(f.left,n.x)}a=l.scrollLeft;l=l.scrollTop;f.left=Math.max(f.left,a);f.top=Math.max(f.top,l);g=Ne(g.g.defaultView||window);f.right=Math.min(f.right,a+g.width);f.bottom=Math.min(f.bottom,l+g.height);l=(f=(f=f.top>=0&&f.left>=0&&f.bottom>f.top&&f.right>f.left?f:null)?new vf(f.left,f.top,f.right-f.left,f.bottom-f.top):null)?xf(e,f):null;g=a= 0;l&&!l.getSize().isEmpty()&&(a=l.width/e.width,g=l.height/e.height);l=new sf(0,0,0,0);if(h=f)(e=xf(e,f))?(k=wf(f),n=wf(e),h=n.right!==k.left&&k.right!==n.left,k=n.bottom!==k.top&&k.bottom!==n.top,h=(e.width!==0||h)&&(e.height!==0||k)):h=!1;h&&(l=new sf(Math.max(c.top-f.top,0),Math.max(f.left+f.width-c.right,0),Math.max(f.top+f.height-c.bottom,0),Math.max(c.left-f.left,0)));return new Laa(b,c,d,l,a,g)};var i5=function(a){this.g=a};i5.prototype.getValue=function(a,b){a=this.g[a];if(a==null)return null;b=a[b];return b===null||b===void 0?null:b};var Maa=function(a,b){this.Rg=a;this.Sg=b;this.j=this.g=!1};var Naa=function(a,b,c,d,e,f,g,h){h=h===void 0?[]:h;this.uid=a;this.D=b;this.B=c;this.permissions=d;this.metadata=e;this.g=f;this.Ze=g;this.hostpageLibraryTokens=h;this.Bc=""};function j5(a){return typeof a==="number"||typeof a==="string"}var k5=function(a,b){this.uid=a;this.Bc=b};k5.prototype.g=function(a){this.Bc&&a&&(a.sentinel=this.Bc);return JSON.stringify(a)};var l5=function(a,b,c){k5.call(this,a,c===void 0?"":c);this.version=b};q(l5,k5);l5.prototype.g=function(){return k5.prototype.g.call(this,{uid:this.uid,version:this.version})};var m5=function(a,b,c,d){k5.call(this,a,d===void 0?"":d);this.l=b;this.j=c};q(m5,k5); m5.prototype.g=function(){return k5.prototype.g.call(this,{uid:this.uid,initialWidth:this.l,initialHeight:this.j})};var n5=function(a,b,c){k5.call(this,a,c===void 0?"":c);this.description=b};q(n5,k5);n5.prototype.g=function(){return k5.prototype.g.call(this,{uid:this.uid,description:this.description})};var o5=function(a,b,c,d){k5.call(this,a,d===void 0?"":d);this.expand=b;this.push=c};q(o5,k5); o5.prototype.g=function(){return k5.prototype.g.call(this,{uid:this.uid,expand_t:this.expand.top,expand_r:this.expand.right,expand_b:this.expand.bottom,expand_l:this.expand.left,push:this.push})};var p5=function(a,b){k5.call(this,a,b===void 0?"":b)};q(p5,k5);p5.prototype.g=function(){return k5.prototype.g.call(this,{uid:this.uid})};var H5=function(a,b,c){k5.call(this,a,c===void 0?"":c);this.j=b};q(H5,k5); H5.prototype.g=function(){var a={uid:this.uid,newGeometry:g5(this.j)};return k5.prototype.g.call(this,a)};var I5=function(a,b,c,d,e,f){H5.call(this,a,c,f===void 0?"":f);this.success=b;this.expand=d;this.push=e};q(I5,H5);I5.prototype.g=function(){var a={uid:this.uid,success:this.success,newGeometry:g5(this.j),expand_t:this.expand.top,expand_r:this.expand.right,expand_b:this.expand.bottom,expand_l:this.expand.left,push:this.push};this.Bc&&(a.sentinel=this.Bc);return JSON.stringify(a)}; var J5=function(a,b,c,d){k5.call(this,a,d===void 0?"":d);this.width=b;this.height=c};q(J5,k5);J5.prototype.g=function(){return k5.prototype.g.call(this,{uid:this.uid,width:this.width,height:this.height})};function Oaa(a){var b;if((b=a.location)==null?0:b.ancestorOrigins)return a.location.ancestorOrigins.length;var c=0;ng(function(){c++;return!1},a);return c};var Paa=function(){this.g=[]},K5=function(a,b,c,d,e){a.g.push(new Qaa(b,c,d,e))},L5=function(a){for(var b=a.g.length-1;b>=0;b--){var c=a.g[b];c.j?(c.element.style.removeProperty(c.g),c.element.style.setProperty(c.g,String(c.l),c.o)):c.element.style[c.g]=c.l}a.g.length=0},Qaa=function(a,b,c,d){this.element=a;this.g=b;this.g=(this.j=!(d===void 0||!a.style||!a.style.getPropertyPriority))?String(b).replace(/([A-Z])/g,"-$1").toLowerCase():b;this.l=this.j?a.style.getPropertyValue(this.g):a.style[this.g]; this.o=this.j?a.style.getPropertyPriority(this.g):void 0;this.j?(a.style.removeProperty(this.g),a.style.setProperty(this.g,String(c),d)):a.style[this.g]=String(c)};var M5=["allow-modals","allow-orientation-lock","allow-presentation","allow-pointer-lock"],N5=["allow-top-navigation"],O5=["allow-same-origin"],Raa=ug([].concat(x(M5),x(N5)));ug([].concat(x(M5),x(O5)));ug([].concat(x(M5),x(N5),x(O5))); var Q5=function(a){f5.call(this,a.uniqueId);var b=this;this.P=-1;this.qa=a.qa;this.Ja=a.size===1;this.permissions=new Maa(a.permissions.Rg&&!this.Ja,a.permissions.Sg&&!this.Ja);this.Kb=a.Kb;var c;this.hostpageLibraryTokens=(c=a.hostpageLibraryTokens)!=null?c:[];var d=window.location;c=d.protocol;d=d.host;this.D=c==="file:"?"*":c+"//"+d;this.Ze=!!a.Ze;this.F=a.Ub?"//"+a.Ub+".safeframe.googlesyndication.com":"//tpc.googlesyndication.com";this.K=a.la?"*":"https:"+this.F;this.sandbox=Saa(a);this.j=new Paa; Taa(a);this.l=this.B=h5(a.Kb);this.ib=a.ib||"1-0-45";var e;this.hk=(e=a.hk)!=null?e:"";this.la=null;Uaa(this,a);this.C=SE(412,function(){P5(b)},a.Zc);this.o=0;var f=SE(415,function(){b.la&&(b.la.name="",a.Pk&&a.Pk(),Sf(b.la,"load",f))},a.Zc);Rf(this.la,"load",f);this.dj=SE(413,this.dj,a.Zc);this.vj=SE(417,this.vj,a.Zc);this.reportError=SE(419,this.reportError,a.Zc);this.Ri=SE(411,this.Ri,a.Zc);this.zi=SE(409,this.zi,a.Zc);this.L=SE(410,this.L,a.Zc);this.rj=SE(416,this.rj,a.Zc);Vaa(this)};q(Q5,f5); var Taa=function(a){var b=a.Kb;var c=a.size;a=a.lo;c===1?(b.style.width=If("100%"),b.style.height=If("auto")):a||(b.style.width=If(c.width),b.style.height=If(c.height))},Uaa=function(a,b){var c=b.la;var d=b.content;var e=b.Xn;var f=b.size;var g=b.Yn===void 0?"3rd party ad content":b.Yn;var h=b.ur;var k=b.qr;var l=(b=b.lo)||!c;d=b||!c?d!=null?d:"":"";var n={shared:{sf_ver:a.ib,ck_on:v0()?1:0,flash_ver:"0"}};d=a.ib+";"+d.length+";"+d;n=new Naa(a.uid,a.D,a.B,a.permissions,new i5(n),a.Ja,a.Ze,a.hostpageLibraryTokens); var p={};p.uid=n.uid;p.hostPeerName=n.D;p.initialGeometry=g5(n.B);var r=n.permissions;r=JSON.stringify({expandByOverlay:r.Rg,expandByPush:r.Sg,readCookie:r.g,writeCookie:r.j});p=(p.permissions=r,p.metadata=JSON.stringify(n.metadata.g),p.reportCreativeGeometry=n.g,p.isDifferentSourceWindow=n.Ze,p.goog_safeframe_hlt=Kaa(n.hostpageLibraryTokens),p);n.Bc&&(p.Bc=n.Bc);n=JSON.stringify(p);r=p=0;f!==1&&(p=f.width,r=f.height);e={id:e,title:g,name:d+n,scrolling:"no",marginWidth:"0",marginHeight:"0",width:String(p), height:String(r),"data-is-safeframe":"true"};l&&(f=a.hk,g=a.F,l=a.ib,(d=f)&&(d="?"+d),g=(g===void 0?"//tpc.googlesyndication.com":g)+("/safeframe/"+l+"/html/container.html"+d),(l=Oaa(Pe(Ge(a.Kb))))&&(g+=(f?"&":"?")+"n="+l),e.src="https:"+g);a.sandbox!==null&&(e.sandbox=a.sandbox);h&&(e.allow=h);k&&(e.credentialless=!0);e["aria-label"]="Advertisement";e.tabIndex=0;b?(a.Kb.removeChild(c),e5(c,e),a.la=c):c?(a.la=c,Me(a.la,e)):(c=xg("IFRAME"),e5(c,e),a.la=c);a.Ja&&(a.la.style.minWidth="100%");a.Kb.appendChild(a.la)}, Vaa=function(a){a.g=new a5(a.G,a.la.contentWindow,a.K,!1);c5(a.g,"init_done",function(b){a.dj(b)});c5(a.g,"register_done",function(b){a.vj(b)});c5(a.g,"report_error",function(b){a.reportError(b)});c5(a.g,"expand_request",function(b){a.Ri(b)});c5(a.g,"collapse_request",function(b){a.zi(b)});c5(a.g,"creative_geometry_update",function(b){a.L(b)});a.g.connect(function(){a.rj()})};m=Q5.prototype;m.rj=function(){Rf(window,"resize",this.C);Rf(window,"scroll",this.C)}; m.dj=function(a){try{if(this.status!==0)throw Error("Container already initialized");if(typeof a!=="string")throw Error("Could not parse serialized message");var b=JSON.parse(a);if(!Ma(b)||!j5(b.uid)||typeof b.version!=="string")throw Error("Cannot parse JSON message");var c=new l5(b.uid,b.version,b.sentinel||"");if(this.uid!==c.uid||this.ib!==c.version)throw Error("Wrong source container");this.status=1}catch(e){var d;(d=this.qa)==null||d.error("Invalid INITIALIZE_DONE message. Reason: "+e.message)}}; m.vj=function(a){try{if(!this.Ka())throw Error("Container not initialized");if(typeof a!=="string")throw Error("Could not parse serialized message");var b=JSON.parse(a);if(!Ma(b)||!j5(b.uid)||typeof b.initialWidth!=="number"||typeof b.initialHeight!=="number")throw Error("Cannot parse JSON message");if(this.uid!==(new m5(b.uid,b.initialWidth,b.initialHeight,b.sentinel||"")).uid)throw Error("Wrong source container");this.status=2}catch(d){var c;(c=this.qa)==null||c.error("Invalid REGISTER_DONE message. Reason: "+ d.message)}}; m.reportError=function(a){try{if(typeof a!=="string")throw Error("Could not parse serialized message");var b=JSON.parse(a);if(!Ma(b)||!j5(b.uid)||typeof b.description!=="string")throw Error("Cannot parse JSON message");var c=new n5(b.uid,b.description,b.sentinel||"");if(this.uid!==c.uid)throw Error("Wrong source container");var d;(d=this.qa)==null||d.info("Ext reported an error. Description: "+c.description)}catch(f){var e;(e=this.qa)==null||e.error("Invalid REPORT_ERROR message. Reason: "+f.message)}}; m.Ri=function(a){try{if(this.status!==2)throw Error("Container is not registered");if(this.A!==0)throw Error("Container is not collapsed");if(typeof a!=="string")throw Error("Could not parse serialized message");var b=JSON.parse(a);if(!Ma(b)||!j5(b.uid)||typeof b.expand_t!=="number"||typeof b.expand_r!=="number"||typeof b.expand_b!=="number"||typeof b.expand_l!=="number"||typeof b.push!=="boolean")throw Error("Cannot parse JSON message");var c=new o5(b.uid,new sf(b.expand_t,b.expand_r,b.expand_b, b.expand_l),b.push,b.sentinel||"");if(this.uid!==c.uid)throw Error("Wrong source container");if(!(c.expand.top>=0&&c.expand.left>=0&&c.expand.bottom>=0&&c.expand.right>=0))throw Error("Invalid expansion amounts");var d=(c.push&&this.permissions.Sg||!c.push&&this.permissions.Rg)&&this.expand(c.expand,c.push);d5(this.g,"expand_response",(new I5(this.uid,d,this.l,c.expand,c.push)).g());if(!d)throw Error("Viewport or document body not large enough to expand into.");}catch(f){var e;(e=this.qa)==null|| e.error("Invalid EXPAND_REQUEST message. Reason: "+f.message)}}; m.expand=function(a,b){var c=this.l=h5(this.la);if(!(a.top<=c.g.top&&a.right<=c.g.right&&a.bottom<=c.g.bottom&&a.left<=c.g.left))return!1;if(!b)for(c=this.la.parentNode;c&&c.style;c=c.parentNode)K5(this.j,c,"overflowX","visible","important"),K5(this.j,c,"overflowY","visible","important");a=wf(new vf(0,0,this.l.j.getWidth(),this.l.j.getHeight())).expand(a);K5(this.j,this.Kb,"position","relative");K5(this.j,this.la,"position","absolute");if(b){b=this.j;c=this.Kb;var d=a.getWidth();K5(b,c,"width",d+ "px");b=this.j;c=this.Kb;d=a.getHeight();K5(b,c,"height",d+"px")}else K5(this.j,this.la,"zIndex","10000");b=this.j;c=this.la;d=a.getWidth();K5(b,c,"width",d+"px");b=this.j;c=this.la;d=a.getHeight();K5(b,c,"height",d+"px");K5(this.j,this.la,"left",a.left+"px");K5(this.j,this.la,"top",a.top+"px");this.A=2;this.l=h5(this.la);return!0}; m.zi=function(a){try{if(this.status!==2)throw Error("Container is not registered");if(this.A!==2)throw Error("Container is not expanded");if(typeof a!=="string")throw Error("Could not parse serialized message");var b=JSON.parse(a);if(!Ma(b)||!j5(b.uid))throw Error("Cannot parse JSON message");if(this.uid!==(new p5(b.uid,b.sentinel||"")).uid)throw Error("Wrong source container");this.collapse();d5(this.g,"collapse_response",(new H5(this.uid,this.l)).g())}catch(d){var c;(c=this.qa)==null||c.error("Invalid COLLAPSE_REQUEST message. Reason: "+ d.message)}};m.collapse=function(){L5(this.j);this.A=0;this.la&&(this.l=h5(this.la))};var P5=function(a){if(a.status===1||a.status===2)switch(a.o){case 0:R5(a);S5(a);a.o=1;break;case 1:a.o=2;break;case 2:a.o=2}}; Q5.prototype.L=function(a){try{if(typeof a!=="string")throw Error("Could not parse serialized message");var b=JSON.parse(a);if(!Ma(b)||!j5(b.uid)||typeof b.width!=="number"||typeof b.height!=="number"||b.sentinel&&typeof b.sentinel!=="string")throw Error("Cannot parse JSON message");var c=new J5(b.uid,b.width,b.height,b.sentinel||"");if(this.uid!==c.uid)throw Error("Wrong source container");var d=String(c.height);if(this.Ja)d!==this.la.height&&(this.la.height=d,P5(this));else{var e;(e=this.qa)==null|| e.error("Got CreativeGeometryUpdate message in non-fluidcontainer. The container is not resized.")}}catch(g){var f;(f=this.qa)==null||f.error("Invalid CREATIVE_GEOMETRY_UPDATE message. Reason: "+g.message)}};var S5=function(a){a.P=window.setTimeout(function(){if(a.status===1||a.status===2)switch(a.o){case 0:case 1:a.o=0;break;case 2:R5(a),S5(a),a.o=1}},1E3)},R5=function(a){a.l=h5(a.la);d5(a.g,"geometry_update",(new H5(a.uid,a.l)).g())}; Q5.prototype.destroy=function(){this.status!==100&&(this.A===2&&(L5(this.j),this.A=0),window.clearTimeout(this.P),this.P=-1,this.o=3,this.g&&(this.g.dispose(),this.g=null),Sf(window,"resize",this.C),Sf(window,"scroll",this.C),this.Kb&&this.la&&this.Kb===(this.la.parentElement||null)&&this.Kb.removeChild(this.la),this.Kb=this.la=null,this.status=100)};var Saa=function(a){var b=null;a.bl&&(b=a.bl);return b==null?null:b.join(" ")};var T5=function(a){var b=a.lg;var c=a.Re;var d=a.Yc;var e=a.Ub;var f=a.ib;var g=a.I;oO.call(this,g);var h=new Q5({content:c,Zc:function(n,p){var r=null,t=null,u=null;try{var A;r=(A=p==null?void 0:p.name)!=null?A:"Unknown error"}catch(D){r="exception"}try{var v;t=(v=p==null?void 0:p.message)!=null?v:"Caught "+p}catch(D){t="exception"}try{var E;u=(E=p==null?void 0:p.stack)!=null?E:Error().stack}catch(D){u="exception"}p={};oU.getInstance().report(185,(p.m=n,p.name=r,p.message=t,p.stack=u,p))},Xn:"safe-frame-container", qa:{info:function(){},Lr:function(){},error:function(){}},Pk:function(){return void jL(g,rM,null)},Kb:b,permissions:{Rg:!1,Sg:!1},Ub:e,ib:f,bl:Raa,size:d,uniqueId:Id()});iq(this,function(){return void h.destroy()});var k=h.la,l=function(n){(k==null?void 0:k.contentWindow)===n.source&&(n=JSON.parse(n.data),n.googMsgType==="gpi-uoo"&&jL(g,YL,new ZL(2,!n.userOptOut,n.clearAdsData||!1)))};window.addEventListener("message",l);iq(this,function(){window.removeEventListener("message",l)})};q(T5,oO);var Waa=function(){return QC('
')};var U5=function(){lP.call(this);this.element=vD(Waa);this.lg=Ke("safeFrameParent",this.element);this.j=Ke("safeFrameBottomBar",this.element)};q(U5,nP);var V5=function(a){var b=a.container;var c=a.Re;var d=a.Yc;var e=a.Ma;var f=a.Ub;var g=a.ib;var h=a.skipOffset;nO.call(this,a.I);this.container=b;this.Re=c;this.Yc=d;this.Ma=e;this.Ub=f;this.ib=g;this.skipOffset=h;(this.g=h!=null?new TP({cg:!0}):null)&&N(this,this.g);this.view=new U5};q(V5,nO); V5.prototype.build=function(){oP(this.view,this.container);if(this.g&&this.skipOffset!=null){var a=new NO(this.g,this.I,this.skipOffset,7),b=this.view,c=this.g;c.element&&b.j.appendChild(c.element);N(this,a)}this.Ma&&(a=this.view,b=new U4(this.Ma),b.element&&a.j.appendChild(b.element));a=new T5({lg:this.view.lg,Re:this.Re,Yc:this.Yc,Ub:this.Ub,ib:this.ib,I:this.I});N(this,a)};V5.prototype.O=function(){Xe(this.view.va());this.view.dispose();nO.prototype.O.call(this)};var W5=function(a){var b=a.Qe;var c=a.I;var d=a.na;var e=a.Ub;var f=a.ib;a=a.Ma;M4.call(this,c);this.j=this.g=null;this.Qe=b;this.na=d;this.Ub=e;this.ib=f;this.Ma=a;this.view=new Z4(!0)};q(W5,M4);m=W5.prototype; m.build=function(){oP(this.view,this.na);var a=this.Qe.getSize();var b=vD(fP,{height:a.height,width:a.width});a=Ke("safeFrameParent",b);this.g=b=new NP(b,0);mP(this.view,b);this.Ma&&mP(this.view,new U4(this.Ma));this.j=new T5({lg:a,Re:this.Qe.Fa,Yc:this.Qe.getSize(),Ub:this.Ub,ib:this.ib,I:this.I});N(this,this.j)};m.fe=function(){var a;return(a=this.g)==null?void 0:a.va()};m.show=function(){var a;(a=this.g)==null||a.show()};m.fa=function(){var a;(a=this.g)==null||a.fa()};m.re=function(){return this.Qe}; m.Mf=function(){return this.g};m.O=function(){Xe(this.view.va());this.view.dispose();M4.prototype.O.call(this)};var X5=function(){lP.call(this);this.element=Re("div");zf(this.element,{position:"absolute",width:"100%",height:"100%"})};q(X5,nP);var Y5=function(a,b,c,d){nO.call(this,c);this.Ea=a;this.Ma=b;this.na=d;this.view=new X5};q(Y5,nO);Y5.prototype.build=function(){var a=this;window.frameElement&&zf(window.frameElement,{"z-index":100});oP(this.view,this.na);this.Ma&&mP(this.view,new U4(this.Ma));this.Ea.forEach(function(b){var c=new FP("vast");new RO(c,a.I,b);mP(a.view,c);var d=Kf(a.view.va());HP(c,EH(b,d.width),FH(b,d.height));GP(c,b.g,b.j)})};Y5.prototype.O=function(){Xe(this.view.va());nO.prototype.O.call(this)};var Z5=function(){};Z5.prototype.g=function(a){LB(a,"pagead2.googlesyndication.com")};var $5=function(){};$5.prototype.g=function(a){var b=a.j;b==="googleads.g.doubleclick.net"||b==="www.googleads.g.doubleclick.net"?LB(a,"googleads-att.g.doubleclick.net"):(b==="pubads.g.doubleclick.net"||b==="www.pubads.g.doubleclick.net")&&LB(a,"pubads-att.g.doubleclick.net")};var Xaa=["adsense","dbm","dcm","dv3","xfp"],Yaa=["adsense","xfp"];function Zaa(a,b,c){c=c===void 0?null:c;var d=uK(a.adTagUrl||"");if(wT(b.Aa)&&Xaa.includes(d))var e=new Z5;else{e=b.yc==="tvos";var f=b.F==="authorized";e=eW(iE)&&e&&f&&Yaa.includes(d)?new $5:new eQ}switch(d){case "dcm":var g=new Map;b.Kc!=null&&g.set("dc_submodel",b.Kc);c=eT.L;c!=null&&g.set("dc_rfl",Gg(c));c=new oG(a.adTagUrl||"");d=qG(c,"dc_output")||[];(d.includes("vast")||d.includes("xml_vast2")||d.includes("xml_vast3"))&&g.set("dc_output","xml_vast4");c=qG(c,"dc_eid")||[];c=EG(c[0]||"");F(G(c))|| g.set("dc_eid",c);a=new Map([].concat(x(E0(a,b)),x(g)));return new iQ(a,e);case "dv3":g=new Map;b.Kc!=null&&g.set("submodel",b.Kc);c=EG((new P(a.adTagUrl)).g.get("eid",""));F(G(c))||g.set("eid",c);if(c=eT.L)c=Gg(c),c=encodeURIComponent(G(c)),g.set("rfl",c);a=new Map([].concat(x(E0(a,b)),x(g)));return new kQ(a,e);case "adsense":return c=((g=c)==null?void 0:g.l)||[],new fQ(F0(a,c,b),e);case "xfp":return new lQ(D0(a,b),e);case "dbm":return new hQ(E0(a,b),e);default:return new zK}};var $aa="allAdsCompleted contentPauseRequested contentResumeRequested adBreakFetchError adBreakReady externalActivityEvent measurable_impression viewable_impression show_ad video_card_endcap_collapse video_card_endcap_dismiss video_card_endcap_impression linearChanged".split(" "),a6=[].concat(x(dU),x(eU)).filter(function(a){return!$aa.includes(a)}),b6=function(a){O.call(this);this.Y=a};q(b6,O);m=b6.prototype;m.getAd=function(){return this.Y.getAd()};m.jd=function(){return this.Y.jd()};m.expand=function(){this.Y.expand()}; m.collapse=function(){this.Y.collapse()};m.mg=function(){this.Y.mg()};m.destroy=function(){return this.Y.destroy()};m.init=function(){this.Y.init()};m.start=function(){this.Y.start()};m.pause=function(){this.Y.pause()};m.resume=function(){this.Y.resume()};m.skip=function(){this.Y.skip()};m.getRemainingTime=function(){return this.Y.getRemainingTime()};m.getVolume=function(){return this.Y.getVolume()};m.setVolume=function(a){this.Y.setVolume(a)};m.jc=function(){this.Y.jc()}; m.resize=function(a,b){this.Y.resize(a,b)};m.getDuration=function(){return this.Y.getDuration()};m.getCurrentTime=function(){return this.Y.getCurrentTime()};m.Cd=function(){this.Y.Cd()};m.reportEvent=function(a){this.Y.reportEvent(a)};m.Tb=function(a,b){this.Y.Tb(a,b)};m.sb=function(a,b,c){this.Y.sb(a,b,c)};m.pd=function(){this.Y.pd()};m.Sc=function(){this.Y.Sc()};m.toString=function(){return this.Y.toString()};var c6=function(a,b,c,d){d=d===void 0?!1:d;b6.call(this,a);this.ma=b;this.M=c;this.G=d;this.K=this.g=this.D=this.A=this.F=this.l=this.j=null;this.T=!1;this.N=this.B=null;this.X=Vb(this.ma);this.o=new bK(a);N(this,this.o)};q(c6,b6);c6.prototype.init=function(){this.T||(aba(this),this.T=!0);b6.prototype.init.call(this)}; c6.prototype.start=function(){this.G||(this.ma.g=!1);b6.prototype.start.call(this);var a,b;(a=Ke("videoAdUi"))==null||(b=a.classList)==null||b.add("ima-action-ad");if(a=this.getAd())if(b=oW(a,"InfoCards"))if(this.A=NW(b))this.D=this.A.actions[0].title,this.g=this.A.xd,this.K=this.A.actions[0].target||HW(a);var c,d;if((c=this.A)==null?0:(d=c.Wd)==null?0:d.Th)if(this.G){var e=this.M.W.tc();this.D&&jL(e,TL,this.D);var f;((f=this.g)==null?0:f.uc)&&jL(e,UL,this.g.uc);var g;((g=this.g)==null?0:g.description)&& jL(e,SL,this.g.description);var h;((h=this.g)==null?0:h.Xa)&&jL(e,RL,this.g.Xa)}else{f=document.body;this.j=new mO(this.D);this.j.fa();this.F=Re("DIV");qC(this.F,"videoAdUiFloatingLayer");f.appendChild(this.F);this.j.Eg(this.F);((e=this.g)==null?0:e.uc)&&this.j.hi(this.g.uc);var k;((k=this.g)==null?0:k.description)&&this.j.yg(this.g.description);var l;((l=this.g)==null?0:l.Xa)&&this.j.yf(this.g.Xa);(f=(f=this.getAd())&&f.j?SQ(f.j):null)&&this.j.j.element.classList.add(f)}var n,p;if((n=this.A)==null? 0:(p=n.Wd)==null?0:p.Uh)if(n=this.M.W.Oa(),p=this.getAd(),n&&p&&this.A&&this.A.Wd)if(f=this.A.Wd.Kf,p.P=f/1E3,this.G){var r=RQ(p.j);this.B=new Y4(this.M.W.tc(),n,this.A,(r==null?void 0:r.g)||null);this.B.build()}else{this.l=new hO(n,f,this.D);((r=this.g)==null?0:r.uc)&&this.l.l.hi(this.g.uc);var t;((t=this.g)==null?0:t.description)&&this.l.l.yg(this.g.description);var u;((u=this.g)==null?0:u.Xa)&&this.l.l.yf(this.g.Xa)}var A;if(r=(A=this.getAd())==null?void 0:A.j){if((A=QQ(r))&&A.j){var v;(v=this.l)== null||iO(v,A.j)}v=RQ(r);var E;if(((E=this.g)==null||!E.Xa)&&(v==null?0:v.g)){var D;(D=this.j)==null||D.yf(v.g||"");var K;(K=this.l)!=null&&K.l.yf(v.g||"")}}bba(this);d6(this,"start")};c6.prototype.destroy=function(){Object.assign(this.ma,this.X);return b6.prototype.destroy.call(this)}; var bba=function(a){a.j&&a.o.listen(a.j,"ctaClicked",function(){a.pause();d6(a,"ctaclick");a.Cd()});a.l&&(a.o.listen(a.l,"video_card_endcap_action",function(){return void e6(a)}),a.o.listen(a.l,"video_card_endcap_collapse",function(){return void f6(a,"video_card_endcap_collapse")}),a.o.listen(a.l,"videoSkipClicked",function(){return void f6(a,"video_card_endcap_dismiss")}))},aba=function(a){var b=a.Y;a.o.listen(b,a6,function(c){return a.dispatchEvent(c)});a.o.listen(b,"start",function(){d6(a,"showui"); a.j&&a.j.show()});a.o.listen(b,"contentPauseRequested",function(c){return a.dispatchEvent(c)});a.o.listen(b,"contentResumeRequested",function(){return function(){}});a.o.listen(b,"adError",function(c){d6(a,"error");c=c.getError()||fV(JS);jV(a,JS,c.getInnerError());a.destroy()});a.o.listen(b,"allAdsCompleted",function(){return void cba(a)});a.o.listen(b,"skip",function(){d6(a,"skip");a.l=null;var c;(c=a.B)==null||c.dispose();a.B=null;a.j&&a.j.fa();a.destroy()})},cba=function(a){d6(a,"complete");a.j&& a.j.fa();if(a.l)a.M.W.Uc(),a.l.show();else if(a.B){a.M.W.Uc();var b=a.M.W.tc();iL(b,AM,function(){f6(a,"video_card_endcap_collapse")});iL(b,mM,function(){e6(a)});a.M.U.Ld&&Jaa(a.B);var c,d,e;a.N=setTimeout(function(){f6(a,"video_card_endcap_collapse")},(e=(c=a.A)==null?void 0:(d=c.Wd)==null?void 0:d.Kf)!=null?e:0)}else a.dispatchEvent(X({type:"contentResumeRequested",ad:a.getAd()})),a.dispatchEvent(X({type:"allAdsCompleted",ad:a.getAd()}));Object.assign(a.ma,a.X)},e6=function(a){d6(a,"endcapclick"); var b;(b=a.l)==null||b.pause();a.N&&clearTimeout(a.N);b={};b=(b.url=a.K,b);a.dispatchEvent(X({type:"navigationRequested",ad:a.getAd(),data:b}))};c6.prototype.Cd=function(){d6(this,"outerclick");this.sb(this.K,null,null)}; var f6=function(a,b){var c=a.getAd();a.dispatchEvent(fX({type:b,ad:c}));a.dispatchEvent(fX({type:"contentResumeRequested",ad:c}));a.dispatchEvent(fX({type:"allAdsCompleted",ad:c}));var d;(d=a.B)==null||d.dispose();a.M.W.fd();a.destroy()},d6=function(a,b){var c={};a=(c.evt=b,c.format=dba(a),c);oU.getInstance().report(143,a,!0)},dba=function(a){a=a.getAd();if(!a)return"noad";a=a.j;if(!a)return"noimalibad";a=MQ(a);if(!a)return"noextension";a=a.g;return a!=null?a:"noformat"}; c6.prototype.O=function(){var a;(a=this.B)==null||a.dispose();b6.prototype.O.call(this)};var h6=function(a,b,c,d){hq.call(this);this.l=a;this.M=b;this.o=c;this.ma=d;this.j=null;N(this,this.l);a.o=[].concat(x(a.B));a=g6(a);this.A=this.g=this.o.create([a],this.M,this.ma)};q(h6,hq);m=h6.prototype;m.se=function(){return this.g};m.Yg=function(){var a=this,b,c;return z(function(d){if(d.g==1)return b=i6(a),a.j=null,y(d,b,2);c=d.j;if(!c)throw Error("Called getNextManager when there are no more managers.");a.g=c;return d.return(a.g)})}; m.Be=function(){var a=this;return z(function(b){return b.g==1?y(b,i6(a),2):b.return(b.j)})};m.ej=function(){return this.se()===this.A};m.O=function(){this.g.destroy();hq.prototype.O.call(this)};var i6=function(a){if(a.Ya())return Promise.resolve(null);if(a.j)return a.j;a.j=new Promise(function(b){a.l.Mc().then(function(c){a.Ya()?b(null):c?b(a.o.create([c],a.M,a.ma)):b(null)}).catch(function(){b(null)})});return a.j};var j6=function(){O.call(this)};q(j6,O);m=j6.prototype;m.getAd=function(){return null};m.jd=function(){return!0};m.expand=function(){};m.collapse=function(){};m.mg=function(){};m.destroy=function(){return Promise.resolve()};m.init=function(){};m.start=function(){};m.pause=function(){};m.resume=function(){};m.skip=function(){};m.reportEvent=function(){};m.Tb=function(){};m.getRemainingTime=function(){return 0};m.getVolume=function(){return 0};m.setVolume=function(){};m.jc=function(){};m.resize=function(){}; m.getDuration=function(){return 0};m.getCurrentTime=function(){return 0};m.Cd=function(){};m.sb=function(){};m.pd=function(){};m.Sc=function(){};var k6=function(a){var b=a.W;var c=a.wa;var d=a.ae;var e=a.Ba;var f=a.Ab;var g=a.U;var h=a.Dd;var k=a.Ge;var l=a.Ac;a=a.Na;this.W=b;this.wa=c;this.ae=d;this.Ba=e;this.Ab=f;this.U=g;this.Dd=h;this.Ge=k;this.Ac=l;this.Na=a};var l6=function(a){hq.call(this);this.g=a.slice();this.l=this.j=this.g.shift()};q(l6,hq);m=l6.prototype;m.se=function(){return this.j};m.Yg=function(){var a=this;return z(function(b){a.j=a.g.shift();return b.return(a.se())})};m.Be=function(){var a=this;return z(function(b){return a.Ya()?b.return(Promise.resolve(null)):a.g.length>0?b.return(a.g[0]):b.return(null)})};m.ej=function(){return this.se()===this.l};m.O=function(){this.g.forEach(function(a){return void a.destroy()});hq.prototype.O.call(this)};var m6=function(a,b,c){O.call(this);this.ad=a;this.M=b;this.ma=c;this.qa=null;this.o=!1;this.volume=0;this.Da=this.G=null;this.X=new bK(this);N(this,this.X);this.g=new bK(this);N(this,this.g);this.ta=new vZ;this.j=new XG(ZW(this.getAd()),new w4,$W(this.getAd()));if(this.getAd().g==null)throw iV(yS);this.Vb=DU(this.M.U)?P_():new KZ;eba(this)};q(m6,O);m6.prototype.jc=function(){};m6.prototype.expand=function(){};m6.prototype.collapse=function(){}; var eba=function(a){var b=a.getAd(),c=b.ua;a.G=a.Vb.wl(b,a,a.j,a.M.U,c==null?void 0:c.omidAccessModeRules);a.Da=XP(function(d){return void a.reportEvent(d)})};m6.prototype.getAd=function(){return this.ad};m6.prototype.jd=function(){return this.ad.isLinear()};m6.prototype.O=function(){this.ta.dispose();this.dispatchEvent(X({type:"contentResumeRequested",ad:this.getAd()}));this.dispatchEvent(X({type:"allAdsCompleted",ad:this.getAd()}));gq(this.g);var a;(a=this.Da)==null||a.disconnect();O.prototype.O.call(this)}; m6.prototype.sb=function(a,b,c){var d={};a=(d.url=a,d.attributionParams=b,d.attributionSrc=c,d);this.dispatchEvent(X({type:"navigationRequested",ad:this.getAd(),data:a}))};var n6=function(a){fK(a.X);a.X.Nd(a.M.Ba,"companion_display_error",function(){});var b=a.M.Ba.B(a.getAd());b!=null&&a.X.listen(b,"companion_click",a.Xb);if(!a.M.Ba.ak())throw fV(nS);};m6.prototype.Xb=function(){};var o6=function(a){var b=a.getAd();for(a=oW(b,"sodar");!a&&(b=b.ca);)a=oW(b,"sodar");a!=null&&a.init()}; m6.prototype.init=function(){};m6.prototype.reportEvent=function(a){this.j.report(a)};m6.prototype.Tb=function(a,b){hH(this.j,b);this.j.reportError(a.getErrorCode())};var p6=function(a,b){a.reportEvent(b);var c=a.dispatchEvent,d=a.getAd();d=d===void 0?null:d;c.call(a,new eX(b,d===void 0?null:d,null))};m=m6.prototype;m.getCurrentTime=function(){return-1};m.getDuration=function(){return-1};m.getRemainingTime=function(){return-1};m.pause=function(){};m.resume=function(){};m.skip=function(){}; m.start=function(){if(!this.o)throw iV(lS,null,"Must call init before start.");this.lj()};m.zk=function(){var a=this.M.U.B.clone();return hl(a,5,1)};m.lj=function(){this.M.Ac.lj(this.zk())};m.getVolume=function(){var a;return(a=this.volume)!=null?a:0};m.setVolume=function(a){isNaN(a)||a<0||a>1?jV(this,rS,null,"volume",String(a)):this.volume=a};m.mg=function(){this.reportEvent("abandon")}; m.Hh=function(a){var b=a.type;if(gU.indexOf(b)!==-1){if(b==="externalActivityEvent"&&(b=a.getAdData().eventName,!iU(b)))return;p6(this,b)}};m.resize=function(){};m.destroy=function(){var a=this,b=new dC;wZ(this.ta,function(){a.dispose();b.resolve()});return b.promise};m.Cd=function(){};m.pd=function(){};m.Sc=function(){};var q6=function(a,b,c){m6.call(this,a,b,c);this.na=null;this.height=this.width=-1;this.A=!1;this.F=[];this.layout=null;this.I=b.W.tc()};q(q6,m6);m=q6.prototype; m.start=function(){m6.prototype.start.call(this);fba(this);this.M.W.Uc();this.na=this.M.W.Oa();if(this.na!=null){this.reportEvent("show_ad");this.dispatchEvent(X({type:"show_ad",ad:this.getAd()}));Ve(this.na);this.gk();if(zU()&&this.layout){var a=this.layout.fe(),b=new mH(this.getAd().j,this.j,this.M.W.te(),zU(),this.getAd().Hc);b.A=a;pH(b);N(this,b)}this.Cf();this.F.forEach(function(c){return void c()});this.F=[];this.A=!0}}; m.init=function(){if(!this.o){this.o=!0;this.dispatchEvent(X({type:"loaded",ad:this.getAd()}));var a=uX();this.g.listen(a,gU,this.Hh)}};m.expand=function(){this.layout!=null&&this.layout.show();this.reportEvent("expand")};m.collapse=function(){this.layout!=null&&this.layout.fa();this.reportEvent("collapse")};m.jc=function(){m6.prototype.jc.call(this);this.Cf();this.A&&this.reportEvent("overlay_resize")}; m.resize=function(a,b){m6.prototype.resize.call(this,a,b);this.width=a;this.height=b;a=new ge(-1,-1);this.M.W.Oa()!=null&&(a=Jf(this.M.W.Oa()));oU.getInstance().report(218,{difWidth:Math.abs(this.width-a.width),difHeight:Math.abs(this.height-a.height)});this.Cf();this.A&&this.reportEvent("overlay_resize")};m.O=function(){var a;(a=this.layout)==null||a.dispose();this.layout=null;this.I.clear();this.A=!1;this.na!=null&&(Ve(this.na),this.na=null);this.M.W.fd();m6.prototype.O.call(this)}; m.gk=function(){var a=this;if(!this.layout){var b=this.getAd().g;if(b==null){var c=fV(yS);r6(this,c);throw c;}try{n6(this)}catch(d){throw r6(this,d),d;}hH(this.j,$X(this.getAd(),this.M.U));c=MW(this.getAd())||this.ma.useStyledNonLinearAds;this.na&&(this.layout=new $4(b,this.I,this.na,this.ma.autoAlign,c,new NV),iL(this.I,iM,function(){return void a.Qf()}),iL(this.I,tM,function(){var d=b.rc(),e=b.zf();p6(a,"click");a.sb(d,e,null)}),iL(this.I,zM,function(){return void s6(a)}),iL(this.I,vM,function(){return void a.Z()}), iL(this.I,EM,function(){return void a.N()}),this.layout.build())}};m.Cf=function(a,b){a=a===void 0?0:a;b=b===void 0?0:b;if(this.layout!=null){var c=Jf(this.M.W.Oa()),d=this.width,e=this.height;if(d===-1||e===-1)d=c.width,e=c.height;c=Kf(this.layout.fe());if(c.width+a>d||c.height+b>e)throw a=fV(tS),r6(this,a),this.destroy(),a;}};var r6=function(a,b){var c=UX(b,a.M.U,a.getAd());a.Tb(b,c)};q6.prototype.Qf=function(){this.reportEvent("close");this.dispatchEvent(X({type:"userClose",ad:this.getAd()}))}; q6.prototype.Z=function(){var a=this;if(this.layout){var b=this.layout.re().getAd();this.A?this.B(b):this.F.push(function(){return void a.B(b)})}};q6.prototype.B=function(a){a&&(hH(this.j,$X(a,this.M.U)),p6(this,"impression"),this.reportEvent("creativeView"),p6(this,"start"))};var s6=function(a){a.dispatchEvent(X({type:"userRecall",ad:a.getAd()}))};q6.prototype.Hh=function(a){var b=a.getAdData();this.getAd().Hc===b.queryId&&m6.prototype.Hh.call(this,a)}; q6.prototype.N=function(){this.layout&&this.sb(this.layout.re().Gc,null,null)};var fba=function(a){var b=a.getAd().g,c,d;if(a=(d=((c=pW(a.getAd()).get("nonlinearAta"))!=null?c:[])[0])==null?void 0:d.j.o)b.Gc=a};q6.prototype.toString=function(){return"nonlinearman"};var v6=function(a,b,c){q6.call(this,a[0],b,c);var d=this;this.T=!1;this.uiConfig=null;this.l=[];this.K=!1;this.elapsedTime=0;this.ka=[];this.ha=!1;this.D=new Ev(200);N(this,this.D);this.ba=new w4;a.forEach(function(e){var f=e.g;if(f==null)f=iV(yS),e=UX(f,d.M.U,e),d.Tb(f,e);else{if(d.uiConfig==null){var g=oW(e,"AdSense");g&&(d.uiConfig=g.uiConfig)}f.getContentType()==="Text"&&(d.T=!0);!(e=t6(e))||u6(d)&&!d.T||(f.Gc=e);d.l.push(f)}});nW(this.getAd()).length!==0&&n6(this)};q(v6,q6);m=v6.prototype; m.gk=function(){var a=this;if(!this.layout&&this.na){if(this.l.length===0)throw fV(yS);this.uiConfig==null&&(this.uiConfig=new NV);if(u6(this)){var b=this.getAd(),c=L4(b,RW(b));b=QW(b,this.ma.disableUi,c);c=gba(this);this.layout=new P4(this.l,this.I,this.na,this.uiConfig,c.text,!b,c.shouldRenderWta);this.g.listen(this.D,"tick",this.ip)}else this.l.length===1?this.layout=new $4(this.l[0],this.I,this.na,!0,!0,this.uiConfig):this.layout=new R4(this.l,this.I,this.na,this.uiConfig);iL(this.I,tM,function(d){var e= d.Nb,f=d.Ob;if(a.layout){d=a.layout.re();var g=d.getAd();if(g){var h=oW(g,"AdSense");h=new P(h.Pe);var k=Kf(a.layout.fe()),l=Jf(a.M.W.Oa());e=["0","aw="+k.width,"ah="+k.height,"nx="+e,"ny="+f,"viewMode="+(SI(l.width,l.height)?"fullscreen":"normal"),"sdkv=h.3.704.0","eids="+CE(),"bw="+l.width,"bh="+l.height];h.g.set("label","elementclick");h.g.set("value",e.join(";"));a.ba.g(h.toString());w6(a,g);a.reportEvent("click");x6(a);a.dispatchEvent(X({type:"click",ad:a.getAd()}));if(e=d.rc())(g=a.layout.Mf())&& (e=MP(g.j,e)),a.sb(e,d.zf(),d.ki())}}});iL(this.I,vM,function(){return void a.Z()});iL(this.I,iM,function(){return void a.Qf()});iL(this.I,zM,function(){return void s6(a)});iL(this.I,BM,function(){a.dispatchEvent(X({type:"skippableStateChanged",ad:a.getAd()}))});iL(this.I,AM,function(){return void y6(a)});iL(this.I,EM,function(){return void a.N()});iL(this.I,aM,function(){var d,e=oW(a.getAd(),"AdSense");e&&(d=e.Hb);d==null&&a.uiConfig&&(d=a.uiConfig.Hb);d&&a.sb(d,null,null)});this.layout.build()}}; m.ip=function(){this.elapsedTime+=.2;var a=new JM(this.elapsedTime,this.getDuration());jL(this.I,oN,a);this.elapsedTime>=this.getDuration()&&(this.dispatchEvent(X({type:"complete",ad:this.getAd()})),z6(this))};m.init=function(){q6.prototype.init.call(this)};m.start=function(){q6.prototype.start.call(this);!this.K&&u6(this)&&(this.K=!0,this.dispatchEvent(X({type:"contentPauseRequested",ad:this.getAd()})),this.D.start())}; m.Qf=function(){var a=this;q6.prototype.Qf.call(this);this.l.forEach(function(b){if(b=b.getAd())w6(a,b),a.reportEvent("close"),x6(a)})};var t6=function(a){return(a=oW(a,"AdSense"))?a.j:null},gba=function(a){var b=oW(a.getAd(),"AdSense").za,c;b=b!=null?b:(c=a.uiConfig)==null?void 0:c.za;if(c=!!t6(a.getAd()))c=u6(a)&&!a.T;a={text:b,shouldRenderWta:c};a.text==null&&(a.text=QC("\u0394\u03b9\u03b1\u03c6\u03b7\u03bc\u03af\u03c3\u03b5\u03b9\u03c2 Google"));return a}; v6.prototype.Z=function(){var a=this;if(this.layout){var b=this.layout.re().getAd();if(b!=null){this.ad=b;var c=b.getAdId();this.ka.includes(c)||(this.ka.push(c),this.A?this.B(b):this.F.push(function(){return void a.B(b)}))}}}; v6.prototype.B=function(a){a&&(this.ad=a,this.ha||(this.dispatchEvent(X({type:"impression",ad:this.getAd()})),this.ha=!0),w6(this,a),this.reportEvent("impression"),this.reportEvent("creativeView"),this.reportEvent("start"),this.dispatchEvent(X({type:"start",ad:this.getAd()})),x6(this))};v6.prototype.N=function(){if(u6(this)){var a=t6(this.getAd());this.sb(a,null,null)}else q6.prototype.N.call(this)};v6.prototype.Cf=function(){var a=u6(this)?15:0,b=u6(this)?65:0;q6.prototype.Cf.call(this,a,b)}; var u6=function(a){return EW(a.getAd())},y6=function(a){a.dispatchEvent(X({type:"skip",ad:a.getAd()}));a.Qf();z6(a)},z6=function(a){a.D.stop();a.layout&&(a.layout.dispose(),a.layout=null);a.K&&(a.K=!1,a.dispatchEvent(X({type:"contentResumeRequested",ad:a.getAd()})))};v6.prototype.skip=function(){var a;var b=(a=this.getAd())==null?void 0:FW(a);b?(a=sU(b),a=a!==-1&&this.getCurrentTime()>=a):a=!1;a&&y6(this)};v6.prototype.getCurrentTime=function(){return u6(this)?this.elapsedTime:q6.prototype.getCurrentTime.call(this)}; v6.prototype.getDuration=function(){return u6(this)&&this.uiConfig!=null?15:q6.prototype.getDuration.call(this)};v6.prototype.getRemainingTime=function(){var a=this.getDuration(),b=this.getCurrentTime();return u6(this)&&0<=b&&b<=a?a-b:q6.prototype.getRemainingTime.call(this)};var w6=function(a,b){a.j=new XG(ZW(b),a.ba,$W(b));hH(a.j,$X(b,a.M.U))},x6=function(a){a.j=new XG(new Map,a.ba)};v6.prototype.toString=function(){return"adsensenonlinearman"};var B6=function(a,b,c,d,e){hq.call(this);this.B=a;this.D=b;this.M=c;this.C=d;this.ma=e;this.A=!1;this.l=new bK;this.j=null;this.g=a;A6(this,a);N(this,this.l);this.o=[b]};q(B6,hq);m=B6.prototype;m.se=function(){return this.g};m.Yg=function(){var a=this,b,c;return z(function(d){if(d.g==1)return b=C6(a),a.j=null,y(d,b,2);c=d.j;if(!c)throw Error("Called getNextManager when there are no more managers.");A6(a,c);a.g=c;return d.return(a.g)})}; m.Be=function(){var a=this;return z(function(b){return b.g==1?a.A?b.return(null):y(b,C6(a),2):b.return(b.j)})};m.ej=function(){return this.se()===this.B};m.O=function(){this.g.destroy();hq.prototype.O.call(this)}; var hba=function(a){if(!xE(CF)){var b;return(b=a.g.getAd())==null?void 0:zW(b)}var c;return(c=a.o.find(function(d){var e;return(e=zW(d))==null?void 0:e.Hg()}))==null?void 0:zW(c)},C6=function(a){if(a.j)return a.j;var b=hba(a);if(b==null)return Promise.resolve(null);a.j=new Promise(function(c){b.oe(function(d){if(a.Ya())c(null);else{a.o.push.apply(a.o,x(d));d=d[0];var e=d.getAdPodInfo(),f=a.D.getAdPodInfo();if(f){var g=f.getAdPosition();e.adPosition=g;g=f.getIsBumper();e.o=g;g=f.getMaxDuration();e.g= g;g=f.getPodIndex();e.j=g;g=f.getTimeOffset();e.l=g;f=f.getTotalAds();e.totalAds=f;d=a.C.create([d],a.M,a.ma);c(d)}else c(null)}},function(){return void c(null)})});return a.j},A6=function(a,b){a.l.listen(b,["adStarted","start","impression"],function(){a.A=!0;a.l.dispose()})};var iba=[{type:"itag",ze:18},{type:"itag",ze:22}],jba=[{type:"itag",ze:22},{type:"itag",ze:18}];var D6=function(a,b,c){this.currentTime=b;this.duration=c;this.adBreakDuration=a.getMaxDuration();this.adPosition=a.getAdPosition();this.totalAds=a.getTotalAds()};function E6(a,b,c){var d=null,e=c+b;a.ya.forEach(function(f){var g;if(g=f instanceof aW)c===0&&b===0||f instanceof qY?g=!0:(g=f.getSize(),g=g.width<=b&&g.height<=c);g&&(g=c===0&&b===0?0:c-f.getSize().height+b-f.getSize().width,f.getContentType()!=="Flash"&&(d==null?(d=f,e=g):gd&&(d=f,b=e,b.o=!1))}c=eT.getFeatureFlags().audioPosterImageDefaultUrl;return!b&&c?new aW({id:null,size:new ge(0,0),resourceType:"Static",creativeType:"Image",Fa:c,ea:"",Rb:"image",Wf:!0}): b};var G6="start creativeView engagedView impression measurable_impression viewable_impression firstQuartile midpoint thirdQuartile complete".split(" "),lba=G6.concat(),mba=G6.concat(["skipShown","skip"]),H6=function(a){O.call(this);this.G=a;this.o=this.I=this.B=this.H=null;this.D=-1;this.K=!1;this.j=null;this.l=!1;this.A="";this.qa=null;this.g=new bK(this);N(this,this.g);this.F=new Set};q(H6,O);H6.prototype.O=function(){I6(this);O.prototype.O.call(this)}; var I6=function(a){fK(a.g);a.H!=null&&NU(a.H);a.o!=null&&a.o.dispose();a.o=null;a.F.clear();a.D=-1;a.A="";a.K=!1;a.l=!1},oba=function(a,b,c,d,e){I6(a);a.H=c;MU(a.H);a.B=d;a.I=e;a.j=new J6(a.H);a.A=b.Hc;zU()&&(b=uX(),a.g.listen(b,"externalActivityEvent",a.vo),a.g.listen(b,"measurable_impression",a.xo),a.g.listen(b,"viewable_impression",a.Do));a.g.listen(a.H,"timeUpdate",a.vm);a.g.listen(a.H,"loadedmetadata",function(){a.notify((new Cu("loadedMetadata")).type)});a.g.listen(a.H,"durationChange",function(){a.notify((new Cu("durationChange")).type)}); a.g.listen(a.H,"canplay",function(){a.notify((new Cu("adCanPlay")).type)});a.g.listen(a.H,"volumeChange",a.Eo);a.g.listen(a.H,"pause",a.rm);a.g.listen(a.H,"play",a.sm);a.g.listen(a.H,"end",a.uo);a.g.listen(a.H,"beginFullscreen",a.X);a.g.listen(a.H,"endFullscreen",a.T);a.g.listen(a.H,"skip",a.N);a.g.listen(a.H,"skipShown",a.Pj);a.g.listen(a.H,"start",a.Ao);a.g.listen(a.H,"error",a.om);a.g.listen(a.H,"mediaLoadTimeout",a.qm);a.g.listen(a.H,"autoplayDisallowed",a.lm);a.g.listen(a.H,"loaded",function(){return void a.report("loaded")}); nba(a,a.B,a.I)},nba=function(a,b,c){b!=null&&c!=null&&(iL(c,FM,function(){a.notify(gX({type:"videoClicked"}).type)}),iL(c,AM,function(){return void a.N()}),iL(c,BM,function(){return void a.Pj()}),iL(c,$L,function(){return void a.kf()}),iL(c,gM,function(){a.notify(gX({type:"authorIconClicked"}).type)}),iL(c,hM,function(){a.notify(gX({type:"titleClicked"}).type)}),iL(c,bM,function(){a.notify(gX({type:"authorNameClicked"}).type)}),iL(c,qM,function(){a.notify(gX({type:"learnMoreClicked"}).type)}),iL(c, DM,function(d){return void pba(d)}),iL(c,CM,function(d){return void K6(a,d.o,d.C,d.B)}),iL(c,pM,function(){a.notify(gX({type:"iconFallbackImageClosed"}).type)}),iL(c,EM,function(){return void K6(a,b?b.B:null,null)}))};m=H6.prototype;m.notify=function(a){if(this.l||!lba.includes(a))this.F.has(a)&&mba.includes(a)||(this.F.add(a),this.report(a),this.dispatchEvent(a))};m.report=function(a){if(this.B&&this.B.g){if(a==="click")return;a==="learnMoreClicked"&&this.G.report("click")}a!=="error"&&this.G.report(a)}; m.xo=function(a){(a=a.getAdData())&&a.queryId===this.A&&this.notify("measurable_impression")};m.Do=function(a){(a=a.getAdData())&&a.queryId===this.A&&this.notify("viewable_impression")};m.vo=function(a){if(a=a.getAdData()){var b=a.eventName;a=iU(b)&&a.queryId===this.A?b:null;a!=null&&this.l&&!this.F.has(a)&&this.notify(a)}}; m.vm=function(){if(this.H&&this.l){var a=this.H.getDuration();a!==-1&&(this.H.currentTime>=a*.25&&this.notify("firstQuartile"),this.H.currentTime>=a*.5&&this.notify("midpoint"),this.H.currentTime>=a*.75&&this.notify("thirdQuartile"),fH(this.G,this.H.getCurrentTime(),a*1E3));L6(this)}};var L6=function(a){a.H&&!(a.D<0||a.K)&&(a.H.currentTime>=a.D||a.H.o)&&a.l&&(a.K=!0,a.notify("engagedView"))};m=H6.prototype; m.Ao=function(){this.H&&this.j&&(this.l=!0,this.notify("impression"),this.notify("creativeView"),this.notify("start"),this.j.g=this.H.muted,this.j.volume=this.H.getVolume(),(this.j.g||this.j.volume===0)&&this.notify("mute"))};m.Eo=function(){if(this.H&&this.j){var a=this.H.muted,b=this.H.getVolume(),c=this.j;c.g&&!a||!a&&c.volume===0&&b>0?this.notify("unmute"):this.j.muted(a,b)&&this.notify("mute");this.j.g=a;this.j.volume=b}}; m.rm=function(){this.H&&this.j&&(this.H.o?(L6(this),this.notify("complete")):this.H.l&&(this.j.j=!0,this.notify("pause")))};m.sm=function(){this.j&&this.j.j&&(this.j.j=!1,this.notify("resume"))};m.uo=function(){L6(this);this.notify("complete")};m.li=function(){this.notify("click")};m.om=function(){this.notify("error")};m.qm=function(){this.notify("mediaLoadTimeout")};m.lm=function(){this.notify("autoplayDisallowed")};m.Pj=function(){this.notify("skipShown")}; var pba=function(a){a.L.forEach(function(b){mU(b)})},K6=function(a,b,c,d){d=d===void 0?[]:d;var e={};b=(e.clickThroughUrl=b,e.attributionParams=c,e);a.dispatchEvent(gX({type:"videoIconClicked",data:b}));d.forEach(function(f){mU(f)})};H6.prototype.N=function(){this.notify("skip")};H6.prototype.kf=function(){this.notify("skip")};H6.prototype.X=function(){this.notify("fullscreen")};H6.prototype.T=function(){this.notify("exitFullscreen")};var J6=function(a){this.j=!1;this.g=a.muted;this.volume=a.getVolume()}; J6.prototype.muted=function(a,b){return!this.g&&a||this.volume!==0&&b===0};var M6=function(a,b){b=b===void 0?null:b;Cu.call(this,a);this.data=b};q(M6,Cu);var O6=function(a){O.call(this);this.l=a;this.j=!1;this.o=new bK(this);N(this,this.o);this.g=new N6;this.o.listen(this.l,"nativeUi",this.A)};q(O6,O);var qba=function(a){a.j||(a.j=!0,P6(a))},rba=function(a,b){a.g.j=b;P6(a)};O6.prototype.O=function(){this.g=new N6;P6(this);this.j=!1;O.prototype.O.call(this)};var P6=function(a){if(a.j){var b=a.g;var c={},d={};b=(d.iconsView=b.j,d.skipView=(c.state=b.g,c.skipText=b.Fe,c),d);LU(a.l,"nativeUi","updateUiState",b)}}; O6.prototype.A=function(a){switch(a.messageType){case "iconClicked":this.dispatchEvent(new M6("iconClicked",a.g));break;case "iconRendered":this.dispatchEvent(new M6("iconRendered",a.g));break;case "skipButtonClicked":this.dispatchEvent(new M6("skipButtonClicked"))}};var N6=function(){this.Fe="";this.j={};this.g="skipStateHidden"};var sba=["image/jpeg","image/jpg","image/png"],Q6=function(a,b,c){hq.call(this);this.g=a;this.I=b;this.Ea=c.filter(function(d){var e=d.D;return e!=null&&sba.includes(e.toLowerCase())&&d.l!=null});this.j=new bK(this);N(this,this.j);this.j.listen(this.g,"iconClicked",this.l);this.j.listen(this.g,"iconRendered",this.o);a={};rba(this.g,(a.icons=this.Ea.map(function(d,e){return raa(d,e)}),a.iconsFallbackImageCloseText="\u039f\u039a",a.iconsFallbackImageErrorText="\u0394\u03b5\u03bd \u03ae\u03c4\u03b1\u03bd \u03b4\u03c5\u03bd\u03b1\u03c4\u03ae \u03b7 \u03c6\u03cc\u03c1\u03c4\u03c9\u03c3\u03b7 \u03c4\u03c9\u03bd \u03c0\u03bb\u03b7\u03c1\u03bf\u03c6\u03bf\u03c1\u03b9\u03ce\u03bd \u03c0\u03bf\u03c5 \u03b6\u03b7\u03c4\u03ae\u03b8\u03b7\u03ba\u03b1\u03bd.", a))};q(Q6,hq);Q6.prototype.l=function(a){(a=R6(this,a.data))&&jL(this.I,CM,a)};Q6.prototype.o=function(a){(a=R6(this,a.data))&&jL(this.I,DM,a)};var R6=function(a,b){if(!b||b.id==null)return null;b=b.id;return b<0||b>=a.Ea.length?null:a.Ea[b]};var T6=function(a,b,c,d){d=d===void 0?!1:d;hq.call(this);this.j=a;this.I=b;this.g=c;this.Qc=d;this.currentTimeSeconds=0;a=this.g;this.state=a<0?1:a===0?3:2;this.l=new bK(this);N(this,this.l);tba(this);S6(this);this.state===3&&jL(this.I,BM,null)};q(T6,hq);var tba=function(a){a.l.listen(a.j,"skipButtonClicked",function(){a.state===3&&jL(a.I,AM,null)});iL(a.I,oN,a.o,a);iq(a,function(){fL(a.I.g,oN.toString(),a.o,a)})}; T6.prototype.o=function(a){!a||a.durationSeconds<=0||this.g>=a.durationSeconds||this.state===1||this.state===3||(this.currentTimeSeconds=a.currentTimeSeconds,this.currentTimeSeconds>this.g?(this.state=3,jL(this.I,BM,null)):this.state=2,S6(this))}; var S6=function(a){var b="skipStateHidden",c="";if(a.state===3)b="skipStateSkippable",c=uc(a.Qc?UN():TN());else if(a.state===2){b="skipStatePreSkip";c=a.Qc;var d=Math.ceil(a.g-a.currentTimeSeconds),e=d.toString();d>=60&&(e=YF(d));c=RN({ei:e,Qc:c})}a=a.j;if(a.g.g!==b||a.g.Fe!==c)a.g.g=b,a.g.Fe=c,P6(a)};var U6=function(a,b,c){hq.call(this);this.g=a;this.I=b;this.config=c;this.j=!1};q(U6,hq);m=U6.prototype;m.build=function(){var a=this;iL(this.I,BM,this.Qj,this);iq(this,function(){fL(a.I.g,BM.toString(),a.Qj,a)});var b=gT("promoskip");b=new T6(this.g,this.I,this.config.C,b);N(this,b);b=new Q6(this.g,this.I,this.config.Ea);N(this,b);qba(this.g)};m.kf=function(){this.j&&jL(this.I,$L,null)};m.jf=function(){};m.getConfig=function(){return this.config};m.Gh=function(){};m.Qj=function(){this.j=!0};var V6=function(a,b,c,d){d=d===void 0?!1:d;m6.call(this,a,b,c);var e=this;this.N=d;this.qa=this.ha=this.l=this.H=null;this.Z=this.D=!1;this.ub=this.sa=this.F=1;this.B=null;this.T=!1;this.ba=this.wb=null;this.Wa=!1;this.wa=b.wa;this.I=b.W.tc();this.A=new H6(this.j);this.ka=new aS(this.I,this.getAd().isSkippable());this.Gb=function(){var f={};return f.currentTime=e.getCurrentTime(),f.duration=e.getDuration(),f.isPlaying=!0,f.isVpaid=lW(e.getAd()),f.isYouTube=!1,f.volume=e.getVolume(),f}};q(V6,m6); V6.prototype.O=function(){xX(this.getAd());var a;(a=this.l)==null||a.dispose();this.l=null;this.I.clear();gq(this.A);gq(this.ha);gq(this.j);this.Z=!1;if(this.D){a=this.D=!1;this.M.W!=null&&(a=this.M.U.Ec);var b;(b=this.H)==null||b.reset(a)}var c;(c=this.H)==null||c.unload();W6(this.wa,this.H);m6.prototype.O.call(this)}; var X6=function(a,b,c){if(!a.D){a.D=!0;wX(a.getAd(),a.Gb);uX().H=b;if(a.G!=null){var d=a.G;d.l=b;d.o.listen(d.l,"start",d.T)}a.ha=new J4(b);d=a.ha;var e;(e=d.g)==null||fK(e);d.g=new bK(d);N(d,d.g);d.g.listen(d.H,"play",d.l);d.g.listen(d.H,"start",d.o);U(T.getInstance(),"mts",String(a.ma.loadVideoTimeout));e=a.ma.loadVideoTimeout;e>0&&(b.F=e);e=a.getAd().j;e=e instanceof LH?e.g.length>0?e.g[0]:null:null;d=a.getAd().Fb;d.j=Date.now();d.g=null;QU(b,c.url||"",e,a.getAd().getAdPodInfo());eT.C&&eT.K&&(b= {},c=(b.mediaUrl=c.url,b),a.dispatchEvent(X({type:"mediaUrlPinged",ad:a.getAd(),data:c})))}},uba=function(a,b){if(a.M.U.ud){var c=new O6(a.M.ae);b=new U6(c,a.I,b);N(b,c);return b}c=document.body;var d=a.getAd(),e=a.M.W.Oa();e=(e=e?Jf(e):null)?kba(d,e):null;var f=L4(d,RW(d));d=QW(d,a.ma.disableUi,f);b=e?new X4(e,b,a.I,c,d,!0,a.N,a.M.U):new W4(b,a.I,c,d,!0,a.N,a.M.U);iL(a.I,wM,function(){Y6(a)});iL(a.I,VL,function(){a.pause()});iL(a.I,WL,function(){a.resume()});iL(a.I,XL,function(g){a.sb(g,null,null)}); iL(a.I,YL,function(g){var h={};a.dispatchEvent(X({type:"updateGfpCookie",ad:a.getAd(),data:(h.gfpCookieUserEnabled=g.j,h.gfpCookieClearData=g.g,h)}))});return b},Z6=function(a,b){a.g.listen(b,"loaded",a.Bo);a.g.listen(b,"timeUpdate",a.Co);a.g.listen(b,"waiting",a.Fo);a.g.listen(b,"volumeChange",function(){var c=b.getVolume();c!==a.F&&(a.F=c,a.dispatchEvent(X({type:"volumeChange",ad:a.getAd(),data:{volume:c}})),c===0&&a.dispatchEvent(X({type:"mute",ad:a.getAd()})))});a.g.listen(b,"focusSkipButton", a.wo);a.g.listen(b,"seeked",function(){return void a.dispatchEvent("seeked")});a.g.listen(b,"seeking",function(){return void a.dispatchEvent("seeking")})};m=V6.prototype; m.init=function(){if(this.o)$6(this);else{this.o=!0;var a=this.getAd().isSkippable()&&!EU(this.M.U)?fV(qS,null,"skippablevideo"):null;if(a)a7(this,this.H,qS,a);else{a:{a=this.getAd();var b=this.getAd().j,c=oW(a,"GoogleHostedMediaExtension");if(c){var d=iba,e=HU(this.M.U);kg()&&e!==1&&e!==2||(d=jba);c=(new EL(d,!1,this.ma.bitrate,this.M.U.kc)).select(c.j,b,eW(jE));if(c.length>0)for(c=w(c),d=c.next();!d.done;d=c.next())if(d=d.value,d instanceof ZH){a=new QY(null,d.g,d.Ra,0,0,0,d.getWidth()||0,d.getHeight()|| 0,d.getMediaUrl(),null);break a}}c=AU(this.ma.mimeTypes||[]);a=(new AL({Wb:this.ma.bitrate,mimeTypes:c,kc:this.M.U.kc})).select(iW(a),b,eW(jE));a=a.length>0?a[0]:null}this.B=a;this.B===null?b7(this,fV(zS)):(this.getAd().g.g=this.B,$6(this),vba(this,this.B))}}};m.skip=function(){var a;if(a=this.H)if(a=this.getAd().isSkippable())a=fT(),a=ZS(a,"enableSkipApi")||this.getAd().disableUi;a&&(this.l!=null?this.l.kf():(this.reportEvent("skip"),c7(this)))}; m.start=function(){if(this.wb){var a=this.H;a7(this,a,JS,fV(JS,a.getError()))}else if(m6.prototype.start.call(this),this.B!==null)try{a:if(a=this.B,this.dispatchEvent(X({type:"contentPauseRequested",ad:this.getAd()})),this.H||(this.H=d7(this.wa),this.H||(e7(this.wa,this.M.U.Ec),this.H=d7(this.wa))),this.H){var b=this.getAd().j;if(b instanceof LH){var c=PQ(b);c&&(this.getAd().ba=c)}if(this.ma.useVideoAdUi||this.M.U.ud){var d=this.getAd(),e=this.ma,f=this.M.U,g=d.hh(),h=e.useStyledLinearAds;if(BU(f))var k= !1;else{var l;if(!(l=QI()&&!d.isCustomClickTrackingUsed(f))){var n,p;(p=d.j instanceof LH&&LQ(d.j)||OW(d))||(p=d.j instanceof LH&&MQ(d.j)?OQ(d.j):!1);(n=p)||(n=d.j instanceof LH&&MQ(d.j)?NQ(d.j):!1);l=n||h}k=l?!0:!1}var r=k;var t=(pW(d).get("AdSense")||[]).pop(),u=t!=null&&t.sf,A=t?t.j:null,v=r||u||e.useStyledLinearAds;if(PW(d)){var E=RW(d);if(I4(E)){var D,K;var qa=(K=((D=pW(d).get("GpidWtaExtension"))!=null?D:[])[0])==null?void 0:K.j}var ca=RW(d);e=qa;var Fc=wW(d),rc=new H4;rc.Ma=Fc;rc.Ea=ca;rc.j= !1;rc.l=!1;rc.g=!1;rc.o=!1;rc.A=!1;rc.C=-1;e&&(rc.L=e);var Rg=rc}else if(v){var sk=G(HW(d)),zn=r||u||e.useLearnMoreButton;if(F(sk)||!LI(sk))zn=!1;ca=zn;var Uf=G4(d,f.yc,0);Uf.g=ca;Uf.P=e.g;!g||F4(Uf,e.uiElements);I4(RW(d))||F(G(A))||f.Ld||(Uf.B=A);Rg=Uf}else{c:{g=["ADSENSE","ADSENSE/ADX","402"];for(var tk=xW(d),Sg=tk.length-1;Sg>=0;Sg--)if(tk[Sg]!=="UNKNOWN"){var Ub=g.includes(tk[Sg]);break c}Ub=!1}if(Ub){var uk=G4(d,f.yc);uk.A=!0;I4(RW(d))||F(G(A))||(uk.B=A);var Tg=uk}else{var Ug=G4(d,f.yc);Ug.o= !1;Ug.j=!1;Ug.l=!1;F4(Ug,e.uiElements);Tg=Ug}Rg=Tg}this.ba=Rg;this.l=uba(this,Rg);this.l.build();if(this.getAd().ba!=null&&Rg.P){var sb=this.ka,mi=this.getAd().j;sb.g=mi instanceof LH?QQ(mi):null;sb.j=mi instanceof LH?RQ(mi):null;sb.g&&sb.g.g&&(sb.g.title&&jL(sb.l,UL,sb.g.title),sb.j&&sb.j.title&&jL(sb.l,SL,sb.j.title),sb.j&&sb.j.g&&jL(sb.l,RL,sb.j.g))}var As=this.getAd(),An=Rg.getUiElements();As.uiElements=An}var vk=this.H;LU(vk.j,vk.g,"activate");var ni=this.H,Bn;oba(this.A,this.getAd(),ni,((Bn= this.l)==null?void 0:Bn.getConfig())||null,this.I);this.g.listen(this.A,"adCanPlay durationChange engagedView authorIconClicked authorNameClicked videoClicked videoIconClicked iconFallbackImageClosed learnMoreClicked muteClicked titleClicked unmuteClicked start skipShown loadedMetadata".split(" "),this.K);var Cn=new mH(this.getAd().j,this.j,ni,zU(),this.getAd().Hc);pH(Cn);N(this,Cn);Z6(this,ni);dK(this.g,this.A,"impression",this.K,!1,this);wba(this,ni);X6(this,this.H,a);var Dn=this.setVolume,oi=oW(this.getAd(), "AdSense");Dn.call(this,oi!=null&&oi.uiConfig!=null&&oi.uiConfig.je?0:this.ub);this.reportEvent("show_ad");this.dispatchEvent(X({type:"show_ad",ad:this.getAd()}));this.M.W.Vh();try{n6(this)}catch(wk){a7(this,this.H,nS,wk);break a}this.H.play()}else a7(this,this.H,wS,Error("Could not claim video display."))}catch(wk){b7(this,wk)}};m.getVolume=function(){return this.D&&this.H?this.H.muted?0:this.H.getVolume():this.F};m.setVolume=function(a){this.D&&this.H?this.H.setVolume(a):this.F=a;this.ub=a}; m.pause=function(){this.H&&this.H.pause()};m.resume=function(){this.H&&this.H.play()};m.getCurrentTime=function(){return this.H?this.H.getCurrentTime():-1};m.getDuration=function(){return this.H?this.H.getDuration():-2};m.getRemainingTime=function(){var a=this.getDuration(),b=this.getCurrentTime();return a>=0&&b>=0?Math.max(0,a-b):-1}; var a7=function(a,b,c,d){a.getAd().Zd();f7(a,b,d);jV(a,c,d);a.destroy()},f7=function(a,b,c){c=fV(JS,c);b=UX(c,a.M.U,a.getAd(),b);a.Ya()||a.Wa||(a.Wa=!0,a.Tb(c,b))},wba=function(a,b){hH(a.j,$X(a.getAd(),a.M.U,b));a.M.Ge.forEach(function(d){var e=a.j;d=d.create();e.C.push(d)});var c=a.getAd().g;c!=null&&c instanceof YV&&(fU.forEach(function(d){dK(a.g,a.A,d,a.K,!1,a)}),c=a.g,c.listen(a.A,"error",function(){a7(a,b,JS,fV(JS,b.getError()))}),c.listen(a.A,"mediaLoadTimeout",function(){a.getAd().Fb.g=Date.now(); a7(a,b,CS,fV(CS,null,(a.ma.loadVideoTimeout/1E3).toString()))}),c.listen(a.A,"autoplayDisallowed",function(){var d=fV(JS),e=fV(mS);d.g=e;a7(a,b,JS,d)}));a.getAd().isSkippable()&&(a.A.D=30)},g7=function(a){if(a.T){a.dispatchEvent(X({type:"click",ad:a.getAd()}));var b=a.getAd(),c=HW(b);!a.ma.disableClickThrough&&c&&((new P(c)).o||(c=j0(c)),oL(c,IW(b)))}}; V6.prototype.K=function(a){switch(a.type){case "start":o6(this);this.T=!0;this.l&&this.l.Gh();h7(this,"start");bF(T.getInstance(),"ff");a=this.A;var b=this.M.W.Yi();b||a.B||!a.H||a.g.listen(a.H,"click",a.li);if(b){a.o=new A4;a.g.listen(a.o,"click",a.li,!1);var c=a.o;b==null||c.F||(c.g=b,uaa(c),c.F=!0)}a.I&&iL(a.I,cM,a.li,a);this.dispatchEvent(X({type:"start",ad:this.getAd()}));break;case "impression":this.dispatchEvent(X({type:"impression",ad:this.getAd()}));break;case "viewable_impression":this.dispatchEvent(X({type:"viewable_impression", ad:this.getAd()}));break;case "measurable_impression":this.dispatchEvent(X({type:"measurable_impression",ad:this.getAd()}));break;case "pause":jL(this.I,GM,!0);this.dispatchEvent(X({type:"pause",ad:this.getAd()}));break;case "resume":jL(this.I,GM,!1);this.dispatchEvent(X({type:"resume",ad:this.getAd()}));break;case "firstQuartile":this.dispatchEvent(X({type:"firstQuartile",ad:this.getAd()}));break;case "midpoint":this.dispatchEvent(X({type:"midpoint",ad:this.getAd()}));break;case "thirdQuartile":this.dispatchEvent(X({type:"thirdQuartile", ad:this.getAd()}));break;case "complete":this.dispatchEvent(X({type:"complete",ad:this.getAd()}));this.destroy();break;case "loadedMetadata":this.dispatchEvent(X({type:"loadedMetadata",ad:this.getAd()}));break;case "durationChange":this.dispatchEvent(X({type:"durationChange",ad:this.getAd()}));break;case "adCanPlay":this.dispatchEvent(X({type:"adCanPlay",ad:this.getAd()}));break;case "click":h7(this,"click");g7(this);this.pause();break;case "engagedView":this.dispatchEvent(X({type:"engagedView",ad:this.getAd()})); break;case "videoClicked":Y6(this);this.dispatchEvent(fX({type:"videoClicked"}));break;case "videoIconClicked":this.dispatchEvent(a);(a=a.getAdData())&&!this.M.U.rg&&this.sb(a.clickThroughUrl,a.attributionParams,null);this.pause();break;case "iconFallbackImageClosed":this.dispatchEvent(X({type:"iconFallbackImageClosed",ad:this.getAd()}));break;case "authorIconClicked":i7(this);break;case "authorNameClicked":i7(this);break;case "learnMoreClicked":h7(this,"learn_more_click");g7(this);this.pause();break; case "titleClicked":b=this.ka;if(b.g&&b.g.g)if(a=b.g.id,b=b.o,b=b===void 0?!1:b,a==null)a=null;else{c=new P("//www.youtube.com/watch");var d=c.g;d.set("v",a);d.set("feature",b?"trueview-instream":"instream");NB(c,d);a=c.toString()}else a=null;a!==null&&(this.pause(),this.sb(a,null,null));break;case "muteClicked":this.sa=this.F;this.setVolume(0);break;case "unmuteClicked":this.setVolume(this.sa);break;case "skipShown":this.dispatchEvent(X({type:"skippableStateChanged",ad:this.getAd()}));break;case "skip":c7(this); break;case "fullscreen":this.dispatchEvent(X({type:"fullscreen",ad:this.getAd()}));break;case "exitFullscreen":this.dispatchEvent(X({type:"exitFullscreen",ad:this.getAd()}));break;case "fully_viewable_audible_half_duration_impression":this.dispatchEvent(X({type:"fully_viewable_audible_half_duration_impression",ad:this.getAd()}))}};var Y6=function(a){a.H&&(a.H.l?a.resume():a.pause())},c7=function(a){a.dispatchEvent(X({type:"skip",ad:a.getAd()}));a.destroy()};m=V6.prototype; m.Cd=function(){h7(this,"external_click");if(this.getAd().disableUi&&this.T){var a={};a=(a.url=HW(this.getAd()),a.attributionParams=IW(this.getAd()),a);this.reportEvent("click");this.dispatchEvent(X({type:"click",ad:this.getAd(),data:a}))}this.getAd();this.pause()};m.Bo=function(){this.getAd().Fb.g=Date.now()};m.ml=function(a,b){return b>=0&&a>=0}; m.Co=function(){var a=this.getCurrentTime(),b=this.getDuration();if(this.ml(a,b)){var c=new D6(this.getAd().getAdPodInfo(),a,b);this.dispatchEvent(X({type:"adProgress",ad:this.getAd(),data:c}))}if(this.l!=null&&b>=0&&a>=0){if(!(this.Z||this.getAd().F<3)&&this.H){c=this.H.getDuration();var d=JW(this.getAd());c=Math.abs(c-d);c>2&&(c=fV(FS,null,Number(c).toFixed(2)),d=UX(c,this.M.U,this.getAd(),this.H),this.Tb(c,d));this.Z=!0}c=this.getAd().getAdPodInfo();a=new JM(a,b,this.H?this.H.duration:-1,c.getAdPosition(), c.getTotalAds());jL(this.I,oN,a)}};m.wo=function(){this.l&&jL(this.I,oM,null)};m.Fo=function(){this.dispatchEvent(X({type:"adBuffering",ad:this.getAd()}))};var i7=function(a){var b,c=a.ka;if(c.g&&c.g.g)if(c.j){var d=d===void 0?null:d;(b=b===void 0?null:b)||(b="//www.youtube.com/");d?b+=d:(c=G(c.j.id),b=F(c)?null:b+"channel/"+(c.lastIndexOf("UC",0)==0&&c.length==24?c:"UC"+c))}else b=null;else b=null;b&&(a.pause(),a.sb(b,null,null))}; V6.prototype.jc=function(){m6.prototype.jc.call(this);var a;(a=this.l)==null||a.jf()};V6.prototype.resize=function(a,b){m6.prototype.resize.call(this,a,b);var c;(c=this.l)==null||c.jf()}; var vba=function(a,b){a.ma.enablePreloading&&yU(a.M.U.Ec)&&(a.H=d7(a.wa),a.H&&(Z6(a,a.H),a.g.listen(a.H,"error",function(c){a.wb=c}),MU(a.H),X6(a,a.H,b)))},b7=function(a,b){f7(a,a.H,b);b instanceof dS?a.dispatchEvent(new hV(b)):jV(a,JS,b);a.destroy()},$6=function(a){a.dispatchEvent(X({type:"loaded",ad:a.getAd()}));a.dispatchEvent(X({type:"adMetadata",ad:a.getAd()}))},h7=function(a,b){var c,d=(c=a.getAd())==null?void 0:c.j;if(d&&(MQ(d)||a.N)){c=a.ba?a.ba.g:"null";var e={},f=oU.getInstance(),g=f.report; e.evt=b;b=(b=MQ(d))?(b=b.g)?b:"noformat":"noextension";g.call(f,170,(e.format=b,e.clicks_allowed=a.T,e.ux_refresh=a.N,e.learn_more_enabled=c,e))}};V6.prototype.toString=function(){return"videoman"};var j7=function(){V6.apply(this,arguments)};q(j7,V6);j7.prototype.K=function(a){switch(a.type){case "complete":this.dispatchEvent(X({type:"complete",ad:this.getAd()}));break;default:V6.prototype.K.call(this,a)}};j7.prototype.ml=function(a,b){return(b>=0||b===-2)&&a>=0};j7.prototype.getDuration=function(){return V6.prototype.getDuration.call(this)+KW(this.getAd())};var k7=function(a,b){hq.call(this);this.xk=a;this.g=b;this.la=Se(document,"IFRAME");zf(this.la,"width","100%");zf(this.la,"height","100%")};q(k7,hq);var xba=function(a,b){b.appendChild(a.la);iq(a,function(){return Xe(a.la)})},yba=function(a,b,c){var d,e,f,g;return z(function(h){if(h.g==1)return d={},e=(d.gdpr=c.gdprApplies,d.gdpr_consent=c.Lf,d.addtl_consent=c.addtlConsent,d),f=nL,g=a.la,y(h,mL(a.xk,b,e,a.g),2);f(g,h.j);h.g=0})};k7.prototype.show=function(){Of(this.la,!0)}; k7.prototype.fa=function(){Of(this.la,!1)};var l7=function(a,b){hq.call(this);var c=this;this.la=a;this.C=b;this.o=this.A=!1;this.j=[];this.g=[];this.l=function(d){d.source===c.la.contentWindow&&(c.o||d.data.type==="fledge_player_loaded"?c.C(d.data):c.g.push(d.data))};window.addEventListener("message",this.l,!0);iq(this,function(){window.removeEventListener("message",c.l,!0)})};q(l7,hq);l7.prototype.postMessage=function(a){if(this.A){var b;(b=this.la.contentWindow)==null||b.postMessage(a,"*")}else this.j.push(a)}; var zba=function(a){for(a.o=!0;a.g.length>0;){var b=a.g.shift();b&&a.C(b)}};var m7=function(a,b,c,d){d=d===void 0?navigator:d;O.call(this);var e=this;this.ad=a;this.M=b;this.ma=c;this.xk=d;this.Ka=!1;this.Hl=this.Og=this.currentTime=this.Ik=0;this.so=function(f){switch(f.type){case "fledge_player_ready":f=e.Id;for(f.A=!0;f.j.length>0;){var g=f.j.shift();g&&f.postMessage(g)}break;case "fledge_player_loaded":clearTimeout(e.Hl);e.getAd().Fb.g=Date.now();break;case "fledge_player_progress":g=f.data;f=g.currentTime;g=g.duration;e.Og!==g&&e.dispatchEvent(X({type:"durationChange", ad:e.getAd()}));e.currentTime=f;e.Og=g;f=new D6(e.getAd().getAdPodInfo(),f,g);e.dispatchEvent(X({type:"adProgress",ad:e.getAd(),data:f}));break;case "fledge_player_complete":if(f=f.data.error){jV(e,uS,Error(f));e.destroy();break}e.dispatchEvent(X({type:"complete",ad:e.getAd()}));e.destroy();break;case "fledge_player_on_playback_change":f.data.enable?e.dispatchEvent(X({type:"resume",ad:e.getAd()})):e.dispatchEvent(X({type:"pause",ad:e.getAd()}));break;case "fledge_player_on_volume_change":f=f.data.volume, e.dispatchEvent(X({type:"volumeChange",ad:e.getAd(),data:{volume:f}}))}};this.yl=this.M.W.Oa();a=this.yl.getBoundingClientRect();this.Xe=new k7(d,new ge(a.width,a.height));N(this,this.Xe);this.Id=new l7(this.Xe.la,this.so);N(this,this.Id);this.sk=new hW(null,null,"UNKNOWN",null,null,null,null,null,0,[],[],[],[],new Map,new uI(new GJ({ya:[new qI({xc:new mI})]})));this.sk.Pb=this.ad.getAdPodInfo()};q(m7,O);m=m7.prototype;m.getAd=function(){return this.sk};m.jd=function(){return!0}; m.init=function(){var a=this,b;return z(function(c){switch(c.g){case 1:if(a.Ka)return c.return();var d=a.getAd().Fb;d.j=Date.now();d.g=null;a.Xe.fa();c.l=2;return y(c,yba(a.Xe,a.ad.g,{gdprApplies:qT(a.M.U.Aa),Lf:rT(a.M.U.Aa),addtlConsent:sT(a.M.U.Aa)}),4);case 4:c.g=3;c.l=0;break;case 2:return b=xa(c),jV(a,uS,b),a.destroy(),c.return();case 3:xba(a.Xe,a.yl),a.Ka=!0,c.g=0}})}; m.start=function(){var a=this;return z(function(b){if(b.g==1)return y(b,a.init(),2);a.dispatchEvent(X({type:"contentPauseRequested",ad:a.getAd()}));a.M.W.Uc();a.Xe.show();a.Id.postMessage({type:"fledge_player_set_playback",data:{enable:!0}});zba(a.Id);a.Hl=setTimeout(function(){a.getAd().Fb.g=Date.now();jV(a,CS,void 0);a.destroy()},a.ma.loadVideoTimeout);b.g=0})};m.pause=function(){this.Id.postMessage({type:"fledge_player_set_playback",data:{enable:!1}})}; m.resume=function(){this.Id.postMessage({type:"fledge_player_set_playback",data:{enable:!0}})};m.destroy=function(){this.dispatchEvent(X({type:"contentResumeRequested",ad:this.getAd()}));this.dispatchEvent(X({type:"allAdsCompleted",ad:this.getAd()}));this.dispose();return Promise.resolve()};m.skip=function(){};m.setVolume=function(a){this.Ik=a;this.Id.postMessage({type:"fledge_player_set_volume",data:{volume:a}})};m.getVolume=function(){return this.Ik};m.mg=function(){this.Id.postMessage({type:"fledge_player_abandon"})}; m.getCurrentTime=function(){return this.currentTime};m.getDuration=function(){return this.Og};m.getRemainingTime=function(){return this.Og-this.currentTime};m.jc=function(){};m.resize=function(){};m.Cd=function(){};m.collapse=function(){};m.expand=function(){};m.reportEvent=function(){};m.Tb=function(){};m.sb=function(){};m.pd=function(){};m.Sc=function(){};m.toString=function(){return"fledgeman"};var n7=function(a){hq.call(this);this.W=a};q(n7,hq);m=n7.prototype;m.Yi=function(){return this.W.Yi()};m.Oa=function(){return this.W.Oa()};m.te=function(){return this.W.te()};m.fa=function(){};m.Vh=function(){this.W.Vh()};m.eh=function(){this.W.fa()};m.Uc=function(){this.W.Uc()};m.fd=function(){this.W.fd()};m.tc=function(){return this.W.tc()};m.yj=function(a){this.W.yj(a)};m.zj=function(){this.W.zj()};var p7=function(a,b,c){b6.call(this,a.se());this.g=a;this.M=b;this.ma=c;this.l=this.j=this.D=this.G=this.o=!1;this.F=o7(this,this.Y);this.volume=1;var d;this.B=((d=this.M.Na.j)==null?void 0:d.width)||-1;var e;this.A=((e=this.M.Na.j)==null?void 0:e.height)||-1};q(p7,b6);p7.prototype.resize=function(a,b){this.B=a;this.A=b;b6.prototype.resize.call(this,a,b)};p7.prototype.start=function(){this.D=!0;q7(this)};var q7=function(a){a.j||a.l||(a.j=!0,a.Y.jd()||r7(a),b6.prototype.start.call(a))}; p7.prototype.setVolume=function(a){this.volume=a;b6.prototype.setVolume.call(this,a)};p7.prototype.destroy=function(){this.g.dispose();return b6.prototype.destroy.call(this)};p7.prototype.O=function(){b6.prototype.O.call(this);this.Y.dispose()}; var Aba=function(a,b){var c,d,e;return z(function(f){if(f.g==1)return a.l=!0,c=b.getError()||fV(JS),y(f,a.g.Be(),2);(d=f.j)?(e=fX({type:"log",data:c}),a.dispatchEvent(e)):a.dispatchEvent(b);a.Y.destroy();f.g=0})},Bba=function(a,b){var c,d;return z(function(e){switch(e.g){case 1:return y(e,a.g.Be(),2);case 2:c=e.j;case 3:return c&&c.Ya()?y(e,a.g.Yg(),6):c?y(e,a.g.Yg(),8):(s7(a,c),a.dispatchEvent(b),a.dispose(),e.return());case 6:return y(e,a.g.Be(),7);case 7:c=e.j;e.g=3;break;case 8:d=e.j,s7(a,d), a.Y.Ya()||a.Y.dispose(),a.Y=d,a.l=!1,a.j=!1,a.D?(t7(a),q7(a)):t7(a),e.g=0}})},Cba=function(a){var b;return z(function(c){if(c.g==1)return y(c,a.g.Be(),2);(b=c.j)?b.jd()||r7(a):r7(a);c.g=0})},r7=function(a){!a.G&&a.o&&(a.G=!0,a.dispatchEvent(X({type:"contentResumeRequested",ad:a.getAd()})))},t7=function(a){if(a.g.ej())throw Error("1st manager initialization is done by publisher calling ad pod manager api.");var b;(b=a.F)==null||b.dispose();a.F=o7(a,a.Y);a.setVolume(a.volume);a.resize(a.B,a.A);a.init()}, Eba=function(a,b,c){c.listen(b,a6,function(d){return a.dispatchEvent(d)});c.listen(b,"contentResumeRequested",function(){return void Cba(a)});c.listen(b,"adError",function(d){return void Aba(a,d)});c.listen(b,"allAdsCompleted",function(d){return void Bba(a,d)});c.listen(b,"contentPauseRequested",function(){a.o||(a.dispatchEvent(X({type:"contentPauseRequested",ad:a.getAd()})),a.o=!0)});c.listen(b,"impression",function(){return void Dba(a)})},Dba=function(a){var b;return z(function(c){if(c.g==1)return y(c, a.g.Be(),2);(b=c.j)&&a.ma.enablePreloading&&yU(a.M.U.Ec)&&(Fba(a,b),b.setVolume(a.getVolume()),b.init());c.g=0})},o7=function(a,b){var c=new bK(b);N(a,c);Eba(a,b,c);return c},s7=function(a,b){b?b.jd()||a.M.W.eh():(a.M.W.eh(),a.M.W.fd())},Fba=function(a,b){eT.C&&eT.K&&(new bK(b)).Nd(b,"mediaUrlPinged",function(c){return a.dispatchEvent(c)})};p7.prototype.pd=function(){this.Y.pd()};p7.prototype.Sc=function(){this.Y.Sc()};function Gba(a){if(!a)return null;try{var b=JSON.parse(a.oa)}catch(c){return null}return Hba(b)?b:null}var Hba=cg({_width_:Zf,_height_:Zf,_should_resize_:dg(ag),_resizing_threshold_:dg(Zf)});var u7=function(a){var b=a.ad;var c=a.M;a=a.ma;m6.call(this,b,c,a);var d=this;this.T=null;this.Z=!1;this.K=.4;this.currentTime=-1;this.A=null;this.B=this.D=this.F=!1;this.layout=null;this.N=Iba(b);if(this.oa=Gba(b.g)){this.T=new ge(this.oa._width_,this.oa._height_);var e;this.Z=(e=this.oa._should_resize_)!=null?e:!1;this.K=this.oa._resizing_threshold_!=null&&this.oa._resizing_threshold_>0?this.oa._resizing_threshold_:.4}this.ba=a.loadVideoTimeout!==-1?a.loadVideoTimeout:8E3;this.l=new Ev(200);N(this, this.l);this.g.listen(this.l,"tick",function(){var f=d.getDuration();d.currentTime+=.2;var g=d.currentTime>=f;d.currentTime=Math.min(f,d.currentTime);f=new D6(d.getAd().getAdPodInfo(),d.currentTime,f);d.dispatchEvent(X({type:"adProgress",ad:d.getAd(),data:f}));f=new JM(d.currentTime,d.getDuration());jL(d.I,oN,f);g&&(d.l.stop(),p6(d,"complete"),d.destroy())});this.I=c.W.tc();iq(this,function(){return void d.I.clear()})};q(u7,m6);m=u7.prototype; m.O=function(){this.A!=null&&(Gv(this.A),this.A=null);this.M.W.fd();var a=this.M.W.Oa();a&&Ve(a);m6.prototype.O.call(this)};m.init=function(){if(!this.o){this.o=!0;var a=this.M.W.Oa(),b=this.oa;this.N&&a&&b?p6(this,"loaded"):(a=fV(qS,null,"SafeFrame"),v7(this,a),this.destroy())}}; m.start=function(){var a=this;this.F||(this.F=!0,Jba(this),m6.prototype.start.call(this),this.dispatchEvent(X({type:"contentPauseRequested",ad:this.getAd()})),this.currentTime=0,this.D?w7(this):this.A=Fv(function(){a.A=null;if(!a.D){var b=fV(CS,null,(a.ba/1E3).toString());v7(a,b);a.destroy()}},this.ba))}; m.zk=function(){var a=this.M.U.B.clone(),b=this.getAd(),c=this.M.W,d=this.oa,e=this.getDuration(),f=new vy,g=b.getAdPodInfo().getPodIndex();g=CZ(g);g=Vk(g,1);hl(f,1,g);if(c=c.Oa()){g=c.getBoundingClientRect();c=g.y;g=g.x;var h=new ry;c=$k(h,1,c);c=$k(c,2,g);Mk(f,2,c)}d!==null&&(c=d._width_,d=d._height_,g=new ty,c=$k(g,1,c),d=$k(c,2,d),Mk(f,3,d));b=b.getAdPodInfo().getMaxDuration();d=new py;b=Zk(d,2,b);e=Zk(b,3,e);Mk(f,4,e);a=Mk(a,3,f);return hl(a,5,2)}; m.pause=function(){this.B&&(this.l.stop(),p6(this,"pause"))};m.resume=function(){this.B&&(this.l.start(),p6(this,"resume"))};m.resize=function(a,b){m6.prototype.resize.call(this,a,b);a=x7(this);a===0?(a=fV(tS,null),v7(this,a),this.destroy()):y7(this,a)};m.getDuration=function(){return this.getAd().getDuration()};m.getCurrentTime=function(){return this.currentTime};m.getRemainingTime=function(){return this.getCurrentTime()<0?-1:this.getDuration()-this.getCurrentTime()}; m.skip=function(){var a;(a=FW(this.getAd()))?(a=sU(a),a=a!==-1&&this.currentTime!==-1&&this.currentTime>=a):a=!1;a&&(this.l.stop(),p6(this,"skip"),this.destroy())}; var x7=function(a){var b=a.M.W.Oa(),c=a.T;if(!b||!c)return 0;var d=b.clientWidth;b=b.clientHeight;if(!a.Z)return d>=c.width&&b>=c.height?1:0;var e=Math.min(a.K,Math.min((d-c.width)/c.width,(b-c.height)/c.height))+1;return e<1-a.K?(a={},oU.getInstance().report(193,(a.m="resize_failed",a.resize_rate=e,a.player_width=d,a.player_height=b,a.creative_width=c.width,a.creative_height=c.height,a)),0):e},w7=function(a){var b=x7(a);b===0?(b=fV(tS,null),v7(a,b),a.destroy()):a.B||(a.B=!0,a.l.start(),y7(a,b),a.M.W.Uc(), p6(a,"show_ad"),p6(a,"impression"),p6(a,"creativeView"),p6(a,"start"))},v7=function(a,b){a.getAd().Zd();a.Tb(b,UX(b,a.M.U,a.getAd()));a.dispatchEvent(new hV(b))},y7=function(a,b){var c=a.M.W.Oa();if(a.layout&&a.layout.view&&c){var d=a.layout.view.lg;d&&(d.style.transform="scale("+b+")",a=a.oa)&&(d={},oU.getInstance().report(193,(d.m="resize_safe_frame",d.resize_rate=b,d.player_width=c.clientWidth,d.player_height=c.clientHeight,d.creative_width=a._width_,d.creative_height=a._height_,d)))}},Jba=function(a){var b= a.M.W.Oa(),c=a.oa,d=iI(a.N);kL(a,a.I,rM,function(){a.D=!0;a.F&&w7(a)});kL(a,a.I,BM,function(){a.dispatchEvent(X({type:"skippableStateChanged",ad:a.getAd()}));p6(a,"skipShown")});kL(a,a.I,AM,function(){a.skip()});kL(a,a.I,YL,function(g){var h={};a.dispatchEvent(X({type:"updateGfpCookie",ad:a.getAd(),data:(h.gfpCookieUserEnabled=g.j,h.gfpCookieClearData=g.g,h)}))});Ve(b);var e,f;a.layout=new V5({container:b,Re:d,Yc:new ge(c._width_,c._height_),Ma:wW(a.getAd()),Ub:qL(),ib:"1-0-45",skipOffset:(f=(e=FW(a.getAd()))== null?void 0:sU(e))!=null?f:null,I:a.I});iq(a,function(){var g;return void((g=a.layout)==null?void 0:g.dispose())});a.layout.build()};function Iba(a){var b;return(b=a.g.qb.find(function(c){return c.ea==="Safeframe"&&c.mimeType==="text/html"&&c.Ua.resourceType==="Html"&&!F(c.Ua.g)}))!=null?b:null};var z7=function(a,b,c){m6.call(this,a,b,c);this.na=null;this.l=!1;this.layout=null;this.A=a.g;this.I=b.W.tc()};q(z7,m6);m=z7.prototype;m.init=function(){if(!this.o)if(this.o=!0,this.na=this.M.W.Oa())this.dispatchEvent(X({type:"loaded",ad:this.getAd()}));else{var a=fV(qS,null,"SafeFrameNonLinear");A7(this,a);this.destroy()}};m.start=function(){m6.prototype.start.call(this);Ve(this.na);Kba(this);B7(this)||C7(this)};m.expand=function(){m6.prototype.expand.call(this)};m.collapse=function(){m6.prototype.collapse.call(this)}; m.jc=function(){m6.prototype.jc.call(this);B7(this)?this.l&&this.reportEvent("overlay_resize"):C7(this)};m.resize=function(){B7(this)||C7(this)};m.O=function(){var a;(a=this.layout)==null||a.dispose();this.layout=null;this.l=!1;this.na!=null&&(Ve(this.na),this.na=null);this.M.W.fd();m6.prototype.O.call(this)}; var Kba=function(a){a.layout||(kL(a,a.I,rM,function(){a.l||(a.l=!0,a.M.W.Uc(),p6(a,"show_ad"),p6(a,"impression"),p6(a,"creativeView"),p6(a,"start"))}),kL(a,a.I,YL,function(b){var c={};a.dispatchEvent(X({type:"updateGfpCookie",ad:a.getAd(),data:(c.gfpCookieUserEnabled=b.j,c.gfpCookieClearData=b.g,c)}))}),a.na&&(a.layout=new W5({Qe:a.A,I:a.I,na:a.na,Ub:qL(),ib:"1-0-45",Ma:wW(a.getAd())}),a.layout.build()))},B7=function(a){if(a.layout===null||a.na===null)return!0;var b=Jf(a.na);a=Kf(a.layout.fe());return a.width<= b.width&&a.height<=b.height},C7=function(a){var b=fV(tS);A7(a,b);a.destroy()},A7=function(a,b){a.getAd().Zd();a.Tb(b,UX(b,a.M.U,a.getAd()));a.dispatchEvent(new hV(b))};z7.prototype.toString=function(){return"safeframenonlinearman"};var D7=function(a,b){this.Y=a;this.M=b},E7=function(a){var b;return((b=a.Y.getAd())==null?void 0:HW(b))||""};D7.prototype.we=function(){return!1};D7.prototype.getVolume=function(){return this.Y.getVolume()};var F7=function(a){a=Jf(a.M.W.Oa());return a.width===0&&a.height===0?new ge(-1,-1):a};D7.prototype.getMediaUrl=function(){var a,b;return(b=(a=this.Y.getAd())==null?void 0:a.getMediaUrl())!=null?b:null};D7.prototype.getCurrentTime=function(){return this.Y.getCurrentTime()}; D7.prototype.getDuration=function(){return this.Y.getDuration()};function Lba(a){return a.ea==="SIMID"&&a.mimeType==="text/html"&&!F(a.Ua.g)};var G7={},Mba=(G7[400]=1206,G7[402]=1207,G7[403]=1209,G7),H7=function(a){var b=a.Y;var c=a.M;var d=a.ad;a=a.Ca;b6.call(this,b);this.l=null;this.F=0;this.D=!1;this.N=this.G=this.o=null;this.K=!1;this.qa=null;this.g=new D7(b,c);b=(this.A=d.g.qb.find(Lba)||null)?hI(this.A):null;d=xE(IF);this.Ca=a||new EQ(b,{Qg:xE(GF),Ki:xE(HF),Li:!xE(QF)},d);this.Ca.o=!0;this.T=new bK(this);this.j=new bK(this);N(this,this.j);this.M=c;this.B=new dC;this.X=new vZ;var e;this.Z=(e=b==null?void 0:b.includes("imasdk.googleapis.com"))!= null?e:!1;Nba(this)};q(H7,b6); H7.prototype.init=function(){var a=this;b6.prototype.init.call(this);if(!this.K){this.K=!0;if(this.A==null||!CU(this.M.U)){var b=fV(qS,null,"SIMID"),c=UX(b,this.M.U,this.getAd());b6.prototype.Tb.call(this,b,c);I7(this);throw b;}b=hI(this.A);(c=iI(this.A))?this.l=JQ(c):b&&(this.l=IQ(b));if(this.l){var d;(d=this.M.W.Oa())==null||d.appendChild(this.l);b=this.l.contentWindow;FQ(this.Ca,{ni:b,target:b})}Oba(this);this.Ca.g.o.promise.then(function(){bF(T.getInstance(),"ima_srr");var e=F7(a.g);var f=a.g; var g=f.Y.getAd();if(g){var h,k,l={};b:{var n=g.getTraffickingParametersString(),p=(l.gwsid=(h=vW(g))!=null?h:"",l.qemid=(k=wW(g))!=null?k:"",l.sdkv=UT(f.M.U),l.eid=CE(),l.ssss="unknown",l);try{var r=JSON.parse(n)}catch(t){f=n;break b}f=typeof r==="object"&&r.hasOwnProperty("youtubeVideoId")?JSON.stringify(Object.assign({},r,p)):n}}else f="";f={oa:f,wi:E7(a.g),xi:E7(a.g),fullscreen:a.g.we(),muted:a.g.getVolume()===0,qj:BU(a.M.U)?"notSupported":"adHandles",Jj:!0,videoWidth:e.width,videoHeight:e.height, volume:a.g.getVolume()};a.Ca.g.sendMessage("SIMID:Player:init",new oQ(f)).then(a.B.resolve).catch(a.B.reject);bF(T.getInstance(),"ima_si");Number.isInteger(e.width)&&Number.isInteger(e.height)||bF(T.getInstance(),"ima_vsni")})}}; var Nba=function(a){a.j.listen(a.Y,[].concat(x(a6)),function(d){return void a.dispatchEvent(d)});a.j.listen(a.Y,"contentPauseRequested",function(d){return void a.dispatchEvent(d)});a.j.listen(a.Y,"adProgress",function(d){d=d.getAdData();J7(a,d.currentTime)});a.j.listen(a.Y,"volumeChange",function(d){var e=d.getAdData();d=a.Ca;e=e.volume;var f=a.g.getVolume()===0;d.g.sendMessage("SIMID:Media:volumechange",new oQ({volume:e,muted:f}))});a.j.listen(a.Y,"complete",function(){return void Pba(a)});a.j.listen(a.Y, "skip",function(){var d=a.Ca.g.sendMessage("SIMID:Player:adSkipped");I7(a,d)});a.j.listen(a.Y,"loadedMetadata",function(){return void K7(a)});a.j.listen(a.Y,"durationChange",function(){return void K7(a)});a.j.listen(a.Y,"adError",function(d){var e,f=(d==null?void 0:(e=d.getError())==null?void 0:e.getErrorCode())||-1;e=a.Ca.g.sendMessage("SIMID:Player:fatalError",new oQ({errorCode:Mba[f]||1200}));a.dispatchEvent(d);I7(a,e)});var b={},c=(b.adBuffering="SIMID:Media:stalled",b.pause="SIMID:Media:pause", b.impression="SIMID:Media:play",b.resume="SIMID:Media:play",b.seeked="SIMID:Media:seeked",b.seeking="SIMID:Media:seeking",b);a.j.listen(a.Y,Object.keys(c),function(d){return void a.Ca.g.sendMessage(c[d.type])})},J7=function(a,b){a.Ca.g.sendMessage("SIMID:Media:timeupdate",new oQ({currentTime:b}));var c=a.getDuration();a.D&&c!==-2&&b>=c&&L7(a,2)};H7.prototype.pause=function(){this.o?this.o.stop():b6.prototype.pause.call(this)};H7.prototype.resume=function(){this.o?this.o.start():b6.prototype.resume.call(this)}; var Pba=function(a){a.Ca.g.sendMessage("SIMID:Media:ended");a.D?(a.o=new Ev,N(a,a.o),a.j.listen(a.o,"tick",function(){a.F+=.25;var b=a.getAd();b&&(b=new D6(b.getAdPodInfo(),a.getCurrentTime(),a.getDuration()),a.dispatchEvent(X({type:"adProgress",ad:a.getAd(),data:b})));J7(a,a.getCurrentTime())}),a.o.setInterval(250),a.o.start()):L7(a,2)};H7.prototype.getCurrentTime=function(){return b6.prototype.getCurrentTime.call(this)+this.F}; var Oba=function(a){a.T.listen(a.Ca,Object.values(mQ),function(b){switch(b.type){case "SIMID:Creative:clickThru":a.reportEvent("click");a.dispatchEvent(X({type:"click",ad:a.getAd()}));a.Z&&oU.getInstance().report(148,{time:a.getCurrentTime(),dur:a.getDuration()},!0);b.resolve();break;case "SIMID:Creative:fatalError":case "SIMID:Creative:requestStop":b.resolve();L7(a,4);break;case "SIMID:Creative:requestSkip":b.resolve();a.skip();break;case "SIMID:Creative:handleSkipShown":a.dispatchEvent(X({type:"skippableStateChanged", ad:a.getAd()}));a.reportEvent("skipShown");a.dispatchEvent(X({type:"skipShown",ad:a.getAd()}));b.resolve();break;case "SIMID:Creative:reportTracking":if(Array.isArray(b.args.Yh))for(var c=w(b.args.Yh),d=c.next();!d.done;d=c.next())mU(d.value);b.resolve();break;case "SIMID:Creative:getMediaState":c={};b.resolve((c.currentSrc=a.g.getMediaUrl(),c.currentTime=a.g.getCurrentTime(),c.duration=a.g.getDuration(),c.ended=!1,c.muted=a.g.getVolume()===0,c.paused=!1,c.volume=a.g.getVolume(),c.fullscreen=a.g.we(), c));break;case "SIMID:Creative:requestPause":a.pause();b.resolve();break;case "SIMID:Creative:requestPlay":a.resume();b.resolve();break;case "SIMID:Creative:requestResize":Qba(a,b);break;case "SIMID:Creative:requestChangeAdDuration":d=b.args.duration;if(d<0&&d!==-2)b.reject();else if(c=a.getAd())d-=JW(c),c.P=d,a.D=!0,a.dispatchEvent(X({type:"durationChange",ad:a.getAd()})),b.resolve();break;case "SIMID:Creative:requestNavigation":var e,f;a.sb(b.args.uri,((e=a.getAd())==null?void 0:IW(e))||null,((f= a.getAd())==null?void 0:f.g!=null?f.g.ki():null)||null);a.pause();b.resolve();break;case "SIMID:Creative:log":if(e=b.args.message){c=c===void 0?T.getInstance():c;a:{try{var g=JSON.parse(e),h;if(h=typeof g.type==="string")b:switch(g.type){case "TimingEvent":case "Parameter":case "OneShotParameter":h=!0;break b;default:h=!1}if(h&&typeof g.key==="string"&&(typeof g.value==="string"||g.value===void 0)){d={type:g.type,key:g.key,value:g.hasOwnProperty("value")?g.value:void 0};break a}}catch(k){}d=void 0}if(d!== void 0)switch(d.type){case "TimingEvent":bF(c,d.key);break;case "Parameter":d.value&&$E(c,d.key,d.value);break;case "OneShotParameter":d.value&&U(c,d.key,d.value)}}b.resolve();break;default:b.reject()}})},L7=function(a,b){b=a.Ca.g.sendMessage("SIMID:Player:adStopped",new oQ({code:b}));I7(a,b)},Rba=function(a,b){var c;return z(function(d){if(!a.M.U.D)throw Error("Resize is not supported.");c=F7(a.g);var e=b.videoWidth,f=b.videoHeight,g=b.videoX,h=b.videoY;if(g===void 0||h===void 0||e===void 0||f=== void 0)throw Error("Invalid video dimensions.");var k=b.creativeWidth,l=b.creativeHeight,n=b.creativeX,p=b.creativeY;if(n===void 0||p===void 0||k===void 0||l===void 0)throw Error("Invalid creative dimensions.");if(k!==c.width||l!==c.height||n!==0||p!==0)throw Error("Creative resizing is not supported.");e=new vf(g,h,e,f);if(!(new vf(0,0,c.width,c.height)).contains(e))throw Error("Video cannot be moved out of slot bounds.");a.G=e;a.M.W.yj(a.G);d.g=0})},Qba=function(a,b){Rba(a,b.args).then(function(c){return b.resolve(c)}).catch(function(c){return b.reject(c)})}; H7.prototype.start=function(){var a=this;b6.prototype.start.call(this);this.B.promise.then(function(){return void Sba(a)}).catch(function(){M7(a)})}; var Sba=function(a){if(!a.Ya()){Tba(a);bF(T.getInstance(),"ima_lsc");var b,c;(b=a.Ca)!=null&&(b.j?b=void 0:(b.l=0,b.j=new dC,HQ(b),b=b.j.promise),(c=b)==null||c.then(function(){bF(T.getInstance(),"ima_csr")},function(){bF(T.getInstance(),"ima_cmc")}));a.Ca.g.sendMessage("SIMID:Player:startCreative").catch(function(){return void M7(a)})}},Tba=function(a){a.M.W.Uc();a.l&&(a.l.style.display="block")},M7=function(a){var b=fV(wS),c=UX(b,a.M.U,a.getAd());b6.prototype.Tb.call(a,b,c);a.dispatchEvent(new hV(b)); I7(a)};H7.prototype.skip=function(){var a=this.Ca.g.sendMessage("SIMID:Player:adSkipped");this.reportEvent("skip");this.dispatchEvent(X({type:"skip",ad:this.getAd()}));I7(this,a)};H7.prototype.pd=function(){b6.prototype.pd.call(this);this.Ca.g.sendMessage("SIMID:Player:appBackgrounded")};H7.prototype.Sc=function(){b6.prototype.Sc.call(this);this.Ca.g.sendMessage("SIMID:Player:appForegrounded")}; H7.prototype.jc=function(){var a=F7(this.g),b=new vf(0,0,a.width,a.height),c=this.G||b;this.Ca.g.sendMessage("SIMID:Player:resize",new oQ({creativeX:b.left,creativeY:b.top,creativeWidth:b.width,creativeHeight:b.height,videoX:c.left,videoY:c.top,videoWidth:c.width,videoHeight:c.height,fullscreen:SI(a.width,a.height)}))};var K7=function(a){a.Ca.g.o.promise.then(function(){var b=a.Ca,c=a.getDuration();b.g.sendMessage("SIMID:Media:durationchange",new oQ({duration:c}))})}; H7.prototype.O=function(){this.X.dispose();this.M.U.D&&this.M.W.zj();this.M.W.fd();this.l&&(this.l.style.visibility="hidden");this.dispatchEvent(X({type:"contentResumeRequested",ad:this.getAd()}));this.dispatchEvent(X({type:"allAdsCompleted",ad:this.getAd()}));I7(this);b6.prototype.O.call(this)};H7.prototype.destroy=function(){var a=this;return b6.prototype.destroy.call(this).then(function(){a.dispose()})}; var I7=function(a,b){b=b===void 0?Promise.resolve({}):b;var c;(c=a.Ca)!=null&&c.j&&(c.j.reject(),c.j=null);var d;(d=a.Ca)==null||GQ(d);a.N||(c=Hv(2E3),a.N=Promise.race([b,c]).then(function(){Xe(a.l);a.Ca.dispose();a.T.dispose()}),a.destroy())};var N7=function(a){Cu.call(this,"vpaid-message");this.data=a};q(N7,Cu);var O7=function(a,b,c,d){O.call(this);this.j=a;this.Ab=b;this.wa=c;this.U=d;this.H=this.g=null;this.l=new bK(this);N(this,this.l)};q(O7,O);O7.prototype.init=function(){this.l.listen(Pe(),"message",this.wm);P7(this)}; var P7=function(a){if(!a.H||!a.g){a.H||(a.H=d7(a.wa));if(!a.g){a:{var b=a.Ab;for(var c=w(b.g.keys()),d=c.next();!d.done;d=c.next())if(d=d.value,!b.g.get(d)){b.g.set(d,!0);b=d;break a}b=null}a.g=b}a.H&&a.g&&(b=a.g,c=a.j,a=a.H.g,d={},a=(d.vpaidEventType="createFriendlyIframe",d.session=c,d.videoDisplayName=a,d),LU(b.g,"adsManager","vpaidEvent",a))}};m=O7.prototype; m.start=function(){P7(this);if(!this.H)throw e7(this.wa,this.U.Ec),P7(this),Error("Play ad was called before prior video display was released.");if(!this.g)throw oU.getInstance().report(122,{man:"vpaid",when:"start"},!0),Error("Play ad was called before insecure iframe channel was available.");};m.resume=function(){};m.getName=function(){return"friendly"};m.Uj=function(){};m.lf=function(a,b){b.session=this.j;b.type=a;Pe().parent.postMessage(JSON.stringify(b),"*")}; m.wm=function(a){(a=Uba(a))&&a.session===this.j&&(a.type==="friendlyReady"?(a={},this.dispatchEvent(new N7((a.type="vpaidChannelLoaded",a)))):this.dispatchEvent(new N7(a)))};var Uba=function(a){a=a.oc||null;if(!a)return null;a=a.data;if(typeof a!=="string")return null;a=s4(a);if(a!=null)try{return JSON.parse(a.data)}catch(b){}return null}; O7.prototype.O=function(){var a;if((a=this.g)!=null){var b=this.j,c={};b=(c.vpaidEventType="destroyFriendlyIframe",c.session=b,c);LU(a.g,"adsManager","vpaidEvent",b)}W6(this.wa,this.H);a=this.Ab;(b=this.g)&&a.g.set(b,!1)};O7.prototype.te=function(){return this.H};var Q7=function(a,b,c,d,e,f){O.call(this);this.ad=a;this.l=b;this.W=c;this.wa=d;this.B=e;this.U=f;this.H=null;this.A="";this.frameElement=null;this.o=this.j=!1;this.g=new bK(this);N(this,this.g)};q(Q7,O);m=Q7.prototype; m.init=function(){if(!this.j&&(this.H||(this.H=d7(this.wa)),this.H)){var a;if((a=LW(this.ad))&&/\.html(\?.*)?$/.test(a))this.B&&(a=a.replace(".html","_"+"el".replace("-","_")+".html")),a=G(a);else{var b=new P(a),c=new P("http://tpc.googlesyndication.com/pagead/js/loader21.html");b.o==="https"&&KB(c,"https");a=NB(c,a||"").toString()}this.frameElement=Re("IFRAME",{src:QV(a),allow:"autoplay",allowFullscreen:!0,allowtransparency:!0,background:"transparent",style:"border:0; opacity:1; margin:0; overflow:hidden;padding:0; width:100%; height:100%;position: absolute;display:none;", title:"Advertisement"});this.g.listen(this.frameElement,"load",this.Qo);var d;(d=this.W.Oa())==null||d.appendChild(this.frameElement);this.g.listen(Pe(),"message",this.xm);this.g.listen(this.H,"beginFullscreen click end endFullscreen error loaded mediaLoadTimeout pause play timeUpdate volumeChange".split(" "),this.yk);this.g.listen(this.H,IU,this.yk);this.j=!0}}; m.start=function(){this.init();this.o=!0;if(!this.H)throw e7(this.wa,this.U.Ec),this.init(),Error("Play ad was called before prior video display was released.");this.frameElement!=null&&(this.frameElement.style.display="block")};m.resume=function(){R7(this,"play")};m.getName=function(){return"secure"};m.Uj=function(a){var b={};R7(this,"supportedMimeTypes",(b.supportedMimeTypes=a,b))}; m.lf=function(a,b){var c;if(((c=this.frameElement)==null?void 0:c.contentWindow)!=null){b.session=this.l;b.type=a;var d;(d=this.frameElement)==null||d.contentWindow.postMessage(JSON.stringify(b),"*")}}; m.xm=function(a){a=a.oc||null;a:{if(a)try{var b=JSON.parse(a.data);break a}catch(h){}b=null}var c;if((a==null?void 0:a.source)==((c=this.frameElement)==null?void 0:c.contentWindow)&&b!=null&&b.session===this.l)if(b.type==="videoCall")switch(b.func){case "load":case "play":if(!this.o){this.dispatchEvent(new N7({type:"AdError",message:"VPAID ad called play on video element before start was called on VPAID manager"}));break}this.W.Vh();var d=b.src;if(this.A!==d){this.A=d;var e;(e=this.H)==null||QU(e, d,null,this.ad.getAdPodInfo())}var f;(f=this.H)==null||f.play();break;case "pause":var g;(g=this.H)==null||g.pause();break;case "currentTime":e=b.currentTime,(d=this.H)==null||RU(d,e)}else this.dispatchEvent(new N7(b))};m.Qo=function(){var a={};this.dispatchEvent(new N7((a.type="vpaidChannelLoaded",a)))};m.O=function(){Xe(this.frameElement);W6(this.wa,this.H)}; m.yk=function(a){switch(a.type){case "loadedmetadata":var b,c={};R7(this,"loadedmetadata",(c.duration=(b=this.H)==null?void 0:b.getDuration(),c));break;case "timeUpdate":var d;b={};R7(this,"timeupdate",(b.duration=(c=this.H)==null?void 0:c.getDuration(),b.currentTime=(d=this.H)==null?void 0:d.getCurrentTime(),b));break;case "end":R7(this,"ended");break;case "beginFullscreen":R7(this,"fullscreenchange");break;case "endFullscreen":R7(this,"fullscreenchange");break;case "loaded":R7(this,"loadstart"); break;case "mediaLoadTimeout":R7(this,"stalled");break;case "play":R7(this,"playing");break;default:R7(this,a.type)}};var R7=function(a,b,c){c=c===void 0?{}:c;c.messageType=b;a.lf("wrapperCall",c)};Q7.prototype.te=function(){return this.H};function S7(a){a=LW(a);return!(!a||!a.match("//s0.2mdn.net/instream/html5/survey/survey.html"))};var T7=function(a,b,c){m6.call(this,a,b,c);var d=this;this.H=null;this.ha=this.T=this.loaded=!1;this.K=[];this.qa=this.A=null;this.Z=this.duration=this.ka=-1;this.ba=this.D=!1;this.l=this.layout=null;this.wa=b.wa;this.Ab=b.Ab;this.wb=function(){var e={};return e.currentTime=d.getCurrentTime(),e.duration=d.getDuration(),e.isPlaying=!0,e.isVpaid=lW(d.getAd()),e.isYouTube=!1,e.volume=d.A,e};this.sa="goog_"+Jd++;this.N=new Ev(500);this.sc=(new P(LW(this.getAd()))).j;this.B=this.getAd().Pc();this.I=b.W.tc(); this.F="normal"};q(T7,m6);m=T7.prototype;m.init=function(){if(eT.g===0){var a=fV(qS,null,"vpaid");U7(this,a);throw a;}if(!this.o){a=this.getAd();var b=this.sa,c=this.M.W,d=this.wa,e=this.Ab,f=this.M.U;this.l=S7(a)||eT.g!==2?new Q7(a,b,c,d,S7(a),f):new O7(b,e,d,f);N(this,this.l);a=this.getAd().Fb;a.j=Ta();a.g=null;this.g.listen(this.N,"tick",this.ac);this.g.listen(uX(),gU,this.Hh);this.g.listen(this.l,"vpaid-message",this.Zb);this.l.init();this.H=this.l.te();V7(this,this.H);this.o=!0;p6(this,"loaded")}}; m.start=function(){this.init();m6.prototype.start.call(this);if(this.l){try{this.l.start()}catch(d){var a=fV(JS,d,"internal");U7(this,a);return}if(this.H=this.l.te()){V7(this,this.H);Vba(this);hH(this.j,$X(this.getAd(),this.M.U,this.H));MU(this.H);this.reportEvent("show_ad");this.dispatchEvent(X({type:"show_ad",ad:this.getAd()}));this.M.W.Uc();a=this.getAd();if(a.g instanceof YV){var b=RW(a);if(b!=null&&b.length!==0){var c=document.body;c&&(this.layout=new Y5(b,wW(a),this.I,c),this.layout.build(), iL(this.I,CM,this.Gb,this),iL(this.I,DM,this.Wa,this))}}this.A!=null&&this.H.setVolume(this.A);zU()&&(a=new mH(this.getAd().j,this.j,this.H,zU(),this.getAd().Hc,!0),pH(a),N(this,a));this.ha=!0;this.B?this.dispatchEvent(X({type:"contentPauseRequested",ad:this.getAd()})):this.dispatchEvent(new K4("vpaidNonLinear",this.sa));W7(this);this.T||(this.Z=Fv(this.ub,this.ma.loadVideoTimeout,this))}}}; m.resize=function(a,b){this.F=SI(a,b)?"fullscreen":"normal";var c={};a=(c.width=a,c.height=b,c.viewMode=this.F,c);this.sendMessage("resizeAd",a)};m.expand=function(){this.sendMessage("expandAd");this.F="fullscreen"};m.collapse=function(){this.sendMessage("collapseAd");this.F="normal"};m.pause=function(){this.D||this.sendMessage("pauseAd")};m.resume=function(){if(this.D){this.sendMessage("resumeAd");var a;(a=this.l)==null||a.resume()}}; m.setVolume=function(a){m6.prototype.setVolume.call(this,a);this.A==null&&(this.A=a);this.ha&&this.sendMessage("setAdVolume",{value:a})};var V7=function(a,b){b&&(wX(a.getAd(),a.wb),uX().H=b,a.G!=null&&(a=a.G,a.l=b,a.o.listen(a.l,"start",a.T)))}; T7.prototype.O=function(){xX(this.getAd());this.N.stop();var a;(a=this.layout)==null||a.dispose();this.I.clear();this.H&&(NU(this.H),this.M.U.Ec||this.H.unload(),this.B&&(!this.T||this.H.l||this.H.o||this.H.pause()));this.loaded=!1;this.K=[];Gv(this.Z);this.N.dispose();m6.prototype.O.call(this)}; var Wba=function(a){var b=a.getAd().getTraffickingParametersString(),c=G(HW(a.getAd())),d=a.getAd();if(a.B){var e=d.g,f=ZV(e);f!=null&&(e.g=f)}e=a.A!=null?a.A:1;f={};b=(f.desiredBitrate=a.ma.bitrate,f.creativeData=b,f.viewMode=a.F,f.clickThroughUrl=c,f.attributionParams=IW(a.getAd()),f.adUrl=LW(d),f.volume=e,f);a.loaded=!0;a.sendMessage("initAd",b);a.K.forEach(function(h){a.sendMessage(h.type,h.params)});a.K=[];var g;(g=a.l)==null||g.Uj(a.ma.mimeTypes||[])}; T7.prototype.sendMessage=function(a,b){b=b===void 0?{}:b;if(this.loaded){var c;(c=this.l)==null||c.lf(a,b)}else this.K.push({type:a,params:b})};T7.prototype.ub=function(){this.getAd().Fb.g=Ta();U7(this,fV(CS,null,(this.ma.loadVideoTimeout/1E3).toString()))};var U7=function(a,b){a.getAd().Zd();var c=a.getAd().Fb;c.g==null&&(b.getErrorCode(),CS.getErrorCode(),c.g=Ta());c=UX(b,a.M.U,a.getAd());a.Tb(b,c);a.dispatchEvent(new hV(b));a.destroy()}; T7.prototype.Zb=function(a){a=a.data;if(typeof a.type==="string")switch(a.type){case "forwardVpaidManagerEvent":this.dispatchEvent(a.data);break;case "vpaidChannelLoaded":Wba(this);break;case "heavyAdIntervention":this.reportEvent(a.heavyAdInterventionEventType);break;case "returnDuration":this.duration=a.duration;break;case "returnRemainingTime":X7(this,a.remainingTime);break;case "AdClickThru":this.reportEvent("click");this.dispatchEvent(X({type:"click",ad:this.getAd()}));break;case "AdDurationChange":this.duration= a.duration;X7(this,a.remainingTime);var b,c;(b=this.getAd())!=null&&(c=b.g)!=null&&(c.duration=this.duration);this.dispatchEvent(X({type:"durationChange",ad:this.getAd()}));break;case "AdError":this.ba=!0;U7(this,fV(KS,Error(a.message)));break;case "AdExpandedChange":this.dispatchEvent(X({type:"expandedChanged",ad:this.getAd()}));break;case "AdImpression":n6(this);p6(this,"impression");this.ba=!0;this.dispatchEvent(X({type:"start",ad:this.getAd()}));break;case "AdLinearChange":var d=a.isLinear;!this.B&& d?(this.dispatchEvent(X({type:"contentPauseRequested",ad:this.getAd()})),this.sendMessage("becameLinear")):!d&&this.B&&(this.dispatchEvent(X({type:"contentResumeRequested",ad:this.getAd()})),this.sendMessage("becameNonlinear"),this.sendMessage("getAdRemainingTime"),this.sendMessage("getAdDuration"));this.B=d;var e=this.getAd();e.X=!0;e.Z=d;this.dispatchEvent(X({type:"linearChanged",ad:this.getAd()}));break;case "AdLoaded":Gv(this.Z);this.T=!0;this.getAd().Fb.g=Ta();a=a.companions;var f=this.getAd(); if(nW(f).length===0&&(b=f.g)){a:{b=b.Pa();c=this.M.U;try{e=aK(G(a));if(e==null||!e.documentElement){d=[];break a}var g=WK(e.documentElement);d=g.g.length===0?[]:[(new TY(e.documentElement,c)).getCompanionAds(g,b)];break a}catch(h){d=[];break a}d=void 0}d.length!==0&&gW(f,d)}W7(this);this.dispatchEvent(X({type:"adCanPlay",ad:this.getAd()}));break;case "AdPaused":this.D=!0;p6(this,"pause");break;case "AdPlaying":this.D=!1;p6(this,"resume");break;case "AdRemainingTimeChange":X7(this,a.remainingTime); break;case "AdSkipped":p6(this,"skip");this.destroy();break;case "AdSkippableStateChange":p6(this,"skippableStateChanged");break;case "AdStarted":this.reportEvent("creativeView");o6(this);this.dispatchEvent(X({type:"adStarted",ad:this.getAd()}));break;case "AdStopped":this.reportEvent("stop");this.ba||U7(this,fV(KS));this.destroy();break;case "AdUserAcceptInvitation":this.B?this.reportEvent("acceptInvitationLinear"):this.reportEvent("acceptInvitation");break;case "AdUserMinimize":this.reportEvent("collapse"); break;case "AdUserClose":p6(this,"userClose");break;case "AdVideoComplete":p6(this,"complete");break;case "AdVideoFirstQuartile":p6(this,"firstQuartile");break;case "AdVideoMidpoint":p6(this,"midpoint");break;case "AdVideoStart":this.reportEvent("start");break;case "AdVideoThirdQuartile":p6(this,"thirdQuartile");break;case "AdVolumeChange":d=a.volume;d!==this.A&&(this.dispatchEvent(X({type:"volumeChange",ad:this.getAd(),data:{volume:d}})),d===0?(this.reportEvent("mute"),this.dispatchEvent(X({type:"mute", ad:this.getAd()}))):this.A===0&&d!==0&&this.reportEvent("unmute"),(f=this.H)==null||f.setVolume(d),this.A=d);break;case "AdInteraction":d={};d=(d.id=a.id,d);this.dispatchEvent(X({type:"interaction",ad:this.getAd(),data:d}));break;case "Ping":mU(a.url)}};var W7=function(a){if(a.T&&a.ha){var b;(b=a.H)!=null&&LU(b.j,b.g,"activate");a.sendMessage("startAd");a.N.start();a.B||(a.sendMessage("becameNonlinear"),a.sendMessage("getAdRemainingTime"));a.sendMessage("getAdDuration")}}; T7.prototype.getCurrentTime=function(){return this.getDuration()<0||this.getRemainingTime()<0?-1:this.getDuration()-this.getRemainingTime()};T7.prototype.getDuration=function(){return this.duration};T7.prototype.getRemainingTime=function(){return this.ka}; var X7=function(a,b){a.ka=b;if(!a.D){b=a.getAd().getDuration();var c=b-a.ka;if(b>=0&&c>=0){var d=new D6(a.getAd().getAdPodInfo(),c,b);a.dispatchEvent(X({type:"adProgress",ad:a.getAd(),data:d}));fH(a.j,c,b*1E3)}}b=a.getAd().getDuration();c=b-a.getRemainingTime();c<=b&&jL(a.I,oN,new JM(c,b))};T7.prototype.ac=function(){this.sendMessage("getAdRemainingTime")}; var Vba=function(a){var b={};T.getInstance();b.pid="0";b.dn=a.sc;var c;b["if"]=(c=a.l)==null?void 0:c.getName();b.asys=a.getAd().getAdSystem();c=new P(LW(a.getAd()));b.vad=c.l.indexOf("vpaid_adapter.js")!==-1;b.atag=cC(c.g,"adTagUrl");var d=[];iW(a.getAd()).forEach(function(e){d.push(G(e.mimeType).toLowerCase())});b.mtypes=d.join(",");oU.getInstance().report(29,b)};T7.prototype.Wa=function(a){a.L.forEach(function(b){mU(b)})}; T7.prototype.Gb=function(a){var b=a.o;b!=null&&(this.sb(b,a.C,null),this.pause());a.B.forEach(function(c){mU(c)})};T7.prototype.skip=function(){this.sendMessage("skipAd")};T7.prototype.toString=function(){return"vpaidman"};var Y7=function(a,b){this.g=a;this.duration=b;this.Pb=new EV};m=Y7.prototype;m.hh=function(){return!1};m.isLinear=function(){return!0};m.Pc=function(){return!0};m.getAdPodInfo=function(){return this.Pb};m.getDuration=function(){return this.duration};function Z7(a){var b;if(b=eW(gE)&&a instanceof hW)b=a.g,b=b!=null&&b instanceof aW?a.g.Rb==="safe_frame":!1;return b}function $7(a){return DW(a,"nonlinear")&&!lW(a)}function a8(a){oU.getInstance().report(100,{type:a})}function Xba(a){var b=0;a.forEach(function(c){c&&c.Pc()&&(b+=c.getDuration())});a.forEach(function(c,d){var e=c.getAdPodInfo();e.totalAds=a.length;c&&c.Pc()&&(e.adPosition=d+1,e.g=b)})}var b8=function(){}; b8.prototype.create=function(a,b,c){if(a.length===0)throw Error("Ads manager creation failure, no ads.");var d=new n7(b.W);b=new k6({W:d,wa:b.wa,ae:b.ae,Ba:b.Ba,Ab:b.Ab,U:b.U,Dd:b.Dd,Ge:b.Ge,Ac:b.Ac,Na:b.Na});d=a[0];if(d instanceof hW&&AW(d)&&$7(d)&&!Z7(a[0]))a8("adsense"),a=[new v6(a,b,c)];else{d=[];for(var e=0;e0)return this.g=null,Promise.resolve(g6(this));if(!(this.l.length>0||this.j))return Promise.resolve(null);this.g=new dC;return this.g.promise}; var f8=function(a){return a.l.length>0&&a.o.length<1&&!a.j},h8=function(a){a.D.xa(a.A,"adBreakFetched",a.K,!1,a);a.D.xa(a.A,"adBreakFetchError",a.T,!1,a)},g8=function(a){dK(a.D,a.A,"adBreakFetched",a.K,!1,a);dK(a.D,a.A,"adBreakFetchError",a.T,!1,a);var b;a.j=(b=a.l.shift())!=null?b:null;b=new c8;b.offset=a.offset;b.g=a.X;b.l=a.j;eT.setCompanionBackfill("on_master_ad");Yba(a.A,a.j.ua,b)}; e8.prototype.K=function(a){var b=a.Na;if(b.offset===this.offset){eT.setCompanionBackfill(this.F);h8(this);this.j=null;var c=a.l;this.B=[].concat(x(this.B),x(c));i8(this.B,this.offset,this.da,this.l.length,this.N);this.o=[].concat(x(this.o),x(c));this.o.length>0&&(this.g&&(c=this.g.resolve,this.g=null,c(g6(this))),this.C.dispatchEvent(a));f8(this)&&g8(this);this.l.length>0||this.j||j8(this,b)}}; e8.prototype.T=function(a){a=a.Na;a.offset===this.offset&&(eT.setCompanionBackfill(this.F),h8(this),this.j=null,i8(this.B,this.offset,this.da,this.l.length,this.N),f8(this)&&g8(this),this.l.length>0||this.j||j8(this,a))};var j8=function(a,b){if(a.g){var c=a.g.resolve;a.g=null;c(null)}a.B.length===0&&(eT.getCompanionBackfill()==="always"&&a.A.Ba.B(IZ()),b=new d8("adBreakFetchError",b),iV(sS),a.C.dispatchEvent(b))};e8.prototype.O=function(){eT.setCompanionBackfill(this.F);h8(this);hq.prototype.O.call(this)}; function i8(a,b,c,d,e){var f=Zba(e,a),g=a.length+d;a.forEach(function(h,k){var l=h.getAdPodInfo();l.totalAds=g;l.l=b;l.j=c;h&&h.Pc()&&(l.adPosition=k+1,l.g=f)})}function Zba(a,b){var c=0;a.forEach(function(e){(e=e.getMaxDuration())&&(c+=e)});if(c>0)return c;var d=0;b.forEach(function(e){e&&e.Pc()&&(d+=e.getDuration())});return d>0?d:-1};var k8=function(a,b,c){this.j=a;this.g=b;this.l=c};k8.prototype.create=function(a){return new e8(this.j,[].concat(x(this.g.g.get(a)||[])),a,this.g.getPodIndex(a),this.l)};var l8=function(a,b,c,d){d=d===void 0?null:d;Cu.call(this,a);this.offset=b;this.g=c;this.l=d};q(l8,Cu);var m8=function(a,b,c){O.call(this);this.o=a;this.F=b;this.A=c;this.l=null;this.g=new Map;this.j=new bK(this);N(this,this.j);$ba(this);this.B=dV(this.A).reduce(function(d,e){d.set(e,b.create(e));return d},new Map);this.D=new Set};q(m8,O); var n8=function(a,b){return[].concat(x(a.A.g.get(b)||[]))},o8=function(a,b,c){a.g.set(b,c);a.l===b&&(a.l=null)},p8=function(a){return[].concat(x(dV(a.A))).length===a.g.size};m8.prototype.start=function(){this.o.start();YU(this.o)};m8.prototype.O=function(){fK(this.j);this.o.stop();O.prototype.O.call(this)}; var $ba=function(a){a.j.listen(a.o,"OffsetTrackerEvent",function(b){var c=b.l;b=b.g;c==null||a.g.get(c)!=null?b==null||a.g.get(b)!=null||q8(a,b):(a.l=c,q8(a,c))})},q8=function(a,b){var c=a.B.get(b);a.D.has(b)?r8(a,b):c.G||(b=c.C,a.j.listen(b,"adBreakFetched",a.K),a.j.listen(b,"adBreakFetchError",a.G),c.G||(c.G=!0,g8(c)))},s8=function(a,b){a.j.xa(b,"adBreakFetched");a.j.xa(b,"adBreakFetchError")};m8.prototype.K=function(a){r8(this,a.Na.offset)}; var r8=function(a,b){a.D.add(b);var c=a.B.get(b);s8(a,c.C);a.g.get(b)==null&&(a.l===b?(a.l=null,a.dispatchEvent(new l8("play",b,c))):a.l==null&&a.dispatchEvent(new l8("load",b,c)))};m8.prototype.G=function(a){a=a.Na.offset;var b=this.B.get(a);s8(this,b.C);this.B.set(a,this.F.create(a));var c=iV(sS);this.dispatchEvent(new l8("error",a,b,c))};var u8=function(a,b,c,d,e,f){b6.call(this,new j6);this.ta=a;this.D=c;this.ma=e;this.M=f;this.A=null;this.T=this.o=this.Z=!1;this.l=null;this.F=this.B=this.G=!1;this.K=this.N=-1;this.X=new dC;a=e.playAdsAfterTime;e=dV(b);e=w(e);for(var g=e.next();!g.done;g=e.next())g=g.value,g!==-1&&g<=a&&b.remove(g);d=new XU(d,dV(b));N(this,d);this.g=new m8(d,new k8(c,b,f.ae.j),b);N(this,this.g);this.j=new bK(this);N(this,this.j);t8(this);this.j.listen(c,"contentComplete",this.sa);this.volume=1};q(u8,b6);m=u8.prototype; m.resize=function(a,b){this.N=a;this.K=b;b6.prototype.resize.call(this,a,b)};m.discardAdBreak=function(){var a=this.Y;v8(this)&&a instanceof p7&&a.j?w8(this):(a=aV(this.g.o),a!=null&&this.g.g.get(a)==null&&(o8(this.g,a,1),a===0&&x8(this),(p8(this.g)||this.o)&&y8(this)))};m.getCuePoints=function(){return[].concat(x(dV(this.g.A)))}; m.init=function(){var a=this;this.D.Yd=!1;this.j.listen(this,"allAdsCompleted",function(){a.D.Yd=!0});var b={};b=(b.cuepoints=this.getCuePoints(),b);b=X({type:"adMetadata",ad:this.getAd(),data:b});this.dispatchEvent(b);n8(this.g,0).length===0&&x8(this);this.g.start()};m.start=function(){eT.j||v8(this)&&this.B||(v8(this)?(this.B=!0,z8(this)):this.G=!0)}; var x8=function(a){a.Z=!0;a.dispatchEvent(X({type:"contentResumeRequested",ad:a.getAd()}))},y8=function(a){a.T||(a.T=!0,a.dispatchEvent(X({type:"allAdsCompleted",ad:a.getAd()})))},z8=function(a){A8(a,"breakStart");a.l&&(Gv(a.l),a.l=null);b6.prototype.start.call(a)};u8.prototype.setVolume=function(a){this.volume=a;b6.prototype.setVolume.call(this,a)}; var B8=function(a,b){a.A=b.offset;var c=a.ta;b=b.g;var d=a.M,e=a.ma,f=new n7(d.W);d=new k6({W:f,wa:d.wa,ae:d.ae,Ba:d.Ba,Ab:d.Ab,U:d.U,Dd:d.Dd,Ge:d.Ge,Ac:d.Ac,Na:d.Na});c=new p7(new h6(b,d,c,e),d,e);a.Y.Ya()||a.Y.dispose();a.Y=c;aca(a);a.Y.setVolume(a.volume);a.Y.resize(a.N,a.K);a.Y.init()},aca=function(a){var b=[].concat(x(a6));a.j.listen(a.Y,b,function(c){return void a.dispatchEvent(c)});a.j.listen(a.Y,"contentResumeRequested",function(){t8(a);x8(a)});a.j.listen(a.Y,"contentPauseRequested",function(c){a.j.xa(a.g, "load",a.ha);a.j.xa(a.g,"play",a.ka);a.j.xa(a.g,"error",a.ba);a.dispatchEvent(c)});a.j.listen(a.Y,"adError",function(c){c=c.getError()||fV(JS);a.dispatchEvent(fX({type:"log",data:c}))});a.j.listen(a.Y,"allAdsCompleted",function(){a.B=!1;if(a.g.g.get(-1)!=null&&(YT=TT(),a.M.Ba!=null)){var c=a.M.Ba.F();c!=null&&C8(c)}a.Z||x8(a);A8(a,"breakEnd");(p8(a.g)||a.o)&&y8(a);a.F&&(y8(a),a.dispose())})};u8.prototype.ha=function(a){var b=a.offset;this.A!==b&&(b!==-1||this.jd())&&B8(this,a)}; u8.prototype.ka=function(a){this.A!==a.offset&&B8(this,a);o8(this.g,a.offset,0);var b=n8(this.g,0).length===1;a.offset===0&&b&&(this.jd()||x8(this));eT.j?z8(this):bca(this,a.offset)}; u8.prototype.sa=function(a){this.o||this.Ya()||this.F||(this.o=!0,this.g.g.get(-1)!=null&&this.g.g.get(-1)===1)||(p8(this.g)&&this.Y instanceof j6?(this.dispatchEvent(fX({type:"contentResumeRequested",ad:null})),y8(this)):p8(this.g)||this.g.g.get(-1)!==2?n8(this.g,-1).length>0?(a.g=!1,a=this.g.o,a.g.includes(-1)&&a.dispatchEvent(new WU(-1,null)),a.stop()):y8(this):(a.g=!0,y8(this)))}; u8.prototype.ba=function(a){o8(this.g,a.offset,2);var b=a.l||iV(sS);this.dispatchEvent(fX({type:"log",data:b}));b={};this.dispatchEvent(X({type:"adBreakFetchError",ad:null,data:(b.adBreakTime=a.offset,b)}));((b=p8(this.g)||this.o)||a.offset===0)&&x8(this);b&&y8(this)};var t8=function(a){a.j.listen(a.g,"load",a.ha);a.j.listen(a.g,"play",a.ka);a.j.listen(a.g,"error",a.ba)}; u8.prototype.destroy=function(){this.l&&(Gv(this.l),this.l=null);var a=this.Y;v8(this)&&a instanceof p7&&a.j?(this.F=!0,w8(this)):(y8(this),this.dispose());return this.X.promise};var w8=function(a){b6.prototype.destroy.call(a)},v8=function(a){return!(a.Y instanceof j6)&&!a.Y.Ya()},bca=function(a,b){b===0&&(a.l=Fv(function(){x8(a)},100));b===-1&&(a.l=Fv(function(){w8(a)},500));a.G&&(a.G=!1,a.B=!0,z8(a));var c={};b=(c.adBreakTime=b,c);b=X({type:"adBreakReady",ad:a.getAd(),data:b});a.dispatchEvent(b)}; u8.prototype.O=function(){this.D.Yd=!0;this.X.resolve();b6.prototype.O.call(this)};u8.prototype.toString=function(){return"vmapman"};var A8=function(a,b){a.A!==null&&n8(a.g,a.A).forEach(function(c){nU(uU(c.aa,b))})};function D8(a){var b=b===void 0?8:b;for(var c=[],d=0;d0&&(c.push(Math.round((e-b)*1E3)/1E3),c.push(Math.round(e*1E3)/1E3))}return c};var E8=function(a,b,c,d){this.j=a;this.g=b;this.M=c;this.l=d};E8.prototype.build=function(a,b){a.enablePreloading&&yU(this.M.U.Ec)?F8(this.M.wa,2):F8(this.M.wa,1);if(this.g instanceof bV){var c=this.g,d=this.j,e=this.M,f=new b8;oU.getInstance().report(100,{type:"vmap"});a=new u8(f,c,d,b,a,e)}else b=this.g,c=this.M,d=new b8,Xba(b),a=d.create(b,c,a);this.l(a);return a};var G8=function(a,b){hq.call(this);this.g=new bK(this);N(this,this.g);this.g.listen(b,"userInteraction",this.j);this.I=a};q(G8,hq);G8.prototype.j=function(a){switch(a.messageType){case "focusSkipButton":jL(this.I,oM,null);break;case "focusUiElement":jL(this.I,nM,null)}};var H8=function(a,b,c,d,e,f){hq.call(this);var g=this;this.K=a;this.container=b;this.ma=c;this.o=d;this.B=e;this.U=f;this.l=this.g=null;this.D=-1;this.C=[];this.A=null;this.B.start();this.j=new bK(this);this.ba=new G8(this.container.tc(),this.o);this.qa=null;this.j.listen(this.o,"adsManager",this.X);this.j.listen(this.o,"userInteraction",this.Z);this.A=Qu(window,"beforeunload",function(){g.g&&g.g.mg()})};q(H8,hq); H8.prototype.O=function(){var a=this;this.g&&this.g.destroy();this.A&&(Yu(this.A),this.A=null);gq(this.l);gq(this.ba);Fv(function(){LU(a.o,"adsManager","isDestroyed");gq(a.j)},0);hq.prototype.O.call(this)};H8.prototype.T=function(a){var b=a.type,c={};a=(c.vpaidEventType=a.l,c.session=a.g,c);this.sendMessage({type:b,data:a})};H8.prototype.X=function(a){try{I8(this,{type:a.messageType,data:a.g})}catch(b){J8(this,b)}};H8.prototype.Z=function(){var a;(a=this.g)==null||a.Sc()}; var J8=function(a,b){b instanceof dS?(b.getErrorCode(),K8(a,b)):K8(a,fV(wS,b));a.dispose()},I8=function(a,b){if(b.type!=="start"||a.g)if(a.g||b.type==="init")var c=!1;else a.C.push(b),c=!0;else K8(a,fV(lS,null,"Should call init before calling start.")),c=!0;if(!c)switch(b.type){case "init":if(a.g)break;a.ma.append(b.data.adsRenderingSettings);try{var d=a.K.build(a.ma,a.B);a.j.listen(d,dU,a.N);a.j.listen(d,"adError",a.da);a.j.listen(d,eU,a.T);a.g=d}catch(D){J8(a,D);break}for(;a.C.length!==0;){var e= a.C.shift();I8(a,e)}a.l==null&&(a.l=new Ev(200));a.j.listen(a.l,"tick",a.F);a.l.start();a.g.init();zp()||a.j.listen(Pe(),"resize",a.G);break;case "skip":var f;(f=a.g)==null||f.skip();break;case "start":var g;(g=a.g)==null||g.start();break;case "stop":if(a.g&&a.g instanceof u8)w8(a.g);else{var h;(h=a.g)==null||h.destroy()}break;case "navigationRequestedFailed":var k;(k=a.g)==null||k.resume();b=fV(xS,null,(e=b.data.url)!=null?e:"unknown");e={};a.sendMessage({type:"log",data:(e.logData=fS(b),e)});break; case "pause":var l;(l=a.g)==null||l.pause();break;case "resume":var n;(n=a.g)==null||n.resume();break;case "destroy":a.dispose();break;case "expand":var p;(p=a.g)==null||p.expand();break;case "collapse":var r;(r=a.g)==null||r.collapse();break;case "volume":var t;(t=a.g)==null||t.setVolume(b.data.volume);break;case "resize":var u;(u=a.g)==null||u.resize(b.data.width,b.data.height);break;case "discardAdBreak":a.g&&a.g instanceof u8&&a.g.discardAdBreak();break;case "updateAdsRenderingSettings":if(b.data== null)break;a.ma.append(b.data.adsRenderingSettings);break;case "click":var A;(A=a.g)==null||A.Cd();break;case "appForegrounding":var v;(v=a.g)==null||v.Sc();break;case "appBackgrounding":var E;(E=a.g)==null||E.pd()}}; H8.prototype.N=function(a){var b=a.type;var c=a.getAd();c=c==null?null:YW(c,{Ek:b==="start"});b=a.type;var d=a.getAdData();a.getAd();switch(b){case "adBreakReady":this.sendMessage({type:b,data:d});break;case "adBreakFetchError":this.sendMessage({type:b,data:d});break;case "mediaUrlPinged":this.sendMessage({type:b,data:d});break;case "adProgress":d instanceof D6&&(c={},c=(c.adBreakDuration=d.adBreakDuration,c.adPosition=d.adPosition,c.currentTime=d.currentTime,c.duration=d.duration,c.totalAds=d.totalAds, c),this.sendMessage({type:b,data:c}));break;case "interaction":var e={};this.sendMessage({type:b,data:(e.adData=c,e.interactionData=d,e)});break;case "adMetadata":c=d==null?void 0:d.cuepoints;if(!c)break;d=D8(c);e={};this.sendMessage({type:b,data:(e.adCuePoints=c,e.internalCuePoints=d,e)});break;case "complete":d={};this.sendMessage({type:"remainingTime",data:(d.currentTime=-1,d.duration=-1,d.remainingTime=-1,d)});d={};this.sendMessage({type:b,data:(d.adData=c,d)});break;case "allAdsCompleted":L8(this); d={};this.sendMessage({type:b,data:(d.adData=c,d)});break;case "loaded":b=a.getAd();if(!b){K8(this,fV(wS));break}b.getContentType()!=null&&c&&(c.contentType=b.getContentType());b={};b=(b.adData=c,b);this.sendMessage({type:"loaded",data:b});break;case "videoIconClicked":b=d.clickThroughUrl;(this.U.rg||b)&&this.sendMessage({type:"videoIconClicked",data:d});break;case "iconFallbackImageClosed":this.sendMessage({type:"iconFallbackImageClosed"});break;case "click":b={};this.sendMessage({type:"click",data:(b.adData= c,b)});break;case "log":d=a.getAdData();if(!d)break;if(!(d instanceof dS))break;d=fS(d);e={};this.sendMessage({type:b,data:(e.adData=c,e.logData=d,e)});break;case "companionBackfill":this.sendMessage({type:"companionBackfill"});break;case "volumeChange":c={};this.sendMessage({type:b,data:(c.adData=d,c)});break;case "navigationRequested":b=d.url;if(!b)break;(new P(b)).o||(b=j0(b),d.url=b);this.U.Jl?(c=b,b=(e=d.attributionSrc)!=null?e:null,e=eW(fE),b&&e&&(c=new P(c),XB(c,"ase")==="3"&&XB(c,"asrd")=== "1"&&(b=new P(b),LB(b,"googleadservices.com"),b=b.toString())),d.attributionSrc=b,this.sendMessage({type:"navigationRequested",data:d})):this.ma.disableClickThrough||oL(b,d.attributionParams);break;case "setPaidV2UserEnabled":this.sendMessage({type:b,data:d});break;case "updateGfpCookie":this.sendMessage({type:b,data:d});break;default:d={},this.sendMessage({type:b,data:(d.adData=c,d)})}};H8.prototype.da=function(a){var b=this;L8(this);this.j.xa(Pe(),"resize",this.G);K8(this,a.getError());Fv(function(){return b.dispose()})}; var L8=function(a){a.j.xa(a.l,"tick",a.F);gq(a.l);a.l=null;var b={};a.sendMessage({type:"remainingTime",data:(b.currentTime=-1,b.duration=-1,b.remainingTime=-1,b)})};H8.prototype.F=function(){var a,b=(a=this.g)==null?void 0:a.getRemainingTime();if(this.D!==b&&b!==void 0){this.D=b;var c,d;a={};var e=(a.currentTime=(c=this.g)==null?void 0:c.getCurrentTime(),a.duration=(d=this.g)==null?void 0:d.getDuration(),a.remainingTime=b,a);this.sendMessage({type:"remainingTime",data:e})}}; H8.prototype.G=function(){try{var a;(a=this.g)==null||a.jc()}catch(b){J8(this,b)}};H8.prototype.sendMessage=function(a){LU(this.o,"adsManager",a.type,a.data||{})};var K8=function(a,b){b=fS(b);a.sendMessage({type:"error",data:b})};var cca=function(a){this.g=a};var dca=function(){this.g=new Map},eca=function(a,b){a.g.clear();for(var c=0;c<1;c++)a.g.set(new cca(b),!1)};var fca=["videoDisplay1","videoDisplay2"],gca=function(a){this.l=a;this.j=new Set;this.g=[]},F8=function(a,b){a.j.clear();a.g=fca.slice(0,b).map(function(c){return new KU(a.l,c)})},d7=function(a){if(a.g.length>0){var b=a.g.shift();a.j.add(b);return b}return null},W6=function(a,b){b&&(a.j.delete(b),a.g.push(b))},e7=function(a,b){for(var c=w(a.j),d=c.next();!d.done;d=c.next())d=d.value,d.reset(b),d.unload(),a.g.unshift(d)};var M8=function(a,b){Cu.call(this,"adsLoaded");this.g=a;this.Na=b};q(M8,Cu);var N8=function(a,b){this.j=a;this.U=b;this.qa=null};N8.prototype.encrypt=function(a){var b=this;return z(function(c){if(c.g==1)return c.l=2,y(c,b.j.encrypt(a),4);if(c.g!=2)return c.return(c.j);xa(c);return c.return("")})};var O8=function(a){this.ads=a},P8=function(a,b){(b=hca(a,b))&&a.ads.splice(a.ads.indexOf(b),1);return b},hca=function(a,b){b<=0&&(b=120);return a.ads.find(function(c){return c.getDuration()>0&&c.getDuration()<=b})||null};var Q8=function(a,b){this.j=a;a=ica(a,b);b=a.Ui;this.g=a.ao;this.Ui=b},R8=function(a){return a.j.reduce(function(b,c){var d;return[].concat(x(b),x((d=a.g.get(c))!=null?d:[]))},[])},S8=function(a,b){a.Ui.forEach(function(c){var d=P8(b,c.getDuration());d&&a.g.set(c,[d])})},ica=function(a,b){var c=new Map,d=[];a.forEach(function(e){if(e.l){var f=[];b.forEach(function(g){var h;a:{for(h=g.ca;h;){if(h===e){h=!0;break a}h=h.ca}h=!1}h&&f.push(g)});f.length===0&&d.push(e);c.set(e,f)}else c.set(e,[e])});return{ao:c, Ui:d}};var T8=function(a,b,c){this.P=a;this.L=b;this.A=c;this.j=this.o=null;this.B=!1;this.C=0;this.g=new Q8(this.A,[]);this.l=new O8([])},U8=function(a,b){a=a.length===0;var c=b.length>=2,d=b.length>0,e;if(e=a)b=b[0],e=AW(b)&&DW(b,"nonlinear")&&!lW(b);return e?!1:a&&c||!a&&d};m=T8.prototype; m.oe=function(a,b){var c=this;if(this.B){var d=P8(this.l,this.C);d?a([d]):b(iV(sS))}else{var e=!1,f=!1;this.P.oe(function(g){c.g=new Q8(c.A,g);f&&V8(c,a,b);e=!0},function(g){c.o=g;f&&V8(c,a,b);e=!0});this.L.oe(function(g){c.l=new O8(g);e&&V8(c,a,b);f=!0},function(g){c.j=g;e&&V8(c,a,b);f=!0})}};m.Hg=function(){return U8(this.A,this.l.ads)};m.Oc=function(){throw Error("Do not use hasMoreAds in ad buffet ad source.");};m.Mc=function(){throw Error("Do not use getNextAd in ad buffet ad source.");}; m.Nk=function(){throw Error("Do not use numInlineAdsProduced in ad buffet ad source.");};m.Zd=function(a){this.C=a;this.B=!0};var V8=function(a,b,c){a.o&&a.j?a.A.length>0&&a.o?c(a.o):a.j?c(a.j):(a=iV(sS),c(a)):a.j?b(R8(a.g)):a.o?(S8(a.g,a.l),R8(a.g).length>0?b(R8(a.g)):(a=iV(sS),c(a))):(S8(a.g,a.l),b(R8(a.g)))};var W8=function(a,b){this.C=a;this.A=b;this.g=this.j=0;this.l=-1;this.o="none"},X8=function(a,b){a.j+=1;a.o=b instanceof bV?"map":"src";oU.getInstance().report(176,{sic:a.j,eic:a.g,lst:a.o,lec:a.l});a.j>1||a.g>1||a.C(b)},Y8=function(a,b){a.g+=1;a.l=b.getErrorCode();oU.getInstance().report(176,{sic:a.j,eic:a.g,lst:a.o,lec:a.l});a.j>1||a.g>1||a.A(b)};var Z8=function(a,b,c,d,e){this.C=a;this.L=b;this.ua=c;this.P=d;this.U=e;this.kb=this.B=!0;this.l=-1;this.g=null;this.D=this.A=0;this.o=null;this.ads=this.C.length>0?this.C:this.L;this.qa=null};Z8.prototype.oe=function(a,b){jca(this,a,b)}; var kca=function(a,b,c){var d=[],e=function(f){a.Oc()?a.Mc(function(g){d.push(g);e(null)},function(g){e(g)}):d.length>0?b(d):(f==null&&(f=iV(sS)),c(f))};e(null)},jca=function(a,b,c){var d=[],e=[];lca(a,d,e);Promise.all(e).then(function(){return mca(a,d,b,c)},function(){return c(iV(AS))})},lca=function(a,b,c){a.ads.forEach(function(d){var e=[];b.push(e);d.l?nca(a,d)||(d=oca(a,d,e,function(f){return a.o=f}),c.push(d)):e.push(d)})},nca=function(a,b){if(uW(b)>=eT.getNumRedirects()){var c=a.j(b,ES,null, String(eT.getNumRedirects()));$8(a,b,c);return!0}return a.B?!1:(a.o=a.j(b,GS),!0)},mca=function(a,b,c,d){var e=[];b.forEach(function(f){f.forEach(function(g){return a.hg(g,function(h){return e.push(h)},function(h){return a.o=h})})});e.length>0?c(e):(a.o===null&&(a.o=iV(sS)),d(a.o))},oca=function(a,b,c,d){return new Promise(function(e,f){var g=mG(a.ua,b.T);a.P.fetch(g,new W8(function(h){h instanceof Z8?pca(a,h,b,c,d,e,f):(h=new dS("adLoadError","Ad source cannot contain playlist response.",2),eS(h, b),d(h),e())},function(h){h=a9(a,h,b);$8(a,b,h);d(h);e()}))})},pca=function(a,b,c,d,e,f,g){b9(b,c,a.kb&&c.kb,c.pe);b.ads.length===0?($8(a,c,a.j(c,HS)),f()):b.oe(function(h){d.push.apply(d,x(h));f()},function(h){$8(a,c,h);e(h);h.getErrorCode()===301&&g();f()})};m=Z8.prototype;m.Oc=function(){return this.g!=null&&this.g.Oc()?!0:this.ads.length>0&&this.l0?a:b:a.length===1?a:b.slice(0,1)}; Z8.prototype.hg=function(a,b,c){var d;if(!(d=a.g!=null)){var e=this.ua;d=e.nonLinearAdSlotWidth||0;e=e.nonLinearAdSlotHeight||0;AW(a)&&!a.l?DW(a,"nonlinear")?E6(a,d,e):F6(a):DW(a,"linear")?F6(a):DW(a,"nonlinear")&&E6(a,d,e);d=a.g!=null}d||a.getAdId()==="privacy_sandbox"?(this.A++,b(a)):(b=a.ya.length===0?this.j(a,BS):a.isLinear()?this.j(a,yS):this.j(a,DS),eS(b,a),c9(this,b,a),c(b))};Z8.prototype.uj=function(a,b,c){var d=mG(this.ua,a.T);tca(this,a,d,b,c)}; var tca=function(a,b,c,d,e){a.P.fetch(c,new W8(function(f){f instanceof Z8?(b9(f,b,a.kb&&b.kb,b.pe),d(f)):f instanceof bV?(f=new dS("adLoadError","Ad source cannot contain playlist response.",2),eS(f,b),e(f)):(f=new dS("adLoadError","Unknown ad source.",2),eS(f,b),e(f))},e))},qca=function(a,b,c){var d;if((d=a.g)!=null&&d.Oc()){var e;(e=a.g)==null||e.Mc(function(g){a.hg(g,b,function(h){a.Oc()?a.Mc(b,c):c(h)})},function(g){$8(a,a.ads[a.l],g);a.g=null;g.getErrorCode()===301?c(g):a.Oc()?a.Mc(b,c):c(g)})}else{var f; ((f=a.g)==null?void 0:f.Nk())===0&&(d=a.ads[a.l],$8(a,d,a.j(d,HS)));a.g=null;a.Mc(b,c)}},$8=function(a,b,c){a.o=c;c9(a,c,b)},rca=function(a,b,c){a.l++;var d=a.ads[a.l];if(d.l)if(uW(d)>=eT.getNumRedirects()){var e=a.j(d,ES,null,String(eT.getNumRedirects()));$8(a,d,e);c(e)}else a.B?a.uj(d,function(f){a.g=f;a.Mc(b,c)},function(f){f=a9(a,f,null);$8(a,d,f);c(f)}):(e=a.j(d,GS),c(e));else a.hg(d,b,c)},a9=function(a,b,c){switch(b.getErrorCode()){case 300:case 301:case 302:case 303:case 200:case 1005:eS(b, c);break;default:b.getAd()&&(c=b.getAd()),b=a.j(c,HS)}return b},b9=function(a,b,c,d){a.ads.forEach(function(e){e.ca=b;tW(e)});sca(a,c);a.B=d};Z8.prototype.j=function(a,b,c){var d=iV.apply(null,[b,c].concat(x(Ea.apply(3,arguments))));eS(d,a);return d};var c9=function(a,b,c){var d=c.G,e=b.getAd();e&&(c=e);a=UX(b,a.U,c);nU(d,a)};var d9=function(a,b,c,d){Z8.call(this,[],a,b,c,d)};q(d9,Z8);d9.prototype.Hg=function(){return e9(this)>0};var e9=function(a){var b=a.ads.length-(a.l<0?1:a.l+1);return a.g!=null&&a.g instanceof d9?b+e9(a.g):b};m=d9.prototype;m.oe=function(a,b){kca(this,a,b)};m.Oc=function(){if(this.g!=null&&this.g.Oc())return!0;var a=this.A===0||this.A===this.D;return this.ads.length>0&&a&&this.l0&&yW(a.g[0])>=0?new d9(a.g,c,b,a.U):U8(a.j,a.g)?new T8(new Z8(a.j,[],c,b,a.U),new Z8([],a.g,c,b,a.U),a.j):new Z8(a.j,a.g,c,b,a.U)},uca=function(a){a=a.filter(function(b){return b.getPodIndex()>0});a.sort(function(b,c){return b.getPodIndex()-c.getPodIndex()});return a},vca=function(a){return a.filter(function(b){return b.getPodIndex()===-1})};var f9=function(a,b,c,d){this.Ba=a;this.g=b;this.j=c;this.U=d;this.qa=null}; f9.prototype.fetch=function(a,b){if(a.adsResponse!=null&&(typeof a.adsResponse==="string"&&!F(a.adsResponse)||a.adsResponse instanceof Document||a.adsResponse instanceof Element))a:{var c=null;if(a.adsResponse instanceof Element)c=a.adsResponse;else if(a.adsResponse instanceof Document)c=a.adsResponse.documentElement;else try{c=aK(a.adsResponse).documentElement}catch(e){Y8(b,iV(vS,e));break a}if(c){var d=Ta();g9(this,c,a,d,d,b)}else Y8(b,iV(vS))}else AG(a.adTagUrl||"")?yca(this,a,b):h9(this,a,b)}; var h9=function(a,b,c){var d;if(!(d=b.adTagUrl==null))a:{try{Ad(b.adTagUrl)}catch(e){d=!1;break a}d=!0}d?eT.P?CX(function(e){return void i9(a,b,c,e)}):i9(a,b,c):Y8(c,iV(pS,null,b.adTagUrl))},yca=function(a,b,c){a.Ba?a.Ba.K().then(function(){return void h9(a,b,c)}).catch(function(){}):h9(a,b,c)},i9=function(a,b,c,d){d=d===void 0?"":d;var e,f,g,h,k;return z(function(l){if(l.g==1)return zca(b.adTagUrl||""),y(l,Aca(a,b,d),2);e=l.j;f=wT(a.U.Aa);g=a.U.sa;h=new UJ(b.vastLoadTimeout);k=Date.now();return l.return(a.j.get({url:e, timeout:h,withCredentials:!f,browsingTopics:g}).then(function(n){var p;return(p=n.documentElement)!=null?p:Promise.reject()}).then(function(n){g9(a,n,b,k,Date.now(),c)},function(n){var p="",r=iV(oS);n instanceof Error&&(r=iV(oS,n),p=n.message,p==="8"||n instanceof DOMException&&n.name==="AbortError")&&(r=iV(AS,n));Y8(c,r);n=p;n={rt:VS(b.adTagUrl||""),ec:n};oU.getInstance().report(18,n)}))})},Aca=function(a,b,c){var d,e,f,g,h;return z(function(k){if(k.g==1)return b.adTagUrl=I0(b.adTagUrl),d=Zaa(b, a.U,a.Ba),e=new P(d.g(b)),a.U.yc==="tvos"&&xE(OF)&&(f=e.j,f==="googleads.g.doubleclick.net"||f==="www.googleads.g.doubleclick.net"?LB(e,"googleads-att.g.doubleclick.net"):(f==="pubads.g.doubleclick.net"||f==="www.pubads.g.doubleclick.net")&&LB(e,"pubads-att.g.doubleclick.net")),(g=F(c)?null:c)&&PV(e.j)&&e.g.set("ged",g),y(k,bY(b,function(l){var n=a.g;if(!n.g){l=D0(l,n.U);var p=encodeURIComponent(Hc());l.set("useragent",p);g&&l.set("ged",g);p=eT.o;p==null||l.set("adsid",p);l=i0(l);n.g=n.encrypt(l)}n= n.g;return n},a.U),2);h=k.j;return k.return(lU(e.toString(),h))})},zca=function(a){a={rt:VS(a)};oU.getInstance().report(17,a)},g9=function(a,b,c,d,e,f){var g=null,h=null;try{var k=uZ(b,c,a.U);if(!k)throw iV(vS);var l=k.g();Bca(a,l,c,d,e,new W8(function(n){g=n},function(n){h=n}))}catch(n){h=n instanceof dS?n:iV(wS,n)}h!=null?Y8(f,h):g&&X8(f,g)},Bca=function(a,b,c,d,e,f){var g=b.g,h=b.j;if(g!=null)X8(f,g);else if(h&&h.length>0){h.forEach(function(l){l.ua=c;tW(l);l=l.Fb;l.A=d;l.o=e});var k=xca(new wca(h, a.U),a,c);h.forEach(function(l){l.B=k});X8(f,k)}else throw f=iV(HS),b=b.gf,a=UX(f,a.U),nU(b,a),f;};var j9=function(a,b,c,d){this.Ba=a;this.U=d;this.j=new J0;this.g=!1;this.qa=null;this.l=new f9(this.Ba,b,c,d)};j9.prototype.requestAds=function(a,b,c){var d=this,e=function(g){b(g);g=d.j;K0(g);g.g.pop();d.g=!1;k9(d)},f=function(g){c(g);g=d.j;K0(g);g.g.pop();d.g=!1;k9(d)};L0(this.j,function(){return void Cca(d,a,e,f)});k9(this)}; var k9=function(a){if(!a.g){var b=a.j;K0(b);b=b.g;b=b[b.length-1];b!=null&&(a.g=!0,b())}},Cca=function(a,b,c,d){var e=WS(b.adTagUrl);e!=null&&xG(b.adTagUrl||"")&&(a.U.ha=e);a.l.fetch(b,new W8(function(f){f instanceof bV?c(f):f.oe(c,d)},d))};var l9=function(a,b,c,d,e){O.call(this);this.Ba=a;this.Ac=e;this.Yd=!0;this.qa=this.g=null;this.j=new N8(b,d);this.l=new j9(a,this.j,c,d)};q(l9,O);l9.prototype.requestAds=function(a,b){var c=this;this.Yd&&(a.adTagUrl&&!LI(a.adTagUrl)?m9(this,new dS("adLoadError","URI malformed",1005),b):(this.j.g=void 0,this.l.requestAds(a,function(d){c.Yd?n9(c,d,b):o9(c,d,b)},function(d){return void m9(c,d,b)})))}; var Yba=function(a,b,c){a.Yd||a.l.requestAds(b,function(d){a.Yd?n9(a,d,c):o9(a,d,c)},function(d){return void m9(a,d,c)})};l9.prototype.contentComplete=function(){var a=new d8("contentComplete",new c8);this.dispatchEvent(a);a.g&&(YT=TT(),a=this.Ba.F(),a!=null&&C8(a))}; var n9=function(a,b,c){var d;z(function(e){if(e.g==1){if(b instanceof bV){a.dispatchEvent(new M8(b,c));e.g=0;return}p9(b);d=b;a.g?e=y(e,q9(a.g,b),4):(e.g=3,e=void 0);return e}e.g!=3&&(d=e.j);d instanceof dS?m9(a,d,c):a.dispatchEvent(new M8(d,c));e.g=0})},o9=function(a,b,c){var d;z(function(e){if(e.g==1){if(b instanceof bV)return m9(a,iV(jS,null,"Unsupported ad format."),c),e.return();p9(b);d=b;a.g?e=y(e,q9(a.g,b),3):(e.g=2,e=void 0);return e}e.g!=2&&(d=e.j);if(d instanceof dS)m9(a,d,c);else{var f= new d8("adBreakFetched",c);f.l=d;a.dispatchEvent(f)}e.g=0})},m9=function(a,b,c){a.Yd?(eT.getCompanionBackfill()==="always"&&a.Ba.B(IZ()),b=new hV(b),b.Na=c,a.dispatchEvent(b)):a.dispatchEvent(new d8("adBreakFetchError",c))},p9=function(a){for(var b={},c=w(a),d=c.next();!d.done;d=c.next()){d=pW(d.value);d=w(d.entries());for(var e=d.next();!e.done;e=d.next()){var f=w(e.value);e=f.next().value;f=f.next().value;var g=void 0;b[e]=((g=b[e])!=null?g:0)+f.length}}oU.getInstance().report(199,{adCount:a.length, extensionCounts:JSON.stringify(b)})};var r9=function(){this.g=[];this.j=!1};r9.prototype.push=function(a){this.g.push(a);this.j||s9(this)};var s9=function(a){var b=a.g.shift();b!=null&&(a.j=!0,b(),Fv(function(){a.j=!1;a.g.length!==0&&s9(a)},4))};var t9=function(){AZ.apply(this,arguments)};q(t9,AZ); t9.prototype.sendMessage=function(a){var b=Dca(a,this.j);Eca.push(function(){var c=a.name,d=b;d=d===void 0?null:d;switch(Fca){case 0:c=["gmsg://","afma.google.com/",c];var e="?";for(f in d)c.push(e,f,"=",encodeURIComponent(d[f].toString())),e="&";c.push(e,"dt","=",(new Date).getTime());var f=document.getElementById("afmanotify");!f&&document.body&&(f=document.createElement("iframe"),f.setAttribute("id","afmanotify"),f.setAttribute("style","display: none;"),document.body.appendChild(f));f.setAttribute("src", c.join(""));break;case 2:c={name:c,data:d};try{var g,h,k;(e=Pe())==null||(g=e.webkit)==null||(h=g.messageHandlers)==null||(k=h.bridge)==null||k.postMessage(c)}catch(l){}break;case 3:f=B.browserlessSender;f!=null&&f(c,d);break;case 4:f=B.androidWebViewCompatSender;d=Vb(d);d.name=c;c=JSON.stringify(d);f!=null&&f.postMessage&&f.postMessage(c);break;case 5:c=JSON.stringify({name:c,data:d});try{Pe().ReactNativeWebView.postMessage(c)}catch(l){}}})}; var v9=function(a){a=(a===void 0?null:a)||"*";var b=u9.get(a);b==null&&(b=new t9(a),u9.set(a,b));return b},Dca=function(a,b){var c=a.type,d=cU[a.type];d&&(c=d);b={type:c,sid:b};a.data!=null&&(c=JSON.stringify(a.data),b.data=c);a.id&&(b.id=a.id);a.g&&(b.replyToMessageId=a.g);return b},Fca=0,u9=new Map,Eca=new r9;new DOMParser;NS("3.25.1");function w9(a,b){try{var c=a.split(".");a=B;for(var d=0,e;a!=null&&d>2)+b.charCodeAt(e)&4294967295;b=d>0?d:4294967296+d}return b%1E3}};var O9=[12,13,20],Lca=function(a,b,c,d){d=d===void 0?{}:d;var e=d.Si===void 0?!1:d.Si;d=d.Ro===void 0?[]:d.Ro;this.Zf=a;this.Td=c;this.o={};this.Si=e;a={};this.g=(a[b]=[],a[4]=[],a);this.j={};this.l={};if(b=zo())for(b=w(b.split(",")||[]),a=b.next();!a.done;a=b.next())(a=Number(a.value))&&(this.j[a]=!0);d=w(d);for(b=d.next();!b.done;b=d.next())this.j[b.value]=!0},Mca=function(a,b,c,d){var e=[],f;if(f=b!==9)a.o[b]?f=!0:(a.o[b]=!0,f=!1);if(f)return Jz(a.Td,b,c,e,[],4),e;f=O9.includes(b);for(var g=[], h=[],k=w([0,1,2]),l=k.next();!l.done;l=k.next()){l=l.value;for(var n=w(a.Zf[l].entries()),p=n.next();!p.done;p=n.next()){var r=w(p.value);p=r.next().value;r=r.next().value;var t=p,u=r;p=new Ux;r=u.filter(function(K){return K.Pg===b&&a.j[K.Lc.getId()]&&P9(a,K)});if(r.length)for(p=w(r),r=p.next();!r.done;r=p.next())h.push(r.value.Lc);else if(!a.Si){r=void 0;l===2?(r=d[1],il(p,2,Vx,t)):r=d[0];var A=void 0,v=void 0;r=(v=(A=r)==null?void 0:A(String(t)))!=null?v:l===2&&Vk(u[0].Xh,11)===1?void 0:d[0](String(t)); if(r!==void 0){t=w(u);for(u=t.next();!u.done;u=t.next())if(u=u.value,u.Pg===b){A=r-u.ol;var E=u;v=E.Kk;var D=E.Lk;E=E.oo;A<0||A>=v*D||A%D!==E||!P9(a,u)||(A=Vk(u.Xh,13),A!==0&&A!==void 0&&(v=a.l[String(A)],v!==void 0&&v!==u.Lc.getId()?Kz(a.Td,a.l[String(A)],u.Lc.getId(),A):a.l[String(A)]=u.Lc.getId()),h.push(u.Lc))}Hk(p,Vx)!==0&&($k(p,3,r),g.push(p))}}}}d=w(h);for(h=d.next();!h.done;h=d.next())h=h.value,k=h.getId(),e.push(k),Q9(a,k,f?4:c),sA(Kk(h,rx,2,kk()),f?uA():[c],a.Td,k);Jz(a.Td,b,c,e,g,1);return e}, Q9=function(a,b,c){a.g[c]||(a.g[c]=[]);a=a.g[c];a.includes(b)||a.push(b)},P9=function(a,b){var c=Yg(Mz).zc,d=lx(I(b.Xh,cx,3),c);if(!d.success)return Lz(a.Td,I(b.Xh,cx,3),b.Pg,b.Lc.getId(),d),!1;if(!d.value)return!1;c=lx(I(b.Lc,cx,3),c);return c.success?c.value?!0:!1:(Lz(a.Td,I(b.Lc,cx,3),b.Pg,b.Lc.getId(),c),!1)},Nca=function(a,b){b=b.map(function(c){return new H9(c)}).filter(function(c){return!O9.includes(Vk(c,1))});a.Zf=M9(a.Zf,b)},Oca=function(a,b){wA(1,function(c){a.j[c]=!0},b);wA(2,function(c, d,e){return Mca(a,c,d,e)},b);wA(3,function(c){return(a.g[c]||[]).concat(a.g[4])},b);wA(12,function(c){return void Nca(a,c)},b);wA(16,function(c,d){return void Q9(a,c,d)},b)};var R9=function(){this.g=function(){}},Pca=function(a,b){a.g=xA(14,b,function(){})};function S9(a){Yg(R9).g(a)};var T9,U9,V9,W9,X9,Y9; function Qca(a){var b=a.xn;var c=a.zc;var d=a.config;var e=a.Xm===void 0?B9():a.Xm;var f=a.fk===void 0?0:a.fk;var g=a.Td===void 0?new Hz((W9=zB((T9=I(b,J9,5))==null?void 0:Tk(T9,2)))!=null?W9:0,(X9=zB((U9=I(b,J9,5))==null?void 0:Tk(U9,4)))!=null?X9:0,(Y9=(V9=I(b,J9,5))==null?void 0:Qk(V9,3))!=null?Y9:!1):a.Td;a=a.Zf===void 0?Jca(Kk(b,H9,2,kk(qi))):a.Zf;e.hasOwnProperty("init-done")?(xA(12,e,function(){})(Kk(b,H9,2,kk()).map(function(h){return Jj(h)})),xA(13,e,function(){})(Kk(b,rx,1,kk()).map(function(h){return Jj(h)}), f),c&&xA(14,e,function(){})(c),Z9(f,e)):(Oca(new Lca(a,f,g,d),e),yA(e),zA(e),AA(e),Z9(f,e),sA(Kk(b,rx,1,kk(qi)),[f],g,void 0,!0),Nz=Nz||!(!d||!d.zr),S9(Gca),c&&S9(c))}function Z9(a,b){var c=b=b===void 0?B9():b;CA(Yg(BA),c,a);Rca(b,a);a=b;Pca(Yg(R9),a);Yg(dW).j()} function Rca(a,b){var c=Yg(dW);c.g=function(d,e){return xA(5,a,function(){return!1})(d,e,b)};c.o=function(d,e){return xA(6,a,function(){return 0})(d,e,b)};c.A=function(d,e){return xA(7,a,function(){return""})(d,e,b)};c.C=function(d,e){return xA(8,a,function(){return[]})(d,e,b)};c.l=function(d,e){return xA(17,a,function(){return[]})(d,e,b)};c.j=function(){xA(15,a,function(){})(b)}};var $9=function(){var a;this.g=a=a===void 0?{po:hg()+(hg()&2097151)*4294967296,rn:Number.MAX_SAFE_INTEGER}:a},y4=function(a){a=a.g;return a.po*100<=a.rn};function a$(){var a=Ja("google.ima.NativeLoader.getIsGdprLoader");return a?a():!1}var b$="",c$=Ja("google.ima.NativeLoader.getNativeSdkVersion");if(c$)b$=c$()||"";else{var d$,e$;try{e$=XB(new P(Pe().location.href),"sdk_version")}catch(a){}d$=e$;b$=d$!=null?d$:""}var f$=b$,TS=f$.match(/^([a-zA-Z]+?\.?)(\d+\.\d+\.\d+)(?:-\d+)?$/),g$;g$=new Gz(16,QT(TS?PS(SS(),TS[2]):f$));var Sca=new $9,Tca=new x4(g$,Sca); Ia("google.ima.NativeBridge.receiveMessage",function(a,b,c){c=c===void 0?Tca:c;try{var d=JSON.parse(b);if(d!=null){var e=d.sid;if(e!=null){var f=new BZ(a,d.type,d.data||{},d.sid,"",d.id,d.replyToMessageId);v9().dispatchEvent(f);e!=="*"&&v9(e).dispatchEvent(f)}}}catch(g){c.Od({me:g})}});Ia("google.ima.NativeBridge.calculateIdlessState",function(a,b){b=b===void 0?{}:b;return wT(b.adTagUrl?mT(b.adTagUrl,a,a$()):b.adTagParameters?nT(b.adTagParameters,a,a$()):new lT(!1,{},a,a$()))});var h$=function(a,b){O.call(this);var c=this;this.j=this.W=null;this.g=a;this.l=b;N(this,this.l);this.wa=new gca(this.g.yd);this.Ab=new dca;BX(uX(),this.g.yd);this.l.listen(this.g.yd,"adsLoader",function(d){var e;return z(function(f){if(f.g==1)return f.l=2,y(f,Uca(c,d),4);if(f.g!=2)f.g=0,f.l=0;else throw e=xa(f),c.g.mi.Od({me:e}),e;})});YP(function(){U(T.getInstance(),"haib","1")})};q(h$,O);h$.prototype.O=function(){gq(this.j);O.prototype.O.call(this)}; var Wca=function(a,b,c){a.l.listen(b,"adsLoaded",function(d){Vca(a,d,b,c)});a.l.listen(b,"adError",function(d){var e=d.Na.g,f=d.getError();if(f){d=f.getInnerError();var g={};f=(g.type=f.getType(),g.errorMessage=f.getMessage(),g.errorCode=f.getErrorCode(),g);d!=null&&(f.innerError=d.message);LU(a.g.cd(e),"adsLoader","error",f)}})},Uca=function(a,b){var c,d,e,f;return z(function(g){switch(g.g){case 1:c=new c8;c.g=b.o;switch(b.messageType){case "requestAds":g.g=2;return;case "requestStream":g.g=3;return; case "contentComplete":(d=a.j)==null||d.contentComplete();a.g.contentComplete();break;case "signalsRefresh":e=b.g,ST.getInstance().secureSignals=(f=e.espSignals)!=null?f:null}g.g=0;break;case 2:return a.g.cd(c.g),y(g,a.requestAds(b.g,c),5);case 5:g.g=0;break;case 3:return a.g.cd(c.g),y(g,Xca(a,b.g,c),6);case 6:g.g=0}})},Vca=function(a,b,c,d){var e=b.g,f=b.Na,g=f.adTagUrl||"";b=a.g.cd(f.g);var h=f.W;new H8(new E8(c,e,new k6({W:h,wa:a.wa,ae:b,Ba:c.Ba,Ab:a.Ab,U:d,Dd:a.g.Dd,Ge:[],Ac:c.Ac,Na:f}),function(k){var l= a.g;if(l.g){l=l.g;var n;(n=l.l)!=null&&dK(n,k,dU,l.da,!1,l);var p;(p=l.l)!=null&&dK(p,k,"adError",l.B,!1,l)}}),h,Yca(),b,new VU(b,f.contentDuration),d);eca(a.Ab,b);c=Zca(g,e);Uy(d.l,Jy(I(d.l,Hy,13)||new Hy));LU(b,"adsLoader","adsLoaded",c)},Zca=function(a,b){if(b instanceof bV){var c=dV(b);b=QI()}else c=[],b=b[0].hh()&&QI();var d=D8(c),e={};c=(e.adCuePoints=c,e.internalCuePoints=d,e);fT();c.isCustomClickTrackingAllowed=b;c.adTagUrl=a;return c},i$=function(a){if(a!=null){var b=eT;if(a!=null){var c= a.activityMonitorMode;c!=null&&(b.T=c);c=a.autoPlayAdBreaks;c!=null&&b.setAutoPlayAdBreaks(c);c=a.companionBackfill;c!=null&&b.setCompanionBackfill(c);c=a.disableCustomPlaybackForIOS10Plus;c!=null&&b.setDisableCustomPlaybackForIOS10Plus(c);c=a.engagementDetection;c!=null&&(b.P=c);c=a.isFunctionalTest;c!=null&&(b.C=c);c=a.isVpaidAdapter;c!=null&&b.il(c);c=a.numRedirects;c!=null&&b.setNumRedirects(c);c=a.playerType;c!=null&&b.setPlayerType(c);c=a.playerVersion;c!=null&&b.setPlayerVersion(c);c=a.ppid; c!=null&&b.setPpid(c);c=a.reportMediaRequests;c!=null&&(b.K=c);c=a.sessionId;c!=null&&b.setSessionId(c);c=a.supportsMultipleVideoDisplayChannels;c!=null&&(b.Da=c);c=a.testingConfig;c!=null&&(b.B=new YS(c));c=a.urlSignals;c!=null&&(b.L=c);c=a.vpaidMode;c!=null&&b.setVpaidMode(c);c=a.featureFlags;c!=null&&b.setFeatureFlags(c);b.o=a.adsToken||"";b.setCookiesEnabled(a.cookiesEnabled);b.F=a["1pJar"]||"";b.G=a.privacyControls||"";c=a.cookieDeprecationLabel;if(c!=null){b.da=c;var d;c=(d=a.cookieDeprecationLabelStatus)!= null?d:0;b.Z=c}}a.persistentStateCorrelator!=null&&(b=T.getInstance(),$E(b,"c",a.persistentStateCorrelator),aF(T.getInstance()));a.activeViewPushUpdates!=null&&(uX().B=a.activeViewPushUpdates);oU.getInstance().report(41,{mode:eT.g});a.backgroundPlayback!=null&&oU.getInstance().report(32);a.pipState!=null&&oU.getInstance().report(42,{state:a.pipState});Array.isArray(a.swiftLibraries)&&zp()&&oU.getInstance().report(135,{count:a.swiftLibraries.length,libs:a.swiftLibraries.join("~")});b=a.pageCorrelator|| 0;a=a.streamCorrelator||0;b>0&&(XT=b);a>0&&(YT=a)}},j$=function(a){a!=null&&a.osdId!=null&&(uX().N=a.osdId)}; h$.prototype.requestAds=function(a,b){var c=this,d,e,f,g,h,k,l,n,p,r,t,u;return z(function(A){if(A.g==1){d=WT(a);Uy(d.l,Iy(new Hy,Date.now()));e=a.adTagUrl;i$(a.settings);j$(a.videoEnvironment);k$(a);uX().B&&Ss();d.Aa=mT(e,a.consentSettings||{},c.g.ih());e!=null&&(b.adTagUrl=e);oU.getInstance().report(165,xT(d.Aa));var v=new lG;v.adTagUrl=a.adTagUrl;v.adsResponse=a.adsResponse;v.linearAdSlotWidth=a.linearAdSlotWidth||0;v.linearAdSlotHeight=a.linearAdSlotHeight||0;v.nonLinearAdSlotWidth=a.nonLinearAdSlotWidth|| 0;v.nonLinearAdSlotHeight=a.nonLinearAdSlotHeight||0;v.forceNonLinearFullSlot=a.forceNonLinearFullSlot||!1;v.contentDuration=a.contentDuration||null;v.contentKeywords=a.contentKeywords||null;v.contentTitle=a.contentTitle||null;a.vastLoadTimeout!=null&&a.vastLoadTimeout>0&&(v.vastLoadTimeout=a.vastLoadTimeout);v.o=a.videoContinuousPlay||"0";v.g=a.videoPlayActivation||"unknown";v.A=a.videoPlayMuted||"unknown";v.omidAccessModeRules=a.omidAccessModeRules||{};v.pageUrl=a.pageUrl||null;var E;v.l=((E=a.rubidiumApiVersion)== null?void 0:E.toString())||null;v.j=a.pixelDensity||1;f=v;v=f.adTagUrl||"";yG(v)&&(v=(new P(v)).g.get("description_url",""),d.Ah===v?d.j=d.j%99===0?1:d.j+1:(d.j=1,d.Ah=v));b.contentDuration=f.contentDuration;if(e)if(e==="")var D=null;else v=new P(e),(E=XB(v,"slotname")||XB(v,"iu"))?E=E?(E=/\/(\d+)(?:,\d+){0,2}\//.exec(E))&&E.length===2?E[1]:null:null:E=null,E||(E=(v=(D=XB(v,"client"))!=null?D:"")?v:null),D=E;else D=null;g=D;D=new ny;v=el(D,1,QT());v=el(v,2,g);v=hl(v,4,d.L?2:1);E=Lx();v=Mk(v,5,E); v=cl(v,6,100).Ee(aU).pg($T);v=hl(v,9,2);E=BE();v=Ak(v,10,E,fj);el(v,11,d.g);h=D;D=new zy;v=new P(f.adTagUrl);E=Number(FG(v,"plcmt"));hl(D,1,E);v=FG(v,"sz");v===""?v=null:(v=v.split("|")[0].split("x"),v=v.length!==2?null:v);if(v){E=w(v);v=E.next().value;E=E.next().value;var K=new ty;v=$k(K,1,Number(v));$k(v,2,Number(E));Mk(D,2,K)}k=D;D=Mk(d.B,4,h);Mk(D,1,k);c.g.cd(b.g);l=l$(c);b.W=l;b.j=new ge(((n=f.linearAdSlotWidth)!=null?n:-1)/f.j,((p=f.linearAdSlotHeight)!=null?p:-1)/f.j);c.j||(D=c.g,E=zp()?new yZ: new q4,v=new z4(D.D,D.F),E=new l9(D.Ba,E,Sc()&&nf(window.fetch)&&nf(window.AbortController)?new m$:new gK,d,v),K=new n$(D.yd),E.g=new $ca(K,v),ada(D,E,d),c.j=E,Wca(c,c.j,d));D=c.j;r=D;t=a.liveStreamPrefetchSeconds||0;if(!(t>0)){A.g=2;return}u=Math.floor(t*1E3*Math.random());return y(A,Hv(u),2)}if(A.g!=4)return y(A,bda(),4);c.wj(f,r,d,t);r.requestAds(f,b);A.g=0})}; var k$=function(a){var b=(a.imalibExperiments||{}).limaExperimentIds||null;b!=null&&(AE.reset(),b=tF(b),DE(new GE(b)));b=a.pvsid;var c=(a.genotypeExperimentData||{}).experimentStateProto;c=c?JSON.parse(c):[];if(b&&c){c=Cm(L9,c);Qca({xn:c,fk:7});c={};b=(c[0]=Kca(b),c);Yg(BA).l(16,b);if(a.eventfeExperimentIds.length)for(b=w(a.eventfeExperimentIds),c=b.next();!c.done;c=b.next())c=c.value,Yg(BA).j(c);a.managedJsExperimentId&&(a=a.managedJsExperimentId,Yg(BA).j(a))}a=fT();ZS(a,"disableExperiments")&&AE.reset(); a=fT();(a=$S(a))&&a.length>0&&(AE.reset(),DE(new GE(a)));zU()&&mc(FE())},Xca=function(a,b,c){var d,e,f,g,h;return z(function(k){if(k.g==1){d=WT(b,!0);Uy(d.l,Iy(new Hy,Date.now()));i$(b.settings);j$(b.videoEnvironment);var l=new JZ,n=b.networkCode||"";l.X=b.videoStitcherSessionOptions||{};var p=b.uiOptions,r,t;if(!(t=yaa.includes(n)))a:{t=(r=window.document.domain)!=null?r:"";r=w(xaa);for(var u=r.next();!u.done;u=r.next())if(t.endsWith(u.value)){t=!0;break a}t=!1}t&&p&&(oU.getInstance().report(220, {skippableSupport:p.skippableSupport,aboutThisAdSupport:p.aboutThisAdSupport,clickThroughNavigation:p.clickThroughNavigation,networkCode:n,appName:d.appName}),l.ui.qn=p);l.o=b.assetKey||"";l.A=b.authToken||"";l.C=b.contentSourceId||"";l.L=b.customAssetKey||"";l.networkCode=n;l.G=b.liveStreamEventId||"";l.region=b.region||"";l.da=b.projectNumber||"";l.K=b.oAuthToken||"";l.wd=b.videoId||"";l.l=b.apiKey||"";l.g=b.adTagParameters||{};l.N=b.streamActivityMonitorId||"";l.format="hls";l.T=b.useQAStreamBaseUrl|| !1;l.B=b.contentSourceUrl||"";l.adTagUrl=b.adTagUrl||"";b.format==="dash"&&(l.format=b.format);n=fT();ZS(n,"useTestStreamManager")&&(l.F=!0);l.P=b.enableNonce||!1;l.Z=b.vodConfigId||"";l.j=b.rubidiumApiVersion||"";e=l;f=nT(e.g,b.consentSettings||{},a.g.ih());oU.getInstance().report(165,xT(f));d.Aa=f;e.D=wT(f);uX().B&&Ss();k$(b);g=a.g.cd(c.g);h=l$(a);c.W=h}else a.g.g(e,h,g,d);k.g=0})},l$=function(a){a.W||(a.W=new o$(document.body,a.g.cd()));return a.W}; h$.prototype.wj=function(a,b,c,d){d=d===void 0?0:d;this.g.wj(a,b,c);b=c.appName;var e=c.Sd,f={};F(G(b))||(f.app_name=b);F(G(e))||(f.external_version=e);f.delay=d;f.vpaidadapter=eT.l;f.request_type=VS(a.adTagUrl);f.ctv=HU(c).toString();oU.getInstance().report(6,f)};Ia("ima.Bridge.create",function(a,b){b=b===void 0?new bK:b;try{return new h$(a,b)}catch(c){throw a.mi.Od({me:c}),c;}},window);var p$=function(a,b,c,d){Cz.call(this,a,b);this.o=c;this.l=d};q(p$,Cz);p$.prototype.g=function(){var a=Ea.apply(0,arguments);try{var b=encodeURIComponent(th(Bx(a,this.j),3));this.l(this.o+"?e=4&d="+b)}catch(c){Ax(c,this.j)}};var q$=function(a,b,c){b=b===void 0?null:b;c=c===void 0?null:c;Cu.call(this,a);this.error=b;this.g=c};q(q$,Cu);q$.prototype.getError=function(){return this.error};var r$=function(a,b){return a.indexOf(b)==0?a.substr(b.length):null};var s$=function(){O.call(this);this.B=!1;this.ba=void 0;this.G=!1;this.ha=void 0;this.D=!1;this.K=void 0;this.F=!1;this.o=null;this.ka=0;this.j=null;this.T=new dC;this.l=null;this.g={cslots:0,dispcorr:0,streamcorr:0};this.qa=null;this.A=new bK(this)};q(s$,O);var cda=function(a,b){a.j!=null&&a.A.xa(a.j,"gpt",a.N);a.j=b;a.A.listen(a.j,"gpt",a.N)};s$.prototype.O=function(){gq(this.o);gq(this.l);gq(this.A);O.prototype.O.call(this)};s$.prototype.Ka=function(){return this.B}; var t$=function(a){if(a.G&&a.ba!=null)return a.ba.map(function(b){return b.clone()})},dda=function(a){a=t$(a);if(a!=null)return a.map(function(b){return b.getSizes()})};s$.prototype.getDisplayAdsCorrelator=function(){if(this.D)return this.ha}; s$.prototype.N=function(a){var b=a.g.returnValue,c=Number(b);switch(a.messageType){case "isGptPresent":if(b!=null&&b){this.g.isgptpresent="1";var d,e;(e=this.j)==null||e.l((d=this.j)==null?void 0:d.D);this.l==null&&(this.l=new Ev(100),this.A.listen(this.l,"tick",this.Z),this.l.start());this.Z()}else this.g.isgptpresent="0",this.X();break;case "getDisplayAdsCorrelator":isNaN(c)||(this.g.dispcorr="1",this.ha=c,this.D=!0);u$(this);break;case "getVideoStreamCorrelator":isNaN(c)||(this.g.streamcorr="1", this.K=c,this.F=!0);u$(this);break;case "googleGetCompanionAdSlots":b!=null&&(a=b.map(this.sa,this),this.g.cslots="1",this.ba=a,this.G=!0),u$(this)}};s$.prototype.sendMessage=function(a,b,c){this.j!=null&&(a={scope:a},c!=null&&(a.args=c),LU(this.j,"gpt",b,a))};s$.prototype.setVideoSession=function(a){var b=0,c=0;a!=null&&(a=new P(a.adTagUrl),b=Number(XB(a,"pod")||0),c=Number(XB(a,"ppos")||0));this.sendMessage("companionAds","setVideoSession",[YT,b,c])}; var C8=function(a){a.K=YT;a.sendMessage("pubads","setImaContent",["",""]);a.setVideoSession(null)},v$=function(a){a.o&&(a.o.stop(),a.A.xa(a.o,"tick",a.X),a.o.dispose(),a.o=null);a.l!=null&&(a.l.stop(),a.A.xa(a.l,"tick",a.Z),a.l.dispose(),a.l=null)};s$.prototype.X=function(){this.B||(this.B=!0,this.T.resolve(),v$(this),w$(this,!1),x$(this),this.dispatchEvent(new q$("companion_initialization_failed",Error("GPT companion ads service not available."))),this.j!=null&&this.A.xa(this.j,"gpt",this.N))}; s$.prototype.Z=function(){this.D||this.sendMessage("companionAds","getDisplayAdsCorrelator",[UT(ST.getInstance())]);this.F||this.sendMessage("companionAds","getVideoStreamCorrelator");this.G||this.sendMessage(null,"googleGetCompanionAdSlots")}; var u$=function(a){a.B||(a.G&&a.D&&a.F?(a.B=!0,a.T.resolve(),v$(a),w$(a,!0),x$(a),a.dispatchEvent(new q$("companions_success"))):a.o||(a.o=new Ev(5E3),a.A.Nd(a.o,"tick",a.X),a.o.start()))},w$=function(a,b){a={initSuccess:b,latency:Date.now()-a.ka,slotLoadingDone:a.G,gptCorrelatorRetrieved:a.D,gptStreamCorrelatorRetrieved:a.F};oU.getInstance().report(184,a)}; s$.prototype.sa=function(a){var b=a.adSizes.map(function(c){return{size:new ge(c.adWidth,c.adHeight),Ja:!!c.fluidSize}});return new FZ(a.slotId,b)};s$.prototype.ta=function(a){var b={};b.slotId=a.getSlotId();b.adContent=a.getContent();b.adWidth=a.A;b.adHeight=a.l;b.fluidSize=a.j;b.friendlyIframeRendering=a.o;return b}; var x$=function(a){if(!a.g.loggingDone){var b=a.g;if(zp())var c=window.location.href;else{var d=Dg();c=d.j;var e=d.g;d=d.l;var f=null;if(d)b:{try{var g=ZB(d.url),h=g.l,k=r$(h,"/v/");k||(k=r$(h,"/a/"));if(!k)throw Error("Can not extract standalone amp url.");var l=r$("/"+k,"/s/"),n=g.g.clone();n.remove("amp_js_v");n.remove("amp_lite");var p=l?ZB("https://"+l):ZB("http://"+k);NB(p,n);f=p.toString();break b}catch(r){f=null;break b}f=void 0}c=f?f:c&&c.url?c.url:e&&e.url?e.url:""}b.loc=c;a.g.ref=window.document.referrer; a.g.gcasclass="1";a.g.vpaidadapter=eT.l;a.g.ifstate=ST.getInstance().Z;oU.getInstance().report(70,a.g);a.g={loggingDone:!0}}};var y$=function(a){HZ.call(this);this.g=a;this.j=null;this.o=!1;this.qa=null;this.G=!1;this.A=null;this.D=new bK;dK(this.D,this.g,["companions_success","companion_initialization_failed"],this.zo,!1,this);dK(this.D,this.g,"companion_display_error",this.ro,!1,this);dK(this.D,this.g,["companion_slot_init","companion_click"],this.qo,!1,this);this.g.Ka()?this.G=!0:(a=this.g,a.B||(a.ka=Date.now(),a.sendMessage("proxy","isGptPresent"),u$(a)))};q(y$,HZ);y$.prototype.O=function(){this.destroy();HZ.prototype.O.call(this)}; y$.prototype.destroy=function(){this.D.dispose();this.A=null;this.l.forEach(function(a){GZ(a)});this.j=null};y$.prototype.B=function(a){gq(this.j);this.j=new O;this.A=a;this.o=!0;this.Ka()?z$(this):(this.o=A$(B$(a),[]),this.o||(this.j=this.A=null));return this.j}; y$.prototype.K=function(){var a=this,b,c,d;return z(function(e){if(e.g==1)return gT("force_ad_request_wait_gpt_sync")?e=y(e,a.g.T.promise,2):a.g.Ka()?(e.g=2,e=void 0):e=e.return(),e;(b=a.g.getDisplayAdsCorrelator())&&(XT=b);var f=a.g;f=f.F&&f.K!==0?f.K:void 0;(c=f)&&(YT=c);if(d=dda(a.g))ST.getInstance().wb=d;e.g=0})}; var z$=function(a){var b=a.A;a.A=null;if(a.l.length===0)a.o=A$(B$(b),[]),C$(a,Error("Companion slots not available."));else if(b==null)C$(a,Error("Invalid main ad."));else{var c=eda(a,b),d=a.g,e=a.l.map(d.ta,d);d.sendMessage(null,"googleSetCompanionAdContents",[e,null,UT(ST.getInstance())]);if(c.length>0&&(a=a.g,c.length!==0&&xW(b)[0]==="GDFP")){d=[];for(e=0;e191&&h<224){var k=d[f++];e[g++]=String.fromCharCode((h&31)<<6|k&63)}else if(h>239&&h<365){k=d[f++];var l=d[f++],n=d[f++];h=((h&7)<<18|(k&63)<<12|(l&63)<<6|n&63)-65536;e[g++]=String.fromCharCode(55296+(h>>10));e[g++]=String.fromCharCode(56320+(h&1023))}else k=d[f++],l=d[f++],e[g++]=String.fromCharCode((h&15)<<12| (k&63)<<6|l&63)}return new RegExp(e.join(""))})};E$.prototype.match=function(a){var b=this;return a?this.g.some(function(c){c=a.match(c);return c==null?!1:!b.j||c.length>=1&&c[1]==="3.704.0"||c.length>=2&&c[2]==="3.704.0"?!0:!1}):!1}; var F$=[94,40,63,58,104,116,116,112,115,63,58,41,63,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],G$=[94,40,63,58,104,116,116,112,115,63,58,41,63,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],H$=[94,40,63,58,104,116,116,112,115,63,58,41,63,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,97,108,47,115,100,107,108,111,97,100,101,114,47],I$=[[105,109,97,51,92,46,106,115],[105,109,97,51,95,100,101,98,117,103,92,46,106,115],[105,109,97,51,95,101,97,112,46,106,115]],J$=[[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]];new E$(F$,I$,!1);var ida=new E$(F$,J$,!0);new E$(G$,I$,!1);var jda=new E$(G$,J$,!0); new E$([94,40,63,58,104,116,116,112,115,63,58,41,63,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,46,91,48,45,57,46,93,43,47],I$,!1); new E$([94,40,63,58,104,116,116,112,115,63,58,41,63,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); new E$(F$,[[100,97,105,95,105,102,114,97,109,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],[100,97,105,95,105,102,114,97,109,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],[100,97,105,95,105,102,114,97,109,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],[100,97,105,95,99,116,118,95,105,102,114,97,109,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],[100,97,105,95,99,116,118,95,105,102,114,97,109,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],[100,97,105,95,99,116,118,95,105, 102,114,97,109,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]],!0);new E$(H$,[[112,97,108,46,106,115]],!1);new E$(H$,[[99,97,115,116,95,112,97,108,46,106,115]],!1);new E$(H$,[[99,116,118,95,112,97,108,46,106,115]],!1); function kda(){var a=[ida,jda];if(a.some(function(c){return c.match(Pe().location.href)}))return!0;var b=K$(a,Je(document,"script"));b==null&&document.querySelectorAll&&(b=K$(a,document.querySelectorAll("script")));return b!=null}function K$(a,b){for(var c={},d=0;d0&&Ta()>this.C?(this.j="failed",S$(this)):R$(this);break;case "loaded":T$(this);break;case "failed":this.C>0&&Ta()>this.C?S$(this):(this.j="loading",R$(this))}}; var T$=function(a){var b;(b=a.l)==null||b.listen(a.o,"tick",a.G);a.o!=null&&(a.o.stop(),a.o.dispose(),a.o=null)},S$=function(a){T$(a);if(a.g!=null){var b;(b=a.l)==null||b.xa(a.g,"gpt",a.D);a.g=null}a.A=[]};P$.prototype.D=function(a){this.g&&a.messageType==="isConsolePresent"&&(a=a.g.returnValue,a!=null&&a?(this.g.l(this.g.D),this.A.forEach(this.F,this),this.A=[],this.j="loaded"):this.j="failed")};var pda=function(){};var qda=ra(["https://securepubads.g.doubleclick.net/pagead/js/car.js"]),rda=ra(["https://securepubads.g.doubleclick.net/pagead/js/cocar.js"]),sda=ra(["https://ep3.adtrafficquality.google/ivt/worklet/caw.js"]);Ee(qda);var tda=Ee(rda),uda=Ee(sda);function vda(a,b){for(var c=[],d=0;d<8;++d){var e=new p$(7,"","https://pagead2.googlesyndication.com/pagead/ping",function(g){c.push({url:g})}),f=Hx(Gx(Fx(new Ex,a),d),b);e.cl(f)}return c}function wda(a,b,c,d,e){e=e===void 0?function(){}:e;var f=Pe();f.sharedStorage&&!f.clientAgeRequested&&(f.sharedStorage.createWorklet(b.toString(),{dataOrigin:"script-origin"}).then(function(g){xda(g,f,a,c,d,e)}).catch(e),f.clientAgeRequested=!0)} function xda(a,b,c,d,e,f){f=f===void 0?function(){}:f;a.selectURL("ps_caus",vda(c,d),e?{resolveToConfig:!0,savedQuery:"ps_cac"}:{resolveToConfig:!0}).then(function(g){if(g){var h=b.document.body,k=document.createElement("fencedframe");k.id="ps_caff";k.name="ps_caff";k.mode="opaque-ads";k.config=g;zf(k,"display","none");h.appendChild(k)}}).catch(f)};function U$(a){(new k_(j_())).g=function(b,c){b.method==="identifyServiceWindow"&&a(c)}}eG("OmidSessionClient.listenForServiceWindow",U$);function yda(a){P_().l(a)} var V$=function(a,b,c){O.call(this);this.D=a;this.F=b;this.mi=c;this.g=null;this.o=this.A=!1;if(!kda())throw Error("IMA SDK is either not loaded from a google domain or is not a supported version.");this.j=new bK(this);N(this,this.j);this.yd=zda(c);this.l=new Map;this.l.set("*",this.yd);this.B=Ada();a=new s$;cda(a,this.B);this.Ba=new y$(a);this.Dd=new pda;this.j.listen(Pe().document.body,"click dblclick mouseup mouseover mouseout mousemove selectstart mousedown".split(" "),this.G);"ontouchstart"in document&&this.j.listen(Pe().document.body,["touchstart","touchend","touchmove","touchcancel"],this.K);this.j.listen(this.yd,"omid",function(d){d.messageType==="iframeFailed"&&P_().D()});U$(yda)};q(V$,O);V$.prototype.ih=function(){try{return XB(new P(Pe().location.href),"gdpr")==="1"}catch(a){return!1}};var Yca=function(){var a=new JU;a.mimeTypes=AU();return a}; V$.prototype.cd=function(a){a=(a===void 0?null:a)||"*";var b=this.l.get(a);if(b==null){b=new r4(W$(),a,this.mi);b.B=!0;var c=Bda(this);c&&(b.l(c),b.connect());this.l.set(a,b)}return b};var bda=function(){return z(function(a){return a.return()})}; V$.prototype.wj=function(a,b,c){c=G(c.g);if(Oo(c,"google_console")||Oo(c,"google_force_console")||Oo(c,"googfc")){if(!this.g){c=this.g=new P$(this.B);var d;(d=c.l)!=null&&dK(d,b,"adError",c.B,!1,c)}b=this.g;b.K||(Q$(b,"version",{type:"HTML5",version:"3.704.0"}),b.K=!0);Q$(this.g,"ad_request",{adTagUrl:a.adTagUrl,adType:"Deprecated"})}};var zda=function(a){a=new r4(W$(),"*",a);a.B=!0;return a};V$.prototype.contentComplete=function(){}; var Bda=function(a){var b=null;a.l.forEach(function(c){c=c.g;c!=null&&(b=c)});return b},ada=function(a,b,c){a.j.listen(b,"adsLoaded",function(d){var e=d.g;e instanceof bV||(X$(a,e,d.Na.g,c),Y$(a,eW(eE)),eW(dE)&&Y$(a,!0,!0,4))});a.j.listen(b,"adBreakFetched",function(d){X$(a,d.l,d.Na.g,c)})},X$=function(a,b,c,d){var e=wT(d.Aa);a=a.cd(c);c={};b=b.filter(function(l){return l instanceof hW});var f=Cda(b);if(f){var g;d.N=(g=f.getValue())!=null?g:null;c.eoidCookie=Am(f)}if(!e){if(d=Z$(b,!1)){var h;ST.getInstance().A= (h=d.getValue())!=null?h:null;c.gfpCookie=Am(d)}if(h=Z$(b,!0)){var k;ST.getInstance().T=(k=h.getValue())!=null?k:null;c.gfpCookieV2=Am(h)}c.encryptedSignalBidderIds=Dda(b)}LU(a,"adsLoader","cookieUpdate",c)},Cda=function(a){return(a=a.find(function(b){return UW(b)!=null}))?UW(a):null},Z$=function(a,b){var c=wT(ST.getInstance().Aa);return!eT.isCookiesEnabled()||c?null:(a=a.find(function(d){return WW(d,b)!=null}))?WW(a,b):null},Dda=function(a){return a.map(function(b){for(var c=[];b;){var d=oW(b,"esp"); d instanceof KV&&(c=[].concat(x(c),x(LV(d))));b=b.ca}return c}).flat()},Ada=function(){var a=Pe();a=new D$([a.top,a.parent],W$(),"*");a.connect();return a},W$=function(){var a;a:{var b=w(Pe().location.hash.slice(1).split("&"));for(var c=b.next();!c.done;c=b.next()){var d=w(c.value.split("="));c=d.next().value;d=d.next().value;if(c==="fid"){b=d;break a}}b=null}return(a=b)!=null?a:""}; V$.prototype.G=function(a){LU(this.yd,"mouse",a.type,{detail:a.detail,screenX:a.screenX,screenY:a.screenY,clientX:a.clientX,clientY:a.clientY,ctrlKey:a.ctrlKey,altKey:a.altKey,shiftKey:a.shiftKey,metaKey:a.metaKey,button:a.button})}; var $$=function(a){var b=[];if(a==null)return b;var c=!!("TouchEvent"in window&&TouchEvent.length>0),d=0;for(;d0;g=c?h:!wT(g);var k=Pe();h=lK(k.isSecureContext,k,k.document);var l;k=!((l=k.sharedStorage)==null||!l.createWorklet);l=!g||!h||!e||!k;oU.getInstance().report(204,{enabled:!l,storageAllowed:g,isSharedStorageEnabled:h,isCreateWorkletApiEnabled:k,isValidPVSID:e});l||(wda(f,c?uda:tda,d,b,function(n){oU.getInstance().report(205,{message:n==null?void 0:n.message}, !0)}),c?a.o=!0:a.A=!0)}};Ia("ima.IframeBridge.create",function(){var a=new Gz(16,QT()),b=new $9,c=new x4(a,b);try{return new V$(a,b,c)}catch(d){throw c.Od({me:d}),d;}},window);})();
OSZAR »