var _yt_player={};(function(g){var window=this;/* Copyright The Closure Library Authors. SPDX-License-Identifier: Apache-2.0 */ var ca,ea,aaa,ia,ka,pa,qa,ra,ta,ua,va,baa,caa,wa,daa,xa,ya,za,Aa,eaa,Ca,Da,Ea,Fa,Ha,Ka,La,haa,iaa,Ua,Va,Wa,jaa,kaa,laa,maa,eb,naa,nb,ob,oaa,ub,qb,paa,rb,qaa,raa,saa,zb,taa,Bb,uaa,vaa,Eb,Gb,Hb,Lb,Nb,Ob,Xb,Zb,bc,cc,gc,hc,yaa,ic,jc,kc,sc,tc,vc,Gc,Hc,Ic,Mc,Kc,Caa,Faa,Gaa,Haa,Qc,Rc,Tc,Sc,Wc,Zc,Iaa,Jaa,Yc,ad,Kaa,fd,gd,hd,id,md,od,Naa,qd,rd,vd,wd,xd,yd,zd,Ad,Bd,Dd,Fd,Gd,Id,Jd,Kd,Paa,Ld,Md,Nd,Od,Raa,Qd,Xd,Zd,be,fe,ge,le,me,pe,ne,re,te,se,Vaa,de,He,Fe,Ge,Ie,ce,Xaa,Ke,Le,Yaa,Re,Te,$aa,Ue,Ve,We,Xe,Ze,af,aba, Ye,gf,hf,df,lf,kf,cba,bf,$e,of,pf,qf,rf,tf,eba,vf,wf,fba,Bf,Df,Ff,Gf,If,Jf,Kf,Mf,Nf,gba,Pf,Rf,Sf,Of,Qf,Ef,Lf,iba,Vf,Tf,Uf,Xf,hba,Wf,ag,cg,jba,kba,lba,mba,nba,oba,pba,qba,gg,ig,fg,kg,lg,mg,ng,og,pg,qg,rg,sg,tg,rba,yg,ug,Ag,Bg,Cg,Dg,Eg,Hg,Ig,Kg,Lg,Mg,Ng,Og,Pg,Ug,Sg,Vg,sba,Wg,Xg,Yg,Zg,Tg,$g,bh,ah,ch,dh,eh,fh,gh,hh,ih,jh,kh,nh,ph,oh,qh,rh,vba,xba,yba,Aba,th,uh,vh,xh,yh,Dh,Eh,Hh,Ih,Jh,Mh,Lh,Nh,Fh,Bba,Yh,Zh,$h,Cba,ai,bi,ci,di,ei,fi,gi,Dba,hi,ii,ji,Eba,Fba,ki,mi,li,oi,pi,si,qi,Hba,ri,ti,ui,wi,vi,xi,Iba, yi,Kba,Jba,Lba,Bi,Mba,Di,Ei,Fi,Ci,Gi,Nba,Hi,Oba,Ji,Sba,Ki,Li,Mi,Ni,Tba,Pi,Ri,Ui,Xi,Zi,Wi,Vi,$i,Uba,aj,bj,cj,dj,ej,Wba,jj,kj,Yba,lj,mj,nj,oj,pj,Zba,rj,sj,tj,uj,wj,vj,$ba,aca,bca,xj,yj,zj,Aj,Cj,Dj,Ej,Fj,Gj,Bj,Hj,Ij,Jj,cca,dca,Kj,Lj,eca,Mj,Nj,fca,Pj,gca,Qj,Rj,Sj,hca,Tj,Uj,Wj,Yj,Zj,ak,bk,ck,Vj,Xj,jca,dk,ek,gk,hk,ik,jk,nca,oca,pca,kk,mk,qca,rca,sca,ok,pk,tca,qk,uca,rk,vca,sk,tk,uk,wca,vk,xk,yk,zk,Ak,Bk,Ck,Dk,Ek,xca,yca,Fk,zca,Hk,Gk,Kk,Lk,Jk,Aca,Eca,Dca,Nk,Fca,Gca,Hca,Jca,Ica,Kca,Ok,Qk,Sk,Tk,Uk,Mca,Wk, Xk,Nca,Oca,Yk,Zk,$k,al,Pca,bl,cl,Qca,dl,el,Sca,fl,gl,il,jl,ll,ml,nl,pl,ql,sl,tl,hl,ul,wl,vl,xl,yl,Al,Uca,Bl,Tca,Cl,Vca,Dl,Wca,Xca,Fl,Hl,Il,Jl,Kl,Gl,Nl,Ol,Ll,Yca,$ca,ada,Ql,Rl,Sl,Tl,bda,Ul,Vl,Wl,Xl,Yl,Zl,$l,am,dm,cm,dda,eda,em,gm,bm,fm,cda,hm,im,gda,hda,ida,jda,mm,nm,om,jm,pm,qm,fda,kda,lda,mda,tm,rm,um,wm,rda,nda,sda,Am,Bm,Cm,Dm,Em,wk,tda,Fm,Gm,uda,vda,wda,xda,yda,Im,Jm,Km,Lm,Mm,Nm,Bda,Cda,Om,Sm,Rm,Xm,Ym,$m,Fda,Zm,bn,dn,cn,Dda,gn,jn,kn,Kda,Jda,ln,mn,nn,on,pn,rn,tn,Qda,Oda,Pda,Tda,Rda,Sda,un,Uda,wn, xn,Xda,Wda,Cn,Dn,En,Yda,Kn,Ln,$da,Mn,Nn,eea,aea,Un,Vn,Wn,kea,Zn,$n,ao,bo,lea,fo,go,ho,io,ko,lo,mo,no,po,qo,to,uo,vo,oea,pea,xo,yo,zo,Co,Ao,Do,Fo,Go,Eo,qea,Jo,Mo,rea,Wo,Vo,uea,vea,Yo,ap,bp,cp,dp,xea,yea,kp,lp,mp,sp,tp,zea,vp,xp,up,Ap,Dp,Cp,Bp,Fp,Np,Mp,Jp,Cea,Bea,Zp,$p,aq,bq,cq,dq,hq,fq,iq,jq,kq,nq,mq,Dea,Fea,pq,Gea,tq,sq,Iea,uq,vq,Jea,zq,Kea,Lea,xq,Mea,Bq,Nea,Eq,Gq,Hq,Iq,Kq,Lq,Mq,Jq,Nq,Oq,Oea,Pq,Pea,Qq,Sea,Tea,Tq,Uea,Vea,Wea,Xea,Yea,Uq,Vq,Wq,$q,$ea,Zea,Zq,bfa,Xq,Yq,ar,dfa,cr,ffa,ir,hfa,lr,mr,ifa,pr, kfa,sr,rr,lfa,vr,ur,xr,yr,zr,Br,Ar,nfa,Er,Fr,Gr,Hr,Ir,Kr,Mr,Nr,Or,Lr,rfa,pfa,Pr,Sr,Tr,tfa,Qr,Rr,Vr,Xr,Yr,as,Zr,cs,bs,ds,ufa,fs,gs,bg,is,wfa,ls,ms,ns,ps,xfa,us,vs,ws,ys,yfa,Ds,Cs,xs,Es,Is,Afa,dg,Ws,Vs,Ys,Us,Xs,Zs,bt,ct,Bfa,ft,gt,ht,dt,lt,kt,mt,nt,pt,qt,rt,jt,tt,vt,wt,Dfa,xt,At,Bt,Ct,Efa,Dt,Et,Hfa,Ffa,Gfa,Ifa,Ht,Jfa,Kfa,Lfa,Mfa,It,Jt,Ofa,Ft,Gt,Nfa,Pfa,Lt,Mt,Ot,Qfa,Pt,Qt,Rt,St,Rfa,Tt,Ut,Vt,Wt,Xt,Yt,Zt,$t,au,bu,cu,du,eu,fu,gu,hu,iu,ju,Sfa,lu,mu,ku,nu,ou,pu,qu,ru,Tfa,Gu,tu,Ufa,Fu,Vfa,Ku,Lu,Mu,Nu,Ou,Pu, Ru,Su,Tu,Vu,Uu,Wu,Xfa,Xu,Zu,$u,av,bv,cv,dv,ev,fv,Yfa,gv,hv,jv,kv,iv,Zfa,lv,mv,ov,qv,$fa,rv,wv,uv,pv,xv,tv,vv,yv,zv,Av,aga,Bv,Cv,Dv,Ev,Kv,cga,Gv,Mv,Ov,Rv,Qv,Iv,Nv,Lv,dga,Sv,Uv,Vv,ega,Wv,Xv,Fv,Hv,Jv,Pv,Yv,Zv,$v,bw,aw,fga,cw,dw,ew,fw,gw,gga,iw,hw,jw,kw,lw,mw,nw,ow,pw,qw,rw,tw,uw,vw,ww,xw,yw,zw,Aw,Bw,Dw,Cw,Ew,Fw,Gw,Hw,Iw,hga,iga,Kw,Mw,Nw,Pw,Sw,Tw,Vw,oga,Ww,Xw,Yw,Zw,ax,bx,cx,dx,$w,qga,ex,fx,gx,hx,ix,rga,jx,sga,lx,tga,kx,mx,ox,px,qx,sx,uga,tx,ux,vx,wx,xx,yx,Ax,zx,Bx,vga,Cx,Dx,Ex,Fx,Gx,wga,xga,Bga,Cga,yga, zga,Aga,Hx,Ix,Dga,Kx,Lx,Mx,Ega,Nx,Px,Qx,Fga,Gga,Rx,Sx,Hga,Iga,Jga,Tx,Kga,Yx,Ux,ay,Lga,Mga,by,Nga,Oga,cy,dy,Pga,ey,fy,gy,Qga,Rga,Zx,Sga,hy,Tga,Uga,iy,Vga,Wga,jy,ky,ly,my,ny,oy,py,qy,ry,ty,sy,uy,Xga,wy,yy,zy,Ay,By,Cy,Dy,Ey,Yga,R,Fy,Gy,Hy,Iy,Jy,gz,hz,kz,lz,Uy,Zy,cz,bz,fz,oz,qz,vz,Ry,Qy,xz,az,fha,gha,hha,zz,Az,Cz,Dz,Ez,Fz,Gz,Bz,Hz,iha,Jz,Kz,lha,nha,mha,Mz,kha,jha,Lz,Nz,oha,Oz,pha,rha,qha,sha,Pz,Qz,tha,uha,vha,Rz,Sz,xha,Tz,wha,Uz,Vz,yha,zha,Wz,Yz,Zz,bA,aA,Aha,dA,eA,Cha,Dha,Eha,Fha,Gha,Hha,Iha,gA,Jha,Kha, Lha,Mha,Nha,Oha,Vha,Wha,Xha,Zha,kA,lA,$ha,nA,oA,pA,rA,sA,mA,tA,qA,vA,wA,yA,xA,zA,AA,CA,DA,EA,FA,KA,HA,LA,PA,MA,SA,QA,TA,JA,eia,UA,GA,fia,WA,ZA,YA,aB,bB,XA,cB,dB,hB,eB,iB,jia,oB,lia,tB,qB,rB,vB,kia,mia,wB,yB,zB,xB,jB,nia,BB,uB,DB,oia,FB,GB,HB,JB,KB,sB,iia,kB,hia,lB,NB,CB,pia,SB,TB,UB,VB,mB,WB,AB,pB,XB,LB,YB,nB,qia,gB,jA,iA,fA,bC,aC,cC,T,dC,fC,gC,hC,lC,kC,oC,uia,tC,uC,vC,wC,via,wia,xC,yC,zC,BC,CC,DC,xia,EC,FC,GC,HC,IC,yia,JC,KC,NC,OC,PC,QC,RC,UC,Aia,WC,XC,$C,aD,Bia,Cia,dD,fD,eD,Dia,bD,cD,Eia,Fia,Gia, Hia,Iia,gD,Jia,Kia,hD,iD,jD,nD,mD,pD,kD,qD,rD,sD,lD,tD,oD,uD,vD,xD,wD,yD,zD,Oia,AD,BD,CD,Pia,ID,JD,HD,LD,FD,KD,DD,Qia,ND,MD,OD,Ria,PD,ED,Sia,QD,RD,SD,TD,UD,VD,WD,XD,dE,$D,Tia,fE,gE,aE,bE,ZD,cE,YD,eE,kE,jE,iE,mE,nE,oE,pE,rE,qE,sE,tE,uE,yE,AE,BE,CE,DE,FE,GE,zE,wE,vE,xE,HE,IE,JE,KE,EE,LE,ME,NE,OE,QE,PE,Via,RE,SE,TE,UE,VE,Yia,Xia,XE,YE,WE,ZE,$E,aF,Zia,bja,cja,dja,gF,hF,eja,iF,fja,cF,bF,$ia,jF,dF,eF,aja,fF,gja,hja,kF,lF,ija,mF,jja,qF,nF,pF,oF,kja,lja,sF,mja,rF,tF,uF,vF,wF,xF,yF,zF,AF,pja,oja,nja,qja,BF, rja,Lia,Mia,sja,EF,uja,FF,GF,HF,JF,LF,NF,OF,QF,wja,yja,zja,Aja,PF,SF,TF,Bja,UF,YF,Cja,XF,$F,aG,WF,ZF,CF,tja,VF,MF,vja,Dja,DF,bG,KF,IF,cG,Eja,dG,Fja,eG,fG,Gja,gG,hG,iG,Hja,jG,kG,lG,mG,nG,Ija,Jja,oG,Kja,Lja,pG,rG,Nja,Mja,Oja,tG,Pja,uG,vG,sG,Rja,wG,xG,yG,Sja,zG,DG,EG,qG,FG,Tja,GG,HG,KG,NG,OG,Vja,Uja,LG,QG,MG,PG,JG,RG,Wja,Xja,SG,UG,TG,WG,Yja,Zja,YG,ZG,aH,XG,$ja,$G,bH,cH,aka,eH,gH,iH,hH,jH,kH,fH,dH,bka,lH,nH,oH,mH,pH,cka,qH,sH,wH,vH,xH,zH,yH,uH,dka,EH,fka,GH,IH,JH,KH,BH,HH,LH,CH,hka,MH,NH,DH,OH,FH,gka, ika,AH,eka,PH,jka,RH,kka,lka,mka,oka,SH,nka,TH,VH,WH,XH,pka,ZH,aI,dI,cI,eI,qka,hI,iI,fI,$H,jI,kI,mI,nI,oI,pI,ska,qI,rI,sI,tI,tka,vI,uI,xI,wI,yI,zI,AI,BI,yka,EI,GI,HI,FI,II,LI,NI,MI,OI,KI,zka,JI,QI,Aka,Bka,SI,TI,UI,VI,WI,PI,bI,lI,YI,$I,aJ,bJ,ZI,Cka,cJ,dJ,Dka,eJ,fJ,gJ,hJ,iJ,jJ,kJ,lJ,mJ,nJ,oJ,pJ,qJ,rJ,Eka,Fka,sJ,tJ,Gka,uJ,vJ,wJ,xJ,Hka,yJ,zJ,AJ,Ika,Kka,Jka,Lka,BJ,Mka,CJ,HJ,GJ,EJ,Nka,Oka,KJ,LJ,MJ,NJ,OJ,QJ,PJ,RJ,SJ,Qka,Uka,Rka,Ska,Tka,WJ,Wka,VJ,Xka,aK,ZJ,bK,cK,dK,eK,Zka,$ka,bla,fK,mK,jK,YJ,hK,rK,pK,vK, nK,yK,xK,DK,sK,CK,HK,FK,JK,LK,Yka,lK,zK,RK,ela,TK,QK,fla,UK,VK,XK,YK,gla,SK,PK,WK,MK,OK,$K,iK,wK,bL,aL,dL,cL,ZK,hla,GK,kK,fL,gK,BK,ila,gL,NK,iL,jL,kL,lL,eL,oK,mL,IK,AK,KK,ala,nL,qL,GL,HL,lla,YL,bM,nla,gM,mla,hM,ola,dM,iM,jM,kM,lM,iC,mM,FL,oM,qM,sM,rM,qla,rla,sla,vM,tla,BM,zM,xM,yM,uM,wM,AM,CM,vla,ula,DM,IM,GM,JM,HM,OM,wla,QM,SM,xla,TM,XM,yla,YM,$M,aN,ZM,cN,dN,eN,fN,jla,kla,gN,hN,jN,mN,nN,oN,qN,rN,tN,vN,wN,xN,zN,AN,BN,CN,FN,GN,HN,IN,JN,KN,LN,MN,ON,NN,QN,SN,VN,WN,YN,ZN,$N,cO,dO,eO,iO,lO,mO,pO,rO,sO, tO,uO,yO,wO,vO,xO,zO,AO,BO,CO,FO,DO,JO,KO,LO,HO,MO,NO,OO,PO,QO,RO,SO,TO,VO,WO,$O,bP,cP,dP,YO,eP,XO,iP,lP,mP,aP,hP,kP,jP,gP,ZO,fP,oP,pP,rP,sP,tP,xP,zP,AP,Cla,EP,GP,HP,KP,LP,Dla,JP,OP,PP,QP,RP,TP,SP,UP,VP,WP,XP,ZP,aQ,$P,YP,bQ,dQ,cQ,fQ,gQ,Ela,iQ,hQ,jQ,Fla,kQ,lQ,pQ,oQ,nQ,rQ,sQ,uQ,tQ,vQ,xQ,AQ,Hla,Ila,BQ,CQ,DQ,FQ,EQ,HQ,IQ,GQ,KQ,MQ,NQ,OQ,Kla,PQ,QQ,Jla,RQ,SQ,UQ,TQ,VQ,Mla,ZQ,$Q,XQ,bR,cR,dR,fR,gR,eR,hR,jR,lR,mR,nR,oR,rR,tR,uR,wR,Nla,zR,xR,AR,Ola,CR,DR,ER,FR,GR,HR,IR,JR,KR,LR,OR,Pla,QR,PR,SR,UR,VR,qO,aS,BR, WR,cS,$R,GO,ZR,dS,eS,Qla,Rla,fS,iS,gS,jS,kS,lS,mS,nS,qS,Ula,tS,Tla,uS,pS,vS,xS,wS,sS,xja,rS,zS,Wla,BS,Xla,FS,CS,HS,IS,JS,yS,LS,DS,MS,KS,GS,PS,OS,AS,Zla,QS,SS,$la,RS,TS,bma,VS,WS,XS,dT,ima,dma,sR,cma,gT,iT,jT,VL,mT,jma,kT,WL,cT,qT,rT,tT,uT,wT,gma,hma,BT,AT,zT,fT,FT,GT,eT,HT,IT,kma,sL,JT,LT,yT,xT,OT,PT,oT,QT,ES,ET,EM,NS,ST,TT,NT,MT,WT,IL,ZT,eC,$T,DT,aU,cU,pT,lT,RT,dU,eU,fU,gU,fma,KT,YS,hU,ema,iU,jU,WM,kU,lU,oma,mU,pma,qma,nU,oU,rma,qU,rU,sU,tU,tma,uU,wU,vU,xU,yU,uma,vma,zU,DU,CU,AU,BU,wma,EU,FU,xma, yma,GU,zma,Bma,Ama,HU,IU,Cma,JU,KU,LU,MU,NU,OU,PU,QU,RU,SU,Dma,TU,UU,VU,WU,YU,ZU,Gma,Hma,$U,XU,aV,bV,Jma,Ema,cV,Fma,Kma,dV,fV,Lma,gV,hV,iV,jV,lV,kV,nV,mV,oV,pV,Mma,qV,wV,AV,BV,Nma,sV,vV,xV,uV,zV,yV,EV,CV,DV,FV,tV,rV,GV,Oma,HV,IV,KV,LV,JV,MV,NV,OV,PV,QV,Pma,RV,SV,TV,UV,VV,WV,XV,YV,Qma,ZV,$V,aW,bW,cW,dW,eW,fW,gW,hW,iW,jW,kW,lW,mW,nW,oW,pW,qW,rW,sW,tW,Rma,uW,Uma,Sma,Tma,Vma,vW,wW,yW,zW,xW,AW,BW,Wma,Xma,CW,DW,EW,FW,Zma,ana,$ma,Yma,HW,GW,IW,bna,JW,KW,LW,MW,NW,OW,PW,QW,RW,SW,TW,UW,VW,WW,XW,cna,ZW,ena,$W, fna,gna,bX,hna,cX,dX,ina,jna,eX,kna,mna,nna,ona,pna,gX,fX,lna,hX,qna,rna,sna,iX,jX,kX,lX,una,vna,wna,nX,xna,yna,oX,zna,Ana,Bna,pX,Cna,Dna,qX,Fna,Ena,rX,sX,Gna,tX,uX,Hna,Ina,Jna,Y,vX,Kna,Lna,wX,xX,yX,zX,BX,CX,Nna,Mna,DX,EX,Pna,Ona,FX,Qna,GX,HX,IX,Tna,JX,Wna,Vna,KX,Xna,LX,MX,NX,Yna,$na,OX,aoa,PX,boa,coa,eoa,doa,foa,goa,hoa,ioa,joa,koa,loa,moa,QX,RX,noa,ooa,poa,SX,qoa,roa,toa,uoa,voa,woa,xoa,XX,yoa,WX,zoa,ZX,Aoa,Coa,Boa,aY,Doa,$X,Goa,Eoa,Ioa,Foa,bY,Loa,cY,Koa,Moa,dY,Ooa,Poa,mX,Hoa,tna,Noa,eY,Joa,fY, gY,hY,iY,Qoa,jY,kY,lY,mY,nY,oY,pY,qY,rY,Soa,Toa,Voa,Uoa,Xoa,sY,Yoa,tY,uY,Zoa,vY,$oa,apa,bpa,dpa,cpa,epa,fpa,gpa,wY,hpa,xY,yY,lpa,ipa,kpa,jpa,zY,AY,mpa,BY,CY,npa,opa,ppa,qpa,DY,rpa,spa,EY,vpa,upa,wpa,xpa,FY,GY,ypa,zpa,Apa,JY,Bpa,Cpa,Dpa,Epa,KY,IY,Fpa,MY,Gpa,NY,OY,PY,QY,RY,SY,TY,UY,Hpa,VY,Ipa,WY,XY,YY,Jpa,ZY,$Y,aZ,bZ,cZ,Kpa,Mpa,Lpa,Npa,dZ,Opa,Ppa,eZ,Qpa,fZ,gZ,hZ,Rpa,Spa,Tpa,iZ,jZ,lZ,kZ,mZ,nZ,Upa,oZ,pZ,Wpa,qZ,Zpa,$pa,aqa,Ypa,rZ,bqa,tZ,cqa,dqa,uZ,vZ,wZ,eqa,xZ,fqa,yZ,AZ,hqa,iqa,BZ,CZ,jqa,DZ,EZ,kqa,FZ, GZ,HZ,IZ,JZ,KZ,LZ,MZ,NZ,mqa,lqa,OZ,nqa,PZ,QZ,RZ,SZ,pqa,UZ,VZ,qqa,XZ,TZ,WZ,sqa,uqa,ZZ,$Z,zqa,a_,Aqa,c_,Bqa,f_,Dqa,h_,j_,i_,Eqa,Fqa,Gqa,Hqa,Jqa,Iqa,g_,Cqa,p_,m_,q_,l_,r_,n_,b_,Kqa,k_,e_,s_,t_,u_,o_,d_,Mqa,v_,Oqa,Nqa,w_,Z,x_,y_,Rqa,z_,Tqa,A_,B_,Uqa,C_,D_,Vqa,E_,Wqa,F_,Xqa,G_,YW,H_,I_,J_,Zqa,aX,rqa,YX,Yqa,$qa,L_,K_,ara,M_,N_,O_,P_,Q_,R_,S_,T_,U_,V_,W_,X_,Y_,Z_,$_,a0,b0,c0,d0,e0,f0,g0,h0,Pqa,bra,i0,j0,k0,l0,m0,n0,era,fra,o0,p0,q0,r0,gra,hra,ira,s0,t0,jra,u0,mra,v0,lra,nra,kra,ora,pra,tra,qra,sra,w0,x0, y0,z0,Qqa,A0,B0,C0,D0,E0,F0,G0,H0,I0,vra,J0,wra,K0,L0,M0,N0,O0,xra,P0,Q0,R0,S0,T0,yra,zra,U0,V0,W0,X0,rra,ura,Ara,Y0,Bra,Dra,Fra,Gra,Hra,Ira,Cra,Era,Z0,$0,Jra,a1,Kra,dna,b1,Lra,dra,d1,e1,Mra,cra,f1,c1,Ora,g1,Qra,Rra,h1,Sra,Tra,i1,j1,k1,Wra,Vra,Ura,Xra,l1,Yra,m1,Pra,Zra,$ra,asa,bsa,csa,dsa,esa,fsa,o1,p1,gsa,q1,hsa,r1,s1,t1,u1,isa,jsa,ksa,lsa,msa,nsa,osa,qsa,psa,w1,Sqa,rsa,ssa,vsa,xsa,A1,B1,aa,ha,fa,faa,ed,Pa,gaa;ca=function(a){return function(){return aa[a].apply(this,arguments)}}; g.da=function(a,b){return aa[a]=b}; ea=function(a){var b=0;return function(){return bb?null:"string"===typeof a?a.charAt(b):a[b]}; g.Ya=function(a,b,c){for(var d=a.length,e="string"===typeof a?a.split(""):a,f=0;f=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)}; oaa=function(a){for(var b={},c=0,d=0;d>>1),n;c?n=b.call(e,a[m],m,a):n=b(d,a[m]);0b?1:ac&&g.pb(a,-(c+1),0,b)}; g.yb=function(a,b,c){var d={};(0,g.y)(a,function(e,f){d[b.call(c,e,f,a)]=e}); return d}; raa=function(a){for(var b=[],c=0;c")&&(a=a.replace(oc,">"));-1!=a.indexOf('"')&&(a=a.replace(pc,"""));-1!=a.indexOf("'")&&(a=a.replace(qc,"'"));-1!=a.indexOf("\x00")&&(a=a.replace(rc,"�"))}return a}; tc=function(a,b){return-1!=a.toLowerCase().indexOf(b.toLowerCase())}; g.wc=function(a,b){for(var c=0,d=uc(String(a)).split("."),e=uc(String(b)).split("."),f=Math.max(d.length,e.length),k=0;0==c&&kb?1:0}; g.zc=function(a,b){this.u=a===xc&&b||"";this.A=yc}; g.Ac=function(a){return a instanceof g.zc&&a.constructor===g.zc&&a.A===yc?a.u:"type_error:SafeUrl"}; g.Dc=function(a){a instanceof g.zc||(a="object"==typeof a&&a.Zg?a.Pe():String(a),a=Bc.test(a)?new g.zc(xc,a):null);return a||Cc}; g.Ec=function(a,b){if(a instanceof g.zc)return a;a="object"==typeof a&&a.Zg?a.Pe():String(a);if(b&&/^data:/i.test(a)){var c=String(a);c=c.replace(/(%0A|%0D)/g,"");var d=c.match(Aaa);c=(d&&Baa.test(d[1])?new g.zc(xc,c):null)||Cc;if(c.Pe()==a)return c}Bc.test(a)||(a="about:invalid#zClosurez");return new g.zc(xc,a)}; Gc=function(){this.o="";this.u=Fc}; Hc=function(a){return a instanceof Gc&&a.constructor===Gc&&a.u===Fc?a.o:"type_error:SafeStyle"}; Ic=function(a){var b=new Gc;b.o=a;return b}; Mc=function(a){var b="",c;for(c in a){if(!/^[-_a-zA-Z0-9]+$/.test(c))throw Error("Name allows only [-_a-zA-Z0-9], got: "+c);var d=a[c];null!=d&&(d=Array.isArray(d)?(0,g.Jc)(d,Kc).join(" "):Kc(d),b+=c+":"+d+";")}return b?Ic(b):Lc}; Kc=function(a){if(a instanceof g.zc)return'url("'+g.Ac(a).replace(/>>0;return b}; g.nd=function(a){var b=Number(a);return 0==b&&g.lc(a)?NaN:b}; od=function(a){return String(a).replace(/\-([a-z])/g,function(b,c){return c.toUpperCase()})}; g.pd=function(a){return String(a).replace(/([A-Z])/g,"-$1").toLowerCase()}; Naa=function(a){return a.replace(RegExp("(^|[\\s]+)([a-z])","g"),function(b,c,d){return c+d.toUpperCase()})}; qd=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}; rd=function(a){return a?decodeURI(a):a}; g.td=function(a,b){return b.match(sd)[a]||null}; g.ud=function(a){return rd(g.td(3,a))}; vd=function(a){a=a.match(sd);return qd(null,null,null,null,a[5],a[6],a[7])}; wd=function(a,b){if(a)for(var c=a.split("&"),d=0;db&&(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)]}; yd=function(a,b){return b?a?a+"&"+b:b:a}; zd=function(a,b){if(!b)return a;var c=xd(a);c[1]=yd(c[1],b);return c[0]+(c[1]?"?"+c[1]:"")+c[2]}; Ad=function(a,b,c){if(Array.isArray(b))for(var d=0;dd)return null;var e=a.indexOf("&",d);if(0>e||e>c)e=c;d+=b.length+1;return id(a.substr(d,e-d))}; Jd=function(a,b){for(var c=a.search(Hd),d=0,e,f=[];0<=(e=Gd(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(Oaa,"$1")}; Kd=function(a,b,c){return Fd(Jd(a,b),b,c)}; Paa=function(a,b){var c=xd(a),d=c[1],e=[];d&&(0,g.y)(d.split("&"),function(f){var k=f.indexOf("=");b.hasOwnProperty(0<=k?f.substr(0,k):f)||e.push(f)}); c[1]=yd(e.join("&"),g.Cd(b));return c[0]+(c[1]?"?"+c[1]:"")+c[2]}; Ld=function(){return Qc("iPhone")&&!Qc("iPod")&&!Qc("iPad")}; Md=function(){return Ld()||Qc("iPad")||Qc("iPod")}; Nd=function(a){Nd[" "](a);return a}; Od=function(a,b){try{return Nd(a[b]),!0}catch(c){}return!1}; Raa=function(a,b){var c=Qaa;return Object.prototype.hasOwnProperty.call(c,a)?c[a]:c[a]=b(a)}; Qd=function(){var a=g.v.document;return a?a.documentMode:void 0}; g.Sd=function(a){return Raa(a,function(){return 0<=g.wc(Rd,a)})}; g.Td=function(a){return Number(Saa)>=a}; g.Ud=function(a,b,c){return Math.min(Math.max(a,b),c)}; g.Vd=function(a,b){var c=a%b;return 0>c*b?c+b:c}; g.Wd=function(a,b,c){return a+c*(b-a)}; Xd=function(a,b){return 1E-6>=Math.abs(a-b)}; g.Yd=function(a,b){this.x=void 0!==a?a:0;this.y=void 0!==b?b:0}; Zd=function(a,b){return a==b?!0:a&&b?a.x==b.x&&a.y==b.y:!1}; g.$d=function(a,b){this.width=a;this.height=b}; g.ae=function(a,b){return a==b?!0:a&&b?a.width==b.width&&a.height==b.height:!1}; be=function(a){return a.width*a.height}; fe=function(a){return a?new ce(de(a)):ee||(ee=new ce)}; ge=function(a,b){return"string"===typeof b?a.getElementById(b):b}; g.ie=function(a,b){var c=b||document;return c.querySelectorAll&&c.querySelector?c.querySelectorAll("."+a):g.he(document,"*",a,b)}; g.je=function(a,b){var c=b||document;if(c.getElementsByClassName)c=c.getElementsByClassName(a)[0];else{c=document;var d=b||c;c=d.querySelectorAll&&d.querySelector&&a?d.querySelector(a?"."+a:""):g.he(c,"*",a,b)[0]||null}return c||null}; g.he=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.cb(b.split(/\s+/),c)&&(d[e++]=k);d.length=e;return d}return a}; le=function(a,b){g.Cb(b,function(c,d){c&&"object"==typeof c&&c.Zg&&(c=c.Pe());"style"==d?a.style.cssText=c:"class"==d?a.className=c:"for"==d?a.htmlFor=c:ke.hasOwnProperty(d)?a.setAttribute(ke[d],c):jc(d,"aria-")||jc(d,"data-")?a.setAttribute(d,c):a[d]=c})}; me=function(a){a=a.document;a="CSS1Compat"==a.compatMode?a.documentElement:a.body;return new g.$d(a.clientWidth,a.clientHeight)}; pe=function(a){var b=ne(a);a=a.parentWindow||a.defaultView;return g.oe&&g.Sd("10")&&a.pageYOffset!=b.scrollTop?new g.Yd(b.scrollLeft,b.scrollTop):new g.Yd(a.pageXOffset||b.scrollLeft,a.pageYOffset||b.scrollTop)}; ne=function(a){return a.scrollingElement?a.scrollingElement:g.qe||"CSS1Compat"!=a.compatMode?a.body||a.documentElement:a.documentElement}; re=function(a){return a?a.parentWindow||a.defaultView:window}; g.ue=function(a,b,c){var d=arguments,e=document,f=String(d[0]),k=d[1];if(!Taa&&k&&(k.name||k.type)){f=["<",f];k.name&&f.push(' name="',g.jd(k.name),'"');if(k.type){f.push(' type="',g.jd(k.type),'"');var l={};g.Wb(l,k);delete l.type;k=l}f.push(">");f=f.join("")}f=se(e,f);k&&("string"===typeof k?f.className=k:Array.isArray(k)?f.className=k.join(" "):le(f,k));2a}; g.Je=function(a,b,c,d){if(!b&&!c)return null;var e=b?String(b).toUpperCase():null;return Ie(a,function(f){return(!e||f.nodeName==e)&&(!c||"string"===typeof f.className&&g.cb(f.className.split(/\s+/),c))},!0,d)}; Ie=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}; ce=function(a){this.o=a||g.v.document||document}; Xaa=function(a){this.vx=a}; Ke=function(a,b,c){this.B=a;this.u=b;this.o=c||[];this.Yj=new Map}; Le=function(a,b){Ke.call(this,a,3,b)}; g.z=function(){this.Lb=this.Lb;this.Aj=this.Aj}; g.A=function(a,b){g.Me(a,g.Ra(g.Ne,b))}; g.Me=function(a,b){a.Lb?b():(a.Aj||(a.Aj=[]),a.Aj.push(b))}; g.Ne=function(a){a&&"function"==typeof a.dispose&&a.dispose()}; g.Oe=function(a){for(var b=0,c=arguments.length;bc.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.o&&0<=k;k--){d.currentTarget=c[k];var l=lf(c[k],f,!0,d);e=e&&l}for(k=0;!d.o&&ka.u&&(a.u++,b.next=a.o,a.o=b)}; rf=function(a){g.v.setTimeout(function(){throw a;},0)}; tf=function(a,b){var c=a;b&&(c=(0,g.x)(a,b));c=dba(c);!g.Na(g.v.setImmediate)||g.v.Window&&g.v.Window.prototype&&!Qc("Edge")&&g.v.Window.prototype.setImmediate==g.v.setImmediate?(sf||(sf=eba()),sf(c)):g.v.setImmediate(c)}; eba=function(){var a=g.v.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!Qc("Presto")&&(a=function(){var e=g.ve("IFRAME");e.style.display="none";document.documentElement.appendChild(e);var f=e.contentWindow;e=f.document;e.open();e.close();var k="callImmediate"+Math.random(),l="file:"==f.location.protocol?"*":f.location.protocol+"//"+f.location.host;e=(0,g.x)(function(m){if(("*"==l||m.origin==l)&&m.data==k)this.port1.onmessage()},this); f.addEventListener("message",e,!1);this.port1={};this.port2={postMessage:function(){f.postMessage(k,l)}}}); if("undefined"!==typeof a&&!Qc("Trident")&&!Qc("MSIE")){var b=new a,c={},d=c;b.port1.onmessage=function(){if(void 0!==c.next){c=c.next;var e=c.rx;c.rx=null;e()}}; return function(e){d.next={rx:e};d=d.next;b.port2.postMessage(0)}}return function(e){g.v.setTimeout(e,0)}}; vf=function(){this.u=this.o=null}; wf=function(){this.next=this.scope=this.Rg=null}; g.Af=function(a,b){xf||fba();yf||(xf(),yf=!0);zf.add(a,b)}; fba=function(){if(g.v.Promise&&g.v.Promise.resolve){var a=g.v.Promise.resolve(void 0);xf=function(){a.then(Bf)}}else xf=function(){tf(Bf)}}; Bf=function(){for(var a;a=zf.remove();){try{a.Rg.call(a.scope)}catch(b){rf(b)}qf(Cf,a)}yf=!1}; Df=function(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(b){return!1}}; Ff=function(a){this.o=0;this.G=void 0;this.B=this.u=this.A=null;this.C=this.F=!1;if(a!=g.Ja)try{var b=this;a.call(void 0,function(c){Ef(b,2,c)},function(c){Ef(b,3,c)})}catch(c){Ef(this,3,c)}}; Gf=function(){this.next=this.context=this.onRejected=this.A=this.o=null;this.u=!1}; If=function(a,b,c){var d=Hf.get();d.A=a;d.onRejected=b;d.context=c;return d}; Jf=function(a){if(a instanceof Ff)return a;var b=new Ff(g.Ja);Ef(b,2,a);return b}; Kf=function(a){return new Ff(function(b,c){c(a)})}; Mf=function(a,b,c){Lf(a,b,c,null)||g.Af(g.Ra(b,a))}; Nf=function(a){return new Ff(function(b,c){a.length||b(void 0);for(var d=0,e;de)b[d++]=String.fromCharCode(e);else if(191e){var f=a[c++];b[d++]=String.fromCharCode((e&31)<<6|f&63)}else if(239e){f=a[c++];var k=a[c++],l=a[c++];e=((e&7)<<18|(f&63)<<12|(k&63)<<6|l&63)-65536;b[d++]=String.fromCharCode(55296+(e>>10));b[d++]=String.fromCharCode(56320+(e&1023))}else f=a[c++],k=a[c++],b[d++]=String.fromCharCode((e&15)<<12|(f&63)<<6|k&63)}return b.join("")}; gg=function(a,b,c){this.u=null;this.o=this.A=this.B=0;this.C=!1;a&&fg(this,a,b,c)}; ig=function(a,b,c){if(hg.length){var d=hg.pop();a&&fg(d,a,b,c);return d}return new gg(a,b,c)}; fg=function(a,b,c,d){b=b.constructor===Uint8Array?b:b.constructor===ArrayBuffer?new Uint8Array(b):b.constructor===Array?new Uint8Array(b):b.constructor===String?g.jg(b):new Uint8Array(0);a.u=b;a.B=void 0!==c?c:0;a.A=void 0!==d?a.B+d:a.u.length;a.o=a.B}; kg=function(a){for(var b=128,c=0,d=0,e=0;4>e&&128<=b;e++)b=a.u[a.o++],c|=(b&127)<<7*e;128<=b&&(b=a.u[a.o++],c|=(b&127)<<28,d|=(b&127)>>4);if(128<=b)for(e=0;5>e&&128<=b;e++)b=a.u[a.o++],d|=(b&127)<<7*e+3;if(128>b){a=c>>>0;b=d>>>0;if(d=b&2147483648)a=~a+1>>>0,b=~b>>>0,0==a&&(b=b+1>>>0);a=4294967296*b+(a>>>0);return d?-a:a}a.C=!0}; lg=function(a){var b=a.u;var c=b[a.o+0];var d=c&127;if(128>c)return a.o+=1,d;c=b[a.o+1];d|=(c&127)<<7;if(128>c)return a.o+=2,d;c=b[a.o+2];d|=(c&127)<<14;if(128>c)return a.o+=3,d;c=b[a.o+3];d|=(c&127)<<21;if(128>c)return a.o+=4,d;c=b[a.o+4];d|=(c&15)<<28;if(128>c)return a.o+=5,d>>>0;a.o+=5;128<=b[a.o++]&&128<=b[a.o++]&&128<=b[a.o++]&&128<=b[a.o++]&&a.o++;return d}; mg=function(a){this.o=ig(a,void 0,void 0);this.C=this.o.o;this.u=this.A=-1;this.B=!1}; ng=function(a){var b=a.o;(b=b.o==b.A)||(b=a.B)||(b=a.o,b=b.C||0>b.o||b.o>b.A);if(b)return!1;a.C=a.o.o;b=lg(a.o);var c=b&7;if(0!=c&&5!=c&&1!=c&&2!=c&&3!=c&&4!=c)return a.B=!0,!1;a.A=b>>>3;a.u=c;return!0}; og=function(a){switch(a.u){case 0:if(0!=a.u)og(a);else{for(a=a.o;a.u[a.o]&128;)a.o++;a.o++}break;case 1:1!=a.u?og(a):(a=a.o,a.o+=8);break;case 2:if(2!=a.u)og(a);else{var b=lg(a.o);a=a.o;a.o+=b}break;case 5:5!=a.u?og(a):(a=a.o,a.o+=4);break;case 3:b=a.A;do{if(!ng(a)){a.B=!0;break}if(4==a.u){a.A!=b&&(a.B=!0);break}og(a)}while(1);break;default:a.B=!0}}; pg=function(a){var b=lg(a.o);a=a.o;var c=a.u,d=a.o,e=d+b;b=[];for(var f="";dk)b.push(k);else if(192>k)continue;else if(224>k){var l=c[d++];b.push((k&31)<<6|l&63)}else if(240>k){l=c[d++];var m=c[d++];b.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;b.push((k>>10&1023)+55296,(k&1023)+56320)}8192<=b.length&&(f+=String.fromCharCode.apply(null,b),b.length=0)}c=f;if(8192>=b.length)b=String.fromCharCode.apply(null, b);else{e="";for(f=0;fb||a.o+b>a.u.length)a.C=!0,b=new Uint8Array(0);else{var c=a.u.subarray(a.o,a.o+b);a.o+=b;b=c}return b}; rg=function(){this.o=[]}; sg=function(a,b){for(;127>>=7;a.o.push(b)}; tg=function(a,b){a.o.push(b>>>0&255);a.o.push(b>>>8&255);a.o.push(b>>>16&255);a.o.push(b>>>24&255)}; g.wg=function(a,b){void 0===b&&(b=0);ug();for(var c=vg[b],d=[],e=0;e>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("")}; g.xg=function(a){for(var b=[],c=0,d=0;d>=8);b[c++]=e}return g.wg(b,3)}; rba=function(a){var b=[];yg(a,function(c){b.push(c)}); return b}; g.jg=function(a){!g.oe||g.Sd("10");var b=a.length,c=3*b/4;c%3?c=Math.floor(c):-1!="=.".indexOf(a[b-1])&&(c=-1!="=.".indexOf(a[b-2])?c-2:c-1);var d=new Uint8Array(c),e=0;yg(a,function(f){d[e++]=f}); return d.subarray(0,e)}; yg=function(a,b){function c(m){for(;d>4);64!=k&&(b(f<<4&240|k>>2),64!=l&&b(k<<6&192|l))}}; ug=function(){if(!zg){zg={};for(var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),b=["+/=","+/","-_=","-_.","-_"],c=0;5>c;c++){var d=a.concat(b[c].split(""));vg[c]=d;for(var e=0;e>>=7,a.u++;b.push(c);a.u++}; Dg=function(a){for(var b=new Uint8Array(a.u+a.o.length()),c=a.A,d=c.length,e=0,f=0;fb;b++)a.o.push(c&127|128),c>>=7;a.o.push(1)}}; Hg=function(a,b,c){if(null!=c&&null!=c){sg(a.o,8*b);a=a.o;var d=c;c=0>d;d=Math.abs(d);b=d>>>0;d=Math.floor((d-b)/4294967296);d>>>=0;c&&(d=~d>>>0,b=(~b>>>0)+1,4294967295>>7|b<<25)>>>0,b>>>=7;a.o.push(c)}}; Ig=function(a,b,c){null!=c&&(sg(a.o,8*b+1),a=a.o,b=c>>>0,c=Math.floor((c-b)/4294967296)>>>0,Fg=b,Gg=c,tg(a,Fg),tg(a,Gg))}; Kg=function(a,b,c){if(null!=c){sg(a.o,8*b+1);a=a.o;var d=c;d=(c=0>d?1:0)?-d:d;if(0===d)Gg=0<1/d?0:2147483648,Fg=0;else if(isNaN(d))Gg=2147483647,Fg=4294967295;else if(1.7976931348623157E308>>0,Fg=0;else if(2.2250738585072014E-308>d)d/=Math.pow(2,-1074),Gg=(c<<31|d/4294967296)>>>0,Fg=d>>>0;else{var e=d;b=0;if(2<=e)for(;2<=e&&1023>b;)b++,e/=2;else for(;1>e&&-1022>>0;Fg=4503599627370496*d>>>0}tg(a,Fg);tg(a, Gg)}}; Lg=function(a,b,c){null!=c&&(sg(a.o,8*b),a.o.o.push(c?1:0))}; Mg=function(a,b,c){if(null!=c){b=Bg(a,b);for(var d=a.o,e=0;ef)d.o.push(f);else if(2048>f)d.o.push(f>>6|192),d.o.push(f&63|128);else if(65536>f)if(55296<=f&&56319>=f&&e+1=k&&(f=1024*(f-55296)+k-56320+65536,d.o.push(f>>18|240),d.o.push(f>>12&63|128),d.o.push(f>>6&63|128),d.o.push(f&63|128),e++)}else d.o.push(f>>12|224),d.o.push(f>>6&63|128),d.o.push(f&63|128)}Cg(a,b)}}; Ng=function(a,b,c,d){null!=c&&(b=Bg(a,b),d(c,a),Cg(a,b))}; Og=function(a,b,c,d){if(null!=c)for(var e=0;ea&&b.setFullYear(b.getFullYear()-1900);return b}; kh=function(a,b){a.getDate()!=b&&a.date.setUTCHours(a.date.getUTCHours()+(a.getDate()a.clientWidth||a.scrollHeight>a.clientHeight||"fixed"==c||"absolute"==c||"relative"==c))return a;return null}; g.Kh=function(a){var b=de(a),c=new g.Yd(0,0);var d=b?de(b):document;d=!g.oe||g.Td(9)||"CSS1Compat"==fe(d).o.compatMode?d.documentElement:d.body;if(a==d)return c;a=Ih(a);b=pe(fe(b).o);c.x=a.left+b.x;c.y=a.top+b.y;return c}; Mh=function(a,b){var c=new g.Yd(0,0),d=re(de(a));if(!Od(d,"parent"))return c;var e=a;do{var f=d==b?g.Kh(e):Lh(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.Oh=function(a,b){var c=Nh(a),d=Nh(b);return new g.Yd(c.x-d.x,c.y-d.y)}; Lh=function(a){a=Ih(a);return new g.Yd(a.left,a.top)}; Nh=function(a){if(1==a.nodeType)return Lh(a);a=a.changedTouches?a.changedTouches[0]:a;return new g.Yd(a.clientX,a.clientY)}; g.Qh=function(a,b,c){if(b instanceof g.$d)c=b.height,b=b.width;else if(void 0==c)throw Error("missing height argument");g.Ph(a,b);a.style.height=Fh(c,!0)}; Fh=function(a,b){"number"==typeof a&&(a=(b?Math.round(a):a)+"px");return a}; g.Ph=function(a,b){a.style.width=Fh(b,!0)}; g.Rh=function(a){var b=Bba;if("none"!=Eh(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}; Bba=function(a){var b=a.offsetWidth,c=a.offsetHeight,d=g.qe&&!b&&!c;return(void 0===b||d)&&a.getBoundingClientRect?(a=Ih(a),new g.$d(a.right-a.left,a.bottom-a.top)):new g.$d(b,c)}; g.Sh=function(a,b){a.style.display=b?"":"none"}; Yh=function(){if(Vh&&!qh(Wh)){var a="."+Xh.domain;try{for(;2e?encodeURIComponent(wi(a,b,c,d,e+1)):"...";return encodeURIComponent(String(a))}; xi=function(a,b,c,d){a.o.push(b);a.u[b]=ui(c,d)}; Iba=function(a){var b=1,c;for(c in a.u)b=c.length>b?c.length:b;return 3997-b-a.A.length-1}; yi=function(a,b){this.o=a;this.depth=b}; Kba=function(){function a(l,m){return null==l?m:l} var b=qi(),c=Math.max(b.length-1,0),d=si(b);b=d.o;var e=d.u,f=d.A,k=[];f&&k.push(new yi([f.url,f.Jt?2:0],a(f.depth,1)));e&&e!=f&&k.push(new yi([e.url,2],0));b.url&&b!=f&&k.push(new yi([b.url,0],a(b.depth,c)));d=(0,g.Jc)(k,function(l,m){return k.slice(0,k.length-m)}); !b.url||(f||e)&&b!=f||(e=xba(b.url))&&d.push([new yi([e,1],a(b.depth,c))]);d.push([]);return(0,g.Jc)(d,function(l){return Jba(c,l)})}; Jba=function(a,b){(0,g.zi)(b,function(e){return 0<=e.depth}); var c=(0,g.Ai)(b,function(e,f){return Math.max(e,f.depth)},-1),d=raa(c+2); d[0]=a;(0,g.y)(b,function(e){return d[e.depth+1]=e.o}); return d}; Lba=function(){var a=Kba();return(0,g.Jc)(a,function(b){return vi(b)})}; Bi=function(){this.u=new pi;this.o=li()?new mi:new ki}; Mba=function(){Ci();var a=ni.document;return!!(a&&a.body&&a.body.getBoundingClientRect&&"function"===typeof ni.setInterval&&"function"===typeof ni.clearInterval&&"function"===typeof ni.setTimeout&&"function"===typeof ni.clearTimeout)}; Di=function(a){Ci();var b=Yh()||ni;b.google_image_requests||(b.google_image_requests=[]);var c=b.document.createElement("img");c.src=a;b.google_image_requests.push(c)}; Ei=function(){Ci();return Lba()}; Fi=function(){}; Ci=function(){return Fi.getInstance().getContext()}; Gi=function(a){Ug(this,a,null,null)}; Nba=function(a){this.B=a;this.o=-1;this.u=this.A=0}; Hi=function(a,b){return function(c){for(var d=[],e=0;eMath.random())}; Ri=function(a){a&&Qi&&Oi()&&(Qi.clearMarks("goog_"+a.label+"_"+a.uniqueId+"_start"),Qi.clearMarks("goog_"+a.label+"_"+a.uniqueId+"_end"))}; Ui=function(){var a=Si;this.C=Ti;this.B="jserror";this.A=!0;this.o=null;this.F=this.u;this.Ja=void 0===a?null:a}; Xi=function(a,b,c,d){return Hi(Ji.getInstance().u.o,function(){try{if(a.Ja&&a.Ja.o){var e=a.Ja.start(b.toString(),3);var f=c();a.Ja.end(e)}else f=c()}catch(m){var k=a.A;try{Ri(e);var l=new Vi(Wi(m));k=a.F(b,l,void 0,d)}catch(n){a.u(217,n)}if(!k)throw m;}return f})()}; Zi=function(a,b,c){var d=Yi;return Hi(Ji.getInstance().u.o,function(e){for(var f=[],k=0;kd?500:k}; jj=function(a){for(var b=0,c=a,d=0;a&&a!=a.parent;)a=a.parent,d++,qh(a)&&(c=a,b=d);return{Ud:c,level:b}}; kj=function(a){var b=a!==a.top,c=a.top===jj(a).Ud,d=-1,e=0;if(b&&c&&a.top.mraid){d=3;var f=a.top.mraid}else d=(f=a.mraid)?b?c?2:1:0:-1;f&&(f.IS_GMA_SDK||(e=2),Gb(Xba,function(k){return"function"===typeof f[k]})||(e=1)); return{Ff:f,compatibility:e,SO:d}}; Yba=function(a){return(a=a.document)&&"function"===typeof a.elementFromPoint}; lj=function(a,b,c,d){var e=void 0===e?!1:e;c=Zi(d,c,void 0);hh(a,b,c,{capture:e})}; mj=function(a,b){var c=Math.pow(10,b);return Math.floor(a*c)/c}; nj=function(a){return new uh(a.top,a.right,a.bottom,a.left)}; oj=function(a){var b=a.top||0,c=a.left||0;return new uh(b,c+(a.width||0),b+(a.height||0),c)}; pj=function(a){return null!=a&&0<=a&&1>=a}; Zba=function(){var a=g.Pc;return a?qj("Android TV;AppleTV;Apple TV;GoogleTV;HbbTV;NetCast.TV;Opera TV;POV_TV;SMART-TV;SmartTV;TV Store;AmazonWebAppPlatform;MiBOX".split(";"),function(b){return tc(a,b)})||tc(a,"OMI/")&&!tc(a,"XiaoMi/")?!0:tc(a,"Presto")&&tc(a,"Linux")&&!tc(a,"X11")&&!tc(a,"Android")&&!tc(a,"Mobi"):!1}; rj=function(){this.A=!qh(ni.top);this.isMobileDevice=oh()||ph();var a=qi();this.domain=0c.height?n>t?(e=n,f=q):(e=t,f=u):nc++;){if(a===b)return!0;try{if(a=g.Ce(a)||a){var d=de(a),e=d&&re(d),f=e&&e.frameElement;f&&(a=f)}}catch(k){break}}return!1}; aca=function(a,b,c){if(!a||!b)return!1;b=vh(a.clone(),-b.left,-b.top);a=(b.left+b.right)/2;b=(b.top+b.bottom)/2;var d=Yh();qh(d.top)&&d.top&&d.top.document&&(d=d.top);if(!Yba(d))return!1;a=d.document.elementFromPoint(a,b);if(!a)return!1;b=(b=(b=de(c))&&b.defaultView&&b.defaultView.frameElement)&&$ba(b,a);d=a===c;a=!d&&a&&Ie(a,function(e){return e===c}); return!(b||d||a)}; bca=function(a,b,c,d){return rj.getInstance().A?!1:0>=a.xd()||0>=a.getHeight()?!0:c&&d?aj(208,function(){return aca(a,b,c)}):!1}; xj=function(a,b,c){var d=new uh(0,0,0,0);this.time=a;this.volume=null;this.A=b;this.o=d;this.u=c}; yj=function(a,b,c,d,e,f,k,l){this.G=a;this.H=b;this.F=c;this.C=d;this.o=e;this.B=f;this.u=k;this.A=l}; zj=function(a){this.A=a;this.u=0;this.o=null}; Aj=function(a,b,c){this.Ud=a;this.ba=void 0===c?"na":c;this.B=[];this.hd=!1;this.A=new xj(-1,!0,this);this.o=this;this.G=b;this.M=this.aa=this.H=!1;this.T="uk";this.Lb=!1;this.C=!0}; Cj=function(a,b,c){if(!a.M||(void 0===c?0:c))a.M=!0,a.T=b,a.G=0,a.o!=a||Bj(a)}; Dj=function(a,b){g.cb(a.B,b)||(a.B.push(b),b.rk(a.o),b.Rh(a.A),b.vg()&&(a.H=!0))}; Ej=function(a){a=a.o;a.Zz();a.Yz();var b=rj.getInstance();b.G=$h(!1,a.Ud,b.isMobileDevice);a.WH();a.A.o=a.Gy()}; Fj=function(a){a.H=a.B.length?qj(a.B,function(b){return b.vg()}):!1}; Gj=function(a){var b=g.lb(a.B);(0,g.y)(b,function(c){c.Rh(a.A)})}; Bj=function(a){var b=g.lb(a.B);(0,g.y)(b,function(c){c.rk(a.o)}); a.o!=a||Gj(a)}; Hj=function(a,b,c,d){this.element=a;this.o=new uh(0,0,0,0);this.C=new uh(0,0,0,0);this.u=b;this.eb=c;this.L=d;this.Lb=!1;this.timestamp=-1;this.B=new yj(b.A,this.element,this.o,new uh(0,0,0,0),0,0,ej(),0)}; Ij=function(a){this.Lb=!1;this.o=a;this.B=g.Ja}; Jj=function(a,b,c){this.A=void 0===c?0:c;this.u=a;this.o=null==b?"":b}; cca=function(a){switch(Math.trunc(a.A)){case -16:return-16;case -8:return-8;case 0:return 0;case 8:return 8;case 16:return 16;default:return 16}}; dca=function(a,b){return new Jj(a.u,a.o,a.A+b)}; Kj=function(a,b){return a.Ab.A?!1:a.ub.u?!1:typeof a.otypeof b.o?!1:a.oc?0:a}; nca=function(a,b,c){if(a.Qb){a.Qb.Ig();var d=a.Qb.B,e=d.G,f=e.o;if(null!=d.C){var k=d.F;a.bq=new g.Yd(k.left-f.left,k.top-f.top)}f=a.Kq()?Math.max(d.o,d.B):d.o;k={};null!==e.volume&&(k.volume=e.volume);e=1===ii(a.eb,"osddt");var l=a.Qb.getName();switch(l){case "aio":case "iem":case "exc":case "geo":case "gsv":case "mraid":case "nis":case "nio":case "omid":e=!0;break;case "a100":case "na":e=!0;break;default:e||-1!=a.yf||cj("av-js",{strategy_name:l,bin:Ji.getInstance().o})}e?(e=a.Ay(d),a.jp=d,a.la(f, b,c,!1,k,e,d.A)):a.la(f,b,c,!1,k,a.ct(b),d.A)}}; oca=function(a){if(a.qo&&a.qn){var b=1==ii(a.eb,"od"),c=rj.getInstance().o,d=a.qn,e=a.Qb?a.Qb.getName():"ns",f=new g.$d(c.xd(),c.getHeight());c=a.Kq();a={VO:e,bq:a.bq,oP:f,Kq:c,Ab:a.kd.Ab,lP:b};if(b=d.u){b.Ig();e=b.B;f=e.G.o;var k=null,l=null;null!=e.C&&f&&(k=e.F,k=new g.Yd(k.left-f.left,k.top-f.top),l=new g.$d(f.right-f.left,f.bottom-f.top));e=c?Math.max(e.o,e.B):e.o;c={VO:b.getName(),bq:k,oP:l,Kq:c,lP:!1,Ab:e}}else c=null;c&&hca(d,a,c)}}; pca=function(a,b,c){b&&(a.Ut=b);c&&(a.zD=c)}; kk=function(){}; mk=function(a){if(a instanceof kk)return a;if("function"==typeof a.Gg)return a.Gg(!1);if(g.Ma(a)){var b=0,c=new kk;c.next=function(){for(;;){if(b>=a.length)throw lk;if(b in a)return a[b++];b++}}; return c}throw Error("Not implemented");}; g.nk=function(a,b,c){if(g.Ma(a))try{(0,g.y)(a,b,c)}catch(d){if(d!==lk)throw d;}else{a=mk(a);try{for(;;)b.call(c,a.next(),void 0,a)}catch(d){if(d!==lk)throw d;}}}; qca=function(a){if(g.Ma(a))return g.lb(a);a=mk(a);var b=[];g.nk(a,function(c){b.push(c)}); return b}; rca=function(){this.B=this.o=this.A=this.u=this.C=0}; sca=function(a){var b={};var c=(0,g.C)()-a.C;b=(b.ptlt=c,b);(c=a.u)&&(b.pnk=c);(c=a.A)&&(b.pnc=c);(c=a.B)&&(b.pnmm=c);(a=a.o)&&(b.pns=a);return b}; ok=function(){ai.call(this);this.fullscreen=!1;this.volume=void 0;this.paused=!1;this.A=-1}; pk=function(a){return pj(a.volume)&&.1<=a.volume}; tca=function(){var a={};this.u=(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.avs=[64,0],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.o={};for(var b in this.u)0=a.A/2:0=a.Z:!1:!1}; zca=function(a){var b=mj(a.kd.Ab,2),c=a.Ic.A,d=a.kd,e=Dk(a),f=Ck(e.B),k=Ck(e.F),l=Ck(d.volume),m=mj(e.G,2),n=mj(e.R,2),q=mj(d.Ab,2),t=mj(e.T,2),u=mj(e.Z,2);d=mj(d.le,2);a=a.Lh().clone();a.round();e=ek(e,!1);return{nP:b,tm:c,yp:f,tp:k,Pl:l,zp:m,vp:n,Ab:q,Ap:t,wp:u,le:d,position:a,Yp:e}}; Hk=function(a,b){Gk(a.o,b,function(){return{nP:0,tm:void 0,yp:-1,tp:-1,Pl:-1,zp:-1,vp:-1,Ab:-1,Ap:-1,wp:-1,le:-1,position:void 0,Yp:[]}}); a.o[b]=zca(a)}; Gk=function(a,b,c){for(var d=a.length;dc.time?b:c},a[0])}; dl=function(a,b,c,d){bl.call(this,a,b,c,d);this.F=this.G=this.A=null}; el=function(a){return a.A&&a.A.takeRecords?a.A.takeRecords():[]}; Sca=function(a){if(!a.element)return!1;var b=a.element,c=a.u.o.Ud,d=Ji.getInstance().u.o;a.A=new c.IntersectionObserver(Hi(d,function(e){return cl(a,e)}),Rca); d=Hi(d,function(){a.A.unobserve(b);a.A.observe(b);cl(a,el(a))}); c.ResizeObserver?(a.G=new c.ResizeObserver(d),a.G.observe(b)):c.MutationObserver&&(a.F=new g.v.MutationObserver(d),a.F.observe(b,{attributes:!0,childList:!0,characterData:!0,subtree:!0}));a.A.observe(b);cl(a,el(a));return!0}; fl=function(){var a=/Chrome\/(\d+)/.exec(g.Pc);return a?parseFloat(a[1]):NaN}; gl=function(){var a=/\sCobalt\/(\S+)\s/.exec(g.Pc);if(!a)return NaN;var b=[];a=g.p(a[1].split("."));for(var c=a.next();!c.done;c=a.next())c=parseInt(c.value,10),0<=c&&b.push(c);return parseFloat(b.join("."))}; il=function(){return hl("android")&&hl("chrome")&&!(hl("trident/")||hl("edge/"))&&!hl("cobalt")}; jl=function(){return hl("armv7")||hl("aarch64")||hl("android")}; g.kl=function(){return hl("cobalt")}; ll=function(){return hl("cobalt")&&hl("appletv")}; ml=function(){return hl("(ps3; leanback shell)")||hl("ps3")&&g.kl()}; nl=function(){return hl("(ps4; leanback shell)")||hl("ps4")&&g.kl()}; g.ol=function(){return g.kl()&&(hl("ps4 vr")||hl("ps4 pro vr"))}; pl=function(){var a=/WebKit\/([0-9]+)/.exec(g.Pc);return!!(a&&600<=parseInt(a[1],10))}; ql=function(){return hl("iemobile")||hl("windows phone")&&hl("edge")}; sl=function(){return rl&&hl("applewebkit")&&!hl("version")&&(!hl("safari")||hl("gsa/"))}; tl=function(){return hl("smart-tv")&&hl("samsung")}; hl=function(a){var b=g.Pc;return b?0<=b.toLowerCase().indexOf(a):!1}; ul=function(a){a=void 0===a?ni:a;Ij.call(this,new Aj(a,2))}; wl=function(){var a=vl();Aj.call(this,ni.top,a,"geo")}; vl=function(){Ji.getInstance();var a=rj.getInstance();return a.A||a.u?0:2}; xl=function(){}; yl=function(){this.done=!1;this.o={QE:0,Tw:0,YU:0,Rx:0,Bt:-1,jF:0,iF:0,kF:0};this.C=null;this.F=!1;this.u=null;this.G=0;this.A=new zj(this)}; Al=function(){var a=zl;a.F||(a.F=!0,Tca(a,function(b){for(var c=[],d=0;dg.Jb(Zca).length?null:(0,g.Ai)(b,function(c,d){var e=d.toLowerCase().split("=");if(2!=e.length||void 0===Pl[e[0]]||!Pl[e[0]](e[1]))throw Error("Entry ("+e[0]+", "+e[1]+") is invalid.");c[e[0]]=e[1];return c},{})}catch(c){return null}}; ada=function(a,b){if(void 0==a.o)return 0;switch(a.C){case "mtos":return a.u?ak(b.o,a.o):ak(b.u,a.o);case "tos":return a.u?Yj(b.o,a.o):Yj(b.u,a.o)}return 0}; Ql=function(a,b,c,d){vk.call(this,b,d);this.G=a;this.F=c}; Rl=function(a){vk.call(this,"fully_viewable_audible_half_duration_impression",a)}; Sl=function(a,b){vk.call(this,a,b)}; Tl=function(){this.u=this.B=this.F=this.C=this.A=this.o=""}; bda=function(){}; Ul=function(a,b,c,d,e){var f={};if(void 0!==a)if(null!=b)for(var k in b){var l=b[k];k in Object.prototype||null!=l&&(f[k]="function"===typeof l?l(a):a[l])}else g.Wb(f,a);void 0!==c&&g.Wb(f,c);a=Nj(Mj(new Lj,f));0String(Function.prototype.toString).indexOf("[native code]")?!1:0<=String(a).indexOf("[native code]")&&!0||!1}; wm=function(a){return!!(1<>>0]|=f<>>0).toString(16)+"&"}); c=105;(0,g.y)(pda,function(d){var e="false";try{e=d(ni)}catch(f){}a+=String.fromCharCode(c++)+"="+e+"&"}); (0,g.y)(qda,function(d){var e="";try{e=g.xg(d(ni))}catch(f){}a+=String.fromCharCode(c++)+"="+e+"&"}); return a.slice(0,-1)}; nda=function(){if(!xm){var a=function(){ym=!0;ni.document.removeEventListener("webdriver-evaluate",a,!0)}; ni.document.addEventListener("webdriver-evaluate",a,!0);var b=function(){zm=!0;ni.document.removeEventListener("webdriver-evaluate-response",b,!0)}; ni.document.addEventListener("webdriver-evaluate-response",b,!0);xm=!0}}; sda=function(){this.u=-1}; Am=function(){this.u=64;this.o=Array(4);this.C=Array(this.u);this.B=this.A=0;this.reset()}; Bm=function(a,b,c){c||(c=0);var d=Array(16);if("string"===typeof 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.o[0];c=a.o[1];e=a.o[2];var f=a.o[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.o[0]=a.o[0]+b&4294967295;a.o[1]=a.o[1]+(e+(k<<21&4294967295|k>>>11))&4294967295;a.o[2]=a.o[2]+e&4294967295;a.o[3]=a.o[3]+f&4294967295}; Cm=function(){this.u=null}; Dm=function(a){return function(b){var c=new Am;c.update(b+a);return qba(c.digest()).slice(-8)}}; Em=function(a,b){this.u=a;this.A=b}; wk=function(a,b,c){var d=a.o(c);if("function"===typeof d){var e={};e=(e.sv="865",e.cb="j",e.e=tda(b),e);var f=Kk(c,b,uj());g.Wb(e,f);c.PD[b]=f;a=2==c.cg()?gca(e).join("&"):a.A.o(e).o;try{return d(c.Ed,a,b),0}catch(k){return 2}}else return 1}; tda=function(a){var b=Ol(a)?"custom_metric_viewable":a;a=Nb(Ik,function(c){return c==b}); return Ml[a]}; Fm=function(a,b,c){Em.call(this,a,b);this.B=c}; Gm=function(){hm.call(this);this.F=null;this.C=!1;this.H={};this.A=new Cm}; uda=function(a,b,c){c=c.opt_configurable_tracking_events;null!=a.u&&Array.isArray(c)&&gda(a,c,b)}; vda=function(a,b,c){var d=Tk(Vk,b);d||(d=c.opt_nativeTime||-1,d=im(a,b,nm(a),d),c.opt_osdId&&(d.il=c.opt_osdId));return d}; wda=function(a,b,c){var d=Tk(Vk,b);d||(d=im(a,b,"n",c.opt_nativeTime||-1));return d}; xda=function(a,b){var c=Tk(Vk,b);c||(c=im(a,b,"h",-1));return c}; yda=function(a){Ji.getInstance();switch(nm(a)){case "b":return"ytads.bulleit.triggerExternalActivityEvent";case "n":return"ima.bridge.triggerExternalActivityEvent";case "h":case "m":case "ml":return"ima.common.triggerExternalActivityEvent"}return null}; Im=function(a,b,c,d){c=void 0===c?{}:c;var e={};g.Wb(e,{opt_adElement:void 0,opt_fullscreen:void 0},c);if(e.opt_bounds)return a.A.o(Nl("ol",d));if(void 0!==d)if(void 0!==Ll(d))if(km)b=Nl("ue",d);else if(jda(a),"i"==lm)b=Nl("i",d),b["if"]=0;else if(b=a.Mo(b,e))if(a.B&&3==b.Oc)b="stopped";else{b:{"i"==lm&&(b.Ck=!0,a.yv());c=e.opt_fullscreen;void 0!==c&&hk(b,!!c);var f;if(c=!rj.getInstance().u)(c=tc(g.Pc,"CrKey")||tc(g.Pc,"PlayStation")||tc(g.Pc,"Roku")||Zba()||tc(g.Pc,"Xbox"))||(c=g.Pc,c=tc(c,"AppleTV")|| tc(c,"Apple TV")||tc(c,"CFNetwork")||tc(c,"tvOS")),c||(c=g.Pc,c=tc(c,"sdk_google_atv_x86")||tc(c,"Android TV")),c=!c;c&&(Ci(),c=0===oi(Xh));if(f=c){switch(b.cg()){case 1:pm(a,b,"pv");break;case 2:a.jv(b)}mm("pv")}c=d.toLowerCase();if(!f&&g.cb(zda,c)&&0==b.Oc){"i"!=lm&&(zl.done=!1);f=void 0!==e?e.opt_nativeTime:void 0;ij=f="number"===typeof f?f:ej();b.qo=!0;var k=uj();b.Oc=1;b.wg={};b.wg.firstquartile=!1;b.wg.midpoint=!1;b.wg.thirdquartile=!1;b.wg.complete=!1;b.wg.pause=!1;b.wg.skip=!1;b.wg.viewable_impression= !1;b.xs=0;k||(b.ee().H=f);Bl(zl,[b],!k)}0!=b.Oc&&g.cb(Ada,c)&&!b.Ck&&b.mj&&(f=b.mj,f.o||(f.o=xk(f,b)));(f=b.Pj[c])&&qk(b.Ic,f);switch(b.cg()){case 1:var l=Ol(c)?a.G.custom_metric_viewable:a.G[c];break;case 2:l=a.M[c]}if(l&&(d=l.call(a,b,e,d),void 0!==d)){e=Nl(void 0,c);g.Wb(e,d);d=e;break b}d=void 0}3==b.Oc&&(a.B?b.Qb&&b.Qb.Im():a.Xl(b));b=d}else b=Nl("nf",d);else b=void 0;else km?b=Nl("ue"):(b=a.Mo(b,e))?(d=Nl(),g.Wb(d,Jk(b,!0,!1,!1)),b=d):b=Nl("nf");return"string"===typeof b?a.B&&"stopped"===b? Hm:a.A.o(void 0):a.A.o(b)}; Jm=function(a){return Ji.getInstance(),"h"!=nm(a)&&nm(a),!1}; Km=function(a){var b={};return b.viewability=a.o,b.googleViewability=a.A,b.moatInit=a.C,b.moatViewability=a.F,b.integralAdsViewability=a.B,b.doubleVerifyViewability=a.u,b}; Lm=function(a,b,c){c=void 0===c?{}:c;a=Im(Gm.getInstance(),b,c,a);return Km(a)}; Mm=function(a,b){b=void 0===b?!1:b;var c=Gm.getInstance().Mo(a,{});c?Bk(c):b&&(c=Gm.getInstance().dn(null,ej(),!1,a),c.Oc=3,Yk([c]))}; Nm=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&&"chrome-untrusted"!==a&&"chrome"!==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}; Bda=function(){function a(){e[0]=1732584193;e[1]=4023233417;e[2]=2562383102;e[3]=271733878;e[4]=3285377520;q=n=0} function b(t){for(var u=k,w=0;64>w;w+=4)u[w/4]=t[w]<<24|t[w+1]<<16|t[w+2]<<8|t[w+3];for(w=16;80>w;w++)t=u[w-3]^u[w-8]^u[w-14]^u[w-16],u[w]=(t<<1|t>>>31)&4294967295;t=e[0];var B=e[1],D=e[2],E=e[3],F=e[4];for(w=0;80>w;w++){if(40>w)if(20>w){var G=E^B&(D^E);var ba=1518500249}else G=B^D^E,ba=1859775393;else 60>w?(G=B&D|E&(B|D),ba=2400959708):(G=B^D^E,ba=3395469782);G=((t<<5|t>>>27)&4294967295)+G+F+ba+u[w]&4294967295;F=E;E=D;D=(B<<30|B>>>2)&4294967295;B=t;t=G}e[0]=e[0]+t&4294967295;e[1]=e[1]+B&4294967295; e[2]=e[2]+D&4294967295;e[3]=e[3]+E&4294967295;e[4]=e[4]+F&4294967295} function c(t,u){if("string"===typeof t){t=unescape(encodeURIComponent(t));for(var w=[],B=0,D=t.length;Bn?c(l,56-n):c(l,64-(n-56));for(var w=63;56<=w;w--)f[w]=u&255,u>>>=8;b(f);for(w=u=0;5>w;w++)for(var B=24;0<=B;B-=8)t[u++]=e[w]>>B&255;return t} 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,pF:function(){for(var t=d(),u="",w=0;wb)throw Error("Bad port number "+b);a.B=b}else a.B=null}; Xm=function(a,b,c){b instanceof Zm?(a.A=b,Dda(a.A,a.G)):(c||(b=$m(b,Eda)),a.A=new Zm(b,a.G))}; g.an=function(a){return a instanceof g.Tm?a.clone():new g.Tm(a,void 0)}; Ym=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""}; $m=function(a,b,c){return"string"===typeof a?(a=encodeURI(a).replace(b,Fda),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null}; Fda=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)}; Zm=function(a,b){this.u=this.o=null;this.A=a||null;this.B=!!b}; bn=function(a){a.o||(a.o=new g.Qm,a.u=0,a.A&&wd(a.A,function(b,c){a.add(id(b),c)}))}; dn=function(a,b){bn(a);b=cn(a,b);return Rm(a.o.u,b)}; g.en=function(a,b,c){a.remove(b);0document.documentMode){if(!b[c].call)throw Error("IE Clobbering detected");}else if("function"!=typeof b[c])throw Error("Clobbering detected");return b[c].apply(b,d)}; eea=function(a){if(!a)return Lc;var b=document.createElement("div").style,c=aea(a);(0,g.y)(c,function(d){var e=g.qe&&d in bea?d:d.replace(/^-(?:apple|css|epub|khtml|moz|mso?|o|rim|wap|webkit|xv)-(?=[a-z])/i,"");jc(e,"--")||jc(e,"var")||(d=Nn(cea,a,a.getPropertyValue?"getPropertyValue":"getAttribute",[d])||"",d=$da(d),null!=d&&Nn(dea,b,b.setProperty?"setProperty":"setAttribute",[e,d]))}); return Kaa(b.cssText||"")}; aea=function(a){g.Ma(a)?a=g.lb(a):(a=g.Jb(a),g.gb(a,"cssText"));return a}; g.Pn=function(a){var b,c=b=0,d=!1;a=a.split(fea);for(var e=0;e(0,g.C)()}; g.eo=function(a){this.o=a}; lea=function(){}; fo=function(){}; go=function(a){this.o=a}; ho=function(){var a=null;try{a=window.localStorage||null}catch(b){}this.o=a}; io=function(){var a=null;try{a=window.sessionStorage||null}catch(b){}this.o=a}; ko=function(a,b){this.u=a;this.o=null;if(g.oe&&!g.Td(9)){jo||(jo=new g.Qm);this.o=jo.get(a);this.o||(b?this.o=document.getElementById(b):(this.o=document.createElement("userdata"),this.o.addBehavior("#default#userData"),document.body.appendChild(this.o)),jo.set(a,this.o));try{this.o.load(this.u)}catch(c){this.o=null}}}; lo=function(a){return"_"+encodeURIComponent(a).replace(/[.!~*'()%]/g,function(b){return mea[b]})}; mo=function(a){try{a.o.save(a.u)}catch(b){throw"Storage mechanism: Quota exceeded";}}; no=function(a,b){this.u=a;this.o=b+"::"}; g.oo=function(a){var b=new ho;return b.isAvailable()?a?new no(b,a):b:null}; po=function(a,b){this.o=a;this.u=b}; qo=function(a){this.o=[];if(a)a:{if(a instanceof qo){var b=a.Oe();a=a.Yd();if(0>=this.o.length){for(var c=this.o,d=0;d>1,a[d].o>c.o)a[b]=a[d],b=d;else break;a[b]=c}; g.so=function(){qo.call(this)}; to=function(){}; uo=function(a){Ug(this,a,nea,null)}; vo=function(a){Ug(this,a,null,null)}; oea=function(a,b){for(;ng(b)&&4!=b.u;)switch(b.A){case 1:var c=qg(b);Xg(a,1,c);break;case 2:c=qg(b);Xg(a,2,c);break;case 3:c=qg(b);Xg(a,3,c);break;case 4:c=qg(b);Xg(a,4,c);break;case 5:c=lg(b.o);Xg(a,5,c);break;default:og(b)}return a}; pea=function(a){a=a.split("");var b=[2147461549,-1587043484,-866926835,-1587043484,-53502979,1635333055,function(c,d){c.push(d)}, 1513973286,-1053311558,918600605,function(c,d){for(d=(d%c.length+c.length)%c.length;d--;)c.unshift(c.pop())}, -1190474945,347437936,function(c,d){d=(d%c.length+c.length)%c.length;var e=c[0];c[0]=c[d];c[d]=e}, 1150385163,function(c){c.reverse()}, 565371058,1275589306,function(c,d){d=(d%c.length+c.length)%c.length;c.splice(0,1,c.splice(d,1,c[0])[0])}, "-0i0",114696855,-1812187163,-1573997563,a,-135197251,-1491390544,-1429856925,-1636353552,function(c,d){for(var e=64,f=[];++e-f.length-32;)switch(e){case 58:e=96;continue;case 91:e=44;break;case 65:e=47;continue;case 46:e=153;case 123:e-=58;default:f.push(String.fromCharCode(e))}c.forEach(function(k,l,m){this.push(m[l]=f[(f.indexOf(k)-f.indexOf(this[l])+l-32+e--)%f.length])},d.split(""))}, null,a,-1190474945,function(c,d){d=(d%c.length+c.length)%c.length;c.splice(-d).reverse().forEach(function(e){c.unshift(e)})}, function(c){for(var d=c.length;d;)c.push(c.splice(--d,1)[0])}, -689676078,-1991906493,-318083265,null,-1509425577,function(c,d){d=(d%c.length+c.length)%c.length;c.splice(-d).reverse().forEach(function(e){c.unshift(e)})}, 1387587560,null,-1668654553,529458372,510975548,1562464990,688668338,-145032076,a,function(c,d){d=(d%c.length+c.length)%c.length;c.splice(d,1)}]; b[29]=b;b[37]=b;b[41]=b;b[32](b[30],b[44]);b[18](b[37],b[47]);b[15](b[29]);b[16](b[1]);b[10](b[12],b[23]);b[11](b[26],b[28]);b[18](b[37],b[21]);b[14](b[26],b[34]);b[14](b[1],b[49]);b[11](b[1],b[19]);b[14](b[26],b[36]);b[18](b[33],b[31]);b[11](b[26],b[10]);b[14](b[1],b[13]);b[35](b[37],b[0]);b[39](b[51],b[11]);b[31](b[18],b[32]);b[36](b[18],b[5]);b[34](b[6]);b[37](b[33]);b[39](b[10],b[42]);b[33](b[45],b[48]);b[8](b[0]);b[43](b[40]);b[26](b[39],b[12]);b[21](b[51],b[20]);b[21](b[47],b[16]);b[0](b[31], b[28]);b[49](b[51],b[9]);b[49](b[51],b[30]);b[28](b[4]);b[28](b[7],b[36]);b[9](b[20],b[34]);b[9](b[20],b[6]);b[9](b[20],b[11]);b[46](b[25],b[13]);b[44](b[25],b[18]);b[30](b[4],b[7]);b[33](b[45],b[14]);b[51](b[26],b[43]);b[9](b[25],b[27]);return a.join("")}; xo=function(a){var b=arguments,c=wo;1f&&(c=a.substring(f,e),c=c.replace(sea,""),c=c.replace(tea,""),c=c.replace("debug-",""),c=c.replace("tracing-",""))}spf.script.load(a,c,b)}else uea(a,b,c)}; uea=function(a,b,c){c=void 0===c?null:c;var d=Yo(a),e=document.getElementById(d),f=e&&Go(e),k=e&&!f;f?b&&b():(b&&(f=g.So(d,b),b=""+g.Qa(b),Zo[b]=f),k||(e=vea(a,d,function(){Go(e)||(Fo(e,"loaded","true"),g.Uo(d),g.Lo(g.Ra(Wo,d),0))},c)))}; vea=function(a,b,c,d){d=void 0===d?null:d;var e=g.ve("SCRIPT");e.id=b;e.onload=function(){c&&setTimeout(c,0)}; e.onreadystatechange=function(){switch(e.readyState){case "loaded":case "complete":e.onload()}}; d&&e.setAttribute("nonce",d);fd(e,nh(a));a=document.getElementsByTagName("head")[0]||document.body;a.insertBefore(e,a.firstChild);return e}; Yo=function(a){var b=document.createElement("a");g.dd(b,a);a=b.href.replace(/^[a-zA-Z]+:\/\//,"//");return"js-"+md(a)}; ap=function(){var a=document;if("visibilityState"in a)return a.visibilityState;var b=$o+"VisibilityState";if(b in a)return a[b]}; bp=function(a,b){var c;qj(a,function(d){c=b[d];return!!c}); return c}; cp=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;try{if(a=a||window.event){this.event=a;for(var b in a)b in wea||(this[b]=a[b]);this.rotation=a.rotation;var c=a.target||a.srcElement;c&&3==c.nodeType&&(c=c.parentNode);this.target=c;var d=a.relatedTarget;if(d)try{d=d.nodeName? d:null}catch(e){d=null}else"mouseover"==this.type?d=a.fromElement:"mouseout"==this.type&&(d=a.toElement);this.relatedTarget=d;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.o=a.pageX;this.u=a.pageY}}catch(e){}}; dp=function(a){if(document.body&&document.documentElement){var b=document.body.scrollTop+document.documentElement.scrollTop;a.o=a.clientX+(document.body.scrollLeft+document.documentElement.scrollLeft);a.u=a.clientY+b}}; xea=function(a,b,c,d){d=void 0===d?{}:d;a.addEventListener&&("mouseenter"!=b||"onmouseenter"in document?"mouseleave"!=b||"onmouseenter"in document?"mousewheel"==b&&"MozBoxSizing"in document.documentElement.style&&(b="MozMousePixelScroll"):b="mouseout":b="mouseover");return Nb(ep,function(e){var f="boolean"===typeof e[4]&&e[4]==!!d,k=g.Oa(e[4])&&g.Oa(d)&&g.Rb(e[4],d);return!!e.length&&e[0]==a&&e[1]==b&&e[2]==c&&(f||k)})}; g.hp=function(a,b,c,d){d=void 0===d?{}:d;if(!a||!a.addEventListener&&!a.attachEvent)return"";var e=xea(a,b,c,d);if(e)return e;e=++fp.count+"";var f=!("mouseenter"!=b&&"mouseleave"!=b||!a.addEventListener||"onmouseenter"in document);var k=f?function(l){l=new cp(l);if(!Ie(l.relatedTarget,function(m){return m==a},!0))return l.currentTarget=a,l.type=b,c.call(a,l)}:function(l){l=new cp(l); l.currentTarget=a;return c.call(a,l)}; k=Jo(k);a.addEventListener?("mouseenter"==b&&f?b="mouseover":"mouseleave"==b&&f?b="mouseout":"mousewheel"==b&&"MozBoxSizing"in document.documentElement.style&&(b="MozMousePixelScroll"),gp()||"boolean"===typeof d?a.addEventListener(b,k,d):a.addEventListener(b,k,!!d.capture)):a.attachEvent("on"+b,k);ep[e]=[a,b,c,k,d];return e}; yea=function(a,b,c,d){var e=a||document;return g.hp(e,b,function(f){var k=Ie(f.target,function(l){return l===e||d(l)},!0); k&&k!==e&&!k.disabled&&(f.currentTarget=k,c.call(k,f))})}; g.ip=function(a){a&&("string"==typeof a&&(a=[a]),(0,g.y)(a,function(b){if(b in ep){var c=ep[b],d=c[0],e=c[1],f=c[3];c=c[4];d.removeEventListener?gp()||"boolean"===typeof c?d.removeEventListener(e,f,c):d.removeEventListener(e,f,!!c.capture):d.detachEvent&&d.detachEvent("on"+e,f);delete ep[b]}}))}; g.jp=function(a){a=a||window.event;a=a.target||a.srcElement;3==a.nodeType&&(a=a.parentNode);return a}; kp=function(a){a=a||window.event;var b;a.composedPath&&g.Na(a.composedPath)?b=a.composedPath():b=a.path;return b&&b.length?b[0]:g.jp(a)}; lp=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}; mp=function(a){a=a||window.event;var b=a.pageX,c=a.pageY;document.body&&document.documentElement&&("number"!==typeof b&&(b=a.clientX+document.body.scrollLeft+document.documentElement.scrollLeft),"number"!==typeof c&&(c=a.clientY+document.body.scrollTop+document.documentElement.scrollTop));return new g.Yd(b,c)}; g.np=function(a){a=a||window.event;a.returnValue=!1;a.preventDefault&&a.preventDefault()}; g.op=function(a){a=a||window.event;return!1===a.returnValue||a.iz&&a.iz()}; g.pp=function(a){a=a||window.event;return a.keyCode?a.keyCode:a.which}; g.qp=function(a,b,c,d){return yea(a,b,c,function(e){return g.Fn(e,d)})}; g.rp=function(a,b,c){var d=void 0===d?{}:d;var e;return e=g.hp(a,b,function(){g.ip(e);c.apply(a,arguments)},d)}; sp=function(a){for(var b in ep)ep[b][0]==a&&g.ip(b)}; tp=function(a){this.M=a;this.o=null;this.C=0;this.F=null;this.B=0;this.u=[];for(a=0;4>a;a++)this.u.push(0);this.A=0;this.H=g.hp(window,"mousemove",(0,g.x)(this.R,this));this.L=Mo((0,g.x)(this.G,this),25)}; zea=function(){}; vp=function(a,b){return up(a,0,b)}; g.wp=function(a,b){return up(a,1,b)}; xp=function(){}; g.yp=function(){return!!g.Ia("yt.scheduler.instance")}; up=function(a,b,c){isNaN(c)&&(c=void 0);var d=g.Ia("yt.scheduler.instance.addJob");return d?d(a,b,c):void 0===c?(a(),NaN):g.Lo(a,c||0)}; g.zp=function(a){if(!isNaN(a)){var b=g.Ia("yt.scheduler.instance.cancelJob");b?b(a):g.No(a)}}; Ap=function(a){var b=g.Ia("yt.scheduler.instance.setPriorityThreshold");b&&b(a)}; Dp=function(){var a={},b=void 0===a.LG?!0:a.LG;a=void 0===a.iO?!1:a.iO;if(null==g.Ia("_lact",window)){var c=parseInt(g.L("LACT"),10);c=isFinite(c)?(0,g.C)()-Math.max(c,0):-1;g.Ga("_lact",c,window);g.Ga("_fact",c,window);-1==c&&Bp();g.hp(document,"keydown",Bp);g.hp(document,"keyup",Bp);g.hp(document,"mousedown",Bp);g.hp(document,"mouseup",Bp);b&&(a?g.hp(window,"touchmove",function(){Cp("touchmove",200)},{passive:!0}):(g.hp(window,"resize",function(){Cp("resize",200)}),g.hp(window,"scroll",function(){Cp("scroll", 200)}))); new tp(function(){Cp("mouse",100)}); g.hp(document,"touchstart",Bp,{passive:!0});g.hp(document,"touchend",Bp,{passive:!0})}}; Cp=function(a,b){Ep[a]||(Ep[a]=!0,g.wp(function(){Bp();Ep[a]=!1},b))}; Bp=function(){null==g.Ia("_lact",window)&&(Dp(),g.Ia("_lact",window));var a=(0,g.C)();g.Ga("_lact",a,window);-1==g.Ia("_fact",window)&&g.Ga("_fact",a,window);(a=g.Ia("ytglobal.ytUtilActivityCallback_"))&&a()}; Fp=function(){var a=g.Ia("_lact",window),b;null==a?b=-1:b=Math.max((0,g.C)()-a,0);return b}; Np=function(){g.No(Gp);g.No(Hp);Hp=0;Ip&&Ip.isReady()?(Jp(Kp),"log_event"in Lp&&Jp(Object.entries(Lp.log_event)),Kp.clear(),delete Lp.log_event):Mp()}; Mp=function(){g.Bo("web_gel_timeout_cap")&&!Hp&&(Hp=g.Lo(Np,6E4));g.No(Gp);var a=g.L("LOGGING_BATCH_TIMEOUT",Co("web_gel_debounce_ms",1E4));g.Bo("shorten_initial_gel_batch_timeout")&&Op&&(a=Aea);Gp=g.Lo(Np,a)}; Jp=function(a){var b=Ip,c=Math.round((0,g.N)());a=g.p(a);for(var d=a.next();!d.done;d=a.next()){var e=g.p(d.value);d=e.next().value;var f=e.next().value;e=g.Tb(g.Pp(b.Ce||g.Qp()));e.events=f;(f=Rp[d])&&Bea(e,d,f);delete Rp[d];Cea(e,c);g.Sp(b,"log_event",e,{retry:!0,onSuccess:function(){Tp=Math.round((0,g.N)()-c)}}); Op=!1}}; Cea=function(a,b){a.requestTimeMs=String(b);g.Bo("unsplit_gel_payloads_in_logs")&&(a.unsplitGelPayloadsInLogs=!0);var c=g.L("EVENT_ID",void 0);if(c){var d=g.L("BATCH_CLIENT_COUNTER",void 0)||0;!d&&g.Bo("web_client_counter_random_seed")&&(d=Math.floor(Math.random()*Up/2));d++;d>Up&&(d=1);xo("BATCH_CLIENT_COUNTER",d);c={serializedEventId:c,clientCounter:String(d)};a.serializedClientEventId=c;Vp&&Tp&&g.Bo("log_gel_rtt_web")&&(a.previousBatchInfo={serializedClientEventId:Vp,roundtripMs:String(Tp)});Vp= c;Tp=0}}; Bea=function(a,b,c){if(c.videoId)var d="VIDEO";else if(c.playlistId)d="PLAYLIST";else return;a.credentialTransferTokenTargetId=c;a.context=a.context||{};a.context.user=a.context.user||{};a.context.user.credentialTransferTokens=[{token:b,scope:d}]}; g.Yp=function(a,b,c,d){d=void 0===d?{}:d;var e={};e.eventTimeMs=Math.round(d.timestamp||(0,g.N)());e[a]=b;e.context={lastActivityMs:String(d.timestamp?-1:Fp())};g.Bo("log_sequence_info_on_gel_web")&&d.Gj&&(a=e.context,b=d.Gj,Wp[b]=b in Wp?Wp[b]+1:0,a.sequence={index:Wp[b],groupKey:b},d.wF&&delete Wp[d.Gj]);d=d.bk;a="";d&&(a={},d.videoId?a.videoId=d.videoId:d.playlistId&&(a.playlistId=d.playlistId),Rp[d.token]=a,a=d.token);d=Kp.get(a)||[];Kp.set(a,d);d.push(e);c&&(Ip=new c);c=Co("web_logging_max_batch")|| 100;e=(0,g.N)();d.length>=c?Np():10<=e-Xp&&(Mp(),Xp=e)}; Zp=function(){return g.Ia("yt.ads.biscotti.lastId_")||""}; $p=function(a){g.Ga("yt.ads.biscotti.lastId_",a,void 0)}; aq=function(a){a=a.split("&");for(var b={},c=0,d=a.length;ck.status)?k.json().then(m,function(){m(null)}):m(null)}}); b.uB&&0m.status,u=500<=m.status&&600>m.status;if(n||t||u)q=Jea(a,c,m,b.uU);if(n)a:if(m&&204==m.status)n=!0;else{switch(c){case "XML":n=0==parseInt(q&&q.return_code,10);break a;case "RAW":n=!0;break a}n=!!q}q=q||{};t=b.context||g.v;n?b.onSuccess&&b.onSuccess.call(t,m,q):b.onError&&b.onError.call(t,m,q);b.Dd&&b.Dd.call(t,m,q)}},b.method,d,b.headers,b.responseType, b.withCredentials); if(b.Ge&&0e&&d.createObjectStore("LogsRequestsStore",{keyPath:"id",autoIncrement:!0}).o.createIndex("newRequest",["status","timestamp"],{unique:!1})}})}catch(d){"VersionError"===d&&g.M(d),Sq=Qq("LogsDataBase",1)}return c["return"](Sq)})})}; Uea=function(a){return th(this,function c(){var d,e,f,k;return Aa(c,function(l){if(1==l.o)return g.sa(l,Tq(),2);if(3!=l.o)return d=l.u,e=Nq(Kq(d,["LogsRequestsStore"],"readwrite"),"LogsRequestsStore"),f=Object.assign(Object.assign({},a),{options:JSON.parse(JSON.stringify(a.options))}),g.sa(l,e.add(f),3);k=l.u;return l["return"](k)})})}; Vea=function(){return th(this,function b(){var c,d,e,f,k,l,m;return Aa(b,function(n){switch(n.o){case 1:return c=["NEW",0],d=["NEW",(0,g.N)()],e=IDBKeyRange.bound(c,d),g.sa(n,Tq(),2);case 2:return f=n.u,k=Kq(f,["LogsRequestsStore"],"readwrite"),g.sa(n,Oea(Nq(k,"LogsRequestsStore").index("newRequest"),e),3);case 3:l=n.u;m=void 0;if(null===l||void 0===l||!l.getValue()){n.Nc(4);break}m=l.getValue();m.status="QUEUED";return g.sa(n,l.update(m),4);case 4:return n["return"](m)}})})}; Wea=function(a){return th(this,function c(){var d,e,f;return Aa(c,function(k){switch(k.o){case 1:return g.sa(k,Tq(),2);case 2:return d=k.u,e=Nq(Kq(d,["LogsRequestsStore"],"readwrite"),"LogsRequestsStore"),g.sa(k,e.get(a),3);case 3:return f=k.u,f.status="QUEUED",g.sa(k,Hq(e.o.put(f,void 0)),4);case 4:return k["return"](f)}})})}; Xea=function(a){return th(this,function c(){var d,e,f;return Aa(c,function(k){switch(k.o){case 1:return g.sa(k,Tq(),2);case 2:return d=k.u,e=Nq(Kq(d,["LogsRequestsStore"],"readwrite"),"LogsRequestsStore"),g.sa(k,e.get(a),3);case 3:return f=k.u,f.status="NEW",f.xv+=1,g.sa(k,Hq(e.o.put(f,void 0)),4);case 4:return k["return"](f)}})})}; Yea=function(){return th(this,function b(){var c,d;return Aa(b,function(e){if(1==e.o)return g.sa(e,Tq(),2);if(3!=e.o)return c=e.u,g.sa(e,c.count("LogsRequestsStore"),3);d=e.u;return e["return"](!d)})})}; Uq=function(a){return th(this,function c(){var d;return Aa(c,function(e){if(1==e.o)return g.sa(e,Tq(),2);d=e.u;return e["return"](d["delete"]("LogsRequestsStore",a))})})}; Vq=function(){this.B=0;this.o=window.navigator.onLine;Zea(this);$ea(this)}; Wq=function(){Vq.o||(Vq.o=new Vq);return Vq.o}; $q=function(a){var b=Xq,c=Yq;a.B||Zq(a);(new Ff(function(d){a.A=d})).then(function(){b(); c&&(a.u=c)})}; $ea=function(a){window.addEventListener("online",function(){a.o=!0;a.A&&a.A()})}; Zea=function(a){window.addEventListener("offline",function(){a.o=!1;a.u&&a.u()})}; Zq=function(a){a.B=vp(function(){window.navigator.onLine?(!1===a.o&&g.M(Error("NetworkStatusManager missed online event.")),a.o=!0,a.A&&a.A()):(!0===a.o&&g.M(Error("NetworkStatusManager missed offline event.")),a.o=!1,a.u&&a.u());Zq(a)},afa)}; bfa=function(a,b){Tea().then(function(c){if(c&&!g.Bo("networkless_bypass_write")){var d={url:a,options:b,timestamp:(0,g.N)(),status:"NEW",xv:0};Uea(d).then(function(e){d.id=e;e=Wq();e.o?ar(d):$q(e)})["catch"](function(){ar(d); g.M(Error("Networkless Logging: Log request setting to indexedDB failed."))})}else g.wq(a,b)})}; Xq=function(){br||(br=g.wp(function(){ar();br=0;Xq()},cfa))}; Yq=function(){g.zp(br);br=0}; ar=function(a){th(this,function c(){var d=this,e,f,k,l;return Aa(c,function(m){switch(m.o){case 1:e=d;if(!a)return g.sa(m,Vea(),6);if(!a.id){m.Nc(3);break}return g.sa(m,Wea(a.id),5);case 5:a=m.u;m.Nc(3);break;case 6:if(a=m.u){m.Nc(3);break}return g.sa(m,Yea(),8);case 8:return(f=m.u)&&Yq(),m["return"]();case 3:if(dfa(a))k=a.options.onError?a.options.onError:function(){},l=a.options.onSuccess?a.options.onSuccess:function(){},a.options.onError=function(n,q){return th(e,function u(){return Aa(u,function(w){if(1== w.o)return a&&a.id?a.xvMath.random()&&g.Ko(new cr("Missing VISITOR_DATA when sending innertube request.",b,c,d));if(!a.isReady())throw a=new cr("innertube xhrclient not ready",b,c,d),g.M(a),a.o=0,a;c={headers:{"Content-Type":"application/json"},method:"POST",yb:c,mC:"JSON",Ge:function(){d.Ge()}, uB:d.Ge,onSuccess:function(k,l){if(d.onSuccess)d.onSuccess(l)}, NU:function(k){if(d.onSuccess)d.onSuccess(k)}, onError:function(k,l){if(d.onError)d.onError(l)}, MU:function(k){if(d.onError)d.onError(k)}, timeout:d.timeout,withCredentials:!0};var e="",f=a.Ce.Xo;f&&(e=f);f=Nea(a.Ce.gz||!1,e,d);Object.assign(c.headers,f);c.headers.Authorization&&!e&&(c.headers["x-origin"]=window.location.origin);a=g.gq(""+e+("/youtubei/"+a.Ce.innertubeApiVersion+"/"+b),{alt:"json",key:a.Ce.innertubeApiKey});try{g.Bo("use_fetch_for_op_xhr")?Iea(a,c):g.Bo("networkless_logging")&&d.retry?(c.method="POST",bfa(a,c)):g.Aq(a,c)}catch(k){if("InvalidAccessError"==k.name)g.Ko(Error("An extension is blocking network request.")); else throw k;}}; g.er=function(a,b,c){c=void 0===c?{}:c;var d=g.dr;g.L("ytLoggingEventsDefaultDisabled",!1)&&g.dr==g.dr&&(d=null);g.Yp(a,b,d,c)}; ffa=function(a){g.fr(a)}; g.gr=function(a){g.fr(a,"WARNING")}; g.fr=function(a,b,c,d,e){e=void 0===e?{}:e;e.name=c||g.L("INNERTUBE_CONTEXT_CLIENT_NAME",1);e.version=d||g.L("INNERTUBE_CONTEXT_CLIENT_VERSION",void 0);c=e||{};b=void 0===b?"ERROR":b;b=void 0===b?"ERROR":b;var f=void 0===f?!1:f;if(a&&(g.Bo("console_log_js_exceptions")&&(d=[],d.push("Name: "+a.name),d.push("Message: "+a.message),a.hasOwnProperty("params")&&d.push("Error Params: "+JSON.stringify(a.params)),d.push("File name: "+a.fileName),d.push("Stacktrace: "+a.stack),window.console.log(d.join("\n"), a)),(window&&window.yterr||f)&&!(5<=hr)&&0!==a.o)){var k=Yaa(a);f=k.message||"Unknown Error";d=k.name||"UnknownError";e=k.lineNumber||"Not available";var l=k.fileName||"Not available";k=k.stack||a.u||"Not available";if(a.hasOwnProperty("args")&&a.args&&a.args.length)for(var m=0,n=0;n"',style:"display:none"}),de(a).body.appendChild(a))):e?xq(a,b,"POST",e,d):g.L("USE_NET_AJAX_FOR_PING_TRANSPORT",!1)||d?xq(a,b,"GET","",d):kfa(a,b)||lfa(a,b))}; kfa=function(a,b){if(!zo("web_use_beacon_api_for_ad_click_server_pings"))return!1;if(zo("use_sonic_js_library_for_v4_support")){a:{try{var c=new laa({url:a});if(c.A&&c.u||c.B){var d=rd(g.td(5,a));var e=!(!d||!d.endsWith("/aclk")||"1"!==Id(a,"ri"));break a}}catch(f){}e=!1}if(!e)return!1}else if(e=rd(g.td(5,a)),!e||-1==e.indexOf("/aclk")||"1"!==Id(a,"ae")||"1"!==Id(a,"act"))return!1;return rr(a)?(b&&b(),!0):!1}; sr=function(a,b,c){c=void 0===c?"":c;rr(a,c)?b&&b():g.qr(a,b,void 0,void 0,c)}; rr=function(a,b){try{if(window.navigator&&window.navigator.sendBeacon&&window.navigator.sendBeacon(a,void 0===b?"":b))return!0}catch(c){}return!1}; lfa=function(a,b){var c=new Image,d=""+mfa++;tr[d]=c;c.onload=c.onerror=function(){b&&tr[d]&&b();delete tr[d]}; c.src=a}; vr=function(a,b){var c=g.Sb(b),d;return Rf(new Ff(function(e,f){c.onSuccess=function(k){g.qq(k)?e(k):f(new ur("Request failed, status="+pq(k),"net.badstatus",k))}; c.onError=function(k){f(new ur("Unknown request error","net.unknown",k))}; c.Ge=function(k){f(new ur("Request timed out","net.timeout",k))}; d=g.wq(a,c)}),function(e){e instanceof Wf&&d.abort(); return Kf(e)})}; g.wr=function(a,b,c,d){function e(k,l,m){return Rf(k,function(n){return 0>=l||403===pq(n.xhr)?Kf(new ur("Request retried too many times","net.retryexhausted",n.xhr)):f(m).then(function(){return e(vr(a,b),l-1,Math.pow(2,c-l+1)*m)})})} function f(k){return new Ff(function(l){setTimeout(l,k)})} return e(vr(a,b),c-1,d)}; ur=function(a,b,c){Va.call(this,a+", errorCode="+b);this.errorCode=b;this.xhr=c;this.name="PromiseAjaxError"}; xr=function(){this.u=0;this.o=null}; yr=function(a){var b=new xr;a=void 0===a?null:a;b.u=2;b.o=void 0===a?null:a;return b}; zr=function(a){var b=new xr;a=void 0===a?null:a;b.u=1;b.o=void 0===a?null:a;return b}; Br=function(a){Va.call(this,a.message||a.description||a.name);this.isMissing=a instanceof Ar;this.isTimeout=a instanceof ur&&"net.timeout"==a.errorCode;this.isCanceled=a instanceof Wf}; Ar=function(){Va.call(this,"Biscotti ID is missing from server")}; nfa=function(){if("1"===g.Kb(g.L("PLAYER_CONFIG",{}),"args","privembed"))return Kf(Error("Biscotti ID is not available in private embed mode"));Cr||(Cr=Rf(vr("//googleads.g.doubleclick.net/pagead/id",Dr).then(Er),function(a){return Fr(2,a)})); return Cr}; Er=function(a){a=a.responseText;if(!jc(a,")]}'"))throw new Ar;a=JSON.parse(a.substr(4));if(1<(a.type||1))throw new Ar;a=a.id;$p(a);Cr=zr(a);Gr(18E5,2);return a}; Fr=function(a,b){var c=new Br(b);$p("");Cr=yr(c);0b;b++){c=(0,g.C)();for(var d=0;d> "+a.translationLanguage.languageName);return c.join("")}; bt=function(a,b){this.id=a;this.zb=b;this.captionTracks=[];this.yo=this.us=this.o=null;this.Wr="UNKNOWN"}; ct=function(a,b,c){this.sampleRate=a||0;this.o=b||0;this.spatialAudioType=c||0}; Bfa=function(a,b,c,d){this.displayName=a;this.vssId=b;this.languageCode=c;this.kind=void 0===d?"":d}; ft=function(a,b,c,d,e,f,k,l,m,n){this.width=a;this.height=b;this.quality=f||dt(a,b);this.xc=g.et[this.quality];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=k)||(a=g.et[this.quality],0==a?a="Autom\u00e1tica":(b=this.fps,c=this.projectionType,a=a+(2==c||3==c||4==c?"s":"p")+(55=1.3*Math.floor(16*l/9)||d>=1.3*l)return e;e=k}return"tiny"}; lt=function(a,b,c,d,e,f,k,l,m){this.id=a;this.containerType=jt(b);this.mimeType=b;this.o=k||0;this.A=l||0;this.audio=void 0===c?null:c;this.video=void 0===d?null:d;this.zb=void 0===e?null:e;this.captionTrack=void 0===m?null:m;this.Jc=void 0===f?null:f;this.u=Cfa[kt(this)]||"";this.B=!0}; kt=function(a){return a.id.split(";",1)[0]}; mt=function(a){return"9"==a.u||"("==a.u||"9h"==a.u||"(h"==a.u}; nt=function(a){return"9h"==a.u||"(h"==a.u}; g.ot=function(a){return 1==a.containerType}; pt=function(a){return"application/x-mpegURL"==a.mimeType}; qt=function(a){return/(opus|vorbis|mp4a|dtse|ac-3|ec-3)/.test(a)}; rt=function(a){return a.includes("vtt")||a.includes("text/mp4")}; jt=function(a){return 0<=a.indexOf("/mp4")?1:0<=a.indexOf("/webm")?2:0<=a.indexOf("/x-flv")?3:0<=a.indexOf("/vtt")?4:0}; tt=function(a,b,c,d,e){var f=new ct;b in g.et||(b="small");d&&e?(e=parseInt(e,10),d=parseInt(d,10)):(e=g.et[b],d=Math.round(16*e/9));b=new ft(d,e,0,null,void 0,b,void 0,void 0,void 0);a=unescape(a.replace(/"/g,'"'));return new lt(c,a,f,b)}; vt=function(){return g.Ba(function(a){ut||(ut=new Promise(function(b,c){var d=indexedDB.open("yt-player-local-media",3);d.onerror=function(e){"VersionError"==e.target.error.name?(e=indexedDB.open("yt-player-local-media"),e.onsuccess=function(f){return void b(f.target.result)},e.onerror=c):c()}; d.onsuccess=function(e){var f=e.target.result;f.onversionchange=function(){f.close();ut=null}; b(f)}; d.onupgradeneeded=function(e){var f=e.target.result;2>e.oldVersion&&(f.createObjectStore("index"),f.createObjectStore("media"));3>e.oldVersion&&f.createObjectStore("metadata")}})); return a["return"](ut)})}; wt=function(a,b){var c,d;return g.Ba(function(e){c=IDBKeyRange.bound(b+"|",b+"~");d=a.objectStore("index").getAll(c);return e["return"](new Promise(function(f,k){d.onsuccess=function(l){return void f(l.target.result.join(","))}; d.onerror=k}))})}; Dfa=function(){var a;return g.Ba(function(b){if(1==b.o)return ut?g.sa(b,ut,3):b.Nc(2);2!=b.o&&(a=b.u,a.close(),ut=null);return b["return"](new Promise(function(c,d){var e=indexedDB.deleteDatabase("yt-player-local-media");e.onsuccess=function(){return void c()}; e.onerror=function(){return void d()}}))})}; xt=function(a,b){var c,d,e,f;return g.Ba(function(k){if(1==k.o)return g.sa(k,vt(),2);c=k.u;d=["index","media"];b&&d.push("metadata");e=c.transaction(d,"readwrite");f=IDBKeyRange.bound(a+"|",a+"~");e.objectStore("index")["delete"](f);e.objectStore("media")["delete"](f);b&&e.objectStore("metadata")["delete"](a);return k["return"](new Promise(function(l,m){e.oncomplete=function(){return void l()}; e.onabort=m}))})}; At=function(a){if(!zt||(void 0===a?0:a)){a=window.localStorage["yt-player-lv"];try{zt=JSON.parse(a||"{}")}catch(b){zt={}}}return zt}; Bt=function(){var a=JSON.stringify(zt);window.localStorage["yt-player-lv"]=a}; Ct=function(a){return At()[a]||0}; Efa=function(){var a=At();return Object.keys(a)}; Dt=function(a){var b=At();return Object.keys(b).filter(function(c){return b[c]===a})}; Et=function(a,b){var c=At(!0);b!==c[a]&&(0!==b?c[a]=b:delete c[a],Bt())}; Hfa=function(){var a,b,c,d;g.Ba(function(e){switch(e.o){case 1:return g.sa(e,vt(),2);case 2:return a=e.u,b=a.transaction(["index","media"],"readwrite"),g.sa(e,Ffa(b),3);case 3:c=e.u;d=At(!0);var f=Object.assign({},d),k=Object.assign({},c),l;for(l in f)k[l]?(4!==f[l]&&(f[l]=k[l]),delete k[l]):3!==f[l]&&2!==f[l]&&(f[l]=4);Object.assign(f,k);zt=f;Bt();JSON.stringify(zt);return g.sa(e,Gfa(b),4);case 4:return e["return"](zt)}})}; Ffa=function(a){var b;return g.Ba(function(c){b=a.objectStore("index").openCursor();return c["return"](new Promise(function(d,e){var f={};b.onsuccess=function(k){if(k=k.target.result){var l=k.key.match(/^([\w\-_]+)\|(a|v)$/);if(l){var m=l[1];l=l[2];f[m]=f[m]||{};f[m][l]=Ft(k.value)}else a.objectStore("index")["delete"](k.key);k["continue"]()}else{k={};for(m in f)l=f[m].v,k[m]=f[m].a&&l?1:2;d(k)}}; b.onerror=e}))})}; Gfa=function(a){var b=zt,c;return g.Ba(function(d){c=a.objectStore("media").openKeyCursor();return d["return"](new Promise(function(e,f){c.onsuccess=function(k){k=k.target.result;if(!k)return e();var l=k.key.match(/^([\w\-_]+)\|(\d+)\|(\d+)$/);l&&b[l[1]]||a.objectStore("media")["delete"](k.key);k["continue"]()}; c.onerror=f}))})}; Ifa=function(a,b){var c,d;g.Ba(function(e){if(1==e.o)return g.sa(e,vt(),2);c=e.u;d=c.transaction(["metadata"],"readwrite");d.objectStore("metadata").put(b,a);return e["return"](new Promise(function(f,k){d.oncomplete=function(){return void f()}; d.onabort=k}))})}; Ht=function(a,b,c,d,e){var f,k,l,m,n,q,t,u;return g.Ba(function(w){if(1==w.o){f=Ct(a);if(4===f)return w["return"](Promise.resolve(4));f=2;Et(a,f);return g.sa(w,vt(),2)}k=w.u;void 0!==d&&void 0!==e?(l=k.transaction(["index","media"],"readwrite"),m=""+a+"|"+b.id+"|"+d,l.objectStore("media").put(e,m)):l=k.transaction(["index"],"readwrite");n=Gt(a,b.isVideo());q=Gt(a,!b.isVideo());l.objectStore("index").put(c,n);u=(t=Ft(c))?l.objectStore("index").get(q):null;return w["return"](new Promise(function(B, D){l.oncomplete=function(){var E=Ct(a);4!==E&&t&&u&&Ft(u.result)&&(E=1,Et(a,E));B(E)}; l.onabort=function(E){var F=Ct(a);4===F?B(F):(Et(a,4),D(E))}}))})}; Jfa=function(a){var b,c;return g.Ba(function(d){if(1==d.o)return g.sa(d,vt(),2);b=d.u;c=b.transaction("index");return d["return"](wt(c,a))})}; Kfa=function(a,b,c){var d,e,f,k;return g.Ba(function(l){if(1==l.o)return g.sa(l,vt(),2);d=l.u;e=d.transaction("media");f=""+a+"|"+b+"|"+c;k=e.objectStore("media").get(f);return l["return"](new Promise(function(m,n){e.oncomplete=function(){return void m(k.result)}; e.onabort=n}))})}; Lfa=function(a){var b,c;return g.Ba(function(d){if(1==d.o)return g.sa(d,vt(),2);b=d.u;c=b.transaction(["index","metadata"]);return d["return"](It(c,a))})}; Mfa=function(){var a,b;return g.Ba(function(c){if(1==c.o)return g.sa(c,vt(),2);a=c.u;b=a.transaction(["index","metadata"]);return c["return"](Promise.all(Efa().map(function(d){return It(b,d)})))})}; It=function(a,b){var c,d,e,f,k,l,m,n;return g.Ba(function(q){if(1==q.o)return c=Nfa(a.objectStore("metadata").get(b)),g.sa(q,wt(a,b),2);if(3!=q.o){d=q.u;e={videoId:b,totalSize:0,downloadedSize:0,status:Ct(b),details:null};if(!d.length)return q["return"](e);f=dq(d);k=g.p(f);for(l=k.next();!l.done;l=k.next())m=l.value,e.totalSize+=parseInt(m.mket,10)*parseInt(m.avbr,10),e.downloadedSize+=m.hasOwnProperty("dlt")?(parseInt(m.dlt,10)||0)*parseInt(m.avbr,10):parseInt(m.mket,10)*parseInt(m.avbr,10);n=e; return g.sa(q,c,3)}n.details=q.u||null;return q["return"](e)})}; Jt=function(a){return g.Ba(function(b){Et(a,0);return b["return"](xt(a,!0))})}; Ofa=function(){return g.Ba(function(a){delete window.localStorage["yt-player-lv"];zt=null;return a["return"](Dfa())})}; Ft=function(a){return!!a&&-1==a.indexOf("dlt")}; Gt=function(a,b){return""+a+"|"+(b?"v":"a")}; Nfa=function(a){return new Promise(function(b,c){a.onsuccess=function(){return void b(a.result)}; a.onerror=c})}; Pfa=function(a,b){this.experimentIds=a?a.split(","):[];this.flags=aq(b||"");var c={};(0,g.y)(this.experimentIds,function(d){c[d]=!0}); this.experiments=c}; g.P=function(a,b){return"true"==a.flags[b]}; g.Q=function(a,b){return parseFloat(a.flags[b])||0}; g.Kt=function(a,b){var c=a.flags[b];return c?c.toString():""}; Lt=function(){var a=g.Ia("yt.player.utils.videoElement_");a||(a=g.ve("VIDEO"),g.Ga("yt.player.utils.videoElement_",a,void 0));return a}; Mt=function(a){var b=Lt();return!!(b&&b.canPlayType&&b.canPlayType(a))}; Ot=function(a){if(/opus/.test(a)&&(g.Nt&&!Wn("38")||g.Nt&&hl("crkey")))return!1;if(window.MediaSource&&window.MediaSource.isTypeSupported)return window.MediaSource.isTypeSupported(a);if(/webm/.test(a)&&!nl())return!1;'audio/mp4; codecs="mp4a.40.2"'==a&&(a='video/mp4; codecs="avc1.4d401f"');return!!Mt(a)}; Qfa=function(a){try{var b=Ot('video/mp4; codecs="avc1.42001E"')||Ot('video/webm; codecs="vp9"');return(Ot('audio/mp4; codecs="mp4a.40.2"')||Ot('audio/webm; codecs="opus"'))&&(b||!a)||Mt('video/mp4; codecs="avc1.42001E, mp4a.40.2"')?null:"fmt.noneavailable"}catch(c){return"html5.missingapi"}}; Pt=function(){var a=Lt();return!!a.webkitSupportsPresentationMode&&g.Na(a.webkitSetPresentationMode)}; Qt=function(){return"pictureInPictureEnabled"in window.document&&!!window.document.pictureInPictureEnabled}; Rt=function(){var a=Lt();try{var b=a.muted;a.muted=!b;return a.muted!=b}catch(c){}return!1}; St=function(a,b){this.o=a;this.u=b;this.A=0;Object.defineProperty(this,"timestampOffset",{get:this.sP,set:this.wP});Object.defineProperty(this,"buffered",{get:this.qP})}; Rfa=function(){this.length=0}; Tt=function(a){this.activeSourceBuffers=this.sourceBuffers=[];this.o=a;this.u=NaN;this.A=0;Object.defineProperty(this,"duration",{get:this.rP,set:this.vP});Object.defineProperty(this,"readyState",{get:this.tP});this.o.addEventListener("webkitsourceclose",(0,g.x)(this.uP,this),!0)}; Ut=function(){this.length=1}; Vt=function(){this.buffered=new Ut}; Wt=function(a,b){return{start:function(c){return a[c]}, end:function(c){return b[c]}, length:a.length}}; Xt=function(a,b,c){b=void 0===b?",":b;c=void 0===c?0:c;var d=[];if(a)for(c=c&&c=b)return c}catch(d){}return-1}; Zt=function(a,b){return 0<=Yt(a,b)}; $t=function(a,b){if(!a)return NaN;var c=Yt(a,b);return 0<=c?a.end(c):NaN}; au=function(a){return a&&a.length?a.end(a.length-1):NaN}; bu=function(a,b){var c=$t(a,b);return 0<=c?c-b:0}; cu=function(a,b,c){for(var d=[],e=[],f=0;fc||(d.push(Math.max(b,a.start(f))-b),e.push(Math.min(c,a.end(f))-b));return Wt(d,e)}; du=function(a,b,c){this.errorCode=a;this.o=b;this.details=c||{}}; eu=function(a){var b;for(b in a)if(a.hasOwnProperty(b)){var c=(""+a[b]).replace(/[:,=]/g,"_");var d=(d?d+";":"")+b+"."+c}return d||""}; fu=function(a){var b=void 0===b?!1:b;if(a instanceof du)return a;a=a&&a instanceof Error?a:Error(""+a);b?g.fr(a):g.gr(a);return new du(b?"player.fatalexception":"player.exception",b,{name:""+a.name,message:""+a.message})}; gu=function(a,b,c){g.O.call(this);var d=this;this.o=a;this.M=b;this.H=c;this.L=this.A=this.C=null;this.F=0;this.B=function(e){return d.S(e.type,d)}; this.supports(3)&&(this.o.addEventListener("updateend",this.B),this.o.addEventListener("error",this.B));this.R=0;this.G=Wt([],[]);this.u=!1}; hu=function(a,b,c,d){g.O.call(this);var e=this;this.o=a;this.M={error:function(){!e.ha()&&e.isActive()&&e.S("error",e)}, updateend:function(){!e.ha()&&e.isActive()&&e.S("updateend",e)}}; Xr(this.o,this.M);this.u=b;this.H=c;this.F=0;this.C=Infinity;this.B=0;this.G=this.A=d}; iu=function(a,b){this.o=a;this.u=void 0===b?!1:b;this.A=!1}; ju=function(a,b){b=void 0===b?!1:b;g.z.call(this);this.C=new g.Ur(this);g.A(this,this.C);this.u=this.o=null;this.A=a;var c=this.A;c=c.tJ?c.o.webkitMediaSourceURL:window.URL.createObjectURL(c);this.Dm=new iu(c,!0);this.F=b;this.B=null;Vr(this.C,this.A,["sourceopen","webkitsourceopen"],this.sN);Vr(this.C,this.A,["sourceclose","webkitsourceclose"],this.rN)}; Sfa=function(a,b){ku(a)?g.Af(function(){return b(a)}):a.B=b}; lu=function(a,b){try{a.A.duration=b}catch(c){}}; mu=function(a){return!!a.o||!!a.u}; ku=function(a){try{return"open"==a.A.readyState}catch(b){return!1}}; nu=function(a){try{return"closed"==a.A.readyState}catch(b){return!0}}; ou=function(){return!(!window.MediaSource||!window.MediaSource.isTypeSupported)}; pu=function(a){return a.o?!!a.o.supports(0):ou()}; qu=function(a,b,c,d){if(!a.o||!a.u)return null;var e=a.o.isView()?a.o.o:a.o,f=a.u.isView()?a.u.o:a.u,k=new ju(a.A,!0);k.Dm=a.Dm;e=new hu(e,b,c,d);b=new hu(f,b,c,d);k.o=e;k.u=b;g.A(k,e);g.A(k,b);ku(a)||a.o.Jq(a.o.Gb());return k}; ru=function(a,b,c){this.o=a;this.R=b;this.T=void 0===c?!1:c;this.F=!!g.Ia("cast.receiver.platform.canDisplayType");b=g.Ia("cast.receiver.platform.getValue");this.u=!this.F&&b&&b("max-video-resolution-vpx")||null;this.C={};this.H=!1;this.M=new Set;this.G=!0;this.A=!g.P(a,"html5_disable_protected_hdr");this.B=!1;this.L=g.P(a,"html5_disable_vp9_encrypted")}; Tfa=function(a,b){var c=kt(b);if("0"===c)return!0;var d=b.mimeType;if(g.P(a.o,"html5_disable_codec_on_platform_errors")){if(a.M.has(b.u))return!1}else if("1"==b.u&&a.H)return!1;var e;if(e=b.video&&(ht(b.video)||"bt2020"==b.video.primaries))e=!(tu(a,uu)||(g.P(a.o,"html5_hdr_matchmedia_killswitch")?24=c)}; Vu=function(a,b,c){"string"===typeof a&&(a={mediaContentUrl:a,startSeconds:b,suggestedQuality:c});a:{if((b=a.mediaContentUrl)&&(b=/\/([ve]|embed)\/([^#?]+)/.exec(b))&&b[2]){b=b[2];break a}b=null}a.videoId=b;return Uu(a)}; Uu=function(a,b,c){if("string"===typeof a)return{videoId:a,startSeconds:b,suggestedQuality:c};b=["endSeconds","startSeconds","mediaContentUrl","suggestedQuality","videoId"];c={};for(var d=0;da.qb())a.segments=[];else{var c=g.Ya(a.segments,function(d){return d.Qa>=b},a); 0a.byteLength-b)return!1;var c=a.getUint32(b);if(8>c||a.byteLength-bc;c++){var d=a.getInt8(b+c);if(97>d||122=a.u.byteLength}; Kv=function(a,b,c){var d=new Dv(c);if(!Fv(d,a))return!1;d=Gv(d);if(!Hv(d,b))return!1;for(a=0;b;)b>>>=8,a++;b=d.A+d.o;var e=Iv(d,!0);d=a+(d.A+d.o-b)+e;d=9d;d++)c=256*c+Qv(a);return c}d=128;for(var e=0;6>e&&d>c;e++)c=256*c+Qv(a),d*=128;return b?c-d:c}; Nv=function(a){var b=Iv(a,!0);a.o+=b}; Lv=function(a){var b=a.o;a.o=0;var c=!1;try{Hv(a,440786851)&&(a.o=0,Hv(a,408125543)&&(c=!0))}catch(d){if(d instanceof RangeError)a.o=0,c=!1,g.Ko(d);else throw d;}a.o=b;return c}; dga=function(a){if(!Hv(a,440786851,!0))return null;var b=a.o;Iv(a,!1);var c=Iv(a,!0)+a.o-b;a.o=b+c;if(!Hv(a,408125543,!1))return null;Iv(a,!0);if(!Hv(a,357149030,!0))return null;var d=a.o;Iv(a,!1);var e=Iv(a,!0)+a.o-d;a.o=d+e;if(!Hv(a,374648427,!0))return null;var f=a.o;Iv(a,!1);var k=Iv(a,!0)+a.o-f,l=new Uint8Array(c+12+e+k),m=new DataView(l.buffer);l.set(new Uint8Array(a.u.buffer,a.u.byteOffset+b,c));m.setUint32(c,408125543);m.setUint32(c+4,33554431);m.setUint32(c+8,4294967295);l.set(new Uint8Array(a.u.buffer, a.u.byteOffset+d,e),c+12);l.set(new Uint8Array(a.u.buffer,a.u.byteOffset+f,k),c+12+e);return l}; Sv=function(a){var b=a.o,c={Mv:1E6,Nv:1E9,duration:0,tv:0,gn:0};if(!Hv(a,408125543))return a.o=b,null;c.tv=Iv(a,!0);c.gn=a.A+a.o;if(Hv(a,357149030))for(var d=Gv(a);!Ev(d);){var e=Iv(d,!1);2807729==e?c.Mv=Mv(d):2807730==e?c.Nv=Mv(d):17545==e?c.duration=Ov(d):Nv(d)}else return a.o=b,null;a.o=b;return c}; Uv=function(a,b,c){var d=a.o,e=[];if(!Hv(a,475249515))return a.o=d,null;for(var f=Gv(a);Hv(f,187);){var k=Gv(f);if(Hv(k,179)){var l=Mv(k);if(Hv(k,183)){k=Gv(k);for(var m=b;Hv(k,241);)m=Mv(k)+b;e.push({Pi:m,oo:l})}}}if(0c&&(c=a.totalLength-b);a.focus(b);if(!pw(a,b,c)){var d=a.u,e=a.A;a.focus(b+c-1);e=new Uint8Array(a.A+a.o[a.u].length-e);for(var f=0,k=d;k<=a.u;k++)e.set(a.o[k],f),f+=a.o[k].length;a.o.splice(d,a.u-d+1,e);ow(a);a.focus(b)}d=a.o[a.u];return new DataView(d.buffer,d.byteOffset+b-a.A,c)}; tw=function(a,b,c){a=rw(a,void 0===b?0:b,void 0===c?-1:c);return new Uint8Array(a.buffer,a.byteOffset,a.byteLength)}; uw=function(a){a=tw(a,0,-1);var b=new Uint8Array(a.length);b.set(a);return b}; vw=function(a,b){a.focus(b);return a.o[a.u][b-a.A]}; ww=function(a,b){a.focus(b);return pw(a,b,4)?qw(a).getUint32(b-a.A):256*(256*(256*vw(a,b)+vw(a,b+1))+vw(a,b+2))+vw(a,b+3)}; xw=function(a,b,c){this.info=a;this.o=b instanceof lw?b:new lw([b]);this.o.getLength();this.A=c;this.u=null;this.B=-1;this.C=0}; yw=function(a){return rw(a.o)}; zw=function(a,b){if(1!=a.info.o.info.containerType||0!=a.info.A||!a.info.B)return!0;for(var c=yw(a),d=0,e=0;d+4k)c=!1;else{for(f=k-1;0<=f;f--)c.u.setUint8(c.o+f,d&255),d>>>=8;c.o=e;c=!0}else c=!1;return c}; Ew=function(a){g.ot(a.info.o.info)||a.info.o.info.Mc();if(a.u&&6==a.info.type)return a.u.Ye;if(g.ot(a.info.o.info)){var b=yw(a);var c=0;b=Av(b,1936286840);b=g.p(b);for(var d=b.next();!d.done;d=b.next())d=xv(d.value),c+=d.Pq[0]/d.Tq;c=c||NaN;if(!(0<=c))a:{c=yw(a);b=a.info.o.o;d=0;for(var e,f=0;tv(c,d);){var k=uv(c,d);if(1836476516==k.type)e=pv(k);else if(1836019558==k.type){!e&&b&&(e=qv(b));if(!e){c=NaN;break a}var l=rv(k.data,k.dataOffset,1953653094),m=e,n=rv(l.data,l.dataOffset,1952868452);l=rv(l.data, l.dataOffset,1953658222);var q=cv(n);cv(n);q&2&&cv(n);n=q&8?cv(n):0;var t=cv(l),u=t&1;q=t&4;var w=t&256,B=t&512,D=t&1024;t&=2048;var E=dv(l);u&&cv(l);q&&cv(l);for(var F=u=0;F=b.Ew||1<=d.o)if(a=kx(a),c=Kw(c,ax(a)),c.u+c.o<=d.u+d.o)return!0;return!1}; tga=function(a,b){var c=b?kx(a):a.o;return new hx(c)}; kx=function(a){a.A||(a.A=dx(a.B));return a.A}; mx=function(a){return 1=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 Xu(q,f,k,NaN,"sq/"+(q+1)));f+=k;l--}a.index.append(c)}}; g.Jx=function(){this.o=0;this.u=new Float64Array(128);this.A=new Float64Array(128);this.C=1;this.B=!1}; Kx=function(a){if(a.u.length=c+d)break}return new ox(e)}; Ega=function(a,b){return Nx(function(c,d){return g.wr(c,d,4,1E3)},a,b)}; g.Ox=function(a){var b;a.responseType&&"text"!==a.responseType?"arraybuffer"===a.responseType&&(b=Cv(new Uint8Array(a.response))):b=a.responseText;return!b||2048=a.M}; dy=function(a){var b=a.M;isFinite(b)&&(cy(a)?a.refresh():(b=Math.max(0,a.T+b-(0,g.N)()),a.C||(a.C=new g.I(a.refresh,b,a),g.A(a,a.C)),a.C.start(b)))}; Pga=function(a){a=a.o;for(var b in a){var c=a[b].index;if(c.Nb())return c.qb()+1}return 0}; ey=function(a){return a.Hk&&a.A?a.Hk-a.A:0}; fy=function(a){if(!isNaN(a.R))return a.R;var b=a.o,c;for(c in b){var d=b[c].index;if(d.Nb()){b=0;for(c=d.sf();c<=d.qb();c++)b+=d.getDuration(c);b/=d.nk();b=.5*Math.round(b/.5);d.nk()>a.ea&&(a.R=b);return b}if(a.isLive&&(d=b[c],d.Ye))return d.Ye}return NaN}; gy=function(a,b){for(var c in a.o){var d=a.o[c].index;if(d.Nb()){var e=d.tf(b),f=d.ou(e);if(f)return f+b-d.Cd(e)}}return NaN}; Qga=function(a,b){var c=Ob(a.o,function(e){return e.index.Nb()}); if(!c)return NaN;c=c.index;var d=c.tf(b);return c.Cd(d)==b?b:d1E3*a)return"auto"}catch(c){}return g.Rs("yt-player-quality")||"auto"}; ly=function(a,b){var c="";49parseInt(c.get("dhmu",d.toString()),10));this.Qn=d;this.Aa="3"==this.controlsType||this.o||R(!1,a.use_media_volume);this.T=Rt();this.Wo=g.Oy;this.Fg=R(!1,a.opt_out_deprecation);this.ea=R(!1,a.pfp_chazal_ui);var f;b?void 0!=b.hideInfo&&(f=!b.hideInfo):f=a.showinfo;this.Gi=g.Py(this)&&!this.Fg||R(!Qy(this)&&!Ry(this)&&!this.C,f);this.sh=b?!!b.mobileIphoneSupportsInlinePlayback:R(!1,a.playsinline);f=this.o&&Sy&&0=Ty;d=b?b.useNativeControls:a.use_native_controls;c=this.o;d=Uy(this)||!f&& R(c,d)?"3":"1";this.controlsType="0"!=(b?b.controlsType:a.controls)?d:"0";this.ob=this.o;this.color=Fy("red",a.color,dha);this.wo="3"==this.controlsType||R(!1,a.modestbranding)&&"red"==this.color;this.ua=!this.u;this.Il=(d=!this.ua&&!Ry(this)&&!this.L&&!this.C&&!Qy(this))&&!this.wo&&"1"==this.controlsType;this.Ga=g.Vy(this)&&d&&"0"==this.controlsType&&!this.Il;this.Zp=this.Co=f;this.Jl=Wy&&!g.Sd(601)?!1:!0;this.Pn=this.u||!1;this.wa=Ry(this)?"":(this.loaderUrl||a.post_message_origin||"").substring(0, 128);this.widgetReferrer=Hy("",a.widget_referrer);this.Bc=(!this.A||R(!0,a.enablecastapi))&&"1"==this.controlsType&&!this.o&&(Ry(this)||g.Vy(this)||g.Xy(this))&&!g.Yy(this)&&!Zy(this);this.hp=Qt()||Pt();f=b?!!b.supportsAutoplayOverride:R(!1,a.autoplayoverride);this.rd=!this.o&&!hl("nintendo wiiu")&&!hl("nintendo 3ds")||f;f=b?!!b.enableMutedAutoplay:R(!1,a.mutedautoplay);d=this.ia("embeds_enable_muted_autoplay")&&g.Py(this);this.Jd=f&&d&&this.T&&!Uy(this);f=(Ry(this)||Qy(this))&&"blazer"==this.playerStyle; this.Vc=b?!!b.disableFullscreen:!R(!0,a.fs);this.ra=!this.Vc&&(f||Qr());this.Ln=this.ia("uniplayer_block_pip")&&il()&&Wn(58)&&!(g.My&&hl("version/"));f=g.Py(this)&&!this.Fg;var k;b?void 0!=b.disableRelatedVideos&&(k=!b.disableRelatedVideos):k=a.rel;this.Ea=f||R(!this.C,k);this.pd=R(!1,a.co_rel);this.F=g.My&&hl("version/")&&0=Ty?"_top":"_blank";this.fb=g.Xy(this);this.od="blazer"==this.playerStyle;switch(this.playerStyle){case "blogger":k="bl";break;case "gmail":k="gm";break;case "books":k= "gb";break;case "docs":k="gd";break;case "duo":k="gu";break;case "google-live":k="gl";break;case "google-one":k="go";break;case "play":k="gp";break;case "chat":k="hc";break;case "hangouts-meet":k="hm";break;case "photos-edu":case "picasaweb":k="pw";break;default:k="yt"}this.U=k;this.dd=Hy("",a.authuser);var l;b?void 0!=b.disableWatchLater&&(l=!b.disableWatchLater):l=a.showwatchlater;this.zi=(this.u&&!this.ga||!!this.dd)&&R(!this.L,this.A?l:void 0);this.Yb=b?!!b.disableKeyboardControls:R(!1,a.disablekb); this.loop=R(!1,a.loop);this.pageId=Hy("",a.pageid);this.gp=R(!0,a.canplaylive);this.ah=R(!1,a.livemonitor);this.disableSharing=R(this.C,b?b.disableSharing:a.ss);(l=a.video_container_override)?(k=l.split("x"),2!==k.length?l=null:(l=Number(k[0]),k=Number(k[1]),l=isNaN(l)||isNaN(k)||0>=l*k?null:new g.$d(l,k))):l=null;this.Kl=l;this.mute=b?!!b.startMuted:R(!1,a.mute);this.qd=!this.mute&&R("0"!=this.controlsType,a.store_user_volume);l=b?b.annotationsLoadPolicy:a.iv_load_policy;this.annotationsLoadPolicy= "3"==this.controlsType?3:Fy(void 0,l,$y);this.captionsLanguagePreference=b?b.captionsLanguagePreference||"":Hy("",a.cc_lang_pref);l=Fy(2,a.cc_load_policy,$y);"3"==this.controlsType&&2==l&&(l=3);this.zh=l;this.Zc=b?b.hl||"en_US":Hy("en_US",a.hl);this.region=b?b.contentRegion||"US":Hy("US",a.cr);this.hostLanguage=b?b.hostLanguage||"en":Hy("en",a.host_language);this.Kn=!this.ga&&Math.random()Math.random();this.cd=a.onesie_hot_config?new Vga(a.onesie_hot_config):void 0;this.isTectonic=!!a.isTectonic}; hz=function(a,b){return!a.C&&il()&&Wn(55)&&"3"==a.controlsType&&!b}; g.iz=function(a){a=az(a.H);return"www.youtube-nocookie.com"==a?"www.youtube.com":a}; g.jz=function(a){return g.Yy(a)?"music.youtube.com":g.iz(a)}; kz=function(a,b,c){return a.protocol+"://i1.ytimg.com/vi/"+b+"/"+(c||"hqdefault.jpg")}; lz=function(a){return Ry(a)&&!g.ez(a)}; Uy=function(a){return Wy&&!a.sh||hl("nintendo wiiu")||hl("nintendo 3ds")?!0:!1}; Zy=function(a){return"area120-boutique"==a.playerStyle}; g.Yy=function(a){return"music-embed"==a.playerStyle}; g.dz=function(a){return/^TVHTML5/.test(a.deviceParams.c)?!0:"TV"==a.deviceParams.cplatform}; cz=function(a){return"CHROMECAST ULTRA/STEAK"==a.deviceParams.cmodel||"CHROMECAST/STEAK"==a.deviceParams.cmodel}; g.mz=function(){return 1=navigator.hardwareConcurrency&&(b=c);(c=g.Q(a.experiments,"html5_av1_thresh_hcc"))&&4m},q=f["1"].filter(function(t){return n(t.Da().xc)}); q=f[k].filter(function(t){return!n(t.Da().xc)}).concat(q); q.length&&(f["19"]=q)}Qx(c)&&(f=lha(b,f,d));b=gha(a);d=hha(a);b=g.$a(b,e);d=g.$a(d,e);if(!b||!d)return yr();a.ba&&"1"==b&&f[k]&&(q=Lz(f["1"]),Lz(f[k])>q&&(b=k));"9"==b&&f.h&&(k=Lz(f["9"]),Lz(f.h)>1.5*k&&(b="h"),c.mg&&!Vfa(a.H)&&(b="h"));a=f[b];c=f[d];if(!a.length)return yr();Mz(a,c);return zr(new Jz(a,c,mha(f,b,d)))}; mha=function(a,b,c){var d=a.h;"f"==b&&(d=a[b]);var e=a.a;b=a[b]!=d;a=a[c]!=e;return d&&e&&(b||a)?(Mz(d,e),new Jz(d,e)):null}; Mz=function(a,b){g.vb(a,function(c,d){return d.Da().height*d.Da().width-c.Da().height*c.Da().width||d.o-c.o}); g.vb(b,function(c,d){return d.o-c.o})}; kha=function(a,b){var c=(0,g.Ai)(b,function(d,e){return 32c&&(b=a.G&&(a.R||tu(a,yu))?(0,g.Be)(b,function(d){return 32E.width*E.height*E.fps))var E=B}}else n.push(B)}}m=q.reduce(function(F,G){return G.Sg.bp()&&F},!0)?l:null; d=Math.max(d,g.Q(a.experiments,"html5_hls_initial_bitrate"));E=E||{};q.push(Tz(n,c,e,"93",void 0===E.width?0:E.width,void 0===E.height?0:E.height,void 0===E.fps?0:E.fps,f,"auto",d,m));return Lu(a.B,q,hz(a,b))}; Tz=function(a,b,c,d,e,f,k,l,m,n,q){d=new lt(d,"application/x-mpegURL",new ct,new ft(e,f,k,null,void 0,m),void 0,q);a=new sha(a,b,c);a.B=n?n:1369843;return new Sz(d,a,l)}; wha=function(a){a=g.p(a);for(var b=a.next();!b.done;b=a.next())if(b=b.value,b.url&&(b=b.url.split("expire/"),!(1>=b.length)))return+b[1].split("/")[0];return NaN}; Uz=function(a,b){this.Sg=a;this.o=b}; Vz=function(a,b){this.Sg=a;this.o=b}; yha=function(a){var b=[];(0,g.y)(a,function(c){if(c.url){var d=tt(c.type,"medium","0");b.push(new Vz(d,c.url))}}); return b}; zha=function(a){return navigator.mediaCapabilities?Wz(a.videoInfos).then(function(){return a},function(){return a}):zr(a)}; Wz=function(a){var b=navigator.mediaCapabilities;if(!b)return zr(a);var c=a.map(function(d){return b&&b.decodingInfo({type:"media-source",video:d.video?{contentType:d.mimeType,width:d.video.width||640,height:d.video.height||360,bitrate:8*d.o||1E6,framerate:d.video.fps||30}:null})}); return gba(c).then(function(d){for(var e=0;e=e){e=aA(k.url);g.Uw(e)&&(b[d]=e);break}}(a=a.pop())&&1280<=a.width&&(a=aA(a.url),g.Uw(a)&&(b["maxresdefault.jpg"]=a));return b}; aA=function(a){return a.startsWith("//")?"https:"+a:a}; g.S=function(a){if(a.simpleText)return a.simpleText;if(a.runs){var b=[];a=g.p(a.runs);for(var c=a.next();!c.done;c=a.next())c=c.value,c.text&&b.push(c.text);return b.join("")}return""}; g.cA=function(a){if(a.simpleText)return a=document.createTextNode(a.simpleText),a;var b=[];if(a.runs)for(var c=0;c1E5*Math.random()&&(c=new cr("CSI data exceeded logging limit with key",b.split("_")),0<=b.indexOf("plev")||g.gr(c)),!0):!1}; DA=function(a){return!!g.L("FORCE_CSI_ON_GEL",!1)||g.Bo("csi_on_gel")||!!rA(a).useGel}; EA=function(a){a=rA(a);if(!("gel"in a))a.gel={gelTicks:{},gelInfos:{}};else if(a.gel){var b=a.gel;b.gelInfos||(b.gelInfos={});b.gelTicks||(b.gelTicks={})}return a.gel}; FA=function(a){qA(a);bia();pA(!1,a);a||(g.L("TIMING_ACTION")&&xo("PREVIOUS_ACTION",g.L("TIMING_ACTION")),xo("TIMING_ACTION",""))}; KA=function(a,b,c){c=c?c:a;GA(c);var d=c||"",e=xA();e[d]&&delete e[d];var f=wA(),k={timerName:d,info:{},tick:{},span:{}};f.push(k);e[d]=k;yA(c||"").info.actionType=a;FA(c);rA(c).useGel=!0;xo(c+"TIMING_AFT_KEYS",b);xo(c+"TIMING_ACTION",a);HA("c",c);DA(c)&&(a={actionType:IA[yo((c||"")+"TIMING_ACTION")]||"LATENCY_ACTION_UNKNOWN",previousAction:IA[yo("PREVIOUS_ACTION")]||"LATENCY_ACTION_UNKNOWN"},b=tA(c),AA().info(a,b));g.Ga("ytglobal.timing"+(c||"")+"ready_",!0,void 0);JA(c)}; HA=function(a,b){LA("yt_sts",a,b);MA("_start",void 0,b)}; LA=function(a,b,c){if(null!==b)if(sA(c)[a]=b,DA(c)){var d=b;b=EA(c);if(b.gelInfos)b.gelInfos["info_"+a]=!0;else{var e={};b.gelInfos=(e["info_"+a]=!0,e)}if(a.match("_rid")){var f=a.split("_rid")[0];a="REQUEST_ID"}if(a in NA){b=NA[a];g.cb(cia,b)&&(d=!!d);a in OA&&"string"===typeof d&&(d=OA[a]+d.toUpperCase());a=d;d=b.split(".");for(var k=e={},l=0;l=b)return a.B.set(b,d),d;a.B.set(b,c-1);return c-1}; cB=function(a,b,c,d){c=c.split("#");c=[c[1],c[2],0,c[3],c[4],-1,c[0],""].join("#");g.$A.call(this,a,b,c,0);this.u=null;this.F=d?3:0}; dB=function(a,b,c,d){aB.call(this,a,0,void 0,b,!(void 0===d||!d));for(a=0;a=Ty&&(n.o=!0);if(f=c)f=d.ia("disable_html5_ambisonic_audio")||!(g.uz(d)||d.ia("html5_enable_spherical")||d.ia("html5_enable_spherical3d"))?!1:vz(d);f&&(n.M=!0);b&&(n.o=!0,n.aa=!0);l&&!g.P(d.experiments,"html5_otf_prefer_vp9")&&(n.o=!0);tu(d.B,Cu)&&(g.P(d.experiments, "html5_enable_aac51")&&(n.C=!0),g.P(d.experiments,"html5_enable_ac3")&&(n.u=!0),g.P(d.experiments,"html5_enable_eac3")&&(n.B=!0));!g.P(d.experiments,"html5_kaios_hd_killswitch")&&Ny&&(n.U=480);if(e||c)n.R=!1;n.T=!1;b=zz(d);0b&&window.SourceBuffer&&SourceBuffer.prototype.changeType&&(n.A=b);2160<=b&&(n.Z=!0);qy()&&(n.ba=!1);n.H=m;ll()&&a.Ha&&a.Ha.playerConfig&&a.Ha.playerConfig.webPlayerConfig&&a.Ha.playerConfig.webPlayerConfig.useCobaltTvosDogfoodFeatures&&(n.u=!0,n.B=!0);a.ya&&(m=a.Vb&& a.Va.ia("html5_enable_audio_51_for_live_dai"),a=!a.Vb&&a.Va.ia("html5_enable_audio_51_for_live_non_dai"),n.G=m||a);return n}; lia=function(a){pB(a)?a.Ki=!0:!qB(a,a.adaptiveFormats)&&a.xe&&(a.Ki=!0)}; tB=function(a,b){var c;(c=!b)||(c=!(!rB(a)&&a.adaptiveFormats));if(c)return null;nB(a,"html5_enable_cobalt_experimental_vp9_decoder")&&(Wx=!0);c=sB(b);var d=a.Jc;var e=a.lengthSeconds,f=a.ya,k=a.Re,l=a.Va.experiments,m=Kga(c);d=f||k?Jga(c,k,d,l):3==m?Iga(c,d,e,l):Hga(c,d,e,l);0b)return!1}return!wB(a)||"ULTRALOW"!=a.latencyClass&&21530001!=xB(a)?window.AbortController?a.ia("html5_streaming_xhr")||a.ia("html5_streaming_xhr_manifestless")&&wB(a)?!0:!1:!1:!0}; zB=function(a){var b=wB(a),c=yB(a);return(a.hasSubfragmentedFmp4||a.uk)&&b?c&&vx()?3:2:a.defraggedFromSubfragments&&b?-1:1}; xB=function(a){return a.isLowLatencyLiveStream&&void 0!=a.ka&&5<=fy(a.ka)?21530001:a.liveExperimentalContentId}; jB=function(a){return ll()&&vB(a)?!1:!Gu()||a.Ox?!0:!1}; nia=function(a){a.Fc=!0;a.Ki=!1;if(!a.xe&&pB(a))Jfa(a.videoId).then(function(d){var e;a:{if(e=tB(a,a.adaptiveFormats))if(d=tB(a,d)){for(var f in d.o){var k=d.o[f],l=e.o[f];if(!l||k.lastModified(b?parseInt(b[1],10):NaN);if(c=!a.Qj)c=a.Va,c="TVHTML5_CAST"==c.deviceParams.c||"TVHTML5"==c.deviceParams.c&&c.deviceParams.cver.startsWith("6.20130725");c&&"MUSIC"==a.Va.deviceParams.ctheme&&!b&&(b="MUSIC_VIDEO_TYPE_PRIVATELY_OWNED_TRACK"=== a.musicVideoType,c=a.ia("cast_prefer_audio_only_for_atv_and_uploads")&&"MUSIC_VIDEO_TYPE_ATV"===a.musicVideoType,b||c)&&(a.Qj=!0);return!a.Va.deviceHasDisplay||a.Qj&&a.Va.A}; WB=function(a){return!!(a.ia("hoffle_save")&&a.adaptiveFormats&&a.fk&&a.Va.A)}; AB=function(a,b){if(a.fk!=b&&(a.fk=b)&&a.ka){var c=a.ka,d;for(d in c.o){var e=c.o[d];e.C=!1;e.o=null}}}; pB=function(a){var b;if(b=a.ia("hoffle_load")&&a.adaptiveFormats)b=a.videoId,b=!!b&&1===Ct(b);return!(!b||a.fk)}; XB=function(a){if(!a.ka||!a.Fa||!a.qc)return!1;var b=a.ka.o;return!!b[a.Fa.id]&&bx(b[a.Fa.id].u.o)&&!!b[a.qc.id]&&bx(b[a.qc.id].u.o)}; LB=function(a){return(a=a.Ui)&&a.showError?a.showError:!1}; YB=function(a){return a.ia("disable_rqs")?!1:nB(a,"html5_high_res_logging")}; nB=function(a,b){return a.ia(b)?!0:(a.Js||"").includes(b+"=true")}; qia=function(a){return(a=/html5_log_experiment_id_from_player_response_to_ctmp=([0-9]+)/.exec(a.Js))?a[1]:null}; gB=function(a,b){var c=b.video_masthead_ad_quartile_urls;c&&(a.rq=c.quartile_0_url,a.Zu=c.quartile_25_url,a.bv=c.quartile_50_url,a.dv=c.quartile_75_url,a.Xu=c.quartile_100_url,a.tq=c.quartile_0_urls,a.av=c.quartile_25_urls,a.cv=c.quartile_50_urls,a.ev=c.quartile_75_urls,a.Yu=c.quartile_100_urls)}; jA=function(a){return a?Gu()?!0:ZB&&5>$B?!1:!0:!1}; iA=function(a){var b={};(0,g.y)(a,function(c){var d=c.split("=");2==d.length?b[d[0]]=d[1]:b[c]=!0}); return b}; fA=function(a){if(a){if(Ww(a))return a;a=Xw(a);if(Ww(a,!0))return a}return""}; bC=function(a,b){g.z.call(this);var c=this;this.app=a;this.o=!0;this.B=null;this.F={};this.H={};this.A={};this.M=[];this.G={};this.C={};this.u=null;this.R=new Set;this.playerType=b;aC(this,"cueVideoById",this.cueVideoById);aC(this,"loadVideoById",this.loadVideoById);aC(this,"cueVideoByUrl",this.cueVideoByUrl);aC(this,"loadVideoByUrl",this.loadVideoByUrl);aC(this,"playVideo",this.playVideo);aC(this,"pauseVideo",this.pauseVideo);aC(this,"stopVideo",this.stopVideo);aC(this,"clearVideo",this.clearVideo); aC(this,"getVideoBytesLoaded",this.getVideoBytesLoaded);aC(this,"getVideoBytesTotal",this.getVideoBytesTotal);aC(this,"getVideoLoadedFraction",this.getVideoLoadedFraction);aC(this,"getVideoStartBytes",this.getVideoStartBytes);aC(this,"cuePlaylist",this.cuePlaylist);aC(this,"loadPlaylist",this.loadPlaylist);aC(this,"nextVideo",this.nextVideo);aC(this,"previousVideo",this.previousVideo);aC(this,"playVideoAt",this.playVideoAt);aC(this,"setShuffle",this.setShuffle);aC(this,"setLoop",this.setLoop);aC(this, "getPlaylist",this.TF);aC(this,"getPlaylistIndex",this.getPlaylistIndex);aC(this,"getPlaylistId",this.getPlaylistId);aC(this,"loadModule",this.loadModule);aC(this,"unloadModule",this.unloadModule);aC(this,"setOption",this.setOption);aC(this,"getOption",this.getOption);aC(this,"getOptions",this.getOptions);aC(this,"mute",this.mute);aC(this,"unMute",this.unMute);aC(this,"isMuted",this.isMuted);aC(this,"setVolume",this.setVolume);aC(this,"getVolume",this.getVolume);aC(this,"seekTo",this.seekTo);aC(this, "getPlayerState",this.getPlayerState);aC(this,"getPlaybackRate",this.getPlaybackRate);aC(this,"setPlaybackRate",this.setPlaybackRate);aC(this,"getAvailablePlaybackRates",this.getAvailablePlaybackRates);aC(this,"getPlaybackQuality",function(){return c.getPlaybackQuality(1)}); aC(this,"setPlaybackQuality",this.setPlaybackQuality);aC(this,"getAvailableQualityLevels",this.getAvailableQualityLevels);aC(this,"getCurrentTime",this.getCurrentTime);aC(this,"getDuration",this.getDuration);aC(this,"addEventListener",this.addEventListener);aC(this,"removeEventListener",this.removeEventListener);aC(this,"getDebugText",this.getDebugText);aC(this,"getVideoData",function(){return c.getVideoData()}); aC(this,"addCueRange",this.addCueRange);aC(this,"removeCueRange",this.removeCueRange);aC(this,"setSize",this.setSize);aC(this,"getApiInterface",this.getApiInterface);aC(this,"destroy",this.destroy);aC(this,"showVideoInfo",this.showVideoInfo);aC(this,"hideVideoInfo",this.hideVideoInfo);aC(this,"isVideoInfoVisible",this.isVideoInfoVisible);aC(this,"getSphericalProperties",this.getSphericalProperties);aC(this,"setSphericalProperties",this.setSphericalProperties);this.app.O().C||(aC(this,"getVideoEmbedCode", this.getVideoEmbedCode),aC(this,"getVideoUrl",this.getVideoUrl));aC(this,"getMediaReferenceTime",this.getMediaReferenceTime);T(this,"getInternalApiInterface",this.getInternalApiInterface);T(this,"cueVideoByPlayerVars",this.cueVideoByPlayerVars);T(this,"loadVideoByPlayerVars",this.loadVideoByPlayerVars);T(this,"preloadVideoByPlayerVars",this.preloadVideoByPlayerVars);T(this,"getAdState",this.getAdState);T(this,"sendAbandonmentPing",this.sendAbandonmentPing);T(this,"setLoopRange",this.setLoopRange); T(this,"getLoopRange",this.getLoopRange);T(this,"setAutonavState",this.setAutonavState);T(this,"seekToLiveHead",this.seekToLiveHead);T(this,"seekToStreamTime",this.seekToStreamTime);T(this,"getStreamTimeOffset",this.getStreamTimeOffset);T(this,"getVideoData",this.getVideoData);T(this,"setIsExternalPlaylist",this.setIsExternalPlaylist);T(this,"deleteLocalMediaById",this.deleteLocalMediaById);T(this,"deleteAllLocalMedia",this.deleteAllLocalMedia);T(this,"cancelPendingLocalMediaById",this.cancelPendingLocalMediaById); T(this,"fetchLocalMedia",this.fetchLocalMedia);T(this,"fetchLocalMediaById",this.fetchLocalMediaById);T(this,"getLocalMediaInfoById",this.getLocalMediaInfoById);T(this,"getAllLocalMediaInfo",this.getAllLocalMediaInfo);T(this,"getAppState",this.getAppState);T(this,"addInfoCardXml",this.addInfoCardXml);T(this,"updateLastActiveTime",this.updateLastActiveTime);T(this,"setBlackout",this.setBlackout);T(this,"setAccountLinkState",this.setAccountLinkState);T(this,"setUserEngagement",this.setUserEngagement); T(this,"updateSubtitlesUserSettings",this.updateSubtitlesUserSettings);T(this,"setFauxFullscreen",this.setFauxFullscreen);T(this,"setUseFastSizingOnWatch",this.setUseFastSizingOnWatch);T(this,"getPresentingPlayerType",this.getPresentingPlayerType);T(this,"canPlayType",this.canPlayType);T(this,"updatePlaylist",this.updatePlaylist);T(this,"updateVideoData",this.updateVideoData);T(this,"updateEnvironmentData",this.updateEnvironmentData);T(this,"sendVideoStatsEngageEvent",this.sendVideoStatsEngageEvent); T(this,"setCardsVisible",this.setCardsVisible);T(this,"setSafetyMode",this.setSafetyMode);T(this,"isInline",this.isInline);T(this,"setInline",this.setInline);T(this,"isAtLiveHead",function(d){c.isAtLiveHead(void 0,d)}); T(this,"getVideoAspectRatio",this.getVideoAspectRatio);T(this,"getPreferredQuality",this.getPreferredQuality);T(this,"setPlaybackQualityRange",this.setPlaybackQualityRange);T(this,"onAdUxClicked",this.onAdUxClicked);T(this,"setAutonav",this.setAutonav);T(this,"isNotServable",this.isNotServable);T(this,"channelSubscribed",this.channelSubscribed);T(this,"channelUnsubscribed",this.channelUnsubscribed);T(this,"isPictureInPictureAllowed",this.isPictureInPictureAllowed);T(this,"togglePictureInPicture", this.togglePictureInPicture);T(this,"supportsGaplessAudio",this.supportsGaplessAudio);T(this,"enqueueVideoByPlayerVars",function(d){return c.enqueueVideoByPlayerVars(d)}); T(this,"clearQueue",this.clearQueue);T(this,"isFastLoad",function(){return!1}); T(this,"getPlayerResponse",this.getPlayerResponse);T(this,"getStoryboardFrame",this.getStoryboardFrame);T(this,"getStoryboardFrameIndex",this.getStoryboardFrameIndex);T(this,"getStoryboardLevel",this.getStoryboardLevel);T(this,"getNumberOfStoryboardLevels",this.getNumberOfStoryboardLevels);T(this,"getAudioTrack",this.yF);T(this,"setAudioTrack",this.setAudioTrack);T(this,"getAvailableAudioTracks",this.zF);T(this,"getMaxPlaybackQuality",this.getMaxPlaybackQuality);T(this,"getUserPlaybackQualityPreference", this.getUserPlaybackQualityPreference);T(this,"getSubtitlesUserSettings",this.getSubtitlesUserSettings);T(this,"resetSubtitlesUserSettings",this.resetSubtitlesUserSettings);T(this,"setMinimized",this.setMinimized);T(this,"handleExternalCall",this.handleExternalCall);T(this,"isExternalMethodAvailable",this.isExternalMethodAvailable);T(this,"getStatsForNerds",this.getStatsForNerds);T(this,"setScreenLayer",this.setScreenLayer);T(this,"getCurrentPlaylistSequence",this.getCurrentPlaylistSequence);T(this, "getPlaylistSequenceForTime",this.getPlaylistSequenceForTime);T(this,"forceFrescaUpdate",this.forceFrescaUpdate);T(this,"shouldSendVisibilityState",this.shouldSendVisibilityState);T(this,"updateFullerscreenEduButtonVisibility",this.updateFullerscreenEduButtonVisibility);T(this,"updateFullerscreenEduButtonSubtleModeState",this.updateFullerscreenEduButtonSubtleModeState);T(this,"setGlobalCrop",this.setGlobalCrop);T(this,"getVisibilityState",this.getVisibilityState);T(this,"isMutedByMutedAutoplay",this.isMutedByMutedAutoplay); T(this,"setInternalSize",this.setInternalSize)}; aC=function(a,b,c){a.F[b]=function(d){for(var e=[],f=0;f=a.length?0:b}; vC=function(a){var b=a.index-1;return 0>b?a.length-1:b}; wC=function(a,b){a.index=g.Ud(b,0,a.length-1);a.startSeconds=0}; via=function(a,b){if(!a.Fc){a.listId=new g.rC("SR",b);var c={search_query:b};a.F&&(c.mob="1");a.loadPlaylist("/search_ajax?style=json&embeddable=1",c)}}; wia=function(a){if(!a.Fc){var b=b||a.listId;b={list:b};var c=a.Da();c&&c.videoId&&(b.v=c.videoId);a.loadPlaylist("/list_ajax?style=json&action_get_list=1",b)}}; xC=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.Da();a.items=[];for(var d=g.p(b.video),e=d.next();!e.done;e=d.next())if(e=e.value)e.video_id=e.encrypted_id,a.items.push(e);a.length=a.items.length;(d=b.index)?a.index=d:a.findIndex(c);a.setShuffle(!1);a.Fc=!1;a.loaded=!0;a.A++;a.o&&a.o()}}; yC=function(a,b){a.o=b;a.loaded&&g.Lo(a.o,0)}; zC=function(){}; g.AC=function(){g.z.call(this);this.A=null;this.G=this.F=!1;this.C=new g.nf;g.A(this,this.C)}; BC=function(a){a=a.km();return 1>a.length?NaN:a.end(a.length-1)}; CC=function(a,b){a.A&&null!==b&&b.o===a.A.o||(a.A&&a.A.dispose(),a.A=b)}; DC=function(a){return bu(a.Wd(),a.getCurrentTime())}; xia=function(a,b){if(0==a.De()||0a.o+.001&&b(d||!a.A?1500:400);a.o=b;a.B=c;return!1}; g.LC=function(a){return(a=zia[a.toString()])?a:"LICENSE"}; g.MC=function(a,b){this.o=a||64;this.u=void 0===b?null:b}; NC=function(a,b){return KC(a,b.getCurrentTime(),(0,g.N)(),DC(b))}; OC=function(a,b,c){return b==a.o&&c==a.u||void 0!=b&&(b&128&&!c||b&2&&b&16)?a:new g.MC(b,c)}; PC=function(a,b){return OC(a,a.o|b)}; QC=function(a,b){return OC(a,a.o&~b)}; RC=function(a,b,c){return OC(a,(a.o|b)&~c)}; g.U=function(a,b){return!!(a.o&b)}; g.SC=function(a,b){return b.o==a.o&&b.u==a.u}; g.TC=function(a){return g.U(a,8)&&!g.U(a,2)&&!g.U(a,1024)}; UC=function(a){return a.nb()&&!g.U(a,16)&&!g.U(a,32)}; Aia=function(a){return g.U(a,8)&&g.U(a,16)}; g.VC=function(a){return g.U(a,1)&&!g.U(a,2)}; WC=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}; XC=function(a,b){this.o=a;this.A=b;this.u=null;this.B=[];this.C=!1}; g.YC=function(a){a.u||(a.u=a.o.createMediaElementSource(a.A.xa()));return a.u}; g.ZC=function(a){for(var b;0=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 Uint8Array(b.length+f.length);k.set(b);k.set(f,b.length);b=k}d+=e}}return b}; Fia=function(a){a=Av(a,1886614376);(0,g.y)(a,function(b){return!b.u}); return(0,g.Jc)(a,function(b){return new Uint8Array(b.data.buffer,b.offset+b.data.byteOffset,b.size)})}; Gia=function(a){var b=(0,g.Ai)(a,function(e,f){return e+f.length},0),c=new Uint8Array(b),d=0; (0,g.y)(a,function(e){c.set(e,d);d+=e.length}); return c}; Hia=function(a,b){this.A=a;this.G=this.F=!1;this.length=b?b:0;this.u=0;this.B=null;this.o=[];this.C=null;this.length?1!=this.A.length||this.A[0].Ta||(this.A[0].Ta=this.length):1==this.A.length||(0,g.zi)(this.A,function(c){return!!c.range})}; Iia=function(a){return a.length-a.u+a.o.reduce(function(b,c){return b+c.o.getLength()},0)}; gD=function(a,b,c,d){var e=this;this.ci=a;this.u=c;this.loaded=this.status=0;this.error="";a=Zv(this.ci.get("range")||"");if(!a)throw Error("bad range");this.range=a;this.o=new lw;Jia(this).then(d,function(f){e.error=""+f||"unknown_err";d()}); b()}; Jia=function(a){return th(a,function c(){var d=this,e,f,k,l,m,n,q,t,u,w,B,D,E;return Aa(c,function(F){if(1==F.o){d.status=200;e=d.ci.get("docid");f=d.ci.get("fmtid");k=+(d.ci.get("csz")||0);if(!e||!f||!k)throw Error("Invalid local URL");l=d.range;m=Math.floor(l.start/k);n=Math.floor(l.end/k);q=m}if(5!=F.o)return q<=n?g.sa(F,Kfa(e,f,q),5):F.Nc(0);t=F.u;u=q*k;w=(q+1)*k;B=Math.max(0,l.start-u);D=Math.min(l.end+1,w)-(B+u);E=new Uint8Array(t.buffer,B,D);d.o.append(E);d.loaded+=D;d.loadedf?(a.A+=e,.2d&&(d=0);d=1E3*(d*a.snapshot.stall+d/a.snapshot.byterate);d=qD(a)?d+b:d+Math.max(b,c);a.M=d}; oD=function(a,b){for(var c="";4095>6&63)+"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_".charAt(a&63)+"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_".charAt(b>>6&63)+"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_".charAt(b&63))}; uD=function(a,b,c,d,e,f,k){var l=void 0===k?{}:k;k=void 0===l.method?"GET":l.method;var m=l.headers,n=l.body;l=void 0===l.credentials?"include":l.credentials;this.T=c;this.R=d;this.U=e;this.policy=f;this.status=0;this.response=void 0;this.L=!1;this.u=0;this.H=NaN;this.aborted=this.F=this.M=!1;this.errorMessage="";this.method=k;this.headers=m;this.body=n;this.credentials=l;this.o=new lw;this.id=Nia++;this.B=window.AbortController?new AbortController:void 0;this.start(a);this.startTime=Date.now();b()}; vD=function(a){a.A.read().then(a.SK.bind(a),a.onError.bind(a)).then(void 0,g.M)}; xD=function(a){if(!a.ha()){a.M=!0;if(wD(a)&&!a.o.getLength()&&!a.F&&a.u){wx(a);var b=new Uint8Array(8),c=new DataView(b.buffer);c.setUint32(0,8);c.setUint32(4,1936419184);a.o.append(b);a.u+=b.length}a.R()}}; wD=function(a){var b=a.Qc("content-type");b="audio/mp4"===b||"video/mp4"===b;return a.policy.o&&a.policy.Hd&&wx(a)&&b}; yD=function(a,b,c,d,e){var f=this;this.status=0;this.ha=this.u=!1;this.o=NaN;this.xhr=new XMLHttpRequest;this.xhr.open("GET",a);this.xhr.responseType="arraybuffer";this.xhr.withCredentials=!0;this.xhr.onreadystatechange=function(){2===f.xhr.readyState&&f.C()}; this.A=d;this.B=c;this.C=e;a=Jo(function(){if(!f.ha){f.status=f.xhr.status;try{f.response=f.xhr.response,f.o=f.response.byteLength}catch(k){}f.u=!0;f.A()}}); this.xhr.addEventListener("load",a,!1);this.xhr.addEventListener("error",a,!1);this.xhr.send();b();this.xhr.addEventListener("progress",Jo(function(k){f.ha||(f.status=f.xhr.status,f.B(k.timeStamp,k.loaded))}),!1)}; zD=function(a,b,c,d){this.u=a;this.info=b;this.timing=c;this.ga=d;this.state=1;this.o=this.ea=null;this.G=this.M=0;this.ba=new g.I(this.vO,a.L,this);this.C=this.B=this.H=null;this.F=0;this.T=this.A=null;this.U=0;this.ra=this.R=!1;this.L=this.u.Ma&&(qx(this.info)||this.info.ue());this.fa=!1;this.aa=this.Z=null}; Oia=function(a,b){a.ha();a.H=b}; AD=function(a){return a.B?ax(a.B.ff):""}; BD=function(a){var b=iD(a.timing);b.shost=AD(a);b.rn=a.M.toString();a.F&&(b.rc=a.F.toString());b.itag=""+kt(a.info.o[0].o.info);b.ml=""+ +a.info.o[0].o.Ad();b.sq=""+a.info.o[0].u;if(a.B){var c=a.B.ff;$w(c);var d=decodeURIComponent(c.get("mn")||"").split(",");b.ifi=""+ +("/videoplayback"===c.path&&1=d.getLength()&&(c=tw(d),c=Cv(c),c=Tw(c)?c:"")}if(c){d=CD(a);(0,g.N)();d.started=0;d.u=0;d.o=0;d=a.info;var e=a.B;g.nx(d.u,e,c);d.requestId=e.get("req_id");return 5}c=b.Gp();if((d=!!a.T&&a.T.length)&&d!=c||b.gv())return a.C="net.closed",7;ED(a,!0);if(a.u.Gw&&!d&&a.A&&(d=a.A.o,d.length&&!zw(d[0])))return a.C="net.closed",7;var f=FD(a)? b.Qc("X-Bandwidth-Est"):0;if(d=FD(a)?b.Qc("X-Bandwidth-Est3"):0)a.ra=!0,a.u.iD&&(f=d);d=a.timing;e=(0,g.C)();f=f?parseInt(f,10):0;if(!d.ba){d.ba=!0;if(!d.jg){e=e>d.o&&4E12>e?e:(0,g.C)();pD(d,e,c);nD(d,e,c);var k=jD(d);if(2===k&&f)mD(d,d.u/f,d.u);else if(2===k||1===k)f=(e-d.o)/1E3,(f<=d.schedule.L.o||!d.schedule.L.o)&&!d.ea&&qD(d)&&mD(d,f,c),qD(d)&&(f=d.schedule,c=Math.max(c,2048),f.o.A(1,d.A/c),Dy(f));wy(d.schedule,(e-d.o)/1E3,d.u,d.T,d.ue,d.hj)}d.deactivate()}c=CD(a);(0,g.N)();c.started=0;c.u=0; c.o=0;a.info.u.u=0;(0,g.N)()c.indexOf("googlevideo.com")||(g.Qs("yt-player-bandaid-host",{jO:c},432E3),GD=(0,g.N)());return 6}; ID=function(a){if("net.timeout"==a.C){var b=a.timing,c=(0,g.C)();if(!b.jg){c=c>b.o&&4E12>c?c:(0,g.C)();pD(b,c,1024*b.R);var d=(c-b.o)/1E3;if(2!==jD(b))if(qD(b)){b.A+=(c-b.B)/1E3;var e=b.schedule,f=b.u;f=Math.max(f,2048);e.o.A(1,b.A/f);Dy(e)}else lD(b)||b.jg||(e=b.schedule,e.C.A(1,d),Dy(e)),b.U=c;wy(b.schedule,d,b.u,b.T,b.ue,b.hj);zy(b.schedule,(c-b.B)/1E3,0)}}else(0,g.C)();"net.nocontent"!=a.C&&("net.timeout"==a.C||"net.connect"==a.C?(b=CD(a),b.u+=1):(b=CD(a),b.o+=1),a.info.u.u++);HD(a,7)}; JD=function(a){a.ha();if(1==a.state)return!0;var b=CD(a);return 100>b.u&&b.o=c)}; Qia=function(a,b){var c=(0,g.x)(a.SI,a),d=(0,g.x)(a.TN,a),e=(0,g.x)(a.TI,a),f=(0,g.x)(a.SN,a);return bx(a.B.ff)?new gD(a.B,d,e,c):ND(a)?new uD(b,d,e,c,f,a.u.B):new yD(b,d,e,c,f)}; ND=function(a){return a.u.ga?a.u.ow&&!isNaN(a.info.Od)&&a.info.Od>a.u.wo?!1:vx():!1}; MD=function(a){return a.o?a.o.Rq():!1}; OD=function(a){return 2>a.state||!a.A?!1:a.A.o.length||a.u.ra&&a.o&&a.o.vf()?!0:!1}; Ria=function(a){PD(a);return a.A.o}; PD=function(a){a.u.ra&&a.o&&a.o.vf()&&ED(a,!1)}; ED=function(a,b){if(b||MD(a)&&!DD(a)){if(!a.A){if(MD(a))a.info.range&&(c=a.info.range.length);else var c=a.o.Gp();a.A=new Hia(a.info.o,c)}for(;a.o.vf();)a:{c=a.A;var d=a.o.Hp(),e=b&&!a.o.vf();c.B&&(nw(c.B,d),d=c.B,c.B=null);for(var f=0,k=0,l=g.p(c.A),m=l.next();!m.done;m=l.next())if(m=m.value,m.range&&f+m.Ta<=c.u)f+=m.Ta;else{d.getLength();if(cw(m)&&!e&&c.u+d.getLength()-ka.info.o[0].u)return!1}return!0}; QD=function(a,b,c){this.initData=a;this.contentType=(void 0===b?"":b)||null;this.isPrefetch=void 0===c?!1:c;this.o=this.cryptoPeriodIndex=NaN;this.u=[];this.Mc=!1}; RD=function(a){a:{var b=a.initData;try{for(var c=0,d=new DataView(b.buffer);c=e)break;if(1886614376==d.getUint32(c+4)){var f=32;if(0=a.o.getLength())throw Error();return vw(a.o,a.offset++)}; UD=function(a,b){var c=TD(a);if(1===c){c=-1;for(var d=0;7>d;d++){var e=TD(a);-1===c&&255!==e&&(c=0);-1e&&d>c;e++)c=256*c+TD(a),d*=128;return b?c:c-d}; VD=function(a,b,c){g.O.call(this);var d=this;this.C=a;this.u=[];this.o=null;this.R=-1;this.H=0;this.U=NaN;this.M=0;this.A=b;this.ma=c;this.F=NaN;this.ba=0;this.ea=-1;this.B=this.L=this.fa=this.Z=this.ga=this.G=this.T=null;this.C.A&&(this.B=new Bia(this.C,this.A),this.B.M.o.then(function(e){d.B=null;1==e&&d.S("localmediachange",e)},function(){d.B=null; d.S("localmediachange",4)}),Cia(this.B)); this.ra=!1;this.aa=0}; WD=function(a){return a.u.length?a.u[0]:null}; XD=function(a){return a.u.length?a.u[a.u.length-1]:null}; dE=function(a,b,c){a.ga&&!fw(a.ga,c.info)&&(a.F=NaN,a.ba=0,a.ea=-1);a.ga=c.info;a.A=c.info.o;0==c.info.A?YD(a):!a.A.se()&&a.G&&jw(c.info,a.G);a.o?(c=Aw(a.o,c),a.o=c):a.o=c;a:{c=g.ot(a.o.info.o.info);if(3!=a.o.info.type){if(!a.o.info.B)break a;6==a.o.info.type?ZD(a,b,a.o):$D(a,a.o);a.o=null}for(;a.o;){var d=a.o.o.getLength();if(0>=a.R&&0==a.H){var e=a.o.o,f=-1,k=-1;if(c){for(var l=0;l+8k&& (f=-1)}else{e=new SD(e);for(m=l=!1;;){n=e.offset;var q=e;try{var t=UD(q,!0),u=UD(q,!1);var w=t;var B=u}catch(E){B=w=-1}q=w;var D=B;if(0>q)break;if(408125543!==q)if(524531317===q)l=!0,0<=D&&(k=e.offset+D,m=!0);else{if(l&&(160===q||163===q)&&(0>f&&(f=n),m))break;163===q&&(f=Math.max(0,f),k=e.offset+D);if(160===q){0>f&&(k=f=e.offset+D);break}e.skip(D)}}0>f&&(k=-1)}if(0>f)break;a.R=f;a.H=k-f}if(a.R>d)break;a.R?(d=aE(a,a.R),d.A&&!a.A.se()&&bE(a,d),ZD(a,b,d),cE(a,d),a.R=0):a.H&&(d=aE(a,0>a.H?Infinity:a.H), a.H-=d.o.getLength(),cE(a,d))}}a.o&&a.o.info.B&&(cE(a,a.o),a.o=null)}; $D=function(a,b){!a.A.se()&&0==b.info.A&&(g.ot(b.info.o.info)||b.info.o.info.Mc())&&Gw(b);if(1==b.info.type)try{bE(a,b),eE(a,b)}catch(d){g.M(d);var c=hw(b.info);c.hms="1";a.S("error",c||{})}b.info.o.Po(b);a.B&&fD(a.B,b)}; Tia=function(a){var b=a.u.reduce(function(c,d){return c+d.o.getLength()},0); a.o&&(b+=a.o.o.getLength());return b}; fE=function(a){return(0,g.Jc)(a.u,function(b){return b.info})}; gE=function(a){a.L&&!a.C.Id&&a.S("placeholderrollback",a.L);a.L=null;a.G=null;a.ga=a.fa;a.F-=a.M;YD(a)}; aE=function(a,b){var c=a.o,d=Math.min(b,c.o.getLength());if(d==c.o.getLength())return a.o=null,c;c.o.getLength();d=Math.min(d,c.info.Ta);var e=c.o.split(d),f=e.To;e=e.Nj;var k=new bw(c.info.type,c.info.o,c.info.range,c.info.H,c.info.u,c.info.startTime,c.info.duration,c.info.A,d,!1,!1);f=new xw(k,f,c.A);c=new bw(c.info.type,c.info.o,c.info.range,c.info.H,c.info.u,c.info.startTime,c.info.duration,c.info.A+d,c.info.Ta-d,c.info.C,c.info.B);c=new xw(c,e,!1);c=[f,c];a.o=c[1];return c[0]}; bE=function(a,b){b.o.getLength();var c=yw(b);if(!a.C.OD&&nt(b.info.o.info)&&"bt2020"==b.info.o.info.Da().primaries){var d=new Dv(c);Fv(d,[408125543,374648427,174,224,21936,21937])&&(d=d.A+d.o,129==c.getUint8(d)&&1==c.getUint8(d+1)&&c.setUint8(d+1,9))}d=b.info.o.info;mt(d)&&!nt(d)&&(d=yw(b),Lv(new Dv(d)),Kv([408125543,374648427,174,224],21936,d));b.info.o.info.isVideo()&&(d=b.info.o,d.info&&d.info.video&&4==d.info.video.projectionType&&!d.B&&(g.ot(d.info)?d.B=$fa(c):d.info.Mc()&&(d.B=cga(c))));b.info.o.info.Mc()&& b.info.isVideo()&&(c=yw(b),Lv(new Dv(c)),Kv([408125543,374648427,174,224],30320,c)&&Kv([408125543,374648427,174,224],21432,c));if(a.A.info.audio&&g.ot(b.info.o.info)){d=yw(b);c=g.nv(d,0,1701606260);var e=g.nv(d,0,1836476516);if(c&&e){c.skip(2);var f=bv(c),k=dv(c);d=[];var l=[],m=[],n=[];if(f)for(f=0;fm||(e&&b.skip(4),f&&b.skip(4),e=dv(b),b.skip((m-1)*(4+(k?4:0)+(l?4:0)+(d?4:0))-4),b.data.setUint32(b.offset+b.o,e))}}if(b=a.T&&!!a.T.A.A)if(b=c.info.isVideo())b=Fw(c),k=a.T,hE?(l=1/b,b=iE(a,b)>=iE(k)+l):b=a.getDuration()>=k.getDuration(),b=!b;b&&a.A.se()&&c.info.u==c.info.o.index.qb()&&(b= a.T,hE?(l=Fw(c),k=1/l,l=iE(a,l),b=iE(b)+k-l):b=b.getDuration()-a.getDuration(),b=1+b/c.info.duration,ov(yw(c),b))}else{k=!1;a.G||(Gw(c),c.u&&(a.G=c.u,k=!0,jw(c.info,c.u),e=c.info.o.info,d=yw(c),g.ot(e)?zv(d,1701671783):e.Mc()&&Kv([408125543],307544935,d)));if(d=e=Ew(c))d=c.info.o.info.Mc()&&160==vw(c.o,0);if(d)a.M+=e,a.F=l+e;else{if(a.C.xw){if(l=f=a.ma(Bw(c),1),0<=a.F&&6!=c.info.type){f-=a.F;m=f-a.ba;d=c.info.u;var n=c.info.G;var q=a.Z?a.Z.u:-1;var t=a.Z?a.Z.G:-1;1E-4a.C.Vc||(l=a.F),a.C.uw&&a.T&&!a.A.info.audio&&g.ot(c.info.o.info)&&(q=a.T,n=q.ea,q=q.ba,t=.02n&&d>a.ea)&&t&&(d=Math.max(.95,Math.min(1.05,(e-(q-f))/e)),ov(yw(c),d),d=Ew(c),m=e-d,e=d)));a.ba=f+m}}else isNaN(a.F)?f=c.info.startTime:f=a.F,l=f;Cw(c,l)?(isNaN(a.U)&&(a.U=l),a.M+=e,a.F=l+e):(l=hw(c.info),l.smst= "1",a.S("error",l||{}))}if(k&&a.G){k=jE(a,!0);kw(c.info,k);a.o&&kw(a.o.info,k);b=g.p(b.info.o);for(l=b.next();!l.done;l=b.next())kw(l.value,k);(c.info.B||a.o&&a.o.info.B)&&6!=c.info.type||(a.L=k,a.S("placeholderinfo",k),kE(a))}}eE(a,c);a.aa&&Dw(c,a.aa);a.Z=c.info}; cE=function(a,b){if(b.info.B){a.fa=b.info;if(a.G){var c=jE(a,!1);a.S("segmentinfo",c);a.L||kE(a);a.L=null}YD(a)}a.B&&fD(a.B,b);if(c=XD(a))if(c=Aw(c,b,a.C.Il)){a.u.pop();a.u.push(c);return}a.u.push(b)}; YD=function(a){a.o=null;a.R=-1;a.H=0;a.G=null;a.U=NaN;a.M=0;a.L=null}; eE=function(a,b){if(a.A.info.Jc){if(b.info.o.info.Mc()){var c=new Dv(yw(b));if(Fv(c,[408125543,374648427,174,28032,25152,20533,18402])){var d=Iv(c,!0);c=16!=d?null:Pv(c,d)}else c=null;d="webm"}else b.info.L=Fia(yw(b)),c=Gia(b.info.L),d="cenc";c&&c.length&&(c=new QD(c,d),c.Mc=b.info.o.info.Mc(),b.u&&b.u.cryptoPeriodIndex&&(c.cryptoPeriodIndex=b.u.cryptoPeriodIndex),a.C.Kl&&b.u&&b.u.C&&(c.o=b.u.C),a.S("needkeyinfo",c))}}; kE=function(a){var b=a.G,c;b.o["Cuepoint-Type"]?c=new hv(lE?parseFloat(b.o["Cuepoint-Playhead-Time-Sec"])||0:-(parseFloat(b.o["Cuepoint-Playhead-Time-Sec"])||0),parseFloat(b.o["Cuepoint-Total-Duration-Sec"])||0,b.o["Cuepoint-Context"],b.o["Cuepoint-Identifier"]||"",Uia[b.o["Cuepoint-Event"]||""]||"unknown",1E3*(parseFloat(b.o["Cuepoint-Playhead-Time-Sec"])||0)):c=null;c&&(c.startSecs+=a.U,a.S("cuepoint",c,b.u))}; jE=function(a,b){var c=a.G;if(c.o["Stitched-Video-Id"]||c.o["Stitched-Video-Duration-Us"]||c.o["Stitched-Video-Start-Frame-Index"]||c.o["Serialized-State"]){var d=c.o["Stitched-Video-Id"]?c.o["Stitched-Video-Id"].split(",").slice(0,-1):[];var e=[];if(c.o["Stitched-Video-Duration-Us"])for(var f=g.p(c.o["Stitched-Video-Duration-Us"].split(",").slice(0,-1)),k=f.next();!k.done;k=f.next())e.push((parseInt(k.value,10)||0)/1E6);e=[];if(c.o["Stitched-Video-Start-Frame-Index"])for(f=g.p(c.o["Stitched-Video-Start-Frame-Index"].split(",").slice(0, -1)),k=f.next();!k.done;k=f.next())e.push(parseInt(k.value,10)||0);d=new Xfa(d,c.o["Serialized-State"]?c.o["Serialized-State"]:"")}return new Xu(c.u,a.U,b?c.Ye:a.M,c.ingestionTime,"sq/"+c.u,void 0,void 0,b,d)}; iE=function(a,b){b=void 0===b?0:b;var c=b?Math.round(a.aa*b)/b:a.aa;a.A.A&&c&&(c+=a.A.A.o);return c+a.getDuration()}; mE=function(a,b){0>b||(a.u.forEach(function(c){return Dw(c,b)}),a.aa=b)}; nE=function(a,b,c){this.Z=a;this.o=b;this.B=[];this.A=new VD(a,b,c);this.u=this.G=null;this.U=0;this.R=b.info.o;this.T=0;this.H=b.Bk();this.F=-1;this.aa=b.Bk();this.C=this.H;this.M=!1;this.L=-1}; oE=function(a,b){b&&hE&&mE(a.A,b.Xs());a.G=b}; pE=function(a){return a.G&&a.G.Ss()}; rE=function(a){for(;a.B.length&&6==a.B[0].state;){var b=a.B.shift();qE(a,b);b=b.timing;a.U=(b.B-b.o)/1E3}a.B.length&&OD(a.B[0])&&!a.B[0].info.ue()&&qE(a,a.B[0])}; qE=function(a,b){if(OD(b)){b.R=!0;PD(b);var c=b.A,d=c.o;c.o=[];c.C=g.Xa(d).info;c=g.p(d);for(d=c.next();!d.done;d=c.next())sE(a,b,d.value)}}; sE=function(a,b,c){switch(c.info.type){case 1:case 2:$D(a.A,c);break;case 4:var d=c.info.o.Vz(c);c=c.info;var e=a.u;e&&e.o==c.o&&e.type==c.type&&(c.range&&e.range?e.range.start==c.range.start&&e.range.end==c.range.end:e.range==c.range)&&e.u==c.u&&e.A==c.A&&e.Ta==c.Ta&&(a.u=g.Xa(d).info);d=g.p(d);for(c=d.next();!c.done;c=d.next())sE(a,b,c.value);break;case 3:dE(a.A,b,c);break;case 6:dE(a.A,b,c),a.u=c.info}}; tE=function(a){return WD(a.A)}; uE=function(a,b){var c=b.info;c.o.info.o>=a.R&&(a.R=c.o.info.o)}; yE=function(a,b,c){c=void 0===c?!1:c;if(a.G){var d=a.G.Md(),e=$t(d,b),f=NaN,k=pE(a);k&&(f=$t(d,k.o.index.Cd(k.u)));if(e==f&&a.u&&a.u.Ta&&vE(wE(a),0))return b}a=xE(a,b,c);return 0<=a?a:NaN}; AE=function(a,b){a.o.Ad();var c=xE(a,b);if(0<=c)return c;c=a.A;c.B?(c=c.B,c=c.o&&3==c.o.type?c.o.startTime:0):c=Infinity;b=Math.min(b,c);a.u=a.o.Ug(b).o[0];zE(a)&&a.G&&a.G.abort();a.T=0;return a.u.startTime}; BE=function(a){a.H=!0;a.C=!0;a.F=-1;AE(a,Infinity)}; CE=function(a){var b=0;(0,g.y)(a.B,function(c){var d=b;c=c.A&&c.A.length?Iia(c.A):sx(c.info);b=d+c},a); return b+=Tia(a.A)}; DE=function(a,b){if(!a.G)return 0;var c=pE(a);if(c&&c.C)return c.F;c=a.G.Md(!0);return bu(c,b)}; FE=function(a){EE(a);a=a.A;a.u=[];YD(a)}; GE=function(a,b){var c;for(c=0;c=a.L:c}; wE=function(a){var b=[],c=pE(a);c&&b.push(c);b=g.kb(b,fE(a.A));(0,g.y)(a.B,function(d){(0,g.y)(d.info.o,function(e){d.R&&(b=(0,g.Be)(b,function(f){return!(f.o!=e.o?0:f.range&&e.range?f.range.start+f.A>=e.range.start+e.A&&f.range.start+f.A+f.Ta<=e.range.start+e.A+e.Ta:f.u==e.u&&f.A>=e.A&&(f.A+f.Ta<=e.A+e.Ta||e.B))})); (dw(e)||4==e.type)&&b.push(e)})}); a.u&&!fga(a.u,g.Xa(b),a.u.o.se())&&b.push(a.u);return b}; vE=function(a,b){if(!a.length)return!1;for(var c=b+1;c=b){b=f;break a}}b=e}return 0>b?NaN:vE(a,c?b:0)?a[b].startTime:NaN}; HE=function(a){return qj(a.B,function(b){return 4<=b.state})}; IE=function(a){return!(!a.u||a.u.o==a.o)}; JE=function(a){return IE(a)&&a.o.Ad()&&a.u.o.info.ob&&a.F=f&&a.Ba.F?(a.F++,WE(a,"iterativeSeeking","inprogress;count."+a.F+";target."+ a.B+";actual."+f+";duration."+k+";isVideo."+c,!1),a.seek(a.B)):(WE(a,"iterativeSeeking","incomplete;count."+a.F+";target."+a.B+";actual."+f,!1),a.F=0,a.u.C=!1,a.o.C=!1,a.S("seekplayerrequired",f+.1,!0)))}})}; Xia=function(a,b,c){if(!a.A)return-1;c=(c?a.u:a.o).o.index;var d=c.tf(a.B);return(Ax(c,a.C.Pc)||b.Qa==a.C.Pc)&&d=c||(c=new hv(a.o.Ld.startSecs-(a.C.Bb&&!isNaN(a.A)?a.A:0),c,a.o.Ld.context,a.o.Ld.identifier,"stop",a.o.Ld.o+1E3*b.duration),a.S("ctmp","cuepointdiscontinuity","segNum."+b.Qa,!1),a.H(c,b.Qa))}}; Zia=function(a,b,c,d){this.aa=a;this.G=b;this.F=c;this.H=d;this.B=Qu;this.C=this.L=null;this.T=-1;this.u=this.A=null;this.o=[];this.Z={};this.M=0;this.R=this.ba=!1;this.U=0}; bja=function(a,b,c){bF(a,b);$ia(a,c);a.L=a.A;aja(a);a.C=a.u;return cF(a)}; cja=function(a,b){if(Nu(a.B,b))return null;if("m"==b.reason&&b.isLocked())return bF(a,b),a.M=a.o.length-1,dF(a),eF(a),a.R=a.R||a.C!=a.u,a.C=a.u,new $C(a.A,a.C,b.reason);"r"==b.reason&&(a.T=-1);bF(a,b);eF(a);if("r"==b.reason&&a.u==a.C)return new $C(a.A,a.u,b.reason);if(a.C&&a.u&&fF(a,a.C.info)b)return!0;return!1}; eja=function(a){return new $C(a.L,a.C,a.B.reason)}; iF=function(a){return a.B.isLocked()}; fja=function(a){return 0this.G.M)return!1;l=this.F.o[l.id];return l.L>d?!1:4k.video.width?(g.fb(e,c),c--):fF(a,f)*a.G.o>fF(a,k)&&(g.fb(e,c-1),c--)}c=e[e.length-1];a.o=e;hga(a.G,c)}; $ia=function(a,b){if(b)a.A=a.F.o[b];else{var c=g.$a(a.H.o,function(d){return!!d.zb&&d.zb.isDefault}); c=c||a.H.o[0];a.A=a.F.o[c.id]}dF(a)}; jF=function(a,b){for(var c=0;c+1d}; dF=function(a){if(!a.A||!a.G.A)if(!a.A||!a.A.info.zb)if(a.A=a.F.o[a.H.o[0].id],1a.B.o:jF(a,a.A);b&&(a.A=a.F.o[g.Xa(a.H.o).id])}}; eF=function(a){if(!a.u||!a.G.A)if(iF(a))a.u=360>=a.B.o?a.F.o[a.o[0].id]:a.F.o[g.Xa(a.o).id];else{for(var b=Math.min(a.M,a.o.length-1),c=SE(a.aa),d=fF(a,a.A.info),e=c/a.G.u-d;0=c);b++);a.u=a.F.o[a.o[b].id];a.M=b}}; aja=function(a){var b=a.G.u,c=SE(a.aa)/b-fF(a,a.A.info);b=g.ab(a.o,function(d){return fF(this,d)b&&(b=0);a.M=b;a.u=a.F.o[a.o[b].id]}; fF=function(a,b){if(!a.Z[b.id]){var c=a.F.o[b.id].index.zy(a.U,15);c=b.A&&a.C&&a.C.index.Nb()?c||b.A:c||b.o;a.Z[b.id]=c}c=a.Z[b.id];a.G.Le&&b.video&&b.video.xc>a.G.Le&&(c*=1.5);return c}; gja=function(a,b){var c=Ob(a.F.o,function(d){return kt(d.info)==b}); if(!c)throw Error("Itag "+b+" from server not known.");return c}; hja=function(a){var b=[];if("m"==a.B.reason||"s"==a.B.reason)return b;var c=!1;if(Gga(a.F)){for(var d=Math.max(0,a.M-2);d=c)a.L=NaN;else{var d=By(a.Z),e=b.index.o;c=Math.max(1,d/c);a.L=Math.round(1E3*Math.max(((c-1)*e+a.o.R)/c,e-a.o.wb))}}}; jja=function(a,b){var c=(0,g.C)()/1E3,d=c-a.F,e=c-a.H,f=e>=a.o.Cg,k=!1;if(f){var l=0;!isNaN(b)&&b>a.G&&(l=b-a.G,a.G=b);l/e=a.o.wb&&!a.B;if(!f&&!c&&nF(a,b))return NaN;c&&(a.B=!0);a:{d=k;c=(0,g.C)()/1E3-(a.U.o()||0)-a.M.A-a.o.R;f=a.A.startTime;c=f+c;if(d){if(isNaN(b)){oF(a,NaN,"n",b);f=NaN;break a}d=b-a.o.ob;dc)break}return d}; sF=function(a,b){for(var c=[],d=g.p(a.o),e=d.next();!e.done&&!(e=e.value,e.contains(b)&&c.push(e),e.start>b);e=d.next());return c}; mja=function(a){return a.o.slice(rF(a,0x7ffffffffffff),a.o.length)}; rF=function(a,b){var c=ub(a.o,function(d){return b-d.start||1}); return 0>c?-(c+1):c}; tF=function(a,b){for(var c=NaN,d=g.p(a.o),e=d.next();!e.done;e=d.next())if(e=e.value,e.contains(b)&&(isNaN(c)||e.endb&&(isNaN(c)||e.starta.o.length)a.o=a.o.concat(b),a.o.sort(a.u);else for(var c=g.p(b),d=c.next();!d.done;d=c.next())d=d.value,!a.o.length||0l.end:!l.contains(c))&&f.push(l);e=e.concat(AF(a,f));k=f=null;d?(b=sF(a.o,0x7ffffffffffff),f=b.filter(function(m){return 0x8000000000000>m.end}),k=mja(a.o)):b=a.B<=c&&UC(b)?lja(a.o,a.B,c):sF(a.o,c); e=e.concat(zF(a,b));f&&(e=e.concat(AF(a,f)));k&&(e=e.concat(zF(a,k)));a.B=c;oja(a,e)}}; oja=function(a,b){for(var c=g.p(b),d=c.next();!d.done;d=c.next()){d=d.value;var e=d[1];1===d[0]?a.M(g.qC(e.namespace),e):a.M("crx_"+e.namespace,e)}}; nja=function(a){return g.U(a.H(),2)?0x8000000000000:1E3*a.R()}; qja=function(a){a=void 0===a?{}:a;var b=a.Hd,c=a.tn,d=a.qb,e=a.lk;this.Ng=a.Ng;this.Hd=b;this.tn=c;this.qb=d;this.lk=e}; BF=function(a,b){if(0>b)return!0;var c=a.qb();return bb)return 1;c=a.qb();return b(0,g.N)()-d.T;var f=d.u&&3*fF(d,d.u.info)=a.o.po&&!a.o.fb||!a.o.YA&&0=a.o.Co)return!1;d=b.u;if(!d)return!0;if(!mx(d.o.u))return!1;4==d.type&&d.o.Ad()&&(b.u=g.Xa(d.o.Eq(d)),d= b.u);if(!d.C&&!d.o.ih(d))return!1;var e=a.C.Re||a.C.G;if(a.C.u&&e){e=b.o.index.qb();var f=c.o.index.qb();e=Math.min(e,f);if(0=e)return b.L=e,c.L=e,!1}if(d.o.info.audio&&4==d.type)return!1;if(JE(b)&&!a.o.fa)return!0;if(d.C||CE(b)&&CE(b)+CE(c)>a.o.za)return!1;e=!b.C&&!c.C;f=b==a.u&&a.U;if(!(c=!!(c.u&&!c.u.C&&c.u.Fa}return c?!1:(b=b.G)&&b.isLocked()?!1:!0}; OF=function(a,b,c){if((!a.A||ku(a.A)||pu(a.A))&&!a.M.A&&a.G.ba){var d=a.F;a=a.R;c=QE(a,b.o.info.o,c.o.info.o,0);var e=yy(a.u)+c/By(a.u);d+=Math.max(e,e+a.o.cd-c/b.o.info.o);a:{if(b.B.length){if(b.B[0].info.o[0].startTime<=d)break a;EE(b)}a=b.A;for(c=a.u.length-1;0<=c;c--)a.u[c].info.startTime>d&&a.u.pop();b.B.length?b.u=g.Xa(g.Xa(b.B).info.o):b.A.u.length?b.u=XD(b.A).info:b.u=pE(b);b.u&&dc.o[0].u)a.Rc("invalidsq",iw(c.o[0]));else{if(a.Oa){var d=xja(a.Oa.o,c.o[0].G,c.o[0].u,c.o[0].o.info.id);d&&(c.C=d)}a.o.Jl&&-1!=c.o[0].u&&c.o[0].ud.u&&(c=hw(d),c.pr=""+b.B.length,a.M.A&&(c.sk="1"),a.Rc("nosq",d.H+";"+eu(c))),d=k.Kh(d));a.U&&d.o.forEach(function(l){l.type=6}); return d}; yja=function(a,b,c){if(!IE(b)||!b.o.Ad())return!1;a=Math.min(15,.5*MF(a,b,!0));return JE(b)||c<=a}; zja=function(a,b,c){b=a.o.tj(a,b);if(b.range&&1d&&(b=a.o.tj(a,b.range.length-c.Ta))}return b}; Aja=function(a,b){var c=sx(b),d=a.R;var e=Math.min(2.5,yy(d.u));d=RE(d);e=c-e*d;d=cw(b.o[0]);var f=bx(b.u.o),k=a.o.G,l;a.Ma?l={ue:d,jg:f,hj:k,ng:a.Ma,Qa:b.o[0].u,Od:b.Od}:l={ue:d,jg:f,hj:k};return new hD(a.T,c,e,l)}; PF=function(a,b){dw(b.o[b.o.length-1])&&SF(a,dja(a.G,b.o[0].o));var c=Aja(a,b);a.o.Qn&&(c.C=[]);var d=new zD(a.o,b,c,a.ra);c.Z=function(){var e;if(Sia(d)){if(e=d.u.Kn&&!(!window.performance||!window.performance.now)&&d.o&&d.o.tk()&&MD(d))e=d.o,e=e.policy.Hd&&wx(e);e=e?d.info.o[0].o.info.video?3:4:2}else e=1;return e}; Oia(d,(0,g.x)(a.VM,a));3==b.o.length&&1==b.o[0].type&&2==b.o[1].type&&4==b.o[2].type&&b.o[0].o.info.video&&(d.ea=hja(a.G));a.U&&(d.fa=!0);d.start(Math.max(0,b.o[0].G-a.F));return d}; SF=function(a,b){b&&a.S("videoformatchange",b)}; TF=function(a,b){var c=b.info.o[0].o,d=c.info.video?a.u:a.B;Bja(a,d,b);b.info.ue()&&!px(b.info)&&((0,g.y)(Ria(b),function(e){$D(d.A,e)}),a.S("metadata",c)); rE(d);return!!tE(d)}; Bja=function(a,b,c){if(a.C.u&&b){b.H&&(c.ha(),5<=c.state||MD(c)||OD(c),b.H=!1);c.U&&a.ua.A(1,c.U);c.o&&(c.Z=parseInt(c.o.Qc("X-Head-Seqnum"),10));b=c.Z;c.o&&(c.aa=parseInt(c.o.Qc("X-Head-Time-Millis"),10));c=c.aa;a=a.C;for(var d in a.o){var e=a.o[d].index,f=c;e.u&&(b&&(e.F=Math.max(e.F,b)),f&&(e.B=Math.max(e.B,f)))}}}; UF=function(a,b,c){a:{b=b.info;var d=a.o.wD,e=null,f=b.o[0];if(b.range)e=$v(b.range.start,Math.min(4096,b.range.length));else if(d){if(b.A&&0<=b.A.indexOf("/range/")||"1"==b.u.B.get("defrag")||"1"==b.u.B.get("otf")){c=null;break a}e=$v(0,4096)}else if(f.o.info.video){c=null;break a}d=new bw(5,f.o,e,"createProbeRequestInfo_"+f.H,f.u);b=new ox([d],b.A);b.F=c;c=b}c&&PF(a,c)}; YF=function(a){var b=a.A.o,c=a.A.u;a.B.o.A&&VF(a,b,a.B.o.A);if(Cja(a)){if(a.o.sh){if(!b.Zi()){var d=tE(a.B);d&&WF(a,b,d)}c.Zi()||(b=tE(a.u))&&WF(a,c,b)}}else{if(a.H){d=a.H;var e=a.B,f=au(a.A.u.Md());if(d.C)d=jja(d,f);else{if(f=tE(e)){var k=f.u;k&&k.B&&k.A&&(e=e.B.length?e.B[0]:null)&&3<=e.state&&7!=e.state&&0==e.info.Od&&MD(e)&&(d.C=e,d.M=k,d.A=f.info,d.F=(0,g.C)()/1E3,d.H=d.F,d.G=d.A.startTime)}d=NaN}d&&a.S("seekplayerrequired",d,!0)}d=!1;XF(a,a.u,c)&&(d=!0,c=a.fa,c.A||(c.A=(0,g.C)(),c.Gd("vda"), TA("vda"),c.u&&Ap(4)));c=tE(a.u);a.o.wa&&!d&&c&&(a.Bb||a.Rc("sbp",a.A.u.Wa({ns:iw(c.info)})),a.Bb=!0);a.A&&!nu(a.A)&&(XF(a,a.B,b)&&(b=a.fa,b.u||(b.u=(0,g.C)(),b.Gd("ada"),TA("ada"),b.A&&Ap(4)),d=!0),!a.ha()&&a.A&&(!a.o.ba&&zE(a.u)&&zE(a.B)&&ku(a.A)&&!a.A.ge()&&(b=pE(a.B).o,b==a.C.o[b.info.id]&&(b=a.A,ku(b)&&b.A.endOfStream(),b=a.T,jy(Cy(b)),b.B=vy())),d&&!pu(a.A)&&a.ga.Za()))}}; Cja=function(a){if(a.o.Ga)return!1;var b;if(!(b=NE(a.u))&&(b=a.M.A)){b=a.R;var c=a.u,d=a.B;if(0==c.B.length&&0==d.B.length)b=!0;else{var e=0,f=fE(c.A).concat(fE(d.A));f=g.p(f);for(var k=f.next();!k.done;k=f.next())e+=k.value.Ta;c=c.o.info.o+d.o.info.o;e/=c;b=10c*(10-e)/SE(b)}(b=!b)||(b=a.u,b=0a.F||360e)){a:if(a.o.wa&&a.Rc("sba",c.Wa({as:iw(d.info)})),e=d.A?d.info.o.o:null,f=tw(d.o),d.A&&(f=new Uint8Array(f.buffer,0,f.byteOffset+f.length)),e=ZF(a,c,f,d.info,e),"s"==e){a.Ca=0;var l=!0}else{a.o.lw||(c.abort(),FE(b)); if("i"==e||"x"==e)$F(a,"checked",e,d.info);else{if("q"==e&&(d.info.isVideo()?(e=a.o,e.F=Math.floor(.8*e.F),e.Z=Math.floor(.8*e.Z),e.C=Math.floor(.8*e.C)):(e=a.o,e.H=Math.floor(.8*e.H),e.Aa=Math.floor(.8*e.Aa),e.C=Math.floor(.8*e.C)),c.supports(2)&&!c.ge()&&!a.A.isView())){e=!1;f=c.Md();try{for(k=0;!e&&kd.info.F&&(c.remove(f.start(k),f.end(f.length-1)),e=!0);var m=Math.max(0,Math.min(a.F,d.info.startTime)-5);!e&&m&&c.remove(0,m);l=!1;break a}catch(n){}}a.S("reattachrequired")}l= !1}e=!l}if(e)return!1;b.A.u.shift();uE(b,d);return!0}; $F=function(a,b,c,d){var e="fmt.unplayable",f=!0;"x"==c||"m"==c?(e="fmt.unparseable",d.o.F=e,d.o.info.video&&!hF(a.G)&&gF(a.G,d.o)):"i"==c&&(15>a.Ca?(a.Ca++,e="html5.invalidstate",f=!1):e="fmt.unplayable");d=hw(d);d.mrs=a.A.A.readyState;d.origin=b;d.reason=c;KF(a,f,e,d)}; aG=function(a,b,c){if(c){var d=a.aa;if(d.C.Ra){var e=d.o&&d.u&&d.o.Qa==d.u.Qa-1;e=d.o&&e&&"stop"!=d.o.Ld.event&&"predictStart"!=d.o.Ld.event;d.u&&d.u.Qac&&a.Rc("bwcapped","1",!0),c= Math.max(c,15),d=Math.min(d,c));return d}; vja=function(a){if(!a.Ya)return Infinity;var b=(0,g.Be)(xF(a.Ya),function(d){return"ad"==d.namespace}); b=g.p(b);for(var c=b.next();!c.done;c=b.next())if(c=c.value,c.start/1E3>a.F)return c.start/1E3;return Infinity}; Dja=function(a,b){var c=wE(a.u).find(function(d){return d.startTime>=b&&DF(a,d.startTime,!1)}); return c&&c.startTimed;d++)c[2*d]=''.charCodeAt(d);c=a.A.createSession("video/mp4",b,c);return new kG(null,null,null,null,c)}; pG=function(a,b){var c=a.G[b.sessionId];!c&&a.B&&(c=a.B,a.B=null,c.sessionId=b.sessionId,a.G[b.sessionId]=c);return c}; rG=function(a,b,c,d){g.O.call(this);this.V=a;this.u=a.kc;this.A=b;this.ga=c;this.cryptoPeriodIndex=c.cryptoPeriodIndex||NaN;this.fa=d;a={};g.Wb(a,this.A.deviceParams);a.cpn=this.V.clientPlaybackNonce;this.V.pe&&(a.vvt=this.V.pe,this.V.mdxEnvironment&&(a.mdx_environment=this.V.mdxEnvironment));this.A.dd&&(a.authuser=this.A.dd);this.A.pageId&&(a.pageid=this.A.pageId);isNaN(this.cryptoPeriodIndex)||(a.cpi=this.cryptoPeriodIndex);if(g.P(this.A.experiments,"html5_send_device_type_in_drm_license_request")){var e; (e=(e=/_(TV|STB|GAME|OTT|ATV|BDP)_/.exec(g.Pc))?e[1]:"")&&(a.cdt=e)}this.C=a;this.C.session_id=d;this.M=!0;"widevine"==this.u.flavor&&(this.C.hdr="1");"playready"==this.u.flavor&&(d=parseInt(g.Kt(b.experiments,"playready_first_play_expiration"),10),!isNaN(d)&&0<=d&&(this.C.mfpe=""+d),g.P(b.experiments,"html5_playready_keystatuses_killswitch")||(this.M=!1),g.P(b.experiments,"html5_playready_enable_non_persist_license")&&(this.C.pst="0"));d=Gz(this.u)?gG(c.initData).replace("skd://","https://"):this.u.A; g.P(this.A.experiments,"enable_shadow_yttv_channels")&&(d=new g.Tm(d),document.location.origin&&document.location.origin.includes("green")?g.Vm(d,"web-green-qa.youtube.com"):g.Vm(d,"www.youtube.com"),d=d.toString());this.H=d;this.aa=Id(this.H,"ek")||"";this.Z=g.P(b.experiments,"html5_use_drm_retry");this.U=0;this.G=this.L=!1;this.B=null;this.ea=c.u;this.F=[];this.R=!1;this.o={};this.T=NaN;qG(this,"sessioninit"+c.cryptoPeriodIndex)}; Nja=function(a,b){qG(a,"createkeysession");MA("drm_gk_s");a.ba=Mja(a);try{a.B=b.createSession(a.ga,function(d){return qG(a,d)})}catch(d){var c="t.g"; d instanceof DOMException&&(c+=";c."+d.code);a.S("licenseerror","drm.unavailable",!0,c,"HTML5_NO_AVAILABLE_FORMATS_FALLBACK");return}a.B&&(lG(a.B,a.WI,a.VI,a.UI,a.XI,a),g.A(a,a.B))}; Mja=function(a){var b=a.H;oga(b)||sG(a,"drm.net",!0,"t.x");if(!Id(b,"fexp")){var c=["23898307","23914062","23916106"].filter(function(e){return a.A.experiments.experiments[e]}); 0=b&&(a=.75*b),c=.5*(b-a),a=new fG(c,b,b-c-a,this)):a=null;break a;case "widevine":a=new HG(g.P(b,"disable_license_delay"),c,this);break a}a=null}if(this.G=a)g.A(this,this.G),this.G.subscribe("rotated_need_key_info_ready",this.ax,this);JG(this,"cks"+this.o.de());a=this.o;"com.youtube.widevine.forcehdcp"===a.o&&a.B&&(this.za=new FG(this.V.nf,this.u.experiments),g.A(this,this.za))}; NG=function(a,b,c){a.ua=!0;c=new QD(b,c);g.P(a.u.experiments,"html5_eme_loader_sync")?(a.F.get(b)||a.F.set(b,c),LG(a,c)):0!=a.B.length&&a.V.Ba&&a.V.Ba.o?MG(a):LG(a,c)}; OG=function(a,b){JG(a,"onneedkeyinfo");g.P(a.u.experiments,"html5_eme_loader_sync")&&(a.M.get(b.initData)||a.M.set(b.initData,b));LG(a,b)}; Vja=function(a,b){if(Cz(a.o)&&!a.ba){var c=Eia(b);if(0!=c.length){var d=new QD(c);a.ba=!0;navigator.requestMediaKeySystemAccess("com.microsoft.playready",[{initDataTypes:["keyids","cenc"],audioCapabilities:[{contentType:'audio/mp4; codecs="mp4a"'}],videoCapabilities:[{contentType:'video/mp4; codecs="avc1"'}]}]).then(function(e){e.createMediaKeys().then(function(f){Uja(a,f,d)})},null)}}}; Uja=function(a,b,c){var d=b.createSession(),e=a.A.values[0],f=Oja(e);d.addEventListener("message",function(k){k=new Uint8Array(k.message);zG(k,d,a.o.A,f,"playready")}); d.addEventListener("keystatuseschange",function(){d.keyStatuses.forEach(function(k,l){"usable"==l&&(a.ga=!0,PG(a,xG(e,a.ga)))})}); d.generateRequest("cenc",c.initData)}; LG=function(a,b){if(!a.ha()){JG(a,"onInitData_");if(g.P(a.u.experiments,"html5_eme_loader_sync")&&a.V.Ba&&a.V.Ba.o){var c=a.M.get(b.initData),d=a.F.get(b.initData);if(!c||!d)return;b=c;c=b.initData;a.F.remove(c);a.M.remove(c)}JG(a,"initd"+b.initData.length+"ct"+b.contentType);"widevine"==a.o.flavor?a.fa&&!a.V.ya||g.P(a.u.experiments,"vp9_drm_live")&&a.V.ya&&b.Mc||(a.fa=!0,c=b.o,RD(b),c&&!b.Mc&&b.o!=c&&a.S("ctmp","cpsmm","emsg."+c+";pssh."+b.o),a.S("widevine_set_need_key_info",b)):a.ax(b)}}; QG=function(a){a.ha()||(a.Z=!0,JG(a,"onmdkrdy"),MG(a))}; MG=function(a){if(a.ua&&a.Z&&!a.T){for(;a.B.length;){var b=a.B[0];if(a.A.get(b.initData))if("fairplay"==a.o.flavor)a.A.remove(b.initData);else{a.B.shift();continue}RD(b);break}if(a.B.length){b=a.B[0];a.A.get(b.initData);a.T=!0;var c=new rG(a.V,a.u,b,a.wa);a.A.set(b.initData,c);c.subscribe("ctmp",a.hB,a);c.subscribe("hdentitled",a.wB,a);c.subscribe("keystatuseschange",a.pA,a);c.subscribe("licenseerror",a.qA,a);c.subscribe("newlicense",a.GB,a);c.subscribe("newsession",a.IB,a);c.subscribe("sessionready", a.WB,a);c.subscribe("fairplay_next_need_key_info",a.sB,a);Nja(c,a.R)}}}; PG=function(a,b){var c=Ou("auto",b,!1,"l");if(g.P(a.u.experiments,"html5_drm_initial_constraint_from_config")?a.V.Yl:g.P(a.u.experiments,"html5_drm_start_from_null_constraint")){if(Nu(a.H,c))return}else if(Tu(a.H,b))return;a.H=c;a.S("qualitychange");JG(a,"updtlq"+b)}; JG=function(a,b){a.ha()||YB(a.V)&&a.si.S("ctmp","drmlog",b)}; RG=function(a,b,c,d){this.videoData=a;this.o=b;this.reason=c;this.u=d}; Wja=function(a,b){this.videoData=a;this.Ba=b}; Xja=function(a,b,c){return b.Vn(c).then(function(){return(a.ia("disable_index_range_auth")||!b.So||!b.Ba.o||b.mg()||b.isOtf()?0:/(&|,|^)init=0-0(&|,|$)/.test(b.adaptiveFormats))?yr(new du("auth",!0,{init:"1"})):zr(new Wja(b,b.Ba))},function(d){d instanceof Error&&g.Ko(d); d=b.ya&&!g.Hu(a.B,!0)?"html5.unsupportedlive":"fmt.noneavailable";var e={buildRej:"1",a:""+ +!!b.adaptiveFormats,d:""+ +!!b.xe,drm:""+ +DB(b),f18:""+ +(0<=b.zn.indexOf("itag=18")),c18:""+ +Mt('video/mp4; codecs="avc1.42001E, mp4a.40.2"')};if(b.ka)for(var f in b.ka.o)e["c"+f]=""+ +!!Ot(b.ka.o[f].info.mimeType);b.kc&&(e.drmsys=b.kc.o,f=0,b.kc.u&&(f=Object.keys(b.kc.u).length),e.drmst=""+f);return new du(d,!0,e)})}; SG=function(a,b){g.O.call(this);this.o=a;this.R=b;this.L=this.F=this.G=this.A=this.u=this.C=this.M=this.B=0;this.H=1}; UG=function(a,b,c){!g.P(a.o.experiments,"html5_tv_ignore_capable_constraint")&&g.dz(a.o)&&(c=Ru(c,TG(a,b)));return c}; TG=function(a,b){if(g.dz(a.o)&&tu(a.o.B,xu))var c=b.Ba.videoInfos[0].Da().xc;else{var d=!!b.Ba.o;Uy(a.o)&&(c=window.screen&&window.screen.width?new g.$d(window.screen.width,window.screen.height):null);c||(c=a.o.Kl?a.o.Kl.clone():a.R.getPlayerSize());if(Wy||VG||d){d=c;var e=g.mz();d.width*=e;d.height*=e}mB(b.videoData)||WB(b.videoData);var f=b.Ba.videoInfos;if(f.length){d=.85;e=f[0].Da();4!=e.projectionType&&2!=e.projectionType&&3!=e.projectionType||Sy||(d=.45);e=f[0];var k=e.Da();f=g.p(f);for(var l= f.next();!l.done&&!(e=k=l.value,k=k.Da(),null===c||k.width*d(0,g.N)()-a.C?0:f||0k?a.A+1:0;if(!e||g.dz(a.o)||!YG(a,b))return!1;a.u=d>e?a.u+1:0;if(3!=a.u)return!1;ZG(a,b.videoData.Fa);a.S("ctmp","dfd",$G());return!0}; YG=function(a,b){if(XG(a,"html5_restore_perf_cap_redux"))return!0;if(!b.videoData.Fa)return!1;if("1"==b.videoData.Fa.u)return!0;var c=a.o.o?240:360;return b.videoData.Fa.Da().xc>c}; ZG=function(a,b){var c=b.Da().xc-1,d=b.u,e=b.Da().fps,f=c,k=my();d=ly(d,e);0<+k[d]&&(f=Math.min(+k[d],f));k[d]!==f&&(k[d]=f,g.Qs("yt-player-performance-cap",k,604800));a.o.Id=new Mu(0,c,!1,"b")}; aH=function(a,b){if(XG(a,"html5_restore_perf_cap_redux")){if(!b.Ba.o)return Qu;var c=0,d=g.Q(a.o.experiments,"html5_performance_cap_floor");d=a.o.o?240:d;for(var e=g.p(b.Ba.videoInfos),f=e.next();!f.done;f=e.next()){f=f.value;var k=f.u,l=f.Da().fps;k=+my()[ly(k,l)]||0;f=f.Da().xc;if(!k||Math.max(k,d)>=f){c=f;break}}return new Mu(0,c,!1,"b")}return a.o.Id}; XG=function(a,b){return g.P(a.o.experiments,b)}; $ja=function(a,b){XG(a,"html5_log_media_perf_info")&&(a.S("ctmp","perfdb",$G()),a.S("ctmp","hwc",""+navigator.hardwareConcurrency,!0),b&&a.S("ctmp","mcdb",b.Ba.videoInfos.filter(function(c){return!1===c.B}).map(function(c){return kt(c)}).join("-")))}; $G=function(){var a=Eb(my(),function(b){return""+b}); return eu(a)}; bH=function(a){this.data=window.Float32Array?new Float32Array(a):Array(a);this.u=this.o=a-1}; cH=function(a){return a.data[a.o]||0}; aka=function(a){this.B=new bH(50);this.o=null;this.A=this.u=0;this.C=a}; eH=function(a,b,c){g.O.call(this);var d=new bka;"ULTRALOW"==a.latencyClass&&(d.B=!1);a.ah?d.u=3:g.MB(a)&&(d.u=2);g.P(b,"html5_adaptive_seek_to_head_killswitch")||"NORMAL"!=a.latencyClass||(d.F=!0);var e=zB(a);d.C=2==e||-1==e;d.C&&(d.L++,21530001==xB(a)&&(d.G=g.Q(b,"html5_jumbo_ull_nonstreaming_mffa_ms")||NaN));if(hl("trident/")||hl("edge/"))e=g.Q(b,"html5_platform_minimum_readahead_seconds")||3,d.A=Math.max(d.A,e);g.Q(b,"html5_minimum_readahead_seconds")&&(d.A=g.Q(b,"html5_minimum_readahead_seconds")); g.Q(b,"html5_maximum_readahead_seconds")&&(d.H=g.Q(b,"html5_maximum_readahead_seconds"));g.P(b,"html5_force_adaptive_readahead")&&(d.B=!0);g.Q(b,"html5_allowable_liveness_drift_chunks")&&(d.o=g.Q(b,"html5_allowable_liveness_drift_chunks"));g.Q(b,"html5_readahead_ratelimit")&&(d.M=g.Q(b,"html5_readahead_ratelimit"));switch(xB(a)){case 21530001:d.o=(d.o+1)/5,"LOW"==a.latencyClass&&(d.o*=2),d.R=g.P(b,"html5_live_smoothly_extend_max_seekable_time")}this.o=d;this.V=a;this.M=c;this.A=[];this.C=0;this.B= !0;this.F=1!=this.o.u;this.G=!1;this.H=0;b=isNaN(a.liveChunkReadahead)?3:a.liveChunkReadahead;a.ah&&b--;a.isLowLatencyLiveStream&&"NORMAL"!=a.latencyClass||b++;switch(xB(a)){case 21530001:b=1;break;case 2153E4:b=2}this.o.C&&b++;this.u=dH(this,b)}; gH=function(a,b){var c=a.u;(void 0===b?0:b)&&a.o.R&&3==zB(a.V)&&--c;return fH(a)*c}; iH=function(a,b){var c=hH(a);var d=a.o.o;a.G||(d=Math.max(d-1,0));d*=fH(a);return b>=c-d}; hH=function(a){return Math.max(a.M()-gH(a,!0),a.V.Ib())}; jH=function(a,b,c){b=iH(a,b);c||b?b&&(a.B=!0):a.B=!1;a.F=2==a.o.u||3==a.o.u&&a.B}; kH=function(a,b){var c=iH(a,b);a.G!=c&&a.S("livestatusshift",c);a.G=c}; fH=function(a){return a.V.ka?fy(a.V.ka)||5:5}; dH=function(a,b){b=Math.max(Math.max(a.o.L,Math.ceil(a.o.A/fH(a))),b);return Math.min(Math.min(8,Math.floor(a.o.H/fH(a))),b)}; bka=function(){this.L=1;this.A=0;this.H=Infinity;this.M=0;this.B=!0;this.o=2;this.u=1;this.C=!1;this.G=NaN;this.R=this.F=!1}; lH=function(){var a=ap();return!(!a||"visible"===a)}; nH=function(a){var b=mH();b&&document.addEventListener(b,a,!1)}; oH=function(a){var b=mH();b&&document.removeEventListener(b,a,!1)}; mH=function(){if(document.visibilityState)var a="visibilitychange";else{if(!document[$o+"VisibilityState"])return"";a=$o+"visibilitychange"}return a}; pH=function(){g.O.call(this);this.A=0;this.B=this.C=this.u=this.o=this.F=!1;this.G=(0,g.x)(this.wj,this);nH(this.G);this.H=this.getVisibilityState(this.u,this.isFullscreen(),this.o,this.isInline(),this.C,this.B)}; cka=function(a,b){a.u!=b&&(a.u=b,a.wj())}; qH=function(a,b){a.C!=b&&(a.C=b,a.wj())}; g.rH=function(a,b){this.state=a;this.mi=b}; sH=function(a,b){return g.U(a.state,b)&&!g.U(a.mi,b)?1:!g.U(a.state,b)&&g.U(a.mi,b)?-1:0}; g.tH=function(a,b){return 0b.C,f=b.o&&f-b.o>b.M||c?b.F=!0:!1):f=!1,f&&(f=yH(a,b),f.wn=k,f.we=e,f.wsuc=""+ +d,k=eu(f),a.F("ctmp","workaroundReport",k),d&&(b.reset(),a.G[e]=!1)))}; yH=function(a,b){var c=b.Wa();a.o&&(c.stt=a.o.toFixed(3));a.u&&Object.assign(c,a.u.Wa());a.B&&Object.assign(c,a.B.Wa());return c}; uH=function(a){a=void 0===a?{}:a;var b=void 0===a.tO?1E3:a.tO,c=void 0===a.uO?3E4:a.uO,d=void 0===a.Fx?!1:a.Fx;this.G=Math.ceil((void 0===a.delayMs?0:a.delayMs)/1E3);this.M=b;this.C=c;this.H=d;this.reset()}; dka=function(a,b){if(!a.G||a.u)return!1;if(!b)return a.reset(),!1;var c=(0,g.N)();if(!a.A)a.A=c,a.B=0;else if(a.B>=a.G)return a.u=c,!0;a.B+=1;return!1}; EH=function(a,b,c,d){g.O.call(this);var e=this;this.U=b;this.V=a;this.Z=new eka(b);this.Ea=c;this.Ca=d;this.M=new wH(this.U,function(){return e.S},this.Ea,this.Ca); a={};this.ba=(a.seekplayerrequired=this.EO,a.videoformatchange=this.uJ,a);AH(this,"html5_unrewrite_timestamps")?this.ba.timestamp=this.NO:this.ba.timestamp=this.MO;this.wa=null;this.ma=new g.Ur;g.A(this,this.ma);this.L=this.u=this.C=this.o=null;this.A=NaN;this.G=0;this.F=null;this.ga=NaN;this.H=this.R=null;this.ra=this.T=!1;this.aa=new g.I(function(){return BH(e,!1)},this.Z.o); g.A(this,this.aa);this.fa=new g.I(function(){e.T=!0;CH(e)}); g.A(this,this.fa);this.Ga=new g.I(function(){return DH(e)}); g.A(this,this.Ga);this.ua=this.B=0;this.ea=!0;this.za=0;this.Aa=NaN}; fka=function(a,b){a.wa=b;a.V.ya&&(a.L=new aka(function(){a:{if(a.wa&&a.wa.Ba.o){if(wB(a.V)&&a.C){var c=a.C.ua.o()||0;break a}if(a.V.ka){c=a.V.ka.L;break a}}c=0}return c}),a.u=new eH(a.V,a.U.experiments,function(){return a.zc(!0)})); a.V.startSeconds&&isFinite(a.V.startSeconds)&&1E9=a.zc()-.1)a.A=a.zc(),a.F.resolve(a.zc()),a.S("ended");else try{var c=a.A-a.B;a.o.seekTo(c);a.M.o=c;a.ga=c;a.G=a.A}catch(d){}}}; OH=function(a){if(!a.o||0==a.o.De()||0a.C.XA+100&&a.C){var d=a.C,e=d.isAd;a.Z=1E3*b-d.AO-(1E3*c-d.XA)-d.qO;$H(a,"gllat","l."+a.Z.toFixed()+";prev_ad."+ +e);delete a.C}}; dI=function(a,b){b=void 0===b?NaN:b;b=0<=b?b:g.UH(a.provider);var c=a.provider.B();if(!isNaN(a.R)&&!isNaN(c.A)){var d=c.A-a.R;0m;!(1=e&&(g.M(Error("invalid coreTime.now value: "+e)),e=(new Date).getTime()+2);return e},g.P(a.o.experiments,"html5_validate_yt_now")),c=b(); a.A=function(){return Math.round(b()-c)/1E3}; a.L()}return a.A}; bI=function(a){if(navigator.connection&&navigator.connection.type)return XI[navigator.connection.type]||XI.other;if(g.dz(a.o)){a=navigator.userAgent;if(/[Ww]ireless[)]/.test(a))return 3;if(/[Ww]ired[)]/.test(a))return 1}return 0}; lI=function(a){var b=new VI;b.u=a.ud().cc||"-";b.playbackRate=a.getPlaybackRate();var c=a.getVisibilityState();0!==c&&(b.visibilityState=c);a.o.Ya&&(b.A=1);c=a.getAudioTrack();c.zb&&c.zb.id&&"und"!==c.zb.id&&(b.o=c.zb.id);b.connectionType=bI(a);b.volume=a.ud().volume;b.muted=a.ud().muted;b.clipId=a.ud().clipid||"-";return b}; YI=function(){g.z.call(this);this.A={};this.o={};this.u=new g.I(this.B,250,this);g.A(this,this.u)}; $I=function(a,b,c,d){a.A[b]=c;a.o[b]=new ZI(void 0===d?!1:d)}; aJ=function(a,b){if(a.o[b]){var c=a.o[b].buffer;for(var d=[];c.u!==c.o;)c.u=(c.u+1)%c.data.length,d.push(c.data[c.u]);c=d}else c=[];return c}; bJ=function(a,b){return a.o[b]?cH(a.o[b].buffer):0}; ZI=function(a){this.u=a;this.o=NaN;this.buffer=new bH(100)}; Cka=function(a,b,c){var d,e,f,k,l,m;return g.Ba(function(n){if(1==n.o)return d=window.crypto.subtle,e={name:"HMAC",hash:{name:"SHA-256"}},f=["sign"],g.sa(n,d.importKey("raw",a,e,!1,f),2);if(3!=n.o)return k=n.u,l=new Uint8Array(b.length+c.length),l.set(b),l.set(c,b.length),g.sa(n,d.sign("HMAC",k,l),3);m=n.u;return n["return"](new Uint8Array(m))})}; cJ=function(a,b,c){var d,e,f,k,l,m;return g.Ba(function(n){if(1==n.o)return d=window.crypto.subtle,e={name:"AES-CTR"},f=["encrypt"],g.sa(n,d.importKey("raw",a,e,!1,f),2);if(3!=n.o)return k=n.u,l={name:"AES-CTR",counter:c,length:128},g.sa(n,d.encrypt(l,k,b),3);m=n.u;return n["return"](new Uint8Array(m))})}; dJ=function(a){this.o=a;a=new Uint8Array(16);window.crypto.getRandomValues(a);this.u=a}; Dka=function(a,b){return g.Ba(function(c){return c["return"](Cka(a.o.u,b,a.u))})}; eJ=function(){this.o=0;this.A=void 0;this.u=new Uint8Array(4096);this.view=new DataView(this.u.buffer)}; fJ=function(a,b){var c=a.o+b;if(!(a.u.length>=c)){for(var d=2*a.u.length;dd;d++)a.view.setUint8(a.o,c&127|128),c>>=7,a.o+=1;b=Math.floor(b/268435456)}for(fJ(a,4);127>=7,a.o+=1;a.view.setUint8(a.o,b);a.o+=1}; hJ=function(a,b,c){gJ(a,b<<3|2);b=c.length;gJ(a,b);fJ(a,b);a.u.set(c,a.o);a.o+=b}; iJ=function(a,b,c){a.A||(a.A=new TextEncoder);c=a.A.encode(c);hJ(a,b,c)}; jJ=function(a){return new Uint8Array(a.u.buffer,0,a.o)}; kJ=function(a){var b=a.gl,c=a.deviceId,d=a.userAgent,e=a.clientName,f=a.clientVersion;this.u=a.hl;this.F=b;this.C=c;this.G=d;this.A=e;this.B=f}; lJ=function(a){var b=a.encryptedClientKey,c=a.iv,d=a.hmac;this.A=a.encryptedOnesiePlayerRequest;this.u=b;this.C=c;this.B=d}; mJ=function(a){var b=a.value;this.u=a.name;this.A=b}; nJ=function(a){this.u=a.client}; oJ=function(a){this.u=a;this.B=this.o=0;this.A=-1}; pJ=function(a){var b=vw(a.u,a.o);++a.o;if(128>b)return b;for(var c=b&127,d=1;128<=b;)b=vw(a.u,a.o),++a.o,d*=128,c+=(b&127)*d;return c}; qJ=function(a,b){for(a.B=b;a.o+1<=a.u.totalLength;){var c=a.A;0>c&&(c=pJ(a));var d=c>>3,e=c&7;if(d===b)return!0;if(d>b){a.A=c;break}switch(e){case 0:pJ(a);break;case 1:a.o+=8;break;case 2:c=pJ(a);a.o+=c;break;case 5:a.o+=4}}return!1}; rJ=function(a,b){var c=void 0===c?null:c;if(!qJ(a,b))return c;c=pJ(a);var d=tw(a.u,a.o,c);a.o+=c;return d}; Eka=function(a){this.iv=rJ(new oJ(a),5)}; Fka=function(a){a=new oJ(a);var b=-1;b=void 0===b?0:b;this.o=qJ(a,1)?pJ(a):b;0===this.o&&(a=rJ(a,4),this.u=new Eka(new lw([a])))}; sJ=function(a){var b=a.videoId;this.u=a.OG;this.A=b}; tJ=function(a){var b=a.httpHeaders,c=a.postBody;this.A=a.url;this.u=b;this.B=c}; Gka=function(a){this.body=rJ(new oJ(a),4)}; uJ=function(a){this.u=a.vF}; vJ=function(a,b){if(b+1<=a.totalLength){var c=vw(a,b);c=128>c?1:192>c?2:224>c?3:240>c?4:5}else c=0;if(1>c||!(b+c<=a.totalLength))return[-1,b];if(1===c)c=vw(a,b++);else if(2===c){c=vw(a,b++);var d=vw(a,b++);c=(c&63)+64*d}else if(3===c){c=vw(a,b++);d=vw(a,b++);var e=vw(a,b++);c=(c&31)+32*(d+256*e)}else if(4===c){c=vw(a,b++);d=vw(a,b++);e=vw(a,b++);var f=vw(a,b++);c=(c&15)+16*(d+256*(e+256*f))}else c=b+1,a.focus(c),pw(a,c,4)?c=qw(a).getUint32(c-a.A,!0):(d=vw(a,c+2)+256*vw(a,c+3),c=vw(a,c)+256*(vw(a, c+1)+256*d)),b+=5;return[c,b]}; wJ=function(a){this.o=new lw;this.u=a}; xJ=function(a){var b=g.p(vJ(a.o,0));var c=b.next().value;var d=b.next().value;d=g.p(vJ(a.o,d));b=d.next().value;d=d.next().value;!(0>c||0>b)&&d+b<=a.o.totalLength&&(d=a.o.split(d).Nj.split(b),b=d.To,d=d.Nj,a.u(c,b),a.o=d,xJ(a))}; Hka=function(a){var b,c;a:{var d,e=a.O().cd;if(e){var f=null===(c=g.Rs("yt-player-bandaid-host"))||void 0===c?void 0:c.jO;if(f&&e.baseUrl){c=new Zw("https://"+f+e.baseUrl);if(e=null===(d=a.lq)||void 0===d?void 0:d.urlQueryOverride)for(d=fx(e),d=g.p(Object.entries(d)),e=d.next();!e.done;e=d.next())f=g.p(e.value),e=f.next().value,f=f.next().value,c.set(e,f);if(!c.get("id")){e=iy(a.videoId);d=[];if(e)for(e=g.p(e),f=e.next();!f.done;f=e.next())d.push(f.value.toString(16).padStart(2,"0"));d=d.join(""); if(!d){c=void 0;break a}c.set("id",d)}break a}}c=void 0}!c&&(null===(b=a.lq)||void 0===b?0:b.url)&&(c=new Zw(a.lq.url));if(!c)return"";c.set("ack","1");c.set("cpn",a.clientPlaybackNonce);c.set("opr","1");c.set("pvi","135");c.set("pai","140");c.set("oad","0");c.set("ovd","0");c.set("oaad","0");c.set("oavd","0");return c.Ac()}; yJ=function(a,b){var c=this;this.V=a;this.u=b;this.B=new dJ(a.O().cd.o);this.L=new wJ(function(d,e){switch(d){case 10:var f=new Fka(e);switch(f.o){case 5:c.u.tick("orfb");break;case 0:c.H=f.u.iv}c.G=f.o;break;case 11:switch(c.G){case 0:Ika(c,e)}c.G=null}}); this.A=new aD;this.F=!1;this.C=new g.I(this.M,1E4,this)}; zJ=function(a,b){a.A.reject(b);a.C.stop();a.u.tick("ore");a.o&&a.o.abort()}; AJ=function(a){for(;a.o.vf();){var b=a.o.Hp();a.L.feed(b)}}; Ika=function(a,b){var c,d,e,f;g.Ba(function(k){if(1==k.o)return a.u.tick("orpr"),a.F=!0,c=tw(b),g.sa(k,a.B.decrypt(c,a.H),2);d=k.u;e=new Gka(new lw([d]));f=e.body;a.Ha=g.v.TextDecoder?(new TextDecoder).decode(f):g.eg(f);a.u.tick("oprr");a.A.resolve(a.Ha);a.C.stop();k.o=0})}; Kka=function(a){var b,c;return g.Ba(function(d){if(1==d.o)return g.sa(d,Jka(a),2);b=d.u;c={vF:b};return d["return"](new uJ(c))})}; Jka=function(a){var b,c,d,e,f;return g.Ba(function(k){if(1==k.o)return g.sa(k,Lka(a),2);if(3!=k.o)return b=k.u,c=a.B.o.encryptedClientKey,d=a.B.u,g.sa(k,Dka(a.B,b),3);e=k.u;f={encryptedOnesiePlayerRequest:b,encryptedClientKey:c,iv:d,hmac:e};return k["return"](new lJ(f))})}; Lka=function(a){var b,c,d;return g.Ba(function(e){switch(e.o){case 1:var f=a.V.O().Vh;f="https://youtubei.googleapis.com/youtubei/"+f.innertubeApiVersion+"/player?key="+f.innertubeApiKey;var k=[new mJ({name:"Content-Type",value:"application/x-protobuf"})],l=a.V.Xd();l&&k.push(new mJ({name:"Authorization",value:"Bearer "+l}));l=a.V.O().Vh;var m=l.sm,n=l.rm,q=g.Pc;switch(l.xk){case "TVHTML5":var t=7;break;default:t=56}b=new tJ({url:f,httpHeaders:k,postBody:new sJ({OG:new nJ({client:new kJ({hl:m,gl:n, deviceId:"Rory",userAgent:q,clientName:t,clientVersion:l.innertubeContextClientVersion})}),videoId:a.V.videoId})});ta(e,2);return g.sa(e,a.B.encrypt(b.o()),4);case 4:c=e.u;ua(e,3);break;case 2:return va(e),d=new du("onesie.request.encrypt",!1),e["return"](Promise.reject(d));case 3:return e["return"](c)}})}; BJ=function(){}; Mka=function(){var a={},b=g.Pm();b&&(a.Authorization=b,a["X-Goog-AuthUser"]=g.L("SESSION_INDEX",0),a["X-Origin"]=g.L("INNERTUBE_HOST_OVERRIDE",window.location.origin),g.Bo("pageid_as_header_web")&&(a["X-Goog-PageId"]=g.L("DELEGATED_SESSION_ID")));return Jf(a)}; CJ=function(a,b,c){this.o=a;this.A=b;this.u=c}; HJ=function(a,b,c){var d=void 0===d?DJ:d;a:{var e,f;if((null===(e=b.signalServiceEndpoint)||void 0===e?0:e.signal)&&a.o.RO&&(e=a.o.RO[b.signalServiceEndpoint.signal])){var k=new e;break a}if((null===(f=b.continuationCommand)||void 0===f?0:f.request)&&a.o.hF&&(f=a.o.hF[b.continuationCommand.request])){k=new f;break a}for(k in b)if(a.o.ls[k]&&(f=a.o.ls[k])){k=new f;break a}k=void 0}if(!k)return a.u(new cr("Error: No request builder found for command.",b)),Jf({});c=void 0===c?{}:c;f={context:yI(b.clickTrackingParams)}; (e=k.A(b))?(k.o(f,e,c),c=f):(g.fr(new cr("Error: Failed to create Request from Command.",b)),c=void 0);if(!c)return a.u(new cr("Error: Failed to build request for command.",b)),Jf({});f=EJ(g.FJ(k.u()));var l;var m=(b=null===(l=null===(m=b.commandMetadata)||void 0===m?void 0:m.webCommandMetadata)||void 0===l?void 0:l.apiUrl)?EJ(b):void 0;m&&(f=m);return GJ(a,c,f,d,k.B())}; g.IJ=function(a,b,c){var d=void 0===d?DJ:d;var e=void 0===e?!0:e;b.context||(b.context=yI(void 0,e));c=EJ(c);return GJ(a,b,c,d,void 0)}; GJ=function(a,b,c,d,e){d=void 0===d?DJ:d;var f=JSON.stringify(b),k=iq(c)?"same-origin":"cors",l=iq(c)?"same-origin":"include";return Nka().then(function(m){m={method:"POST",mode:k,headers:m,body:f};g.Bo("op_credentials_killswitch")||(m.credentials=l);var n;e&&(n=Object.assign({UU:c,VU:m,identity:d,requestTime:(0,g.N)(),WU:0},e));return a.A.fetch(c,m,n)}).then(function(m){return Jf(m)})}; EJ=function(a){a=hq(a,{key:g.L("INNERTUBE_API_KEY")});var b=g.L("INNERTUBE_HOST_OVERRIDE");b&&(a=String(b)+String(vd(a)));return a}; Nka=function(){return Mka().then(function(a){a=Object.assign({"Content-Type":"application/json","X-Goog-Visitor-Id":g.L("VISITOR_DATA")},a);return Jf(a)})}; Oka=function(a){var b=void 0===b?"UNKNOWN_INTERFACE":b;if(1===a.length)return a[0];var c=JJ[b];if(c){var d=new RegExp(c),e=g.p(a);for(c=e.next();!c.done;c=e.next())if(c=c.value,d.exec(c))return c}var f=[];Object.entries(JJ).forEach(function(k){var l=g.p(k);k=l.next().value;l=l.next().value;b!==k&&f.push(l)}); d=new RegExp(f.join("|"));a.sort(function(k,l){return k.length-l.length}); e=g.p(a);for(c=e.next();!c.done;c=e.next())if(c=c.value,!d.exec(c))return c;return a[0]}; g.FJ=function(a){return"/youtubei/v1/"+Oka(a)}; KJ=function(){}; LJ=function(){}; MJ=function(){}; NJ=function(){}; OJ=function(){}; QJ=function(){g.nf.call(this);this.pollingInterval=3E3;this.o=[null,null,null];PJ(this)}; PJ=function(a){var b=Pka.map(function(e){var f;return null!==(f=Cq.get(e))&&void 0!==f?f:""}),c=b.some(function(e,f){return a.o&&""!==a.o[f]&&""===e}),d=b.some(function(e,f){return a.o&&a.o[f]!==e}); a.o=b;return{hH:c,GO:d}}; RJ=function(){this.B=new kba;this.u=new lba;this.A=new nba;this.o=new oba}; SJ=function(){RJ.o||(RJ.o=new RJ);return RJ.o}; Qka=function(a,b,c){var d=b.json();b.redirected?mba(a.u,b.status,c,rd(g.td(5,b.url))):b.ok?a.A.o.A("/client_streamz/youtube/web/network/one_platform_request_success",c):(a.o.o.A("/client_streamz/youtube/web/network/one_platform_request_failed",b.status,c),d.then(function(e){QJ.o||(QJ.o=new QJ);g.gr(new cr("Error: API fetch failed",b.status,b.url,e,{fV:QJ.o.verifyUser()}))})); return d}; g.UJ=function(){if(!TJ){var a={ls:{playlistEditEndpoint:OJ,subscribeEndpoint:LJ,unsubscribeEndpoint:MJ,modifyChannelNotificationPreferenceEndpoint:NJ}},b=SJ();BJ.o||(BJ.o=new BJ);CJ.o=new CJ(a,b,ffa);TJ=CJ.o}return TJ}; Uka=function(a,b,c,d,e,f){a.ha();a.Fc=!0;var k=a.O();return g.P(k.experiments,"html5_onesie")&&g.P(k.experiments,"html5_onesie_player_config")&&"yt"===k.U?Rka(a).then(function(){return Ska(a,d)}).then(function(){VJ(a)},function(l){l=fu(l); if(l.o)return Promise.reject(l);c(l);return WJ(a,b,c)}):g.P(k.experiments,"web_player_gvi_wexit")&&"yt"===k.U?Tka(a,e,f).then(function(){VJ(a)},function(l){l=fu(l); if(l.o)return Promise.reject(l);c(l);return WJ(a,b,c)}):WJ(a,b,c)}; Rka=function(a){a=a.O().cd;if(!a||!a.o)return Promise.reject(new du("onesie.unavailable.hotconfig",!1,{key:"0"}));a={};window.fetch||(a.fetch="0");window.TextEncoder||(a.text="0");window.crypto&&window.crypto.subtle&&window.crypto.subtle.importKey||(a.crypto="0");window.Uint8Array||(a.uint8="0");return 0Math.random())try{g.gr(new cr("b/152131571",btoa(b)))}catch(D){}return B["return"](Promise.reject(new du(w,!0,{backend:"gvi"})))}})})}; Wka=function(a,b){return th(this,function d(){var e,f,k,l,m,n,q,t,u,w,B,D;return Aa(d,function(E){if(1==E.o)return a.fetchType="gvi",e=a.O(),f={format:"RAW",method:"GET",withCredentials:!0,timeout:3E4},k={},e.sendVisitorIdHeader&&a.visitorData&&(k["X-Goog-Visitor-Id"]=a.visitorData),(l=g.Kt(e.experiments,"debug_dapper_trace_id"))&&(k["X-Google-DapperTraceInfo"]=l),(m=g.Kt(e.experiments,"debug_sherlog_username"))&&(k["X-Youtube-Sherlog-Username"]=m),0b.startSeconds){var c=b.endSeconds;a.aa&&(a.removeCueRange(a.aa),a.aa=null);a.aa=new g.nC(1E3*c,0x7ffffffffffff);a.aa.namespace="endcr";a.addCueRange(a.aa)}}; rK=function(a,b,c,d){a.V.Fa=c;d&&pK(a,b,d);var e=(d=g.qK(a))?kt(d):"";d=a.C;e=new RG(a.V,c,b,e);if(d.qoe){c=d.qoe;d=g.UH(c.provider);g.YH(c,d,"vfs",[e.o.id,e.u,c.wa,e.reason]);c.wa=e.o.id;e=c.provider.M();if(0=a.start);return b}; yK=function(a,b){if(a.o&&b.xa()==a.o.xa()&&(b.isView()||a.o.isView())){if(b.isView()||!a.o.isView())g.Wr(a.Ca),a.o=b,wK(a),GH(a.F,a.o)}else{a.o&&xK(a);if(!a.u.isError()){var c=QC(a.u,512);g.U(c,8)&&!g.U(c,2)&&(c=PC(c,1));b.isView()&&(c=QC(c,64));kK(a,c)}a.o=b;a.o.setLoop(a.Zc);a.o.setPlaybackRate(a.Bb);wK(a);GH(a.F,a.o)}}; xK=function(a,b,c){b=void 0===b?!1:b;c=void 0===c?!1:c;if(a.o){var d=a.getCurrentTime();01E3*m);l&&(f=f?Math.min(f,k):k)}(k=g.Q(b.o.experiments,"html5_autoplay_default_quality_cap"))&&UB(c.videoData)&&(f=f?Math.min(f,k):k);k=g.Q(b.o.experiments,"html5_random_playback_cap");m=/[a-h]$/;k&&m.test(c.videoData.clientPlaybackNonce)&&(f=f?Math.min(f,k):k);(k=g.Q(b.o.experiments,"html5_not_vp9_supported_quality_cap"))&& !Ot('video/webm; codecs="vp9"')&&(f=f?Math.min(f,k):k);if(m=k=g.Q(b.o.experiments,"html5_hfr_quality_cap"))a:{m=c.Ba;if(m.o)for(m=g.p(m.videoInfos),l=m.next();!l.done;l=m.next())if(32b.o;c||d||b?a.S("reattachrequired"):(JE(a.u)&&OF(a,a.u,a.B),a.ga.Za())}}}; JK=function(a){IK(a,"html5_nonblocking_media_capabilities")?FK(a):HK(a)}; LK=function(a){Rga(a.V.ka,{cpn:a.V.clientPlaybackNonce,c:a.B.deviceParams.c,cver:a.B.deviceParams.cver});var b=a.B,c=a.V,d=new g.Jw,e=Iw(b,{hasSubfragmentedFmp4:c.hasSubfragmentedFmp4,uk:c.uk});d.B=e;d.Dg=b.ia("html5_unify_sqless_flow");d.T=b.ia("html5_accurate_seeking_redux");d.Bb=b.ia("html5_unrewrite_timestamps");d.fb=b.ia("html5_stop_overlapping_requests");d.Ea=g.Q(b.experiments,"html5_min_readbehind_secs");d.Wo=g.Q(b.experiments,"html5_min_readbehind_cap_secs");g.dz(b)&&(d.Ea=g.Q(b.experiments, "tvhtml5_min_readbehind_secs"));d.sh=b.ia("html5_append_init_while_paused");d.Zc=g.Q(b.experiments,"html5_max_readahead_bandwidth_cap");d.pd=g.Q(b.experiments,"html5_post_interrupt_readahead");d.R=g.Q(b.experiments,"html5_subsegment_readahead_target_buffer_health_secs");d.wb=g.Q(b.experiments,"html5_subsegment_readahead_timeout_secs");d.Bw=g.Q(b.experiments,"html5_subsegment_readahead_min_buffer_health_secs");d.ob=g.Q(b.experiments,"html5_subsegment_readahead_min_buffer_health_secs_on_timeout");d.Cw= g.Q(b.experiments,"html5_subsegment_readahead_min_load_speed");d.Cg=g.Q(b.experiments,"html5_subsegment_readahead_load_speed_check_interval");d.Dw=g.Q(b.experiments,"html5_subsegment_readahead_seek_latency_fudge");d.Ma=b.ia("html5_peak_shave");d.Zp=b.ia("html5_peak_shave_always_include_sd");d.ow=b.ia("html5_restrict_streaming_xhr_on_sqless_requests");d.wo=g.Q(b.experiments,"html5_max_headm_for_streaming_xhr");d.YA=b.ia("html5_pipeline_manifestless_allow_nonstreaming");d.iD=b.ia("html5_prefer_server_bwe3"); d.Fg=1024*g.Q(b.experiments,"html5_video_tbd_min_kb");d.wD=b.ia("html5_probe_live_using_range");d.Pn=b.ia("html5_last_slice_transition");d.zw=b.ia("html5_store_xhr_headers_readable");d.Kn=b.ia("html5_enable_packet_train_response_rate");if(e=g.Q(b.experiments,"html5_probe_secondary_during_timeout_miss_count"))d.rd=e,d.Ew=1;d.Oa=g.Q(b.experiments,"html5_probe_primary_delay_base_ms")||d.Oa;d.Id=b.ia("html5_no_placeholder_rollbacks");d.Aw=b.ia("html5_subsegment_readahead_enable_mffa");b.ia("html5_allow_video_keyframe_without_audio")&& (d.ea=!0);d.Jd=b.ia("html5_reattach_on_stuck");d.Iw=b.ia("html5_webm_init_skipping");d.Je=g.Q(b.experiments,"html5_request_size_padding_secs")||d.Je;d.Un=b.ia("html5_log_timestamp_offset");d.Ob=b.ia("html5_abs_buffer_health");d.On=b.ia("html5_interruption_resets_seeked_time");d.Yc=g.Q(b.experiments,"html5_max_live_dvr_window_plus_margin_secs")||d.Yc;d.Bc=b.ia("html5_explicitly_dispose_xhr");d.qd=g.Q(b.experiments,"html5_probe_primary_failure_factor");d.yw=b.ia("html5_skip_invalid_sq");d.mw=b.ia("html5_restart_on_unexpected_detach"); d.Rn=b.ia("html5_log_live_discontinuity");d.qw=b.ia("html5_rewrite_manifestless_for_continuity");d.Vc=g.Q(b.experiments,"html5_max_drift_per_track_secs");d.uw=b.ia("html5_rewrite_manifestless_for_sync");d.Le=g.Q(b.experiments,"html5_static_abr_resolution_shelf");d.Il=!b.ia("html5_encourage_array_coalescing");d.Kl=b.ia("html5_crypto_period_secs_from_emsg");d.ra=b.ia("html5_defer_slicing");d.Xb=g.Q(b.experiments,"html5_buffer_health_to_defer_slice_processing");b.ia("html5_media_common_config_killswitch")|| (d.C=c.maxReadAheadMediaTimeMs/1E3||d.C,e=b.schedule,e.u.o()===e.policy.A?d.U=10:d.U=c.minReadAheadMediaTimeMs/1E3||d.U,d.uc=c.readAheadGrowthRateMs/1E3||d.uc);Ah&&(d.Z=41943040);d.fa=!ou();g.dz(b)||!ou()?(e=b.experiments,d.F=8388608,d.H=524288,d.Gi=5,d.za=2097152,d.aa=1048576,d.UD=1.5,d.hp=!1,d.M=4587520,ml()&&(d.M=786432),d.o*=1.1,d.u*=1.1,d.Ya=!0,d.Z=d.F,d.Aa=d.H,d.od=g.P(e,"persist_disable_player_preload_on_tv")||g.P(e,"persist_disable_player_preload_on_tv_for_living_room")||!1):b.o&&(d.o*=1.3, d.u*=1.3);g.Nt&&hl("crkey")&&(e="CHROMECAST/ANCHOVY"==b.deviceParams.cmodel,d.F=20971520,d.H=1572864,e&&(d.M=812500,d.L=1E3,d.Hw=5,d.aa=2097152));!b.ia("html5_disable_firefox_init_skipping")&&g.vu&&(d.Ya=!0);b.supportsGaplessAudio()||(d.Ll=!1);Ny&&(d.oi=!0);if(wB(c)){d.Nn=!0;d.xw=!0;if("ULTRALOW"==c.latencyClass||"LOW"==c.latencyClass&&!b.ia("html5_disable_low_pipeline"))d.po=2,d.Co=4;d.Ng=c.defraggedFromSubfragments;c.Vb&&(d.Ra=!0);g.MB(c)&&(d.T=!1);d.Jl=g.pz(b)}c.isAd()&&(d.Ca=0,d.Cc=0);yB(c)&& (d.ga=!0);d.ma=b.ia("html5_enable_subsegment_readahead_v3")||b.ia("html5_ultra_low_latency_subsegment_readahead")&&"ULTRALOW"==c.latencyClass;d.ua=c.bh;d.Qn=d.ua&&(/^rq[a-f]/.test(c.clientPlaybackNonce)||YB(c));tl()&&/(K\d{3}|KS\d{3}|KU\d{3})/.test(b.deviceParams.cmodel)&&!b.ia("html5_disable_move_pssh_to_moov")&&Qx(c.ka)&&(d.Ya=!1);Qx(c.ka)&&(d.Jd=!1);if(c.ya){e=fy(c.ka);var f=g.Q(b.experiments,"html5_live_abr_head_miss_fraction"),k=g.Q(b.experiments,"html5_live_abr_repredict_fraction");f&&e&&(d.Xc= Math.min(e*f,d.Xc));k&&e&&(d.L=Math.min(1E3*e*k,d.L))}f=0;b.ia("html5_live_use_alternate_bandwidth_window_sizes")&&(f=b.schedule.policy.o,c.ya&&(f=g.Q(b.experiments,"ULTRALOW"==c.latencyClass?"html5_live_ultra_low_latency_bandwidth_window":c.isLowLatencyLiveStream?"html5_live_low_latency_bandwidth_window":"html5_live_normal_latency_bandwidth_window")||f));e=b.schedule;e.L.o=wB(c)?.5:0;if(!e.policy.u&&f&&(e=e.u,f=Math.round(f*e.resolution),f!==e.u)){k=Array(f);var l=Math.min(f,e.B?e.u:e.valueIndex), m=e.valueIndex-l;0>m&&(m+=e.u);for(var n=0;na.V.endSeconds&&isFinite(b)&&(a.removeCueRange(a.aa),a.aa=null);ba.H.getDuration()&&lu(a.H,c)):lu(a.H,d);var e=a.A,f=a.H;e.U&&(IF(e),e.U=!1);HF(e);if(!mu(f)){var k=e.u.o.info.mimeType+e.o.Ln,l=e.B.o.info.mimeType,m=new gu("fakesb"==l?new Vt:f.A.addSourceBuffer(l),jt(l),!1),n=new gu("fakesb"==k?new Vt:f.A.addSourceBuffer(k), jt(k),!0);f.o=m;f.u=n;g.A(f,m);g.A(f,n)}oE(e.u,f.u);oE(e.B,f.o);e.A=f;e.resume();Xr(f.o,e.wa,e);Xr(f.u,e.wa,e);e.o.Un&&1E-4>=Math.random()&&e.Rc("toff",""+f.o.supports(1),!0);e.qg();a.S("mediasourceattached");a.rd.stop()}}catch(q){g.gr(q),a.sj(new du("fmt.unplayable",!0,{msi:"1",ename:q.name}))}})}; QK=function(a){a.A?Rf(a.A.seek(a.getCurrentTime()-a.Gb()),function(){}):LK(a)}; fla=function(a){return 403==a.details.rc?(a=a.errorCode,"net.badstatus"==a||"manifest.net.retryexhausted"==a):!1}; UK=function(a){return a.Ya||"yt"!=a.B.U?!1:a.V.Ne?25>a.V.tg:!a.V.tg}; VK=function(a){a.Ya||(a.Ya=!0,a.S("signatureexpired"))}; XK=function(a,b){try{window.location.reload(!0);a.C.onError("qoe.restart",eu({detail:"pr."+b}));return}catch(c){}IK(a,"tvhtml5_retire_old_players")&&g.dz(a.B)&&WK(a)}; YK=function(a){return"net.retryexhausted"==a.errorCode||"net.badstatus"==a.errorCode&&!!a.details.fmt_unav}; gla=function(a,b){if(a.o&&("fmt.unplayable"==b.errorCode||"html5.invalidstate"==b.errorCode)){var c=a.o.Df();b.details.merr=c?c.toString():"0";b.details.msg=a.o.Ok()}}; SK=function(a,b,c){var d=g.Q(a.B.experiments,"html5_error_cooldown_in_ms")||3E4,e=!1;d=a.ob+d<(0,g.C)()||!1;var f;if(f=IK(a,"html5_pause_on_nonforeground_platform_errors")&&!d)f=a.L,f=!!(f.o||f.isInline()||f.isBackground()||f.C||f.B);f&&(c.nonfg="paused",d=!0,a.pauseVideo());IK(a,"html5_disable_codec_on_platform_errors")&&!d&&(f=a.V.Fa)&&("1"==f.u||mt(f))&&(e=d=!0,c.cfall=f.u,a.B.B.M.add(f.u));if(!d)return!a.V.Ne&&(a.B.ma+=1,10a-.3)}; dL=function(a){window.clearInterval(a.Xb);a.ua.stop();a.V.Ne=!0;a.B.Ne=!0;a.B.ma=0;cL(a);g.U(a.u,8)&&kK(a,QC(a.u,65));var b=a.C;if(b.o){var c=b.o;if(!c.u){g.P(c.provider.o.experiments,"disable_embedpage_playback_logging")||16623!==c.provider.videoData.Fq||g.Ko(Error("Playback for EmbedPage"));var d=HI(c,"playback");c.C=[10+c.provider.videoData.wk,10,10,40+c.provider.videoData.Cm-c.provider.videoData.wk,40];ska(c.o);d.u=GI(c,!0);d.send();if(c.provider.videoData.nq){d=c.provider.o;var e=c.provider.videoData; e={html5:"1",video_id:e.videoId,cpn:e.clientPlaybackNonce,ei:e.eventId,ptk:e.nq,oid:e.hC,ptchn:e.gC,pltype:e.iC,content_v:e.Wi()};d=g.Ed(d.H+"ptracking",e);JI(c,d)}c.provider.videoData.Zl&&(MI(c,"playback"),c.A||NI(c));c.provider.videoData.kf||LI(c);c.u=!0;c=c.o;c.o=c.provider.u();c.yf=g.UH(c.provider);!(0===c.u&&5>c.o)&&2b.o&&(b.o=c,b.delay.start()),b.u=c,b.A=c);a.Bc.Za();a.S("playbackstarted");g.yp()&&((a=g.Ia("yt.scheduler.instance.clearPriorityThreshold"))? a():Ap(0))}; cL=function(a){var b=a.getCurrentTime(),c=a.V;!QA("pbs",a.M.timerName)&&RA.measure&&RA.getEntriesByName&&(RA.getEntriesByName("mark_nr")[0]?SA("mark_nr"):SA());c.videoId&&a.M.info("docid",c.videoId);c.eventId&&a.M.info("ei",c.eventId);c.clientPlaybackNonce&&a.M.info("cpn",c.clientPlaybackNonce);0=k.u&&ef.C||(0,g.C)()-f.H=c.provider.videoData.kf&& (c.u&&c.provider.videoData.kf&&(d=HI(c,"delayplay"),d.za=!0,d.send(),c.M=!0),LI(c))),a.V.ya&&(0,g.C)()>a.Eg+6283&&(!a.isAtLiveHead()||a.V.ka&&cy(a.V.ka)||(c=a.C,c.qoe&&(c=c.qoe,e=c.provider.B(),d=g.UH(c.provider),cI(c,d,e),e=e.F,isNaN(e)||g.YH(c,d,"e2el",[e.toFixed(3)]))),g.pz(a.B)&&a.Xa("rawlat","l."+bJ(a.ea,"rawlivelatency").toFixed(3)),a.Eg=(0,g.C)()),a.V.Fa&&pt(a.V.Fa)&&(c=cK(a))&&c.videoHeight!=a.Yc&&(a.Yc=c.videoHeight,rK(a,"a",GK(a,a.V.Xe))));Zja(a.U,a.R,a.o,a.L.isBackground())&&JK(a);c=a.U; d=a.V.Fa;0>=g.Q(c.o.experiments,"hfr_dropped_framerate_fallback_threshold")||!(d&&d.Da()&&32sH(c,8)||g.tH(c,1024))&& a.ua.stop();!g.tH(c,8)||a.V.Ne||g.U(c.state,1024)||a.ua.start();g.U(c.state,8)&&0>sH(c,16)&&!g.U(c.state,32)&&!g.U(c.state,2)&&a.playVideo();g.U(c.state,2)&&NB(a.V)&&(e=a.getCurrentTime(),a.V.lengthSeconds!=e&&(a.V.lengthSeconds=e,iK(a)),ZK(a,!0));g.tH(c,2)&&(a.wv(!0),eL(a));g.tH(c,128)&&(eL(a),IK(a,"html5_release_on_error")&&g.uK(a));a.V.ka&&a.V.ya&&!a.uh&&(0>sH(c,8)?(e=a.V.ka,e.C&&e.C.stop()):g.tH(c,8)&&a.V.ka.resume());e=a.F;e.M.A=c.state;if(f=e.o)f=8==c.mi.o&&UC(c.state)&&g.VC(c.state)&&e.Z.B; if(f){f=e.o.getCurrentTime();var k=e.o.Wd();var l=AH(e,"manifestless_post_live_ufph")||AH(e,"manifestless_post_live")?Yt(k,Math.max(f-3.5,0)):Yt(k,f-3.5);0<=l&&f>k.end(l)-1.1&&l+1k.start(l+1)-k.end(l)&&(l=k.start(l+1)+.2,.2>Math.abs(e.Aa-l)||(e.S("ctmp","seekover","b."+Xt(k,"_")+";cmt."+f),e.Aa=l,e.seekTo(l,{qm:!0})))}e=a.C;if(g.tH(c,1024)||g.tH(c,2048)||g.tH(c,512)||g.tH(c,4))e.u&&(f=e.u,0<=f.u||(f.o=-1,f.delay.stop())),e.qoe&&(f=e.qoe,f.provider.ia("html5_qoe_user_intent_match_health")&& !f.u&&(f.A=-1));e.o&&(f=e.o,f.ha()||(g.U(c.state,2)?(f.currentPlayerState="paused",g.tH(c,2)&&f.u&&II(f).send()):g.U(c.state,8)?(f.currentPlayerState="playing",f.u&&isNaN(f.B)&&GI(f,!1)):f.currentPlayerState="paused",f.A&&g.U(c.state,128)&&(MI(f,"error-100"),g.No(f.A))));if(e.qoe){f=e.qoe;k=c.state;l=g.UH(f.provider);var m=f.getPlayerState(c.state);if(m!==f.Pb){if(!(l=f.playTimeSecs&&(f.provider.G(),f.o.qoealert=["1"],f.U=!0)}"B"!==m||"PL"!==f.Pb&&"PB"!==f.Pb||(f.M=!0);f.B=l}"B"===m&&"PL"===f.Pb||f.provider.videoData.bh?dI(f,l):aI(f,l);"PL"===m&&f.Aa.Za();g.YH(f,l,"vps",[m]);f.Pb=m;f.aa=l;f.B=l;f.H=!0}m=k.u;g.U(k,128)&&m&&hI(f,l,m.errorCode,m.EC);(g.U(k,2)||g.U(k,128))&&f.reportStats(l);f.provider.ia("html5_qoe_user_intent_match_health")?k.nb()&&!f.u&&(0<=f.A&&(f.o.user_intent=[f.A.toString()]), f.u=!0):g.U(k,8)&&f.provider.videoData.Ej&&!f.u&&(f.o.user_intent=[l.toString()],f.u=!0);eI(f)}e.u&&(e=e.u,WH(e),e.playerState=c.state,0<=e.u&&g.tH(c,16)&&e.seekCount++,c.state.isError()&&e.send());if(d&&!a.ha())try{for(var q=g.p(a.Yb),t=q.next();!t.done;t=q.next()){var u=t.value,w=a.T;c=u;if(w.started&&(w.u(),g.U(c.mi,16))){c=w;var B=tF(c.o,Math.max(c.B-2E3,0));!isNaN(B)&&0x7ffffffffffff>B&&c.C.start()}a.S("statechange",u)}}finally{a.Yb.length=0}}}; fL=function(a,b){g.U(a.u,128)||(kK(a,RC(a.u,1028,9)),a.Xa("dompaused",b),a.S("onDompaused"))}; gK=function(a){if(!a.o||!a.V.Ba)return!1;var b=null;a.V.Ba.o?(b=RK(a),a.A.resume()):(lK(a),a.V.Xe&&(b=a.V.Xe.Lm()));var c=b;var d=a.o.Lp();b=!1;d&&null!==c&&c.o===d.o||(a.M.tick("vta"),TA("vta"),0d&&(d=-(d+1));g.ze(a,b,d);b.setAttribute("data-layer",c)}; g.OL=function(a){var b=a.O();if(!b.wb)return!1;var c=a.getVideoData();if(!c||3==a.getPresentingPlayerType())return!1;var d=!c.isLiveDefaultBroadcast||g.P(b.experiments,"allow_poltergust_autoplay");d=c.ya&&(!g.P(b.experiments,"allow_live_autoplay")||!d);var e=c.ya&&g.P(b.experiments,"allow_live_autoplay_on_mweb"),f=!!a.getPlaylist();g.P(b.experiments,"player_allow_autonav_after_playlist")&&(f=(f=a.getPlaylist())&&f.hasNext());a=c.Tf&&c.Tf.playerOverlays||null;a=!!(a&&a.playerOverlayRenderer&&a.playerOverlayRenderer.autoplay); a=c.Wb&&a;return!c.ypcPreview&&(!d||e)&&!g.cb(c.md,"ypc")&&!f&&(!g.Py(b)||a)}; g.PL=function(a,b,c,d){a.O().ba&&jla(a.app.ua,b,c,d)}; g.QL=function(a,b,c){a.O().ba&&kla(a.app.ua,b,c)}; g.RL=function(a,b,c){a.O().ba&&(a.app.ua.o.has(b),c&&(b.visualElement=g.js(c)))}; g.SL=function(a,b){a.O().ba&&a.app.ua.click(b)}; g.TL=function(a,b,c){if(a.O().ba&&(a=a.app.ua,a.o.has(b),c?a.u.add(b):a.u["delete"](b),c&&!a.B.has(b))){c=g.qs();var d=b.visualElement;c&&d&&g.Hs(c,d);a.B.add(b)}}; g.UL=function(a,b){return a.O().ba?a.app.ua.o.has(b):!1}; g.XL=function(a,b){if(a.app.getPresentingPlayerType()==b){var c=a.app,d=g.V(c,b);d&&(d!=c.A?VL(c,c.A):WL(c))}}; lla=function(a){if(!a.ia("html5_inline_video_quality_survey"))return!1;var b=g.V(a.app);if(!b)return!1;var c=b.getVideoData();if(!c.Fa||!c.Fa.video||1080>c.Fa.video.xc||c.dz)return!1;var d=/^qsa/.test(c.clientPlaybackNonce),e="r";0<=c.Fa.id.indexOf(";")&&(d=/^[a-p]/.test(c.clientPlaybackNonce),e="x");a.ia("html5_inline_video_quality_survey_always")&&(d=!0,e="a");return d?(b.Xa("iqss",e,!0),!0):!1}; YL=function(a,b){document.requestStorageAccess().then(a,b)}; g.ZL=function(a){g.O.call(this);this.loaded=!1;this.player=a}; g.$L=function(a,b){return rt(a.info.mimeType)?b?kt(a.info)===b:!0:!1}; g.aM=function(a,b){if(null!=a.ka&&g.pz(b.O())&&!a.ka.u&&null!=a.ka.o.rawcc)return!0;if(!a.mg())return!1;var c=!!a.ka&&a.ka.u&&Object.values(a.ka.o).some(function(e){return g.$L(e,"386")}),d=!!a.ka&&!a.ka.u&&Fga(a.ka); return c||d}; bM=function(a,b){g.z.call(this);this.F=b;this.Rb=new Map;this.u={};this.A={};this.C=null;this.o=a;this.B=g.P(a.O().experiments,"web_player_defer_modules")}; g.cM=function(a){return a.Rb.get("captions")}; nla=function(a,b){switch(b){case "ad":return dM(a);case "annotations_module":var c=a.o.O();if(Zy(c))c=!1;else{var d=a.o.getVideoData();c=d.nz||"3"==c.controlsType?!1:c.M.isEmpty()&&"annotation-editor"!=c.playerStyle&&"live-dashboard"!=c.playerStyle?!!d.re||!!g.QB(d)||!!g.RB(d):!0}return c;case "attribution":return c=a.o.O(),g.P(c.experiments,"web_player_show_music_in_this_video")&&"desktop-polymer"==c.playerStyle;case "creatorendscreen":return c=a.o.O(),"3"==c.controlsType?c=!1:"creator-endscreen-editor"== c.playerStyle?c=!0:(c=a.o.getVideoData(),c=!!c&&(!!g.OB(c)||!!g.PB(c))),c;case "embed":return g.Py(a.o.O());case "endscreen":return g.eM(a);case "fresca":return a.o.getVideoData().Bo;case "heartbeat":return c=a.o.getVideoData(),c.En||c.lg;case "kids":return fz(a.o.O());case "remote":return a.o.O().Bc;case "miniplayer":return a.o.O().showMiniplayerUiWhenMinimized;case "music":return g.Yy(a.o.O());case "captions":return"lb3"==a.o.O().playerStyle?c=!1:(c=a.o.getVideoData(),c=!!c.Sl||!!c.captionTracks.length|| g.aM(c,a.o)),c;case "unplugged":return g.ez(a.o.O());case "ux":return a.o.O().Ca;case "visualizer":return g.fM(a);case "webgl":return mla(a);case "ypc":return a.ln();case "ypc_clickwrap":return c=a.o.getVideoData(),c.Dl&&!c.Ht;case "yto":return!!a.o.getVideoData().md.includes("yto");default:return g.fr(Error("Module descriptor "+b+" does not match")),!1}}; gM=function(a){a.B&&(a.Kd("endscreen"),a.rs(),a.Kd("creatorendscreen",void 0,!0))}; g.eM=function(a){var b=a.o.O();if(g.wz(b)||b.C||!b.Ea&&!b.fb)return!1;var c=a.o.getPresentingPlayerType();if(2==c)return!1;if(3==c)return g.P(b.experiments,"desktop_enable_autoplay");a=a.o.getVideoData();if(!a)return!1;c=!a.isLiveDefaultBroadcast||g.P(b.experiments,"allow_poltergust_autoplay");c=a.ya&&(!g.P(b.experiments,"allow_live_autoplay")||!c);b=a.ya&&g.P(b.experiments,"allow_live_autoplay_on_mweb");return!c||b}; g.zL=function(a){return a.Rb.get("webgl")}; mla=function(a){var b=a.o.getVideoData(),c=a.o.O().experiments,d=g.ol(),e=g.P(c,"enable_spherical_kabuki");a=g.uz(a.o.O());if(b.Yg())return d||e||a||g.P(c,"html5_enable_spherical");if(b.eh())return a||d||e||g.P(c,"html5_enable_spherical");if(b.fh())return a||d||g.P(c,"html5_enable_spherical3d");if(b.zk())return a||g.P(c,"html5_enable_anaglyph3d")||!1;d=b.Fa&&b.Fa.video&&ht(b.Fa.video);return a&&!g.EB(b)&&!b.isVisualizerEligible&&!d&&(g.P(c,"enable_webgl_noop")||g.P(c,"html5_enable_bicubicsharp")|| g.P(c,"html5_enable_smartsharp"))}; hM=function(a){g.P(a.o.O().experiments,"web_player_ux_module_wait")&&a.Rb.get("ux")&&g.KL(a.o,"ux")}; ola=function(a){hM(a);a.Kd("ux",void 0,!0)}; dM=function(a){if(a=a.o.getVideoData(1).getPlayerResponse())if(a=a.adPlacements)for(var b=0;bMath.random()){var u=new cr("Unable to load player module",b+".js from "+d+" on "+(document.location&&document.location.origin)+".");g.fr(u)}tf(q);t&&t()},k.onerror); k.onreadystatechange=g.Ra(function(t){switch(k.readyState){case "loaded":case "complete":tf(n,this)}t&&t()},k.onreadystatechange); f&&((e=a.o.O().Le)&&k.setAttribute("nonce",e),fd(k,nh(d)),e=document.getElementsByTagName("HEAD")[0]||document.body,e.insertBefore(k,e.firstChild),g.Me(a,function(){k.parentNode&&k.parentNode.removeChild(k);g.nM[b]=null;"annotations_module"==b&&(g.nM.creatorendscreen=null)}))}}; g.pM=function(a){g.AC.call(this);this.o=a;this.u={}}; qM=function(){this.o=[];this.u=[];this.A=[]}; sM=function(a,b,c){c=g.ve(c?"AUDIO":"VIDEO");g.Sa(c,pla);g.hp(c,"loadeddata",(0,g.x)(c.u,c));Wy&&6<=$B&&g.hp(c,"webkitbeginfullscreen",(0,g.x)(c.play,c));a.u.push(c);b?a.A.push(c):rM(a,c);return c}; rM=function(a,b){g.cb(a.u,b)&&!g.cb(a.o,b)&&(b.src||b.load(),g.gb(a.A,b)||a.o.push(b))}; qla=function(){this.u=200;this.o=12}; rla=function(a){var b=new qla;b.u=g.Q(a.experiments,"html5_gapless_ended_transition_buffer_ms");b.o=g.Q(a.experiments,"html5_gapless_max_played_ranges");return b}; g.tM=function(a,b,c,d){d=void 0===d?!1:d;g.AC.call(this);this.o=a;this.u=b;this.B=c;this.H=d}; sla=function(a,b,c,d){var e=c.getVideoData(),f=b.getVideoData();if(c.getPlayerState().isError())return"player-error";if(JH(b.F)>d/1E3+1)return"in-the-past";if(f.ya&&!isFinite(d))return"live-infinite";if(a.o&&((b=b.o)&&b.isView()&&(b=b.o),b&&b.pk().length>a.o&&g.EB(e)))return"played-ranges";if(!e.Ba)return null;if(!e.Ba.o||!f.Ba.o)return"non-dash";if(e.Ba.videoInfos[0].containerType!=f.Ba.videoInfos[0].containerType)return"container";if(g.EB(f)&&g.EB(e))return"content-protection";a=f.Ba.o[0].audio; e=e.Ba.o[0].audio;return a.sampleRate==e.sampleRate||g.Nt?(a.o||2)!=(e.o||2)?"channel-count":null:"sample-rate"}; vM=function(a,b,c,d){g.z.call(this);var e=this;this.T=a;this.o=b;this.u=c;this.C=this.B=null;this.G=d-1E3*b.Gb();this.H=-1;this.M=!1;this.F=new aD;this.F.then(void 0,function(){}); this.L=new g.I(function(){return uM(e,"timeout")},1E4); g.A(this,this.L);this.R=isFinite(d);this.A={status:0,error:null}}; tla=function(a){var b,c,d,e,f,k;return g.Ba(function(l){if(1==l.o){if(a.ha())return l["return"](Promise.reject(Error(a.A.error||"disposed")));a.L.start();return g.sa(l,a.F,2)}b=a.o.o;if(b.gg())return uM(a,"ended_in_finishTransition"),l["return"](Promise.reject(Error(a.A.error)));if(!a.C||!ku(a.C))return uM(a,"next_mse_closed"),l["return"](Promise.reject(Error(a.A.error)));if(a.u.H!=a.C)return uM(a,"next_mse_mismatch"),l["return"](Promise.reject(Error(a.A.error)));c=wM(a);d=c.WA;e=c.VA;xK(a.o,!1,!0); f=xM(b,d,e,!a.u.getVideoData().isAd());yK(a.u,f);a.R&&(a.u.seekTo(a.u.getCurrentTime()+.001,{qm:!0,Rv:3}),f.play());k=b.Wa();k.cpn=a.o.getVideoData().clientPlaybackNonce;k.st=""+d;k.et=""+e;a.u.Xa("gapless",eu(k));a.o.Xa("gaplessTo",a.u.getVideoData().clientPlaybackNonce);g.Af(function(){!a.u.getVideoData().Ne&&g.TC(a.u.getPlayerState())&&dL(a.u)}); yM(a,6);a.dispose();return l["return"](Promise.resolve())})}; BM=function(a){if(a.u.getVideoData().Ba){TK(a.u,a.C);yM(a,3);zM(a);var b=AM(a),c=b.YC;b=b.OO;c.subscribe("updateend",a.Tk,a);b.subscribe("updateend",a.Tk,a);a.Tk(c);a.Tk(b)}}; zM=function(a){a.o.unsubscribe("internalvideodatachange",a.Ji,a);a.u.unsubscribe("internalvideodatachange",a.Ji,a);a.o.unsubscribe("mediasourceattached",a.Ji,a);a.u.unsubscribe("statechange",a.zA,a)}; xM=function(a,b,c,d){return new g.tM(a.isView()?a.o:a,b,c,d)}; yM=function(a,b){b<=a.A.status||(a.A={status:b,error:null},5==b&&a.F.resolve(void 0))}; uM=function(a,b){if(!a.ha()&&!a.isFinished()){var c=4<=a.A.status&&"player-reload-after-handoff"!==b;a.A={status:Infinity,error:b};if(a.o&&a.u){var d=a.u.getVideoData().clientPlaybackNonce;a.o.Xa("gaplessError","cpn."+d+";msg."+b);d=a.o;d.V.kg=!1;c&&PK(d);d.A&&(c=d.A,c.o.ba=!1,c.A&&YF(c))}a.F.reject(void 0);a.dispose()}}; wM=function(a){var b=a.o.o;b=b.isView()?b.u:0;var c=a.o.getVideoData().ya?Infinity:gL(a.o,!0);c=Math.min(a.G/1E3,c)+b;var d=a.R?100:0;a=c-JH(a.u.F)+d;return{oF:b,WA:a,nF:c,VA:Infinity}}; AM=function(a){return{YC:a.B.o.o,OO:a.B.u.o}}; CM=function(a){g.z.call(this);var b=this;this.A=a;this.F=this.u=this.o=null;this.H=!1;this.C=null;this.M=rla(this.A.O());this.B=null;this.G=function(){return g.Af(function(){return ula(b)})}}; vla=function(a,b,c,d){d=void 0===d?0:d;a.o&&DM(a);a.C=new aD;a.o=b;var e=c,f=a.A.ub(),k=f.getVideoData().ya?Infinity:1E3*gL(f,!0);e>k&&(e=k-a.M.u,a.H=!0);f.getCurrentTime()>=e/1E3?a.G():(a.u=f,a.A.addEventListener(g.qC("vqueued"),a.G),e=isFinite(e)||e/1E3>a.u.getDuration()?e:0x8000000000000,a.F=new g.nC(e,0x8000000000000,{namespace:"vqueued"}),a.u.addCueRange(a.F));f=d/=1E3;e=b.getVideoData().ka;if(d&&e&&a.u){k=d;var l=0;b.getVideoData().ya&&(f=Math.min(c/1E3,gL(a.u,!0)),l=Math.max(0,f-a.u.getCurrentTime()), k=Math.min(d,gL(b)+l));f=Qga(e,k)||d;f!=d&&a.o.Xa("qvaln","st."+d+";at."+f+";rm."+(l+";ct."+k))}b=f;a.o.getVideoData().Ej=!0;a.o.getVideoData().kg=!0;eK(a.o,!0);d="";a.u&&(d=g.UH(a.u.C.provider),e=a.u.getVideoData().clientPlaybackNonce,d="crt."+(1E3*d).toFixed()+";cpn."+e);a.o.Xa("queued",d);0!=b&&a.o.seekTo(b+.01,{qm:!0,Rv:3});a.B=new vM(a.M,a.A.ub(),a.o,c);c=a.B;Infinity!=c.A.status&&(yM(c,1),c.o.subscribe("internalvideodatachange",c.Ji,c),c.u.subscribe("internalvideodatachange",c.Ji,c),c.o.subscribe("mediasourceattached", c.Ji,c),c.u.subscribe("statechange",c.zA,c),c.o.subscribe("newelementrequired",c.FB,c),c.Ji());return a.C}; ula=function(a){var b,c,d;return g.Ba(function(e){switch(e.o){case 1:if(a.ha()||!a.C||!a.o)return e["return"]();a.H&&YJ(a.A.ub(),!0,!1);b=null;if(!a.B){e.Nc(2);break}ta(e,3);return g.sa(e,tla(a.B),5);case 5:ua(e,2);break;case 3:b=c=va(e);case 2:EM(a.A.app,a.o);var f=a.o.getPlayerType();g.FM(a.A.app,f);a.A.playVideo();b&&(f=a.o,f.Xa("newelem",b.message),PK(f));d=a.C;DM(a);return e["return"](d.resolve(void 0))}})}; DM=function(a){a.u&&(a.A.removeEventListener(g.qC("vqueued"),a.G),a.u.removeCueRange(a.F),a.u=null,a.F=null);if(a.B){if(!a.B.isFinished()){var b=a.B;Infinity!=b.A.status&&uM(b,"Canceled")}a.B=null}a.C=null;a.o=null;a.H=!1}; IM=function(a,b){g.z.call(this);var c=this;this.data=[];this.A=a||NaN;this.u=b||null;this.o=new g.I(function(){GM(c);HM(c)}); g.A(this,this.o)}; GM=function(a){var b=(0,g.N)();a.data.forEach(function(c){c.expiree&&(k+="0"));if(0f&&(k+="0");k+=f+":";10>c&&(k+="0");d=k+c}return 0<=a?d:"-"+d}; g.MM=function(a){return(!("button"in a)||"number"!==typeof a.button||0===a.button)&&!("shiftKey"in a&&a.shiftKey)&&!("altKey"in a&&a.altKey)&&!("metaKey"in a&&a.metaKey)&&!("ctrlKey"in a&&a.ctrlKey)}; g.NM=function(a,b){return tC(b)?(b.fetch=0,new g.sC(a,b)):new g.fB(a,b)}; OM=function(a){g.z.call(this);this.u=null;for(var b=[],c=0;100>=c;c++)b.push(c/100);b={threshold:b};(this.o=window.IntersectionObserver?new IntersectionObserver((0,g.x)(this.A,this),b):null)&&this.o.observe(a)}; wla=function(a,b){Fo(a,"version",b)}; QM=function(){var a="ytp-id-"+PM.toString();PM++;return a}; g.RM=function(a){g.z.call(this);this.ra={};this.Oa={};this.element=this.createElement(a)}; SM=function(a,b,c,d){if("{{"===d.substr(0,2))a.Oa[d]=[b,c];else return d}; xla=function(a,b){var c=[];if(!b)return c;for(var d=g.p(b),e=d.next();!e.done;e=d.next())if(e=e.value,null!=e){var f=e.nodeType;1===f||3===f?c.push(e):e&&"string"===typeof e.D?c.push(a.createElement(e)):e.element?c.push(e.element):"string"===typeof e&&-1!==e.indexOf("\n")?e.split("\n").forEach(function(k,l){0f?k={width:b.width,height:b.width/e,aspectRatio:e}:ee?k.width=k.height*c:cMath.abs(bN*b-a)||1>Math.abs(bN/a-b)?bN:a/b}; cN=function(a){if(1==a.app.getAppState())return!1;if(6==a.app.getAppState())return!0;var b=g.V(a.app);if(!b||nK(b))return!1;var c=g.tL(a.app.o);a=!g.U(c,2)||!g.P(a.app.O().experiments,"html5_leanback_gapless_elem_display_killswitch")&&b&&b.getVideoData().kg;b=g.U(c,1024);return c&&a&&!b&&!c.isCued()}; dN=function(a){var b="3"==a.app.O().controlsType&&!a.C&&cN(a)&&!a.app.Ra||!1;a.o.controls=b;a.o.tabIndex=b?0:-1;b?a.o.removeEventListener("focus",a.Z):g.P(a.app.O().experiments,"disable_focus_redirect")||a.o.addEventListener("focus",a.Z)}; eN=function(a){var b=a.getPlayerSize(),c=1,d=!1,e=aN(a,b,a.getVideoAspectRatio()),f=ql();if(cN(a)){var k=$M(a);var l=isNaN(k)||g.Ju||VG&&g.tz;rl&&!g.Sd(601)?k=e.aspectRatio:l=l||"3"==a.app.O().controlsType;l?l=new g.wh(0,0,b.width,b.height):(c=e.aspectRatio/k,l=new g.wh((b.width-e.width/c)/2,(b.height-e.height)/2,e.width/c,e.height),1==c&&g.tz&&(k=l.width-b.height*k,0=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+") "+t+"px "+u+"px/"+l+"px "+m+"px"}; g.XN=function(a){g.W.call(this,{D:"div",I:"ytp-storyboard-framepreview",K:[{D:"div",I:"ytp-storyboard-framepreview-img"}]});this.api=a;this.C=this.da("ytp-storyboard-framepreview-img");this.u=null;this.A=NaN;this.events=new g.Ur(this);this.o=new g.PN(this,100);g.A(this,this.events);g.A(this,this.o);this.N(this.api,"presentingplayerstatechange",this.F)}; YN=function(a,b){var c=!!a.u;a.u=b;a.u?(c||(a.events.N(a.api,"videodatachange",function(){YN(a,a.api.ze())}),a.events.N(a.api,"progresssync",a.G),a.events.N(a.api,"appresize",a.B)),a.A=NaN,ZN(a),a.o.show(200)):(c&&g.Wr(a.events),a.o.hide(),a.o.stop())}; ZN=function(a){var b=a.u,c=a.api.getCurrentTime(),d=g.uL(a.api).getPlayerSize(),e=XA(b,d.width);c=bB(b,e,c);c!==a.A&&(a.A=c,ZA(b,c,d.width),b=b.Yi(c,d.width),WN(a.C,b,d.width,d.height))}; $N=function(a,b){g.W.call(this,{D:"button",X:["ytp-fullerscreen-edu-button","ytp-button"],K:[{D:"div",X:["ytp-fullerscreen-edu-text"],W:"Desliza hacia abajo para ver m\u00e1s detalles"},{D:"div",X:["ytp-fullerscreen-edu-chevron"],K:[g.X?{D:"div",X:["ytp-icon","ytp-icon-chevron-down"]}:{D:"svg",P:{height:"100%",viewBox:"0 0 24 24",width:"100%"},K:[{D:"path",P:{d:"M7.41,8.59L12,13.17l4.59-4.58L18,10l-6,6l-6-6L7.41,8.59z",fill:"#fff"}}]}]}]});this.o=a;this.C=b;this.A=new g.PN(this,250,void 0,100);this.B= this.u=!1;g.PL(a,this.element,this,61214);this.C=b;g.A(this,this.A);this.N(a,"fullscreentoggled",this.la);this.N(a,"presentingplayerstatechange",this.la);this.na("click",this.onClick);this.la()}; g.aO=function(a){g.W.call(this,a);this.Z=new g.O;g.A(this,this.Z)}; g.bO=function(a,b,c,d){d=void 0===d?!1:d;g.aO.call(this,b);var e=this;this.J=a;this.R=d;this.G=new g.Ur(this);this.L=new g.PN(this,c,!0,void 0,void 0,function(){e.o&&(e.o.getAttribute("aria-haspopup"),e.o.setAttribute("aria-expanded","true"),g.P(e.J.O().experiments,"embeds_enable_new_playlist_killswitch")?document.activeElement&&g.De(e.o,document.activeElement)&&e.focus():e.focus())}); g.A(this,this.G);g.A(this,this.L)}; cO=function(a){a.o&&(document.activeElement&&g.De(a.element,document.activeElement)&&(He(a.o),a.o.focus()),a.o.removeAttribute("aria-expanded"),a.o=void 0);g.Wr(a.G);a.H=void 0}; dO=function(a,b,c){a.Sd()?a.Pa():a.jc(b,c)}; eO=function(a,b){var c=void 0===c?!0:c;var d=g.L("VALID_SESSION_TEMPDATA_DOMAINS",[]),e=g.ud(window.location.href);e&&d.push(e);e=g.ud(a);if(g.cb(d,e)||!e&&jc(a,"/"))if(g.Bo("autoescape_tempdata_url")&&(d=document.createElement("a"),g.dd(d,a),a=d.href),a&&(d=vd(a),e=d.indexOf("#"),d=0>e?d:d.substr(0,e)))if(c&&!b.csn&&(b.itct||b.ved)&&(b=Object.assign({csn:g.qs()},b)),f){var f=parseInt(f,10);isFinite(f)&&0l)a.o[c].width=n;else{a.o[c].width=0;var q= a,t=c,u=q.o[t-1];void 0!==u&&0a.fa&&(a.fa=m/f),d=!0)}c++}}return d}; $O=function(a){if(a.B){var b=a.api.getProgressState(),c=new MO(b.seekableStart,b.seekableEnd),d=OO(c,b.loaded,0);b=OO(c,b.current,0);var e=a.u.u!==c.u||a.u.o!==c.o;a.u=c;XO(a,b,d);e&&YO(a);ZO(a)}}; bP=function(a,b){var c=NO(a.u,b.A);if(1=a.o.length?!1:Math.abs(b-a.o[c].startTime/1E3)/a.u.o*(a.B-(a.A?3:2)*a.T).2*(a.A?60:40)&&1===a.o.length){var k=c*(a.u.getLength()/60),l=d*(a.u.getLength()/60);for(k=Math.ceil(k);k=f;c--)g.Ae(e[c]);a.element.style.height=a.L+(a.A?8:5)+"px";a.S("height-change",a.L);a.uc.style.height=a.L+(a.A?20:13)+"px";e=g.p(Object.keys(a.U));for(f=e.next();!f.done;f=e.next())fP(a,f.value);gP(a);XO(a,a.F,a.ea)}; eP=function(a){var b=a.wa.x,c=a.B*a.aa;b=g.Ud(b,0,a.B);a.wb.update(b,a.B,-a.R,-(c-a.R-a.B));return a.wb}; XO=function(a,b,c){a.F=b;a.ea=c;var d=eP(a),e=a.u.o,f=NO(a.u,a.F),k=g.KM("$PLAY_PROGRESS de $DURATION",{PLAY_PROGRESS:g.LM(f,!0),DURATION:g.LM(e,!0)});if(a.api.O().ia("web_wn_macro_markers")){var l=hP(a,1E3*f);k=(l=a.o[l].title)?l+" "+k:k}a.update({ariamin:Math.floor(a.u.u),ariamax:Math.floor(e),arianow:Math.floor(f),arianowtext:k});e=a.clipStart;f=a.clipEnd;a.H&&2!==a.api.getPresentingPlayerType()&&(e=a.H.startTimeMs/1E3,f=a.H.endTimeMs/1E3);e=OO(a.u,e,0);k=OO(a.u,f,1);f=g.Ud(b,e,k);c=g.Ud(c,e,k); k=b*d.o+d.u;if(a.api.O().ia("web_wn_macro_markers")){k=b*a.u.o*1E3;l=-1;for(var m=g.p(a.o),n=m.next();!n.done;n=m.next())n=n.value,k>n.startTime&&0l?0:l)+d.u}g.H(a.Cc,"transform","translateX("+k+"px)");a.api.O().ia("web_wn_macro_markers")?(iP(a,d,e,f,"PLAY_PROGRESS"),iP(a,d,e,c,"LOAD_PROGRESS")):(jP(a,a.o[0].B,d,e,f),jP(a,a.o[0].A,d,e,c))}; iP=function(a,b,c,d,e){var f=a.o.length,k=b.o-a.T*(a.A?3:2),l=c*k;c=aP(a,l);var m=d*k;k=aP(a,m);"HOVER_PROGRESS"===e&&(k=aP(a,b.o*d,!0),m=b.o*d-kP(a,b.o*d)*(a.A?3:2));b=Math.max(l-lP(a,c),0);for(d=c;d=a.o.length)return a.B;for(var c=0,d=0;de.width)b-=e.width;else break;d++}return d===a.o.length?d-1:d}; hP=function(a,b){for(var c=0,d=g.p(a.o),e=d.next();!(e.done||e.value.startTime>b);e=d.next())c++;return 0===c?c:c-1}; kP=function(a,b){for(var c=a.o.length,d=0,e=g.p(a.o),f=e.next();!f.done;f=e.next())if(f=f.value,0!==f.width)if(b>f.width)b-=f.width,b-=a.A?3:2,d++;else break;return d===c?c-1:d}; jP=function(a,b,c,d,e,f){b.style.left=Math.max(d*c.o+c.u,0)+"px";mP(a,b,g.Ud((e-d)*c.o+c.u,0,c.width),c.width,void 0===f?!1:f)}; g.nP=function(a,b,c,d){a.Xb=b;a.B=c;a.A=d;YO(a);a.api.O().ia("web_wn_macro_markers")&&1===a.o.length&&(a.o[0].width=c||0)}; gP=function(a){var b=!!a.H&&2!==a.api.getPresentingPlayerType(),c=a.clipStart,d=a.clipEnd,e=!0,f=!0;b&&a.H?(c=a.H.startTimeMs/1E3,d=a.H.endTimeMs/1E3):(e=c>a.u.u,f=0a.F),e++;g.K(a.uc,"ytp-scrubber-button-hover",c===d&&1a.F)}; fP=function(a,b){var c=a.U[b],d=a.za[b],e=eP(a),f=OO(a.u,c.start/1E3,0),k=uia(c,a.A)/e.width;var l=OO(a.u,c.end/1E3,1);k!==Number.POSITIVE_INFINITY&&(f=g.Ud(f,0,l-k));l=Math.min(l,f+k);c.color&&(d.style.background=c.color);jP(a,d,e,f,l,!0)}; oP=function(a,b){var c=b.getId();a.U[c]===b&&(g.Ae(a.za[c]),delete a.U[c],delete a.za[c])}; pP=function(a,b){b?a.G||(a.element.removeAttribute("aria-disabled"),a.G=new g.$r(a.Ob,!0),a.G.subscribe("hovermove",a.DM,a),a.G.subscribe("hoverend",a.CM,a),a.G.subscribe("dragstart",a.BM,a),a.G.subscribe("dragmove",a.FM,a),a.G.subscribe("dragend",a.EM,a),a.Bb=a.na("keydown",a.zI)):a.G&&(a.element.setAttribute("aria-disabled","true"),a.kb(a.Bb),a.G.cancel(),a.G.dispose(),a.G=null)}; g.qP=function(a){var b=2*a.B*g.mz();return 1E3*a.u.getLength()/a.api.getPlaybackRate()/b}; rP=function(a,b,c){g.W.call(this,{D:"button",I:"ytp-button",P:{title:"Ver en la televisi\u00f3n","aria-haspopup":"true"},W:"{{icon}}"});this.J=a;this.La=c;this.o=null;this.N(a,"onMdxReceiversChange",this.la);this.N(a,"presentingplayerstatechange",this.la);this.N(a,"appresize",this.la);this.la();this.na("click",this.u,this);g.Me(this,g.RN(b.rb(),this.element))}; sP=function(a,b,c){g.W.call(this,{D:"button",X:["ytp-button","ytp-settings-button"],P:{"aria-haspopup":"true","aria-owns":QM(),title:"Configuraci\u00f3n","data-tooltip-target-id":"ytp-settings-button"},K:[g.EN()]});this.J=a;this.La=c;this.u=!0;this.na("click",this.A);this.N(a,"onPlaybackQualityChange",this.updateBadge);this.N(a,"videodatachange",this.updateBadge);this.N(a,"webglsettingschanged",this.updateBadge);this.N(a,"appresize",this.o);g.Me(this,g.RN(b.rb(),this.element));g.PL(this.J,this.element, this,28663);this.updateBadge();this.o(g.uL(a).getPlayerSize())}; tP=function(a,b){a.u=!!b;a.o(g.uL(a.J).getPlayerSize())}; g.vP=function(a,b,c,d){g.aO.call(this,a);this.priority=b;c&&g.uP(this,c);d&&this.xb(d)}; g.wP=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",X:b,P:a,K:[{D:"div",I:"ytp-menuitem-icon",W:"{{icon}}"},{D:"div",I:"ytp-menuitem-label",W:"{{label}}"},{D:"div",I:"ytp-menuitem-content",W:"{{content}}"}]}}; xP=function(a,b){a.oa("icon",b)}; g.uP=function(a,b){a.oa("label",b)}; g.yP=function(a,b){g.vP.call(this,g.wP({role:"menuitemcheckbox","aria-checked":"false"}),b,a,{D:"div",I:"ytp-menuitem-toggle-checkbox"});this.checked=!1;this.na("click",this.onClick)}; zP=function(a,b){g.yP.call(this,"Anotaciones",5);this.J=a;this.La=b;this.o=!1;this.N(a,"videodatachange",this.la);this.N(a,"onApiChange",this.la);this.subscribe("select",this.u,this);this.la()}; AP=function(a,b,c,d,e){var f={D:"div",I:"ytp-panel"};if(c){var k="ytp-panel-title";var l={D:"div",I:"ytp-panel-header",K:[{D:"button",X:["ytp-button",k],K:[c]}]};if(e){var m="ytp-panel-options";l.K.unshift({D:"button",X:["ytp-button",m],K:[d]})}f.K=[l]}g.aO.call(this,f);this.content=b;b.ca(this.element);this.Vy=!1;c&&(c=this.da(k),this.N(c,"click",this.IK),this.Vy=!0,e&&(m=this.da(m),this.N(m,"click",e)));b.subscribe("size-change",this.lB,this);this.N(a,"fullscreentoggled",this.lB)}; g.BP=function(a,b,c,d,e){b=void 0===b?null:b;var f={role:"menu"};b&&(f.id=b);b=new g.aO({D:"div",I:"ytp-panel-menu",P:f});AP.call(this,a,b,c,d,e);this.menuItems=b;this.items=[];g.A(this,this.menuItems)}; g.CP=function(a){for(var b=g.p(a.items),c=b.next();!c.done;c=b.next())c.value.unsubscribe("size-change",a.Nu,a);a.items=[];g.ye(a.menuItems.element);a.menuItems.S("size-change")}; Cla=function(a,b){return b.priority-a.priority}; g.DP=function(a,b,c,d,e,f){g.vP.call(this,g.wP({"aria-haspopup":"true"}),b,a);this.La=d;this.C=!1;this.u=null;this.options={};this.A=new g.BP(c,void 0,a,e,f);g.A(this,this.A);this.na("keydown",this.AI);this.na("click",this.open)}; EP=function(a){if(a.u){var b=a.options[a.u];b.element.getAttribute("aria-checked");b.element.removeAttribute("aria-checked");a.u=null}}; g.FP=function(a,b){g.CP(a.A);for(var c={},d=!1,e=0;ec):c&&d&&(a.o=new g.I(a.Pa,d,a),g.A(a,a.o),g.Ee(g.je("ytp-paid-content-overlay-text",a.element),c))}; DQ=function(a,b){a.o&&g.U(b,8)&&a.B&&(a.B=!1,a.jc(),a.o.start())}; FQ=function(a){g.W.call(this,{D:"div",I:"ytp-spinner",K:[lO(),{D:"div",I:"ytp-spinner-message",W:"Si la reproducci\u00f3n no empieza en breve, prueba a reiniciar el dispositivo."}]});this.api=a;this.message=this.da("ytp-spinner-message");this.o=new g.I(this.show,500,this);g.A(this,this.o);this.N(a,"presentingplayerstatechange",this.u);this.N(a,"onFrescaStateChange",this.A);this.N(a,"playbackstalledatstart",this.B);EQ(this,g.tL(a))}; EQ=function(a,b){if(g.U(b,128))var c=0;else!(c=g.U(b,16))&&(c=g.U(b,1))&&(c=FL(g.oL(a.api)),c=!(c&&c.loaded));c?a.o.start():a.hide()}; HQ=function(a){var b=g.Kt(a.O().experiments,"mweb_muted_autoplay_animation"),c=[],d=[{D:"div",X:["ytp-unmute-icon"],K:[g.X?{D:"div",X:["ytp-icon","ytp-icon-volume-muted-dark"]}:{D:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{D:"path",Sa:!0,I:"ytp-svg-fill",P:{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",X:["ytp-unmute-text"],W:"Activar el sonido"}];"none"!==b&&(c.push("ytp-unmute-animated"),d.push({D:"div",X:["ytp-unmute-box"],K:[]}),"expand"===b?c.push("ytp-unmute-expand"):"shrink"===b&&c.push("ytp-unmute-shrink"));g.bO.call(this,a,{D:"button",X:["ytp-unmute","ytp-popup","ytp-button"].concat(c),K:[{D:"div",I:"ytp-unmute-inner",K:d}]},100);this.seen=this.u=!1;this.api=a;g.PL(this.api,this.element,this,51663);this.N(a,"onMutedAutoplayChange",this.C,this);this.N(a,"presentingplayerstatechange", this.B);this.na("click",this.onClick,this);a=a.isMutedByMutedAutoplay()&&!g.Py(this.api.O());g.UM(this,a);a&&GQ(this);this.A=a}; IQ=function(a){a.u||(a.u=!0,g.SL(a.api,a.element))}; GQ=function(a){a.seen||(a.seen=!0,g.TL(a.api,a.element,!0))}; g.JQ=function(a){g.Ur.call(this);var b=this,c=a.O(),d=g.uL(a);this.api=a;this.rd=!1;this.F=null;this.Ob=!1;this.Id=new g.I(this.GK,0,this);g.A(this,this.Id);g.Yy(c)||(this.Z=new xQ(a),g.A(this,this.Z),g.NL(a,this.Z.element,4));if(Jla()){var e=new FQ(a);g.A(this,e);e=e.element;g.NL(a,e,4)}var f=a.getVideoData();this.u=new LN(d,(0,g.x)(this.BJ,this),f,c.ob);g.A(this,this.u);this.u.subscribe("autohideupdate",this.Qm,this);var k=new BQ(a);g.A(this,k);g.NL(a,k.element,4);this.Ra=new HQ(a);g.A(this,this.Ra); g.NL(this.api,this.Ra.element,2);this.Yb=this.api.isMutedByMutedAutoplay();this.N(a,"onMutedAutoplayChange",this.CJ);this.Oa=new g.I(this.Uq,200,this);g.A(this,this.Oa);this.uc=f.videoId;this.C=null;this.Yc=!1;this.Zc=this.cd=null;this.pd=NaN;this.Xc=this.fa=!1;this.ua=0;this.qd=new g.I(function(){b.ua=0},350); g.A(this,this.qd);this.Ca=new g.I(this.iG.bind(this),350,this);g.A(this,this.Ca);this.Ya=[];f=a.getRootNode();f.setAttribute("aria-label","Reproductor de v\u00eddeo de YouTube");switch(c.color){case "white":g.J(f,"ytp-color-white")}g.Yy(c)&&g.J(f,"ytp-music-player");!g.P(a.O().experiments,"disable_mediasession2")&&navigator.mediaSession&&!navigator.mediaSession.metadata&&navigator.mediaSession.setActionHandler&&(f=new ON(a),g.A(this,f));this.N(a,"appresize",this.gb);this.N(a,"presentingplayerstatechange", this.DJ);this.N(a,"videodatachange",this.JA);this.N(a,"videoplayerreset",this.wM);this.N(a,"autonavvisibility",this.ph,this);this.N(a,"sizestylechange",this.ph,this);this.N(a,"onFrescaStateChange",this.Ie,this);this.N(d,"click",this.ZM,this);this.N(d,"dblclick",this.aN,this);c.ra&&(this.N(d,"gesturechange",this.bN,this),this.N(d,"gestureend",this.cN,this));this.T=[d.A];this.Z&&this.T.push(this.Z.element);e&&this.T.push(e)}; KQ=function(a,b){if(!b)return!1;var c=a.api.app.C;if(c.ji()&&(c=c.xa())&&g.De(c,b))return c.controls;for(c=0;c1+b&&a.api.toggleFullscreen()}; Jla=function(){var a=il()&&67<=fl();return!hl("tizen")&&!Ny&&!a&&!0}; RQ=function(a,b){g.aO.call(this,{D:"div",I:"ytp-ad-persistent-progress-bar-container",K:[{D:"div",I:"ytp-ad-persistent-progress-bar"}]});this.A=a;this.u=b;g.A(this,this.u);this.F=this.da("ytp-ad-persistent-progress-bar");this.o=-1;this.N(a,"presentingplayerstatechange",this.C);this.hide();this.C()}; SQ=function(a,b){b=void 0===b?2:b;g.O.call(this);this.o=a;this.A=new g.Ur(this);g.A(this,this.A);this.C=Lla;this.B=null;this.A.N(this.o,"presentingplayerstatechange",this.LJ);this.B=this.A.N(this.o,"progresssync",this.LA);this.u=b;1===this.u&&this.LA()}; UQ=function(a,b,c){g.W.call(this,{D:"button",X:["ytp-button","ytp-cards-button"],P:{"aria-label":"Mostrar tarjetas","aria-owns":"iv-drawer","aria-haspopup":"true","data-tooltip-opaque":String(g.Py(a.O()))},K:[{D:"span",I:"ytp-cards-button-icon-default",K:[{D:"div",I:"ytp-cards-button-icon",K:[g.X?{D:"div",X:["ytp-icon","ytp-icon-info-card"]}:{D:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{D:"path",Sa:!0,I:"ytp-svg-fill",P:{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",I:"ytp-cards-button-title",W:"Informaci\u00f3n"}]},{D:"span",I:"ytp-cards-button-icon-shopping",K:[{D:"div",I:"ytp-cards-button-icon",K:[g.X?{D:"div",X:["ytp-icon","ytp-icon-shopping-card"]}:{D:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{D:"path",I:"ytp-svg-shadow",P:{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",I:"ytp-svg-fill",P:{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",I:"ytp-svg-shadow-fill",P:{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", I:"ytp-cards-button-title",W:"Compras"}]}]});this.J=a;this.B=b;this.A=c;this.o=null;this.u=new g.PN(this,250,!0,100);g.A(this,this.u);g.K(this.A,"ytp-show-cards-title",g.Py(a.O()));this.hide();this.na("click",this.onClicked);this.na("mouseover",this.xL);TQ(this,!0)}; TQ=function(a,b){b?a.o=g.RN(a.B.rb(),a.element):(a.o=a.o,a.o(),a.o=null)}; VQ=function(a,b,c){g.W.call(this,{D:"div",I:"ytp-cards-teaser",K:[{D:"div",I:"ytp-cards-teaser-box"},{D:"div",I:"ytp-cards-teaser-text",K:[{D:"span",I:"ytp-cards-teaser-label",W:"{{text}}"}]}]});var d=this;this.u=a;this.T=b;this.F=new g.PN(this,250,!1,250);g.A(this,this.F);this.C=c;this.o=null;this.L=new g.I(this.bM,300,this);g.A(this,this.L);this.H=new g.I(this.ZL,2E3,this);g.A(this,this.H);this.G=[];this.A=null;this.R=new g.I(function(){d.element.style.margin=0},250); g.A(this,this.R);this.B=null;this.N(c.element,"mouseover",this.BB);this.N(c.element,"mouseout",this.AB);this.N(a,"cardsteasershow",this.vN);this.N(a,"cardsteaserhide",this.Pa);this.N(a,"cardstatechange",this.CD);this.N(a,"presentingplayerstatechange",this.CD);this.N(a,"appresize",this.Bu);this.N(a,"onShowControls",this.Bu);this.N(a,"onHideControls",this.dF);this.na("click",this.YO);this.na("mouseenter",this.EJ)}; Mla=function(a,b){a.oa("text",b.teaserText);a.element.setAttribute("dir",g.Pn(b.teaserText));a.F.show();a.A=new g.I(function(){g.J(this.u.getRootNode(),"ytp-cards-teaser-shown");this.Bu()},0,a); a.A.start();TQ(a.C,!1);a.o=new g.I(a.Pa,580+b.durationMs,a);a.o.start();a.G.push(a.na("mouseover",a.BB,a));a.G.push(a.na("mouseout",a.AB,a))}; g.WQ=function(a){g.W.call(this,{D:"div",K:[{D:"div",I:"ytp-bezel-text-wrapper",K:[{D:"div",I:"ytp-bezel-text",W:"{{title}}"}]},{D:"div",I:"ytp-bezel",P:{role:"status","aria-label":"{{label}}"},K:[{D:"div",I:"ytp-bezel-icon",W:"{{icon}}"}]}]});this.J=a;this.u=new g.I(this.show,10,this);this.o=new g.I(this.hide,500,this);g.A(this,this.u);g.A(this,this.o);this.hide()}; g.YQ=function(a,b){if(b)g.U(g.tL(a.J),64)||XQ(a,BN(),"Bot\u00f3n de reproducci\u00f3n");else{var c=a.J.getVideoData();c.ya&&!c.allowLiveDvr?XQ(a,FN(),"Detener reproducci\u00f3n en directo"):XQ(a,zN(),"Pausa")}}; ZQ=function(a,b,c){if(0>=b){c=JN();b="silenciado";var d=0}else c=c?IN():HN(),d=Math.floor(b),b=d+"volumen";XQ(a,c,b,d+"%")}; $Q=function(a,b){var c=b?g.X?{D:"div",X:["ytp-icon","ytp-icon-fast-rewind"]}:{D:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{D:"path",Sa:!0,I:"ytp-svg-fill",P:{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.X?{D:"div",X:["ytp-icon","ytp-icon-fast-forward"]}:{D:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{D:"path",Sa:!0,I:"ytp-svg-fill",P:{d:"M 10,24 18.5,18 10,12 V 24 z M 19,12 V 24 L 27.5,18 19,12 z"}}]},d=a.J.getPlaybackRate(), e=g.KM("Velocidad: $RATE",{RATE:String(d)});XQ(a,c,e,d+"x")}; XQ=function(a,b,c,d){d=void 0===d?"":d;a.oa("label",void 0===c?"":c);a.oa("icon",b);a.o.qf();a.u.start();a.oa("title",d);g.K(a.element,"ytp-bezel-text-hide",!d)}; g.aR=function(){g.Ur.apply(this,arguments)}; bR=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.Ed("/sharing_services",a);g.qr(d)}; cR=function(a){var b=g.wP({"aria-haspopup":"true"});g.vP.call(this,b,a);this.na("keydown",this.o)}; dR=function(a,b){a.element.setAttribute("aria-haspopup",String(b))}; fR=function(a,b,c,d){g.BP.call(this,a);this.J=a;this.La=c;this.dc=d;this.Cf=new g.yP("Bucle",7);this.getVideoUrl=new cR(6);this.uf=new cR(5);this.rf=new cR(4);this.Wa=new cR(3);this.fn=new g.vP(g.wP({href:"{{href}}",target:this.J.O().F},void 0,!0),2,"Solucionar un problema de reproducci\u00f3n");this.ak=new g.aO({D:"div",X:["ytp-copytext","ytp-no-contextmenu"],P:{draggable:"false",tabindex:"1"},W:"{{text}}"});this.Ex=new AP(this.J,this.ak);this.Sh=null;g.A(this,this.Cf);this.sb(this.Cf,!0);this.Cf.na("click", this.aO,this);g.PL(a,this.Cf.element,this.Cf,28661);g.A(this,this.getVideoUrl);this.sb(this.getVideoUrl,!0);this.getVideoUrl.na("click",this.YN,this);g.PL(a,this.getVideoUrl.element,this.getVideoUrl,28659);g.A(this,this.uf);this.sb(this.uf,!0);this.uf.na("click",this.ZN,this);g.PL(a,this.uf.element,this.uf,28660);g.A(this,this.rf);this.sb(this.rf,!0);this.rf.na("click",this.XN,this);g.PL(a,this.rf.element,this.rf,28658);g.A(this,this.Wa);this.sb(this.Wa,!0);this.Wa.na("click",this.WN,this);g.A(this, this.fn);this.sb(this.fn,!0);this.fn.na("click",this.TM,this);b=new g.vP(g.wP(),1,"Estad\u00edsticas para nerds");g.A(this,b);this.sb(b,!0);b.na("click",this.mN,this);g.A(this,this.ak);this.ak.na("click",this.aL,this);g.A(this,this.Ex);c=document.queryCommandSupported&&document.queryCommandSupported("copy");g.Nt&&g.Sd(43)&&(c=!0);g.vu&&!g.Sd(41)&&(c=!1);c&&(this.Sh=new g.W({D:"textarea",I:"ytp-html5-clipboard",P:{readonly:""}}),g.A(this,this.Sh),this.Sh.ca(this.element));xP(this.Cf,g.X?{D:"div",X:["ytp-icon", "ytp-icon-repeat"]}:{D:"svg",P:{fill:"none",height:"24",viewBox:"0 0 24 24",width:"24"},K:[{D:"path",P:{d:"M7 7H17V10L21 6L17 2V5H5V11H7V7ZM17 17H7V14L3 18L7 22V19H19V13H17V17Z",fill:"white"}}]});xP(this.Wa,g.X?{D:"div",X:["ytp-icon","ytp-icon-bug-report"]}:{D:"svg",P:{height:"24",viewBox:"0 0 24 24",width:"24"},K:[{D:"path",P:{"clip-rule":"evenodd",d:"M20 10V8H17.19C16.74 7.22 16.12 6.54 15.37 6.04L17 4.41L15.59 3L13.42 5.17C13.39 5.16 13.37 5.16 13.34 5.16C13.18 5.12 13.02 5.1 12.85 5.07C12.79 5.06 12.74 5.05 12.68 5.04C12.46 5.02 12.23 5 12 5C11.51 5 11.03 5.07 10.58 5.18L10.6 5.17L8.41 3L7 4.41L8.62 6.04H8.63C7.88 6.54 7.26 7.22 6.81 8H4V10H6.09C6.03 10.33 6 10.66 6 11V12H4V14H6V15C6 15.34 6.04 15.67 6.09 16H4V18H6.81C7.85 19.79 9.78 21 12 21C14.22 21 16.15 19.79 17.19 18H20V16H17.91C17.96 15.67 18 15.34 18 15V14H20V12H18V11C18 10.66 17.96 10.33 17.91 10H20ZM16 15C16 17.21 14.21 19 12 19C9.79 19 8 17.21 8 15V11C8 8.79 9.79 7 12 7C14.21 7 16 8.79 16 11V15ZM10 14H14V16H10V14ZM10 10H14V12H10V10Z", fill:"white","fill-rule":"evenodd"}}]});xP(this.fn,g.X?{D:"div",X:["ytp-icon","ytp-icon-help-outline"]}:{D:"svg",P:{fill:"none",height:"24",viewBox:"0 0 24 24",width:"24"},K:[{D:"path",P:{"clip-rule":"evenodd",d:"M2 12C2 6.48 6.48 2 12 2C17.52 2 22 6.48 22 12C22 17.52 17.52 22 12 22C6.48 22 2 17.52 2 12ZM13 16V18H11V16H13ZM12 20C7.59 20 4 16.41 4 12C4 7.59 7.59 4 12 4C16.41 4 20 7.59 20 12C20 16.41 16.41 20 12 20ZM8 10C8 7.79 9.79 6 12 6C14.21 6 16 7.79 16 10C16 11.28 15.21 11.97 14.44 12.64C13.71 13.28 13 13.90 13 15H11C11 13.17 11.94 12.45 12.77 11.82C13.42 11.32 14 10.87 14 10C14 8.9 13.1 8 12 8C10.9 8 10 8.9 10 10H8Z", fill:"white","fill-rule":"evenodd"}}]});xP(b,tN());this.N(a,"loopchange",this.yB);this.N(a,"videodatachange",this.ab);eR(this);this.Kf(this.J.getVideoData())}; gR=function(a,b){var c=!1;if(a.Sh){var d=a.Sh.element;d.value=b;d.select();try{c=document.execCommand("copy")}catch(e){}}c?a.La.Pa():(a.ak.xb(b,"text"),g.MP(a.La,a.Ex),mO(a.ak.element),a.Sh&&(a.Sh=null,eR(a)));return c}; eR=function(a){var b=!!a.Sh;g.uP(a.Wa,b?"Copiar informaci\u00f3n de depuraci\u00f3n":"Obtener informaci\u00f3n de depuraci\u00f3n");dR(a.Wa,!b);g.uP(a.rf,b?"Copiar c\u00f3digo de inserci\u00f3n":"Obtener c\u00f3digo de inserci\u00f3n");dR(a.rf,!b);g.uP(a.getVideoUrl,b?"Copiar la URL del v\u00eddeo":"Obtener URL de v\u00eddeo");dR(a.getVideoUrl,!b);g.uP(a.uf,b?"Copiar la URL del v\u00eddeo a partir del minuto actual":"Obtener URL de v\u00eddeo en el minuto actual");dR(a.uf,!b);xP(a.rf,b?qN():null); xP(a.getVideoUrl,b?vN():null);xP(a.uf,b?vN():null)}; g.iR=function(a,b,c){g.IP.call(this,a);this.T=b;this.dc=c;this.F=new g.aR(this);this.B=null;g.A(this,this.F);g.PL(a,this.element,this,28656);g.J(this.element,"ytp-contextmenu");hR(this);this.hide()}; hR=function(a){g.Wr(a.F);"gvn"!==a.J.O().playerStyle&&a.F.N(g.uL(a.J),"contextmenu",a.ZK)}; jR=function(a){a.J.isFullscreen()?g.NL(a.J,a.element,9):a.ca(document.body)}; g.kR=function(a,b,c,d,e,f){g.Ur.call(this);this.o=a;this.G=c;this.C=d;this.u=e;this.F=f;this.B=new g.I(g.Ra(this.cD,!1),1E3,this);g.A(this,this.B);this.A="";a=g.Ra(this.Cv,!1);this.N(b,"mousedown",a);this.N(c.element,"mousedown",a);this.N(b,"keydown",this.Ty);this.N(c.element,"keydown",this.Ty);this.N(b,"keyup",this.Uy);this.N(c.element,"keyup",this.Uy)}; lR=function(a,b,c,d){var e=g.cM(g.oL(a.o));if(e&&e.loaded){e=a.o.getSubtitlesUserSettings();for(var f,k=0;kd;e={rh:e.rh},f++){e.rh=c[f];a:switch(e.rh.img||e.rh.iconId){case "facebook":var k=g.X?{D:"div",X:["ytp-icon","ytp-icon-share-facebook"]}:{D:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 38 38",width:"100%"},K:[{D:"rect",P:{fill:"#fff",height:"34",width:"34",x:"2",y:"2"}},{D:"path",P:{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"}}]};break a;case "twitter":k=g.X?{D:"div",X:["ytp-icon","ytp-icon-share-twitter"]}:{D:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 38 38",width:"100%"},K:[{D:"rect",P:{fill:"#fff",height:"34",width:"34",x:"2",y:"2"}},{D:"path",P:{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"}}]};break a;default:k=null}k&&(k=new g.W({D:"a",X:["ytp-share-panel-service-button","ytp-button"],P:{href:e.rh.url,target:"_blank",title:e.rh.sname||e.rh.serviceName},K:[k]}),k.na("click",function(m){return function(n){if(g.MM(n)){var q=m.rh.url;var t=void 0===t?{}:t;t.target=t.target||"YouTube";t.width=t.width||"600";t.height=t.height||"600";t||(t={});var u=window;var w=q instanceof g.zc?q:g.Dc("undefined"!=typeof q.href?q.href:String(q));q=t.target||q.target;var B=[];for(D in t)switch(D){case "width":case "height":case "top":case "left":B.push(D+ "="+t[D]);break;case "target":case "noopener":case "noreferrer":break;default:B.push(D+"="+(t[D]?1:0))}var D=B.join(",");if(Md()&&u.navigator&&u.navigator.standalone&&q&&"_self"!=q)D=g.ve("A"),g.dd(D,w),D.setAttribute("target",q),t.noreferrer&&D.setAttribute("rel","noreferrer"),t=document.createEvent("MouseEvent"),t.initMouseEvent("click",!0,!0,u,1),D.dispatchEvent(t),u={};else if(t.noreferrer){if(u=gd("",u,q,D),t=g.Ac(w),u&&(g.sz&&-1!=t.indexOf(";")&&(t="'"+t.replace(/'/g,"%27")+"'"),u.opener=null, t=g.bd(g.dc("b/12014412, meta tag with sanitized URL"),''),w=u.document))w.write(g.Xc(t)),w.close()}else(u=gd(w,u,q,D))&&t.noopener&&(u.opener=null);if(t=u)t.opener||(t.opener=window),t.focus();g.np(n)}}}(e)),g.Me(k,g.RN(a.tooltip,k.element)),a.u.push(k),d++)}var l=b.more||b.moreLink; c=new g.W({D:"a",X:["ytp-share-panel-service-button","ytp-button"],K:[{D:"span",I:"ytp-share-panel-service-button-more",K:[g.X?{D:"div",X:["ytp-icon","ytp-icon-share-more"]}:{D:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 38 38",width:"100%"},K:[{D:"rect",P:{fill:"#fff",height:"34",width:"34",x:"2",y:"2"}},{D:"path",P:{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"}}]}]}],P:{href:l,target:"_blank",title:"M\u00e1s"}});c.na("click",function(m){g.kO(l,a.api,m)&&a.api.sa("SHARE_CLICKED")}); g.Me(c,g.RN(a.tooltip,c.element));a.u.push(c);a.oa("buttons",a.u)}; QR=function(a){g.Hn(a.element,"ytp-share-panel-loading");g.J(a.element,"ytp-share-panel-fail")}; PR=function(a){for(var b=g.p(a.u),c=b.next();!c.done;c=b.next())c=c.value,c.detach(),g.Ne(c);a.u=[]}; SR=function(a){g.bO.call(this,a,{D:"button",X:["ytp-skip-intro-button","ytp-popup","ytp-button"],K:[{D:"div",I:"ytp-skip-intro-button-text",W:"Saltar introducci\u00f3n"}]},100);var b=this;this.A=!1;this.u=new g.I(function(){b.hide()},5E3); this.Xh=this.fj=NaN;g.A(this,this.u);this.F=function(){b.show()}; this.C=function(){b.hide()}; this.B=function(){var c=b.J.getCurrentTime();c>b.fj/1E3&&cb||b===a.B)){a.B=b;var c=160*a.A,d=160*a.A,e=a.o.Yi(a.B,c);WN(a.bg,e,c,d,!0);a.Z.start()}}; dS=function(a){var b=a.u;3===a.type&&a.ba.stop();a.api.removeEventListener("appresize",a.U);a.R||b.setAttribute("title",a.F);a.F="";a.u=null}; eS=function(a,b){var c={commandMetadata:{webCommandMetadata:{apiUrl:"/youtubei/v1/browse/edit_playlist",url:"/service_ajax",sendPost:!0}},playlistEditEndpoint:{playlistId:"WL",actions:b}},d={list_id:"WL"};c=HJ(g.UJ(),c);Pf(c.then(function(e){if(e&&"STATUS_SUCCEEDED"===e.status){if(a.onSuccess)a.onSuccess({},d)}else if(a.onError)a.onError({},d)}),function(){a.Dd&&a.Dd({},d)})}; Qla=function(a,b,c){g.Bo("web_classic_playlist_one_platform_update")?eS(a,[{addedVideoId:a.videoIds,action:"ACTION_ADD_VIDEO"}]):fS("add_to_watch_later_list",a,b,c)}; Rla=function(a,b,c){g.Bo("web_classic_playlist_one_platform_update")?eS(a,[{removedVideoId:a.videoIds,action:"ACTION_REMOVE_VIDEO_BY_VIDEO_ID"}]):fS("delete_from_watch_later_list",a,b,c)}; fS=function(a,b,c,d){g.wq(c?c+"playlist_video_ajax?action_"+a+"=1":"/playlist_video_ajax?action_"+a+"=1",{method:"POST",oe:{feature:b.feature||null,authuser:b.dd||null,pageid:b.pageId||null},yb:{video_ids:b.videoIds||null,source_playlist_id:b.sourcePlaylistId||null,full_list_id:b.fullListId||null,delete_from_playlists:b.TU||null,add_to_playlists:b.rU||null,plid:g.L("PLAYBACK_ID")||null},context:b.context,onError:b.onError,onSuccess:function(e,f){b.onSuccess.call(this,e,f)}, Dd:b.Dd,withCredentials:!!d})}; g.hS=function(a,b){g.W.call(this,{D:"button",X:["ytp-watch-later-button","ytp-button"],P:{title:"{{title}}","data-tooltip-image":"{{image}}","data-tooltip-opaque":String(g.Py(a.O()))},K:[{D:"div",I:"ytp-watch-later-icon",W:"{{icon}}"},{D:"div",I:"ytp-watch-later-title",W:"Ver m\u00e1s tarde"}]});this.J=a;this.A=b;this.icon=null;this.visible=this.u=this.o=!1;this.tooltip=b.rb();qO(this.tooltip);g.PL(a,this.element,this,28665);this.na("click",this.onClick,this);this.N(a,"videoplayerreset",this.QI); this.N(a,"appresize",this.Rp);this.N(a,"videodatachange",this.Rp);this.N(a,"presentingplayerstatechange",this.Rp);this.Rp();var c=this.J.O(),d=g.Rs("yt-player-watch-later-pending");c.u&&d?(ny(),gS(this,d.videoId)):this.la(2);g.K(this.element,"ytp-show-watch-later-title",g.Py(c));g.Me(this,g.RN(b.rb(),this.element))}; iS=function(a,b){g.pR(function(){ny({videoId:b});window.location.reload()},"wl_button",g.iz(a.J.O()))}; gS=function(a,b){if(!a.u)if(a.u=!0,a.la(4),g.P(a.J.O().experiments,"web_player_innertube_playlist_update")){var c=a.J.getVideoData();c=a.o?c.removeFromWatchLaterCommand:c.addToWatchLaterCommand;var d=sR(a.J.app),e=a.o?a.eC.bind(a):a.dC.bind(a);HJ(d,c).then(e,a.ON.bind(a))}else c=a.J.O(),(a.o?Rla:Qla)({videoIds:b,dd:c.dd,pageId:c.pageId,onError:a.NN,onSuccess:a.o?a.eC:a.dC,context:a},c.H,!0)}; jS=function(a,b){a.la(5,b);a.J.O().A&&a.J.sa("WATCH_LATER_ERROR",b)}; kS=function(a,b){var c=a.J.O(),d=a.A.fe()&&g.Py(c);!c.G||2!==b&&3!==b||(b=d?3:2);if(b!==a.icon){switch(b){case 4:var e=lO();break;case 1:e=jN();break;case 2:e=g.X?{D:"div",X:["ytp-icon","ytp-icon-watch-later"]}:{D:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{D:"path",Sa:!0,I:"ytp-svg-fill",P:{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 3:e={D:"div",X:["ytp-icon","ytp-icon-watch-later-large"]};break;case 5:e=g.P(c.experiments,"watch_later_iconchange_killswitch")?g.X?{D:"div",X:["ytp-icon","ytp-icon-alert"]}:{D:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{D:"path",Sa:!0,I:"ytp-svg-fill",P:{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"}}]}: g.X?{D:"div",X:["ytp-icon","ytp-icon-warning"]}:{D:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{D:"path",Sa:!0,P:{d:"M7,27.5h22L18,8.5L7,27.5z M19,24.5h-2v-2h2V24.5z M19,20.5h-2V16.5h2V20.5z",fill:"#fff"}}]}}a.oa("icon",e);a.icon=b}}; lS=function(a){g.JQ.call(this,a);var b=this,c=g.uL(a),d=a.O(),e=a.getVideoData();this.ra=g.Py(d);this.Bb=48;this.wb=69;this.ra&&(g.J(a.getRootNode(),"ytp-embed"),g.J(a.getRootNode(),"ytp-embed-playlist"),this.Bb=60,this.wb=89);this.Zf=e&&e.Zf;this.ea=null;this.U=[];this.dc=new g.WQ(a);g.A(this,this.dc);g.NL(a,this.dc.element,4);this.Xb=new CR(a);g.A(this,this.Xb);g.NL(a,this.Xb.element,4);e=new g.W({D:"div",I:"ytp-gradient-top"});g.A(this,e);g.NL(a,e.element,1);this.Vc=new g.PN(e,250,!0,100);g.A(this, this.Vc);this.B=new g.W({D:"div",I:"ytp-chrome-top"});g.A(this,this.B);g.NL(a,this.B.element,1);this.Cc=new g.PN(this.B,250,!0,100);g.A(this,this.Cc);this.Aa=[];this.R=new g.YR(a,this);g.A(this,this.R);g.NL(a,this.R.element,4);e=new IR(a);g.A(this,e);g.NL(a,e.element,5);e.subscribe("show",(0,g.x)(this.Vi,this,e));this.Aa.push(e);this.wa=new JR(a,this,e);g.A(this,this.wa);d.showBackButton&&(this.od=new nR(a),g.A(this,this.od),this.od.ca(this.B.element));this.ra||this.wa.ca(this.B.element);this.ob= new wR(a,this);this.ob.ca(this.B.element);g.A(this,this.ob);this.Bc=new UR(a,this);g.A(this,this.Bc);this.Bc.ca(this.B.element);e=new g.RM({D:"div",I:"ytp-chrome-top-buttons"});g.A(this,e);e.ca(this.B.element);this.ga=e;this.M=new g.hS(a,this);g.A(this,this.M);this.M.ca(e.element);var f=new g.NR(a,this);g.A(this,f);g.NL(a,f.element,5);f.subscribe("show",(0,g.x)(this.Vi,this,f));this.Aa.push(f);this.H=new g.MR(a,this,f);g.A(this,this.H);this.H.ca(e.element);this.G=new AR(a,this);g.A(this,this.G);this.G.ca(e.element); d.On&&(f=new SR(a),g.A(this,f),g.NL(a,f.element,4));this.ra&&this.wa.ca(e.element);this.ma=new UQ(a,this,this.B.element);g.A(this,this.ma);this.ma.ca(e.element);f=new VQ(a,this,this.ma);g.A(this,f);f.ca(e.element);this.A=new ER(a,this);g.A(this,this.A);g.NL(a,this.A.element,5);this.A.subscribe("show",function(){b.Vi(b.A,b.A.Sd())}); this.Aa.push(this.A);this.Ma=new DR(a,this,this.A);g.A(this,this.Ma);this.Ma.ca(e.element);(this.o="1"==d.controlsType?new rQ(a,this,this.u):null)&&g.A(this,this.o);"3"==d.controlsType&&(e=new LR(a,this),g.A(this,e),g.NL(a,e.element,8));this.L=new g.iR(a,this,this.dc);g.A(this,this.L);this.L.subscribe("show",this.AD,this);this.fb=!1;e=new RQ(a,new SQ(a));g.A(this,e);g.NL(a,e.element,4);this.Ga=new g.W({D:"div",P:{tabindex:"0"}});this.Ga.na("focus",this.DF,this);g.A(this,this.Ga);this.Ea=new g.W({D:"div", P:{tabindex:"0"}});this.Ea.na("focus",this.EF,this);g.A(this,this.Ea);(this.aa=d.ob?null:new g.kR(a,c,this.L,this.u,this.dc,(0,g.x)(this.Og,this)))&&g.A(this,this.aa);this.T.push(this.dc.element);this.za=null;this.N(a,"fullscreentoggled",this.FJ);this.N(a,"offlineslatestatechange",this.lM,this);this.N(a,"cardstatechange",this.Ie,this)}; mS=function(a){var b=a.api.O(),c=g.U(g.tL(a.api),128);return b.u&&c&&!a.api.isFullscreen()}; nS=function(a,b,c){b=c?b.lastElementChild:b.firstElementChild;for(var d=null;b;){if("none"!=Dh(b,"display")&&"true"!=b.getAttribute("aria-hidden")){var e=void 0;0<=b.tabIndex?e=b:e=nS(a,b,c);e&&(d?c?e.tabIndex>d.tabIndex&&(d=e):e.tabIndexe)return rS(a,"Invalid playback enterTimeMs="+d+" is greater than parentReturnTimeMs="+e),"";var k=1E3*f.Ib();if(dk)return rS(a,"Invalid playback parentReturnTimeMs="+e+" is greater than parentDurationMs="+k),"";k=null;for(var l=g.p(a.u),m=l.next();!m.done;m=l.next()){m=m.value;if(d>=m.Mb&&dm.Mb)return rS(a, "Overlapping child playbacks not allowed. New playback {video_id="+(b.video_id+" enterTimeMs="+d+" parentReturnTimeMs="+e+"} overlaps existing ChildPlayback "+sS(m))),"";if(e===m.Mb)return rS(a,"Neighboring child playbacks must be added sequentially. New playback {video_id="+(b.video_id+" enterTimeMs="+d+" parentReturnTimeMs="+e+"} added after existing ChildPlayback "+sS(m))),"";d===m.Sb&&(k=m)}l="childplayback_"+Sla++;m={fc:tS(c,!0),af:Infinity,target:null};var n=b.raw_player_response;if(!n&&!g.P(a.H.experiments, "web_player_parse_ad_response_killswitch")){var q=b.player_response;q&&(n=JSON.parse(q))}b={Db:l,playerVars:b,playerType:2,durationMs:c,Mb:d,Sb:e,mf:m,playerResponse:n};a.u=a.u.concat(b).sort(function(t,u){return t.Mb-u.Mb}); k?Tla(k,{fc:tS(k.durationMs,!0),af:Infinity,target:b}):(d={fc:tS(d,!1),af:d,target:b},a.F.set(d.fc,d),f.addCueRange(d.fc));return l}; tS=function(a,b){return new g.nC(Math.max(0,a-5E3),b?0x8000000000000:a-1,{namespace:"serverstitchedcuerange",priority:7})}; Tla=function(a,b){a.mf=b}; uS=function(a,b){for(var c=0,d=g.p(a.u),e=d.next();!e.done;e=d.next()){e=e.value;var f=e.Mb/1E3+c,k=f+e.durationMs/1E3;if(f>b)break;if(k>b)return{Kg:e,yj:b-f};c=k-e.Sb/1E3}return{Kg:null,yj:b-c}}; pS=function(a,b){var c=a.B||a.api.ub().getPlayerState();vS(a,!0);var d=uS(a,b).yj;a.o.seekTo(d);d=a.api.ub();var e=d.getPlayerState();g.TC(c)&&!g.TC(e)?d.playVideo():g.U(c,4)&&!g.U(e,4)&&d.pauseVideo()}; vS=function(a,b){a.G=NaN;a.C.stop();a.A&&b&&OK(a.A);a.B=null;a.A=null}; xS=function(a,b,c){b=void 0===b?-1:b;c=void 0===c?Infinity:c;for(var d=b,e=c,f=g.p(a.F),k=f.next();!k.done;k=f.next()){var l=g.p(k.value);k=l.next().value;l=l.next().value;l.af>=d&&l.target&&l.target.Sb<=e&&(a.o.removeCueRange(k),a.F["delete"](k))}d=b;e=c;f=[];k=g.p(a.u);for(l=k.next();!l.done;l=k.next())l=l.value,(l.Mbe)&&f.push(l);a.u=f;d=uS(a,b/1E3);b=d.Kg;d=d.yj;b&&(d*=1E3,wS(b,d,b.Mb+d));(b=uS(a,c/1E3).Kg)&&rS(a,"Invalid clearEndTimeMs="+c+" that falls during "+sS(b)+".Child playbacks can only have duration updated not their start.")}; wS=function(a,b,c){a.durationMs=b;a.Sb=c;b={fc:tS(b,!0),af:b,target:null};a.mf=b}; sS=function(a){return"playback={timelinePlaybackId="+a.Db+" video_id="+a.playerVars.video_id+" durationMs="+a.durationMs+" enterTimeMs="+a.Mb+" parentReturnTimeMs="+a.Sb+"}"}; xja=function(a,b,c,d){var e=0===a.o.getStreamTimeOffset()?a.o.Gb():a.o.getStreamTimeOffset();b=uS(a,b+e).Kg;var f=Number(d.split(";")[0]);return b&&b.playerResponse&&b.playerResponse.streamingData&&(d=b.playerResponse.streamingData.adaptiveFormats)&&(d=d.find(function(k){return k.itag===f}))&&d.url?(a=a.o.getVideoData().ka.o[f].index.Fy(c-1))&&a.o?d.url.concat("&daistate="+a.o):d.url:null}; rS=function(a,b){a.o.Xa("timelineerror",b)}; zS=function(a,b,c){g.z.call(this);var d=this;this.api=a;this.C=b;this.u=c;this.F=new Map;this.o=[];this.A=this.H=null;this.R=NaN;this.G=this.B=null;this.L=new g.I(function(){yS(d,d.R)}); this.M=[];this.T=new g.I(function(){var e=d.M.pop();if(e){var f=e.Db,k=e.playerVars;e=e.playerType;k.prefer_gapless=!0;d.api.preloadVideoByPlayerVars(k,e,NaN,"",f);d.M.length&&d.T.Za(4500)}}); this.events=new g.Ur(this);c.getPlayerType();g.A(this,this.L);g.A(this,this.T);g.A(this,this.events);this.events.N(this.api,g.qC("childplayback"),this.ld);this.events.N(this.api,"onQueuedVideoLoaded",this.JM);this.events.N(this.api,"presentingplayerstatechange",this.oI)}; Wla=function(a,b,c,d,e){var f=a.u;e=void 0===e?d+c:e;if(d>e)return AS(a,"e.enterAfterReturn enterTimeMs="+d+" is greater than parentReturnTimeMs="+e),"";var k=1E3*f.Ib();if(dk)return AS(a,"e.returnAfterDuration parentReturnTimeMs="+e+" is greater than parentDurationMs="+k),"";k=null;for(var l=g.p(a.o),m=l.next();!m.done;m=l.next()){m=m.value;if(d>=m.Mb&&dm.Mb)return AS(a,"e.overlappingReturn"),"";if(e===m.Mb)return AS(a,"e.outOfOrder"),"";d===m.Sb&&(k=m)}l="childplayback_"+Vla++;m={fc:BS(c,!0),af:Infinity,target:null};var n={Db:l,playerVars:b,playerType:2,durationMs:c,Mb:d,Sb:e,mf:m};a.o=a.o.concat(n).sort(function(u,w){return u.Mb-w.Mb}); k?CS(a,k,{fc:BS(k.durationMs,!0),af:a.C.ia("timeline_manager_transition_killswitch")?Infinity:k.mf.af,target:n}):(b={fc:BS(d,!1),af:d,target:n},a.F.set(b.fc,b),f.addCueRange(b.fc));b=g.P(a.C.experiments,"html5_gapless_preloading");if(a.u===a.api.ub()&&(f=1E3*f.getCurrentTime(),f>=n.Mb&&fb)break;if(k>b)return{Kg:e,yj:b-f};c=k-e.Sb/1E3}return{Kg:null,yj:b-c}}; yS=function(a,b){var c=a.G||a.api.ub().getPlayerState();KS(a,!0);if(g.P(a.C.experiments,"html5_playbacktimeline_seektoinf_killswitch")||isFinite(b))var d=b;else d=a.u.F,d=d.u?hH(d.u):Infinity;var e=JS(a,d);d=e.Kg;e=e.yj;var f=d&&!GS(a,d)||!d&&a.u!==a.api.ub(),k=1E3*e;k=a.A&&a.A.start<=k&&k<=a.A.end;!f&&k||HS(a);d?DS(a,d,e,c):LS(a,e,c)}; LS=function(a,b,c){var d=a.u;if(d!==a.api.ub()){var e=d.getPlayerType();g.FM(a.api.app,e)}d.seekTo(b);MS(a,c)}; DS=function(a,b,c,d){var e=GS(a,b);if(!e){g.FM(a.api.app,b.playerType);b.playerVars.prefer_gapless=!0;var f=new g.fB(a.C,b.playerVars);f.Db=b.Db;NS(a.api.app,f,b.playerType,void 0)}f=a.api.ub();e||f.addCueRange(b.mf.fc);f.seekTo(c);MS(a,d)}; MS=function(a,b){var c=a.api.ub(),d=c.getPlayerState();g.TC(b)&&!g.TC(d)?c.playVideo():g.U(b,4)&&!g.U(d,4)&&c.pauseVideo()}; KS=function(a,b){a.R=NaN;a.L.stop();a.B&&b&&OK(a.B);a.G=null;a.B=null}; GS=function(a,b){var c=a.api.ub();return!!c&&c.getVideoData().Db===b.Db}; PS=function(a,b,c){b=void 0===b?-1:b;c=void 0===c?Infinity:c;for(var d=b,e=c,f=g.p(a.F),k=f.next();!k.done;k=f.next()){var l=g.p(k.value);k=l.next().value;l=l.next().value;l.af>=d&&l.target&&l.target.Sb<=e&&(a.u.removeCueRange(k),a.F["delete"](k))}d=b;e=c;f=[];k=g.p(a.o);for(l=k.next();!l.done;l=k.next())if(l=l.value,l.Mb>=d&&l.Sb<=e){var m=a;m.H===l&&HS(m);GS(m,l)&&g.XL(m.api,l.playerType)}else f.push(l);a.o=f;d=JS(a,b/1E3);b=d.Kg;d=d.yj;b&&(d*=1E3,OS(a,b,d,b.Sb===b.Mb+b.durationMs?b.Mb+d:b.Sb)); (b=JS(a,c/1E3).Kg)&&AS(a,"Invalid clearEndTimeMs="+c+" that falls during playback={timelinePlaybackId="+(b.Db+" video_id="+b.playerVars.video_id+" durationMs="+b.durationMs+" enterTimeMs="+b.Mb+" parentReturnTimeMs="+b.Sb+"}.Child playbacks can only have duration updated not their start."))}; OS=function(a,b,c,d){b.durationMs=c;b.Sb=d;d={fc:BS(c,!0),af:c,target:null};CS(a,b,d);GS(a,b)&&1E3*a.api.ub().getCurrentTime()>c&&(b=IS(a,b)/1E3,c=a.api.ub().getPlayerState(),LS(a,b,c))}; AS=function(a,b){a.u.Xa("timelineerror",b)}; Zla=function(a){a&&"web"!==a&&Yla.includes(a)}; QS=function(a,b,c){this.api=a;this.player=b;this.player.subscribe("localmediachange",this.o,this);this.u=c;Hfa()}; SS=function(a,b){Et(b,2);var c=$la(a,{videoId:b,download_media:!0,download_media_in_bg:!0,start:Infinity});c.subscribe("dataloaded",function(){return void RS(c)}); a.player.Kf(c,a.u);eK(a.player,!1)}; $la=function(a,b){return new g.fB(a.player.O(),b)}; RS=function(a){if((a=a.getPlayerResponse())&&a.videoDetails&&a.videoDetails.videoId){var b=a.videoDetails;a={videoId:a.videoDetails.videoId,title:b.title,lengthSeconds:b.lengthSeconds,thumbnail:b.thumbnail,viewCount:b.viewCount,author:b.author};Ifa(a.videoId,a)}}; TS=function(a){var b=/codecs="([^"]*)"/.exec(a.mimeType);return b&&b[1]?b[1]+" ("+kt(a)+")":kt(a)}; bma=function(a,b){if(g.kl())return null;var c=ama();if(!c)return g.xL(a,"html5.webaudio",{name:"null context"}),null;if("string"===typeof c)return g.xL(a,"html5.webaudio",{name:c}),null;if(!c.createMediaElementSource)return g.xL(a,"html5.webaudio",{name:"missing createMediaElementSource"}),null;if("suspended"===c.state){var d=function(e){"suspended"===c.state&&g.TC(e.state)&&c.resume().then(function(){a.removeEventListener("presentingplayerstatechange",d);US=!1},null)}; US||(a.addEventListener("presentingplayerstatechange",d),US=!0)}return new XC(c,b)}; VS=function(a,b,c,d,e){g.W.call(this,{D:"div",I:"ytp-horizonchart"});this.F=b;this.sampleCount=c;this.B=d;this.C=e;this.index=0;this.heightPx=-1;this.A=this.u=null;this.o=Math.round(a/c);this.element.style.width=this.o*this.sampleCount+"px";this.element.style.height=this.F+"em"}; WS=function(a,b){if(-1===a.heightPx){var c=null;try{c=g.ve("CANVAS"),a.u=c.getContext("2d")}catch(e){}if(a.u){var d=a.o*a.sampleCount;a.A=c;a.A.width=d;a.A.style.width=d+"px";a.element.appendChild(a.A)}else for(a.sampleCount=Math.floor(a.sampleCount/4),a.o*=4,c=0;c=c&&b<=d}; eT=function(a,b){var c=a.o.getAvailablePlaybackRates();b=parseFloat(b.toFixed(2));var d=c[0];c=c[c.length-1];b<=d||(b>=c?d=c:(d=Math.floor(100*b+.001)%5,d=0==d?b:Math.floor(100*(b-.01*d)+.001)/100));return d}; HT=function(a,b){var c=g.V(a,b);return c?a.Vb(c)?(c=qT(a,c),$K(c)-c.getCurrentTime()+a.getCurrentTime(b)):$K(c):0}; IT=function(a,b,c){if(a.Vb(c)){c=c.getVideoData();if(a.U){a=a.U;for(var d=g.p(a.u),e=d.next();!e.done;e=d.next())if(e=e.value,c.Db===e.Db){b+=e.Mb/1E3;break}d=b;a=g.p(a.u);for(e=a.next();!e.done;e=a.next()){e=e.value;if(c.Db===e.Db)break;var f=e.Mb/1E3;if(fe?f=!0:1=k||g.P(a.o.O().experiments,"stop_use_time_since_last_ad_service")?0:Math.ceil(k);var n=a.u-1,q=g.uL(a.o).getPlayerSize().height,t=g.uL(a.o).getPlayerSize().width,u=e&&e.context||"",w=QT(a.o.app)?1E3*QT(a.o.app):0,B=a.o.O().Je;B=B?B.join(","):"";e=e?a.A:1;var D=a.o.getVideoData(1).clientPlaybackNonce,E=b.match(/[&\?]token=([\w-]*)/);E=null!= E&&2<=E.length?E[1]:"";var F=b.match(/[&\?]video_id=(\w*)/);F=null!=F&&2<=F.length?F[1]:"";var G=b.match(/[&\?]mt=(\d*)/);G=null!=G&&2<=G.length?Number(G[1]):0;G=isNaN(G)?0:G;var ba=g.iz(a.o.O()),na=new oma;na.clientName=a.o.O().Vh.xk.toString();na.host=ba;na.o=void 0;var tb=sma.includes(ba)?void 0:Eq("PREF"),Za=yI(),Vb=iq(b),jb=pU(b,"X-YouTube-Ad-Signals");c=Vb||jb?bq(nq(c)):void 0;Vb=a.o.O();Za.client||(Za.client={});Za.client.originalUrl=b;jb=iq(b);b=pU(b,"X-YouTube-Time-Zone");(jb||b)&&"undefined"!== typeof Intl&&(Za.client.timeZone=(new Intl.DateTimeFormat).resolvedOptions().timeZone);Za.client.unpluggedAppInfo||(Za.client.unpluggedAppInfo={});Za.client.unpluggedAppInfo.enableFilterMode=!1;b=Vb.deviceParams.cosver;null!=b&&"cosver"!==b&&(Za.client.osVersion=b);b=Vb.deviceParams.cplatform;null!=b&&"cplatform"!==b&&(Za.client.platform=b);b=Vb.deviceParams.cmodel;null!=b&&"cmodel"!==b&&(Za.client.deviceModel=b);b=18435;a.o.O().ia("ipp_signature_cipher_killswitch")||(b=g.L("STS",void 0)?g.L("STS", void 0):b);return{adBreakRequest:{videoId:F,adBlock:n,params:E,breakIndex:e,breakLengthMs:m.toString(),breakPositionMs:f.toString(),clientPlaybackNonce:D,driftFromHeadMs:w.toString(),liveTargetingParams:u,topLevelDomain:ba,isProxyAdTagRequest:!1,context:Za,adSignalsInfo:c},adsCookie:l,clientInfo:na,lact:d,mediaTimeMs:G,timeSinceLastAdSeconds:k,vis:a.o.getVisibilityState(),playerHeightPixels:q,playerWidthPixels:t,ytRemote:B,prefCookie:tb,signatureTimestamp:b}}; qU=function(a,b,c){this.A=a;this.Ld=null;this.u=b;this.o=0;this.daiEnabled=void 0===c?!1:c;this.visible=!0}; rU=function(a,b,c,d,e){g.nC.call(this,b.start,b.end,{id:d,namespace:"ad",priority:e,visible:c});this.o=a.kind||"AD_PLACEMENT_KIND_UNKNOWN";this.u=!1;this.A=null}; sU=function(a){return"AD_PLACEMENT_KIND_START"==a.o}; tU=function(a){return"AD_PLACEMENT_KIND_MILLISECONDS"==a.o}; tma=function(a){return a.end-a.start}; uU=function(a,b,c){c=void 0===c?!1:c;switch(a.kind){case "AD_PLACEMENT_KIND_START":return new Un(-0x8000000000000,-0x8000000000000);case "AD_PLACEMENT_KIND_END":return c?new Un(Math.max(0,b.A-b.o),0x7ffffffffffff):new Un(0x7ffffffffffff,0x8000000000000);case "AD_PLACEMENT_KIND_MILLISECONDS":var d=a.adTimeOffset;a=parseInt(d.offsetStartMilliseconds,10);d=parseInt(d.offsetEndMilliseconds,10);-1===d&&(d=b.A);if(c&&(d=a,a=Math.max(0,a-b.o),a==d))break;return new Un(a,d);case "AD_PLACEMENT_KIND_CUE_POINT_TRIGGERED":return a= b.Ld,d=1E3*a.startSecs,c?d=d)throw Error("Timed out while waiting for GPT services");return ag(200).then(function(){return c(d-1)})}}; a.o=Jf().then(function(){return c(b)})}return a.o}; DU=function(a,b,c){var d=ag(5E3).then(function(){throw Error("Timed out while waiting for GPT set companion");}),e=new Ff(function(f,k){var l=AU(); if(l){var m=BU(l);if(m&&0!=m.length){var n={};n.slotId=m[0].slotId;n.adContent="
";n.adWidth=b;n.adHeight=c;n.friendlyIframeRendering=!1;n.onAdContentSet=function(q){if(void 0!==q.firstElementChild)var t=q.firstElementChild;else for(t=q.firstChild;t&&1!=t.nodeType;)t=t.nextSibling;t||(t=g.ve("div"),q.appendChild(t));a&&t.appendChild(a);f()}; (l=l.googleSetCompanionAdContents)?l([n]):k(Error("Missing googleSetCompanionAdContents API"))}else k(Error("No slots registered with GPT services"))}else k(Error("Failed to find GPT services"))}); return Nf([e,d])}; CU=function(){var a=AU();if(!a)return!1;a=BU(a);return Array.isArray(a)&&0!=a.length?null!=ge(document,"google_companion_ad_div"):!1}; AU=function(){var a=re();return g.Ia("googletag.cmd",a)?a:null}; BU=function(a){a=void 0!==a.googleGetCompanionAdSlots?Jo(a.googleGetCompanionAdSlots)():void 0;return void 0!==a&&0a.o||ka.o||(!c||f>c.maxBitrate?c=e:c&&f==c.maxBitrate&&kc.maxBitrate&&(c=e));return c}; HU=function(a,b){this.o=a;this.u=b.length;this.adBreakLengthSeconds=b.reduce(function(e,f){return e+f},0); for(var c=0,d=a+1;d=a.u}; MU=function(){GU.apply(this,arguments)}; NU=function(){this.o=[];this.A=null;this.u=0}; OU=function(a,b){b&&a.o.push(b)}; PU=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}; QU=function(a){if(!a)return[];var b=[];a.forEach(function(c){c.command.loggingUrls.forEach(function(d){b.push({baseUrl:d.baseUrl,offsetMilliseconds:c.adVideoOffset.milliseconds})})}); return b}; RU=function(a){return a&&a.adVideoOffset&&a.adVideoOffset.percent||0}; SU=function(a){return"AD_VIDEO_PROGRESS_KIND_PERCENT"==a.adVideoOffset.kind}; Dma=function(a){a=a.playbackCommands;if(!a)return{};var b={};b.impression=PU(a.impressionCommands)||[];b.error=PU(a.errorCommands)||[];b.mute=PU(a.muteCommands)||[];b.unmute=PU(a.unmuteCommands)||[];b.pause=PU(a.pauseCommands)||[];b.rewind=PU(a.rewindCommands)||[];b.resume=PU(a.resumeCommands)||[];b.skip=PU(a.skipCommands)||[];b.close=PU(a.closeCommands)||[];b.clickthrough=PU(a.clickthroughCommands)||[];b.fullscreen=PU(a.fullscreenCommands)||[];b.active_view_viewable=PU(a.activeViewViewableCommands)|| [];b.active_view_measurable=PU(a.activeViewMeasurableCommands)||[];b.active_view_fully_viewable_audible_half_duration=PU(a.activeViewFullyViewableAudibleHalfDurationCommands)||[];b.end_fullscreen=PU(a.endFullscreenCommands)||[];b.channel_clickthrough=PU(a.channelClickthroughCommands)||[];b.abandon=PU(a.abandonCommands)||[];b.progress=QU(a.progressCommands.filter(function(c){return"AD_VIDEO_PROGRESS_KIND_MILLISECONDS"==c.adVideoOffset.kind})); b.start=QU(a.progressCommands.filter(function(c){return SU(c)&&Xd(RU(c),0)})); b.first_quartile=QU(a.progressCommands.filter(function(c){return SU(c)&&Xd(RU(c),.25)})); b.midpoint=QU(a.progressCommands.filter(function(c){return SU(c)&&Xd(RU(c),.5)})); b.third_quartile=QU(a.progressCommands.filter(function(c){return SU(c)&&Xd(RU(c),.75)})); b.complete=QU(a.progressCommands.filter(function(c){return SU(c)&&Xd(RU(c),1)})); return b}; TU=function(a){GU.call(this,a,Dma(a));this.u=a.questions?a.questions.reduce(function(b,c){var d=c.instreamSurveyAdSingleSelectQuestionRenderer||c.instreamSurveyAdMultiSelectQuestionRenderer;return d?b+(d.surveyAdQuestionCommon.durationMilliseconds||0)/1E3:b},0):0}; UU=function(a,b,c,d){this.id=b;this.L=a.placementStartPings||[];this.M=a.placementEndPings||[];this.u=d.Ld;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.A=(this.F=e.getAdBreakUrl||"")?0:2;d.o=parseInt(e.prefetchMilliseconds,10)||0;d.visible=!b.hideCueRangeMarker;var f=uU(b,d);if(null==f)d=new rU(b,new Un(-1,-1),!1,"adcuerange:invalid", 2),d.deactivate(),d=[null,d];else{e=":"+(to.getInstance().o++).toString(36);var k=d.daiEnabled||d.Ld;f=new rU(b,f,d.visible&&!k,"adcuerange:"+e,2);k=null;if(d.Ld||0=c*a.B.ww||d)&&yV(a,"first_quartile");(b>=c*a.B.Kw||d)&&yV(a,"midpoint");(b>=c*a.B.Pw||d)&&yV(a,"third_quartile")}; xV=function(a,b,c,d){if(null==a.C){if(cd||d>c)return;yV(a,b)}; uV=function(a,b,c){if(0f.C&&f.yd()}}; jW=function(a,b){wU.call(this,"ads-engagement-panel",a,b)}; kW=function(a,b,c,d,e){HV.call(this,a,b,c,d,e)}; lW=function(a,b,c,d,e){HV.call(this,a,b,c,d,e)}; mW=function(a,b){wU.call(this,"invideo-overlay",a,b)}; nW=function(a,b){wU.call(this,"invideo-overlay-as-cta",a,b)}; oW=function(a,b,c,d,e){HV.call(this,a,b,c,d,e);this.u=b}; pW=function(a,b){wU.call(this,"persisting-overlay",a,b)}; qW=function(a,b,c,d,e){HV.call(this,a,b,c,d,e);this.u=b}; rW=function(){wU.call(this,"ad-attribution-bar");this.adPodPositionInfoString=null;this.adPodPosition=0;this.adPodLength=1;this.adBreakLengthSeconds=0;this.adBadgeText=null;this.adBreakRemainingLengthSeconds=0;this.adBreakEndSeconds=null;this.adVideoId=""}; sW=function(a){return a?g.S(a):null}; tW=function(a){if(!a)return[];var b=a.loggingUrls;if(!b)return[];a=[];b=g.p(b);for(var c=b.next();!c.done;c=b.next())c=c.value,c.baseUrl&&a.push(c.baseUrl);return 0===a.length?[]:a}; Rma=function(a){return a.cancelRenderer&&a.cancelRenderer.buttonRenderer?(a=a.cancelRenderer.buttonRenderer.serviceEndpoint)&&a.muteAdEndpoint?a:null:null}; uW=function(a){var b={};b.baseUrl=a;return{loggingUrls:[b],pingingEndpoint:{hack:!0}}}; Uma=function(a,b,c){if(b.button&&b.button.buttonRenderer&&(!b.button.buttonRenderer.command||!b.button.buttonRenderer.command.adInfoDialogChoiceEndpoint)&&b.button.buttonRenderer.serviceEndpoint&&b.button.buttonRenderer.serviceEndpoint.adInfoDialogEndpoint){var d=b.button.buttonRenderer.serviceEndpoint.adInfoDialogEndpoint.dialog;d&&d.adInfoDialogRenderer&&(Sma(a,d.adInfoDialogRenderer,c),a.whyThisAdInfo.menuTitle=sW(b.hoverText)||"",d.adInfoDialogRenderer.muteAdRenderer&&(b=d.adInfoDialogRenderer.muteAdRenderer.buttonRenderer)&& Tma(a,b,c))}}; Sma=function(a,b,c){var d=sW(b.confirmLabel)||"",e=sW(b.title)||"",f=[];if(b.adReasons)for(var k=g.p(b.adReasons),l=k.next();!l.done;l=k.next())f.push(sW(l.value)||"");a.whyThisAdInfo={closeButton:d,menuTitle:"",targetingReasonHeader:e,targetingReasons:f,adSettingsLink:null,cancelButton:null,continueButton:null,controlText:null};a.whyThisAdClicked=function(){if(b.impressionEndpoints)for(var m=g.p(b.impressionEndpoints),n=m.next();!n.done;n=m.next())c(n.value)}; a.whyThisAdClosed=function(){b.confirmServiceEndpoint&&c(b.confirmServiceEndpoint)}}; Tma=function(a,b,c){if(b.navigationEndpoint&&b.navigationEndpoint.adFeedbackEndpoint&&b.navigationEndpoint.adFeedbackEndpoint.content){var d=b.navigationEndpoint.adFeedbackEndpoint.content.adFeedbackRenderer;if(d){var e={goneText:"",questionText:"",undoText:"",hoverText:sW(b.text)||"",surveyOptions:[],confirmMuteWithoutFeedbackLabel:""};a.muteAdInfo=e;b=tW(b.navigationEndpoint);var f=uW(b[1]),k=[uW(b[0])];(b=Rma(d))&&k.push(b);var l=!1;a.muteAdClicked=function(){l=!0;c(f)}; a.muteAd=function(){l||c(f);l=!1;for(var m=g.p(k),n=m.next();!n.done;n=m.next())c(n.value)}; Vma(a,d)}}}; Vma=function(a,b){a.muteAdInfo.goneText=sW(b.title)||"";a.muteAdInfo.questionText=sW(b.reasonsTitle)||"";b.undoRenderer&&(a.muteAdInfo.undoText=sW(b.undoRenderer.buttonRenderer.text)||"");for(var c=a.muteAdInfo.surveyOptions,d=g.p(b.reasons||[]),e=d.next();!e.done;e=d.next()){var f=e.value;e=sW(f.reason)||"";f=tW(f.endpoint)[0];c.push({label:e,url:f})}}; vW=function(a,b){var c=new rW;c.adBadgeText="Anuncio";1=d.u&&(d.o=d.u,d.Ja.stop());e=d.o/1E3;d.C&&d.C.ac(e);GW(d,{current:e,duration:d.u/1E3})}); g.A(this,this.Ja);this.o=0;this.A=null;g.Me(this,function(){d.A=null}); this.B=0}; GW=function(a,b){a.F.sa("onAdPlaybackProgress",b);a.A=b}; IW=function(a){wU.call(this,"survey",a)}; bna=function(a,b,c){var d=b.O();return g.P(b.O().experiments,"enable_external_player_ad_playback_progress_html5")&&g.dz(d)?new HW(1E3*a.u,b,c):null}; JW=function(a,b,c,d,e,f,k){HV.call(this,a,b,c,d,e,1);var l=this;this.C=b;this.B=new g.Ur;g.A(this,this.B);this.B.N(this.J,"resize",function(){450>g.uL(l.J).getPlayerSize().width&&(g.Wr(l.B),l.Kc())}); this.L=f;this.G=0;this.M=k(this,function(){return""+(Date.now()-l.G)}); if(this.u=bna(b,a,f))g.A(this,this.u),this.B.N(a,"onAdPlaybackProgress",function(m){m.current===m.duration&&(m=l.C.o,(m=m.questions&&m.questions[0])?(m=(m=m.instreamSurveyAdMultiSelectQuestionRenderer||m.instreamSurveyAdSingleSelectQuestionRenderer)&&m.surveyAdQuestionCommon,xW(l.M.o,m&&m.timeoutCommands)):g.fr(Error("Expected a survey question in InstreamSurveyAdRenderer.")))})}; KW=function(a,b){wU.call(this,"survey-interstitial",a,b)}; LW=function(a,b,c,d,e){HV.call(this,a,b,c,d,e,1);this.u=b}; MW=function(a){wU.call(this,"ad-text-interstitial",a)}; NW=function(a,b,c,d,e,f){HV.call(this,a,b,c,d,e);this.B=b;this.u=b.o.durationMilliseconds||0;this.Ja=null;this.C=f}; OW=function(a,b){g.z.call(this);this.B=Math.max(0,a);this.A=this.u=0;this.C=b;this.o=null}; PW=function(a){a.o&&(a.o.stop(),a.o.dispose(),a.o=null)}; QW=function(a){a=void 0===a?null:a;wU.call(this,"ad-channel-thumbnail");this.channelIconThumbnailUrl=a}; RW=function(a){a=void 0===a?null:a;wU.call(this,"ad-title");this.videoTitle=a}; SW=function(a){a=void 0===a?null:a;wU.call(this,"advertiser-name");this.channelName=a}; TW=function(a){wU.call(this,"player-overlay",a)}; UW=function(a){wU.call(this,"skip-button",a)}; VW=function(a){wU.call(this,"visit-advertiser",a);var b={};var c=a.text;a=a.navigationEndpoint;null!=c&&null!=c.runs&&null!=a?(b.runs=[g.Sb(c.runs[0])],b.runs[0].navigationEndpoint=a):(b={text:"Visitar el sitio del anunciante"},a&&(b.navigationEndpoint=a),b={runs:[b]});this.visitAdvertiserLabel=b}; WW=function(a,b,c,d,e,f,k,l,m,n,q){HV.call(this,a,b,c,d,e,1);var t=this;this.T=n;this.u=b;this.C=k;this.ba=new g.Ur(this);g.A(this,this.ba);this.M=new g.I(function(){t.sc("load_timeout")},g.P(a.O().experiments,"use_variable_load_timeout")?g.Q(a.O().experiments,"variable_load_timeout_ms"):1E4); g.A(this,this.M);this.B=null;g.P(a.O().experiments,"enable_bulleit_buffer_timer")&&(this.B=new OW(g.P(a.O().experiments,"use_variable_buffer_timeout")?g.Q(a.O().experiments,"variable_buffer_timeout_ms"):15E3,function(){t.sc("buffer_timeout")}),g.A(this,this.B)); this.ra=!g.P(a.O().experiments,"bulleit_unstarted_event_killswitch");this.R=!1;this.fa=m(this);this.ea=f;this.L=l;this.G=q;this.U=this.ga=!1}; XW=function(a,b){cna(a)&&a.U&&(a.U=!1,dna(a.T,ena(a),b))}; cna=function(a){return null!==a.T&&YW(a.G)&&nV(a.G.J)}; ZW=function(a){return(a=a.J.getVideoData(2))?a.clientPlaybackNonce:""}; ena=function(a){if(a=a.u.o.elementId)return a;g.fr(Error("No elementId on VideoAd InstreamVideoAdRenderer"));return""}; $W=function(a){var b=a.u.o,c=b.playerOverlay&&b.playerOverlay.instreamAdPlayerOverlayRenderer;c||(c={});var d=a.J.O();if(g.pz(d)&&!c.skipOrPreviewRenderer){var e=a.J.getDuration(2);isFinite(e)&&33=a.o.length||a.o[b]>c?null:a.o[b]}; jna=function(a){this.u=new dX;this.o=new cX(a.mF)}; eX=function(){GU.apply(this,arguments)}; kna=function(a,b,c){this.A=a;this.o=b;this.u=c;this.B=a.getCurrentTime()}; mna=function(a,b){var c=void 0===c?Date.now():c;if(a.u)for(var d=g.p(b),e=d.next();!e.done;e=d.next()){e=e.value;var f=c,k=a.o;fX({cuepointTrigger:{type:"CUEPOINT_TYPE_AD",event:lna(e.event),cuepointId:e.identifier,totalCueDurationMs:1E3*e.durationSecs,playheadTimeMs:e.o,cueStartTimeMs:1E3*e.startSecs,cuepointReceivedTimeMs:f,contentCpn:k}});"unknown"===e.event&&gX("DAI_ERROR_TYPE_CUEPOINT_WITH_INVALID_EVENT",a.o);e=e.startSecs+e.o/1E3;e>a.B&&a.A.getCurrentTime()>e&&gX("DAI_ERROR_TYPE_LATE_CUEPOINT", a.o)}}; nna=function(a,b,c){a.u&&fX({daiStateTrigger:{totalCueDurationMs:b,filledAdsDurationMs:c,contentCpn:a.o}})}; ona=function(a,b){a.u&&fX({driftRecoveryInfo:{contentCpn:a.o,cueIdentifier:b.cueIdentifier||void 0,driftRecoveryMs:b.driftRecoveryMs.toString(),breakDurationMs:Math.round(b.Az-b.jC).toString(),driftFromHeadMs:Math.round(1E3*QT(a.A.app)).toString()}})}; pna=function(a,b){a.u&&fX({adTrimmingInfo:{contentCpn:a.o,cueIdentifier:b.cueIdentifier||void 0,adMediaInfo:b.YE}})}; gX=function(a,b){fX({daiStateTrigger:{errorType:a,contentCpn:b}})}; fX=function(a){g.er("adsClientStateChange",a)}; lna=function(a){switch(a){case "unknown":return"CUEPOINT_EVENT_UNKNOWN";case "start":return"CUEPOINT_EVENT_START";case "continue":return"CUEPOINT_EVENT_CONTINUE";case "stop":return"CUEPOINT_EVENT_STOP";case "predictStart":return"CUEPOINT_EVENT_PREDICT_START"}}; hX=function(a){this.u=a;this.ba=(a=!g.P(this.u.O().experiments,"html5_ad_csi_tracker_initialization_killswitch"))?this.u.O().deviceParams.c:g.L("INNERTUBE_CLIENT_NAME",void 0);this.ga=a?this.u.O().deviceParams.cver:g.L("INNERTUBE_CLIENT_VERSION",void 0);this.Z=a?this.u.O().deviceParams.cbrand:"";this.aa=a?this.u.O().deviceParams.cmodel:"";this.L="AD_PLACEMENT_KIND_UNKNOWN";this.C=this.M=this.F=this.G=null;this.o="unknown_type";this.R=!0;this.T=this.A=this.H=!1;this.U="vod";this.B=null}; qna=function(a){a.G=null;a.F=null;a.M=null;a.C=null;a.B=null;a.L="AD_PLACEMENT_KIND_UNKNOWN";a.o="unknown_type";a.H=!1;a.A=!1}; rna=function(a){a.A=!1;KA("ad_to_video",["pbresume"],void 0)}; sna=function(a){switch(a){case "AD_PLACEMENT_KIND_START":return"1";case "AD_PLACEMENT_KIND_MILLISECONDS":case "AD_PLACEMENT_KIND_COMMAND_TRIGGERED":case "AD_PLACEMENT_KIND_CUE_POINT_TRIGGERED":return"2";case "AD_PLACEMENT_KIND_END":return"3";default:return"unknown"}}; iX=function(a){this.o=a}; jX=function(a){a=[a,a.A].filter(function(d){return!!d}); for(var b=g.p(a),c=b.next();!c.done;c=b.next())c.value.deactivate();return a}; kX=function(a,b){var c=a.o;g.Af(function(){return tna(c,b,1)})}; lX=function(a,b,c,d,e,f,k,l){g.O.call(this);this.Hc=a;this.J=b;this.o=d;this.C=this.o.o instanceof GU?this.o.o:null;this.u=null;this.R=!1;this.G=c;this.L=(a=b.getVideoData(1))&&a.ya||!1;this.U=0;this.Z=!1;this.aa=g.P(b.O().experiments,"abort_ad_on_browser_autoplay_blocked");this.jf=e;this.dk=f;this.wh=k;this.T=!1;this.daiEnabled=l}; una=function(a){if(kV(a.J)){var b=a.J.getVideoData(2);(b=a.o.H[b.Db]||null)?(!a.u||a.u&&a.u.F!==b)&&a.wc(b):a.Vp()}else 1===a.J.getPresentingPlayerType()&&a.u&&a.Vp()}; vna=function(a){(a=a.baseUrl)&&g.qr(a,void 0,gn(a))}; wna=function(a,b){var c=a.G,d=a.o.Fb().o,e=a.hy(),f=a.jy();var k=a.isLiveStream()?"live":"vod";qna(c);var l=c.u.getVideoData(1),m=c.u.getVideoData(2);l&&(c.G=l.clientPlaybackNonce,c.M=l.videoId);m&&(c.F=m.clientPlaybackNonce,c.C=m.videoId,c.B=m.adFormat);c.L=d;0>=f?qna(c):(c.o=c.R?b?"unknown_type":"video_to_ad":b?"ad_to_video":"ad_to_ad",c.U=k,c.T=e+1==f,c.H=!0,c.H&&(LA("c",c.ba,c.o),LA("cver",c.ga,c.o),g.P(c.u.O().experiments,"html5_ad_csi_tracker_initialization_killswitch")||(LA("cbrand",c.Z,c.o), LA("cmodel",c.aa,c.o)),LA("yt_pt","html5",c.o),LA("yt_pre","2",c.o),LA("yt_abt",sna(c.L),c.o),c.G&&LA("cpn",c.G,c.o),c.M&&LA("docid",c.M,c.o),c.F&&LA("ad_cpn",c.F,c.o),c.C&&LA("ad_docid",c.C,c.o),LA("yt_vst",c.U,c.o),c.B&&LA("ad_at",c.B,c.o)))}; nX=function(a,b){b=void 0===b?!1:b;mX(a.Hc,a.o.Fb(),a);b||Ir("ADS_CLIENT_EVENT_TYPE_ADPLACEMENT_SCHEDULED");a.daiEnabled&&!a.o.G&&(xna(a,a.ky()),a.o.G=!0)}; xna=function(a,b){for(var c=oX(a),d=a.o.Fb().start,e=[],f=g.p(b),k=f.next();!k.done;k=f.next()){k=k.value;if(c<=d)break;var l=yna(k);e.push({externalVideoId:k.C,originalMediaDurationMs:(1E3*k.u).toString(),trimmedMediaDurationMs:(parseInt(k.o.trimmedMaxNonSkippableAdDurationMs,10)||0).toString()});l=d+l;var m=Math.min(l,c);k.B.A=c;if(!zna(a,k,d,m)||l!==m)break;d=l}c=b.reduce(function(n,q){return n+yna(q)},0); nna(a.jf,tma(a.o.Fb()),c);pna(a.jf,{cueIdentifier:a.o.u&&a.o.u.identifier,YE:e})}; yna=function(a){var b=1E3*a.u;return 0c.width||b.height>c.height}; IY=function(a,b,c){var d=g.Sb(a.macros),e=g.Rh(b);d.AW={toString:function(){return e.width.toString()}}; d.AH={toString:function(){return e.height.toString()}}; var f=g.Oh(c,b).floor();d.I_X={toString:function(){return f.x.toString()}}; d.NX={toString:function(){return f.x.toString()}}; d.I_Y={toString:function(){return f.y.toString()}}; d.NY={toString:function(){return f.y.toString()}}; d.NM={toString:function(){return a.L.toString()}}; a.H.forEach(function(k){return a.va.executeCommand(k,d)}); a.api.pauseVideo()}; Fpa=function(a,b){var c=a.api.getRootNode();g.K(c,"ytp-ad-overlay-open",b);g.K(c,"ytp-ad-overlay-closed",!b)}; MY=function(a,b,c){jY.call(this,a,b,{D:"div",I:"ytp-ad-message-overlay",K:[{D:"div",I:"ytp-ad-message-slot"}]},"ad-message",c);var d=this;this.U=-1;this.ba=this.da("ytp-ad-message-slot");this.A=new g.aO({D:"span",I:"ytp-ad-message-container"});this.A.ca(this.ba);g.A(this,this.A);this.u=new nY(this.api,this.va,"ytp-ad-message-text");g.A(this,this.u);this.u.ca(this.A.element);this.H=new g.PN(this.A,400,!1,100,function(){return d.hide()}); g.A(this,this.H);this.C=0;this.L=!1;this.hide()}; Gpa=function(a,b){var c=a.api.getRootNode();g.K(c,"ytp-ad-overlay-open",b);g.K(c,"ytp-ad-overlay-closed",!b)}; NY=function(a,b,c){jY.call(this,a,b,{D:"div",I:"ytp-ad-skip-ad-slot"},"skip-ad",c);this.H=!1;this.C=0;this.A=this.u=null;this.hide()}; OY=function(a,b){if(!a.H)if(a.H=!0,a.u&&(b?a.u.L.hide():a.u.hide()),b){var c=a.A;c.ma.show();c.show()}else a.A.show()}; PY=function(a,b,c){Y.call(this,a,b,{D:"div",I:"ytp-ad-persisting-overlay",K:[{D:"div",I:"ytp-ad-persisting-overlay-skip"}]},"persisting-overlay");this.u=this.da("ytp-ad-persisting-overlay-skip");this.o=c;g.A(this,this.o);this.hide()}; QY=function(a,b,c){jY.call(this,a,b,{D:"span",I:"ytp-ad-duration-remaining"},"ad-duration-remaining",c);this.u=null;this.hide()}; RY=function(a,b){nY.call(this,a,b,"ytp-video-ad-top-bar-title","ad-title")}; SY=function(a,b,c){jY.call(this,a,b,{D:"div",X:["ytp-flyout-cta","ytp-flyout-cta-inactive"],K:[{D:"div",I:"ytp-flyout-cta-icon-container"},{D:"div",I:"ytp-flyout-cta-body",K:[{D:"div",I:"ytp-flyout-cta-text-container",K:[{D:"div",I:"ytp-flyout-cta-headline-container"},{D:"div",I:"ytp-flyout-cta-description-container"}]},{D:"div",I:"ytp-flyout-cta-action-button-container"}]}]},"flyout-cta",c);this.H=new gY(this.api,this.va,"ytp-flyout-cta-icon");g.A(this,this.H);this.H.ca(this.da("ytp-flyout-cta-icon-container")); this.C=new nY(this.api,this.va,"ytp-flyout-cta-headline");g.A(this,this.C);this.C.ca(this.da("ytp-flyout-cta-headline-container"));this.A=new nY(this.api,this.va,"ytp-flyout-cta-description");g.A(this,this.A);this.A.ca(this.da("ytp-flyout-cta-description-container"));this.u=new iY(this.api,this.va,["ytp-flyout-cta-action-button"]);g.A(this,this.u);this.u.ca(this.da("ytp-flyout-cta-action-button-container"));this.L=null;this.U=0;this.hide()}; TY=function(a,b,c,d){c=void 0===c?[]:c;d=void 0===d?"toggle-button":d;var e=vU("ytp-ad-toggle-button-input");Y.call(this,a,b,{D:"div",X:["ytp-ad-toggle-button"].concat(c),K:[{D:"label",I:"ytp-ad-toggle-button-label",P:{"for":e},K:[{D:"span",I:"ytp-ad-toggle-button-icon",P:{role:"button","aria-label":"{{tooltipText}}"},K:[{D:"span",I:"ytp-ad-toggle-button-untoggled-icon",W:"{{untoggledIconTemplateSpec}}"},{D:"span",I:"ytp-ad-toggle-button-toggled-icon",W:"{{toggledIconTemplateSpec}}"}]},{D:"input", I:"ytp-ad-toggle-button-input",P:{id:e,type:"checkbox"}},{D:"span",I:"ytp-ad-toggle-button-text",W:"{{buttonText}}"},{D:"span",I:"ytp-ad-toggle-button-tooltip",W:"{{tooltipText}}"}]}]},d);this.A=this.da("ytp-ad-toggle-button");this.o=this.da("ytp-ad-toggle-button-input");this.da("ytp-ad-toggle-button-label");this.L=this.da("ytp-ad-toggle-button-icon");this.C=this.da("ytp-ad-toggle-button-untoggled-icon");this.B=this.da("ytp-ad-toggle-button-toggled-icon");this.aa=this.da("ytp-ad-toggle-button-text"); this.u=null;this.H=!1;this.U=null;this.hide()}; UY=function(a){a.H&&(a.isToggled()?(g.Sh(a.C,!1),g.Sh(a.B,!0)):(g.Sh(a.C,!0),g.Sh(a.B,!1)))}; Hpa=function(a,b){var c=null;a.u&&(c=(b?[a.u.defaultServiceEndpoint,a.u.defaultNavigationEndpoint]:[a.u.toggledServiceEndpoint]).filter(function(d){return null!=d})); return c||[]}; VY=function(a,b,c){Y.call(this,a,b,{D:"div",I:"ytp-ad-instream-user-sentiment-container"},"instream-user-sentiment",void 0===c?null:c);var d=this;this.o=null;this.A=new TY(this.api,this.va,["ytp-ad-instream-user-sentiment-like-button"]);g.A(this,this.A);this.A.ca(this.element);this.u=new TY(this.api,this.va,["ytp-ad-instream-user-sentiment-dislike-button"]);g.A(this,this.u);this.u.ca(this.element);this.B=new g.PN(this,400,!1,500,function(){return d.hide()}); g.A(this,this.B);this.C=null;this.hide()}; Ipa=function(a,b){a.A.init(vU("toggle-button"),a.o.likeButton.toggleButtonRenderer,b);a.u.init(vU("toggle-button"),a.o.dislikeButton.toggleButtonRenderer,b);a.C=a.N(a.element,"change",a.NA)}; WY=function(a,b){iY.call(this,a,b,["ytp-ad-visit-advertiser-button"],"visit-advertiser");this.A=null}; XY=function(a,b,c){c=void 0===c?!1:c;Y.call(this,a,b,{D:"span",I:"ytp-ad-simple-ad-badge"},"simple-ad-badge");this.o=c;this.hide()}; YY=function(a,b,c){Y.call(this,a,b,{D:"div",I:"ytp-ad-player-overlay",K:[{D:"div",I:"ytp-ad-player-overlay-flyout-cta"},{D:"div",I:"ytp-ad-player-overlay-instream-info"},{D:"div",I:"ytp-ad-player-overlay-skip-or-preview"},{D:"div",I:"ytp-ad-player-overlay-progress-bar"},{D:"div",I:"ytp-ad-player-overlay-instream-user-sentiment"}]},"player-overlay");this.C=this.da("ytp-ad-player-overlay-flyout-cta");this.u=this.da("ytp-ad-player-overlay-instream-info");this.A=null;if(Jpa(this)){a=g.ue("div");g.J(a, "ytp-ad-player-overlay-top-bar-gradients");b=this.u;b.parentNode&&b.parentNode.insertBefore(a,b);if((b=this.api.getVideoData(2))&&b.isListed&&b.title){var d=new RY(this.api,this.va);d.ca(a);d.init(vU("ad-title"),{text:b.title},this.macros);g.A(this,d)}this.A=a}this.B=this.da("ytp-ad-player-overlay-skip-or-preview");this.L=this.da("ytp-ad-player-overlay-progress-bar");this.H=this.da("ytp-ad-player-overlay-instream-user-sentiment");this.o=c;g.A(this,this.o);this.hide()}; Jpa=function(a){a=a.api.O();return qz(a)&&a.o}; ZY=function(a,b){Y.call(this,a,b,{D:"div",I:"ytp-ad-survey-answer"},"survey-answer");this.u=this.da("ytp-ad-survey-answer");this.o=null;this.A="";this.hide()}; $Y=function(a,b){Y.call(this,a,b,{D:"div",I:"ytp-ad-survey-none-of-the-above"},"survey-none-of-the-above");this.u=this.da("ytp-ad-survey-none-of-the-above");this.o=null;this.hide()}; aZ=function(a,b){iY.call(this,a,b,["ytp-ad-survey-submit-button"],"survey-submit")}; bZ=function(a,b,c){Y.call(this,a,b,{D:"div",I:"ytp-ad-survey-player-overlay",K:[{D:"div",I:"ytp-ad-survey-player-overlay-instream-info"},{D:"div",I:"ytp-ad-survey-player-overlay-skip-preview-submit",K:[{D:"div",I:"ytp-ad-survey-player-overlay-skip-or-preview"},{D:"div",I:"ytp-ad-survey-player-overlay-submit"}]},{D:"div",I:"ytp-ad-survey-player-overlay-instream-user-sentiment"}]},"survey-player-overlay");this.C=this.da("ytp-ad-survey-player-overlay-instream-info");this.u={};this.H=this.da("ytp-ad-survey-player-overlay-skip-or-preview"); this.o=null;this.L=this.da("ytp-ad-survey-player-overlay-submit");this.A=null;this.B=c;g.A(this,this.B);this.hide()}; cZ=function(a,b,c){Y.call(this,a,b,{D:"div",I:"ytp-ad-survey-question",K:[{D:"div",X:["ytp-ad-survey-question-text","ytp-ad-survey-question-foreground"]},{D:"div",X:["ytp-ad-survey-answers","ytp-ad-survey-question-foreground"]},{D:"div",X:["ytp-ad-survey-question-player-overlay","ytp-ad-survey-question-foreground"]},{D:"div",I:"ytp-ad-survey-question-background"}]},c);this.question=this.da("ytp-ad-survey-question");this.ba=this.da("ytp-ad-survey-question-background");this.U=this.da("ytp-ad-survey-question-text"); this.answers=this.da("ytp-ad-survey-answers");this.L=this.da("ytp-ad-survey-question-player-overlay");this.C=null;this.A=[];this.o=null;this.B=(0,g.C)()}; Kpa=function(a,b,c){var d=new ZY(a.api,a.va);d.ca(a.answers);d.init(vU("survey-answer"),b,c);a.A.push(d)}; Mpa=function(a,b){if(b){var c=b.background;c&&c.instreamSurveyAdBackgroundImageRenderer&&(c=(c=c.instreamSurveyAdBackgroundImageRenderer.image)&&fY(c)||"",g.lc(c)?g.Ko(Error("Found ThumbnailDetails without valid image URL")):g.H(a.ba,"backgroundImage","url("+c+")"));Lpa(a,b)}else g.M(Error("addCommonComponents() needs to be called before starting countdown."))}; Lpa=function(a,b){if(null==b.durationMilliseconds||void 0==b.durationMilliseconds||0==b.durationMilliseconds)g.M(Error("durationMilliseconds unset or 0 for SurveyAdQuestionCommon: "+JSON.stringify(b)));else{a.B=(0,g.C)();a.o=new tY(b.durationMilliseconds,a.va);g.A(a,a.o);if(b.timeoutCommands){var c=b.timeoutCommands;a.o.subscribe("a",function(){c.forEach(function(e){return a.va.executeCommand(e,a.macros)})})}if(a.o&&b.instreamAdPlayerOverlay&&b.instreamAdPlayerOverlay.instreamSurveyAdPlayerOverlayRenderer)try{var d= new bZ(a.api,a.va,a.o); d.ca(a.L);d.init(vU("survey-player-overlay"),b.instreamAdPlayerOverlay.instreamSurveyAdPlayerOverlayRenderer,a.macros);a.C=d;g.A(a,d);a.JC()}catch(e){g.M(Error("ISAPOR had an error when initializing. Error: "+(e+" SurveyAdQuestionCommon: "+JSON.stringify(b))))}else g.M(Error("ISAPOR was not present in renderer. SurveyAdQuestionCommon: "+JSON.stringify(b)));a.o&&b.durationMilliseconds&&0document.documentMode)d=new Gc;else{var e=document;"function"===typeof HTMLTemplateElement&&(e=g.ve("TEMPLATE").content.ownerDocument);e=e.implementation.createHTMLDocument("").createElement("DIV");e.style.cssText=d;d=eea(e.style)}c=Haa(d,Mc({"background-image":'url("'+c+'")'}));a.style.cssText=Hc(c)}}; Tpa=function(a){var b=g.je("html5-video-player");b&&g.K(b,"ytp-ad-display-override",a)}; iZ=function(a,b){Y.call(this,a,b,{D:"div",I:"iv-website-companion",K:[{D:"div",I:"iv-website-companion-block",K:[{D:"div",I:"iv-website-companion-icon"},{D:"div",I:"iv-website-companion-text",K:[{D:"div",I:"iv-website-companion-desc",K:[{D:"span",X:["yt-badge","yt-badge-ad"],W:"{{adBadgeText}}"}]}]}]}]},"action-companion");this.aa=this.da("iv-website-companion");this.A=new gY(this.api,this.va,"iv-website-companion-banner");g.A(this,this.A);this.A.ca(this.aa,0);this.fa=new gY(this.api,this.va);g.A(this, this.A);this.fa.ca(this.da("iv-website-companion-icon"));this.L=new nY(this.api,this.va,"iv-website-companion-header");g.A(this,this.L);this.L.ca(this.da("iv-website-companion-text"),0);this.C=new nY(this.api,this.va,"iv-website-companion-domain");g.A(this,this.C);this.C.ca(this.da("iv-website-companion-desc"));this.u=new iY(this.api,this.va,["iv-website-companion-action","yt-uix-button-size-default","yt-uix-button-primary"]);g.A(this,this.u);this.u.ca(this.da("iv-website-companion-block"));this.B= new JX(this.api,this.va);g.A(this,this.B);this.B.ca(this.aa,0);this.U=null;this.ba=[];this.H=new g.Ur;g.A(this,this.H);this.ma=new yU(3E4);this.o=null;this.hide()}; jZ=function(){g.W.call(this,{D:"div",I:"ad-carousel",K:[{D:"div",I:"ad-carousel-clip",K:[{D:"ul",X:["ad-carousel-list","ad-carousel-list-animation"]}]}]});var a=this.da("ad-carousel");this.B=new g.W({D:"button",X:["ad-carousel-nav-button","ad-carousel-nav-prev"],P:{type:"button",onclick:"return false;"},K:[{D:"span",X:["ad-carousel-prev-icon","yt-uix-tooltip","yt-sprite"],P:{"data-tooltip-text":"Prev",title:"Prev"}}]});g.A(this,this.B);this.B.na("click",this.G,this);this.B.ca(a);this.A=new g.W({D:"button", X:["ad-carousel-nav-button","ad-carousel-nav-next"],P:{type:"button",onclick:"return false;"},K:[{D:"span",X:["ad-carousel-next-icon","yt-uix-tooltip","yt-sprite"],P:{"data-tooltip-text":"Next",title:"Next"}}]});g.A(this,this.A);this.A.na("click",this.F,this);this.A.ca(a);this.C=this.da("ad-carousel-list");this.u=0;this.o=[]}; lZ=function(a){a.C&&g.H(a.C,"left",(2>a.o.length?0:-a.u*a.o[1].element.clientWidth)+"px");g.UM(a.B,0a.o.length?1:Math.round((a.element.clientWidth-a.o[0].element.clientWidth)/a.o[1].element.clientWidth)+1}; mZ=function(){DX.call(this,!0);this.o=new jZ}; nZ=function(){DX.call(this,!1);this.u=new g.W({D:"div",I:"iv-btp-card",K:[{D:"a",I:"iv-btp-card-content",K:[{D:"div",W:"{{cards}}"}]}]});g.A(this,this.u);var a={D:"div",I:"iv-btp-card-merchant",K:[{D:"span",I:"iv-btp-card-merchant-text",W:"{{merchant}}"}]};this.B=new g.RM({D:"div",X:["iv-btp-small-card","yt-uix-hovercard-target"],P:{"data-position":"bottomright","data-orientation":"vertical"},K:[{D:"div",X:["iv-btp-card-image","yt-uix-hovercard-anchor"],W:"{{image}}"},{D:"div",I:"iv-btp-card-info", K:[{D:"span",I:"iv-btp-card-action",W:"{{price}}"},a]},{D:"div",X:["yt-uix-hovercard-content","iv-btp-hovercard"],W:"{{hovercard}}"}]});g.A(this,this.B);this.o=new g.RM({D:"div",I:"iv-btp-large-card",K:[{D:"div",I:"iv-btp-card-image",K:[{D:"span"},{D:"div",I:"iv-btp-card-image-aligned",W:"{{image}}"}]},{D:"div",I:"iv-btp-card-info",K:[{D:"div",I:"iv-btp-card-text-box",K:[{D:"div",I:"iv-btp-card-text-valign",K:[{D:"div",X:["yt-ui-ellipsis","yt-ui-ellipsis-4","iv-btp-card-headline"],W:"{{headline}}"}]}]}, {D:"span",I:"iv-btp-card-action",W:"{{price}}"},a,{D:"div",W:"{{review}}"}]}]});g.A(this,this.o);this.A=new g.RM({D:"div",I:"iv-btp-hovercard-text-box",K:[{D:"a",K:[{D:"div",X:["yt-ui-ellipsis","yt-ui-ellipsis-4","iv-btp-hovercard-headline"],W:"{{headline}}"}]},{D:"div",I:"iv-btp-hovercard-info",K:[{D:"span",I:"iv-btp-hovercard-action",W:"{{price}}"},a]},{D:"div",W:"{{review}}"}]});g.A(this,this.A);this.C=new g.RM({D:"div",I:"iv-btp-card-review",K:[{D:"div",I:"iv-btp-card-rating",K:[{D:"span",I:"iv-btp-card-rating-bg", K:[{D:"span",I:"iv-btp-card-rating-fg"}]}]},{D:"span",I:"iv-btp-card-reviews",W:"{{reviewText}}"}]});g.A(this,this.C);this.B.oa("hovercard",this.A);this.u.oa("cards",[this.B,this.o]);Upa(this)}; Upa=function(a){a.u.na("click",function(){a.dispatchEvent({type:"offerclick"})}); for(var b=g.p((a.u.element||document).getElementsByTagName("A")),c=b.next();!c.done;c=b.next())a.u.N(c.value,"click",function(){a.dispatchEvent({type:"offernavclick"})})}; oZ=function(a,b,c){c=c?CX(c):null;a.oa(b,c)}; pZ=function(a,b){EX.call(this,a,b,function(){return new Vpa.zr}); this.u=null;Wpa(this)}; Wpa=function(a){for(var b=g.p(Object.values(Xpa)),c=b.next();!c.done;c=b.next())a.view.addEventListener(c.value,function(d){return a.onClick(d)})}; qZ=function(){g.z.call(this);this.A=this.B=this.u=this.C=this.o=null}; Zpa=function(a,b){return Ypa(a).then(function(c){c&&g.Na(c.promotionShelfShow)&&c.promotionShelfShow(b)})}; $pa=function(a){Ypa(a).then(function(b){b&&g.Na(b.promotionShelfClear)&&b.promotionShelfClear()})}; aqa=function(){return g.Ia("yt.www.watch.ads")}; Ypa=function(a){if(a.ha())throw Error("Object is disposed");if(!a.o){var b=aqa();a.o=b?Jf(b):(new Ff(function(c){a.C=rea(c)})).then(aqa)}return a.o}; rZ=function(){DX.call(this,!0);this.o=new g.W({D:"div",I:"iv-btp-companion",K:[{D:"div",I:"iv-btp-block-clicks"},{D:"div",I:"iv-btp-attribution",K:[{D:"span",I:"iv-btp-title",W:"{{shopText}}"},{D:"div",I:"ad-info-container",K:[{D:"span",I:"iv-btp-sponsored",W:"{{sponsoredText}}"},{D:"button",I:"ad-info-icon"}]}]}]});g.A(this,this.o);this.A=this.o.da("iv-btp-block-clicks");this.u=new qZ;g.A(this,this.u);this.B=Zpa(this.u,this.o.element);bqa(this)}; bqa=function(a){a.o.na("click",function(b){g.De(a.o.da("ad-info-icon"),b.target)&&a.dispatchEvent({type:"adinfoclick"})})}; tZ=function(a,b){EX.call(this,a,b,function(){return new sZ.FE}); this.R=new g.Ur(this);g.A(this,this.R);this.G=[];this.u=null;this.A=new sZ.vr;g.A(this,this.A);this.view.append(this.A);this.F=new sZ.eE(a,b,new uX(this.view.o.da("ad-info-icon")));g.A(this,this.F);this.view.append(this.F.view);cqa(this)}; cqa=function(a){a.R.N(a.o,"appresize",a.U);a.R.N(a.view,"adinfoclick",function(b){return a.onClick(b)})}; dqa=function(a){var b=a.view;g.Sh(b.A,!0);Nf([a.u,ag(1E3)]).then(function(){g.Sh(b.A,!1)})}; uZ=function(){DX.call(this,!0);var a=this;this.B=this.u=0;this.o=new g.W({D:"div",I:"iv-cards-slider",K:[{D:"div",I:"iv-cards-slider-body",K:[{D:"ul",I:"iv-cards-slider-list"}]},{D:"button",X:["iv-cards-slider-button","iv-cards-slider-prev"],P:{type:"button",onclick:";return false;"},K:[{D:"span",X:["iv-cards-slider-prev-icon","yt-sprite"]}]},{D:"button",X:["iv-cards-slider-button","iv-cards-slider-next"],P:{type:"button",onclick:";return false;"},K:[{D:"span",X:["iv-cards-slider-next-icon","yt-sprite"]}]}]}); this.G=g.je("iv-cards-slider-list",this.o.element);if(this.A=g.je("iv-cards-slider-prev",this.o.element))this.o.N(this.A,"click",function(){a.dispatchEvent({type:"prevbuttonclick"})}),g.Sh(this.A,!1); (this.C=g.je("iv-cards-slider-next",this.o.element))&&this.o.N(this.C,"click",function(){a.dispatchEvent({type:"nextbuttonclick"})}); g.A(this,this.o)}; vZ=function(a){a.G.style.left=125*-a.u+"px";a.A&&g.Sh(a.A,0Math.random();this.eventCount=0}; pqa=function(a){var b;return(null===(b=oqa.get(a))||void 0===b?void 0:b.Qq)||"ADS_CLIENT_EVENT_TYPE_UNSPECIFIED"}; UZ=function(a,b,c){TZ(a,b,void 0,void 0,c)}; VZ=function(a,b,c,d){TZ(a,b,void 0,void 0,c,d?d:void 0)}; qqa=function(a,b,c,d){g.P(a.o.get().J.O().experiments,"html5_control_flow_include_trigger_logging_in_tmp_logs")&&TZ(a,"ADS_CLIENT_EVENT_TYPE_TRIGGER_ACTIVATED",void 0,void 0,b,d?d:void 0,c)}; XZ=function(a,b,c,d,e,f,k,l){a=a.u||rqa(a.o.get());return{adClientDataEntry:{slotData:WZ(a,{slotId:b,jb:c,Cb:d,Gc:e,nh:[],mh:[],Na:new PZ([])}),layoutData:sqa(a,{layoutId:f,layoutType:k,Cb:l,Se:[],Af:[],zf:[],Ze:new Map,Na:new PZ([]),Wh:{}})}}}; TZ=function(a,b,c,d,e,f,k){if(g.P(a.o.get().J.O().experiments,"html5_enable_ads_client_monitoring_log")&&!g.P(a.o.get().J.O().experiments,"html5_disable_client_tmp_logs")&&"ADS_CLIENT_EVENT_TYPE_UNSPECIFIED"!==b){var l=a.u||rqa(a.o.get());b={eventType:b,eventOrder:++a.eventCount};var m=g.Q(a.o.get().J.O().experiments,"html5_experiment_id_label");m=0=e)ZZ("AD_PLACEMENT_KIND_MILLISECONDS endMs needs to be > startMs.",void 0,void 0,{LU:a,KU:e});else{d={uq:new Un(a,e),fv:d};if(null!=c){a=Math.max(0,a-c);if(a===e)break;d.gk=new Un(a,e)}return d}}}; z_=function(a,b,c,d,e,f,k){x_.call(this,a,b,"opportunity_type_ad_break_service_response_received",c);this.u=d;this.B=e;this.C=f;this.o=k}; Tqa=function(a,b){return th(a,function d(){var e=this,f,k,l;return Aa(d,function(m){if(1==m.o)return g.sa(m,e.u.get().fetch({LD:b.getAdBreakUrl,Nx:new g.nC(b.Yx.start,b.Yx.end)}),2);f=m.u;k=f.sd;if(l=f.Ci)return m["return"](!1);Sqa(e.o,k);return m["return"](!0)})})}; A_=function(a,b,c){x_.call(this,a,b,"opportunity_type_player_response_received",c)}; B_=function(a,b){g.z.call(this);var c=this;this.Eb=a;this.Gq=new Map;this.Jr=new Set;b.get().addListener(this);g.Me(this,function(){b.get().removeListener(c)})}; Uqa=function(a,b,c){a.Gq["delete"](b);a.Eb.get().removeCueRange(b);c&&a.Eb.get().removeCueRange(c)}; C_=function(){this.o=new Map}; D_=function(a,b){this.Kr=a;this.o=b}; Vqa=function(a,b){var c=null;try{c=JSON.parse(a.response)}catch(e){return a.response&&(c=a.response,c.startsWith("GIF89")||(e.params=c.substr(0,256),g.gr(e))),{sd:[],Ci:!1}}if(!c)return{sd:[],Ci:!1};c&&c.trackingParams&&Dna(Cna(),c.trackingParams);if(c.adThrottled)return{sd:[],Ci:!0};c=c.playerAds;if(!c||!c.length)return{sd:[],Ci:!1};c=c.map(function(e){return e.adPlacementRenderer}).filter(function(e){return!(!e||!e.renderer)}); if(!c.length)return{sd:[],Ci:!1};if(0=a?null:a}; w0=function(a,b,c,d,e,f,k){x_.call(this,a,d,"opportunity_type_player_bytes_media_layout_entered",f);this.B=b;this.o=c;this.u=e;this.C=k;this.yk=!0}; x0=function(a,b,c){this.u=a;this.o=b;this.no=c}; y0=function(a){var b,c=null===(b=QZ(a.Na,"metadata_type_player_bytes_callback_ref"))||void 0===b?void 0:b.current;return c?{Sv:a.layoutId,contentCpn:QZ(a.Na,"metadata_type_content_cpn"),fO:c,instreamAdPlayerOverlayRenderer:QZ(a.Na,"metadata_type_instream_ad_player_overlay_renderer"),adPlacementConfig:QZ(a.Na,"metadata_type_ad_placement_config"),videoLengthSeconds:QZ(a.Na,"metadata_type_video_length_seconds")}:null}; z0=function(){g.z.apply(this,arguments);this.yk=!0;this.o=new Map}; Qqa=function(a,b){this.Kb=a;this.slot=b}; A0=function(){}; B0=function(a){this.o=gs();this.u=a;this.triggerType="trigger_type_layout_id_entered"}; C0=function(a,b){this.o=a;this.C=b;this.triggerType="trigger_type_layout_id_exited"}; D0=function(a,b){this.o=a;this.C=b;this.jb="slot_type_player_bytes";this.layoutType="layout_type_media";this.triggerType="trigger_type_on_different_layout_id_entered"}; E0=function(a){this.o=gs();this.A=a;this.triggerType="trigger_type_slot_id_entered"}; F0=function(a){this.o=gs();this.C=a;this.triggerType="trigger_type_slot_id_exited"}; G0=function(a){this.o=gs();this.B=a;this.triggerType="trigger_type_slot_id_scheduled"}; H0=function(a,b,c,d){this.category=a;this.trigger=b;this.slot=c;this.layout=d}; I0=function(a){g.z.call(this);this.o=a;this.yk=!0;this.u=new Map;this.C=new Set;this.B=new Set;this.F=new Set;this.A=new Set}; vra=function(a,b){this.o=a;this.u=b;this.triggerType="trigger_type_before_content_video_id_started"}; J0=function(a,b){g.z.call(this);var c=this;this.A=a;this.o=new Map;b.get().addListener(this);g.Me(this,function(){b.get().removeListener(c)})}; wra=function(a,b){for(var c=[],d=g.p(a.values()),e=d.next();!e.done;e=d.next())e=e.value,e.trigger.u===b&&c.push(e);return c}; K0=function(a){this.o=gs();this.visible=a;this.triggerType="trigger_type_after_content_video_id_ended"}; L0=function(a,b){this.o=gs();this.u=a;this.visible=b;this.triggerType="trigger_type_media_time_range"}; M0=function(a,b){this.o=a;this.u=b;this.triggerType="trigger_type_not_in_media_time_range"}; N0=function(a,b){g.z.call(this);this.u=a;this.Eb=b;this.o=new Map}; O0=function(a,b,c,d,e,f,k,l,m){a.o.set(c.o,{bundle:new H0(b,c,d,e),Lx:f});a.Eb.get().addCueRange(f,k,l,m,a)}; xra=function(a,b){for(var c=g.p(a.o.entries()),d=c.next();!d.done;d=c.next()){var e=g.p(d.value);d=e.next().value;e=e.next().value;if(b===e.Lx)return d}return""}; P0=function(a){this.o=gs();this.layoutId=a;this.triggerType="trigger_type_on_layout_self_exit_requested"}; Q0=function(a,b){this.o=a;this.slotId=b;this.triggerType="trigger_type_on_element_self_enter_requested"}; R0=function(a){g.z.call(this);this.B=a;this.yk=!0;this.A=new Map;this.u=this.o=null}; S0=function(a,b){this.o=a;this.contentVideoId=b;this.triggerType="trigger_type_on_new_playback_after_content_video_id"}; T0=function(a,b){g.z.call(this);var c=this;this.u=a;this.o=new Map;b.get().addListener(this);g.Me(this,function(){b.get().removeListener(c)})}; yra=function(a,b){this.o=a;this.layoutId=b;this.triggerType="trigger_type_close_requested"}; zra=function(){this.o=gs();this.triggerType="TRIGGER_TYPE_LIVE_STREAM_BREAK_ENDED"}; U0=function(a){this.o=gs();this.durationMs=45E3;this.layoutId=a;this.triggerType="trigger_type_time_relative_to_layout_enter"}; V0=function(){}; W0=function(a,b,c,d,e,f,k,l){var m=gs(),n={layoutId:m,layoutType:a,Cb:"core"},q=new Map;f?q.set("impression",f):k&&ZZ("Companion Ad Renderer without impression Pings but does have impressionCommands",void 0,void 0,{"impressionCommands length":k.length,adPlacementKind:e.kind,companionType:b.o()});return{layoutId:m,layoutType:a,Ze:q,Se:[new P0(m),new D0(gs(),d)],Af:[],zf:[],Cb:"core",Na:new PZ([b,new V_(c),new T_(e)]),Wh:l(n)}}; X0=function(a,b,c,d,e,f){var k={layoutId:a,layoutType:b,Cb:"core"};return{layoutId:a,layoutType:b,Ze:new Map,Se:f?[f]:[],Af:[new yra(gs(),a)],zf:[],Cb:"core",Na:new PZ([new Q_(c),new T_(d)]),Wh:e(k)}}; rra=function(a,b,c,d,e,f){b.every(function(m){return OZ(m,[],["layout_type_media"])})||ZZ("Unexpect subLayout type for DAI composite layout"); var k=gs(),l={layoutId:k,layoutType:"layout_type_composite_player_bytes",Cb:"core"};return{layoutId:k,layoutType:"layout_type_composite_player_bytes",Ze:d,Se:[new zra],Af:[],zf:[],Cb:"core",Na:new PZ([new d0(a),new a0(b),new T_(c),new g0(e)]),Wh:f(l)}}; ura=function(a){return null!==a}; Ara=function(){this.o=gs();this.triggerType="TRIGGER_TYPE_LIVE_STREAM_BREAK_STARTED"}; Y0=function(){}; Bra=function(a,b,c,d){a=gs();c=new B0(c);var e={slotId:a,jb:"slot_type_in_player",Cb:"core",Gc:c};return{slotId:a,jb:"slot_type_in_player",Gc:c,nh:[new E0(a)],mh:[new S0(gs(),b),new F0(a)],Cb:"core",Na:new PZ([new h0(d(e))])}}; Dra=function(a,b,c,d,e){if(a=Cra(b,c,d))if(d=a instanceof L0?new M0(gs(),a.u):null,b=gs(),e=e({slotId:b,jb:"slot_type_in_player",Cb:"core",Gc:a},d))return{slotId:b,jb:"slot_type_in_player",Gc:a,nh:[new E0(b)],mh:[new S0(gs(),c),new F0(b)],Cb:"core",Na:new PZ([new h0(e)])}}; Fra=function(a,b,c,d,e){a=gs();return Era(a,b,new B0(d),c,e)}; Gra=function(a,b,c,d,e){return Era(c,b,new Q0(gs(),c),d,e)}; Hra=function(a,b,c){a=gs();var d=new Ara,e={slotId:a,jb:"slot_type_player_bytes",Cb:"core",Gc:d};return{slotId:a,jb:"slot_type_player_bytes",Gc:d,nh:[new G0(a)],mh:[new S0(gs(),b)],Cb:"core",Na:new PZ([new h0(c(e))])}}; Ira=function(a,b,c,d,e){a=gs();if(b=Cra(b,c,d))return d={slotId:a,jb:"slot_type_forecasting",Cb:"core",Gc:b},{slotId:a,jb:"slot_type_forecasting",Gc:b,nh:[new E0(a)],mh:[new F0(a),new S0(gs(),c)],Cb:"core",Na:new PZ([new h0(e(d))])}}; Cra=function(a,b,c){var d,e=!a.hideCueRangeMarker;switch(a.kind){case "AD_PLACEMENT_KIND_START":return new vra(gs(),b);case "AD_PLACEMENT_KIND_MILLISECONDS":return(a=null===(d=Rqa(a,c))||void 0===d?void 0:d.uq)?new L0(a,e):void 0;case "AD_PLACEMENT_KIND_END":return new K0(e);default:ZZ("Cannot construct entry trigger",void 0,void 0,{kind:a.kind})}}; Era=function(a,b,c,d,e){var f={slotId:a,jb:b,Cb:"core",Gc:c};return{slotId:a,jb:b,Gc:c,nh:[new E0(a)],mh:[new S0(gs(),d),new F0(a)],Cb:"core",Na:new PZ([new h0(e(f))])}}; Z0=function(a,b,c){g.z.call(this);this.A=a;this.B=b;this.C=c;this.o=this.u=null;this.B.get().addListener(this)}; $0=function(a){g.z.call(this);this.J=a;this.listeners=[];this.o=new g.Ur(this);g.A(this,this.o);this.o.N(this.J,"aduxclicked",this.onAdUxClicked);this.o.N(this.J,"aduxmouseover",this.YH);this.o.N(this.J,"aduxmouseout",this.XH);this.o.N(this.J,"muteadaccepted",this.qK)}; Jra=function(a,b,c){b=(0,g.Jc)(b,function(d){return new xU(d,c,d.id)}); a.J.sa("onAdUxUpdate",b)}; a1=function(){this.listeners=[]}; Kra=function(a,b,c,d,e){a.listeners.forEach(function(f){if(f.o)ZZ(f.o.layoutId===b?"Received repeat AD_START event.":"Received a new AD_START event before received AD_ENDED event.");else{var k=gs();f.u={slotId:k,jb:"slot_type_player_bytes",Gc:void 0,nh:[],mh:[],Cb:"surface",Na:new PZ([])};var l=[],m=c.C||"";m&&l.push(new V_(m));(m=(m=c.o)&&m.playerOverlay&&m.playerOverlay.instreamAdPlayerOverlayRenderer)&&l.push(new X_(m));c.o.adNextParams&&l.push(new O_(c.o.adNextParams||""));(m=c.F)&&l.push(new P_(m)); l.push(new U_(c.B));l.push(new b0(c.u));l.push(new W_(d));l.push(new $_({current:e}));l.push(new T_(c.ea));f.o={layoutId:b,layoutType:"layout_type_media",Ze:new Map,Se:[],Af:[],zf:[],Cb:"surface",Na:new PZ(l),Wh:XZ(f.C,k,"slot_type_player_bytes","surface",void 0,b,"layout_type_media","surface")};Aqa(f.A(),f.u,f.o);Bqa(f.A(),f.u,f.o)}})}; dna=function(a,b,c){a.listeners.forEach(function(d){if(d.o&&d.o.layoutId===b){var e="c"===c?"abandoned":"normal";Dqa(d.A(),d.u,d.o,e);d.u=null;d.o=null}else ZZ("Received AD_ENDED for unknown layout")})}; b1=function(a,b){this.u=a;this.J=b;this.o=new Map;fV().subscribe("e",this.B,this);fV().subscribe("j",this.A,this);fV().subscribe("s",this.C,this)}; Lra=function(a,b,c,d){d=void 0===d?null:d;a.o.has(b)?ZZ("Unexpected registration of layout in LidarApi"):(a.o.set(b,d),Lma(fV(),b,{hm:function(){var e=c1(a.u.get(),2,!1),f;if(f=2===a.u.get().getPresentingPlayerType())f=a.u.get(),f=1===g.tL(f.J,2);return{currentTime:e,duration:c,nb:f,DU:!1,EU:!0,volume:a.u.get().isMuted()?0:a.u.get().getVolume()/100}}}))}; dra=function(a,b,c){if(!a.o.has(b))return{};if("seek"===c)return a=g.P(a.J.O().experiments,"html5_dai_enable_active_view_creating_completed_adblock"),Mm(b,a),{};c=pV(c);if(null===c)return{};var d=a.J.ub();d=d&&2===d.getPlayerType()&&cK(d);if(!d)return{};a={opt_adElement:d,opt_fullscreen:a.u.get().isFullscreen()};return Lm(c,b,a)}; d1=function(a){this.o=a}; e1=function(a,b){var c=void 0===c?new iV(new d1(function(){var d=a.getVideoData(1);return d?d.Xd():""})):c; this.J=a;this.o=b;this.sg=c}; Mra=function(a){if(a=a.J.ub())if(a=SI(a.C))return a;return function(){}}; cra=function(a,b){var c={};c=Object.assign(Object.assign(Object.assign({},YU(a.J)),Gma(b.adPlacementConfig)),(c.FINAL=XU(function(){return"1"}),c.AD_CPN=XU(function(){var l; return(null===(l=K_(a.o.get(),2))||void 0===l?void 0:l.clientPlaybackNonce)||""}),c.SLOT_POS=XU(function(){return(b.nH||0).toString()}),c)); for(var d={},e=g.p(Object.values(Nra)),f=e.next();!f.done;f=e.next()){f=f.value;var k=c[f];null!=k&&(d[f]=k.toString())}return d}; f1=function(a){g.z.call(this);this.J=a;this.listeners=[];var b=new g.Ur(this);g.A(this,b);b.N(a,"progresssync",this.HM);b.N(a,"presentingplayerstatechange",this.zM);b.N(a,"fullscreentoggled",this.ZH);b.N(a,"minimized",this.aI);b.N(a,"resize",this.gb)}; c1=function(a,b,c){return a.J.getCurrentTime(b,c)}; Ora=function(a,b,c,d,e,f,k,l,m,n){this.Kb=a;this.slot=b;this.layout=c;this.B=d;this.F=e;this.A=f;this.u=k;this.G=l;this.H=m;this.C=n;this.o=null;this.driftRecoveryMs=QZ(c.Na,"metadata_type_drift_recovery_ms")||null}; g1=function(a){var b=QZ(a.layout.Na,"metadata_type_layout_enter_ms");return a.C.reduce(function(c,d){return c+1E3*QZ(d.layout.Na,"metadata_type_video_length_seconds")},b)}; Qra=function(a){var b=QZ(a.layout.Na,"metadata_type_layout_enter_ms"),c=g1(a);a=Pra(a.A.get(),b,c);return Math.min(c,null!==a?a:Infinity)}; Rra=function(a,b){return null==b?null:a.C.find(function(c){return c.layout.layoutId===b})||null}; h1=function(a,b){var c;a.H.get();var d={driftRecoveryInfo:Object.assign({contentCpn:null===(c=a.B.get().o)||void 0===c?void 0:c.clientPlaybackNonce,adClientData:a.layout.Wh.adClientDataEntry},b)};g.er("adsClientStateChange",d)}; Sra=function(a,b,c,d,e,f,k,l){this.Kb=a;this.slot=b;this.layout=c;this.C=d;this.o=e;this.A=f;this.F=k;this.B=l;this.u=null}; Tra=function(a,b,c,d){var e=QZ(a.layout.Na,"metadata_type_video_length_seconds");0>=e||0>=c||g.U(b,16)||g.U(b,32)||(i1(c,.25*e,d)&&n0(a.o,"first_quartile"),i1(c,.5*e,d)&&n0(a.o,"midpoint"),i1(c,.75*e,d)&&n0(a.o,"third_quartile"))}; i1=function(a,b,c){return a>16,a>>8&255,a&255]}; vsa=function(){if(!g.oe)return!1;try{return new ActiveXObject("MSXML2.DOMDocument"),!0}catch(a){return!1}}; g.y1=function(a){if("undefined"!=typeof DOMParser){var b=new DOMParser;mh();a=ad(a,null);return b.parseFromString(g.Xc(a),"application/xml")}if(wsa){b=new 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.z1=function(a){g.z.call(this);this.u=a;this.o={}}; xsa=function(a,b,c,d,e,f){if(Array.isArray(c))for(var k=0;k=f}}); ia("Array.prototype.find",function(a){return a?a:function(b,c){return Ca(this,b,c).ND}}); ia("String.prototype.startsWith",function(a){return a?a:function(b,c){var d=Da(this,b,"startsWith");b+="";for(var e=d.length,f=b.length,k=Math.max(0,Math.min(c|0,d.length)),l=0;l=f}}); ia("String.prototype.repeat",function(a){return a?a:function(b){var c=Da(this,null,"repeat");if(0>b||1342177279>>=1)c+=c;return d}}); ia("WeakMap",function(a){function b(m){this.o=(l+=Math.random()+1).toString();if(m){m=g.p(m);for(var n;!(n=m.next()).done;)n=n.value,this.set(n[0],n[1])}} function c(){} function d(m){var n=typeof m;return"object"===n&&null!==m||"function"===n} function e(m){if(!Ea(m,k)){var n=new c;ha(m,k,{value:n})}} function f(m){var n=Object[m];n&&(Object[m]=function(q){if(q instanceof c)return q;Object.isExtensible(q)&&e(q);return n(q)})} if(function(){if(!a||!Object.seal)return!1;try{var m=Object.seal({}),n=Object.seal({}),q=new a([[m,2],[n,3]]);if(2!=q.get(m)||3!=q.get(n))return!1;q["delete"](m);q.set(n,4);return!q.has(m)&&4==q.get(n)}catch(t){return!1}}())return a; var k="$jscomp_hidden_"+Math.random();f("freeze");f("preventExtensions");f("seal");var l=0;b.prototype.set=function(m,n){if(!d(m))throw Error("Invalid WeakMap key");e(m);if(!Ea(m,k))throw Error("WeakMap key fail: "+m);m[k][this.o]=n;return this}; b.prototype.get=function(m){return d(m)&&Ea(m,k)?m[k][this.o]:void 0}; b.prototype.has=function(m){return d(m)&&Ea(m,k)&&Ea(m[k],this.o)}; b.prototype["delete"]=function(m){return d(m)&&Ea(m,k)&&Ea(m[k],this.o)?delete m[k][this.o]:!1}; return b}); ia("Map",function(a){function b(){var l={};return l.previous=l.next=l.head=l} function c(l,m){var n=l.o;return ka(function(){if(n){for(;n.head!=l.o;)n=n.previous;for(;n.next!=n.head;)return n=n.next,{done:!1,value:m(n)};n=null}return{done:!0,value:void 0}})} function d(l,m){var n=m&&typeof m;"object"==n||"function"==n?f.has(m)?n=f.get(m):(n=""+ ++k,f.set(m,n)):n="p_"+m;var q=l.u[n];if(q&&Ea(l.u,n))for(var t=0;tb?-c:c}}); ia("Array.prototype.fill",function(a){return a?a:function(b,c,d){var e=this.length||0;0>c&&(c=Math.max(0,e+c));if(null==d||d>e)d=e;d=Number(d);0>d&&(d=Math.max(0,e+d));for(c=Number(c||0);cf&&(f=Math.max(f+e,0));f>>0);gaa=0;g.C=Date.now;g.Ta(Va,Error);Va.prototype.name="CustomError";var ee;g.Ta(Wa,Va);Wa.prototype.name="AssertionError";var bb,qj;bb=Array.prototype.indexOf?function(a,b){return Array.prototype.indexOf.call(a,b,void 0)}:function(a,b){if("string"===typeof a)return"string"!==typeof b||1!=b.length?-1:a.indexOf(b,0); for(var c=0;cc&&(c=Math.max(0,a.length+c));if("string"===typeof a)return"string"!==typeof b||1!=b.length?-1:a.lastIndexOf(b,c);for(;0<=c;c--)if(c in a&&a[c]===b)return c;return-1}; g.y=Array.prototype.forEach?function(a,b,c){Array.prototype.forEach.call(a,b,c)}:function(a,b,c){for(var d=a.length,e="string"===typeof a?a.split(""):a,f=0;f/g,pc=/"/g,qc=/'/g,rc=/\x00/g,zaa=/[\x00&<>"']/;g.zc.prototype.Zg=!0;g.zc.prototype.Pe=function(){return this.u.toString()}; g.zc.prototype.xt=!0;g.zc.prototype.o=function(){return 1}; var Baa=/^(?:audio\/(?:3gpp2|3gpp|aac|L16|midi|mp3|mp4|mpeg|oga|ogg|opus|x-m4a|x-matroska|x-wav|wav|webm)|font\/\w+|image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp|x-icon)|text\/csv|video\/(?:mpeg|mp4|ogg|webm|quicktime|x-matroska))(?:;\w+=(?:\w+|"[\w;,= ]+"))*$/i,Aaa=/^data:(.*);base64,[a-z0-9+\/]+=*$/i,Bc=/^(?:(?:https?|mailto|ftp):|[^:/?#]*(?:[/?#]|$))/i,yc={},Cc=new g.zc(xc,"about:invalid#zClosurez"),xc={};Gc.prototype.Zg=!0;var Fc={};Gc.prototype.Pe=function(){return this.o}; var Lc=Ic(""),Daa=/^[-,."'%_!# a-zA-Z0-9\[\]]+$/,Oc=RegExp("\\b(url\\([ \t\n]*)('[ -&(-\\[\\]-~]*'|\"[ !#-\\[\\]-~]*\"|[!#-&*-\\[\\]-~]*)([ \t\n]*\\))","g"),Nc=RegExp("\\b(calc|cubic-bezier|fit-content|hsl|hsla|linear-gradient|matrix|minmax|repeat|rgb|rgba|(rotate|scale|translate)(X|Y|Z|3d)?)\\([-+*/0-9a-z.%\\[\\], ]+\\)","g"),Eaa=/\/\*/;a:{var Hsa=g.v.navigator;if(Hsa){var Isa=Hsa.userAgent;if(Isa){g.Pc=Isa;break a}}g.Pc=""};Wc.prototype.xt=!0;Wc.prototype.o=function(){return this.A}; Wc.prototype.Zg=!0;Wc.prototype.Pe=function(){return this.u.toString()}; var Jsa=/^[a-zA-Z0-9-]+$/,Ksa={action:!0,cite:!0,data:!0,formaction:!0,href:!0,manifest:!0,poster:!0,src:!0},Lsa={APPLET:!0,BASE:!0,EMBED:!0,IFRAME:!0,LINK:!0,MATH:!0,META:!0,OBJECT:!0,SCRIPT:!0,STYLE:!0,SVG:!0,TEMPLATE:!0},Vc={},F1=new Wc;F1.u=g.v.trustedTypes&&g.v.trustedTypes.emptyHTML?g.v.trustedTypes.emptyHTML:"";F1.A=0;var $c=F1;var Laa=Bb(function(){var a=document.createElement("div"),b=document.createElement("div");b.appendChild(document.createElement("div"));a.appendChild(b);b=a.firstChild.firstChild;a.innerHTML=g.Xc($c);return!b.parentElement});var Maa=String.prototype.repeat?function(a,b){return a.repeat(b)}:function(a,b){return Array(b+1).join(a)};var sd=/^(?:([^:/?#.]+):)?(?:\/\/(?:([^\\/?#]*)@)?([^\\/?#]*?)(?::([0-9]+))?(?=[\\/?#]|$))?([^?#]+)?(?:\?([^#]*))?(?:#([\s\S]*))?$/,Hd=/#|$/,Oaa=/[?&]($|#)/;Nd[" "]=g.Ja;var Ah,VG,bU,Msa,Nsa,Osa,Ly,Ny,G1;g.Bh=Qc("Opera");g.oe=Qc("Trident")||Qc("MSIE");g.Ju=Qc("Edge");g.sz=g.Ju||g.oe;Ah=Qc("Gecko")&&!(tc(g.Pc,"WebKit")&&!Qc("Edge"))&&!(Qc("Trident")||Qc("MSIE"))&&!Qc("Edge");g.qe=tc(g.Pc,"WebKit")&&!Qc("Edge");VG=Qc("Macintosh");bU=Qc("Windows");g.My=Qc("Android");Msa=Ld();Nsa=Qc("iPad");Osa=Qc("iPod");Ly=Md();Ny=tc(g.Pc,"KaiOS"); a:{var H1="",I1=function(){var a=g.Pc;if(Ah)return/rv:([^\);]+)(\)|;)/.exec(a);if(g.Ju)return/Edge\/([\d\.]+)/.exec(a);if(g.oe)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(g.qe)return/WebKit\/(\S+)/.exec(a);if(g.Bh)return/(?:Version)[ \/]?(\S+)/.exec(a)}(); I1&&(H1=I1?I1[1]:"");if(g.oe){var J1=Qd();if(null!=J1&&J1>parseFloat(H1)){G1=String(J1);break a}}G1=H1}var Rd=G1,Qaa={},K1;if(g.v.document&&g.oe){var Psa=Qd();K1=Psa?Psa:parseInt(Rd,10)||void 0}else K1=void 0;var Saa=K1;try{(new self.OffscreenCanvas(0,0)).getContext("2d")}catch(a){}var Taa=!g.oe||g.Td(9),Uaa=!Ah&&!g.oe||g.oe&&g.Td(9)||Ah&&g.Sd("1.9.1");g.oe&&g.Sd("9");var Waa=g.oe||g.Bh||g.qe;g.Yd.prototype.clone=function(){return new g.Yd(this.x,this.y)}; g.Yd.prototype.ceil=function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this}; g.Yd.prototype.floor=function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this}; g.Yd.prototype.round=function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this};g.h=g.$d.prototype;g.h.clone=function(){return new g.$d(this.width,this.height)}; g.h.aspectRatio=function(){return this.width/this.height}; g.h.isEmpty=function(){return!be(this)}; 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 ke={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=ce.prototype;g.h.xa=function(a){return ge(this.o,a)}; g.h.getElementsByTagName=function(a,b){return(b||this.o).getElementsByTagName(String(a))}; g.h.da=function(a){return g.je(a,this.o)}; g.h.createElement=function(a){return se(this.o,a)}; g.h.appendChild=g.xe;g.h.append=function(a,b){te(de(a),a,arguments,1)}; 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.Ae;g.h.contains=g.De;g.h=Ke.prototype;g.h.IO=function(a,b){for(var c=[],d=1;d=a.keyCode)a.keyCode=-1}catch(b){}};var Se="closure_listenable_"+(1E6*Math.random()|0),Zaa=0;Ve.prototype.add=function(a,b,c,d,e){var f=a.toString();a=this.listeners[f];a||(a=this.listeners[f]=[],this.o++);var k=Xe(a,b,d,e);-1>>0);g.Ta(g.nf,g.z);g.nf.prototype[Se]=!0;g.h=g.nf.prototype;g.h.addEventListener=function(a,b,c,d){Ze(this,a,b,c,d)}; g.h.removeEventListener=function(a,b,c,d){gf(this,a,b,c,d)}; g.h.dispatchEvent=function(a){var b=this.ga;if(b){var c=[];for(var d=1;b;b=b.ga)c.push(b),++d}b=this.ra;d=a.type||a;if("string"===typeof a)a=new g.Pe(a,b);else if(a instanceof g.Pe)a.target=a.target||b;else{var e=a;a=new g.Pe(d,b);g.Wb(a,e)}e=!0;if(c)for(var f=c.length-1;!a.o&&0<=f;f--){var k=a.currentTarget=c[f];e=of(k,d,!0,a)&&e}a.o||(k=a.currentTarget=b,e=of(k,d,!0,a)&&e,a.o||(e=of(k,d,!1,a)&&e));if(c)for(f=0;!a.o&&f=this.F&&this.G())};var Fg=0,Gg=0;gg.prototype.clone=function(){return ig(this.u,this.B,this.A-this.B)}; gg.prototype.clear=function(){this.u=null;this.o=this.A=this.B=0;this.C=!1}; gg.prototype.reset=function(){this.o=this.B}; var hg=[];mg.prototype.reset=function(){this.o.reset();this.u=this.A=-1};rg.prototype.length=function(){return this.o.length}; rg.prototype.end=function(){var a=this.o;this.o=[];return a};var Wy,ZB;g.vu=Rc();Wy=Ld()||Qc("iPod");ZB=Qc("iPad");g.Oy=g.Uc();g.Nt=Sc();g.tz=Tc()&&!Md();var vg={},zg=null;Ag.prototype.reset=function(){this.A=[];this.o.end();this.u=0};var Qg="function"==typeof Uint8Array,Rg=[];Pg.prototype.toString=function(){return this.Zd.toString()}; Pg.prototype.clone=function(){return new this.constructor(dh(this.Zd))};var Oj;Oj=["av.key","js","unreleased"].slice(-1)[0];var Xh=document,ni=window;g.h=eh.prototype;g.h.isEnabled=function(){return navigator.cookieEnabled}; g.h.set=function(a,b,c){var d=!1;if("object"===typeof c){var e=c.XU;d=c.DO||!1;var f=c.domain||void 0;var k=c.path||void 0;var l=c.Dz}if(/[;=\s]/.test(a))throw Error('Invalid cookie name "'+a+'"');if(/[;\r\n]/.test(b))throw Error('Invalid cookie value "'+b+'"');void 0===l&&(l=-1);c=f?";domain="+f:"";k=k?";path="+k:"";d=d?";secure":"";l=0>l?"":0==l?";expires="+(new Date(1970,1,1)).toUTCString():";expires="+(new Date((0,g.C)()+1E3*l)).toUTCString();this.o.cookie=a+"="+b+c+k+l+d+(null!=e?";samesite="+ e:"")}; g.h.get=function(a,b){for(var c=a+"=",d=(this.o.cookie||"").split(";"),e=0,f;eb&&(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()),kh(this,a.getDate()))}; g.h.toString=function(){return[this.getFullYear(),g.kd(this.getMonth()+1,2),g.kd(this.getDate(),2)].join("")+""}; g.h.valueOf=function(){return this.date.valueOf()};var mh=g.Ja;var wba=/https?:\/\/[^\/]+/,uba={UP:"allow-forms",VP:"allow-modals",WP:"allow-orientation-lock",XP:"allow-pointer-lock",YP:"allow-popups",ZP:"allow-popups-to-escape-sandbox",aQ:"allow-presentation",bQ:"allow-same-origin",cQ:"allow-scripts",dQ:"allow-top-navigation",eQ:"allow-top-navigation-by-user-activation"},zba=Bb(function(){return vba()});var Qba={dT:1,KE:2,xS:3};g.h=uh.prototype;g.h.xd=function(){return this.right-this.left}; g.h.getHeight=function(){return this.bottom-this.top}; g.h.clone=function(){return new uh(this.top,this.right,this.bottom,this.left)}; g.h.contains=function(a){return this&&a?a instanceof uh?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.wh.prototype;g.h.clone=function(){return new g.wh(this.left,this.top,this.width,this.height)}; g.h.contains=function(a){return a instanceof g.Yd?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 zh={};var Vh=!!window.google_async_iframe_id,Wh=Vh&&window.parent||window;ic(cc(g.dc("//fonts.googleapis.com/css")));var lca={NONE:0,YQ:1};ai.prototype.isVisible=function(){return this.ij?.3<=this.Ab:.5<=this.Ab};var Ii={nw:0,lR:1},Rba={nw:0,MR:1,NR:2},mca={nw:0,UQ:1,cR:2,lT:3},Pba={NONE:0,XR:1,sR:2};bi.prototype.getValue=function(){return this.u}; g.r(ci,bi);ci.prototype.setValue=function(a){if(null!==this.u||!g.Mb(this.A,a))return!1;this.u=a;return!0}; g.r(di,bi);di.prototype.setValue=function(a){if(null!==this.u||"number"!==typeof a)return!1;this.u=a;return!0}; g.r(ei,bi);ei.prototype.setValue=function(a){if(null!==this.u||"string"!==typeof a)return!1;this.u=a;return!0};fi.prototype.disable=function(){this.u=!1}; fi.prototype.enable=function(){this.u=!0}; fi.prototype.isEnabled=function(){return this.u}; fi.prototype.reset=function(){this.o={};this.u=!0;this.A={}};g.fk=!g.oe&&!Tc();ki.prototype.now=function(){return 0}; ki.prototype.u=function(){return 0}; ki.prototype.A=function(){return 0}; ki.prototype.o=function(){return 0};g.r(mi,ki);mi.prototype.now=function(){return li()&&ni.performance.now?ni.performance.now():ki.prototype.now.call(this)}; mi.prototype.u=function(){return li()&&ni.performance.memory?ni.performance.memory.totalJSHeapSize||0:ki.prototype.u.call(this)}; mi.prototype.A=function(){return li()&&ni.performance.memory?ni.performance.memory.usedJSHeapSize||0:ki.prototype.A.call(this)}; mi.prototype.o=function(){return li()&&ni.performance.memory?ni.performance.memory.jsHeapSizeLimit||0:ki.prototype.o.call(this)};pi.prototype.isVisible=function(){return 1===oi(Xh)};var Gba=/^https?:\/\/(\w|-)+\.cdn\.ampproject\.(net|org)(\?|\/|$)/;ti.prototype.Ac=function(a,b,c,d){a=a+"//"+b+c;var e=Iba(this)-c.length-d.length;if(0>e)return"";this.o.sort(function(q,t){return q-t}); c=null;b="";for(var f=0;f=n.length){e-=n.length;a+=n;b=this.A;break}this.B&&(b=e,n[b-1]==this.A&&--b,a+=n.substr(0,b),b=this.A,e=0);c=null==c?k:c}}f="";null!=c&&(f=b+"trn="+c);return a+f+d};Bi.prototype.setInterval=function(a,b){return ni.setInterval(a,b)}; Bi.prototype.clearInterval=function(a){ni.clearInterval(a)}; Bi.prototype.setTimeout=function(a,b){return ni.setTimeout(a,b)}; Bi.prototype.clearTimeout=function(a){ni.clearTimeout(a)}; Ka(Bi);Fi.prototype.getContext=function(){if(!this.o){if(!ni)throw Error("Context has not been set and window is undefined.");this.o=Bi.getInstance()}return this.o}; Ka(Fi);g.Ta(Gi,Pg);Ji.prototype.Wu=function(a){if("string"===typeof a&&0!=a.length){var b=this.eb;if(b.u){a=a.split("&");for(var c=a.length-1;0<=c;c--){var d=a[c].split("="),e=d[0];d=1=this.G?a:this;b!==this.o?(this.C=this.o.C,Bj(this)):this.C!==this.o.C&&(this.C=this.o.C,Bj(this))}; g.h.Rh=function(a){if(a.u===this.o){var b;if(!(b=this.aa)){b=this.A;var c=this.H;if(c=a&&(void 0===c||!c||b.volume==a.volume)&&b.A==a.A)b=b.o,c=a.o,c=b==c?!0:b&&c?b.top==c.top&&b.right==c.right&&b.bottom==c.bottom&&b.left==c.left:!1;b=!c}this.A=a;b&&Gj(this)}}; g.h.vg=function(){return this.H}; g.h.dispose=function(){this.Lb=!0}; g.h.ha=function(){return this.Lb};g.h=Hj.prototype;g.h.eu=function(){return!0}; g.h.Im=function(){}; g.h.Yn=function(){if(this.element){var a=this.element,b=this.u.o.Ud;try{try{var c=nj(a.getBoundingClientRect())}catch(n){c=new uh(0,0,0,0)}var d=c.right-c.left,e=c.bottom-c.top,f=Mh(a,b),k=f.x,l=f.y;var m=new uh(Math.round(l),Math.round(k+d),Math.round(l+e),Math.round(k))}catch(n){m=Usa.clone()}this.o=m}}; g.h.mx=function(){this.C=this.u.A.o}; g.h.Ig=function(){this.Yn();this.B=new yj(this.u.A,this.element,this.o,this.B.C,this.B.o,this.B.B,ej(),this.B.A)}; g.h.dispose=function(){if(!this.ha()){var a=this.u;g.gb(a.B,this);a.H&&this.vg()&&Fj(a);this.Im();this.Lb=!0}}; g.h.ha=function(){return this.Lb}; g.h.Ih=function(){return this.u.Ih()}; g.h.Vg=function(){return this.u.Vg()}; g.h.kk=function(){return this.u.kk()}; g.h.pm=function(){return this.u.pm()}; g.h.rk=function(){}; g.h.Rh=function(){this.Ig()}; g.h.vg=function(){return this.L};g.h=Ij.prototype;g.h.Vg=function(){return this.o.Vg()}; g.h.kk=function(){return this.o.kk()}; g.h.pm=function(){return this.o.pm()}; g.h.create=function(a,b,c){var d=null;this.o&&(d=this.Bp(a,b,c),Dj(this.o,d));return d}; g.h.Iz=function(){return this.Em()}; g.h.Em=function(){return!1}; g.h.init=function(a){return this.o.initialize()?(Dj(this.o,this),this.B=a,!0):!1}; g.h.rk=function(a){0==a.Vg()&&this.B(a.kk(),this)}; g.h.Rh=function(){}; g.h.vg=function(){return!1}; g.h.dispose=function(){this.Lb=!0}; g.h.ha=function(){return this.Lb}; g.h.Ih=function(){return{}};Lj.prototype.add=function(a,b,c){++this.A;var d=this.A/4096;this.o.push(dca(new Jj(a,b,c),d));this.u=!0;return this};Pj.prototype.toString=function(){var a="//pagead2.googlesyndication.com//pagead/gen_204",b=Nj(this.o);0=k;k=!(0=k)||c;this.o[e].update(f&&l,d,!f||k)}};dk.prototype.update=function(a,b,c,d){this.G=-1!=this.G?Math.min(this.G,b.Ab):b.Ab;this.R=Math.max(this.R,b.Ab);this.T=-1!=this.T?Math.min(this.T,b.le):b.le;this.Z=Math.max(this.Z,b.le);this.ma.update(b.le,c.le,b.o,a,d);this.u.update(b.Ab,c.Ab,b.o,a,d);c=d||c.ij!=b.ij?c.isVisible()&&b.isVisible():c.isVisible();b=!b.isVisible()||b.o;this.ga.update(c,a,b)}; dk.prototype.kj=function(){return this.ga.A>=this.ra};var kca=new uh(0,0,0,0);g.r(gk,g.z);g.h=gk.prototype;g.h.Y=function(){this.be.o&&(this.Qi.Iu&&(ih(this.be.o,"mouseover",this.Qi.Iu),this.Qi.Iu=null),this.Qi.Hu&&(ih(this.be.o,"mouseout",this.Qi.Hu),this.Qi.Hu=null));this.qn&&this.qn.dispose();this.Qb&&this.Qb.dispose();delete this.xp;delete this.Ut;delete this.zD;delete this.be.fi;delete this.be.o;delete this.Qi;delete this.qn;delete this.Qb;delete this.eb;g.z.prototype.Y.call(this)}; g.h.Lh=function(){return this.Qb?this.Qb.o:this.position}; g.h.Wu=function(a){Ji.getInstance().Wu(a)}; g.h.vg=function(){return!1}; g.h.Jo=function(){return new dk}; g.h.ee=function(){return this.xp}; g.h.Ay=function(a){return jk(this,a,1E4)}; g.h.la=function(a,b,c,d,e,f,k){this.Ck||(this.qo&&(a=this.Rr(a,c,e,k),d=d&&this.kd.Ab>=(this.ij()?.3:.5),this.Yv(f,a,d),this.yf=b,0b?0:c}; g.h.ct=function(a){return this.Iy(a,1E4)}; g.h.qs=function(a){return 0===this.opacity&&1===ii(this.eb,"opac")?0:a}; g.h.ij=function(){return!1}; g.h.Kq=function(){return!1}; g.h.cg=function(){return 0}; g.h.kj=function(){return this.xp.kj()};var lk="StopIteration"in g.v?g.v.StopIteration:{message:"StopIteration",stack:""};kk.prototype.next=function(){throw lk;}; kk.prototype.Gg=function(){return this};g.r(ok,ai);sk.prototype.getValue=function(){return this.u}; sk.prototype.update=function(a,b){32<=a||(this.o&1<=a.bottom||a.left>=a.right?new uh(0,0,0,0):a;a=this.u.A;var c=0,d=0,e=0;0<(this.o.bottom-this.o.top)*(this.o.right-this.o.left)&&(this.jz(b)?b=new uh(0,0,0,0):(c=rj.getInstance().B,e=new uh(0,c.height,c.width,0),c=wj(b, this.o),d=wj(b,rj.getInstance().o),e=wj(b,e)));b=b.top>=b.bottom||b.left>=b.right?new uh(0,0,0,0):vh(b,-this.o.left,-this.o.top);uj()||(d=c=0);this.B=new yj(a,this.element,this.o,b,c,d,this.timestamp,e)}; yk.prototype.getName=function(){return this.u.getName()};var Vsa=new uh(0,0,0,0);g.r(zk,yk);g.h=zk.prototype;g.h.eu=function(){this.A();return!0}; g.h.Rh=function(){yk.prototype.Ig.call(this)}; g.h.nx=function(){}; g.h.Yn=function(){}; g.h.Ig=function(){this.A();yk.prototype.Ig.call(this)}; g.h.rk=function(a){a=a.isActive();a!==this.G&&(a?this.A():(rj.getInstance().o=new uh(0,0,0,0),this.o=new uh(0,0,0,0),this.C=new uh(0,0,0,0),this.timestamp=-1));this.G=a};var N1={},Bca=(N1.firstquartile=0,N1.midpoint=1,N1.thirdquartile=2,N1.complete=3,N1);g.r(Ak,gk);g.h=Ak.prototype;g.h.vg=function(){return!0}; g.h.Ay=function(a){return jk(this,a,Math.max(1E4,this.A/3))}; g.h.ct=function(a){return 2==this.Oc?0:gk.prototype.Iy.call(this,a,Math.max(1E4,this.A/3))}; g.h.la=function(a,b,c,d,e,f,k){var l=this,m=this.L(this)||{};g.Wb(m,e);this.A=m.duration||this.A;this.H=m.isVpaid||this.H;this.ba=m.isYouTube||this.ba;e=xca(this,b);1===Ek(this)&&(f=e);gk.prototype.la.call(this,a,b,c,d,m,f,k);this.mj&&this.mj.o&&(0,g.y)(this.F,function(n){n.o||(n.o=xk(n,l))})}; g.h.Yv=function(a,b,c){gk.prototype.Yv.call(this,a,b,c);Dk(this).update(a,b,this.kd,c);this.ra=pk(this.kd)&&pk(b);-1==this.Z&&this.fa&&(this.Z=this.ee().A.o);this.Ic.A=0;a=this.kj();b.isVisible()&&qk(this.Ic,"vs");a&&qk(this.Ic,"vw");pj(b.volume)&&qk(this.Ic,"am");pk(b)&&qk(this.Ic,"a");this.vk&&qk(this.Ic,"f");-1!=b.u&&(qk(this.Ic,"bm"),1==b.u&&qk(this.Ic,"b"));pk(b)&&b.isVisible()&&qk(this.Ic,"avs");this.ra&&a&&qk(this.Ic,"avw");0this.o.G&&(this.o=this,Bj(this)),this.G=a);return 2==a}; Ka(wl);Ka(xl);yl.prototype.Hz=function(){Bl(this,Wk(),!1)}; yl.prototype.B=function(){var a=uj(),b=ej();a?(gj||(hj=b,(0,g.y)(Vk.o,function(c){var d=c.ee();d.ba=uk(d,b,1!=c.Oc)})),gj=!0):(this.G=Dl(this,b),gj=!1,Mk=b,(0,g.y)(Vk.o,function(c){c.qo&&(c.ee().H=b)})); Bl(this,Wk(),!a)}; Ka(yl);var zl=yl.getInstance();var El=null,lm="",km=!1;var O1=Kl([void 0,1,2,3,4,8,16]),P1=Kl([void 0,4,8,16]),Xsa={sv:"sv",cb:"cb",e:"e",nas:"nas",msg:"msg","if":"if",sdk:"sdk",p:"p",p0:Jl("p0",P1),p1:Jl("p1",P1),p2:Jl("p2",P1),p3:Jl("p3",P1),tos:"tos",mtos:"mtos",mtos1:Il("mtos1",[0,2,4],!1,P1),mtos2:Il("mtos2",[0,2,4],!1,P1),mtos3:Il("mtos3",[0,2,4],!1,P1),mcvt:"mcvt",ps:"ps",scs:"scs",bs:"bs",vht:"vht",mut:"mut",a:"a",a0:Jl("a0",P1),a1:Jl("a1",P1),a2:Jl("a2",P1),a3:Jl("a3",P1),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",c0:Jl("c0",P1),c1:Jl("c1",P1),c2:Jl("c2",P1),c3:Jl("c3",P1),mc:"mc",nc:"nc",mv:"mv",nv:"nv",qmt:Jl("qmtos",O1),qnc:Jl("qnc",O1),qmv:Jl("qmv",O1),qnv:Jl("qnv",O1),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",pngs:"pings",veid:"veid",ssb:"ssb",ss0:Jl("ss0",P1),ss1:Jl("ss1",P1),ss2:Jl("ss2",P1),ss3:Jl("ss3",P1),dc_rfl:"urlsigs",obd:"obd",omidp:"omidp",omidr:"omidr",omidv:"omidv",omida:"omida",omids:"omids",omidpv:"omidpv",omidam:"omidam",omidct:"omidct",omidia:"omidia"},Ysa={c:Fl("c"),at:"at",atos:Il("atos", [0,2,4]),ta:function(a,b){return function(c){if(void 0===c[a])return b}}("tth","1"), a:"a",dur:"dur",p:"p",tos:Hl(),j:"dom",mtos:Il("mtos",[0,2,4]),gmm:"gmm",gdr:"gdr",ss:Fl("ss"),vsv:zb("w2"),t:"t"},Zsa={atos:"atos",amtos:"amtos",avt:Il("atos",[2]),davs:"davs",dafvs:"dafvs",dav:"dav",ss:Fl("ss"),t:"t"},$sa={a:"a",tos:Hl(),at:"at",c:Fl("c"),mtos:Il("mtos",[0,2,4]),dur:"dur",fs:"fs",p:"p",vpt:"vpt",vsv:zb("ias_w2"),dom:"dom",gmm:"gmm",gdr:"gdr",t:"t"},ata={tos:Hl(),at:"at",c:Fl("c"),mtos:Il("mtos",[0,2,4]),p:"p",vpt:"vpt",vsv:zb("dv_w4"),gmm:"gmm",gdr:"gdr",dom:"dom",t:"t",mv:"mv", qmpt:Il("qmtos",[0,2,4]),qvs:function(a,b){return function(c){var d=c[a];if("number"===typeof d)return(0,g.Jc)(b,function(e){return 0=e?1:0})}}("qnc",[1, .5,0]),qmv:"qmv",qa:"qas",a:"a"};var Zca={nR:"visible",jQ:"audible",NT:"time",OT:"timetype"},Pl={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(Ql,vk);Ql.prototype.getId=function(){return this.G}; Ql.prototype.C=function(){return!0}; Ql.prototype.A=function(a){var b=a.ee(),c=a.getDuration();return qj(this.F,function(d){if(void 0!=d.o)var e=ada(d,b);else b:{switch(d.C){case "mtos":e=d.u?b.C.A:b.A.o;break b;case "tos":e=d.u?b.C.o:b.A.o;break b}e=0}0==e?d=!1:(d=-1!=d.A?d.A:void 0!==c&&0=d);return d})};g.r(Rl,vk);Rl.prototype.A=function(a){var b=Yj(a.ee().o,1);return Fk(a,b)};g.r(Sl,vk);Sl.prototype.A=function(a){return a.ee().kj()};g.r(Vl,bda);Vl.prototype.o=function(a){var b=new Tl;b.o=Ul(a,Xsa);b.A=Ul(a,Zsa);return b};g.r(Wl,zk);Wl.prototype.A=function(){var a=g.Ia("ima.admob.getViewability"),b=ii(this.eb,"queryid");"function"===typeof a&&b&&a(b)}; Wl.prototype.getName=function(){return"gsv"};g.r(Xl,Ij);Xl.prototype.getName=function(){return"gsv"}; Xl.prototype.Em=function(){var a=rj.getInstance();Ji.getInstance();return a.u&&!1}; Xl.prototype.Bp=function(a,b,c){return new Wl(this.o,b,c)};g.r(Yl,zk);Yl.prototype.A=function(){var a=this,b=g.Ia("ima.bridge.getNativeViewability"),c=ii(this.eb,"queryid");"function"===typeof b&&c&&b(c,function(d){g.Pb(d)&&a.F++;var e=d.opt_nativeViewVisibleBounds||{},f=d.opt_nativeViewHidden;a.o=oj(d.opt_nativeViewBounds||{});var k=a.u.A;k.o=f?Vsa.clone():oj(e);a.timestamp=d.opt_nativeTime||-1;rj.getInstance().o=k.o;d=d.opt_nativeVolume;void 0!==d&&(k.volume=d)})}; Yl.prototype.getName=function(){return"nis"};g.r(Zl,Ij);Zl.prototype.getName=function(){return"nis"}; Zl.prototype.Em=function(){var a=rj.getInstance();Ji.getInstance();return a.u&&!1}; Zl.prototype.Bp=function(a,b,c){return new Yl(this.o,b,c)};g.r($l,Aj);g.h=$l.prototype;g.h.Np=function(){return null!=this.u.Ff}; g.h.ty=function(){var a={};this.U&&(a.mraid=this.U);this.R&&(a.mlc=1);a.mtop=this.u.SO;this.F&&(a.mse=this.F);this.Z&&(a.msc=1);a.mcp=this.u.compatibility;return a}; g.h.wi=function(a,b){for(var c=[],d=1;dthis.A?this.u:2*this.u)-this.A);a[0]=128;for(var b=1;bb;++b)for(var d=0;32>d;d+=8)a[c++]=this.o[b]>>>d&255;return a};g.r(Cm,Vl);Cm.prototype.o=function(a){var b=Vl.prototype.o.call(this,a);var c=vm=(0,g.C)();var d=wm(5);c=(ym?!d:d)?c|2:c&-3;d=wm(2);c=(zm?!d:d)?c|8:c&-9;c={s1:(c>>>0).toString(16)};this.u||(this.u=rda());b.C=this.u;b.F=Ul(a,Ysa,c,"h",Dm("kArwaWEsTs"));b.B=Ul(a,$sa,{},"h",Dm("b96YPMzfnx"));b.u=Ul(a,ata,{},"h",Dm("yb8Wev6QDg"));return b};Em.prototype.o=function(){return g.Ia(this.u)};g.r(Fm,Em);Fm.prototype.o=function(a){if(!a.il)return Em.prototype.o.call(this,a);var b=this.B[a.il];if(b)return function(c,d,e){b.u(c,d,e)}; dj(393,Error());return null};g.r(Gm,hm);g.h=Gm.prototype;g.h.Mo=function(a,b){var c=this,d=Zk.getInstance();if(null!=d.o)switch(d.o.getName()){case "nis":var e=wda(this,a,b);break;case "gsv":e=vda(this,a,b);break;case "exc":e=xda(this,a)}e||(b.opt_overlayAdElement?e=void 0:b.opt_adElement&&(e=kda(this,a,b.opt_adElement,b.opt_osdId)));e&&1==e.cg()&&(e.L==g.Ja&&(e.L=function(f){return c.Xz(f)}),uda(this,e,b)); return e}; g.h.Xz=function(a){a.u=0;a.U=0;if("h"==a.B||"n"==a.B){var b;Ji.getInstance();if(a.il&&Jm(this)){var c=this.H[a.il];c?b=function(e){return c.o(e)}:null!==c&&dj(379,Error())}else b=g.Ia("ima.common.getVideoMetadata"); if("function"===typeof b)try{var d=b(a.Ed)}catch(e){a.u|=4}else a.u|=2}else if("b"==a.B)if(b=g.Ia("ytads.bulleit.getVideoMetadata"),"function"===typeof b)try{d=b(a.Ed)}catch(e){a.u|=4}else a.u|=2;else if("ml"==a.B)if(b=g.Ia("ima.common.getVideoMetadata"),"function"===typeof b)try{d=b(a.Ed)}catch(e){a.u|=4}else a.u|=2;else a.u|=1;a.u||(void 0===d?a.u|=8:null===d?a.u|=16:g.Pb(d)?a.u|=32:null!=d.errorCode&&(a.U=d.errorCode,a.u|=64));null==d&&(d={});lda(d,a);pj(d.volume)&&pj(void 0)&&(d.volume*=NaN); return d}; g.h.Jx=function(){if(Jm(this))return new Fm("ima.common.triggerExternalActivityEvent",this.A,this.H);var a=yda(this);return null!=a?new Em(a,this.A):null}; g.h.jv=function(a){!a.o&&a.Ck&&om(this,a,"overlay_unmeasurable_impression")&&(a.o=!0)}; g.h.MC=function(a){a.ZC&&(a.kj()?om(this,a,"overlay_viewable_end_of_session_impression"):om(this,a,"overlay_unviewable_impression"),a.ZC=!1)}; g.h.Sy=function(){}; g.h.yv=function(){}; g.h.dn=function(a,b,c,d){a=hm.prototype.dn.call(this,a,b,c,d);this.C&&(b=this.F,null==a.C&&(a.C=new rca),b.o[a.Ed]=a.C,a.C.C=Wsa);return a}; g.h.Xl=function(a){a&&1==a.cg()&&this.C&&delete this.F.o[a.Ed];return hm.prototype.Xl.call(this,a)}; Ka(Gm);var Hm=new Tl;Hm.C="stopped";Hm.o="stopped";Hm.A="stopped";Hm.F="stopped";Hm.B="stopped";Hm.u="stopped";Object.freeze(Hm);var bta=Zi(193,Lm,rm);g.Ga("Goog_AdSense_Lidar_sendVastEvent",bta,void 0);var cta=bj(194,function(a,b){b=void 0===b?{}:b;var c=Im(Gm.getInstance(),a,b);return Km(c)}); g.Ga("Goog_AdSense_Lidar_getViewability",cta,void 0);var dta=Zi(195,function(){return Ei()},void 0); g.Ga("Goog_AdSense_Lidar_getUrlSignalsArray",dta,void 0);var eta=bj(196,function(){return g.Pk(Ei())}); g.Ga("Goog_AdSense_Lidar_getUrlSignalsList",eta,void 0);var Eea=(new Date).getTime();g.h=g.Qm.prototype;g.h.Yd=function(){Sm(this);for(var a=[],b=0;b2*this.A&&Sm(this),!0):!1}; g.h.get=function(a,b){return Rm(this.u,a)?this.u[a]:b}; g.h.set=function(a,b){Rm(this.u,a)||(this.A++,this.o.push(a),this.Di++);this.u[a]=b}; g.h.forEach=function(a,b){for(var c=this.Oe(),d=0;d=d.o.length)throw lk;var f=d.o[b++];return a?f:d.u[f]}; return e};g.Tm.prototype.toString=function(){var a=[],b=this.C;b&&a.push($m(b,fta,!0),":");var c=this.o;if(c||"file"==b)a.push("//"),(b=this.H)&&a.push($m(b,fta,!0),"@"),a.push(hd(c).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),c=this.B,null!=c&&a.push(":",String(c));if(c=this.u)this.o&&"/"!=c.charAt(0)&&a.push("/"),a.push($m(c,"/"==c.charAt(0)?gta:hta,!0));(c=this.A.toString())&&a.push("?",c);(c=this.F)&&a.push("#",$m(c,ita));return a.join("")}; g.Tm.prototype.resolve=function(a){var b=this.clone(),c=!!a.C;c?g.Um(b,a.C):c=!!a.H;c?b.H=a.H:c=!!a.o;c?g.Vm(b,a.o):c=null!=a.B;var d=a.u;if(c)g.Wm(b,a.B);else if(c=!!a.u){if("/"!=d.charAt(0))if(this.o&&!this.u)d="/"+d;else{var e=b.u.lastIndexOf("/");-1!=e&&(d=b.u.substr(0,e+1)+d)}e=d;if(".."==e||"."==e)d="";else if(-1!=e.indexOf("./")||-1!=e.indexOf("/.")){d=jc(e,"/");e=e.split("/");for(var f=[],k=0;ka&&0===a%1&&this.u[a]!=b&&(this.u[a]=b,this.o=-1)}; un.prototype.get=function(a){return!!this.u[a]};g.Ta(g.vn,g.z);g.h=g.vn.prototype;g.h.start=function(){this.stop();this.B=!1;var a=wn(this),b=xn(this);a&&!b&&this.u.mozRequestAnimationFrame?(this.o=Ze(this.u,"MozBeforePaint",this.A),this.u.mozRequestAnimationFrame(null),this.B=!0):this.o=a&&b?a.call(this.u,this.A):this.u.setTimeout(taa(this.A),20)}; g.h.Za=function(){this.isActive()||this.start()}; g.h.stop=function(){if(this.isActive()){var a=wn(this),b=xn(this);a&&!b&&this.u.mozRequestAnimationFrame?hf(this.o):a&&b?b.call(this.u,this.o):this.u.clearTimeout(this.o)}this.o=null}; g.h.qf=function(){this.isActive()&&(this.stop(),this.Jy())}; g.h.isActive=function(){return null!=this.o}; g.h.Jy=function(){this.B&&this.o&&hf(this.o);this.o=null;this.F.call(this.C,(0,g.C)())}; g.h.Y=function(){this.stop();g.vn.Tb.Y.call(this)};g.Ta(g.I,g.z);g.h=g.I.prototype;g.h.mm=0;g.h.Y=function(){g.I.Tb.Y.call(this);this.stop();delete this.o;delete this.u}; g.h.start=function(a){this.stop();this.mm=g.$f(this.A,void 0!==a?a:this.Rd)}; g.h.Za=function(a){this.isActive()||this.start(a)}; g.h.stop=function(){this.isActive()&&g.v.clearTimeout(this.mm);this.mm=0}; g.h.qf=function(){this.isActive()&&g.yn(this)}; g.h.isActive=function(){return 0!=this.mm}; g.h.Ky=function(){this.mm=0;this.o&&this.o.call(this.u)};(function(){for(var a=["ms","moz","webkit","o"],b,c=0;b=a[c]&&!g.v.requestAnimationFrame;++c)g.v.requestAnimationFrame=g.v[b+"RequestAnimationFrame"],g.v.cancelAnimationFrame=g.v[b+"CancelAnimationFrame"]||g.v[b+"CancelRequestAnimationFrame"];if(!g.v.requestAnimationFrame){var d=0;g.v.requestAnimationFrame=function(e){var f=(new Date).getTime(),k=Math.max(0,16-(f-d));d=f+k;return g.v.setTimeout(function(){e(f+k)},k)}; g.v.cancelAnimationFrame||(g.v.cancelAnimationFrame=function(e){clearTimeout(e)})}})(); var zn=[[],[]],An=0,Bn=!1,Vda=0;g.Ta(g.Jn,g.nf);g.h=g.Jn.prototype;g.h.nb=function(){return 1==this.o}; g.h.fq=function(){this.Me("begin")}; g.h.Vm=function(){this.Me("end")}; g.h.Dd=function(){this.Me("finish")}; g.h.Me=function(a){this.dispatchEvent(a)};var jta=Bb(function(){if(g.oe)return g.Sd("10.0");var a=g.ve("DIV"),b=g.qe?"-webkit":Ah?"-moz":g.oe?"-ms":g.Bh?"-o":null,c={transition:"opacity 1s linear"};b&&(c[b+"-transition"]="opacity 1s linear");b={style:c};if(!Jsa.test("div"))throw Error("");if("DIV"in Lsa)throw Error("");c=null;var d="";if(b)for(k in b){if(!Jsa.test(k))throw Error("");var e=b[k];if(null!=e){var f=k;if(e instanceof bc)e=cc(e);else if("style"==f.toLowerCase()){if(!g.Oa(e))throw Error("");e instanceof Gc||(e=Mc(e));e=Hc(e)}else{if(/^on/i.test(f))throw Error(""); if(f.toLowerCase()in Ksa)if(e instanceof gc)e=hc(e).toString();else if(e instanceof g.zc)e=g.Ac(e);else if("string"===typeof e)e=g.Dc(e).Pe();else throw Error("");}e.Zg&&(e=e.Pe());f=f+'="'+sc(String(e))+'"';d+=" "+f}}var k="":(c=Jaa(d),k+=">"+g.Xc(c).toString()+"",c=c.o());(b=b&&b.dir)&&(/^(ltr|rtl|auto)$/i.test(b)?c=0:c=null);b=ad(k,c);g.cd(a,b);return""!=g.Ch(a.firstChild,"transition")});g.Ta(Kn,g.Jn);g.h=Kn.prototype;g.h.play=function(){if(this.nb())return!1;this.fq();this.Me("play");this.startTime=(0,g.C)();this.o=1;if(jta())return g.H(this.A,this.H),this.C=g.$f(this.dO,void 0,this),!0;this.gt(!1);return!1}; g.h.dO=function(){g.Rh(this.A);Yda(this.A,this.G);g.H(this.A,this.B);this.C=g.$f((0,g.x)(this.gt,this,!1),1E3*this.F)}; g.h.stop=function(){this.nb()&&this.gt(!0)}; g.h.gt=function(a){g.H(this.A,"transition","");g.v.clearTimeout(this.C);g.H(this.A,this.B);this.endTime=(0,g.C)();this.o=0;a?this.Me("stop"):this.Dd();this.Vm()}; g.h.Y=function(){this.stop();Kn.Tb.Y.call(this)}; g.h.pause=function(){};var Zda={rgb:!0,rgba:!0,alpha:!0,rect:!0,image:!0,"linear-gradient":!0,"radial-gradient":!0,"repeating-linear-gradient":!0,"repeating-radial-gradient":!0,"cubic-bezier":!0,matrix:!0,perspective:!0,rotate:!0,rotate3d:!0,rotatex:!0,rotatey:!0,steps:!0,rotatez:!0,scale:!0,scale3d:!0,scalex:!0,scaley:!0,scalez:!0,skew:!0,skewx:!0,skewy:!0,translate:!0,translate3d:!0,translatex:!0,translatey:!0,translatez:!0};var cea=Mn("getPropertyValue"),dea=Mn("setProperty");var bea={"-webkit-border-horizontal-spacing":!0,"-webkit-border-vertical-spacing":!0};g.Qn.prototype.clone=function(){return new g.Qn(this.o,this.C,this.A,this.F,this.B,this.G,this.u,this.H)};g.Sn.prototype.u=0;g.Sn.prototype.reset=function(){this.o=this.A=this.B;this.u=0}; g.Sn.prototype.getValue=function(){return this.A};Un.prototype.clone=function(){return new Un(this.start,this.end)}; Un.prototype.getLength=function(){return this.end-this.start};(function(){if(bU){var a=/Windows NT ([0-9.]+)/;return(a=a.exec(g.Pc))?a[1]:"0"}return VG?(a=/10[_.][0-9_.]+/,(a=a.exec(g.Pc))?a[0].replace(/_/g,"."):"10"):g.My?(a=/Android\s+([^\);]+)(\)|;)/,(a=a.exec(g.Pc))?a[1]:""):Msa||Nsa||Osa?(a=/(?:iPhone|CPU)\s+OS\s+(\S+)/,(a=a.exec(g.Pc))?a[1].replace(/_/g,"."):""):""})();var jea=function(){if(g.vu)return Vn(/Firefox\/([0-9.]+)/);if(g.oe||g.Ju||g.Bh)return Rd;if(g.Nt)return Md()?Vn(/CriOS\/([0-9.]+)/):Vn(/Chrome\/([0-9.]+)/);if(g.tz&&!Md())return Vn(/Version\/([0-9.]+)/);if(Wy||ZB){var a=/Version\/(\S+).*Mobile\/(\S+)/.exec(g.Pc);if(a)return a[1]+"."+a[2]}else if(g.Oy)return(a=Vn(/Android\s+([0-9.]+)/))?a:Vn(/Version\/([0-9.]+)/);return""}();g.Ta(g.Xn,g.z);g.h=g.Xn.prototype;g.h.subscribe=function(a,b,c){var d=this.u[a];d||(d=this.u[a]=[]);var e=this.C;this.o[e]=a;this.o[e+1]=b;this.o[e+2]=c;this.C=e+3;d.push(e);return e}; g.h.unsubscribe=function(a,b,c){if(a=this.u[a]){var d=this.o;if(a=g.$a(a,function(e){return d[e+1]==b&&d[e+2]==c}))return this.ej(a)}return!1}; g.h.ej=function(a){var b=this.o[a];if(b){var c=this.u[b];0!=this.B?(this.A.push(a),this.o[a+1]=g.Ja):(c&&g.gb(c,a),delete this.o[a],delete this.o[a+1],delete this.o[a+2])}return!!b}; g.h.S=function(a,b){var c=this.u[a];if(c){for(var d=Array(arguments.length-1),e=1,f=arguments.length;e=c.length)throw lk;var e=c.key(b++);if(a)return e;e=c.getItem(e);if("string"!==typeof e)throw"Storage mechanism: Invalid value was encountered";return e}; return d}; g.h.clear=function(){this.o.clear()}; g.h.key=function(a){return this.o.key(a)};g.Ta(ho,go);g.Ta(io,go);g.Ta(ko,fo);var mea={".":".2E","!":".21","~":".7E","*":".2A","'":".27","(":".28",")":".29","%":"."},jo=null;g.h=ko.prototype;g.h.isAvailable=function(){return!!this.o}; g.h.set=function(a,b){this.o.setAttribute(lo(a),b);mo(this)}; g.h.get=function(a){a=this.o.getAttribute(lo(a));if("string"!==typeof a&&null!==a)throw"Storage mechanism: Invalid value was encountered";return a}; g.h.remove=function(a){this.o.removeAttribute(lo(a));mo(this)}; g.h.Gg=function(a){var b=0,c=this.o.XMLDocument.documentElement.attributes,d=new kk;d.next=function(){if(b>=c.length)throw lk;var e=c[b++];if(a)return decodeURIComponent(e.nodeName.replace(/\./g,"%")).substr(1);e=e.nodeValue;if("string"!==typeof e)throw"Storage mechanism: Invalid value was encountered";return e}; return d}; g.h.clear=function(){for(var a=this.o.XMLDocument.documentElement,b=a.attributes.length;0=b)){if(1==b)eb(a);else{a[0]=a.pop();a=0;b=this.o;for(var d=b.length,e=b[a];a>1;){var f=2*a+1,k=2*a+2;f=ke.o)break;b[a]=b[f];a=f}b[a]=e}return c.getValue()}}; g.h.Yd=function(){for(var a=this.o,b=[],c=a.length,d=0;dc;c++)b+=this.u[c]||0;3<=b&&this.M();this.B=d}this.C=a;this.F=this.o;this.A=(this.A+1)%4}}; tp.prototype.Y=function(){window.clearInterval(this.L);g.ip(this.H)};g.r(xp,zea);xp.prototype.start=function(){var a=g.Ia("yt.scheduler.instance.start");a&&a()}; xp.prototype.pause=function(){var a=g.Ia("yt.scheduler.instance.pause");a&&a()}; Ka(xp);xp.getInstance();var Ep={};var Q1;Q1=window;g.N=Q1.ytcsi&&Q1.ytcsi.now?Q1.ytcsi.now:Q1.performance&&Q1.performance.timing&&Q1.performance.now&&Q1.performance.timing.navigationStart?function(){return Q1.performance.timing.navigationStart+Q1.performance.now()}:function(){return(new Date).getTime()};var Aea=Co("initial_gel_batch_timeout",1E3),Up=Math.pow(2,16)-1,Vp=null,Tp=0,Ip=void 0,Gp=0,Hp=0,Xp=0,Op=!0,Lp=g.v.ytLoggingTransportLogPayloadsQueue_||{};g.Ga("ytLoggingTransportLogPayloadsQueue_",Lp,void 0);var Kp=g.v.ytLoggingTransportGELQueue_||new Map;g.Ga("ytLoggingTransportGELQueue_",Kp,void 0);var Rp=g.v.ytLoggingTransportTokensToCttTargetIds_||{};g.Ga("ytLoggingTransportTokensToCttTargetIds_",Rp,void 0);var Wp=g.v.ytLoggingGelSequenceIdObj_||{};g.Ga("ytLoggingGelSequenceIdObj_",Wp,void 0);var lq=new function(){var a=window.document;this.o=window;this.u=a}; g.Ga("yt.ads_.signals_.getAdSignalsString",function(a){return bq(nq(a))},void 0);(0,g.C)();var oq=void 0!==XMLHttpRequest?function(){return new XMLHttpRequest}:void 0!==ActiveXObject?function(){return new ActiveXObject("Microsoft.XMLHTTP")}:null;var rq={Authorization:"AUTHORIZATION","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-Device":"DEVICE","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"},Hea="app debugcss debugjs expflag force_ad_params force_viral_ad_response_params forced_experiments innertube_snapshots innertube_goldens internalcountrycode internalipoverride absolute_experiments conditional_experiments sbb sr_bns_address".split(" "), yq=!1,pU=sq;Gq.prototype.set=function(a,b,c,d){c=c||31104E3;this.remove(a);if(this.o)try{this.o.set(a,b,(0,g.C)()+1E3*c);return}catch(f){}var e="";if(d)try{e=escape(g.Pk(b))}catch(f){return}else e=escape(b);g.Dq(a,e,c,this.u)}; Gq.prototype.get=function(a,b){var c=void 0,d=!this.o;if(!d)try{c=this.o.get(a)}catch(e){d=!0}if(d&&(c=Eq(a))&&(c=unescape(c),b))try{c=JSON.parse(c)}catch(e){this.remove(a),c=void 0}return c}; Gq.prototype.remove=function(a){this.o&&this.o.remove(a);g.Fq(a,"/",this.u)};new Gq;g.h=Iq.prototype;g.h.add=function(a,b,c){return Nq(Kq(this,[a],"readwrite"),a).add(b,c)}; g.h.clear=function(a){return Nq(Kq(this,[a],"readwrite"),a).clear()}; g.h.close=function(){this.o.close()}; g.h.count=function(a,b){return Nq(Kq(this,[a]),a).count(b)}; g.h.createObjectStore=function(a,b){var c=this.o.createObjectStore(a,b);return new Lq(c)}; g.h["delete"]=function(a,b){return Nq(Kq(this,[a],"readwrite"),a)["delete"](b)}; g.h.get=function(a,b){return Nq(Kq(this,[a]),a).get(b)}; g.h.getName=function(){return this.o.name}; g.h=Lq.prototype;g.h.add=function(a,b){return Hq(this.o.add(a,b))}; g.h.clear=function(){return Hq(this.o.clear()).then(function(){})}; g.h.count=function(a){return Hq(this.o.count(a))}; g.h["delete"]=function(a){return Hq(this.o["delete"](a))}; g.h.get=function(a){return Hq(this.o.get(a))}; g.h.index=function(a){return new Oq(this.o.index(a))}; g.h.getName=function(){return this.o.name}; g.r(Mq,Error);Jq.prototype.abort=function(){this.o.abort();return this.done}; Oq.prototype.count=function(a){return Hq(this.o.count(a))}; Oq.prototype.get=function(a){return Hq(this.o.get(a))}; Pq.prototype["continue"]=function(a){this.o["continue"](a);return Pea(this)}; Pq.prototype["delete"]=function(){return Hq(this.o["delete"]()).then(function(){})}; Pq.prototype.getValue=function(){return this.o.value}; Pq.prototype.update=function(a){return Hq(this.o.update(a))};var Rq,Qea=["getAll","getAllKeys","getKey","openKeyCursor"],Rea=["getAll","getAllKeys","getKey","openKeyCursor"];var Sq;var afa=Co("network_polling_interval",3E4);var cfa=Co("networkless_throttle_timeout")||100,efa=Co("networkless_retry_attempts")||1,br=0;g.r(cr,Error);g.dr.prototype.isReady=function(){!this.Ce&&Bq()&&(this.Ce=g.Qp());return!!this.Ce};var gfa=[{Fz:function(a){return"Cannot read property '"+a.key+"'"}, Ru:{TypeError:[{Hf:/Cannot read property '([^']+)' of (null|undefined)/,groups:["key","value"]},{Hf:/\u65e0\u6cd5\u83b7\u53d6\u672a\u5b9a\u4e49\u6216 (null|undefined) \u5f15\u7528\u7684\u5c5e\u6027\u201c([^\u201d]+)\u201d/,groups:["value","key"]},{Hf:/\uc815\uc758\ub418\uc9c0 \uc54a\uc74c \ub610\ub294 (null|undefined) \ucc38\uc870\uc778 '([^']+)' \uc18d\uc131\uc744 \uac00\uc838\uc62c \uc218 \uc5c6\uc2b5\ub2c8\ub2e4./,groups:["value","key"]},{Hf:/No se puede obtener la propiedad '([^']+)' de referencia nula o sin definir/, groups:["key"]},{Hf:/Unable to get property '([^']+)' of (undefined or null) reference/,groups:["key","value"]}],Error:[{Hf:/(Permission denied) to access property "([^']+)"/,groups:["reason","key"]}]}},{Fz:function(a){return"Cannot call '"+a.key+"'"}, Ru:{TypeError:[{Hf:/(?:([^ ]+)?\.)?([^ ]+) is not a function/,groups:["base","key"]},{Hf:/Object (.*) has no method '([^ ]+)'/,groups:["base","key"]},{Hf:/Object doesn't support property or method '([^ ]+)'/,groups:["key"]},{Hf:/\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306f '([^']+)' \u30d7\u30ed\u30d1\u30c6\u30a3\u307e\u305f\u306f\u30e1\u30bd\u30c3\u30c9\u3092\u30b5\u30dd\u30fc\u30c8\u3057\u3066\u3044\u307e\u305b\u3093/,groups:["key"]},{Hf:/\uac1c\uccb4\uac00 '([^']+)' \uc18d\uc131\uc774\ub098 \uba54\uc11c\ub4dc\ub97c \uc9c0\uc6d0\ud558\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4./, groups:["key"]}]}}];var kr=new Set,hr=0,jr=void 0;lr.prototype.initialize=function(a,b,c,d,e,f){var k=this;f=void 0===f?!1:f;b?(this.Fc=!0,g.Xo(b,function(){k.Fc=!1;if(window.botguard)mr(k,c,d,f);else{var l=Yo(b),m=document.getElementById(l);m&&(Wo(l),m.parentNode.removeChild(m));g.gr(new cr("Unable to load Botguard","from "+b))}},e)):a&&(eval(a),window.botguard?mr(this,c,d,f):g.gr(Error("Unable to load Botguard from JS")))}; lr.prototype.hd=function(){return!!this.o}; lr.prototype.dispose=function(){this.o=null};var jfa=[],or=!1;var tr={},mfa=0;g.r(ur,Va);xr.prototype.then=function(a,b,c){return 1===this.u&&a?(a=a.call(c,this.o),Df(a)?a:zr(a)):2===this.u&&b?(a=b.call(c,this.o),Df(a)?a:yr(a)):this}; xr.prototype.getValue=function(){return this.o}; xr.prototype.$goog_Thenable=!0;g.r(Br,Va);Br.prototype.name="BiscottiError";g.r(Ar,Va);Ar.prototype.name="BiscottiMissingError";var Dr={format:"RAW",method:"GET",timeout:5E3,withCredentials:!0},Cr=null;var ofa=g.Bo("html5_disable_client_tmp_logs");var Jr=g.Ia("ytglobal.prefsUserPrefsPrefs_")||{};g.Ga("ytglobal.prefsUserPrefsPrefs_",Jr,void 0);g.h=Kr.prototype;g.h.get=function(a,b){Or(a);Nr(a);var c=void 0!==Jr[a]?Jr[a].toString():null;return null!=c?c:b?b:""}; g.h.set=function(a,b){Or(a);Nr(a);if(null==b)throw Error("ExpectedNotNull");Jr[a]=b.toString()}; g.h.remove=function(a){Or(a);Nr(a);delete Jr[a]}; g.h.save=function(){g.Dq(this.o,this.dump(),63072E3)}; g.h.clear=function(){g.Qb(Jr)}; g.h.dump=function(){var a=[],b;for(b in Jr)a.push(b+"="+encodeURIComponent(String(Jr[b])));return a.join("&")}; Ka(Kr);var qfa=new Map([["dark","USER_INTERFACE_THEME_DARK"],["light","USER_INTERFACE_THEME_LIGHT"]]),sfa=["/fashion","/channel/UCrpQ4p1Ql_hG8rKXIKM1MOQ","/channel/UCTApTkbpcqiLL39WUlne4ig","/channel/UCW5PCzG3KQvbOX4zc3KY0lQ"];g.r(g.Ur,g.z);g.Ur.prototype.N=function(a,b,c,d,e){c=Jo((0,g.x)(c,d||this.Jd));c={target:a,name:b,Kb:c};var f;e&&ota()&&(f={passive:!0});a.addEventListener(b,c.Kb,f);this.ba.push(c);return c}; g.Ur.prototype.kb=function(a){for(var b=0;bthis.Do()?(this.o.appendWindowEnd=b,this.o.appendWindowStart=a):(this.o.appendWindowStart=a,this.o.appendWindowEnd=b)}; g.h.Xs=function(){return this.F}; g.h.Jq=function(a){hE?this.F=a:this.supports(1)&&(this.o.timestampOffset=a)}; g.h.Gb=function(){return hE?this.F:this.supports(1)?this.o.timestampOffset:0}; g.h.Md=function(a){if(void 0===a?0:a)return this.u||this.ge()||(this.G=this.Md(!1),this.u=!0),this.G;try{return this.o.buffered}catch(b){return Wt([],[])}}; g.h.ge=function(){return this.o.updating}; g.h.Zi=function(){return this.A}; g.h.Eo=function(){return this.L}; g.h.Wv=function(a,b){this.M!=a&&(this.supports(4),this.o.changeType(b));this.M=a}; g.h.Ss=function(){return this.C}; g.h.isView=function(){return!1}; g.h.supports=function(a){switch(a){case 1:return void 0!=this.o.timestampOffset;case 0:return!!this.o.appendBuffer;case 2:return!!this.o.remove;case 3:return!(!this.o.addEventListener||!this.o.removeEventListener);case 4:return!!this.o.changeType;default:return!1}}; g.h.Tr=function(){return!this.ge()}; g.h.isLocked=function(){return!1}; g.h.Wa=function(a){a.to=""+this.o.timestampOffset;a.up=""+ +this.ge();a.aw=(this.o.appendWindowStart||0).toFixed(3)+"-"+(this.o.appendWindowEnd||Infinity).toFixed(3);try{a.bu=Xt(this.o.buffered)}catch(b){}return eu(a)}; g.h.Y=function(){this.supports(3)&&(this.o.removeEventListener("updateend",this.B),this.o.removeEventListener("error",this.B));g.O.prototype.Y.call(this)};g.r(hu,g.O);g.h=hu.prototype;g.h.appendBuffer=function(a,b,c){if(this.o.Do()!=this.F+this.u||this.o.Ns()!=this.C+this.u||this.o.Gb()!=this.B+this.u)this.o.supports(1),this.o.zv(this.F+this.u,this.C+this.u),this.o.Jq(this.B+this.u);this.o.appendBuffer(a,b,c)}; g.h.abort=function(){this.o.abort()}; g.h.remove=function(a,b){this.o.remove(a+this.u,b+this.u)}; g.h.zv=function(a,b){this.F=a;this.C=b}; g.h.Xs=function(){return this.B+this.u}; g.h.Do=function(){return this.F}; g.h.Ns=function(){return this.C}; g.h.Jq=function(a){this.B=a}; g.h.Gb=function(){return this.B}; g.h.Md=function(a){a=this.o.Md(void 0===a?!1:a);return cu(a,this.u,this.H)}; g.h.ge=function(){return this.o.ge()}; g.h.Zi=function(){return this.o.Zi()}; g.h.Eo=function(){return this.o.Eo()}; g.h.Wv=function(a,b){return this.o.Wv(a,b)}; g.h.supports=function(a){return this.o.supports(a)}; g.h.Ss=function(){return this.o.Ss()}; g.h.isView=function(){return!0}; g.h.Tr=function(){return this.o.Tr()?this.A:!1}; g.h.isLocked=function(){return this.G&&!this.A}; g.h.Wa=function(a){return this.o.Wa(a)+(";vw."+this.u+"-"+this.H)}; g.h.Y=function(){Yr(this.o,this.M);g.O.prototype.Y.call(this)}; g.h.isActive=function(){return this.A}; g.h.setActive=function(a){this.A=a;this.G=this.G||this.A};iu.prototype.dispose=function(){if(!this.ha){if(this.u)try{URL.revokeObjectURL(this.o)}catch(a){}this.A=!0}}; iu.prototype.ha=function(){return this.A}; iu.prototype.toString=function(){return"MediaResource {"+this.o+"}"};g.r(ju,g.z);g.h=ju.prototype;g.h.getDuration=function(){return this.A.duration}; g.h.isView=function(){return this.F}; g.h.ge=function(){return!!(this.o&&this.o.ge()||this.u&&this.u.ge())}; g.h.sN=function(){!this.ha()&&ku(this)&&this.B&&(this.B(this),this.B=null)}; g.h.rN=function(){this.dispose()};var vta={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},S1;a:{var T1=g.Pc;T1=T1.toLowerCase();if(-1!=T1.indexOf("android")){var wta=T1.match(/android\s*(\d+(\.\d+)?)[^;|)]*[;)]/);if(wta){var xta=parseFloat(wta[1]);if(100>xta){S1=xta;break a}}var yta=T1.match("("+g.Jb(vta).join("|")+")");S1=yta?vta[yta[0]]:0}else S1=void 0}var Ty=S1,Sy=0<=Ty;ru.prototype.canPlayType=function(a,b){var c=a.canPlayType?a.canPlayType(b):!1;rl?c=c||zta[b]:2.2==Ty?c=c||Ata[b]:il()&&(c=c||Bta[b]);return!!c}; ru.prototype.disableAv1=function(){this.H=!0}; var Ata={'video/mp4; codecs="avc1.42001E, mp4a.40.2"':"maybe"},Bta={"application/x-mpegURL":"maybe"},zta={"application/x-mpegURL":"maybe"};g.h=Ku.prototype;g.h.de=function(){return this.Sg}; g.h.Lm=function(){return null}; g.h.py=function(){var a=this.Lm();return a?+g.eq(a.o).expire:NaN}; g.h.vv=function(){}; g.h.getHeight=function(){return this.Sg.Da().height};Mu.prototype.isLocked=function(){return this.A&&!!this.u&&this.u==this.o}; Mu.prototype.B=function(a){return a.video?Tu(this,a.video.quality):!1}; var EK=Ou("auto","hd1080",!1,"l"),IG=Ou("auto","large",!1,"l"),Qu=Ou("auto","auto",!1,"p");Ou("small","auto",!1,"p");var sT={KP:"ad",hQ:"annotations_module",iQ:"attribution",LQ:"creatorendscreen",ZQ:"embed",dR:"endscreen",rR:"fresca",FR:"heartbeat",bS:"kids",oS:"remote",tS:"miniplayer",zS:"music",SUBTITLES:"captions",IE:"unplugged",ZT:"ux",dU:"visualizer",hU:"webgl",mU:"ypc",nU:"ypc_clickwrap",oU:"yto",VT:""};g.h=g.Yu.prototype;g.h.oA=function(a){this.segments.push(a)}; g.h.getDuration=function(a){return(a=this.ag(a))?a.duration:0}; g.h.oy=function(a){return this.getDuration(a)}; g.h.sf=function(){return this.segments.length?this.segments[0].Qa:-1}; g.h.ou=function(a){return(a=this.ag(a))?a.ingestionTime:NaN}; g.h.Fy=function(a){return(a=this.ag(a))?a.A:null}; g.h.qb=function(){return this.segments.length?this.segments[this.segments.length-1].Qa:-1}; g.h.Jh=function(){var a=this.segments[this.segments.length-1];return a?a.endTime:NaN}; g.h.Ib=function(){return this.segments[0].startTime}; g.h.nk=function(){return this.segments.length}; g.h.Sp=function(){return 0}; g.h.tf=function(a){return(a=this.hk(a))?a.Qa:-1}; g.h.Vs=function(a){return(a=this.ag(a))?a.u:""}; g.h.Cd=function(a){return(a=this.ag(a))?a.startTime:0}; g.h.Lo=ca(1);g.h.Nb=function(){return 0=e.length?(b.append(e),a-=e.length):a?(b.append(new Uint8Array(e.buffer,e.byteOffset,a)),c.append(new Uint8Array(e.buffer,e.byteOffset+a,e.length-a)),a=0):c.append(e);return{To:b,Nj:c}}; g.h.isFocused=function(a){return a>=this.A&&athis.info.Ta||4==this.info.type)return!0;var b=yw(this),c=b.getUint32(0,!1);b=b.getUint32(4,!1);a.infotype=this.info.type.toString();a.slicesize=c.toString();a.boxtype=b.toString();if(2==this.info.type)return c==this.info.Ta&&1936286840==b;if(3==this.info.type&&0==this.info.A)return 1836019558==b||1936286840== b||1937013104==b||1718909296==b||1701671783==b||1936419184==b}else if(2==this.info.o.info.containerType){if(4>this.info.Ta||4==this.info.type)return!0;c=yw(this).getUint32(0,!1);a.ebm=c.toString();if(3==this.info.type&&0==this.info.A)return 524531317==c||440786851==c}return!0};var Lw={w1:function(a,b){var c=a[0];a[0]=a[b%a.length];a[b%a.length]=c}, Ww:function(a){a.reverse()}, ws:function(a,b){a.splice(0,b)}};var lma=/^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\/)/,Qw=/^http:\/\/0\.[a-z0-9\-_]+\.[a-z0-9\-_]+\.l2gfe\.[a-z0-9_]+\.([a-z]{2}|i)\.borg\.google\.com(:[0-9]+)?\/|^https:\/\/([a-z]+\.)?[0-9a-f]{1,63}\.sslproxy\.corp\.google\.com\/|^https:\/\/([a-z]+\.)?[a-z0-9\-]{1,63}\.demos\.corp\.google\.com\/|^https:\/\/[0-9a-f]{1,63}\.proxy\.googleprod\.com\/|^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(-nocookie|kids)?\.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\/[^/\\%]+\/|)|(tv|tv-green-qa|tv-release-qa)\.youtube\.com\/|[A-Za-z0-9-]+\.prod\.google\.com(:[0-9]+)?\/|m?web-ppg\.corp\.google\.com\/)/, Rw=/^https?:\/\/play\.google\.com\//,mma=/^https?:\/\/(www\.google\.com\/pagead\/xsul|www\.youtube\.com\/pagead\/slav)/,pga=/^https:\/\/([A-Za-z0-9-]{1,63}\.)+demos\.corp\.google\.com(\/(?!url\b)|$)|^https:\/\/([A-Za-z0-9-]{1,63}\.)+sslproxy\.corp\.google\.com(\/|$)|^https?:\/\/(([A-Za-z0-9-]{1,63}\.)*(corp\.google\.com|proxy\.googleprod\.com|c\.googlers\.com|docs\.google\.com|drive\.google\.com|prod\.google\.com|plus\.google\.com|currents\.google\.com|mail\.google\.com|youtube\.com|youtube\-nocookie\.com|youtubekids\.com)[.]?(:[0-9]+)?\/|([A-Za-z0-9-]{1,63}\.)*(sandbox\.google\.com)(:[0-9]+)?(\/(?!url\b)|$))/, nga=/^https:\/\/([A-Za-z0-9-]{1,63}\.)+demos\.corp\.google\.com(\/(?!url\b)|$)|^https:\/\/([A-Za-z0-9-]{1,63}\.)+sslproxy\.corp\.google\.com(\/|$)|^https?:\/\/(([A-Za-z0-9-]{1,63}\.)*(corp\.google\.com|proxy\.googleprod\.com|c\.googlers\.com|borg\.google\.com|prod\.google\.com|youtube\.com|youtubekids\.com)[.]?(:[0-9]+)?\/|([A-Za-z0-9-]{1,63}\.)*(sandbox\.google\.com)(:[0-9]+)?(\/(?!url\b)|$))/,lga=/^((http(s)?):)?\/\/((((lh[3-6](-tt|-d[a-g,z])?\.((ggpht)|(googleusercontent)|(google)))|(([1-4]\.bp\.blogspot)|(bp[0-3]\.blogger))|(ccp-lh\.googleusercontent)|((((cp|ci|gp)[3-6])|(ap[1-2]))\.(ggpht|googleusercontent))|(gm[1-4]\.ggpht)|(play-(ti-)?lh\.googleusercontent)|(gz0\.googleusercontent)|(((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}\.)+demos\.corp\.google\.com(\/(?!url\b)|$)|^https:\/\/([A-Za-z0-9-]{1,63}\.)+sslproxy\.corp\.google\.com(\/|$)|^https?:\/\/(([A-Za-z0-9-]{1,63}\.)*(corp\.google\.com|proxy\.googleprod\.com|c\.googlers\.com|borg\.google\.com|docs\.google\.com|drive\.google\.com|googleplex\.com|play\.google\.com|prod\.google\.com|plus\.google\.com|currents\.google\.com|video\.google\.com|youtube\.com|ytimg\.com|ytimg\.sandbox\.google\.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\/)/, nma=/^https?.*#ocr$|^https?:\/\/(aksecure\.imrworldwide\.com\/|cdn\.imrworldwide\.com\/|secure\-..\.imrworldwide\.com\/)/,mga=/^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)/,jga=/^((http(s)?):)?\/\/((((lh[3-6](-tt|-d[a-g,z])?\.((ggpht)|(googleusercontent)|(google)))|(([1-4]\.bp\.blogspot)|(bp[0-3]\.blogger))|(ccp-lh\.googleusercontent)|((((cp|ci|gp)[3-6])|(ap[1-2]))\.(ggpht|googleusercontent))|(gm[1-4]\.ggpht)|(play-(ti-)?lh\.googleusercontent)|(gz0\.googleusercontent)|(((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}\.)+demos\.corp\.google\.com(\/(?!url\b)|$)|^https:\/\/([A-Za-z0-9-]{1,63}\.)+sslproxy\.corp\.google\.com(\/|$)|^https?:\/\/(([A-Za-z0-9-]{1,63}\.)*(corp\.google\.com|proxy\.googleprod\.com|c\.googlers\.com|borg\.google\.com|docs\.google\.com|drive\.google\.com|googleplex\.com|googlevideo\.com|prod\.google\.com|lh3\.photos\.google\.com|plus\.google\.com|currents\.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)|$)|([A-Za-z0-9-]{1,63}\.)*c\.lh3(-d[a-gz]|-testonly)?\.(googleusercontent|photos\.google)\.com\/.*$)/, kga=/^https?:\/\/([A-Za-z0-9-]{1,63}\.)*(play\.google\.com)[.]?(:[0-9]+)?\//,bha=/^https?:\/\/(([A-Za-z0-9-]{1,63}\.)*(imasdk\.googleapis\.com|2mdn\.net|googlesyndication\.com|corp\.google\.com|proxy\.googleprod\.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|youtubekids\.com|ytimg\.com|ytimg\.sandbox\.google\.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)/, $ga=/^https:\/\/([A-Za-z0-9-]{1,63}\.)*(crowdsource|datacompute)\.google\.com\/|^https:\/\/([A-Za-z0-9-]{1,63}\.)+demos\.corp\.google\.com(\/(?!url\b)|$)|^https:\/\/([A-Za-z0-9-]{1,63}\.)+sslproxy\.corp\.google\.com(\/|$)|^https:\/\/canvastester-3fd0b\.appspot\.com(\/|$)|^https:\/\/narrative-news-cast-receiver-d\.appspot\.com(\/|$)|^https:\/\/narrative-news-cast-receiver-f\.appspot\.com(\/|$)|^https:\/\/one\.google\.com(\/|$)|^https:\/\/www\.gstatic\.com\/aog_howto|^https:\/\/www\.gstatic\.com\/narrative_cast_receiver\/news|^https?:\/\/(([A-Za-z0-9-]{1,63}\.)*(imasdk\.googleapis\.com|corp\.google\.com|proxy\.googleprod\.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|class\.photos\.google\.com|plus\.google\.com|currents\.google\.com|books\.googleusercontent\.com|play\-books\-autopush\-sandbox\.googleusercontent\.com|play\-books\-canary\-sandbox\.googleusercontent\.com|play\-books\-internal\-sandbox\.googleusercontent\.com|play\-books\-staging\-sandbox\.googleusercontent\.com|blogger\.com|mail\.google\.com|survey\.g\.doubleclick\.net|youtube\.com|youtube\.googleapis\.com|youtube\-nocookie\.com|youtubekids\.com|vevo\.com|chat\.google\.com|meet\.google\.com|stadia\.google\.com|shoploop\.area120\.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)/, aha=/^https?:\/\/([A-Za-z0-9-]{1,63}\.)*(talkgadget\.google\.com|jamboard\.google\.com)[.]?(:[0-9]+)?(\/|$)/,Dta=/^(https\:\/\/photos\.google\.com|https\:\/\/get\.google\.com|https\:\/\/class\.photos\.google\.com|https\:\/\/plus\.google\.com|https\:\/\/currents\.google\.com|https\:\/\/mail\.google\.com|https\:\/\/chat\.google\.com|https\:\/\/stadia\.google\.com|https\:\/\/one\.google\.com|https\:\/\/shoploop\.area120\.google\.com)$|^http:\/\/[0-9]+\.[a-z0-9\-_]+\.[a-z0-9\-_]+\.[a-z0-9\-_]+\.([a-z]{2}|i)\.borg\.google\.com(:[0-9]+)?$|^https:\/\/((staging|stream|today)\.)?meet\.google\.com$|^https:\/\/([A-Za-z0-9-]{1,63}\.)*(crowdsource|datacompute)\.google\.com$|^https:\/\/([A-Za-z0-9-]{1,63}\.)*youtube\.com$|^https:\/\/([A-Za-z0-9-]{1,63}\.)+demos\.corp\.google\.com$|^https:\/\/([A-Za-z0-9-]{1,63}\.)+sandbox\.google\.com$|^https:\/\/([A-Za-z0-9-]{1,63}\.)+sslproxy\.corp\.google\.com$|^https:\/\/(books|play-books-(autopush|canary|internal|staging)-sandbox)\.googleusercontent\.com$|^https:\/\/(draft|www|(www\.)?daily\.alpha|(www\.)?weekly\.alpha|(www\.)?dev\.sandbox|(www\.)?autopush\.sandbox|(www\.)?restore\.sandbox)\.blogger\.com$|^https:\/\/[0-9a-f]{1,63}\.proxy\.googleprod\.com$|^https?:\/\/(((docs|m|sing|ss|sss|www)\.)?drive\.google\.com$|([A-Za-z0-9-]{1,63}\.)*c\.googlers\.com(:[0-9]+)?$|([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]))$|[A-Za-z0-9-]+\.prod\.google\.com(:[0-9]+)?$|docs\.google\.com$)/, Eta=/^(https\:\/\/googleads\.g\.doubleclick\.net|https\:\/\/play\.google\.com|https\:\/\/talkgadget\.google\.com|https\:\/\/jamboard\.google\.com)$/;var Ow=!1;Zw.prototype.set=function(a,b){this.o[a]!==b&&(this.o[a]=b,this.url="")}; Zw.prototype.get=function(a){$w(this);return this.o[a]||null}; Zw.prototype.Ac=function(){this.url||(this.url=qga(this));return this.url}; Zw.prototype.clone=function(){var a=new Zw(this.u);a.A=this.A;a.path=this.path;a.B=this.B;a.o=g.Sb(this.o);a.url=this.url;return a};hx.prototype.set=function(a,b){this.ff.get(a);this.o[a]=b;this.url=""}; hx.prototype.get=function(a){return this.o[a]||this.ff.get(a)}; hx.prototype.Ac=function(){this.url||(this.url=rga(this));return this.url};ox.prototype.ue=function(){return cw(this.o[0])};g.h=tx.prototype;g.h.se=function(){}; g.h.Bk=function(){}; g.h.Ad=function(){return!!this.o&&this.index.Nb()}; g.h.ih=function(){}; g.h.Uz=function(){return!1}; g.h.mk=function(){}; g.h.tj=function(){}; g.h.Kh=function(){}; g.h.Ug=function(){}; g.h.Po=function(){}; g.h.Vz=function(a){return[a]}; g.h.Eq=function(a){return[a]}; g.h.oq=function(){}; g.h.Go=function(){};g.r(ux,tx);g.h=ux.prototype;g.h.se=function(){return!1}; g.h.Bk=function(){return!1}; g.h.Uz=function(){return this.G}; g.h.mk=function(){if(this.G)return[];var a=new bw(1,this,this.initRange,"getMetadataRequestInfos");return[new ox([a],this.R)]}; g.h.tj=function(){return null}; g.h.Kh=function(a){this.ih(a);return this.uj(a.B?a.u+1:a.u,!1)}; g.h.Ug=function(a,b){b=void 0===b?!1:b;var c=this.index.tf(a);b&&(c=Math.min(this.index.qb(),c+1));return this.uj(c,!0)}; g.h.Po=function(a){this.o=new Uint8Array(yw(a).buffer)}; g.h.ih=function(a){return 0==a.Ta?!0:this.index.qb()>a.u&&this.index.sf()<=a.u+1}; g.h.update=function(a,b,c){this.index.append(a);Zu(this.index,c);this.H=b}; g.h.Ad=function(){return this.G?!0:tx.prototype.Ad.call(this)}; g.h.uj=function(a,b){var c=this.index.Vs(a),d=this.index.Cd(a),e=this.index.getDuration(a),f;b?e=f=0:f=0c&&(this.segments=this.segments.slice(b))}}; g.h.hk=function(a){if(!this.u)return g.Yu.prototype.hk.call(this,a);if(!this.segments.length)return null;var b=this.segments[this.segments.length-1];if(a=b.endTime)b=b.Qa+Math.floor((a-b.endTime)/this.o+1);else{b=ub(this.segments,function(d){return a=d.endTime?1:0}); if(0<=b)return this.segments[b];var c=-(b+1);b=this.segments[c-1];c=this.segments[c];b=Math.floor((a-b.endTime)/((c.startTime-b.endTime)/(c.Qa-b.Qa-1))+1)+b.Qa}return this.ag(b)}; g.h.ag=function(a){if(!this.u)return g.Yu.prototype.ag.call(this,a);if(!this.segments.length)return null;var b=zx(this,a);if(0<=b)return this.segments[b];var c=-(b+1);b=this.o;if(0==c)var d=Math.max(0,this.segments[0].startTime-(this.segments[0].Qa-a)*b);else c==this.segments.length?(d=this.segments[this.segments.length-1],d=d.endTime+(a-d.Qa-1)*b):(d=this.segments[c-1],c=this.segments[c],d=d.endTime+(c.startTime-d.endTime)/(c.Qa-d.Qa-1)*(a-d.Qa-1));return new Xu(a,d,b,0,"sq/"+a,void 0,void 0,!0)};g.r(Bx,ux);g.h=Bx.prototype;g.h.Bk=function(){return!0}; g.h.Ad=function(){return!0}; g.h.ih=function(a){return!a.C}; g.h.mk=function(){return[]}; g.h.Ug=function(a,b){if("number"===typeof a&&!isFinite(a)){var c=new bw(3,this,null,"mlLiveGetReqInfoStubForTime",-1,void 0,this.Ye,void 0,this.Ye*this.info.o);return new ox([c],"")}return ux.prototype.Ug.call(this,a,b)}; g.h.uj=function(a,b){var c=void 0===c?!1:c;if(Ax(this.index,a))return ux.prototype.uj.call(this,a,b);var d=this.index.Cd(a),e=b?0:this.Ye*this.info.o,f=!b;c=new bw(c?6:3,this,null,"mlLiveCreateReqInfoForSeg",a,d,void 0,void 0,e,a==this.index.qb()&&!this.H&&0a.u&&this.index.sf()<=a.u+1}; g.h.Go=function(){return this.initRange&&this.indexRange?this.initRange.length+this.indexRange.length:0}; g.h.oq=function(){return!1};g.h=g.Jx.prototype;g.h.Sp=function(a){return this.u[a]}; g.h.Cd=function(a){return this.A[a]/this.C}; g.h.Lo=ca(0);g.h.ou=function(){return NaN}; g.h.Fy=function(){return null}; g.h.getDuration=function(a){a=this.oy(a);return 0<=a?a/this.C:-1}; g.h.oy=function(a){return a+1=this.qb())return 0;for(var c=0,d=this.Cd(a)+b,e=a;ethis.Cd(e);e++)c=Math.max(c,(e+1=this.index.Sp(c+1);)c++;return Mx(this,c,b,a.Ta).o}; g.h.ih=function(a){return this.Ad()?!0:isNaN(this.G)?!1:a.range.end+1this.G&&(c=new Yv(c.start,this.G-1));c=[new bw(4,a.o,c,"getNextRequestInfoByLength")];return new ox(c)}4==a.type&&(c=this.Eq(a),a=c[c.length-1]);c=0;var d=a.range.start+a.A+a.Ta;3==a.type&&(c=a.u,d==a.range.end+1&&(c+=1));return Mx(this,c,d,b)}; g.h.Kh=function(){return null}; g.h.Ug=function(a,b){var c=this.index.tf(a);b&&(c=Math.min(this.index.qb(),c+1));return Mx(this,c,this.index.Sp(c),0)}; g.h.se=function(){return!0}; g.h.Bk=function(){return!1}; g.h.Go=function(){return this.indexRange.length+this.initRange.length}; g.h.oq=function(){return this.indexRange&&this.initRange&&this.initRange.end+1==this.indexRange.start?!0:!1};g.r(Px,g.O);g.h=Px.prototype;g.h.eh=function(){return g.Fb(this.o,function(a){return a.info.video?2==a.info.video.projectionType:!1})}; g.h.fh=function(){return g.Fb(this.o,function(a){return a.info.video?3==a.info.video.projectionType:!1})}; g.h.Yg=function(){return g.Fb(this.o,function(a){return a.info.video?4==a.info.video.projectionType:!1})}; g.h.zk=function(){return g.Fb(this.o,function(a){return a.info.video?1==a.info.video.stereoLayout:!1})}; g.h.cO=function(a){var b=a.getElementsByTagName("Representation");if(0this.M&&this.ua;this.ba=parseInt(Cx(a,Zx(this,"earliestMediaSequence")),10)|| 0;if(b=Date.parse(Fx(Cx(a,Zx(this,"mpdResponseTime")))))this.L=((0,g.C)()-b)/1E3;this.isLive&&0>=a.getElementsByTagName("SegmentTimeline").length||(0,g.zi)(a.getElementsByTagName("Period"),this.cO,this);this.H=2;this.S("loaded");dy(this);return this}; g.h.jG=function(a){this.Z=a.xhr.status;this.H=3;this.S("loaderror");return Kf(a.xhr)}; g.h.refresh=function(){if(1!=this.H&&!this.ha()){var a=g.Ed(this.sourceUrl,{start_seq:Pga(this).toString()});Rf(by(this,a),function(){})}}; g.h.resume=function(){dy(this)}; g.h.zc=function(){if(this.u&&this.G&&ey(this))return ey(this);var a=this.o,b=!1,c=NaN,d=NaN,e;for(e in a){var f=a[e],k=f.index;k.Nb()&&(f.A&&(b=!0),k=k.Jh(),f.info.audio&&(isNaN(c)||k=this.u&&(this.B=!0);for(;c--;)this.values[this.valueIndex]=b,this.valueIndex=(this.valueIndex+1)%this.u;this.F=!0}; ty.prototype.o=function(){return this.G?(uy(this,this.C-this.G)+uy(this,this.C)+uy(this,this.C+this.G))/3:uy(this,this.C)};var Zga=/^([0-9\.]+):([0-9\.]+)$/;var Ky="area120-boutique blogger books docs duo google-live google-one play chat hangouts-meet photos-edu picasaweb gmail jamboard".split(" ");g.r(gz,g.z);g.h=gz.prototype;g.h.ia=function(a){return g.P(this.experiments,a)}; g.h.Td=function(a,b){b=void 0===b?!1:b;this.Ma=Hy(this.Ma,a.video_id);this.Bb=Hy(this.Bb,a.eventid);var c=[],d;for(d in Fta){var e=Fta[d],f=a[e];void 0!=f&&(f!=this.deviceParams[e]&&c.push(e),this.deviceParams[e]=f)}!b&&0'}; g.h.supportsGaplessAudio=function(){return g.Nt&&!rl&&74<=fl()||g.vu&&g.Sd(68)?!0:!1}; g.h.getPlayerType=function(){return this.deviceParams.cplayer}; var Fta={rQ:"cbrand",sQ:"cbr",tQ:"cbrver",TR:"c",WR:"cver",VR:"ctheme",UR:"cplayer",wS:"cmodel",AS:"cnetwork",FS:"cos",GS:"cosver",MS:"cplatform"},eha=["www.youtube-nocookie.com","youtube.googleapis.com"];Az.prototype.clone=function(a){return new Az(this.flavor,a,this.A,this.C)}; Az.prototype.Wa=function(){return{flavor:this.flavor,keySystem:this.o}}; Az.prototype.de=function(){switch(this.o){case "com.youtube.playready":return"PRY";case "com.microsoft.playready":return"PRM";case "com.widevine.alpha":return"WVA";case "com.youtube.widevine.l3":return"WVY";case "com.youtube.widevine.forcehdcp":return"WVYF";case "com.youtube.fairplay":return"FPY";case "com.apple.fps.1_0":return"FPA";default:return this.o}}; var V1={},Iz=(V1.playready=["com.youtube.playready","com.microsoft.playready"],V1.widevine=["com.youtube.widevine.forcehdcp","com.youtube.widevine.l3","com.widevine.alpha"],V1);Jz.prototype.getAvailableAudioTracks=function(){return this.audioTracks};g.r(Nz,g.z);Nz.prototype.M=function(){(this.G=!this.G&&"widevine"==this.u[this.o[0]].flavor)||this.o.shift();Oz(this)}; Nz.prototype.L=function(a,b){this.ha()||(a.keySystemAccess=b,pha(this,a),this.A.push(a),g.P(this.C,"html5_drm_fallback_to_playready_on_retry")||this.H?(this.o.shift(),Oz(this)):this.F(this.A))};g.r(Sz,Ku);Sz.prototype.py=function(){return this.A}; Sz.prototype.Lm=function(){if(!this.o||this.o.ha()){var a=this.u;uha(a);var b=["#EXTM3U","#EXT-X-INDEPENDENT-SEGMENTS"],c={};a:if(a.o)var d=a.o;else{d="";for(var e=g.p(a.A),f=e.next();!f.done;f=e.next())if(f=f.value,f.zb){if(f.zb.getIsDefault()){d=f.zb.getId();break a}d||(d=f.zb.getId())}}e=g.p(a.A);for(f=e.next();!f.done;f=e.next())f=f.value,f.zb&&f.zb.getId()!==d||(c[f.itag]=f);d=g.p(a.u);for(e=d.next();!e.done;e=d.next())e=e.value,e.audioItag&&b.push(tha(a,c[e.audioItag],e));d=g.p(a.u);for(e=d.next();!e.done;e= d.next())if(e=e.value,e.audioItag){f=a;var k=c[e.audioItag];b.push("#EXT-X-STREAM-INF:BANDWIDTH="+(e.bitrate+k.bitrate)+',CODECS="'+(e.codecs+","+k.codecs+'",RESOLUTION=')+(e.width+"x"+e.height+',AUDIO="')+(Qz(k,e)+'",CLOSED-CAPTIONS=NONE'));b.push(Pz(f,e.url,""))}a="data:application/x-mpegurl;charset=utf-8,"+encodeURIComponent(b.join("\n"));this.o=new iu(a)}return this.o};g.r(Uz,Ku);Uz.prototype.Lm=function(){return new iu(this.o.Ac())}; Uz.prototype.vv=function(){this.o=dx(this.o)};g.r(Vz,Ku);Vz.prototype.Lm=function(){return new iu(this.o)};var Xz={iurl:"default.jpg",iurlmq:"mqdefault.jpg",iurlhq:"hqdefault.jpg",iurlsd:"sddefault.jpg",iurlpop1:"pop1.jpg",iurlpop2:"pop2.jpg",iurlhq720:"hq720.jpg",iurlmaxres:"maxresdefault.jpg"},$z={120:"default.jpg",320:"mqdefault.jpg",480:"hqdefault.jpg",560:"pop1.jpg",640:"sddefault.jpg",854:"pop2.jpg",1280:"hq720.jpg"};var W1={},mC=(W1.AD_MARKER="ytp-ad-progress",W1.CHAPTER_MARKER="ytp-chapter-marker",W1.TIME_MARKER="ytp-time-marker",W1);var bN=16/9,Gta=[.25,.5,.75,1,1.25,1.5,1.75,2],Hta=Gta.concat([3,4,5,6,7,8,9,10,15]);var X1={},Bha=(X1.ALWAYS=1,X1.BY_REQUEST=3,X1),Y1={},Tha=(Y1.COLOR_PRIMARIES_BT709="bt709",Y1.COLOR_PRIMARIES_BT2020="bt2020",Y1),Z1={},Uha=(Z1.COLOR_TRANSFER_CHARACTERISTICS_BT709="bt709",Z1.COLOR_TRANSFER_CHARACTERISTICS_BT2020_10="bt2020",Z1.COLOR_TRANSFER_CHARACTERISTICS_SMPTEST2084="smpte2084",Z1.COLOR_TRANSFER_CHARACTERISTICS_ARIB_STD_B67="arib-std-b67",Z1),$1={},hA=($1.FAIRPLAY="fairplay",$1.PLAYREADY="playready",$1.WIDEVINE="widevine",$1),a2={},Yha=(a2.MDE_STREAM_OPTIMIZATIONS_RENDERER_LATENCY_UNKNOWN= "UNKNOWN",a2.MDE_STREAM_OPTIMIZATIONS_RENDERER_LATENCY_NORMAL="NORMAL",a2.MDE_STREAM_OPTIMIZATIONS_RENDERER_LATENCY_LOW="LOW",a2.MDE_STREAM_OPTIMIZATIONS_RENDERER_LATENCY_ULTRA_LOW="ULTRALOW",a2),b2={},Qha=(b2.UNKNOWN=0,b2.RECTANGULAR=1,b2.EQUIRECTANGULAR=2,b2.EQUIRECTANGULAR_THREED_TOP_BOTTOM=3,b2.MESH=4,b2),c2={},Sha=(c2.SPATIAL_AUDIO_TYPE_NONE=0,c2.SPATIAL_AUDIO_TYPE_AMBISONICS_5_1=1,c2.SPATIAL_AUDIO_TYPE_AMBISONICS_QUAD=2,c2.SPATIAL_AUDIO_TYPE_FOA_WITH_NON_DIEGETIC=3,c2),d2={},Rha=(d2.STEREO_LAYOUT_UNKNOWN= 0,d2.STEREO_LAYOUT_LEFT_RIGHT=1,d2.STEREO_LAYOUT_TOP_BOTTOM=2,d2),e2={},Pha=(e2.FORMAT_STREAM_TYPE_UNKNOWN=0,e2.FORMAT_STREAM_TYPE_OTF=3,e2);var f2;var Ita=g.Pc,Jta=Ita.match(/\((iPad|iPhone|iPod)( Simulator)?;/);if(!Jta||2>Jta.length)f2=void 0;else{var g2=Ita.match(/\((iPad|iPhone|iPod)( Simulator)?; (U; )?CPU (iPhone )?OS (\d+_\d)[_ ]/);f2=g2&&6==g2.length?Number(g2[5].replace("_",".")):0}var $B=f2,LQ=0<=$B;LQ&&0<=g.Pc.search("Safari")&&g.Pc.search("Version");g.r(kA,vs);g.r(lA,vs);var aia=new ws("aft-recorded",kA),VA=new ws("timing-sent",lA);var h2=window,RA=h2.performance||h2.mozPerformance||h2.msPerformance||h2.webkitPerformance||new $ha;var uA=!1,bia=(0,g.x)(RA.clearResourceTimings||RA.webkitClearResourceTimings||RA.mozClearResourceTimings||RA.msClearResourceTimings||RA.oClearResourceTimings||g.Ja,RA);var BA=g.v.ytLoggingLatencyUsageStats_||{};g.Ga("ytLoggingLatencyUsageStats_",BA,void 0);zA.prototype.tick=function(a,b,c){CA(this,"tick_"+a+"_"+b)||g.er("latencyActionTicked",{tickName:a,clientActionNonce:b},{timestamp:c})}; zA.prototype.info=function(a,b){var c=Object.keys(a).join("");CA(this,"info_"+c+"_"+b)||(c=Object.assign({},a),c.clientActionNonce=b,g.er("latencyActionInfo",c))}; zA.prototype.span=function(a,b){var c=Object.keys(a).join("");CA(this,"span_"+c+"_"+b)||(a.clientActionNonce=b,g.er("latencyActionSpan",a))};var i2={},IA=(i2.ad_to_ad="LATENCY_ACTION_AD_TO_AD",i2.ad_to_video="LATENCY_ACTION_AD_TO_VIDEO",i2.app_startup="LATENCY_ACTION_APP_STARTUP",i2["artist.analytics"]="LATENCY_ACTION_CREATOR_ARTIST_ANALYTICS",i2["artist.events"]="LATENCY_ACTION_CREATOR_ARTIST_CONCERTS",i2["artist.presskit"]="LATENCY_ACTION_CREATOR_ARTIST_PROFILE",i2.browse="LATENCY_ACTION_BROWSE",i2.channels="LATENCY_ACTION_CHANNELS",i2.creator_channel_dashboard="LATENCY_ACTION_CREATOR_CHANNEL_DASHBOARD",i2["channel.analytics"]="LATENCY_ACTION_CREATOR_CHANNEL_ANALYTICS", i2["channel.comments"]="LATENCY_ACTION_CREATOR_CHANNEL_COMMENTS",i2["channel.content"]="LATENCY_ACTION_CREATOR_POST_LIST",i2["channel.copyright"]="LATENCY_ACTION_CREATOR_CHANNEL_COPYRIGHT",i2["channel.editing"]="LATENCY_ACTION_CREATOR_CHANNEL_EDITING",i2["channel.monetization"]="LATENCY_ACTION_CREATOR_CHANNEL_MONETIZATION",i2["channel.music"]="LATENCY_ACTION_CREATOR_CHANNEL_MUSIC",i2["channel.translations"]="LATENCY_ACTION_CREATOR_CHANNEL_TRANSLATIONS",i2["channel.videos"]="LATENCY_ACTION_CREATOR_CHANNEL_VIDEOS", i2["channel.live_streaming"]="LATENCY_ACTION_CREATOR_LIVE_STREAMING",i2.chips="LATENCY_ACTION_CHIPS",i2["dialog.copyright_strikes"]="LATENCY_ACTION_CREATOR_DIALOG_COPYRIGHT_STRIKES",i2["dialog.uploads"]="LATENCY_ACTION_CREATOR_DIALOG_UPLOADS",i2.embed="LATENCY_ACTION_EMBED",i2.home="LATENCY_ACTION_HOME",i2.library="LATENCY_ACTION_LIBRARY",i2.live="LATENCY_ACTION_LIVE",i2.onboarding="LATENCY_ACTION_KIDS_ONBOARDING",i2.parent_profile_settings="LATENCY_ACTION_KIDS_PARENT_PROFILE_SETTINGS",i2.parent_tools_collection= "LATENCY_ACTION_PARENT_TOOLS_COLLECTION",i2.parent_tools_dashboard="LATENCY_ACTION_PARENT_TOOLS_DASHBOARD",i2["post.comments"]="LATENCY_ACTION_CREATOR_POST_COMMENTS",i2["post.edit"]="LATENCY_ACTION_CREATOR_POST_EDIT",i2.prebuffer="LATENCY_ACTION_PREBUFFER",i2.prefetch="LATENCY_ACTION_PREFETCH",i2.profile_settings="LATENCY_ACTION_KIDS_PROFILE_SETTINGS",i2.profile_switcher="LATENCY_ACTION_KIDS_PROFILE_SWITCHER",i2.results="LATENCY_ACTION_RESULTS",i2.search_ui="LATENCY_ACTION_SEARCH_UI",i2.search_zero_state= "LATENCY_ACTION_SEARCH_ZERO_STATE",i2.secret_code="LATENCY_ACTION_KIDS_SECRET_CODE",i2.settings="LATENCY_ACTION_SETTINGS",i2.tenx="LATENCY_ACTION_TENX",i2.video_to_ad="LATENCY_ACTION_VIDEO_TO_AD",i2.watch="LATENCY_ACTION_WATCH",i2.watch_it_again="LATENCY_ACTION_KIDS_WATCH_IT_AGAIN",i2["watch,watch7"]="LATENCY_ACTION_WATCH",i2["watch,watch7_html5"]="LATENCY_ACTION_WATCH",i2["watch,watch7ad"]="LATENCY_ACTION_WATCH",i2["watch,watch7ad_html5"]="LATENCY_ACTION_WATCH",i2.wn_comments="LATENCY_ACTION_LOAD_COMMENTS", i2.ww_rqs="LATENCY_ACTION_WHO_IS_WATCHING",i2["video.analytics"]="LATENCY_ACTION_CREATOR_VIDEO_ANALYTICS",i2["video.comments"]="LATENCY_ACTION_CREATOR_VIDEO_COMMENTS",i2["video.edit"]="LATENCY_ACTION_CREATOR_VIDEO_EDIT",i2["video.translations"]="LATENCY_ACTION_CREATOR_VIDEO_TRANSLATIONS",i2["video.video_editor"]="LATENCY_ACTION_CREATOR_VIDEO_VIDEO_EDITOR",i2["video.video_editor_async"]="LATENCY_ACTION_CREATOR_VIDEO_VIDEO_EDITOR_ASYNC",i2["video.monetization"]="LATENCY_ACTION_CREATOR_VIDEO_MONETIZATION", i2.voice_assistant="LATENCY_ACTION_VOICE_ASSISTANT",i2.cast_load_by_entity_to_watch="LATENCY_ACTION_CAST_LOAD_BY_ENTITY_TO_WATCH",i2),j2={},NA=(j2.ad_allowed="adTypesAllowed",j2.yt_abt="adBreakType",j2.ad_cpn="adClientPlaybackNonce",j2.ad_docid="adVideoId",j2.yt_ad_an="adNetworks",j2.ad_at="adType",j2.browse_id="browseId",j2.p="httpProtocol",j2.t="transportProtocol",j2.cpn="clientPlaybackNonce",j2.ccs="creatorInfo.creatorCanaryState",j2.cseg="creatorInfo.creatorSegment",j2.csn="clientScreenNonce", j2.docid="videoId",j2.GetHome_rid="requestIds",j2.GetSearch_rid="requestIds",j2.GetPlayer_rid="requestIds",j2.GetWatchNext_rid="requestIds",j2.GetBrowse_rid="requestIds",j2.GetLibrary_rid="requestIds",j2.is_continuation="isContinuation",j2.is_nav="isNavigation",j2.b_p="kabukiInfo.browseParams",j2.is_prefetch="kabukiInfo.isPrefetch",j2.is_secondary_nav="kabukiInfo.isSecondaryNav",j2.prev_browse_id="kabukiInfo.prevBrowseId",j2.query_source="kabukiInfo.querySource",j2.voz_type="kabukiInfo.vozType",j2.yt_lt= "loadType",j2.mver="creatorInfo.measurementVersion",j2.yt_ad="isMonetized",j2.nr="webInfo.navigationReason",j2.nrsu="navigationRequestedSameUrl",j2.ncnp="webInfo.nonPreloadedNodeCount",j2.pnt="performanceNavigationTiming",j2.prt="playbackRequiresTap",j2.plt="playerInfo.playbackType",j2.pis="playerInfo.playerInitializedState",j2.paused="playerInfo.isPausedOnLoad",j2.yt_pt="playerType",j2.fmt="playerInfo.itag",j2.yt_pl="watchInfo.isPlaylist",j2.yt_pre="playerInfo.preloadType",j2.yt_ad_pr="prerollAllowed", j2.pa="previousAction",j2.yt_red="isRedSubscriber",j2.rce="mwebInfo.responseContentEncoding",j2.scrh="screenHeight",j2.scrw="screenWidth",j2.st="serverTimeMs",j2.ssdm="shellStartupDurationMs",j2.aq="tvInfo.appQuality",j2.br_trs="tvInfo.bedrockTriggerState",j2.kebqat="kabukiInfo.earlyBrowseRequestInfo.abandonmentType",j2.kebqa="kabukiInfo.earlyBrowseRequestInfo.adopted",j2.label="tvInfo.label",j2.is_mdx="tvInfo.isMdx",j2.preloaded="tvInfo.isPreloaded",j2.upg_player_vis="playerInfo.visibilityState", j2.query="unpluggedInfo.query",j2.upg_chip_ids_string="unpluggedInfo.upgChipIdsString",j2.yt_vst="videoStreamType",j2.vph="viewportHeight",j2.vpw="viewportWidth",j2.yt_vis="isVisible",j2.rcl="mwebInfo.responseContentLength",j2.GetSettings_rid="requestIds",j2.GetTrending_rid="requestIds",j2.GetMusicSearchSuggestions_rid="requestIds",j2.REQUEST_ID="requestIds",j2),cia="isContinuation isNavigation kabukiInfo.earlyBrowseRequestInfo.adopted kabukiInfo.isPrefetch kabukiInfo.isSecondaryNav isMonetized navigationRequestedSameUrl performanceNavigationTiming playerInfo.isPausedOnLoad prerollAllowed isRedSubscriber tvInfo.isMdx tvInfo.isPreloaded isVisible watchInfo.isPlaylist playbackRequiresTap".split(" "), k2={},OA=(k2.ccs="CANARY_STATE_",k2.mver="MEASUREMENT_VERSION_",k2.pis="PLAYER_INITIALIZED_STATE_",k2.yt_pt="LATENCY_PLAYER_",k2.pa="LATENCY_ACTION_",k2.yt_vst="VIDEO_STREAM_TYPE_",k2),dia="all_vc ap c cver cbrand cmodel cplatform ctheme ei l_an l_mm plid srt yt_fss yt_li vpst vpni2 vpil2 icrc icrt pa GetAccountOverview_rid GetHistory_rid cmt d_vpct d_vpnfi d_vpni nsru pc pfa pfeh pftr pnc prerender psc rc start tcrt tcrc ssr vpr vps yt_abt yt_fn yt_fs yt_pft yt_pre yt_pt yt_pvis ytu_pvis yt_ref yt_sts tds".split(" ");if(g.Bo("overwrite_polyfill_on_logging_lib_loaded")){var l2=window;l2.ytcsi&&(l2.ytcsi.info=LA,l2.ytcsi.tick=MA)};g.r(WA,g.O);WA.prototype.Yi=function(a,b){for(var c=XA(this,b);0<=c;){var d=this.levels[c];if(d.Nb(Math.floor(a/(d.columns*d.rows)))&&(d=d.Yi(a)))return d;c--}return this.levels[0].Yi(a)}; WA.prototype.M=function(a,b){null!==this.o&&(this.o=this.o.onload=null);var c=this.levels[a];c.loaded.add(b);YA(this);var d=c.columns*c.rows;var e=b*d;c=Math.min(e+d-1,c.Ps()-1);e=[e,c];this.S("l",e[0],e[1])}; WA.prototype.Y=function(){this.o&&(this.o=this.o.onload=null);g.O.prototype.Y.call(this)};g.h=g.$A.prototype;g.h.xd=function(){return this.width}; g.h.getHeight=function(){return this.height}; g.h.uy=ca(2);g.h.Ps=function(){return this.A}; g.h.isDefault=function(){return-1!==this.B.indexOf("default")}; g.h.Nb=function(a){return this.loaded.has(a)}; g.h.Ac=function(a){var b=this.C;b=b.replace("$N",this.B);b=b.replace("$L",this.level.toString());b=b.replace("$M",a.toString());this.signature&&(b=g.Ed(b,{sigh:this.signature}));return Yw(b)}; g.h.Yi=function(a){a>=this.ku()&&this.Jm();var b=Math.floor(a/(this.columns*this.rows)),c=this.columns*this.rows,d=a%c;a=d%this.columns;d=Math.floor(d/this.columns);var e=this.Jm()+1-c*b;if(ek.getHeight())&&c.push(k)}return c}; aB.prototype.C=function(a,b,c,d){return new g.$A(a,b,c,d)};g.r(cB,g.$A);g.h=cB.prototype;g.h.Ps=function(){return this.u.nk()}; g.h.Pp=function(a){var b=this.rows*this.columns*this.F,c=this.u,d=c.qb();a=c.tf(a);return a>d-b?-1:a}; g.h.Jm=function(){return this.u.qb()}; g.h.ku=function(){return this.u.sf()}; g.h.gA=function(a){this.u=a};g.r(dB,aB);dB.prototype.u=function(a,b){return aB.prototype.u.call(this,"$N|"+a,b)}; dB.prototype.C=function(a,b,c){return new cB(a,b,c,this.isLive)};g.r(g.fB,g.O);g.h=g.fB.prototype;g.h.Td=function(a,b){b?(Jy(a),eB(this,a),KB(this)&&BB(this)):(a=a||{},iB(this,a),hB(this,a),this.S("dataupdated"))}; g.h.O=function(){return this.Va}; g.h.ia=function(a){return g.P(this.Va.experiments,a)}; g.h.jd=function(){return!this.ya||this.allowLiveDvr}; g.h.So=function(){return!!(this.Ba&&this.Ba.videoInfos&&this.Ba.videoInfos.length)}; g.h.YG=function(a){for(var b=g.p(a),c=b.next();!c.done;c=b.next())switch(c=c.value,c.flavor){case "fairplay":c.nf=this.nf;c.vo=this.vo;c.uo=this.uo;break;case "widevine":c.An=this.An}this.ll=a;0=this.Ba.videoInfos.length)&&(a=pt(this.Ba.videoInfos[0]),a!=("fairplay"==this.kc.flavor)))for(b=g.p(this.ll),c=b.next();!c.done;c=b.next())if(c=c.value,a==("fairplay"==c.flavor)){this.kc=c;break}}; g.h.Dv=function(a){this.kh=a;this.Ev(new Jz((0,g.Jc)(this.kh,function(b){return b.de()})))}; g.h.ud=function(){var a={};this.Fa&&(a.fmt=kt(this.Fa),this.qc&&kt(this.qc)!=kt(this.Fa)&&(a.afmt=kt(this.qc)));a.ei=this.eventId;a.list=this.playlistId;a.cpn=this.clientPlaybackNonce;this.videoId&&(a.v=this.videoId);this.Li&&(a.infringe=1);this.dh&&(a.splay=1);var b=HB(this);b&&(a.live=b);this.ni&&(a.autoplay=1);this.yq&&(a.sdetail=this.yq);this.We&&(a.partnerid=this.We);this.osid&&(a.osid=this.osid);this.Hi&&(a.als=this.Hi);return a}; g.h.ze=function(){var a=g.pz(this.Va)||this.ia("web_l3_storyboard");if(!this.Bl)if(this.Ha&&this.Ha.storyboards){var b=this.Ha.storyboards,c=b.playerStoryboardSpecRenderer;c&&c.spec?this.Bl=new aB(c.spec,this.lengthSeconds,void 0,!1,a):(b=b.playerLiveStoryboardSpecRenderer)&&b.spec&&this.ka&&(c=Hb(this.ka.o).index)&&(this.Bl=new dB(b.spec,this.ka.isLive,c,a))}else this.Nq?this.Bl=new aB(this.Nq,this.lengthSeconds,void 0,!1,a):this.mp&&this.ka&&(b=Hb(this.ka.o).index)&&(this.Bl=new dB(this.mp,this.ka.isLive, b,a));return this.Bl}; g.h.getStoryboardFormat=function(){if(this.Ha&&this.Ha.storyboards){var a=this.Ha.storyboards;return(a=a.playerStoryboardSpecRenderer||a.playerLiveStoryboardSpecRenderer)&&a.spec||null}return this.Nq||this.mp}; g.h.zc=function(){return this.ka&&!isNaN(this.ka.zc())?this.ka.zc():wB(this)?0:this.lengthSeconds}; g.h.Ib=function(){return this.ka&&!isNaN(this.ka.Ib())?this.ka.Ib():0}; g.h.getPlaylistSequenceForTime=function(a){if(this.ka&&this.Fa){var b=this.ka.o[this.Fa.id];if(!b)return null;var c=b.index.tf(a);b=b.index.Cd(c);return{sequence:c,elapsed:Math.floor(1E3*(a-b))}}return null}; g.h.isValid=function(){return!this.ha()&&!(!this.videoId&&!this.tl)}; g.h.Nb=function(){return KB(this)&&!this.Ki&&!this.zm}; g.h.Ec=function(a){if(30==this.We)return(a=this.Of["default.jpg"])?a:this.videoId?g.Ed("//docs.google.com/vt",{id:this.videoId,authuser:this.dd,authkey:this.authKey}):"//docs.google.com/images/doclist/cleardot.gif";a||(a="hqdefault.jpg");var b=this.Of[a];return b||this.Va.L||"pop1.jpg"==a||"pop2.jpg"==a||"sddefault.jpg"==a||"hq720.jpg"==a||"maxresdefault.jpg"==a?b:kz(this.Va,this.videoId,a)}; g.h.mg=function(){return this.ya||this.Re||this.ym||!(!this.liveUtcStartSeconds||!this.Fk)}; g.h.isOtf=function(){return!!this.ka&&(this.ka.isOtf||!this.Re&&!this.ya&&this.ka.B)}; g.h.getAvailableAudioTracks=function(){return this.Ba?0=c.kh.length)c=!1;else{for(var d=g.p(c.kh),e=d.next();!e.done;e=d.next()){e=e.value;if(!(e instanceof Sz)){c=!1;break a}var f=a.zb.getId();e.u&&(e.u.o=f,e.o=null)}c.hn=a;c=!0}}c&&(b.S("internalaudioformatchange",b.V,!0),gK(b)&&b.Xa("hlsaudio", a.id))}}; g.h.zF=function(){return this.getAvailableAudioTracks()}; g.h.getAvailableAudioTracks=function(){return g.V(this.app,this.playerType).getAvailableAudioTracks()}; g.h.getMaxPlaybackQuality=function(){var a=g.V(this.app,this.playerType);return a&&a.getVideoData().Fa?Su(a.R?UG(a.U,a.R,CK(a)):Qu):"unknown"}; g.h.getUserPlaybackQualityPreference=function(){var a=g.V(this.app,this.playerType);return a?a.getUserPlaybackQualityPreference():"auto"}; g.h.getSubtitlesUserSettings=function(){var a=g.cM(this.app.B);return a?a.YF():null}; g.h.resetSubtitlesUserSettings=function(){g.cM(this.app.B).zO()}; g.h.setMinimized=function(a){this.app.setMinimized(a)}; g.h.setGlobalCrop=function(a){this.app.M.setGlobalCrop(a)}; g.h.getVisibilityState=function(){var a=this.app.O();a=this.app.H.o&&!g.P(a.experiments,"kevlar_miniplayer_disable_vis");return this.app.getVisibilityState(this.qj(),this.isFullscreen()||Uy(this.app.O()),a,this.isInline(),this.app.H.C,this.app.H.B)}; g.h.isMutedByMutedAutoplay=function(){return this.app.Ra}; g.h.isInline=function(){return this.app.isInline()}; g.h.setInternalSize=function(a,b){this.app.M.setInternalSize(new g.$d(a,b))}; g.h.Gb=function(){var a=g.V(this.app,void 0);return a?a.Gb():0}; g.h.qj=function(){var a=g.V(this.app,this.playerType);return!!a&&a.L.u}; g.h.isFullscreen=function(){return this.app.isFullscreen()}; g.h.setSafetyMode=function(a){this.app.O().enableSafetyMode=a}; g.h.canPlayType=function(a){return this.app.canPlayType(a)}; g.h.updatePlaylist=function(a){if(a){var b=this.getPlaylistId(),c=!1;if(b&&b!=a.list)if(this.ia("player_enable_playback_playlist_change"))c=!0;else return;void 0!==a.external_list&&this.app.setIsExternalPlaylist(a.external_list);var d=a.video;(b=this.app.getPlaylist())&&!c?this.isFullscreen()&&((c=d[b.index])&&c.encrypted_id!=b.Da().videoId||(a.index=b.index)):xT(this.app,{list:a.list,index:a.index,playlist_length:d.length});xC(this.app.getPlaylist(),a);this.sa("onPlaylistUpdate")}else this.app.updatePlaylist()}; g.h.updateVideoData=function(a,b){var c=g.V(this.app,this.playerType||1);c&&c.getVideoData().Td(a,b)}; g.h.updateEnvironmentData=function(a){this.app.O().Td(a,!1)}; g.h.sendVideoStatsEngageEvent=function(a){this.app.sendVideoStatsEngageEvent(a,this.playerType)}; g.h.setCardsVisible=function(a,b,c){var d=g.BL(this.app.B);d&&d.Fm()&&d.setCardsVisible(a,b,c)}; g.h.setInline=function(a){this.app.setInline(a)}; g.h.isAtLiveHead=function(a,b){return this.app.isAtLiveHead(a,void 0===b?!0:b)}; g.h.getVideoAspectRatio=function(){return this.app.M.getVideoAspectRatio()}; g.h.getPreferredQuality=function(){var a=g.V(this.app);return a?a.getPreferredQuality():"unknown"}; g.h.setPlaybackQualityRange=function(a,b){var c=g.V(this.app,this.playerType);if(c){var d=Ou(a,b||a,!0,"m");c.V.ar=d;if(c.R){var e=c.U,f=c.R;if(f.Ba.o){var k=g.et[ky()];f=f.Ba.videoInfos[0].Da().xc;k>f&&0!=f&&d.o==f||(g.Qs("yt-player-quality",Su(d),2592E3),XG(e,"html5_perf_cap_override_sticky")&&(g.Ss("yt-player-performance-cap"),e.o.Id=Qu))}}HK(c)}}; g.h.onAdUxClicked=function(a){this.S("aduxclicked",a)}; g.h.S=function(a,b){for(var c=1;c=this.start&&(a$B?.1:0,pla=new zC;zC.prototype.o=null;zC.prototype.getDuration=function(){return this.duration||0}; zC.prototype.getCurrentTime=function(){return this.currentTime||0}; zC.prototype.u=function(){this.hasAttribute("controls")&&this.setAttribute("controls","true")};g.r(g.AC,g.z);g.h=g.AC.prototype;g.h.Cq=function(){}; g.h.Lj=ca(5);g.h.Lp=function(){return this.A}; g.h.Nk=function(a){var b="";a&&(CC(this,a),b=a.o);this.wd()&&""==b||(b&&this.wd()!=b&&this.Iq(b),ZS||a&&a.u||this.load(),this.G||(this.addEventListener("volumechange",this.Bx),this.G=!0))}; g.h.Kp=function(){var a=this.xa();a=window.MediaSource?new window.MediaSource:window.WebKitMediaSource?new window.WebKitMediaSource:new Tt(a);a=new ju(a);this.Nk(a.Dm);return a}; g.h.playVideo=function(){this.gg()&&this.seekTo(0);!this.wd()&&this.A&&(g.M(Error("playVideo without src")),this.Iq(this.A.o),this.A.u||this.load());var a=this.play();!a&&aT&&LQ&&7<=$B&&g.rp(this,"playing",(0,g.x)(function(){g.Lo((0,g.x)(this.fy,this,this.getCurrentTime(),0),500)},this)); return a}; g.h.fy=function(a,b){this.ki()||this.getCurrentTime()>a||10$B&&(a=Math.max(.1,a)),this.Hq(a))}; g.h.stopVideo=function(){this.wd()&&($S&&rl&&0this.status&&!!this.u}; g.h.vf=function(){if(this.M)return!!this.o.getLength();var a=this.policy.u;if(a&&this.H+a>Date.now())return!1;a=this.gm()||0;a=Math.max(16384,.125*a);this.L||(a=Math.max(a,16384));this.policy.Hd&&wx(this)&&(a=1);return this.o.getLength()>=a}; g.h.Hp=function(){this.vf();this.H=Date.now();this.L=!0;var a=this.o;this.o=new lw;return a}; g.h.Wt=function(){this.vf();return this.o}; g.h.ha=function(){return this.aborted}; g.h.abort=function(){this.A&&this.A.cancel("Cancelling");this.B&&this.B.abort();this.aborted=!0}; g.h.Rq=function(){return!0}; g.h.gv=function(){return this.F}; g.h.Mk=function(){return this.errorMessage};g.h=yD.prototype;g.h.tk=function(){return 2<=this.xhr.readyState}; g.h.Qc=function(a){try{return this.xhr.getResponseHeader(a)}catch(b){return g.M(b),""}}; g.h.gm=function(){return+this.Qc("content-length")}; g.h.Gp=function(){return this.o}; g.h.Ro=function(){return 200<=this.status&&300>this.status&&!!this.response&&!!this.response.byteLength}; g.h.vf=function(){return this.u&&!!this.response&&!!this.response.byteLength}; g.h.Hp=function(){this.vf();var a=this.response;this.response=void 0;return new lw([new Uint8Array(a)])}; g.h.Wt=function(){this.vf();return new lw([new Uint8Array(this.response)])}; g.h.abort=function(){this.ha=!0;this.xhr.abort()}; g.h.Rq=function(){return!1}; g.h.gv=function(){return!1}; g.h.Mk=function(){return""};g.h=zD.prototype;g.h.Ac=function(){return this.B?this.B.Ac():""}; g.h.start=function(a){HD(this,2);this.M=++zD.o;this.A?(this.T=uga(this.info,this.A.u,this.A.length),this.B=g.rx(this.info,this.u,this.ga,this.T)):(this.T=this.info.range,this.B=g.rx(this.info,this.u,this.ga));var b=!1;if(this.u.Ma&&2>this.info.u.u&&this.L){var c=this.B.get("aitags");if(c&&(qx(this.info)||this.info.ue())&&this.ea&&"auto"===ky()&&oy()){var d=id(c).split(","),e=[];(0,g.y)(this.ea,function(f){g.cb(d,f)&&e.push(f)}); 0d.o&&4E12>a?a:(0,g.C)();pD(d,a,b);50>a-d.B&&qD(d)&&3!==jD(d)||nD(d,a,b,c);b=this.timing;b.u>b.ua&&kD(b,b.u)&&4>this.state?HD(this,4):MD(this)&&OD(this)&&HD(this,Math.max(3,this.state))}}; g.h.SN=function(){if(!this.ha()&&this.o){if(!this.U&&this.o.tk()&&this.o.Qc("X-Walltime-Ms")){var a=parseInt(this.o.Qc("X-Walltime-Ms"),10);this.U=((0,g.C)()-a)/1E3}this.o.tk()&&this.o.Qc("X-Restrict-Formats-Hint")&&this.u.zw&&!oy()&&g.Qs("yt-player-headers-readable",!0,2592E3);a=parseInt(this.o.Qc("X-Head-Seqnum"),10);var b=parseInt(this.o.Qc("X-Head-Time-Millis"),10);this.Z=a||this.Z;this.aa=b||this.aa}}; g.h.SI=function(){var a=this.o;!this.ha()&&a&&(this.ba.stop(),this.F=a.status,a=Pia(this,a),7==a?ID(this):HD(this,a))}; g.h.vO=function(){if(!this.ha()){var a=(0,g.C)(),b=!1;qD(this.timing)?(a=this.timing.M,tD(this.timing),this.timing.M-a>=.8*this.u.L?(this.G++,b=5<=this.G):this.G=0):(b=this.timing,b.ng&&sD(b,(0,g.C)()),a-=b.L,this.u.rd&&01E3*this.u.Xc);this.G&&this.H&&this.H(this);b?LD(this,!1):this.ba.start()}}; g.h.ha=function(){return-1==this.state}; g.h.dispose=function(){this.info.ue()&&6!=this.state&&(this.info.o[0].o.C=!1);HD(this,-1);this.H=null;this.ba.dispose();this.u.Bc||KD(this)}; zD.DEBUG=!1;zD.o=0;var GD=-1;SD.prototype.skip=function(a){this.offset+=a};g.r(VD,g.O);VD.prototype.getDuration=function(){return this.A.index.Jh()};nE.prototype.getDuration=function(){return this.o.index.Jh()};OE.prototype.setPlaybackRate=function(a){this.A=Math.max(1,a)}; OE.prototype.getPlaybackRate=function(){return this.A};g.r(TE,g.O);TE.prototype.seek=function(a){a!=this.B&&(this.F=0);this.B=a;var b=this.u.u,c=this.o.u,d=this.o.G,e=VE(this.u,a,this.u.G);d=VE(this.o,this.M.ea?a:e,d);a=Math.max(a,e,d);this.A=!0;this.C.u&&(UE(this.u,b),UE(this.o,c));return a}; var Wia=2/24;ZE.prototype.Da=function(){this.Gd("gv")}; ZE.prototype.Gd=function(a,b){this.C[a]=b?window.performance.timing.navigationStart+b:(0,g.N)()};g.r($E,g.O);$E.prototype.H=function(a,b){var c=this.F.o.index.qb()<=b,d=this.G.u&&this.C.Ra;this.o={Ld:a,Qa:b};this.C.Ra&&this.B&&this.u&&(this.B=!1,"continue"!=a.event&&"stop"!=a.event||aF(this,this.u));this.u&&this.u.Qa==b&&(this.u=null);if(c||d)this.C.Bb&&(a.startSecs+=isNaN(this.A)?0:this.A),c=this.G,c.U.push(a),c.S("cuepointsadded")};kF.prototype.send=function(){g.wq(this.o,{format:"RAW",responseType:"arraybuffer",timeout:1E4,Dd:this.u,Ge:this.u,context:this});this.A=(0,g.N)()}; kF.prototype.u=function(a){var b={rc:a.status,lb:a.response?a.response.byteLength:0,rt:(((0,g.N)()-this.A)/1E3).toFixed(3),shost:g.ud(this.o),trigger:this.F};204==a.status||a.response?this.B&&this.B(eu(b)):this.C(new du("pathprobe.net",!1,b))};g.r(lF,g.O);g.r(vF,g.z);vF.prototype.reset=function(){this.started=!1;this.C.stop();this.o.o=[];this.A=[];this.u()}; vF.prototype.u=function(){this.F=!0;if(!this.G){for(var a=3;this.F&&a;)this.F=!1,this.G=!0,pja(this),this.G=!1,a--;this.H().nb()&&(a=tF(this.o,this.B),!isNaN(a)&&0x7ffffffffffff>a&&(a=(a-this.B)/this.T(),this.C.start(a)))}}; vF.prototype.Y=function(){this.A=[];this.o.o=[];g.z.prototype.Y.call(this)};g.r(EF,g.O);g.h=EF.prototype; g.h.initialize=function(a,b,c){a=a||0;this.S("videoformatchange",eja(this.G));if(this.C.u){if(this.o.gp){b=xx(this.o);for(var d in this.C.o)this.C.o[d].index.G=b}uja(this)}this.H&&mF(this.H,this.u.o);this.o.ga&&vx()&&this.Rc("streaming","ac."+!!window.AbortController,!0);d=isNaN(this.F)?0:this.F;this.F=this.C.u?d:a;c?(this.o.od?(this.ob=c,GF(this,c)):GF(this,!1),this.Ga.Za()):(a=0==this.F,bG(this,this.u,this.u.o,a),bG(this,this.B,this.B.o,a),Rf(this.seek(this.F),function(){}),this.fa.Da()); (this.C.Pc||this.C.Be)&&this.Rc("minMaxSq","minSq."+this.C.Pc+";maxSq"+this.C.Be)}; g.h.resume=function(){if(this.ba||this.ea)this.za=this.ea=this.ba=!1,this.qg()}; g.h.setAudioTrack=function(a){if(!this.ha()){var b=this.G;b.A=b.F.o[a.id];b.L=b.A;this.S("audioformatchange",new $C(b.L,b.C,"m"));this.S("reattachrequired")}}; g.h.setPlaybackRate=function(a){a!=this.R.getPlaybackRate()&&this.R.setPlaybackRate(a)}; g.h.VM=function(a){if(3!=a.state||!this.o.Xb||!(!this.A||this.ba||DE(a.info.o[0].o.info.video?this.u:this.B,this.F)>this.o.Xb)){var b=this.o.rd;if(!(!(b&&2<=a.state)||5<=a.state||a.G(0,g.N)()||UF(this,a,!1)}}}}}; g.h.qg=function(){LF(this);if(this.A&&ku(this.A)&&!this.A.ge()){var a=pE(this.u);a=this.o.Pn&&a&&a.C;this.C.u&&this.C.G&&ey(this.C)?(this.L=ey(this.C),lu(this.A,this.L)):this.C.isLive&&!a?isNaN(this.L)?(this.L=this.F+3600,lu(this.A,this.L)):this.L<=this.F+1800&&(this.L=Math.max(this.L+1800,this.F+3600),lu(this.A,this.L)):this.A.isView()||(a=Math.max(this.B.getDuration(),this.u.getDuration()),(!isFinite(this.L)||this.L!=a)&&0=c||cthis.A&&(this.A=c,g.Pb(this.o)||(this.o={},this.B.stop(),this.u.stop())),this.o[b]=a,this.u.Za())}}; fG.prototype.C=function(){for(var a in this.o)this.S("rotated_need_key_info_ready",new QD(Gja(this.o[a],this.A,a),"fairplay",!0));this.o={}};var q2={},Mta=(q2.DRM_TRACK_TYPE_AUDIO="AUDIO",q2.DRM_TRACK_TYPE_SD="SD",q2.DRM_TRACK_TYPE_HD="HD",q2.DRM_TRACK_TYPE_UHD1="UHD1",q2);g.r(jG,g.z);jG.prototype.C=function(a){this.ha()||(0!=a.status&&a.response?(MA("drm_net_r"),a=new Uint8Array(a.response),(a=iG(a))?this.A(a):this.o(this,"drm.net","t.p")):this.B(a))}; jG.prototype.B=function(a){this.ha()||this.o(this,a.status?"drm.net.badstatus":"drm.net.connect","t.r;c."+a.status)}; jG.prototype.G=function(a){if(!this.ha()){MA("drm_net_r");var b="LICENSE_STATUS_OK"==a.status?0:9999,c=null;if(a.license)try{c=g.jg(a.license)}catch(n){}if(0!=b||c){c=new hG(b,c);0!=b&&a.reason&&(c.errorMessage=a.reason);if(a.authorizedFormats){b={};for(var d=[],e={},f=g.p(a.authorizedFormats),k=f.next();!k.done;k=f.next())if(k=k.value,k.trackType&&k.keyId){var l=Mta[k.trackType];if(l){"HD"==l&&a.isHd720&&(l="HD720");b[l]||(d.push(l),b[l]=!0);var m=null;try{m=g.jg(k.keyId)}catch(n){}m&&(e[g.wg(m, 4)]=l)}}c.o=d;c.u=e}a.nextFairplayKeyId&&(c.nextFairplayKeyId=a.nextFairplayKeyId);a=c}else a=null;a?this.A(a):this.o(this,"drm.net","t.p;p.i")}}; jG.prototype.F=function(a){this.ha()||(a=a.error,this.o(this,"drm.net.badstatus","t.r;p.i;c."+a.code+";s."+a.status))};g.r(kG,g.z);g.h=kG.prototype;g.h.YI=function(a){if(this.F){var b=a.messageType||"license-request";this.F.call(this.A,new Uint8Array(a.message),b)}}; g.h.ZI=function(){this.M&&this.M.call(this.A,this.o.keyStatuses)}; g.h.dB=function(a,b){g.M(b);if(this.B){var c=a;b instanceof DOMException&&(c+=";n."+b.name+";m."+b.message);this.B.call(this.A,c)}}; g.h.WK=function(){this.ha()||hl("xboxone")&&this.B&&this.B.call(this.A,"closed")}; g.h.MB=function(a){this.F&&this.F.call(this.A,a.message,"license-request")}; g.h.LB=function(a){if(this.B){if(this.u){var b=this.u.error.code;a=this.u.error.systemCode}else b=a.errorCode&&a.errorCode.code,a=a.systemCode;this.B.call(this.A,"t.prefixedKeyError;c."+b+";sc."+a)}}; g.h.KB=function(){this.H&&this.H.call(this.A)}; g.h.update=function(a){if(this.o)return this.o.update(a).then(null,Jo((0,g.x)(this.dB,this,"t.update")));this.u?this.u.update(a):this.G.addKey?this.G.addKey(this.R.o,a,this.L,this.sessionId):this.G.webkitAddKey(this.R.o,a,this.L,this.sessionId);return zr()}; g.h.Y=function(){this.o&&this.o.close();this.G=null;g.z.prototype.Y.call(this)};g.r(mG,g.z);g.h=mG.prototype;g.h.createSession=function(a,b){var c=a.initData;if(this.o.keySystemAccess){b&&b("createsession");var d=this.F.createSession();"com.youtube.fairplay"==this.o.o&&(c=oG(c,this.o.nf));b&&b("genreq");c=d.generateRequest(a.contentType,c);d=new kG(null,null,null,d,null);c.then(function(){b&&b("genreqsuccess")},Jo((0,g.x)(d.dB,d,"t.generateRequest"))); return d}if(Cz(this.o))return Lja(this,c);if(Fz(this.o))return Kja(this,c);this.u.generateKeyRequest?this.u.generateKeyRequest(this.o.o,c):this.u.webkitGenerateKeyRequest(this.o.o,c);return this.B=new kG(this.u,this.o,c,null,null)}; g.h.cJ=function(a){var b=pG(this,a);b&&b.MB(a)}; g.h.bJ=function(a){var b=pG(this,a);b&&b.LB(a)}; g.h.aJ=function(a){var b=pG(this,a);b&&b.KB(a)}; g.h.Y=function(){g.z.prototype.Y.call(this);delete this.u};var r2={},Qja=(r2.widevine="DRM_SYSTEM_WIDEVINE",r2.fairplay="DRM_SYSTEM_FAIRPLAY",r2.playready="DRM_SYSTEM_PLAYREADY",r2);g.r(rG,g.O);g.h=rG.prototype; g.h.WI=function(a,b){if(!this.ha())if(a){qG(this,"onkmtyp"+b);if(!g.P(this.A.experiments,"html5_provisioning_killswitch"))switch(b){case "license-request":case "license-renewal":case "license-release":break;case "individualization-request":Pja(this,a);return;default:this.S("ctmp","message_type","t."+b+";l."+a.byteLength)}this.L||(MA("drm_gk_f"),this.L=!0,this.S("newsession",this));if(Dz(this.u)){var c=tG(a);if(!c)return;a=c}Gz(this.u)&&!this.V.useInnertubeDrmService()&&(a=Bv(g.wg(a)));c=new jG(a, ++this.U,(0,g.x)(this.EL,this),(0,g.x)(this.DL,this));g.A(this,c);vG(this,c)}else sG(this,"drm.unavailable",!1,"km.empty")}; g.h.UI=function(){this.ha()||(qG(this,"onkyadd"),this.G||(this.S("sessionready"),this.G=!0))}; g.h.XI=function(a){var b=this;this.ha()||0>=a.size||(a.forEach(function(c,d){var e=Dz(b.u)?d:c,f=new Uint8Array(Dz(b.u)?c:d);Dz(b.u)&&yG(f);var k=g.wg(f,4);yG(f);f=g.wg(f,4);b.o[k]?b.o[k].status=e:b.o[f]?b.o[f].status=e:b.o[k]={type:"",status:e}}),qG(this,"onkeystatuschange"),this.S("keystatuseschange",this))}; g.h.VI=function(a){this.ha()||sG(this,"drm.keyerror",!0,a)}; g.h.EL=function(a){var b=this;if(!this.ha())if(qG(this,"onlcsrsp"),0!=a.statusCode)sG(this,"drm.auth",!0,"t.f;c."+a.statusCode,a.errorMessage||void 0);else{MA("drm_kr_s");if(g.P(this.A.experiments,"outertube_streaming_data_always_use_staging_license_service")&&a.heartbeatParams&&a.heartbeatParams.url){var c=this.u.A.match(/(.*)youtube.com/g);c&&(a.heartbeatParams.url=c[0]+a.heartbeatParams.url)}a.heartbeatParams&&this.S("newlicense",a.heartbeatParams);a.o&&(this.F=a.o,this.R=qj(this.F,function(d){return d.includes("HDR")})); a.u&&(this.o=Eb(a.u,function(d){return{type:d,status:"unknown"}})); Fz(this.u)&&!this.V.useInnertubeDrmService()&&(a.message=g.jg(Cv(a.message)));this.B&&(qG(this,"updtks"),this.B.update(a.message).then(function(){MA("drm_kr_f");if(!uG(b))if(qG(b,"ksApiUnsup"),Ez(b.u)){var d=wG(b.F);480=Math.abs(e.value.cryptoPeriodIndex-c)){c=!0;break a}c=!1}c=!c}c?c=0:(c=a.o,c=1E3*Math.max(0,Math.random()*((isNaN(c)?120:c)-30)));this.o.push({time:b+c,info:a});this.u.Za(c)};g.r(KG,g.O);g.h=KG.prototype;g.h.xa=function(){return this.L}; g.h.dJ=function(a){JG(this,"onecpt");NG(this,new Uint8Array(a.initData),a.initDataType)}; g.h.hM=function(a){JG(this,"onndky");NG(this,a.initData,a.contentType)}; g.h.PL=function(){var a=this;if(!this.ha())if(g.P(this.u.experiments,"html5_drm_set_server_cert")&&!g.dz(this.u)){var b=Jja(this.R);b?b.then(Jo(function(c){YB(a.V)&&a.S("ctmp","ssc",c)}),Jo(function(c){a.S("ctmp","ssce","n."+c.name+";m."+c.message)})).then(Jo(function(){return QG(a)})):QG(this)}else QG(this)}; g.h.DK=function(a){if(!this.ha()){g.M(a);var b="t.a";a instanceof DOMException&&(b+=";n."+a.name+";m."+a.message);this.S("licenseerror","drm.unavailable",!0,b,"HTML5_NO_AVAILABLE_FORMATS_FALLBACK")}}; g.h.ax=function(a){this.B.push(a);MG(this)}; g.h.GB=function(a){this.ha()||(JG(this,"onnelcswhb"),a&&!this.ra&&(this.ra=a,this.S("heartbeatparams",a)))}; g.h.IB=function(){this.ha()||(JG(this,"newlcssn"),this.B.shift(),this.T=!1,MG(this))}; g.h.WB=function(){if(Cz(this.o)&&(JG(this,"onsnrdy"),this.ma--,0==this.ma)){var a=this.C;a.u.msSetMediaKeys(a.A)}}; g.h.pA=function(a){this.ha()||(JG(this,"onksch"),PG(this,xG(a,this.ga)),this.S("keystatuseschange",a))}; g.h.wB=function(){this.ha()||this.ba||!Ez(this.o)||(JG(this,"onhdet"),this.U=EK,this.S("hdproberequired"),this.S("qualitychange"))}; g.h.hB=function(a,b){this.ha()||this.S("ctmp",a,b)}; g.h.sB=function(a,b){this.ha()||this.S("fairplay_next_need_key_info",a,b)}; g.h.qA=function(a,b,c,d){this.ha()||this.S("licenseerror",a,b,c,d)}; g.h.Y=function(){this.o.keySystemAccess&&this.L.setMediaKeys(null);this.L=null;this.B=[];for(var a=g.p(this.A.values),b=a.next();!b.done;b=a.next())b=b.value,b.unsubscribe("ctmp",this.hB,this),b.unsubscribe("hdentitled",this.wB,this),b.unsubscribe("keystatuseschange",this.pA,this),b.unsubscribe("licenseerror",this.qA,this),b.unsubscribe("newlicense",this.GB,this),b.unsubscribe("newsession",this.IB,this),b.unsubscribe("sessionready",this.WB,this),b.unsubscribe("fairplay_next_need_key_info",this.sB, this),b.dispose();a=this.A;a.keys=[];a.values=[];this.ea&&(this.ea.dispose(),this.ea=null);g.O.prototype.Y.call(this)}; g.h.Wa=function(){for(var a={systemInfo:this.o.Wa(),sessions:[]},b=g.p(this.A.values),c=b.next();!c.done;c=b.next())a.sessions.push(c.value.Wa());return a}; g.h.de=function(){return 0>=this.A.values.length?"no session":this.A.values[0].de()+(this.G?"/KR":"")};g.r(SG,g.O);SG.prototype.setPlaybackRate=function(a){this.H=a};bH.prototype.add=function(a){this.o=(this.o+1)%this.data.length;this.data[this.o]=a}; bH.prototype.forEach=function(a){for(var b=this.o+1;bthis.o,e=Aia(this.A);zH(this,this.ra,e,d,"qoe.slowseek",function(){},"timeout"); e=e&&isFinite(this.o)&&0this.L&&f,!f,"qoe.longrebuffer",e,"decoder_freeze"),this.M=d);this.L=c;d=UC(this.A);f=g.VC(this.A);c=d&&f&&Zt(b.Wd(),c+5);zH(this,this.ga,c,d&&!f,"qoe.longrebuffer",e,"new_elem_nnr");zH(this,this.U,d&&f,d&&!f,"qoe.longrebuffer",function(){},"timeout"); c=this.A.isSuspended();c=this.Z()&&!c;zH(this,this.R,c,!c,"qoe.start15s",function(){return a.F("releaseadsprerolllock")},"ads_preroll_timeout"); this.H.start()}}; uH.prototype.reset=function(){this.o=this.u=this.B=this.A=0;this.F=!1}; uH.prototype.Wa=function(){var a={},b=(0,g.N)();this.A&&(a.wsd=(b-this.A).toFixed());this.u&&(a.wtd=(b-this.u).toFixed());this.o&&(a.wssd=(b-this.o).toFixed());return a};g.r(EH,g.O);g.h=EH.prototype;g.h.Kf=function(a){var b=this;FH(this);this.V=a;this.L=this.u=null;this.G=this.ua=this.B=0;this.ea=!0;this.M.dispose();this.M=new wH(this.U,function(){return b.S},this.Ea,this.Ca); AH(this,"html5_workaround_delay_trigger")&&(xH(this.M,this.o),this.M.u=this.C)}; g.h.getCurrentTime=function(){return!isNaN(this.A)&&isFinite(this.A)?this.A:this.o&&OH(this)?this.o.getCurrentTime()+this.B:this.G||0}; g.h.isAtLiveHead=function(a){if(!this.u)return!1;void 0==a&&(a=this.getCurrentTime());return iH(this.u,a)}; g.h.seekTo=function(a,b){var c=void 0===b?{}:b,d=void 0===c.xD?!1:c.xD,e=void 0===c.yD?0:c.yD,f=void 0===c.qm?!1:c.qm;c=void 0===c.Rv?0:c.Rv;var k=a,l=!isFinite(k)||(this.u?iH(this.u,k):k>=this.zc())||!g.MB(this.V);l||this.S("ctmp","seeknotallowed",k+";"+this.zc());if(!l)return this.F&&(this.F=null,MH(this)),Jf(this.getCurrentTime());if(a==this.A&&this.T)return this.H;this.T&&FH(this);this.H||(this.H=new aD);a&&!isFinite(a)&&HH(this,!1);k=a;(LH(this)&&!(this.o&&0this.o)){WH(this);var a=g.UH(this.provider)-this.o,b="PLAYER_PLAYBACK_STATE_UNKNOWN",c=this.playerState.u;this.playerState.isError()?b=c&&"auth"===c.errorCode?"PLAYER_PLAYBACK_STATE_UNKNOWN":"PLAYER_PLAYBACK_STATE_ERROR":g.U(this.playerState,2)?b="PLAYER_PLAYBACK_STATE_ENDED":g.U(this.playerState,64)?b="PLAYER_PLAYBACK_STATE_UNSTARTED":g.U(this.playerState,16)||g.U(this.playerState,32)?b="PLAYER_PLAYBACK_STATE_SEEKING":g.U(this.playerState,1)&&g.U(this.playerState, 4)?b="PLAYER_PLAYBACK_STATE_PAUSED_BUFFERING":g.U(this.playerState,1)?b="PLAYER_PLAYBACK_STATE_BUFFERING":g.U(this.playerState,4)?b="PLAYER_PLAYBACK_STATE_PAUSED":g.U(this.playerState,8)&&(b="PLAYER_PLAYBACK_STATE_PLAYING");var d=HB(this.provider.videoData);c="LIVE_STREAM_MODE_UNKNOWN";"live"===d?c="LIVE_STREAM_MODE_LIVE":"dvr"===d&&(c="LIVE_STREAM_MODE_DVR");d=XH(this.provider);var e=0>this.u?a:this.u-this.o;a=this.provider.o.za+36E5<(0,g.N)();b={started:0<=this.u,stateAtSend:b,joinLatencySecs:e, playTimeSecs:this.playTimeSecs,rebufferTimeSecs:this.rebufferTimeSecs,seekCount:this.seekCount,networkErrorCount:this.networkErrorCount,nonNetworkErrorCount:this.nonNetworkErrorCount,playerCanaryType:d,isAd:this.provider.videoData.isAd(),liveMode:c,hasDrm:!!g.EB(this.provider.videoData),isGapless:this.provider.videoData.kg};!a&&this.provider.ia("html5_health_to_gel")&&g.er("html5PlayerHealthEvent",b);this.provider.ia("html5_health_to_qoe")&&(b.muted=a,this.F(eu(b)));this.B=!0;this.dispose()}}; TH.prototype.Y=function(){this.B||this.send();g.z.prototype.Y.call(this)}; var Qta=/\bnet\b/;g.gI=Bb(function(){var a="";try{var b=g.ve("CANVAS").getContext("webgl");b&&(b.getExtension("WEBGL_debug_renderer_info"),a=b.getParameter(37446),a=a.replace(/[ :]/g,"_"))}catch(c){}return a});g.r(ZH,g.z);g.h=ZH.prototype;g.h.sG=function(){var a=g.UH(this.provider);aI(this,a)}; g.h.reportStats=function(a){a=void 0===a?NaN:a;if(!this.ha()&&(a=0<=a?a:g.UH(this.provider),-1<["PL","B","S"].indexOf(this.Pb)&&(!g.Pb(this.o)||a>=this.B+30)&&(g.YH(this,a,"vps",[this.Pb]),this.B=a),!g.Pb(this.o)))if(7E3===this.sequenceNumber&&g.gr(Error("Sent over 7000 pings")),7E3<=this.sequenceNumber)this.o={};else{dI(this,a);var b=a,c=this.provider.F(),d=c.droppedVideoFrames||0,e=c.totalVideoFrames||0,f=d-this.fa,k=e&&!this.ua;if(d>c.totalVideoFrames||5E3b-this.yf+2||rI(this,a,b))){var d=this.provider.ud();c=d.volume;var e=c!==this.M;d=d.muted;d!==this.H?(this.H=d,c=!0):(!e||0<=this.B||(this.M=c,this.B=b),c=b-this.B,0<=this.B&&2b.o&&3!==b.provider.getVisibilityState()&&VH(b)}a.qoe&&(a=a.qoe,a.provider.ia("html5_qoe_user_intent_match_health")&&a.ba&&0>a.A&&a.provider.o.Ra&&iI(a));g.Q(this.B.experiments,"html5_background_quality_cap")&&this.A&&JK(this);this.B.Qn&&!this.V.backgroundable&&this.o&&!this.L.u&&(this.L.isBackground()&&this.o.Lp()?(this.Xa("bgmobile","suspend"),g.uK(this,!0)): this.L.isBackground()||gK(this)&&this.Xa("bgmobile","resume"))}; g.h.iM=function(a,b){this.HB(new QD(b,a))}; g.h.HB=function(a){this.Aa.set(a.initData,a);this.G&&(OG(this.G,a),IK(this,"html5_eme_loader_sync")||this.Aa.remove(a.initData))}; g.h.zB=function(){g.Ju&&this.fa&&this.fa.o&&this.G&&(Vja(this.G,this.fa.o),this.fa=null)}; g.h.GN=function(a){this.V.MD=Ou("auto",a,!1,"u");JK(this)}; g.h.DH=function(a){rK(this,a.reason,a.video.info,a.audio.info)}; g.h.KL=function(a){pK(this,a.reason,a.audio.info)}; g.h.LL=function(a){this.S("localmediachange",a)}; g.h.sj=function(a){var b=this;gla(this,a);if("fmt.unplayable"!=a.errorCode&&"fmt.unparseable"!=a.errorCode||!SK(this,a.errorCode,a.details)){var c=/^pp/.test(this.V.clientPlaybackNonce);if(fla(a)){var d=18435;this.B.ia("ipp_signature_cipher_killswitch")||(d=g.L("STS",void 0)?g.L("STS",void 0):d);a.details.sts=""+d;if(UK(this)){g.U(this.u,4)||g.U(this.u,512)?(this.qd=!0,lK(this)):(a.o&&(a.details.e=a.errorCode,a.errorCode="qoe.restart",a.o=!1),this.C.onError(a.errorCode,eu(a.details)),VK(this));return}6048E5< (0,g.N)()-this.B.za&&XK(this,"signature")}if(YK(a)&&this.V.Ba&&this.V.Ba.u)this.C.onError(a.errorCode,eu(a.details)),this.Xa("highrepfallback","1",!0),!IK(this,"html5_hr_logging_killswitch")&&/^hr/.test(this.V.clientPlaybackNonce)&&btoa&&this.Xa("afmts",btoa(this.V.adaptiveFormats),!0),pia(this.V),BK(this),lK(this),RK(this),this.playVideo();else if(a.o){c=this.A?this.A.G.B:null;if(YK(a)&&c&&c.isLocked())var e="FORMAT_UNAVAILABLE";else if(!this.B.C&&"auth"==a.errorCode&&429==a.details.rc){e="TOO_MANY_REQUESTS"; var f="6"}g.$J(this,a.errorCode,e,eu(a.details),f)}else this.C.onError(a.errorCode,eu(a.details)),c&&"manifest.net.connect"==a.errorCode&&(a="https://www.youtube.com/generate_204?cpn="+this.V.clientPlaybackNonce+"&t="+(0,g.N)(),(new kF(a,"manifest",function(k){b.Gi=!0;b.Xa("pathprobe",k)},function(k){return b.C.onError(k.errorCode,eu(k.details))})).send())}}; g.h.pauseVideo=function(a){a=void 0===a?!1:a;if((g.U(this.u,64)||g.U(this.u,2))&&!a)if(g.U(this.u,8))kK(this,RC(this.u,4,8));else return;g.U(this.u,128)||(a?kK(this,PC(this.u,256)):kK(this,RC(this.u,4,8)));this.o&&this.o.pause();g.MB(this.V)&&this.A&&AK(this,!1)}; g.h.stopVideo=function(){this.pauseVideo();this.A&&(AK(this,!1),IF(this.A))}; g.h.seekTo=function(a,b){b=void 0===b?{}:b;g.U(this.u,2)&&gK(this);this.F.seekTo(a,b)}; g.h.getCurrentTime=function(){return this.F.getCurrentTime()}; g.h.getPlaylistSequenceForTime=function(a){return this.V.getPlaylistSequenceForTime(a-this.Gb())}; g.h.getDuration=function(){return this.V.lengthSeconds?this.V.lengthSeconds+this.Gb():NK(this)?NK(this):0}; g.h.VF=function(){var a=new sja;if(this.A){var b=this.B.schedule;a.A=b.H;a.C=b.R;a.bandwidthEstimate=By(b);a.o="d."+yy(b).toFixed(2)+";st."+(1E9*(b.o.o()||0)).toFixed(2)+";bw."+b.u.o().toFixed(0)+";abw."+b.M.o().toFixed(0)+";v50."+uy(b.A,.5).toFixed(2)+";v92."+uy(b.A,.92).toFixed(2)+";v96."+uy(b.A,.96).toFixed(2)+";v98."+uy(b.A,.98).toFixed(2);b=this.A;if(b.A&&!nu(b.A)&&(a.u=DE(b.u,b.F),a.B=DE(b.B,b.F),b.o.ua)){var c=CE(b.u),d=CE(b.B),e=Xt(b.A.u.Md(),"_"),f=Xt(b.A.o.Md(),"_");a.o=(a.o||"")+(";lvq."+ c+";laq."+d+";lvb."+e+";lab."+f)}a.bandwidthEstimate=RE(b.R)}else this.o&&(a.u=DC(this.o));a.F=this.yy();return a}; g.h.Wa=function(a){var b={};if(void 0===a?0:a){g.Sa(b,this.C.Wa());this.o&&(g.Sa(b,this.o.Wa()),g.Sa(b,this.Zs()));this.A&&g.Sa(b,this.A.Wa());this.G&&(b.drm=this.G.Wa());b.state=this.u.o.toString(16);g.U(this.u,128)&&(b.debug_error=this.u.u);nK(this)&&(b.prerolls=this.Z.join(","));this.V.Uh&&(b.ismb=this.V.Uh);"UNKNOWN"!=this.V.latencyClass&&(b.latency_class=this.V.latencyClass);this.V.isLowLatencyLiveStream&&(b.lowlatency="1");this.V.ya&&(this.V.ka&&fy(this.V.ka)&&(b.segduration=fy(this.V.ka)), a=this.F,b.lat=a.L?cH(a.L.B):0,b.liveutcstart=this.V.liveUtcStartSeconds);b.relative_loudness=this.V.en.toFixed(3);if(a=g.qK(this))b.optimal_format=a.Da().qualityLabel;b.user_qual=ky()}b.debug_videoId=this.V.videoId;return b}; g.h.addCueRange=function(a){var b=this.T;a=[a];b.u();uF(b.o,a);b.B=NaN;b.u()}; g.h.removeCueRange=function(a){wF(this.T,[a])}; g.h.IN=function(){iK(this)}; g.h.togglePictureInPicture=function(){this.o&&this.o.togglePictureInPicture()}; g.h.EH=function(a){this.Jd.stop();var b=a.target.wd();if(this.o&&this.o.wd()&&this.o.wd()==b){lL(this,a.type);switch(a.type){case "error":var c=HC(this.o)||"";if("capability.changed"==c){fK(this);return}if(0this.o.getCurrentTime()&&this.A)return;break;case "resize":mL(this);this.V.Fa&&"auto"==this.V.Fa.Da().quality&&this.S("internalvideoformatchange",this.V,!1);break;case "pause":if(this.Je&&g.U(this.u,8)&&!g.U(this.u,1024)&&0==this.getCurrentTime()&&g.tz){fL(this,"safari_autoplay_disabled");return}}if(this.o&&this.o.wd()==b){this.S("videoelementevent",a);b=this.u;if(!g.U(b,128)){c=this.Ga;e=this.o;var f=this.B.experiments;d=b.o;e=e?e:a.target;var k= e.getCurrentTime();if(!g.U(b,64)||"ended"!=a.type&&"pause"!=a.type){var l=e.gg()||1Math.abs(k-e.getDuration());k="ended"==a.type||"waiting"==a.type||"timeupdate"==a.type&&!g.U(b,4)&&!JC(c,k);if("pause"==a.type&&e.gg()||l&&k)0b-this.fb)){var c=this.o.qj();this.fb=b;c!=this.L.u&&(cka(this.L,c),fK(this).then(function(){return gK(a)})); this.S("airplayactivechange")}}; g.h.ds=function(){var a=this.o;a&&this.Oa&&!this.V.Ne&&!QA("vfp",this.M.timerName)&&2<=a.De()&&!a.gg()&&0Math.abs(c-a)?(this.Xa("setended","ct."+a+";bh."+b+";dur."+c+";live."+ +d),d&&IK(this,"html5_set_ended_in_pfx_live_cfl")||(this.o.Jp()?this.seekTo(0):YJ(this))): (g.VC(this.u)||kL(this,"progress_fix"),kK(this,PC(this.u,1)))):(c&&!d&&!e&&0d-1&&this.Xa("misspg","t:"+a.toFixed(2)+";d:"+d+";r:"+c.toFixed(2)+";bh:"+b.toFixed(2))),g.U(this.u,4)&&g.VC(this.u)&&5this.Ke)a="drm.sessionlimitexhausted",b=!1;else if(IK(this,"html5_drm_fallback_to_playready_on_retry")&&"drm.keyerror"==a&&2>this.Le&&(this.Le++,BK(this),1Math.random()&&g.gr(Error("Botguard not available after 2 attempts")),!a&&5>this.Ea)){this.Bc.Za();this.Ea++;return}if("c1b"in c.o){var d=Bka(this.C);d&&oka(c).then(function(e){e&&!b.wa&&d&&(d(e),b.wa=!0)})}else if(a=mka(c))Aka(this.C,a),this.wa=!0}}; g.h.Ib=function(){return this.F.Ib()}; g.h.Gb=function(){return this.F?this.F.Gb():0}; g.h.getStreamTimeOffset=function(){return this.F?this.F.getStreamTimeOffset():0}; g.h.setPlaybackRate=function(a){var b=this.V.Ba&&this.V.Ba.videoInfos&&32=a)){a-=this.o.length;for(var b=0;b=(a||1)}; g.h.PE=function(){for(var a=this.A.length-1;0<=a;a--)rM(this,this.A[a]);this.o.length==this.u.length&&4<=this.o.length||(4>this.u.length?this.ay(4):(this.o=[],(0,g.y)(this.u,function(b){rM(this,b)},this)))}; qM.prototype.fillPool=qM.prototype.ay;qM.prototype.getTag=qM.prototype.XF;qM.prototype.releaseTag=qM.prototype.pO;qM.prototype.hasTags=qM.prototype.HG;qM.prototype.activateTags=qM.prototype.PE;g.r(g.tM,g.AC);g.h=g.tM.prototype;g.h.isView=function(){return!0}; g.h.Cq=function(){var a=this.o.getCurrentTime();if(ae?uM(this,"next_player_future"):(this.H=d,this.B=qu(a,c,d,!0),this.C=qu(a,e,f,!1),a=this.u.getVideoData().clientPlaybackNonce,this.o.Xa("gaplessPrep", "cpn."+a),TK(this.o,this.B),yK(this.o,xM(b,c,d,!this.o.getVideoData().isAd())),yM(this,2),BM(this))))}else uM(this,"no-elem")}; g.h.Tk=function(a){var b=AM(this),c=a==b.YC;b=c?this.B.o:this.B.u;c=c?this.C.o:this.C.u;if(b.isActive()&&!c.isActive()){var d=this.H;Zt(a.Md(),d-.01)&&(yM(this,4),b.setActive(!1),this.u.Xa("sbh","1"),c.setActive(!0));a=this.C.u;this.C.o.isActive()&&a.isActive()&&yM(this,5)}}; g.h.FB=function(){4<=this.A.status&&6>this.A.status&&uM(this,"player-reload-after-handoff")}; g.h.Y=function(){zM(this);this.o.unsubscribe("newelementrequired",this.FB,this);if(this.B){var a=this.B.u;this.B.o.o.unsubscribe("updateend",this.Tk,this);a.o.unsubscribe("updateend",this.Tk,this)}g.z.prototype.Y.call(this)}; g.h.zA=function(a){g.tH(a,128)&&uM(this,"player-error-event")};g.r(CM,g.z);CM.prototype.clearQueue=function(){this.C&&this.C.reject("Queue cleared");DM(this)}; CM.prototype.Y=function(){DM(this);g.z.prototype.Y.call(this)};g.r(IM,g.z);IM.prototype.get=function(a){GM(this);var b=this.data.find(function(c){return c.key===a}); return b?b.value:null}; IM.prototype.set=function(a,b,c){this.remove(a,!0);GM(this);a={key:a,value:b,expire:Infinity};c&&isFinite(c)&&(c*=1E3,a.expire=(0,g.N)()+c);for(this.data.push(a);this.data.length>this.A;)(c=this.data.shift())&&JM(this,c,!0);HM(this)}; IM.prototype.remove=function(a,b){b=void 0===b?!1:b;var c=this.data.find(function(d){return d.key===a}); c&&(JM(this,c,b),g.ib(this.data,function(d){return d.key===a}),HM(this))}; IM.prototype.Y=function(){var a=this;g.z.prototype.Y.call(this);this.data.forEach(function(b){JM(a,b,!0)}); this.data=[]};g.r(OM,g.z);OM.prototype.A=function(a){this.u=a[a.length-1].intersectionRatio}; OM.prototype.Y=function(){g.z.prototype.Y.call(this);this.u=null;this.o&&this.o.disconnect()};var PM=1;g.r(g.RM,g.z);g.h=g.RM.prototype; g.h.createElement=function(a,b){b=b||"svg"===a.D;var c=a.I,d=a.X;if(b){var e=document.createElementNS("http://www.w3.org/2000/svg",a.D);g.sz&&(a.P||(a.P={}),a.P.focusable="false")}else e=g.ve(a.D);if(c){if(c=SM(this,e,"class",c))TM(this,e,"class",c),this.ra[c]=e}else if(d){c=g.p(d);for(var f=c.next();!f.done;f=c.next())this.ra[f.value]=e;TM(this,e,"class",d.join(" "))}d=a.W;c=a.K;if(d)d=SM(this,e,"child",d),void 0!==d&&e.appendChild(g.we(d));else if(c)for(d=0,c=g.p(c),f=c.next();!f.done;f=c.next())if(f= f.value)if("string"===typeof f)f=SM(this,e,"child",f),null!=f&&e.appendChild(g.we(f));else if(f.element)e.appendChild(f.element);else{var k=f;f=this.createElement(k,b);e.appendChild(f);k.Sa&&(k=QM(),f.id=k,f=document.createElementNS("http://www.w3.org/2000/svg","use"),f.setAttribute("class","ytp-svg-shadow"),f.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+k),g.ze(e,f,d++))}if(d=a.P)for(c=e,f=g.p(Object.keys(d)),k=f.next();!k.done;k=f.next()){k=k.value;var l=d[k];TM(this,c,k,"string"=== typeof l?SM(this,c,k,l):l)}return e}; g.h.da=function(a){return this.ra[a]}; g.h.ca=function(a,b){"number"===typeof b?g.ze(a,this.element,b):a.appendChild(this.element)}; g.h.detach=function(){g.Ae(this.element)}; g.h.update=function(a){for(var b=g.p(Object.keys(a)),c=b.next();!c.done;c=b.next())c=c.value,this.oa(c,a[c])}; g.h.oa=function(a,b){var c=this.Oa["{{"+a+"}}"];c&&TM(this,c[0],c[1],b)}; g.h.Y=function(){this.ra={};this.Oa={};this.detach();g.z.prototype.Y.call(this)};g.r(g.W,g.RM);g.h=g.W.prototype;g.h.xb=function(a,b){this.oa(b||"content",a)}; g.h.show=function(){this.ga||(g.H(this.element,"display",""),this.ga=!0)}; g.h.hide=function(){this.ga&&(g.H(this.element,"display","none"),this.ga=!1)}; g.h.ib=function(a){this.M=a}; g.h.Ka=function(){return this.ga}; g.h.na=function(a,b,c){return this.N(this.element,a,b,c)}; g.h.N=function(a,b,c,d){c=(0,g.x)(c,d||this);d={target:a,type:b,listener:c};this.listeners.push(d);a.addEventListener(b,c);return d}; g.h.kb=function(a){var b=this;this.listeners.forEach(function(c,d){if(c===a){var e=b.listeners.splice(d,1)[0];e.target.removeEventListener(e.type,e.listener)}})}; g.h.focus=function(){He(this.element);this.element.focus()}; g.h.Y=function(){for(;this.listeners.length;){var a=this.listeners.pop();a&&a.target.removeEventListener(a.type,a.listener)}g.RM.prototype.Y.call(this)};var u2;u2={};g.VM=(u2.STOP_EVENT_PROPAGATION="html5-stop-propagation",u2.IV_DRAWER_ENABLED="ytp-iv-drawer-enabled",u2.IV_DRAWER_OPEN="ytp-iv-drawer-open",u2.MAIN_VIDEO="html5-main-video",u2.VIDEO_CONTAINER="html5-video-container",u2.HOUSE_BRAND="house-brand",u2);g.r(XM,g.W);g.h=XM.prototype;g.h.FG=function(){this.G=new g.wh(0,0,0,0);this.u=new g.wh(0,0,0,0)}; g.h.Rm=function(a){g.Gn(this.element,arguments)}; g.h.Ee=function(){if(this.o){var a=this.getPlayerSize();if(!a.isEmpty()){var b=this.u;b=!g.ae(a,new g.$d(b.width,b.height));var c=eN(this);b&&(this.u.width=a.width,this.u.height=a.height);a=this.app.O();(c||b||a.ua)&&this.app.o.S("resize",this.getPlayerSize())}}}; g.h.EG=function(a,b){this.updateVideoData(b)}; g.h.GG=function(a){a.getVideoData()&&this.updateVideoData(a.getVideoData())}; g.h.updateVideoData=function(a){if(this.o){var b=this.app.O();rl&&(this.o.setAttribute("x-webkit-airplay","allow"),a.title?this.o.setAttribute("title",a.title):this.o.removeAttribute("title"));CB(a)?this.o.setAttribute("disableremoteplayback",""):this.o.removeAttribute("disableremoteplayback");this.o.setAttribute("controlslist","nodownload");b.Zp&&a.videoId&&(this.o.poster=a.Ec("default.jpg"));g.P(b.experiments,"html5_send_origin_for_progressive")&&a.Ba&&!a.Ba.o&&this.o.setAttribute("crossorigin", "anonymous")}b=g.IB(a,"yt:bgcolor");this.A.style.backgroundColor=b?b:"";this.T=Iy(g.IB(a,"yt:stretch"));this.U=Iy(g.IB(a,"yt:crop"),!0);g.K(this.element,"ytp-dni",a.Wb);this.Ee()}; g.h.setGlobalCrop=function(a){this.L=Iy(a,!0);this.Ee()}; g.h.setCenterCrop=function(a){this.ea=a;this.Ee()}; g.h.getPlayerSize=function(){var a=this.app.O(),b=this.app.o.isFullscreen();if(b&&il())return new g.$d(window.outerWidth,window.outerHeight);if(b||a.Pn){if(window.matchMedia){a="(width: "+window.innerWidth+"px) and (height: "+window.innerHeight+"px)";this.F&&this.F.media==a||(this.F=window.matchMedia(a));var c=this.F&&this.F.matches}if(c)return new g.$d(window.innerWidth,window.innerHeight)}else{if(!isNaN(this.B.width)&&!isNaN(this.B.height))return this.B.clone();if(this.ba&&this.aa&&!this.app.isWidescreen())for(a= 0;ad!==a>b){var e=c;c=d;d=e}a>c&&b>d&&this.Mu()}}; g.h.disable=function(){if(!this.message){var a=(null!=bp(["requestFullscreen","webkitRequestFullscreen","mozRequestFullScreen","msRequestFullscreen"],document.body)?"La pantalla completa no est\u00e1 disponible. $BEGIN_LINKM\u00e1s informaci\u00f3n$END_LINK":"Tu navegador no es compatible con la pantalla completa. $BEGIN_LINKM\u00e1s informaci\u00f3n$END_LINK").split(/\$(BEGIN|END)_LINK/);this.message=new g.bO(this.J,{D:"div",X:["ytp-popup","ytp-generic-popup"],P:{role:"alert",tabindex:"0"},K:[a[0], {D:"a",P:{href:"https://support.google.com/youtube/answer/6276924",target:this.J.O().F},W:a[2]},a[4]]},100,!0);this.message.hide();g.A(this,this.message);this.message.subscribe("show",(0,g.x)(this.o.cm,this.o,this.message));g.NL(this.J,this.message.element,4);this.element.setAttribute("aria-disabled","true");this.element.setAttribute("aria-haspopup","true");(0,this.u)();this.u=null}}; g.h.la=function(){g.UM(this,iO(this.J))}; g.h.hA=function(a){if(a){var b=g.X?{D:"div",X:["ytp-icon","ytp-icon-full-screen-close"]}:{D:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{D:"g",I:"ytp-fullscreen-button-corner-2",K:[{D:"path",Sa:!0,I:"ytp-svg-fill",P:{d:"m 14,14 -4,0 0,2 6,0 0,-6 -2,0 0,4 0,0 z"}}]},{D:"g",I:"ytp-fullscreen-button-corner-3",K:[{D:"path",Sa:!0,I:"ytp-svg-fill",P:{d:"m 22,14 0,-4 -2,0 0,6 6,0 0,-2 -4,0 0,0 z"}}]},{D:"g",I:"ytp-fullscreen-button-corner-0",K:[{D:"path",Sa:!0,I:"ytp-svg-fill", P:{d:"m 20,26 2,0 0,-4 4,0 0,-2 -6,0 0,6 0,0 z"}}]},{D:"g",I:"ytp-fullscreen-button-corner-1",K:[{D:"path",Sa:!0,I:"ytp-svg-fill",P:{d:"m 10,22 4,0 0,4 2,0 0,-6 -6,0 0,2 0,0 z"}}]}]};a=g.nO(this.J,"Salir del modo de pantalla completa","f");document.activeElement===this.element&&this.J.getRootNode().focus()}else b=g.X?{D:"div",X:["ytp-icon","ytp-icon-full-screen"]}:{D:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{D:"g",I:"ytp-fullscreen-button-corner-0",K:[{D:"path",Sa:!0, I:"ytp-svg-fill",P:{d:"m 10,16 2,0 0,-4 4,0 0,-2 L 10,10 l 0,6 0,0 z"}}]},{D:"g",I:"ytp-fullscreen-button-corner-1",K:[{D:"path",Sa:!0,I:"ytp-svg-fill",P:{d:"m 20,10 0,2 4,0 0,4 2,0 L 26,10 l -6,0 0,0 z"}}]},{D:"g",I:"ytp-fullscreen-button-corner-2",K:[{D:"path",Sa:!0,I:"ytp-svg-fill",P:{d:"m 24,24 -4,0 0,2 L 26,26 l 0,-6 -2,0 0,4 0,0 z"}}]},{D:"g",I:"ytp-fullscreen-button-corner-3",K:[{D:"path",Sa:!0,I:"ytp-svg-fill",P:{d:"M 12,20 10,20 10,26 l 6,0 0,-2 -4,0 0,-4 0,0 z"}}]}]},a=g.nO(this.J,"Pantalla completa", "f");this.oa("icon",b);this.oa("title",this.message?null:a);GO(this.o.rb())}; g.h.Y=function(){this.message||((0,this.u)(),this.u=null);g.W.prototype.Y.call(this)};g.r(pO,g.W);pO.prototype.onClick=function(){this.J.sa("onCollapseMiniplayer");g.SL(this.J,this.element)}; pO.prototype.la=function(){this.visible=!this.J.isFullscreen();g.UM(this,this.visible);g.TL(this.J,this.element,this.visible&&this.M)}; pO.prototype.ib=function(a){g.W.prototype.ib.call(this,a);g.TL(this.J,this.element,this.visible&&a)};g.r(rO,g.W);rO.prototype.ab=function(a){this.la("newdata"===a)}; rO.prototype.la=function(a){var b=this.J.getVideoData(),c=b.Ii,d=g.tL(this.J);d=(g.TC(d)||g.U(d,4))&&0a&&this.delay.start()}; var Sta=new g.Qn(0,0,.4,0,.2,1,1,1),zla=/[0-9.-]+|[^0-9.-]+/g;g.r(zO,g.W);g.h=zO.prototype;g.h.iA=function(a){this.visible=300<=a.width;g.UM(this,this.visible);g.TL(this.J,this.element,this.visible&&this.M)}; g.h.dM=function(){this.J.O().T?this.J.isMuted()?this.J.unMute():this.J.mute():dO(this.message,this.element,!0);g.SL(this.J,this.element)}; g.h.tI=function(a){this.setVolume(a.volume,a.muted)}; g.h.setVolume=function(a,b){var c=this,d=b?0:a/100,e=this.J.O();if(e.G)d=0===d?JN():0d?IN():HN(),d!==this.u&&(this.oa("icon",d),this.u=d);else{var f=0===d?1:50this.clipEnd)&&this.zq()}; g.h.zI=function(a){if(!g.op(a)){var b=!1;switch(g.pp(a)){case 36:this.api.seekTo(0);b=!0;break;case 35:this.api.seekTo(Infinity);b=!0;break;case 34:this.api.seekBy(-60);b=!0;break;case 33:this.api.seekBy(60);b=!0;break;case 38:this.api.seekBy(5);b=!0;break;case 40:this.api.seekBy(-5),b=!0}b&&g.np(a)}}; g.h.jA=function(a,b){this.updateVideoData(b,"newdata"===a)}; g.h.oG=function(){this.jA("newdata",this.api.getVideoData())}; g.h.updateVideoData=function(a,b){b=void 0===b?!1:b;var c=!!a&&a.isValid();this.Ra=c&&a.allowLiveDvr;pP(this,this.api.jd());b&&(c?(c=a.clipEnd,this.clipStart=a.clipStart,this.clipEnd=c,gP(this),XO(this,this.F,this.ea)):this.zq(),g.bS(this.tooltip));if(this.api.O().ia("web_wn_macro_markers")&&a)if(c=a.Tf,!a.ya&&c&&0a.position&&(n=1);!m&&k/2>this.B-a.position&& (n=2);aS(this.tooltip,c,d,b,!!f,l,e,n)}else aS(this.tooltip,c,d,b,!!f,l);g.K(this.api.getRootNode(),"ytp-progress-bar-hover",!g.U(g.tL(this.api),64));ZO(this)}; g.h.CM=function(){g.bS(this.tooltip);g.Hn(this.api.getRootNode(),"ytp-progress-bar-hover")}; g.h.BM=function(a,b){this.C&&(this.C.dispose(),this.C=null);this.Yb=b;this.api.O().ia("web_wn_macro_markers")&&1e||1e&&a.C.start()}); this.C.start()}if(g.U(g.tL(this.api),32)||3===this.api.getPresentingPlayerType())this.api.O().ia("web_wn_macro_markers")&&1.1*(this.A?60:40),f=eP(this));g.K(this.element,"ytp-pull-ui",e);d&&g.J(this.element,"ytp-pulling");d=0;f.u&&0>=f.position?d=-1:f.C&&f.position>=f.width&&(d=1);if(this.Aa!==d&&(this.Aa=d,this.C&&(this.C.dispose(),this.C=null),d)){var k=(0,g.N)();this.C=new g.vn(function(){var l=c.B*(c.aa-1);c.R=g.Ud(c.R+c.Aa*((0,g.N)()-k)*.3,0,l);YO(c);c.api.seekTo(bP(c, eP(c)),!1);0(a.deltaX||-a.deltaY)?-this.C:this.C;this.Ij(b);g.np(a)}; g.h.FI=function(a){a=(a-g.Kh(this.u).x)/this.G*this.range+this.minimumValue;this.Ij(a)}; g.h.Ij=function(a,b){b=void 0===b?"":b;var c=g.Ud(a,this.minimumValue,this.maximumValue);""===b&&(b=c.toString());this.oa("valuenow",c);this.oa("valuetext",b);this.L.style.left=(c-this.minimumValue)/this.range*(this.G-this.H)+"px";this.o=c}; g.h.focus=function(){this.T.focus()};g.r(TP,RP);TP.prototype.R=function(){this.J.setPlaybackRate(this.o,!0)}; TP.prototype.Ij=function(a){RP.prototype.Ij.call(this,a,UP(this,a).toString());this.A&&(SP(this),this.U())}; TP.prototype.Z=function(){var a=this.J.getPlaybackRate();UP(this,this.o)!==a&&(this.Ij(a),SP(this))};g.r(VP,g.aO);VP.prototype.focus=function(){this.o.focus()};g.r(WP,AP);g.r(XP,g.DP);g.h=XP.prototype;g.h.Ef=function(a){return"1"===a?"Normal":a.toLocaleString()}; g.h.la=function(){var a=this.J.getPresentingPlayerType();this.enable(2!==a&&3!==a);aQ(this)}; g.h.Sk=function(a){g.DP.prototype.Sk.call(this,a);a?(this.G=this.N(this.J,"onPlaybackRateChange",this.HI),aQ(this),ZP(this,this.J.getPlaybackRate())):(this.kb(this.G),this.G=null)}; g.h.HI=function(a){var b=this.J.getPlaybackRate();this.F.includes(b)||$P(this,b);ZP(this,a)}; g.h.Bd=function(a){g.DP.prototype.Bd.call(this,a);a===this.o?this.J.setPlaybackRate(this.B,!0):this.J.setPlaybackRate(Number(a),!0);this.La.ie()};var Tta={"default":0,monoSerif:1,propSerif:2,monoSans:3,propSans:4,casual:5,cursive:6,smallCaps:7};Object.keys(Tta).reduce(function(a,b){a[Tta[b]]=b;return a},{}); var Uta={none:0,raised:1,depressed:2,uniform:3,dropShadow:4};Object.keys(Uta).reduce(function(a,b){a[Uta[b]]=b;return a},{}); var Vta={normal:0,bold:1,italic:2,bold_italic:3};Object.keys(Vta).reduce(function(a,b){a[Vta[b]]=b;return a},{});var v2,Wta;v2=[{option:"#fff",text:"Blanco"},{option:"#ff0",text:"Amarillo"},{option:"#0f0",text:"Verde"},{option:"#0ff",text:"Cian"},{option:"#00f",text:"Azul"},{option:"#f0f",text:"Magenta"},{option:"#f00",text:"Rojo"},{option:"#080808",text:"Negro"}];Wta=[{option:0,text:bQ(0)},{option:.25,text:bQ(.25)},{option:.5,text:bQ(.5)},{option:.75,text:bQ(.75)},{option:1,text:bQ(1)}]; g.eQ=[{option:"fontFamily",text:"Conjunto de fuentes",options:[{option:1,text:"Serif monoespaciada"},{option:2,text:"Serif proporcional"},{option:3,text:"Sans-Serif monoespaciada"},{option:4,text:"Sans-Serif proporcional"},{option:5,text:"Casual"},{option:6,text:"Cursiva"},{option:7,text:"Versalitas"}]},{option:"color",text:"Color de fuente",options:v2},{option:"fontSizeIncrement",text:"Tama\u00f1o de fuente",options:[{option:-2,text:bQ(.5)},{option:-1,text:bQ(.75)},{option:0,text:bQ(1)},{option:1, text:bQ(1.5)},{option:2,text:bQ(2)},{option:3,text:bQ(3)},{option:4,text:bQ(4)}]},{option:"background",text:"Color de fondo",options:v2},{option:"backgroundOpacity",text:"Opacidad del fondo",options:Wta},{option:"windowColor",text:"Color de la ventana",options:v2},{option:"windowOpacity",text:"Opacidad de la ventana",options:Wta},{option:"charEdgeStyle",text:"Estilo del borde de los caracteres",options:[{option:0,text:"Ninguno"},{option:4,text:"Sombra paralela"},{option:1,text:"Relieve"},{option:2, text:"Hundido"},{option:3,text:"Contorno"}]},{option:"textOpacity",text:"Opacidad de la fuente",options:[{option:.25,text:bQ(.25)},{option:.5,text:bQ(.5)},{option:.75,text:bQ(.75)},{option:1,text:bQ(1)}]}];g.r(dQ,g.DP);g.h=dQ.prototype;g.h.Jb=function(a){g.DP.prototype.Jb.call(this,a)}; g.h.lA=function(a){return a.option.toString()}; g.h.getOption=function(a){return this.settings[a]}; g.h.Ef=function(a){return this.getOption(a).text||""}; g.h.Bd=function(a){g.DP.prototype.Bd.call(this,a);this.S("settingChange",this.setting,this.settings[a].option)};g.r(fQ,g.BP);fQ.prototype.Tc=function(a){for(var b=g.p(Object.keys(a)),c=b.next();!c.done;c=b.next()){var d=c.value;if(c=this.gi[d]){var e=a[d].toString();d=!!a[d+"Override"];c.options[e]&&(c.Jb(e),c.B.element.setAttribute("aria-checked",String(!d)),c.o.element.setAttribute("aria-checked",String(d)))}}}; fQ.prototype.he=function(a,b){this.S("settingChange",a,b)};g.r(gQ,g.DP);gQ.prototype.o=function(a){return a.languageCode}; gQ.prototype.Ef=function(a){return this.languages[a].languageName||""}; gQ.prototype.Bd=function(a){this.S("select",a);g.NP(this.La)};g.r(iQ,g.DP);g.h=iQ.prototype;g.h.nu=function(a){return g.Pb(a)?"__off__":a.displayName}; g.h.Ef=function(a){return"__off__"===a?"Desactivados":"__translate__"===a?"Traducir autom\u00e1ticamente":"__contribute__"===a?"A\u00f1adir subt\u00edtulos":("__off__"===a?{}:this.tracks[a]).displayName}; g.h.Bd=function(a){"__translate__"===a?this.o.open():"__contribute__"===a?(this.J.pauseVideo(),this.J.isFullscreen()&&this.J.toggleFullscreen(),a=g.CI(this.J.O(),this.J.getVideoData()),g.hO(a)):(this.J.setOption("captions","track","__off__"===a?{}:this.tracks[a]),g.DP.prototype.Bd.call(this,a),this.La.ie())}; g.h.la=function(){var a=this.J.getOptions();a=a&&-1!==a.indexOf("captions");var b=this.J.getVideoData();b=b&&b.co;var c={};if(a||b){if(a){var d=this.J.getOption("captions","track");c=this.J.getOption("captions","tracklist",{includeAsr:!0});var e=this.J.getOption("captions","translationLanguages");this.tracks=g.yb(c,this.nu,this);var f=(0,g.Jc)(c,this.nu);if(e.length&&!g.Pb(d)){var k=d.translationLanguage;if(k&&k.languageName){var l=k.languageName;k=e.findIndex(function(m){return m.languageName=== l}); saa(e,k)}Ela(this.o,e);f.push("__translate__")}e=this.nu(d)}else this.tracks={},f=[],e="__off__";f.unshift("__off__");this.tracks.__off__={};b&&f.unshift("__contribute__");this.tracks[e]||(this.tracks[e]=d,f.push(e));g.FP(this,f);this.Jb(e);d&&d.translationLanguage?this.o.Jb(this.o.o(d.translationLanguage)):EP(this.o);a&&this.B.Tc(this.J.getSubtitlesUserSettings());this.G.xb(c&&c.length?" ("+c.length+")":"");this.S("size-change");this.enable(!0)}else this.enable(!1)}; g.h.II=function(a){var b=this.J.getOption("captions","track");b=g.Sb(b);b.translationLanguage=this.o.languages[a];this.J.setOption("captions","track",b)}; g.h.he=function(a,b){if("reset"===a)this.J.resetSubtitlesUserSettings();else{var c={};c[a]=b;this.J.updateSubtitlesUserSettings(c)}hQ(this,!0);this.F.start();this.B.Tc(this.J.getSubtitlesUserSettings())}; g.h.lN=function(a){a||this.F.qf()}; g.h.Y=function(){this.F.qf();g.DP.prototype.Y.call(this)};g.r(jQ,g.IP);g.h=jQ.prototype;g.h.initialize=function(){if(!this.hd){this.hd=!0;var a=new PP(this.J,this);g.A(this,a);a=new iQ(this.J,this);g.A(this,a);a=new zP(this.J,this);g.A(this,a);this.J.O().Oa&&(a=new XP(this.J,this),g.A(this,a));this.J.O().wb&&(a=new HP(this.J,this),g.A(this,a));a=new GP(this.J,this);g.A(this,a);tP(this.settingsButton,this.hc.items.length)}}; g.h.sb=function(a){this.initialize();this.hc.sb(a);tP(this.settingsButton,this.hc.items.length)}; g.h.nd=function(a){this.Ka()&&1>=this.hc.items.length&&this.hide();this.hc.nd(a);tP(this.settingsButton,this.hc.items.length)}; g.h.jc=function(a){this.initialize();0=this.G&&(!this.u||!g.U(g.tL(this.api),64));g.UM(this,b);g.K(this.element,"ytp-time-display-allow-autohide",b&&400>a);a=this.api.getProgressState();if(b){b=this.api.getPresentingPlayerType();var c=g.LM(g.P(this.api.O().experiments,"halftime_ux_killswitch")?a.current:this.api.getCurrentTime(b,!1));this.A!==c&&(this.oa("currenttime",c),this.A=c);b=g.LM(g.P(this.api.O().experiments,"halftime_ux_killswitch")?a.duration:this.api.getDuration(b, !1));this.B!==b&&(this.oa("duration",b),this.B=b)}this.u&&(a=a.isAtLiveHead,this.F!==a||this.C!==this.isPremiere)&&(this.F=a,this.C=this.isPremiere,this.ac(),b=this.liveBadge.element,b.disabled=a,this.liveBadge.xb(this.isPremiere?"Estreno":"En directo"),a?this.o&&(this.o(),this.o=null,b.removeAttribute("title")):(b.title="Accede a la emisi\u00f3n en directo",this.o=g.RN(this.tooltip,this.liveBadge.element)))}; g.h.ab=function(a,b){this.updateVideoData(b);this.ac()}; g.h.updateVideoData=function(a){this.u=a.ya&&!a.ah;this.isPremiere=a.isPremiere;g.K(this.element,"ytp-live",this.u)}; g.h.onClick=function(a){a.target===this.liveBadge.element&&(this.api.seekTo(Infinity),this.api.playVideo())}; g.h.Y=function(){this.o&&this.o();g.W.prototype.Y.call(this)};g.r(pQ,g.W);g.h=pQ.prototype;g.h.KI=function(){var a=this.u.Lc();this.C!==a&&(this.C=a,oQ(this,this.api.getVolume(),this.api.isMuted()))}; g.h.mA=function(a){g.UM(this,350<=a.width)}; g.h.NI=function(a){if(!g.op(a)){var b=g.pp(a),c=null;37===b?c=this.volume-5:39===b?c=this.volume+5:36===b?c=0:35===b&&(c=100);null!==c&&(c=g.Ud(c,0,100),0===c?this.api.mute():(this.api.isMuted()&&this.api.unMute(),this.api.setVolume(c)),g.np(a))}}; g.h.LI=function(a){var b=a.deltaX||-a.deltaY;a.deltaMode?this.api.setVolume(this.volume+(0>b?-10:10)):this.api.setVolume(this.volume+g.Ud(b/10,-10,10));g.np(a)}; g.h.pN=function(){nQ(this,this.o,!0,this.B,this.u.vj());this.T=this.volume;this.api.isMuted()&&this.api.unMute()}; g.h.MI=function(a){var b=this.C?78:52,c=this.C?18:12;a-=g.Kh(this.R).x;this.api.setVolume(100*g.Ud((a-c/2)/(b-c),0,1))}; g.h.oN=function(){nQ(this,this.o,!1,this.B,this.u.vj());0===this.volume&&(this.api.mute(),this.api.setVolume(this.T))}; g.h.OI=function(a){oQ(this,a.volume,a.muted)}; g.h.Ax=function(){nQ(this,this.o,this.A,this.B,this.u.vj())}; g.h.XC=function(a){g.K(this.element,"ytp-volume-control-hover",a);nQ(this,a,this.A,this.B,this.u.vj())}; g.h.Y=function(){g.W.prototype.Y.call(this);g.Hn(this.G,"ytp-volume-slider-active")};g.r(g.qQ,g.W);g.qQ.prototype.ab=function(){var a=this.api.getVideoData(1).Wb,b=this.api.O();this.visible=!!this.api.getVideoData().videoId&&!(a&&b.ea);g.UM(this,this.visible);g.TL(this.api,this.element,this.visible&&this.M);this.visible&&(a=this.api.getVideoUrl(!0,!1,!1,!0),this.oa("url",a))}; g.qQ.prototype.onClick=function(a){var b=this.api.getVideoUrl(!g.MM(a),!1,!0,!0);g.Py(this.api.O())&&(b=g.Ed(b,g.DI({},"emb_logo")));g.kO(b,this.api,a);g.SL(this.api,this.element)}; g.qQ.prototype.ib=function(a){g.W.prototype.ib.call(this,a);g.TL(this.api,this.element,this.visible&&a)};g.r(rQ,g.Ur);g.h=rQ.prototype;g.h.Du=function(){this.B.ac();this.fa.ac();g.P(this.o.O().experiments,"web_wn_macro_markers")&&this.ga.ac()}; g.h.eB=function(){this.bw();this.ea.u?this.Du():g.bS(this.B.tooltip)}; g.h.IJ=function(){this.Du();this.M.start()}; g.h.bw=function(){var a=!this.o.O().o&&300>g.qP(this.B)&&g.tL(this.o).nb()&&!!window.requestAnimationFrame,b=!a;this.ea.u||(a=b=!1);b?this.L||(this.L=this.N(this.o,"progresssync",this.Du)):this.L&&(this.kb(this.L),this.L=null);a?this.M.isActive()||this.M.start():this.M.stop()}; g.h.iP=function(a){var b=this.F.rb();a=!a;if(null!=b.type)if(a)switch(b.type){case 3:case 2:cS(b);b.G.show();break;default:b.G.show()}else b.G.hide();b.L=a}; g.h.Eu=function(){var a=this.F.Lc(),b=g.uL(this.o).getPlayerSize(),c=tQ(this),d=Math.max(b.width-2*c,100);if(this.ua!=b.width||this.ma!=a){this.ua=b.width;this.ma=a;var e=uQ(this);this.A.element.style.width=e+"px";this.A.element.style.left=c+"px";g.nP(this.B,c,e,a);this.F.rb().aa=e}c=this.u;e=Math.min(413*(a?1.5:1),Math.round(.82*(b.height-vQ(this))));c.maxWidth=Math.min(570*(a?1.5:1),d);c.Qp=e;c.yl();this.bw();!this.o.O().ia("html5_player_bottom_linear_gradient")&&g.P(this.o.O().experiments,"html5_player_dynamic_bottom_gradient")&& g.TN(this.wa,b.height)}; g.h.JJ=function(){var a=this.o.getVideoData();this.R.style.background=a.Wb?a.lf:"";g.UM(this.U,a.Hv)}; g.h.xa=function(){return this.A.element};g.r(g.wQ,g.W); g.wQ.prototype.la=function(){var a=this.api.getVideoData(),b=this.api.O(),c;a.Wb&&(a.lf||b.ea)?b.G?c=[{D:"div",I:"ytp-large-play-button-circle",P:{style:"background-color: "+(a.lf?a.lf:"#1f1f1f")}},g.X?{D:"div",X:["ytp-icon","ytp-icon-dni-large-play-button"]}:{D:"svg",P:{height:"100%",version:"1.1",viewBox:"4 -6 60 60",width:"100%"},K:[{D:"path",P:{d:"m 26.96,13.67 18.37,9.62 -18.37,9.55 -0.00,-19.17 z",fill:"#fff"}}]}]:c=b.ea?[g.X?{D:"div",X:["ytp-icon","ytp-icon-dni-chazal-large-play-button"]}:{D:"svg", P:{height:"100%",version:"1.1",viewBox:"0 0 60 60",width:"100%"},K:[{D:"path",I:"ytp-dni-large-play-button-bg",P:{d:"M30,0A30,30,0,1,0,60,30,30,30,0,0,0,30,0Z",fill:"#1f1f1f"}},{D:"path",P:{d:"M21,41.65V18L43.7,29.85Z",fill:"#fff"}}]}]:[g.X?{D:"div",X:["ytp-icon","ytp-icon-dni-large-lozenge-play-button"]}:{D:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 68 48",width:"100%"},K:[{D:"path",I:"ytp-dni-large-play-button-bg",P:{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",P:{d:"M 45,24 27,14 27,34",fill:"#fff"}}]}]:b.G&&!b.C?c=[g.X?{D:"div",X:["ytp-icon","ytp-icon-large-play-button-hover"]}:{D:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 68 48",width:"100%"},K:[{D:"path",I:"ytp-large-play-button-bg",P:{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",P:{d:"M 45,24 27,14 27,34",fill:"#fff"}}]}]:(g.K(this.element,"ytp-touch-device",b.o),c=[b.C?g.X?{D:"div",X:["ytp-icon","ytp-icon-house-brand-large-play-button"]}:{D:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 60 60",width:"100%"},K:[{D:"path",I:"ytp-large-play-button-bg",P:{d:"M30,0A30,30,0,1,0,60,30,30,30,0,0,0,30,0Z",fill:"#1f1f1f"}},{D:"path",P:{d:"M21,41.65V18L43.7,29.85Z",fill:"#fff"}}]}:g.X?{D:"div",X:["ytp-icon","ytp-icon-large-play-button"]}:{D:"svg",P:{height:"100%", version:"1.1",viewBox:"0 0 68 48",width:"100%"},K:[{D:"path",I:"ytp-large-play-button-bg",P:{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",P:{d:"M 45,24 27,14 27,34",fill:"#fff"}}]}]);this.oa("largePlayButtonChildren", c);a.Wb&&(a.lf||b.ea)&&!b.G&&(a=a.lf?a.lf:"#1f1f1f",this.da("ytp-dni-large-play-button-bg").setAttribute("fill",a))};g.r(xQ,g.W);g.h=xQ.prototype;g.h.show=function(){var a=this;this.Ka()||(this.A.N(this.api,"videodatachange",function(){a.o.Za()}),this.A.N(this.api,"videoplayerreset",function(){a.o.Za()})); g.W.prototype.show.call(this)}; g.h.hide=function(){this.A&&g.Wr(this.A);g.W.prototype.hide.call(this)}; g.h.gb=function(){this.o.Za()}; g.h.rI=function(a){var b=this.api.O();g.P(b.experiments,"disable_new_pause_state3")&&lz(b)&&(a=a.state.isCued()&&!a.mi.isCued()||g.wL(this.api)&&g.U(a.state,2),g.H(this.element,"transition-delay",a?"2s":""));this.o.Za()}; g.h.VN=function(){this.o.Za()}; g.h.qI=function(){this.u.stop();this.hide();this.o.Za()}; g.h.la=function(){var a=g.tL(this.api);if(3===this.api.getPresentingPlayerType()&&(a.nb()||g.U(a,4)))var b=!0;else(b=g.oL(this.api).Rb.get("ypc"))&&b.mq?b=!0:(b=this.api.O(),b=g.U(a,2)&&qL(this.api)&&b.fb?!0:!1);b?(b=!0,this.B.hide()):(this.B.show(),a.isCued()&&2!==this.api.getPresentingPlayerType()?b=!0:(b=!g.P(this.api.O().experiments,"disable_new_pause_state3"),b=!(!g.U(a,2)||qL(this.api)||b&&g.nT(this.api.app))||g.U(a,1024)?!0:!1));b?(this.u.show(),a=this.api.getVideoData(),this.hP(this.api.getPlaylist(), a)):(this.u.hide(),g.U(a,1)||this.u.stop())}; g.h.hP=function(a){for(var b=[],c=0;c([^<>]+)<\/a>/;g.r(BQ,g.W);BQ.prototype.ab=function(a,b){CQ(this,b);this.Pb&&DQ(this,this.Pb)}; BQ.prototype.G=function(a){var b=this.J.getVideoData();this.videoId!==b.videoId&&CQ(this,b);this.o&&DQ(this,a.state);this.Pb=a.state}; BQ.prototype.jc=function(){this.A.show();this.C=(0,g.C)()}; BQ.prototype.Pa=function(){this.A.hide();this.videoId&&(this.u[this.videoId]=(this.u[this.videoId]||0)+((0,g.C)()-this.C));this.C=0};g.r(FQ,g.W);FQ.prototype.hide=function(){this.o.stop();this.message.style.display="none";g.W.prototype.hide.call(this)}; FQ.prototype.u=function(a){EQ(this,a.state)}; FQ.prototype.A=function(){EQ(this,g.tL(this.api))}; FQ.prototype.B=function(){this.message.style.display="block"};g.r(HQ,g.bO);HQ.prototype.C=function(a){if(this.api.O().G||this.A)a?(GQ(this),this.jc()):(this.seen&&IQ(this),this.Pa())}; HQ.prototype.B=function(a){this.api.isMutedByMutedAutoplay()&&g.tH(a,2)&&this.Pa()}; HQ.prototype.onClick=function(){this.api.unMute();IQ(this)};g.r(g.JQ,g.Ur);g.h=g.JQ.prototype;g.h.init=function(){var a=g.tL(this.api);this.Vk(a);this.ph();this.gb()}; g.h.JA=function(a,b){if(this.uc!=b.videoId){this.uc=b.videoId;var c=this.u;c.aa=b&&0=b){this.fa=!0;b=this.api.getPlayerSize().width/3;var c=this.api.getRootNode().getBoundingClientRect(),d=a.targetTouches[0].clientX-c.left;c=a.targetTouches[0].clientY-c.top;var e=10*(this.ua-1);02*b&&d<3*b&&(this.zu(1,d,c,e),this.api.seekBy(10*this.api.getPlaybackRate()));g.np(a)}this.pd=Date.now(); this.qd.start()}}; g.h.ZM=function(a){PQ(this,a)||(MQ(this)||!NQ(this,a)||this.Ca.isActive()||(OQ(this),g.np(a)),this.fa&&(this.fa=!1))}; g.h.Uo=function(){}; g.h.Au=function(){}; g.h.zu=function(){}; g.h.bD=function(){}; g.h.Uq=function(){var a=g.tL(this.api);g.U(a,2)&&qL(this.api)||(g.TC(a)?this.api.pauseVideo():(this.api.app.od=!0,this.api.playVideo(),this.Z&&document.activeElement==this.Z.B&&this.api.getRootNode().focus()))}; g.h.aN=function(a){var b=this.api.getPresentingPlayerType();if(!KQ(this,kp(a)))if(a=this.api.O(),g.P(a.experiments,"player_doubletap_to_seek")&&this.fa)this.fa=!1;else if((a.ra||g.P(a.experiments,"player_fullscreen_disabled_killswitch"))&&3!=b)try{this.api.toggleFullscreen()}catch(c){c.message.includes("fullscreen error")?g.gr(c):g.fr(c)}}; g.h.bN=function(a){QQ(this,.3,a.scale);g.np(a)}; g.h.cN=function(a){QQ(this,.1,a.scale)}; g.h.gb=function(){var a=g.uL(this.api).getPlayerSize(),b=this.api.getRootNode(),c=650<=a.width;g.Nt&&MN(this.u);g.K(b,"ytp-fullscreen",this.api.isFullscreen());g.K(b,"ytp-large-width-mode",c);g.K(b,"ytp-small-mode",this.fe());g.K(b,"ytp-big-mode",this.Lc());this.C&&this.C.o(a)}; g.h.DJ=function(a){this.Vk(a.state);this.ph()}; g.h.Qs=function(){var a=!!this.uc&&!g.pL(this.api),b=2==this.api.getPresentingPlayerType(),c=this.api.O(),d=this.api.getVideoData(1).Wb&&c.ea;if(b){if(Nsa&&g.P(c.experiments,"enable_visit_advertiser_support_on_ipad_mweb"))return!1;b=jM(g.oL(this.api));return a&&b.Gv()&&!d}return a&&(c.Gi||this.api.isFullscreen()||c.Xc)&&!d}; g.h.ph=function(){var a=this.Qs();this.F!=a&&(this.F=a,g.K(this.api.getRootNode(),"ytp-hide-info-bar",!a))}; g.h.Vk=function(a){var b;(b=a.isCued())||(b=((b=g.V(this.api.app,void 0))?nK(b):!0)&&3!=this.api.getPresentingPlayerType());b!=this.isCued&&(this.isCued=b,this.cd&&this.kb(this.cd),this.cd=this.N(g.uL(this.api),"touchstart",this.eN,void 0,b));var c=a.nb()&&!g.U(a,32)||HL(this.api);this.u.oc(128,!c);c=3==this.api.getPresentingPlayerType();this.u.oc(256,c);c=this.api.getRootNode();if(g.U(a,2))var d=[o2.ENDED];else d=[],g.U(a,8)?d.push(o2.PLAYING):g.U(a,4)&&d.push(o2.PAUSED),g.U(a,1)&&!g.U(a,32)&&d.push(o2.BUFFERING), g.U(a,32)&&d.push(o2.SEEKING),g.U(a,64)&&d.push(o2.UNSTARTED);g.wb(this.Ya,d)||(g.In(c,this.Ya),this.Ya=d,g.Gn(c,d));d=this.api.O();var e=g.U(a,2);g.K(c,"ytp-hide-controls",("3"==d.controlsType?!e:"1"!=d.controlsType)||b);g.K(c,"ytp-native-controls","3"==d.controlsType&&!b&&!e&&!this.Yb);g.U(a,128)&&!g.Py(d)?(this.C||(this.C=new g.yQ(this.api),g.A(this,this.C),g.NL(this.api,this.C.element,4)),this.C.A(a.u),this.C.show()):this.C&&(this.C.dispose(),this.C=null)}; g.h.Og=function(){return g.CL(this.api)&&g.DL(this.api)?(this.api.setCardsVisible(!1,!1),!0):g.pL(this.api)?(g.rL(this.api,!0),!0):!1}; g.h.CJ=function(a){this.Yb=a;this.Ie()}; g.h.Lc=function(){return!1}; g.h.fe=function(){return!this.Lc()&&(480>this.api.getPlayerSize().width||290>this.api.getPlayerSize().height)}; g.h.vj=function(){return this.Yc}; g.h.Mm=function(){return null}; g.h.ru=function(){var a=g.uL(this.api).getPlayerSize();return new g.wh(0,0,a.width,a.height)}; g.h.handleGlobalKeyDown=function(){return!1}; g.h.handleGlobalKeyUp=function(){return!1}; g.h.jl=function(){}; g.h.showControls=function(a){if(void 0!=a){var b=g.uL(this.api);Uy(b.app.O());b.C=!a;dN(b)}}; g.h.uu=function(){}; g.h.Ey=function(){return null};var Lla={seekableStart:0,seekableEnd:1,current:0};g.r(RQ,g.aO);RQ.prototype.B=function(){var a=this.u.getProgressState();a=OO(new MO(a.seekableStart,a.seekableEnd),a.current,0);this.F.style.width=100*a+"%"}; RQ.prototype.C=function(){g.ez(this.A.O())||(2==this.A.getPresentingPlayerType()?-1===this.o&&(this.show(),this.o=this.u.subscribe("b",this.B,this),this.B()):-1!==this.o&&(this.hide(),this.u.li(this.o),this.o=-1))};g.r(SQ,g.O);g.h=SQ.prototype;g.h.KA=function(){return g.P(this.o.O().experiments,"html5_disable_continuous_timeline_for_duration")?1E3*this.o.getDuration(this.u,!1):1E3*this.o.getDuration(this.u)}; g.h.stop=function(){this.B&&this.A.kb(this.B)}; g.h.LA=function(){var a=this.o.getProgressState(this.u);this.C={seekableStart:a.seekableStart,seekableEnd:a.seekableEnd,current:g.P(this.o.O().experiments,"halftime_ux_killswitch")?a.current:this.o.getCurrentTime(this.u,!1)};this.S("b")}; g.h.getProgressState=function(){return this.C}; g.h.LJ=function(a){g.tH(a,2)&&this.S("a")};g.r(UQ,g.W);g.h=UQ.prototype;g.h.jc=function(){this.u.show();g.Uo("iv-button-shown")}; g.h.Pa=function(){g.Uo("iv-button-hidden");this.u.hide()}; g.h.Sd=function(){return this.Ka()&&4!==this.u.state}; g.h.Y=function(){this.o&&this.o();g.W.prototype.Y.call(this)}; g.h.xL=function(){g.Uo("iv-button-mouseover")}; g.h.onClicked=function(a){g.CL(this.J);var b=g.Fn(this.J.getRootNode(),"ytp-cards-teaser-shown");g.Uo("iv-teaser-clicked",b);a=0===a.screenX&&0===a.screenY;this.J.setCardsVisible(!g.DL(this.J),a,"YOUTUBE_DRAWER_MANUAL_OPEN")};g.r(VQ,g.W);g.h=VQ.prototype;g.h.CD=function(){g.CL(this.u)&&g.DL(this.u)&&this.Sd()&&this.Pa()}; g.h.YO=function(){this.Pa();g.Uo("iv-teaser-clicked",!!this.o);this.u.setCardsVisible(!0,!1,"YOUTUBE_DRAWER_MANUAL_OPEN")}; g.h.EJ=function(){g.Uo("iv-teaser-mouseover");this.o&&this.o.stop()}; g.h.vN=function(a){this.o||!a||g.DL(this.u)||this.A&&this.A.isActive()||(Mla(this,a),g.Uo("iv-teaser-shown"))}; g.h.Bu=function(){if(g.Py(this.u.O())&&this.Ka()){var a=this.C.element.offsetLeft,b=g.je("ytp-cards-button-icon"),c=this.u.isFullscreen()?54:36;if(b){var d=a+b.offsetLeft;this.element.style.marginRight=this.C.element.offsetParent.offsetWidth-a-b.offsetLeft-c+"px";this.element.style.marginLeft=d+"px"}}}; g.h.dF=function(){g.Py(this.u.O())&&this.T.fe()&&this.Ka()&&this.R.start()}; g.h.BB=function(){this.H.stop();this.o&&this.o.isActive()&&this.L.start()}; g.h.AB=function(){this.L.stop();this.o&&!this.o.isActive()&&this.H.start()}; g.h.bM=function(){this.o&&this.o.stop()}; g.h.ZL=function(){this.Pa()}; g.h.Pa=function(){!this.o||this.B&&this.B.isActive()||(g.Uo("iv-teaser-hidden"),this.F.hide(),g.Hn(this.u.getRootNode(),"ytp-cards-teaser-shown"),this.B=new g.I(function(){for(var a=g.p(this.G),b=a.next();!b.done;b=a.next())this.kb(b.value);this.G=[];this.o&&(this.o.dispose(),this.o=null);TQ(this.C,!0)},330,this),this.B.start())}; g.h.Sd=function(){return this.Ka()&&4!==this.F.state}; g.h.Y=function(){var a=this.u.getRootNode();a&&g.Hn(a,"ytp-cards-teaser-shown");g.Oe(this.A,this.B,this.o);g.W.prototype.Y.call(this)};g.r(g.WQ,g.W);g.WQ.prototype.show=function(){g.W.prototype.show.call(this);this.o.Za()}; g.WQ.prototype.hide=function(){this.u.stop();g.W.prototype.hide.call(this)};g.r(g.aR,g.Ur);g.aR.prototype.N=function(a,b,c){return g.Ur.prototype.N.call(this,a,b,c)};g.r(cR,g.vP);cR.prototype.o=function(a){g.op(a)||39!==g.pp(a)||(this.element.click(),g.np(a))};g.r(fR,g.BP);g.h=fR.prototype;g.h.aL=function(){mO(this.ak.element)}; g.h.WN=function(){gR(this,this.J.getDebugText(!0))&&XQ(this.dc,jN())}; g.h.XN=function(){gR(this,this.J.getVideoEmbedCode())&&XQ(this.dc,qN());g.SL(this.J,this.rf.element);bR("EMBED",this.J.getVideoData().videoId,this.J.getPlaylistId()||"")}; g.h.YN=function(){gR(this,this.J.getVideoUrl(!0,!0))&&XQ(this.dc,vN());g.SL(this.J,this.getVideoUrl.element);bR("COPY_PASTE",this.J.getVideoData().videoId,this.J.getPlaylistId()||"")}; g.h.ZN=function(){gR(this,this.J.getVideoUrl(!1,!0))&&XQ(this.dc,vN());g.SL(this.J,this.uf.element);bR("COPY_PASTE",this.J.getVideoData().videoId,this.J.getPlaylistId()||"")}; g.h.yB=function(a){this.Cf.setValue(a)}; g.h.aO=function(){var a=this.Cf.getValue();FT(this.J.app,a);this.La.Pa();g.SL(this.J,this.Cf.element)}; g.h.TM=function(a){this.J.reportPlaybackIssue();if(g.jO(a,this.J,!lz(this.J.O()))){a=this.J;var b={as3:!1,html5:!0,player:!0};b=b||{};var c=a.getVideoStats().debug_error;c&&(b.player_error=c.errorCode,b.player_error_details=c.errorDetail);b.debug_text=a.getDebugText(!0);a.sa("onFeedbackStartRequest",b);a.isFullscreen()&&a.toggleFullscreen()}this.La.Pa()}; g.h.mN=function(){this.J.showVideoInfo();this.La.Pa()}; g.h.ab=function(a,b){this.Kf(b)}; g.h.Kf=function(a){var b=this.J.O(),c=2===this.J.getPresentingPlayerType(),d=!c||a.isListed;d=!b.L&&!!a.videoId&&d;"play"!==b.playerStyle?b="https://support.google.com/youtube/?p=report_playback":(b={contact_type:"playbackissue",html5:1,ei:a.eventId,v:a.videoId,p:"movies_playback"},a.Fa&&(b.fmt=kt(a.Fa)),a.clientPlaybackNonce&&(b.cpn=a.clientPlaybackNonce),a.We&&(b.partnerid=a.We),b=g.Ed("//support.google.com/googleplay/",b));g.UM(this.rf,d&&a.allowEmbed);g.UM(this.getVideoUrl,d);g.UM(this.uf,d&& !a.ya);this.fn.xb(b,"href");g.UM(this.Cf,!a.ya&&!c)}; g.h.ib=function(a){g.BP.prototype.ib.call(this,a);g.TL(this.J,this.rf.element,a);g.TL(this.J,this.getVideoUrl.element,a);g.TL(this.J,this.uf.element,a);g.TL(this.J,this.Cf.element,a)};g.r(g.iR,g.IP);g.h=g.iR.prototype;g.h.show=function(){this.B||(this.B=new fR(this.J,this.T,this,this.dc),g.A(this,this.B),g.MP(this,this.B));this.B.yB(iL(this.J.app.F));g.IP.prototype.show.call(this);g.TL(this.J,this.element,!0);this.B.ib(!0)}; g.h.hide=function(){hR(this);g.IP.prototype.hide.call(this);g.TL(this.J,this.element,!1);this.B&&this.B.ib(!1)}; g.h.ZK=function(a){var b=kp(a);if(!(this.Ka()||b&&(g.Je(b,"a")||g.Je(b,null,"ytp-no-contextmenu",void 0)))){g.np(a);jR(this);b=this.J.getVideoData();g.K(this.element,"ytp-dni",b.Wb);this.element.style.left="";this.element.style.top="";a=mp(a);a.x++;a.y++;this.jc();var c=document.body;b=new uh(0,Infinity,Infinity,0);var d=fe(c);for(var e=d.o.body,f=d.o.documentElement,k=ne(d.o);c=Jh(c);)if(!(g.oe&&0==c.clientWidth||g.qe&&0==c.clientHeight&&c==e)&&c!=e&&c!=f&&"visible"!=Eh(c,"overflow")){var l=g.Kh(c), m=new g.Yd(c.clientLeft,c.clientTop);l.x+=m.x;l.y+=m.y;b.top=Math.max(b.top,l.y);b.right=Math.min(b.right,l.x+c.clientWidth);b.bottom=Math.min(b.bottom,l.y+c.clientHeight);b.left=Math.max(b.left,l.x)}e=k.scrollLeft;k=k.scrollTop;b.left=Math.max(b.left,e);b.top=Math.max(b.top,k);d=d.o;d=me(d.parentWindow||d.defaultView||window);b.right=Math.min(b.right,e+d.width);b.bottom=Math.min(b.bottom,k+d.height);d=0<=b.top&&0<=b.left&&b.bottom>b.top&&b.right>b.left?b:null;b=this.size;a=a.clone();b=b.clone(); d&&(k=a,e=b,f=5,65==(f&65)&&(k.x=d.right)&&(f&=-2),132==(f&132)&&(k.y=d.bottom)&&(f&=-5),k.xd.right&&(e.width=Math.min(d.right-k.x,c+e.width-d.left),e.width=Math.max(e.width,0))),k.x+e.width>d.right&&f&1&&(k.x=Math.max(d.right-e.width,d.left)),k.yd.bottom&&(e.height=Math.min(d.bottom-k.y,c+e.height-d.top),e.height=Math.max(e.height, 0))),k.y+e.height>d.bottom&&f&4&&(k.y=Math.max(d.bottom-e.height,d.top)));d=new g.wh(0,0,0,0);d.left=a.x;d.top=a.y;d.width=b.width;d.height=b.height;g.Gh(this.element,new g.Yd(d.left,d.top));g.Wr(this.F);this.F.N(document,"contextmenu",this.hL);this.F.N(this.J,"fullscreentoggled",this.pI);this.F.N(this.J,"pageTransition",this.oM)}}; g.h.hL=function(a){if(!g.op(a)){var b=kp(a);g.De(this.element,b)||this.Pa();this.J.O().Mn&&g.np(a)}}; g.h.pI=function(){this.Pa();jR(this)}; g.h.oM=function(){this.Pa()};g.r(g.kR,g.Ur);g.h=g.kR.prototype; g.h.Ty=function(a){var b=!1,c=g.pp(a),d=kp(a),e=!a.altKey&&!a.ctrlKey&&!a.metaKey,f=!1,k=!1,l=this.o.O();g.op(a)?(e=!1,k=!0):l.Yb&&(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(e&&!f)switch(c){case 38:f=Math.min(this.o.getVolume()+5,100);ZQ(this.u,f,!1);this.o.setVolume(f);k=f=!0;break;case 40:f=Math.max(this.o.getVolume()-5,0);ZQ(this.u,f,!0);this.o.setVolume(f);k=f=!0;break;case 36:this.o.jd()&&(this.o.seekTo(0),k=f=!0);break; case 35:this.o.jd()&&(this.o.seekTo(Infinity),k=f=!0)}}b&&this.Cv(!0);(b||k)&&this.C.oc(2,!0);(f||e&&this.handleGlobalKeyDown(c,a.shiftKey,a.ctrlKey,a.altKey,a.metaKey,a.key,a.code))&&g.np(a);l.A&&(a={keyCode:g.pp(a),altKey:a.altKey,ctrlKey:a.ctrlKey,metaKey:a.metaKey,shiftKey:a.shiftKey,handled:g.op(a),fullscreen:this.o.isFullscreen()},this.o.sa("onKeyPress",a))}; g.h.Uy=function(a){this.handleGlobalKeyUp(g.pp(a),a.shiftKey,a.ctrlKey,a.altKey,a.metaKey,a.key,a.code)}; g.h.handleGlobalKeyUp=function(a){var b=!1,c=g.zL(g.oL(this.o));c&&(c=c.Bi)&&c.Ka()&&(c.Ry(a),b=!0);9==a&&(this.Cv(!0),b=!0);return b}; g.h.handleGlobalKeyDown=function(a,b,c,d,e,f){d=!1;c=this.o.O();if(c.Yb)return d;if((e=g.zL(g.oL(this.o)))&&(e=e.Bi)&&e.Ka())switch(a){case 65:case 68:case 87:case 83:case 107:case 221:case 109:case 219:d=e.Qy(a)}c.C||d||(f=f||String.fromCharCode(a).toLowerCase(),this.A+=f,0=="awesome".indexOf(this.A)?(d=!0,7==this.A.length&&(f=this.o.getRootNode(),e=!g.Fn(f,"ytp-color-party"),g.K(f,"ytp-color-party",e))):(this.A=f,d=0=="awesome".indexOf(this.A)));if(!d){switch(a){case 80:b&&!c.R&&(XQ(this.u,CN(), "Anterior"),this.o.previousVideo(),d=!0);break;case 78:b&&!c.R&&(XQ(this.u,xN(),"Siguiente"),this.o.nextVideo(),d=!0);break;case 74:this.o.jd()&&(XQ(this.u,g.X?{D:"div",X:["ytp-icon","ytp-icon-rewind-ten-seconds"]}:{D:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{D:"path",Sa:!0,I:"ytp-svg-fill",P:{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"}}]}), this.o.seekBy(-10*this.o.getPlaybackRate()),d=!0);break;case 76:this.o.jd()&&(XQ(this.u,g.X?{D:"div",X:["ytp-icon","ytp-icon-forward-ten-seconds"]}:{D:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{D:"path",Sa:!0,I:"ytp-svg-fill",P:{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"}}]}), this.o.seekBy(10*this.o.getPlaybackRate()),d=!0);break;case 37:this.o.jd()&&(XQ(this.u,g.X?{D:"div",X:["ytp-icon","ytp-icon-rewind-five-seconds"]}:{D:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{D:"path",Sa:!0,I:"ytp-svg-fill",P:{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.o.seekBy(-5*this.o.getPlaybackRate()),d=!0);break;case 39:this.o.jd()&&(XQ(this.u,g.X?{D:"div",X:["ytp-icon","ytp-icon-forward-five-seconds"]}:{D:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{D:"path",Sa:!0,I:"ytp-svg-fill",P:{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.o.seekBy(5*this.o.getPlaybackRate()),d=!0);break;case 77:this.o.isMuted()?(this.o.unMute(),ZQ(this.u,this.o.getVolume(),!1)):(this.o.mute(),ZQ(this.u,0,!0));d=!0;break;case 32:case 75:c.R||(b=!g.TC(g.tL(this.o)),g.YQ(this.u,b),b?this.o.playVideo():this.o.pauseVideo(),d=!0);break;case 190:b?c.Oa&&(b=this.o.getPlaybackRate(),this.o.setPlaybackRate(b+.25,!0),$Q(this.u,!1),d=!0):this.o.jd()&&(mR(this,1),d=!0);break;case 188:b?c.Oa&&(b=this.o.getPlaybackRate(),this.o.setPlaybackRate(b-.25,!0),$Q(this.u, !0),d=!0):this.o.jd()&&(mR(this,-1),d=!0);break;case 70:iO(this.o)&&(this.o.toggleFullscreen(),d=!0);break;case 27:this.F()&&(d=!0)}if("3"!=c.controlsType)switch(a){case 67:g.cM(g.oL(this.o))&&(b=this.o.getOption("captions","track"),this.o.toggleSubtitles(),b=!b||b&&!b.displayName?"Subt\u00edtulos activados":"Subt\u00edtulos desactivados",XQ(this.u,GN(),b),d=!0);break;case 79:lR(this,"textOpacity");break;case 87:lR(this,"windowOpacity");break;case 187:case 61:lR(this,"fontSizeIncrement",!1,!0);break; case 189:case 173:lR(this,"fontSizeIncrement",!0,!0)}var k;48<=a&&57>=a?k=a-48:96<=a&&105>=a&&(k=a-96);null!=k&&this.o.jd()&&(a=this.o.getProgressState(),this.o.seekTo(k/10*(a.seekableEnd-a.seekableStart)+a.seekableStart),d=!0);d&&this.C.oc(2,!0)}return d}; g.h.Cv=function(a){g.K(this.o.getRootNode(),"ytp-probably-keyboard-focus",a);g.K(this.G.element,"ytp-probably-keyboard-focus",a)}; g.h.cD=function(a){g.cM(g.oL(this.o))&&this.o.setOption("captions","sampleSubtitles",a)}; g.h.Y=function(){this.B.qf();g.Ur.prototype.Y.call(this)};g.r(nR,g.W);nR.prototype.onClick=function(){this.J.sa("BACK_CLICKED")};g.Ga("yt.pubsub.publish",g.Uo,void 0);var w2={},qR=(w2.BUTTON="ytp-button",w2.TITLE_NOTIFICATIONS="ytp-title-notifications",w2.TITLE_NOTIFICATIONS_ON="ytp-title-notifications-on",w2.TITLE_NOTIFICATIONS_OFF="ytp-title-notifications-off",w2.NOTIFICATIONS_ENABLED="ytp-notifications-enabled",w2);g.r(rR,g.W); rR.prototype.onClick=function(){g.SL(this.api,this.element);var a=!this.o;this.oa("label",a?"Dejar de recibir notificaciones cada vez que haya un v\u00eddeo nuevo":"Recibir una notificaci\u00f3n cada vez que haya un v\u00eddeo nuevo");this.oa("pressed",a);tR(this,a)};g.r(g.vR,g.W);g.vR.prototype.u=function(){g.J(this.element,"ytp-sb-subscribed")}; g.vR.prototype.A=function(){g.Hn(this.element,"ytp-sb-subscribed")};g.r(wR,g.W);g.h=wR.prototype;g.h.lv=function(){zR(this);this.channel.classList.remove("ytp-title-expanded")}; g.h.isExpanded=function(){return this.channel.classList.contains("ytp-title-expanded")}; g.h.Gs=function(){if(xR(this)&&!this.isExpanded()){this.oa("channelTitleFocusable","0");this.A&&this.A.stop();this.subscribeButton&&(this.subscribeButton.show(),g.TL(this.api,this.subscribeButton.element,!0));var a=this.api.getVideoData();this.u&&a.rl&&a.subscribed&&(this.u.show(),g.TL(this.api,this.u.element,!0));this.channel.classList.add("ytp-title-expanded");this.channel.classList.add("ytp-title-show-expanded")}}; g.h.ks=function(){this.oa("channelTitleFocusable","-1");this.A&&this.A.start()}; g.h.la=function(){var a=this.api.getVideoData(),b=this.api.O(),c=!1;2===this.api.getPresentingPlayerType()?c=!!a.videoId&&!!a.isListed&&!!a.author&&!!a.Jg&&!!a.je:g.Py(b)&&(c=!!a.videoId&&!!a.Jg&&!!a.je);b=g.yz(this.api.O())+a.Jg;g.Py(this.api.O())&&(b=g.Ed(b,g.DI({},"emb_ch_name_ex")));var d=a.Jg,e=a.je,f=a.author;d=void 0===d?"":d;e=void 0===e?"":e;f=void 0===f?"":f;c?(d=g.yz(this.api.O())+d,this.o.style.backgroundImage="url("+e+")",this.oa("channelLink",d),this.oa("channelLogoLabel",g.KM("Foto de $CHANNEL_NAME", {CHANNEL_NAME:f})),g.J(this.api.getRootNode(),"ytp-title-enable-channel-logo")):g.Hn(this.api.getRootNode(),"ytp-title-enable-channel-logo");g.TL(this.api,this.o,c&&this.M);this.subscribeButton&&(this.subscribeButton.channelId=a.qh);this.oa("expandedTitle",a.em);this.oa("channelTitleLink",b);this.oa("expandedSubtitle",a.expandedSubtitle)};g.r(AR,g.W); AR.prototype.onClick=function(){var a=this.api.O(),b=this.api.getVideoData(),c=this.api.getPlaylistId();a=a.getVideoUrl(b.videoId,c,void 0,!0);b=!1;c=g.ve("TEXTAREA");c.value=a;c.setAttribute("readonly","");document.body.appendChild(c);if(rl){var d=window.getSelection();d.removeAllRanges();var e=document.createRange();e.selectNodeContents(c);d.addRange(e);c.setSelectionRange(0,a.length)}else c.select();try{b=document.execCommand("copy")}catch(f){}document.body.removeChild(c);b&&Ola(this);g.SL(this.api, this.element)}; AR.prototype.la=function(){var a=this.api.O(),b=this.api.getVideoData();this.o.fe()&&g.Py(a)&&a.G?this.oa("icon",{D:"div",X:["ytp-icon","ytp-icon-share-copylink-large"]}):this.oa("icon",g.X?{D:"div",X:["ytp-icon","ytp-icon-share-copylink"]}:{D:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{D:"path",Sa:!0,I:"ytp-svg-fill",P:{d:"M21.9,8.3H11.3c-0.9,0-1.7,.8-1.7,1.7v12.3h1.7V10h10.6V8.3z M24.6,11.8h-9.7c-1,0-1.8,.8-1.8,1.8v12.3 c0,1,.8,1.8,1.8,1.8h9.7c1,0,1.8-0.8,1.8-1.8V13.5C26.3,12.6,25.5,11.8,24.6,11.8z M24.6,25.9h-9.7V13.5h9.7V25.9z"}}]}); this.oa("title-attr","Copiar enlace");a=g.uL(this.api).getPlayerSize().width;this.visible=!!b.videoId&&240<=a&&b.pn;g.K(this.element,"ytp-copylink-button-visible",this.visible);g.UM(this,this.visible);GO(this.tooltip);g.TL(this.api,this.element,this.visible&&this.M)}; AR.prototype.ib=function(a){g.W.prototype.ib.call(this,a);g.TL(this.api,this.element,this.visible&&a)}; AR.prototype.Y=function(){g.W.prototype.Y.call(this);g.Hn(this.element,"ytp-copylink-button-visible")};g.r(CR,g.W);CR.prototype.show=function(){g.W.prototype.show.call(this);this.o.Za()}; CR.prototype.hide=function(){this.u.stop();g.W.prototype.hide.call(this)};g.r(DR,g.W);DR.prototype.la=function(){var a=g.Py(this.J.O())&&g.wL(this.J)&&g.U(g.tL(this.J),128),b=this.J.getPlayerSize();this.visible=this.o.fe()&&!a&&240<=b.width;g.K(this.element,"ytp-overflow-button-visible",this.visible);this.visible&&GO(this.tooltip);g.TL(this.J,this.element,this.visible&&this.M)}; DR.prototype.ib=function(a){g.W.prototype.ib.call(this,a);g.TL(this.J,this.element,this.visible&&a)}; DR.prototype.Y=function(){g.W.prototype.Y.call(this);g.Hn(this.element,"ytp-overflow-button-visible")};g.r(ER,g.bO);g.h=ER.prototype;g.h.vI=function(a){a=kp(a);g.De(this.element,a)&&(g.De(this.u,a)||g.De(this.closeButton,a)||dO(this))}; g.h.Pa=function(){g.bO.prototype.Pa.call(this);this.tooltip.Wf(this.element)}; g.h.show=function(){this.Ka()&&this.J.S("OVERFLOW_PANEL_OPENED");g.bO.prototype.show.call(this);GR(this,!0)}; g.h.hide=function(){g.bO.prototype.hide.call(this);GR(this,!1)}; g.h.uI=function(a){!a&&this.Sd()&&dO(this)}; g.h.focus=function(){for(var a=g.p(this.actionButtons),b=a.next();!b.done;b=a.next())if(b=b.value,b.Ka()){b.focus();break}};g.r(HR,g.W);HR.prototype.Jb=function(a){this.element.setAttribute("aria-checked",String(a))}; HR.prototype.onClick=function(a){g.jO(a,this.api)&&this.api.playVideoAt(this.index)};g.r(IR,g.bO);g.h=IR.prototype;g.h.show=function(){g.bO.prototype.show.call(this);this.u.N(this.api,"videodatachange",this.mu);this.u.N(this.api,"onPlaylistUpdate",this.mu);this.mu()}; g.h.hide=function(){g.bO.prototype.hide.call(this);g.Wr(this.u);this.updatePlaylist(null)}; g.h.mu=function(){this.updatePlaylist(this.api.getPlaylist())}; g.h.Dq=function(){var a=this.playlist,b=a.A;if(b===this.A)this.selected.Jb(!1),this.selected=this.playlistData[a.index];else{for(var c=g.p(this.playlistData),d=c.next();!d.done;d=c.next())d.value.dispose();c=a.getLength();this.playlistData=[];for(d=0;dg.uL(this.api).getPlayerSize().width&&!a);this.playlist&&2!==this.api.getPresentingPlayerType()?(this.update({text:g.KM("$CURRENT_POSITION/$PLAYLIST_LENGTH",{CURRENT_POSITION:String(this.playlist.index+1),PLAYLIST_LENGTH:String(this.playlist.getLength())}),title:g.KM("Lista de reproducci\u00f3n: $PLAYLIST_NAME",{PLAYLIST_NAME:this.playlist.title})}),this.Ka()||(this.show(),GO(this.tooltip)),this.visible= !0):this.Ka()&&(this.hide(),GO(this.tooltip))}; JR.prototype.ib=function(a){g.W.prototype.ib.call(this,a);g.TL(this.api,this.element,this.visible&&a)}; JR.prototype.o=function(){this.playlist&&this.playlist.unsubscribe("shuffle",this.la,this);(this.playlist=this.api.getPlaylist())&&this.playlist.subscribe("shuffle",this.la,this);this.la()};g.r(KR,g.W); KR.prototype.A=function(a){if(a){this.tooltipRenderer=a;a=this.tooltipRenderer.text;var b=!1;a&&(this.update({title:a.toString()}),b=!0);g.Sh(this.title,b);a=this.tooltipRenderer.detailsText;b=!1;a&&(this.update({details:a.toString()}),b=!0);g.Sh(this.details,b);a=this.tooltipRenderer.acceptButton;b=!1;a&&a.buttonRenderer&&(this.update({acceptButtonText:a.buttonRenderer.text.toString()}),b=!0);g.Sh(this.acceptButton,b);a=this.tooltipRenderer.dismissButton;b=!1;a&&a.buttonRenderer&&(this.update({dismissButtonText:a.buttonRenderer.text.toString()}),b= !0);g.Sh(this.dismissButton,b)}a=document.querySelectorAll('[data-tooltip-target-id="'+this.tooltipRenderer.targetId+'"]');this.o=0=this.u&&!a;g.K(this.element,"ytp-share-button-visible",this.visible);g.UM(this,this.visible);GO(this.tooltip);g.TL(this.api,this.element,this.visible&&this.M)}; g.MR.prototype.ib=function(a){g.W.prototype.ib.call(this,a);g.TL(this.api,this.element,this.visible&&a)}; g.MR.prototype.Y=function(){g.W.prototype.Y.call(this);g.Hn(this.element,"ytp-share-button-visible")};g.r(g.NR,g.bO);g.h=g.NR.prototype;g.h.CI=function(a){a=kp(a);g.De(this.C,a)||g.De(this.closeButton,a)||dO(this)}; g.h.Pa=function(){g.bO.prototype.Pa.call(this);this.tooltip.Wf(this.element)}; g.h.show=function(){var a=this.Ka();g.bO.prototype.show.call(this);this.la();a||this.api.sa("onSharePanelOpened")}; g.h.la=function(){var a=this;g.J(this.element,"ytp-share-panel-loading");g.Hn(this.element,"ytp-share-panel-fail");var b=this.api.getVideoData(),c=this.api.getPlaylistId(),d=c&&this.B.checked;g.K(this.element,"ytp-share-panel-has-playlist",!!c);var e=this.api.O();g.P(e.experiments,"web_player_innertube_share_panel")?HJ(sR(this.api.app),b.getSharePanelCommand).then(function(f){OR(a,f)}):(b={action_get_share_info:1, video_id:b.videoId},e.dd&&(b.authuser=e.dd),e.pageId&&(b.pageid=e.pageId),g.Py(e)&&g.DI(b,"emb_share"),d&&(b.list=c),g.wq(e.H+"share_ajax",{method:"GET",onError:function(){QR(a)}, onSuccess:function(f,k){k?OR(a,k):QR(a)}, oe:b,withCredentials:!0}));c=this.api.getVideoUrl(!0,!0,!1,!0);this.oa("link",c);this.oa("linkText",c);this.oa("shareLinkWithUrl",g.KM("Compartir enlace: $URL",{URL:c}));mO(this.A)}; g.h.BI=function(a){!a&&this.Sd()&&dO(this)}; g.h.focus=function(){this.A.focus()}; g.h.Y=function(){g.bO.prototype.Y.call(this);PR(this)};g.r(SR,g.bO);SR.prototype.show=function(){g.bO.prototype.show.call(this);this.u.start()}; SR.prototype.hide=function(){g.bO.prototype.hide.call(this);this.u.stop()};var x2={},TR=(x2.CHANNEL_NAME="ytp-title-channel-name",x2.FULLERSCREEN_LINK="ytp-title-fullerscreen-link",x2.LINK="ytp-title-link",x2.SESSIONLINK="yt-uix-sessionlink",x2.SUBTEXT="ytp-title-subtext",x2.TEXT="ytp-title-text",x2.TITLE="ytp-title",x2);g.r(UR,g.W);UR.prototype.onClick=function(a){g.SL(this.api,this.element);var b=this.api.getVideoUrl(!g.MM(a),!1,!0);g.Py(this.api.O())&&(b=g.Ed(b,g.DI({},"emb_title")));g.kO(b,this.api,a)}; UR.prototype.la=function(){var a=this.api.getVideoData(),b=this.api.O();this.oa("title",a.title);VR(this);if(2===this.api.getPresentingPlayerType()){var c=this.api.getVideoData();c.videoId&&c.isListed&&c.author&&c.Jg&&c.je?(this.oa("channelLink",c.Jg),this.oa("channelName",c.author)):VR(this)}c=b.externalFullscreen||!this.api.isFullscreen()&&b.Xc;g.K(this.link,TR.FULLERSCREEN_LINK,c);b.L||!a.videoId||c?this.o&&(this.oa("url",null),this.kb(this.o),this.o=null):(this.oa("url",this.api.getVideoUrl(!0)), this.o||(this.o=this.N(this.link,"click",this.onClick)))};g.r(g.YR,g.W);g.h=g.YR.prototype;g.h.vB=function(a,b){if(a<=this.B&&this.B<=b){var c=this.B;this.B=NaN;ZR(this,c)}}; g.h.aH=function(){ZA(this.o,this.B,160*this.A)}; g.h.pg=function(){switch(this.type){case 2:var a=this.u;a.removeEventListener("mouseout",this.T);a.addEventListener("mouseover",this.C);g.P(this.H.experiments,"show_tooltip_on_tab_killswitch")||(a.removeEventListener("blur",this.T),a.addEventListener("focus",this.C));dS(this);break;case 3:dS(this);break;case 1:this.o&&(this.o.unsubscribe("l",this.vB,this),this.o=null),this.api.removeEventListener("videoready",this.U),this.Z.stop()}this.type=null;this.L&&this.G.hide()}; g.h.Wf=function(a){for(var b=0;b(b.height-k.height)/2?l.y-f.height-12:l.y+k.height+12);a.style.top=f+(e||0)+"px";a.style.left=c+"px"}; g.h.Qm=function(a){a&&(this.R.Wf(this.B.element),this.o&&this.R.Wf(this.o.xa()));g.JQ.prototype.Qm.call(this,a)}; g.h.ru=function(a,b){var c=g.uL(this.api).getPlayerSize();c=new g.wh(0,0,c.width,c.height);if(a||this.u.u&&!this.yi()){if(this.api.O().Gi||b){var d=this.Lc()?this.wb:this.Bb;c.top+=d;c.height-=d}this.o&&(c.height-=vQ(this.o))}return c}; g.h.FJ=function(a){var b=this.api.getRootNode();a?b.parentElement?(b.setAttribute("aria-label","Reproductor de v\u00eddeo de YouTube a pantalla completa"),this.api.O().externalFullscreen||(b.parentElement.insertBefore(this.Ga.element,b),b.parentElement.insertBefore(this.Ea.element,b.nextSibling))):g.M(Error("Player not in DOM.")):(b.setAttribute("aria-label","Reproductor de v\u00eddeo de YouTube"),this.Ga.detach(),this.Ea.detach());this.gb();this.ph()}; g.h.Lc=function(){return this.api.isFullscreen()||!1}; g.h.showControls=function(a){this.Ob=!a;this.Ie()}; g.h.gb=function(){var a=this.Lc();this.R.A=a?1.5:1;this.L&&g.K(this.L.element,"ytp-big-mode",a);this.Ie();if(this.fe()&&this.A)this.M&&FR(this.A,this.M),this.H&&FR(this.A,this.H),this.G&&FR(this.A,this.G);else{if(this.A){a=this.A;for(var b=g.p(a.actionButtons),c=b.next();!c.done;c=b.next())c.value.detach();a.actionButtons=[]}this.M&&!g.De(this.ga.element,this.M.element)&&this.M.ca(this.ga.element);this.H&&!g.De(this.ga.element,this.H.element)&&this.H.ca(this.ga.element);this.G&&!g.De(this.ga.element, this.G.element)&&this.G.ca(this.ga.element)}this.ph();g.JQ.prototype.gb.call(this)}; g.h.Qs=function(){if(mS(this)&&!g.wL(this.api))return!1;var a=this.api.getVideoData();return!g.Py(this.api.O())||2==this.api.getPresentingPlayerType()||!this.Zf||((a=this.Zf||a.Zf)?(a=a.embedPreview)?(a=a.thumbnailPreviewRenderer,a=a.videoDetails&&a.videoDetails.embeddedPlayerOverlayVideoDetailsRenderer||null):a=null:a=null,a&&a.collapsedRenderer&&a.expandedRenderer)?g.JQ.prototype.Qs.call(this):!1}; g.h.ph=function(){g.JQ.prototype.ph.call(this);g.TL(this.api,this.Bc.element,!!this.F);this.wa&&this.wa.ib(!!this.F);this.ob.ib(!!this.F);this.Ma&&this.Ma.ib(this.fe()&&!!this.F);this.H&&this.H.ib(!this.fe()&&!!this.F);this.M&&this.M.ib(!this.fe()&&!!this.F);this.G&&this.G.ib(!this.fe()&&!!this.F);if(!this.F){this.R.Wf(this.B.element);for(var a=0;a=c,b.dis=this.C.lm("display"));(a=a?(0,g.gI)():null)&&(b.gpu=a);b.cgr=!0;b.debug_playbackQuality=this.o.getPlaybackQuality(1);b.debug_date=(new Date).toString();delete b.uga;delete b.q;(a=FL(this.B))&&(b=lU(b,a.Wa(),"fresca_"));return JSON.stringify(b,null,2)}; g.h.getPresentingPlayerType=function(){return 1==this.ba?1:fT(this)?3:g.V(this).getPlayerType()}; g.h.getAppState=function(){return this.ba}; g.h.xH=function(a){switch(a.type){case "loadedmetadata":QA("fvb",this.L.timerName)||this.L.tick("fvb");TA("fvb");this.Bb.start();break;case "loadstart":QA("gv",this.L.timerName)||this.L.tick("gv");TA("gv");break;case "progress":case "timeupdate":!QA("l2s",this.L.timerName)&&2<=au(a.target.Wd())&&this.L.tick("l2s");break;case "playing":g.sz&&this.Bb.start();if(g.dz(this.u))a=!1;else{var b=g.zL(this.B);a="none"==this.C.lm("display")||0==be(this.C.Pk());var c=cN(this.M),d=this.F.getVideoData(),e=qz(this.u)|| g.Yy(this.u);d=mB(d);b=!c||b||e||d||this.u.Ya;a=a&&!b}a&&(this.F.Xa("hidden","1",!0),this.getVideoData().tg||(YS(this,"html5_new_elem_on_hidden")?(this.getVideoData().tg=1,this.EB(null),this.F.playVideo()):eU(this,"hidden",!0)))}}; g.h.HL=function(a,b){this.o.sa("onLoadProgress",b)}; g.h.tN=function(){this.o.S("playbackstalledatstart")}; g.h.yH=function(a,b){var c=rT(this,a);b=IT(this,c.getCurrentTime(),c);this.o.sa("onVideoProgress",b)}; g.h.iL=function(){this.o.sa("onDompaused")}; g.h.GM=function(){this.o.S("progresssync")}; g.h.uH=function(a){if(1==this.getPresentingPlayerType()){g.tH(a,1)&&!g.U(a.state,64)&&uT(this).ya&&this.A.isAtLiveHead()&&1Math.random()&&g.er("autoplayTriggered",{intentional:this.od});this.qd=!1;var b=g.qs(this.Je||(this.H.o?3:0));if(b){var c={cpn:this.getVideoData().clientPlaybackNonce,csn:b};if(g.P(this.u.experiments,"web_playback_associated_ve")&&null!=this.getVideoData().fg){var d=g.js(this.getVideoData().fg);g.Hs(b, d);c.playbackVe=g.ks(d)}g.P(this.u.experiments,"kevlar_playback_associated_queue")&&this.getVideoData().queueInfo&&(c.queueInfo=this.getVideoData().queueInfo);b={};YS(this,"web_playback_associated_log_ctt")&&null!==this.getVideoData().zg&&(b.bk={token:this.getVideoData().zg,videoId:this.getVideoData().videoId});g.er("playbackAssociated",c,b)}YS(this,"web_player_inline_botguard")&&(c=this.getVideoData().botguardData)&&(xo("BG_I",c.interpreterScript),xo("BG_IU",c.interpreterUrl),xo("BG_P",c.program), g.nz(this.u)?vp(function(){BT(a)}):BT(this))}; g.h.yL=function(){this.o.S("internalAbandon");YS(this,"html5_ad_module_cleanup_killswitch")||KT(this)}; g.h.mB=function(a){a=a.o;if(!isNaN(a)&&0window.outerHeight*window.outerWidth/(window.screen.width*window.screen.height)&&this.C.dm()}; g.h.GL=function(a){3!=this.getPresentingPlayerType()&&this.o.S("liveviewshift",a)}; g.h.playVideo=function(a){if(a=g.V(this,a))2==this.ba?zT(this):(null!=this.aa&&this.aa.Ka()&&this.aa.start(),g.U(a.getPlayerState(),2)?this.seekTo(0):a.playVideo())}; g.h.pauseVideo=function(a){(a=g.V(this,a))&&a.pauseVideo()}; g.h.stopVideo=function(){var a=this.A.getVideoData(),b=new g.fB(this.u,{video_id:a.jw||a.videoId,oauth_token:a.oauthToken});b.Of=g.Sb(a.Of);RT(this,6);TT(this,b,1);null!=this.aa&&this.aa.stop()}; g.h.sendVideoStatsEngageEvent=function(a,b,c){(b=g.V(this,b))&&this.u.Cg.has(a.toString())?b.sendVideoStatsEngageEvent(a,c):c&&c()}; g.h.updatePlaylist=function(){yT(this);this.o.sa("onPlaylistUpdate")}; g.h.setSizeStyle=function(a,b){this.Ke=a;this.Vc=b;this.o.S("sizestylechange",a,b);this.M.Ee()}; g.h.isWidescreen=function(){return this.Vc}; g.h.isInline=function(){return this.H.isInline()}; g.h.getAdState=function(){if(3==this.getPresentingPlayerType())return g.vL(this.B).getAdState();if(!this.Vb()){var a=jM(this.B);if(a)return a.getAdState()}return-1}; g.h.WM=function(a){var b=this.M.getVideoContentRect();xh(this.pd,b)||(this.pd=b,this.F&&HK(this.F),this.A&&this.A!=this.F&&HK(this.A),1==this.H.A&&this.Ya&&cU(this,!0));this.Xc&&g.ae(this.Xc,a)||(this.o.S("appresize",a),this.Xc=a)}; g.h.jd=function(){return this.o.jd()}; g.h.nN=function(){YS(this,"web_player_reload_all_expirations_killswitch")&&1!=this.getPresentingPlayerType()||eU(this,"signature",void 0,!0)}; g.h.EB=function(){jT(this);iT(this)}; g.h.UM=function(a){TK(a,this.C.Kp())}; g.h.YK=function(){this.o.sa("CONNECTION_ISSUE")}; g.h.vH=function(a){this.o.S("heartbeatparams",a)}; g.h.setBlackout=function(a){this.u.Ya=a;this.F&&(g.RI(this.F.C),this.u.T&&gU(this))}; g.h.setAccountLinkState=function(a){var b=g.V(this);b&&(b.getVideoData().Hi=a)}; g.h.kM=function(){var a=g.V(this);if(a){var b=!HL(this.o);g.hL(a,b)}}; g.h.JL=function(){this.o.sa("onLoadedMetadata")}; g.h.oL=function(){this.o.sa("onDrmOutputRestricted")}; g.h.Y=function(){this.B.dispose();this.Aa.dispose();this.U&&this.U.dispose();this.A.dispose();jT(this);g.Oe(g.Ib(this.Zc),this.G);Cs(this.Ca);this.Ca=0;g.z.prototype.Y.call(this)}; g.h.setScreenLayer=function(a){this.Je=a}; g.h.cancelPendingLocalMediaById=function(a){if(this.ea&&YS(this,"hoffle_api")){var b=this.ea,c=b.api.ub(),d=c?c.getVideoData():null;c&&(null===d||void 0===d?0:WB(d))&&(null===d||void 0===d?void 0:d.videoId)===a?(c.A&&cG(c.A),AB(d,!1)):b.player.getVideoData().videoId===a&&(b.player.stopVideo(),b=b.player,b.A&&cG(b.A));a=Jt(a)}else a=Promise.reject();return a}; g.h.fetchLocalMedia=function(){if(this.ea&&YS(this,"hoffle_api")){var a=this.ea,b=a.api.ub();if(b){var c=b.getVideoData();WB(c)||(Et(c.videoId,2),b.unsubscribe("localmediachange",a.o,a),b.subscribe("localmediachange",a.o,a),g.uK(g.V(a.api.app,void 0)),AB(c,!0),RS(c),a.api.playVideo())}}}; g.h.fetchLocalMediaById=function(a){if(this.ea&&YS(this,"hoffle_api")){var b=this.ea;Ct(a)||(0===Dt(2).length?SS(b,a):Et(a,3))}}; g.h.getLocalMediaInfoById=function(a){return this.ea&&YS(this,"hoffle_api")?this.ea.getLocalMediaInfoById(a):Promise.reject()}; g.h.getAllLocalMediaInfo=function(){return this.ea&&YS(this,"hoffle_api")?this.ea.getAllLocalMediaInfo():Promise.reject()}; g.h.getStatsForNerds=function(){var a=this.o,b=g.V(this),c=a.getVideoData(),d=a.app.C,e=d.xa(),f=b.Zs(),k=b.ea,l=8*bJ(k,"bandwidth")/1024,m=bJ(k,"networkactivity")/1024,n=bJ(k,"bufferhealth");if(b.G){var q=b.V.useInnertubeDrmService()?"IT/":"";q+=b.G.o.de()+"/"+Su(CK(b));q+="/"+b.G.de()}else q="";var t=b.getPlayerState().o.toString(16),u=d.getCurrentTime().toFixed(2),w=Xt(d.Wd(),",",3);var B="";c.hz()&&(B+="DAI, ");c.fetchType&&(B+="vd:"+("gvi"===c.fetchType?"g":"o")+", ");B+="s:"+t+" t:"+u+" b:"+ w+" ";d.Hm()&&(B+="S");d.ki()&&(B+="P");d.gg()&&(B+="E");d=b.C;d=d.qoe?d.qoe.Z:void 0;d&&(B+=" l:"+d.toFixed());d=g.mz();t=g.AL(a).MG;u=c.Ba&&!c.Ba.o?"display:none":"";if((w=c.clientPlaybackNonce)&&16==w.length){for(var D=0,E="",F=0;10>F;F++)if(D=(D<<6)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_".indexOf(w.charAt(F)),4==F%5){for(var G="",ba=0;6>ba;ba++)G="0123456789ABCDEFGHJKMNPQRSTVWXYZ".charAt(D&31)+G,D>>=5;E+=G}w=E.substr(0,4)+" "+E.substr(4,4)+" "+E.substr(8,4)}else w=""; l={video_id_and_cpn:c.videoId+" / "+w,codecs:"",dims_and_frames:"",bandwidth_kbps:l.toFixed(0)+" Kbps",buffer_health_seconds:n.toFixed(2)+" s",drm_style:q?"":"display:none",drm:q,debug_info:B,bandwidth_style:u,network_activity_style:u,network_activity_bytes:m.toFixed(0)+" KB",shader_info:t,shader_info_style:t?"":"display:none",playback_categories:""};m=e.clientWidth+"x"+e.clientHeight+(1a)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";e+=f;(a=b.getPlaylistSequenceForTime(b.getCurrentTime()))&&(e+=", seq "+a.sequence);l.live_mode=e}b.isGapless()&&(l.playback_categories+="Gapless ");l.playback_categories_style=l.playback_categories?"":"display:none";l.bandwidth_samples= aJ(k,"bandwidth");l.network_activity_samples=aJ(k,"networkactivity");l.live_latency_samples=aJ(k,"livelatency");l.buffer_health_samples=aJ(k,"bufferhealth");nB(c,"web_player_release_debug")?(l.release_name="youtube.player.web_20200621_0_RC0",l.release_style=""):l.release_style="display:none";return l}; g.h.getVideoUrl=function(a,b,c,d,e){return this.R&&this.R.postId?(a=this.u.getVideoUrl(a),a=Jd(a,"v"),a.replace("/watch","/clip/"+this.R.postId)):this.u.getVideoUrl(a,b,c,d,e)}; var y2={};var sma="www.youtube-nocookie.com youtube-nocookie.com www.youtube-nocookie.com:443 youtube.googleapis.com www.youtubeedu.com www.youtubeeducation.com video.google.com redirector.gvt1.com".split(" ");nU.prototype.fetch=function(a,b){var c=this;if(!a.match(/\[BISCOTTI_ID\]/g))return oU(this,a,b);var d=1===this.u;d&&this.o.app.L.tick("a_bid_s");var e=pma();if(null!==e)return d&&this.o.app.L.tick("a_bid_f"),oU(this,a,b,e);e=qma();d&&Pf(e,function(){c.o.app.L.tick("a_bid_f")}); return e.then(function(f){return oU(c,a,b,f)})}; nU.prototype.reset=function(){this.A=this.u=1};g.r(rU,g.nC);rU.prototype.deactivate=function(){this.u=!0};var Nra={JP:"FINAL",MP:"AD_BREAK_LENGTH",NP:"AD_CPN",OP:"AH",QP:"AD_MT",RP:"ASR",TP:"AW",EQ:"NM",FQ:"NX",GQ:"NY",JQ:"CONN",KQ:"CPN",WQ:"DV_VIEWABILITY",fR:"ERRORCODE",iR:"ERROR_MSG",kR:"EI",yR:"GOOGLE_VIEWABILITY",SR:"IAS_VIEWABILITY",dS:"LACT",hS:"LIVE_TARGETING_CONTEXT",lS:"I_X",mS:"I_Y",pS:"MT",rS:"MIDROLL_POS",sS:"MIDROLL_POS_MS",uS:"MOAT_INIT",vS:"MOAT_VIEWABILITY",WS:"P_H",XS:"PV_H",YS:"PV_W",ZS:"P_W",bT:"TRIGGER_TYPE",tT:"SDKV",BT:"SLOT_POS",LT:"SURVEY_LOCAL_TIME_EPOCH_S",KT:"SURVEY_ELAPSED_MS", KE:"VIS",cU:"VIEWABILITY",eU:"VED",fU:"VOL",gU:"WT",pU:"YT_ERROR_CODE"};yU.prototype.showCompanion=function(a,b,c){return zU(this).then(function(){return DU(a,b,c)})};FU.prototype.showCompanion=function(a,b){b.contentVideoId||(b.contentVideoId=a);this.u.sa("updateKevlarOrC3Companion",b)};GU.prototype.xm=function(){return!1}; GU.prototype.U=function(){return function(){return null}};g.r(JU,GU);g.h=JU.prototype;g.h.zd=function(){return!0}; g.h.Sc=function(){return!1}; g.h.isSkippable=function(){return null!=this.ba}; g.h.getVideoUrl=function(){return this.L}; g.h.xm=function(){return!0};g.r(MU,GU);MU.prototype.zd=function(){return!0}; MU.prototype.Sc=function(){return!0};g.r(TU,GU);TU.prototype.zd=function(){return!0}; TU.prototype.Sc=function(){return!1}; TU.prototype.xm=function(){return!0}; TU.prototype.U=function(){return function(){return g.je("video-ads")}};UU.prototype.Fb=function(){return this.R}; UU.prototype.isPostroll=function(){return"AD_PLACEMENT_KIND_END"==this.Fb().o}; UU.prototype.hg=function(){return this.o instanceof JU||this.o instanceof TU||this.o instanceof NU||this.o instanceof MU};var Ima=["FINAL","CPN","MIDROLL_POS","SDKV","SLOT_POS"];var eV=null;g.r(dV,g.O);dV.prototype.hm=function(a){return this.o.hasOwnProperty(a)?this.o[a].hm():{}}; g.Ga("ytads.bulleit.getVideoMetadata",function(a){return fV().hm(a)},void 0); g.Ga("ytads.bulleit.triggerExternalActivityEvent",function(a,b,c){var d=fV();c=Kma(c);null!==c&&d.S(c,{queryId:a,viewabilityString:b})},void 0);gV.prototype.send=function(a,b,c){try{var d=!!a.scrubReferrer,e=g.hn(a.baseUrl,Jma(b,c,d)),f;if(a.headers)for(var k=g.p(a.headers),l=k.next();!l.done;l=k.next())switch(l.value.headerType){case "USER_AUTH":var m=this.Xd();m&&(f||(f={}),f.Authorization="Bearer "+m)}g.qr(e,void 0,d,f)}catch(n){}};g.r(hV,gV);hV.prototype.Xd=function(){return this.o?this.o.Xd():""};iV.prototype.send=function(a,b,c){try{var d=a.match(sd);if("https"===d[1])var e=a;else d[1]="https",e=qd("https",d[2],d[3],d[4],d[5],d[6],d[7]);var f=gn(e);a=[];kq(e)&&a.push({headerType:"USER_AUTH"});this.o.send({baseUrl:e,scrubReferrer:f,headers:a},b,c)}catch(k){}};g.r(jV,g.z);g.r(qV,g.z);g.r(HV,g.O);g.h=HV.prototype;g.h.hm=function(){return{}}; g.h.ov=function(){}; g.h.tb=function(a){this.gf();this.S(a)}; g.h.DA=function(){}; g.h.gf=function(){JV(this,this.Z,3);this.Z=[]}; g.h.getDuration=function(){return this.J.getDuration(2,!1)}; g.h.Ph=function(){var a=this.o;rV(a)||!EV(a,"impression")&&!EV(a,"start")||EV(a,"abandon")||EV(a,"complete")||EV(a,"skip")||(tV(a)?zV(a,"pause"):yV(a,"pause"))}; g.h.Xg=function(){this.aa||this.H||this.Ub()}; g.h.yd=function(){BV(this.o,this.getDuration())}; g.h.Kc=function(){var a=this.o;!EV(a,"impression")||EV(a,"skip")||EV(a,"complete")||zV(a,"abandon")}; g.h.Qh=function(){var a=this.o;tV(a)?yV(a,"skip"):!EV(a,"impression")||EV(a,"abandon")||EV(a,"complete")||yV(a,"skip")}; g.h.Ub=function(){if(!this.H){var a=MV(this);this.o.A.AD_CPN=a;AV(this.o);this.H=!0}}; g.h.sc=function(a){a=a||"";var b="",c="",d="";kV(this.J)&&(b=g.tL(this.J,2).o,this.J.app.C&&(c=this.J.app.C.De(),null!=this.J.app.C.Df()&&(d=this.J.app.C.Df())));var e=this.o;e.A=bV(e.A,$U(3,"There was an error playing the video ad. Error code: "+(a+"; s:"+b+"; rs:")+(c+"; ec:"+d)));yV(e,"error")}; g.h.xj=function(){}; g.h.wC=function(){this.S("e")}; g.h.xC=function(){this.S("j")}; g.h.yC=function(){this.S("k")}; g.h.zC=function(){this.S("l")}; g.h.AC=function(){this.S("m")}; g.h.BC=function(){this.S("n")}; g.h.CC=function(){this.S("s")}; g.h.dispose=function(){this.ha()||(this.gf(),this.A.unsubscribe("e",this.wC,this),this.A.unsubscribe("j",this.xC,this),this.A.unsubscribe("k",this.yC,this),this.A.unsubscribe("l",this.zC,this),this.A.unsubscribe("m",this.AC,this),this.A.unsubscribe("n",this.BC,this),this.A.unsubscribe("s",this.CC,this),delete this.A.o[this.F.G],g.O.prototype.dispose.call(this))}; g.h.Wx=function(){return""};g.r(NV,GU);NV.prototype.zd=function(){return!1}; NV.prototype.Sc=function(){return!0};g.r(OV,wU);g.r(PV,HV);PV.prototype.wc=function(){var a=this,b=new OV(this.F.o,this.macros),c=this.J.getVideoData(2),d=b.renderer;c&&d&&d.adVideoId?KV(this,[b]):c&&c.je&&QV(c,b)?KV(this,[b]):(this.u=function(e,f,k){f&&2==k&&QV(f,b)&&f.je&&(a.u&&(a.J.removeEventListener("videodatachange",a.u),a.u=null),KV(a,[b]))},this.J.addEventListener("videodatachange",this.u))}; PV.prototype.xj=function(a){FV(this.o,a)}; PV.prototype.Y=function(){this.u&&(this.J.removeEventListener("videodatachange",this.u),this.u=null);HV.prototype.Y.call(this)};g.r(RV,GU);RV.prototype.zd=function(){return!0}; RV.prototype.Sc=function(){return!1};g.r(SV,wU);g.r(TV,HV);g.h=TV.prototype;g.h.wc=function(){0=this.G&&(g.M(Error("durationMs was specified incorrectly with a value of: "+this.G)),this.yd());this.Ub();this.J.addEventListener("progresssync",this.M)}; g.h.Kc=function(){HV.prototype.Kc.call(this);this.tb("d")}; g.h.Ub=function(){var a=this.J.O();HV.prototype.Ub.call(this);this.u=Math.floor(this.J.getCurrentTime());this.C=this.u+this.G/1E3;g.dz(a)?this.J.sa("onAdMessageChange",{renderer:this.B.o,startTimeSecs:this.u}):KV(this,[new hW(this.B.o)]);a=(a=this.J.getVideoData(1))&&a.clientPlaybackNonce||"";var b=g.qs(),c=g.P(this.J.O().experiments,"use_video_ad_break_offset_ms_int64")?this.B.o.videoAdBreakOffsetMsInt64:this.B.o.videoAdBreakOffsetMs;b&&g.er("adNotify",{clientScreenNonce:b,adMediaTimeSec:this.C, timeToAdBreakSec:Math.ceil(this.C-this.u),clientPlaybackNonce:a,videoAdBreakOffsetSec:Math.floor(c/1E3)});g.U(g.tL(this.J,1),512)&&(a=(a=this.J.getVideoData(1))&&a.clientPlaybackNonce||"",b=g.qs(),c=g.P(this.J.O().experiments,"use_video_ad_break_offset_ms_int64")?this.B.o.videoAdBreakOffsetMsInt64:this.B.o.videoAdBreakOffsetMs,b&&g.er("adNotifyFailure",{clientScreenNonce:b,adMediaTimeSec:this.C,timeToAdBreakSec:Math.ceil(this.C-this.u),clientPlaybackNonce:a,videoAdBreakOffsetSec:Math.floor(c/1E3)}), this.yd())}; g.h.yd=function(){HV.prototype.yd.call(this);this.tb("h")}; g.h.sc=function(a){HV.prototype.sc.call(this,a);this.tb("i")}; g.h.tb=function(a){this.J.removeEventListener("progresssync",this.M);this.gf();this.S(a)}; g.h.dispose=function(){this.J.removeEventListener("progresssync",this.M);HV.prototype.dispose.call(this)}; g.h.gf=function(){g.dz(this.J.O())?this.J.sa("onAdMessageChange",{renderer:null,startTimeSecs:this.u}):HV.prototype.gf.call(this)};g.r(jW,wU);g.r(kW,HV);kW.prototype.wc=function(){KV(this,[new jW(this.F.o,this.macros)])}; kW.prototype.xj=function(a){FV(this.o,a)};g.r(lW,HV);lW.prototype.wc=function(){var a=MV(this);this.o.A.AD_CPN=a;AV(this.o)};g.r(mW,wU);g.r(nW,wU);g.r(oW,HV);oW.prototype.wc=function(){var a;if(a=g.P(this.J.O().experiments,"render_enhanced_overlays_as_ctas_for_desktop"))a=this.u.o,a=a.contentSupportedRenderer?!!a.contentSupportedRenderer.enhancedTextOverlayAdContentRenderer:!1;a?(a=new nW(this.u.o,this.macros),KV(this,[a])):(a=new mW(this.u.o,this.macros),KV(this,[a]))};g.r(pW,wU);g.r(qW,HV);qW.prototype.wc=function(){this.Ub()}; qW.prototype.Ub=function(){KV(this,[new pW(this.u.o,this.macros)]);HV.prototype.Ub.call(this)}; qW.prototype.sc=function(a){HV.prototype.sc.call(this,a);this.tb("i")};g.r(rW,wU);wW.prototype.sendAdsPing=function(a){this.C.send(a,AW(this),{})};g.r(CW,wU);g.r(DW,HV);DW.prototype.wc=function(){var a=new CW(this.u.o,this.macros);KV(this,[a])};g.r(EW,wU);g.r(FW,HV);FW.prototype.wc=function(){var a=new EW(this.F.o,this.macros);KV(this,[a])}; FW.prototype.xj=function(a){FV(this.o,a)};g.r(HW,g.O);HW.prototype.getProgressState=function(){return this.A}; HW.prototype.start=function(){this.B=Date.now();GW(this,{current:this.o/1E3,duration:this.u/1E3});this.Ja.start()}; HW.prototype.stop=function(){this.Ja.stop()};g.r(IW,wU);g.r(JW,HV);g.h=JW.prototype;g.h.wc=function(){this.Ub()}; g.h.Ub=function(){var a=this.C.o;g.dz(this.J.O())?(a=ana(this.M,a),this.J.sa("onAdInfoChange",a),this.u&&(this.G=Date.now(),this.u.start())):KV(this,[new IW(a)]);HV.prototype.Ub.call(this)}; g.h.getDuration=function(){return this.C.u}; g.h.Ph=function(){HV.prototype.Ph.call(this);this.u&&this.u.stop()}; g.h.Xg=function(){HV.prototype.Xg.call(this);this.u&&this.u.start()}; g.h.Kc=function(){HV.prototype.Kc.call(this);this.tb("c")}; g.h.Qh=function(){HV.prototype.Qh.call(this);this.tb("h")}; g.h.sc=function(a){HV.prototype.sc.call(this,a);this.tb("i")}; g.h.tb=function(a){this.gf();"c"!=a&&SX(this.L.ba);this.S(a)}; g.h.xj=function(a){switch(a){case "skip-button":this.Qh();break;case "survey-submit":this.tb("h")}}; g.h.gf=function(){g.dz(this.J.O())?(this.u&&this.u.stop(),this.J.sa("onAdInfoChange",null)):HV.prototype.gf.call(this)};g.r(KW,wU);g.r(LW,HV);LW.prototype.wc=function(){this.Ub()}; LW.prototype.Ub=function(){KV(this,[new KW(this.u.o,this.macros)]);HV.prototype.Ub.call(this)}; LW.prototype.Kc=function(){HV.prototype.Kc.call(this);this.tb("c")}; LW.prototype.sc=function(a){HV.prototype.sc.call(this,a);this.tb("i")};g.r(MW,wU);g.r(NW,HV);g.h=NW.prototype;g.h.wc=function(){0b)if(e=this.J.app,c=b-a,e.U){e=e.U;for(var f=void 0,k=null,l=g.p(e.u),m=l.next();!m.done;m=l.next())if(m=m.value,m.Db===d){k=m;break}k?(void 0===f&&(f= k.Sb),wS(k,c,f)):rS(e,"Invalid timelinePlaybackId="+d+" specified")}else{e=e.Aa;f=void 0;k=null;l=g.p(e.o);for(m=l.next();!m.done;m=l.next())if(m=m.value,m.Db===d){k=m;break}k?(void 0===f&&(f=k.Sb),OS(e,k,c,f)):AS(e,"e.InvalidTimelinePlaybackId timelinePlaybackId="+d)}return d}; g.h.dispose=function(){lV(this.J)&&!this.L&&this.J.stopVideo(2);XW(this,"c");HV.prototype.dispose.call(this)};cX.prototype.reduce=function(a){switch(a.event){case "start":case "continue":case "predictStart":case "stop":break;case "unknown":return;default:return}var b=a.identifier;var c=this.o[b];c?b=c:(c={ck:null,wz:-Infinity},b=this.o[b]=c);c=a.startSecs+a.o/1E3;if(!(c=c?null:c,null===c)a=null;else{switch(a.event){case "start":case "continue":case "stop":break;default:a=null;break a}var d=Math.max(a.startSecs,0);a={lF:new Un(d,c),PG:new hv(d,c-d,a.context,a.identifier,a.event,a.o)}}a&&(c=a.PG,b.ck=a.lF,this.u.DB(c))}}; cX.prototype.updateTime=function(){};g.r(eX,GU);hX.prototype.reset=function(){return new hX(this.u)};g.r(lX,g.O);g.h=lX.prototype;g.h.hg=function(){return this.o.hg()}; g.h.Om=function(){return this.o.o.Sc()}; g.h.Fb=function(){return this.o.Fb()}; g.h.Up=function(){return WU(this.o)}; g.h.vu=function(){return VU(this.o)}; g.h.mt=function(a){if(!sU(a)){this.L&&(this.Z=this.J.isAtLiveHead(),this.U=Math.ceil((0,g.C)()/1E3));var b=new iX(this.Hc);a=jX(a);kX(b,a)}this.Uk()}; g.h.Ak=function(){return this.C instanceof cW||this.C instanceof NV||this.C instanceof eX||this.C instanceof YV}; g.h.lz=function(){return!(this.C instanceof bW)&&!this.Ak()}; g.h.Pm=function(){return this.C instanceof TU}; g.h.Yh=function(){return this.C instanceof JU}; g.h.Uk=function(){Loa(this.Hc,this);if(!this.o.C.hasOwnProperty("ad_placement_start")){for(var a=g.p(this.o.L),b=a.next();!b.done;b=a.next())vna(b.value);this.o.C.ad_placement_start=!0}this.G.A=!1;KA("video_to_ad",["apbs"],void 0);this.kC()}; g.h.kC=function(){this.C?this.wc(this.C):this.Eh()}; g.h.zj=function(a,b){a=void 0===a?!1:a;b=void 0===b?!1:b;eY(this.Hc,0);this.Eh(a,b)}; g.h.ZA=function(){this.zj()}; g.h.kK=function(){yV(this.u.o,"active_view_measurable")}; g.h.lK=function(){var a=this.u.o;rV(a)||GV(a)||yV(a,"active_view_fully_viewable_audible_half_duration")}; g.h.mK=function(){}; g.h.nK=function(){}; g.h.oK=function(){}; g.h.pK=function(){}; g.h.rK=function(){var a=this.u.o;rV(a)||GV(a)||yV(a,"active_view_viewable")}; g.h.ky=function(){return this.Yh()?[this.Ko()]:[]}; g.h.xu=function(a){if(null!==this.u){this.T||(a=new g.rH(a.state,new g.MC),this.T=!0);this.u.DA(a);var b=a.state;if(this.aa&&g.U(b,1024))this.u.sc("dom_paused");else if(g.tH(a,2))b=this.G,b.T?rna(b):(b.A=!1,KA("ad_to_ad",["apbs"],void 0)),this.u.yd();else{var c=a;(g.P(this.J.O().experiments,"html5_bulleit_handle_gained_playing_state")?c.state.nb()&&!c.mi.nb():c.state.nb())?(b=this.G,b.H&&!b.A&&(b.R=!1,b.A=!0,"ad_to_video"!=b.o&&MA("apbs",void 0,b.o)),this.u.Xg()):b.isError()?this.u.sc(b.u.errorCode): g.tH(a,4)&&(this.R||this.u.Ph())}if(null!==this.u){if(g.tH(a,16)&&(b=this.u.o,!(rV(b)||.5>b.o.getCurrentTime(2,!1)&&!g.P(b.o.O().experiments,"html5_dai_pseudogapless_seek_killswitch")))){c=b.u;if(c.xm()){var d=g.P(b.M.o.O().experiments,"html5_dai_enable_active_view_creating_completed_adblock");Mm(c.G,d)}b.u.H.seek=!0}0>sH(a,4)&&!(0>sH(a,2))&&(b=this.u.o,rV(b)||(tV(b)?zV(b,"resume"):yV(b,"resume")));!g.P(this.J.O().experiments,"html5_dai_handle_suspended_state_killswitch")&&this.daiEnabled&&g.tH(a, 512)&&!g.VC(a.state)&&rna(this.G)}}}; g.h.ab=function(){this.daiEnabled&&una(this)}; g.h.FA=function(){}; g.h.resume=function(){this.u&&this.u.ov()}; g.h.wu=function(){this.u&&this.u.tb("h")}; g.h.Vp=function(){this.wu()}; g.h.EA=function(a){var b=this.Hc;b.A&&g.P(b.o.O().experiments,"html5_bulleit_dai_publish_ad_ux_killswitch")||b.o.sa("onAdUxUpdate",a)}; g.h.onAdUxClicked=function(a){this.u.xj(a)}; g.h.hy=function(){return 0}; g.h.jy=function(){return 1}; g.h.Vq=function(a){if(this.daiEnabled&&this.o.G&&this.o.Fb().start<=a&&a=Math.abs(c-this.o.Fb().end/1E3)):c=!0;if(c&&!this.o.C.hasOwnProperty("ad_placement_end")){c=g.p(this.o.M);for(var d=c.next();!d.done;d=c.next())vna(d.value);this.o.C.ad_placement_end=!0}c=this.o.B;null!==c&&(ona(this.jf,{cueIdentifier:this.o.u&&this.o.u.identifier,driftRecoveryMs:c,jC:this.o.Fb().start,Az:oX(this)}),this.o.B=null);b||this.daiEnabled? dY(this.Hc,!0):this.L&&this.vu()&&this.Yh()?dY(this.Hc,!1,Ana(this)):dY(this.Hc,!1);wna(this,!0)}; g.h.ot=function(a){eY(this.Hc,a)}; g.h.Ko=function(){return this.C}; g.h.isLiveStream=function(){return this.L}; g.h.reset=function(){return new lX(this.Hc,this.J,this.G.reset(),this.o,this.jf,this.dk,this.wh,this.daiEnabled)}; g.h.Y=function(){g.Ne(this.u);this.u=null;g.O.prototype.Y.call(this)};Bna.prototype.create=function(a){return(a.o instanceof NU?this.B:a.o instanceof eX?this.A:""===a.F?this.o:this.u)(a)};pX.prototype.clickCommand=function(a){var b=g.qs();if(!a.clickTrackingParams||!b)return!1;Is(this.client,b,g.js(a.clickTrackingParams));return!0};g.r(qX,g.O);g.h=qX.prototype;g.h.Fb=function(){return this.o.Fb()}; g.h.Up=function(){return WU(this.o)}; g.h.vu=function(){return VU(this.o)}; g.h.Ak=function(){return!1}; g.h.Om=function(){return!1}; g.h.onAdUxClicked=function(){}; g.h.mt=function(a){var b=this;if(1!==this.o.A&&2!==this.o.A){var c=[];this.Up()||(c=jX(a));this.o.A=1;Pf(this.F.fetch(this.o.F,{Si:this.o.u||void 0,fc:this.o.Fb(),ul:qoa(this.u.ba)}).then(function(d){if(!b.ha()){var e=c;g.P(b.B.O().experiments,"enable_client_deferred_full_screen_filtering_for_mweb_phones")&&b.B.isFullscreen();d=Fna(b,d);var f=b.A;f.u&&d.isEmpty&&gX("DAI_ERROR_TYPE_NO_AD_BREAK_RENDERER",f.o);d.mz||(b.o.A=2,kX(new iX(b.u),e),d.isEmpty||Sqa(b.C,d.sd))}},function(){kX(new iX(b.u),c); var d=b.A;d.u&&gX("DAI_ERROR_TYPE_AD_REQUEST_FAIL",d.o)}),function(){2!==b.o.A&&(b.o.A=0); b.Up()&&$X(b.u)})}}; g.h.Uk=function(){}; g.h.Vq=function(){};g.r(rX,g.W);rX.prototype.executeCommand=function(a){a=void 0===a?null:a;this.ha();a&&this.A.executeCommand(a,this.B)};g.r(tX,g.z);tX.prototype.append=function(a){if(!this.H)throw Error("This does not support the append operation");this.Tn(a.xa())}; tX.prototype.Tn=function(a){this.xa().appendChild(a)}; g.r(uX,tX);uX.prototype.xa=function(){return this.o};g.r(Ina,g.z);var Xta=new WeakSet;g.r(Y,g.aO);g.h=Y.prototype;g.h.bind=function(a){if(!this.ea&&a.renderer){var b=Object.assign({},Hna(this.api,this.va),a.macros);this.init(a.id,a.renderer,b,a)}return Promise.resolve()}; g.h.init=function(a,b,c){this.ea=a;this.element.setAttribute("id",this.ea);this.za&&g.J(this.element,this.za);this.G=b&&b.adRendererCommands;this.macros=c;this.F=b.trackingParams||null;null!=this.F&&wX(this,this.element,this.F)}; g.h.clear=function(){}; g.h.hide=function(){g.aO.prototype.hide.call(this);null!=this.F&&xX(this,this.element,!1)}; g.h.show=function(){g.aO.prototype.show.call(this);if(!this.Ga){this.Ga=!0;var a=this.G&&this.G.impressionCommand;a&&this.va.executeCommand(a,this.macros,null)}null!=this.F&&xX(this,this.element,!0)}; g.h.onClick=function(a){if(this.F&&!Xta.has(a)){var b=this.element;g.UL(this.api,b)&&this.Ka()&&g.SL(this.api,b);Xta.add(a)}(a=this.G&&this.G.clickCommand)&&this.va.executeCommand(a,this.macros,this.ny())}; g.h.ny=function(){return null}; g.h.OJ=function(a){var b=this.R;b.G=!0;b.u=a.touches.length;b.o.isActive()&&(b.o.stop(),b.C=!0);a=a.touches;b.F=Jna(b,a)||1!=a.length;var c=a.item(0);b.F||!c?(b.H=Infinity,b.M=Infinity):(b.H=c.clientX,b.M=c.clientY);for(c=b.A.length=0;cMath.pow(5,2))b.B=!0}; g.h.MJ=function(a){if(this.R){var b=this.R,c=a.changedTouches;c&&b.G&&1==b.u&&!b.B&&!b.C&&!b.F&&Jna(b,c)&&(b.L=a,b.o.start());b.u=a.touches.length;0===b.u&&(b.G=!1,b.B=!1,b.A.length=0);b.C=!1}}; g.h.Y=function(){this.clear(null);this.kb(this.wa);for(var a=g.p(this.T),b=a.next();!b.done;b=a.next())this.kb(b.value);g.aO.prototype.Y.call(this)};g.r(zX,g.z);zX.prototype.Y=function(){this.u&&g.ip(this.u);this.o.clear();AX=null;g.z.prototype.Y.call(this)}; zX.prototype.register=function(a,b){b&&this.o.set(a,b)}; var AX=null;g.r(DX,tX);DX.prototype.addEventListener=function(a,b){this.F.subscribe(a,b)}; DX.prototype.removeEventListener=function(a,b){this.F.unsubscribe(a,b)}; DX.prototype.dispatchEvent=function(a){this.F.S(a.type,a)};g.r(EX,g.z);g.h=EX.prototype;g.h.bind=function(a){var b=a.renderer,c=b.trackingParams;if(this.L&&this.L!=c)throw Error("Cannot re-bind presenter with new tracking params");if(c){this.L=c;var d=this.view,e=this.o,f=d.xa();g.QL(e,f,d);g.RL(e,f,c)}this.M=b.impressionEndpoints||[];this.macros=Object.assign({},a.macros);return this.C(a)}; g.h.Ka=function(){return this.T}; g.h.show=function(){this.view.show();this.T=!0;var a=this.o,b=this.view.xa();g.UL(a,b)&&g.TL(a,b,!0);Pna(this,this.M);this.M=[]}; g.h.hide=function(){this.wt();this.T=!1;var a=this.o,b=this.view.xa();g.UL(a,b)&&g.TL(a,b,!1)}; g.h.wt=function(){this.view.hide()}; g.h.onClick=function(a){a=void 0===a?{}:a;this.H(a);if(this.Ka()){a=this.o;var b=this.view.xa();g.UL(a,b)&&g.SL(a,b)}}; g.h.executeCommand=function(a){this.B.executeCommand(a,Ona(this))};g.r(FX,g.O);g.h=FX.prototype;g.h.xa=function(){return this.o.element}; g.h.show=function(){if(!this.Ka()){this.C.N(document,"click",this.gL);this.o.show();var a=this.xa(),b=g.Rh(Jh(this.B)).width,c=g.Rh(this.B),d=Hh(this.B);a.style.top=d.y+c.height+"px";a.style.right=b-d.x-c.width+"px"}}; g.h.hide=function(){this.Ka()&&(this.o.hide(),g.Wr(this.C))}; g.h.Ka=function(){return this.o.Ka()}; g.h.setTitle=function(a){a?this.A.show():this.A.hide();this.A.xb(GX(a))}; g.h.gL=function(a){if(this.Ka()&&(a=a.target,!g.De(this.B,a))){var b=this.u.da("ytp-ad-info-dialog-confirm-button");g.De(b,a)?this.S("confirmClick"):g.De(this.o.element,a)||this.S("externalClick")}}; var Rna={IQ:"confirmClick",oR:"externalClick"};g.r(HX,DX);HX.prototype.setTitle=function(a){this.o.setTitle(a)}; HX.prototype.show=function(){this.o.show()}; HX.prototype.hide=function(){this.o.hide()}; HX.prototype.xa=function(){return this.o.xa()};var Sna={fE:HX},Una=["confirmClick","externalClick"];g.r(IX,EX);IX.prototype.C=function(a){var b=this.view;a=a.renderer;var c=b.o,d=a.confirmLabel||null;d?c.u.show():c.u.hide();c.u.xb(GX(d));b.setTitle(a.title||null);b.o.o.xb(GX(a.dialogMessage||null));g.ye(Qna(b.o));c=g.p(a.adReasons||[]);for(d=c.next();!d.done;d=c.next())d=d.value,Qna(b.o).appendChild(g.ue("li",null,GX(d)));this.u=a.confirmServiceEndpoint||null;return Promise.resolve()}; IX.prototype.wt=function(){EX.prototype.wt.call(this);this.u&&(this.executeCommand(this.u),this.u=null)}; IX.prototype.H=function(a){switch(a.type){case "confirmClick":case "externalClick":this.hide()}};g.r(JX,Y);g.h=JX.prototype;g.h.init=function(a,b,c){Y.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=CX(b.hoverText),g.ze(this.o,b,0)):this.o=null,this.u.bind({renderer:a,macros:c}),this.show()):g.M(Error("adInfoDialogRenderer is missing in AdHoverTextButtonRenderer"))}; g.h.vt=function(){this.o&&g.Sh(this.o,!1)}; g.h.VH=function(){this.u.Ka()||this.o&&g.Sh(this.o,!0)}; g.h.UH=function(){this.u.show();this.vt()}; g.h.clear=function(){this.hide()};g.r(Wna,rX);g.r(KX,eX);g.h=KX.prototype;g.h.zd=function(){return!1}; g.h.Sc=function(){return!0}; g.h.vy=function(){var a=this.o,b=new wma;b.url=a.iframeUrl||null;b.width=a.iframeWidth||0;b.height=a.iframeHeight||0;b.impressionTrackingUrls=Xna(a.impressionCommands||[]);b.clickTrackingUrls=Xna(a.onClickCommands||[]);b.adInfoRenderer=a.adInfoRenderer||null;a=new EU;a.iframeCompanionRenderer=b;return a}; g.h.sy=function(){return[new g.$d(300,60)]}; g.h.Hx=function(a,b){return new Wna(a,b,this.o)};g.r(LX,HV);g.h=LX.prototype;g.h.mt=function(a){if(!sU(a)){var b=new iX(this.G);a=jX(a);kX(b,a)}this.Uk()}; g.h.Uk=function(){IV(this)}; g.h.wc=function(){var a=this;Loa(this.G,this);if(mV(this.J)){var b=this.J.getVideoData(1),c=this.u.vy();null!=c&&(c.macros=Object.assign({},this.macros),this.M.showCompanion(b.videoId,c))}else{var d=this.u.sy();xma(this.M).then(function(e){a:{if(d&&e){e=g.p(e);for(var f=e.next();!f.done;f=e.next()){f=f.value;for(var k=g.p(d),l=k.next();!l.done;l=k.next())if(l=l.value,l.width==f.width&&l.height==f.height){e=l;break a}}}e=null}e&&(f=a.u.Hx(a.J,a.G,e),null!=f&&(g.A(a,f),k=a.M,k.o&&k.o.showCompanion(f.element, e.width,e.height)))})}if(this.u instanceof KX){this.C=function(e){var f; if(f=e.data)try{f=kq(e.source.document.location.origin)}catch(l){f=!1}if(f)if(f=a.u.o,"companion-setup-complete"==e.data)try{e.source.postMessage(JSON.stringify(f),"*");var k=e.source.frameElement;k.parentNode.style.cssText="";k.width=String(f.iframeWidth);k.height=String(f.iframeHeight)}catch(l){g.Ko(l)}else"pause-video"==e.data&&a.J.pauseVideo()}; try{window.addEventListener("message",this.C)}catch(e){g.M(e)}}}; g.h.onAdUxClicked=function(a){FV(this.o,a)}; g.h.Fb=function(){return this.B.Fb()}; g.h.Up=function(){return WU(this.B)}; g.h.vu=function(){return VU(this.B)}; g.h.Ak=function(){return!0}; g.h.Om=function(){return this.B.o.Sc()}; g.h.Vq=function(){}; g.h.Y=function(){if(this.C)try{window.removeEventListener("message",this.C),this.C=null}catch(a){g.M(a)}this.L&&(this.J.removeEventListener("videodatachange",this.L),this.L=null);HV.prototype.Y.call(this)};var Zna=Object.freeze([RV,WV,TU,dW,eW,JU]);g.r(MX,lX);g.h=MX.prototype;g.h.ky=function(){for(var a=this.B.o,b=g.p(a),c=b.next();!c.done;c=b.next());return a}; g.h.lz=function(){return(0>=this.F?this.B.o:this.B.o.slice(this.F)).some(function(a){return a.zd()})}; g.h.Pm=function(){return this.H instanceof TU||this.H instanceof dW}; g.h.Yh=function(){return this.H instanceof JU||this.H instanceof WV}; g.h.kC=function(){this.daiEnabled?kV(this.J)&&una(this):NX(this)}; g.h.wc=function(a){var b=Yna(a);this.H&&b&&this.M!==b&&(b?Moa(this.Hc):Ooa(this.Hc),this.M=b);this.H=a;this.daiEnabled&&(this.F=this.B.o.findIndex(function(c){return c===a})); lX.prototype.wc.call(this,a)}; g.h.Eh=function(a,b){a=void 0===a?!1:a;b=void 0===b?!1:b;this.A&&(g.Ne(this.A),this.A=null);lX.prototype.Eh.call(this,a,b)}; g.h.Vp=function(){this.F=this.B.o.length;this.A&&this.A.tb("h");this.u&&this.u.tb("h");this.Eh()}; g.h.FA=function(){NX(this)}; g.h.wu=function(){this.zj()}; g.h.xu=function(a){lX.prototype.xu.call(this,a);a=a.state;g.U(a,2)&&this.A?this.A.yd():a.nb()?(null==this.A&&(a=this.B.A)&&(this.A=this.wh.create(a,aV(ZU(this.o))),this.A.subscribe("onAdUxUpdate",this.EA,this),IV(this.A)),this.A&&this.A.Xg()):a.isError()&&this.A&&this.A.sc(a.u.errorCode)}; g.h.zj=function(a,b){a=void 0===a?!1:a;b=void 0===b?!1:b;this.daiEnabled||(eY(this.Hc,0),a?this.Eh(a,b):NX(this))}; g.h.ZA=function(){1==this.B.u?this.Eh():this.zj()}; g.h.onAdUxClicked=function(a){lX.prototype.onAdUxClicked.call(this,a);this.A&&this.A.xj(a)}; g.h.Ko=function(){var a=0>=this.F?this.B.o:this.B.o.slice(this.F);return 0sH(a,16)&&(this.T.forEach(this.Nm,this),this.T.clear())}; g.h.CA=function(){this.u&&this.u.ab();if(this.A)for(var a=1E3*this.o.getCurrentTime(1),b=g.p(this.F.keys()),c=b.next();!c.done;c=b.next())if(c=c.value,c.start<=a&&aMath.random())&&g.Ko(Error("Found AdImage without valid image URL")):(this.o?g.H(this.element,"backgroundImage","url("+b+")"):le(this.element,{src:b}),le(this.element,{alt:a&&a.accessibility&&a.accessibility.label||""}),this.show())}; gY.prototype.clear=function(){this.hide()};g.r(iY,Y); iY.prototype.init=function(a,b,c){Y.prototype.init.call(this,a,b,c);this.o=b;if(null==b.text&&null==b.icon)g.Ko(Error("ButtonRenderer did not have text or an icon set."));else{switch(b.style||null){case "STYLE_UNKNOWN":a="ytp-ad-button-link";break;default:a=null}null!=a&&g.J(this.element,a);null!=b.text&&(a=g.S(b.text),g.lc(a)||(this.element.setAttribute("aria-label",a),this.B=new g.aO({D:"span",I:"ytp-ad-button-text",W:a}),g.A(this,this.B),this.B.ca(this.element)));null!=b.icon&&(b=hY(b.icon),null!= b&&(this.u=new g.aO({D:"span",I:"ytp-ad-button-icon",K:[b]}),g.A(this,this.u)),this.C?g.ze(this.element,this.u.element,0):this.u.ca(this.element))}}; iY.prototype.clear=function(){this.hide()}; iY.prototype.onClick=function(a){var b=this;Y.prototype.onClick.call(this,a);Qoa(this).forEach(function(c){return b.va.executeCommand(c,b.macros)}); this.api.onAdUxClicked(this.componentType)};g.r(jY,Y);jY.prototype.clear=function(){this.dispose()};g.r(mY,jY);g.h=mY.prototype;g.h.init=function(a,b,c){jY.prototype.init.call(this,a,b,c);g.H(this.A,"stroke-dasharray","0 "+this.u);this.show()}; g.h.clear=function(){this.hide()}; g.h.hide=function(){lY(this);jY.prototype.hide.call(this)}; g.h.show=function(){kY(this);jY.prototype.show.call(this)}; g.h.Fj=function(){this.hide()}; g.h.ri=function(){if(this.o){var a=this.o.getProgressState();null!=a&&null!=a.current&&(a=a.current/a.seekableEnd*this.u,this.C&&(a=this.u-a),g.H(this.A,"stroke-dasharray",a+" "+this.u))}};g.r(nY,Y);nY.prototype.init=function(a,b,c){Y.prototype.init.call(this,a,b,c);this.o=b;this.isTemplated()||g.Ee(this.element,vX(this.o));if(b.backgroundImage&&(a=(a=b.backgroundImage.thumbnail)?fY(a):"",c=(c=this.api.getVideoData(1))&&c.nn,a&&c&&(this.element.style.backgroundImage="url("+a+")",this.element.style.backgroundSize="100%"),b.style&&b.style.adTextStyle))switch(b.style.adTextStyle.fontSize){case "AD_FONT_SIZE_MEDIUM":this.element.style.fontSize="26px"}this.show()}; nY.prototype.isTemplated=function(){return this.o.isTemplated||!1}; nY.prototype.clear=function(){this.hide()};g.r(pY,jY);g.h=pY.prototype; g.h.init=function(a,b,c){jY.prototype.init.call(this,a,b,c);a=b.durationMilliseconds;"number"===typeof a&&0>a&&g.M(Error("durationMilliseconds was specified incorrectly in AdPreviewRenderer with a value of: "+a));this.ma&&g.J(this.u.element,"countdown-next-to-thumbnail");a=b.durationMilliseconds;this.U=null==a||0===a?this.o.KA():a;if(b.templatedCountdown)var d=b.templatedCountdown.templatedAdText;else b.staticPreview&&(d=b.staticPreview);this.A.init(vU("ad-text"),d,c);(d=this.api.getVideoData(1))&& d.nn&&b.thumbnail?this.C.init(vU("ad-image"),b.thumbnail,c):this.H.hide()}; g.h.clear=function(){this.hide()}; g.h.hide=function(){this.u.hide();this.A.hide();this.C.hide();lY(this);jY.prototype.hide.call(this)}; g.h.show=function(){kY(this);this.u.show();this.A.show();this.C.show();jY.prototype.show.call(this)}; g.h.Fj=function(){this.hide()}; g.h.ri=function(){if(null!=this.o){var a=this.o.getProgressState();null!=a&&null!=a.current&&(a=1E3*a.current,!this.ba&&a>=this.U?(g.P(this.api.O().experiments,"enable_pubsub_for_skip_transition_bulleit")||this.L.hide(),this.ba=!0,this.S("t")):this.A&&this.A.isTemplated()&&(a=Math.max(0,Math.ceil((this.U-a)/1E3)),a!=this.fa&&(oY(this.A,{TIME_REMAINING:String(a)}),this.fa=a)))}};g.r(rY,g.z);g.h=rY.prototype;g.h.Y=function(){this.reset();g.z.prototype.Y.call(this)}; g.h.reset=function(){g.Wr(this.C);this.F=!1;this.o&&this.o.stop();this.B.stop();this.u&&(this.u=!1,this.G.play())}; g.h.start=function(){this.reset();this.C.N(this.A,"mouseover",this.aM,this);this.C.N(this.A,"mouseout",this.YL,this);this.o?this.o.start():(this.F=this.u=!0,g.H(this.A,{opacity:this.M}))}; g.h.aM=function(){this.u&&(this.u=!1,this.G.play());this.B.stop();this.o&&this.o.stop()}; g.h.YL=function(){this.F?this.B.start():this.o&&this.o.start()}; g.h.gx=function(){this.u||(this.u=!0,this.H.play(),this.F=!0)};var Roa=Bb(function(){return new pba}),Woa=Bb(function(){return new Toa});g.r(sY,jY);g.h=sY.prototype; g.h.init=function(a,b,c){jY.prototype.init.call(this,a,b,c);this.H=b;this.fa=Yoa(this);!b||g.Pb(b)?g.M(Error("SkipButtonRenderer was not specified or empty.")):!b.message||g.Pb(b.message)?g.M(Error("SkipButtonRenderer.message was not specified or empty.")):(a={iconType:"SKIP_NEXT"},b=hY(a),null==b?g.M(Error("Icon for SkipButton was unable to be retrieved. yt.innertube.Icon.IconType: "+a.iconType+".")):(this.C=new g.aO({D:"button",X:["ytp-ad-skip-button","ytp-button"],K:[{D:"span",I:"ytp-ad-skip-button-icon", K:[b]}]}),g.A(this,this.C),this.C.ca(this.A.element),this.u=new nY(this.api,this.va,"ytp-ad-skip-button-text"),this.u.init(vU("ad-text"),this.H.message,c),g.A(this,this.u),g.ze(this.C.element,this.u.element,0)),g.P(this.api.O().experiments,"bulleit_use_touch_events_for_skip")&&yX(this))}; g.h.clear=function(){this.U.reset();this.hide()}; g.h.hide=function(){this.A.hide();this.u&&this.u.hide();lY(this);jY.prototype.hide.call(this);this.ba.stop();this.L&&(this.L(),this.L=null)}; g.h.onClick=function(a){if(null!=this.C&&(a&&g.np(a),jY.prototype.onClick.call(this,a),this.S("u"),!this.fa))this.api.onAdUxClicked(this.componentType)}; g.h.ny=function(){return"skip"}; g.h.show=function(){this.U.start();this.A.show();this.u&&this.u.show();kY(this);jY.prototype.show.call(this);this.ba.Za()}; g.h.Fj=function(){this.S("v")}; g.h.ri=function(){};g.r(tY,g.O);g.h=tY.prototype;g.h.KA=function(){return this.u}; g.h.start=function(){this.A||(this.A=!0,this.Ja.start())}; g.h.stop=function(){this.A&&(this.A=!1,this.Ja.stop())}; g.h.KJ=function(){this.o+=100;var a=!1;this.o>this.u&&(this.o=this.u,this.Ja.stop(),a=!0);this.B={seekableStart:0,seekableEnd:this.u/1E3,current:this.o/1E3};this.C&&this.C.ac(this.B.current);this.S("b");a&&this.S("a")}; g.h.getProgressState=function(){return this.B};g.r(uY,Y);g.h=uY.prototype; g.h.init=function(a,b,c){Y.prototype.init.call(this,a,b,c);if(b.image&&b.image.thumbnail)if(b.headline)if(b.description)if(b.backgroundImage&&b.backgroundImage.thumbnail)if(b.actionButton&&b.actionButton.buttonRenderer)if(a=b.durationMilliseconds||0,"number"!==typeof a||0>=a)g.M(Error("durationMilliseconds was specified incorrectly in AdActionInterstitialRenderer with a value of: "+a));else if(b.navigationEndpoint){var d=this.api.getVideoData(2);if(null!=d){var e=b.image.thumbnail.thumbnails;null!= e&&0f)g.M(Error("timeoutSeconds was specified incorrectly in AdChoiceInterstitialRenderer with a value of: "+f));else if(b.completeCommands)if(b.adDurationRemaining&&b.adDurationRemaining.timedPieCountdownRenderer){apa(this,b.text);var m=bpa(b.defaultButtonChoiceIndex);dpa(this,e,a,m)?(fpa(this,b.completeCommands,c,f),b&&b.adDurationRemaining&&b.adDurationRemaining.timedPieCountdownRenderer&&gpa(this,b.adDurationRemaining.timedPieCountdownRenderer, c),b&&b.background&&(c=this.da("ytp-ad-choice-interstitial"),$oa(c,b.background)),epa(this,a),this.show(),g.P(this.api.O().experiments,"self_podding_default_button_focused")&&g.Af(function(){0===m?d.o&&d.o.focus():d.A&&d.A.focus()})):g.M(Error("AdChoiceInterstitialRenderer failed to initialize buttons."))}else g.M(Error("AdChoiceInterstitialRenderer requires a timed_pie_countdown_renderer.")); else g.M(Error("timeoutSeconds was specified yet no completeCommands were specified"))}else g.M(Error("AdChoiceInterstitialRenderer should have two choices."));else g.M(Error("AdChoiceInterstitialRenderer has no title."))}; vY.prototype.clear=function(){this.hide()};g.r(wY,Y);g.h=wY.prototype;g.h.init=function(a,b,c){Y.prototype.init.call(this,a,b,c);b.text?(a=b.durationMilliseconds||0,"number"!==typeof a||0>=a?g.M(Error("durationMilliseconds was specified incorrectly in AdTextInterstitialRenderer with a value of: "+a)):(this.o.init(vU("ad-text"),b.text,c),this.show())):g.M(Error("AdTextInterstitialRenderer has no message AdText."))}; g.h.clear=function(){this.hide()}; g.h.show=function(){hpa(!0);Y.prototype.show.call(this)}; g.h.hide=function(){hpa(!1);Y.prototype.hide.call(this)}; g.h.onClick=function(){};g.r(xY,Y); xY.prototype.init=function(a,b,c){Y.prototype.init.call(this,a,b,c);a=b.hoverText||null;b=b.button&&b.button.buttonRenderer||null;null==b?g.M(Error("AdHoverTextButtonRenderer.button was not set in response.")):(this.button=new iY(this.api,this.va),g.A(this,this.button),this.button.init(vU("button"),b,this.macros),a&&this.button.element.setAttribute("aria-label",g.S(a)),this.button.ca(this.element),this.C&&!g.Fn(this.button.element,"ytp-ad-clickable")&&g.J(this.button.element,"ytp-ad-clickable"),a&& (this.u=new g.aO({D:"div",I:"ytp-ad-hover-text-container"}),this.B&&(b=new g.aO({D:"div",I:"ytp-ad-hover-text-callout"}),b.ca(this.u.element),g.A(this,b)),g.A(this,this.u),this.u.ca(this.element),b=CX(a),g.ze(this.u.element,b,0)),this.show())}; xY.prototype.hide=function(){this.button&&this.button.hide();this.u&&this.u.hide();Y.prototype.hide.call(this)}; xY.prototype.show=function(){this.button&&this.button.show();Y.prototype.show.call(this)};g.r(yY,Y);g.h=yY.prototype;g.h.init=function(a,b,c){Y.prototype.init.call(this,a,b,c);b.reasons?null==b.confirmLabel?g.M(Error("AdFeedbackRenderer.confirmLabel was not set.")):(null==b.cancelLabel&&g.Ko(Error("AdFeedbackRenderer.cancelLabel was not set.")),null==b.title&&g.Ko(Error("AdFeedbackRenderer.title was not set.")),lpa(this,b)):g.M(Error("AdFeedbackRenderer.reasons were not set."))}; g.h.clear=function(){sp(this.B);sp(this.H);this.A.length=0;this.hide()}; g.h.hide=function(){this.o&&this.o.hide();this.u&&this.u.hide();Y.prototype.hide.call(this);this.C&&this.C.focus()}; g.h.show=function(){this.o&&this.o.show();this.u&&this.u.show();this.C=document.activeElement;Y.prototype.show.call(this);this.B.focus()}; g.h.OA=function(){this.api.onAdUxClicked("ad-feedback-dialog-close-button");this.S("w");this.hide()}; g.h.FN=function(){this.hide()}; zY.prototype.xa=function(){return this.o.element}; zY.prototype.isChecked=function(){return this.A.checked};g.r(AY,Y);g.h=AY.prototype;g.h.hide=function(){Y.prototype.hide.call(this);this.A&&this.A.focus()}; g.h.show=function(){this.A=document.activeElement;Y.prototype.show.call(this);this.B.focus()}; g.h.init=function(a,b,c){Y.prototype.init.call(this,a,b,c);this.u=b;b.dialogMessages||null!=b.title?null==b.confirmLabel?g.M(Error("ConfirmDialogRenderer.confirmLabel was not set.")):null==b.cancelLabel?g.M(Error("ConfirmDialogRenderer.cancelLabel was not set.")):mpa(this,b):g.M(Error("Neither ConfirmDialogRenderer.title nor ConfirmDialogRenderer.dialogMessages were set."))}; g.h.clear=function(){g.Wr(this.o);this.hide()}; g.h.Ku=function(){this.hide()}; g.h.Fu=function(){var a=this.u.cancelEndpoint;a&&this.va.executeCommand(a,this.macros);this.hide()}; g.h.Lu=function(){var a=this.u.confirmNavigationEndpoint||this.u.confirmEndpoint;a&&this.va.executeCommand(a,this.macros);this.hide()};g.r(BY,AY);BY.prototype.Ku=function(a){AY.prototype.Ku.call(this,a);this.api.onAdUxClicked("ad-mute-confirm-dialog-close-button")}; BY.prototype.Fu=function(a){AY.prototype.Fu.call(this,a);this.api.onAdUxClicked("ad-mute-confirm-dialog-close-button")}; BY.prototype.Lu=function(a){AY.prototype.Lu.call(this,a);this.api.onAdUxClicked("ad-mute-confirm-dialog-confirm-button");this.S("x")};g.r(CY,Y);g.h=CY.prototype; g.h.init=function(a,b,c){Y.prototype.init.call(this,a,b,c);this.C=b;if(null==b.dialogMessage&&null==b.title)g.M(Error("Neither AdInfoDialogRenderer.dialogMessage nor AdInfoDialogRenderer.title was set."));else{null==b.confirmLabel&&g.Ko(Error("AdInfoDialogRenderer.confirmLabel was not set."));if(a=b.closeOverlayRenderer&&b.closeOverlayRenderer.buttonRenderer||null)this.o=new iY(this.api,this.va,["ytp-ad-info-dialog-close-button"],"ad-info-dialog-close-button"),g.A(this,this.o),this.o.init(vU("button"), a,this.macros),this.o.ca(this.element);b.title&&(a=g.S(b.title),this.oa("title",a));if(b.adReasons)for(a=b.adReasons,c=0;c=a&&g.M(Error("durationMs was specified incorrectly in AdMessageRenderer with a value of: "+a));a=b.durationMs;this.C=null==a||0===a?0:a+1E3*this.o.getProgressState().current;if(b.text)var d=b.text.templatedAdText;else b.staticMessage&&(d=b.staticMessage);this.u.init(vU("ad-text"),d,c);this.u.ca(this.A.element);this.H.show(100);this.show()}; g.h.clear=function(){this.hide()}; g.h.hide=function(){Gpa(this,!1);jY.prototype.hide.call(this);this.A.hide();this.u.hide();lY(this)}; g.h.show=function(){Gpa(this,!0);jY.prototype.show.call(this);kY(this);this.A.show();this.u.show()}; g.h.Fj=function(){this.hide()}; g.h.ri=function(){if(null!=this.o){var a=this.o.getProgressState();null!=a&&null!=a.current&&(a=1E3*a.current,!this.L&&a>=this.C?(this.H.hide(),this.L=!0):this.u&&this.u.isTemplated()&&(a=Math.max(0,Math.ceil((this.C-a)/1E3)),a!=this.U&&(oY(this.u,{TIME_REMAINING:String(a)}),this.U=a)))}};g.r(NY,jY);g.h=NY.prototype; g.h.init=function(a,b,c){jY.prototype.init.call(this,a,b,c);a=b&&b.preskipRenderer&&b.preskipRenderer.adPreviewRenderer||{};if(a=g.Pb(a)?null:a){this.C=null!=a.durationMilliseconds&&void 0!==a.durationMilliseconds?a.durationMilliseconds:5E3;var d="countdown_next_to_thumbnail"==g.Kt(this.api.O().experiments,"preskip_button_style_ads_backend")&&bz(this.api.O());this.u=new pY(this.api,this.va,this.o,d);this.u.init(vU("preskip-component"),a,c);qY(this.u);g.A(this,this.u);this.u.ca(this.element);g.P(this.api.O().experiments, "enable_pubsub_for_skip_transition_bulleit")&&this.u.subscribe("t",this.AM,this)}else b.skipOffsetMilliseconds&&(this.C=b.skipOffsetMilliseconds);b=b&&b.skippableRenderer&&b.skippableRenderer.skipButtonRenderer||{};b=g.Pb(b)?null:b;null==b?g.M(Error("SkipButtonRenderer was not set in player response.")):(this.A=new sY(this.api,this.va,this.o),this.A.init(vU("skip-button"),b,c),g.A(this,this.A),this.A.ca(this.element),this.show())}; g.h.show=function(){this.H&&this.A?this.A.show():this.u&&this.u.show();kY(this);jY.prototype.show.call(this)}; g.h.Fj=function(){}; g.h.clear=function(){this.u&&this.u.clear();this.A&&this.A.clear();lY(this);jY.prototype.hide.call(this)}; g.h.hide=function(){this.u&&this.u.hide();this.A&&this.A.hide();lY(this);jY.prototype.hide.call(this)}; g.h.AM=function(){OY(this,!0)}; g.h.ri=function(){g.P(this.api.O().experiments,"enable_pubsub_for_skip_transition_bulleit")?this.u||1E3*this.o.getProgressState().current>=this.C&&OY(this,!0):1E3*this.o.getProgressState().current>=this.C&&OY(this,!0)};g.r(PY,Y);PY.prototype.init=function(a,b,c){Y.prototype.init.call(this,a,b,c);b.skipAd&&(a=b.skipAd,a.skipAdRenderer&&(b=new NY(this.api,this.va,this.o),b.ca(this.u),b.init(vU("skip-button"),a.skipAdRenderer,this.macros),g.A(this,b)));this.show()};g.r(QY,jY);g.h=QY.prototype;g.h.init=function(a,b,c){jY.prototype.init.call(this,a,b,c);if(b.templatedCountdown){a=b.templatedCountdown.templatedAdText;if(!a.isTemplated){g.Ko(Error("AdDurationRemainingRenderer has no templated ad text."));return}this.u=new nY(this.api,this.va);this.u.init(vU("ad-text"),a,{});this.u.ca(this.element);g.A(this,this.u)}this.show()}; g.h.clear=function(){this.hide()}; g.h.hide=function(){lY(this);jY.prototype.hide.call(this)}; g.h.Fj=function(){this.hide()}; g.h.ri=function(){if(null!=this.o){var a=this.o.getProgressState();if(null!=a&&null!=a.current&&this.u){a=(this.o instanceof tY?a.seekableEnd:this.api.getDuration(2,g.P(this.api.O().experiments,"halftime_ux_killswitch")?void 0:!1))-a.current;var b=g.LM(a);oY(this.u,{FORMATTED_AD_DURATION_REMAINING:String(b),TIME_REMAINING:String(Math.ceil(a))})}}}; g.h.show=function(){kY(this);jY.prototype.show.call(this)};g.r(RY,nY);RY.prototype.onClick=function(a){nY.prototype.onClick.call(this,a);this.api.onAdUxClicked(this.componentType)};g.r(SY,jY);g.h=SY.prototype; g.h.init=function(a,b,c){jY.prototype.init.call(this,a,b,c);if(b.image&&b.image.thumbnail)if(b.headline)if(b.description)if(b.actionButton&&b.actionButton.buttonRenderer&&b.actionButton.buttonRenderer.navigationEndpoint){a=this.api.getVideoData(2);if(null!=a)if(b.image&&b.image.thumbnail){var d=b.image.thumbnail.thumbnails;null!=d&&0=this.U&&(lY(this),g.Hn(this.element,"ytp-flyout-cta-inactive"))}}; g.h.Fj=function(){this.clear()}; g.h.clear=function(){this.hide()}; g.h.show=function(){this.u&&this.u.show();jY.prototype.show.call(this)}; g.h.hide=function(){this.u&&this.u.hide();jY.prototype.hide.call(this)};g.r(TY,Y);g.h=TY.prototype; g.h.init=function(a,b,c){Y.prototype.init.call(this,a,b,c);this.u=b;if(null==b.defaultText&&null==b.defaultIcon)g.M(Error("ToggleButtonRenderer must have either text or icon set."));else if(null==b.defaultIcon&&null!=b.toggledIcon)g.M(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":a="ytp-ad-toggle-button-default-style";break;default:a=null}null!=a&&g.J(this.A,a)}a={};b.defaultText? (c=g.S(b.defaultText),g.lc(c)||(a.buttonText=c,this.o.setAttribute("aria-label",c))):g.Sh(this.aa,!1);b.defaultTooltip&&(a.tooltipText=b.defaultTooltip,this.o.hasAttribute("aria-label")||this.L.setAttribute("aria-label",b.defaultTooltip));b.defaultIcon?(c=hY(b.defaultIcon),this.oa("untoggledIconTemplateSpec",c),b.toggledIcon?(this.H=!0,c=hY(b.toggledIcon),this.oa("toggledIconTemplateSpec",c)):(g.Sh(this.C,!0),g.Sh(this.B,!1)),g.Sh(this.o,!1)):g.Sh(this.L,!1);g.Pb(a)||this.update(a);b.isToggled&&(g.J(this.A, "ytp-ad-toggle-button-toggled"),this.toggleButton(b.isToggled));UY(this);this.U=this.N(this.element,"change",this.MA);g.P(this.api.O().experiments,"bulleit_use_touch_events_for_magpie")&&yX(this,this.U);this.show()}}; g.h.onClick=function(a){0a)g.M(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){Spa(this.B,b.backgroundImage.thumbnailLandscapePortraitRenderer.landscape);Spa(this.H, b.brandImage);g.Ee(this.L,g.S(b.text));this.o=new iY(this.api,this.va,["ytp-ad-survey-interstitial-action-button"]);g.A(this,this.o);this.o.ca(this.C);this.o.init(vU("button"),b.ctaButton.buttonRenderer,c);this.o.show();var e=b.timeoutCommands;this.A=new tY(1E3*a);this.A.subscribe("a",function(){d.u.hide();e.forEach(function(f){return d.va.executeCommand(f,c)}); d.va.executeCommand({adLifecycleCommand:{action:"END_LINEAR_AD"}},c)}); g.A(this,this.A);this.N(this.element,"click",function(f){return Rpa(d,f,b)}); this.u.show(100);b.impressionCommands&&b.impressionCommands.forEach(function(f){return d.va.executeCommand(f,c)})}else g.M(Error("SurveyTextInterstitialRenderer has no landscape background image.")); else g.M(Error("SurveyTextInterstitialRenderer has no brandImage."));else g.M(Error("SurveyTextInterstitialRenderer has no button."));else g.M(Error("SurveyTextInterstitialRenderer has no text."));else g.M(Error("timeoutSeconds was specified yet no timeoutCommands where specified"))}; hZ.prototype.clear=function(){this.hide()}; hZ.prototype.show=function(){Tpa(!0);Y.prototype.show.call(this)}; hZ.prototype.hide=function(){Tpa(!1);Y.prototype.hide.call(this)};g.r(iZ,Y);g.h=iZ.prototype; g.h.init=function(a,b,c){var d=this;Y.prototype.init.call(this,a,b,c);this.o&&(this.o.cancel(),this.o=null);this.o=new Ff(g.Ja);b.bannerImage?b.iconImage?b.headline?b.description?b.actionButton&&b.actionButton.buttonRenderer?b.navigationEndpoint?(b.adInfoRenderer&&b.adInfoRenderer.adHoverTextButtonRenderer?this.B.init(vU("watch-ad-info-hover-button"),b.adInfoRenderer.adHoverTextButtonRenderer,c):g.M(Error("ActionCompanionAdRenderer has no ad info renderer.")),this.A.init(vU("ad-image"),b.bannerImage, c),this.fa.init(vU("ad-image"),b.iconImage,c),this.L.init(vU("ad-text"),b.headline,c),this.C.init(vU("ad-text"),b.description,c),this.u.init(vU("button"),b.actionButton.buttonRenderer,c),g.Ee(this.da("yt-badge-ad"),"Anuncio"),this.ba=b.impressionCommands||[],this.U=b.navigationEndpoint,this.H.N(this.element,"click",this.gM,this),Promise.race([this.o,this.ma.showCompanion(this.element,300,250)]).then(function(){return d.show()})):g.M(Error("ActionCompanionAdRenderer has no navigation endpoint.")): g.M(Error("ActionCompanionAdRenderer has no button.")):g.M(Error("ActionCompanionAdRenderer has no description string.")):g.M(Error("ActionCompanionAdRenderer has no headline string.")):g.M(Error("ActionCompanionAdRenderer has no icon image.")):g.M(Error("ActionCompanionAdRenderer has no banner image."))}; g.h.clear=function(){g.Wr(this.H);this.hide()}; g.h.show=function(){var a=this;this.u.show();Y.prototype.show.call(this);this.ba.forEach(function(b){return a.va.executeCommand(b,a.macros)})}; g.h.hide=function(){this.u.hide();Y.prototype.hide.call(this)}; g.h.gM=function(a){a=a.target;g.De(this.B.element,a)||(this.U&&!g.De(this.u.element,a)&&this.va.executeCommand(this.U,this.macros),this.api.onAdUxClicked("action-companion"),this.api.pauseVideo())}; g.h.Y=function(){this.o&&(this.o.cancel(),this.o=null);Y.prototype.Y.call(this)};g.r(jZ,g.W);jZ.prototype.clear=function(){for(var a=g.p(this.o),b=a.next();!b.done;b=a.next())g.Ne(b.value);this.o=[]}; jZ.prototype.G=function(a){g.np(a);this.u=Math.max(0,this.u-kZ(this));lZ(this)}; jZ.prototype.F=function(a){g.np(a);this.u=Math.min(this.o.length-1,this.u+kZ(this));lZ(this)}; jZ.prototype.Y=function(){this.clear();g.W.prototype.Y.call(this)};g.r(mZ,DX);g.h=mZ.prototype;g.h.xa=function(){return this.o.element}; g.h.Tn=function(a){var b=this.o,c=new g.W({D:"li",I:"ad-carousel-listitem",K:[{D:"div",I:"ad-carousel-item"}]});c.da("ad-carousel-item").appendChild(a);b.o.push(c);b.C.appendChild(c.element)}; g.h.show=function(){this.o.show()}; g.h.hide=function(){this.o.hide()}; g.h.clear=function(){this.o.clear()};var Xpa={PP:"adinfoclick",CS:"offerclick",DS:"offernavclick"};g.r(nZ,DX);nZ.prototype.show=function(){this.u.show()}; nZ.prototype.hide=function(){this.u.hide()}; nZ.prototype.xa=function(){return this.u.element};var Vpa={zr:nZ};g.r(pZ,EX); pZ.prototype.C=function(a){var b=this.view;a=a.renderer;this.u=a.clickthroughEndpoint||null;var c=a.headline||null;oZ(b.A,"headline",c);oZ(b.o,"headline",c);c=a.merchant||null;oZ(b.B,"merchant",c);oZ(b.A,"merchant",c);oZ(b.o,"merchant",c);c=a.priceText||null;oZ(b.B,"price",c);oZ(b.A,"price",c);oZ(b.o,"price",c);c=(c=a.image&&0=c)break;b.seekTo(g.Ud(c-(Number(a.seekOffsetMilliseconds)||0)/1E3,0,c));break;case "AD_PLAYER_CONTROLS_ACTION_RESUME":b.resume()}};HZ.prototype.Tg=function(){return"clearCueRangesCommand"}; HZ.prototype.Ia=function(){var a=this.Ri();g.Af(function(){tna(a,Array.from(a.G))})};IZ.prototype.Tg=function(){return"muteAdEndpoint"}; IZ.prototype.Ia=function(a){var b=this.Ri();switch(a.type){case "SKIP":g.Af(function(){b.Vt()})}};JZ.prototype.Tg=function(){return"pingingEndpoint"}; JZ.prototype.Ia=function(){};KZ.prototype.Tg=function(){return"urlEndpoint"}; KZ.prototype.Ia=function(a,b){if(a.url){var c=g.hn(a.url,b);g.hO(c)}};LZ.prototype.Tg=function(){return"adPingingEndpoint"}; LZ.prototype.Ia=function(a,b,c){b=void 0===b?{}:b;c=void 0===c?{}:c;this.Lr.send(a,b,c)};MZ.prototype.Tg=function(){return"changeEngagementPanelVisibilityAction"}; MZ.prototype.Ia=function(a){this.J.sa("changeEngagementPanelVisibility",{changeEngagementPanelVisibilityAction:a})};NZ.prototype.Tg=function(){return"loggingUrls"}; NZ.prototype.Ia=function(a,b,c){b=void 0===b?{}:b;c=void 0===c?{}:c;a=g.p(a);for(var d=a.next();!d.done;d=a.next())d=d.value,d.baseUrl&&this.sg.send(d.baseUrl,b,c)};g.r(mqa,g.z);var Lqa=new Map([[0,"trigger_category_layout_exit_normal"],[1,"trigger_category_layout_exit_skip"],[2,"trigger_category_layout_exit_mute"],[3,"trigger_category_slot_expiration"],[4,"trigger_category_slot_fulfillment"],[5,"trigger_category_slot_entry"]]);g.r(SZ,g.z);SZ.prototype.logEvent=function(a){TZ(this,a)}; var yqa=new Map([["opportunity_type_ad_break_service_response_received","OPPORTUNITY_TYPE_AD_BREAK_SERVICE_RESPONSE_RECEIVED"],["opportunity_type_ad_placement_renderers_response_received","OPPORTUNITY_TYPE_AD_PLACEMENT_RENDERERS_RESPONSE_RECEIVED"],["opportunity_type_live_stream_break_signal","OPPORTUNITY_TYPE_LIVE_STREAM_BREAK_SIGNAL"],["opportunity_type_player_bytes_media_layout_entered","OPPORTUNITY_TYPE_PLAYER_BYTES_MEDIA_LAYOUT_ENTERED"],["opportunity_type_player_response_received","OPPORTUNITY_TYPE_PLAYER_RESPONSE_RECEIVED"]]), vqa=new Map([["slot_type_in_player","SLOT_TYPE_IN_PLAYER"],["slot_type_above_feed","SLOT_TYPE_ABOVE_FEED"],["slot_type_below_player","SLOT_TYPE_BELOW_PLAYER"],["slot_type_player_bytes","SLOT_TYPE_PLAYER_BYTES"],["slot_type_forecasting","SLOT_TYPE_FORECASTING"],["slot_type_ad_break_request","SLOT_TYPE_AD_BREAK_REQUEST"]]),xqa=new Map([["layout_type_media_layout_player_overlay","LAYOUT_TYPE_MEDIA_LAYOUT_PLAYER_OVERLAY"],["layout_type_companion_with_action_button","LAYOUT_TYPE_COMPANION_WITH_ACTION_BUTTON"], ["layout_type_companion_with_image","LAYOUT_TYPE_COMPANION_WITH_IMAGE"],["layout_type_companion_with_shopping","LAYOUT_TYPE_COMPANION_WITH_SHOPPING"],["layout_type_media","LAYOUT_TYPE_MEDIA"],["layout_type_composite_player_bytes","LAYOUT_TYPE_COMPOSITE_PLAYER_BYTES"],["layout_type_forecasting","LAYOUT_TYPE_FORECASTING"],["layout_type_in_video_text_overlay","LAYOUT_TYPE_IN_VIDEO_TEXT_OVERLAY"],["layout_type_in_video_enhanced_text_overlay","LAYOUT_TYPE_IN_VIDEO_ENHANCED_TEXT_OVERLAY"],["layout_type_in_video_image_overlay", "LAYOUT_TYPE_IN_VIDEO_IMAGE_OVERLAY"],["layout_type_ad_break_response","LAYOUT_TYPE_AD_BREAK_RESPONSE"]]),YZ=new Map([["trigger_type_on_new_playback_after_content_video_id","TRIGGER_TYPE_ON_NEW_PLAYBACK_AFTER_CONTENT_VIDEO_ID"],["trigger_type_slot_id_entered","TRIGGER_TYPE_SLOT_ID_ENTERED"],["trigger_type_slot_id_exited","TRIGGER_TYPE_SLOT_ID_EXITED"],["trigger_type_slot_id_exited","TRIGGER_TYPE_SLOT_ID_EXITED"],["trigger_type_slot_id_scheduled","TRIGGER_TYPE_SLOT_ID_SCHEDULED"],["trigger_type_slot_id_fulfilled_empty", "TRIGGER_TYPE_SLOT_ID_FULFILLED_EMPTY"],["trigger_type_slot_id_fulfilled_non_empty","TRIGGER_TYPE_SLOT_ID_FULFILLED_NON_EMPTY"],["trigger_type_layout_id_entered","TRIGGER_TYPE_LAYOUT_ID_ENTERED"],["trigger_type_on_different_layout_id_entered","TRIGGER_TYPE_ON_DIFFERENT_LAYOUT_ID_ENTERED"],["trigger_type_layout_id_exited","TRIGGER_TYPE_LAYOUT_ID_EXITED"],["trigger_type_on_layout_self_exit_requested","TRIGGER_TYPE_ON_LAYOUT_SELF_EXIT_REQUESTED"],["trigger_type_on_element_self_enter_requested","TRIGGER_TYPE_ON_SLOT_SELF_ENTER_REQUESTED"], ["trigger_type_before_content_video_id_started","TRIGGER_TYPE_BEFORE_CONTENT_VIDEO_ID_STARTED"],["trigger_type_after_content_video_id_ended","TRIGGER_TYPE_CONTENT_VIDEO_ID_ENDED"],["trigger_type_media_time_range","TRIGGER_TYPE_MEDIA_TIME_RANGE"],["TRIGGER_TYPE_LIVE_STREAM_BREAK_STARTED","TRIGGER_TYPE_LIVE_STREAM_BREAK_STARTED"],["TRIGGER_TYPE_LIVE_STREAM_BREAK_STARTED","TRIGGER_TYPE_LIVE_STREAM_BREAK_STARTED"],["trigger_type_close_requested","TRIGGER_TYPE_CLOSE_REQUESTED"],["trigger_type_time_relative_to_layout_enter", "TRIGGER_TYPE_TIME_RELATIVE_TO_LAYOUT_ENTER"],["trigger_type_not_in_media_time_range","TRIGGER_TYPE_NOT_IN_MEDIA_TIME_RANGE"]]),tqa=new Map([[5,"TRIGGER_CATEGORY_SLOT_ENTRY"],[4,"TRIGGER_CATEGORY_SLOT_FULFILLMENT"],[3,"TRIGGER_CATEGORY_SLOT_EXPIRATION"],[0,"TRIGGER_CATEGORY_LAYOUT_EXIT_NORMAL"],[1,"TRIGGER_CATEGORY_LAYOUT_EXIT_USER_SKIPPED"],[2,"TRIGGER_CATEGORY_LAYOUT_EXIT_USER_MUTED"]]),wqa=new Map([["unspecified","CONTROL_FLOW_MANAGER_LAYER_UNSPECIFIED"],["core","CONTROL_FLOW_MANAGER_LAYER_CORE"], ["adapter","CONTROL_FLOW_MANAGER_LAYER_ADAPTER"],["surface","CONTROL_FLOW_MANAGER_LAYER_SURFACE"],["external","CONTROL_FLOW_MANAGER_LAYER_EXTERNAL"]]),oqa=new Map([["normal",{Bq:"ADS_CLIENT_EVENT_TYPE_NORMAL_EXIT_LAYOUT_REQUESTED",Qq:"ADS_CLIENT_EVENT_TYPE_LAYOUT_EXITED_NORMALLY"}],["skipped",{Bq:"ADS_CLIENT_EVENT_TYPE_SKIP_EXIT_LAYOUT_REQUESTED",Qq:"ADS_CLIENT_EVENT_TYPE_LAYOUT_EXITED_SKIP"}],["muted",{Bq:"ADS_CLIENT_EVENT_TYPE_MUTE_EXIT_LAYOUT_REQUESTED",Qq:"ADS_CLIENT_EVENT_TYPE_LAYOUT_EXITED_MUTE"}], ["abandoned",{Bq:"ADS_CLIENT_EVENT_TYPE_ABANDON_EXIT_LAYOUT_REQUESTED",Qq:"ADS_CLIENT_EVENT_TYPE_LAYOUT_EXITED_ABANDON"}]]);g.r(a_,g.z);a_.prototype.Y=function(){var a=Kqa(this.o);a=g.p(a);for(var b=a.next();!b.done;b=a.next())g_(this,b.value,!1);g.z.prototype.Y.call(this)};p_.prototype.isActive=function(){switch(this.o){case "entered":case "rendering":case "rendering_stop_requested":case "exit_requested":return!0;default:return!1}}; p_.prototype.Lt=function(){switch(this.C){case "fill_requested":return!0;default:return!1}}; p_.prototype.Kt=function(){switch(this.o){case "exit_requested":return!0;default:return!1}}; p_.prototype.It=function(){switch(this.o){case "rendering_stop_requested":return!0;default:return!1}};g.r(q_,Va);g.r(l_,Va);g.r(r_,g.z);g.h=r_.prototype;g.h.Ls=function(a){a=b_(this,a);a.C="fill_requested";a.F.Ls()}; g.h.Xj=function(a){b_(this,a).Xj=!0}; g.h.Lt=function(a){return b_(this,a).Lt()}; g.h.Kt=function(a){return b_(this,a).Kt()}; g.h.It=function(a){return b_(this,a).It()};g.r(Oqa,g.z);g.r(w_,g.z);w_.prototype.get=function(){this.ha()&&$Z("Tried to retrieve object during dispose",void 0,void 0,{type:typeof this.o});this.o||(this.o=this.u());return this.o};g.r(x_,g.z);g.r(z_,x_);z_.prototype.tB=function(a){var b=this;if(!K_(this.C.get(),1).daiEnabled){var c=a.adPlacementRenderer,d=c.renderer.adBreakServiceRenderer;if(c=Rqa(c.config.adPlacementConfig,a.Yf,Number(d.prefetchMilliseconds)||0)){var e=c.uq,f={contentCpn:a.contentCpn,Yf:a.Yf,Yx:e,getAdBreakUrl:d.getAdBreakUrl};a={contentCpn:a.contentCpn,gk:c.gk,FC:c.fv?e:null,execute:function(){return Tqa(b,f)}}; this.B.get().schedule(a)}else ZZ("Error creating range for AdBreakServiceRenderer",void 0,void 0,{tU:a})}};g.r(A_,x_);A_.prototype.u=function(a,b,c,d){0!==c.length&&y_(this,{sd:c,Nr:d,contentCpn:a,Yf:b,Zo:!1,daiEnabled:!1})};g.r(B_,g.z);g.h=B_.prototype;g.h.schedule=function(a){var b=a.contentCpn,c=a.execute,d=a.gk;a=a.FC;var e="adfetchcuerange:"+gs(),f=a?"deferredadvisiblecuerange:"+gs():null;this.Gq.set(e,{contentCpn:b,Mx:f,execute:c});this.Eb.get().addCueRange(e,d.start,d.end,!1,this);f&&a&&this.Eb.get().addCueRange(f,a.start,a.end,!0,this)}; g.h.ld=function(a){return th(this,function c(){var d=this,e,f,k,l,m;return Aa(c,function(n){if(1==n.o){e=d.Gq.get(a);if(!e||d.Jr.has(a))return n["return"]();d.Jr.add(a);f=e;k=f.Mx;l=f.execute;return g.sa(n,l(),2)}m=n.u;d.Jr["delete"](a);m&&Uqa(d,a,k);n.o=0})})}; g.h.Ve=function(){}; g.h.Yk=function(){}; g.h.Wk=function(a){a=a.clientPlaybackNonce;for(var b=g.p(this.Gq.entries()),c=b.next();!c.done;c=b.next()){var d=g.p(c.value);c=d.next().value;d=d.next().value;var e=d.Mx;d.contentCpn!==a&&Uqa(this,c,e)}};D_.prototype.fetch=function(a){return th(this,function c(){var d,e,f,k,l=this,m,n;return Aa(c,function(q){if(1==q.o)return d=a,e=d.LD,f=d.Nx,k=void 0===d.Si?void 0:d.Si,ta(q,2),g.sa(q,l.Kr.fetch(e,{Si:k,fc:f,ul:qoa(l.o)}),4);if(2!=q.o)return m=q.u,q["return"](Vqa(m,f));n=va(q);g.fr(n);return q["return"]({sd:[],Ci:!1})})})};E_.prototype.addListener=function(a){this.listeners.push(a)}; E_.prototype.removeListener=function(a){this.listeners=this.listeners.filter(function(b){return b!==a})};g.r(F_,g.z);F_.prototype.addCueRange=function(a,b,c,d,e){this.o.has(a)?ZZ("Tried to register duplicate cuerange",void 0,void 0,{CueRangeID:a}):(a=new Xqa(a,b,c,d),this.o.set(a.id,{fc:a,listener:e}),g.JL(this.J,[a],1))}; F_.prototype.removeCueRange=function(a){var b=this.o.get(a);b?(g.XT(this.J.app,[b.fc],1),this.o["delete"](a)):ZZ("Requested to remove unknown cuerange",void 0,void 0,{CueRangeID:a})}; F_.prototype.ld=function(a){this.o.has(a.id)&&this.o.get(a.id).listener.ld(a.id)}; F_.prototype.Ve=function(a){this.o.has(a.id)&&this.o.get(a.id).listener.Ve(a.id)}; g.r(Xqa,g.nC);g.r(L_,g.z);g.h=L_.prototype;g.h.addListener=function(a){this.listeners.push(a)}; g.h.removeListener=function(a){this.listeners=this.listeners.filter(function(b){return b!==a})}; g.h.HN=function(a,b){var c=this.Vn(b);this.o=c;this.listeners.forEach(function(e){e.Yk(c)}); var d=K_(this,1);d.clientPlaybackNonce!==this.contentCpn&&(this.contentCpn=d.clientPlaybackNonce,this.listeners.forEach(function(e){e.Wk(d)}))}; g.h.Vn=function(a){var b,c,d=a.Db;a=a.clientPlaybackNonce;d=this.u.get().o.get(d)||{layoutId:null,slotId:null};var e=this.J.getVideoData(1).getPlayerResponse();e=(null===(c=null===(b=null===e||void 0===e?void 0:e.playerConfig)||void 0===b?void 0:b.daiConfig)||void 0===c?void 0:c.enableDai)||!1;return Object.assign(Object.assign({},d),{clientPlaybackNonce:a,daiEnabled:e})}; g.h.Y=function(){this.listeners.length=0;this.o=null;g.z.prototype.Y.call(this)};g.r(ara,g.z);M_.prototype.get=function(){return this.value}; g.r(N_,M_);N_.prototype.o=function(){return"metadata_type_action_companion_ad_renderer"}; g.r(O_,M_);O_.prototype.o=function(){return"metadata_type_ad_next_params"}; g.r(P_,M_);P_.prototype.o=function(){return"metadata_type_ad_video_clickthrough_endpoint"}; g.r(Q_,M_);Q_.prototype.o=function(){return"metadata_type_invideo_overlay_ad_renderer"}; g.r(R_,M_);R_.prototype.o=function(){return"metadata_type_image_companion_ad_renderer"}; g.r(S_,M_);S_.prototype.o=function(){return"metadata_type_shopping_companion_carousel_renderer"}; g.r(T_,M_);T_.prototype.o=function(){return"metadata_type_ad_placement_config"}; g.r(U_,M_);U_.prototype.o=function(){return"metadata_type_ad_pod_info"}; g.r(V_,M_);V_.prototype.o=function(){return"metadata_type_ad_video_id"}; g.r(W_,M_);W_.prototype.o=function(){return"metadata_type_content_cpn"}; g.r(X_,M_);X_.prototype.o=function(){return"metadata_type_instream_ad_player_overlay_renderer"}; g.r(Y_,M_);Y_.prototype.o=function(){return"metadata_type_linked_player_bytes_layout_id"}; g.r(Z_,M_);Z_.prototype.o=function(){return"metadata_type_player_bytes_callback"}; g.r($_,M_);$_.prototype.o=function(){return"metadata_type_player_bytes_callback_ref"}; g.r(a0,M_);a0.prototype.o=function(){return"metadata_type_sub_layouts"}; g.r(b0,M_);b0.prototype.o=function(){return"metadata_type_video_length_seconds"}; g.r(c0,M_);c0.prototype.o=function(){return"metadata_type_player_vars"}; g.r(d0,M_);d0.prototype.o=function(){return"metadata_type_layout_enter_ms"}; g.r(e0,M_);e0.prototype.o=function(){return"metadata_type_sub_layout_index"}; g.r(f0,M_);f0.prototype.o=function(){return"metadata_type_client_forecasting_ad_renderer"}; g.r(g0,M_);g0.prototype.o=function(){return"metadata_type_drift_recovery_ms"}; g.r(h0,M_);h0.prototype.o=function(){return"metadata_type_fulfilled_layout"};Pqa.prototype.Ls=function(){a:{var a=this.Kb,b=this.slot,c=QZ(this.slot.Na,"metadata_type_fulfilled_layout");if(null!=b_(a.o,b))if(b_(a.o,b).C=c?"filled":"not_filled",null===c){VZ(a.u,"ADS_CLIENT_EVENT_TYPE_SLOT_FULFILLED_EMPTY",b);c=g.p(a.A);for(var d=c.next();!d.done;d=c.next())d.value.Zk();g_(a,b,!1)}else{VZ(a.u,"ADS_CLIENT_EVENT_TYPE_SLOT_FULFILLED_NON_EMPTY",b,c);var e=g.p(a.A);for(d=e.next();!d.done;d=e.next())d.value.al();if(b_(a.o,b).B)g_(a,b,!1);else{VZ(a.u,"ADS_CLIENT_EVENT_TYPE_SCHEDULE_LAYOUT_REQUESTED", b,c);try{var f=a.o;if(!b_(f,b))throw new q_("Unknown slotState for onLayout");if(!f.o.ai.get(b.jb))throw new q_("No LayoutRenderingAdapterFactory registered for slot of type: "+b.jb);if(g.db(c.Se)&&g.db(c.Af)&&g.db(c.zf))throw new q_("Layout has no exit triggers.");t_(f,0,c.Se);t_(f,1,c.Af);t_(f,2,c.zf)}catch(n){h_(a,b,c,n);g_(a,b,!0);break a}a.o.Xj(b);try{var k=a.o,l=b_(k,b),m=k.o.ai.get(b.jb).get().o(k.C,k.A,b,c);m.init();l.layout=c;if(l.u)throw new q_("Already had LayoutRenderingAdapter registered for slot"); l.u=m;u_(k,l,0,c.Se);u_(k,l,1,c.Af);u_(k,l,2,c.zf)}catch(n){j_(a,b);g_(a,b,!0);h_(a,b,c,n);break a}VZ(a.u,"ADS_CLIENT_EVENT_TYPE_LAYOUT_SCHEDULED",b,c);e=g.p(a.A);for(d=e.next();!d.done;d=e.next())d.value.Bj(c);j_(a,b);Jqa(a,b)}}}};g.r(i0,bra);g.h=era.prototype;g.h.Fp=function(){return this.slot}; g.h.Fo=function(){return this.layout}; g.h.init=function(){}; g.h.nj=function(){}; g.h.startRendering=function(a){a.layoutId!==this.layout.layoutId?h_(this.Kb,this.slot,a,new q_("Tried to start rendering an unknown layout, this adapter requires LayoutId: "+this.layout.layoutId+("and LayoutType: "+this.layout.layoutType))):(n0(this.u,"impression"),c_(this.Kb,this.slot,a))}; g.h.sl=function(a,b){a.layoutId!==this.layout.layoutId?h_(this.Kb,this.slot,a,new q_("Tried to stop rendering an unknown layout, this adapter requires LayoutId: "+this.layout.layoutId+("and LayoutType: "+this.layout.layoutType))):f_(this.Kb,this.slot,a,b)};p0.prototype.o=function(a,b,c,d){if(o0(d,fra()))return new era(a,c,d,this.A,this.u);throw new q_("Unsupported layout with type: "+d.layoutType+" and client metadata: "+RZ(d.Na)+" in ForecastingLayoutRenderingAdapterFactory.");};g.r(q0,g.O);g.h=q0.prototype;g.h.Fp=function(){return this.slot}; g.h.Fo=function(){return this.layout}; g.h.init=function(){this.u.get().addListener(this)}; g.h.nj=function(){this.u.get().removeListener(this);this.dispose()}; g.h.Py=function(){}; g.h.Oy=function(){}; g.h.lt=function(){}; g.h.startRendering=function(a){if(a.layoutId!==this.layout.layoutId)h_(this.Kb,this.slot,a,new q_("Tried to start rendering an unknown layout, this adapter requires LayoutId: "+this.layout.layoutId+("and LayoutType: "+this.layout.layoutType)));else{var b=this.u.get();Jra(b,this.o,1);c_(this.Kb,this.slot,a)}}; g.h.sl=function(a,b){if(a.layoutId!==this.layout.layoutId)h_(this.Kb,this.slot,a,new q_("Tried to stop rendering an unknown layout, this adapter requires LayoutId: "+this.layout.layoutId+("and LayoutType: "+this.layout.layoutType)));else{var c=this.u.get();Jra(c,this.o,3);this.o=[];f_(this.Kb,this.slot,a,b)}}; g.h.Y=function(){this.u.get().removeListener(this);g.O.prototype.Y.call(this)};g.r(r0,q0);g.h=r0.prototype;g.h.init=function(){q0.prototype.init.call(this);var a=QZ(this.layout.Na,this.M),b=l0(this.F);this.o.push(this.L(a,b))}; g.h.Ep=function(a){if(a===this.G){a:{a=this.H.get().o;for(var b=g.p(a.keys()),c=b.next();!c.done;c=b.next())if(c=c.value,"slot_type_player_bytes"===c.jb&&gra(this,a.get(c))){a=!0;break a}a=!1}a?this.C.get().J.sendVideoStatsEngageEvent(1,void 0,2):this.A?this.A():ZZ("Tried to call engagePingCallback but it is null",this.Fp(),this.Fo())}}; g.h.oj=function(a,b){gra(this,b)&&(null===this.A?this.A=Mra(this.C.get()):ZZ("OnLayoutEntered should set engagePingCallback, but it was not null",this.Fp(),this.Fo()))}; g.h.startRendering=function(a){q0.prototype.startRendering.call(this,a);n0(this.F,"impression")}; g.h.pj=function(){}; g.h.Lk=function(){}; g.h.bl=function(){}; g.h.Jk=function(){}; g.h.Kk=function(){}; g.h.Zk=function(){}; g.h.al=function(){}; g.h.Bj=function(){}; g.h.Xk=function(){}; g.h.Y=function(){this.B().A["delete"](this);q0.prototype.Y.call(this)};g.r(hra,r0);g.r(s0,q0);s0.prototype.init=function(){q0.prototype.init.call(this);var a=QZ(this.layout.Na,"metadata_type_instream_ad_player_overlay_renderer");this.o.push(new TW(a))}; s0.prototype.Ep=function(a){a:{var b=this.F.get();var c=this.C;b=g.p(b.o.values());for(var d=b.next();!d.done;d=b.next())if(d.value.layoutId===c){c=!0;break a}c=!1}if(c)switch(a){case "visit-advertiser":this.G.get().J.sendVideoStatsEngageEvent(3,void 0,2)}switch(a){case "ad-mute-confirm-dialog-close-button":case "ad-feedback-undo-mute-button":case "ad-info-dialog-close-button":this.B||(a=this.A.get(),2===a.J.getPlayerState(2)&&a.J.playVideo());break;case "ad-info-icon-button":(this.B=2===this.A.get().J.getPlayerState(2))|| this.A.get().pauseVideo();break;case "visit-advertiser":this.A.get().pauseVideo();QZ(this.layout.Na,"metadata_type_player_bytes_callback").LC();break;case "skip-button":QZ(this.layout.Na,"metadata_type_player_bytes_callback").skip()}}; s0.prototype.Y=function(){q0.prototype.Y.call(this)};jra.prototype.o=function(a,b,c,d){if(a=t0(a,c,d,this.u,this.C,this.B,this.A))return a;throw new q_("Unsupported layout with type: "+d.layoutType+" and client metadata: "+RZ(d.Na)+" in OtherWebInPlayerLayoutRenderingAdapterFactory.");};u0.prototype.Ws=function(a){var b=this,c=[];this.A=new Map;var d=a.sd.filter(ora),e={};d=g.p(d);for(var f=d.next();!f.done;e={tc:e.tc,Uf:e.Uf,Vf:e.Vf},f=d.next())if(e.Vf=f.value,e.tc=e.Vf.renderer,e.Uf=e.Vf.config.adPlacementConfig,f=e.Uf.kind,null!=e.tc.actionCompanionAdRenderer)e.tc.actionCompanionAdRenderer.adVideoId?v0(this,e.Vf.elementId,f,e.tc.actionCompanionAdRenderer.adVideoId,e.Uf,function(m){return function(n,q,t,u){b.u.get();var w=m.tc.actionCompanionAdRenderer;return W0("layout_type_companion_with_action_button", new N_(w),q,t,u,w.impressionPings,w.impressionCommands,b.o(n))}}(e)):ZZ("ActionCompanionAdRenderer without adVideoId",void 0,void 0,{kind:f, "actionButton undefined":void 0===e.tc.actionCompanionAdRenderer.actionButton,"APR count":a.sd.length,isAdBreakResponse:a.Zo});else if(e.tc.imageCompanionAdRenderer)e.tc.imageCompanionAdRenderer.adVideoId?v0(this,e.Vf.elementId,f,e.tc.imageCompanionAdRenderer.adVideoId,e.Uf,function(m){return function(n,q,t,u){b.u.get();var w=m.tc.imageCompanionAdRenderer;return W0("layout_type_companion_with_image",new R_(w),q,t,u,w.impressionPings,w.impressionCommands,b.o(n))}}(e)):ZZ("ImageCompanionAdRenderer without adVideoId"); else if(e.tc.shoppingCompanionCarouselRenderer)e.tc.shoppingCompanionCarouselRenderer.adVideoId?v0(this,e.Vf.elementId,f,e.tc.shoppingCompanionCarouselRenderer.adVideoId,e.Uf,function(m){return function(n,q,t,u){b.u.get();var w=m.tc.shoppingCompanionCarouselRenderer;return W0("layout_type_companion_with_shopping",new S_(w),q,t,u,w.impressionPings,w.impressionEndpoints,b.o(n))}}(e)):ZZ("ShoppingCompanionCarouselRenderer without adVideoId"); else if(e.tc.adBreakServiceRenderer){if(pra(e.Vf)){f=g.p(this.F);for(var k=f.next();!k.done;k=f.next())k.value.tB({adPlacementRenderer:e.Vf,contentCpn:a.contentCpn,Yf:a.Yf})}}else if(e.tc.clientForecastingAdRenderer)f=function(m){return function(n){b.u.get();var q=m.tc.clientForecastingAdRenderer,t=m.Uf;n=b.o(n);var u=gs(),w={layoutId:u,layoutType:"layout_type_forecasting",Cb:"core"},B=new Map,D=q.impressionUrls;D&&B.set("impression",D);return{layoutId:u,layoutType:"layout_type_forecasting",Ze:B, Se:[new B0(u)],Af:[],zf:[],Cb:"core",Na:new PZ([new f0(q),new T_(t)]),Wh:n(w)}}}(e),(f=Ira(this.B.get(),e.Uf,a.contentCpn,a.Yf,f))&&c.push(f); else if(e.tc.invideoOverlayAdRenderer)f=function(m){return function(n,q){a:{b.u.get();var t=m.tc.invideoOverlayAdRenderer;var u=m.Uf,w=b.o(n),B=t.contentSupportedRenderer;if(B){if(B.textOverlayAdContentRenderer){B=gs();t=X0(B,"layout_type_in_video_text_overlay",t,u,w,q);break a}if(B.enhancedTextOverlayAdContentRenderer){B=gs();t=X0(B,"layout_type_in_video_enhanced_text_overlay",t,u,w,q);break a}if(B.imageOverlayAdContentRenderer){B=gs();var D=[new U0(B)];q&&D.push(q);t=Object.assign(Object.assign({}, X0(B,"layout_type_in_video_image_overlay",t,u,w,q)),{Se:D});break a}ZZ("InvideoOverlayAdRenderer without appropriate sub renderer")}else ZZ("InvideoOverlayAdRenderer without contentSupportedRenderer");t=void 0}return t}}(e),(f=Dra(this.B.get(),e.Uf,a.contentCpn,a.Yf,f))&&c.push(f); else if(e.tc.linearAdSequenceRenderer&&a.daiEnabled){f=void 0;try{var l=function(m){return function(n){return tra(m.Vf,b.u.get(),b.o(n),a.contentCpn)}}(e); f=Hra(this.B.get(),a.contentCpn,l)}catch(m){ZZ("Failed to parse AdPlacementRenderer for DAI AdPlacementRenderersSlotExtractor: "+m.message);continue}c.push(f)}else mra(this,e.tc,f);if(null===this.C||a.daiEnabled)return c;e=a.Nr.filter(ora);e=g.p(e);for(f=e.next();!f.done;f=e.next())l=f.value,mra(this,l.renderer,l.config.adPlacementConfig.kind);l=Array.from(this.A.values()).filter(function(m){return nra(m,a)}); e={};l=g.p(l);for(d=l.next();!d.done;e={Tj:e.Tj},d=l.next())for(e.Tj=d.value,d={},f=g.p(e.Tj.Mr),k=f.next();!k.done;d={Sj:d.Sj},k=f.next())d.Sj=k.value,k=function(m,n){return function(q){return m.Sj.no(q,n.Tj.adVideoId,n.Tj.instreamVideoAdRenderer.elementId,m.Sj.Xw)}}(d,e),"AD_PLACEMENT_KIND_COMMAND_TRIGGERED"===d.Sj.Vj?c.push(Gra(this.B.get(),this.C,d.Sj.Yw,a.contentCpn,k)):c.push(Fra(this.B.get(),this.C,a.contentCpn,e.Tj.instreamVideoAdRenderer.elementId,k)); return c};g.r(w0,x_);g.h=w0.prototype;g.h.oj=function(a,b){var c;(aX(this.u.get())||(null===(c=K_(this.C.get()))||void 0===c?0:c.daiEnabled)&&YX(this.u.get()))&&"layout_type_media"===b.layoutType&&(OZ(b,this.o)?(c=this.B(b))?y_(this,c):ZZ("Expected MediaLayout to carry valid opportunity on entered",a,b):ZZ("Received MediaLayout entered, missing metadata for opportunity",a,b,{Actual:RZ(b.Na),Expected:this.o}))}; g.h.Lk=function(){}; g.h.bl=function(){}; g.h.Jk=function(){}; g.h.Kk=function(){}; g.h.Zk=function(){}; g.h.al=function(){}; g.h.Bj=function(){}; g.h.Xk=function(){}; g.h.pj=function(){}; x0.prototype.Ws=function(a){var b=this,c=[];c.push(Bra(this.u.get(),a.contentCpn,a.Sv,function(d){return b.no("core",a,function(e){return XZ(b.o,d.slotId,d.jb,d.Cb,d.Gc,e.layoutId,e.layoutType,e.Cb)})})); return c};var v1=["metadata_type_content_cpn","metadata_type_player_bytes_callback_ref","metadata_type_instream_ad_player_overlay_renderer","metadata_type_ad_placement_config"];g.r(z0,g.z);g.h=z0.prototype;g.h.Lk=function(){}; g.h.bl=function(){}; g.h.Jk=function(){}; g.h.Kk=function(){}; g.h.Zk=function(){}; g.h.al=function(){}; g.h.Bj=function(){}; g.h.Xk=function(a,b){this.o.has(a)&&this.o.get(a)===b&&ZZ("Unscheduled a Layout that is currently entered.",a,b)}; g.h.oj=function(a,b){this.o.set(a,b)}; g.h.pj=function(a){this.o["delete"](a)};g.r(I0,g.z);g.h=I0.prototype; g.h.If=function(a,b,c,d){if(this.u.has(b.o))throw new l_("Tried to register duplicate trigger for slot.");if(!(b instanceof E0||b instanceof F0||b instanceof G0||b instanceof B0||b instanceof C0||b instanceof D0))throw new l_("Incorrect TriggerType: Tried to register trigger of type "+b.triggerType+" in AdsControlFlowEventTriggerAdapter");a=new H0(a,b,c,d);this.u.set(b.o,a);b instanceof G0&&this.C.has(b.B)&&i_(this.o(),[a]);b instanceof E0&&this.B.has(b.A)&&i_(this.o(),[a]);b instanceof B0&&this.A.has(b.u)&& i_(this.o(),[a])}; g.h.Rf=function(a){this.u["delete"](a.o)}; g.h.Lk=function(a){this.C.add(a.slotId);for(var b=[],c=g.p(this.u.values()),d=c.next();!d.done;d=c.next())d=d.value,d.trigger instanceof G0&&a.slotId===d.trigger.B&&b.push(d);0=Math.abs(e-f)}e&&n0(this.G,"ad_placement_end")}; g.h.Yk=function(a){a=a.layoutId;var b,c,d;this.o&&(null===(b=this.o.qe)||void 0===b?void 0:b.layout.layoutId)!==a&&(null===(c=this.o.qe)||void 0===c?void 0:c.sl("normal"),this.o={qe:Rra(this,a)},null===(d=this.o.qe)||void 0===d?void 0:d.startRendering())}; g.h.Wk=function(){}; g.h.CB=function(){}; g.h.nB=function(a){var b=QZ(this.layout.Na,"metadata_type_layout_enter_ms"),c=g1(this);a*=1E3;b<=a&&asH(a,4)&&!(0>sH(a,2))&&m0(this.o,"resume"),g.tH(a,16)&&.5<=c1(this.A.get(),2,!1)&&m0(this.o,"seek"),g.tH(a,2))){var c=QZ(this.layout.Na,"metadata_type_video_length_seconds"),d=1>=Math.abs(c-b);Tra(this,a.state,d?c:b,this.u.Qt);d&&n0(this.o,"complete")}}}; g.h.Cp=function(a){this.o.o.has("impression")&&m0(this.o,a?"fullscreen":"end_fullscreen")}; g.h.Dp=function(){}; g.h.cq=function(){}; g.h.skip=function(){}; g.h.LC=function(){this.o.o.has("impression")&&m0(this.o,"clickthrough")};j1.prototype.o=function(a,b,c,d){a:{var e=QZ(d.Na,"metadata_type_sub_layouts"),f=QZ(d.Na,"metadata_type_ad_placement_config");if(o0(d,{hf:["metadata_type_layout_enter_ms","metadata_type_drift_recovery_ms"],gh:["layout_type_composite_player_bytes"]})&&void 0!==e&&void 0!==f){var k=[];e=g.p(e);for(var l=e.next();!l.done;l=e.next()){l=l.value;var m=QZ(l.Na,"metadata_type_sub_layout_index");if(!o0(l,{hf:["metadata_type_video_length_seconds","metadata_type_player_vars","metadata_type_layout_enter_ms", "metadata_type_player_bytes_callback_ref"],gh:["layout_type_media"]})||void 0===m){a=null;break a}k.push(new Sra(b,c,l,this.B,new j0(l.Ze,this.A,this.u,f,l.layoutId,m),this.C,this.H,this.u))}a=new Ora(a,c,d,this.G,this.B,this.F,this.C,new j0(d.Ze,this.A,this.u,f,d.layoutId),this.A,k)}else a=null}if(a)return a;throw new q_("Unsupported layout with type: "+d.layoutType+" and client metadata: "+RZ(d.Na)+" in PlayerBytesLayoutRenderingAdapterFactory.");};g.r(k1,x_);g.h=k1.prototype;g.h.tB=function(a){if(K_(this.G.get(),1).daiEnabled&&"AD_PLACEMENT_KIND_CUE_POINT_TRIGGERED"===a.adPlacementRenderer.config.adPlacementConfig.kind)if(this.o)ZZ("Unexpected multiple fetch instructions for the current content");else{this.o=a;a=g.p(this.B.get().u);for(var b=a.next();!b.done;b=a.next())Wra(this,this.o,b.value)}}; g.h.CB=function(a){this.o&&Wra(this,this.o,a)}; g.h.nB=function(){}; g.h.Yk=function(){}; g.h.Wk=function(a){a=a.clientPlaybackNonce;var b;(null===(b=this.o)||void 0===b?void 0:b.contentCpn)!==a&&(this.o=null)}; g.h.Y=function(){x_.prototype.Y.call(this);this.o=null};g.r(l1,g.z);l1.prototype.If=function(a,b,c,d){if(this.u.has(b.o)||this.A.has(b.o))throw new l_("Tried to re-register the trigger.");a=new H0(a,b,c,d);if(a.trigger instanceof Ara)this.u.set(a.trigger.o,a);else if(a.trigger instanceof zra)this.A.set(a.trigger.o,a);else throw new l_("Incorrect TriggerType: Tried to register trigger of type "+a.trigger.triggerType+" in LiveStreamBreakTransitionTriggerAdapter");this.u.has(a.trigger.o)&&a.slot.slotId===this.o&&i_(this.B(),[a])}; l1.prototype.Rf=function(a){this.u["delete"](a.o);this.A["delete"](a.o)}; l1.prototype.Yk=function(a){a=a.slotId;if(this.o!==a){var b=[];null!==this.o&&b.push.apply(b,g.la(Yra(this.A,this.o)));null!==a&&b.push.apply(b,g.la(Yra(this.u,a)));this.o=a;b.length&&i_(this.B(),b)}}; l1.prototype.Wk=function(){};g.r(m1,g.z);g.h=m1.prototype;g.h.Yk=function(){}; g.h.Wk=function(){this.A=new cX(this);this.B=new dX;Zra(this)}; g.h.addListener=function(a){this.listeners.push(a)}; g.h.removeListener=function(a){this.listeners=this.listeners.filter(function(b){return b!==a})}; g.h.DB=function(a){this.u.push(a);for(var b=g.p(this.listeners),c=b.next();!c.done;c=b.next())c.value.CB(a)}; g.h.oB=function(a){g.xb(this.B.o,1E3*a);for(var b=g.p(this.listeners),c=b.next();!c.done;c=b.next())c.value.nB(a)}; g.h.bA=function(a){for(var b=g.p(a),c=b.next();!c.done;c=b.next())this.o.add(c.value);this.listeners.forEach(function(){}); a=g.p(a);for(c=a.next();!c.done;c=a.next())this.A.reduce(c.value)}; g.h.Y=function(){this.J.getVideoData(1).unsubscribe("cuepointupdated",this.bA,this);this.listeners.length=0;this.o.clear();this.u.length=0;g.z.prototype.Y.call(this)};g.r($ra,r0);g.r(bsa,r0);dsa.prototype.o=function(a,b,c,d){if(o0(d,ira()))return new hra(a,c,d,this.u,this.F,this.A,this.C,this.B);if(o0(d,asa()))return new $ra(a,c,d,this.u,this.F,this.A,this.C,this.B);if(o0(d,csa()))return new bsa(a,c,d,this.u,this.F,this.A,this.C,this.B);throw new q_("Unsupported layout with type: "+d.layoutType+" and client metadata: "+RZ(d.Na)+" in DesktopAboveFeedLayoutRenderingAdapterFactory.");};var n1=new g.$d(320,63);g.r(p1,q0);g.h=p1.prototype;g.h.eq=function(){}; g.h.hq=function(){}; g.h.Cp=function(){}; g.h.Dp=function(a){a&&t1(this.A,this.layout)}; g.h.cq=function(a){esa(a)&&t1(this.A,this.layout)}; g.h.Ep=function(a){"in_video_overlay_close_button"===a&&t1(this.A,this.layout)}; g.h.lt=function(a){"invideo-overlay"===a&&t1(this.A,this.layout)}; g.h.init=function(){q0.prototype.init.call(this);this.B.get().addListener(this);this.o.push(new mW(o1(this.layout),l0(this.C)))}; g.h.nj=function(){q0.prototype.nj.call(this);this.B.get().removeListener(this)};g.r(q1,q0);g.h=q1.prototype;g.h.init=function(){q0.prototype.init.call(this);this.C.get().addListener(this);this.o.push(new mW(o1(this.layout),l0(this.F)))}; g.h.Ep=function(a){"in_video_overlay_close_button"===a&&t1(this.A,this.layout)}; g.h.Py=function(a){if("invideo-overlay"===a){a=isa(this.B,this.layout);a=g.p(a);for(var b=a.next();!b.done;b=a.next())b.value.stop()}}; g.h.lt=function(a){"invideo-overlay"===a&&t1(this.A,this.layout)}; g.h.Oy=function(a){if("invideo-overlay"===a){a=isa(this.B,this.layout);a=g.p(a);for(var b=a.next();!b.done;b=a.next())b.value.start()}}; g.h.eq=function(){}; g.h.hq=function(){}; g.h.Cp=function(){}; g.h.Dp=function(a){a&&t1(this.A,this.layout)}; g.h.cq=function(a){a:{var b=o1(this.layout).contentSupportedRenderer.imageOverlayAdContentRenderer;b=void 0===b?null:b;if(null!=b&&(b=b.thumbnail,null!=b&&null!=b.thumbnails&&!g.db(b.thumbnails)&&null!=b.thumbnails[0].width&&null!=b.thumbnails[0].height)){b=new g.$d(b.thumbnails[0].width||0,b.thumbnails[0].height||0);break a}b=new g.$d(0,0)}esa(a,b)&&t1(this.A,this.layout)}; g.h.nj=function(){q0.prototype.nj.call(this);this.C.get().removeListener(this)};r1.prototype.o=function(a,b,c,d){if(b=t0(a,c,d,this.u,this.B,this.A,this.H))return b;if(o0(d,hsa()))return new q1(c,d,this.A,this.F,this.u,a,this.C,this.G,this.B);if(o0(d,gsa()))return new p1(c,d,this.A,this.F,this.u,a,this.C,this.B);throw new q_("Unsupported layout with type: "+d.layoutType+" and client metadata: "+RZ(d.Na)+" in WebDesktopMainAndEmbeddedInPlayerLayoutRenderingAdapterFactory.");};g.r(s1,g.z);s1.prototype.If=function(a,b,c,d){if(this.o.has(b.o))throw new l_("Tried to register duplicate trigger for slot.");if(!(b instanceof yra))throw new l_("Incorrect TriggerType: Tried to register trigger of type "+b.triggerType+" in CloseRequestedTriggerAdapter");this.o.set(b.o,new H0(a,b,c,d))}; s1.prototype.Rf=function(a){this.o["delete"](a.o)};g.r(u1,g.z);g.h=u1.prototype;g.h.If=function(a,b,c,d){if(this.u.has(b.o))throw new l_("Tried to register duplicate trigger for slot.");if(!(b instanceof U0))throw new l_("Incorrect TriggerType: Tried to register trigger of type "+b.triggerType+" in TimeRelativeToLayoutEnterTriggerAdapter");this.u.set(b.o,new H0(a,b,c,d));a=this.o.has(b.layoutId)?this.o.get(b.layoutId):new Set;a.add(b);this.o.set(b.layoutId,a)}; g.h.Rf=function(a){this.u["delete"](a.o);if(!(a instanceof U0))throw new l_("Incorrect TriggerType: Tried to unregister trigger of type "+a.triggerType+" in TimeRelativeToLayoutEnterTriggerAdapter");var b=this.A.get(a.o);b&&(b.dispose(),this.A["delete"](a.o));if(b=this.o.get(a.layoutId))b["delete"](a),0===b.size&&this.o["delete"](a.layoutId)}; g.h.Lk=function(){}; g.h.bl=function(){}; g.h.Jk=function(){}; g.h.Kk=function(){}; g.h.Zk=function(){}; g.h.al=function(){}; g.h.Bj=function(){}; g.h.Xk=function(){}; g.h.oj=function(a,b){var c=this;if(this.o.has(b.layoutId)){var d=this.o.get(b.layoutId),e={};d=g.p(d);for(var f=d.next();!f.done;e={Fl:e.Fl},f=d.next())e.Fl=f.value,f=new g.I(function(k){return function(){var l=c.u.get(k.Fl.o);i_(c.B(),[l])}}(e),e.Fl.durationMs),f.start(),this.A.set(e.Fl.o,f)}}; g.h.pj=function(){};g.r(jsa,g.z);g.r(ksa,g.z);g.r(lsa,g.z);g.r(msa,g.z);nsa.prototype.o=function(a,b,c,d){if(a=t0(a,c,d,this.u,this.C,this.B,this.A))return a;throw new q_("Unsupported layout with type: "+d.layoutType+" and client metadata: "+RZ(d.Na)+" in WebUnpluggedInPlayerLayoutRenderingAdapterFactory.");};g.r(osa,g.z);g.r(qsa,g.z);g.r(w1,g.ZL);g.h=w1.prototype;g.h.create=function(){this.load();this.created=!0}; g.h.load=function(){g.ZL.prototype.load.call(this);this.player.getRootNode().classList.add("ad-created");var a=this.u.o.u.Dc,b=this.C();if(YW(a)&&nV(a.J)){var c=this.player.getVideoData(1),d=c&&c.getPlayerResponse()||{},e=(d&&d.adPlacements||[]).map(function(f){return f.adPlacementRenderer}); a=rsa(e,a,d.playerConfig&&d.playerConfig.daiConfig&&d.playerConfig.daiConfig.enableDai||!1);0