var _yt_player={};(function(g){var window=this;var ba,da,ka,ia,la,qa,ra,sa,ta,ya,Ba,Ja,Ka,Na,Pa,Ta,Wa,bb,eb,ib,nb,jb,pb,kb,qb,vb,xb,Ab,Jb,Kb,Qb,Tb,Ub,Wb,Yb,ac,dc,hc,jc,kc,nc,oc,vc,uc,xc,yc,zc,Ac,Cc,Dc,Jc,Kc,Nc,Oc,Qc,Pc,Sc,Xc,Vc,Zc,$c,ed,dd,jd,kd,id,qd,td,Jd,Nd,Xd,ge,he,Sd,xd,se,ye,ze,xe,te,Ce,Ee,Be,Fe,Ge,He,Ie,Je,Ke,Le,Me,Qe,Pe,Re,Se,Te,Ue,We,Ve,Xe,Ye,cf,gf,hf,jf,kf,mf,qf,tf,nf,vf,Df,Cf,xf,pf,Gf,Hf,If,Jf,Kf,Mf,Nf,Qf,Pf,Rf,Sf,Wf,$f,bg,cg,fg,hg,ig,jg,lg,mg,pg,sg,og,qg,dg,kg,yg,vg,tg,ug,zg,xg,wg,Dg,Eg,Fg,Gg,Hg,Jg,Lg,Kg,Ng,Qg,Rg,Yg,Zg,$g,ah,bh,ch,
eh,gh,hh,jh,mh,nh,oh,ph,rh,sh,zh,Ah,Bh,Ch,Dh,Fh,Gh,Hh,Ph,Qh,Uh,Vh,Zh,Sh,ei,ii,li,ni,oi,pi,qi,ri,si,ti,ui,wi,yi,Ai,Bi,Ci,Di,Ei,Ii,Ji,Ki,Li,Mi,Ni,Oi,Pi,Qi,Ri,Si,Ui,Zi,$i,aj,fj,bj,ej,cj,gj,hj,jj,ij,kj,lj,mj,oj,pj,qj,tj,vj,yj,Aj,Cj,zj,Ej,Dj,Fj,Hj,Ij,Jj,Kj,Mj,Nj,Oj,Pj,Qj,Rj,Sj,Tj,Uj,Wj,Xj,Yj,Lj,ek,gk,fk,hk,jk,kk,mk,lk,ok,ik,pk,qk,rk,sk,tk,uk,vk,wk,yk,zk,Ak,Dk,Ek,Gk,Ik,Kk,Lk,Mk,Nk,Ok,Hk,Jk,Pk,Qk,Rk,Tk,Uk,Wk,Vk,Sk,Xk,al,dl,el,cl,fl,gl,hl,il,bl,jl,kl,nl,ol,ll,pl,ql,sl,ul,vl,wl,xl,yl,zl,Al,Bl,Dl,Cl,El,Fl,
Gl,Hl,Il,Jl,Ll,Ml,Nl,Ol,Pl,Ql,Rl,Tl,Sl,Ul,Wl,Vl,am,Zl,Xl,fm,em,dm,gm,hm,im,km,jm,lm,mm,nm,qm,om,rm,sm,um,vm,wm,xm,Am,Cm,Dm,zm,Fm,Gm,Hm,Im,Bm,Jm,Km,Lm,Mm,Em,Nm,Om,Pm,Rm,Sm,Um,Qm,Xm,Ym,Vm,Zm,$m,an,bn,cn,en,dn,fn,gn,hn,jn,kn,mn,nn,on,sn,tn,un,qn,wn,yn,zn,ln,Bn,Dn,Cn,Gn,Fn,An,Hn,Kn,Ln,Mn,Nn,On,Qn,Vn,Rn,Zn,$n,ao,bo,co,Kl,eo,fo,go,io,ho,ko,lo,mo,no,oo,po,qo,ro,uo,wo,vo,xo,yo,zo,Ao,Co,Bo,Go,Fo,Lo,Mo,Po,To,Uo,Wo,Vo,Oo,Zo,cp,dp,fp,gp,hp,ep,jp,kp,lp,pp,rp,mp,np,op,tp,up,sp,xp,wp,yp,Cp,Dp,Gp,Hp,Jp,Lp,Mp,Pp,
Np,Op,Qp,Sp,Tp,Up,Wp,Xp,Yp,bq,iq,mq,nq,oq,qq,rq,yq,zq,Aq,Bq,Cq,Eq,Fq,Gq,Hq,Iq,Jq,Mq,Oq,Pq,Qq,Rq,Uq,Vq,Wq,Xq,Yq,$q,br,cr,dr,gr,hr,ir,jr,kr,nr,pr,sr,tr,vr,wr,xr,zr,Br,Cr,Dr,yr,Ar,Gr,Fr,Ir,Jr,Kr,Lr,Pr,Qr,Rr,Tr,$r,bs,es,fs,gs,js,is,ns,ks,ls,ps,us,rs,ts,os,zs,Bs,Cs,Ds,Es,Gs,Hs,ys,xs,Js,aaa,Ms,Ls,Os,Ps,Qs,Ss,Rs,caa,Vs,Ws,Ys,Xs,Zs,$s,daa,at,gt,ht,kt,lt,eaa,it,mt,nt,gaa,haa,vt,wt,xt,Et,Ft,Ht,Lt,Jt,Nt,Mt,Pt,kaa,bu,cu,$t,oaa,lu,ju,ou,ru,qu,pu,paa,Au,Cu,Bu,qaa,Iu,Ju,raa,saa,Uu,Vu,Wu,Xu,Zu,Yu,$u,av,bv,cv,dv,
ev,hv,iv,jv,kv,lv,ov,pv,zv,xv,Av,yv,Bv,Cv,Ev,Fv,Gv,Iv,Mv,Nv,Caa,Qv,Rv,Sv,Ov,Vv,Uv,Wv,Xv,Zv,$v,aw,cw,dw,ew,fw,Eaa,gw,hw,iw,jw,kw,lw,mw,nw,ow,pw,qw,rw,tw,Faa,uw,vw,ww,xw,Gaa,zw,yw,Aw,Bw,Cw,Dw,Fw,Haa,Iw,Laa,Uw,Jw,Tw,Ww,Xw,Yw,Zw,$w,ax,cx,dx,ex,fx,hx,ix,jx,kx,lx,mx,nx,ox,px,qx,rx,sx,ux,tx,vx,wx,Paa,yx,Bx,Qaa,xx,Fx,Gx,Dx,Ax,Hx,Ix,Cx,Ex,Jx,Kx,Naa,Lx,Nx,Ox,Qx,Px,Raa,Rx,Sx,Tx,Saa,Vx,Ux,Wx,Xx,Yx,Zx,$x,ey,gy,Taa,by,hy,jy,iy,fy,my,Uaa,ny,oy,ay,cy,dy,ly,ky,py,qy,ry,sy,ty,uy,vy,wy,Vaa,Waa,zy,Cy,Dy,Fy,By,Xaa,Gy,
Hy,Iy,Jy,Yaa,Zaa,Ky,$aa,My,Ly,Oy,Qy,Ry,Sy,Uy,aba,Vy,Wy,Xy,Yy,$y,az,Zy,bz,cz,bba,dz,ez,fz,gz,hz,cba,dba,hba,iba,eba,fba,gba,iz,jz,jba,lz,nz,kba,oz,rz,sz,tz,lba,vz,wz,pba,oba,nba,xz,mba,qba,yz,Bz,sba,tba,Cz,Dz,uba,Ez,Fz,vba,Gz,Hz,wba,xba,Iz,zz,rba,yba,Lz,Nz,Oz,Qz,Rz,Mz,Tz,Uz,Vz,Wz,zba,aA,Gba,$z,Zz,bA,Hba,dA,Jba,Lba,Kba,Mba,Nba,fA,hA,gA,iA,Oba,kA,lA,mA,nA,pA,jA,qA,rA,sA,tA,uA,vA,wA,xA,zA,AA,BA,SA,TA,UA,VA,WA,YA,JA,QA,Uba,IA,HA,Vba,OA,eB,Wba,fB,Xba,hB,gB,Yba,Zba,iB,$ba,jB,kB,lB,mB,aca,nB,qB,sB,uB,tB,
vB,rB,wB,xB,cca,zB,eca,AB,LB,DB,MB,fca,NB,OB,RB,YB,UB,bC,cC,dC,TB,gC,XB,lca,SB,WB,$B,aC,eC,PB,hC,QB,mca,VB,jC,kC,oca,qC,vca,rC,wca,sC,tC,uC,vC,xC,zC,xca,CC,EC,FC,IC,JC,BC,yca,qca,rca,sca,pca,MC,NC,yC,Aca,PC,QC,RC,SC,TC,UC,pC,tca,VC,WC,YC,$C,aD,bD,Bca,Cca,dD,fD,XC,hD,iD,jD,kD,lD,mD,nD,oD,pD,qD,Eca,rD,sD,uD,vD,wD,xD,DD,FD,HD,KD,JD,LD,MD,Gca,ND,ID,OD,QD,PD,SD,TD,UD,VD,WD,ZD,$D,YD,XD,aE,bE,cE,fE,hE,Ica,mE,nE,oE,pE,Jca,Kca,kE,qE,rE,sE,tE,Lca,uE,vE,xE,zE,AE,Pca,Oca,Nca,BE,DE,CE,EE,FE,GE,yE,wE,Mca,IE,JE,
KE,LE,ME,NE,OE,PE,QE,HE,Qca,Rca,Sca,RE,Tca,Uca,Vca,Wca,SE,TE,UE,YE,XE,dF,VE,eF,fF,gF,WE,hF,cF,iF,nF,lF,mF,oF,qF,jF,pF,kF,rF,sF,Yca,tF,uF,vF,xF,yF,wF,AF,BF,zF,DF,Zca,CF,EF,FF,$ca,GF,ada,bda,HF,IF,JF,KF,dda,eda,LF,MF,NF,cda,RF,OF,QF,PF,SF,TF,VF,UF,YF,ZF,aG,bG,XF,cG,dG,WF,eG,fG,gG,hG,$F,iG,jG,kG,gda,hda,nG,mG,ida,lG,oG,jda,kda,lda,uG,vG,wG,tG,pG,mda,qG,rG,nda,sG,oda,pda,qda,xG,yG,zG,rda,AG,sda,EG,BG,DG,CG,tda,FG,uda,GG,HG,IG,JG,KG,vda,wda,xda,LG,NG,OG,PG,SG,TG,VG,WG,ZG,XG,$G,aH,Ada,zda,Bda,gH,fH,hH,
cH,dH,eH,iH,UG,yda,jH,kH,MG,lH,bH,mH,RG,nH,Cda,Dda,Eda,oH,Fda,pH,qH,rH,sH,tH,Gda,Hda,uH,vH,xH,wH,Jda,zH,AH,yH,BH,CH,Kda,DH,EH,Lda,Mda,FH,GH,IH,JH,MH,Oda,Nda,LH,OH,KH,Pda,Qda,NH,Rda,TH,UH,PH,XH,ZH,YH,QH,WH,VH,RH,SH,bI,fI,iI,jI,eI,Tda,Uda,kI,dI,hI,Vda,gI,cI,lI,Sda,mI,oI,pI,nI,qI,rI,tI,uI,vI,sI,wI,yI,zI,JI,Xda,BI,KI,MI,OI,PI,RI,QI,xI,GI,YI,XI,WI,Zda,SI,dJ,cJ,bJ,iJ,jJ,kJ,$I,lJ,aea,Wda,CI,eJ,tJ,bea,uJ,sJ,cea,vJ,fJ,wJ,dea,zJ,yJ,xJ,VI,AJ,TI,BJ,oJ,qJ,pJ,rJ,DJ,eea,FJ,GJ,HI,$da,HJ,CJ,II,JJ,KJ,hJ,fea,AI,EJ,
mJ,LJ,gJ,NJ,OJ,PJ,IJ,UI,ZI,QJ,TJ,ZJ,eK,kK,wK,zK,hea,DK,iea,jea,kea,lea,EK,FK,GK,IK,JK,KK,LK,MK,OK,NK,PK,QK,mea,nea,VK,RK,UK,SK,TK,oea,WK,XK,pea,qea,rea,YK,ZK,$K,aL,bL,cL,dL,eL,fL,gL,hL,lL,sea,tea,pL,oL,qL,uea,rL,sL,tL,uL,X,vL,wL,zL,AL,BL,DL,FL,vea,EL,GL,HL,IL,JL,KL,LL,ML,NL,OL,PL,yea,QL,RL,SL,TL,UL,zea,VL,WL,XL,YL,ZL,$L,Aea,aM,bM,cM,eM,dM,fM,gM,Bea,hM,iM,jM,kM,lM,mM,mL,oM,pM,qM,nM,rM,sM,Cea,tM,Dea,vM,xM,Fea,zM,yM,AM,CM,DM,Gea,EM,GM,Hea,JM,KM,LM,FM,HM,IM,MM,NM,PM,Iea,QM,RM,OM,SM,TM,Jea,UM,VM,WM,XM,
YM,ZM,$M,aN,bN,cN,dN,eN,fN,gN,hN,iN,jN,kN,lN,mN,nN,oN,pN,qN,rN,sN,tN,uN,vN,wN,xN,yN,zN,AN,BN,CN,Kea,FN,GN,DN,EN,HN,IN,JN,MN,KN,LN,NN,ON,PN,RN,Lea,SN,Mea,TN,Nea,Oea,UN,Qea,Pea,VN,WN,XN,Rea,ZN,aO,bO,cO,Sea,Tea,Uea,dO,Wea,Vea,eO,hO,iO,fO,QN,jO,nL,kO,lO,oO,rO,sO,tO,vO,wO,yO,zO,AO,BO,EO,FO,GO,HO,IO,JO,KO,Xea,LO,MO,NO,OO,PO,QO,RO,SO,TO,UO,XO,YO,ZO,afa,Yea,$ea,Zea,$O,aP,bfa,bP,cP,cfa,dfa,efa,dP,ffa,gfa,fP,gP,hP,iP,jP,lP,mP,nP,oP,pP,qP,rP,sP,tP,uP,vP,wP,xP,yP,zP,AP,hfa,BP,ifa,CP,DP,EP,FP,GP,IP,HP,JP,KP,LP,
MP,NP,OP,PP,jfa,kfa,QP,lfa,mfa,RP,nfa,SP,TP,UP,VP,WP,XP,ofa,pfa,rfa,sfa,$P,aQ,YP,qfa,ZP,tfa,bQ,cQ,dQ,fQ,eQ,gQ,hQ,iQ,jQ,kQ,mQ,vfa,nQ,oQ,pQ,qQ,rQ,tQ,uQ,vQ,wQ,xQ,yQ,zQ,AQ,BQ,CQ,EQ,FQ,GQ,HQ,JQ,KQ,LQ,OQ,PQ,dK,NQ,RQ,SQ,TQ,VQ,XQ,WQ,ZQ,YQ,yfa,cR,dR,bR,fR,eR,hR,gR,iR,jR,lR,kR,mR,nR,oR,qR,pR,rR,sR,tR,vR,wR,uR,xR,yR,zR,CR,DR,ER,FR,IR,JR,KR,HR,MR,LR,OR,Afa,PR,Bfa,WR,XR,VR,$R,aS,bS,cS,dS,eS,hS,iS,gS,fS,jS,lS,kS,mS,nS,pS,rS,oS,sS,uS,tS,Cfa,wS,xS,yS,zS,AS,BS,Dfa,CS,DS,ES,FS,HS,GS,IS,JS,KS,LS,MS,OS,NS,QS,PS,RS,SS,
TS,US,VS,ZS,XS,WS,YS,aT,$S,bT,cT,eT,hT,fT,kT,lT,mT,iT,nT,qT,oT,zT,AT,BT,CT,sT,GT,FT,yT,ET,uT,DT,HT,vT,IT,LT,MT,NT,OT,PT,QT,RT,TT,ST,UT,VT,WT,XT,ZT,$T,aU,bU,cU,Hfa,dU,eU,fU,iU,hU,jU,kU,lU,mU,oU,nU,qU,rU,pU,sU,tU,uU,wU,yU,Ifa,Jfa,Kfa,AU,zU,DU,NR,FU,EU,CU,GU,dT,HU,Lfa,Mfa,IU,LU,JU,KU,MU,NU,OU,TU,RU,UU,SU,VU,XU,WU,YU,ZU,Ofa,$U,aV,dV,bV,fV,BM,gV,hV,vK,iV,jV,kV,lV,mV,Qfa,Pfa,qV,tV,sV,uV,AK,oV,wV,BK,vV,xV,yV,zV,AV,BV,Tfa,Ufa,FV,EV,pV,LV,MV,NV,nV,OV,QV,VJ,RV,TV,DV,CV,WV,Xfa,JV,XV,YV,$V,IV,ZV,bW,dW,cW,eW,
hW,iW,VV,UV,jW,lK,KV,Dv,kW,HV,mW,oW,nW,nK,qW,aW,rW,pW,sW,tW,Sfa,SV,PV,aa,ha,ea,fa,ma,vW,xa,wa,Ga,Ha;ba=function(a){return function(){return aa[a].apply(this,arguments)}};
g.ca=function(a,b){return aa[a]=b};
da=function(){da=function(){};
ea.Symbol||(ea.Symbol=fa)};
ka=function(){da();var a=ea.Symbol.iterator;a||(a=ea.Symbol.iterator=ea.Symbol("iterator"));"function"!=typeof Array.prototype[a]&&ha(Array.prototype,a,{configurable:!0,writable:!0,value:function(){return ia(this)}});
ka=function(){}};
ia=function(a){var b=0;return la(function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}})};
la=function(a){ka();a={next:a};a[ea.Symbol.iterator]=function(){return this};
return a};
g.p=function(a){ka();var b=a[window.Symbol.iterator];return b?b.call(a):ia(a)};
g.r=function(a,b){a.prototype=ma(b.prototype);a.prototype.constructor=a;if(na)na(a,b);else for(var c in b)if("prototype"!=c)if(Object.defineProperties){var d=Object.getOwnPropertyDescriptor(b,c);d&&Object.defineProperty(a,c,d)}else a[c]=b[c];a.wa=b.prototype};
g.oa=function(a){if(!(a instanceof Array)){a=g.p(a);for(var b,c=[];!(b=a.next()).done;)c.push(b.value);a=c}return a};
qa=function(a,b,c){a instanceof String&&(a=String(a));for(var d=a.length,e=0;e<d;e++){var f=a[e];if(b.call(c,f,e,a))return{Nt:e,Qy:f}}return{Nt:-1,Qy:void 0}};
ra=function(a,b){if(b){for(var c=ea,d=a.split("."),e=0;e<d.length-1;e++){var f=d[e];f in c||(c[f]={});c=c[f]}d=d[d.length-1];e=c[d];f=b(e);f!=e&&null!=f&&ha(c,d,{configurable:!0,writable:!0,value:f})}};
sa=function(a,b,c){if(null==a)throw new TypeError("The 'this' value for String.prototype."+c+" must not be null or undefined");if(b instanceof RegExp)throw new TypeError("First argument to String.prototype."+c+" must not be a regular expression");return a+""};
ta=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};
g.t=function(a){return void 0!==a};
g.v=function(a){return"string"==typeof a};
g.ua=function(a){return"boolean"==typeof a};
g.va=function(a){return"number"==typeof a};
g.y=function(a,b,c){a=a.split(".");c=c||g.x;a[0]in c||"undefined"==typeof c.execScript||c.execScript("var "+a[0]);for(var d;a.length&&(d=a.shift());)!a.length&&g.t(b)?c[d]=b:c[d]&&c[d]!==Object.prototype[d]?c=c[d]:c=c[d]={}};
ya=function(){if(null===wa){a:{var a=g.x.document;if((a=a.querySelector&&a.querySelector("script[nonce]"))&&(a=a.nonce||a.getAttribute("nonce"))&&xa.test(a))break a;a=null}wa=a||""}return wa};
g.z=function(a,b){for(var c=a.split("."),d=b||g.x,e=0;e<c.length;e++)if(d=d[c[e]],null==d)return null;return d};
g.za=function(){};
g.Aa=function(a){a.yc=void 0;a.getInstance=function(){return a.yc?a.yc:a.yc=new a}};
Ba=function(a){var b=typeof a;if("object"==b)if(a){if(a instanceof Array)return"array";if(a instanceof Object)return b;var c=Object.prototype.toString.call(a);if("[object Window]"==c)return"object";if("[object Array]"==c||"number"==typeof a.length&&"undefined"!=typeof a.splice&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("splice"))return"array";if("[object Function]"==c||"undefined"!=typeof a.call&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("call"))return"function"}else return"null";
else if("function"==b&&"undefined"==typeof a.call)return"object";return b};
g.Ca=function(a){return"array"==Ba(a)};
g.Da=function(a){var b=Ba(a);return"array"==b||"object"==b&&"number"==typeof a.length};
g.Ea=function(a){return"function"==Ba(a)};
g.Fa=function(a){var b=typeof a;return"object"==b&&null!=a||"function"==b};
g.Ia=function(a){return a[Ga]||(a[Ga]=++Ha)};
Ja=function(a,b,c){return a.call.apply(a.bind,arguments)};
Ka=function(a,b,c){if(!a)throw Error();if(2<arguments.length){var d=Array.prototype.slice.call(arguments,2);return function(){var c=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(c,d);return a.apply(b,c)}}return function(){return a.apply(b,arguments)}};
g.A=function(a,b,c){Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?g.A=Ja:g.A=Ka;return g.A.apply(null,arguments)};
g.La=function(a,b){var c=Array.prototype.slice.call(arguments,1);return function(){var b=c.slice();b.push.apply(b,arguments);return a.apply(this,b)}};
g.Ma=function(a,b){for(var c in b)a[c]=b[c]};
g.B=function(a,b){function c(){}
c.prototype=b.prototype;a.wa=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.fP=function(a,c,f){for(var d=Array(arguments.length-2),e=2;e<arguments.length;e++)d[e-2]=arguments[e];return b.prototype[c].apply(a,d)}};
Na=function(a){if(Error.captureStackTrace)Error.captureStackTrace(this,Na);else{var b=Error().stack;b&&(this.stack=b)}a&&(this.message=String(a))};
g.Oa=function(a){return a[a.length-1]};
Pa=function(a,b){for(var c=g.v(a)?a.split(""):a,d=a.length-1;0<=d;--d)d in c&&b.call(void 0,c[d],d,a)};
g.Ra=function(a,b,c){b=g.Qa(a,b,c);return 0>b?null:g.v(a)?a.charAt(b):a[b]};
g.Qa=function(a,b,c){for(var d=a.length,e=g.v(a)?a.split(""):a,f=0;f<d;f++)if(f in e&&b.call(c,e[f],f,a))return f;return-1};
Ta=function(a,b){var c=g.Sa(a,b,void 0);return 0>c?null:g.v(a)?a.charAt(c):a[c]};
g.Sa=function(a,b,c){for(var d=g.v(a)?a.split(""):a,e=a.length-1;0<=e;e--)if(e in d&&b.call(c,d[e],e,a))return e;return-1};
g.Va=function(a,b){return 0<=(0,g.Ua)(a,b)};
Wa=function(a){if(!g.Ca(a))for(var b=a.length-1;0<=b;b--)delete a[b];a.length=0};
g.Xa=function(a,b){g.Va(a,b)||a.push(b)};
g.Za=function(a,b){var c=(0,g.Ua)(a,b),d;(d=0<=c)&&g.Ya(a,c);return d};
g.Ya=function(a,b){return 1==Array.prototype.splice.call(a,b,1).length};
g.ab=function(a,b){var c=g.Qa(a,b,void 0);0<=c&&g.Ya(a,c)};
bb=function(a,b){var c=0;Pa(a,function(d,e){b.call(void 0,d,e,a)&&g.Ya(a,e)&&c++})};
g.cb=function(a){return Array.prototype.concat.apply([],arguments)};
g.db=function(a){var b=a.length;if(0<b){for(var c=Array(b),d=0;d<b;d++)c[d]=a[d];return c}return[]};
eb=function(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];if(g.Da(d)){var e=a.length||0,f=d.length||0;a.length=e+f;for(var k=0;k<f;k++)a[e+k]=d[k]}else a.push(d)}};
g.gb=function(a,b,c,d){Array.prototype.splice.apply(a,g.fb(arguments,1))};
g.fb=function(a,b,c){return 2>=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)};
ib=function(a){for(var b={},c=0,d=0;d<a.length;){var e=a[d++];var f=e;f=g.Fa(f)?"o"+g.Ia(f):(typeof f).charAt(0)+f;Object.prototype.hasOwnProperty.call(b,f)||(b[f]=!0,a[c++]=e)}a.length=c};
g.lb=function(a,b,c){return jb(a,c||kb,!1,b)};
nb=function(a,b){return jb(a,b,!0,void 0,void 0)};
jb=function(a,b,c,d,e){for(var f=0,k=a.length,l;f<k;){var m=f+k>>1,n;c?n=b.call(e,a[m],m,a):n=b(d,a[m]);0<n?f=m+1:(k=m,l=!n)}return l?f:~f};
g.ob=function(a,b){a.sort(b||kb)};
pb=function(a,b){var c=kb;g.ob(a,function(a,e){return c(b(a),b(e))})};
g.rb=function(a,b){if(!g.Da(a)||!g.Da(b)||a.length!=b.length)return!1;for(var c=a.length,d=qb,e=0;e<c;e++)if(!d(a[e],b[e]))return!1;return!0};
kb=function(a,b){return a>b?1:a<b?-1:0};
qb=function(a,b){return a===b};
g.tb=function(a,b,c){c=g.lb(a,b,c);0>c&&g.gb(a,-(c+1),0,b)};
g.ub=function(a,b,c){var d={};(0,g.C)(a,function(e,f){d[b.call(c,e,f,a)]=e});
return d};
vb=function(a){for(var b=[],c=0;c<a;c++)b[c]="";return b};
g.wb=function(a,b){return 0==a.lastIndexOf(b,0)};
xb=function(a,b){var c=a.length-b.length;return 0<=c&&a.indexOf(b,c)==c};
g.yb=function(a){return/^[\s\xa0]*$/.test(a)};
g.zb=function(a){return(0,window.encodeURIComponent)(String(a))};
Ab=function(a){return(0,window.decodeURIComponent)(a.replace(/\+/g," "))};
g.Ib=function(a){if(!Bb.test(a))return a;-1!=a.indexOf("&")&&(a=a.replace(Cb,"&amp;"));-1!=a.indexOf("<")&&(a=a.replace(Db,"&lt;"));-1!=a.indexOf(">")&&(a=a.replace(Eb,"&gt;"));-1!=a.indexOf('"')&&(a=a.replace(Fb,"&quot;"));-1!=a.indexOf("'")&&(a=a.replace(Gb,"&#39;"));-1!=a.indexOf("\x00")&&(a=a.replace(Hb,"&#0;"));return a};
Jb=function(a,b){a.length>b&&(a=a.substring(0,b-3)+"...");return a};
Kb=function(a,b){return-1!=a.toLowerCase().indexOf(b.toLowerCase())};
g.Mb=function(a,b){var c=g.t(void 0)?a.toFixed(void 0):String(a),d=c.indexOf(".");-1==d&&(d=c.length);return Lb("0",Math.max(0,b-d))+c};
g.Nb=function(a){return null==a?"":String(a)};
g.Ob=function(){return Math.floor(2147483648*Math.random()).toString(36)+Math.abs(Math.floor(2147483648*Math.random())^(0,g.D)()).toString(36)};
g.Rb=function(a,b){for(var c=0,d=Pb(String(a)).split("."),e=Pb(String(b)).split("."),f=Math.max(d.length,e.length),k=0;0==c&&k<f;k++){var l=d[k]||"",m=e[k]||"";do{l=/(\d*)(\D*)(.*)/.exec(l)||["","","",""];m=/(\d*)(\D*)(.*)/.exec(m)||["","","",""];if(0==l[0].length&&0==m[0].length)break;c=Qb(0==l[1].length?0:(0,window.parseInt)(l[1],10),0==m[1].length?0:(0,window.parseInt)(m[1],10))||Qb(0==l[2].length,0==m[2].length)||Qb(l[2],m[2]);l=l[3];m=m[3]}while(0==c)}return c};
Qb=function(a,b){return a<b?-1:a>b?1:0};
g.Sb=function(a){for(var b=0,c=0;c<a.length;++c)b=31*b+a.charCodeAt(c)>>>0;return b};
Tb=function(a){var b=Number(a);return 0==b&&g.yb(a)?window.NaN:b};
Ub=function(a){return String(a).replace(/\-([a-z])/g,function(a,c){return c.toUpperCase()})};
g.Vb=function(a){return String(a).replace(/([A-Z])/g,"-$1").toLowerCase()};
Wb=function(a){var b=g.v(void 0)?"undefined".replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08"):"\\s";return a.replace(new RegExp("(^"+(b?"|["+b+"]+":"")+")([a-z])","g"),function(a,b,e){return b+e.toUpperCase()})};
Yb=function(a){return-1!=g.Xb.indexOf(a)};
g.Zb=function(a,b,c){for(var d in a)b.call(c,a[d],d,a)};
g.$b=function(a,b,c){var d={},e;for(e in a)b.call(c,a[e],e,a)&&(d[e]=a[e]);return d};
ac=function(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return!0;return!1};
g.bc=function(a,b){for(var c in a)if(!b.call(void 0,a[c],c,a))return!1;return!0};
g.cc=function(a){var b=0,c;for(c in a)b++;return b};
dc=function(a){for(var b in a)return a[b]};
g.ec=function(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b};
g.fc=function(a){var b=[],c=0,d;for(d in a)b[c++]=d;return b};
g.gc=function(a,b){var c=g.Da(b),d=c?b:arguments;for(c=c?0:1;c<d.length;c++){if(null==a)return;a=a[d[c]]}return a};
hc=function(a,b){return null!==a&&b in a};
g.ic=function(a,b){for(var c in a)if(a[c]==b)return!0;return!1};
jc=function(a,b,c){for(var d in a)if(b.call(c,a[d],d,a))return d};
kc=function(a,b){var c=jc(a,b,void 0);return c&&a[c]};
g.lc=function(a){for(var b in a)return!1;return!0};
g.mc=function(a){for(var b in a)delete a[b]};
nc=function(a,b){b in a&&delete a[b]};
oc=function(a,b,c){return null!==a&&b in a?a[b]:c};
g.pc=function(a,b){for(var c in a)if(!(c in b)||a[c]!==b[c])return!1;for(c in b)if(!(c in a))return!1;return!0};
g.qc=function(a){var b={},c;for(c in a)b[c]=a[c];return b};
g.rc=function(a){var b=Ba(a);if("object"==b||"array"==b){if(g.Ea(a.clone))return a.clone();b="array"==b?[]:{};for(var c in a)b[c]=g.rc(a[c]);return b}return a};
g.tc=function(a,b){for(var c,d,e=1;e<arguments.length;e++){d=arguments[e];for(c in d)a[c]=d[c];for(var f=0;f<sc.length;f++)c=sc[f],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}};
vc=function(){return Yb("Safari")&&!(uc()||Yb("Coast")||Yb("Opera")||Yb("Edge")||Yb("Silk")||Yb("Android"))};
uc=function(){return(Yb("Chrome")||Yb("CriOS"))&&!Yb("Edge")};
g.wc=function(){return Yb("Android")&&!(uc()||Yb("Firefox")||Yb("Opera")||Yb("Silk"))};
xc=function(){return Yb("iPhone")&&!Yb("iPod")&&!Yb("iPad")};
yc=function(){return xc()||Yb("iPad")||Yb("iPod")};
zc=function(a){zc[" "](a);return a};
Ac=function(a,b){try{return zc(a[b]),!0}catch(c){}return!1};
Cc=function(a,b){var c=Bc;return Object.prototype.hasOwnProperty.call(c,a)?c[a]:c[a]=b(a)};
Dc=function(){var a=g.x.document;return a?a.documentMode:void 0};
g.Fc=function(a){return Cc(a,function(){return 0<=g.Rb(Ec,a)})};
g.Hc=function(a){return Number(Gc)>=a};
Jc=function(){this.g="";this.l=Ic};
Kc=function(a){return a instanceof Jc&&a.constructor===Jc&&a.l===Ic?a.g:"type_error:Const"};
g.Lc=function(a){var b=new Jc;b.g=a;return b};
Nc=function(){this.l="";this.o=Mc};
Oc=function(a){if(a instanceof Nc&&a.constructor===Nc&&a.o===Mc)return a.l;Ba(a);return"type_error:TrustedResourceUrl"};
Qc=function(a){return Pc(Kc(a))};
Pc=function(a){var b=new Nc;b.l=a;return b};
Sc=function(){this.l="";this.o=Rc};
g.Tc=function(a){if(a instanceof Sc&&a.constructor===Sc&&a.o===Rc)return a.l;Ba(a);return"type_error:SafeUrl"};
g.Wc=function(a){if(a instanceof Sc)return a;a=a.cf?a.Fd():String(a);Uc.test(a)||(a="about:invalid#zClosurez");return Vc(a)};
Xc=function(a){if(a instanceof Sc)return a;a=a.cf?a.Fd():String(a);Uc.test(a)||(a="about:invalid#zClosurez");return Vc(a)};
Vc=function(a){var b=new Sc;b.l=a;return b};
Zc=function(){this.g="";this.l=Yc};
$c=function(a){var b=new Zc;b.g=a;return b};
ed=function(a){if(a instanceof Sc)return'url("'+g.Tc(a).replace(/</g,"%3c").replace(/[\\"]/g,"\\$&")+'")';if(a instanceof Jc)a=Kc(a);else{a=String(a);var b=a.replace(ad,"$1").replace(bd,"url");if(cd.test(b)){for(var c=b=!0,d=0;d<a.length;d++){var e=a.charAt(d);"'"==e&&c?b=!b:'"'==e&&b&&(c=!c)}a=b&&c?dd(a):"zClosurez"}else a="zClosurez"}return a};
dd=function(a){return a.replace(bd,function(a,c,d,e){var b="";d=d.replace(/^(['"])(.*)\1$/,function(a,c,d){b=c;return d});
a=g.Wc(d).Fd();return c+b+a+b+e})};
g.gd=function(){this.l="";this.A=fd;this.o=null};
g.hd=function(a){if(a instanceof g.gd&&a.constructor===g.gd&&a.A===fd)return a.l;Ba(a);return"type_error:SafeHtml"};
jd=function(a){if(a instanceof g.gd)return a;var b=null;a.so&&(b=a.g());a=g.Ib(a.cf?a.Fd():String(a));return id(a,b)};
kd=function(a){function b(a){g.Ca(a)?(0,g.C)(a,b):(a=jd(a),d+=g.hd(a),a=a.g(),0==c?c=a:0!=a&&c!=a&&(c=null))}
var c=0,d="";(0,g.C)(arguments,b);return id(d,c)};
id=function(a,b){var c=new g.gd;c.l=a;c.o=b;return c};
g.ld=function(a,b){var c=b instanceof Sc?b:Xc(b);a.href=g.Tc(c)};
g.md=function(a,b){a.src=Oc(b);var c=ya();c&&a.setAttribute("nonce",c)};
g.nd=function(a,b){Kc(a);Kc(a);return id(b,null)};
g.od=function(a,b,c){return Math.min(Math.max(a,b),c)};
g.pd=function(a,b){var c=a%b;return 0>c*b?c+b:c};
qd=function(a,b,c){return a+c*(b-a)};
g.rd=function(a){return a*Math.PI/180};
g.sd=function(a,b){this.x=g.t(a)?a:0;this.y=g.t(b)?b:0};
td=function(a,b){return a==b?!0:a&&b?a.x==b.x&&a.y==b.y:!1};
g.ud=function(a,b){return new g.sd(a.x-b.x,a.y-b.y)};
g.vd=function(a,b){this.width=a;this.height=b};
g.wd=function(a,b){return a==b?!0:a&&b?a.width==b.width&&a.height==b.height:!1};
g.Ad=function(a){return a?new xd(g.yd(a)):zd||(zd=new xd)};
g.Bd=function(a){return g.v(a)?window.document.getElementById(a):a};
g.Dd=function(a,b){var c=b||window.document;return c.querySelectorAll&&c.querySelector?c.querySelectorAll("."+a):g.Cd(window.document,"*",a,b)};
g.Ed=function(a,b){var c=b||window.document;if(c.getElementsByClassName)c=c.getElementsByClassName(a)[0];else{c=window.document;var d=b||c;c=d.querySelectorAll&&d.querySelector&&a?d.querySelector(a?"."+a:""):g.Cd(c,"*",a,b)[0]||null}return c||null};
g.Cd=function(a,b,c,d){a=d||a;b=b&&"*"!=b?String(b).toUpperCase():"";if(a.querySelectorAll&&a.querySelector&&(b||c))return a.querySelectorAll(b+(c?"."+c:""));if(c&&a.getElementsByClassName){a=a.getElementsByClassName(c);if(b){d={};for(var e=0,f=0,k;k=a[f];f++)b==k.nodeName&&(d[e++]=k);d.length=e;return d}return a}a=a.getElementsByTagName(b||"*");if(c){d={};for(f=e=0;k=a[f];f++)b=k.className,"function"==typeof b.split&&g.Va(b.split(/\s+/),c)&&(d[e++]=k);d.length=e;return d}return a};
g.Gd=function(a,b){g.Zb(b,function(b,d){b&&b.cf&&(b=b.Fd());"style"==d?a.style.cssText=b:"class"==d?a.className=b:"for"==d?a.htmlFor=b:Fd.hasOwnProperty(d)?a.setAttribute(Fd[d],b):g.wb(d,"aria-")||g.wb(d,"data-")?a.setAttribute(d,b):a[d]=b})};
g.Id=function(a){a=a.document;a=g.Hd(a)?a.documentElement:a.body;return new g.vd(a.clientWidth,a.clientHeight)};
g.Ld=function(a){var b=Jd(a);a=a.parentWindow||a.defaultView;return g.Kd&&g.Fc("10")&&a.pageYOffset!=b.scrollTop?new g.sd(b.scrollLeft,b.scrollTop):new g.sd(a.pageXOffset||b.scrollLeft,a.pageYOffset||b.scrollTop)};
Jd=function(a){return a.scrollingElement?a.scrollingElement:!g.Md&&g.Hd(a)?a.documentElement:a.body||a.documentElement};
Nd=function(a){return a?a.parentWindow||a.defaultView:window};
g.Rd=function(a,b,c){var d=arguments,e=window.document,f=String(d[0]),k=d[1];if(!Od&&k&&(k.name||k.type)){f=["<",f];k.name&&f.push(' name="',g.Ib(k.name),'"');if(k.type){f.push(' type="',g.Ib(k.type),'"');var l={};g.tc(l,k);delete l.type;k=l}f.push(">");f=f.join("")}f=e.createElement(f);k&&(g.v(k)?f.className=k:g.Ca(k)?f.className=k.join(" "):g.Gd(f,k));2<d.length&&g.Qd(e,f,d,2);return f};
g.Qd=function(a,b,c,d){function e(c){c&&b.appendChild(g.v(c)?a.createTextNode(c):c)}
for(;d<c.length;d++){var f=c[d];!g.Da(f)||g.Fa(f)&&0<f.nodeType?e(f):(0,g.C)(Sd(f)?g.db(f):f,e)}};
g.Td=function(a){return window.document.createElement(String(a))};
g.Ud=function(a){return window.document.createTextNode(String(a))};
g.Hd=function(a){return"CSS1Compat"==a.compatMode};
g.Vd=function(a,b){a.appendChild(b)};
g.Wd=function(a){for(var b;b=a.firstChild;)a.removeChild(b)};
Xd=function(a,b,c){a.insertBefore(b,a.childNodes[c]||null)};
g.Yd=function(a){return a&&a.parentNode?a.parentNode.removeChild(a):null};
g.ae=function(a){return Zd&&void 0!=a.children?a.children:(0,g.$d)(a.childNodes,function(a){return 1==a.nodeType})};
g.be=function(a){if(g.t(a.firstElementChild))a=a.firstElementChild;else for(a=a.firstChild;a&&1!=a.nodeType;)a=a.nextSibling;return a};
g.de=function(a){var b;if(ce&&!(g.Kd&&g.Fc("9")&&!g.Fc("10")&&g.x.SVGElement&&a instanceof g.x.SVGElement)&&(b=a.parentElement))return b;b=a.parentNode;return g.Fa(b)&&1==b.nodeType?b:null};
g.ee=function(a,b){if(!a||!b)return!1;if(a.contains&&1==b.nodeType)return a==b||a.contains(b);if("undefined"!=typeof a.compareDocumentPosition)return a==b||!!(a.compareDocumentPosition(b)&16);for(;b&&a!=b;)b=b.parentNode;return b==a};
g.yd=function(a){return 9==a.nodeType?a:a.ownerDocument||a.document};
g.fe=function(a,b){if("textContent"in a)a.textContent=b;else if(3==a.nodeType)a.data=String(b);else if(a.firstChild&&3==a.firstChild.nodeType){for(;a.lastChild!=a.firstChild;)a.removeChild(a.lastChild);a.firstChild.data=String(b)}else{g.Wd(a);var c=g.yd(a);a.appendChild(c.createTextNode(String(b)))}};
g.ie=function(a){var b;if((b="A"==a.tagName||"INPUT"==a.tagName||"TEXTAREA"==a.tagName||"SELECT"==a.tagName||"BUTTON"==a.tagName?!a.disabled&&(!ge(a)||he(a)):ge(a)&&he(a))&&g.Kd){var c;!g.Ea(a.getBoundingClientRect)||g.Kd&&null==a.parentElement?c={height:a.offsetHeight,width:a.offsetWidth}:c=a.getBoundingClientRect();a=null!=c&&0<c.height&&0<c.width}else a=b;return a};
ge=function(a){return g.Kd&&!g.Fc("9")?(a=a.getAttributeNode("tabindex"),null!=a&&a.specified):a.hasAttribute("tabindex")};
he=function(a){a=a.tabIndex;return g.va(a)&&0<=a&&32768>a};
Sd=function(a){if(a&&"number"==typeof a.length){if(g.Fa(a))return"function"==typeof a.item||"string"==typeof a.item;if(g.Ea(a))return"function"==typeof a.item}return!1};
g.ke=function(a,b,c,d){if(!b&&!c)return null;var e=b?String(b).toUpperCase():null;return g.je(a,function(a){return(!e||a.nodeName==e)&&(!c||g.v(a.className)&&g.Va(a.className.split(/\s+/),c))},!0,d)};
g.me=function(a,b){return g.ke(a,null,b,void 0)};
g.je=function(a,b,c,d){a&&!c&&(a=a.parentNode);for(c=0;a&&(null==d||c<=d);){if(b(a))return a;a=a.parentNode;c++}return null};
xd=function(a){this.g=a||g.x.document||window.document};
g.ne=function(a){a=a.g;return a.parentWindow||a.defaultView};
g.pe=function(a){oe();return Pc(a)};
g.qe=function(a){for(var b=[],c=0,d=0;d<a.length;d++){var e=a.charCodeAt(d);255<e&&(b[c++]=e&255,e>>=8);b[c++]=e}return b};
g.re=function(a){if(8192>=a.length)return String.fromCharCode.apply(null,a);for(var b="",c=0;c<a.length;c+=8192){var d=g.fb(a,c,c+8192);b+=String.fromCharCode.apply(null,d)}return b};
se=function(a){return(0,g.E)(a,function(a){a=a.toString(16);return 1<a.length?a:"0"+a}).join("")};
g.we=function(a,b){g.Da(a);te();for(var c=b?ue:ve,d=[],e=0;e<a.length;e+=3){var f=a[e],k=e+1<a.length,l=k?a[e+1]:0,m=e+2<a.length,n=m?a[e+2]:0,q=f>>2;f=(f&3)<<4|l>>4;l=(l&15)<<2|n>>6;n&=63;m||(n=64,k||(l=64));d.push(c[q],c[f],c[l],c[n])}return d.join("")};
ye=function(a){var b=[];xe(a,function(a){b.push(a)});
return b};
ze=function(a){var b=a.length,c=0;"="===a[b-2]?c=2:"="===a[b-1]&&(c=1);var d=new window.Uint8Array(Math.ceil(3*b/4)-c),e=0;xe(a,function(a){d[e++]=a});
return d.subarray(0,e)};
xe=function(a,b){function c(b){for(;d<a.length;){var c=a.charAt(d++),e=Ae[c];if(null!=e)return e;if(!g.yb(c))throw Error("Unknown base64 encoding at char: "+c);}return b}
te();for(var d=0;;){var e=c(-1),f=c(0),k=c(64),l=c(64);if(64===l&&-1===e)break;b(e<<2|f>>4);64!=k&&(b(f<<4&240|k>>2),64!=l&&b(k<<6&192|l))}};
te=function(){if(!ve){ve={};Ae={};ue={};for(var a=0;65>a;a++)ve[a]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(a),Ae[ve[a]]=a,ue[a]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_.".charAt(a),62<=a&&(Ae["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_.".charAt(a)]=a)}};
Ce=function(a,b,c){this.l=null;this.C=this.F=this.g=this.o=this.A=0;this.B=!1;a&&Be(this,a,b,c)};
Ee=function(a,b,c){if(De.length){var d=De.pop();a&&Be(d,a,b,c);return d}return new Ce(a,b,c)};
Be=function(a,b,c,d){b=b.constructor===window.Uint8Array?b:b.constructor===window.ArrayBuffer?new window.Uint8Array(b):b.constructor===Array?new window.Uint8Array(b):b.constructor===String?ze(b):new window.Uint8Array(0);a.l=b;a.A=g.t(c)?c:0;a.o=g.t(d)?a.A+d:a.l.length;a.g=a.A};
Fe=function(a){var b=a.l;var c=b[a.g+0];var d=c&127;if(128>c)return a.g+=1,d;c=b[a.g+1];d|=(c&127)<<7;if(128>c)return a.g+=2,d;c=b[a.g+2];d|=(c&127)<<14;if(128>c)return a.g+=3,d;c=b[a.g+3];d|=(c&127)<<21;if(128>c)return a.g+=4,d;c=b[a.g+4];d|=(c&15)<<28;if(128>c)return a.g+=5,d>>>0;a.g+=5;128<=b[a.g++]&&128<=b[a.g++]&&128<=b[a.g++]&&128<=b[a.g++]&&a.g++;return d};
Ge=function(a){this.g=Ee(a,void 0,void 0);this.B=this.g.g;this.l=this.o=-1;this.A=!1};
He=function(a){var b=a.g;(b=b.g==b.o)||(b=a.A)||(b=a.g,b=b.B||0>b.g||b.g>b.o);if(b)return!1;a.B=a.g.g;b=Fe(a.g);var c=b&7;if(0!=c&&5!=c&&1!=c&&2!=c&&3!=c&&4!=c)return a.A=!0,!1;a.o=b>>>3;a.l=c;return!0};
Ie=function(a){switch(a.l){case 0:if(0!=a.l)Ie(a);else{for(a=a.g;a.l[a.g]&128;)a.g++;a.g++}break;case 1:1!=a.l?Ie(a):(a=a.g,a.g+=8);break;case 2:if(2!=a.l)Ie(a);else{var b=Fe(a.g);a=a.g;a.g+=b}break;case 5:5!=a.l?Ie(a):(a=a.g,a.g+=4);break;case 3:b=[a.o];do{if(!He(a)){a.A=!0;break}if(3==a.l)b.push(a.o);else if(4==a.l&&a.o!=b.pop()){a.A=!0;break}}while(0<b.length)}};
Je=function(a){a=a.g;a:{for(var b,c=0,d,e=0;4>e;e++)if(b=a.l[a.g++],c|=(b&127)<<7*e,128>b){a.F=c>>>0;a.C=0;break a}b=a.l[a.g++];c|=(b&127)<<28;d=0|(b&127)>>4;if(128>b)a.F=c>>>0,a.C=d>>>0;else{for(e=0;5>e;e++)if(b=a.l[a.g++],d|=(b&127)<<7*e+3,128>b){a.F=c>>>0;a.C=d>>>0;break a}a.B=!0}}b=a.F;c=a.C;if(a=c&2147483648)b=~b+1>>>0,c=~c>>>0,0==b&&(c=c+1>>>0);b=4294967296*c+b;return a?-b:b};
Ke=function(a){var b=Fe(a.g);a=a.g;var c=a.l,d=a.g;b=d+b;for(var e=[],f="";d<b;){var k=c[d++];if(128>k)e.push(k);else if(192>k)continue;else if(224>k){var l=c[d++];e.push((k&31)<<6|l&63)}else if(240>k){l=c[d++];var m=c[d++];e.push((k&15)<<12|(l&63)<<6|m&63)}else if(248>k){l=c[d++];m=c[d++];var n=c[d++];k=(k&7)<<18|(l&63)<<12|(m&63)<<6|n&63;k-=65536;e.push((k>>10&1023)+55296,(k&1023)+56320)}8192<=e.length&&(f+=String.fromCharCode.apply(null,e),e.length=0)}f+=g.re(e);a.g=d;return f};
Le=function(a){var b=Fe(a.g);a=a.g;if(0>b||a.g+b>a.l.length)a.B=!0,b=new window.Uint8Array(0);else{var c=a.l.subarray(a.g,a.g+b);a.g+=b;b=c}return b};
Me=function(){};
Qe=function(a,b,c){a.o=null;b||(b=[]);a.F=void 0;a.A=-1;a.g=b;a:{if(b=a.g.length){--b;var d=a.g[b];if(d&&"object"==typeof d&&!g.Ca(d)&&!(Ne&&d instanceof window.Uint8Array)){a.B=b-a.A;a.l=d;break a}}a.B=Number.MAX_VALUE}a.C={};if(c)for(b=0;b<c.length;b++)d=c[b],d<a.B?(d+=a.A,a.g[d]=a.g[d]||Oe):(Pe(a),a.l[d]=a.l[d]||Oe)};
Pe=function(a){var b=a.B+a.A;a.g[b]||(a.l=a.g[b]={})};
Re=function(a,b){if(b<a.B){var c=b+a.A,d=a.g[c];return d===Oe?a.g[c]=[]:d}if(a.l)return d=a.l[b],d===Oe?a.l[b]=[]:d};
Se=function(a,b){if(b<a.B){var c=b+a.A,d=a.g[c];return d===Oe?a.g[c]=[]:d}d=a.l[b];return d===Oe?a.l[b]=[]:d};
Te=function(a){if(null==a||a instanceof window.Uint8Array)return a;if(g.v(a))return ze(a);Ba(a);return null};
Ue=function(a,b,c){b<a.B?a.g[b+a.A]=c:(Pe(a),a.l[b]=c)};
We=function(a){if(a.o)for(var b in a.o){var c=a.o[b];if(g.Ca(c))for(var d=0;d<c.length;d++)c[d]&&Ve(c[d]);else c&&Ve(c)}};
Ve=function(a){We(a);return a.g};
Xe=function(a){if(g.Ca(a)){for(var b=Array(a.length),c=0;c<a.length;c++){var d=a[c];null!=d&&(b[c]="object"==typeof d?Xe(d):d)}return b}if(Ne&&a instanceof window.Uint8Array)return new window.Uint8Array(a);b={};for(c in a)d=a[c],null!=d&&(b[c]="object"==typeof d?Xe(d):d);return b};
Ye=function(a){for(var b=[],c=a=Nd(a.ownerDocument);c!=a.top;c=c.parent)if(c.frameElement)b.push(c.frameElement);else break;return b};
g.G=function(){this.Ob=this.Ob;this.qb=this.qb};
g.I=function(a,b){g.Ze(a,g.La(g.$e,b))};
g.Ze=function(a,b){a.Ob?g.t(void 0)?b.call(void 0):b():(a.qb||(a.qb=[]),a.qb.push(g.t(void 0)?(0,g.A)(b,void 0):b))};
g.$e=function(a){a&&"function"==typeof a.dispose&&a.dispose()};
g.af=function(a){for(var b=0,c=arguments.length;b<c;++b){var d=arguments[b];g.Da(d)?g.af.apply(null,d):g.$e(d)}};
g.bf=function(a,b){this.type=a;this.currentTarget=this.target=b;this.defaultPrevented=this.Tg=!1;this.Gx=!0};
cf=function(a,b){g.bf.call(this,a?a.type:"");this.relatedTarget=this.currentTarget=this.target=null;this.button=this.screenY=this.screenX=this.clientY=this.clientX=0;this.key="";this.charCode=this.keyCode=0;this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1;this.state=null;this.pointerId=0;this.pointerType="";this.g=null;a&&this.init(a,b)};
g.ef=function(a){return!(!a||!a[g.df])};
gf=function(a,b,c,d,e){this.listener=a;this.g=null;this.src=b;this.type=c;this.capture=!!d;this.Yk=e;this.key=++ff;this.bi=this.lk=!1};
hf=function(a){a.bi=!0;a.listener=null;a.g=null;a.src=null;a.Yk=null};
jf=function(a){this.src=a;this.listeners={};this.g=0};
kf=function(a,b){var c=b.type;if(!(c in a.listeners))return!1;var d=g.Za(a.listeners[c],b);d&&(hf(b),0==a.listeners[c].length&&(delete a.listeners[c],a.g--));return d};
g.lf=function(a){var b=0,c;for(c in a.listeners){for(var d=a.listeners[c],e=0;e<d.length;e++)++b,hf(d[e]);delete a.listeners[c];a.g--}};
mf=function(a,b,c,d){for(var e=0;e<a.length;++e){var f=a[e];if(!f.bi&&f.listener==b&&f.capture==!!c&&f.Yk==d)return e}return-1};
g.of=function(a,b,c,d,e){if(d&&d.once)return nf(a,b,c,d,e);if(g.Ca(b)){for(var f=0;f<b.length;f++)g.of(a,b[f],c,d,e);return null}c=pf(c);return g.ef(a)?a.da(b,c,g.Fa(d)?!!d.capture:!!d,e):qf(a,b,c,!1,d,e)};
qf=function(a,b,c,d,e,f){if(!b)throw Error("Invalid event type");var k=g.Fa(e)?!!e.capture:!!e,l=g.rf(a);l||(a[sf]=l=new jf(a));c=l.add(b,c,d,k,f);if(c.g)return c;d=tf();c.g=d;d.src=a;d.listener=c;if(a.addEventListener)uf||(e=k),void 0===e&&(e=!1),a.addEventListener(b.toString(),d,e);else if(a.attachEvent)a.attachEvent(vf(b.toString()),d);else if(a.addListener&&a.removeListener)a.addListener(d);else throw Error("addEventListener and attachEvent are unavailable.");wf++;return c};
tf=function(){var a=xf,b=yf?function(c){return a.call(b.src,b.listener,c)}:function(c){c=a.call(b.src,b.listener,c);
if(!c)return c};
return b};
nf=function(a,b,c,d,e){if(g.Ca(b)){for(var f=0;f<b.length;f++)nf(a,b[f],c,d,e);return null}c=pf(c);return g.ef(a)?a.ql(b,c,g.Fa(d)?!!d.capture:!!d,e):qf(a,b,c,!0,d,e)};
g.zf=function(a,b,c,d,e){if(g.Ca(b))for(var f=0;f<b.length;f++)g.zf(a,b[f],c,d,e);else d=g.Fa(d)?!!d.capture:!!d,c=pf(c),g.ef(a)?a.Na(b,c,d,e):a&&(a=g.rf(a))&&(b=a.Ni(b,c,d,e))&&g.Af(b)};
g.Af=function(a){if(g.va(a)||!a||a.bi)return!1;var b=a.src;if(g.ef(b))return kf(b.Td,a);var c=a.type,d=a.g;b.removeEventListener?b.removeEventListener(c,d,a.capture):b.detachEvent?b.detachEvent(vf(c),d):b.addListener&&b.removeListener&&b.removeListener(d);wf--;(c=g.rf(b))?(kf(c,a),0==c.g&&(c.src=null,b[sf]=null)):hf(a);return!0};
vf=function(a){return a in Bf?Bf[a]:Bf[a]="on"+a};
Df=function(a,b,c,d){var e=!0;if(a=g.rf(a))if(b=a.listeners[b.toString()])for(b=b.concat(),a=0;a<b.length;a++){var f=b[a];f&&f.capture==c&&!f.bi&&(f=Cf(f,d),e=e&&!1!==f)}return e};
Cf=function(a,b){var c=a.listener,d=a.Yk||a.src;a.lk&&g.Af(a);return c.call(d,b)};
xf=function(a,b){if(a.bi)return!0;if(!yf){var c=b||g.z("window.event"),d=new cf(c,this),e=!0;if(!(0>c.keyCode||void 0!=c.returnValue)){a:{var f=!1;if(0==c.keyCode)try{c.keyCode=-1;break a}catch(m){f=!0}if(f||void 0==c.returnValue)c.returnValue=!0}c=[];for(f=d.currentTarget;f;f=f.parentNode)c.push(f);f=a.type;for(var k=c.length-1;!d.Tg&&0<=k;k--){d.currentTarget=c[k];var l=Df(c[k],f,!0,d);e=e&&l}for(k=0;!d.Tg&&k<c.length;k++)d.currentTarget=c[k],l=Df(c[k],f,!1,d),e=e&&l}return e}return Cf(a,new cf(b,
this))};
g.rf=function(a){a=a[sf];return a instanceof jf?a:null};
pf=function(a){if(g.Ea(a))return a;a[Ef]||(a[Ef]=function(b){return a.handleEvent(b)});
return a[Ef]};
g.Ff=function(){g.G.call(this);this.Td=new jf(this);this.ca=this;this.J=null};
Gf=function(a,b,c,d){b=a.Td.listeners[String(b)];if(!b)return!0;b=b.concat();for(var e=!0,f=0;f<b.length;++f){var k=b[f];if(k&&!k.bi&&k.capture==c){var l=k.listener,m=k.Yk||k.src;k.lk&&kf(a.Td,k);e=!1!==l.call(m,d)&&e}}return e&&0!=d.Gx};
Hf=function(a,b){this.o=a;this.A=b;this.l=0;this.g=null};
If=function(a,b){a.A(b);100>a.l&&(a.l++,b.next=a.g,a.g=b)};
Jf=function(a){return function(){return a}};
Kf=function(a){var b=b||0;return function(){return a.apply(this,Array.prototype.slice.call(arguments,0,b))}};
g.Lf=function(a){var b=!1,c;return function(){b||(c=a(),b=!0);return c}};
Mf=function(a){var b=a;return function(){if(b){var a=b;b=null;a()}}};
Nf=function(a){g.x.setTimeout(function(){throw a;},0)};
Qf=function(a,b){var c=a;b&&(c=(0,g.A)(a,b));!g.Ea(g.x.setImmediate)||g.x.Window&&g.x.Window.prototype&&!Yb("Edge")&&g.x.Window.prototype.setImmediate==g.x.setImmediate?(Of||(Of=Pf()),Of(c)):g.x.setImmediate(c)};
Pf=function(){var a=g.x.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!Yb("Presto")&&(a=function(){var a=window.document.createElement("IFRAME");a.style.display="none";a.src="";window.document.documentElement.appendChild(a);var b=a.contentWindow;a=b.document;a.open();a.write("");a.close();var c="callImmediate"+Math.random(),d="file:"==b.location.protocol?"*":b.location.protocol+"//"+b.location.host;a=(0,g.A)(function(a){if(("*"==d||
a.origin==d)&&a.data==c)this.port1.onmessage()},this);
b.addEventListener("message",a,!1);this.port1={};this.port2={postMessage:function(){b.postMessage(c,d)}}});
if("undefined"!==typeof a&&!Yb("Trident")&&!Yb("MSIE")){var b=new a,c={},d=c;b.port1.onmessage=function(){if(g.t(c.next)){c=c.next;var a=c.Nr;c.Nr=null;a()}};
return function(a){d.next={Nr:a};d=d.next;b.port2.postMessage(0)}}return"undefined"!==typeof window.document&&"onreadystatechange"in window.document.createElement("SCRIPT")?function(a){var b=window.document.createElement("SCRIPT");
b.onreadystatechange=function(){b.onreadystatechange=null;b.parentNode.removeChild(b);b=null;a();a=null};
window.document.documentElement.appendChild(b)}:function(a){g.x.setTimeout(a,0)}};
Rf=function(){this.l=this.g=null};
Sf=function(){this.next=this.scope=this.g=null};
g.Zf=function(a,b){Tf||Wf();Xf||(Tf(),Xf=!0);Yf.add(a,b)};
Wf=function(){if(g.x.Promise&&g.x.Promise.resolve){var a=g.x.Promise.resolve(void 0);Tf=function(){a.then($f)}}else Tf=function(){Qf($f)}};
$f=function(){for(var a;a=Yf.remove();){try{a.g.call(a.scope)}catch(b){Nf(b)}If(ag,a)}Xf=!1};
bg=function(a){a.prototype.then=a.prototype.then;a.prototype.$goog_Thenable=!0};
cg=function(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(b){return!1}};
g.eg=function(a,b){this.g=0;this.F=void 0;this.A=this.l=this.o=null;this.B=this.C=!1;if(a!=g.za)try{var c=this;a.call(b,function(a){dg(c,2,a)},function(a){dg(c,3,a)})}catch(d){dg(this,3,d)}};
fg=function(){this.next=this.context=this.onRejected=this.o=this.g=null;this.l=!1};
hg=function(a,b,c){var d=gg.get();d.o=a;d.onRejected=b;d.context=c;return d};
ig=function(a){if(a instanceof g.eg)return a;var b=new g.eg(g.za);dg(b,2,a);return b};
jg=function(a){return new g.eg(function(b,c){c(a)})};
lg=function(a,b,c){kg(a,b,c,null)||g.Zf(g.La(b,a))};
mg=function(a){return new g.eg(function(b,c){a.length||b(void 0);for(var d=0,e;d<a.length;d++)e=a[d],lg(e,b,c)})};
g.ng=function(a){return new g.eg(function(b,c){var d=a.length,e=[];if(d)for(var f=function(a,c){d--;e[a]=c;0==d&&b(e)},k=function(a){c(a)},l=0,m;l<a.length;l++)m=a[l],lg(m,g.La(f,l),k);
else b(e)})};
pg=function(a,b){var c=hg(b,b,void 0);c.l=!0;og(a,c);return a};
g.rg=function(a,b){return qg(a,null,b,void 0)};
sg=function(a,b){if(0==a.g)if(a.o){var c=a.o;if(c.l){for(var d=0,e=null,f=null,k=c.l;k&&(k.l||(d++,k.g==a&&(e=k),!(e&&1<d)));k=k.next)e||(f=k);e&&(0==c.g&&1==d?sg(c,b):(f?(d=f,d.next==c.A&&(c.A=d),d.next=d.next.next):tg(c),ug(c,e,3,b)))}a.o=null}else dg(a,3,b)};
og=function(a,b){a.l||2!=a.g&&3!=a.g||vg(a);a.A?a.A.next=b:a.l=b;a.A=b};
qg=function(a,b,c,d){var e=hg(null,null,null);e.g=new g.eg(function(a,k){e.o=b?function(c){try{var e=b.call(d,c);a(e)}catch(n){k(n)}}:a;
e.onRejected=c?function(b){try{var e=c.call(d,b);!g.t(e)&&b instanceof wg?k(b):a(e)}catch(n){k(n)}}:k});
e.g.o=a;og(a,e);return e.g};
dg=function(a,b,c){0==a.g&&(a===c&&(b=3,c=new TypeError("Promise cannot resolve to itself")),a.g=1,kg(c,a.I,a.J,a)||(a.F=c,a.g=b,a.o=null,vg(a),3!=b||c instanceof wg||xg(a,c)))};
kg=function(a,b,c,d){if(a instanceof g.eg)return og(a,hg(b||g.za,c||null,d)),!0;if(cg(a))return a.then(b,c,d),!0;if(g.Fa(a))try{var e=a.then;if(g.Ea(e))return yg(a,e,b,c,d),!0}catch(f){return c.call(d,f),!0}return!1};
yg=function(a,b,c,d,e){function f(a){l||(l=!0,d.call(e,a))}
function k(a){l||(l=!0,c.call(e,a))}
var l=!1;try{b.call(a,k,f)}catch(m){f(m)}};
vg=function(a){a.C||(a.C=!0,g.Zf(a.G,a))};
tg=function(a){var b=null;a.l&&(b=a.l,a.l=b.next,b.next=null);a.l||(a.A=null);return b};
ug=function(a,b,c,d){if(3==c&&b.onRejected&&!b.l)for(;a&&a.B;a=a.o)a.B=!1;if(b.g)b.g.o=null,zg(b,c,d);else try{b.l?b.o.call(b.context):zg(b,c,d)}catch(e){Ag.call(null,e)}If(gg,b)};
zg=function(a,b,c){2==b?a.o.call(a.context,c):a.onRejected&&a.onRejected.call(a.context,c)};
xg=function(a,b){a.B=!0;g.Zf(function(){a.B&&Ag.call(null,b)})};
wg=function(a){Na.call(this,a)};
g.Bg=function(a,b){g.Ff.call(this);this.Gc=a||1;this.Nj=b||g.x;this.Lr=(0,g.A)(this.uc,this);this.iu=(0,g.D)()};
g.Cg=function(a,b,c){if(g.Ea(a))c&&(a=(0,g.A)(a,c));else if(a&&"function"==typeof a.handleEvent)a=(0,g.A)(a.handleEvent,a);else throw Error("Invalid listener argument");return 2147483647<Number(b)?-1:g.x.setTimeout(a,b||0)};
Dg=function(a,b){var c=null;return g.rg(new g.eg(function(d,e){c=g.Cg(function(){d(b)},a);
-1==c&&e(Error("Failed to schedule timer."))}),function(a){g.x.clearTimeout(c);
throw a;})};
Eg=function(){return Math.round((0,g.D)()/1E3)};
Fg=function(a){var b=window.performance&&window.performance.timing&&window.performance.timing.domLoading&&0<window.performance.timing.domLoading?Math.round(window.performance.timing.domLoading/1E3):null;return null!=b?b:null!=a?a:Eg()};
Gg=function(){this.l=-1};
Hg=function(a){return/^\s*$/.test(a)?!1:/^[\],:{}\s\u2028\u2029]*$/.test(a.replace(/\\["\\\/bfnrtu]/g,"@").replace(/(?:"[^"\\\n\r\u2028\u2029\x00-\x08\x0a-\x1f]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?)[\s\u2028\u2029]*(?=:|,|]|}|$)/g,"]").replace(/(?:^|:|,)(?:[\s\u2028\u2029]*\[)+/g,""))};
Jg=function(a){try{return g.x.JSON.parse(a)}catch(d){var b=d}a=String(a);if(Hg(a))try{var c=eval("("+a+")");b&&Ig("Invalid JSON: "+a,b);return c}catch(d){}throw Error("Invalid JSON string: "+a);};
g.Mg=function(a){var b=[];Kg(new Lg,a,b);return b.join("")};
Lg=function(){};
Kg=function(a,b,c){if(null==b)c.push("null");else{if("object"==typeof b){if(g.Ca(b)){var d=b;b=d.length;c.push("[");for(var e="",f=0;f<b;f++)c.push(e),Kg(a,d[f],c),e=",";c.push("]");return}if(b instanceof String||b instanceof Number||b instanceof Boolean)b=b.valueOf();else{c.push("{");e="";for(d in b)Object.prototype.hasOwnProperty.call(b,d)&&(f=b[d],"function"!=typeof f&&(c.push(e),Ng(d,c),c.push(":"),Kg(a,f,c),e=","));c.push("}");return}}switch(typeof b){case "string":Ng(b,c);break;case "number":c.push((0,window.isFinite)(b)&&
!(0,window.isNaN)(b)?String(b):"null");break;case "boolean":c.push(String(b));break;case "function":c.push("null");break;default:throw Error("Unknown type: "+typeof b);}}};
Ng=function(a,b){b.push('"',a.replace(Og,function(a){var b=Pg[a];b||(b="\\u"+(a.charCodeAt(0)|65536).toString(16).substr(1),Pg[a]=b);return b}),'"')};
Qg=function(a){this.g=a||{cookie:""}};
Rg=function(a){a=(a.g.cookie||"").split(";");for(var b=[],c=[],d,e,f=0;f<a.length;f++)e=Pb(a[f]),d=e.indexOf("="),-1==d?(b.push(""),c.push(e)):(b.push(e.substring(0,d)),c.push(e.substring(d+1)));return{keys:b,values:c}};
g.Sg=function(a,b,c,d,e,f,k){var l="";a&&(l+=a+":");c&&(l+="//",b&&(l+=b+"@"),l+=c,d&&(l+=":"+d));e&&(l+=e);f&&(l+="?"+f);k&&(l+="#"+k);return l};
g.Ug=function(a){return a.match(Tg)};
g.Vg=function(a){return a?(0,window.decodeURI)(a):a};
g.Wg=function(a){return g.Vg(g.Ug(a)[3]||null)};
g.Xg=function(a){return Number(g.Ug(a)[4]||null)||null};
Yg=function(a,b){if(a)for(var c=a.split("&"),d=0;d<c.length;d++){var e=c[d].indexOf("="),f=null;if(0<=e){var k=c[d].substring(0,e);f=c[d].substring(e+1)}else k=c[d];b(k,f?Ab(f):"")}};
Zg=function(a){var b=a.indexOf("#");0>b&&(b=a.length);var c=a.indexOf("?");if(0>c||c>b){c=b;var d=""}else d=a.substring(c+1,b);return[a.substr(0,c),d,a.substr(b)]};
$g=function(a,b){return b?a?a+"&"+b:b:a};
ah=function(a,b){if(!b)return a;var c=Zg(a);c[1]=$g(c[1],b);return c[0]+(c[1]?"?"+c[1]:"")+c[2]};
bh=function(a,b,c){if(g.Ca(b))for(var d=0;d<b.length;d++)bh(a,String(b[d]),c);else null!=b&&c.push(a+(""===b?"":"="+g.zb(b)))};
ch=function(a,b){for(var c=[],d=b||0;d<a.length;d+=2)bh(a[d],a[d+1],c);return c.join("&")};
g.dh=function(a){var b=[],c;for(c in a)bh(c,a[c],b);return b.join("&")};
eh=function(a,b){var c=2==arguments.length?ch(arguments[1],0):ch(arguments,1);return ah(a,c)};
g.fh=function(a,b){var c=g.dh(b);return ah(a,c)};
gh=function(a,b,c){c=null!=c?"="+g.zb(c):"";return ah(a,b+c)};
hh=function(a,b,c,d){for(var e=c.length;0<=(b=a.indexOf(c,b))&&b<d;){var f=a.charCodeAt(b-1);if(38==f||63==f)if(f=a.charCodeAt(b+e),!f||61==f||38==f||35==f)return b;b+=e+1}return-1};
jh=function(a){var b=a.search(ih),c=hh(a,0,"post_data",b);if(0>c)return null;var d=a.indexOf("&",c);if(0>d||d>b)d=b;c+=10;return Ab(a.substr(c,d-c))};
g.lh=function(a,b){for(var c=a.search(ih),d=0,e,f=[];0<=(e=hh(a,d,b,c));)f.push(a.substring(d,e)),d=Math.min(a.indexOf("&",e)+1||c,c);f.push(a.substr(d));return f.join("").replace(kh,"$1")};
mh=function(a,b,c){return gh(g.lh(a,b),b,c)};
nh=function(a,b){var c=Zg(a),d=c[1],e=[];d&&(0,g.C)(d.split("&"),function(a){var c=a.indexOf("=");b.hasOwnProperty(0<=c?a.substr(0,c):a)||e.push(a)});
c[1]=$g(e.join("&"),g.dh(b));return c[0]+(c[1]?"?"+c[1]:"")+c[2]};
oh=function(){this.g={};return this};
ph=function(a,b){a.g.eb=oc(a.g,"eb",0)|b};
g.qh=function(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d};
rh=function(a,b){return a==b?!0:a&&b?a.top==b.top&&a.right==b.right&&a.bottom==b.bottom&&a.left==b.left:!1};
sh=function(a,b,c){b instanceof g.sd?(a.left+=b.x,a.right+=b.x,a.top+=b.y,a.bottom+=b.y):(a.left+=b,a.right+=b,g.va(c)&&(a.top+=c,a.bottom+=c));return a};
g.th=function(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d};
g.uh=function(a){return new g.qh(a.top,a.left+a.width,a.top+a.height,a.left)};
g.vh=function(a,b){return a==b?!0:a&&b?a.left==b.left&&a.width==b.width&&a.top==b.top&&a.height==b.height:!1};
g.wh=function(a,b){var c=Math.max(a.left,b.left),d=Math.min(a.left+a.width,b.left+b.width);if(c<=d){var e=Math.max(a.top,b.top),f=Math.min(a.top+a.height,b.top+b.height);if(e<=f)return a.left=c,a.top=e,a.width=d-c,a.height=f-e,!0}return!1};
g.xh=function(a){return new g.vd(a.width,a.height)};
g.yh=function(a){return new g.sd(a.left,a.top)};
zh=function(){this.g={};this.l=0};
Ah=function(a,b){this.B=a;this.o=!0;this.g=b};
Bh=function(a,b){Ah.call(this,String(a),b);this.A=a;this.g=!!b};
Ch=function(a,b){Ah.call(this,a,b)};
Dh=function(a){if(a.match(/^-?[0-9]+\.-?[0-9]+\.-?[0-9]+\.-?[0-9]+$/)){a=a.split(".");var b=Number(a[0]),c=Number(a[1]);return new Ch("",new g.th(c,b,Number(a[3])-c,Number(a[2])-b))}return new Ch("",new g.th(0,0,0,0))};
Fh=function(){Eh||(Eh=new zh);return Eh};
Gh=function(a,b){a.g[b.B]=b};
g.Ih=function(a,b,c){if(g.v(b))(b=Hh(a,b))&&(a.style[b]=c);else for(var d in b){c=a;var e=b[d],f=Hh(c,d);f&&(c.style[f]=e)}};
Hh=function(a,b){var c=Jh[b];if(!c){var d=Ub(b);c=d;void 0===a.style[d]&&(d=(g.Md?"Webkit":g.Kh?"Moz":g.Kd?"ms":g.Lh?"O":null)+Wb(d),void 0!==a.style[d]&&(c=d));Jh[b]=c}return c};
Ph=function(a,b){var c=a.style[Ub(b)];return"undefined"!==typeof c?c:a.style[Hh(a,b)]||""};
Qh=function(a,b){var c=g.yd(a);return c.defaultView&&c.defaultView.getComputedStyle&&(c=c.defaultView.getComputedStyle(a,null))?c[b]||c.getPropertyValue(b)||"":""};
g.Rh=function(a,b){return Qh(a,b)||(a.currentStyle?a.currentStyle[b]:null)||a.style&&a.style[b]};
g.Th=function(a,b,c){if(b instanceof g.sd){var d=b.x;b=b.y}else d=b,b=c;a.style.left=Sh(d,!1);a.style.top=Sh(b,!1)};
Uh=function(a){return new g.sd(a.offsetLeft,a.offsetTop)};
Vh=function(a){try{var b=a.getBoundingClientRect()}catch(c){return{left:0,top:0,right:0,bottom:0}}g.Kd&&a.ownerDocument.body&&(a=a.ownerDocument,b.left-=a.documentElement.clientLeft+a.body.clientLeft,b.top-=a.documentElement.clientTop+a.body.clientTop);return b};
g.Wh=function(a){if(g.Kd&&!g.Hc(8))return a.offsetParent;var b=g.yd(a),c=g.Rh(a,"position"),d="fixed"==c||"absolute"==c;for(a=a.parentNode;a&&a!=b;a=a.parentNode)if(11==a.nodeType&&a.host&&(a=a.host),c=g.Rh(a,"position"),d=d&&"static"==c&&a!=b.documentElement&&a!=b.body,!d&&(a.scrollWidth>a.clientWidth||a.scrollHeight>a.clientHeight||"fixed"==c||"absolute"==c||"relative"==c))return a;return null};
g.Yh=function(a){for(var b=new g.qh(0,window.Infinity,window.Infinity,0),c=g.Ad(a),d=c.g.body,e=c.g.documentElement,f=Jd(c.g);a=g.Wh(a);)if(!(g.Kd&&0==a.clientWidth||g.Md&&0==a.clientHeight&&a==d)&&a!=d&&a!=e&&"visible"!=g.Rh(a,"overflow")){var k=g.Xh(a),l=new g.sd(a.clientLeft,a.clientTop);k.x+=l.x;k.y+=l.y;b.top=Math.max(b.top,k.y);b.right=Math.min(b.right,k.x+a.clientWidth);b.bottom=Math.min(b.bottom,k.y+a.clientHeight);b.left=Math.max(b.left,k.x)}d=f.scrollLeft;f=f.scrollTop;b.left=Math.max(b.left,
d);b.top=Math.max(b.top,f);c=g.Id(g.ne(c)||window);b.right=Math.min(b.right,d+c.width);b.bottom=Math.min(b.bottom,f+c.height);return 0<=b.top&&0<=b.left&&b.bottom>b.top&&b.right>b.left?b:null};
g.Xh=function(a){var b=g.yd(a),c=new g.sd(0,0);var d=b?g.yd(b):window.document;d=!g.Kd||g.Hc(9)||g.Hd(g.Ad(d).g)?d.documentElement:d.body;if(a==d)return c;a=Vh(a);b=g.Ld(g.Ad(b).g);c.x=a.left+b.x;c.y=a.top+b.y;return c};
g.$h=function(a,b){var c=new g.sd(0,0),d=Nd(g.yd(a));if(!Ac(d,"parent"))return c;var e=a;do{var f=d==b?g.Xh(e):Zh(e);c.x+=f.x;c.y+=f.y}while(d&&d!=b&&d!=d.parent&&(e=d.frameElement)&&(d=d.parent));return c};
g.bi=function(a,b){var c=g.ai(a),d=g.ai(b);return new g.sd(c.x-d.x,c.y-d.y)};
Zh=function(a){a=Vh(a);return new g.sd(a.left,a.top)};
g.ai=function(a){if(1==a.nodeType)return Zh(a);a=a.changedTouches?a.changedTouches[0]:a;return new g.sd(a.clientX,a.clientY)};
g.di=function(a,b,c){if(b instanceof g.vd)c=b.height,b=b.width;else if(void 0==c)throw Error("missing height argument");g.ci(a,b);a.style.height=Sh(c,!0)};
Sh=function(a,b){"number"==typeof a&&(a=(b?Math.round(a):a)+"px");return a};
g.ci=function(a,b){a.style.width=Sh(b,!0)};
g.fi=function(a){var b=ei;if("none"!=g.Rh(a,"display"))return b(a);var c=a.style,d=c.display,e=c.visibility,f=c.position;c.visibility="hidden";c.position="absolute";c.display="inline";a=b(a);c.display=d;c.position=f;c.visibility=e;return a};
ei=function(a){var b=a.offsetWidth,c=a.offsetHeight,d=g.Md&&!b&&!c;return g.t(b)&&!d||!a.getBoundingClientRect?new g.vd(b,c):(a=Vh(a),new g.vd(a.right-a.left,a.bottom-a.top))};
g.gi=function(a,b){a.style.display=b?"":"none"};
g.hi=function(a,b,c,d){if(/^\d+px?$/.test(b))return(0,window.parseInt)(b,10);var e=a.style[c],f=a.runtimeStyle[c];a.runtimeStyle[c]=a.currentStyle[c];a.style[c]=b;b=a.style[d];a.style[c]=e;a.runtimeStyle[c]=f;return+b};
ii=function(a,b){var c=a.currentStyle?a.currentStyle[b]:null;return c?g.hi(a,c,"left","pixelLeft"):0};
g.ji=function(a){if(g.Kd){var b=ii(a,"paddingLeft"),c=ii(a,"paddingRight"),d=ii(a,"paddingTop");a=ii(a,"paddingBottom");return new g.qh(d,c,a,b)}b=Qh(a,"paddingLeft");c=Qh(a,"paddingRight");d=Qh(a,"paddingTop");a=Qh(a,"paddingBottom");return new g.qh((0,window.parseFloat)(d),(0,window.parseFloat)(c),(0,window.parseFloat)(a),(0,window.parseFloat)(b))};
li=function(a,b){if("none"==(a.currentStyle?a.currentStyle[b+"Style"]:null))return 0;var c=a.currentStyle?a.currentStyle[b+"Width"]:null;return c in ki?ki[c]:g.hi(a,c,"left","pixelLeft")};
g.mi=function(a){if(g.Kd&&!g.Hc(9)){var b=li(a,"borderLeft"),c=li(a,"borderRight"),d=li(a,"borderTop");a=li(a,"borderBottom");return new g.qh(d,c,a,b)}b=Qh(a,"borderLeftWidth");c=Qh(a,"borderRightWidth");d=Qh(a,"borderTopWidth");a=Qh(a,"borderBottomWidth");return new g.qh((0,window.parseFloat)(d),(0,window.parseFloat)(c),(0,window.parseFloat)(a),(0,window.parseFloat)(b))};
ni=function(a){var b=new g.th(-Number.MAX_VALUE/2,-Number.MAX_VALUE/2,Number.MAX_VALUE,Number.MAX_VALUE),c=new g.th(0,0,0,0);if(!a||0==a.length)return c;for(var d=0;d<a.length;d++)if(!g.wh(b,a[d]))return c;return b};
oi=function(a,b){var c=a.getBoundingClientRect(),d=g.$h(a,b);return new g.th(Math.round(d.x),Math.round(d.y),Math.round(c.right-c.left),Math.round(c.bottom-c.top))};
pi=function(a,b,c){if(b&&c){a:{var d=Math.max(b.left,c.left);var e=Math.min(b.left+b.width,c.left+c.width);if(d<=e){var f=Math.max(b.top,c.top),k=Math.min(b.top+b.height,c.top+c.height);if(f<=k){d=new g.th(d,f,e-d,k-f);break a}}d=null}e=d?d.height*d.width:0;f=d?b.height*b.width:0;d=d&&f?Math.round(e/f*100):0;Gh(a,new Ah("vp",d));d&&0<d?(e=g.uh(b),f=g.uh(c),e=e.top>=f.top&&e.top<f.bottom):e=!1;Gh(a,new Bh(512,e));d&&0<d?(e=g.uh(b),f=g.uh(c),e=e.bottom<=f.bottom&&e.bottom>f.top):e=!1;Gh(a,new Bh(1024,
e));d&&0<d?(e=g.uh(b),f=g.uh(c),e=e.left>=f.left&&e.left<f.right):e=!1;Gh(a,new Bh(2048,e));d&&0<d?(b=g.uh(b),c=g.uh(c),c=b.right<=c.right&&b.right>c.left):c=!1;Gh(a,new Bh(4096,c))}};
qi=function(a,b){var c=0;g.gc(Nd(),"ima","video","client","tagged")&&(c=1);var d=null;a&&(d=a());if(d){var e=d;d=Fh();d.g={};var f=new Bh(32,!0);f.o=!1;Gh(d,f);f=Nd().document;f=f.visibilityState||f.webkitVisibilityState||f.mozVisibilityState||f.msVisibilityState||"";Gh(d,new Bh(64,"hidden"!=f.toLowerCase().substring(f.length-6)?!0:!1));try{var k=Nd().top;try{var l=!!k.location.href||""===k.location.href}catch(u){l=!1}if(l){var m=Ye(e);var n=m&&0!=m.length?"1":"0"}else n="2"}catch(u){n="2"}Gh(d,new Bh(256,
"2"==n));Gh(d,new Bh(128,"1"==n));m=l=Nd().top;"2"==n&&(m=Nd());k=oi(e,m);Gh(d,new Ch("er",k));try{var q=m.document&&!m.document.body?null:g.Id(m||window)}catch(u){q=null}q?(m=g.Ld(g.Ad(m.document).g),Gh(d,new Bh(16384,!!m)),q=m?new g.th(m.x,m.y,q.width,q.height):null):q=null;Gh(d,new Ch("vi",q));if(q&&"1"==n){n=Ye(e);e=[];for(m=0;m<n.length;m++)(f=oi(n[m],l))&&e.push(f);e.push(q);q=ni(e)}pi(d,k,q);d.l&&(n=Eg()-d.l,Gh(d,new Ah("ts",n)));d.l=Eg()}else d=Fh(),d.g={},d.l=Eg(),Gh(d,new Bh(32,!1));this.o=
d;this.g=new oh;this.g.set("ve",4);c&&ph(this.g,1);g.gc(Nd(),"ima","video","client","crossdomainTag")&&ph(this.g,4);g.gc(Nd(),"ima","video","client","sdkTag")&&ph(this.g,8);g.gc(Nd(),"ima","video","client","jsTag")&&ph(this.g,2);b&&oc(b,"fullscreen",!1)&&ph(this.g,16);this.l=d=null;if(c&&(c=g.gc(Nd(),"ima","video","client"),c.getEData)){this.l=c.getEData();if(c=g.gc(Nd(),"ima","video","client","getLastSnapshotFromTop"))if(n=c())this.l.extendWithDataFromTopIframe(n.tagstamp,n.playstamp,n.lactstamp),
c=this.o,d=n.er,n=n.vi,d&&n&&(d=Dh(d).getValue(),n=Dh(n).getValue(),e=null,oc(c.g,"er",null)&&(e=oc(c.g,"er",null).getValue(),e.top+=d.top,e.left+=d.left,Gh(c,new Ch("er",e))),oc(c.g,"vi",null)&&(q=oc(c.g,"vi",null).getValue(),q.top+=d.top,q.left+=d.left,l=[],l.push(q),l.push(d),l.push(n),d=ni(l),pi(c,e,d),Gh(c,new Ch("vi",n))));a:{if(this.l){if(this.l.getTagLoadTimestamp){d=this.l.getTagLoadTimestamp();break a}if(this.l.getTimeSinceTagLoadSeconds){d=this.l.getTimeSinceTagLoadSeconds();break a}}d=
null}}this.g.set("td",Eg()-Fg(d))};
ri=function(a,b){try{var c=new qi(a,b),d=[],e=Number(c.g.get("eb"));c.g.remove("eb");var f,k=c.g,l=[],m;for(m in k.g)l.push(m+k.g[m]);(f=l.join("_"))&&d.push(f);if(c.l){var n=c.l.serialize();n&&d.push(n)}var q,u=c.o;f=e;k=[];f||(f=0);for(var w in u.g){var H=u.g[w];if(H instanceof Bh)H.getValue()&&(f|=H.A);else{var F,M=u.g[w];(F=M.o?M.l():"")&&k.push(w+F)}}k.push("eb"+String(f));(q=k.join("_"))&&d.push(q);c.g.set("eb",e);return d.join("_")}catch(Z){return"tle;"+Jb(Z.name,12)+";"+Jb(Z.message,40)}};
si=function(a,b,c,d){if(d)c=a+("&"+b+"="+c);else{var e="&"+b+"=",f=a.indexOf(e);0>f?c=a+e+c:(f+=e.length,e=a.indexOf("&",f),c=0<=e?a.substring(0,f)+c+a.substring(e):a.substring(0,f)+c)}return 2E3<c.length?g.t(void 0)?si(a,b,void 0,d):a:c};
ti=function(a){try{return!!a&&null!=a.location.href&&Ac(a,"foo")}catch(b){return!1}};
ui=function(a,b){if(a)for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&b.call(void 0,a[c],c,a)};
wi=function(a){return(a=vi.exec(a))&&a[0]||""};
yi=function(){var a=xi;if(!a)return"";var b=/.*[&#?]google_debug(=[^&]*)?(&.*)?$/;try{var c=b.exec((0,window.decodeURIComponent)(a));if(c)return c[1]&&1<c[1].length?c[1].substring(1):"true"}catch(d){}return""};
Ai=function(a){return a?a.passive&&zi()?a:a.capture||!1:a};
Bi=function(a,b,c,d){a.addEventListener?a.addEventListener(b,c,Ai(d)):a.attachEvent&&a.attachEvent("on"+b,c)};
Ci=function(a,b,c){a.removeEventListener?a.removeEventListener(b,c,Ai(void 0)):a.detachEvent&&a.detachEvent("on"+b,c)};
Di=function(a,b){var c=!1,d=!1;d=void 0===d?!1:d;c=void 0===c?!1:c;a.google_image_requests||(a.google_image_requests=[]);var e=a.document.createElement("img");if(c){var f=function(){c&&g.Za(a.google_image_requests,e);Ci(e,"load",f);Ci(e,"error",f)};
Bi(e,"load",f);Bi(e,"error",f)}d&&(e.referrerPolicy="no-referrer");e.src=b;a.google_image_requests.push(e)};
Ei=function(a){a=void 0===a?g.x:a;var b=a.context||a.AMP_CONTEXT_DATA;if(!b)try{b=a.parent.context||a.parent.AMP_CONTEXT_DATA}catch(c){}try{if(b&&b.pageViewId&&b.canonicalUrl)return b}catch(c){}return null};
Ii=function(){if(Fi&&!ti(Gi)){var a="."+Hi.domain;try{for(;2<a.split(".").length&&!ti(Gi);)Hi.domain=a=a.substr(a.indexOf(".")+1),Gi=window.parent}catch(b){}ti(Gi)||(Gi=window)}return Gi};
Ji=function(a,b,c){a&&null!==b&&b!=b.top&&(b=b.top);try{return(void 0===c?0:c)?(new g.vd(b.innerWidth,b.innerHeight)).round():g.Id(b||window).round()}catch(d){return new g.vd(-12245933,-12245933)}};
Ki=function(a){var b={};(0,g.C)(a,function(a){var c=a.event,e=b[c];b.hasOwnProperty(c)?null===e||a.g(e)||(b[c]=null):b[c]=a});
bb(a,function(a){return null===b[a.event]})};
Li=function(){this.g=0;this.o=!1;this.A=-1;this.Eg=!1;this.l=0};
Mi=function(a){this.o=a;this.l=null;this.g=!1};
Ni=function(){this.g={};this.o=!0;this.l={}};
Oi=function(a,b,c){a.g[b]||(a.g[b]=new Mi(c));return a.g[b]};
Pi=function(a,b,c){(a=a.g[b])&&null===a.l&&g.ic(a.o,c)&&(a.l=c)};
Qi=function(a,b){if(hc(a.l,b))return a.l[b];var c=a.g[b];if(c)return c.getValue()};
Ri=function(a){var b={},c=g.$b(a.g,function(a){return a.g});
g.Zb(c,function(c,e){var d=void 0!==a.l[e]?String(a.l[e]):c.g&&null!==c.l?String(c.l):"";0<d.length&&(b[e]=d)},a);
return b};
Si=function(a){a=Ri(a);var b=[];g.Zb(a,function(a,d){d in Object.prototype||"undefined"!=typeof a&&b.push([d,":",a].join(""))});
return b};
Ui=function(){return(0,g.D)()-Ti};
Zi=function(a){var b=0<=Vi?Ui()-Vi:-1,c=Wi?Ui()-Xi:-1,d=0<=Yi?Ui()-Yi:-1;if(79463068==a)return 500;if(947190542==a)return 100;if(79463069==a)return 200;a=[2E3,4E3];var e=[250,500,1E3];var f=b;-1!=c&&c<b&&(f=c);for(b=0;b<a.length;++b)if(f<a[b]){var k=e[b];break}void 0===k&&(k=e[a.length]);return-1!=d&&1500<d&&4E3>d?500:k};
$i=function(a,b){this.l=(void 0===a?0:a)||0;this.g=(void 0===b?"":b)||""};
aj=function(a,b,c){c=void 0===c?{}:c;this.error=a;this.context=b.context;this.line=b.line||-1;this.msg=b.message||"";this.file=b.file||"";this.id=b.id||"jserror";this.meta=c};
fj=function(a){a=a||bj();for(var b=new cj(g.x.location.href,g.x,!1),c=null,d=a.length-1,e=d;0<=e;--e){var f=a[e];!c&&dj.test(f.url)&&(c=f);if(f.url&&!f.Co){b=f;break}}e=null;f=a.length&&a[d].url;0!=b.depth&&f&&(e=a[d]);return new ej(b,e,c)};
bj=function(){var a=g.x,b=[],c=null;do{var d=a;if(ti(d)){var e=d.location.href;c=d.document&&d.document.referrer||null}else e=c,c=null;b.push(new cj(e||"",d));try{a=d.parent}catch(f){a=null}}while(a&&d!=a);d=0;for(a=b.length-1;d<=a;++d)b[d].depth=a-d;d=g.x;if(d.location&&d.location.ancestorOrigins&&d.location.ancestorOrigins.length==b.length-1)for(a=1;a<b.length;++a)e=b[a],e.url||(e.url=d.location.ancestorOrigins[a-1]||"",e.Co=!0);return b};
ej=function(a,b,c){this.g=a;this.l=b;this.o=c};
cj=function(a,b,c){this.url=a;this.g=b;this.Co=!!c;this.depth=g.va(void 0)?void 0:null};
gj=function(){this.o="&";this.A=g.t(void 0)?void 0:"trn";this.B=!1;this.l={};this.C=0;this.g=[]};
hj=function(a,b){var c={};c[a]=b;return[c]};
jj=function(a,b,c,d,e){var f=[];ui(a,function(a,l){var k=ij(a,b,c,d,e);k&&f.push(l+"="+k)});
return f.join(b)};
ij=function(a,b,c,d,e){if(null==a)return"";b=b||"&";c=c||",$";"string"==typeof c&&(c=c.split(""));if(a instanceof Array){if(d=d||0,d<c.length){for(var f=[],k=0;k<a.length;k++)f.push(ij(a[k],b,c,d+1,e));return f.join(c[d])}}else if("object"==typeof a)return e=e||0,2>e?(0,window.encodeURIComponent)(jj(a,b,c,d,e+1)):"...";return(0,window.encodeURIComponent)(String(a))};
kj=function(a,b,c,d){a.g.push(b);a.l[b]=hj(c,d)};
lj=function(a){if(!a.A)return 4E3;var b=1,c;for(c in a.l)b=c.length>b?c.length:b;return 4E3-a.A.length-b-a.o.length-1};
mj=function(a,b,c,d){if(Math.random()<(d||a.g))try{if(c instanceof gj)var e=c;else e=new gj,ui(c,function(a,b){var c=e,d=c.C++,f=hj(b,a);c.g.push(d);c.l[d]=f});
var f=e.vb(a.A,a.l,a.o+b+"&","");f&&Di(g.x,f)}catch(k){}};
g.nj=function(a,b){this.start=a<b?a:b;this.end=a<b?b:a};
oj=function(){var a=g.x.performance;return a&&a.now&&a.timing?Math.floor(a.now()+a.timing.navigationStart):(0,g.D)()};
pj=function(){var a=void 0===a?g.x:a;return(a=a.performance)&&a.now?a.now():null};
qj=function(a,b,c){this.label=a;this.type=b;this.value=c;this.duration=0;this.uniqueId=this.label+"_"+this.type+"_"+Math.random();this.slotId=void 0};
tj=function(){var a=rj;this.events=[];this.l=a||g.x;var b=null;a&&(a.google_js_reporting_queue=a.google_js_reporting_queue||[],this.events=a.google_js_reporting_queue,b=a.google_measure_js_timing);this.g=sj()||(null!=b?b:1>Math.random())};
vj=function(a){a&&uj&&sj()&&(uj.clearMarks("goog_"+a.uniqueId+"_start"),uj.clearMarks("goog_"+a.uniqueId+"_end"))};
yj=function(){var a=wj;this.A=xj;this.o=!0;this.l=null;this.B=this.g;this.Aa=void 0===a?null:a};
Aj=function(a,b,c,d,e){try{if(a.Aa&&a.Aa.g){var f=a.Aa.start(b.toString(),3);var k=c();a.Aa.end(f)}else k=c()}catch(m){c=a.o;try{vj(f);var l=zj(m);c=(e||a.B).call(a,b,l,void 0,d)}catch(n){a.g(217,n)}if(!c)throw m;}return k};
Cj=function(a,b,c){var d=Bj;return function(e){for(var f=[],k=0;k<arguments.length;++k)f[k-0]=arguments[k];return Aj(d,a,function(){return b.apply(void 0,f)},c,void 0)}};
zj=function(a){return new Dj(Ej(a),a.fileName,a.lineNumber)};
Ej=function(a){var b=a.toString();a.name&&-1==b.indexOf(a.name)&&(b+=": "+a.name);a.message&&-1==b.indexOf(a.message)&&(b+=": "+a.message);if(a.stack){a=a.stack;var c=b;try{-1==a.indexOf(c)&&(a=c+"\n"+a);for(var d;a!=d;)d=a,a=a.replace(/((https?:\/..*\/)[^\/:]*:\d+(?:.|\n)*)\2/,"$1");b=a.replace(/\n */g,"\n")}catch(e){b=c}}return b};
Dj=function(a,b,c){aj.call(this,Error(a),{message:a,file:void 0===b?"":b,line:void 0===c?-1:c})};
Fj=function(a){Bj.l=function(b){(0,g.C)(a,function(a){a(b)})}};
Hj=function(a,b){return Aj(Bj,a,b,void 0,Gj)};
Ij=function(a,b){return Cj(a,b,void 0)};
Jj=function(a,b){Bj.g(a,b,void 0,void 0)};
Kj=function(a,b,c,d){c=Cj(d,c,void 0);Bi(a,b,c,{capture:!1});return c};
Mj=function(a){var b=Lj.getInstance().C;b&&(b.l&&(a[4]=b.l),b.g&&(a[12]=b.g))};
Nj=function(a){var b=[];g.Zb(a,function(a,d){var c=(0,window.encodeURIComponent)(d),f=a;g.v(f)&&(f=(0,window.encodeURIComponent)(f));b.push(c+"="+f)});
b.push("24="+(0,g.D)());return b.join("\n")};
Oj=function(){return{visible:1,hidden:2,prerender:3,preview:4,unloaded:5}[Hi.visibilityState||Hi.webkitVisibilityState||Hi.mozVisibilityState||""]||0};
Pj=function(a,b,c,d){if(!a)return{value:d,done:!1};d=b(d,a);var e=c(d,a);return!e&&Ac(a,"parentElement")?Pj(g.de(a),b,c,d):{done:e,value:d}};
Qj=function(a,b,c,d){if(!a)return d;d=Pj(a,b,c,d);if(!d.done)try{var e=g.yd(a),f=e&&Nd(e);return Qj(f&&f.frameElement,b,c,d.value)}catch(k){}return d.value};
Rj=function(a){var b=!g.Kd||g.Fc(8);return Qj(a,function(a,d){var c=Ac(d,"style")&&d.style&&Ph(d,"visibility");return{hidden:"hidden"===c,visible:b&&"visible"===c}},function(a){return a.hidden||a.visible},{hidden:!1,
visible:!1}).hidden};
Sj=function(a){return Qj(a,function(a,c){return!(!Ac(c,"style")||!c.style||"none"!==Ph(c,"display"))},function(a){return a},!1)?!0:Rj(a)};
Tj=function(a){return new g.qh(a.top,a.right,a.bottom,a.left)};
Uj=function(a){return null!=a&&0<=a&&1>=a};
Wj=function(a,b){b=void 0===b?Vj:b;null!==b&&b!=b.top&&(b=b.top);var c=0,d=0;try{var e=b.document,f=e.body,k=e.documentElement;if("CSS1Compat"==e.compatMode&&k.scrollHeight)c=k.scrollHeight!=a.height?k.scrollHeight:k.offsetHeight,d=k.scrollWidth!=a.width?k.scrollWidth:k.offsetWidth;else{var l=k.scrollHeight,m=k.scrollWidth,n=k.offsetHeight,q=k.offsetWidth;k.clientHeight!=n&&(l=f.scrollHeight,m=f.scrollWidth,n=f.offsetHeight,q=f.offsetWidth);l>a.height?l>n?(c=l,d=m):(c=n,d=q):l<n?(c=l,d=m):(c=n,d=
q)}return new g.vd(d,c)}catch(u){return new g.vd(-12245933,-12245933)}};
Xj=function(a,b,c,d,e){this.time=a;this.l=b;this.o=c;this.volume=null;this.A=d;this.g=null;this.B=e};
Yj=function(a,b,c,d,e,f,k,l,m){this.C=a;this.G=b;this.g=c;this.A=d;this.B=e;this.l=f;this.F=k;this.I=l;this.o=m};
Lj=function(){this.L=!1;this.G=void 0;this.g=!ti(Vj.top);var a=bj();this.domain=0<a.length&&null!=a[a.length-1]&&null!=a[a.length-1].url?g.Wg(a[a.length-1].url)||"":"";this.B=this.N=this.F=this.o=null;this.R=0;this.C=new $i(0,"");this.l=!1;this.A=null;this.I=0;this.Va="geo";this.Qa=new Ni;Oi(this.Qa,"nio_mode",Zj).g=!0;Oi(this.Qa,"mv",ak).g=!0;Oi(this.Qa,"omid",bk);Oi(this.Qa,"fcs",bk).g=!0;Oi(this.Qa,"osd",bk).g=!0;Oi(this.Qa,"srmi",bk).g=!0;Oi(this.Qa,"epoh",bk).g=!0;Oi(this.Qa,"umt",bk).g=!0;Oi(this.Qa,
"gmpd",bk).g=!0;Oi(this.Qa,"sel",bk).g=!0;Oi(this.Qa,"cll",ck).g=!0;Oi(this.Qa,"ioa",bk).g=!0;Oi(this.Qa,"isu",bk).g=!0;Oi(this.Qa,"ald",bk).g=!0;Oi(this.Qa,"ftm",bk).g=!0;Oi(this.Qa,"inapp",dk).g=!0;this.J=-1};
ek=function(a){this.l=a;this.o=0;this.g=null};
gk=function(){return!fk()&&(Yb("iPod")||Yb("iPhone")||Yb("Android")||Yb("IEMobile"))};
fk=function(){return Yb("iPad")||Yb("Android")&&!Yb("Mobile")||Yb("Silk")};
hk=function(a,b,c){this.g=a;this.X=void 0===c?"na":c;this.A=[];this.I=!1;this.l=new Xj(-1,new g.vd(0,0),new g.vd(0,0),!0,this);this.o=this;this.F=this.B=b;this.Y=fk()||gk();this.C=!1;this.R=null;this.J=this.N=!1;this.T="uk";this.Z=!1};
jk=function(a,b){a.J||(a.J=!0,a.T=b,a.F=0,a.ym(),a.o==a&&(a.B=0,ik(a)))};
kk=function(a,b){g.Va(a.A,b)||(a.A.push(b),b.yg(a.o),b.Pf(a.l),b.sf()&&(a.C=!0))};
mk=function(a,b){g.Za(a.A,b);a.C&&b.sf()&&lk(a)};
lk=function(a){a.C=a.A.length?(0,g.nk)(a.A,function(a){return a.sf()}):!1};
ok=function(a){var b=g.db(a.A);(0,g.C)(b,function(b){b.Pf(a.l)})};
ik=function(a){var b=g.db(a.A);(0,g.C)(b,function(b){b.yg(a.o)});
a.o!=a||ok(a)};
pk=function(a,b){var c;if(!(c=a.N)){c=a.l;var d=a.C;c=!(b&&(void 0===d||!d||c.volume==b.volume)&&c.A==b.A&&rh(c.g,b.g)&&g.wd(c.o,b.o)&&g.wd(c.l,b.l))}a.l=b;c&&ok(a)};
qk=function(a,b,c,d){this.element=a;this.A=this.g=b;this.Qa=c;this.G=d;this.F=!1;this.l=new Yj(b.l,this.element,new g.qh(0,0,0,0),null,this.Mi(),0,0,Ui(),0)};
rk=function(a){this.B=!1;this.g=a};
sk=function(a,b,c){this.l=void 0===c?0:c;this.Lb=a;this.g=null==b?"":b};
tk=function(a,b){return new sk(a.Lb,a.g,a.l+b)};
uk=function(a,b){return a.l<b.l?!0:a.l>b.l?!1:a.Lb<b.Lb?!0:a.Lb>b.Lb?!1:typeof a.g<typeof b.g?!0:typeof a.g>typeof b.g?!1:a.g<b.g};
vk=function(){this.o=0;this.g=[];this.l=!1};
wk=function(a){var b=new vk;var c=void 0===c?0:c;var d=void 0===d?!0:d;ui(a,function(a,f){d&&void 0===a||b.add(f,a,c)});
return b};
yk=function(a){a.l&&(g.ob(a.g,function(a,c){return uk(c,a)?1:uk(a,c)?-1:0}),a.l=!1);
return xk(a.g,function(a,c){var b="boolean"===typeof c.g;b=""+(b&&!c.g?"":c.Lb)+(b||""===c.g?"":"="+c.g);return""+a+(""!=a&&""!=b?"&":"")+b},"")};
zk=function(a){ui(a,function(b,c){b instanceof Array&&(a[c]=b.join(","))});
return a};
Ak=function(a){var b=[],c=[];g.Zb(a,function(a,e){if(!(e in Object.prototype)&&"undefined"!=typeof a){g.Ca(a)&&(a=a.join(","));var d=[e,"=",a].join("");switch(e){case "adk":case "r":case "tt":case "error":case "mtos":case "tos":case "p":case "bs":case "aio":case "nio":case "iem":b.unshift(d);break;case "req":case "url":case "referrer":case "iframe_loc":c.push(d);break;default:b.push(d)}}});
return b.concat(c)};
Dk=function(a){Bk.e=-1;Bk.i=6;Bk.n=7;Bk.t=8;if(!Ck){var b=[];ui(Bk,function(a,c){b[a+1]=c});
var c=b.join(""),d=a&&a[c];Ck=d&&function(b,c){return d.call(a,b,c)}}return Ck};
Ek=function(){this.l=this.o=this.A=this.g=0};
Gk=function(a){this.l=a=void 0===a?Fk:a;this.g=(0,g.E)(this.l,function(){return new Ek})};
Ik=function(a,b){return Hk(a,function(a){return a.g},void 0===b?!0:b)};
Kk=function(a,b){return Jk(a,b,function(a){return a.g})};
Lk=function(a){return Hk(a,function(a){return a.o},!0)};
Mk=function(a,b){return Jk(a,b,function(a){return a.o})};
Nk=function(a,b){return Jk(a,b,function(a){return a.l})};
Ok=function(a){(0,g.C)(a.g,function(a){a.l=0})};
Hk=function(a,b,c){a=(0,g.E)(a.g,function(a){return b(a)});
return c?a:Pk(a)};
Jk=function(a,b,c){var d=g.Sa(a.l,function(a){return b<=a});
return-1==d?0:c(a.g[d])};
Pk=function(a){return(0,g.E)(a,function(a,c,d){return 0<c?d[c]-d[c-1]:d[c]})};
Qk=function(){this.g=new Gk;this.Z=new Ek;this.N=this.F=-1;this.ea=1E3;this.ca=new Gk([1,.9,.8,.7,.6,.5,.4,.3,.2,.1,0])};
Rk=function(a,b,c,d){qk.call(this,a,b,c,d);this.o=new g.qh(0,0,0,0)};
Tk=function(a,b,c,d){return 0>=a.Wi()||0>=a.getHeight()?!0:c&&d?Hj(208,function(){return Sk(a,b,c)}):!1};
Uk=function(a,b){return a.left<=b.right&&b.left<=a.right&&a.top<=b.bottom&&b.top<=a.bottom?new g.qh(Math.max(a.top,b.top),Math.min(a.right,b.right),Math.min(a.bottom,b.bottom),Math.max(a.left,b.left)):new g.qh(0,0,0,0)};
Wk=function(a,b){var c=Vk(a),d=Vk(b);return 0===d?0:c/d};
Vk=function(a){return Math.max(a.getHeight()*a.Wi(),0)};
Sk=function(a,b,c){if(!a||!b)return!1;b=sh(a.clone(),-b.left,-b.top);a=(b.left+b.right)/2;b=(b.top+b.bottom)/2;var d=Ii();ti(d.top)&&d.top&&d.top.document&&(d=d.top);d=Dk(d&&d.document);if(!d)return!1;a=d(a,b);if(!a)return!1;b=(b=(b=g.yd(c))&&b.defaultView&&b.defaultView.frameElement)&&Xk(b,a);d=a===c;a=!d&&a&&g.je(a,function(a){return a===c});
return!(b||d||a)};
Xk=function(a,b){if(!a||!b)return!1;for(var c=0;null!==a&&100>c++;){if(a===b)return!0;try{if(a=g.de(a)||a){var d=g.yd(a),e=d&&Nd(d),f=e&&e.frameElement;f&&(a=f)}}catch(k){break}}return!1};
al=function(a,b,c){this.position=Yk.clone();this.se=0;this.Lo=this.Sk();this.Io=-2;this.sL=(0,g.D)();this.vy=-1;this.cj=b;this.ph=-1!=b;this.Qj=this.cw=null;this.opacity=-1;this.Bx=c;this.Gy=this.Mo=g.za;this.tg=this.element=a;this.Py=this.Eh=!1;this.Hn=1;this.fy=!0;this.df=!1;Lj.getInstance().R++;this.domain=null;this.gu=0;this.Rb=this.Qn();this.uy=-1;this.Om=new g.qh(0,0,0,0);a=this.Qa=new Ni;Oi(a,"od",Zk);Oi(a,"opac",bk).g=!0;Oi(a,"ud",bk);Oi(a,"mkm",bk).g=!0;Oi(a,"xza",bk).g=!0;Oi(a,"mza",bk).g=
!0;Oi(a,"lom",bk);Oi(a,"sela",bk).g=!0;Oi(a,"sbeos",bk).g=!0;a=Ii().mraid;if(b=this.element&&this.element.getAttribute)b=this.element,b=/-[a-z]/.test("googleAvInapp")?!1:g.$k&&b.dataset?"googleAvInapp"in b.dataset:b.hasAttribute?b.hasAttribute("data-"+g.Vb("googleAvInapp")):!!b.getAttribute("data-"+g.Vb("googleAvInapp"));(b||a)&&Pi(Lj.getInstance().Qa,"inapp",1);1==this.Bx?Pi(this.Qa,"od",1):Pi(this.Qa,"od",0)};
dl=function(a,b,c){if(a.ph){var d=Dk(Vj&&Vj.document);d&&(c||bl(a,Vj,!0),d=cl(a,d),a.ah(a.position,d,b,c,!0,!0))}};
el=function(a,b,c){if(c(b))return b;for(;;){var d=Math.floor((a+b)/2);if(d==a||d==b)return a;c(d)?a=d:b=d}};
cl=function(a,b){var c=g.Ld(window.document),d=a.Hn,e=Math.floor(a.position.left-c.x)+1,f=Math.floor(a.position.top-c.y)+1,k=Math.floor(a.position.right-c.x)-d,l=Math.floor(a.position.bottom-c.y)-d;c=(l-f)*(k-e);if(f>l||e>k)return 0;d=!!b(e,f);var m=!!b(k,l);if(d&&m)return 1;var n=!!b(k,f),q=!!b(e,l);if(d)l=el(f,l,function(a){return!!b(e,a)}),k=el(e,k,function(a){return!!b(a,f)});
else if(n)l=el(f,l,function(a){return!!b(k,a)}),e=el(k,e,function(a){return!!b(a,f)});
else if(q)f=el(l,f,function(a){return!!b(e,a)}),k=el(e,k,function(a){return!!b(a,l)});
else if(m)f=el(l,f,function(a){return!!b(k,a)}),e=el(k,e,function(a){return!!b(a,l)});
else{var u=Math.floor((e+k)/2),w=Math.floor((f+l)/2);if(!b(u,w))return 0;f=el(w,f,function(a){return!!b(u,a)});
l=el(w,l,function(a){return!!b(u,a)});
e=el(u,e,function(a){return!!b(a,w)});
k=el(u,k,function(a){return!!b(a,w)})}return(l-f)*(k-e)/c};
fl=function(a,b,c,d,e){a.ph&&(d||bl(a,Vj,e),a.ah(a.position,c,b,d,!1,!0))};
gl=function(a,b,c){if(a.ph){var d=a.Rb.l,e=c?a.Rb.g:a.gu;a.Om&&!rh(a.Om,new g.qh(0,0,0,0))&&(e=sh(a.Om.clone(),a.position.left,a.position.top));a.ah(a.position,e,b,c,!0,!0,{},void 0,d)}};
hl=function(a,b){var c=b.create(a.tg,a.Qa,a);null!=c&&c.wu();c&&(a.Va=c)};
il=function(a,b,c){if(a.ph&&a.Va){var d=Ii(),e=Lj.getInstance();bl(a,d,e.g);a.Va.Di();d=a.Va.l;e=d.C.g;var f=!(!d.B&&!e);if(null!=d.A&&e){var k=d.g;a.cw=new g.sd(k.left-e.left,k.top-e.top);a.Qj=new g.vd(e.right-e.left,e.bottom-e.top)}a.ah(a.position,d.l,b,c,!0,f,void 0,void 0,d.o)}};
bl=function(a,b,c,d){if(d)a.position=d;else{b=c?b:b.top;try{var e=Yk.clone(),f=new g.sd(0,0);if(a.tg){var k=1==a.Bx;!c&&k&&Sj(a.tg)||(e=a.tg.getBoundingClientRect());f=g.$h(a.tg,b)}c=f;var l=c.x,m=c.y;a.position=new g.qh(Math.round(m),Math.round(l+(e.right-e.left)),Math.round(m+(e.bottom-e.top)),Math.round(l))}catch(n){a.position=Yk.clone()}}a.se=(a.position.bottom-a.position.top)*(a.position.right-a.position.left)};
jl=function(a,b){var c=Math.pow(10,b);return Math.floor(a*c)/c};
kl=function(a){a.Va&&a.Va.Ro()};
nl=function(a,b){var c=!1,d=a.tg;if(null===d)return!1;Hj(152,function(){var e=new b.IntersectionObserver(function(c){try{ll(b,c,a)}catch(k){try{e.unobserve(d),Jj("osd_adblock::nioc",k)}catch(l){}}},ml);
e.observe(d);c=!0});
return c};
ol=function(a,b){var c=!1;Hj(151,function(){var d=Ei(b).observeIntersection(function(c){try{ll(b,c,a)}catch(f){try{d(),Jj("osd_adblock::aioc",f)}catch(k){}}});
c=!0});
return c};
ll=function(a,b,c){if(!b||!b.length||0>=b.length)b=null;else{for(var d=b[0],e=1;e<b.length;e++)b[e].time>d.time&&(d=b[e]);b=d}if(e=b){d=e.intersectionRect.width*e.intersectionRect.height/(e.boundingClientRect.width*e.boundingClientRect.height);b=Tj(e.boundingClientRect);e=Tj(e.intersectionRect);var f=d*Vk(b)/(a.screen.height*a.screen.width);c.Rb.g=g.od(d,0,1);c.gu=c.Rb.g;c.Rb.l=g.od(f,0,1);bl(c,a,!0,b);a=Uk(b,e);c.Om=0>=c.se||a.top>=a.bottom||a.left>=a.right?new g.qh(0,0,0,0):sh(a,-b.left,-b.top)}};
pl=function(a,b,c,d){if(d=void 0===d?g.za:d)a.Gy=d;switch(c){case "nio":return nl(a,b);case "aio":return ol(a,b);case "geo":case "iem":return!0}return!1};
ql=function(){};
sl=function(a){if(a instanceof ql)return a;if("function"==typeof a.Pe)return a.Pe(!1);if(g.Da(a)){var b=0,c=new ql;c.next=function(){for(;;){if(b>=a.length)throw rl;if(b in a)return a[b++];b++}};
return c}throw Error("Not implemented");};
g.tl=function(a,b,c){if(g.Da(a))try{(0,g.C)(a,b,c)}catch(d){if(d!==rl)throw d;}else{a=sl(a);try{for(;;)b.call(c,a.next(),void 0,a)}catch(d){if(d!==rl)throw d;}}};
ul=function(a){if(g.Da(a))return g.db(a);a=sl(a);var b=[];g.tl(a,function(a){b.push(a)});
return b};
vl=function(){for(var a=Vj,b=a,c=0;a&&a!=a.parent;)a=a.parent,c++,ti(a)&&(b=a);return b};
wl=function(){this.A=this.g=this.o=this.l=this.B=0};
xl=function(a){var b={};var c=(0,g.D)()-a.B;b=(b.ptlt=c,b);(c=a.l)&&(b.pnk=c);(c=a.o)&&(b.pnc=c);(c=a.A)&&(b.pnmm=c);(a=a.g)&&(b.pns=a);return b};
yl=function(){Li.call(this);this.fullscreen=!1;this.volume=void 0;this.paused=!1;this.B=-1};
zl=function(a){return Uj(a.volume)&&.1<=a.volume};
Al=function(){var a={};this.l=(a.vs=[1,0],a.vw=[0,1],a.am=[2,2],a.a=[4,4],a.f=[8,8],a.bm=[16,16],a.b=[32,32],a.avw=[0,64],a.cm=[128,128],a.pv=[256,256],a.gdr=[0,512],a.p=[0,1024],a.r=[0,2048],a.m=[0,4096],a.um=[0,8192],a.ef=[0,16384],a.s=[0,32768],a.pmx=[0,16777216],a);this.g={};for(var b in this.l)0<this.l[b][1]&&(this.g[b]=0);this.o=0};
Bl=function(a,b){var c=a.l[b],d=c[1];a.o+=c[0];0<d&&0==a.g[b]&&(a.g[b]=1)};
Dl=function(a){return Cl(a,g.fc(a.l))};
Cl=function(a,b){var c=0,d;for(d in a.g)g.Va(b,d)&&1==a.g[d]&&(c+=a.l[d][1],a.g[d]=2);return c};
El=function(a){var b=0,c;for(c in a.g){var d=a.g[c];if(1==d||2==d)b+=a.l[c][1]}return b};
Fl=function(){this.g=this.l=0};
Gl=function(){Qk.call(this);this.o=new Ek;this.T=this.I=this.L=0;this.G=-1;this.fa=new Ek;this.B=new Ek;this.l=new Gk;this.C=this.A=-1;this.J=new Ek;this.ea=2E3;this.R=new Fl;this.X=new Fl;this.Y=new Fl};
Hl=function(a,b,c){var d=a.T;Wi||c||-1==a.G||(d+=b-a.G);return d};
Il=function(){this.g=!1};
Jl=function(a,b){this.g=!1;this.A=a;this.F=b;this.l=0};
Ll=function(a,b){if(a.o(b)){var c=Kl(a.F,a.A,b);a.l|=c;return 0==c}return!1};
Ml=function(a,b,c,d,e,f){e=void 0===e?null:e;f=void 0===f?[]:f;al.call(this,b,c,d);this.Y=0;this.o={};this.Xb=new Al;this.Sy={};this.Kc="";this.ag=null;this.Ma=!1;this.l=[];this.fj=e;this.F=f;this.A=void 0;this.B=-1;this.ia=this.I=void 0;this.X=!1;this.J=this.L=0;this.T=-1;this.ca=this.qb=!1;this.oi=this.Ia=0;this.la=!1;this.Ga=this.Ob=-1;this.R=this.G=this.g=0;this.Za=this.Ua=-1;this.Ya=0;this.Ra=new Gk;this.Z=this.na=this.Ta=0;this.va=-1;this.ra=0;this.Ea=!1;this.ea=null;this.Sb=0;this.fa=g.za;
this.N=[this.Sk()];this.Py=!0;this.Hn=2;b=Lj.getInstance();bl(this,a,b.g);this.bh={};this.bh.pause="p";this.bh.resume="r";this.bh.skip="s";this.bh.mute="m";this.bh.unmute="um";this.bh.exitfullscreen="ef";this.C=null};
Nl=function(a,b,c){a.Sb=1;a.o={};a.o.firstquartile=!1;a.o.midpoint=!1;a.o.thirdquartile=!1;a.o.complete=!1;a.o.pause=!1;a.o.skip=!1;a.o.viewable_impression=!1;a.Y=0;c||(a.jd().G=b)};
Ol=function(a){return g.t(a)?Number(a)?jl(a,3):0:a};
Pl=function(a,b){var c;null!=b&&b<a.N.length?c=b:c=a.N.length-1;return a.N[c]};
Ql=function(a){var b=!!Qi(Lj.getInstance().Qa,"umt");return a.I||!b&&!a.ia?0:1};
Rl=function(a,b){(0,g.nk)(a.F,function(a){return a.A==b.A})||a.F.push(b)};
Tl=function(a,b,c){return 15E3<=b?!0:a.qb?(void 0===c?0:c)?!0:Sl(a.B)?b>=a.B/2:Sl(a.T)?b>=a.T:!1:!1};
Sl=function(a){return 1==Qi(Lj.getInstance().Qa,"gmpd")?0<a:-1!=a};
Ul=function(a){var b={},c=Lj.getInstance();b.insideIframe=c.g;b.unmeasurable=a.Eh;b.position=a.position;b.exposure=a.Rb.g;b.documentSize=c.B;b.viewportSize=c.o;null!=a.C&&(b.presenceData=a.C);b.screenShare=a.Rb.l;return b};
Wl=function(a,b){Vl(a.l,b,function(){return{JL:0,bl:void 0}});
a.l[b]={viewableArea:jl(a.Rb.g,2),instantaneousState:a.Xb.o}};
Vl=function(a,b,c){for(var d=a.length;d<b+1;)a.push(c()),d++};
am=function(a,b,c){var d=a.Sy[b];if(null!=d)return d;d=Xl(a,b);var e=jc(Yl,function(a){return a==b});
c=Zl(a,d,d,c,$l[Yl[e]]);"fully_viewable_audible_half_duration_impression"==b&&(c.std="csm",c.ic=Cl(a.Xb,["gdr"]));return c};
Zl=function(a,b,c,d,e){if(a.Eh)return{"if":0};var f=a.position.clone();f.round();var k=(0,g.E)(a.l,function(a){return 100*a.JL|0}),l=Lj.getInstance(),m=a.jd(),n={};
n["if"]=l.g?1:void 0;n.sdk=a.A?a.A:void 0;n.t=a.sL;n.p=[f.top,f.left,f.bottom,f.right];n.tos=Ik(m.g,!1);n.mtos=Lk(m.g);n.mcvt=m.Z.o;n.ps=void 0;n.pt=k;f=Hl(m,Ui(),2==a.Sb);n.vht=f;n.mut=m.fa.o;n.a=Ol(a.Rb.volume);n.mv=Ol(m.C);n.fs=a.df?1:0;n.ft=m.J.g;n.at=m.B.g;n.as=.1<=m.A?1:0;n.atos=Ik(m.l);n.ssb=Ik(m.ca,!1);n.amtos=Lk(m.l);n.uac=a.Ia;n.vpt=m.o.g;"nio"==l.Va&&(n.nio=1,n.avms="nio");n.gmm="4";n.gdr=Tl(a,m.o.g,!0)?1:0;a.Py&&(n.efpf=a.Hn);0<a.ra&&(n.nnut=a.ra);n.tcm=Ql(a);n.nmt=a.na;n.bt=a.Z;n.pst=
a.va;n.vpaid=a.I;n.dur=a.B;n.vmtime=a.L;n.is=a.Xb.o;1<=a.l.length&&(n.i0=a.l[0].bl);2<=a.l.length&&(n.i1=a.l[1].bl);3<=a.l.length&&(n.i2=a.l[2].bl);4<=a.l.length&&(n.i3=a.l[3].bl);n.cs=El(a.Xb);b&&(n.ic=Dl(a.Xb),n.dvpt=m.o.l,n.dvs=Nk(m.g,.5),n.dfvs=Nk(m.g,1),n.davs=Nk(m.l,.5),n.dafvs=Nk(m.l,1),c&&(m.o.l=0,Ok(m.g),Ok(m.l)),a.Gg()&&(n.dtos=m.L,n.dav=m.I,n.dtoss=a.Y+1,c&&(m.L=0,m.I=0,a.Y++)),n.dat=m.B.l,n.dft=m.J.l,c&&(m.B.l=0,m.J.l=0));l.B&&(n.ps=[l.B.width,l.B.height]);l.o&&(n.bs=[l.o.width,l.o.height]);
l.F&&(n.scs=[l.F.width,l.F.height]);n.dom=l.domain;a.oi&&(n.vds=a.oi);if(0<a.F.length||a.fj)b=g.db(a.F),a.fj&&b.push(a.fj),n.pings=(0,g.E)(b,function(a){return a.toString()});
b=(0,g.E)((0,g.$d)(a.F,function(a){return a.B()}),function(a){return a.getId()});
ib(b);n.ces=b;a.g&&(n.vmer=a.g);a.G&&(n.vmmk=a.G);a.R&&(n.vmiec=a.R);n.avms=a.Va?a.Va.Tf():Lj.getInstance().Va;a.Va&&g.tc(n,a.Va.Xe());"exc"==l.Va&&(n.femt=a.Ua,n.femvt=a.Za,n.emc=a.Ya,n.emb=Ik(a.Ra,!1),n.emuc=a.Ta,n.avms="exc");d?(n.c=jl(a.Rb.g,2),n.ss=jl(a.Rb.l,2)):n.tth=Ui()-bm;n.mc=jl(m.N,2);n.nc=jl(m.F,2);n.mv=Ol(m.C);n.nv=Ol(m.A);n.lte=jl(a.Io,2);d=Pl(a,e);Lk(m.g);n.qmtos=Lk(d.g);n.qnc=jl(d.F,2);n.qmv=Ol(d.C);n.qnv=Ol(d.A);n.qas=.1<=d.A?1:0;n.qi=a.Kc;null!==a.ea&&(n.nvat=a.ea?1:0);n.avms||(n.avms=
"geo");n.psm=m.R.g;n.psv=m.R.getValue();n.psfv=m.X.getValue();n.psa=m.Y.getValue();l=Si(l.Qa);l.length&&(n.veid=l);a.C&&g.tc(n,xl(a.C));return n};
Xl=function(a,b){if(g.Va(cm,b))return!0;var c=a.o[b];return g.t(c)?(a.o[b]=!0,!c):!1};
fm=function(){this.g={};var a=Nd();dm(this,a,window.document);var b=em();try{if("1"==b){for(var c=a.parent;c!=a.top;c=c.parent)dm(this,c,c.document);dm(this,a.top,a.top.document)}}catch(d){}};
em=function(){var a=window.document.documentElement;try{if(!ti(Nd().top))return"2";var b=[],c=Nd(a.ownerDocument);for(a=c;a!=c.top;a=a.parent)if(a.frameElement)b.push(a.frameElement);else break;return b&&0!=b.length?"1":"0"}catch(d){return"2"}};
dm=function(a,b,c){Kj(c,"mousedown",function(){return gm(a)},301);
Kj(b,"scroll",function(){return hm(a)},302);
Kj(c,"touchmove",function(){return im(a)},303);
Kj(c,"mousemove",function(){return jm(a)},304);
Kj(c,"keydown",function(){return km(a)},305)};
gm=function(a){g.Zb(a.g,function(a){1E5<a.o||++a.o})};
hm=function(a){g.Zb(a.g,function(a){1E5<a.g||++a.g})};
im=function(a){g.Zb(a.g,function(a){1E5<a.g||++a.g})};
km=function(a){g.Zb(a.g,function(a){1E5<a.l||++a.l})};
jm=function(a){g.Zb(a.g,function(a){1E5<a.A||++a.A})};
lm=function(){this.g=this.l=null};
mm=function(a,b){function c(c,e){a.g=null;b(c,e)}
if(null==a.l)return!1;a.g=g.Ra(a.l,function(a){return null!=a&&a.Xg()&&a.init(c)});
return null!=a.g};
nm=function(a,b,c,d){qk.call(this,a,b,c,d);this.C=this.B=this.o=null};
qm=function(a){if(!a.element)return!1;var b=a.element;a.o=new a.g.g.IntersectionObserver(function(b){return om(a,b)},pm);
a.o.observe(b);2===Qi(Lj.getInstance().Qa,"nio_mode")&&om(a,a.o&&a.o.takeRecords?a.o.takeRecords():[]);return!0};
om=function(a,b){try{if(b.length){a.B||(a.B=Ui());var c=rm(b),d=Tj(c.boundingClientRect),e=sh(Tj(c.intersectionRect),-d.left,-d.top),f=Ui(),k=c.boundingClientRect.width*c.boundingClientRect.height,l=c.intersectionRect.width*c.intersectionRect.height;var m=k?l/k:0;k=0;var n=c.intersectionRect.width*c.intersectionRect.height,q=a.g.l.g;q&&(k=(q.bottom-q.top)*(q.right-q.left));var u=c.intersectionRect.width*c.intersectionRect.height,w=window.screen.height*window.screen.width;a.l=new Yj(a.g.l,a.element,
d,e,a.Mi(),m,k?n/k:0,f,u&&w?u/w:0)}}catch(H){a.Ro(),Jj(299,H)}};
rm=function(a){return xk(a,function(a,c){return a.time>c.time?a:c},a[0])};
sm=function(a){a=void 0===a?Vj:a;rk.call(this,new hk(a,2))};
g.tm=function(a,b,c){g.G.call(this);this.o=null!=c?(0,g.A)(a,c):a;this.Gc=b;this.l=(0,g.A)(this.ZA,this);this.g=[]};
um=function(a){a.Aa=g.Cg(a.l,a.Gc);a.o.apply(null,a.g)};
vm=function(){this.g=this.l=null};
wm=function(){this.g=[];this.l=[];this.done=!1;this.o={dP:0,qA:0,Jx:0,CA:0,SB:-1};this.I=this.B=this.F=this.C=this.G=null;this.L=!1;this.N=null;this.J=fk()||gk();this.A=new ek(this)};
xm=function(){var a=Lj.getInstance().Va;return"nio"==a||"aio"==a};
Am=function(){var a=ym;a.L||(a.L=!0,a.G||xm()||(a.C=new g.tm(Ij(137,function(b){for(var c=[],d=0;d<arguments.length;++d)c[d-0]=arguments[d];return a.xt.apply(a,g.oa(c))}),100),a.G=Kj(Vj,"scroll",function(b){for(var c=[],d=0;d<arguments.length;++d)c[d-0]=arguments[d];
null!==a.C&&a.C.wh.apply(a.C,g.oa(c))},138)),a.F||xm()||(a.B=new g.tm(Ij(140,function(b){for(var c=[],d=0;d<arguments.length;++d)c[d-0]=arguments[d];
return a.qC.apply(a,g.oa(c))}),100),a.F=Kj(Vj,"resize",function(b){for(var c=[],d=0;d<arguments.length;++d)c[d-0]=arguments[d];
null!==a.B&&a.B.wh.apply(a.B,g.oa(c))},141)),zm(a,function(b){for(var c=[],d=0;d<arguments.length;++d)c[d-0]=arguments[d];
return a.Gt.apply(a,g.oa(c))}),a.Gt())};
Cm=function(a){var b=Lj.getInstance();b.l||"exc"==b.Va||Bm(a,!0);var c=new vm;switch(b.Va){case "geo":a:{b=b.o;c=new vm;c.l=b;if(null!=b&&-12245933!=b.width&&-12245933!=b.height){var d=Lj.getInstance();if(d.l)var e=d.A;else try{d=Vj;var f=a.J;d=d.top;var k=b||Ji(!0,d,void 0===f?!1:f),l=g.Ld(g.Ad(d.document).g);if(-12245933==k.width){var m=k.width;var n=new g.qh(m,m,m,m)}else n=new g.qh(l.y,l.x+k.width,l.y+k.height,l.x);e=n}catch(q){a=c;break a}c.g=e}a=c}return a;default:return c}};
Dm=function(a,b,c,d){if(!a.done&&(a.A.cancel(),0!=b.length)){a.N=null;var e=Cm(a);try{var f=Ui(),k=Lj.getInstance();k.J=f;if(null!=lm.getInstance().g)for(d=0;d<b.length;d++)il(b[d],f,c);else switch(k.Va){case "exc":for(d=0;d<b.length;d++)gl(b[d],f,c);break;case "nis":for(e=0;e<b.length;e++)g.t(d)?b[e].Jm(d):b[e].ou(f);break;case "gsv":for(e=0;e<b.length;e++)g.t(d)?b[e].vt(d):b[e].nu(f);break;case "aio":case "nio":for(d=0;d<b.length;d++)gl(b[d],f,c);break;case "iem":for(d=0;d<b.length;d++)dl(b[d],
f,c);break;case "geo":if(e.g)for(d=0;d<b.length;d++)fl(b[d],f,e.g,c,k.g)}for(d=0;d<b.length;d++);a.o.Jx+=Ui()-f;++a.o.CA}finally{c?(0,g.C)(b,function(a){a.Rb.g=0}):a.A.schedule()}}};
zm=function(a,b){var c;Hi.visibilityState?c="visibilitychange":Hi.mozVisibilityState?c="mozvisibilitychange":Hi.webkitVisibilityState&&(c="webkitvisibilitychange");c&&(a.I=a.I||Kj(Hi,c,b,142))};
Fm=function(a){if(Em(a))return!0;var b=Oj();a=1===b;b=0===b;return Lj.getInstance(),a||b};
Gm=function(a,b){return null!=b&&(0,g.nk)(a.g,function(a){return a.element==b})};
Hm=function(a){return g.Ra(ym.g,function(b){return b.Kc==a})};
Im=function(a){return 0==a.g.length?a.l:0==a.l.length?a.g:g.cb(a.l,a.g)};
Bm=function(a,b){var c=a.J,d=Lj.getInstance(),e,f=lm.getInstance();null!=f.g&&(e=f.g.g);d.o=e?e.l.l:d.l?d.A?(new g.vd(d.A.Wi(),d.A.getHeight())).round():new g.vd(0,0):Ji(!0,Vj,c);b||(d.N=Vj&&Vj.outerWidth?new g.vd(Vj.outerWidth,Vj.outerHeight):new g.vd(-12245933,-12245933),d.B=Wj(d.o))};
Jm=function(){var a=Lj.getInstance();Vj.screen&&(a.F=new g.vd(Vj.screen.width,Vj.screen.height))};
Km=function(a,b){var c=void 0===c?g.za:c;var d=!1;(0,g.C)(b,function(b){pl(b,a,"nio",c)&&(d=!0)});
return d};
Lm=function(a){var b=ym,c=[];(0,g.C)(a,function(a){Gm(b,a.element)||(b.g.push(a),c.push(a))})};
Mm=function(a){var b=ym,c=[];(0,g.C)(a,function(a){null==g.Ra(b.g,function(b){return b.element==a.element&&!0})&&(b.g.push(a),c.push(a))})};
Em=function(a){return(0,g.nk)(Im(a),function(a){return a.df})};
Nm=function(){var a=g.Xb;return a?(0,g.nk)("AppleTV;GoogleTV;HbbTV;NetCast.TV;Opera TV;POV_TV;SMART-TV;SmartTV;TV Store;OMI/".split(";"),function(b){return Kb(a,b)})?!0:Kb(a,"Presto")&&Kb(a,"Linux")&&!Kb(a,"X11")&&!Kb(a,"Android")&&!Kb(a,"Mobi"):!1};
Om=function(a){if(!a)return"";var b=[];if(!a.location.href)return"";b.push("url="+(0,window.encodeURIComponent)(a.location.href.substring(0,512)));a.document&&a.document.referrer&&b.push("referrer="+(0,window.encodeURIComponent)(a.document.referrer.substring(0,512)));return b.join("&")};
Pm=function(a){return function(b){return!g.t(b[a])&&g.t(0)?0:b[a]}};
Rm=function(){var a=[0,2,4];return function(b){b=b.tos;if(g.Ca(b)){for(var c=Array(b.length),d=0;d<b.length;d++)c[d]=0<d?c[d-1]+b[d]:b[d];return g.t(a)?Qm(c,a):c}}};
Sm=function(a,b){return function(c){c=c[a];if(g.Ca(c))return Qm(c,b)}};
Um=function(a){var b=Tm;return function(c){return b(c)?c[a]:void 0}};
Qm=function(a,b){return(0,g.$d)(a,function(a,d){return g.Va(b,d)})};
Xm=function(a,b){var c={sv:"654",cb:"j"};c.nas=ym.g.length;c.msg=a;if(g.t(b)){var d=Vm(b);d&&(c.e=Wm[d])}return c};
Ym=function(a){return g.wb(a,"custom_metric_viewable")};
Vm=function(a){var b=Ym(a)?"custom_metric_viewable":a.toLowerCase();return jc(Yl,function(a){return a==b})};
Zm=function(a,b){Jl.call(this,a,b)};
$m=function(){this.l=this.A=this.C=this.B=this.o=this.g=""};
an=function(){};
bn=function(a,b,c,d,e){var f={};if(g.t(a))if(null!=b)for(var k in b){var l=b[k];k in Object.prototype||null!=l&&(g.Ea(l)?f[k]=l(a):f[k]=a[l])}else g.tc(f,a);g.t(c)&&g.tc(f,c);a=yk(wk(zk(f)));0<a.length&&g.t(d)&&g.t(e)&&(e=e(a),a+="&"+d+"="+e);return a};
cn=function(){};
en=function(a){a=dn(a);rk.call(this,a.length?a[a.length-1]:new hk(window,0));this.o=a;this.A=g.za;this.l=null};
dn=function(a){if(!a.length)return[];a=(0,g.$d)(a,function(a){return null!=a&&a.Xg()});
for(var b=1;b<a.length;b++)kk(a[b-1],a[b]);return a};
fn=function(){hk.call(this,Vj,1,"osd");this.ca=[];this.ea=this.L=this.G=0;this.N=!0};
gn=function(a){var b=0;a=a.g;try{if(a&&a.Goog_AdSense_getAdAdapterInstance)return a}catch(c){}for(;a&&5>b;){try{if(a.google_osd_static_frame)return a.google_osd_static_frame}catch(c){}try{if(a.aswift_0&&a.aswift_0.google_osd_static_frame)return a.aswift_0.google_osd_static_frame}catch(c){}b++;a=a!=a.parent?a.parent:null}return null};
hn=function(a){a.g.clearInterval(a.L);a.L=0};
jn=function(a,b){var c=gn(a),d=!c;d&&(c=a.g.parent);if(c&&c.postMessage)try{c.postMessage(b,"*"),d&&a.g.postMessage(b,"*")}catch(e){}};
kn=function(a,b){(0,g.C)(a.ca,function(a){a(b)})};
mn=function(){this.A=this.J=!1;this.l=null;this.o=new cn;this.g=null;var a={};this.I=(a.start=this.GB,a.firstquartile=this.BB,a.midpoint=this.DB,a.thirdquartile=this.HB,a.complete=this.zB,a.pause=this.cq,a.resume=this.Fx,a.skip=this.FB,a.viewable_impression=this.Lf,a.mute=this.mi,a.unmute=this.mi,a.fullscreen=this.CB,a.exitfullscreen=this.AB,a.fully_viewable_audible_half_duration_impression=this.Lf,a.measurable_impression=this.Lf,a.abandon=this.cq,a.engagedview=this.Lf,a.impression=this.Lf,a.creativeview=
this.Lf,a.progress=this.mi,a.custom_metric_viewable=this.Lf,a.bufferstart=this.cq,a.bufferfinish=this.Fx,a);a={};this.L=(a.overlay_resize=this.EB,a.abandon=this.oo,a.close=this.oo,a.collapse=this.oo,a.overlay_unmeasurable_impression=function(a){return am(a,"overlay_unmeasurable_impression",Fm(ym))},a.overlay_viewable_immediate_impression=function(a){return am(a,"overlay_viewable_immediate_impression",Fm(ym))},a.overlay_unviewable_impression=function(a){return am(a,"overlay_unviewable_impression",
Fm(ym))},a.overlay_viewable_end_of_session_impression=function(a){return am(a,"overlay_viewable_end_of_session_impression",Fm(ym))},a);
Lj.getInstance().I=3;ln(this)};
nn=function(a,b,c,d){b=a.im(null,d,!0,b);b.A=c;b.Mo=function(b){a.no(b)};
Lm([b]);return b};
on=function(){var a=[],b=Lj.getInstance();Qi(b.Qa,"osd")&&b.g&&b.l&&"exc"!=b.Va&&(Lj.getInstance().l=!1,a.push(fn.getInstance()));return[new sm(Vj),new en(a)]};
sn=function(a){if(!a.J){a.J=!0;try{var b=Ui(),c=Lj.getInstance();Vi=b;pn=vl();Bm(ym,!1);Jm();if("nis"!=c.Va&&"gsv"!=c.Va)if(Vj.document.body&&Vj.document.body.getBoundingClientRect){ym.o.qA=0;ym.o.SB=Ui()-b;var d=on(),e=lm.getInstance();e.l=d;if(mm(e,function(){c.l=!1;qn()}))ym.done||(Am(),kk(e.g.g,a));
else if(c.g&&"exc"!=c.Va){var f=!!Qi(c.Qa,"osd");if(c.l&&!f){var k=fn.getInstance();k.initialize();kk(k,a)}else qn()}else Am()}else rn=!0}catch(l){throw ym.reset(),l;}}};
tn=function(a){var b=Lj.getInstance();if(null==a.l)switch(b.Va){case "nis":a.l="n";break;case "gsv":a.l="m";break;default:a.l="h"}return a.l};
un=function(a,b,c){if(null==a.g)return b.oi|=4,!1;a=Kl(a.g,c,b);b.oi|=a;return 0==a};
qn=function(){a:{var a=ym;if(void 0===b){var b=Lj.getInstance().Qa;var c=[];0===(Qi(b,"nio_mode")||0)&&c.push(a.vL);c.push(a.uL);b=c}b=g.p(b);for(c=b.next();!c.done;c=b.next())if(c.value.call(a,Vj)){a=!0;break a}a=!1}a?Am():(ym.A.cancel(),vn="i",ym.done=!0)};
wn=function(a,b,c){if(!b.Ma){var d=am(b,"start",Fm(ym));a=a.o.g(d).g;d=pn||Vj;var e=[];e.push("v=654v");e.push("r="+c);e.push(a);e.push(Om(d));c=("//pagead2.googlesyndication.com/pagead/gen_204?id=lidarvf&"+e.join("&")).toString();c=c.substring(0,4E3);a=Ii()||Vj;Di(a,c);b.Ma=!0}};
yn=function(a,b,c,d){Dm(ym,[a],!Fm(ym),d);Wl(a,c);4!=c&&Vl(a.N,c,a.Sk);return am(a,b,Fm(ym))};
zn=function(a,b,c){if(0==b.Sb){"i"!=vn&&(ym.done=!1);var d=lm.getInstance();null!=d.g&&hl(b,d.g);pl(b,Vj,Lj.getInstance().Va,function(b){for(var c=[],d=0;d<arguments.length;++d)c[d-0]=arguments[d];return a.yB.apply(a,g.oa(c))});
d=g.t(c)?c.opt_nativeTime:void 0;Yi=d=g.va(d)?d:Ui();b.ph=!0;var e=Fm(ym);Nl(b,d,e);Dm(ym,[b],!e,c)}};
ln=function(a){Fj([function(b){var c=An();null!=a.l&&(c.sdk=a.l);c.avms=Lj.getInstance().Va;g.tc(b,c)}])};
Bn=function(a,b){if(g.v(b)){if(1==a)var c=ym.g;else if(2==a)c=ym.l;else return;var d=g.Qa(c,function(c){return c.Vd()!=a?!1:c.Kc==b});
0<=d&&(kl(c[d]),g.Ya(c,d))}};
Dn=function(a,b,c,d){var e=g.Ra(ym.g,function(a){return a.element==c});
null!==e&&e.Kc!=b&&(a.xk(e),e=null);e||(e=Cn(a,c,b),e.A=tn(a),d&&(e.ag=d));return e};
Cn=function(a,b,c){b=a.im(b,Ui(),!1,c);b.Mo=(0,g.A)(a.no,a);0==ym.l.length&&(Lj.getInstance().G=79463069);Mm([b]);Am();return b};
Gn=function(a,b){b.G=0;for(var c in En)null==a[c]&&(b.G|=En[c]);Fn(a,"currentTime");Fn(a,"duration")};
Fn=function(a,b){var c=a[b];g.t(c)&&0<c&&(a[b]=Math.floor(1E3*c))};
An=function(){var a=Lj.getInstance(),b={};return b.sv="654",b["if"]=a.g?"1":"0",b.nas=String(ym.g.length),b};
Hn=function(){this.g=void 0;this.l=!1;this.o=0;this.A=-1;this.B="tos"};
Kn=function(a){try{var b=a.split(",");return b.length>g.fc(In).length?null:xk(b,function(a,b){var c=b.toLowerCase().split("=");if(2!=c.length||!g.t(Jn[c[0]])||!Jn[c[0]](c[1]))throw Error("Entry ("+c[0]+", "+c[1]+") is invalid.");a[c[0]]=c[1];return a},{})}catch(c){return null}};
Ln=function(a,b){if(void 0==a.g)return 0;switch(a.B){case "mtos":return a.l?Mk(b.l,a.g):Mk(b.g,a.g);case "tos":return a.l?Kk(b.l,a.g):Kk(b.g,a.g)}return 0};
Mn=function(a,b,c,d){Jl.call(this,b,d);this.Ca=a;this.C=c};
Nn=function(a){Jl.call(this,"fully_viewable_audible_half_duration_impression",a)};
On=function(a){return!a||"function"!==typeof a||0>String(Function.prototype.toString).indexOf("[native code]")?!1:0<=String(a).indexOf("[native code]")&&!0||!1};
Qn=function(a){return!!(1<<a&Pn)};
Vn=function(){try{Rn()}catch(d){}var a="a=1&b="+Pn+"&",b=[],c=99;(0,g.C)(Sn,function(a,c){var d=!1;try{d=a(Vj)}catch(k){}b[c/32>>>0]|=d<<c%32});
(0,g.C)(b,function(b,e){a+=String.fromCharCode(c+e)+"="+(b>>>0).toString(16)+"&"});
c=105;(0,g.C)(Tn,function(b){var d="false";try{d=b(Vj)}catch(f){}a+=String.fromCharCode(c++)+"="+d+"&"});
(0,g.C)(Un,function(b){var d="";try{var f=b(Vj);d=g.we(g.qe(f),!0)}catch(k){}a+=String.fromCharCode(c++)+"="+d+"&"});
return a.slice(0,-1)};
Rn=function(){if(!Wn){var a=function(){Xn=!0;Vj.document.removeEventListener("webdriver-evaluate",a,!0)};
Vj.document.addEventListener("webdriver-evaluate",a,!0);var b=function(){Yn=!0;Vj.document.removeEventListener("webdriver-evaluate-response",b,!0)};
Vj.document.addEventListener("webdriver-evaluate-response",b,!0);Wn=!0}};
Zn=function(){this.l=64;this.g=Array(4);this.B=Array(this.l);this.A=this.o=0;this.reset()};
$n=function(a,b,c){c||(c=0);var d=Array(16);if(g.v(b))for(var e=0;16>e;++e)d[e]=b.charCodeAt(c++)|b.charCodeAt(c++)<<8|b.charCodeAt(c++)<<16|b.charCodeAt(c++)<<24;else for(e=0;16>e;++e)d[e]=b[c++]|b[c++]<<8|b[c++]<<16|b[c++]<<24;b=a.g[0];c=a.g[1];e=a.g[2];var f=a.g[3];var k=b+(f^c&(e^f))+d[0]+3614090360&4294967295;b=c+(k<<7&4294967295|k>>>25);k=f+(e^b&(c^e))+d[1]+3905402710&4294967295;f=b+(k<<12&4294967295|k>>>20);k=e+(c^f&(b^c))+d[2]+606105819&4294967295;e=f+(k<<17&4294967295|k>>>15);k=c+(b^e&(f^
b))+d[3]+3250441966&4294967295;c=e+(k<<22&4294967295|k>>>10);k=b+(f^c&(e^f))+d[4]+4118548399&4294967295;b=c+(k<<7&4294967295|k>>>25);k=f+(e^b&(c^e))+d[5]+1200080426&4294967295;f=b+(k<<12&4294967295|k>>>20);k=e+(c^f&(b^c))+d[6]+2821735955&4294967295;e=f+(k<<17&4294967295|k>>>15);k=c+(b^e&(f^b))+d[7]+4249261313&4294967295;c=e+(k<<22&4294967295|k>>>10);k=b+(f^c&(e^f))+d[8]+1770035416&4294967295;b=c+(k<<7&4294967295|k>>>25);k=f+(e^b&(c^e))+d[9]+2336552879&4294967295;f=b+(k<<12&4294967295|k>>>20);k=e+
(c^f&(b^c))+d[10]+4294925233&4294967295;e=f+(k<<17&4294967295|k>>>15);k=c+(b^e&(f^b))+d[11]+2304563134&4294967295;c=e+(k<<22&4294967295|k>>>10);k=b+(f^c&(e^f))+d[12]+1804603682&4294967295;b=c+(k<<7&4294967295|k>>>25);k=f+(e^b&(c^e))+d[13]+4254626195&4294967295;f=b+(k<<12&4294967295|k>>>20);k=e+(c^f&(b^c))+d[14]+2792965006&4294967295;e=f+(k<<17&4294967295|k>>>15);k=c+(b^e&(f^b))+d[15]+1236535329&4294967295;c=e+(k<<22&4294967295|k>>>10);k=b+(e^f&(c^e))+d[1]+4129170786&4294967295;b=c+(k<<5&4294967295|
k>>>27);k=f+(c^e&(b^c))+d[6]+3225465664&4294967295;f=b+(k<<9&4294967295|k>>>23);k=e+(b^c&(f^b))+d[11]+643717713&4294967295;e=f+(k<<14&4294967295|k>>>18);k=c+(f^b&(e^f))+d[0]+3921069994&4294967295;c=e+(k<<20&4294967295|k>>>12);k=b+(e^f&(c^e))+d[5]+3593408605&4294967295;b=c+(k<<5&4294967295|k>>>27);k=f+(c^e&(b^c))+d[10]+38016083&4294967295;f=b+(k<<9&4294967295|k>>>23);k=e+(b^c&(f^b))+d[15]+3634488961&4294967295;e=f+(k<<14&4294967295|k>>>18);k=c+(f^b&(e^f))+d[4]+3889429448&4294967295;c=e+(k<<20&4294967295|
k>>>12);k=b+(e^f&(c^e))+d[9]+568446438&4294967295;b=c+(k<<5&4294967295|k>>>27);k=f+(c^e&(b^c))+d[14]+3275163606&4294967295;f=b+(k<<9&4294967295|k>>>23);k=e+(b^c&(f^b))+d[3]+4107603335&4294967295;e=f+(k<<14&4294967295|k>>>18);k=c+(f^b&(e^f))+d[8]+1163531501&4294967295;c=e+(k<<20&4294967295|k>>>12);k=b+(e^f&(c^e))+d[13]+2850285829&4294967295;b=c+(k<<5&4294967295|k>>>27);k=f+(c^e&(b^c))+d[2]+4243563512&4294967295;f=b+(k<<9&4294967295|k>>>23);k=e+(b^c&(f^b))+d[7]+1735328473&4294967295;e=f+(k<<14&4294967295|
k>>>18);k=c+(f^b&(e^f))+d[12]+2368359562&4294967295;c=e+(k<<20&4294967295|k>>>12);k=b+(c^e^f)+d[5]+4294588738&4294967295;b=c+(k<<4&4294967295|k>>>28);k=f+(b^c^e)+d[8]+2272392833&4294967295;f=b+(k<<11&4294967295|k>>>21);k=e+(f^b^c)+d[11]+1839030562&4294967295;e=f+(k<<16&4294967295|k>>>16);k=c+(e^f^b)+d[14]+4259657740&4294967295;c=e+(k<<23&4294967295|k>>>9);k=b+(c^e^f)+d[1]+2763975236&4294967295;b=c+(k<<4&4294967295|k>>>28);k=f+(b^c^e)+d[4]+1272893353&4294967295;f=b+(k<<11&4294967295|k>>>21);k=e+(f^
b^c)+d[7]+4139469664&4294967295;e=f+(k<<16&4294967295|k>>>16);k=c+(e^f^b)+d[10]+3200236656&4294967295;c=e+(k<<23&4294967295|k>>>9);k=b+(c^e^f)+d[13]+681279174&4294967295;b=c+(k<<4&4294967295|k>>>28);k=f+(b^c^e)+d[0]+3936430074&4294967295;f=b+(k<<11&4294967295|k>>>21);k=e+(f^b^c)+d[3]+3572445317&4294967295;e=f+(k<<16&4294967295|k>>>16);k=c+(e^f^b)+d[6]+76029189&4294967295;c=e+(k<<23&4294967295|k>>>9);k=b+(c^e^f)+d[9]+3654602809&4294967295;b=c+(k<<4&4294967295|k>>>28);k=f+(b^c^e)+d[12]+3873151461&4294967295;
f=b+(k<<11&4294967295|k>>>21);k=e+(f^b^c)+d[15]+530742520&4294967295;e=f+(k<<16&4294967295|k>>>16);k=c+(e^f^b)+d[2]+3299628645&4294967295;c=e+(k<<23&4294967295|k>>>9);k=b+(e^(c|~f))+d[0]+4096336452&4294967295;b=c+(k<<6&4294967295|k>>>26);k=f+(c^(b|~e))+d[7]+1126891415&4294967295;f=b+(k<<10&4294967295|k>>>22);k=e+(b^(f|~c))+d[14]+2878612391&4294967295;e=f+(k<<15&4294967295|k>>>17);k=c+(f^(e|~b))+d[5]+4237533241&4294967295;c=e+(k<<21&4294967295|k>>>11);k=b+(e^(c|~f))+d[12]+1700485571&4294967295;b=c+
(k<<6&4294967295|k>>>26);k=f+(c^(b|~e))+d[3]+2399980690&4294967295;f=b+(k<<10&4294967295|k>>>22);k=e+(b^(f|~c))+d[10]+4293915773&4294967295;e=f+(k<<15&4294967295|k>>>17);k=c+(f^(e|~b))+d[1]+2240044497&4294967295;c=e+(k<<21&4294967295|k>>>11);k=b+(e^(c|~f))+d[8]+1873313359&4294967295;b=c+(k<<6&4294967295|k>>>26);k=f+(c^(b|~e))+d[15]+4264355552&4294967295;f=b+(k<<10&4294967295|k>>>22);k=e+(b^(f|~c))+d[6]+2734768916&4294967295;e=f+(k<<15&4294967295|k>>>17);k=c+(f^(e|~b))+d[13]+1309151649&4294967295;
c=e+(k<<21&4294967295|k>>>11);k=b+(e^(c|~f))+d[4]+4149444226&4294967295;b=c+(k<<6&4294967295|k>>>26);k=f+(c^(b|~e))+d[11]+3174756917&4294967295;f=b+(k<<10&4294967295|k>>>22);k=e+(b^(f|~c))+d[2]+718787259&4294967295;e=f+(k<<15&4294967295|k>>>17);k=c+(f^(e|~b))+d[9]+3951481745&4294967295;a.g[0]=a.g[0]+b&4294967295;a.g[1]=a.g[1]+(e+(k<<21&4294967295|k>>>11))&4294967295;a.g[2]=a.g[2]+e&4294967295;a.g[3]=a.g[3]+f&4294967295};
ao=function(){this.l=null};
bo=function(a){return function(b){var c=new Zn;c.update(b+a);return se(c.digest()).slice(-8)}};
co=function(a,b){this.l=a;this.o=b};
Kl=function(a,b,c){var d=a.g(c);if(g.Ea(d)){var e={};e=(e.sv="654",e.cb="j",e.e=eo(b),e);var f=am(c,b,Fm(ym));g.tc(e,f);c.Sy[b]=f;a=2==c.Vd()?Ak(e).join("&"):a.o.g(e).g;try{return d(c.Kc,a,b),0}catch(k){return 2}}else return 1};
eo=function(a){var b=Ym(a)?"custom_metric_viewable":a;a=jc(Yl,function(a){return a==b});
return Wm[a]};
fo=function(a,b,c){co.call(this,a,b);this.A=c};
go=function(a,b){this.g=a;this.depth=b};
io=function(a){function b(a,b){return null==a?b:a}
a=a||bj();var c=Math.max(a.length-1,0),d=fj(a);a=d.g;var e=d.l,f=d.o,k=[];f&&k.push(new go([f.url,f.Co?2:0],b(f.depth,1)));e&&e!=f&&k.push(new go([e.url,2],0));a.url&&a!=f&&k.push(new go([a.url,0],b(a.depth,c)));d=(0,g.E)(k,function(a,b){return k.slice(0,k.length-b)});
!a.url||(f||e)&&a!=f||(e=wi(a.url))&&d.push([new go([e,1],b(a.depth,c))]);d.push([]);return(0,g.E)(d,function(a){return ho(c,a)})};
ho=function(a,b){(0,g.jo)(b,function(a){return 0<=a.depth});
var c=xk(b,function(a,b){return Math.max(a,b.depth)},-1),d=vb(c+2);
d[0]=a;(0,g.C)(b,function(a){return d[a.depth+1]=a.g});
return d};
ko=function(){var a=io();return(0,g.E)(a,function(a){return ij(a)})};
lo=function(){mn.call(this);this.F=void 0;this.G=null;this.B=!1;this.C={};this.o=new ao};
mo=function(){var a=lo.getInstance(),b="h"==tn(a)||"b"==tn(a),c="exc"!=Lj.getInstance().Va;b&&c&&(a.B=!0,a.G=new fm)};
no=function(a,b,c){c=c.opt_configurable_tracking_events;if(null!=a.g&&g.Ca(c)){var d=a.g;Ki(c);(0,g.C)(c,function(a){var c=(0,g.E)(a.hP,function(a){var b=Kn(a);if(null==b)a=null;else if(a=new Hn,null!=b.visible&&(a.g=b.visible/100),null!=b.audible&&(a.l=1==b.audible),null!=b.time){var c="mtos"==b.timetype?"mtos":"tos",d=xb(b.time,"%")?"%":"ms";b=(0,window.parseInt)(b.time,10);"%"==d&&(b/=100);"ms"==d?(a.o=b,a.A=-1):(a.o=-1,a.A=b);a.B=void 0===c?"tos":c}return a});
(0,g.nk)(c,function(a){return null==a})||Rl(b,new Mn(a.id,a.event,c,d))})}};
oo=function(a,b,c){var d=Hm(b);d||(d=c.opt_nativeTime||-1,d=nn(a,b,tn(a),d),c.opt_osdId&&(d.ag=c.opt_osdId));return d};
po=function(a,b,c){var d=Hm(b);d||(d=nn(a,b,"n",c.opt_nativeTime||-1),d.Ea=Lj.getInstance().L);return d};
qo=function(a,b){var c=Hm(b);c||(c=nn(a,b,"h",-1));return c};
ro=function(a){var b=Lj.getInstance();switch(tn(a)){case "b":return"ytads.bulleit.triggerExternalActivityEvent";case "n":return"ima.bridge.triggerExternalActivityEvent";case "h":if("exc"==b.Va)return"ima.bridge.triggerExternalActivityEvent";case "m":case "ml":return"ima.common.triggerExternalActivityEvent"}return null};
uo=function(a,b,c,d){c=void 0===c?{}:c;var e={};g.tc(e,{opt_adElement:void 0,opt_fullscreen:void 0},c);if(e.opt_bounds)return a.o.g(Xm("ol",d));if(g.t(d))if(c=Vm(d),g.t(c))if(rn)b=Xm("ue",d);else if(b=a.Vn(b,e)){b:{sn(a);"i"==vn&&(b.Eh=!0,a.mq(b));c=e.opt_fullscreen;g.t(c)&&(b.df=!!c);Kb(g.Xb,"CrKey")||Kb(g.Xb,"PlayStation")||Kb(g.Xb,"Roku")||Nm()||Kb(g.Xb,"Xbox")?c=!1:(c=Lj.getInstance().Va,c=Vj&&Vj.kP||"nis"===c||"gsv"===c?!1:0===Oj());var f=c;if(f){switch(b.Vd()){case 1:wn(a,b,"pv");break;case 2:a.iq(b)}ym.A.cancel();
vn="pv";ym.done=!0}c=d.toLowerCase();!f&&g.Va(so,c)&&zn(a,b,e);0!=b.Sb&&g.Va(to,c)&&!b.Eh&&!a.A&&b.fj&&(f=b.fj,f.g||(f.g=Ll(f,b)));(f=b.bh[c])&&Bl(b.Xb,f);switch(b.Vd()){case 1:var k=Ym(c)?a.I.custom_metric_viewable:a.I[c];break;case 2:k=a.L[c]}if(k&&(d=k.call(a,b,e,d),g.t(d))){e=Xm(void 0,c);g.tc(e,d);d=e;break b}d=void 0}3==b.Sb&&a.xk(b);b=d}else b=Xm("nf",d);else b=void 0;else rn?b=Xm("ue"):(b=a.Vn(b,e))?(d=Xm(),g.tc(d,Zl(b,!0,!1,!1)),b=d):b=Xm("nf");return a.o.g(b)};
wo=function(a,b){var c;if(b.ag&&vo(a)){var d=a.C[b.ag];d?c=function(a,b){d.o(a,b)}:null!==d&&Jj("lidar::missingPlayerCallback",Error())}else c=g.z("ima.common.triggerViewabilityMeasurementUpdate");
if(g.Ea(c)){var e=Ul(b);e.nativeVolume=a.F;c(b.Kc,e)}};
vo=function(a){return"exc"==Lj.getInstance().Va||"h"!=tn(a)&&tn(a),!1};
xo=function(a){var b={};return b.viewability=a.g,b.googleViewability=a.o,b.moatInit=a.B,b.moatViewability=a.C,b.integralAdsViewability=a.A,b.doubleVerifyViewability=a.l,b};
yo=function(a,b,c){c=void 0===c?{}:c;a=uo(lo.getInstance(),b,c,a);return xo(a)};
zo=function(a){if(!a)return"";a=a.split("#")[0].split("?")[0];a=a.toLowerCase();0==a.indexOf("//")&&(a=window.location.protocol+a);/^[\w\-]*:\/\//.test(a)||(a=window.location.href);var b=a.substring(a.indexOf("://")+3),c=b.indexOf("/");-1!=c&&(b=b.substring(0,c));a=a.substring(0,a.indexOf("://"));if("http"!==a&&"https"!==a&&"chrome-extension"!==a&&"file"!==a&&"android-app"!==a&&"chrome-search"!==a&&"app"!==a)throw Error("Invalid URI scheme in origin: "+a);c="";var d=b.indexOf(":");if(-1!=d){var e=
b.substring(d+1);b=b.substring(0,d);if("http"===a&&"80"!==e||"https"===a&&"443"!==e)c=":"+e}return a+"://"+b+c};
Ao=function(){function a(){e[0]=1732584193;e[1]=4023233417;e[2]=2562383102;e[3]=271733878;e[4]=3285377520;q=n=0}
function b(a){for(var b=k,c=0;64>c;c+=4)b[c/4]=a[c]<<24|a[c+1]<<16|a[c+2]<<8|a[c+3];for(c=16;80>c;c++)a=b[c-3]^b[c-8]^b[c-14]^b[c-16],b[c]=(a<<1|a>>>31)&4294967295;a=e[0];var d=e[1],f=e[2],l=e[3],m=e[4];for(c=0;80>c;c++){if(40>c)if(20>c){var n=l^d&(f^l);var q=1518500249}else n=d^f^l,q=1859775393;else 60>c?(n=d&f|l&(d|f),q=2400959708):(n=d^f^l,q=3395469782);n=((a<<5|a>>>27)&4294967295)+n+m+q+b[c]&4294967295;m=l;l=f;f=(d<<30|d>>>2)&4294967295;d=a;a=n}e[0]=e[0]+a&4294967295;e[1]=e[1]+d&4294967295;e[2]=
e[2]+f&4294967295;e[3]=e[3]+l&4294967295;e[4]=e[4]+m&4294967295}
function c(a,c){if("string"===typeof a){a=(0,window.unescape)((0,window.encodeURIComponent)(a));for(var d=[],e=0,k=a.length;e<k;++e)d.push(a.charCodeAt(e));a=d}c||(c=a.length);d=0;if(0==n)for(;d+64<c;)b(a.slice(d,d+64)),d+=64,q+=64;for(;d<c;)if(f[n++]=a[d++],q++,64==n)for(n=0,b(f);d+64<c;)b(a.slice(d,d+64)),d+=64,q+=64}
function d(){var a=[],d=8*q;56>n?c(l,56-n):c(l,64-(n-56));for(var k=63;56<=k;k--)f[k]=d&255,d>>>=8;b(f);for(k=d=0;5>k;k++)for(var m=24;0<=m;m-=8)a[d++]=e[k]>>m&255;return a}
for(var e=[],f=[],k=[],l=[128],m=1;64>m;++m)l[m]=0;var n,q;a();return{reset:a,update:c,digest:d,AA:function(){for(var a=d(),b="",c=0;c<a.length;c++)b+="0123456789ABCDEF".charAt(Math.floor(a[c]/16))+"0123456789ABCDEF".charAt(a[c]%16);return b}}};
Co=function(a,b,c){var d=[],e=[];if(1==(g.Ca(c)?2:1))return e=[b,a],(0,g.C)(d,function(a){e.push(a)}),Bo(e.join(" "));
var f=[],k=[];(0,g.C)(c,function(a){k.push(a.key);f.push(a.value)});
c=Math.floor((new Date).getTime()/1E3);e=0==f.length?[c,b,a]:[f.join(":"),c,b,a];(0,g.C)(d,function(a){e.push(a)});
a=Bo(e.join(" "));a=[c,a];0==k.length||a.push(k.join(""));return a.join("_")};
Bo=function(a){var b=Ao();b.update(a);return b.AA().toLowerCase()};
g.Do=function(){var a=[],b=zo(String(g.x.location.href)),c=g.x.__OVERRIDE_SID;null==c&&(c=(new Qg(window.document)).get("SID"));if(c&&(b=(c=0==b.indexOf("https:")||0==b.indexOf("chrome-extension:"))?g.x.__SAPISID:g.x.__APISID,null==b&&(b=(new Qg(window.document)).get(c?"SAPISID":"APISID")),b)){c=c?"SAPISIDHASH":"APISIDHASH";var d=String(g.x.location.href);return d&&b&&c?[c,Co(zo(d),b,a||null)].join(" "):null}return null};
g.Eo=function(a,b){this.l={};this.g=[];this.hg=this.ya=0;var c=arguments.length;if(1<c){if(c%2)throw Error("Uneven number of arguments");for(var d=0;d<c;d+=2)this.set(arguments[d],arguments[d+1])}else if(a)if(a instanceof g.Eo)for(c=a.od(),d=0;d<c.length;d++)this.set(c[d],a.get(c[d]));else for(d in a)this.set(d,a[d])};
Go=function(a){if(a.ya!=a.g.length){for(var b=0,c=0;b<a.g.length;){var d=a.g[b];Fo(a.l,d)&&(a.g[c++]=d);b++}a.g.length=c}if(a.ya!=a.g.length){var e={};for(c=b=0;b<a.g.length;)d=a.g[b],Fo(e,d)||(a.g[c++]=d,e[d]=1),b++;a.g.length=c}};
Fo=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};
g.Ho=function(a,b){this.g=this.G=this.A="";this.B=null;this.C=this.l="";this.F=!1;var c;a instanceof g.Ho?(this.F=g.t(b)?b:a.F,g.Io(this,a.A),this.G=a.G,g.Jo(this,a.g),g.Ko(this,a.B),this.l=a.l,Lo(this,a.o.clone()),this.C=a.C):a&&(c=g.Ug(String(a)))?(this.F=!!b,g.Io(this,c[1]||"",!0),this.G=Mo(c[2]||""),g.Jo(this,c[3]||"",!0),g.Ko(this,c[4]),this.l=Mo(c[5]||"",!0),Lo(this,c[6]||"",!0),this.C=Mo(c[7]||"")):(this.F=!!b,this.o=new g.No(null,this.F))};
g.Io=function(a,b,c){a.A=c?Mo(b,!0):b;a.A&&(a.A=a.A.replace(/:$/,""))};
g.Jo=function(a,b,c){a.g=c?Mo(b,!0):b;return a};
g.Ko=function(a,b){if(b){b=Number(b);if((0,window.isNaN)(b)||0>b)throw Error("Bad port number "+b);a.B=b}else a.B=null;return a};
Lo=function(a,b,c){b instanceof g.No?(a.o=b,Oo(a.o,a.F)):(c||(b=Po(b,Qo)),a.o=new g.No(b,a.F))};
g.Ro=function(a,b,c){a.o.set(b,c);return a};
g.So=function(a){return a instanceof g.Ho?a.clone():new g.Ho(a,void 0)};
Mo=function(a,b){return a?b?(0,window.decodeURI)(a.replace(/%25/g,"%2525")):(0,window.decodeURIComponent)(a):""};
Po=function(a,b,c){return g.v(a)?(a=(0,window.encodeURI)(a).replace(b,To),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null};
To=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)};
g.No=function(a,b){this.ya=this.g=null;this.l=a||null;this.o=!!b};
Uo=function(a){a.g||(a.g=new g.Eo,a.ya=0,a.l&&Yg(a.l,function(b,c){a.add(Ab(b),c)}))};
Wo=function(a,b){Uo(a);b=Vo(a,b);return Fo(a.g.l,b)};
g.Xo=function(a,b,c){a.remove(b);0<c.length&&(a.l=null,a.g.set(Vo(a,b),g.db(c)),a.ya=a.ya+c.length)};
Vo=function(a,b){var c=String(b);a.o&&(c=c.toLowerCase());return c};
Oo=function(a,b){b&&!a.o&&(Uo(a),a.l=null,a.g.forEach(function(a,b){var c=b.toLowerCase();b!=c&&(this.remove(b),g.Xo(this,c,a))},a));
a.o=b};
g.Yo=function(a){g.G.call(this);this.l=a;this.g={}};
Zo=function(a,b,c,d,e,f){if(g.Ca(c))for(var k=0;k<c.length;k++)Zo(a,b,c[k],d,e,f);else{b=nf(b,c,d||a.handleEvent,e,f||a.l||a);if(!b)return a;a.g[b.key]=b}return a};
g.$o=function(a){g.Zb(a.g,function(a,c){this.g.hasOwnProperty(c)&&g.Af(a)},a);
a.g={}};
g.bp=function(a,b){return a.replace(ap,function(a,d){try{var c=oc(b,d);if(null==c)return a;c=c.toString();if(""==c||!g.yb(g.Nb(c)))return(0,window.encodeURIComponent)(c).replace(/%2C/g,",")}catch(f){}return a})};
cp=function(a){g.bf.call(this,a)};
dp=function(a){this.g=a};
fp=function(){var a=ep();a:{if(hc(a.g,"disableExperiments")&&(a=a.g.disableExperiments,g.ua(a)))break a;a=!1}return a};
gp=function(a){if(hc(a.g,"forceExperimentIds")){a=a.g.forceExperimentIds;var b=[],c=0;g.Ca(a)&&(0,g.C)(a,function(a){g.va(a)&&(b[c++]=a)});
return b}return null};
hp=function(){this.l=null;try{io(void 0)}catch(a){}};
ep=function(){var a=ip;if(null==a.l){var b={};var c=(new g.Ho(Nd().location.href)).o;if(Wo(c,"tcnfp"))try{b=JSON.parse(c.get("tcnfp"))}catch(d){}a.l=new dp(b)}return a.l};
jp=function(a,b,c){this.Ca=a;this.g=g.od(b||0,0,1);this.l=null!=c?c:!0};
kp=function(a){this.Ca=a;this.l=new g.Eo;this.g=null};
lp=function(a){var b=Math.random(),c=0,d=a.l.qc();(0,g.C)(d,function(a){c+=a.g},a);
var e=1<c?c:1;a.g=null;for(var f=0,k=0;k<d.length;++k)if(f+=d[k].g,f/e>=b){a.g=d[k];break}};
pp=function(){this.l=null!=g.x.G_testRunner;this.g=new g.Eo;ip.g()||(mp(this,"GvnExternalLayer",31061774,.01),mp(this,"GvnExternalLayer",31061775,.01),mp(this,"GvnExternalLayer",41351088,.01),mp(this,"GvnExternalLayer",41351089,.01),mp(this,"GvnExternalLayer",420706008,.05),mp(this,"GvnExternalLayer",420706009,.05),mp(this,"GvnExternalLayer",41351073,.01),mp(this,"GvnExternalLayer",41351074,.01),mp(this,"GvnExternalLayer",41351075,.01),mp(this,"GvnExternalLayer",634360101,0),mp(this,"GvnExternalLayer",
634360102,0),mp(this,"GvnExternalLayer",21592080,.1),mp(this,"GvnExternalLayer",21592081,.1),mp(this,"GvnExternalLayer",413051059,.05),mp(this,"GvnExternalLayer",413051060,.05),mp(this,"GvnExternalLayer",324123E3,.05),mp(this,"GvnExternalLayer",324123001,.05),mp(this,"GvnExternalLayer",420706068,.01),mp(this,"GvnExternalLayer",420706069,.01),mp(this,"GvnExternalLayer",324123020,.01),mp(this,"GvnExternalLayer",324123021,.01));mp(this,"ActiveViewExternalLayer",953563515,.01);mp(this,"ActiveViewExternalLayer",
953563516,.01);mp(this,"ActiveViewExternalLayer",953563517,.01);np(this);var a=ep();a=gp(a);null!=a&&(this.l=!1,op(this,a.map(String)))};
rp=function(){qp||(qp=new pp);return qp};
mp=function(a,b,c,d){g.yb(g.Nb(b))||(0,window.isNaN)(c)||0>=c||(c=new jp(c,d),sp(a,b).l.set(c.getId(),c))};
np=function(a){fp()||(0,g.C)(a.g.qc(),function(a){lp(a)},a)};
op=function(a,b){(0,g.C)(b,function(a){var b=Number(a);a="FORCED_PUB_EXP_LAYER_"+a;(0,window.isNaN)(b)||0>=b||g.yb(g.Nb(a))||(sp(this,a).g=new jp(b,0,!0))},a)};
tp=function(a,b){return a.l?!1:(0,g.nk)(a.g.qc(),function(a){return!!a.g&&a.g.getId()==b})};
up=function(){var a=rp();if(a.l)return"";var b=[];(0,g.C)(a.g.qc(),function(a){(a=a.g)&&a.l&&b.push(a.getId())});
return b.sort().join(",")};
sp=function(a,b){var c=a.g.get(b);null==c&&(c=new kp(b),a.g.set(b,c));return c};
xp=function(a){try{var b=(new g.Ho(a)).g;b=b.replace(/^www./i,"");return(0,g.nk)(vp,function(a){return wp(a,b)})}catch(c){return!1}};
wp=function(a,b){if(g.yb(g.Nb(b)))return!1;a=a.toLowerCase();b=b.toLowerCase();return"*."==a.substr(0,2)?(a=a.substr(2),a.length>b.length?!1:b.substr(-a.length)==a&&(b.length==a.length||"."==b.charAt(b.length-a.length-1))):a==b};
yp=function(a,b){return(new RegExp("^https?://([a-z0-9-]{1,63}\\.)*("+b.join("|").replace(/\./g,"\\.")+")(:[0-9]+)?([/?#]|$)","i")).test(a)};
Cp=function(a){try{a:{var b=a,c=void 0,d=b.length-11-2;if(!(-1==b.indexOf("URL_SIGNALS")||2048<=d||!c&&!window.Goog_AdSense_Lidar_getUrlSignalsArray)){c=c||window.Goog_AdSense_Lidar_getUrlSignalsArray();d={};for(var e=0;e<c.length;++e){d.URL_SIGNALS=c[e];var f=g.bp(b,d);if(2048>f.length){a=f;break a}}}a=b}}catch(n){}try{f=a;b=!1;yp(f,zp)?b=!1:null!=f&&xp(f)?b=!0:"https:"==window.location.protocol&&(yp(f,Ap)||ip.g())&&(b=!0);if(b){var k=new g.Ho(f);"https"==k.A?a=f:(g.Io(k,"https"),a=k.toString())}else a=
f;var l=rp(),m=!ip.g()||tp(l,41351089);k=!1;ip.g()||!tp(rp(),634360102)||(k=!0);Bp.eL(a,m,k)}catch(n){}};
Dp=function(a){return(a=a.exec(g.Xb))?a[1]:""};
g.Fp=function(a){return 0<=g.Rb(Ep,a)};
g.Ip=function(a,b,c){g.va(a)?(this.date=Gp(a,b||0,c||1),Hp(this,c||1)):g.Fa(a)?(this.date=Gp(a.getFullYear(),a.getMonth(),a.getDate()),Hp(this,a.getDate())):(this.date=new Date((0,g.D)()),a=this.date.getDate(),this.date.setHours(0),this.date.setMinutes(0),this.date.setSeconds(0),this.date.setMilliseconds(0),Hp(this,a))};
Gp=function(a,b,c){b=new Date(a,b,c);0<=a&&100>a&&b.setFullYear(b.getFullYear()-1900);return b};
Hp=function(a,b){a.getDate()!=b&&a.date.setUTCHours(a.date.getUTCHours()+(a.getDate()<b?1:-1))};
Jp=function(){this.g=null;this.o="";this.l=null};
Lp=function(){var a="h."+Kp.o;null!=Kp.l&&(a+="/n."+Kp.l,null!=Kp.g&&(a+="/"+Kp.g));return a};
Mp=function(){this.l=.01>Math.random();this.g=Math.floor(4503599627370496*Math.random())};
Pp=function(a,b){var c=b||{};c.lid=43;c.sdkv=Lp();var d=up();g.yb(g.Nb(d))||(c.e=d);c=Np(a,c);var e=new g.Ho("http://pagead2.googlesyndication.com/pagead/gen_204");g.Zb(c,function(a,b){g.Ro(e,b,null!=a?"boolean"==typeof a?a?"t":"f":""+a:"")},a);
c=Op();g.Io(e,c.A);Cp(e.toString())};
Np=function(a,b){b.id="ima_html5";var c=Op();b.c=a.g;b.domain=c.g;return b};
Op=function(){var a=Nd(),b=window.document;return new g.Ho(a.parent==a?a.location.href:b.referrer)};
Qp=function(){g.Ff.call(this);new g.Eo;this.ba=new g.Yo(this);g.I(this,this.ba)};
Sp=function(){null!=Rp||(Rp=new Qp);return Rp};
Tp=function(a){if(a=a.match(/[\d]+/g))a.length=3};
Up=function(){g.Ff.call(this);this.g=null;this.ba=new g.Yo(this);g.I(this,this.ba);this.C=new g.Eo;this.B=new g.Eo;this.l=!1;this.o=null};
Wp=function(){null!=Vp||(Vp=new Up);return Vp};
Xp=function(a){if(g.Ea(window.Goog_AdSense_Lidar_getUrlSignalsArray)){var b={};b.pageSignals=window.Goog_AdSense_Lidar_getUrlSignalsArray();a.g.send("activityMonitor","pageSignals",b)}};
Yp=function(a,b,c){var d=b?a.B.get(b):ip.o;a={};null!=c&&(a.fullscreen=c);c="";try{c=ri(function(){return d},a)}catch(e){c="sdktle;"+Jb(e.name,12)+";"+Jb(e.message,40)}return c};
g.Zp=function(){};
g.$p=function(a,b){var c=a.g(b);return-1==(0==c?null:c)?"rtl":"ltr"};
bq=function(a,b){var c="key_"+a+":"+b,d=aq[c];if(void 0===d||0>d)aq[c]=0;else if(0==d)throw Error('Encountered two active delegates with the same priority ("'+a+":"+b+'").');};
g.cq=function(a){if(a.classList)return a.classList;a=a.className;return g.v(a)&&a.match(/\S+/g)||[]};
g.dq=function(a,b){return a.classList?a.classList.contains(b):g.Va(g.cq(a),b)};
g.J=function(a,b){a.classList?a.classList.add(b):g.dq(a,b)||(a.className+=0<a.className.length?" "+b:b)};
g.eq=function(a,b){if(a.classList)(0,g.C)(b,function(b){g.J(a,b)});
else{var c={};(0,g.C)(g.cq(a),function(a){c[a]=!0});
(0,g.C)(b,function(a){c[a]=!0});
a.className="";for(var d in c)a.className+=0<a.className.length?" "+d:d}};
g.fq=function(a,b){a.classList?a.classList.remove(b):g.dq(a,b)&&(a.className=(0,g.$d)(g.cq(a),function(a){return a!=b}).join(" "))};
g.gq=function(a,b){a.classList?(0,g.C)(b,function(b){g.fq(a,b)}):a.className=(0,g.$d)(g.cq(a),function(a){return!g.Va(b,a)}).join(" ")};
g.K=function(a,b,c){c?g.J(a,b):g.fq(a,b)};
g.hq=function(a,b){var c=!g.dq(a,b);g.K(a,b,c)};
iq=function(){if(!g.Kd)return!1;try{return new window.ActiveXObject("MSXML2.DOMDocument"),!0}catch(a){return!1}};
g.kq=function(a){if("undefined"!=typeof window.DOMParser)return(new window.DOMParser).parseFromString(a,"application/xml");if(jq){var b=new window.ActiveXObject("MSXML2.DOMDocument");b.resolveExternals=!1;b.validateOnParse=!1;try{b.setProperty("ProhibitDTD",!0),b.setProperty("MaxXMLSize",2048),b.setProperty("MaxElementDepth",256)}catch(c){}b.loadXML(a);return b}throw Error("Your browser does not support loading xml documents");};
g.lq=function(){g.Ff.call(this);this.g=0;this.endTime=this.startTime=null};
mq=function(a,b){g.Ca(b)||(b=[b]);var c=(0,g.E)(b,function(a){return g.v(a)?a:a.property+" "+a.duration+"s "+a.timing+" "+a.delay+"s"});
g.Ih(a,"transition",c.join(","))};
nq=function(a,b,c,d,e){g.lq.call(this);this.l=a;this.F=b;this.I=c;this.B=d;this.G=g.Ca(e)?e:[e]};
oq=function(a,b,c,d){return new nq(a,b,{opacity:c},{opacity:d},{property:"opacity",duration:b,timing:"ease-in",delay:0})};
g.pq=function(a,b,c){g.G.call(this);this.Ca=null;this.o=!1;this.B=a;this.A=c;this.g=b||window;this.l=(0,g.A)(this.WA,this)};
qq=function(a){a=a.g;return a.requestAnimationFrame||a.webkitRequestAnimationFrame||a.mozRequestAnimationFrame||a.oRequestAnimationFrame||a.msRequestAnimationFrame||null};
rq=function(a){a=a.g;return a.cancelAnimationFrame||a.cancelRequestAnimationFrame||a.webkitCancelRequestAnimationFrame||a.mozCancelRequestAnimationFrame||a.oCancelRequestAnimationFrame||a.msCancelRequestAnimationFrame||null};
g.L=function(a,b,c){g.G.call(this);this.g=a;this.Gc=b||0;this.l=c;this.o=(0,g.A)(this.lt,this)};
g.sq=function(a,b){a.isActive()||a.start(b)};
g.tq=function(a){a.stop();a.lt()};
g.uq=function(a){a.isActive()&&g.tq(a)};
g.vq=function(){};
g.wq=function(a){return":"+(a.g++).toString(36)};
g.xq=function(a){g.Ff.call(this);this.R=a||g.Ad();this.Ca=null;this.Ag=!1;this.l=null;this.B=void 0;this.C=this.G=this.I=null};
yq=function(a,b){a.G&&(0,g.C)(a.G,b,void 0)};
zq=function(a,b){this.type=a;this.label=b};
Aq=function(a){new zq(a,1)};
Bq=function(a){new zq(a,2)};
Cq=function(a){new zq(a,3)};
g.Dq=function(a){if(g.x.JSON)try{return g.x.JSON.parse(a)}catch(b){}return Jg(a)};
Eq=function(){};
Fq=function(){};
Gq=function(a,b,c,d,e,f,k,l){this.g=a;this.F=b;this.o=c;this.B=d;this.A=e;this.C=f;this.l=k;this.G=l};
Hq=function(a,b){if(0==b)return a.g;if(1==b)return a.l;var c=qd(a.g,a.o,b),d=qd(a.o,a.A,b),e=qd(a.A,a.l,b);c=qd(c,d,b);d=qd(d,e,b);return qd(c,d,b)};
Iq=function(a,b){var c=(b-a.g)/(a.l-a.g);if(0>=c)return 0;if(1<=c)return 1;for(var d=0,e=1,f=0,k=0;8>k;k++){f=Hq(a,c);var l=(Hq(a,c+1E-6)-f)/1E-6;if(1E-6>Math.abs(f-b))return c;if(1E-6>Math.abs(l))break;else f<b?d=c:e=c,c-=(f-b)/l}for(k=0;1E-6<Math.abs(f-b)&&8>k;k++)f<b?(d=c,c=(c+e)/2):(e=c,c=(c+d)/2),f=Hq(a,c);return c};
Jq=function(){this.g=this.o=this.A=5E3};
g.Kq=function(a,b,c,d,e,f){a=a.clone();b=b.clone();var k=0;if(d||0!=c)c&4?a.x-=b.width+(d?d.right:0):c&2?a.x-=b.width/2:d&&(a.x+=d.left),c&1?a.y-=b.height+(d?d.bottom:0):d&&(a.y+=d.top);if(f){if(e){k=a;c=b;d=0;65==(f&65)&&(k.x<e.left||k.x>=e.right)&&(f&=-2);132==(f&132)&&(k.y<e.top||k.y>=e.bottom)&&(f&=-5);k.x<e.left&&f&1&&(k.x=e.left,d|=1);if(f&16){var l=k.x;k.x<e.left&&(k.x=e.left,d|=4);k.x+c.width>e.right&&(c.width=Math.min(e.right-k.x,l+c.width-e.left),c.width=Math.max(c.width,0),d|=4)}k.x+c.width>
e.right&&f&1&&(k.x=Math.max(e.right-c.width,e.left),d|=1);f&2&&(d|=(k.x<e.left?16:0)|(k.x+c.width>e.right?32:0));k.y<e.top&&f&4&&(k.y=e.top,d|=2);f&32&&(l=k.y,k.y<e.top&&(k.y=e.top,d|=8),k.y+c.height>e.bottom&&(c.height=Math.min(e.bottom-k.y,l+c.height-e.top),c.height=Math.max(c.height,0),d|=8));k.y+c.height>e.bottom&&f&4&&(k.y=Math.max(e.bottom-c.height,e.top),d|=2);f&8&&(d|=(k.y<e.top?64:0)|(k.y+c.height>e.bottom?128:0));e=d}else e=256;k=e}e=new g.th(0,0,0,0);e.left=a.x;e.top=a.y;e.width=b.width;
e.height=b.height;return{rect:e,status:k}};
g.Lq=function(a){g.G.call(this);this.Lb=1;this.o=[];this.A=0;this.g=[];this.l={};this.B=!!a};
Mq=function(a,b,c){g.Zf(function(){a.apply(b,c)})};
g.Nq=function(a){this.g=a};
Oq=function(a){this.g=a};
Pq=function(a){this.data=a};
Qq=function(a){return!g.t(a)||a instanceof Pq?a:new Pq(a)};
Rq=function(a){this.g=a};
g.Sq=function(a){var b=a.creation;a=a.expiration;return!!a&&a<(0,g.D)()||!!b&&b>(0,g.D)()};
g.Tq=function(a){this.g=a};
Uq=function(){};
Vq=function(){};
Wq=function(a){this.g=a};
Xq=function(){var a=null;try{a=window.localStorage||null}catch(b){}this.g=a};
Yq=function(){var a=null;try{a=window.sessionStorage||null}catch(b){}this.g=a};
$q=function(a,b){this.l=a;this.g=null;if(g.Kd&&!g.Hc(9)){Zq||(Zq=new g.Eo);this.g=Zq.get(a);this.g||(b?this.g=window.document.getElementById(b):(this.g=window.document.createElement("userdata"),this.g.addBehavior("#default#userData"),window.document.body.appendChild(this.g)),Zq.set(a,this.g));try{this.g.load(this.l)}catch(c){this.g=null}}};
br=function(a){return"_"+(0,window.encodeURIComponent)(a).replace(/[.!~*'()%]/g,function(a){return ar[a]})};
cr=function(a){try{a.g.save(a.l)}catch(b){throw"Storage mechanism: Quota exceeded";}};
dr=function(a,b){this.l=a;this.g=b+"::"};
g.er=function(a){var b=new Xq;return b.isAvailable()?a?new dr(b,a):b:null};
gr=function(a,b){this.Lb=a;this.g=b};
hr=function(a){this.g=[];if(a)a:{if(a instanceof hr){var b=a.od();a=a.qc();if(0>=this.g.length){for(var c=this.g,d=0;d<b.length;d++)c.push(new gr(b[d],a[d]));break a}}else b=g.fc(a),a=g.ec(a);for(d=0;d<b.length;d++)ir(this,b[d],a[d])}};
ir=function(a,b,c){var d=a.g;d.push(new gr(b,c));b=d.length-1;a=a.g;for(c=a[b];0<b;)if(d=b-1>>1,a[d].Lb>c.Lb)a[b]=a[d],b=d;else break;a[b]=c};
jr=function(){hr.call(this)};
kr=function(a,b,c){var d="script";d=void 0===d?"":d;var e=a.createElement("link");try{e.rel="preload",e.href=Kb("preload","stylesheet")?Oc(b):b instanceof Nc?Oc(b):b instanceof Sc?g.Tc(b):Xc(b).Fd()}catch(f){return}d&&(e.as=d);c&&(e.nonce=c);if(a=a.getElementsByTagName("head")[0])try{a.appendChild(e)}catch(f){}};
nr=function(a){return lr.test(a)&&!mr.test(a)};
pr=function(a){a="https://"+("adservice"+a+"/adsid/integrator.js");var b=["domain="+(0,window.encodeURIComponent)(g.x.location.hostname)];or[3]>=(0,g.D)()&&b.push("adsid="+(0,window.encodeURIComponent)(or[1]));return a+"?"+b.join("&")};
sr=function(){qr=g.x;or=qr.googleToken=qr.googleToken||{};var a=(0,g.D)();or[1]&&or[3]>a&&0<or[2]||(or[1]="",or[2]=-1,or[3]=-1,or[4]="",or[6]="");rr=qr.googleIMState=qr.googleIMState||{};nr(rr[1])||(rr[1]=".google.com");g.Ca(rr[5])||(rr[5]=[]);g.ua(rr[6])||(rr[6]=!1);g.Ca(rr[7])||(rr[7]=[]);g.va(rr[8])||(rr[8]=0)};
tr=function(){sr();return or[1]};
vr=function(a){sr();var b=qr.googleToken[5]||0;a&&(0!=b||or[3]>=(0,g.D)()?ur.Mr(a):(ur.Ts().push(a),ur.gq()));or[3]>=(0,g.D)()&&or[2]>=(0,g.D)()||ur.gq()};
wr=function(a){g.x.processGoogleToken=g.x.processGoogleToken||function(a,c){var b=a,e=c;b=void 0===b?{}:b;e=void 0===e?0:e;var f=b.newToken||"",k="NT"==f,l=(0,window.parseInt)(b.freshLifetimeSecs||"",10),m=(0,window.parseInt)(b.validLifetimeSecs||"",10),n=b["1p_jar"]||"";b=b.pucrd||"";sr();1==e?ur.QK():ur.PK();if(!f&&ur.shouldRetry())nr(".google.com")&&(rr[1]=".google.com"),ur.gq();else{var q=qr.googleToken=qr.googleToken||{},u=0==e&&f&&g.v(f)&&!k&&g.va(l)&&0<l&&g.va(m)&&0<m&&g.v(n);k=k&&!ur.Pn()&&
(!(or[3]>=(0,g.D)())||"NT"==or[1]);var w=!(or[3]>=(0,g.D)())&&0!=e;if(u||k||w)k=(0,g.D)(),l=k+1E3*l,m=k+1E3*m,1E-5>Math.random()&&Di(g.x,"https://pagead2.googlesyndication.com/pagead/gen_204?id=imerr&err="+e),q[5]=e,q[1]=f,q[2]=l,q[3]=m,q[4]=n,q[6]=b,sr();if(u||!ur.Pn()){e=ur.Ts();for(f=0;f<e.length;f++)ur.Mr(e[f]);e.length=0}}};
vr(a)};
xr=function(a,b){this.B=[];this.N=a;this.L=b||null;this.A=this.g=!1;this.o=void 0;this.I=this.R=this.F=!1;this.C=0;this.l=null;this.G=0};
zr=function(a,b,c){a.g=!0;a.o=c;a.A=!b;yr(a)};
Br=function(a){if(a.g){if(!a.I)throw new Ar(a);a.I=!1}};
Cr=function(a,b,c){a.B.push([b,c,void 0]);a.g&&yr(a)};
Dr=function(a){return(0,g.nk)(a.B,function(a){return g.Ea(a[1])})};
yr=function(a){if(a.C&&a.g&&Dr(a)){var b=a.C,c=Er[b];c&&(g.x.clearTimeout(c.Ca),delete Er[b]);a.C=0}a.l&&(a.l.G--,delete a.l);b=a.o;for(var d=c=!1;a.B.length&&!a.F;){var e=a.B.shift(),f=e[0],k=e[1];e=e[2];if(f=a.A?k:f)try{var l=f.call(e||a.L,b);g.t(l)&&(a.A=a.A&&(l==b||a.isError(l)),a.o=b=l);if(cg(b)||"function"===typeof g.x.Promise&&b instanceof g.x.Promise)d=!0,a.F=!0}catch(m){b=m,a.A=!0,Dr(a)||(c=!0)}}a.o=b;d&&(l=(0,g.A)(a.J,a,!0),d=(0,g.A)(a.J,a,!1),b instanceof xr?(Cr(b,l,d),b.R=!0):b.then(l,
d));c&&(b=new Fr(b),Er[b.Ca]=b,a.C=b.Ca)};
Ar=function(){Na.call(this)};
Gr=function(){Na.call(this)};
Fr=function(a){this.Ca=g.x.setTimeout((0,g.A)(this.l,this),0);this.g=a};
Ir=function(a){Qe(this,a,Hr)};
Jr=function(a){Qe(this,a,null)};
Kr=function(a,b){for(;He(b)&&4!=b.l;)switch(b.o){case 1:var c=Le(b);Ue(a,1,c);break;case 2:c=Le(b);Ue(a,2,c);break;case 3:c=Le(b);Ue(a,3,c);break;case 4:c=Le(b);Ue(a,4,c);break;default:Ie(b)}return a};
Lr=function(a,b){if(1<b.length)a[b[0]]=b[1];else{var c=b[0],d;for(d in c)a[d]=c[d]}};
g.Nr=function(a){Lr(g.Mr,arguments)};
g.Or=function(a,b){return a in g.Mr?g.Mr[a]:b};
Pr=function(){};
Qr=function(a){return a&&window.yterr?function(){try{return a.apply(this,arguments)}catch(b){g.N(b)}}:a};
g.N=function(a,b,c,d,e){var f=g.z("yt.logging.errors.log");f?f(a,b,c,d,e):(f=g.Or("ERRORS",[]),f.push([a,b,c,d,e]),g.Nr("ERRORS",f))};
Rr=function(a){g.N(a,"WARNING",void 0,void 0,void 0)};
Tr=function(){if(!Sr)return null;var a=Sr();return"open"in a?a:null};
g.Ur=function(a){switch(a&&"status"in a?a.status:-1){case 200:case 201:case 202:case 203:case 204:case 205:case 206:case 304:return!0;default:return!1}};
g.Vr=function(a,b){g.Ea(a)&&(a=Qr(a));return window.setTimeout(a,b)};
g.Wr=function(a,b){g.Ea(a)&&(a=Qr(a));return window.setInterval(a,b)};
g.Xr=function(a){window.clearTimeout(a)};
g.Yr=function(a){a=a.split("&");for(var b={},c=0,d=a.length;c<d;c++){var e=a[c].split("=");if(1==e.length&&e[0]||2==e.length){var f=Ab(e[0]||"");e=Ab(e[1]||"");f in b?g.Ca(b[f])?eb(b[f],e):b[f]=[b[f],e]:b[f]=e}}return b};
g.Zr=function(a){"?"==a.charAt(0)&&(a=a.substr(1));return g.Yr(a)};
$r=function(a){a=a.split(",");return a=a.map(function(a){return g.Zr(a)})};
g.as=function(a){return-1!=a.indexOf("?")?(a=(a||"").split("#")[0],a=a.split("?",2),g.Zr(1<a.length?a[1]:a[0])):{}};
g.cs=function(a,b){return bs(a,b||{},!0)};
g.ds=function(a,b){return bs(a,b||{},!1)};
bs=function(a,b,c){var d=a.split("#",2);a=d[0];d=1<d.length?"#"+d[1]:"";var e=a.split("?",2);a=e[0];e=g.Zr(e[1]||"");for(var f in b)if(c||!hc(e,f))e[f]=b[f];return g.fh(a,e)+d};
es=function(a){if(!b)var b=window.location.href;var c=g.Ug(a)[1]||null,d=g.Wg(a);c&&d?(a=g.Ug(a),b=g.Ug(b),a=a[3]==b[3]&&a[1]==b[1]&&a[4]==b[4]):a=d?g.Wg(b)==d&&g.Xg(b)==g.Xg(a):!0;return a};
fs=function(a){a||(a=window.document.location.href);a=g.Ug(a)[1]||null;return null!==a&&"https"==a};
gs=function(a){a=g.Wg(a);a=null===a?null:a.split(".").reverse();return null===a?!1:"com"==a[0]&&a[1].match(/^youtube(?:-nocookie)?$/)?!0:!1};
js=function(a,b){b=void 0===b?{}:b;var c=es(a),d;for(d in hs){var e=g.Or(hs[d]);e&&(c||is(a,d))&&(b[d]=e)}if(c||is(a,"X-YouTube-Utc-Offset"))b["X-YouTube-Utc-Offset"]=-(new Date).getTimezoneOffset();return b};
is=function(a,b){var c=g.Or("CORS_HEADER_WHITELIST")||{},d=g.Wg(a);return d?(c=c[d])?g.Va(c,b):!1:!0};
ns=function(a,b){if(window.fetch&&"XML"!=b.format){var c={method:b.method||"GET",credentials:"same-origin"};b.headers&&(c.headers=b.headers);a=ks(a,b);var d=ls(a,b);d&&(c.body=d);b.withCredentials&&(c.credentials="include");var e=!1,f;(0,window.fetch)(a,c).then(function(a){if(!e){e=!0;f&&g.Xr(f);var c=a.ok,d=function(d){d=d||{};var e=b.context||g.x;c?b.onSuccess&&b.onSuccess.call(e,d,a):b.onError&&b.onError.call(e,d,a);b.Jc&&b.Jc.call(e,d,a)};
"JSON"==(b.format||"JSON")&&(c||400<=a.status&&500>a.status)?a.json().then(d,function(){d(null)}):d(null)}});
b.tw&&0<b.timeout&&(f=g.Vr(function(){e||(e=!0,g.Xr(f),b.tw.call(b.context||g.x))},b.timeout))}else g.ms(a,b)};
g.ms=function(a,b){var c=b.format||"JSON";a=ks(a,b);var d=ls(a,b),e=!1,f,k=os(a,function(a){if(!e){e=!0;f&&g.Xr(f);var d=g.Ur(a),k=null;if(d||400<=a.status&&500>a.status)k=ps(c,a,b.gP);if(d)a:if(a&&204==a.status)d=!0;else{switch(c){case "XML":d=0==(0,window.parseInt)(k&&k.return_code,10);break a;case "RAW":d=!0;break a}d=!!k}k=k||{};var l=b.context||g.x;d?b.onSuccess&&b.onSuccess.call(l,a,k):b.onError&&b.onError.call(l,a,k);b.Jc&&b.Jc.call(l,a,k)}},b.method,d,b.headers,b.responseType,b.withCredentials);
b.Xc&&0<b.timeout&&(f=g.Vr(function(){e||(e=!0,k.abort(),g.Xr(f),b.Xc.call(b.context||g.x,k))},b.timeout));
return k};
ks=function(a,b){b.jP&&(a=window.document.location.protocol+"//"+window.document.location.hostname+(window.document.location.port?":"+window.document.location.port:"")+a);var c=g.Or("XSRF_FIELD_NAME",void 0),d=b.wc;d&&(d[c]&&delete d[c],a=g.cs(a,d));return a};
ls=function(a,b){var c=g.Or("XSRF_FIELD_NAME",void 0),d=g.Or("XSRF_TOKEN",void 0),e=b.postBody||"",f=b.fb,k=g.Or("XSRF_FIELD_NAME",void 0),l;b.headers&&(l=b.headers["Content-Type"]);b.Js||g.Wg(a)&&!b.withCredentials&&g.Wg(a)!=window.document.location.hostname||"POST"!=b.method||l&&"application/x-www-form-urlencoded"!=l||b.fb&&b.fb[k]||(f||(f={}),f[c]=d);f&&g.v(e)&&(e=g.Zr(e),g.tc(e,f),e=b.Zw&&"JSON"==b.Zw?JSON.stringify(e):g.dh(e));f=e||f&&!g.lc(f);!qs&&f&&"POST"!=b.method&&(qs=!0,g.N(Error("AJAX request with postData should use POST")));
return e};
ps=function(a,b,c){var d=null;switch(a){case "JSON":a=b.responseText;b=b.getResponseHeader("Content-Type")||"";a&&0<=b.indexOf("json")&&(d=JSON.parse(a));break;case "XML":if(b=(b=b.responseXML)?rs(b):null)d={},(0,g.C)(b.getElementsByTagName("*"),function(a){d[a.tagName]=ts(a)})}c&&us(d);
return d};
us=function(a){if(g.Fa(a))for(var b in a)"html_content"==b||xb(b,"_html")?a[b]=g.nd(g.Lc("HTML that is escaped and sanitized server-side and passed through yt.net.ajax"),a[b]):us(a[b])};
rs=function(a){return a?(a=("responseXML"in a?a.responseXML:a).getElementsByTagName("root"))&&0<a.length?a[0]:null:null};
ts=function(a){var b="";(0,g.C)(a.childNodes,function(a){b+=a.nodeValue});
return b};
g.vs=function(a,b){b.method="POST";b.fb||(b.fb={});g.ms(a,b)};
os=function(a,b,c,d,e,f,k){function l(){4==(m&&"readyState"in m?m.readyState:0)&&b&&Qr(b)(m)}
c=void 0===c?"GET":c;d=void 0===d?"":d;var m=Tr();if(!m)return null;"onloadend"in m?m.addEventListener("loadend",l,!1):m.onreadystatechange=l;m.open(c,a,!0);f&&(m.responseType=f);k&&(m.withCredentials=!0);c="POST"==c&&(void 0===window.FormData||!(d instanceof window.FormData));if(e=js(a,e))for(var n in e)m.setRequestHeader(n,e[n]),"content-type"==n.toLowerCase()&&(c=!1);c&&m.setRequestHeader("Content-Type","application/x-www-form-urlencoded");m.send(d);return m};
g.ws=function(){var a=/Chrome\/(\d+)/.exec(g.Xb);return a?(0,window.parseFloat)(a[1]):window.NaN};
zs=function(){return xs("android")&&xs("chrome")&&!ys()};
g.As=function(){return xs("cobalt")};
Bs=function(){return xs("cobalt")&&xs("; youtubevr")};
Cs=function(){return xs("cobalt")&&xs("appletv")};
Ds=function(){return xs("(ps3; leanback shell)")||xs("ps3")&&g.As()};
Es=function(){return xs("(ps4; leanback shell)")||xs("ps4")&&g.As()};
g.Fs=function(){return g.As()&&(xs("ps4 vr")||xs("ps4 pro vr"))};
Gs=function(){var a=/WebKit\/([0-9]+)/.exec(g.Xb);return!!(a&&600<=(0,window.parseInt)(a[1],10))};
Hs=function(){return xs("iemobile")||xs("windows phone")&&xs("edge")};
ys=function(){return xs("trident/")||xs("edge/")};
xs=function(a){var b=g.Xb;return b?0<=b.toLowerCase().indexOf(a):!1};
g.Is=function(a,b,c,d,e){e=void 0===e?"":e;a&&(c&&!g.As()?a&&(a=g.Tc(g.Wc(a)),"about:invalid#zClosurez"===a?a="":(a=g.hd(jd(a)),a=g.zb(g.Mg(a))),g.yb(a)||(a=g.Rd("IFRAME",{src:'javascript:"<body><img src=\\""+'+a+'+"\\"></body>"',style:"display:none"}),g.yd(a).body.appendChild(a))):e?os(a,b,"POST",e,d):g.Or("USE_NET_AJAX_FOR_PING_TRANSPORT",!1)||d?os(a,b,"GET","",d):aaa(a,b))};
Js=function(a,b,c){c=void 0===c?"":c;try{window.navigator&&window.navigator.sendBeacon&&window.navigator.sendBeacon(a,c)?b&&b():g.Is(a,b,void 0,void 0,c)}catch(d){g.Is(a,b,void 0,void 0,c)}};
aaa=function(a,b){var c=new window.Image,d=""+baa++;Ks[d]=c;c.onload=c.onerror=function(){b&&Ks[d]&&b();delete Ks[d]};
c.src=a};
Ms=function(a,b){var c=g.qc(b),d;return g.rg(new g.eg(function(b,f){c.onSuccess=function(a){g.Ur(a)?b(a):f(new Ls("Request failed, status="+a.status,"net.badstatus",a))};
c.onError=function(a){f(new Ls("Unknown request error","net.unknown",a))};
c.Xc=function(a){f(new Ls("Request timed out","net.timeout",a))};
d=g.ms(a,c)}),function(a){a instanceof wg&&d.abort();
return jg(a)})};
g.Ns=function(a,b,c,d){function e(d,l,m){return g.rg(d,function(d){return 0>=l||403===d.g.status?jg(new Ls("Request retried too many times","net.retryexhausted",d.g)):f(m).then(function(){return e(Ms(a,b),l-1,Math.pow(2,c-l+1)*m)})})}
function f(a){return new g.eg(function(b){(0,window.setTimeout)(b,a)})}
return e(Ms(a,b),c-1,d)};
Ls=function(a,b,c){Na.call(this,a+", errorCode="+b);this.errorCode=b;this.g=c;this.name="PromiseAjaxError"};
Os=function(a){this.o=void 0===a?null:a;this.l=0;this.g=null};
Ps=function(a){var b=new Os;a=void 0===a?null:a;b.l=2;b.g=void 0===a?null:a;return b};
Qs=function(a){var b=new Os;a=void 0===a?null:a;b.l=1;b.g=void 0===a?null:a;return b};
Ss=function(a){Na.call(this,a.message||a.description||a.name);this.isMissing=a instanceof Rs;this.isTimeout=a instanceof Ls&&"net.timeout"==a.errorCode;this.isCanceled=a instanceof wg};
Rs=function(){Na.call(this,"Biscotti ID is missing from server")};
caa=function(){if("1"===g.gc(g.Or("PLAYER_CONFIG",{}),"args","privembed"))return jg(Error("Biscotti ID is not available in private embed mode"));Ts||(Ts=g.rg(Ms("//googleads.g.doubleclick.net/pagead/id",Us).then(Vs),function(a){return Ws(2,a)}));
return Ts};
Vs=function(a){a=a.responseText;if(!g.wb(a,")]}'"))throw new Rs;a=JSON.parse(a.substr(4));if(1<(a.type||1))throw new Rs;a=a.id;Xs(a);Ts=Qs(a);Ys(18E5,2);return a};
Ws=function(a,b){var c=new Ss(b);Xs("");Ts=Ps(c);0<a&&Ys(12E4,a-1);throw c;};
Ys=function(a,b){g.Vr(function(){g.rg(Ms("//googleads.g.doubleclick.net/pagead/id",Us).then(Vs,function(a){return Ws(b,a)}),g.za)},a)};
Xs=function(a){g.y("yt.ads.biscotti.lastId_",a,void 0)};
Zs=function(){try{var a=g.z("yt.ads.biscotti.getId_");return a?a():caa()}catch(b){return jg(b)}};
$s=function(a){Na.apply(this,arguments)};
daa=function(){var a=new $s("ID is missing"),b=new $s("Timeout"),c=null,d=!1;wr(function(){c=tr();d=!0});
if(d)return c?Qs(c):Ps(a);var e=new g.eg(function(b,c){wr(function(){var d=tr();d?b(d):c(a)})}),f=Dg(5E3).then(function(){return jg(b)});
return pg(mg([e,f]),function(){return f.cancel()})};
at=function(){g.z("yt.ads.yuzu.getId_")||g.y("yt.ads.yuzu.getId_",daa,void 0);try{return g.z("yt.ads.yuzu.getId_")()}catch(a){return jg(a)}};
g.ct=function(a,b,c){a&&(a.dataset?a.dataset[g.bt(b)]=String(c):a.setAttribute("data-"+b,c))};
g.dt=function(a,b){return a?a.dataset?a.dataset[g.bt(b)]:a.getAttribute("data-"+b):null};
g.bt=function(a){return et[a]||(et[a]=String(a).replace(/\-([a-z])/g,function(a,c){return c.toUpperCase()}))};
gt=function(){var a=window.document;if("visibilityState"in a)return a.visibilityState;var b=ft+"VisibilityState";if(b in a)return a[b]};
ht=function(a,b){var c;(0,g.nk)(a,function(a){c=b[a];return!!c});
return c};
kt=function(a){var b;it()?g.jt()==a&&(b=window.document):b=a;b&&(a=ht(["exitFullscreen","webkitExitFullscreen","mozCancelFullScreen","msExitFullscreen"],b))&&a.call(b)};
lt=function(a){return g.Ra(["fullscreenchange","webkitfullscreenchange","mozfullscreenchange","MSFullscreenChange"],function(b){return"on"+b.toLowerCase()in a})};
eaa=function(){var a=window.document;return g.Ra(["fullscreenerror","webkitfullscreenerror","mozfullscreenerror","MSFullscreenError"],function(b){return"on"+b.toLowerCase()in a})};
it=function(){return!!ht(["fullscreenEnabled","webkitFullscreenEnabled","mozFullScreenEnabled","msFullscreenEnabled"],window.document)};
g.jt=function(){var a=ht(["fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement"],window.document);return a?a:null};
mt=function(a){this.type="";this.state=this.source=this.data=this.currentTarget=this.relatedTarget=this.target=null;this.charCode=this.keyCode=0;this.metaKey=this.shiftKey=this.ctrlKey=this.altKey=!1;this.rotation=this.clientY=this.clientX=0;this.changedTouches=this.touches=null;if(a=a||window.event){this.event=a;for(var b in a)b in faa||(this[b]=a[b]);this.rotation=a.rotation;(b=a.target||a.srcElement)&&3==b.nodeType&&(b=b.parentNode);this.target=b;if(b=a.relatedTarget)try{b=b.nodeName?b:null}catch(c){b=
null}else"mouseover"==this.type?b=a.fromElement:"mouseout"==this.type&&(b=a.toElement);this.relatedTarget=b;this.clientX=void 0!=a.clientX?a.clientX:a.pageX;this.clientY=void 0!=a.clientY?a.clientY:a.pageY;this.keyCode=a.keyCode?a.keyCode:a.which;this.charCode=a.charCode||("keypress"==this.type?this.keyCode:0);this.altKey=a.altKey;this.ctrlKey=a.ctrlKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.g=a.pageX;this.l=a.pageY}};
nt=function(a){if(window.document.body&&window.document.documentElement){var b=window.document.body.scrollTop+window.document.documentElement.scrollTop;a.g=a.clientX+(window.document.body.scrollLeft+window.document.documentElement.scrollLeft);a.l=a.clientY+b}};
gaa=function(a,b,c,d){d=void 0===d?{}:d;a.addEventListener&&("mouseenter"!=b||"onmouseenter"in window.document?"mouseleave"!=b||"onmouseenter"in window.document?"mousewheel"==b&&"MozBoxSizing"in window.document.documentElement.style&&(b="MozMousePixelScroll"):b="mouseout":b="mouseover");return jc(ot,function(e){var f=g.ua(e[4])&&e[4]==!!d,k=g.Fa(e[4])&&g.Fa(d)&&g.pc(e[4],d);return!!e.length&&e[0]==a&&e[1]==b&&e[2]==c&&(f||k)})};
g.rt=function(a,b,c,d){d=void 0===d?{}:d;if(!a||!a.addEventListener&&!a.attachEvent)return"";var e=gaa(a,b,c,d);if(e)return e;e=++pt.count+"";var f=!("mouseenter"!=b&&"mouseleave"!=b||!a.addEventListener||"onmouseenter"in window.document);var k=f?function(d){d=new mt(d);if(!g.je(d.relatedTarget,function(b){return b==a},!0))return d.currentTarget=a,d.type=b,c.call(a,d)}:function(b){b=new mt(b);
b.currentTarget=a;return c.call(a,b)};
k=Qr(k);a.addEventListener?("mouseenter"==b&&f?b="mouseover":"mouseleave"==b&&f?b="mouseout":"mousewheel"==b&&"MozBoxSizing"in window.document.documentElement.style&&(b="MozMousePixelScroll"),qt()||g.ua(d)?a.addEventListener(b,k,d):a.addEventListener(b,k,!!d.capture)):a.attachEvent("on"+b,k);ot[e]=[a,b,c,k,d];return e};
haa=function(a,b,c,d){var e=a||window.document;return g.rt(e,b,function(a){var b=g.je(a.target,function(a){return a===e||d(a)},!0);
b&&b!==e&&!b.disabled&&(a.currentTarget=b,c.call(b,a))})};
g.tt=function(a){a&&("string"==typeof a&&(a=[a]),(0,g.C)(a,function(a){if(a in ot){var b=ot[a],d=b[0],e=b[1],f=b[3];b=b[4];d.removeEventListener?qt()||g.ua(b)?d.removeEventListener(e,f,b):d.removeEventListener(e,f,!!b.capture):d.detachEvent&&d.detachEvent("on"+e,f);delete ot[a]}}))};
g.ut=function(a){a=a||window.event;a=a.target||a.srcElement;3==a.nodeType&&(a=a.parentNode);return a};
vt=function(a){a=a||window.event;return a.path&&a.path.length?a.path[0]:g.ut(a)};
wt=function(a){a=a||window.event;var b=a.relatedTarget;b||("mouseover"==a.type?b=a.fromElement:"mouseout"==a.type&&(b=a.toElement));return b};
xt=function(a){a=a||window.event;var b=a.pageX,c=a.pageY;window.document.body&&window.document.documentElement&&(g.va(b)||(b=a.clientX+window.document.body.scrollLeft+window.document.documentElement.scrollLeft),g.va(c)||(c=a.clientY+window.document.body.scrollTop+window.document.documentElement.scrollTop));return new g.sd(b,c)};
g.zt=function(a){a=a||window.event;a.returnValue=!1;a.preventDefault&&a.preventDefault()};
g.At=function(a){a=a||window.event;return!1===a.returnValue||a.Tt&&a.Tt()};
g.Bt=function(a){a=a||window.event;return a.keyCode?a.keyCode:a.which};
g.Ct=function(a,b,c,d){return haa(a,b,c,function(a){return g.dq(a,d)})};
g.Dt=function(a,b,c){var d=void 0===d?{}:d;var e;return e=g.rt(a,b,function(){g.tt(e);c.apply(a,arguments)},d)};
Et=function(a){for(var b in ot)ot[b][0]==a&&g.tt(b)};
Ft=function(a){this.G=a;this.g=null;this.A=0;this.B=null;this.o=0;this.l=[];for(a=0;4>a;a++)this.l.push(0);this.Oa=0;this.F=g.rt(window,"mousemove",(0,g.A)(this.J,this));this.I=g.Wr((0,g.A)(this.C,this),25)};
g.Gt=function(a){g.G.call(this);this.L=[];this.yb=a||this};
Ht=function(a,b,c,d){for(var e=0;e<c.length;e++)a.M(b,c[e],d)};
g.It=function(a){for(;a.L.length;){var b=a.L.pop();b.target.removeEventListener(b.name,b.nk)}};
g.O=function(a){a=void 0===a?!1:a;g.G.call(this);this.ca=new g.Lq(a);g.I(this,this.ca)};
g.Kt=function(a,b,c,d){g.O.call(this);this.o=!!b;this.C=a;this.I=c||a;this.G=!!d;this.g=new g.Gt(this);g.I(this,this.g);this.B=this.F=null;this.A=this.l=!1;b&&(g.Md&&a.setAttribute("draggable","true"),a.style.touchAction="none");Jt(this)};
Lt=function(a,b,c){a.g.M(a.I,b,c,void 0,!a.o)};
Jt=function(a){a.B=null;a.F=null;Lt(a,Mt("over"),a.zu);Lt(a,"touchstart",a.To);a.o&&Lt(a,Mt("down"),a.oG)};
Nt=function(a,b){for(var c=0;c<b.changedTouches.length;c++){var d=b.changedTouches[c];if(d.identifier==a.F)return d}return null};
Mt=function(a){return window.navigator.msPointerEnabled?"MSPointer"+a.charAt(0).toUpperCase()+a.substr(1):"mouse"+a};
g.Ot=function(a){return g.Or("EXPERIMENT_FLAGS",{})[a]};
Pt=function(a){a=a||{};this.url=a.url||"";this.args=a.args||g.qc(iaa);this.assets=a.assets||{};this.attrs=a.attrs||g.qc(jaa);this.fallback=a.fallback||null;this.fallbackMessage=a.fallbackMessage||null;this.html5=!!a.html5;this.disable=a.disable||{};this.loaded=!!a.loaded;this.messages=a.messages||{}};
kaa=function(a){a instanceof Pt||(a=new Pt(a));return a};
g.Ut=function(a,b,c){var d=g.Qt();if(d){var e=d.subscribe(a,function(){var d=arguments;var k=function(){g.Rt[e]&&b.apply(c||window,d)};
try{St[a]?k():g.Vr(k,0)}catch(l){g.N(l)}},c);
g.Rt[e]=!0;g.Tt[a]||(g.Tt[a]=[]);g.Tt[a].push(e);return e}return 0};
g.Wt=function(a,b){var c=g.Ut(a,function(a){b.apply(void 0,arguments);g.Vt(c)},void 0);
return c};
g.Vt=function(a){var b=g.Qt();b&&(g.va(a)?a=[a]:g.v(a)&&(a=[(0,window.parseInt)(a,10)]),(0,g.C)(a,function(a){b.unsubscribeByKey(a);delete g.Rt[a]}))};
g.Xt=function(a,b){var c=g.Qt();return c?c.publish.apply(c,arguments):!1};
g.Yt=function(a,b){St[a]=!0;var c=g.Qt();c&&c.publish.apply(c,arguments);St[a]=!1};
g.Qt=function(){return g.z("ytPubsubPubsubInstance")};
g.du=function(a,b){if(a.wk){var c=a.wk;var d={};c.videoId?d.videoId=c.videoId:c.playlistId&&(d.playlistId=c.playlistId);Zt[a.wk.token]=d;c=$t(a.endpoint,a.wk.token)}else c=$t(a.endpoint);c.push(a.payload);au[a.endpoint]=new b;c.length>=(Number(g.Ot("web_logging_max_batch")||0)||20)?bu():cu()};
bu=function(){g.Xr(eu);if(!g.lc(fu)){for(var a in fu){var b=au[a];if(b){var c=void 0,d=a,e=b,f=laa[d],k=gu[d]||{};gu[d]=k;b=Math.round(g.P());for(c in fu[d]){var l={context:g.hu(e.g)};l[f]=$t(d,c);k.dispatchedEventCount=k.dispatchedEventCount||0;k.dispatchedEventCount+=l[f].length;var m=Zt[c];if(m)a:{var n=l,q=c;if(m.videoId)var u="VIDEO";else if(m.playlistId)u="PLAYLIST";else break a;n.credentialTransferTokenTargetId=m;n.context=n.context||{};n.context.user=n.context.user||{};n.context.user.credentialTransferTokens=
[{token:q,scope:u}]}delete Zt[c];m=l;m.requestTimeMs=b;if(u=g.Or("EVENT_ID",void 0))n=(g.Or("BATCH_CLIENT_COUNTER",void 0)||0)+1,n>maa&&(n=1),g.Nr("BATCH_CLIENT_COUNTER",n),m.serializedClientEventId={serializedEventId:u,clientCounter:n};g.iu(e,d,l,{retry:naa.has(d)})}c=k;d=b;c.previousDispatchMs&&(b=d-c.previousDispatchMs,e=c.diffCount||0,c.averageTimeBetweenDispatchesMs=e?(c.averageTimeBetweenDispatchesMs*e+b)/(e+1):b,c.diffCount=e+1);c.previousDispatchMs=d;delete fu[a]}}g.lc(fu)||cu()}};
cu=function(){g.Xr(eu);eu=g.Vr(bu,g.Or("LOGGING_BATCH_TIMEOUT",1E4))};
$t=function(a,b){b=void 0===b?"":b;fu[a]=fu[a]||{};fu[a][b]=fu[a][b]||[];return fu[a][b]};
oaa=function(){};
g.ku=function(a,b){return ju(a,1,b)};
lu=function(){};
g.mu=function(){return!!g.z("yt.scheduler.instance")};
ju=function(a,b,c){(0,window.isNaN)(c)&&(c=void 0);var d=g.z("yt.scheduler.instance.addJob");return d?d(a,b,c):void 0===c?(a(),window.NaN):g.Vr(a,c||0)};
g.nu=function(a){if(!(0,window.isNaN)(a)){var b=g.z("yt.scheduler.instance.cancelJob");b?b(a):g.Xr(a)}};
ou=function(a){var b=g.z("yt.scheduler.instance.setPriorityThreshold");b&&b(a)};
ru=function(){var a={},b=void 0===a.QB?!0:a.QB;a=void 0===a.KK?!1:a.KK;if(null==g.z("_lact",window)){var c=(0,window.parseInt)(g.Or("LACT"),10);c=(0,window.isFinite)(c)?(0,g.D)()-Math.max(c,0):-1;g.y("_lact",c,window);g.y("_fact",c,window);-1==c&&pu();g.rt(window.document,"keydown",pu);g.rt(window.document,"keyup",pu);g.rt(window.document,"mousedown",pu);g.rt(window.document,"mouseup",pu);b&&(a?g.rt(window,"touchmove",function(){qu("touchmove",200)},{passive:!0}):(g.rt(window,"resize",function(){qu("resize",
200)}),g.rt(window,"scroll",function(){qu("scroll",200)})));
new Ft(function(){qu("mouse",100)});
g.rt(window.document,"touchstart",pu,{passive:!0});g.rt(window.document,"touchend",pu,{passive:!0})}};
qu=function(a,b){tu[a]||(tu[a]=!0,g.ku(function(){pu();tu[a]=!1},b))};
pu=function(){null==g.z("_lact",window)&&ru();var a=(0,g.D)();g.y("_lact",a,window);-1==g.z("_fact",window)&&g.y("_fact",a,window);(a=g.z("ytglobal.ytUtilActivityCallback_"))&&a()};
g.uu=function(){var a=g.z("_lact",window),b;null==a?b=-1:b=Math.max((0,g.D)()-a,0);return b};
g.wu=function(a,b,c,d){var e=g.vu,f={};f.eventTimeMs=Math.round(c||g.P());f[a]=b;f.context={lastActivityMs:String(c?-1:g.uu())};g.du({endpoint:"log_event",payload:f,wk:d},e)};
g.hu=function(a){a={client:{hl:a.xo,gl:a.wo,clientName:a.vo,clientVersion:a.innertubeContextClientVersion}};var b=window.devicePixelRatio;b&&1!=b&&(a.client.screenDensityFloat=String(b));g.Or("DELEGATED_SESSION_ID")&&(a.user={onBehalfOfUser:g.Or("DELEGATED_SESSION_ID")});return a};
paa=function(a,b){var c={"X-Goog-Visitor-Id":g.Or("VISITOR_DATA","")};if(b&&b.includes("www.youtube-nocookie.com"))return c;var d;a?d="Bearer "+g.z("gapi.auth.getToken")().cP:d=g.Do();d&&(c.Authorization=d,c["X-Goog-AuthUser"]=g.Or("SESSION_INDEX",0));return c};
g.yu=function(a,b,c,d){xu.set(""+a,b,c,"/",void 0===d?"youtube.com":d,!1)};
g.zu=function(a,b,c){xu.remove(""+a,void 0===b?"/":b,void 0===c?"youtube.com":c)};
Au=function(){var a;(a=g.er("yt.innertube"))||(a=new $q("yt.innertube"),a=a.isAvailable()?a:null);this.g=a?new Rq(a):null;this.l=window.document.domain||window.location.hostname};
g.vu=function(a){this.g=a||{innertubeApiKey:g.Or("INNERTUBE_API_KEY",void 0),innertubeApiVersion:g.Or("INNERTUBE_API_VERSION",void 0),vo:g.Or("INNERTUBE_CONTEXT_CLIENT_NAME","WEB"),innertubeContextClientVersion:g.Or("INNERTUBE_CONTEXT_CLIENT_VERSION",void 0),xo:g.Or("INNERTUBE_CONTEXT_HL",void 0),wo:g.Or("INNERTUBE_CONTEXT_GL",void 0),al:g.Or("INNERTUBE_HOST_OVERRIDE",void 0)||"",TB:!!g.Or("INNERTUBE_USE_THIRD_PARTY_AUTH",!1)}};
g.iu=function(a,b,c,d){!g.Or("VISITOR_DATA")&&.01>Math.random()&&g.N(Error("Missing VISITOR_DATA when sending innertube request."),"WARNING");c={headers:{"Content-Type":"application/json"},method:"POST",fb:c,Zw:"JSON",Xc:function(){d.Xc()},
tw:d.Xc,onSuccess:function(a,b){if(d.onSuccess)d.onSuccess(b)},
mP:function(a){if(d.onSuccess)d.onSuccess(a)},
onError:function(a,b){if(d.onError)d.onError(b)},
lP:function(a){if(d.onError)d.onError(a)},
timeout:d.timeout,withCredentials:!0};var e="",f=a.g.al;f&&(e=f);f=paa(a.g.TB||!1,e);Object.assign(c.headers,f);c.headers.Authorization&&!e&&(c.headers["x-origin"]=window.location.origin);a=""+e+("/youtubei/"+a.g.innertubeApiVersion+"/"+b)+"?alt=json&key="+a.g.innertubeApiKey;try{g.Ot("use_fetch_for_op_xhr")?ns(a,c):g.vs(a,c)}catch(k){if("InvalidAccessError"==k)g.N(Error("An extension is blocking network request."),"WARNING");else throw k;}};
Cu=function(a,b){var c=Object.keys(a).join("");Bu("info_"+c+"_"+b)||(a.clientActionNonce=b,g.wu("latencyActionInfo",a,void 0,void 0))};
Bu=function(a){Du[a]=Du[a]||{count:0};var b=Du[a];b.count++;b.time=g.P();Eu||(Eu=ju(qaa,0,5E3));if(10<b.count){if(11==b.count){b=Error("CSI data exceeded logging limit with key: "+a);var c=0==a.indexOf("info")?"WARNING":"ERROR";var d=d||{};d.name=g.Or("INNERTUBE_CONTEXT_CLIENT_NAME",1);d.version=g.Or("INNERTUBE_CONTEXT_CLIENT_VERSION",void 0);a=b;b=void 0===c?"ERROR":c;b=void 0===b?"ERROR":b;c=window&&window.yterr||!1;if(a&&c&&!(5<=Fu)){c=a.stacktrace;var e=a.columnNumber;a.hasOwnProperty("params")&&
(d.params=JSON.stringify(a.params));var f=g.z("window.location.href");if(g.v(a))a={message:a,name:"Unknown error",lineNumber:"Not available",fileName:f,stack:"Not available"};else{var k=!1;try{var l=a.lineNumber||a.line||"Not available"}catch(u){l="Not available",k=!0}try{var m=a.fileName||a.filename||a.sourceURL||g.x.$googDebugFname||f}catch(u){m="Not available",k=!0}a=!k&&a.lineNumber&&a.fileName&&a.stack&&a.message&&a.name?a:{message:a.message||"Not available",name:a.name||"UnknownError",lineNumber:l,
fileName:m,stack:a.stack||"Not available"}}c=c||a.stack;l=a.lineNumber.toString();(0,window.isNaN)(l)||(0,window.isNaN)(e)||(l=l+":"+e);if(!(Gu[a.message]||0<=c.indexOf("/YouTubeCenter.js")||0<=c.indexOf("/mytube.js"))){m=c;l={wc:{a:"logerror",t:"jserror",type:a.name,msg:a.message.substr(0,1E3),line:l,level:b,"client.name":d.name},fb:{url:g.Or("PAGE_NAME",window.location.href),file:a.fileName},method:"POST"};d.version&&(l["client.version"]=d.version);m&&(l.fb.stack=m);for(var n in d)l.fb["client."+
n]=d[n];if(d=g.Or("LATEST_ECATCHER_SERVICE_TRACKING_PARAMS",void 0))for(var q in d)l.fb[q]=d[q];g.ms(g.Or("ECATCHER_REPORT_HOST","")+"/error_204",l);Gu[a.message]=!0;Fu++}}}return!0}return!1};
qaa=function(){var a=g.P(),b;for(b in Du)6E4<a-Du[b].time&&delete Du[b];Eu=0};
Iu=function(){if(window.crypto&&window.crypto.getRandomValues)try{var a=Array(16),b=new window.Uint8Array(16);window.crypto.getRandomValues(b);for(var c=0;c<a.length;c++)a[c]=b[c];return a}catch(e){}a=Array(16);for(b=0;16>b;b++){c=(0,g.D)();for(var d=0;d<c%23;d++)a[b]=Math.random();a[b]=Math.floor(256*Math.random())}if(Hu)for(b=1,c=0;c<Hu.length;c++)a[b%16]=a[b%16]^a[(b-1)%16]/4^Hu.charCodeAt(c),b++;return a};
Ju=function(){for(var a=Iu(),b=[],c=0;c<a.length;c++)b.push("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_".charAt(a[c]&63));return b.join("")};
g.Ku=function(){return(0,g.E)(Iu(),function(a){return(a&15).toString(16)}).join("")};
g.Lu=function(a){a=void 0===a?0:a;a=void 0===a?0:a;return g.Or(0==a?"ROOT_VE_TYPE":"ROOT_VE_TYPE."+a,void 0)};
g.Mu=function(a){var b=a=void 0===a?0:a;b=void 0===b?0:b;(b=g.Or(0==b?"client-screen-nonce":"client-screen-nonce."+b))||0!=a||(b=g.Or("EVENT_ID"));return b?b:null};
g.Pu=function(a,b,c){var d=c&&0<c?c:0;c=d?(0,g.D)()+1E3*d:0;if((d=d?(0,g.Nu)():Ou())&&window.JSON){g.v(b)||(b=JSON.stringify(b,void 0));try{d.set(a,b,c)}catch(e){d.remove(a)}}};
g.Qu=function(a){var b=Ou(),c=(0,g.Nu)();if(!b&&!c||!window.JSON)return null;try{var d=b.get(a)}catch(e){}if(!g.v(d))try{d=c.get(a)}catch(e){}if(!g.v(d))return null;try{d=JSON.parse(d,void 0)}catch(e){}return d};
g.Ru=function(a){try{var b=Ou(),c=(0,g.Nu)();b&&b.remove(a);c&&c.remove(a)}catch(d){}};
g.Su=function(){return g.Qu("yt-remote-session-screen-id")};
raa=function(a){Lr(Tu,arguments)};
g.Q=function(a,b,c){b=void 0===b?{}:b;a=(a=a in Tu?Tu[a]:c)||"";c={};for(var d in b)c.Vl=d,a=a.replace(new RegExp("\\$"+c.Vl,"gi"),function(a){return function(){return b[a.Vl]}}(c)),c={Vl:c.Vl};
return a};
saa=function(){var a=g.Qu("yt-player-volume")||{},b=a.volume;return{volume:(0,window.isNaN)(b)?100:g.od(Math.floor(b),0,100),muted:!!a.muted}};
Uu=function(a){g.Pu("yt-player-bandwidth",a,2592E3)};
Vu=function(){return g.Qu("yt-player-quality")||"auto"};
Wu=function(a){g.Pu("yt-player-watch-later-pending",a)};
Xu=function(){return g.Qu("yt-player-headers-readable")||!1};
Zu=function(a,b,c){g.v(a)&&(a={mediaContentUrl:a,startSeconds:b,suggestedQuality:c});b=/\/([ve]|embed)\/([^#?]+)/.exec(a.mediaContentUrl);a.videoId=b&&b[2]?b[2]:null;return Yu(a)};
Yu=function(a,b,c){if(g.Fa(a)){b="endSeconds startSeconds mediaContentUrl suggestedQuality videoId two_stage_token".split(" ");c={};for(var d=0;d<b.length;d++){var e=b[d];a[e]&&(c[e]=a[e])}return c}return{videoId:a,startSeconds:b,suggestedQuality:c}};
$u=function(a,b,c,d){!a&&(void 0===c?0:c)&&Rr(Error("Player URL validator detects invalid url. "+(void 0===d?"":d)+": "+b));return a};
av=function(a){return(a=taa.exec(a))?a[0]:""};
bv=function(a){var b=void 0===b?!1:b;return $u(uaa.test(a),a,b,"Nielsen OCR URL")};
cv=function(a){var b=void 0===b?!1:b;return $u(vaa.test(a),a,b,"Active View 3rd Party Integration URL")};
dv=function(a){var b=void 0===b?!1:b;return $u(waa.test(a),a,b,"Google/YouTube Brand Lift URL")};
ev=function(a){var b=void 0===b?!1:b;return $u(xaa.test(a),a,b,"Trusted Stream URL")};
g.fv=function(a){var b=void 0===b?!1:b;return $u(yaa.test(a),a,b,"Trusted Image URL")};
g.gv=function(a){var b=void 0===b?!1:b;return $u(zaa.test(a),a,b,"Trusted Promoted Video Domain URL")};
hv=function(a,b){b=void 0===b?!1:b;return $u(Aaa.test(a),a,b,"Captions URL")};
iv=function(a){a=new g.Ho(a);g.Io(a,window.document.location.protocol);g.Jo(a,window.document.location.hostname);window.document.location.port&&g.Ko(a,window.document.location.port);return a.toString()};
jv=function(a){a=new g.Ho(a);g.Io(a,window.document.location.protocol);return a.toString()};
kv=function(){return"ytp-id-"+Baa++};
g.mv=function(a){g.G.call(this);this.g={};this.Ra={};this.element=lv(this,a)};
lv=function(a,b,c){c=c||"svg"==b.D;if(c){var d=window.document.createElementNS("http://www.w3.org/2000/svg",b.D);g.nv&&(b.O||(b.O={}),b.O.focusable="false")}else d=g.Td(b.D);var e;if(e=b.H){if(e=ov(a,d,"class",e))pv(a,d,"class",e),a.g[e]=d}else if(e=b.W){for(var f=0;f<e.length;f++)a.g[e[f]]=d;pv(a,d,"class",e.join(" "))}if(e=b.V)c=ov(a,d,"child",e),null!=c&&d.appendChild(g.Ud(c));else if(e=b.K)for(var k=f=0;k<e.length;k++){var l=e[k];if(l)if(g.v(l))l=ov(a,d,"child",l),null!=l&&d.appendChild(g.Ud(l));
else if(l.element)d.appendChild(l.element);else{var m=l;l=lv(a,m,c);d.appendChild(l);m.Fa&&(m=kv(),l.id=m,l=window.document.createElementNS("http://www.w3.org/2000/svg","use"),l.setAttribute("class","ytp-svg-shadow"),l.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+m),Xd(d,l,f++))}}if(b=b.O){c=d;for(var n in b)e=b[n],null!=e&&pv(a,c,n,g.v(e)?ov(a,c,n,e):e)}return d};
g.qv=function(a){g.Yd(a.element)};
ov=function(a,b,c,d){return"{{"==d.substr(0,2)?(a.Ra[d]=[b,c],null):d};
pv=function(a,b,c,d){if("child"==c){g.Wd(b);if(!g.Ca(d)||g.Fa(d)&&g.v(d.D))d=[d];c=[];for(var e=0;e<d.length;e++){var f=d[e];if(null!=f){var k=f.nodeType;if(1==k||3==k)c.push(f);else if(g.Fa(f)&&g.v(f.D))c.push(lv(a,f));else if(f.element)c.push(f.element);else if(g.v(f)&&-1!=f.indexOf("\n"))for(f=f.split("\n"),k=0;k<f.length;k++)0<k&&c.push(g.Td("BR")),c.push(g.Ud(f[k]));else c.push(g.Ud(f))}}for(a=0;a<c.length;a++)b.appendChild(c[a])}else"style"==c?b.style.cssText=d?d:"":null===d?b.removeAttribute(c):
b.setAttribute(c,d.toString())};
g.R=function(a){g.mv.call(this,a);this.cd="";this.ea=!0;this.Z=[]};
g.rv=function(a,b){b?a.show():a.hide()};
g.tv=function(a){g.R.call(this,a);this.Y=new g.O;g.I(this,this.Y)};
g.vv=function(a,b,c,d){g.tv.call(this,a);this.priority=b;c&&g.uv(this,c);d&&this.jb(d)};
g.wv=function(a,b,c){a=void 0===a?{}:a;b=void 0===b?[]:b;c=void 0===c?!1:c;b.push("ytp-menuitem");"role"in a||(a.role="menuitem");c||"tabindex"in a||(a.tabindex="0");return{D:c?"a":"div",W:b,O:a,K:[{D:"div",H:"ytp-menuitem-label",V:"{{label}}"},{D:"div",H:"ytp-menuitem-content",V:"{{content}}"}]}};
g.uv=function(a,b){a.updateValue("label",b)};
zv=function(a,b){g.G.call(this);this.app=a;this.g=!0;this.o=null;this.I={};this.J={};this.A={};this.F=[];this.C={};this.B={};this.l=null;this.L=new window.Set;this.playerType=b;xv(this,"cueVideoById",this.Mu);xv(this,"loadVideoById",this.FD);xv(this,"cueVideoByUrl",this.rD);xv(this,"loadVideoByUrl",this.GD);xv(this,"playVideo",this.Gb);xv(this,"pauseVideo",this.Cb);xv(this,"stopVideo",this.sd);xv(this,"clearVideo",this.pD);xv(this,"getVideoBytesLoaded",this.yD);xv(this,"getVideoBytesTotal",this.zD);
xv(this,"getVideoLoadedFraction",this.kp);xv(this,"getVideoStartBytes",this.AD);xv(this,"cuePlaylist",this.qD);xv(this,"loadPlaylist",this.ED);xv(this,"nextVideo",this.Oh);xv(this,"previousVideo",this.nj);xv(this,"playVideoAt",this.Pu);xv(this,"setShuffle",this.setShuffle);xv(this,"setLoop",this.ID);xv(this,"getPlaylist",this.Fe);xv(this,"getPlaylistIndex",this.Nu);xv(this,"getPlaylistId",this.getPlaylistId);xv(this,"loadModule",this.Nh);xv(this,"unloadModule",this.oj);xv(this,"setOption",this.Vc);
xv(this,"getOption",this.Mb);xv(this,"getOptions",this.Mg);xv(this,"mute",this.mute);xv(this,"unMute",this.Ge);xv(this,"isMuted",this.isMuted);xv(this,"setVolume",this.setVolume);xv(this,"getVolume",this.Bb);xv(this,"seekTo",this.ob);xv(this,"getPlayerState",this.td);xv(this,"getPlaybackRate",this.Ub);xv(this,"setPlaybackRate",this.Jd);xv(this,"getAvailablePlaybackRates",this.Mh);xv(this,"getPlaybackQuality",this.mj);xv(this,"setPlaybackQuality",this.zl);xv(this,"getAvailableQualityLevels",this.jp);
xv(this,"getCurrentTime",this.getCurrentTime);xv(this,"getDuration",this.Tb);xv(this,"addEventListener",this.addEventListener);xv(this,"removeEventListener",this.removeEventListener);xv(this,"getVideoUrl",this.getVideoUrl);xv(this,"getDebugText",this.lj);xv(this,"getVideoEmbedCode",this.Ou);xv(this,"getVideoData",this.getVideoData);xv(this,"addCueRange",this.Lu);xv(this,"removeCueRange",this.Qu);xv(this,"setSize",this.JD);xv(this,"getApiInterface",this.uD);xv(this,"destroy",this.sD);xv(this,"showVideoInfo",
this.Su);xv(this,"hideVideoInfo",this.CD);xv(this,"getMediaReferenceTime",this.wD);xv(this,"getSphericalProperties",this.yl);xv(this,"setSphericalProperties",this.Al);yv(this,"getInternalApiInterface",this.vD);yv(this,"getAdState",this.tD);yv(this,"isNotServable",this.DD);yv(this,"getUpdatedConfigurationData",this.xD);yv(this,"sendAbandonmentPing",this.HD);yv(this,"setAutonav",this.Ru);yv(this,"setAutonavState",this.lp);yv(this,"startInteractionLogging",this.KD);yv(this,"channelSubscribed",this.nD);
yv(this,"channelUnsubscribed",this.oD);yv(this,"handleExternalCall",this.BD)};
xv=function(a,b,c){a.I[b]=function(b){for(var d=[],f=0;f<arguments.length;++f)d[f-0]=arguments[f];return c.apply(a,d)};
yv(a,b,c);a.F.push(b)};
Av=function(a,b,c){a.J[b]=function(b){for(var d=[],f=0;f<arguments.length;++f)d[f-0]=arguments[f];return c.apply(a,d)};
yv(a,b,c);a.F.push(b)};
yv=function(a,b,c){a.A[b]=function(b){for(var d=[],f=0;f<arguments.length;++f)d[f-0]=arguments[f];return c.apply(a,d)}};
Bv=function(a){a.l||(a.l={},g.Ma(a.l,a.I),g.Ma(a.l,a.J),a.l.addEventListener=(0,g.A)(a.JA,a),a.l.removeEventListener=(0,g.A)(a.KA,a));return a.l};
Cv=function(a,b,c){g.S(a.app.g.experiments,"web_player_gel_logging_killswitch")||(g.S(a.app.g.experiments,"web_player_gel_direct")?g.wu(b,c,void 0,void 0):a.ma("onLogToGel",{payload_name:b,payload:c}))};
Ev=function(a,b,c){b=g.od(Math.floor(b),0,100);(0,window.isFinite)(b)&&Dv(a.app,{volume:b,muted:a.isMuted()},c)};
Fv=function(a,b){Dv(a.app,{muted:!0,volume:a.Bb()},b)};
Gv=function(a,b){Dv(a.app,{muted:!1,volume:Math.max(5,a.Bb())},b)};
g.Hv=function(a){return(a=a.app.A.R)?a.l:null};
Iv=function(a,b,c){this.name=a;this.id=b;this.isDefault=c};
g.Jv=function(a){this.languageCode=a.languageCode;this.languageName=a.languageName||null;this.g=a.languageOriginal||null;this.id=a.id||null;this.isDefault=a.is_default||!1};
g.Kv=function(a){a=void 0===a?{}:a;this.L=a.formats||"";this.o=a.format||1;if(1==this.o)for(var b=this.L.split(","),c=0;c<b.length;c++){var d=(0,window.parseInt)(b[c],10);(0,window.isNaN)(d)||(this.o=Math.max(d,this.o))}this.l=a.languageCode||"";this.A=a.languageName;this.B=a.kind||"";this.C=a.name;this.Ca=a.id;this.N=a.is_servable;this.G=a.is_translateable;this.I=a.url||null;this.F=a.vss_id||"";this.isDefault=a.is_default;this.g=null;if(a=a.translationLanguage)this.g=new g.Jv(a)};
g.Lv=function(a){var b=a.A||"",c=[b];"asr"==a.B&&-1==b.indexOf("(")&&c.push(" ("+g.Q("YTP_ASR_SETTINGS_LABEL")+")");a.C&&c.push(" - "+a.C);a.g&&c.push(" >> "+a.g.languageName);return c.join("")};
Mv=function(a,b){this.id=a;this.ab=b;this.captionTracks=[];this.Lk=this.Fn=this.g=null;this.un="UNKNOWN"};
Nv=function(a,b,c){this.sampleRate=a||0;this.g=b||0;this.spatialAudioType=c||0};
Caa=function(a,b,c,d){this.displayName=a;this.vssId=b;this.languageCode=c;this.kind=void 0===d?"":d};
Qv=function(a,b,c,d,e,f,k,l,m,n,q,u){this.width=a;this.height=b;this.quality=f||Ov(a,b);this.g=g.Pv[this.quality];this.isAccelerated=!!k;this.fps=c||0;this.stereoLayout=!e||null!=d&&0!=d&&1!=d?0:e;this.projectionType=d?2==d&&2==e?3:d:0;(a=l)||(a=this.fps,b=this.projectionType,c=g.Pv[this.quality],a=0==c?g.Q("YTP_AUTO"):c+(2==b||3==b||4==b?"s":"p")+(55<a?"60":49<a?"50":39<a?"48":""));this.qualityLabel=a;this.l=m||"";this.primaries=n||"";this.o=!1!==q;this.A=u||0};
Rv=function(a){return 1280<=a.width||720<=a.height};
Sv=function(a){return"smpte2084"==a.l||"arib-std-b67"==a.l};
Ov=function(a,b){for(var c=Math.max(a,b),d=Math.min(a,b),e=Tv[0],f=0;f<Tv.length;f++){var k=Tv[f],l=g.Pv[k];if(c>=1.3*Math.floor(16*l/9)||d>=1.3*l)return e;e=k}return"tiny"};
Vv=function(a,b,c,d,e,f,k,l,m){this.id=a;this.containerType=0<=b.indexOf("/mp4")?1:0<=b.indexOf("/webm")?2:0<=b.indexOf("/x-flv")?3:0<=b.indexOf("/vtt")?4:0;this.mimeType=b;this.g=k||0;this.A=l||0;this.audio=void 0===c?null:c;this.video=void 0===d?null:d;this.ab=void 0===e?null:e;this.captionTrack=void 0===m?null:m;this.jc=void 0===f?null:f;this.l=Daa[Uv(this)]||"";this.o=null};
Uv=function(a){return a.id.split(";",1)[0]};
Wv=function(a){return"9"==a.l||"("==a.l||"9h"==a.l||"(h"==a.l};
Xv=function(a){return"9h"==a.l||"(h"==a.l};
g.Yv=function(a){return 1==a.containerType};
Zv=function(a){return"application/x-mpegURL"==a.mimeType};
$v=function(a){return 0<=a.indexOf("opus")||0<=a.indexOf("vorbis")||0<=a.indexOf("mp4a")};
aw=function(a){return 0<=a.indexOf("vp9")||0<=a.indexOf("vp8")||0<=a.indexOf("avc1")||0<=a.indexOf("av1")};
g.bw=function(a){return a.includes("vtt")||a.includes("text/mp4")};
cw=function(a,b,c,d,e,f,k){var l=new Nv;b in g.Pv||(b="small");d&&e?(e=(0,window.parseInt)(e,10),d=(0,window.parseInt)(d,10)):(e=g.Pv[b],d=Math.round(16*e/9));b=new Qv(d,e,0,null,void 0,b,f,void 0,void 0,void 0,k);a=(0,window.unescape)(a.replace(/&quot;/g,'"'));return new Vv(c,a,l,b)};
dw=function(a,b){this.experimentIds=a?a.split(","):[];this.flags=g.Yr(b||"");var c={};(0,g.C)(this.experimentIds,function(a){c[a]=!0});
this.experiments=c;this.g=!!c["9414740"]};
g.S=function(a,b){return"true"==a.flags[b]};
g.T=function(a,b){return(0,window.parseFloat)(a.flags[b])||0};
ew=function(a,b){var c=a.flags[b];return c?c.toString():""};
fw=function(a,b){this.g=a;this.l=b;this.o=0;Object.defineProperty(this,"timestampOffset",{get:this.NL,set:this.RL});Object.defineProperty(this,"buffered",{get:this.LL})};
Eaa=function(){this.length=0};
gw=function(a){this.activeSourceBuffers=this.sourceBuffers=[];this.g=a;this.l=window.NaN;this.o=0;Object.defineProperty(this,"duration",{get:this.ML,set:this.QL});Object.defineProperty(this,"readyState",{get:this.OL});this.g.addEventListener("webkitsourceclose",(0,g.A)(this.PL,this),!0)};
hw=function(){this.length=1};
iw=function(){this.buffered=new hw};
jw=function(a,b){return{start:function(b){return a[b]},
end:function(a){return b[a]},
length:a.length}};
kw=function(a,b){b=void 0===b?",":b;var c="";if(a)for(var d=0;d<a.length;d++)c+=a.start(d).toFixed(3)+"-"+a.end(d).toFixed(3)+b;return c};
lw=function(a,b){if(!a)return-1;try{for(var c=0;c<a.length;c++)if(a.start(c)<=b&&a.end(c)>=b)return c}catch(d){}return-1};
mw=function(a,b){var c=lw(a,b);return 0<=c?a.end(c):window.NaN};
nw=function(a){return a&&a.length?a.end(a.length-1):window.NaN};
ow=function(a,b){var c=mw(a,b);return 0<=c?c-b:0};
pw=function(a,b,c){for(var d=[],e=[],f=0;f<a.length;f++)a.end(f)<b||a.start(f)>c||(d.push(Math.max(b,a.start(f))-b),e.push(Math.min(c,a.end(f))-b));return jw(d,e)};
qw=function(a){this.g=a;this.l=null};
rw=function(a,b){this.g=a;this.l=b;this.o=0};
tw=function(){var a=g.z("yt.player.utils.videoElement_");a||(a=g.Td("VIDEO"),g.y("yt.player.utils.videoElement_",a,void 0));return a};
Faa=function(){var a=tw();return!!a.webkitSetPresentationMode&&g.Ea(a.webkitSupportsPresentationMode)&&!!a.webkitSupportsPresentationMode("picture-in-picture")};
uw=function(){var a=tw();try{var b=a.muted;a.muted=!b;return a.muted!=b}catch(c){}return!1};
vw=function(a){a=g.Rd("DIV",{"class":a});window.document.body.appendChild(a);var b="none"==Qh(a,"display");g.Yd(a);return b};
ww=function(a,b){this.g=a;this.l=!!b;this.o=!1};
xw=function(a){g.G.call(this);this.B=new g.Gt(this);g.I(this,this.B);this.l=this.g=null;a=this.o=a;a=a.aF?a.g.webkitMediaSourceURL:window.URL.createObjectURL(a);this.No=new ww(a,!0);this.A=null;Ht(this.B,this.o,["sourceopen","webkitsourceopen"],this.F);Ht(this.B,this.o,["sourceclose","webkitsourceclose"],this.C)};
Gaa=function(a,b){yw(a)?g.Zf(function(){return b(a)}):a.A=b};
zw=function(a,b){return"fakesb"==b?new iw:a.o.addSourceBuffer(b)};
yw=function(a){try{return"open"==a.o.readyState}catch(b){return!1}};
Aw=function(a){try{return"closed"==a.o.readyState}catch(b){return!0}};
Bw=function(a){return!!(a.g&&a.g.Yf()||a.l&&a.l.Yf())};
Cw=function(){return!(!window.MediaSource||!window.MediaSource.isTypeSupported)};
Dw=function(a){return a.g?!!a.g.supports(0):Cw()};
Fw=function(a){if(/opus/.test(a)&&(g.Ew&&!g.Fp("38")||g.Ew&&xs("crkey")))return!1;if(window.MediaSource&&window.MediaSource.isTypeSupported)return window.MediaSource.isTypeSupported(a);if(/webm/.test(a)&&!Es())return!1;'audio/mp4; codecs="mp4a.40.2"'==a&&(a='video/mp4; codecs="avc1.4d401f"');return!!tw().canPlayType(a)};
Haa=function(a,b,c){this.l=a;this.B=b;this.C=void 0===c?!1:c;this.A=!!g.z("cast.receiver.platform.canDisplayType");a=g.z("cast.receiver.platform.getValue");this.g=!this.A&&a&&a("max-video-resolution-vpx")||null;this.o={}};
Iw=function(a,b){var c=a.canPlayType?a.canPlayType(b):!1;Gw?c=c||Iaa[b]:2.2==Hw?c=c||Jaa[b]:zs()&&(c=c||Kaa[b]);return!!c};
Laa=function(a,b){if("0"==Uv(b))return!0;var c=b.mimeType;if(b.video&&(Sv(b.video)||"bt2020"==b.video.primaries)&&!(24<window.screen.pixelDepth||Jw(a,Kw))||!("338"!=Uv(b)||g.Ew&&g.Fp(53)))return!1;var d={};b.video&&(b.video.width&&(d[Lw.name]=b.video.width),b.video.height&&(d[Mw.name]=b.video.height),b.video.fps&&(d[Nw.name]=b.video.fps),b.video.l&&(d[Kw.name]=b.video.l),b.g&&(d[Ow.name]=8*b.g),"("==b.l&&(d[Pw.name]="subsample"));b.audio&&b.audio.g&&(d[Rw.name]=b.audio.g);for(var e in Sw){var f=Sw[e],
k;if(k=d[f.name])if(k=!(f==Kw&&0<b.mimeType.indexOf("vp09.02")))k=b,k=!(g.S(a.l,"html5_ignore_h264_framerate_cap")&&f==Nw&&("H"==k.l||"h"==k.l));if(k)if(Jw(a,f))if(a.g){if(a.g[f.name]<d[f.name])return!1}else c=c+"; "+f.name+"="+d[f.name];else if(Xv(b)&&f==Kw)return!1}!g.S(a.l,"disable_html5_cast_hdcp_filter2")&&a.A&&b.video&&1080<b.video.g&&b.jc&&(c+="; hdcp=2.2");return Tw(a,c)};
Uw=function(){var a=zs()&&!g.Fp(29),b=xs("google tv")&&xs("chrome")&&!g.Fp(30),c=Cs();return a||b||c?!1:!!(window.MediaSource||window.WebKitMediaSource||window.HTMLMediaElement&&window.HTMLMediaElement.prototype.webkitSourceAddId)};
g.Vw=function(){return!(!Iw(tw(),"application/x-mpegURL")&&!Uw())};
Jw=function(a,b){if(!(b.name in a.o)){var c=a.o,d=b.name;if(a.g)var e=!!a.g[b.name];else b==Ow&&g.S(a.l,"html5_ignore_bad_bitrates")&&Tw(a,'video/webm; codecs="vp9"; width=3840; height=2160; bitrate=2000000')&&!Tw(a,'video/webm; codecs="vp9"; width=3840; height=2160; bitrate=20000000')?e=!1:(b.video?(e='video/webm; codecs="vp9"',Tw(a,e)||(e='video/mp4; codecs="avc1.4d401e"')):(e='audio/webm; codecs="opus"',Tw(a,e)||(e='audio/mp4; codecs="mp4a.40.2"')),e=Tw(a,e+"; "+b.name+"="+b.valid)&&!Tw(a,e+"; "+
b.name+"="+b.Bg));c[d]=e}return a.o[b.name]};
Tw=function(a,b){return a.A?window.cast.receiver.platform.canDisplayType(b):Fw(b)};
Ww=function(a){this.Ve=a};
Xw=function(a,b){if(b)return Ps();for(var c={},d=tw(),e=g.p(a),f=e.next();!f.done;f=e.next())if(f=f.value,Iw(d,f.ze().mimeType)){var k=f.Ve.video.quality;c[k]&&2!=c[k].ze().containerType||(c[k]=f)}var l=[];c.auto&&l.push(c.auto);(0,g.C)(Tv,function(a){(a=c[a])&&l.push(a)});
return l.length?Qs(l):Ps()};
Yw=function(a,b,c,d){this.l=a||0;this.g=b||0;this.o=c;this.reason=d};
Zw=function(a,b){return a.l==b.l&&a.g==b.g&&a.o==b.o&&a.reason==b.reason};
$w=function(a,b,c,d){return new Yw(g.Pv[a]||0,g.Pv[b]||0,c,d)};
ax=function(a){var b=g.Pv.auto;return a.l==b&&a.g==b};
cx=function(a,b){if(b.o&&ax(b))return bx;if(b.o||ax(a))return b;if(a.o||ax(b))return a;var c=a.l&&b.l?Math.max(a.l,b.l):a.l||b.l,d=a.g&&b.g?Math.min(a.g,b.g):a.g||b.g;c=Math.min(c,d);return c==a.l&&d==a.g?a:new Yw(c,d,!1,d==a.g?a.reason:b.reason)};
dx=function(a){var b=a.g||a.l;return kc(Maa,function(a){return g.Pv[a]==b})||"auto"};
ex=function(a,b){var c=g.Pv[b];return a.l<=c&&(!a.g||a.g>=c)};
fx=function(a,b,c,d,e,f,k,l){this.duration=c;this.endTime=b+c;this.ingestionTime=d;this.oa=a;this.sourceURL=e;this.startTime=b;this.l=k||0;this.range=f||null;this.g=l||!1};
g.gx=function(){this.segments=[]};
hx=function(a,b){if(0!=b.length){var c=g.db(b);if(0==a.segments.length)a.segments=c;else{var d=a.segments.length?g.Oa(a.segments).endTime:0,e=c[0].oa-a.kb();1<e&&Wa(a.segments);for(e=0<e?0:-e+1;e<c.length;e++){var f=c[e];f.startTime=d;f.endTime=f.startTime+f.duration;d+=c[e].duration;a.segments.push(c[e])}}}};
ix=function(a,b){if(b>a.kb())a.segments=[];else{var c=g.Qa(a.segments,function(a){return a.oa>=b},a);
0<c&&a.segments.splice(0,c)}};
jx=function(a,b,c,d,e){e=void 0===e?!1:e;this.data=a;this.offset=b;this.size=c;this.type=d;this.g=e?0:8;this.dataOffset=this.offset+this.g;this.l=e};
kx=function(a){var b=a.data.getUint8(a.offset+a.g);a.g+=1;return b};
lx=function(a){var b=a.data.getInt32(a.offset+a.g);a.g+=4;return b};
mx=function(a){var b=a.data.getUint32(a.offset+a.g);a.g+=4;return b};
nx=function(a){var b=a.data;var c=a.offset+a.g;b=4294967296*b.getUint32(c)+b.getUint32(c+4);a.g+=8;return b};
ox=function(a){var b=[];do{var c=a.data.getUint8(a.offset+a.g);b.push(c);a.g++}while(0!=c);b.pop();return String.fromCharCode.apply(String,b)};
px=function(a){this.data=new window.DataView(new window.ArrayBuffer(a));this.g=0};
qx=function(a,b){a.data.setInt32(a.g,b);a.g+=4};
rx=function(a,b){for(var c=0;c+4<=b.size;)qx(a,b.data.getUint32(b.offset+c)),c+=4;for(;c<b.size;)a.data.setUint8(a.g++,b.data.getUint8(b.offset+c++))};
sx=function(a,b,c,d,e,f){this.Qd=a;this.durationSecs=b;this.context=c;this.identifier=d;this.event=e;this.g=f};
ux=function(a,b,c){this.g=a;this.uri=b||"http://youtube.com/streaming/metadata/segment/102015";this.A=void 0===c?null:c;this.l=tx(this,"Sequence-Number");this.I=tx(this,"Segment-Count");this.J=this.g["Segment-Durations-Ms"]||"";this.ingestionTime=tx(this,"Ingestion-Walltime-Us")/1E6;this.o=(tx(this,"First-Frame-Time-Us")+tx(this,"First-Frame-Uncertainty-Us"))/1E6;this.G=tx(this,"Target-Duration-Us")/1E6;this.F="T"==this.g["Overlayed-With-Slate"];this.C="T"==this.g["Stream-Finished"];this.B="T"==this.g.Streamable};
tx=function(a,b){return(0,window.parseInt)(a.g[b],10)||0};
vx=function(a,b,c,d,e){this.l=a||0;this.pitch=b||0;this.yaw=c||0;this.roll=d||0;this.g=e;e.getUint32(4)};
wx=function(a){var b={};a=a.split("\r\n");for(var c=0;c<a.length;c++){if(0==a[c].length)return b;var d=a[c].match(/([^:]+):\s+([\S\s]+)/);null!=d&&(b[d[1]]=d[2])}return null};
Paa=function(a,b,c){var d=xx(a,0,1836019558);if(!d)return null;var e=xx(a,d.dataOffset,1835427940),f=xx(a,d.dataOffset,1953653094),k=Naa(a,d.dataOffset);if(!e||!f)return null;var l=xx(a,f.dataOffset,1952868452),m=xx(a,f.dataOffset,1953658222),n=xx(a,f.dataOffset,1952867444);if(!l||!m||!n)return null;var q=xx(a,f.dataOffset,1935763823),u=xx(a,f.dataOffset,1935763834),w=0;if(q){w=lx(q);var H=lx(q);if(0!=w||1!=H)return null;w=lx(q)}H=xx(a,f.dataOffset,1935828848);f=xx(a,f.dataOffset,1936158820);var F=
lx(l),M=lx(l),Z=F&2,pa=F&1?nx(l):0,$a=Z?lx(l):0,sb=F&8?lx(l):0,le=F&16?lx(l):0,Mh=F&32?lx(l):0;F=lx(m);var Uf=F&1,Nh=F&4,Oh=F&256;l=F&512;var ZE=F&1024,Qw=F&2048;F=lx(m);var Vf=Uf?lx(m):0,$E=Nh?lx(m):0;Uf=[];for(var wT=[],aF=[],bF=[],xT=0,Pd=0,fr=0;fr<F;fr++){var Oaa=Oh?lx(m):sb;l&&Uf.push(lx(m));var xn=Mh;Nh&&0==fr?xn=$E:ZE&&(xn=lx(m));wT.push(xn);xn=Qw?lx(m):0;0==fr&&(xT=xn);aF.push(Pd+xn);bF.push(fr);Pd+=Oaa}1<=Math.abs(Pd-b)&&c({flaw:"segDurMismatch",dts:Pd.toFixed(),seg:b.toFixed()});g.ob(bF,
function(a,b){return aF[a]-aF[b]});
c=[];for(Pd=0;Pd<F;Pd++)c[bF[Pd]]=Pd;Pd=Z?4:0;Mh=16*F;Nh=xk(k,function(a,b){return a+b.size},0);
Oh=68+Pd+n.size+Mh+(q?q.size:0)+(u?u.size:0)+(H?H.size:0)+(f?f.size:0)+Nh;sb=Oh-d.size;m=new px(Oh+d.offset);d.offset&&m.vk(a,0,d.offset);qx(m,Oh);qx(m,1836019558);rx(m,e);qx(m,Oh-24-Nh);qx(m,1953653094);qx(m,16+Pd);qx(m,1952868452);qx(m,131072|(Z?2:0));qx(m,M);Z&&qx(m,$a);rx(m,n);qx(m,20+Mh);qx(m,1953658222);qx(m,16781057);qx(m,F);qx(m,pa+Vf+sb);for(a=Pd=0;a<F;a++)e=c[a],d=Math.round(b*e/F),e=Math.round(b*(e+1)/F)-d,d=d-Pd+xT,qx(m,e),qx(m,l?Uf[a]:le),qx(m,wT[a]),qx(m,d),Pd+=e;q&&(qx(m,q.size),qx(m,
1935763823),qx(m,0),qx(m,1),qx(m,w+sb));u&&rx(m,u);H&&rx(m,H);f&&rx(m,f);b=g.p(k);for(k=b.next();!k.done;k=b.next())rx(m,k.value);return m.data.buffer};
yx=function(a,b){var c=xx(a.data,a.dataOffset,1952868452),d=xx(a.data,a.dataOffset,1953658222),e=lx(c);lx(c);e&2&&lx(c);c=e&8?lx(c):0;var f=lx(d),k=f&1;e=f&4;var l=f&256,m=f&512,n=f&1024;f&=2048;var q=mx(d);k&&lx(d);e&&lx(d);for(var u=k=0;u<q;u++){var w=l?lx(d):c;m&&lx(d);e&&0==u||!n||lx(d);f&&lx(d);k+=w}return k/b};
Bx=function(a){a=new window.DataView(a.buffer,a.byteOffset,a.byteLength);return(a=g.zx(a,1836476516))?Ax(a):window.NaN};
Qaa=function(a){var b=g.zx(a,1937011556);if(!b)return null;b=xx(a,b.dataOffset+8,1635148593);if(!b)return null;var c=xx(a,b.dataOffset+78,1936995172),d=xx(a,b.dataOffset+78,1937126244);if(!d)return null;b=null;if(c)switch(c.skip(4),kx(c)){default:b=0;break;case 1:b=2;break;case 2:b=1;break;case 3:b=255}var e=c=null,f=null;if(d=xx(a,d.dataOffset,1886547818)){var k=xx(a,d.dataOffset,1886546020),l=xx(a,d.dataOffset,2037673328);if(!l&&(l=xx(a,d.dataOffset,1836279920),!l))return null;k&&(k.skip(4),c=lx(k)/
65536,f=lx(k)/65536,e=lx(k)/65536);a=new window.DataView(l.data.buffer,l.dataOffset,l.size-8);return new vx(b,c,f,e,a)}return null};
xx=function(a,b,c){for(;Cx(a,b);){var d=Dx(a,b);if(d.type==c)return d;b+=d.size}return null};
g.zx=function(a,b){for(var c=0;Cx(a,c);){var d=Dx(a,c);if(d.type==b)return d;c=Ex(d.type)?c+8:c+d.size}return null};
Fx=function(a,b){if(a.data.getUint8(a.dataOffset)){var c=a.data,d=a.dataOffset+4;c.setUint32(d,Math.floor(b/4294967296));c.setUint32(d+4,b&4294967295)}else a.data.setUint32(a.dataOffset+4,b)};
Gx=function(a){if(a.data.getUint8(a.dataOffset)){var b=a.data;a=a.dataOffset+4;return 4294967296*b.getUint32(a)+b.getUint32(a+4)}return a.data.getUint32(a.dataOffset+4)};
Dx=function(a,b){var c=a.getUint32(b),d=a.getUint32(b+4);return new jx(a,b,c,d)};
Ax=function(a){var b=a.data.getUint8(a.dataOffset)?20:12;return a.data.getUint32(a.dataOffset+b)};
Hx=function(a){a=new jx(a.data,a.offset,a.size,a.type,a.l);var b=kx(a);a.skip(7);var c=mx(a);if(0==b){b=mx(a);var d=mx(a)}else b=nx(a),d=nx(a);a.skip(2);var e=a.data.getUint16(a.offset+a.g);a.g+=2;for(var f=[],k=[],l=0;l<e;l++){var m=mx(a);f.push(m);k.push(mx(a));a.skip(4)}return{Aq:c,FA:b,Os:d,eq:f,Lj:k}};
Ix=function(a){return a.data.getUint32(a.dataOffset+8)};
Cx=function(a,b){if(8>a.byteLength-b)return!1;var c=a.getUint32(b);if(8>c||a.byteLength-b<c)return!1;c=a.getUint32(b+4);if(1635148593==c||1635148611==c||1937126244==c||1936995172==c)return!0;for(c=4;8>c;c++){var d=a.getInt8(b+c);if(97>d||122<d)return!1}return!0};
Ex=function(a){return 1836019558==a||1836019574==a||1835297121==a||1835626086==a||1937007212==a||1953653094==a||1953653099==a};
Jx=function(a){return(a=xx(a,0,1836019558))?a.offset+a.size:null};
Kx=function(a,b){for(var c=xx(a,0,b);c;){var d=c;d.type=1936419184;d.data.setUint32(d.offset+4,1936419184);c=xx(a,c.offset+c.size,b)}};
Naa=function(a,b){for(var c=[];Cx(a,b);){var d=Dx(a,b);1886614376==d.type&&c.push(d);b+=d.size}return c};
Lx=function(a,b){for(var c=0,d=[];Cx(a,c);){var e=Dx(a,c);e.type==b&&d.push(e);c=Ex(e.type)?c+8:c+e.size}return d};
g.Mx=function(a,b){this.start=a;this.end=b;this.length=b-a+1};
Nx=function(a){a=a.split("-");return 2==a.length&&(a=new g.Mx((0,window.parseInt)(a[0],10),(0,window.parseInt)(a[1],10)),!(0,window.isNaN)(a.start)&&!(0,window.isNaN)(a.end)&&!(0,window.isNaN)(a.length)&&0<a.length)?a:null};
Ox=function(a,b){return new g.Mx(a,a+b-1)};
Qx=function(a,b,c,d,e,f,k,l,m){this.g=b;this.range=c;this.type=a;this.oa=0<=d?d:-1;this.startTime=e||0;this.duration=f||0;this.l=k||0;this.Ja=0<=l?l:this.range?this.range.length:window.NaN;this.C=!!m;this.range?(this.o=this.l+this.Ja==this.range.length,this.B=this.startTime+this.duration*this.l/this.range.length,this.F=this.duration*this.Ja/this.range.length,this.A=this.B+this.F):(this.o=0!=this.Ja,Px(this));this.G=[]};
Px=function(a){a.B=a.startTime;a.F=a.duration;a.A=a.B+a.F};
Raa=function(a,b,c){var d=!(!b||b.g!=a.g||b.type!=a.type||b.oa!=a.oa);return c?d&&(a.range&&b.range?b.range.end==a.range.end:b.range==a.range)&&b.l+b.Ja==a.l+a.Ja:d};
Rx=function(a){return 1==a.type||2==a.type};
Sx=function(a,b,c){return c||a.g==b.g?a.range&&b.range?a.range.start+a.l+a.Ja==b.range.start+b.l:a.oa==b.oa?a.l+a.Ja==b.l:a.oa+1==b.oa&&0==b.l&&a.o:!1};
Tx=function(a,b){return Sx(a,b)||1E-6>=Math.abs(a.A-b.B)||a.oa+1==b.oa&&0==b.l&&a.o?!0:!1};
Saa=function(a){1==a.length||(0,g.jo)(a,function(a){return!!a.range});
for(var b=1;b<a.length;b++);b=a[a.length-1];return new g.Mx(a[0].range.start+a[0].l,b.range.start+b.l+b.Ja-1)};
Vx=function(a){var b="";g.Zb(Ux(a),function(a,d){b+=d+"="+a+","});
return b.slice(0,-1)};
Ux=function(a){var b={};b.itag=Uv(a.g.info);b.seg=String(a.oa);a.range&&(b.range=""+(a.range.start+a.l)+"-"+(a.range.start+a.l+a.Ja-1));b.time=""+a.B.toFixed(1)+"-"+(a.B+a.F).toFixed(1);b.off=String(a.l);b.len=String(a.Ja);a.o&&(b.end="1");a.C&&(b.eos="1");return b};
Wx=function(a,b,c,d){a=new Qx(a.type,a.g,a.range,a.oa,a.startTime,a.duration,b,c,d&&a.C);a.o=d;return a};
Xx=function(a,b){a.oa=b.l;b.C&&(a.C=b.C)};
Yx=function(a,b){a.oa=b.oa;if(a.startTime!=b.startTime||a.duration!=b.duration)a.startTime=b.startTime,a.duration=b.duration,Px(a)};
Zx=function(a,b){this.l=a;this.g=0;this.o=b||0};
$x=function(a){return a.g>=a.l.byteLength};
ey=function(a,b){var c=new Zx(b);if(!ay(c,[408125543,374648427,174,224]))return!1;c=by(c);if(cy(c,a)){for(var d=0;a;)a>>>=8,d++;var e=c.o+c.g-d;d=dy(c,!0)+d-1;var f;f||(f=Math.ceil(Math.log(d+2)/Math.log(2)/7));var k=1<<8-f;for(c=[];c.length<f-1;)c.unshift(d%256),d=Math.floor(d/256);c.unshift(d|k);b.setUint8(e,236);for(f=0;f<c.length;f++)b.setUint8(e+1+f,c[f]);return!0}return!1};
gy=function(a){fy(new Zx(a));ey(30320,a)&&ey(21432,a)};
Taa=function(a){var b=new Zx(a);fy(b);if(ay(b,[408125543,374648427,174,224]))b=by(b);else return null;for(var c=a=null;!$x(b);){var d=dy(b,!1);if(21432==d)switch(hy(b)){default:a=0;break;case 1:a=1;break;case 3:a=2;break;case 15:a=255}else 30320==d?c=by(b):iy(b)}if(!c)return null;for(var e,f=d=b=null;!$x(c);)switch(dy(c,!1)){case 30321:if(3!=hy(c))return null;break;case 30324:b=jy(c);break;case 30323:f=jy(c);break;case 30325:d=jy(c);break;case 30322:e=dy(c,!0);e=ky(c,e);e=new window.DataView(e.buffer,
e.byteOffset,e.byteLength);break;default:iy(c)}return e?new vx(a,b,f,d,e):null};
by=function(a){var b=dy(a,!0),c=a.l.byteOffset+a.g;c=new window.DataView(a.l.buffer,c,Math.min(b,a.l.buffer.byteLength-c));c=new Zx(c,a.o+a.g);a.g+=b;return c};
hy=function(a){for(var b=dy(a,!0),c=ly(a),d=1;d<b;d++)c=256*c+ly(a);return c};
jy=function(a){var b=dy(a,!0),c=0;4==b?c=a.l.getFloat32(a.g):8==b&&(c=a.l.getFloat64(a.g));a.g+=b;return c};
iy=function(a){var b=dy(a,!0);a.g+=b};
fy=function(a){var b=a.g;a.g=0;var c=!1;cy(a,440786851)&&(a.g=0,cy(a,408125543)&&(c=!0));a.g=b;return c};
my=function(a){var b=a.g;a.g=0;var c=1E6;ay(a,[408125543,357149030,2807729])&&(c=hy(a));a.g=b;return c};
Uaa=function(a,b){var c=a.g;a.g=0;if(!ny(a)||!cy(a,160))return a.g=c,window.NaN;dy(a,!0);var d=a.g;if(!cy(a,161))return a.g=c,window.NaN;dy(a,!0);ly(a);var e=ly(a)<<8|ly(a);a.g=d;if(!cy(a,155))return a.g=c,window.NaN;d=hy(a);a.g=c;return(e+d)*b/1E9};
ny=function(a){if(!oy(a)||!cy(a,524531317))return!1;dy(a,!0);return!0};
oy=function(a){if(fy(a)){if(!cy(a,408125543))return!1;dy(a,!0)}return!0};
ay=function(a,b){for(var c=0;c<b.length;c++){if(!cy(a,b[c]))return!1;c!=b.length-1&&dy(a,!0)}return!0};
cy=function(a,b,c){c=void 0===c?!1:c;if($x(a))return!1;for(var d=a.g;dy(a,!1)!=b;)if(iy(a),d=a.g,$x(a))return!1;c&&(a.g=d);return!0};
dy=function(a,b){var c=ly(a);if(1==c){for(var d=c=0;7>d;d++)c=256*c+ly(a);return c}d=128;for(var e=0;6>e&&d>c;e++)c=256*c+ly(a),d*=128;return b?c-d:c};
ly=function(a){return a.l.getUint8(a.g++)};
ky=function(a,b){var c=new window.Uint8Array(a.l.buffer,a.l.byteOffset+a.g,b);a.g+=b;return c};
py=function(a,b,c,d,e){this.info=a;this.g=b;this.range=c;this.o=null;this.A=d;this.l=e};
qy=function(a){return a.range?new window.DataView(a.g,a.range.start,a.range.length):new window.DataView(a.g)};
ry=function(a){if(a.g.slice)return new window.Uint8Array(a.g.slice(a.range.start,a.range.end+1));a=new window.Uint8Array(a.g,a.range.start,a.range.end+1);return new window.Uint8Array(a)};
sy=function(a,b){b=Math.min(b,a.info.Ja);var c=new Qx(a.info.type,a.info.g,a.info.range,a.info.oa,a.info.startTime,a.info.duration,a.info.l,b,!1);c.o=!1;var d=Ox(a.range.start,b);c=new py(c,a.g,d,a.A,a.l);var e=new Qx(a.info.type,a.info.g,a.info.range,a.info.oa,a.info.startTime,a.info.duration,a.info.l+b,a.info.Ja-b,a.info.C);e.o=a.info.o;d=new g.Mx(d.end+1,a.range.end);d=new py(e,a.g,d,a.A,!1);return[c,d]};
ty=function(a){if(g.Yv(a.info.g.info)){var b=a.info.g.g;for(var c=window.NaN,d=window.NaN,e=0,f=new window.DataView(a.g);Cx(f,e);){var k=Dx(f,e);1936286840==k.type?d=Ix(k):1836476516==k.type?d=Ax(k):1952867444==k.type&&(0,window.isNaN)(c)&&(c=Gx(k));e=Ex(k.type)?e+8:e+k.size}!d&&b&&(d=Bx(b));b=c/d}else b=new Zx(qy(a)),c=a.l?b:new Zx(new window.DataView(a.info.g.g.buffer)),d=my(c),c=b.g,b.g=0,ny(b)?cy(b,231)?(d=hy(b)*d/1E9,b.g=c,b=d):(b.g=c,b=window.NaN):(b.g=c,b=window.NaN);return b||a.info.B};
uy=function(a,b){if(g.Yv(a.info.g.info)){for(var c=a.info.g.g,d=new window.DataView(a.g),e=window.NaN,f=window.NaN,k=0;Cx(d,k);){var l=Dx(d,k);(0,window.isNaN)(e)&&(1936286840==l.type?e=Ix(l):1836476516==l.type&&(e=Ax(l)));if(1952867444==l.type){!e&&c&&(e=Bx(c));var m=Gx(l);(0,window.isNaN)(f)&&(f=Math.round(b*e)-m);Fx(l,m+f)}k=Ex(l.type)?k+8:k+l.size}return!0}c=new Zx(new window.DataView(a.g));e=a.l?c:new Zx(new window.DataView(a.info.g.g.buffer));d=b;f=my(e);e=c.g;c.g=0;if(ny(c)&&cy(c,231))if(k=
dy(c,!0),d=Math.floor(1E9*d/f),Math.ceil(Math.log(d)/Math.log(2)/8)>k)c=!1;else{for(f=k-1;0<=f;f--)c.l.setUint8(c.g+f,d&255),d>>>=8;c.g=e;c=!0}else c=!1;return c};
vy=function(a){if(g.Yv(a.info.g.info)){var b=0;var c=new window.DataView(a.g);c=Lx(c,1936286840);c=g.p(c);for(var d=c.next();!d.done;d=c.next())d=Hx(d.value),b+=d.Lj[0]/d.Aq;b=b||window.NaN;if(!(0<=b))a:{b=a.info.g.g;c=0;d=new window.DataView(a.g);for(var e,f=0;Cx(d,c);){var k=Dx(d,c);if(1836476516==k.type)e=Ax(k);else if(1836019558==k.type){!e&&b&&(e=Bx(b));if(!e){b=window.NaN;break a}var l=xx(k.data,k.dataOffset,1953653094);f+=yx(l,e)}c=Ex(k.type)?c+8:c+k.size}b=f||window.NaN}}else e=new Zx(new window.DataView(a.g)),
b=a.l?e:new Zx(new window.DataView(a.info.g.g.buffer)),b=Uaa(e,my(b));return b||a.info.F};
wy=function(a){var b;if(g.Yv(a.info.g.info)){var c=qy(a);if(b=xx(c,0,1701671783)){b.skip(4);c=ox(b);ox(b);mx(b);mx(b);mx(b);mx(b);var d=new window.Uint8Array(new window.ArrayBuffer(b.size-b.g));var e=new window.Uint8Array(b.data.buffer,b.offset+b.g,b.size-b.g);d.set(e);b.g=b.size;d=d.buffer;b=b.offset;d=String.fromCharCode.apply(String,new window.Uint8Array(d));c=(d=wx(d))?new ux(d,c,b):null}else c=null}else c=new Zx(qy(a)),b=c.g,c.g=0,d=null,ay(c,[408125543,307544935,29555,26568,17543])&&(d=dy(c,
!0),d=String.fromCharCode.apply(String,ky(c,d)),d=(d=wx(d))?new ux(d,null):null),c.g=b,c=d;a.o=c};
g.yy=function(){this.Ix=this.vx=!1;this.ak=2;this.B=20971520;this.C=8388608;this.o=window.NaN;this.ia=3145728;this.R=62914560;this.la=10485760;this.Fk=this.ra=0;this.I=window.NaN;this.oe=0;this.Oe=this.pr=2;this.Ga=3;this.vf=!1;this.lz=2;this.Ea=25;this.T=2097152;this.Xy=1048576;this.Y=!1;this.J=1800;this.ib=5;this.ub=10;this.Oc=15;this.Pc=1;this.l=1.15;this.A=1.05;this.Nk=8;this.aw=!0;var a;!(a=xs("xboxone"))&&(a=Gs())&&(a=/WebKit\/([0-9]+)/.exec(g.Xb),a=!(a&&602<=(0,window.parseInt)(a[1],10)));
this.Vz=a||zs();this.Nc=!1;this.Sq=!0;this.Ot=this.F=!1;this.Pq=.8;this.Mc=!1;this.Uy=!0;this.Z=this.mg=!1;this.Yj=25;this.Zz=this.Vy=!1;this.na=6;this.hh=this.ca=!1;this.nd=.5;this.Ne=this.Ia=!1;this.tb=0;this.xf=this.du=!1;this.Nb=0;this.Vj=!1;this.jr=2;this.N=this.Ua=this.lg=!1;this.L=.5;this.Ta=2;this.Ra=this.ar=0;this.fr=1.5;this.ir=this.dd=.5;this.Ma=this.Xj=!1;this.Ya=15;this.Za=1;this.Rq=this.bw=this.va=this.ig=!1;this.Zj=0;this.G=this.Uq=this.yf=this.Ry=this.gh=this.cd=this.Xq=this.Fy=this.ry=
this.tx=!1;this.eh=1;this.fh=0;this.kg=this.Yq=this.X=this.g=!1;this.bc=0;this.mr=this.Wj=this.Me=this.qr=this.fa=this.Bc=this.gr=this.qb=this.Zq=this.yb=this.Ob=this.dc=this.wf=!1;this.jk=0;this.kr=this.Qc=this.jg=this.cu=this.ea=!1};
Vaa=function(a,b){1080<b.video.g&&!a.vx&&(a.B=36700160,a.C=5242880,a.ia=10485760,a.T=4194304,a.vx=!0);2160<b.video.g&&!a.Ix&&(a.B=104857600,a.I=13107200,a.Ix=!0);a.Xy=Math.max(65536,Math.min(a.T,5*b.g))};
Waa=function(){this.A=this.g=this.l=this.o=this.B=0};
zy=function(a,b){a[b]||(a[b]=new Waa);return a[b]};
g.Ay=function(a){this.A=a;this.B=this.l=this.C="";this.g={};this.o=""};
Cy=function(a){By(a);return a.B};
Dy=function(a){By(a);return ac(a.g,function(a){return null!==a})};
Fy=function(a){By(a);if("/videoplayback"!=a.l){var b=a.clone();b.set("playerfallback","1");return b}var c=a.vb();b=new g.Ho(c);if(Ey){var d=a.get("fvip");a=(0,window.decodeURIComponent)(a.get("mn")||"").split(",");if(d&&a&&1<a.length&&a[1])return c=b.g.replace(/^[^.]*/,""),g.Jo(b,"r"+d+"---"+a[1]+c),b=new g.Ay(b.toString()),b.set("fallback_count","1"),b}d=b.g.match("\\.a1\\.googlevideo\\.com$");b.g.match("\\.googlevideo\\.com$")?(g.Jo(b,"redirector.googlevideo.com"),c=b.toString()):b.g.match("r[1-9].*\\.c\\.youtube\\.com$")?
(g.Jo(b,"www.youtube.com"),c=b.toString()):c=iv(c);b=new g.Ay(c);b.set("cmo=pf","1");d&&b.set("cmo=td","a1.googlevideo.com");return b};
By=function(a){if(a.A){if(!ev(a.A))throw Error("Untrusted URL: "+a.A);var b=g.So(a.A);a.C=b.A;a.B=b.g+(null!=b.B?":"+b.B:"");var c=b.l;if(0==c.indexOf("/videoplayback"))a.l="/videoplayback",c=c.substr(14);else if(0==c.indexOf("/api/manifest")){var d=c.indexOf("/",12),e=c.indexOf("/",d+1);0<d&&0<e?(a.l=c.substr(0,e),c=c.substr(e+1)):(a.l=c,c="")}else a.l=c,c="";d=a.g;a.g=Gy(c);g.Ma(a.g,Hy(b.o.toString()));g.Ma(a.g,d);"index.m3u8"==a.g.file&&(delete a.g.file,a.l+="/file/index.m3u8");a.A="";a.o=""}};
Xaa=function(a){By(a);var b=a.C+(a.C?"://":"//")+a.B+a.l;if(Dy(a)){var c=[];g.Zb(a.g,function(a,b){null!==a&&c.push(b+"="+a)});
b+="?"+c.join("&")}return b};
Gy=function(a){a=a.split("/");var b=0;a[0]||b++;for(var c={};b<a.length;b+=2)a[b]&&Iy(c,a[b],a[b+1]);return c};
Hy=function(a){a=a.split("&");for(var b={},c=0;c<a.length;c++){var d=a[c],e=d.indexOf("=");0<e?Iy(b,d.substr(0,e),d.substr(e+1)):d&&(b[d]="")}return b};
Iy=function(a,b,c){if("cmo"==b){var d;0<=(d=c.indexOf("="))?(b="cmo="+c.substr(0,d),c=c.substr(d+1)):0<=(d=c.indexOf("%3D"))&&(b="cmo="+c.substr(0,d),c=c.substr(d+3))}a[b]=c};
Jy=function(a){this.g=a;this.l={};this.o=""};
Yaa=function(a,b){var c=b.indexOf("?");if(0<c){var d=Hy(b.substr(c+1));g.Zb(d,function(a,b){this.set(b,a)},a);
b=b.substr(0,c)}c=Gy(b);g.Zb(c,function(a,b){this.set(b,a)},a)};
Zaa=function(a){var b=a.g.vb(),c=[];g.Zb(a.l,function(a,b){c.push(b+"="+a)});
if(!c.length)return b;var d=c.join("&");a=Dy(a.g)?"&":"?";return b+a+d};
Ky=function(a,b){var c=new g.Ay(b),d=c.get("req_id");d&&a.set("req_id",d);g.Zb(a.l,function(a,b){c.set(b,null)});
return c};
$aa=function(a){this.B=a.clone();this.o=a;this.l=null;this.A=this.g=0};
My=function(a,b,c){var d=zy(c,Cy(a.o));if(d.l>=b.jr||1<=d.g)if(a=Ly(a),c=zy(c,Cy(a)),c.l+c.g<=d.l+d.g)return!0;return!1};
g.Ny=function(a,b){var c=b?Ly(a):a.o;return new Jy(c)};
Ly=function(a){a.l||(a.l=Fy(a.B));return a.l};
Oy=function(a){return 1<a.g?a.A+1E3*Math.pow(1.6,a.g-1)<g.P():!0};
g.Py=function(a,b,c){b.g===a.o&&(a.o=Ky(b,c));b.g===a.l&&(a.l=Ky(b,c))};
Qy=function(a,b){this.l=a[0].g.A;this.A=b||"";this.g=a;this.range=this.g[0].range&&0<this.g[0].Ja?Saa(this.g):null;this.B=this.o=window.NaN;this.C=this.requestId=null};
Ry=function(a){return Rx(a.g[0])};
Sy=function(a){return 4==a.g[a.g.length-1].type};
g.Ty=function(a,b,c,d){/http[s]?:\/\//.test(a.A)?b=new Jy(new g.Ay(a.A)):(b=null===a.C?My(a.l,b,c):a.C,b=g.Ny(a.l,b),a.A&&Yaa(b,a.A));(d=d||a.range)&&b.set("range",d.toString());a.requestId&&b.set("req_id",a.requestId);(0,window.isNaN)(a.o)||b.set("headm",a.o.toString());(0,window.isNaN)(a.B)||b.set("mffa",a.B+"ms");return b};
Uy=function(a){if(a.range)return a.range.length;a=a.g[0];return Math.round(a.F*a.g.info.g)};
aba=function(a,b,c){return a.range?new g.Mx(a.range.start+b,a.range.end):Ox(b,c)};
Vy=function(a,b,c){this.index=null;this.info=b;this.initRange=c||null;this.g=null;this.C=!1;this.B=null;this.G=0;this.A=new $aa(a);this.o=null;this.I=window.NaN};
Wy=function(a,b){a.info&&a.info.video&&4==a.info.video.projectionType&&!a.o&&(g.Yv(a.info)?a.o=Qaa(b):2==a.info.containerType&&(a.o=Taa(b)))};
Xy=function(a,b,c,d,e,f){f=void 0===f?0:f;Vy.call(this,a,b,d);this.index=e||new g.gx;this.F=f;this.L=c;this.J=!0;if(this.l=!c)this.C=!0};
Yy=function(a,b,c){this.segments=[];this.l=a;this.A=void 0===b?0:b;this.g=void 0===c?!1:c;this.o=-1};
$y=function(a,b,c){b=Zy(a,b);return 0<=b&&(c||!a.segments[b].g)};
az=function(a){return a.segments.length?a.segments[a.segments.length-1]:null};
Zy=function(a,b){return g.lb(a.segments,{oa:b},function(a,b){return a.oa-b.oa})};
bz=function(a,b,c){return new fx(b,c.startTime-(c.oa-b)*a.l,a.l,0,"sq/"+b,void 0,void 0,!0)};
cz=function(a,b,c,d,e){d=void 0===d?!1:d;e=void 0===e?14400:e;Xy.call(this,a,b,"",void 0,void 0,c);this.index=new Yy(c||0,e,d)};
bba=function(a,b,c,d,e){this.oa=a;this.Qd=b;this.durationSecs=c;this.g=d||window.NaN;this.l=e||window.NaN};
dz=function(a,b,c){for(;a;a=a.parentNode)if(a.attributes&&(!c||a.nodeName==c)){var d=a.getAttribute(b);if(d)return d}return""};
ez=function(a,b){for(var c=a;c;c=c.parentNode){var d=c.getElementsByTagName(b);if(0<d.length)return d[0]}return null};
fz=function(a){if(!a)return 0;var b=a.match(/PT(([0-9]*)H)?(([0-9]*)M)?(([0-9.]*)S)?/);return b?3600*(0,window.parseFloat)(b[2]||0)+60*(0,window.parseFloat)(b[4]||0)+(0,window.parseFloat)(b[6]||0):(0,window.parseFloat)(a)};
gz=function(a){return a.match(/^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2})\.(\d{3})$/)?a+"Z":a};
hz=function(){this.g=[];this.l=null;this.B=0;this.A=[];this.o=!1;this.C=""};
cba=function(a){var b=a.A;a.A=[];return b};
dba=function(){this.A=[];this.g=null;this.l={};this.o={}};
hba=function(a,b,c){var d=[];b=Array.from(b.getElementsByTagName("SegmentTimeline"));b=g.p(b);for(var e=b.next();!e.done;e=b.next()){e=e.value;var f=e.parentNode.parentNode,k=null;"Period"==f.nodeName?k=eba(a):"AdaptationSet"==f.nodeName?k=fba(a,f.attributes.id?f.attributes.id.value:f.attributes.mimetype.value):"Representation"==f.nodeName&&(k=gba(a,f.attributes.id.value));if(null==k)return;k.update(e,c);eb(d,cba(k))}pb(d,function(a){return a.Qd});
eb(a.A,d)};
iba=function(a){a.g&&(a.g.g=[]);g.Zb(a.l,function(a){a.g=[]});
g.Zb(a.o,function(a){a.g=[]})};
eba=function(a){a.g||(a.g=new hz);return a.g};
fba=function(a,b){a.l[b]||(a.l[b]=new hz);return a.l[b]};
gba=function(a,b){a.o[b]||(a.o[b]=new hz);return a.o[b]};
iz=function(a,b,c,d,e){Vy.call(this,a,b,d||void 0);this.index=new g.gx;this.indexRange=e;this.l=c};
jz=function(a,b,c){var d=a.index.Sn(b),e=a.index.Wc(b),f=a.index.lf(b),k;c?f=k=0:0<a.info.g&&(k=a.info.g*f);a=new Qx(3,a,null,b,e,f,0,k,b==a.index.kb()&&0<k);return new Qy([a],d)};
jba=function(a,b){if(!a.index.Fb()){for(var c=[],d=b.I,e=b.J.split(",").filter(function(a){return 0<a.length}),f=0,k=0,l=0,m=/^(\d+)/,n=/r=(\d+)/,q=0;q<d;q++){if(0>=l)if(l=e.shift(),k=(k=m.exec(l))?+k[1]/1E3:0)l=(l=n.exec(l))?+l[1]:0,l+=1;
else return;c.push(new fx(q,f,k,window.NaN,"sq/"+(q+1)));f+=k;l--}hx(a.index,c)}};
g.kz=function(){this.ya=0;this.g=new window.Float64Array(128);this.l=new window.Float64Array(128);this.A=1;this.o=!1};
lz=function(a){if(a.g.length<a.ya+1){var b=2*a.g.length;b+=2;var c=a.g;a.g=new window.Float64Array(b+1);var d=a.l;a.l=new window.Float64Array(b+1);for(b=0;b<a.ya+1;b++)a.g[b]=c[b],a.l[b]=d[b]}};
g.mz=function(a,b,c,d,e,f){Vy.call(this,a,b,c||void 0);this.indexRange=d;this.F=null;this.index=new g.kz;this.l=e;this.lastModified=f};
nz=function(a,b,c,d){for(var e=[];b<=a.index.kb();b++){var f=a.index,k=b;f=Ox(f.Cl(k),k+1<f.ya||f.o?f.g[k+1]-f.g[k]:-1);k=a.index.Wc(b);var l=a.index.lf(b),m=Math.max(0,c-f.start),n=Math.min(f.end+1,c+d)-(f.start+m);e.push(new Qx(3,a,f,b,k,l,m,n,b==a.index.kb()&&m+n==f.length));if(f.start+m+n>=c+d)break}return new Qy(e)};
kba=function(a,b){return oz(function(a,b){return g.Ns(a,b,4,1E3)},a,b)};
g.pz=function(a){var b;a.responseType&&"text"!=a.responseType?"arraybuffer"==a.responseType&&(b=String.fromCharCode.apply(String,new window.Uint8Array(a.response))):b=a.responseText;return!b||2048<b.length?"":0==b.indexOf("https://")?b:""};
oz=function(a,b,c){return a(b,c).then(function(b){var d=g.pz(b);return d?oz(a,d,c):b})};
rz=function(a){a=a.split("");qz.bS(a,3);qz.bS(a,28);qz.oU(a,1);qz.G7(a,53);qz.bS(a,22);return a.join("")};
sz=function(a,b){a=void 0===a?"":a;b=void 0===b?null:b;g.O.call(this);this.Y=this.duration=0;this.L=this.F=this.o=!1;this.N=g.P();this.G=window.Infinity;this.g={};this.sourceUrl=a||"";this.C=this.T=0;this.B=null;this.ia=!!b&&g.S(b,"html5_live_nonzero_first_segment_start_time");this.l=!1;this.R=[];this.A=null;this.fa=!b||!g.S(b,"html5_manifest_without_credentials");this.I=0;this.Z=!!b&&g.S(b,"disable_html5_manifest_namespace_redux");this.X="";this.J=window.NaN;this.ea=b&&g.S(b,"disable_html5_duration_caching")?
window.Infinity:10};
tz=function(a){return ac(a.g,function(a){return!!a.info.jc})};
g.uz=function(a){return ac(a.g,function(a){return g.bw(a.info.mimeType)})};
lba=function(a){return g.bc(a.g,function(a){return a.info.video?a.Ul():!0})};
vz=function(a,b){a.g[b.info.id]=b};
wz=function(a,b,c,d,e){c=void 0===c?0:c;d=void 0===d?!1:d;var f=mba(a),k=e&&g.S(e,"html5_manifestless_otf");return d?nba(a,b,e):3==f&&k?oba(a,b,c,e):pba(a,b,c,e)};
pba=function(a,b,c,d){c=void 0===c?0:c;var e=new sz("",d);e.duration=c||0;(0,g.C)(a,function(a){var c=xz(a,b,e.duration),d=Nx(a.init),f=Nx(a.index),n=(0,window.parseInt)(a.clen,10),q=yz(a.url,a.sp,a.s);a=(0,window.parseInt)(a.lmt,10);q&&vz(e,new g.mz(q,c,d,f,n,a))});
return e};
oba=function(a,b,c,d){c=void 0===c?0:c;var e=new sz("",d);e.duration=c||0;(0,g.C)(a,function(a){var c=xz(a,b,e.duration),d=yz(a.url,a.sp,a.s);if(g.Yv(c)&&d)if(c.video&&3==c.video.A)vz(e,new iz(d,c,"sq/0",null,null));else{var f=Nx(a.init);a=Nx(a.index);vz(e,new iz(d,c,"",f,a))}});
return e};
nba=function(a,b,c){var d=new sz("",c);(0,g.C)(a,function(a){var e=xz(a,b),k=yz(a.url,a.sp,a.s),l=(0,window.parseInt)(a.target_duration_sec,10);a=(0,window.parseInt)(a.max_dvr_duration_sec,10)||14400;k&&vz(d,new cz(k,e,l,c&&g.S(c,"html5_manifestless_interpolate"),a))});
d.o=!0;d.F=!0;d.l=!0;d.L=!0;return d};
xz=function(a,b,c){c=void 0===c?0:c;var d=a.type,e=a.itag,f=qba(a),k=null,l=null;aw(d)&&(k=(a.size||"640x360").split("x"),k=new Qv(+k[0],+k[1],+a.fps,+a.projection_type,+a.stereo_layout,void 0,!!a.isAccelerated,a.quality_label,a.eotf,a.primaries,!!a.isAcceleratedUiEnabled,+a.stream_type),d=rba(d,k));var m=null,n=null;if($v(d)){m=0;if("258"==e||"261"==e)m=6;m=new Nv(void 0,m,+a.spatial_audio_type);a.name&&(n=new Iv(a.name,a.audio_track_id,"1"==a.isDefault))}a.caption_display_name&&a.caption_vss_id&&
a.caption_language_code&&(l=new Caa(a.caption_display_name,a.caption_vss_id,a.caption_language_code,a.caption_kind));e=(0,window.parseInt)(a.bitrate,10)/8;var q=(0,window.parseInt)(a.clen,10);c=c&&q?q/c:0;var u=null;b&&a.drm_families&&(u={},(0,g.C)(a.drm_families.split(","),function(a){u[a]=b[a]}));
return new Vv(f,d,m,k,n,u,e,c,l)};
mba=function(a){return(0,g.nk)(a,function(a){return 3==+a.stream_type})?3:0};
qba=function(a){var b=a.itag,c=a.xtags;c&&(b=a.itag+";"+c);return b};
yz=function(a,b,c){b=void 0===b?"":b;c=void 0===c?"":c;var d=new g.Ay(a);a.match(/https:\/\/yt.akamaized.net/)||d.set("alr","yes");c&&(b||(b="signature"),d.set(b,rz(c)));return d};
Bz=function(a,b){var c=dz(b,"id");c=c.replace(":",";");"captions"==c&&(c=dz(b,"lang"));var d=dz(b,"mimeType"),e=dz(b,"codecs");d=e?d+'; codecs="'+e+'"':d;e=(0,window.parseInt)(dz(b,"bandwidth"),10)/8;var f=(0,window.parseInt)(ez(b,"BaseURL").getAttribute(zz(a,"contentLength")),10);f=a.duration&&f?f/a.duration:0;var k=null;if(aw(d)){k=(0,window.parseInt)(dz(b,"width"),10);var l=(0,window.parseInt)(dz(b,"height"),10),m=(0,window.parseInt)(dz(b,"frameRate"),10),n=sba(dz(b,zz(a,"projectionType")));a:switch(dz(b,
zz(a,"stereoLayout"))){case "layout_left_right":var q=1;break a;case "layout_top_bottom":q=2;break a;default:q=0}dz(b,"video_level");k=new Qv(k,l,m,n,q,void 0,void 0,void 0,void 0,void 0,void 0)}m=l=null;if($v(d))if(l=(0,window.parseInt)(dz(b,"audioSamplingRate"),10),m=(0,window.parseInt)(dz(b.getElementsByTagName("AudioChannelConfiguration")[0],"value"),10),n=tba(dz(b,zz(a,"spatialAudioType"))),l=new Nv(l,m,n),m=dz(b,"lang")||"und",n=ez(b,"Role")){var u=dz(n,"value")||"";hc(Az,u)?(n=m+"."+Az[u],
q="main"==u,m=dz(b,zz(a,"langName"))||m+" - "+u,m=new Iv(m,n,q)):m=null}else m=null;q=null;if(n=ez(b,"ContentProtection"))if(g.As())if((q=n.attributes.schemeIdUri)&&"http://youtube.com/drm/2012/10/10"==q.value)for(q={},n=n.firstChild;null!=n;n=n.nextSibling)"yt:SystemURL"==n.nodeName&&(q[n.attributes.type.value]=n.textContent.trim());else q=null;else if((q=n.attributes.schemeIdUri)&&"http://youtube.com/drm/2012/10/10"==q.textContent)for(q={},n=n.firstChild;null!=n;n=n.nextSibling)"SystemURL"==n.localName&&
"http://youtube.com/yt/2012/10/10"==n.namespaceURI&&(q[n.attributes.type.textContent]=n.textContent.trim());else q=null;return new Vv(c,d,l,k,m,q,e,f)};
sba=function(a){switch(a){case "equirectangular":return 2;case "equirectangular_threed_top_bottom":return 3;case "mesh":return 4;case "rectangular":return 1;default:return 0}};
tba=function(a){switch(a){case "spatial_audio_type_ambisonics_5_1":return 1;case "spatial_audio_type_ambisonics_quad":return 2;case "spatial_audio_type_foa_with_non_diegetic":return 3;default:return 0}};
Cz=function(a,b){b=void 0===b?"":b;a.C=1;a.N=g.P();return g.rg(kba(b||a.sourceUrl,{format:"RAW",method:"GET",withCredentials:a.fa}).then((0,g.A)(a.fB,a)),(0,g.A)(a.hB,a))};
Dz=function(a,b){var c=new sz,d;for(d in a)c[d]=g.rc(a[d]);var e={},f=!1;g.Zb(a.g,function(a,c){if(a){var d=b(a,c);d?(e[c]=d,f=!0):e[c]=a}});
c.g=e;return f?c:null};
uba=function(a,b){var c=a.getAttribute("media"),d=null,e=a.getAttribute("mediaRange");null!=e&&(0<=(0,window.parseInt)(e.split("-")[1],10)?d=Nx(e):c=c+"?range="+e);return new fx(b.oa,b.Qd,b.durationSecs,b.g,c,d,b.l)};
Ez=function(a){return a.o&&g.P()-a.N>=a.G};
Fz=function(a){var b=a.G;(0,window.isFinite)(b)&&(Ez(a)?a.bv():(b=Math.max(0,a.N+b-g.P()),a.A||(a.A=new g.L(a.bv,b,a),g.I(a,a.A)),a.A.start(b)))};
vba=function(a){a=a.g;for(var b in a){var c=a[b].index;if(c&&c.Fb())return c.kb()+1}return 0};
Gz=function(a){if(!(0,window.isNaN)(a.J))return a.J;var b=a.g,c;for(c in b){var d=b[c].index;if(d&&d.Fb()){b=0;for(c=d.Ud();c<=d.kb();c++)b+=d.lf(c);b/=d.uh();b=.5*Math.round(b/.5);d.uh()>a.ea&&(a.J=b);return b}if(a.L&&(d=b[c],d.F))return d.F}return window.NaN};
Hz=function(a,b){for(var c in a.g){var d=a.g[c].index;if(d&&d.Fb()){var e=d.Ze(b),f=d.rp(e);if(f)return f+b-d.Wc(e)}}return window.NaN};
wba=function(a,b){g.Zb(a.g,function(a){g.Zb(b,function(b,c){var d=a.A;d.o.set(c,b);d.B.set(c,b);d.l&&d.l.set(c,b)})})};
xba=function(a,b,c){var d=!1,e;for(e in a.g){var f=g.bw(a.g[e].info.mimeType)||!!a.g[e].info.video;c==f&&(f=a.g[e].index,$y(f,b.oa)||(f.Zu(b),d=!0))}return d};
Iz=function(a,b,c){for(var d in a.g){var e=g.bw(a.g[d].info.mimeType)||!!a.g[d].info.video;if(c==e){e=a.g[d].index;var f=Zy(e,b);0<=f&&e.segments.splice(f,1)}}};
zz=function(a,b){return a.Z?"yt:"+b:a.X+":"+b};
rba=function(a,b){null===Jz&&(Jz=window.MediaSource&&window.MediaSource.isTypeSupported&&window.MediaSource.isTypeSupported('video/webm; codecs="vp09.02.51.10.01.09.16.09"')&&!window.MediaSource.isTypeSupported('video/webm; codecs="vp09.02.51.10.01.09.99.99"'));if(!Jz&&!Kz||'video/webm; codecs="vp9"'!=a&&'video/webm; codecs="vp9.2"'!=a)return a;var c="00",d="08",e="01",f="01",k="01";'video/webm; codecs="vp9.2"'==a&&(c="02",d="10","bt2020"==b.primaries&&(k=e="09"),"smpte2084"==b.l&&(f="16"),"arib-std-b67"==
b.l&&(f="18"));return'video/webm; codecs="'+["vp09",c,"51",d,"01",e,f,k].join(".")+'"'};
yba=function(a){return g.Ra(Object.values(a.g),function(a){return a.info.jc&&a.info.video?480<a.info.video.g&&"H"==a.info.l:!1})};
Lz=function(a,b,c,d){this.flavor=a;this.g=b;this.A=c;this.o={};this.l=null;this.fairPlayCert="";this.Sj=null;this.B=!!d&&g.S(d,"edge_nonprefixed_eme")};
Nz=function(a){return a.B?!1:!a.l&&!!Mz()&&"com.microsoft.playready"==a.g};
Oz=function(a){return"com.microsoft.playready"==a.g};
Qz=function(a){return Pz&&"com.microsoft.playready"==a.g&&!!window.navigator.requestMediaKeySystemAccess};
Rz=function(a){return!a.l&&!!Mz()&&"com.apple.fps.1_0"==a.g};
Mz=function(){var a=window.MSMediaKeys;Gs()&&!a&&(a=window.WebKitMediaKeys);return a&&a.isTypeSupported?a:null};
Tz=function(a){return window.navigator.requestMediaKeySystemAccess?g.Ew?g.Fp("45"):Pz||g.Kd?g.S(a,"edge_nonprefixed_eme"):g.Sz?g.Fp("47"):!g.S(a,"html5_disable_nonprefixed_eme_for_other"):!1};
Uz=function(a,b,c){this.videoInfos=a;this.g=b||null;this.audioTracks=[];this.l=c||null;if(this.g){var d={};(0,g.C)(this.g,(0,g.A)(function(a){if(a.ab&&!d[a.id]){var b=new Mv(a.id,a.ab);d[a.id]=b;this.audioTracks.push(b)}},this))}};
Vz=function(a){if(!a.g)return!1;a=g.p(a.videoInfos);for(var b=a.next();!b.done;b=a.next())if(32<b.value.video.fps)return!0;return!1};
Wz=function(a,b){var c={},d=b.Hd()||b.Xd()||b.Yd();Bs();for(var e in b.g){var f=b.g[e],k=Uv(f.info);("304"!=k&&"266"!=k||b.F||d)&&Laa(a,f.info)&&(c[f.info.l]=c[f.info.l]||[],c[f.info.l].push(f.info))}return c};
zba=function(a,b,c){var d={},e;g.Zb(b,function(b,k){var f=b.filter(function(b){if(!b.jc)return!0;if(!c||!b.jc[c.flavor]||!c.o[b.mimeType])return!1;if("261"==Uv(b)&&!Jw(a,Rw))return e||(e=tw()),!1;(b="("!=b.l&&"(h"!=b.l)||(b=Jw(a,Pw)||a.C);return b?!0:!1});
f.length&&(d[k]=f)});
return d};
aA=function(a,b,c,d,e,f,k){function l(a){return!!m[a]}
var m=Wz(a,b);tz(b)&&(m=zba(a,m,c));var n=Aba;f?n=Bba:xs("windows nt 5.1")&&!g.Sz?n=Xz:(b.Xd()||b.Yd()||b.Hd())&&Yz&&6>=Hw&&(n=Xz);c=Cba;d&&(f||(n=Xz),c=Dba);if(Ds()||Es()||Jw(a,Rw))c=Eba;(b.Xd()||b.Yd()||b.Hd())&&e&&(c=Fba.concat(c));k&&(c=g.db(c),c.unshift("ah"));d=g.Ra(n,l);e=g.Ra(c,l);if(!d||!e)return Ps();"9"==d&&m.h&&(f=function(a,b){return Math.max(a,b.video.height)},k=xk(m["9"],f,0),xk(m.h,f,0)>1.5*k&&(d="h"),b.F&&g.S(a.l,"html5_vp9_live_blacklist_edge")&&Pz&&(d="h"));
b=m[d];f=m[e];b=Zz(a,b);$z(b,f);return Qs(new Uz(b,f,Gba(a,m,d,e)))};
Gba=function(a,b,c,d){var e=b.h;"f"==c&&(e=b[c]);var f=b.a;c=b[c]!=e;b=b[d]!=f;return e&&f&&(c||b)?(e=Zz(a,e),$z(e,f),new Uz(e,f)):null};
$z=function(a,b){g.ob(a,function(a,b){return b.video.height*b.video.width-a.video.height*a.video.width||b.g-a.g});
g.ob(b,function(a,b){return b.g-a.g})};
Zz=function(a,b){var c=(0,g.nk)(b,function(a){return 32<a.video.fps});
c&&(b=a.B||Jw(a,Nw)?(0,g.$d)(b,function(a){var b;(b=32<a.video.fps)||(a=a.video,b=!(854<a.width||480<a.height));return b}):(0,g.$d)(b,function(a){return!(32<a.video.fps)}));
c&&Ds()&&(b=(0,g.$d)(b,function(a){return"299"!=Uv(a)}));
return b};
bA=function(a,b,c){g.G.call(this);this.l=[];this.g={};this.A={};this.B=null;this.o=b;this.I=c;this.C=!1;Hba(this,a)};
Hba=function(a,b){for(var c in b)for(var d=g.p(b[c]),e=d.next();!e.done;e=d.next()){e=e.value;if(!e.jc)return;for(var f in e.jc){if(!cA[f])return;for(var k=g.p(cA[f]),l=k.next();!l.done;l=k.next())l=l.value,a.g[l]=a.g[l]||new Lz(f,l,e.jc[f],a.o),a.A[f]=a.A[f]||{},a.A[f][e.mimeType]=!0}}Cs()?(a.l=["com.youtube.fairplay"],a.g["com.youtube.fairplay"]=new Lz("fairplay","com.youtube.fairplay","",a.o),a.A.fairplay={'audio/mp4; codecs="avc1.4d4015"':!0,'video/mp4; codecs="mp4a.40.2"':!0}):a.l=Iba.filter(function(b){return a.g[b]?
!(a.I&&"widevine"==a.g[b].flavor):!1})};
dA=function(a){if(!a.ga())if(0==a.l.length)a.B(null);else{var b=a.l[0],c=a.g[b],d={initDataTypes:["cenc","webm"],audioCapabilities:[],videoCapabilities:[]};Oz(c)&&(d.initDataTypes=["keyids","cenc"]);for(var e in a.A[c.flavor]){var f=0==e.indexOf("audio/"),k=f?d.audioCapabilities:d.videoCapabilities;g.S(a.o,"html5_widevine_robustness_strings")&&"widevine"==c.flavor&&!a.C?f?k.push({contentType:e,robustness:"SW_SECURE_CRYPTO"}):(f=g.S(a.o,"html5_widevine_hw_secure_all")?"HW_SECURE_ALL":"HW_DECODE_ALL",
k.push({contentType:e,robustness:f}),k.push({contentType:e,robustness:"SW_SECURE_DECODE"})):k.push({contentType:e})}window.navigator.requestMediaKeySystemAccess(b,[d]).then(Qr((0,g.A)(a.G,a,c)),Qr((0,g.A)(a.F,a)))}};
Jba=function(a,b){function c(a){b.o[a.contentType]=!0}
if(Oz(b)){var d=tw(),e;for(e in a.A[b.flavor])b.o[e]=!!d.canPlayType(e)}else d=b.l.getConfiguration(),d.audioCapabilities&&d.audioCapabilities.forEach(c),d.videoCapabilities&&d.videoCapabilities.forEach(c)};
Lba=function(a){if(Mz()&&g.eA)a.B(new Lz("fairplay","com.apple.fps.1_0","",a.o));else{var b=Kba(),c=g.Ra(a.l,function(c){var d=a.g[c],f=!1,k=!1,l;for(l in a.A[d.flavor])b(l,c)&&(d.o[l]=!0,f=f||0==l.indexOf("audio/"),k=k||0==l.indexOf("video/"));return f&&k});
c=c?a.g[c]:null;a.l=[];a.B(c)}};
Kba=function(){var a=Mz();if(a)return function(b,d){return a.isTypeSupported(d,b)};
var b=tw();return b&&(b.addKey||b.webkitAddKey)?(0,g.A)(b.canPlayType,b):function(){return!1}};
Mba=function(){this.A=2048;this.g=17;this.o=13E4;this.F=.5;this.l=!1;this.B=0;this.C=!1};
Nba=function(){this.l=0;this.C=this.bandwidthEstimate=this.B=this.o=this.A=window.NaN;this.g=""};
fA=function(a){this.B=Math.exp(Math.log(.5)/a);this.o=this.A=0};
hA=function(a,b,c,d){c=void 0===c?.5:c;d=void 0===d?0:d;this.L=b;this.o=Math.round(a*this.L);this.B=Array(this.o);for(a=0;a<this.o;a++)this.B[a]=window.Infinity;this.J=gA(this);this.A=0;this.C=!1;this.G=!0;this.F=c;this.I=d};
gA=function(a){for(var b=Array(a.o),c=0;c<a.o;c++)b[c]=c;return b};
iA=function(a,b){if(!a.C&&0==a.A)return 0;a.G&&(g.ob(a.J,function(b,d){return a.B[b]-a.B[d]}),a.G=!1);
return a.B[a.J[Math.round(b*((a.C?a.o:a.A)-1))]]||0};
Oba=function(a){this.policy=a;this.I=this.J=0;this.C=-1;this.B=this.o=g.P();this.G=new hA(4,1,.6,.4);this.A=new hA(10,1,.5,.4);this.g=a.l?new fA(a.g):new hA(a.g,20,.5,.4);this.F=new hA(5,1,.25);this.l=new hA(30,1,.5);a=g.Qu("yt-player-bandwidth")||{};this.g.g(this.policy.F,0<a.byterate?a.byterate:this.policy.o);0<a.delay&&this.G.g(1,Math.min(+a.delay,2));0<a.stall&&this.A.g(1,+a.stall);0<a.init&&(this.B=Math.min(a.init,this.B));this.C=g.P()};
kA=function(a,b,c){b=Math.max(b,a.policy.A);a.A.g(1,c/b);jA(a)};
lA=function(a){a=a.G.l();a=(0,window.isNaN)(a)?.5:a;return a=Math.min(a,5)};
mA=function(a,b,c){(0,window.isNaN)(c)||(a.I+=c);(0,window.isNaN)(b)||(a.J+=b)};
nA=function(a){a=a.g.l();return 0<a?a:1};
g.oA=function(a){var b=nA(a);b=1/((a.A.l()||0)+1/b);a=a.F.l();return Math.max(b,0<a?a:1)};
pA=function(a){var b={};b.delay=lA(a);b.stall=a.A.l()||0;b.byterate=nA(a);b.init=a.B;return b};
jA=function(a){-1<a.C&&3E4<g.P()-a.C&&(Uu(pA(a)),a.C=g.P())};
qA=function(a){return 4E3<=g.P()-a.o};
rA=function(){g.O.call(this);this.za={}};
sA=function(a,b){return void 0==b?a:"1"==b?!0:!1};
tA=function(a,b,c){for(var d in c)if(c[d]==b)return c[d];return a};
uA=function(a,b){return void 0==b?a:Number(b)};
vA=function(a,b){return void 0==b?a:b.toString()};
wA=function(a,b){if(b){if("fullwidth"==a)return window.Infinity;if("fullheight"==a)return 0}if(a){var c=a.match(Pba);if(c){var d=(0,window.parseFloat)(c[2]);if(0<d)return(0,window.parseFloat)(c[1])/d}}return window.NaN};
xA=function(a){return a.docid||a.video_id||a.videoId||a.id};
zA=function(){this.g=g.Or("ALT_PREF_COOKIE_NAME","PREF");var a=xu.get(""+this.g,void 0);if(a){a=(0,window.decodeURIComponent)(a).split("&");for(var b=0;b<a.length;b++){var c=a[b].split("="),d=c[0];(c=c[1])&&(yA[d]=c.toString())}}};
AA=function(a){if(/^f([1-9][0-9]*)$/.test(a))throw Error("ExpectedRegexMatch: "+a);};
BA=function(a){if(!/^\w+$/.test(a))throw Error("ExpectedRegexMismatch: "+a);};
SA=function(a){g.G.call(this);a=g.qc(a);this.gh=!1;this.R=this.ia="";this.ub={};this.kg=vA("",a.csp_nonce);this.experiments=new dw(a.fexp,a.fflags);this.forcedExperiments=a.forced_experiments||null;try{var b=window.document.location.toString()}catch(e){b=""}this.Ta=b;this.oe=(b=window.location.ancestorOrigins)?Array.from(b):[];this.loaderUrl=(this.g=sA(!1,a.is_embed))?vA("",a.loaderUrl):this.Ta;this.Xa=Qba.test(this.loaderUrl);b=this.loaderUrl;var c=void 0===c?!1:c;this.hh=$u(Rba.test(b),b,c,"Trusted Ad Domain URL");
this.ra=sA(!1,a.privembed);this.J=(this.na=sA(!1,a.forcenewui))||g.S(this.experiments,"embed_new_info_bar")&&this.g;this.protocol=0==this.Ta.indexOf("http:")?"http":"https";this.baseYtUrl=av(a.BASE_YT_URL||"")||av(this.Ta)||this.protocol+"://www.youtube.com/";c=a.el;b="detailpage";"adunit"==c?b=this.g?"embedded":"detailpage":"embedded"==c||this.Xa?b=tA(b,c,Sba):c&&(b="embedded");this.Z=b;ru();c=null;b=a.ps;var d=g.Va(CA,b);!b||d&&!this.Xa||(c=b);this.playerStyle=c;this.F=(this.Zb=g.Va(CA,this.playerStyle))&&
"play"!=this.playerStyle&&"jamboard"!=this.playerStyle;this.fh=!this.F;c={};this.o=(c.c=a.c||"web",c.cver=a.cver||"html5",c.cplayer="UNIPLAYER",c);this.I=sA(!1,a.disableplaybackui);this.la=!this.I&&!(!tw().defaultPlaybackRate||g.Lh&&!xs("chrome")||DA||EA||xs("android")||xs("silk"));this.l=sA("blazer"==this.playerStyle,a.is_html5_mobile_device);this.l?c=!0:(c=(0,window.parseInt)((0,g.D)()/1E3,10),b=zA.getInstance(),c=g.S(this.experiments,"block_desktop_background_playback_with_mobile_cookie")&&b&&
c>(0,window.parseInt)(b.get("dhmu",c.toString()),10));this.eh=c;this.ea="3"==this.A||this.l||sA(!1,a.use_media_volume);this.L=uw();this.Xj=FA;this.Ia=g.GA(this);this.bc=this.na||!this.Zb&&sA(!HA(this)&&!IA(this),a.showinfo);this.Ne=sA(!1,a.playsinline);c=this.l&&Yz&&2.3>=Hw;b=this.l;b=JA(this)||!c&&sA(b,a.use_native_controls)?"3":"1";this.A="0"!=a.controls?b:"0";this.useTabletControls=this.l;this.color=tA("red",a.color,Tba);this.Vj="3"==this.A||sA(!1,a.modestbranding)&&"red"==this.color;this.X=g.S(this.experiments,
"player_preview_el_killswitch")?0==this.loaderUrl.indexOf(this.baseYtUrl):!this.g;this.vf=(b=!this.X&&!IA(this)&&!this.F&&!this.Zb&&!HA(this))&&!this.Vj&&"1"==this.A;this.Bc=g.KA(this)&&b&&!this.bc&&!this.vf;this.Nk=this.Wj=c;this.wf=!EA||g.Fc(601)?!0:!1;this.Qc=this.g||!1;this.va=IA(this)?"":(this.loaderUrl||a.post_message_origin||"").substring(0,128);this.widgetReferrer=vA("",a.widget_referrer);this.Ua=(!this.Xa||sA(!0,a.enablecastapi))&&"1"==this.A&&!this.l&&(IA(this)||g.KA(this)||g.LA(this));
this.Mc=!this.l&&!xs("nintendo wiiu")&&!xs("nintendo 3ds")||sA(!1,a.autoplayoverride);this.Nc=sA(!1,a.mutedautoplay)&&!1;c=(IA(this)||HA(this))&&"blazer"==this.playerStyle;this.Za=!sA(!0,a.fs);this.fa=!this.Za&&(c||it());this.jg=g.S(this.experiments,"uniplayer_block_pip")&&zs()&&g.Fp(58)&&!(g.MA&&xs("version/"));this.dc=this.na||!this.Zb&&sA(!0,a.rel);this.Zj=sA(!1,a.co_rel);this.Ga=g.LA(this);this.Nb="blazer"==this.playerStyle;switch(this.playerStyle){case "blogger":c="bl";break;case "gmail":c="gm";
break;case "books":c="gb";break;case "docs":c="gd";break;case "google-live":c="gl";break;case "play":c="gp";break;case "chat":c="hc";break;case "picasaweb":c="pw";break;default:c="yt"}this.ca=c;this.hc=vA("",a.authuser);this.ak=(this.g&&!this.ra||!!this.hc)&&sA(!this.F,this.Xa?a.showwatchlater:void 0);this.dd=sA(!1,a.disablekb);this.Pc=vA("",a.ecver);this.loop=sA(!1,a.loop);this.pageId=vA("",a.pageid);this.Yj=sA(!0,a.canplaylive);this.lg=sA(this.Zb,a.ss);(c=a.video_container_override)?(b=c.split("x"),
2!=b.length?c=null:(c=(0,window.parseInt)(b[0],10),b=(0,window.parseInt)(b[1],10),c=(0,window.isNaN)(c)||(0,window.isNaN)(b)||0>=c*b?null:new g.vd(c,b))):c=null;this.xf=c;this.mute=sA(!1,a.mute);this.useMiniplayerUi=sA(!1,a.use_miniplayer_ui);this.storeUserVolume=!this.mute&&sA("0"!=this.A,a.store_user_volume);this.zf="3"==this.A?3:tA(void 0,a.iv_load_policy,NA);this.Bf=vA("",a.cc_lang_pref);c=tA(2,a.cc_load_policy,NA);"3"==this.A&&2==c&&(c=3);this.Cf=c;this.tb=vA("en_US",a.hl);this.region=vA("US",
a.cr);this.hostLanguage=vA("en",a.host_language);this.ig=!this.ra&&Math.random()<g.T(this.experiments,"web_player_api_logging_fraction");this.C=!this.ra&&!g.S(this.experiments,"web_player_interaction_logging_killswitch");this.Ya=new window.Set;this.deviceHasDisplay=sA(!0,a.deviceHasDisplay);this.ff=uA(this.ff,a.ismb);c=a;ew(this.experiments,"html5_qoe_intercept")?c=ew(this.experiments,"html5_qoe_intercept"):this.fh?(c=c.vss_host||"s.youtube.com",g.S(this.experiments,"www_for_videostats")&&"s.youtube.com"==
c&&(c=OA(this.baseYtUrl)||"www.youtube.com")):c="video.google.com";this.yf=c;this.tf(a);this.ub=a;this.G=new rA;g.I(this,this.G);this.B=this.l&&!g.S(this.experiments,"enable_svg_mode_on_embed_mobile");this.nd={innertubeApiKey:vA("",a.innertube_api_key),innertubeApiVersion:vA("",a.innertube_api_version),vo:this.o.c,innertubeContextClientVersion:vA("",a.innertube_context_client_version),xo:this.hostLanguage,wo:this.region,al:""};this.Oe=void 0!=window.WebKitPlaybackTargetAvailabilityEvent;this.T=new Haa(this.experiments,
g.S(this.experiments,"html5_force_hfr_support")?!0:g.PA(this)||Ds()||Es()||QA(this),g.Ew&&56<=g.ws()||QA(this));c=new Mba;g.RA(this)&&(c.l=!0,c.F=.1);g.S(this.experiments,"html5_ewma_bandwidth_estimator")&&(c.l=!0);this.ff&&(c.o=this.ff/8);c.g=g.T(this.experiments,"html5_bandwidth_window_size")||c.g;c.C=g.S(this.experiments,"html5_dont_predict_end_time_in_past");this.schedule=new Oba(c);this.enableSafetyMode=sA(!1,a.enable_safety_mode);this.cd=sA(this.I?!1:IA(this)&&"blazer"!=this.playerStyle,a.autonav);
this.Ea=sA(!1,a.send_visitor_id_header)||this.experiments.g;this.Af=!1;this.yb=bx;this.Me=g.P();this.Y=0;this.Ed=!1;this.jk=sA(!1,a.transparent_background);this.disableNativeContextMenu=sA(!1,"docs"==this.playerStyle?a.disable_native_context_menu:void 0);this.mg=g.PA(this)&&g.S(this.experiments,"enable_skip_intro_button");this.Oc=vA("",a.embed_config);this.Fk=sA(!0,a.use_fast_sizing_on_watch_default);this.ib=!1};
TA=function(a,b){return!a.Zb&&zs()&&g.Fp(55)&&!b};
UA=function(a){a=OA(a.baseYtUrl);return"www.youtube-nocookie.com"==a?"www.youtube.com":a};
VA=function(a){return"gaming"==a.playerStyle?"gaming.youtube.com":UA(a)};
WA=function(a,b,c){return a.protocol+"://i1.ytimg.com/vi/"+b+"/"+(c||"hqdefault.jpg")};
YA=function(a){return IA(a)&&"gaming"!=a.playerStyle&&!g.XA(a)};
JA=function(a){return EA&&!a.Ne||xs("nintendo wiiu")||xs("nintendo 3ds")?!0:!1};
g.RA=function(a){if(!g.S(a.experiments,"html5_tv_interface_check_killswitch")&&/^TVHTML5/.test(a.o.c))return!0;var b=g.Ew&&xs("crkey")&&g.S(a.experiments,"html5_tv_chromecast_check_killswitch");a=a.o.cplatform;return b||"TV"==a};
QA=function(a){return"CHROMECAST ULTRA/STEAK"==a.o.cmodel||"CHROMECAST/STEAK"==a.o.cmodel};
g.ZA=function(){return 1<window.devicePixelRatio?window.devicePixelRatio:1};
g.PA=function(a){return"web"==a.o.c.toLowerCase().substr(0,3)};
g.XA=function(a){return"WEB_UNPLUGGED"==a.o.c};
g.GA=function(a){return g.XA(a)||"TV_UNPLUGGED_CAST"==a.o.c||"TVHTML5_UNPLUGGED"==a.o.c};
g.$A=function(a){return a.deviceHasDisplay&&g.Ew&&!Gw&&"3"!==a.A?g.MA?a.g&&g.Fc(51):!0:!1};
g.aB=function(a){return a.deviceHasDisplay&&g.Sz&&!Gw&&"3"!==a.A?g.MA?a.g&&g.Fc(48):g.Fc(38):!1};
g.bB=function(a){return g.$A(a)||g.aB(a)||(a.deviceHasDisplay&&g.Lh&&!Gw&&"3"!==a.A?g.MA?a.g&&g.Fc(37):g.Fc(27):!1)||a.deviceHasDisplay&&g.nv&&!Hs()&&g.Fc(11)||a.deviceHasDisplay&&g.eA&&g.Fc("604.4")&&g.S(a.experiments,"safari_enable_spherical")};
Uba=function(a){return g.S(a.experiments,"disable_html5_ambisonic_audio")||!(g.bB(a)||g.S(a.experiments,"html5_enable_spherical")||g.S(a.experiments,"html5_enable_spherical3d"))||g.KA(a)&&Yz||g.Sz&&(!g.Fc(47)||!g.Fc(52)&&g.Fc(51))?!1:window.AudioContext||window.webkitAudioContext?!0:!1};
IA=function(a){return"detailpage"==a.Z};
g.KA=function(a){return"embedded"==a.Z};
g.cB=function(a){return"leanback"==a.Z};
HA=function(a){return"adunit"==a.Z||"gvn"==a.playerStyle};
g.LA=function(a){return"profilepage"==a.Z};
Vba=function(a){if(!a.N)return"";if(g.S(a.experiments,"web_player_fife_url_killswitch"))return a.N;var b=a.N.split("/");return 8==b.length?(b.splice(7,0,"s20-c"),b.join("/")):9==b.length?(b[7]+="-s20-c",b.join("/")):a.N};
OA=function(a){var b=g.Wg(a);return(a=g.Xg(a))?b+":"+a:b};
g.dB=function(a,b,c){this.errorCode=a;this.g=b;this.details=c||{}};
eB=function(a){var b;for(b in a){var c=(""+a[b]).replace(/[:,]/g,"_");var d=(d?d+";":"")+b+"."+c}return d||""};
Wba=function(a,b,c,d,e,f,k,l,m,n){this.itag=a;this.url=b;this.g=c;this.width=d;this.height=e;this.bitrate=k;this.fps=f;this.audioItag=l||null;this.l=m||"";this.ab=void 0===n?null:n};
fB=function(a){for(var b={},c=0,d=a.length;c<d;++c){var e=a[c],f=e.type.match(/codecs="([^"]*)"/);f=f?f[1]:"";var k=null;e.audio_track_id&&(k=new Iv(e.name,e.audio_track_id,!!e.is_default));e=new Wba(e.itag,e.url,f,+e.width,+e.height,+e.fps,+e.bitrate,e.audio_itag,e.drm_families,k);b[e.itag]=b[e.itag]||[];b[e.itag].push(e)}return b};
Xba=function(a,b,c,d){this.o=a;this.g=b;this.B=0;this.l="";this.A=c;this.C=d};
hB=function(a,b,c,d){b.push("#EXT-X-STREAM-INF:BANDWIDTH="+(c.bitrate+d.bitrate)+","+('CODECS="'+c.g+","+d.g+'",')+("RESOLUTION="+c.width+"x"+c.height+",")+('AUDIO="'+d.itag.toString()+'",')+"CLOSED-CAPTIONS=NONE");b.push(gB(a,c.url))};
gB=function(a,b){return a.A?g.fh(b,{cpn:a.A}):b};
Yba=function(a,b){var c="#EXT-X-MEDIA:TYPE=AUDIO,",d="YES",e="audio";if(b.ab){e=b.ab;var f=e.getId().split(".")[0];f&&(c+='LANGUAGE="'+f+'",');a.l||e.isDefault||(d="NO");e=e.name}f=gB(a,b.url);return c=c+('NAME="'+e+'",'+("DEFAULT="+d+",AUTOSELECT=YES,"))+('GROUP-ID="'+b.itag.toString()+'",'+('URI="'+f+'"'))};
Zba=function(a){for(var b=[],c=[],d=0,e=a.g.length;d<e;++d){var f=a.g[d];f.bitrate<=a.B?b.push(f):c.push(f)}b.sort(function(a,b){return b.bitrate-a.bitrate});
c.sort(function(a,b){return a.bitrate-b.bitrate});
a.g=b.concat(c)};
iB=function(a,b){this.Ve=a;this.o=b;this.l=null};
$ba=function(a,b,c,d,e){if(!(Gw||Gs()||Cs()))return Ps();c=fB(c);if(!c)return Ps();var f={},k=(f.fairplay="https://youtube.com/api/drm/fps?ek=uninitialized",f),l;f=[];var m=[],n=[],q=g.T(a.experiments,"html5_hls_min_video_height"),u=g.S(a.experiments,"html5_hls_pair_all_audio"),w;for(w in c)if(!g.S(a.experiments,"html5_disable_drm_hfr_1080")||"383"!=w&&"373"!=w){var H=g.p(c[w]);for(l=H.next();!l.done;l=H.next()){var F=l.value;if(F.width){if(!(F.height<q)){var M=c[F.audioItag];if(M&&(f.push(F),l="fairplay"==
F.l?k:null,n.push(jB(M,[F],e,F.itag,F.width,F.height,F.fps,u,void 0,void 0,l)),!Z||F.width*F.height*F.fps>Z.width*Z.height*Z.fps))var Z=F}}else m.push(F)}}l=n.reduce(function(a,b){return!!b.Ve.jc&&a},!0)?k:null;
d=Math.max(d,g.T(a.experiments,"html5_hls_initial_bitrate"));!g.S(a.experiments,"html5_hls_optimal_resolution_killswitch")&&Z?n.push(jB(m,f,e,"93",Z.width,Z.height,Z.fps,u,"auto",d,l)):n.push(jB(m,f,e,"93",0,0,0,u,"auto",d,l));return Xw(n,TA(a,b))};
jB=function(a,b,c,d,e,f,k,l,m,n,q){var u=new Nv;e=new Qv(e,f,k,null,void 0,m);d=new Vv(d,"application/x-mpegURL",u,e,void 0,q);a=new Xba(a,b,c,l);a.B=n?n:1369843;return new iB(d,a)};
kB=function(a,b){this.Ve=a;this.l=b};
lB=function(a,b,c,d){var e=[];c=g.p(c);for(var f=c.next();!f.done;f=c.next()){var k=f.value;if(k.url){f=new g.Ay(k.url);k.s&&f.set(k.sp||"signature",rz(k.s));for(var l in d)f.set(l,d[l]);k=cw(k.type,k.quality,k.itag,k.width,k.height,!!k.isAccelerated,!!k.isAcceleratedUiEnabled);e.push(new kB(k,f))}}return Xw(e,TA(a,b))};
mB=function(a,b){this.Ve=a;this.l=b};
aca=function(a){var b=[];(0,g.C)(a,function(a){if(a.url){var c=cw(a.type,"medium","0");b.push(new mB(c,a.url))}});
return b};
nB=function(a){if(a){var b=[],c;for(c in a)bca.has(c)||b.push(c);b.length&&(b.sort(),g.N(Error("Unknown house brand player vars: "+b.join(",")),"WARNING"))}};
g.oB=function(a,b,c,d){this.De=new window.Set;this.I=a;this.J=b;a=c.split("#");this.C=(0,window.parseInt)(a[0],10);this.B=(0,window.parseInt)(a[1],10);this.o=(0,window.parseInt)(a[2],10);this.columns=(0,window.parseInt)(a[3],10);this.rows=(0,window.parseInt)(a[4],10);this.g=(0,window.parseInt)(a[5],10);this.A=a[6];this.F=a[7];this.L=d};
g.pB=function(a,b){b>=a.Jl()&&a.Uh();var c=Math.floor(b/(a.columns*a.rows)),d=a.columns*a.rows,e=b%d,f=e%a.columns;e=Math.floor(e/a.columns);var k=a.Uh()+1-d*c;if(k<a.columns){var l=k;d=1}else l=a.columns,d=k<d?Math.ceil(k/a.columns):a.rows;return{url:a.vb(c),column:f,columns:l,row:e,rows:d,Pp:a.C*l,Op:a.B*d}};
qB=function(a){g.O.call(this);this.A=new jr;this.l=null;this.G=new window.Set;this.F=a||""};
sB=function(a,b,c){for(c=rB(a,c);0<=c;){var d=a.g[c];if(d.Fb(Math.floor(b/(d.columns*d.rows)))&&(d=g.pB(d,b)))return d;c--}return g.pB(a.g[0],b)};
uB=function(a,b,c){c=rB(a,c);for(var d,e;0<=c;c--)if(d=a.g[c],e=Math.floor(b/(d.columns*d.rows)),!d.Fb(e)){d=a;var f=c,k=f+"-"+e;d.G.has(k)||(d.G.add(k),ir(d.A,f,{ju:f,Tv:e}))}tB(a)};
tB=function(a){if(!a.l&&!a.A.isEmpty()){var b=a.A.remove(),c=new window.Image;a.F&&(c.crossOrigin=a.F);c.src=a.g[b.ju].vb(b.Tv);c.onload=(0,g.A)(a.I,a,b.ju,b.Tv);a.l=c}};
vB=function(a,b,c,d){d=void 0===d?!1:d;qB.call(this,c);this.isLive=d;this.g=this.o(a,b);this.B=new window.Map;1<this.g.length&&this.g[0].isDefault()&&this.g.splice(0,1)};
rB=function(a,b){var c=a.B.get(b);if(c)return c;c=a.g.length;for(var d=0;d<c;d++)if(a.g[d].C>=b)return a.B.set(b,d),d;a.B.set(b,c-1);return c-1};
wB=function(a,b,c,d){c=c.split("#");c=[c[1],c[2],0,c[3],c[4],-1,c[0],""].join("#");g.oB.call(this,a,b,c,0);this.l=null;this.G=d?3:0};
xB=function(a,b,c){vB.call(this,a,0,void 0,b);for(a=0;a<this.g.length;a++)this.g[a].by(c)};
cca=function(a){if(!window.navigator.mediaCapabilities)return Qs(a);var b=(0,g.E)(a.videoInfos,function(a){return window.navigator.mediaCapabilities.decodingInfo({type:"media-source",video:a.video?{contentType:a.mimeType,width:a.video.width||640,height:a.video.height||360,bitrate:8*a.g||1E6,framerate:a.video.fps||30}:null})});
return g.ng(b).then(function(b){for(var c=0;c<b.length;c++)a.videoInfos[c].o=b[c].smooth;return a},function(){return a})};
zB=function(a,b){var c={},d;for(d in yB){var e=b?b+d:d;e=a[e+"_webp"]||a[e];g.fv(e)&&(c[yB[d]]=e)}return c};
eca=function(a){var b={};if(!a||!a.thumbnails)return b;var c=null;a=g.p(a.thumbnails);for(var d=a.next();!d.done;d=a.next()){d=d.value;var e=AB(d);if(g.fv(e)){var f=dca[d.width];f&&(b[f]=e);if(!c||c.width<d.width)c=d}}c&&1280<c.width&&(b["maxresdefault.jpg"]=AB(c));return b};
AB=function(a){a=a.url;return 0==a.indexOf("//")?"https:"+a:a};
g.BB=function(a,b){this.version=a;this.args=b};
g.CB=function(a,b){this.topic=a;this.g=b};
g.EB=function(a,b){var c=DB();c&&c.publish.call(c,a.toString(),a,b)};
g.IB=function(a,b,c){var d=DB();if(!d)return 0;var e=d.subscribe(a.toString(),function(d,k){var f=g.z("ytPubsub2Pubsub2SkipSubKey");f&&f==e||(f=function(){if(FB[e])try{if(k&&a instanceof g.CB&&a!=d)try{var f=a.g,l=k;if(!l.args||!l.version)throw Error("yt.pubsub2.Data.deserialize(): serializedData is incomplete.");try{if(!f.hg){var q=new f;f.hg=q.version}var u=f.hg}catch(w){}if(!u||l.version!=u)throw Error("yt.pubsub2.Data.deserialize(): serializedData version is incompatible.");try{k=window.Reflect.construct(f,
g.db(l.args))}catch(w){throw w.message="yt.pubsub2.Data.deserialize(): "+w.message,w;}}catch(w){throw w.message="yt.pubsub2.pubsub2 cross-binary conversion error for "+a.toString()+": "+w.message,w;}b.call(c||window,k)}catch(w){g.N(w)}},GB[a.toString()]?g.mu()?g.ku(f):g.Vr(f,0):f())});
FB[e]=!0;HB[a.toString()]||(HB[a.toString()]=[]);HB[a.toString()].push(e);return e};
LB=function(a,b){var c=g.IB(JB,function(d){a.apply(b,arguments);g.KB(c)},b);
return c};
g.KB=function(a){var b=DB();b&&(g.va(a)&&(a=[a]),(0,g.C)(a,function(a){b.unsubscribeByKey(a);delete FB[a]}))};
DB=function(){return g.z("ytPubsub2Pubsub2Instance")};
MB=function(){var a=g.Or("TIMING_TICK_EXPIRATION");a||(a={},g.Nr("TIMING_TICK_EXPIRATION",a));return a};
fca=function(){var a=MB(),b;for(b in a)g.nu(a[b]);g.Nr("TIMING_TICK_EXPIRATION",{})};
NB=function(a,b){g.BB.call(this,1,arguments)};
OB=function(a,b){g.BB.call(this,1,arguments);this.g=a};
RB=function(a){PB(a);gca();QB(!1,a);a||(g.Or("TIMING_ACTION")&&g.Nr("PREVIOUS_ACTION",g.Or("TIMING_ACTION")),g.Nr("TIMING_ACTION",""))};
YB=function(a,b,c,d){d=d?d:a;SB("c",d);RB(d);g.Nr(d+"TIMING_AFT_KEYS",b);g.Nr(d+"TIMING_ACTION",a);TB("yt_sts","c",d);UB("_start",c,d);VB(d)&&(a={},a.actionType=hca[g.Or((d||"")+"TIMING_ACTION",void 0)]||"LATENCY_ACTION_UNKNOWN",b=WB(d),Cu(a,b));g.y("ytglobal.timing"+(d||"")+"ready_",!0,void 0);XB(d)};
UB=function(a,b,c){if(!b&&"_"!=a[0]){var d=a;ZB.mark&&(g.wb(d,"mark_")||(d="mark_"+d),c&&(d+=" ("+c+")"),ZB.mark(d))}d=$B(c);var e=b||g.P();d[a]&&(d["_"+a]=d["_"+a]||[d[a]],d["_"+a].push(e));d[a]=e;e=MB();var f=e[a];f&&(g.nu(f),e[a]=0);aC(c)["tick_"+a]=b;c||b||g.P();VB(c)?(e=WB(c),"_start"==a?Bu("baseline_"+e)||g.wu("latencyActionBaselined",{clientActionNonce:e},b,void 0):Bu("tick_"+a+"_"+e)||g.wu("latencyActionTicked",{tickName:a,clientActionNonce:e},b,void 0),b=!0):b=!1;b||XB(c);return d[a]};
bC=function(a){var b="above_the_fold";ZB&&ZB.measure&&(g.wb(b,"measure_")||(b="measure_"+b),a?ZB.measure(b,a):ZB.measure(b))};
cC=function(a,b){var c=$B(b);return a in c};
dC=function(a){cC("_start","video_to_ad")&&UB(a,void 0,"video_to_ad")};
TB=function(a,b,c){eC(c).info[a]=b;aC(c)["info_"+a]=b;if(VB(c))if(a in fC){var d=fC[a];g.Va(ica,d)&&(b=!!b);if(VB(c)){a={};d=d.split(".");for(var e=a,f=0;f<d.length-1;f++)e[d[f]]=e[d[f]]||{},e=e[d[f]];e[d[d.length-1]]=b;c=WB(c);Cu(a,c)}}else g.Va(jca,a)||g.N(Error("Unknown label "+a+" logged with GEL CSI."))};
gC=function(a){var b=$B(a);if(b.aft)return b.aft;a=g.Or((a||"")+"TIMING_AFT_KEYS",["ol"]);for(var c=a.length,d=0;d<c;d++){var e=b[a[d]];if(e)return e}return window.NaN};
XB=function(a){if(!hC(a)){var b=g.Or((a||"")+"TIMING_ACTION",void 0),c=$B(a);if(g.z("ytglobal.timing"+(a||"")+"ready_")&&b&&c._start&&(b=gC(a)))if(iC||(g.EB(kca,new NB(Math.round(b-c._start),a)),iC=!0),a)jC(a);else{b=!0;var d=g.Or("TIMING_WAIT",[]);if(d.length)for(var e=0,f=d.length;e<f;++e)if(!(d[e]in c)){b=!1;break}b&&jC(a)}}};
lca=function(){switch(gt()){case "hidden":return 0;case "visible":return 1;case "prerender":return 2;case "unloaded":return 3}return-1};
SB=function(a,b){if(!hC(b)){var c=g.Or("CSI_SERVICE_NAME","youtube");g.Or((b||"")+"TIMING_ACTION",void 0)&&c&&(UB("aa",void 0,b),TB("ap",1,b),TB("yt_fss",a,b),jC(b))}};
WB=function(a){var b=eC(a).nonce;b||(b=Ju(),eC(a).nonce=b);return b};
$B=function(a){return eC(a).tick};
aC=function(a){a=eC(a);"gel"in a||(a.gel={});return a.gel};
eC=function(a){return g.z("ytcsi."+(a||"")+"data_")||PB(a)};
PB=function(a){var b={tick:{},info:{}};g.y("ytcsi."+(a||"")+"data_",b,void 0);return b};
hC=function(a){return!!g.z("yt.timing."+(a||"")+"pingSent_")};
QB=function(a,b){g.y("yt.timing."+(b||"")+"pingSent_",a,void 0)};
mca=function(a){var b=$B(a),c=b.pbr,d=b.vc;b=b.pbs;return c&&d&&b&&c<d&&d<b&&1==eC(a).info.yt_pvis};
VB=function(a){return!!g.Ot("csi_on_gel")||!!eC(a).useGel};
jC=function(a){fca();if(!VB(a)){var b=$B(a),c=eC(a).info,d=b._start;for(k in b)if(g.wb(k,"_")&&g.Ca(b[k])){var e=k.slice(1);if(e in nca){var f=(0,g.E)(b[k],function(a){return Math.round(a-d)});
c["all_"+e]=f.join()}delete b[k]}var k=!!c.ap;if(e=g.z("ytglobal.timingReportbuilder_")){if(b=e(b,c,a))kC(b,k),RB(a)}else{var l=g.Or("CSI_SERVICE_NAME","youtube");e={v:2,s:l,action:g.Or((a||"")+"TIMING_ACTION",void 0)};f=TB.srt;void 0!==b.srt&&delete c.srt;if(c.h5jse){var m=window.location.protocol+g.z("ytplayer.config.assets.js");(m=ZB.getEntriesByName?ZB.getEntriesByName(m)[0]:null)?c.h5jse=Math.round(c.h5jse-m.responseEnd):delete c.h5jse}b.aft=gC(a);mca(a)&&"youtube"==l&&(TB("yt_lt","hot_bg",a),
l=b.vc,m=b.pbs,delete b.aft,c.aft=Math.round(m-l));for(var n in c)"_"!=n.charAt(0)&&(e[n]=c[n]);b.ps=g.P();c={};n=[];for(var q in b)"_"!=q.charAt(0)&&(l=Math.round(b[q]-d),c[q]=l,n.push(q+"."+l));e.rt=n.join(",");(b=g.z("ytdebug.logTiming"))&&b(e,c);kC(e,k,a);g.EB(JB,new OB(c.aft+(f||0),a))}}};
kC=function(a,b,c){if(g.Ot("debug_csi_data")){var d=g.z("yt.timing.csiData");d||(d=[],g.y("yt.timing.csiData",d,void 0));d.push({page:window.location.href,time:new Date,args:a})}d="";for(var e in a)d+="&"+e+"="+a[e];a="/csi_204?"+d.substring(1);window.navigator&&window.navigator.sendBeacon&&b?Js(a):g.Is(a);QB(!0,c)};
g.mC=function(a){if(a.simpleText)return a.simpleText;a=g.lC(a);var b=g.Td("div");b.appendChild(a);return b.textContent};
g.lC=function(a){if(a.simpleText)return a=window.document.createTextNode(a.simpleText),a;var b=[];if(a.runs)for(var c=0;c<a.runs.length;c++){var d=a.runs[c];d.text&&b.push(oca(d))}return 1==b.length?b[0]:g.Rd("SPAN",null,b)};
oca=function(a){var b=null,c=a.text;a.bold&&(b=g.Rd("B",null,b||c));a.italics&&(b=g.Rd("I",null,b||c));a.strikethrough&&(b=g.Rd("STRIKE",null,b||c));a.navigationEndpoint&&a.navigationEndpoint.urlEndpoint&&(a=a.navigationEndpoint.urlEndpoint,b=g.Rd("A",null,b||c),g.ld(b,a.url),"TARGET_NEW_WINDOW"==a.target&&(b.target="_blank"));return b||g.Rd("SPAN",null,c)};
g.nC=function(a){g.O.call(this);this.adModule=!1;this.zi=this.adaptiveFormats="";this.jc=null;this.allowEmbed=!0;this.Qe=this.backgroundable=!1;this.re="";this.gk=this.ek=this.dk=!1;this.relativeLoudness=window.NaN;this.watchAjaxToken=this.gg=null;this.author="";this.Te=0;this.qn=this.Cs=this.pk=!1;this.clientScreenNonce=this.clientPlaybackNonce=this.channelBanner=this.channelPath=this.qk="";this.contentCheckOk=!1;this.we=0;this.Fs=this.enableCardioBeforePlayback=this.enableCardio=!1;this.endSeconds=
0;this.Ee=!1;this.ff=this.Ah=0;this.dl=!1;this.Uw=0;this.isLowLatencyLiveStream=this.isLiveDefaultBroadcast=this.isLiveDestination=this.pa=this.bj=this.isListed=this.Ao=this.Bj=!1;this.latencyClass="UNKNOWN";this.isMdxPlayback=!1;this.mdxControlMode=null;this.isPharma=!1;this.qf=0;this.reloadReason="";this.Do=this.au=this.Rf=!1;this.ll=0;this.Km=!1;this.liveChunkReadahead=window.NaN;this.liveStartWalltime=0;this.Ho=null;this.ej=this.lengthSeconds=0;this.playerParams=this.musicVideoType=null;this.paygated=
!1;this.tc=[];this.profilePicture=void 0;this.racyCheckOk=!1;this.rootVeType=0;this.sa=null;this.autonavState=1;this.Ed=!1;this.sc=this.startSeconds=0;this.spacecastModule=!1;this.bk=null;this.Pj=this.pn=this.Jq=bx;this.ki=this.suggestions=null;this.hlsFormats=this.ni=this.expandedSubtitle=this.expandedTitle=this.subtitle=this.title="";this.gb=this.ie=this.he=this.Ij=this.Zk=null;this.Pm="vvt";this.ypcOfferButtonFormattedText=null;this.requiresPurchase=!1;this.clipStart=0;this.clipEnd=window.Infinity;
this.Yh=this.Ig=this.oh=!1;this.Yn="";this.pm=this.kq=this.it=0;this.Ut=!1;this.rq=!0;this.eg={};this.po=!1;this.captionTracks=[];this.Fi=[];this.sn=0;this.captionTranslationLanguages=[];this.Gi=!1;this.chapterMarkers=[];this.sg=new Mv("und",new Iv("Default","und",!0));this.Fo=0;this.Tx=this.fi=this.Ax=!1;this.Hg=null;this.ng=[];this.It=!1;this.Yg={};this.slotPosition=-1;this.breakType=0;this.Nx=new g.L(this.Ox,5E3,this);g.I(this,this.Nx);this.Xn=0;this.jt=!0;this.Lc=this.Pa=null;this.zo=this.gy=
this.Yt=this.Qf=!1;this.Rt=this.St=window.NaN;this.defraggedFromSubfragments=this.hasSubfragmentedFmp4=!1;this.liveExperimentalContentId=window.NaN;this.Qm=this.Rj=!1;this.Ej=[];this.Dj=[];this.isDni=!1;this.dm=this.dniColor="";this.isVisualizerEligible=!1;this.Hb={};this.keywords={};this.Cd={};this.setData(a)};
qC=function(a,b,c){b=b||{};var d={};if(c){var e;b.raw_player_response?e=b.raw_player_response:b.player_response&&(e=g.Dq(b.player_response));if(e)for(d=null!=e?e:{},a.Pa||(a.Pa={}),c=0;c<oC.length;c++)e=oC[c],e in d&&(a.Pa[e]=d[e])}else d=a.Pa||{};if(c=pC(d))a.re=jv(c.invideoUrl),a.dk=!!c.adsOnly,a.ek=!!c.allowInPlaceSwitch;else{if(c=b.iv_invideo_url)a.re=jv(c);a.dk=sA(a.dk,b.iv_ads_only);a.ek=sA(a.ek,b.iv_allow_in_place_switch)}if(c=b.cta_conversion_urls)a.Er=c;a.isPharma=sA(a.isPharma,b.is_pharma);
a.author=vA(a.author,b.author);a.pk=sA(a.pk,b.cc_asr);if(c=b.ttsurl)hv(c)?a.qk=c:(c=iv(c),hv(c,!0)&&(a.qk=c));if(d.captions&&d.captions.playerCaptionsTracklistRenderer)pca(a,d.captions.playerCaptionsTracklistRenderer);else{c=b.caption_tracks;e=b.caption_audio_tracks;a.po=void 0!=c;if(c&&e){qca(a,c);rca(a,e);if(c=b.default_audio_track_index)a.sn=(0,window.parseInt)(c,10)||0;(c=b.caption_translation_languages)&&sca(a,c)}a.Gi=sA(a.Gi,b.cc_contribute)}a.channelPath=vA(a.channelPath,b.channel_path);a.channelBanner=
vA(a.channelBanner,b.channel_banner);d.chapterMarkers&&(a.chapterMarkers=d.chapterMarkers);a.clientPlaybackNonce=vA(a.clientPlaybackNonce,b.cpn);a.subscribed=sA(a.subscribed,b.subscribed);a.shortViewCount=vA(a.shortViewCount,b.short_view_count_text);a.title=vA(a.title,b.title);a.subtitle=vA(a.subtitle,b.subtitle);a.expandedTitle=vA(a.expandedTitle,b.expanded_title);a.expandedSubtitle=vA(a.expandedSubtitle,b.expanded_subtitle);a.zi=vA(a.zi,b.aria_label);a.ypcPreview=vA(a.ypcPreview,b.ypc_preview);
a.ypcOrigin=vA(a.ypcOrigin,b.ypc_origin);a.paygated=sA(a.paygated,b.paygated);a.requiresPurchase=sA(a.requiresPurchase,b.requires_purchase);if(d=b.keywords)a.keywords=tca(d);if(d=b.rvs)a.suggestions=$r(d);a.contentCheckOk=sA(a.contentCheckOk,"1"==b.cco);a.racyCheckOk=sA(a.racyCheckOk,"1"==b.rco);a.oauthToken=vA(a.oauthToken,b.oauth_token);a.visitorData=vA(a.visitorData,b.visitor_data);if(d=b.session_data)a.Yc=g.Yr(d);if(d=b.endscreen_autoplay_session_data)a.Is=g.Yr(d);a.Hs=vA(a.Hs,b.endscreen_ad_tracking_data);
a.Ty=sA(a.Ty,b.wait_for_vast_info_cards_xml);a.wq=sA(a.wq,b.suppress_creator_endscreen);a.vg=vA(a.vg,b.wpid);a.By=vA(a.By,b.tracking_list||b.tv_list);b.skip_wv&&(a.gy=!0);b.intro_start_ms&&b.intro_end_ms&&(a.St=(0,window.parseInt)(b.intro_start_ms,10),a.Rt=(0,window.parseInt)(b.intro_end_ms,10));(0,g.C)(uca,function(a){a in b&&(this.Hb[a]=b[a])},a)};
vca=function(a){if(!a||!a.adPlacements)return!1;a=g.p(a.adPlacements);for(var b=a.next();!b.done;b=a.next())if(b=b.value.adPlacementRenderer,null!=b&&"AD_PLACEMENT_KIND_START"==(b.config&&b.config.adPlacementConfig&&b.config.adPlacementConfig.kind))return!0;return!1};
rC=function(a){return!(!a.sa||!a.sa.videoInfos.length)};
wca=function(a){return a.l&&Fw('video/webm; codecs="vp9"')&&ac(a.g,function(a){return Wv(a.info)})};
sC=function(a){return!(!a.ka||!a.ka.l)};
tC=function(a,b){if(!(a.sa&&a.sa.videoInfos.length&&g.Yv(a.sa.videoInfos[0])&&sC(a))||g.As()&&!g.S(b,"html5_streaming_xhr_try_cobalt")||Pz&&!g.S(b,"html5_streaming_xhr_try_edge"))return!1;var c=g.S(b,"html5_streaming_response_mediastream_rewrite_v2"),d=g.S(b,"html5_ultra_low_latency_streaming_responses")&&"ULTRALOW"==a.latencyClass,e=21530001==a.liveExperimentalContentId;return c||d||e};
uC=function(a,b){return tC(a,b)&&(!g.S(b,"html5_live_benchmark_incremental_parsing")||"ULTRALOW"==a.latencyClass||21530001==a.liveExperimentalContentId)};
vC=function(a){return!Uw()||a.Cs?!0:!1};
g.wC=function(a){if(!a.Lc)return null;var b=null!=a.Lc.latitudeE7&&null!=a.Lc.longitudeE7?a.Lc.latitudeE7+","+a.Lc.longitudeE7:",";return b+=","+(a.Lc.clientPermissionState||0)+","+(a.Lc.locationRadiusMeters||"")+","+(a.Lc.locationOverrideToken||"")};
xC=function(a){a.ga()||(a.Ee=!1,a.P("dataloaded",a.Hb))};
zC=function(a,b,c){c&&a.ka&&a.ka.dispose();a.ka=b;g.I(a,b);yC(a)&&a.tc.push("webgl")};
g.AC=function(a,b,c){if(a.ga())return Ps();a.sa=null;a.he=null;a.ie=null;var d=b.o.c;g.S(b.experiments,"disable_rqs")||(a.Qf=/^rq/.test(a.clientPlaybackNonce)||/^r/.test(a.clientPlaybackNonce)&&/UNPLUGGED/.test(d)||g.S(b.experiments,"html5_high_res_logging"));return xca(a,b,c).then(void 0,(0,g.A)(a.mC,a,b)).then(void 0,(0,g.A)(a.jC,a,b,c)).then(void 0,(0,g.A)(a.kC,a,b)).then(void 0,(0,g.A)(a.nC,a,b)).then(void 0,(0,g.A)(a.lC,a,b)).then(function(){if(g.S(b.experiments,"html5_probe_media_capabilities")&&
a.sa)return cca(a.sa).then(a.tm,void 0,a)})};
xca=function(a,b,c){if(!c&&!vC(a)){c=!1;if(a.spacecastAdaptiveFormats)zC(a,wz(BC(a,a.spacecastAdaptiveFormats),a.jc,a.lengthSeconds,void 0),!0),c=!0;else if(a.ka&&a.zm){var d=Dz(a.ka,a.zm);d&&(zC(a,d,!0),c=!0)}if(c)return aA(b.T,a.ka,a.Hg,!0,!1,!b.deviceHasDisplay||a.Rj&&b.Xa,a.Qm&&b.Xa).then(a.tm,void 0,a).then(a.Ms,void 0,a)}return Ps()};
CC=function(a,b){var c={cpn:a.clientPlaybackNonce,c:b.o.c,cver:b.o.cver};a.Tl&&(c.ptk=a.Tl,c.oid=a.Ww,c.ptchn=a.Vw,c.pltype=a.Xw);return c};
g.DC=function(a){return Cs()&&a.fairPlayCert?(a={},a.fairplay="https://youtube.com/api/drm/fps?ek=uninitialized",a):a.xa&&a.xa.jc||null};
EC=function(a){var b=a.Pa&&a.Pa.paidContentOverlay&&a.Pa.paidContentOverlay.paidContentOverlayRenderer||null;return b&&b.text?g.mC(b.text):a.GK};
FC=function(a){var b=a.Pa&&a.Pa.paidContentOverlay&&a.Pa.paidContentOverlay.paidContentOverlayRenderer||null;return b&&b.durationMs?Tb(b.durationMs):a.Uw};
g.GC=function(a,b){return g.v(a.keywords[b])?a.keywords[b]:null};
g.HC=function(a){if(!a.gb)if(a.Pa&&a.Pa.storyboards){var b=a.Pa.storyboards;if(b.playerStoryboardSpecRenderer)a.gb=new vB(b.playerStoryboardSpecRenderer.spec,a.lengthSeconds);else if(b.playerLiveStoryboardSpecRenderer&&a.ka){var c=dc(a.ka.g).index;c&&(a.gb=new xB(b.playerLiveStoryboardSpecRenderer.spec,a.pa,c))}}else(b=a.Hb.storyboard_spec)?a.gb=new vB(b,a.lengthSeconds):(b=a.Hb.live_storyboard_spec)&&a.ka&&(c=dc(a.ka.g).index)&&(a.gb=new xB(b,a.pa,c));return a.gb};
IC=function(a){return!!(a.gd||a.adaptiveFormats||a.ni||a.ki||a.spacecastFormatMap||a.spacecastAdaptiveFormats||a.hlsvp)};
JC=function(a){var b=g.Va(a.tc,"ypc");a.ypcPreview&&(b=!1);return a.Uc()&&!a.Ee&&(IC(a)||g.Va(a.tc,"fresca")||g.Va(a.tc,"heartbeat")||b)};
BC=function(a,b,c){b=$r(b);var d={};c&&(0,g.C)(c.split(","),function(a){(a=a.match(/^([0-9]+)\/([0-9]+)x([0-9]+)(\/|$)/))&&(d[a[1]]={width:a[2],height:a[3]})});
(0,g.C)(b,function(a){var b=d[a.itag];b&&(a.width=b.width,a.height=b.height)},a);
return b};
yca=function(a){a=$r(a);var b={};(0,g.C)(a,function(a){var c=a.family;a=a.url;c&&a&&(b[c]=a)});
return b};
qca=function(a,b){for(var c=$r(b),d=0;d<c.length;d++){var e=c[d],f=e.u;hv(f)&&a.captionTracks.push(new g.Kv({is_translateable:sA(!1,e.t),languageCode:e.lc,languageName:e.n,url:f,vss_id:e.v,kind:e.k,format:3}))}};
rca=function(a,b){var c=$r(b);a.Fi=[];(0,g.C)(c,function(a){var b={};g.t(a.aid)&&(b.audioTrackId=a.aid);var c=a.i;c&&(b.captionTrackIndices=(0,g.E)(c.split(","),function(a){return(0,window.parseInt)(a,10)}));
b.hasDefaultTrack=g.t(a.d);b.hasDefaultTrack&&(b.defaultCaptionTrackIndex=(0,window.parseInt)(a.d,10)||void 0);b.hasForcedTrack=g.t(a.f);b.hasForcedTrack&&(b.forcedCaptionTrackIndex=(0,window.parseInt)(a.f,10));b.visibility=zca[(0,window.parseInt)(a.v,10)]||"UNKNOWN";this.Fi.push(b)},a)};
sca=function(a,b){for(var c=$r(b),d=0;d<c.length;d++){var e=c[d];a.captionTranslationLanguages.push(new g.Jv({languageCode:e.lc,languageName:e.n}))}};
pca=function(a,b){a.po=!0;a.captionTracks=[];b.captionTracks&&(0,g.C)(b.captionTracks,function(a){var b=a.baseUrl;hv(b,!0)&&(a=new g.Kv({is_translateable:!!a.isTranslatable,languageCode:a.languageCode,languageName:a.name&&g.mC(a.name),url:b,vss_id:a.vssId,kind:a.kind,format:3}),this.captionTracks.push(a))},a);
a.Fi=b.audioTracks||[];a.sn=b.defaultAudioTrackIndex||0;a.captionTranslationLanguages=b.translationLanguages?(0,g.E)(b.translationLanguages,function(a){return new g.Jv({languageCode:a.languageCode,languageName:g.mC(a.languageName)})}):[];
a.Gi=!!b.contribute&&!!b.contribute.captionsMetadataRenderer};
g.KC=function(a,b){return!!a.Hb[b]};
g.LC=function(a){return a.pa&&!a.Qe};
MC=function(a){return a.pa&&a.Qe};
NC=function(a){var b=g.qc(a.Hb);!a.pa&&0<a.startSeconds&&(b.start=a.startSeconds);return b};
yC=function(a){return a.Yd()||a.Xd()||a.Cg()||a.Hd()};
Aca=function(a){a.sa=a.sa.l};
g.OC=function(a){if(a.wq)return null;var b=a.Hb.iv_endscreen_url;b||(b=a.Pa&&a.Pa.endscreen&&a.Pa.endscreen.endscreenUrlRenderer&&a.Pa.endscreen.endscreenUrlRenderer.url);return b||null};
PC=function(a,b){return a.adFormat&&"1_5"!=a.adFormat?"adunit":b.Z};
QC=function(a,b){if(a.isAd()&&a.videoId!=b.ia)return b.ia};
RC=function(a,b){return a.Bj||"detailpage"==PC(a,b)};
SC=function(a,b){return RC(a,b)?"detailpage"==PC(a,b)?a.dl||0<a.qf:!0:!1};
TC=function(a,b){var c=1,d=g.T(b.experiments,"html5_default_ad_gain");d&&a.isAd()&&(c=d);return Math.min(1,Math.pow(10,-a.relativeLoudness/20))||c};
UC=function(a){return(0,window.isNaN)(a)?0:Math.max(((0,g.D)()-a)/1E3-30,0)};
pC=function(a){return a&&a.annotations&&(a=a.annotations[0],a.playerAnnotationsUrlsRenderer)?a.playerAnnotationsUrlsRenderer:null};
tca=function(a){var b={};(0,g.C)(a.split(","),function(a){var c=a.split("=");2==c.length?b[c[0]]=c[1]:b[a]=!0});
return b};
VC=function(a,b,c,d){this.videoData=a;this.g=b;this.reason=c;this.l=d};
WC=function(){this.endTime=this.startTime=-1;this.tn="-";this.playbackRate=1;this.visibilityState=0;this.ln="";this.volume=this.connectionType=this.Af=0;this.muted=!1};
YC=function(a){this.l=a;this.g=0;this.B=-1;this.J=this.l.Tc().volume;this.I=this.l.Tc().muted;this.C=window.NaN;this.o=0;this.Sa=[];this.A=XC(this.l);this.F=this.G=0};
g.ZC=function(a){a.A.startTime=a.o;a.A.endTime=a.g;a.Sa.length&&g.Oa(a.Sa).isEmpty()?a.Sa[a.Sa.length-1]=a.A:a.Sa.length&&a.A.isEmpty()||a.Sa.push(a.A);a.G+=a.g-a.o;a.A=XC(a.l);a.o=a.g};
$C=function(a){return a.G+a.l.l()-a.o};
aD=function(a){a.Sa.length&&a.g==a.o||g.ZC(a);var b=a.Sa;a.Sa=[];return b};
bD=function(a,b,c){c-=a.C;return b==a.g&&.5<c};
Bca=function(a,b,c,d,e,f,k,l,m,n,q,u,w){this.videoData=a;this.g=b;this.Tc=c;this.C=d;this.l=e;this.B=f;this.J=k;this.getAudioTrack=l;this.I=m;this.F=n;this.o=q;this.G=u||function(){};
this.A=null;this.L=w||function(){}};
g.cD=function(a){return Cca(a)()};
Cca=function(a){if(!a.A){var b=g.La(function(a){var b=g.P();a&&631152E6>=b&&(g.N(Error("invalid yt.global.now value: "+b)),b=(new Date).getTime()+2);return b},g.S(a.g.experiments,"html5_validate_yt_now"));
a.A=g.La(function(a){return Math.round(b()-a)/1E3},b());
a.L()}return a.A};
dD=function(a){var b=a.Tc();g.Ma(b,a.videoData.Tc());return b};
fD=function(a){if(window.navigator.connection&&window.navigator.connection.type)return eD[window.navigator.connection.type]||eD.other;if(g.S(a.g.experiments,"html5_tv_bearer")&&g.RA(a.g)){a=window.navigator.userAgent;if(/[Ww]ireless[)]/.test(a))return 3;if(/[Ww]ired[)]/.test(a))return 1}return 0};
XC=function(a){var b=new WC;b.tn=a.Tc().cc||"-";b.playbackRate=a.I();var c=a.o();0!=c&&(b.visibilityState=c);a.g.Af&&(b.Af=1);c=a.getAudioTrack();c.ab&&c.ab.id&&"und"!=c.ab.id&&(b.ln=c.ab.id);b.connectionType=fD(a);b.volume=a.Tc().volume;b.muted=a.Tc().muted;return b};
g.gD=function(a){return(a=Dca[a.toString()])?a:"YTP_ERROR_LICENSE"};
hD=function(){};
iD=function(a,b){a.g&&null!=b&&b.g==a.g.g||(a.g&&a.g.dispose(),a.g=b)};
jD=function(){g.G.call(this);this.A=this.o=null;this.G=this.F=!1;this.C=new g.Ff;g.I(this,this.C)};
kD=function(a){a=a.vh();return 1>a.length?window.NaN:a.end(a.length-1)};
lD=function(a,b){a.o&&null!=b&&b.g==a.o.g||(a.o&&a.o.dispose(),a.o=b)};
mD=function(a){return ow(a.ye(),a.getCurrentTime())};
nD=function(a){var b=a.ye();return 0<nw(b)&&a.Tb()?mw(b,a.getCurrentTime()):0};
oD=function(a){var b=a.Tb();return window.Infinity==b?1:b?nD(a)/b:0};
pD=function(a){switch(a.jf()){case 2:return"progressive.net.retryexhausted";case 3:return"fmt.decode";case 4:return"fmt.unplayable";case 5:return"drm.unavailable";default:return null}};
qD=function(a,b,c){g.bf.call(this,b,a);this.g=c||null};
Eca=function(){this.A=this.g=window.NaN;this.o=this.l=!1};
rD=function(a,b){return b>a.g&&b<a.g+5};
sD=function(a,b,c,d){if(d=1<d)a.o=!0;if(a.l)b!=a.g&&(a.l=!1);else if(0<b&&a.g==b)return c-a.A>(d||!a.o?1500:400);a.g=b;a.A=c;return!1};
g.tD=function(a,b){this.l=a||64;this.g=void 0===b?null:b};
uD=function(a,b,c){return b==a.l&&c==a.g||void 0!=b&&(b&128&&!c||b&2&&b&16)?a:new g.tD(b,c)};
vD=function(a,b){return uD(a,a.l|b)};
wD=function(a,b){return uD(a,a.l&~b)};
xD=function(a,b,c){return uD(a,(a.l|b)&~c)};
g.U=function(a,b){return!!(a.l&b)};
g.yD=function(a,b){return b.l==a.l&&b.g==a.g};
g.zD=function(a){return g.U(a,8)&&!g.U(a,64)&&!g.U(a,2)};
g.AD=function(a){return g.U(a,8)&&!g.U(a,2)&&!g.U(a,1024)};
g.BD=function(a){return g.U(a,64)&&!g.U(a,8)&&!g.U(a,4)};
g.CD=function(a){return g.U(a,1)&&!g.U(a,2)};
DD=function(a){return g.U(a,128)?-1:g.U(a,2)?0:g.U(a,64)?-1:g.U(a,1)&&!g.U(a,32)?3:g.U(a,8)?1:g.U(a,4)?2:-1};
g.ED=function(a,b){this.state=a;this.g=b};
FD=function(a,b){return g.U(a.state,b)&&!g.U(a.g,b)?1:!g.U(a.state,b)&&g.U(a.g,b)?-1:0};
HD=function(a){g.G.call(this);var b=this;this.g=a;this.l={};this.J=1;this.X=window.NaN;this.o="N";this.C=this.ca=this.Y=this.A=0;this.N=this.ia="";this.ea=0;this.la=-1;this.L=this.R=0;this.Z=this.I=!1;this.na=[];this.F=null;this.T=this.G=!1;(a=window.navigator.getBattery?window.navigator.getBattery():null)&&a.then&&a.then(function(a){b.F=a});
g.GD(this,0,"vps",["N"])};
g.GD=function(a,b,c,d){var e=a.l[c];e||(e=[],a.l[c]=e);e.push(b.toFixed(3)+":"+d.join(":"))};
KD=function(a,b){b=0<=b?b:g.cD(a.g);var c=a.g.B();if(!(0,window.isNaN)(a.fa)&&!(0,window.isNaN)(c.o)){var d=c.o-a.fa;0<d&&g.GD(a,b,"bwm",[d,(c.B-a.va).toFixed(3)])}a.fa=c.o;a.va=c.B;(0,window.isNaN)(c.bandwidthEstimate)||g.GD(a,b,"bwe",[c.bandwidthEstimate.toFixed(0)]);a.g.videoData.Qf&&c.g&&ID(a,"bwinfo",c.g);a.F&&g.GD(a,b,"bat",[a.F.level,a.F.charging?"1":"0"]);d=a.g.o();a.la!=d&&(g.GD(a,b,"vis",[d]),a.la=d);g.GD(a,b,"cmt",[a.g.l().toFixed(3)]);(d=fD(a.g))&&d!=a.ea&&(g.GD(a,b,"conn",[d]),a.ea=d);
JD(a,b,c);null!==a.g.videoData.bk&&(a.l.acc=[a.g.videoData.bk.join(":")])};
JD=function(a,b,c){if(!(0,window.isNaN)(c.l)){var d=c.l;c.A<d&&(d=c.A);g.GD(a,b,"bh",[d.toFixed(3)])}};
LD=function(a){var b=0,c;for(c in a.l)b+=c.length+xk(a.l[c],function(a,b){return a+b.length},0);
1E3<b&&(new g.L(a.B,0,a)).start()};
MD=function(a,b,c,d){var e=a.g.l();c=[c,e.toFixed(3)];d&&c.push(d);g.GD(a,b,"error",c)};
Gca=function(a,b){if(g.U(b,128))return"ER";if(g.U(b,512))return"SU";if(g.U(b,16)||g.U(b,32))return"S";var c=Fca[DD(b)];g.RA(a.g.g)&&"B"==c&&3==a.g.o()&&(c="SU");"B"==c&&g.U(b,4)&&(c="PB");return c};
ND=function(a,b){var c=a.l.cat||[];c.push(b);a.l.cat=c};
ID=function(a,b,c,d){var e=a.l.ctmp||[],f=-1!=a.na.indexOf(b);f||a.na.push(b);d&&f||(d||(c="t."+(1E3*g.cD(a.g)).toFixed()+";"+c),e.push(b+":"+c),a.l.ctmp=e,LD(a))};
OD=function(a,b,c,d){this.X=b;this.segments=[];this.experimentIds=[];this.adQueryId=null;this.Rf=this.fa=this.ca=this.Ga=this.R=this.autoplay=this.autonav=!1;this.ia="yt";this.gg=this.l=this.B=null;this.T=!1;this.A="watchtime"==c;this.o="playback"==c;this.G="delayplay"==c;this.F="atr"==c;this.Ob="engage"==c;this.fi=!1;this.Za=this.F?"/api/stats/"+c:"//"+b.yf+"/api/stats/"+c;d&&(this.fa=d.fs,d.rtn&&(this.l=d.rtn),this.A?(this.Ta=d.state,0<d.rti&&(this.B=d.rti)):(this.Ia=d.mos,this.Ua=d.volume,d.at&&
(this.adType=d.at)),d.autonav&&(this.autonav=d.autonav),d.inview&&(this.na=d.inview),d.size&&(this.la=d.size));this.Ra=g.qc(b.o);this.qb=b.va;this.experimentIds=b.experiments.experimentIds;this.ea=b.tb;this.ia=b.ca;this.region=b.region;this.userAge=b.userAge;this.userGender=b.userGender;this.ib=g.uu();this.fi=b.Ea;c=this.X;this.I=a.oauthToken||c.R;this.adFormat=a.adFormat;this.adQueryId=a.adQueryId;this.autoplay=SC(a,c);this.autonav=a.dl||this.autonav;this.contentVideoId=QC(a,c);this.gg=a.gg;this.clientPlaybackNonce=
a.clientPlaybackNonce;this.R=a.isDni;a.vssCredentialsToken&&(this.N=a.vssCredentialsToken,this.va=a.Pm);a.mdxEnvironment&&(this.mdxEnvironment=a.mdxEnvironment);this.Te=a.Te;this.we=a.we;a.xa&&(this.ra=Uv(a.xa),a.Ib&&Uv(a.Ib)!=this.ra&&(this.L=Uv(a.Ib)));this.Rf=a.Rf;this.Ah=a.Ah;a.pa&&(this.Ma=a.Qe?"dvr":"live");this.ej=a.ej;this.ge=a.ge;this.playbackId=a.playbackId;this.eventId=a.eventId;this.playlistId=a.By||a.playlistId;this.hm=a.hm;this.Ie=a.Ie;this.rf=a.rf;this.xm=a.xm;this.subscribed=a.subscribed;
this.videoId=a.videoId;this.videoMetadata=a.videoMetadata;this.visitorData=a.visitorData;this.osid=a.osid;this.bq=a.bq;this.referrer=a.referrer;this.Hj=a.fq||a.Hj;this.li=a.li;this.Fm=a.Fm;this.vg=a.vg;this.Ea=PC(a,b)};
QD=function(a){var b={ns:a.ia,el:a.Ea,cpn:a.clientPlaybackNonce,docid:a.videoId,ver:2,referrer:a.referrer,cmt:a.g(a.Te),plid:a.playbackId,ei:a.eventId,fmt:a.ra,fs:a.fa?"1":"0",rt:a.g(a.Ya),of:a.bq,adformat:a.adFormat,content_v:a.contentVideoId,euri:a.qb,lact:a.ib,live:a.Ma,cl:"202552344",mos:a.Ia,osid:a.osid,state:a.Ta,vm:a.videoMetadata,volume:a.Ua};a.adQueryId&&(b.aqi=a.adQueryId);a.subscribed&&(b.subscribed="1");g.Ma(b,a.Ra);a.autonav&&(b.autonav="1");a.autoplay&&(b.autoplay="1");a.R&&(b.dni="1");
a.ca&&(b["final"]="1");a.Rf&&(b.splay="1");a.we&&(b.delay=a.we);a.ea&&(b.hl=a.ea);a.region&&(b.cr=a.region);g.t(a.userAge)&&a.userGender&&(b.uga=a.userGender+a.userAge);g.t(a.Y)&&(b.len=a.g(a.Y));!a.A&&0<a.experimentIds.length&&(b.fexp=a.experimentIds.toString());null!=a.l&&(b.rtn=a.g(a.l));a.Hj&&(b.feature=a.Hj);a.playlistId&&(b.list=a.playlistId);a.Ie&&(b.ctrl=a.Ie);a.rf&&(b.ytr=a.rf);a.xm&&(b.ssrt="1");a.L&&(b.afmt=a.L);a.Z&&(b.lio=a.g(a.Z));a.A?(b.idpj=a.Ah,b.ldpj=a.ej,null!=a.B&&(b.rti=a.g(a.B))):
g.t(a.adType)&&(b.at=a.adType);(a.o||a.G)&&a.gg&&(b.tst=a.gg);a.la&&(a.o||a.G)&&(b.size=a.la);null!=a.na&&(a.o||a.G)&&(b.inview=a.g(a.na));a.A&&(b.volume=PD(a,(0,g.E)(a.segments,function(a){return a.volume})),b.muted=PD(a,(0,g.E)(a.segments,function(a){return a.muted?1:0})),b.st=PD(a,(0,g.E)(a.segments,function(a){return a.startTime})),b.et=PD(a,(0,g.E)(a.segments,function(a){return a.endTime})),(0,g.nk)(a.segments,function(a){return 1!=a.playbackRate})&&(b.rate=PD(a,(0,g.E)(a.segments,function(a){return a.playbackRate}))));
(0,g.nk)(a.segments,function(a){return 0!=a.visibilityState})&&(b.vis=PD(a,(0,g.E)(a.segments,function(a){return a.visibilityState})));
(0,g.nk)(a.segments,function(a){return 0!=a.connectionType})&&(b.conn=PD(a,(0,g.E)(a.segments,function(a){return a.connectionType})));
(0,g.nk)(a.segments,function(a){return 0!=a.Af})&&(b.blo=PD(a,(0,g.E)(a.segments,function(a){return a.Af})));
(0,g.nk)(a.segments,function(a){return"-"!=a.tn})&&(b.cc=(0,g.E)(a.segments,function(a){return a.tn}).join(","));
if((0,g.nk)(a.segments,function(a){return!!a.ln})){var c="au";
a.o&&(c="au_d");b[c]=(0,g.E)(a.segments,function(a){return a.ln}).join(",")}fs()&&a.N&&(b.ctt=a.N,b.cttype=a.va,b.mdx_environment=a.mdxEnvironment);
a.Ob&&(b.etype=g.t(a.C)?a.C:0);a.li&&(b.uoo=a.li);a.Fm&&(b.upt=a.Fm);a.vg&&(b.wpid=a.vg);g.S(a.X.experiments,"deprecate_vss_dallas_cache")&&(b.ddc="1");return b};
PD=function(a,b){return(0,g.E)(b,a.g).join(",")};
g.RD=function(a,b){return a.baseYtUrl+"timedtext_video?ref=player&v="+b.videoId};
SD=function(a){g.G.call(this);this.g=a;this.l=new HD(a);g.I(this,this.l);this.o=new YC(a);this.C="paused";this.F=window.NaN;this.J=[10,10,10,40];this.L=this.I=0;this.Z=this.T=this.X=this.Y=this.R=this.N=this.B=!1;this.A=window.NaN};
TD=function(a,b,c){var d=g.cD(a.g);c=(0,window.isNaN)(c)?d:c;c=Math.ceil(c);var e=a.J[a.I];a.I+1<a.J.length&&a.I++;c+=e;d=1E3*(c-d);a.F=g.Vr((0,g.A)(a.ea,a,c,b),d);return c};
UD=function(a,b){var c=dD(a.g);g.Ma(c,{state:a.C});c=new OD(a.g.videoData,a.g.g,b,c);c.Te=a.g.l();a.g.videoData.pa||(c.Y=a.g.C());if(a.g.videoData.ka){var d=Hz(a.g.videoData.ka,c.Te);d&&(c.Z=d-c.Te)}c.Ya=g.cD(a.g);c.segments=[XC(a.g)];return c};
VD=function(a,b){var c=UD(a,"watchtime");c.segments=b;c.Te=a.o.g;return c};
WD=function(a){a.o.update();return VD(a,aD(a.o))};
ZD=function(a){a.g.videoData.remarketingUrl&&!a.Y&&(XD(a,a.g.videoData.remarketingUrl),a.Y=!0);a.g.videoData.youtubeRemarketingUrl&&!a.X&&(XD(a,a.g.videoData.youtubeRemarketingUrl),a.X=!0);a.g.videoData.googleRemarketingUrl&&!a.T&&(XD(a,a.g.videoData.googleRemarketingUrl),a.T=!0);a.g.videoData.ppvRemarketingUrl&&!a.Z&&(XD(a,a.g.videoData.ppvRemarketingUrl),a.Z=!0);YD(a)};
$D=function(a){a.A=g.Wr((0,g.A)(a.G,a,"heartbeat"),3E4)};
YD=function(a){a.g.videoData.Cd.eventLabel=PC(a.g.videoData,a.g.g);a.g.videoData.Cd.playerStyle=a.g.g.playerStyle;a.g.videoData.Yl&&(a.g.videoData.Cd.feature="pyv");a.g.videoData.Cd.vid=a.g.videoData.videoId;var b=a.g.videoData.Cd;a=a.g.videoData;a=a.isAd()||!!a.Yl;b.isAd=a};
XD=function(a,b,c){a.g.g.Ea&&a.g.videoData.visitorData&&es(b)?g.ms(b,{Jc:c,headers:{"X-Goog-Visitor-Id":a.g.videoData.visitorData}}):g.Is(b,c)};
aE=function(a,b){var c=a.l;g.GD(c,g.cD(c.g),"lra",[b]);ID(c,"live-readahead-seconds",b.toString())};
bE=function(a,b){zv.call(this,a,b);this.g=!1;Av(this,"getPresentingPlayerType",this.Da);Av(this,"addInfoCardXml",this.LD);Av(this,"cueVideoByPlayerVars",this.np);Av(this,"loadVideoByPlayerVars",this.Ph);Av(this,"preloadVideoByPlayerVars",this.pj);Av(this,"seekBy",this.Ld);Av(this,"updatePlaylist",this.oE);Av(this,"updateLastActiveTime",this.nE);Av(this,"updateVideoData",this.pE);Av(this,"getPlayerResponse",this.getPlayerResponse);Av(this,"getStoryboardFormat",this.getStoryboardFormat);Av(this,"getStoryboardFrame",
this.SD);Av(this,"getStoryboardFrameIndex",this.TD);Av(this,"getStoryboardLevel",this.UD);Av(this,"getNumberOfStoryboardLevels",this.QD);Av(this,"getProgressState",this.Uf);Av(this,"getHousebrandProperties",this.OD);Av(this,"setPlaybackQualityRange",this.Wu);Av(this,"getCurrentPlaylistSequence",this.ND);Av(this,"canPlayType",this.jj);Av(this,"sendVideoStatsEngageEvent",this.He);Av(this,"setCardsVisible",this.qj);Av(this,"handleGlobalKeyDown",this.XD);Av(this,"getAudioTrack",this.getAudioTrack);Av(this,
"setAudioTrack",this.qp);Av(this,"getAvailableAudioTracks",this.getAvailableAudioTracks);Av(this,"getMaxPlaybackQuality",this.PD);Av(this,"getUserPlaybackQualityPreference",this.VD);Av(this,"setSizeStyle",this.iE);Av(this,"setUserEngagement",this.lE);Av(this,"forceFrescaUpdate",this.MD);Av(this,"setAutonav",this.Ru);Av(this,"setAutonavState",this.lp);Av(this,"showControls",this.Xu);Av(this,"hideControls",this.Vu);Av(this,"getVisibilityState",this.kf);Av(this,"shouldSendVisibilityState",this.mE);Av(this,
"getVideoContentRect",this.Uu);Av(this,"setSafetyMode",this.hE);Av(this,"setFauxFullscreen",this.cE);Av(this,"cancelPlayback",this.mp);Av(this,"getVideoStats",this.kt);Av(this,"updateSubtitlesUserSettings",this.Bl);Av(this,"getSubtitlesUserSettings",this.Og);Av(this,"resetSubtitlesUserSettings",this.pp);Av(this,"isFastLoad",this.YD);Av(this,"isInline",this.ZD);Av(this,"isPeggedToLive",this.isPeggedToLive);Av(this,"setMinimized",this.gE);Av(this,"setInline",this.eE);Av(this,"getSphericalProperties",
this.yl);Av(this,"setSphericalProperties",this.Al);Av(this,"getSphericalConfig",this.RD);Av(this,"setSphericalConfig",this.jE);Av(this,"setBlackout",this.bE);Av(this,"onAdUxClicked",this.Kd);Av(this,"getPlayerSize",this.Ng);Av(this,"setGlobalCrop",this.dE);Av(this,"wakeUpControls",this.KL);Av(this,"isMutedByMutedAutoplay",this.WB);Av(this,"getVideoAspectRatio",this.WD);Av(this,"setUseFastSizingOnWatch",this.kE);Av(this,"setInternalSize",this.fE);Av(this,"enqueueVideoByPlayerVars",this.Tu);Av(this,
"isQueueEmpty",this.aE)};
cE=function(a,b){this.o=a;this.l=b||null;this.A=!1};
fE=function(a,b,c){var d=a.o;b=g.KA(d)&&d.Mc&&RC(b,d);if(d.Nb&&(IA(d)||g.cB(d)||b)&&!a.A){a.A=!0;g.Or("TIMING_ACTION")||g.Nr("TIMING_ACTION",a.o.csiPageType);a.o.Ra&&g.Nr("CSI_SERVICE_NAME",a.o.Ra);if(a.l){d=a.l.fa;for(var e in d)(0,g.dE)(e,d[e],"");e=a.l.ca;for(var f in e)(0,g.eE)(f,e[f],"");f=a.l;f.fa={};f.ca={}}(0,g.eE)("yt_pvis",lca(),"");(0,g.eE)("yt_pt","html5","");c&&!cC("pbs","")&&a.g("pbs",c);a=a.o;g.cB(a)||IA(a)&&("blazer"!=a.playerStyle||g.S(a.experiments,"use_full_timing_library"))||!cC("_start",
"")||jC("")}};
g.gE=function(a,b,c){g.G.call(this);this.start=a;this.end=b;this.B=Hca++;a=c||{};this.Ca=a.id||"";this.C=a.priority||7;this.active=!0;this.visible=a.visible||!1;this.style=a.style||"ytp-ad-progress";this.namespace=a.namespace||"";this.color="";if(b=a.color)b=b.toString(16),this.color="#"+Array(7-b.length).join("0")+b;this.g=null;this.tooltip=a.tooltip;this.icons=a.icons?a.icons.filter(function(a){return g.fv(a)}):null;
this.visible=this.visible;this.style=this.style;this.start=this.start};
hE=function(a){return-0x8000000000000==a?"BEFORE_MEDIA_START":0==a?"MEDIA_START":0x7ffffffffffff==a?"MEDIA_END":0x8000000000000==a?"AFTER_MEDIA_END":a.toString()};
Ica=function(a,b){switch(a.style){case "ytp-chapter-marker":return b?8:5;case "ytp-ad-progress":return 6;case "ytp-time-marker":return Number.POSITIVE_INFINITY;default:return 0}};
g.iE=function(a,b){return a.start-b.start||a.C-b.C||a.B-b.B};
g.jE=function(a,b){this.type=a||"";this.id=b||""};
g.lE=function(a){g.O.call(this);this.startSeconds=0;this.jy=!1;this.Oa=0;this.title="";this.Sf=0;this.za=[];this.dj=this.De=!1;this.Yc=this.Is=this.Gj=null;this.views=0;this.sA=0!=a.fetch;this.md=[];this.Oa=Math.max(0,a.index||0);this.loop=!!a.loop;this.startSeconds=a.startSeconds||0;this.rG="1"==a.mob;this.title=a.playlist_title||"";this.description=a.playlist_description||"";this.author=a.author||a.playlist_author||"";this.eg={};a.video_id&&(this.za[this.Oa]=a);var b=a.api;b&&("string"==typeof b&&
16==b.length?a.list="PL"+b:a.playlist=b);this.ol=0;if(b=a.list)switch(a.listType){case "user_uploads":this.dj||(this.listId=new g.jE("UU","PLAYER_"+b),kE(this,"/list_ajax?style=json&action_get_user_uploads_by_user=1",{username:b}));break;case "user_favorites":this.dj||(this.listId=new g.jE("FL","PLAYER_"+b),kE(this,"/list_ajax?style=json&action_get_favorited_by_user=1",{username:b}));break;case "search":Jca(this,b);break;default:var c=a.playlist_length;c&&(this.Sf=c);this.listId=new g.jE(b.substr(0,
2),b.substr(2));(b=a.video)?(this.za=b.slice(0),this.De=!0):Kca(this)}else a.playlist&&(b=a.playlist.toString().split(","),0<this.Oa&&(this.za=[]),(0,g.C)(b,function(a){a&&this.za.push({video_id:a})},this),this.Sf=this.za.length,b=(0,g.E)(this.za,function(a){return a.video_id}),kE(this,"/list_ajax?style=json&action_get_templist=1",{video_ids:b.join(",")}),this.De=!0);
this.setShuffle(!!a.shuffle);if(b=a.suggestedQuality)this.quality=b;this.eg=zB(a,"playlist_");this.ty=(a=a.thumbnail_ids)?a.split(","):[]};
mE=function(a){return!!(a.playlist||a.list||a.api)};
nE=function(a){var b=a.Oa+1;return b>=a.Sf?0:b};
oE=function(a){var b=a.Oa-1;return 0>b?a.Sf-1:b};
pE=function(a,b){a.Oa=g.od(b,0,a.Sf-1);a.startSeconds=0};
Jca=function(a,b){if(!a.dj){a.listId=new g.jE("SR",b);var c={search_query:b};a.rG&&(c.mob="1");kE(a,"/search_ajax?style=json&embeddable=1",c)}};
Kca=function(a){if(!a.dj){var b=b||a.listId;b={list:b};var c=a.sb();c&&c.videoId&&(b.v=c.videoId);kE(a,"/list_ajax?style=json&action_get_list=1",b)}};
kE=function(a,b,c){a.sA&&g.ms(g.fh(b,c),{format:"JSON",onSuccess:(0,g.A)(function(a,b){qE(this,b)},a),
onError:(0,g.A)(function(){this.P("error")},a)})};
qE=function(a,b){if(b.video&&b.video.length){a.title=b.title;a.description=b.description;a.views=b.views;a.author=b.author;var c=b.loop;c&&(a.loop=c);c=a.sb();a.za=[];(0,g.C)(b.video,function(a){a&&(a.video_id=a.encrypted_id,this.za.push(a))},a);
a.Sf=a.za.length;var d=b.index;d?a.Oa=d:a.Li(c);a.setShuffle(!1);a.dj=!1;a.De=!0;a.ol++;a.Gj&&a.Gj()}};
rE=function(a,b,c){this.audio=a;this.video=b;this.reason=c};
sE=function(a){this.l=window.Float32Array?new window.Float32Array(a):Array(a);this.o=this.g=a-1};
tE=function(a){return a.l[a.g]||0};
Lca=function(){this.B=new sE(50);this.g=null;this.A=this.o=0;this.l=null};
uE=function(){return!("function"!=typeof window.fetch||!window.ReadableStream)};
vE=function(a){if(a.Ok())return!1;a=a.ld("content-type");return"audio/mp4"==a||"video/mp4"==a};
xE=function(a,b,c){g.O.call(this);var d=new Mca;"ULTRALOW"==a.latencyClass&&(d.A=!1);a.bj?d.o=3:g.LC(a)&&(d.o=2);var e=21530001==a.liveExperimentalContentId,f=g.S(b,"html5_live_no_streaming_impedance_mismatch")||"ULTRALOW"==a.latencyClass&&g.S(b,"html5_ull_no_streaming_impedance_mismatch")||e;d.B=f&&sC(a)&&(a.hasSubfragmentedFmp4&&(!uC(a,b)||!uE())||a.defraggedFromSubfragments);d.B&&(d.T++,e&&(d.C=g.T(b,"html5_jumbo_ull_nonstreaming_mffa_ms")||window.NaN));"ULTRALOW"==a.latencyClass&&(d.Z=2,d.F=0);
ys()&&(e=g.T(b,"html5_platform_minimum_readahead_seconds")||3,d.l=Math.max(d.l,e));g.T(b,"html5_minimum_readahead_seconds")&&(d.l=g.T(b,"html5_minimum_readahead_seconds"));g.T(b,"html5_maximum_readahead_seconds")&&(d.N=g.T(b,"html5_maximum_readahead_seconds"));g.S(b,"html5_force_adaptive_readahead")&&(d.A=!0);g.T(b,"html5_allowable_liveness_drift_chunks")&&(d.g=g.T(b,"html5_allowable_liveness_drift_chunks"));g.T(b,"html5_readahead_ratelimit")&&(d.R=g.T(b,"html5_readahead_ratelimit"));g.S(b,"html5_adaptive_readahead_enable_new_method")&&
(d.X=!0,g.T(b,"html5_adaptive_readahead_loading_ratio_samples_minimum_amount")&&(d.L=g.T(b,"html5_adaptive_readahead_loading_ratio_samples_minimum_amount")),g.T(b,"html5_adaptive_readahead_loading_ratio_samples_average_amount")&&(d.J=g.T(b,"html5_adaptive_readahead_loading_ratio_samples_average_amount")),g.T(b,"html5_adaptive_readahead_loading_ratio_sample_timespan_duration")&&(d.I=g.T(b,"html5_adaptive_readahead_loading_ratio_sample_timespan_duration")),g.T(b,"html5_adaptive_readahead_loading_ratio_adjust_factor")&&
(d.G=g.T(b,"html5_adaptive_readahead_loading_ratio_adjust_factor")),g.T(b,"html5_adaptive_readahead_size_shorten_delta")&&(d.Y=g.T(b,"html5_adaptive_readahead_size_shorten_delta")),g.T(b,"html5_adaptive_readahead_size_extend_delta")&&(d.F=g.T(b,"html5_adaptive_readahead_size_extend_delta")));switch(a.liveExperimentalContentId){case 21530001:d.g=(d.g+1)/5}this.g=d;this.A=a;this.I=c;this.o=[];this.B=0;this.C=1!=this.g.o;this.F=!1;this.G=0;b=(0,window.isNaN)(a.liveChunkReadahead)?3:a.liveChunkReadahead;
a.bj&&b--;a.isLowLatencyLiveStream&&"NORMAL"!=a.latencyClass||b++;switch(a.liveExperimentalContentId){case 21530001:b=1;break;case 2153E4:b=2}this.g.B&&b++;this.l=wE(this,b)};
zE=function(a){return yE(a)*a.l};
AE=function(a){if(a.o.length){if(1<Math.min.apply(null,a.o))return wE(a,a.l-1);if(a.g.A)return wE(a,a.l+1)}return a.l};
Pca=function(a){var b=(0,g.D)();BE(a,b);if(a.o.length<a.g.L)return!1;b=Nca(Oca(a.g.J,a.o,function(a){return a[1]}),function(b){b*=a.g.G;
return 1<=b?1-b:1/b-1});
b=wE(a,a.g.Z+(0<=b?Math.floor(b*a.g.F):Math.ceil(b*a.g.Y)));if(b==a.l)return!1;a.l=b;return!0};
Oca=function(a,b,c){var d=[];(0,g.C)(b,function(b){var e=c?c(b):b;d.length<a?d.push(e):(0,g.C)(d,function(a,b){a>e&&(d[b]=e,e=a)})});
return d};
Nca=function(a,b){return xk(a,function(a,d){return a+(b?b(d):d)},0)/a.length};
BE=function(a,b){var c=b-a.g.I,d=a.o,e=g.Qa(d,function(a){return a[0]>=c});
0<=e?d.splice(0,e):d.length=0};
DE=function(a,b){var c=CE(a);var d=a.g.g;a.F||(d=Math.max(d-1,0));d*=yE(a);return b>=c-d};
CE=function(a){return Math.max(a.I()-zE(a),a.A.rb())};
EE=function(a){return(a.l-1+a.g.g)*yE(a)};
FE=function(a,b,c){3==a.g.o&&((b=DE(a,b),c||b)?b&&(a.C=!0):a.C=!1)};
GE=function(a,b){var c=DE(a,b);a.F!=c&&a.P("livestatusshift",c);a.F=c};
yE=function(a){return a.A.ka?Gz(a.A.ka)||5:5};
wE=function(a,b){b=Math.max(Math.max(a.g.T,Math.ceil(a.g.l/yE(a))),b);return Math.min(Math.min(8,Math.floor(a.g.N/yE(a))),b)};
Mca=function(){this.T=1;this.l=0;this.N=window.Infinity;this.R=0;this.A=!0;this.g=2;this.o=1;this.B=!1;this.C=window.NaN;this.X=!1;this.L=50;this.J=10;this.I=3E4;this.G=.9;this.Z=3;this.F=this.Y=2};
IE=function(a,b){this.G=a;this.Y=b;this.g=new HE(0,0,null);this.B=8;this.A=[];this.o=[];this.C=this.I=window.NaN;this.T=this.l=this.J=0;this.F=window.NaN;this.Z=0;this.R=!1;this.N=null;this.L=0};
JE=function(a){return{startTime:a.F/a.l,duration:a.T/a.l}};
KE=function(a){a.F=window.NaN;a.T=0;a.N=null;a.L=0};
LE=function(a){return!(0,window.isNaN)(a.C)&&a.l?a.C/a.l:a.Z};
ME=function(a,b,c){var d=b.getUint32(c);b=b.getUint32(c+4);a.g=new HE(b,d,a.g);return 8};
NE=function(a){a.l&&!(0,window.isNaN)(a.I)&&(a.C=Math.floor(a.I*a.l),a.I=window.NaN)};
OE=function(a){return 0==a.g.type||1836019574==a.g.type||1952867444==a.g.type||1936286840==a.g.type||1953653094==a.g.type||1836019558==a.g.type};
PE=function(a,b,c){for(var d=c;d<b.byteLength;d++)a.A.push(b.getUint8(d));0<c&&a.o.push(new window.DataView(b.buffer,b.byteOffset,c))};
QE=function(a,b,c){return new jx(b,c,a.g.size,a.g.type,!0)};
HE=function(a,b,c){this.type=a;this.size=b;this.parent=c;this.offset=this.version=0};
Qca=function(a,b){this.l=a;this.C=this.B=!1;this.length=b?b:0;this.o=0;this.g=[];this.A=null;this.length?1!=this.l.length||this.l[0].Ja||(this.l[0].Ja=this.length):1==this.l.length||(0,g.jo)(this.l,function(a){return!!a.range})};
Rca=function(a){var b=a.length-a.o;(0,g.C)(a.g,function(a){b+=a.range.length});
return b};
Sca=function(a,b){this.l=a;this.g=b};
RE=function(a,b){if(0>b)return!0;var c=a.g.kb();return b<c||b==c&&!a.l.X||b==c&&(c=az(a.g))&&b==c.oa?!0:!1};
Tca=function(a,b,c){if(!RE(a,b))return 0;if(!a.l.g||!(0,window.isNaN)(c)&&0<c)return 2;if(0>b)return 1;c=a.g.kb();return b<c||b==c&&(a=az(a.g))&&b==a.oa&&!a.g?2:1};
Uca=function(a,b,c,d){if(RE(a,b))return d;b=0;a.l.g&&(b=.2);return c+1E3*(a.g.l+b)};
Vca=function(a,b,c,d,e){b=Tca(a,b,e);if(2==b)return d;d=b?0:1;a.l.g&&d++;return c+a.g.l*d*1E3};
Wca=function(a){this.C=a;this.A=window.NaN;this.B=[];this.o=this.g=this.l=0};
SE=function(a,b,c,d,e){this.va=null;this.l=a;this.qb=b;this.Ea=c;this.T=d;this.C=e;this.ca=this.g=window.NaN;this.ra=0;this.R=this.fa=this.o=this.B=window.NaN;this.la=this.ia=this.Z=!1;this.A=0;this.ea=pA(this.l);this.X=window.NaN;this.J=this.G=window.Infinity;this.L=window.NaN;this.na=!1;this.I=this.N=window.NaN;this.F=this.Y=null};
TE=function(a){return{rt:((0,g.D)()-a.g).toFixed(),lb:a.o.toFixed(),pt:(1E3*a.X).toFixed(),pb:a.qb.toFixed(),stall:(1E3*a.A).toFixed(),elbowTime:(a.ca-a.g).toFixed(),elbowBytes:a.ra.toFixed()}};
UE=function(a){a.I||(a.I=a.va(),3==a.I&&(a.Y=new Wca(a.l)));return a.I};
YE=function(a,b,c,d){var e=(b-a.B)/1E3,f=c-a.o,k=UE(a);if(3==k&&f){var l=a.Y;l.B.push({rl:f,xq:(0,window.isNaN)(l.A)?window.NaN:d-l.A,nP:d});l.A=d}a.Z?1==k&&0<f&&(.2<e||1024>f?(a.A+=e,.2<e&&XE(a,.05,f)):XE(a,e,f),a.la=!0):VE(a,c)&&(1==k&&(d=(b-a.g)/1E3,WE(a)||(k=a.l,k.G.g(1,d),jA(k))),a.ca=b,a.ra=c,a.Z=!0);mA(a.l,e,f);a.B=b;a.o=c};
XE=function(a,b,c){b=Math.max(b,.05);a=a.l;var d=void 0;a.g.g(void 0===d?b:d,c/b);a.o=g.P()};
dF=function(a,b,c){c=Math.round(c/1024);a.F&&a.F.push(cF(b-a.fa,c-a.R));a.fa=b;a.R=c};
VE=function(a,b){return b?a.C&&1!=UE(a)?!0:b>=a.l.policy.A:!1};
eF=function(a){return VE(a,a.o)};
fF=function(a){a.L=a.g+1E3*a.ea.delay;a.na=!1};
gF=function(a,b){var c=a.T.g[0].oa;a.G=Math.min(a.G,Uca(a.C,c,a.g,b));a.J=Math.min(a.J,Vca(a.C,c,a.g,b,a.T.o));a.G<=a.g?fF(a):(a.L=a.G,a.na=!0)};
WE=function(a){a.C&&gF(a,(0,g.D)());return a.na};
hF=function(a,b){b=void 0===b?(0,g.D)():b;if(a.C){gF(a,b);var c=a.I?a.C?1!=UE(a):!1:a.G!=a.J;if(c){if(c=a.J,b<c){a.N=a.J;return}}else c=a.G;c=Math.max(c,a.L)}else c=a.L;var d=a.qb-a.o;0>d&&a.l.policy.C&&(d=0);d=1E3*(d*a.ea.stall+d/a.ea.byterate);d=eF(a)?d+b:d+Math.max(b,c);a.N=d};
cF=function(a,b){for(var c="";4095<a;)c+=cF(4095,0),a-=4095;for(;4095<b;)c+=cF(a,4095),b-=4095,a=0;return c+("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_".charAt(a>>6&63)+"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_".charAt(a&63)+"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_".charAt(b>>6&63)+"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_".charAt(b&63))};
iF=function(a,b,c,d,e,f){this.status=0;this.J=this.response=null;this.R=d;this.B=c;this.T=e;this.F=f;this.A=[];this.o=null;this.l=this.g=0;this.Ca=Xca++;this.C=null;a=new window.Request(a,{method:"GET",credentials:"include"});(0,window.fetch)(a).then(Qr((0,g.A)(this.MK,this)),Qr((0,g.A)(this.cv,this)));(0,g.D)();this.N=this.G=this.I=!1;this.L="";b()};
nF=function(a,b){a.l+=b.length;var c=b.length;var d=jF(a)?1:Math.max(kF(a)/2,16384);c=c>=d;d=b.length+a.g>kF(a);a.N?((c||d)&&0!==a.g&&lF(a),c?a.A.push(b):mF(a,b)):(mF(a,b),a.l>=(jF(a)?1:16384)&&lF(a))};
lF=function(a){a.N=!0;a.A.push(a.o.subarray(0,a.g));a.g=0;a.o=a.I?null:new window.Uint8Array(kF(a))};
mF=function(a,b){if(b.length+a.g>kF(a)){var c=new window.Uint8Array(a.g+b.length);c.set(a.o,0);a.o=c}a.o.set(b,a.g);a.g+=b.length};
oF=function(a){a.C.read().then(Qr((0,g.A)(a.hH,a)),Qr((0,g.A)(a.cv,a)));(0,g.D)()};
qF=function(a){if(a.B){a.I=!0;if(pF(a)&&!a.A.length&&!a.g&&!a.G&&a.l){vE(a);if(!a.o||8>a.o.length)a.o=new window.Uint8Array(8);var b=new window.DataView(a.o.buffer,0,8);b.setUint32(0,8);b.setUint32(4,1936419184);a.g=8;a.l+=8}a.R()}};
jF=function(a){return a.F.Ma&&a.F.g&&vE(a)};
pF=function(a){return a.F.cd&&a.F.g&&vE(a)};
kF=function(a){a=a.Ok()||0;return Math.max(16384,.125*a)};
rF=function(a,b,c,d,e){this.status=0;this.response=null;this.l=this.o=!1;this.g=new window.XMLHttpRequest;this.g.open("GET",a);this.g.responseType="arraybuffer";this.g.withCredentials=!0;this.g.onreadystatechange=(0,g.A)(this.tE,this);this.A=d;this.C=c;this.B=e;a=Qr((0,g.A)(this.rE,this));this.g.addEventListener("load",a,!1);this.g.addEventListener("error",a,!1);this.g.send();b();this.g.addEventListener("progress",Qr((0,g.A)(this.sE,this)),!1)};
sF=function(a,b,c,d){this.o=a;this.info=b;this.timing=c;this.Z=d;this.state=1;this.g=this.Y=null;this.F=this.R=0;this.T=new g.L(this.VK,a.J,this);this.A=this.B=this.G=null;this.C=0;this.L=this.l=null;this.N=0;this.X=this.J=!1;this.I=this.o.va&&(Sy(this.info)||Ry(this.info))};
Yca=function(a,b){a.G=b};
tF=function(a){return a.B?Cy(a.B.g):""};
uF=function(a){var b=TE(a.timing);b.shost=tF(a);b.rn=a.R.toString();a.C&&(b.rc=a.C.toString());b.itag=""+Uv(a.info.g[0].g.info);b.ml=""+ +a.info.g[0].g.ac();b.sq=""+a.info.g[0].oa;410!=a.C&&500!=a.C&&503!=a.C||(b.fmt_unav="true");a.g&&a.g.tp()&&(b.msg=a.g.tp());return b};
vF=function(a){tF(a);return zy(a.Z,tF(a))};
xF=function(a){if("net.timeout"==a.A){var b=a.timing,c=(0,g.D)();c=c>b.g&&4E12>c?c:(0,g.D)();dF(b,c,1024*b.R);var d=(c-b.g)/1E3;if(2!=UE(b))if(eF(b))b.A+=(c-b.B)/1E3,kA(b.l,b.o,b.A);else{if(!WE(b)){var e=b.l;e.G.g(1,d);jA(e)}b.ca=c}e=b.l;var f=b.X,k=Ry(b.T);e.F.g(d,b.o/d);e.o=g.P();k||e.l.g(1,d-f);mA(b.l,(c-b.B)/1E3,0)}else(0,g.D)();"net.nocontent"!=a.A&&("net.timeout"==a.A||"net.connect"==a.A?(b=vF(a),b.l+=1):(b=vF(a),b.g+=1),a.info.l.g++);wF(a,7)};
yF=function(a){if(1==a.state)return!0;a=vF(a);return 100>a.l&&6>a.g};
wF=function(a,b){a.state=b;5<=a.state&&a.timing.Ff();a.G&&a.G(a)};
AF=function(a,b){if(b){var c=vF(a);c.A+=1}zF(a);a.A="net.timeout";xF(a)};
BF=function(a){return(0,g.jo)(a.info.g,function(a){return 3==a.type})};
zF=function(a){if(a.g){var b=a.g;a.g=null;b.abort()}a.timing.Ff()};
DF=function(a){var b=a.g.ld("content-type"),c=a.g.Ok();(b=(!CF(a)||!b||-1!=b.indexOf("text/plain"))&&(!c||2048>=c))&&CF(a)&&jF(a.g);return b};
Zca=function(a,b){var c=(0,g.A)(a.zK,a),d=(0,g.A)(a.CK,a),e=(0,g.A)(a.BK,a),f=(0,g.A)(a.AK,a);return a.o.F&&(a.o.Rq&&!(0,window.isNaN)(a.info.o)&&a.info.o>a.o.Zj?0:uE()&&BF(a))?new iF(b,d,e,c,f,a.o):new rF(b,d,e,c,f)};
CF=function(a){return a.g?a.g.ny():!1};
EF=function(a){return 2<=a.state&&!!a.l&&!!a.l.g.length};
FF=function(a,b){if(b||CF(a)&&!DF(a)){if(!a.l){var c;CF(a)||(c=a.g.Ln());a.l=new Qca(a.info.g,c)}for(;a.g.Fg();){c=a.l;for(var d=a.g.ey(),e=b&&!a.g.Fg(),f=0,k=0,l=g.p(c.l),m=l.next();!m.done;m=l.next())if(m=m.value,m.range&&f+m.Ja<=c.o)f+=m.Ja;else{var n=c,q=m;if(1==q.type){n.B=!0;var u=!1}else 3==q.type||4==q.type?(q=n.B&&!n.C,n.C=!0,u=q):u=!1;n=c;var w=c.o-f,H=k;q=d;u=u||m.g.Cu();var F=q.length-H;m.range&&(F=Math.min(m.Ja-w,F));w=Wx(m,m.l+w,F,m.range?m.l+w+F==m.range.length:!!e);var M=Ox(q.byteOffset,
q.length);H=Ox(q.byteOffset+H,F);n.g.push(new py(w,q.buffer,H,M,u));n=F;c.o+=n;k+=n;f+=m.Ja;if(k==d.length)break}}}};
$ca=function(a){if(!a.o.g||!(0,window.isNaN)(a.info.o)&&0<a.info.o)return!1;if(!a.g||!a.g.Zi())return!0;if(!vE(a.g))return!1;if((0,window.isNaN)(a.info.o)){var b=a.g.ld("x-head-seqnum");if(b&&(0,window.parseInt)(b,10)>a.info.g[0].oa)return!1}return!0};
GF=function(a){for(var b=new window.Uint8Array(0),c=new window.DataView(a.buffer,a.byteOffset,a.length),d=0;d<a.length-8;){var e=c.getUint32(d);if(1>=e)break;var f=c.getUint32(d+4);if(1836019574==f)d+=8;else{if(1886614376==f){f=a.subarray(d,d+e);var k=new window.Uint8Array(b.length+f.length);k.set(b);k.set(f,b.length);b=k}d+=e}}return b};
ada=function(a){a=Lx(a,1886614376);(0,g.C)(a,function(a){return!a.l});
return(0,g.E)(a,function(a){return new window.Uint8Array(a.data.buffer,a.offset+a.data.byteOffset,a.size)})};
bda=function(a){var b=xk(a,function(a,b){return a+b.length},0),c=new window.Uint8Array(b),d=0;
(0,g.C)(a,function(a){c.set(a,d);d+=a.length});
return c};
HF=function(a){return g.we(a,!0).replace(/[\.]{1,2}$/,"")};
IF=function(a,b,c){g.O.call(this);this.F=0;this.o=a;this.g=[];this.A=null;this.L=b;this.Z=c;this.B=this.G=window.NaN;this.R=null;this.Y=(0,g.A)(function(a){this.o.Uy&&(this.P("timestamprewrite",a),this.o.Uy=!1)},this);
this.T=this.J=this.C=this.l=null;this.N=!1;this.I=null;this.o.Z&&(this.l=new IE(this.o,this.Z))};
JF=function(a){return a.g.length?a.g[0]:null};
KF=function(a){return a.g.length?a.g[a.g.length-1]:null};
dda=function(a,b,c){b=cda(a,b,c);(0,g.C)(b,function(b){a.g.push(b)})};
eda=function(a){if(!a.g.length)return 0;for(var b=a.g[0].A.length,c=1;c<a.g.length;c++)a.g[c].g!=a.g[c-1].g&&(b+=a.g[c].A.length);a.A&&(b+=a.A.A.length);return b};
LF=function(a){return(0,g.E)(a.g,function(a){return a.info})};
MF=function(a,b){a.N=!1;a.I&&!a.o.yb&&a.P("placeholderrollback",a.I);a.I=null;if(a.l){var c=(0,window.isNaN)(a.B)?b.g[0].range?b.g[0].B:(0,window.isNaN)(a.l.F)?LE(a.l):JE(a.l).startTime:a.B;a.l.reset();a.J=a.T;a.B=c}a.C=null};
NF=function(a){return a.l?LE(a.l):a.G||0};
cda=function(a,b,c){if(!c.verify()||c.info.g.Bo()){var d=Ux(c.info);d.verification="1";a.P("error",d||{})}c.l&&c.info.g.info.video&&Wy(c.info.g,qy(c));c.info.o&&(a.T=c.info);if(!a.L.te()){2==c.info.g.info.containerType&&(d=qy(c),c.l&&c.info.g.info.video&&gy(d));a.C&&Xx(c.info,a.C);!a.J||(a.o.xf?Sx(a.J,c.info,!0):Tx(a.J,c.info))||(a.l&&a.l.reset(),a.G=window.NaN,a.F=0);a.J=c.info;if(a.l)b:{var e;(e=!(0,window.isNaN)(a.B))||(e=a.l,e=!(!(0,window.isNaN)(e.C)||!(0,window.isNaN)(e.I)));e&&(e=a.l,e.I=(0,window.isNaN)(a.B)?
(0,window.isNaN)(a.G)?c.info.startTime:a.G:a.B,NE(e),a.B=window.NaN);e=qy(c);e=a.l.process(e);if(d=c.info.o)d=a.l,d=!(0==d.g.type&&!d.A.length);d&&!a.o.yf&&(d=Ux(c.info),d.partialbox="1",a.P("error",d||{}));var f=b.timing;d=!!c.info.l&&1936286840!=e&&!(a.o.cd&&1936419184==e);var k=c.info.o;if(3==UE(f)&&(e=f.Y,e.B.length)){f=e.B.shift();var l=f.xq;d||(f.rl-=Math.min(f.rl,1500),f.xq=0);e.l+=f.rl;e.g+=f.xq;e.o+=(0,window.isNaN)(l)?0:l;k&&(0>=e.g||(d=e.C,k=e.g/1E3,f=e.o/1E3,d.g.g(void 0===f?k:f,e.l/k),
d.o=g.P()),e.g=0,e.l=0,e.o=0)}if(a.o.Xq&&a.o.g){if(!a.l.R&&!c.info.o){c=null;break b}}else if((0,window.isNaN)(a.l.F)){c=null;break b}e=a.l;f=c.info.g.info;if(e.o.length)if(e.R=!1,e.G.G||1!=e.o.length){d=0;l=g.p(e.o);for(k=l.next();!k.done;k=l.next())d+=k.value.byteLength;if(e.G.G){if(!e.N||e.N.length-e.L<d)e.N=new window.Uint8Array(Math.max(d,e.G.fh+Math.round(f.g*e.G.eh))),e.L=0;f=e.N;l=e.L}else f=new window.Uint8Array(d),l=0;var m=l,n=g.p(e.o);for(k=n.next();!k.done;k=n.next())k=k.value,f.set(new window.Uint8Array(k.buffer,
k.byteOffset,k.byteLength),l),l+=k.byteLength;e.o.length=0;e.G.G&&(e.L=l);e=new window.DataView(f.buffer,m,d)}else d=e.o[0],e.o.length=0,e=d;else e=null;e?(d=Ox(e.byteOffset,e.byteLength),k=a.o.G?Ox(0,e.buffer.byteLength):d,f=c.info.l+c.info.Ja-a.l.A.length-e.byteLength,l=Wx(c.info,f,e.byteLength,c.info.o),c=new py(l,e.buffer,d,k,c.l&&(!a.o.G||!f))):c=null}else a.o.Ob?e=a.Z(ty(c),1):e=(0,window.isNaN)(a.B)?(0,window.isNaN)(a.G)?c.info.startTime:a.G:a.B,a.B=window.NaN,uy(c,e)?a.G=e+vy(c):(e=Ux(c.info),
e.smst="1",a.P("error",e||{}));if(!c)return[];OF(a,c)&&(wy(c),c.o&&(a.C=c.o,a.N=!!a.l,Xx(c.info,a.C),Xx(a.J,a.C)));OF(a,c)&&g.Yv(c.info.g.info)&&Kx(qy(c),1701671783);k=c;if(a.C)if(k.info.o){a.N=!1;a.I=null;d=a.C;a.l?(k=JE(a.l),KE(a.l),e=k.startTime,k=k.duration):(e=ty(k),k=vy(k));k=new fx(d.l,e,k,d.ingestionTime,"sq/"+d.l,void 0,void 0,!1);a.P("segmentinfo",k);if(f=d.g["Cuepoint-Type"]?new sx((0,window.parseFloat)(d.g["Cuepoint-Playhead-Time-Sec"])||0,(0,window.parseFloat)(d.g["Cuepoint-Total-Duration-Sec"])||
0,d.g["Cuepoint-Context"],d.g["Cuepoint-Identifier"]||"",fda[d.g["Cuepoint-Event"]||""]||"unknown",(0,window.parseFloat)(d.g["Cuepoint-Playhead-Time-Sec"])||0):null)f.Qd+=e,a.P("cuepoint",f,d.l);e=k}else a.N&&!(0,window.isNaN)(a.l.F)?(e=a.C,d=JE(a.l).startTime,e=new fx(e.l,d,a.C.G,e.ingestionTime,"sq/"+e.l,void 0,void 0,!0),a.I=e,a.P("placeholderinfo",e),a.N=!1):e=null;else e=null;d=c;if(a.o.Xj)if(e)for(Yx(d.info,e),b=g.p(b.info.g),d=b.next();!d.done;d=b.next())Yx(d.value,e);else a.I&&Yx(d.info,a.I);
c.info.o&&(a.C=null)}b=c;if(e=a.o.Sq&&!a.L.te()&&!(0!=b.info.l&&!a.A)&&g.Yv(b.info.g.info)&&3==b.info.type)e=!(g.Yv(b.info.g.info)?b.o&&b.o.F&&xx(new window.DataView(b.g),0,1718909296):fy(new Zx(new window.DataView(b.g))));if(e&&b.info.duration&&!a.o.Z&&(b=c,a.F+=1E3*(vy(b)-b.info.duration),a.R&&Math.abs(a.F-a.R.F)>=a.o.Yj))return b=c,c=(a.R.F-a.F)/1E3,e=vy(b)+c,d=new window.DataView(b.g),d=(d=g.zx(d,1936286840))?Ix(d):window.NaN,(0,window.isNaN)(d)&&(d=b.info.g.g,k=new window.DataView(b.g),d=(k=
g.zx(k,1836476516))?Ax(k):d?Bx(d):window.NaN),(d=PF(a,b,e*d))&&d.length&&(k=Ux(b.info),k.fds=e.toFixed(3),k.com=a.F.toFixed(3),a.P("timestamprewrite",k),a.G+=c,a.F+=1E3*c),d?d:QF(a,b);if(a.o.Nc&&a.L.te()&&(0==c.info.l||a.A)&&g.Yv(c.info.g.info))return b=c,c=b.info.g.index.Mn(b.info.oa),(c=PF(a,b,c))?c:QF(a,b);RF(a,c);return[c]};
RF=function(a,b){if(a.L.info.jc)if(2==b.info.g.info.containerType){var c=new Zx(qy(b));if(ay(c,[408125543,374648427,174,28032,25152,20533,18402])){var d=dy(c,!0);c=16!=d?null:ky(c,d)}else c=null;c&&a.P("drmInfo","webm",c)}else b.info.G=ada(qy(b)),c=bda(b.info.G),0<c.length&&a.P("drmInfo","cenc",c)};
OF=function(a,b){return!a.L.te()&&0==b.info.l&&(g.Yv(b.info.g.info)||2==b.info.g.info.containerType)};
QF=function(a,b){if(a.A&&a.A!=b){var c=[a.A,b];a.A=null;return c}return[]};
PF=function(a,b,c){if(a.A){var d=a.A;var e=new window.Uint8Array(d.range.length+b.range.length);e.set(new window.Uint8Array(d.g,d.range.start,d.range.length));e.set(new window.Uint8Array(b.g,b.range.start,b.range.length),d.range.length);d=new window.DataView(e.buffer);Jx(d)}else d=qy(b),e=Jx(d),e&&e<d.byteLength||(a.A=b,d=null);if(!d)return null;c=Paa(d,c,a.Y);if(!c)return null;d=Jx(d);a.A&&(d-=a.A.range.length,a.A=null);a=sy(b,d);a[0].g=c;a[0].range=Ox(0,c.byteLength);a[0].A=Ox(0,c.byteLength);b=
a[0];c=new window.DataView(c);c=!!xx(c,0,1836019574);b.l=c;return a};
SF=function(a,b,c){this.l=b;this.A=[];this.o=new IF(a,b,c);this.R=this.B=this.g=null;this.L=0;this.I=b.info.g;this.G=!1;this.J=0;this.F=b.Ch();this.C=-1;this.ii=this.F?0:window.NaN};
TF=function(a,b){a.A.push(b);a.g=g.Oa(b.info.g)};
VF=function(a){for(;a.A.length&&6==a.A[0].state;){var b=a.A.shift();UF(a,b);b=b.timing;a.L=(b.B-b.g)/1E3}a.A.length&&EF(a.A[0])&&!Ry(a.A[0].info)&&UF(a,a.A[0])};
UF=function(a,b){if(EF(b)){b.J=!0;var c=b.l,d=c.g;c.g=[];c.A=g.Oa(d).info;(0,g.C)(d,(0,g.A)(a.T,a,b))}};
YF=function(a,b){a.l.ac();var c=WF(a,b);if(0<=c)return c;a.g=a.l.Ye(b).g[0];XF(a)&&(a.B=null);a.J=0;return a.g.startTime};
ZF=function(a){var b=0;(0,g.C)(a.A,function(a){var c=b;a=a.l&&a.l.length?Rca(a.l):Uy(a.info);b=c+a},a);
return b+=eda(a.o)};
aG=function(a){$F(a);a.o.g=[]};
bG=function(a,b){var c;for(c=0;c<a.A.length&&b!==a.A[c];c++);if(c==a.A.length)b.J&&MF(a.o,b.info),b.dispose();else{for(;c<a.A.length;){var d=a.A.pop();d.J&&MF(a.o,d.info);d.dispose()}3==b.info.g[0].type?(b.l&&b.l.A?(c=b.l.A,c=new Qx(c.type,c.g,c.range,c.oa,c.startTime+c.duration,0,c.l+c.Ja,0,!1)):(c=b.info.g[0],c=new Qx(c.type,c.g,c.range,c.oa,c.startTime,0,c.l,0,!1)),a.g=c):a.g=null}};
XF=function(a){return!!a.B&&a.B.C};
cG=function(a){var b=[];a.B&&b.push(a.B);b=g.cb(b,LF(a.o));(0,g.C)(a.A,function(a){(0,g.C)(a.info.g,function(c){a.J&&(b=(0,g.$d)(b,function(a){return!(a.g!=c.g?0:a.range&&c.range?a.range.start+a.l>=c.range.start+c.l&&a.range.start+a.l+a.Ja<=c.range.start+c.l+c.Ja:a.oa==c.oa&&a.l>=c.l&&(a.l+a.Ja<=c.l+c.Ja||c.o))}));
3!=c.type&&4!=c.type||b.push(c)})});
a.g&&!Raa(a.g,g.Oa(b),a.g.g.te())&&b.push(a.g);return b};
dG=function(a,b){if(!a.length)return!1;for(var c=b+1;c<a.length;c++)if(!Tx(a[c-1],a[c]))return!1;return!0};
WF=function(a,b,c){c=void 0===c?!1:c;if(!a.g||!a.g.Ja)return window.NaN;a=cG(a);a:{var d=c;d=void 0===d?!1:d;for(var e=-1,f=0;f<a.length;++f){var k=a[f];if(k.B<=b)if(d)e=f;else if(k.startTime+k.duration>=b){b=f;break a}}b=e}return 0>b||!dG(a,c?b:0)?window.NaN:a[b].startTime};
eG=function(a){return(0,g.nk)(a.A,function(a){return 4<=a.state})};
fG=function(a){return!(!a.g||a.g.g==a.l)};
gG=function(a){return fG(a)&&a.l.ac()&&a.g.g.info.g<a.l.info.g};
hG=function(a,b,c){return(a=KF(a.o)?KF(a.o).info:a.B)&&!a.C?a.A>b&&a.A<b+c:!1};
$F=function(a){(0,g.C)(a.A,function(a){a.J&&MF(this.o,a.info);a.dispose()},a);
a.A=[];a.g=null};
iG=function(a){return!!a.g&&-1!=a.g.oa&&a.g.oa<a.l.index.Ud()};
jG=function(a){if(a.g){var b=KF(a.o);b&&3==b.info.type&&-1==a.g.oa&&(a.g.oa=b.info.oa)}};
kG=function(a){return(0,g.nk)(a.A,function(a){return a.I})};
gda=function(a,b){this.l=a;this.g=b;this.o=1};
hda=function(a,b){var c=Math.min(2.5,lA(a.l)),d=lG(a);return b-c*d};
nG=function(a,b,c,d,e){e=void 0===e?!1:e;d/=a.o;var f=1/g.oA(a.l);var k=.9*(d-a.g.Ga);k=Math.max(k,lA(a.l)+a.l.policy.A*f);c=k/f*a.g.Pq/(b+c);a.g.vf&&(d-=a.g.Ga);c=Math.min(c,d);a.g.Ya&&e&&(c=Math.max(c,a.g.Ya));return mG(a,c,b)};
mG=function(a,b,c){return Math.ceil(Math.max(Math.max(65536,a.g.lz*c),Math.min(Math.min(a.g.T,a.g.Ea*c),Math.ceil(b*c))))};
ida=function(a,b){var c=mG(a,b.video?a.g.pr:a.g.Oe,b.g);return a.g.oe&&b.video?Math.max(c,a.g.oe):c};
lG=function(a){var b=g.oA(a.l);if(a.g.mg)return b;var c=a.g.Xy,d=1E-9+lA(a.l);b*=Math.min(1,c/(b*d));a.g.nd&&(c=((iA(a.l.l,.98)||0)-1)/2,c=Math.max(0,Math.min(1,c)),b*=1-a.g.nd*c);return b};
oG=function(a){return lG(a)/a.o};
jda=function(a,b,c,d){this.Z=a;this.F=b;this.C=c;this.G=d;this.B=bx;this.o=this.L=null;this.I="i";this.R=-1;this.l=this.A=null;this.g=[];this.T={};this.J=0;this.N=this.X=!1;this.Y=0};
kda=function(a,b,c){if(Zw(a.B,b))return null;a.F.dc&&(c=b.reason);"m"==b.reason&&a.B.isLocked()&&!b.isLocked()&&(c="a");if("m"==b.reason&&b.isLocked())return a.I=c,pG(a,b),a.J=a.g.length-1,qG(a),rG(a),a.N=a.N||a.o!=a.l,a.o=a.l,new rE(a.A,a.o,c);"r"==b.reason&&(a.R=-1);pG(a,b);rG(a);if("r"==b.reason&&a.l==a.o)return new rE(a.A,a.l,c);a.I=c;a.o&&a.l&&sG(a,a.o.info)<sG(a,a.l.info)&&(b=a.B.reason,a.X=a.X||"r"==b||"u"==b||"v"==b);return null};
lda=function(a,b){if(b.info.video){if(a.o!=b)return a.o=b,tG(a)}else a.L=b;return null};
uG=function(a,b){b.I=g.P();a.R=-1;pG(a,a.B)};
vG=function(a){for(var b=g.P()-6E4,c=g.p(a.G.videoInfos),d=c.next();!d.done;d=c.next())if(a.C.g[d.value.id].I>b)return!0;return!1};
wG=function(a){return a.B.isLocked()};
tG=function(a){var b=a.I;a.I="a";a.R=g.P();a.X=!1;return new rE(a.L,a.o,b)};
pG=function(a,b){a.B=b;var c=a.G.videoInfos;if(!wG(a)){var d=g.P()-6E4;c=(0,g.$d)(c,function(a){if(a.g>this.F.I)return!1;a=this.C.g[a.id];return a.I>d?!1:4<a.A.g||4<a.G||a.B?!1:!0},a);
if(vG(a)){var e=(0,g.$d)(c,function(a){a=Uv(a);return"140"==a||"134"==a||"243"==a});
e.length&&(c=e)}}c.length||(c=a.G.videoInfos);e=(0,g.$d)(c,b.A,b);e.length||(e=[c[0]]);e.sort((0,g.A)(function(a,b){return sG(this,a)-sG(this,b)},a));
for(c=1;c<e.length;c++){var f=e[c-1],k=e[c];f.video.width>k.video.width?(g.Ya(e,c),c--):sG(a,f)*a.F.l>sG(a,k)&&(g.Ya(e,c-1),c--)}c=e[e.length-1];a.g=e;Vaa(a.F,c)};
mda=function(a,b){if(b)a.A=a.C.g[b];else{var c=g.Ra(a.G.g,function(a){return!!a.ab&&a.ab.isDefault});
c=c||a.G.g[0];a.A=a.C.g[c.id]}qG(a)};
qG=function(a){if(!a.A.info.ab&&(a.A=a.C.g[a.G.g[0].id],1<a.G.g.length)){if(a.B.isLocked())var b=240>a.B.g;else{for(b=0;b+1<a.g.length&&"tiny"==a.g[b].video.quality;)b++;var c=oG(a.Z)/a.F.l;b=sG(a,a.A.info)+sG(a,a.g[b])>c}b&&(a.A=a.C.g[a.G.g[1].id])}};
rG=function(a){if(wG(a))a.l=a.C.g[a.g[a.g.length-1].id];else{for(var b=Math.min(a.J,a.g.length-1),c=oG(a.Z),d=sG(a,a.A.info),e=c/a.F.A-d;0<b&&!(sG(a,a.g[b])<=e);b--);for(c=c/a.F.l-d;b<a.g.length-1&&!(sG(a,a.g[b+1])>=c);b++);a.l=a.C.g[a.g[b].id];a.J=b}};
nda=function(a){var b=a.F.A,c=oG(a.Z)/b-sG(a,a.A.info);b=g.Sa(a.g,function(a){return sG(this,a)<c},a);
0>b&&(b=0);a.J=b;a.l=a.C.g[a.g[b].id]};
sG=function(a,b){if(!a.T[b.id]){var c=a.C.g[b.id].index.Zs(a.Y,15);c=b.A&&a.o&&a.o.index.Fb()?c||b.A:c||b.g;a.T[b.id]=c}return a.T[b.id]};
oda=function(a,b){var c=kc(a.C.g,function(a){return Uv(a.info)==b});
if(!c)throw Error("Itag "+b+" from server not known.");return c};
pda=function(a){var b=[];if("s"==a.B.reason||"m"==a.B.reason)return b;var c=!1;if(lba(a.C)){for(var d=Math.max(0,a.J-2);d<a.J;d++){var e=Uv(a.g[d]);Rv(a.g[d].video)||(c=!0);b.push(e)}b.reverse();if(!c&&a.F.bw)for(d=Math.max(0,a.J-3);0<=d&&!c;d--)Rv(a.g[d].video)||(c=!0,b.push(Uv(a.g[d])))}return b};
qda=function(){this.g=this.l=0;this.o=[]};
xG=function(a,b){return(a[b]<<24)+(a[b+1]<<16)+(a[b+2]<<8)+a[b+3]};
yG=function(a,b,c,d){this.l=a;this.C=b;this.B=d;this.A=c;this.g=0};
zG=function(a,b,c,d){g.O.call(this);this.g=a;this.T=b;this.R=c;this.L=d;this.N=window.NaN;this.o=this.I=this.B=null;this.l=this.F=this.G=this.C=window.NaN;this.A=!1;this.J=window.NaN};
rda=function(a,b,c,d){return a.N&&a.g&&a.F&&uE()&&(!a.gr||a.qb)?new zG(a,b,c,d):null};
AG=function(a,b){if(a.g.Zq){var c=b.info.g;if(0>=c)a.J=window.NaN;else{var d=g.oA(a.T),e=b.index.l;c=Math.max(1,d/c);a.J=Math.round(1E3*Math.max(((c-1)*e+a.g.L)/c,e-a.g.Ta))}}};
sda=function(a,b){var c=(0,g.D)()/1E3,d=c-a.C,e=c-a.G,f=e>=a.g.dd,k=!1;if(f){var l=0;!(0,window.isNaN)(b)&&b>a.F&&(l=b-a.F,a.F=b);l/e<a.g.fr&&(k=!0);a.G=c}c=d>=a.g.Ta&&!a.A;if(!f&&!c&&BG(a,b))return window.NaN;c&&(a.A=!0);a:{d=k;c=(0,g.D)()/1E3-(a.R.l()||0)-a.I.o-a.g.L;f=a.o.startTime;c=f+c;if(d){if((0,window.isNaN)(b)){CG(a,window.NaN,"n",b);f=window.NaN;break a}d=b-a.g.Ra;d<c&&(c=d)}else a.A&&(d=c+a.g.L-a.N+a.g.ir,(0,window.isNaN)(b)||(d=Math.max(d,Math.min(c,b-a.g.Ra))),c=d);f=c=Math.max(c,f)}a.l=
f;if((0,window.isNaN)(a.l))return DG(a),window.NaN;if(!k&&BG(a,b))return EG(a,b),window.NaN;if(a.l<=a.o.startTime)return CG(a,window.NaN,"y",b),DG(a),window.NaN;if(!a.L(a.l,!1))return!EG(a,b)&&k&&(CG(a,window.NaN,"t",b),DG(a)),window.NaN;k=a.l;CG(a,k,"s",b);DG(a);return k};
EG=function(a,b){return a.L(a.l,!0)?!1:(CG(a,window.NaN,"ns",b),DG(a),!0)};
BG=function(a,b){return(0,window.isNaN)(b)?!0:(0,window.isNaN)(a.l)?!1:b<a.l+(a.A?a.g.Ra:a.g.ar)};
DG=function(a){a.B=null;a.I=null;a.o=null;a.C=window.NaN;a.G=window.NaN;a.F=window.NaN;a.l=window.NaN;a.A=!1};
CG=function(a,b,c,d){var e=uF(a.B);e.ssr_sk=(1E3*b).toFixed(0);e.ssr_t=(1E3*a.l).toFixed(0);e.ssr_r=c;e.ssr_st=(1E3*a.C).toFixed(0);e.ssr_n=(0,g.D)().toFixed(0);e.ssr_f=(1E3*a.I.o).toFixed(0);e.ssr_fa=a.A?"1":"0";e.ssr_o=(1E3*a.R.l()||0).toFixed(0);e.ssr_v=(1E3*d).toFixed(0);b=a.o.g.index;$y(b,a.o.oa,!0)&&(e.ssr_ist=(1E3*b.Wc(a.o.oa)).toFixed(0),e.ssr_id=(1E3*b.lf(a.o.oa)).toFixed(0));e=eB(e);a.P("ctmp","ssr",e,!1)};
tda=function(){this.g=[];this.l=g.iE};
FG=function(a,b){for(var c=[],d=g.p(a.g),e=d.next();!e.done&&!(e=e.value,e.contains(b)&&c.push(e),e.start>b);e=d.next());return c};
uda=function(a){return a.g.slice(GG(a,0x7ffffffffffff),a.g.length)};
GG=function(a,b){var c=nb(a.g,function(a){return b-a.start||1});
return 0>c?-(c+1):c};
HG=function(a,b){for(var c=window.NaN,d=g.p(a.g),e=d.next();!e.done;e=d.next())if(e=e.value,e.contains(b)&&((0,window.isNaN)(c)||e.end<c)&&(c=e.end),e.start>b&&((0,window.isNaN)(c)||e.start<c)){c=e.start;break}return c};
IG=function(a,b,c,d){g.G.call(this);this.A=window.NaN;this.I=!1;this.G=null;this.J=this.L=this.C=!1;this.Y=a;this.Z=b;this.N=c;this.R=d;this.T=new g.L(this.o,250,this);g.I(this,this.T);this.F=new g.L(this.o,0,this);g.I(this,this.F);this.l=[];this.g=new tda};
JG=function(a,b){a.o();var c=a.g;if(1<b.length&&b.length>c.g.length)c.g=c.g.concat(b),c.g.sort(c.l);else for(var d=g.p(b),e=d.next();!e.done;e=d.next())e=e.value,!c.g.length||0<c.l(e,c.g[c.g.length-1])?c.g.push(e):g.tb(c.g,e,c.l);a.A=window.NaN;a.o()};
KG=function(a){return a.ga()?[]:a.g.g};
vda=function(a,b){var c=(0,g.$d)(KG(a),function(a){return a.namespace==b});
a.B.apply(a,c);return c};
wda=function(a,b){var c=[];if(!b.length)return c;for(var d=0;d<b.length;d++){var e=b[d];e.active&&-1==a.l.indexOf(e)&&(a.l.push(e),c.push([1,e]))}return c};
xda=function(a,b){var c=[];if(!b.length)return c;b.sort(g.iE);for(var d=0;d<b.length;d++){var e=b[d];a.l.splice(a.l.indexOf(e),1);c.push([2,e])}return c};
LG=function(){var a=this;this.g=this.l=null;this.o=new g.eg(function(b,c){a.l=b;a.g=c})};
NG=function(a,b,c,d,e){g.O.call(this,b.kr);var f=this;this.L=a;this.l=b;this.C=c;this.ib=e||null;this.g=this.o=null;this.I=new gda(a,b);this.A=null;this.F=new jda(this.I,b,this.C,d);this.Z=new g.L(this.ud,0,this);g.I(this,this.Z);this.la=new g.L(this.ud,1E3,this);g.I(this,this.la);this.ub=new g.L(this.ud,void 0,this);g.I(this,this.ub);this.Ta=new g.L(this.ud,1E4,this);g.I(this,this.Ta);this.B=window.NaN;this.N=!1;this.J=window.NaN;this.Ya=0;this.R=this.ra=this.T=!1;this.yb={};this.ia="";this.va=this.Ea=
0;this.Ua=b.Ot?new qda:null;this.Ma=new fA(5);this.Y={};this.Ia="";this.Ga=window.NaN;this.X=!1;(this.G=rda(this.l,this.L,this.Ma,function(a,b){if(f.g.l.ac()&&f.o.l.ac()&&f.A&&f.A.l&&f.A.g)if(b&&f.C.l&&(-1==f.g.C||-1==f.o.C))var c=!0;else c=MG(f.g,a,f.A.l,b),(0,window.isNaN)(c)?c=!1:(c=MG(f.o,f.l.qb?a:c,f.A.g,b),c=(0,window.isNaN)(c)?!1:!0);else c=!1;return c}))&&this.G.subscribe("ctmp",this.ae,this);
this.tb=window.NaN;this.ea=this.Za=null;this.Ra=window.NaN};
OG=function(a,b){b=b||a.g&&a.g.g&&a.g.g.startTime||a.B;var c=a.g;var d=a.F;var e=d.l&&d.l.index.Ze(b)||0;d.Y!=e&&(d.T={},d.Y=e,pG(d,d.B));e=!wG(d)&&-1<d.R&&g.P()-d.R<1E3*d.F.Nk;var f=3*sG(d,d.l.info)<oG(d.Z);if(!e||f)qG(d),rG(d),d.N=d.N||d.l!=d.o;d.l.index.Fb()||(d.Y=-1);d=d.l;c.l!=d&&(c.l=d);c=a.o;d=a.F.A;c.l!=d&&(c.l=d)};
PG=function(a,b){a.T=!0;a.ra=b};
g.QG=function(a,b){if(a.l.mr){var c=a.g.l.info.mimeType,d=a.l.jk;b.g=new rw(new qw(zw(b,a.o.l.info.mimeType)),d);b.l=new rw(new qw(zw(b,c)),d)}else c=a.g.l.info.mimeType,b.g=new qw(zw(b,a.o.l.info.mimeType)),b.l=new qw(zw(b,c));a.A=b;a.o.G=!1;a.g.G=!1;a.o.B=null;a.g.B=null;a.resume();Dw(b)&&(b.g.addEventListener("updateend",(0,g.A)(a.ud,a)),b.l.addEventListener("updateend",(0,g.A)(a.ud,a)),b.g.addEventListener("error",(0,g.A)(a.Pl,a,!0)),b.l.addEventListener("error",(0,g.A)(a.Pl,a,!1)));a.uc("msa");
dC("msa");ZB.measure&&ZB.getEntriesByName("mark_vta").length&&ZB.measure("measure_vta_to_msa","mark_vta");a.na&&a.fa&&(c=g.z("yt.scheduler.instance.enablePriorityThreshold"))&&c(1);a.l.Wj&&a.ae("toff",""+a.A.g.supports(1),!0);a.ud()};
SG=function(a){a.A&&a.A.g&&a.A.g.supports(3)&&(a.A.g.removeEventListener("updateend",(0,g.A)(a.ud,a)),a.A.l.removeEventListener("updateend",(0,g.A)(a.ud,a)),a.A.g.removeEventListener("error",(0,g.A)(a.Pl,a,!0)),a.A.l.removeEventListener("error",(0,g.A)(a.Pl,a,!1)));a.A=null;PG(a,!1);RG(a)};
TG=function(a){a.A&&Aw(a.A)&&SG(a)};
VG=function(a,b,c){if(a.T&&(!qA(a.L)||a.ra))return!1;if(a.C.l){if(1<a.l.Za&&0<b.A.length&&b.g&&-1==b.g.oa||b.A.length>=a.l.Za&&!a.l.Ia||!a.l.tx&&0<b.A.length&&!a.l.g)return!1;if(b.F)return!(0,window.isNaN)(a.Ga)}if(kG(b))return!1;if(!(b.g||a.C.l&&a.l.Ia&&b.F)){if(!b.l.ac())return!1;YF(b,a.B)}var d=b.A.length+c.A.length;(eG(b)||eG(c)||a.l.Qc&&(!a.l.Ia||!b.A.length))&&--d;if(d+1>=a.l.ak)return!1;d=b.g;if(!d)return!0;if(!Oy(d.g.A))return!1;4==d.type&&d.g.ac()&&(b.g=g.Oa(d.g.lm(d)),d=b.g);!d.C&&!d.g.hf(d)||
d.g.info.audio&&4==d.type?a=!1:gG(b)&&!a.l.Y?a=!0:(!(c=d.C||ZF(b)&&ZF(b)+ZF(c)>a.l.ia||!!(c.g&&!c.g.C&&c.g.A<d.A)&&(!a.C.l||c.g.A&&d.A))&&(c=3==d.type)&&(d=d.A,b=UG(a,b,!0),!wG(a.F)&&0<a.l.Oc&&(c=(g.P()-a.Ya)/1E3,b=Math.min(b,a.l.Oc+a.l.Pc*c)),b=a.B+b,a.l.Nb?(c=Math.min(b,yda(a)+a.l.Nb),c!=b&&a.ae("mrl","ori."+b+";mod."+c,!0),a=c):a=b,c=d>a),a=c?!1:!0);return a};
WG=function(a,b,c){if((!a.A||yw(a.A)||Dw(a.A))&&!a.N&&a.F.X){var d=a.B;a=a.I;c=nG(a,b.l.info.g,c.l.info.g,0);var e=lA(a.l)+c/g.oA(a.l);d+=Math.max(e,e+a.g.ub-c/b.l.info.g);a:{if(b.A.length){if(b.A[0].info.g[0].startTime<=d)break a;$F(b)}a=b.o;for(c=a.g.length-1;0<=c;c--)a.g[c].info.startTime>d&&a.g.pop();b.A.length?b.g=g.Oa(g.Oa(b.A).info.g):b.o.g.length?b.g=KF(b.o).info:b.g=b.B;b.g&&d<b.g.startTime&&(b.J=0,b.g=b.l.Ye(d,!0).g[0])}}};
ZG=function(a,b,c){VG(a,b,c);var d=b.g;if(b.F)d=b.l.Ye(window.Infinity),d.o=a.Ga,a.G?(c=a.G,0==d.o&&(d.B=c.J)):d.B=a.tb,TF(b,XG(a,d));else if(b.g.g.ac()){!gG(b)||a.l.Y||a.C.l||(WG(a,b,c),b.g||YF(b,a.B));d=b.g;var e=d.A-a.B,f=!d.range||0==d.Ja&&0==d.l?0:d.range.length-(d.l+d.Ja),k=d.g;if(fG(b)&&b.l.ac()){var l=Math.min(15,.5*UG(a,b,!0));l=gG(b)||e<=l}else l=!1;l&&0==f&&(a.C.l?k=b.l:(k=d.startTime+YG,d.Ja&&(k+=d.duration),YF(b,k),d=b.g,k=d.g));k.te()?(f=a.F,e=nG(a.I,k.info.g,c.l.info.g,e,0<f.g.length&&
0==f.J&&a.R),c=a.l.Me?fG(b):fG(b)&&b.l.ac(),e=d.g.Jg(d,e),e.range&&1<e.g.length&&(c||e.l.g?e=d.g.Jg(d,e.g[0].Ja):(c=e.g[e.g.length-1],k=c.Ja/e.range.length,!c.o&&.4>k&&(e=d.g.Jg(d,e.range.length-c.Ja)))),d=e):d=k.Hh(d);TF(b,XG(a,d))}else d.g.te()?(c=nG(a.I,b.l.info.g,c.l.info.g,0),d=d.g.Jg(d,c)):d=d.g.Hh(d),TF(b,XG(a,d))};
XG=function(a,b){3==b.g[b.g.length-1].type&&$G(a,lda(a.F,b.g[0].g));var c=Uy(b);c=new SE(a.L,c,hda(a.I,c),b,a.Za);a.l.hh&&(c.F=[]);var d=new sF(a.l,b,c,a.Y);c.va=function(){return $ca(d)?d.o.kg&&window.performance&&window.performance.now&&d.g&&d.g.Zi()&&CF(d)&&jF(d.g)?d.info.g[0].g.info.video?3:4:2:1};
Yca(d,(0,g.A)(a.wJ,a));3==b.g.length&&1==b.g[0].type&&2==b.g[1].type&&4==b.g[2].type&&b.g[0].g.info.video&&(d.Y=pda(a.F));d.start(Math.max(0,b.g[0].B-a.B));b.g[0].g.info.video&&(c=tF(d))&&(a.Ia=c.substr(0,c.indexOf(".")));return d};
$G=function(a,b){b&&a.P("videoformatchange",b)};
aH=function(a,b,c){a:{b=b.info;var d=a.l.Fy,e=null,f=b.g[0];if(b.range)e=Ox(b.range.start,Math.min(4096,b.range.length));else if(d){if(b.A&&0<=b.A.indexOf("/range/")){c=null;break a}e=Ox(0,4096)}else if(f.g.info.video){c=null;break a}b=new Qx(5,f.g,e,f.oa);b=new Qy([b]);b.C=c;c=b}c&&XG(a,c)};
Ada=function(a){var b=-1!=a.g.C,c=-1!=a.o.C;if(!b||!c)if(b=!b&&JF(a.g.o),c=!c&&JF(a.o.o),b||c){c=b?a.g:a.o;b=b?a.o:a.g;var d=JF(c.o).info.oa;if(-1!=b.C&&b.C!=d)Iz(a.C,d,c==a.g),zda(c,b.C),bH(a,!1,"qoe.avsync",{start:"1",target:String(b.C),actual:String(d)});else{c.C=d;c.ii=window.NaN;var e=Math.max(b.l.index.Wc(b.C),c.l.index.Wc(c.C));-1!=b.C&&(a.ea&&(a.ea.resolve(e+.1),a.ea=null),g.Zf(function(){return cH(a,e)}))}}};
zda=function(a,b){aG(a);YF(a,window.Infinity);var c=a.ii;a.o.B=c;a.ii=c;a.g.oa=b-1};
Bda=function(a){if(a.l.cu)return!1;var b;if(!(b=kG(a.g))&&(b=a.N)){b=a.I;var c=a.g,d=a.o;if(0==c.A.length&&0==d.A.length)b=!0;else{var e=0,f=LF(c.o).concat(LF(d.o));f=g.p(f);for(var k=f.next();!k.done;k=f.next())e+=k.value.Ja;c=c.l.info.g+d.l.info.g;e/=c;b=10<e?!0:10>c*(10-e)/oG(b)}(b=!b)||(b=a.g,b=0<b.A.length&&1==b.o.g.length&&JF(b.o).info.F<b.L)}if(b)return!0;if(!a.R||!a.l.na||10>a.B||360<a.g.l.info.video.g)return!1;b=hG(a.g,a.B,a.l.na)||hG(a.o,a.B,a.l.na);return(0<a.g.A.length||0<a.o.A.length||
VG(a,a.g,a.o)||VG(a,a.o,a.g))&&b};
gH=function(a,b,c,d){if(c.Yf())return!0;var e=JF(b.o);if(!e)return!1;!b.B||b.B.o||Sx(b.B,e.info)||(b.B=null,yw(a.A)&&c.abort(),c.Ug(null));var f;if(f=a.l.Mc&&a.C.o&&0==e.info.l&&(g.Yv(e.info.g.info)||a.l.qr)){if(null==c.We()){if(!(f=null==b.B||b.B.g!=e.info.g)){a:{f=b.B.G;var k=e.info.G;if(f.length!=k.length)f=!1;else{for(var l=0;l<f.length;l++)if(!g.rb(f[l],k[l])){f=!1;break a}f=!0}}f=!f}}else f=c.We()!=e.info.g.g;f=!f}f&&(g.Yv(e.info.g.info)?(Kx(qy(e),1836019574),Kx(qy(e),1718909296)):(f=new Zx(qy(e)),
k=e.range,oy(f),cy(f,524531317,!0),k.start=f.o+f.g),e.l=!1);if(!a.C.o||0==e.info.l)if(a.C.l||e.l)c.Ug(null);else if(dH(a,c,e))return!0;f=UG(a,b,!1);f=a.B+f;null!==d&&0<=d&&(f=Math.min(f,d));d=f;if(a.G)a:if(a.G.B&&b.l.info.audio){if((f=JF(b.o))&&(f=f.o)&&null!=f.A){f=f.A-1;break a}f=-1}else f=window.Infinity;else f=window.Infinity;k=b.o;if(!k.g.length||k.g[0].info.B>=d)d=null;else if(l=k.g[0].l?0:k.g[0].range.start,l>f)d=null;else{var m;for(m=1;m<k.g.length;m++){var n=k.g[m].range.start>f,q=k.g[m].g!=
k.g[m-1].g;if(k.g[m].info.B>d||n||q||k.o.Nc)break}m--;d=new g.Mx(l,Math.min(k.g[m].range.end,f))}if(!d)return!1;f=new window.Uint8Array(e.g,d.start,d.length);if(a.Ua&&e.info.g.info.video&&g.Yv(e.info.g.info)&&(k=a.Ua,0==e.info.l&&(k.l=0,k.g=0,k.o.length=0),!((0,window.isNaN)(k.l)||8>f.length))){l=new window.DataView(f.buffer,f.byteOffset);for(m=!1;!m;)if(k.l==k.g)a:if(m=k,n=f.length,m.l+7>=n){for(q=m.l;q<n;q++)m.o.push(l.getUint8(q));m=!0}else{if(0<m.o.length){for(q=0;8>m.o.length;q++)m.o.push(l.getUint8(q));
var u=xG(m.o,0);q=xG(m.o,4);m.o.length=0}else u=l.getUint32(m.g),q=l.getUint32(m.g+4);if(1836019558==q||1836019574==q||1718909296==q||1936286840==q||1701671783==q||1937013104==q||1936419184==q)m.l+=u,m.g=m.l;else if(1835295092==q)m.l+=u,m.g+=8;else{m.l=window.NaN;m=!0;break a}m=m.g>=n}else a:if(m=k,n=f.length,m.g+5>=n){for(q=m.g;q<n;q++)m.o.push(l.getUint8(q));m=!0}else{if(0<m.o.length){for(q=0;6>m.o.length;q++)m.o.push(l.getUint8(q));q=xG(m.o,0);12==q&&6==m.o[4]&&45==m.o[5]&&l.setUint8(m.g+5,63);
m.g+=q+4;m.o.length=0}for(;m.g<m.l&&m.g+5<n;){q=l.getUint32(m.g);if(0>=q){m.l=window.NaN;m=!0;break a}12==q&&6==l.getUint8(m.g+4)&&45==l.getUint8(m.g+5)&&l.setUint8(m.g+5,63);m.g+=q+4}m=m.g>=n}(0,window.isNaN)(k.l)||(k.l-=f.length,k.g-=f.length)}k=!1;3!=e.info.type||!g.Yv(e.info.g.info)&&2!=e.info.g.info.containerType||(k=g.Yv(e.info.g.info)&&a.l.Vz&&!b.G&&0==e.info.l&&0<e.info.startTime)&&uy(e,0);a:{l=g.p(b.o.g);for(m=l.next();!m.done;m=l.next()){m=m.value;if(d.end==m.range.end){l=m.info.o;break a}if(d.end<
m.range.end)break}l=!1}a:if(f=eH(a,c,f,l),"s"==f)f=!0;else{if("i"==f||"x"==f)fH(a,"checked",f,e.info);else{if("q"==f&&(e.info.g.info.video?(f=a.l,f.B=Math.floor(.8*f.B),f.R=Math.floor(.8*f.R),f.o=Math.floor(.8*f.o)):(f=a.l,f.C=Math.floor(.8*f.C),f.la=Math.floor(.8*f.la),f.o=Math.floor(.8*f.o)),c.supports(2)&&!c.Yf())){f=!1;l=c.Eb().length;for(m=0;!f&&m<l;m++)c.Eb().start(m)>e.info.A&&(c.remove(c.Eb().start(m),c.Eb().end(l-1)),f=!0);l=Math.max(0,Math.min(a.B,e.info.startTime)-5);!f&&l&&c.remove(0,
l);f=!1;break a}a.P("reattachrequired")}f=!1}if(!f)return!1;b.G=!0;if(k)uy(e,e.info.startTime),c.abort(),c.Ug(null);else{f=b.o;for(k=[];f.g.length&&(f.g[0].range.end>d.end?(m=sy(f.g[0],d.end-f.g[0].range.start+1),l=m[0],f.g[0]=m[1]):l=f.g.shift(),k.push(l),l.range.end!=d.end););k.length&&(0,g.C)(k,b.Z,b)}e.l&&e.info.g.g&&(c.Ug(e.info.g.g),a.l.ea||a.P("initsegment",c.We()));return!0};
fH=function(a,b,c,d){var e="fmt.unplayable";"i"==c&&(e="html5.invalidstate");if("x"==c||"m"==c)e="fmt.unparseable",d.g.B=e,d.g.info.video&&!vG(a.F)&&uG(a.F,d.g);d=Ux(d);d.mrs=a.A.o.readyState;d.origin=b;d.reason=c;bH(a,"i"!=c,e,d)};
hH=function(a,b,c){xba(a.C,b,c)&&c&&g.Zf(function(){return cH(a,b.startTime)})};
cH=function(a,b){!a.ga()&&a.l.Ua&&a.X&&-1!=a.g.C&&-1!=a.o.C&&(a.X=!1,a.P("seekplayerrequired",b+.1,!0))};
dH=function(a,b,c){c.info.g.ac();var d=c.info.g.g;if(null==d||b.We()==d)return!1;var e=eH(a,b,d,!0);if("s"!=e)return fH(a,"sepInit",e,c.info),!0;b.Ug(d);a.l.ea||a.P("initsegment",b.We());return b.Yf()};
eH=function(a,b,c,d){try{b.yp(c,d)}catch(e){if(11==e.code)return"i";if(12==e.code)return"x";if(22!=e.code&&0!=e.message.indexOf("Not enough storage"))return g.N(e),"u";a.l.Vj&&a.ae("quex","br."+kw(b.Eb()).replace(/,/g,"_"));return"q"}return Aw(a.A)?"m":"s"};
iH=function(a,b){b.o.subscribe("error",a.lI,a);b.o.subscribe("timestamprewrite",a.pI,a);var c=(0,g.A)(a.mI,a,b);b.o.subscribe("placeholderinfo",c,void 0);c=(0,g.A)(a.nI,a,b);b.o.subscribe("placeholderrollback",c,void 0);c=(0,g.A)(a.oI,a,b);b.o.subscribe("segmentinfo",c,void 0);b==a.g&&b.o.subscribe("cuepoint",a.jI,a);b.o.subscribe("drmInfo",a.kI,a)};
UG=function(a,b,c){if(a.T)return 1;var d=b.l.info.audio?a.l.C:a.l.B;!a.l.Y&&wG(a.F)&&(d=Math.max(d,b.l.info.audio?a.l.la:a.l.R));c&&(d+=a.l.ia);var e=wG(a.F)?b.g?b.g.g.info.g:b.l.info.g:b.I;d/=e;0<a.l.ra&&a.A&&yw(a.A)&&(b=b.l.info.video?a.A.l:a.A.g)&&!b.Yf()&&(e=lw(b.Eb(),a.B),0<=e&&(b=a.B-b.Eb().start(e),d+=Math.max(0,Math.min(b-a.l.ra,a.l.Fk))));0<a.l.o&&(d=Math.min(d,a.l.o));a.l.tb&&c&&!wG(a.F)&&(c=a.F,c=sG(c,g.Oa(c.g))+sG(c,c.G.g[0]),c=a.l.tb*(c/lG(a.I)),c<d&&15>c&&a.ae("bwcapped","1",!0),c=Math.max(c,
15),d=Math.min(d,c));return d};
yda=function(a){if(!a.ib)return window.Infinity;var b=(0,g.$d)(KG(a.ib),function(a){return"ad"==a.namespace});
b=g.p(b);for(var c=b.next();!c.done;c=b.next())if(c=c.value,c.start/1E3>a.B)return c.start/1E3;return window.Infinity};
jH=function(a){RG(a);a.G&&AG(a.G,a.g.l);var b=Math.max(NF(a.g.o),NF(a.o.o)),c=a.g;c.F=!0;c.C=-1;YF(c,window.Infinity);c.o.B=b;c.ii=b;c=a.o;c.F=!0;c.C=-1;YF(c,window.Infinity);c.o.B=b;c.ii=b;c=a.C;for(var d in c.g)ix(c.g[d].index,window.Infinity);a.l.Ua&&(a.X=!0);a.B=b;a.N=!0;g.sq(a.Z);return b+.1};
kH=function(a,b,c){if(a.l.ac())if(c){var d=MG(a,b,c);if(!(0,window.isNaN)(d))return d;aG(a);c=mw(c.Eb(),b);if((0,window.isNaN)(c))return YF(a,b);YF(a,c+YG)}else{c=WF(a,b);if(0<=c)return c;aG(a);YF(a,b)}else 0!=b&&$F(a);return b};
MG=function(a,b,c,d){d=void 0===d?!1:d;var e=mw(c.Eb(),b),f=window.NaN,k=a.B;k&&(f=mw(c.Eb(),k.g.index.Wc(k.oa)));if(e==f&&a.g&&a.g.Ja&&dG(cG(a),0))return b;a=WF(a,b,d);return 0<=a?a:window.NaN};
lH=function(a,b,c,d){c.ac()||c.C||!Oy(c.A)||(d=c.th(d?ida(a.I,c.info):0),(0,g.C)(d,function(a){if("f"!=a.g[0].g.info.l){var c=XG(this,a);!Rx(a.g[a.g.length-1])&&TF(b,c)}},a),c.C=!0)};
bH=function(a,b,c,d){a.ga()||(c=new g.dB(c,b,d),eB(c.details),a.P("error",c),b&&a.dispose())};
mH=function(a){var b={lct:a.B.toFixed(3),lsk:a.N,lmf:wG(a.F),lbw:nA(a.L).toFixed(3),lhd:lA(a.L).toFixed(3),lst:(1E9*(a.L.A.l()||0)).toFixed(3),laa:a.o.B?Vx(a.o.B):"",lva:a.g.B?Vx(a.g.B):"",lar:a.o.g?Vx(a.o.g):"",lvr:a.g.g?Vx(a.g.g):"",lvh:a.Ia};a.A&&!Aw(a.A)&&(b.lab=kw(a.A.g.Eb()),b.lvb=kw(a.A.l.Eb()));return b};
RG=function(a){a.o&&a.g&&(aG(a.o),aG(a.g))};
nH=function(a,b,c,d){a.Ga=Math.max(b-1,0);a.G&&(a.G.N=c);a.tb=d};
Cda=function(a,b){var c=b.info.video?a.g:a.o;null!=c&&lH(a,c,b,!1)};
Dda=function(a,b){var c=new g.yy;c.Pc=g.T(a.experiments,"html5_throttle_rate")||c.Pc;g.S(a.experiments,"html5_streaming_xhr")&&(c.F=!0);g.S(a.experiments,"html5_streaming_debug")&&(c.F=!0,c.Z=!0);g.T(a.experiments,"html5_max_av_sync_drift")&&(c.Yj=g.T(a.experiments,"html5_max_av_sync_drift"));var d=a.schedule;d.g.l()==d.policy.o&&(c.Oc=10);g.T(a.experiments,"html5_min_secs_between_format_selections")&&(c.Nk=g.T(a.experiments,"html5_min_secs_between_format_selections"));c.Ia=g.S(a.experiments,"html5_stop_overlapping_requests");
c.ra=g.T(a.experiments,"html5_min_readbehind_secs");c.Fk=g.T(a.experiments,"html5_min_readbehind_cap_secs");g.RA(a)&&(c.ra=g.T(a.experiments,"tvhtml5_min_readbehind_secs"));c.Ne=g.S(a.experiments,"html5_append_init_while_paused");c.tb=g.T(a.experiments,"html5_max_readahead_bandwidth_cap");c.du=g.S(a.experiments,"html5_disable_audio_append_cap");c.xf=g.S(a.experiments,"html5_disable_non_contiguous");c.Nb=g.T(a.experiments,"html5_post_interrupt_readahead");c.Vj=g.S(a.experiments,"html5_log_quota_exceeded");
c.L=g.T(a.experiments,"html5_subsegment_readahead_target_buffer_health_secs");c.Ta=g.T(a.experiments,"html5_subsegment_readahead_timeout_secs");c.ar=g.T(a.experiments,"html5_subsegment_readahead_min_buffer_health_secs");c.Ra=g.T(a.experiments,"html5_subsegment_readahead_min_buffer_health_secs_on_timeout");c.fr=g.T(a.experiments,"html5_subsegment_readahead_min_load_speed");c.dd=g.T(a.experiments,"html5_subsegment_readahead_load_speed_check_interval");c.ir=g.T(a.experiments,"html5_subsegment_readahead_seek_latency_fudge");
c.Ma=g.S(a.experiments,"html5_streaming_xhr_optimize_lengthless_mp4");c.va=g.S(a.experiments,"html5_peak_shave");c.bw=g.S(a.experiments,"html5_peak_shave_always_include_sd");c.Rq=g.S(a.experiments,"html5_restrict_streaming_xhr_on_sqless_requests");c.Zj=g.T(a.experiments,"html5_max_headm_for_streaming_xhr");c.tx=g.S(a.experiments,"html5_pipeline_manifestless_allow_nonstreaming");c.ry=g.S(a.experiments,"html5_prefer_server_bwe3");c.oe=1024*g.T(a.experiments,"html5_video_tbd_min_kb");c.Fy=g.S(a.experiments,
"html5_probe_live_using_range");c.Xq=g.S(a.experiments,"html5_streaming_xhr_buffer_mdat");c.cd=g.S(a.experiments,"html5_streaming_xhr_no_mp4_holdback_chunk");c.gh=g.S(a.experiments,"html5_last_slice_transition");c.yf=g.S(a.experiments,"html5_disable_incomplete_incremental_parse_error");c.Uq=g.S(a.experiments,"html5_store_xhr_headers_readable");c.G=g.S(a.experiments,"html5_incremental_parser_coalesce_slice_buffers");c.eh=g.T(a.experiments,"html5_incremental_parser_buffer_duration_secs");c.fh=g.T(a.experiments,
"html5_incremental_parser_buffer_extra_bytes");c.Yq=g.S(a.experiments,"html5_streaming_xhr_progress_includes_latest");c.kg=g.S(a.experiments,"html5_enable_packet_train_response_rate");if(d=g.T(a.experiments,"html5_probe_secondary_during_timeout_miss_count"))c.bc=d,c.jr=1;c.lg=g.S(a.experiments,"html5_fallbacks_delay_primary_probes");g.S(a.experiments,"html5_drm_start_from_null_constraint")&&(c.wf=!0);c.dc=g.S(a.experiments,"html5_reason_reporting_migration");c.yb=g.S(a.experiments,"html5_no_placeholder_rollbacks");
c.Zq=g.S(a.experiments,"html5_subsegment_readahead_enable_mffa");c.qb=g.S(a.experiments,"html5_platform_whitelisted_for_frame_accurate_seeks");c.gr=g.S(a.experiments,"html5_subsegment_readahead_require_whitelist");c.Bc=g.S(a.experiments,"html5_reattach_on_stuck");c.fa=g.S(a.experiments,"html5_manifestless_request_prediction");c.qr=g.S(a.experiments,"html5_webm_init_skipping");c.Me=g.S(a.experiments,"html5_adaptation_fix");c.Ga=g.T(a.experiments,"html5_request_size_padding_secs")||c.Ga;c.vf=g.S(a.experiments,
"html5_clamp_with_padding");c.Wj=g.S(a.experiments,"html5_log_timestamp_offset");c.mr=g.S(a.experiments,"html5_use_media_source_view");c.jk=g.T(a.experiments,"html5_view_offset");c.ea=g.S(a.experiments,"html5_playbackmanager_enable_notify_with_pssh_list");c.jg=g.S(a.experiments,"html5_disable_new_live_flags");c.kr=g.S(a.experiments,"html5_loader_use_async");Gs()&&(c.Nc=!0);ys()&&(c.o=240);g.Kh&&(c.R=41943040);c.Y=!Cw();g.RA(a)||!Cw()?(c.B=8388608,c.C=524288,c.Oe=5,c.ia=2097152,c.T=1048576,c.lz=1.5,
c.Ea=15,c.aw=!1,c.I=4587520,Ds()&&(c.I=786432),c.l*=1.1,c.A*=1.1,c.Mc=!0,c.R=c.B,c.la=c.C):a.l&&(c.l*=1.3,c.A*=1.3);g.Ew&&xs("crkey")&&(d="CHROMECAST/ANCHOVY"==a.o.cmodel,c.B=20971520,c.C=1572864,d&&(c.I=812500,c.J=1E3,c.pr=5,c.T=2097152));c.Ot=!g.S(a.experiments,"disable_fpa_sei_removal")&&xs("windows nt")&&(b.Cg()||b.Hd());if(sC(b)){c.mg=!0;c.Sq=!1;c.Ob=g.S(a.experiments,"html5_shrink_live_timestamps");c.Ua=c.Ob||g.S(a.experiments,"html5_manifestless_synchronized");if("ULTRALOW"==b.latencyClass||
"LOW"==b.latencyClass&&!g.S(a.experiments,"html5_disable_low_pipeline"))c.Za=2,c.ak=4;c.g=b.hasSubfragmentedFmp4;c.X=b.defraggedFromSubfragments}b.isAd()&&(c.na=0,c.Ya=0);tC(b,a.experiments)&&(c.Z=!0);uC(b,a.experiments)&&(c.Z=!0,c.F=!0);c.N=g.S(a.experiments,"html5_enable_subsegment_readahead_v3")||g.S(a.experiments,"html5_ultra_low_latency_subsegment_readahead")&&"ULTRALOW"==b.latencyClass;c.Xj=(g.S(a.experiments,"html5_manifestless_accurate_sliceinfo")||c.N)&&sC(b);c.ca=b.Qf;c.hh=c.ca&&(/^rq[a-f]/.test(b.clientPlaybackNonce)||
g.S(a.experiments,"html5_high_res_logging"));/^pp/.test(b.clientPlaybackNonce)&&(c.Zz=!0,c.Vy=!0);xs("smart-tv")&&xs("samsung")&&/(K\d{3}|KS\d{3}|KU\d{3})/.test(a.o.cmodel)&&!g.S(a.experiments,"html5_disable_move_pssh_to_moov")&&b.ka&&tz(b.ka)&&(c.Mc=!1);tz(b.ka)&&(c.Bc=!1);if(b.pa){d=Gz(b.ka);var e=g.T(a.experiments,"html5_live_abr_head_miss_fraction"),f=g.T(a.experiments,"html5_live_abr_repredict_fraction");e&&d&&(c.ib=Math.min(d*e,c.ib));f&&d&&(c.J=Math.min(1E3*d*f,c.J))}e=0;g.S(a.experiments,
"html5_live_use_alternate_bandwidth_window_sizes")&&(e=a.schedule.policy.g,b.pa&&(e=g.T(a.experiments,"ULTRALOW"==b.latencyClass?"html5_live_ultra_low_latency_bandwidth_window":b.isLowLatencyLiveStream?"html5_live_low_latency_bandwidth_window":"html5_live_normal_latency_bandwidth_window")||e));d=a.schedule;d.policy.B=sC(b)?.5:0;if(!d.policy.l&&e&&(d=d.g,e=Math.round(e*d.L),e!=d.o)){f=Array(e);var k=Math.min(e,d.C?d.o:d.A),l=d.A-k;0>l&&(l+=d.o);for(var m=0;m<k;++m)f[m]=d.B[(l+m)%d.o];for(;m<e;++m)f[m]=
window.Infinity;d.o=e;d.B=f;d.A=k%e;d.C=k==e;d.G=!0;d.J=gA(d)}c.cu=g.S(a.experiments,"html5_disable_new_live_flags")?b.ka&&b.ka.o:b.pa;c.Qc=b.pa;switch(b.liveExperimentalContentId){case 21530001:c.Ma=!0;c.fa=!0;c.N=!0;"LOW"==b.latencyClass?c.L=g.T(a.experiments,"html5_jumbo_mobile_subsegment_readahead_target"):"ULTRALOW"==b.latencyClass&&(c.L=g.T(a.experiments,"html5_jumbo_ull_subsegment_readahead_target"));c.yb=!0;break;case 2153E4:c.Ma=!0,c.fa=!0,c.N=!1}d=g.T(a.experiments,"html5_deadzone_multiplier")||
1;(e=g.T(a.experiments,"html5_sticky_reduces_discount_by"))&&"auto"!=Vu()&&(d-=e);c.l*=d;c.A*=d;if(d=g.T(a.experiments,"html5_request_sizing_multiplier"))c.Pq=d;c.o=g.T(a.experiments,"html5_max_buffer_duration")||c.o;c.ub=g.T(a.experiments,"html5_min_upgrade_health")||c.ub;Jw(a.T,Ow)&&(c.I=window.NaN);c.Ea=g.T(a.experiments,"html5_request_size_max_secs")||c.Ea;c.ig=g.S(a.experiments,"killswitch_metadata_events");"auto"!=Vu()&&(c.nd=0);c.Ry=g.S(a.experiments,"html5_rec_2020_matrix_correction_killswitch");
return c};
Eda=function(a,b,c){this.url=a;this.interval=b;this.g=c};
oH=function(a,b){this.message=a;this.number=b;this.g=new Jq};
Fda=function(a,b,c,d){this.statusCode=a;this.statusMessage=b;this.headers=c;this.message=d};
pH=function(a){var b=String.fromCharCode.apply(String,a.subarray(0,16384)),c=b.indexOf("\r\n\r\n");if(-1==c)return null;var d=b.indexOf("\r\n"),e=b.slice(0,d).match(/^GLS\/1.\d ([0-9]{1,3}) (\w+)$/);if(null==e)return null;var f=e[1];(0,window.isFinite)(f)&&(f=String(f));f=g.v(f)?/^\s*-?0x/i.test(f)?(0,window.parseInt)(f,16):(0,window.parseInt)(f,10):window.NaN;e=e[2];b=wx(b.slice(d+2));return null==b?null:new Fda(f,e,b,a.subarray(c+4))};
qH=function(a,b,c,d,e){g.G.call(this);this.B=a;this.J=b;this.F=c;this.g=d;this.l=e;this.sessionId="";this.I=this.G=this.A=this.C=null;this.ba=new g.Gt(this);g.I(this,this.ba);this.g?(this.ba.M(this.g,"message",this.zE),this.ba.M(this.g,"keystatuseschange",this.AE),this.g.closed&&this.g.closed.then(Qr((0,g.A)(this.yE,this)),null)):this.l&&(Ht(this.ba,this.l,["mskeymessage","webkitkeymessage"],this.Gw),Ht(this.ba,this.l,["mskeyerror","webkitkeyerror"],this.Fw),Ht(this.ba,this.l,["mskeyadded","webkitkeyadded"],
this.Ew))};
rH=function(a,b){this.initData=a;this.contentType=(void 0===b?"":b)||null;this.l=this.g=window.NaN;this.o=!1;this.A=[]};
sH=function(a,b){g.G.call(this);this.l=a;this.g=b;this.C={};this.A=null;this.ba=new g.Gt(this);g.I(this,this.ba);this.o=this.B=null};
tH=function(a){if(a.g.l)return a.g.l.createMediaKeys().then(Qr(function(b){a.ga()||(a.B=b,a.l.setMediaKeys(b))}));
Nz(a.g)?a.o=new (Mz())(a.g.g):Rz(a.g)?(a.o=new (Mz())(a.g.g),a.l.webkitSetMediaKeys(a.o)):Gda(a);return null};
Gda=function(a){Ht(a.ba,a.l,["keymessage","webkitkeymessage"],a.DE);Ht(a.ba,a.l,["keyerror","webkitkeyerror"],a.CE);Ht(a.ba,a.l,["keyadded","webkitkeyadded"],a.BE)};
Hda=function(a){return"widevine"==a.g.flavor&&a.g.Sj&&a.B.setServerCertificate?a.B.setServerCertificate(a.g.Sj):null};
uH=function(a,b){var c=b.subarray(4);c=String.fromCharCode.apply(null,new window.Uint16Array(c.buffer,c.byteOffset,c.byteLength/2)).match(/ek=([0-9a-f]+)/)[1];for(var d="",e=0;e<c.length;e+=2)d+=String.fromCharCode((0,window.parseInt)(c.substr(e,2),16));e=a.g.fairPlayCert;c=new window.Uint8Array(new window.ArrayBuffer(e.length));for(var f=0;f<e.length;f++)c[f]=e.charCodeAt(f);e=new window.ArrayBuffer(2*d.length);f=new window.Uint16Array(e);for(var k=0;k<d.length;k++)f[k]=d.charCodeAt(k);d=new window.Uint8Array(e);
e=0;k=new window.ArrayBuffer(b.byteLength+4+d.byteLength+4+c.byteLength);f=new window.Uint8Array(k);k=new window.DataView(k);f.set(b);e+=b.byteLength;k.setUint32(e,d.length,!0);e+=4;f.set(d,e);e+=d.length;k.setUint32(e,c.byteLength,!0);f.set(c,e+4);return f};
vH=function(a,b){var c=a.C[b.sessionId];!c&&a.A&&(c=a.A,a.A=null,c.sessionId=b.sessionId,a.C[b.sessionId]=c);return c};
xH=function(a,b,c,d,e,f){g.G.call(this);this.o=a;this.l=d;this.l.subscribe("oauthtoken",this.dv,this);this.F={session_id:e};this.I=!0;"playready"==a.flavor&&(a=(0,window.parseInt)(ew(f,"playready_first_play_expiration"),10),!(0,window.isNaN)(a)&&0<=a&&(this.F.mfpe=a),g.S(f,"html5_playready_keystatuses_killswitch")||(this.I=!1));this.Z=g.S(f,"html5_use_drm_retry");this.R=0;f=this.o.A;"fairplay"==this.o.flavor&&(f=c.initData.subarray(4),f=String.fromCharCode.apply(null,new window.Uint16Array(f.buffer,
f.byteOffset,f.byteLength/2)).replace("skd://","https://"));wH(this,f);this.G=this.J=!1;(0,g.dE)("drm_gk_s");try{var k=b.createSession(c)}catch(l){b="t.g",l instanceof window.DOMException&&(b+=";c."+l.code),this.l.P("licenseerror","drm.unavailable",!0,b,"YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK"),k=null}if(this.A=k)b=this.A,k=this.vE,f=this.uE,a=this.xE,b.C=this.wE,b.A=k,b.G=f,b.I=a,b.o=this,g.I(this,this.A);this.Y=c.A;this.B=[];this.g={};this.L=window.NaN;this.C=c.g||window.NaN};
wH=function(a,b){var c=b;var d=void 0===d?!1:d;if($u(Ida.test(c),c,d,"Drm Licensor URL")){for(var e in a.F)b=mh(b,e,a.F[e]);a.T=b}else yH(a,"drm.net",!0,"t.x")};
Jda=function(a){var b={};g.tc(b,a.F);return b};
zH=function(a){for(var b="",c=0;c<a.length;c+=2)b+=String.fromCharCode(a[c]);a=(new window.DOMParser).parseFromString(b,"text/xml").querySelector("Challenge");return new window.Uint8Array(ye(a.childNodes[0].data))};
AH=function(a){var b;if(b=a.I)a=a.A,b=!(!a.g||!a.g.keyStatuses);return b};
yH=function(a,b,c,d,e){a.ga()||a.l.P("licenseerror",b,c,d,e);c&&a.dispose()};
BH=function(a){return g.Va(a,"UHD2")?"highres":g.Va(a,"UHD1")?"hd2160":g.Va(a,"HD")?"hd1080":g.Va(a,"HD720")?"hd720":"large"};
CH=function(a,b){if(!AH(a)&&Qz(a.o)&&!b)return"large";var c=[],d=!0;if(AH(a))for(var e in a.g)"usable"==a.g[e].status&&c.push(a.g[e].type),"unknown"!=a.g[e].status&&(d=!1);if(!AH(a)||d)c=a.B;return BH(c)};
Kda=function(a){if(!a)return{};var b={};(0,g.C)(a.split(";"),function(a){a=a.split(",");2==a.length&&(b[a[1]]={type:a[0],status:"unknown"})});
return b};
DH=function(a){var b=a[0];a[0]=a[3];a[3]=b;b=a[1];a[1]=a[2];a[2]=b;b=a[4];a[4]=a[5];a[5]=b;b=a[6];a[6]=a[7];a[7]=b};
EH=function(a,b){var c=[],d;for(d in a.g)c.push.apply(c,[d,a.g[d].type,a.g[d].status]);return c.join(b)};
Lda=function(a){return AH(a)?EH(a,";"):a.B.join(";")};
Mda=function(a,b,c,d){a=new window.Uint8Array(a);a=zH(a);a={format:"RAW",method:"POST",postBody:(new oH(a,1)).message,responseType:"arraybuffer",withCredentials:!0,timeout:3E4};c=nh(c,d);g.Ns(c,a,3,500).then(function(a){a=new window.Uint8Array(a.response);(a=pH(a))&&b.update(a.message)})};
FH=function(a,b){for(var c in a.g)if("usable"==a.g[c].status&&a.g[c].type==b)return!0;return!1};
GH=function(){this.keys=[];this.values=[]};
IH=function(a,b,c,d,e){e=void 0===e?"":e;g.O.call(this);a&&(a.addKey||a.webkitAddKey)||Mz()||Tz(c);this.B=c;this.L=a;this.g=b;this.subscribe("newlicense",this.II,this);this.subscribe("newsession",this.JI,this);this.subscribe("sessionready",this.LJ,this);this.subscribe("keystatuseschange",this.EE,this);this.subscribe("hdentitled",this.OH,this);this.ia=e||g.Ku();this.Y=null;this.l=new GH;this.A=this.F=null;this.o=[];this.G="fairplay"==this.g.flavor?bx:g.S(c,"html5_drm_start_from_null_constraint")?bx:
HH;this.I=new sH(a,b);g.I(this,this.I);this.C=null;Nz(b)&&(this.C=new sH(a,b),g.I(this,this.C));this.X=2;this.ba=new g.Gt(this);g.I(this,this.ba);this.ea=this.T=!1;this.Z=null;this.J=!1;a=this.L;this.g.l?this.ba.M(a,"encrypted",this.EH):Ht(this.ba,a,Nz(this.g)?["msneedkey"]:["needkey","webkitneedkey"],this.DI);(a=tH(this.I))?a.then(Qr((0,g.A)(this.iI,this)),Qr((0,g.A)(this.SG,this))):this.J=!0;this.C&&tH(this.C);this.fa=d;this.R=this.N=!1;Tz(c)};
JH=function(a,b){a.Y=b;a.P("oauthtoken",b)};
MH=function(a,b,c){a.ea=!0;g.S(a.B,"html5_playbackmanager_enable_notify_with_pssh_list")?KH(a):Nz(a.g)||LH(a,new rH(b,c))};
Oda=function(a,b){if(Nz(a.g)&&!a.N){var c=GF(b);if(0!=c.length){var d=new rH(c);a.N=!0;window.navigator.requestMediaKeySystemAccess("com.microsoft.playready",[{initDataTypes:["keyids","cenc"],audioCapabilities:[{contentType:'audio/mp4; codecs="mp4a"'}],videoCapabilities:[{contentType:'video/mp4; codecs="avc1"'}]}]).then(function(b){b.createMediaKeys().then(function(b){Nda(a,b,d)})},null)}}};
Nda=function(a,b,c){var d=b.createSession(),e=a.l.values[0],f=Jda(e);d.addEventListener("message",function(b){Mda(b.message,d,a.g.A,f)});
d.addEventListener("keystatuseschange",function(){d.keyStatuses.forEach(function(b,c){"usable"==c&&(a.R=!0,NH(a,CH(e,a.R)))})});
d.generateRequest("cenc",c.initData)};
LH=function(a,b){a.ga()||a.T&&a.fa||(a.T=!0,a.o.push(b),1<a.o.length||KH(a))};
OH=function(a){a.ga()||(a.J=!0,KH(a))};
KH=function(a){if((!g.S(a.B,"html5_playbackmanager_enable_notify_with_pssh_list")||a.ea)&&a.J){for(;a.o.length;){var b=a.o[0];if(g.rb(a.F,b.initData))a.o.shift();else{if(a.l.get(b.initData))if("fairplay"==a.g.flavor)a.l.remove(b.initData);else{a.o.shift();continue}a:{var c=b.initData;try{for(var d=0,e=new window.DataView(c.buffer);d<e.byteLength-8;){var f=e.getUint32(d);if(1>=f)break;if(1886614376==e.getUint32(d+4)){var k=32;if(0<e.getUint8(d+8)){var l=e.getUint32(d+28);k+=16*l+4}var m=e.getUint32(d+
k-4);try{var n=new Ge(c.subarray(d+k,d+k+m)),q=new Ir;for(k=n;He(k)&&4!=k.l;)switch(k.o){case 2:var u=Le(k),w=u;Se(q,2).push(w);break;case 4:u=Le(k);Ue(q,4,u);break;case 7:u=Fe(k.g);Ue(q,7,u);break;case 9:u=Fe(k.g);Ue(q,9,u);break;case 10:u=Fe(k.g);Ue(q,10,u);break;case 11:u=Je(k);Ue(q,11,u);break;case 12:u=Fe(k.g);Ue(q,12,u);break;case 13:w=u=Le(k);Se(q,13).push(w);break;case 14:u=new Jr;w=k;var H=u,F=Kr,M=w.g.o,Z=Fe(w.g),pa=w.g.g+Z;w.g.o=pa;F(H,w);w.g.g=pa;w.g.o=M;w=q;H=u;F=Jr;var $a=w,sb=F;$a.o||
($a.o={});if(!$a.o[14]){for(var le=Se($a,14),Mh=[],Uf=0;Uf<le.length;Uf++)Mh[Uf]=new sb(le[Uf]);$a.o[14]=Mh}var Nh=w.o[14];Nh||(Nh=w.o[14]=[]);var Oh=H?H:new F,ZE=Se(w,14);Nh.push(Oh);ZE.push(Ve(Oh));break;case 1:u=Je(k);Ue(q,1,u);break;case 3:u=Ke(k);Ue(q,3,u);break;case 5:u=Ke(k);Ue(q,5,u);break;case 6:u=Ke(k);Ue(q,6,u);break;case 8:u=Le(k);Ue(q,8,u);break;default:Ie(k)}var Qw=q;if(null!=Qw){var Vf=Qw;break a}}catch($E){}}d+=f}Vf=null}catch($E){Vf=null}}if(null!=Vf)for(c=Re(Vf,7),null!=c&&(b.g=
c),c=Re(Vf,10),null!=c&&0<c&&(b.l=c),c=Se(Vf,2),c=!c.length||c[0]instanceof window.Uint8Array?c:(0,g.E)(c,Te),c=g.p(c),d=c.next();!d.done;d=c.next())b.A.push(HF(d.value));if("widevine"==a.g.flavor){a:if(c=a,(0,window.isNaN)(b.g)&&0<c.l.values.length)c=!0;else{c=g.p(c.l.values);for(d=c.next();!d.done;d=c.next())if(d.value.C==b.g){c=!0;break a}c=!1}if(c&&!g.S(a.B,"html5_dedup_by_cryptoperiod_killswitch")){a.o.shift();continue}else{a:{c=a;if(!(g.S(c.B,"disable_license_delay")||"widevine"!=c.g.flavor||
b.o||(0,window.isNaN)(b.g)))for(c=g.p(c.l.values),d=c.next();!d.done;d=c.next())if(1>=Math.abs(d.value.C-b.g)){c=!0;break a}c=!1}if(c){Pda(a,b);a.o.shift();continue}}}break}}a.o.length&&(b=a.o[0],a.l.get(b.initData),Vf=new xH(a.g,a.I,b,a,a.ia,a.B),Vf.dv(a.Y),a.l.set(b.initData,Vf))}};
Pda=function(a,b){a.A&&a.A.dispose();a.F=b.initData;a.A=new g.L(function(){a.F=null;a.A=null;b.o=!0;a.o.push(b);1<a.o.length||KH(a)},Qda(b.l));
a.A.start()};
Qda=function(a){return 1E3*Math.max(0,Math.random()*(((0,window.isNaN)(a)?120:a)-30))};
NH=function(a,b){var c=$w("auto",b,!1,"l");if(g.S(a.B,"html5_drm_start_from_null_constraint")){if(Zw(a.G,c))return}else if(ex(a.G,b))return;a.G=c;a.P("qualitychange")};
Rda=function(a,b){this.g=a;this.o=b;this.A=this.l=0};
TH=function(a,b,c,d){var e=$w("auto",Vu(),!1,"s"),f=g.S(a.g.experiments,"html5_break_sticky")&&/^i/.test(b.clientPlaybackNonce);if(ax(e)||f){e=PH(a,b);(f=QH(b.sa))||(xs("armv7")||xs("android"))&&!g.RA(a.g)&&Wv(b.sa.videoInfos[0])&&(f=g.Pv.large);f=new Yw(0,f,!1,"o");e=cx(e,f);f=0;!a.g.l||g.KA(a.g)||Hs()||g.S(a.g.experiments,"mweb_uniplayer_auto_quality")||g.S(a.g.experiments,"hls_for_vod")||(f=g.Pv.medium);var k=g.T(a.g.experiments,"html5_default_quality_cap");if(k){var l=b.sa&&!!b.sa.g&&!b.Ie,m=
g.T(a.g.experiments,"html5_quality_cap_min_age_secs");l&&m&&(l=a.g.schedule.B,l=g.P()-l>1E3*m);l&&(f=f?Math.min(f,k):k)}(k=g.T(a.g.experiments,"html5_hfr_quality_cap"))&&b.sa&&Vz(b.sa)&&(f=f?Math.min(f,k):k);f=new Yw(0,f,!1,"d");e=cx(cx(cx(cx(cx(e,f),RH(a,d)),SH(a)),a.g.yb),b.Jq)}return cx(cx(cx(b.Pj,e),b.pn),c)};
UH=function(a,b,c){g.RA(a.g)&&(c=cx(c,PH(a,b)));return c};
PH=function(a,b){if(b.sa)if(g.RA(a.g)&&Jw(a.g.T,Mw))var c=b.sa.videoInfos[0].video.g;else c=VH(a,!!b.sa.g),c=WH(c,b.sa.videoInfos).g;else c=0;c&&(c=Math.max(c,360));return new Yw(0,c,!1,"r")};
XH=function(a,b){var c=cx(b.Pj,b.pn);"auto"!=Vu()||(c=cx(c,a.g.yb));return c};
ZH=function(a,b){var c=Vu(),d=g.S(a.g.experiments,"html5_break_sticky")&&/^i/.test(b.clientPlaybackNonce);return"auto"==c||d?YH(a,b):$w("auto",c,!1,"s")};
YH=function(a,b){if(g.RA(a.g)&&Jw(a.g.T,Mw))return bx;var c=VH(a,!!b.sa.g);c=WH(c,b.sa.videoInfos);var d=c.g;(xs("armv7")||xs("android"))&&!g.RA(a.g)&&Wv(b.sa.videoInfos[0])&&(d=Math.min(d,g.Pv.large));!a.g.l||g.KA(a.g)||Hs()||g.S(a.g.experiments,"mweb_uniplayer_auto_quality")||g.S(a.g.experiments,"hls_for_vod")||(d=Math.min(d,g.Pv.medium));d=Math.max(d,g.Pv.medium);if(g.T(a.g.experiments,"html5_default_quality_cap")){var e=b.sa&&!!b.sa.g&&!b.Ie,f=g.T(a.g.experiments,"html5_quality_cap_min_age_secs");
e&&f&&(e=g.P()-a.g.schedule.B>1E3*f);e&&(d=Math.min(d,g.T(a.g.experiments,"html5_default_quality_cap")))}g.S(a.g.experiments,"html5_use_media_capabilities")&&(d=Math.min(QH(b.sa),d));g.T(a.g.experiments,"html5_hfr_quality_cap")&&Vz(b.sa)&&(d=Math.min(d,g.T(a.g.experiments,"html5_hfr_quality_cap")));c.g!=d&&(c=new Yw(c.l,d,c.o,"r"));return c};
QH=function(a){if(!a.videoInfos.length)return 0;if(null==a.videoInfos[0].o)return a.videoInfos[0].video.height;for(var b=g.p(a.videoInfos),c=b.next();!c.done;c=b.next())if(c=c.value,c.o)return c.video.height;return a.videoInfos[0].video.height};
WH=function(a,b){if(!b.length)return bx;var c=.85;4!=b[0].video.projectionType&&2!=b[0].video.projectionType&&3!=b[0].video.projectionType||Yz||(c=.45);for(var d,e,f=g.p(b),k=f.next();!k.done&&!(d=e=k.value,e=e.video,null===a||e.width*c<a.width&&e.height*c<a.height);k=f.next());return $w("auto","93"==Uv(d)?Ov(e.width,e.height):e.quality,!1,"r")};
VH=function(a,b){var c;JA(a.g)&&(c=window.screen&&window.screen.width?new g.vd(window.screen.width,window.screen.height):null);if(!c)if(a.g.xf)c=a.g.xf.clone();else if("desktop-polymer"==a.g.playerStyle&&g.S(a.g.experiments,"force_snap_player_size_for_format_size")&&YA(a.g)&&!g.S(a.g.experiments,"force_snap_player_size_for_format_size_killswitch"))if(c=a.o,c.app.g.Qc||c.app.N.isFullscreen()||c.app.isWidescreen())c=c.Ba();else a:{for(c=0;c<$H.length;c++){var d=$H[c];if(d.query.matches){c=new g.vd(d.size.width,
d.size.height);break a}}c=void 0}else c=a.o.Ba();if(EA||aI||b){d=c;var e=g.ZA(),f=g.va(void 0)?void 0:e;d.width*=e;d.height*=f}return c};
RH=function(a,b){var c=g.T(a.g.experiments,"html5_background_quality_cap"),d=g.T(a.g.experiments,"html5_background_cap_idle_secs");return!c||"auto"!=Vu()||g.uu()/1E3<d?bx:b?new Yw(0,c,!1,"v"):bx};
SH=function(a){if(!a.g.ib)return bx;a=g.T(a.g.experiments,"low_engagement_player_quality_cap");return new Yw(0,a,!1,"e")};
bI=function(a,b){b=void 0===b?null:b;var c={};this.o=(c.c1a=(0,g.A)(this.C,this),c.c3a=(0,g.A)(this.F,this),c.c6a=(0,g.A)(this.B,this),c);this.g=a;this.A=b;this.g&&this.g.Ai?this.l=g.Zr(this.g.Ai):this.l=[]};
fI=function(a,b){g.O.call(this);var c=this;this.Z=b;this.g=a;cI(this);this.X=new Sda(b);this.J=new g.Gt;g.I(this,this.J);this.L=this.A=this.o=null;this.l=window.NaN;this.C=this.g.startSeconds||0;this.B=null;this.T=window.NaN;this.I=this.F=null;this.R=this.G=!1;this.Y=new g.L(function(){var a={ii:c.l};c.A&&g.Ma(a,mH(c.A));c.o&&g.Ma(a,c.o.Ih());c.X.g&&(0,window.isFinite)(0<c.l)&&0<c.l&&dI(c)&&!c.o.getCurrentTime()&&(c.o.ob(c.l),a.elem="1");c.P("ctmp","seektimeout",eB(a))},1E4);
g.I(this,this.Y);this.N=new g.L(function(){c.G=!0;eI(c)});
g.I(this,this.N)};
iI=function(a,b){gI(a);(a.A=b)?a.A&&a.A.subscribe("seekelementrequired",a.Kx,a):hI(a)};
jI=function(a,b,c,d,e){c=void 0===c?!0:c;d=void 0===d?!1:d;e=void 0===e?0:e;b==a.l&&a.G||(a.G&&hI(a),a.I||(a.I=new LG),((0,window.isFinite)(b)||(sC(a.g)?0:a.g.pa&&a.g.sa&&!a.g.sa.g?a.o&&0<a.o.kd():1))&&(b=g.od(b,a.rb(),a.Dc(d))),a.l=b,a.P("seekto",b,c),c?(a.G=!0,eI(a)):e&&a.N.start(e))};
eI=function(a){Tda(a).then(void 0,function(){hI(a)});
Uda(a).then(function(b){a.I.resolve(b);a.P("seekend");hI(a)},function(){hI(a)});
a.Y.start();a.P("seekstart")};
Tda=function(a){if(!a.F)if(a.A)if((0,window.isFinite)(a.l))a.F=a.A.seek(a.l);else{var b=a.A;jH(b);b.ea=new LG;a.F=b.ea;a.l=a.A.getCurrentTime()}else a.F=ig(a.l);return a.F};
Uda=function(a){a.B||(a.B=new LG,kI(a));return a.B};
kI=function(a){if(a.B&&dI(a)&&!(0,window.isNaN)(a.l)&&(0,window.isFinite)(a.l)&&a.T!=a.l){!a.g.pa&&a.l>=a.Dc()-.1&&(a.l=a.Dc(),a.B.resolve(a.Dc()),a.P("ended"));try{a.o.ob(a.l),a.T=a.l,a.C=a.l}catch(b){}}};
dI=function(a){if(!a.o||0==a.o.kd())return!1;var b=0<a.o.getCurrentTime();if(0<=a.l){var c=a.o.vh();if(c.length||!b)return 0<=lw(c,a.l)}return b};
hI=function(a){a.l=window.NaN;a.T=window.NaN;a.B=null;a.F=null;a.I=null;a.G=!1;a.R=!1;a.Y.stop();a.N.stop()};
Vda=function(a){if(a.o)for(var b=g.p(["loadedmetadata","progress","seeked","seeking"]),c=b.next();!c.done;c=b.next())a.J.M(a.o,c.value,function(b){switch(b.type){case "seeking":b=a.o.getCurrentTime();if(!a.B||a.R&&b!=a.l)a.B=new LG,jI(a,b,!0),a.R=!0;break;case "seeked":a.B&&a.B.resolve(a.o.getCurrentTime());break;case "loadedmetadata":a.Z&&!g.S(a.Z.experiments,"html5_utc_start_seconds_killswitch")&&MC(a.g)&&a.g.sc&&(0,window.isFinite)(a.g.sc)&&1E9<a.g.sc&&a.g.ka?(b=a.Dc()-Hz(a.g.ka,a.Dc())+a.g.sc,
jI(a,b)):!g.S(a.Z.experiments,"html5_utc_start_seconds_killswitch")&&a.g.ka&&a.g.ka.l&&a.g.sc&&0!=a.g.sc?jI(a,a.g.sc):!(0,window.isFinite)(a.l)&&a.g.pa&&a.g.sa&&!a.g.sa.g&&(a.l=a.Dc());case "progress":kI(a)}})};
gI=function(a){a.A&&a.A.unsubscribe("seekelementrequired",a.Kx,a)};
cI=function(a){a.g&&a.g.subscribe("dataupdated",a.My,a)};
lI=function(a){a.g&&a.g.unsubscribe("dataupdated",a.My,a)};
Sda=function(a){this.g=!g.S(a.experiments,"html5_reseek_element_killswitch")};
mI=function(){var a=gt();return!(!a||"visible"==a)};
oI=function(a){var b=nI();b&&window.document.addEventListener(b,a,!1)};
pI=function(a){var b=nI();b&&window.document.removeEventListener(b,a,!1)};
nI=function(){if(window.document.visibilityState)var a="visibilitychange";else{if(!window.document[ft+"VisibilityState"])return"";a=ft+"visibilitychange"}return a};
qI=function(){g.O.call(this);this.B=0;this.o=this.g=this.l=!1;this.C=(0,g.A)(this.A,this);oI(this.C);var a=this.isFullscreen();this.F=this.o?4:mI()?3:a?2:this.g?1:this.l?5:0};
rI=function(){g.G.call(this);this.o={};this.g={};this.l=new g.L(this.A,250,this);g.I(this,this.l)};
tI=function(a,b,c,d){a.o[b]=c;a.g[b]=new sI(!!d)};
uI=function(a,b){if(a.g[b]){var c=a.g[b].g;for(var d=[];c.o!=c.g;)c.o=(c.o+1)%c.l.length,d.push(c.l[c.o]);c=d}else c=[];return c};
vI=function(a,b){return a.g[b]?tE(a.g[b].g):0};
sI=function(a){this.o=a;this.g=new sE(100);this.l=window.NaN};
wI=function(){this.g=this.l=!1};
yI=function(a,b,c,d,e,f,k,l){g.O.call(this);this.Ra=new Eca;this.N=c;this.ub=d;this.xf=f;this.fa=l;this.eh=k;c=(0,g.A)(function(a,b){"crn_endcr"!=a||g.U(this.o,32)||xI(this);e(a,b)},this);
this.J=new IG((0,g.A)(this.getCurrentTime,this),(0,g.A)(this.Bu,this),(0,g.A)(this.BC,this),c);g.I(this,this.J);this.Ga=window.NaN;this.I=null;this.yb=[];this.X=null;this.A=a;this.R=new Rda(a,this.ub);this.Nc=!0;this.L=this.B=null;this.ea=[];this.ra=new wI;this.Y=new wI;this.Nb=null;this.hh=g.S(a.experiments,"enable_uturn_error_screen")&&!g.S(a.experiments,"publish_video_data_change_on_error_killswitch");this.Oe=this.nd=this.yf=this.Ta=!1;this.bc=window.NaN;this.o=new g.tD;this.dc=[];this.tb=b;this.va=
null;this.T=window.NaN;this.Ea=new g.Gt;g.I(this,this.Ea);this.g=new g.nC;this.l=null;this.na=new g.L((0,g.A)(this.ZH,this),15E3);g.I(this,this.na);this.C=null;this.Me=this.Ua=!1;this.Ma=window.NaN;this.ig=this.cd=this.Ya=this.Za=!1;this.Pc=window.NaN;this.fh=g.S(a.experiments,"html5_force_play_on_suspend_event");this.gh=g.S(a.experiments,"html5_force_play_on_suspend_event_limited");this.Z=null;this.la=new rI;g.I(this,this.la);tI(this.la,"bufferhealth",(0,g.A)(this.Ss,this));tI(this.la,"bandwidth",
(0,g.A)(this.QA,this));tI(this.la,"networkactivity",(0,g.A)(this.SA,this),!0);tI(this.la,"livelatency",(0,g.A)(this.Ys,this));this.la.start();this.Ne=!1;this.Bc=!0;this.Oc=window.NaN;this.Qc=!1;this.Ia=1;this.G=null;this.ib=(0,g.A)(this.FC,this);oI(this.ib);this.fa.subscribe("visibilitystatechange",this.ib);this.lg=this.wf=0;this.mg=g.T(a.experiments,"html5_reattach_resource_after_timeout_limit");this.jg=0;this.F=null;g.S(this.A.experiments,"html5_new_seeking")&&Wda(this);this.ia=null;this.vf=!1;
this.oe=[];this.dd=this.kg=0};
zI=function(a){g.mu()?g.nu(a.Ma):g.Xr(a.Ma)};
JI=function(a,b,c,d){d=void 0===d?!0:d;a.ea.length=0;a.ra.reset();a.Y.reset();a.Ga=window.NaN;a.T=window.NaN;a.Ua=!1;a.Oc=window.NaN;a.Nc=!0;a.l&&a.l.sd();AI(a);BI(a);CI(a);zI(a);a.la.clear();a.Z=null;a.G=null;g.$e(a.g);if(2==a.tb||a.A.hh)b.au=!0;var e=b.Hb;var f=a.A.g;var k=a.A.Xa,l;(l=e.adformat)||(l=(e=e.attrib)&&hc(DI,e)&&hc(EI,e)?EI[e]+"_"+DI[e]:void 0);if(e=l)if((l=e.match(FI))&&5==l.length){l=e.match(FI);var m=(0,window.parseInt)(l[3],10),n=[7,8,10,5,6];l=!(1==(0,window.parseInt)(l[1],10)&&
8==m)&&0<=n.indexOf(m);f=f||k||l?e:null}else f=null;else f=null;f&&(b.adFormat=f);2==a.tb&&(b.Bj=!0);if(a.fa.isFullscreen()||a.A.g)f=g.Qu("yt-player-autonavstate"),b.autonavState=f||(a.A.g?2:a.g.autonavState);a.Bc=d;a.g=b;a.g.subscribe("dataupdated",a.oK,a);a.g.subscribe("dataloaded",a.Wr,a);a.g.subscribe("dataloaderror",a.hj,a);a.g.subscribe("onStatusFail",a.nK,a);b.endSeconds&&b.endSeconds>b.startSeconds&&GI(a,b.endSeconds);Xda(a,c);a.Za=!1;HI(a,"newdata");II(a,new g.tD);a.F&&(b=a.F,a=a.g,lI(b),
hI(b),b.g=a,b.L=null,b.C=a.startSeconds||0,cI(b))};
Xda=function(a,b){BI(a);if(!a.g.ki){var c=new Bca(a.g,a.A,b,(0,g.A)(a.gj,a),(0,g.A)(a.getCurrentTime,a),(0,g.A)(a.TA,a),(0,g.A)(a.ub.Ba,a.ub),(0,g.A)(a.getAudioTrack,a),(0,g.A)(a.Bu,a),(0,g.A)(a.Wn,a),a.xf,(0,g.A)(a.gB,a),function(){return a.N.g("qoes")});
a.C=new SD(c)}};
BI=function(a){if(a.C){var b=a.C;if(!b.ga()&&b.B){b.C="paused";var c=WD(b);c.ca=!0;c.send();c=b.l;"PL"==c.o&&(c.o="N");var d=g.cD(c.g);g.GD(c,d,"vps",[c.o]);c.B(d);g.Xr(b.A);b.dispose()}g.$e(a.C);a.C=null}};
KI=function(a){return a.l&&a.l.gf()?a.l.ha():null};
MI=function(a){if(a.g.Uc())return!0;g.LI(a,"api.invalidparam",void 0,"invalidVideodata.1");return!1};
OI=function(a,b){a.Ta=void 0===b?!1:b;if(MI(a)&&!a.ra.l){a.ra.start();if(a.C){var c=a.C.l;g.cD(c.g);c.g.videoData.dm&&ND(c,c.g.videoData.dm);c.g.videoData.Yh?ND(c,"prefetch"):(c.l.user_intent=["0"],c.G=!0);c.g.videoData.qf&&(ID(c,"reload",c.g.videoData.reloadReason),ID(c,"reloadcount",c.g.videoData.qf.toString()));c.g.videoData.bj&&ND(c,"monitor");c.g.videoData.pa&&ND(c,"live");c.g.videoData.Ie&&ID(c,"ctrl",c.g.videoData.Ie,!0);c.g.videoData.rf&&ID(c,"ytp",c.g.videoData.rf,!0);if(c.g.videoData.yx){var d=
c.g.videoData.yx.replace(/,/g,".");ID(c,"ytrexp",d,!0)}c.g.videoData.chapterMarkers.length&&ND(c,"chaptermarkers");if(!g.S(c.g.g.experiments,"html5_disable_gpu_reporting")){var e=c.g.g.experiments;d=c.g.videoData;e=g.S(e,"enable_white_noise")||g.S(e,"enable_webgl_noop")||g.S(e,"enable_gpu_logging");var f=d.Cg()||d.Xd()||d.Yd()||d.Hd();d=0==d.clientPlaybackNonce.indexOf("gp");(e||f||d)&&(d=(0,g.NI)())&&(c.l.gpu=[d])}c.X=g.Wr((0,g.A)(c.B,c),1E4)}a.Wr()}};
PI=function(a){return a.fa.isBackground()};
RI=function(a){a.l&&a.l.pe();OI(a);MI(a)&&!g.U(a.o,128)&&(a.Y.l||(a.Y.start(),II(a,vD(vD(a.o,8),1))),QI(a))};
QI=function(a){if(!a.Y.g&&a.ra.g&&!g.U(a.o,128)&&!a.ea.length){if(!a.J.C){var b=a.J;b.C=!0;b.o()}if(!SI(a)){a.B&&(b=a.B,a.yf=!!b.fa&&!!b.na);a.Y.g||(a.Y.g=!0);!a.g.pa||0<a.g.sc&&!sC(a.g)||(TI(a,window.Infinity,!0),UI(a,"readying"),PI(a)&&(a.Me=!0));if(a.C&&(b=a.C,b.g.videoData.enableCardio&&b.g.videoData.enableCardioBeforePlayback&&(b.G("connected"),$D(b)),b.g.videoData.pa)){b=b.l;var c=b.g.videoData.ka;sC(b.g.videoData)&&ND(b,"manifestless");c&&Gz(c)&&ND(b,"live-segment-"+Gz(c).toFixed(1))}a.P("playbackready",
a);cC("pbr","")||(a.N.g("pbr"),dC("pbr"))}}};
xI=function(a,b){b=void 0===b?!0:b;VI(a);var c=b?new g.tD(14):new g.tD;II(a,c)};
GI=function(a,b){a.X&&(a.J.B(a.X),a.X=null);a.X=new g.gE(1E3*b,0x7ffffffffffff);a.X.namespace="endcr";JG(a.J,[a.X])};
YI=function(a,b,c,d){a.g.xa=c;d&&WI(a,b,d);if(a.C){var e=XI(a);d=a.C.l;e=new VC(a.g,c,b,e?Uv(e):"");c=g.cD(d.g);g.GD(d,c,"vfs",[e.g.id,e.l,d.ia,e.reason]);d.ia=e.g.id;e=d.g.J();if(0<e.width&&0<e.height){e=[Math.round(e.width),Math.round(e.height)];var f=g.ZA();1<f&&e.push(f);g.GD(d,c,"view",e)}!d.T&&d.g.videoData.Qf&&ND(d,"rqs");d.T=!0;g.GD(d,c,"vps",[d.o]);d.B(c)}a.R.l=0;a.P("internalvideoformatchange",a.g,"m"==b)};
XI=function(a){if(!a.g.sa)return null;var b=ZI(a,"html5_optimality_migration")?TH(a.R,a.g,$I(a),PI(a)):cx(cx(cx(ZH(a.R,a.g),$I(a)),RH(a.R,PI(a))),SH(a.R));return g.Ra(a.g.sa.videoInfos,(0,g.A)(b.A,b))};
WI=function(a,b,c){if(c!=a.g.Ib){var d=!a.g.Ib;a.g.Ib=c;if(a.C){var e=a.C.l;c=new VC(a.g,c,b,"");var f=g.cD(e.g);c.g.id!=e.N&&(g.GD(e,f,"afs",[c.g.id,e.N,c.reason]),e.N=c.g.id)}d||a.P("internalaudioformatchange",a.g,"m"==b)}};
g.LI=function(a,b,c,d,e){var f,k;g.ic(Yda,c)?f=c:c?k=c:f="YTP_ERROR_GENERIC_WITHOUT_LINK";b={errorCode:b,errorDetail:d,message:k||g.Q(f),messageKey:f,subreason:e||""};a.hh&&HI(a,"dataloaderror");II(a,uD(a.o,128,b));zI(a);CI(a);g.aJ(a)};
Zda=function(a,b){a.ea=a.ea.filter(function(a){return b!=a});
a.Y.l&&QI(a)};
SI=function(a){var b;(b=!!a.ea.length)||(a=a.J.g.g[0],b=!!a&&-0x8000000000000>=a.start);return b};
dJ=function(a,b){a.l&&bJ(a);if(!a.o.isError()){var c=wD(a.o,512);!g.U(c,8)||!ZI(a,"htlm5_ended_buffering_killswitch")&&g.U(c,2)||(c=vD(c,1));II(a,c)}a.l=b;a.l.wl(a.Qc);a.l.Jd(a.Ia);$da(a);cJ(a);if(a.F){c=a.F;var d=a.l;g.It(c.J);(c.o=d)?Vda(c):hI(c)}};
cJ=function(a){if(g.S(a.A.experiments,"html5_prewarm_mse")&&Uw()&&Cw())try{a.l.Xl()}catch(b){}};
bJ=function(a){if(a.F){var b=a.getCurrentTime();0<b&&(a.F.C=b);b=a.F;g.It(b.J);b.o=null;hI(b)}eJ(a);a.B&&(g.sq(a.B.Z),PG(a.B,!1));a.na.stop();a.l&&(!a.Y.l||a.o.isError()||g.U(a.o,2)||II(a,vD(a.o,512)),AI(a),g.It(a.Ea),a.l.sd(),a.l=null)};
iJ=function(a){if(!g.U(a.o,128))if(a.Ne)a.Ne=!1,fJ(a);else if(RI(a),g.U(a.o,64)&&II(a,vD(a.o,8)),a.Y.g&&a.l)if(a.g.sa){if(a.g.pa){var b=a.getCurrentTime()<a.rb()-15;var c=g.LC(a.g)&&g.U(a.o,4);if(b||c)c?(TI(a,window.Infinity,!0),UI(a,"unpauseLiveOnly")):(TI(a,a.rb(),!0),UI(a,"outOfWindow"));!gJ(a,void 0,!0)&&a.isPeggedToLive()&&(TI(a,window.Infinity,!0),UI(a,"peggedToLive"));if(b=g.S(a.A.experiments,"html5_new_seeking")&&g.U(a.o,256)&&a.g.Ed&&a.F)b=a.F,b=b.G&&!(0,window.isFinite)(b.l);if(b){II(a,
xD(a.o,8,4));return}}hJ(a)?a.A.Xj?g.Vr((0,g.A)(a.Cj,a),0):a.Cj():a.Cj()}else b=a.g.pa&&!g.Vw()?"html5.unsupportedlive":a.g.jc?"fmt.unplayable":"fmt.noneavailable",g.LI(a,b,"YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK","selectableFormats.1")};
jJ=function(a){if(!a.g.sa)return[];if(ZI(a,"html5_optimality_migration"))var b=UH(a.R,a.g,$I(a));else b=$I(a),g.RA(a.A)&&(b=cx(b,YH(a.R,a.g)));b=b||bx;a=(0,g.$d)(a.g.sa.videoInfos,(0,g.A)(b.A,b));b=[];for(var c={},d=0;d<a.length;d++){var e=a[d].video;c[e.quality]||(b.push(e),c[e.quality]=!0)}return b};
kJ=function(a){return ZI(a,"html5_optimality_migration")?TH(a.R,a.g,$I(a),PI(a)):cx(cx(cx(cx(cx(XH(a.R,a.g),ZH(a.R,a.g)),RH(a.R,PI(a))),a.g.Jq),$I(a)),SH(a.R))};
$I=function(a){return a.I?a.I.G:rC(a.g)&&a.g.sa.g&&tz(a.g.ka)?g.S(a.A.experiments,"html5_drm_start_from_null_constraint")?bx:HH:bx};
lJ=function(a,b){if(!a.ga()&&!g.U(a.o,128)&&rC(a.g)){"m"==b&&ax(a.g.Pj)&&(b="a");var c=kJ(a);if(a.g.sa.g){if(a.B){var d=a.B,e=b;if(!d.ga()&&!Zw(d.F.B,c)&&d.g){$G(d,kda(d.F,c,e));OG(d);e=wG(d.F)&&"m"==c.reason&&d.F.N;var f=d.l.wf&&"l"==c.reason&&fG(d.g);c="b"==c.reason;e||f||c?d.P("reattachrequired"):(gG(d.g)&&WG(d,d.g,d.o),g.sq(d.Z))}}}else{ZI(a,"html5_reason_reporting_migration")&&(b=c.reason);d=a.g;a:if(e=a.g.ie,c.g){f=g.p(e);for(var k=f.next();!k.done;k=f.next()){k=k.value;var l=k.ze(),m=g.Pv[l.video.quality];
if((!c.o||"auto"!=l.video.quality)&&m<=c.g){c=k;break a}}c=e[e.length-1]}else c=e[0];d.he=c;YI(a,b,a.g.he.ze())}g.zD(a.o)&&iJ(a)}};
aea=function(a){a.G=new xE(a.g,a.A.experiments,function(){return mJ(a,!0)});
a.F&&(a.F.L=a.G);a.C&&aE(a.C,zE(a.G))};
g.nJ=function(a){wba(a.g.ka,{cpn:a.g.clientPlaybackNonce,c:a.A.o.c,cver:a.A.o.cver});var b=Dda(a.A,a.g);a.B=new NG(a.A.schedule,b,a.g.ka,a.g.sa,a.J);a.B.subscribe("initsegment",a.QH,a);a.B.subscribe("newDrmInfo",a.FI,a);a.B.subscribe("videoformatchange",a.cI,a);a.B.subscribe("audioformatchange",a.bI,a);a.B.subscribe("error",a.hj,a);a.B.subscribe("ctmp",a.Wa,a);a.B.subscribe("seekelementrequired",a.aL,a);a.B.subscribe("seekplayerrequired",(0,g.A)(function(a,b){TI(this,a,!0,void 0,b)},a));
a.B.subscribe("reattachrequired",a.XK,a);a.B.subscribe("metadata",a.Cw,a);a.B.subscribe("constraint",a.mK,a);b=g.Va(a.ea,"spacecast")||a.Ta&&!g.S(a.A.experiments,"html5_preload_media");var c=a.getAudioTrack();c=c.ab.isDefault?void 0:c;a.B.initialize(a.g.startSeconds,kJ(a),b,c);a.g.probeUrl&&(a.B.ia=a.g.probeUrl);(a.ea.length||a.Ta)&&PG(a.B,!1);a.F&&iI(a.F,a.B);a.G&&nH(a.B,a.G.l,EE(a.G),a.G.g.C);a.yb=[]};
Wda=function(a){a.F=new fI(a.g,a.A);a.F.subscribe("seekto",function(b,c){oJ(a,b);c||pJ(a);qJ(a,b);a.P("seekto",a,b)});
a.F.subscribe("seekstart",function(){return rJ(a)});
a.F.subscribe("ended",function(){return xI(a)});
a.F.subscribe("pausemediaelement",function(){return VI(a,!0)});
a.F.subscribe("resumemediaelement",function(){g.U(a.o,8)&&a.Cj()});
a.F.subscribe("ctmp",a.Wa,a)};
CI=function(a){a.B&&(a.B.dispose(),a.B=null,a.F&&iI(a.F,null));eJ(a)};
eJ=function(a){a.L&&(a.L.dispose(),a.L=null)};
tJ=function(a){if(a.L)return a.L.No;ZI(a,"html5_disable_loader_reorder")&&sJ(a);bea(a);return a.L?a.L.No:null};
bea=function(a){if(ZI(a,"html5_application_media_source"))a.P("requestmediasource",a);else{try{var b=a.l.Pk()}catch(c){g.N(c,"WARNING"),c.message="window.URL object overwritten by external code",window.setTimeout(function(){throw c;},0),g.LI(a,a.g.jc?"drm.unavailable":"html5.missingapi","YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK","updateMs.1")}uJ(a,b)}};
uJ=function(a,b){ZI(a,"html5_disable_loader_reorder")||sJ(a);a.L=b;Gaa(a.L,function(b){try{if(g.S(a.A.experiments,"html5_mse_fix_killswitch")||a.L&&(!b||a.L==b))if(a.Oe)a.nd=!0;else{var c=a.gj();!c&&sC(a.g)&&(c=3600);a.L.o.duration=c;g.QG(a.B,a.L)}}catch(e){g.N(e,"WARNING"),a.hj(new g.dB("fmt.unplayable",!0,{msi:"1",ename:e.name}))}})};
sJ=function(a){a.B?a.B.seek(a.getCurrentTime()):g.nJ(a)};
cea=function(a){return 403==a.details.rc?(a=a.errorCode,"net.badstatus"==a||"manifest.net.retryexhausted"==a):!1};
vJ=function(a){return a.Ya?!1:a.g.Ed?10>a.g.qf:!a.g.qf};
fJ=function(a){a.Ya||(a.Ya=!0,a.P("signatureexpired"))};
wJ=function(a){return"net.retryexhausted"==a.errorCode||"net.badstatus"==a.errorCode&&!!a.details.fmt_unav};
dea=function(a,b){if(a.l&&("fmt.unplayable"==b.errorCode||"html5.invalidstate"==b.errorCode)){var c=a.l.jf();b.details.merr=c?c.toString():"0";b.details.msg=a.l.Jh()}};
zJ=function(a,b,c){if(a.Oc+3E4>(0,g.D)())return ZI(a,"html5_exile_broken_instances")&&!a.g.Ed&&(a.A.Y+=1,10<a.A.Y)?(c.exiled=""+a.A.Y,a.C.onError("qoe.start15s",eB(c)),a.P("playbackstalledatstart"),!0):!1;a.Oc=(0,g.D)();var d=a.g;d=d.he?+g.as(d.he.g().g).expire<Date.now()/1E3+1800:!1;a.C&&(c.e=b,a.L&&(c.msopened=""+ +!!a.L.g),d&&(c.staleprog="1"),a.C.onError("qoe.restart",eB(c)));if(d&&vJ(a))return fJ(a),!0;xs("philips")&&xJ(a);a.B&&(b=a.B,b.g&&(c=(c=b.g.B||b.g.g)?c.g:b.g.l,c.G+=1,uG(b.F,c)));yJ(a);
return!0};
yJ=function(a){CI(a);a.P("newelementrequired");g.U(a.o,8)&&iJ(a)};
xJ=function(a){if("GAME_CONSOLE"!=a.A.o.cplatform)try{window.close()}catch(b){}};
VI=function(a,b){b=void 0===b?!1:b;var c=!g.S(a.A.experiments,"web_player_ended_pause_killswitch")&&g.U(a.o,2);if((g.U(a.o,64)||c)&&!b)if(g.U(a.o,8))II(a,xD(a.o,4,8));else return;if(a.l||g.S(a.A.experiments,"html5_pause_video_fix"))g.U(a.o,128)||(b?II(a,vD(a.o,256)):II(a,xD(a.o,4,8))),a.l&&a.l.pause(),g.LC(a.g)&&a.B&&PG(a.B,!1)};
AJ=function(a){a.B&&(PG(a.B,!1),RG(a.B))};
g.aJ=function(a,b){b=void 0===b?!1:b;a.l&&(AI(a),CI(a),a.F||(a.g.startSeconds=a.getCurrentTime()),a.T=window.NaN,a.l.sd(),cJ(a),g.U(a.o,128)||(b?II(a,xD(a.o,4,8)):II(a,uD(a.o))),a.A.G.remove(a.g.videoId))};
TI=function(a,b,c,d,e){b=void 0===b?0:b;c=void 0===c?!1:c;e=void 0===e?!1:e;!ZI(a,"html5_update_on_seek_killswitch")&&g.U(a.o,2)&&hJ(a);if(g.S(a.A.experiments,"html5_new_seeking"))b&&!(0,window.isFinite)(b)&&BJ(a),jI(a.F,b,c,e,d);else if(a.l&&a.Y.g){b&&!(0,window.isFinite)(b)&&BJ(a);var f;if(b&&!(0,window.isFinite)(b)){var k;if(k=a.B&&sC(a.g))k=a.B,k=!(k.g.F||k.o.F)||a.g.Ed&&!g.S(a.A.experiments,"html5_manifestless_no_redundant_seek_to_head");k?f=jH(a.B):Cs()&&(g.S(a.A.experiments,"html5_appletv_clampaftermetadata_killswitch")||
1>a.l.kd())&&(f=b)}f||(f=g.od(b||0,a.rb(),mJ(a,e)));oJ(a,f);c?a.Ks():pJ(a,d);qJ(a,f);a.P("seekto",a,f)}else a.g.startSeconds=b};
BJ=function(a){if(a.G&&a.B){if(ZI(a,"html5_adaptive_readahead_enable_new_method"))Pca(a.G)&&a.C&&aE(a.C,zE(a.G));else if(a.g.isLowLatencyLiveStream||"LOW"==a.g.latencyClass||"ULTRALOW"==a.g.latencyClass)if(g.S(a.A.experiments,"html5_readahead_holdback")){var b=AE(a.G);if(b!=a.G.l){var c=a.g.ka?Gz(a.g.ka)||5:5;a.Wa("adaptiveReadaheadHoldback",""+b*c)}}else{b=a.G;if(b.o.length){c=b.l;b.l=AE(b);if(c=c!=b.l)b.o=[],b.B=0;b=c}else b=!1;b&&a.C&&aE(a.C,zE(a.G))}nH(a.B,a.G.l,EE(a.G),a.G.g.C)}};
oJ=function(a,b){if(a.G){var c=a.G;FE(c,b,!1);GE(c,b)}a.g.startSeconds=b;a.T=b;c=a.Ra;c.g=b;c.l=!0};
qJ=function(a,b){a.X&&b>a.g.endSeconds&&(0,window.isFinite)(b)&&(a.J.B(a.X),a.X=null);b<mJ(a)-.01&&II(a,wD(a.o,2))};
pJ=function(a,b){g.U(a.o,32)||(II(a,vD(a.o,32)),g.U(a.o,8)&&VI(a,!0),a.P("beginseeking",a));b&&(a.va||(a.va=new g.L(a.Ks,b,a)),a.va.start());CJ(a)};
rJ=function(a){a.va&&(a.va.dispose(),a.va=null);g.U(a.o,32)&&(II(a,vD(wD(a.o,32),16)),a.P("endseeking",a))};
DJ=function(a){if(a.g.ka)return Hz(a.g.ka,a.getCurrentTime());if((!ZI(a,"html5_disable_limit_ingestion_tvos")||Cs())&&a.l&&a.l.Kh()){var b=a.l.Kh().getTime();if(!(0,window.isNaN)(b))return b/1E3+a.getCurrentTime()}return window.NaN};
eea=function(a){if(!a.l)return 0;if(g.LC(a.g))return 1;if(MC(a.g)){if(gJ(a)||a.isPeggedToLive())return 1;var b=a.l,c=b.ye();b=(0<nw(c)&&b.Tb()?c.end(c.length-1):0)-a.rb();a=EJ(a)-a.rb();return Math.max(0,Math.min(1,b/a))}return oD(a.l)};
FJ=function(a,b){var c={};if(void 0===b?0:b){a.C?g.Ma(c,QD(UD(a.C,"playback"))):a.g&&(c.cpn=a.g.clientPlaybackNonce);a.l&&(g.Ma(c,a.l.Ih()),g.Ma(c,a.Wn()));a.B&&g.Ma(c,mH(a.B));if(a.I){var d=a.I,e=d.g;e={systemInfo:{flavor:e.flavor,keySystem:e.g},sessions:[]};d=g.p(d.l.values);for(var f=d.next();!f.done;f=d.next()){f=f.value;var k={requestedKeyIds:f.Y,cryptoPeriodIndex:f.C};f.A&&(k.keyStatuses=f.g);e.sessions.push(k)}c.drm=e}c.state=a.o.l.toString(16);g.U(a.o,128)&&(c.debug_error=a.o.g);SI(a)&&(c.prerolls=
a.ea.join(","));a.g.ff&&(c.ismb=a.g.ff);"UNKNOWN"!=a.g.latencyClass&&(c.latency_class=a.g.latencyClass);a.g.isLowLatencyLiveStream&&(c.lowlatency="1");a.g.pa&&(a.g.ka&&Gz(a.g.ka)&&(c.segduration=Gz(a.g.ka)),a.Z&&(c.lat=tE(a.Z.B)));c.relative_loudness=a.g.relativeLoudness.toFixed(3);if(e=XI(a))c.optimal_format=e.video.qualityLabel;c.user_qual=Vu()}c.debug_videoId=a.g.videoId;return c};
GJ=function(a){return ZI(a,"html5_new_vis_fullscreen_and_airplay")?a.fa.o:a.ig};
HI=function(a,b){a.P("internalvideodatachange",void 0===b?"dataupdated":b,a,a.g)};
$da=function(a){(0,g.C)("loadstart loadeddata loadedmetadata play playing progress pause ended suspend seeking seeked timeupdate durationchange ratechange error waiting resize".split(" "),function(a){this.Ea.M(this.l,a,this.EC,this)},a);
a.A.Oe&&a.l.gf()&&(a.Ea.M(a.l,"webkitplaybacktargetavailabilitychanged",a.IG,a),a.Ea.M(a.l,"webkitcurrentplaybacktargetiswirelesschanged",a.JG,a))};
HJ=function(a){var b=a.getCurrentTime(),c=a.g;!cC("pbs","")&&ZB.measure&&ZB.getEntriesByName&&(ZB.getEntriesByName("mark_nr")[0]?bC("mark_nr"):bC());c.videoId&&a.N.info("docid",c.videoId);c.eventId&&a.N.info("ei",c.eventId);c.clientPlaybackNonce&&a.N.info("cpn",c.clientPlaybackNonce);0<c.startSeconds&&a.N.info("start",c.startSeconds.toString());a.l&&a.l.Lg()&&a.N.info("paused",1);c.xa?a.N.info("fmt",Uv(c.xa)):a.N.info("fmt","-1");c.Yh&&a.N.info("yt_pre",a.yf?"2":"1");a.fa.isFullscreen()&&a.N.info("yt_fs",
"1");a.N.info("cmt",b.toFixed(3));if(a.B){b=a.B;window&&window.performance&&window.performance.getEntriesByName&&(c=window.performance.getEntriesByName(b.na),c.length&&(c=c[0],b.uc("vri",c.fetchStart),b.uc("vdns",c.domainLookupEnd),b.uc("vreq",c.requestStart),b.uc("fvb",c.responseStart),b.uc("vrc",c.responseEnd)),c=window.performance.getEntriesByName(b.fa),c.length&&(c=c[0],b.uc("ari",c.fetchStart),b.uc("adns",c.domainLookupEnd),b.uc("areq",c.requestStart),b.uc("avb",c.responseStart),b.uc("arc",c.responseEnd)));
b=b.yb;for(var d in b)a.N.g(d,b[d])}};
CJ=function(a,b){b=void 0===b?!1:b;if(a.l&&a.g){var c=a.getCurrentTime();if(a.G)if(ZI(a,"html5_adaptive_readahead_enable_new_method")){var d=a.G,e=(0,g.D)(),f=a.B;var k=oG(f.I);f=f.F;f=sG(f,f.o.info)+sG(f,f.L.info);k/=f;BE(d,e);d.o.push([e,k])}else gJ(a)&&(d=a.G,e=a.Ss(),d.B++,3>d.B||(0,g.D)()-d.G<d.g.R||(d.G=(0,g.D)(),d.o.push(e),50<d.o.length&&d.o.shift()));a.G&&(d=g.zD(a.o),e=a.G,FE(e,c,void 0===d?!0:d),GE(e,c),d&&(d=a.G,d=!DE(d,c)&&d.isPeggedToLive()?window.Infinity:c<d.A.rb()?Math.min(d.A.rb()+
10,CE(d)):window.NaN,(0,window.isNaN)(d)||(TI(a,d,!0),UI(a,"updateProgress"))));a.Z&&gJ(a)&&(d=a.Z,!d.g||c>=d.o&&c<d.A||(e=d.g.Ze(c),-1!=e&&(d.o=d.g.Wc(e),d.A=d.o+d.g.lf(e),e=(0,g.D)()/1E3-d.g.rp(e),d.l&&(e-=d.l()),d.B.add(e))));!a.B||g.U(a.o,4)&&g.LC(a.g)||(d=a.B,d.A&&(d.B!=c&&d.resume(),d.N&&!Aw(d.A)&&(e=d.B<=c&&c<d.B+10,k=0<=lw(d.A.l.Eb(),d.B+YG),e&&k&&(d.N=!1)),d.N||(d.B=c),g.sq(d.la)));5<c&&(a.F?a.F.C=c:a.g.startSeconds=c);(d=g.mu())?g.nu(a.Ma):g.Xr(a.Ma);!g.CD(a.o)&&a.l.Lg()||g.U(a.o,128)||
(e=(0,g.A)(a.rB,a),0==a.l.Pi().length?a.Ma=d?g.ku(e,100):g.Vr(e,100):a.Ma=d?g.ku(e,500):g.Vr(e,500));a.g.Te=c;if(!b&&g.zD(a.o)&&(a.C&&(c=a.C,c.o.update(),c.g.videoData.Fb()&&c.g.videoData.we&&!c.R&&$C(c.o)>=c.g.videoData.we&&(c.B&&c.g.videoData.we&&(d=UD(c,"delayplay"),d.Ga=!0,d.send(),c.R=!0),ZD(c)),gJ(a)&&(!a.g.ka||!Ez(a.g.ka))&&(0,g.D)()>a.jg+6283&&(c=a.C.l,e=c.g.B(),d=g.cD(c.g),JD(c,d,e),e=e.C,(0,window.isNaN)(e)||g.GD(c,d,"e2el",[e.toFixed(3)]),a.jg=(0,g.D)())),a.g.xa&&Zv(a.g.xa)&&(c=KI(a))&&
c.videoHeight!=a.dd&&(a.dd=c.videoHeight,ZI(a,"html5_log_hls_video_height_change_as_format_change")&&a.g.he&&"auto"==a.g.he.Ve.video.quality&&a.g.ie)))for(c=g.p(a.g.ie),d=c.next();!d.done;d=c.next())if(d=d.value,d.getHeight()==a.dd&&"auto"!=d.Ve.video.quality){YI(a,"a",d.ze());break}a.P("progresssync",a,b)}};
II=function(a,b){if(!g.yD(a.o,b)){var c=new g.ED(b,a.o);a.o=b;var d=!a.dc.length;a.dc.push(c);var e=a.l&&a.l.kl();if(0<FD(c,1)&&!g.U(c.g,16)&&!e&&g.U(a.o,8)&&!g.U(a.o,64)&&a.B&&(a.B.R=!0,IJ(a),a.l&&5<=mD(a.l))){e=a.R;var f=a.g;6E4<(0,g.D)()-e.A&&(e.l=0);e.l++;e.A=(0,g.D)();f=f.xa.video.g;var k=e.g.l?240:360;4==e.l&&f>k?(e.g.yb=new Yw(0,f-1,!1,"b"),e=!0):e=!1;e&&lJ(a,"b")}(0>FD(c,8)||0<FD(c,1024))&&a.na.stop();!(0<FD(c,8))||a.g.Ed||g.U(c.state,1024)||a.na.start();g.U(c.state,8)&&0>FD(c,16)&&!g.U(c.state,
32)&&!g.U(c.state,2)&&iJ(a);g.U(c.state,2)&&MC(a.g)&&(e=a.getCurrentTime(),a.g.lengthSeconds!=e&&(a.g.lengthSeconds=e,HI(a)),CJ(a,!0));0<FD(c,2)&&a.lq();a.g.ka&&a.g.pa&&(0>FD(c,8)?(e=a.g.ka,e.A&&e.A.stop()):0<FD(c,8)&&a.g.ka.resume());if(a.C&&(e=a.C,!e.ga())){g.U(c.state,2)?(e.C="paused",0<FD(c,2)&&e.B&&WD(e).send()):g.U(c.state,8)?(e.C="playing",e.B&&(0,window.isNaN)(e.F)&&TD(e,!1)):e.C="paused";f=e.l;k=c.state;var l=g.cD(f.g),m=Gca(f,c.state);if(m!=f.o){if(!(l<f.A)){if("PL"==f.o)f.L+=l-f.A;else if("B"==
f.o&&f.I){f.I=!1;var n=g.T(f.g.g.experiments,"html5_disable_last_state_change")?f.A:f.Y;f.R+=l-n;!f.Z&&10<=f.R&&180>=f.L&&(f.g.G(),f.l.qoealert=["1"],f.Z=!0)}"B"!=m||"PL"!=f.o&&"PB"!=f.o||(f.I=!0);f.A=l}"B"==m&&"PL"==f.o||f.g.videoData.Qf?KD(f,l):g.GD(f,l,"cmt",[f.g.l().toFixed(3)]);g.GD(f,l,"vps",[m]);f.o=m;f.Y=l;f.A=l}g.U(k,128)&&MD(f,l,k.g.errorCode,k.g.errorDetail);(g.U(k,2)||g.U(k,128))&&f.B(l);g.U(k,8)&&f.g.videoData.Yh&&!f.G&&(f.l.user_intent=[g.cD(f.g).toString()],f.G=!0);LD(f);e.A&&g.U(c.state,
128)&&(e.G("error-100"),g.Xr(e.A))}if(d&&!a.ga())try{for(var q=g.p(a.dc),u=q.next();!u.done;u=q.next()){var w=u.value,H=a.J;c=w;if(H.C&&!H.I&&(H.o(),g.U(c.g,16))){c=H;var F=HG(c.g,Math.max(c.A-2E3,0));!(0,window.isNaN)(F)&&0x7ffffffffffff>F&&c.F.start()}a.P("statechange",w)}}finally{a.dc.length=0}}};
JJ=function(a){g.U(a.o,2)||g.U(a.o,32)||(a.T=window.NaN)};
KJ=function(a,b){II(a,xD(a.o,1028,9));a.Wa("dompaused",b);a.P("onDompaused")};
hJ=function(a){if(!a.l||!a.g.sa)return!1;var b=null;a.g.sa.g?(b=tJ(a),a.B.resume()):(CI(a),a.g.he&&(b=a.g.he.g()));var c=a.l.vl(),d=!1;c&&null!=b&&b.g==c.g||(a.N.g("vta"),dC("vta"),a.F&&0<a.getCurrentTime()&&(d=a.getCurrentTime(),a.F.C=d),a.l.pe(b),a.L&&ou(4),!a.g.Ed&&g.AD(a.o)&&a.na.start(),d=!0);!a.F||!ZI(a,"html5_resume_if_ended_killswitch")&&g.U(a.o,2)||(b=a.F,b.I||!(0<b.C)||b.o&&0<b.o.getCurrentTime()||jI(b,b.C));fea(a);return d};
fea=function(a){if(g.DC(a.g)&&a.l){var b=a.g.Hg;if(b&&a.l.gf()){if(a.I){if("fairplay"!=b.flavor||Cs())return;AI(a)}a.I=new IH(a.l.ha(),b,a.A.experiments,"widevine"==b.flavor&&!a.g.pa&&!a.g.yo,a.g.drmSessionId);a.I.subscribe("newsession",a.HI,a);a.I.subscribe("licenseerror",a.TH,a);a.I.subscribe("qualitychange",a.VH,a);a.I.subscribe("heartbeatparams",a.CC,a);a.I.subscribe("keystatuseschange",a.DC,a);a.I.subscribe("hdproberequired",a.UH,a);a.I.subscribe("ctmp",a.Wa,a);JH(a.I,a.g.oauthToken);(0,g.C)(a.yb,
function(b){LH(a.I,new rH(b.info,b.type))});
a.yb=[]}else g.LI(a,"fmt.unplayable","YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK","drm.1")}};
AI=function(a){a.I&&(a.I.dispose(),a.I=null)};
EJ=function(a){return a.g.pa&&(gJ(a)||a.isPeggedToLive()||g.LC(a.g))?a.getCurrentTime():mJ(a)};
mJ=function(a,b){b=void 0===b?!1:b;return g.S(a.A.experiments,"html5_new_seeking")?a.F?a.F.Dc(b):0:a.l?a.g.pa?Cs()?UC(a.l.Kh().getTime()):a.g.sa&&a.g.sa.g&&a.G?b?a.g.Dc():CE(a.G):kD(a.l)||0:a.g.Dc():0};
LJ=function(a,b){a.Ia=b;a.l&&a.l.Jd(b)};
gJ=function(a,b,c){if(!a.g.pa||!a.G||!(a.Nc||void 0!==c&&c))return!1;void 0==b&&(b=a.getCurrentTime());return DE(a.G,b)};
g.MJ=function(a,b){(a.Nc=b)||a.na.stop();if(a.g.ka)if(b)a.g.ka.resume();else{var c=a.g.ka;c.A&&c.A.stop()}g.S(a.A.experiments,"html5_suspend_loader")&&a.B&&(b?a.B.resume():PG(a.B,!0));g.S(a.A.experiments,"html5_fludd_suspend")&&(g.U(a.o,2)||b?g.U(a.o,512)&&b&&II(a,wD(a.o,512)):II(a,vD(a.o,512)));a.C&&(c=a.C.l,g.GD(c,g.cD(c.g),"stream",[b?"A":"I"]))};
NJ=function(a){a.l&&(a.L?(AI(a),CI(a),tJ(a)):(a.g.he&&a.g.he.A(),a.l.sd()),iJ(a))};
OJ=function(a,b){g.S(a.A.experiments,"html5_log_rebuffer_reason")&&a.Wa("bufreason","r."+b+";lact."+g.uu())};
PJ=function(a,b){if(a.g.Qf){var c=g.T(a.A.experiments,"html5_log_rebuffer_events");if(c&&a.C&&a.l){var d=a.l.Ih();d.rt=g.cD(a.C.g).toFixed(3);d.e=b.substr(0,3);a.oe[a.kg++%c]=eB(d)}}};
IJ=function(a){if(a.g.Qf){for(var b=g.p(a.oe),c=b.next();!c.done;c=b.next())a.Wa("vpe",c.value);a.oe=[];a.kg=0}};
UI=function(a,b){a.Wa("seekreason",b)};
ZI=function(a,b){return g.S(a.A.experiments,b)};
QJ=function(a,b){bE.call(this,a,b);this.G=null};
g.RJ=function(a){return a.app.A};
g.SJ=function(a){a=g.RJ(a).J;return!!a&&a.Fu()};
TJ=function(a){a=g.RJ(a);var b=a.J;return b&&b.Gu()?!0:g.KC(a.g.getVideoData(),"ypc_module")};
g.UJ=function(a,b){3==a.Da()?a.P("mdxautoplaycancel"):a.P("autonavcancel",b)};
g.V=function(a){return a.app.g};
g.XJ=function(a,b){var c=a.app,d=b||a.playerType;return 3==VJ(c)?g.WJ(c.A).F:g.W(c,d).o};
g.YJ=function(a){return a.app.G};
ZJ=function(a){var b=g.WJ(g.RJ(a));return a.app.X&&!a.isFullscreen()||3==a.Da()&&b.hasNext()&&b.Ce()||!!a.Fe()};
g.$J=function(a,b){var c=a.playerType;(c=g.W(a.app,void 0===c?1:c))&&xI(c,b)};
g.aK=function(a){if(it())if(a.isFullscreen())kt(a.getRootNode());else{a=a.getRootNode();var b=ht(["requestFullscreen","webkitRequestFullscreen","mozRequestFullScreen","msRequestFullscreen"],a);b&&b.call(a)}else a.ma("onFullscreenToggled",a.isFullscreen())};
g.bK=function(a){var b={};a=jJ(g.W(a.app));a=g.p(a);for(var c=a.next();!c.done;c=a.next())c=c.value,b[c.quality]=c;return b};
g.cK=function(a){return(a=g.W(a.app))?dx(XH(a.R,a.g)):"unknown"};
eK=function(a){return(a=dK(g.RJ(a)))&&a.isActive()?a.iP():!1};
g.fK=function(a){return(a=g.RJ(a).o)?a.cD():{}};
g.gK=function(a,b,c,d){var e=g.W(a.app);c.event=b;a.isFullscreen()&&(c.fs=1);c.ux=1;e.logEvent(c,d)};
g.hK=function(a){a=g.RJ(a).A;return!!a&&a.ij()};
g.iK=function(a){a=g.RJ(a).A;return!!a&&a.Eu()};
g.jK=function(a,b){var c=g.Hv(a);if(c)return c.Zo(b);c=a.app.G.Ba();return new g.th(0,0,c.width,c.height)};
kK=function(a){a=g.RJ(a).L;return!!a&&a.UC()};
g.mK=function(a,b,c){lK(a.app,b,c||a.playerType)};
g.oK=function(a,b,c){var d=a.app;a=c||a.playerType;if(c=g.W(d,a))c.J.B.apply(c.J,b),a&&VJ(d)!=a||nK(d,"cuerangesremoved",b)};
g.pK=function(a,b){var c=a.app,d=a.playerType,e=g.W(c,d);e&&(e=vda(e.J,b),d&&VJ(c)!=d||nK(c,"cuerangesremoved",e))};
g.qK=function(a,b,c){c=void 0===c?a.playerType:c;(a=g.W(a.app,c))&&Zda(a,b)};
g.rK=function(a){a=a.getVideoData().xa;return!!a&&!(!a.audio||!a.video)&&"application/x-mpegURL"!=a.mimeType};
g.sK=function(a){a=a.getVideoData();return!!(a.adaptiveFormats||a.hlsFormats||a.gd)};
g.tK=function(a,b,c){a=g.YJ(a).element;var d=nb(a.children,function(a){a=(0,window.parseInt)(a.getAttribute("data-layer"),10);return c-a||1});
0>d&&(d=-(d+1));Xd(a,b,d);b.setAttribute("data-layer",c)};
g.uK=function(a){var b=g.V(a);if(!b.cd)return!1;var c=a.getVideoData();if(!c||3==a.Da())return!1;var d=!c.isLiveDefaultBroadcast||g.S(b.experiments,"allow_poltergust_autoplay");b=c.pa&&(!g.S(b.experiments,"allow_live_autoplay")||!d);return!c.ypcPreview&&!b&&!g.Va(c.tc,"ypc")&&!a.Fe()};
wK=function(a,b,c,d){if(g.V(a).C){a=a.app.T;g.Va(a.g,b);g.Xa(a.g,b);var e=String(a.G++);b.setAttribute("data-visual-id",e);vK(a,"onLogClientVeCreated",{id:e,ve_type:d});g.Ze(c,(0,g.A)(a.F,a,b))}};
g.xK=function(a,b){g.V(a).C&&a.app.T.click(b)};
g.yK=function(a,b,c){if(g.V(a).C){a=a.app.T;var d=b.getAttribute("data-visual-id");g.Va(a.g,b);c?g.Xa(a.l,d):g.Za(a.l,d);c&&!g.Va(a.o,d)&&(vK(a,"onLogVesShown",{ids:[d]}),g.Xa(a.o,d))}};
zK=function(a,b){return g.V(a).C?g.Va(a.app.T.g,b):!1};
g.CK=function(a,b){if(VJ(a.app)==b){var c=a.app,d=g.W(c,b);d&&(d!=c.o?AK(c,c.o):BK(c))}};
hea=function(){var a={};a.dt=gea;a.flash="0";a:{try{var b=window.top.location.href}catch(e){b=2;break a}b=null!=b?b==window.document.location.href?0:1:2}a=(a.frm=b,a);a.u_tz=-(new Date).getTimezoneOffset();var c=void 0===c?Vj:c;try{var d=c.history.length}catch(e){d=0}a.u_his=d;a.u_java=!!Vj.navigator&&"unknown"!==typeof Vj.navigator.javaEnabled&&!!Vj.navigator.javaEnabled&&Vj.navigator.javaEnabled();Vj.screen&&(a.u_h=Vj.screen.height,a.u_w=Vj.screen.width,a.u_ah=Vj.screen.availHeight,a.u_aw=Vj.screen.availWidth,
a.u_cd=Vj.screen.colorDepth);Vj.navigator&&Vj.navigator.plugins&&(a.u_nplug=Vj.navigator.plugins.length);Vj.navigator&&Vj.navigator.mimeTypes&&(a.u_nmime=Vj.navigator.mimeTypes.length);return a};
DK=function(a){return a.isTimeout?"NO_BID":"ERR_BID"};
iea=function(){var a=null;Zs().then(function(b){return a=b},function(b){return a=DK(b)});
return a};
jea=function(){var a=Dg(1E3,"NO_BID");return pg(g.rg(mg([Zs(),a]),DK),function(){return a.cancel()})};
kea=function(){var a=null;at().then(function(b){return a=b},function(){return a="NO_ADS_ID"});
return a};
lea=function(){var a=Dg(1E3,"NO_ADS_ID");return pg(g.rg(mg([at(),a]),function(){return"NO_ADS_ID"}),function(){return a.cancel()})};
EK=function(a){this.g=a;this.o=g.T(g.V(a).experiments,"bulleit_get_midroll_info_timeout_ms")||2E3;this.l=1;this.A=g.S(g.V(a).experiments,"bulleit_use_http_get_by_default_for_get_midroll_info")};
FK=function(a,b){a.g.app.J.g(b)};
GK=function(a,b,c,d){c=void 0===c?"":c;d=void 0===d?"":d;var e=a.g.getVideoData(1),f={AD_BLOCK:a.l++,CA_TYPE:"image",CPN:e.clientPlaybackNonce,LACT:g.uu(),VIS:a.g.kf(),P_H:g.YJ(a.g).Ba().height,P_W:g.YJ(a.g).Ba().width},k=hea();Object.keys(k).forEach(function(a){f[a.toUpperCase()]=k[a].toString()});
""!==c&&(f.BISCOTTI_ID=c);""!==d&&(f.ANID=d);b=g.ds(g.bp(b,f),{abv:"45"});c=b.split("?");if(2!=c.length)return jg(Error("Invalid AdBreakInfo URL"));d=g.p(c);c=d.next().value;var l=d.next().value;d={};e.oauthToken&&fs()&&(d.Authorization="Bearer "+e.oauthToken);if(l=(e=g.Zr(l))&&e.post_data){var m=g.Zr(e.post_data);Object.assign(e,m);delete e.post_data}return a.A&&!l?Ms(b,{Js:!0,format:"RAW",headers:d,method:"GET",timeout:a.o,withCredentials:!0}):Ms(c,{Js:!0,format:"RAW",headers:d,method:"POST",fb:e,
timeout:a.o,withCredentials:!0})};
g.HK=function(a){g.O.call(this);this.g=a;this.loaded=!1};
IK=function(a,b,c){this.o=a;this.l=null;this.A=b;this.g=0;this.livestream=void 0===c?!1:c};
JK=function(a,b,c,d){g.gE.call(this,b.start,b.end,{id:d,namespace:"ad",priority:2,visible:c});this.l=a.kind||"AD_PLACEMENT_KIND_UNKNOWN";this.o=!1;this.A=null};
KK=function(a){return"AD_PLACEMENT_KIND_START"==a.l};
LK=function(a){return"AD_PLACEMENT_KIND_MILLISECONDS"==a.l};
MK=function(a,b,c){c=void 0===c?!1:c;switch(a.kind){case "AD_PLACEMENT_KIND_START":return new g.nj(-0x8000000000000,-0x8000000000000);case "AD_PLACEMENT_KIND_END":return c?new g.nj(Math.max(0,b.o-b.g),0x7ffffffffffff):new g.nj(0x7ffffffffffff,0x8000000000000);case "AD_PLACEMENT_KIND_MILLISECONDS":var d=a.adTimeOffset;a=(0,window.parseInt)(d.offsetStartMilliseconds,10);d=(0,window.parseInt)(d.offsetEndMilliseconds,10);-1===d&&(d=b.o);if(c&&(d=a,a=Math.max(0,a-b.g),a==d))break;return new g.nj(a,d);
case "AD_PLACEMENT_KIND_CUE_POINT_TRIGGERED":return a=b.l,d=1E3*a.Qd,c?new g.nj(Math.floor(b.A+Math.random()*Math.max(0,d-b.A-1E4)),d):new g.nj(d,d+(0<a.durationSecs?1E3*a.durationSecs:5E3))}return null};
OK=function(a,b,c){b=void 0===b?null:b;c=void 0===c?{}:c;this.id=NK(a);this.componentType=a;this.macros=c;this.renderer=b};
NK=function(a){return a+g.wq(g.vq.getInstance())};
PK=function(a,b,c){this.id=c;this.content=a;this.actionType=b};
QK=function(){this.g=null};
mea=function(a){return RK(a).then(function(){return new g.eg(function(a,c){var b=SK();(b=b?TK(b):null)&&"adSizes"in b[0]?a((0,g.E)(b[0].adSizes,function(a){return new g.vd(a.adWidth,a.adHeight)})):c(Error("No slots registered with GPT services"))})})};
nea=function(a){!UK()&&a.g?a.g.cancel():RK(a).then(function(){return VK(null,300,60)})};
VK=function(a,b,c){var d=Dg(5E3).then(function(){throw Error("Timed out while waiting for GPT set companion");}),e=new g.eg(function(d,e){var f=SK();
if(f){var k=TK(f);if(k&&0!=k.length){var n={};n.slotId=k[0].slotId;n.adContent="<div></div>";n.adWidth=b;n.adHeight=c;n.friendlyIframeRendering=!1;n.onAdContentSet=function(b){var c=g.be(b);c||(c=g.Td("div"),b.appendChild(c));a&&c.appendChild(a);d()};
(f=f.googleSetCompanionAdContents)?f([n]):e(Error("Missing googleSetCompanionAdContents API"))}else e(Error("No slots registered with GPT services"))}else e(Error("Failed to find GPT services"))});
return mg([e,d])};
RK=function(a){null==a.g&&(a.g=new g.eg(function(a,c){function b(d){UK()?a():0>=d?c(Error("Timed out while waiting for GPT services")):g.rg(Dg(200).then(function(){b(d-1)}),c)}
b(150)}));
return a.g};
UK=function(){var a=SK();if(!a)return!1;a=TK(a);return g.Ca(a)&&0!=a.length?null!=g.Bd("google_companion_ad_div"):!1};
SK=function(){var a=Nd();return g.z("googletag.cmd",a)?a:null};
TK=function(a){a=void 0!==a.googleGetCompanionAdSlots?Qr(a.googleGetCompanionAdSlots)():void 0;return void 0!==a&&0<a.length?a:null};
oea=function(){this.url=null;this.height=this.width=0;this.adInfoRenderer=this.clickTrackingUrls=null};
WK=function(){this.contentVideoId=null;this.macros={};this.imageCompanionAdRenderer=this.iframeCompanionRenderer=null};
XK=function(a,b){this.l=a;this.g=b};
pea=function(a){return a.g?mea(a.g):jg("GPT is not enalbed")};
qea=function(a){this.o=a;this.g={};this.l=gk()?500:2500};
rea=function(a,b){return b.reduce(function(b,d){if(!(d&&d.mimeType&&d.maxBitrate&&d.uri))return b;d.mimeType in a.g||(a.g[d.mimeType]=a.o.jj(d.mimeType));if(!a.g[d.mimeType])return b;if(!b)return d;if(d.delivery!=b.delivery)return"STREAMING"==d.delivery?d:b;var c=b.maxBitrate-a.l,f=d.maxBitrate-a.l;return 0>=c&&0>=f?f>c?d:b:0<c&&0<f?f<c?d:b:0>=f?d:b},null)};
YK=function(a,b){this.g=a;this.T=b||{};this.L=String(Math.floor(1E9*Math.random()))};
ZK=function(a,b){return a.T[b]?a.T[b]:[]};
$K=function(a,b){this.g=a;this.l=b.length;this.adBreakLengthSeconds=b.reduce(function(a,b){return a+b},0);
for(var c=0,d=a+1;d<b.length;d++)c+=b[d];this.adBreakRemainingLengthSeconds=c};
aL=function(a,b){var c;if(c=a.pings){var d={};d.impression=c.impressionPings||[];d.error=c.errorPings||[];d.mute=c.mutePings||[];d.unmute=c.unmutePings||[];d.pause=c.pausePings||[];d.rewind=c.rewindPings||[];d.resume=c.resumePings||[];d.skip=c.skipPings||[];d.close=c.closePings||[];d.progress=c.progressPings||[];d.clickthrough=c.clickthroughPings||[];d.fullscreen=c.fullscreenPings||[];d.active_view_viewable=c.activeViewViewablePings||[];d.active_view_measurable=c.activeViewMeasurablePings||[];d.active_view_fully_viewable_audible_half_duration=
c.activeViewFullyViewableAudibleHalfDurationPings||[];d.end_fullscreen=c.endFullscreenPings||[];d.channel_clickthrough=c.channelClickthroughPings||[];d.abandon=c.abandonPings||[];d.start=c.startPings||[];d.first_quartile=c.firstQuartilePings||[];d.midpoint=c.secondQuartilePings||[];d.third_quartile=c.thirdQuartilePings||[];d.complete=c.completePings||[];c=d}else c={};YK.call(this,a,c);this.B=new $K(0,[]);this.F=this.N=null;this.Z=b;this.I=[];this.o={};this.R=null;this.A=0;this.J=this.C=null;c=this.g.skipOffsetMilliseconds;
0<c&&(this.R=c);this.o=g.Zr(this.g.playerVars||"");if(c=this.g.external)this.I=c.mediaFiles||[],c=c.durationMilliseconds,g.va(c)&&(this.A=c/1E3,this.o.length_seconds=this.A.toString()),(c=rea(this.Z,this.I))?(d=c.mimeType,this.o.url_encoded_third_party_media="url="+(0,window.encodeURIComponent)(c.uri)+"&type="+(0,window.encodeURIComponent)(d)):this.J=Error("Nonplayable third party ad media file.");else if(this.C=this.o.video_id,this.N=this.o.ucid||null,this.A=uA(this.A,this.o.length_seconds),this.o.cta_conversion_urls)try{this.o.cta_conversion_urls=
JSON.parse(this.o.cta_conversion_urls)}catch(e){g.N(e)}this.F=this.g.clickthroughEndpoint||null;this.B=new $K(0,[this.A])};
bL=function(a){var b=a.o||{};1<a.B.l&&(b.slot_pos=a.B.g);b.autoplay="1";return b};
cL=function(a){YK.apply(this,arguments)};
dL=function(a){YK.apply(this,arguments)};
eL=function(){this.g=[];this.l=null;this.o=!0;this.A=0};
fL=function(a){var b=a.impressionUrls,c={};b&&(c.impression=b);YK.call(this,a,c)};
gL=function(a){YK.apply(this,arguments)};
hL=function(a,b){var c=g.Or("VALID_SESSION_TEMPDATA_DOMAINS",[]),d=g.Wg(window.location.href);d&&c.push(d);d=g.Wg(a);if(g.Va(c,d)||!d&&g.wb(a,"/"))if(g.Ot("autoescape_tempdata_url")&&(c=window.document.createElement("a"),g.ld(c,a),a=c.href),a&&(c=g.Ug(a),c=g.Sg(null,null,null,null,c[5],c[6],c[7]),d=c.indexOf("#"),c=0>d?c:c.substr(0,d))){if(b.itct||b.ved)b.csn=b.csn||g.Mu();if(e){var e=(0,window.parseInt)(e,10);(0,window.isFinite)(e)&&0<e&&(c="ST-"+g.Sb(c).toString(36),d=b?g.dh(b):"",g.yu(c,d,e||5))}else e=
"ST-"+g.Sb(c).toString(36),c=b?g.dh(b):"",g.yu(e,c,5)}};
g.iL=function(a){var b=void 0===b?{}:b;var c=void 0===c?"":c;var d=void 0===d?window:d;d=d.location;a=g.fh(a,b)+c;a=a instanceof Sc?a:Xc(a);d.href=g.Tc(a)};
g.jL=function(a,b,c){b=void 0===b?{}:b;c=void 0===c?!1:c;var d=g.Or("EVENT_ID");d&&(b.ei||(b.ei=d));b&&hL(a,b);if(c)return!1;(window.ytspf||{}).enabled?window.spf.navigate(a):g.iL(a);return!0};
g.kL=function(a,b,c){c&&hL(a,c);c=g.Wc(a);c=g.Tc(c);a!=c&&Rr(Error("Unsafe window.open URL: "+a));a=c;window.open(a,b||g.Sb(a).toString(36))};
lL=function(a){this.g=a};
sea=function(a,b){var c=a.g();if(c)switch(b.action){case "START_LINEAR_AD":g.Zf(function(){var a=b.playAdIndex?b.playAdIndex:0;c.l&&mL(c.l.B)&&c.l.wv(a)});
break;case "END_LINEAR_AD":g.Zf(function(){c.l&&mL(c.l.B)&&c.l.Bp()});
break;case "END_LINEAR_AD_PLACEMENT":g.Zf(function(){c.l&&mL(c.l.B)&&c.l.uv()})}else g.N(Error("ServiceCommandHandler tried to invoke AdLifecycleCommand, but there was no ad service instance."))};
tea=function(a,b){var c=a.g();if(c)switch(b.action){case "AD_PLAYER_CONTROLS_ACTION_SEEK_TO_END":var d=nL(c)?c.g.Tb(2):0;0<d&&(d=g.od(d-b.seekOffsetMilliseconds/1E3,0,d),nL(c)&&TI(c.g.Ae(),d,!0));break;case "AD_PLAYER_CONTROLS_ACTION_RESUME":c.resume()}else g.N(Error("ServiceCommandHandler tried to invoke AdPlayerControlsCommand, but there was no ad service instance."))};
pL=function(a,b){(0,g.C)(a,function(a){return oL(a,b)})};
oL=function(a,b){a.loggingUrls&&(0,g.C)(a.loggingUrls,function(a){if(a.baseUrl){a=g.bp(a.baseUrl,b);if("https:"==window.location.protocol){var c=g.Ug(a);a="https"==c[1]?a:g.Sg("https",c[2],c[3],c[4],c[5],c[6],c[7])}g.Is(a,void 0,Bp.jl(a))}});
a.urlEndpoint&&a.urlEndpoint.url&&g.kL(a.urlEndpoint.url)};
qL=function(a,b){g.R.call(this,a);this.A=b;this.o=uea(this)};
uea=function(a){var b=a.A;if(b){a=function(a){return{toString:function(){return a()}}};
var c={};c.AD_MT=a(function(){return Math.round(Math.max(0,1E3*b.getCurrentTime(2))).toString()});
c.MT=a(function(){return Math.round(Math.max(0,1E3*b.getCurrentTime(1))).toString()});
c.P_H=a(function(){return b.Ng().height.toString()});
c.PV_H=c.P_H;c.P_W=a(function(){return b.Ng().width.toString()});
c.PV_W=c.P_W;c.CONN="0";c.WT=a(function(){return(0,g.D)().toString()});
c.LACT=a(function(){return g.uu().toString()});
c.VIS=a(function(){return b.kf().toString()});
c.VOL=a(function(){return b.Bb().toString()});
return c}return{}};
rL=function(a){g.G.call(this);this.G=a};
sL=function(a,b){if(!a.G)throw Error("This does not support the append operation");a.fk(b.ha())};
tL=function(a){rL.call(this,!0);this.g=a};
uL=function(a,b){function c(a){return{toString:a}}
var d={},e=a.getVideoData();d.CPN=c(function(){return e&&e.clientPlaybackNonce||null});
d.ASR=c(function(){return e&&e.adSafetyReason||null});
d.EI=c(function(){return e&&e.eventId||null});
d.AD_CPN=c(function(){return b.Z});
d.AD_MT=c(function(){return Math.round(Math.max(0,1E3*a.getCurrentTime(2))).toString()});
d.MT=c(function(){return Math.round(Math.max(0,1E3*a.getCurrentTime(1))).toString()});
d.P_H=c(function(){return a.Ng().height.toString()});
d.PV_H=d.P_H;d.P_W=c(function(){return a.Ng().width.toString()});
d.PV_W=d.P_W;d.CONN="0";d.WT=c(function(){return Date.now().toString()});
d.LACT=c(function(){return g.uu().toString()});
d.VIS=c(function(){return a.kf().toString()});
d.VOL=c(function(){return a.Bb().toString()});
return d};
X=function(a,b,c,d,e){e=void 0===e?null:e;g.tv.call(this,c);this.l=a;this.o=b;this.macros={};this.componentType=d;this.I=null;this.fa=e;this.T=null;this.na=new tL(this.element);g.I(this,this.na);this.ra=this.M(this.element,"click",this.onClick)};
vL=function(a,b){a=void 0===a?null:a;b=void 0===b?null:b;if(null==a)return g.N(Error("Got null or undefined adText object"),"WARNING"),"";var c=g.Nb(a.text);if(!a.isTemplated)return c;if(null==b)return g.N(Error("Missing required parameters for a templated message"),"WARNING"),c;for(var d=g.p(Object.entries(b)),e=d.next();!e.done;e=d.next()){var f=g.p(e.value);e=f.next().value;f=f.next().value;c=c.replace("{"+e+"}",f)}return c};
wL=function(a){a=void 0===a?null:a;return null!=a&&(a=a.thumbnail,null!=a&&null!=a.thumbnails&&0!=a.thumbnails.length&&null!=a.thumbnails[0].url)?g.Nb(a.thumbnails[0].url):""};
zL=function(a,b,c){var d=a.l;g.V(d).C&&g.xL(d.app.T,b,a);a=a.l;g.V(a).C&&g.yL(a.app.T,b,c)};
AL=function(a,b,c){zK(a.l,b)&&g.yK(a.l,b,c)};
BL=function(){g.G.call(this);var a=this;this.g=new window.Map;this.l=g.Ct(window.document.body,"click",function(b){if(b.target&&(b=a.g.get(b.target))&&b)for(var c=0;c<b.length;c++)g.Is(b[c],void 0,void 0)},"ytp-ad-has-logging-urls")};
DL=function(){null==CL&&(CL=new BL);return CL};
FL=function(a,b){if(a.simpleText){a:{var c=a.simpleText;if(b){var d=EL(c);if(d){c=g.Rd("SPAN",null,d);break a}}c=g.Ud(c)}return c}c=[];if(a.runs)for(d=0;d<a.runs.length;d++){var e=a.runs[d];e.text&&c.push(vea(e,b))}return 1==c.length?c[0]:g.Rd("SPAN",null,c)};
vea=function(a,b){var c=null,d=a.text;b&&(d=EL(d)||d);a.bold&&(c=g.Rd("B",null,c||d));a.italics&&(c=g.Rd("I",null,c||d));a.strikethrough&&(c=g.Rd("STRIKE",null,c||d));if(a.navigationEndpoint&&a.navigationEndpoint.urlEndpoint){var e=a.navigationEndpoint.urlEndpoint;c=g.Rd("A",null,c||d);g.ld(c,e.url);"TARGET_NEW_WINDOW"==e.target&&(c.target="_blank");if(e=a.navigationEndpoint.loggingUrls)e=e.map(function(a){return a.baseUrl}),DL().register(c,e),g.J(c,"ytp-ad-has-logging-urls")}return c||g.Rd("SPAN",
null,d)};
EL=function(a){a=a.split(/(?:\r\n|\r|\n)/g);if(1<a.length){for(var b=[a[0]],c=1;c<a.length;c++)b.push(g.Rd("BR")),b.push(a[c]);return b}return null};
GL=function(a){rL.call(this,a);this.C=new g.O;g.I(this,this.C)};
HL=function(a,b,c){g.G.call(this);this.Db=a;this.hn=b;this.view=c();g.I(this,this.view);this.o=null;this.l=[];this.macros={};this.A=!1;this.hide()};
IL=function(a){for(var b={},c=g.p(Object.entries(uL(a.Db,a.hn))),d=c.next();!d.done;d=c.next()){var e=g.p(d.value);d=e.next().value;e=e.next().value;b[d]=e.toString()}Object.assign(b,a.macros);return b};
JL=function(a){g.O.call(this);this.A=a;this.l=new g.R({D:"div",H:"ytp-ad-info-dialog-confirm-container",K:[{D:"button",H:"ytp-ad-info-dialog-confirm-button",V:"{{content}}"}]});g.I(this,this.l);this.l.hide();this.o=new g.R({D:"div",H:"ytp-ad-info-dialog-title",V:"{{content}}"});g.I(this,this.o);this.o.hide();this.g=new g.R({D:"div",H:"ytp-ad-info-dialog-relative-container",K:[{D:"div",H:"ytp-ad-info-dialog-form",K:[this.o,{D:"ul",H:"ytp-ad-info-dialog-ad-reasons"},{D:"div",H:"ytp-ad-info-dialog-message",
V:"{{content}}"},this.l]}]});g.I(this,this.g);this.g.hide();this.ba=new g.Gt(this);g.I(this,this.ba)};
KL=function(a){return a.g.g["ytp-ad-info-dialog-ad-reasons"]};
LL=function(a){return a?FL(a):null};
ML=function(a){GL.call(this,!1);var b=this;this.g=new JL(a.ha());g.I(this,this.g);a={};for(var c=g.p(Object.values(wea)),d=c.next();!d.done;a={eventType:a.eventType},d=c.next())a.eventType=d.value,this.g.subscribe(a.eventType,function(a){return function(){return b.dispatchEvent({type:a.eventType})}}(a))};
NL=function(a,b,c){HL.call(this,a,b,function(){return new xea.pz(c)});
this.ba=new g.Gt(this);g.I(this,this.ba);this.g=null;this.Rc()};
OL=function(a,b){X.call(this,a,b,{D:"div",H:"ytp-out-of-player-ad-info",K:[{D:"div",H:"ytp-out-of-player-hover-container"},{D:"div",H:"ytp-out-of-player-ad-info-button-container",K:[{D:"button",W:["ytp-out-of-player-ad-info-button"],K:[{D:"span",H:"ad-info-icon"}]}]}]},"watch-ad-info-hover-button");this.A=this.g["ytp-out-of-player-hover-container"];this.F=this.g["ytp-out-of-player-ad-info-button-container"];this.G=this.g["ytp-out-of-player-ad-info-button"];this.Rd=new NL(this.l,this.o,new tL(this.F));
g.I(this,this.Rd);this.B=new g.Gt(this);g.I(this,this.B);this.C();this.Rd.jh(new tL(this.element));this.B.M(this.G,"mouseenter",this.L);this.B.M(this.G,"mouseleave",this.C);this.B.M(this.F,"click",this.J);this.hide()};
PL=function(a,b,c,d){d=yea(c,d);var e={D:"div"};d&&(e={D:"div",H:"image-companion",K:[{D:"img",O:{src:d.url,border:"0",style:"cursor:pointer;"}}]});qL.call(this,e,a);this.l=c;this.gc=new OL(a,b);g.I(this,this.gc);this.gc.aa(this.element,0);this.l.adInfoRenderer&&this.l.adInfoRenderer.adHoverTextButtonRenderer?this.gc.init(NK("watch-ad-info-hover-button"),this.l.adInfoRenderer.adHoverTextButtonRenderer,{}):g.N(Error("ImageCompanionAdRenderer has no ad info renderer."));if(a=this.g["image-companion"])void 0!==
d.width&&void 0!==d.height&&g.di(a,d.width,d.height),this.da("click",this.B,this),this.kc(c.impressionCommands)};
yea=function(a,b){if(!a.image||!a.image.thumbnail)return null;var c=a.image.thumbnail;return null==c.thumbnails?null:g.Ra(c.thumbnails||[],function(a){return a.width==b.width&&a.height==b.height})};
QL=function(a){gL.call(this,a);this.C=(0,g.E)((a.image&&a.image.thumbnail?a.image.thumbnail.thumbnails:null)||[],function(a){return new g.vd(a.width,a.height)})};
RL=function(a,b){eL.call(this);var c=this;if(a.renderers){var d=[];a.renderers.forEach(function(a){a.instreamVideoAdRenderer&&(a=new aL(a.instreamVideoAdRenderer,b),c.g.push([a]),d.push(a.A))});
this.g.forEach(function(a,b){a.forEach(function(a){var c=new $K(b,d);a.B=c})})}};
SL=function(a){YK.apply(this,arguments)};
TL=function(a){YK.apply(this,arguments)};
UL=function(a){if(!a)return[];var b=[];a=g.p(a);for(var c=a.next();!c.done;c=a.next())if(c=c.value,c.loggingUrls){c=g.p(c.loggingUrls);for(var d=c.next();!d.done;d=c.next())b.push({baseUrl:d.value.baseUrl})}return b};
zea=function(a){var b={};b.impression=UL(a.impressionCommands)||[];b.complete=UL(a.completionCommands)||[];return b};
VL=function(a){YK.call(this,a,zea(a))};
WL=function(a){YK.apply(this,arguments)};
XL=function(a){YK.apply(this,arguments)};
YL=function(a){if(!a)return[];var b=[];a.forEach(function(a){a.command.loggingUrls.forEach(function(c){b.push({baseUrl:c.baseUrl,offsetMilliseconds:a.adVideoOffset.milliseconds})})});
return b};
ZL=function(a){return a&&a.adVideoOffset&&a.adVideoOffset.percent||0};
$L=function(a){return"AD_VIDEO_PROGRESS_KIND_PERCENT"==a.adVideoOffset.kind};
Aea=function(a){a=a.playbackCommands;if(!a)return{};var b={};b.impression=UL(a.impressionCommands)||[];b.error=UL(a.errorCommands)||[];b.mute=UL(a.muteCommands)||[];b.unmute=UL(a.unmuteCommands)||[];b.pause=UL(a.pauseCommands)||[];b.rewind=UL(a.rewindCommands)||[];b.resume=UL(a.resumeCommands)||[];b.skip=UL(a.skipCommands)||[];b.close=UL(a.closeCommands)||[];b.clickthrough=UL(a.clickthroughCommands)||[];b.fullscreen=UL(a.fullscreenCommands)||[];b.active_view_viewable=UL(a.activeViewViewableCommands)||
[];b.active_view_measurable=UL(a.activeViewMeasurableCommands)||[];b.active_view_fully_viewable_audible_half_duration=UL(a.activeViewFullyViewableAudibleHalfDurationCommands)||[];b.end_fullscreen=UL(a.endFullscreenCommands)||[];b.channel_clickthrough=UL(a.channelClickthroughCommands)||[];b.abandon=UL(a.abandonCommands)||[];b.progress=YL(a.progressCommands.filter(function(a){return"AD_VIDEO_PROGRESS_KIND_MILLISECONDS"==a.adVideoOffset.kind}));
b.start=YL(a.progressCommands.filter(function(a){return $L(a)&&1E-6>=Math.abs(ZL(a)-0)}));
b.first_quartile=YL(a.progressCommands.filter(function(a){return $L(a)&&1E-6>=Math.abs(ZL(a)-.25)}));
b.midpoint=YL(a.progressCommands.filter(function(a){return $L(a)&&1E-6>=Math.abs(ZL(a)-.5)}));
b.third_quartile=YL(a.progressCommands.filter(function(a){return $L(a)&&1E-6>=Math.abs(ZL(a)-.75)}));
b.complete=YL(a.progressCommands.filter(function(a){return $L(a)&&1E-6>=Math.abs(ZL(a)-1)}));
return b};
aM=function(a,b){b=void 0===b?!0:b;YK.call(this,a,Aea(a));this.A=b;this.o=a.questions?a.questions.reduce(function(a,b){var c=b.instreamSurveyAdSingleSelectQuestionRenderer||b.instreamSurveyAdMultiSelectQuestionRenderer;return c?a+c.surveyAdQuestionCommon.durationMilliseconds/1E3:a},0):0};
bM=function(a){YK.apply(this,arguments)};
cM=function(a){YK.apply(this,arguments)};
eM=function(a,b){eL.call(this);var c=a.persistingOverlay;var d=a.adVideoStart;c&&c.persistingAdOverlayRenderer?c=new XL(c.persistingAdOverlayRenderer):d&&d.surveyTextInterstitialRenderer?(this.o=!1,c=new bM(d.surveyTextInterstitialRenderer)):c=null;this.l=c;(c=dM(this,a.adVideoStart))&&this.g.push(c);a:{if(d=a.linearAd){if(d.instreamVideoAdRenderer){c=[new aL(d.instreamVideoAdRenderer,b)];break a}if(d.instreamSurveyAdRenderer){c=[new aM(d.instreamSurveyAdRenderer,!(this.l instanceof bM))];break a}if(d.parallelChoiceAdPlacementRenderer){c=
[];d=g.p(d.parallelChoiceAdPlacementRenderer.adPlacementRendererChoices);for(var e=d.next();!e.done;e=d.next())e=e.value,e.instreamVideoAdRenderer?c.push(new aL(e.instreamVideoAdRenderer,b)):e.instreamSurveyAdRenderer&&c.push(new aM(e.instreamSurveyAdRenderer));break a}}c=null}c&&this.g.push(c);(c=dM(this,a.adVideoEnd))&&this.g.push(c)};
dM=function(a,b){return null==b?null:b.adActionInterstitialRenderer?(a.A=1,[new VL(b.adActionInterstitialRenderer)]):b.adTextInterstitialRenderer?[new cM(b.adTextInterstitialRenderer)]:b.adChoiceInterstitialRenderer?[new WL(b.adChoiceInterstitialRenderer)]:null};
fM=function(a){YK.apply(this,arguments)};
gM=function(a,b,c){qL.call(this,{D:"div",H:"videowall-companion-container",K:[{D:"iframe",H:"videowall-companion",O:{marginwidth:"0",marginheight:"0",hspace:"0",vspace:"0",frameborder:"0",scrolling:"no",src:c.iframeUrl}}]},a);var d=this;this.l=c;var e=this.g["videowall-companion"];g.di(e,c.iframeWidth||300,c.iframeHeight||250);this.gc=new OL(a,b);g.I(this,this.gc);this.gc.aa(this.element,0);this.l.adInfoRenderer&&this.l.adInfoRenderer.adHoverTextButtonRenderer?this.gc.init(NK("watch-ad-info-hover-button"),
this.l.adInfoRenderer.adHoverTextButtonRenderer,{}):g.N(Error("VideowallIframeCompanionAdRenderer has no ad info renderer."));e&&e.addEventListener("load",function(){d.kc(c.impressionCommands);var a=Bea(e);a&&g.of(a,"click",function(a){g.ee(d.gc.element,a.target)||d.kc(d.l.onClickCommands)})})};
Bea=function(a){try{var b=a.contentDocument||a.contentWindow.document;return b&&b.body}catch(c){return g.N(c),null}};
hM=function(a){gL.apply(this,arguments)};
iM=function(a){return a.length?(0,g.E)(a[0].loggingUrls||[],function(a){return a.baseUrl}):[]};
jM=function(a,b,c,d){this.id=b;this.A=a.placementStartPings||[];this.o=a.placementEndPings||[];b=a.config&&a.config.adPlacementConfig;if(!b)throw Error("Malformed AdPlacementRenderer: missing AdPlacementConfig");var e=a.renderer&&a.renderer.adBreakServiceRenderer&&a.renderer.adBreakServiceRenderer||{};this.l=e.getAdBreakUrl||"";d.g=(0,window.parseInt)(e.prefetchMilliseconds,10)||0;var f=MK(b,d);if(null==f)d=new JK(b,new g.nj(-1,-1),!1,"adcuerange:invalid"),d.Ff(),d=[null,d];else{e=g.wq(g.vq.getInstance());
f=new JK(b,f,!(d.livestream||d.l),"adcuerange:"+e);var k=null;if(d.l||0<d.g)if(d=MK(b,d,!0))k=new JK(b,d,!1,"prefetch:"+e),f.A=k,k.A=f;d=[k,f]}this.C=d[0];this.B=d[1];if(a.renderer){var l=a.renderer;a=l.instreamVideoAdRenderer;d=l.clientForecastingAdRenderer;b=l.invideoOverlayAdRenderer;e=l.videowallIframeCompanionAdRenderer;f=l.imageCompanionAdRenderer;k=l.instreamSurveyAdRenderer;var m=l.plaShelfRenderer,n=l.sandwichedLinearAdRenderer,q=l.shoppingCompanionCarouselRenderer,u=l.backfillMpuCompanionAdRenderer,
w=l.actionCompanionAdRenderer;l=l.multipleInstreamVideoAdRenderer;c=null!=a&&a.playerVars?new aL(a,c):null!=d?new fL(d):null!=b?new SL(b):null!=e?new hM(e):null!=f?new QL(f):null!=k?new aM(k):null!=n?new eM(n,c):null!=l?new RL(l,c):null!=m?new TL(m):null!=q?new fM(q):null!=u?new dL(u):null!=w?new cL(w):null}else c=null;this.g=c};
kM=function(a,b,c,d){var e=null;try{e=new jM(a,b,c,d)}catch(f){g.N(f)}return e};
lM=function(a){return"AD_PLACEMENT_KIND_MILLISECONDS"==a.Yb().l||"AD_PLACEMENT_KIND_CUE_POINT_TRIGGERED"==a.Yb().l};
mM=function(a){return"AD_PLACEMENT_KIND_START"==a.Yb().l};
mL=function(a){return a.g instanceof aL||a.g instanceof aM||a.g instanceof eL};
oM=function(a){var b={};Cea(a,b);Dea(b);b.LACT=nM(function(){return g.uu().toString()});
b.VIS=nM(function(){return a.kf().toString()});
b.SDKV="h.3.0";b.VOL=nM(function(){return a.Bb().toString()});
b.VED="";return b};
pM=function(a){var b=Object.assign({},{});b.MIDROLL_POS=lM(a)?nM(Jf(Math.round(a.Yb().start/1E3).toString())):nM(Jf("0"));return b};
qM=function(a,b){var c=b&&-1!=b.indexOf("net.timeout")?"402":"400",d={};return d.YT_ERROR_CODE=a.toString(),d.ERRORCODE=c,d.ERROR_MSG=b,d};
nM=function(a){return{toString:function(){return a()}}};
rM=function(a){for(var b={},c=g.p(Eea),d=c.next();!d.done;d=c.next()){d=d.value;var e=a[d];e&&(b[d]=e.toString())}return b};
sM=function(a){for(var b=[],c=0;c<arguments.length;++c)b[c-0]=arguments[c];c={};Object.assign.apply(Object,[c].concat(g.oa(b)));return c};
Cea=function(a,b){b.CPN=nM(function(){var b;(b=a.getVideoData(1))?b=b.clientPlaybackNonce:(g.N(Error("Video data is null."),"WARNING"),b=null);return b});
b.AD_MT=nM(function(){return tM(a,2)});
b.MT=nM(function(){return tM(a,1)});
b.P_H=nM(function(){return g.YJ(a).Ba().height.toString()});
b.P_W=nM(function(){return g.YJ(a).Ba().width.toString()});
b.PV_H=nM(function(){return g.uM(g.YJ(a)).height.toString()});
b.PV_W=nM(function(){return g.uM(g.YJ(a)).width.toString()})};
tM=function(a,b){var c=1E3*a.getCurrentTime(b);return Math.round(Math.max(0,c)).toString()};
Dea=function(a){a.CONN=nM(Jf("0"));a.WT=nM(function(){return Date.now().toString()})};
vM=function(){g.O.call(this);this.g=new window.Map};
xM=function(){null==wM&&(wM=new vM,lo.getInstance().l="b",mo());return wM};
Fea=function(a){switch(a){case "fully_viewable_audible_half_duration_impression":return"g";case "measurable_impression":return"b";case "overlay_unmeasurable_impression":return"h";case "overlay_unviewable_impression":return"i";case "overlay_viewable_end_of_session_impression":return"j";case "overlay_viewable_immediate_impression":return"k";case "viewable_impression":return"o";default:return null}};
zM=function(a){return yM(a)&&1==a.td(2)};
yM=function(a){a=a.Ae();return void 0!==a&&2==a.getPlayerType()};
AM=function(a){a=g.V(a);return g.PA(a)&&!g.GA(a)&&"desktop-polymer"==a.playerStyle};
CM=function(a,b){var c=g.V(a);JA(c)||"3"!=c.A||(c=g.YJ(a),JA(c.app.g),c.F=!b,BM(c))};
DM=function(a){g.G.call(this);this.g=a};
Gea=function(a){switch(a){case "abandon":return"abandon";case "active_view_fully_viewable_audible_half_duration":return"fully_viewable_audible_half_duration_impression";case "active_view_measurable":return"measurable_impression";case "active_view_viewable":return"viewable_impression";case "complete":return"complete";case "end_fullscreen":return"exitfullscreen";case "first_quartile":return"firstquartile";case "fullscreen":return"fullscreen";case "impression":return"impression";case "midpoint":return"midpoint";
case "mute":return"mute";case "pause":return"pause";case "progress":return"progress";case "resume":return"resume";case "skip":return"skip";case "start":return"start";case "third_quartile":return"thirdquartile";case "unmute":return"unmute"}return null};
EM=function(a,b,c,d){g.G.call(this);this.A=a;this.G=b;g.I(this,this.G);this.g=c;this.l=d;this.I=fs();this.C=Array.from(ZK(this.A,"progress"));this.C.sort(function(a,b){return a.offsetMilliseconds-b.offsetMilliseconds});
this.B=0;this.o={};this.F={Hz:.25,aA:.5,jA:.75}};
GM=function(a){FM(a,"impression");FM(a,"start")};
Hea=function(a,b){b&&b.forEach(function(b){b.baseUrl&&HM(a,b.baseUrl,{})})};
JM=function(a,b,c){for(c=void 0===c?!1:c;a.B<a.C.length;){var d=IM(a,"progress"),e=a.C[a.B];if(e.offsetMilliseconds<=1E3*b||c)(e=e.baseUrl)&&HM(a,e,d),a.B++;else break}};
KM=function(a,b,c,d){d=void 0===d?!1:d;(b>=c*a.F.Hz||d)&&FM(a,"first_quartile");(b>=c*a.F.aA||d)&&FM(a,"midpoint");(b>=c*a.F.jA||d)&&FM(a,"third_quartile")};
LM=function(a,b){for(var c=IM(a,b),d=g.p(ZK(a.A,b)),e=d.next();!e.done;e=d.next())(e=e.value.baseUrl)&&HM(a,e,c);a.o[b]=!0};
FM=function(a,b){a.o.hasOwnProperty(b)||LM(a,b)};
HM=function(a,b,c){for(var d=Bp.jl(b),e={},f=oM(a.l),k=g.p(Object.keys(f)),l=k.next();!l.done;l=k.next())l=l.value,e[l]=f[l].toString();e=Object.assign(e,a.g);c&&((f=c.doubleVerifyViewability)&&(e.DV_VIEWABILITY=d?(0,window.encodeURIComponent)(f):f),(f=c.integralAdsViewability)&&(e.IAS_VIEWABILITY=d?(0,window.encodeURIComponent)(f):f),(f=c.googleViewability)&&(e.GOOGLE_VIEWABILITY=f),(f=c.moatInit)&&(e.MOAT_INIT=d?(0,window.encodeURIComponent)(f):f),(f=c.moatViewability)&&(e.MOAT_VIEWABILITY=d?(0,window.encodeURIComponent)(f):
f),(c=c.viewability)&&(e.VIEWABILITY=c));b=g.bp(b,e);"https:"==window.location.protocol&&(c=g.Ug(b),b="https"==c[1]?b:g.Sg("https",c[2],c[3],c[4],c[5],c[6],c[7]));c=void 0;e=b;fs(e)&&gs(e)&&(b=gh(b,"abv","45"),(e=a.l.getVideoData())&&e.oauthToken&&a.I&&(c={Authorization:"Bearer "+e.oauthToken}));try{g.Is(b,void 0,d,c)}catch(m){}};
IM=function(a,b){var c=a.G;var d=a.A;if(d.G()){var e=Gea(b);if(null==e)d={};else{var f;f=(f=c.g)&&f.Ae?(f=f.Ae())&&2==f.getPlayerType()?KI(f):null:null;c={opt_adElement:f,opt_fullscreen:c.g.isFullscreen()};d=yo(e,d.L,c)}}else d={};return d?Object.assign({},d):{}};
MM=function(a,b,c,d,e){d=void 0===d?0:d;e=void 0===e?!1:e;g.O.call(this);this.g=a;this.l=new EM(b,new DM(this.g),c,this.g);g.I(this,this.l);this.A=xM();this.A.g.set(b.L,this);this.A.subscribe("b",this.kx,this);this.A.subscribe("g",this.lx,this);this.A.subscribe("h",this.mx,this);this.A.subscribe("i",this.nx,this);this.A.subscribe("j",this.ox,this);this.A.subscribe("k",this.qx,this);this.A.subscribe("o",this.rx,this);this.L=b;this.J=[];this.macros=c;this.T=e;this.F=!1;if(!(a=0==d)){if(d=1==d)d=g.V(this.g),
d=g.GA(d)||d.l||g.RA(d)||!g.eA;a=d}a?d=!0:(d=g.Ed("video-ads"),d=null!=d&&"none"!=Qh(d,"display"));this.R=!d};
NM=function(a){a.R?a.Qb("html5.unsupportedads"):a.Vb()};
PM=function(a,b){eb(a.J,b);OM(a,b,1)};
Iea=function(a,b){var c=[];(0,g.C)(b,function(a){0<=g.Qa(this.J,function(b){return b.componentType==a.componentType})?c.push(a):g.N(Error("Cannot find UX Component "+a.componentType+" to modify"),"WARNING")},a);
OM(a,c,2)};
QM=function(a){OM(a,a.J,3);a.J=[]};
RM=function(a){a=a.l;a.g=sM(a.g,qM(0,"No playable media files can be selected"));FM(a,"error")};
OM=function(a,b,c){0!=b.length&&(b=(0,g.E)(b,function(a){return new PK(a,c,a.id)}),a.P("onAdUxUpdate",b))};
SM=function(a){return(a=a.g.getVideoData(2))&&a.clientPlaybackNonce||""};
TM=function(a,b){OK.call(this,"action-companion",a,b)};
Jea=function(a){var b=a.renderer;var c=a.renderer;c=c.navigationEndpoint&&c.navigationEndpoint.urlEndpoint&&c.navigationEndpoint.urlEndpoint.url||"";var d=UM(b.bannerImage),e=UM(b.iconImage),f=b.headline&&b.headline.text||"",k=b.description&&b.description.text||"";a=a.renderer;a=(a=a.actionButton&&a.actionButton.buttonRenderer&&a.actionButton.buttonRenderer.text)?g.mC(a):"";return{target:c,bannerImageUrl:d,iconImageUrl:e,headline:f,descriptionText:k,actionTitle:a,impressionEndpoints:b.impressionCommands,
adInfoRenderer:b.adInfoRenderer,trackingParams:b.trackingParams}};
UM=function(a){return a&&a.thumbnail&&a.thumbnail.thumbnails&&a.thumbnail.thumbnails.length?a.thumbnail.thumbnails[0].url||"":""};
VM=function(a,b,c){MM.call(this,a,b,c);this.o=null};
WM=function(a,b,c){if(b.profilePicture&&b.channelBanner){var d=c.renderer,e=d.iconImage&&d.iconImage.thumbnail&&d.iconImage.thumbnail.thumbnails||null;e&&e.length&&g.yb(g.Nb(e[0].url))&&(e[0].url=b.profilePicture);(e=d.bannerImage&&d.bannerImage.thumbnail&&d.bannerImage.thumbnail.thumbnails||null)&&e.length&&g.yb(g.Nb(e[0].url))&&(e[0].url=b.channelBanner);d=d.headline;null!=d&&g.yb(g.Nb(d.text))&&(d.text=b.author);PM(a,[c])}};
XM=function(a,b){OK.call(this,"ad-action-interstitial",a,b)};
YM=function(a,b,c){MM.call(this,a,b,c,1);this.C=b;this.o=b.g.durationMilliseconds||0;this.Aa=null};
ZM=function(a,b){OK.call(this,"ad-choice-interstitial",a,b)};
$M=function(a,b,c){MM.call(this,a,b,c,1);this.o=b};
aN=function(a,b){b.SLOT_POS="1";OK.call(this,"backfill-mpu-companion",a,b)};
bN=function(a,b,c){MM.call(this,a,b,c)};
cN=function(a,b,c){MM.call(this,a,b,c)};
dN=function(a,b){OK.call(this,"invideo-overlay",a,b)};
eN=function(a,b,c){MM.call(this,a,b,c);this.o=b};
fN=function(a){OK.call(this,"persisting-overlay",a)};
gN=function(a,b,c){MM.call(this,a,b,c);this.o=b};
hN=function(a,b){OK.call(this,"pla-shelf",a,b)};
iN=function(a,b,c){MM.call(this,a,b,c);this.o=b};
jN=function(a,b){OK.call(this,"shopping-companion",a,b)};
kN=function(a,b,c){MM.call(this,a,b,c)};
lN=function(a){OK.call(this,"survey",a);this.g=!1};
mN=function(a,b,c,d){MM.call(this,a,b,c,2);this.B=b;this.o=null;this.C=d};
nN=function(a,b){QM(a);"a"!=b&&(a.C.N=(0,g.D)()/1E3);a.P(b)};
oN=function(a,b){OK.call(this,"survey-interstitial",a,b)};
pN=function(a,b,c){MM.call(this,a,b,c,1);this.o=b};
qN=function(a){OK.call(this,"ad-text-interstitial",a)};
rN=function(a,b){MM.call(this,a,b,{});this.B=b;this.o=b.g.durationMilliseconds||0;this.Aa=null};
sN=function(a,b){a.Aa&&a.Aa.stop();QM(a);a.P(b)};
tN=function(a,b){g.G.call(this);this.A=Math.max(0,a);this.o=this.l=0;this.B=b;this.g=null};
uN=function(a){a.g&&(a.g.stop(),a.g.dispose(),a.g=null)};
vN=function(){OK.call(this,"ad-attribution-bar");this.adPodPositionInfoString=null;this.adPodPosition=0;this.adPodLength=1;this.adBreakLengthSeconds=0;this.adBadgeText=null;this.adBreakRemainingLengthSeconds=0;this.adVideoId=null};
wN=function(a){a=void 0===a?null:a;OK.call(this,"ad-channel-thumbnail");this.channelIconThumbnailUrl=a};
xN=function(a){a=void 0===a?null:a;OK.call(this,"ad-title");this.videoTitle=a};
yN=function(a){a=void 0===a?null:a;OK.call(this,"advertiser-name");this.channelName=a};
zN=function(a){OK.call(this,"player-overlay",a)};
AN=function(a){OK.call(this,"skip-button",a)};
BN=function(a){OK.call(this,"visit-advertiser",a);var b={};var c=a.text;a=a.navigationEndpoint;null!=c&&null!=c.runs&&null!=a?(b.runs=[g.qc(c.runs[0])],b.runs[0].navigationEndpoint=a):(b={text:g.Q("YTP_VISIT_ADVERTISERS_SITE")},a&&(b.navigationEndpoint=a),b={runs:[b]});this.visitAdvertiserLabel=b};
CN=function(a,b,c,d,e){MM.call(this,a,b,c,1,void 0===e?!1:e);var f=this;this.o=b;this.I=d;this.B=new g.L(this.Ct,g.S(g.V(a).experiments,"use_variable_load_timeout")?g.T(g.V(a).experiments,"variable_load_timeout_ms"):1E4,this);g.I(this,this.B);this.C=new tN(g.S(g.V(a).experiments,"use_variable_buffer_timeout")?g.T(g.V(a).experiments,"variable_buffer_timeout_ms"):15E3,function(){return f.Ct()});
g.I(this,this.C);this.G=!1;this.N=g.S(g.V(a).experiments,"bulleit_mimic_ima_player_api_calls")};
Kea=function(a){var b=new vN;b.adBadgeText=g.Q("YTP_AD_BADGE");var c=a.o.B;1<c.l&&(b.adPodPositionInfoString=g.Q("YTP_AD_POD_POSITION",{AD_INDEX:String(c.g+1),ADS_COUNT:String(c.l)}));b.adBreakLengthSeconds=c.adBreakLengthSeconds;b.adBreakRemainingLengthSeconds=c.adBreakRemainingLengthSeconds;b.adPodPosition=c.g+1;b.adPodLength=c.l;if(a=a.o.C)b.adVideoId=a;return b};
FN=function(a){var b=a.o.g,c=b.playerOverlay&&b.playerOverlay.instreamAdPlayerOverlayRenderer;c||(c={});var d=g.V(a.g);if((g.GA(d)||g.RA(d))&&!c.skipOrPreviewRenderer){var e=1E3*a.g.Tb(2),f=0<e&&7050>=e;(0,window.isFinite)(e)&&33E3<e&&!a.o.isSkippable()&&!g.GA(d)&&g.N(Error("Instream ad is skippable by length, but was was marked "+("nonskippable. adLengthMs:"+e+", IVAR: "+JSON.stringify(b))),"ERROR");d={};a.o.isSkippable()&&!f?d.skipAdRenderer=DN(a):d.adPreviewRenderer=EN(a,!1,f);c.skipOrPreviewRenderer=
d}c.skipOrPreviewRenderer&&g.lc(c.skipOrPreviewRenderer)&&g.N(Error("IAPOR.skipOrPreview was filled, but empty. IVAR: "+JSON.stringify(b)),"ERROR");return c};
GN=function(a,b){a.B.stop();a.C.stop();QM(a);CM(a.g,!0);"a"!=b&&(a.I.N=(0,g.D)()/1E3);a.P(b)};
DN=function(a){var b={preskipRenderer:{}};b.preskipRenderer.adPreviewRenderer=EN(a,!0,!1);b.skippableRenderer={};a=b.skippableRenderer;var c={message:{}};c.message.text=g.Q("YTP_SKIP_AD");a.skipButtonRenderer=c;return b};
EN=function(a,b,c){var d=a.g.getVideoData(1),e={};if(b||c){var f={},k={};c=c?g.Q("YTP_AD_PREVIEW_NONSKIPPABLE_COUNTDOWN",{NEW_LINE:"\n",TIME_REMAINING:"{TIME_REMAINING}"}):g.Q("YTP_CAN_SKIP_AD_SOON",{NEW_LINE:"\n",TIME_REMAINING:"{TIME_REMAINING}"});k.text=c;k.isTemplated=!0;f.g=5;f.templatedAdText=k;e.templatedCountdown=f}else f={},k=g.Q("YTP_AD_PREVIEW_NONSKIPPABLE",{NEW_LINE:"\n"}),f.text=k,f.isTemplated=!1,e.staticPreview=f;b&&(e.durationMilliseconds=5E3);e.thumbnail={};b=e.thumbnail;f={};f.url=
WA(g.V(a.g),d.videoId,"mqdefault.jpg");f.width=320;f.height=180;b.thumbnail={thumbnails:[f]};return e};
HN=function(a,b,c,d,e){e=void 0===e?!1:e;var f=Object.assign({},{});f.FINAL=nM(Jf("1"));f.SLOT_POS=nM(Jf("0"));c=sM(c,rM(f));return b instanceof aL?(f={},f.SLOT_POS=nM(Jf(b.B.g.toString())),c=sM(c,rM(f)),new CN(a,b,c,d,e)):b instanceof SL?new eN(a,b,c):b instanceof fL?new cN(a,b,c):b instanceof fM?new kN(a,b,c):b instanceof aM?new mN(a,b,c,d):b instanceof TL?new iN(a,b,c):b instanceof dL?new bN(a,b,c):b instanceof VL?new YM(a,b,c):b instanceof XL?new gN(a,b,c):b instanceof cL?new VM(a,b,c):b instanceof
cM?new rN(a,b):b instanceof bM?new pN(a,b,c):b instanceof WL?new $M(a,b,c):null};
IN=function(){this.L=g.Or("INNERTUBE_CLIENT_NAME",void 0);this.N=g.Or("INNERTUBE_CLIENT_VERSION",void 0);this.G="AD_PLACEMENT_KIND_UNKNOWN";this.o=this.F=this.B=this.A=null;this.g="unknown_type";this.I=!0;this.J=this.l=this.C=!1};
JN=function(a){a.A=null;a.B=null;a.F=null;a.o=null;a.G="AD_PLACEMENT_KIND_UNKNOWN";a.g="unknown_type";a.C=!1;a.l=!1};
MN=function(a,b){var c=KN(a);LN(c,b)};
KN=function(a){a=[a,a.A].filter(function(a){return null!=a});
for(var b=g.p(a),c=b.next();!c.done;c=b.next())c.value.Ff();return a};
LN=function(a,b){g.Zf(function(){g.oK(b.g,a,1);for(var c=g.p(a),d=c.next();!d.done;d=c.next())d=d.value,b.A["delete"](d),b.B["delete"](d)})};
NN=function(a,b,c,d,e){g.O.call(this);this.C=a;this.g=b;this.J=!1;this.I=g.S(g.V(b).experiments,"bulleit_infer_error_from_unstarted_end");this.macros=sM(e,rM(pM(d)));this.B=d;this.F=this.B.g instanceof YK?this.B.g:null;this.l=null;this.G=c;this.R=(a=b.getVideoData(1))&&a.pa||!1;this.T=0;this.Z=!1;this.Y=g.S(g.V(b).experiments,"abort_ad_on_browser_autoplay_blocked");this.ea=new g.Gt(this);g.I(this,this.ea)};
ON=function(a){(a=a.baseUrl)&&g.Is(a,void 0,Bp.jl(a))};
PN=function(a,b,c){var d=a.G,e=a.g;a=a.B.Yb().l;b=void 0===b?0:b;c=void 0===c?1:c;JN(d);var f=e.getVideoData(1);e=e.getVideoData(2);f&&(d.A=f.clientPlaybackNonce,d.F=f.videoId);e&&(d.B=e.clientPlaybackNonce,d.o=e.videoId);d.G=a;0>=c?JN(d):(d.I?d.g="video_to_ad":b<c?d.g="ad_to_ad":b==c&&(d.g="ad_to_video"),d.J=b+1==c,d.C=!0,d.C&&((0,g.eE)("c",d.L,d.g),(0,g.eE)("cver",d.N,d.g),(0,g.eE)("yt_pt","html5",d.g),(0,g.eE)("yt_pre","2",d.g),(0,g.eE)("yt_abt",d.G,d.g),d.A&&(0,g.eE)("cpn",d.A,d.g),d.F&&(0,g.eE)("docid",
d.F,d.g),d.B&&(0,g.eE)("ad_cpn",d.B,d.g),d.o&&(0,g.eE)("ad_docid",d.o,d.g)))};
RN=function(a){QN(a.C,a.B.Yb(),a);if(g.S(g.V(a.g).experiments,"enable_queueing_api_in_html5")){var b=a.Rn();if(b){var c=a.Yb().start;HN(a.g,b,a.macros,a.C).Ak(c)}}};
Lea=function(a){if(a.Z)return function(a){a.ob(window.Infinity,!0)};
var b=Math.floor((0,g.D)()/1E3)-a.T;return function(a){a.ob(a.getCurrentTime()+b,!0)}};
SN=function(a,b,c,d,e){MM.call(this,b,d.g,e);this.N=c;this.G=d;this.o=d.g;this.I=a;this.B=this.C=null;a=this.G.Yb();a.visible=!1;QN(this.I,a,this)};
Mea=function(a){return TN(a.renderer&&a.renderer.adBreakServiceRenderer&&a.renderer.adBreakServiceRenderer.getAdBreakUrl||"")};
TN=function(a){if(!a)return!1;a=jh(a);if(!a)return!1;try{var b=(0,window.decodeURIComponent)(a)}catch(c){return g.N(c),!1}return b?b.split("&").some(function(a){a=a.split("=");return 1<a.length&&"pat"==a[0]}):!1};
Nea=function(a){return a&&a.renderer&&a.renderer.invideoOverlayAdRenderer?!0:!1};
Oea=function(a){return a&&a.config&&a.config.adPlacementConfig&&"AD_PLACEMENT_KIND_START"==a.config.adPlacementConfig.kind&&a.renderer&&a.renderer.backfillMpuCompanionAdRenderer?!0:!1};
UN=function(a,b,c,d,e){g.O.call(this);this.l=a;this.C=g.S(g.V(b).experiments,"fix_bulleit_cue_range_seek");this.F=g.S(g.V(b).experiments,"bulleit_gmi_assume_empty_is_throttled");this.B=c;this.g=d;this.A=sM(e,rM(pM(d)));this.o=!1;Pea(this)};
Qea=function(a,b){var c=null,d={isEmpty:!0,Zt:!1,gn:[]};try{c=JSON.parse(b.response)}catch(f){return b.response&&g.N(f),d}if(!c)return d;if(c&&c.adThrottled)return d.Zt=!0,d;c=c.playerAds;if(!c||!c.length)return d;c=c.map(function(a){return a.adPlacementRenderer}).filter(function(a){return a&&null!=a.renderer});
if(0==c.length)return d;if(a.C&&0<a.g.Yb().end){var e=a.g.Yb().end.toString();c.forEach(function(a){(a=a.config&&a.config.adPlacementConfig)&&"AD_PLACEMENT_KIND_MILLISECONDS"==a.kind&&"-1"==a.adTimeOffset.offsetEndMilliseconds&&a.adTimeOffset.offsetEndMilliseconds!=e&&(a.adTimeOffset.offsetEndMilliseconds=e)})}d.gn=c;
d.isEmpty=!1;return d};
Pea=function(a){[a.g.C,a.g.Yb()].filter(function(a){return null!=a}).forEach(function(b){QN(a.l,b,a)})};
VN=function(a,b,c,d,e){NN.call(this,a,b,c,d,e);this.fa=(this.A=d.g instanceof eL?d.g:null)?this.A.g.length:0;this.L=-1;this.N=this.o=null;this.X=g.S(g.V(b).experiments,"bulleit_mimic_ima_player_api_calls")};
WN=function(a){var b=a.A&&a.A.l||null;b&&(a.o=HN(a.g,b,a.macros,a.C),a.o.subscribe("onAdUxUpdate",a.vv,a),NM(a.o))};
XN=function(a,b){b=void 0===b?0:b;if(null!=a.A){a.L++;if(a.A.g.length&&a.A.g[0].length){var c=a.A.g.shift();g.S(g.V(a.g).experiments,"enable_queueing_api_in_html5")?a.Vb(c[b],!0):a.Vb(c[b])}else a.Ue();PN(a,a.L,a.fa)}};
Rea=function(a,b){a.X||b.forEach(function(b){b.forEach(function(b){b instanceof aL&&!(0<b.I.length)&&(b=bL(b),a.g.pj(b,2))})})};
ZN=function(a){YN=a&&a.data};
aO=function(a){$N=a&&a.data};
bO=function(){YN=null};
cO=function(a,b){g.O.call(this);var c=this;this.g=a;this.Z=null;this.N=-1;this.la=b;this.fa=new XK(a,AM(a)?null:new QK);this.o=null;this.R=Mf(function(){c.g.ga()||g.qK(c.g,"ad")});
this.l=null;this.B=new window.Map;this.A=new window.Set;this.J=[];this.G=null;this.Y=g.S(g.V(a).experiments,"fix_bulleit_cue_range_seek");this.na=g.S(g.V(a).experiments,"bulleit_use_cue_video_to_reset_on_stop_ad");this.ia=g.S(g.V(a).experiments,"bulleit_disable_preroll_release_on_dispose");this.F=null;this.I=new window.Set;this.ra=new qea(a);this.ba=new g.Gt(this);g.I(this,this.ba);this.C=new g.Gt(this);g.I(this,this.C);this.ea=this.X=!1;this.T=null;this.L=g.GA(g.V(a))};
Sea=function(a){return a&&a.adPlacements?a.adPlacements.map(function(a){return a.adPlacementRenderer}).filter(function(a){return a&&null!=a.renderer}):[]};
Tea=function(a,b){return b.filter(function(b){return"AD_PLACEMENT_KIND_CUE_POINT_TRIGGERED"==(b.config&&b.config.adPlacementConfig&&b.config.adPlacementConfig.kind||null)?(a.G=b,!1):!0})};
Uea=function(a,b){return b.every(function(b){b=a.B.get(b);return null==b?(g.N(Error("AdCueRange without a corresponding AdPlacement.")),!0):b instanceof UN?!1:b instanceof NN?!mL(b.B):!0})};
dO=function(a){var b=Vea(a);0<b.length?(Uea(a,b)&&a.R(),g.Zf(function(){if(!a.ga())for(var c=g.p(b),d=c.next();!d.done;d=c.next())a.Hl(d.value)})):a.R()};
Wea=function(a){return 0<a.N?Math.floor((0,g.D)()/1E3-a.N):0};
Vea=function(a){for(var b=[],c=g.p(a.A),d=c.next();!d.done;d=c.next())d=d.value,KK(d)&&b.push(d);c=g.p(b);for(d=c.next();!d.done;d=c.next())a.A["delete"](d.value);return b};
eO=function(a,b,c){c=void 0===c?null:c;c=void 0===c?null:c;var d=a.ra;var e=1E3*a.g.Tb(1);var f=a.g.getVideoData(1).pa||!1;e=new IK(e,1E3*a.g.getCurrentTime()||0,f);f=a.J.length;var k=c;f=void 0===f?0:f;k=void 0===k?null:k;c=[];var l=0;if(k){k=g.p(k);for(var m=k.next();!m.done;m=k.next()){m=m.value;var n=e,q=new IK(n.o,n.A,n.livestream),u=n.l;u&&(q.l=new sx(u.Qd,u.durationSecs,u.context,u.identifier,u.event,u.g));n.g&&(q.g=n.g);n=q;n.l=m;c.push(kM(b[0],f+l,d,n));l++}}else for(b=g.p(b),k=b.next();!k.done;k=
b.next())c.push(kM(k.value,f+l,d,e)),l++;a.J=a.J.concat(c);if(0!=c.length)for(d=rM(oM(a.g)),b=c.length-1;0<=b;b--)e=a,f=a.g,l=a.la,k=a.fa,m=c[b],m.g instanceof eL?(e=new VN(e,f,new IN,m,d),RN(e)):m.g instanceof gL?new SN(e,f,k,m,d):""==m.l?(e=new NN(e,f,new IN,m,d),RN(e)):new UN(e,f,l,m,d)};
hO=function(a,b){if(b.fl())g.$e(a.o),a.o=b;else{if((b.Eo()||b.F instanceof aM)&&a.o&&a.o.Yb().start<b.Yb().start){var c=a.fa;if(c.g)c.g&&nea(c.g);else{var d=c.l.getVideoData(1);c.l.ma("updatekevlarcompanion",{contentVideoId:d&&d.videoId})}g.$e(a.o);a.o=null}b.Wt()&&(a.l&&fO(a),a.l=b,mL(b.B)&&(a.C.M(a.g,"presentingplayerstatechange",a.eF),a.C.M(a.g,"internalAbandon",a.vG),a.C.M(a.g,"aduxclicked",a.EG),a.C.M(a.g,"progresssync",a.rK),a.C.M(a.g,"onVolumeChange",a.fF),a.C.M(a.g,"fullscreentoggled",a.dF),
g.eq(a.g.getRootNode(),["ad-showing","ad-interrupting"]),g.S(g.V(a.g).experiments,"enable_queueing_api_in_html5")||g.gO(a.g.app,2)))}};
iO=function(a,b){switch(b){case "control_play":nL(a)&&iJ(a.g.Ae());break;case "control_pause":nL(a)&&VI(a.g.Ae())}};
fO=function(a,b){var c=!!a.l&&mL(a.l.B)&&yM(a.g);a.l&&jO(a,a.l);a.l=null;c&&(g.It(a.C),g.gq(a.g.getRootNode(),["ad-showing","ad-interrupting"]),a.na?a.g.np({},2):g.aJ(g.W(a.g.app,2)),a.X||(g.CK(a.g,2),a.L||(c=g.XJ(a.g),g.U(c,4)&&!g.U(c,2)&&a.g.Gb()),b&&b(a.g)));a.ia?a.ea||a.R():a.R()};
QN=function(a,b,c){if(b instanceof JK){if(LK(b)&&g.U(g.XJ(a.g),64)&&a.L){var d=1E3*a.g.getCurrentTime()||0;d!=b.start&&b.contains(d)&&b.Ff()}a.B.has(b)?g.N(Error(b.toString()+" has already been seen")):(a.A.add(b),a.B.set(b,c),KK(b)||g.mK(a.g,[b],1))}else g.N(Error("Should use AdCueRange instead of CueRange"))};
jO=function(a,b){for(var c=a.B,d=g.p(c),e=d.next();!e.done;e=d.next()){e=g.p(e.value);var f=e.next().value;if(e.next().value==b){c["delete"](f);break}}g.$e(b)};
nL=function(a){return yM(a.g)&&a.l.Eo()};
kO=function(a){return a&&a.thumbnails&&0!=(a.thumbnails||null).length&&a.thumbnails[0].url?g.Nb(a.thumbnails[0].url):""};
lO=function(a,b,c){X.call(this,a,b,{D:"img",H:"ytp-ad-image"},"ad-image",void 0===c?null:c);this.hide()};
g.nO=function(){return g.mO?{D:"div",W:["ytp-icon","ytp-icon-cast-desktop-on"]}:{D:"svg",O:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{D:"path",Fa:!0,O:{d:"M7,24 L7,27 L10,27 C10,25.34 8.66,24 7,24 L7,24 Z M7,20 L7,22 C9.76,22 12,24.24 12,27 L14,27 C14,23.13 10.87,20 7,20 L7,20 Z M25,13 L11,13 L11,14.63 C14.96,15.91 18.09,19.04 19.37,23 L25,23 L25,13 L25,13 Z M7,16 L7,18 C11.97,18 16,22.03 16,27 L18,27 C18,20.92 13.07,16 7,16 L7,16 Z M27,9 L9,9 C7.9,9 7,9.9 7,11 L7,14 L9,14 L9,11 L27,11 L27,25 L20,25 L20,27 L27,27 C28.1,27 29,26.1 29,25 L29,11 C29,9.9 28.1,9 27,9 L27,9 Z",
fill:"#fff"}}]}};
oO=function(){return{D:"svg",O:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{D:"path",O:{d:"m 14.8,21.9 -4.2,-4.2 -1.4,1.4 5.6,5.6 12,-12 -1.4,-1.4 -10.6,10.6 z",fill:"#fff"}}]}};
g.pO=function(){return g.mO?{D:"div",W:["ytp-icon","ytp-icon-chevron-back"]}:{D:"svg",O:{height:"100%",version:"1.1",viewBox:"0 0 32 32",width:"100%"},K:[{D:"path",O:{d:"M 19.41,20.09 14.83,15.5 19.41,10.91 18,9.5 l -6,6 6,6 z",fill:"#fff"}}]}};
g.qO=function(){return g.mO?{D:"div",W:["ytp-icon","ytp-icon-chevron-forward"]}:{D:"svg",O:{height:"100%",version:"1.1",viewBox:"0 0 32 32",width:"100%"},K:[{D:"path",O:{d:"m 12.59,20.34 4.58,-4.59 -4.58,-4.59 1.41,-1.41 6,6 -6,6 z",fill:"#fff"}}]}};
rO=function(){return g.mO?{D:"div",W:["ytp-icon","ytp-icon-clip-clear"]}:{D:"svg",O:{height:"100%",version:"1.1",viewBox:"0 0 14 14",width:"100%"},K:[{D:"path",O:{d:"M14,14 L14,0 L0,0 L0,14 L14,14 Z"}},{D:"path",O:{d:"M7.15,8.35 L9.25,10.45 L10.65,9.05 L8.55,6.95 L10.7,4.8 L9.3,3.4 L7.15,5.55 L5,3.4 L3.6,4.8 L5.75,6.95 L3.65,9.05 L5.05,10.45 L7.15,8.35 Z",fill:"#fff"}}]}};
sO=function(){return g.mO?{D:"div",W:["ytp-icon","ytp-icon-clip-end"]}:{D:"svg",O:{height:"100%",version:"1.1",viewBox:"0 0 14 14",width:"100%"},K:[{D:"path",Fa:!0,O:{d:"M2,14 L5,11 L5,3 L2,0 L9,0 L9,14 L2,14 L2,14 Z",fill:"#eaeaea"}}]}};
tO=function(){return g.mO?{D:"div",W:["ytp-icon","ytp-icon-clip-start"]}:{D:"svg",O:{height:"100%",version:"1.1",viewBox:"0 0 14 14",width:"100%"},K:[{D:"path",Fa:!0,O:{d:"M12,14 L9,11 L9,3 L12,0 L5,0 L5,14 L12,14 Z",fill:"#eaeaea"}}]}};
g.uO=function(){return g.mO?{D:"div",W:["ytp-icon","ytp-icon-close"]}:{D:"svg",O:{height:"100%",viewBox:"0 0 24 24",width:"100%"},K:[{D:"path",O:{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z",fill:"#fff"}}]}};
vO=function(){return g.mO?{D:"div",W:["ytp-icon","ytp-icon-link"]}:{D:"svg",O:{height:"100%",viewBox:"0 0 36 36",width:"100%"},K:[{D:"path",O:{d:"M5.85 18.0c0.0-2.56 2.08-4.65 4.65-4.65h6.0V10.5H10.5c-4.14 .0-7.5 3.36-7.5 7.5s3.36 7.5 7.5 7.5h6.0v-2.85H10.5c-2.56 .0-4.65-2.08-4.65-4.65zM12.0 19.5h12.0v-3.0H12.0v3.0zm13.5-9.0h-6.0v2.85h6.0c2.56 .0 4.65 2.08 4.65 4.65s-2.08 4.65-4.65 4.65h-6.0V25.5h6.0c4.14 .0 7.5-3.36 7.5-7.5s-3.36-7.5-7.5-7.5z",fill:"#fff"}}]}};
wO=function(){return g.mO?{D:"div",W:["ytp-icon","ytp-icon-next"]}:{D:"svg",O:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{D:"path",Fa:!0,H:"ytp-svg-fill",O:{d:"M 12,24 20.5,18 12,12 V 24 z M 22,12 v 12 h 2 V 12 h -2 z"}}]}};
g.xO=function(){return g.mO?{D:"div",W:["ytp-icon","ytp-icon-notifications-active"]}:{D:"svg",O:{fill:"#fff",height:"24px",viewBox:"0 0 24 24",width:"24px"},K:[{D:"path",O:{d:"M7.58 4.08L6.15 2.65C3.75 4.48 2.17 7.3 2.03 10.5h2c.15-2.65 1.51-4.97 3.55-6.42zm12.39 6.42h2c-.15-3.2-1.73-6.02-4.12-7.85l-1.42 1.43c2.02 1.45 3.39 3.77 3.54 6.42zM18 11c0-3.07-1.64-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.63 5.36 6 7.92 6 11v5l-2 2v1h16v-1l-2-2v-5zm-6 11c.14 0 .27-.01.4-.04.65-.14 1.18-.58 1.44-1.18.1-.24.15-.5.15-.78h-4c.01 1.1.9 2 2.01 2z"}}]}};
yO=function(){return g.mO?{D:"div",W:["ytp-icon","ytp-icon-pause"]}:{D:"svg",O:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{D:"path",Fa:!0,H:"ytp-svg-fill",O:{d:"M 12,26 16,26 16,10 12,10 z M 21,26 25,26 25,10 21,10 z"}}]}};
zO=function(){return g.mO?{D:"div",W:["ytp-icon","ytp-icon-pip"]}:{D:"svg",O:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{D:"path",Fa:!0,O:{d:"M25,17 L17,17 L17,23 L25,23 L25,17 L25,17 Z M29,25 L29,10.98 C29,9.88 28.1,9 27,9 L9,9 C7.9,9 7,9.88 7,10.98 L7,25 C7,26.1 7.9,27 9,27 L27,27 C28.1,27 29,26.1 29,25 L29,25 Z M27,25.02 L9,25.02 L9,10.97 L27,10.97 L27,25.02 L27,25.02 Z",fill:"#fff"}}]}};
AO=function(){return g.mO?{D:"div",W:["ytp-icon","ytp-icon-play"]}:{D:"svg",O:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{D:"path",Fa:!0,H:"ytp-svg-fill",O:{d:"M 12,26 18.5,22 18.5,14 12,10 z M 18.5,22 25,18 25,18 18.5,14 z"}}]}};
BO=function(){return g.mO?{D:"div",W:["ytp-icon","ytp-icon-prev"]}:{D:"svg",O:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{D:"path",Fa:!0,H:"ytp-svg-fill",O:{d:"m 12,12 h 2 v 12 h -2 z m 3.5,6 8.5,6 V 12 z"}}]}};
g.CO=function(){return g.mO?{D:"div",W:["ytp-icon","ytp-icon-replay"]}:{D:"svg",O:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{D:"path",Fa:!0,H:"ytp-svg-fill",O:{d:"M 18,11 V 7 l -5,5 5,5 v -4 c 3.3,0 6,2.7 6,6 0,3.3 -2.7,6 -6,6 -3.3,0 -6,-2.7 -6,-6 h -2 c 0,4.4 3.6,8 8,8 4.4,0 8,-3.6 8,-8 0,-4.4 -3.6,-8 -8,-8 z"}}]}};
g.DO=function(){return g.mO?{D:"div",W:["ytp-icon","ytp-icon-settings"]}:{D:"svg",O:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{D:"path",Fa:!0,O:{d:"m 23.94,18.78 c .03,-0.25 .05,-0.51 .05,-0.78 0,-0.27 -0.02,-0.52 -0.05,-0.78 l 1.68,-1.32 c .15,-0.12 .19,-0.33 .09,-0.51 l -1.6,-2.76 c -0.09,-0.17 -0.31,-0.24 -0.48,-0.17 l -1.99,.8 c -0.41,-0.32 -0.86,-0.58 -1.35,-0.78 l -0.30,-2.12 c -0.02,-0.19 -0.19,-0.33 -0.39,-0.33 l -3.2,0 c -0.2,0 -0.36,.14 -0.39,.33 l -0.30,2.12 c -0.48,.2 -0.93,.47 -1.35,.78 l -1.99,-0.8 c -0.18,-0.07 -0.39,0 -0.48,.17 l -1.6,2.76 c -0.10,.17 -0.05,.39 .09,.51 l 1.68,1.32 c -0.03,.25 -0.05,.52 -0.05,.78 0,.26 .02,.52 .05,.78 l -1.68,1.32 c -0.15,.12 -0.19,.33 -0.09,.51 l 1.6,2.76 c .09,.17 .31,.24 .48,.17 l 1.99,-0.8 c .41,.32 .86,.58 1.35,.78 l .30,2.12 c .02,.19 .19,.33 .39,.33 l 3.2,0 c .2,0 .36,-0.14 .39,-0.33 l .30,-2.12 c .48,-0.2 .93,-0.47 1.35,-0.78 l 1.99,.8 c .18,.07 .39,0 .48,-0.17 l 1.6,-2.76 c .09,-0.17 .05,-0.39 -0.09,-0.51 l -1.68,-1.32 0,0 z m -5.94,2.01 c -1.54,0 -2.8,-1.25 -2.8,-2.8 0,-1.54 1.25,-2.8 2.8,-2.8 1.54,0 2.8,1.25 2.8,2.8 0,1.54 -1.25,2.8 -2.8,2.8 l 0,0 z",
fill:"#fff"}}]}};
EO=function(){return g.mO?{D:"div",W:["ytp-icon","ytp-icon-stop"]}:{D:"svg",O:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{D:"path",Fa:!0,H:"ytp-svg-fill",O:{d:"M 12,25 19,25 19,11 12,11 z M 19,25 26,25 26,11 19,11 z"}}]}};
FO=function(){return g.mO?{D:"div",W:["ytp-icon","ytp-icon-subtitles"]}:{D:"svg",O:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{D:"path",Fa:!0,O:{d:"M11,11 C9.9,11 9,11.9 9,13 L9,23 C9,24.1 9.9,25 11,25 L25,25 C26.1,25 27,24.1 27,23 L27,13 C27,11.9 26.1,11 25,11 L11,11 Z M11,17 L14,17 L14,19 L11,19 L11,17 L11,17 Z M20,23 L11,23 L11,21 L20,21 L20,23 L20,23 Z M25,23 L22,23 L22,21 L25,21 L25,23 L25,23 Z M25,19 L16,19 L16,17 L25,17 L25,19 L25,19 Z",fill:"#fff"}}]}};
GO=function(){return g.mO?{D:"div",W:["ytp-icon","ytp-icon-volume-high"]}:{D:"svg",O:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{D:"path",Fa:!0,O:{d:"M8,21 L12,21 L17,26 L17,10 L12,15 L8,15 L8,21 Z M19,14 L19,22 C20.48,21.32 21.5,19.77 21.5,18 C21.5,16.26 20.48,14.74 19,14 Z M19,11.29 C21.89,12.15 24,14.83 24,18 C24,21.17 21.89,23.85 19,24.71 L19,26.77 C23.01,25.86 26,22.28 26,18 C26,13.72 23.01,10.14 19,9.23 L19,11.29 Z",fill:"#fff"}}]}};
HO=function(){return g.mO?{D:"div",W:["ytp-icon","ytp-icon-volume-low"]}:{D:"svg",O:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{D:"path",Fa:!0,O:{d:"M8,21 L12,21 L17,26 L17,10 L12,15 L8,15 L8,21 Z M19,14 L19,22 C20.48,21.32 21.5,19.77 21.5,18 C21.5,16.26 20.48,14.74 19,14 Z",fill:"#fff"}}]}};
IO=function(){return g.mO?{D:"div",W:["ytp-icon","ytp-icon-volume-muted"]}:{D:"svg",O:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{D:"path",Fa:!0,H:"ytp-svg-fill",O:{d:"m 21.48,17.98 c 0,-1.77 -1.02,-3.29 -2.5,-4.03 v 2.21 l 2.45,2.45 c .03,-0.2 .05,-0.41 .05,-0.63 z m 2.5,0 c 0,.94 -0.2,1.82 -0.54,2.64 l 1.51,1.51 c .66,-1.24 1.03,-2.65 1.03,-4.15 0,-4.28 -2.99,-7.86 -7,-8.76 v 2.05 c 2.89,.86 5,3.54 5,6.71 z M 9.25,8.98 l -1.27,1.26 4.72,4.73 H 7.98 v 6 H 11.98 l 5,5 v -6.73 l 4.25,4.25 c -0.67,.52 -1.42,.93 -2.25,1.18 v 2.06 c 1.38,-0.31 2.63,-0.95 3.69,-1.81 l 2.04,2.05 1.27,-1.27 -9,-9 -7.72,-7.72 z m 7.72,.99 -2.09,2.08 2.09,2.09 V 9.98 z"}}]}};
JO=function(a){if(!a)return null;switch(a.iconType){case "OPEN_IN_NEW":return{D:"svg",O:{fill:"#fff",height:"100%",version:"1.1",viewBox:"0 0 48 48",width:"100%"},K:[{D:"path",O:{d:"M0 0h48v48H0z",fill:"none"}},{D:"path",O:{d:"M38 38H10V10h14V6H10c-2.21 0-4 1.79-4 4v28c0 2.21 1.79 4 4 4h28c2.21 0 4-1.79 4-4V24h-4v14zM28 6v4h7.17L15.51 29.66l2.83 2.83L38 12.83V20h4V6H28z"}}]};case "CHECK_BOX":return g.mO?{D:"div",W:["ytp-icon","ytp-icon-check-box"]}:{D:"svg",O:{height:"100%",viewBox:"0 0 24 24",width:"100%"},
K:[{D:"path",O:{d:"M0 0h24v24H0z",fill:"none"}},{D:"path",O:{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z",fill:"#d4d4d4"}}]};case "CHECK_BOX_OUTLINE_BLANK":return g.mO?{D:"div",W:["ytp-icon","ytp-icon-check-box-outline-blank"]}:{D:"svg",O:{height:"100%",viewBox:"0 0 24 24",width:"100%"},K:[{D:"path",O:{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z",fill:"#d4d4d4"}},
{D:"path",O:{d:"M0 0h24v24H0z",fill:"none"}}]};case "CLOSE":return g.uO();case "INFO_OUTLINE":return{D:"svg",O:{fill:"#fff",height:"100%",version:"1.1",viewBox:"0 0 48 48",width:"100%"},K:[{D:"path",O:{d:"M0 0h48v48H0z",fill:"none"}},{D:"path",O:{d:"M22 34h4V22h-4v12zm2-30C12.95 4 4 12.95 4 24s8.95 20 20 20 20-8.95 20-20S35.05 4 24 4zm0 36c-8.82 0-16-7.18-16-16S15.18 8 24 8s16 7.18 16 16-7.18 16-16 16zm-2-22h4v-4h-4v4z"}}]};case "REMOVE_CIRCLE":return{D:"svg",O:{fill:"#fff",height:"100%",version:"1.1",
viewBox:"0 0 24 24",width:"100%"},K:[{D:"path",O:{d:"M0 0h24v24H0z",fill:"none"}},{D:"path",O:{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm5 11H7v-2h10v2z",fill:"#757575"}}]};case "SKIP_NEXT":return wO();case "LIKE":return g.mO?{D:"div",W:["ytp-icon","ytp-icon-like"]}:{D:"svg",O:{viewBox:"0 0 24 24"},K:[{D:"path",O:{d:"M0 0h24v24H0z",fill:"none"}},{D:"path",O:{d:"M1 21h4V9H1v12zm22-11c0-1.1-.9-2-2-2h-6.31l.95-4.57.03-.32c0-.41-.17-.79-.44-1.06L14.17 1 7.59 7.59C7.22 7.95 7 8.45 7 9v10c0 1.1.9 2 2 2h9c.83 0 1.54-.5 1.84-1.22l3.02-7.05c.09-.23.14-.47.14-.73v-1.91l-.01-.01L23 10z",
fill:"#fff"}}]};case "DISLIKE":return g.mO?{D:"div",W:["ytp-icon","ytp-icon-dislike"]}:{D:"svg",O:{viewBox:"0 0 24 24"},K:[{D:"path",O:{d:"M0 0h24v24H0z",fill:"none"}},{D:"path",O:{d:"M15 3H6c-.83 0-1.54.5-1.84 1.22l-3.02 7.05c-.09.23-.14.47-.14.73v1.91l.01.01L1 14c0 1.1.9 2 2 2h6.31l-.95 4.57-.03.32c0 .41.17.79.44 1.06L9.83 23l6.59-6.59c.36-.36.58-.86.58-1.41V5c0-1.1-.9-2-2-2zm4 0v12h4V3h-4z",fill:"#fff"}}]};default:return g.N(Error("Unexpected icon "+a),"WARNING"),null}};
KO=function(a,b,c,d,e){c=void 0===c?[]:c;e=void 0===e?!1:e;X.call(this,a,b,{D:"button",W:["ytp-ad-button"].concat(c)},void 0===d?"button":d);this.B=this.A=this.C=null;this.F=e;this.hide()};
Xea=function(a){var b=null;null!=a.B&&(b=[a.B.serviceEndpoint,a.B.navigationEndpoint].filter(function(a){return null!=a}));
return b||[]};
LO=function(a,b,c,d,e){X.call(this,a,b,c,d);this.A=e;g.I(this,this.A);this.R=this.G=-1};
MO=function(a){a.A&&-1===a.G&&(a.G=a.A.subscribe("q",a.Zh,a),a.R=a.A.subscribe("p",a.Fj,a),a.Zh())};
NO=function(a){null!=a.A&&-1!==a.G&&(a.A.Ac(a.G),a.A.Ac(a.R),a.R=-1,a.G=-1)};
OO=function(a,b,c){LO.call(this,a,b,{D:"div",H:"ytp-ad-timed-pie-countdown-container",K:[{D:"svg",H:"ytp-ad-timed-pie-countdown",O:{viewBox:"0 0 20 20"},K:[{D:"circle",H:"ytp-ad-timed-pie-countdown-inner",O:{r:"5",cx:"10",cy:"10"}},{D:"circle",H:"ytp-ad-timed-pie-countdown-outer",O:{r:"10",cx:"10",cy:"10"}}]}]},"timed-pie-countdown",c);this.C=this.g["ytp-ad-timed-pie-countdown-inner"];this.B=Math.ceil(10*3.14);this.hide()};
PO=function(a,b,c,d){X.call(this,a,b,{D:"div",H:"ytp-ad-text"},void 0===d?"ad-text":d,void 0===c?null:c);this.A=null;this.hide()};
QO=function(a,b,c){c=void 0===c?!0:c;g.O.call(this);this.B=b;this.C=new g.Gt(this);g.I(this,this.C);this.l=a;this.Aa=new g.Bg(100);g.I(this,this.Aa);this.C.M(this.Aa,"tick",this.fG);this.A={seekableStart:0,seekableEnd:a/1E3,current:0};this.o=!1;this.g=0;c&&this.start()};
RO=function(a,b){X.call(this,a,b,{D:"div",H:"ytp-ad-action-interstitial",K:[{D:"div",H:"ytp-ad-action-interstitial-background"},{D:"div",H:"ytp-ad-action-interstitial-slot",K:[{D:"div",H:"ytp-ad-action-interstitial-card",K:[{D:"div",H:"ytp-ad-action-interstitial-image-container"},{D:"div",H:"ytp-ad-action-interstitial-headline-container"},{D:"div",H:"ytp-ad-action-interstitial-description-container"},{D:"div",H:"ytp-ad-action-interstitial-action-button-container"}]}]}]},"ad-action-interstitial");
this.X=this.g["ytp-ad-action-interstitial-image-container"];this.C=new lO(this.l,this.o,"ytp-ad-action-interstitial-image");g.I(this,this.C);this.C.aa(this.X);this.R=this.g["ytp-ad-action-interstitial-headline-container"];this.G=new PO(this.l,this.o,"ytp-ad-action-interstitial-headline");g.I(this,this.G);this.G.aa(this.R);this.N=this.g["ytp-ad-action-interstitial-description-container"];this.F=new PO(this.l,this.o,"ytp-ad-action-interstitial-description");g.I(this,this.F);this.F.aa(this.N);this.ca=
this.g["ytp-ad-action-interstitial-background"];this.L=this.g["ytp-ad-action-interstitial-action-button-container"];this.B=this.A=null;this.ba=new g.Gt;g.I(this,this.ba);this.J=null;this.hide()};
SO=function(a){var b=g.Ed("html5-video-player");b&&g.K(b,"ytp-ad-display-override",a)};
TO=function(a,b,c){c=void 0===c?!1:c;X.call(this,a,b,{D:"span",H:"ytp-ad-simple-ad-badge"},"simple-ad-badge");this.A=c;this.hide()};
UO=function(a,b,c,d){X.call(this,a,b,{D:"div",H:"ytp-ad-image-button-container",K:[{D:"div",H:"ytp-ad-image-button-thumbnail"},{D:"div",H:"ytp-ad-image-button-text"}]},"ad-image-button",void 0===d?null:d);this.A=null;this.B=c;this.hide()};
g.VO=function(a){var b=Math.abs(Math.floor(a)),c=Math.floor(b/86400),d=Math.floor(b%86400/3600),e=Math.floor(b%3600/60);b=Math.floor(b%60);var f="";0<c&&(f+=c+":",10>d&&(f+="0"));if(0<c||0<d)f+=d+":",10>e&&(f+="0");f+=e+":";10>b&&(f+="0");f+=b;return 0<=a?f:"-"+f};
g.WO=function(a){return(!g.va(a.button)||0==a.button)&&!a.shiftKey&&!a.altKey&&!a.metaKey&&!a.ctrlKey};
XO=function(a,b,c){LO.call(this,a,b,{D:"span",H:"ytp-ad-duration-remaining"},"ad-duration-remaining",c);this.B=null;this.hide()};
YO=function(a,b,c,d,e,f){d=void 0===d?!1:d;e=void 0===e?[]:e;X.call(this,a,b,{D:"span",W:["ytp-ad-hover-text-button"].concat(e)},void 0===f?"ad-hover-text-button":f);this.button=this.B=null;this.G=d;this.F=c;this.hide()};
ZO=function(a,b){X.call(this,a,b,{D:"div",H:"ytp-ad-feedback-dialog-background",K:[{D:"div",H:"ytp-ad-feedback-dialog-container",K:[{D:"div",H:"ytp-ad-feedback-dialog-form",K:[{D:"div",H:"ytp-ad-feedback-dialog-title",K:[{D:"span",V:"{{title}}"}]},{D:"span",H:"ytp-ad-info-dialog-feedback-options-title",V:"{{reasonsTitle}}"},{D:"div",H:"ytp-ad-info-dialog-feedback-options"},{D:"div",H:"ytp-ad-feedback-dialog-confirm-container",K:[{D:"button",H:"ytp-ad-feedback-dialog-cancel-button",V:"{{cancelLabel}}"},
{D:"button",H:"ytp-ad-feedback-dialog-confirm-button",V:"{{confirmLabel}}"}]}]}]}]},"ad-info-dialog");this.C=[];this.A=null;this.F=this.g["ytp-ad-feedback-dialog-cancel-button"];this.G=this.g["ytp-ad-feedback-dialog-confirm-button"];this.J=this.g["ytp-ad-info-dialog-feedback-options"];this.L=this.g["ytp-ad-feedback-dialog-title"];this.B=null;this.hide()};
afa=function(a,b){var c=b.cancelRenderer&&b.cancelRenderer.buttonRenderer||null;c&&(a.A=new KO(a.l,a.o,["ytp-ad-feedback-dialog-close-button"],"button"),g.I(a,a.A),a.A.init(NK("button"),c,a.macros),a.A.da("click",a.Rv,a),a.A.aa(a.element));b.title&&(c=g.mC(b.title),a.updateValue("title",c));b.reasonsTitle&&(c=g.mC(b.reasonsTitle),a.updateValue("reasonsTitle",c));b.reasons&&Yea(a,b.reasons);b.cancelLabel&&(c=g.mC(b.cancelLabel),a.updateValue("cancelLabel",c),g.rt(a.F,"click",function(){return a.Rv()}));
b.confirmLabel&&(c=g.mC(b.confirmLabel),a.updateValue("confirmLabel",c),g.rt(a.G,"click",function(){return Zea(a)}));
b.undoRenderer&&$ea(a,b.undoRenderer)};
Yea=function(a,b){for(var c=g.p(b),d=c.next();!d.done;d=c.next()){var e=d.value;d=e.reason;null==d?g.N(Error("AdFeedbackReason.reason was not set."),"WARNING"):(e=e.endpoint,null==e?g.N(Error("AdFeedbackReason.endpoint was not set."),"WARNING"):(d=new $O(d,e),g.I(a,d),a.J.appendChild(d.ha()),a.C.push(d)))}};
$ea=function(a,b){var c=b&&b.buttonRenderer||null;c&&(c.serviceEndpoint?(a.B=new KO(a.l,a.o,["ytp-ad-feedback-dialog-undo-mute-button"],"ad-feedback-undo-mute-button"),g.I(a,a.B),a.B.init(NK("ad-feedback-undo-mute-button"),c,a.macros),a.B.da("click",a.jK,a),a.B.aa(a.L)):g.N(Error("AdFeedbackRenderer.undoRenderer.undoButtonRenderer was specified but did not contain a service endpoint."),"WARNING"))};
Zea=function(a){var b=a.C.filter(function(a){return a.o.checked});
0!==b.length&&(oL(b[0].l,a.macros),a.l.Kd("ad-feedback-dialog-confirm-button"),a.P("r"),a.hide())};
$O=function(a,b){this.l=b;this.g=new g.tv({D:"label",H:"ytp-ad-feedback-dialog-reason-label",K:[{D:"input",H:"ytp-ad-feedback-dialog-reason-input",O:{type:"radio",name:"feedback-reason-group"}},{D:"span",H:"ytp-ad-feedback-dialog-reason-text",V:g.mC(a)}]});this.o=this.g.g["ytp-ad-feedback-dialog-reason-input"]};
aP=function(a,b,c,d){c=void 0===c?[]:c;d=void 0===d?"confirm-dialog":d;X.call(this,a,b,{D:"div",W:["ytp-ad-confirm-dialog-background"],K:[{D:"div",H:"ytp-ad-confirm-dialog-container",K:[{D:"div",W:["ytp-ad-confirm-dialog"].concat(c),K:[{D:"div",H:"ytp-ad-confirm-dialog-title",V:"{{title}}"},{D:"div",H:"ytp-ad-confirm-dialog-messages"},{D:"div",H:"ytp-ad-confirm-dialog-confirm-container",K:[{D:"button",H:"ytp-ad-confirm-dialog-cancel-button",V:"{{cancelLabel}}"},{D:"button",H:"ytp-ad-confirm-dialog-confirm-button",
V:"{{confirmLabel}}"}]}]}]},{D:"button",W:["ytp-ad-confirm-dialog-close-overlay-button","ytp-ad-button","ytp-ad-button-link"],K:[{D:"span",H:"ytp-ad-button-icon",K:[g.uO()]}]}]},d);this.B=this.g["ytp-ad-confirm-dialog-close-overlay-button"];this.C=this.g["ytp-ad-confirm-dialog-cancel-button"];this.G=this.g["ytp-ad-confirm-dialog-confirm-button"];this.F=this.g["ytp-ad-confirm-dialog-messages"];this.ba=new g.Gt;g.I(this,this.ba);this.A=null;this.hide()};
bfa=function(a,b){if(b.title){var c=g.mC(b.title);a.updateValue("title",c)}if(b.dialogMessages){c=g.p(b.dialogMessages);for(var d=c.next();!d.done;d=c.next())d=FL(d.value),a.F.appendChild(d)}b.cancelLabel&&(c=g.mC(b.cancelLabel),a.updateValue("cancelLabel",c),a.ba.M(a.C,"click",function(b){return a.Up(b)}));
b.confirmLabel&&(c=g.mC(b.confirmLabel),a.updateValue("confirmLabel",c),a.ba.M(a.G,"click",function(b){return a.Wp(b)}));
a.ba.M(a.B,"click",function(b){return a.Vp(b)})};
bP=function(a,b){aP.call(this,a,b,[],"ad-mute-confirm-dialog")};
cP=function(a,b,c){X.call(this,a,b,{D:"div",H:"ytp-ad-info-dialog-background",K:[{D:"div",H:"ytp-ad-info-dialog-container",K:[{D:"div",H:"ytp-ad-info-dialog-form",K:[{D:"div",H:"ytp-ad-info-dialog-title",V:"{{title}}"},{D:"ul",H:"ytp-ad-info-dialog-ad-reasons"},{D:"div",H:"ytp-ad-info-dialog-message"},{D:"div",H:"ytp-ad-info-dialog-mute-container"},{D:"div",H:"ytp-ad-info-dialog-confirm-container",K:[{D:"button",H:"ytp-ad-info-dialog-confirm-button",V:"{{confirmLabel}}"}]}]}]}]},"ad-info-dialog");
this.A=this.B=null;this.N=this.g["ytp-ad-info-dialog-confirm-button"];this.ca=this.g["ytp-ad-info-dialog-mute-container"];this.X=this.g["ytp-ad-info-dialog-message"];this.J=this.g["ytp-ad-info-dialog-ad-reasons"];this.F=this.C=null;this.R=c;this.G=null;this.L=!1;this.hide()};
cfa=function(a,b){var c=b.content&&b.content.adFeedbackRenderer||null;c&&(a.B=new ZO(a.l,a.o),g.I(a,a.B),a.B.init(NK("ad-feedback-dialog"),c,a.macros),a.B.aa(a.R),a.B.subscribe("r",function(){return a.P("t")}))};
dfa=function(a,b){var c=b.content&&b.content.confirmDialogRenderer||null;c&&(a.F=new bP(a.l,a.o),g.I(a,a.F),a.F.init(NK("ad-mute-confirm-dialog"),c,a.macros),a.F.aa(a.R),a.F.subscribe("s",function(){return a.P("t")}))};
efa=function(a){a.A&&a.A.da("click",a.Sv,a);g.rt(a.N,"click",function(){return a.Sv()})};
dP=function(a,b,c,d){YO.call(this,a,b,void 0===d?!0:d,!0,["ytp-ad-info-hover-text-button"],"ad-info-hover-text-button");this.A=null;this.C=c;this.hide()};
ffa=function(a,b,c){b=b.dialog&&b.dialog.adInfoDialogRenderer||null;null==b?g.N(Error("AdInfoDialogEndpoint did not contain an AdInfoDialogRenderer.")):(a.A=new cP(a.l,a.o,a.C),g.I(a,a.A),a.A.init(NK("ad-info-dialog"),b,c),a.A.aa(a.C),a.A.subscribe("u",function(){return a.P("w")}),a.A.subscribe("t",function(){return a.P("v")}))};
gfa=function(a,b,c){null==a.button?g.N(Error("AdInfoHoverTextButton.button was expected but it was not created.")):(b=b&&b.serviceEndpoint&&b.serviceEndpoint.adInfoDialogEndpoint||null,null==b?a.B&&g.J(a.B.element,"ytp-ad-info-hover-text-long"):(ffa(a,b,c),a.B&&g.J(a.B.element,"ytp-ad-info-hover-text-short"),a.button.da("click",function(){a.A&&!a.A.Ha()&&(a.A.show(),a.l.Kd("ad-info-icon-button"))})))};
g.eP=function(a,b,c,d){g.G.call(this);this.l=a;c||a.hide();this.B=null==d?b:d;this.g=this.A=null;this.o=new g.L(this.Hm,0,this);g.I(this,this.o)};
fP=function(a,b){var c=a.l.element;b?c.setAttribute("aria-hidden",!0):c.removeAttribute("aria-hidden")};
gP=function(a,b,c){X.call(this,a,b,{D:"div",H:"ytp-ad-choice-interstitial",K:[{D:"div",H:"ytp-ad-choice-interstitial-head-title"},{D:"div",H:"ytp-ad-choice-interstitial-button-container",K:[{D:"div",H:"ytp-ad-choice-interstitial-left-button"},{D:"div",H:"ytp-ad-choice-interstitial-right-button"}]},{D:"div",H:"ytp-ad-choice-interstitial-countdown-text"}]},"ad-choice-interstitial");this.C=c;this.A=this.G=this.B=this.F=null;this.J=new g.eP(this,0,!1,0);g.I(this,this.J);this.hide()};
hP=function(a,b){X.call(this,a,b,{D:"div",H:"ytp-ad-text-interstitial"},"ad-text-interstitial");this.B=this.g["ytp-ad-text-interstitial"];this.A=new PO(this.l,this.o,"ytp-ad-text-interstitial-message");g.I(this,this.A);this.A.aa(this.B);this.hide()};
iP=function(a){var b=g.Ed("html5-video-player");b&&g.K(b,"ytp-ad-display-override",a)};
jP=function(a,b,c,d,e){e=void 0===e?0:e;g.G.call(this);this.o=a;this.l=!1;this.G=d;this.B=!1;this.g=null;0<b&&(this.g=new g.L(this.Hr,b,this),g.I(this,this.g));this.A=new g.L(this.Hr,c,this);g.I(this,this.A);this.F=oq(this.o,e,1,d);g.I(this,this.F);this.C=oq(this.o,0,d,1);g.I(this,this.C);this.ba=new g.Gt;g.I(this,this.ba)};
lP=function(a,b){X.call(this,a,b,{D:"div",H:"ytp-ad-overlay-slot",K:[{D:"div",H:"ytp-ad-overlay-container"}]},"invideo-overlay");this.J=[];this.C=this.X=null;var c=this.g["ytp-ad-overlay-container"];this.N=new jP(c,45E3,6E3,.3,.4);g.I(this,this.N);var d=new g.tv({D:"div",H:"ytp-ad-text-overlay",K:[{D:"div",H:"ytp-ad-overlay-ad-info-button-container"},{D:"div",H:"ytp-ad-overlay-close-container",K:[{D:"button",H:"ytp-ad-overlay-close-button",K:[JO(kP)]}]},{D:"div",H:"ytp-ad-overlay-title",V:"{{title}}"},
{D:"div",H:"ytp-ad-overlay-desc",V:"{{description}}"},{D:"div",H:"ytp-ad-overlay-link",V:"{{displayUrl}}"}]});this.M(d.g["ytp-ad-overlay-title"],"click",g.La(this.xj,d.element));this.M(d.g["ytp-ad-overlay-link"],"click",g.La(this.xj,d.element));this.M(d.g["ytp-ad-overlay-close-container"],"click",this.Np);d.hide();this.F=d;g.I(this,this.F);this.F.aa(c);d=new g.tv({D:"div",W:["ytp-ad-text-overlay","ytp-ad-enhanced-overlay"],K:[{D:"div",H:"ytp-ad-overlay-ad-info-button-container"},{D:"div",H:"ytp-ad-overlay-close-container",
K:[{D:"button",H:"ytp-ad-overlay-close-button",K:[JO(kP)]}]},{D:"div",H:"ytp-ad-overlay-text-image",K:[{D:"img",O:{src:"{{imageUrl}}"}}]},{D:"div",H:"ytp-ad-overlay-title",V:"{{title}}"},{D:"div",H:"ytp-ad-overlay-desc",V:"{{description}}"},{D:"div",H:"ytp-ad-overlay-link",V:"{{displayUrl}}"}]});this.M(d.g["ytp-ad-overlay-title"],"click",g.La(this.xj,d.element));this.M(d.g["ytp-ad-overlay-link"],"click",g.La(this.xj,d.element));this.M(d.g["ytp-ad-overlay-close-container"],"click",this.Np);this.M(d.g["ytp-ad-overlay-text-image"],
"click",this.ZJ);d.hide();this.A=d;g.I(this,this.A);this.A.aa(c);d=new g.tv({D:"div",H:"ytp-ad-image-overlay",K:[{D:"div",H:"ytp-ad-overlay-ad-info-button-container"},{D:"div",H:"ytp-ad-overlay-close-container",K:[{D:"button",H:"ytp-ad-overlay-close-button",K:[JO(kP)]}]},{D:"div",H:"ytp-ad-overlay-image",K:[{D:"img",O:{src:"{{imageUrl}}",width:"{{width}}",height:"{{height}}"}}]}]});this.M(d.g["ytp-ad-overlay-image"],"click",g.La(this.xj,d.element));this.M(d.g["ytp-ad-overlay-close-container"],"click",
this.Np);d.hide();this.B=d;g.I(this,this.B);this.B.aa(c);this.ca=this.L=null;this.R=!1;this.G=null;this.hide()};
mP=function(a,b){if(b){var c=b.adHoverTextButtonRenderer||null;if(null==c)g.N(Error("AdInfoRenderer did not contain an AdHoverTextButtonRenderer."));else{var d=g.Ed("video-ads ytp-ad-module")||null;null==d?g.N(Error("Could not locate the root ads container element to attach the ad info dialog.")):(a.L=new g.tv({D:"div",H:"ytp-ad-overlay-ad-info-dialog-container"}),g.I(a,a.L),a.L.aa(d),d=new dP(a.l,a.o,a.L.element,!1),g.I(a,d),d.init(NK("ad-info-hover-text-button"),c,a.macros),a.G?(d.aa(a.G,0),d.subscribe("w",
a.yG,a),d.subscribe("v",a.BI,a),a.M(a.G,"click",a.zG),c=g.Ed("ytp-ad-button",d.element),a.M(c,"click",a.jG),a.ca=d):g.N(Error("Ad info button container within overlay ad was not present.")))}}else Rr(Error("AdInfoRenderer was not present within InvideoOverlayAdRenderer."))};
nP=function(a,b){var c=a.l.getRootNode();g.K(c,"ytp-ad-overlay-open",b);g.K(c,"ytp-ad-overlay-closed",!b)};
oP=function(a,b,c){LO.call(this,a,b,{D:"div",H:"ytp-ad-preview-slot"},"ad-preview",c);this.ca=-1;this.C=new g.tv({D:"span",H:"ytp-ad-preview-container"});g.I(this,this.C);this.B=new PO(this.l,this.o,"ytp-ad-preview-text");g.I(this,this.B);this.B.aa(this.C.element);this.L=new g.tv({D:"span",H:"ytp-ad-preview-image"});g.I(this,this.L);this.F=new lO(this.l,this.o);g.I(this,this.F);this.F.aa(this.L.element);this.L.aa(this.C.element);this.C.aa(this.element);this.N=new g.eP(this.C,400,!1,100);g.I(this,
this.N);this.J=0;this.X=!1;this.hide()};
pP=function(a){a.N.hide(function(){return a.hide()})};
qP=function(a){a.N.show(100);a.show()};
rP=function(a,b,c,d){LO.call(this,a,b,{D:"div",H:"ytp-ad-skip-button-slot"},"skip-button",c);this.F=null;this.ia=!1;this.va=d;this.ca=!1;this.C=new g.tv({D:"span",H:"ytp-ad-skip-button-container"});g.I(this,this.C);this.C.aa(this.element);this.B=this.J=null;this.N=new g.eP(this.C,500,!1,100);g.I(this,this.N);this.X=null;this.la=!1;this.L=g.V(this.l).l?new jP(this.C.element,15E3,5E3,.5,.5):new jP(this.C.element,0,5E3,.7,.5);g.I(this,this.L);this.hide()};
sP=function(a){a.N.hide(function(){return a.hide()})};
tP=function(a){a.N.show();a.show()};
uP=function(a,b,c,d,e){e=void 0===e?!1:e;X.call(this,a,b,{D:"div",H:"ytp-ad-seek-ad-slot"},"seek-ad");this.L=null;this.R=0;this.F=this.C=this.A=this.B=null;this.G=c;g.I(this,this.G);this.J=null;this.N=d;this.X=!1;this.ca=e;this.hide()};
vP=function(a,b,c,d){LO.call(this,a,b,{D:"div",H:"ytp-ad-skip-ad-slot"},"skip-ad",c);this.F=!1;this.J=0;this.C=this.B=null;this.L=d;this.hide()};
wP=function(a,b){a.F||(a.F=!0,a.B&&(b?pP(a.B):a.B.hide()),b?tP(a.C):a.C.show())};
xP=function(a,b,c,d){X.call(this,a,b,{D:"div",H:"ytp-ad-persisting-overlay",K:[{D:"div",H:"ytp-ad-persisting-overlay-skip"}]},"persisting-overlay");this.C=this.g["ytp-ad-persisting-overlay-skip"];this.A=c;g.I(this,this.A);this.B=d;this.hide()};
yP=function(a,b){PO.call(this,a,b,"ytp-video-ad-top-bar-title","ad-title")};
zP=function(a,b,c,d){c=void 0===c?[]:c;d=void 0===d?"toggle-button":d;var e=NK("ytp-ad-toggle-button-input");X.call(this,a,b,{D:"div",W:["ytp-ad-toggle-button"].concat(c),K:[{D:"label",H:"ytp-ad-toggle-button-label",O:{"for":e},K:[{D:"span",H:"ytp-ad-toggle-button-icon",K:[{D:"span",H:"ytp-ad-toggle-button-untoggled-icon",V:"{{untoggledIconTemplateSpec}}"},{D:"span",H:"ytp-ad-toggle-button-toggled-icon",V:"{{toggledIconTemplateSpec}}"}]},{D:"input",H:"ytp-ad-toggle-button-input",O:{id:e,type:"checkbox"}},
{D:"span",H:"ytp-ad-toggle-button-text",V:"{{buttonText}}"},{D:"span",H:"ytp-ad-toggle-button-tooltip",V:"{{tooltipText}}"}]}]},d);this.C=this.g["ytp-ad-toggle-button"];this.A=this.g["ytp-ad-toggle-button-input"];this.N=this.g["ytp-ad-toggle-button-icon"];this.G=this.g["ytp-ad-toggle-button-untoggled-icon"];this.F=this.g["ytp-ad-toggle-button-toggled-icon"];this.L=this.g["ytp-ad-toggle-button-text"];this.B=null;this.J=!1;this.hide()};
AP=function(a){a.J&&(a.isToggled()?(g.gi(a.G,!1),g.gi(a.F,!0)):(g.gi(a.G,!0),g.gi(a.F,!1)))};
hfa=function(a,b){var c=null;a.B&&(c=(b?[a.B.defaultServiceEndpoint,a.B.defaultNavigationEndpoint]:[a.B.toggledServiceEndpoint]).filter(function(a){return null!=a}));
return c||[]};
BP=function(a,b,c){X.call(this,a,b,{D:"div",H:"ytp-ad-instream-user-sentiment-container"},"instream-user-sentiment",void 0===c?null:c);this.A=null;this.C=new zP(this.l,this.o,["ytp-ad-instream-user-sentiment-like-button"]);g.I(this,this.C);this.C.aa(this.element);this.B=new zP(this.l,this.o,["ytp-ad-instream-user-sentiment-dislike-button"]);g.I(this,this.B);this.B.aa(this.element);this.F=new g.eP(this,400,!1,500);g.I(this,this.F);this.hide()};
ifa=function(a){a.F.hide(function(){return a.hide()})};
CP=function(a,b){KO.call(this,a,b,["ytp-ad-visit-advertiser-button"],"visit-advertiser")};
DP=function(a,b){this.l=a;this.g=b};
EP=function(a,b){return a.l+b*a.getLength()};
FP=function(a,b,c){if(!a.getLength())return null!=c?c:window.Infinity;a=(b-a.l)/a.getLength();return g.od(a,0,1)};
GP=function(a,b){g.tv.call(this,{D:"div",H:"ytp-ad-persistent-progress-bar-container",K:[{D:"div",H:"ytp-ad-persistent-progress-bar"}]});this.A=a;this.o=b;g.I(this,this.o);this.F=this.g["ytp-ad-persistent-progress-bar"];this.l=-1;this.M(a,"presentingplayerstatechange",this.C);this.hide();this.C()};
IP=function(a,b,c,d){X.call(this,a,b,{D:"div",H:"ytp-ad-player-overlay",K:[{D:"div",H:"ytp-ad-player-overlay-instream-info"},{D:"div",H:"ytp-ad-player-overlay-skip-or-preview"},{D:"div",H:"ytp-ad-player-overlay-progress-bar"},{D:"div",H:"ytp-ad-player-overlay-instream-user-sentiment"}]},"player-overlay");this.B=this.g["ytp-ad-player-overlay-instream-info"];this.F=null;if(HP(this)){a=g.Rd("div");g.J(a,"ytp-ad-player-overlay-top-bar-gradients");b=this.B;b.parentNode&&b.parentNode.insertBefore(a,b);
if((b=this.l.getVideoData(2))&&b.isListed&&b.title){var e=new yP(this.l,this.o);e.aa(a);e.init(NK("ad-title"),{text:b.title},this.macros);g.I(this,e)}this.F=a}this.C=this.g["ytp-ad-player-overlay-skip-or-preview"];this.L=this.g["ytp-ad-player-overlay-progress-bar"];this.J=this.g["ytp-ad-player-overlay-instream-user-sentiment"];this.A=c;g.I(this,this.A);this.G=d;this.hide()};
HP=function(a){return g.S(g.V(a.l).experiments,"mweb_bulleit_show_ad_top_bar_for_phones")&&!1};
JP=function(a,b,c){X.call(this,a,b,{D:"div",H:"ytp-ad-survey-answer"},"survey-answer");this.F=c;this.B=this.g["ytp-ad-survey-answer"];this.A=null;this.C="";this.hide()};
KP=function(a,b){X.call(this,a,b,{D:"div",H:"ytp-ad-survey-none-of-the-above"},"survey-none-of-the-above");this.B=this.g["ytp-ad-survey-none-of-the-above"];this.A=null;this.hide()};
LP=function(a,b){KO.call(this,a,b,["ytp-ad-survey-submit-button"],"survey-submit")};
MP=function(a,b,c,d){X.call(this,a,b,{D:"div",H:"ytp-ad-survey-player-overlay",K:[{D:"div",H:"ytp-ad-survey-player-overlay-instream-info"},{D:"div",H:"ytp-ad-survey-player-overlay-skip-preview-submit",K:[{D:"div",H:"ytp-ad-survey-player-overlay-skip-or-preview"},{D:"div",H:"ytp-ad-survey-player-overlay-submit"}]},{D:"div",H:"ytp-ad-survey-player-overlay-instream-user-sentiment"}]},"survey-player-overlay");this.G=this.g["ytp-ad-survey-player-overlay-instream-info"];this.B={};this.J=this.g["ytp-ad-survey-player-overlay-skip-or-preview"];
this.A=null;this.R=this.g["ytp-ad-survey-player-overlay-submit"];this.C=null;this.L=this.g["ytp-ad-survey-player-overlay-instream-user-sentiment"];this.F=c;g.I(this,this.F);this.N=d;this.hide()};
NP=function(a,b,c,d,e){X.call(this,a,b,{D:"div",H:"ytp-ad-survey-question",K:[{D:"div",W:["ytp-ad-survey-question-text","ytp-ad-survey-question-foreground"]},{D:"div",W:["ytp-ad-survey-answers","ytp-ad-survey-question-foreground"]},{D:"div",W:["ytp-ad-survey-question-player-overlay","ytp-ad-survey-question-foreground"]},{D:"div",H:"ytp-ad-survey-question-background"}]},c);this.F=d;this.question=this.g["ytp-ad-survey-question"];this.ia=this.g["ytp-ad-survey-question-background"];this.R=this.g["ytp-ad-survey-question-text"];
this.answers=this.g["ytp-ad-survey-answers"];this.N=this.g["ytp-ad-survey-question-player-overlay"];this.J=null;this.C=[];this.A=null;this.G=(0,g.D)();this.ca=e};
OP=function(a,b,c){var d=new JP(a.l,a.o,a.F);d.aa(a.answers);d.init(NK("survey-answer"),b,c);a.C.push(d)};
PP=function(a,b){if(b){var c=b.background;c&&c.instreamSurveyAdBackgroundImageRenderer&&(c=(c=c.instreamSurveyAdBackgroundImageRenderer.image)&&kO(c)||"",g.yb(c)?g.N(Error("Found ThumbnailDetails without valid image URL"),"WARNING"):g.Ih(a.ia,"backgroundImage","url("+c+")"));jfa(a,b)}else g.N(Error("addCommonComponents() needs to be called before starting countdown."))};
jfa=function(a,b){if(null==b.durationMilliseconds||void 0==b.durationMilliseconds||0==b.durationMilliseconds)g.N(Error("durationMilliseconds unset or 0 for SurveyAdQuestionCommon: "+JSON.stringify(b)));else{a.G=(0,g.D)();a.A=new QO(b.durationMilliseconds,a.o,a.ca);g.I(a,a.A);if(b.timeoutCommands){var c=b.timeoutCommands;a.A.subscribe("p",function(){return a.F.kc(c,a.macros)})}if(a.A&&b.instreamAdPlayerOverlay&&b.instreamAdPlayerOverlay.instreamSurveyAdPlayerOverlayRenderer)try{var d=new MP(a.l,a.o,
a.A,a.F);
d.aa(a.N);d.init(NK("survey-player-overlay"),b.instreamAdPlayerOverlay.instreamSurveyAdPlayerOverlayRenderer,a.macros);a.J=d;g.I(a,d);a.xx()}catch(e){g.N(Error("ISAPOR had an error when initializing. Error: "+(e+" SurveyAdQuestionCommon: "+JSON.stringify(b))))}else g.N(Error("ISAPOR was not present in renderer. SurveyAdQuestionCommon: "+JSON.stringify(b)));a.A&&b.durationMilliseconds&&0<b.durationMilliseconds?(d=new GP(a.l,a.A),d.aa(a.N),g.I(a,d)):g.N(Error("Survey progress bar was not added. SurveyAdQuestionCommon: "+
JSON.stringify(b)))}};
kfa=function(a){function b(a){return{toString:function(){return a()}}}
a.macros.SURVEY_LOCAL_TIME_EPOCH_S=b(function(){var a=new Date;return Math.round(a.valueOf()/1E3)+-60*a.getTimezoneOffset()});
a.macros.SURVEY_ELAPSED_MS=b(function(){return(0,g.D)()-a.G})};
QP=function(a,b,c,d){NP.call(this,a,b,"survey-question-multi-select",c,d);this.B=null;this.X=[];this.L=null;this.hide()};
lfa=function(a,b,c){a.B=new KP(a.l,a.o);a.B.aa(a.answers);a.B.init(NK("survey-none-of-the-above"),b,c)};
mfa=function(a){a.C.forEach(function(a){a.A.toggleButton(!1)});
RP(a,!0)};
RP=function(a,b){var c=a.J,d=nfa(a),e=b;e=void 0===e?!1:e;c.A&&(d?c.A.hide():c.A.show(),e&&c.A instanceof vP&&!c.A.F&&wP(c.A,!1));c.C&&(d?c.C.show():c.C.hide())};
nfa=function(a){return a.C.some(function(a){return a.A.isToggled()})||a.B.A.isToggled()};
SP=function(a,b,c,d){NP.call(this,a,b,"survey-question-single-select",c,d);this.hide()};
TP=function(a,b,c){X.call(this,a,b,{D:"div",H:"ytp-ad-survey",K:[{D:"div",H:"ytp-ad-survey-title"},{D:"div",H:"ytp-ad-survey-questions"}]},"survey");this.B=c;this.F=this.g["ytp-ad-survey-title"];this.C=this.g["ytp-ad-survey-questions"];this.A=[];this.hide()};
UP=function(a,b,c){X.call(this,a,b,{D:"div",H:"ytp-ad-survey-interstitial",K:[{D:"div",H:"ytp-ad-survey-interstitial-modal",K:[{D:"div",H:"ytp-ad-survey-interstitial-contents",K:[{D:"div",H:"ytp-ad-survey-interstitial-text"},{D:"div",H:"ytp-ad-survey-interstitial-logo",K:[{D:"div",H:"ytp-ad-survey-interstitial-logo-image"}]}]},{D:"div",H:"ytp-ad-survey-interstitial-action"}]}]},"survey-interstitial");this.B=c;this.G=this.g["ytp-ad-survey-interstitial-action"];this.N=this.g["ytp-ad-survey-interstitial"];
this.A=null;this.L=this.g["ytp-ad-survey-interstitial-modal"];this.R=this.g["ytp-ad-survey-interstitial-text"];this.J=this.g["ytp-ad-survey-interstitial-logo-image"];this.F=null;this.C=new g.eP(this,500,!1,300);g.I(this,this.C)};
VP=function(a,b){var c=b&&kO(b)||"";g.yb(c)?Rr(Error("Found ThumbnailDetails without valid image URL")):a.style.cssText+='background-image: url("'+c+'");'};
WP=function(a,b){X.call(this,a,b,{D:"div",H:"iv-website-companion",K:[{D:"div",H:"iv-website-companion-block",K:[{D:"div",H:"iv-website-companion-icon"},{D:"div",H:"iv-website-companion-text",K:[{D:"div",H:"iv-website-companion-desc",K:[{D:"span",W:["yt-badge","yt-badge-ad"],V:"{{adBadgeText}}"}]}]}]}]},"action-companion");this.L=this.g["iv-website-companion"];this.C=new lO(this.l,this.o,"iv-website-companion-banner");g.I(this,this.C);this.C.aa(this.L,0);this.N=new lO(this.l,this.o);g.I(this,this.C);
this.N.aa(this.g["iv-website-companion-icon"]);this.G=new PO(this.l,this.o,"iv-website-companion-header");g.I(this,this.G);this.G.aa(this.g["iv-website-companion-text"],0);this.F=new PO(this.l,this.o,"iv-website-companion-domain");g.I(this,this.F);this.F.aa(this.g["iv-website-companion-desc"]);this.B=new KO(this.l,this.o,["iv-website-companion-action","yt-uix-button-size-default","yt-uix-button-primary"]);g.I(this,this.B);this.B.aa(this.g["iv-website-companion-block"]);this.gc=new OL(this.l,this.o);
g.I(this,this.gc);this.gc.aa(this.L,0);this.J=null;this.R=[];this.ba=new g.Gt;g.I(this,this.ba);this.X=new QK;this.A=null;this.hide()};
XP=function(){g.G.call(this);this.A=this.l=this.B=this.g=this.C=this.o=null};
ofa=function(a,b){return YP(a).then(function(a){a.promotionShelfShow(b)})};
pfa=function(a){YP(a).then(function(a){a.promotionShelfClear()})};
rfa=function(a){window.google_ad_output="html";window.google_ad_height="250";window.google_ad_format="300x250_as";window.google_container_id="google_companion_ad_div";return YP(a).then(function(b){return qfa(a,b)}).then(function(b){b();
return ZP(a)})};
sfa=function(a){return YP(a).then(function(b){b.loadAfc();return ZP(a)})};
$P=function(){return g.z("yt.www.watch.ads")};
aQ=function(){return g.z("window.google_show_companion_ad")};
YP=function(a){if(a.ga())throw Error("Object is disposed");if(!a.o){var b=$P();a.o=b?ig(b):(new g.eg(function(b){a.C=g.Wt("watchAdsInit",b)})).then($P)}return a.o};
qfa=function(a,b){if(a.ga())throw Error("Object is disposed");if(!a.g){var c=aQ();tfa(c,b.getGlobals)?a.g=ig(c):a.g=(new g.eg(function(b){a.B=g.Wt("showCompanionAdLoaded",b)})).then(aQ)}return a.g};
ZP=function(a){if(a.ga())throw Error("Object is disposed");a.l||(bQ()?ig():a.l=new g.eg(function(b,c){a.A=new g.L(function(){bQ()?b():c()},2E3,a);
a.A.start()}));
return a.l};
tfa=function(a,b){if(!g.Ea(a)||!g.Ea(b))return!1;var c=b();return!(!c||!c.length)};
bQ=function(){var a=g.Bd("google_companion_ad_div");return a?(a=g.be(a))&&"IFRAME"==a.tagName?-1!=a.src.indexOf("youtube.com%2Fad_frame"):!1:!1};
cQ=function(a,b){X.call(this,a,b,{D:"div"},"backfill-mpu-companion");this.B=new XP;g.I(this,this.B);this.A=null};
dQ=function(){g.R.call(this,{D:"div",H:"ad-carousel",K:[{D:"div",H:"ad-carousel-clip",K:[{D:"ul",W:["ad-carousel-list","ad-carousel-list-animation"]}]}]});var a=this.g["ad-carousel"];this.A=new g.R({D:"button",W:["ad-carousel-nav-button","ad-carousel-nav-prev"],O:{type:"button",onclick:"return false;"},K:[{D:"span",W:["ad-carousel-prev-icon","yt-uix-tooltip","yt-sprite"],O:{"data-tooltip-text":"Prev",title:"Prev"}}]});g.I(this,this.A);this.A.da("click",this.F,this);this.A.aa(a);this.o=new g.R({D:"button",
W:["ad-carousel-nav-button","ad-carousel-nav-next"],O:{type:"button",onclick:"return false;"},K:[{D:"span",W:["ad-carousel-next-icon","yt-uix-tooltip","yt-sprite"],O:{"data-tooltip-text":"Next",title:"Next"}}]});g.I(this,this.o);this.o.da("click",this.C,this);this.o.aa(a);this.B=this.g["ad-carousel-list"];this.l=0;this.za=[]};
fQ=function(a){a.B&&g.Ih(a.B,"left",(2>a.za.length?0:-a.l*a.za[1].element.clientWidth)+"px");g.rv(a.A,0<a.l);g.rv(a.o,a.l<a.za.length-eQ(a))};
eQ=function(a){return 2>a.za.length?1:Math.round((a.element.clientWidth-a.za[0].element.clientWidth)/a.za[1].element.clientWidth)+1};
gQ=function(){GL.call(this,!0);this.ed=new dQ};
hQ=function(){GL.call(this,!1);this.l=new g.R({D:"div",H:"iv-btp-card",K:[{D:"a",H:"iv-btp-card-content",K:[{D:"div",V:"{{cards}}"}]}]});g.I(this,this.l);var a={D:"div",H:"iv-btp-card-merchant",K:[{D:"span",H:"iv-btp-card-merchant-text",V:"{{merchant}}"}]};this.A=new g.mv({D:"div",W:["iv-btp-small-card","yt-uix-hovercard-target"],O:{"data-position":"bottomright","data-orientation":"vertical"},K:[{D:"div",W:["iv-btp-card-image","yt-uix-hovercard-anchor"],V:"{{image}}"},{D:"div",H:"iv-btp-card-info",
K:[{D:"span",H:"iv-btp-card-action",V:"{{price}}"},a]},{D:"div",W:["yt-uix-hovercard-content","iv-btp-hovercard"],V:"{{hovercard}}"}]});g.I(this,this.A);this.g=new g.mv({D:"div",H:"iv-btp-large-card",K:[{D:"div",H:"iv-btp-card-image",K:[{D:"span"},{D:"div",H:"iv-btp-card-image-aligned",V:"{{image}}"}]},{D:"div",H:"iv-btp-card-info",K:[{D:"div",H:"iv-btp-card-text-box",K:[{D:"div",H:"iv-btp-card-text-valign",K:[{D:"div",W:["yt-ui-ellipsis","yt-ui-ellipsis-4","iv-btp-card-headline"],V:"{{headline}}"}]}]},
{D:"span",H:"iv-btp-card-action",V:"{{price}}"},a,{D:"div",V:"{{review}}"}]}]});g.I(this,this.g);this.o=new g.mv({D:"div",H:"iv-btp-hovercard-text-box",K:[{D:"a",K:[{D:"div",W:["yt-ui-ellipsis","yt-ui-ellipsis-4","iv-btp-hovercard-headline"],V:"{{headline}}"}]},{D:"div",H:"iv-btp-hovercard-info",K:[{D:"span",H:"iv-btp-hovercard-action",V:"{{price}}"},a]},{D:"div",V:"{{review}}"}]});g.I(this,this.o);this.B=new g.mv({D:"div",H:"iv-btp-card-review",K:[{D:"div",H:"iv-btp-card-rating",K:[{D:"span",H:"iv-btp-card-rating-bg",
K:[{D:"span",H:"iv-btp-card-rating-fg"}]}]},{D:"span",H:"iv-btp-card-reviews",V:"{{reviewText}}"}]});g.I(this,this.B);this.A.updateValue("hovercard",this.o);this.l.updateValue("cards",[this.A,this.g]);this.Rc()};
iQ=function(a,b,c){c=c?FL(c):null;a.updateValue(b,c)};
jQ=function(a,b){HL.call(this,a,b,function(){return new ufa.Wm});
this.g=null;this.Rc()};
kQ=function(){GL.call(this,!0);this.g=new g.R({D:"div",H:"iv-btp-companion",K:[{D:"div",H:"iv-btp-block-clicks"},{D:"div",H:"iv-btp-attribution",K:[{D:"span",H:"iv-btp-title",V:"{{shopText}}"},{D:"div",H:"ad-info-container",K:[{D:"span",H:"iv-btp-sponsored",V:"{{sponsoredText}}"},{D:"button",H:"ad-info-icon"}]}]}]});g.I(this,this.g);this.o=this.g.g["iv-btp-block-clicks"];this.l=new XP;g.I(this,this.l);this.A=ofa(this.l,this.g.element);this.Rc()};
mQ=function(a,b){HL.call(this,a,b,function(){return new lQ.iA});
this.ba=new g.Gt(this);g.I(this,this.ba);this.Rg=[];this.Bd=null;this.ed=new lQ.Sm;g.I(this,this.ed);sL(this.view,this.ed);this.Rd=new lQ.oz(a,b,new tL(this.xc().g.g["ad-info-icon"]));g.I(this,this.Rd);this.Rd.jh(this.view);this.Rc()};
vfa=function(a){var b=a.xc();g.gi(b.o,!0);mg([a.Bd,Dg(1E3)]).then(function(){g.gi(b.o,!1)})};
nQ=function(){GL.call(this,!0);var a=this;this.A=this.l=0;this.g=new g.R({D:"div",H:"iv-cards-slider",K:[{D:"div",H:"iv-cards-slider-body",K:[{D:"ul",H:"iv-cards-slider-list"}]},{D:"button",W:["iv-cards-slider-button","iv-cards-slider-prev"],O:{type:"button",onclick:";return false;"},K:[{D:"span",W:["iv-cards-slider-prev-icon","yt-sprite"]}]},{D:"button",W:["iv-cards-slider-button","iv-cards-slider-next"],O:{type:"button",onclick:";return false;"},K:[{D:"span",W:["iv-cards-slider-next-icon","yt-sprite"]}]}]});
this.F=g.Ed("iv-cards-slider-list",this.g.element);if(this.o=g.Ed("iv-cards-slider-prev",this.g.element))this.g.M(this.o,"click",function(){a.dispatchEvent({type:"prevbuttonclick"})}),g.gi(this.o,!1);
(this.B=g.Ed("iv-cards-slider-next",this.g.element))&&this.g.M(this.B,"click",function(){a.dispatchEvent({type:"nextbuttonclick"})});
g.I(this,this.g)};
oQ=function(a){a.F.style.left=125*-a.l+"px";a.o&&g.gi(a.o,0<a.l);a.B&&g.gi(a.B,a.l<a.A-3)};
pQ=function(){GL.call(this,!0);this.g=new g.R({D:"div",H:"iv-cards-companion",K:[{D:"div",H:"iv-cards-attribution",K:[{D:"span",W:["yt-badge","yt-badge-ad"],V:"{{adBadgeText}}"},{D:"a",H:"ad-companion-clickthrough",O:{target:"_blank"},V:"{{shopText}}"}]},{D:"div",V:"{{content}}"}]});g.I(this,this.g);this.l=new QK;this.o=this.l.showCompanion(this.g.element,300,250);this.Rc()};
qQ=function(){GL.call(this,!1);this.g=new g.R({D:"li",H:"iv-cards-slider-item",K:[{D:"div",H:"iv-cards-slider-unit",K:[{D:"a",K:[{D:"div",H:"iv-cards-slider-image",V:"{{image}}"},{D:"span",W:["yt-ui-ellipsis","yt-ui-ellipsis-4","iv-cards-slider-text"],V:"{{headline}}"},{D:"span",H:"iv-cards-slider-action",V:"{{price}}"}]}]}]});g.I(this,this.g);this.Rc()};
rQ=function(a,b){HL.call(this,a,b,function(){return new wfa.Wm});
var c=this;this.g=null;this.xc().addEventListener("offerclick",function(){return c.onClick()})};
tQ=function(a,b){HL.call(this,a,b,function(){return new sQ.Dz});
this.ba=new g.Gt(this);g.I(this,this.ba);this.ds=[];this.Qp=null;this.Rg=[];this.Bd=null;this.Df=new sQ.Sm;g.I(this,this.Df);sL(this.view,this.Df);this.gc=new OL(a,b);g.I(this,this.gc);Xd(this.view.ha(),this.gc.element,0);this.Rc()};
uQ=function(a){g.O.call(this);this.g=a;this.l=new g.Gt(this);g.I(this,this.l);this.A=xfa;this.o=null;this.l.M(this.g,"presentingplayerstatechange",this.gG);this.o=this.l.M(this.g,"progresssync",this.hG)};
vQ=function(a,b,c,d){switch(a){case "invideo-overlay":return new lP(b,c);case "persisting-overlay":return new xP(b,c,new uQ(b),d);case "player-overlay":return new IP(b,c,new uQ(b),d);case "pla-shelf":return new mQ(b,c);case "shopping-companion":return new tQ(b,c);case "survey":return new TP(b,c,d);case "backfill-mpu-companion":return new cQ(b,c);case "ad-action-interstitial":return new RO(b,c);case "action-companion":return new WP(b,c);case "ad-text-interstitial":return new hP(b,c);case "survey-interstitial":return new UP(b,
c,d);case "ad-choice-interstitial":return new gP(b,c,d);default:return null}};
wQ=function(a){g.Gt.call(this);this.Db=a;this.M(this.Db,"onAdUxUpdate",this.F)};
xQ=function(a,b){wQ.call(this,a);this.o=b;this.A=new lL(b);this.g=new window.Map;g.I(this,DL())};
yQ=function(a,b){wQ.call(this,a);this.g=b};
zQ=function(a,b){wQ.call(this,a);this.o=a;this.B=b;this.C=new lL(b);this.g={};var c=new g.R({D:"div",W:["video-ads","ytp-ad-module"]});g.I(this,c);this.A=new tL(c.element);g.I(this,this.A);g.tK(this.o,c.element,4);g.I(this,DL())};
AQ=function(a,b){var c=oc(a.g,b.id,null);null!=c||g.N(Error("Component not found for element id: "+b.id),"WARNING");return c||null};
BQ=function(a){g.HK.call(this,a);var b=this;this.l=null;this.created=!1;var c=g.V(a);g.PA(c)&&!g.XA(c)&&(c=function(){return b.l},g.I(this,new zQ(a,c)),g.I(this,AM(a)?new yQ(a,c):new xQ(a,c)))};
CQ=function(a){var b=!g.V(a).Za&&3!=a.Da();return a.isFullscreen()||b};
g.DQ=function(a,b,c,d){if((void 0===c||!c)&&g.WO(a))return g.zt(a),!0;b.Cb();a=a.currentTarget.getAttribute("href");g.jL(a,d,!0);return!1};
EQ=function(a,b,c){if(YA(g.V(b))&&2!=b.Da()){if(g.WO(c))return b.isFullscreen()&&g.aK(b),g.zt(c),!0}else{var d=g.WO(c);d&&b.Cb();g.jL(a,void 0,!0);d&&(g.kL(a),g.zt(c))}return!1};
FQ=function(){return{D:"div",H:"ytp-spinner-container",K:[{D:"div",H:"ytp-spinner-rotator",K:[{D:"div",H:"ytp-spinner-left",K:[{D:"div",H:"ytp-spinner-circle"}]},{D:"div",H:"ytp-spinner-right",K:[{D:"div",H:"ytp-spinner-circle"}]}]}]}};
GQ=function(a){if(window.document.createRange){var b=window.document.createRange();b.selectNodeContents(a);window.getSelection().removeAllRanges();window.getSelection().addRange(b)}};
HQ=function(a,b,c){g.G.call(this);this.na=b;this.ra=c;this.T=this.R=this.I=this.L=this.G=this.A=this.Z=this.X=this.Y=this.o=this.J=this.l=null;this.ca={};this.fa={};this.la=null;this.g=a;this.C=this.ea=this.F=this.N=this.B=null;this.ia=g.S(g.V(a).experiments,"web_player_defer_modules")};
g.IQ=function(a){var b=g.V(a.g);if(g.cB(b)||b.Zb||!b.dc&&!b.Ga)return!1;var c=a.g.Da();if(2==c)return!1;if(3==c)return g.S(b.experiments,"desktop_enable_autoplay");a=a.g.getVideoData();if(!a)return!1;c=!a.isLiveDefaultBroadcast||g.S(b.experiments,"allow_poltergust_autoplay");return!(a.pa&&(!g.S(b.experiments,"allow_live_autoplay")||!c))};
JQ=function(a){a.ia&&(a.Cn(),a.An(),a.Bn())};
KQ=function(a){if(a=a.g.getVideoData(1).getPlayerResponse())if(a=a.adPlacements)for(var b=0;b<a.length;b++)if(a[b].adPlacementRenderer)return!0;return!1};
LQ=function(a){var b=g.V(a.g);return a.g.getVideoData().isVisualizerEligible&&g.S(b.experiments,"web_player_music_visualizer")&&"desktop-polymer"==b.playerStyle&&g.bB(b)};
OQ=function(a,b,c,d){try{if(d){var e=g.MQ[b];if(e)return new e(a.g);"creatorendscreen"==b?NQ(a,"annotations_module",c):NQ(a,b,c)}else g.qK(a.g,b)}catch(f){g.qK(a.g,b),g.N(f)}return null};
PQ=function(a,b){a.l&&(b||a.l.Wb())&&(g.$e(a.l),a.l=null);a.J&&(b||a.J.Wb())&&(g.$e(a.J),a.J=null);a.o&&(b||a.o.Wb()?(g.$e(a.o),a.o=null):a.o.loaded&&a.o.unload());a.Y&&(b||a.Y.Wb())&&(g.$e(a.Y),a.Y=null);a.X&&(b||a.X.Wb())&&(g.$e(a.X),a.X=null);a.Z&&(b||a.Z.Wb())&&(g.$e(a.Z),a.Z=null);a.A&&(b||a.A.Wb())&&(g.$e(a.A),a.A=null);a.G&&(b||a.G.Wb())&&(g.$e(a.G),a.G=null);a.L&&(b||a.L.Wb())&&(g.$e(a.L),a.L=null);a.I&&(b||a.I.Wb())&&(g.$e(a.I),a.I=null);a.N&&(b||a.N.Wb())&&(g.$e(a.N),a.N=null);a.C&&(b||
a.C.Wb()?(g.$e(a.C),a.C=null):a.C.isActive()&&a.C.Ff());a.F&&(b||a.F.Wb())&&(g.$e(a.F),a.F=null);a.B&&(b||a.B.Wb())&&(g.$e(a.B),a.B=null);a.R&&(b||a.R.Wb())&&(g.$e(a.R),a.R=null);a.T&&(b||a.T.Wb())&&(g.$e(a.T),a.T=null)};
g.WJ=function(a){return g.V(a.g).Ua?a.N:null};
dK=function(a){return LQ(a)?a.C:null};
NQ=function(a,b,c){if(a.na){for(var d=a.na+b+".js",e=window.document.getElementsByTagName("SCRIPT"),f=!1,k,l=0;l<e.length;l++){var m=e[l];m.src==d&&(k=m)}k||(k=g.Td("SCRIPT"),f=!0);var n=function(){a.ga()||c.call(a)},q=function(){a.ga()||g.qK(a.g,b)};
k.onload=g.La(function(a){Qf(n);a&&a()},k.onload);
k.onerror=g.La(function(a){g.N(Error("Unable to load player module "+b+".js."));Qf(q);a&&a()},k.onerror);
k.onreadystatechange=g.La(function(a){switch(k.readyState){case "loaded":case "complete":Qf(n,this)}a&&a()},k.onreadystatechange);
f&&((e=g.V(a.g).kg)&&k.setAttribute("nonce",e),g.md(k,g.pe(d)),d=window.document.getElementsByTagName("HEAD")[0]||window.document.body,d.insertBefore(k,d.firstChild),g.Ze(a,function(){k.parentNode&&k.parentNode.removeChild(k);g.MQ[b]=null;"annotations_module"==b&&(g.MQ.creatorendscreen=null)}))}};
g.QQ=function(a){jD.call(this);this.g=a;this.l={}};
RQ=function(a,b,c,d){g.O.call(this);this.l=a;this.N=(0,g.A)(b,null);this.g=0;this.C=!1;this.A=new g.sd(window.NaN,window.NaN);this.ba=new g.Gt(this);g.I(this,this.ba);b=d?4E3:3E3;this.G=new g.L(g.La(this.wb,1,!1),b,this);g.I(this,this.G);this.I=new g.L(g.La(this.wb,2,!1),b,this);g.I(this,this.I);this.L=new g.L(g.La(this.wb,512,!1),0,this);g.I(this,this.L);this.T=c&&0<c.ng.length?5E3:3E3;d||(this.o=this.ba.M(a,"mouseover",this.Ep),this.ba.M(a,"mousemove",this.gF),this.ba.M(a,"mouseleave",this.pG));
g.Kh?this.ba.M(a,"keypress",this.ZB):this.ba.M(a,"focusin",this.LA);this.B=this.ba.M(a,"mousedown",this.xv);this.F=this.ba.M(a,"touchstart",this.zv,void 0,!0);this.R=null;this.wb(640,!0)};
SQ=function(a){a.wb(4,!1);a.J&&(a.ba.Na(a.J),a.J=null,a.o=a.ba.M(a.l,"mouseover",a.Ep));a.o&&(a.ba.Na(a.o),a.o=a.ba.M(a.l,"mouseover",a.Ep))};
TQ=function(a){var b=g.V(a),c=a.getVideoData(),d=["ytp-large-play-button","ytp-button"];if(c.isDni&&c.dniColor)var e=b.B?[{D:"div",H:"ytp-large-play-button-circle",O:{style:"background-color: "+c.dniColor}},g.mO?{D:"div",W:["ytp-icon","ytp-icon-dni-large-play-button"]}:{D:"svg",O:{height:"100%",version:"1.1",viewBox:"4 -6 60 60",width:"100%"},K:[{D:"path",O:{d:"m 26.96,13.67 18.37,9.62 -18.37,9.55 -0.00,-19.17 z",fill:"#fff"}}]}]:[g.mO?{D:"div",W:["ytp-icon","ytp-icon-dni-large-lozenge-play-button"]}:
{D:"svg",O:{height:"100%",version:"1.1",viewBox:"0 0 68 48",width:"100%"},K:[{D:"path",H:"ytp-dni-large-play-button-bg",O:{d:"M66.52,7.74c-0.78-2.93-2.49-5.41-5.42-6.19C55.79,.13,34,0,34,0S12.21,.13,6.9,1.55 C3.97,2.33,2.27,4.81,1.48,7.74C0.06,13.05,0,24,0,24s0.06,10.95,1.48,16.26c0.78,2.93,2.49,5.41,5.42,6.19 C12.21,47.87,34,48,34,48s21.79-0.13,27.1-1.55c2.93-0.78,4.64-3.26,5.42-6.19C67.94,34.95,68,24,68,24S67.94,13.05,66.52,7.74z",fill:"#212121","fill-opacity":"0.8"}},{D:"path",O:{d:"M 45,24 27,14 27,34",
fill:"#fff"}}]}];else b.B&&!b.Zb?e=[g.mO?{D:"div",W:["ytp-icon","ytp-icon-large-play-button-hover"]}:{D:"svg",O:{height:"100%",version:"1.1",viewBox:"0 0 68 48",width:"100%"},K:[{D:"path",H:"ytp-large-play-button-bg",O:{d:"M66.52,7.74c-0.78-2.93-2.49-5.41-5.42-6.19C55.79,.13,34,0,34,0S12.21,.13,6.9,1.55 C3.97,2.33,2.27,4.81,1.48,7.74C0.06,13.05,0,24,0,24s0.06,10.95,1.48,16.26c0.78,2.93,2.49,5.41,5.42,6.19 C12.21,47.87,34,48,34,48s21.79-0.13,27.1-1.55c2.93-0.78,4.64-3.26,5.42-6.19C67.94,34.95,68,24,68,24S67.94,13.05,66.52,7.74z",
fill:"#f00"}},{D:"path",O:{d:"M 45,24 27,14 27,34",fill:"#fff"}}]}]:(b.l&&d.push("ytp-touch-device"),e=[b.Zb?g.mO?{D:"div",W:["ytp-icon","ytp-icon-house-brand-large-play-button"]}:{D:"svg",O:{height:"100%",version:"1.1",viewBox:"0 0 60 60",width:"100%"},K:[{D:"path",H:"ytp-large-play-button-bg",O:{"clip-rule":"evenodd",d:"M59.6,1.35c0.26,.5,.4,1.13,.4,1.9v53.5c0,.76-0.13,1.4-0.4,1.9c-0.5,.9-1.45,1.35-2.85,1.35H3.25c-1.4,0-2.33-0.43-2.8-1.3C0.15,58.16,0,57.51,0,56.75V3.25c0-0.83,.16-1.5,.5-2C1,.41,1.91,0,3.25,0h53.5C58.15,0,59.1,.45,59.6,1.35z M21,41.65l22.7-11.8L21,18V41.65z",
fill:"#1f1f1f","fill-rule":"evenodd"}},{D:"path",O:{d:"M21,41.65 L21,18 L43.7,29.85 L21,41.65 Z",fill:"#fff"}}]}:g.mO?{D:"div",W:["ytp-icon","ytp-icon-large-play-button"]}:{D:"svg",O:{height:"100%",version:"1.1",viewBox:"0 0 68 48",width:"100%"},K:[{D:"path",H:"ytp-large-play-button-bg",O:{d:"M66.52,7.74c-0.78-2.93-2.49-5.41-5.42-6.19C55.79,.13,34,0,34,0S12.21,.13,6.9,1.55 C3.97,2.33,2.27,4.81,1.48,7.74C0.06,13.05,0,24,0,24s0.06,10.95,1.48,16.26c0.78,2.93,2.49,5.41,5.42,6.19 C12.21,47.87,34,48,34,48s21.79-0.13,27.1-1.55c2.93-0.78,4.64-3.26,5.42-6.19C67.94,34.95,68,24,68,24S67.94,13.05,66.52,7.74z",
fill:"#212121","fill-opacity":"0.8"}},{D:"path",O:{d:"M 45,24 27,14 27,34",fill:"#fff"}}]}]);g.R.call(this,{D:"div",H:"ytp-cued-thumbnail-overlay",K:[{D:"div",H:"ytp-cued-thumbnail-overlay-image"},{D:"button",W:d,O:{"aria-label":g.Q("YTP_PLAY")},K:e},{D:"div",H:"ytp-cued-thumbnail-overlay-duration",V:"{{duration}}"}]});c.isDni&&c.dniColor&&!b.B&&this.g["ytp-dni-large-play-button-bg"].setAttribute("fill",c.dniColor);this.B=new g.Gt(this);g.I(this,this.B);this.l=a;this.F=this.g["ytp-cued-thumbnail-overlay-image"];
this.C=this.g["ytp-large-play-button"];this.A=new g.eP(this,250);g.I(this,this.A);this.o=new g.L(this.Dv,0,this);g.I(this,this.o);this.Dv();this.M(a,"presentingplayerstatechange",this.sF);this.M(a,"ypcStateChanged",this.EK);IA(g.V(a))&&this.M(a,"videoplayerreset",this.rF)};
g.UQ=function(a){return mE(a)?(a.fetch=0,new g.lE(a)):new g.nC(a)};
VQ=function(a){g.G.call(this);this.B=a;this.A=new Gq(0,0,.4,0,.2,1,1,1);this.l=new g.pq(this.o,window,this);g.I(this,this.l)};
XQ=function(a){g.R.call(this,{D:"div",H:"ytp-related-on-error-overlay"});this.N=this.A=0;this.l=a;this.T=new g.Gt(this);g.I(this,this.T);a=g.V(a);this.C=[];this.o=[];this.F=0;this.X=a.g;this.L=new g.R({D:"h2",H:"ytp-related-title",V:"{{title}}"});g.I(this,this.L);this.L.aa(this.element);this.G=new g.R({D:"div",H:"ytp-suggestions"});g.I(this,this.G);this.G.aa(this.element);this.J=new g.R({D:"button",W:["ytp-button","ytp-previous"],O:{"aria-label":g.Q("YTP_PREVIOUS")},K:[g.pO()]});g.I(this,this.J);
this.J.aa(this.element);this.J.da("click",this.MF,this);this.ca=new VQ((0,g.A)(this.Jv,this));g.I(this,this.ca);this.Y=this.B=0;this.R=!0;for(a=0;16>a;a++){var b=new g.R({D:"a",H:"ytp-suggestion-link",O:{href:"{{link}}",target:"_blank","aria-label":"{{aria_label}}"},K:[{D:"div",H:"ytp-suggestion-image",K:[{D:"div",H:"ytp-suggestion-duration",V:"{{duration}}"}]},{D:"div",H:"ytp-suggestion-title",O:{title:"{{hover_title}}"},V:"{{title}}"},{D:"div",H:"ytp-suggestion-author",V:"{{views_or_author}}"}]});
g.I(this,b);b.aa(this.G.element);var c=b.g["ytp-suggestion-link"];g.Ih(c,"transitionDelay",a/20+"s");this.T.M(c,"click",g.La(this.NF,a));this.C.push(b)}this.I=new g.R({D:"button",W:["ytp-button","ytp-next"],O:{"aria-label":g.Q("YTP_NEXT")},K:[g.qO()]});g.I(this,this.I);this.I.aa(this.element);this.I.da("click",this.LF,this);this.T.M(this.l,"videodatachange",this.Iv);WQ(this,g.YJ(this.l).Ba());this.Iv();this.show()};
WQ=function(a,b,c){var d=16/9,e=650<=b.width,f=480>b.width||290>b.height,k=Math.min(a.o.length,a.C.length);if(150>=Math.min(b.width,b.height)||0==k)a.hide();else{var l;if(e){var m=l=28;a.A=16}else m=l=8,a.A=8;if(f){var n=6;var q=14;var u=12;f=24;e=12}else n=8,q=18,u=16,f=36,e=16;b=b.width-(48+l+m);l=Math.ceil(b/150);l=Math.min(3,l);l=b/l-a.A;m=Math.floor(l/d);m+100>c&&50<l&&(m=Math.max(c,50/d),l=Math.ceil(b/(d*(m-100)+a.A)),l=b/l-a.A,m=Math.floor(l/d));50>l?a.hide():a.show();for(c=0;c<k;c++){d=a.C[c];
var w=d.g["ytp-suggestion-image"];w.style.width=l+"px";w.style.height=m+"px";d.g["ytp-suggestion-title"].style.width=l+"px";d.g["ytp-suggestion-author"].style.width=l+"px";d=d.g["ytp-suggestion-duration"];d.style.display=d&&100>l?"none":""}k=q+n+u+4;a.N=k+e+(m-f)/2;a.G.element.style.height=m+k+"px";a.Y=l;a.F=b;a.B=0;a.Jv(0);YQ(a)}};
ZQ=function(a,b){var c=g.od(b,a.F-a.o.length*(a.Y+a.A),0);a.ca.start(a.B,c,1E3);a.B=c;YQ(a)};
YQ=function(a){a.I.element.style.bottom=a.N+"px";a.J.element.style.bottom=a.N+"px";var b=a.B,c=a.F-a.o.length*(a.Y+a.A);g.K(a.element,"ytp-scroll-min",0<=b);g.K(a.element,"ytp-scroll-max",b<=c)};
yfa=function(a){for(var b=g.V(a.l),c=0;c<a.o.length;c++){var d=c,e=a.o[c].sb();d=a.C[d];var f=e.shortViewCount?e.shortViewCount:e.author,k=g.fh(e.Si(b),{feature:"player_embedded_uturn"});d.element.style.display="";var l=d.g["ytp-suggestion-title"];$Q.test(e.title)?l.dir="rtl":aR.test(e.title)&&(l.dir="ltr");l=d.g["ytp-suggestion-author"];$Q.test(f)?l.dir="rtl":aR.test(f)&&(l.dir="ltr");d.update({views_or_author:f,duration:e.lengthSeconds?g.VO(e.lengthSeconds):"",link:k,hover_title:e.title,title:e.title,
aria_label:e.zi||null});d=d.g["ytp-suggestion-image"];e=e.oc(b);d.style.backgroundImage=e?"url("+e+")":""}for(;c<a.C.length;c++)a.C[c].element.style.display="none";YQ(a)};
cR=function(a,b){g.R.call(this,{D:"canvas",H:"ytp-tv-static"});this.o=this.element.getContext("2d");this.height=this.width=window.NaN;this.I=null;this.J=this.L=this.B=this.A=0;this.C=-75;this.l=new g.pq(this.G,void 0,this);g.I(this,this.l);this.F=new g.L(this.l.Ti,75,this.l);g.I(this,this.F);bR(this,a,b)};
dR=function(a){for(var b=Math.floor(.6*a),c=b;c<a;++c){for(var d=!1,e=2;e<Math.sqrt(c);e++){if(!(c%e)){d=!1;break}d=!0}if(d)return c}return b};
bR=function(a,b,c){if(b&&c){a.width=a.element.width=b;a.height=a.element.height=c;var d=g.Td("CANVAS");d.width=b;d.height=c;for(var e=d.getContext("2d"),f=e.getImageData(0,0,b,c),k=b*c,l=0;l<k;l++){var m=4*l;f.data[m]=f.data[m+1]=f.data[m+2]=Math.floor(35*Math.random());f.data[m+3]=255}e.putImageData(f,0,0);a.I=d;a.L=dR(b);a.J=dR(c/10);a.o.scale(1.5,1.5);a.o.fillStyle="rgba(255, 255, 255, 0.02)"}};
fR=function(a){var b=g.V(a),c=g.S(b.experiments,"enable_uturn_error_screen")&&b.g,d=b.protocol+"://"+VA(b);if(c){var e=new XQ(a);b={D:"div",H:"ytp-error-content",K:[{D:"div",H:"ytp-error-icon-container",K:[g.mO?{D:"div",W:["ytp-icon","ytp-icon-error-exclamation"]}:{D:"svg",O:{fill:"#fff",height:"100%",viewBox:"0 0 48 48",width:"100%"},K:[{D:"path",O:{d:"M0 0h48v48H0V0z",fill:"none"}},{D:"path",O:{d:"M22 30h4v4h-4zm0-16h4v12h-4zm1.99-10C12.94 4 4 12.95 4 24s8.94 20 19.99 20S44 35.05 44 24 35.04 4 23.99 4zM24 40c-8.84 0-16-7.16-16-16S15.16 8 24 8s16 7.16 16 16-7.16 16-16 16z",
"fill-opacity":"0.3"}}]}]},{D:"div",H:"ytp-error-content-wrap",K:[{D:"div",H:"ytp-error-content-wrap-reason",V:"{{content}}"},{D:"div",H:"ytp-error-content-wrap-subreason",V:"{{subreason}}"}]}]};d={href:d,target:"_blank","aria-label":g.Q("YTP_VISIT_YOUTUBE")};b={D:"div",W:["ytp-error","ytp-related-on-error"],O:{role:"alert"},K:[b,{D:"div",H:"ytp-small-redirect",K:[{D:"a",H:"ytp-small-redirect-link",O:d,K:[g.mO?{D:"div",W:["ytp-icon","ytp-icon-youtube-small-logo"]}:{D:"svg",O:{fill:"#fff",height:"100%",
viewBox:"0 0 24 24",width:"100%"},K:[{D:"path",O:{d:"M0 0h24v24H0V0z",fill:"none"}},{D:"path",O:{d:"M21.58 7.19c-.23-.86-.91-1.54-1.77-1.77C18.25 5 12 5 12 5s-6.25 0-7.81.42c-.86.23-1.54.91-1.77 1.77C2 8.75 2 12 2 12s0 3.25.42 4.81c.23.86.91 1.54 1.77 1.77C5.75 19 12 19 12 19s6.25 0 7.81-.42c.86-.23 1.54-.91 1.77-1.77C22 15.25 22 12 22 12s0-3.25-.42-4.81zM10 15V9l5.2 3-5.2 3z"}}]}]}]},e]}}else b={D:"div",W:["ytp-error"],O:{role:"alert"},K:[{D:"div",H:"ytp-error-content",K:[{D:"div",H:"ytp-error-content-wrap",
V:"{{content}}"}]}]};g.R.call(this,b);this.B=c;this.l=a;(this.A=e)&&g.I(this,this.A);this.C=[];if(!this.B)try{this.o=new cR(1,1),g.I(this,this.o),this.o.aa(this.element,0)}catch(f){}eR(this,g.YJ(this.l).Ba())};
eR=function(a,b){gR(a,function(a){bR(a,b.width,b.height)});
a.B&&hR(a,b)};
hR=function(a,b){a.g["ytp-error-content"].style.paddingTop="0px";var c=a.g["ytp-error-content"],d=c.clientHeight;WQ(a.A,b,b.height-d);c.style.paddingTop=(b.height-a.A.element.clientHeight)/2-d/2+"px";c=a.g["ytp-small-redirect"];a.A.isHidden()?c.style.display="inline":c.style.display=""};
gR=function(a,b){if(a.o)try{b.call(a,a.o)}catch(c){a.o.dispose(),a.o=null}};
iR=function(a){a=a.split(zfa);for(var b=[],c=0;c<a.length;c+=3){var d=a[c++].split("\n");b.push(d[0]);for(var e=1;e<d.length;e++)b.push({D:"br"}),b.push(d[e]);c<a.length&&b.push({D:"a",O:{href:a[c],target:a[c+1]},V:a[c+2]})}return{D:"span",K:b}};
jR=function(a,b,c,d,e,f){e||(e=g.V(a.l).g);a=d?{CPN:a.l.getVideoData().clientPlaybackNonce}:null;b=g.Q(b,a).split(/\$(BEGIN|END)_LINK/);a=[];f&&(f=g.Q(f,null))&&a.push({D:"h2",V:f});a.push(b[0]);a.push({D:"br"});a.push({D:"a",O:{href:c,target:e?"_blank":null},V:b[2]});a.push(b[4]);return{D:"span",K:a}};
lR=function(a){g.Gt.call(this);this.g=a;this.o=new window.Set;this.l=window.navigator.mediaSession;kR(this,"play",function(){a.Gb()});
kR(this,"pause",function(){a.Cb()});
kR(this,"seekbackward",function(){a.Ld(-5*a.Ub())});
kR(this,"seekforward",function(){a.Ld(5*a.Ub())});
this.M(a,"videodatachange",this.B);this.M(a,"presentingplayerstatechange",this.A);this.B()};
kR=function(a,b,c){a.l.setActionHandler(b,c?(0,g.A)(c,a):null);a.o.add(b)};
mR=function(a){g.R.call(this,{D:"div",H:"ytp-paid-content-overlay",O:{"aria-live":"assertive","aria-atomic":"true"}});this.I=new g.R({D:"div",W:["ytp-button","ytp-paid-content-overlay-text"]});g.I(this,this.I);this.I.aa(this.element);this.J=a;this.o=null;this.F=!1;this.B=new g.eP(this.I,250,!1,100);g.I(this,this.B);this.C=this.l=null;this.A={};this.G=0;this.M(a,"videodatachange",this.R);this.M(a,"presentingplayerstatechange",this.N)};
nR=function(a,b){var c=EC(b),d=FC(b);a.l?b.videoId&&b.videoId!=a.o&&(g.uq(a.l),a.o=b.videoId,c=a.A[b.videoId]||0,a.F=!!d&&3E3>c):c&&d&&(a.l=new g.L(a.L,d,a),g.I(a,a.l),g.fe(g.Ed("ytp-paid-content-overlay-text",a.element),c))};
oR=function(a,b){a.l&&g.U(b,8)&&a.F&&(a.F=!1,a.B.show(),a.G=(0,g.D)(),a.l.start())};
qR=function(a){g.R.call(this,{D:"div",H:"ytp-spinner",K:[FQ(),{D:"div",H:"ytp-spinner-message",V:g.Q("YTP_PLAYBACK_STALLED_AT_START")}]});this.A=this.g["ytp-spinner-message"];this.o=a;this.l=new g.L(this.show,500,this);g.I(this,this.l);this.M(a,"presentingplayerstatechange",this.B);this.M(a,"onFrescaStateChange",this.C);this.M(a,"playbackstalledatstart",this.F);pR(this,g.XJ(a))};
pR=function(a,b){if(g.U(b,128))var c=0;else!(c=g.U(b,16))&&(c=g.U(b,1))&&(c=g.RJ(a.o).I,c=!(c&&c.loaded));c?a.l.start():a.hide()};
rR=function(a,b,c,d){d=void 0===d?!1:d;g.tv.call(this,b);this.T=a;this.ca=d;this.J=null;this.I=new g.Gt(this);g.I(this,this.I);this.L=new g.eP(this,c,!0);g.I(this,this.L);this.B=null};
sR=function(a){a.B&&(window.document.activeElement&&g.ee(a.element,window.document.activeElement)&&(g.ie(a.B),a.B.focus()),a.B.removeAttribute("aria-expanded"),a.B=null);g.It(a.I);a.J=null};
tR=function(a){return a.Ha()&&3!=a.L.g};
vR=function(a){var b=ew(g.V(a).experiments,"mweb_muted_autoplay_animation"),c=[],d=[];"none"!=b&&(c.push("ytp-unmute-animated"),d.push({D:"div",W:["ytp-unmute-box"]}),"expand"==b?c.push("ytp-unmute-expand"):"shrink"==b&&c.push("ytp-unmute-shrink"));rR.call(this,a,{D:"button",W:["ytp-unmute","ytp-popup","ytp-button"].concat(c),K:[{D:"div",H:"ytp-unmute-inner",K:[{D:"div",W:["ytp-unmute-icon"],K:[g.mO?{D:"div",W:["ytp-icon","ytp-icon-volume-muted-dark"]}:{D:"svg",O:{height:"100%",version:"1.1",viewBox:"0 0 36 36",
width:"100%"},K:[{D:"path",Fa:!0,H:"ytp-svg-fill",O:{d:"m 21.48,17.98 c 0,-1.77 -1.02,-3.29 -2.5,-4.03 v 2.21 l 2.45,2.45 c .03,-0.2 .05,-0.41 .05,-0.63 z m 2.5,0 c 0,.94 -0.2,1.82 -0.54,2.64 l 1.51,1.51 c .66,-1.24 1.03,-2.65 1.03,-4.15 0,-4.28 -2.99,-7.86 -7,-8.76 v 2.05 c 2.89,.86 5,3.54 5,6.71 z M 9.25,8.98 l -1.27,1.26 4.72,4.73 H 7.98 v 6 H 11.98 l 5,5 v -6.73 l 4.25,4.25 c -0.67,.52 -1.42,.93 -2.25,1.18 v 2.06 c 1.38,-0.31 2.63,-0.95 3.69,-1.81 l 2.04,2.05 1.27,-1.27 -9,-9 -7.72,-7.72 z m 7.72,.99 -2.09,2.08 2.09,2.09 V 9.98 z"}}]}]},
{D:"div",W:["ytp-unmute-text"],V:g.Q("YTP_TAP_TO_UNMUTE_SHORT")}].concat(d)}]},100);this.l=a;this.o=this.A=!1;g.S(g.V(this.l).experiments,"muted_autoplay_unmute_interaction_logging_killswitch")||wK(this.l,this.element,this,51663);this.M(a,"mutedautoplaychange",this.C,this);this.M(a,"presentingplayerstatechange",this.F);this.da("click",this.onClick,this);a=a.app.ea;g.rv(this,a);a&&uR(this)};
wR=function(a){a.A||(a.A=!0,g.gK(a.l,"mutedAutoplayClick",{}),g.S(g.V(a.l).experiments,"muted_autoplay_unmute_interaction_logging_killswitch")||g.xK(a.l,a.element))};
uR=function(a){a.o||(a.o=!0,g.gK(a.l,"mutedAutoplayImpression",{}),g.S(g.V(a.l).experiments,"muted_autoplay_unmute_interaction_logging_killswitch")||g.yK(a.l,a.element,!0))};
xR=function(a){g.Gt.call(this);var b=g.V(a),c=g.YJ(a);this.g=a;this.ub=!1;this.J=null;this.Za=!1;this.Ya=new g.L(this.VG,0,this);g.I(this,this.Ya);var d=new TQ(a);g.I(this,d);g.tK(a,d.element,4);if(!xs("tizen")){var e=new qR(a);g.I(this,e);e=e.element;g.tK(a,e,4)}var f=a.getVideoData();this.o=new RQ(c,(0,g.A)(this.jF,this),f,b.useTabletControls);g.I(this,this.o);this.o.subscribe("autohideupdate",this.Tp,this);var k=new mR(a);g.I(this,k);g.tK(a,k.element,4);this.ia=new vR(a);g.I(this,this.ia);g.tK(this.g,
this.ia.element,2);this.ib=this.g.app.ea;this.M(a,"mutedautoplaychange",this.kF);this.ca=new g.L(this.Fp,200,this);g.I(this,this.ca);this.Ga=f.videoId;this.B=null;this.Ta=!1;this.Ua=null;this.na=[];f=a.getRootNode();f.setAttribute("aria-label","\u041f\u0440\u043e\u0438\u0433\u0440\u044b\u0432\u0430\u0442\u0435\u043b\u044c YouTube");switch(b.color){case "white":g.J(f,"ytp-color-white")}!g.S(g.V(a).experiments,"disable_mediasession2")&&"mediaSession"in window.navigator&&!window.navigator.mediaSession.metadata&&
window.navigator.mediaSession.setActionHandler&&(f=new lR(a),g.I(this,f));this.M(a,"appresize",this.tj);this.M(a,"presentingplayerstatechange",this.ZI);this.M(a,"videodatachange",this.Av);this.M(a,"videoplayerreset",this.WI);this.M(a,"autonavvisibility",this.Zg,this);g.S(g.V(a).experiments,"player_minimized_controls_killswitch")&&this.M(a,"minimized",this.Ke,this);this.M(a,"onFrescaStateChange",this.Ke,this);this.M(c,"click",this.AJ,this);this.M(c,"dblclick",this.BJ,this);b.fa&&(this.M(c,"gesturechange",
this.CJ,this),this.M(c,"gestureend",this.DJ,this));this.X=[c.A,d.element];e&&this.X.push(e)};
yR=function(a){return g.S(g.V(a.g).experiments,"player_minimized_controls_killswitch")?a.g.app.I.g:!1};
zR=function(a,b){if(!b)return!1;var c=a.g.app.B;if(c.gf()&&(c=c.ha())&&g.ee(c,b))return c.controls;for(c=0;c<a.X.length;c++)if(g.ee(a.X[c],b))return!1;return g.dq(b,"ytp-player-content")||g.dq(b,"html5-endscreen")||b==a.g.getRootNode()?!1:!0};
CR=function(a){return g.S(g.V(a.g).experiments,"mweb_ios_handle_player_click_by_touch_event")&&2==a.g.Da()&&g.YJ(a.g).F&&g.V(a.g).l&&AR&&11<=BR};
DR=function(a,b){if(!zR(a,vt(b))&&(a.o.wb(2,!0),g.WO(b)&&!g.V(a.g).I))if(a.Dk())g.zt(b);else{var c=g.XJ(a.g);g.U(c,2)&&TJ(a.g)||a.Bv(c);!g.V(a.g).fa||g.BD(c)||g.U(c,1024)?a.Fp():a.ca.isActive()?(a.Mt(),a.ca.stop()):a.ca.start()}};
ER=function(a,b){if(g.WO(b)&&a.g.app.ea){a.g.Ge();2==a.g.Da()&&a.g.Gb();var c=g.XJ(a.g);!g.U(c,4)||g.U(c,8)||g.U(c,2)||a.Fp();return!0}return!1};
FR=function(a,b,c){a.g.isFullscreen()?c<1-b&&g.aK(a.g):c>1+b&&g.aK(a.g)};
g.GR=function(a){g.R.call(this,{D:"div",H:"ytp-bezel",O:{role:"status","aria-label":"{{label}}"},K:[{D:"div",H:"ytp-bezel-icon",V:"{{icon}}"}]});this.o=new g.L(this.show,10,this);g.I(this,this.o);this.l=new g.L(this.hide,500,this);g.I(this,this.l);this.A=a;this.hide()};
IR=function(a,b){if(b)g.U(g.XJ(a.A),64)||HR(a,AO(),g.Q("YTP_PLAY"));else{var c=a.A.getVideoData();c.pa&&!c.Qe?HR(a,EO(),g.Q("YTP_STOP")):HR(a,yO(),g.Q("YTP_PAUSE"))}};
JR=function(a,b,c){0>=b?(c=IO(),b=g.Q("YTP_SCREENREADER_VOLUME_MUTED")):(c=c?HO():GO(),b=Math.floor(b)+"% "+g.Q("YTP_SCREENREADER_VOLUME_SETTING"));HR(a,c,b)};
KR=function(a,b,c){c=c?g.mO?{D:"div",W:["ytp-icon","ytp-icon-fast-rewind"]}:{D:"svg",O:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{D:"path",Fa:!0,H:"ytp-svg-fill",O:{d:"M 17,24 V 12 l -8.5,6 8.5,6 z m .5,-6 8.5,6 V 12 l -8.5,6 z"}}]}:g.mO?{D:"div",W:["ytp-icon","ytp-icon-fast-forward"]}:{D:"svg",O:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{D:"path",Fa:!0,H:"ytp-svg-fill",O:{d:"M 10,24 18.5,18 10,12 V 24 z M 19,12 V 24 L 27.5,18 19,12 z"}}]};b=g.Q("YTP_PLAYBACK_SPEED_CHANGED",
{RATE:String(b)});HR(a,c,b)};
HR=function(a,b,c){a.updateValue("label",void 0===c?"":c);a.updateValue("icon",b);g.uq(a.l);a.o.start()};
MR=function(a,b,c){var d={"aria-label":g.Q("YTP_CARDS_BUTTON_ARIA_LABEL"),"aria-owns":"iv-drawer","aria-haspopup":"true","data-tooltip-opaque":String(g.V(a).J)},e={D:"span",H:"ytp-cards-button-icon-default",K:[{D:"div",H:"ytp-cards-button-icon",K:[g.mO?{D:"div",W:["ytp-icon","ytp-icon-info-card"]}:{D:"svg",O:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{D:"path",Fa:!0,H:"ytp-svg-fill",O:{d:"M18,8 C12.47,8 8,12.47 8,18 C8,23.52 12.47,28 18,28 C23.52,28 28,23.52 28,18 C28,12.47 23.52,8 18,8 L18,8 Z M17,16 L19,16 L19,24 L17,24 L17,16 Z M17,12 L19,12 L19,14 L17,14 L17,12 Z"}}]}]},
{D:"div",H:"ytp-cards-button-title",V:g.Q("YTP_CARDS_BUTTON_INFO")}]};d={D:"button",W:["ytp-button","ytp-cards-button"],O:d,K:[e,{D:"span",H:"ytp-cards-button-icon-shopping",K:[{D:"div",H:"ytp-cards-button-icon",K:[g.mO?{D:"div",W:["ytp-icon","ytp-icon-shopping-card"]}:{D:"svg",O:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{D:"path",H:"ytp-svg-shadow",O:{d:"M 27.99,18 A 9.99,9.99 0 1 1 8.00,18 9.99,9.99 0 1 1 27.99,18 z"}},{D:"path",H:"ytp-svg-fill",O:{d:"M 18,8 C 12.47,8 8,12.47 8,18 8,23.52 12.47,28 18,28 23.52,28 28,23.52 28,18 28,12.47 23.52,8 18,8 z m -4.68,4 4.53,0 c .35,0 .70,.14 .93,.37 l 5.84,5.84 c .23,.23 .37,.58 .37,.93 0,.35 -0.13,.67 -0.37,.90 L 20.06,24.62 C 19.82,24.86 19.51,25 19.15,25 c -0.35,0 -0.70,-0.14 -0.93,-0.37 L 12.37,18.78 C 12.13,18.54 12,18.20 12,17.84 L 12,13.31 C 12,12.59 12.59,12 13.31,12 z m .96,1.31 c -0.53,0 -0.96,.42 -0.96,.96 0,.53 .42,.96 .96,.96 .53,0 .96,-0.42 .96,-0.96 0,-0.53 -0.42,-0.96 -0.96,-0.96 z",
"fill-opacity":"1"}},{D:"path",H:"ytp-svg-shadow-fill",O:{d:"M 24.61,18.22 18.76,12.37 C 18.53,12.14 18.20,12 17.85,12 H 13.30 C 12.58,12 12,12.58 12,13.30 V 17.85 c 0,.35 .14,.68 .38,.92 l 5.84,5.85 c .23,.23 .55,.37 .91,.37 .35,0 .68,-0.14 .91,-0.38 L 24.61,20.06 C 24.85,19.83 25,19.50 25,19.15 25,18.79 24.85,18.46 24.61,18.22 z M 14.27,15.25 c -0.53,0 -0.97,-0.43 -0.97,-0.97 0,-0.53 .43,-0.97 .97,-0.97 .53,0 .97,.43 .97,.97 0,.53 -0.43,.97 -0.97,.97 z",fill:"#000","fill-opacity":"0.15"}}]}]},{D:"div",
H:"ytp-cards-button-title",V:g.Q("YTP_CARDS_BUTTON_SHOPPING")}]}]};g.R.call(this,d);this.l=a;this.B=b;this.C=c;this.o=null;this.A=new g.eP(this,250,!0,100);g.I(this,this.A);a=g.V(this.l);b=g.YJ(this.l).Ba().width;b=a.g&&480<b;a.J&&g.S(a.experiments,"embed_info_bar_show_actions_labels")&&g.K(this.C,"ytp-show-cards-title",b);this.hide();this.da("click",this.F);this.da("mouseover",this.G);LR(this,!0)};
LR=function(a,b){b?a.o=NR(a.B.bb(),a.element):(a.o(),a.o=null)};
OR=function(a,b){g.R.call(this,{D:"div",H:"ytp-cards-teaser",K:[{D:"div",H:"ytp-cards-teaser-box"},{D:"div",H:"ytp-cards-teaser-text",K:[{D:"span",H:"ytp-cards-teaser-label",V:"{{text}}"}]}]});this.o=a;this.C=new g.eP(this,250,!1,250);g.I(this,this.C);this.J=b;this.l=null;this.I=new g.L(this.AI,300,this);g.I(this,this.I);this.G=new g.L(this.xI,2E3,this);g.I(this,this.G);this.L=new g.Zp;this.F=[];this.B=this.A=null;this.M(b.element,"mouseover",this.Cv);this.M(b.element,"mouseout",this.Zf);this.M(a,
"cardsteasershow",this.YJ);this.M(a,"cardsteaserhide",this.uj);this.M(a,"cardstatechange",this.Jy);this.M(a,"presentingplayerstatechange",this.Jy);this.da("click",this.oL);this.da("mouseenter",this.lF)};
Afa=function(a,b){a.updateValue("text",b.teaserText);a.element.setAttribute("dir",g.$p(a.L,b.teaserText));a.C.show();a.A=new g.L(function(){g.J(this.o.getRootNode(),"ytp-cards-teaser-shown")},0,a);
a.A.start();LR(a.J,!1);a.l=new g.L(a.uj,580+b.durationMs,a);a.l.start();a.F.push(a.da("mouseover",a.Cv,a));a.F.push(a.da("mouseout",a.Zf,a))};
PR=function(a,b,c,d,e){var f={D:"div",H:"ytp-panel"};if(c){var k="ytp-panel-title";var l={D:"div",H:"ytp-panel-header",K:[{D:"button",W:["ytp-button",k],K:[c]}]};if(e){var m="ytp-panel-options";l.K.push({D:"button",W:["ytp-button",m],K:[d]})}f.K=[l]}g.tv.call(this,f);this.T=b;b.aa(this.element);this.fa=!1;c&&(this.M(this.g[k],"click",this.la),this.fa=!0,e&&this.M(this.g[m],"click",e));b.subscribe("size-change",this.ia,this);this.M(a,"fullscreentoggled",this.ia)};
g.QR=function(a,b,c,d,e){b=void 0===b?null:b;var f={role:"menu"};b&&(f.id=b);b=new g.tv({D:"div",H:"ytp-panel-menu",O:f});PR.call(this,a,b,c,d,e);this.F=b;g.I(this,this.F);this.za=[]};
g.RR=function(a,b,c){if(void 0===c?0:c)a.za.push(b),a.F.element.appendChild(b.element);else{c=g.lb(a.za,b,Bfa);if(0<=c)return;c=~c;g.gb(a.za,c,0,b);Xd(a.F.element,b.element,c)}b.subscribe("size-change",a.X,a);a.F.P("size-change")};
g.SR=function(a,b){b.unsubscribe("size-change",a.X,a);a.ga()||(g.Za(a.za,b),a.F.element.removeChild(b.element),a.F.P("size-change"))};
g.TR=function(a){for(var b=g.p(a.za),c=b.next();!c.done;c=b.next())c.value.unsubscribe("size-change",a.X,a);a.za=[];g.Wd(a.F.element);a.F.P("size-change")};
Bfa=function(a,b){return b.priority-a.priority};
g.UR=function(a,b){rR.call(this,a,{D:"div",W:["ytp-popup",b||null]},100,!0);this.l=[];this.size=new g.vd(0,0);this.C=this.F=null;this.N=this.R=0;this.da("keydown",this.AF)};
WR=function(a){g.di(a.element,a.R||"100%",a.N||"100%");var b=VR(a);b.element.style.width="";b.element.style.height="";b.element.style.maxWidth="100%";b.element.style.maxHeight="100%";b.T.element.style.height="";var c=g.fi(b.element);c.width+=1;c.height+=1;b.element.style.width=c.width+"px";b.element.style.height=c.height+"px";b.element.style.maxWidth="";b.element.style.maxHeight="";var d=0;b.fa&&(d=g.fi(b.g["ytp-panel-header"]).height);b.T.element.style.height=c.height-d+"px";a.size=c};
g.YR=function(a,b){var c=a.l[a.l.length-1];a.l.push(b);XR(a,c,b)};
g.ZR=function(a){var b=a.l.pop(),c=a.l[0];a.l=[c];XR(a,b,c,!0)};
XR=function(a,b,c,d){$R(a);VR(a);g.dq(c.element,"ytp-panel-animate-back")||g.dq(c.element,"ytp-panel-animate-forward");b&&(b.unsubscribe("size-change",a.Oj,a),b.unsubscribe("back",a.Pd,a));c.subscribe("size-change",a.Oj,a);c.subscribe("back",a.Pd,a);if(a.Ha()){g.J(c.element,d?"ytp-panel-animate-back":"ytp-panel-animate-forward");c.aa(a.element);c.focus();a.element.scrollLeft=0;a.element.scrollTop=0;var e=a.size;WR(a);g.di(a.element,e);a.F=new g.L(g.La(a.mL,b,c,d),20,a);a.F.start()}else c.aa(a.element),
b&&g.qv(b)};
VR=function(a){return a.l[a.l.length-1]};
$R=function(a){a.F&&g.tq(a.F);a.C&&g.tq(a.C)};
aS=function(a){var b=g.wv({"aria-haspopup":"true"});g.vv.call(this,b,a);this.da("keydown",this.l)};
bS=function(a,b){a.element.setAttribute("aria-haspopup",b)};
cS=function(a,b){var c=g.wv({role:"menuitemcheckbox","aria-checked":"false"});g.vv.call(this,c,b,a,{D:"div",H:"ytp-menuitem-toggle-checkbox"});this.o=!1;this.da("click",this.J)};
dS=function(a,b){a.o=b;a.element.setAttribute("aria-checked",a.o)};
eS=function(a,b,c){var d={};b&&(d.v=b);c&&(d.list=c);a={name:a,locale:void 0,feature:void 0};for(var e in d)a[e]=d[e];d=g.fh("/sharing_services",a);g.Is(d)};
hS=function(a,b,c,d){g.QR.call(this,a);this.l=a;this.L=c;this.N=d;this.B=new aS(8);g.I(this,this.B);g.RR(this,this.B,!0);this.B.da("click",this.NH,this);wK(a,this.B.element,this.B,28659);this.A=new aS(7);g.I(this,this.A);g.RR(this,this.A,!0);this.A.da("click",this.MH,this);wK(a,this.A.element,this.A,28660);this.o=new aS(6);g.I(this,this.o);g.RR(this,this.o,!0);this.o.da("click",this.KH,this);wK(a,this.o.element,this.o,28658);this.C=new cS(g.Q("YTP_LOOP"),5);g.I(this,this.C);g.RR(this,this.C,!0);this.C.da("click",
this.fI,this);wK(a,this.C.element,this.C,28661);this.R=new g.vv(g.wv({href:"{{href}}",target:"_blank"},void 0,!0),4,g.Q("YTP_TROUBLESHOOT_ISSUE"));g.I(this,this.R);g.RR(this,this.R,!0);this.R.da("click",this.tJ,this);this.J=new aS(3);g.I(this,this.J);g.RR(this,this.J,!0);this.J.da("click",this.JH,this);b=new g.vv(g.wv(),2,g.Q("YTP_SHOW_VIDEO_INFO"));g.I(this,b);g.RR(this,b,!0);b.da("click",this.PJ,this);this.I=new g.tv({D:"div",W:["ytp-copytext","ytp-no-contextmenu"],O:{draggable:"false",tabindex:"1"},
V:"{{text}}"});g.I(this,this.I);this.I.da("click",this.sH,this);this.ca=new PR(a,this.I);g.I(this,this.ca);this.G=null;b=window.document.queryCommandSupported&&window.document.queryCommandSupported("copy");g.Ew&&g.Fc(43)&&(b=!0);g.Sz&&!g.Fc(41)&&(b=!1);b&&(this.G=new g.R({D:"textarea",H:"ytp-html5-clipboard"}),g.I(this,this.G),this.G.aa(this.element));this.M(a,"loopchange",this.eI);this.M(a,"videodatachange",this.pF);fS(this);gS(this,this.l.getVideoData())};
iS=function(a,b){if(a.G){var c=a.G.element;c.value=b;c.select();try{var d=window.document.execCommand("copy")}catch(e){}}d?a.L.nb():(a.I.jb(b,"text"),g.YR(a.L,a.ca),GQ(a.I.element),a.G&&(a.G=null,fS(a)));return d};
gS=function(a,b){var c=g.V(a.l),d=2!=a.l.Da()||b.isListed;d=!c.F&&!!b.videoId&&d;"play"!=c.playerStyle?c="https://support.google.com/youtube/?p=report_playback":(c={contact_type:"playbackissue",html5:1,plid:b.playbackId,ei:b.eventId,v:b.videoId,p:"movies_playback"},b.xa&&(c.fmt=Uv(b.xa)),b.clientPlaybackNonce&&(c.cpn=b.clientPlaybackNonce),b.ge&&(c.partnerid=b.ge),c=g.fh("//support.google.com/googleplay/",c));g.rv(a.o,d&&b.allowEmbed);g.rv(a.B,d);g.rv(a.A,d&&!b.pa);a.R.jb(c,"href")};
fS=function(a){var b=!!a.G;g.uv(a.J,g.Q(b?"YTP_COPY_DEBUG_INFO":"YTP_GET_DEBUG_INFO"));bS(a.J,!b);g.uv(a.o,g.Q(b?"YTP_EMBED_COPY":"YTP_GET_EMBED"));bS(a.o,!b);g.uv(a.B,g.Q(b?"YTP_COPY_VIDEO_URL":"YTP_GET_VIDEO_URL"));bS(a.B,!b);g.uv(a.A,g.Q(b?"YTP_COPY_VIDEO_URL_AT_TIME":"YTP_GET_VIDEO_URL_AT_TIME"));bS(a.A,!b)};
jS=function(a,b){g.yK(a.l,a.o.element,b);g.yK(a.l,a.B.element,b);g.yK(a.l,a.A.element,b);g.yK(a.l,a.C.element,b)};
lS=function(a,b,c){g.UR.call(this,a);this.o=a;this.fa=b;this.X=c;this.A=new g.Gt(this);g.I(this,this.A);this.G=null;wK(a,this.element,this,28656);g.J(this.element,"ytp-contextmenu");kS(this);this.hide()};
kS=function(a){g.It(a.A);"gvn"!=g.V(a.o).playerStyle&&a.A.M(g.YJ(a.o),"contextmenu",a.rH)};
mS=function(a){a.o.isFullscreen()?g.tK(a.o,a.element,9):a.aa(window.document.body)};
nS=function(a,b,c,d,e,f){g.Gt.call(this);this.g=a;this.F=c;this.B=d;this.l=e;this.C=f;this.A=new g.L(g.La(this.Fv,!1),1E3,this);g.I(this,this.A);this.o="";a=g.La(this.pq,!1);this.M(b,"mousedown",a);this.M(c.element,"mousedown",a);this.M(b,"keydown",this.Dt);this.M(c.element,"keydown",this.Dt);this.M(b,"keyup",this.Et);this.M(c.element,"keyup",this.Et)};
pS=function(a,b,c){var d=!1,e=g.V(a.g);if(!e.dd){switch(b){case 80:c&&!e.I&&(HR(a.l,BO(),g.Q("YTP_PREVIOUS")),a.g.nj(),d=!0);break;case 78:c&&!e.I&&(HR(a.l,wO(),g.Q("YTP_NEXT")),a.g.Oh(),d=!0);break;case 74:a.g.zc()&&(HR(a.l,g.mO?{D:"div",W:["ytp-icon","ytp-icon-rewind-ten-seconds"]}:{D:"svg",O:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{D:"path",Fa:!0,H:"ytp-svg-fill",O:{d:"M 18,11 V 7 l -5,5 5,5 v -4 c 3.3,0 6,2.7 6,6 0,3.3 -2.7,6 -6,6 -3.3,0 -6,-2.7 -6,-6 h -2 c 0,4.4 3.6,8 8,8 4.4,0 8,-3.6 8,-8 0,-4.4 -3.6,-8 -8,-8 z M 16.9,22 H 16 V 18.7 L 15,19 v -0.7 l 1.8,-0.6 h .1 V 22 z m 4.3,-1.8 c 0,.3 0,.6 -0.1,.8 l -0.3,.6 c 0,0 -0.3,.3 -0.5,.3 -0.2,0 -0.4,.1 -0.6,.1 -0.2,0 -0.4,0 -0.6,-0.1 -0.2,-0.1 -0.3,-0.2 -0.5,-0.3 -0.2,-0.1 -0.2,-0.3 -0.3,-0.6 -0.1,-0.3 -0.1,-0.5 -0.1,-0.8 v -0.7 c 0,-0.3 0,-0.6 .1,-0.8 l .3,-0.6 c 0,0 .3,-0.3 .5,-0.3 .2,0 .4,-0.1 .6,-0.1 .2,0 .4,0 .6,.1 .2,.1 .3,.2 .5,.3 .2,.1 .2,.3 .3,.6 .1,.3 .1,.5 .1,.8 v .7 z m -0.9,-0.8 v -0.5 c 0,0 -0.1,-0.2 -0.1,-0.3 0,-0.1 -0.1,-0.1 -0.2,-0.2 -0.1,-0.1 -0.2,-0.1 -0.3,-0.1 -0.1,0 -0.2,0 -0.3,.1 l -0.2,.2 c 0,0 -0.1,.2 -0.1,.3 v 2 c 0,0 .1,.2 .1,.3 0,.1 .1,.1 .2,.2 .1,.1 .2,.1 .3,.1 .1,0 .2,0 .3,-0.1 l .2,-0.2 c 0,0 .1,-0.2 .1,-0.3 v -1.5 z"}}]}),
a.g.Ld(-10*a.g.Ub()),d=!0);break;case 76:a.g.zc()&&(HR(a.l,g.mO?{D:"div",W:["ytp-icon","ytp-icon-forward-ten-seconds"]}:{D:"svg",O:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{D:"path",Fa:!0,H:"ytp-svg-fill",O:{d:"m 10,19 c 0,4.4 3.6,8 8,8 4.4,0 8,-3.6 8,-8 h -2 c 0,3.3 -2.7,6 -6,6 -3.3,0 -6,-2.7 -6,-6 0,-3.3 2.7,-6 6,-6 v 4 l 5,-5 -5,-5 v 4 c -4.4,0 -8,3.6 -8,8 z m 6.8,3 H 16 V 18.7 L 15,19 v -0.7 l 1.8,-0.6 h .1 V 22 z m 4.3,-1.8 c 0,.3 0,.6 -0.1,.8 l -0.3,.6 c 0,0 -0.3,.3 -0.5,.3 C 20,21.9 19.8,22 19.6,22 19.4,22 19.2,22 19,21.9 18.8,21.8 18.7,21.7 18.5,21.6 18.3,21.5 18.3,21.3 18.2,21 18.1,20.7 18.1,20.5 18.1,20.2 v -0.7 c 0,-0.3 0,-0.6 .1,-0.8 l .3,-0.6 c 0,0 .3,-0.3 .5,-0.3 .2,0 .4,-0.1 .6,-0.1 .2,0 .4,0 .6,.1 .2,.1 .3,.2 .5,.3 .2,.1 .2,.3 .3,.6 .1,.3 .1,.5 .1,.8 v .7 z m -0.8,-0.8 v -0.5 c 0,0 -0.1,-0.2 -0.1,-0.3 0,-0.1 -0.1,-0.1 -0.2,-0.2 -0.1,-0.1 -0.2,-0.1 -0.3,-0.1 -0.1,0 -0.2,0 -0.3,.1 l -0.2,.2 c 0,0 -0.1,.2 -0.1,.3 v 2 c 0,0 .1,.2 .1,.3 0,.1 .1,.1 .2,.2 .1,.1 .2,.1 .3,.1 .1,0 .2,0 .3,-0.1 l .2,-0.2 c 0,0 .1,-0.2 .1,-0.3 v -1.5 z"}}]}),
a.g.Ld(10*a.g.Ub()),d=!0);break;case 77:a.g.isMuted()?(a.g.Ge(),JR(a.l,a.g.Bb(),!1)):(a.g.mute(),JR(a.l,0,!0));d=!0;break;case 75:e.I||(d=!g.AD(g.XJ(a.g)),IR(a.l,d),d?a.g.Gb():a.g.Cb(),d=!0);break;case 190:if(c){if(e.la)for(b=a.g.Mh(),c=a.g.Ub(),e=0;e<b.length-1;e++)b[e]==c&&(d=b[e+1],a.g.Jd(d,!0),KR(a.l,d,!1),d=!0)}else a.g.zc()&&(oS(a,1),d=!0);break;case 188:if(c){if(e.la)for(b=a.g.Mh(),c=a.g.Ub(),e=b.length-1;1<=e;e--)b[e]==c&&(d=b[e-1],a.g.Jd(d,!0),KR(a.l,d,!0),d=!0)}else a.g.zc()&&(oS(a,-1),
d=!0);break;case 70:CQ(a.g)&&(g.aK(a.g),d=!0)}d&&a.B.wb(2,!0)}return d};
rS=function(a,b,c,d){var e=g.RJ(a.g).l;if(!e||!e.loaded)return!1;e=a.g.Og();for(var f,k=0;k<g.qS.length;k++){var l=g.qS[k];if(l.option==b){f=l.options;break}}var m;for(k=0;k<f.length;k++)f[k].option==e[b]&&(m=k);if(d)if(c){if(0==m)return!1}else if(m==f.length-1)return!1;d={};d[b]=f[(m+(c?f.length-1:1))%f.length].option;a.g.Bl(d);a.Fv(!0);a.A.start();return!0};
oS=function(a,b){a.g.zc();if(g.U(g.XJ(a.g),4)){var c=a.g.getVideoData().xa;c&&(c=c.video)&&a.g.Ld(b/(c.fps||30))}};
sS=function(a,b){g.R.call(this,{D:"div",H:"ytp-pause-overlay"});this.l=a;this.X=b;this.A=new g.Gt(this);g.I(this,this.A);this.R=new g.eP(this,1E3,!1,100);g.I(this,this.R);var c=g.V(a);this.C=[];this.o=[];this.F=0;this.ca=c.g;this.Y=!1;this.la=0;this.N=new g.R({D:"h2",H:"ytp-related-title",V:"{{title}}"});g.I(this,this.N);this.N.aa(this.element);this.G=new g.R({D:"div",H:"ytp-suggestions"});g.I(this,this.G);this.G.aa(this.element);this.L=new g.R({D:"button",W:["ytp-button","ytp-previous"],O:{"aria-label":g.Q("YTP_PREVIOUS")},
K:[g.pO()]});g.I(this,this.L);this.L.aa(this.element);this.L.da("click",this.CF,this);c=g.Ew||g.Lh?{style:"will-change: opacity"}:null;this.fa=new VQ((0,g.A)(this.Gv,this));g.I(this,this.fa);for(var d=this.ia=this.T=this.B=0;16>d;d++){var e=new g.R({D:"a",H:"ytp-suggestion-link",O:{href:"{{link}}",target:"_blank","aria-label":"{{aria_label}}"},K:[{D:"div",H:"ytp-suggestion-image"},{D:"div",H:"ytp-suggestion-overlay",O:c,K:[{D:"div",H:"ytp-suggestion-title",V:"{{title}}"},{D:"div",H:"ytp-suggestion-author",
V:"{{author_and_views}}"},{D:"div",H:"ytp-suggestion-duration",V:"{{duration}}"}]}]});g.I(this,e);e.aa(this.G.element);var f=e.g["ytp-suggestion-link"];g.Ih(f,"transitionDelay",d/20+"s");this.A.M(f,"click",g.La(this.DF,d));this.C.push(e)}this.J=new g.R({D:"button",W:["ytp-button","ytp-next"],O:{"aria-label":g.Q("YTP_NEXT")},K:[g.qO()]});g.I(this,this.J);this.J.aa(this.element);this.J.da("click",this.BF,this);c={"aria-label":g.Q("YTP_CLOSE")};c=new g.R({D:"button",W:["ytp-button","ytp-collapse"],O:c,
K:[g.mO?{D:"div",W:["ytp-icon","ytp-icon-small-close"]}:{D:"svg",O:{height:"100%",viewBox:"0 0 16 16",width:"100%"},K:[{D:"path",O:{d:"M13 4L12 3 8 7 4 3 3 4 7 8 3 12 4 13 8 9 12 13 13 12 9 8z",fill:"#fff"}}]}]});g.I(this,c);c.aa(this.element);c.da("click",this.jH,this);this.I=new g.R({D:"button",W:["ytp-button","ytp-expand"],V:g.Q("YTP_MORE_VIDEOS")});g.I(this,this.I);this.I.aa(this.element);this.I.da("click",this.lH,this);this.A.M(this.l,"appresize",this.xb);this.A.M(this.l,"fullscreentoggled",
this.EF);this.A.M(this.l,"presentingplayerstatechange",this.FF);this.A.M(this.l,"videodatachange",this.GF);this.xb(g.YJ(this.l).Ba())};
uS=function(a,b){var c=g.od(b,a.F-a.o.length*(a.T+8),0);a.fa.start(a.B,c,1E3);a.B=c;tS(a)};
tS=function(a){var b=a.X.Hc();b=a.ia/2+(b?32:16);a.J.element.style.bottom=b+"px";a.L.element.style.bottom=b+"px";b=a.B;var c=a.F-a.o.length*(a.T+8);g.K(a.element,"ytp-scroll-min",0<=b);g.K(a.element,"ytp-scroll-max",b<=c)};
Cfa=function(a){for(var b=g.V(a.l),c=0;c<a.o.length;c++){var d=a.o[c].sb(),e=a.C[c],f=d.shortViewCount?d.author+" \u2022 "+d.shortViewCount:d.author;e.element.style.display="";vS.test(d.title)&&(e.g["ytp-suggestion-title"].dir="rtl");vS.test(f)&&(e.g["ytp-suggestion-author"].dir="rtl");e.update({author_and_views:f,duration:d.lengthSeconds?g.VO(d.lengthSeconds):0,link:d.Si(b),title:d.title,aria_label:d.zi||null});e=e.g["ytp-suggestion-image"];d=d.oc(b);e.style.backgroundImage=d?"url("+d+")":""}for(;c<
a.C.length;c++)a.C[c].element.style.display="none";tS(a)};
wS=function(a,b,c){var d=b.sb(c),e=g.V(a),f=d.oc(e,"default.jpg");g.R.call(this,{D:"a",W:["ytp-video-menu-item","ytp-button"],O:{role:"menuitemradio","aria-label":d.title,href:e.getVideoUrl(d.videoId,b.listId?b.listId.toString():null)},K:[{D:"div",H:"ytp-video-menu-item-index",V:String(c+1)},{D:"div",H:"ytp-video-menu-item-now-playing",V:"\u25b6"},{D:"div",H:"ytp-video-menu-item-thumbnail",O:{style:f?"background-image: url("+f+");":null}},{D:"div",H:"ytp-video-menu-item-title",V:d.title},{D:"div",
H:"ytp-video-menu-item-author",V:d.author}]});this.l=a;this.Oa=c;this.da("click",this.o)};
xS=function(a){rR.call(this,a,{D:"div",H:"ytp-playlist-menu",O:{role:"dialog",id:kv()},K:[{D:"div",H:"ytp-playlist-menu-header",K:[{D:"div",H:"ytp-playlist-menu-title",K:[{D:"a",H:"ytp-playlist-menu-title-name",O:{href:"{{playlisturl}}"},V:"{{title}}"},{D:"button",W:["ytp-playlist-menu-close","ytp-button"],O:{"aria-label":g.Q("YTP_CLOSE")},K:[g.uO()]}]},{D:"div",H:"ytp-playlist-menu-subtitle",V:"{{subtitle}}"}]},{D:"div",H:"ytp-playlist-menu-items",O:{role:"menu"}}]},250);this.M(this.g["ytp-playlist-menu-close"],
"click",this.nb);this.M(this.g["ytp-playlist-menu-title-name"],"click",this.bK);this.o=a;this.A=this.G=this.l=null;this.za=this.g["ytp-playlist-menu-items"];this.F=new g.Gt(this);g.I(this,this.F);this.C=[];this.hide()};
yS=function(a,b){if(a.l!=b)if(a.l&&a.l.unsubscribe("shuffle",a.km,a),a.l=b,a.G=null,b){b.subscribe("shuffle",a.km,a);var c=b.author;a.update({title:b.title,subtitle:g.Q(c?"YTP_PLAYLIST_AUTHOR_AND_POSITION":"YTP_PLAYLIST_POSITION",{AUTHOR:c,CURRENT_POSITION:String(b.Oa+1),PLAYLIST_LENGTH:String(b.getLength())}),playlisturl:a.o.getVideoUrl(!0)});a.km()}else a.Ha()&&a.hide();else a.l&&a.km()};
zS=function(a,b,c){var d={title:"{{title}}","aria-owns":String(c.element.id),"aria-haspopup":"true","aria-label":g.Q("YTP_PLAYLIST")};g.R.call(this,{D:"button",W:["ytp-playlist-menu-button","ytp-button"],O:d,K:[{D:"div",H:"ytp-playlist-menu-button-icon",K:[g.mO?{D:"div",W:["ytp-icon","ytp-icon-playlist"]}:{D:"svg",O:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{D:"path",Fa:!0,O:{d:"m 22.53,21.42 0,6.85 5.66,-3.42 -5.66,-3.42 0,0 z m -11.33,0 9.06,0 0,2.28 -9.06,0 0,-2.28 0,0 z m 0,-9.14 13.6,0 0,2.28 -13.6,0 0,-2.28 0,0 z m 0,4.57 13.6,0 0,2.28 -13.6,0 0,-2.28 0,0 z",
fill:"#fff"}}]}]},{D:"div",H:"ytp-playlist-menu-button-text",V:"{{text}}"}]});this.A=a;this.l=null;this.B=b.bb();this.M(a,"videodatachange",this.C);this.M(a,"onPlaylistUpdate",this.C);this.M(a,"presentingplayerstatechange",this.o);this.M(a,"appresize",this.o);this.hide();this.C();g.Ze(this,NR(this.B,this.element));this.da("click",(0,g.A)(c.fg,c,this.element,!1))};
AS=function(a,b){g.R.call(this,{D:"button",W:["ytp-replay-button","ytp-button"],O:{title:g.Q("YTP_REPLAY")},K:[g.CO()]});this.l=a;this.M(a,"presentingplayerstatechange",this.A);this.da("click",this.o,this);var c=g.XJ(a);g.rv(this,g.U(c,2));NR(b.bb(),this.element)};
BS=function(a,b){var c=kv();c={D:"div",H:"ytp-share-panel",O:{id:kv(),role:"dialog","aria-labelledby":c},K:[{D:"button",W:["ytp-share-panel-close","ytp-button"],O:{title:g.Q("YTP_CLOSE")},K:[g.uO()]},{D:"div",H:"ytp-share-panel-inner-content",K:[{D:"div",H:"ytp-share-panel-title",O:{id:c},V:g.Q("YTP_SHARE")},{D:"a",W:["ytp-share-panel-link","ytp-no-contextmenu"],O:{href:"{{link}}",target:"_blank",title:g.Q("YTP_SHARE_LINK"),"aria-label":g.Q("YTP_SHARE_LINK")},V:"{{linkText}}"},{D:"label",H:"ytp-share-panel-include-playlist",
K:[{D:"input",H:"ytp-share-panel-include-playlist-checkbox",O:{type:"checkbox",checked:!0}},g.Q("YTP_SHARE_WITH_PLAYLIST_2")]},{D:"div",H:"ytp-share-panel-loading-spinner",K:[FQ()]},{D:"div",H:"ytp-share-panel-service-buttons",V:"{{buttons}}"},{D:"div",H:"ytp-share-panel-error",V:g.Q("YTP_SHARE_PANEL_ERROR")}]}]};rR.call(this,a,c,250);this.l=a;this.o=b.bb();this.A=[];this.N=this.g["ytp-share-panel-inner-content"];this.F=this.g["ytp-share-panel-close"];this.M(this.F,"click",this.nb);g.Ze(this,NR(this.o,
this.F));this.G=this.g["ytp-share-panel-include-playlist-checkbox"];this.M(this.G,"click",this.Kv);this.C=this.g["ytp-share-panel-link"];g.Ze(this,NR(this.o,this.C));this.da("click",this.TI);this.M(a,"videoplayerreset",this.hide);this.M(a,"fullscreentoggled",this.QF);this.hide()};
Dfa=function(a){switch(a){case "facebook":return g.mO?{D:"div",W:["ytp-icon","ytp-icon-share-facebook"]}:{D:"svg",O:{height:"100%",version:"1.1",viewBox:"0 0 38 38",width:"100%"},K:[{D:"rect",O:{fill:"#fff",height:"34",width:"34",x:"2",y:"2"}},{D:"path",O:{d:"M 34.2,0 3.8,0 C 1.70,0 .01,1.70 .01,3.8 L 0,34.2 C 0,36.29 1.70,38 3.8,38 l 30.4,0 C 36.29,38 38,36.29 38,34.2 L 38,3.8 C 38,1.70 36.29,0 34.2,0 l 0,0 z m -1.9,3.8 0,5.7 -3.8,0 c -1.04,0 -1.9,.84 -1.9,1.9 l 0,3.8 5.7,0 0,5.7 -5.7,0 0,13.3 -5.7,0 0,-13.3 -3.8,0 0,-5.7 3.8,0 0,-4.75 c 0,-3.67 2.97,-6.65 6.65,-6.65 l 4.75,0 z",
fill:"#39579b"}}]};case "googleplus":return g.mO?{D:"div",W:["ytp-icon","ytp-icon-share-googleplus"]}:{D:"svg",O:{height:"100%",version:"1.0",viewBox:"0 0 38 38",width:"100%"},K:[{D:"rect",O:{fill:"#fff",height:"34",width:"34",x:"2",y:"2"}},{D:"path",O:{d:"M34.3,0H3.7C1.7,0,0,1.7,0,3.7v30.5c0,2,1.7,3.7,3.7,3.7h30.5c2,0,3.7-1.7,3.7-3.7V3.7C38,1.7,36.3,0,34.3,0z M13.3,28.5c-5.2,0-9.5-4.3-9.5-9.5c0-5.2,4.3-9.5,9.5-9.5c2.6,0,4.7,.9,6.4,2.5l-2.7,2.7c-1-0.9-2.2-1.4-3.6-1.4 c-3.1,0-5.6,2.6-5.6,5.7s2.5,5.7,5.6,5.7c2.8,0,4.7-1.6,5.1-3.8h-5.1v-3.6h8.9c0.1,.6,.2,1.3,.2,2C22.4,24.6,18.8,28.5,13.3,28.5 z M34.2,19.6H31v3.2h-2.2v-3.2h-3.2v-2.2h3.2v-3.2H31v3.2h3.2V19.6z",
fill:"#dc4537"}}]};case "twitter":return g.mO?{D:"div",W:["ytp-icon","ytp-icon-share-twitter"]}:{D:"svg",O:{height:"100%",version:"1.1",viewBox:"0 0 38 38",width:"100%"},K:[{D:"rect",O:{fill:"#fff",height:"34",width:"34",x:"2",y:"2"}},{D:"path",O:{d:"M 34.2,0 3.8,0 C 1.70,0 .01,1.70 .01,3.8 L 0,34.2 C 0,36.29 1.70,38 3.8,38 l 30.4,0 C 36.29,38 38,36.29 38,34.2 L 38,3.8 C 38,1.70 36.29,0 34.2,0 l 0,0 z M 29.84,13.92 C 29.72,22.70 24.12,28.71 15.74,29.08 12.28,29.24 9.78,28.12 7.6,26.75 c 2.55,.40 5.71,-0.60 7.41,-2.06 -2.50,-0.24 -3.98,-1.52 -4.68,-3.56 .72,.12 1.48,.09 2.17,-0.05 -2.26,-0.76 -3.86,-2.15 -3.95,-5.07 .63,.28 1.29,.56 2.17,.60 C 9.03,15.64 7.79,12.13 9.21,9.80 c 2.50,2.75 5.52,4.99 10.47,5.30 -1.24,-5.31 5.81,-8.19 8.74,-4.62 1.24,-0.23 2.26,-0.71 3.23,-1.22 -0.39,1.23 -1.17,2.09 -2.11,2.79 1.03,-0.14 1.95,-0.38 2.73,-0.77 -0.47,.99 -1.53,1.9 -2.45,2.66 l 0,0 z",
fill:"#01abf0"}}]};default:return null}};
CS=function(a){for(var b=g.p(a.A),c=b.next();!c.done;c=b.next())c=c.value,g.qv(c),g.$e(c);a.A=[]};
DS=function(a,b,c,d){g.R.call(this,{D:"button",W:["ytp-button","ytp-share-button"],O:{title:g.Q("YTP_SHARE"),"aria-haspopup":"true","aria-owns":c.element.id,"data-tooltip-opaque":String(g.V(a).J)},K:[{D:"div",H:"ytp-share-icon",K:[g.mO?{D:"div",W:["ytp-icon","ytp-icon-sharrow"]}:{D:"svg",O:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{D:"path",Fa:!0,H:"ytp-svg-fill",O:{d:"m 20.20,14.19 0,-4.45 7.79,7.79 -7.79,7.79 0,-4.56 C 16.27,20.69 12.10,21.81 9.34,24.76 8.80,25.13 7.60,27.29 8.12,25.65 9.08,21.32 11.80,17.18 15.98,15.38 c 1.33,-0.60 2.76,-0.98 4.21,-1.19 z"}}]}]},
{D:"div",H:"ytp-share-title",V:"{{share}}"}]});this.l=a;this.A=d;this.G=c;this.C=this.o=!1;wK(a,this.element,this,28664);this.da("click",this.F);this.M(a,"videodatachange",this.B);this.M(a,"appresize",this.B);this.B();g.Ze(this,NR(b.bb(),this.element))};
ES=function(a){rR.call(this,a,{D:"button",W:["ytp-skip-intro-button","ytp-popup","ytp-button"],K:[{D:"div",H:"ytp-skip-intro-button-text",V:g.Q("YTP_SKIP_INTRO")}]},100);var b=this;this.l=a;this.F=!1;this.C=new g.L(function(){return b.hide()},5E3);
g.I(this,this.C);this.o=this.A=window.NaN;this.R=function(){return b.show()};
this.N=function(){return b.hide()};
this.G=this.X.bind(this);this.M(this.l,"videodatachange",function(a,d){if("dataloaded"==a)if(b.A=d.St,b.o=d.Rt,(0,window.isNaN)(b.A)||(0,window.isNaN)(b.o))b.F&&(g.pK(b.l,"intro"),b.l.removeEventListener("crn_intro",b.R),b.l.removeEventListener("crx_intro",b.N),b.l.removeEventListener("onShowControls",b.G),b.hide(),b.F=!1);else{b.l.addEventListener("crn_intro",b.R);b.l.addEventListener("crx_intro",b.N);b.l.addEventListener("onShowControls",b.G);var c=new g.gE(b.A,b.o,{priority:7,namespace:"intro"});
g.mK(b.l,[c]);b.F=!0}});
this.M(this.element,"click",function(){b.l.ob(b.o/1E3)});
this.hide()};
FS=function(a,b){g.R.call(this,{D:"button",W:["ytp-airplay-button","ytp-button"],O:{title:g.Q("YTP_AIRPLAY")},V:"{{icon}}"});this.l=a;this.da("click",this.A);this.M(a,"airplayactivechange",this.o);this.M(a,"airplayavailabilitychange",this.o);this.o();g.Ze(this,NR(b.bb(),this.element))};
HS=function(a){g.tv.call(this,{D:"div",H:"ytp-gradient-bottom"});this.o=g.Td("CANVAS");this.o.width=1;this.l=this.o.getContext("2d");this.A=window.NaN;GS(this,g.YJ(a).Ba().height)};
GS=function(a,b){if(a.l){var c=Math.floor(.4*b);c=Math.max(c,47);var d=c+2;if(a.A!=d){a.A=d;a.o.height=d;a.l.clearRect(0,0,1,d);var e=a.l.createLinearGradient(0,2,0,2+c),f=c-42;e.addColorStop(0,"rgba(0, 0, 0, 0)");e.addColorStop(f/c,"rgba(0, 0, 0, 0.3)");e.addColorStop(1,"rgba(0, 0, 0, 0.68)");a.l.fillStyle=e;a.l.fillRect(0,2,1,c);a.element.style.height=d+"px";a.element.style.backgroundImage="url("+a.o.toDataURL()+")"}}};
IS=function(a,b,c,d,e){var f=b.Op/b.rows,k=Math.min(c/(b.Pp/b.columns),d/f),l=b.Pp*k,m=b.Op*k;l=Math.floor(l/b.columns)*b.columns;m=Math.floor(m/b.rows)*b.rows;var n=l/b.columns,q=m/b.rows,u=-b.column*n,w=-b.row*q;e&&45>=f&&(q-=1/k);n-=2/k;a=a.style;a.width=n+"px";a.height=q+"px";e||(d=(d-q)/2,c=(c-n)/2,a.marginTop=Math.floor(d)+"px",a.marginBottom=Math.ceil(d)+"px",a.marginLeft=Math.floor(c)+"px",a.marginRight=Math.ceil(c)+"px");a.background="url("+b.url+") "+u+"px "+w+"px/"+l+"px "+m+"px";if(e)return new g.vd(n,
q)};
JS=function(a,b){g.tv.call(this,{D:"div",H:"ytp-storyboard",K:[{D:"div",H:"ytp-storyboard-filmstrip",K:[{D:"div",H:"ytp-storyboard-thumbnail"}]},{D:"div",H:"ytp-storyboard-lens",K:[{D:"div",H:"ytp-storyboard-lens-thumbnail"},{D:"div",H:"ytp-storyboard-lens-timestamp-wrapper",K:[{D:"span",H:"ytp-storyboard-lens-timestamp"}]}]}]});this.o=a;this.T=b.bb();this.N=new g.tm(this.eC,250,this);g.I(this,this.N);this.I=g.YJ(a).Ba().width;this.l=this.g["ytp-storyboard-filmstrip"];this.ca=this.g["ytp-storyboard-lens"];
this.fa=this.g["ytp-storyboard-lens-thumbnail"];this.ia=this.g["ytp-storyboard-lens-timestamp"];this.X=this.g["ytp-storyboard-thumbnail"];g.Yd(this.X);this.J=0;this.R=!1;this.L=this.B=this.A=window.NaN;this.gb=this.C=null;this.F=new g.Gt(this);g.I(this,this.F);this.G=new g.eP(this,100);g.I(this,this.G);this.M(this.o,"appresize",this.tB);this.M(this.o,"presentingplayerstatechange",this.tF)};
KS=function(a,b){var c=!!a.gb;c&&a.gb.unsubscribe("l",a.Im,a);a.gb=b&&g.HC(b);a.R=!!b&&b.pa;a.gb?(c||(a.F.M(a.o,"videodatachange",a.uF),a.F.M(a.o,"progresssync",a.Ll),a.F.M(a.o,"videoplayerreset",a.Ll)),a.gb.subscribe("l",a.Im,a),a.L=window.NaN,a.A=window.NaN,a.B=window.NaN,a.Ll(),a.G.show(200)):(c&&g.It(a.F),a.N.stop(),g.nu(a.J),a.G.hide(),a.G.stop())};
LS=function(a,b,c,d){var e=a.X.cloneNode(!1);a=sB(a.gb,b,c);IS(e,a,c,d);return e};
MS=function(a){g.R.call(this,{D:"div",H:"ytp-storyboard-framepreview",K:[{D:"div",H:"ytp-storyboard-framepreview-img"}]});this.C=this.g["ytp-storyboard-framepreview-img"];this.l=a;this.gb=null;this.B=window.NaN;this.o=new g.Gt(this);g.I(this,this.o);this.A=new g.eP(this,100);g.I(this,this.A);this.M(this.l,"presentingplayerstatechange",this.vF)};
OS=function(a,b){var c=!!a.gb;a.gb=b&&g.HC(b);a.gb?(c||(a.o.M(a.l,"videodatachange",a.xF),a.o.M(a.l,"progresssync",a.wF),a.o.M(a.l,"appresize",a.uB)),a.B=window.NaN,NS(a),a.A.show(200)):(c&&g.It(a.o),a.A.hide(),a.A.stop())};
NS=function(a){var b=a.l.getCurrentTime(),c=g.YJ(a.l).Ba(),d=rB(a.gb,c.width);b=a.gb.g[d].Th(b);b!=a.B&&(a.B=b,uB(a.gb,b,c.width),b=sB(a.gb,b,c.width),IS(a.C,b,c.width,c.height))};
QS=function(a,b){g.R.call(this,{D:"button",W:["ytp-fullscreen-button","ytp-button"],O:{title:"{{title}}"},V:"{{icon}}"});this.o=a;this.C=b;this.l=null;this.A=NR(b.bb(),this.element);this.B=new g.L(this.yA,2E3,this);g.I(this,this.B);this.M(a,"fullscreentoggled",this.Vx);this.M(a,"presentingplayerstatechange",this.Ev);this.da("click",this.yF);if(it()){var c=g.YJ(this.o);this.M(c,eaa(),this.ww);this.M(c,lt(window.document),this.zF)}g.V(a).fa||PS(this);this.Ev();this.Vx(a.isFullscreen())};
PS=function(a){if(!a.l){var b=g.Q(null!=ht(["requestFullscreen","webkitRequestFullscreen","mozRequestFullScreen","msRequestFullscreen"],window.document.body)?"YTP_FULLSCREEN_GENERIC_ERROR":"YTP_FULLSCREEN_UNSUPPORTED_ERROR").split(/\$(BEGIN|END)_LINK/);a.l=new rR(a.o,{D:"div",W:["ytp-popup","ytp-generic-popup"],O:{role:"alert",tabindex:"0"},K:[b[0],{D:"a",O:{href:"https://support.google.com/youtube/answer/6276924",target:"_blank"},V:b[2]},b[4]]},100,!0);a.l.hide();g.I(a,a.l);a.l.subscribe("show",
(0,g.A)(a.C.zk,a.C,a.l));g.tK(a.o,a.l.element,4);a.element.setAttribute("aria-disabled",!0);a.element.setAttribute("aria-haspopup",!0);a.A();a.A=null}};
RS=function(a,b){g.R.call(this,{D:"button",W:["ytp-miniplayer-button","ytp-button"],O:{title:g.Q("YTP_MINIPLAYER_BUTTON")},K:[zO()]});this.l=a;this.da("click",this.o);g.Ze(this,NR(b.bb(),this.element))};
SS=function(a){var b={D:"div",H:"ytp-multicam-menu",O:{role:"dialog"},K:[{D:"div",H:"ytp-multicam-menu-header",K:[{D:"div",H:"ytp-multicam-menu-title",K:[g.Q("YTP_SWITCH_CAMERA"),{D:"button",W:["ytp-multicam-menu-close","ytp-button"],O:{"aria-label":g.Q("YTP_CLOSE")},K:[g.uO()]}]}]},{D:"div",H:"ytp-multicam-menu-items"}]};rR.call(this,a,b,250);this.A=new g.Gt(this);g.I(this,this.A);this.M(this.g["ytp-multicam-menu-close"],"click",this.nb);this.l=a;this.za=this.g["ytp-multicam-menu-items"];this.o=
[];this.hide()};
TS=function(a,b,c){g.R.call(this,{D:"button",W:["ytp-multicam-button","ytp-button"],O:{title:g.Q("YTP_SWITCH_CAMERA"),"aria-haspopup":"true","data-preview":"{{preview}}","data-tooltip-text":"{{text}}"},K:[g.mO?{D:"div",W:["ytp-icon","ytp-icon-switch-camera"]}:{D:"svg",O:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{D:"path",Fa:!0,O:{d:"M 26,10 22.83,10 21,8 15,8 13.17,10 10,10 c -1.1,0 -2,.9 -2,2 l 0,12 c 0,1.1 .9,2 2,2 l 16,0 c 1.1,0 2,-0.9 2,-2 l 0,-12 c 0,-1.1 -0.9,-2 -2,-2 l 0,0 z m -5,11.5 0,-2.5 -6,0 0,2.5 -3.5,-3.5 3.5,-3.5 0,2.5 6,0 0,-2.5 3.5,3.5 -3.5,3.5 0,0 z",
fill:"#fff"}}]}]});this.l=a;this.B=!1;this.o=b.bb();this.C=new g.L(this.G,400,this);g.I(this,this.C);this.da("click",(0,g.A)(c.fg,c,this.element,!1));this.M(a,"presentingplayerstatechange",g.La(this.A,!1));this.M(a,"videodatachange",this.F);this.A(!0);g.Ze(this,NR(this.o,this.element))};
US=function(){g.G.call(this);this.B=null;this.A=this.g=0;this.o=new g.pq(this.l,null,this);g.I(this,this.o)};
VS=function(a,b){if("path"==b.D)return b.O.d;if(b.K)for(var c=0;c<b.K.length;c++){var d=b.K[c];if(d&&!g.v(d)&&(d=VS(a,d)))return d}};
ZS=function(a,b,c){c=VS(a,c);var d=b.getElementsByTagName("path")[0],e=d.getAttribute("d");if(d.getAttribute("id")){var f=kv();b=b.getElementsByTagName("use");for(var k=0;k<b.length;k++)b[k].setAttributeNS("http://www.w3.org/1999/xlink","href","#"+f);d.setAttribute("id",f)}var l=WS(e),m=WS(c);XS(a,function(a){d.setAttribute("d",YS(l,m,a))},200)};
XS=function(a,b,c){a.B=b;a.A=g.P();a.g=c;a.l()};
WS=function(a){var b=[];a=a.match(Efa);for(var c=0;c<a.length;c++){var d=(0,window.parseFloat)(a[c]);b.push((0,window.isNaN)(d)?a[c]:d)}return b};
YS=function(a,b,c){for(var d="",e=0;e<a.length;e++){var f=a[e];d=g.va(f)?d+(f+(b[e]-f)*c):d+f}return d};
aT=function(a,b){var c=g.V(a);g.R.call(this,{D:"button",W:["ytp-mute-button","ytp-button"],O:c.L?{title:"{{title}}"}:{"aria-disabled":"true","aria-haspopup":"true"},V:"{{icon}}"});this.updateValue("icon",IO());this.l=a;this.ca=b.bb();this.I=this.L=this.J=this.R=window.NaN;this.F=[];this.C=[];this.G=this.A=!1;g.V(this.l).B||(this.o=new g.mv({D:"svg",O:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{D:"defs",K:[{D:"clipPath",O:{id:"ytp-svg-volume-animation-mask"},K:[{D:"path",O:{d:"m 14.35,-0.14 -5.86,5.86 20.73,20.78 5.86,-5.91 z"}},
{D:"path",O:{d:"M 7.07,6.87 -1.11,15.33 19.61,36.11 27.80,27.60 z"}},{D:"path",H:"ytp-svg-volume-animation-mover",O:{d:"M 9.09,5.20 6.47,7.88 26.82,28.77 29.66,25.99 z"}}]},{D:"clipPath",O:{id:"ytp-svg-volume-animation-slash-mask"},K:[{D:"path",H:"ytp-svg-volume-animation-mover",O:{d:"m -11.45,-15.55 -4.44,4.51 20.45,20.94 4.55,-4.66 z"}}]}]},{D:"path",Fa:!0,W:["ytp-svg-fill","ytp-svg-volume-animation-speaker"],O:{"clip-path":"url(#ytp-svg-volume-animation-mask)",d:"M8,21 L12,21 L17,26 L17,10 L12,15 L8,15 L8,21 Z M19,14 L19,22 C20.48,21.32 21.5,19.77 21.5,18 C21.5,16.26 20.48,14.74 19,14 Z",
fill:"#fff"}},{D:"path",Fa:!0,W:["ytp-svg-fill","ytp-svg-volume-animation-hider"],O:{"clip-path":"url(#ytp-svg-volume-animation-slash-mask)",d:"M 9.25,9 7.98,10.27 24.71,27 l 1.27,-1.27 Z",fill:"#fff"}}]}),g.I(this,this.o),this.T=this.o.g["ytp-svg-volume-animation-speaker"],this.la=this.T.getAttribute("d"),this.F=g.Dd("ytp-svg-volume-animation-mover",this.o.element),this.C=g.Dd("ytp-svg-volume-animation-hider",this.o.element));this.B=null;this.Y=new US;g.I(this,this.Y);this.N=new US;g.I(this,this.N);
this.da("click",this.fa);this.M(a,"appresize",this.ec);this.M(a,"onVolumeChange",this.ia);var d=null;c.L?g.Ze(this,NR(b.bb(),this.element)):(c=g.Q("YTP_VOLUME_UNSUPPORTED_ERROR").split(/\$(BEGIN|END)_LINK/),d=new rR(a,{D:"span",W:["ytp-popup","ytp-generic-popup"],O:{tabindex:"0"},K:[c[0],{D:"a",O:{href:"https://support.google.com/youtube/?p=noaudio",target:"_blank"},V:c[2]},c[4]]},100,!0),g.I(this,d),d.hide(),d.subscribe("show",(0,g.A)(b.zk,b,d)),g.tK(a,d.element,4));this.X=d;wK(a,this.element,this,
28662);this.ec(g.YJ(a).Ba());$S(this,a.Bb(),a.isMuted())};
$S=function(a,b,c){var d=c?0:b/100,e=g.V(a.l);if(e.B)d=0==d?IO():0<d&&.5>d?HO():GO(),d!=a.B&&(a.updateValue("icon",d),a.B=d);else{b=0==d?1:50<b?1:0;if(a.J!=b){var f=a.R;(0,window.isNaN)(f)?bT(a,b):XS(a.Y,(0,g.A)(function(a){bT(this,f+(this.J-f)*a)},a),250);
a.J=b}d=0==d?1:0;if(a.I!=d){var k=a.L;(0,window.isNaN)(k)?cT(a,d):XS(a.N,(0,g.A)(function(a){cT(this,k+(this.I-k)*a)},a),250);
a.I=d}}e.L&&(a.updateValue("title",c?g.Q("YTP_UNMUTE"):g.Q("YTP_MUTE")),dT(a.ca))};
bT=function(a,b){a.R=b;var c=a.la;b&&(c+=YS(Ffa,Gfa,b));a.T.setAttribute("d",c)};
cT=function(a,b){a.L=b;for(var c=20*b,d=0;d<a.F.length;d++)a.F[d].setAttribute("transform","translate("+c+", "+c+")");var e;1==b?e=IO():e=a.o;for(c=0;c<a.C.length;c++)a.C[c].style.display=0==b?"none":"";e!=a.B&&(a.updateValue("icon",e),a.B=e)};
eT=function(a,b){g.R.call(this,{D:"button",W:["ytp-pip-button","ytp-button"],O:{title:g.Q("YTP_PIP")},K:[zO()]});this.l=a;this.da("click",this.o);g.Ze(this,NR(b.bb(),this.element))};
g.gT=function(a,b){g.R.call(this,{D:"button",W:["ytp-play-button","ytp-button"],O:{title:"{{title}}","aria-label":"{{label}}"},V:"{{icon}}"});this.o=a;this.A=null;this.B=b.bb();this.l=null;this.C=new US;g.I(this,this.C);this.M(a,"fullscreentoggled",this.F);this.M(a,"presentingplayerstatechange",this.G);this.M(a,"videodatachange",this.F);fT(this,g.XJ(a));this.da("click",this.I,this)};
hT=function(a){switch(a){case 1:return AO();case 2:return yO();case 3:return g.CO();case 4:return EO();default:return null}};
fT=function(a,b){var c=g.LC(a.o.getVideoData()),d=!1;if(g.AD(b))var e=c?4:2;else g.U(b,2)?(e=3,d=c):e=1;a.element.disabled=d;if(a.A!=e){switch(e){case 2:var f=g.Q("YTP_PAUSE");break;case 3:f=g.Q("YTP_REPLAY");break;case 1:f=g.Q("YTP_PLAY");break;case 4:f=g.Q("YTP_STOP")}3==e?(a.l||(a.l=NR(a.B,a.element)),a.update({title:f,label:null,icon:hT(e)})):(a.l&&(a.l(),a.l=null),a.update({title:null,label:f}),(c=hT(e))&&a.A&&3!=a.A&&!g.V(a.o).B?ZS(a.C,a.element,c):a.updateValue("icon",c));dT(a.B);a.A=e}};
g.jT=function(a,b,c){if(c){var d="ytp-next-button";var e=wO()}else d="ytp-prev-button",e=BO();g.R.call(this,{D:"a",W:[d,"ytp-button"],O:{title:"{{title}}",href:"{{url}}","data-preview":"{{preview}}","data-tooltip-text":"{{text}}","data-duration":"{{duration}}","aria-disabled":"{{disabled}}","data-next":"{{next}}","data-prev":"{{prev}}"},K:[e]});this.l=a;this.L=b.bb();this.o=c;this.A=this.F=null;this.J=!1;this.G=this.I=this.B=null;this.C=!1;this.M(a,"fullscreentoggled",this.Vh);this.M(a,"videodatachange",
this.Vh);this.M(a,"onPlaylistUpdate",this.Vh);this.o||this.M(a,"appresize",this.ec);this.M(a,"mdxpreviousnextchange",function(){iT(this);this.ec()});
this.Vh()};
kT=function(a){a.A&&a.A.unsubscribe("shuffle",a.Vh,a)};
lT=function(a){return!!a.A&&!a.o&&!!a.F&&!a.F.pa&&3<=a.l.getCurrentTime()&&2!=a.l.Da()};
mT=function(a){var b=g.WJ(g.RJ(a.l));return b?a.o?b.hasNext():b.Ce():!1};
iT=function(a){var b={duration:null,preview:null,text:null,title:null,url:null},c=g.V(a.l),d=ZJ(a.l),e=a.o&&g.uK(a.l),f=mT(a),k=a.o&&5==a.l.Da();if(k)b.title="\u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0432\u0438\u0434\u0435\u043e";else if(a.C)b.title=g.Q("YTP_REPLAY");else if(d){var l=null;a.A&&(l=a.A.sb(a.o?nE(a.A):oE(a.A)));if(l){if(l.videoId){var m=a.A.listId;b.url=c.getVideoUrl(l.videoId,m?m.toString():void 0)}b.text=l.title;b.duration=l.lengthSeconds?g.VO(l.lengthSeconds):
null;b.preview=l.oc(c,"mqdefault.jpg")}b.title=g.Q(a.o?"YTP_NEXT":"YTP_PREVIOUS")}else e&&(a.F.suggestions&&a.F.suggestions.length&&(l=g.UQ(a.F.suggestions[0]),b.url=l.Si(c),b.text=l.title,b.duration=l instanceof g.nC?g.VO(l.lengthSeconds):null,b.preview=l.oc(c,"mqdefault.jpg")),b.title=g.Q("YTP_NEXT"));b.disabled=!e&&!d&&!f&&!k;a.update(b);a.J=!!b.url;e||d||a.C||f||k?a.B||(a.B=NR(a.L,a.element),a.I=a.da("click",a.IF,a)):a.B&&(a.B(),a.B=null,a.Na(a.I),a.I=null);dT(a.L)};
nT=function(){this.l=this.position=this.A=this.g=this.B=this.o=this.width=window.NaN};
g.pT=function(a,b){g.tv.call(this,{D:"div",H:"ytp-progress-bar-container",O:{"aria-disabled":"true"},K:[{D:"div",W:["ytp-progress-bar",g.V(a).l?"ytp-mobile":""],O:{tabindex:"0",role:"slider","aria-label":g.Q("YTP_SEEK_SLIDER"),"aria-valuemin":"{{ariamin}}","aria-valuemax":"{{ariamax}}","aria-valuenow":"{{arianow}}","aria-valuetext":"{{arianowtext}}"},K:[{D:"div",H:"ytp-progress-bar-padding"},{D:"div",H:"ytp-progress-list",K:[{D:"div",W:["ytp-play-progress","ytp-swatch-background-color"]},{D:"div",
H:"ytp-load-progress"},{D:"div",H:"ytp-hover-progress"},{D:"div",H:"ytp-clip-start-exclude"},{D:"div",H:"ytp-clip-end-exclude"},{D:"div",H:"ytp-ad-progress-list"},{D:"div",H:"ytp-marker-crenellation-list"},{D:"div",H:"ytp-marker-progress-list"}]},{D:"div",H:"ytp-marker-icons"},{D:"div",H:"ytp-scrubber-container",K:[{D:"div",W:["ytp-scrubber-button","ytp-swatch-background-color"],K:[{D:"div",H:"ytp-scrubber-pull-indicator"}]}]}]},{D:"div",H:"ytp-bound-time-left",V:"{{boundTimeLeft}}"},{D:"div",H:"ytp-bound-time-right",
V:"{{boundTimeRight}}"},{D:"div",H:"ytp-clip-start",O:{title:g.Q("YTP_WATCH_ALL")},V:"{{clipstarticon}}"},{D:"div",H:"ytp-clip-end",O:{title:g.Q("YTP_WATCH_ALL")},V:"{{clipendicon}}"}]});this.updateValue("clipstarticon",tO());this.updateValue("clipendicon",sO());this.o=a;this.Ia=b.bb();this.Ua=!1;this.B=this.Ma=0;this.X=1;this.dc=this.I=0;this.A=null;this.ib=!1;this.J=this.ra=0;this.Bc=this.g["ytp-ad-progress-list"];this.Mc=this.g["ytp-marker-progress-list"];this.dd=this.g["ytp-marker-icons"];this.Za=
this.g["ytp-marker-crenellation-list"];this.T={};this.na={};this.R={};this.ca=[];this.L=window.Infinity;var c=b.bb();this.fa=this.g["ytp-clip-end"];g.Ze(this,NR(c,this.fa));this.va=new g.Kt(this.fa,!0);g.I(this,this.va);this.va.subscribe("hoverstart",this.nw,this);this.va.subscribe("hoverend",this.mw,this);this.M(this.fa,"click",this.jm);this.Ya=this.g["ytp-clip-end-exclude"];this.Nc=this.g["ytp-clip-start-exclude"];this.N=0;this.ia=this.g["ytp-clip-start"];g.Ze(this,NR(c,this.ia));this.Ea=new g.Kt(this.ia,
!0);g.I(this,this.Ea);this.Ea.subscribe("hoverstart",this.nw,this);this.Ea.subscribe("hoverend",this.mw,this);this.M(this.ia,"click",this.jm);this.Nb=this.g["ytp-load-progress"];this.la=0;this.Oc=this.g["ytp-play-progress"];this.ub=this.g["ytp-hover-progress"];this.G=0;this.bc=this.g["ytp-progress-bar"];this.C=null;this.Pc=this.g["ytp-scrubber-button"];this.Qc=this.g["ytp-scrubber-container"];this.Ga=new g.sd;this.tb=new nT;this.l=new DP(0,0);this.F=this.Ta=!1;this.yb=null;this.M(a,"presentingplayerstatechange",
this.pB);this.M(a,"videodatachange",this.Hv);this.M(a,"videoplayerreset",this.oB);this.M(a,"cuerangesadded",this.Ly);this.M(a,"cuerangesremoved",this.TK);this.M(a,"cuerangemarkersupdated",this.Ly);this.M(a,"onPlaybackQualityChange",this.sB);oT(this,a.getVideoData(),!0)};
g.rT=function(a){qT(a);var b=a.o.getCurrentTime();(b<a.N||b>a.L)&&a.jm()};
qT=function(a){if(a.B){var b=a.o.Uf(),c=new DP(b.seekableStart,b.seekableEnd),d=FP(c,b.loaded,0);b=FP(c,b.current,0);var e=a.l.l!=c.l||a.l.g!=c.g;a.l=c;sT(a,b,d);e&&g.tT(a);uT(a)}};
oT=function(a,b,c){c=void 0===c?!1:c;var d=!!b&&b.Uc();a.Ta=d&&b.Qe;vT(a,a.o.zc());c&&(d?(c=b.clipEnd,a.N=b.clipStart,a.L=c,yT(a),sT(a,a.G,a.la)):a.jm(),b=a.Ia,1==b.o&&b.Wd());qT(a)};
zT=function(a){return!!a&&a.Uc()&&!!a.xa&&a.xa.video.isAccelerated&&a.xa.video.o};
AT=function(a,b){a.ib=b;g.K(a.Nb,"ytp-fast-load",b)};
BT=function(a,b,c,d){b=g.od(b,0,a.F?60:40);a.I=b;var e=a.X,f=Math.max(a.l.getLength()/a.B,1);a.X=b/(a.F?60:40)*(f-1)+1;b=a.B*a.X;a.J=g.od(d*b-c,0,b-a.B);e!=a.X&&g.tT(a)};
g.tT=function(a){var b=CT(a),c=-b.o/b.g,d=(-b.o+b.width)/b.g,e=g.ae(a.Za),f=0;if(a.I>.2*(a.F?60:40)){var k=c*(a.l.getLength()/60),l=d*(a.l.getLength()/60);for(k=Math.ceil(k);k<l;k++){var m=e[f];m||(m=g.Td("DIV"),a.Za.appendChild(m));f++;m.className=0==k%60?"ytp-60m-progress":0==k%30?"ytp-30m-progress":0==k%15?"ytp-15m-progress":"ytp-1m-progress";var n=(60*k/a.l.getLength()-c)*b.g;m.style.left=n+"px"}}b=a.Ta?a.l.g:0;a.update({boundTimeLeft:g.VO(EP(a.l,c)-b),boundTimeRight:g.VO(EP(a.l,d)-b)});for(c=
e.length-1;c>=f;c--)g.Yd(e[c]);a.element.style.height=a.I+(a.F?8:5)+"px";a.P("height-change",a.I);a.Pc.style.height=a.I+(a.F?20:13)+"px";for(var q in a.T)DT(a,q);ET(a);yT(a);sT(a,a.G,a.la)};
CT=function(a){var b=a.Ga.x,c=a.B*a.X;b=g.od(b,0,a.B);a.tb.update(b,a.B,-a.J,-(c-a.J-a.B));return a.tb};
sT=function(a,b,c){a.G=b;a.la=c;var d=CT(a),e=a.l.g,f=EP(a.l,a.G);a.update({ariamin:Math.floor(a.l.l),ariamax:Math.floor(e),arianow:Math.floor(f),arianowtext:g.Q("YTP_PROGRESS_LABEL_2",{PLAY_PROGRESS:g.VO(f),DURATION:g.VO(e)})});e=FP(a.l,a.N,0);var k=FP(a.l,a.L,1);f=g.od(b,e,k);c=a.ib?1:g.od(c,e,k);g.Ih(a.Qc,"transform","translateX("+(b*d.g+d.o)+"px)");FT(a,a.Oc,d,e,f);FT(a,a.Nb,d,e,c)};
GT=function(a,b,c){b=Math.max(c*b.g+b.o,0);a.style.left=b+"px";return b};
FT=function(a,b,c,d,e,f){f=void 0===f?!1:f;GT(b,c,d);d=g.od((e-d)*c.g+c.o,0,c.width);f||g.V(a.o).l?b.style.width=d+"px":g.Ih(b,"transform","scalex("+(c.width?d/c.width:0)+")")};
yT=function(a){var b=a.N>a.l.l,c=0<a.l.g&&a.L<a.l.g;g.K(a.element,"ytp-clip-start-enabled",b);g.K(a.element,"ytp-clip-end-enabled",c);b=b?FP(a.l,a.N,0):0;c=c?FP(a.l,a.L,1):1;a.ia.style.left=Math.round(1E3*b)/10+"%";a.fa.style.left=Math.round(1E3*c)/10+"%";a.Nc.style.width=Math.round(1E3*b)/10+"%";a.Ya.style.left=Math.round(1E3*c)/10+"%";a.Ya.style.width=Math.round(1E3*(1-c))/10+"%"};
ET=function(a){for(var b=0;b<a.ca.length;b++){for(var c=a.R[a.ca[b].getId()],d=Number(c.getAttribute("data-left"))-24,e=!1,f=b-1;0<=f;f--){var k=a.R[a.ca[f].getId()];if("none"!=k.style.display){Number(k.getAttribute("data-left"))>d&&(e=!0);break}}c.style.display=e?"none":""}};
uT=function(a){var b=CT(a);FT(a,a.ub,b,a.G,b.l);g.K(a.ub,"ytp-hover-progress-light",b.l>a.G)};
DT=function(a,b){var c=a.T[b],d=a.na[b],e=CT(a),f=FP(a.l,c.start/1E3,0),k=Ica(c,a.F),l=k/e.width;switch(c.style){case "ytp-chapter-marker":var m=f+l/2;f-=l/2;d.style.borderRadius=k+"px";break;default:m=FP(a.l,c.end/1E3,1),l!=Number.POSITIVE_INFINITY&&(f=g.od(f,0,m-l)),m=Math.min(m,f+l)}c.color&&(d.style.background=c.color);FT(a,d,e,f,m,!0);(c=a.R[b])&&c.setAttribute("data-left",GT(c,e,f))};
HT=function(a,b){var c=b.getId();if(a.T[c]==b){g.Yd(a.na[c]);delete a.T[c];delete a.na[c];var d=a.R[c];d&&(g.Yd(d),delete a.R[c],c=a.ca,d=g.lb(c,b,g.iE),0<=d&&g.Ya(c,d))}};
vT=function(a,b){b?a.C||(a.element.removeAttribute("aria-disabled"),a.C=new g.Kt(a.bc,!0),a.C.subscribe("hovermove",a.fJ,a),a.C.subscribe("hoverend",a.eJ,a),a.C.subscribe("dragstart",a.dJ,a),a.C.subscribe("dragmove",a.hJ,a),a.C.subscribe("dragend",a.gJ,a),a.yb=a.da("keydown",a.KF)):a.C&&(a.element.setAttribute("aria-disabled",!0),a.Na(a.yb),a.C.cancel(),a.C.dispose(),a.C=null)};
IT=function(a,b){cS.call(this,g.Q("YTP_ANNOTATIONS"),5);this.B=b;this.A=a;this.l=!1;this.M(a,"videodatachange",this.C);this.M(a,"onApiChange",this.C);this.subscribe("select",this.F,this);this.C()};
g.JT=function(a,b,c,d,e,f){var k=g.wv({"aria-haspopup":"true"});g.vv.call(this,k,b,a);this.A=d;this.I=!1;this.F=null;this.o={};this.C=new g.QR(c,void 0,a,e,f);g.I(this,this.C);this.da("keydown",this.OF);this.da("click",this.open)};
g.KT=function(a,b){g.TR(a.C);for(var c={},d=!1,e=0;e<b.length;e++){var f=b[e],k=a.o[f],l=f==a.F;l&&(d=!0);k&&k.priority==-e?(l=a,g.uv(l.o[f],l.de(f,!0)),delete a.o[f]):(k=new g.vv({D:"div",W:["ytp-menuitem"],O:{tabindex:"0",role:"menuitemradio","aria-checked":l?"true":void 0},K:[{D:"div",W:["ytp-menuitem-label"],V:"{{label}}"}]},-e,a.de(f,!0)),k.da("click",(0,g.A)(a.PF,a,f)));c[f]=k;g.RR(a.C,k,!0)}d||(a.F=null);for(var m in a.o)a.o[m].dispose();a.o=c};
LT=function(a,b){g.JT.call(this,g.Q("YTP_AUDIO_TRACK_TITLE"),2,a,b);this.l=a;this.J=new g.R({D:"div",K:[{D:"span",V:g.Q("YTP_AUDIO_TRACK_TITLE")},{D:"span",H:"ytp-menuitem-label-count",V:"{{content}}"}]});g.uv(this,this.J);this.L={};this.M(a,"videodatachange",this.G);this.M(a,"onPlaybackAudioChange",this.G);this.G()};
MT=function(a,b){cS.call(this,g.Q("YTP_AUTOPLAY"),6);this.F=b;this.l=a;this.B=!1;this.A=[];this.M(a,"presentingplayerstatechange",this.C);this.subscribe("select",this.I,this);this.C()};
NT=function(a,b){g.JT.call(this,g.Q("YTP_QUALITY_TITLE"),1,a,b);g.J(this.C.element,"ytp-quality-menu");this.l=a;this.J={};this.G="unknown";this.M(a,"videodatachange",this.B);this.M(a,"videoplayerreset",this.B);this.M(a,"onPlaybackQualityChange",this.L);this.B()};
OT=function(a,b,c){a=a.J[b];var d=g.Pv[b];d=a?a.qualityLabel:d?d+"p":g.Q("YTP_AUTO");c={D:"span",W:c,K:[]};a&&a.isAccelerated&&a.o&&c.K.push({D:"div",H:"ytp-menuitem-badge-container",K:[{D:"svg",O:{fill:"#00838f",height:"11px",viewBox:"0 0 48 48",width:"11px"},K:[{D:"path",O:{d:"M0 0v48h48V0H0zm10.6 30.64L4 24.05l6.69-6.69 6.6 6.59-6.69 6.69zM24 44l-6.7-6.7 13.35-13.35-13.32-13.28L24 4l20 20-20 20z"}},{D:"path",O:{d:"M 24,44 44,24 24,4 17.33,10.67 30.65,23.95 17.3,37.3 z M 10.6,30.64 17.29,23.95 10.69,17.36 4,24.05 z",
fill:"#fff"}}]}]});c.K.push(d);var e;"highres"==b?e="8K":"hd2880"==b?e="5K":"hd2160"==b?e="4K":0==b.indexOf("hd")&&(e="HD");e&&(c.K.push(" "),c.K.push({D:"sup",H:"ytp-swatch-color",V:e}));return c};
PT=function(a,b,c){g.R.call(this,{D:"button",W:["ytp-button","ytp-settings-button"],O:{"aria-haspopup":"true","aria-owns":kv(),title:g.Q("YTP_SETTINGS")},K:[g.DO()]});this.A=c;this.l=a;this.B=!0;this.da("click",this.C);this.M(a,"onPlaybackQualityChange",this.o);this.M(a,"videodatachange",this.o);this.M(a,"webglsettingschanged",this.o);this.M(a,"appresize",this.ec);g.Ze(this,NR(b.bb(),this.element));this.o();this.ec(g.YJ(a).Ba())};
QT=function(a,b){a.B=!!b;a.ec(g.YJ(a.l).Ba())};
RT=function(a,b){g.JT.call(this,g.Q("YTP_SPEED_TITLE"),4,a,b);this.l=a;this.B=null;this.M(a,"presentingplayerstatechange",this.Lv);this.Lv()};
TT=function(a,b,c,d){var e=g.Q("YTP_VIDEO_SUBTITLES_OVERRIDE"),f=new g.QR(b,void 0,e);g.JT.call(this,ST(d),a,b,c,e,function(){return g.YR(c,f)});
g.J(this.element,"ytp-subtitles-options-menu-item");this.J=d.option.toString();a=d.options;this.L=g.ub(a,this.Ov,this);this.G=f;g.I(this,this.G);b=new g.vv({D:"div",H:"ytp-menuitemtitle",V:g.Q("YTP_VIDEO_SUBTITLES_OVERRIDE_DESC")},0);g.I(this,b);g.RR(this.G,b,!0);this.B=new g.vv({D:"div",H:"ytp-menuitem",O:{role:"menuitemradio",tabindex:"0"},K:[{D:"div",H:"ytp-menuitem-label",V:g.Q("YTP_ON")}]},-1);g.I(this,this.B);g.RR(this.G,this.B,!0);this.M(this.B.element,"click",g.La(this.Pv,!0));this.l=new g.vv({D:"div",
H:"ytp-menuitem",O:{role:"menuitemradio",tabindex:"0"},K:[{D:"div",H:"ytp-menuitem-label",V:g.Q("YTP_OFF")}]},-2);g.I(this,this.l);g.RR(this.G,this.l,!0);this.M(this.l.element,"click",g.La(this.Pv,!1));g.KT(this,(0,g.E)(a,this.Ov))};
ST=function(a){return(a.message?g.Q(a.message):a.text)||""};
UT=function(a,b){g.QR.call(this,a,void 0,g.Q("YTP_OPTIONS"));this.l={};for(var c=0;c<g.qS.length;c++){var d=g.qS[c],e=new TT(-c,a,b,d);g.I(this,e);e.subscribe("settingChange",this.o,this);this.l[d.option.toString()]=e;g.RR(this,e,!0)}c=new g.vv(g.wv(),-g.qS.length,g.Q("YTP_RESET"));g.I(this,c);c.da("click",(0,g.A)(this.o,this,"reset",!0));g.RR(this,c,!0)};
VT=function(a,b){for(var c in b){var d=a.l[c];if(d){var e=b[c].toString(),f=!!b[c+"Override"];d.o[e]&&(d.ee(e),d.B.element.setAttribute("aria-checked",!f),d.l.element.setAttribute("aria-checked",f))}}};
WT=function(a,b){g.JT.call(this,g.Q("YTP_AUTO_TRANSLATE"),0,a,b);this.l={}};
XT=function(a,b){var c=new UT(a,b);g.JT.call(this,g.Q("YTP_SUBTITLES"),3,a,b,g.Q("YTP_OPTIONS"),function(){return g.YR(b,c)});
this.l=a;this.B={};this.N=new g.L(g.La(this.Nv,!1),3E3,this);g.I(this,this.N);this.J=new g.R({D:"div",K:[{D:"span",V:g.Q("YTP_SUBTITLES")},{D:"span",H:"ytp-menuitem-label-count",V:"{{content}}"}]});g.I(this,this.J);g.uv(this,this.J);this.G=new WT(a,b);g.I(this,this.G);this.G.subscribe("select",this.ZF,this);this.L=c;g.I(this,this.L);this.L.subscribe("settingChange",this.YF,this);b.subscribe("show",this.NJ,this);this.M(a,"videodatachange",this.vj);this.M(a,"onApiChange",this.vj);this.M(a,"onCaptionsTrackListChanged",
this.vj);this.M(a,"captionschanged",this.vj);this.vj()};
ZT=function(a,b){cS.call(this,g.Q("YTP_VISUALIZER"),8);this.B=b;this.l=a;this.A=!1;this.M(a,"videodatachange",this.C);this.M(a,"onApiChange",this.C);this.subscribe("select",this.F,this);this.C()};
$T=function(a){g.UR.call(this,a,"ytp-settings-menu");this.o=a;this.A=new g.QR(a);g.I(this,this.A);this.G=null;this.X=!1;this.hide();g.YR(this,this.A)};
aU=function(a){if(!a.X){a.X=!0;var b=new NT(a.o,a);g.I(a,b);b=new XT(a.o,a);g.I(a,b);b=new IT(a.o,a);g.I(a,b);g.V(a.o).la&&(b=new RT(a.o,a),g.I(a,b));g.V(a.o).cd&&(b=new MT(a.o,a),g.I(a,b));b=new LT(a.o,a);g.I(a,b);b=new ZT(a.o,a);g.I(a,b);QT(a.G,a.A.za.length)}};
bU=function(a,b){aU(a);g.RR(a.A,b);QT(a.G,a.A.za.length)};
cU=function(a,b){a.Ha()&&1>=a.A.za.length&&a.hide();g.SR(a.A,b);QT(a.G,a.A.za.length)};
Hfa=function(a,b){a.G=b;a.element.id=b.element.getAttribute("aria-owns")};
dU=function(a,b,c){g.R.call(this,{D:"button",H:"ytp-button",O:{title:"\u0412\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0441\u0442\u0438 \u043d\u0430 \u0442\u0435\u043b\u0435\u0432\u0438\u0437\u043e\u0440\u0435","aria-haspopup":"true"},V:"{{icon}}"});this.l=a;this.B=c;this.A=null;this.M(a,"onMdxReceiversChange",this.o);this.M(a,"presentingplayerstatechange",this.o);this.M(a,"appresize",this.o);this.o();this.da("click",this.C,this);g.Ze(this,NR(b.bb(),this.element))};
eU=function(a,b){g.R.call(this,{D:"button",W:["ytp-size-button","ytp-button"],O:{title:"{{title}}"},V:"{{icon}}"});this.l=a;this.B=b.bb();this.A=null;this.C=new US;g.I(this,this.C);this.M(a,"sizestylechange",this.o);this.M(a,"fullscreentoggled",this.o);this.M(a,"presentingplayerstatechange",this.o);this.o();this.da("click",this.F);g.Ze(this,NR(this.B,this.element))};
fU=function(a,b){g.R.call(this,{D:"button",W:["ytp-subtitles-button","ytp-button"],O:{"aria-pressed":"{{pressed}}",title:g.Q("YTP_SUBTITLES_TOOLTIP")},K:[FO()]});this.o=a;this.M(a,"videodatachange",this.l);this.M(a,"appresize",this.l);this.M(a,"onApiChange",this.l);this.M(a,"onCaptionsTrackListChanged",this.l);this.M(a,"captionschanged",this.l);this.l();this.da("click",this.A);g.Ze(this,NR(b.bb(),this.element))};
g.gU=function(a,b){g.R.call(this,{D:"div",W:["ytp-time-display","notranslate"],K:[{D:"span",H:"ytp-time-current",V:"{{currenttime}}"},{D:"span",H:"ytp-time-separator",V:" / "},{D:"span",H:"ytp-time-duration",V:"{{duration}}"}]});this.B=new g.R({D:"button",W:["ytp-live-badge","ytp-button"],O:{disabled:"true"},V:g.Q("YTP_LIVE")});g.I(this,this.B);this.B.aa(this.element);this.C=a;this.J=b.bb();this.o=null;this.A=!1;this.G=this.F=this.I=null;this.da("click",this.L);this.M(a,"presentingplayerstatechange",
this.l);this.M(a,"appresize",this.l);this.M(a,"videodatachange",this.N);var c=a.getVideoData();c&&(this.A=c.pa,g.K(this.element,"ytp-live",this.A));this.l()};
iU=function(a,b,c){g.R.call(this,{D:"div",H:"ytp-volume-panel",O:{role:"slider","aria-valuemin":"0","aria-valuemax":"100","aria-valuenow":"{{valuenow}}","aria-valuetext":"{{valuetext}}",tabindex:"0"},K:[{D:"div",H:"ytp-volume-slider",K:[{D:"div",H:"ytp-volume-slider-handle"}]}]});this.l=a;this.F=b;this.N=c;this.J=!1;this.G=b.Hc();this.T=this.B=0;this.R=this.g["ytp-volume-slider"];this.Y=this.g["ytp-volume-slider-handle"];this.I=new g.Kt(this.R,!0);g.I(this,this.I);this.I.subscribe("dragstart",this.TJ,
this);this.I.subscribe("dragmove",this.SJ,this);this.I.subscribe("dragend",this.RJ,this);this.L=null;this.o=this.A=this.C=!1;this.M(a,"onVolumeChange",this.cG);this.M(a,"appresize",this.ec);this.M(a,"fullscreentoggled",this.aG);this.M(a,"onShowControls",this.Vr);this.M(a,"onHideControls",this.Vr);this.M(this.element,"keydown",this.UJ);this.M(this.element,"focus",g.La(this.Qv,!0));this.M(this.element,"blur",g.La(this.Qv,!1));this.ec(g.YJ(a).Ba());hU(this,a.Bb(),a.isMuted())};
hU=function(a,b,c){var d=Math.floor(b),e=d+"% "+g.Q("YTP_SCREENREADER_VOLUME_SETTING")+(c?" "+g.Q("YTP_SCREENREADER_VOLUME_MUTED"):"");c=c?0:b/100;a.updateValue("valuenow",d);a.updateValue("valuetext",e);a.Y.style.left=(a.G?60:40)*c+"px";a.B=b};
jU=function(a,b,c,d,e){var f=a.A||a.C||a.o||a.J;a.A=b;a.C=c;a.o=d;a.J=e;b=a.A||a.C||a.o||a.J;f!=b&&(b?a.L=a.M(a.element,"wheel",a.bG):(a.Na(a.L),a.L=null),g.K(a.N,"ytp-volume-slider-active",b))};
kU=function(a,b){var c=g.V(a),d=VA(c);0==d.indexOf("www.")&&(d=d.substring(4));var e=["ytp-youtube-button","ytp-button","yt-uix-sessionlink"];(c="gaming"==c.playerStyle)&&e.push("ytp-youtube-gaming-button");g.R.call(this,{D:"a",W:e,O:{href:"{{url}}",target:"_blank",title:g.Q("YTP_URL_NAVIGATE_TO",{WEBSITE:d}),"data-sessionlink":"feature=player-button"},K:[c?g.mO?{D:"div",W:["ytp-icon","ytp-icon-logo-gaming"]}:{D:"svg",O:{height:"100%",version:"1.1",viewBox:"0 0 122 36",width:"100%"},K:[{D:"path",
Fa:!0,H:"ytp-svg-fill",O:{d:"M 45.32 10 L 45.32 25.81 L 47.39 25.81 L 47.64 24.75 L 47.68 24.75 C 47.87 25.13 48.17 25.43 48.56 25.65 C 48.95 25.87 49.37 25.98 49.84 25.98 C 50.69 25.98 51.32 25.59 51.72 24.81 C 52.12 24.03 52.32 22.81 52.32 21.15 L 52.32 19.39 C 52.34 18.13 52.26 17.15 52.11 16.44 C 51.96 15.74 51.72 15.23 51.38 14.91 C 51.04 14.60 50.57 14.44 49.98 14.44 C 49.52 14.44 49.08 14.57 48.68 14.83 C 48.48 14.96 48.31 15.11 48.15 15.29 C 48.00 15.46 47.86 15.65 47.75 15.86 L 47.74 15.86 L 47.74 10 L 45.32 10 z M 94.83 10.25 C 93.91 10.25 93.48 10.61 93.48 11.81 C 93.48 13.05 93.91 13.35 94.83 13.35 C 95.77 13.35 96.19 13.05 96.19 11.81 C 96.19 10.66 95.78 10.25 94.83 10.25 z M 67.44 10.31 C 64.14 10.31 63.40 12.21 63.40 16.34 L 63.40 20.15 C 63.40 24.06 64.21 26.00 66.56 26.00 C 68.00 26.00 68.86 25.31 69.19 23.91 L 69.55 25.81 L 71.03 25.81 L 71.03 18.25 L 71.03 18.24 L 67.41 18.24 L 67.41 20.19 L 68.82 20.19 L 68.82 21.47 C 68.82 23.38 68.38 24.10 67.34 24.10 C 66.32 24.10 66 23.12 66 20.52 L 66 16.22 C 66 13.11 66.37 12.19 67.35 12.19 C 68.01 12.19 68.40 12.58 68.53 14.02 C 68.57 14.50 68.59 15.10 68.58 15.83 L 70.83 15.68 C 71.14 12.21 70.35 10.31 67.44 10.31 z M 14.06 10.55 L 13.01 15.24 C 12.72 16.61 12.54 17.58 12.46 18.16 L 12.39 18.16 C 12.27 17.35 12.08 16.38 11.83 15.23 L 10.83 10.56 L 8.33 10.56 L 11.18 20.86 L 11.18 25.80 L 13.66 25.80 L 13.66 20.85 L 16.55 10.55 L 14.06 10.55 z M 30.33 10.56 L 30.33 12.58 L 32.83 12.58 L 32.83 25.81 L 35.27 25.81 L 35.27 12.58 L 37.76 12.58 L 37.76 10.56 L 30.33 10.56 z M 113.35 13.31 C 112.35 13.40 111.89 14.17 111.65 15.17 C 111.12 14.68 110.37 14.47 109.41 14.47 C 107.10 14.47 106.06 15.76 106.06 18.80 L 106.06 19.03 C 106.06 21.16 106.61 22.30 107.57 22.85 C 106.66 23.21 106.14 23.92 106.16 24.76 C 106.18 25.61 106.75 26.05 107.51 26.34 C 106.45 26.61 105.76 27.27 105.76 28.40 C 105.76 30.03 107.14 30.96 109.36 30.96 C 111.91 30.96 113.39 29.76 113.39 27.74 C 113.39 23.92 108.06 25.30 108.07 23.82 C 108.07 23.59 108.17 23.34 108.44 23.16 C 108.73 23.23 109.06 23.25 109.41 23.25 C 111.54 23.25 112.74 22.21 112.74 19.01 L 112.74 18.77 C 112.74 17.70 112.60 16.84 112.33 16.19 C 112.42 16.12 112.51 16.05 112.60 15.99 C 112.90 15.82 113.25 15.73 113.66 15.73 L 113.35 13.31 z M 85.40 14.43 C 84.45 14.43 83.64 14.88 83.07 15.71 C 82.99 15.82 82.91 15.95 82.84 16.08 L 82.81 16.08 L 82.58 14.66 L 80.60 14.66 L 80.60 25.81 L 83.11 25.81 L 83.11 16.91 C 83.38 16.45 83.77 16.21 84.21 16.21 C 84.75 16.21 84.99 16.66 84.99 17.57 L 84.99 25.81 L 87.5 25.81 L 87.5 17.39 C 87.5 17.23 87.50 17.08 87.48 16.93 C 87.75 16.45 88.14 16.21 88.58 16.21 C 89.12 16.21 89.36 16.66 89.36 17.57 L 89.36 25.81 L 91.88 25.81 L 91.88 17.39 C 91.88 15.52 91.29 14.42 89.77 14.43 C 88.77 14.43 87.91 14.95 87.33 15.91 C 87.05 14.97 86.45 14.43 85.40 14.43 z M 102.56 14.43 C 101.77 14.43 101.08 14.77 100.56 15.38 C 100.38 15.59 100.22 15.82 100.08 16.08 L 100.03 16.08 L 99.82 14.66 L 97.83 14.66 L 97.83 25.81 L 100.34 25.81 L 100.34 16.91 C 100.61 16.45 100.99 16.21 101.43 16.21 C 101.99 16.21 102.24 16.72 102.24 17.63 L 102.24 25.81 L 104.75 25.81 L 104.75 17.39 C 104.75 15.52 104.12 14.42 102.56 14.43 z M 19.43 14.46 C 18.59 14.46 17.92 14.63 17.41 14.96 C 16.89 15.29 16.50 15.82 16.26 16.55 C 16.02 17.28 15.91 18.23 15.91 19.43 L 15.91 21.06 C 15.91 22.24 16.02 23.20 16.23 23.91 C 16.44 24.62 16.80 25.15 17.30 25.49 C 17.80 25.83 18.49 26 19.39 26 C 20.25 26 20.92 25.83 21.42 25.5 C 21.92 25.17 22.29 24.63 22.51 23.91 C 22.74 23.19 22.85 22.25 22.85 21.06 L 22.85 19.43 C 22.85 18.23 22.73 17.28 22.50 16.56 C 22.27 15.84 21.91 15.31 21.41 14.97 C 20.91 14.63 20.25 14.46 19.43 14.46 z M 56.83 14.47 C 55.59 14.47 54.70 14.84 54.19 15.61 C 53.68 16.38 53.42 17.60 53.42 19.27 L 53.42 21.23 C 53.42 22.86 53.67 24.05 54.17 24.83 C 54.55 25.40 55.13 25.77 55.92 25.91 C 56.18 25.96 56.46 25.99 56.77 25.99 C 57.80 25.99 58.60 25.74 59.16 25.23 C 59.73 24.72 60.01 23.94 60.01 22.91 C 60.01 22.74 60.01 22.61 60 22.51 L 57.83 22.39 C 57.81 23.06 57.74 23.54 57.60 23.83 C 57.46 24.12 57.21 24.27 56.83 24.27 C 56.55 24.27 56.35 24.18 56.22 24.02 C 56.09 23.86 56.00 23.61 55.96 23.25 C 55.92 22.89 55.90 22.36 55.90 21.64 L 55.90 21.08 L 60.07 21.08 L 60.07 19.16 C 60.07 17.99 59.97 17.08 59.78 16.41 C 59.59 15.75 59.28 15.25 58.82 14.93 C 58.36 14.62 57.69 14.47 56.83 14.47 z M 75.83 14.47 C 73.32 14.47 72.24 15.61 72.46 18.32 L 74.66 18.5 C 74.68 16.77 74.93 16.18 75.73 16.18 C 76.44 16.18 76.59 16.72 76.59 18.27 L 76.59 19.08 C 73.41 19.93 72.22 21.31 72.22 23.33 C 72.22 25.15 73.30 26.06 74.68 26.06 C 75.79 26.06 76.46 25.44 76.82 24.46 L 76.85 24.46 L 77.10 25.82 L 79.01 25.82 L 79.01 18.38 C 79.01 15.78 78.18 14.45 75.83 14.47 z M 24.15 14.66 L 24.15 22.99 C 24.15 24.02 24.32 24.77 24.67 25.25 C 25.03 25.74 25.58 25.99 26.32 25.99 C 27.39 25.99 28.19 25.47 28.72 24.44 L 28.76 24.44 L 28.99 25.81 L 30.94 25.81 L 30.94 14.66 L 28.44 14.66 L 28.44 23.51 C 28.34 23.72 28.2 23.89 28 24.02 C 27.8 24.15 27.58 24.23 27.36 24.23 C 27.10 24.23 26.93 24.12 26.82 23.91 C 26.71 23.70 26.66 23.34 26.66 22.84 L 26.66 14.66 L 24.15 14.66 z M 37.01 14.66 L 37.01 22.99 C 37.01 24.02 37.20 24.77 37.55 25.25 C 37.82 25.62 38.19 25.85 38.67 25.94 C 38.83 25.97 39.00 25.99 39.18 25.99 C 40.25 25.99 41.05 25.47 41.58 24.44 L 41.64 24.44 L 41.85 25.81 L 43.82 25.81 L 43.82 14.66 L 41.32 14.66 L 41.32 23.51 C 41.22 23.72 41.06 23.89 40.86 24.02 C 40.66 24.15 40.46 24.23 40.24 24.23 C 39.98 24.23 39.79 24.12 39.68 23.91 C 39.57 23.70 39.52 23.34 39.52 22.84 L 39.52 14.66 L 37.01 14.66 z M 93.63 14.66 L 93.63 25.82 L 96.02 25.82 L 96.02 14.66 L 93.63 14.66 z M 56.83 16.15 C 57.10 16.15 57.28 16.23 57.41 16.38 C 57.53 16.53 57.62 16.79 57.67 17.16 C 57.72 17.53 57.75 18.07 57.75 18.78 L 57.75 19.58 L 55.91 19.58 L 55.91 18.78 C 55.91 18.05 55.93 17.52 55.97 17.16 C 56.01 16.81 56.09 16.55 56.22 16.39 C 56.35 16.23 56.55 16.15 56.83 16.15 z M 19.36 16.18 C 19.72 16.18 19.96 16.37 20.10 16.74 C 20.24 17.11 20.32 17.69 20.32 18.49 L 20.32 21.96 C 20.32 22.78 20.24 23.38 20.10 23.74 C 19.97 24.11 19.72 24.28 19.36 24.28 C 19.01 24.28 18.77 24.10 18.64 23.74 C 18.51 23.38 18.43 22.78 18.43 21.96 L 18.43 18.49 C 18.43 17.69 18.51 17.11 18.65 16.74 C 18.79 16.37 19.02 16.18 19.36 16.18 z M 109.41 16.19 C 110.12 16.19 110.33 16.73 110.33 18.75 L 110.33 19.14 C 110.33 21.14 110.09 21.63 109.41 21.63 C 108.73 21.63 108.46 21.14 108.46 19.14 L 108.46 18.75 C 108.46 16.74 108.70 16.19 109.41 16.19 z M 48.84 16.22 C 49.09 16.22 49.29 16.31 49.43 16.51 C 49.57 16.71 49.68 17.05 49.73 17.52 C 49.78 17.99 49.81 18.68 49.81 19.55 L 49.81 21 L 49.82 21 C 49.82 21.81 49.79 22.45 49.72 22.91 C 49.65 23.37 49.54 23.70 49.38 23.89 C 49.22 24.08 49.01 24.17 48.74 24.17 C 48.53 24.17 48.33 24.12 48.16 24.02 C 47.98 23.92 47.85 23.78 47.74 23.58 L 47.74 17.25 C 47.82 16.95 47.96 16.70 48.17 16.50 C 48.38 16.31 48.60 16.22 48.84 16.22 z M 76.60 20.36 L 76.60 23.60 C 76.36 23.99 75.98 24.30 75.58 24.30 C 74.98 24.30 74.74 23.81 74.74 22.88 C 74.74 21.66 75.29 20.78 76.60 20.36 z M 108.67 26.65 C 110.00 26.90 111.34 27.06 111.30 28.02 C 111.28 28.64 110.64 29.16 109.48 29.16 C 108.33 29.16 107.76 28.59 107.76 27.81 C 107.76 27.27 108.11 26.85 108.67 26.65 z"}}]}:
g.mO?{D:"div",W:["ytp-icon","ytp-icon-logo"]}:{D:"svg",O:{height:"100%",version:"1.1",viewBox:"0 0 67 36",width:"100%"},K:[{D:"path",Fa:!0,H:"ytp-svg-fill",O:{d:"M 45.09 10 L 45.09 25.82 L 47.16 25.82 L 47.41 24.76 L 47.47 24.76 C 47.66 25.14 47.94 25.44 48.33 25.66 C 48.72 25.88 49.16 25.99 49.63 25.99 C 50.48 25.99 51.1 25.60 51.5 24.82 C 51.9 24.04 52.09 22.82 52.09 21.16 L 52.09 19.40 C 52.12 18.13 52.05 17.15 51.90 16.44 C 51.75 15.74 51.50 15.23 51.16 14.91 C 50.82 14.59 50.34 14.44 49.75 14.44 C 49.29 14.44 48.87 14.57 48.47 14.83 C 48.27 14.96 48.09 15.11 47.93 15.29 C 47.78 15.46 47.64 15.65 47.53 15.86 L 47.51 15.86 L 47.51 10 L 45.09 10 z M 8.10 10.56 L 10.96 20.86 L 10.96 25.82 L 13.42 25.82 L 13.42 20.86 L 16.32 10.56 L 13.83 10.56 L 12.78 15.25 C 12.49 16.62 12.31 17.59 12.23 18.17 L 12.16 18.17 C 12.04 17.35 11.84 16.38 11.59 15.23 L 10.59 10.56 L 8.10 10.56 z M 30.10 10.56 L 30.10 12.58 L 32.59 12.58 L 32.59 25.82 L 35.06 25.82 L 35.06 12.58 L 37.55 12.58 L 37.55 10.56 L 30.10 10.56 z M 19.21 14.46 C 18.37 14.46 17.69 14.63 17.17 14.96 C 16.65 15.29 16.27 15.82 16.03 16.55 C 15.79 17.28 15.67 18.23 15.67 19.43 L 15.67 21.06 C 15.67 22.24 15.79 23.19 16 23.91 C 16.21 24.62 16.57 25.15 17.07 25.49 C 17.58 25.83 18.27 26 19.15 26 C 20.02 26 20.69 25.83 21.19 25.5 C 21.69 25.17 22.06 24.63 22.28 23.91 C 22.51 23.19 22.63 22.25 22.63 21.06 L 22.63 19.43 C 22.63 18.23 22.50 17.28 22.27 16.56 C 22.04 15.84 21.68 15.31 21.18 14.97 C 20.68 14.63 20.03 14.46 19.21 14.46 z M 56.64 14.47 C 55.39 14.47 54.51 14.84 53.99 15.61 C 53.48 16.38 53.22 17.60 53.22 19.27 L 53.22 21.23 C 53.22 22.85 53.47 24.05 53.97 24.83 C 54.34 25.40 54.92 25.77 55.71 25.91 C 55.97 25.96 56.26 25.99 56.57 25.99 C 57.60 25.99 58.40 25.74 58.96 25.23 C 59.53 24.72 59.81 23.94 59.81 22.91 C 59.81 22.74 59.79 22.61 59.78 22.51 L 57.63 22.39 C 57.62 23.06 57.54 23.54 57.40 23.83 C 57.26 24.12 57.01 24.27 56.63 24.27 C 56.35 24.27 56.13 24.18 56.00 24.02 C 55.87 23.86 55.79 23.61 55.75 23.25 C 55.71 22.89 55.68 22.36 55.68 21.64 L 55.68 21.08 L 59.86 21.08 L 59.86 19.16 C 59.86 17.99 59.77 17.08 59.58 16.41 C 59.39 15.75 59.07 15.25 58.61 14.93 C 58.15 14.62 57.50 14.47 56.64 14.47 z M 23.92 14.67 L 23.92 23.00 C 23.92 24.03 24.11 24.79 24.46 25.27 C 24.82 25.76 25.35 26.00 26.09 26.00 C 27.16 26.00 27.97 25.49 28.5 24.46 L 28.55 24.46 L 28.76 25.82 L 30.73 25.82 L 30.73 14.67 L 28.23 14.67 L 28.23 23.52 C 28.13 23.73 27.97 23.90 27.77 24.03 C 27.57 24.16 27.37 24.24 27.15 24.24 C 26.89 24.24 26.70 24.12 26.59 23.91 C 26.48 23.70 26.43 23.35 26.43 22.85 L 26.43 14.67 L 23.92 14.67 z M 36.80 14.67 L 36.80 23.00 C 36.80 24.03 36.98 24.79 37.33 25.27 C 37.60 25.64 37.97 25.87 38.45 25.96 C 38.61 25.99 38.78 26.00 38.97 26.00 C 40.04 26.00 40.83 25.49 41.36 24.46 L 41.41 24.46 L 41.64 25.82 L 43.59 25.82 L 43.59 14.67 L 41.09 14.67 L 41.09 23.52 C 40.99 23.73 40.85 23.90 40.65 24.03 C 40.45 24.16 40.23 24.24 40.01 24.24 C 39.75 24.24 39.58 24.12 39.47 23.91 C 39.36 23.70 39.31 23.35 39.31 22.85 L 39.31 14.67 L 36.80 14.67 z M 56.61 16.15 C 56.88 16.15 57.08 16.23 57.21 16.38 C 57.33 16.53 57.42 16.79 57.47 17.16 C 57.52 17.53 57.53 18.06 57.53 18.78 L 57.53 19.58 L 55.69 19.58 L 55.69 18.78 C 55.69 18.05 55.71 17.52 55.75 17.16 C 55.79 16.81 55.87 16.55 56.00 16.39 C 56.13 16.23 56.32 16.15 56.61 16.15 z M 19.15 16.19 C 19.50 16.19 19.75 16.38 19.89 16.75 C 20.03 17.12 20.09 17.7 20.09 18.5 L 20.09 21.97 C 20.09 22.79 20.03 23.39 19.89 23.75 C 19.75 24.11 19.51 24.29 19.15 24.30 C 18.80 24.30 18.54 24.11 18.41 23.75 C 18.28 23.39 18.22 22.79 18.22 21.97 L 18.22 18.5 C 18.22 17.7 18.28 17.12 18.42 16.75 C 18.56 16.38 18.81 16.19 19.15 16.19 z M 48.63 16.22 C 48.88 16.22 49.08 16.31 49.22 16.51 C 49.36 16.71 49.45 17.05 49.50 17.52 C 49.55 17.99 49.58 18.68 49.58 19.55 L 49.58 21 L 49.59 21 C 49.59 21.81 49.57 22.45 49.5 22.91 C 49.43 23.37 49.32 23.70 49.16 23.89 C 49.00 24.08 48.78 24.17 48.51 24.17 C 48.30 24.17 48.11 24.12 47.94 24.02 C 47.76 23.92 47.62 23.78 47.51 23.58 L 47.51 17.25 C 47.59 16.95 47.75 16.70 47.96 16.50 C 48.17 16.31 48.39 16.22 48.63 16.22 z "}}]}]});
this.l=a;this.A=this.o=!1;wK(a,this.element,this,28666);this.da("click",this.C);this.M(a,"videodatachange",this.B);this.B();g.Ze(this,NR(b.bb(),this.element))};
lU=function(a,b,c){g.Gt.call(this);var d=this,e=g.V(a);this.o=a;this.A=b;this.ea=window.NaN;this.X=null;this.T=c;this.T.subscribe("autohideupdate",this.iw,this);c=!g.BD(g.XJ(a));var f;g.S(g.V(a).experiments,"html5_player_dynamic_bottom_gradient")?this.ca=f=new HS(a):f=new g.R({D:"div",H:"ytp-gradient-bottom"});g.I(this,f);g.tK(a,f.element,8);this.N=new g.eP(f,250,c,100);g.I(this,this.N);this.l=new g.R({D:"div",H:"ytp-chrome-bottom",K:[{D:"div",H:"ytp-chrome-controls"}]});g.I(this,this.l);g.tK(a,this.l.element,
8);this.J=new g.eP(this.l,250,c,100);g.I(this,this.J);this.R=this.l.element.children[0];this.g=new $T(a);g.Ze(this.g,function(){a.G==d.g&&(a.G=null)});
g.I(this,this.g);a.G=this.g;g.tK(a,this.g.element,6);this.g.subscribe("show",this.IL,this);this.g.subscribe("show",(0,g.A)(b.Xx,b,this.g));this.C=new g.pT(a,b);g.I(this,this.C);this.C.aa(this.l.element,0);c=new JS(a,b);g.I(this,c);g.tK(a,c.element,4);this.C.subscribe("height-change",c.hL,c);c=new MS(a);g.I(this,c);g.tK(a,c.element,4);c=new g.mv({D:"div",H:"ytp-left-controls"});g.I(this,c);c.aa(this.R);f=new g.jT(a,b,!1);g.I(this,f);f.aa(c.element);e.I||(f=new g.gT(a,b),g.I(this,f),f.aa(c.element));
f=new g.jT(a,b,!0);g.I(this,f);f.aa(c.element);var k=new g.R({D:"span"});g.I(this,k);k.aa(c.element);if(!e.ea&&(this.B=new aT(a,b),g.I(this,this.B),this.B.aa(k.element),e.L)){f=new iU(a,b,this.l.element);g.I(this,f);f.aa(k.element);k=new g.Kt(k.element);g.I(this,k);var l=(0,g.A)(f.Wx,f,!0);k.subscribe("hoverstart",l);k=new g.Kt(c.element);g.I(this,k);f=(0,g.A)(f.Wx,f,!1);k.subscribe("hoverend",f)}this.Z=new g.gU(a,b);g.I(this,this.Z);this.Z.aa(c.element);c=new g.mv({D:"div",H:"ytp-right-controls"});
g.I(this,c);c.aa(this.R);f=new fU(a,b);g.I(this,f);f.aa(c.element);f=new PT(a,b,this.g);g.I(this,f);Hfa(this.g,f);f.aa(c.element);f=new SS(a);g.I(this,f);g.tK(a,f.element,5);f.subscribe("show",(0,g.A)(b.yk,b,f));f=new TS(a,b,f);g.I(this,f);f.aa(c.element);f=a.getVideoData();if(e.vf||f.isDni&&"1"==e.A)this.F=new kU(a,b),g.I(this,this.F),this.F.aa(c.element);f=!1;g.S(e.experiments,"kevlar_miniplayer_button")&&(f=new RS(a,b),g.I(this,f),f.aa(c.element),f=!0);k=new eU(a,b);g.I(this,k);k.aa(c.element);
e.Ua&&(k=new dU(a,b,this.g),g.I(this,k),k.aa(c.element));e.Oe&&(e=new FS(a,b),g.I(this,e),e.aa(c.element));Faa()&&!f&&(e=new eT(a,b),g.I(this,e),e.aa(c.element));this.Y=new QS(a,b);g.I(this,this.Y);this.Y.aa(c.element);this.G=new g.pq(this.WF,null,this);g.I(this,this.G);this.I=null;this.M(a,"appresize",this.xb);this.M(a,"fullscreentoggled",this.xb);this.M(a,"presentingplayerstatechange",this.Hq);this.M(a,"videodatachange",this.XF);this.xb()};
mU=function(a,b){if(g.BD(g.XJ(a.o))||b){if(b){a.J.hide();a.N.hide();if(a.B){var c=a.B;c.G=!1;g.yK(c.l,c.element,c.A&&!1)}a.F&&(c=a.F,c.A=!1,g.yK(c.l,c.element,c.o&&!1));a.A.bb().mh(a.ha())}}else b||(a.J.show(),a.N.show(),a.B&&(c=a.B,c.G=!0,g.yK(c.l,c.element,c.A&&!0)),a.F&&(c=a.F,c.A=!0,g.yK(c.l,c.element,c.o&&!0)),a.iw())};
oU=function(a){var b=g.YJ(a.o).Ba().width;return Math.max(b-2*nU(a),100)};
nU=function(a){var b=a.A.Hc();return 12*(a.o.getVideoData().isDni?0:b?2:1)};
qU=function(a,b,c,d,e){if(c||d)g.ms(pU(g.V(a),!!c,!!d),c?{method:"POST",wc:{action_create_subscription_to_channel:1,c:b},fb:{feature:c,silo_name:e},withCredentials:!0}:d?{method:"POST",wc:{action_subscribe:1},fb:{channel_ids:b,itct:d}}:{}),a.ma("SUBSCRIBE")};
rU=function(a,b,c,d,e){if(c||d)g.ms(pU(g.V(a),!!c,!!d),c?{method:"POST",wc:{action_remove_subscriptions:1},fb:{c:b,silo_name:e,feature:c},withCredentials:!0}:d?{method:"POST",wc:{action_unsubscribe:1},fb:{channel_ids:b,itct:d}}:{}),a.ma("UNSUBSCRIBE")};
pU=function(a,b,c){return b?a.baseYtUrl+"subscription_ajax":c?"/subscription_service":""};
sU=function(a,b,c,d){var e=g.V(a),f={D:"div",H:"ytp-inline-subscribe-button-icon",K:[g.mO?{D:"div",W:["ytp-icon","ytp-icon-youtube-logo"]}:{D:"svg",O:{height:"100%",version:"1.1",viewBox:"0 0 68 48",width:"100%"},K:[{D:"path",H:"ytp-youtube-logo-bg",O:{d:"M66.52,7.74c-0.78-2.93-2.49-5.41-5.42-6.19C55.79,.13,34,0,34,0S12.21,.13,6.9,1.55 C3.97,2.33,2.27,4.81,1.48,7.74C0.06,13.05,0,24,0,24s0.06,10.95,1.48,16.26c0.78,2.93,2.49,5.41,5.42,6.19 C12.21,47.87,34,48,34,48s21.79-0.13,27.1-1.55c2.93-0.78,4.64-3.26,5.42-6.19C67.94,34.95,68,24,68,24S67.94,13.05,66.52,7.74z",
fill:"#f00"}},{D:"path",O:{d:"M 45,24 27,14 27,34",fill:"#fff"}}]}]};g.R.call(this,{D:"button",W:["ytp-button","ytp-inline-subscribe-button"],O:{"aria-pressed":"{{pressed}}"},K:[{D:"div",H:"ytp-inline-subscribe-button-subscribe",O:{title:g.Q("YTP_SUBSCRIBE"),"aria-label":g.Q("YTP_SUBSCRIBE")},K:[e.B?null:f,{D:"div",H:"ytp-inline-subscribe-button-text",V:g.Q("YTP_SUBSCRIBE")}]},{D:"div",H:"ytp-inline-subscribe-button-unsubscribe",O:{title:g.Q("YTP_SUBSCRIBED"),"aria-label":g.Q("YTP_SUBSCRIBE")},K:[e.B?
null:f,{D:"div",H:"ytp-inline-subscribe-button-text",V:g.Q("YTP_SUBSCRIBED")}]}]});this.C=a;this.A=b;this.B=c;this.l=this.g["ytp-inline-subscribe-button-subscribe"];this.o=this.g["ytp-inline-subscribe-button-unsubscribe"];this.M(this.l,"click",this.I);this.M(this.o,"click",this.J);this.M(a,"SUBSCRIBE",this.F);this.M(a,"UNSUBSCRIBE",this.G);d&&this.element.classList.add("ytp-inline-subscribe-button-subscribed")};
tU=function(a,b){g.R.call(this,{D:"button",W:["ytp-button","ytp-title-notifications"],O:{"aria-pressed":"{{pressed}}"},K:[{D:"div",H:"ytp-title-notifications-on",O:{title:g.Q("YTP_SUBSCRIBE_NOTIFY_ON"),"aria-label":g.Q("YTP_SUBSCRIBE_NOTIFY")},K:[g.xO()]},{D:"div",H:"ytp-title-notifications-off",O:{title:g.Q("YTP_SUBSCRIBE_NOTIFY_OFF"),"aria-label":g.Q("YTP_SUBSCRIBE_NOTIFY")},K:[g.mO?{D:"div",W:["ytp-icon","ytp-icon-notifications-inactive"]}:{D:"svg",O:{fill:"#fff",height:"24px",viewBox:"0 0 24 24",
width:"24px"},K:[{D:"path",O:{d:"M18 11c0-3.07-1.64-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.63 5.36 6 7.92 6 11v5l-2 2v1h16v-1l-2-2v-5zm-6 11c.14 0 .27-.01.4-.04.65-.14 1.18-.58 1.44-1.18.1-.24.15-.5.15-.78h-4c.01 1.1.9 2 2.01 2z"}}]}]}]});this.o=a;wK(a,this.element,this,36927);this.A=b;this.l=!1;this.da("click",this.B,this);this.updateValue("pressed",!1)};
uU=function(a,b){a.l=b;a.element.classList.toggle("ytp-notifications-enabled",a.l);g.ms("/subscription_ajax?action_update_subscription_preferences=1",{method:"POST",fb:{channel_id:a.A,receive_all_updates:!a.l}})};
g.vU=function(a,b,c,d,e,f,k,l,m,n,q,u){f&&(a=a.charAt(0)+a.substring(1).toLowerCase(),c=c.charAt(0)+c.substring(1).toLowerCase());if("0"===b||"-1"===b)b=null;if("0"===d||"-1"===d)d=null;if(q){c=g.V(u);q={href:q,"aria-label":a,tabindex:"-1"};if(g.KA(c)||g.LA(c))q.target="_blank";g.R.call(this,{D:"div",W:["ytp-button","ytp-sb"],K:[{D:"a",H:"ytp-sb-subscribe",O:q,K:[{D:"div",H:"ytp-sb-text",K:[{D:"div",H:"ytp-sb-icon"},a]},b?{D:"div",H:"ytp-sb-count",V:b}:""]}]});f&&g.J(this.element,"ytp-sb-classic")}else{g.R.call(this,
{D:"div",W:["ytp-button","ytp-sb"],K:[{D:"div",H:"ytp-sb-subscribe",O:{tabindex:"-1","aria-label":a},K:[{D:"div",H:"ytp-sb-text",K:[{D:"div",H:"ytp-sb-icon"},a]},b?{D:"div",H:"ytp-sb-count",V:b}:""]},{D:"div",H:"ytp-sb-unsubscribe",O:{tabindex:"-1","aria-label":c},K:[{D:"div",H:"ytp-sb-text",K:[{D:"div",H:"ytp-sb-icon"},c]},d?{D:"div",H:"ytp-sb-count",V:d}:""]}]});var w=this;this.l=k;var H=this.g["ytp-sb-subscribe"],F=this.g["ytp-sb-unsubscribe"];f&&g.J(this.element,"ytp-sb-classic");if(e){l&&g.J(this.element,
"ytp-sb-subscribed");var M=null;"gaming"==g.V(u).playerStyle&&(M="gaming_channels");var Z=function(){qU(u,w.l,m,n,M);F.focus();F.removeAttribute("aria-hidden");H.setAttribute("aria-hidden",!0)},pa=function(){rU(u,w.l,m,n,M);
H.focus();H.removeAttribute("aria-hidden");F.setAttribute("aria-hidden",!0)};
this.M(H,"click",Z);this.M(F,"click",pa);this.M(H,"keypress",function(a){13==a.keyCode&&Z(a)});
this.M(F,"keypress",function(a){13==a.keyCode&&pa(a)});
this.M(u,"SUBSCRIBE",this.o);this.M(u,"UNSUBSCRIBE",this.A)}else g.J(H,"ytp-sb-disabled"),g.J(F,"ytp-sb-disabled")}};
g.xU=function(a,b,c,d,e,f){b=wU(b,c,f);d=d||375;e=e||440;if(b=window.open(b,"loginPopup","width="+d+",height="+e+",resizable=yes,scrollbars=yes",!0))c=g.Ut("LOGGED_IN",function(b){g.Vt(g.Or("LOGGED_IN_PUBSUB_KEY",void 0));g.Nr("LOGGED_IN",!0);a(b)}),g.Nr("LOGGED_IN_PUBSUB_KEY",c),b.moveTo((window.screen.width-d)/2,(window.screen.height-e)/2)};
wU=function(a,b,c){var d="/signin?context=popup";c&&(d=window.document.location.protocol+"//"+c+d);c=window.document.location.protocol+"//"+window.document.domain+"/post_login";a&&(c=eh(c,"mode",a));a=eh(d,"next",c);b&&(a=eh(a,"feature",b));return a};
yU=function(a){var b=new g.R({D:"a",H:"ytp-title-channel-logo",O:{href:"{{channelLink}}",target:"_blank"}});g.R.call(this,{D:"div",H:"ytp-title",K:[{D:"div",H:"ytp-title-channel",K:[b,{D:"div",H:"ytp-title-expanded",K:[{D:"div",H:"ytp-title-expanded-heading",K:[{D:"h2",H:"ytp-title-expanded-title",K:[{D:"a",V:"{{expandedTitle}}"}]},{D:"h3",H:"ytp-title-expanded-subtitle",V:"{{expandedSubtitle}}"}]}]}]},{D:"div",H:"ytp-title-text",K:[{D:"a",W:["ytp-title-link","yt-uix-sessionlink"],O:{target:"_blank",
href:"{{url}}","data-sessionlink":"feature=player-title"},V:"{{title}}"},{D:"div",H:"ytp-title-subtext",K:[{D:"a",H:"ytp-title-channel-name",O:{href:"{{channelLink}}",target:"_blank"},V:"{{channelName}}"},{D:"span",H:"ytp-title-inline-subscribe",V:"{{inlineSubscribe}}"},{D:"span",H:"ytp-title-inline-notify",V:"{{inlineNotify}}"},{D:"span",H:"ytp-title-subtitle",V:"{{subtitle}}"}]}]},{D:"div",H:"ytp-title-top-right-subscribe",K:[{D:"span",V:"{{topRightSubscribe}}"},{D:"span",V:"{{topRightNotify}}"}]}]});
g.I(this,b);this.l=a;this.C=null;this.T=this.g["ytp-title-link"];this.B=this.g["ytp-title-channel"];this.F=b;this.R=this.g["ytp-title-expanded"];this.G=this.N=this.I=this.A=this.o=this.J=null;wK(a,this.element,this,23851);wK(a,b.element,this,36925);this.M(a,"videodatachange",this.L);this.M(a,"videoplayerreset",this.L);a=g.V(a);a.J&&(g.S(a.experiments,"embed_info_bar_inline_subscribe")?Ifa(this):g.S(a.experiments,"embed_info_bar_top_right_subscribe")?Jfa(this):Kfa(this));this.L()};
Ifa=function(a){var b=a.l.getVideoData(),c=g.V(a.l),d=new sU(a.l,b.ne,"embed_title",!!b.subscribed);a.o=d;g.I(a,d);wK(a.l,d.element,a,36926);a.M(d.element,"click",function(){g.xK(a.l,d.element)});
if(!c.B){var e=new tU(a.l,b.ne);g.I(a,e);a.A=e;a.M(a.l,"SUBSCRIBE",function(){e.show()});
a.M(a.l,"UNSUBSCRIBE",function(){e.hide();uU(e,!1)})}};
Jfa=function(a){var b=g.V(a.l).hc?null:wU(),c=a.l.getVideoData(),d=new g.vU(g.Q("YTP_SUBSCRIBE"),null,g.Q("YTP_SUBSCRIBED"),null,!0,!1,c.ne,c.subscribed,"embed_title",null,b,a.l);a.I=d;g.I(a,d);wK(a.l,d.element,a,36926);var e=new tU(a.l,c.ne);a.N=e;g.I(a,e);a.M(a.l,"SUBSCRIBE",function(){g.J(a.element,"ytp-subscribed");e.show()});
a.M(a.l,"UNSUBSCRIBE",function(){g.fq(a.element,"ytp-subscribed");e.hide();uU(e,!1)});
a.M(d.element,"click",function(){g.xK(a.l,d.element)})};
Kfa=function(a){var b=new g.R({D:"div",H:"ytp-title-beacon"});g.I(a,b);b.aa(a.B,0);b=g.V(a.l).hc?null:wU();var c=a.l.getVideoData(),d=new g.vU(g.Q("YTP_SUBSCRIBE"),null,g.Q("YTP_SUBSCRIBED"),null,!0,!1,c.ne,c.subscribed,"embed_title",null,b,a.l);a.J=d;g.I(a,d);d.aa(a.R);wK(a.l,d.element,a,36926);var e=new tU(a.l,c.ne);g.I(a,e);e.aa(a.R);c.subscribed||e.hide();a.M(a.l,"SUBSCRIBE",function(){g.J(a.element,"ytp-subscribed");e.show()});
a.M(a.l,"UNSUBSCRIBE",function(){g.fq(a.element,"ytp-subscribed");e.hide();uU(e,!1)});
a.M(a.B,"mouseenter",function(){if(524<=a.l.Ng().width){a.G.stop();var b=a.l.getRootNode();g.J(b,"ytp-title-show-expanded");g.fq(b,"ytp-title-show-collapsed");g.yK(a.l,d.element,!0);g.yK(a.l,e.element,!0)}});
a.M(a.B,"mouseleave",function(){a.G.start();g.yK(a.l,d.element,!1);g.yK(a.l,e.element,!1)});
a.M(a.B,"click",function(){g.xK(a.l,a.B)});
a.M(d.element,"click",function(){g.xK(a.l,d.element)});
a.G=new g.L(function(){var b=a.l.getRootNode();g.dq(b,"ytp-title-show-expanded")&&(g.fq(b,"ytp-title-show-expanded"),g.J(b,"ytp-title-show-collapsed"))},500);
g.I(a,a.G)};
AU=function(a){zU(a,!1);a.updateValue("channelLink","");a.updateValue("channelName","");a.updateValue("inlineSubscribe",null);a.o&&g.yK(a.l,a.o.element,!1);a.updateValue("inlineNotify",null);a.updateValue("topRightSubscribe",null);a.updateValue("topRightNotify",null);a.updateValue("subtitle","");a.updateValue("expandedTitle","");a.updateValue("expandedSubtitle","");a.l.getRootNode().classList.remove("ytp-title-show-subtitle");a.element.classList.remove("ytp-title-show-inline-subscribe")};
zU=function(a,b,c,d){c=void 0===c?"":c;d=void 0===d?"":d;b?(b=g.V(a.l).protocol+"://"+UA(g.V(a.l))+c,a.F.element.style.backgroundImage="url("+d+")",a.F.updateValue("channelLink",b),g.J(a.l.getRootNode(),"ytp-title-enable-channel-logo"),g.yK(a.l,a.F.element,!0)):(g.fq(a.l.getRootNode(),"ytp-title-enable-channel-logo"),g.yK(a.l,a.F.element,!1))};
g.BU=function(a,b){var c=g.YJ(a).Ba();g.R.call(this,{D:"div",K:[{D:"div",H:"ytp-tooltip-bg",K:[{D:"div",H:"ytp-tooltip-duration",V:"{{duration}}"}]},{D:"div",H:"ytp-tooltip-text-wrapper",K:[{D:"div",H:"ytp-tooltip-image"},{D:"div",H:"ytp-tooltip-title",V:"{{title}}"},{D:"span",H:"ytp-tooltip-text",V:"{{text}}"}]}]});this.T=a;this.na=b;this.L=g.V(a);this.ia=this.L.l;this.I=this.g["ytp-tooltip-bg"];this.ra=this.g["ytp-tooltip-image"];this.Y=(0,g.A)(this.wI,this);this.F=(0,g.A)(this.zI,this);this.X=
(0,g.A)(this.Wd,this);this.l=null;this.J=new g.eP(this,100);g.I(this,this.J);this.o=null;this.R=!1;this.A=null;this.C=window.NaN;this.G="";this.la=c.width;this.N=!0;this.B=1;this.ca=new g.L(this.fC,250,this);g.I(this,this.ca);this.fa=new g.L(this.Wd,5E3,this);g.I(this,this.fa)};
DU=function(a,b){if(null!=a.o)if(b)switch(a.o){case 3:case 2:CU(a);a.J.show();break;default:a.J.show()}else a.J.hide();a.N=b};
NR=function(a,b){if(a.ia)return g.za;b.addEventListener("mouseover",a.F);g.S(a.L.experiments,"show_tooltip_on_tab_killswitch")||b.addEventListener("focus",a.F);return(0,g.A)(function(){this.l==b&&this.Wd();b.removeEventListener("mouseover",this.F);g.S(this.L.experiments,"show_tooltip_on_tab_killswitch")||b.removeEventListener("focus",this.F)},a)};
FU=function(a,b,c){if(a.o)if(3==a.o)a.Wd();else return;EU(a,b,3,c)};
EU=function(a,b,c,d){(0,window.isNaN)(a.C)||(a.C=window.NaN,a.I.style.background="");a.l=b;a.R=!!d;d?a.G=d:(a.G=b.getAttribute("title"),b.removeAttribute("title"));a.element.className="ytp-tooltip";if(d=b.getAttribute("data-tooltip-image"))a.ra.style.backgroundImage="url("+d+")";g.K(a.element,"ytp-tooltip-image-enabled",!!d);b=b.getAttribute("data-tooltip-opaque");g.K(a.element,"ytp-tooltip-opaque",!!b);a.o=c;a.T.addEventListener("appresize",a.X);a.N&&(CU(a),a.J.show(0))};
CU=function(a){var b=a.l.getAttribute("data-tooltip-text");if(b&&!a.R){a.updateValue("text",b);var c=a.l.getAttribute("data-duration");a.update({title:a.G,duration:c});var d=a.l.getAttribute("data-preview"),e=160*a.B,f=90*a.B,k=160*a.B,l=90*a.B;a.I.style.width=e+"px";a.I.style.height=f+"px";a.I.style.backgroundImage=d?"url("+d+")":"";a.I.style.backgroundPosition=(e-k)/2+"px "+(f-l)/2+"px";a.I.style.backgroundSize=k+"px "+l+"px";g.eq(a.element,["ytp-text-detail","ytp-preview"]);g.K(a.element,"ytp-has-duration",
!!c)}else a.updateValue("text",a.G),g.gq(a.element,["ytp-text-detail","ytp-preview","ytp-has-duration"]);3==a.o?a.element.setAttribute("role","status"):a.element.removeAttribute("role");GU(a,!!b)};
GU=function(a,b,c){a.element.style.maxWidth=b?"":Math.min(a.la,300*a.B)+"px";a.na.Wl(a.element,a.l,c,1==a.o);a.element.style.top?g.J(a.element,"ytp-bottom"):a.element.style.bottom&&g.J(a.element,"ytp-top");3==a.o&&a.fa.start()};
dT=function(a){a.l&&!a.R&&a.l.hasAttribute("title")&&(a.G=a.l.getAttribute("title"),a.l.removeAttribute("title"),a.N&&CU(a))};
HU=function(a,b){g.K(a.element,"ytp-preview",0<=b);if(!(0>b||b==a.C)){a.C=b;var c=160*a.B,d=160*a.B,e=sB(a.A,a.C,c);IS(a.I,e,c,d,!0);a.ca.start()}};
Lfa=function(a,b,c){IU("add_to_watch_later_list",a,b,c)};
Mfa=function(a,b,c){IU("delete_from_watch_later_list",a,b,c)};
IU=function(a,b,c,d){g.ms(c?c+"playlist_video_ajax?action_"+a+"=1":"/playlist_video_ajax?action_"+a+"=1",{method:"POST",wc:{feature:b.feature||null,authuser:b.hc||null,pageid:b.pageId||null},fb:{video_ids:b.videoIds||null,source_playlist_id:b.sourcePlaylistId||null,full_list_id:b.fullListId||null,delete_from_playlists:b.oP||null,add_to_playlists:b.eP||null,plid:g.Or("PLAYBACK_ID")||null},context:b.context,onError:b.onError,onSuccess:function(a,c){b.onSuccess.call(this,a,c)},
Jc:b.Jc,withCredentials:!!d})};
LU=function(a,b,c){g.R.call(this,{D:"button",W:["ytp-watch-later-button","ytp-button"],O:{title:"{{title}}","data-tooltip-image":"{{image}}","data-tooltip-opaque":String(g.V(a).J)},K:[{D:"div",H:"ytp-watch-later-icon",V:"{{icon}}"},{D:"div",H:"ytp-watch-later-title",V:"{{watch_later}}"}]});this.l=a;this.C=b.bb();this.C.element.setAttribute("aria-live","polite");this.I=c;this.F=null;this.G=this.B=this.A=this.o=!1;wK(a,this.element,this,28665);this.da("click",this.dG,this);this.M(a,"videoplayerreset",
this.eG);this.M(a,"appresize",this.ec);this.ec(g.YJ(a).Ba());a=g.V(this.l);c=g.Qu("yt-player-watch-later-pending");a.g&&c?(Wu(),JU(this,c.videoId)):KU(this,2);g.Ze(this,NR(b.bb(),this.element))};
JU=function(a,b){if(!a.A){a.A=!0;KU(a,3);var c=g.V(a.l);(a.o?Mfa:Lfa)({videoIds:b,hc:c.hc,pageId:c.pageId,onError:a.uK,onSuccess:a.o?a.vK:a.tK,context:a},c.baseYtUrl,!0)}};
KU=function(a,b,c){if(b!=a.F){switch(b){case 3:var d=FQ();break;case 1:d=oO();break;case 2:d=g.mO?{D:"div",W:["ytp-icon","ytp-icon-watch-later"]}:{D:"svg",O:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{D:"path",Fa:!0,H:"ytp-svg-fill",O:{d:"M18,8 C12.47,8 8,12.47 8,18 C8,23.52 12.47,28 18,28 C23.52,28 28,23.52 28,18 C28,12.47 23.52,8 18,8 L18,8 Z M16,19.02 L16,12.00 L18,12.00 L18,17.86 L23.10,20.81 L22.10,22.54 L16,19.02 Z"}}]};break;case 4:d=g.mO?{D:"div",W:["ytp-icon","ytp-icon-alert"]}:
{D:"svg",O:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{D:"path",Fa:!0,H:"ytp-svg-fill",O:{d:"M21,7.91 L19.60,20.91 L16.39,20.91 L15,7.91 L21,7.91 Z M18,27.91 C16.61,27.91 15.5,26.79 15.5,25.41 C15.5,24.03 16.61,22.91 18,22.91 C19.38,22.91 20.5,24.03 20.5,25.41 C20.5,26.79 19.38,27.91 18,27.91 Z"}}]}}a.updateValue("icon",d);a.F=b}b=g.V(a.l);c?a.update({title:c,image:null}):b.userDisplayName?(c={USER_NAME:b.userDisplayName},a.update({title:a.o?g.Q("YTP_ADDED_TO_WATCH_LATER_AS",
c):g.Q("YTP_WATCH_LATER_AS_2",c),image:Vba(b)})):a.update({title:g.Q("YTP_WATCH_LATER_2"),image:null});dT(a.C)};
MU=function(a){g.R.call(this,{D:"a",W:["ytp-watermark","yt-uix-sessionlink"],O:{target:"_blank",href:"{{url}}","aria-label":g.Q("YTP_URL_NAVIGATE_TO",{WEBSITE:VA(g.V(a))}),"data-sessionlink":"feature=player-watermark"},K:[g.mO?{D:"div",W:["ytp-icon","ytp-icon-watermark"]}:{D:"svg",O:{height:"100%",version:"1.1",viewBox:"0 0 110 26",width:"100%"},K:[{D:"path",Fa:!0,H:"ytp-svg-fill",O:{d:"M 16.68,.99 C 13.55,1.03 7.02,1.16 4.99,1.68 c -1.49,.4 -2.59,1.6 -2.99,3 -0.69,2.7 -0.68,8.31 -0.68,8.31 0,0 -0.01,5.61 .68,8.31 .39,1.5 1.59,2.6 2.99,3 2.69,.7 13.40,.68 13.40,.68 0,0 10.70,.01 13.40,-0.68 1.5,-0.4 2.59,-1.6 2.99,-3 .69,-2.7 .68,-8.31 .68,-8.31 0,0 .11,-5.61 -0.68,-8.31 -0.4,-1.5 -1.59,-2.6 -2.99,-3 C 29.11,.98 18.40,.99 18.40,.99 c 0,0 -0.67,-0.01 -1.71,0 z m 72.21,.90 0,21.28 2.78,0 .31,-1.37 .09,0 c .3,.5 .71,.88 1.21,1.18 .5,.3 1.08,.40 1.68,.40 1.1,0 1.99,-0.49 2.49,-1.59 .5,-1.1 .81,-2.70 .81,-4.90 l 0,-2.40 c 0,-1.6 -0.11,-2.90 -0.31,-3.90 -0.2,-0.89 -0.5,-1.59 -1,-2.09 -0.5,-0.4 -1.10,-0.59 -1.90,-0.59 -0.59,0 -1.18,.19 -1.68,.49 -0.49,.3 -1.01,.80 -1.21,1.40 l 0,-7.90 -3.28,0 z m -49.99,.78 3.90,13.90 .18,6.71 3.31,0 0,-6.71 3.87,-13.90 -3.37,0 -1.40,6.31 c -0.4,1.89 -0.71,3.19 -0.81,3.99 l -0.09,0 c -0.2,-1.1 -0.51,-2.4 -0.81,-3.99 l -1.37,-6.31 -3.40,0 z m 29.59,0 0,2.71 3.40,0 0,17.90 3.28,0 0,-17.90 3.40,0 c 0,0 .00,-2.71 -0.09,-2.71 l -9.99,0 z m -53.49,5.12 8.90,5.18 -8.90,5.09 0,-10.28 z m 89.40,.09 c -1.7,0 -2.89,.59 -3.59,1.59 -0.69,.99 -0.99,2.60 -0.99,4.90 l 0,2.59 c 0,2.2 .30,3.90 .99,4.90 .7,1.1 1.8,1.59 3.5,1.59 1.4,0 2.38,-0.3 3.18,-1 .7,-0.7 1.09,-1.69 1.09,-3.09 l 0,-0.5 -2.90,-0.21 c 0,1 -0.08,1.6 -0.28,2 -0.1,.4 -0.5,.62 -1,.62 -0.3,0 -0.61,-0.11 -0.81,-0.31 -0.2,-0.3 -0.30,-0.59 -0.40,-1.09 -0.1,-0.5 -0.09,-1.21 -0.09,-2.21 l 0,-0.78 5.71,-0.09 0,-2.62 c 0,-1.6 -0.10,-2.78 -0.40,-3.68 -0.2,-0.89 -0.71,-1.59 -1.31,-1.99 -0.7,-0.4 -1.48,-0.59 -2.68,-0.59 z m -50.49,.09 c -1.09,0 -2.01,.18 -2.71,.68 -0.7,.4 -1.2,1.12 -1.49,2.12 -0.3,1 -0.5,2.27 -0.5,3.87 l 0,2.21 c 0,1.5 .10,2.78 .40,3.78 .2,.9 .70,1.62 1.40,2.12 .69,.5 1.71,.68 2.81,.78 1.19,0 2.08,-0.28 2.78,-0.68 .69,-0.4 1.09,-1.09 1.49,-2.09 .39,-1 .49,-2.30 .49,-3.90 l 0,-2.21 c 0,-1.6 -0.2,-2.87 -0.49,-3.87 -0.3,-0.89 -0.8,-1.62 -1.49,-2.12 -0.7,-0.5 -1.58,-0.68 -2.68,-0.68 z m 12.18,.09 0,11.90 c -0.1,.3 -0.29,.48 -0.59,.68 -0.2,.2 -0.51,.31 -0.81,.31 -0.3,0 -0.58,-0.10 -0.68,-0.40 -0.1,-0.3 -0.18,-0.70 -0.18,-1.40 l 0,-10.99 -3.40,0 0,11.21 c 0,1.4 .18,2.39 .68,3.09 .49,.7 1.21,1 2.21,1 1.4,0 2.48,-0.69 3.18,-2.09 l .09,0 .31,1.78 2.59,0 0,-14.99 c 0,0 -3.40,.00 -3.40,-0.09 z m 17.31,0 0,11.90 c -0.1,.3 -0.29,.48 -0.59,.68 -0.2,.2 -0.51,.31 -0.81,.31 -0.3,0 -0.58,-0.10 -0.68,-0.40 -0.1,-0.3 -0.21,-0.70 -0.21,-1.40 l 0,-10.99 -3.40,0 0,11.21 c 0,1.4 .21,2.39 .71,3.09 .5,.7 1.18,1 2.18,1 1.39,0 2.51,-0.69 3.21,-2.09 l .09,0 .28,1.78 2.62,0 0,-14.99 c 0,0 -3.40,.00 -3.40,-0.09 z m 20.90,2.09 c .4,0 .58,.11 .78,.31 .2,.3 .30,.59 .40,1.09 .1,.5 .09,1.21 .09,2.21 l 0,1.09 -2.5,0 0,-1.09 c 0,-1 -0.00,-1.71 .09,-2.21 0,-0.4 .11,-0.8 .31,-1 .2,-0.3 .51,-0.40 .81,-0.40 z m -50.49,.12 c .5,0 .8,.18 1,.68 .19,.5 .28,1.30 .28,2.40 l 0,4.68 c 0,1.1 -0.08,1.90 -0.28,2.40 -0.2,.5 -0.5,.68 -1,.68 -0.5,0 -0.79,-0.18 -0.99,-0.68 -0.2,-0.5 -0.31,-1.30 -0.31,-2.40 l 0,-4.68 c 0,-1.1 .11,-1.90 .31,-2.40 .2,-0.5 .49,-0.68 .99,-0.68 z m 39.68,.09 c .3,0 .61,.10 .81,.40 .2,.3 .27,.67 .37,1.37 .1,.6 .12,1.51 .12,2.71 l .09,1.90 c 0,1.1 .00,1.99 -0.09,2.59 -0.1,.6 -0.19,1.08 -0.49,1.28 -0.2,.3 -0.50,.40 -0.90,.40 -0.3,0 -0.51,-0.08 -0.81,-0.18 -0.2,-0.1 -0.39,-0.29 -0.59,-0.59 l 0,-8.5 c .1,-0.4 .29,-0.7 .59,-1 .3,-0.3 .60,-0.40 .90,-0.40 z"}}]}]});
this.o=a;this.l=null;this.M(a,"videodatachange",this.A);this.M(a,"presentingplayerstatechange",this.C);a=g.XJ(a);g.rv(this,!g.U(a,2));this.A()};
NU=function(a){xR.call(this,a);var b=g.V(a),c=g.YJ(a);this.Ea=48;this.va=69;b.J&&(this.Ea=42,this.va=63);var d=g.V(this.g),e=d.B;if(vw("ytp-normal-css-loaded")){var f=vw("ytp-sprite-mode-css-loaded");e!=f&&g.N(Error("Player sprite mode mismatch. playerInSpriteMode: "+e+", spriteModeCssServed: "+f+", isMobile: "+d.l),"WARNING")}this.N=null;this.F=[];this.G=new g.GR(a);g.I(this,this.G);g.tK(a,this.G.element,4);d=new g.R({D:"div",H:"ytp-gradient-top"});g.I(this,d);g.tK(a,d.element,1);this.Ra=new g.eP(d,
250,!0,100);g.I(this,this.Ra);this.A=new g.R({D:"div",H:"ytp-chrome-top"});g.I(this,this.A);g.tK(a,this.A.element,1);this.Ma=new g.eP(this.A,250,!0,100);g.I(this,this.Ma);this.fa=[];this.C=new g.BU(a,this);g.I(this,this.C);g.tK(a,this.C.element,4);b.g&&b.dc&&(this.tb=new sS(a,this),g.I(this,this.tb),g.tK(a,this.tb.element,4));d=new xS(a);g.I(this,d);g.tK(a,d.element,5);d.subscribe("show",(0,g.A)(this.yk,this,d));this.fa.push(d);d=new zS(a,this,d);g.I(this,d);d.aa(this.A.element);this.Ia=new yU(a);
g.I(this,this.Ia);this.Ia.aa(this.A.element);d=new g.mv({D:"div",H:"ytp-chrome-top-buttons"});g.I(this,d);d.aa(this.A.element);e=g.S(b.experiments,"embed_info_bar_top_right_subscribe")&&b.g;!e&&b.ak&&(this.la=new LU(a,this,this.A.element),g.I(this,this.la),this.la.aa(d.element));e||(e=new BS(a,this),g.I(this,e),g.tK(a,e.element,5),e.subscribe("show",(0,g.A)(this.yk,this,e)),this.fa.push(e),this.ea=new DS(a,this,e,this.A.element),g.I(this,this.ea),this.ea.aa(d.element));b.mg&&(e=new ES(a),g.I(this,
e),g.tK(a,e.element,4));this.R=new MR(a,this,this.A.element);g.I(this,this.R);this.R.aa(d.element);e=new OR(a,this.R);g.I(this,e);e.aa(d.element);(this.l="1"==b.A?new lU(a,this,this.o):null)&&g.I(this,this.l);"3"==b.A&&(d=new AS(a,this),g.I(this,d),g.tK(a,d.element,8));this.I=new lS(a,this,this.G);g.I(this,this.I);this.I.subscribe("show",this.Hy,this);this.ra=!1;b.Bc&&(d=new MU(a),g.I(this,d),g.tK(a,d.element,7));d=new GP(a,new uQ(a));g.I(this,d);g.tK(a,d.element,4);this.Z=new g.R({D:"div",O:{tabindex:"0"}});
this.Z.da("focus",this.MA,this);g.I(this,this.Z);this.T=new g.R({D:"div",O:{tabindex:"0"}});this.T.da("focus",this.NA,this);g.I(this,this.T);(this.Y=b.useTabletControls?null:new nS(a,c,this.I,this.o,this.G,(0,g.A)(this.Dk,this)))&&g.I(this,this.Y);this.X.push(this.G.element);this.M(a,"fullscreentoggled",this.mF);this.M(a,"offlineslatestatechange",this.MI,this);this.M(a,"cardstatechange",this.Ke,this)};
OU=function(a,b,c){b=c?b.lastElementChild:b.firstElementChild;for(var d=null;b;){if("none"!=Qh(b,"display")&&"true"!=b.getAttribute("aria-hidden")){var e=void 0;0<=b.tabIndex?e=b:e=OU(a,b,c);e&&(d?c?e.tabIndex>d.tabIndex&&(d=e):e.tabIndex<d.tabIndex&&(d=e):d=e)}b=c?b.previousElementSibling:b.nextElementSibling}return d};
g.PU=function(a){g.HK.call(this,a);this.load()};
g.QU=function(a,b,c){jD.call(this);this.g=a;this.l=b;this.B=c};
TU=function(a,b){g.G.call(this);var c=this;this.A=a||window.NaN;this.o=b||null;this.l=new g.L(function(){RU(c);SU(c)});
g.I(this,this.l);this.g=[]};
RU=function(a){var b=g.P();a.g.forEach(function(c){c.expire<b&&UU(a,c,!0)});
a.g=(0,g.$d)(a.g,function(a){return!(a.expire<b)})};
UU=function(a,b,c){c&&a.o&&a.o(b.value)};
SU=function(a){a.l.stop();var b=window.Infinity;for(var c=g.p(a.g),d=c.next();!d.done;d=c.next())d=d.value,d.expire<b&&(b=d.expire);b&&(0,window.isFinite)(b)&&(b=Math.max(b-(0,g.D)(),0),a.l.start(b))};
VU=function(){this.g=[];this.l=[];this.o=[]};
XU=function(a,b,c){c=g.Td(c?"AUDIO":"VIDEO");g.Ma(c,Nfa);g.rt(c,"loadeddata",(0,g.A)(c.l,c));EA&&6<=BR&&g.rt(c,"webkitbeginfullscreen",(0,g.A)(c.play,c));a.l.push(c);b?a.o.push(c):WU(a,c);return c};
WU=function(a,b){g.Va(a.l,b)&&!g.Va(a.g,b)&&(b.pe(),g.Za(a.o,b)||a.g.push(b))};
YU=function(a){g.G.call(this);this.l=null;for(var b=[],c=0;100>=c;c++)b.push(c/100);b={threshold:b};(this.g=window.IntersectionObserver?new window.IntersectionObserver((0,g.A)(this.o,this),b):null)&&this.g.observe(a)};
ZU=function(a){var b=a.g;g.R.call(this,{D:"div",W:["html5-video-player"],O:{tabindex:"-1",id:a.ra.attrs.id},K:[{D:"div",H:"html5-video-container",O:{"data-layer":"0"}},{D:"input",H:"ytp-attestation-challenge",O:{id:"atr_challenge",type:"hidden",value:"","data-layer":"0"}}]});b.jk&&this.Kl("ytp-transparent");g.ct(this.element,"version",a.ra.assets.js);this.app=a;this.A=this.g["html5-video-container"];this.ca=this.g["ytp-attestation-challenge"];this.o=new g.th(0,0,0,0);this.l=null;this.G=new g.th(0,
0,0,0);this.J=this.R=this.N=window.NaN;this.F=!1;this.I=window.NaN;this.L=!1;this.C=null;this.addEventListener=(0,g.A)(this.element.addEventListener,this.element);this.removeEventListener=(0,g.A)(this.element.removeEventListener,this.element);this.dispatchEvent=function(){};
this.T=(0,g.A)(function(){this.element.focus()},this);
YA(b)&&"blazer"!=b.playerStyle&&window.matchMedia&&(this.X="desktop-polymer"==b.playerStyle?[{query:window.matchMedia("(max-width: 656px)"),size:new g.vd(426,240)},{query:window.matchMedia("(max-width: 856px)"),size:new g.vd(640,360)},{query:window.matchMedia("(max-width: 999px)"),size:new g.vd(854,480)},{query:window.matchMedia("(min-width: 1720px) and (min-height: 980px)"),size:new g.vd(1280,720)},{query:window.matchMedia("(min-width: 1294px) and (min-height: 630px)"),size:new g.vd(854,480)},{query:window.matchMedia("(min-width: 1000px)"),
size:new g.vd(640,360)}]:[{query:window.matchMedia("(max-width: 656px)"),size:new g.vd(426,240)},{query:window.matchMedia("(min-width: 1720px) and (min-height: 980px)"),size:new g.vd(1280,720)},{query:window.matchMedia("(min-width: 1294px) and (min-height: 630px)"),size:new g.vd(854,480)},{query:window.matchMedia("(min-width: 657px)"),size:new g.vd(640,360)}]);this.Y=b.Fk;this.B=new g.vd(window.NaN,window.NaN);raa({YTP_ADVERTISEMENT:"\u0420\u0435\u043a\u043b\u0430\u043c\u0430",YTP_AD_BADGE:"\u0420\u0435\u043a\u043b\u0430\u043c\u0430",
YTP_AD_NOTIFICATION:"\u0427\u0435\u0440\u0435\u0437 $X_SECONDS\u00a0\u0441\u0435\u043a. \u043d\u0430\u0447\u043d\u0435\u0442\u0441\u044f \u0440\u0435\u043a\u043b\u0430\u043c\u0430",YTP_AD_POD_POSITION:"$AD_INDEX\u00a0\u0438\u0437\u00a0$ADS_COUNT",YTP_AD_PREVIEW_NONSKIPPABLE:"\u0420\u043e\u043b\u0438\u043a \u043d\u0430\u0447\u043d\u0435\u0442\u0441\u044f \u043f\u043e\u0441\u043b\u0435 \u0440\u0435\u043a\u043b\u0430\u043c\u044b",YTP_AD_PREVIEW_NONSKIPPABLE_COUNTDOWN:"\u0412\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u043d\u0430\u0447\u043d\u0435\u0442\u0441\u044f \u0447\u0435\u0440\u0435\u0437\u00a0$TIME_REMAINING",
YTP_AD_SETTING_TEXT:"\u0418\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u043e\u0431\u044a\u044f\u0432\u043b\u0435\u043d\u0438\u0439 \u043c\u043e\u0436\u043d\u043e \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0435 $AD_SETTING_LINK_TEXT.",YTP_AD_SETTING_LINK_TEXT:"\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0440\u0435\u043a\u043b\u0430\u043c\u043d\u044b\u0445 \u043f\u0440\u0435\u0434\u043f\u043e\u0447\u0442\u0435\u043d\u0438\u0439",
YTP_WHY_THIS_AD_TITLE:"\u041f\u043e\u0447\u0435\u043c\u0443 \u044f \u0432\u0438\u0436\u0443 \u044d\u0442\u0443 \u0440\u0435\u043a\u043b\u0430\u043c\u0443?",YTP_AD_SETTINGS_TOOLTIP:"\u041e\u0442\u043a\u0440\u044b\u0442\u044c \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0440\u0435\u043a\u043b\u0430\u043c\u043d\u044b\u0445 \u043f\u0440\u0435\u0434\u043f\u043e\u0447\u0442\u0435\u043d\u0438\u0439",YTP_CLOSE_AD_INFO_DIALOG:"\u041e\u041a",YTP_AIRPLAY:"AirPlay",YTP_AUDIO_TRACK_TITLE:"\u0417\u0432\u0443\u043a\u043e\u0432\u0430\u044f \u0434\u043e\u0440\u043e\u0436\u043a\u0430",
YTP_AUTO:"\u0410\u0432\u0442\u043e\u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430",YTP_CAN_SKIP_AD_SOON:"\u0420\u0435\u043a\u043b\u0430\u043c\u0443 \u043c\u043e\u0436\u043d\u043e \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u043e\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0447\u0435\u0440\u0435\u0437\u00a0$TIME_REMAINING",YTP_CARDS_BUTTON_ARIA_LABEL:"\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u043f\u043e\u0434\u0441\u043a\u0430\u0437\u043a\u0438",YTP_CARDS_BUTTON_INFO:"\u041e \u0432\u0438\u0434\u0435\u043e",
YTP_CARDS_BUTTON_SHOPPING:"\u041f\u043e\u043a\u0443\u043f\u043a\u0438",YTP_COPY_DEBUG_INFO:"\u0421\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435 \u0434\u043b\u044f \u043e\u0442\u043b\u0430\u0434\u043a\u0438",YTP_COPY_VIDEO_URL:"\u041a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c URL \u0432\u0438\u0434\u0435\u043e",YTP_COPY_VIDEO_URL_AT_TIME:"\u041a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c URL \u0432\u0438\u0434\u0435\u043e \u0441 \u043f\u0440\u0438\u0432\u044f\u0437\u043a\u043e\u0439 \u043a\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438",
YTP_GET_DEBUG_INFO:"\u041f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u043e\u0431 \u043e\u0442\u043b\u0430\u0434\u043a\u0435",YTP_GET_VIDEO_URL:"\u041f\u043e\u043b\u0443\u0447\u0438\u0442\u044c URL \u0432\u0438\u0434\u0435\u043e",YTP_GET_VIDEO_URL_AT_TIME:"\u041f\u043e\u043b\u0443\u0447\u0438\u0442\u044c URL \u0432\u0438\u0434\u0435\u043e \u0441 \u043f\u0440\u0438\u0432\u044f\u0437\u043a\u043e\u0439 \u043a\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438",
YTP_GET_EMBED:"\u041f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u043a\u043e\u0434 \u0434\u043b\u044f \u0432\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u043d\u0438\u044f",YTP_PLAYBACK_SPEED_CHANGED:"\u0421\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u044f\u00a0\u2013 $RATE",YTP_DEFAULT_VIEW:"\u0420\u0435\u0436\u0438\u043c \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0430 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e",
YTP_EMBED_COPY:"\u041a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c HTML-\u043a\u043e\u0434",YTP_ERROR_GENERIC_WITHOUT_LINK:"\u041e\u0448\u0438\u0431\u043a\u0430. \u041f\u043e\u0432\u0442\u043e\u0440\u0438\u0442\u0435 \u043f\u043e\u043f\u044b\u0442\u043a\u0443 \u043f\u043e\u0437\u0436\u0435.",YTP_ERROR_GENERIC_WITH_LINK_AND_CPN:"\u041e\u0448\u0438\u0431\u043a\u0430. \u041f\u043e\u0432\u0442\u043e\u0440\u0438\u0442\u0435 \u043f\u043e\u043f\u044b\u0442\u043a\u0443 \u043f\u043e\u0437\u0436\u0435. \u0418\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u044f: $CPN. $BEGIN_LINK\u041f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435...$END_LINK",
YTP_EXIT_FULLSCREEN:"\u0412\u044b\u0445\u043e\u0434 \u0438\u0437 \u043f\u043e\u043b\u043d\u043e\u044d\u043a\u0440\u0430\u043d\u043d\u043e\u0433\u043e \u0440\u0435\u0436\u0438\u043c\u0430",YTP_FULLSCREEN_GENERIC_ERROR:"\u041d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u043f\u0435\u0440\u0435\u0439\u0442\u0438 \u0432 \u043f\u043e\u043b\u043d\u043e\u044d\u043a\u0440\u0430\u043d\u043d\u044b\u0439 \u0440\u0435\u0436\u0438\u043c. $BEGIN_LINK\u041f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435...$END_LINK",
YTP_FULLSCREEN_UNSUPPORTED_ERROR:"\u041f\u043e\u043b\u043d\u043e\u044d\u043a\u0440\u0430\u043d\u043d\u044b\u0439 \u0440\u0435\u0436\u0438\u043c \u043d\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u0432 \u044d\u0442\u043e\u043c \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435. $BEGIN_LINK\u041f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435...$END_LINK",YTP_VOLUME_UNSUPPORTED_ERROR:"\u0412 \u0432\u0430\u0448\u0435\u043c \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435 \u043d\u0435\u043b\u044c\u0437\u044f \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u0433\u0440\u043e\u043c\u043a\u043e\u0441\u0442\u044c \u0437\u0432\u0443\u043a\u0430. $BEGIN_LINK\u041f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435...$END_LINK",
YTP_FULLSCREEN:"\u0412\u043e \u0432\u0435\u0441\u044c \u044d\u043a\u0440\u0430\u043d",YTP_GOTO_LIVE_TOOLTIP:"\u041f\u0440\u043e\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0438 \u043f\u0435\u0440\u0435\u0439\u0442\u0438 \u043a \u043f\u0440\u044f\u043c\u043e\u0439 \u0442\u0440\u0430\u043d\u0441\u043b\u044f\u0446\u0438\u0438",YTP_LIVE:"\u0412 \u044d\u0444\u0438\u0440\u0435",YTP_LIVE_NOW:"\u0421\u0415\u0419\u0427\u0410\u0421 \u0412 \u041f\u0420\u042f\u041c\u041e\u041c \u042d\u0424\u0418\u0420\u0415",
YTP_LOOP:"\u041f\u043e\u0432\u0442\u043e\u0440",YTP_MORE:"\u0415\u0449\u0451",YTP_MORE_FROM_CHANNEL:'\u0414\u0440\u0443\u0433\u0438\u0435 \u0432\u0438\u0434\u0435\u043e \u043d\u0430 \u043a\u0430\u043d\u0430\u043b\u0435 "$DNI_RELATED_CHANNEL"',YTP_MORE_VIDEOS:"\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u0434\u0440\u0443\u0433\u0438\u0435 \u0432\u0438\u0434\u0435\u043e",YTP_MUTE:"\u041e\u0442\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u0437\u0432\u0443\u043a\u0430",YTP_NEXT:"\u0421\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435",
YTP_NORMAL_SPEED:"\u041e\u0431\u044b\u0447\u043d\u0430\u044f",YTP_ON:"\u0412\u041a\u041b",YTP_OFF:"\u0412\u042b\u041a\u041b",YTP_OPTIONS:"\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b",YTP_PREVIOUS:"\u041d\u0430\u0437\u0430\u0434",YTP_PLAYBACK_STALLED_AT_START:"\u041f\u043e\u0434\u043e\u0436\u0434\u0438\u0442\u0435 \u043d\u0435\u043c\u043d\u043e\u0433\u043e. \u0415\u0441\u043b\u0438 \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u0442\u0430\u043a \u0438 \u043d\u0435 \u043d\u0430\u0447\u043d\u0435\u0442\u0441\u044f, \u043f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u0435 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e.",
YTP_MISSING_FORMATS:"\u0414\u043e\u0441\u0442\u0443\u043f\u043d\u044b \u043d\u0435 \u0432\u0441\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b?",YTP_MORE_ON_YOUTUBE:"\u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u0442\u0435 \u044d\u0442\u0438 \u0440\u043e\u043b\u0438\u043a\u0438",YTP_PLAYLIST:"\u041f\u043b\u0435\u0439\u043b\u0438\u0441\u0442",YTP_QUALITY_TITLE:"\u041a\u0430\u0447\u0435\u0441\u0442\u0432\u043e",YTP_REPLAY:"\u041f\u043e\u0432\u0442\u043e\u0440\u0438\u0442\u044c",YTP_TROUBLESHOOT_ISSUE:"\u0420\u0435\u0448\u0438\u0442\u044c \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0443 \u0441 \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u0435\u043c",
YTP_SETTINGS:"\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438",YTP_SHARE:"\u041f\u043e\u0434\u0435\u043b\u0438\u0442\u044c\u0441\u044f",YTP_SHARE_LINK:"\u041f\u043e\u0434\u0435\u043b\u0438\u0442\u044c\u0441\u044f \u0441\u0441\u044b\u043b\u043a\u043e\u0439",YTP_SHARE_WITH_PLAYLIST_2:"\u0412 \u0441\u043e\u0441\u0442\u0430\u0432\u0435 \u043f\u043b\u0435\u0439\u043b\u0438\u0441\u0442\u0430",YTP_SHOW_VIDEO_INFO:"\u0421\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0430 \u0434\u043b\u044f \u0441\u0438\u0441\u0430\u0434\u043c\u0438\u043d\u043e\u0432",
YTP_SIGN_IN:"\u0412\u043e\u0439\u0442\u0438",YTP_SKIP_AD:"\u041f\u0440\u043e\u043f\u0443\u0441\u0442\u0438\u0442\u044c",YTP_SKIP_INTRO:"\u041f\u0440\u043e\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0437\u0430\u0441\u0442\u0430\u0432\u043a\u0443",YTP_SPEED_TITLE:"\u0421\u043a\u043e\u0440\u043e\u0441\u0442\u044c",YTP_SUBSCRIBE:"\u041f\u043e\u0434\u043f\u0438\u0441\u0430\u0442\u044c\u0441\u044f",YTP_SUBSCRIBED:"\u0412\u044b \u043f\u043e\u0434\u043f\u0438\u0441\u0430\u043d\u044b",YTP_SUBSCRIBE_NOTIFY:"\u0423\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u044f \u043e \u043f\u043e\u0434\u043f\u0438\u0441\u043a\u0430\u0445 \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u044b",
YTP_SUBSCRIBE_NOTIFY_OFF:"\u0412\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u043e\u043f\u043e\u0432\u0435\u0449\u0435\u043d\u0438\u044f \u043e \u043d\u043e\u0432\u044b\u0445 \u0432\u0438\u0434\u0435\u043e \u043d\u0430 \u044d\u0442\u043e\u043c \u043a\u0430\u043d\u0430\u043b\u0435",YTP_SUBSCRIBE_NOTIFY_ON:"\u041e\u0442\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u043e\u043f\u043e\u0432\u0435\u0449\u0435\u043d\u0438\u044f \u043e \u043d\u043e\u0432\u044b\u0445 \u0432\u0438\u0434\u0435\u043e \u043d\u0430 \u044d\u0442\u043e\u043c \u043a\u0430\u043d\u0430\u043b\u0435",
YTP_SUBTITLES:"\u0421\u0443\u0431\u0442\u0438\u0442\u0440\u044b",YTP_SUBTITLES_TOOLTIP:"\u0421\u0443\u0431\u0442\u0438\u0442\u0440\u044b",YTP_SUBTITLES_OFF:"\u0421\u0443\u0431\u0442\u0438\u0442\u0440\u044b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d\u044b",YTP_SUBTITLES_ON:"\u0421\u0443\u0431\u0442\u0438\u0442\u0440\u044b \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u044b",YTP_TAP_TO_UNMUTE_SHORT:"\u0412\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0437\u0432\u0443\u043a",YTP_THEATER_MODE:"\u0428\u0438\u0440\u043e\u043a\u0438\u0439 \u044d\u043a\u0440\u0430\u043d",
YTP_UNMUTE:"\u0412\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0437\u0432\u0443\u043a",YTP_URL_NAVIGATE_TO:"\u0421\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u044d\u0442\u043e \u0432\u0438\u0434\u0435\u043e \u043d\u0430\u00a0$WEBSITE",YTP_VISIT_YOUTUBE:"\u0412\u0435\u0440\u043d\u0443\u0442\u044c\u0441\u044f \u043d\u0430 YouTube \u0434\u043b\u044f \u043f\u043e\u0438\u0441\u043a\u0430 \u0434\u0440\u0443\u0433\u0438\u0445 \u0432\u0438\u0434\u0435\u043e",YTP_WATCH_ALL:"\u041f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0432\u0438\u0434\u0435\u043e \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e",
YTP_WATCH_LATER_2:"\u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043f\u043e\u0437\u0436\u0435",YTP_WATCH_LATER_AS_2:"\u041f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043f\u043e\u0437\u0436\u0435 \u043a\u0430\u043a $USER_NAME",YTP_ADDED_TO_WATCH_LATER_AS:"\u0414\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u043e \u0432 \u043f\u043b\u0435\u0439\u043b\u0438\u0441\u0442 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f $USER_NAME",YTP_PLAY:"\u0421\u043c\u043e\u0442\u0440\u0435\u0442\u044c",
YTP_ERROR_LICENSE:"\u041d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0441\u0442\u0438 \u0432\u0438\u0434\u0435\u043e \u0438\u0437-\u0437\u0430 \u043f\u0440\u043e\u0431\u043b\u0435\u043c \u0441 \u043b\u0438\u0446\u0435\u043d\u0437\u0438\u0435\u0439.",YTP_ERROR_VIDEO_NOT_FOUND:"\u041d\u0435 \u0443\u0434\u0430\u0435\u0442\u0441\u044f \u043d\u0430\u0439\u0442\u0438 \u0432\u0438\u0434\u0435\u043e.",YTP_ERROR_ALREADY_PINNED_ON_A_DEVICE:"\u0412\u044b \u0443\u0436\u0435 \u0441\u043a\u0430\u0447\u0430\u043b\u0438 \u044d\u0442\u043e \u0432\u0438\u0434\u0435\u043e \u043d\u0430 \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432, \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u043d\u043e\u0435 \u043f\u0440\u0430\u0432\u043e\u043e\u0431\u043b\u0430\u0434\u0430\u0442\u0435\u043b\u0435\u043c. \u0427\u0442\u043e\u0431\u044b \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u044d\u0442\u043e \u0432\u0438\u0434\u0435\u043e \u0437\u0434\u0435\u0441\u044c, \u043e\u0442\u043a\u0440\u0435\u043f\u0438\u0442\u0435 \u0435\u0433\u043e \u043e\u0442 \u0434\u0440\u0443\u0433\u043e\u0433\u043e \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430.",
YTP_ERROR_PURCHASE_NOT_FOUND:"\u0422\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u043e\u043f\u043b\u0430\u0442\u0438\u0442\u044c \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440 \u044d\u0442\u043e\u0433\u043e \u0432\u0438\u0434\u0435\u043e.",YTP_ERROR_PURCHASE_REFUNDED:"\u041f\u043e \u0434\u0430\u043d\u043d\u043e\u0439 \u043f\u043e\u043a\u0443\u043f\u043a\u0435 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d \u0432\u043e\u0437\u0432\u0440\u0430\u0442 \u0441\u0440\u0435\u0434\u0441\u0442\u0432.",
YTP_ERROR_STOPPED_BY_ANOTHER_PLAYBACK:"\u0412\u0438\u0434\u0435\u043e \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0441\u044f \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0432\u0430\u0448\u0435\u0433\u043e \u0430\u043a\u043a\u0430\u0443\u043d\u0442\u0430 \u0432 \u0434\u0440\u0443\u0433\u043e\u043c \u043c\u0435\u0441\u0442\u0435. \u041f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u0435 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443, \u0447\u0442\u043e\u0431\u044b \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u0442\u044c \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440.",
YTP_ERROR_TOO_MANY_STREAMS_PER_USER:"\u0412\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043e, \u0442\u0430\u043a \u043a\u0430\u043a \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0441\u044f \u0441\u043b\u0438\u0448\u043a\u043e\u043c \u043c\u043d\u043e\u0433\u043e \u0432\u0438\u0434\u0435\u043e, \u043e\u0442\u043d\u043e\u0441\u044f\u0449\u0438\u0445\u0441\u044f \u043a \u043e\u0434\u043d\u043e\u043c\u0443 \u0430\u043a\u043a\u0430\u0443\u043d\u0442\u0443.",
YTP_ERROR_TOO_MANY_STREAMS_PER_ENTITLEMENT:"\u0412\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043e, \u0442\u0430\u043a \u043a\u0430\u043a \u0441\u043b\u0438\u0448\u043a\u043e\u043c \u043c\u043d\u043e\u0433\u043e \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432 \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442 \u044d\u0442\u043e \u0432\u0438\u0434\u0435\u043e.",
YTP_ERROR_STREAMING_DEVICES_QUOTA_PER_24H_EXCEEDED:"\u0417\u0430 \u0441\u0443\u0442\u043a\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u043e \u0441\u043b\u0438\u0448\u043a\u043e\u043c \u0431\u043e\u043b\u044c\u0448\u043e\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432/IP-\u0430\u0434\u0440\u0435\u0441\u043e\u0432.",YTP_ERROR_STREAM_LICENSE_NOT_FOUND:"\u0412\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u043f\u0440\u0435\u0440\u0432\u0430\u043d\u043e. \u041f\u043e\u0432\u0442\u043e\u0440\u0438\u0442\u0435 \u043f\u043e\u043f\u044b\u0442\u043a\u0443.",
YTP_CLOSE:"\u0417\u0430\u043a\u0440\u044b\u0442\u044c",YTP_ANNOTATIONS:"\u0410\u043d\u043d\u043e\u0442\u0430\u0446\u0438\u0438",YTP_SEEK_SLIDER:"\u041f\u043e\u043b\u0437\u0443\u043d\u043e\u043a \u043f\u043e\u0438\u0441\u043a\u0430",YTP_PAUSE:"\u041f\u0430\u0443\u0437\u0430",YTP_AUTOPLAY:"\u0410\u0432\u0442\u043e\u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u0435",YTP_RESET:"\u0421\u0431\u0440\u043e\u0441\u0438\u0442\u044c",YTP_STOP:"\u041e\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u043f\u0440\u044f\u043c\u0443\u044e \u0442\u0440\u0430\u043d\u0441\u043b\u044f\u0446\u0438\u044e",
YTP_SCREENREADER_VOLUME_SETTING:"\u0433\u0440\u043e\u043c\u043a\u043e\u0441\u0442\u044c",YTP_SCREENREADER_VOLUME_MUTED:"\u0437\u0432\u0443\u043a \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d",YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK:"\u042d\u0442\u043e\u0442 \u0444\u043e\u0440\u043c\u0430\u0442 \u0432\u0438\u0434\u0435\u043e \u043d\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442\u0441\u044f",YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK_WITH_LINK:"\u0412 \u043d\u0430\u0441\u0442\u043e\u044f\u0449\u0435\u0435 \u0432\u0440\u0435\u043c\u044f \u0432\u0430\u0448 \u0431\u0440\u0430\u0443\u0437\u0435\u0440 \u043d\u0435 \u0440\u0430\u0441\u043f\u043e\u0437\u043d\u0430\u0435\u0442 \u043d\u0438 \u043e\u0434\u0438\u043d \u0438\u0437 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0445 \u0432\u0438\u0434\u0435\u043e\u0444\u043e\u0440\u043c\u0430\u0442\u043e\u0432. $BEGIN_LINK\u041d\u0430\u0436\u043c\u0438\u0442\u0435 \u0437\u0434\u0435\u0441\u044c, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043e\u0442\u0432\u0435\u0442\u044b \u043d\u0430 \u0447\u0430\u0441\u0442\u043e \u0437\u0430\u0434\u0430\u0432\u0430\u0435\u043c\u044b\u0435 \u0432\u043e\u043f\u0440\u043e\u0441\u044b \u043e \u0432\u0438\u0434\u0435\u043e HTML5.$END_LINK",
YTP_HTML5_FLASH_DEPRECATED:"\u0412\u0438\u0434\u0435\u043e \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435 Flash \u0431\u043e\u043b\u044c\u0448\u0435 \u043d\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u044e\u0442\u0441\u044f. \u041e\u0431\u043d\u043e\u0432\u0438\u0442\u0435 \u0431\u0440\u0430\u0443\u0437\u0435\u0440 \u0434\u043e \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0439 \u0432\u0435\u0440\u0441\u0438\u0438. $BEGIN_LINK\u041f\u041e\u0414\u0420\u041e\u0411\u041d\u0415\u0415$END_LINK",
YTP_ERROR_CAST_SESSION_DEVICE_MISMATCHED:"\u0423\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e \u0432 \u0441\u0435\u0430\u043d\u0441\u0435 \u043d\u0435 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u0437\u0430\u043f\u0440\u0430\u0448\u0438\u0432\u0430\u0435\u043c\u043e\u043c\u0443.",YTP_ERROR_CAST_SESSION_VIDEO_MISMATCHED:"\u0412\u0438\u0434\u0435\u043e \u0432 \u0441\u0435\u0430\u043d\u0441\u0435 \u043d\u0435 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u0437\u0430\u043f\u0440\u0430\u0448\u0438\u0432\u0430\u0435\u043c\u043e\u043c\u0443.",
YTP_ERROR_CAST_TOKEN_EXPIRED:"\u0412\u0440\u0435\u043c\u044f \u0441\u0435\u0430\u043d\u0441\u0430 \u0438\u0441\u0442\u0435\u043a\u043b\u043e. \u041e\u0431\u043d\u043e\u0432\u0438\u0442\u0435 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443.",YTP_ERROR_CAST_TOKEN_FAILED:"\u0421\u0435\u0430\u043d\u0441 \u043d\u0435\u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d. \u041e\u0431\u043d\u043e\u0432\u0438\u0442\u0435 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443 \u0438\u043b\u0438 \u043f\u043e\u0432\u0442\u043e\u0440\u0438\u0442\u0435 \u043f\u043e\u043f\u044b\u0442\u043a\u0443 \u043f\u043e\u0437\u0436\u0435.",
YTP_ERROR_CAST_TOKEN_MALFORMED:"\u041d\u0435\u0432\u0435\u0440\u043d\u044b\u0439 \u0441\u0435\u0430\u043d\u0441. \u041e\u0431\u043d\u043e\u0432\u0438\u0442\u0435 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443 \u0438\u043b\u0438 \u043f\u043e\u0432\u0442\u043e\u0440\u0438\u0442\u0435 \u043f\u043e\u043f\u044b\u0442\u043a\u0443 \u043f\u043e\u0437\u0436\u0435.",YTP_ERROR_GEO_FAILURE:"\u042d\u0442\u043e \u0432\u0438\u0434\u0435\u043e \u043d\u0435\u0434\u043e\u0441\u0442\u0443\u043f\u043d\u043e \u0434\u043b\u044f \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0430 \u0432 \u0432\u0430\u0448\u0435\u0439 \u0441\u0442\u0440\u0430\u043d\u0435.",
YTP_ERROR_INVALID_DRM_MESSAGE:"\u041d\u0435\u0434\u043e\u043f\u0443\u0441\u0442\u0438\u043c\u043e\u0435 \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u0441\u0438\u0441\u0442\u0435\u043c\u044b DRM.",YTP_ERROR_RENTAL_EXPIRED:"\u0412\u0440\u0435\u043c\u044f \u043f\u0440\u043e\u043a\u0430\u0442\u0430 \u0437\u0430\u043a\u043e\u043d\u0447\u0438\u043b\u043e\u0441\u044c.",YTP_ERROR_RETRYABLE_ERROR:"\u041f\u0440\u043e\u0438\u0437\u043e\u0448\u043b\u0430 \u0432\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f \u043e\u0448\u0438\u0431\u043a\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0430, \u043f\u043e\u0432\u0442\u043e\u0440\u0438\u0442\u0435 \u043f\u043e\u043f\u044b\u0442\u043a\u0443 \u043f\u043e\u0437\u0436\u0435.",
YTP_ERROR_SERVER_ERROR:"\u041f\u0440\u043e\u0438\u0437\u043e\u0448\u043b\u0430 \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u044f\u044f \u043e\u0448\u0438\u0431\u043a\u0430. \u041f\u043e\u0432\u0442\u043e\u0440\u0438\u0442\u0435 \u043f\u043e\u043f\u044b\u0442\u043a\u0443 \u043f\u043e\u0437\u0436\u0435.",YTP_ERROR_STREAMING_NOT_ALLOWED:"\u0412\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u043d\u0435\u0434\u043e\u0441\u0442\u0443\u043f\u043d\u043e, \u0442\u0430\u043a \u043a\u0430\u043a \u0432\u0438\u0434\u0435\u043e \u043f\u0440\u0438\u043a\u0440\u0435\u043f\u043b\u0435\u043d\u043e \u043a \u0434\u0440\u0443\u0433\u043e\u043c\u0443 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0443.",
YTP_ERROR_UNSUPPORTED_DEVICE:"\u0412\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u043d\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u0434\u0430\u043d\u043d\u044b\u043c \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e\u043c.",YTP_ERROR_VIDEO_FORBIDDEN:"\u0414\u043e\u0441\u0442\u0443\u043f \u043a \u0432\u0438\u0434\u0435\u043e \u0437\u0430\u043f\u0440\u0435\u0449\u0435\u043d.",YTP_ERROR_VIDEO_UNAVAILABLE:"\u041e\u0448\u0438\u0431\u043a\u0430",
YTP_ERROR_FORMAT_UNAVALIABLE:"\u042d\u0442\u043e \u0432\u0438\u0434\u0435\u043e \u043f\u043e\u043a\u0430 \u043d\u0435\u043b\u044c\u0437\u044f \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0432 \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u043e\u043c \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435. \u041f\u043e\u0432\u0442\u043e\u0440\u0438\u0442\u0435 \u043f\u043e\u043f\u044b\u0442\u043a\u0443 \u043f\u043e\u0437\u0436\u0435.",YTP_DEVICE_FALLBACK:"\u0412\u0438\u0434\u0435\u043e \u043d\u0435\u0434\u043e\u0441\u0442\u0443\u043f\u043d\u043e \u043d\u0430 \u044d\u0442\u043e\u043c \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0435.",
YTP_VISIT_ADVERTISERS_SITE:"\u041f\u043e\u0441\u0435\u0442\u0438\u0442\u044c \u0441\u0430\u0439\u0442 \u0440\u0435\u043a\u043b\u0430\u043c\u043e\u0434\u0430\u0442\u0435\u043b\u044f",YTP_PROGRESS_LABEL_2:"$PLAY_PROGRESS (\u043e\u0431\u0449\u0430\u044f \u0434\u043b\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c $DURATION)",YTP_PLAYLIST_NAME:'\u041f\u043b\u0435\u0439\u043b\u0438\u0441\u0442 "$PLAYLIST_NAME"',YTP_PLAYLIST_POSITION:"$CURRENT_POSITION/$PLAYLIST_LENGTH",YTP_SHARE_PANEL_ERROR:"\u041e\u0448\u0438\u0431\u043a\u0430. \u041f\u043e\u0432\u0442\u043e\u0440\u0438\u0442\u0435 \u043f\u043e\u043f\u044b\u0442\u043a\u0443 \u043f\u043e\u0437\u0436\u0435.",
YTP_PLAYLIST_AUTHOR_AND_POSITION:"$AUTHOR \u2022 $CURRENT_POSITION/$PLAYLIST_LENGTH",YTP_SPONSORED:"\u0420\u0435\u043a\u043b\u0430\u043c\u0430",YTP_SPONSORED_PRODUCT_INFO:"\u042d\u0442\u043e \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u043d\u0430\u044f \u0440\u0435\u043a\u043b\u0430\u043c\u0430. \u0415\u0435 \u043f\u043e\u043a\u0430\u0437 \u043c\u043e\u0436\u0435\u0442 \u043e\u043f\u043b\u0430\u0447\u0438\u0432\u0430\u0442\u044c\u0441\u044f \u043f\u0440\u043e\u0434\u0430\u0432\u0446\u043e\u043c.",
YTP_PIP:"\u041a\u0430\u0440\u0442\u0438\u043d\u043a\u0430 \u0432 \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0435",YTP_AUTO_TRANSLATE:"\u041f\u0435\u0440\u0435\u0432\u0435\u0441\u0442\u0438",YTP_SWITCH_CAMERA:"\u0418\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u0440\u0430\u043a\u0443\u0440\u0441",YTP_MULTICAM_INDEX:"\u041a\u0430\u043c\u0435\u0440\u0430\u00a0$CAMERA_INDEX\u00a0\u0438\u0437\u00a0$CAMERA_COUNT",YTP_MORE_CAMERAS_AVAILABLE:"\u041c\u043e\u0436\u043d\u043e \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0438\u0442\u044c\u0441\u044f \u043d\u0430 \u0434\u0440\u0443\u0433\u0443\u044e \u043a\u0430\u043c\u0435\u0440\u0443.",
YTP_VIDEO_SUBTITLES_OVERRIDE:"\u0412\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u0439 \u0441\u0442\u0438\u043b\u044c \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u043e\u0432",YTP_VIDEO_SUBTITLES_OVERRIDE_DESC:"\u0415\u0441\u043b\u0438 \u0432 \u0432\u0438\u0434\u0435\u043e \u0437\u0430\u0434\u0430\u043d\u044b \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u043e\u0432, \u043e\u043d\u0438 \u0438\u043c\u0435\u044e\u0442 \u043f\u0440\u0438\u043e\u0440\u0438\u0442\u0435\u0442.",
YTP_WATCH_VIDEO_OR_PLAYLIST:"\u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c $TITLE",YTP_FONT_FAMILY:"\u0421\u0435\u043c\u0435\u0439\u0441\u0442\u0432\u043e \u0448\u0440\u0438\u0444\u0442\u043e\u0432",YTP_FONT_SIZE:"\u0420\u0430\u0437\u043c\u0435\u0440 \u0448\u0440\u0438\u0444\u0442\u0430",YTP_FONT_COLOR:"\u0426\u0432\u0435\u0442 \u0448\u0440\u0438\u0444\u0442\u0430",YTP_FONT_OPACITY:"\u041f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u043e\u0441\u0442\u044c \u0448\u0440\u0438\u0444\u0442\u0430",
YTP_BACKGROUND_COLOR:"\u0426\u0432\u0435\u0442 \u0444\u043e\u043d\u0430",YTP_BACKGROUND_OPACITY:"\u041f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u043e\u0441\u0442\u044c \u0444\u043e\u043d\u0430",YTP_WINDOW_COLOR:"\u0426\u0432\u0435\u0442 \u043e\u043a\u043d\u0430",YTP_WINDOW_OPACITY:"\u041f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u043e\u0441\u0442\u044c \u043e\u043a\u043d\u0430",YTP_COLOR_WHITE:"\u0411\u0435\u043b\u044b\u0439",YTP_COLOR_YELLOW:"\u0416\u0435\u043b\u0442\u044b\u0439",YTP_COLOR_GREEN:"\u0417\u0435\u043b\u0435\u043d\u044b\u0439",
YTP_COLOR_CYAN:"\u0413\u043e\u043b\u0443\u0431\u043e\u0439",YTP_COLOR_BLUE:"\u0421\u0438\u043d\u0438\u0439",YTP_COLOR_MAGENTA:"\u041f\u0443\u0440\u043f\u0443\u0440\u043d\u044b\u0439",YTP_COLOR_RED:"\u041a\u0440\u0430\u0441\u043d\u044b\u0439",YTP_COLOR_BLACK:"\u0427\u0435\u0440\u043d\u044b\u0439",YTP_FONT_FAMILY_MONO_SERIF:"\u041c\u043e\u043d\u043e\u0448\u0438\u0440\u0438\u043d\u043d\u044b\u0439 \u0441 \u0437\u0430\u0441\u0435\u0447\u043a\u0430\u043c\u0438",YTP_FONT_FAMILY_PROP_SERIF:"\u041f\u0440\u043e\u043f\u043e\u0440\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0439 \u0441 \u0437\u0430\u0441\u0435\u0447\u043a\u0430\u043c\u0438",
YTP_FONT_FAMILY_MONO_SANS:"\u041c\u043e\u043d\u043e\u0448\u0438\u0440\u0438\u043d\u043d\u044b\u0439 \u0431\u0435\u0437 \u0437\u0430\u0441\u0435\u0447\u0435\u043a",YTP_FONT_FAMILY_PROP_SANS:"\u041f\u0440\u043e\u043f\u043e\u0440\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0439 \u0431\u0435\u0437 \u0437\u0430\u0441\u0435\u0447\u0435\u043a",YTP_FONT_FAMILY_CASUAL:"\u041e\u0431\u044b\u0447\u043d\u044b\u0439",YTP_FONT_FAMILY_CURSIVE:"\u041a\u0443\u0440\u0441\u0438\u0432",YTP_FONT_FAMILY_SMALL_CAPS:"\u041c\u0430\u043b\u044b\u0435 \u043f\u0440\u043e\u043f\u0438\u0441\u043d\u044b\u0435",
YTP_CHAR_EDGE_STYLE:"\u0421\u0442\u0438\u043b\u044c \u043a\u043e\u043d\u0442\u0443\u0440\u0430 \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432",YTP_EDGE_STYLE_NONE:"\u0411\u0435\u0437 \u043a\u043e\u043d\u0442\u0443\u0440\u0430",YTP_EDGE_STYLE_RAISED:"\u041f\u0440\u0438\u043f\u043e\u0434\u043d\u044f\u0442\u044b\u0439",YTP_EDGE_STYLE_DEPRESSED:"\u0423\u0442\u043e\u043f\u043b\u0435\u043d\u043d\u044b\u0439",YTP_EDGE_STYLE_OUTLINE:"\u0413\u0440\u0430\u043d\u0438\u0446\u044b",YTP_EDGE_STYLE_DROP_SHADOW:"\u0421 \u0442\u0435\u043d\u044c\u044e",
YTP_CONTRIBUTE_MENU_ITEM:"\u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u044b",YTP_ASR_SETTINGS_LABEL:"\u0410\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u044b\u0435 \u0442\u0438\u0442\u0440\u044b",YTP_LANGUAGE_OFF:"\u0412\u044b\u043a\u043b.",YTP_MINIPLAYER_BUTTON:"\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u043f\u0440\u043e\u0438\u0433\u0440\u044b\u0432\u0430\u0442\u0435\u043b\u044c \u0432 \u0443\u043c\u0435\u043d\u044c\u0448\u0435\u043d\u043d\u043e\u043c \u0440\u0430\u0437\u043c\u0435\u0440\u0435",
YTP_WHY_THIS_AD_REASON_HEADER:"\u0421 \u0447\u0435\u043c \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0441\u0432\u044f\u0437\u0430\u043d \u043f\u043e\u043a\u0430\u0437 \u044d\u0442\u043e\u0433\u043e \u043e\u0431\u044a\u044f\u0432\u043b\u0435\u043d\u0438\u044f:",YTP_WHY_THIS_AD_REASON_VIDEO_WATCHED:"\u0421 \u0432\u0438\u0434\u0435\u043e, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0432\u044b \u0441\u043c\u043e\u0442\u0440\u0438\u0442\u0435.",YTP_WHY_THIS_AD_REASON_SIGNED_IN_ACTIVITY:"\u0421 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f\u043c\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0432\u044b \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u043b\u0438 \u0432 \u0430\u043a\u043a\u0430\u0443\u043d\u0442\u0435 Google.",
YTP_WHY_THIS_AD_REASON_DEVICE_ACTIVITY:"\u0421 \u0432\u0430\u0448\u0438\u043c\u0438 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f\u043c\u0438 \u043d\u0430 \u044d\u0442\u043e\u043c \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0435."});Ofa(this);this.M(a.l,"mutedautoplaychange",this.oF)};
Ofa=function(a){var b=a.app.l,c=(0,g.A)(a.IB,a),d=(0,g.A)(a.JB,a),e=(0,g.A)(a.nF,a),f=(0,g.A)(a.qB,a);b.addEventListener("initializingmode",c);b.addEventListener("videoplayerreset",d);b.addEventListener("videodatachange",e);b.addEventListener("presentingplayerstatechange",f);g.Ze(a,function(){b.removeEventListener("initializingmode",c);b.removeEventListener("videoplayerreset",d);b.removeEventListener("videodatachange",e);b.removeEventListener("presentingplayerstatechange",f)})};
$U=function(a){a.l&&(a.l.removeEventListener("focus",a.T),g.Yd(a.l),a.l=null)};
aV=function(a,b){if(a.l){var c=a.app.g;Gw&&(a.l.setAttribute("x-webkit-airplay","allow"),b.title?a.l.setAttribute("title",b.title):a.l.removeAttribute("title"));g.S(a.app.g.experiments,"html5_no_360_remote_killswitch")||(yC(b)?a.l.setAttribute("disableremoteplayback",""):a.l.removeAttribute("disableremoteplayback"));a.l.setAttribute("controlslist","nodownload");c.Nk&&b.videoId&&(a.l.poster=b.oc(c,"default.jpg"))}c=g.GC(b,"yt:bgcolor");a.A.style.backgroundColor=c?c:"";a.N=wA(g.GC(b,"yt:stretch"));
a.R=wA(g.GC(b,"yt:crop"),!0);g.K(a.element,"ytp-dni",b.isDni);a.ce()};
g.cV=function(a){var b=g.S(a.app.g.experiments,"html5_aspect_from_adaptive_format"),c=g.W(a.app);if(c=c?c.getVideoData():null){if(c.Xd()||c.Yd()||c.Hd())return 16/9;if(b&&rC(c)&&c.sa.g)return b=c.sa.videoInfos[0],bV(b.video.width,b.video.height)}return(a=a.l)?bV(a.videoWidth,a.videoHeight):b?16/9:window.NaN};
g.uM=function(a,b){var c=a.Ba(),d=dV(a,c,g.cV(a),b);return new g.th((c.width-d.width)/2,(c.height-d.height)/2,d.width,d.height)};
dV=function(a,b,c,d){(0,window.isNaN)(a.N)||(c=a.N);var e=c;(0,window.isNaN)(a.J)?(0,window.isNaN)(a.R)||(e=a.R):e=a.J;a=bV(b.width,b.height);(0,window.isFinite)(e)||(e=Math.max(c,a));var f;e>a?f={width:b.width,height:b.width/e,aspectRatio:e}:e<a?f={width:b.height*e,height:b.height,aspectRatio:e}:f={width:b.width,height:b.height,aspectRatio:a};d||(0,window.isNaN)(c)||(c>e?f.width=f.height*c:c<e&&(f.height=f.width/c),f.aspectRatio=c);return f};
bV=function(a,b){return 1>Math.abs(eV*b-a)||1>Math.abs(eV/a-b)?eV:a/b};
fV=function(a){if(1==a.app.Z)return!1;var b=g.XJ(a.app.l);a=g.U(b,1024)&&!g.S(a.app.g.experiments,"dompaused_video_visible_killswitch");return b&&!g.U(b,2)&&!a&&!g.BD(b)};
BM=function(a){var b="3"==a.app.g.A&&!a.F&&fV(a)&&!a.app.ea;a.l.controls=b;a.l.tabIndex=b?0:-1;b?a.l.removeEventListener("focus",a.T):g.S(a.app.g.experiments,"disable_focus_redirect")||a.l.addEventListener("focus",a.T)};
gV=function(a){var b=g.cV(a),c=a.Ba(),d=1,e=!1,f=dV(a,c,b),k=Hs();if(fV(a)){var l=(0,window.isNaN)(b)||Pz||aI&&g.eA;Gw&&!g.Fc(601)?b=f.aspectRatio:l=l||"3"==a.app.g.A;l?l=new g.th(0,0,c.width,c.height):(d=f.aspectRatio/b,l=new g.th((c.width-f.width/d)/2,(c.height-f.height)/2,f.width/d,f.height),1==d&&g.eA&&(b=l.width-c.height*b,0<b&&(l.width+=b,l.height+=b)));k&&(a.l.style.display="");a.L=!0}else b=-c.height,Gw?b*=window.devicePixelRatio:g.nv&&(b-=window.screen.height),l=new g.th(0,b,c.width,c.height),
k&&(a.l.style.display="none"),a.L=!1;g.vh(a.G,l)||(a.G=l,g.XA(a.app.g)?(a.l.style.setProperty("width",l.width+"px","important"),a.l.style.setProperty("height",l.height+"px","important")):g.di(a.l,g.xh(l)),g.Th(a.l,g.yh(l)),e=!0);c=new g.th((c.width-f.width)/2,(c.height-f.height)/2,f.width,f.height);g.vh(a.o,c)||(a.o=c,e=!0);g.Ih(a.l,"transform",1==d?"":"scaleX("+d+")");return e};
hV=function(a){this.I=a;this.C=null;this.g=[];this.o=[];this.B=[];this.G=1;this.l=[];this.A=!1};
vK=function(a,b,c){a.A?a.B.push({type:b,data:c}):a.I.P(b,c)};
g.xL=function(a,b,c){g.Va(a.g,b);g.Xa(a.g,b);var d=String(a.G++);b.setAttribute("data-visual-id",d);g.Ze(c,(0,g.A)(a.F,a,b))};
g.yL=function(a,b,c){var d=b.getAttribute("data-visual-id");g.Va(a.g,b);vK(a,"onLogServerVeCreated",{id:d,tracking_params:c})};
iV=function(a,b,c,d,e){g.R.call(this,{D:"div",H:"ytp-horizonchart"});this.o=Math.round(a/c);this.I=b;this.C=c;this.F=d;this.G=e;this.Oa=0;this.element.style.width=this.o*this.C+"px";this.element.style.height=this.I+"em";this.l=-1;this.B=this.A=null};
jV=function(a,b){if(-1==a.l){try{var c=g.Td("CANVAS");a.A=c.getContext("2d")}catch(m){}if(a.A){var d=a.o*a.C;a.B=c;a.B.width=d;a.B.style.width=d+"px";a.element.appendChild(a.B)}else for(a.C=Math.floor(a.C/4),a.o*=4,c=0;c<a.C;c++)d=g.Td("SPAN"),d.style.width=a.o+"px",d.style.left=a.o*c+"px",a.element.appendChild(d)}c=a.element.clientHeight||24;c!=a.l&&(a.l=c,a.A&&(c=1<(window.devicePixelRatio||1)?2:1,a.B.height=a.l*c,a.B.style.height=a.l+"px",a.A.scale(1,c)));c=g.p(b);for(var e=c.next();!e.done;e=
c.next()){d=a;var f=a.Oa,k=e.value;for(e=0;e+2<d.F.length&&d.F[e+1]<k;)e++;k=Math.min(1,(k-d.F[e])/(d.F[e+1]-d.F[e]));if(d.A)d.A.fillStyle=d.G[e],d.A.fillRect(f*d.o,0,d.o,d.l),d.A.fillStyle=d.G[e+1],d.A.fillRect(f*d.o,d.l*(1-k),d.o,d.l);else{f=d.element.children[f];var l=window.devicePixelRatio||1;k=Math.min(d.l,Math.round(d.l*k*l)/l);f.style.height=k+"px";f.style.backgroundColor=d.G[e+1];f.style.borderTop="solid "+(d.l-k)+"px "+d.G[e]}a.Oa=(a.Oa+1)%a.C}c=a.Oa;a.A?a.A.clearRect(c*a.o,0,a.o,a.l):(c=
a.element.children[c],c.style.height="0px",c.style.borderTop="")};
kV=function(a){var b=null;b={D:"button",W:["html5-video-info-panel-close","ytp-button"],O:{title:"close"},V:"[x]"};g.R.call(this,{D:"div",H:"html5-video-info-panel",K:[b,{D:"div",H:"html5-video-info-panel-content",K:[{D:"div",K:[{D:"div",V:"Video ID / sCPN"},{D:"span",V:"{{video_id_and_cpn}}"}]},{D:"div",K:[{D:"div",V:"Viewport"},{D:"span",V:"{{dimensions}}"}]},{D:"div",K:[{D:"div",V:"Current / Optimal Res"},{D:"span",V:"{{resolution}}"}]},{D:"div",K:[{D:"div",V:"Volume / Normalized"},{D:"span",V:"{{volume}}"}]},
{D:"div",K:[{D:"div",V:"Codecs"},{D:"span",V:"{{codecs}}"}]},{D:"div",O:{style:"{{shader_info_style}}"},K:[{D:"div",V:"Shader Info"},{D:"span",V:"{{shader_info}}"}]},{D:"div",O:{style:"{{color_style}}"},K:[{D:"div",V:"Color"},{D:"span",V:"{{color}}"}]},{D:"div",O:{style:"{{drm_style}}"},K:[{D:"div",V:"Protected"},{D:"span",V:"{{drm}}"}]},{D:"div",O:{style:"{{host_style}}"},K:[{D:"div",V:"Host"},{D:"span",V:"{{stream_host}}"}]},{D:"div",O:{style:"{{bandwidth_style}}"},K:[{D:"div",V:"Connection Speed"},
{D:"span",K:[{D:"span",V:"{{bandwidth_chart}}"},{D:"span",V:"{{bandwidth_kbps}}"}]}]},{D:"div",O:{style:"{{network_activity_style}}"},K:[{D:"div",V:"Network Activity"},{D:"span",K:[{D:"span",V:"{{network_activity_chart}}"},{D:"span",V:"{{network_activity_bytes}}"}]}]},{D:"div",K:[{D:"div",V:"Buffer Health"},{D:"span",K:[{D:"span",V:"{{buffer_health_chart}}"},{D:"span",V:"{{buffer_health_seconds}}"}]}]},{D:"div",O:{style:"{{live_latency_style}}"},K:[{D:"div",V:"Live Latency"},{D:"span",K:[{D:"span",
V:"{{live_latency_chart}}"},{D:"span",V:"{{live_latency_secs}}"}]}]},{D:"div",O:{style:"{{live_mode_style}}"},K:[{D:"div",V:"Live Mode"},{D:"span",V:"{{live_mode}}"}]},{D:"div",K:[{D:"div",V:"Dropped Frames"},{D:"span",V:"{{dropped_frames}}"}]}]}]});b&&this.M(this.g["html5-video-info-panel-close"],"click",this.hide);b=[0,18750,37500,81250,128E3,256E3,512E3,2048E3,8192E3,32768E3,131072E3];var c="#000 #d53e4f #f46d43 #fdae61 #fee08b #e6f598 #abdda4 #66c2a5 #3288bd #124588 #fff".split(" "),d=b.map(function(a){return a/
4});
this.A=new iV(300,1,150,b,c);g.I(this,this.A);this.updateValue("bandwidth_chart",this.A);this.C=new iV(300,1,150,[0,3,10,15,30,60,90],"#000 #66c2a5 #abdda4 #e6f598 #fdae61 #f46d43 #a8330f".split(" "));g.I(this,this.C);this.updateValue("live_latency_chart",this.C);this.B=new iV(300,1,150,[0,15,30,60,90,120],"#000 #fdae61 #e6f598 #66c2a5 #3288bd #fff".split(" "));g.I(this,this.B);this.updateValue("buffer_health_chart",this.B);this.F=new iV(300,1,150,d,c);g.I(this,this.F);this.updateValue("network_activity_chart",
this.F);this.o=new g.L(this.Mp,500,this);g.I(this,this.o);this.l=a};
lV=function(a){var b=/codecs="([^"]*)"/.exec(a.mimeType);return(b&&b[1]?b[1]+" ("+Uv(a)+")":Uv(a))+(a.video&&a.video.isAccelerated?" [acc]":"")};
mV=function(a,b){g.G.call(this);var c=this;this.ra=kaa(b);var d=this.ra.args||{};this.g=new SA(d);g.I(this,this.g);g.S(this.g.experiments,"html5_parse_inline_fallback_host")&&(Ey=!0);g.S(this.g.experiments,"html5_vp9_new_mime")&&void 0!=window.navigator.mediaCapabilities&&(Kz=!0);this.nd=sA(IA(this.g)&&!0,d.enablesizebutton);this.yb=sA(!1,d.player_wide);this.I=new qI;g.I(this,this.I);this.X=sA(!1,d.external_list);this.Ga=(this.Mc=sA(!1,d.external_play_video))&&g.S(this.g.experiments,"player_unified_fullscreen_transitions");
this.L=new g.Gt(this);g.I(this,this.L);Ig=function(a,b){g.N(b,"WARNING")};
this.Y=null;this.ca=new g.Lq;g.I(this,this.ca);this.la=new g.Lq;g.I(this,this.la);this.T=new hV(this.la);this.T.pause();this.l=new QJ(this);g.I(this,this.l);this.N=new QJ(this,1);g.I(this,this.N);this.G=new ZU(this);g.I(this,this.G);this.Z=1;this.Ya={};this.R=this.g.storeUserVolume?saa():{volume:100,muted:this.g.mute};this.Nb=this.g.Xa?new bE(this,1):new zv(this,1);g.I(this,this.Nb);this.B=null;this.dc={};d={};this.Za=(d.internalvideodatachange=this.OG,d.playbackready=this.PG,d.playbackstarted=this.QG,
d.statechange=this.uC,d.signatureexpired=this.QJ,d);this.A=Pfa(this);this.bc=new g.Gt(this);g.I(this,this.bc);this.J=new cE(this.g,this.A);this.o=Qfa(this);d={};this.Qc=(d.airplayactivechange=this.GG,d.airplayavailabilitychange=this.HG,d.beginseeking=this.YG,d.endseeking=this.FH,d.internalAbandon=this.RH,d.internalaudioformatchange=this.TG,d.internalvideodatachange=this.Uo,d.internalvideoformatchange=this.pK,d.liveviewshift=this.XH,d.playbackstalledatstart=this.VJ,d.progresssync=this.xC,d.seekto=
this.yC,d.onLoadProgress=this.YH,d.onVideoProgress=this.AC,d.onLoadedMetadata=this.aI,d.onDompaused=this.AH,d.playbackready=this.VI,d.statechange=this.Tw,d.connectionissue=this.pH,d.newelementrequired=this.GI,d.heartbeatparams=this.vC,d.videoelementevent=this.zC,d.drmoutputrestricted=this.CH,d.requestmediasource=this.vJ,d);this.F=null;this.Ma=new TU(10,function(a){a!=g.W(c,a.getPlayerType())&&(Rfa("c","prefetch_"+a.getVideoData().videoId),a.dispose())});
g.I(this,this.Ma);this.ib=this.tb=-1;this.Ua=new g.L(this.G.ce,16,this.G);g.I(this,this.Ua);this.Ta=!1;this.na=!0;this.Ea=this.Ra=this.C=null;this.cd=!1;this.ub=this.Oc=null;this.Nc=this.va=0;this.ea=this.Ia=!1;this.fa=this.ia=null;this.dd=!1;this.Pc=!0;this.L.M(this.l,"crn_appapi",this.MG);this.L.M(this.l,"crx_appapi",this.NG);this.L.M(this.l,"crn_appad",this.ew);this.L.M(this.l,"crx_appad",this.ew);this.L.M(this.l,"crn_queued",this.kJ);this.L.M(this.l,"presentingplayerstatechange",this.wC);this.L.M(this.l,
"resize",this.xJ);this.G.aa(g.Bd(a));this.L.M(this.l,"offlineslatestatechange",this.LI);this.Bc=Sfa(this,this.G.element);g.I(this,this.Bc);g.mO=this.g.B;Tfa(this);this.J.g("fs");Ufa(this);g.XA(this.g)?g.qK(this.l,"ux"):(g.MQ.ux=g.PU,this.A.ts());g.MQ.ad=BQ};
Qfa=function(a){var b=new yI(a.g,1,a.J,a.G,(0,g.A)(a.ca.P,a.ca),(0,g.A)(a.l.kf,a.l),a.G.ca,a.I);LJ(b,a.g.g?1:nV(a,g.Qu("yt-player-playback-rate")||1));oV(a,b,a.Za);return b};
Pfa=function(a){var b="",c=a.ra.assets.js||"";0==c.indexOf("//")&&(c=a.g.protocol+":"+c);"/base.js"==c.substr(-8)&&(b=c.substr(0,c.length-8)+"/");!g.S(a.g.experiments,"web_player_module_url_debug_killswitch")&&(c=Error().stack)&&(c=c.match(/\((.*?\/(debug-)?player-.*?):\d+:\d+\)/))&&(c=c[1],c.includes(b)||g.N(Error("Player module URL mismatch: "+(c+" vs "+b+".")),"WARNING"));b=new HQ(a.l,b,a);c={};a=(c.loaded=(0,g.A)(a.sI,a),c.unloaded=(0,g.A)(a.tI,a),c.destroyed=(0,g.A)(a.Sp,a),c);b.la=a;return b};
qV=function(a,b){var c=!(!a.Y||!a.Y.Ha());a.Y||(a.Y=new kV(a),g.I(a,a.Y),g.tK(a.l,a.Y.element,4));g.rv(a.Y,b);pV(a)&&c!=b&&g.WJ(a.A).JE();b&&a.F.Wa("sfn","1",!0)};
tV=function(a){var b=rV.getTag(!0,!a.g.deviceHasDisplay);a.B=new g.QQ(b);g.I(a,a.B);a.F&&sV(a,a.F);try{a.g.ea?(a.Ea&&a.L.Na(a.Ea),a.Ea=a.L.M(a.B,"volumechange",a.qI)):(a.B.setVolume(a.R.volume/100),a.B.Lh(a.R.muted))}catch(d){var c="setvolume.1;emsg."+(d.message&&d.message.replace(/[;:,]/g,"_"));g.LI(a.o,"html5.missingapi","YTP_ERROR_UNSUPPORTED_DEVICE",c);return}c=a.G;c.l=b;c.F=!1;c.l.parentNode||Xd(c.A,c.l,0);c.G=new g.th(0,0,0,0);gV(c);BM(c);g.J(c.l,"video-stream");g.J(c.l,"html5-main-video");
b=c.app.g;b.Za&&c.l.setAttribute("data-no-fullscreen",!0);b.Ne&&(c.l.setAttribute("webkit-playsinline",""),c.l.setAttribute("playsinline",""));b.Wj&&c.l&&c.M(c.l,"click",c.l.play,c.l);try{a.B.pe()}catch(d){c="activate.1;emsg."+(d.message&&d.message.replace(/[;:,]/g,"_")),g.LI(a.o,"html5.missingapi","YTP_ERROR_UNSUPPORTED_DEVICE",c)}};
sV=function(a,b){if(g.S(a.g.experiments,"html5_use_media_element_view")){var c=window.MediaSource&&window.SourceBuffer&&window.SourceBuffer.prototype.hasOwnProperty("timestampOffset")?g.T(a.g.experiments,"html5_view_offset"):0;dJ(b,new g.QU(a.B,c,window.Infinity))}else dJ(b,a.B)};
uV=function(a){a.B&&(a.Ea&&(a.L.Na(a.Ea),a.Ea=null),a.F&&bJ(a.F),$U(a.G),a.B.gf()&&rV.releaseTag(a.B.ha()),a.B=null)};
g.gO=function(a,b){var c=g.W(a,b);c||(c=vV(a,b),wV(a,c));AK(a,c)};
AK=function(a,b){if(a.F!=b){var c=null;a.F&&(c=a.F.o,PQ(a.A),nK(a,"cuerangesremoved",KG(a.F.J)||[]),BK(a));wV(a,b);a.F=b;a.B&&sV(a,b);oV(a,b,a.Qc);a.Uo("newdata",b,b.getVideoData());c&&!g.yD(c,b.o)&&a.Tw(new g.ED(b.o,c));b.ra.g&&a.Uo("dataloaded",b,b.getVideoData());b.getVideoData().xa&&a.l.ma("onPlaybackQualityChange",b.getVideoData().xa.video.quality);nK(a,"cuerangesadded",KG(a.F.J)||[]);g.AD(b.o)&&iJ(b)}};
oV=function(a,b,c){for(var d in c)b.subscribe(d,c[d],a)};
wV=function(a,b){if(b!=a.o){var c=b.getPlayerType();a.dc[c]=b}};
BK=function(a){if(a.B){var b=a.A.o;b&&b.Xt(a.B)&&(uV(a),tV(a))}bJ(a.F);b=a.F;var c=a.Qc,d;for(d in c)b.unsubscribe(d,c[d],a);a.F=null};
g.W=function(a,b){return b?1==b?a.o:a.dc[b]||null:a.F};
vV=function(a,b){var c=a.J;2==b&&(c=new cE(a.g));return new yI(a.g,b,c,a.G,(0,g.A)(a.ca.P,a.ca),(0,g.A)(a.l.kf,a.l),a.G.ca,a.I)};
xV=function(a){var b=a.getVideoData(),c=10<b.lengthSeconds,d=a.A;if(!d.B)try{KQ(d)?(d.B=new BQ(d.ra.N),d.B&&d.B.create()):g.qK(d.g,"ad")}catch(e){g.qK(d.g,"ad"),g.N(e)}d.qs();d.ia&&c?g.qK(d.g,"endscreen"):d.Cn();d.xs();d.zs();d.ys();d.os();d.ia&&c?(g.qK(d.g,"annotations_module"),g.qK(d.g,"creatorendscreen")):(d.An(),d.Bn());d.ls();d.ks();d.Dn();d.rs();d.ms();d.As();d.ws();c&&RC(b,a.g)?a.bc.M(a.l,"presentingplayerstatechange",a.aJ):JQ(a.A);a.l.P("videoready",b)};
yV=function(a){var b=tw();return!!(b&&b.canPlayType&&b.canPlayType(a))};
zV=function(a){return a.o.getVideoData()};
AV=function(a,b){var c=g.W(a,b);return(c=c?c.l:null)?oD(c):0};
BV=function(a){var b=zV(a);return RC(b,a.g)};
Tfa=function(a){var b=new g.nC(a.ra.args);g.Su()&&b.tc.push("remote");g.S(a.g.experiments,"web_player_ux_module_wait")&&b.tc.push("ux");b.Uc()&&(JI(a.o,b,(0,g.A)(a.Tc,a)),!g.S(a.g.experiments,"html5_delay_initial_loading")&&BV(a)&&(a.g.Mc||a.g.Nc)&&OI(a.o))};
Ufa=function(a){var b=a.G,c=b.app.g;c.wf||b.Kl("tag-pool-enabled");c.Zb&&b.Kl("house-brand");"gvn"==c.playerStyle&&(b.Kl("ytp-gvn"),b.element.style.backgroundColor="transparent");c.X&&(b.I=g.Ut("yt-dom-content-change",b.ce,b));b.M(window,"resize",b.ce,b);b=a.Nb;b.o=a.G.element;for(var d in b.A)b.o[d]=b.A[d];(d=lt(a.G.element))&&a.L.M(a.G,d,a.IH);a.L.M(window,"resize",a.yJ);b=a.ra.args;tV(a);d=zV(a);a.l.ma("onVolumeChange",a.R);if(b&&mE(b))if((c=YA(a.g))&&!a.X&&(b.fetch=0),CV(a,b),c&&!a.X)DV(a);else if(!d.Uc())a.C.onReady((0,g.A)(a.Zp,
a));AK(a,a.o);if(!g.U(a.o.o,128)){a:{b=a.g.deviceHasDisplay;try{var e=tw();if(e.canPlayType)for(b=b?Vfa:Wfa,c=0;c<b.length;c++)if(e.canPlayType(b[c])){var f=null;break a}f="fmt.noneavailable"}catch(k){f="html5.missingapi"}}"fmt.noneavailable"==f?g.LI(a.o,"html5.missingapi","YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK","nocodecs.1"):"html5.missingapi"==f?g.LI(a.o,f,"YTP_ERROR_UNSUPPORTED_DEVICE","nocanplaymedia.1"):d&&d.Uc()&&BV(a)&&(a.g.Mc||a.g.Nc)?EV(a):g.cB(a.g)||FV(a)}};
FV=function(a){a.l.P("initializingmode");g.GV(a,2);a.A.Dn()};
EV=function(a){if(g.U(a.o.o,128))return!1;BV(a)&&a.g.Nc&&(rV.hasTags(void 0)&&a.ea?(Dv(a,{muted:!1,volume:a.R.volume},!1),HV(a,!1)):rV.hasTags(void 0)||a.R.muted||(Dv(a,{muted:!0,volume:a.R.volume},!1),HV(a,!0)));IV(a,1,a.o.getVideoData());a.l.P("initializingmode");AK(a,a.o);g.GV(a,3);var b=a.A.o;if(!a.g.wf||b&&b.Xt(a.B)&&a.cd)uV(a),tV(a),sV(a,a.o);RI(a.o);if(g.U(a.o.o,128))return!1;JV(a,3);return a.cd=!0};
pV=function(a){a=g.WJ(a.A);return!!a&&a.loaded};
LV=function(a,b){1==b&&(a.J.g("vr"),a.va||(a.va=LB(a.ow,a)),HJ(a.F),fE(a.J,a.F.getVideoData(),KV(a)));var c=a.g;(g.cB(c)&&c.Xa||g.XA(c))&&a.l.ma("onAdStateChange",b)};
MV=function(a,b){if(a.F==a.o&&a.F.Qc!=b){var c=a.F;c.Qc=b;c.l&&c.l.wl(b);a.l.P("loopchange",b)}};
NV=function(a,b,c){(0,window.isNaN)(b)||(b=nV(a,b),a.o.Ia!=b&&(LJ(a.o,b),c&&!a.g.g&&g.Pu("yt-player-playback-rate",b),a.l.ma("onPlaybackRateChange",b)))};
nV=function(a,b){var c=1;c=a.l.Mh();return c=1>b?g.Ra(c,function(a){return a>=b}):Ta(c,function(a){return a<=b})};
OV=function(a,b){var c=g.W(a,b);return c?c.gj():0};
QV=function(a,b){var c=FJ(a.o,b);a.F&&a.F!=a.o&&(c=PV(c,FJ(a.F,b),"ad_"));if(b&&a.B){c["0sz"]=0==a.B.kj().se();c.op=a.B.Qi("opacity");var d=a.B.fp().y+a.B.kj().height;c.yof=0>=d;c.dis=a.B.Qi("display")}(d=b?(0,g.NI)():null)&&(c.gpu=d);c.cgr=!0;c.debug_playbackQuality=a.N.mj();c.debug_date=(new Date).toString();delete c.uga;delete c.q;(d=a.A.I)&&(c=PV(c,d.gz(),"fresca_"));return JSON.stringify(c,null,2)};
VJ=function(a){return 1==a.Z?1:pV(a)?3:g.W(a).getPlayerType()};
RV=function(a,b){return 3==VJ(a)?DD(g.WJ(a.A).F):2==b?a.ib:a.tb};
TV=function(a){SV(a);MV(a,!1);a.Ya={};a=a.J;var b=a.l;b.fa={};b.ca={};a.A=!1};
DV=function(a){var b=UV();if(b)if(b.list){if(a.C&&a.C.listId.toString()==b.list)if(0<=b.index){var c=b.video;a.l.isFullscreen()&&((c=c[a.C.Oa])&&c.encrypted_id!=a.C.sb().videoId||(b.index=a.C.Oa));qE(a.C,b);a.Ra&&VV(a,a.Ra)}else a.Ra=null}else a.tk()};
CV=function(a,b){a.C&&(a.C.unsubscribe("error",a.tk,a),g.$e(a.C),a.C=null);b&&(a.X&&(b.fetch=0),a.C=new g.lE(b),a.C.subscribe("error",a.tk,a))};
WV=function(a,b,c,d){b in a.Ya||(c=new g.gE(c,d,{id:b,priority:1}),c.namespace="appad",JG(a.o.J,[c]),a.Ya[b]=c)};
Xfa=function(a){if(g.S(a.g.experiments,"enable_player_chapter_markers")){for(var b=a.getVideoData(),c=[],d=0;d<b.chapterMarkers.length;d++){var e=b.chapterMarkers[d].playerChapterMarkerRenderer;if(e){var f={id:"__chapterMarker"+d+"__",style:"ytp-chapter-marker",visible:!0};e.color&&(f.color=e.color);e.tooltip&&(f.tooltip=e.tooltip);e.icons&&(f.icons=e.icons.map(function(a){return a.thumbnails[0].url}));
var k=e.startTimeMs;e=new g.gE(k,e.endTimeMs||k,f);e.namespace="appchaptermarker";c.push(e)}}lK(a,c,1)}};
g.GV=function(a,b){b!=a.Z&&(2==b&&(JV(a,-1),JV(a,5)),a.Z=b,a.l.P("appstatechange",b))};
JV=function(a,b){a.F&&2==a.F.getPlayerType()?a.ib!=b&&(a.ib=b,a.l.ma("onAdStateChange",b)):a.tb!=b&&(a.tb=b,a.l.ma("onStateChange",b))};
XV=function(a,b,c,d,e){c=0!=c;if(e=g.W(a,e))2==a.Z&&EV(a),TI(e,b,c,d)};
YV=function(a){a.ia&&(a.F.J.B(a.ia.Bs),a.ia=null,a.fa&&(a.fa.dispose(),a.fa=null))};
$V=function(a,b,c,d,e){a.g.Zb&&nB(b);var f=new g.nC(b);d||(b&&mE(b)?(YA(a.g)&&!a.X&&(b.fetch=0),CV(a,b)):a.C&&CV(a,null),a.X=sA(!1,b.external_list),YA(a.g)&&!a.X&&DV(a));return ZV(a,f,c,e)};
IV=function(a,b,c){if(a.fa&&b==a.fa.getPlayerType()&&c.videoId==a.fa.getVideoData().videoId){var d=a.fa;a.fa=null}if(!d){var e=b+c.videoId;d=a.Ma.get(e);if(!d)return null;a.Ma.remove(e);if(d==g.W(a,b))return d}if((d.getVideoData().oauthToken||c.oauthToken)&&d.getVideoData().oauthToken!=c.oauthToken)return null;if(1==d.getPlayerType()){d.getVideoData().autonavState=a.o.getVideoData().autonavState;b=d;c=a.o;e=a.Za;for(var f in e)c.unsubscribe(f,e[f],a);f=a.o.Ia;a.o.dispose();a.o=b;LJ(a.o,f);oV(a,b,
a.Za);TV(a)}else(f=g.W(a,b))&&f.dispose();a.F.getPlayerType()==d.getPlayerType()?AK(a,d):wV(a,d);return d};
ZV=function(a,b,c,d){cC("_start","")||(TB("yt_sts","p",""),UB("_start",void 0,""),a.J.info("srt",0));var e=IV(a,c||a.F.getPlayerType(),b);e&&(0,g.dE)("pfp",void 0,"prefetch_"+b.videoId);if(!e){e=g.W(a,c);if(!e)return!1;a.Ua.stop();aW(a,c);JI(e,b,(0,g.A)(a.Tc,a),d)}e==a.o&&(a.g.R=b.oauthToken);if(!MI(e))return!1;a.Ta&&(e.Ya=!1,a.Ta=!1);if(e==a.o)return g.GV(a,1),EV(a);RI(e);return!0};
bW=function(a,b,c){c=g.W(a,c);b&&c==a.o&&(c.getVideoData().Rf=!0)};
dW=function(a,b,c){a.g.Zb&&nB(b);if(b&&mE(b))if(a.na=!0,CV(a,b),(b=a.C.sb())&&b.Uc())cW(a,b,c);else a.C.onReady((0,g.A)(a.Zp,a));else c||(c=VJ(a)),1==c&&a.tk(),cW(a,new g.nC(b),c)};
cW=function(a,b,c){var d=g.W(a,c);d&&(aW(a,c),JI(d,b,(0,g.A)(a.Tc,a)),d==a.o&&(g.GV(a,1),FV(a)))};
g.fW=function(a,b,c,d,e,f,k){if(!b&&!d)throw Error("Playback source is invalid");a.l.isFullscreen()&&!a.Ga||!IA(a.g)&&!g.GA(a.g)?(c=a.J,f=c.l,f.fa={},f.ca={},c.A=!1,a.J.reset(),b={video_id:b},e&&(b.autoplay="1"),g.S(a.g.experiments,"html5_player_autonav_logging")&&e&&(b.autonav="1"),d?(b.list=d,a.na=!1,eW(a,b,void 0,void 0,void 0)):$V(a,b,1)):(c=c||{},c.lact=g.uu(),c.vis=a.l.kf(),a.Mc||"gaming"==a.g.playerStyle?a.l.ma("onPlayVideo",{videoId:b,watchEndpoint:k,sessionData:c,listId:d}):(a=f&&a.getVideoData().isLiveDestination?
a.g.loaderUrl:a.g.getVideoUrl(b,d),g.z("yt.player.exports.navigate")(a,c)))};
eW=function(a,b,c,d,e){if(g.Fa(b)&&!g.Ca(b)){c="playlist list listType index startSeconds suggestedQuality".split(" ");d={};for(e=0;e<c.length;e++){var f=c[e];b[f]&&(d[f]=b[f])}b=d}else c={index:c,startSeconds:d,suggestedQuality:e},g.v(b)&&16==b.length?c.list="PL"+b:c.playlist=b,b=c;CV(a,b);a.C.onReady((0,g.A)(a.Zp,a))};
g.gW=function(a){if(a.l.app.ea)return!1;if(3==VJ(a))return!0;YA(a.g)&&!a.X&&DV(a);return!(!a.C||!a.C.hasNext())};
hW=function(a,b,c){var d=g.W(a,1).getVideoData().suggestions;g.uK(a.l)&&d?(d=g.E(d,g.UQ),b=d[0],d=c?b.Is:b.Yc,g.fW(a,b.sb().videoId,d,b.getPlaylistId(),c)):!a.X||a.l.isFullscreen()&&!a.Ga?3==VJ(a)?g.WJ(a.A).HE():a.C&&(YA(a.g)&&!a.l.isFullscreen()?VV(a,"yt.www.watch.lists.next"):(a.C.hasNext(b)&&pE(a.C,nE(a.C)),a.C.De?(b=c&&g.S(a.g.experiments,"html5_player_autonav_logging"),ZV(a,a.C.sb(void 0,c,b),1)):a.na=!1)):a.l.ma("onPlaylistNext")};
iW=function(a,b){!a.X||a.l.isFullscreen()&&!a.Ga?3==VJ(a)?g.WJ(a.A).IE():a.C&&(YA(a.g)&&!a.l.isFullscreen()?VV(a,"yt.www.watch.lists.prev"):(a.C.Ce(b)&&pE(a.C,oE(a.C)),a.C.De?ZV(a,a.C.sb(),1):a.na=!1)):a.l.ma("onPlaylistPrevious")};
VV=function(a,b){var c=g.z(b);if(c){var d=UV();d&&d.list&&c();a.Ra=null}else a.Ra=b};
UV=function(){var a=g.z("yt.www.watch.lists.getState");return a?a():null};
jW=function(a,b,c,d,e,f){b={id:b};"chapter"==f?(b.style="ytp-chapter-marker",b.visible=!0):(0,window.isNaN)(e)||("ad"==f?b.style="ytp-ad-progress":(b.style="ytp-time-marker",b.color=e),b.visible=!0);c=new g.gE(1E3*c,1E3*d,b);c.namespace="appapi";lK(a,[c],1);return!0};
lK=function(a,b,c){var d=g.W(a,c);d&&(JG(d.J,b),c&&VJ(a)!=c||nK(a,"cuerangesadded",b))};
KV=function(a){var b=g.P(),c=a.getCurrentTime();a=a.getVideoData();return b-Math.max(1E3*(c-a.startSeconds),0)};
Dv=function(a,b,c){a.g.L&&(a.R=b,b.muted||HV(a,!1),c&&a.g.storeUserVolume&&!a.g.ea&&(c={volume:Math.floor(b.volume),muted:b.muted},c.unstorable||(g.Pu("yt-player-volume",c),g.Pu("yt-player-volume",c,2592E3))),kW(a),c=g.Ew&&!a.B.Ec(),!a.g.ea||c)&&(b=g.qc(b),a.g.storeUserVolume||(b.unstorable=!0),a.l.ma("onVolumeChange",b))};
kW=function(a){var b=a.getVideoData();b.gk||(b=a.g.ea?1:TC(b,a.g),a.B.setVolume(a.R.volume*b/100),a.B.Lh(a.R.muted))};
HV=function(a,b){b!=a.ea&&(a.ea=b,a.l.P("mutedautoplaychange",b))};
mW=function(a,b){var c=window.screen&&window.screen.orientation;if(g.S(a.g.experiments,"lock_fullscreen2")&&c&&c.lock&&(!g.Ew||!g.lW))if(b){var d=0==c.type.indexOf("portrait"),e=g.cV(a.G),f=d;1>e?f=!0:1<e&&(f=!1);if(!a.Ia||f!=d){if(c=c.lock(f?"portrait":"landscape"))c["catch"](g.za);a.Ia=!0}}else a.Ia&&(a.Ia=!1,c.unlock())};
oW=function(a,b){var c=!!b,d=!!nW(a)!=c;g.S(a.g.experiments,"html5_new_vis_fullscreen_and_airplay")||(a.Nc=b,a.g.gh=c);var e=a.I;e.B!=b&&(e.B=b,e.A());a.G.ce();d&&a.J.g("fsc");d&&(a.l.P("fullscreentoggled",c),d=zV(a),c={fullscreen:c,videoId:d.ypcOrigin||d.videoId,time:a.getCurrentTime()},a.N.getPlaylistId()&&(c.listId=a.N.getPlaylistId()),a.l.ma("onFullscreenChange",c))};
nW=function(a){return g.S(a.g.experiments,"html5_new_vis_fullscreen_and_airplay")?a.I.B:a.Nc};
nK=function(a,b,c){a.l.P(b,c);var d=g.RA(a.g)||g.XA(a.g)||"WEB_REMIX"==a.g.o.c;if(c&&d){switch(b){case "cuerangemarkersupdated":var e="onCueRangeMarkersUpdated";break;case "cuerangesadded":e="onCueRangesAdded";break;case "cuerangesremoved":e="onCueRangesRemoved"}e&&a.l.ma(e,c)}};
qW=function(a,b){var c=g.W(a,b);c&&(2==a.Z?EV(a):g.S(a.g.experiments,"html5_restore_userreload_killswitch")&&c.o.isError()?pW(a,"user"):(null!=a.Y&&a.Y.Ha()&&a.Y.start(),g.U(c.o,2)?XV(a,0):iJ(c)))};
aW=function(a,b){g.KB(a.va);a.va=0;var c=g.W(a,b);c&&1!=a.Z&&2!=a.Z&&(c==a.F&&PQ(a.A),1==b&&(g.S(a.g.experiments,"html5_stop_video_in_cancel_playback")&&AJ(c),SV(a)),g.aJ(c),nK(a,"cuerangesremoved",KG(c.J)||[]),c.J.reset())};
rW=function(a,b,c,d,e){c=0!=c;var f=g.W(a,e);if(!f||2!=f.getPlayerType()&&!g.LC(f.getVideoData()))3==VJ(a)?g.WJ(a.A).rj("control_seek",b,c):XV(a,b,c,d,e)};
pW=function(a,b,c){if(!(a.Ta||g.S(a.g.experiments,"html5_only_reload_for_yt_killswitch")&&"yt"!=a.g.ca)){c&&(uV(a),tV(a));a.Ta=!0;c=g.W(a);c.Ya=!0;c.Wa("reloading","reason."+b);c=a.getVideoData();var d={};d.video_id=c.videoId;d.adformat=c.adFormat;c.pa||(d.start=g.W(a).getCurrentTime(),d.resume="1");c.Le&&(d.vvt=c.Le);c.vssCredentialsToken&&(d.vss_credentials_token=c.vssCredentialsToken,d.vss_credentials_token_type=c.Pm);c.oauthToken&&(d.oauth_token=c.oauthToken);d.autoplay=1;d.reload_count=c.qf+
1;d.reload_reason=b;c.li&&(d.unplugged_partner_opt_out=c.li);$V(a,d)}};
sW=function(a,b){zV(a).autonavState=b;g.Pu("yt-player-autonavstate",b);a.l.P("autonavchange",b)};
tW=function(a){var b=a.getVideoData().gk,c=a.g.Af;b||c?a.B.Gn():(a.B.In(),Dv(a,a.R))};
Sfa=function(a,b){return g.S(a.g.experiments,"html5_enable_embedded_player_visibility_signals")&&a.g.g?new YU(b):null};
SV=function(a){(a=a.A.B)&&a.created&&(a.unload(),a.created=!1)};
PV=function(a,b,c){for(var d in b)a[c+d]=b[d];return a};
g.uW=function(a,b){var c={},d;for(d in b)c.placeholder=b[d],a=a.replace(new RegExp("\\$"+d,"gi"),function(a){return function(){return a.placeholder}}(c)),c={placeholder:c.placeholder};
return a};
aa=[];ha="function"==typeof Object.defineProperties?Object.defineProperty:function(a,b,c){a!=Array.prototype&&a!=Object.prototype&&(a[b]=c.value)};
ea="undefined"!=typeof window&&window===this?this:"undefined"!=typeof window.global&&null!=window.global?window.global:this;fa=function(){var a=0;return function(b){return"jscomp_symbol_"+(b||"")+a++}}();
ma="function"==typeof Object.create?Object.create:function(a){function b(){}
b.prototype=a;return new b};
if("function"==typeof Object.setPrototypeOf)vW=Object.setPrototypeOf;else{var wW;a:{var Yfa={Cc:!0},xW={};try{xW.__proto__=Yfa;wW=xW.Cc;break a}catch(a){}wW=!1}vW=wW?function(a,b){a.__proto__=b;if(a.__proto__!==b)throw new TypeError(a+" is not extensible");return a}:null}var na=vW;
ra("Array.prototype.findIndex",function(a){return a?a:function(a,c){return qa(this,a,c).Nt}});
ra("String.prototype.repeat",function(a){return a?a:function(a){var b=sa(this,null,"repeat");if(0>a||1342177279<a)throw new window.RangeError("Invalid count value");a|=0;for(var d="";a;)if(a&1&&(d+=b),a>>>=1)b+=b;return d}});
ra("Array.prototype.find",function(a){return a?a:function(a,c){return qa(this,a,c).Qy}});
ra("String.prototype.endsWith",function(a){return a?a:function(a,c){var b=sa(this,a,"endsWith");a+="";void 0===c&&(c=b.length);for(var e=Math.max(0,Math.min(c|0,b.length)),f=a.length;0<f&&0<e;)if(b[--e]!=a[--f])return!1;return 0>=f}});
var Zfa="function"==typeof Object.assign?Object.assign:function(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];if(d)for(var e in d)ta(d,e)&&(a[e]=d[e])}return a};
ra("Object.assign",function(a){return a||Zfa});
ra("Promise",function(a){function b(a){this.l=0;this.o=void 0;this.g=[];var b=this.A();try{a(b.resolve,b.reject)}catch(m){b.reject(m)}}
function c(){this.g=null}
function d(a){return a instanceof b?a:new b(function(b){b(a)})}
if(a)return a;c.prototype.l=function(a){null==this.g&&(this.g=[],this.A());this.g.push(a)};
c.prototype.A=function(){var a=this;this.o(function(){a.C()})};
var e=ea.setTimeout;c.prototype.o=function(a){e(a,0)};
c.prototype.C=function(){for(;this.g&&this.g.length;){var a=this.g;this.g=[];for(var b=0;b<a.length;++b){var c=a[b];a[b]=null;try{c()}catch(n){this.B(n)}}}this.g=null};
c.prototype.B=function(a){this.o(function(){throw a;})};
b.prototype.A=function(){function a(a){return function(d){c||(c=!0,a.call(b,d))}}
var b=this,c=!1;return{resolve:a(this.J),reject:a(this.B)}};
b.prototype.J=function(a){if(a===this)this.B(new TypeError("A Promise cannot resolve to itself"));else if(a instanceof b)this.L(a);else{a:switch(typeof a){case "object":var c=null!=a;break a;case "function":c=!0;break a;default:c=!1}c?this.I(a):this.C(a)}};
b.prototype.I=function(a){var b=void 0;try{b=a.then}catch(m){this.B(m);return}"function"==typeof b?this.N(b,a):this.C(a)};
b.prototype.B=function(a){this.F(2,a)};
b.prototype.C=function(a){this.F(1,a)};
b.prototype.F=function(a,b){if(0!=this.l)throw Error("Cannot settle("+a+", "+b+"): Promise already settled in state"+this.l);this.l=a;this.o=b;this.G()};
b.prototype.G=function(){if(null!=this.g){for(var a=0;a<this.g.length;++a)f.l(this.g[a]);this.g=null}};
var f=new c;b.prototype.L=function(a){var b=this.A();a.mk(b.resolve,b.reject)};
b.prototype.N=function(a,b){var c=this.A();try{a.call(b,c.resolve,c.reject)}catch(n){c.reject(n)}};
b.prototype.then=function(a,c){function d(a,b){return"function"==typeof a?function(b){try{e(a(b))}catch(M){f(M)}}:b}
var e,f,k=new b(function(a,b){e=a;f=b});
this.mk(d(a,e),d(c,f));return k};
b.prototype["catch"]=function(a){return this.then(void 0,a)};
b.prototype.mk=function(a,b){function c(){switch(d.l){case 1:a(d.o);break;case 2:b(d.o);break;default:throw Error("Unexpected state: "+d.l);}}
var d=this;null==this.g?f.l(c):this.g.push(c)};
b.resolve=d;b.reject=function(a){return new b(function(b,c){c(a)})};
b.race=function(a){return new b(function(b,c){for(var e=g.p(a),f=e.next();!f.done;f=e.next())d(f.value).mk(b,c)})};
b.all=function(a){var c=g.p(a),e=c.next();return e.done?d([]):new b(function(a,b){function f(b){return function(c){k[b]=c;l--;0==l&&a(k)}}
var k=[],l=0;do k.push(void 0),l++,d(e.value).mk(f(k.length-1),b),e=c.next();while(!e.done)})};
return b});
ra("Math.trunc",function(a){return a?a:function(a){a=Number(a);if((0,window.isNaN)(a)||window.Infinity===a||-window.Infinity===a||0===a)return a;var b=Math.floor(Math.abs(a));return 0>a?-b:b}});
ra("Array.prototype.fill",function(a){return a?a:function(a,c,d){var b=this.length||0;0>c&&(c=Math.max(0,b+c));if(null==d||d>b)d=b;d=Number(d);0>d&&(d=Math.max(0,b+d));for(c=Number(c||0);c<d;c++)this[c]=a;return this}});
ra("WeakMap",function(a){function b(a){this.Ca=(f+=Math.random()+1).toString();if(a){da();ka();a=g.p(a);for(var b;!(b=a.next()).done;)b=b.value,this.set(b[0],b[1])}}
function c(a){ta(a,e)||ha(a,e,{value:{}})}
function d(a){var b=Object[a];b&&(Object[a]=function(a){c(a);return b(a)})}
if(function(){if(!a||!Object.seal)return!1;try{var b=Object.seal({}),c=Object.seal({}),d=new a([[b,2],[c,3]]);if(2!=d.get(b)||3!=d.get(c))return!1;d["delete"](b);d.set(c,4);return!d.has(b)&&4==d.get(c)}catch(n){return!1}}())return a;
var e="$jscomp_hidden_"+Math.random();d("freeze");d("preventExtensions");d("seal");var f=0;b.prototype.set=function(a,b){c(a);if(!ta(a,e))throw Error("WeakMap key fail: "+a);a[e][this.Ca]=b;return this};
b.prototype.get=function(a){return ta(a,e)?a[e][this.Ca]:void 0};
b.prototype.has=function(a){return ta(a,e)&&ta(a[e],this.Ca)};
b.prototype["delete"]=function(a){return ta(a,e)&&ta(a[e],this.Ca)?delete a[e][this.Ca]:!1};
return b});
ra("Map",function(a){function b(){var a={};return a.previous=a.next=a.head=a}
function c(a,b){var c=a.g;return la(function(){if(c){for(;c.head!=a.g;)c=c.previous;for(;c.next!=c.head;)return c=c.next,{done:!1,value:b(c)};c=null}return{done:!0,value:void 0}})}
function d(a,b){var c=b&&typeof b;"object"==c||"function"==c?f.has(b)?c=f.get(b):(c=""+ ++k,f.set(b,c)):c="p_"+b;var d=a.l[c];if(d&&ta(a.l,c))for(var e=0;e<d.length;e++){var l=d[e];if(b!==b&&l.key!==l.key||b===l.key)return{id:c,list:d,index:e,Sc:l}}return{id:c,list:d,index:-1,Sc:void 0}}
function e(a){this.l={};this.g=b();this.size=0;if(a){a=g.p(a);for(var c;!(c=a.next()).done;)c=c.value,this.set(c[0],c[1])}}
if(function(){if(!a||"function"!=typeof a||!a.prototype.entries||"function"!=typeof Object.seal)return!1;try{var b=Object.seal({x:4}),c=new a(g.p([[b,"s"]]));if("s"!=c.get(b)||1!=c.size||c.get({x:4})||c.set({x:4},"t")!=c||2!=c.size)return!1;var d=c.entries(),e=d.next();if(e.done||e.value[0]!=b||"s"!=e.value[1])return!1;e=d.next();return e.done||4!=e.value[0].x||"t"!=e.value[1]||!d.next().done?!1:!0}catch(u){return!1}}())return a;
da();ka();var f=new window.WeakMap;e.prototype.set=function(a,b){a=0===a?0:a;var c=d(this,a);c.list||(c.list=this.l[c.id]=[]);c.Sc?c.Sc.value=b:(c.Sc={next:this.g,previous:this.g.previous,head:this.g,key:a,value:b},c.list.push(c.Sc),this.g.previous.next=c.Sc,this.g.previous=c.Sc,this.size++);return this};
e.prototype["delete"]=function(a){a=d(this,a);return a.Sc&&a.list?(a.list.splice(a.index,1),a.list.length||delete this.l[a.id],a.Sc.previous.next=a.Sc.next,a.Sc.next.previous=a.Sc.previous,a.Sc.head=null,this.size--,!0):!1};
e.prototype.clear=function(){this.l={};this.g=this.g.previous=b();this.size=0};
e.prototype.has=function(a){return!!d(this,a).Sc};
e.prototype.get=function(a){return(a=d(this,a).Sc)&&a.value};
e.prototype.entries=function(){return c(this,function(a){return[a.key,a.value]})};
e.prototype.keys=function(){return c(this,function(a){return a.key})};
e.prototype.values=function(){return c(this,function(a){return a.value})};
e.prototype.forEach=function(a,b){for(var c=this.entries(),d;!(d=c.next()).done;)d=d.value,a.call(b,d[1],d[0],this)};
e.prototype[window.Symbol.iterator]=e.prototype.entries;var k=0;return e});
ra("Set",function(a){function b(a){this.g=new window.Map;if(a){a=g.p(a);for(var b;!(b=a.next()).done;)this.add(b.value)}this.size=this.g.size}
if(function(){if(!a||"function"!=typeof a||!a.prototype.entries||"function"!=typeof Object.seal)return!1;try{var b=Object.seal({x:4}),d=new a(g.p([b]));if(!d.has(b)||1!=d.size||d.add(b)!=d||1!=d.size||d.add({x:4})!=d||2!=d.size)return!1;var e=d.entries(),f=e.next();if(f.done||f.value[0]!=b||f.value[1]!=b)return!1;f=e.next();return f.done||f.value[0]==b||4!=f.value[0].x||f.value[1]!=f.value[0]?!1:e.next().done}catch(k){return!1}}())return a;
da();ka();b.prototype.add=function(a){a=0===a?0:a;this.g.set(a,a);this.size=this.g.size;return this};
b.prototype["delete"]=function(a){a=this.g["delete"](a);this.size=this.g.size;return a};
b.prototype.clear=function(){this.g.clear();this.size=0};
b.prototype.has=function(a){return this.g.has(a)};
b.prototype.entries=function(){return this.g.entries()};
b.prototype.values=function(){return this.g.values()};
b.prototype.keys=b.prototype.values;b.prototype[window.Symbol.iterator]=b.prototype.values;b.prototype.forEach=function(a,b){var c=this;this.g.forEach(function(d){return a.call(b,d,d,c)})};
return b});
ra("Object.is",function(a){return a?a:function(a,c){return a===c?0!==a||1/a===1/c:a!==a&&c!==c}});
ra("Array.prototype.includes",function(a){return a?a:function(a,c){var b=this;b instanceof String&&(b=String(b));var e=b.length,f=c||0;for(0>f&&(f=Math.max(f+e,0));f<e;f++){var k=b[f];if(k===a||Object.is(k,a))return!0}return!1}});
ra("String.prototype.includes",function(a){return a?a:function(a,c){return-1!==sa(this,a,"includes").indexOf(a,c||0)}});
ra("Array.from",function(a){return a?a:function(a,c,d){ka();c=null!=c?c:function(a){return a};
var b=[],f=a[window.Symbol.iterator];if("function"==typeof f){a=f.call(a);for(var k=0;!(f=a.next()).done;)b.push(c.call(d,f.value,k++))}else for(f=a.length,k=0;k<f;k++)b.push(c.call(d,a[k],k));return b}});
ra("Object.values",function(a){return a?a:function(a){var b=[],d;for(d in a)ta(a,d)&&b.push(a[d]);return b}});
var $fa=function(){function a(){function a(){}
window.Reflect.construct(a,[],function(){});
return new a instanceof a}
if("undefined"!=typeof window.Reflect&&window.Reflect.construct){if(a())return window.Reflect.construct;var b=window.Reflect.construct;return function(a,d,e){a=b(a,d);e&&window.Reflect.setPrototypeOf(a,e.prototype);return a}}return function(a,b,e){void 0===e&&(e=a);
e=ma(e.prototype||Object.prototype);return Function.prototype.apply.call(a,e,b)||e}}();
ra("Reflect.construct",function(){return $fa});
ra("Object.entries",function(a){return a?a:function(a){var b=[],d;for(d in a)ta(a,d)&&b.push([d,a[d]]);return b}});
ra("Number.isFinite",function(a){return a?a:function(a){return"number"!==typeof a?!1:!(0,window.isNaN)(a)&&window.Infinity!==a&&-window.Infinity!==a}});
ra("Number.parseInt",function(a){return a||window.parseInt});
ra("Number.MAX_SAFE_INTEGER",function(){return 9007199254740991});
ra("Math.log2",function(a){return a?a:function(a){return Math.log(a)/Math.LN2}});
g.yW=g.yW||{};g.x=this;xa=/^[\w+/_-]+[=]{0,2}$/;wa=null;Ga="closure_uid_"+(1E9*Math.random()>>>0);Ha=0;g.D=Date.now||function(){return+new Date};g.B(Na,Error);Na.prototype.name="CustomError";var zd;var xk;g.Ua=Array.prototype.indexOf?function(a,b){return Array.prototype.indexOf.call(a,b,void 0)}:function(a,b){if(g.v(a))return g.v(b)&&1==b.length?a.indexOf(b,0):-1;
for(var c=0;c<a.length;c++)if(c in a&&a[c]===b)return c;return-1};
g.aga=Array.prototype.lastIndexOf?function(a,b){return Array.prototype.lastIndexOf.call(a,b,a.length-1)}:function(a,b){var c=a.length-1;
0>c&&(c=Math.max(0,a.length+c));if(g.v(a))return g.v(b)&&1==b.length?a.lastIndexOf(b,c):-1;for(;0<=c;c--)if(c in a&&a[c]===b)return c;return-1};
g.C=Array.prototype.forEach?function(a,b,c){Array.prototype.forEach.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=g.v(a)?a.split(""):a,f=0;f<d;f++)f in e&&b.call(c,e[f],f,a)};
g.$d=Array.prototype.filter?function(a,b,c){return Array.prototype.filter.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=[],f=0,k=g.v(a)?a.split(""):a,l=0;l<d;l++)if(l in k){var m=k[l];
b.call(c,m,l,a)&&(e[f++]=m)}return e};
g.E=Array.prototype.map?function(a,b,c){return Array.prototype.map.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=Array(d),f=g.v(a)?a.split(""):a,k=0;k<d;k++)k in f&&(e[k]=b.call(c,f[k],k,a));
return e};
xk=Array.prototype.reduce?function(a,b,c){return Array.prototype.reduce.call(a,b,c)}:function(a,b,c){var d=c;
(0,g.C)(a,function(c,f){d=b.call(void 0,d,c,f,a)});
return d};
g.nk=Array.prototype.some?function(a,b,c){return Array.prototype.some.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=g.v(a)?a.split(""):a,f=0;f<d;f++)if(f in e&&b.call(c,e[f],f,a))return!0;
return!1};
g.jo=Array.prototype.every?function(a,b,c){return Array.prototype.every.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=g.v(a)?a.split(""):a,f=0;f<d;f++)if(f in e&&!b.call(c,e[f],f,a))return!1;
return!0};var Pb=String.prototype.trim?function(a){return a.trim()}:function(a){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(a)[1]},Cb=/&/g,Db=/</g,Eb=/>/g,Fb=/"/g,Gb=/'/g,Hb=/\x00/g,Bb=/[\x00&<>"']/,Lb=String.prototype.repeat?function(a,b){return a.repeat(b)}:function(a,b){return Array(b+1).join(a)};a:{var zW=g.x.navigator;if(zW){var AW=zW.userAgent;if(AW){g.Xb=AW;break a}}g.Xb=""};var sc="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");zc[" "]=g.za;var Pz,aI,BW,CW,cga,EW;g.Lh=Yb("Opera");g.Kd=Yb("Trident")||Yb("MSIE");Pz=Yb("Edge");g.nv=Pz||g.Kd;g.Kh=Yb("Gecko")&&!(Kb(g.Xb,"WebKit")&&!Yb("Edge"))&&!(Yb("Trident")||Yb("MSIE"))&&!Yb("Edge");g.Md=Kb(g.Xb,"WebKit")&&!Yb("Edge");aI=Yb("Macintosh");g.lW=Yb("Windows");g.MA=Yb("Android");BW=xc();CW=Yb("iPad");cga=Yb("iPod");g.DW=yc();
a:{var FW="",GW=function(){var a=g.Xb;if(g.Kh)return/rv:([^\);]+)(\)|;)/.exec(a);if(Pz)return/Edge\/([\d\.]+)/.exec(a);if(g.Kd)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(g.Md)return/WebKit\/(\S+)/.exec(a);if(g.Lh)return/(?:Version)[ \/]?(\S+)/.exec(a)}();
GW&&(FW=GW?GW[1]:"");if(g.Kd){var HW=Dc();if(null!=HW&&HW>(0,window.parseFloat)(FW)){EW=String(HW);break a}}EW=FW}var Ec=EW,Bc={},IW;var JW=g.x.document;IW=JW&&g.Kd?Dc()||("CSS1Compat"==JW.compatMode?(0,window.parseInt)(Ec,10):5):void 0;var Gc=IW;var Od,Zd,ce;Od=!g.Kd||g.Hc(9);Zd=!g.Kh&&!g.Kd||g.Kd&&g.Hc(9)||g.Kh&&g.Fc("1.9.1");g.KW=g.Kd&&!g.Fc("9");ce=g.Kd||g.Lh||g.Md;var dga={area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0};Jc.prototype.cf=!0;Jc.prototype.Fd=function(){return this.g};
Jc.prototype.toString=function(){return"Const{"+this.g+"}"};
var Ic={};g.Lc("");var ega=RegExp("[A-Za-z\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02b8\u0300-\u0590\u0800-\u1fff\u200e\u2c00-\ufb1c\ufe00-\ufe6f\ufefd-\uffff]"),vS=RegExp("^[\u0591-\u06ef\u06fa-\u07ff\u200f\ufb1d-\ufdff\ufe70-\ufefc]"),aR=RegExp("^[^\u0591-\u06ef\u06fa-\u07ff\u200f\ufb1d-\ufdff\ufe70-\ufefc]*[A-Za-z\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02b8\u0300-\u0590\u0800-\u1fff\u200e\u2c00-\ufb1c\ufe00-\ufe6f\ufefd-\uffff]"),$Q=RegExp("^[^A-Za-z\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02b8\u0300-\u0590\u0800-\u1fff\u200e\u2c00-\ufb1c\ufe00-\ufe6f\ufefd-\uffff]*[\u0591-\u06ef\u06fa-\u07ff\u200f\ufb1d-\ufdff\ufe70-\ufefc]"),
fga=/^http:\/\/.*/,gga=/\s+/,hga=/[\d\u06f0-\u06f9]/;Nc.prototype.cf=!0;Nc.prototype.Fd=function(){return this.l};
Nc.prototype.so=!0;Nc.prototype.g=function(){return 1};
var Mc={};Sc.prototype.cf=!0;Sc.prototype.Fd=function(){return this.l};
Sc.prototype.so=!0;Sc.prototype.g=function(){return 1};
var Uc=/^(?:(?:https?|mailto|ftp):|[^:/?#]*(?:[/?#]|$))/i,Rc={};Vc("about:blank");Zc.prototype.cf=!0;var Yc={};Zc.prototype.Fd=function(){return this.g};
var iga=$c(""),cd=/^[-,."'%_!# a-zA-Z0-9]+$/,bd=RegExp("\\b(url\\([ \t\n]*)('[ -&(-\\[\\]-~]*'|\"[ !#-\\[\\]-~]*\"|[!#-&*-\\[\\]-~]*)([ \t\n]*\\))","g"),ad=RegExp("\\b(hsl|hsla|rgb|rgba|matrix|(rotate|scale|translate)(X|Y|Z|3d)?)\\([-0-9a-z.%, ]+\\)","g");g.gd.prototype.so=!0;g.gd.prototype.g=function(){return this.o};
g.gd.prototype.cf=!0;g.gd.prototype.Fd=function(){return this.l};
var LW=/^[a-zA-Z0-9-]+$/,jga={action:!0,cite:!0,data:!0,formaction:!0,href:!0,manifest:!0,poster:!0,src:!0},kga={APPLET:!0,BASE:!0,EMBED:!0,IFRAME:!0,LINK:!0,MATH:!0,META:!0,OBJECT:!0,SCRIPT:!0,STYLE:!0,SVG:!0,TEMPLATE:!0},fd={};id("<!DOCTYPE html>",0);id("",0);id("<br>",0);g.sd.prototype.clone=function(){return new g.sd(this.x,this.y)};
g.sd.prototype.ceil=function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this};
g.sd.prototype.floor=function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this};
g.sd.prototype.round=function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this};g.h=g.vd.prototype;g.h.clone=function(){return new g.vd(this.width,this.height)};
g.h.se=function(){return this.width*this.height};
g.h.aspectRatio=function(){return this.width/this.height};
g.h.isEmpty=function(){return!this.se()};
g.h.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};
g.h.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};
g.h.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};var Fd={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",frameborder:"frameBorder",height:"height",maxlength:"maxLength",nonce:"nonce",role:"role",rowspan:"rowSpan",type:"type",usemap:"useMap",valign:"vAlign",width:"width"};g.h=xd.prototype;g.h.ha=function(){return g.v(void 0)?this.g.getElementById(void 0):void 0};
g.h.getElementsByTagName=function(a,b){return(b||this.g).getElementsByTagName(String(a))};
g.h.createElement=function(a){return this.g.createElement(String(a))};
g.h.appendChild=g.Vd;g.h.canHaveChildren=function(a){if(1!=a.nodeType)return!1;switch(a.tagName){case "APPLET":case "AREA":case "BASE":case "BR":case "COL":case "COMMAND":case "EMBED":case "FRAME":case "HR":case "IMG":case "INPUT":case "IFRAME":case "ISINDEX":case "KEYGEN":case "LINK":case "NOFRAMES":case "NOSCRIPT":case "META":case "OBJECT":case "PARAM":case "SCRIPT":case "SOURCE":case "STYLE":case "TRACK":case "WBR":return!1}return!0};
g.h.removeNode=g.Yd;g.h.contains=g.ee;var oe=g.za;var EA,DA,FA;g.Sz=Yb("Firefox");EA=xc()||Yb("iPod");DA=Yb("iPad");FA=g.wc();g.Ew=uc();g.eA=vc()&&!yc();var ve=null,Ae=null,ue=null;var De=[];Ce.prototype.clone=function(){return Ee(this.l,this.A,this.o-this.A)};
Ce.prototype.clear=function(){this.l=null;this.g=this.o=this.A=0;this.B=!1};
Ce.prototype.reset=function(){this.g=this.A};Ge.prototype.reset=function(){this.g.reset();this.l=this.o=-1};var Ne="function"==typeof window.Uint8Array,Oe=[];Me.prototype.toString=function(){We(this);return this.g.toString()};
Me.prototype.clone=function(){return new this.constructor(Xe(Ve(this)))};g.x.console&&"function"===typeof g.x.console.log&&(0,g.A)(g.x.console.log,g.x.console);var yf=!g.Kd||g.Hc(9),lga=g.Kd&&!g.Fc("9"),uf=function(){if(!g.x.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}});
g.x.addEventListener("test",g.za,b);g.x.removeEventListener("test",g.za,b);return a}();g.G.prototype.Ob=!1;g.G.prototype.ga=function(){return this.Ob};
g.G.prototype.dispose=function(){this.Ob||(this.Ob=!0,this.U())};
g.G.prototype.U=function(){if(this.qb)for(;this.qb.length;)this.qb.shift()()};g.bf.prototype.stopPropagation=function(){this.Tg=!0};
g.bf.prototype.preventDefault=function(){this.defaultPrevented=!0;this.Gx=!1};g.B(cf,g.bf);var mga={2:"touch",3:"pen",4:"mouse"};
cf.prototype.init=function(a,b){var c=this.type=a.type,d=a.changedTouches?a.changedTouches[0]:null;this.target=a.target||a.srcElement;this.currentTarget=b;var e=a.relatedTarget;e?g.Kh&&(Ac(e,"nodeName")||(e=null)):"mouseover"==c?e=a.fromElement:"mouseout"==c&&(e=a.toElement);this.relatedTarget=e;null===d?(this.clientX=void 0!==a.clientX?a.clientX:a.pageX,this.clientY=void 0!==a.clientY?a.clientY:a.pageY,this.screenX=a.screenX||0,this.screenY=a.screenY||0):(this.clientX=void 0!==d.clientX?d.clientX:
d.pageX,this.clientY=void 0!==d.clientY?d.clientY:d.pageY,this.screenX=d.screenX||0,this.screenY=d.screenY||0);this.button=a.button;this.keyCode=a.keyCode||0;this.key=a.key||"";this.charCode=a.charCode||("keypress"==c?a.keyCode:0);this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.pointerId=a.pointerId||0;this.pointerType=g.v(a.pointerType)?a.pointerType:mga[a.pointerType]||"";this.state=a.state;this.g=a;a.defaultPrevented&&this.preventDefault()};
cf.prototype.stopPropagation=function(){cf.wa.stopPropagation.call(this);this.g.stopPropagation?this.g.stopPropagation():this.g.cancelBubble=!0};
cf.prototype.preventDefault=function(){cf.wa.preventDefault.call(this);var a=this.g;if(a.preventDefault)a.preventDefault();else if(a.returnValue=!1,lga)try{if(a.ctrlKey||112<=a.keyCode&&123>=a.keyCode)a.keyCode=-1}catch(b){}};var ff;g.df="closure_listenable_"+(1E6*Math.random()|0);ff=0;jf.prototype.add=function(a,b,c,d,e){var f=a.toString();a=this.listeners[f];a||(a=this.listeners[f]=[],this.g++);var k=mf(a,b,d,e);-1<k?(b=a[k],c||(b.lk=!1)):(b=new gf(b,this.src,f,!!d,e),b.lk=c,a.push(b));return b};
jf.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.listeners))return!1;var e=this.listeners[a];b=mf(e,b,c,d);return-1<b?(hf(e[b]),g.Ya(e,b),0==e.length&&(delete this.listeners[a],this.g--),!0):!1};
jf.prototype.Ni=function(a,b,c,d){a=this.listeners[a.toString()];var e=-1;a&&(e=mf(a,b,c,d));return-1<e?a[e]:null};var sf="closure_lm_"+(1E6*Math.random()|0),Bf={},wf=0,Ef="__closure_events_fn_"+(1E9*Math.random()>>>0);g.B(g.Ff,g.G);g.Ff.prototype[g.df]=!0;g.h=g.Ff.prototype;g.h.qq=function(a){this.J=a};
g.h.addEventListener=function(a,b,c,d){g.of(this,a,b,c,d)};
g.h.removeEventListener=function(a,b,c,d){g.zf(this,a,b,c,d)};
g.h.dispatchEvent=function(a){var b=this.J;if(b){var c=[];for(var d=1;b;b=b.J)c.push(b),++d}b=this.ca;d=a.type||a;if(g.v(a))a=new g.bf(a,b);else if(a instanceof g.bf)a.target=a.target||b;else{var e=a;a=new g.bf(d,b);g.tc(a,e)}e=!0;if(c)for(var f=c.length-1;!a.Tg&&0<=f;f--){var k=a.currentTarget=c[f];e=Gf(k,d,!0,a)&&e}a.Tg||(k=a.currentTarget=b,e=Gf(k,d,!0,a)&&e,a.Tg||(e=Gf(k,d,!1,a)&&e));if(c)for(f=0;!a.Tg&&f<c.length;f++)k=a.currentTarget=c[f],e=Gf(k,d,!1,a)&&e;return e};
g.h.U=function(){g.Ff.wa.U.call(this);this.Td&&g.lf(this.Td);this.J=null};
g.h.da=function(a,b,c,d){return this.Td.add(String(a),b,!1,c,d)};
g.h.ql=function(a,b,c,d){return this.Td.add(String(a),b,!0,c,d)};
g.h.Na=function(a,b,c,d){this.Td.remove(String(a),b,c,d)};
g.h.Ni=function(a,b,c,d){return this.Td.Ni(String(a),b,c,d)};Hf.prototype.get=function(){if(0<this.l){this.l--;var a=this.g;this.g=a.next;a.next=null}else a=this.o();return a};var Of;var ag=new Hf(function(){return new Sf},function(a){a.reset()});
Rf.prototype.add=function(a,b){var c=ag.get();c.set(a,b);this.l?this.l.next=c:this.g=c;this.l=c};
Rf.prototype.remove=function(){var a=null;this.g&&(a=this.g,this.g=this.g.next,this.g||(this.l=null),a.next=null);return a};
Sf.prototype.set=function(a,b){this.g=a;this.scope=b;this.next=null};
Sf.prototype.reset=function(){this.next=this.scope=this.g=null};var Tf,Xf=!1,Yf=new Rf;fg.prototype.reset=function(){this.context=this.onRejected=this.o=this.g=null;this.l=!1};
var gg=new Hf(function(){return new fg},function(a){a.reset()});
g.eg.prototype.then=function(a,b,c){return qg(this,g.Ea(a)?a:null,g.Ea(b)?b:null,c)};
bg(g.eg);g.eg.prototype.cancel=function(a){0==this.g&&g.Zf(function(){var b=new wg(a);sg(this,b)},this)};
g.eg.prototype.I=function(a){this.g=0;dg(this,2,a)};
g.eg.prototype.J=function(a){this.g=0;dg(this,3,a)};
g.eg.prototype.G=function(){for(var a;a=tg(this);)ug(this,a,this.g,this.F);this.C=!1};
var Ag=Nf;g.B(wg,Na);wg.prototype.name="cancel";g.B(g.Bg,g.Ff);g.h=g.Bg.prototype;g.h.enabled=!1;g.h.Aa=null;g.h.setInterval=function(a){this.Gc=a;this.Aa&&this.enabled?(this.stop(),this.start()):this.Aa&&this.stop()};
g.h.uc=function(){if(this.enabled){var a=(0,g.D)()-this.iu;0<a&&a<.8*this.Gc?this.Aa=this.Nj.setTimeout(this.Lr,this.Gc-a):(this.Aa&&(this.Nj.clearTimeout(this.Aa),this.Aa=null),this.dispatchEvent("tick"),this.enabled&&(this.stop(),this.start()))}};
g.h.start=function(){this.enabled=!0;this.Aa||(this.Aa=this.Nj.setTimeout(this.Lr,this.Gc),this.iu=(0,g.D)())};
g.h.stop=function(){this.enabled=!1;this.Aa&&(this.Nj.clearTimeout(this.Aa),this.Aa=null)};
g.h.U=function(){g.Bg.wa.U.call(this);this.stop();delete this.Nj};var Ig=g.za,Pg={'"':'\\"',"\\":"\\\\","/":"\\/","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\x0B":"\\u000b"},Og=/\uffff/.test("\uffff")?/[\\"\x00-\x1f\x7f-\uffff]/g:/[\\"\x00-\x1f\x7f-\xff]/g;g.h=Qg.prototype;g.h.isEnabled=function(){return window.navigator.cookieEnabled};
g.h.set=function(a,b,c,d,e,f){if(/[;=\s]/.test(a))throw Error('Invalid cookie name "'+a+'"');if(/[;\r\n]/.test(b))throw Error('Invalid cookie value "'+b+'"');g.t(c)||(c=-1);e=e?";domain="+e:"";d=d?";path="+d:"";f=f?";secure":"";c=0>c?"":0==c?";expires="+(new Date(1970,1,1)).toUTCString():";expires="+(new Date((0,g.D)()+1E3*c)).toUTCString();this.g.cookie=a+"="+b+e+d+c+f};
g.h.get=function(a,b){for(var c=a+"=",d=(this.g.cookie||"").split(";"),e=0,f;e<d.length;e++){f=Pb(d[e]);if(0==f.lastIndexOf(c,0))return f.substr(c.length);if(f==a)return""}return b};
g.h.remove=function(a,b,c){var d=g.t(this.get(a));this.set(a,"",0,b,c);return d};
g.h.od=function(){return Rg(this).keys};
g.h.qc=function(){return Rg(this).values};
g.h.isEmpty=function(){return!this.g.cookie};
g.h.clear=function(){for(var a=Rg(this).keys,b=a.length-1;0<=b;b--)this.remove(a[b])};
var xu=new Qg("undefined"==typeof window.document?null:window.document);xu.l=3950;var Tg=/^(?:([^:/?#.]+):)?(?:\/\/(?:([^/?#]*)@)?([^/#?]*?)(?::([0-9]+))?(?=[/#?]|$))?([^?#]+)?(?:\?([^#]*))?(?:#([\s\S]*))?$/,ih=/#|$/,kh=/[?&]($|#)/;oh.prototype.remove=function(a){nc(this.g,a)};
oh.prototype.set=function(a,b){this.g[a]=b};
oh.prototype.get=function(a){return oc(this.g,a,null)};g.h=g.qh.prototype;g.h.Wi=function(){return this.right-this.left};
g.h.getHeight=function(){return this.bottom-this.top};
g.h.clone=function(){return new g.qh(this.top,this.right,this.bottom,this.left)};
g.h.contains=function(a){return this&&a?a instanceof g.qh?a.left>=this.left&&a.right<=this.right&&a.top>=this.top&&a.bottom<=this.bottom:a.x>=this.left&&a.x<=this.right&&a.y>=this.top&&a.y<=this.bottom:!1};
g.h.ceil=function(){this.top=Math.ceil(this.top);this.right=Math.ceil(this.right);this.bottom=Math.ceil(this.bottom);this.left=Math.ceil(this.left);return this};
g.h.floor=function(){this.top=Math.floor(this.top);this.right=Math.floor(this.right);this.bottom=Math.floor(this.bottom);this.left=Math.floor(this.left);return this};
g.h.round=function(){this.top=Math.round(this.top);this.right=Math.round(this.right);this.bottom=Math.round(this.bottom);this.left=Math.round(this.left);return this};g.h=g.th.prototype;g.h.clone=function(){return new g.th(this.left,this.top,this.width,this.height)};
g.h.contains=function(a){return a instanceof g.sd?a.x>=this.left&&a.x<=this.left+this.width&&a.y>=this.top&&a.y<=this.top+this.height:this.left<=a.left&&this.left+this.width>=a.left+a.width&&this.top<=a.top&&this.top+this.height>=a.top+a.height};
g.h.ceil=function(){this.left=Math.ceil(this.left);this.top=Math.ceil(this.top);this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};
g.h.floor=function(){this.left=Math.floor(this.left);this.top=Math.floor(this.top);this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};
g.h.round=function(){this.left=Math.round(this.left);this.top=Math.round(this.top);this.width=Math.round(this.width);this.height=Math.round(this.height);return this};var Eh=null;Ah.prototype.getValue=function(){return this.g};
Ah.prototype.l=function(){return String(this.g)};
g.B(Bh,Ah);Bh.prototype.l=function(){return this.g?"1":"0"};
g.B(Ch,Ah);Ch.prototype.l=function(){return this.g?Math.round(this.g.top)+"."+Math.round(this.g.left)+"."+(Math.round(this.g.top)+Math.round(this.g.height))+"."+(Math.round(this.g.left)+Math.round(this.g.width)):""};var Jh={},ki={thin:2,medium:4,thick:6};new g.Bg(200);var Hi=window.document,Vj=window;var vi=/https?:\/\/[^\/]+/;var zi=g.Lf(function(){var a=!1;try{var b=Object.defineProperty({},"passive",{get:function(){a=!0}});
g.x.addEventListener("test",null,b)}catch(c){}return a});var Fi=!!window.google_async_iframe_id,Gi=Fi&&window.parent||window;var nga=[0,2,1],MW=null;window.document.addEventListener&&window.document.addEventListener("mousedown",function(a){MW=a},!0);
window.mb=function(a){if(a){var b;if(b=window.event||MW){var c;(c=b.which?1<<nga[b.which-1]:b.button)&&b.shiftKey&&(c|=8);c&&b.altKey&&(c|=16);c&&b.ctrlKey&&(c|=32);b=c}else b=null;b&&(window.css?window.css(a.id,"mb",b,void 0,void 0):a&&(a.href=si(a.href,"mb",b,void 0)))}};var Zk={NONE:0,QM:1},dk={KO:1};Li.prototype.isVisible=function(){return this.Eg?.3<=this.g:.5<=this.g};var bk={xz:0,VM:1},Zj={QN:0,Uz:1,NN:2},ak={NONE:0,vN:1},ck={xz:0,BN:1,AN:2};Mi.prototype.getValue=function(){return this.l};Ni.prototype.disable=function(){this.o=!1};
Ni.prototype.enable=function(){this.o=!0};
Ni.prototype.isEnabled=function(){return this.o};
Ni.prototype.reset=function(){this.g={};this.o=!0;this.l={}};var Ti=(0,g.D)(),Xi=-1,Vi=-1,bm,Yi=-1,Wi=!1;$i.prototype.Uc=function(){return!!this.l||!!this.g};
$i.prototype.toString=function(){return this.l+(this.g?"-":"")+this.g};
$i.prototype.matches=function(a){return this.g||a.g?this.g==a.g:this.l||a.l?this.l==a.l:!1};var dj=/^https?:\/\/(\w|-)+\.cdn\.ampproject\.(net|org)(\?|\/|$)/;gj.prototype.vb=function(a,b,c,d){a=a+"//"+b+c;var e=lj(this)-c.length-d.length;if(0>e)return"";this.g.sort(function(a,b){return a-b});
c=null;b="";for(var f=0;f<this.g.length;f++)for(var k=this.g[f],l=this.l[k],m=0;m<l.length;m++){if(!e){c=null==c?k:c;break}var n=jj(l[m],this.o,",$");if(n){n=b+n;if(e>=n.length){e-=n.length;a+=n;b=this.o;break}else this.B&&(b=e,n[b-1]==this.o&&--b,a+=n.substr(0,b),b=this.o,e=0);c=null==c?k:c}}f="";this.A&&null!=c&&(f=b+this.A+"="+c);return a+f+d};g.nj.prototype.clone=function(){return new g.nj(this.start,this.end)};
g.nj.prototype.getLength=function(){return this.end-this.start};var NW=null;var uj=g.x.performance,oga=!!(uj&&uj.mark&&uj.measure&&uj.clearMarks),sj=g.Lf(function(){var a;if(a=oga){var b;if(null===NW){NW="";try{a="";try{a=g.x.top.location.hash}catch(c){a=g.x.location.hash}a&&(NW=(b=a.match(/\bdeid=([\d,]+)/))?b[1]:"")}catch(c){}}b=NW;a=!!b.indexOf&&0<=b.indexOf("1337")}return a});
tj.prototype.disable=function(){this.g=!1;this.events!=this.l.google_js_reporting_queue&&(sj()&&(0,g.C)(this.events,vj),this.events.length=0)};
tj.prototype.start=function(a,b){if(!this.g)return null;var c=pj()||oj();c=new qj(a,b,c);var d="goog_"+c.uniqueId+"_start";uj&&sj()&&uj.mark(d);return c};
tj.prototype.end=function(a){if(this.g&&g.va(a.value)){var b=pj()||oj();a.duration=b-a.value;b="goog_"+a.uniqueId+"_end";uj&&sj()&&uj.mark(b);this.g&&this.events.push(a)}};yj.prototype.g=function(a,b,c,d,e){e=e||"jserror";try{var f=new gj;f.B=!0;kj(f,1,"context",a);b.error&&b.meta&&b.id||(b=zj(b));b.msg&&kj(f,2,"msg",b.msg.substring(0,512));b.file&&kj(f,3,"file",b.file);0<b.line&&kj(f,4,"line",b.line);var k=b.meta||{};if(this.l)try{this.l(k)}catch(m){}if(d)try{d(k)}catch(m){}b=[k];f.g.push(5);f.l[5]=b;var l=fj();l.l&&kj(f,6,"top",l.l.url||"");kj(f,7,"url",l.g.url||"");mj(this.A,e,f,c)}catch(m){try{mj(this.A,e,{context:"ecmserr",rctx:a,msg:Ej(m),url:l&&l.g.url},c)}catch(n){}}return this.o};
g.r(Dj,aj);var xj,Bj,rj=Ii(),wj=new tj;xj=new function(){var a=void 0===a?Vj:a;this.A="http:"===a.location.protocol?"http:":"https:";this.l="pagead2.googlesyndication.com";this.o="/pagead/gen_204?id=";this.g=.01};
Bj=new yj;"complete"==rj.document.readyState?rj.google_measure_js_timing||wj.disable():wj.g&&Bi(rj,"load",function(){rj.google_measure_js_timing||wj.disable()});
var Gj=Bj.g;if(Hi&&Hi.URL){var OW,xi=Hi.URL;OW=!!xi&&0<yi().length;Bj.o=!OW};g.$k=!g.Kd&&!vc();Yj.prototype.ha=function(){return this.G};g.Aa(Lj);ek.prototype.cancel=function(){Vj.clearTimeout(this.g);this.g=null};
ek.prototype.schedule=function(){var a=this;Vj&&(this.g=Vj.setTimeout(Ij(143,function(){a.o++;a.l.Hx()}),Zi(Lj.getInstance().G)))};g.h=hk.prototype;g.h.Xg=function(){return this.Se()};
g.h.Se=function(){return!0};
g.h.initialize=function(){this.I=!0};
g.h.sh=function(){return this.T};
g.h.zg=function(){return this.J};
g.h.Tf=function(){return this.o==this?this.X:this.o.Tf()};
g.h.Xe=function(){return{}};
g.h.af=function(){return this.B};
g.h.Hx=function(){};
g.h.ym=function(){};
g.h.yg=function(a){var b=this.B,c=a.af();this.o=c<this.F?this:a;this.B=this.o!=this?c:this.F;this.o==this||1==c&&0!=this.F||this.ym();this.B!=b&&ik(this)};
g.h.Pf=function(a){this.o!=this&&pk(this,a)};
g.h.sf=function(){return this.C};
g.h.dispose=function(){this.Z=!0};
g.h.ga=function(){return this.Z};g.h=qk.prototype;g.h.wu=function(){};
g.h.Ro=function(){};
g.h.Di=function(){this.l=new Yj(this.g.l,this.element,this.l.g,this.l.A,this.Mi(),this.l.l,this.l.F,this.l.I,this.l.o)};
g.h.dispose=function(){this.ga()||(mk(this.g,this),this.F=!0)};
g.h.ga=function(){return this.F};
g.h.Xe=function(){return this.A.Xe()};
g.h.af=function(){return this.A.af()};
g.h.sh=function(){return this.A.sh()};
g.h.zg=function(){return this.A.zg()};
g.h.yg=function(a){this.A=a;this.G.yg(this)};
g.h.Pf=function(){this.Di()};
g.h.sf=function(){return this.G.sf()};g.h=rk.prototype;g.h.af=function(){return this.g.af()};
g.h.sh=function(){return this.g.sh()};
g.h.zg=function(){return this.g.zg()};
g.h.create=function(a,b,c){var d=null;this.g&&(d=this.vu(a,b,c),kk(this.g,d));return d};
g.h.Xg=function(){return this.Se()};
g.h.Se=function(){return!1};
g.h.init=function(){return!0};
g.h.dispose=function(){this.B=!0};
g.h.ga=function(){return this.B};
g.h.Xe=function(){return{}};vk.prototype.add=function(a,b,c){++this.o;var d=this.o/4096;this.g.push(tk(new sk(a,b,c),d));this.l=!0;return this};var PW=new Date(0);g.Mb(PW.getUTCFullYear(),4);g.Mb(PW.getUTCMonth()+1,2);g.Mb(PW.getUTCDate(),2);g.Mb(PW.getUTCHours(),2);g.Mb(PW.getUTCMinutes(),2);var Bk={},Ck=null;Bk.le=0;Bk.nt=2;Bk.Fr=3;Bk.Po=5;Bk.me=1;Bk.om=4;Ek.prototype.update=function(a,b,c){a&&(this.g+=b,this.l+=b,this.A+=b,this.o=Math.max(this.o,this.A));if(void 0===c?!a:c)this.A=0};var Fk=[1,.75,.5,.3,0];Gk.prototype.update=function(a,b,c,d,e,f){f=void 0===f?!0:f;b=e?Math.min(a,b):b;for(e=0;e<this.l.length;e++){var k=this.l[e],l=0<b&&b>=k;k=!(0<a&&a>=k)||c;this.g[e].update(f&&l,d,!f||k)}};Qk.prototype.update=function(a,b,c,d,e){this.F=-1!=this.F?Math.min(this.F,b.g):b.g;e&&(this.N=Math.max(this.N,b.g));this.ca.update(b.l,c.l,b.o,a,d);this.g.update(b.g,c.g,b.o,a,d);c=d||c.Eg!=b.Eg?c.isVisible()&&b.isVisible():c.isVisible();b=!b.isVisible()||b.o;this.Z.update(c,a,b)};
Qk.prototype.Gg=function(){return this.Z.o>=this.ea};g.r(Rk,qk);g.h=Rk.prototype;g.h.Mi=function(){return!0};
g.h.Di=function(){if(this.element){var a=this.element.getBoundingClientRect(),b=a.right-a.left;a=a.bottom-a.top;var c=g.$h(this.element,this.g.g),d=c.x;c=c.y;this.o=new g.qh(Math.round(c),Math.round(d+b),Math.round(c+a),Math.round(d))}(b=this.g.l.g)?(b=Uk(this.o,b),b=b.top>=b.bottom||b.left>=b.right?new g.qh(0,0,0,0):sh(b,-this.o.left,-this.o.top)):b=new g.qh(0,0,0,0);var e=this.g.l.g;c=d=a=0;var f=1==Qi(this.Qa,"od"),k=(this.o.bottom-this.o.top)*(this.o.right-this.o.left);e&&b&&0<k&&(Tk(b,e,this.element,
f)?b=new g.qh(0,0,0,0):(c=new g.qh(0,window.screen.height,window.screen.width,0),a=Wk(b,this.o),d=Wk(b,e),c=Wk(b,c)));e=this.g.l;f=-1===e.time?Ui():e.time;this.l=new Yj(e,this.element,this.o,b,this.Mi(),a,d,f,c)};
g.h.zg=function(){return this.A.zg()};
g.h.Tf=function(){return this.A.Tf()};
g.h.Pf=function(a){if(null==this.element)if(null!=a.o){var b=a.o;this.o=new g.qh(0,b.width,b.height,0)}else this.o=new g.qh(0,0,0,0);qk.prototype.Pf.call(this,a)};var Yk=new g.qh(0,0,0,0),ml={threshold:[0,.3,.5,.75,1]};g.h=al.prototype;g.h.Pf=function(){};
g.h.yg=function(a){a.zg()&&this.Gy(this,a.sh(),a)};
g.h.sf=function(){return!1};
g.h.Sk=function(){return new Qk};
g.h.jd=function(){return this.Lo};
g.h.ou=function(){};
g.h.nu=function(){};
g.h.vt=function(){};
g.h.Jm=function(){};
g.h.ah=function(a,b,c,d,e,f,k,l,m){k=void 0===k?{}:k;l=void 0===l?this.gt(c,k):l;k=this.nn(a,b,d,k,void 0===m?-1:m);g.va(b)||(this.cw=new g.sd(a.left-b.left,a.top-b.top),this.Qj=new g.vd(b.right-b.left,b.bottom-b.top));e=e&&this.Rb.g>=(this.Eg()?.3:.5);this.Gq(l,k,e,f);this.cj=c;0<k.g&&-1===this.uy&&(this.uy=c);-1==this.vy&&this.Gg()&&(this.vy=c);if(-2==this.Io)try{a:{var n=g.va(b)?null:b;if(a&&a!=Yk&&0!=this.se){if(!n){if(!this.Qj){var q=-1;break a}n=new g.qh(0,this.Qj.width,this.Qj.height,0)}q=
n.Wi&&0<n.Wi()&&n.getHeight&&0<n.getHeight()?this.Ii(a,n):-1}else q=-1}this.Io=q}catch(u){Jj(207,u)}this.Rb=k;d&&(this.Rb.g=0);this.Mo(this)};
g.h.Gq=function(a,b,c,d){this.jd().update(a,b,this.Rb,c,d)};
g.h.Qn=function(){return new Li};
g.h.nn=function(a,b,c,d,e){e=void 0===e?-1:e;d=this.Qn();d.o=c;c=Oj();d.A=0==c?-1:1==c?0:1;g.va(b)?(d.g=this.Ii(b),d.l=e):(d.g=this.Ii(a,b),d.l=0<=e?e:d.g*Vk(a)/(Vj.screen.height*Vj.screen.width));d.Eg=this.Eg();return d};
g.h.gt=function(a){if(-1==this.cj)return 0;a=a-this.cj||1;return 1E4<a?1:a};
g.h.Ii=function(a,b){if(0===this.opacity&&1===Qi(this.Qa,"opac"))return 0;if(g.va(a))return a;var c=Uk(a,b),d=1==Qi(this.Qa,"od");if(0>=this.se||Tk(c,b,this.tg,d))return 0;d=Vk(c)/this.se;Wk(c,b);return d};
g.h.Eg=function(){return!1};
g.h.Vd=function(){return 0};
g.h.Gg=function(){return this.Lo.Gg()};var rl="StopIteration"in g.x?g.x.StopIteration:{message:"StopIteration",stack:""};ql.prototype.next=function(){throw rl;};
ql.prototype.Pe=function(){return this};var En={currentTime:1,duration:2,isVpaid:4,volume:8,isYouTube:16,isPlaying:32},Yl={fA:"start",Iz:"firstquartile",Rz:"midpoint",kA:"thirdquartile",uz:"complete",Qz:"metric",PAUSE:"pause",Xz:"resume",eA:"skip",mA:"viewable_impression",Sz:"mute",lA:"unmute",Jz:"fullscreen",Gz:"exitfullscreen",tM:"bufferstart",sM:"bufferfinish",Kz:"fully_viewable_audible_half_duration_impression",Pz:"measurable_impression",mz:"abandon",Fz:"engagedview",Nz:"impression",Bz:"creativeview",Oz:"loaded",gO:"progress",CLOSE:"close",
FM:"collapse",UN:"overlay_resize",VN:"overlay_unmeasurable_impression",WN:"overlay_unviewable_impression",YN:"overlay_viewable_immediate_impression",XN:"overlay_viewable_end_of_session_impression",Cz:"custom_metric_viewable"},so="start firstquartile midpoint thirdquartile resume loaded".split(" "),to=["start","firstquartile","midpoint","thirdquartile"],cm=["abandon"],Wm={UNKNOWN:-1,fA:0,Iz:1,Rz:2,kA:3,uz:4,Qz:5,PAUSE:6,Xz:7,eA:8,mA:9,Sz:10,lA:11,Jz:12,Gz:13,Kz:14,Pz:15,mz:16,Fz:17,Nz:18,Bz:19,Oz:20,
Cz:21};g.r(yl,Li);Fl.prototype.getValue=function(){return this.l};
Fl.prototype.update=function(a,b){32<=a||(this.g&1<<a&&!b?this.l&=~(1<<a):this.g&1<<a||!b||(this.l|=1<<a),this.g|=1<<a)};g.r(Gl,Qk);
Gl.prototype.update=function(a,b,c,d,e){if(!b.paused){Qk.prototype.update.call(this,a,b,c,d,e);e=zl(b)&&zl(c);var f=.5<=(d?Math.min(b.g,c.g):c.g);Uj(b.volume)&&(this.A=-1!=this.A?Math.min(this.A,b.volume):b.volume,this.C=Math.max(this.C,b.volume));f&&(this.L+=a,this.I+=e?a:0);this.l.update(b.g,c.g,b.o,a,d,e);this.o.update(!0,a);this.B.update(e,a);this.J.update(c.fullscreen,a);this.fa.update(e&&!f,a);a=Math.floor(b.B/1E3);this.R.update(a,b.isVisible());this.X.update(a,1<=b.g);this.Y.update(a,zl(b))}};g.r(Jl,Il);Jl.prototype.o=function(){return!0};
Jl.prototype.B=function(){return!1};
Jl.prototype.getId=function(){var a=this,b=jc(Yl,function(b){return b==a.A});
return Wm[b].toString()};
Jl.prototype.toString=function(){var a="";this.B()&&(a+="c");this.g&&(a+="s");0<this.l&&(a+=":"+this.l);return this.getId()+a};var pga=new g.qh(0,0,0,0),QW={},$l=(QW.firstquartile=0,QW.midpoint=1,QW.thirdquartile=2,QW.complete=3,QW);g.r(Ml,al);g.h=Ml.prototype;g.h.sf=function(){return!0};
g.h.ou=function(a){var b=this,c=a-this.Ob;this.la&&1E3>=c||(c=g.z("ima.bridge.getNativeViewability"),g.Ea(c)&&(c(this.Kc,function(a){b.la=!1;g.lc(a)&&b.ra++;b.Jm(a)}),this.la=!0,this.Ob=a))};
g.h.nu=function(a){var b=Lj.getInstance();a-this.Ga>Zi(b.G)&&(a=g.z("ima.admob.getViewability"),g.Ea(a)&&a(this.Kc))};
g.h.vt=function(a){this.Ga=Ui();this.Jm(a)};
g.h.Jm=function(a){var b=a.opt_nativeViewBounds||{},c=a.opt_nativeViewVisibleBounds||{},d=a.opt_nativeTime||-1,e=a.opt_nativeVolume,f=a.opt_nativeViewAttached;a=a.opt_nativeViewHidden;void 0!==f&&(this.ea=!!f);b=new g.qh(b.top||0,b.left+b.width||0,b.top+b.height||0,b.left||0);c=a?pga.clone():new g.qh(c.top||0,c.left+c.width||0,c.top+c.height||0,c.left||0);f=void 0;if("n"==this.A||"ml"==this.A)f={volume:e};e=f;e=void 0===e?{}:e;this.se=(b.bottom-b.top)*(b.right-b.left);this.position=b;this.ah(b,c,
d,!1,!0,!0,e)};
g.h.ah=function(a,b,c,d,e,f,k,l,m){var n=this;k=void 0===k?{}:k;var q=this.fa(this)||{};g.tc(q,k);this.B=q.duration||this.B;this.I=q.isVpaid||this.I;this.ia=q.isYouTube||this.ia;this.X=f;al.prototype.ah.call(this,a,b,c,d,e,f,q,l,m);(0,g.C)(this.F,function(a){a.g||(a.g=Ll(a,n))})};
g.h.Gq=function(a,b,c,d){al.prototype.Gq.call(this,a,b,c,d);Pl(this).update(a,b,this.Rb,c,d);this.ca=zl(this.Rb)&&zl(b);-1==this.T&&this.qb&&(this.T=this.jd().o.g);this.Xb.o=0;a=this.Rb;b=this.Gg();.5<=a.g&&Bl(this.Xb,"vs");b&&Bl(this.Xb,"vw");Uj(a.volume)&&Bl(this.Xb,"am");this.ca&&Bl(this.Xb,"a");this.df&&Bl(this.Xb,"f");-1!=a.A&&(Bl(this.Xb,"bm"),1==a.A&&Bl(this.Xb,"b"));this.ca&&b&&Bl(this.Xb,"avw");this.X&&Bl(this.Xb,"cm");this.X&&0<a.g&&Bl(this.Xb,"pv");Tl(this,this.jd().o.g,!0)&&Bl(this.Xb,
"gdr");2E3<=Mk(this.jd().g,1)&&Bl(this.Xb,"pmx")};
g.h.Sk=function(){return new Gl};
g.h.jd=function(){return this.Lo};
g.h.Qn=function(){return new yl};
g.h.nn=function(a,b,c,d,e){a=al.prototype.nn.call(this,a,b,c,d,void 0===e?-1:e);a.fullscreen=this.df;a.paused=2==this.Sb;a.volume=d.volume;Uj(a.volume)||(this.Ia++,b=this.Rb,Uj(b.volume)&&(a.volume=b.volume));d=d.currentTime;a.B=g.t(d)&&0<=d?d:-1;return a};
g.h.gt=function(a,b){var c=g.t(b.currentTime)?b.currentTime:this.L;if(-1==this.cj||2==this.Sb)var d=0;else{d=a-this.cj||1;var e=1E4;g.t(this.B)&&-1!=this.B&&(e=Math.max(e,this.B/3));d=d>e?1:d}e=c-this.L;var f=0;0<=e?(this.J+=d,this.Z+=Math.max(d-e,0),f=Math.min(e,this.J)):this.na+=Math.abs(e);0!=e&&(this.J=0);-1==this.va&&0<e&&(this.va=0<=Yi?Ui()-Yi:-1);this.L=c;return 1==Ql(this)?f:d};
g.h.Ii=function(a,b){return this.Ea?0:this.df?1:al.prototype.Ii.call(this,a,b)};
g.h.Vd=function(){return 1};var qga=(0,g.D)();g.Aa(lm);var pm={threshold:[0,.25,.5,.75,1]};g.r(nm,qk);g.h=nm.prototype;g.h.Tf=function(){return"nio"};
g.h.Mi=function(){return!0};
g.h.wu=function(){var a=this;this.C||(this.C=Ui());Hj(298,function(){return qm(a)})||jk(this.g,"msf")};
g.h.Ro=function(){if(this.o&&this.element)try{this.o.unobserve(this.element)}catch(a){}};
g.h.Di=function(){qk.prototype.Di.call(this);if(2===Qi(Lj.getInstance().Qa,"nio_mode")){var a=this.o&&this.o.takeRecords?this.o.takeRecords():[];0<a.length?om(this,a):this.l=new Yj(this.l.C,this.l.ha(),this.l.g,this.l.A,this.l.B,this.l.l,this.l.F,this.g.g.performance.now(),this.l.o)}};
g.h.Xe=function(){var a={};return Object.assign(this.g.Xe(),(a.niot_obs=this.C,a.niot_cbk=this.B,a))};g.r(sm,rk);sm.prototype.Tf=function(){return"nio"};
sm.prototype.Xg=function(){var a=Qi(Lj.getInstance().Qa,"nio_mode"),b=2===a;a=1===a;var c=Lj.getInstance().g;return(b||a&&c)&&this.Se()};
sm.prototype.Se=function(){return"exc"!==Lj.getInstance().Va&&1!=Qi(Lj.getInstance().Qa,"inapp")&&null!=this.g.g.IntersectionObserver};
sm.prototype.vu=function(a,b,c){return new nm(a,this.g,b,c)};g.B(g.tm,g.G);g.h=g.tm.prototype;g.h.xh=!1;g.h.Ui=0;g.h.Aa=null;g.h.wh=function(a){this.g=arguments;this.Aa||this.Ui?this.xh=!0:um(this)};
g.h.stop=function(){this.Aa&&(g.x.clearTimeout(this.Aa),this.Aa=null,this.xh=!1,this.g=[])};
g.h.pause=function(){this.Ui++};
g.h.resume=function(){this.Ui--;this.Ui||!this.xh||this.Aa||(this.xh=!1,um(this))};
g.h.U=function(){g.tm.wa.U.call(this);this.stop()};
g.h.ZA=function(){this.Aa=null;this.xh&&!this.Ui&&(this.xh=!1,um(this))};g.h=wm.prototype;g.h.qC=function(){Bm(this,!1);this.xt()};
g.h.xt=function(){Dm(this,Im(this),!1)};
g.h.Hx=function(){Dm(this,Im(this),!1)};
g.h.Gt=function(){var a=Fm(this),b=Ui();a?(Wi||(Xi=b,(0,g.C)(this.g,function(a){var c=a.jd();c.T=Hl(c,b,1!=a.Sb)})),Wi=!0,Bm(this,!0)):(Wi=!1,bm=b,(0,g.C)(this.g,function(a){a.ph&&(a.jd().G=b)}));
Dm(this,Im(this),!a)};
g.h.vL=function(a){var b;if(b=null!=a.IntersectionObserver){if(a=Km(a,Im(this)))Lj.getInstance().Va="nio";b=a}return b};
g.h.uL=function(a){return g.Kd&&g.Fc(8)&&g.Ea(Dk(a&&a.document))?(Lj.getInstance().Va="iem",!0):!1};
g.h.reset=function(){this.g=[];this.l=[]};
g.Aa(wm);var ym=wm.getInstance();var pn=null,vn="",rn=!1;var Tm=function(a,b){return function(c){for(var d=0;d<b.length;d++)if(b[d]===c[a]||!g.t(b[d])&&!c.hasOwnProperty(a))return!0;return!1}}("e",[void 0,
1,2,3,4,8,16]),rga={sv:"sv",cb:"cb",e:"e",nas:"nas",msg:"msg","if":"if",sdk:"sdk",p:"p",tos:"tos",mtos:"mtos",mcvt:"mcvt",ps:"ps",scs:"scs",bs:"bs",pt:"pt",vht:"vht",mut:"mut",a:"a",ft:"ft",dft:"dft",at:"at",dat:"dat",as:"as",vpt:"vpt",gmm:"gmm",std:"std",efpf:"efpf",swf:"swf",nio:"nio",px:"px",nnut:"nnut",vmer:"vmer",vmmk:"vmmk",vmiec:"vmiec",nmt:"nmt",tcm:"tcm",bt:"bt",pst:"pst",vpaid:"vpaid",dur:"dur",vmtime:"vmtime",dtos:"dtos",dtoss:"dtoss",dvs:"dvs",dfvs:"dfvs",dvpt:"dvpt",fmf:"fmf",vds:"vds",
is:"is",i0:"i0",i1:"i1",i2:"i2",i3:"i3",ic:"ic",cs:"cs",c:"c",mc:"mc",nc:"nc",mv:"mv",nv:"nv",qmt:Um("qmtos"),qnc:Um("qnc"),qmv:Um("qmv"),qnv:Um("qnv"),raf:"raf",rafc:"rafc",lte:"lte",ces:"ces",tth:"tth",femt:"femt",femvt:"femvt",emc:"emc",emuc:"emuc",emb:"emb",avms:"avms",nvat:"nvat",qi:"qi",psm:"psm",psv:"psv",psfv:"psfv",psa:"psa",pnk:"pnk",pnc:"pnc",pnmm:"pnmm",pns:"pns",ptlt:"ptlt",dc_rfl:"urlsigs",pngs:"pings",obd:"obd",veid:"veid",ssb:"ssb"},sga={c:Pm("c"),at:"at",atos:Sm("atos",[0,2,4]),ta:function(a,
b){return function(c){if(!g.t(c[a]))return b}}("tth","1"),
a:"a",dur:"dur",p:"p",tos:Rm(),j:"dom",mtos:Sm("mtos",[0,2,4]),gmm:"gmm",gdr:"gdr",ss:Pm("ss"),vsv:Jf("w2"),t:"t"},tga={atos:"atos",amtos:"amtos",avt:Sm("atos",[2]),davs:"davs",dafvs:"dafvs",dav:"dav",ss:Pm("ss"),t:"t"},uga={a:"a",tos:Rm(),at:"at",c:Pm("c"),mtos:Sm("mtos",[0,2,4]),dur:"dur",fs:"fs",p:"p",vpt:"vpt",vsv:Jf("ias_w2"),dom:"dom",gmm:"gmm",gdr:"gdr",t:"t"},vga={tos:Rm(),at:"at",c:Pm("c"),mtos:Sm("mtos",[0,2,4]),p:"p",vpt:"vpt",vsv:Jf("dv_w4"),gmm:"gmm",gdr:"gdr",dom:"dom",t:"t",mv:"mv",
qmpt:Sm("qmtos",[0,2,4]),qvs:function(a,b){return function(c){var d=c[a];if(g.va(d))return(0,g.E)(b,function(a){return 0<d&&d>=a?1:0})}}("qnc",[1,
.5,0]),qmv:"qmv",qa:"qas",a:"a"};g.r(Zm,Jl);Zm.prototype.o=function(a){return a.jd().Gg()};g.r(cn,an);cn.prototype.g=function(a){var b=new $m;b.g=bn(a,rga);b.o=bn(a,tga);return b};g.r(en,rk);g.h=en.prototype;g.h.Tf=function(){return(this.l?this.l:this.g).Tf()};
g.h.Xe=function(){return(this.l?this.l:this.g).Xe()};
g.h.af=function(){return(this.l?this.l:this.g).af()};
g.h.init=function(a){this.A=a;(0,g.C)(this.o,function(a){return a.initialize()});
kk(this.g,this);return!0};
g.h.dispose=function(){(0,g.C)(this.o,function(a){a.ym();a.dispose()});
rk.prototype.dispose.call(this)};
g.h.Xg=function(){return(0,g.nk)(this.o,function(a){return a.Xg()})};
g.h.Se=function(){return(0,g.nk)(this.o,function(a){return a.Se()})};
g.h.vu=function(a,b,c){return new Rk(a,this.g,b,c)};
g.h.yg=function(a){0==a.af()&&this.A(a.sh(),this)};
g.h.Pf=function(a){this.l=a.B};
g.h.sf=function(){return!1};g.r(fn,hk);g.h=fn.prototype;g.h.Xe=function(){return{OO:1}};
g.h.initialize=function(){var a=this;if(!this.I)if(this.I=!0,Lj.getInstance().C.Uc()){Kj(g.x,"message",function(b){if(null!=b&&b.data&&g.v(b.data)){var c=b.data;if(g.v(c)){var e={};c=c.split("\n");for(var f=0;f!=c.length;++f){var k=c[f],l=k.indexOf("=");if(!(0>=l)){var m=Number(k.substr(0,l));k=k.substr(l+1);switch(m){case 36:case 26:case 15:case 8:case 11:case 16:case 5:case 18:k="true"==k;break;case 4:case 33:case 6:case 25:case 28:case 29:case 24:case 23:case 22:case 7:case 21:case 20:k=Number(k);
break;case 19:case 3:if(g.Ea(window.decodeURIComponent))try{k=(0,window.decodeURIComponent)(k)}catch(q){throw Error("Error: URI malformed: "+k);}}e[m]=k}}e=e[0]?e:null}else e=null;if(e&&(c=new $i(e[4],e[12]),Lj.getInstance().C.matches(c)&&(c=e[29],f=e[0],g.Va(["goog_acknowledge_monitoring","goog_get_mode","goog_update_data","goog_image_request"],f)))){kn(a,e);if("goog_get_mode"==f&&b.source){m={};Mj(m);m[0]="goog_provide_mode";m[6]=4;m[27]=a.g.document.domain;m[16]=!1;try{var n=Nj(m);b.source.postMessage(n,
b.origin);jn(a,n)}catch(q){Jj(406,q)}}if("goog_get_mode"==f||"goog_acknowledge_monitoring"==f)a.G=2,hn(a);if(b=e[32])a.X=b;a.A.length&&4!=c&&(c=!1,b=a.l.l,n=a.l.g,"goog_acknowledge_monitoring"==e[0]&&(a.B=(void 0!==e[36]?e[36]:!e[8])?2:0,ik(a)),(0,window.isNaN)(e[30])||(0,window.isNaN)(e[31])?(0,window.isNaN)(e[22])||(0,window.isNaN)(e[23])||(c=!0,b=new g.vd(e[22],e[23])):(c=!0,b=new g.vd(e[30],e[31])),e[9]&&(c=!0,e=e[9].split("-"),4==e.length&&(n=new g.qh(Tb(e[0]),Tb(e[3]),Tb(e[2]),Tb(e[1])))),c&&
(e=Ui(),c=Ji(!0,a.g,a.Y),f=Ji(!1,a.g,a.Y),a.R||(a.R=Wj(c,a.g)),k=Oj(),m=1===k,k=0===k,m=(Lj.getInstance(),m||k),e=new Xj(e,c,f,m,a),e.l=b,e.g=n,e.A=Fm(ym),pk(a,e)))}}},118);
var b=Ij(197,function(){++a.ea;if(2==a.G)hn(a);else if(10<a.ea)jk(a,"no");else if(a.g.postMessage)if(Lj.getInstance().C.Uc()){var b=gn(a);if(b){var d={};Mj(d);d[0]="goog_request_monitoring";d[6]=4;d[27]=a.g.document.domain;d[16]=!1;try{var e=Nj(d);b.postMessage(e,"*")}catch(f){}}}else jk(a,"ib");else jk(a,"c")});
this.G=1;1==Qi(Lj.getInstance().Qa,"srmi")&&b();this.L=this.g.setInterval(b,500)}else jk(this,"ib")};
g.h.ym=function(){var a={};Mj(a);a[0]="goog_stop_monitoring";jn(this,Nj(a));hn(this)};
g.h.Xg=function(){var a=Lj.getInstance();return Qi(a.Qa,"osd")&&this.Se()?4===a.I?!!Qi(a.Qa,"mkm"):!0:!1};
g.h.Se=function(){return Lj.getInstance().g};
g.Aa(fn);g.h=mn.prototype;g.h.xk=function(a){a.df=!1;Bn(a.Vd(),a.Kc)};
g.h.Vn=function(){};
g.h.im=function(a,b,c,d){this.g||(this.g=this.us());b=c?b:-1;if(null==this.g||this.A)return a=new Ml(Vj,a,b,7),a.Kc=d,a;a=new Ml(Vj,a,b,7,new Jl("measurable_impression",this.g),this.Zn());a.Kc=d;return a};
g.h.Zn=function(){return[new Zm("viewable_impression",this.g)]};
g.h.yg=function(a){var b=Lj.getInstance();switch(a.af()){case 0:b.l=!1;(a=lm.getInstance().g)&&mk(a.g,this);(a=fn.getInstance())&&mk(a,this);qn();break;case 2:b.l&&Am()}};
g.h.Pf=function(a){var b=Lj.getInstance();b.l&&(b.o=a.l,b.A=a.g)};
g.h.sf=function(){return!1};
g.h.yB=function(a,b){a.Eh=!0;switch(a.Vd()){case 1:wn(this,a,b);break;case 2:this.iq(a)}this.mq(a)};
g.h.GB=function(a){Wl(a,0);return am(a,"start",Fm(ym))};
g.h.mi=function(a,b,c){Dm(ym,[a],!Fm(ym),b);return this.Lf(a,b,c)};
g.h.Lf=function(a,b,c){return am(a,c,Fm(ym))};
g.h.BB=function(a,b){return yn(a,"firstquartile",1,b)};
g.h.DB=function(a,b){a.qb=!0;return yn(a,"midpoint",2,b)};
g.h.HB=function(a,b){return yn(a,"thirdquartile",3,b)};
g.h.zB=function(a,b){var c=yn(a,"complete",4,b);0!=a.Sb&&(a.Sb=3);return c};
g.h.Fx=function(a,b,c){var d=Fm(ym);if(2==a.Sb&&!d){var e=Ui();a.jd().G=e}Dm(ym,[a],!d,b);2==a.Sb&&(a.Sb=1);return am(a,c,d)};
g.h.FB=function(a,b){var c=this.mi(a,b||{},"skip");0!=a.Sb&&(a.Sb=3);return c};
g.h.CB=function(a,b){a.df=!0;return this.mi(a,b||{},"fullscreen")};
g.h.AB=function(a,b){a.df=!1;return this.mi(a,b||{},"exitfullscreen")};
g.h.cq=function(a,b,c){var d=a.jd(),e=Ui();d.T=Hl(d,e,1!=a.Sb);Dm(ym,[a],!Fm(ym),b);1==a.Sb&&(a.Sb=2);return am(a,c,Fm(ym))};
g.h.EB=function(a,b){Dm(ym,[a],!Fm(ym),b);return a.l()};
g.h.oo=function(a,b){Dm(ym,[a],!Fm(ym),b);this.zx(a);0!=a.Sb&&(a.Sb=3);return a.l()};
g.h.no=function(){};
g.h.iq=function(){};
g.h.zx=function(){};
g.h.uu=function(){};
g.h.mq=function(){};
g.h.us=function(){};var In={WM:"visible",hM:"audible",EO:"time",FO:"timetype"},Jn={visible:function(a){return/^(100|[0-9]{1,2})$/.test(a)},
audible:function(a){return"0"==a||"1"==a},
timetype:function(a){return"mtos"==a||"tos"==a},
time:function(a){return/^(100|[0-9]{1,2})%$/.test(a)||/^([0-9])+ms$/.test(a)}};g.r(Mn,Jl);Mn.prototype.getId=function(){return this.Ca};
Mn.prototype.B=function(){return!0};
Mn.prototype.o=function(a){var b=a.jd(),c=a.B;return(0,g.nk)(this.C,function(a){if(void 0!=a.g)var d=Ln(a,b);else b:{switch(a.B){case "mtos":d=a.l?b.B.o:b.o.g;break b;case "tos":d=a.l?b.B.g:b.o.g;break b}d=0}0==d?a=!1:(a=-1!=a.o?a.o:g.t(c)&&0<c?a.A*c:-1,a=-1!=a&&d>=a);return a})};g.r(Nn,Jl);Nn.prototype.o=function(a){var b=Kk(a.jd().l,1);return Tl(a,b)};var Pn=(0,g.D)(),Wn=!1,Xn=!1,Yn=!1,Sn=[function(a){return!(!a.chrome||!a.chrome.webstore)},
function(a){return!!a.document.documentMode},
function(a){return!!a.document.fonts.ready},
function(){return Qn(0)},
function(a){return!!a.ActiveXObject},
function(a){return!!a.chrome},
function(a){return!!a.navigator.serviceWorker},
function(a){return!!a.opera},
function(a){return!!a.sidebar},
function(){return!+"\v1"},
function(){return Qn(1)},
function(a){return!a.ActiveXObject},
function(a){return"-ms-ime-align"in a.document.documentElement.style},
function(a){return"-ms-scroll-limit"in a.document.documentElement.style},
function(a){return"-webkit-font-feature-settings"in a.document.body.style},
function(){return Qn(2)},
function(a){return"ActiveXObject"in a},
function(a){return"MozAppearance"in a.document.documentElement.style},
function(a){return"_phantom"in a},
function(a){return"callPhantom"in a},
function(a){return"content"in a.document.createElement("template")},
function(a){return"getEntriesByType"in a.performance},
function(){return Qn(3)},
function(a){return"image-rendering"in a.document.body.style},
function(a){return"object-fit"in a.document.body.style},
function(a){return"open"in a.document.createElement("details")},
function(a){return"orientation"in a.screen},
function(a){return"performance"in a},
function(a){return"shape-image-threshold"in a.document.body.style},
function(){return Qn(4)},
function(a){return"srcset"in a.document.createElement("img")},
function(){return Xn},
function(){return Yn},
function(){return Qn(5)},
function(a){a=a.document.createElement("div");a.style.width="1px";a.style.width="-webkit-min-content";a.style.width="min-content";return"1px"!=a.style.width},
function(a){a=a.document.createElement("div");a.style.width="1px";a.style.width="calc(1px - 1px)";a.style.width="-webkit-calc(1px - 1px)";return"1px"!=a.style.width},
function(){var a=!1;eval('var DummyFunction1 = function(x){ "use strict"; var a = 12; b = a + x*35; }');try{(0,window.DummyFunction1)()}catch(b){a=!0}return a},
function(){var a=!1;try{(0,window.DummyFunction2)()}catch(b){a=!0}return a},
function(){return!1},
function(){return Qn(6)},
function(a){var b=a.document.createElement("canvas");b.width=b.height=1;b=b.getContext("2d");b.globalCompositeOperation="multiply";b.fillStyle="rgb(0,255,255)";b.fillRect(0,0,1,1);b.fill();b.fillStyle="rgb(255,255,0)";b.fillRect(0,0,1,1);b.fill();b=b.getImageData(0,0,1,1).data;return b[0]==b[2]&&b[1]==b[3]||On(a.navigator.vibrate)},
function(a){a=a.document.createElement("canvas");a.width=a.height=1;a=a.getContext("2d");a.globalCompositeOperation="multiply";a.fillStyle="rgb(0,255,255)";a.fillRect(0,0,1,1);a.fill();a.fillStyle="rgb(255,255,0)";a.fillRect(0,0,1,1);a.fill();a=a.getImageData(0,0,1,1).data;return a[0]==a[2]&&a[1]==a[3]},
function(a){a=a.document.createElement("div");return On(a.matches)},
function(a){a=a.document.createElement("input");a.setAttribute("type","range");return"text"!==a.type},
function(a){return a.CSS.supports("image-rendering","pixelated")},
function(a){return a.CSS.supports("object-fit","contain")},
function(){return Qn(7)},
function(a){return a.CSS.supports("object-fit","inherit")},
function(a){return a.CSS.supports("shape-image-threshold","0.9")},
function(a){return a.CSS.supports("word-break","keep-all")},
function(){return eval("1 == [for (item of [1,2,3]) item][0]")},
function(a){return On(a.CSS.supports)},
function(){return On(window.Intl.Collator)},
function(a){return On(a.document.createElement("dialog").show)},
function(){return Qn(8)},
function(a){return On(a.document.createElement("div").animate([{transform:"scale(1)",easing:"ease-in"},{transform:"scale(1.3)",easing:"ease-in"}],{duration:1300,iterations:1}).reverse)},
function(a){return On(a.document.createElement("div").animate)},
function(a){return On(a.document.documentElement.webkitRequestFullScreen)},
function(a){return On(a.navigator.getBattery)},
function(a){return On(a.navigator.permissions.query)},
function(){return!1},
function(){return Qn(9)},
function(){return On(window.webkitRequestAnimationFrame)},
function(a){return On(a.BroadcastChannel.call)},
function(a){return On(a.FontFace)},
function(a){return On(a.Gamepad)},
function(){return Qn(10)},
function(a){return On(a.MutationEvent)},
function(a){return On(a.MutationObserver)},
function(a){return On(a.crypto.getRandomValues)},
function(a){return On(a.document.body.createShadowRoot)},
function(a){return On(a.document.body.webkitCreateShadowRoot)},
function(a){return On(a.fetch)},
function(){return Qn(11)},
function(a){return On(a.navigator.serviceWorker.register)},
function(a){return On(a.navigator.webkitGetGamepads)},
function(a){return On(a.speechSynthesis.speak)},
function(a){return On(a.webkitRTCPeerConnection)},
function(a){return a.CSS.supports("--fake-var","0")},
function(){return Qn(12)},
function(a){return a.CSS.supports("cursor","grab")},
function(a){return a.CSS.supports("cursor","zoom-in")},
function(a){return a.CSS.supports("image-orientation","270deg")},
function(){return Qn(13)},
function(a){return a.CSS.supports("position","sticky")},
function(a){return void 0===a.document.createElement("style").scoped},
function(a){return a.performance.getEntriesByType("resource")instanceof Array},
function(){return"undefined"==typeof window.InstallTrigger},
function(){return"object"==typeof(new window.Intl.Collator).resolvedOptions()},
function(a){return"boolean"==typeof a.navigator.onLine},
function(){return Qn(14)},
function(a){return"undefined"==typeof a.navigator.qP},
function(a){return"number"==typeof a.performance.now()},
function(){return 0==(new window.Uint16Array(1))[0]},
function(a){return-1==a.ActiveXObject.toString().indexOf("native")},
function(a){return-1==Object.prototype.toString.call(a.HTMLElement).indexOf("Constructor")}],Tn=[function(a){a=a.document.createElement("div");
var b=null,c=["{45EA75A0-A269-11D1-B5BF-0000F8051515}","{3AF36230-A269-11D1-B5BF-0000F8051515}","{89820200-ECBD-11CF-8B85-00AA005B4383}"];try{a.style.behavior="url(#default#clientcaps)"}catch(e){}for(var d=0;d<c.length;d++){try{b=a.getComponentVersion(c[d],"componentid").replace(/,/g,".")}catch(e){}if(b)return b.split(".")[0]}return!1},
function(){return(new Date).getTimezoneOffset()},
function(a){return(a.innerWidth||a.document.documentElement.clientWidth||a.document.body.clientWidth)/(a.innerHeight||a.document.documentElement.clientHeight||a.document.body.clientHeight)},
function(a){return(a.outerWidth||a.document&&a.document.body&&a.document.body.offsetWidth)/(a.outerHeight||a.document&&a.document.body&&a.document.body.offsetHeight)},
function(a){return a.screen.availWidth/a.screen.availHeight},
function(a){return a.screen.width/a.screen.height}],Un=[function(a){return a.navigator.userAgent},
function(a){return a.navigator.platform},
function(a){return a.navigator.vendor}];g.B(Zn,Gg);Zn.prototype.reset=function(){this.g[0]=1732584193;this.g[1]=4023233417;this.g[2]=2562383102;this.g[3]=271733878;this.A=this.o=0};
Zn.prototype.update=function(a,b){g.t(b)||(b=a.length);for(var c=b-this.l,d=this.B,e=this.o,f=0;f<b;){if(0==e)for(;f<=c;)$n(this,a,f),f+=this.l;if(g.v(a))for(;f<b;){if(d[e++]=a.charCodeAt(f++),e==this.l){$n(this,d);e=0;break}}else for(;f<b;)if(d[e++]=a[f++],e==this.l){$n(this,d);e=0;break}}this.o=e;this.A+=b};
Zn.prototype.digest=function(){var a=Array((56>this.o?this.l:2*this.l)-this.o);a[0]=128;for(var b=1;b<a.length-8;++b)a[b]=0;var c=8*this.A;for(b=a.length-8;b<a.length;++b)a[b]=c&255,c/=256;this.update(a);a=Array(16);for(b=c=0;4>b;++b)for(var d=0;32>d;d+=8)a[c++]=this.g[b]>>>d&255;return a};g.r(ao,cn);ao.prototype.g=function(a){var b=cn.prototype.g.call(this,a);var c=Pn=(0,g.D)();var d=Qn(5);c=(Xn?!d:d)?c|2:c&-3;d=Qn(2);c=(Yn?!d:d)?c|8:c&-9;c={s1:(c>>>0).toString(16)};this.l||(this.l=Vn());b.B=this.l;b.C=bn(a,sga,c,"h",bo("kArwaWEsTs"));b.A=bn(a,uga,{},"h",bo("b96YPMzfnx"));b.l=bn(a,vga,{},"h",bo("yb8Wev6QDg"));return b};co.prototype.g=function(){return g.z(this.l)};g.r(fo,co);fo.prototype.g=function(a){if(!a.ag)return co.prototype.g.call(this,a);var b=this.A[a.ag];if(b)return function(a,d,e){b.l(a,d,e)};
Jj(393,Error());return null};g.r(lo,mn);g.h=lo.prototype;g.h.Vn=function(a,b){var c=this;switch(Lj.getInstance().Va){case "nis":var d=po(this,a,b);break;case "gsv":d=oo(this,a,b);break;case "exc":d=qo(this,a);break;default:b.opt_overlayAdElement?d=void 0:b.opt_adElement?d=Dn(this,a,b.opt_adElement,b.opt_osdId):d=Hm(a)||void 0}d&&1==d.Vd()&&(d.fa==g.za&&(d.fa=function(a){return c.uu(a)}),no(this,d,b));
return d};
g.h.uu=function(a){var b=Lj.getInstance();a.g=0;a.R=0;if("h"==a.A||"n"==a.A){if("exc"==b.Va||"nis"==b.Va)var c=g.z("ima.bridge.getVideoMetadata");else if(a.ag&&vo(this)){var d=this.C[a.ag];d?c=function(a){d.g(a)}:null!==d&&Jj("lidar::missingPlayerCallback",Error())}else c=g.z("ima.common.getVideoMetadata");
if(g.Ea(c))try{var e=c(a.Kc)}catch(f){a.g|=4}else a.g|=2}else if("b"==a.A)if(b=g.z("ytads.bulleit.getVideoMetadata"),g.Ea(b))try{e=b(a.Kc)}catch(f){a.g|=4}else a.g|=2;else if("ml"==a.A)if(b=g.z("ima.common.getVideoMetadata"),g.Ea(b))try{e=b(a.Kc)}catch(f){a.g|=4}else a.g|=2;else a.g|=1;a.g||(g.t(e)?null===e?a.g|=16:g.lc(e)?a.g|=32:null!=e.errorCode&&(a.R=e.errorCode,a.g|=64):a.g|=8);null!=e||(e={});Gn(e,a);Uj(e.volume)&&Uj(this.F)&&(e.volume*=this.F);return e};
g.h.us=function(){if(vo(this))return new fo("ima.common.triggerExternalActivityEvent",this.o,this.C);var a=ro(this);return null!=a?new co(a,this.o):null};
g.h.Zn=function(){var a=this.g,b=mn.prototype.Zn.call(this);b.push(new Nn(a));return b};
g.h.iq=function(a){!a.g&&a.Eh&&un(this,a,"overlay_unmeasurable_impression")&&(a.g=!0)};
g.h.zx=function(a){a.fy&&(a.Gg()?un(this,a,"overlay_viewable_end_of_session_impression"):un(this,a,"overlay_unviewable_impression"),a.fy=!1)};
g.h.no=function(a){this.A&&1==a.Vd()&&wo(this,a)};
g.h.mq=function(a){this.A&&1==a.Vd()&&wo(this,a)};
g.h.im=function(a,b,c,d){a=mn.prototype.im.call(this,a,b,c,d);this.B&&(b=this.G,null==a.C&&(a.C=new wl),b.g[a.Kc]=a.C,a.C.B=qga);return a};
g.h.xk=function(a){a&&1==a.Vd()&&this.B&&delete this.G.g[a.Kc];return mn.prototype.xk.call(this,a)};
g.Aa(lo);g.y("Goog_AdSense_Lidar_sendVastEvent",Cj(193,yo,An),void 0);g.y("Goog_AdSense_Lidar_getViewability",Ij(194,function(a,b){b=void 0===b?{}:b;var c=uo(lo.getInstance(),a,b);return xo(c)}),void 0);
g.y("Goog_AdSense_Lidar_getUrlSignalsArray",Ij(195,function(){return ko()}),void 0);
g.y("Goog_AdSense_Lidar_getUrlSignalsList",Ij(196,function(){return g.Mg(ko())}),void 0);var gea=(new Date).getTime();g.h=g.Eo.prototype;g.h.qc=function(){Go(this);for(var a=[],b=0;b<this.g.length;b++)a.push(this.l[this.g[b]]);return a};
g.h.od=function(){Go(this);return this.g.concat()};
g.h.isEmpty=function(){return 0==this.ya};
g.h.clear=function(){this.l={};this.hg=this.ya=this.g.length=0};
g.h.remove=function(a){return Fo(this.l,a)?(delete this.l[a],this.ya--,this.hg++,this.g.length>2*this.ya&&Go(this),!0):!1};
g.h.get=function(a,b){return Fo(this.l,a)?this.l[a]:b};
g.h.set=function(a,b){Fo(this.l,a)||(this.ya++,this.g.push(a),this.hg++);this.l[a]=b};
g.h.forEach=function(a,b){for(var c=this.od(),d=0;d<c.length;d++){var e=c[d],f=this.get(e);a.call(b,f,e,this)}};
g.h.clone=function(){return new g.Eo(this)};
g.h.Pe=function(a){Go(this);var b=0,c=this.hg,d=this,e=new ql;e.next=function(){if(c!=d.hg)throw Error("The map has changed since the iterator was created");if(b>=d.g.length)throw rl;var e=d.g[b++];return a?e:d.l[e]};
return e};g.Ho.prototype.toString=function(){var a=[],b=this.A;b&&a.push(Po(b,RW,!0),":");var c=this.g;if(c||"file"==b)a.push("//"),(b=this.G)&&a.push(Po(b,RW,!0),"@"),a.push(g.zb(c).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),c=this.B,null!=c&&a.push(":",String(c));if(c=this.l)this.g&&"/"!=c.charAt(0)&&a.push("/"),a.push(Po(c,"/"==c.charAt(0)?wga:xga,!0));(c=this.o.toString())&&a.push("?",c);(c=this.C)&&a.push("#",Po(c,yga));return a.join("")};
g.Ho.prototype.resolve=function(a){var b=this.clone(),c=!!a.A;c?g.Io(b,a.A):c=!!a.G;c?b.G=a.G:c=!!a.g;c?g.Jo(b,a.g):c=null!=a.B;var d=a.l;if(c)g.Ko(b,a.B);else if(c=!!a.l){if("/"!=d.charAt(0))if(this.g&&!this.l)d="/"+d;else{var e=b.l.lastIndexOf("/");-1!=e&&(d=b.l.substr(0,e+1)+d)}e=d;if(".."==e||"."==e)d="";else if(-1!=e.indexOf("./")||-1!=e.indexOf("/.")){d=g.wb(e,"/");e=e.split("/");for(var f=[],k=0;k<e.length;){var l=e[k++];"."==l?d&&k==e.length&&f.push(""):".."==l?((1<f.length||1==f.length&&
""!=f[0])&&f.pop(),d&&k==e.length&&f.push("")):(f.push(l),d=!0)}d=f.join("/")}else d=e}c?b.l=d:c=""!==a.o.toString();c?Lo(b,a.o.clone()):c=!!a.C;c&&(b.C=a.C);return b};
g.Ho.prototype.clone=function(){return new g.Ho(this)};
var RW=/[#\/\?@]/g,xga=/[#\?:]/g,wga=/[#\?]/g,Qo=/[#\?@]/g,yga=/#/g;g.h=g.No.prototype;g.h.add=function(a,b){Uo(this);this.l=null;a=Vo(this,a);var c=this.g.get(a);c||this.g.set(a,c=[]);c.push(b);this.ya=this.ya+1;return this};
g.h.remove=function(a){Uo(this);a=Vo(this,a);return Fo(this.g.l,a)?(this.l=null,this.ya=this.ya-this.g.get(a).length,this.g.remove(a)):!1};
g.h.clear=function(){this.g=this.l=null;this.ya=0};
g.h.isEmpty=function(){Uo(this);return 0==this.ya};
g.h.forEach=function(a,b){Uo(this);this.g.forEach(function(c,d){(0,g.C)(c,function(c){a.call(b,c,d,this)},this)},this)};
g.h.od=function(){Uo(this);for(var a=this.g.qc(),b=this.g.od(),c=[],d=0;d<b.length;d++)for(var e=a[d],f=0;f<e.length;f++)c.push(b[d]);return c};
g.h.qc=function(a){Uo(this);var b=[];if(g.v(a))Wo(this,a)&&(b=g.cb(b,this.g.get(Vo(this,a))));else{a=this.g.qc();for(var c=0;c<a.length;c++)b=g.cb(b,a[c])}return b};
g.h.set=function(a,b){Uo(this);this.l=null;a=Vo(this,a);Wo(this,a)&&(this.ya=this.ya-this.g.get(a).length);this.g.set(a,[b]);this.ya=this.ya+1;return this};
g.h.get=function(a,b){if(!a)return b;var c=this.qc(a);return 0<c.length?String(c[0]):b};
g.h.toString=function(){if(this.l)return this.l;if(!this.g)return"";for(var a=[],b=this.g.od(),c=0;c<b.length;c++){var d=b[c],e=g.zb(d);d=this.qc(d);for(var f=0;f<d.length;f++){var k=e;""!==d[f]&&(k+="="+g.zb(d[f]));a.push(k)}}return this.l=a.join("&")};
g.h.clone=function(){var a=new g.No;a.l=this.l;this.g&&(a.g=this.g.clone(),a.ya=this.ya);return a};var Bp={Lz:5E3,Mz:15E3,sr:"://secure-...imrworldwide.com/ ://cdn.imrworldwide.com/ ://aksecure.imrworldwide.com/ ://[^.]*.moatads.com ://youtube[0-9]+.moatpixel.com ://pm.adsafeprotected.com/youtube ://pm.test-adsafeprotected.com/youtube ://e[0-9]+.yt.srs.doubleverify.com www.google.com/pagead/sul www.google.com/pagead/xsul www.youtube.com/pagead/sul www.youtube.com/pagead/psul www.youtube.com/pagead/slav".split(" "),Wz:/\bocr\b/,zn:0,pf:{},eL:function(a,b,c){a&&(Bp.jl(a)?Bp.fL(a,b):Bp.dL(a,b,c))},
jl:function(a){if(g.yb(g.Nb(a)))return!1;if(0<=a.indexOf("://pagead2.googlesyndication.com/pagead/gen_204?id=yt3p&sr=1&"))return!0;try{var b=new g.Ho(a)}catch(c){return null!=g.Ra(Bp.sr,function(b){return 0<a.search(b)})}return b.C.match(Bp.Wz)?!0:null!=g.Ra(Bp.sr,function(b){return null!=a.match(b)})},
fL:function(a,b){if(a&&(a=Bp.RA(a),!g.yb(a))){var c='javascript:"<body><img src=\\""+'+a+'+"\\"></body>"';b?Bp.Vt(function(b){Bp.Px(b?c:'javascript:"<body><object data=\\""+'+a+'+"\\" type=\\"text/html\\" width=1 height=1 style=\\"visibility:hidden;\\"></body>"')}):Bp.Px(c)}},
Px:function(a){var b=g.Rd("IFRAME",{src:a,style:"display:none"});a=g.yd(b).body;var c=g.Cg(function(){g.Af(d);g.Yd(b)},Bp.Mz);
var d=nf(b,["load","error"],function(){g.Cg(function(){g.x.clearTimeout(c);g.Yd(b)},Bp.Lz)});
a.appendChild(b)},
Vt:function(a,b){var c=Bp.pf.imageLoadingEnabled;if(null!=c)a(c);else{var d=!1;c=function(b,c){delete Bp.pf[c];d||(d=!0,null!=Bp.pf.imageLoadingEnabled||(Bp.pf.imageLoadingEnabled=b),a(b))};
b?b(c):Bp.gC(c)}},
gC:function(a){var b=new window.Image,c=""+Bp.zn++;Bp.pf[c]=b;b.onload=function(){(0,window.clearTimeout)(d);a(!0,c)};
var d=(0,window.setTimeout)(function(){a(!1,c)},300);
b.src="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw=="},
cL:function(a){if(a){var b=g.Td("OBJECT");b.data=a;b.width="1";b.height="1";b.style.visibility="hidden";var c=""+Bp.zn++;Bp.pf[c]=b;b.onload=b.onerror=function(){delete Bp.pf[c]};
window.document.body.appendChild(b)}},
Qx:function(a){if(a){var b=new window.Image,c=""+Bp.zn++;Bp.pf[c]=b;b.onload=b.onerror=function(){delete Bp.pf[c]};
b.src=a}},
dL:function(a,b,c){if(a){if(c)try{if(g.x.navigator&&g.x.navigator.sendBeacon&&g.x.navigator.sendBeacon(a,""))return}catch(d){}b?Bp.Vt(function(b){b?Bp.Qx(a):Bp.cL(a)}):Bp.Qx(a)}},
RA:function(a){a=g.Tc(g.Wc(a));if("about:invalid#zClosurez"===a)return"";a=g.hd(jd(a));return g.zb(g.Mg(a))}};g.B(g.Yo,g.G);var SW=[];g.h=g.Yo.prototype;g.h.da=function(a,b,c,d){g.Ca(b)||(b&&(SW[0]=b.toString()),b=SW);for(var e=0;e<b.length;e++){var f=g.of(a,b[e],c||this.handleEvent,d||!1,this.l||this);if(!f)break;this.g[f.key]=f}return this};
g.h.ql=function(a,b,c,d){return Zo(this,a,b,c,d)};
g.h.Na=function(a,b,c,d,e){if(g.Ca(b))for(var f=0;f<b.length;f++)this.Na(a,b[f],c,d,e);else c=c||this.handleEvent,d=g.Fa(d)?!!d.capture:!!d,e=e||this.l||this,c=pf(c),d=!!d,b=g.ef(a)?a.Ni(b,c,d,e):a?(a=g.rf(a))?a.Ni(b,c,d,e):null:null,b&&(g.Af(b),delete this.g[b.key])};
g.h.U=function(){g.Yo.wa.U.call(this);g.$o(this)};
g.h.handleEvent=function(){throw Error("EventHandler.handleEvent not implemented");};var ap=/(?:\[|%5B)([a-zA-Z0-9_]+)(?:\]|%5D)/g;g.B(cp,g.bf);hp.prototype.g=function(){return!1};
hp.prototype.getPlayerType=function(){return""};
var ip=new hp;jp.prototype.getId=function(){return this.Ca};kp.prototype.getId=function(){return this.Ca};var qp=null;var vp=["*.youtu.be","*.youtube.com"],Ap="ad.doubleclick.net bid.g.doubleclick.net corp.google.com ggpht.com google.co.uk google.com googleads.g.doubleclick.net googleads4.g.doubleclick.net googleadservices.com googlesyndication.com googleusercontent.com gstatic.com gvt1.com prod.google.com pubads.g.doubleclick.net s0.2mdn.net static.doubleclick.net static.doubleclick.net surveys.g.doubleclick.net youtube.com ytimg.com".split(" "),zp=["c.googlesyndication.com"];var Ep=function(){if(g.Sz)return Dp(/Firefox\/([0-9.]+)/);if(g.Kd||Pz||g.Lh)return Ec;if(g.Ew)return yc()?Dp(/CriOS\/([0-9.]+)/):Dp(/Chrome\/([0-9.]+)/);if(g.eA&&!yc())return Dp(/Version\/([0-9.]+)/);if(EA||DA){var a=/Version\/(\S+).*Mobile\/(\S+)/.exec(g.Xb);if(a)return a[1]+"."+a[2]}else if(FA)return(a=Dp(/Android\s+([0-9.]+)/))?a:Dp(/Version\/([0-9.]+)/);return""}();g.TW={Wq:["BC","AD"],Vq:["Before Christ","Anno Domini"],lr:"JFMAMJJASOND".split(""),ur:"JFMAMJJASOND".split(""),Um:"January February March April May June July August September October November December".split(" "),Zm:"January February March April May June July August September October November December".split(" "),Xm:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),an:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),fn:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),
cn:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),Ym:"Sun Mon Tue Wed Thu Fri Sat".split(" "),bn:"Sun Mon Tue Wed Thu Fri Sat".split(" "),Tz:"SMTWTFS".split(""),vr:"SMTWTFS".split(""),tr:["Q1","Q2","Q3","Q4"],rr:["1st quarter","2nd quarter","3rd quarter","4th quarter"],Rm:["AM","PM"],Uj:["EEEE, MMMM d, y","MMMM d, y","MMM d, y","M/d/yy"],dn:["h:mm:ss a zzzz","h:mm:ss a z","h:mm:ss a","h:mm a"],Tq:["{1} 'at' {0}","{1} 'at' {0}","{1}, {0}","{1}, {0}"],ti:6,zr:[5,6],wi:5};
g.TW={Wq:["\u0434\u043e \u043d. \u044d.","\u043d. \u044d."],Vq:["\u0434\u043e \u0420\u043e\u0436\u0434\u0435\u0441\u0442\u0432\u0430 \u0425\u0440\u0438\u0441\u0442\u043e\u0432\u0430","\u043e\u0442 \u0420\u043e\u0436\u0434\u0435\u0441\u0442\u0432\u0430 \u0425\u0440\u0438\u0441\u0442\u043e\u0432\u0430"],lr:"\u042f\u0424\u041c\u0410\u041c\u0418\u0418\u0410\u0421\u041e\u041d\u0414".split(""),ur:"\u042f\u0424\u041c\u0410\u041c\u0418\u0418\u0410\u0421\u041e\u041d\u0414".split(""),Um:"\u044f\u043d\u0432\u0430\u0440\u044f \u0444\u0435\u0432\u0440\u0430\u043b\u044f \u043c\u0430\u0440\u0442\u0430 \u0430\u043f\u0440\u0435\u043b\u044f \u043c\u0430\u044f \u0438\u044e\u043d\u044f \u0438\u044e\u043b\u044f \u0430\u0432\u0433\u0443\u0441\u0442\u0430 \u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044f \u043e\u043a\u0442\u044f\u0431\u0440\u044f \u043d\u043e\u044f\u0431\u0440\u044f \u0434\u0435\u043a\u0430\u0431\u0440\u044f".split(" "),
Zm:"\u044f\u043d\u0432\u0430\u0440\u044c \u0444\u0435\u0432\u0440\u0430\u043b\u044c \u043c\u0430\u0440\u0442 \u0430\u043f\u0440\u0435\u043b\u044c \u043c\u0430\u0439 \u0438\u044e\u043d\u044c \u0438\u044e\u043b\u044c \u0430\u0432\u0433\u0443\u0441\u0442 \u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c \u043e\u043a\u0442\u044f\u0431\u0440\u044c \u043d\u043e\u044f\u0431\u0440\u044c \u0434\u0435\u043a\u0430\u0431\u0440\u044c".split(" "),Xm:"\u044f\u043d\u0432. \u0444\u0435\u0432\u0440. \u043c\u0430\u0440. \u0430\u043f\u0440. \u043c\u0430\u044f \u0438\u044e\u043d. \u0438\u044e\u043b. \u0430\u0432\u0433. \u0441\u0435\u043d\u0442. \u043e\u043a\u0442. \u043d\u043e\u044f\u0431. \u0434\u0435\u043a.".split(" "),
an:"\u044f\u043d\u0432. \u0444\u0435\u0432\u0440. \u043c\u0430\u0440\u0442 \u0430\u043f\u0440. \u043c\u0430\u0439 \u0438\u044e\u043d\u044c \u0438\u044e\u043b\u044c \u0430\u0432\u0433. \u0441\u0435\u043d\u0442. \u043e\u043a\u0442. \u043d\u043e\u044f\u0431. \u0434\u0435\u043a.".split(" "),fn:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435 \u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a \u0432\u0442\u043e\u0440\u043d\u0438\u043a \u0441\u0440\u0435\u0434\u0430 \u0447\u0435\u0442\u0432\u0435\u0440\u0433 \u043f\u044f\u0442\u043d\u0438\u0446\u0430 \u0441\u0443\u0431\u0431\u043e\u0442\u0430".split(" "),
cn:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435 \u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a \u0432\u0442\u043e\u0440\u043d\u0438\u043a \u0441\u0440\u0435\u0434\u0430 \u0447\u0435\u0442\u0432\u0435\u0440\u0433 \u043f\u044f\u0442\u043d\u0438\u0446\u0430 \u0441\u0443\u0431\u0431\u043e\u0442\u0430".split(" "),Ym:"\u0432\u0441 \u043f\u043d \u0432\u0442 \u0441\u0440 \u0447\u0442 \u043f\u0442 \u0441\u0431".split(" "),bn:"\u0432\u0441 \u043f\u043d \u0432\u0442 \u0441\u0440 \u0447\u0442 \u043f\u0442 \u0441\u0431".split(" "),
Tz:"\u0432\u0441 \u043f\u043d \u0432\u0442 \u0441\u0440 \u0447\u0442 \u043f\u0442 \u0441\u0431".split(" "),vr:"\u0412\u041f\u0412\u0421\u0427\u041f\u0421".split(""),tr:["1-\u0439 \u043a\u0432.","2-\u0439 \u043a\u0432.","3-\u0439 \u043a\u0432.","4-\u0439 \u043a\u0432."],rr:["1-\u0439 \u043a\u0432\u0430\u0440\u0442\u0430\u043b","2-\u0439 \u043a\u0432\u0430\u0440\u0442\u0430\u043b","3-\u0439 \u043a\u0432\u0430\u0440\u0442\u0430\u043b","4-\u0439 \u043a\u0432\u0430\u0440\u0442\u0430\u043b"],Rm:["AM","PM"],
Uj:["EEEE, d MMMM y '\u0433'.","d MMMM y '\u0433'.","d MMM y '\u0433'.","dd.MM.y"],dn:["H:mm:ss zzzz","H:mm:ss z","H:mm:ss","H:mm"],Tq:["{1}, {0}","{1}, {0}","{1}, {0}","{1}, {0}"],ti:0,zr:[5,6],wi:3};g.h=g.Ip.prototype;g.h.Hk=g.TW.ti;g.h.Jk=g.TW.wi;g.h.clone=function(){var a=new g.Ip(this.date);a.Hk=this.Hk;a.Jk=this.Jk;return a};
g.h.getFullYear=function(){return this.date.getFullYear()};
g.h.getMonth=function(){return this.date.getMonth()};
g.h.getDate=function(){return this.date.getDate()};
g.h.getTime=function(){return this.date.getTime()};
g.h.getDay=function(){return this.date.getDay()};
g.h.getUTCFullYear=function(){return this.date.getUTCFullYear()};
g.h.getUTCMonth=function(){return this.date.getUTCMonth()};
g.h.getUTCDate=function(){return this.date.getUTCDate()};
g.h.getUTCHours=function(){return this.date.getUTCHours()};
g.h.getUTCMinutes=function(){return this.date.getUTCMinutes()};
g.h.getTimezoneOffset=function(){return this.date.getTimezoneOffset()};
g.h.set=function(a){this.date=new Date(a.getFullYear(),a.getMonth(),a.getDate())};
g.h.add=function(a){if(a.g||a.months){var b=this.getMonth()+a.months+12*a.g,c=this.getFullYear()+Math.floor(b/12);b%=12;0>b&&(b+=12);a:{switch(b){case 1:var d=0!=c%4||0==c%100&&0!=c%400?28:29;break a;case 5:case 8:case 10:case 3:d=30;break a}d=31}d=Math.min(d,this.getDate());this.date.setDate(1);this.date.setFullYear(c);this.date.setMonth(b);this.date.setDate(d)}a.days&&(a=new Date((new Date(this.getFullYear(),this.getMonth(),this.getDate(),12)).getTime()+864E5*a.days),this.date.setDate(1),this.date.setFullYear(a.getFullYear()),
this.date.setMonth(a.getMonth()),this.date.setDate(a.getDate()),Hp(this,a.getDate()))};
g.h.Bm=function(a){return[this.getFullYear(),g.Mb(this.getMonth()+1,2),g.Mb(this.getDate(),2)].join(a?"-":"")+""};
g.h.toString=function(){return this.Bm()};
g.h.valueOf=function(){return this.date.valueOf()};var Kp=new Jp;Jp.prototype.clear=function(){this.g=null;this.o="";this.l=null};g.Aa(Mp);Mp.prototype.isLoggingEnabled=function(){return this.l};g.B(Qp,g.Ff);var Rp=null;g.y("ima.bridge.getNativeViewability",function(a,b){Sp();b({})},void 0);
g.y("ima.bridge.getVideoMetadata",function(){var a=(Sp(),null);return g.Ea(a)?a():{}},void 0);
g.y("ima.bridge.triggerViewEvent",function(a,b){var c={};c.queryId=a;c.viewabilityString=b;Sp().dispatchEvent(new cp("viewable_impression",null,c))},void 0);
g.y("ima.bridge.triggerMeasurableEvent",function(a,b){var c={};c.queryId=a;c.viewabilityString=b;Sp().dispatchEvent(new cp("measurable_impression",null,c))},void 0);
g.y("ima.bridge.triggerExternalActivityEvent",function(a,b,c){var d={};d.queryId=a;d.viewabilityString=b;d.eventName=c;Sp().dispatchEvent(new cp("externalActivityEvent",null,d))},void 0);var UW=!1;
(function(){if(window.navigator.plugins&&window.navigator.plugins.length){var a=window.navigator.plugins["Shockwave Flash"];if(a&&(UW=!0,a.description)){Tp(a.description);return}if(window.navigator.plugins["Shockwave Flash 2.0"]){UW=!0;return}}if(window.navigator.mimeTypes&&window.navigator.mimeTypes.length&&(a=window.navigator.mimeTypes["application/x-shockwave-flash"],UW=!(!a||!a.enabledPlugin))){Tp(a.enabledPlugin.description);return}try{var b=new window.ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");UW=
!0;Tp(b.GetVariable("$version"));return}catch(c){}try{b=new window.ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");UW=!0;return}catch(c){}try{b=new window.ActiveXObject("ShockwaveFlash.ShockwaveFlash"),UW=!0,Tp(b.GetVariable("$version"))}catch(c){}})();g.B(Up,g.Ff);var Vp=null;Up.prototype.U=function(){this.ba.Na(this.g,"activityMonitor",this.A);this.l=!1;this.C.clear();Up.wa.U.call(this)};
Up.prototype.init=function(a){if(!this.l){if(this.g=a||null)this.ba.da(this.g,"activityMonitor",this.A),Xp(this);if(!(g.x.ima&&g.x.ima.video&&g.x.ima.video.client&&g.x.ima.video.client.tagged)){g.y("ima.video.client.sdkTag",!0,void 0);var b=g.x.document;a=b.createElement("script");var c=b.location.protocol;"http:"!=c&&"https:"!=c&&(c="");a.src=c+"//s0.2mdn.net/instream/video/client.js";a.async=!0;a.type="text/javascript";b=b.getElementsByTagName("script")[0];b.parentNode.insertBefore(a,b)}(a=ip.g())||
(a=!1);a||(lo.getInstance().A=!0);this.o=(g.Ea(null),null);mo();this.l=!0}};
Up.prototype.A=function(a){var b=a.g(),c=b.queryId,d={};d.eventId=b.eventId;switch(a.l()){case "getPageSignals":Xp(this);break;case "reportVastEvent":a=b.vastEvent;var e=b.osdId,f={};f.opt_fullscreen=b.isFullscreen;b.isOverlay&&(f.opt_bounds=b.overlayBounds);if(this.l)if(this.o)c=this.o(a,c,f);else{b=f||{};if(e=e?this.B.get(e):ip.o){if(null==b.opt_fullscreen){if(null==e)f=!1;else if((BW&&!CW||Kb(g.Xb,"iPod"))&&null!=e.webkitDisplayingFullscreen)f=e.webkitDisplayingFullscreen;else{f=window.screen.availWidth||
window.screen.width;var k=window.screen.availHeight||window.screen.height;var l=g.Ea(e.getBoundingClientRect)&&g.ee(g.yd(e),e)?e.getBoundingClientRect():{left:e.offsetLeft,top:e.offsetTop,width:e.offsetWidth,height:e.offsetHeight};f=0>=f-l.width&&42>=k-l.height}b.opt_fullscreen=f}null!=b.opt_adElement||(b.opt_adElement=e)}c=Hj("lidar::handlevast_html5",g.La(yo,a,c,b))||{}}else c={};d.viewabilityData=c;this.g.send("activityMonitor","viewability",d);break;case "fetchAdTagUrl":c={},c.eventId=b.eventId,
e=b.osdId,d=null,hc(b,"isFullscreen")&&(d=b.isFullscreen),hc(b,"loggingId")&&(a=b.loggingId,c.loggingId=a,Pp(Mp.getInstance(),{step:"beforeLookup",logid:a,time:(0,g.D)()})),c.engagementString=Yp(this,e,d),this.g.send("activityMonitor","engagement",c)}};
g.y("ima.common.getVideoMetadata",function(a){a=Wp().C.get(a);return g.Ea(a)?a():{}},void 0);
g.y("ima.common.triggerViewEvent",function(a,b){var c={};c.queryId=a;c.viewabilityString=b;var d=Wp().g;d?d.send("activityMonitor","viewableImpression",c):Wp().dispatchEvent(new cp("viewable_impression",null,c))},void 0);
g.y("ima.common.triggerViewabilityMeasurementUpdate",function(a,b){var c=Wp().g,d={};d.queryId=a;d.viewabilityData=b;c&&c.send("activityMonitor","viewabilityMeasurement",d)},void 0);
g.y("ima.common.triggerMeasurableEvent",function(a,b){var c={};c.queryId=a;c.viewabilityString=b;var d=Wp().g;d?d.send("activityMonitor","measurableImpression",c):Wp().dispatchEvent(new cp("measurable_impression",null,c))},void 0);
g.y("ima.common.triggerExternalActivityEvent",function(a,b,c){var d={};d.queryId=a;d.viewabilityString=b;d.eventName=c;(a=Wp().g)?a.send("activityMonitor","externalActivityEvent",d):Wp().dispatchEvent(new cp("externalActivityEvent",null,d))},void 0);
Wp();g.Zp.prototype.g=function(a){var b=0,c=0,d=!1;a=a.split(gga);for(var e=0;e<a.length;e++){var f=a[e];$Q.test(f)?(b++,c++):fga.test(f)?d=!0:ega.test(f)?c++:hga.test(f)&&(d=!0)}return 0==c?d?1:0:.4<b/c?-1:1};var aq={};var zga=g.Kd?Qc(g.Lc('javascript:""')):Qc(g.Lc("about:blank"));Oc(zga);var Aga=g.Kd?Qc(g.Lc('javascript:""')):Qc(g.Lc("javascript:undefined"));Oc(Aga);bq("a","");bq("a","fixedDirectionality");bq("a","redesign2014q4");bq("b","");bq("b","redesign2014q4");bq("b","forcedlinebreak");bq("b","postroll");bq("b","postrollforcedlinebreak");var jq=g.Kd&&iq();g.B(g.lq,g.Ff);g.lq.prototype.A=function(){this.Dd("begin")};
g.lq.prototype.o=function(){this.Dd("end")};
g.lq.prototype.Jc=function(){this.Dd("finish")};
g.lq.prototype.Dd=function(a){this.dispatchEvent(a)};var Bga=g.Lf(function(){if(g.Kd)return g.Fc("10.0");var a=g.Td("DIV"),b=g.Md?"-webkit":g.Kh?"-moz":g.Kd?"-ms":g.Lh?"-o":null,c={transition:"opacity 1s linear"};b&&(c[b+"-transition"]="opacity 1s linear");b={style:c};if(!LW.test("div"))throw Error("Invalid tag name <div>.");if("DIV"in kga)throw Error("Tag name <div> is not allowed for SafeHtml.");c=null;var d="";if(b)for(n in b){if(!LW.test(n))throw Error('Invalid attribute name "'+n+'".');var e=b[n];if(null!=e){var f=n;var k=e;if(k instanceof Jc)k=
Kc(k);else if("style"==f.toLowerCase()){e=void 0;if(!g.Fa(k))throw Error('The "style" attribute requires goog.html.SafeStyle or map of style properties, '+typeof k+" given: "+k);if(!(k instanceof Zc)){var l="";for(e in k){if(!/^[-_a-zA-Z0-9]+$/.test(e))throw Error("Name allows only [-_a-zA-Z0-9], got: "+e);var m=k[e];null!=m&&(m=g.Ca(m)?(0,g.E)(m,ed).join(" "):ed(m),l+=e+":"+m+";")}k=l?$c(l):iga}k instanceof Zc&&k.constructor===Zc&&k.l===Yc?e=k.g:(Ba(k),e="type_error:SafeStyle");k=e}else{if(/^on/i.test(f))throw Error('Attribute "'+
f+'" requires goog.string.Const value, "'+k+'" given.');if(f.toLowerCase()in jga)if(k instanceof Nc)k=Oc(k);else if(k instanceof Sc)k=g.Tc(k);else if(g.v(k))k=g.Wc(k).Fd();else throw Error('Attribute "'+f+'" on tag "div" requires goog.html.SafeUrl, goog.string.Const, or string, value "'+k+'" given.');}k.cf&&(k=k.Fd());f=f+'="'+g.Ib(String(k))+'"';d+=" "+f}}var n="<div"+d;d=void 0;null!=d?g.Ca(d)||(d=[d]):d=[];!0===dga.div?n+=">":(c=kd(d),n+=">"+g.hd(c)+"</div>",c=c.g());(b=b&&b.dir)&&(/^(ltr|rtl|auto)$/i.test(b)?
c=0:c=null);b=id(n,c);a.innerHTML=g.hd(b);return""!=Ph(a.firstChild,"transition")});g.B(nq,g.lq);g.h=nq.prototype;g.h.play=function(){if(1==this.g)return!1;this.A();this.Dd("play");this.startTime=(0,g.D)();this.g=1;if(Bga())return g.Ih(this.l,this.I),this.C=g.Cg(this.IK,void 0,this),!0;this.uq(!1);return!1};
g.h.IK=function(){g.fi(this.l);mq(this.l,this.G);g.Ih(this.l,this.B);this.C=g.Cg((0,g.A)(this.uq,this,!1),1E3*this.F)};
g.h.stop=function(){1==this.g&&this.uq(!0)};
g.h.uq=function(a){g.Ih(this.l,"transition","");g.x.clearTimeout(this.C);g.Ih(this.l,this.B);this.endTime=(0,g.D)();this.g=0;a?this.Dd("stop"):this.Jc();this.o()};
g.h.U=function(){this.stop();nq.wa.U.call(this)};
g.h.pause=function(){};g.B(g.pq,g.G);g.h=g.pq.prototype;g.h.start=function(){this.stop();this.o=!1;var a=qq(this),b=rq(this);a&&!b&&this.g.mozRequestAnimationFrame?(this.Ca=g.of(this.g,"MozBeforePaint",this.l),this.g.mozRequestAnimationFrame(null),this.o=!0):this.Ca=a&&b?a.call(this.g,this.l):this.g.setTimeout(Kf(this.l),20)};
g.h.Ti=function(){this.isActive()||this.start()};
g.h.stop=function(){if(this.isActive()){var a=qq(this),b=rq(this);a&&!b&&this.g.mozRequestAnimationFrame?g.Af(this.Ca):a&&b?b.call(this.g,this.Ca):this.g.clearTimeout(this.Ca)}this.Ca=null};
g.h.isActive=function(){return null!=this.Ca};
g.h.WA=function(){this.o&&this.Ca&&g.Af(this.Ca);this.Ca=null;this.B.call(this.A,(0,g.D)())};
g.h.U=function(){this.stop();g.pq.wa.U.call(this)};g.B(g.L,g.G);g.h=g.L.prototype;g.h.Ca=0;g.h.U=function(){g.L.wa.U.call(this);this.stop();delete this.g;delete this.l};
g.h.start=function(a){this.stop();this.Ca=g.Cg(this.o,g.t(a)?a:this.Gc)};
g.h.stop=function(){this.isActive()&&g.x.clearTimeout(this.Ca);this.Ca=0};
g.h.isActive=function(){return 0!=this.Ca};
g.h.lt=function(){this.Ca=0;this.g&&this.g.call(this.l)};g.Cga=function(){if(g.lW){var a=/Windows NT ([0-9.]+)/;return(a=a.exec(g.Xb))?a[1]:"0"}return aI?(a=/10[_.][0-9_.]+/,(a=a.exec(g.Xb))?a[0].replace(/_/g,"."):"10"):g.MA?(a=/Android\s+([^\);]+)(\)|;)/,(a=a.exec(g.Xb))?a[1]:""):BW||CW||cga?(a=/(?:iPhone|CPU)\s+OS\s+(\S+)/,(a=a.exec(g.Xb))?a[1].replace(/_/g,"."):""):""}();g.Aa(g.vq);g.vq.prototype.g=0;g.B(g.xq,g.Ff);g.h=g.xq.prototype;g.h.OB=g.vq.getInstance();g.h.getId=function(){return this.Ca||(this.Ca=g.wq(this.OB))};
g.h.ha=function(){return this.l};
g.h.qq=function(a){if(this.I&&this.I!=a)throw Error("Method not supported");g.xq.wa.qq.call(this,a)};
g.h.ho=ba(0);g.h.Ji=function(){yq(this,function(a){a.Ag&&a.Ji()});
this.B&&g.$o(this.B);this.Ag=!1};
g.h.U=function(){this.Ag&&this.Ji();this.B&&(this.B.dispose(),delete this.B);yq(this,function(a){a.dispose()});
this.l&&g.Yd(this.l);this.I=this.l=this.C=this.G=null;g.xq.wa.U.call(this)};
g.h.removeChild=function(a,b){if(a){var c=g.v(a)?a:a.getId();a=this.C&&c?oc(this.C,c)||null:null;if(c&&a){nc(this.C,c);g.Za(this.G,a);b&&(a.Ji(),a.l&&g.Yd(a.l));c=a;if(null==c)throw Error("Unable to set parent component");c.I=null;g.xq.wa.qq.call(c,null)}}if(!a)throw Error("Child is not in parent component");return a};Qc(g.Lc("https://imasdk.googleapis.com/flash/sdkloader/flashinhtml.swf"));Qc(g.Lc("http://imasdk.googleapis.com/flash/sdkloader/flashinhtml.swf"));Aq("d");Bq("d");Cq("d");Aq("f");Bq("f");Cq("f");Aq("i");Bq("i");Cq("i");Aq("j");Bq("j");Cq("j");Cq("j");Aq("u");Bq("u");Cq("u");Aq("v");Bq("v");Cq("v");Cq("v");Aq("b");Bq("b");Cq("b");Aq("e");Bq("e");Cq("e");Aq("s");Bq("s");Cq("s");Aq("B");Bq("B");Cq("B");Aq("x");Bq("x");Cq("x");Aq("y");Bq("y");Cq("y");Cq("y");Aq("g");Bq("g");Cq("g");Aq("h");Bq("h");Cq("h");Cq("h");Aq("n");Bq("n");Cq("n");Aq("o");Bq("o");Cq("o");Cq("o");Qc(g.Lc("https://imasdk.googleapis.com/flash/sdkloader/flashinhtml.swf"));Qc(g.Lc("http://imasdk.googleapis.com/flash/sdkloader/flashinhtml.swf"));Eq.prototype.g=null;g.B(Fq,Eq);g.VW=new Fq;new g.Eo;Qc(g.Lc("https://www.youtube.com/iframe_api"));var WW=[];g.y("onYouTubeIframeAPIReady",function(){(0,g.C)(WW,function(a){a()});
Wa(WW)},window);Gq.prototype.clone=function(){return new Gq(this.g,this.F,this.o,this.B,this.A,this.C,this.l,this.G)};Jq.prototype.l=0;Jq.prototype.reset=function(){this.g=this.o=this.A;this.l=0};
Jq.prototype.getValue=function(){return this.o};g.B(g.Lq,g.G);g.h=g.Lq.prototype;g.h.subscribe=function(a,b,c){var d=this.l[a];d||(d=this.l[a]=[]);var e=this.Lb;this.g[e]=a;this.g[e+1]=b;this.g[e+2]=c;this.Lb=e+3;d.push(e);return e};
g.h.unsubscribe=function(a,b,c){if(a=this.l[a]){var d=this.g;if(a=g.Ra(a,function(a){return d[a+1]==b&&d[a+2]==c}))return this.Ac(a)}return!1};
g.h.Ac=function(a){var b=this.g[a];if(b){var c=this.l[b];0!=this.A?(this.o.push(a),this.g[a+1]=g.za):(c&&g.Za(c,a),delete this.g[a],delete this.g[a+1],delete this.g[a+2])}return!!b};
g.h.P=function(a,b){var c=this.l[a];if(c){for(var d=Array(arguments.length-1),e=1,f=arguments.length;e<f;e++)d[e-1]=arguments[e];if(this.B)for(e=0;e<c.length;e++){var k=c[e];Mq(this.g[k+1],this.g[k+2],d)}else{this.A++;try{for(e=0,f=c.length;e<f;e++)k=c[e],this.g[k+1].apply(this.g[k+2],d)}finally{if(this.A--,0<this.o.length&&0==this.A)for(;c=this.o.pop();)this.Ac(c)}}return 0!=e}return!1};
g.h.clear=function(a){if(a){var b=this.l[a];b&&((0,g.C)(b,this.Ac,this),delete this.l[a])}else this.g.length=0,this.l={}};
g.h.U=function(){g.Lq.wa.U.call(this);this.clear();this.o.length=0};g.Nq.prototype.set=function(a,b){g.t(b)?this.g.set(a,g.Mg(b)):this.g.remove(a)};
g.Nq.prototype.get=function(a){try{var b=this.g.get(a)}catch(c){return}if(null!==b)try{return JSON.parse(b)}catch(c){throw"Storage: Invalid value was encountered";}};
g.Nq.prototype.remove=function(a){this.g.remove(a)};g.B(Oq,g.Nq);Oq.prototype.set=function(a,b){Oq.wa.set.call(this,a,Qq(b))};
Oq.prototype.l=function(a){a=Oq.wa.get.call(this,a);if(!g.t(a)||a instanceof Object)return a;throw"Storage: Invalid value was encountered";};
Oq.prototype.get=function(a){if(a=this.l(a)){if(a=a.data,!g.t(a))throw"Storage: Invalid value was encountered";}else a=void 0;return a};g.B(Rq,Oq);Rq.prototype.set=function(a,b,c){if(b=Qq(b)){if(c){if(c<(0,g.D)()){Rq.prototype.remove.call(this,a);return}b.expiration=c}b.creation=(0,g.D)()}Rq.wa.set.call(this,a,b)};
Rq.prototype.l=function(a,b){var c=Rq.wa.l.call(this,a);if(c)if(!b&&g.Sq(c))Rq.prototype.remove.call(this,a);else return c};g.B(g.Tq,Rq);g.B(Vq,Uq);Vq.prototype.clear=function(){var a=ul(this.Pe(!0)),b=this;(0,g.C)(a,function(a){b.remove(a)})};g.B(Wq,Vq);g.h=Wq.prototype;g.h.isAvailable=function(){if(!this.g)return!1;try{return this.g.setItem("__sak","1"),this.g.removeItem("__sak"),!0}catch(a){return!1}};
g.h.set=function(a,b){try{this.g.setItem(a,b)}catch(c){if(0==this.g.length)throw"Storage mechanism: Storage disabled";throw"Storage mechanism: Quota exceeded";}};
g.h.get=function(a){a=this.g.getItem(a);if(!g.v(a)&&null!==a)throw"Storage mechanism: Invalid value was encountered";return a};
g.h.remove=function(a){this.g.removeItem(a)};
g.h.Pe=function(a){var b=0,c=this.g,d=new ql;d.next=function(){if(b>=c.length)throw rl;var d=c.key(b++);if(a)return d;d=c.getItem(d);if(!g.v(d))throw"Storage mechanism: Invalid value was encountered";return d};
return d};
g.h.clear=function(){this.g.clear()};
g.h.key=function(a){return this.g.key(a)};g.B(Xq,Wq);g.B(Yq,Wq);g.B($q,Vq);var ar={".":".2E","!":".21","~":".7E","*":".2A","'":".27","(":".28",")":".29","%":"."},Zq=null;g.h=$q.prototype;g.h.isAvailable=function(){return!!this.g};
g.h.set=function(a,b){this.g.setAttribute(br(a),b);cr(this)};
g.h.get=function(a){a=this.g.getAttribute(br(a));if(!g.v(a)&&null!==a)throw"Storage mechanism: Invalid value was encountered";return a};
g.h.remove=function(a){this.g.removeAttribute(br(a));cr(this)};
g.h.Pe=function(a){var b=0,c=this.g.XMLDocument.documentElement.attributes,d=new ql;d.next=function(){if(b>=c.length)throw rl;var d=c[b++];if(a)return(0,window.decodeURIComponent)(d.nodeName.replace(/\./g,"%")).substr(1);d=d.nodeValue;if(!g.v(d))throw"Storage mechanism: Invalid value was encountered";return d};
return d};
g.h.clear=function(){for(var a=this.g.XMLDocument.documentElement,b=a.attributes.length;0<b;b--)a.removeAttribute(a.attributes[b-1].nodeName);cr(this)};g.B(dr,Vq);dr.prototype.set=function(a,b){this.l.set(this.g+a,b)};
dr.prototype.get=function(a){return this.l.get(this.g+a)};
dr.prototype.remove=function(a){this.l.remove(this.g+a)};
dr.prototype.Pe=function(a){var b=this.l.Pe(!0),c=this,d=new ql;d.next=function(){for(var d=b.next();d.substr(0,c.g.length)!=c.g;)d=b.next();return a?d.substr(c.g.length):c.l.get(d)};
return d};gr.prototype.getValue=function(){return this.g};
gr.prototype.clone=function(){return new gr(this.Lb,this.g)};g.h=hr.prototype;g.h.remove=function(){var a=this.g,b=a.length,c=a[0];if(!(0>=b)){if(1==b)Wa(a);else{a[0]=a.pop();a=0;b=this.g;for(var d=b.length,e=b[a];a<d>>1;){var f=2*a+1,k=2*a+2;f=k<d&&b[k].Lb<b[f].Lb?k:f;if(b[f].Lb>e.Lb)break;b[a]=b[f];a=f}b[a]=e}return c.getValue()}};
g.h.qc=function(){for(var a=this.g,b=[],c=a.length,d=0;d<c;d++)b.push(a[d].getValue());return b};
g.h.od=function(){for(var a=this.g,b=[],c=a.length,d=0;d<c;d++)b.push(a[d].Lb);return b};
g.h.clone=function(){return new hr(this)};
g.h.isEmpty=function(){return 0==this.g.length};
g.h.clear=function(){Wa(this.g)};g.B(jr,hr);var lr=/^\.google\.(com?\.)?[a-z]{2,3}$/,mr=/\.(cn|com\.bi|do|sl|ba|by|ma|am)$/,qr=g.x,or,rr,ur={Pn:function(){return 0<rr[8]},
OK:function(){rr[8]++},
PK:function(){0<rr[8]&&rr[8]--},
QK:function(){rr[8]=0},
shouldRetry:function(){return!1},
Ts:function(){return rr[5]},
Mr:function(a){try{a()}catch(b){g.x.setTimeout(function(){throw b;},0)}},
gq:function(){if(!ur.Pn()){var a=g.x.document,b=function(b){b=pr(b);a:{try{var c=ya();break a}catch(l){}c=void 0}var d=c;kr(a,b,d);c=a.createElement("script");c.type="text/javascript";d&&(c.nonce=d);c.onerror=function(){return g.x.processGoogleToken({},2)};
b=g.pe(b);g.md(c,b);try{(a.head||a.body||a.documentElement).appendChild(c),ur.OK()}catch(l){}},c=rr[1];
b(c);".google.com"!=c&&b(".google.com");b={};var d=(b.newToken="FBT",b);g.x.setTimeout(function(){return g.x.processGoogleToken(d,1)},1E3)}}};/*
 Portions of this code are from MochiKit, received by
 The Closure Authors under the MIT license. All other code is Copyright
 2005-2009 The Closure Authors. All Rights Reserved.
*/
xr.prototype.cancel=function(a){if(this.g)this.o instanceof xr&&this.o.cancel();else{if(this.l){var b=this.l;delete this.l;a?b.cancel(a):(b.G--,0>=b.G&&b.cancel())}this.N?this.N.call(this.L,this):this.I=!0;this.g||(a=new Gr(this),Br(this),zr(this,!1,a))}};
xr.prototype.J=function(a,b){this.F=!1;zr(this,a,b)};
xr.prototype.nk=function(a){Br(this);zr(this,!0,a)};
xr.prototype.then=function(a,b,c){var d,e,f=new g.eg(function(a,b){d=a;e=b});
Cr(this,d,function(a){a instanceof Gr?f.cancel():e(a)});
return f.then(a,b,c)};
bg(xr);xr.prototype.isError=function(a){return a instanceof Error};
g.B(Ar,Na);Ar.prototype.message="Deferred has already fired";Ar.prototype.name="AlreadyCalledError";g.B(Gr,Na);Gr.prototype.message="Deferred was canceled";Gr.prototype.name="CanceledError";Fr.prototype.l=function(){delete Er[this.Ca];throw this.g;};
var Er={};g.B(Ir,Me);var Hr=[2,13,14];g.B(Jr,Me);g.P=window.performance&&window.performance.timing&&window.performance.now?function(){return window.performance.timing.navigationStart+window.performance.now()}:function(){return(new Date).getTime()};g.Mr=window.yt&&window.yt.config_||window.ytcfg&&window.ytcfg.data_||{};g.y("yt.config_",g.Mr,void 0);(0,g.D)();var Sr=g.t(window.XMLHttpRequest)?function(){return new window.XMLHttpRequest}:g.t(window.ActiveXObject)?function(){return new window.ActiveXObject("Microsoft.XMLHTTP")}:null;var hs={"X-Goog-Visitor-Id":"SANDBOXED_VISITOR_ID","X-YouTube-Client-Name":"INNERTUBE_CONTEXT_CLIENT_NAME","X-YouTube-Client-Version":"INNERTUBE_CONTEXT_CLIENT_VERSION","X-Youtube-Identity-Token":"ID_TOKEN","X-YouTube-Page-CL":"PAGE_CL","X-YouTube-Page-Label":"PAGE_BUILD_LABEL","X-YouTube-Variants-Checksum":"VARIANTS_CHECKSUM"},qs=!1;var Gw=EA||DA;var Ks={},baa=0;g.r(Ls,Na);Os.prototype.then=function(a,b,c){return this.o?this.o.then(a,b,c):1===this.l&&a?(a=a.call(c,this.g),cg(a)?a:Qs(a)):2===this.l&&b?(a=b.call(c,this.g),cg(a)?a:Ps(a)):this};
Os.prototype.getValue=function(){return this.g};
bg(Os);g.r(Ss,Na);Ss.prototype.name="BiscottiError";g.r(Rs,Na);Rs.prototype.name="BiscottiMissingError";var Us={format:"RAW",method:"GET",timeout:5E3,withCredentials:!0},Ts=null;g.r($s,Na);$s.prototype.name="YuzuError";var et={};var Dga,ft;Dga=0;ft=g.Md?"webkit":g.Kh?"moz":g.Kd?"ms":g.Lh?"o":"";g.XW=g.z("ytDomDomGetNextId")||function(){return++Dga};
g.y("ytDomDomGetNextId",g.XW,void 0);var faa={stopImmediatePropagation:1,stopPropagation:1,preventMouseEvent:1,preventManipulation:1,preventDefault:1,layerX:1,layerY:1,screenX:1,screenY:1,scale:1,rotation:1,webkitMovementX:1,webkitMovementY:1};mt.prototype.preventDefault=function(){this.event&&(this.event.returnValue=!1,this.event.preventDefault&&this.event.preventDefault())};
mt.prototype.Tt=function(){return this.event?!1===this.event.returnValue:!1};
mt.prototype.stopPropagation=function(){this.event&&(this.event.cancelBubble=!0,this.event.stopPropagation&&this.event.stopPropagation())};
mt.prototype.stopImmediatePropagation=function(){this.event&&(this.event.cancelBubble=!0,this.event.stopImmediatePropagation&&this.event.stopImmediatePropagation())};var ot=g.z("ytEventsEventsListeners")||{};g.y("ytEventsEventsListeners",ot,void 0);var pt=g.z("ytEventsEventsCounter")||{count:0};g.y("ytEventsEventsCounter",pt,void 0);var Ega=g.Lf(function(){var a=!1;try{var b=Object.defineProperty({},"passive",{get:function(){a=!0}});
window.addEventListener("test",null,b)}catch(c){}return a}),qt=g.Lf(function(){var a=!1;
try{var b=Object.defineProperty({},"capture",{get:function(){a=!0}});
window.addEventListener("test",null,b)}catch(c){}return a});g.B(Ft,g.G);Ft.prototype.J=function(a){g.t(a.g)||nt(a);var b=a.g;g.t(a.l)||nt(a);this.g=new g.sd(b,a.l)};
Ft.prototype.C=function(){if(this.g){var a=g.P();if(0!=this.A){var b=this.B,c=this.g,d=b.x-c.x;b=b.y-c.y;d=Math.sqrt(d*d+b*b)/(a-this.A);this.l[this.Oa]=.5<Math.abs((d-this.o)/this.o)?1:0;for(c=b=0;4>c;c++)b+=this.l[c]||0;3<=b&&this.G();this.o=d}this.A=a;this.B=this.g;this.Oa=(this.Oa+1)%4}};
Ft.prototype.U=function(){window.clearInterval(this.I);g.tt(this.F)};g.r(g.Gt,g.G);g.Gt.prototype.M=function(a,b,c,d,e){c=Qr((0,g.A)(c,d||this.yb));c={target:a,name:b,nk:c};var f;e&&Ega()&&(f={passive:!0});a.addEventListener(b,c.nk,f);this.L.push(c);return c};
g.Gt.prototype.Na=function(a){for(var b=0;b<this.L.length;b++)if(this.L[b]==a){this.L.splice(b,1);a.target.removeEventListener(a.name,a.nk);break}};
g.Gt.prototype.U=function(){g.It(this);g.G.prototype.U.call(this)};g.B(g.O,g.G);g.O.prototype.subscribe=function(a,b,c){return this.ga()?0:this.ca.subscribe(a,b,c)};
g.O.prototype.unsubscribe=function(a,b,c){return this.ga()?!1:this.ca.unsubscribe(a,b,c)};
g.O.prototype.Ac=function(a){return this.ga()?!1:this.ca.Ac(a)};
g.O.prototype.P=function(a,b){return this.ga()?!1:this.ca.P.apply(this.ca,arguments)};g.r(g.Kt,g.O);g.h=g.Kt.prototype;g.h.cancel=function(){this.A&&(this.A=!1,this.P("dragend",0,0,null));this.l&&(this.l=!1,this.P("hoverend",0,0,null),g.It(this.g),Jt(this))};
g.h.zu=function(a){g.It(this.g);Lt(this,Mt("move"),this.xu);Lt(this,Mt("out"),this.yu);Lt(this,"touchstart",this.To);this.o&&Lt(this,Mt("down"),this.So);var b=g.ut(a);a=xt(a);this.l=!0;this.P("hoverstart",a.x,a.y,b);this.P("hovermove",a.x,a.y,b)};
g.h.xu=function(a){var b=g.ut(a);a=xt(a);if(this.B){var c=this.B;this.B=null;if(wt(c)==b&&td(xt(c),a))return}this.P("hovermove",a.x,a.y,b)};
g.h.yu=function(a){var b=xt(a),c=wt(a);c&&g.ee(this.C,c)?(this.B=a,this.P("hovermove",b.x,b.y,c)):(g.It(this.g),Jt(this),this.l=!1,this.P("hoverend",b.x,b.y,c))};
g.h.oG=function(a){this.zu(a);this.So(a)};
g.h.So=function(a){if(!g.va(a.button)||0==a.button){g.It(this.g);this.g.M(window.document,Mt("move"),this.nG);this.g.M(window.document,Mt("up"),this.tC);var b=g.ut(a);if(g.Md)Lt(this,"dragstart",this.DA);else if(g.zt(a),(g.nv||g.Kh)&&b)a:{for(var c=b;c;){if(g.ie(c)||"-1"===c.getAttribute("tabindex")){c.focus();break a}c=c.parentElement}window.document.activeElement.blur()}this.A=!0;a=xt(a);this.P("dragstart",a.x,a.y,b);this.P("dragmove",a.x,a.y,b)}};
g.h.DA=function(a){g.zt(a)};
g.h.nG=function(a){var b=g.ut(a);b==window.document&&(b=null);a=xt(a);this.P("hovermove",a.x,a.y,b);this.P("dragmove",a.x,a.y,b)};
g.h.tC=function(a){g.It(this.g);this.A=!1;var b=vt(a),c=g.ut(a);a=xt(a);b&&g.ee(this.C,b)?(Lt(this,Mt("move"),this.xu),Lt(this,Mt("out"),this.yu),Lt(this,Mt("down"),this.So),Lt(this,"touchstart",this.To),this.P("dragend",a.x,a.y,c)):(Jt(this),this.l=!1,this.P("dragend",a.x,a.y,c),this.P("hoverend",a.x,a.y,c))};
g.h.To=function(a){var b=a.changedTouches[0];b&&(g.It(this.g),Lt(this,"touchmove",this.tL),Lt(this,"touchend",this.Au),Lt(this,"touchcancel",this.Au),this.F=b.identifier,a=g.ut(a),this.l||(this.l=!0,this.P("hoverstart",b.pageX,b.pageY,a)),this.P("hovermove",b.pageX,b.pageY,a),this.o&&(this.A=!0,this.P("dragstart",b.pageX,b.pageY,a),this.P("dragmove",b.pageX,b.pageY,a)))};
g.h.tL=function(a){var b=Nt(this,a);b&&(this.o&&g.zt(a),a=g.ut(a),this.P("hovermove",b.pageX,b.pageY,a),this.o&&this.P("dragmove",b.pageX,b.pageY,a))};
g.h.Au=function(a){var b=Nt(this,a);if(b){g.It(this.g);Jt(this);this.l=!1;var c=g.ut(a);this.o&&(this.G||g.zt(a),this.A=!1,this.P("dragend",b.pageX,b.pageY,c));this.P("hoverend",b.pageX,b.pageY,c)}};
g.h.U=function(){this.o&&(g.Md&&this.C.removeAttribute("draggable"),this.C.style.touchAction="");g.It(this.g);g.O.prototype.U.call(this)};var iaa={enablejsapi:1},jaa={};Pt.prototype.clone=function(){var a=new Pt,b;for(b in this)if(this.hasOwnProperty(b)){var c=this[b];"object"==Ba(c)?a[b]=g.qc(c):a[b]=c}return a};var Gu={},Fu=0;var Fga=g.z("ytPubsubPubsubInstance")||new g.Lq;g.Lq.prototype.subscribe=g.Lq.prototype.subscribe;g.Lq.prototype.unsubscribeByKey=g.Lq.prototype.Ac;g.Lq.prototype.publish=g.Lq.prototype.P;g.Lq.prototype.clear=g.Lq.prototype.clear;g.y("ytPubsubPubsubInstance",Fga,void 0);g.Rt=g.z("ytPubsubPubsubSubscribedKeys")||{};g.y("ytPubsubPubsubSubscribedKeys",g.Rt,void 0);g.Tt=g.z("ytPubsubPubsubTopicToKeys")||{};g.y("ytPubsubPubsubTopicToKeys",g.Tt,void 0);var St=g.z("ytPubsubPubsubIsSynchronous")||{};
g.y("ytPubsubPubsubIsSynchronous",St,void 0);var maa=Math.pow(2,16)-1,laa={log_event:"events",log_interaction:"interactions"},YW=Object.create(null);YW.log_event="GENERIC_EVENT_LOGGING";YW.log_interaction="INTERACTION_LOGGING";var naa=new window.Set(["log_event"]),au={},eu=0,fu=g.z("ytLoggingTransportLogPayloadsQueue_")||{};g.y("ytLoggingTransportLogPayloadsQueue_",fu,void 0);var Zt=g.z("ytLoggingTransportTokensToCttTargetIds_")||{};g.y("ytLoggingTransportTokensToCttTargetIds_",Zt,void 0);var gu=g.z("ytLoggingTransportDispatchedStats_")||{};
g.y("ytLoggingTransportDispatchedStats_",gu,void 0);g.y("ytytLoggingTransportCapturedTime_",g.z("ytLoggingTransportCapturedTime_")||{},void 0);g.r(lu,oaa);lu.prototype.start=function(){var a=g.z("yt.scheduler.instance.start");a&&a()};
lu.prototype.pause=function(){var a=g.z("yt.scheduler.instance.pause");a&&a()};
g.Aa(lu);lu.getInstance();var tu={};Au.prototype.set=function(a,b,c,d){c=c||31104E3;this.remove(a);if(this.g)try{this.g.set(a,b,(0,g.D)()+1E3*c);return}catch(f){}var e="";if(d)try{e=(0,window.escape)(g.Mg(b))}catch(f){return}else e=(0,window.escape)(b);g.yu(a,e,c,this.l)};
Au.prototype.get=function(a,b){var c=void 0,d=!this.g;if(!d)try{c=this.g.get(a)}catch(e){d=!0}if(d&&(c=xu.get(""+a,void 0))&&(c=(0,window.unescape)(c),b))try{c=JSON.parse(c)}catch(e){this.remove(a),c=void 0}return c};
Au.prototype.remove=function(a){this.g&&this.g.remove(a);g.zu(a,"/",this.l)};new Au;var Du=g.z("ytLoggingLatencyUsageStats_")||{};g.y("ytLoggingLatencyUsageStats_",Du,void 0);var Eu=0;var Hu=(0,g.D)().toString();Ju();g.y("yt.logging.screen.getRootVeType",g.Lu,void 0);g.y("yt.logging.screen.getCurrentCsn",g.Mu,void 0);var Ou;g.Nu=g.Lf(function(){var a=new Xq;return a.isAvailable()?new g.Tq(a):null});
Ou=g.Lf(function(){var a=new Yq;return a.isAvailable()?new g.Tq(a):null});var Tu=window.yt&&window.yt.msgs_||window.ytcfg&&window.ytcfg.msgs||{};g.y("yt.msgs_",Tu,void 0);var eV=16/9,Gga=[.25,.5,.75,1,1.25,1.5,2];var ZW={},$W=(ZW["api.invalidparam"]=2,ZW.auth=150,ZW["drm.auth"]=150,ZW["heartbeat.net"]=150,ZW["heartbeat.servererror"]=150,ZW["heartbeat.stop"]=150,ZW["html5.unsupportedads"]=5,ZW["fmt.noneavailable"]=5,ZW["fmt.decode"]=5,ZW["fmt.unplayable"]=5,ZW["html5.missingapi"]=5,ZW["html5.unsupportedlive"]=5,ZW["drm.unavailable"]=5,ZW);var Maa={kM:"auto",GO:"tiny",DN:"light",wO:"small",JN:"medium",zN:"large",gN:"hd720",cN:"hd1080",dN:"hd1440",eN:"hd2160",fN:"hd2880",lN:"highres",UNKNOWN:"unknown"};var vaa=/^https?:\/\/([^.]*\.moatads\.com\/|e[0-9]+\.yt\.srs\.doubleverify\.com|pagead2\.googlesyndication\.com\/pagead\/gen_204\?id=yt3p&sr=1&|pm\.adsafeprotected\.com\/youtube|pm\.test-adsafeprotected\.com\/youtube|youtube[0-9]+\.moatpixel\.com\/)/,taa=/^http:\/\/0\.[a-z0-9\-_]+\.[a-z0-9\-_]+\.l2gfe\.[a-z0-9_]+\.([a-z]{2}|i)\.borg\.google\.com(:[0-9]+)?\/|^https?:\/\/((?:uytfe\.corp|dev-uytfe\.corp|uytfe\.sandbox)\.google\.com\/|([-\w]*www[-\w]*\.|[-\w]*web[-\w]*\.|[-\w]*canary[-\w]*\.|[-\w]*dev[-\w]*\.|[-\w]{1,3}\.)+youtube(education|-nocookie)?\.com\/|([A-Za-z0-9-]{1,63}\.)*(youtube\.googleapis\.com)(:[0-9]+)?\/|([a-z]+\.)?[a-z0-9\-]{1,63}\.([a-z]{3}|i)\.corp\.google\.com(:[0-9]+)?\/|([a-z]+\.)?[a-z0-9\-]{1,63}\.c\.googlers\.com(:[0-9]+)?\/|(docs|drive)\.google\.com\/(a\/[^/\\%]+\/|)|[A-Za-z0-9]+(-v6)?\.prod\.google\.com(:[0-9]+)?\/|m?web-ppg\.corp\.google\.com\/|play\.google\.com\/)/,
waa=/^https?:\/\/(www\.google\.com\/pagead\/sul|www\.google\.com\/pagead\/xsul|www\.youtube\.com\/pagead\/psul|www\.youtube\.com\/pagead\/slav|www\.youtube\.com\/pagead\/sul)/,Aaa=/^https?:\/\/(([A-Za-z0-9-]{1,63}\.)*(corp\.google\.com|c\.googlers\.com|docs\.google\.com|drive\.google\.com|prod\.google\.com|plus\.google\.com|mail\.google\.com|youtube\.com|youtube\-nocookie\.com|youtubeeducation\.com)(:[0-9]+)?\/|([A-Za-z0-9-]{1,63}\.)*(sandbox\.google\.com)(:[0-9]+)?\/(?!url\b))/,Ida=/^https?:\/\/(([A-Za-z0-9-]{1,63}\.)*(corp\.google\.com|c\.googlers\.com|borg\.google\.com|prod\.google\.com|youtube\.com)(:[0-9]+)?\/|([A-Za-z0-9-]{1,63}\.)*(sandbox\.google\.com)(:[0-9]+)?\/(?!url\b))/,
yaa=/^((http(s)?):)?\/\/((((lh[3-6](-tt|-d[a-g,z])?\.((ggpht)|(googleusercontent)|(google)))|(([1-4]\.bp\.blogspot)|(bp[0-3]\.blogger))|((((cp|ci|gp)[3-6])|(ap[1-2]))\.(ggpht|googleusercontent))|(gm[1-4]\.ggpht)|(((yt[3-4])|(sp[1-3]))\.(ggpht|googleusercontent)))\.com)|(dp[3-6]\.googleusercontent\.cn)|(dp4\.googleusercontent\.com)|(photos\-image\-(dev|qa)(-auth)?\.corp\.google\.com)|((dev|dev2|dev3|qa|qa2|qa3|qa-red|qa-blue|canary)[-.]lighthouse\.sandbox\.google\.com\/image)|(image\-(dev|qa)\-lighthouse(-auth)?\.sandbox\.google\.com(\/image)?))\/|^https?:\/\/(([A-Za-z0-9-]{1,63}\.)*(corp\.google\.com|c\.googlers\.com|borg\.google\.com|docs\.google\.com|drive\.google\.com|googleplex\.com|play\.google\.com|prod\.google\.com|plus\.google\.com|video\.google\.com|youtube\.com|ytimg\.com|chat\.google\.com)(:[0-9]+)?\/|([A-Za-z0-9-]{1,63}\.)*(sandbox\.google\.com)(:[0-9]+)?\/(?!url\b)|s2\.googleusercontent\.com\/s2\/favicons\?|yt[3-4]\.ggpht\.com\/)/,
uaa=/^https?.*#ocr$|^https?:\/\/(aksecure\.imrworldwide\.com\/|cdn\.imrworldwide\.com\/|secure\-..\.imrworldwide\.com\/)/,zaa=/^https?:\/\/(googleads\.g\.doubleclick\.net\/(aclk|pagead\/conversion)|www\.google\.com\/(aclk|pagead\/conversion)|www\.googleadservices\.com\/(aclk|pagead\/(aclk|conversion))|www\.youtube\.com\/pagead\/conversion)/,xaa=/^((http(s)?):)?\/\/((((lh[3-6](-tt|-d[a-g,z])?\.((ggpht)|(googleusercontent)|(google)))|(([1-4]\.bp\.blogspot)|(bp[0-3]\.blogger))|((((cp|ci|gp)[3-6])|(ap[1-2]))\.(ggpht|googleusercontent))|(gm[1-4]\.ggpht)|(((yt[3-4])|(sp[1-3]))\.(ggpht|googleusercontent)))\.com)|(dp[3-6]\.googleusercontent\.cn)|(dp4\.googleusercontent\.com)|(photos\-image\-(dev|qa)(-auth)?\.corp\.google\.com)|((dev|dev2|dev3|qa|qa2|qa3|qa-red|qa-blue|canary)[-.]lighthouse\.sandbox\.google\.com\/image)|(image\-(dev|qa)\-lighthouse(-auth)?\.sandbox\.google\.com(\/image)?))\/|^https?:\/\/(([A-Za-z0-9-]{1,63}\.)*(corp\.google\.com|c\.googlers\.com|borg\.google\.com|docs\.google\.com|drive\.google\.com|googleplex\.com|googlevideo\.com|play\.google\.com|prod\.google\.com|c\.lh3\.googleusercontent\.com|plus\.google\.com|mail\.google\.com|youtube\.com|xfx7\.com|yt\.akamaized\.net|chat\.google\.com)(:[0-9]+)?\/|([A-Za-z0-9-]{1,63}\.)*(sandbox\.google\.com)(:[0-9]+)?\/(?!url\b))/,
Rba=/^https?:\/\/(([A-Za-z0-9-]{1,63}\.)*(imasdk\.googleapis\.com|2mdn\.net|googlesyndication\.com|corp\.google\.com|c\.googlers\.com|borg\.google\.com|googleads\.g\.doubleclick\.net|prod\.google\.com|static\.doubleclick\.net|static\.googleadsserving\.cn|studioapi\.doubleclick\.net|youtube\.com|youtube\.googleapis\.com|youtube\-nocookie\.com|youtubeeducation\.com|ytimg\.com)(:[0-9]+)?\/|lightbox-(demos|builder)\.appspot\.com\/|s[01](qa)?\.2mdn\.net\/ads\/richmedia\/studio\/mu\/templates\/tetris|www\.gstatic\.com\/doubleclick\/studio\/innovation\/h5\/layouts\/tetris|www\.gstatic\.com\/doubleclick\/studio\/innovation\/ytplayer)/,
Qba=/^https?:\/\/(([A-Za-z0-9-]{1,63}\.)*(imasdk\.googleapis\.com|corp\.google\.com|c\.googlers\.com|borg\.google\.com|docs\.google\.com|drive\.google\.com|googleads\.g\.doubleclick\.net|googleplex\.com|play\.google\.com|prod\.google\.com|photos\.google\.com|get\.google\.com|plus\.google\.com|books\.googleusercontent\.com|blogger\.com|mail\.google\.com|play\-books\-internal\-sandbox\.googleusercontent\.com|talkgadget\.google\.com|survey\.g\.doubleclick\.net|youtube\.com|youtube\.googleapis\.com|youtube\-nocookie\.com|vevo\.com|jamboard\.google\.com|chat\.google\.com|meet\.google\.com)(:[0-9]+)?\/|([A-Za-z0-9-]{1,63}\.)*(sandbox\.google\.com)(:[0-9]+)?\/(?!url\b)|(www\.|encrypted\.)?google\.(cat|com(\.(a[fgiru]|b[dhnorz]|c[ouy]|do|e[cgt]|fj|g[hit]|hk|jm|kh|kw|l[bcy]|m[mtxy]|n[afgip]|om|p[aeghkry]|qa|s[abglv]|t[jnrw]|ua|uy|vc|vn))?|a[cdelmstz]|c[acdfghilmnvz]|b[aefgijsty]|ee|es|d[ejkmz]|g[aefglmpry]|f[imr]|i[emoqrst]|h[nrtu]|k[giz]|je|jo|m[degklnsuvw]|l[aiktuv]|n[eloru]|p[lnst]|s[cehikmnort]|r[osuw]|us|t[dgklmnot]|ws|vg|vu|co\.(ao|bw|ck|cr|i[dln]|jp|ke|kr|ls|ma|mz|nz|th|tz|u[gkz]|ve|vi|z[amw]))\/(search|webhp)\?|lightbox-(demos|builder)\.appspot\.com\/|s0\.2mdn\.net\/instream\/html5\/native\/|s[01](qa)?\.2mdn\.net\/ads\/richmedia\/studio\/mu\/templates\/tetris|www\.gstatic\.com\/doubleclick\/studio\/innovation\/h5\/layouts\/tetris)/,
Hga=/^(https\:\/\/googleads\.g\.doubleclick\.net|https\:\/\/play\.google\.com|https\:\/\/photos\.google\.com|https\:\/\/get\.google\.com|https\:\/\/plus\.google\.com|https\:\/\/mail\.google\.com|https\:\/\/talkgadget\.google\.com|https\:\/\/jamboard\.google\.com|https\:\/\/chat\.google\.com)$|^http:\/\/0\.[a-z0-9\-_]+\.[a-z0-9\-_]+\.[a-z0-9\-_]+\.([a-z]{2}|i)\.borg\.google\.com(:[0-9]+)?$|^http:\/\/[A-Za-z0-9]+(-v6)?\.prod\.google\.com(:[0-9]+)?$|^https:\/\/((staging|today)\.)?meet\.google\.com$|^https:\/\/([A-Za-z0-9-]{1,63}\.)*youtube\.com$|^https:\/\/([A-Za-z0-9-]{1,63}\.)+sandbox\.google\.com$|^https:\/\/(books|play-books-internal-sandbox)\.googleusercontent\.com$|^https:\/\/(draft|www|www\.daily\.alpha)\.blogger\.com$|^https?:\/\/(((docs|m|sing|ss|sss|www)\.)?drive\.google\.com$|([A-Za-z0-9-]{1,63}\.)*corp\.google\.com(:[0-9]+)?$|([A-Za-z0-9-]{1,63}\.)*googleplex\.com(:[0-9]+)?$|(www\.|encrypted\.)google\.(cat|com(\.(a[fgiru]|b[dhnorz]|c[ouy]|do|e[cgt]|fj|g[hit]|hk|jm|kh|kw|l[bcy]|m[mtxy]|n[afgip]|om|p[aeghkry]|qa|s[abglv]|t[jnrw]|ua|uy|vc|vn))?|a[cdelmstz]|c[acdfghilmnvz]|b[aefgijsty]|ee|es|d[ejkmz]|g[aefglmpry]|f[imr]|i[emoqrst]|h[nrtu]|k[giz]|je|jo|m[degklnsuvw]|l[aiktuv]|n[eloru]|p[lnst]|s[cehikmnort]|r[osuw]|us|t[dgklmnot]|ws|vg|vu|co\.(ao|bw|ck|cr|i[dln]|jp|ke|kr|ls|ma|mz|nz|th|tz|u[gkz]|ve|vi|z[amw]))$|docs\.google\.com$|imasdk\.googleapis\.com$|lightbox-(demos|builder)\.appspot\.com$|s[01](qa)?\.2mdn\.net$|survey\.g\.doubleclick\.net$|www\.gstatic\.com$)/;var Baa=1;g.r(g.mv,g.G);g.mv.prototype.aa=function(a,b){g.va(b)?Xd(a,this.element,b):a.appendChild(this.element)};
g.mv.prototype.update=function(a){for(var b in a)this.updateValue(b,a[b])};
g.mv.prototype.updateValue=function(a,b){var c=this.Ra["{{"+a+"}}"];c&&pv(this,c[0],c[1],b)};
g.mv.prototype.U=function(){this.g={};this.Ra={};g.qv(this);g.G.prototype.U.call(this)};g.r(g.R,g.mv);g.h=g.R.prototype;g.h.jb=function(a,b){this.updateValue(b||"content",a)};
g.h.show=function(){this.ea||(this.element.style.display=this.cd,this.ea=!0)};
g.h.hide=function(){this.ea&&(this.element.style.display="none",this.ea=!1)};
g.h.Ha=function(){return this.ea};
g.h.da=function(a,b,c){return this.M(this.element,a,b,c)};
g.h.M=function(a,b,c,d){c=(0,g.A)(c,d||this);d={target:a,type:b,listener:c};this.Z.push(d);a.addEventListener(b,c);return d};
g.h.Na=function(a){for(var b=0;b<this.Z.length;b++)if(this.Z[b]==a){a=this.Z.splice(b,1)[0];a.target.removeEventListener(a.type,a.listener);break}};
g.h.focus=function(){g.ie(this.element);this.element.focus()};
g.h.U=function(){for(;this.Z.length;){var a=this.Z.pop();a.target.removeEventListener(a.type,a.listener)}g.mv.prototype.U.call(this)};g.r(g.tv,g.R);g.tv.prototype.subscribe=function(a,b,c){return this.Y.subscribe(a,b,c)};
g.tv.prototype.unsubscribe=function(a,b,c){return this.Y.unsubscribe(a,b,c)};
g.tv.prototype.Ac=function(a){return this.Y.Ac(a)};
g.tv.prototype.P=function(a,b){for(var c=[],d=1;d<arguments.length;++d)c[d-1]=arguments[d];return this.Y.P.apply(this.Y,[a].concat(g.oa(c)))};g.r(g.vv,g.tv);g.vv.prototype.updateValue=function(a,b){g.tv.prototype.updateValue.call(this,a,b);this.P("size-change")};g.r(zv,g.G);g.h=zv.prototype;
g.h.BD=function(a,b,c){var d=this.I[a];if(!(d||!(d=this.J[a])||c&&Hga.test(c)))throw Error('API call from an untrusted origin: "'+c+'"');var e=this.app.g;e.ig&&!this.L.has(a)&&(this.L.add(a),Cv(this,"webPlayerApiCalled",{callerUrl:e.loaderUrl,methodName:a,origin:c||void 0,playerStyle:e.playerStyle||void 0}));if(d){if(!g.S(this.app.g.experiments,"player_injection_reporting_killswitch")){c=!1;e=g.p(b);for(var f=e.next();!f.done;f=e.next())if(String(f.value).includes("javascript:")){c=!0;break}c&&Rr(Error('Dangerous call to "'+
a+'" with ['+b+"]."))}return d.apply(this,b)}throw Error('Unknown API method: "'+a+'".');};
g.h.uD=function(){return this.F.slice()};
g.h.vD=function(){return g.fc(this.A)};
g.h.ha=function(){return this.o};
g.h.addEventListener=function(a,b){if(g.v(b)){var c=function(){g.z(b).apply(window,arguments)};
this.C[b]=c}else c=b;this.app.la.subscribe(a,c)};
g.h.JA=function(a,b){var c=this,d=g.v(b)?a+b:a+g.Ia(b);if(!this.B[d]){var e;g.v(b)?e=function(){g.z(b).apply(window,arguments)}:e=b;
var f=function(a){e({target:c.l,data:a})};
this.B[d]=f;this.app.la.subscribe(a,f)}};
g.h.removeEventListener=function(a,b){if(g.v(b)){var c=this.C[b];nc(this.C,b);b=c}this.app.la.unsubscribe(a,b)};
g.h.KA=function(a,b){var c=g.v(b)?a+b:a+g.Ia(b),d=this.B[c];d&&(this.app.la.unsubscribe(a,d),nc(this.B,c))};
g.h.td=function(){return RV(this.app)};
g.h.ob=function(a,b,c){this.g&&bW(this.app,!0,this.playerType);rW(this.app,a,b,c,this.playerType)};
g.h.getCurrentTime=function(){return this.app.getCurrentTime(this.playerType)};
g.h.wD=function(){var a=g.W(this.app,this.playerType);if(!a)return 0;a=DJ(a);return(0,window.isNaN)(a)?this.getCurrentTime():a};
g.h.Tb=function(){return OV(this.app,this.playerType)};
g.h.Bb=function(){return this.app.R.volume};
g.h.setVolume=function(a){Ev(this,a)};
g.h.isMuted=function(){return this.app.R.muted};
g.h.mute=function(){Fv(this)};
g.h.Ge=function(){Gv(this)};
g.h.Gb=function(){this.g&&bW(this.app,!0,this.playerType);var a=VJ(this.app);2==a?(a=this.app.A.B)&&iO(a.l,"control_play"):3==a?g.WJ(this.app.A).rj("control_play"):5==a?qW(this.app,a):qW(this.app,this.playerType)};
g.h.Cb=function(){var a=VJ(this.app);2==a?(a=this.app.A.B)&&iO(a.l,"control_pause"):3==a?g.WJ(this.app.A).rj("control_pause"):(a=g.W(this.app,this.playerType))&&VI(a)};
g.h.sd=function(){var a=this.app;a.g.X&&(a.l.isFullscreen()&&!g.S(a.g.experiments,"player_external_control_on_classic_desktop")&&g.aK(a.l),a.l.P("pageTransition"));var b=a.o.getVideoData(),c=new g.nC({video_id:b.videoId,oauth_token:b.oauthToken});g.S(a.g.experiments,"html5_stopVideo_copy_thumbs_killswitch")||(c.eg=g.qc(b.eg));cW(a,c,1);null!=a.Y&&a.Y.stop()};
g.h.pD=function(){};
g.h.Ub=function(){return g.W(this.app,1).Ia};
g.h.Jd=function(a){NV(this.app,a)};
g.h.Mh=function(){return this.app.g.la?Gga:[1]};
g.h.mj=function(){var a=g.W(this.app,this.playerType);if(a){var b="unknown";a.g.xa&&(b=a.g.xa.video.quality,"auto"==b&&a.l&&(a=KI(a))&&0<a.videoHeight&&(b=Ov(a.videoWidth,a.videoHeight)))}else b="unknown";return b};
g.h.zl=function(){};
g.h.jp=function(){var a=g.W(this.app,this.playerType);return a?(a=(0,g.E)(jJ(a),function(a){return a.quality}),a.length&&("auto"==a[0]&&a.shift(),a=a.concat(["auto"])),a):[]};
g.h.yD=function(){return this.kp()};
g.h.zD=function(){return 1};
g.h.kp=function(){return AV(this.app)};
g.h.AD=function(){return 0};
g.h.JD=function(){this.app.G.ce()};
g.h.Ru=function(a){this.lp(a?2:1)};
g.h.lp=function(a){sW(this.app,a)};
g.h.nD=function(){this.ma("SUBSCRIBE")};
g.h.oD=function(){this.ma("UNSUBSCRIBE")};
g.h.Nh=function(a){"captions"==a&&(a=this.app.A.l)&&!a.loaded&&a.load()};
g.h.oj=function(a){"captions"==a&&(a=this.app.A.l)&&a.loaded&&a.CL()};
g.h.FD=function(a,b,c){a=$V(this.app,Yu(a,b,c),this.playerType);this.g&&bW(this.app,a,this.playerType)};
g.h.Mu=function(a,b,c){dW(this.app,Yu(a,b,c),this.playerType)};
g.h.GD=function(a,b,c){a=Zu(a,b,c);a=$V(this.app,a,this.playerType);this.g&&bW(this.app,a,this.playerType)};
g.h.rD=function(a,b,c){a=Zu(a,b,c);dW(this.app,a,this.playerType)};
g.h.getVideoUrl=function(){var a=this.app.g;if(a.F)return"";var b=zV(this.app),c=void 0;b.pa||(c=Math.floor(this.app.getCurrentTime(1)));return a.getVideoUrl(b.videoId,this.getPlaylistId()||void 0,c)};
g.h.lj=function(){return QV(this.app)};
g.h.Ou=function(){var a=this.app.g;if(a.F)var b="";else{var c=zV(this.app).videoId;b=this.app.G.Ba();var d=this.getPlaylistId()||void 0;c="https://"+VA(a)+"/embed/"+c;d&&(c=g.fh(c,{list:d}));d=!g.S(a.experiments,"enable_responsive_embed_snippet");g.S(a.experiments,"embed_snippet_includes_version")&&(c=g.fh(c,{ecver:d?"1":"2"}));a=b.width;b=b.height;d?(d=g.Ib(c),b='<iframe width="'+a+'" height="'+b+'" src="'+d+'" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>'):(d=Math.round(360*
a/b),b='<div style="position:relative;height:0;padding-bottom:'+Math.round(1E4*b/a)/100+'%"><iframe src="'+g.Ib(c)+'" style="position:absolute;width:100%;height:100%;left:0" width="'+d+'" height="360" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe></div>')}return b};
g.h.Lu=function(a,b,c){return jW(this.app,a,b,c)};
g.h.Qu=function(a){a:{for(var b=this.app,c=KG(b.o.J)||[],d=0;d<c.length;d++){var e=c[d];if(e.getId()==a){b.o.J.B(e);nK(b,"cuerangesremoved",[e]);a=!0;break a}}a=!1}return a};
g.h.ED=function(a,b,c,d){var e=this.app;e.na=!1;eW(e,a,b,c,d);this.g&&bW(this.app,!0,this.playerType)};
g.h.qD=function(a,b,c,d){var e=this.app;e.na=!0;eW(e,a,b,c,d)};
g.h.Oh=function(){hW(this.app);this.g&&bW(this.app,!0,this.playerType)};
g.h.nj=function(){iW(this.app);this.g&&bW(this.app,!0,this.playerType)};
g.h.Pu=function(a){var b=this.app;!b.X||b.l.isFullscreen()&&!b.Ga?b.C&&(b.C.De?ZV(b,b.C.sb(a),1):b.na=!1,pE(b.C,a)):b.l.ma("onPlaylistIndex",a);this.g&&bW(this.app,!0,this.playerType)};
g.h.setShuffle=function(a){var b=this.app.C;b&&b.setShuffle(a)};
g.h.ID=function(a){var b=this.app.C;b&&(b.loop=a)};
g.h.Fe=function(){var a=this.app.C;if(!a)return null;for(var b=[],c=0;c<a.getLength();c++){var d=a.sb(c);d&&b.push(d.videoId)}return b};
g.h.Nu=function(){var a=this.app.C;return a?a.Oa:-1};
g.h.getPlaylistId=function(){var a=this.app.C;return a&&a.listId?a.listId.toString():null};
g.h.Vc=function(a,b,c){if(!b)return null;var d=this.app.A;return"captions"==a?(a=d.l)&&a.Yo(b,c):null};
g.h.Mb=function(a,b,c){return this.Vc(a,b,c)};
g.h.Mg=function(a){var b=this.app.A;return"captions"==a?(b=b.l)&&b.YC():a?null:(a=[],b.l&&a.push("captions"),a)};
g.h.getVideoData=function(){var a={},b=g.W(this.app,this.playerType);if(b&&(b=b.getVideoData(),a.video_id=b.videoId,a.author=b.author,a.title=b.title,b.xa)){a.video_quality=b.xa.video.quality;b=b.xa.video;var c=[];32<b.fps&&c.push("hfr");Sv(b)&&c.push("hdr");"bt2020"==b.primaries&&c.push("wcg");a.video_quality_features=c}(b=this.getPlaylistId())&&(a.list=b);return a};
g.h.Su=function(){qV(this.app,!0)};
g.h.CD=function(){qV(this.app,!1)};
g.h.tD=function(){return-1};
g.h.DD=function(a){if(a!=this.app.ra.args.video_id)return!1;a=(a=g.W(this.app,1))?a.o:null;return!(!a||!g.U(a,128)||5!=$W[a.g.errorCode])};
g.h.xD=function(){var a=this.app.ra.clone();g.Ma(a.args,NC(zV(this.app)));return a};
g.h.KD=function(){this.app.g.C&&this.app.T.resume()};
g.h.yl=function(){var a=this.app.A.o;return a?2==this.playerType?{}:a.Iu():{}};
g.h.Al=function(a){if(a&&2!=this.playerType){var b=this.app.A.o;b&&b.Ju(a)}};
g.h.sD=function(){this.app.dispose()};
g.h.HD=function(){var a=g.W(this.app);a&&!g.U(a.o,128)&&(a.P("internalAbandon"),BI(a),zI(a))};
g.h.P=function(a,b){for(var c=1;c<arguments.length;++c);this.app.g.Xa&&("videodatachange"==a||"audiotrackchanged"==a||"resize"==a||"cardstatechange"==a)&&this.app.la.P.apply(this.app.la,arguments);this.app.ca.P.apply(this.app.ca,arguments)};
g.h.ma=function(a,b){this.app.la.P.apply(this.app.la,arguments);this.app.ca.P.apply(this.app.ca,arguments)};
g.h.U=function(){if(this.o){for(var a in this.A)this.o[a]=null;this.o=null}this.C=this.B=null;g.G.prototype.U.call(this)};Iv.prototype.l=function(){return this.name};
Iv.prototype.getId=function(){return this.id};
Iv.prototype.g=function(){return this.isDefault};
Iv.prototype.toString=function(){return this.name};
Iv.prototype.getName=Iv.prototype.l;Iv.prototype.getId=Iv.prototype.getId;Iv.prototype.getIsDefault=Iv.prototype.g;g.Jv.prototype.toString=function(){return this.languageCode+"_"+this.languageName+"_"+this.g+"_"+this.id+"_"+this.isDefault};g.Kv.prototype.vb=function(){return this.I};
g.Kv.prototype.toString=function(){return this.l+": "+g.Lv(this)+" - "+this.F};
g.Kv.prototype.J=ba(1);g.Kv.prototype.Uc=function(){return!(!this.l||this.g&&!this.g.languageCode)};Mv.prototype.l=function(){return this.ab};
Mv.prototype.toString=function(){return this.ab.name};
Mv.prototype.getLanguageInfo=Mv.prototype.l;var Lw={name:"width",video:!0,valid:640,Bg:99999},Mw={name:"height",video:!0,valid:360,Bg:99999},Nw={name:"framerate",video:!0,valid:30,Bg:9999},Ow={name:"bitrate",video:!0,valid:3E5,Bg:2E9},Kw={name:"eotf",video:!0,valid:"bt709",Bg:"catavision"},Rw={name:"channels",video:!1,valid:2,Bg:99},Pw={name:"cryptoblockformat",video:!0,valid:"subsample",Bg:"invalidformat"},Sw={WO:Lw,hN:Mw,ZM:Nw,nM:Ow,SM:Kw,CM:Rw,IM:Pw};var Daa={0:"f",160:"h",133:"h",134:"h",135:"h",136:"h",137:"h",264:"h",266:"h",138:"h",298:"h",299:"h",304:"h",305:"h",140:"a",141:"ah",327:"sa",258:"m",161:"H",142:"H",143:"H",144:"H",222:"H",223:"H",145:"H",224:"H",225:"H",146:"H",226:"H",147:"H",384:"H",376:"H",385:"H",377:"H",149:"A",261:"M",278:"9",242:"9",243:"9",244:"9",247:"9",248:"9",271:"9",313:"9",272:"9",302:"9",303:"9",308:"9",315:"9",330:"9h",331:"9h",332:"9h",333:"9h",334:"9h",335:"9h",336:"9h",337:"9h",171:"v",338:"so",250:"o",251:"o",
194:"*",195:"*",220:"*",221:"*",196:"*",197:"*",198:"V",279:"(",280:"(",317:"(",318:"(",273:"(",274:"(",357:"(",358:"(",275:"(",359:"(",360:"(",276:"(",314:"(",277:"(",362:"(h",363:"(h",364:"(h",365:"(h",366:"(h",367:"(h",368:"(h",394:"1",395:"1",396:"1",397:"1",398:"1",399:"1",400:"1",401:"1",402:"1",386:"3",387:"w",406:"6"};var aX;aX={};g.Pv=(aX.auto=0,aX.tiny=144,aX.light=144,aX.small=240,aX.medium=360,aX.large=480,aX.hd720=720,aX.hd1080=1080,aX.hd1440=1440,aX.hd2160=2160,aX.hd2880=2880,aX.highres=4320,aX);var Tv="highres hd2880 hd2160 hd1440 hd1080 hd720 large medium small tiny".split(" ");g.h=fw.prototype;g.h.append=function(a){this.g.webkitSourceAppend(this.l,a)};
g.h.abort=function(){this.g.webkitSourceAbort(this.l)};
g.h.LL=function(){return this.g.webkitSourceState==this.g.SOURCE_CLOSED?new Eaa:this.g.webkitSourceBuffered(this.l)};
g.h.NL=function(){return this.o};
g.h.RL=function(a){this.o=a;this.g.webkitSourceTimestampOffset(this.l,a)};g.h=gw.prototype;g.h.addEventListener=function(a,b,c){this.g.addEventListener(a,b,c)};
g.h.removeEventListener=function(a,b,c){this.g.removeEventListener(a,b,c)};
g.h.aF=function(){return this.g.webkitMediaSourceURL};
g.h.addSourceBuffer=function(a){var b=(this.o++).toString();this.g.webkitSourceAddId(b,a);a=new fw(this.g,b);this.sourceBuffers.push(a);return a};
g.h.removeSourceBuffer=function(a){for(var b=0;b<this.sourceBuffers.length;b++)if(a===this.sourceBuffers[b]){this.g.webkitSourceRemoveId(a.l);for(a=b+1;a<this.sourceBuffers.length;a++)this.sourceBuffers[a-1]=this.sourceBuffers[a];this.sourceBuffers.pop();break}};
g.h.OL=function(){switch(this.g.webkitSourceState){case this.g.SOURCE_CLOSED:return"closed";case this.g.SOURCE_OPEN:return"open";case this.g.SOURCE_ENDED:return"ended"}return""};
g.h.endOfStream=function(){this.g.webkitSourceEndOfStream(this.g.EOS_NO_ERROR)};
g.h.PL=function(){Wa(this.sourceBuffers)};
g.h.ML=function(){return this.l};
g.h.QL=function(a){this.l=a;this.g.webkitSourceSetDuration&&this.g.webkitSourceSetDuration(a)};hw.prototype.start=function(){return 0};
hw.prototype.end=function(){return window.Infinity};g.h=iw.prototype;g.h.addEventListener=function(){};
g.h.removeEventListener=function(){};
g.h.dispatchEvent=function(){return!1};
g.h.abort=function(){};
g.h.remove=function(){};
g.h.appendBuffer=function(){};g.h=qw.prototype;g.h.yp=function(a){this.supports(0)?this.g.appendBuffer(a):this.g.append(a)};
g.h.abort=function(){this.g.abort()};
g.h.remove=function(a,b){this.g.remove(a,b)};
g.h.ay=function(a){this.supports(1)&&(this.g.timestampOffset=a)};
g.h.ht=function(){return this.supports(1)?this.g.timestampOffset:0};
g.h.Eb=function(){try{return this.g.buffered}catch(a){return jw([],[])}};
g.h.Yf=function(){return this.g.updating};
g.h.Ug=function(a){this.l=a};
g.h.We=function(){return this.l};
g.h.supports=function(a){switch(a){case 1:return void 0!=this.g.timestampOffset;case 0:return!!this.g.appendBuffer;case 2:return!!this.g.remove;case 3:return!!this.g.removeEventListener;default:return!1}};
g.h.addEventListener=function(a,b){this.supports(3);this.g.addEventListener(a,b)};
g.h.removeEventListener=function(a,b){this.supports(3);this.g.removeEventListener(a,b)};g.h=rw.prototype;g.h.yp=function(a,b){this.g.ht()!=this.o+this.l&&(this.g.supports(1),this.g.ay(this.o+this.l));this.g.yp(a,b)};
g.h.abort=function(){this.g.abort()};
g.h.remove=function(a,b){this.g.remove(a-this.l,b-this.l)};
g.h.ay=function(a){this.o=a};
g.h.ht=function(){return this.o};
g.h.Eb=function(){return pw(this.g.Eb(),this.l,window.Infinity)};
g.h.Yf=function(){return this.g.Yf()};
g.h.Ug=function(a){this.g.Ug(a)};
g.h.We=function(){return this.g.We()};
g.h.supports=function(a){return this.g.supports(a)};
g.h.addEventListener=function(a,b){this.g.addEventListener(a,b)};
g.h.removeEventListener=function(a,b){this.g.removeEventListener(a,b)};var Vfa=['video/mp4; codecs="avc1.42001E, mp4a.40.2"','video/webm; codecs="vp8.0, vorbis"'],Wfa=['audio/mp4; codecs="mp4a.40.2"'];ww.prototype.dispose=function(){if(!this.o){if(this.l)try{window.URL.revokeObjectURL(this.g)}catch(a){}this.o=!0}};
ww.prototype.ga=function(){return this.o};g.r(xw,g.G);xw.prototype.F=function(){!this.ga()&&yw(this)&&this.A&&(this.A(this),this.A=null)};
xw.prototype.C=function(){this.dispose()};var bX={cupcake:1.5,donut:1.6,eclair:2,froyo:2.2,gingerbread:2.3,honeycomb:3,"ice cream sandwich":4,jellybean:4.1,kitkat:4.4,lollipop:5.1,marshmallow:6,nougat:7.1},cX;var dX=g.Xb;dX=dX.toLowerCase();if(-1!=dX.indexOf("android")){var eX=dX.match(/android\D*(\d\.\d)[^;|\)]*[;\)]/);if(eX)cX=(0,window.parseFloat)(eX[1]);else{var fX=dX.match("("+g.fc(bX).join("|")+")");cX=fX?bX[fX[0]]:0}}else cX=void 0;var Hw=cX,Yz=0<=Hw;var Jaa={'video/mp4; codecs="avc1.42001E, mp4a.40.2"':"maybe"},Kaa={"application/x-mpegURL":"maybe"},Iaa={"application/x-mpegURL":"maybe"};Ww.prototype.ze=function(){return this.Ve};
Ww.prototype.g=function(){return null};
Ww.prototype.A=function(){};
Ww.prototype.getHeight=function(){return this.Ve.video.height};Yw.prototype.isLocked=function(){return this.o&&!!this.l&&this.l==this.g};
Yw.prototype.A=function(a){return a.video?ex(this,a.video.quality):!1};
var HH=$w("auto","large",!1,"l"),bx=$w("auto","auto",!1,"p");$w("small","auto",!1,"p");g.h=g.gx.prototype;g.h.Zu=function(a){this.segments.push(a)};
g.h.lf=function(a){return(a=this.ug(a))?a.duration:0};
g.h.Mn=function(a){return this.lf(a)};
g.h.Ud=function(){return this.segments.length?this.segments[0].oa:-1};
g.h.rp=function(a){return(a=this.ug(a))?a.ingestionTime:window.NaN};
g.h.kb=function(){return this.segments.length?this.segments[this.segments.length-1].oa:-1};
g.h.wg=function(){var a=this.segments[this.segments.length-1];return a?a.endTime:window.NaN};
g.h.rb=function(){return this.segments[0].startTime};
g.h.uh=function(){return this.segments.length};
g.h.Cl=function(){return 0};
g.h.Ze=function(a){return(a=this.Gk(a))?a.oa:-1};
g.h.Sn=function(a){return(a=this.ug(a))?a.sourceURL:""};
g.h.Wc=function(a){return(a=this.ug(a))?a.startTime:0};
g.h.Tk=ba(3);g.h.Fb=function(){return 0<this.segments.length};
g.h.ug=function(a){a=g.lb(this.segments,new fx(a,0,0,0,""),function(a,c){return a.oa-c.oa});
return 0<=a?this.segments[a]:null};
g.h.Gk=function(a){a=g.lb(this.segments,{startTime:a},function(a,c){return a.startTime-c.startTime});
return 0<=a?this.segments[a]:this.segments[Math.max(0,-a-2)]};
g.h.Zs=function(){return 0};jx.prototype.skip=function(a){this.g+=a};px.prototype.vk=function(a,b,c){(new window.Uint8Array(this.data.buffer,this.g,c)).set(new window.Uint8Array(a.buffer,b+a.byteOffset,c));this.g+=c};var gX={},Iga=(gX.predictStart="predictStart",gX.start="start",gX["continue"]="continue",gX.stop="stop",gX),fda={EVENT_PREDICT_START:"predictStart",EVENT_START:"start",EVENT_PREDICT_CONTINUE:"continue",EVENT_PREDICT_STOP:"stop"};g.Mx.prototype.toString=function(){return this.start+"-"+(null==this.end?"":this.end)};py.prototype.verify=function(){if(this.info.Ja!=this.range.length)return!1;if(1==this.info.g.info.containerType){if(8>this.info.Ja||4==this.info.type)return!0;var a=qy(this),b=a.getUint32(0,!1);a=a.getUint32(4,!1);if(2==this.info.type)return b==this.info.Ja&&1936286840==a;if(3==this.info.type&&0==this.info.l)return 1836019558==a||1936286840==a||1937013104==a||1718909296==a||1701671783==a||1936419184==a}else if(2==this.info.g.info.containerType){if(4>this.info.Ja||4==this.info.type)return!0;b=qy(this).getUint32(0,
!1);if(3==this.info.type&&0==this.info.l)return 524531317==b||440786851==b}return!0};g.Ay.prototype.set=function(a,b){this.g[a]!==b&&(this.g[a]=b,this.o="")};
g.Ay.prototype.get=function(a){By(this);return this.g[a]||null};
g.Ay.prototype.vb=function(){this.o||(this.o=Xaa(this));return this.o};
g.Ay.prototype.clone=function(){var a=new g.Ay(this.A);a.C=this.C;a.l=this.l;a.B=this.B;a.g=g.qc(this.g);a.o=this.o;return a};
var Ey=!1;Jy.prototype.set=function(a,b){this.g.get(a);this.l[a]=b;this.o=""};
Jy.prototype.get=function(a){return this.l[a]||this.g.get(a)};
Jy.prototype.vb=function(){this.o||(this.o=Zaa(this));return this.o};var Jga=0;g.h=Vy.prototype;g.h.te=function(){};
g.h.Ch=function(){};
g.h.Bo=function(){return!1};
g.h.ac=function(){return!!this.g&&!!this.index&&this.index.Fb()};
g.h.hf=function(){};
g.h.Cu=function(){return!1};
g.h.th=function(){};
g.h.Jg=function(){};
g.h.Hh=function(){};
g.h.Ye=function(){};
g.h.Xk=function(){};
g.h.Du=function(a){return[a]};
g.h.lm=function(a){return[a]};
g.h.Ul=function(){};
g.h.Qk=function(){};g.r(Xy,Vy);g.h=Xy.prototype;g.h.te=function(){return!1};
g.h.Ch=function(){return!1};
g.h.Cu=function(){return this.l};
g.h.th=function(){if(this.l)return[];var a=new Qx(1,this,this.initRange);return[new Qy([a],this.L)]};
g.h.Jg=function(){return null};
g.h.Hh=function(a){this.hf(a);return this.Dl(a.o?a.oa+1:a.oa,!1)};
g.h.Ye=function(a,b){b=void 0===b?!1:b;var c=this.index.Ze(a);b&&(c=Math.min(this.index.kb(),c+1));return this.Dl(c,!0)};
g.h.Xk=function(a){this.g=new window.Uint8Array(qy(a).buffer)};
g.h.Bo=function(){return!1};
g.h.hf=function(a){return 0==a.Ja?!0:this.index.kb()>a.oa&&this.index.Ud()<=a.oa+1};
g.h.update=function(a,b,c){hx(this.index,a);ix(this.index,c);this.J=b};
g.h.ac=function(){return this.l?!0:Vy.prototype.ac.call(this)};
g.h.Dl=function(a,b){var c=this.index.Sn(a),d=this.index.Wc(a),e=this.index.lf(a),f;b?e=f=0:f=0<this.info.g?this.info.g*e:1E3;d=new Qx(3,this,null,a,d,e,0,f,a==this.index.kb()&&!this.J&&0<f);return new Qy([d],c)};
g.h.Qk=function(){return this.l?0:this.initRange.length};
g.h.Ul=function(){return!1};g.r(Yy,g.gx);g.h=Yy.prototype;g.h.Ud=function(){return this.g?this.segments.length?this.Gk(this.rb()).oa:-1:g.gx.prototype.Ud.call(this)};
g.h.rb=function(){return this.g?this.segments.length?Math.max(g.Oa(this.segments).endTime-this.A,0):0:g.gx.prototype.rb.call(this)};
g.h.wg=function(){var a=this.kb();return!this.g||!this.segments.length||a<=this.segments[this.segments.length-1].oa?g.gx.prototype.wg.call(this):bz(this,a,this.segments[this.segments.length-1]).endTime};
g.h.uh=function(){return this.g?this.segments.length?this.kb()-this.Ud()+1:0:g.gx.prototype.uh.call(this)};
g.h.kb=function(){return Math.max(g.gx.prototype.kb.call(this),this.o)};
g.h.Zu=function(a){var b=Zy(this,a.oa);0<=b?this.segments[b]=a:this.segments.splice(-(b+1),0,a)};
g.h.Gk=function(a){if(!this.g)return g.gx.prototype.Gk.call(this,a);if(!this.segments.length)return null;var b=g.lb(this.segments,{startTime:a},function(a,b){return a.startTime-b.startTime}),c=this.segments[0<=b?b:Math.max(-(b+2),0)];
return c.startTime+c.duration>a&&c.startTime<=a?c:-1==b?bz(this,c.oa-Math.ceil((c.startTime-a)/this.l),c):bz(this,c.oa+Math.ceil((a-c.endTime)/this.l),c)};
g.h.ug=function(a){if(!this.g)return g.gx.prototype.ug.call(this,a);if(!this.segments.length)return null;var b=Zy(this,a);return 0<=b?this.segments[b]:bz(this,a,this.segments[Math.max(-(b+2),0)])};g.r(cz,Xy);g.h=cz.prototype;g.h.Ch=function(){return!0};
g.h.ac=function(){return!0};
g.h.hf=function(){return!0};
g.h.th=function(){return[]};
g.h.Ye=function(a,b){if(g.va(a)&&!(0,window.isFinite)(a)){var c=new Qx(3,this,null,-1,void 0,this.F,void 0,this.F*this.info.g);return new Qy([c],"")}return Xy.prototype.Ye.call(this,a,b)};
g.h.Dl=function(a,b){if($y(this.index,a))return Xy.prototype.Dl.call(this,a,b);var c=this.index.Wc(a);c=new Qx(3,this,null,a,c,void 0,void 0,b?0:this.F*this.info.g);return new Qy([c],0<=a?"sq/"+a:"")};hz.prototype.update=function(a,b){var c=void 0;this.l&&(c=this.l);var d=new hz,e=Array.from(a.getElementsByTagName("S"));if(e.length){var f=+dz(a,"timescale")||1,k=(+e[0].getAttribute("t")||0)/f,l=+dz(a,"startNumber")||0;var m=k;var n=+dz(a,"presentationTimeOffset")||0;m=c?c.Qd+c.durationSecs:b?m-n/f:0;n=Date.parse(gz(dz(a,"yt:segmentIngestTime")))/1E3;d.o="SegmentTemplate"==a.parentNode.tagName;d.o&&(d.C=dz(a,"media"));var q=c?l-c.oa:1;d.B=0<q?0:-q+1;e=g.p(e);for(q=e.next();!q.done;q=e.next()){q=
q.value;for(var u=+q.getAttribute("d")/f,w=(+q.getAttribute("yt:sid")||0)/f,H=+q.getAttribute("r")||0,F=0;F<=H;F++)if(c&&l<=c.oa)l++;else{var M=new bba(l,m,u,n+w,k);d.g.push(M);var Z=M.Qd;M=q.getAttribute("yt:cuepointTimeOffset");var pa=q.getAttribute("yt:cuepointDuration");if(M&&pa){Z=+M/f+Z;pa=+pa/f;var $a=q.getAttribute("yt:cuepointContext")||null,sb=q.getAttribute("yt:cuepointIdentifier");var le=q.getAttribute("yt:cuepointEvent");le=Iga[le]||"unknown";M=new sx(Z,pa,$a,sb,le,M)}else M=null;M&&
d.A.push(M);l++;m+=u;k+=u;n+=u+w}}d.g.length&&(d.l=g.Oa(d.g))}this.B=d.B;this.l=d.l||this.l;eb(this.g,d.g);eb(this.A,d.A);this.o=d.o;this.C=d.C};g.r(iz,Vy);g.h=iz.prototype;g.h.te=function(){return!1};
g.h.Ch=function(){return!1};
g.h.th=function(){if(this.l){var a=new Qx(1,this,null);return[new Qy([a],this.l)]}a=new Qx(1,this,this.initRange);var b=new Qx(2,this,this.indexRange);return[new Qy([a,b])]};
g.h.Jg=function(){return null};
g.h.Hh=function(a){this.hf(a);return jz(this,a.o?a.oa+1:a.oa,!1)};
g.h.Ye=function(a,b){b=void 0===b?!1:b;var c=this.index.Ze(a);b&&(c=Math.min(this.index.kb(),c+1));return jz(this,c,!0)};
g.h.Xk=function(a){if(1==a.info.type)this.g||(a.o&&"http://youtube.com/streaming/otf/durations/112015"==a.o.uri&&jba(this,a.o),this.g=ry(a));else if(g.Yv(this.info)&&2==a.info.type&&!this.index.Fb()){var b=g.zx(qy(a),1936286840);if(b){a=[];var c=Hx(b);b=c.eq.length;var d=c.Aq,e=c.eq,f=c.Lj;c=this.indexRange.end+c.Os+1;for(var k=0,l=0;l<b;l++){var m=f[l]/d,n=e[l];a.push(new fx(l,k,m,window.NaN,"range/"+c+"-"+(c+n-1)));k+=m;c+=n}hx(this.index,a)}}};
g.h.hf=function(a){return 0==a.Ja?!0:this.index.kb()>a.oa&&this.index.Ud()<=a.oa+1};
g.h.Qk=function(){return this.initRange&&this.indexRange?this.initRange.length+this.indexRange.length:0};
g.h.Ul=function(){return!1};g.h=g.kz.prototype;g.h.Cl=function(a){return this.g[a]};
g.h.Wc=function(a){return this.l[a]/this.A};
g.h.Tk=ba(2);g.h.rp=function(){return window.NaN};
g.h.lf=function(a){a=this.Mn(a);return 0<=a?a/this.A:-1};
g.h.Mn=function(a){return a+1<this.ya||this.o?this.l[a+1]-this.l[a]:-1};
g.h.Ud=function(){return 0};
g.h.kb=function(){return this.ya-1};
g.h.wg=function(){return this.o?this.l[this.ya]/this.A:window.NaN};
g.h.rb=function(){return 0};
g.h.uh=function(){return this.ya};
g.h.Sn=function(){return""};
g.h.Ze=function(a){a=g.lb(this.l.subarray(0,this.ya),a*this.A);return 0<=a?a:Math.max(0,-a-2)};
g.h.Fb=function(){return 0<=this.kb()};
g.h.Zs=function(a,b){if(a>=this.kb())return 0;for(var c=0,d=this.Wc(a)+b,e=a;e<this.kb()&&d>this.Wc(e);e++)c=Math.max(c,(e+1<this.ya||this.o?this.g[e+1]-this.g[e]:-1)/this.lf(e));return c};
g.h.cap=function(a,b){lz(this);this.o=!0;this.l[this.ya]=b;this.g[this.ya]=a};g.r(g.mz,Vy);g.h=g.mz.prototype;g.h.th=function(a){var b=new Qx(1,this,this.initRange),c=new Qx(2,this,this.indexRange),d=[],e=[b];Sx(b,c)?e.push(c):(d.push(new Qy([c])),a=0);(0,window.isNaN)(this.l)&&(a=0);b=e[e.length-1];a=Math.min(a,this.l-(b.range.end-e[0].range.start+1));0<a&&(a=Ox(b.range.end+1,a),e.push(new Qx(4,this,a)));d.push(new Qy(e));return d};
g.h.Xk=function(a){if(1==a.info.type){if(this.g)return;this.g=ry(a)}else if(2==a.info.type){if(this.F||0<=this.index.kb())return;if(g.Yv(this.info)){var b=this.index,c=qy(a);a=a.info.range.start;var d=g.zx(c,1936286840);c=Hx(d);b.A=c.Aq;var e=c.FA;b.g[0]=c.Os+a+d.size;b.l[0]=e;b.o=!0;a=c.Lj.length;for(d=0;d<a;d++){e=b;var f=c.eq[d],k=c.Lj[d];e.ya++;lz(e);e.g[e.ya]=e.g[e.ya-1]+f;e.l[e.ya]=e.l[e.ya-1]+k}}else this.F=qy(a)}if(2==this.info.containerType&&this.g&&this.F){a=new window.DataView(this.g.buffer);
b=this.index;k=this.F;c=this.indexRange.end;a=new Zx(a);if(cy(a,440786851)&&(iy(a),cy(a,408125543)&&(e=a,f=e.g,d=dy(e,!0),e.g=f,a=by(a),e=a.o+a.g,cy(a,357149030)))){a=by(a);var l=1E6,m=1E9;for(f=0;!$x(a);){var n=dy(a,!1);2807729==n?l=hy(a):2807730==n?m=hy(a):17545==n?f=jy(a):iy(a)}b.A=m/l;a=new Zx(k);if(cy(a,475249515)){a=by(a);k=!0;for(l=!1;cy(a,187);){m=by(a);if(cy(m,179))if(n=hy(m),cy(m,183)){m=by(m);for(var q=e;cy(m,241);)q=hy(m)+e;m=[q,n]}else m=null;else m=null;q=m;k&&c==q[0]&&(l=!0);k=!1;l&&
(q[0]+=1);m=b;n=q[0];q=q[1];lz(m);m.g[m.ya]=n;m.l[m.ya]=q;m.ya++}b.cap(d+e,f)}}this.F=null}};
g.h.Du=function(a){for(var b=this.lm(a.info),c=[],d=a.l,e=0;e<b.length;e++){var f=Ox(b[e].range.start+b[e].l-a.info.range.start+a.range.start,b[e].Ja);c.push(new py(b[e],a.g,f,a.A,d));d=!1}return c};
g.h.lm=function(a){for(var b=0;b<this.index.kb()&&a.range.start>=this.index.Cl(b+1);)b++;return nz(this,b,a.range.start,a.range.length).g};
g.h.hf=function(a){return this.ac()?!0:(0,window.isNaN)(this.l)?!1:a.range.end+1<this.l};
g.h.Jg=function(a,b){this.hf(a);if(!this.ac()){var c=Ox(a.range.end+1,b);c.end+1>this.l&&(c=new g.Mx(c.start,this.l-1));c=[new Qx(4,a.g,c)];return new Qy(c)}4==a.type&&(c=this.lm(a),a=c[c.length-1]);c=0;var d=a.range.start+a.l+a.Ja;3==a.type&&(c=a.oa,d==a.range.end+1&&(c+=1));return nz(this,c,d,b)};
g.h.Hh=function(){return null};
g.h.Ye=function(a,b){var c=this.index.Ze(a);b&&(c=Math.min(this.index.kb(),c+1));return nz(this,c,this.index.Cl(c),0)};
g.h.Bo=function(){var a;if(a=this.ac()&&!(0,window.isNaN)(this.l))a=this.index,a=(a.o?a.g[a.ya]:-1)!=this.l;return a};
g.h.te=function(){return!0};
g.h.Ch=function(){return!1};
g.h.Qk=function(){return this.indexRange.length+this.initRange.length};
g.h.Ul=function(){return this.indexRange&&this.initRange&&this.initRange.end+1==this.indexRange.start?!0:!1};var qz={oU:function(a,b){a.splice(0,b)},
bS:function(a,b){var c=a[0];a[0]=a[b%a.length];a[b%a.length]=c},
G7:function(a){a.reverse()}};g.r(sz,g.O);g.h=sz.prototype;g.h.Xd=function(){return ac(this.g,function(a){return a.info.video?2==a.info.video.projectionType:!1})};
g.h.Yd=function(){return ac(this.g,function(a){return a.info.video?3==a.info.video.projectionType:!1})};
g.h.Hd=function(){return ac(this.g,function(a){return a.info.video?4==a.info.video.projectionType:!1})};
g.h.Cg=function(){return ac(this.g,function(a){return a.info.video?1==a.info.video.stereoLayout:!1})};
g.h.HK=function(a){var b=a.getElementsByTagName("Representation");if(0<a.getElementsByTagName("SegmentList").length||0<a.getElementsByTagName("SegmentTemplate").length){this.L=this.F=this.o=!0;this.B||(this.B=new dba);hba(this.B,a,this.ia);this.P("refresh");for(a=0;a<b.length;a++){var c=Bz(this,b[a]);if(!this.g[c.id]){var d=yz(ez(b[a],"BaseURL").textContent),e=ez(b[a],"Initialization"),f=dz(e,"sourceURL");e=Nx(dz(e,"range"));this.g[c.id]=new Xy(d,c,f,null===e?void 0:e)}c=this.g[c.id];d=dz(b[a],"id",
"AdaptationSet");d=""!=d?d:dz(b[a],"mimetype","AdaptationSet");f=this.B;d=f.o[c.info.id]||f.l[d]||f.g||null;e=d.g;if(d.o){f=[];e=g.p(e);for(var k=e.next();!k.done;k=e.next()){k=k.value;for(var l=c.info.id,m=8*c.info.g,n=k.oa,q=k.Qd,u=d.C.split("$$"),w=0;w<u.length;w++)u[w]=u[w].replace("$RepresentationID$",l),u[w]=u[w].replace("$Number$",n.toString()),u[w]=u[w].replace("$Bandwidth$",m.toString()),u[w]=u[w].replace("$Time$",q.toString());f.push(new fx(k.oa,k.Qd,k.durationSecs,k.g,u.join("$"),null,
k.l))}d=f}else{d=g.fb(ez(b[a],"SegmentList").getElementsByTagName("SegmentURL"),d.B);f=[];for(k=0;k<d.length;k++)f.push(uba(d[k],e[k]));d=f}c.update(d,this.o&&window.Infinity>this.G,this.Y)}iba(this.B);return!0}this.duration=fz(dz(a,"mediaPresentationDuration"));a:{for(a=0;a<b.length;a++){e=b[a];c=Bz(this,e);f=ez(e,"BaseURL");d=yz(f.textContent);k=ez(e,"SegmentBase");e=Nx(k.attributes.indexRange.value);k=Nx(k.getElementsByTagName("Initialization")[0].attributes.range.value);f=(0,window.parseInt)(f.getAttribute(zz(this,
"contentLength")),10);c=new g.mz(d,c,k,e,f,window.NaN);if(!c){b=!1;break a}vz(this,c)}b=!0}return b};
g.h.fB=function(a){if(this.ga())return this;this.T=a.status;a=a.responseText;a=(new window.DOMParser).parseFromString(a,"text/xml").getElementsByTagName("MPD")[0];this.G=1E3*fz(dz(a,"minimumUpdatePeriod"))||window.Infinity;if(!this.Z){var b;a:{for(b=0;b<a.attributes.length;b++)if("http://youtube.com/yt/2012/10/10"==a.attributes[b].value){b=a.attributes[b].name.split(":")[1];break a}b=""}this.X=b}this.Y=(0,window.parseInt)(dz(a,zz(this,"earliestMediaSequence")),10)||0;if(b=Date.parse(gz(dz(a,zz(this,
"mpdResponseTime")))))this.I=((0,g.D)()-b)/1E3;this.o&&0>=a.getElementsByTagName("SegmentTimeline").length||(0,g.jo)(a.getElementsByTagName("Period"),this.HK,this);this.C=2;this.P("loaded");Fz(this);return this};
g.h.hB=function(a){this.T=a.g.status;this.C=3;this.P("loaderror");return jg(a.g)};
g.h.bv=function(){if(1!=this.C&&!this.ga()){var a=g.fh(this.sourceUrl,{start_seq:vba(this).toString()});g.rg(Cz(this,a),function(){})}};
g.h.resume=function(){Fz(this)};
g.h.Dc=function(){var a=this.g,b=window.NaN,c;for(c in a){var d=a[c].index;d&&d.Fb()&&((0,window.isNaN)(b)||d.wg()<b)&&(b=d.wg())}return b};
g.h.rb=function(){var a=this.g,b;for(b in a){var c=a[b].index;if(c&&c.Fb())return c.rb()}return 0};
g.h.qE=function(){return this.I};
var Jz=null,Kz=!1,Az={commentary:1,alternate:2,dub:3,main:4};var hX={},cA=(hX.playready=["com.youtube.playready","com.microsoft.playready"],hX.widevine=["com.widevine.alpha"],hX),Iba=g.cb(cA.widevine,cA.playready);Uz.prototype.getAvailableAudioTracks=function(){return this.audioTracks};var Aba="1 9h 9 h 8 (h ( H *".split(" "),Xz="h198H(*".split(""),Cba="oMavAV".split(""),Fba=["so","sa"],Eba="moMavAV".split(""),Dba="aoMvAV".split(""),Bba=["f"];g.r(bA,g.G);bA.prototype.F=function(){(this.C=g.S(this.o,"html5_widevine_robustness_strings")&&!this.C&&"widevine"==this.g[this.l[0]].flavor)||this.l.shift();dA(this)};
bA.prototype.G=function(a,b){this.ga()||(a.l=b,Jba(this,a),this.B(a))};var Tba={RED:"red",UO:"white"};fA.prototype.g=function(a,b){var c=Math.pow(this.B,a);this.o=b*(1-c)+c*this.o;this.A+=a};
fA.prototype.l=function(){return this.o/(1-Math.pow(this.B,this.A))};hA.prototype.g=function(a,b){var c=Math.min(this.o,Math.max(1,Math.round(a*this.L)));c+this.A>=this.o&&(this.C=!0);for(;c--;)this.B[this.A]=b,this.A=(this.A+1)%this.o;this.G=!0};
hA.prototype.l=function(){return this.I?(iA(this,this.F-this.I)+iA(this,this.F)+iA(this,this.F+this.I))/3:iA(this,this.F)};var Sba={fM:"adunit",MM:"detailpage",PM:"editpage",RM:"embedded",CN:"leanback",eO:"previewpage",fO:"profilepage",MO:"unplugged"};var NA={EN:1,FN:2,GN:3};g.r(rA,g.O);rA.prototype.add=function(a,b){if(!this.za[a]&&(b.rk||b.sk||b.Bq)){var c=this.za,d=b;Object.isFrozen&&!Object.isFrozen(b)&&(d=Object.create(b),Object.freeze(d));c[a]=d;this.P("vast_info_card_add",a)}};
rA.prototype.remove=function(a){var b=this.get(a);delete this.za[a];return b};
rA.prototype.get=function(a){return this.za[a]||null};
rA.prototype.isEmpty=function(){return g.lc(this.za)};var Pba=/^([0-9\.]+):([0-9\.]+)$/;var yA=g.z("ytglobal.prefsUserPrefsPrefs_")||{};g.y("ytglobal.prefsUserPrefsPrefs_",yA,void 0);g.h=zA.prototype;g.h.get=function(a,b){BA(a);AA(a);var c=void 0!==yA[a]?yA[a].toString():null;return null!=c?c:b?b:""};
g.h.set=function(a,b){BA(a);AA(a);if(null==b)throw Error("ExpectedNotNull");yA[a]=b.toString()};
g.h.remove=function(a){BA(a);AA(a);delete yA[a]};
g.h.save=function(){g.yu(this.g,this.dump(),63072E3)};
g.h.clear=function(){g.mc(yA)};
g.h.dump=function(){var a=[],b;for(b in yA)a.push(b+"="+(0,window.encodeURIComponent)(String(yA[b])));return a.join("&")};
g.Aa(zA);var CA="blogger books docs google-live play chat picasaweb gmail jamboard".split(" ");g.r(SA,g.G);
SA.prototype.tf=function(a){this.ia=vA(this.ia,a.video_id);this.Ma=vA(this.Ma,a.eventid);for(var b in iX){var c=iX[b],d=a[c];void 0!=d&&(this.o[c]=d)}this.userAge=uA(this.userAge,a.user_age);this.N=vA(this.N,a.user_display_image);g.fv(this.N)||(this.N="");this.userDisplayName=vA(this.userDisplayName,a.user_display_name);this.userGender=vA(this.userGender,a.user_gender);this.csiPageType=vA(this.csiPageType,a.csi_page_type);this.Ra=vA(this.Ra,a.csi_service_name);this.Nb=sA(this.Nb,a.enablecsi);if(a=
a.enabled_engage_types)this.Ya=new window.Set(a.split(","))};
SA.prototype.getVideoUrl=function(a,b,c,d,e){b={list:b};c&&(e?b.time_continue=c:b.t=c);c=VA(this);d&&"www.youtube.com"==c?d="https://youtu.be/"+a:g.XA(this)?(d="https://"+c+"/fire",b.v=a):(d=this.protocol+"://"+c+"/watch",b.v=a,Gw&&(a=g.z("yt.ads.biscotti.lastId_")||"")&&(b.ebc=a));return g.fh(d,b)};
var iX={oM:"cbrand",pM:"cbr",qM:"cbrver",rN:"c",uN:"cver",tN:"ctheme",sN:"cplayer",KN:"cmodel",MN:"cnetwork",SN:"cos",TN:"cosver",aO:"cplatform"};g.r(iB,Ww);
iB.prototype.g=function(){if(!this.l||this.l.ga()){var a=this.o;Zba(a);var b=["#EXTM3U","#EXT-X-INDEPENDENT-SEGMENTS"],c={};a:if(a.l)var d=a.l;else{d=g.p(a.o);for(var e=d.next();!e.done;e=d.next())if(e=e.value,e.ab&&e.ab.isDefault){d=e.ab.getId();break a}d=""}e=0;for(var f=a.o.length;e<f;++e){var k=a.o[e];k.ab&&k.ab.getId()!=d||(c[k.itag]=k,b.push(Yba(a,k)))}d=0;for(e=a.g.length;d<e;++d)if(f=a.g[d],a.C)for(var l in c)hB(a,b,f,c[l]);else hB(a,b,f,c[f.audioItag]);a="data:application/x-mpegurl;charset=utf-8,"+(0,window.encodeURIComponent)(b.join("\n"));
this.l=new ww(a)}return this.l};g.r(kB,Ww);kB.prototype.g=function(){return new ww(this.l.vb())};
kB.prototype.A=function(){this.l=Fy(this.l)};g.r(mB,Ww);mB.prototype.g=function(){return new ww(this.l)};var bca=new window.Set("BASE_URL BASE_YT_URL abd adformat allow_embed authuser autoplay captions_load_policy cc_load_policy cc3_module dash dashmpd disable_native_context_menu docid el enable_cardio enablecastapi enablepostapi end errorcode fmt_list fmt_stream_map hl hlsdvr hlsrange hlsvp html5 invite iurl iurlhq iurlmq length_seconds live_playback nohtml5 origin override_hl partnerid plid postid ps public reason rel reload_count reload_reason reportabuseurl resume start status streaminglib_load_policy streaminglib_preroll t timestamp title token ttsurl use_native_controls url_encoded_fmt_stream_map video_id videoid videoId wmode".split(" "));var Kga={UNKNOWN:"UNKNOWN",NORMAL:"NORMAL",HN:"LOW",LO:"ULTRALOW"};g.h=g.oB.prototype;g.h.getHeight=function(){return this.B};
g.h.Xs=ba(4);g.h.On=function(){return this.o};
g.h.isDefault=function(){return-1!=this.A.indexOf("default")};
g.h.Fb=function(a){return this.De.has(a)};
g.h.vb=function(a){var b=this.J;b=b.replace("$N",this.A);b=b.replace("$L",this.I.toString());b=b.replace("$M",a.toString());this.F&&(b=g.fh(b,{sigh:this.F}));return jv(b)};
g.h.Th=function(a){var b=this.On()-1;return g.od(0==this.g?Math.round(a*this.o/this.L):Math.round(1E3*a/this.g),0,b)};
g.h.Uh=function(){return this.o-1};
g.h.Jl=function(){return this.o?0:-1};
g.h.by=function(){};g.r(qB,g.O);qB.prototype.I=function(a,b){this.l=this.l.onload=null;var c=this.g[a];c.De.add(b);tB(this);var d=c.columns*c.rows;var e=b*d;c=Math.min(e+d-1,c.On()-1);e=[e,c];this.P("l",e[0],e[1])};
qB.prototype.U=function(){this.l&&(this.l=this.l.onload=null);g.O.prototype.U.call(this)};g.r(vB,qB);vB.prototype.o=function(a,b){for(var c=[],d=a.split("|"),e=d[0],f=1;f<d.length;f++){var k=this.C(f-1,e,d[f],b);180>k.getHeight()&&c.push(k)}return c};
vB.prototype.C=function(a,b,c,d){return new g.oB(a,b,c,d)};g.r(wB,g.oB);g.h=wB.prototype;g.h.On=function(){return this.l.uh()};
g.h.Th=function(a){var b=this.rows*this.columns*this.G,c=this.l,d=c.kb();a=c.Ze(a);return a>d-b?-1:a};
g.h.Uh=function(){return this.l.kb()};
g.h.Jl=function(){return this.l.Ud()};
g.h.by=function(a){this.l=a};g.r(xB,vB);xB.prototype.o=function(a,b){return vB.prototype.o.call(this,"$N|"+a,b)};
xB.prototype.C=function(a,b,c){return new wB(a,b,c,this.isLive)};var yB={iurl:"default.jpg",iurlmq:"mqdefault.jpg",iurlhq:"hqdefault.jpg",iurlsd:"sddefault.jpg",iurlpop1:"pop1.jpg",iurlpop2:"pop2.jpg",iurlhq720:"hq720.jpg",iurlmaxres:"maxresdefault.jpg"},dca={120:"default.jpg",320:"mqdefault.jpg",480:"hqdefault.jpg",560:"pop1.jpg",640:"sddefault.jpg",854:"pop2.jpg",1280:"hq720.jpg"};g.CB.prototype.toString=function(){return this.topic};var Lga=g.z("ytPubsub2Pubsub2Instance")||new g.Lq;g.Lq.prototype.subscribe=g.Lq.prototype.subscribe;g.Lq.prototype.unsubscribeByKey=g.Lq.prototype.Ac;g.Lq.prototype.publish=g.Lq.prototype.P;g.Lq.prototype.clear=g.Lq.prototype.clear;g.y("ytPubsub2Pubsub2Instance",Lga,void 0);var FB=g.z("ytPubsub2Pubsub2SubscribedKeys")||{};g.y("ytPubsub2Pubsub2SubscribedKeys",FB,void 0);var HB=g.z("ytPubsub2Pubsub2TopicToKeys")||{};g.y("ytPubsub2Pubsub2TopicToKeys",HB,void 0);
var GB=g.z("ytPubsub2Pubsub2IsAsync")||{};g.y("ytPubsub2Pubsub2IsAsync",GB,void 0);g.y("ytPubsub2Pubsub2SkipSubKey",null,void 0);var ZB=window.performance||window.mozPerformance||window.msPerformance||window.webkitPerformance||{};g.r(NB,g.BB);g.r(OB,g.BB);var kca=new g.CB("aft-recorded",NB),JB=new g.CB("timing-sent",OB);var nca,jX,fC,jca,hca,ica,iC,gca,Rfa;nca={vc:!0};jX={};
fC=(jX.ad_allowed="adTypesAllowed",jX.ad_at="adType",jX.ad_cpn="adClientPlaybackNonce",jX.ad_docid="adVideoId",jX.yt_ad_an="adNetworks",jX.p="httpProtocol",jX.t="transportProtocol",jX.cpn="clientPlaybackNonce",jX.csn="clientScreenNonce",jX.docid="videoId",jX.is_nav="isNavigation",jX.yt_lt="loadType",jX.yt_ad="isMonetized",jX.nr="webInfo.navigationReason",jX.ncnp="webInfo.nonPreloadedNodeCount",jX.paused="playerInfo.isPausedOnLoad",jX.fmt="playerInfo.itag",jX.yt_pl="watchInfo.isPlaylist",jX.yt_ad_pr=
"prerollAllowed",jX.yt_red="isRedSubscriber",jX.st="serverTimeMs",jX.vph="viewportHeight",jX.vpw="viewportWidth",jX.yt_vis="isVisible",jX);jca="ap c cver ei srt yt_fss yt_li plid vpil vpni vpst yt_eil vpni2 vpil2 icrc icrt pa GetBrowse_rid GetPlayer_rid GetSearch_rid GetWatchNext_rid cmt d_vpct d_vpnfi d_vpni pc pfa pfeh pftr prerender psc rc start tcrt tcrc ssr vpr vps yt_abt yt_fn yt_fs yt_pft yt_pre yt_pt yt_pvis yt_ref yt_sts".split(" ");
hca={ad_to_ad:"LATENCY_ACTION_AD_TO_AD",ad_to_video:"LATENCY_ACTION_AD_TO_VIDEO",browse:"LATENCY_ACTION_BROWSE",channels:"LATENCY_ACTION_CHANNELS",channel:"LATENCY_ACTION_CREATOR_CHANNEL_DASHBOARD","channel.analytics":"LATENCY_ACTION_CREATOR_CHANNEL_ANALYTICS","channel.copyright":"LATENCY_ACTION_CREATOR_CHANNEL_COPYRIGHT","channel.monetization":"LATENCY_ACTION_CREATOR_CHANNEL_MONETIZATION","channel.translations":"LATENCY_ACTION_CREATOR_CHANNEL_TRANSLATIONS","channel.videos":"LATENCY_ACTION_CREATOR_CHANNEL_VIDEOS",
embed:"LATENCY_ACTION_EMBED",home:"LATENCY_ACTION_HOME",library:"LATENCY_ACTION_LIBRARY",live:"LATENCY_ACTION_LIVE",prebuffer:"LATENCY_ACTION_PREBUFFER",prefetch:"LATENCY_ACTION_PREFETCH",results:"LATENCY_ACTION_RESULTS",search:"LATENCY_ACTION_RESULTS",tenx:"LATENCY_ACTION_TENX",video_to_ad:"LATENCY_ACTION_VIDEO_TO_AD",watch:"LATENCY_ACTION_WATCH","watch,watch7":"LATENCY_ACTION_WATCH","watch,watch7_html5":"LATENCY_ACTION_WATCH","watch,watch7ad":"LATENCY_ACTION_WATCH","watch,watch7ad_html5":"LATENCY_ACTION_WATCH",
wn_comments:"LATENCY_ACTION_LOAD_COMMENTS","video.analytics":"LATENCY_ACTION_CREATOR_VIDEO_ANALYTICS","video.comments":"LATENCY_ACTION_CREATOR_VIDEO_COMMENTS","video.edit":"LATENCY_ACTION_CREATOR_VIDEO_EDIT","video.translations":"LATENCY_ACTION_CREATOR_VIDEO_TRANSLATIONS","video.video_editor":"LATENCY_ACTION_CREATOR_VIDEO_VIDEO_EDITOR","video.video_editor_async":"LATENCY_ACTION_CREATOR_VIDEO_VIDEO_EDITOR_ASYNC"};ica="isNavigation isMonetized playerInfo.isPausedOnLoad prerollAllowed isRedSubscriber isVisible watchInfo.isPlaylist".split(" ");
iC=!1;gca=(0,g.A)(ZB.clearResourceTimings||ZB.webkitClearResourceTimings||ZB.mozClearResourceTimings||ZB.msClearResourceTimings||ZB.oClearResourceTimings||g.za,ZB);g.eE=TB;Rfa=SB;g.dE=UB;var kX;var lX=g.Xb,mX=lX.match(/\((iPad|iPhone|iPod)( Simulator)?;/);if(!mX||2>mX.length)kX=void 0;else{var nX=lX.match(/\((iPad|iPhone|iPod)( Simulator)?; (U; )?CPU (iPhone )?OS (\d+_\d)[_ ]/);kX=nX&&6==nX.length?Number(nX[5].replace("_",".")):0}var BR=kX,AR=0<=BR;AR&&0<=g.Xb.search("Safari")&&g.Xb.search("Version");var zca={0:"UNKNOWN",1:"OFF",2:"ON",3:"FORCED_ON"},oX={},Mga=(oX.ALWAYS=1,oX.BY_REQUEST=3,oX),uca,oC;g.r(g.nC,g.O);g.h=g.nC.prototype;g.h.tf=function(a,b){b?(this.setData(a),JC(this)&&xC(this)):(qC(this,a,!0),this.P("dataupdated"))};
g.h.setData=function(a){a=a||{};var b=a.raw_player_response;if(!b){var c=a.player_response;c&&(b=g.Dq(c))}b&&(this.Pa=b);this.Qe="1"!=a.hlsdvr?!1:Uw()?!0:DA&&5>BR?!1:!0;this.adQueryId=a.ad_query_id||null;this.adSafetyReason=a.encoded_ad_safety_reason||null;this.rA=a.agcid||null;this.adIds=a.ad_id||null;this.adSystems=a.ad_sys||null;this.Gs=a.encoded_ad_playback_context||null;this.gk="1"==a.infringe||"1"==a.muted;this.authKey=a.authkey;this.hc=a.authuser;this.clientPlaybackNonce||(this.clientPlaybackNonce=
a.cpn||Ju());this.enableCardio=sA(this.enableCardio,a.enable_cardio);this.enableCardioBeforePlayback=sA(this.enableCardioBeforePlayback,a.enable_cardio_before_playback);this.endSeconds=uA(this.endSeconds,a.end||a.endSeconds);this.Bh=vA(this.Bh,a.itct);this.Ao=sA(this.Ao,a.noiba);this.bj="1"==a.livemonitor;this.pa="1"==a.live_playback;this.isLiveDestination=sA(this.isLiveDestination,a.is_live_destination);this.isLiveDefaultBroadcast="1"==a.live_default_broadcast;this.isLowLatencyLiveStream="1"==a.is_low_latency_live_stream;
if(b=a.latency_class)this.latencyClass=tA("UNKNOWN",b,Kga);(this.isVisualizerEligible="1"==a.is_visualizer_eligible)&&this.tc.push("visualizer");this.isMdxPlayback=sA(this.isMdxPlayback,a.mdx);if(b=a.mdx_control_mode)this.mdxControlMode=Tb(b);this.zo=sA(this.zo,a.is_inline_playback_no_ad);this.qf=uA(this.qf,a.reload_count);this.reloadReason=vA(this.reloadReason,a.reload_reason);this.rq=sA(this.rq,a.show_content_thumbnail);this.Do=sA(this.Do,a.utpsa);this.cycToken=a.cyc||null;this.wy=a.tkn||null;this.eg=
"1"==a.innertube_thumbnail&&this.Pa.videoDetails.thumbnail?eca(this.Pa.videoDetails.thumbnail):zB(a);this.Le=vA(this.Le,a.vvt);this.revocableUnlistedToken=a.revocable_unlisted_token;this.mdxEnvironment=vA(this.mdxEnvironment,a.mdx_environment);this.uG=a.osig;this.Vw=a.ptchn;this.Ww=a.oid;this.Tl=a.ptk;this.Xw=a.pltype;this.playbackId=a.plid;this.eventId=a.eventid;this.osid=a.osid;this.videoMetadata=a.vm;this.bq=a.of;this.Fm=a.upt;this.playlistId=vA(this.playlistId,a.list);this.fx=a.pyv_view_beacon_url;
this.hx=a.pyv_quartile25_beacon_url;this.ix=a.pyv_quartile50_beacon_url;this.jx=a.pyv_quartile75_beacon_url;this.gx=a.pyv_quartile100_beacon_url;if(b=a.remarketing_url)this.remarketingUrl=b;this.Pa&&this.Pa.playbackTracking&&this.Pa.playbackTracking.youtubeRemarketingUrl&&(this.youtubeRemarketingUrl=this.Pa.playbackTracking.youtubeRemarketingUrl.baseUrl);this.Pa&&this.Pa.playbackTracking&&this.Pa.playbackTracking.googleRemarketingUrl&&(this.googleRemarketingUrl=this.Pa.playbackTracking.googleRemarketingUrl.baseUrl);
if(b=a.ppv_remarketing_url)this.ppvRemarketingUrl=b;this.hm=a.sdetail;b=a.session_data;!this.fq&&b&&(this.fq=g.Yr(b).feature);this.isFling=1==uA(this.isFling?1:0,a.is_fling);this.vnd=uA(this.vnd,a.vnd);this.Kn=vA(this.Kn,a.force_ads_url);this.Ie=vA(this.Ie,a.ctrl);this.rf=vA(this.rf,a.ytr);this.gs=a.ytrcc;this.yx=a.ytrexp;this.slotPosition=uA(this.slotPosition,a.slot_pos);this.breakType=a.break_type;this.xm=sA(this.xm,a.ssrt);this.videoId=xA(a)||this.videoId;this.vssCredentialsToken=vA(this.vssCredentialsToken,
a.vss_credentials_token);this.Pm=vA(this.Pm,a.vss_credentials_token_type);this.heartbeatToken=vA(this.heartbeatToken,a.heartbeat_token);this.heartbeatInterval=uA(this.heartbeatInterval,a.heartbeat_interval);this.heartbeatRetries=uA(this.heartbeatRetries,a.heartbeat_retries);this.heartbeatSoftFail=sA(this.heartbeatSoftFail,a.heartbeat_soft_fail);this.yo=sA(this.yo,a.ithb);this.relativeLoudness=uA(this.relativeLoudness,a.relative_loudness);this.Rj=sA(this.Rj,a.audio_only);this.Qm=sA(this.Qm,a.aac_high);
this.isDni=sA(!1,a.is_dni);this.dniColor=vA("#cc181e",a.dni_color);this.dm=vA(this.dm,a.qoe_cat);vca(this.Pa)&&(this.adModule=!0,this.tc.push("ad"));if(b=a.adaptive_fmts)this.adaptiveFormats=b;b=a.atc;void 0!=b&&(this.Ai=b);if(b=a.license_info)this.jc=yca(b);if(b=a.allow_embed)this.allowEmbed="1"==b;if(b=a.backgroundable)this.backgroundable="1"==b;if(b=a.autonav)this.dl="1"==b;if(b=a.autoplay)this.Bj="1"==b;(b=a.iv_load_policy)?this.zf=tA(this.zf,b,NA):(b=pC(this.Pa))&&b.loadPolicy&&(this.zf=Mga[b.loadPolicy]);
if(b=a.cc_lang_pref)this.Bf=vA(b,this.Bf);if(b=a.cc_load_policy)this.Cf=tA(this.Cf,b,NA);if(b=a.cached_load)this.qn=sA(this.qn,b);"0"==a.dash&&(this.Cs=!0);if(b=a.dashmpd){this.gd=g.fh(b,{cpn:this.clientPlaybackNonce});b=/\/(s|ss)\/([^/?]+)/;var d=b.exec(this.gd);d&&(c="s"==d[1]?"signature":"sig",d=rz(d[2]),this.gd=this.gd.replace(b,"/"+c+"/"+d))}if(b=a.delay)this.we=Tb(b);if(b=a.drm_session_id)this.drmSessionId=b;b=a.end;void 0!=b&&(this.clipEnd=uA(this.clipEnd,b));a.fair_play_cert&&window.atob&&
(this.fairPlayCert=(0,window.atob)(a.fair_play_cert));a.wv_cert&&(this.Sj=ze(a.wv_cert));if(b=a.fmt_list)this.fmtList=b;a.fresca_preroll&&this.tc.push("fresca");a.heartbeat_preroll&&this.tc.push("heartbeat");if(b=a.idpj)this.Ah=Tb(b);if(b=a.ismb)this.ff=Tb(b);if(b=a.is_listed)this.isListed=sA(this.isListed,b);if(b=a.paid_content_overlay_duration_ms)this.Uw=Tb(b);if(b=a.paid_content_overlay_text)this.GK=b;if(b=a.url_encoded_fmt_stream_map)this.ni=b;if(b=a.hls_formats)this.hlsFormats=b;if(b=a.hlsvp)this.hlsvp=
b;if(b=a.length_seconds)this.lengthSeconds=g.v(b)?Tb(b):b;if(b=a.live_chunk_readahead)this.liveChunkReadahead=uA(this.liveChunkReadahead,b);if(b=a.live_start_walltime)this.liveStartWalltime=Tb(b);if(b=a.live_manifest_duration)this.Ho=Tb(b);if(b=a.ldpj)this.ej=Tb(b);if(b=a.player_params)this.playerParams=b;if(b=a.partnerid)this.ge=uA(this.ge,b);if(b=a.probe_url)this.probeUrl=jv(g.fh(b,{cpn:this.clientPlaybackNonce}));if(b=a.profile_picture)this.profilePicture=vA(b,this.profilePicture);(b=a.pyv_billable_url)&&
g.gv(b)&&(this.Yl=b);(b=a.pyv_conv_url)&&g.gv(b)&&(this.Zl=b);if(b=a.video_masthead_ad_quartile_urls)this.Oo=b.quartile_0_url,this.qu=b.quartile_25_url,this.ru=b.quartile_50_url,this.tu=b.quartile_75_url,this.pu=b.quartile_100_url;"1"==a.spacecast_playback&&(this.tc.push("spacecast"),this.spacecastModule=!0,this.Yg.playback=!0);if(c=a.spacecast_addrs)this.spacecastModule=!0,b={},b.addresses=c.split(","),b.probe=!0,(c=a.spacecast_query_params)&&(b.applianceQueryParams=c),this.Yg.init=b;0<this.startSeconds||
(this.sc=this.startSeconds=uA(this.startSeconds,a.start||a.startSeconds));b=a.live_utc_start;null!=b&&(this.liveUtcStartSeconds=(0,window.parseInt)(b,10));b=a.start;void 0==b||"1"==a.resume||this.pa||(this.clipStart=uA(this.clipStart,b));if(b=a.two_stage_token)this.gg=b;if(b=a.url_encoded_third_party_media)this.ki=$r(b);if(b=a.watch_ajax_token)this.watchAjaxToken=b;a.ypc_module&&this.tc.push("ypc");a.ypc_clickwrap_module&&this.tc.push("ypc_clickwrap");if(b=a.ypc_offer_button_formatted_text)b=g.Dq(b),
this.ypcOfferButtonFormattedText=null!=b?b:null;this.ne=vA(this.ne,a.ucid);(0,g.C)("baseUrl uid oeid ieid ppe engaged subscribed".split(" "),function(b){a[b]&&(this.Cd[b]=a[b])},this);
this.Cd.focEnabled=sA(this.Cd.focEnabled,a.focEnabled);this.Cd.rmktEnabled=sA(this.Cd.rmktEnabled,a.rmktEnabled);this.Hb=a;qC(this,a,!1);b=new dw(null,a.fflags);vC(this)?Cs()&&(this.pa&&this.gd?this.oh=!0:this.fairPlayCert&&(this.Ig=!0)):this.adaptiveFormats&&!this.pa?(zC(this,wz(BC(this,this.adaptiveFormats),this.jc,this.lengthSeconds,void 0,b)),tz(this.ka)&&(this.Ig=!0)):this.gd&&(this.oh=!0);this.Fs=g.S(b,"enable_spherical_kabuki");g.S(b,"tvhtml5_enable_oes_egl_image_external");if(b=a.adpings)this.Cr=
b?g.Zr(b):null;if(b=a.feature)this.Hj=b;if(b=a.referrer)this.referrer=b;if(b=a.multifeed_metadata_list)this.ng=$r(b);this.clientScreenNonce=vA(this.clientScreenNonce,a.csn);this.rootVeType=uA(this.rootVeType,a.root_ve_type);this.ll=uA(this.ll,a.kids_age_up_mode);this.Km=sA(this.Km,a.upg_content_filter_mode);if(b=a.unplugged_location_info)this.Lc=b;if(b=a.unplugged_partner_opt_out)this.li=vA("",b);if(b=a.partial_spherical)this.Yt="1"==b;this.aj=vA(this.aj,a.internal_ip_override);this.hasSubfragmentedFmp4=
sA(this.hasSubfragmentedFmp4,a.sfmp4);this.defraggedFromSubfragments=sA(this.defraggedFromSubfragments,a.dfs);this.liveExperimentalContentId=uA(this.liveExperimentalContentId,a.live_experimental_content_id);if(this.Pa){if(b=this.Pa.videoDetails){if(c=b.videoId)this.videoId=c;if(b=b.musicVideoType)this.musicVideoType=b}if(b=this.Pa.interstitialPods)for(b=g.p(b),c=b.next();!c.done;c=b.next())switch(c=c.value,d=c.interstitials.map(function(a){return(a=a.playerVars)&&Object.assign({is_yto_interstitial:!0},
g.Zr(a))}),c.podConfig.playbackPlacement){case "INTERSTITIAL_PLAYBACK_PLACEMENT_PRE":this.Ej=this.Ej.concat(d);
break;case "INTERSTITIAL_PLAYBACK_PLACEMENT_POST":this.Dj=this.Dj.concat(d)}}(this.Ej.length||this.Dj.length||a.is_yto_interstitial)&&this.tc.push("yto")};
g.h.zc=function(){return!this.pa||this.Qe};
g.h.aC=function(a){if(this.Hg=a)switch(a.flavor){case "fairplay":a.fairPlayCert=this.fairPlayCert;break;case "widevine":a.Sj=this.Sj}xC(this)};
g.h.uH=function(a){if(!this.ga()){if(this.zm){var b=Dz(a,this.zm);b&&(a=b)}zC(this,a);this.ka.o&&this.ka.subscribe("refresh",this.qw,this);(0,g.dE)("mrc");tz(this.ka)&&(this.Ig=!0);xC(this)}};
g.h.tH=function(a){this.ga()||(this.Ee=!1,this.P("dataloaderror",new g.dB("manifest.net.retryexhausted",!0,{backend:"manifest",rc:a.status})))};
g.h.qw=function(){this.ga()||(this.ka.o||this.ka.unsubscribe("refresh",this.qw,this),this.Ur())};
g.h.Ur=function(){var a=this.ka;var b=this.Fo;a=a.B?g.fb(a.B.A,b):a.R.length?g.fb(a.R,b):[];0<a.length&&(this.P("cuepointupdated",a),this.Fo+=a.length)};
g.h.mC=function(a){if(this.spacecastFormatMap){var b=BC(this,this.spacecastFormatMap);return lB(a,this.isAd(),b,CC(this,a)).then(this.sm,void 0,this).then(this.Ms,void 0,this)}return Ps()};
g.h.jC=function(a,b){var c=b||vC(this);if(this.ka&&!c){if(c=!a.deviceHasDisplay||this.Rj&&a.Xa){var d=this.ka,e=this.pa;if(!d.g["0"]){var f=new Qv(0,0,0,void 0,void 0,"auto");f=new Vv("0","fakesb",void 0,f,null,null,1);d.g["0"]=e?new Xy(new g.Ay("http://www.youtube.com/videoplayback"),f,"fake"):new g.mz(new g.Ay("http://www.youtube.com/videoplayback"),f,new g.Mx(0,0),new g.Mx(0,0),0,window.NaN)}}d=this.Qm&&a.Xa;return aA(a.T,this.ka,this.Hg,!1,Uba(a),c,d).then(this.tm,void 0,this)}return Ps()};
g.h.kC=function(a){if(this.hlsFormats){var b=BC(this,this.hlsFormats);if(!g.S(a.experiments,"html5_hls_select_audio_killswitch")){var c;if(Gw||Gs()||Cs())if(c=fB(b)){var d=[],e={},f;for(f in c)for(var k=g.p(c[f]),l=k.next();!l.done;l=k.next()){var m=l.value;m.ab&&(l=m.ab.getId(),e[l]||(m=new Mv(l,m.ab),e[l]=m,d.push(m)))}c=0<d.length?d:null}else c=null;else c=null;this.Zk=c}c=g.S(a.experiments,"html5_hls_cpn_killswitch")?"":this.clientPlaybackNonce;return $ba(a,this.isAd(),b,this.ff,c).then(this.sm,
void 0,this)}return Ps()};
g.h.nC=function(a){if(this.ki&&this.au){var b=this.isAd(),c=aca(this.ki);a=Xw(c,TA(a,b)).then(this.sm,void 0,this)}else a=Ps();return a};
g.h.lC=function(a){var b=BC(this,this.ni,this.fmtList);if(this.hlsvp){var c=this.hlsvp;var d=this.ff,e={cpn:this.clientPlaybackNonce};-1==c.indexOf("/ibw/")&&(e.ibw=d?String(d):"1369843");c={url:g.fh(c,e),type:"application/x-mpegURL",quality:"auto",itag:"93"};b.push(c)}return lB(a,this.isAd(),b,CC(this,a)).then(this.sm,void 0,this)};
g.h.tm=function(a){this.sa=a;a=this.getAvailableAudioTracks();a=a.concat(this.sg);for(var b=0;b<this.Fi.length;b++)for(var c=this.Fi[b],d=0;d<a.length;d++){var e=a[d],f=e.ab.id==c.audioTrackId;if(e.ab.isDefault&&b==this.sn||f){if(c.captionTrackIndices)for(f=0;f<c.captionTrackIndices.length;f++)e.captionTracks[f]=this.captionTracks[c.captionTrackIndices[f]];g.t(c.defaultCaptionTrackIndex)&&(e.Fn=this.captionTracks[c.defaultCaptionTrackIndex]);g.t(c.forcedCaptionTrackIndex)&&(e.Lk=this.captionTracks[c.forcedCaptionTrackIndex]);
e.un=c.visibility||"UNKNOWN"}}};
g.h.sm=function(a){this.ie=a;this.tm(new Uz((0,g.E)(this.ie,function(a){return a.ze()})))};
g.h.Ms=function(){var a=xk(this.sa.videoInfos,function(a,c){return c.video.isAccelerated&&(!a||a.height<c.video.height)?c.video:a},null);
a&&(this.pn=$w(a.quality,a.quality,!0,"c"))};
g.h.Tc=function(){var a={};this.xa&&(a.fmt=Uv(this.xa),this.Ib&&Uv(this.Ib)!=Uv(this.xa)&&(a.afmt=Uv(this.Ib)));a.plid=this.playbackId;a.ei=this.eventId;a.list=this.playlistId;a.cpn=this.clientPlaybackNonce;this.videoId&&(a.v=this.videoId);this.gk&&(a.infringe=1);this.Rf&&(a.splay=1);this.pa&&(a.live=this.Qe?"dvr":"live");this.Bj&&(a.autoplay=1);this.hm&&(a.sdetail=this.hm);this.ge&&(a.partnerid=this.ge);this.osid&&(a.osid=this.osid);return a};
g.h.getStoryboardFormat=function(){if(this.Pa&&this.Pa.storyboards){var a=this.Pa.storyboards;return(a=a.playerStoryboardSpecRenderer||a.playerLiveStoryboardSpecRenderer)&&a.spec||null}return this.Hb.storyboard_spec||this.Hb.live_storyboard_spec||null};
g.h.Dc=function(){return this.ka&&!(0,window.isNaN)(this.ka.Dc())?this.ka.Dc():sC(this)?0:this.lengthSeconds};
g.h.rb=function(){return this.ka&&!(0,window.isNaN)(this.ka.rb())?this.ka.rb():0};
g.h.Uc=function(){return!this.ga()&&!(!this.videoId&&!this.ki)};
g.h.Fb=function(){return JC(this)&&!this.oh&&!this.Ig};
g.h.Ox=function(){var a={format:"RAW",method:"GET",withCredentials:this.Ax};this.fi&&this.visitorData&&(a.headers={"X-Goog-Visitor-Id":this.visitorData});0<this.Xn&&(a.timeout=this.Xn);var b=this.Yn;0<this.pm&&(b=g.ds(b,{playerretry:this.pm}));this.Yh&&(b=g.ds(b,{preload:1}));this.jt?oz(Ms,b,a).then(Qr(this.xw),Qr(this.LH),this):(a.context=this,a.onSuccess=this.xw,a.onError=this.mo,g.ms(b,a));(0,g.dE)("vir");dC("vir");this.it=g.P()};
g.h.oc=function(a,b){if(30==this.ge){var c=this.eg["default.jpg"];return c?c:this.videoId?g.fh("//docs.google.com/vt",{id:this.videoId,authuser:this.hc,authkey:this.authKey}):"//docs.google.com/images/doclist/cleardot.gif"}b||(b="hqdefault.jpg");return(c=this.eg[b])||a.F||"pop1.jpg"==b||"pop2.jpg"==b||"sddefault.jpg"==b||"hq720.jpg"==b||"maxresdefault.jpg"==b?c:WA(a,this.videoId,b)};
g.h.xw=function(a){if(!this.ga()){var b=a.responseText;if(b){this.Ee=!1;var c=g.Zr(b);this.Ut&&nB(c);"fail"==c.status?(this.Tx&&this.setData(c),this.P("onStatusFail",c)):((0,g.dE)("virc"),dC("virc"),(0,g.C)(g.pX,function(a){a in this.Hb&&(c[a]=this.Hb[a])},this),this.setData(c),JC(this)?xC(this):this.P("dataloaderror",new g.dB("manifest.net.retryexhausted",!0,{successButUnplayable:"1"})))}else this.mo(a)}};
g.h.LH=function(a){this.mo(a.g)};
g.h.mo=function(a){if(!this.ga()){var b=a?a.status:-1;a=this.pm>=this.kq||400==b;var c=200<b?"manifest.net.badstatus":"manifest.net.connect",d=((g.P()-this.it)/1E3).toFixed(3);b={backend:"gvi",rc:b,rt:d};a&&this.kq?(c="manifest.net.retryexhausted",b.urllen=String(this.Yn.length)):a||(this.pm++,this.Nx.start());this.P("dataloaderror",new g.dB(c,a,b))}};
g.h.getAvailableAudioTracks=function(){return this.sa?0<this.sa.getAvailableAudioTracks().length?this.sa.getAvailableAudioTracks():this.Zk||[]:[]};
g.h.getAudioTrack=function(){var a=this;if(this.Ib&&!Zv(this.Ib))return g.Ra(this.getAvailableAudioTracks(),function(b){return b.id==a.Ib.id})||this.sg;
if(this.Zk){if(!this.Ij)for(var b=g.p(this.Zk),c=b.next();!c.done;c=b.next())if(c=c.value,c.ab.isDefault){this.Ij=c;break}return this.Ij||this.sg}return this.sg};
g.h.getPlayerResponse=function(){return this.Pa};
g.h.getPlaylistId=function(){return null};
g.h.sb=function(){return this};
g.h.Si=function(a){return a.getVideoUrl(this.videoId)};
g.h.Xd=function(){return!!this.ka&&this.ka.Xd()};
g.h.Yd=function(){return!!this.ka&&this.ka.Yd()};
g.h.Hd=function(){return!!this.ka&&this.ka.Hd()};
g.h.Cg=function(){return!!this.ka&&this.ka.Cg()};
g.h.isAd=function(){return!!this.adFormat};
g.pX="oauth_token ypc_buy_url ypc_full_video_message ypc_item_thumbnail ypc_item_title ypc_item_url ypc_module ypc_offer_button_text ypc_offer_button_formatted_text ypc_offer_description ypc_offer_headline ypc_offer_id ypc_offer_type ypc_overlay_timeout ypc_preview ypc_signin_message ypc_vid".split(" ");uca="author cc_asr cc_load_policy iv_load_policy iv_new_window keywords oauth_token requires_purchase rvs subscribed title ttsurl ypc_buy_url ypc_full_video_length ypc_item_thumbnail ypc_item_title ypc_item_url ypc_offer_button_text ypc_offer_button_formatted_text ypc_offer_description ypc_offer_headline ypc_offer_id ypc_preview ypc_price_string ypc_video_rental_bar_text".split(" ");
oC=["annotations","captions","storyboard","chapterMarkers"];WC.prototype.isEmpty=function(){return this.endTime==this.startTime};YC.prototype.update=function(){var a=this.l.l()||0,b=g.cD(this.l);if(a!=this.g||bD(this,a,b)){var c;if(!(c=a<this.g||a-this.g>b-this.C+2||bD(this,a,b))){var d=this.l.Tc();c=d.volume;var e=c!=this.J;d=d.muted;d!=this.I?(this.I=d,c=!0):(!e||0<=this.B||(this.J=c,this.B=b),c=b-this.B,0<=this.B&&2<c?(this.B=-1,c=!0):c=!1)}c&&(g.ZC(this),this.o=a);this.C=b;this.g=a}};var eD={other:1,none:2,wifi:3,cellular:7};g.NI=g.Lf(function(){var a="";try{var b=g.Td("CANVAS").getContext("webgl");b&&(b.getExtension("WEBGL_debug_renderer_info"),a=b.getParameter(37446),a=a.replace(/[ :]/g,"_"))}catch(c){}return a});var Yda={gM:"YTP_ERROR_ALREADY_PINNED_ON_A_DEVICE",AUTHENTICATION_EXPIRED:"ERROR_AUTHENTICATION_EXPIRED",iM:"ERROR_AUTHENTICATION_MALFORMED",jM:"ERROR_AUTHENTICATION_MISSING",mM:"ERROR_BAD_REQUEST",AM:"ERROR_CGI_PARAMS_MALFORMED",BM:"ERROR_CGI_PARAMS_MISSING",NM:"YTP_DEVICE_FALLBACK",TM:"YTP_ERROR_LICENSE",UM:"YTP_ERROR_VIDEO_UNAVAILABLE",YM:"YTP_ERROR_FORMAT_UNAVALIABLE",aN:"YTP_ERROR_GEO_FAILURE",nN:"YTP_ERROR_GENERIC_WITHOUT_LINK",oN:"YTP_HTML5_FLASH_DEPRECATED",pN:"YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK",
wN:"YTP_ERROR_INVALID_DRM_MESSAGE",iO:"YTP_ERROR_PURCHASE_NOT_FOUND",jO:"YTP_ERROR_PURCHASE_REFUNDED",mO:"YTP_ERROR_RENTAL_EXPIRED",vM:"YTP_ERROR_CAST_SESSION_DEVICE_MISMATCHED",wM:"YTP_ERROR_CAST_SESSION_VIDEO_MISMATCHED",yM:"YTP_ERROR_CAST_TOKEN_FAILED",xM:"YTP_ERROR_CAST_TOKEN_EXPIRED",zM:"YTP_ERROR_CAST_TOKEN_MALFORMED",qO:"YTP_ERROR_SERVER_ERROR",zO:"YTP_ERROR_STOPPED_BY_ANOTHER_PLAYBACK",CO:"YTP_ERROR_STREAM_LICENSE_NOT_FOUND",AO:"YTP_ERROR_STREAMING_DEVICES_QUOTA_PER_24H_EXCEEDED",BO:"YTP_ERROR_STREAMING_NOT_ALLOWED",
oO:"YTP_ERROR_RETRYABLE_ERROR",JO:"YTP_ERROR_TOO_MANY_STREAMS_PER_USER",IO:"YTP_ERROR_TOO_MANY_STREAMS_PER_ENTITLEMENT",NO:"YTP_ERROR_UNSUPPORTED_DEVICE",PO:"YTP_ERROR_VIDEO_FORBIDDEN",QO:"YTP_ERROR_VIDEO_NOT_FOUND"},Dca={300:"YTP_ERROR_STREAMING_DEVICES_QUOTA_PER_24H_EXCEEDED",301:"YTP_ERROR_ALREADY_PINNED_ON_A_DEVICE",303:"YTP_ERROR_STOPPED_BY_ANOTHER_PLAYBACK",304:"YTP_ERROR_TOO_MANY_STREAMS_PER_USER",305:"YTP_ERROR_TOO_MANY_STREAMS_PER_ENTITLEMENT",400:"YTP_ERROR_VIDEO_NOT_FOUND",401:"YTP_ERROR_GEO_FAILURE",
402:"YTP_ERROR_STREAMING_NOT_ALLOWED",403:"YTP_ERROR_UNSUPPORTED_DEVICE",405:"YTP_ERROR_VIDEO_FORBIDDEN",500:"YTP_ERROR_PURCHASE_NOT_FOUND",501:"YTP_ERROR_RENTAL_EXPIRED",502:"YTP_ERROR_PURCHASE_REFUNDED",5E3:"ERROR_BAD_REQUEST",5001:"ERROR_CGI_PARAMS_MISSING",5002:"ERROR_CGI_PARAMS_MALFORMED",5100:"ERROR_AUTHENTICATION_MISSING",5101:"ERROR_AUTHENTICATION_MALFORMED",5102:"ERROR_AUTHENTICATION_EXPIRED",5200:"YTP_ERROR_CAST_TOKEN_MALFORMED",5201:"YTP_ERROR_CAST_TOKEN_EXPIRED",5202:"YTP_ERROR_CAST_TOKEN_FAILED",
5203:"YTP_ERROR_CAST_SESSION_VIDEO_MISMATCHED",5204:"YTP_ERROR_CAST_SESSION_DEVICE_MISMATCHED",6E3:"YTP_ERROR_INVALID_DRM_MESSAGE",7E3:"YTP_ERROR_SERVER_ERROR",8E3:"YTP_ERROR_RETRYABLE_ERROR"};var Nga=AR&&4>BR?.1:0,Nfa=new hD;hD.prototype.g=null;hD.prototype.pe=function(a){var b="";a&&(iD(this,a),b=a.g);this.src&&""==b||(b&&this.src!=b&&(this.src=b),a&&a.l||this.load())};
hD.prototype.getCurrentTime=function(){return this.currentTime||0};
hD.prototype.l=function(){this.hasAttribute("controls")&&this.setAttribute("controls","true")};g.r(jD,g.G);g.h=jD.prototype;g.h.vl=function(){return this.o};
g.h.pe=function(a){var b="";a&&(lD(this,a),b=a.g);this.Ec()&&""==b||(b&&this.Ec()!=b&&(this.xl(b),this.A&&(this.A.dispose(),this.A=null)),a&&a.l||this.load(),this.G||(this.addEventListener("volumechange",this.Xr),this.G=!0))};
g.h.Xl=function(){if(!this.A||this.A.ga()){var a=this.ha();a=window.MediaSource?new window.MediaSource:window.WebKitMediaSource?new window.WebKitMediaSource:new gw(a);a=new xw(a);this.pe(a.No);this.A=a}};
g.h.Pk=function(){this.Xl();var a=this.A;this.A=null;return a};
g.h.Gb=function(){this.Dg()&&this.ob(0);!this.Ec()&&this.o&&(g.N(Error("playVideo without src")),this.xl(this.o.g),this.o.l||this.load());var a=this.play();!a&&AR&&7<=BR&&g.Dt(this,"playing",(0,g.A)(function(){g.Vr((0,g.A)(this.Qs,this,this.getCurrentTime(),0),500)},this));
return a};
g.h.Qs=function(a,b){this.Lg()||this.getCurrentTime()>a||10<b||(this.play(),g.Vr((0,g.A)(this.Qs,this,this.getCurrentTime(),b+1),500))};
g.h.ob=function(a){0<this.kd()&&(AR&&4>BR&&(a=Math.max(.1,a)),this.gi(a))};
g.h.sd=function(){!this.A&&this.Ec()&&(Gw&&0<this.getCurrentTime()&&this.ob(0),this.hq(),this.load(),lD(this,null))};
g.h.Ih=function(){return{vct:this.getCurrentTime().toFixed(3),vd:this.Tb().toFixed(3),vpl:kw(this.Pi()),vbu:kw(this.ye()),vpa:""+ +this.Lg(),vsk:""+ +this.kl(),ven:""+ +this.Dg(),vpr:""+this.Ub(),vrs:""+this.kd(),vns:""+this.Rk(),vec:""+this.jf(),vvol:""+this.Bb()}};
g.h.addEventListener=function(a,b){this.C.da(a,b,!1,this);this.Jn(a)};
g.h.removeEventListener=function(a,b){this.C.Na(a,b,!1,this)};
g.h.dispatchEvent=function(a){return this.C.dispatchEvent(a)};
g.h.In=function(){this.F=!1};
g.h.Gn=function(){this.F=!0;this.Lh(!0)};
g.h.Xr=function(){this.F&&!this.ul()&&this.Lh(!0)};
g.h.U=function(){this.G&&this.removeEventListener("volumechange",this.Xr);g.G.prototype.U.call(this)};g.r(qD,g.bf);qD.prototype.preventDefault=function(){g.bf.prototype.preventDefault.call(this);this.g&&this.g.preventDefault()};
qD.prototype.stopPropagation=function(){g.bf.prototype.stopPropagation.call(this);this.g&&this.g.stopPropagation()};g.tD.prototype.isError=function(){return g.U(this,128)};g.r(HD,g.G);
HD.prototype.B=function(a){if(!this.ga()&&(a=0<=a?a:g.cD(this.g),-1<["PL","B","S"].indexOf(this.o)&&(!g.lc(this.l)||a>=this.A+30)&&(g.GD(this,a,"vps",[this.o]),this.A=a),!g.lc(this.l))){KD(this,a);var b=a,c=this.g.F(),d=c.droppedVideoFrames,e=d-this.ca;if(d>c.totalVideoFrames||5E3<e)this.onError("html5.badframedropcount","df."+d+";tf."+c.totalVideoFrames);else 0<e&&g.GD(this,b,"df",[e]);this.ca=d;!g.S(this.g.g.experiments,"disable_webgl_reporting")&&0<this.C&&(g.GD(this,a,"glf",[this.C]),this.C=0);
a={event:"streamingstats"};this.g.videoData.xa&&(a.fmt=Uv(this.g.videoData.xa),(b=this.g.videoData.Ib)&&Uv(b)!=a.fmt&&(a.afmt=Uv(b)));a.cpn=this.g.videoData.clientPlaybackNonce;a.ei=this.g.videoData.eventId;a.el=PC(this.g.videoData,this.g.g);a.docid=this.g.videoData.videoId;a.ns=this.g.g.ca;a.fexp=this.g.g.experiments.experimentIds.toString();a.cl="202552344";this.g.videoData.adFormat&&(a.adformat=this.g.videoData.adFormat);this.g.videoData.pa&&(a.live=this.g.videoData.Qe?"dvr":"live");a.seq=this.J++;
if(!g.S(this.g.g.experiments,"html5_prevent_qoe_spam_killswitch")&&(7E3==this.J&&g.N(Error("Sent over 7000 pings"),"WARNING"),7E3<=this.J))return;g.tc(a,this.g.g.o);b=g.fh("//"+this.g.g.yf+"/api/stats/qoe",a);a=c="";for(var f in this.l)null==this.l[f]?g.N(Error("Stats report key has invalid value: "+f),"WARNING"):(d="&"+f+"="+this.l[f].join(","),100<d.length?a+=d:c+=d);f=b+c;a=a.replace(/ /g,"%20");b=this.g.videoData.oauthToken||this.g.g.R;c=this.g.videoData.visitorData;d=b&&fs();e=c&&this.g.g.Ea;
if(d||e){var k={};d&&(k.Authorization="Bearer "+b);e&&(k["X-Goog-Visitor-Id"]=c);g.ms(f,{headers:k,withCredentials:!0,method:"POST",postBody:a})}else Js(f,void 0,a);this.l={}}};
HD.prototype.ra=function(){if(this.g.videoData.Hg){var a=this.g.videoData.Hg;ND(this,"drm-"+a.flavor);ND(this,"eme-"+(a.l?"final":Nz(a)?"ms":"com.youtube.fairplay"==a.g?"ytfp":Rz(a)?"safarifp":"nonfinal"))}};
HD.prototype.onError=function(a,b){var c=g.cD(this.g);MD(this,c,a,b);KD(this,c);LD(this)};
HD.prototype.U=function(){g.G.prototype.U.call(this);window.clearInterval(this.X)};
var qX={},Fca=(qX[5]="N",qX[-1]="N",qX[3]="B",qX[0]="EN",qX[2]="PA",qX[1]="PL",qX);OD.prototype.send=function(a){if(!this.T){var b=QD(this);b=g.fh(this.Za,b);if(this.F)this.J&&(a={method:"POST",fb:{atr:this.J}},this.fi&&this.visitorData&&(a.headers={"X-Goog-Visitor-Id":this.visitorData}),g.ms(b,a));else{if(this.F)var c=null;else{c=this.I&&fs();var d=this.fi&&!!this.visitorData;if(c||d){var e={};c&&(e.Authorization="Bearer "+this.I);d&&(e["X-Goog-Visitor-Id"]=this.visitorData);c={headers:e,withCredentials:!0,Jc:a}}else c=null}c?g.ms(b,c):g.Is(b,a)}this.T=!0}};
OD.prototype.g=function(a){void 0==a&&(a=window.NaN);return(1*a.toFixed(3)).toString()};g.r(SD,g.G);SD.prototype.ea=function(a,b){if(!this.ga()){this.F=window.NaN;this.o.update();var c=aD(this.o),d=VD(this,c);b&&(d.B=a);var e=400<this.L;!(1<c.length)&&c[0].isEmpty()||e||(d.l=TD(this,!0,a));d.send();this.L++}};
SD.prototype.onError=function(a,b){if(!this.ga())this.l.onError(a,b)};
SD.prototype.G=function(a){var b=this.g.g,c=this.g.videoData,d={ns:b.ca,el:PC(c,b),eurl:b.va,fmt:c.xa?Uv(c.xa):0,html5:1,list:c.playlistId,plid:c.playbackId,cpn:c.clientPlaybackNonce,ei:c.eventId,ps:b.playerStyle,noflv:1,st:this.g.l(),video_id:c.videoId,metric:a};SC(c,b)&&(d.autoplay="1");"heartbeat"==a&&(d.tpmt=$C(this.o));g.Ma(d,b.o);XD(this,g.fh(g.S(b.experiments,"cardio_base_url_killswitch")?(b.l?b.protocol+"://www.youtube.com/":b.baseYtUrl)+"live_204":b.baseYtUrl+"live_204",d))};
SD.prototype.U=function(){g.G.prototype.U.call(this);g.Xr(this.F);this.F=window.NaN;var a=this.o;window.clearInterval(a.F);a.F=window.NaN;g.Xr(this.A)};g.rX={"default":0,monoSerif:1,propSerif:2,monoSans:3,propSans:4,casual:5,cursive:6,smallCaps:7};g.Oga=Object.keys(g.rX).reduce(function(a,b){a[g.rX[b]]=b;return a},{});
g.sX={none:0,raised:1,depressed:2,uniform:3,dropShadow:4};g.Pga=Object.keys(g.sX).reduce(function(a,b){a[g.sX[b]]=b;return a},{});
g.tX={normal:0,bold:1,italic:2,bold_italic:3};g.Qga=Object.keys(g.tX).reduce(function(a,b){a[g.tX[b]]=b;return a},{});g.r(bE,zv);g.h=bE.prototype;g.h.Da=function(){return VJ(this.app)};
g.h.Lu=function(a,b,c,d,e){return jW(this.app,a,b,c,d,e)};
g.h.LD=function(a,b,c){this.app.g.G.add(a,{sk:b,Bq:c})};
g.h.np=function(a,b){dW(this.app,a,b||this.playerType)};
g.h.td=function(a){return RV(this.app,a)};
g.h.Ph=function(a,b,c,d){$V(this.app,a,c||this.playerType,b,d)};
g.h.pj=function(a,b,c){c=void 0===c?window.NaN:c;var d=this.app;b=b||this.playerType;b=void 0===b?1:b;c=void 0===c?window.NaN:c;var e=xA(a);d.Ma.get(b+e)||d.F&&d.F.getVideoData().videoId==e||(d.g.Zb&&nB(a),a=new g.nC(a),e=c,a.Yh=!0,c=vV(d,b),JI(c,a,(0,g.A)(d.Tc,d)),!g.S(d.g.experiments,"unplugged_tvhtml5_video_preload_no_dryrun")&&1==b&&"TVHTML5_UNPLUGGED"==d.g.o.c||OI(c,!0),g.S(d.g.experiments,"html5_expire_preloaded_players")&&!e&&(e=3600),d.Ma.set(b+a.videoId,c,e),c="prefetch_"+a.videoId,YB("prefetch",
["pfp"],void 0,c),(0,g.eE)("docid",a.videoId,c),(0,g.eE)("plt",b,c),(0,g.eE)("c",d.g.o.c,c),(0,g.eE)("cver",d.g.o.cver,c))};
g.h.Oh=function(a,b){hW(this.app,a,b)};
g.h.nj=function(a){iW(this.app,a)};
g.h.Ld=function(a,b,c){rW(this.app,this.app.getCurrentTime()+a,b,c,this.playerType)};
g.h.oE=function(a){if(a){var b=this.getPlaylistId();if(!b||b==a.list){var c=a.video;(b=this.app.C)?this.isFullscreen()&&((c=c[b.Oa])&&c.encrypted_id!=b.sb().videoId||(a.index=b.Oa)):CV(this.app,{list:a.list,index:a.index,playlist_length:c.length});qE(this.app.C,a);this.ma("onPlaylistUpdate")}}else a=this.app,DV(a),a.l.ma("onPlaylistUpdate")};
g.h.nE=function(){pu()};
g.h.pE=function(a,b){var c=g.W(this.app,this.playerType||1);c&&c.getVideoData().tf(a,b)};
g.h.getPlayerResponse=function(){var a=g.W(this.app,this.playerType);return a?a.getVideoData().getPlayerResponse():null};
g.h.getStoryboardFormat=function(){return this.app.getVideoData().getStoryboardFormat()};
g.h.SD=function(a,b){var c=g.HC(this.app.getVideoData());if(!c)return null;c=c.g[b];return c?(c=g.pB(c,a))?{column:c.column,columns:c.columns,height:c.height,row:c.row,rows:c.rows,url:c.url,width:c.width}:null:null};
g.h.TD=function(a,b){var c=g.HC(this.app.getVideoData());return c?(c=c.g[b])?c.Th(a):-1:-1};
g.h.UD=function(a){var b=g.HC(this.app.getVideoData());return b?(b=b.g[a])?{index:a,intervalMs:b.g,maxFrameIndex:b.Uh(),minFrameIndex:b.Jl()}:null:null};
g.h.QD=function(){var a=g.HC(this.app.getVideoData());return a?a.g.length:0};
g.h.OD=function(){var a=this.app.g;return{Zb:a.Zb,Xa:a.Xa}};
g.h.getVideoData=function(){var a=zv.prototype.getVideoData.call(this),b=g.W(this.app,this.playerType);b&&(b=b.getVideoData(),a.backgroundable=b.backgroundable,a.eventId=b.eventId,a.cpn=b.clientPlaybackNonce,a.hasVideoContentProtection=!!g.DC(b),a.isLive=b.pa,a.itct=b.Bh,a.paidContentOverlayText=EC(b),a.paidContentOverlayDurationMs=FC(b),null!=b.liveUtcStartSeconds&&(a.liveUtcStartSeconds=b.liveUtcStartSeconds));return a};
g.h.getCurrentTime=function(a){return a?this.app.getCurrentTime(a):zv.prototype.getCurrentTime.call(this)};
g.h.Tb=function(a){return a?OV(this.app,a):zv.prototype.Tb.call(this)};
g.h.Uf=function(a){if(3==this.Da())return g.WJ(this.app.A).GE();var b=this.app.getVideoData(),c=g.W(this.app,a)||g.W(this.app),d=this.app.zc(),e=b.clipEnd;b=b.clipStart;var f=this.getCurrentTime(a);a=this.Tb(a);var k=DJ(c),l=gJ(c),m=g.W(this.app,void 0);if(m){var n=window.NaN;m.l&&(n=nD(m.l));m=0<=n?n:m.getCurrentTime()}else m=0;return{allowSeeking:d,clipEnd:e,clipStart:b,current:f,displayedStart:-1,duration:a,ingestionTime:k,isPeggedToLive:l,loaded:m,seekableEnd:EJ(c),seekableStart:c.rb()}};
g.h.kp=function(a){return AV(this.app,a)};
g.h.jj=function(a){return yV(a)};
g.h.Wu=function(a,b){var c=g.W(this.app,this.playerType);if(c){var d=$w(a,b||a,!0,"m");c.g.Pj=d;a:{var e=c.g;if(e.sa){if(!g.S(c.R.g.experiments,"html5_appletv_quality_selection_killswitch")&&!e.sa.g)break a;var f=g.Pv[Vu()];e=e.sa.videoInfos[0].video.g;if(f>e&&0!=e&&d.g==e)break a}g.Pu("yt-player-quality",dx(d),2592E3)}lJ(c,"m")}};
g.h.ND=function(){var a=this.app.getVideoData();var b=this.app.getCurrentTime();if(a.ka&&a.xa){var c=a.ka.g[a.xa.id];c&&c.index?(a=c.index.Ze(b),c=c.index.Wc(a),b={sequence:a,elapsed:Math.floor(1E3*(b-c))}):b=null}else b=null;return b};
g.h.He=function(a){var b=this.app,c=g.W(b,this.playerType);c&&b.g.Ya.has(a.toString())&&c.C&&(b=UD(c.C,"engage"),b.C=a,b.send(void 0))};
g.h.qj=function(a,b,c){var d=this.app.A.A;d&&d.ij()&&d.Wo(a,b,c)};
g.h.XD=function(a,b){var c=g.Hv(this);c&&c.bp(a,b)};
g.h.getAudioTrack=function(){var a=g.W(this.app,this.playerType);return a?a.getAudioTrack():this.app.getVideoData().sg};
g.h.qp=function(a){3==this.Da()&&g.WJ(this.app.A).rj("control_set_audio_track",a);var b=g.W(this.app,this.playerType);if(b&&!b.ga()&&!g.U(b.o,128))if(b.g.sa.g){if(b=b.B,!b.ga()){var c=b.F;a=a.id;c.I="m";c.A=c.C.g[a];c.L=c.A;b.P("audioformatchange",new rE(c.L,c.o,c.I));b.P("reattachrequired")}}else{a:if(c=b.g,c.Ib&&!Zv(c.Ib)||a==c.Ij||!c.ie||0>=c.ie.length)c=!1;else{for(var d=g.p(c.ie),e=d.next();!e.done;e=d.next()){e=e.value;if(!(e instanceof iB)){c=!1;break a}var f=a.ab.getId();e.o&&(e.o.l=f,e.l=
null)}c.Ij=a;c=!0}c&&(b.P("internalaudioformatchange",b.g,!0),hJ(b)&&b.Wa("hlsaudio",a.id))}};
g.h.getAvailableAudioTracks=function(){return g.W(this.app,this.playerType).getAvailableAudioTracks()};
g.h.PD=function(){var a=g.W(this.app,this.playerType);return a&&a.getVideoData().xa?dx(ZI(a,"html5_optimality_migration")?UH(a.R,a.g,$I(a)):ZH(a.R,a.g)):"unknown"};
g.h.VD=function(){var a=g.W(this.app,this.playerType);return a?g.S(a.A.experiments,"html5_appletv_quality_selection_killswitch")||!a.g.sa||a.g.sa.g?Vu():dx(a.g.Pj):"auto"};
g.h.iE=function(a,b){var c=this.app;c.nd=a;c.yb=b;c.l.P("sizestylechange",a,b);c.G.ce()};
g.h.MD=function(){var a=this.app.A.I;a&&a.PA()};
g.h.Xu=function(){var a=g.Hv(this);a&&a.tl(!0)};
g.h.Vu=function(){var a=g.Hv(this);a&&a.tl(!1)};
g.h.kf=function(){var a=this.app.g;a=this.app.I.g&&!g.S(a.experiments,"kevlar_miniplayer_disable_vis");var b=this.Kg(),c=this.isFullscreen()||JA(this.app.g);return b?4:mI()?3:c?2:a?1:this.app.I.l?5:0};
g.h.isFullscreen=function(){return this.app.isFullscreen()};
g.h.ZD=function(){return this.app.I.l};
g.h.Kg=function(){var a=g.W(this.app,this.playerType);return!!a&&GJ(a)};
g.h.mE=function(){return!0};
g.h.Uu=function(a){a=g.uM(this.app.G,a);return{left:a.left,top:a.top,width:a.width,height:a.height}};
g.h.hE=function(a){this.app.g.enableSafetyMode=a};
g.h.lE=function(a){if(this.app.g.ib!=a){this.app.g.ib=a;var b=g.W(this.app,this.playerType);b&&lJ(b,a?"e":"a")}};
g.h.cE=function(a){it();oW(this.app,a?2:0)};
g.h.mp=function(){var a=this.app.A.B;a&&a.created&&(a.unload(),a.created=!1);(a=g.W(this.app))&&AJ(a);(a=this.app.A.J)&&a.UB()&&g.UJ(this.app.N,!0)};
g.h.sd=function(){var a=this.app.g;!g.S(a.experiments,"disable_new_pause_state3")&&YA(a)&&"blazer"!=a.playerStyle?this.mp():zv.prototype.sd.call(this)};
g.h.kt=function(){return FJ(g.W(this.app,this.playerType),!0)};
g.h.Bl=function(a){this.app.A.l.Iq(a,!0)};
g.h.Og=function(){var a=this.app.A.l;return a?a.Tn():null};
g.h.pp=function(){this.app.A.l.Dx()};
g.h.YD=function(){var a=g.W(this.app,this.playerType);if(!a)return!1;a=a.getVideoData();return!!a&&a.Uc()&&!!a.xa&&a.xa.video.isAccelerated&&a.xa.video.o};
g.h.isPeggedToLive=function(a){return this.app.isPeggedToLive(void 0===a?!0:a)};
g.h.gE=function(a){var b=this.app,c=b.I;c.g!=a&&(c.g=a,c.A());a=b.A;(a=g.V(a.g).useMiniplayerUi?a.ea:null)&&(b.I.g?a.load():a.unload());b.l.P("minimized")};
g.h.eE=function(a){var b=this.app.I;b.l!=a&&(b.l=a,b.A())};
g.h.lj=function(a){return QV(this.app,a)};
g.h.Al=function(a){if(a){var b=this.app.A.o;b&&b.Ju(a)}};
g.h.jE=function(a){this.Al(a)};
g.h.RD=function(){return this.yl()};
g.h.yl=function(){var a=this.app.A.o;return a?a.Iu():{}};
g.h.bE=function(a){var b=this.app;b.g.Af=a;b.F&&(a=b.F,a.C&&g.ZC(a.C.o),b.g.L&&tW(b))};
g.h.Kd=function(a){this.P("aduxclicked",a)};
g.h.setVolume=function(a,b){Ev(this,a,b)};
g.h.mute=function(a){Fv(this,a)};
g.h.Ge=function(a){Gv(this,a)};
g.h.WB=function(){return this.app.ea};
g.h.Nh=function(a){if("annotations_module"==a){var b=this.app.A.A;b&&!b.loaded&&b.load()}zv.prototype.Nh.call(this,a)};
g.h.oj=function(a){if("annotations_module"==a){var b=this.app.A.A;b&&b.loaded&&b.unload()}zv.prototype.oj.call(this,a)};
g.h.Vc=function(a,b,c){if(!b)return null;var d=this.app.A;switch(a){case "ad":return(a=d.B)&&a.ev&&a.ev(b,c);case "remote":return(a=g.WJ(d))&&a.FE(b,c);case "unplugged":return(a=g.XA(g.V(d.g))?d.F:null)&&a.B(b,c);case "spacecast":return(c=d.Z)&&c.C(b);case "annotations_module":return(a=d.A)&&a.GC(b,c);case "creatorendscreen":return(a=d.G)&&a.MC(b,c)}return zv.prototype.Vc.call(this,a,b,c)};
g.h.Mg=function(a){var b=this.app.A;switch(a){case "ad":return(b=b.B)&&b.fv&&b.fv();case "remote":return g.WJ(b)&&["casting","receivers","currentReceiver","quickCast"];case "annotations_module":return(b=b.A)&&b.HC();case "creatorendscreen":return(b=b.G)&&b.NC();case "unplugged":return(g.XA(g.V(b.g))?b.F:null)&&"settingsMenuShown hideSettingsMenu showSettingsMenu getStoryboardFrameData getStoryboardFrameIndex getStoryboardFrameIntervalSeconds getStoryboardMaxFrameIndex".split(" ")}return a?zv.prototype.Mg.call(this,
a):(a=zv.prototype.Mg.call(this),b.B&&a.push("ad"),g.WJ(b)&&a.push("remote"),b.A&&a.push("annotations_module"),b.G&&a.push("creatorendscreen"),g.XA(g.V(b.g))&&b.F&&a.push("unplugged"),a)};
g.h.Ng=function(){var a=this.app.G.Ba();return{width:a.width,height:a.height}};
g.h.dE=function(a){var b=this.app.G;b.J=wA(a,!0);b.ce()};
g.h.KL=function(){var a=g.Hv(this);a&&a.cp()};
g.h.WD=function(){return g.cV(this.app.G)};
g.h.kE=function(a){var b=this.app.G;b.Y!=a&&(b.Y=a,b.ce())};
g.h.fE=function(a,b){var c=this.app.G,d=new g.vd(a,b);g.wd(c.B,d)||(c.B=d,c.ce())};
g.h.Tu=function(a,b,c){c=void 0===c?window.Infinity:c;var d=this.app;c=void 0===c?window.Infinity:c;!d.ia||YV(d);b=b||d.F.getPlayerType();c<=1E3*d.getCurrentTime()&&(g.gO(d,b),$V(d,a,b));d.ia={playerVars:a,playerType:b,Bs:new g.gE((0,window.isFinite)(c)?c:0x8000000000000,0x8000000000000,{namespace:"queued"})};JG(d.F.J,[d.ia.Bs]);a=new g.nC(a);a.Yh=!0;d.fa=vV(d,b);JI(d.fa,a,(0,g.A)(d.Tc,d));OI(d.fa,!0)};
g.h.aE=function(){return!this.app.ia};cE.prototype.reset=function(){RB("")};
cE.prototype.g=function(a,b){(0,g.dE)(a,b,"")};
cE.prototype.info=function(a,b){(0,g.eE)(a,b,"")};g.r(g.gE,g.G);g.gE.prototype.getId=function(){return this.Ca};
g.gE.prototype.toString=function(){return"CueRange{"+this.namespace+":"+this.Ca+"}["+hE(this.start)+", "+hE(this.end)+"]"};
g.gE.prototype.contains=function(a,b){return a>=this.start&&(a<this.end||a==this.end&&this.start==this.end)&&(null==b||a<b&&b<=this.end)};
var Hca=1;g.gE.prototype.getId=g.gE.prototype.getId;g.jE.prototype.toString=function(){return this.type+this.id};g.r(g.lE,g.O);g.h=g.lE.prototype;g.h.hasNext=function(a){return this.loop||!!a||this.Oa+1<this.Sf};
g.h.Ce=function(a){return this.loop||!!a||0<=this.Oa-1};
g.h.sb=function(a,b,c){a=void 0!=a?a:this.Oa;a=this.za&&a in this.za?this.za[this.md[a]]:null;var d=null;a&&(b&&(a.autoplay="1"),c&&(a.autonav="1"),d=new g.nC(a),g.I(this,d),d.startSeconds=this.startSeconds||d.clipStart||0,this.listId&&(d.playlistId=this.listId.toString()));return d};
g.h.setShuffle=function(a){this.jy=a;a=this.md&&null!=this.md[this.Oa]?this.md[this.Oa]:this.Oa;this.md=[];for(var b=0;b<this.za.length;b++)this.md.push(b);this.Oa=a;this.ol++;if(this.jy){a=this.md[this.Oa];for(b=1;b<this.md.length;b++){var c=Math.floor(Math.random()*(b+1)),d=this.md[b];this.md[b]=this.md[c];this.md[c]=d}for(b=0;b<this.md.length;b++)this.md[b]==a&&(this.Oa=b);this.ol++}this.P("shuffle")};
g.h.oc=function(a,b){b=b||"hqdefault.jpg";var c=this.eg[b];if(c||a.F||"sddefault.jpg"==b||"hq720.jpg"==b||"maxresdefault.jpg"==b)return c;if(this.ty.length)return WA(a,this.ty[0],b)};
g.h.getLength=function(){return this.Sf};
g.h.Li=function(a){if(a&&(a=a.videoId,!this.za[this.Oa]||this.za[this.Oa].video_id!=a))for(var b=0;b<this.za.length;b++)if(this.za[b].video_id==a){this.Oa=b;break}};
g.h.onReady=function(a){this.Gj=a;this.De&&g.Vr(this.Gj,0)};
g.h.getPlaylistId=function(){return this.listId?this.listId.toString():null};
g.h.Si=function(a){return a.getVideoUrl(this.sb().videoId,this.getPlaylistId())};
g.h.U=function(){this.Gj=null;g.af(this.za);g.O.prototype.U.call(this)};sE.prototype.add=function(a){this.g=(this.g+1)%this.l.length;this.l[this.g]=a};
sE.prototype.clear=function(){for(var a=this.l.length,b=0;b<a;b++)this.l[b]=0;this.o=this.g=this.l.length-1};g.r(xE,g.O);xE.prototype.isPeggedToLive=function(){return this.C};IE.prototype.reset=function(){this.Z=LE(this);KE(this);this.g=new HE(0,0,null);this.B=8;this.A=[];this.o=[];this.C=this.I=window.NaN;this.l=this.J=0;this.R=!1};
IE.prototype.process=function(a){var b=!1;if(this.A.length){if(OE(this)&&this.A.length+a.byteLength<this.B)return PE(this,a,0),0;b=this.A.length;var c=new window.Uint8Array(b+a.byteLength);c.set(this.A,0);c.set(new window.Uint8Array(a.buffer,a.byteOffset,a.byteLength),b);this.A=[];a=new window.DataView(c.buffer);b=!0}for(var d=c=0;c<a.byteLength;){var e=a.byteLength-c,f=window.NaN;if(OE(this)){if(e<this.B)return PE(this,a,c),0;switch(this.g.type){case 0:f=ME(this,a,c);b||0!=c||(d=this.g.type);break;
case 1836019574:case 1836019558:f=ME(this,a,c);break;case 1953653094:e=a;f=c;this.J||(this.J=yx(QE(this,e,f),this.l));f=ME(this,e,f);break;case 1836476516:this.l=Ax(QE(this,a,c));NE(this);f=this.g.size-8;break;case 1952867444:e=void 0;(0,window.isNaN)(this.C)||(f=QE(this,a,c),this.G.Ob?e=this.Y(Gx(f),this.l):e=this.C,Fx(f,e),(0,window.isNaN)(this.F)&&(this.F=e),this.C+=this.J,this.T+=this.J);f=this.g.size-8;break;case 1936286840:e=QE(this,a,c),f=Hx(e).Lj[0],this.l=Ix(e),NE(this),this.J=f,f=this.g.size-
8}}else f=Math.min(this.B,e);this.g.offset+=f;this.B-=f;c+=f;if(0==this.B){for(;0!=this.g.type&&this.g.offset==this.g.size&&this.g.parent;)1835295092==this.g.type&&(this.R=!0),this.g.parent.offset+=this.g.size,this.g=this.g.parent;switch(this.g.type){case 0:case 1836019574:case 1836019558:case 1953653094:this.B=8;break;default:this.B=this.g.size-8}}}0<a.byteLength&&this.o.push(a);return d};SE.prototype.Ff=function(){this.Z&&(this.Z=!1)};var Xca=0;g.h=iF.prototype;g.h.MK=function(a){this.status=a.status;a.ok?(this.C=a.body.getReader(),this.B?(this.J=a.headers,this.T(),this.o=new window.Uint8Array(kF(this)),oF(this)):this.C.cancel("Cancelling")):qF(this)};
g.h.hH=function(a){if(this.B){var b;window.performance&&window.performance.now&&(b=window.performance.now());var c=(0,g.D)(),d=a.value?a.value:null;(0,g.D)();a.done?(this.C=null,qF(this)):(pF(this)?(nF(this,d),this.B(c,this.l,b)):(a=this.l,this.F.Yq&&(a+=d.length),this.B(c,a,b),nF(this,d)),oF(this))}};
g.h.cv=function(a){this.L=""+a;this.G=!0;qF(this)};
g.h.ld=function(a){return this.J.get(a)};
g.h.Zi=function(){return!!this.J};
g.h.Ln=function(){return this.l};
g.h.Ok=function(){return+this.ld("content-length")};
g.h.Ht=function(){return 200<=this.status&&300>this.status&&!!this.l};
g.h.Fg=function(){return!!this.A.length||(this.I||pF(this))&&0<this.g};
g.h.ey=function(){this.Fg();this.A.length||lF(this);return this.A.shift()};
g.h.Yu=function(){this.Fg();this.A.length||lF(this);return this.A[0]};
g.h.abort=function(){this.C&&this.C.cancel("Cancelling");this.R=this.B=null};
g.h.ny=function(){return!0};
g.h.wx=function(){return this.G};
g.h.tp=function(){return this.L};g.h=rF.prototype;g.h.rE=function(){if(!this.l){this.status=this.g.status;try{this.response=this.g.response}catch(a){}this.o=!0;this.A()}};
g.h.tE=function(){2==this.g.readyState&&this.B()};
g.h.sE=function(a){this.l||(this.status=this.g.status,this.C(a.timeStamp,a.loaded))};
g.h.Zi=function(){return 2<=this.g.readyState};
g.h.ld=function(a){try{return this.g.getResponseHeader(a)}catch(b){return g.N(b),""}};
g.h.Ok=function(){return+this.ld("content-length")};
g.h.Ln=function(){return this.response.byteLength};
g.h.Ht=function(){return 200<=this.status&&300>this.status&&!!this.response&&!!this.response.byteLength};
g.h.Fg=function(){return this.o&&!!this.response&&!!this.response.byteLength};
g.h.ey=function(){this.Fg();var a=this.response;this.response=null;return new window.Uint8Array(a)};
g.h.Yu=function(){this.Fg();return new window.Uint8Array(this.response)};
g.h.abort=function(){this.l=!0;this.g.abort()};
g.h.ny=function(){return!1};
g.h.wx=function(){return!1};
g.h.tp=function(){return""};g.h=sF.prototype;g.h.vb=function(){return this.B?this.B.vb():""};
g.h.start=function(a){wF(this,2);this.R=Jga++;this.l?(this.L=aba(this.info,this.l.o,this.l.length),this.B=g.Ty(this.info,this.o,this.Z,this.L)):(this.L=this.info.range,this.B=g.Ty(this.info,this.o,this.Z));var b=!1;if(this.o.va&&2>this.info.l.g&&this.I){var c=this.B.get("aitags");if(c&&(Sy(this.info)||Ry(this.info))&&this.Y&&"auto"==Vu()&&Xu()){var d=Ab(c).split(","),e=[];(0,g.C)(this.Y,function(a){g.Va(d,a)&&e.push(a)});
0<e.length&&(this.B.set("altitags",g.zb(e.join(","))),b=!0)}}b||(this.I=!1);this.B.set("rn",this.R.toString());0<=a&&this.B.set("rbuf",(1E3*a).toFixed().toString());a=this.B.vb();try{this.g=Zca(this,a)}catch(f){this.A="net.ssl";xF(this);return}0<this.o.J&&this.T.start()};
g.h.CK=function(){this.F=0;this.info.l.A=g.P();var a=vF(this);a.B=g.P();a.o+=1;a=this.timing;a.g=(0,g.D)();a.B=a.g;a.o=0;a.fa=a.g;a.R=0;a.F&&(a.F=[]);a.ia=!1;a.la=!1;a.A=0;a.ea=pA(a.l);a.G=window.Infinity;a.J=window.Infinity;fF(a);hF(a,a.g);a.X=(a.N-a.g)/1E3;a.I=window.NaN;a.Y=null};
g.h.BK=function(a,b,c){if(!this.ga()){this.C=this.g.status;FF(this,!1);var d=this.timing;a=a>d.g&&4E12>a?a:(0,g.D)();dF(d,a,b);50>a-d.B&&eF(d)&&3!=UE(d)||YE(d,a,b,c);b=this.timing;b.o>b.Ea&&VE(b,b.o)&&4>this.state?wF(this,4):CF(this)&&EF(this)&&wF(this,Math.max(3,this.state))}};
g.h.AK=function(){if(!this.ga()){if(!this.N&&this.g.Zi()&&this.g.ld("X-Walltime-Ms")){var a=(0,window.parseInt)(this.g.ld("X-Walltime-Ms"),10);this.N=((0,g.D)()-a)/1E3}this.g.Zi()&&this.g.ld("X-Restrict-Formats-Hint")&&this.o.Uq&&!Xu()&&g.Pu("yt-player-headers-readable",!0,2592E3)}};
g.h.zK=function(){var a=this.g;if(!this.ga()&&a){this.T.stop();this.C=a.status;var b=!1;if(400<=a.status)b=!0,this.A="net.badstatus";else if(a.Ht()){var c="";DF(this)&&(c=a.Yu(),2048<c.length?c="":(c=String.fromCharCode.apply(String,c),c=ev(c)?c:""));if(c){a=vF(this);g.P();a.o=0;a.l=0;a.g=0;a=this.info;var d=this.B;g.Py(a.l,d,c);a.requestId=d.get("req_id");wF(this,5)}else if(c=a.Ln(),(d=!!this.L&&this.L.length)&&d!=c||a.wx())b=!0,this.A="net.closed";else{FF(this,!0);var e=BF(this)?this.g.ld("X-Bandwidth-Est"):
0;if(a=BF(this)?this.g.ld("X-Bandwidth-Est3"):0)this.X=!0,this.o.ry&&(e=a);a=this.timing;d=(0,g.D)();e=e?(0,window.parseInt)(e,10):0;if(!a.ia){a.ia=!0;d=d>a.g&&4E12>d?d:(0,g.D)();dF(a,d,c);YE(a,d,c);var f=UE(a);if(2==f&&e)XE(a,a.o/e,a.o);else if(2==f||1==f)e=(d-a.g)/1E3,(e<=a.l.policy.B||!a.l.policy.B)&&!a.la&&eF(a)&&XE(a,e,c),eF(a)&&kA(a.l,c,a.A);c=a.l;d=(d-a.g)/1E3;e=a.X;f=Ry(a.T);c.F.g(d,a.o/d);c.o=g.P();f||c.l.g(1,d-e);a.Ff()}a=vF(this);g.P();a.o=0;a.l=0;a.g=0;this.info.l.g=0;wF(this,6)}}else b=
!0,this.A=204==a.status?"net.nocontent":"net.connect";b&&xF(this)}};
g.h.VK=function(){if(!this.ga()){var a=(0,g.D)(),b=!1;eF(this.timing)?(a=this.timing.N,hF(this.timing),this.timing.N-a>=.8*this.o.J?(this.F++,b=5<=this.F):this.F=0):(b=this.timing,b.C&&gF(b,(0,g.D)()),a-=b.L,this.o.bc&&0<a&&(this.F+=1),b=a>1E3*this.o.ib);this.F&&this.G&&this.G(this);b?AF(this,!1):this.T.start()}};
g.h.ga=function(){return-1==this.state};
g.h.dispose=function(){Ry(this.info)&&6!=this.state&&(this.info.g[0].g.C=!1);wF(this,-1);this.G=null;this.T.dispose();zF(this)};
sF.DEBUG=!1;g.r(IF,g.O);SF.prototype.T=function(a,b){switch(b.info.type){case 1:case 2:this.N(b);break;case 4:var c=b.info.g.Du(b),d=b.info,e=this.g;e&&e.g==d.g&&e.type==d.type&&(d.range&&e.range?e.range.start==d.range.start&&e.range.end==d.range.end:e.range==d.range)&&e.oa==d.oa&&e.l==d.l&&e.Ja==d.Ja&&(this.g=g.Oa(c).info);(0,g.C)(c,(0,g.A)(this.T,this,a));break;case 3:dda(this.o,a,b)}};
SF.prototype.N=function(a){var b=this.o;if(1==a.info.type){var c=qy(a);Wv(a.info.g.info)&&!Xv(a.info.g.info)&&(fy(new Zx(c)),ey(21936,c));if(!b.o.Ry&&Xv(a.info.g.info)&&"bt2020"==a.info.g.info.video.primaries){var d=new Zx(c);ay(d,[408125543,374648427,174,224,21936,21937])&&(d=d.o+d.g,129==c.getUint8(d)&&1==c.getUint8(d+1)&&c.setUint8(d+1,9))}a.info.g.info.video&&Wy(a.info.g,c);2==a.info.g.info.containerType&&a.info.g.info.video&&gy(c);OF(b,a)&&(wy(a),g.Yv(a.info.g.info)&&Kx(qy(a),1701671783))}a.info.g.Xk(a);
RF(b,a)};
SF.prototype.Z=function(a){a=a.info;this.B&&(this.R=this.B);this.B=a;a.g.info.g>=this.I&&(this.I=a.g.info.g)};yG.prototype.send=function(){g.ms(this.l,{format:"RAW",responseType:"arraybuffer",timeout:1E4,Jc:this.o,Xc:this.o,context:this});this.g=g.P()};
yG.prototype.o=function(a){var b={rc:a.status,lb:a.response?a.response.byteLength:0,rt:((g.P()-this.g)/1E3).toFixed(3),shost:g.Wg(this.l),trigger:this.C};204==a.status||a.response?this.A&&this.A(eB(b)):this.B(new g.dB("pathprobe.net",!1,b))};g.r(zG,g.O);g.r(IG,g.G);IG.prototype.B=function(a){if(!this.ga()){for(var b=arguments.length-1;0<=b;b--){var c=arguments[b];if(c){g.Za(this.l,c);var d=this.g,e=d.g;c=g.lb(e,c,d.l);0<=c&&g.Ya(e,c)}}this.o()}};
IG.prototype.reset=function(){this.C=this.I=!1;this.F.stop();this.g.g=[];this.l=[];this.o();this.G=null};
IG.prototype.o=function(){this.J=!0;if(!this.L){for(var a=3;this.J&&a;){this.J=!1;this.L=!0;if(this.C&&!this.I&&!this.ga()){this.F.stop();var b=this.N();g.U(b,32)&&this.T.start();for(var c=g.U(this.N(),2)?0x8000000000000:1E3*this.Y(),d=g.U(b,2),e=[],f=[],k=0;k<this.l.length;k++){var l=this.l[k];l.active&&(d?0x8000000000000>l.end:!l.contains(c))&&f.push(l)}e=e.concat(xda(this,f));if(d)b=FG(this.g,0x7ffffffffffff),b=b.concat(uda(this.g));else if(this.A<=c&&g.zD(b)&&!g.U(b,16)&&!g.U(b,32)){b=this.g;
d=c;f=[];for(k=GG(b,this.A);k<b.g.length&&!(l=b.g[k],(l.end<=d||l.contains(d))&&f.push(l),l.start>d);++k);b=f}else b=FG(this.g,c);e=e.concat(wda(this,b));this.A=c;!this.I&&this.G&&(this.G=null);c=g.p(e);for(e=c.next();!e.done;e=c.next())e=e.value,b=e[1],1==e[0]?(b.g&&b.g.P("onEnter",b),this.R("crn_"+b.namespace,b)):(b.g&&b.g.P("onExit",b),this.R("crx_"+b.namespace,b))}this.L=!1;a--}g.zD(this.N())&&(a=HG(this.g,this.A),!(0,window.isNaN)(a)&&0x7ffffffffffff>a&&(a=(a-this.A)/this.Z(),this.F.start(a)))}};
IG.prototype.U=function(){this.l=[];this.g.g=[];this.G=null;g.G.prototype.U.call(this)};LG.prototype.then=function(a,b){return this.o.then(a,b)};
LG.prototype.resolve=function(a){this.l(a)};
LG.prototype.reject=function(a){this.g(a)};g.r(NG,g.O);g.h=NG.prototype;
g.h.initialize=function(a,b,c,d){a=a||0;var e=this.F;d=d&&d.id;e.I="i";if(e.F.dc||"s"==b.reason)e.I=b.reason;pG(e,b);mda(e,d);e.L=e.A;nda(e);e.o=e.l;b=tG(e);this.o=new SF(this.l,b.audio,(0,g.A)(this.Gr,this));this.g=new SF(this.l,b.video,(0,g.A)(this.Gr,this));this.l.fa&&this.C.l&&(this.Za=new Sca(this.l,this.g.l.index));iH(this,this.o);iH(this,this.g);this.g.o.R=this.o.o;this.P("videoformatchange",b);this.X=this.g.F;this.G&&AG(this.G,this.g.l);this.l.F&&uE()&&this.ae("streaming","1",!0);this.B=this.C.l?
0:a;c?(PG(this,!1),g.sq(this.la)):(a=0==this.B,lH(this,this.g,this.g.l,a),lH(this,this.o,this.o.l,a),this.seek(this.B),this.uc("gv"))};
g.h.resume=function(){if(this.T||this.R)this.ra=this.R=this.T=!1,this.ud()};
g.h.wJ=function(a){var b=this.l.bc;if(!(!(b&&2<=a.state)||5<=a.state||a.F<b||My(a.info.l,this.l,this.Y))){b=this.Y;var c=Cy(Ly(a.info.l));b=zy(b,c);b.g||b.l||b.o||aH(this,a,!0)}if(!this.ga()&&3<=a.state)if(c=a.info.g[0].g,b=!this.na&&c.info.video,c=!this.fa&&c.info.audio,5==a.state?b?this.uc("vrr"):c&&this.uc("arr"):6==a.state?b?(this.na=a.vb(),ou(4)):c&&(this.fa=a.vb()):4==a.state&&b&&ou(4),5<=a.state&&(this.l.ca&&(b=TE(a.timing),c=a.timing,b={rn:a.R.toString(),rt:b.rt,pt:b.pt,stall:b.stall,elt:b.elbowTime,
elb:b.elbowBytes,rqd:c.F?c.F.join(""):""},c=b.rqd,delete b.rqd,c&&this.ae("rqd",eB({rn:b.rn,d:c})),this.ae("rqs",eB(b))),a.X&&this.ae("sbwe3","1",!0)),5==a.state)a.start(Math.max(0,a.info.g[0].B-this.B));else if(5<=a.state&&5==a.info.g[0].type){if(6==a.state){var d=(a.info.g[0].g.info.video?this.g:this.o).A[0]||null;d&&d.F&&AF(d,!0)}a.dispose()}else{if(this.l.va&&a.I&&4<=a.state&&5!=a.state)if(b=a.g?a.g.ld("X-Response-Itag"):null){b=oda(this.F,b);c=a.info.range.length-b.Qk();b.C=!0;a.info.g[0].g.C=
!1;var e=b.th(c)[0];a.info=e;if(a.l){c=a.l;e=e.g;c.l=e;for(var f=0;f<c.g.length;f++)c.g[f].info=e[f],c.g[f].range.start=e[f].range.start,c.g[f].range.end=e[f].range.end,c.g[f].range.length=e[f].range.length}a.I=!1;c=this.g;c.l!=b&&(c.l=b);c=this.g;c.g&&(c.g.g=b);this.P("constraint",b.info.video.quality);(c=a.g?a.g.ld("X-Segment-Lmt"):null)&&b instanceof g.mz&&((0,window.isNaN)(b.lastModified)||b.lastModified==c||bG(this.g,a))}else a.I=!1;if(6==a.state||this.l.F&&3<=a.state&&!(5<=a.state)){b=a.info.g[0].g;
c=b.info.video?this.g:this.o;if(this.C.l&&c&&(c.F=!1,a.N&&this.Ma.g(1,a.N),e=a.g?(0,window.parseInt)(a.g.ld("X-Head-Seqnum"),10):null))for(d in f=this.C,f.g){var k=f.g[d].index;k.g&&(k.o=Math.max(k.o,e))}if(d=Ry(a.info))d=a.info,d=!!Rx(d.g[d.g.length-1]);d&&((0,g.C)(a.l.g,c.N,c),this.l.ig||this.P("metadata",b))}else 7==a.state&&(d=a.info.g[0].g,yF(a)?(b=(d.info.video&&1<d.A.g||410==a.C||500==a.C||503==a.C)&&!vG(this.F),c=uF(a),e=d.info.video?this.g:this.o,b&&(c.stun="1"),bH(this,!1,a.A,c),this.ga()||
(b&&uG(this.F,d),this.l.Bc&&1==a.info.g.length&&0<a.info.g[0].l&&d!=e.l&&this.R?this.P("reattachrequired"):(bG(e,a),this.ud()))):(bH(this,!1,a.A,uF(a)),Ry(a.info)?(d.B=a.A,this.ud()):bH(this,!0,"net.retryexhausted",{})));this.ud();5<=a.state&&yF(a)&&My(a.info.l,this.l,this.Y)&&(d=this.Y,b=Cy(a.info.l.o),d=zy(d,b),b=d.o,this.l.lg&&(b+=d.A),b=5E3*Math.pow(1.6,b),d.g||d.B+b>g.P()||aH(this,a,!1))}};
g.h.ud=function(){TG(this);if(this.A&&yw(this.A)&&!Bw(this.A)){var a=this.l.gh&&this.g.B&&this.g.B.C;this.l.Qc&&!a?(0,window.isNaN)(this.J)?(this.J=this.B+3600,this.A.o.duration=this.J):this.J<=this.B+1800&&(this.J=Math.max(this.J+1800,this.B+3600),this.A.o.duration=this.J):(a=Math.max(this.o.l.index.wg(),this.g.l.index.wg()),(!(0,window.isFinite)(this.J)||this.J!=a)&&0<a&&(this.J=this.A.o.duration=a))}if(!this.ga())if(Ez(this.C)&&3==this.C.C)bH(this,!0,"manifest.net.retryexhausted",{rc:this.C.T.toString()});
else if(this.C.o&&(iG(this.g)||iG(this.o)))RG(this),this.P("seekplayerrequired",window.Infinity);else if(TG(this),VF(this.g),!this.ga()&&(VF(this.o),!this.ga())){this.C.l&&(jG(this.g),jG(this.o),Ada(this),(a=JF(this.g.o))&&a.o&&(a=JF(this.g.o).o.B&&!this.l.X,this.ae(a==this.l.g?"strm":"strmbug","strm."+(a?"1":"0")+";sfmp4."+(this.l.g?"1":"0")+";dfs."+(this.l.X?"1":"0"),!0)));if(this.A){a=this.A.g;var b=this.A.l;if(Bda(this)){if(this.l.Ne){if(!a.We()){var c=JF(this.o.o);c&&dH(this,a,c)}b.We()||(a=
JF(this.g.o))&&dH(this,b,a)}}else{if(this.G){c=this.G;var d=this.o,e=nw(this.A.l.Eb());if(c.B)c=sda(c,e);else{if(e=JF(d.o)){var f=e.o;f&&f.B&&f.o&&(d=d.A.length?d.A[0]:null)&&3<=d.state&&7!=d.state&&0==d.info.o&&CF(d)&&(c.B=d,c.I=f,c.o=e.info,c.C=(0,g.D)()/1E3,c.G=c.C,c.F=c.o.startTime)}c=window.NaN}c&&this.P("seekplayerrequired",c,!0)}(c=gH(this,this.g,b,null))&&!this.Ea&&(this.Ea=(0,g.D)(),this.uc("vda"),dC("vda"),this.va&&ou(4));if(!Aw(this.A)){b=mw(b.Eb(),this.B+YG);if(!(0,window.isNaN)(b)||XF(this.g)||
!a.Eb().length){if(XF(this.g)||this.l.du)b=window.NaN;a=gH(this,this.o,a,b);c=c||a;a&&!this.va&&(this.va=(0,g.D)(),this.uc("ada"),dC("ada"),this.Ea&&ou(4))}this.ga()||(XF(this.g)&&XF(this.o)&&yw(this.A)&&!Bw(this.A)&&(a=this.A,yw(a)&&a.o.endOfStream(),a=this.L,Uu(pA(a)),a.C=g.P()),c&&!Dw(this.A)&&g.sq(this.Z))}}}OG(this);lH(this,this.g,this.g.l,!1);lH(this,this.o,this.o.l,!1);a=this.o.l.B;b=this.g.l.B;if(a||b){c="net.retryexhausted";if("fmt.unparseable"==a||"fmt.unparseable"==b)c="fmt.unparseable";
bH(this,!0,c,{metadata:"1",video:this.g.l.B||"",audio:this.o.l.B||""})}else VG(this,this.g,this.o)&&ZG(this,this.g,this.o),VG(this,this.o,this.g)&&ZG(this,this.o,this.g),this.l.aw&&this.ia&&!this.T&&qA(this.L)&&(a=this.ia,b=(0,g.A)(this.P,this,"error"),c=this.l.Vy?(0,g.A)(this.ae,this,"pathprobe"):null,(new yG(a,"cms",c,b)).send(),this.ia=""),this.l.jg&&this.C.o&&g.sq(this.la),this.G&&(a=this.G,a.B?(b=a.G+a.g.dd,a.A||(b=Math.min(b,a.C+a.g.Ta)),a=Math.max(0,1E3*b-(0,g.D)())):a=window.NaN,(0,window.isNaN)(a)||
g.sq(this.ub,a)),g.sq(this.Ta)}};
g.h.Pl=function(a){var b=a?this.o:this.g;a=b&&b.B;var c=b&&b.R;b=void 0;a&&(b=Ux(a));if(c){b=b||{};a=Ux(c);for(var d in a)b["prev_"+d]=a[d]}bH(this,!0,"fmt.unplayable",b)};
g.h.lI=function(a){bH(this,!0,"fmt.unparseable",a)};
g.h.pI=function(a){bH(this,!1,"qoe.avsync",a)};
g.h.mI=function(a,b){this.C.l&&hH(this,b,a==this.g)};
g.h.nI=function(a,b){this.C.l&&Iz(this.C,b.oa,a==this.g)};
g.h.oI=function(a,b){this.C.l&&hH(this,b,a==this.g)};
g.h.kI=function(a,b){this.l.ea&&this.P("newDrmInfo",a,b)};
g.h.jI=function(a,b){if(this.g.l.index.kb()<=b){var c=this.C;c.R.push(a);c.P("cuepointsadded")}};
g.h.seek=function(a){if(this.ga())return jg();if(this.g.F||this.o.F)return ig();TG(this);this.Ya=g.P();OG(this,a);var b=this.g.g,c=kH(this.g,a,this.A&&this.A.l),d=kH(this.o,this.l.qb?a:c,this.A&&this.A.g);this.B=Math.max(a,c,d);this.N=!0;this.C.l&&this.l.Ua&&(c=this.g.g.oa,$y(this.g.l.index,c)||b&&b.oa==c||(this.X=!0));g.sq(this.Z);return ig(a)};
g.h.getCurrentTime=function(){return this.B};
g.h.U=function(){SG(this);this.o&&($F(this.o),$F(this.g));g.O.prototype.U.call(this)};
g.h.uc=function(a,b){this.yb[a]=b?window.performance.timing.navigationStart+b:g.P()};
g.h.av=function(){return this.Ma.l()||0};
g.h.ae=function(a,b,c){this.P("ctmp",a,b,void 0===c?!1:c)};
g.h.Gr=function(a,b){var c=a/b;(0,window.isNaN)(this.Ra)&&(this.Ra=c-Math.min(c,18E3));return(c-this.Ra)*b};
var YG=2/24;g.r(qH,g.G);g.h=qH.prototype;g.h.zE=function(a){this.C.call(this.o,new window.Uint8Array(a.message))};
g.h.AE=function(){this.I.call(this.o,this.g.keyStatuses)};
g.h.hw=function(a,b){g.N(b);var c=a;b instanceof window.DOMException&&(c+=";n."+b.name+";m."+b.message);this.A.call(this.o,c)};
g.h.yE=function(){this.ga()||xs("xboxone")&&this.A.call(this.o,"closed")};
g.h.Gw=function(a){this.C.call(this.o,a.message)};
g.h.Fw=function(a){if(this.l){var b=this.l.error.code;a=this.l.error.systemCode}else b=a.errorCode&&a.errorCode.code,a=a.systemCode;this.A.call(this.o,"t.prefixedKeyError;c."+b+";sc."+a)};
g.h.Ew=function(){this.G.call(this.o)};
g.h.update=function(a){if(this.g)return this.g.update(a).then(null,Qr((0,g.A)(this.hw,this,"t.update")));this.l?this.l.update(a):this.B.addKey?this.B.addKey(this.J.g,a,this.F,this.sessionId):this.B.webkitAddKey(this.J.g,a,this.F,this.sessionId);return Qs()};
g.h.U=function(){this.g&&this.g.close();this.B=null;g.G.prototype.U.call(this)};g.r(sH,g.G);g.h=sH.prototype;
g.h.createSession=function(a){var b=a.initData;if(this.g.l){var c=this.B.createSession();"com.youtube.fairplay"==this.g.g&&(b=uH(this,b));b=c.generateRequest(a.contentType,b);c=new qH(null,null,null,c,null);b.then(null,Qr((0,g.A)(c.hw,c,"t.generateRequest")));return c}if(Nz(this.g)){c=new window.Uint8Array(270);for(a=0;135>a;a++)c[2*a]='<PlayReadyCDMData type="LicenseAcquisition"><LicenseAcquisition version="1.0" Proactive="true"></LicenseAcquisition></PlayReadyCDMData>'.charCodeAt(a);b=this.o.createSession("video/mp4",
b,c);return new qH(null,null,null,null,b)}if(Rz(this.g))return b=uH(this,b),b=this.o.createSession("video/mp4",b),new qH(null,null,null,null,b);this.l.generateKeyRequest?this.l.generateKeyRequest(this.g.g,b):this.l.webkitGenerateKeyRequest(this.g.g,b);return this.A=new qH(this.l,this.g,b,null,null)};
g.h.DE=function(a){var b=vH(this,a);b&&b.Gw(a)};
g.h.CE=function(a){var b=vH(this,a);b&&b.Fw(a)};
g.h.BE=function(a){var b=vH(this,a);b&&b.Ew(a)};
g.h.U=function(){this.l=null;g.G.prototype.U.call(this)};g.r(xH,g.G);g.h=xH.prototype;g.h.dv=function(a){this.N=a};
g.h.wE=function(a){if(!this.ga()){this.J||((0,g.dE)("drm_gk_f"),this.J=!0,this.l.P("newsession",this));Oz(this.o)&&(a=zH(a));if("fairplay"==this.o.flavor){var b=g.we(a);a=new window.Uint8Array(new window.ArrayBuffer(b.length));for(var c=0;c<b.length;c++)a[c]=b.charCodeAt(c)}a=new oH(a,++this.R);this.Rx(a)}};
g.h.uE=function(){this.ga()||this.G||(this.l.P("sessionready"),this.G=!0)};
g.h.xE=function(a){var b=this;this.ga()||(a.forEach(function(a,d){var c=Oz(b.o)?d:a,f=new window.Uint8Array(Oz(b.o)?a:d);Oz(b.o)&&DH(f);var k=HF(f);DH(f);f=HF(f);b.g[k]?b.g[k].status=c:b.g[f]?b.g[f].status=c:b.g[k]={type:"",status:c}}),Pr("Key statuses changed: "+EH(this,",")),this.l.P("keystatuseschange",this))};
g.h.Rx=function(a){(0,g.dE)("drm_net_s");a={format:"RAW",method:"POST",postBody:a.message,responseType:"arraybuffer",withCredentials:!0,timeout:3E4,onSuccess:(0,g.A)(this.WH,this,a),onError:(0,g.A)(this.yw,this,a)};var b=this.T;this.N&&(b=mh(b,"access_token",this.N));(0,window.isNaN)(this.C)||(b=mh(b,"cpi",this.C));g.ms(b,a)};
g.h.WH=function(a,b){if(!this.ga())if(0!=b.status&&b.response){(0,g.dE)("drm_net_r");var c=new window.Uint8Array(b.response);if(c=pH(c))if(0!=c.statusCode)yH(this,"drm.auth",!0,"t.f;c."+c.statusCode,g.gD(c.statusCode));else{(0,g.dE)("drm_kr_s");var d=null,e=c.headers["Heartbeat-Url"];e&&(d=new Eda(e,(0,window.parseInt)(c.headers["Heartbeat-Interval-Secs"],10)||60,(0,window.parseInt)(c.headers["Heartbeat-Num-Retries"],10)||4));d&&this.l.P("newlicense",d);if(d=c.headers["Authorized-Format-Types"])this.B=
d.split(","),AH(this)||(Qz(this.o)?(d=BH(this.B),480<g.Pv[d]&&this.l.P("hdentitled",this)):this.l.P("keystatuseschange",this));c.headers["Key-Ids"]&&(this.g=Kda(c.headers["Key-Ids"]));Rz(this.o)&&(c.message=new window.Uint8Array(ye(String.fromCharCode.apply(null,c.message))));this.A.update(c.message).then(function(){(0,g.dE)("drm_kr_f")});
this.G&&(this.L=g.P())}else yH(this,"drm.net",!0,"t.p","YTP_ERROR_SERVER_ERROR")}else this.yw(a,b)};
g.h.vE=function(a){this.ga()||yH(this,"drm.keyerror",!0,a)};
g.h.yw=function(a,b){var c=!1;if(3<=a.g.l||this.Z&&36E4<g.P()-this.L){var d="drm.net.retryexhausted";c=!0}else d=b.status?"drm.net.badstatus":"drm.net.connect";yH(this,d,c,"t.r;c."+b.status);if(this.Z&&this.G?0:!c&&this.R==a.number)d=a.g.getValue(),d=new g.L((0,g.A)(this.Rx,this,a),d),g.I(this,d),d.start(),d=a.g,d.g=Math.min(2E4,2*d.g),d.o=Math.min(2E4,d.g+Math.round(.4*(Math.random()-.5)*d.g)),d.l++};
g.h.U=function(){this.l=null;g.G.prototype.U.call(this)};
g.h.ze=function(){var a=this.B.join();if(AH(this)){var b=[],c;for(c in this.g)"usable"!=this.g[c].status&&b.push(this.g[c].type);a+="/UKS:"+b}return a};GH.prototype.get=function(a){a=this.Li(a);return-1!=a?this.values[a]:null};
GH.prototype.remove=function(a){a=this.Li(a);-1!=a&&(this.keys.splice(a,1),this.values.splice(a,1))};
GH.prototype.set=function(a,b){var c=this.Li(a);-1!=c?this.values[c]=b:(this.keys.push(a),this.values.push(b))};
GH.prototype.Li=function(a){return g.Sa(this.keys,function(b){return g.rb(a,b)})};g.r(IH,g.O);g.h=IH.prototype;g.h.EH=function(a){MH(this,new window.Uint8Array(a.initData),a.initDataType)};
g.h.DI=function(a){MH(this,a.initData,a.contentType)};
g.h.iI=function(){var a=this;if(!this.ga())if(g.S(this.B,"html5_drm_set_server_cert")){var b=Hda(this.I);b?b.then(Qr(function(b){a.P("ctmp","setServerCertificate",b)}),Qr(function(b){a.P("ctmp","setServerCertificateError","n."+b.name+";m."+b.message)})).then(Qr(function(){return OH(a)})):OH(this)}else OH(this)};
g.h.SG=function(a){if(!this.ga()){g.N(a);var b="t.a";a instanceof window.DOMException&&(b+=";n."+a.name+";m."+a.message);this.P("licenseerror","drm.unavailable",!0,b,"YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK")}};
g.h.II=function(a){this.ga()||!a||this.Z||(this.Z=a,this.P("heartbeatparams",a))};
g.h.JI=function(){this.ga()||(this.o.shift(),KH(this))};
g.h.LJ=function(){if(Nz(this.g)&&(this.X--,0==this.X)){var a=this.C;a.l.msSetMediaKeys(a.o)}};
g.h.EE=function(a){this.ga()||NH(this,CH(a,this.R))};
g.h.OH=function(){this.ga()||!this.N&&Qz(this.g)&&this.P("hdproberequired")};
g.h.U=function(){this.g.l&&this.L.setMediaKeys(null);this.L=null;this.o=[];for(var a=g.p(this.l.values),b=a.next();!b.done;b=a.next())b.value.dispose();a=this.l;a.keys=[];a.values=[];this.A&&(this.A.dispose(),this.A=null);this.F=null;g.O.prototype.U.call(this)};
g.h.ze=function(){return 0>=this.l.values.length?"no session":this.l.values[0].ze()};bI.prototype.C=function(){var a=g.z("yt.abuse.player.botguardInitialized");return a&&a()?(a=g.z("yt.abuse.player.invokeBotguard")())?"r1a="+a:null:null};
bI.prototype.F=function(a){return"r3a="+Math.floor(this.g.lengthSeconds%Tb(a.c3a))};
bI.prototype.B=function(a){a=Tb(a.c);var b=g.z("yt.abuse.dclkstatus.checkDclkStatus")();return"r6a="+(a^b)};g.r(fI,g.O);g.h=fI.prototype;g.h.getCurrentTime=function(){return!(0,window.isNaN)(this.l)&&(0,window.isFinite)(this.l)?this.l:dI(this)?this.o.getCurrentTime():this.C||0};
g.h.Dc=function(a){return this.g.pa?this.g&&this.g.sa&&this.g.sa.g?!a&&this.L?CE(this.L):this.g.Dc():this.o?Cs()?UC(this.o.Kh().getTime()):kD(this.o)||0:0:this.g.Dc()};
g.h.rb=function(){return this.g?this.g.rb():0};
g.h.My=function(){this.g&&(this.C=this.g.startSeconds||this.C)};
g.h.U=function(){gI(this);lI(this);g.O.prototype.U.call(this)};
g.h.Kx=function(){var a=this.getCurrentTime()+.1;this.F=ig(a);jI(this,a,!0)};g.r(qI,g.O);qI.prototype.isFullscreen=function(){return 0!=this.B};
qI.prototype.isBackground=function(){return mI()};
qI.prototype.A=function(){this.P("visibilitychange");var a=this.isFullscreen();a=this.o?4:mI()?3:a?2:this.g?1:this.l?5:0;a!=this.F&&this.P("visibilitystatechange");this.F=a};
qI.prototype.U=function(){pI(this.C);g.O.prototype.U.call(this)};g.r(rI,g.G);rI.prototype.start=function(){this.l.start()};
rI.prototype.stop=function(){this.l.stop()};
rI.prototype.clear=function(){for(var a in this.g)this.g[a].clear()};
rI.prototype.A=function(){for(var a in this.o)this.g[a].update(this.o[a]());this.l.start()};
sI.prototype.update=function(a){this.o?(this.g.add(a-this.l||0),this.l=a):this.g.add(a)};
sI.prototype.clear=function(){this.g.clear();this.l=0};var DI={"ad-trueview-indisplay-pv":6,"ad-trueview-insearch":7},EI={"ad-trueview-indisplay-pv":2,"ad-trueview-insearch":2},FI=/^(\d*)_((\d*)_?(\d*))$/;wI.prototype.start=function(){this.l=!0};
wI.prototype.reset=function(){this.g=this.l=!1};g.r(yI,g.O);g.h=yI.prototype;g.h.U=function(){window.clearInterval(this.bc);pI(this.ib);this.fa.unsubscribe("visibilitychange",this.ib);BI(this);CI(this);this.F&&(this.F.dispose(),this.F=null);zI(this);bJ(this);g.af(this.va,this.g);this.X=null;this.Za=!1;g.O.prototype.U.call(this)};
g.h.getVideoData=function(){return this.g};
g.h.Wr=function(){if(this.g.Fb())g.U(this.o,128)||(this.g.Fb(),g.S(this.A.experiments,"html5_probe_media_capabilities")||(this.ra.g=!0),this.Bc=!0,4!=this.tb&&(this.ea=g.db(this.g.tc)),g.AC(this.g,this.A,GJ(this)).then(this.Ns,this.Ns,this),this.Wa("loudness",""+this.g.relativeLoudness.toFixed(3),!0),this.g.sc&&this.Wa("startSeconds",""+this.g.sc));else{var a=this.g;if(!Cs()&&a.pa&&a.adaptiveFormats&&!a.It){a=this.g;var b=this.A.experiments;if(!vC(a)){a.It=!0;var c=wz(BC(a,a.adaptiveFormats),a.jc,
a.lengthSeconds,!0,b);!g.S(b,"html5_manifestless_vp9")&&wca(c)||!g.S(b,"html5_manifestless_captions")&&(a.po||g.uz(c))?c.dispose():(a.oh=!1,zC(a,c),c.subscribe("cuepointsadded",a.Ur,a),tz(a.ka)&&(a.Ig=!0));xC(a)}}else if(this.g.oh){a=this.g;b=this.A.experiments;a.Ee=!0;a.oh=!1;ev(a.gd)||g.N(Error("DASH MPD Origin invalid: "+a.gd),"WARNING");c=a.gd;var d=g.T(b,"dash_manifest_version")||4;c=g.fh(c,{mpd_version:d});a.isLowLatencyLiveStream&&"NORMAL"!=a.latencyClass||(c=g.fh(c,{pacing:0}));Cz(new sz(c,
b),c).then(a.uH,a.tH,a);(0,g.dE)("mrs")}else if(this.g.Ig)this.C&&(a=this.C.l,ND(a,"protected"),a.g.videoData.Hg?a.ra():a.g.videoData.subscribe("dataloaded",a.ra,a)),a=this.g,c=this.A.T,b=this.A.experiments,a.fairPlayCert||a.ka&&tz(a.ka),c=a.ka?Wz(c,a.ka):{},b=new bA(c,b,a.gy),g.I(a,b),a.Ig=!1,a.Ee=!0,a=(0,g.A)(a.aC,a),b.B=a,Tz(b.o)?dA(b):Lba(b);else if(!this.g.Ee&&this.Bc){c=this.A;a=this.g;var e=this.ub.Ba(),f=this.xf();this.fa.isFullscreen();if(38==a.ge&&"books"==c.playerStyle)b=a.videoId.indexOf(":"),
a=g.fh("//play.google.com/books/volumes/"+a.videoId.slice(0,b)+"/content/media",{aid:a.videoId.slice(b+1),sig:a.uG});else if(30==a.ge&&"docs"==c.playerStyle)a=g.fh("https://docs.google.com/get_video_info",{docid:a.videoId,authuser:a.hc,authkey:a.authKey,eurl:c.va});else if(33==a.ge&&"google-live"==c.playerStyle)a=g.fh("//google-liveplayer.appspot.com/get_video_info",{key:a.videoId});else{d={html5:"1",video_id:a.videoId,cpn:a.clientPlaybackNonce,eurl:c.va,ps:c.playerStyle,el:PC(a,c),hl:c.tb,list:a.playlistId,
agcid:a.rA,aqi:a.adQueryId,sts:17710,lact:g.uu()};g.Ma(d,c.o);c.Pc&&(d.ecver=c.Pc);c.forcedExperiments&&(d.forced_experiments=c.forcedExperiments);a.Le?(d.vvt=a.Le,a.mdxEnvironment&&(d.mdx_environment=a.mdxEnvironment)):(a.oauthToken||c.R)&&(d.access_token=a.oauthToken||c.R);a.revocableUnlistedToken&&(d.ut=a.revocableUnlistedToken);a.adFormat&&(d.adformat=a.adFormat);0<=a.slotPosition&&(d.slot_pos=a.slotPosition);a.breakType&&(d.break_type=a.breakType);null!=a.adIds&&(d.ad_id=a.adIds);null!=a.adSystems&&
(d.ad_sys=a.adSystems);null!=a.Gs&&(d.encoded_ad_playback_context=a.Gs);c.Bf&&(d.cc_lang_pref=c.Bf);c.Cf&&2!=c.Cf&&(d.cc_load_policy=c.Cf);c.mute&&(d.mute=c.mute);a.zf&&2!=c.zf&&(d.iv_load_policy=a.zf);a.Bh&&(d.itct=a.Bh);SC(a,c)&&(d.autoplay="1");a.dl&&(d.autonav="1");a.Ao&&(d.noiba="1");a.isMdxPlayback&&(d.mdx="1",d.ytr=a.rf);a.mdxControlMode&&(d.mdx_control_mode=a.mdxControlMode);a.gs&&(d.ytrcc=a.gs);a.Do&&(d.utpsa="1");a.isFling&&(d.is_fling="1");a.zo&&(d.mute="1");a.vnd&&(d.vnd=a.vnd);a.Kn&&
(d.force_ad_param_ad_type="video_ad",d.force_ad_param_url=a.Kn,d.force_ad_param_break_type="1",d.force_ad_param_offset_value=0);e.width&&(d.width=e.width);e.height&&(d.height=e.height);a.Rf&&(d.splay="1");a.ypcPreview&&(d.ypc_preview="1");QC(a,c)&&(d.content_v=QC(a,c));a.bj&&(d.livemonitor=1);c.hc&&(d.authuser=c.hc);c.pageId&&(d.pageid=c.pageId);c.Ma&&(d.ei=c.Ma);c.g&&(d.iframe="1");a.gg&&(d.tst=a.gg);a.contentCheckOk&&(d.cco="1");a.racyCheckOk&&(d.rco="1");c.Xa&&a.liveStartWalltime&&(d.live_start_walltime=
a.liveStartWalltime);c.Xa&&a.Ho&&(d.live_manifest_duration=a.Ho);c.Xa&&a.playerParams&&(d.player_params=a.playerParams);c.Xa&&a.cycToken&&(d.cyc=a.cycToken);c.Xa&&a.wy&&(d.tkn=a.wy);0!=f&&(d.vis=f);c.enableSafetyMode&&(d.enable_safety_mode="1");a.ll&&(d.kids_age_up_mode=a.ll);a.Km&&(d.upg_content_filter_mode="1");c.widgetReferrer&&(d.widget_referrer=c.widgetReferrer.substring(0,128));(e=c.ub.embedding_app)&&(d.embedding_app=e);(e=g.wC(a))&&(d.uloc=e);a.aj&&(d.internalipoverride=a.aj);c.Xa&&a.vg&&
(d.wpid=a.vg);c.Oc&&(d.embed_config=c.Oc);c.Zj&&(d.co_rel="1");0<c.oe.length&&(d.ancestor_origins=Array.from(c.oe).join(","));for(b in d)d[b]&&512<d[b].length&&(g.N(Error("GVI param too long: "+b)),d[b]="");a=g.fh(c.baseYtUrl+"get_video_info",d)}b=2;this.g.isAd()&&(b=0);c=this.g;d=this.A.Ea;e=this.A.experiments;f=this.A.Zb;c.ga()||(c.Yn=a,c.kq=b,c.fi=d,c.Ut=f,c.Tx=!g.S(e,"web_player_data_on_fail_killswitch")||g.S(e,"enable_uturn_error_screen"),c.Ax=!g.S(e,"disable_gvi_cors"),c.Xn=g.T(e,"html5_get_video_info_timeout_ms")||
0,c.jt=g.S(e,"html5_get_video_info_promiseajax"),c.Ee=!0,c.Ox())}}};
g.h.Ns=function(){if(!this.ga()){if(rC(this.g)&&(this.g.pa&&(this.Z=new Lca,aea(this),0<this.g.sc&&!sC(this.g)||(TI(this,mJ(this),!0),UI(this,"playbackData"))),this.g.sa.g&&g.nJ(this),lJ(this,"i"),this.Z&&this.g.sa.g))if(sC(this.g)){var a=(0,g.A)(this.B.av,this.B);this.Z.l=a}else this.g.ka&&(a=(0,g.A)(this.g.ka.qE,this.g.ka),this.Z.l=a);this.Ta&&hJ(this);a=this.g;a.endSeconds&&a.endSeconds>a.startSeconds&&GI(this,a.endSeconds);g.S(this.A.experiments,"html5_probe_media_capabilities")&&(this.ra.g=!0);
HI(this,"dataloaded");this.Y.l?QI(this):this.Ta&&II(this,vD(vD(this.o,512),1));if(null!=this.g.sa&&0<this.g.sa.videoInfos.length&&null!=this.g.sa.videoInfos[0].o){a=this.g.sa.videoInfos[0];for(var b=null,c=g.p(this.g.sa.videoInfos),d=c.next();!d.done;d=c.next())if(d=d.value,d.o){b=d;break}b&&this.Wa("mediacapabilities","bestHeight."+a.video.height+";bestSmoothHeight."+b.video.height+";updateConstraint."+(b.video.height<a.video.height))}}};
g.h.logEvent=function(a,b){if(this.C){var c=this.C,d={};d.rt=g.cD(c.g).toFixed(3);g.Ma(d,dD(c.g));var e=c.g.g,f=c.g.videoData,k={ns:e.ca,html5:"1",el:PC(f,e),ps:e.playerStyle,fexp:e.experiments.experimentIds.join(",")||void 0,feature:f.fq||f.Hj||void 0,ctrl:f.Ie||void 0,ytr:f.rf||void 0,list:f.playlistId};SC(f,e)&&(k.autoplay="1");f.subscribed&&(k.subscribed=f.subscribed);g.Ma(d,k);delete d.fexp;g.Ma(d,a);d=g.cs(c.g.g.baseYtUrl+"player_204",d);XD(c,d,b)}};
g.h.isPeggedToLive=function(){return!!this.G&&this.G.isPeggedToLive()};
g.h.BC=function(){return this.o};
g.h.getPlayerType=function(){return this.tb};
g.h.XK=function(){!ZI(this,"html5_drm_new_source_new_elem_killswitch")&&this.g.sa.g&&tz(this.g.ka)?yJ(this):(eJ(this),II(this,vD(this.o,16)),hJ(this),g.AD(this.o)&&iJ(this))};
g.h.getAvailableAudioTracks=function(){return g.S(this.A.experiments,"html5_hls_select_audio_killswitch")?this.g.sa?this.g.sa.getAvailableAudioTracks():[]:this.g.getAvailableAudioTracks()};
g.h.getAudioTrack=function(){if(g.S(this.A.experiments,"html5_hls_select_audio_killswitch")){var a=this.getVideoData(),b=a.Ib;if(!b)return a.sg;var c=g.Ra(this.getAvailableAudioTracks(),function(a){return a.id==b.id});
return c?c:a.sg}return this.g.getAudioTrack()};
g.h.FC=function(){if(g.T(this.A.experiments,"html5_background_quality_cap")&&this.B){var a="v";g.S(this.A.experiments,"html5_vis_upgrades_are_resizes")&&!PI(this)&&(a="r");lJ(this,a)}g.S(this.A.experiments,"html5_cut_vss_on_visibility")&&this.C&&g.ZC(this.C.o);this.A.eh&&!this.g.backgroundable&&this.l&&!GJ(this)&&(PI(this)&&this.l.vl()?(this.Wa("bgmobile","suspend"),g.aJ(this,!0)):PI(this)||hJ(this)&&this.Wa("bgmobile","resume"))};
g.h.QH=function(a){if(this.I){var b=this.I;Nz(b.g)&&(a=GF(a),LH(b,new rH(a)))}};
g.h.FI=function(a,b){this.I?LH(this.I,new rH(b,a)):this.yb.push({type:a,info:b})};
g.h.Cw=function(){Pz&&this.ia&&this.ia.g&&this.I&&(Oda(this.I,this.ia.g),this.ia=null)};
g.h.mK=function(a){this.g.Jq=$w("auto",a,!1,"u");lJ(this,"u")};
g.h.cI=function(a){YI(this,a.reason,a.video.info,a.audio.info);this.Z&&(this.Z.g=a.audio.index)};
g.h.bI=function(a){WI(this,a.reason,a.audio.info)};
g.h.hj=function(a){dea(this,a);if("html5.invalidstate"!=a.errorCode&&"fmt.unplayable"!=a.errorCode&&"fmt.unparseable"!=a.errorCode||!zJ(this,a.errorCode,a.details)){var b=/^pp/.test(this.g.clientPlaybackNonce);if(cea(a))if(a.details.sts="17710",vJ(this))if(g.U(this.o,4))this.Ne=!0,CI(this);else{this.C&&(a.g&&(a.details.e=a.errorCode,a.errorCode="qoe.restart",a.g=!1),this.C.onError(a.errorCode,eB(a.details)));fJ(this);return}else a:if(!(6048E5>g.P()-this.A.Me)){if(!ZI(this,"html5_retire_by_reload_killswitch"))try{window.location.reload(!0);
break a}catch(c){}ZI(this,"tvhtml5_retire_old_players")&&g.RA(this.A)&&xJ(this)}if(wJ(a)&&this.g.sa.l){if(this.C)this.C.onError(a.errorCode,eB(a.details));this.Wa("highrepfallback","1",!0);Aca(this.g);AI(this);CI(this);tJ(this);iJ(this)}else a.g?(b=this.B?this.B.F.B:null,b=wJ(a)&&b&&b.isLocked()?"YTP_ERROR_FORMAT_UNAVALIABLE":void 0,g.LI(this,a.errorCode,b,eB(a.details))):this.C&&(this.C.onError(a.errorCode,eB(a.details)),b&&"manifest.net.connect"==a.errorCode&&(a="https://www.youtube.com/generate_204?cpn="+
this.g.clientPlaybackNonce+"&t="+g.P(),(new yG(a,"manifest",(0,g.A)(function(a){this.Wa("pathprobe",a)},this),(0,g.A)(function(a){this.onError(a.errorCode,eB(a.details))},this.C))).send()))}};
g.h.Ks=function(){if(g.S(this.A.experiments,"html5_new_seeking"))jI(this.F,this.F.getCurrentTime(),!0);else{if(!(0,window.isNaN)(this.T)&&this.l){var a=this.gj(),b=mJ(this);!this.g.pa&&this.T>=b-.01?(this.T=a,this.P("endseeking",this),VI(this,!0),xI(this)):(this.B&&this.B.seek(this.T),(!this.g.pa||1<=this.l.kd())&&this.l.ob(this.T),this.B&&!g.U(this.o,2)&&II(this,vD(this.o,16)))}rJ(this)}};
g.h.getCurrentTime=function(){if(this.F)return this.F.getCurrentTime();if(!(0,window.isNaN)(this.T)&&(g.S(this.A.experiments,"html5_seektoinfinite_killswitch")||(0,window.isFinite)(this.T)))return this.T;var a=0;this.l&&1<=this.l.kd()?a=this.l.getCurrentTime():this.g&&(a=this.g.Te||this.g.startSeconds||0);return a};
g.h.gj=function(){return this.g.lengthSeconds?this.g.lengthSeconds:mJ(this)?mJ(this):0};
g.h.TA=function(){var a=new Nba;if(this.B){var b=this.A.schedule;a.o=b.I;a.B=b.J;a.bandwidthEstimate=g.oA(b);a.g="d."+lA(b).toFixed(2)+";st."+(1E9*(b.A.l()||0)).toFixed(2)+";bw."+b.g.l().toFixed(0)+";abw."+b.F.l().toFixed(0)+";v50."+iA(b.l,.5).toFixed(2)+";v92."+iA(b.l,.92).toFixed(2)+";v96."+iA(b.l,.96).toFixed(2)+";v98."+iA(b.l,.98).toFixed(2);b=this.B;if(b.A&&!Aw(b.A)&&(a.l=XF(b.g)?b.g.B.A:ow(b.A.l.Eb(),b.B),a.A=XF(b.o)?b.o.B.A:ow(b.A.g.Eb(),b.B),b.l.ca)){var c=ZF(b.g),d=ZF(b.o),e=kw(b.A.l.Eb(),
"_"),f=kw(b.A.g.Eb(),"_");a.g=(a.g||"")+(";lvq."+c+";laq."+d+";lvb."+e+";lab."+f)}a.bandwidthEstimate=lG(b.I)}else this.l&&(a.l=mD(this.l));a.C=this.Ys();return a};
g.h.oK=function(){this.I&&JH(this.I,this.g.oauthToken);HI(this)};
g.h.nK=function(a){g.LI(this,"auth",(0,window.unescape)(a.reason),a.errordetail||"sec."+a.errorcode,a.subreason)};
g.h.EC=function(a){var b=a.target.Ec();if(this.l&&this.l.Ec()&&this.l.Ec()==b){PJ(this,a.type);var c=!1;switch(a.type){case "error":if(0<this.l.jf()&&zJ(this,pD(this.l)||"",{msg:this.l.Jh()}))return;if(PI(this)&&4==this.l.jf()){g.aJ(this);KJ(this,"unplayable");return}break;case "durationchange":var d=this.l.Tb();(!this.L||(0,window.isFinite)(d)&&0<d)&&1!=d&&this.g.lengthSeconds!=d&&(this.g.lengthSeconds=d,HI(this));break;case "ratechange":this.B&&(this.B.I.o=Math.max(1,this.l.Ub()));d=this.J;d.C=
!0;d.o();break;case "loadedmetadata":if(this.g.startSeconds){if(!this.F)if(!ZI(this,"html5_utc_start_seconds_killswitch")&&MC(this.g)&&this.g.sc&&(0,window.isFinite)(this.g.sc)&&1E9<this.g.sc&&this.g.ka){d=mJ(this)-Hz(this.g.ka,mJ(this))+this.g.sc;TI(this,d,!0);break}else!ZI(this,"html5_utc_start_seconds_killswitch")&&this.g.ka&&this.g.ka.l&&0!=this.g.sc&&TI(this,this.g.sc,!0);g.S(this.A.experiments,"html5_new_seeking")||(0<this.l.vh().length?(d=this.g.startSeconds,g.S(this.A.experiments,"html5_clamp_on_loaded_metadata_killswitch")?
d=g.od(d||0,this.rb(),mJ(this)):(0,window.isFinite)(d)||(d=mJ(this)),this.l.gi(d)):(this.Ga=this.g.startSeconds,VI(this,!0)))}this.P("onLoadedMetadata");case "loadstart":window.clearInterval(this.bc);this.xn()||(this.bc=g.Wr((0,g.A)(this.xn,this),100));break;case "progress":this.Ga&&this.l&&(d=this.l.vh(),d.length&&d.end(0)>this.Ga&&(this.l.gi(this.Ga),this.Ga=window.NaN,this.Mc=this.Ea.M(this.l,"canplay",this.vH,this)));case "suspend":CJ(this);this.P("onLoadProgress",this,eea(this));g.U(this.o,8)&&
(this.fh?c=!0:this.gh&&((0,window.isNaN)(this.Pc)||this.Pc+1<this.l.getCurrentTime())&&(c=!0,this.Pc=this.l.getCurrentTime()));break;case "seeked":JJ(this);break;case "seeking":if(!g.S(this.A.experiments,"html5_new_seeking")){d=this.getCurrentTime();this.B&&this.B.seek(d);var e=this.Ra;e.g=d;e.l=!0}break;case "playing":this.N.g("plev");dC("plev");this.Me&&(this.Me=!1,gJ(this)||(TI(this,window.Infinity,!0),UI(this,"onPlaying")));break;case "timeupdate":d=this.l&&!this.l.getCurrentTime();e=this.l&&
0==this.l.kd();if(d&&(!this.Ua||e))return;this.Ua=this.Ua||!!this.l.getCurrentTime();this.xn();JJ(this);CJ(this);if(!this.l||this.l.Ec()!=b)return;this.P("onVideoProgress",this,this.l.getCurrentTime());break;case "waiting":if(0<this.l.Pi().length&&0==this.l.ye().length&&0<this.l.getCurrentTime()&&5>this.l.getCurrentTime()&&this.B)return;break;case "resize":this.g.xa&&"auto"==this.g.xa.video.quality&&this.P("internalvideoformatchange",this.g,!1);break;case "pause":if(this.vf&&g.U(this.o,8)&&!g.U(this.o,
1024)&&0==this.getCurrentTime()&&g.eA){KJ(this,"safari_autoplay_disabled");return}}if(this.l&&this.l.Ec()==b){this.P("videoelementevent",a);b=this.o;if(!g.U(b,128)){d=this.Ra;var f=this.A.experiments;e=b.l;var k=a.target,l=a.target.getCurrentTime();if(!g.U(b,64)||"ended"!=a.type&&"pause"!=a.type){var m=k.Dg()||l&&1.1>Math.abs(l-k.Tb()),n="pause"==a.type&&k.Dg(),q="ended"==a.type;f&&g.S(f,"html5_waiting_before_ended")&&(q=q||"waiting"==a.type||"timeupdate"==a.type&&!g.U(b,4)&&!rD(d,l));if(n||m&&q)0<
k.Rk()&&k.Ec()&&(e=14);else switch(a.type){case "error":pD(k)&&(e|=128);break;case "pause":g.U(b,256)?(e^=256)||(e=64):g.U(b,32)||g.U(b,2)||g.U(b,4)||(e=4,g.U(b,1)&&g.U(b,8)&&(e|=1));break;case "playing":e=(e|8)&-1029;rD(d,k.getCurrentTime())&&(e&=-2);g.U(b,1)&&sD(d,k.getCurrentTime(),g.P(),mD(k))&&(e|=1);break;case "seeking":e|=16;f&&g.S(f,"html5_seeking_buffering_only_playing")&&!g.U(b,8)||(e|=1);e&=-3;break;case "seeked":e&=-17;break;case "waiting":g.U(b,2)||(e|=1);sD(d,k.getCurrentTime(),g.P(),
mD(k));break;case "timeupdate":f=!!f&&g.S(f,"html5_seeking_fix_killswitch")&&g.U(b,16),(g.U(b,8)||f)&&rD(d,k.getCurrentTime())&&(e=8),sD(d,k.getCurrentTime(),g.P(),mD(k))&&(e|=1)}}d=e;e=null;d&128&&(e=a.target,(k=pD(e))?(f="mediaElem.1",e.Jh()&&(f+=";msg."+e.Jh()),.001>Math.random()&&(f+=";gpu."+(0,g.NI)()),e={errorCode:k,errorDetail:f,message:g.Q("YTP_ERROR_GENERIC_WITHOUT_LINK"),messageKey:"YTP_ERROR_GENERIC_WITHOUT_LINK"}):e=null);b=uD(b,d,e)}!g.U(this.o,1)&&g.U(b,1)&&OJ(this,"evt_"+a.type);II(this,
b);c&&this.l.play()}}};
g.h.IG=function(a){a="available"==a.g.availability;a!=this.cd&&(this.cd=a,this.P("airplayavailabilitychange"))};
g.h.JG=function(){var a=this.l.Kg();if(a!=GJ(this)){ZI(this,"html5_new_vis_fullscreen_and_airplay")||(this.ig=a);var b=this.fa;b.o!=a&&(b.o=a,b.A());a&&(g.AC(this.g,this.A,GJ(this)),lJ(this,"m"))}this.P("airplayactivechange")};
g.h.xn=function(){var a=this.l;a&&this.Ua&&!this.g.Ed&&!cC("vfp","")&&2<=a.kd()&&!a.Dg()&&0<nw(a.ye())&&this.N.g("vfp");if((a=this.l)&&!this.g.Ed&&0<a.Tb()){!cC("pbp","")&&a.Lg()&&2<=a.kd()&&0<nw(a.ye())&&this.N.g("pbp");var b=g.S(this.A.experiments,"html5_use_start_seconds_for_pbs")?this.g.startSeconds+.1:0;if(a.getCurrentTime()>b){window.clearInterval(this.bc);this.na.stop();this.g.Ed=!0;this.A.Ed=!0;this.A.Y=0;HJ(this);g.U(this.o,8)&&II(this,wD(this.o,65));if(this.C){a=this.C;if(!a.B){g.S(a.g.g.experiments,
"disable_embedpage_playback_logging")||16623!=a.g.videoData.rootVeType||Rr(Error("Playback for EmbedPage"));b=UD(a,"playback");a.J=[10+a.g.videoData.Ah,10,10,40+a.g.videoData.ej-a.g.videoData.Ah,40];var c=a.o;window.clearInterval(c.F);c.F=window.NaN;c.F=g.Wr((0,g.A)(c.update,c),100);c.C=g.cD(c.l);c.A=XC(c.l);b.l=TD(a,!0);b.send();a.g.videoData.Tl&&(b=a.g.g,c=a.g.videoData,c={html5:"1",video_id:c.videoId,cpn:c.clientPlaybackNonce,plid:c.playbackId,ei:c.eventId,ptk:c.Tl,oid:c.Ww,ptchn:c.Vw,pltype:c.Xw,
content_v:QC(c,b)},b=g.fh(b.baseYtUrl+"ptracking",c),XD(a,b));a.g.videoData.enableCardio&&(a.G("playback"),a.A||$D(a));a.g.videoData.we||ZD(a);a.B=!0;a=a.o;a.g=a.l.l();a.C=g.cD(a.l);!(0==a.o&&5>a.g)&&2<a.g-a.o&&(a.o=a.g)}g.Vr((0,g.A)(this.lq,this),4500)}this.P("playbackstarted");g.mu()&&((a=g.z("yt.scheduler.instance.clearPriorityThreshold"))?a():ou(0));return!0}}return!1};
g.h.vH=function(){this.Mc&&(this.Ea.Na(this.Mc),delete this.Mc,this.Cj())};
g.h.rB=function(){if(this.l&&!g.U(this.o,128)){this.g.Qf&&g.T(this.A.experiments,"html5_log_rebuffer_events")&&PJ(this,"pfx");var a=this.getCurrentTime();if(g.U(this.o,8)&&rD(this.Ra,a))II(this,wD(this.o,1));else if(g.U(this.o,8)&&sD(this.Ra,a,g.P(),mD(this.l))){var b=this.gj();!this.g.pa&&b&&1.1>Math.abs(b-a)?this.l.ep()?TI(this,0,!0):xI(this):(g.CD(this.o)||OJ(this,"progress_fix"),II(this,vD(this.o,1)))}else g.U(this.o,4)&&g.CD(this.o)&&5<mD(this.l)&&II(this,wD(this.o,1));CJ(this)}};
g.h.QA=function(){return this.B?lG(this.B.I):g.oA(this.A.schedule)};
g.h.Ss=function(){return this.l?mD(this.l):0};
g.h.SA=function(){return this.A.schedule.I};
g.h.Ys=function(){if(!(this.g.pa&&this.g.ka&&this.B&&gJ(this)&&g.zD(this.o)))return window.NaN;var a=sC(this.g)?this.B.av():this.g.ka.I;return(0,g.D)()/1E3-DJ(this)-a};
g.h.gB=function(){this.g.pa||this.P("connectionissue")};
g.h.aL=function(){g.S(this.A.experiments,"html5_new_seeking")||this.l.ob(this.l.getCurrentTime()+.1)};
g.h.Cj=function(){var a=this;if(this.Nb=this.l.Gb()){var b=this.Nb;b.then(void 0,function(c){if(!g.U(a.o,4)&&!g.U(a.o,256)&&a.Nb==b){var d="promise";!ZI(a,"html5_log_dompause_err_killswitch")&&c&&c.name&&(d+=";m."+c.name);KJ(a,d);a.vf=!0}})}};
g.h.HI=function(a){var b={};g.Ma(b,this.A.o);b.cpn=this.g.clientPlaybackNonce;this.g.Le&&(b.vvt=this.g.Le,this.g.mdxEnvironment&&(b.mdx_environment=this.g.mdxEnvironment));this.A.hc&&(b.authuser=this.A.hc);this.A.pageId&&(b.pageid=this.A.pageId);g.tc(a.F,b);wH(a,a.T)};
g.h.TH=function(a,b,c,d){d=void 0===d?"YTP_ERROR_LICENSE":d;c=c.substr(0,256);"drm.keyerror"==a&&1<this.I.l.keys.length&&96>this.wf&&(a="drm.sessionlimitexhausted",b=!1);if(b)g.LI(this,a,d,c);else if(this.C)this.C.onError(a,c);"drm.sessionlimitexhausted"==a&&(this.wf++,NJ(this))};
g.h.VH=function(){var a=this,b=g.T(this.A.experiments,"html5_license_constraint_delay"),c=xs("smart-tv")&&xs("samsung");b&&c?(b=new g.L(function(){lJ(a,"l");HI(a)},b),g.I(this,b),b.start()):(lJ(this,"l"),HI(this))};
g.h.UH=function(){var a=this;Pz&&(this.ia=yba(this.g.ka))&&(this.ia.g?g.Zf(function(){a.Cw()}):Cda(this.B,this.ia))};
g.h.CC=function(a){this.P("heartbeatparams",a)};
g.h.DC=function(a){this.Wa("keystatuses",Lda(a));var b=0;this.g.xa&&(b=this.g.xa.video.g);var c=g.S(this.A.experiments,"html5_drm_start_from_null_constraint"),d=c&&!(FH(a,"AUDIO")&&FH(a,"SD"));a:{for(var e in a.g)if("output-restricted"==a.g[e].status){a=!0;break a}a=!1}a&&(!c&&480<b||d)&&this.P("drmoutputrestricted")};
g.h.ZH=function(){if(!this.g.Ed&&this.l&&!PI(this)){var a="0";0<this.l.kd()&&5<=mD(this.l)&&this.g.sa.g&&(II(this,vD(this.o,1)),OJ(this,"load_soft_timeout"),this.P("playbackstalledatstart"),a="1");this.C&&(IJ(this),a={restartmsg:a},SI(this)&&(a.prerolls=this.ea.join(",")),this.B&&g.Ma(a,mH(this.B)),this.l&&g.Ma(a,this.l.Ih()),this.C.onError("qoe.start15s",eB(a)));0<this.mg&&this.lg<this.mg&&(this.lg++,NJ(this));this.P("loadsofttimeout")}};
g.h.lq=function(){if(!this.Za){var a=new bI(this.g,this.eh);if("c1a"in a.l){var b=g.z("yt.abuse.player.botguardInitialized");b=!(b&&b())}else b=!1;if(b)g.Vr((0,g.A)(this.lq,this),4500);else{if(a.g&&a.g.Ai){a.A&&(a.A.value=a.g.Ai+("&r1b="+a.g.clientPlaybackNonce));b=[a.g.Ai];for(var c in a.o)if(a.l[c]&&a.o[c]){var d=a.o[c](a.l);d&&b.push(d)}a=b.join("&")}else a=null;a&&this.C&&(c=this.C,c.N||(b=UD(c,"atr"),b.J=a,b.send(),c.N=!0),this.Za=!0)}}};
g.h.rb=function(){return g.S(this.A.experiments,"html5_new_seeking")?this.F?this.F.rb():0:this.g.rb()};
g.h.Bu=function(){return this.Ia};
g.h.Wn=function(){return this.l?this.l.gp():{}};
g.h.Wa=function(a,b,c){if(this.C){var d=this.C;d.ga()||ID(d.l,a,b,void 0===c?!1:c)}};g.r(QJ,bE);g.h=QJ.prototype;g.h.getPlayerType=function(){return this.playerType};
g.h.getRootNode=function(){return g.YJ(this).element};
g.h.Fe=function(){return this.app.C};
g.h.getVideoData=function(a){return(a=g.W(this.app,a||this.playerType))&&a.getVideoData()};
g.h.isWidescreen=function(){return this.app.isWidescreen()};
g.h.Gb=function(a){3==this.Da()?g.WJ(this.app.A).rj("control_play"):qW(this.app,a)};
g.h.sd=function(a){AJ(g.W(this.app,a))};
g.h.addEventListener=function(a,b){this.app.ca.subscribe(a,b)};
g.h.removeEventListener=function(a,b){this.app.ca.unsubscribe(a,b)};
g.h.zl=function(a){this.Wu(a,a)};
g.h.lj=function(a){return QV(this.app,a)};
g.h.getVideoUrl=function(a,b,c,d){var e=this.Da(),f=2==e;if(d&&f||3==e)f=!1,e=1;d=this.getVideoData(e);if(!d)return"";var k;a||d.pa||(k=Math.floor(this.getCurrentTime(e)));return this.app.g.getVideoUrl(d.videoId,f?void 0:this.getPlaylistId()||void 0,k,b,c)};
g.h.qj=function(a,b,c){var d=g.RJ(this).A;d&&d.Wo(a,b,c)};
g.h.zc=function(){if(g.V(this).I)return!1;var a=g.W(this.app,1);if(!a)return!1;var b=a.getVideoData();return b.Uc()&&!g.LC(b)&&2!=this.Da()&&(!SI(a)||3==this.Da())};
g.h.He=function(a,b,c){var d=this.app;(c=g.W(d,c||this.playerType))&&d.g.Ya.has(a.toString())?c.C?(d=UD(c.C,"engage"),d.C=a,d.send(b)):b&&b():b&&b()};
g.h.Jd=function(a,b){NV(this.app,a,b)};
g.h.setVolume=function(a){a=g.od(a,0,100);Dv(this.app,{volume:a,muted:this.isMuted()},!0)};
g.h.mute=function(){Dv(this.app,{muted:!0,volume:this.Bb()},!0)};
g.h.Ge=function(){Dv(this.app,{muted:!1,volume:Math.max(5,this.Bb())},!0)};
g.h.Ae=function(){return g.W(this.app)};EK.prototype.fetch=function(a){var b=this,c=a.match(/\[(?:BISCOTTI_|AN)ID\]/g);if(!c)return GK(this,a);var d=c.includes("[BISCOTTI_ID]");c=c.includes("[ANID]");var e=1===this.l;e&&(d&&FK(this,"a_bid_s"),c&&FK(this,"a_mid_s"));var f=d?iea():"",k=c?kea():"";if(null!==f&&null!==k)return e&&(d&&FK(this,"a_bid_f"),c&&FK(this,"a_mid_f")),GK(this,a,f,k);f=d?jea():ig("");k=c?lea():ig("");e&&(d&&pg(f,function(){return FK(b,"a_bid_f")}),c&&pg(k,function(){return FK(b,"a_mid_f")}));
return g.ng([f,k]).then(function(c){return GK(b,a,c[0],c[1])})};var Rga={nO:"replaceUrlMacros",xN:"isExternalShelfAllowedFor"};g.B(g.HK,g.O);g.h=g.HK.prototype;g.h.load=function(){this.loaded=!0};
g.h.unload=function(){this.loaded=!1};
g.h.Wb=function(){return!0};
g.h.U=function(){this.loaded&&this.unload();g.HK.wa.U.call(this)};
g.h.gz=function(){return{}};g.r(JK,g.gE);JK.prototype.Ff=function(){this.o=!0};QK.prototype.showCompanion=function(a,b,c){return RK(this).then(function(){return VK(a,b,c)})};XK.prototype.showCompanion=function(a,b){b.contentVideoId||(b.contentVideoId=a);this.l.ma("updatekevlarcompanion",b)};YK.prototype.G=function(){return!1};g.r(aL,YK);aL.prototype.l=function(){return!0};
aL.prototype.isSkippable=function(){return null!=this.R};
aL.prototype.G=function(){return!0};g.r(cL,YK);cL.prototype.l=function(){return!1};g.r(dL,YK);dL.prototype.l=function(){return!1};g.r(fL,YK);fL.prototype.l=function(){return!1};g.r(gL,YK);lL.prototype.kc=function(a,b){var c=this;a.forEach(function(a){return c.xe(a,b)})};
lL.prototype.xe=function(a,b){var c=this;(a.loggingUrls||a.urlEndpoint&&a.urlEndpoint.url)&&oL(a,b);a.adLifecycleCommand&&sea(this,a.adLifecycleCommand);a.adPlayerControlsCommand&&tea(this,a.adPlayerControlsCommand);a.commandExecutorCommand&&a.commandExecutorCommand.commands&&a.commandExecutorCommand.commands.forEach(function(a){return c.xe(a,b)})};g.r(qL,g.R);qL.prototype.kc=function(a){a=void 0===a?null:a;null!=a&&pL(a,this.o)};
qL.prototype.xe=function(a){a=void 0===a?null:a;null!=a&&oL(a,this.o)};g.r(rL,g.G);rL.prototype.fk=function(a){this.ha().appendChild(a)};
g.r(tL,rL);tL.prototype.ha=function(){return this.g};g.r(X,g.tv);g.h=X.prototype;g.h.jh=function(a){sL(a,this.na)};
g.h.bind=function(a){if(this.T)this.Ml(a);else if(a.renderer){var b=Object.assign({},uL(this.l,this.o),a.macros);this.init(a.id,a.renderer,b,a)}return window.Promise.resolve()};
g.h.init=function(a,b,c){this.T=a;this.element.setAttribute("id",this.T);this.fa&&g.J(this.element,this.fa);this.macros=c;this.I=b.trackingParams||null;null!=this.I&&zL(this,this.element,this.I)};
g.h.Ml=function(){};
g.h.clear=function(){};
g.h.hide=function(){g.tv.prototype.hide.call(this);null!=this.I&&AL(this,this.element,!1)};
g.h.show=function(){g.tv.prototype.show.call(this);null!=this.I&&AL(this,this.element,!0)};
g.h.onClick=function(){if(null!=this.I){var a=this.element;zK(this.l,a)&&this.Ha()&&g.xK(this.l,a)}};
g.h.U=function(){this.clear(null);this.Na(this.ra);g.tv.prototype.U.call(this)};g.r(BL,g.G);BL.prototype.U=function(){this.l&&g.tt(this.l);this.g.clear();CL=null;g.G.prototype.U.call(this)};
BL.prototype.register=function(a,b){b&&this.g.set(a,b)};
var CL=null;g.r(GL,rL);GL.prototype.addEventListener=function(a,b){this.C.subscribe(a,b)};
GL.prototype.removeEventListener=function(a,b){this.C.unsubscribe(a,b)};
GL.prototype.dispatchEvent=function(a){this.C.P(a.type,a)};g.r(HL,g.G);g.h=HL.prototype;g.h.jh=function(a){sL(a,this.view)};
g.h.bind=function(a){var b=a.renderer,c=b.trackingParams;if(this.o&&this.o!=c)throw Error("Cannot re-bind presenter with new tracking params");if(c){this.o=c;var d=this.view,e=this.Db,f=d.ha();g.V(e).C&&g.xL(e.app.T,f,d);g.V(e).C&&g.yL(e.app.T,f,c)}this.l=b.impressionEndpoints||[];this.macros=Object.assign({},a.macros);return this.Bi(a)};
g.h.Ha=function(){return this.A};
g.h.show=function(){this.view.show();this.A=!0;var a=this.Db,b=this.view.ha();zK(a,b)&&g.yK(a,b,!0);this.kc(this.l);this.l=[]};
g.h.hide=function(){this.ro();this.A=!1;var a=this.Db,b=this.view.ha();zK(a,b)&&g.yK(a,b,!1)};
g.h.ro=function(){this.view.hide()};
g.h.onClick=function(a){a=void 0===a?{}:a;this.Aj(a);if(this.Ha()){a=this.Db;var b=this.view.ha();zK(a,b)&&g.xK(a,b)}};
g.h.xe=function(a){oL(a,IL(this))};
g.h.kc=function(a){pL(a,IL(this))};g.r(JL,g.O);g.h=JL.prototype;g.h.ha=function(){return this.g.element};
g.h.show=function(){if(!this.g.Ha()){this.ba.M(window.document,"click",this.mD);this.g.show();var a=this.ha(),b=g.fi(g.Wh(this.A)).width,c=g.fi(this.A),d=Uh(this.A);a.style.top=d.y+c.height+"px";a.style.right=b-d.x-c.width+"px"}};
g.h.hide=function(){this.g.Ha()&&(this.g.hide(),g.It(this.ba))};
g.h.setTitle=function(a){a?this.o.show():this.o.hide();this.o.jb(LL(a))};
g.h.mD=function(a){this.g.Ha()&&(a=a.target,g.ee(this.A,a)||(g.ee(this.l.g["ytp-ad-info-dialog-confirm-button"],a)?this.P("confirmClick"):g.ee(this.g.element,a)||this.P("externalClick")))};
var wea={GM:"confirmClick",XM:"externalClick"};g.r(ML,GL);ML.prototype.setTitle=function(a){this.g.setTitle(a)};
ML.prototype.show=function(){this.g.show()};
ML.prototype.hide=function(){this.g.hide()};
ML.prototype.ha=function(){return this.g.ha()};var xea={pz:ML},Sga=["confirmClick","externalClick"];g.r(NL,HL);g.h=NL.prototype;g.h.Bi=function(a){var b=this.xc();a=a.renderer;var c=b.g,d=a.confirmLabel||null;d?c.l.show():c.l.hide();c.l.jb(LL(d));b.setTitle(a.title||null);b.g.g.jb(LL(a.dialogMessage||null));g.Wd(KL(b.g));c=g.p(a.adReasons||[]);for(d=c.next();!d.done;d=c.next())d=d.value,KL(b.g).appendChild(g.Rd("li",null,LL(d)));this.g=a.confirmServiceEndpoint||null;return window.Promise.resolve()};
g.h.ro=function(){HL.prototype.ro.call(this);this.g&&(this.xe(this.g),this.g=null)};
g.h.Aj=function(a){switch(a.type){case "confirmClick":case "externalClick":this.hide()}};
g.h.xc=function(){return this.view};
g.h.Rc=function(){function a(a){return b.onClick(a)}
for(var b=this,c=g.p(Sga),d=c.next();!d.done;d=c.next())this.ba.M(this.view,d.value,a)};g.r(OL,X);OL.prototype.init=function(a,b,c){X.prototype.init.call(this,a,b,c);(a=(a=b.button&&b.button.buttonRenderer&&b.button.buttonRenderer.navigationEndpoint&&b.button.buttonRenderer.navigationEndpoint.adInfoDialogEndpoint)&&a.dialog&&a.dialog.adInfoDialogRenderer)?(b.hoverText?(b=FL(b.hoverText),Xd(this.A,b,0)):this.A=null,this.Rd.bind({renderer:a,macros:c}),this.show()):g.N(Error("adInfoDialogRenderer is missing in AdHoverTextButtonRenderer"))};
OL.prototype.C=function(){this.A&&g.gi(this.A,!1)};
OL.prototype.L=function(){this.Rd.Ha()||this.A&&g.gi(this.A,!0)};
OL.prototype.J=function(){this.Rd.show();this.C()};g.r(PL,qL);PL.prototype.B=function(a){g.ee(this.gc.element,a.target)||(g.zt(a),this.kc(this.l.onClickCommands),this.xe(this.l.clickthroughEndpoint))};g.r(QL,gL);QL.prototype.l=function(){return!1};
QL.prototype.B=function(){var a=new WK;a.imageCompanionAdRenderer=this.g;return a};
QL.prototype.A=function(){return this.C};
QL.prototype.o=function(a,b,c){return new PL(a,b,this.g,c)};g.r(RL,eL);g.r(SL,YK);SL.prototype.l=function(){return!0};g.r(TL,YK);TL.prototype.l=function(){return!1};g.r(VL,YK);VL.prototype.l=function(){return!0};g.r(WL,YK);WL.prototype.l=function(){return!0};g.r(XL,YK);XL.prototype.l=function(){return!0};g.r(aM,YK);aM.prototype.l=function(){return!0};
aM.prototype.G=function(){return!0};g.r(bM,YK);bM.prototype.l=function(){return!0};g.r(cM,YK);cM.prototype.l=function(){return!0};g.r(eM,eL);g.r(fM,YK);fM.prototype.l=function(){return!1};g.r(gM,qL);g.r(hM,gL);hM.prototype.l=function(){return!1};
hM.prototype.B=function(){var a=new oea;a.url=this.g.iframeUrl||null;a.width=this.g.iframeWidth||0;a.height=this.g.iframeHeight||0;var b=iM(this.g.impressionCommands||[]);a.impressionTrackingUrls=b;b=iM(this.g.onClickCommands||[]);a.clickTrackingUrls=b;a.adInfoRenderer=this.g.adInfoRenderer;b=new WK;b.iframeCompanionRenderer=a;return b};
hM.prototype.A=function(){return[new g.vd(300,60)]};
hM.prototype.o=function(a,b){return new gM(a,b,this.g)};jM.prototype.Yb=function(){return this.B};var Eea=["FINAL","CPN","MIDROLL_POS","SDKV","SLOT_POS"];g.r(vM,g.O);vM.prototype.dispose=function(){this.g.clear();g.O.prototype.dispose.call(this)};
var wM=null;g.y("ytads.bulleit.getVideoMetadata",function(a){return(a=xM().g.get(a))?a.tv():{}},void 0);
g.y("ytads.bulleit.triggerExternalActivityEvent",function(a,b,c){var d=xM();c=Fea(c);null!=c&&d.P(c,{queryId:a,viewabilityString:b})},void 0);g.r(DM,g.G);g.r(EM,g.G);g.r(MM,g.O);g.h=MM.prototype;g.h.tv=function(){return{}};
g.h.nm=function(){};
g.h.Ft=function(){};
g.h.zp=function(){return this.g.Tb(2)};
g.h.jo=function(){FM(this.l,"pause")};
g.h.Vk=function(){if(this.R)g.S(g.V(this.g).experiments,"bulleit_add_post_play_adblock_error")&&this.Qb("html5.unsupportedads");else{this.F||this.Kb();var a=this.l;a.o.hasOwnProperty("pause")&&FM(a,"resume")}};
g.h.Of=function(){var a=this.l;JM(a,0,!0);KM(a,0,0,!0);FM(a,"complete")};
g.h.rd=function(){var a=this.l;!a.o.hasOwnProperty("impression")||a.o.hasOwnProperty("skip")||a.o.hasOwnProperty("complete")||LM(a,"abandon")};
g.h.zh=function(){FM(this.l,"skip")};
g.h.Kb=function(){var a=SM(this);this.l.g.AD_CPN=a;GM(this.l);this.F=!0};
g.h.Qb=function(a){var b="",c="",d="";yM(this.g)&&(b=g.XJ(this.g,2).l,this.g.app.B&&(c=this.g.app.B.kd(),null!=this.g.app.B.jf()&&(d=this.g.app.B.jf())));var e=this.l;e.g=sM(e.g,qM(3,"There was an error playing the video ad. "+("Error code: "+a+"; s:"+b+"; ")+("rs:"+c+"; ec:"+d)));FM(e,"error")};
g.h.Wk=function(){};
g.h.kx=function(){this.P("b")};
g.h.lx=function(){this.P("g")};
g.h.mx=function(){this.P("h")};
g.h.nx=function(){this.P("i")};
g.h.ox=function(){this.P("j")};
g.h.qx=function(){this.P("k")};
g.h.rx=function(){this.P("o")};
g.h.dispose=function(){if(!this.ga()){QM(this);this.A.unsubscribe("b",this.kx,this);this.A.unsubscribe("g",this.lx,this);this.A.unsubscribe("h",this.mx,this);this.A.unsubscribe("i",this.nx,this);this.A.unsubscribe("j",this.ox,this);this.A.unsubscribe("k",this.qx,this);this.A.unsubscribe("o",this.rx,this);for(var a=this.A,b=[],c=g.p(a.g),d=c.next();!d.done;d=c.next()){d=g.p(d.value);var e=d.next().value;d.next().value==this&&b.push(e)}b=g.p(b);for(c=b.next();!c.done;c=b.next())a.g["delete"](c.value);
g.O.prototype.dispose.call(this)}};
g.h.Ak=function(){};g.r(TM,OK);g.r(VM,MM);VM.prototype.Vb=function(){var a=this,b=new TM(this.L.g,this.macros),c=this.g.getVideoData(2);!c||c.Ee?(this.o=function(c,e,f){e&&2==f&&(a.o&&(a.g.removeEventListener("videodatachange",a.o),a.o=null),WM(a,e,b))},this.g.addEventListener("videodatachange",this.o)):WM(this,c,b)};
VM.prototype.U=function(){this.o&&(this.g.removeEventListener("videodatachange",this.o),this.o=null);MM.prototype.U.call(this)};g.r(XM,OK);g.r(YM,MM);YM.prototype.Vb=function(){0<this.o&&this.Kb()};
YM.prototype.Kb=function(){this.Aa=new g.L(g.La(this.B,"e"),this.o,this);g.I(this,this.Aa);this.Aa.start();PM(this,[new XM(this.C.g,this.macros)]);MM.prototype.Kb.call(this)};
YM.prototype.rd=function(){MM.prototype.rd.call(this);this.B("a")};
YM.prototype.B=function(a){this.Aa&&this.Aa.stop();"e"==a&&this.Of();QM(this);this.P(a)};g.r(ZM,OK);g.r($M,MM);$M.prototype.Vb=function(){this.Kb()};
$M.prototype.Kb=function(){PM(this,[new ZM(this.o.g,this.macros)]);MM.prototype.Kb.call(this)};
$M.prototype.rd=function(){MM.prototype.rd.call(this);QM(this);this.P("a")};
$M.prototype.Qb=function(a){MM.prototype.Qb.call(this,a);QM(this);this.P("f")};g.r(aN,OK);g.r(bN,MM);bN.prototype.Vb=function(){var a=new aN(this.L.g,this.macros);PM(this,[a])};g.r(cN,MM);cN.prototype.Vb=function(){var a=SM(this);this.l.g.AD_CPN=a;GM(this.l)};g.r(dN,OK);g.r(eN,MM);eN.prototype.Vb=function(){var a=new dN(this.o.g,this.macros);PM(this,[a])};g.r(fN,OK);g.r(gN,MM);gN.prototype.Vb=function(){this.Kb()};
gN.prototype.Kb=function(){PM(this,[new fN(this.o.g)]);MM.prototype.Kb.call(this)};
gN.prototype.Qb=function(a){MM.prototype.Qb.call(this,a);QM(this);this.P("f")};g.r(hN,OK);g.r(iN,MM);iN.prototype.Vb=function(){var a=new hN(this.o.g,this.macros);PM(this,[a])};g.r(jN,OK);g.r(kN,MM);kN.prototype.Vb=function(){var a=new jN(this.L.g,this.macros);PM(this,[a])};g.r(lN,OK);g.r(mN,MM);g.h=mN.prototype;g.h.Vb=function(){this.Kb()};
g.h.nm=function(){this.o&&(this.o.g=!0,Iea(this,[this.o]))};
g.h.Kb=function(){this.o=new lN(this.B.g);this.o.g=this.B.A;PM(this,[this.o]);MM.prototype.Kb.call(this)};
g.h.zp=function(){return this.B.o};
g.h.rd=function(){MM.prototype.rd.call(this);nN(this,"a")};
g.h.zh=function(){MM.prototype.zh.call(this);nN(this,"e")};
g.h.Qb=function(a){MM.prototype.Qb.call(this,a);nN(this,"f")};
g.h.Wk=function(a){switch(a){case "skip-button":this.zh();break;case "survey-submit":nN(this,"e")}};g.r(oN,OK);g.r(pN,MM);pN.prototype.Vb=function(){this.Kb()};
pN.prototype.Kb=function(){PM(this,[new oN(this.o.g,this.macros)]);MM.prototype.Kb.call(this)};
pN.prototype.rd=function(){MM.prototype.rd.call(this);QM(this);this.P("a")};
pN.prototype.Qb=function(a){MM.prototype.Qb.call(this,a);QM(this);this.P("f")};g.r(qN,OK);g.r(rN,MM);g.h=rN.prototype;g.h.Vb=function(){0<this.o&&this.Kb()};
g.h.Kb=function(){this.Aa=new g.L(this.Of,this.o,this);g.I(this,this.Aa);this.Aa.start();PM(this,[new qN(this.B.g)]);MM.prototype.Kb.call(this)};
g.h.Of=function(){MM.prototype.Of.call(this);sN(this,"e")};
g.h.rd=function(){MM.prototype.rd.call(this);sN(this,"a")};
g.h.Qb=function(a){MM.prototype.Qb.call(this,a);sN(this,"f")};g.r(tN,g.G);tN.prototype.start=function(){this.ga()||this.g||(this.o=(0,g.D)(),this.g=new g.L(this.B,Math.max(0,this.A-this.l),this),g.I(this,this.g),this.g.start())};
tN.prototype.stop=function(){this.g&&(this.o=this.l=0,uN(this))};
tN.prototype.pause=function(){this.g&&(this.l+=(0,g.D)()-this.o,uN(this))};
tN.prototype.U=function(){uN(this);g.G.prototype.U.call(this)};g.r(vN,OK);g.r(wN,OK);g.r(xN,OK);g.r(yN,OK);g.r(zN,OK);g.r(AN,OK);g.r(BN,OK);g.r(CN,MM);g.h=CN.prototype;g.h.tv=function(){return{currentTime:this.g.getCurrentTime(2),duration:this.o.A,isPlaying:zM(this.g),isVpaid:!1,isYouTube:!0,volume:this.g.Bb()/100}};
g.h.Vb=function(){if(this.o.J)RM(this),GN(this,"f");else{var a=this.o.g.legacyInfoCardVastExtension,b=this.o.C;a&&b&&g.V(this.g).G.add(b,{rk:a});try{var c=this.o.g.sodarExtensionData;if(c&&c.siub&&c.bgub&&c.scs&&c.bgp){var d=(0,window.encodeURIComponent)(c.siub),e=(0,window.encodeURIComponent)(c.bgub);a=window;var f=a.document,k=c.bgp,l=c.scs;c={};l&&(c._scs_=l);c._bgu_="//pagead2.googlesyndication.com/bg/"+e+".js";c._bgp_=k;c._li_="v_h.3.0.0.0";var m=a.GoogleTyFxhY;m&&"function"==typeof m.push||
(m=a.GoogleTyFxhY=[]);m.push(c);var n=g.Ad(f).createElement("SCRIPT");n.type="text/javascript";n.async=!0;g.md(n,g.pe("//tpc.googlesyndication.com/sodar/"+d+".js"));f.getElementsByTagName("head")[0].appendChild(n)}}catch(q){g.N(q)}CM(this.g,!1);d=bL(this.o);g.S(g.V(this.g).experiments,"disable_force_iv_load_policy_on_bulleit")||(e=g.V(this.g),e.l||g.RA(e)||g.GA(e)?d.iv_load_policy=3:d.iv_load_policy=1);g.S(g.V(this.g).experiments,"enable_queueing_api_in_html5")?this.T||(this.B.start(),this.Ak(0)):
((e=g.S(g.V(this.g).experiments,"delay_bulleit_media_load_timer"))||this.B.start(),this.N?(this.g.np(d,2),e&&this.B.start(),this.g.Gb(2)):this.g.Ph(d,!0,2))}};
g.h.jo=function(){MM.prototype.jo.call(this);this.P("l",2)};
g.h.Vk=function(){MM.prototype.Vk.call(this);this.P("m",1)};
g.h.Kb=function(){MM.prototype.Kb.call(this);this.B.stop();var a=this.I,b=this.g.getVideoData(2);a.Z=b?b.clientPlaybackNonce:null;a=[];b=g.V(this.g);if(g.GA(b)||g.RA(b)){var c=this.g.getVideoData(2);if(c&&c.videoId&&c.isListed&&c.videoId==this.o.C){b=c.title;var d=c.author;c=c.profilePicture;b&&d&&c?b=[new xN(b),new wN(c),new yN(d)]:(g.N(Error("Channel metadata contains null for "+(b?d?"channel icon thumbnail.":"channel name.":"video title."),"WARNING")),b=[]);PM(this,b)}a.push(Kea(this));b=this.o.F;
null==b?b=null:(d={},b.urlEndpoint&&(d.url=b.urlEndpoint.url,d.target="TARGET_NEW_WINDOW"),b=new BN({navigationEndpoint:{urlEndpoint:d}}));b&&a.push(b);b=1E3*this.o.A;b=0<b&&7050>=b;this.o.isSkippable()&&!b&&(b=FN(this),(b=b.skipOrPreviewRenderer&&b.skipOrPreviewRenderer.skipAdRenderer)||(b=DN(this)),a.push(new AN(b)))}b=FN(this);a.push(new zN(b));PM(this,a);this.g.isMuted()&&(a=this.g.isMuted(),FM(this.l,a?"mute":"unmute"));this.P("m",1)};
g.h.Of=function(){MM.prototype.Of.call(this);GN(this,"e")};
g.h.rd=function(){MM.prototype.rd.call(this);GN(this,"a")};
g.h.zh=function(){MM.prototype.zh.call(this);GN(this,"e")};
g.h.Qb=function(a){MM.prototype.Qb.call(this,a);GN(this,"f")};
g.h.Ct=function(){this.Qb("net.timeout")};
g.h.nm=function(){this.bu&&this.g.Gb()};
g.h.Ft=function(a){g.CD(a.state)?this.C.start():this.C.pause()};
g.h.bu=function(){return 2==this.g.td(2)};
g.h.Wk=function(a){var b=this.l;if(!g.S(g.V(b.l).experiments,"disable_vss2_engage_for_bulleit")&&yM(b.l))switch(a){case "ad-title":b.l.He(14,void 0,2);break;case "ad-channel-thumbnail":case "advertiser-name":b.l.He(15,void 0,2);break;case "visit-advertiser":b.l.He(3,void 0,2)}switch(a){case "ad-mute-confirm-dialog-confirm-button":case "ad-feedback-dialog-close-button":case "ad-feedback-dialog-confirm-button":GN(this,"e");break;case "ad-mute-confirm-dialog-close-button":case "ad-feedback-undo-mute-button":case "ad-info-dialog-close-button":this.G||
this.nm();break;case "ad-info-icon-button":(this.G=this.bu())||this.g.Cb();break;case "ad-channel-thumbnail":case "advertiser-name":a=g.V(this.g).protocol+"://"+UA(g.V(this.g))+"/channel/"+this.o.N;g.kL(a);break;case "ad-title":this.g.Cb();g.kL(this.g.getVideoUrl());break;case "visit-advertiser":this.g.Cb();g.GA(g.V(this.g))&&(a=this.o.F)&&(Hea(this.l,a.loggingUrls||null),a.urlEndpoint&&a.urlEndpoint.url&&g.kL(a.urlEndpoint.url));LM(this.l,"clickthrough");break;case "skip-button":this.zh()}};
g.h.Ak=function(a){a=void 0===a?window.Infinity:a;if(this.o.J)RM(this),GN(this,"f");else{var b=bL(this.o);this.g.Tu(b,2,a)}};
g.h.dispose=function(){zM(this.g)&&this.g.sd(2);MM.prototype.dispose.call(this)};g.r(NN,g.O);g.h=NN.prototype;g.h.Yb=function(){return this.B.Yb()};
g.h.Il=function(){return mM(this.B)};
g.h.Ap=function(){return lM(this.B)};
g.h.ko=function(a){KK(a)||(this.R&&(this.Z=this.g.isPeggedToLive(),this.T=Math.ceil((0,g.D)()/1E3)),MN(a,this.C));hO(this.C,this);a=g.p(this.B.A);for(var b=a.next();!b.done;b=a.next())ON(b.value);this.G.l=!1;YB("video_to_ad",["apbs"]);this.Yw()};
g.h.fl=function(){return this.F instanceof fM||this.F instanceof dL||this.F instanceof cL||this.F instanceof gL};
g.h.Wt=function(){return!(this.F instanceof TL)&&!this.fl()};
g.h.Eo=function(){return this.F instanceof aL};
g.h.Yw=function(){this.F?this.Vb(this.F,!1):this.Ue()};
g.h.Xh=function(a){a=void 0===a?!1:a;LV(this.C.g.app,0);this.Ue(a)};
g.h.dw=function(){this.Xh()};
g.h.wG=function(){FM(this.l.l,"active_view_measurable")};
g.h.xG=function(){FM(this.l.l,"active_view_fully_viewable_audible_half_duration")};
g.h.AG=function(){};
g.h.BG=function(){};
g.h.CG=function(){};
g.h.DG=function(){};
g.h.FG=function(){FM(this.l.l,"active_view_viewable")};
g.h.Dp=function(a){null!=this.l&&(this.l.Ft(a),a=a.state,this.Y&&g.U(a,1024)?this.l.Qb("html5.invalidstate"):g.U(a,2)?this.I&&!this.J?this.l.Qb("html5.invalidstate"):(a=this.G,a.l=!1,a.J?YB("ad_to_video",["pbresume"]):YB("ad_to_ad",["apbs"]),this.l.Of()):g.zD(a)?(a=this.G,a.C&&!a.l&&(a.I=!1,a.l=!0,"ad_to_video"!=a.g&&(0,g.dE)("apbs",void 0,a.g)),this.l.Vk()):a.isError()&&!this.I?this.l.Qb(a.g.errorCode):g.U(a,4)&&this.l.jo())};
g.h.wv=function(){};
g.h.resume=function(){this.l&&this.l.nm()};
g.h.Bp=function(){mL(this.B)&&this.Ue()};
g.h.uv=function(){this.Bp()};
g.h.vv=function(a){this.C.g.ma("onAdUxUpdate",a)};
g.h.Cp=function(a){this.l.Wk(a)};
g.h.Vb=function(a,b){b=void 0===b?!1:b;g.$e(this.l);this.J=!1;var c=HN(this.g,a,this.macros,this.C,b);this.l=c;c.subscribe("a",g.La(this.Xh,!0),this);c.subscribe("b",this.wG,this);c.subscribe("e",this.Xh,this);c.subscribe("f",this.dw,this);c.subscribe("g",this.xG,this);c.subscribe("h",this.AG,this);c.subscribe("i",this.BG,this);c.subscribe("j",this.CG,this);c.subscribe("k",this.DG,this);c.subscribe("l",this.aB,this);c.subscribe("m",this.bB,this);c.subscribe("onAdUxUpdate",this.vv,this);c.subscribe("o",
this.FG,this);NM(c);a instanceof aL&&PN(this)};
g.h.Ue=function(a){a=void 0===a?!1:a;g.$e(this.l);if(!a){a=g.p(this.B.o);for(var b=a.next();!b.done;b=a.next())ON(b.value)}this.R&&this.Ap()&&this.F instanceof aL?fO(this.C,Lea(this)):fO(this.C)};
g.h.bB=function(a){this.J=!0;LV(this.C.g.app,a)};
g.h.aB=function(a){LV(this.C.g.app,a)};
g.h.Rn=function(){return this.F};
g.h.U=function(){g.$e(this.l);this.l=null;g.O.prototype.U.call(this)};g.r(SN,MM);g.h=SN.prototype;g.h.ko=function(a){var b=this;KK(a)||MN(a,this.I);if(this.o instanceof hM){a=this.g.getVideoData(2);if(!a||a.Ee||null==this.o.g||this.o.g.adVideoId!=a.videoId){this.B=function(a,d,e){d&&2==e&&null!=b.o.g&&b.o.g.adVideoId==d.videoId&&(b.B&&(b.g.removeEventListener("videodatachange",b.B),b.B=null),d.isListed&&NM(b))};
this.g.addEventListener("videodatachange",this.B);return}if(!a.isListed)return}NM(this)};
g.h.Vb=function(){var a=this;hO(this.I,this);if(AM(this.g)){var b=this.g.getVideoData(1),c=this.o.B();null!=c&&(c.macros=Object.assign({},this.macros),this.N.showCompanion(b.videoId,c))}else{var d=this.o.A();pea(this.N).then(function(b){a:{if(d&&b){b=g.p(b);for(var c=b.next();!c.done;c=b.next()){c=c.value;for(var e=g.p(d),l=e.next();!l.done;l=e.next())if(l=l.value,l.width==c.width&&l.height==c.height){b=l;break a}}}b=null}b&&(c=a.o.o(a.g,a.I,b),null!=c&&(g.I(a,c),e=a.N,e.g&&e.g.showCompanion(c.element,
b.width,b.height)))})}if(this.o instanceof hM){this.C=function(b){var c;
if(c=b.data)a:{try{if(gs(b.source.document.location.origin)){c=!0;break a}}catch(l){g.N(l)}c=!1}if(c)if(c=a.o.g,"companion-setup-complete"==b.data)try{b.source.postMessage(JSON.stringify(c),"*");var d=b.source.frameElement;d.parentNode.style.cssText="";d.width=String(c.iframeWidth);d.height=String(c.iframeHeight)}catch(l){g.N(l)}else"pause-video"==b.data&&a.g.Cb()};
try{window.addEventListener("message",this.C)}catch(e){g.N(e)}}};
g.h.Yb=function(){return this.G.Yb()};
g.h.Il=function(){return mM(this.G)};
g.h.Ap=function(){return lM(this.G)};
g.h.fl=function(){return!0};
g.h.U=function(){if(this.C)try{window.removeEventListener("message",this.C),this.C=null}catch(a){g.N(a)}this.B&&(this.g.removeEventListener("videodatachange",this.B),this.B=null);MM.prototype.U.call(this)};g.r(UN,g.O);g.h=UN.prototype;g.h.Yb=function(){return this.g.Yb()};
g.h.Il=function(){return mM(this.g)};
g.h.Ap=function(){return lM(this.g)};
g.h.fl=function(){return!1};
g.h.ko=function(a){var b=this;this.A.TSLA=Wea(this.l).toString();var c=g.bp(this.g.l,this.A),d=[];this.Il()||(d=KN(a));pg(this.B.fetch(c).then(function(a){if(!b.ga()){var c=d;a=Qea(b,a);if(!(a.Zt||!TN(b.g.l)&&a.isEmpty&&b.F)){LN(c,b.l);if(TN(b.g.l)){c=b.l;var e=c.T;c.T=null;e&&(a.gn.some(Nea)&&(e.renderer.backfillMpuCompanionAdRenderer.type="BACKFILL_MPU_TYPE_AFV"),eO(b.l,[e]),b.o=!0)}a.isEmpty||eO(b.l,a.gn)}}},function(){return LN(d,b.l)}),function(){(b.Il()||b.o)&&dO(b.l)})};g.r(VN,NN);g.h=VN.prototype;g.h.Wt=function(){if(null==this.A)return!1;for(var a=g.p(this.A.g),b=a.next();!b.done;b=a.next())if(b.value.some(function(a){return a.l()}))return!0;
return!1};
g.h.Eo=function(){return this.N instanceof aL};
g.h.Yw=function(){this.A.o||WN(this);g.S(g.V(this.g).experiments,"enable_queueing_api_in_html5")||Rea(this,this.A.g);XN(this)};
g.h.Vb=function(a,b){this.N=a;NN.prototype.Vb.call(this,a,void 0===b?!1:b)};
g.h.Ue=function(a){a=void 0===a?!1:a;this.o&&(g.$e(this.o),this.o=null);NN.prototype.Ue.call(this,a)};
g.h.uv=function(){this.Ue()};
g.h.wv=function(a){XN(this,a)};
g.h.Bp=function(){this.Xh()};
g.h.Dp=function(a){NN.prototype.Dp.call(this,a);if(g.S(g.V(this.g).experiments,"enable_queueing_api_in_html5")&&0<FD(a,8)){var b=this.Rn();b&&HN(this.g,b,this.macros,this.C).Ak(window.Infinity)}a=a.state;g.U(a,2)&&this.o?this.I&&!this.J?this.o.Qb("html5.invalidstate"):this.o.Of():g.zD(a)?(null==this.o&&WN(this),this.o&&this.o.Vk()):a.isError()&&this.o&&!this.I&&this.o.Qb(a.g.errorCode)};
g.h.Xh=function(a){a=void 0===a?!1:a;LV(this.C.g.app,0);a?this.Ue(a):XN(this)};
g.h.dw=function(){1==this.A.A?this.Ue():this.Xh()};
g.h.Cp=function(a){NN.prototype.Cp.call(this,a);this.o&&this.o.Wk(a)};
g.h.Rn=function(){return this.A.g.length&&this.A.g[0].length?this.A.g[0][0]:null};
g.h.U=function(){g.$e(this.o);this.o=null;NN.prototype.U.call(this)};var YN=null,$N=null;g.y("yt.www.ads.eventcache.getLastCompanionData",function(){return YN},void 0);
g.y("yt.www.ads.eventcache.getLastPlaShelfData",function(){return $N},void 0);g.r(cO,g.O);g.h=cO.prototype;
g.h.init=function(){var a=this.g.getVideoData();if(a.qn||g.Or("SERVED_VIA_SPF_HISTORY"))dO(this);else{if(AM(this.g)){var b=Bv(this.g);b.addEventListener("updatekevlarcompanion",ZN);b.addEventListener("onPlaShelfInfoCardsReady",aO);window.addEventListener("yt-navigate-start",bO)}this.ba.M(this.g,"applicationplayerstatechange",this.bF);b=a.getPlayerResponse()||{};b=Sea(b);b=Tea(this,b);var c=b;if(c.some(Mea)){var d=c.findIndex(Oea),e=null;-1!=d&&(e=c[d],c.splice(d,1));c=e}else c=null;this.T=c;if(0<
b.length){eO(this,b);b=!1;c=g.p(this.A);for(d=c.next();!d.done;d=c.next())if(KK(d.value)){b=!0;break}if(!b&&!this.L)for(b=g.p(this.A),c=b.next();!c.done;c=b.next())c.value.o=!1}this.ba.M(this.g,"crn_ad",this.Hl,this);this.ba.M(this.g,"crx_ad",this.cF,this);this.G&&a.subscribe("cuepointupdated",this.pw,this);dO(this);g.Zf(this.FL,this)}};
g.h.U=function(){this.ea=!0;g.It(this.ba);this.G&&this.g.getVideoData(1).unsubscribe("cuepointupdated",this.pw,this);if(AM(this.g)){var a=Bv(this.g);a.removeEventListener("updatekevlarcompanion",ZN);a.removeEventListener("onPlaShelfInfoCardsReady",aO);window.removeEventListener("yt-navigate-start",bO);YN=null}a=g.p(this.B.values());for(var b=a.next();!b.done;b=a.next())jO(this,b.value);fO(this);this.A.clear();this.J=[];this.F=null;this.I.clear();g.$e(this.o);this.o=null;this.B.clear();g.O.prototype.U.call(this)};
g.h.Hl=function(a){if(!a.o&&(!LK(a)||a.contains(1E3*this.g.getCurrentTime()||0))){this.F=null;var b=g.XJ(this.g);g.U(b,32)||g.U(b,16)?this.Y?this.I.add(a):this.F=a:(b=this.B.get(a))?b.ko(a):g.N(Error("coordinator not found for "+a.toString()))}};
g.h.cF=function(a){a.o&&(a.o=!1);this.Y?this.I["delete"](a):a==this.F&&(this.F=null)};
g.h.pw=function(a){if(null==this.G)g.N(Error("Dynamically inserted ad was requested, but no cuepoint AdPlacementRenderer was present to fulfill the request."));else{var b=this.g.getCurrentTime()||0;0==b?eO(this,[this.G]):(a=a.filter(function(a){return a.Qd>b&&"start"==a.event}),eO(this,[this.G],a))}};
g.h.eF=function(a){this.l&&this.l.Dp(a)};
g.h.bF=function(a){0>FD(a,16)&&(this.Y?(this.I.forEach(this.Hl,this),this.I.clear()):this.F&&this.Hl(this.F))};
g.h.rK=function(){if(yM(this.g)&&this.l){var a=this.g.getCurrentTime(2),b=this.l.l;if(b.F){var c=b.l;b=b.zp();0<b&&(JM(c,a),KM(c,a,b))}}};
g.h.vG=function(){this.X=!0;this.l&&this.l.l.rd()};
g.h.EG=function(a){this.l&&this.l.Cp(a)};
g.h.fF=function(){if(2==this.g.Da()&&this.l){var a=this.l.l,b=a.g.isMuted();FM(a.l,b?"mute":"unmute")}};
g.h.dF=function(a){this.l&&FM(this.l.l.l,a?"fullscreen":"end_fullscreen")};
g.h.FL=function(){for(var a=[],b=g.p(this.A),c=b.next();!c.done;c=b.next())c=c.value,KK(c)||a.push(c);c=this.g;b=c.app;(c=c.playerType)&&VJ(b)!=c||nK(b,"cuerangemarkersupdated",a)};
g.h.resume=function(){this.l&&this.l.resume()};g.r(lO,X);lO.prototype.init=function(a,b,c){var d=b.thumbnail;d=d&&kO(d)||"";g.yb(d)?g.N(Error("Found AdImage without valid image URL"),"WARNING"):(g.Gd(this.element,{src:d}),X.prototype.init.call(this,a,b,c),this.show())};
lO.prototype.clear=function(){this.hide()};g.r(KO,X);
KO.prototype.init=function(a,b,c){this.B=b;if(null==b.text&&null==b.icon)g.N(Error("ButtonRenderer did not have text or an icon set."),"WARNING");else{switch(b.style||null){case "STYLE_UNKNOWN":var d="ytp-ad-button-link";break;default:d=null}null!=d&&g.J(this.element,d);null!=b.text&&(d=g.mC(b.text),g.yb(d)||(this.element.setAttribute("aria-label",d),this.C=new g.tv({D:"span",H:"ytp-ad-button-text",V:d}),g.I(this,this.C),this.C.aa(this.element)));null!=b.icon&&(d=JO(b.icon),null!=d&&(this.A=new g.tv({D:"span",
H:"ytp-ad-button-icon",K:[d]}),g.I(this,this.A)),this.F?Xd(this.element,this.A.element,0):this.A.aa(this.element));X.prototype.init.call(this,a,b,c)}};
KO.prototype.clear=function(){this.hide()};
KO.prototype.onClick=function(a){X.prototype.onClick.call(this,a);pL(Xea(this),this.macros);this.l.Kd(this.componentType)};var xfa={seekableStart:0,seekableEnd:1,current:0};g.r(LO,X);LO.prototype.clear=function(){this.dispose()};g.r(OO,LO);g.h=OO.prototype;g.h.init=function(a,b,c){LO.prototype.init.call(this,a,b,c);g.Ih(this.C,"stroke-dasharray","0 "+this.B);this.show()};
g.h.clear=function(){this.hide()};
g.h.hide=function(){NO(this);LO.prototype.hide.call(this)};
g.h.show=function(){MO(this);LO.prototype.show.call(this)};
g.h.Fj=function(){this.hide()};
g.h.Zh=function(){if(this.A){var a=this.A.Pg();null!=a&&null!=a.current&&g.Ih(this.C,"stroke-dasharray",a.current/a.seekableEnd*this.B+" "+this.B)}};g.r(PO,X);PO.prototype.init=function(a,b,c){this.A=b;this.isTemplated()||g.fe(this.element,vL(this.A));X.prototype.init.call(this,a,b,c);this.show()};
PO.prototype.isTemplated=function(){return this.A.isTemplated||!1};
PO.prototype.clear=function(){this.hide()};g.r(QO,g.O);g.h=QO.prototype;g.h.Us=function(){return this.l};
g.h.start=function(){this.o||(this.o=!0,this.Aa.start())};
g.h.stop=function(){this.o&&(this.o=!1,this.Aa.stop())};
g.h.fG=function(){this.g+=100;var a=!1;this.g>this.l&&(this.g=this.l,this.Aa.stop(),a=!0);this.A={seekableStart:0,seekableEnd:this.l/1E3,current:this.g/1E3};if(this.B){var b=this.B,c=this.A.current;if(b.l){var d=b.l.l;d.F&&(b=d.l,d=d.zp(),0<d&&(JM(b,c),KM(b,c,d)))}}this.P("q");a&&this.P("p")};
g.h.Pg=function(){return this.A};g.r(RO,X);g.h=RO.prototype;
g.h.init=function(a,b,c){X.prototype.init.call(this,a,b,c);if(b.image&&b.image.thumbnail)if(b.headline)if(b.description)if(b.background)if(b.actionButton&&b.actionButton.buttonRenderer)if(a=b.durationMilliseconds||0,!g.va(a)||0>=a)g.N(Error("durationMilliseconds was specified incorrectly in AdActionInterstitialRenderer with a value of: "+a));else if(b.navigationEndpoint){var d=this.l.getVideoData(2);if(null!=d){var e=b.image.thumbnail.thumbnails;null!=e&&0<e.length&&g.yb(g.Nb(e[0].url))&&(e[0].url=
d.profilePicture);e=b.background.thumbnails;null!=e&&0<e.length&&g.yb(g.Nb(e[0].url))&&(e[0].url=d.oc(g.V(this.l)));e=b.headline;null!=e&&g.yb(g.Nb(e.text))&&(e.text=d.author)}this.C.init(NK("ad-image"),b.image,c);this.G.init(NK("ad-text"),b.headline,c);this.F.init(NK("ad-text"),b.description,c);d=(d=b.background)&&kO(d)||"";g.yb(d)?Rr(Error("Found ThumbnailDetails without valid image URL")):g.Ih(this.ca,"backgroundImage","url("+d+")");this.A=new KO(this.l,this.o,["ytp-ad-action-interstitial-action-button"]);
g.I(this,this.A);this.A.aa(this.L);this.A.init(NK("button"),b.actionButton.buttonRenderer,c);this.J=b.navigationEndpoint;this.ba.M(this.X,"click",this.Ck,this);this.ba.M(this.R,"click",this.Ck,this);this.ba.M(this.N,"click",this.Ck,this);this.ba.M(this.L,"click",this.Ck,this);this.B=new QO(a);g.I(this,this.B);(b=b.countdownRenderer)&&b.timedPieCountdownRenderer&&this.B&&(c=new OO(this.l,this.o,this.B),g.I(this,c),c.aa(this.element),c.init(NK("timed-pie-countdown"),b.timedPieCountdownRenderer,this.macros));
this.show()}else g.N(Error("AdActionInterstitialRenderer has no navigation endpoint."));else g.N(Error("AdActionInterstitialRenderer has no button."));else g.N(Error("AdActionInterstitialRenderer has no background."));else g.N(Error("AdActionInterstitialRenderer has no description AdText."));else g.N(Error("AdActionInterstitialRenderer has no headline AdText."));else g.N(Error("AdActionInterstitialRenderer has no image."))};
g.h.clear=function(){g.It(this.ba);this.hide()};
g.h.show=function(){SO(!0);this.A&&this.A.show();X.prototype.show.call(this)};
g.h.hide=function(){SO(!1);this.A&&this.A.hide();X.prototype.hide.call(this)};
g.h.Ck=function(){this.J&&oL(this.J,this.macros)};g.r(TO,X);TO.prototype.init=function(a,b,c){var d=b.text;if(g.yb(vL(d)))g.N(Error("SimpleAdBadgeRenderer has invalid or empty text"),"WARNING");else{if(d&&d.text){var e=d.text;this.A&&(e=g.V(this.l),e=d.text+" "+(e&&e.l?"\u2022":"\u00b7"));e={text:e,isTemplated:d.isTemplated};d.style&&(e.style=d.style);d=new PO(this.l,this.o);d.init(NK("simple-ad-badge"),e,c);d.aa(this.element);g.I(this,d)}X.prototype.init.call(this,a,b,c);this.show()}};
TO.prototype.clear=function(){this.hide()};g.r(UO,X);UO.prototype.init=function(a,b,c){X.prototype.init.call(this,a,b,c);this.A=b;if(b.image){c=this.g["ytp-ad-image-button-thumbnail"];a=this.g["ytp-ad-image-button-text"];var d=new lO(this.l,this.o);g.I(this,d);d.init(NK("ad-image"),b.image,this.macros);d.aa(c);b.text&&(c=new TO(this.l,this.o),g.I(this,c),c.init(NK("simple-ad-badge"),b.adBadgeRenderer.simpleAdBadgeRenderer,this.macros),c.aa(a),c=new PO(this.l,this.o),g.I(this,c),c.init(NK("ad-text"),b.text,this.macros),c.aa(a));this.show()}else Rr(Error("AdImageButtonRenderer has no image."))};
UO.prototype.clear=function(){this.hide()};
UO.prototype.onClick=function(a){X.prototype.onClick.call(this,a);this.A&&this.A.clickCommand&&this.B.xe(this.A?this.A.clickCommand:null,this.macros)};g.r(XO,LO);g.h=XO.prototype;g.h.init=function(a,b,c){if(b.templatedCountdown){var d=b.templatedCountdown.templatedAdText;if(!d.isTemplated){g.N(Error("AdDurationRemainingRenderer has no templated ad text."),"WARNING");return}this.B=new PO(this.l,this.o);this.B.init(NK("ad-text"),d,{});this.B.aa(this.element);g.I(this,this.B)}LO.prototype.init.call(this,a,b,c);this.show()};
g.h.clear=function(){this.hide()};
g.h.hide=function(){NO(this);LO.prototype.hide.call(this)};
g.h.Fj=function(){this.hide()};
g.h.Zh=function(){if(null!=this.A){var a=this.A.Pg();if(null!=a&&null!=a.current&&this.B){a=(this.A instanceof QO?a.seekableEnd:this.l.Tb(2))-a.current;var b=g.VO(a),c=this.B;g.fe(c.element,vL(c.A,{FORMATTED_AD_DURATION_REMAINING:String(b),TIME_REMAINING:String(Math.ceil(a))}))}}};
g.h.show=function(){MO(this);LO.prototype.show.call(this)};g.r(YO,X);
YO.prototype.init=function(a,b,c){X.prototype.init.call(this,a,b,c);a=b.hoverText||null;b=b.button&&b.button.buttonRenderer||null;null==b?g.N(Error("AdHoverTextButtonRenderer.button was not set in response.")):(this.button=new KO(this.l,this.o),g.I(this,this.button),this.button.init(NK("button"),b,this.macros),this.button.aa(this.element),this.G&&!g.dq(this.button.element,"ytp-ad-clickable")&&g.J(this.button.element,"ytp-ad-clickable"),a&&(this.B=new g.tv({D:"div",H:"ytp-ad-hover-text-container"}),this.F&&
(b=new g.tv({D:"div",H:"ytp-ad-hover-text-callout"}),b.aa(this.B.element),g.I(this,b)),g.I(this,this.B),this.B.aa(this.element),b=FL(a),Xd(this.B.element,b,0)),this.show())};
YO.prototype.hide=function(){this.button&&this.button.hide();this.B&&this.B.hide();X.prototype.hide.call(this)};
YO.prototype.show=function(){this.button&&this.button.show();X.prototype.show.call(this)};g.r(ZO,X);g.h=ZO.prototype;g.h.init=function(a,b,c){X.prototype.init.call(this,a,b,c);b.reasons?null==b.confirmLabel?g.N(Error("AdFeedbackRenderer.confirmLabel was not set."),"ERROR"):(null==b.cancelLabel&&g.N(Error("AdFeedbackRenderer.cancelLabel was not set."),"WARNING"),null==b.title&&g.N(Error("AdFeedbackRenderer.title was not set."),"WARNING"),afa(this,b)):g.N(Error("AdFeedbackRenderer.reasons were not set."),"ERROR")};
g.h.clear=function(){Et(this.F);Et(this.G);this.C.length=0;this.hide()};
g.h.hide=function(){this.A&&this.A.hide();this.B&&this.B.hide();X.prototype.hide.call(this)};
g.h.show=function(){this.A&&this.A.show();this.B&&this.B.show();X.prototype.show.call(this)};
g.h.Rv=function(){this.l.Kd("ad-feedback-dialog-close-button");this.P("r");this.hide()};
g.h.jK=function(){this.hide()};
$O.prototype.ha=function(){return this.g.element};g.r(aP,X);g.h=aP.prototype;g.h.init=function(a,b,c){X.prototype.init.call(this,a,b,c);this.A=b;b.dialogMessages||null!=b.title?null==b.confirmLabel?g.N(Error("ConfirmDialogRenderer.confirmLabel was not set."),"ERROR"):null==b.cancelLabel?g.N(Error("ConfirmDialogRenderer.cancelLabel was not set."),"ERROR"):bfa(this,b):g.N(Error("Neither ConfirmDialogRenderer.title nor ConfirmDialogRenderer.dialogMessages were set."),"ERROR")};
g.h.clear=function(){g.It(this.ba);this.hide()};
g.h.Vp=function(){this.hide()};
g.h.Up=function(){var a=this.A.cancelEndpoint;a&&oL(a,this.macros);this.hide()};
g.h.Wp=function(){var a=this.A.confirmNavigationEndpoint||this.A.confirmEndpoint;a&&oL(a,this.macros);this.hide()};g.r(bP,aP);bP.prototype.Vp=function(a){aP.prototype.Vp.call(this,a);this.l.Kd("ad-mute-confirm-dialog-close-button")};
bP.prototype.Up=function(a){aP.prototype.Up.call(this,a);this.l.Kd("ad-mute-confirm-dialog-close-button")};
bP.prototype.Wp=function(a){aP.prototype.Wp.call(this,a);this.l.Kd("ad-mute-confirm-dialog-confirm-button");this.P("s")};g.r(cP,X);g.h=cP.prototype;
g.h.init=function(a,b,c){X.prototype.init.call(this,a,b,c);this.G=b;if(null==b.dialogMessage&&null==b.title)g.N(Error("Neither AdInfoDialogRenderer.dialogMessage nor AdInfoDialogRenderer.title was set."),"ERROR");else{null==b.confirmLabel&&g.N(Error("AdInfoDialogRenderer.confirmLabel was not set."),"WARNING");if(a=b.closeOverlayRenderer&&b.closeOverlayRenderer.buttonRenderer||null)this.A=new KO(this.l,this.o,["ytp-ad-info-dialog-close-button"],"ad-info-dialog-close-button"),g.I(this,this.A),this.A.init(NK("button"),
a,this.macros),this.A.aa(this.element);b.title&&(a=g.mC(b.title),this.updateValue("title",a));if(b.adReasons)for(a=b.adReasons,c=0;c<a.length;c++){var d=FL(a[c]);if(!g.yb(d.textContent)){var e=g.Rd("LI");e.appendChild(d);this.J.appendChild(e)}}else g.gi(this.J,!1);b.dialogMessage&&(a=FL(b.dialogMessage,!0),this.X.appendChild(a));b.confirmLabel&&(a=g.mC(b.confirmLabel),this.updateValue("confirmLabel",a));b.muteAdRenderer&&(b=(b=b.muteAdRenderer)&&b.buttonRenderer||null)&&(a=b.navigationEndpoint&&b.navigationEndpoint.adFeedbackEndpoint||
null,c=b.navigationEndpoint&&b.navigationEndpoint.confirmDialogEndpoint||null,null==a&&null==c?g.N(Error("AdInfoDialogRenderer.muteAdRenderer was specified but contains neither an AdFeedbackEndpoint, nor a ConfirmDialogEndpoint."),"WARNING"):(a?cfa(this,a):c&&dfa(this,c),this.C=new KO(this.l,this.o,["ytp-ad-info-dialog-mute-button"],"button",!0),g.I(this,this.C),this.C.init(NK("button"),b,this.macros),this.C.da("click",this.lG,this),this.C.aa(this.ca)));efa(this)}};
g.h.clear=function(){Et(this.N);this.hide()};
g.h.hide=function(){this.B?this.B.hide():this.F&&this.F.hide();this.A&&this.A.hide();this.C&&this.C.hide();X.prototype.hide.call(this)};
g.h.show=function(){this.A&&this.A.show();this.C&&this.C.show();this.L||(pL(this.G&&this.G.impressionEndpoints||[],this.macros),this.L=!0);X.prototype.show.call(this)};
g.h.Sv=function(){this.G&&this.G.confirmServiceEndpoint&&oL(this.G.confirmServiceEndpoint,this.macros);this.l.Kd("ad-info-dialog-close-button");this.P("u");this.hide()};
g.h.lG=function(){var a=this.B?this.B:this.F;a&&!a.Ha()&&(this.hide(),a.show())};g.r(dP,YO);dP.prototype.init=function(a,b,c){YO.prototype.init.call(this,a,b,c);a=b.button&&b.button.buttonRenderer||null;null!=a&&(gfa(this,a,c),this.show())};
dP.prototype.hide=function(){this.button&&this.button.hide();this.A&&this.A.hide();YO.prototype.hide.call(this)};
dP.prototype.show=function(){this.button&&this.button.show();YO.prototype.show.call(this)};g.r(g.eP,g.G);g.h=g.eP.prototype;g.h.show=function(a){1!=this.g&&2!=this.g&&(3==this.g&&this.Hm(),4==this.g?(this.l.show(),this.g=null,this.o.stop()):this.l.Ha()||(fP(this,!0),this.g=1,a?this.o.start(a):this.Hm()))};
g.h.hide=function(a){3!=this.g&&(1==this.g||2==this.g?(this.l.hide(),this.g=null,this.o.stop()):this.l.Ha()&&(a&&(this.A=a),fP(this,!0),this.g=3,this.o.start(this.B)))};
g.h.Hm=function(){switch(this.g){case 1:this.l.show();this.g=2;this.o.start(10);break;case 2:fP(this,!1);this.g=null;break;case 3:this.l.hide();fP(this,!1);this.g=4;this.o.start(0);break;case 4:this.g=null,this.A&&this.A()}};
g.h.stop=function(){for(;null!=this.g&&4!=this.g;)this.o.stop(),this.Hm()};
g.h.U=function(){this.l.ga()||this.l.element.removeAttribute("aria-hidden");g.G.prototype.U.call(this)};g.r(gP,X);
gP.prototype.init=function(a,b,c){var d=this;X.prototype.init.call(this,a,b,c);var e=b.durationMilliseconds||0;if(!g.va(e)||0>e)g.N(Error("timeoutSeconds was specified incorrectly in AdChoiceInterstitialRenderer with a value of: "+e));else if(b.completeCommands)if(b.text)if(b.adChoiceButtons&&2==b.adChoiceButtons.length)if(b.adChoiceButtons[0].adImageButtonRenderer&&b.adChoiceButtons[1].adImageButtonRenderer)if(b.adDurationRemaining&&b.adDurationRemaining.adDurationRemainingRenderer){g.fe(this.g["ytp-ad-choice-interstitial-head-title"],g.mC(b.text));
var f=this.g["ytp-ad-choice-interstitial-left-button"],k=this.g["ytp-ad-choice-interstitial-right-button"];a=this.g["ytp-ad-choice-interstitial-countdown-text"];this.B=new UO(this.l,this.o,this.C);g.I(this,this.B);this.B.init(NK("ad-image-button"),b.adChoiceButtons[0].adImageButtonRenderer,this.macros);this.B.aa(f);this.G=new UO(this.l,this.o,this.C);g.I(this,this.G);this.G.init(NK("ad-image-button"),b.adChoiceButtons[1].adImageButtonRenderer,this.macros);this.G.aa(k);var l=b.completeCommands;this.F=
new QO(e);this.F.subscribe("p",function(){d.J.hide();d.C.kc(l,c)});
g.I(this,this.F);e=b.adInfoRenderer.adHoverTextButtonRenderer;f=new dP(this.l,this.o,this.element);g.I(this,f);f.aa(a);f.init(NK("ad-info-hover-text-button"),e,this.macros);e=b.adDurationRemaining.adDurationRemainingRenderer;this.A=new XO(this.l,this.o,this.F);g.I(this,this.A);this.A.init(NK("ad-duration-remaining"),e,this.macros);this.A.aa(a);b.impressionCommands&&this.C.kc(b.impressionCommands,c);this.show()}else g.N(Error("AdChoiceInterstitialRenderer has no count down text."));else g.N(Error("AdChoiceInterstitialRenderer should have two ad image buttons."));
else g.N(Error("AdChoiceInterstitialRenderer should have two choices."));else g.N(Error("AdChoiceInterstitialRenderer has no title."));else g.N(Error("timeoutSeconds was specified yet no completeCommands where specified"))};
gP.prototype.clear=function(){this.hide()};g.r(hP,X);g.h=hP.prototype;g.h.init=function(a,b,c){X.prototype.init.call(this,a,b,c);b.text?(a=b.durationMilliseconds||0,!g.va(a)||0>=a?g.N(Error("durationMilliseconds was specified incorrectly in AdTextInterstitialRenderer with a value of: "+a)):(this.A.init(NK("ad-text"),b.text,c),this.show())):g.N(Error("AdTextInterstitialRenderer has no message AdText."))};
g.h.clear=function(){this.hide()};
g.h.show=function(){iP(!0);X.prototype.show.call(this)};
g.h.hide=function(){iP(!1);X.prototype.hide.call(this)};
g.h.onClick=function(){};g.r(jP,g.G);g.h=jP.prototype;g.h.U=function(){this.reset();g.G.prototype.U.call(this)};
g.h.reset=function(){g.It(this.ba);this.B=!1;this.g&&this.g.stop();this.A.stop();this.l&&(this.l=!1,this.C.play())};
g.h.start=function(){this.reset();this.ba.M(this.o,"mouseover",this.yI,this);this.ba.M(this.o,"mouseout",this.vI,this);this.g?this.g.start():(this.B=this.l=!0,g.Ih(this.o,{opacity:this.G}))};
g.h.yI=function(){this.l&&(this.l=!1,this.C.play());this.A.stop();this.g&&this.g.stop()};
g.h.vI=function(){this.B?this.A.start():this.g&&this.g.start()};
g.h.Hr=function(){this.l||(this.l=!0,this.F.play(),this.B=!0)};var kP={iconType:"CLOSE"};g.r(lP,X);g.h=lP.prototype;
g.h.init=function(a,b,c){this.C=b;this.J=g.db(this.C.onClickCommands||[]);var d;if(d=this.C.contentSupportedRenderer){d=this.C.contentSupportedRenderer;var e=this.C.adInfoRenderer||null;if(d.textOverlayAdContentRenderer){this.G=g.Ed("ytp-ad-overlay-ad-info-button-container",this.F.element);mP(this,e);d=d.textOverlayAdContentRenderer;e=vL(d.title);var f=vL(d.description);g.yb(e)||g.yb(f)?d=!1:(zL(this,this.F.element,d.trackingParams||null),this.F.updateValue("title",vL(d.title)),this.F.updateValue("description",
vL(d.description)),this.F.updateValue("displayUrl",vL(d.displayUrl)),d.navigationEndpoint&&eb(this.J,d.navigationEndpoint),this.F.show(),this.N.start(),AL(this,this.F.element,!0),d=!0)}else if(d.enhancedTextOverlayAdContentRenderer)this.G=g.Ed("ytp-ad-overlay-ad-info-button-container",this.A.element),mP(this,e),d=d.enhancedTextOverlayAdContentRenderer,e=vL(d.title),f=vL(d.description),g.yb(e)||g.yb(f)?d=!1:(zL(this,this.A.element,d.trackingParams||null),this.A.updateValue("title",vL(d.title)),this.A.updateValue("description",
vL(d.description)),this.A.updateValue("displayUrl",vL(d.displayUrl)),this.A.updateValue("imageUrl",wL(d.image)),d.navigationEndpoint&&eb(this.J,d.navigationEndpoint),this.X=d.imageNavigationEndpoint||null,this.A.show(),this.N.start(),AL(this,this.A.element,!0),d=!0);else if(d.imageOverlayAdContentRenderer){this.G=g.Ed("ytp-ad-overlay-ad-info-button-container",this.B.element);mP(this,e);d=d.imageOverlayAdContentRenderer;c:{e=d.image;e=void 0===e?null:e;if(null!=e&&(e=e.thumbnail,null!=e&&null!=e.thumbnails&&
0!=e.thumbnails.length&&null!=e.thumbnails[0].width&&null!=e.thumbnails[0].height)){e=new g.vd(e.thumbnails[0].width||0,e.thumbnails[0].height||0);break c}e=new g.vd(0,0)}0==e.width||0==e.height?d=!1:(zL(this,this.B.element,d.trackingParams||null),this.B.updateValue("imageUrl",wL(d.image)),this.B.updateValue("width",e.width),this.B.updateValue("height",e.height),d.navigationEndpoint&&eb(this.J,d.navigationEndpoint),g.Ih(this.B.g["ytp-ad-image-overlay"],"max-width",e.width+"px"),this.B.show(),AL(this,
this.B.element,!0),(new g.L(this.clear,45E3,this)).start(),this.M(this.l,"resize",g.La(this.xb,e)),d=!0)}else g.N(Error("InvideoOverlayAdRenderer content could not be initialized.")),d=!1}d&&(X.prototype.init.call(this,a,b,c),this.show(),nP(this,!0),pL(this.C&&this.C.impressionCommands?this.C.impressionCommands:[],this.macros))};
g.h.xb=function(a){var b=this.element;var c=g.yd(b),d=g.Kd&&b.currentStyle;d&&g.Hd(g.Ad(c).g)&&"auto"!=d.width&&"auto"!=d.height&&!d.boxSizing?(c=g.hi(b,d.width,"width","pixelWidth"),b=g.hi(b,d.height,"height","pixelHeight"),b=new g.vd(c,b)):(d=new g.vd(b.offsetWidth,b.offsetHeight),c=g.ji(b),b=g.mi(b),b=new g.vd(d.width-b.left-c.left-c.right-b.right,d.height-b.top-c.top-c.bottom-b.bottom));(a.width>b.width||a.height>b.height)&&this.clear()};
g.h.clear=function(){nP(this,!1);this.N.reset();this.F.hide();AL(this,this.F.element,!1);this.A.hide();AL(this,this.A.element,!1);this.B.hide();AL(this,this.B.element,!1);this.hide();this.dispose()};
g.h.xj=function(a,b){var c=g.qc(this.macros),d=g.bi(b,a).floor();c.I_X={toString:function(){return d.x.toString()}};
c.I_Y={toString:function(){return d.y.toString()}};
pL(this.J,c);this.l.Cb()};
g.h.ZJ=function(){this.X&&oL(this.X,this.macros);this.l.Cb()};
g.h.Np=function(){this.clear();a:{if(this.C&&this.C.closeButton&&this.C.closeButton.buttonRenderer){var a=this.C.closeButton.buttonRenderer;if(a.serviceEndpoint){a=[a.serviceEndpoint];break a}}a=[]}pL(a,this.macros)};
g.h.jG=function(){this.R=2==this.l.td(1);this.l.Cb()};
g.h.yG=function(){this.R||2!=this.l.td(1)||this.l.Gb()};
g.h.BI=function(){this.R||2!=this.l.td(1)||this.l.Gb();this.clear()};
g.h.zG=function(a){a.target===this.G&&g.Ed("ytp-ad-button",this.ca.element).click()};g.r(oP,LO);g.h=oP.prototype;
g.h.init=function(a,b,c){var d=b.durationMilliseconds;g.va(d)&&0>d&&g.N(Error("durationMilliseconds was specified incorrectly in AdPreviewRenderer with a value of: "+d));d=b.durationMilliseconds;this.J=null==d||0===d?this.A.Us():d;if(b.templatedCountdown)var e=b.templatedCountdown.templatedAdText;else b.staticPreview&&(e=b.staticPreview);this.B.init(NK("ad-text"),e,c);this.l.getVideoData()&&this.l.getVideoData().rq&&b.thumbnail?this.F.init(NK("ad-image"),b.thumbnail,c):this.L.hide();LO.prototype.init.call(this,
a,b,c)};
g.h.clear=function(){this.hide()};
g.h.hide=function(){this.C.hide();this.B.hide();this.F.hide();NO(this);LO.prototype.hide.call(this)};
g.h.show=function(){MO(this);this.C.show();this.B.show();this.F.show();LO.prototype.show.call(this)};
g.h.Fj=function(){this.hide()};
g.h.Zh=function(){if(null!=this.A){var a=this.A.Pg();if(null!=a&&null!=a.current)if(a=1E3*a.current,!this.X&&a>=this.J)g.S(g.V(this.l).experiments,"enable_pubsub_for_skip_transition_bulleit")||pP(this),this.X=!0,this.P("x");else if(this.B&&this.B.isTemplated()&&(a=Math.max(0,Math.ceil((this.J-a)/1E3)),a!=this.ca)){var b=this.B;g.fe(b.element,vL(b.A,{TIME_REMAINING:String(a)}));this.ca=a}}};g.r(rP,LO);g.h=rP.prototype;
g.h.init=function(a,b,c){for(var d=(this.F=b)&&this.F.onClickCommands||[],e=0;e<d.length;++e)if(d[e].adLifecycleCommand||d[e].adPlayerControlsCommand)this.ca=!0;!b||g.lc(b)?g.N(Error("SkipButtonRenderer was not specified or empty."),"ERROR"):!b.message||g.lc(b.message)?g.N(Error("SkipButtonRenderer.message was not specified or empty."),"ERROR"):(d={iconType:"SKIP_NEXT"},e=JO(d),null==e?g.N(Error("Icon for SkipButton was unable to be retrieved. yt.innertube.Icon.IconType: "+d.iconType+".")):(this.J=
new g.tv({D:"button",W:g.S(g.V(this.l).experiments,"add_border_to_bulleit_mweb_skip")?["ytp-ad-skip-button","ytp-button","mweb-skip-border"]:["ytp-ad-skip-button","ytp-button"],K:[{D:"span",H:"ytp-ad-skip-button-icon",K:[e]}]}),g.I(this,this.J),this.J.aa(this.C.element),this.B=new PO(this.l,this.o,"ytp-ad-skip-button-text"),this.B.init(NK("ad-text"),this.F.message,c),g.I(this,this.B),Xd(this.J.element,this.B.element,0)),LO.prototype.init.call(this,a,b,c))};
g.h.clear=function(){this.L.reset();this.hide()};
g.h.hide=function(){this.C.hide();this.B&&this.B.hide();NO(this);LO.prototype.hide.call(this)};
g.h.onClick=function(a){null!=this.J&&(g.zt(a),LO.prototype.onClick.call(this,a),this.P("y"),this.va.kc(this.F&&this.F.onClickCommands||[],this.macros),this.ca||this.l.Kd(this.componentType))};
g.h.show=function(){this.L.start();this.ia||(pL(this.F&&this.F.impressionCommands||[],this.macros),this.ia=!0);this.C.show();this.B&&this.B.show();MO(this);LO.prototype.show.call(this)};
g.h.Fj=function(){};
g.h.Zh=function(){!this.la&&this.X&&1E3*this.A.Pg().current>=this.X&&(this.la=!0,this.P("z"))};g.r(uP,X);g.h=uP.prototype;
g.h.init=function(a,b,c){this.L=b;var d=this.L.seekableDurationMilliseconds;this.R=g.va(d)?d:5E3;var e=b&&b.preSeekRenderer&&b.preSeekRenderer.adPreviewRenderer||null,f=b&&b.seekableRenderer&&b.seekableRenderer.skipButtonRenderer||null;if(null==f)g.N(Error("SeekableRenderer was not set in SeekAdRenderer."));else{var k=b&&b.notSeekedRenderer&&b.notSeekedRenderer.skipButtonRenderer||null;if(null==k)g.N(Error("NotSeekedRenderer was not set in SeekAdRenderer."));else if(d=b&&b.postSeekRenderer&&b.postSeekRenderer.adPreviewRenderer||
null,null==d)g.N(Error("PostSeekRenderer was not set in SeekAdRenderer."));else{e&&(this.B=new oP(this.l,this.o,this.G),this.B.init(NK("ad-preview"),e,c),this.B.subscribe("x",this.YI,this),g.I(this,this.B),this.B.aa(this.element));this.A=new rP(this.l,this.o,this.G,this.N);this.A.init(NK("skip-button"),f,c);this.A.subscribe("y",this.IJ,this);e=this.R;this.B&&(e+=this.B.J);this.A.X=e;this.A.subscribe("z",this.JJ,this);g.I(this,this.A);this.A.aa(this.element);this.C=new rP(this.l,this.o,this.G,this.N);
this.C.init(NK("skip-button"),k,c);g.I(this,this.C);this.C.aa(this.element);a:{k=this.G;if(this.ca){k=d.durationMilliseconds;if(null==k||0==k){g.N(Error("durationMilliseconds must be specified for persistingAdPreviewRenderer"));break a}this.J=new QO(k,this.o,!1);g.I(this,this.J);k=this.J}this.F=new oP(this.l,this.o,k);this.F.init(NK("ad-preview"),d,c);g.I(this,this.F);this.F.aa(this.element)}X.prototype.init.call(this,a,b,c);this.show()}}};
g.h.show=function(){this.B?qP(this.B):this.A&&tP(this.A);X.prototype.show.call(this)};
g.h.clear=function(){this.B&&this.B.clear();this.A&&this.A.clear();this.C&&this.C.clear();this.F&&this.F.clear();X.prototype.hide.call(this)};
g.h.hide=function(){this.B&&this.B.hide();this.A&&this.A.hide();this.C&&this.C.hide();this.F&&this.F.hide();X.prototype.hide.call(this)};
g.h.YI=function(){this.B&&pP(this.B);this.A&&tP(this.A)};
g.h.IJ=function(){this.X=!0;this.A&&sP(this.A);this.F&&(this.J&&this.J.start(),qP(this.F))};
g.h.JJ=function(){this.X||(this.A&&sP(this.A),this.C&&tP(this.C))};g.r(vP,LO);g.h=vP.prototype;
g.h.init=function(a,b,c){var d=b&&b.preskipRenderer&&b.preskipRenderer.adPreviewRenderer||{};d=g.lc(d)?null:d;null==d?this.F=!0:(this.J=null!=d.durationMilliseconds&&void 0!==d.durationMilliseconds?d.durationMilliseconds:5E3,this.B=new oP(this.l,this.o,this.A),this.B.init(NK("preskip-component"),d,c),qP(this.B),g.I(this,this.B),this.B.aa(this.element),g.S(g.V(this.l).experiments,"enable_pubsub_for_skip_transition_bulleit")&&this.B.subscribe("x",this.bJ,this));d=b&&b.skippableRenderer&&b.skippableRenderer.skipButtonRenderer||
{};d=g.lc(d)?null:d;null==d?g.N(Error("SkipButtonRenderer was not set in player response."),"ERROR"):(null!=d&&(this.C=new rP(this.l,this.o,this.A,this.L),this.C.init(NK("skip-button"),d,c),g.I(this,this.C),this.C.aa(this.element)),LO.prototype.init.call(this,a,b,c),this.show())};
g.h.show=function(){this.F&&this.C?this.C.show():this.B&&this.B.show();MO(this);LO.prototype.show.call(this)};
g.h.Fj=function(){};
g.h.clear=function(){this.B&&this.B.clear();this.C&&this.C.clear();NO(this);LO.prototype.hide.call(this)};
g.h.hide=function(){this.B&&this.B.hide();this.C&&this.C.hide();NO(this);LO.prototype.hide.call(this)};
g.h.bJ=function(){wP(this,!0)};
g.h.Zh=function(){g.S(g.V(this.l).experiments,"enable_pubsub_for_skip_transition_bulleit")||1E3*this.A.Pg().current>=this.J&&wP(this,!0)};g.r(xP,X);xP.prototype.init=function(a,b,c){X.prototype.init.call(this,a,b,c);b.skipAd&&(a=b.skipAd,a.seekAdRenderer?(b=new uP(this.l,this.o,this.A,this.B,!0),b.aa(this.C),b.init(NK("seek-ad"),a.seekAdRenderer,this.macros),g.I(this,b)):a.skipAdRenderer&&(b=new vP(this.l,this.o,this.A,this.B),b.aa(this.C),b.init(NK("skip-button"),a.skipAdRenderer,this.macros),g.I(this,b)));this.show()};g.r(yP,PO);yP.prototype.onClick=function(a){PO.prototype.onClick.call(this,a);this.l.Kd(this.componentType)};g.r(zP,X);g.h=zP.prototype;
g.h.init=function(a,b,c){this.B=b;if(null==b.defaultText&&null==b.defaultIcon)g.N(Error("ToggleButtonRenderer must have either text or icon set."));else if(null==b.defaultIcon&&null!=b.toggledIcon)g.N(Error("ToggleButtonRenderer cannot have toggled icon set without a default icon."));else{if(b.style){switch(b.style.styleType){case "STYLE_UNKNOWN":case "STYLE_DEFAULT":var d="ytp-ad-toggle-button-default-style";break;default:d=null}null!=d&&g.J(this.C,d)}d={};if(b.defaultText){var e=g.mC(b.defaultText);
g.yb(e)||(d.buttonText=e,this.A.setAttribute("aria-label",e))}else g.gi(this.L,!1);b.defaultTooltip&&(d.tooltipText=b.defaultTooltip);b.defaultIcon?(e=JO(b.defaultIcon),this.updateValue("untoggledIconTemplateSpec",e),b.toggledIcon?(this.J=!0,e=JO(b.toggledIcon),this.updateValue("toggledIconTemplateSpec",e)):(g.gi(this.G,!0),g.gi(this.F,!1)),g.gi(this.A,!1)):g.gi(this.N,!1);g.lc(d)||this.update(d);b.isToggled&&(g.J(this.C,"ytp-ad-toggle-button-toggled"),this.toggleButton(b.isToggled));AP(this);this.M(this.element,
"change",this.iG);X.prototype.init.call(this,a,b,c);this.show()}};
g.h.iG=function(){g.K(this.C,"ytp-ad-toggle-button-toggled",this.isToggled());pL(hfa(this,this.isToggled()),this.macros);this.isToggled()&&this.l.Kd("toggle-button");AP(this)};
g.h.clear=function(){this.hide()};
g.h.toggleButton=function(a){g.K(this.C,"ytp-ad-toggle-button-toggled",a);this.A.checked=a;AP(this)};
g.h.isToggled=function(){return this.A.checked};g.r(BP,X);g.h=BP.prototype;g.h.init=function(a,b,c){this.A=b;this.A.rectangle&&(this.C.init(NK("toggle-button"),this.A.likeButton.toggleButtonRenderer,c),this.B.init(NK("toggle-button"),this.A.dislikeButton.toggleButtonRenderer,c),this.M(this.element,"change",this.kG),X.prototype.init.call(this,a,b,c),this.F.show(100),this.show(),pL(this.A&&this.A.impressionCommands||[],this.macros))};
g.h.clear=function(){this.hide()};
g.h.hide=function(){this.C.hide();this.B.hide();X.prototype.hide.call(this)};
g.h.show=function(){this.C.show();this.B.show();X.prototype.show.call(this)};
g.h.kG=function(){g.hq(this.element,"ytp-ad-instream-user-sentiment-selected");this.A.postMessageAction&&this.l.ma("onYtShowToast",this.A.postMessageAction);ifa(this)};g.r(CP,KO);CP.prototype.init=function(a,b,c){var d=!1;null!=b.text&&(d=g.mC(b.text),d=!g.yb(d));d?null==b.navigationEndpoint?g.N(Error("No visit advertiser clickthrough provided in renderer,"),"WARNING"):"STYLE_UNKNOWN"!==b.style?g.N(Error("Button style was not a link-style type in renderer,"),"WARNING"):(KO.prototype.init.call(this,a,b,c),this.show()):g.N(Error("No visit advertiser text was present in the renderer."),"WARNING")};DP.prototype.getLength=function(){return this.g-this.l};g.r(GP,g.tv);GP.prototype.B=function(){var a=this.o.Pg();a=FP(new DP(a.seekableStart,a.seekableEnd),a.current,0);this.F.style.width=100*a+"%"};
GP.prototype.C=function(){g.XA(g.V(this.A))||(2==this.A.Da()?-1===this.l&&(this.show(),this.l=this.o.subscribe("q",this.B,this),this.B()):-1!==this.l&&(this.hide(),this.o.Ac(this.l),this.l=-1))};g.r(IP,X);
IP.prototype.init=function(a,b,c){X.prototype.init.call(this,a,b,c);b.skipOrPreviewRenderer&&(a=b.skipOrPreviewRenderer,a.seekAdRenderer?(c=new uP(this.l,this.o,this.A,this.G),c.aa(this.C),c.init(NK("seek-ad"),a.seekAdRenderer,this.macros),g.I(this,c)):a.skipAdRenderer?(c=new vP(this.l,this.o,this.A,this.G),c.aa(this.C),c.init(NK("skip-button"),a.skipAdRenderer,this.macros),g.I(this,c)):a.adPreviewRenderer&&(c=new oP(this.l,this.o,this.A),c.aa(this.C),c.init(NK("ad-preview"),a.adPreviewRenderer,this.macros),
qP(c),g.I(this,c)));b.brandInteractionRenderer&&(a=b.brandInteractionRenderer.brandInteractionRenderer,c=new BP(this.l,this.o),c.aa(this.J),c.init(NK("instream-user-sentiment"),a,this.macros),g.I(this,c));b.adBadgeRenderer&&(a=b.adBadgeRenderer.simpleAdBadgeRenderer,null==a&&(a={},c={},c.text=g.Q("YTP_AD_BADGE"),c.isTemplated=!1,a.text=c),c=new TO(this.l,this.o,!0),g.I(this,c),c.aa(this.B),c.init(NK("simple-ad-badge"),a,this.macros));b.adDurationRemaining&&(a=b.adDurationRemaining.adDurationRemainingRenderer,
null==a&&(a={templatedCountdown:{templatedAdText:{text:"{FORMATTED_AD_DURATION_REMAINING}",isTemplated:!0}}}),c=new XO(this.l,this.o,this.A),g.I(this,c),c.aa(this.B),c.init(NK("ad-duration-remaining"),a,this.macros));b.adInfoRenderer&&(a=b.adInfoRenderer,a.adHoverTextButtonRenderer&&(c=new dP(this.l,this.o,this.element),g.I(this,c),c.aa(this.B),c.init(NK("ad-info-hover-text-button"),a.adHoverTextButtonRenderer,this.macros)));b.visitAdvertiserRenderer&&(b=b.visitAdvertiserRenderer,b.buttonRenderer&&
(a=new CP(this.l,this.o),g.I(this,a),HP(this)&&this.F?a.aa(this.F):a.aa(this.B),a.init(NK("visit-advertiser"),b.buttonRenderer,this.macros)));(b=g.V(this.l))&&!JA(b)&&"3"==b.A&&(b=new GP(this.l,this.A),b.aa(this.L),g.I(this,b));this.show()};g.r(JP,X);JP.prototype.init=function(a,b,c){var d=this;b.toggledLoggingParams&&(this.C=b.toggledLoggingParams);if(b.clickCommands){var e=b.clickCommands;this.M(this.element,"click",function(){d.F.kc(e,d.macros)})}if(b.answer&&b.answer.buttonRenderer){var f=new KO(this.l,this.o,["ytp-ad-survey-answer-button"],"survey-single-select-answer-button");
f.aa(this.B);f.init(NK("ytp-ad-survey-answer-button"),b.answer.buttonRenderer,c);f.show()}else b.answer&&b.answer.toggleButtonRenderer&&(this.A=new zP(this.l,this.o,["ytp-ad-survey-answer-toggle-button"]),this.A.aa(this.B),g.I(this,this.A),this.A.init(NK("survey-answer-button"),b.answer.toggleButtonRenderer,c));X.prototype.init.call(this,a,b,c);this.show()};g.r(KP,X);KP.prototype.init=function(a,b,c){b.answer&&b.answer.toggleButtonRenderer&&(this.A=new zP(this.l,this.o,["ytp-ad-survey-answer-toggle-button","ytp-ad-survey-none-of-the-above-button"]),this.A.aa(this.B),this.A.init(NK("survey-none-of-the-above-button"),b.answer.toggleButtonRenderer,c));X.prototype.init.call(this,a,b,c);this.show()};g.r(LP,KO);LP.prototype.init=function(a,b,c){var d=!1;b.text&&(d=g.mC(b.text),d=!g.yb(d));d?KO.prototype.init.call(this,a,b,c):g.N(Error("No submit text was present in the renderer."),"WARNING")};
LP.prototype.onClick=function(a){this.P("A");KO.prototype.onClick.call(this,a)};g.r(MP,X);
MP.prototype.init=function(a,b,c){this.B=c;var d=b.skipOrPreviewRenderer;if(d)if(d.skipAdRenderer){d=d.skipAdRenderer;var e=new vP(this.l,this.o,this.F,this.N);e.aa(this.J);e.init(NK("skip-button"),d,this.B);g.I(this,e);this.A=e}else d.adPreviewRenderer&&(d=d.adPreviewRenderer,e=new oP(this.l,this.o,this.F),e.aa(this.J),e.init(NK("ad-preview"),d,this.B),qP(e),g.I(this,e),this.A=e);null==this.A&&g.N(Error("ISAPOR.skipOrPreviewRenderer was not initialized properly.ISAPOR: "+JSON.stringify(b)));b.brandInteractionRenderer&&
(d=b.brandInteractionRenderer.brandInteractionRenderer,e=new BP(this.l,this.o),e.aa(this.L),e.init(NK("instream-user-sentiment"),d,this.macros),g.I(this,e));b.submitButton&&(d=b.submitButton,d.buttonRenderer&&(d=d.buttonRenderer,e=new LP(this.l,this.o),e.aa(this.R),e.init(NK("survey-submit"),d,this.B),g.I(this,e),this.C=e));if(d=b.adBadgeRenderer)d=d.simpleAdBadgeRenderer,e=new TO(this.l,this.o,!0),e.aa(this.G),e.init(NK("simple-ad-badge"),d,this.B),g.I(this,e);if(d=b.adDurationRemaining)d=d.adDurationRemainingRenderer,
e=new XO(this.l,this.o,this.F),e.aa(this.G),e.init(NK("ad-duration-remaining"),d,this.B),g.I(this,e);(d=b.adInfoRenderer)&&d.adHoverTextButtonRenderer&&(e=new dP(this.l,this.o,this.element),g.I(this,e),e.aa(this.G),e.init(NK("ad-info-hover-text-button"),d.adHoverTextButtonRenderer,this.macros));X.prototype.init.call(this,a,b,c);this.show()};g.r(NP,X);NP.prototype.init=function(a,b,c){X.prototype.init.call(this,a,b,c);kfa(this)};
NP.prototype.show=function(){this.G=(0,g.D)();X.prototype.show.call(this)};
NP.prototype.xx=function(){};
NP.prototype.Ml=function(a){a instanceof lN&&a.g&&this.A.start()};g.r(QP,NP);g.h=QP.prototype;g.h.init=function(a,b,c){var d=this;NP.prototype.init.call(this,a,b,c);b.questionText&&g.fe(this.R,g.mC(b.questionText));b.answers&&b.answers.forEach(function(a){a.instreamSurveyAdAnswerRenderer&&OP(d,a.instreamSurveyAdAnswerRenderer,c)});
this.L=new window.Set(this.C.map(function(a){return a.A.A}));
(a=b.noneOfTheAbove)&&(a=a.instreamSurveyAdAnswerNoneOfTheAboveRenderer)&&lfa(this,a,c);b.surveyAdQuestionCommon?PP(this,b.surveyAdQuestionCommon):g.N(Error("SurveyAdQuestionCommon was not sent.MultiSelectQuestionRenderer: "+JSON.stringify(b)));b.submitEndpoints&&(this.X=b.submitEndpoints);this.M(this.element,"change",this.mG);this.show()};
g.h.xx=function(){RP(this,!1);this.J.C.subscribe("A",this.WJ,this)};
g.h.mG=function(a){a.target==this.B.A.A?mfa(this):this.L.has(a.target)&&(this.B.A.toggleButton(!1),RP(this,!0))};
g.h.WJ=function(){var a=this.C.reduce(function(a,b){var c=b.C;b.A&&b.A.isToggled()&&c&&a.push(c);return a},[]).join("&"),b=this.X.map(function(b){if(!b.loggingUrls)return b;
b=g.rc(b);b.loggingUrls=b.loggingUrls.map(function(b){b.baseUrl&&(b.baseUrl=gh(b.baseUrl,a));return b});
return b});
b&&this.F.kc(b,this.macros)};
g.h.clear=function(){this.dispose()};g.r(SP,NP);SP.prototype.init=function(a,b,c){var d=this;NP.prototype.init.call(this,a,b,c);b.questionText&&g.fe(this.R,g.mC(b.questionText));b.answers&&b.answers.forEach(function(a){a.instreamSurveyAdAnswerRenderer&&OP(d,a.instreamSurveyAdAnswerRenderer,c)});
b.surveyAdQuestionCommon?PP(this,b.surveyAdQuestionCommon):g.N(Error("SurveyAdQuestionCommon was not sent.SingleSelectQuestionRenderer: "+JSON.stringify(b)));this.show()};
SP.prototype.clear=function(){this.dispose()};g.r(TP,X);
TP.prototype.init=function(a,b,c,d){var e=this;null!=d&&d instanceof lN&&(b.titleText&&g.fe(this.F,g.mC(b.titleText)),b.questions.forEach(function(a){if(a.instreamSurveyAdSingleSelectQuestionRenderer){a=a.instreamSurveyAdSingleSelectQuestionRenderer;var b=new SP(e.l,e.o,e.B,d.g);b.aa(e.C);b.init(NK("survey-question-single-select"),a,c);e.A.push(b);g.I(e,b)}else a.instreamSurveyAdMultiSelectQuestionRenderer&&(a=a.instreamSurveyAdMultiSelectQuestionRenderer,b=new QP(e.l,e.o,e.B,d.g),b.aa(e.C),b.init(NK("survey-question-multi-select"),
a,c),e.A.push(b),g.I(e,b))}),X.prototype.init.call(this,a,b,c),this.show())};
TP.prototype.Ml=function(a){this.A.forEach(function(b){return b.Ml(a)})};
TP.prototype.clear=function(){this.hide();this.dispose()};g.r(UP,X);
UP.prototype.init=function(a,b,c){var d=this;X.prototype.init.call(this,a,b,c);a=b.timeoutSeconds||0;if(!g.va(a)||0>a)g.N(Error("timeoutSeconds was specified incorrectly in SurveyTextInterstitialRenderer with a value of: "+a));else if(b.timeoutCommands)if(b.text)if(b.ctaButton&&b.ctaButton.buttonRenderer)if(b.brandImage)if(b.backgroundImage&&b.backgroundImage.thumbnailLandscapePortraitRenderer&&b.backgroundImage.thumbnailLandscapePortraitRenderer.landscape){VP(this.L,b.backgroundImage.thumbnailLandscapePortraitRenderer.landscape);VP(this.J,
b.brandImage);g.fe(this.R,g.mC(b.text));this.A=new KO(this.l,this.o,["ytp-ad-survey-interstitial-action-button"]);g.I(this,this.A);this.A.aa(this.G);this.A.init(NK("button"),b.ctaButton.buttonRenderer,c);this.A.show();var e=b.timeoutCommands;this.F=new QO(1E3*a);this.F.subscribe("p",function(){d.C.hide();d.B.kc(e,c)});
g.I(this,this.F);this.M(this.element,"click",function(a){var c={adPlayerControlsCommand:{action:"AD_PLAYER_CONTROLS_ACTION_RESUME"}},e=[c];b.dismissCommands&&b.dismissCommands.length&&(e=b.dismissCommands);var f=a.target==d.N;a=d.A.element.contains(a.target);if(f||a)d.C.hide(),f?d.B.kc(e,d.macros):a&&d.B.kc([c],d.macros)});
this.C.show(100);b.impressionCommands&&this.B.kc(b.impressionCommands,c)}else g.N(Error("SurveyTextInterstitialRenderer has no landscape background image."));else g.N(Error("SurveyTextInterstitialRenderer has no brandImage."));else g.N(Error("SurveyTextInterstitialRenderer has no button."));else g.N(Error("SurveyTextInterstitialRenderer has no text."));else g.N(Error("timeoutSeconds was specified yet no timeoutCommands where specified"))};
UP.prototype.clear=function(){this.hide()};g.r(WP,X);g.h=WP.prototype;
g.h.init=function(a,b,c){var d=this;X.prototype.init.call(this,a,b,c);this.A&&(this.A.cancel(),this.A=null);this.A=new g.eg(g.za);b.bannerImage?b.iconImage?b.headline?b.description?b.actionButton&&b.actionButton.buttonRenderer?b.navigationEndpoint?(b.adInfoRenderer&&b.adInfoRenderer.adHoverTextButtonRenderer?this.gc.init(NK("watch-ad-info-hover-button"),b.adInfoRenderer.adHoverTextButtonRenderer,c):g.N(Error("ActionCompanionAdRenderer has no ad info renderer.")),this.C.init(NK("ad-image"),b.bannerImage,
c),this.N.init(NK("ad-image"),b.iconImage,c),this.G.init(NK("ad-text"),b.headline,c),this.F.init(NK("ad-text"),b.description,c),this.B.init(NK("button"),b.actionButton.buttonRenderer,c),g.fe(this.g["yt-badge-ad"],g.Q("YTP_AD_BADGE")),this.R=b.impressionCommands||[],this.J=b.navigationEndpoint,this.ba.M(this.element,"click",this.CI,this),window.Promise.race([this.A,this.X.showCompanion(this.element,300,250)]).then(function(){return d.show()})):g.N(Error("ActionCompanionAdRenderer has no navigation endpoint.")):
g.N(Error("ActionCompanionAdRenderer has no button.")):g.N(Error("ActionCompanionAdRenderer has no description string.")):g.N(Error("ActionCompanionAdRenderer has no headline string.")):g.N(Error("ActionCompanionAdRenderer has no icon image.")):g.N(Error("ActionCompanionAdRenderer has no banner image."))};
g.h.clear=function(){g.It(this.ba);this.hide()};
g.h.show=function(){this.B.show();X.prototype.show.call(this);pL(this.R,this.macros)};
g.h.hide=function(){this.B.hide();X.prototype.hide.call(this)};
g.h.CI=function(a){g.ee(this.gc.element,a.target)||this.J&&oL(this.J,this.macros)};
g.h.U=function(){this.A&&(this.A.cancel(),this.A=null);X.prototype.U.call(this)};g.r(XP,g.G);XP.prototype.U=function(){this.C&&g.Vt(this.C);this.o&&(this.o.cancel(),this.o=null);this.B&&g.Vt(this.B);this.g&&(this.g.cancel(),this.g=null);this.l&&(this.l.cancel(),this.l=null);this.A&&(this.A.stop(),this.A=null);g.G.prototype.U.call(this)};g.r(cQ,X);cQ.prototype.init=function(a,b,c){var d=this;X.prototype.init.call(this,a,b,c);this.A&&(this.A.cancel(),this.A=null);this.A=new g.eg(g.za);"BACKFILL_MPU_TYPE_AFV"==b.type?window.Promise.race([this.A,rfa(this.B)]).then(function(){pL(b.impressionEndpoints||[],d.macros)}):"BACKFILL_MPU_TYPE_AFC"==b.type&&(b.mpuAllowed?window.Promise.race([this.A,
sfa(this.B)]).then(function(){pL(b.impressionEndpoints||[],d.macros)},function(){pL(b.noAdEndpoints||[],d.macros)}):pL(b.noAdEndpoints||[],this.macros))};
cQ.prototype.U=function(){this.A&&(this.A.cancel(),this.A=null);X.prototype.U.call(this)};g.r(dQ,g.R);dQ.prototype.clear=function(){for(var a=g.p(this.za),b=a.next();!b.done;b=a.next())g.$e(b.value);this.za=[]};
dQ.prototype.F=function(a){g.zt(a);this.l=Math.max(0,this.l-eQ(this));fQ(this)};
dQ.prototype.C=function(a){g.zt(a);this.l=Math.min(this.za.length-1,this.l+eQ(this));fQ(this)};
dQ.prototype.U=function(){this.clear();g.R.prototype.U.call(this)};g.r(gQ,GL);g.h=gQ.prototype;g.h.ha=function(){return this.ed.element};
g.h.fk=function(a){var b=this.ed,c=new g.R({D:"li",H:"ad-carousel-listitem",K:[{D:"div",H:"ad-carousel-item"}]});c.g["ad-carousel-item"].appendChild(a);b.za.push(c);b.B.appendChild(c.element)};
g.h.show=function(){this.ed.show()};
g.h.hide=function(){this.ed.hide()};
g.h.clear=function(){this.ed.clear()};var Tga={eM:"adinfoclick",ON:"offerclick",PN:"offernavclick"};g.r(hQ,GL);hQ.prototype.show=function(){this.l.show()};
hQ.prototype.hide=function(){this.l.hide()};
hQ.prototype.Rc=function(){var a=this;this.l.da("click",function(){a.dispatchEvent({type:"offerclick"})});
for(var b=g.p((this.l.element||window.document).getElementsByTagName("A")),c=b.next();!c.done;c=b.next())this.l.M(c.value,"click",function(){a.dispatchEvent({type:"offernavclick"})})};
hQ.prototype.ha=function(){return this.l.element};var ufa={Wm:hQ};g.r(jQ,HL);
jQ.prototype.Bi=function(a){var b=this.xc();a=a.renderer;this.g=a.clickthroughEndpoint||null;var c=a.headline||null;iQ(b.o,"headline",c);iQ(b.g,"headline",c);c=a.merchant||null;iQ(b.A,"merchant",c);iQ(b.o,"merchant",c);iQ(b.g,"merchant",c);c=a.priceText||null;iQ(b.A,"price",c);iQ(b.o,"price",c);iQ(b.g,"price",c);c=(c=a.image&&0<a.image.thumbnails.length?a.image.thumbnails[0].url||null:null)?{D:"img",O:{src:c}}:null;b.A.updateValue("image",c);b.g.updateValue("image",c);a.rating?(c=a.reviewText||null,
g.ci(b.B.element,Math.floor(100*a.rating/5)+"%"),iQ(b.B,"reviewText",c),b.o.updateValue("review",b.B),b.g.updateValue("review",b.B)):(b.o.updateValue("review",null),b.g.updateValue("review",null));this.show();return window.Promise.resolve()};
jQ.prototype.Rc=function(){for(var a=this,b=g.p(Object.values(Tga)),c=b.next();!c.done;c=b.next())this.xc().addEventListener(c.value,function(b){return a.onClick(b)})};
jQ.prototype.Aj=function(a){switch(void 0===a.type?void 0:a.type){case "offernavclick":this.g&&this.xe(this.g)}};
jQ.prototype.xc=function(){return this.view};g.r(kQ,GL);g.h=kQ.prototype;g.h.ha=function(){return this.g.element};
g.h.show=function(){this.g.show()};
g.h.hide=function(){this.g.hide()};
g.h.Rc=function(){var a=this;this.g.da("click",function(b){g.ee(a.g.g["ad-info-icon"],b.target)&&a.dispatchEvent({type:"adinfoclick"})})};
g.h.U=function(){pfa(this.l);GL.prototype.U.call(this)};var lQ={oz:NL,iA:kQ,Vm:jQ,Sm:gQ};g.r(mQ,HL);g.h=mQ.prototype;g.h.xc=function(){return this.view};
g.h.Bi=function(a){var b=this;this.Ei();this.Bd=new g.eg(g.za);return window.Promise.race([this.Bd,this.xc().A]).then(function(){return b.mn(a.renderer)})};
g.h.mn=function(a){var b=this.xc(),c=a.shopText||null;c=c?FL(c):null;b.g.updateValue("shopText",c);c=(c=a.sponsoredText||null)?FL(c):null;b.g.updateValue("sponsoredText",c);a.adInfoButton?this.Rd.bind({renderer:a.adInfoButton.buttonRenderer.navigationEndpoint.adInfoDialogEndpoint.dialog.adInfoDialogRenderer,macros:this.macros}):this.Rd.bind({renderer:{dialogMessage:a.adInfoText},macros:this.macros});a=a.itemList.horizontalListRenderer||null;this.Hi();this.ed.clear();a=g.p(a&&a.items||[]);for(b=a.next();!b.done;b=
a.next())b=b.value.plaShelfItemRenderer,c=new lQ.Vm(this.Db,this.hn),this.Rg.push(c),c.jh(this.ed),c.bind({renderer:b,macros:this.macros});fQ(this.ed.ed);vfa(this);this.show()};
g.h.Rc=function(){var a=this;this.ba.M(this.Db,"appresize",this.xb);this.ba.M(this.view,"adinfoclick",function(b){return a.onClick(b)})};
g.h.xb=function(){fQ(this.ed.ed)};
g.h.Aj=function(a){"adinfoclick"==a.type&&this.Rd.show()};
g.h.Ei=function(){this.Bd&&(this.Bd.cancel(),this.Bd=null)};
g.h.Hi=function(){g.af(this.Rg);this.Rg=[]};
g.h.U=function(){this.Ei();this.Hi();HL.prototype.U.call(this)};g.r(nQ,GL);g.h=nQ.prototype;g.h.ha=function(){return this.g.element};
g.h.fk=function(a){this.A++;this.F.appendChild(a);oQ(this)};
g.h.show=function(){this.g.show()};
g.h.hide=function(){this.g.hide()};
g.h.clear=function(){this.A=0;g.Wd(this.F)};
g.h.scrollLeft=function(){this.l=Math.max(0,this.l-1);oQ(this)};g.r(pQ,GL);g.h=pQ.prototype;g.h.ha=function(){return this.g.element};
g.h.show=function(){this.g.show()};
g.h.hide=function(){this.g.hide()};
g.h.fk=function(a){this.g.jb(a)};
g.h.Rc=function(){var a=this;this.g.da("click",function(){a.dispatchEvent({type:"companionclick"})});
var b=g.Ed("ad-companion-clickthrough",this.g.element);b&&this.g.M(b,"click",function(){a.dispatchEvent({type:"shoptextclick"})})};
g.h.U=function(){GL.prototype.U.call(this);g.$e(this.l)};g.r(qQ,GL);qQ.prototype.show=function(){this.g.show()};
qQ.prototype.hide=function(){this.g.hide()};
qQ.prototype.Rc=function(){var a=this;this.g.da("click",function(){a.dispatchEvent({type:"offerclick"})})};
qQ.prototype.ha=function(){return this.g.element};var wfa={Wm:qQ};g.r(rQ,HL);rQ.prototype.Bi=function(a){var b=this.xc();a=a.renderer;this.g=a.clickthroughEndpoint||null;var c=a.headline||null;c&&g.fe(b.g.g["iv-cards-slider-text"],g.mC(c));(c=a.priceText||null)&&g.fe(b.g.g["iv-cards-slider-action"],g.mC(c));a=a.image&&0<a.image.thumbnails.length?a.image.thumbnails[0].url||null:null;b.g.updateValue("image",a?{D:"img",O:{src:a}}:null);this.show();return window.Promise.resolve()};
rQ.prototype.Aj=function(){this.g&&this.xe(this.g)};
rQ.prototype.xc=function(){return this.view};var sQ={Dz:pQ,Vm:rQ,Sm:nQ};g.r(tQ,HL);g.h=tQ.prototype;g.h.xc=function(){return this.view};
g.h.Bi=function(a){var b=this;this.Ei();this.Bd=new g.eg(g.za);return window.Promise.race([this.Bd,this.xc().o]).then(function(){return b.mn(a.renderer)})};
g.h.mn=function(a){this.ds=a.clickTrackingEndpoints||[];this.Qp=a.clickToAdvSiteEndpoint||null;var b=this.xc(),c=a.adBadgeText||null;c&&g.fe(b.g.g["yt-badge-ad"],g.mC(c));(c=a.shopText||null)&&g.fe(b.g.g["ad-companion-clickthrough"],g.mC(c));a.adInfoRenderer&&a.adInfoRenderer.adHoverTextButtonRenderer?this.gc.init(NK("watch-ad-info-hover-button"),a.adInfoRenderer.adHoverTextButtonRenderer,this.macros):g.N(Error("ShoppingCompanionCarouselRenderer has no ad info renderer."));a=a.itemList.horizontalListRenderer||
null;this.Hi();this.Df.clear();a=g.p(a&&a.items||[]);for(b=a.next();!b.done;b=a.next())b=b.value.shoppingCompanionCarouselItemRenderer,c=new sQ.Vm(this.Db,this.hn),this.Rg.push(c),c.jh(this.Df),c.bind({renderer:b,macros:this.macros});this.show()};
g.h.Rc=function(){function a(a){return b.onClick(a)}
var b=this;this.xc().addEventListener("shoptextclick",a);this.xc().addEventListener("companionclick",a);this.Df.addEventListener("nextbuttonclick",a);this.Df.addEventListener("prevbuttonclick",a)};
g.h.Aj=function(a){switch(void 0===a.type?void 0:a.type){case "companionclick":this.kc(this.ds);break;case "nextbuttonclick":a=this.Df;a.l=Math.min(a.A-3,a.l+1);oQ(a);break;case "prevbuttonclick":this.Df.scrollLeft();break;case "shoptextclick":this.Qp&&this.xe(this.Qp)}};
g.h.Hi=function(){g.af(this.Rg);this.Rg=[]};
g.h.Ei=function(){this.Bd&&(this.Bd.cancel(),this.Bd=null)};
g.h.U=function(){this.Ei();this.Hi();HL.prototype.U.call(this)};g.r(uQ,g.O);g.h=uQ.prototype;g.h.Us=function(){return 1E3*this.g.Tb(2)};
g.h.stop=function(){this.o&&this.l.Na(this.o)};
g.h.hG=function(){var a=this.g.Uf(2);this.A={seekableStart:a.seekableStart,seekableEnd:a.seekableEnd,current:a.current};this.P("q")};
g.h.Pg=function(){return this.A};
g.h.gG=function(a){0<FD(a,2)&&this.P("p")};g.r(wQ,g.Gt);wQ.prototype.F=function(a){if(Array.isArray(a)){a=g.p(a);for(var b=a.next();!b.done;b=a.next())b=b.value,b instanceof PK&&this.l(b)}};var Uga=["pla-shelf","shopping-companion","backfill-mpu-companion","action-companion"];g.r(xQ,wQ);xQ.prototype.l=function(a){var b=a.id,c=a.content,d=c.componentType;if(Uga.includes(d)){var e=this.o();switch(a.actionType){case 1:if(this.g.has(b))break;a=vQ(d,this.Db,e,this.A);if(!a){Rr(Error("Unable to create component with type: "+d));break}this.g.set(b,a);case 2:b=this.g.get(b);if(!b)break;b.bind(c);break;case 3:if(c=this.g.get(b))c.dispose(),this.g["delete"](b)}}};
xQ.prototype.U=function(){g.af([].concat(g.oa(this.g.values())))};g.r(yQ,wQ);
yQ.prototype.l=function(a){var b=a.content;switch(b.componentType){case "pla-shelf":switch(a.actionType){case 1:case 2:this.Db.ma("onPlaShelfInfoCardsReady",{renderer:b.renderer,macros:b.macros});break;case 3:this.Db.ma("onPlaShelfInfoCardsReady",{})}break;case "shopping-companion":switch(a.actionType){case 1:case 2:a=this.Db.getVideoData(1);this.Db.ma("updatekevlarcompanion",{contentVideoId:a&&a.videoId,shoppingCompanionCarouselRenderer:b.renderer,macros:b.macros});break;case 3:this.Db.ma("updatekevlarcompanion",{})}break;
case "action-companion":switch(a.actionType){case 1:case 2:a=this.Db.getVideoData(1);this.Db.ma("updatekevlarcompanion",{contentVideoId:a&&a.videoId,actionCompanionRenderer:Jea(b),macros:b.macros});break;case 3:this.Db.ma("updatekevlarcompanion",{})}break;case "backfill-mpu-companion":switch(a.actionType){case 1:case 2:if(!b.renderer)break;a=this.g();a=Object.assign({},uL(this.Db,a),b.macros);var c=this.Db.getVideoData(1);c={contentVideoId:c&&c.videoId,backfillMpuCompanionAdRenderer:b.renderer};if("BACKFILL_MPU_TYPE_AFV"==
b.renderer.type)pL(b.renderer.impressionEndpoints||[],a);else if("BACKFILL_MPU_TYPE_AFC"==b.renderer.type){if(!b.renderer.mpuAllowed){pL(b.renderer.noAdEndpoints||[],a);break}c.afcMpu={logImpression:(0,g.A)(pL,this,b.renderer.impressionEndpoints||[],a),logNoAd:(0,g.A)(pL,this,b.renderer.noAdEndpoints||[],a)}}this.Db.ma("updatekevlarcompanion",c);break;case 3:this.Db.ma("updatekevlarcompanion",{})}}};var Vga="ad-attribution-bar ad-channel-thumbnail advertiser-name ad-preview ad-title skip-button visit-advertiser".split(" ").concat(["pla-shelf","shopping-companion","backfill-mpu-companion","action-companion"]);g.r(zQ,wQ);
zQ.prototype.l=function(a){var b=a.id,c=a.content;if(c){var d=c.componentType;if(!Vga.includes(d))switch(a.actionType){case 1:a=this.B();a=vQ(d,this.o,a,this.C);if(!a){g.N(Error("No UI component returned from ComponentFactory for type: "+d),"WARNING");break}hc(this.g,b)?g.N(Error("Ad UI component already registered: "+b),"WARNING"):this.g[b]=a;a.bind(c);a.jh(this.A);break;case 2:b=AQ(this,a);if(null==b)break;b.bind(c);break;case 3:c=AQ(this,a),null!=c&&(g.$e(c),hc(this.g,b)?nc(this.g,b):g.N(Error("Ad UI component does not exist: "+
b),"WARNING"))}}};
zQ.prototype.U=function(){g.af(Object.values(this.g));this.g={};wQ.prototype.U.call(this)};g.r(BQ,g.HK);g.h=BQ.prototype;g.h.create=function(){this.load();this.created=!0};
g.h.load=function(){g.HK.prototype.load.call(this);this.g.getRootNode().classList.add("ad-created");var a=new EK(this.g);this.l=new cO(this.g,a);this.l.init()};
g.h.unload=function(){g.HK.prototype.unload.call(this);this.g.getRootNode().classList.remove("ad-created");var a=this.l;this.l=null;a.dispose()};
g.h.Wb=function(){return!1};
g.h.fv=function(){return Object.values(Rga)};
g.h.ev=function(a,b){b=void 0===b?{}:b;switch(a){case "replaceUrlMacros":var c=b;if(c.url){var d=oM(this.g);Object.assign(d,c.additionalMapping);this.l&&!d.AD_CPN&&(d.AD_CPN=this.l.Z);c=g.bp(c.url,d)}else c=null;return c;case "isExternalShelfAllowedFor":a:if(b.playerResponse){c=b.playerResponse.adPlacements||[];for(d=0;d<c.length;d++){var e=c[d];if(e.adPlacementRenderer&&e.adPlacementRenderer.renderer&&e.adPlacementRenderer.renderer.plaShelfRenderer){c=!1;break a}}c=!0}else c=!1;return c;default:return null}};g.MQ={};var Wga=[2,5];var uX=!1,vX=!1;g.Ut("showCompanionAdLoaded",function(){if(vX){var a=g.z("window.google_show_companion_ad");var b=g.z("yt.www.watch.ads.getGlobals");g.Ea(a)&&g.Ea(b)?(b=b(),b=!(!b||!b.length)):b=!1;b?a():vX=!0;vX=!1}});
g.Ut("watchAdsInit",function(){if(uX){uX=!1;var a=g.z("yt.www.watch.ads.loadAfc");g.Ea(a)?a():uX=!0}});new function(){this.l=1;this.g=g.va(void 0)?void 0:null;if(g.Va(Wga,this.l)){if(!g.va(this.g)||0>this.g)throw Error("Must have valid offset");}else if(null!==this.g)throw Error("Must not have offset");};g.r(HQ,g.G);g.h=HQ.prototype;g.h.qs=function(){if(!this.l){var a=this.qs;if("lb3"==g.V(this.g).playerStyle)var b=!1;else b=this.g.getVideoData(),b=b.qk||b.captionTracks.length||b.pa&&b.ka&&(null!=b.ka.g.en||g.uz(b.ka))?!0:!1;(a=OQ(this,"captions",a,b))&&!this.l&&(this.l=a,a.Hu()&&a.load(),this.g.ma("onApiChange"))}};
g.h.Cn=function(){this.J=this.J||OQ(this,"endscreen",this.Cn,g.IQ(this))};
g.h.xs=function(){var a=this.g.getVideoData();var b=g.V(this.g).experiments,c=g.Fs(),d=Bs(),e=g.S(b,"enable_mesh_cobalt"),f=g.S(b,"enable_spherical_kabuki")||a.Fs,k=g.bB(g.V(this.g));a=a.Hd()?c||e||f||k||d||g.S(b,"html5_enable_spherical"):a.Xd()?k||c||f||g.S(b,"html5_enable_spherical"):a.Yd()?k||c||g.S(b,"html5_enable_spherical3d"):a.Cg()?k||g.S(b,"html5_enable_anaglyph3d")||!1:k&&!g.DC(a)&&(g.S(b,"enable_webgl_noop")||g.S(b,"enable_white_noise")||g.S(b,"html5_enable_unsharp")||g.S(b,"html5_enable_bicubicsharp"));
this.o||(this.o=OQ(this,"webgl",this.xs,a));this.o&&a&&this.o.load()};
g.h.zs=function(){this.Y=this.Y||OQ(this,"ypc",this.zs,g.KC(this.g.getVideoData(),"ypc_module"))};
g.h.ys=function(){this.X=this.X||OQ(this,"ypc_clickwrap",this.ys,g.KC(this.g.getVideoData(),"ypc_clickwrap_module"))};
g.h.os=function(){this.Z=this.Z||OQ(this,"spacecast",this.os,this.g.getVideoData().spacecastModule)};
g.h.ls=function(){var a=!this.L;this.L=this.L||OQ(this,"heartbeat",this.ls,g.KC(this.g.getVideoData(),"ypc_license_checker_module"));a&&this.L&&this.g.P("offlineslatestatechange")};
g.h.An=function(){if(!this.A){var a=this.An;var b=g.V(this.g);if("3"==b.A)b=!1;else if(b.G.isEmpty()&&"annotation-editor"!=b.playerStyle&&"live-dashboard"!=b.playerStyle){var c=this.g.getVideoData();b=g.S(b.experiments,"disable_new_iv_module_create_logic")?g.KC(c,"iv3_module"):!!c.re}else b=!0;if(this.A=OQ(this,"annotations_module",a,b)){a=this.A;for(var d in this.la)b=d,a.subscribe(b,this.la[b]);this.g.ma("onApiChange")}}};
g.h.ks=function(){this.I=this.I||OQ(this,"fresca",this.ks,g.KC(this.g.getVideoData(),"fresca_module"))};
g.h.Dn=function(){this.N||(this.N=OQ(this,"remote",this.Dn,g.V(this.g).Ua))&&this.N.create()};
g.h.rs=function(){this.F||(this.F=OQ(this,"unplugged",this.rs,g.XA(g.V(this.g))))&&this.F.init()};
g.h.ts=function(){this.R||(this.R=OQ(this,"ux",this.ts,!0))&&this.R.init()};
g.h.ms=function(){this.ea||(this.ea=OQ(this,"miniplayer",this.ms,g.V(this.g).useMiniplayerUi))&&this.ea.init()};
g.h.Bn=function(){if(!this.G){var a=this.Bn;var b=g.V(this.g);"3"==b.A?b=!1:"creator-endscreen-editor"==b.playerStyle?b=!0:(b=this.g.getVideoData(),b=!!b&&!!g.OC(b));(this.G=OQ(this,"creatorendscreen",a,b))&&this.g.ma("onApiChange")}};
g.h.As=function(){(this.T=this.T||OQ(this,"yto",this.As,!!this.g.getVideoData().tc.includes("yto")))&&this.T.init()};
g.h.ws=function(){this.C?this.C.pe():(this.C=OQ(this,"visualizer",this.ws,LQ(this)))&&this.C.pe()};
g.h.U=function(){g.G.prototype.U.call(this);PQ(this,!0)};g.r(g.QQ,jD);g.h=g.QQ.prototype;g.h.gf=function(){return!0};
g.h.ha=function(){return this.g};
g.h.Ec=function(){return this.g.src};
g.h.xl=function(a){var b=this.Ub();this.g.src=a;this.Jd(b)};
g.h.hq=function(){this.g.removeAttribute("src")};
g.h.Ub=function(){try{return 0<=this.g.playbackRate?this.g.playbackRate:1}catch(a){return 1}};
g.h.Jd=function(a){this.Ub()!=a&&(this.g.playbackRate=a);return a};
g.h.ep=function(){return this.g.loop};
g.h.wl=function(a){this.g.loop=a};
g.h.jj=function(a,b){return this.g.canPlayType(a,b)};
g.h.Lg=function(){return this.g.paused};
g.h.kl=function(){return this.g.seeking};
g.h.Dg=function(){return this.g.ended};
g.h.ul=function(){return this.g.muted};
g.h.Lh=function(a){uw();this.g.muted=a};
g.h.Pi=function(){return this.g.played||jw([],[])};
g.h.ye=function(){try{var a=this.g.buffered}catch(b){}return a||jw([],[])};
g.h.vh=function(){return this.g.seekable||jw([],[])};
g.h.Kh=function(){return this.g.getStartDate?this.g.getStartDate():null};
g.h.getCurrentTime=function(){return this.g.currentTime};
g.h.gi=function(a){this.g.currentTime=a};
g.h.Tb=function(){return this.g.duration};
g.h.load=function(){var a=this.g.playbackRate;this.g.load&&this.g.load();this.g.playbackRate=a};
g.h.pause=function(){this.g.pause()};
g.h.play=function(){var a=this.g.play();return a&&a.then?a:null};
g.h.kd=function(){return this.g.readyState};
g.h.Rk=function(){return this.g.networkState};
g.h.jf=function(){return this.g.error?this.g.error.code:null};
g.h.Jh=function(){return this.g.error?this.g.error.message:""};
g.h.gp=function(){var a={};if(this.g){if(this.g.getVideoPlaybackQuality)return this.g.getVideoPlaybackQuality();this.g.webkitDecodedFrameCount&&(a.totalVideoFrames=this.g.webkitDecodedFrameCount,a.droppedVideoFrames=this.g.webkitDroppedFrameCount)}return a};
g.h.Kg=function(){return!!this.g.webkitCurrentPlaybackTargetIsWireless};
g.h.hp=function(){return!!this.g.webkitShowPlaybackTargetPicker()};
g.h.ip=function(){this.g.webkitSetPresentationMode("picture-in-picture"==this.g.webkitPresentationMode?"inline":"picture-in-picture")};
g.h.fp=function(){return Uh(this.g)};
g.h.kj=function(){return g.fi(this.g)};
g.h.Bb=function(){return this.g.volume};
g.h.setVolume=function(a){uw();this.g.volume=a};
g.h.Jn=function(a){if(!this.l[a]){var b=(0,g.A)(this.lD,this);this.g.addEventListener(a,b);this.l[a]=b}};
g.h.lD=function(a){this.dispatchEvent(new qD(this,a.type,a))};
g.h.setAttribute=function(a,b){this.g.setAttribute(a,b)};
g.h.removeAttribute=function(a){this.g.removeAttribute(a)};
g.h.hasAttribute=function(a){return this.g.hasAttribute(a)};
g.h.yi=ba(6);g.h.Mj=ba(8);g.h.nh=ba(10);g.h.Ek=function(){kt(this.g)};
g.h.Qi=function(a){return Ph(this.g,a)};
g.h.U=function(){for(var a in this.l)this.g.removeEventListener(a,this.l[a]);jD.prototype.U.call(this)};g.r(RQ,g.O);g.h=RQ.prototype;g.h.gF=function(a){a=xt(a);if(!td(a,this.A)){var b=2;this.C&&(b|=8);this.A=a;this.wb(b,!0)}};
g.h.pG=function(){this.C&&this.wb(8,!0);this.wb(2,!1)};
g.h.Ep=function(a){var b=xt(a);td(b,this.A)||(this.A=b,(a=g.ut(a))&&this.N(a)&&(this.wb(4,!0),this.ba.Na(this.o),this.o=this.ba.M(this.l,"mouseover",this.yv),this.J=this.ba.M(this.l,"mouseout",this.yv)))};
g.h.yv=function(a){a=wt(a);a&&this.N(a)||(this.A=new g.sd(window.NaN,window.NaN),SQ(this))};
g.h.ZB=function(){this.wb(1,!0)};
g.h.LA=function(a){a=g.ut(a);a instanceof window.Element&&!(0<a.tabIndex)||this.wb(1,!0)};
g.h.xv=function(){this.C=!0;this.ba.Na(this.B);this.B=this.ba.M(window.document,"mouseup",this.hF)};
g.h.hF=function(){this.C=!1;this.wb(8,!1);this.ba.Na(this.B);this.B=this.ba.M(this.l,"mousedown",this.xv)};
g.h.zv=function(a){if(a=(a=a.changedTouches)&&a[0])this.R=a.identifier,this.ba.Na(this.F),this.F=this.ba.M(this.l,"touchend",this.iF,void 0,!0),this.wb(1024,!0)};
g.h.iF=function(a){if(a=a.changedTouches)for(var b=0;b<a.length;b++){var c=a[b];if(c.identifier==this.R){var d=c;break}}d&&(this.ba.Na(this.F),this.F=this.ba.M(this.l,"touchstart",this.zv,void 0,!0),this.wb(1024,!1))};
g.h.wb=function(a,b){var c=!this.g;b?(this.g|=a,a&1&&this.G.start(),a&2&&this.I.start()):(this.g&=~a,a&1&&this.G.stop(),a&2&&this.I.stop(),a&512&&this.L.stop());this.g&512&&!(this.g&128)&&g.sq(this.L,this.T);var d=!this.g;c!=d&&this.P("autohideupdate",d)};g.r(TQ,g.R);g.h=TQ.prototype;g.h.show=function(){var a=this;this.Ha()||(this.B.M(this.l,"videodatachange",function(){return g.sq(a.o)}),this.B.M(this.l,"videoplayerreset",function(){return g.sq(a.o)}));
g.R.prototype.show.call(this)};
g.h.hide=function(){this.B&&g.It(this.B);g.R.prototype.hide.call(this)};
g.h.sF=function(a){var b=g.V(this.l);g.S(b.experiments,"disable_new_pause_state3")&&YA(b)&&(a=g.BD(a.state)&&!g.BD(a.g)||ZJ(this.l)&&g.U(a.state,2),g.Ih(this.element,"transition-delay",a?"2s":""));g.sq(this.o)};
g.h.EK=function(){g.sq(this.o)};
g.h.rF=function(){this.A.stop();this.hide();g.sq(this.o)};
g.h.Dv=function(){var a=g.XJ(this.l),b=!1;if(3==this.l.Da()&&(g.zD(a)||g.U(a,4)))var c=!0;else(c=g.RJ(this.l).Y)&&c.lL()?c=!0:(c=g.V(this.l),c=g.U(a,2)&&TJ(this.l)&&c.Ga?!0:!1);c?(c=!0,window.document.activeElement==this.C&&this.l.getRootNode().focus(),this.C.style.display="none"):(this.C.style.display="",g.BD(a)&&2!=this.l.Da()?c=!0:(b=!g.S(g.V(this.l).experiments,"disable_new_pause_state3"),c=!(!g.U(a,2)||TJ(this.l)||b&&g.gW(this.l.app))||g.U(a,1024)?!0:!1),b=g.V(this.l),b=g.S(b.experiments,"web_player_embed_duration")&&
b.g&&!b.Bc);c?(this.A.show(),a=this.l.getVideoData(),this.HL(this.l.Fe(),a),g.K(this.element,"ytp-cued-thumbnail-overlay-show-duration",b&&0<a.lengthSeconds),a=g.VO(a.lengthSeconds),this.updateValue("duration",a)):(this.A.hide(),g.U(a,1)||this.A.stop())};
g.h.HL=function(a){for(var b=[],c=0;c<arguments.length;++c)b[c-0]=arguments[c];c=g.V(this.l);b=g.p(b);for(var d=b.next();!d.done;d=b.next())if(d=d.value,!(!d||d instanceof g.nC&&!d.videoId)){var e=g.YJ(this.l).Ba();var f=g.ZA(),k=e.width*f;f*=e.height;if(1280<k||720<f)if(e=d.oc(c,"maxresdefault.jpg"))break;if(640<k||480<f)if(e=d.oc(c,"maxresdefault.jpg"))break;if(320<k||180<f)if(e=d.oc(c,"sddefault.jpg")||d.oc(c,"hqdefault.jpg")||d.oc(c,"mqdefault.jpg"))break;if(e=d.oc(c,"default.jpg"))break}this.F.style.backgroundImage=
e?"url("+e+")":""};g.r(VQ,g.G);VQ.prototype.start=function(a,b,c){this.g=a;this.G=b;this.C=c;this.F=g.P();this.o()};
VQ.prototype.o=function(){var a=g.P()-this.F;var b=this.A;a=Iq(b,a/this.C);if(0==a)b=b.F;else if(1==a)b=b.G;else{var c=qd(b.F,b.B,a),d=qd(b.B,b.C,a);b=qd(b.C,b.G,a);c=qd(c,d,a);d=qd(d,b,a);b=qd(c,d,a)}b=g.od(b,0,1);this.B((this.G-this.g)*b+this.g);1>b&&this.l.start()};g.r(XQ,g.R);g.h=XQ.prototype;g.h.hide=function(){this.R=!0;g.R.prototype.hide.call(this)};
g.h.show=function(){this.R=!1;g.R.prototype.show.call(this)};
g.h.isHidden=function(){return this.R};
g.h.LF=function(){ZQ(this,this.B-this.F)};
g.h.MF=function(){ZQ(this,this.B+this.F)};
g.h.NF=function(a,b){var c=this.o[a],d=c.Yc;if(g.DQ(b,this.l,this.X,d||void 0)){var e=c.sb().videoId;c=c.getPlaylistId();g.fW(this.l.app,e,d,c,void 0,void 0,void 0)}};
g.h.Iv=function(){var a=this,b=this.l.getVideoData(),c=g.V(this.l);this.X=b.isDni?!1:c.g;g.K(this.element,"ytp-controls-on-error",ZJ(this.l));b.suggestions?(c=(0,g.$d)(b.suggestions,function(a){return a&&!a.list}),this.o=(0,g.E)(c,function(b){b=g.UQ(b);
g.I(a,b);return b})):this.o.length=0;
yfa(this);b.isDni?this.L.update({title:g.Q("YTP_MORE_FROM_CHANNEL",{DNI_RELATED_CHANNEL:b.author})}):this.L.update({title:g.Q("YTP_MORE_ON_YOUTUBE")})};
g.h.Jv=function(a){this.G.element.scrollLeft=-a};g.r(cR,g.R);cR.prototype.show=function(){g.R.prototype.show.call(this);this.G()};
cR.prototype.G=function(){var a=1-1/1.5;this.A=(this.A+this.L)%(this.width*a);this.B=(this.B+this.J)%(this.height*a);this.o.drawImage(this.I,-1*this.A,-1*this.B);this.o.fillRect(0,this.C,this.width,75);this.C=(this.C+75+7)%this.height-75;this.l.isActive()||g.sq(this.F)};
cR.prototype.hide=function(){this.l.stop();this.F.stop();g.R.prototype.hide.call(this)};g.r(fR,g.R);fR.prototype.show=function(){g.R.prototype.show.call(this);gR(this,function(a){a.show()});
this.B&&hR(this,g.YJ(this.l).Ba())};
fR.prototype.hide=function(){g.R.prototype.hide.call(this);gR(this,function(a){a.hide()})};
fR.prototype.F=function(a){if(g.DQ(a,this.l,!YA(g.V(this.l)))){a={as3:!1,html5:!0,player:!0,cpn:this.l.getVideoData().clientPlaybackNonce};var b=this.l;b.ma("onFeedbackArticleRequest",{articleId:3037019,helpContext:"player_error",productData:a});b.isFullscreen()&&g.aK(b)}};
var zfa=/<a\s+href=["']([^"']+)["'](?:\s+target=["']([^"']+)["'])?>([^<>]+)<\/a>/;g.r(lR,g.Gt);lR.prototype.B=function(){this.A();var a=g.V(this.g),b=this.g.getVideoData(),c=[];a.F||c.push({src:b.oc(a,"mqdefault.jpg"),sizes:"320x180"});this.l.metadata=new window.MediaMetadata({title:b.title,artist:b.author,artwork:c});a=ZJ(this.g);this.o.has("nexttrack")!=a&&(c=b=null,a&&(b=(0,g.A)(function(){this.g.Oh()},this),c=(0,g.A)(function(){this.g.nj()},this)),kR(this,"nexttrack",b),kR(this,"previoustrack",c))};
lR.prototype.A=function(){var a=g.XJ(this.g);a=a.isError()?"none":g.AD(a)?"playing":"paused";this.l.playbackState=a};
lR.prototype.U=function(){this.l.playbackState="none";this.l.metadata=null;for(var a=g.p(this.o),b=a.next();!b.done;b=a.next())kR(this,b.value,null);g.Gt.prototype.U.call(this)};g.r(mR,g.R);mR.prototype.R=function(a,b){nR(this,b);this.C&&oR(this,this.C)};
mR.prototype.N=function(a){var b=this.J.getVideoData();this.o!=b.videoId&&nR(this,b);this.l&&oR(this,a.state);this.C=a.state};
mR.prototype.L=function(){this.B.hide();this.o&&(this.A[this.o]=(this.A[this.o]||0)+((0,g.D)()-this.G));this.G=0};g.r(qR,g.R);qR.prototype.hide=function(){this.l.stop();this.A.style.display="none";g.R.prototype.hide.call(this)};
qR.prototype.B=function(a){pR(this,a.state)};
qR.prototype.C=function(){pR(this,g.XJ(this.o))};
qR.prototype.F=function(){this.A.style.display="block"};g.r(rR,g.tv);g.h=rR.prototype;g.h.show=function(){var a=tR(this);g.tv.prototype.show.call(this);this.ca&&(this.I.M(window,"blur",this.nb),this.I.M(window.document,"click",this.JF));a||this.P("show",!0)};
g.h.hide=function(){var a=tR(this);g.tv.prototype.hide.call(this);sR(this);a&&this.P("show",!1)};
g.h.Md=function(a,b){this.B=a;this.L.show();b?(this.J||(this.J=this.I.M(this.T,"appresize",this.Dr)),this.Dr()):this.J&&(this.I.Na(this.J),this.J=null);a&&(a.getAttribute("aria-haspopup"),a.setAttribute("aria-expanded",!0),window.document.activeElement&&g.ee(a,window.document.activeElement)&&this.focus())};
g.h.Dr=function(){g.Hv(this.T).Wl(this.element,this.B)};
g.h.nb=function(){var a=tR(this);sR(this);this.L.hide();a&&this.P("show",!1)};
g.h.fg=function(a,b){tR(this)?this.nb():this.Md(a,b)};
g.h.JF=function(a){var b=vt(a);b&&(g.ee(this.element,b)||this.B&&g.ee(this.B,b)||!g.WO(a))||this.nb()};g.r(vR,rR);vR.prototype.C=function(a){a?(uR(this),this.Md()):(this.o&&wR(this),this.nb())};
vR.prototype.F=function(a){this.l.app.ea&&0<FD(a,2)&&this.nb()};
vR.prototype.onClick=function(){this.l.Ge();wR(this)};g.r(xR,g.Gt);g.h=xR.prototype;g.h.init=function(){var a=g.XJ(this.g);this.rm(a);this.Zg();this.tj()};
g.h.Av=function(a,b){if(this.Ga!=b.videoId){this.Ga=b.videoId;var c=this.o;c.T=b&&0<b.ng.length?5E3:3E3;c.wb(512,!0);this.Zg()}};
g.h.WI=function(){this.Av("newdata",this.g.getVideoData())};
g.h.hi=function(){var a=g.hK(this.g)&&g.iK(this.g);yR(this);(a=this.Za||a)||(a=g.RJ(this.g).I,a=!!a&&a.SC());return a||this.ib||yR(this)};
g.h.Ke=function(){var a=!this.hi();g.K(this.g.getRootNode(),"ytp-menu-shown",!a)};
g.h.jF=function(a){if(!g.ee(this.g.getRootNode(),a))return!1;for(;a&&!g.ie(a);)a=a==this.g.getRootNode()?null:g.de(a);return!!a};
g.h.Tp=function(a){var b=this.g.getRootNode();g.K(b,"ytp-autohide",a);g.K(b,"ytp-autohide-active",!0);this.Ya.start(a?250:100);a&&(this.Ta=!1,g.fq(b,"ytp-touch-mode"));b=this.g;a=!a;b.ma("onVideoAreaChange");b.ma(a?"onShowControls":"onHideControls")};
g.h.VG=function(){var a=this.g.getRootNode();g.K(a,"ytp-autohide-active",!1)};
g.h.EJ=function(a){CR(this)&&DR(this,a);var b=tR(this.ia);g.DW&&ER(this,a)?b&&g.zt(a):(g.BD(g.XJ(this.g))&&!g.V(this.g).ra&&(b=this.g.getVideoData(),b.videoId&&this.g.pj(NC(b))),this.o.g||zR(this,vt(a))||tR(this.ia)||(g.XJ(this.g),g.zt(a)),this.Ta=!0,g.J(this.g.getRootNode(),"ytp-touch-mode"),this.o.wb(2,!0))};
g.h.AJ=function(a){ER(this,a)||CR(this)||DR(this,a)};
g.h.Mt=function(){};
g.h.Bv=function(){};
g.h.Fp=function(){var a=g.XJ(this.g);g.U(a,2)&&TJ(this.g)||(g.AD(a)?this.g.Cb():(this.g.app.dd=!0,this.g.Gb()))};
g.h.BJ=function(a){zR(this,vt(a))||3!=this.g.Da()&&g.aK(this.g)};
g.h.CJ=function(a){FR(this,.3,a.scale);g.zt(a)};
g.h.DJ=function(a){FR(this,.1,a.scale)};
g.h.tj=function(){var a=this.Hc(),b=g.YJ(this.g).Ba(),c=this.g.isFullscreen(),d=this.g.getRootNode(),e=!a&&(480>b.width||290>b.height),f=650<=b.width;g.Ew&&SQ(this.o);g.K(d,"ytp-fullscreen",c);g.K(d,"ytp-large-width-mode",f);g.K(d,"ytp-small-mode",e);g.K(d,"ytp-big-mode",a);this.B&&eR(this.B,b)};
g.h.ZI=function(a){this.rm(a.state);this.Zg()};
g.h.Zg=function(){var a=!!this.Ga&&!g.SJ(this.g);var b=2==this.g.Da(),c=g.V(this.g);b?(c=g.RJ(this.g).B,a&&(null==c.l?a=!1:(a=c.l,a=(c=a.g.getVideoData(2))?c.isListed&&!a.L:!1))):(b=this.g.getVideoData(),a=(g.S(c.experiments,"embed_api_deprecation")||c.na)&&b.isDni&&5==this.g.app.Z?a:a&&(c.bc||this.g.isFullscreen()));this.J!=a&&(this.J=a,g.K(this.g.getRootNode(),"ytp-hide-info-bar",!a))};
g.h.rm=function(a){var b=g.BD(a);b!=this.Nb&&(this.Nb=b,this.Ua&&this.Na(this.Ua),this.Ua=this.M(g.YJ(this.g),"touchstart",this.EJ,void 0,b));this.o.wb(128,!(g.zD(a)&&!g.U(a,32)||kK(this.g)));var c=3==this.g.Da();this.o.wb(256,c);c=this.g.getRootNode();if(g.U(a,2))var d=["ended-mode"];else d=[],g.U(a,8)?d.push("playing-mode"):g.U(a,4)&&d.push("paused-mode"),g.U(a,1)&&!g.U(a,32)&&d.push("buffering-mode"),g.U(a,32)&&d.push("seeking-mode"),g.U(a,64)&&d.push("unstarted-mode");g.rb(this.na,d)||(g.gq(c,
this.na),this.na=d,g.eq(c,d));d=g.V(this.g);var e=g.U(a,2);g.K(c,"ytp-hide-controls",("3"==d.A?!e:"1"!=d.A)||b);g.K(c,"ytp-native-controls","3"==d.A&&!b&&!e);if(g.U(a,128)){this.B||(this.B=new fR(this.g),g.I(this,this.B),g.tK(this.g,this.B.element,4));b=this.B;c=a.g;for(a=0;a<b.C.length;a++)b.Na(b.C[a]);b.C=[];d=c.messageKey;a=g.V(b.l);"play"!=a.playerStyle||"YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK"!=d&&"YTP_ERROR_UNSUPPORTED_DEVICE"!=d||(d="YTP_HTML5_FLASH_DEPRECATED");if("YTP_ERROR_GENERIC_WITHOUT_LINK"!=
d||a.Zb)"YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK"!=d||a.Zb?"YTP_HTML5_FLASH_DEPRECATED"==d?b.jb(jR(b,d,"//support.google.com/googleplay/answer/2844198#movies",!1,!0,"YTP_ERROR_VIDEO_UNAVAILABLE")):(b.jb(iR(c.message)),b.B&&c.subreason&&b.jb(iR(c.subreason),"subreason")):b.jb(jR(b,"YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK_WITH_LINK","//www.youtube.com/html5"));else if(c=g.V(b.l).hostLanguage,d="//support.google.com/youtube/?p=player_error1",c&&(d=g.fh(d,{hl:c})),b.jb(jR(b,"YTP_ERROR_GENERIC_WITH_LINK_AND_CPN",
d,!0)),a.X&&!a.g)for(a=(0,g.A)(b.F,b),c=b.element.getElementsByTagName("a"),d=0;d<c.length;d++)e=b.M(c[d],"click",a),b.C.push(e);this.B.show()}else this.B&&(this.B.dispose(),this.B=null)};
g.h.Dk=function(){return g.hK(this.g)&&g.iK(this.g)?(this.g.qj(!1,!1),!0):g.SJ(this.g)?(g.UJ(this.g,!0),!0):!1};
g.h.kF=function(a){this.ib=a;this.Ke()};
g.h.Hc=function(){return!1};
g.h.Dh=function(){return this.Ta};
g.h.sl=function(){return null};
g.h.Zo=function(){var a=g.YJ(this.g).Ba();return new g.th(0,0,a.width,a.height)};
g.h.bp=function(){};
g.h.Wl=function(){};
g.h.tl=function(){};
g.h.cp=function(){};g.r(g.GR,g.R);g.GR.prototype.show=function(){g.R.prototype.show.call(this);g.sq(this.l)};
g.GR.prototype.hide=function(){this.o.stop();g.R.prototype.hide.call(this)};g.r(MR,g.R);MR.prototype.U=function(){this.o&&this.o();g.R.prototype.U.call(this)};
MR.prototype.G=function(){g.Xt("iv-button-mouseover")};
MR.prototype.F=function(a){g.hK(this.l);var b=g.dq(this.l.getRootNode(),"ytp-cards-teaser-shown");g.Xt("iv-teaser-clicked",b);a=0==a.screenX&&0==a.screenY;this.l.qj(!g.iK(this.l),a,"YOUTUBE_DRAWER_MANUAL_OPEN")};g.r(OR,g.R);g.h=OR.prototype;g.h.Jy=function(){g.hK(this.o)&&g.iK(this.o)&&this.Ha()&&3!=this.C.g&&this.uj()};
g.h.oL=function(){this.uj();g.Xt("iv-teaser-clicked",!!this.l);this.o.qj(!0,!1,"YOUTUBE_DRAWER_MANUAL_OPEN")};
g.h.lF=function(){g.Xt("iv-teaser-mouseover");this.l&&this.l.stop()};
g.h.YJ=function(a){this.l||!a||g.iK(this.o)||this.A&&this.A.isActive()||(Afa(this,a),g.Xt("iv-teaser-shown"))};
g.h.Cv=function(){this.G.stop();this.l&&this.l.isActive()&&this.I.start()};
g.h.Zf=function(){this.I.stop();this.l&&!this.l.isActive()&&this.G.start()};
g.h.AI=function(){this.l&&this.l.stop()};
g.h.xI=function(){this.uj()};
g.h.uj=function(){!this.l||this.B&&this.B.isActive()||(this.C.hide(),g.fq(this.o.getRootNode(),"ytp-cards-teaser-shown"),this.B=new g.L(function(){for(var a=g.p(this.F),b=a.next();!b.done;b=a.next())this.Na(b.value);this.F=[];this.l&&(this.l.dispose(),this.l=null);LR(this.J,!0)},330,this),this.B.start())};
g.h.U=function(){var a=this.o.getRootNode();a&&g.fq(a,"ytp-cards-teaser-shown");g.af(this.A,this.B,this.l);g.R.prototype.U.call(this)};g.r(PR,g.tv);PR.prototype.ia=function(){this.P("size-change")};
PR.prototype.focus=function(){this.T.focus()};
PR.prototype.la=function(){this.P("back")};g.r(g.QR,PR);g.QR.prototype.X=function(){this.F.P("size-change")};
g.QR.prototype.focus=function(){for(var a=0,b=0;b<this.za.length;b++)if("true"==this.za[b].element.getAttribute("aria-checked")){a=b;break}this.za[a].focus()};g.r(g.UR,rR);g.h=g.UR.prototype;g.h.show=function(){rR.prototype.show.call(this);this.Oj()};
g.h.hide=function(){rR.prototype.hide.call(this);1<this.l.length&&g.ZR(this)};
g.h.Oj=function(){$R(this);this.Ha()&&(WR(this),g.di(this.element,this.size))};
g.h.Pd=function(){var a=this.l.pop(),b=VR(this);XR(this,a,b,!0)};
g.h.mL=function(a,b,c){this.F.dispose();this.F=null;g.J(this.element,"ytp-popup-animating");c?(g.J(a.element,"ytp-panel-animate-forward"),g.fq(b.element,"ytp-panel-animate-back")):(g.J(a.element,"ytp-panel-animate-back"),g.fq(b.element,"ytp-panel-animate-forward"));g.di(this.element,this.size);this.C=new g.L(g.La(this.KG,a,b),250,this);this.C.start()};
g.h.KG=function(a){g.fq(this.element,"ytp-popup-animating");g.qv(a);g.gq(a.element,["ytp-panel-animate-back","ytp-panel-animate-forward"]);this.C.dispose();this.C=null};
g.h.AF=function(a){if(!g.At(a))switch(g.Bt(a)){case 27:this.nb();g.zt(a);break;case 37:1<this.l.length&&this.Pd();g.zt(a);break;case 39:g.zt(a)}};
g.h.focus=function(){VR(this).focus()};
g.h.U=function(){rR.prototype.U.call(this);this.F&&this.F.dispose();this.C&&this.C.dispose()};g.r(aS,g.vv);aS.prototype.l=function(a){g.At(a)||39!=g.Bt(a)||(this.element.click(),g.zt(a))};g.r(cS,g.vv);cS.prototype.J=function(){dS(this,!this.o);this.P("select",this.o)};
cS.prototype.getValue=function(){return this.o};g.r(hS,g.QR);g.h=hS.prototype;g.h.sH=function(){GQ(this.I.element)};
g.h.JH=function(){iS(this,this.l.lj(!0))&&HR(this.N,oO())};
g.h.KH=function(){iS(this,this.l.Ou())&&HR(this.N,g.mO?{D:"div",W:["ytp-icon","ytp-icon-code"]}:{D:"svg",O:{height:"100%",viewBox:"0 0 36 36",width:"100%"},K:[{D:"path",O:{d:"M14.1 24.9L7.2 18.0l6.9-6.9L12.0 9.0l-9.0 9.0 9.0 9.0 2.1-2.1zm7.8 .0l6.9-6.9-6.9-6.9L24.0 9.0l9.0 9.0-9.0 9.0-2.1-2.1z",fill:"#fff"}}]});g.xK(this.l,this.o.element);eS("EMBED",this.l.getVideoData().videoId,this.l.getPlaylistId()||void 0)};
g.h.NH=function(){iS(this,this.l.getVideoUrl(!0,!0))&&HR(this.N,vO());g.xK(this.l,this.B.element);eS("COPY_PASTE",this.l.getVideoData().videoId,this.l.getPlaylistId()||void 0)};
g.h.MH=function(){iS(this,this.l.getVideoUrl(!1,!0))&&HR(this.N,vO());g.xK(this.l,this.A.element);eS("COPY_PASTE",this.l.getVideoData().videoId,this.l.getPlaylistId()||void 0)};
g.h.eI=function(a){dS(this.C,a)};
g.h.fI=function(){var a=this.C.getValue();MV(this.l.app,a);this.L.nb();g.xK(this.l,this.C.element)};
g.h.tJ=function(a){var b=g.W(this.l.app);b&&b.hj(new g.dB("feedback",!1,{gpu:(0,g.NI)()}));if(g.DQ(a,this.l,!YA(g.V(this.l)))){a=this.l;b=b={as3:!1,html5:!0,player:!0};var c=a.kt().debug_error;c&&(b.player_error=c.errorCode,b.player_error_details=c.errorDetail);b.debug_text=a.lj(!0);a.ma("onFeedbackStartRequest",b);a.isFullscreen()&&g.aK(a)}this.L.nb()};
g.h.PJ=function(){this.l.Su();this.L.nb()};
g.h.pF=function(a,b){gS(this,b)};g.r(lS,g.UR);g.h=lS.prototype;g.h.show=function(){this.G||(this.G=new hS(this.o,this.fa,this,this.X),g.I(this,this.G),g.YR(this,this.G));g.UR.prototype.show.call(this);g.yK(this.o,this.element,!0);jS(this.G,!0)};
g.h.hide=function(){kS(this);g.UR.prototype.hide.call(this);g.yK(this.o,this.element,!1);this.G&&jS(this.G,!1)};
g.h.rH=function(a){var b=vt(a);this.Ha()||b&&(g.ke(b,"a")||g.me(b,"ytp-no-contextmenu"))||(g.zt(a),mS(this),b=this.o.getVideoData(),g.K(this.element,"ytp-dni",b.isDni),this.element.style.left="",this.element.style.top="",a=xt(a),a.x++,a.y++,this.Md(),b=g.Yh(window.document.body),a=g.Kq(a,this.size,0,void 0,b,5),g.Th(this.element,g.yh(a.rect)),g.It(this.A),this.A.M(window.document,"contextmenu",this.zH),this.A.M(this.o,"fullscreentoggled",this.qF),this.A.M(this.o,"pageTransition",this.QI))};
g.h.zH=function(a){g.At(a)||(g.ee(this.element,vt(a))||this.nb(),g.V(this.o).disableNativeContextMenu&&g.zt(a))};
g.h.qF=function(){this.nb();mS(this)};
g.h.QI=function(){this.nb()};var wX,xX;wX=[{option:"#fff",message:"YTP_COLOR_WHITE"},{option:"#ff0",message:"YTP_COLOR_YELLOW"},{option:"#0f0",message:"YTP_COLOR_GREEN"},{option:"#0ff",message:"YTP_COLOR_CYAN"},{option:"#00f",message:"YTP_COLOR_BLUE"},{option:"#f0f",message:"YTP_COLOR_MAGENTA"},{option:"#f00",message:"YTP_COLOR_RED"},{option:"#080808",message:"YTP_COLOR_BLACK"}];xX=[{option:0,text:"0%"},{option:.25,text:"25%"},{option:.5,text:"50%"},{option:.75,text:"75%"},{option:1,text:"100%"}];
g.qS=[{option:"fontFamily",message:"YTP_FONT_FAMILY",options:[{option:1,message:"YTP_FONT_FAMILY_MONO_SERIF"},{option:2,message:"YTP_FONT_FAMILY_PROP_SERIF"},{option:3,message:"YTP_FONT_FAMILY_MONO_SANS"},{option:4,message:"YTP_FONT_FAMILY_PROP_SANS"},{option:5,message:"YTP_FONT_FAMILY_CASUAL"},{option:6,message:"YTP_FONT_FAMILY_CURSIVE"},{option:7,message:"YTP_FONT_FAMILY_SMALL_CAPS"}]},{option:"color",message:"YTP_FONT_COLOR",options:wX},{option:"fontSizeIncrement",message:"YTP_FONT_SIZE",options:[{option:-2,
text:"50%"},{option:-1,text:"75%"},{option:0,text:"100%"},{option:1,text:"150%"},{option:2,text:"200%"},{option:3,text:"300%"},{option:4,text:"400%"}]},{option:"background",message:"YTP_BACKGROUND_COLOR",options:wX},{option:"backgroundOpacity",message:"YTP_BACKGROUND_OPACITY",options:xX},{option:"windowColor",message:"YTP_WINDOW_COLOR",options:wX},{option:"windowOpacity",message:"YTP_WINDOW_OPACITY",options:xX},{option:"charEdgeStyle",message:"YTP_CHAR_EDGE_STYLE",options:[{option:0,message:"YTP_EDGE_STYLE_NONE"},
{option:4,message:"YTP_EDGE_STYLE_DROP_SHADOW"},{option:1,message:"YTP_EDGE_STYLE_RAISED"},{option:2,message:"YTP_EDGE_STYLE_DEPRESSED"},{option:3,message:"YTP_EDGE_STYLE_OUTLINE"}]},{option:"textOpacity",message:"YTP_FONT_OPACITY",options:[{option:.25,text:"25%"},{option:.5,text:"50%"},{option:.75,text:"75%"},{option:1,text:"100%"}]}];g.r(nS,g.Gt);g.h=nS.prototype;
g.h.Dt=function(a){var b=!1,c=g.Bt(a),d=vt(a),e=!a.altKey&&!a.ctrlKey&&!a.metaKey,f=!1,k=!1,l=g.V(this.g);g.At(a)?(e=!1,k=!0):l.dd&&(e=!1);if(9==c)b=!0;else{if(d)switch(c){case 32:case 13:if("BUTTON"==d.tagName||"A"==d.tagName||"INPUT"==d.tagName)b=!0,e=!1;else if(e){var m=d.getAttribute("role");!m||"option"!=m&&"button"!=m&&0!=m.indexOf("menuitem")||(b=!0,d.click(),f=!0)}break;case 37:case 39:case 36:case 35:b="slider"==d.getAttribute("role");break;case 38:case 40:m=d.getAttribute("role"),d=38==
c?d.previousSibling:d.nextSibling,"slider"==m?b=!0:e&&("option"==m?(d&&"option"==d.getAttribute("role")&&d.focus(),f=b=!0):m&&0==m.indexOf("menuitem")&&(d&&d.hasAttribute("role")&&0==d.getAttribute("role").indexOf("menuitem")&&d.focus(),f=b=!0))}if((d=g.RJ(this.g).o)&&e&&!f&&d.o&&d.o.Ha())switch(c){case 65:case 68:case 87:case 83:case 107:case 221:case 109:case 219:f=d.o.zt(c)}l.Zb||!e||f||(f=String.fromCharCode(c).toLowerCase(),this.o+=f,0=="awesome".indexOf(this.o)?(f=!0,7==this.o.length&&g.hq(this.g.getRootNode(),
"ytp-color-party")):(this.o=f,f=0=="awesome".indexOf(this.o)));if(e&&!f){switch(c){case 32:l.I||(k=!g.AD(g.XJ(this.g)),IR(this.l,k),k?this.g.Gb():this.g.Cb(),k=f=!0);break;case 37:this.g.zc()&&(HR(this.l,g.mO?{D:"div",W:["ytp-icon","ytp-icon-rewind-five-seconds"]}:{D:"svg",O:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{D:"path",Fa:!0,H:"ytp-svg-fill",O:{d:"M 18,11 V 7 l -5,5 5,5 v -4 c 3.3,0 6,2.7 6,6 0,3.3 -2.7,6 -6,6 -3.3,0 -6,-2.7 -6,-6 h -2 c 0,4.4 3.6,8 8,8 4.4,0 8,-3.6 8,-8 0,-4.4 -3.6,-8 -8,-8 z m -1.3,8.9 .2,-2.2 h 2.4 v .7 h -1.7 l -0.1,.9 c 0,0 .1,0 .1,-0.1 0,-0.1 .1,0 .1,-0.1 0,-0.1 .1,0 .2,0 h .2 c .2,0 .4,0 .5,.1 .1,.1 .3,.2 .4,.3 .1,.1 .2,.3 .3,.5 .1,.2 .1,.4 .1,.6 0,.2 0,.4 -0.1,.5 -0.1,.1 -0.1,.3 -0.3,.5 -0.2,.2 -0.3,.2 -0.4,.3 C 18.5,22 18.2,22 18,22 17.8,22 17.6,22 17.5,21.9 17.4,21.8 17.2,21.8 17,21.7 16.8,21.6 16.8,21.5 16.7,21.3 16.6,21.1 16.6,21 16.6,20.8 h .8 c 0,.2 .1,.3 .2,.4 .1,.1 .2,.1 .4,.1 .1,0 .2,0 .3,-0.1 L 18.5,21 c 0,0 .1,-0.2 .1,-0.3 v -0.6 l -0.1,-0.2 -0.2,-0.2 c 0,0 -0.2,-0.1 -0.3,-0.1 h -0.2 c 0,0 -0.1,0 -0.2,.1 -0.1,.1 -0.1,0 -0.1,.1 0,.1 -0.1,.1 -0.1,.1 h -0.7 z"}}]}),
this.g.Ld(-5*this.g.Ub()),k=f=!0);break;case 39:this.g.zc()&&(HR(this.l,g.mO?{D:"div",W:["ytp-icon","ytp-icon-forward-five-seconds"]}:{D:"svg",O:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{D:"path",Fa:!0,H:"ytp-svg-fill",O:{d:"m 10,19 c 0,4.4 3.6,8 8,8 4.4,0 8,-3.6 8,-8 h -2 c 0,3.3 -2.7,6 -6,6 -3.3,0 -6,-2.7 -6,-6 0,-3.3 2.7,-6 6,-6 v 4 l 5,-5 -5,-5 v 4 c -4.4,0 -8,3.6 -8,8 z m 6.7,.9 .2,-2.2 h 2.4 v .7 h -1.7 l -0.1,.9 c 0,0 .1,0 .1,-0.1 0,-0.1 .1,0 .1,-0.1 0,-0.1 .1,0 .2,0 h .2 c .2,0 .4,0 .5,.1 .1,.1 .3,.2 .4,.3 .1,.1 .2,.3 .3,.5 .1,.2 .1,.4 .1,.6 0,.2 0,.4 -0.1,.5 -0.1,.1 -0.1,.3 -0.3,.5 -0.2,.2 -0.3,.2 -0.5,.3 C 18.3,22 18.1,22 17.9,22 17.7,22 17.5,22 17.4,21.9 17.3,21.8 17.1,21.8 16.9,21.7 16.7,21.6 16.7,21.5 16.6,21.3 16.5,21.1 16.5,21 16.5,20.8 h .8 c 0,.2 .1,.3 .2,.4 .1,.1 .2,.1 .4,.1 .1,0 .2,0 .3,-0.1 L 18.4,21 c 0,0 .1,-0.2 .1,-0.3 v -0.6 l -0.1,-0.2 -0.2,-0.2 c 0,0 -0.2,-0.1 -0.3,-0.1 h -0.2 c 0,0 -0.1,0 -0.2,.1 -0.1,.1 -0.1,0 -0.1,.1 0,.1 -0.1,.1 -0.1,.1 h -0.6 z"}}]}),
this.g.Ld(5*this.g.Ub()),k=f=!0);break;case 38:k=Math.min(this.g.Bb()+5,100);JR(this.l,k,!1);this.g.setVolume(k);k=f=!0;break;case 40:k=Math.max(this.g.Bb()-5,0);JR(this.l,k,!0);this.g.setVolume(k);k=f=!0;break;case 27:this.C()&&(k=f=!0);break;case 36:this.g.zc()&&(this.g.ob(0),k=f=!0);break;case 35:this.g.zc()&&(this.g.ob(window.Infinity),k=f=!0)}if("3"!=l.A)switch(c){case 67:g.RJ(this.g).l&&(k=this.g.Mb("captions","track"),(f=g.RJ(this.g).l)&&f.yy(),f=this.l,k=!k||k&&!k.displayName?g.Q("YTP_SUBTITLES_ON"):
g.Q("YTP_SUBTITLES_OFF"),HR(f,FO(),k),k=f=!0);break;case 79:rS(this,"textOpacity")&&(f=!0);break;case 87:rS(this,"windowOpacity")&&(f=!0);break;case 187:rS(this,"fontSizeIncrement",!1,!0)&&(f=!0);break;case 189:rS(this,"fontSizeIncrement",!0,!0)&&(f=!0)}var n;48<=c&&57>=c?n=c-48:96<=c&&105>=c&&(n=c-96);null!=n&&this.g.zc()&&(k=this.g.Uf(),this.g.ob(n/10*(k.seekableEnd-k.seekableStart)+k.seekableStart),k=f=!0)}}b&&this.pq(!0);(b||k)&&this.B.wb(2,!0);(f||e&&pS(this,c,a.shiftKey))&&g.zt(a);l.Xa&&(a=
{keyCode:g.Bt(a),altKey:a.altKey,ctrlKey:a.ctrlKey,metaKey:a.metaKey,shiftKey:a.shiftKey,handled:g.At(a),fullscreen:this.g.isFullscreen()},this.g.ma("onKeyPress",a))};
g.h.Et=function(a){a=g.Bt(a);var b=g.RJ(this.g).o;b&&b.o&&b.o.Ha()&&b.o.Bt(a);9==a&&this.pq(!0)};
g.h.pq=function(a){g.K(this.g.getRootNode(),"ytp-probably-keyboard-focus",a);g.K(this.F.element,"ytp-probably-keyboard-focus",a)};
g.h.Fv=function(a){g.RJ(this.g).l&&this.g.Vc("captions","sampleSubtitles",a)};
g.h.U=function(){g.uq(this.A);g.Gt.prototype.U.call(this)};g.r(sS,g.R);g.h=sS.prototype;g.h.hide=function(){g.fq(this.l.getRootNode(),"ytp-expand-pause-overlay");g.R.prototype.hide.call(this)};
g.h.jH=function(){this.Y=!0;g.fq(this.l.getRootNode(),"ytp-expand-pause-overlay");this.I.focus()};
g.h.lH=function(){this.Y=!1;g.J(this.l.getRootNode(),"ytp-expand-pause-overlay")};
g.h.BF=function(){uS(this,this.B-this.F)};
g.h.CF=function(){uS(this,this.B+this.F)};
g.h.DF=function(a,b){var c=g.V(this.l);if(1E3>g.P()-this.la&&!g.S(c.experiments,"absorb_pause_overlay_click_killswitch"))g.zt(b),window.document.activeElement.blur();else{var d=this.o[a];c=d.Yc;if(g.DQ(b,this.l,this.ca,c||void 0)){var e=d.sb().videoId;d=d.getPlaylistId();g.fW(this.l.app,e,c,d,void 0,void 0,void 0)}}};
g.h.EF=function(){this.xb(g.YJ(this.l).Ba())};
g.h.FF=function(a){g.U(a.state,1)||g.U(a.state,16)||g.U(a.state,32)||(g.U(a.state,4)&&!g.U(a.state,2)?this.o.length&&(this.Y||(g.J(this.l.getRootNode(),"ytp-expand-pause-overlay"),tS(this)),this.R.show(),this.la=g.P()):this.R.hide())};
g.h.xb=function(a){var b=16/9,c=this.X.Hc();a=a.width-(c?112:58);c=Math.ceil(a/(c?320:192));c=(a-8*c)/c;b=Math.floor(c/b);for(var d=0;d<this.C.length;d++){var e=this.C[d].g["ytp-suggestion-image"];e.style.width=c+"px";e.style.height=b+"px"}this.G.element.style.height=b+"px";this.T=c;this.ia=b;this.F=a;this.B=0;this.Gv(0);tS(this)};
g.h.GF=function(){var a=this,b=g.V(this.l),c=this.l.getVideoData();this.ca=c.isDni?!1:b.g;c.suggestions?(b=(0,g.$d)(c.suggestions,function(a){return a&&!a.list}),this.o=(0,g.E)(b,function(b){b=g.UQ(b);
g.I(a,b);return b})):this.o.length=0;
Cfa(this);c.isDni?this.N.update({title:g.Q("YTP_MORE_FROM_CHANNEL",{DNI_RELATED_CHANNEL:c.author})}):this.N.update({title:g.Q("YTP_MORE_VIDEOS")})};
g.h.Gv=function(a){this.G.element.scrollLeft=-a};g.r(wS,g.R);wS.prototype.o=function(a){g.DQ(a,this.l)&&this.l.Pu(this.Oa)};g.r(xS,rR);g.h=xS.prototype;g.h.show=function(){rR.prototype.show.call(this);this.F.M(this.o,"videodatachange",this.Hp);this.F.M(this.o,"onPlaylistUpdate",this.Hp);this.Hp()};
g.h.hide=function(){rR.prototype.hide.call(this);g.It(this.F);yS(this,null)};
g.h.Hp=function(){yS(this,this.o.Fe())};
g.h.km=function(){var a=this.l.ol;if(a==this.G)this.A.element.setAttribute("aria-checked",!1),this.A=this.C[this.l.Oa];else{for(var b=g.p(this.C),c=b.next();!c.done;c=b.next())c.value.dispose();b=this.l.getLength();this.C=[];for(c=0;c<b;c++){var d=new wS(this.o,this.l,c);this.C.push(d);d.aa(this.za)}this.A=this.C[this.l.Oa];this.G=a}this.A&&this.A.element.setAttribute("aria-checked",!0)};
g.h.bK=function(a){var b=this.o.getVideoUrl(!0);EQ(b,this.o,a)};
g.h.focus=function(){this.A.focus()};
g.h.U=function(){this.hide();rR.prototype.U.call(this)};g.r(zS,g.R);zS.prototype.o=function(){g.K(this.element,"ytp-playlist-menu-button-tiny",400>g.YJ(this.A).Ba().width);this.l&&2!=this.A.Da()?(this.update({text:g.Q("YTP_PLAYLIST_POSITION",{CURRENT_POSITION:String(this.l.Oa+1),PLAYLIST_LENGTH:String(this.l.getLength())}),title:g.Q("YTP_PLAYLIST_NAME",{PLAYLIST_NAME:this.l.title})}),this.Ha()||(this.show(),dT(this.B))):this.Ha()&&(this.hide(),dT(this.B))};
zS.prototype.C=function(){this.l&&this.l.unsubscribe("shuffle",this.o,this);(this.l=this.A.Fe())&&this.l.subscribe("shuffle",this.o,this);this.o()};g.r(AS,g.R);AS.prototype.A=function(a){g.rv(this,g.U(a.state,2))};
AS.prototype.o=function(){g.XJ(this.l);this.l.Gb()};g.r(BS,rR);g.h=BS.prototype;g.h.TI=function(a){a=vt(a);g.ee(this.N,a)||g.ee(this.F,a)||this.fg()};
g.h.nb=function(){rR.prototype.nb.call(this);this.o.mh(this.element)};
g.h.show=function(){var a=this.Ha();rR.prototype.show.call(this);this.Kv();a||this.l.ma("onSharePanelOpened")};
g.h.Kv=function(){g.J(this.element,"ytp-share-panel-loading");g.fq(this.element,"ytp-share-panel-fail");var a=this.l.getVideoData(),b=this.l.getPlaylistId(),c=b&&this.G.checked;g.K(this.element,"ytp-share-panel-has-playlist",!!b);var d={action_get_share_info:1,feature:"player_embedded",video_id:a.videoId},e=g.V(this.l);e.hc&&(d.authuser=e.hc);e.pageId&&(d.pageid=e.pageId);c&&(d.list=b);g.ms(g.V(this.l).baseYtUrl+"share_ajax",{method:"GET",onError:(0,g.A)(this.iy,this),onSuccess:(0,g.A)(function(a,
b){if(b){if(!this.ga()){g.fq(this.element,"ytp-share-panel-loading");CS(this);for(var c=b.links,d=0,e=0;e<c.length&&3>d;e++){var f=c[e],k=Dfa(f.img);k&&(k=new g.R({D:"a",W:["ytp-share-panel-service-button","ytp-button"],O:{href:f.url,target:"_blank",title:f.sname},K:[k]}),k.da("click",g.La(this.KJ,f.url)),g.Ze(k,NR(this.o,k.element)),this.A.push(k),d++)}c=new g.R({D:"a",W:["ytp-share-panel-service-button","ytp-button"],K:[{D:"span",H:"ytp-share-panel-service-button-more",K:[g.mO?{D:"div",W:["ytp-icon",
"ytp-icon-share-more"]}:{D:"svg",O:{height:"100%",version:"1.1",viewBox:"0 0 38 38",width:"100%"},K:[{D:"rect",O:{fill:"#fff",height:"34",width:"34",x:"2",y:"2"}},{D:"path",O:{d:"M 34.2,0 3.8,0 C 1.70,0 .01,1.70 .01,3.8 L 0,34.2 C 0,36.29 1.70,38 3.8,38 l 30.4,0 C 36.29,38 38,36.29 38,34.2 L 38,3.8 C 38,1.70 36.29,0 34.2,0 Z m -5.7,21.85 c 1.57,0 2.85,-1.27 2.85,-2.85 0,-1.57 -1.27,-2.85 -2.85,-2.85 -1.57,0 -2.85,1.27 -2.85,2.85 0,1.57 1.27,2.85 2.85,2.85 z m -9.5,0 c 1.57,0 2.85,-1.27 2.85,-2.85 0,-1.57 -1.27,-2.85 -2.85,-2.85 -1.57,0 -2.85,1.27 -2.85,2.85 0,1.57 1.27,2.85 2.85,2.85 z m -9.5,0 c 1.57,0 2.85,-1.27 2.85,-2.85 0,-1.57 -1.27,-2.85 -2.85,-2.85 -1.57,0 -2.85,1.27 -2.85,2.85 0,1.57 1.27,2.85 2.85,2.85 z",
fill:"#4e4e4f","fill-rule":"evenodd"}}]}]}],O:{href:b.more,target:"_blank",title:g.Q("YTP_MORE")}});c.da("click",(0,g.A)(this.uI,this,b.more));g.Ze(c,NR(this.o,c.element));this.A.push(c);this.updateValue("buttons",this.A)}}else this.iy(null,null)},this),
wc:d,withCredentials:!0});a=e.getVideoUrl(a.videoId,c?b:void 0,void 0,!0);this.updateValue("link",a);this.updateValue("linkText",a);GQ(this.C)};
g.h.iy=function(){g.fq(this.element,"ytp-share-panel-loading");g.J(this.element,"ytp-share-panel-fail")};
g.h.KJ=function(a,b){if(g.WO(b)){var c=void 0===c?{}:c;c.target=c.target||"YouTube";c.width=c.width||"600";c.height=c.height||"600";c||(c={});var d=window;var e=a instanceof Sc?a:g.Wc("undefined"!=typeof a.href?a.href:String(a));var f=c.target||a.target,k=[];for(l in c)switch(l){case "width":case "height":case "top":case "left":k.push(l+"="+c[l]);break;case "target":case "noopener":case "noreferrer":break;default:k.push(l+"="+(c[l]?1:0))}var l=k.join(",");yc()&&d.navigator&&d.navigator.standalone&&
f&&"_self"!=f?(l=d.document.createElement("A"),g.ld(l,e),l.setAttribute("target",f),c.noreferrer&&l.setAttribute("rel","noreferrer"),c=window.document.createEvent("MouseEvent"),c.initMouseEvent("click",!0,!0,d,1),l.dispatchEvent(c),d={}):c.noreferrer?(d=d.open("",f,l),c=g.Tc(e),d&&(g.nv&&-1!=c.indexOf(";")&&(c="'"+c.replace(/'/g,"%27")+"'"),d.opener=null,c=g.nd(g.Lc("b/12014412, meta tag with sanitized URL"),'<meta name="referrer" content="no-referrer"><meta http-equiv="refresh" content="0; url='+
g.Ib(c)+'">'),d.document.write(g.hd(c)),d.document.close())):(d=d.open(g.Tc(e),f,l))&&c.noopener&&(d.opener=null);if(c=d)c.opener||(c.opener=window),c.focus();g.zt(b)}};
g.h.uI=function(a,b){EQ(a,this.l,b)&&this.l.ma("SHARE_CLICKED")};
g.h.QF=function(a){!a&&tR(this)&&this.fg()};
g.h.focus=function(){this.C.focus()};
g.h.U=function(){rR.prototype.U.call(this);CS(this)};g.r(DS,g.R);DS.prototype.F=function(){var a=g.V(this.l);if(window.navigator.share){var b=this.l.getVideoData(),c=this.l.getPlaylistId();a=a.getVideoUrl(b.videoId,c,void 0,!0);window.navigator.share({title:b.title,url:a})}else this.G.fg(this.element,!1);g.xK(this.l,this.element)};
DS.prototype.B=function(){var a=g.V(this.l).lg&&2!=this.l.Da(),b=g.YJ(this.l).Ba().width;this.o=!!this.l.getVideoData().videoId&&300<=b&&!a;g.K(this.A,"ytp-share-button-visible",this.o);a=480<b;b=g.V(this.l);b.J&&g.S(b.experiments,"embed_info_bar_show_actions_labels")&&(g.K(this.A,"ytp-show-share-title",a),this.updateValue("share",a?g.Q("YTP_SHARE"):""));g.yK(this.l,this.element,this.o&&this.C)};
DS.prototype.U=function(){g.R.prototype.U.call(this);g.fq(this.A,"ytp-share-button-visible")};g.r(ES,rR);ES.prototype.show=function(){rR.prototype.show.call(this);this.C.start()};
ES.prototype.hide=function(){rR.prototype.hide.call(this);this.C.stop()};
ES.prototype.X=function(){var a=this.l.getCurrentTime();a>this.A/1E3&&a<this.o/1E3&&this.show()};g.r(FS,g.R);FS.prototype.A=function(){var a=g.W(this.l.app);a&&a.l.hp()};
FS.prototype.o=function(){var a=g.W(this.l.app);g.rv(this,!!a&&a.cd);this.updateValue("icon",this.l.Kg()?g.mO?{D:"div",W:["ytp-icon","ytp-icon-airplay-on"]}:{D:"svg",O:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{D:"path",Fa:!0,O:{d:"M11,13 L25,13 L25,21 L11,21 L11,13 Z M12,28 L24,28 L18,22 L12,28 Z M27,9 L9,9 C7.9,9 7,9.9 7,11 L7,23 C7,24.1 7.9,25 9,25 L13,25 L13,23 L9,23 L9,11 L27,11 L27,23 L23,23 L23,25 L27,25 C28.1,25 29,24.1 29,23 L29,11 C29,9.9 28.1,9 27,9 L27,9 Z",fill:"#fff"}}]}:
g.mO?{D:"div",W:["ytp-icon","ytp-icon-airplay-off"]}:{D:"svg",O:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{D:"path",Fa:!0,H:"ytp-svg-fill",O:{d:"M12,28 L24,28 L18,22 L12,28 Z M27,9 L9,9 C7.9,9 7,9.9 7,11 L7,23 C7,24.1 7.9,25 9,25 L13,25 L13,23 L9,23 L9,11 L27,11 L27,23 L23,23 L23,25 L27,25 C28.1,25 29,24.1 29,23 L29,11 C29,9.9 28.1,9 27,9 L27,9 Z"}}]})};g.r(HS,g.tv);HS.prototype.U=function(){this.l=null;g.tv.prototype.U.call(this)};g.r(JS,g.tv);g.h=JS.prototype;g.h.tF=function(a){g.U(a.state,32)?KS(this,this.o.getVideoData()):this.G.hide()};
g.h.Ll=function(){var a=this.o.Uf(),b=a.current,c=rB(this.gb,141);b=this.gb.g[c].Th(b);b!=this.L&&(c=sB(this.gb,b,141),this.C=IS(this.fa,c,141,141,!0),g.Th(this.ca,(this.I-this.C.width)/2),this.L=b);g.fe(this.ia,g.VO(this.R?a.current-a.seekableEnd:a.current));g.nu(this.J);this.J=g.ku((0,g.A)(this.Im,this));this.N.wh()};
g.h.uF=function(a,b){KS(this,b)};
g.h.Im=function(){g.gi(this.l,!1);g.nu(this.J);var a=Math.round(.5*this.C.width),b=Math.round(.5*this.C.height),c=this.o.Uf(),d=c.current/(c.seekableEnd-c.seekableStart);c=this.gb.g[0].Jl();var e=this.gb.g[0].Uh();d=a*(e-c+1)*d-this.I/2;var f=Math.floor(d/a)+c;e=Math.min(f+Math.min(20,Math.ceil(this.I/a)),e);f=Math.max(f,c);var k;if(this.B>=f&&this.A<=e){for(k=this.B;k>e;k--)g.Yd(this.l.children[k-this.A]);for(k=f-1;k>=this.A;k--)g.Yd(this.l.children[k-this.A]);for(k=this.A-1;k>=f;k--)this.l.insertBefore(LS(this,
k,a,b),this.l.firstChild);k=this.B+1}else g.Wd(this.l),k=f;for(;k<=e;k++){var l=LS(this,k,a,b);this.l.appendChild(l)}for(k=f;k<=e;k++)g.Ih(this.l.children[k-f],"transform","translatex("+(-d+(k-c)*a)+"px)");this.A=f;this.B=e;g.gi(this.l,!0)};
g.h.eC=function(){for(var a=this.A;a<=this.B;a++)uB(this.gb,a,this.C.width)};
g.h.tB=function(){var a=g.YJ(this.o).Ba();this.I!=a.width&&(this.I=a.width,this.gb&&(this.Ll(),this.Im()))};
g.h.hL=function(a){this.element.style.g=a+"px"};
g.h.show=function(){g.tv.prototype.show.call(this);DU(this.T,!1)};
g.h.hide=function(){this.gb&&KS(this,null);g.tv.prototype.hide.call(this);DU(this.T,!0)};
g.h.U=function(){KS(this,null);g.tv.prototype.U.call(this)};
JS.g=200;g.r(MS,g.R);g.h=MS.prototype;g.h.vF=function(a){g.U(a.state,32)?OS(this,this.l.getVideoData()):this.Ha()&&(g.U(a.state,16)||g.U(a.state,1))||this.A.hide()};
g.h.xF=function(a,b){OS(this,b)};
g.h.wF=function(){var a=g.XJ(this.l);(g.U(a,32)||g.U(a,16))&&NS(this)};
g.h.uB=function(){this.B=window.NaN;NS(this)};
g.h.hide=function(){this.gb&&OS(this,null);g.R.prototype.hide.call(this)};g.r(QS,g.R);g.h=QS.prototype;g.h.yF=function(){g.V(this.o).fa?g.aK(this.o):this.l.fg(this.element,!0)};
g.h.ww=function(){PS(this);this.l.Md(this.element,!0)};
g.h.zF=function(){g.jt()==this.o.getRootNode()?this.B.start():(this.B.stop(),this.l&&this.l.hide())};
g.h.yA=function(){if(window.screen&&window.outerWidth&&window.outerHeight){var a=.9*window.screen.width,b=.9*window.screen.height,c=Math.max(window.outerWidth,window.innerWidth),d=Math.max(window.outerHeight,window.innerHeight);if(c>d!=a>b){var e=c;c=d;d=e}a>c&&b>d&&this.ww()}};
g.h.Ev=function(){g.rv(this,CQ(this.o))};
g.h.Vx=function(a){if(a){var b=g.mO?{D:"div",W:["ytp-icon","ytp-icon-full-screen-close"]}:{D:"svg",O:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{D:"g",H:"ytp-fullscreen-button-corner-2",K:[{D:"path",Fa:!0,H:"ytp-svg-fill",O:{d:"m 14,14 -4,0 0,2 6,0 0,-6 -2,0 0,4 0,0 z"}}]},{D:"g",H:"ytp-fullscreen-button-corner-3",K:[{D:"path",Fa:!0,H:"ytp-svg-fill",O:{d:"m 22,14 0,-4 -2,0 0,6 6,0 0,-2 -4,0 0,0 z"}}]},{D:"g",H:"ytp-fullscreen-button-corner-0",K:[{D:"path",Fa:!0,H:"ytp-svg-fill",
O:{d:"m 20,26 2,0 0,-4 4,0 0,-2 -6,0 0,6 0,0 z"}}]},{D:"g",H:"ytp-fullscreen-button-corner-1",K:[{D:"path",Fa:!0,H:"ytp-svg-fill",O:{d:"m 10,22 4,0 0,4 2,0 0,-6 -6,0 0,2 0,0 z"}}]}]};a=g.Q("YTP_EXIT_FULLSCREEN");window.document.activeElement==this.element&&this.o.getRootNode().focus()}else b=g.mO?{D:"div",W:["ytp-icon","ytp-icon-full-screen"]}:{D:"svg",O:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{D:"g",H:"ytp-fullscreen-button-corner-0",K:[{D:"path",Fa:!0,H:"ytp-svg-fill",
O:{d:"m 10,16 2,0 0,-4 4,0 0,-2 L 10,10 l 0,6 0,0 z"}}]},{D:"g",H:"ytp-fullscreen-button-corner-1",K:[{D:"path",Fa:!0,H:"ytp-svg-fill",O:{d:"m 20,10 0,2 4,0 0,4 2,0 L 26,10 l -6,0 0,0 z"}}]},{D:"g",H:"ytp-fullscreen-button-corner-2",K:[{D:"path",Fa:!0,H:"ytp-svg-fill",O:{d:"m 24,24 -4,0 0,2 L 26,26 l 0,-6 -2,0 0,4 0,0 z"}}]},{D:"g",H:"ytp-fullscreen-button-corner-3",K:[{D:"path",Fa:!0,H:"ytp-svg-fill",O:{d:"M 12,20 10,20 10,26 l 6,0 0,-2 -4,0 0,-4 0,0 z"}}]}]},a=g.Q("YTP_FULLSCREEN");this.updateValue("icon",
b);this.updateValue("title",this.l?null:a);dT(this.C.bb())};
g.h.U=function(){this.l||(this.A(),this.A=null);g.R.prototype.U.call(this)};g.r(RS,g.R);RS.prototype.o=function(){this.l.ma("onCollapseMiniplayer")};g.r(SS,rR);g.h=SS.prototype;g.h.show=function(){var a=this.Ha();rR.prototype.show.call(this);a||(this.A.M(this.l,"presentingplayerstatechange",this.Gp),this.A.M(this.l,"videodatachange",this.Gp),this.Gp())};
g.h.hide=function(){this.A&&(g.It(this.A),rR.prototype.hide.call(this))};
g.h.Gp=function(){var a=this.l.getVideoData(),b=a.ng,c;for(c=0;c<b.length;c++){var d=this.o[c];d||(d=new g.R({D:"button",W:["ytp-multicam-menu-item","ytp-button"],O:{"aria-checked":"{{selected}}","data-id":"{{videoId}}"},K:[{D:"div",H:"ytp-multicam-menu-item-title",V:"{{cameraName}}"}]}),d.da("click",g.La(this.mH,c),this),d.aa(this.za),this.o[c]=d);var e=b[c],f=e.id;if(f!=d.element.getAttribute("data-id")){var k=e.thumbnail_url;!k&&f&&(k=WA(g.V(this.l),f,"default.jpg"));d.element.style.backgroundImage=
k?"url("+k+")":""}d.update({cameraName:e.title,videoId:f,selected:f==a.videoId?!0:null})}for(;c<this.o.length;)this.o.pop().dispose();c=g.XJ(this.l);a=b.length||!a.Fb();g.AD(c)||g.U(c,4)||a||!tR(this)||this.fg()};
g.h.mH=function(a){this.l.getVideoData();var b=this.l;a=this.l.getVideoData().ng[a];var c=g.W(b.app,1).getVideoData(),d=b.getCurrentTime();a.id==c.videoId?g.W(b.app)!=g.W(b.app,1)&&(g.gO(b.app,1),c.pa||b.ob(d)):(g.gO(b.app,4),$V(b.app,{videoId:a.id,title:c.title,start:c.pa?null:d,multifeed_metadata_list:c.Hb.multifeed_metadata_list},4))};
g.h.focus=function(){for(var a=this.l.getVideoData(),b=a.ng,c=0;c<b.length;c++)if(b[c].id==a.videoId){this.o[c].focus();break}};
g.h.U=function(){g.af(this.o);rR.prototype.U.call(this)};g.r(TS,g.R);TS.prototype.F=function(a){this.A("newdata"==a)};
TS.prototype.A=function(a){var b=this.l.getVideoData(),c=b.ng,d=g.XJ(this.l);d=(g.AD(d)||g.U(d,4))&&0<c.length;g.rv(this,d);a&&(this.B=!0);if(d){this.B&&g.sq(this.C);a=null;d="";for(var e=0;e<c.length;e++)if(c[e].id==b.videoId){a=c[e].title;d=g.Q("YTP_MULTICAM_INDEX",{CAMERA_INDEX:String(e+1),CAMERA_COUNT:String(c.length)})+"\n";break}this.update({text:d+a,preview:b.oc(g.V(this.l),"default.jpg")});dT(this.o)}else this.C.stop()};
TS.prototype.G=function(){FU(this.o,this.element,g.Q("YTP_MORE_CAMERAS_AVAILABLE"));this.B=!1};g.r(US,g.G);US.prototype.l=function(){var a=g.P()-this.A;a=a<this.g?a/this.g:1;this.B(Hq(Xga,a));1>a&&this.o.start()};
var Xga=new Gq(0,0,.4,0,.2,1,1,1),Efa=/[0-9.-]+|[^0-9.-]+/g;g.r(aT,g.R);aT.prototype.ec=function(a){this.A=300<=a.width;g.rv(this,this.A);g.yK(this.l,this.element,this.A&&this.G)};
aT.prototype.fa=function(){g.V(this.l).L?this.l.isMuted()?this.l.Ge():this.l.mute():this.X.fg(this.element,!0);g.xK(this.l,this.element)};
aT.prototype.ia=function(a){$S(this,a.volume,a.muted)};
var Ffa=["M",19,",",11.29," C",21.89,",",12.15," ",24,",",14.83," ",24,",",18," C",24,",",21.17," ",21.89,",",23.85," ",19,",",24.71," L",19,",",24.77," C",21.89,",",23.85," ",24,",",21.17," ",24,",",18," C",24,",",14.83," ",21.89,",",12.15," ",19,",",11.29," L",19,",",11.29," Z"],Gfa=["M",19,",",11.29," C",21.89,",",12.15," ",24,",",14.83," ",24,",",18," C",24,",",21.17," ",21.89,",",23.85," ",19,",",24.71," L",19,",",26.77," C",23.01,",",25.86," ",26,",",22.28," ",26,",",18," C",26,",",13.72," ",
23.01,",",10.14," ",19,",",9.23," L",19,",",11.29," Z"];g.r(eT,g.R);eT.prototype.o=function(){var a=g.W(this.l.app);a&&a.l.ip()};g.r(g.gT,g.R);g.gT.prototype.G=function(a){fT(this,a.state)};
g.gT.prototype.F=function(){g.K(this.element,"ytp-play-button-playlist",ZJ(this.o))};
g.gT.prototype.I=function(){g.AD(g.XJ(this.o))?this.o.Cb():this.o.Gb()};
g.gT.prototype.U=function(){this.l&&this.l();g.R.prototype.U.call(this)};g.r(g.jT,g.R);g.h=g.jT.prototype;g.h.Vh=function(){kT(this);this.G&&(this.Na(this.G),this.G=null);this.F=this.l.getVideoData(1);if(this.A=this.l.Fe())this.A.subscribe("shuffle",this.Vh,this),this.G=this.M(this.l,"progresssync",this.HF);this.C=lT(this);iT(this);this.ec(g.YJ(this.l).Ba())};
g.h.ec=function(a){a=void 0===a?g.YJ(this.l).Ba():a;var b=ZJ(this.l)||this.o&&g.uK(this.l)||mT(this);g.rv(this,b&&(this.o||400<=a.width))};
g.h.IF=function(a){var b=!0;this.J?b=g.DQ(a,this.l):g.zt(a);b&&(this.o&&5==this.l.Da()?this.l.P("ytoprerollinternstitialnext"):this.o?this.l.Oh(!0):this.C?this.l.ob(0):this.l.nj(!0))};
g.h.HF=function(){var a=lT(this);a!=this.C&&(this.C=a,iT(this))};
g.h.U=function(){this.B&&(this.B(),this.B=null);kT(this);g.R.prototype.U.call(this)};nT.prototype.update=function(a,b,c,d){this.width=b;this.o=c;this.B=d;this.g=b-c-d;this.position=g.od(a,c,c+this.g);this.A=this.position-c;this.l=this.A/this.g};g.r(g.pT,g.tv);g.h=g.pT.prototype;g.h.KF=function(a){if(!g.At(a)){var b=!1;switch(g.Bt(a)){case 36:this.o.ob(0);b=!0;break;case 35:this.o.ob(window.Infinity);b=!0;break;case 34:this.o.Ld(-60);b=!0;break;case 33:this.o.Ld(60);b=!0;break;case 38:this.o.Ld(5);b=!0;break;case 40:this.o.Ld(-5),b=!0}b&&g.zt(a)}};
g.h.Hv=function(a,b){oT(this,b,"newdata"==a)};
g.h.oB=function(){this.Hv("newdata",this.o.getVideoData())};
g.h.sB=function(){zT(this.o.getVideoData())?g.zD(g.XJ(this.o))&&AT(this,!0):AT(this,!1)};
g.h.pB=function(a){0<FD(a,64)||!zT(this.o.getVideoData())?AT(this,!1):g.AD(a.state)&&0>FD(a,64)&&AT(this,!0);this.C&&!g.U(a.state,32)&&3!=this.o.Da()&&this.C.cancel()};
g.h.fJ=function(a,b,c){var d=g.Xh(this.element),e=CT(this).g,f=c?c.getAttribute("data-tooltip"):void 0;c&&c.getAttribute("data-position")&&(a=FP(this.l,Number(c.getAttribute("data-position")),0)*e+g.Xh(this.bc).x);this.Ga.x=a-d.x;this.Ga.y=b-d.y;c=CT(this);a=EP(this.l,c.l);d=f||g.VO(this.Ta?a-this.l.g:a);b=this.Ia;c=c.position+this.Ma;f=!!f;b.ia||(3==b.o&&b.Wd(),1!=b.o&&(b.element.className="ytp-tooltip ytp-bottom",b.o=1,b.N&&b.J.show(),b.A=g.HC(b.T.getVideoData()),b.A&&b.A.subscribe("l",b.uw,b)),
b.update({text:d,title:""}),g.K(b.element,"ytp-text-detail",!!f),d=-1,b.A&&(d=rB(b.A,160*b.B),d=b.A.g[d].Th(a)),HU(b,d),GU(b,!!f,c));g.K(this.o.getRootNode(),"ytp-progress-bar-hover",!g.U(g.XJ(this.o),64));uT(this)};
g.h.eJ=function(){var a=this.Ia;1==a.o&&a.Wd();g.fq(this.o.getRootNode(),"ytp-progress-bar-hover")};
g.h.dJ=function(a,b){this.A&&(this.A.dispose(),this.A=null);this.dc=b;this.o.ob(EP(this.l,CT(this).l),!1);g.J(this.element,"ytp-drag");(this.Ua=g.AD(g.XJ(this.o)))&&this.o.Cb()};
g.h.gJ=function(){this.ra=0;g.fq(this.element,"ytp-pull-ui");g.fq(this.element,"ytp-pulling");this.A&&(this.A.dispose(),this.A=null);0<this.I&&(this.A=new g.pq((0,g.A)(this.tA,this,g.P(),this.I,CT(this).position)),this.A.start());if(g.U(g.XJ(this.o),32)||3==this.o.Da())this.o.ob(EP(this.l,CT(this).l)),g.fq(this.element,"ytp-drag"),this.Ua&&!g.U(g.XJ(this.o),2)&&this.o.Gb()};
g.h.tA=function(a,b,c){a=1-Math.pow(1-(g.P()-a)/200,3);c+=a*(this.G*this.B-c);if(0>a||1<a)a=1;BT(this,(1-a)*b,c,this.G);1>a&&this.A.start()};
g.h.hJ=function(a,b){var c=!1,d=!1,e=CT(this);3600<=this.l.getLength()&&(BT(this,this.dc-b-10,e.position,e.l),d=!0,c=this.I>.1*(this.F?60:40),e=CT(this));g.K(this.element,"ytp-pull-ui",d);c&&g.J(this.element,"ytp-pulling");c=0;e.o&&0>=e.position?c=-1:e.B&&e.position>=e.width&&(c=1);this.ra!=c&&(this.ra=c,this.A&&(this.A.dispose(),this.A=null),c&&(this.A=new g.pq((0,g.A)(this.YK,this,g.P(),this.J)),this.A.start()));this.o.ob(EP(this.l,e.l),!1)};
g.h.YK=function(a,b){var c=this.B*(this.X-1);this.J=g.od(b+this.ra*(g.P()-a)*.3,0,c);g.tT(this);this.o.ob(EP(this.l,CT(this).l),!1);0<this.J&&this.J<c&&this.A.start()};
g.h.nw=function(){this.updateValue("clipstarticon",rO());this.updateValue("clipendicon",rO());g.J(this.element,"ytp-clip-hover")};
g.h.mw=function(){this.updateValue("clipstarticon",tO());this.updateValue("clipendicon",sO());g.fq(this.element,"ytp-clip-hover")};
g.h.jm=function(){this.N=0;this.L=window.Infinity;yT(this);sT(this,this.G,this.la)};
g.h.Ly=function(a){a=g.p(a);for(var b=a.next();!b.done;b=a.next())if(b=b.value,b.visible){var c=b.getId();if(!this.T[c]){var d=g.Td("DIV");("ytp-chapter-marker"==b.style||b.tooltip)&&d.setAttribute("data-position",b.start/1E3);b.tooltip&&d.setAttribute("data-tooltip",b.tooltip);this.T[c]=b;this.na[c]=d;if(b.icons&&b.icons.length){for(var e=g.Td("DIV"),f=g.p(b.icons),k=f.next();!k.done;k=f.next()){k=k.value;var l=g.Td("IMG");l.src=k;l.setAttribute("data-position",b.start/1E3);b.tooltip&&l.setAttribute("data-tooltip",
b.tooltip);e.appendChild(l)}e.className="ytp-marker-icon";g.tb(this.ca,b,g.iE);this.R[c]=e;this.dd.appendChild(e)}d.className=b.style;DT(this,c);"ytp-chapter-marker"==b.style?this.Mc.appendChild(d):g.S(g.V(this.o).experiments,"disable_ad_markers_on_content_progress_bar")||this.Bc.appendChild(d)}}else HT(this,b);ET(this)};
g.h.TK=function(a){a=g.p(a);for(var b=a.next();!b.done;b=a.next())HT(this,b.value);ET(this)};
g.h.U=function(){vT(this,!1);g.tv.prototype.U.call(this)};g.r(IT,cS);IT.prototype.C=function(){g.RJ(this.A).A&&3!=this.A.Da()?this.l||(bU(this.B,this),this.l=!0):this.l&&(cU(this.B,this),this.l=!1);var a=g.RJ(this.A).A;dS(this,!!a&&a.loaded)};
IT.prototype.F=function(a){a?this.A.Nh("annotations_module"):this.A.oj("annotations_module")};
IT.prototype.U=function(){this.l&&cU(this.B,this);cS.prototype.U.call(this)};g.r(g.JT,g.vv);g.h=g.JT.prototype;g.h.open=function(){g.YR(this.A,this.C)};
g.h.ee=function(a){if(this.F){var b=this.o[this.F];b.element.getAttribute("aria-checked");b.element.removeAttribute("aria-checked")}this.o[a].element.setAttribute("aria-checked",!0);this.jb(this.de(a));this.F=a};
g.h.enable=function(a){this.I?a||(this.I=!1,this.Wh(!1)):a&&(this.I=!0,this.Wh(!0))};
g.h.Wh=function(a){a?bU(this.A,this):cU(this.A,this)};
g.h.Ic=function(a){this.P("select",a)};
g.h.PF=function(a){"true"!=this.o[a].element.getAttribute("aria-disabled")&&this.Ic(a)};
g.h.de=function(a){return a.toString()};
g.h.OF=function(a){g.At(a)||39!=g.Bt(a)||(this.open(),g.zt(a))};
g.h.U=function(){this.I&&cU(this.A,this);g.vv.prototype.U.call(this);for(var a in this.o)this.o[a].dispose()};g.r(LT,g.JT);LT.prototype.G=function(){var a=this.l.getAvailableAudioTracks();1<a.length?(g.KT(this,(0,g.E)(a,this.B)),this.L=g.ub(a,this.B,this),this.J.jb(a.length?" ("+a.length+")":""),this.P("size-change"),this.ee(this.B(this.l.getAudioTrack())),this.enable(!0)):this.enable(!1)};
LT.prototype.Ic=function(a){g.JT.prototype.Ic.call(this,a);this.l.qp(this.L[a]);this.A.Pd()};
LT.prototype.B=function(a){return a.toString()};g.r(MT,cS);MT.prototype.C=function(){var a=this.l.Da();if(2!=a&&3!=a&&g.uK(this.l))this.B||(bU(this.F,this),this.B=!0,this.A.push(this.M(this.l,"videodatachange",this.C)),this.A.push(this.M(this.l,"videoplayerreset",this.C)),this.A.push(this.M(this.l,"onPlaylistUpdate",this.C)),this.A.push(this.M(this.l,"autonavchange",this.G)),this.G(this.l.getVideoData().autonavState));else if(this.B){cU(this.F,this);this.B=!1;a=g.p(this.A);for(var b=a.next();!b.done;b=a.next())this.Na(b.value)}};
MT.prototype.G=function(a){dS(this,1!=a)};
MT.prototype.I=function(a){var b=this.l;a=a?2:1;b.app.l.ma("onAutonavChangeRequest",1!=a);a&&sW(b.app,a)};
MT.prototype.U=function(){this.B&&cU(this.F,this);cS.prototype.U.call(this)};g.r(NT,g.JT);NT.prototype.B=function(){var a=this.l.Da();if(2!=a&&3!=a&&(this.J=g.bK(this.l),a=this.l.jp(),g.rK(this.l)&&g.sK(this.l)&&a.unshift("missing-qualities"),g.KT(this,a),a.length)){this.L();this.enable(!0);return}this.enable(!1)};
NT.prototype.L=function(){var a=g.cK(this.l);this.o[a]&&(this.G=this.l.mj(),this.ee(a),"auto"==a&&this.jb(this.de(a)))};
NT.prototype.Ic=function(a){"missing-qualities"!=a&&(g.JT.prototype.Ic.call(this,a),this.l.zl(a),this.A.nb())};
NT.prototype.de=function(a,b){b=void 0===b?!1:b;if("missing-qualities"==a)return{D:"a",O:{href:"https://support.google.com/youtube/?p=missing_quality",target:"_blank"},V:g.Q("YTP_MISSING_FORMATS")};var c=[OT(this,a)],d=g.cK(this.l);b||"auto"!=d||"auto"!=a||(c.push(" "),c.push(OT(this,this.G,["ytp-menu-label-secondary"])));return{D:"div",K:c}};g.r(PT,g.R);PT.prototype.ec=function(a){g.rv(this,this.B&&400<=a.width)};
PT.prototype.C=function(){if(this.A.Ha())this.A.nb();else{var a=g.RJ(this.l).l;a&&!a.loaded&&(a.Yo("tracklist",{includeAsr:!0}).length||a.load());this.A.Md(this.element)}};
PT.prototype.o=function(){var a=this.l.Da(),b=2!=a&&3!=a,c=g.fK(this.l),d=b&&!!g.RJ(this.l).o;a=d&&1==c.Gf;c=d&&2==c.Gf;b=(d=a||c)||!b?null:this.l.mj();g.K(this.element,"ytp-hd-quality-badge","hd720"==b||"hd1080"==b||"hd1440"==b);g.K(this.element,"ytp-4k-quality-badge","hd2160"==b);g.K(this.element,"ytp-5k-quality-badge","hd2880"==b);g.K(this.element,"ytp-8k-quality-badge","highres"==b);g.K(this.element,"ytp-3d-badge-grey",d&&a);g.K(this.element,"ytp-3d-badge",d&&c)};g.r(RT,g.JT);g.h=RT.prototype;g.h.Ip=function(a){return a.toString()};
g.h.de=function(a){return"1"==a?g.Q("YTP_NORMAL_SPEED"):a.toString()};
g.h.Lv=function(){var a=this.l.Da();this.enable(2!=a&&3!=a)};
g.h.Wh=function(a){g.JT.prototype.Wh.call(this,a);a?(this.B=this.M(this.l,"onPlaybackRateChange",this.RF),g.KT(this,(0,g.E)(this.l.Mh(),this.Ip)),this.ee(this.Ip(this.l.Ub()))):(this.Na(this.B),this.B=null)};
g.h.RF=function(a){this.ee(this.Ip(a))};
g.h.Ic=function(a){g.JT.prototype.Ic.call(this,a);this.l.Jd((0,window.parseFloat)(a),!0);this.A.Pd()};g.r(TT,g.JT);g.h=TT.prototype;g.h.ee=function(a){g.JT.prototype.ee.call(this,a)};
g.h.Ov=function(a){return a.option.toString()};
g.h.de=function(a){return ST(this.L[a])};
g.h.Ic=function(a){g.JT.prototype.Ic.call(this,a);this.P("settingChange",this.J,this.L[a].option)};
g.h.Pv=function(a){this.P("settingChange",this.J+"Override",!a);this.A.Pd()};g.r(UT,g.QR);UT.prototype.o=function(a,b){this.P("settingChange",a,b)};g.r(WT,g.JT);WT.prototype.B=function(a){return a.languageCode};
WT.prototype.de=function(a){return this.l[a].languageName||""};
WT.prototype.Ic=function(a){this.P("select",a);g.ZR(this.A)};g.r(XT,g.JT);g.h=XT.prototype;g.h.Lp=function(a){return g.lc(a)?"__off__":a.displayName};
g.h.de=function(a){return"__off__"==a?g.Q("YTP_LANGUAGE_OFF"):"__translate__"==a?g.Q("YTP_AUTO_TRANSLATE"):"__contribute__"==a?g.Q("YTP_CONTRIBUTE_MENU_ITEM"):("__off__"==a?{}:this.B[a]).displayName};
g.h.Ic=function(a){"__translate__"==a?this.G.open():"__contribute__"==a?(this.l.Cb(),this.l.isFullscreen()&&g.aK(this.l),a=g.RD(g.V(this.l),this.l.getVideoData()),g.kL(a)):(this.l.Vc("captions","track","__off__"==a?{}:this.B[a]),g.JT.prototype.Ic.call(this,a),this.A.Pd())};
g.h.vj=function(){var a=-1!=this.l.Mg().indexOf("captions"),b=this.l.getVideoData().Gi;if(a||b){if(a){var c=this.l.Mb("captions","track");var d=this.l.Mb("captions","tracklist",{includeAsr:!0});var e=this.l.Mb("captions","translationLanguages");this.B=g.ub(d,this.Lp,this);var f=(0,g.E)(d,this.Lp);if(e.length){var k=this.G;var l=e;k.l=g.ub(l,k.B,k);g.KT(k,(0,g.E)(l,k.B));f.push("__translate__")}k=this.Lp(c)}else this.B={},f=[],k="__off__";f.unshift("__off__");this.B.__off__={};b&&f.unshift("__contribute__");
this.B[k]||(this.B[k]=c,f.push(k));g.KT(this,f);this.ee(k);a?(VT(this.L,this.l.Og()),this.J.jb(d.length?" ("+d.length+")":""),this.P("size-change"),a&&e.length&&this.o.__translate__.element.setAttribute("aria-disabled",!!g.lc(c))):(this.J.jb(""),this.P("size-change"));this.enable(!0)}else this.enable(!1)};
g.h.Nv=function(a){this.l.Vc("captions","sampleSubtitles",a)};
g.h.ZF=function(a){var b=this.l.Mb("captions","track");b=g.qc(b);b.translationLanguage=this.G.l[a];this.l.Vc("captions","track",b)};
g.h.YF=function(a,b){if("reset"==a)this.l.pp();else{var c={};c[a]=b;this.l.Bl(c)}this.Nv(!0);this.N.start();VT(this.L,this.l.Og())};
g.h.NJ=function(a){a||g.uq(this.N)};
g.h.U=function(){g.uq(this.N);g.JT.prototype.U.call(this)};g.r(ZT,cS);ZT.prototype.C=function(){dK(g.RJ(this.l))&&dK(g.RJ(this.l)).isActive()?this.A||(bU(this.B,this),this.A=!0):this.A&&(cU(this.B,this),this.A=!1);dS(this,eK(this.l))};
ZT.prototype.F=function(a){eK(this.l);dK(g.RJ(this.l)).pP(a);var b=dK(g.RJ(this.l));a?b&&!b.loaded&&b.load():b&&b.loaded&&b.unload()};
ZT.prototype.U=function(){this.A&&cU(this.B,this);cS.prototype.U.call(this)};g.r($T,g.UR);$T.prototype.Md=function(a){aU(this);0<this.A.za.length&&g.UR.prototype.Md.call(this,a)};
$T.prototype.show=function(){g.UR.prototype.show.call(this);g.J(this.o.getRootNode(),"ytp-settings-shown")};
$T.prototype.hide=function(){g.UR.prototype.hide.call(this);g.fq(this.o.getRootNode(),"ytp-settings-shown")};g.r(dU,g.R);
dU.prototype.o=function(){var a=!1;-1!=this.l.Mg().indexOf("remote")&&(a=1<this.l.Mb("remote","receivers").length);g.rv(this,a&&400<=g.YJ(this.l).Ba().width);var b=1;a&&this.l.Mb("remote","casting")&&(b=2);if(this.A!=b){this.A=b;switch(b){case 1:this.updateValue("icon",g.mO?{D:"div",W:["ytp-icon","ytp-icon-cast-desktop-off"]}:{D:"svg",O:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{D:"path",Fa:!0,O:{d:"M27,9 L9,9 C7.9,9 7,9.9 7,11 L7,14 L9,14 L9,11 L27,11 L27,25 L20,25 L20,27 L27,27 C28.1,27 29,26.1 29,25 L29,11 C29,9.9 28.1,9 27,9 L27,9 Z M7,24 L7,27 L10,27 C10,25.34 8.66,24 7,24 L7,24 Z M7,20 L7,22 C9.76,22 12,24.24 12,27 L14,27 C14,23.13 10.87,20 7,20 L7,20 Z M7,16 L7,18 C11.97,18 16,22.03 16,27 L18,27 C18,20.92 13.07,16 7,16 L7,16 Z",fill:"#fff"}}]});
break;case 2:this.updateValue("icon",g.nO())}g.K(this.element,"ytp-remote-button-active",!!this.l.Mb("remote","casting"))}};
dU.prototype.C=function(){if(this.l.Mb("remote","quickCast"))this.l.Vc("remote","quickCast",!0);else{var a=this.B,b=this.element;if(tR(a))a.nb();else{aU(a);a:{var c=g.p(a.A.za);for(var d=c.next();!d.done;d=c.next())if(d=d.value,0==d.priority){c=d;break a}c=null}c&&(c.open(),a.Md(b));a.Md(b)}}};g.r(eU,g.R);eU.prototype.F=function(){var a=this.l.app;a.l.ma("SIZE_CLICKED",!a.yb)};
eU.prototype.o=function(){g.rv(this,this.l.app.nd&&!this.l.isFullscreen()&&3!=this.l.Da());if(this.Ha()){var a=this.l.isWidescreen();if(this.A!=a){var b=a?g.mO?{D:"div",W:["ytp-icon","ytp-icon-default-view"]}:{D:"svg",O:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{D:"path",Fa:!0,O:{d:"m 26,13 0,10 -16,0 0,-10 z m -14,2 12,0 0,6 -12,0 0,-6 z",fill:"#fff","fill-rule":"evenodd"}}]}:g.mO?{D:"div",W:["ytp-icon","ytp-icon-theater-mode"]}:{D:"svg",O:{height:"100%",version:"1.1",viewBox:"0 0 36 36",
width:"100%"},K:[{D:"path",Fa:!0,O:{d:"m 28,11 0,14 -20,0 0,-14 z m -18,2 16,0 0,10 -16,0 0,-10 z",fill:"#fff","fill-rule":"evenodd"}}]};g.V(this.l).B||null==this.A?this.updateValue("icon",b):ZS(this.C,this.element,b);a=(this.A=a)?g.Q("YTP_DEFAULT_VIEW"):g.Q("YTP_THEATER_MODE");this.updateValue("title",a);dT(this.B)}}};g.r(fU,g.R);fU.prototype.A=function(){var a=g.RJ(this.o).l;a&&a.yy()};
fU.prototype.l=function(){var a=!!g.RJ(this.o).l;g.rv(this,a&&300<=g.YJ(this.o).Ba().width);a&&this.updateValue("pressed",!!this.o.Mb("captions","track").displayName)};g.r(g.gU,g.R);
g.gU.prototype.l=function(){var a=g.YJ(this.C).Ba().width,b=350<=a&&(!this.A||!g.U(g.XJ(this.C),64));g.rv(this,b);g.K(this.element,"ytp-time-display-allow-autohide",b&&400>a);a=this.C.Uf();b&&(b=g.VO(a.current),this.F!=b&&(this.updateValue("currenttime",b),this.F=b),b=g.VO(a.duration),this.G!=b&&(this.updateValue("duration",b),this.G=b));this.A&&(a=a.isPeggedToLive,this.I!=a&&(this.I=a,this.l(),b=this.B.element,(b.disabled=a)?this.o&&(this.o(),this.o=null,b.removeAttribute("title")):(b.title=g.Q("YTP_GOTO_LIVE_TOOLTIP"),
this.o=NR(this.J,this.B.element))))};
g.gU.prototype.N=function(a,b){this.A=b.pa;g.K(this.element,"ytp-live",this.A);this.l()};
g.gU.prototype.L=function(a){a.target==this.B.element&&(this.C.ob(window.Infinity),this.C.Gb())};
g.gU.prototype.U=function(){this.o&&this.o();g.R.prototype.U.call(this)};g.r(iU,g.R);g.h=iU.prototype;g.h.aG=function(){var a=this.F.Hc();this.G!=a&&(this.G=a,hU(this,this.l.Bb(),this.l.isMuted()))};
g.h.ec=function(a){g.rv(this,350<=a.width)};
g.h.UJ=function(a){if(!g.At(a)){var b=g.Bt(a),c=null;37==b?c=this.B-5:39==b?c=this.B+5:36==b?c=0:35==b&&(c=100);null!=c&&(c=g.od(c,0,100),0==c?this.l.mute():(this.l.isMuted()&&this.l.Ge(),this.l.setVolume(c)),g.zt(a))}};
g.h.bG=function(a){var b=a.deltaX||-a.deltaY;a.deltaMode?this.l.setVolume(this.B+(0>b?-10:10)):this.l.setVolume(this.B+g.od(b/10,-10,10));g.zt(a)};
g.h.TJ=function(){jU(this,this.A,!0,this.o,this.F.Dh());this.T=this.B;this.l.isMuted()&&this.l.Ge()};
g.h.SJ=function(a){a-=g.Xh(this.R).x;this.l.setVolume(100*g.od(a/(this.G?78:52),0,1))};
g.h.RJ=function(){jU(this,this.A,!1,this.o,this.F.Dh());0==this.B&&(this.l.mute(),this.l.setVolume(this.T))};
g.h.cG=function(a){hU(this,a.volume,a.muted)};
g.h.Vr=function(){jU(this,this.A,this.C,this.o,this.F.Dh())};
g.h.Qv=function(a){jU(this,this.A,this.C,a,this.F.Dh())};
g.h.Wx=function(a){g.K(this.element,"ytp-volume-control-hover",a);jU(this,a,this.C,this.o,this.F.Dh())};
g.h.U=function(){g.R.prototype.U.call(this);g.fq(this.N,"ytp-volume-slider-active")};g.r(kU,g.R);kU.prototype.B=function(){this.o=!!this.l.getVideoData().videoId;g.rv(this,this.o);g.yK(this.l,this.element,this.o&&this.A);if(this.o){var a=this.l.getVideoUrl(!0,!1,!1,!0);this.updateValue("url",a)}};
kU.prototype.C=function(a){var b=this.l.getVideoUrl(!g.WO(a),!1,!0,!0);EQ(b,this.l,a);g.xK(this.l,this.element)};g.r(lU,g.Gt);g.h=lU.prototype;g.h.Kp=function(){g.rT(this.C);this.Z.l()};
g.h.iw=function(){this.Hq();!this.T.g||this.Kp()};
g.h.WF=function(){this.Kp();this.G.start()};
g.h.Hq=function(){var a;if(a=!g.V(this.o).l){a=this.C;var b=2*a.B*g.ZA();a=300>1E3*a.l.getLength()/a.o.Ub()/b}a=a&&g.zD(g.XJ(this.o))&&!!window.requestAnimationFrame;b=!a;this.T.g||(a=b=!1);b?this.I||(this.I=this.M(this.o,"progresssync",this.Kp)):this.I&&(this.Na(this.I),this.I=null);a?this.G.isActive()||this.G.start():this.G.stop()};
g.h.IL=function(a){DU(this.A.bb(),!a)};
g.h.xb=function(){var a=this.A.Hc(),b=g.YJ(this.o).Ba(),c=nU(this),d=Math.max(b.width-2*c,100);if(this.ea!=b.width||this.X!=a){this.ea=b.width;this.X=a;var e=oU(this);this.l.element.style.width=e+"px";this.l.element.style.left=c+"px";var f=this.C;f.Ma=c;f.B=e;f.F=a;g.tT(f);this.A.bb().la=e}c=this.g;e=Math.min(413*(a?1.5:1),Math.round(.82*(b.height-(this.A.Hc()?72:50))));c.R=Math.min(570*(a?1.5:1),d);c.N=e;c.Oj();this.Hq();g.S(g.V(this.o).experiments,"html5_player_dynamic_bottom_gradient")&&GS(this.ca,
b.height)};
g.h.XF=function(){var a=this.o.getVideoData();this.R.style.background=a.isDni?a.dniColor:""};
g.h.ha=function(){return this.l.element};g.r(sU,g.R);sU.prototype.I=function(){qU(this.C,this.A,this.B,null,null);this.o.focus();this.o.removeAttribute("aria-hidden");this.l.setAttribute("aria-hidden",!0)};
sU.prototype.J=function(){rU(this.C,this.A,this.B,null,null);this.l.focus();this.l.removeAttribute("aria-hidden");this.o.setAttribute("aria-hidden",!0)};
sU.prototype.F=function(){this.element.classList.add("ytp-inline-subscribe-button-subscribed");this.updateValue("pressed",!0)};
sU.prototype.G=function(){this.element.classList.remove("ytp-inline-subscribe-button-subscribed");this.updateValue("pressed",!1)};g.r(tU,g.R);tU.prototype.B=function(){g.xK(this.o,this.element);uU(this,!this.l)};g.r(g.vU,g.R);g.vU.prototype.o=function(){g.J(this.element,"ytp-sb-subscribed")};
g.vU.prototype.A=function(){g.fq(this.element,"ytp-sb-subscribed")};g.y("yt.pubsub.publish",g.Xt,void 0);g.r(yU,g.R);yU.prototype.Y=function(a){g.xK(this.l,this.element);var b=this.l.getVideoUrl(!g.WO(a),!1,!0);EQ(b,this.l,a)};
yU.prototype.L=function(){var a=this.l.getVideoData(),b=g.V(this.l);this.updateValue("title",a.title);AU(this);if(2==this.l.Da()){var c=this.l.getVideoData(),d=!!c.videoId&&!!c.isListed&&!!c.author&&!!c.channelPath&&!!c.profilePicture;d?(zU(this,d,c.channelPath,c.profilePicture),this.updateValue("channelLink",c.channelPath),this.updateValue("channelName",c.author)):(zU(this,d),this.updateValue("channelLink",""),this.updateValue("channelName",""))}else if(b.J){c=this.l.getVideoData();d=g.V(this.l);
var e=!!c.videoId&&!!c.channelPath&&!!c.profilePicture;e?(g.S(d.experiments,"embed_info_bar_show_avatar")&&zU(this,e,c.channelPath,c.profilePicture),this.J&&(this.J.l=c.ne),this.o&&(this.updateValue("inlineSubscribe",this.o),g.yK(this.l,this.o.element,!0),this.o.A=c.ne,this.A&&(this.updateValue("inlineNotify",this.A),c.subscribed||this.A.hide(),g.yK(this.l,this.A.element,c.subscribed),this.element.classList.add("ytp-title-show-inline-subscribe"))),this.I&&(this.updateValue("topRightSubscribe",this.I),
this.I.l=c.ne,this.updateValue("topRightNotify",this.N),c.subscribed||this.N.hide()),this.updateValue("subtitle",c.subtitle),this.updateValue("expandedTitle",c.expandedTitle),this.updateValue("expandedSubtitle",c.expandedSubtitle),g.K(this.l.getRootNode(),"ytp-title-show-subtitle",!!c.subtitle)):AU(this)}!b.F&&a.videoId?(this.updateValue("url",this.l.getVideoUrl(!0)),this.C||(this.C=this.M(this.T,"click",this.Y))):this.C&&(this.updateValue("url",null),this.Na(this.C),this.C=null)};g.r(g.BU,g.R);g.h=g.BU.prototype;g.h.zI=function(a){3==this.o&&this.Wd();a=a.currentTarget;this.o||(a.removeEventListener("mouseover",this.F),a.addEventListener("mouseout",this.Y),g.S(this.L.experiments,"show_tooltip_on_tab_killswitch")||(a.removeEventListener("focus",this.F),a.addEventListener("blur",this.Y)),EU(this,a,2))};
g.h.wI=function(a){(a=wt(a))&&g.ee(this.l,a)||this.Wd()};
g.h.uw=function(a,b){if(a<=this.C&&this.C<=b){var c=this.C;this.C=window.NaN;HU(this,c)}};
g.h.fC=function(){uB(this.A,this.C,160*this.B)};
g.h.Wd=function(){switch(this.o){case 2:this.l.removeEventListener("mouseout",this.Y),this.l.addEventListener("mouseover",this.F),g.S(this.L.experiments,"show_tooltip_on_tab_killswitch")||(this.l.removeEventListener("blur",this.Y),this.l.addEventListener("focus",this.F));case 3:3==this.o&&this.fa.stop();this.T.removeEventListener("appresize",this.X);this.R||this.l.setAttribute("title",this.G);this.G="";this.l=null;break;case 1:this.A&&(this.A.unsubscribe("l",this.uw,this),this.A=null),this.T.removeEventListener("videoready",
this.X),this.ca.stop()}this.o=null;this.N&&this.J.hide()};
g.h.mh=function(a){if(this.l)for(var b=0;b<arguments.length;b++)g.ee(arguments[b],this.l)&&this.Wd()};
g.h.U=function(){null!=this.o&&this.Wd();g.R.prototype.U.call(this)};g.r(LU,g.R);g.h=LU.prototype;g.h.ec=function(a){this.B=300<=a.width;g.rv(this,this.B);a=480<a.width;var b=g.V(this.l);b.J&&g.S(b.experiments,"embed_info_bar_show_actions_labels")&&(g.K(this.I,"ytp-show-watch-later-title",a),this.updateValue("watch_later",a?g.Q("YTP_WATCH_LATER_2"):""));g.yK(this.l,this.element,this.B&&this.G)};
g.h.tK=function(){this.o=!0;this.A=!1;KU(this,1);g.V(this.l).l&&FU(this.C,this.element);g.V(this.l).Xa&&this.l.ma("WATCH_LATER_VIDEO_ADDED")};
g.h.dG=function(){g.xK(this.l,this.element);var a=this.l.getVideoData().videoId,b=g.V(this.l);b.hc?JU(this,a):g.xU(function(){Wu({videoId:a});window.location.reload()},null,"wl_button",800,600,UA(b))};
g.h.uK=function(a,b){this.A=!1;var c=g.Q("YTP_ERROR_GENERIC_WITHOUT_LINK");b&&(c=b.errors&&b.errors.length?b.errors[0]:b.error_message);KU(this,4,c);g.V(this.l).Xa&&this.l.ma("WATCH_LATER_ERROR",c)};
g.h.vK=function(){this.A=this.o=!1;KU(this,2);g.V(this.l).Xa&&this.l.ma("WATCH_LATER_VIDEO_REMOVED")};
g.h.eG=function(){this.A=this.o=!1;KU(this,2)};g.r(MU,g.R);MU.prototype.C=function(a){g.rv(this,!g.U(a.state,2))};
MU.prototype.A=function(){if(this.o.getVideoData().videoId){var a=this.o.getVideoUrl(!0,!1,!1,!0);this.updateValue("url",a);this.l||(this.l=this.da("click",this.B))}else this.l&&(this.updateValue("url",null),this.Na(this.l),this.l=null)};
MU.prototype.B=function(a){var b=this.o.getVideoUrl(!g.WO(a),!1,!0,!0);EQ(b,this.o,a)};g.r(NU,xR);g.h=NU.prototype;g.h.bb=function(){return this.C};
g.h.yk=function(a,b){b?this.N=a:this.N=null;this.Ke()};
g.h.zk=function(a,b){if(b)this.F.push(a);else for(var c=this.F.length;0<=c;c--)if(this.F[c]==a){this.F.splice(c,1);break}this.o.wb(64,0<this.F.length)};
g.h.hi=function(){g.hK(this.g)&&g.iK(this.g);yR(this);var a=g.S(g.V(this.g).experiments,"enable_uturn_error_screen"),b=g.U(g.XJ(this.g),128);return a&&b&&!this.g.isFullscreen()&&!ZJ(this.g)||!!this.N||xR.prototype.hi.call(this)};
g.h.Ke=function(){var a=!this.hi(),b=a&&g.hK(this.g)&&!g.U(g.XJ(this.g),2);a?(this.Ma.show(),this.Ra.show()):(this.Ma.hide(),this.Ra.hide(),this.C.mh(this.A.element));b?this.R.A.show():this.R.A.hide();this.l&&mU(this.l,!a);xR.prototype.Ke.call(this)};
g.h.Wl=function(a,b,c,d){a.style.left="";a.style.top="";a.style.bottom="";var e=g.fi(a);d=d||this.l&&g.ee(this.l.ha(),b);if(null==c||!d){var f=g.fi(b);var k=g.bi(b,this.g.getRootNode())}c=(null==c?k.x+f.width/2:c)-e.width/2;d?(f=nU(this.l),k=oU(this.l),b=g.YJ(this.g).Ba().height,c=g.od(c,f,f+k-e.width),e=b-(this.l.A.Hc()?72:50)-e.height):g.ee(this.A.element,b)?(f=g.YJ(this.g).Ba().width,c=g.od(c,12,f-e.width-12),e=this.Hc()?this.va:this.Ea,"gvn"==g.V(this.g).playerStyle&&(e+=20)):(b=g.YJ(this.g).Ba(),
c=g.od(c,12,b.width-e.width-12),e=k.y>(b.height-f.height)/2?k.y-e.height-12:k.y+f.height+12);a.style.top=e+"px";a.style.left=c+"px"};
g.h.Tp=function(a){a&&(this.C.mh(this.A.element),this.l&&this.C.mh(this.l.ha()));xR.prototype.Tp.call(this,a)};
g.h.Zo=function(a){var b=g.YJ(this.g).Ba();b=new g.th(0,0,b.width,b.height);if(a||this.o.g&&!this.hi())g.V(this.g).bc&&(a=this.Hc()?this.va:this.Ea,b.top+=a,b.height-=a),this.l&&(b.height-=this.l.A.Hc()?72:50);return b};
g.h.mF=function(a){var b=this.g.getRootNode();a?b.parentElement?(b.setAttribute("aria-label","\u041f\u0440\u043e\u0438\u0433\u0440\u044b\u0432\u0430\u0442\u0435\u043b\u044c YouTube \u0432 \u043f\u043e\u043b\u043d\u043e\u044d\u043a\u0440\u0430\u043d\u043d\u043e\u043c \u0440\u0435\u0436\u0438\u043c\u0435"),b.parentElement.insertBefore(this.Z.element,b),b.parentElement.insertBefore(this.T.element,b.nextSibling)):g.N(Error("Player not in DOM.")):(b.setAttribute("aria-label","\u041f\u0440\u043e\u0438\u0433\u0440\u044b\u0432\u0430\u0442\u0435\u043b\u044c YouTube"),
g.qv(this.Z),g.qv(this.T));this.tj();this.Zg()};
g.h.Hc=function(){return this.g.isFullscreen()||!1};
g.h.tl=function(a){this.Za=!a;this.Ke()};
g.h.tj=function(){var a=this.Hc();this.C.B=a?1.5:1;g.K(this.I.element,"ytp-big-mode",a);this.Ke();xR.prototype.tj.call(this)};
g.h.Zg=function(){xR.prototype.Zg.call(this);g.yK(this.g,this.Ia.element,!!this.J);if(this.ea){var a=this.ea,b=!!this.J;a.C=b;g.yK(a.l,a.element,a.o&&b)}this.la&&(a=this.la,b=!!this.J,a.G=b,g.yK(a.l,a.element,a.B&&b));if(!this.J)for(this.C.mh(this.A.element),a=0;a<this.fa.length;a++)b=this.fa[a],tR(b)&&b.nb()};
g.h.rm=function(a){this.l&&mU(this.l,this.hi());this.Ke();xR.prototype.rm.call(this,a)};
g.h.MI=function(){kK(this.g)&&this.o.wb(128,!1)};
g.h.bp=function(a,b){this.Y&&pS(this.Y,a,b)};
g.h.Dk=function(){return this.I.Ha()?(this.I.nb(),!0):this.F.length?(this.F[this.F.length-1].nb(),!0):this.N?(this.N.nb(),!0):xR.prototype.Dk.call(this)};
g.h.Xx=function(a,b){this.ub=b;this.zk(a,b);this.Hy()};
g.h.Hy=function(){var a=this.ub||tR(this.I);this.ra!=a&&(this.ra=a,this.g.ma("onAutonavPauseRequest",this.ra))};
g.h.MA=function(){OU(this,this.g.getRootNode(),!0).focus()};
g.h.NA=function(){OU(this,this.g.getRootNode(),!1).focus()};
g.h.sl=function(){return this.l&&this.l.g};
g.h.cp=function(){this.o.wb(2,!0)};
g.h.Mt=function(){this.G.hide()};
g.h.Bv=function(a){IR(this.G,!g.AD(a))};g.r(g.PU,g.HK);g.PU.prototype.Wb=function(){return!1};
g.PU.prototype.init=function(){this.l=new NU(this.g);g.I(this,this.l);this.l.init();g.qK(this.g,"ux")};g.r(g.QU,jD);g.h=g.QU.prototype;g.h.Pi=function(){return pw(this.g.Pi(),this.l,this.B)};
g.h.ye=function(){return pw(this.g.ye(),this.l,this.B)};
g.h.vh=function(){return pw(this.g.vh(),this.l,this.B)};
g.h.getCurrentTime=function(){return this.g.getCurrentTime()-this.l};
g.h.gi=function(a){this.g.gi(a+this.l)};
g.h.Tb=function(){return(0,window.isFinite)(this.B)?this.B-this.l:this.g.Tb()-this.l};
g.h.play=function(){this.g.getCurrentTime()<this.l&&this.g.gi(this.l);return this.g.play()};
g.h.Ih=function(){var a=jD.prototype.Ih.call(this);a.view=this.l+"-"+this.B;return a};
g.h.addEventListener=function(a,b){this.g.addEventListener(a,b)};
g.h.removeEventListener=function(a,b){this.g.removeEventListener(a,b)};
g.h.vl=function(){return this.g.vl()};
g.h.pe=function(a){this.g.pe(a)};
g.h.Xl=function(){this.g.Xl()};
g.h.Pk=function(){return this.g.Pk()};
g.h.Gb=function(){return this.g.Gb()};
g.h.In=function(){this.g.In()};
g.h.Gn=function(){this.g.Gn()};
g.h.gf=function(){return this.g.gf()};
g.h.ha=function(){return this.g.ha()};
g.h.Ec=function(){return this.g.Ec()};
g.h.xl=function(a){this.g.xl(a)};
g.h.hq=function(){this.g.hq()};
g.h.Ub=function(){return this.g.Ub()};
g.h.Jd=function(a){return this.g.Jd(a)};
g.h.ep=function(){return this.g.ep()};
g.h.wl=function(a){this.g.wl(a)};
g.h.jj=function(a,b){return this.g.jj(a,b)};
g.h.Lg=function(){return this.g.Lg()};
g.h.kl=function(){return this.g.kl()};
g.h.Dg=function(){return this.g.Dg()};
g.h.ul=function(){return this.g.ul()};
g.h.Lh=function(a){this.g.Lh(a)};
g.h.Kh=function(){return this.g.Kh()};
g.h.load=function(){this.g.load()};
g.h.pause=function(){this.g.pause()};
g.h.kd=function(){return this.g.kd()};
g.h.Rk=function(){return this.g.Rk()};
g.h.jf=function(){return this.g.jf()};
g.h.Jh=function(){return this.g.Jh()};
g.h.gp=function(){return this.g.gp()};
g.h.Kg=function(){return this.g.Kg()};
g.h.hp=function(){return this.g.hp()};
g.h.ip=function(){this.g.ip()};
g.h.fp=function(){return this.g.fp()};
g.h.kj=function(){return this.g.kj()};
g.h.Bb=function(){return this.g.Bb()};
g.h.setVolume=function(a){this.g.setVolume(a)};
g.h.setAttribute=function(a,b){this.g.setAttribute(a,b)};
g.h.removeAttribute=function(a){this.g.removeAttribute(a)};
g.h.hasAttribute=function(a){return this.g.hasAttribute(a)};
g.h.yi=ba(5);g.h.Mj=ba(7);g.h.nh=ba(9);g.h.Ek=function(){this.g.Ek()};
g.h.Qi=function(a){return this.g.Qi(a)};
g.h.sd=function(){this.g.sd()};
g.h.Jn=function(a){this.g.Jn(a)};g.r(TU,g.G);TU.prototype.get=function(a){RU(this);var b=this.g.find(function(b){return b.key==a});
return b?b.value:null};
TU.prototype.set=function(a,b,c){this.remove(a,!0);RU(this);a={key:a,value:b,expire:window.Infinity};c&&(0,window.isFinite)(c)&&(c*=1E3,a.expire=g.P()+c);for(this.g.push(a);this.g.length>this.A;)c=this.g.shift(),UU(this,c,!0);SU(this)};
TU.prototype.remove=function(a,b){b=void 0===b?!1:b;var c=this.g.find(function(b){return b.key==a});
c&&(UU(this,c,b),g.ab(this.g,function(b){return b.key==a}),SU(this))};
TU.prototype.U=function(){var a=this;g.G.prototype.U.call(this);this.g.forEach(function(b){UU(a,b,!0)});
this.g=[]};g.Aa(VU);var rV=g.z("ytPlayerUtilsVideoTagPoolInstance")||VU.getInstance();g.y("ytPlayerUtilsVideoTagPoolInstance",rV,void 0);g.h=VU.prototype;g.h.Ls=function(a){if(!(this.g.length>=a)){a-=this.g.length;for(var b=0;b<a;b++)XU(this)}};
g.h.VA=function(a,b){if(this.g.length)return this.g.pop();var c=XU(this,a,b);a||g.Za(this.g,c);return c};
g.h.RK=function(a){a&&g.Va(this.l,a)&&(a.src&&(Gw&&0<a.readyState&&(a.currentTime=Math.max(Nga,0)),a.removeAttribute("src"),a.load(),a.g&&a.g.l&&iD(a,null)),Et(a),g.Za(this.l,a),g.Za(this.o,a))};
g.h.KB=function(a){return this.g.length>=(a||1)};
g.h.pA=function(){for(var a=this.o.length-1;0<=a;a--)WU(this,this.o[a]);this.g.length==this.l.length&&4<=this.g.length||(4>this.l.length?this.Ls(4):(this.g=[],(0,g.C)(this.l,function(a){WU(this,a)},this)))};
VU.prototype.fillPool=VU.prototype.Ls;VU.prototype.getTag=VU.prototype.VA;VU.prototype.releaseTag=VU.prototype.RK;VU.prototype.hasTags=VU.prototype.KB;VU.prototype.activateTags=VU.prototype.pA;g.r(YU,g.G);YU.prototype.o=function(a){this.l=a[a.length-1].intersectionRatio};
YU.prototype.U=function(){g.G.prototype.U.call(this);this.l=null;this.g&&this.g.disconnect()};var $H=[{query:window.matchMedia("(max-width: 656px)"),size:new g.vd(426,240)},{query:window.matchMedia("(max-width: 856px)"),size:new g.vd(640,360)},{query:window.matchMedia("(max-width: 999px)"),size:new g.vd(854,480)},{query:window.matchMedia("(min-width: 1720px) and (min-height: 980px)"),size:new g.vd(1280,720)},{query:window.matchMedia("(min-width: 1294px) and (min-height: 630px)"),size:new g.vd(854,480)},{query:window.matchMedia("(min-width: 1000px)"),size:new g.vd(640,360)}];g.r(ZU,g.R);g.h=ZU.prototype;g.h.IB=function(){this.G=new g.th(0,0,0,0);this.o=new g.th(0,0,0,0)};
g.h.Kl=function(a){g.eq(this.element,arguments)};
g.h.ce=function(){if(this.l){var a=this.Ba();if(!a.isEmpty()){var b=!g.wd(a,g.xh(this.o)),c=gV(this);b&&(this.o.width=a.width,this.o.height=a.height);a=this.app.g;(c||b||a.X)&&this.app.l.P("resize",this.Ba())}}};
g.h.nF=function(a,b){aV(this,b)};
g.h.JB=function(a){a.getVideoData()&&aV(this,a.getVideoData())};
g.h.Ba=function(){var a=this.app.g,b=this.app.N.isFullscreen();if(b&&zs())return new g.vd(window.outerWidth,window.outerHeight);if(b||a.Qc){if(window.matchMedia){a="(width: "+window.innerWidth+"px) and (height: "+window.innerHeight+"px)";this.C&&this.C.media==a||(this.C=window.matchMedia(a));var c=this.C&&this.C.matches}if(c)return new g.vd(window.innerWidth,window.innerHeight)}else{if(!(0,window.isNaN)(this.B.width)&&!(0,window.isNaN)(this.B.height))return this.B.clone();if(this.X&&this.Y&&!this.app.isWidescreen())for(a=
0;a<this.X.length;a++)if(b=this.X[a],b.query.matches)return new g.vd(b.size.width,b.size.height)}return new g.vd(this.element.clientWidth,this.element.clientHeight)};
g.h.qB=function(){this.l&&BM(this);fV(this)!=this.L&&this.ce()};
g.h.oF=function(){BM(this)};
g.h.U=function(){this.I&&g.Vt(this.I);$U(this);g.R.prototype.U.call(this)};hV.prototype.click=function(a){var b=a.getAttribute("data-visual-id");g.Va(this.g,a);g.Va(this.l,b);vK(this,"onLogVeClicked",{id:b})};
hV.prototype.F=function(a){g.Va(this.g,a);var b=a.getAttribute("data-visual-id");g.Za(this.g,a);g.Za(this.o,b);g.Za(this.l,b);a.removeAttribute("data-visual-id")};
hV.prototype.pause=function(){this.A=!0};
hV.prototype.resume=function(){this.A=!1;for(var a=g.p(this.B),b=a.next();!b.done;b=a.next())b=b.value,vK(this,b.type,b.data);this.B.length=0};g.r(iV,g.R);g.r(kV,g.R);g.h=kV.prototype;g.h.show=function(){g.R.prototype.show.call(this);this.Mp()};
g.h.hide=function(){g.R.prototype.hide.call(this);this.o.stop()};
g.h.stop=function(){this.o.stop()};
g.h.start=function(){this.o.isActive()||this.Mp()};
g.h.Mp=function(){var a=g.P(),b=g.W(this.l),c=this.l.getVideoData(),d=this.l.l,e=d.app.B.ha(),f=this.l.g,k=b.Wn(),l=b.la,m=8*vI(l,"bandwidth")/1024,n=vI(l,"networkactivity")/1024,q=vI(l,"bufferhealth");if(b.I){var u=b.I.g.g+"/"+dx($I(b));u=u+"/"+b.I.ze()}else u="";var w=g.ZA();d=g.fK(d).Qt;var H=c.sa&&!c.sa.g?"display:none":"",F;if((F=c.clientPlaybackNonce)&&16==F.length){for(var M=0,Z="",pa=0;10>pa;pa++)if(M=(M<<6)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_".indexOf(F.charAt(pa)),
4==pa%5){for(var $a="",sb=0;6>sb;sb++)$a="0123456789ABCDEFGHJKMNPQRSTVWXYZ".charAt(M&31)+$a,M>>=5;Z+=$a}F=Z.substr(0,4)+" "+Z.substr(4,4)+" "+(""+Z.substr(8,4))}else F="";k={video_id_and_cpn:c.videoId+" / "+F,codecs:"",dropped_frames:k.totalVideoFrames?""+(k.droppedVideoFrames||0)+"/"+k.totalVideoFrames:"-",stream_host:b.B?b.B.Ia:"",dimensions:e.clientWidth+"x"+e.clientHeight+(1<w?"*"+w:""),bandwidth_kbps:m.toFixed(0)+" Kbps",buffer_health_seconds:q.toFixed(2)+" s",drm_style:u?"":"display:none",drm:u,
host_style:H,bandwidth_style:H,network_activity_style:H,network_activity_bytes:n.toFixed(0)+" KB",shader_info:d,shader_info_style:d?"":"display:none"};m=this.l.N.Bb();f=TC(c,f);f=Math.round(m)+"% / "+Math.round(m*f)+"%";m=c.relativeLoudness.toFixed(1);(0,window.isFinite)(m)&&(f+=" (content loudness "+m+"dB)");k.volume=f;k.resolution=e.videoWidth+"x"+e.videoHeight;if(c.xa){e=c.xa.video.fps;1<e&&(k.resolution+="@"+e);(b=XI(b))&&b.video&&(k.resolution+=" / "+b.video.width+"x"+b.video.height,1<b.video.fps&&
(k.resolution+="@"+b.video.fps));k.codecs=lV(c.xa);if(b=c.Ib)b=c.xa,b=!(b.audio&&b.video);b&&(k.codecs+=" / "+lV(c.Ib));c.xa.video.l||c.xa.video.primaries?(b=c.xa.video.l||"unknown","smpte2084"==b?b+=" (PQ)":"arib-std-b67"==b&&(b+=" (HLG)"),k.color=b+" / "+(c.xa.video.primaries||"unknown"),k.color_style=""):k.color_style="display:none"}b=c.pa;k.live_latency_style=b?"":"display:none";k.live_mode_style=b?"":"display:none";if(b){b=vI(l,"livelatency");k.live_latency_secs=b.toFixed(2)+"s";e=sC(c)?"Manifestless, ":
"";f="Uncertain";if(0<=b&&120>b)if(c.latencyClass&&"UNKNOWN"!=c.latencyClass)switch(c.latencyClass){case "NORMAL":f="Optimized for Normal Latency";break;case "LOW":f="Optimized for Low Latency";break;case "ULTRALOW":f="Optimized for Ultra Low Latency";break;default:f="Unknown Latency Setting"}else f=c.isLowLatencyLiveStream?"Optimized for Low Latency":"Optimized for Smooth Streaming";k.live_mode=e+f}jV(this.A,uI(l,"bandwidth"));jV(this.F,uI(l,"networkactivity"));jV(this.C,uI(l,"livelatency"));jV(this.B,
uI(l,"bufferhealth"));this.update(k);a=25<g.P()-a?5E3:500;this.o.start(a)};g.r(mV,g.G);g.h=mV.prototype;g.h.PG=function(){pV(this)||g.GV(this,5)};
g.h.VI=function(a){pV(this)||(kW(this),g.AD(a.o)&&qW(this))};
g.h.getVideoData=function(){return this.F.getVideoData()};
g.h.Tc=function(){var a=this.A,b={};a.l&&g.Ma(b,a.l.ZC());this.A.B&&g.Ma(b,{});b.fs=this.l.isFullscreen();b.volume=Math.round(this.N.Bb());b.mos=this.N.isMuted()?1:0;if(g.S(this.g.experiments,"html5_enable_embedded_player_visibility_signals")&&this.g.g&&(this.Bc&&(a=this.Bc,a=null==a.l?null:Math.round(100*a.l)/100,null!=a&&(b.inview=a)),a=this.G.Ba(),0<a.height&&0<a.width)){a=[Math.round(a.height),Math.round(a.width)];var c=g.ZA();1<c&&a.push(c);b.size=a.join(":")}return b};
g.h.getCurrentTime=function(a){return 3==VJ(this)?g.WJ(this.A).getCurrentTime():(a=g.W(this,a))?a.getCurrentTime():0};
g.h.zC=function(a){switch(a.type){case "loadedmetadata":cC("fvb","")||this.J.g("fvb");dC("fvb");this.Ua.start();break;case "loadstart":cC("gv","")||this.J.g("gv");dC("gv");break;case "progress":case "timeupdate":!cC("l2s","")&&2<=nw(a.target.ye())&&this.J.g("l2s");break;case "playing":g.nv&&this.Ua.start();if(g.RA(this.g))a=!1;else{var b=this.A.o;a="none"==this.B.Qi("display")||0==this.B.kj().se();var c=this.F.getVideoData();var d=this.g;c=!d.deviceHasDisplay||c.Rj&&d.Xa;b=!fV(this.G)||b||c||this.g.Af;
a=a&&!b}a&&(this.F.Wa("hidden","1",!0),this.getVideoData().qf||pW(this,"hidden",!0))}};
g.h.YH=function(a,b){this.l.ma("onLoadProgress",b)};
g.h.VJ=function(){this.l.P("playbackstalledatstart")};
g.h.AC=function(a,b){this.l.ma("onVideoProgress",b)};
g.h.AH=function(){this.l.ma("onDompaused")};
g.h.xC=function(){this.N.P("progresssync")};
g.h.uC=function(a){0<FD(a,1)&&!g.U(a.state,64)&&zV(this).pa&&gJ(this.o)&&1<this.l.Ub()&&NV(this,1,!0);var b;if(b=0<FD(a,2))this.C&&(g.KA(this.g)||this.l.isFullscreen()&&!this.Ga)&&g.gW(this)?(b=g.S(this.g.experiments,"html5_player_autonav_logging"),hW(this,!1,b),b=!0):b=!1,b=!b;b&&(b=this.o.l)&&b.Ek();g.U(a.state,128)&&(b=a.state,aW(this),b=b.g,this.l.ma("onError",$W[b.errorCode]||5),this.l.ma("onDetailedError",b),6048E5<g.P()-this.g.Me&&this.l.ma("onReloadRequired"));g.zD(a.state)&&!g.CD(a.state)&&
!cC("pbresume","ad_to_video")&&cC("_start","ad_to_video")&&(b=this.getVideoData(),(0,g.eE)("cpn",b.clientPlaybackNonce,"ad_to_video"),b.videoId&&(0,g.eE)("docid",b.videoId,"ad_to_video"),b.playbackId&&(0,g.eE)("plid",b.playbackId,"ad_to_video"),(0,g.dE)("pbresume",void 0,"ad_to_video"));this.l.P("applicationplayerstatechange",a)};
g.h.Tw=function(a){3!=VJ(this)&&this.l.P("presentingplayerstatechange",a)};
g.h.wC=function(a){JV(this,DD(a.state));g.U(a.state,1024)&&this.l.app.ea&&(Dv(this,{muted:!1,volume:this.R.volume},!1),HV(this,!1))};
g.h.aJ=function(a){g.zD(a.state)&&!g.CD(a.state)&&(JQ(this.A),g.It(this.bc))};
g.h.OG=function(a){"newdata"==a&&TV(this)};
g.h.TG=function(){this.l.ma("onPlaybackAudioChange",this.l.getAudioTrack().ab.name)};
g.h.pK=function(a){var b=this.F.getVideoData();a==b&&this.l.ma("onPlaybackQualityChange",a.xa.video.quality)};
g.h.Uo=function(a,b,c){g.S(this.g.experiments,"html5_app_oauth_update_killswitch")||b!=this.o||(this.g.R=c.oauthToken);if("newdata"==a)PQ(this.A),this.l.P("videoplayerreset",b);else{if(!this.B)return;if("dataloaded"==a)if(this.F==this.o){if(b.A.tf(c.Hb),!this.o.o.isError()){var d=pV(this),e=zV(this);if(!IC(e)||d||rC(this.o.g))e.Fb(),d&&g.GV(this,6),xV(this),d||(e=this.A.B)&&!e.created&&KQ(this.A)&&this.A.B.create();else if(this.I.isBackground())KJ(this.o,"app_none_avail");else{d=e.pa&&!g.Vw()?"html5.unsupportedlive":
"fmt.noneavailable";var f=+!!e.adaptiveFormats,k=+!!e.gd,l=+(0<=e.ni.indexOf("itag=18")),m=+(0<=e.ni.indexOf("itag=43")),n=+yV('video/mp4; codecs="avc1.42001E, mp4a.40.2"'),q=+yV('video/webm; codecs="vp8.0, vorbis"');f="nosupported.1;a."+f+";d."+k+";"+("f18."+l+";c18."+n+";f43."+m+";c43."+q);e.ka&&(f+=";f133."+ +!!e.ka.g["133"]+";f140."+ +!!e.ka.g["140"]);g.LI(this.o,d,"YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK",f)}}}else xV(this);if(1==b.getPlayerType()&&(this.g.L&&tW(this),this.getVideoData().pa&&
!this.g.Yj&&g.LI(this.o,"html5.unsupportedlive","YTP_DEVICE_FALLBACK",void 0),c.Fb())){if(c.Yl||c.Oo||c.Cd.focEnabled||c.Cd.rmktEnabled||this.getVideoData().Cr)e=this.getVideoData(),WV(this,"part2viewed",1,0x8000000000000),WV(this,"engagedview",Math.max(1,1E3*e.we),0x8000000000000),e.pa||(e=1E3*e.lengthSeconds,WV(this,"videoplaytime25",.25*e,e),WV(this,"videoplaytime50",.5*e,e),WV(this,"videoplaytime75",.75*e,e),WV(this,"videoplaytime100",e,0x8000000000000),WV(this,"conversionview",e,0x8000000000000));
c.chapterMarkers.length&&Xfa(this)}this.l.P("videodatachange",a,c,b.getPlayerType())}this.g.Xa&&this.l.ma("onVideoDataChange",{type:a,playertype:b.getPlayerType()});a=c.clientScreenNonce;c=c.rootVeType;a&&c&&(b=this.T,a!=b.C&&(b.C=a,vK(b,"onScreenChanged",{csn:a,root_ve_type:c}),b.l.length&&vK(b,"onLogVesShown",{ids:b.l}),b.o=g.db(b.l)))};
g.h.tk=function(){CV(this,null);this.l.ma("onPlaylistUpdate")};
g.h.ew=function(a){var b=a.getId(),c=zV(this);if("part2viewed"==b)c.fx&&g.Is(c.fx),c.Oo&&g.Is(c.Oo);else if("conversionview"==b){var d=this.o;d.C&&YD(d.C)}else"engagedview"==b&&g.Is(c.Yl);if(c.Zl){d=c.Zl;var e={label:a.getId()};if(g.S(this.g.experiments,"send_pyv_ad_mt_and_abandon_pings")){var f=1E3*this.getCurrentTime();e.ad_mt=Math.round(Math.max(0,f)).toString()}d=g.cs(d,e);g.Is(d)}switch(b){case "videoplaytime25":c.qu&&g.Is(c.qu);c.hx&&g.Is(c.hx);break;case "videoplaytime50":c.ru&&g.Is(c.ru);
c.ix&&g.Is(c.ix);break;case "videoplaytime75":c.tu&&g.Is(c.tu);c.jx&&g.Is(c.jx);break;case "videoplaytime100":c.pu&&g.Is(c.pu),c.gx&&g.Is(c.gx)}(b=this.getVideoData().Cr)&&b[a.getId()]&&(c=b[a.getId()],g.Is(c,void 0,cv(c)||dv(c)||bv(c)),b=b[a.getId()+"gaia"],g.Is(b,void 0,cv(b)||dv(b)||bv(b)));this.o.J.B(a)};
g.h.isPeggedToLive=function(a){return gJ(this.o,void 0,void 0===a?!1:a)};
g.h.yC=function(a,b){var c=a.getVideoData();if(1==this.Z||2==this.Z)c.startSeconds=b;2==this.Z?EV(this):this.l.P("seekto",b)};
g.h.GG=function(){this.l.P("airplayactivechange")};
g.h.HG=function(){this.l.P("airplayavailabilitychange")};
g.h.YG=function(){this.l.P("beginseeking")};
g.h.FH=function(){this.l.P("endseeking")};
g.h.kJ=function(){g.gO(this,this.ia.playerType);$V(this,this.ia.playerVars,this.ia.playerType);YV(this)};
g.h.Zp=function(){var a=this.C.sb(),b=this.getVideoData();b.Bj||!this.na?(b=b.Rf,a=ZV(this,a),b&&bW(this,a)):a&&cW(this,a);this.l.ma("onPlaylistUpdate")};
g.h.MG=function(a){this.l.ma("onCueRangeEnter",a.getId())};
g.h.NG=function(a){this.l.ma("onCueRangeExit",a.getId())};
g.h.QG=function(){this.va||(this.va=LB(this.ow,this));fE(this.J,this.F.getVideoData(),KV(this));BV(this)&&this.g.g&&"embedded"==PC(zV(this),this.g)&&this.Pc&&.01>Math.random()&&Cv(this.Nb,"autoplayTriggered",{intentional:this.dd});this.Pc=!1};
g.h.RH=function(){this.N.P("internalAbandon")};
g.h.ow=function(a){a=a.g;if(!(0,window.isNaN)(a)&&0<a&&this.o){var b=this.o;b.C&&0<a&&(b.C.l.l.aft=[a])}};
g.h.sI=function(){this.Sp()};
g.h.tI=function(){this.Sp()};
g.h.Sp=function(){this.g.Xa&&this.F?this.l.ma("onApiChange",this.F.getPlayerType()):this.l.ma("onApiChange")};
g.h.qI=function(){var a={volume:g.od(Math.floor(100*this.B.Bb()),0,100),muted:this.B.ul()};a.muted||HV(this,!1);this.R=g.qc(a);this.l.ma("onVolumeChange",a)};
g.h.IH=function(){var a=g.jt(),b=g.S(this.g.experiments,"html5_media_fullscreen")&&this.B&&a==this.B.ha();oW(this,a==this.G.element||b?1:0);mW(this,!!a&&g.ee(this.G.element,a))};
g.h.isFullscreen=function(){return this.I.isFullscreen()};
g.h.yJ=function(){2!=nW(this)&&oW(this,g.jt()==this.G.element?1:0);this.g.jg&&this.getVideoData()&&!this.getVideoData().backgroundable&&this.B&&.33>window.outerHeight*window.outerWidth/(window.screen.width*window.screen.height)&&this.B.Ek()};
g.h.XH=function(a){3!=VJ(this)&&this.l.P("liveviewshift",a)};
g.h.isWidescreen=function(){return this.yb};
g.h.xJ=function(a){var b=g.uM(this.G);g.vh(this.Oc,b)||(this.Oc=b,this.F&&lJ(this.F,"r"),this.o&&this.o!=this.F&&lJ(this.o,"r"),1==nW(this)&&this.Ia&&mW(this,!0));this.ub&&g.wd(this.ub,a)||(this.l.P("appresize",a),this.ub=a)};
g.h.zc=function(){return this.N.zc()};
g.h.QJ=function(){pW(this,"signature")};
g.h.GI=function(){uV(this);tV(this)};
g.h.vJ=function(a){uJ(a,this.B.Pk())};
g.h.pH=function(){this.l.ma("CONNECTION_ISSUE")};
g.h.vC=function(a){this.l.P("heartbeatparams",a)};
g.h.LI=function(){var a=g.W(this);a&&g.MJ(a,!kK(this.l))};
g.h.aI=function(){this.l.ma("onLoadedMetadata")};
g.h.CH=function(){this.l.ma("onDrmOutputRestricted")};
g.h.U=function(){this.A.dispose();this.ia=null;this.o.dispose();uV(this);g.af(g.ec(this.dc),this.C);g.KB(this.va);this.va=0;g.G.prototype.U.call(this)};
var yX={};g.y("yt.player.Application.create",function(a,b){try{var c=g.v(a)?a:"player"+g.Ia(a);if(yX[c]){try{yX[c].dispose()}catch(e){g.N(e)}yX[c]=null}var d=new mV(a,b);g.Ze(d,function(){yX[c]=null});
return yX[c]=d}catch(e){throw g.N(e),e.stack;}},void 0);
var zX=g.z("ytcsi.tick");zX&&zX("pe");})(_yt_player);
