var _yt_player={};(function(g){var window=this;var ba,ea,ma,na,oa,qa,pa,ra,wa,caa,daa,Fa,eaa,faa,Ka,Oa,gaa,Wa,Za,cb,$a,haa,ab,iaa,jaa,kb,nb,pb,raa,saa,qb,rb,xb,Ab,Cb,vaa,Eb,Gb,Kb,Ob,Sb,Wb,Xb,$b,ac,gc,ic,hc,kc,lc,mc,nc,xaa,oc,tc,zaa,vc,Aaa,yc,zc,Bc,Dc,Fc,Gc,Ic,Hc,Kc,Pc,Nc,Rc,Sc,Tc,Uc,Gaa,Jaa,Kaa,Yc,cd,Laa,bd,ed,fd,nd,qd,Gd,Kd,Ld,Nd,Rd,Td,Xd,be,de,ee,fe,Saa,ud,Waa,Xaa,ue,te,pe,xe,ze,we,Ae,Be,Ce,De,Ee,Fe,Ge,He,Pe,Me,Ne,Qe,Yaa,Oe,Re,Zaa,Se,Ve,Ue,We,Xe,Ye,Ze,$e,af,bf,cf,df,ef,ff,gf,Te,hf,jf,pf,rf,sf,eba,vf,wf,xf,zf,Df,fba,Af,Gf,Nf,Mf,hba,Cf,Qf,Rf,
Sf,Tf,Vf,jba,Wf,Xf,kba,bg,dg,eg,hg,jg,kg,ng,pg,lba,nba,oba,ug,rg,sg,fg,og,qba,xg,vg,wg,zg,pba,yg,mba,rba,Eg,sba,tba,uba,vba,wba,Gg,Ig,Kg,Lg,Rg,Sg,Tg,Ug,Vg,Wg,Yg,$g,bh,dh,Aba,eh,fh,hh,ih,Bba,ph,qh,rh,sh,uh,vh,wh,Ah,Bh,Fh,Gh,Kh,Dh,Cba,Wh,Zh,ai,bi,ci,Dba,Eba,di,ei,gi,fi,hi,ii,Gba,Hba,Iba,ki,li,mi,ni,oi,qi,ui,wi,xi,Lba,yi,zi,Ai,Bi,Mba,Ci,Di,Ei,Fi,Gi,Nba,Oba,Hi,Mi,Ni,Oi,Ri,Pi,Rba,Qi,Si,Ti,Vi,Ui,Wi,Sba,Xi,Yi,Zi,$i,bj,fj,ij,lj,kj,jj,mj,Tba,oj,pj,qj,rj,tj,uj,vj,wj,xj,yj,Vba,Wba,zj,Aj,Bj,Cj,Dj,Ej,Fj,Gj,Hj,
sj,Jj,Kj,Mj,Nj,Oj,ica,Qj,Lj,Rj,Sj,Tj,Uj,jca,Vj,Wj,Xj,Zj,kca,lca,bk,mca,ck,dk,gk,hk,ik,kk,mk,nk,ok,pk,qk,jk,lk,oca,rk,sk,pca,qca,tk,uk,vk,wk,xk,yk,Ak,zk,rca,sca,Dk,vca,Fk,Gk,uca,wca,Hk,xca,yca,Ek,Ik,zca,Bca,Cca,Jk,Kk,Lk,Nk,Dca,Eca,Pk,Fca,Qk,Rk,Sk,Gca,Tk,Hca,Uk,Vk,Wk,Ica,Xk,Yk,Zk,Jca,$k,al,bl,Kca,dl,cl,Lca,fl,el,il,hl,Mca,Qca,Pca,kl,Rca,Sca,Tca,Vca,Uca,ll,Wca,nl,ol,Xca,Yca,Zca,pl,$ca,ql,bda,rl,cda,sl,ul,vl,wl,yl,eda,zl,dda,Al,fda,Bl,gda,hda,Cl,ida,El,Gl,Hl,Il,Fl,Ll,Ml,Jl,Nl,Ol,kda,Pl,Ql,Rl,lda,Sl,Tl,
mda,Vl,Ul,Wl,nda,Xl,Zl,pda,qda,bm,cm,$l,em,fm,rda,oda,sda,uda,tda,vda,im,gm,wda,yda,zda,km,lm,mm,om,Eda,Ada,sm,tm,um,vm,wm,Fda,xm,ym,zm,Gda,Bm,Cm,Dm,Hda,Ida,Jda,Kda,Lda,Em,Oda,Gm,Fm,Hm,Im,Jm,Pda,Qda,Km,Om,Pm,Nm,Qm,Rm,Rda,Xm,Ym,$m,Uda,cn,en,gn,fn,Sda,kn,jn,nn,mn,pn,Vda,sn,tn,un,vn,wn,Xda,Yda,yn,Zda,zn,An,xn,$da,Bn,Cn,Dn,En,Fn,aea,cea,Jn,Kn,dea,eea,Gn,bea,Hn,Mn,Nn,Ln,gea,Pn,On,iea,Rn,Qn,Sn,Tn,Vn,Wn,Un,Yn,lea,Zn,ao,bo,co,eo,$n,fo,go,ho,jo,mo,no,qo,to,oo,vo,xo,yo,zo,Ao,Bo,Co,Do,Eo,Fo,Ho,Jo,Io,Ko,Lo,Mo,
nea,No,Oo,Po,Qo,So,To,Uo,Vo,oea,pea,Wo,Xo,$o,cp,bp,uea,ep,Zo,fp,vea,hp,gp,wea,ip,kp,xea,mp,lp,np,op,pp,yea,qp,rp,sp,tp,up,vp,yp,zp,Ap,Bp,Cp,Dp,Q,Gp,Jp,Kp,zea,Lp,R,Pp,Rp,Eea,Tp,Zp,$p,aq,cq,Op,Yp,Wp,Mea,Nea,Oea,Pea,dq,eq,fq,gq,iq,jq,hq,Qea,mq,nq,oq,pq,Rea,qq,rq,sq,tq,vq,uq,xq,yq,Sea,Tea,zq,Cq,Aq,Bq,Dq,Eq,Vea,Wea,Fq,Gq,Xea,Hq,Pq,Zea,Rq,Sq,Tq,Uq,afa,Vq,br,cr,Wq,dr,er,efa,Xq,dfa,Yq,Zq,$q,ar,cfa,mr,nr,or,sr,hfa,ifa,tr,kfa,lfa,vr,ofa,xr,jfa,yr,zr,Ar,Br,pfa,Cr,Dr,Er,qfa,Gr,Hr,Ir,Jr,rfa,Lr,Kr,sfa,Fr,Mr,ap,
Nr,Or,tfa,ufa,vfa,Rr,Vr,Yr,Zr,lq,kq,wfa,xfa,yfa,zfa,$r,as,bs,cs,Afa,Bfa,Cfa,Dfa,Efa,Ffa,Gfa,ds,hs,fs,is,es,js,Hfa,Ifa,Jfa,Kfa,ks,Mfa,ms,ps,Ofa,ts,vs,rs,ws,xs,ys,zs,As,Bs,Cs,Ds,Es,Fs,Is,Rfa,Hs,Gs,Js,Ks,Ls,Ms,Os,jr,Sfa,Ws,Xs,Ys,Zs,Ps,Xfa,$s,at,bt,ct,lr,ft,ht,gr,it,jt,kt,ir,hr,gt,lt,mt,nt,ot,pt,qt,rt,$fa,aga,Zfa,cga,et,dga,At,ega,Bt,Ns,Ct,Dt,Et,fga,Ft,gga,Ts,dt,zt,Gt,Ht,It,xt,kr,Ss,Kt,Vs,Lt,Mt,Qs,Us,wt,Yfa,Nt,Ot,Pt,iga,Qt,jga,Rt,Wt,Xt,Yt,oga,Zt,$t,au,bu,cu,du,eu,gu,hu,iu,fu,ju,ku,lu,mu,nu,ou,qu,rga,
tga,vga,pu,wga,xga,yga,tu,ru,uu,vu,xu,yu,Du,Cu,Eu,Fu,zga,Ku,Lu,Nu,Mu,Ou,Pu,Qu,Ru,Su,Aga,Tu,Bga,Uu,Vu,Wu,Xu,Zu,$u,Cga,Yu,av,Dga,bv,cv,Ega,dv,ev,fv,gv,hv,iv,Fga,kv,lv,Gga,nv,ov,Hga,tv,uv,vv,wv,xv,yv,zv,Iga,Av,Bv,Cv,Ev,Dv,Jga,Fv,Gv,Hv,Iv,Kga,Jv,Kv,Mga,Lga,Lv,Mv,Nv,Ov,Pv,Qv,Rv,Sv,Tv,Uv,Vv,Wv,Xv,Yv,Zv,$v,ls,aw,Nga,cw,dw,ew,fw,gw,bw,hw,iw,jw,ut,Pr,Xr,tt,vt,pw,ns,Wr,ow,Tr,Qr,Sr,Ur,rw,os,nw,vw,ww,yw,Oga,zw,Aw,Bw,Cw,Dw,Ew,Fw,Gw,Hw,Iw,Jw,Kw,Lw,Mw,Nw,Pga,Ow,Pw,Qw,Rw,Sw,Tw,Qga,Uw,Vw,Ww,Xw,Yw,Zw,ax,bx,Sga,cx,
Tga,Rga,Vga,dx,Wga,fx,$w,Uga,$ga,Zga,Yga,ex,gx,hx,ix,kx,lx,mx,nx,ox,px,qx,rx,sx,tx,aha,vx,xx,yx,zx,wx,Bx,bha,cha,Ex,Cx,Ix,Dx,Jx,Hx,eha,fha,Lx,Mx,Rx,gha,Nx,Ox,Qx,Px,Ux,Vx,Tx,Wx,jha,Xx,Yx,kha,lha,Zx,$x,by,mha,ay,ey,cy,nha,oha,pha,fy,gy,hy,iy,jy,ky,ly,my,ny,oy,py,qy,ry,sy,ty,tha,sha,vy,uy,uha,zy,vha,Ay,By,wha,Cy,rha,Dy,Gy,yha,xha,Hy,Fy,Ky,Aha,Ly,Bha,My,Iy,Ny,Oy,Py,Dha,Eha,Qy,Ry,Fha,Sy,Ty,Uy,yy,Gha,Vy,Wy,wy,Hha,Xy,Yy,Zy,$y,Iha,az,bz,cz,ez,fz,dz,Mha,Jha,Kha,hz,kz,lz,jz,iz,gz,mz,oz,pz,rz,tz,qz,uz,vz,Pha,
xz,wz,yz,Qha,Rha,zz,Az,Bz,Cz,Dz,Ez,Fz,Gz,Hz,Tha,Iz,Vha,Oz,Jz,Kz,Lz,Vz,Pz,Rz,Qz,Yz,Tz,Sz,Wz,Uz,Xha,Nz,Mz,Zz,Yha,$z,Uha,aA,bA,cA,$ha,dA,gA,hA,jA,iA,kA,lA,mA,bia,aia,cia,oA,dia,eia,pA,qA,nA,fia,rA,sA,gia,tA,hia,iia,jia,kia,uA,vA,wA,yA,zA,AA,xA,CA,lia,mia,BA,DA,EA,FA,GA,HA,nia,IA,LA,NA,MA,OA,PA,QA,RA,TA,SA,VA,UA,WA,qia,$A,aB,bB,cB,dB,eB,fB,gB,hB,iB,jB,lB,mB,kB,nB,oB,pB,ria,qB,sia,tB,uB,rB,sB,wB,AB,xB,yB,vB,zB,tia,BB,CB,DB,EB,GB,FB,uia,IB,HB,wia,xia,via,JB,yia,zia,Aia,Bia,KB,Dia,Eia,Fia,ur,Gia,Hia,NB,
Jia,OB,PB,QB,RB,SB,TB,UB,VB,XB,YB,ZB,eC,dC,iC,jC,bC,kC,lC,mC,nC,aC,cC,fC,pC,Qia,qC,Ria,rC,sC,tC,uC,vC,wC,Sia,yC,Tia,Uia,zC,Via,Wia,AC,BC,Xia,Zia,$ia,CC,aja,EC,GC,eja,DC,fja,HC,Iia,IC,hja,ija,JC,jja,kja,LC,OC,lja,QC,PC,RC,mja,Wha,SC,TC,WC,XC,YC,ZC,$C,oja,aD,bD,cD,dD,UC,qja,rja,gD,sja,hD,iD,jD,fD,kD,eD,lD,tja,Xz,vja,sz,uja,mD,nD,oD,pD,qD,wja,rD,xja,yja,vD,wD,xD,yD,zja,BD,CD,DD,ED,GD,HD,ID,JD,KD,MD,ND,QD,SD,UD,WD,VD,XD,RD,TD,$D,ZD,aE,bE,Cja,cE,hE,Dja,qE,sE,uE,xE,yE,Eja,Gja,AE,Hja,BE,CE,Ija,GE,Jja,Kja,
EE,KE,ME,NE,OE,QE,RE,SE,JE,IE,UE,VE,Lja,YE,XE,$E,aF,bF,dF,cF,Nja,gF,hF,jF,iF,kF,qF,rF,sF,vF,wF,Oja,tF,xF,yF,zF,AF,Qja,Rja,HF,IF,JF,OF,RF,TF,YF,WF,$F,ZF,aG,Uja,pG,nG,oG,lG,Vja,Zja,$ja,AG,yG,DG,GG,FG,EG,IG,aka,OG,PG,TG,UG,$G,ZG,cka,fH,gH,iH,jH,kH,oH,dka,eka,xH,yH,zH,AH,CH,BH,DH,EH,FH,GH,HH,IH,LH,MH,NH,OH,PH,SH,TH,bI,$H,cI,aI,dI,eI,gI,hI,iI,lI,pI,qI,oka,tI,uI,vI,rI,yI,zI,AI,CI,DI,FI,GI,HI,II,KI,qka,LI,MI,NI,OI,PI,rka,QI,RI,SI,TI,UI,VI,WI,XI,YI,ZI,$I,aJ,bJ,cJ,ska,eJ,dJ,fJ,gJ,hJ,iJ,tka,uka,lJ,yka,xJ,mJ,
wJ,zJ,AJ,BJ,CJ,DJ,EJ,GJ,HJ,IJ,JJ,LJ,MJ,NJ,OJ,PJ,QJ,RJ,SJ,TJ,UJ,VJ,WJ,YJ,XJ,ZJ,$J,aK,bK,Bka,dK,gK,Cka,cK,kK,lK,iK,fK,mK,nK,hK,jK,oK,pK,Aka,qK,sK,tK,vK,uK,Dka,wK,xK,yK,Eka,AK,zK,BK,CK,DK,EK,FK,KK,MK,Fka,HK,NK,PK,SK,OK,LK,TK,Gka,UK,VK,GK,IK,JK,RK,QK,WK,XK,YK,ZK,$K,aL,bL,cL,eL,Hka,Ika,gL,iL,lL,mL,oL,kL,Jka,pL,qL,rL,sL,Kka,Lka,tL,Mka,vL,uL,xL,zL,AL,BL,CL,EL,Nka,FL,GL,HL,IL,KL,LL,JL,ML,NL,Oka,OL,PL,QL,RL,SL,Pka,Qka,Uka,Vka,Rka,Ska,Tka,TL,UL,Wka,WL,YL,Xka,ZL,aM,bM,Yka,Zka,cM,eM,dla,bla,ala,fM,$ka,ela,gM,
jM,hla,ila,kM,lM,jla,mM,nM,kla,oM,pM,lla,mla,qM,hM,fla,nla,ola,pla,tM,vM,uM,wM,qla,yM,zM,AM,BM,DM,xM,EM,FM,GM,HM,IM,JM,KM,LM,NM,OM,PM,iN,jN,kN,lN,mN,wla,nN,oN,YM,fN,eN,uN,WM,VM,UM,xla,dN,yla,zla,Ala,wN,yN,zN,BN,CN,xN,DN,EN,FN,Bla,IN,Cla,HN,GN,JN,Dla,LN,Fla,Hla,Gla,MN,NN,Ila,ON,Jla,QN,PN,Kla,Lla,RN,Mla,SN,TN,UN,VN,Nla,WN,ZN,aO,cO,bO,dO,eO,$N,fO,gO,Pla,iO,tO,lO,uO,Qla,vO,wO,zO,GO,KO,LO,CO,NO,OO,MO,RO,FO,Wla,AO,EO,IO,JO,BO,xO,SO,yO,Xla,DO,UO,VO,ema,XO,bP,dP,gma,fma,gP,hma,jma,hP,iP,jP,fP,mma,nma,oma,
pma,mP,qma,oP,eP,rma,$la,ama,bma,tma,Zla,uma,vma,rP,wma,lma,xma,sP,tP,uP,vP,wP,xP,cP,$O,aP,zma,Ama,Bma,Cma,Dma,Ema,Fma,Gma,Hma,Jma,yP,BP,DP,Mma,EP,Nma,FP,GP,HP,Oma,IP,Pma,KP,LP,MP,NP,OP,QP,TP,VP,XP,ZP,Qma,$P,Rma,Tma,aQ,YP,bQ,Uma,Vma,dQ,cQ,eQ,fQ,gQ,Xma,Yma,$ma,ana,Zma,hQ,bna,iQ,jQ,kQ,cna,ena,fna,sQ,ina,jna,tQ,gna,hna,qQ,uQ,wQ,zQ,AQ,kna,lna,BQ,CQ,EQ,GQ,IQ,HQ,nna,ona,pna,FQ,DQ,mna,KQ,LQ,qna,MQ,NQ,OQ,rna,sna,PQ,JQ,tna,una,vna,wna,xna,yna,zna,Ana,Bna,Cna,QQ,Ena,SQ,UQ,RQ,VQ,Fna,WQ,Dna,Gna,TQ,Ina,Kna,ZQ,
Jna,Lna,aR,XQ,$Q,YQ,Mna,bR,Nna,cR,dR,eR,gR,Ona,fR,Qna,hR,Pna,Rna,Sna,iR,jR,Tna,Una,Vna,Wna,Xna,kR,Yna,lR,mR,$na,boa,coa,oR,doa,qR,pR,rR,eoa,Zna,aoa,nR,hoa,goa,tR,uR,joa,ioa,xR,yR,AR,koa,wR,loa,moa,vR,noa,BR,CR,ooa,zR,poa,qoa,roa,soa,toa,ER,uoa,voa,DR,FR,woa,xoa,zoa,KR,LR,MR,yoa,GR,Aoa,HR,IR,Boa,JR,Coa,Doa,Eoa,NR,OR,Foa,Goa,Hoa,Koa,Joa,Ioa,QR,PR,Loa,Moa,Ooa,Noa,Poa,RR,SR,TR,Qoa,Roa,Soa,UR,WR,XR,YR,Uoa,$R,bS,Woa,Xoa,cS,Yoa,$oa,Zoa,apa,dpa,bpa,epa,hpa,gpa,ipa,cpa,fS,fpa,jpa,aS,Voa,kpa,VR,gS,eS,hS,ZR,
lpa,mpa,npa,ppa,opa,iS,jS,kS,lS,rpa,qpa,spa,tpa,mS,oS,vpa,wpa,xpa,pS,zpa,nS,Apa,Bpa,Cpa,Dpa,Epa,Fpa,Gpa,qS,rS,Hpa,sS,tS,Jpa,Lpa,Kpa,uS,wS,vS,Npa,Opa,Mpa,Ppa,Qpa,Rpa,Upa,Vpa,Spa,Tpa,Xpa,yS,BS,FS,DS,$pa,bqa,cqa,aqa,dqa,AS,CS,fqa,GS,eqa,HS,gqa,hqa,Ypa,iqa,ES,Zpa,jqa,IS,lqa,mqa,kqa,JS,KS,LS,MS,NS,OS,PS,RS,SS,ZS,sqa,US,$S,bT,eT,cT,gT,fT,QS,rqa,nT,tqa,vqa,hT,WS,qT,xqa,sT,zT,yqa,AT,oT,wT,zqa,nqa,VS,tT,DT,Dqa,rT,Cqa,Eqa,Fqa,uT,Gqa,Hqa,ET,FT,Iqa,lT,GT,iT,Aqa,Bqa,IT,JT,vT,XS,wqa,Kqa,Jqa,HT,YS,LT,yT,Lqa,TS,
Mqa,BT,MT,xT,Oqa,NT,Pqa,KT,jT,kT,OT,ST,XT,fU,rU,Vqa,Wqa,AU,Xqa,BU,CU,Zqa,Yqa,FU,EU,$qa,GU,ara,HU,bra,cra,IU,JU,KU,dra,era,fra,gra,hra,OU,ira,jra,kra,mra,nra,pra,qra,rra,sra,tra,ura,wra,xra,yra,Ara,Bra,Cra,Dra,XU,ZU,bV,cV,dV,eV,fV,Era,hV,gV,iV,kV,lV,Gra,nV,Hra,oV,pV,Ira,Rra,Pra,Qra,Lra,Nra,Ora,Kra,Jra,Mra,Sra,Tra,tV,uV,vV,Ura,Vra,Wra,Yra,Xra,AV,CV,Zra,DV,$ra,dsa,esa,EV,FV,fsa,gsa,HV,jsa,GV,IV,isa,JV,hsa,ksa,lsa,KV,msa,LV,nsa,NV,MV,OV,QV,SV,UV,VV,osa,qsa,rsa,ssa,WV,XV,YV,ZV,$V,aW,bW,tsa,usa,cW,dW,vsa,
eW,fW,gW,wsa,xsa,Bsa,zsa,ysa,iW,Asa,jW,Dsa,Csa,kW,Esa,lW,mW,Fsa,Gsa,Hsa,qW,rW,sW,Isa,tW,vW,Jsa,nW,uW,pW,oW,AW,BW,Ksa,xW,Lsa,zW,Msa,Nsa,Osa,Qsa,Psa,Usa,Tsa,CW,Vsa,EW,FW,GW,HW,IW,JW,Wsa,Xsa,KW,LW,MW,Ysa,NW,PW,OW,QW,$sa,Zsa,ata,bta,cta,dta,TW,UW,VW,eta,fta,WW,hta,XW,gta,YW,ita,ZW,$W,jta,kta,mta,lta,nta,aX,bX,ota,pta,qta,sta,cX,dX,eX,uta,rta,fX,RW,wW,gX,hX,jX,rV,qV,yW,lX,mX,vta,nX,oX,wta,sV,xta,qX,SW,yta,tX,psa,TV,vX,iX,zV,Bta,Ata,wX,Dta,Eta,Fta,yX,zX,jI,Hta,AX,Ita,BX,DX,EX,Jta,Kta,FX,Mta,GX,Ota,Nta,
HX,Qta,Rta,IX,Tta,JX,LX,KX,MX,Uta,Vta,OX,NX,QX,RX,Wta,Xta,SX,TX,UX,VX,WX,Yta,XX,YX,Zta,ZX,$X,aY,bY,$ta,cua,cY,aua,bua,dY,eua,fua,gua,kua,jua,lua,mua,nua,gY,oua,qua,pua,uua,mY,vua,nY,jY,xua,pY,lY,oY,sua,wua,yua,tua,sY,tY,zua,yY,zY,Cua,CY,BY,Dua,FY,Eua,GY,HY,IY,JY,KY,MY,Fua,NY,OY,PY,QY,Gua,TY,UY,VY,Hua,YY,XY,ZY,$Y,aZ,Iua,Jua,bZ,cZ,Lua,Kua,dZ,eZ,fZ,Mua,Nua,Oua,Pua,Qua,kZ,lZ,Rua,jZ,nZ,mZ,oZ,Sua,pZ,qZ,rZ,sZ,tZ,Uua,Tua,Vua,uZ,Wua,Xua,vZ,Zua,wZ,Yua,xZ,$ua,yZ,bva,zZ,AZ,cva,BZ,CZ,DZ,dva,eva,EZ,FZ,GZ,fva,gva,
hva,IZ,jva,JZ,KZ,LZ,PX,mva,lva,NZ,nva,eY,ova,qva,rva,pva,PZ,sva,OZ,QZ,RZ,SZ,tva,UZ,vva,xva,YZ,zva,uva,b_,Ava,ZZ,$Z,Bva,e_,c_,f_,d_,g_,Dva,h_,i_,Fva,k_,Gva,Hva,RV,Iva,Jva,Kva,n_,q_,l_,Lva,Mva,Nva,r_,s_,t_,Ova,u_,Rva,Qva,Xva,z_,y_,A_,vU,xU,C_,v_,Yva,B_,Uqa,PV,VZ,G_,Zva,$va,kX,awa,H_,Uva,Vva,bwa,K_,w_,dwa,N_,Wva,ewa,O_,P_,iU,Qqa,Q_,iwa,J_,I_,S_,kwa,F_,sX,uX,XZ,T_,wva,yva,U_,cwa,a_,W_,Y_,X_,Z_,E_,lwa,R_,jwa,nwa,gU,zta,fI,owa,M_,a0,pwa,d0,c0,jU,pX,rX,qwa,V_,f0,e0,rwa,swa,Tva,hwa,WZ,gwa,fwa,g0,h0,aa,ha,
i0,Fx,Qaa,id,Ba,baa;ba=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 b<a.length?{done:!1,value:a[b++]}:{done:!0}}};
g.q=function(a){var b="undefined"!=typeof window.Symbol&&window.Symbol.iterator&&a[window.Symbol.iterator];return b?b.call(a):{next:ea(a)}};
g.fa=function(a){if(!(a instanceof Array)){a=g.q(a);for(var b,c=[];!(b=a.next()).done;)c.push(b.value);a=c}return a};
g.t=function(a,b){a.prototype=ha(b.prototype);a.prototype.constructor=a;if(ia)ia(a,b);else for(var c in b)if("prototype"!=c)if(Object.defineProperties){var d=Object.getOwnPropertyDescriptor(b,c);d&&Object.defineProperty(a,c,d)}else a[c]=b[c];a.fa=b.prototype};
ma=function(a,b){if(b){for(var c=ka,d=a.split("."),e=0;e<d.length-1;e++){var f=d[e];f in c||(c[f]={});c=c[f]}d=d[d.length-1];e=c[d];f=b(e);f!=e&&null!=f&&la(c,d,{configurable:!0,writable:!0,value:f})}};
na=function(a,b,c){if(null==a)throw new TypeError("The 'this' value for String.prototype."+c+" must not be null or undefined");if(b instanceof RegExp)throw new TypeError("First argument to String.prototype."+c+" must not be a regular expression");return a+""};
oa=function(){oa=function(){};
ka.Symbol||(ka.Symbol=aaa)};
qa=function(){oa();var a=ka.Symbol.iterator;a||(a=ka.Symbol.iterator=ka.Symbol("iterator"));"function"!=typeof Array.prototype[a]&&la(Array.prototype,a,{configurable:!0,writable:!0,value:function(){return pa(ea(this))}});
qa=function(){}};
pa=function(a){qa();a={next:a};a[ka.Symbol.iterator]=function(){return this};
return a};
ra=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};
g.u=function(a){return void 0!==a};
g.w=function(a){return"string"==typeof a};
g.sa=function(a){return"boolean"==typeof a};
g.ta=function(a){return"number"==typeof a};
g.ua=function(a,b,c){a=a.split(".");c=c||g.x;a[0]in c||"undefined"==typeof c.execScript||c.execScript("var "+a[0]);for(var d;a.length&&(d=a.shift());)!a.length&&g.u(b)?c[d]=b:c[d]&&c[d]!==Object.prototype[d]?c=c[d]:c=c[d]={}};
g.y=function(a,b){for(var c=a.split("."),d=b||g.x,e=0;e<c.length;e++)if(d=d[c[e]],null==d)return null;return d};
g.A=function(){};
g.va=function(a){a.md=void 0;a.getInstance=function(){return a.md?a.md:a.md=new a}};
wa=function(a){var b=typeof a;if("object"==b)if(a){if(a instanceof Array)return"array";if(a instanceof Object)return b;var c=Object.prototype.toString.call(a);if("[object Window]"==c)return"object";if("[object Array]"==c||"number"==typeof a.length&&"undefined"!=typeof a.splice&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("splice"))return"array";if("[object Function]"==c||"undefined"!=typeof a.call&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("call"))return"function"}else return"null";
else if("function"==b&&"undefined"==typeof a.call)return"object";return b};
g.xa=function(a){return"array"==wa(a)};
g.ya=function(a){var b=wa(a);return"array"==b||"object"==b&&"number"==typeof a.length};
g.za=function(a){return"function"==wa(a)};
g.Aa=function(a){var b=typeof a;return"object"==b&&null!=a||"function"==b};
g.Ca=function(a){return a[Ba]||(a[Ba]=++baa)};
caa=function(a,b,c){return a.call.apply(a.bind,arguments)};
daa=function(a,b,c){if(!a)throw Error();if(2<arguments.length){var d=Array.prototype.slice.call(arguments,2);return function(){var c=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(c,d);return a.apply(b,c)}}return function(){return a.apply(b,arguments)}};
g.B=function(a,b,c){Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?g.B=caa:g.B=daa;return g.B.apply(null,arguments)};
g.Da=function(a,b){var c=Array.prototype.slice.call(arguments,1);return function(){var b=c.slice();b.push.apply(b,arguments);return a.apply(this,b)}};
g.Ea=function(a,b){for(var c in b)a[c]=b[c]};
g.C=function(a,b){function c(){}
c.prototype=b.prototype;a.fa=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.T5=function(a,c,f){for(var d=Array(arguments.length-2),e=2;e<arguments.length;e++)d[e-2]=arguments[e];return b.prototype[c].apply(a,d)}};
Fa=function(a){if(Error.captureStackTrace)Error.captureStackTrace(this,Fa);else{var b=Error().stack;b&&(this.stack=b)}a&&(this.message=String(a))};
eaa=function(){};
g.Ga=function(a){return a[a.length-1]};
faa=function(a,b){for(var c=g.w(a)?a.split(""):a,d=a.length-1;0<=d;--d)d in c&&b.call(void 0,c[d],d,a)};
g.Ia=function(a,b,c){b=g.Ha(a,b,c);return 0>b?null:g.w(a)?a.charAt(b):a[b]};
g.Ha=function(a,b,c){for(var d=a.length,e=g.w(a)?a.split(""):a,f=0;f<d;f++)if(f in e&&b.call(c,e[f],f,a))return f;return-1};
Ka=function(a,b){var c=g.Ja(a,b,void 0);return 0>c?null:g.w(a)?a.charAt(c):a[c]};
g.Ja=function(a,b,c){for(var d=g.w(a)?a.split(""):a,e=a.length-1;0<=e;e--)if(e in d&&b.call(c,d[e],e,a))return e;return-1};
g.Ma=function(a,b){return 0<=(0,g.La)(a,b)};
g.Na=function(a){return 0==a.length};
Oa=function(a){if(!g.xa(a))for(var b=a.length-1;0<=b;b--)delete a[b];a.length=0};
g.Pa=function(a,b){g.Ma(a,b)||a.push(b)};
g.Sa=function(a,b){var c=(0,g.La)(a,b),d;(d=0<=c)&&g.Ra(a,c);return d};
g.Ra=function(a,b){return 1==Array.prototype.splice.call(a,b,1).length};
g.Ta=function(a,b){var c=g.Ha(a,b,void 0);0<=c&&g.Ra(a,c)};
gaa=function(a,b){var c=0;faa(a,function(d,e){b.call(void 0,d,e,a)&&g.Ra(a,e)&&c++})};
g.Ua=function(a){return Array.prototype.concat.apply([],arguments)};
g.Va=function(a){var b=a.length;if(0<b){for(var c=Array(b),d=0;d<b;d++)c[d]=a[d];return c}return[]};
Wa=function(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];if(g.ya(d)){var e=a.length||0,f=d.length||0;a.length=e+f;for(var k=0;k<f;k++)a[e+k]=d[k]}else a.push(d)}};
g.Ya=function(a,b,c,d){Array.prototype.splice.apply(a,g.Xa(arguments,1))};
g.Xa=function(a,b,c){return 2>=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)};
Za=function(a,b,c){function d(a){return g.Aa(a)?"o"+g.Ca(a):(typeof a).charAt(0)+a}
b=b||a;c=c||d;for(var e={},f=0,k=0;k<a.length;){var l=a[k++],m=c(l);Object.prototype.hasOwnProperty.call(e,m)||(e[m]=!0,b[f++]=l)}b.length=f};
g.bb=function(a,b,c){return $a(a,c||ab,!1,b)};
cb=function(a,b){return $a(a,b,!0,void 0,void 0)};
$a=function(a,b,c,d,e){for(var f=0,k=a.length,l;f<k;){var m=f+k>>1,n;c?n=b.call(e,a[m],m,a):n=b(d,a[m]);0<n?f=m+1:(k=m,l=!n)}return l?f:~f};
g.db=function(a,b){a.sort(b||ab)};
haa=function(a,b){var c=ab;g.db(a,function(a,e){return c(b(a),b(e))})};
g.fb=function(a,b){if(!g.ya(a)||!g.ya(b)||a.length!=b.length)return!1;for(var c=a.length,d=iaa,e=0;e<c;e++)if(!d(a[e],b[e]))return!1;return!0};
ab=function(a,b){return a>b?1:a<b?-1:0};
iaa=function(a,b){return a===b};
g.gb=function(a,b,c){c=g.bb(a,b,c);0>c&&g.Ya(a,-(c+1),0,b)};
g.ib=function(a,b,c){var d={};(0,g.D)(a,function(e,f){d[b.call(c,e,f,a)]=e});
return d};
jaa=function(a){for(var b=[],c=0;c<a;c++)b[c]="";return b};
g.jb=function(a,b){return 0==a.lastIndexOf(b,0)};
kb=function(a,b){var c=a.length-b.length;return 0<=c&&a.indexOf(b,c)==c};
g.F=function(a){return/^[\s\xa0]*$/.test(a)};
g.lb=function(a){return(0,window.encodeURIComponent)(String(a))};
nb=function(a){return(0,window.decodeURIComponent)(a.replace(/\+/g," "))};
g.ob=function(a){if(!kaa.test(a))return a;-1!=a.indexOf("&")&&(a=a.replace(laa,"&amp;"));-1!=a.indexOf("<")&&(a=a.replace(maa,"&lt;"));-1!=a.indexOf(">")&&(a=a.replace(naa,"&gt;"));-1!=a.indexOf('"')&&(a=a.replace(oaa,"&quot;"));-1!=a.indexOf("'")&&(a=a.replace(paa,"&#39;"));-1!=a.indexOf("\x00")&&(a=a.replace(qaa,"&#0;"));return a};
pb=function(a){return-1!=a.indexOf("&")?"document"in g.x?raa(a):saa(a):a};
raa=function(a){var b={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"'};var c=g.x.document.createElement("div");return a.replace(taa,function(a,e){var d=b[a];if(d)return d;if("#"==e.charAt(0)){var k=Number("0"+e.substr(1));(0,window.isNaN)(k)||(d=String.fromCharCode(k))}d||(c.innerHTML=a+" ",d=c.firstChild.nodeValue.slice(0,-1));return b[a]=d})};
saa=function(a){return a.replace(/&([^;]+);/g,function(a,c){switch(c){case "amp":return"&";case "lt":return"<";case "gt":return">";case "quot":return'"';default:if("#"==c.charAt(0)){var b=Number("0"+c.substr(1));if(!(0,window.isNaN)(b))return String.fromCharCode(b)}return a}})};
qb=function(a,b){a.length>b&&(a=a.substring(0,b-3)+"...");return a};
rb=function(a,b){return-1!=a.toLowerCase().indexOf(b.toLowerCase())};
g.tb=function(a,b,c){a=g.u(c)?a.toFixed(c):String(a);c=a.indexOf(".");-1==c&&(c=a.length);return sb("0",Math.max(0,b-c))+a};
g.G=function(a){return null==a?"":String(a)};
g.ub=function(){return Math.floor(2147483648*Math.random()).toString(36)+Math.abs(Math.floor(2147483648*Math.random())^(0,g.H)()).toString(36)};
g.yb=function(a,b){for(var c=0,d=wb(String(a)).split("."),e=wb(String(b)).split("."),f=Math.max(d.length,e.length),k=0;0==c&&k<f;k++){var l=d[k]||"",m=e[k]||"";do{l=/(\d*)(\D*)(.*)/.exec(l)||["","","",""];m=/(\d*)(\D*)(.*)/.exec(m)||["","","",""];if(0==l[0].length&&0==m[0].length)break;c=xb(0==l[1].length?0:(0,window.parseInt)(l[1],10),0==m[1].length?0:(0,window.parseInt)(m[1],10))||xb(0==l[2].length,0==m[2].length)||xb(l[2],m[2]);l=l[3];m=m[3]}while(0==c)}return c};
xb=function(a,b){return a<b?-1:a>b?1:0};
g.zb=function(a){for(var b=0,c=0;c<a.length;++c)b=31*b+a.charCodeAt(c)>>>0;return b};
Ab=function(){return"goog_"+uaa++};
g.Bb=function(a){var b=Number(a);return 0==b&&g.F(a)?window.NaN:b};
Cb=function(a){return String(a).replace(/\-([a-z])/g,function(a,c){return c.toUpperCase()})};
g.Db=function(a){return String(a).replace(/([A-Z])/g,"-$1").toLowerCase()};
vaa=function(a){var b=g.w(void 0)?"undefined".replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08"):"\\s";return a.replace(new RegExp("(^"+(b?"|["+b+"]+":"")+")([a-z])","g"),function(a,b,e){return b+e.toUpperCase()})};
Eb=function(a){(0,window.isFinite)(a)&&(a=String(a));return g.w(a)?/^\s*-?0x/i.test(a)?(0,window.parseInt)(a,16):(0,window.parseInt)(a,10):window.NaN};
Gb=function(a){return-1!=g.Fb.indexOf(a)};
g.Hb=function(a,b,c){for(var d in a)b.call(c,a[d],d,a)};
g.Ib=function(a,b,c){var d={},e;for(e in a)b.call(c,a[e],e,a)&&(d[e]=a[e]);return d};
g.Jb=function(a,b){var c={},d;for(d in a)c[d]=b.call(void 0,a[d],d,a);return c};
Kb=function(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return!0;return!1};
g.Mb=function(a,b){for(var c in a)if(!b.call(void 0,a[c],c,a))return!1;return!0};
g.Nb=function(a){var b=0,c;for(c in a)b++;return b};
Ob=function(a){for(var b in a)return a[b]};
g.Pb=function(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b};
g.Qb=function(a){var b=[],c=0,d;for(d in a)b[c++]=d;return b};
g.Rb=function(a,b){var c=g.ya(b),d=c?b:arguments;for(c=c?0:1;c<d.length;c++){if(null==a)return;a=a[d[c]]}return a};
Sb=function(a,b){return null!==a&&b in a};
g.Vb=function(a,b){for(var c in a)if(a[c]==b)return!0;return!1};
Wb=function(a,b,c){for(var d in a)if(b.call(c,a[d],d,a))return d};
Xb=function(a,b){var c=Wb(a,b,void 0);return c&&a[c]};
g.Yb=function(a){for(var b in a)return!1;return!0};
g.Zb=function(a){for(var b in a)delete a[b]};
$b=function(a,b){b in a&&delete a[b]};
ac=function(a,b,c){return null!==a&&b in a?a[b]:c};
g.bc=function(a,b){for(var c in a)if(!(c in b)||a[c]!==b[c])return!1;for(c in b)if(!(c in a))return!1;return!0};
g.cc=function(a){var b={},c;for(c in a)b[c]=a[c];return b};
g.dc=function(a){var b=wa(a);if("object"==b||"array"==b){if(g.za(a.clone))return a.clone();b="array"==b?[]:{};for(var c in a)b[c]=g.dc(a[c]);return b}return a};
g.fc=function(a,b){for(var c,d,e=1;e<arguments.length;e++){d=arguments[e];for(c in d)a[c]=d[c];for(var f=0;f<ec.length;f++)c=ec[f],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}};
gc=function(a){var b=a;Object.isFrozen&&!Object.isFrozen(a)&&(b=Object.create(a),Object.freeze(b));return b};
ic=function(){return Gb("Safari")&&!(hc()||Gb("Coast")||Gb("Opera")||Gb("Edge")||Gb("Silk")||Gb("Android"))};
hc=function(){return(Gb("Chrome")||Gb("CriOS"))&&!Gb("Edge")};
g.jc=function(){return Gb("Android")&&!(hc()||Gb("Firefox")||Gb("Opera")||Gb("Silk"))};
kc=function(){return Gb("iPhone")&&!Gb("iPod")&&!Gb("iPad")};
lc=function(){return kc()||Gb("iPad")||Gb("iPod")};
mc=function(a){mc[" "](a);return a};
nc=function(a,b){try{return mc(a[b]),!0}catch(c){}return!1};
xaa=function(a,b){var c=waa;return Object.prototype.hasOwnProperty.call(c,a)?c[a]:c[a]=b(a)};
oc=function(){var a=g.x.document;return a?a.documentMode:void 0};
g.qc=function(a){return xaa(a,function(){return 0<=g.yb(pc,a)})};
g.sc=function(a){return Number(yaa)>=a};
tc=function(a){return function(){return a}};
g.uc=function(a){return a};
zaa=function(a){var b=b||0;return function(){return a.apply(this,Array.prototype.slice.call(arguments,0,b))}};
vc=function(a){var b=!1,c;return function(){b||(c=a(),b=!0);return c}};
Aaa=function(a){function b(){d=g.x.setTimeout(c,1E3);a.apply(void 0,f)}
function c(){d=0;e&&(e=!1,b())}
var d=0,e=!1,f=[];return function(a){f=arguments;d?e=!0:b()}};
yc=function(a,b){this.o=a===wc&&b||"";this.A=xc};
zc=function(a){return a instanceof yc&&a.constructor===yc&&a.A===xc?a.o:"type_error:Const"};
g.Ac=function(a){return new yc(wc,a)};
Bc=function(a,b){return b?a.replace(Baa,""):a};
Dc=function(a,b){for(var c=0,d=0,e=!1,f=Bc(a,b).split(Caa),k=0;k<f.length;k++){var l=f[k];Cc.test(Bc(l,void 0))?(c++,d++):Daa.test(l)?e=!0:Eaa.test(Bc(l,void 0))?d++:Faa.test(l)&&(e=!0)}return 0==d?e?1:0:.4<c/d?-1:1};
Fc=function(){this.A="";this.B=Ec};
Gc=function(a){if(a instanceof Fc&&a.constructor===Fc&&a.B===Ec)return a.A;wa(a);return"type_error:TrustedResourceUrl"};
Ic=function(a){return Hc(zc(a))};
Hc=function(a){var b=new Fc;b.A=a;return b};
Kc=function(){this.A="";this.B=Jc};
g.Lc=function(a){if(a instanceof Kc&&a.constructor===Kc&&a.B===Jc)return a.A;wa(a);return"type_error:SafeUrl"};
g.Oc=function(a){if(a instanceof Kc)return a;a="object"==typeof a&&a.mg?a.bf():String(a);Mc.test(a)||(a="about:invalid#zClosurez");return Nc(a)};
Pc=function(a){if(a instanceof Kc)return a;a="object"==typeof a&&a.mg?a.bf():String(a);Mc.test(a)||(a="about:invalid#zClosurez");return Nc(a)};
Nc=function(a){var b=new Kc;b.A=a;return b};
Rc=function(){this.o="";this.A=Qc};
Sc=function(a){if(a instanceof Rc&&a.constructor===Rc&&a.A===Qc)return a.o;wa(a);return"type_error:SafeStyle"};
Tc=function(a){var b=new Rc;b.o=a;return b};
Uc=function(a){return a instanceof Kc?'url("'+g.Lc(a).replace(/</g,"%3c").replace(/[\\"]/g,"\\$&")+'")':a instanceof yc?zc(a):Gaa(String(a))};
Gaa=function(a){var b=a.replace(Vc,"$1").replace(Vc,"$1").replace(Wc,"url");if(Haa.test(b)){if(Iaa.test(a))return"zClosurez";for(var c=b=!0,d=0;d<a.length;d++){var e=a.charAt(d);"'"==e&&c?b=!b:'"'==e&&b&&(c=!c)}if(!b||!c||!Jaa(a))return"zClosurez"}else return"zClosurez";return Kaa(a)};
Jaa=function(a){for(var b=!0,c=/^[-_a-zA-Z0-9]$/,d=0;d<a.length;d++){var e=a.charAt(d);if("]"==e){if(b)return!1;b=!0}else if("["==e){if(!b)return!1;b=!1}else if(!b&&!c.test(e))return!1}return b};
Kaa=function(a){return a.replace(Wc,function(a,c,d,e){var b="";d=d.replace(/^(['"])(.*)\1$/,function(a,c,d){b=c;return d});
a=g.Oc(d).bf();return c+b+a+b+e})};
Yc=function(){this.o="";this.A=Xc};
g.$c=function(){this.A="";this.C=Zc;this.B=null};
g.ad=function(a){if(a instanceof g.$c&&a.constructor===g.$c&&a.C===Zc)return a.A;wa(a);return"type_error:SafeHtml"};
cd=function(a){if(a instanceof g.$c)return a;var b="object"==typeof a,c=null;b&&a.Lu&&(c=a.o());a=g.ob(b&&a.mg?a.bf():String(a));return bd(a,c)};
Laa=function(a){function b(a){g.xa(a)?(0,g.D)(a,b):(a=cd(a),d+=g.ad(a),a=a.o(),0==c?c=a:0!=a&&c!=a&&(c=null))}
var c=0,d="";(0,g.D)(arguments,b);return bd(d,c)};
bd=function(a,b){var c=new g.$c;c.A=a;c.B=b;return c};
ed=function(a,b,c){var d=null,e="";if(b)for(p in b){if(!dd.test(p))throw Error('Invalid attribute name "'+p+'".');var f=b[p];if(null!=f){var k=a;var l=p;var m=f;if(m instanceof yc)m=zc(m);else if("style"==l.toLowerCase()){f=void 0;k=m;if(!g.Aa(k))throw Error('The "style" attribute requires goog.html.SafeStyle or map of style properties, '+typeof k+" given: "+k);if(!(k instanceof Rc)){m="";for(f in k){if(!/^[-_a-zA-Z0-9]+$/.test(f))throw Error("Name allows only [-_a-zA-Z0-9], got: "+f);var n=k[f];
null!=n&&(n=g.xa(n)?(0,g.I)(n,Uc).join(" "):Uc(n),m+=f+":"+n+";")}k=m?Tc(m):Maa}m=Sc(k)}else{if(/^on/i.test(l))throw Error('Attribute "'+l+'" requires goog.string.Const value, "'+m+'" given.');if(l.toLowerCase()in Naa)if(m instanceof Fc)m=Gc(m);else if(m instanceof Kc)m=g.Lc(m);else if(g.w(m))m=g.Oc(m).bf();else throw Error('Attribute "'+l+'" on tag "'+k+'" requires goog.html.SafeUrl, goog.string.Const, or string, value "'+m+'" given.');}m.mg&&(m=m.bf());l=l+'="'+g.ob(String(m))+'"';e+=" "+l}}var p=
"<"+a+e;null!=c?g.xa(c)||(c=[c]):c=[];!0===Oaa[a.toLowerCase()]?p+=">":(d=Laa(c),p+=">"+g.ad(d)+"</"+a+">",d=d.o());(a=b&&b.dir)&&(/^(ltr|rtl|auto)$/i.test(a)?d=0:d=null);return bd(p,d)};
fd=function(a,b,c){var d={},e;for(e in a)d[e]=a[e];for(e in b)d[e]=b[e];for(e in c){var f=e.toLowerCase();if(f in a)throw Error('Cannot override "'+f+'" attribute, got "'+e+'" with value "'+c[e]+'"');f in b&&delete d[f];d[e]=c[e]}return d};
g.gd=function(a,b){if(Paa())for(;a.lastChild;)a.removeChild(a.lastChild);a.innerHTML=b};
g.hd=function(a,b){var c=b instanceof Kc?b:Pc(b);a.href=g.Lc(c)};
g.jd=function(a,b){a.src=Gc(b);if(null===id){a:{var c=g.x.document;if((c=c.querySelector&&c.querySelector("script[nonce]"))&&(c=c.nonce||c.getAttribute("nonce"))&&Qaa.test(c))break a;c=null}id=c||""}(c=id)&&a.setAttribute("nonce",c)};
g.kd=function(a,b){zc(a);zc(a);return bd(b,null)};
g.ld=function(a,b,c){return Math.min(Math.max(a,b),c)};
g.md=function(a,b){var c=a%b;return 0>c*b?c+b:c};
nd=function(a,b,c){return a+c*(b-a)};
g.od=function(a){return a*Math.PI/180};
g.pd=function(a,b){this.x=g.u(a)?a:0;this.y=g.u(b)?b:0};
qd=function(a,b){return a==b?!0:a&&b?a.x==b.x&&a.y==b.y:!1};
g.rd=function(a,b){return new g.pd(a.x-b.x,a.y-b.y)};
g.sd=function(a,b){this.width=a;this.height=b};
g.td=function(a,b){return a==b?!0:a&&b?a.width==b.width&&a.height==b.height:!1};
g.yd=function(a){return a?new ud(g.vd(a)):wd||(wd=new ud)};
g.zd=function(a){return g.w(a)?window.document.getElementById(a):a};
g.Bd=function(a,b){var c=b||window.document;return c.querySelectorAll&&c.querySelector?c.querySelectorAll("."+a):g.Ad(window.document,"*",a,b)};
g.K=function(a,b){var c=b||window.document;if(c.getElementsByClassName)c=c.getElementsByClassName(a)[0];else{c=window.document;var d=b||c;c=d.querySelectorAll&&d.querySelector&&a?d.querySelector(a?"."+a:""):g.Ad(c,"*",a,b)[0]||null}return c||null};
g.Ad=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.Ma(b.split(/\s+/),c)&&(d[e++]=k);d.length=e;return d}return a};
g.Dd=function(a,b){g.Hb(b,function(b,d){b&&"object"==typeof b&&b.mg&&(b=b.bf());"style"==d?a.style.cssText=b:"class"==d?a.className=b:"for"==d?a.htmlFor=b:Cd.hasOwnProperty(d)?a.setAttribute(Cd[d],b):g.jb(d,"aria-")||g.jb(d,"data-")?a.setAttribute(d,b):a[d]=b})};
g.Fd=function(a){a=a.document;a=g.Ed(a)?a.documentElement:a.body;return new g.sd(a.clientWidth,a.clientHeight)};
g.Id=function(a){var b=Gd(a);a=a.parentWindow||a.defaultView;return g.Hd&&g.qc("10")&&a.pageYOffset!=b.scrollTop?new g.pd(b.scrollLeft,b.scrollTop):new g.pd(a.pageXOffset||b.scrollLeft,a.pageYOffset||b.scrollTop)};
Gd=function(a){return a.scrollingElement?a.scrollingElement:!g.Jd&&g.Ed(a)?a.documentElement:a.body||a.documentElement};
Kd=function(a){return a?a.parentWindow||a.defaultView:window};
g.Md=function(a,b,c){return Ld(window.document,arguments)};
Ld=function(a,b){var c=String(b[0]),d=b[1];if(!Raa&&d&&(d.name||d.type)){c=["<",c];d.name&&c.push(' name="',g.ob(d.name),'"');if(d.type){c.push(' type="',g.ob(d.type),'"');var e={};g.fc(e,d);delete e.type;d=e}c.push(">");c=c.join("")}c=a.createElement(c);d&&(g.w(d)?c.className=d:g.xa(d)?c.className=d.join(" "):g.Dd(c,d));2<b.length&&Nd(a,c,b,2);return c};
Nd=function(a,b,c,d){function e(c){c&&b.appendChild(g.w(c)?a.createTextNode(c):c)}
for(;d<c.length;d++){var f=c[d];!g.ya(f)||g.Aa(f)&&0<f.nodeType?e(f):(0,g.D)(Saa(f)?g.Va(f):f,e)}};
g.Od=function(a){return window.document.createElement(String(a))};
g.Pd=function(a){return window.document.createTextNode(String(a))};
g.Ed=function(a){return"CSS1Compat"==a.compatMode};
g.Qd=function(a,b){a.appendChild(b)};
Rd=function(a,b){Nd(g.vd(a),a,arguments,1)};
g.Sd=function(a){for(var b;b=a.firstChild;)a.removeChild(b)};
Td=function(a,b,c){a.insertBefore(b,a.childNodes[c]||null)};
g.Ud=function(a){return a&&a.parentNode?a.parentNode.removeChild(a):null};
g.Wd=function(a){return Taa&&void 0!=a.children?a.children:(0,g.Vd)(a.childNodes,function(a){return 1==a.nodeType})};
g.Yd=function(a){return g.u(a.firstElementChild)?a.firstElementChild:Xd(a.firstChild)};
Xd=function(a){for(;a&&1!=a.nodeType;)a=a.nextSibling;return a};
g.Zd=function(a){var b;if(Uaa&&!(g.Hd&&g.qc("9")&&!g.qc("10")&&g.x.SVGElement&&a instanceof g.x.SVGElement)&&(b=a.parentElement))return b;b=a.parentNode;return g.Aa(b)&&1==b.nodeType?b:null};
g.ae=function(a,b){if(!a||!b)return!1;if(a.contains&&1==b.nodeType)return a==b||a.contains(b);if("undefined"!=typeof a.compareDocumentPosition)return a==b||!!(a.compareDocumentPosition(b)&16);for(;b&&a!=b;)b=b.parentNode;return b==a};
g.vd=function(a){return 9==a.nodeType?a:a.ownerDocument||a.document};
be=function(a){try{return a.contentWindow||(a.contentDocument?Kd(a.contentDocument):null)}catch(b){}return null};
g.ce=function(a,b){if("textContent"in a)a.textContent=b;else if(3==a.nodeType)a.data=String(b);else if(a.firstChild&&3==a.firstChild.nodeType){for(;a.lastChild!=a.firstChild;)a.removeChild(a.lastChild);a.firstChild.data=String(b)}else{g.Sd(a);var c=g.vd(a);a.appendChild(c.createTextNode(String(b)))}};
de=function(a){if("outerHTML"in a)return a.outerHTML;var b=g.vd(a).createElement("DIV");b.appendChild(a.cloneNode(!0));return b.innerHTML};
g.ge=function(a){var b;if((b="A"==a.tagName||"INPUT"==a.tagName||"TEXTAREA"==a.tagName||"SELECT"==a.tagName||"BUTTON"==a.tagName?!a.disabled&&(!ee(a)||fe(a)):ee(a)&&fe(a))&&g.Hd){var c;!g.za(a.getBoundingClientRect)||g.Hd&&null==a.parentElement?c={height:a.offsetHeight,width:a.offsetWidth}:c=a.getBoundingClientRect();a=null!=c&&0<c.height&&0<c.width}else a=b;return a};
ee=function(a){return g.Hd&&!g.qc("9")?(a=a.getAttributeNode("tabindex"),null!=a&&a.specified):a.hasAttribute("tabindex")};
fe=function(a){a=a.tabIndex;return g.ta(a)&&0<=a&&32768>a};
Saa=function(a){if(a&&"number"==typeof a.length){if(g.Aa(a))return"function"==typeof a.item||"string"==typeof a.item;if(g.za(a))return"function"==typeof a.item}return!1};
g.ie=function(a,b,c,d){if(!b&&!c)return null;var e=b?String(b).toUpperCase():null;return g.he(a,function(a){return(!e||a.nodeName==e)&&(!c||g.w(a.className)&&g.Ma(a.className.split(/\s+/),c))},!0,d)};
g.je=function(a,b){return g.ie(a,null,b,void 0)};
g.he=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};
g.ke=function(){var a=window.document;try{var b=a&&a.activeElement;return b&&b.nodeName?b:null}catch(c){return null}};
ud=function(a){this.o=a||g.x.document||window.document};
g.le=function(a){a=a.o;return a.parentWindow||a.defaultView};
g.me=function(a){Vaa();return Hc(a)};
g.ne=function(a){for(var b=[],c=0,d=0;d<a.length;d++){var e=a.charCodeAt(d);255<e&&(b[c++]=e&255,e>>=8);b[c++]=e}return b};
g.oe=function(a){if(8192>=a.length)return String.fromCharCode.apply(null,a);for(var b="",c=0;c<a.length;c+=8192){var d=g.Xa(a,c,c+8192);b+=String.fromCharCode.apply(null,d)}return b};
Waa=function(a){return(0,g.I)(a,function(a){a=a.toString(16);return 1<a.length?a:"0"+a}).join("")};
g.se=function(a,b){g.ya(a);pe();for(var c=b?qe:re,d=[],e=0;e<a.length;e+=3){var f=a[e],k=e+1<a.length,l=k?a[e+1]:0,m=e+2<a.length,n=m?a[e+2]:0,p=f>>2;f=(f&3)<<4|l>>4;l=(l&15)<<2|n>>6;n&=63;m||(n=64,k||(l=64));d.push(c[p],c[f],c[l],c[n])}return d.join("")};
Xaa=function(a){var b=[];te(a,function(a){b.push(a)});
return b};
ue=function(a){var b=a.length,c=0;"="===a[b-2]?c=2:"="===a[b-1]&&(c=1);var d=new window.Uint8Array(Math.ceil(3*b/4)-c),e=0;te(a,function(a){d[e++]=a});
return d.subarray(0,e)};
te=function(a,b){function c(b){for(;d<a.length;){var c=a.charAt(d++),e=ve[c];if(null!=e)return e;if(!g.F(c))throw Error("Unknown base64 encoding at char: "+c);}return b}
pe();for(var d=0;;){var e=c(-1),f=c(0),k=c(64),l=c(64);if(64===l&&-1===e)break;b(e<<2|f>>4);64!=k&&(b(f<<4&240|k>>2),64!=l&&b(k<<6&192|l))}};
pe=function(){if(!re){re={};ve={};qe={};for(var a=0;65>a;a++)re[a]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(a),ve[re[a]]=a,qe[a]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_.".charAt(a),62<=a&&(ve["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_.".charAt(a)]=a)}};
xe=function(a,b,c){this.A=null;this.F=this.G=this.o=this.B=this.C=0;this.D=!1;a&&we(this,a,b,c)};
ze=function(a,b,c){if(ye.length){var d=ye.pop();a&&we(d,a,b,c);return d}return new xe(a,b,c)};
we=function(a,b,c,d){b=b.constructor===window.Uint8Array?b:b.constructor===window.ArrayBuffer?new window.Uint8Array(b):b.constructor===Array?new window.Uint8Array(b):b.constructor===String?ue(b):new window.Uint8Array(0);a.A=b;a.C=g.u(c)?c:0;a.B=g.u(d)?a.C+d:a.A.length;a.o=a.C};
Ae=function(a){var b=a.A;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};
Be=function(a){this.o=ze(a,void 0,void 0);this.D=this.o.o;this.A=this.B=-1;this.C=!1};
Ce=function(a){var b=a.o;if(b.o==b.B||a.getError())return!1;a.D=a.o.o;b=Ae(a.o);var c=b&7;if(0!=c&&5!=c&&1!=c&&2!=c&&3!=c&&4!=c)return a.C=!0,!1;a.B=b>>>3;a.A=c;return!0};
De=function(a){switch(a.A){case 0:if(0!=a.A)De(a);else{for(a=a.o;a.A[a.o]&128;)a.o++;a.o++}break;case 1:1!=a.A?De(a):(a=a.o,a.o+=8);break;case 2:if(2!=a.A)De(a);else{var b=Ae(a.o);a=a.o;a.o+=b}break;case 5:5!=a.A?De(a):(a=a.o,a.o+=4);break;case 3:b=a.B;do{if(!Ce(a)){a.C=!0;break}if(4==a.A){a.B!=b&&(a.C=!0);break}De(a)}while(1)}};
Ee=function(a){a=a.o;a:{for(var b,c=0,d,e=0;4>e;e++)if(b=a.A[a.o++],c|=(b&127)<<7*e,128>b){a.G=c>>>0;a.F=0;break a}b=a.A[a.o++];c|=(b&127)<<28;d=0|(b&127)>>4;if(128>b)a.G=c>>>0,a.F=d>>>0;else{for(e=0;5>e;e++)if(b=a.A[a.o++],d|=(b&127)<<7*e+3,128>b){a.G=c>>>0;a.F=d>>>0;break a}a.D=!0}}b=a.G;c=a.F;if(a=c&2147483648)b=~b+1>>>0,c=~c>>>0,0==b&&(c=c+1>>>0);b=4294967296*c+b;return a?-b:b};
Fe=function(a){var b=Ae(a.o);a=a.o;var c=a.A,d=a.o;b=d+b;for(var e=[],f="";d<b;){var k=c[d++];if(128>k)e.push(k);else if(192>k)continue;else if(224>k){var l=c[d++];e.push((k&31)<<6|l&63)}else if(240>k){l=c[d++];var m=c[d++];e.push((k&15)<<12|(l&63)<<6|m&63)}else if(248>k){l=c[d++];m=c[d++];var n=c[d++];k=(k&7)<<18|(l&63)<<12|(m&63)<<6|n&63;k-=65536;e.push((k>>10&1023)+55296,(k&1023)+56320)}8192<=e.length&&(f+=String.fromCharCode.apply(null,e),e.length=0)}f+=g.oe(e);a.o=d;return f};
Ge=function(a){var b=Ae(a.o);a=a.o;if(0>b||a.o+b>a.A.length)a.D=!0,b=new window.Uint8Array(0);else{var c=a.A.subarray(a.o,a.o+b);a.o+=b;b=c}return b};
He=function(){};
Pe=function(a,b,c,d){a.o=null;b||(b=[]);a.G=void 0;a.C=-1;a.B=b;a:{if(b=a.B.length){--b;var e=a.B[b];if(!(null===e||"object"!=typeof e||g.xa(e)||Ie&&e instanceof window.Uint8Array)){a.D=b-a.C;a.A=e;break a}}a.D=Number.MAX_VALUE}a.F={};if(c)for(b=0;b<c.length;b++)e=c[b],e<a.D?(e+=a.C,a.B[e]=a.B[e]||Le):(Me(a),a.A[e]=a.A[e]||Le);if(d&&d.length)for(b=0;b<d.length;b++){e=c=void 0;for(var f=a,k=d[b],l=0;l<k.length;l++){var m=k[l],n=Ne(f,m);null!=n&&(e=m,c=n,Oe(f,m,void 0))}e&&Oe(f,e,c)}};
Me=function(a){var b=a.D+a.C;a.B[b]||(a.A=a.B[b]={})};
Ne=function(a,b){if(b<a.D){var c=b+a.C,d=a.B[c];return d===Le?a.B[c]=[]:d}if(a.A)return d=a.A[b],d===Le?a.A[b]=[]:d};
Qe=function(a,b){if(b<a.D){var c=b+a.C,d=a.B[c];return d===Le?a.B[c]=[]:d}d=a.A[b];return d===Le?a.A[b]=[]:d};
Yaa=function(a){if(null==a||a instanceof window.Uint8Array)return a;if(g.w(a))return ue(a);wa(a);return null};
Oe=function(a,b,c){b<a.D?a.B[b+a.C]=c:(Me(a),a.A[b]=c)};
Re=function(a,b,c){a.o||(a.o={});if(!a.o[c]){var d=Ne(a,c);d&&(a.o[c]=new b(d))}return a.o[c]};
Zaa=function(a){Se(a,Te,1);var b=a.o[1];b==Le&&(b=a.o[1]=[]);return b};
Se=function(a,b,c){a.o||(a.o={});if(!a.o[c]){for(var d=Qe(a,c),e=[],f=0;f<d.length;f++)e[f]=new b(d[f]);a.o[c]=e}};
Ve=function(a){if(a.o)for(var b in a.o){var c=a.o[b];if(g.xa(c))for(var d=0;d<c.length;d++)c[d]&&Ue(c[d]);else c&&Ue(c)}};
Ue=function(a){Ve(a);return a.B};
We=function(a){if(g.xa(a)){for(var b=Array(a.length),c=0;c<a.length;c++){var d=a[c];null!=d&&(b[c]="object"==typeof d?We(d):d)}return b}if(Ie&&a instanceof window.Uint8Array)return new window.Uint8Array(a);b={};for(c in a)d=a[c],null!=d&&(b[c]="object"==typeof d?We(d):d);return b};
Xe=function(a){Pe(this,a,null,null)};
Ye=function(a){Pe(this,a,null,null)};
Ze=function(a){Pe(this,a,null,$aa)};
$e=function(a){Pe(this,a,null,aba)};
af=function(a){Pe(this,a,null,bba)};
bf=function(a){Pe(this,a,null,null)};
cf=function(a){Pe(this,a,null,null)};
df=function(a){Pe(this,a,null,null)};
ef=function(a){Pe(this,a,null,null)};
ff=function(a){Pe(this,a,null,null)};
gf=function(a){Pe(this,a,cba,null)};
Te=function(a){Pe(this,a,null,null)};
hf=function(a){return Re(a,Ye,1)};
jf=function(a){for(var b=[],c=a=Kd(a.ownerDocument);c!=a.top;c=c.parent)if(c.frameElement)b.push(c.frameElement);else break;return b};
g.L=function(){this.Ob=this.Ob;this.yb=this.yb};
g.M=function(a,b){g.kf(a,g.Da(g.lf,b))};
g.kf=function(a,b){a.Ob?g.u(void 0)?b.call(void 0):b():(a.yb||(a.yb=[]),a.yb.push(g.u(void 0)?(0,g.B)(b,void 0):b))};
g.lf=function(a){a&&"function"==typeof a.dispose&&a.dispose()};
g.mf=function(a){for(var b=0,c=arguments.length;b<c;++b){var d=arguments[b];g.ya(d)?g.mf.apply(null,d):g.lf(d)}};
g.of=function(a,b){this.type=a;this.currentTarget=this.target=b;this.defaultPrevented=this.Ej=!1;this.LF=!0};
pf=function(a){a.stopPropagation()};
rf=function(a){return g.Jd?"webkit"+a:g.qf?"o"+a.toLowerCase():a.toLowerCase()};
sf=function(a,b){g.of.call(this,a?a.type:"");this.relatedTarget=this.currentTarget=this.target=null;this.button=this.screenY=this.screenX=this.clientY=this.clientX=this.offsetY=this.offsetX=0;this.key="";this.charCode=this.keyCode=0;this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1;this.state=null;this.pointerId=0;this.pointerType="";this.o=null;a&&this.init(a,b)};
g.uf=function(a){return!(!a||!a[g.tf])};
eba=function(a,b,c,d,e){this.listener=a;this.o=null;this.src=b;this.type=c;this.capture=!!d;this.hg=e;this.key=++dba;this.ul=this.No=!1};
vf=function(a){a.ul=!0;a.listener=null;a.o=null;a.src=null;a.hg=null};
wf=function(a){this.src=a;this.listeners={};this.o=0};
xf=function(a,b){var c=b.type;if(!(c in a.listeners))return!1;var d=g.Sa(a.listeners[c],b);d&&(vf(b),0==a.listeners[c].length&&(delete a.listeners[c],a.o--));return d};
g.yf=function(a){var b=0,c;for(c in a.listeners){for(var d=a.listeners[c],e=0;e<d.length;e++)++b,vf(d[e]);delete a.listeners[c];a.o--}};
zf=function(a,b,c,d){for(var e=0;e<a.length;++e){var f=a[e];if(!f.ul&&f.listener==b&&f.capture==!!c&&f.hg==d)return e}return-1};
g.Bf=function(a,b,c,d,e){if(d&&d.once)return Af(a,b,c,d,e);if(g.xa(b)){for(var f=0;f<b.length;f++)g.Bf(a,b[f],c,d,e);return null}c=Cf(c);return g.uf(a)?a.X(b,c,g.Aa(d)?!!d.capture:!!d,e):Df(a,b,c,!1,d,e)};
Df=function(a,b,c,d,e,f){if(!b)throw Error("Invalid event type");var k=g.Aa(e)?!!e.capture:!!e,l=g.Ef(a);l||(a[Ff]=l=new wf(a));c=l.add(b,c,d,k,f);if(c.o)return c;d=fba();c.o=d;d.src=a;d.listener=c;if(a.addEventListener)gba||(e=k),void 0===e&&(e=!1),a.addEventListener(b.toString(),d,e);else if(a.attachEvent)a.attachEvent(Gf(b.toString()),d);else if(a.addListener&&a.removeListener)a.addListener(d);else throw Error("addEventListener and attachEvent are unavailable.");Hf++;return c};
fba=function(){var a=hba,b=If?function(c){return a.call(b.src,b.listener,c)}:function(c){c=a.call(b.src,b.listener,c);
if(!c)return c};
return b};
Af=function(a,b,c,d,e){if(g.xa(b)){for(var f=0;f<b.length;f++)Af(a,b[f],c,d,e);return null}c=Cf(c);return g.uf(a)?a.di(b,c,g.Aa(d)?!!d.capture:!!d,e):Df(a,b,c,!0,d,e)};
g.Jf=function(a,b,c,d,e){if(g.xa(b))for(var f=0;f<b.length;f++)g.Jf(a,b[f],c,d,e);else d=g.Aa(d)?!!d.capture:!!d,c=Cf(c),g.uf(a)?a.Ia(b,c,d,e):a&&(a=g.Ef(a))&&(b=a.Gm(b,c,d,e))&&g.Kf(b)};
g.Kf=function(a){if(g.ta(a)||!a||a.ul)return!1;var b=a.src;if(g.uf(b))return xf(b.Ue,a);var c=a.type,d=a.o;b.removeEventListener?b.removeEventListener(c,d,a.capture):b.detachEvent?b.detachEvent(Gf(c),d):b.addListener&&b.removeListener&&b.removeListener(d);Hf--;(c=g.Ef(b))?(xf(c,a),0==c.o&&(c.src=null,b[Ff]=null)):vf(a);return!0};
Gf=function(a){return a in Lf?Lf[a]:Lf[a]="on"+a};
Nf=function(a,b,c,d){var e=!0;if(a=g.Ef(a))if(b=a.listeners[b.toString()])for(b=b.concat(),a=0;a<b.length;a++){var f=b[a];f&&f.capture==c&&!f.ul&&(f=Mf(f,d),e=e&&!1!==f)}return e};
Mf=function(a,b){var c=a.listener,d=a.hg||a.src;a.No&&g.Kf(a);return c.call(d,b)};
hba=function(a,b){if(a.ul)return!0;if(!If){var c=b||g.y("window.event"),d=new sf(c,this),e=!0;if(!(0>c.keyCode||void 0!=c.returnValue)){a:{var f=!1;if(0==c.keyCode)try{c.keyCode=-1;break a}catch(m){f=!0}if(f||void 0==c.returnValue)c.returnValue=!0}c=[];for(f=d.currentTarget;f;f=f.parentNode)c.push(f);f=a.type;for(var k=c.length-1;!d.Ej&&0<=k;k--){d.currentTarget=c[k];var l=Nf(c[k],f,!0,d);e=e&&l}for(k=0;!d.Ej&&k<c.length;k++)d.currentTarget=c[k],l=Nf(c[k],f,!1,d),e=e&&l}return e}return Mf(a,new sf(b,
this))};
g.Ef=function(a){a=a[Ff];return a instanceof wf?a:null};
Cf=function(a){if(g.za(a))return a;a[Of]||(a[Of]=function(b){return a.handleEvent(b)});
return a[Of]};
g.Pf=function(){g.L.call(this);this.Ue=new wf(this);this.Hb=this;this.wa=null};
Qf=function(a,b,c,d){b=a.Ue.listeners[String(b)];if(!b)return!0;b=b.concat();for(var e=!0,f=0;f<b.length;++f){var k=b[f];if(k&&!k.ul&&k.capture==c){var l=k.listener,m=k.hg||k.src;k.No&&xf(a.Ue,k);e=!1!==l.call(m,d)&&e}}return e&&0!=d.LF};
Rf=function(a,b){this.B=a;this.C=b;this.A=0;this.o=null};
Sf=function(a,b){a.C(b);100>a.A&&(a.A++,b.next=a.o,a.o=b)};
Tf=function(a){g.x.setTimeout(function(){throw a;},0)};
Vf=function(a,b){var c=a;b&&(c=(0,g.B)(a,b));c=iba(c);!g.za(g.x.setImmediate)||g.x.Window&&g.x.Window.prototype&&!Gb("Edge")&&g.x.Window.prototype.setImmediate==g.x.setImmediate?(Uf||(Uf=jba()),Uf(c)):g.x.setImmediate(c)};
jba=function(){var a=g.x.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!Gb("Presto")&&(a=function(){var a=window.document.createElement("IFRAME");a.style.display="none";a.src="";window.document.documentElement.appendChild(a);var b=a.contentWindow;a=b.document;a.open();a.write("");a.close();var c="callImmediate"+Math.random(),d="file:"==b.location.protocol?"*":b.location.protocol+"//"+b.location.host;a=(0,g.B)(function(a){if(("*"==
d||a.origin==d)&&a.data==c)this.port1.onmessage()},this);
b.addEventListener("message",a,!1);this.port1={};this.port2={postMessage:function(){b.postMessage(c,d)}}});
if("undefined"!==typeof a&&!Gb("Trident")&&!Gb("MSIE")){var b=new a,c={},d=c;b.port1.onmessage=function(){if(g.u(c.next)){c=c.next;var a=c.Iz;c.Iz=null;a()}};
return function(a){d.next={Iz:a};d=d.next;b.port2.postMessage(0)}}return"undefined"!==typeof window.document&&"onreadystatechange"in window.document.createElement("SCRIPT")?function(a){var b=window.document.createElement("SCRIPT");
b.onreadystatechange=function(){b.onreadystatechange=null;b.parentNode.removeChild(b);b=null;a();a=null};
window.document.documentElement.appendChild(b)}:function(a){g.x.setTimeout(a,0)}};
Wf=function(){this.A=this.o=null};
Xf=function(){this.next=this.scope=this.o=null};
g.ag=function(a,b){Yf||kba();Zf||(Yf(),Zf=!0);$f.add(a,b)};
kba=function(){if(g.x.Promise&&g.x.Promise.resolve){var a=g.x.Promise.resolve(void 0);Yf=function(){a.then(bg)}}else Yf=function(){Vf(bg)}};
bg=function(){for(var a;a=$f.remove();){try{a.o.call(a.scope)}catch(b){Tf(b)}Sf(cg,a)}Zf=!1};
dg=function(a){a.prototype.then=a.prototype.then;a.prototype.$goog_Thenable=!0};
eg=function(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(b){return!1}};
g.gg=function(a,b){this.o=0;this.G=void 0;this.C=this.A=this.B=null;this.D=this.F=!1;if(a!=g.A)try{var c=this;a.call(b,function(a){fg(c,2,a)},function(a){fg(c,3,a)})}catch(d){fg(this,3,d)}};
hg=function(){this.next=this.context=this.onRejected=this.B=this.o=null;this.A=!1};
jg=function(a,b,c){var d=ig.get();d.B=a;d.onRejected=b;d.context=c;return d};
kg=function(a){if(a instanceof g.gg)return a;var b=new g.gg(g.A);fg(b,2,a);return b};
ng=function(a){return new g.gg(function(b,c){c(a)})};
pg=function(a,b,c){og(a,b,c,null)||g.ag(g.Da(b,a))};
lba=function(a){return new g.gg(function(b,c){a.length||b(void 0);for(var d=0,e;d<a.length;d++)e=a[d],pg(e,b,c)})};
g.qg=function(a){return new g.gg(function(b,c){var d=a.length,e=[];if(d)for(var f=function(a,c){d--;e[a]=c;0==d&&b(e)},k=function(a){c(a)},l=0,m;l<a.length;l++)m=a[l],pg(m,g.Da(f,l),k);
else b(e)})};
nba=function(){var a,b,c=new g.gg(function(c,e){a=c;b=e});
return new mba(c,a,b)};
oba=function(a,b){var c=jg(b,b,void 0);c.A=!0;rg(a,c)};
g.tg=function(a,b){return sg(a,null,b,void 0)};
ug=function(a,b){if(0==a.o)if(a.B){var c=a.B;if(c.A){for(var d=0,e=null,f=null,k=c.A;k&&(k.A||(d++,k.o==a&&(e=k),!(e&&1<d)));k=k.next)e||(f=k);e&&(0==c.o&&1==d?ug(c,b):(f?(d=f,d.next==c.C&&(c.C=d),d.next=d.next.next):vg(c),wg(c,e,3,b)))}a.B=null}else fg(a,3,b)};
rg=function(a,b){a.A||2!=a.o&&3!=a.o||xg(a);a.C?a.C.next=b:a.A=b;a.C=b};
sg=function(a,b,c,d){var e=jg(null,null,null);e.o=new g.gg(function(a,k){e.B=b?function(c){try{var e=b.call(d,c);a(e)}catch(n){k(n)}}:a;
e.onRejected=c?function(b){try{var e=c.call(d,b);!g.u(e)&&b instanceof yg?k(b):a(e)}catch(n){k(n)}}:k});
e.o.B=a;rg(a,e);return e.o};
fg=function(a,b,c){0==a.o&&(a===c&&(b=3,c=new TypeError("Promise cannot resolve to itself")),a.o=1,og(c,a.J,a.K,a)||(a.G=c,a.o=b,a.B=null,xg(a),3!=b||c instanceof yg||pba(a,c)))};
og=function(a,b,c,d){if(a instanceof g.gg)return rg(a,jg(b||g.A,c||null,d)),!0;if(eg(a))return a.then(b,c,d),!0;if(g.Aa(a))try{var e=a.then;if(g.za(e))return qba(a,e,b,c,d),!0}catch(f){return c.call(d,f),!0}return!1};
qba=function(a,b,c,d,e){function f(a){l||(l=!0,d.call(e,a))}
function k(a){l||(l=!0,c.call(e,a))}
var l=!1;try{b.call(a,k,f)}catch(m){f(m)}};
xg=function(a){a.F||(a.F=!0,g.ag(a.H,a))};
vg=function(a){var b=null;a.A&&(b=a.A,a.A=b.next,b.next=null);a.A||(a.C=null);return b};
wg=function(a,b,c,d){if(3==c&&b.onRejected&&!b.A)for(;a&&a.D;a=a.B)a.D=!1;if(b.o)b.o.B=null,zg(b,c,d);else try{b.A?b.B.call(b.context):zg(b,c,d)}catch(e){Ag.call(null,e)}Sf(ig,b)};
zg=function(a,b,c){2==b?a.B.call(a.context,c):a.onRejected&&a.onRejected.call(a.context,c)};
pba=function(a,b){a.D=!0;g.ag(function(){a.D&&Ag.call(null,b)})};
yg=function(a){Fa.call(this,a)};
mba=function(a,b,c){this.o=a;this.resolve=b;this.reject=c};
g.Bg=function(a,b){g.Pf.call(this);this.Fd=a||1;this.co=b||g.x;this.Fz=(0,g.B)(this.fd,this);this.cC=(0,g.H)()};
g.Cg=function(a,b,c){if(g.za(a))c&&(a=(0,g.B)(a,c));else if(a&&"function"==typeof a.handleEvent)a=(0,g.B)(a.handleEvent,a);else throw Error("Invalid listener argument");return 2147483647<Number(b)?-1:g.x.setTimeout(a,b||0)};
g.Dg=function(a){g.x.clearTimeout(a)};
rba=function(){var a=null;return g.tg(new g.gg(function(b,c){a=g.Cg(function(){b("NO_BID")},1E3);
-1==a&&c(Error("Failed to schedule timer."))}),function(b){g.Dg(a);
throw b;})};
Eg=function(){return Math.round((0,g.H)()/1E3)};
sba=function(a){var b=window.performance&&window.performance.timing&&window.performance.timing.domLoading&&0<window.performance.timing.domLoading?Math.round(window.performance.timing.domLoading/1E3):null;return null!=b?b:null!=a?a:Eg()};
tba=function(){this.A=-1};
uba=function(a){return/^\s*$/.test(a)?!1:/^[\],:{}\s\u2028\u2029]*$/.test(a.replace(/\\["\\\/bfnrtu]/g,"@").replace(/(?:"[^"\\\n\r\u2028\u2029\x00-\x08\x0a-\x1f]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?)[\s\u2028\u2029]*(?=:|,|]|}|$)/g,"]").replace(/(?:^|:|,)(?:[\s\u2028\u2029]*\[)+/g,""))};
vba=function(a){try{return g.x.JSON.parse(a)}catch(d){var b=d}a=String(a);if(uba(a))try{var c=eval("("+a+")");b&&Fg("Invalid JSON: "+a,b);return c}catch(d){}throw Error("Invalid JSON string: "+a);};
g.Hg=function(a){var b=[];Gg(new wba,a,b);return b.join("")};
wba=function(){};
Gg=function(a,b,c){if(null==b)c.push("null");else{if("object"==typeof b){if(g.xa(b)){var d=b;b=d.length;c.push("[");for(var e="",f=0;f<b;f++)c.push(e),Gg(a,d[f],c),e=",";c.push("]");return}if(b instanceof String||b instanceof Number||b instanceof Boolean)b=b.valueOf();else{c.push("{");e="";for(d in b)Object.prototype.hasOwnProperty.call(b,d)&&(f=b[d],"function"!=typeof f&&(c.push(e),Ig(d,c),c.push(":"),Gg(a,f,c),e=","));c.push("}");return}}switch(typeof b){case "string":Ig(b,c);break;case "number":c.push((0,window.isFinite)(b)&&
!(0,window.isNaN)(b)?String(b):"null");break;case "boolean":c.push(String(b));break;case "function":c.push("null");break;default:throw Error("Unknown type: "+typeof b);}}};
Ig=function(a,b){b.push('"',a.replace(xba,function(a){var b=Jg[a];b||(b="\\u"+(a.charCodeAt(0)|65536).toString(16).substr(1),Jg[a]=b);return b}),'"')};
Kg=function(a){this.o=a||{cookie:""}};
Lg=function(a){a=(a.o.cookie||"").split(";");for(var b=[],c=[],d,e,f=0;f<a.length;f++)e=wb(a[f]),d=e.indexOf("="),-1==d?(b.push(""),c.push(e)):(b.push(e.substring(0,d)),c.push(e.substring(d+1)));return{keys:b,values:c}};
g.Mg=function(a,b,c,d,e,f,k){var l="";a&&(l+=a+":");c&&(l+="//",b&&(l+=b+"@"),l+=c,d&&(l+=":"+d));e&&(l+=e);f&&(l+="?"+f);k&&(l+="#"+k);return l};
g.Ng=function(a){return a.match(yba)};
g.Og=function(a){return a?(0,window.decodeURI)(a):a};
g.Pg=function(a){return g.Og(g.Ng(a)[3]||null)};
g.Qg=function(a){return Number(g.Ng(a)[4]||null)||null};
Rg=function(a,b){if(a)for(var c=a.split("&"),d=0;d<c.length;d++){var e=c[d].indexOf("="),f=null;if(0<=e){var k=c[d].substring(0,e);f=c[d].substring(e+1)}else k=c[d];b(k,f?nb(f):"")}};
Sg=function(a){var b=a.indexOf("#");0>b&&(b=a.length);var c=a.indexOf("?");if(0>c||c>b){c=b;var d=""}else d=a.substring(c+1,b);return[a.substr(0,c),d,a.substr(b)]};
Tg=function(a,b){return b?a?a+"&"+b:b:a};
Ug=function(a,b){if(!b)return a;var c=Sg(a);c[1]=Tg(c[1],b);return c[0]+(c[1]?"?"+c[1]:"")+c[2]};
Vg=function(a,b,c){if(g.xa(b))for(var d=0;d<b.length;d++)Vg(a,String(b[d]),c);else null!=b&&c.push(a+(""===b?"":"="+g.lb(b)))};
Wg=function(a,b){for(var c=[],d=b||0;d<a.length;d+=2)Vg(a[d],a[d+1],c);return c.join("&")};
g.Xg=function(a){var b=[],c;for(c in a)Vg(c,a[c],b);return b.join("&")};
Yg=function(a,b){var c=2==arguments.length?Wg(arguments[1],0):Wg(arguments,1);return Ug(a,c)};
g.Zg=function(a,b){var c=g.Xg(b);return Ug(a,c)};
$g=function(a,b,c,d){for(var e=c.length;0<=(b=a.indexOf(c,b))&&b<d;){var f=a.charCodeAt(b-1);if(38==f||63==f)if(f=a.charCodeAt(b+e),!f||61==f||38==f||35==f)return b;b+=e+1}return-1};
bh=function(a,b){var c=a.search(ah),d=$g(a,0,b,c);if(0>d)return null;var e=a.indexOf("&",d);if(0>e||e>c)e=c;d+=b.length+1;return nb(a.substr(d,e-d))};
g.ch=function(a,b){for(var c=a.search(ah),d=0,e,f=[];0<=(e=$g(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(zba,"$1")};
dh=function(a,b,c){a=g.ch(a,b);c=null!=c?"="+g.lb(c):"";return Ug(a,b+c)};
Aba=function(a,b){var c=Sg(a),d=c[1],e=[];d&&(0,g.D)(d.split("&"),function(a){var c=a.indexOf("=");b.hasOwnProperty(0<=c?a.substr(0,c):a)||e.push(a)});
c[1]=Tg(e.join("&"),g.Xg(b));return c[0]+(c[1]?"?"+c[1]:"")+c[2]};
eh=function(){this.o={};return this};
fh=function(a,b){a.o.eb=ac(a.o,"eb",0)|b};
g.gh=function(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d};
hh=function(a,b){return a==b?!0:a&&b?a.top==b.top&&a.right==b.right&&a.bottom==b.bottom&&a.left==b.left:!1};
ih=function(a,b,c){b instanceof g.pd?(a.left+=b.x,a.right+=b.x,a.top+=b.y,a.bottom+=b.y):(a.left+=b,a.right+=b,g.ta(c)&&(a.top+=c,a.bottom+=c));return a};
g.jh=function(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d};
g.kh=function(a){return new g.gh(a.top,a.left+a.width,a.top+a.height,a.left)};
g.lh=function(a,b){return a==b?!0:a&&b?a.left==b.left&&a.width==b.width&&a.top==b.top&&a.height==b.height:!1};
g.mh=function(a,b){var c=Math.max(a.left,b.left),d=Math.min(a.left+a.width,b.left+b.width);if(c<=d){var e=Math.max(a.top,b.top),f=Math.min(a.top+a.height,b.top+b.height);if(e<=f)return a.left=c,a.top=e,a.width=d-c,a.height=f-e,!0}return!1};
g.nh=function(a){return new g.sd(a.width,a.height)};
g.oh=function(a){return new g.pd(a.left,a.top)};
Bba=function(){this.o={};this.A=0};
ph=function(a,b){this.D=a;this.B=!0;this.o=b};
qh=function(a,b){ph.call(this,String(a),b);this.C=a;this.o=!!b};
rh=function(a,b){ph.call(this,a,b)};
sh=function(a){if(a.match(/^-?[0-9]+\.-?[0-9]+\.-?[0-9]+\.-?[0-9]+$/)){a=a.split(".");var b=Number(a[0]),c=Number(a[1]);return new rh("",new g.jh(c,b,Number(a[3])-c,Number(a[2])-b))}return new rh("",new g.jh(0,0,0,0))};
uh=function(){th||(th=new Bba);return th};
vh=function(a,b){a.o[b.D]=b};
g.xh=function(a,b,c){if(g.w(b))(b=wh(a,b))&&(a.style[b]=c);else for(var d in b){c=a;var e=b[d],f=wh(c,d);f&&(c.style[f]=e)}};
wh=function(a,b){var c=yh[b];if(!c){var d=Cb(b);c=d;void 0===a.style[d]&&(d=(g.Jd?"Webkit":g.zh?"Moz":g.Hd?"ms":g.qf?"O":null)+vaa(d),void 0!==a.style[d]&&(c=d));yh[b]=c}return c};
Ah=function(a,b){var c=a.style[Cb(b)];return"undefined"!==typeof c?c:a.style[wh(a,b)]||""};
Bh=function(a,b){var c=g.vd(a);return c.defaultView&&c.defaultView.getComputedStyle&&(c=c.defaultView.getComputedStyle(a,null))?c[b]||c.getPropertyValue(b)||"":""};
g.Ch=function(a,b){return Bh(a,b)||(a.currentStyle?a.currentStyle[b]:null)||a.style&&a.style[b]};
g.Eh=function(a,b,c){if(b instanceof g.pd){var d=b.x;b=b.y}else d=b,b=c;a.style.left=Dh(d,!1);a.style.top=Dh(b,!1)};
Fh=function(a){return new g.pd(a.offsetLeft,a.offsetTop)};
Gh=function(a){try{var b=a.getBoundingClientRect()}catch(c){return{left:0,top:0,right:0,bottom:0}}g.Hd&&a.ownerDocument.body&&(a=a.ownerDocument,b.left-=a.documentElement.clientLeft+a.body.clientLeft,b.top-=a.documentElement.clientTop+a.body.clientTop);return b};
g.Hh=function(a){if(g.Hd&&!g.sc(8))return a.offsetParent;var b=g.vd(a),c=g.Ch(a,"position"),d="fixed"==c||"absolute"==c;for(a=a.parentNode;a&&a!=b;a=a.parentNode)if(11==a.nodeType&&a.host&&(a=a.host),c=g.Ch(a,"position"),d=d&&"static"==c&&a!=b.documentElement&&a!=b.body,!d&&(a.scrollWidth>a.clientWidth||a.scrollHeight>a.clientHeight||"fixed"==c||"absolute"==c||"relative"==c))return a;return null};
g.Jh=function(a){for(var b=new g.gh(0,window.Infinity,window.Infinity,0),c=g.yd(a),d=c.o.body,e=c.o.documentElement,f=Gd(c.o);a=g.Hh(a);)if(!(g.Hd&&0==a.clientWidth||g.Jd&&0==a.clientHeight&&a==d)&&a!=d&&a!=e&&"visible"!=g.Ch(a,"overflow")){var k=g.Ih(a),l=new g.pd(a.clientLeft,a.clientTop);k.x+=l.x;k.y+=l.y;b.top=Math.max(b.top,k.y);b.right=Math.min(b.right,k.x+a.clientWidth);b.bottom=Math.min(b.bottom,k.y+a.clientHeight);b.left=Math.max(b.left,k.x)}d=f.scrollLeft;f=f.scrollTop;b.left=Math.max(b.left,
d);b.top=Math.max(b.top,f);c=g.Fd(g.le(c)||window);b.right=Math.min(b.right,d+c.width);b.bottom=Math.min(b.bottom,f+c.height);return 0<=b.top&&0<=b.left&&b.bottom>b.top&&b.right>b.left?b:null};
g.Ih=function(a){var b=g.vd(a),c=new g.pd(0,0);var d=b?g.vd(b):window.document;d=!g.Hd||g.sc(9)||g.Ed(g.yd(d).o)?d.documentElement:d.body;if(a==d)return c;a=Gh(a);b=g.Id(g.yd(b).o);c.x=a.left+b.x;c.y=a.top+b.y;return c};
g.Lh=function(a,b){var c=new g.pd(0,0),d=Kd(g.vd(a));if(!nc(d,"parent"))return c;var e=a;do{var f=d==b?g.Ih(e):Kh(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.Nh=function(a,b){var c=g.Mh(a),d=g.Mh(b);return new g.pd(c.x-d.x,c.y-d.y)};
Kh=function(a){a=Gh(a);return new g.pd(a.left,a.top)};
g.Mh=function(a){if(1==a.nodeType)return Kh(a);a=a.changedTouches?a.changedTouches[0]:a;return new g.pd(a.clientX,a.clientY)};
g.Ph=function(a,b,c){if(b instanceof g.sd)c=b.height,b=b.width;else if(void 0==c)throw Error("missing height argument");g.Oh(a,b);a.style.height=Dh(c,!0)};
Dh=function(a,b){"number"==typeof a&&(a=(b?Math.round(a):a)+"px");return a};
g.Oh=function(a,b){a.style.width=Dh(b,!0)};
g.Qh=function(a){var b=Cba;if("none"!=g.Ch(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};
Cba=function(a){var b=a.offsetWidth,c=a.offsetHeight,d=g.Jd&&!b&&!c;return g.u(b)&&!d||!a.getBoundingClientRect?new g.sd(b,c):(a=Gh(a),new g.sd(a.right-a.left,a.bottom-a.top))};
g.Sh=function(a){var b=g.Ih(a);a=g.Qh(a);return new g.jh(b.x,b.y,a.width,a.height)};
g.Th=function(a,b){var c=a.style;"opacity"in c?c.opacity=b:"MozOpacity"in c?c.MozOpacity=b:"filter"in c&&(c.filter=""===b?"":"alpha(opacity="+100*Number(b)+")")};
g.O=function(a,b){a.style.display=b?"":"none"};
g.Uh=function(a){return"none"!=a.style.display};
g.Vh=function(a,b,c,d){if(/^\d+px?$/.test(b))return(0,window.parseInt)(b,10);var e=a.style[c],f=a.runtimeStyle[c];a.runtimeStyle[c]=a.currentStyle[c];a.style[c]=b;b=a.style[d];a.style[c]=e;a.runtimeStyle[c]=f;return+b};
Wh=function(a,b){var c=a.currentStyle?a.currentStyle[b]:null;return c?g.Vh(a,c,"left","pixelLeft"):0};
g.Xh=function(a){if(g.Hd){var b=Wh(a,"paddingLeft"),c=Wh(a,"paddingRight"),d=Wh(a,"paddingTop");a=Wh(a,"paddingBottom");return new g.gh(d,c,a,b)}b=Bh(a,"paddingLeft");c=Bh(a,"paddingRight");d=Bh(a,"paddingTop");a=Bh(a,"paddingBottom");return new g.gh((0,window.parseFloat)(d),(0,window.parseFloat)(c),(0,window.parseFloat)(a),(0,window.parseFloat)(b))};
Zh=function(a,b){if("none"==(a.currentStyle?a.currentStyle[b+"Style"]:null))return 0;var c=a.currentStyle?a.currentStyle[b+"Width"]:null;return c in Yh?Yh[c]:g.Vh(a,c,"left","pixelLeft")};
g.$h=function(a){if(g.Hd&&!g.sc(9)){var b=Zh(a,"borderLeft"),c=Zh(a,"borderRight"),d=Zh(a,"borderTop");a=Zh(a,"borderBottom");return new g.gh(d,c,a,b)}b=Bh(a,"borderLeftWidth");c=Bh(a,"borderRightWidth");d=Bh(a,"borderTopWidth");a=Bh(a,"borderBottomWidth");return new g.gh((0,window.parseFloat)(d),(0,window.parseFloat)(c),(0,window.parseFloat)(a),(0,window.parseFloat)(b))};
ai=function(a){var b=new g.jh(-Number.MAX_VALUE/2,-Number.MAX_VALUE/2,Number.MAX_VALUE,Number.MAX_VALUE),c=new g.jh(0,0,0,0);if(!a||0==a.length)return c;for(var d=0;d<a.length;d++)if(!g.mh(b,a[d]))return c;return b};
bi=function(a,b){var c=a.getBoundingClientRect(),d=g.Lh(a,b);return new g.jh(Math.round(d.x),Math.round(d.y),Math.round(c.right-c.left),Math.round(c.bottom-c.top))};
ci=function(a,b,c){if(b&&c){a:{var d=Math.max(b.left,c.left);var e=Math.min(b.left+b.width,c.left+c.width);if(d<=e){var f=Math.max(b.top,c.top),k=Math.min(b.top+b.height,c.top+c.height);if(f<=k){d=new g.jh(d,f,e-d,k-f);break a}}d=null}e=d?d.height*d.width:0;f=d?b.height*b.width:0;d=d&&f?Math.round(e/f*100):0;vh(a,new ph("vp",d));d&&0<d?(e=g.kh(b),f=g.kh(c),e=e.top>=f.top&&e.top<f.bottom):e=!1;vh(a,new qh(512,e));d&&0<d?(e=g.kh(b),f=g.kh(c),e=e.bottom<=f.bottom&&e.bottom>f.top):e=!1;vh(a,new qh(1024,
e));d&&0<d?(e=g.kh(b),f=g.kh(c),e=e.left>=f.left&&e.left<f.right):e=!1;vh(a,new qh(2048,e));d&&0<d?(b=g.kh(b),c=g.kh(c),c=b.right<=c.right&&b.right>c.left):c=!1;vh(a,new qh(4096,c))}};
Dba=function(a,b){var c=0;g.Rb(Kd(),"ima","video","client","tagged")&&(c=1);var d=null;a&&(d=a());if(d){var e=d;d=uh();d.o={};var f=new qh(32,!0);f.B=!1;vh(d,f);f=Kd().document;f=f.visibilityState||f.webkitVisibilityState||f.mozVisibilityState||f.msVisibilityState||"";vh(d,new qh(64,"hidden"!=f.toLowerCase().substring(f.length-6)?!0:!1));try{var k=Kd().top;try{var l=!!k.location.href||""===k.location.href}catch(r){l=!1}if(l){var m=jf(e);var n=m&&0!=m.length?"1":"0"}else n="2"}catch(r){n="2"}vh(d,
new qh(256,"2"==n));vh(d,new qh(128,"1"==n));m=l=Kd().top;"2"==n&&(m=Kd());k=bi(e,m);vh(d,new rh("er",k));try{var p=m.document&&!m.document.body?null:g.Fd(m||window)}catch(r){p=null}p?(m=g.Id(g.yd(m.document).o),vh(d,new qh(16384,!!m)),p=m?new g.jh(m.x,m.y,p.width,p.height):null):p=null;vh(d,new rh("vi",p));if(p&&"1"==n){n=jf(e);e=[];for(m=0;m<n.length;m++)(f=bi(n[m],l))&&e.push(f);e.push(p);p=ai(e)}ci(d,k,p);d.A&&(n=Eg()-d.A,vh(d,new ph("ts",n)));d.A=Eg()}else d=uh(),d.o={},d.A=Eg(),vh(d,new qh(32,
!1));this.B=d;this.o=new eh;this.o.set("ve",4);c&&fh(this.o,1);g.Rb(Kd(),"ima","video","client","crossdomainTag")&&fh(this.o,4);g.Rb(Kd(),"ima","video","client","sdkTag")&&fh(this.o,8);g.Rb(Kd(),"ima","video","client","jsTag")&&fh(this.o,2);b&&ac(b,"fullscreen",!1)&&fh(this.o,16);this.A=d=null;if(c&&(c=g.Rb(Kd(),"ima","video","client"),c.getEData)){this.A=c.getEData();if(c=g.Rb(Kd(),"ima","video","client","getLastSnapshotFromTop"))if(n=c())this.A.extendWithDataFromTopIframe(n.tagstamp,n.playstamp,
n.lactstamp),c=this.B,d=n.er,n=n.vi,d&&n&&(d=sh(d).getValue(),n=sh(n).getValue(),e=null,ac(c.o,"er",null)&&(e=ac(c.o,"er",null).getValue(),e.top+=d.top,e.left+=d.left,vh(c,new rh("er",e))),ac(c.o,"vi",null)&&(p=ac(c.o,"vi",null).getValue(),p.top+=d.top,p.left+=d.left,l=[],l.push(p),l.push(d),l.push(n),d=ai(l),ci(c,e,d),vh(c,new rh("vi",n))));a:{if(this.A){if(this.A.getTagLoadTimestamp){d=this.A.getTagLoadTimestamp();break a}if(this.A.getTimeSinceTagLoadSeconds){d=this.A.getTimeSinceTagLoadSeconds();
break a}}d=null}}this.o.set("td",Eg()-sba(d))};
Eba=function(a,b){try{var c=new Dba(a,b),d=[],e=Number(c.o.get("eb"));c.o.remove("eb");var f,k=c.o,l=[],m;for(m in k.o)l.push(m+k.o[m]);(f=l.join("_"))&&d.push(f);if(c.A){var n=c.A.serialize();n&&d.push(n)}var p,r=c.B;f=e;k=[];f||(f=0);for(var v in r.o){var z=r.o[v];if(z instanceof qh)z.getValue()&&(f|=z.C);else{var E,J=r.o[v];(E=J.B?J.A():"")&&k.push(v+E)}}k.push("eb"+String(f));(p=k.join("_"))&&d.push(p);c.o.set("eb",e);return d.join("_")}catch(N){return"tle;"+qb(N.name,12)+";"+qb(N.message,40)}};
di=function(a,b,c,d){if(d)c=a+("&"+b+"="+c);else{var e="&"+b+"=",f=a.indexOf(e);0>f?c=a+e+c:(f+=e.length,e=a.indexOf("&",f),c=0<=e?a.substring(0,f)+c+a.substring(e):a.substring(0,f)+c)}return 2E3<c.length?g.u(void 0)?di(a,b,void 0,d):a:c};
ei=function(){};
gi=function(){return!fi()&&(Gb("iPod")||Gb("iPhone")||Gb("Android")||Gb("IEMobile"))};
fi=function(){return Gb("iPad")||Gb("Android")&&!Gb("Mobile")||Gb("Silk")};
hi=function(a){try{return!!a&&null!=a.location.href&&nc(a,"foo")}catch(b){return!1}};
ii=function(a,b){if(a)for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&b.call(void 0,a[c],c,a)};
Gba=function(a){return(a=Fba.exec(a))&&a[0]||""};
Hba=function(){var a=g.x;try{for(var b=null;b!=a;b=a,a=a.parent)switch(a.location.protocol){case "https:":return!0;case "file:":return!1;case "http:":return!1}}catch(c){}return!0};
Iba=function(){var a=ji;if(!a)return"";var b=/.*[&#?]google_debug(=[^&]*)?(&.*)?$/;try{var c=b.exec((0,window.decodeURIComponent)(a));if(c)return c[1]&&1<c[1].length?c[1].substring(1):"true"}catch(d){}return""};
ki=function(a){return a?a.passive&&Jba()?a:a.capture||!1:!1};
li=function(a,b,c,d){a.addEventListener&&a.addEventListener(b,c,ki(d))};
mi=function(a,b,c){a.removeEventListener&&a.removeEventListener(b,c,ki(void 0))};
ni=function(a,b){var c=!1,d=!1;d=void 0===d?!1:d;c=void 0===c?!1:c;a.google_image_requests||(a.google_image_requests=[]);var e=a.document.createElement("img");if(c){var f=function(){c&&g.Sa(a.google_image_requests,e);mi(e,"load",f);mi(e,"error",f)};
li(e,"load",f);li(e,"error",f)}d&&(e.referrerPolicy="no-referrer");e.src=b;a.google_image_requests.push(e)};
oi=function(a){a=void 0===a?g.x:a;var b=a.context||a.AMP_CONTEXT_DATA;if(!b)try{b=a.parent.context||a.parent.AMP_CONTEXT_DATA}catch(c){}try{if(b&&b.pageViewId&&b.canonicalUrl)return b}catch(c){}return null};
qi=function(a){a.u_tz=-(new Date).getTimezoneOffset();var b=void 0===b?pi:b;try{var c=b.history.length}catch(d){c=0}a.u_his=c;if(c=!!pi.navigator)c="unknown"!==typeof pi.navigator.javaEnabled;a.u_java=c&&!!pi.navigator.javaEnabled&&pi.navigator.javaEnabled();pi.screen&&(a.u_h=pi.screen.height,a.u_w=pi.screen.width,a.u_ah=pi.screen.availHeight,a.u_aw=pi.screen.availWidth,a.u_cd=pi.screen.colorDepth);pi.navigator&&pi.navigator.plugins&&(a.u_nplug=pi.navigator.plugins.length);pi.navigator&&pi.navigator.mimeTypes&&
(a.u_nmime=pi.navigator.mimeTypes.length)};
ui=function(){if(ri&&!hi(si)){var a="."+ti.domain;try{for(;2<a.split(".").length&&!hi(si);)ti.domain=a=a.substr(a.indexOf(".")+1),si=window.parent}catch(b){}hi(si)||(si=window)}return si};
wi=function(){var a=window.event||vi;if(!a)return null;var b;(b=a.which?1<<Kba[a.which-1]:a.button)&&a.shiftKey&&(b|=8);b&&a.altKey&&(b|=16);b&&a.ctrlKey&&(b|=32);return b};
xi=function(a,b,c){try{a&&(b=b.top);var d=void 0;var e=b;c=void 0===c?!1:c;a&&null!==e&&e!=e.top&&(e=e.top);try{d=(void 0===c?0:c)?(new g.sd(e.innerWidth,e.innerHeight)).round():g.Fd(e||window).round()}catch(m){d=new g.sd(-12245933,-12245933)}a=d;var f=g.Id(g.yd(b.document).o);if(-12245933==a.width){var k=a.width;var l=new g.gh(k,k,k,k)}else l=new g.gh(f.y,f.x+a.width,f.y+a.height,f.x);return l}catch(m){return new g.gh(-12245933,-12245933,-12245933,-12245933)}};
Lba=function(a){var b={};(0,g.D)(a,function(a){var c=a.event,e=b[c];b.hasOwnProperty(c)?null===e||a.o(e)||(b[c]=null):b[c]=a});
gaa(a,function(a){return null===b[a.event]})};
yi=function(){this.o=0;this.B=!1;this.C=-1;this.kj=!1;this.A=0};
zi=function(a){this.C=a;this.o=null;this.A=!1;this.B=null};
Ai=function(a){a.A=!0;return a};
Bi=function(a,b){a.B=void 0===b?null:b};
Mba=function(a,b){a.B&&(0,g.D)(b,function(b){b=a.B[b];void 0!==b&&null===a.o&&g.Vb(a.C,b)&&(a.o=b)})};
Ci=function(){this.o={};this.A=!0;this.B={}};
Di=function(a,b,c){a.o[b]||(a.o[b]=new zi(c));return a.o[b]};
Ei=function(a,b,c){(a=a.o[b])&&null===a.o&&g.Vb(a.C,c)&&(a.o=c)};
Fi=function(a,b){if(Sb(a.B,b))return a.B[b];var c=a.o[b];if(c)return c.getValue()};
Gi=function(a){var b={},c=g.Ib(a.o,function(a){return a.A});
g.Hb(c,function(c,e){var d=void 0!==a.B[e]?String(a.B[e]):c.A&&null!==c.o?String(c.o):"";0<d.length&&(b[e]=d)},a);
return b};
Nba=function(a){a=Gi(a);var b=[];g.Hb(a,function(a,d){d in Object.prototype||"undefined"!=typeof a&&b.push([d,":",a].join(""))});
return b};
Oba=function(a,b){a.A&&(0,g.D)(g.Pb(a.o),function(a){return Mba(a,b)})};
Hi=function(){return(0,g.H)()-Pba};
Mi=function(a){var b=0<=Ii?Hi()-Ii:-1,c=Ji?Hi()-Ki:-1,d=0<=Li?Hi()-Li:-1;if(79463068==a)return 500;if(947190542==a)return 100;if(79463069==a)return 200;a=[2E3,4E3];var e=[250,500,1E3];var f=b;-1!=c&&c<b&&(f=c);for(b=0;b<a.length;++b)if(f<a[b]){var k=e[b];break}void 0===k&&(k=e[a.length]);return-1!=d&&1500<d&&4E3>d?500:k};
Ni=function(a,b){this.A=(void 0===a?0:a)||0;this.o=(void 0===b?"":b)||""};
Oi=function(a,b,c){c=void 0===c?{}:c;this.error=a;this.context=b.context;this.line=b.line||-1;this.msg=b.message||"";this.file=b.file||"";this.id=b.id||"jserror";this.meta=c};
Ri=function(a){a=a||Pi();for(var b=new Qi(g.x.location.href,g.x,!1),c=null,d=a.length-1,e=d;0<=e;--e){var f=a[e];!c&&Qba.test(f.url)&&(c=f);if(f.url&&!f.Xu){b=f;break}}e=null;f=a.length&&a[d].url;0!=b.depth&&f&&(e=a[d]);return new Rba(b,e,c)};
Pi=function(){var a=g.x,b=[],c=null;do{var d=a;if(hi(d)){var e=d.location.href;c=d.document&&d.document.referrer||null}else e=c,c=null;b.push(new Qi(e||"",d));try{a=d.parent}catch(f){a=null}}while(a&&d!=a);d=0;for(a=b.length-1;d<=a;++d)b[d].depth=a-d;d=g.x;if(d.location&&d.location.ancestorOrigins&&d.location.ancestorOrigins.length==b.length-1)for(a=1;a<b.length;++a)e=b[a],e.url||(e.url=d.location.ancestorOrigins[a-1]||"",e.Xu=!0);return b};
Rba=function(a,b,c){this.o=a;this.A=b;this.B=c};
Qi=function(a,b,c){this.url=a;this.Ic=b;this.Xu=!!c;this.depth=g.ta(void 0)?void 0:null};
Si=function(){this.B="&";this.C=g.u(void 0)?void 0:"trn";this.D=!1;this.A={};this.F=0;this.o=[]};
Ti=function(a,b){var c={};c[a]=b;return[c]};
Vi=function(a,b,c,d,e){var f=[];ii(a,function(a,l){var k=Ui(a,b,c,d,e);k&&f.push(l+"="+k)});
return f.join(b)};
Ui=function(a,b,c,d,e){if(null==a)return"";b=b||"&";c=c||",$";"string"==typeof c&&(c=c.split(""));if(a instanceof Array){if(d=d||0,d<c.length){for(var f=[],k=0;k<a.length;k++)f.push(Ui(a[k],b,c,d+1,e));return f.join(c[d])}}else if("object"==typeof a)return e=e||0,2>e?(0,window.encodeURIComponent)(Vi(a,b,c,d,e+1)):"...";return(0,window.encodeURIComponent)(String(a))};
Wi=function(a,b,c,d){a.o.push(b);a.A[b]=Ti(c,d)};
Sba=function(a){if(!a.C)return 4E3;var b=1,c;for(c in a.A)b=c.length>b?c.length:b;return 4E3-a.C.length-b-a.B.length-1};
Xi=function(a,b,c,d){if(Math.random()<(d||a.o))try{if(c instanceof Si)var e=c;else e=new Si,ii(c,function(a,b){var c=e,d=c.F++,f=Ti(b,a);c.o.push(d);c.A[d]=f});
var f=e.Xa(a.C,a.A,a.B+b+"&","");f&&ni(g.x,f)}catch(k){}};
Yi=function(){var a=g.x.performance;return a&&a.now&&a.timing?Math.floor(a.now()+a.timing.navigationStart):(0,g.H)()};
Zi=function(){var a=void 0===a?g.x:a;return(a=a.performance)&&a.now?a.now():null};
$i=function(a,b,c,d,e){this.label=a;this.type=b;this.value=c;this.duration=void 0===d?0:d;this.uniqueId=this.label+"_"+this.type+"_"+Math.random();this.slotId=e};
bj=function(a,b){this.events=[];this.o=b||g.x;var c=null;b&&(b.google_js_reporting_queue=b.google_js_reporting_queue||[],this.events=b.google_js_reporting_queue,c=b.google_measure_js_timing);this.A=aj()||(null!=c?c:Math.random()<a)};
fj=function(a){a&&ej&&aj()&&(ej.clearMarks("goog_"+a.uniqueId+"_start"),ej.clearMarks("goog_"+a.uniqueId+"_end"))};
ij=function(){var a=gj;this.B=hj;this.C="jserror";this.A=!0;this.o=null;this.D=this.hi;this.Fa=void 0===a?null:a};
lj=function(a){return new jj(kj(a),a.fileName,a.lineNumber)};
kj=function(a){var b=a.toString();a.name&&-1==b.indexOf(a.name)&&(b+=": "+a.name);a.message&&-1==b.indexOf(a.message)&&(b+=": "+a.message);if(a.stack){a=a.stack;var c=b;try{-1==a.indexOf(c)&&(a=c+"\n"+a);for(var d;a!=d;)d=a,a=a.replace(/((https?:\/..*\/)[^\/:]*:\d+(?:.|\n)*)\2/,"$1");b=a.replace(/\n */g,"\n")}catch(e){b=c}}return b};
jj=function(a,b,c){Oi.call(this,Error(a),{message:a,file:void 0===b?"":b,line:void 0===c?-1:c})};
mj=function(){this.Fa=null;this.A="jserror";this.B=!1;this.o=null};
Tba=function(a){nj.dG(function(b){(0,g.D)(a,function(a){a(b)})})};
oj=function(a,b){return nj.Zq(a,b,void 0,Uba)};
pj=function(a,b,c,d){return nj.xF(a,b,c,d,void 0)};
qj=function(a,b){nj.hi(a,b,void 0,void 0)};
rj=function(a,b,c,d){var e=void 0===e?!1:e;c=pj(d,c);li(a,b,c,{capture:e});return c};
tj=function(a){var b=sj.getInstance().A;b&&(b.A&&(a[4]=b.A),b.o&&(a[12]=b.o))};
uj=function(a){var b=[];g.Hb(a,function(a,d){var c=(0,window.encodeURIComponent)(d),f=a;g.w(f)&&(f=(0,window.encodeURIComponent)(f));b.push(c+"="+f)});
b.push("24="+(0,g.H)());return b.join("\n")};
vj=function(){return{visible:1,hidden:2,prerender:3,preview:4,unloaded:5}[ti.visibilityState||ti.webkitVisibilityState||ti.mozVisibilityState||""]||0};
wj=function(a){var b;a.visibilityState?b="visibilitychange":a.mozVisibilityState?b="mozvisibilitychange":a.webkitVisibilityState&&(b="webkitvisibilitychange");return b};
xj=function(a,b,c,d){if(!a)return{value:d,done:!1};d=b(d,a);var e=c(d,a);return!e&&nc(a,"parentElement")?xj(g.Zd(a),b,c,d):{done:e,value:d}};
yj=function(a,b,c,d){if(!a)return d;d=xj(a,b,c,d);if(!d.done)try{var e=g.vd(a),f=e&&Kd(e);return yj(f&&f.frameElement,b,c,d.value)}catch(k){}return d.value};
Vba=function(a){var b=!g.Hd||g.qc(8);return yj(a,function(a,d){var c=nc(d,"style")&&d.style&&Ah(d,"visibility");return{hidden:"hidden"===c,visible:b&&"visible"===c}},function(a){return a.hidden||a.visible},{hidden:!1,
visible:!1}).hidden};
Wba=function(a){return yj(a,function(a,c){return!(!nc(c,"style")||!c.style||"none"!==Ah(c,"display"))},function(a){return a},!1)?!0:Vba(a)};
zj=function(a){return new g.gh(a.top,a.right,a.bottom,a.left)};
Aj=function(a){return null!=a&&0<=a&&1>=a};
Bj=function(a){if(!a)return null;a=a.split("-");return 4==a.length?new g.gh(g.Bb(a[0]),g.Bb(a[3]),g.Bb(a[2]),g.Bb(a[1])):null};
Cj=function(a,b,c){this.time=a;this.volume=null;this.A=b;this.o=null;this.B=c};
Dj=function(a,b,c,d,e,f,k,l,m){this.F=a;this.H=b;this.o=c;this.C=d;this.D=e;this.A=f;this.G=k;this.J=l;this.B=m};
Ej=function(){this.J=!1;this.A=!hi(pi.top);this.K=fi()||gi();var a=Pi();this.domain=0<a.length&&null!=a[a.length-1]&&null!=a[a.length-1].url?g.Pg(a[a.length-1].url)||"":"";this.C=this.H=this.o=null;this.D=new g.gh(0,0,0,0);this.B=!1;this.G=this.F=null};
Fj=function(a,b){a.H=b.screen?new g.sd(b.screen.width,b.screen.height):null};
Gj=function(a,b){a.o=a.B?a.F?a.F:new g.gh(0,0,0,0):xi(!0,b,a.K)};
Hj=function(a,b){var c=a.o?new g.sd(a.o.ub(),a.o.getHeight()):new g.sd(0,0);var d=b;d=void 0===d?pi:d;null!==d&&d!=d.top&&(d=d.top);var e=0,f=0;try{var k=d.document,l=k.body,m=k.documentElement;if("CSS1Compat"==k.compatMode&&m.scrollHeight)e=m.scrollHeight!=c.height?m.scrollHeight:m.offsetHeight,f=m.scrollWidth!=c.width?m.scrollWidth:m.offsetWidth;else{var n=m.scrollHeight,p=m.scrollWidth,r=m.offsetHeight,v=m.offsetWidth;m.clientHeight!=r&&(n=l.scrollHeight,p=l.scrollWidth,r=l.offsetHeight,v=l.offsetWidth);
n>c.height?n>r?(e=n,f=p):(e=r,f=v):n<r?(e=n,f=p):(e=r,f=v)}var z=new g.sd(f,e)}catch(E){z=new g.sd(-12245933,-12245933)}a.C=z};
sj=function(){this.B=void 0;this.D=0;this.A=new Ni(0,"");this.o=0;this.Ab="ns";this.C=-1;this.ob=new Ci;Bi(Ai(Di(this.ob,"nio_mode",Xba)),Yba);Bi(Ai(Di(this.ob,"mv",Zba)),$ba);Di(this.ob,"omid",Ij);Ai(Di(this.ob,"osd",Ij));Ai(Di(this.ob,"epoh",Ij));Ai(Di(this.ob,"epph",Ij));Ai(Di(this.ob,"me",Ij));Bi(Ai(Di(this.ob,"umt",Ij)),aca);Bi(Ai(Di(this.ob,"gmpd",Ij)),bca);Bi(Ai(Di(this.ob,"sel",Ij)),cca);Bi(Ai(Di(this.ob,"cll",dca)),eca);Bi(Ai(Di(this.ob,"mce",Ij)),fca);Bi(Ai(Di(this.ob,"oflw",Ij)),gca);Ai(Di(this.ob,
"inapp",hca));Ai(Di(this.ob,"phel",Ij))};
Jj=function(a){this.B=a;this.A=0;this.o=null};
Kj=function(a,b,c){this.Ic=a;this.aa=void 0===c?"na":c;this.B=[];this.K=!1;this.o=new Cj(-1,!0,this);this.A=this;this.G=this.C=b;this.L=this.N=this.F=!1;this.O="uk";this.W=!1};
Mj=function(a,b){a.L||(a.L=!0,a.O=b,a.G=0,a.zr(),a.A==a&&(a.C=0,Lj(a)))};
Nj=function(a,b){g.Ma(a.B,b)||(a.B.push(b),b.fj(a.A),b.Rh(a.o),b.qh()&&(a.F=!0))};
Oj=function(a,b){g.Sa(a.B,b);a.F&&b.qh()&&ica(a)};
ica=function(a){a.F=a.B.length?(0,g.Pj)(a.B,function(a){return a.qh()}):!1};
Qj=function(a){var b=g.Va(a.B);(0,g.D)(b,function(b){b.Rh(a.o)})};
Lj=function(a){var b=g.Va(a.B);(0,g.D)(b,function(b){b.fj(a.A)});
a.A!=a||Qj(a)};
Rj=function(a,b){var c;if(!(c=a.N)){c=a.o;var d=a.F;c=!(b&&(void 0===d||!d||c.volume==b.volume)&&c.A==b.A&&hh(c.o,b.o))}a.o=b;c&&Qj(a)};
Sj=function(a,b,c,d){this.element=a;this.C=this.o=b;this.ob=c;this.H=d;this.G=!1;this.A=new Dj(b.o,this.element,new g.gh(0,0,0,0),null,this.Fm(),0,0,Hi(),0)};
Tj=function(a){this.D=!1;this.o=a};
Uj=function(a,b,c){this.A=void 0===c?0:c;this.Ec=a;this.o=null==b?"":b};
jca=function(a,b){return new Uj(a.Ec,a.o,a.A+b)};
Vj=function(a,b){return a.A<b.A?!0:a.A>b.A?!1:a.Ec<b.Ec?!0:a.Ec>b.Ec?!1:typeof a.o<typeof b.o?!0:typeof a.o>typeof b.o?!1:a.o<b.o};
Wj=function(){this.B=0;this.o=[];this.A=!1};
Xj=function(a){var b=new Wj;var c=void 0===c?0:c;var d=void 0===d?!0:d;ii(a,function(a,f){d&&void 0===a||b.add(f,a,c)});
return b};
Zj=function(a){var b=kca;a.A&&(g.db(a.o,function(a,b){return Vj(b,a)?1:Vj(a,b)?-1:0}),a.A=!1);
return(0,g.Yj)(a.o,function(a,d){var c=b(d);return""+a+(""!=a&&""!=c?"&":"")+c},"")};
kca=function(a){var b=a.Ec;a=a.o;return""===a?b:g.sa(a)?a?b:"":g.xa(a)?0===a.length?b:b+"="+a.join():b+"="+(g.Ma(["mtos","tos","p"],b)?a:(0,window.encodeURIComponent)(a))};
lca=function(a){var b=[],c=[];g.Hb(a,function(a,e){if(!(e in Object.prototype)&&"undefined"!=typeof a){g.xa(a)&&(a=a.join(","));var d=[e,"=",a].join("");switch(e){case "adk":case "r":case "tt":case "error":case "mtos":case "tos":case "p":case "bs":case "aio":case "nio":case "iem":b.unshift(d);break;case "req":case "url":case "referrer":case "iframe_loc":c.push(d);break;default:b.push(d)}}});
return b.concat(c)};
bk=function(){if(ak&&"unreleased"!==ak)return ak};
mca=function(a){var b=void 0===b?4E3:b;a=a.toString();if(!/&v=[^&]+/.test(a)){var c=bk();a=c?a+"&v="+(0,window.encodeURIComponent)(c):a}a=a.substring(0,b);b=ui()||pi;ni(b,a)};
ck=function(a){for(var b=0,c=a,d=0;a&&a!=a.parent;)a=a.parent,d++,hi(a)&&(c=a,b=d);return{Ic:c,level:b}};
dk=function(a){var b=a!==a.top,c=a.top===ck(a).Ic,d=a.mraid;return null!=d?b?c?{ww:d,qx:2}:{ww:d,qx:1}:{ww:d,qx:0}:b&&c&&(d=a.top.mraid,null!=d)?{ww:d,qx:3}:null};
gk=function(a){ek.e=-1;ek.i=6;ek.n=7;ek.t=8;if(!fk){var b=[];ii(ek,function(a,c){b[a+1]=c});
var c=b.join(""),d=a&&a[c];fk=d&&function(b,c){return d.call(a,b,c)}}return fk};
hk=function(){this.A=this.B=this.C=this.o=0};
ik=function(a){this.A=a=void 0===a?nca:a;this.o=(0,g.I)(this.A,function(){return new hk})};
kk=function(a,b){return jk(a,function(a){return a.o},void 0===b?!0:b)};
mk=function(a,b){return lk(a,b,function(a){return a.o})};
nk=function(a){return jk(a,function(a){return a.B},!0)};
ok=function(a,b){return lk(a,b,function(a){return a.B})};
pk=function(a,b){return lk(a,b,function(a){return a.A})};
qk=function(a){(0,g.D)(a.o,function(a){a.A=0})};
jk=function(a,b,c){a=(0,g.I)(a.o,function(a){return b(a)});
return c?a:oca(a)};
lk=function(a,b,c){var d=g.Ja(a.A,function(a){return b<=a});
return-1==d?0:c(a.o[d])};
oca=function(a){return(0,g.I)(a,function(a,c,d){return 0<c?d[c]-d[c-1]:d[c]})};
rk=function(){this.o=new ik;this.aa=new hk;this.N=this.G=-1;this.ga=1E3;this.ha=new ik([1,.9,.8,.7,.6,.5,.4,.3,.2,.1,0])};
sk=function(a){try{var b=g.Zd(a);if(b)return b}catch(e){}try{var c=g.vd(a),d=c&&Kd(c);return d&&d.frameElement}catch(e){return null}};
pca=function(a){var b=[];for(a=sk(a);a;)b.push(a),a=sk(a);return b};
qca=function(a,b){var c=Math.max(a.top,b.top),d=Math.max(a.left,b.left);return new g.gh(c,Math.max(d,Math.min(a.right,b.right)),Math.max(c,Math.min(a.bottom,b.bottom)),d)};
tk=function(a){try{return zj(a.getBoundingClientRect())}catch(b){return new g.gh(0,0,0,0)}};
uk=function(){return 1==Fi(sj.getInstance().ob,"oflw")};
vk=function(a){if(!uk())return tk(a);var b=pca(a);b=(0,g.Vd)(b,function(a){var b=Bh(a,"overflowX").toLowerCase();a=Bh(a,"overflowY").toLowerCase();return!("visible"===b&&"visible"===a)});
b=(0,g.I)(b,function(a){return tk(a)});
a=tk(a);return(0,g.Yj)(b,qca,a)};
wk=function(a,b,c,d){Sj.call(this,a,b,c,d);this.B=new g.gh(0,0,0,0)};
xk=function(a,b,c,d){return 4==sj.getInstance().o?!1:0>=a.ub()||0>=a.getHeight()?!0:c&&d?oj(208,function(){return rca(a,b,c)}):!1};
yk=function(a,b){return a.left<=b.right&&b.left<=a.right&&a.top<=b.bottom&&b.top<=a.bottom?new g.gh(Math.max(a.top,b.top),Math.min(a.right,b.right),Math.min(a.bottom,b.bottom),Math.max(a.left,b.left)):new g.gh(0,0,0,0)};
Ak=function(a,b){var c=zk(a),d=zk(b);return 0===d?0:c/d};
zk=function(a){return Math.max(a.getHeight()*a.ub(),0)};
rca=function(a,b,c){if(!a||!b)return!1;b=ih(a.clone(),-b.left,-b.top);a=(b.left+b.right)/2;b=(b.top+b.bottom)/2;var d=ui();hi(d.top)&&d.top&&d.top.document&&(d=d.top);d=gk(d&&d.document);if(!d)return!1;a=d(a,b);if(!a)return!1;b=(b=(b=g.vd(c))&&b.defaultView&&b.defaultView.frameElement)&&sca(b,a);d=a===c;a=!d&&a&&g.he(a,function(a){return a===c});
return!(b||d||a)};
sca=function(a,b){if(!a||!b)return!1;for(var c=0;null!==a&&100>c++;){if(a===b)return!0;try{if(a=g.Zd(a)||a){var d=g.vd(a),e=d&&Kd(d),f=e&&e.frameElement;f&&(a=f)}}catch(k){break}}return!1};
Dk=function(a,b,c){g.L.call(this);this.position=Bk.clone();this.tf=0;this.jv=this.Gp();this.fv=-2;this.EX=(0,g.H)();this.KG=-1;this.Ok=b;this.hk=-1!=b;this.XD=null;this.opacity=-1;this.GF=c;this.WG=this.kv=g.A;this.Ih=this.element=a;this.dH=this.Yh=!1;this.Lt=1;this.ek={uw:null,tw:null};this.rG=!0;this.bh=!1;sj.getInstance().D++;this.aC=0;this.Nc=this.Xt();this.GG=-1;this.uu=0;this.Zr=new g.gh(0,0,0,0);a=this.ob=new Ci;Di(a,"od",tca);Ai(Di(a,"opac",Ij));Di(a,"ud",Ij);Ai(Di(a,"mkm",Ij));Ai(Di(a,"cm",
Ij));Ai(Di(a,"sela",Ij));Ai(Di(a,"sbeos",Ij));Di(a,"neh",Ij);Ai(Di(a,"mwt",Ij));a=null!=dk(ui());if(b=this.element&&this.element.getAttribute)b=this.element,b=/-[a-z]/.test("googleAvInapp")?!1:g.Ck&&b.dataset?"googleAvInapp"in b.dataset:b.hasAttribute?b.hasAttribute("data-"+g.Db("googleAvInapp")):!!b.getAttribute("data-"+g.Db("googleAvInapp"));(b||a)&&Ei(sj.getInstance().ob,"inapp",1);1==this.GF?Ei(this.ob,"od",1):Ei(this.ob,"od",0)};
vca=function(a,b,c){if(a.hk){var d=gk(pi&&pi.document);d&&(c||Ek(a,pi,!0),d=uca(a,d),a.Oj(a.position,d,b,c,!0,!0))}};
Fk=function(a,b,c){a.Nc.o=g.ld(b,0,1);a.aC=a.Nc.o;a.Nc.A=g.ld(c,0,1)};
Gk=function(a,b,c){if(c(b))return b;for(;;){var d=Math.floor((a+b)/2);if(d==a||d==b)return a;c(d)?a=d:b=d}};
uca=function(a,b){var c=g.Id(window.document),d=a.Lt,e=Math.floor(a.position.left-c.x)+1,f=Math.floor(a.position.top-c.y)+1,k=Math.floor(a.position.right-c.x)-d,l=Math.floor(a.position.bottom-c.y)-d;c=(l-f)*(k-e);if(f>l||e>k)return 0;d=!!b(e,f);var m=!!b(k,l);if(d&&m)return 1;var n=!!b(k,f),p=!!b(e,l);if(d)l=Gk(f,l,function(a){return!!b(e,a)}),k=Gk(e,k,function(a){return!!b(a,f)});
else if(n)l=Gk(f,l,function(a){return!!b(k,a)}),e=Gk(k,e,function(a){return!!b(a,f)});
else if(p)f=Gk(l,f,function(a){return!!b(e,a)}),k=Gk(e,k,function(a){return!!b(a,l)});
else if(m)f=Gk(l,f,function(a){return!!b(k,a)}),e=Gk(k,e,function(a){return!!b(a,l)});
else{var r=Math.floor((e+k)/2),v=Math.floor((f+l)/2);if(!b(r,v))return 0;f=Gk(v,f,function(a){return!!b(r,a)});
l=Gk(v,l,function(a){return!!b(r,a)});
e=Gk(r,e,function(a){return!!b(a,v)});
k=Gk(r,k,function(a){return!!b(a,v)})}return(l-f)*(k-e)/c};
wca=function(a,b,c,d,e){a.hk&&(d||Ek(a,pi,e),a.Oj(a.position,c,b,d,!1,!0))};
Hk=function(a,b,c){if(a.hk){var d=a.Nc.A,e=c?a.Nc.o:a.aC;a.Zr&&!hh(a.Zr,new g.gh(0,0,0,0))&&(e=ih(a.Zr.clone(),a.position.left,a.position.top));a.Oj(a.position,e,b,c,!0,!0,{},void 0,d)}};
xca=function(a,b){var c=b.create(a.Ih,a.ob,a);null!=c&&c.vC();c&&(a.Ab=c)};
yca=function(a,b,c){if(a.hk&&a.Ab){var d=ui(),e=Ej.getInstance();Ek(a,d,e.A);a.Ab.Yl();d=a.Ab.A;e=d.F.o;var f=!(!d.D&&!e);if(null!=d.C&&e){var k=d.o;a.XD=new g.pd(k.left-e.left,k.top-e.top)}a.Oj(a.position,d.A,b,c,!0,f,void 0,void 0,d.B)}};
Ek=function(a,b,c,d){if(d)a.position=d;else{b=c?b:b.top;try{var e=new g.gh(0,0,0,0),f=new g.pd(0,0);if(a.Ih){var k=1==a.GF;!c&&k&&Wba(a.Ih)||(e=vk(a.Ih));f=g.Lh(a.Ih,b)}if(uk())a.position=e;else{var l=e.ub(),m=e.getHeight();c=f;var n=c.x,p=c.y;a.position=new g.gh(Math.round(p),Math.round(n+l),Math.round(p+m),Math.round(n))}}catch(r){a.position=Bk.clone()}}uk()?(l=a.Ih.getBoundingClientRect(),a.tf=(l.right-l.left)*(l.bottom-l.top)):a.tf=(a.position.bottom-a.position.top)*(a.position.right-a.position.left)};
Ik=function(a,b){var c=Math.pow(10,b);return Math.floor(a*c)/c};
zca=function(a){a.Ab&&a.Ab.qv()};
Bca=function(a,b){var c=!1,d=a.Ih;if(null===d)return!1;oj(152,function(){var e=new b.IntersectionObserver(function(c){try{Jk(b,c,a)}catch(k){try{e.unobserve(d),qj("osd_adblock::nioc",k)}catch(l){}}},Aca);
e.observe(d);c=!0});
return c};
Cca=function(a,b){var c=!1;oj(151,function(){var d=oi(b).observeIntersection(function(c){try{Jk(b,c,a)}catch(f){try{d(),qj("osd_adblock::aioc",f)}catch(k){}}});
c=!0});
return c};
Jk=function(a,b,c){if(!b||!b.length||0>=b.length)b=null;else{for(var d=b[0],e=1;e<b.length;e++)b[e].time>d.time&&(d=b[e]);b=d}if(e=b){d=e.intersectionRect.width*e.intersectionRect.height/(e.boundingClientRect.width*e.boundingClientRect.height);b=zj(e.boundingClientRect);e=zj(e.intersectionRect);var f=d*zk(b)/(a.screen.height*a.screen.width);Fk(c,d,f);Ek(c,a,!0,b);a=yk(b,e);c.Zr=0>=c.tf||a.top>=a.bottom||a.left>=a.right?new g.gh(0,0,0,0):ih(a,-b.left,-b.top)}};
Kk=function(a,b,c,d){if(d=void 0===d?g.A:d)a.WG=d;switch(c){case "nio":return Bca(a,b);case "aio":return Cca(a,b);case "geo":case "iem":return!0}return!1};
Lk=function(){};
Nk=function(a){if(a instanceof Lk)return a;if("function"==typeof a.ge)return a.ge(!1);if(g.ya(a)){var b=0,c=new Lk;c.next=function(){for(;;){if(b>=a.length)throw Mk;if(b in a)return a[b++];b++}};
return c}throw Error("Not implemented");};
g.Ok=function(a,b,c){if(g.ya(a))try{(0,g.D)(a,b,c)}catch(d){if(d!==Mk)throw d;}else{a=Nk(a);try{for(;;)b.call(c,a.next(),void 0,a)}catch(d){if(d!==Mk)throw d;}}};
Dca=function(a){if(g.ya(a))return g.Va(a);a=Nk(a);var b=[];g.Ok(a,function(a){b.push(a)});
return b};
Eca=function(){this.S={}};
Pk=function(){this.C=this.o=this.B=this.A=this.D=0};
Fca=function(a){var b={};var c=(0,g.H)()-a.D;b=(b.ptlt=c,b);(c=a.A)&&(b.pnk=c);(c=a.B)&&(b.pnc=c);(c=a.C)&&(b.pnmm=c);(a=a.o)&&(b.pns=a);return b};
Qk=function(){yi.call(this);this.fullscreen=!1;this.volume=void 0;this.paused=!1;this.D=-1};
Rk=function(a){return Aj(a.volume)&&.1<=a.volume};
Sk=function(){var a={};this.A=(a.vs=[1,0],a.vw=[0,1],a.am=[2,2],a.a=[4,4],a.f=[8,8],a.bm=[16,16],a.b=[32,32],a.avw=[0,64],a.cm=[128,128],a.pv=[256,256],a.gdr=[0,512],a.p=[0,1024],a.r=[0,2048],a.m=[0,4096],a.um=[0,8192],a.ef=[0,16384],a.s=[0,32768],a.pmx=[0,16777216],a);this.o={};for(var b in this.A)0<this.A[b][1]&&(this.o[b]=0);this.B=0};
Gca=function(a){return Tk(a,g.Qb(a.A))};
Tk=function(a,b){var c=0,d;for(d in a.o)g.Ma(b,d)&&1==a.o[d]&&(c+=a.A[d][1],a.o[d]=2);return c};
Hca=function(a){var b=0,c;for(c in a.o){var d=a.o[c];if(1==d||2==d)b+=a.A[c][1]}return b};
Uk=function(){this.o=this.A=0};
Vk=function(){rk.call(this);this.A=new hk;this.W=this.J=this.L=0;this.H=-1;this.ia=new hk;this.D=new hk;this.B=new ik;this.F=this.C=-1;this.K=new hk;this.ga=2E3;this.O=new Uk;this.ba=new Uk;this.ca=new Uk};
Wk=function(a,b,c){var d=a.W;Ji||c||-1==a.H||(d+=b-a.H);return d};
Ica=function(){this.o=!1};
Xk=function(a,b){this.o=!1;this.C=a;this.G=b;this.A=0};
Yk=function(a,b){if(a.B(b)){var c=a.G.report(a.C,b);a.A|=c;return 0==c}return!1};
Zk=function(a,b,c,d,e,f){e=void 0===e?null:e;f=void 0===f?[]:f;Dk.call(this,b,c,d);this.ba=0;this.C={};this.Qc=new Sk;this.sC={};this.dd="";this.pi=null;this.Kb=!1;this.B=[];this.hn=e;this.G=f;this.D=void 0;this.F=-1;this.sa=this.K=void 0;this.ga=!1;this.L=this.N=0;this.aa=-1;this.oa=this.La=!1;this.Ll=this.Hb=0;this.wa=!1;this.Va=this.fb=-1;this.W=this.H=this.o=0;this.Sb=this.ia=-1;this.zb=0;this.Qa=new ik;this.ca=this.xa=this.ha=0;this.Da=-1;this.Ba=0;this.J=!1;this.ka=null;this.Oc=0;this.Ha=!1;
this.pa=g.A;this.O=[this.Gp()];this.dH=!0;this.Lt=2;b=Ej.getInstance();Ek(this,a,b.A);this.Pj={};this.Pj.pause="p";this.Pj.resume="r";this.Pj.skip="s";this.Pj.mute="m";this.Pj.unmute="um";this.Pj.exitfullscreen="ef";this.A=null};
Jca=function(a,b,c){a.Oc=1;a.C={};a.C.firstquartile=!1;a.C.midpoint=!1;a.C.thirdquartile=!1;a.C.complete=!1;a.C.pause=!1;a.C.skip=!1;a.C.viewable_impression=!1;a.ba=0;c||(a.Ud().H=b)};
$k=function(a){return g.u(a)?Number(a)?Ik(a,3):0:a};
al=function(a,b){var c;null!=b&&b<a.O.length?c=b:c=a.O.length-1;return a.O[c]};
bl=function(a){var b=!!Fi(sj.getInstance().ob,"umt");return a.K||!b&&!a.sa?0:1};
Kca=function(a,b){(0,g.Pj)(a.G,function(a){return a.C==b.C})||a.G.push(b)};
dl=function(a,b,c){return 15E3<=b?!0:a.La?(void 0===c?0:c)?!0:cl(a.F)?b>=a.F/2:cl(a.aa)?b>=a.aa:!1:!1};
cl=function(a){return 1==Fi(sj.getInstance().ob,"gmpd")?0<a:-1!=a};
Lca=function(a){var b={},c=Ej.getInstance();b.insideIframe=c.A;b.unmeasurable=a.Yh;b.position=a.position;b.exposure=a.Nc.o;b.documentSize=c.C;b.viewportSize=new g.sd(c.o.ub(),c.o.getHeight());null!=a.A&&(b.presenceData=a.A);b.screenShare=a.Nc.A;return b};
fl=function(a,b){el(a.B,b,function(){return{aY:0,bq:void 0}});
a.B[b]={viewableArea:Ik(a.Nc.o,2),instantaneousState:a.Qc.B}};
el=function(a,b,c){for(var d=a.length;d<b+1;)a.push(c()),d++};
il=function(a,b,c){var d=a.sC[b];if(null!=d)return d;d=Mca(a,b);var e=Wb(gl,function(a){return a==b});
c=hl(a,d,d,c,Nca[gl[e]]);"fully_viewable_audible_half_duration_impression"==b&&(c.std="csm",c.ic=Tk(a.Qc,["gdr"]));return c};
hl=function(a,b,c,d,e){if(a.Yh)return{"if":0};var f=a.position.clone();f.round();var k=(0,g.I)(a.B,function(a){return 100*a.aY|0}),l=Ej.getInstance(),m=sj.getInstance(),n=a.Ud(),p={};
p["if"]=l.A?1:void 0;p.sdk=a.D?a.D:void 0;p.t=a.EX;p.p=[f.top,f.left,f.bottom,f.right];p.tos=kk(n.o,!1);p.mtos=nk(n.o);p.mcvt=n.aa.B;p.ps=void 0;p.pt=k;f=Wk(n,Hi(),2==a.Oc);p.vht=f;p.mut=n.ia.B;p.a=$k(a.Nc.volume);p.mv=$k(n.F);p.fs=a.bh?1:0;p.ft=n.K.o;p.at=n.D.o;p.as=.1<=n.C?1:0;p.atos=kk(n.B);p.ssb=kk(n.ha,!1);p.amtos=nk(n.B);p.uac=a.Hb;p.vpt=n.A.o;"nio"==m.Ab&&(p.nio=1,p.avms="nio");p.gmm="4";p.gdr=dl(a,n.A.o,!0)?1:0;a.dH&&(p.efpf=a.Lt);0<a.Ba&&(p.nnut=a.Ba);p.tcm=bl(a);p.nmt=a.xa;p.bt=a.ca;p.pst=
a.Da;p.vpaid=a.K;p.dur=a.F;p.vmtime=a.N;p.is=a.Qc.B;1<=a.B.length&&(p.i0=a.B[0].bq);2<=a.B.length&&(p.i1=a.B[1].bq);3<=a.B.length&&(p.i2=a.B[2].bq);4<=a.B.length&&(p.i3=a.B[3].bq);p.cs=Hca(a.Qc);b&&(p.ic=Gca(a.Qc),p.dvpt=n.A.A,p.dvs=pk(n.o,.5),p.dfvs=pk(n.o,1),p.davs=pk(n.B,.5),p.dafvs=pk(n.B,1),c&&(n.A.A=0,qk(n.o),qk(n.B)),a.mj()&&(p.dtos=n.L,p.dav=n.J,p.dtoss=a.ba+1,c&&(n.L=0,n.J=0,a.ba++)),p.dat=n.D.A,p.dft=n.K.A,c&&(n.D.A=0,n.K.A=0));l.C&&(p.ps=[l.C.width,l.C.height]);l.o&&(p.bs=[l.o.ub(),l.o.getHeight()]);
l.H&&(p.scs=[l.H.width,l.H.height]);p.dom=l.domain;a.Ll&&(p.vds=a.Ll);if(0<a.G.length||a.hn)b=g.Va(a.G),a.hn&&b.push(a.hn),p.pings=(0,g.I)(b,function(a){return a.toString()});
b=(0,g.I)((0,g.Vd)(a.G,function(a){return a.D()}),function(a){return a.getId()});
Za(b);p.ces=b;a.o&&(p.vmer=a.o);a.H&&(p.vmmk=a.H);a.W&&(p.vmiec=a.W);p.avms=a.Ab?a.Ab.ii():sj.getInstance().Ab;a.Ab&&g.fc(p,a.Ab.Ug());"exc"==m.Ab&&(p.femt=a.ia,p.femvt=a.Sb,p.emc=a.zb,p.emb=kk(a.Qa,!1),p.emuc=a.ha,p.avms="exc");d?(p.c=Ik(a.Nc.o,2),p.ss=Ik(a.Nc.A,2)):p.tth=Hi()-jl;p.mc=Ik(n.N,2);p.nc=Ik(n.G,2);p.mv=$k(n.F);p.nv=$k(n.C);p.lte=Ik(a.fv,2);d=al(a,e);nk(n.o);p.qmtos=nk(d.o);p.qnc=Ik(d.G,2);p.qmv=$k(d.F);p.qnv=$k(d.C);p.qas=.1<=d.C?1:0;p.qi=a.dd;null!==a.ka&&(p.nvat=a.ka?1:0);p.avms||(p.avms=
"geo");p.psm=n.O.o;p.psv=n.O.getValue();p.psfv=n.ba.getValue();p.psa=n.ca.getValue();m=Nba(m.ob);m.length&&(p.veid=m);a.A&&g.fc(p,Fca(a.A));return p};
Mca=function(a,b){if(g.Ma(Oca,b))return!0;var c=a.C[b];return g.u(c)?(a.C[b]=!0,!c):!1};
Qca=function(){this.o={};var a=Kd();kl(this,a,window.document);var b=Pca();try{if("1"==b){for(var c=a.parent;c!=a.top;c=c.parent)kl(this,c,c.document);kl(this,a.top,a.top.document)}}catch(d){}};
Pca=function(){var a=window.document.documentElement;try{if(!hi(Kd().top))return"2";var b=[],c=Kd(a.ownerDocument);for(a=c;a!=c.top;a=a.parent)if(a.frameElement)b.push(a.frameElement);else break;return b&&0!=b.length?"1":"0"}catch(d){return"2"}};
kl=function(a,b,c){rj(c,"mousedown",function(){return Rca(a)},301);
rj(b,"scroll",function(){return Sca(a)},302);
rj(c,"touchmove",function(){return Tca(a)},303);
rj(c,"mousemove",function(){return Uca(a)},304);
rj(c,"keydown",function(){return Vca(a)},305)};
Rca=function(a){g.Hb(a.o,function(a){1E5<a.B||++a.B})};
Sca=function(a){g.Hb(a.o,function(a){1E5<a.o||++a.o})};
Tca=function(a){g.Hb(a.o,function(a){1E5<a.o||++a.o})};
Vca=function(a){g.Hb(a.o,function(a){1E5<a.A||++a.A})};
Uca=function(a){g.Hb(a.o,function(a){1E5<a.C||++a.C})};
ll=function(){this.o=[];this.A=[]};
Wca=function(a,b){return null!=b&&(0,g.Pj)(a.o,function(a){return a.element===b})};
nl=function(a){return g.Ia(ml.o,function(b){return b.dd==a})};
ol=function(){var a=ml;return 0==a.o.length?a.A:0==a.A.length?a.o:g.Ua(a.A,a.o)};
Xca=function(a){var b=ml;a=a.filter(function(a){return!Wca(b,a.element)});
b.o.push.apply(b.o,g.fa(a))};
Yca=function(a){var b=ml,c=[];(0,g.D)(a,function(a){(0,g.Pj)(b.o,function(b){return b.element===a.element&&b.dd===a.dd})||(b.o.push(a),c.push(a))})};
Zca=function(){return(0,g.Pj)(ol(),function(a){return a.bh})};
pl=function(){this.o=this.A=null};
$ca=function(a,b){function c(c,e){a.o=null;b(c,e)}
if(null==a.A)return!1;a.o=g.Ia(a.A,function(a){return null!=a&&a.Ij()&&a.init(c)});
return null!=a.o};
ql=function(a,b,c,d){Sj.call(this,a,b,c,d);this.F=this.D=this.B=null};
bda=function(a){if(!a.element)return!1;var b=a.element;a.B=new a.o.Ic.IntersectionObserver(function(b){return rl(a,b)},ada);
a.B.observe(b);2===Fi(sj.getInstance().ob,"nio_mode")&&rl(a,a.B&&a.B.takeRecords?a.B.takeRecords():[]);return!0};
rl=function(a,b){try{if(b.length){a.D||(a.D=Hi());var c=cda(b),d=zj(c.boundingClientRect),e=ih(zj(c.intersectionRect),-d.left,-d.top),f=Hi(),k=c.boundingClientRect.width*c.boundingClientRect.height,l=c.intersectionRect.width*c.intersectionRect.height;var m=k?l/k:0;k=0;var n=c.intersectionRect.width*c.intersectionRect.height,p=a.o.o.o;p&&(k=(p.bottom-p.top)*(p.right-p.left));var r=c.intersectionRect.width*c.intersectionRect.height,v=window.screen.height*window.screen.width;a.A=new Dj(a.o.o,a.element,
d,e,a.Fm(),m,k?n/k:0,f,r&&v?r/v:0)}}catch(z){a.qv(),qj(299,z)}};
cda=function(a){return(0,g.Yj)(a,function(a,c){return a.time>c.time?a:c},a[0])};
sl=function(a){a=void 0===a?pi:a;Tj.call(this,new Kj(a,2))};
g.tl=function(a,b,c){g.L.call(this);this.B=null!=c?(0,g.B)(a,c):a;this.Fd=b;this.A=(0,g.B)(this.xL,this);this.o=[]};
ul=function(a){a.Fa=g.Cg(a.A,a.Fd);a.B.apply(null,a.o)};
vl=function(){this.done=!1;this.o={iK:0,kz:0,bx:0,qA:0,Ou:-1};this.H=this.C=this.F=this.D=this.G=null;this.J=!1;this.B=null;this.K=0;this.A=new Jj(this)};
wl=function(){var a=sj.getInstance().Ab;return"nio"==a||"aio"==a};
yl=function(){var a=xl;if(!a.J){a.J=!0;if(!a.G&&!wl()){var b=pj(137,function(b){for(var c=[],e=0;e<arguments.length;++e)c[e-0]=arguments[e];return a.jB.apply(a,g.fa(c))});
a.D=new g.tl(b,100);a.G=rj(pi,"scroll",function(b){for(var c=[],e=0;e<arguments.length;++e)c[e-0]=arguments[e];null!==a.D&&a.D.Mm.apply(a.D,g.fa(c))},138)}a.F||wl()||(b=pj(140,function(b){for(var c=[],e=0;e<arguments.length;++e)c[e-0]=arguments[e];
return a.jB.apply(a,g.fa(c))}),a.C=new g.tl(b,100),a.F=rj(pi,"resize",function(b){for(var c=[],e=0;e<arguments.length;++e)c[e-0]=arguments[e];
null!==a.C&&a.C.Mm.apply(a.C,g.fa(c))},141));
dda(a,function(b){for(var c=[],e=0;e<arguments.length;++e)c[e-0]=arguments[e];return a.pB.apply(a,g.fa(c))});
a.pB()}};
eda=function(){var a=pl.getInstance();null!=a.o&&a.o.o||Ej.getInstance().update(pi)};
zl=function(a,b,c,d){if(!a.done&&(a.A.cancel(),0!=b.length)){a.B=null;var e=Ej.getInstance();eda();try{var f=Hi(),k=sj.getInstance();k.C=f;if(null!=pl.getInstance().o)for(d=0;d<b.length;d++)yca(b[d],f,c);else switch(k.Ab){case "exc":for(d=0;d<b.length;d++)Hk(b[d],f,c);break;case "nis":for(e=0;e<b.length;e++)g.u(d)?b[e].Rr(d):b[e].lC(f);break;case "gsv":for(e=0;e<b.length;e++)g.u(d)?b[e].iB(d):b[e].kC(f);break;case "aio":case "nio":for(d=0;d<b.length;d++)Hk(b[d],f,c);break;case "iem":for(d=0;d<b.length;d++)vca(b[d],
f,c);break;case "geo":if(e.G)for(d=0;d<b.length;d++)wca(b[d],f,e.G,c,e.A)}for(d=0;d<b.length;d++);a.o.bx+=Hi()-f;++a.o.qA}finally{c?(0,g.D)(b,function(a){a.Nc.o=0}):a.A.schedule()}}};
dda=function(a,b){var c=wj(ti);c&&(a.H=a.H||rj(ti,c,b,142))};
Al=function(){if(Zca())return!0;var a=vj(),b=1===a;a=0===a;return sj.getInstance(),b||a};
fda=function(a){var b=ol();var c=void 0===c?g.A:c;var d=!1;(0,g.D)(b,function(b){Kk(b,a,"nio",c)&&(d=!0)});
return d};
Bl=function(a,b){var c=a.K;Ji&&(c+=b-Ki);return c};
gda=function(a){var b=xl;a=void 0===a?function(){return{}}:a;
nj.fG("av-js");hj.o=.01;Tba([function(c){var d=sj.getInstance(),e={};e=(e.bin=d.o,e.type="error",e);d=Gi(d.ob);if(!b.B){var f=pi.document,k=0<=Ii?Hi()-Ii:-1,l=Hi();-1==b.o.Ou&&(k=l);var m=Ej.getInstance(),n=Gi(sj.getInstance().ob),p=ol();try{if(0<p.length){var r=m.o;r&&(n.bs=[r.ub(),r.getHeight()]);var v=m.C;v&&(n.ps=[v.width,v.height]);pi.screen&&(n.ss=[pi.screen.width,pi.screen.height])}else n.url=(0,window.encodeURIComponent)(pi.location.href.substring(0,512)),f.referrer&&(n.referrer=(0,window.encodeURIComponent)(f.referrer.substring(0,
512)));n.tt=k;n.pt=Ii;switch(sj.getInstance().Ab){case "iem":n.iem=1;break;case "aio":n.aio=1;break;case "nio":n.nio=1}n.deb=[1,b.o.iK,b.o.kz,b.o.bx,b.o.qA,b.o.Ou,0,b.A.A].join("-");n.tvt=Bl(b,l);if(null!==pi&&pi!=pi.top){0<p.length&&(n.iframe_loc=(0,window.encodeURIComponent)(pi.location.href.substring(0,512)));var z=m.D;n.is=[z.ub(),z.getHeight()]}}catch(E){n.error=1}b.B=n}g.fc(c,e,d,g.cc(b.B),a());if(r=bk())v={},g.fc(c,(v.v=(0,window.encodeURIComponent)(r),v))}])};
hda=function(){var a=g.Fb;return a?(0,g.Pj)("AppleTV;GoogleTV;HbbTV;NetCast.TV;Opera TV;POV_TV;SMART-TV;SmartTV;TV Store;OMI/".split(";"),function(b){return rb(a,b)})?!0:rb(a,"Presto")&&rb(a,"Linux")&&!rb(a,"X11")&&!rb(a,"Android")&&!rb(a,"Mobi"):!1};
Cl=function(){return rb(g.Fb,"CrKey")||rb(g.Fb,"PlayStation")||rb(g.Fb,"Roku")||hda()||rb(g.Fb,"Xbox")};
ida=function(){var a=Dl||pi;if(!a)return"";var b=[];if(!a.location.href)return"";b.push("url="+(0,window.encodeURIComponent)(a.location.href.substring(0,512)));a.document&&a.document.referrer&&b.push("referrer="+(0,window.encodeURIComponent)(a.document.referrer.substring(0,512)));return b.join("&")};
El=function(a){return function(b){return!g.u(b[a])&&g.u(0)?0:b[a]}};
Gl=function(){var a=[0,2,4];return function(b){b=b.tos;if(g.xa(b)){for(var c=Array(b.length),d=0;d<b.length;d++)c[d]=0<d?c[d-1]+b[d]:b[d];return g.u(a)?Fl(c,a):c}}};
Hl=function(a,b){return function(c){c=c[a];if(g.xa(c))return Fl(c,b)}};
Il=function(a){var b=jda;return function(c){return b(c)?c[a]:void 0}};
Fl=function(a,b){return(0,g.Vd)(a,function(a,d){return g.Ma(b,d)})};
Ll=function(a,b){var c={sv:"675",cb:"j"};c.nas=ml.o.length;c.msg=a;if(g.u(b)){var d=Jl(b);d&&(c.e=Kl[d])}return c};
Ml=function(a){return g.jb(a,"custom_metric_viewable")};
Jl=function(a){var b=Ml(a)?"custom_metric_viewable":a.toLowerCase();return Wb(gl,function(a){return a==b})};
Nl=function(a,b){Xk.call(this,a,b)};
Ol=function(){this.A=this.C=this.F=this.D=this.B=this.o=""};
kda=function(){};
Pl=function(a,b,c,d,e){var f={};if(g.u(a))if(null!=b)for(var k in b){var l=b[k];k in Object.prototype||null!=l&&(g.za(l)?f[k]=l(a):f[k]=a[l])}else g.fc(f,a);g.u(c)&&g.fc(f,c);a=Zj(Xj(f));0<a.length&&g.u(d)&&g.u(e)&&(e=e(a),a+="&"+d+"="+e);return a};
Ql=function(){};
Rl=function(a){a=lda(a);Tj.call(this,a.length?a[a.length-1]:new Kj(window,0));this.B=a;this.C=g.A;this.A=null};
lda=function(a){if(!a.length)return[];a=(0,g.Vd)(a,function(a){return null!=a&&a.Ij()});
for(var b=1;b<a.length;b++)Nj(a[b-1],a[b]);return a};
Sl=function(){Kj.call(this,pi,1,"osd");this.ca=[];this.H=this.D=this.J=0;this.N=!0};
Tl=function(a){var b=0;a=a.Ic;try{if(a&&a.Goog_AdSense_getAdAdapterInstance)return a}catch(c){}for(;a&&5>b;){try{if(a.google_osd_static_frame)return a.google_osd_static_frame}catch(c){}try{if(a.aswift_0&&a.aswift_0.google_osd_static_frame)return a.aswift_0.google_osd_static_frame}catch(c){}b++;a=a!=a.parent?a.parent:null}return null};
mda=function(a){var b={};tj(b);b[0]="goog_request_monitoring";b[6]=4;b[16]=!1;try{var c=uj(b);a.postMessage(c,"*")}catch(d){}};
Vl=function(a){++a.H;if(2==a.J)Ul(a);else{if(10<a.H){if(20<a.H){Mj(a,"no");return}11==a.H&&(a.Ic.clearInterval(a.D),a.D=a.Ic.setInterval(pj(197,function(){return Vl(a)}),500))}if(a.Ic.postMessage)if(sj.getInstance().A.Wd()){var b=Tl(a);
b&&mda(b)}else Mj(a,"ib");else Mj(a,"c")}};
Ul=function(a){a.Ic.clearInterval(a.D);a.D=0};
Wl=function(a,b){var c=Tl(a),d=!c;d&&(c=a.Ic.parent);if(c&&c.postMessage)try{c.postMessage(b,"*"),d&&a.Ic.postMessage(b,"*")}catch(e){}};
nda=function(a,b){(0,g.D)(a.ca,function(a){a(b)})};
Xl=function(){this.C=this.K=!1;this.A=null;this.B=new Ql;this.o=null;var a={};this.J=(a.start=this.nM,a.firstquartile=this.iM,a.midpoint=this.kM,a.thirdquartile=this.oM,a.complete=this.gM,a.pause=this.Ow,a.resume=this.KF,a.skip=this.mM,a.viewable_impression=this.Oh,a.mute=this.Hl,a.unmute=this.Hl,a.fullscreen=this.jM,a.exitfullscreen=this.hM,a.fully_viewable_audible_half_duration_impression=this.Oh,a.measurable_impression=this.Oh,a.abandon=this.Ow,a.engagedview=this.Oh,a.impression=this.Oh,a.creativeview=
this.Oh,a.progress=this.Hl,a.custom_metric_viewable=this.Oh,a.bufferstart=this.Ow,a.bufferfinish=this.KF,a);a={};this.L=(a.overlay_resize=this.lM,a.abandon=this.pu,a.close=this.pu,a.collapse=this.pu,a.overlay_unmeasurable_impression=function(a){return il(a,"overlay_unmeasurable_impression",Al())},a.overlay_viewable_immediate_impression=function(a){return il(a,"overlay_viewable_immediate_impression",Al())},a.overlay_unviewable_impression=function(a){return il(a,"overlay_unviewable_impression",Al())},
a.overlay_viewable_end_of_session_impression=function(a){return il(a,"overlay_viewable_end_of_session_impression",Al())},a);
sj.getInstance().o=3;oda(this)};
Zl=function(a,b,c,d){b=a.jr(null,d,!0,b);b.D=c;b.kv=function(b){a.nu(b)};
Xca([b]);return b};
pda=function(){var a=[],b=Ej.getInstance(),c=sj.getInstance();Fi(c.ob,"osd")&&b.A&&b.B&&"exc"!=c.Ab&&(b.B=!1,a.push(Sl.getInstance()));return[new sl(pi),new Rl(a)]};
qda=function(a){if(!a.K){a.K=!0;try{var b=Hi(),c=sj.getInstance(),d=Ej.getInstance();Ii=b;Dl=ck(pi).Ic;d.update(pi);Hj(d,pi);Fj(d,pi);if("nis"!=c.Ab&&"gsv"!=c.Ab)if(pi.document.body&&pi.document.body.getBoundingClientRect){xl.o.kz=0;xl.o.Ou=Hi()-b;"ns"==c.Ab&&(c.Ab="geo");var e=pda(),f=pl.getInstance();f.A=e;if($ca(f,function(){d.B=!1;$l()}))xl.done||(yl(),Nj(f.o.o,a));
else if(d.A&&"exc"!=c.Ab){var k=!!Fi(c.ob,"osd");if(d.B&&!k){var l=Sl.getInstance();l.initialize();Nj(l,a)}else $l()}else yl()}else am=!0}catch(m){throw ml.reset(),m;}}};
bm=function(a){var b=sj.getInstance();if(null==a.A)switch(b.Ab){case "nis":a.A="n";break;case "gsv":a.A="m";break;default:a.A="h"}return a.A};
cm=function(a,b,c){if(null==a.o)return b.Ll|=4,!1;a=a.o.report(c,b);b.Ll|=a;return 0==a};
$l=function(){a:{var a=xl;if(void 0===b){var b=sj.getInstance().ob;var c=[];0===(Fi(b,"nio_mode")||0)&&c.push(a.HX);c.push(a.GX);b=c}b=g.q(b);for(c=b.next();!c.done;c=b.next())if(c.value.call(a,pi)){a=!0;break a}a=!1}a?yl():(xl.A.cancel(),dm="i",xl.done=!0)};
em=function(a,b,c){if(!b.Kb){var d=il(b,"start",Al());a=a.B.o(d).o;var e={};e.r=c;e.v="675v";Rg(a,function(a,b){return e[a]="mtos"==a||"tos"==a?b:(0,window.encodeURIComponent)(b)});
c=ida();Rg(c,function(a,b){return e[a]=(0,window.encodeURIComponent)(b)});
e.id="lidarvf";c="//web.archive.org/web/20181027110332/https://pagead2.googlesyndication.com/pagead/gen_204?"+Zj(Xj(e));mca(c);b.Kb=!0}};
fm=function(a,b,c,d){zl(xl,[a],!Al(),d);fl(a,c);4!=c&&el(a.O,c,a.Gp);return il(a,b,Al())};
rda=function(a,b,c){if(0==b.Oc){"i"!=dm&&(xl.done=!1);var d=pl.getInstance();null!=d.o&&xca(b,d.o);Kk(b,pi,sj.getInstance().Ab,function(b){for(var c=[],d=0;d<arguments.length;++d)c[d-0]=arguments[d];return a.fM.apply(a,g.fa(c))});
d=g.u(c)?c.opt_nativeTime:void 0;Li=d=g.ta(d)?d:Hi();b.hk=!0;var e=Al();Jca(b,d,e);zl(xl,[b],!e,c)}};
oda=function(a){gda(function(){var b=gm();null!=a.A&&(b.sdk=a.A);b.avms=sj.getInstance().Ab;return b})};
sda=function(a,b){if(g.w(b)){if(1==a)var c=ml.o;else if(2==a)c=ml.A;else return;var d=g.Ha(c,function(c){return c.yf()!=a?!1:c.dd==b});
0<=d&&(zca(c[d]),g.Ra(c,d))}};
uda=function(a,b,c,d){var e=g.Ia(ml.o,function(a){return a.element===c});
null!==e&&e.dd!==b&&(a.fp(e),e=null);e||(e=tda(a,c,b),e.D=bm(a),d&&(e.pi=d));return e};
tda=function(a,b,c){b=a.jr(b,Hi(),!1,c);b.kv=(0,g.B)(a.nu,a);0==ml.A.length&&(sj.getInstance().B=79463069);Yca([b]);yl();return b};
vda=function(a,b){b.H=0;for(var c in hm)null==a[c]&&(b.H|=hm[c]);im(a,"currentTime");im(a,"duration")};
im=function(a,b){var c=a[b];g.u(c)&&0<c&&(a[b]=Math.floor(1E3*c))};
gm=function(){var a=Ej.getInstance(),b={};return b.sv="675",b["if"]=a.A?"1":"0",b.nas=String(ml.o.length),b};
wda=function(){this.o=void 0;this.A=!1;this.B=0;this.C=-1;this.D="tos"};
yda=function(a){try{var b=a.split(",");return b.length>g.Qb(xda).length?null:(0,g.Yj)(b,function(a,b){var c=b.toLowerCase().split("=");if(2!=c.length||!g.u(jm[c[0]])||!jm[c[0]](c[1]))throw Error("Entry ("+c[0]+", "+c[1]+") is invalid.");a[c[0]]=c[1];return a},{})}catch(c){return null}};
zda=function(a,b){if(void 0==a.o)return 0;switch(a.D){case "mtos":return a.A?ok(b.B,a.o):ok(b.o,a.o);case "tos":return a.A?mk(b.B,a.o):mk(b.o,a.o)}return 0};
km=function(a,b,c,d){Xk.call(this,b,d);this.Ja=a;this.F=c};
lm=function(a){Xk.call(this,"fully_viewable_audible_half_duration_impression",a)};
mm=function(a){return!a||"function"!==typeof a||0>String(Function.prototype.toString).indexOf("[native code]")?!1:0<=String(a).indexOf("[native code]")&&!0||!1};
om=function(a){return!!(1<<a&nm)};
Eda=function(){try{Ada()}catch(d){}var a="a=1&b="+nm+"&",b=[],c=99;(0,g.D)(Bda,function(a,c){var d=!1;try{d=a(pi)}catch(k){}b[c/32>>>0]|=d<<c%32});
(0,g.D)(b,function(b,e){a+=String.fromCharCode(c+e)+"="+(b>>>0).toString(16)+"&"});
c=105;(0,g.D)(Cda,function(b){var d="false";try{d=b(pi)}catch(f){}a+=String.fromCharCode(c++)+"="+d+"&"});
(0,g.D)(Dda,function(b){var d="";try{var f=b(pi);d=g.se(g.ne(f),!0)}catch(k){}a+=String.fromCharCode(c++)+"="+d+"&"});
return a.slice(0,-1)};
Ada=function(){if(!pm){var a=function(){qm=!0;pi.document.removeEventListener("webdriver-evaluate",a,!0)};
pi.document.addEventListener("webdriver-evaluate",a,!0);var b=function(){rm=!0;pi.document.removeEventListener("webdriver-evaluate-response",b,!0)};
pi.document.addEventListener("webdriver-evaluate-response",b,!0);pm=!0}};
sm=function(){this.A=64;this.o=Array(4);this.D=Array(this.A);this.C=this.B=0;this.reset()};
tm=function(a,b,c){c||(c=0);var d=Array(16);if(g.w(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};
um=function(){this.A=null};
vm=function(a){return function(b){var c=new sm;c.update(b+a);return Waa(c.digest()).slice(-8)}};
wm=function(a,b){this.A=a;this.B=b};
Fda=function(a){var b=Ml(a)?"custom_metric_viewable":a;a=Wb(gl,function(a){return a==b});
return Kl[a]};
xm=function(a,b,c){wm.call(this,a,b);this.C=c};
ym=function(a,b){this.o=a;this.depth=b};
zm=function(a){function b(a,b){return null==a?b:a}
a=a||Pi();var c=Math.max(a.length-1,0),d=Ri(a);a=d.o;var e=d.A,f=d.B,k=[];f&&k.push(new ym([f.url,f.Xu?2:0],b(f.depth,1)));e&&e!=f&&k.push(new ym([e.url,2],0));a.url&&a!=f&&k.push(new ym([a.url,0],b(a.depth,c)));d=(0,g.I)(k,function(a,b){return k.slice(0,k.length-b)});
!a.url||(f||e)&&a!=f||(e=Gba(a.url))&&d.push([new ym([e,1],b(a.depth,c))]);d.push([]);return(0,g.I)(d,function(a){return Gda(c,a)})};
Gda=function(a,b){(0,g.Am)(b,function(a){return 0<=a.depth});
var c=(0,g.Yj)(b,function(a,b){return Math.max(a,b.depth)},-1),d=jaa(c+2);
d[0]=a;(0,g.D)(b,function(a){return d[a.depth+1]=a.o});
return d};
Bm=function(){var a=zm();return(0,g.I)(a,function(a){return Ui(a)})};
Cm=function(){Xl.call(this);this.D=void 0;this.H=null;this.F=!1;this.G={};this.B=new um};
Dm=function(){var a=Cm.getInstance(),b="h"==bm(a)||"b"==bm(a),c="exc"!=sj.getInstance().Ab;b&&c&&(a.F=!0,a.H=new Qca)};
Hda=function(a,b,c){c=c.opt_configurable_tracking_events;if(null!=a.o&&g.xa(c)){var d=a.o;Lba(c);(0,g.D)(c,function(a){var c=(0,g.I)(a.V5,function(a){var b=yda(a);if(null==b)a=null;else if(a=new wda,null!=b.visible&&(a.o=b.visible/100),null!=b.audible&&(a.A=1==b.audible),null!=b.time){var c="mtos"==b.timetype?"mtos":"tos",d=kb(b.time,"%")?"%":"ms";b=(0,window.parseInt)(b.time,10);"%"==d&&(b/=100);"ms"==d?(a.B=b,a.C=-1):(a.B=-1,a.C=b);a.D=void 0===c?"tos":c}return a});
(0,g.Pj)(c,function(a){return null==a})||Kca(b,new km(a.id,a.event,c,d))})}};
Ida=function(a,b,c){var d=nl(b);d||(d=c.opt_nativeTime||-1,d=Zl(a,b,bm(a),d),c.opt_osdId&&(d.pi=c.opt_osdId));return d};
Jda=function(a,b,c){var d=nl(b);d||(d=Zl(a,b,"n",c.opt_nativeTime||-1),d.J=Ej.getInstance().J);return d};
Kda=function(a,b){var c=nl(b);c||(c=Zl(a,b,"h",-1));return c};
Lda=function(a){var b=sj.getInstance();switch(bm(a)){case "b":return"ytads.bulleit.triggerExternalActivityEvent";case "n":return"ima.bridge.triggerExternalActivityEvent";case "h":if("exc"==b.Ab)return"ima.bridge.triggerExternalActivityEvent";case "m":case "ml":return"ima.common.triggerExternalActivityEvent"}return null};
Em=function(a,b,c,d){c=void 0===c?{}:c;var e={};g.fc(e,{opt_adElement:void 0,opt_fullscreen:void 0},c);if(e.opt_bounds)return a.B.o(Ll("ol",d));if(g.u(d))if(c=Jl(d),g.u(c))if(am)b=Ll("ue",d);else if(b=a.Ip(b,e)){b:{qda(a);"i"==dm&&(b.Yh=!0,a.hx(b));c=e.opt_fullscreen;g.u(c)&&(b.bh=!!c);Cl()?c=!1:(c=sj.getInstance().Ab,c=pi&&dk(pi)||"nis"===c||"gsv"===c?!1:0===vj());var f=c;if(f){switch(b.yf()){case 1:em(a,b,"pv");break;case 2:a.Yw(b)}xl.A.cancel();dm="pv";xl.done=!0}c=d.toLowerCase();!f&&g.Ma(Mda,
c)&&rda(a,b,e);0!=b.Oc&&g.Ma(Nda,c)&&!b.Yh&&!a.C&&b.hn&&(f=b.hn,f.o||(f.o=Yk(f,b)));(f=b.Pj[c])&&b.Qc.Ca(f);switch(b.yf()){case 1:var k=Ml(c)?a.J.custom_metric_viewable:a.J[c];break;case 2:k=a.L[c]}if(k&&(d=k.call(a,b,e,d),g.u(d))){e=Ll(void 0,c);g.fc(e,d);d=e;break b}d=void 0}3==b.Oc&&a.fp(b);b=d}else b=Ll("nf",d);else b=void 0;else am?b=Ll("ue"):(b=a.Ip(b,e))?(d=Ll(),g.fc(d,hl(b,!0,!1,!1)),b=d):b=Ll("nf");return g.w(b)?a.B.o(void 0):a.B.o(b)};
Oda=function(a,b,c){a=Ej.getInstance();if(a.J!=b){a.J=b;var d=(0,g.Pj)(ml.o,function(a){return a.Ha});
(0,g.D)(ml.o,function(a){b||d||(a.Ok=c);a.J=b;a.Ha=!1})}};
Gm=function(a,b){var c;if(b.pi&&Fm(a)){var d=a.G[b.pi];d?c=function(a,b){d.B(a,b)}:null!==d&&qj("lidar::missingPlayerCallback",Error())}else c=g.y("ima.common.triggerViewabilityMeasurementUpdate");
if(g.za(c)){var e=Lca(b);e.nativeVolume=a.D;c(b.dd,e)}};
Fm=function(a){return"exc"==sj.getInstance().Ab||"h"!=bm(a)&&bm(a),!1};
Hm=function(a){var b={};return b.viewability=a.o,b.googleViewability=a.B,b.moatInit=a.D,b.moatViewability=a.F,b.integralAdsViewability=a.C,b.doubleVerifyViewability=a.A,b};
Im=function(a,b,c){c=void 0===c?{}:c;a=Em(Cm.getInstance(),b,c,a);return Hm(a)};
Jm=function(a){if(!a)return"";a=a.split("#")[0].split("?")[0];a=a.toLowerCase();0==a.indexOf("//")&&(a=window.location.protocol+a);/^[\w\-]*:\/\//.test(a)||(a=window.location.href);var b=a.substring(a.indexOf("://")+3),c=b.indexOf("/");-1!=c&&(b=b.substring(0,c));a=a.substring(0,a.indexOf("://"));if("http"!==a&&"https"!==a&&"chrome-extension"!==a&&"file"!==a&&"android-app"!==a&&"chrome-search"!==a&&"app"!==a)throw Error("Invalid URI scheme in origin: "+a);c="";var d=b.indexOf(":");if(-1!=d){var e=
b.substring(d+1);b=b.substring(0,d);if("http"===a&&"80"!==e||"https"===a&&"443"!==e)c=":"+e}return a+"://"+b+c};
Pda=function(){function a(){e[0]=1732584193;e[1]=4023233417;e[2]=2562383102;e[3]=271733878;e[4]=3285377520;p=n=0}
function b(a){for(var b=k,c=0;64>c;c+=4)b[c/4]=a[c]<<24|a[c+1]<<16|a[c+2]<<8|a[c+3];for(c=16;80>c;c++)a=b[c-3]^b[c-8]^b[c-14]^b[c-16],b[c]=(a<<1|a>>>31)&4294967295;a=e[0];var d=e[1],f=e[2],l=e[3],m=e[4];for(c=0;80>c;c++){if(40>c)if(20>c){var n=l^d&(f^l);var p=1518500249}else n=d^f^l,p=1859775393;else 60>c?(n=d&f|l&(d|f),p=2400959708):(n=d^f^l,p=3395469782);n=((a<<5|a>>>27)&4294967295)+n+m+p+b[c]&4294967295;m=l;l=f;f=(d<<30|d>>>2)&4294967295;d=a;a=n}e[0]=e[0]+a&4294967295;e[1]=e[1]+d&4294967295;e[2]=
e[2]+f&4294967295;e[3]=e[3]+l&4294967295;e[4]=e[4]+m&4294967295}
function c(a,c){if("string"===typeof a){a=(0,window.unescape)((0,window.encodeURIComponent)(a));for(var d=[],e=0,k=a.length;e<k;++e)d.push(a.charCodeAt(e));a=d}c||(c=a.length);d=0;if(0==n)for(;d+64<c;)b(a.slice(d,d+64)),d+=64,p+=64;for(;d<c;)if(f[n++]=a[d++],p++,64==n)for(n=0,b(f);d+64<c;)b(a.slice(d,d+64)),d+=64,p+=64}
function d(){var a=[],d=8*p;56>n?c(l,56-n):c(l,64-(n-56));for(var k=63;56<=k;k--)f[k]=d&255,d>>>=8;b(f);for(k=d=0;5>k;k++)for(var m=24;0<=m;m-=8)a[d++]=e[k]>>m&255;return a}
for(var e=[],f=[],k=[],l=[128],m=1;64>m;++m)l[m]=0;var n,p;a();return{reset:a,update:c,digest:d,NK:function(){for(var a=d(),b="",c=0;c<a.length;c++)b+="0123456789ABCDEF".charAt(Math.floor(a[c]/16))+"0123456789ABCDEF".charAt(a[c]%16);return b}}};
Qda=function(a,b,c){var d=[],e=[];if(1==(g.xa(c)?2:1))return e=[b,a],(0,g.D)(d,function(a){e.push(a)}),Km(e.join(" "));
var f=[],k=[];(0,g.D)(c,function(a){k.push(a.key);f.push(a.value)});
c=Math.floor((new Date).getTime()/1E3);e=g.Na(f)?[c,b,a]:[f.join(":"),c,b,a];(0,g.D)(d,function(a){e.push(a)});
a=Km(e.join(" "));a=[c,a];g.Na(k)||a.push(k.join(""));return a.join("_")};
Km=function(a){var b=Pda();b.update(a);return b.NK().toLowerCase()};
g.Lm=function(){var a=[],b=Jm(String(g.x.location.href)),c=g.x.__OVERRIDE_SID;null==c&&(c=(new Kg(window.document)).get("SID"));if(c&&(b=(c=0==b.indexOf("https:")||0==b.indexOf("chrome-extension:"))?g.x.__SAPISID:g.x.__APISID,null==b&&(b=(new Kg(window.document)).get(c?"SAPISID":"APISID")),b)){c=c?"SAPISIDHASH":"APISIDHASH";var d=String(g.x.location.href);return d&&b&&c?[c,Qda(Jm(d),b,a||null)].join(" "):null}return null};
g.Mm=function(a,b){this.A={};this.o=[];this.Bi=this.Na=0;var c=arguments.length;if(1<c){if(c%2)throw Error("Uneven number of arguments");for(var d=0;d<c;d+=2)this.set(arguments[d],arguments[d+1])}else if(a)if(a instanceof g.Mm)for(c=a.Fb(),d=0;d<c.length;d++)this.set(c[d],a.get(c[d]));else for(d in a)this.set(d,a[d])};
Om=function(a,b){return Nm(a.A,b)};
Pm=function(a){if(a.Na!=a.o.length){for(var b=0,c=0;b<a.o.length;){var d=a.o[b];Nm(a.A,d)&&(a.o[c++]=d);b++}a.o.length=c}if(a.Na!=a.o.length){var e={};for(c=b=0;b<a.o.length;)d=a.o[b],Nm(e,d)||(a.o[c++]=d,e[d]=1),b++;a.o.length=c}};
Nm=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};
Qm=function(a){if(a.xb&&"function"==typeof a.xb)return a.xb();if(g.w(a))return a.split("");if(g.ya(a)){for(var b=[],c=a.length,d=0;d<c;d++)b.push(a[d]);return b}return g.Pb(a)};
Rm=function(a){if(a.Fb&&"function"==typeof a.Fb)return a.Fb();if(!a.xb||"function"!=typeof a.xb){if(g.ya(a)||g.w(a)){var b=[];a=a.length;for(var c=0;c<a;c++)b.push(c);return b}return g.Qb(a)}};
Rda=function(a,b){if(a.forEach&&"function"==typeof a.forEach)a.forEach(b,void 0);else if(g.ya(a)||g.w(a))(0,g.D)(a,b,void 0);else for(var c=Rm(a),d=Qm(a),e=d.length,f=0;f<e;f++)b.call(void 0,d[f],c&&c[f],a)};
g.Sm=function(a,b){this.A=this.H=this.C="";this.D=null;this.J=this.B="";this.F=!1;var c;a instanceof g.Sm?(this.F=g.u(b)?b:a.F,g.Tm(this,a.C),this.H=a.H,g.Um(this,a.A),g.Vm(this,a.D),g.Wm(this,a.B),Xm(this,a.o.clone()),this.J=a.Yi()):a&&(c=g.Ng(String(a)))?(this.F=!!b,g.Tm(this,c[1]||"",!0),this.H=Ym(c[2]||""),g.Um(this,c[3]||"",!0),g.Vm(this,c[4]),g.Wm(this,c[5]||"",!0),Xm(this,c[6]||"",!0),this.J=Ym(c[7]||"")):(this.F=!!b,this.o=new g.Zm(null,this.F))};
g.Tm=function(a,b,c){a.C=c?Ym(b,!0):b;a.C&&(a.C=a.C.replace(/:$/,""))};
g.Um=function(a,b,c){a.A=c?Ym(b,!0):b;return a};
g.Vm=function(a,b){if(b){b=Number(b);if((0,window.isNaN)(b)||0>b)throw Error("Bad port number "+b);a.D=b}else a.D=null;return a};
g.Wm=function(a,b,c){a.B=c?Ym(b,!0):b};
Xm=function(a,b,c){b instanceof g.Zm?(a.o=b,Sda(a.o,a.F)):(c||(b=$m(b,Tda)),a.o=new g.Zm(b,a.F));return a};
g.an=function(a,b,c){a.o.set(b,c);return a};
g.bn=function(a){return a instanceof g.Sm?a.clone():new g.Sm(a,void 0)};
Ym=function(a,b){return a?b?(0,window.decodeURI)(a.replace(/%25/g,"%2525")):(0,window.decodeURIComponent)(a):""};
$m=function(a,b,c){return g.w(a)?(a=(0,window.encodeURI)(a).replace(b,Uda),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null};
Uda=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)};
g.Zm=function(a,b){this.Na=this.o=null;this.A=a||null;this.B=!!b};
cn=function(a){a.o||(a.o=new g.Mm,a.Na=0,a.A&&Rg(a.A,function(b,c){a.add(nb(b),c)}))};
en=function(a){var b=Rm(a);if("undefined"==typeof b)throw Error("Keys are undefined");var c=new g.Zm(null,void 0);a=Qm(a);for(var d=0;d<b.length;d++){var e=b[d],f=a[d];g.xa(f)?g.dn(c,e,f):c.add(e,f)}return c};
gn=function(a,b){cn(a);b=fn(a,b);return Om(a.o,b)};
g.dn=function(a,b,c){a.remove(b);0<c.length&&(a.A=null,a.o.set(fn(a,b),g.Va(c)),a.Na=a.Na+c.length)};
fn=function(a,b){var c=String(b);a.B&&(c=c.toLowerCase());return c};
Sda=function(a,b){b&&!a.B&&(cn(a),a.A=null,a.o.forEach(function(a,b){var c=b.toLowerCase();b!=c&&(this.remove(b),g.dn(this,c,a))},a));
a.B=b};
g.hn=function(a){g.L.call(this);this.C=a;this.A={}};
kn=function(a,b,c,d,e){jn(a,b,c,d,!1,e)};
jn=function(a,b,c,d,e,f){g.xa(c)||(c&&(ln[0]=c.toString()),c=ln);for(var k=0;k<c.length;k++){var l=g.Bf(b,c[k],d||a.handleEvent,e||!1,f||a.C||a);if(!l)break;a.A[l.key]=l}return a};
nn=function(a,b,c,d,e){mn(a,b,c,d,!1,e)};
mn=function(a,b,c,d,e,f){if(g.xa(c))for(var k=0;k<c.length;k++)mn(a,b,c[k],d,e,f);else{b=Af(b,c,d||a.handleEvent,e,f||a.C||a);if(!b)return a;a.A[b.key]=b}return a};
g.on=function(a){g.Hb(a.A,function(a,c){this.A.hasOwnProperty(c)&&g.Kf(a)},a);
a.A={}};
pn=function(a,b,c){g.L.call(this);this.A=a;this.B=b;this.F=c;this.D=0;this.o=new g.hn(this);Vda(this)};
Vda=function(a){a.F.forEach(function(a,c){this.o.X(c,"mousedown",this.G);this.o.X(c,"mouseup",this.J)},a);
a.o.X(a.B,"mouseover",a.H)};
g.qn=function(a,b){return a.replace(Wda,function(a,d){try{var c=ac(b,d);if(null==c)return a;c=c.toString();if(""==c||!g.F(g.G(c)))return(0,window.encodeURIComponent)(c).replace(/%2C/g,",")}catch(f){}return a})};
sn=function(a,b){var c=[],d="",e="";if(null!=b){d=b;e=!0;e=void 0===e?!1:e;for(var f=[],k=0;d&&25>k;++k){var l="";void 0!==e&&e||(l=(l=9!==d.nodeType&&d.id)?"/"+l:"");a:{if(d&&d.nodeName&&d.parentElement){var m=d.nodeName.toString().toLowerCase();for(var n=d.parentElement.childNodes,p=0,r=0;r<n.length;++r){var v=n[r];if(v.nodeName&&v.nodeName.toString().toLowerCase()===m){if(d===v){m="."+p;break a}++p}}}m=""}f.push((d.nodeName&&d.nodeName.toString().toLowerCase())+l+m);d=d.parentElement}d=f.join();
if(b){e=(e=b.ownerDocument)&&(e.defaultView||e.parentWindow)||null;f=[];if(e)try{var z=e.parent;for(k=0;z&&z!==e&&25>k;++k){var E=z.frames;for(l=0;l<E.length;++l)if(e===E[l]){f.push(l);break}e=z;z=e.parent}}catch(J){}e=f.join()}else e=""}c.push(d,e);if(null!=a){for(z=0;z<rn.length-1;++z)c.push(bh(a,rn[z])||"");z=bh(a,"videoad_start_delay");E="";z&&(z=(0,window.parseInt)(z,10),E=0>z?"postroll":0==z?"preroll":"midroll");c.push(E)}else for(z=0;z<rn.length;++z)c.push("");c=c.join(":");z=c.length;if(0==
z)c=0;else{E=305419896;for(d=0;d<z;d++)E^=(E<<5)+(E>>2)+c.charCodeAt(d)&4294967295;c=0<E?E:4294967296+E}return c.toString()};
tn=function(a,b,c){this.o=a;this.A=b;this.B=c};
un=function(a,b){this.o=a;this.yg=b};
vn=function(a,b){g.of.call(this,"adError");this.A=a;this.o=b?b:null};
wn=function(a,b,c){g.of.call(this,a);this.A=b;this.o=null!=c?c:null};
Xda=function(a){this.o=a};
Yda=function(){var a=xn();return yn(a,"disableExperiments")};
yn=function(a,b){if(Sb(a.o,b)){var c=a.o[b];if(g.sa(c))return c}return!1};
Zda=function(a){if(Sb(a.o,"forceExperimentIds")){a=a.o.forceExperimentIds;var b=[],c=0;g.xa(a)&&(0,g.D)(a,function(a){g.ta(a)&&(b[c++]=a)});
return b}return null};
zn=function(a){return(a=a.match(/^\w{2,3}([-_]|$)/))?a[0].replace(/[_-]/g,""):""};
An=function(){this.C="always";this.N=4;this.G=1;this.A=this.L=this.D=!1;this.ba=this.K=!0;this.ca=this.B=this.aa=!1;this.J=!0;this.O=null;this.Qa=this.F=this.W=!1;try{this.ga=zm(void 0)[0]}catch(a){}};
xn=function(){var a=P;if(null==a.O){var b={},c=(new g.Sm(Kd().location.href)).o;if(gn(c,"tcnfp"))try{b=JSON.parse(c.get("tcnfp"))}catch(d){}a.O=new Xda(b)}return a.O};
$da=function(a){switch(a){case "BREAK_TYPE_PRE_ROLL":return 1;case "BREAK_TYPE_MID_ROLL":return 2;case "BREAK_TYPE_POST_ROLL":return 3;case "BREAK_TYPE_INDEPENDENT":return 5;case "BREAK_TYPE_RELATED":return 6;default:return 0}};
Bn=function(a){g.of.call(this,a);this.C=[];this.B={};this.o=null;this.A=!0};
Cn=function(a,b,c){this.B=b;this.o=c;this.C=a;this.A=!0};
Dn=function(){};
En=function(a,b,c){this.Ja=a;this.o=g.ld(b||0,0,1);this.A=null!=c?c:!0};
Fn=function(a){this.Ja=a;this.A=new g.Mm;this.jb=this.o=null};
aea=function(a){var b=Math.random(),c=0,d=a.A.xb();(0,g.D)(d,function(a){c+=a.o},a);
var e=1<c?c:1;a.o=null;for(var f=0,k=0;k<d.length;++k)if(f+=d[k].o,f/e>=b){a.o=d[k];break}};
cea=function(){this.A=null!=g.x.G_testRunner;this.B=new Dn;this.o=new g.Mm;P.o()||(Gn(this,"GvnExternalLayer",31061774,.01),Gn(this,"GvnExternalLayer",31061775,.01),Gn(this,"GvnExternalLayer",41351088,.01),Gn(this,"GvnExternalLayer",41351089,.01),Gn(this,"GvnExternalLayer",420706008,.05),Gn(this,"GvnExternalLayer",420706009,.05),Gn(this,"GvnExternalLayer",41351073,.01),Gn(this,"GvnExternalLayer",41351074,.01),Gn(this,"GvnExternalLayer",41351075,.01),Gn(this,"GvnExternalLayer",634360101,0),Gn(this,
"GvnExternalLayer",634360102,0),Gn(this,"GvnExternalLayer",21592080,.1),Gn(this,"GvnExternalLayer",21592081,.1),Gn(this,"GvnExternalLayer",413051059,.05),Gn(this,"GvnExternalLayer",413051060,.05),Gn(this,"GvnExternalLayer",324123E3,.05),Gn(this,"GvnExternalLayer",324123001,.05),Gn(this,"GvnExternalLayer",420706068,.01),Gn(this,"GvnExternalLayer",420706069,.01),Gn(this,"GvnExternalLayer",324123020,.01),Gn(this,"GvnExternalLayer",324123021,.01));Gn(this,"ActiveViewExternalLayer",953563515,.01);Gn(this,
"ActiveViewExternalLayer",953563516,.01);Gn(this,"ActiveViewExternalLayer",953563517,.01);bea(this);var a=xn();a=Zda(a);null!=a&&(this.A=!1,Hn(this,a.map(String)))};
Jn=function(){In||(In=new cea);return In};
Kn=function(){return Jn().B};
dea=function(a,b){a.B=b};
eea=function(){var a=Jn();(0,g.D)(a.o.Fb(),function(a){g.jb(a,"FORCED_PUB_EXP_LAYER_")&&this.o.remove(a)},a)};
Gn=function(a,b,c,d){g.F(g.G(b))||(0,window.isNaN)(c)||0>=c||(c=new En(c,d),Ln(a,b).A.set(c.getId(),c))};
bea=function(a){Yda()||(0,g.D)(a.o.xb(),function(a){aea(a)},a)};
Hn=function(a,b){(0,g.D)(b,function(a){var b=Number(a);a="FORCED_PUB_EXP_LAYER_"+a;(0,window.isNaN)(b)||0>=b||g.F(g.G(a))||(Ln(this,a).o=new En(b,0,!0))},a)};
Mn=function(a,b){return a.A?!1:(0,g.Pj)(a.o.xb(),function(a){return!!a.o&&a.o.getId()==b})};
Nn=function(a){if(a.A)return"";var b=[];(0,g.D)(a.o.xb(),function(a){(a=a.o)&&a.A&&b.push(a.getId())});
return b.sort().join(",")};
Ln=function(a,b){var c=a.o.get(b);null==c&&(c=new Fn(b),a.o.set(b,c));return c};
gea=function(a){var b=[];(0,g.D)(fea,function(c){(c=(c=Ln(a,c))?c.o:null)&&b.push(c.getId())});
return b};
Pn=function(a){return null!=a?On(hea,a):!1};
On=function(a,b){try{var c=(new g.Sm(b)).A;c=c.replace(/^www./i,"");return(0,g.Pj)(a,function(a){return iea(a,c)})}catch(d){return!1}};
iea=function(a,b){if(g.F(g.G(b)))return!1;a=a.toLowerCase();b=b.toLowerCase();return"*."==a.substr(0,2)?(a=a.substr(2),a.length>b.length?!1:b.substr(-a.length)==a&&(b.length==a.length||"."==b.charAt(b.length-a.length-1))):a==b};
Rn=function(a){var b=!1;Qn(a,jea)?b=!1:Pn(a)?b=!0:"https:"==window.location.protocol&&(Qn(a,kea)||P.o())&&(b=!0);if(b){b=new g.Sm(a);if("https"==b.C)return a;g.Tm(b,"https");return b.toString()}return a};
Qn=function(a,b){return(new RegExp("^https?://([a-z0-9-]{1,63}\\.)*("+b.join("|").replace(/\./g,"\\.")+")(:[0-9]+)?([/?#]|$)","i")).test(a)};
Sn=function(a){if(g.F(g.G(a)))return!1;a=new g.Sm(a);if(!a.C||"http"!=a.C&&"https"!=a.C)return!1;a=a.A;return-1==a.indexOf(".")||a.match(/^[\.0-9]*$/)?!1:!0};
Tn=function(a){g.F(g.G(a))||(a=g.Oc(a),a=g.Lc(a),window.open(a,"_blank"))};
Vn=function(a,b,c){null!=a?(g.an(a,"label",b),null!=c&&g.an(a,"value",c.join(";")),a=a.toString()):a="";Un(a)};
Wn=function(a,b,c,d){null!=a&&null!=b&&(a=g.qn(a,b));try{if(null!=c){b=a;var e=(c||{}).viewability||"na";if(g.F(g.G(e)))a=b;else{var f=new g.Sm(b);gn(f.o,"label")?(g.an(f,"acvw",e),a=f.toString().replace(/%2C/g,",")):a=b}}a:{c=a;var k=c.length-11-2;if(!(-1==c.indexOf("URL_SIGNALS")||2048<=k||!d&&!window.Goog_AdSense_Lidar_getUrlSignalsArray))for(d=d||window.Goog_AdSense_Lidar_getUrlSignalsArray(),k={},e=0;e<d.length;++e){k.URL_SIGNALS=d[e];var l=g.qn(c,k);if(2048>l.length){a=l;break a}}a=c}}catch(m){}return a};
Un=function(a,b,c,d){a=Wn(a,b,c,void 0);try{a=Rn(a);var e=Jn(),f=!P.o()||Mn(e,41351089);b=!1;P.o()||!Mn(Jn(),634360102)||(b=!0);null!=d&&d?Xn.bG(a,f):P.J?Xn.iX(a,f,b):Xn.YF(a,f,b)}catch(k){}};
Yn=function(a,b){null!=a&&(0,g.D)(a,function(a){Un(a,b)})};
lea=function(a,b){if(g.F(g.G(b)))return a;var c=new g.Sm(a),d=c.A;return null!=d&&kb(d,".g.doubleclick.net")?(g.an(c,"ged",b),c.toString()):a};
Zn=function(a,b){this.message=a;this.errorCode=b};
ao=function(a,b,c){return $n("adLoadError",a,b||null,g.Xa(arguments,2))};
bo=function(a,b,c){return $n("adPlayError",a,b||null,g.Xa(arguments,2))};
co=function(a,b,c,d,e){var f=a.apply(null,g.Ua([c,d],g.Xa(arguments,3)));b.dispatchEvent(new wn("log",null,f))};
eo=function(a,b,c){co(bo,a,b,c,void 0)};
$n=function(a,b,c,d){if(c instanceof Cn)return c;var e=b.errorCode;b=b.message;if(0<d.length)for(var f=0;f<d.length;f++)b=b.replace(new RegExp("\\{"+f+"\\}","ig"),d[f]);a=new Cn(a,b,e);a.Ym=c;return a};
fo=function(a,b,c,d){var e=bo.apply(null,g.Ua([b,c],g.Xa(arguments,3)));a.dispatchEvent(new vn(e))};
go=function(a,b){g.of.call(this,"vpaidEventType");this.o=a;this.data=b};
ho=function(a){return(a=a.exec(g.Fb))?a[1]:""};
g.io=function(a){return 0<=g.yb(mea,a)};
jo=function(){return gi()||fi()};
mo=function(){return ko&&!lo||rb(g.Fb,"iPod")};
no=function(){return mo()||lo};
qo=function(a){return no()&&oo(po,a)};
to=function(a){return g.ro&&oo(so,a)};
oo=function(a,b){if(null==uo[b]){var c=vo(a);c?(c=c.replace(/_/g,"."),uo[b]=0<=g.yb(c,b)):uo[b]=!1}return uo[b]};
vo=function(a){g.F(wo)&&(a=a.exec(g.Fb))&&(wo=a[1]);return wo};
xo=function(){var a=g.Fb;return a?rb(a,"Nintendo WiiU"):!1};
yo=function(){return ko&&!lo&&qo(10)&&P.o()||!P.o()&&(ko&&!lo&&qo(10),0)?!0:mo()||g.ro&&!to(4)||!P.o()&&Cl()?!1:!0};
zo=function(){var a;(a=P.A||!1)||(a=!1);return a||no()&&(ko&&!lo&&qo(10),!0)||g.ro&&!to(4)||Cl()?!0:!1};
Ao=function(a){return!(null===a||a.Ak()||P.o()||mo()||Cl()||g.ro&&!to(4))};
Bo=function(){this.reset()};
Co=function(a,b){null!=b&&a.A!=b?(a.o=1,a.A=b):a.o=null!=b?a.o+1:1;return a.o};
Do=function(a,b,c,d,e,f){g.w(a)?(this.o="y"==a?b:0,this.months="m"==a?b:0,this.days="d"==a?b:0,this.hours="h"==a?b:0,this.minutes="n"==a?b:0,this.seconds="s"==a?b:0):(this.o=a||0,this.months=b||0,this.days=c||0,this.hours=d||0,this.minutes=e||0,this.seconds=f||0)};
g.Go=function(a,b,c){g.ta(a)?(this.date=Eo(a,b||0,c||1),Fo(this,c||1)):g.Aa(a)?(this.date=Eo(a.getFullYear(),a.getMonth(),a.getDate()),Fo(this,a.getDate())):(this.date=new Date((0,g.H)()),a=this.date.getDate(),this.date.setHours(0),this.date.setMinutes(0),this.date.setSeconds(0),this.date.setMilliseconds(0),Fo(this,a))};
Eo=function(a,b,c){b=new Date(a,b,c);0<=a&&100>a&&b.setFullYear(b.getFullYear()-1900);return b};
Fo=function(a,b){a.getDate()!=b&&a.date.setUTCHours(a.date.getUTCHours()+(a.getDate()<b?1:-1))};
Ho=function(){this.A=this.o=null};
Jo=function(){this.o=Io();this.L=-1;this.N=this.O=this.D=this.K=this.A=null;this.C=Io();this.B=null;this.aa=this.G=this.J="";this.H=this.W=this.ca=this.F=null;this.ba=0};
Io=function(){return Math.floor(4503599627370496*Math.random())};
Ko=function(a){null==a.D&&(a.D=new Bo);return a.D};
Lo=function(a){if(P.A)return"h.3.0.0";var b="h."+a.aa;null!=a.F&&(b+="/n."+a.F,null!=a.A&&(b+="/"+a.A));return b};
Mo=function(){this.o=.01>Math.random();this.A=Math.floor(4503599627370496*Math.random())};
nea=function(a,b){b.id="ima_html5";var c=No();b.c=a.A;b.domain=c.A;return b};
No=function(){var a=Kd(),b=window.document;return new g.Sm(a.parent==a?a.location.href:b.referrer)};
Oo=function(){this.ng=1E4};
Po=function(){g.Pf.call(this)};
Qo=function(){g.Pf.call(this);this.o=new g.Mm;this.A=null;this.Z=new g.hn(this);g.M(this,this.Z);this.D="";this.C=this.J=this.G=this.B=null;this.H=-1};
So=function(){null!=Ro||(Ro=new Qo);return Ro};
To=function(a,b){var c={};c.queryId=a;c.viewabilityString=b;So().dispatchEvent(new wn("measurable_impression",null,c))};
Uo=function(a,b){var c={};c.queryId=a;c.viewabilityString=b;So().dispatchEvent(new wn("viewable_impression",null,c))};
Vo=function(a,b,c){var d={};d.queryId=a;d.viewabilityString=b;d.eventName=c;So().dispatchEvent(new wn("externalActivityEvent",null,d))};
oea=function(a,b){if(a.A)if(a.C){var c=(0,g.H)()-a.H;b(a.C+"_ct"+c)}else{var d=a.o;c=window.setTimeout(function(){b("timeout");(0,g.D)(d.Fb(),function(a){d.get(a)===b&&d.remove(a)})},200);
a.o.set(c,b);var e={};e.osdId=a.D;e.eventId=c;Mo.getInstance().isLoggingEnabled()&&(a.F=(0,g.H)(),e.loggingId=Math.random(),Mo.getInstance().report(43,{step:"sendingMessage",logid:e.loggingId,time:a.F}));a.A.send("activityMonitor","fetchAdTagUrl",e)}else b("")};
pea=function(a,b,c,d){if(a.A){var e={};e.queryId=c;e.vastEvent=b;a.D&&(e.osdId=a.D);e.isOverlay=null!=a.B;a.B&&(e.overlayBounds=g.Sh(a.B));var f=a.o;b=window.setTimeout(function(){d({viewability:"timeout"});(0,g.D)(f.Fb(),function(a){f.get(a)===d&&f.remove(a)})},200);
a.o.set(b,d);e.eventId=b;a.A.send("activityMonitor","reportVastEvent",e)}else d({})};
Wo=function(){};
Xo=function(a){a=a.match(/[\d]+/g);if(!a)return"";a.length=3;return a.join(".")};
$o=function(a,b){if(null==a||0>=a.width||0>=a.height)throw bo(Yo,null,"ad slot size",a.toString());this.A=a;this.o=null!=b?b:new Wo;this.D=Zo(qea,this.o.B)?this.o.B:"All";this.C=Zo(rea,this.o.creativeType)?this.o.creativeType:"All";this.G=Zo(sea,this.o.C)?this.o.C:"SelectExactMatch";this.H=Zo(tea,this.o.A)?this.o.A:"DisallowResize";this.B=null!=this.o.D?this.o.D:[];this.F=g.ta(this.o.o)&&0<this.o.o&&100>=this.o.o?this.o.o:90};
cp=function(a,b){var c=[];(0,g.D)(b,function(a){!g.F(g.G(a.o.A))&&((0,window.isNaN)(a.o.o)||(0,window.isNaN)(ap(a))||ap(a)==a.o.o)&&bp(this,a)?c.push(a):(a=uea(this,a),null!=a&&!g.F(g.G(a.o.A))&&c.push(a))},a);
return c};
bp=function(a,b){var c;if(c="Flash"!=b.Ad()||dp){if(c="All"==a.D||a.D==b.o.N)c=b.Ad(),c=null!=c?"All"==a.C||a.C==c:!0;c&&(c=b.B,c=g.Na(a.B)?!0:null!=c?0<=(0,g.La)(a.B,c):!1)}if(c){var d=b.o.pe();if("IgnoreSize"==a.G||g.td(a.A,d))c=!0;else if(c="SelectNearMatch"==a.G)"ResizeSmaller"==a.H?(d=d.width<=a.A.width&&d.height<=a.A.height?d:ep(d,a.A),c=d.width,d=d.height):(c=d.width,d=d.height),c=c>a.A.width||d>a.A.height||c<a.F/100*a.A.width||d<a.F/100*a.A.height?!1:!0}else c=!1;return c};
uea=function(a,b){var c=b.A;return null!=c?g.Ia(c,function(a){return bp(this,a)},a):null};
ep=function(a,b){var c=Math.min(b.width/a.width,b.height/a.height);return new g.sd(c*a.width,c*a.height)};
Zo=function(a,b){return null!=b&&g.Vb(a,b)};
fp=function(a){a=0>a?0:Math.round(a);return 3600<=a?""+Math.floor(a/3600)+":"+("0"+Math.floor(a/60)%60).slice(-2)+":"+("0"+a%60).slice(-2):""+Math.floor(a/60)%60+":"+("0"+a%60).slice(-2)};
vea=function(a){var b={};(0,g.D)(a.split(","),function(a){var c=a.split("=");2==c.length&&(a=wb(c[0]),c=wb(c[1]),0<a.length&&(b[a]=c))});
return b};
hp=function(a,b){if(a[b])return gp(a[b]);var c=b.toLowerCase(),d;for(d in a)if(d&&d.toLowerCase()==c)return gp(a[d]);return!1};
gp=function(a){return a?-1!=a.toString().search(/(?:true|1)/i):!1};
wea=function(){this.o=this.Le=1;this.A=this.C=0;this.B=1};
ip=function(){g.Pf.call(this);this.o=null;this.Z=new g.hn(this);g.M(this,this.Z);this.A=new g.Mm;this.F=new g.Mm;this.C=null;this.B=!1;this.D=null};
kp=function(){null!=jp||(jp=new ip);return jp};
xea=function(){kp();var a=Jn(),b=sj.getInstance().ob;a=gea(a);Oba(b,a)};
mp=function(a){if(null==a)return!1;if(mo()&&null!=a.webkitDisplayingFullscreen)return a.webkitDisplayingFullscreen;var b=window.screen.availWidth||window.screen.width,c=window.screen.availHeight||window.screen.height;a=lp(a);return 0>=b-a.width&&42>=c-a.height};
lp=function(a){return g.za(a.getBoundingClientRect)&&g.ae(g.vd(a),a)?a.getBoundingClientRect():{left:a.offsetLeft,top:a.offsetTop,width:a.offsetWidth,height:a.offsetHeight}};
np=function(a,b,c,d,e){if(a.B){if(a.D)return a.D(b,c,e);e=e||{};if(d=d?a.F.get(d):P.H)null!=e.opt_fullscreen||(e.opt_fullscreen=mp(d)),null!=e.opt_adElement||(e.opt_adElement=d);a.C&&(P.A&&(e.opt_overlayAdElement=a.C),null!=e.opt_bounds||(e.opt_bounds=lp(a.C)));return oj(471,g.Da(Im,b,c,e))||{}}return{}};
op=function(a,b){var c=[];a.A.forEach(g.Da(function(a,b,c,k){c==b&&a.push(k)},c,b));
(0,g.D)(c,a.A.remove,a.A)};
pp=function(a){if(g.za(window.Goog_AdSense_Lidar_getUrlSignalsArray)){var b={};b.pageSignals=window.Goog_AdSense_Lidar_getUrlSignalsArray();a.o.send("activityMonitor","pageSignals",b)}};
yea=function(a,b,c){if(!P.K)return"";var d=b?a.F.get(b):P.H;a={};null!=c&&(a.fullscreen=c);c="";try{c=Eba(function(){return d},a)}catch(e){c="sdktle;"+qb(e.name,12)+";"+qb(e.message,40)}return c};
qp=function(a,b){g.of.call(this,a);this.o=b};
rp=function(a,b){this.J=a;this.H=(0,g.I)(b,function(a){return a.clone()});
this.G="";this.C=null;this.o=this.B=0;this.A=!0;this.D=[];this.F=[]};
sp=function(a,b,c,d,e){a.G="<div></div>";a.C=b;a.B=c;a.o=d;a.A=!1;a.D=e||[];a.F=[]};
tp=function(a){a.G="";a.C=null;a.B=0;a.o=0;a.A=!0;a.D=[];a.F=[]};
up=function(a){g.of.call(this,a)};
vp=function(a){if(a&&a.items&&a.items.length){a=a.items[0];this.channelId=a.id;var b=a.snippet;b&&(this.authorName=b.title,this.channelIconThumbnailUrl=g.Rb(b,"thumbnails","default","url"));if(b=a.statistics)this.videoCount=b.videoCount;if(a=a.brandingSettings)this.o=g.Rb(a,"image","bannerImageUrl")}};
g.wp=function(a){this.o="number"==typeof a?0<a?1:0>a?-1:null:null==a?null:a?-1:1};
g.xp=function(a,b){var c=a.A(b,void 0);return-1==(0==c?a.o:c)?"rtl":"ltr"};
yp=function(){throw Error("Do not instantiate directly");};
zp=function(a,b){this.content=String(a);this.jm=null!=b?b:null};
Ap=function(){yp.call(this)};
Bp=function(){yp.call(this)};
Cp=function(a,b){return null!=a&&a.dk===b};
Dp=function(a){if(null!=a)switch(a.jm){case 1:return 1;case -1:return-1;case 0:return 0}return null};
Q=function(a){return null!=a&&a.dk===Ep?a:a instanceof g.$c?Fp(g.ad(a),a.o()):Fp(g.ob(String(String(a))),Dp(a))};
Gp=function(a){return a instanceof yp?!!a.Sc():!!a};
Jp=function(a,b,c){var d="key_"+a+":"+b,e=Hp[d];if(void 0===e||0>e)Hp[d]=0,Ip[d]=c;else if(0==e)throw Error('Encountered two active delegates with the same priority ("'+a+":"+b+'").');};
Kp=function(a,b){var c=Ip["key_"+a+":"+b];c||""==b||(c=Ip["key_"+a+":"]);return c?c:zea;throw Error('Found no active impl for delegate call to "'+a+(b?":"+b:"")+'" (and delcall does not set allowemptydefault="true").');};
zea=function(){return""};
Lp=function(a){return a.replace(/<\//g,"<\\/").replace(/\]\]>/g,"]]\\>")};
R=function(a){return Cp(a,Ep)?String(String(a.Sc()).replace(Mp,"").replace(Np,"&lt;")).replace(Aea,Op):g.ob(String(a))};
Pp=function(a){return Cp(a,Ep)?String(String(a.Sc()).replace(Mp,"").replace(Np,"&lt;")).replace(Bea,Op):String(a).replace(Cea,Op)};
Rp=function(a){if(Cp(a,Qp))return a.Sc().replace(/([^"'\s])$/,"$1 ");a=String(a);a=Dea.test(a)?a:"zSoyz";return a};
Eea=function(a){return"%"+a.charCodeAt(0).toString(16)};
Tp=function(a){a=g.lb(String(a));Sp.lastIndex=0;return Sp.test(a)?a.replace(Sp,Eea):a};
Zp=function(a){if(Cp(a,Up)||Cp(a,Vp))return Wp(a);a instanceof Kc?a=Wp(g.Lc(a)):a instanceof Fc?a=Wp(Gc(a)):(a=String(a),a=Fea.test(a)?a.replace(Xp,Yp):"about:invalid#zSoyz");return a};
$p=function(a){if(Cp(a,Up)||Cp(a,Vp))return Wp(a);a instanceof Kc?a=Wp(g.Lc(a)):a instanceof Fc?a=Wp(Gc(a)):(a=String(a),a=Gea.test(a)?a.replace(Xp,Yp):"about:invalid#zSoyz");return a};
aq=function(a){if(Cp(a,Hea))return Lp(a.Sc());null==a?a="":a instanceof Rc?a=Lp(Sc(a)):a instanceof Yc?(a instanceof Yc&&a.constructor===Yc&&a.A===Xc?a=a.o:(wa(a),a="type_error:SafeStyleSheet"),a=Lp(a)):(a=String(a),a=Iea.test(a)?a:"zSoyz");return a};
cq=function(a){var b=bq[1]||(bq[1]=new g.wp(1)),c=Dp(a);null==c&&(c=Dc(a+"",Cp(a,Ep)));return Jea(c!=b.o?-1==c?'dir="rtl"':1==c?'dir="ltr"':"":"")};
Op=function(a){return Kea[a]};
Yp=function(a){return Lea[a]};
Wp=function(a){return String(a).replace(Xp,Yp)};
Mea=function(a){return'<div class="'+R("text-container")+" "+(a.image?R("pyv"):"")+'"><div class="'+R("text-inner-container")+'">'+(a.image?(a.Rc?'<a class="'+R("text-image-link")+'" target="_blank" href="'+R(Zp(a.Rc))+'">':'<a class="'+R("text-image-link")+'" target="_blank">')+'<img src="'+R($p(a.image))+'" class="'+R("text-image")+" "+(a.gH?R("yt-video-image"):"")+'">'+(a.duration?'<div class="'+R("text-image-duration")+'">'+Q(a.duration)+"</div>":"")+"</a>":"")+(a.Rc?'<a class="'+R("text-title")+
'" href="'+R(Zp(a.Rc))+'" target="_blank" dir='+Pp(a.dir)+">"+Q(a.title)+"</a>":"")+'<div class="'+R("text-description")+'" dir='+Pp(a.dir)+">"+Q(a.text)+"</div>"+(Gp(a.jH)&&Gp(a.Rc)?'<a target="_blank" href="'+R(Zp(a.Rc))+'" class="'+R("text-ad-channel")+'">'+Q(a.jH)+"</a>":"")+"</div></div>"};
Nea=function(a){return'<div class="'+R("flash-container")+" "+(a.capture?R("click-capture"):"")+'">'+(a.Rc?'<a class="click-layer" target="_blank" href="'+R(Zp(a.Rc))+'"></a>':"")+'<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="//web.archive.org/web/20181027110332/https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="'+R(a.width)+'" height="'+R(a.height)+'"><param name="movie" value="'+R(a.url)+'"><param name="quality" value="high"><param name="wmode" value="transparent"><param name="AllowScriptAccess" value="never"><param name="FlashVars" value="clickTAG='+
Tp(a.Rc)+'"><embed width="'+R(a.width)+'" height="'+R(a.height)+'" wmode="transparent" type="application/x-shockwave-flash" src="'+R(Zp(a.url))+'" allowscriptaccess="never" pluginspage="//web.archive.org/web/20181027110332/https://www.macromedia.com/go/getflashplayer" flashvars="clickTAG='+Tp(a.Rc)+'"></object></div>'};
Oea=function(a){return'<div class="'+R("image-container")+'" id="'+R(a.id)+'" style="width:'+R(aq(a.width))+";height:"+R(aq(a.height))+';">'+(a.Rc?'<a target="_blank" href="'+R(Zp(a.Rc))+'">':'<a target="_blank">')+'<img src="'+R($p(a.url))+'" border="0"></a></div>'};
Pea=function(a){return'<div class="'+R("image-container")+'" id="'+R(a.id)+'">'+(a.Rc?'<a target="_blank" href="'+R(Zp(a.Rc))+'">':'<a target="_blank">')+'<img src="'+R($p(a.url))+'" border="0" style="max-width:100%;max-height:100%;"></a></div>'};
dq=function(a){return'<div class="'+R("image-container")+'" id="'+R(a.id)+'" style="width:'+R(aq(a.width))+";height:"+R(aq(a.height))+';"></div>'};
eq=function(){this.o=new g.Mm};
fq=function(a,b){this.A=a;this.B=b};
gq=function(a,b){fq.call(this,"progress",a);this.o=b};
iq=function(a,b){(0,g.D)(b,function(a){var b=a.Yb().toLowerCase(),c=hq(this,b);c.push(a);this.o.set(b,c)},a)};
jq=function(a,b,c,d){b=b.toLowerCase();c=null!=d?new gq(c,d):new fq(b,c);d=hq(a,b);d.push(c);a.o.set(b,d)};
hq=function(a,b){return null!=b?a.o.get(b.toLowerCase(),[]):[]};
Qea=function(a,b){var c=hq(a,"progress");(0,g.D)(c,function(a){kq(a.o,b)});
g.db(c,function(a,b){return lq(a.o)-lq(b.o)})};
mq=function(a,b){return(0,g.I)(hq(a,b),function(a){return a.Xa()})};
nq=function(){this.oa=-1;this.H={};this.xa="";this.Dk=new eq};
oq=function(a,b,c){a.xa=b;a.H=c};
pq=function(a,b){var c=[],d=a.Dp();(0,g.D)(d,function(a){a=hq(a.Dk,b)||[];c=g.Ua(a,c)},a);
return c};
Rea=function(a){a=pq(a,"feedbackShown");return(0,g.I)(a||[],function(a){return a.Xa()})};
qq=function(a,b,c){var d=c||!1;return g.Ia(b.F,function(a){var b=a.o==this.o;return a instanceof this.constructor&&(d||b)},a)};
rq=function(a,b,c,d,e,f,k,l,m){this.B=a;this.o=b;(0,window.isNaN)(c)&&(0,window.isNaN)(d)&&(0,window.isNaN)(e)?e=d=0:(0,window.isNaN)(d)&&!(0,window.isNaN)(e)?d=e:!(0,window.isNaN)(d)&&(0,window.isNaN)(e)?e=d:!(0,window.isNaN)(c)&&(0,window.isNaN)(d)&&(0,window.isNaN)(e)&&(d=e=c);this.pj=d;this.pg=e;this.F=f;this.C=k;this.D=Rn(g.G(l));this.A=m};
sq=function(a,b,c,d,e,f){nq.call(this);this.oa=a;this.C=b;this.B=c;this.A=g.Va(d);this.D=null;this.F=e;this.wa=g.Va(f);Za(this.wa,null,function(a){return a.L})};
tq=function(a){var b=new g.Mm,c=a.Dp();(0,g.D)(c,function(a){if(a instanceof sq){var c=a.B;(0,g.D)(c.Fb(),function(a){b.set(a,g.Ua(c.get(a),b.get(a)||[]))},this)}},a);
return b};
vq=function(a){return uq(a,"x-shockwave-flash")};
uq=function(a,b){var c=g.Ia(a.A,function(a){return!g.F(g.G(a.o))&&-1!=a.o.indexOf(b)&&("VPAID"==a.A||"surveys"==a.A)});
return null!=c?c:null};
xq=function(a,b,c,d,e){nq.call(this);g.F(g.G(a))&&(a=Ab()+"_ima");this.Ja=g.G(a);this.Da=b;this.N=c;this.sa=d;this.A=e;this.L=[];null!=this.sa?this.ba=wq[this.sa]||"Other":this.ba=null};
yq=function(a,b,c){g.L.call(this);this.A=a;this.D=b;this.K=c;this.C=0;this.o={};this.B=new g.hn(this);g.M(this,this.B);Sea(this)};
Sea=function(a){(0,g.D)(a.K,function(a){this.B.X(a.element,"mousedown",this.G,!0);this.B.X(a.element,"mouseup",g.Da(this.J,a),!0)},a);
a.B.X(a.D,"mouseenter",a.H)};
Tea=function(a,b){g.Hb(a.o,function(a,d){b=dh(b,d,a)});
return b};
zq=function(a,b,c,d,e){xq.call(this,a,b,c,d,e);this.ia=this.C=null;this.Ba=-2;this.B=null;this.ha=this.aa=g.A;this.ca=[];this.La=[];this.F=!1;this.jb=null};
Cq=function(a,b){a.B=b;null!=a.C&&null!=b&&(Aq(a,a.aa),Bq(a,a.ha))};
Aq=function(a,b){null!=a.B&&null!=a.C&&(0,g.D)(a.ca,function(a){this.B.Ia(a,"click",this.aa);!g.F(g.G(this.Bf()))&&this.B.X(a,"click",b)},a);
a.aa=b};
Bq=function(a,b){null!=a.B&&null!=a.C&&(a.B.Ia(a.C,"creativeview",a.ha),a.B.X(a.C,"creativeview",b));a.ha=b};
Dq=function(a,b){var c=a.Ja,d={};d.style="cursor:default;position:relative;z-index:1001;height:"+a.getHeight()+"px;";"Text"!=a.Ad()&&(d.style+="width:"+a.ub()+"px");g.F(g.G(c))||(d.id=c);return g.Md("DIV",d,b)};
Eq=function(a){if(!a.F)return null;var b=pq(a,"start");Wa(b,pq(a,"creativeview"));if(null!=b&&!g.Na(b)){var c=[];(0,g.D)(b,function(a){if(!g.F(g.G(a))){var b=g.yd().yL("IFRAME",{frameborder:0,style:"border:0;vertical-align:bottom;",src:Uea});g.xh(b,{display:"block",height:"0px",width:"0px"});var d="iframe"+Math.floor(1E9*Math.random());b.setAttribute("height",0);b.setAttribute("width",0);b.setAttribute("src",Rn(a.Xa()));b.setAttribute("id",d);this.La.push(d);g.Pa(c,b)}},a);
return c}return null};
Vea=function(a,b){if(null!=a.C)if(Kn().o("cleanup_text_overlay_spam_signals")){var c=[];(0,g.D)(a.ca,function(a){c.push({element:a,EK:this.Tt(a)})},a);
new yq(b,a.C,c)}else c=new g.Mm,(0,g.D)(a.ca,function(a){c.set(a,this.Tt(a))},a),new pn(b,a.C,c)};
Wea=function(a){var b=[],c=a.Dp();(0,g.D)(c,function(a){b=g.Ua(b,a.L)},a);
return b};
Fq=function(a,b,c){var d=c||!1;return g.Ia(b.F,function(a){var b=a.o==this.o;return this instanceof a.constructor&&(d||b)},a)};
Gq=function(a,b){this.o=null!=a?a:new eq;this.J=null!=b?b:[]};
Xea=function(a,b){var c=b.o;(0,g.D)(c.Fb(),function(a){iq(this.o,c.get(a))},a)};
Hq=function(a,b){var c=mq(a.o,b);return null!=c?c:[]};
g.Iq=function(a){if(a.classList)return a.classList;a=a.className;return g.w(a)&&a.match(/\S+/g)||[]};
g.Jq=function(a,b){return a.classList?a.classList.contains(b):g.Ma(g.Iq(a),b)};
g.S=function(a,b){a.classList?a.classList.add(b):g.Jq(a,b)||(a.className+=0<a.className.length?" "+b:b)};
g.Kq=function(a,b){if(a.classList)(0,g.D)(b,function(b){g.S(a,b)});
else{var c={};(0,g.D)(g.Iq(a),function(a){c[a]=!0});
(0,g.D)(b,function(a){c[a]=!0});
a.className="";for(var d in c)a.className+=0<a.className.length?" "+d:d}};
g.Lq=function(a,b){a.classList?a.classList.remove(b):g.Jq(a,b)&&(a.className=(0,g.Vd)(g.Iq(a),function(a){return a!=b}).join(" "))};
g.Mq=function(a,b){a.classList?(0,g.D)(b,function(b){g.Lq(a,b)}):a.className=(0,g.Vd)(g.Iq(a),function(a){return!g.Ma(b,a)}).join(" ")};
g.T=function(a,b,c){c?g.S(a,b):g.Lq(a,b)};
g.Nq=function(a,b,c){g.Jq(a,b)&&(g.Lq(a,b),g.S(a,c))};
g.Oq=function(a,b){var c=!g.Jq(a,b);g.T(a,b,c);return c};
Pq=function(a,b){var c=a(b||Yea,void 0,void 0);var d=g.yd().createElement("DIV");c=Zea(c);g.gd(d,c);1==d.childNodes.length&&(c=d.firstChild,1==c.nodeType&&(d=c));return d};
Zea=function(a){if(!g.Aa(a))return String(a);if(a instanceof yp){if(a.dk===Ep)return a.Sc();if(a.dk===Qq)return g.ob(a.Sc())}return"zSoyz"};
Rq=function(a,b){zq.call(this,a,b,"Static","text","")};
Sq=function(a){null!=a?On($ea,a)?(a=a.match(/yt_vid\/([a-zA-Z0-9_-]{11})/),a=null!=a&&1<a.length?a[1]:null):a=Pn(a)?afa(a):null:a=null;return a};
Tq=function(a,b,c){if(null==a)return null;c=new g.Sm((null!=c?c:"//web.archive.org/web/20181027110332/https://www.youtube.com/")+"watch");var d=c.o;d.set("v",a);d.set("feature",b?"trueview-instream":"instream");Xm(c,d);return c.toString()};
Uq=function(a){return null===a?!1:"pharma"==(new g.Sm(a)).Yi().toLowerCase()};
afa=function(a){if(g.F(g.G(a)))return null;var b=a.match(/^https?:\/\/[^\/]*youtu\.be\/([a-zA-Z0-9_-]+)$/);if(null!=b&&2==b.length)return b[1];b=a.match(/^https?:\/\/[^\/]*youtube.com\/video\/([a-zA-Z0-9_-]+)$/);if(null!=b&&2==b.length)return b[1];b=a.match(/^https?:\/\/[^\/]*youtube.com\/watch\/([a-zA-Z0-9_-]+)$/);if(null!=b&&2==b.length)return b[1];a=(new g.Sm(a)).o;return gn(a,"v")?a.get("v").toString():gn(a,"video_id")?a.get("video_id").toString():null};
Vq=function(a){return g.F(g.G(a))?null:"//web.archive.org/web/20181027110332/https://i1.ytimg.com/vi/"+a+"/mqdefault.jpg"};
br=function(a,b,c){var d={};a=new Wq(a,g.u(b)?b:null,g.u(c)?c:null);Xq(d,a);b=a.error;d.ERRORCODE=1E3>b.o?b.o:900;Yq(d);Zq(d,a);$q(d,a);b=a.error.Eb();d.ERROR_MSG=a.error.Vd();d.IMA_ERROR=b;d.INTERNAL_ID="0";b=-1!=(0,g.La)(bfa,b);d.BLOCKING_ERROR=b?"1":"0";d.YT_ERROR_CODE=3;ar(d,a);return d};
cr=function(a,b){var c={},d=new Wq(null,a,g.u(b)?b:null);Xq(c,d);Yq(c);Zq(c,d);$q(c,d);ar(c,d);cfa(c,d);dfa(c,d);d=a.fb;for(var e=a;null!=e;)d=e.Ha+","+d,e=e.A;c.RWT=d;return c};
Wq=function(a,b,c){this.error=a;this.o=b;this.A=c};
dr=function(a,b){null!=b&&(a.VIEWABILITY=b)};
er=function(a,b,c,d){efa(c,b)?a[c]=d||"":a[c]=""};
efa=function(a,b){return(0,g.Pj)(ffa[a],function(a){return null!=b.match(a)})};
Xq=function(a,b){a.CACHEBUSTING={toString:function(){return Math.round(1E8*Math.random()+1E8).toString().slice(1)}};
a.ASSETURI={toString:function(){return null!=b.A?b.A.getVideoUrl():""}};
a.TIMESTAMP={toString:function(){return(new Date).toISOString()}}};
dfa=function(a,b){a.AD_CPN={toString:function(){return b.A.We()}};
a.AD_MT={toString:function(){return Math.round(Math.max(0,1E3*b.A.getCurrentTime())).toString()}};
a.MT={toString:function(){return b.A?Math.round(Math.max(0,1E3*b.A.getCurrentTime(1))).toString():"0"}};
a.P_W={toString:function(){return null!=b.A&&null!=b.A.Sh()?b.A.Sh().width.toString():""}};
a.P_H={toString:function(){return null!=b.A&&null!=b.A.Sh()?b.A.Sh().height.toString():""}}};
Yq=function(a){a.SDKV=Lo(fr);a.EL="adunit";a.CONN="0";a.WT={toString:function(){return Date.now()}};
a.VED=""};
Zq=function(a,b){if(null!=b.o&&null!=b.o.B&&null!=b.o.B.ac&&P.o()){var c=b.o.B.ac;(0,g.D)(gfa,function(b){b in c&&(a[b]=c[b])})}};
$q=function(a,b){if(null!=b.o){a.AD_ID=gr(b.o);a.AD_SYS=hr(b.o);var c=ir(b.o);a.AQI=null!=c?c:"";a.AD_V={toString:function(){if(null!=b.A){var a=Sq(b.A.getVideoUrl());if(null!=a)return a}return"0"}};
a.FORMAT_NAMESPACE="0";a.FORMAT_TYPE="0";a.FORMAT_SUBTYPE="0";c=[];try{c=jr(b.o).split("_")}catch(d){}1<=c.length&&(a.FORMAT_NAMESPACE=c[0]);2<=c.length&&(a.FORMAT_TYPE=c[1]);3<=c.length&&(a.FORMAT_SUBTYPE=c[2]);a.FINAL="1"}};
ar=function(a,b){a.BREAK_TYPE="0";a.SLOT_POS="0";a.MIDROLL_POS="0";if(null!=b.o){var c=b.o.B;if(null!=c&&null!=c.Ji&&null!=c.Ji.video_start_delay)c=c.Ji.video_start_delay,0==c?a.BREAK_TYPE="1":-1==c?a.BREAK_TYPE="3":(a.BREAK_TYPE="2",a.MIDROLL_POS=c);else{c=b.o.C;a.BREAK_TYPE=0==c.C?"1":-1==c.C?"3":"2";var d=b.o.cf();d&&(a.BREAK_TYPE=d);a.SLOT_POS=c.o-1;c=b.o.B;c=null!=c&&null!=c.ac&&null!=c.ac.GET_MIDROLL_POSITION_IN_SEC?c.ac.GET_MIDROLL_POSITION_IN_SEC:null;d=Math.round(b.o.C.A);c=0<d&&c?c(d):d;
0<c&&(a.MIDROLL_POS=c)}}};
cfa=function(a,b){null!=b.o&&(a.AD_LEN={toString:function(){var a=b.o.getDuration();return 0>a?"-1":Math.round(1E3*a).toString()}},a.VOL={toString:function(){return null!=b.A?b.A.isMuted()?"0":Math.round(100*b.A.getVolume()).toString():""}})};
mr=function(a,b,c){var d=null,e=c+b;(0,g.D)(a.F,function(f){if(hp(f.H,"rm")){var k=cr(a);kr(a)&&(k.FILLED_OPPORTUNITY=0);Yn(a.K,k);(k=a.B)&&k.afcRmFallback&&(d=f)}else{if(k=f instanceof zq)0==c&&0==b||f instanceof Rq?k=!0:(k=f.pe(),k=k.width<=b&&k.height<=c);k&&(k=0==c&&0==b?0:c-f.pe().height+b-f.pe().width,"Flash"!=f.Ad()||dp)&&(null!=d?k<e?(d=f,e=k):k==e&&("Flash"==d.Ad()&&"Javascript"==f.Ad()?d=f:f.o<d.o&&(d=f)):(d=f,e=k))}});
lr(a,d)};
nr=function(a){var b=null;(0,g.D)(a.F,function(a){a instanceof sq&&(null===b||a.o<b.o)&&(b=a)});
lr(a,b)};
or=function(a,b,c,d){this.C=a;this.G=b;this.ads=0<this.C.length?this.C:this.G;this.F=c;this.D=this.H=!0;this.A=-1;this.o=null;this.K=this.B=0;this.L=d;this.logger=null};
sr=function(a,b,c){var d=[],e=(0,g.B)(function(a){this.jg()?this.Ye(function(a){d.push(a);e(null)},function(a){301==a.Eb()?c(ao(pr)):e(a)}):0<d.length?b(d):(null==a&&(a=ao(qr)),1012==a.Eb()&&(a=ao(rr)),c(a))},a);
e(null)};
hfa=function(a,b){a.D=b;a.ads=a.DA(a.C,a.G);a.A=-1};
ifa=function(a,b,c,d){var e=a.F.clone();e.A="";e.o=b.qc;tr(a,b,e,c,d)};
tr=function(a,b,c,d,e){var f=b.getExtension("LocalRedirect");null!=f&&(f=f.B,null!=f&&(c.A=f));a.L.fetch(c,(0,g.B)(function(a){a instanceof or?(jfa(a,b,this.D&&b.zb,b.Hb),d(a)):a instanceof ur?e(new Cn("adLoadError","Ad source cannot contain playlist response.",2)):e(new Cn("adLoadError","Unknown ad source.",2))},a),e)};
kfa=function(a){var b=0;for(a=a.A;null!=a;)a=a.A,b++;return b};
lfa=function(a,b,c){a.o.jg()?a.o.Ye((0,g.B)(function(a){this.Wq(a,b,(0,g.B)(function(a){this.jg()?this.Ye(b,c):c(a)},this))},a),(0,g.B)(function(a){vr(this.ads[this.A],a);
this.o=null;P.o()||301!=a.Eb()?this.jg()?this.Ye(b,c):c(a):c(a)},a)):(0==a.o.B&&vr(a.ads[a.A],ao(wr)),a.o=null,a.Ye(b,c))};
vr=function(a,b){if(b.A){1012==b.Eb()&&(b=ao(rr));var c=br(b,a),d=a.oa;P.o()&&303==b.Eb()&&(d=(0,g.Vd)(d,function(a){return-1==a.indexOf(".youtube.com/api/stats/ads")}));
Yn(d,c)}};
ofa=function(a,b,c){a.A++;var d=a.ads[a.A];d.ga||d.sa?d.sa?ifa(a,d,(0,g.B)(function(a){this.o=a;this.Ye(b,c)},a),(0,g.B)(function(a){a=xr(a);
vr(d,a);c(a)},a)):kfa(d)>=P.N?(a=ao(mfa,null,String(P.N)),vr(d,a),c(a)):a.H?a.Tw(d,(0,g.B)(function(a){this.o=a;
this.Ye(b,c)},a),(0,g.B)(function(a){a=xr(a);
vr(d,a);c(a)},a)):c(ao(nfa)):a.Wq(d,b,c)};
xr=function(a){switch(a.Eb()){case 300:case 301:case 302:case 303:case 200:case 1012:break;default:a=ao(wr)}return a};
jfa=function(a,b,c,d){(0,g.D)(a.ads,function(a){a.A=b});
hfa(a,c);a.H=d};
yr=function(a){Gq.call(this);this.A=(0,window.isNaN)(a)?-1:a};
zr=function(a,b,c,d){or.call(this,[],a,b,c);this.J=d};
Ar=function(a){var b=a.ads.length-(0>a.A?1:a.A+1);return null!=a.o&&a.o instanceof zr?b+Ar(a.o):b};
Br=function(a){g.Sm.call(this,a);this.G=new g.Mm;a=this.B;var b=a.indexOf(";"),c=null;0<=b?(g.Wm(this,a.substring(0,b)),c=a.substring(b+1)):g.Wm(this,a);pfa(this,c)};
pfa=function(a,b){g.F(g.G(b))||(0,g.D)(b.split(";"),function(a){var b=a.indexOf("=");if(0<b){var c=nb(a.substring(0,b));a=nb(a.substring(b+1));b=this.G.get(c);null!=b?g.Ma(b,a)||b.push(a):b=[g.G(a)];this.G.set(c,b)}},a)};
Cr=function(a,b){if(g.F(g.G(b)))return null;var c=a.G.get(b);return null!=c?c:null};
Dr=function(a,b,c){g.F(g.G(b))||(c=g.I(c,g.G),a.G.set(b,c))};
Er=function(a,b){var c=[g.G(b)];Wa(c,qfa(a));return c.join(";")};
qfa=function(a){var b=Cr(a,"ord");null!=b?g.F(g.G("ord"))||a.G.remove("ord"):b=[g.G((0,g.H)())];var c=[];(0,g.D)(a.G.Fb(),function(a){(0,g.D)(this.G.get(a),function(b){Wa(c,a+"="+b)})},a);
Wa(c,"ord="+b[0]);Dr(a,"ord",b);return c};
Gr=function(a){if(null==a)return!1;a=new g.Sm(a);var b=a.B;return kb(a.A,"googleads.g.doubleclick.net")&&Fr("/pagead/(live/)?ads",b)};
Hr=function(a){a=a.o;return null!=a?"bid.g.doubleclick.net"==(new g.Sm(a)).A:!1};
Ir=function(a){if(null==a)return!1;var b=new Br(a);a=b.A;b=Er(b,b.B);return!kb(a,".g.doubleclick.net")&&kb(a,"doubleclick.net")&&Fr("/(ad|pfad)[x|i|j]?/",b)};
Jr=function(a){if(null==a)return!1;a=new g.Sm(a);var b=a.B;return kb(a.A,"doubleclick.net")&&Fr("/gampad/(live/)?ads",b)};
rfa=function(a){return Gr(a.o)||Ir(a.o)||Jr(a.o)||Hr(a)};
Lr=function(a){a=a.o;return null!=a?Kr(a):!1};
Kr=function(a){a=new g.Sm(a);var b=a.B;return kb(a.A,"youtube.com")&&Fr("/get_midroll_info",b)};
sfa=function(a){a=a.o;if(null==a)return null;a=(new g.Sm(a)).o;return null!=a.get("ms")?g.G(a.get("ms")):null};
Fr=function(a,b){return g.F(g.G(b))?!1:(new RegExp(a)).test(b)};
Mr=function(a,b,c,d){this.o=a;this.A=b;this.B=c;this.C=null!=d?d:!1};
ap=function(a){a=a.o.Ub().o;return null!=a?a.o:window.NaN};
Nr=function(a,b){a.o.J=b;(0,g.D)(a.A,function(a){Nr(a,b)},a)};
Or=function(a){return Fp('<div class="'+R("iv-endcap-background")+'">'+(a.vK?'<a class="'+R("iv-endcap-slot")+'" href="'+R(Zp(a.target))+'" target="_blank"><div class="'+R("iv-endcap-card")+'"><div class="'+R("iv-endcap-image")+'"><img src="'+R($p(a.image))+'"></div><div class="'+R("iv-endcap-text")+'" dir='+Pp(a.dir)+'><div><div class="'+R("iv-endcap-headline")+'">'+Q(a.headline)+'</div><div class="'+R("iv-endcap-description")+'">'+Q(a.description)+'</div></div></div><div class="'+R("iv-endcap-action")+
'">'+(a.action?Q(a.action):'<span class="'+R("iv-endcap-action-icon")+'"></span>')+"</div></div></a>":'<div class="'+R("iv-endcap-slot")+'"><div class="'+R("iv-endcap-card")+'"><a class="'+R("iv-endcap-image")+'" href="'+R(Zp(a.target))+'" target="_blank"><img src="'+R($p(a.image))+'"></a><div class="'+R("iv-endcap-text")+'" dir='+Pp(a.dir)+'><a href="'+R(Zp(a.target))+'" target="_blank"><div class="'+R("iv-endcap-headline")+'">'+Q(a.headline)+'</div><div class="'+R("iv-endcap-description")+'">'+
Q(a.description)+'</div></a></div><a class="'+R("iv-endcap-action")+'" href="'+R(Zp(a.target))+'" target="_blank" dir='+Pp(a.dir)+">"+(a.action?Q(a.action):'<span class="'+R("iv-endcap-action-icon")+'"></span>')+"</a></div></div>")+'<div class="'+R("iv-endcap-bottom")+'"><svg class="'+R("iv-endcap-countdown")+'" viewBox="0 0 20 20"><circle class="'+R("iv-endcap-countdown-inner")+'" r="5" cx="10" cy="10"/><circle class="'+R("iv-endcap-countdown-outer")+'" r="10" cx="10" cy="10"/></svg></div></div>')};
tfa=function(a){var b='<div class="'+R("iv-cards-companion")+'"><div class="'+R("iv-cards-attribution")+'"><span class="'+R("yt-badge")+" "+R("yt-badge-ad")+'">'+Fp("Ad")+"</span>";if(Gp(a.advertiserName)&&Gp(a.Rc)){b+='<a class="'+R("ad-companion-clickthrough")+'" href="'+R(Zp(a.Rc))+'" target="_blank">';var c="Shop products from "+Q(a.advertiserName);b=b+c+"</a>"}b+='<div class="'+R("yt-uix-hovercard")+" "+R("ad-info-container")+'"><span class="'+R("yt-uix-hovercard-target")+'" data-position="topright" data-orientation="horizontal"><span class="ad-info-icon"></span></span><div class="'+
R("yt-uix-hovercard-content")+'"><p>'+Q(a.he)+'</p></div></div></div><div class="'+R("iv-cards-slider")+'"><div class="'+R("iv-cards-slider-body")+'"><ul class="'+R("iv-cards-slider-list")+'">';c=a.cards;for(var d=c.length,e=0;e<d;e++){var f=c[e],k='<li class="'+R("iv-cards-slider-item")+'">';f=Fp('<div class="'+R("iv-cards-slider-unit")+'"><a href="'+R(Zp(f.target))+'" target="_blank"><div class="'+R("iv-cards-slider-image")+'"><span class="'+R("iv-cards-image-helper")+'"></span><img src="'+R($p(f.image))+
'"></div><div class="'+R("yt-ui-ellipsis")+" "+R("yt-ui-ellipsis-4")+" "+R("iv-cards-slider-text")+'">'+Q(f.headline)+'</div><span class="'+R("iv-cards-slider-action")+'">'+Q(f.action)+"</span></a></div>");b+=k+f+"</li>"}b+="</ul></div>"+(a.dX?'<button class="'+R("iv-cards-slider-button")+" "+R("iv-cards-slider-prev")+'" type="button" onclick=";return false;"><span class="'+R("iv-cards-slider-prev-icon")+" "+R("yt-uix-tooltip")+" "+R("yt-sprite")+'" data-tooltip-text="'+R(a.pF)+'" title="'+R(a.pF)+
'"></span></button><button class="'+R("iv-cards-slider-button")+" "+R("iv-cards-slider-next")+'" type="button" onclick=";return false;"><span class="'+R("iv-cards-slider-next-icon")+" "+R("yt-uix-tooltip")+" "+R("yt-sprite")+'" data-tooltip-text="'+R(a.VD)+'" title="'+R(a.VD)+'"></span></button>':"")+"</div></div>";return Fp(b)};
ufa=function(a){return Fp('<div class="'+R("iv-website-companion")+'"><div class="'+R("yt-uix-hovercard")+" "+R("ad-info-container")+" "+R("iv-website-companion-ad-info")+'"><span class="'+R("yt-uix-hovercard-target")+'" data-position="topright" data-orientation="horizontal"><span class="ad-info-icon"></span></span><div class="'+R("yt-uix-hovercard-content")+'"><p>'+Q(a.he)+'</p></div></div><a href="'+R(Zp(a.target))+'" target="_blank">'+(a.Cz?'<img class="'+R("iv-website-companion-banner")+'" src="'+
R($p(a.Cz))+'">':"")+'<div class="'+R("iv-website-companion-block")+'"><div class="'+R("iv-website-companion-icon")+'"><img src="'+R($p(a.iconImageUrl))+'"></div><div class="'+R("iv-website-companion-text")+'"><div class="'+R("iv-website-companion-header")+'">'+Q(a.headline)+'</div><div class="'+R("iv-website-companion-desc")+'"><span class="'+R("yt-badge")+" "+R("yt-badge-ad")+'">'+Fp("Ad")+'</span><span class="'+R("iv-website-companion-domain")+'">'+Q(a.descriptionText)+'</span></div></div><div class="'+
R("iv-website-companion-action")+" "+R("yt-uix-button-size-default")+" "+R("yt-uix-button-primary")+'">'+(a.actionTitle?Q(a.actionTitle):'<span class="'+R("iv-website-companion-action-icon")+'"></span>')+"</div></div></a></div>")};
vfa=function(a){var b=Pr(a);if(!b)return{};var c=Qr(b);return c?{shoppingCompanionCarouselItemRenderer:{headline:Rr(b.Bd()),merchant:Rr(Sr(c)),image:{thumbnails:[{url:Tr(b).getImageUrl()}]},priceText:Rr(Ur(c)),clickthroughEndpoint:Vr(Wr(Xr(a)))}}:{}};
Rr=function(a){return{runs:[{text:a}]}};
Vr=function(a){a=a||"";return{webNavigationEndpointData:{url:a},urlEndpoint:{url:a,target:"TARGET_NEW_WINDOW"}}};
Yr=function(a){return{baseUrl:a}};
Zr=function(a,b){this.o=a;this.A=b};
lq=function(a){return a.A?-1:a.o};
kq=function(a,b){a.A&&(a.A=!1,a.o=a.o*b/100)};
wfa=function(a,b,c){b=c||b;a=a||{};return""+Kp("a",a.lp)(a,b)};
xfa=function(a){a=a||{};return Fp('<div class="'+R("videoAdUiAttributionIconContainer")+" "+R("standAloneAdInfoButton")+'"><div class="'+R("videoAdUiAttributionIcon")+'" id="videoAdUiAttributionIcon"></div><div class="'+R("videoAdUiAdInfoPopup")+'"><div class="'+R("videoAdUiAdInfoPopupCallout")+'"></div><div class="'+R("videoAdUiAdInfoPopupText")+'" '+Rp(cq(a.he))+">"+Q(a.he)+"</div></div></div>")};
yfa=function(a){return'<div class="'+R("videoAdUi")+'"><div class="'+R("videoAdUiTopBar")+'"><div class="'+R("videoAdUiAttributionContainer")+" "+R("videoAdUiAttributionContainer-gvn")+'"><div class="'+R("videoAdUiAttribution")+'" '+Rp(cq(a.uf))+">"+Q(a.uf)+'</div></div></div><div class="'+R("videoAdUiProgressBar")+'" dir="ltr"><div class="'+R("videoAdUiProgress")+'"></div></div></div>'};
zfa=function(a){return'<div class="'+R("videoAdUi")+'"><div class="'+R("videoAdUiTopBar")+'"><div class="'+R("videoAdUiAttributionContainer")+" "+R("videoAdUiAttributionContainer-gvn")+'"><div class="'+R("videoAdUiAttribution")+'" '+Rp(cq(a.uf))+">"+Q(a.uf)+'</div></div><div class="'+R("videoAdUiLearnMoreText")+" "+R("videoAdUiLearnMoreText-gvn")+'">'+Q(a.bi)+'<div class="'+R("videoAdUiLearnMoreIcon")+'"></div></div></div><div class="'+R("videoAdUiProgressBar")+'" dir="ltr"><div class="'+R("videoAdUiProgress")+
'"></div></div></div>'};
$r=function(){return Fp('<div class="'+R("videoAdUiPreSkipContainer")+'"><div class="'+R("videoAdUiPreSkipButton")+'"><div class="'+R("videoAdUiPreSkipText")+'"></div><div class="'+R("videoAdUiPreSkipThumbnail")+'" aria-hidden="true"></div></div></div>')};
as=function(a){a=a||{};return Fp('<div class="'+R("videoAdUiPreSkipContainer")+" "+R("videoAdUiPreSkipContainerPlainThumbnailCountdown")+'"><div class="'+R("videoAdUiPreSkipButton")+'"><div class="'+R("videoAdUiPreSkipText")+'">You can skip to'+Q(a.jl)+'video in</div><div class="'+R("videoAdUiPreSkipThumbnail")+'"><div class="'+R("videoAdUiPreSkipThumbnailCountdown")+'"><span class="'+R("videoAdUiPreSkipTextTimeLeft")+" "+(a.JK?R(a.JK):"")+'"></span></div></div></div></div>')};
bs=function(a){a=a||{};return"Your video will begin in "+Q(a.fe)};
cs=function(a){a=a||{};return"Ad will end"+(Q(a.jl)+("in "+Q(a.fe)))};
Afa=function(a){return Fp('<div class="'+R("videoAdUiBrandPrecapContainer")+" "+R("html5-stop-propagation")+'"><div class="'+R("videoAdUiBrandPrecapContent")+'"><div class="'+R("videoAdUiBrandPrecapImageContainer")+'" aria-hidden="true"><img class="'+R("videoAdUiBrandPrecapBrandImage")+'" src="'+R($p(a.yK))+'"></div><div class="'+R("videoAdUiBrandPrecapTextContainer")+'"><div class="'+R("videoAdUiBrandPrecapBrandName")+'">'+Q(a.brandName)+'</div><div class="'+R("videoAdUiBrandPrecapBrandMessage")+
'">'+Q(a.zK)+"</div></div></div></div>")};
Bfa=function(a){return Fp('<div class="'+R("videoAdUiBrandPrecapContainer")+" "+R("html5-stop-propagation")+'"><img class="'+R("videoAdUiBrandPrecapAutoGenImage")+'" src="'+R($p(a.wK))+'"></div>')};
Cfa=function(a){a=a||{};return Fp('<div class="'+R("videoAdUiBrandInteractionUnit")+" "+R("html5-stop-propagation")+'"><span class="'+R("videoAdUiBrandInteractionPreMessageText")+'">'+Q(a.preMessageText)+'</span><div class="'+R("videoAdUiBrandInteractionButtonContainer")+'"><button class="'+R("videoAdUiBrandInteractionButton")+" "+R("videoAdUiBrandInteractionLikeButton")+'"><div class="'+R("videoAdUiBrandInteractionIcon")+" "+R("videoAdUiBrandInteractionLikeIcon")+'"></div></button><span class="'+
R("videoAdUiBrandInteractionMessageBox")+" "+R("videoAdUiLikeMsg")+'"></span></div><div class="'+R("videoAdUiBrandInteractionButtonContainer")+'"><button class="'+R("videoAdUiBrandInteractionButton")+" "+R("videoAdUiBrandInteractionDislikeButton")+'"><div class="'+R("videoAdUiBrandInteractionIcon")+" "+R("videoAdUiBrandInteractionDislikeIcon")+'"></div></button><span class="'+R("videoAdUiBrandInteractionMessageBox")+" "+R("videoAdUiDislikeMsg")+'"></span></div></div>')};
Dfa=function(a){return Fp('<div class="'+R("videoAdUiBrandInteractionUnit")+" "+R("videoAdUiBrandInteractionUnitConfirmationMsg")+" "+R("html5-stop-propagation")+'"><div class="'+R("videoAdUiBrandInteractionPostMessageText")+'">'+Q(a.postMessageText)+"</div></div>")};
Efa=function(a){return'<div class="'+R("videoAdUiSkipContainer")+" "+R("html5-stop-propagation")+'"><button class="'+R("videoAdUiSkipButton")+" "+R("videoAdUiAction")+'">'+Q(a.rx)+'<div class="'+R("videoAdUiSkipIcon")+'"></div></button></div>'};
Ffa=function(a){return'<div class="'+R("videoAdUiSkipContainer")+" "+R("html5-stop-propagation")+'"><button class="'+R("videoAdUiSkipButton")+" "+R("videoAdUiAction")+'"><div class="'+R("videoAdUiSkipButtonExperimentalText")+'">'+Q(a.rx)+'</div><div class="'+R("videoAdUiSkipIcon")+'"></div></button></div>'};
Gfa=function(a){return'<div class="'+R("videoAdUiSkipContainer")+" "+R("html5-stop-propagation")+" "+R("videoAdUiSkipContainerWithThumbnail")+'"><div class="'+R("videoAdUiSkipText")+'">'+Q(a.rx)+'</div><button class="'+R("videoAdUiSkipButton")+" "+R("videoAdUiAction")+" "+R("videoAdUiSkipButtonWithThumbnail")+'"><div class="'+R("videoAdUiSkipIconContainer")+'"><div class="'+R("videoAdUiSkipIcon")+'"></div></div></button></div>'};
ds=function(a){var b="";2<=a.Ir&&1<=a.Ao?(a="Ad "+(Q(a.Ao)+(" of "+(Q(a.Ir)+(" "+Q(a.Gr))))),b+=a):(a="Ad "+Q(a.Gr),b+=a);return b};
hs=function(){var a=es(),b=Fp("</a>");return Fp("<div class='"+R("videoAdUiAdSettingsLongTooltip")+"'>"+fs({Dz:gs(""+Q(a)),uA:gs(""+Q(b))})+"</div>")};
fs=function(a){a="Visit Google's "+(Q(a.Dz)+("Ad Settings"+(Q(a.uA)+" to learn more about how ads are targeted or to opt out of personalised ads.")));return Fp(a)};
is=function(){return Fp("The video you're watching.")};
es=function(){return Fp('<a href="https://web.archive.org/web/20181027110332/https://adssettings.google.com/" target="_blank">')};
js=function(a){return Fp((a.Ox?"<div class='"+R("videoAdUiPopupBackgroundMobile")+"'>":"<div class='"+R("videoAdUiPopupBackground")+"'>")+"<div class='"+R("videoAdUiPopupCloseIcon")+'\'><svg height="100%" viewBox="0 0 24 24" width="100%"><path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z" fill="#fff"></path></svg></div><div class=\''+R("videoAdUiPopupPositioner")+"'><form class='"+R("videoAdUiPopupFrame")+"'><div class='"+R("videoAdUiPopupHeading")+
" "+R("videoAdUiHideIfEmpty")+"'>"+Q(a.heading)+"</div><div class='"+R("videoAdUiPopupText")+"'>"+Q(a.message)+"</div><div class='"+R("videoAdUiPopupButtons")+"'>"+Q(a.buttons)+"</div></form></div></div>")};
Hfa=function(a){for(var b="<ul class='"+R("videoAdUiWhyThisAdReasons")+" "+R("videoAdUiHideIfEmpty")+"'>",c=a.targetingReasons,d=c.length,e=0;e<d;e++)b+="<li>"+Q(c[e])+"</li>";b+="</ul><div class='"+R("videoAdUiWhyThisAdGenericMessage")+"'>"+Q(a.Pt)+"</div><a class='"+R("videoAdUiWhyThisAdMute")+" "+R("videoAdUiHideIfEmpty")+"'>"+Q(a.mute)+"</a><a class='"+R("videoAdUiWhyThisAdControl")+" "+R("videoAdUiHideIfEmpty")+"' href='https://web.archive.org/web/20181027110332/https://adssettings.google.com/' target='_blank'>"+Q(a.control)+"</a>";a=
""+js({heading:gs(""+Q(a.heading)),message:gs(b),buttons:gs("<button class='"+R("videoAdUiWhyThisAdCloseButton")+" "+R("videoAdUiPopupDefaultButton")+"'>"+Q(a.close)+"</button>"),Ox:a.Ox});return Fp(a)};
Ifa=function(a){for(var b=""+Q(a.question),c=a.options,d=c.length,e=0;e<d;e++){var f=c[e];b+="<label for='"+R("videoAdUiMuteOption")+R(e)+"'><input type='radio' id='"+R("videoAdUiMuteOption")+R(e)+"' name='"+R("videoAdUiMuteOption")+"' class='"+R("videoAdUiMuteOption")+R(e)+"'/>"+Q(f)+"</label>"}a=""+js({heading:gs(Q(a.heading)+" <a class='"+R("videoAdUiMuteUndo")+"'>"+Q(a.undo)+"</a>"),message:gs(b),buttons:gs("<button class='"+R("videoAdUiMuteCancel")+" "+R("videoAdUiPopupButton")+"'>"+Q(a.cancel)+
"</button><button class='"+R("videoAdUiMuteConfirm")+" "+R("videoAdUiPopupDefaultButton")+"'>"+Q(a.confirm)+"</button>")});return Fp(a)};
Jfa=function(a){var b=String(""+a.heading);return Fp(js({heading:b?new zp(b,void 0):"",message:gs(""+Q(a.message)),buttons:gs("<button class='"+R("videoAdUiMuteCancel")+" "+R("videoAdUiPopupButton")+"'>"+Q(a.cancel)+"</button><button class='"+R("videoAdUiMuteConfirm")+" "+R("videoAdUiPopupDefaultButton")+"'>"+Q(a.confirm)+"</button>")}))};
Kfa=function(){return Fp("<div class='"+R("videoAdUiMuteToggleButton")+"'><div class='"+R("videoAdUiMutedIcon")+'\'><svg width="100%" height="100%" viewBox="0 0 16 16"><path d="M2.398,5.5496307 L0,5.5496307 L0,10.4483665 L2.4,10.4483665 L7,15.5093253 L7,0.4886719 L2.398,5.5496307 Z" fill="#fff"></path><path d="M9.6314915,5.9285684 L10.6837982,4.9386188 L12.8157457,6.9442323 L14.9476933,4.9386188 L16,5.9285684 L13.8680525,7.9341818 L16,9.9397952 L14.9476933,10.9297447 L12.8157457,8.9241313 L10.6837982,10.9297447 L9.6314915,9.9397952 L11.7634391,7.9341818 L9.6314915,5.9285684 Z" fill="#fff"></path></svg></div><div class=\''+
R("videoAdUiUnmutedIcon")+'\'><svg width="100%" height="100%" viewBox="0 0 16 16"><path d="M2.398,5.5496307 L0,5.5496307 L0,10.4483665 L2.4,10.4483665 L7,15.5093253 L7,0.4886719 L2.398,5.5496307 Z" fill="#fff"></path><path d="M9,11.4457379 C10.7427023,10.9390412 12,9.5931906 12,7.9969959 C12,6.4008011 10.7427023,5.0549506 9,4.5492552 L9,11.4457379 Z" fill="#fff"></path><path d="M14.2494529,8 C14.2494529,11.0361747 12.0131291,13.5866817 9,14.3156841 L9,16 C12.9934354,15.2419577 16,11.9484291 16,8 C16,4.0505695 12.9934354,0.7570409 9,0 L9,1.6833146 C12.0131291,2.4123169 14.2494529,4.9638253 14.2494529,8 L14.2494529,8 Z" fill="#fff"></path></svg></div></div>')};
ks=function(a,b,c){zq.call(this,"1",Lfa,"Html",null,"dummy");this.G=0;this.yb=a.length;Cq(this,new g.hn(this));this.O=Mfa(a,b);this.Qa=g.K("iv-cards-slider-list",this.O);if(this.W=g.K("iv-cards-slider-prev",this.O))this.B.X(this.W,"click",this.Ha),g.O(this.W,!1);(this.ga=g.K("iv-cards-slider-next",this.O))&&this.B.X(this.ga,"click",this.Ob);a=g.K("ad-companion-clickthrough",this.O);this.B.X(this.O,"click",g.Da(function(a,b,c){c.target!=a&&Yn(b)},a,c))};
Mfa=function(a,b){var c=(0,g.I)(a,function(a){var b=Pr(a),c=Qr(b);a=Xr(a);return{headline:b.Bd(),description:ls(b,"description"),image:Tr(b).getImageUrl(),action:Ur(c),target:Wr(a),merchant:Sr(c)}}),d=3<a.length;
return Pq(tfa,{cards:c,advertiserName:c[0].merchant,VD:Fp("Next"),pF:Fp("Previous"),he:hs(),Rc:b,dX:d})};
ms=function(a){a.Qa.style.left=125*-a.G+"px";a.W&&g.O(a.W,0<a.G);a.ga&&g.O(a.ga,a.G<a.yb-3)};
ps=function(a){zq.call(this,"1",Nfa,"Html",null,"website_actions_companion");Cq(this,new g.hn(this));var b=a.o(),c=b&&b.Rg(),d=b&&b.Ap();a=Xr(a);b={headline:b&&b.Bd()||"",iconImageUrl:c&&c.getImageUrl()||"",Cz:d&&d.getImageUrl()&&-1==d.getImageUrl().indexOf("/default_banner")&&d.getImageUrl()||"",actionTitle:a&&ns(a)||"",descriptionText:b&&os(b)||"",target:a&&Wr(a)||"",he:hs()};this.G=Pq(ufa,b)};
Ofa=function(){if(!g.Hd)return!1;try{return new window.ActiveXObject("MSXML2.DOMDocument"),!0}catch(a){return!1}};
ts=function(a,b){if(b&&!a)throw Error("Can't create document with namespace and no root tag");if(window.document.implementation&&window.document.implementation.createDocument)return window.document.implementation.createDocument(b||"",a||"",null);if(qs){var c=rs();if(c)return a&&c.appendChild(c.createNode(1,a,b||"")),c}throw Error("Your browser does not support creating new documents");};
g.us=function(a){if("undefined"!=typeof window.DOMParser)return(new window.DOMParser).parseFromString(a,"application/xml");if(qs){var b=rs();b.loadXML(a);return b}throw Error("Your browser does not support loading xml documents");};
vs=function(a){var b=a.xml;if(b)return b;if("undefined"!=typeof window.XMLSerializer)return(new window.XMLSerializer).serializeToString(a);throw Error("Your browser does not support serializing XML documents");};
rs=function(){var a=new window.ActiveXObject("MSXML2.DOMDocument");a.resolveExternals=!1;a.validateOnParse=!1;try{a.setProperty("ProhibitDTD",!0),a.setProperty("MaxXMLSize",2048),a.setProperty("MaxElementDepth",256)}catch(b){}return a};
ws=function(a){return ao(Pfa,null,a.parentNode.nodeName,a.nodeName)};
xs=function(a){return ao(Qfa,null,a.parentNode.nodeName,a.nodeName)};
ys=function(a){var b=ts(a.tagName,a.namespaceURI),c=g.Yd(b);c||(c=b.createElementNS(a.namespaceURI,a.tagName),b.appendChild(c));for(var d=0;d<a.attributes.length;d++){var e=a.attributes.item(d);c.setAttribute(e.name,e.value)}for(;d=a.firstChild;)c.appendChild(d);return b};
zs=function(a,b){return null!=a?(0,g.Vd)(g.Wd(a),function(a){return a.nodeName==b}):[]};
As=function(a,b){var c=a.getAttribute(b);return null!=c?c.toLowerCase():null};
Bs=function(a,b){if(null==a)return null;for(var c="",d=0,e=a.childNodes.length;d<e;d++){var f=a.childNodes[d];switch(f.nodeType){case 4:case 3:c+=f.nodeValue}}c=wb(c);return b?pb(c):c};
Cs=function(a,b,c,d){if(null!=a){a=g.Wd(a);for(var e=0,f=a.length;e<f;e++){var k=a[e];if(k.nodeName!=b)throw ws(k);c.call(d,k)}}};
Ds=function(a){a=g.G(a);return g.F(a)?window.NaN:g.Bb(a)};
Es=function(a,b){if(null!=a){var c=a.split(":");if(3==c.length)return c=new Do(0,0,0,g.Bb(c[0]),g.Bb(c[1]),g.Bb(c[2])),60*(60*(24*c.days+c.hours)+c.minutes)+c.seconds}return null!=b?b:-1};
Fs=function(a,b){var c=g.G(a);if(!g.F(c))switch(c.toLowerCase()){case "true":case "1":return!0;case "false":case "0":return!1}return null!=b?b:!1};
Is=function(a,b,c){var d=new eq;Cs(a,"Tracking",function(a){var b=As(a,"event"),e=Bs(a);Gs(e)&&null!=b&&(null!=c&&(e=c(b,e)),"progress"==b?(a=As(a,"offset"),a=Hs(a),null!=a&&jq(d,b,e,a)):jq(d,b,e))});
return d};
Rfa=function(a){if(g.F(g.G(a)))return null;a=new g.Sm(a);if("thismessage"!=a.C||"extensions"!=a.A)return null;a=a.B;if(!g.jb(a,"/"))return null;a=a.substr(1);return g.F(g.G(a))?null:a};
Hs=function(a){if(g.F(g.G(a)))return null;var b=a.indexOf("%");if(0<b){if(a=Number(a.substr(0,b)),!(0,window.isNaN)(a)&&0<=a)return new Zr(a,!0)}else if(a=Es(a),0<=a)return new Zr(a,!1);return null};
Gs=function(a){if(g.F(g.G(a)))return!1;try{new g.Sm(a)}catch(b){return!1}return!0};
Js=function(a,b){Gq.call(this);this.A=a;this.B=b};
Ks=function(){};
Ls=function(a,b){Gq.call(this,b);this.A=a};
Ms=function(a){Gq.call(this);this.A=a};
Os=function(a,b,c,d,e,f,k,l,m,n,p,r,v,z){this.yb=a;this.pa=b;this.W=c;this.Kb=d;this.La=(0,window.isNaN)(e)||""==e||0==e?-1:e;this.oa=f?g.Va(f):[];this.K=k?g.Va(k):[];this.F=l?g.Va(l):[];this.ka=[];this.J=[];this.N=null;this.ca=[];this.Da=!0;this.A=this.o=this.H=null;this.aa=new g.Mm(n);this.sa=null!=z;this.zb=(this.ga=null!=p)?r||!1:!1;this.Hb=this.vN?v||!1:!1;this.Sb=g.G(p);this.qc=g.G(z);this.Ob=this.B=null;this.C=new wea;this.ba=new g.sd(0,0);this.L=String(Math.floor(1E9*Math.random()));this.Va=
this.ha=this.O=this.G=null;this.fb=(0,g.H)();this.Qa=this.Ha=0;this.xa=this.wa=!1;this.D=[];this.ia=null;this.Ba=!1;(0,g.D)(this.F,function(a){a.J=this},this);
Ns(this,m)};
jr=function(a){var b=a.getExtension("AdFormat",!0);if(null!=b&&kb(b.A+"_"+b.B+"_"+b.C,"2_4"))return b.A+"_"+b.B+"_"+b.C;b=Ps(a);b=Qs(a,Rs)?"14":hp(b,"hideMaster")||hp(b,"blockAllAds")?"3":a.Zb()?Ss(a)?"2_3":a.isSkippable()?Ts(a)?"2_1":"2_2":"2":"1";return Sfa(a)+"_"+b};
Sfa=function(a){if(kr(a))return 4;if(Qs(a,Rs))return 14;if(Us(a,Tfa))return 17;if(Us(a,Ufa))return 15;if(Us(a,Vfa)||Us(a,Wfa))return 1;var b=Kn();return b&&b.o("fix_petra_ad_format")&&(null!=a.B?(b=a.B.o,null!=b&&kb(b,"/PrefetchedAd")&&null!=a.A&&(b=a.A.aa.get("LocalRedirect"),b=null!=b?b.Lh():null)):b=null,null!=b&&(Jr(b)||Ir(b)))?1:Vs(a)?2:0};
Ws=function(a){return null!=a.pa?a.pa:""};
Xs=function(a){return null!=a.A?g.Ua(Xs(a.A),a.oa):a.oa};
Ys=function(a){return null!=a.A?g.Ua(Ys(a.A),a.K):a.K};
Zs=function(a){return null!=a.A?g.Ua(a.J,Zs(a.A)):a.J};
Ps=function(a){return null!=a.o?a.o.H:{}};
Xfa=function(a){var b={};(0,g.D)(a.F,function(a){a=a.H;for(var c in a)b[c]=a[c]});
return b};
$s=function(a){return null!=a.o?a.o.xa:""};
at=function(a){return a.getExtension("why_this_ad",!0)};
bt=function(a){return a.getExtension("mute",!0)};
ct=function(a,b){var c=[];(0,g.D)(a.aa.xb(),function(a){Wa(c,Hq(a,b))});
return c};
lr=function(a,b){a.o=b;a.ba=new g.sd(0,0);if(null!=a.o){a.o instanceof zq&&(a.ba=a.o.pe());var c=a.A;if(null!=c){var d=qq(a.o,c)||qq(a.o,c,!0);lr(c,d)}}P.o()&&Yfa(a)&&g.Na(Zs(a))?P.o()&&P.B?(c=a.D,g.Na(c)?c={}:(d=Pr(c[0])&&Qr(Pr(c[0]))&&Sr(Qr(Pr(c[0])))||"",d="Shop products from "+Q(d),d=Fp(d),c={shoppingCompanionCarouselRenderer:{shopText:Rr(pb(d.toString())),itemList:{horizontalListRenderer:{items:(0,g.I)(c,vfa),visibleItemCount:3,webHorizontalListRendererExtensionData:{nextButton:{buttonRenderer:{style:"STYLE_DEFAULT",
size:"SIZE_DEFAULT",icon:{iconType:"CHEVRON_RIGHT"}}},previousButton:{buttonRenderer:{style:"STYLE_DEFAULT",size:"SIZE_DEFAULT",icon:{iconType:"CHEVRON_LEFT"}}}}}},adBadgeText:Rr(Fp("Ad").toString()),clickToAdvSiteEndpoint:Vr(dt(a)),clickTrackingEndpoints:[{loggingUrls:(0,g.I)(ct(a,"companionClick"),Yr)}],impressionEndpoints:[{loggingUrls:(0,g.I)(ct(a,"companionImpression"),Yr)}]}}),a.H=c):Zfa(a,a.D):P.o()&&g.Na(Zs(a))&&!Kn().o("website_actions_holdback")&&et(a,a.D)};
ft=function(a){return null!=a.yb?a.yb:""};
ht=function(a){var b=Kn(),c=!1;b&&b.o("report_full_ad_systems_in_youtube_tracking_pings")&&(c=!0);if(null==a.A||gt(a.A.W)&&!c)return[];b=[ft(a.A)];Wa(b,ht(a.A));return b};
gr=function(a){var b=ht(a).reverse();b.push(ft(a));return b};
it=function(a){if(null==a.A||gt(a.A.W))return[];var b=a.A.o;null!=b?(b=b.ka,b=null!=b?b:""):b="";b=[b];Wa(b,it(a.A));return b};
jt=function(a){var b=Kn(),c=!1;b&&b.o("report_full_ad_systems_in_youtube_tracking_pings")&&(c=!0);if(null==a.A||gt(a.A.W)&&!c)return[];b=[Ws(a.A)];Wa(b,jt(a.A));return b};
kt=function(a){if(a.A){var b=kt(a.A);if(b)return b}return(a=a.getExtension("metrics"))?a.A:null};
ir=function(a){return(a=a.getExtension("viral",!0))?a.A:null};
hr=function(a){var b=jt(a).reverse();b.push(Ws(a));return b};
gt=function(a){return"YT:ADSENSE"==a||"YT:DOUBLECLICK"==a};
lt=function(a){if(null==a.A)return[a.W];var b=lt(a.A);b.push(a.W);gt(b[0])&&b.shift();return b};
mt=function(a){a=a.getExtension("waterfall");return null!=a&&-1!=a.Be()?a.Be():-1};
nt=function(a){if(-1!=a.La)return a.La;a=a.getExtension("pod");return null!=a&&-1!=a.A?a.A:-1};
ot=function(a){a.Ba||(a.Ba=!0,a.ia.K++,null!=a.A&&ot(a.A))};
pt=function(a){if(a.ia instanceof zr){var b=a.ia;if(0<Ar(b))return b}return null!=a.A?pt(a.A):null};
qt=function(a,b,c,d){a=Zs(a);return cp(new $o(new g.sd(b,c),d),a)};
rt=function(a){var b=a.B.zk,c=a.B.yk;if(!b||!c)if(a=a.B.o?bh(a.B.o,"sz"):null)a=a.split("x"),2==a.length&&(b=(0,window.parseInt)(a[0],10)||0,c=(0,window.parseInt)(a[1],10)||0);return new g.sd(b,c)};
$fa=function(a,b){var c=g.Ia(a.ca,function(a){return 4==a.Yb()&&tt(a.Ze())});
if(c){var d=c.o();if(!d.Rg().getImageUrl()){var e=new ut;e.data.image_url=b.channelIconThumbnailUrl;d.Rg=function(){return e}}d.Bd()||(d.Bd=function(){return b.authorName});
c.o=function(){return d}}};
aga=function(a){var b=(0,g.Vd)(a,function(a){return tt(a.Ze())});
0==b.length&&0<a.length&&Kn().o("enable_ad_video_end_renderers")&&(b=a.slice(1,2));return b};
Zfa=function(a,b){var c=(0,g.Vd)(b,function(a){return vt(a.Ze())});
g.Na(c)&&(c=b);c=new ks(c,dt(a),ct(a,"companionClick"));c.J=a;c.F=!0;wt(a,new Mr(c,[],null,!0))};
cga=function(a,b){var c=g.Ia(a.D,function(a){return 4==a.Yb()&&vt(a.Ze())});
if(!c)return null;var d=c.o();if(!d.Rg().getImageUrl()){var e=new ut;e.data.image_url=b.channelIconThumbnailUrl;d.Rg=function(){return e}}if(!d.Ap().getImageUrl()){var f=new ut,k=g.Ia(Zs(a),function(a){return"Image"==a.Ad()});
f.data.image_url=k&&k.o.A||b.o;d.Ap=function(){return f}}d.Bd()||(d.Bd=function(){return b.authorName});
c.o=function(){return d};
return c};
et=function(a,b){var c=g.Ia(b,function(a){return 4==a.Yb()&&vt(a.Ze())});
if(c){var d=c.o(),e=d&&d.Rg().getImageUrl(),f=d&&d.Ap().getImageUrl(),k=d&&d.Bd();e&&k&&(P.B?(c=Xr(c),a.H={actionCompanionRenderer:{headline:k,iconImageUrl:e,bannerImageUrl:f,actionTitle:c&&ns(c)||void 0,descriptionText:d&&os(d)||void 0,target:c&&Wr(c)||void 0,impressionEndpoints:[{loggingUrls:(0,g.I)(ct(a,"companionImpression"),function(a){return{baseUrl:a}})}]}}):(d=new ps(c),d.J=a,d.F=!0,wt(a,new Mr(d,[],null,!0))))}};
dga=function(a){if(!a.B||xt(a)&&!Qs(a,["ADSENSE/ADX"]))return[];var b=rt(a);if(0>=b.width||0>=b.height)return[];var c=new Wo;c.creativeType="All";c.B="All";c.C="SelectNearMatch";c.o=40;var d=qt(a,b.width,b.height,c);if(!g.Na(d))return d;c.A="ResizeSmaller";d=(0,g.Vd)(Zs(a),function(a){return a.o.Xm()},a);
return cp(new $o(new g.sd(b.width,b.height),c),d)};
At=function(a){if(g.Na(a.ca))return!1;var b=Kn();if(15>zt(a))return!1;var c=a.ca[0].Yb();if(4==c){var d=a.ca[0].o();a=d&&d.Rg().getImageUrl();d=d&&d.Bd();if(!a||!d)return!1}return b.o("enable_ad_video_end_renderers")&&1==c||!b.o("website_actions_holdback")&&4==c};
ega=function(a){var b=null,c=0;(0,g.D)(dga(a),function(a){var d=rt(this);d=!a.o.Xm()||a.ub()<=d.width&&a.getHeight()<=d.height?a.o.pe():ep(a.o.pe(),d);d=d.width*d.height;d>c&&(c=d,b=a)},a);
return b};
Bt=function(a,b){return b||null==a.A?a.ka:g.Ua(a.ka,Bt(a.A))};
Ns=function(a,b){a.ka=b?g.Va(b):[];(0,g.D)(a.ka,function(a){Wa(this.J,g.Va(a.o))},a);
(0,g.D)(a.J,function(a){Nr(a,this)},a);
if(P.o()&&(a.Zb()&&(a.J=(0,g.Vd)(a.J,function(a){return 60>=a.getHeight()})),P.B)){var c=a.J&&a.J[0];
if(c&&"Static"===c.o.N){var d=c.o.Bf(),e=c.o.L;Wa(e,ct(a,"companionClick"));var f=ct(a,"companionImpression"),k=c.ub(),l=c.getHeight();a.H={imageCompanionAdRenderer:{impressionCommands:[{loggingUrls:(0,g.I)(f,function(a){return{baseUrl:a}}),
pingingEndpoint:{hack:!0}}],onClickCommands:[{loggingUrls:(0,g.I)(e,function(a){return{baseUrl:a}}),
pingingEndpoint:{hack:!0}}],image:{thumbnail:{thumbnails:[{url:c.o.A,width:k,height:l}]}},clickthroughEndpoint:{urlEndpoint:{url:d}}}}}}};
Ct=function(a,b){return(0,g.Pj)(a.F,function(a){return a instanceof sq&&"linear"==b||a instanceof zq&&"nonlinear"==b?!0:!1})};
Dt=function(a){var b=a.o;return xt(a)&&null!=b&&b instanceof zq&&(90<a.ba.height||null!=a.B&&a.B.kk)};
Et=function(a,b){if(null==b)return null;var c=b.getExtension("adx");return null!=c?c:Et(a,b.A)};
fga=function(a,b){var c=Ft(a);if(!c)return null;kq(c,b);return lq(c)};
Ft=function(a){var b=a.A,c=Et(a,b);if(null!=c){if("skippable"==c.A)return c.B;if("nonskippable"==c.A)return null}c=null;var d=new Zr(5,!1),e=gga(a);"implicit"==e&&(c=d);var f=a.o;null==c&&null!=f&&f instanceof sq&&(c=f.F);null!=c||"explicit"!=e||(c=d);e=Kn();return P.o()&&a.Zb()&&null!=c?e.o("enable_skip_button_offset_mutation")?c:d:null==c&&null!=b&&e.o("ima_check_wrapper_skippability")?Ft(b):c};
gga=function(a){if(null!=g.Ia(a.aa.xb(),function(a){return!g.Na(Hq(a,"skip"))}))return"implicit";
var b=a.aa.get("DFP");if(b instanceof Ls)switch(b.A){case "InstreamSelect":return"implicit";case "Generic":return"explicit"}a=a.o;return P.o()&&null!=a&&(a=a.Dk,null!=a&&!g.Na(hq(a,"skip")))?"explicit":"none"};
Ts=function(a){return null!=a.pa&&null!=a.B?!0:!1};
dt=function(a){return null===a.o?null:a.o.Bf()};
zt=function(a){return null!=a.o?a.o.getDuration():-1};
Gt=function(a){return null===a.N?At(a)?7:0:10};
Ht=function(a){return null===a.o?null:a.o.Iu()};
It=function(a){return null===a.o?null:a.o.Hu()};
xt=function(a){return Qs(a,Jt)||Qs(a,["ADSENSE-VIRAL"])};
kr=function(a){return null!=a.A&&kr(a.A)||Qs(a,hga)};
Ss=function(a){var b=Ht(a);return Qs(a,["402"])||g.w(b)&&null!==b.match("//web.archive.org/web/20181027110332/https://s0.2mdn.net/instream/html5/survey/survey.html")};
Kt=function(a){return xt(a)&&Ts(a)&&!a.isBumper()&&!g.F(g.G(a.G))&&null!==Ft(a)&&0<lq(Ft(a))};
Vs=function(a){return Us(a,Jt)||Us(a,["402"])};
Lt=function(a){a=a.getExtension("InfoCards");return null!=a?a.A:null};
Mt=function(a){a=a.getExtension("InfoCardsTracking");return null!=a?a.A:null};
Qs=function(a,b){return null!=a.pa?g.Ma(b,a.W):!1};
Us=function(a,b){for(var c=lt(a),d=c.length-1;0<=d;d--)if("UNKNOWN"!=c[d]){if(g.Ma(b,c[d]))return!0;break}return!1};
wt=function(a,b){a.J=[b]};
Yfa=function(a){return a.Zb()&&0<a.D.length&&(0,g.Am)(a.D,function(a){return 1==a.Yb()})};
Nt=function(a){return 0<a.D.length&&(0,g.Am)(a.D,function(a){return 4==a.Yb()})};
Ot=function(a,b){g.Pf.call(this);this.o=a;this.Re=new g.hn(this);g.M(this,this.Re);this.Re.X(b,["companion_impression","companion_click"],this.A)};
Pt=function(){g.Pf.call(this);this.F=this.J=this.L=this.G=!1;this.o=0;this.B=[];this.H=!1;this.O=this.N=window.Infinity;this.A=0;this.D=!1;this.C=new g.hn(this);this.K={}};
iga=function(a){Qt(a);!(a.Ui instanceof g.Pf)&&"ontouchstart"in window.document.documentElement&&no()?(a.K={touchstart:(0,g.B)(a.SV,a),touchmove:(0,g.B)(a.CM,a),touchend:(0,g.B)(a.RV,a)},g.Hb(a.K,function(a,c){this.Ui.addEventListener(c,a,!1)},a)):a.C.X(a.Ui,"click",a.AB)};
Qt=function(a){a.C.Ia(a.Ui,"click",a.AB);g.Hb(a.K,function(a,c){this.Ui.removeEventListener(c,a,!1)},a);
a.K={}};
jga=function(a,b){a.B=[];(0,g.D)(b,function(a){g.Pa(this.B,a.identifier)},a)};
Rt=function(a,b){return(0,g.Pj)(b,function(a){return g.Ma(this.B,a.identifier)},a)};
g.St=function(a){if(!kga.test(a))throw Error("'"+a+"' is not a valid hex color");4==a.length&&(a=a.replace(lga,"#$1$1$2$2$3$3"));a=a.toLowerCase();return[(0,window.parseInt)(a.substr(1,2),16),(0,window.parseInt)(a.substr(3,2),16),(0,window.parseInt)(a.substr(5,2),16)]};
g.Tt=function(a){if(!mga.test(a))throw Error("'"+a+"' is not a valid alpha hex color");5==a.length&&(a=a.replace(nga,"#$1$1$2$2$3$3$4$4"));a=a.toLowerCase();return[(0,window.parseInt)(a.substr(1,2),16),(0,window.parseInt)(a.substr(3,2),16),(0,window.parseInt)(a.substr(5,2),16),(0,window.parseInt)(a.substr(7,2),16)/255]};
g.Ut=function(a){var b=a.slice(0);b[3]=Math.round(1E3*a[3])/1E3;return"rgba("+b.join(",")+")"};
g.Vt=function(){g.Pf.call(this);this.o=0;this.endTime=this.startTime=null};
Wt=function(a,b){g.xa(b)||(b=[b]);var c=(0,g.I)(b,function(a){return g.w(a)?a:a.property+" "+a.duration+"s "+a.timing+" "+a.delay+"s"});
g.xh(a,"transition",c.join(","))};
Xt=function(a,b,c,d,e){g.Vt.call(this);this.A=a;this.D=b;this.G=c;this.B=d;this.F=g.xa(e)?e:[e]};
Yt=function(a,b){g.Pf.call(this);this.G=b;this.va=a;this.Cj=null;this.Z=new g.hn(this);g.M(this,this.Z);this.A=new Pt;g.M(this,this.A);var c=Re(hf(a.o),df,6);this.C=(this.o=null!=Ne(c,5)&&!!Ne(c,5))||null==Ne(c,7)?"#000000FF":Ne(c,7);this.B=this.o||null==Ne(c,8)?"#FFFFFFFF":Ne(c,8);c=this.o?{wK:g.G(Ne(c,6))}:{brandName:g.G(Ne(c,1)),zK:g.G(Ne(c,3)),yK:g.G(Ne(c,2))};this.gf=oga(this,c);null!=this.gf&&g.O(this.gf,!1);b.appendChild(this.gf);this.Z.X(this.A,"click",this.F);this.A.Cb(this.gf)};
oga=function(a,b){if(a.o){var c=Pq(Bfa,b);var d=g.K("videoAdUiBrandPrecapAutogenImage",c)}else{c=Pq(Afa,b);d=g.K("videoAdUiBrandPrecapContent",c);null!=a.C&&(c.style.backgroundColor=g.Ut(g.Tt(a.C)));if(null!=a.B){var e=g.K("videoAdUiBrandPrecapBrandName",d),f=g.K("videoAdUiBrandPrecapBrandMessage",d);e.style.color=g.Ut(g.Tt(a.B));f.style.color=g.Ut(g.Tt(a.B))}d=g.K("videoAdUiBrandPrecapImageContainer",d);d=g.K("videoAdUiBrandPrecapBrandImage",d)}null!=d&&(d.e6=function(){return!1});
return c};
Zt=function(a,b){(new Xt(a.gf,.2,{opacity:b?"0":"1"},{opacity:b?"1":"0"},[{property:"opacity",duration:.2,timing:"ease-in-out",delay:0}])).play()};
$t=function(a,b){var c=g.je(g.Zd(a.G),"html5-video-player");null!=c&&g.T(c,"ytp-ad-display-override",b)};
au=function(a,b){var c={action:"condor-brand-precap",event:b,ei:"[EID]",cpn:"[CPN]",content_v:"[CONTENT_V]",ad_cpn:"[AD_CPN]",ad_v:"[AD_V]",ad_id:"[AD_ID]",ad_len:"[AD_LEN]"};c=null!=c?c:{};var d=new g.Sm("//web.archive.org/web/20181027110332/https://www.youtube.com/gen_204");g.Tm(d,"https");c=en(c);Xm(d,c);d=d.toString();d=g.qn(d,a.va.Ha);Un(d)};
bu=function(a,b,c,d,e,f){Gq.call(this,f);this.B=a;this.D=b;this.F=c;this.C=d;this.A=e};
cu=function(a){return null!=a.A?a.A.length:0};
du=function(a,b,c,d,e,f,k,l,m,n){Gq.call(this,e);this.A=a;this.C=b;this.D=c||"";this.F=d||[];this.B=f||null;this.H=k||null;this.L=l||null;this.G=m||null;this.K=n||null};
eu=function(a,b){this.C=a;this.A=b;this.B=this.Z=this.D=this.o=null;this.F=gi()};
gu=function(a,b,c){null!=b&&(a.Z=new g.hn(a),a.B=new g.Pf,a.B.ti(c),a.D=b,a.hF(),fu(a,"why_this_ad_url"))};
hu=function(a,b,c){b=g.K(b,a.o);null!=b&&a.Z.X(b,"click",c)};
iu=function(a,b,c){null!=a.o&&a.o.parentElement.removeChild(a.o);a.o=Pq(b,c);hu(a,"videoAdUiPopupCloseIcon",a.ck);a.D.appendChild(a.o);b=g.K("videoAdUiPopupFrame",a.o);null!=b&&g.Bf(b,"submit",function(a){a.preventDefault()});
a=g.K("videoAdUiPopupDefaultButton",a.o);null!=a&&a.focus()};
fu=function(a,b){null!=a.B&&a.B.dispatchEvent(b)};
ju=function(){this.uf=ds({Gr:"",Ao:0,Ir:0});this.bi="Learn More "+Q({AX:""}.AX);this.visitAdvertiserText="Visit Advertiser's Site";this.he=hs();this.skipOffset=null;this.J=this.Ob=this.W=this.aa=!1;this.L=null;this.ba=6E3;this.C=!0;this.ha=!1;this.ka=this.D=this.ia=!0;this.F=!1;this.N=!P.F;this.sa=this.pa=this.oa=!1;this.H=!0;this.O=this.Ba=this.yb=this.xa=this.G=!1;this.Ha={};this.ca=null;this.showContentThumbnail=!0;this.K=!1;this.o=null;this.wa=!1;this.ri=-1;this.isBumper=this.Da=!1;this.breakType=
0;this.A=!1};
ku=function(a,b,c,d,e,f){var k=new ju;k.G=a;k.La=b;k.skipOffset=c;k.isBumper=d;k.ga=null!=e?e.contentId:null;k.ia=e.XX;k.ca=wfa;k.Qa=Tq(b,null!=c,e.Zj);k.showContentThumbnail=null!=e.contentId&&e.showContentThumbnail;k.o=e.vB;k.wa=e.UK;null!=f&&(k.Ha=f);null==c&&(a=Kn(),d&&a.o("show_countdown_on_bumper")&&(k.W=!0,k.aa=!0),a.o("show_thumbnail_on_standard")&&(k.aa=!0),!d&&a.o("persist_text_on_preview_button")&&(k.Ob=!0));P.o()&&null!=k.o&&null!=Ne(k.o,1)&&(d=hf(k.o),null!=Ne(d,6)&&(d=Re(d,df,6),null!=
Ne(d,5)&&(Ne(d,5)&&null!=Ne(d,6)||null!=Ne(d,1)&&null!=Ne(d,2)&&null!=Ne(d,3))&&(k.J=!0,null!=Ne(d,4)&&(k.L=Ne(d,4)))));return k};
lu=function(a,b,c){a.B=new eu(b,c);b=null!=b?b.A:void 0;c="<span class='"+R("videoAdUiAdSettingsShortTooltip")+"'>";c=b?c+Q(b):c+"Click for Ad Settings";b=Fp(c+"</span>");a.he=b};
mu=function(a,b,c,d,e){return new Xt(a,b,{opacity:d},{opacity:e},{property:"opacity",duration:b,timing:c,delay:0})};
nu=function(a,b){return mu(a,b,"ease-out",0,1)};
ou=function(a){return mu(a,.5,"ease-in",1,0)};
qu=function(a,b){g.Pf.call(this);this.Z=new g.hn(this);g.M(this,this.Z);this.va=a;this.G=b;this.F=!1;this.D=this.B=this.C=null;var c=a.o;c=this.o=null!=c&&null!=hf(c)?Re(hf(c),af,3):null;this.J=null!=c&&null!=Ne(c,7)&&1==Ne(c,7)?!0:!1;if(null==this.o||null==Ne(this.o,7))c=null;else{c=Ne(this.o,7);var d=Ne(this.o,8);c=null!=d&&g.Ma(pga,c)?d:null}this.D=c;c=Pq(Cfa,{preMessageText:this.D||""});d=g.K("videoAdUiLikeMsg",c);g.ce(d,"I like this");d=g.K("videoAdUiDislikeMsg",c);g.ce(d,"I dislike this");null!=
this.o&&(d=Ne(this.o,7),d=null!=d?qga[d]:null,null!=d&&g.S(c,d));rga(this,c);d=g.K("videoAdUiBrandInteractionLikeButton",c);null!=d&&pu(this,d);d=g.K("videoAdUiBrandInteractionDislikeButton",c);null!=d&&pu(this,d);g.O(c,!1);this.A=c;this.G.appendChild(this.A)};
rga=function(a,b){if(null!=a.o){var c=a.o.Ze();c=null!=c?sga[c]:null;null!=c&&(0,g.D)(c,function(a){g.S(b,a)})}};
tga=function(a){return null!=a.o&&null!=Ne(a.o,8)?Ne(a.o,10):null};
vga=function(a){if(null==a.o||null==Ne(a.o,7))return null;var b=Ne(a.o,7);a=Ne(a.o,9);return null!=a&&g.Ma(uga,b)?a:null};
pu=function(a,b){var c=new Pt;a.Z.X(c,"click",a.H);c.Cb(b)};
wga=function(a){if(null!=a.D){var b=tga(a);if(null!=b){var c=g.K("videoAdUiBrandInteractionPreMessageText",a.A);if(null!=c){var d=ou(c);g.Cg(function(){d.play();g.Cg(function(){g.O(c,!1)},500,this)},1E3*b,a)}}}};
xga=function(a){if(null!=a.o&&null!=Re(a.o,bf,15)){var b=Re(a.o,bf,15),c=Ne(b,1),d=Ne(b,2);b=Ne(b,3);a.dispatchEvent(new wn("yt-show-toast",null,{toastMessage:c,toastActionMessage:d,toastActionUrl:b}))}};
yga=function(a){if(null!=a.o){var b=vga(a);if(null!=b){var c=Pq(Dfa,{postMessageText:b});a.G.appendChild(c);g.Cg(function(){nu(c,.5).play();var a=ou(c);g.Cg(function(){a.play()},3E3,this)},500,a)}}};
tu=function(){g.Pf.call(this);this.o=!1;this.B=this.C=this.A=null;this.Z=new g.hn(this);this.A=Pq(Kfa);this.C=g.K("videoAdUiUnmutedIcon",this.A);this.B=g.K("videoAdUiMutedIcon",this.A);ru(this);this.Z.X(this.A,"click",this.D)};
ru=function(a){a.C&&a.B&&(a.o?(g.xh(a.C,"display","none"),g.xh(a.B,"display","block")):(g.xh(a.C,"display","block"),g.xh(a.B,"display","none")))};
uu=function(a,b){g.Pf.call(this);this.va=a;this.H=null;a.o&&hf(a.o)&&(this.H=Re(hf(a.o),Ze,1));this.G=1;this.O=this.D=this.o=this.A=this.B=null;this.K=Kn().B("preskip_countdown_font_size");this.C=a.W;this.Z=new g.hn(this);g.M(this,this.Z);this.J=new Pt;g.M(this,this.J);this.F=!a.isBumper&&this.H&&Ne(this.H,27);this.N=!a.Ob;this.L=Kn().o("enable_simple_preview_for_postrolls_html5")&&3==this.va.breakType;var c=$r;this.F&&(c=as);var d={};if(this.K)switch(this.K){case "font_size_17":d.countdownFontSizeClass=
"countdownTextFontSize17";break;case "font_size_14":d.countdownFontSizeClass="countdownTextFontSize14";break;case "font_size_11":d.countdownFontSizeClass="countdownTextFontSize11"}this.B=Pq(c,d);this.A=g.K("videoAdUiPreSkipButton",this.B);this.o=g.K("videoAdUiPreSkipText",this.A);g.S(this.o,"videoAdUiPreviewText");this.D=g.K("videoAdUiPreSkipThumbnail",this.A);this.O=g.K("videoAdUiPreSkipTextTimeLeft",this.A);this.F&&g.O(this.o,!1);this.L||this.va.A?this.C&&(g.ce(this.o,cs({fe:"",jl:"\n"})),g.S(this.o,
"videoAdUiPreviewTextPostroll")):this.C?g.ce(this.o,bs({fe:""})):g.ce(this.o,"Video will play after ad");c=Vq(this.va.ga)||"";this.va.showContentThumbnail&&!g.F(g.G(c))?(d=g.Od("img"),d.setAttribute("src",c),g.S(d,"videoAdUiPreSkipThumbnailImage"),this.D.appendChild(d)):this.C?(g.O(this.D,!1),g.S(this.A,"videoAdUiPreSkipButtonNoThumbnail"),g.S(this.o,"videoAdUiPreSkipTextOnlyCentered")):g.O(this.A,!1);g.O(this.B,!1);b.appendChild(this.B);this.Z.X(this.J,"click",this.W);this.J.Cb(this.D)};
vu=function(a,b,c){0>c||!b||(a.L||a.va.A?g.ce(b,cs({fe:c,jl:"\n"})):g.ce(b,a.F?c:bs({fe:c})))};
g.wu=function(a,b,c){g.L.call(this);this.Ja=null;this.B=!1;this.D=a;this.C=c;this.o=b||window;this.A=(0,g.B)(this.uL,this)};
xu=function(a){a=a.o;return a.requestAnimationFrame||a.webkitRequestAnimationFrame||a.mozRequestAnimationFrame||a.oRequestAnimationFrame||a.msRequestAnimationFrame||null};
yu=function(a){a=a.o;return a.cancelAnimationFrame||a.cancelRequestAnimationFrame||a.webkitCancelRequestAnimationFrame||a.mozCancelRequestAnimationFrame||a.oCancelRequestAnimationFrame||a.msCancelRequestAnimationFrame||null};
g.U=function(a,b,c){g.L.call(this);this.o=a;this.Fd=b||0;this.A=c;this.B=(0,g.B)(this.dB,this)};
g.zu=function(a,b){a.isActive()||a.start(b)};
g.Au=function(a){a.stop();a.dB()};
g.Bu=function(a){a.isActive()&&g.Au(a)};
Du=function(a,b){g.Pf.call(this);this.config=a;this.ka=0;this.ga=!1;this.state=0==lq(this.config.skipOffset)?3:1;this.G=this.F=this.B=null;this.xa=Kn().B("preskip_countdown_font_size");this.A=this.W=this.skipButton=this.Ba=this.pa=null;this.hc=new g.hn(this);this.J=this.C=null;this.O=new Pt;this.sa="";this.ia=!1;var c=a.o;c=this.o=null!=c&&null!=hf(c)?Re(hf(c),Ze,1):null;this.Da=null!=c&&Ne(c,19)?!0:!1;this.ba=this.o&&Ne(this.o,28);c=this.o;this.K=null!=c&&Ne(c,24)?!0:!1;c=this.o;this.Ha=null!=c&&
Ne(c,23)?!0:!1;c=this.o;this.La=null!=c&&Ne(c,25)?!0:!1;var d={};if(this.xa)switch(this.xa){case "font_size_17":d.countdownFontSizeClass="countdownTextFontSize17";break;case "font_size_14":d.countdownFontSizeClass="countdownTextFontSize14";break;case "font_size_11":d.countdownFontSizeClass="countdownTextFontSize11"}this.Da?(c=as,d.newline="\n"):c=$r;this.B=Pq(c,d);this.F=g.K("videoAdUiPreSkipButton",this.B);this.G=g.K("videoAdUiPreSkipText",this.F);this.pa=g.K("videoAdUiPreSkipTextTimeLeft",this.F);
this.Ba=g.K("videoAdUiPreSkipThumbnail",this.F);this.Ha&&g.O(this.G,!1);this.ba&&g.S(this.B,"countdownNextToThumbnail");Kn().o("use_forced_linebreak_preskip_text")&&!this.ba&&(this.ia=!0,g.S(this.G,"videoAdUiPreSkipTextForcedLineBreak"));Cu(this,0);c=Vq(this.config.ga)||"";this.config.showContentThumbnail&&!g.F(g.G(c))?(d=g.Od("img"),d.setAttribute("src",c),g.S(d,"videoAdUiPreSkipThumbnailImage"),this.Ba.appendChild(d)):P.o()?(g.S(this.F,"videoAdUiPreSkipButtonNoThumbnail"),g.S(this.G,"videoAdUiPreSkipTextOnlyCentered"),
g.S(this.G,"videoAdUiPreSkipTextOnlyStaticFontSize")):g.S(this.G,"videoAdUiPreSkipTextOnly");d=!P.o()&&P.W;var e=null!=(this.o&&null!=Re(this.o,gf,3)&&!this.K)||this.config.A,f=P.o()&&Kn().o("fixed_padding_skip_button")&&!this.K;this.A=Pq(this.K?Gfa:d||e||f?Ffa:Efa,{rx:wb("Skip Ad "+Q({wX:""}.wX))});this.ba&&g.S(this.A,"countdownNextToThumbnail");this.skipButton=g.K("videoAdUiSkipButton",this.A);e&&(this.W=g.K("videoAdUiSkipButtonExperimentalText",this.skipButton));if(e=d||P.o()&&Kn().o("use_new_skip_icon")){var k=
g.K("videoAdUiSkipIcon",this.skipButton);null!=k&&g.Nq(k,"videoAdUiSkipIcon","videoAdUiExperimentalSkipIcon")}f||d?(g.S(this.skipButton,f?"videoAdUiFixedPaddingSkipButton":"videoAdUiRedesignedSkipButton"),c=g.K("videoAdUiSkipButtonExperimentalText",this.skipButton),null!=c&&g.S(c,"videoAdUiFixedPaddingSkipButtonText"),g.S(g.K(e?"videoAdUiExperimentalSkipIcon":"videoAdUiSkipIcon",this.skipButton),"videoAdUiFixedPaddingSkipButtonIcon")):this.K&&this.config.showContentThumbnail&&!g.F(g.G(c))&&(d=g.Od("img"),
d.setAttribute("src",c),g.S(d,"videoAdUiPreSkipThumbnailImage"),this.skipButton.appendChild(d));this.La&&(c=g.K("videoAdUiSkipText",this.A),g.O(c,!1));zga(this);"4.4.4"===(g.ro?vo(so):"")&&(this.F.style.backgroundColor="black",this.skipButton.style.backgroundColor="black");g.O(this.B,!1);b.appendChild(this.B);0==lq(this.config.skipOffset)?this.dispatchEvent("skipshown"):(g.O(this.A,!1),g.Th(this.A,0));b.appendChild(this.A);Kn().o("move_skip_button_to_top")&&(g.S(this.B,"videoAdUiHighPreSkipContainer"),
g.S(this.A,"videoAdUiHighSkipContainer"));this.hc.X(this.O,"click",this.vX);this.K?this.O.Cb(this.A):this.O.Cb(this.skipButton)};
Cu=function(a,b){var c=null!=a.config.skipOffset&&-1!=lq(a.config.skipOffset)?lq(a.config.skipOffset):-1;if(!(0>c)){var d=Math.ceil(c-b);c=d.toString();60<=d&&(c=fp(d));d=Kn().o("enable_simple_preview_for_postrolls_html5")&&3==a.config.breakType;var e=a.sa;d?e=a.ia?"postrollforcedlinebreak":"postroll":a.ia&&(e="forcedlinebreak");d={lp:e,fe:c,jl:"\n"};a.Da&&null!=a.pa?g.ce(a.pa,c):a.ba?g.ce(a.G,c):(c=a.G,d=d||{},d=""+Kp("b",d.lp)(d,void 0),g.ce(c,d))}};
Eu=function(a){return new Xt(a,.5,{opacity:1,visibility:"shown"},{opacity:.9,visibility:"hidden"},{property:"opacity",duration:.5,timing:"ease-out",delay:0})};
Fu=function(a,b){null!=a.F&&g.O(a.F,b);null!=a.skipButton&&g.O(a.skipButton,b)};
zga=function(a){if(null!=a.o){var b=null!=Re(a.o,ef,1)&&null!=Re(Re(a.o,ef,1),ff,1)?Ne(Re(Re(a.o,ef,1),ff,1),1):null,c=null!=Re(a.o,ef,2)&&null!=Re(Re(a.o,ef,2),ff,1)?Ne(Re(Re(a.o,ef,2),ff,1),1):null;b&&(a.skipButton.style.backgroundColor=g.Ut(g.Tt(b)),c&&(a.hc.X(g.Zd(a.skipButton),"mouseover",function(){this.skipButton.style.backgroundColor=g.Ut(g.Tt(c))}),a.hc.X(g.Zd(a.skipButton),"mouseout",function(){this.skipButton.style.backgroundColor=g.Ut(g.Tt(b))})));
if(null!=a.W)if(a.config.A)g.ce(a.W,"Skip Ads");else if(null!=Re(a.o,gf,3)){var d=Zaa(Re(a.o,gf,3));0<d.length&&Ne(d[0],1)&&g.ce(a.W,Ne(d[0],1))}}};
Ku=function(a,b){Du.call(this,a,b);var c=this.o;this.ca=null!=c&&Ne(c,8)?!0:!1;this.oa=!1;this.D=this.N=null;c=this.o;var d=Gu;null!=c&&(null!=Ne(c,10)&&Ne(c,10)||null!=Ne(c,9)&&!Ne(c,9))&&(d=Hu);this.L=d;c=this.o;d=Iu;null!=c&&(null!=Ne(c,12)&&Ne(c,12)||null!=Ne(c,11)&&!Ne(c,11))&&(d=Ju);this.aa=d;c=this.o;d=.5;this.ca||null==c||null==Ne(c,26)||(c=Ne(c,26),d=(null==c?c:+c)||0);this.ha=d;this.H=0};
Lu=function(a){null==a.D&&"4.4.4"!=(g.ro?vo(so):"")&&1!=a.H&&(g.lf(a.C),a.C=null,a.D=g.Cg(function(){mu(this.A,.5,"ease-in",1,this.ha).play();this.H=1;this.D=null},0,a))};
Nu=function(a,b){if(0!=a.H){if(b){if(null!=a.D||"4.4.4"==(g.ro?vo(so):""))return;a.D=g.Cg(function(){mu(this.A,.5,"ease-in",this.ha,1).play();this.D=null},0,a)}else Mu(a),g.Th(a.A,1);
a.H=0}};
Mu=function(a){null!=a.D&&(g.Dg(a.D),a.D=null)};
Ou=function(a){null!=a.N&&(g.Dg(a.N),a.N=null)};
Pu=function(a,b,c){var d=null;switch(c){case Iu:null!=b&&null!=b.skipOffset&&(d=1E3*(a-lq(b.skipOffset)));break;case Ju:a=g.y("window.yt.util.activity.getTimeSinceActive"),d=(a=null!=a?a().toString():null)?Eb(a):null}return d};
Qu=function(a,b){var c=1E3*a.kA;null!=b&&null!=Ne(b,13)&&(c=Ne(b,13));return c};
Ru=function(a,b,c,d,e,f,k,l,m){this.B=a;this.L=b;this.D=c;this.F=d;this.A=e;this.G=f;this.H=k;this.J=l;this.K=m;this.o=this.B.Mg()};
Su=function(a){var b=a.o;var c=g.Qh(a.C);c="left"==a.D?"0px":"right"==a.D?c.width-a.B.pe().width+"px":a.D+"px";var d=g.Qh(a.C);a="bottom"==a.F?"0px":"top"==a.F?d.height-a.B.pe().height+"px":d.height-a.B.pe().height-Eb(a.F)+"px";g.xh(b,{position:"absolute",overflow:"hidden",left:c,bottom:a})};
Aga=function(a){g.Uh(a.o)||(g.O(a.o,!0),(0,g.D)(a.K,function(a){Un(a)}))};
Tu=function(a,b,c,d){g.Pf.call(this);this.va=a;this.zb=this.ha=!1;this.ga=c;this.Da=d;this.fb=this.Ha=this.La=this.K=this.O=this.H=this.N=this.ka=this.A=this.B=this.Va=this.ia=this.ca=this.G=this.pa=this.W=this.F=this.D=this.L=this.ba=this.C=this.oa=this.Ba=this.xa=this.J=this.o=null;this.Z=new g.hn(this);this.sa=[];a=this.va;this.Kb=null!=a&&null!=a.o&&null!=hf(a.o)?Re(hf(a.o),$e,2):null;this.aa=[];this.Pu(b)};
Bga=function(a){null!=a.B&&g.O(a.B,!1)};
Uu=function(a){a.A&&(a.A.dispose(),a.A=null)};
Vu=function(a,b){a.sa=b;(0,g.D)(b,function(a){a.C=this.o;a.C.appendChild(a.o);Su(a);g.O(a.o,!1);var b=a.Lc();if(null!=b){var c=new Pt;c.D=!0;this.aa.push(c);this.Z.X(c,"click",(0,g.B)(this.wM,this,a));c.Cb(b)}},a)};
Wu=function(a){null!=a.C&&(g.O(a.C,!0),g.ce(a.C,a.va.visitAdvertiserText));null!=a.ba&&g.O(a.ba,!0)};
Xu=function(a,b){if(null!=a.o){var c=g.je(g.Zd(a.o),"html5-video-player");null!=c&&(g.T(c,"ytp-ad-end-cap",b),Kn().o("desktop_trv_action_endcap_background_clickable")&&g.T(c,"ytp-endcap-background-clickable",b),g.T(c,"ytp-ad-display-override",b))}};
Zu=function(a){var b=a.va.H&&(a.ga>a.va.ba||0==a.ga),c=b&&a.va.yb,d=b&&a.va.Ba,e=b&&a.va.F,f=b&&a.va.sa;b=b&&a.va.O;var k=a.va.pa&&a.va.D,l="0px";var m=a.Kb;m=P.o()&&null!=m&&Ne(m,1)?!1:!0;null!=a.G&&(g.O(a.G,b),null!=a.L&&g.O(a.L,c),null!=a.D&&g.O(a.D,d),null!=a.K&&(g.O(a.K,f),f&&a.dispatchEvent("videoShareShown")),null!=a.Ha&&g.O(a.Ha,!1),null!=a.fb&&g.O(a.fb,!1),null!=a.ca&&(Kn().o("mweb_enable_video_ad_top_bar_fix")&&g.S(a.ca,"videoAdUiTopBarFlex"),g.O(a.ca,b||c||d||e)));null!=a.J&&g.O(a.J,a.va.C);
null!=a.ia&&(g.O(a.ia,k),k&&(l=Bh(a.ia,"height")));null!=a.pa&&!P.o()&&g.xh(a.pa,"bottom",l);Yu(a);null!=a.xa&&g.O(a.xa,a.va.ha);null!=a.oa&&g.O(a.oa,m);P.o()||!a.va.N||P.F||(null!=a.F&&g.O(a.F,!1),null!=a.W&&g.O(a.W,!1))};
$u=function(a,b,c,d,e){var f=ds({Gr:"",Ao:0,Ir:0});a.va.D&&a.va.ka&&(b=fp(c-b),f=ds({Gr:a.va.K?" \u2022 "+b:a.ha?" \u00b7 "+b:": ("+b+")",Ao:d,Ir:e}));g.ce(a.Ba,f);g.O(a.J,a.va.C)};
Cga=function(a,b){null!=a.ka&&a.ka.show(b)};
Yu=function(a){var b=a.va.H&&(a.ga>a.va.ba||0==a.ga)&&a.va.F?a.va.N?!P.F||a.zb:!0:!1;null!=a.F&&g.O(a.F,b);null!=a.W&&g.O(a.W,P.o()&&a.va.G&&!b)};
av=function(){g.L.call(this);this.C="";this.jb=null;this.B=new eq;this.A=new g.Mm;this.F=[];this.J=!1;this.o={};this.H={};this.D=-1;this.G=[]};
Dga=function(a,b){null!=b&&(0,g.D)(b,function(a){g.Ma(this.G,a)||this.G.push(a)},a)};
bv=function(a,b,c){null!=c.viewability&&dr(a.o,c.viewability);var d;P.A||(d=So().J||void 0);var e=[];(0,g.D)(b,function(a){var b=this.o;er(b,a,"MOAT_INIT",c.moatInit);er(b,a,"MOAT_VIEWABILITY",c.moatViewability);er(b,a,"IAS_VIEWABILITY",c.integralAdsViewability);er(b,a,"DV_VIEWABILITY",c.doubleVerifyViewability);er(b,a,"GOOGLE_VIEWABILITY",c.googleViewability);e.push(Wn(a,this.o,c,d))},a);
dr(a.o,"na");return e};
cv=function(a,b,c){(0,g.D)(b,function(a){Un(a,void 0,void 0,c)},a)};
Ega=function(a,b){switch(b){case "abandon":return!Om(a.A,b)&&!Om(a.A,"skip")&&!Om(a.A,"instreamAdComplete")&&(Om(a.A,"impression")||a.J);case "instreamAdComplete":case "complete":return!Om(a.A,b)&&!Om(a.A,"skip");case "progress":case "click":case "mute":case "unmute":case "rewind":case "fullscreen":case "exitfullscreen":case "expand":case "collapse":return!0;default:return!Om(a.A,b)}};
dv=function(a){g.Pf.call(this);this.ads=a;this.xc=null;this.Re=new g.hn(this);g.M(this,this.Re);this.hd="normal";this.Oa=this.volume=null;this.Wa=new Oo;this.Ee=!1;this.content={};this.fc=new av;this.Ta=null;this.Zo=!1;So();this.Yr=(0,g.B)(this.tL,this);var b=0;(0,g.D)(a,function(a){b+=a.getDuration()});
(0,g.D)(a,function(b,d){var c=b.C;c.Le=a.length;var f=d+1;c.o=f;c.B=f})};
ev=function(a,b){if(a.xc=b)a.fc.C=b.L;if(P.A){var c=kp();op(c,a.Yr);b&&c.A.set(b.L,a.Yr)}};
fv=function(a,b){return null==b?!1:null!=b.getExtension("adx")?!0:fv(a,b.A)};
gv=function(a){return(0,g.Pj)(a.ads,function(a){return(0,g.Pj)(this.Mh(a),function(a){a=a.Xa();return!g.F(g.G(Sq(a)))})},a)};
hv=function(a){a=a.o;return null!=a&&a instanceof sq};
iv=function(a,b){a.fc.report(new g.of(b));a.ma(b)};
Fga=function(a,b){return(0,g.Am)(g.Qb(b),function(a){return Sb(this.Wa,a)},a)};
kv=function(a){if(!a.Dc())throw bo(jv,null,"Ads manager is not correctly configured.");};
lv=function(a,b){for(var c=b;null!=c;)(0,g.D)(c.aa.xb(),a.RW,a),c=c.A};
Gga=function(a){if(!g.xa(a))throw bo(jv,null,"adsRenderingSettings.mimeTypes should be an array");var b=g.Ua(g.Pb(mv),g.Pb(wq));(0,g.D)(a,function(a){if(!g.Ma(b,a))throw bo(jv,null,"Invalid or unsuppoted mime type "+a);})};
nv=function(a){var b=a.ra();if(null!=b){var c=b.o;if(c instanceof sq&&(c=c.wa,null!=c&&!g.Na(c))){var d=window.document.body,e=cr(a.ra());e=ku(!1,null,null,!1,a.Wa,e);e.H=!1;e.C=!1;e.D=!1;b=b.cf();a.Ta=new Tu(e,d,1E3*a.getDuration(),b);Vu(a.Ta,c);a.Ta.show();a.Za().X(a.Ta,"videoIconClicked",a.wT)}}};
ov=function(a,b,c){null!=a.Ta&&0<=c&&0<=b&&a.Ta.update(b,0,c,0,0)};
Hga=function(a,b){function c(a,b,c){for(var d in b)for(var e=d.toLowerCase(),f=0;f<a.length;f++){var n=a[f];if(e==n)throw Error('Cannot override "'+n+'" '+c+', got "'+d+'" with value "'+b[d]+'"');}}
c(pv,a,"attribute");c(pv,b,"param")};
g.qv=function(){};
g.rv=function(a){g.Pf.call(this);this.J=a||g.yd();this.Ja=null;this.hf=!1;this.o=null;this.F=void 0;this.G=this.L=this.D=null};
tv=function(a,b){if(a.hf)throw Error("Component already rendered");a.o||a.Lp();b?b.insertBefore(a.o,null):a.J.o.body.appendChild(a.o);a.D&&!a.D.hf||a.jk()};
uv=function(a,b){a.L&&(0,g.D)(a.L,b,void 0)};
vv=function(a,b){g.rv.call(this,b);this.H=a;this.Z=new g.hn(this);this.A=new g.Mm};
wv=function(a){return a.na()?a.na().firstChild:null};
xv=function(a){g.Pf.call(this);this.jb=null;this.F=a;this.A=null;this.C=-1;this.D=!1;this.B=Ab()};
yv=function(){};
zv=function(a,b,c){this.o=a;this.Tf=c;this.A=b};
Iga=function(a,b){this.o=a;this.A=b};
Av=function(a,b,c,d){zq.call(this,a,b,"Static",c,d);this.Hz=!1};
Bv=function(a,b,c,d){zq.call(this,a,b,"Html",c,d)};
Cv=function(a,b,c,d){zq.call(this,a,b,"Static",c,d)};
Ev=function(a,b,c){if(g.Na(c))return new zq(a,b,"",null,"");var d=Dv(c);c=d.A;var e=d.o;d=d.B;switch(c){case "Html":return new Bv(a,b,e,d);case "Static":switch(wq[e]){case "Image":return new Cv(a,b,e,d);case "Flash":return new Av(a,b,e,d);case "Text":return new Rq(a,b)}}return new zq(a,b,c,e,d)};
Dv=function(a){var b=g.Ia(a,function(a){return"Static"==a.A&&"Flash"==wq[a.o]}),c=g.Ia(a,function(a){return"IFrame"==a.A}),d=g.Ia(a,function(a){return"Html"==a.A}),e=g.Ia(a,function(a){return"Static"==a.A&&"Image"==wq[a.o]}),f=g.Ia(a,function(a){return"Static"==a.A&&"Text"==wq[a.o]});
return dp&&null!=b?b:null!=c?c:null!=d?d:null!=e?e:null!=f?f:a[0]};
Jga=function(a,b,c,d,e,f){var k=Dv(f),l=Ev(a.id,a.size,[k]);l.F=!0;l.K=a.apiFramework;l.pa=b;l.L=c;l.o=d;e&&(l.Dk=e);g.Sa(f,k);var m=[];(0,g.D)(f,function(f){f=Ev(a.id,a.size,[f]);f.F=!0;f.K=a.apiFramework;f.pa=b;f.L=c;f.o=d;e&&(f.Dk=e);m.push(new Mr(f,[],a.adSlotId))});
return new Mr(l,m,a.adSlotId)};
Fv=function(a,b,c){this.A=a;this.o=b;this.B=c};
Gv=function(a,b,c){Gq.call(this);this.A=a;this.B=b;this.C=c};
Hv=function(){this.jb=null};
Iv=function(){this.D=null;this.F="https://web.archive.org/web/20181027110332/http://www.google.com/adsense/support";this.G=0;this.o=15;this.C=5;this.B=3;this.A=!1};
Kga=function(a,b){a.o=b};
Jv=function(a,b,c,d,e,f,k,l,m,n,p){Gq.call(this,n,p);this.D=a;this.F=b;this.C=c;this.G=m;this.H=k;this.A=f;this.B=e};
Kv=function(){};
Mga=function(a,b){var c;(0,g.D)(g.Wd(b),function(a){switch(a.nodeName){case "context":c="default"==a.getAttribute("data")?new Iv:null;break;case "params":null!=c&&Lga(this,c,a)}},a);
return c};
Lga=function(a,b,c){(0,g.D)(g.Wd(c),function(a){var c=a.attributes[0].value;switch(a.nodeName){case "attribution_url":b.F=c;break;case "attribution_text":b.D=c;break;case "signals":b.G=(0,window.parseInt)(c,10);break;case "audio_muted_on_start":b.A=Fs(c,!1)}},a)};
Lv=function(){this.jb=null};
Mv=function(){};
Nv=function(){};
Ov=function(){};
Pv=function(a){var b=a;if(a instanceof Array)for(var c=b=Array(a.length),d=0;d<a.length;++d)a.hasOwnProperty(d)&&(c[d]=Pv(a[d]));else a instanceof Object&&(b={},Qv(b,a));return b};
Qv=function(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=Pv(b[c]))};
Rv=function(a){return{BA:a}};
Sv=function(a,b,c){this.type=a;this.label=b;this.Ae=c};
Tv=function(a,b){return new Sv(a,1,b)};
Uv=function(a){new Sv(a,2,void 0)};
Vv=function(a,b){return new Sv(a,3,b)};
Wv=function(a){return Tv("m",a)};
Xv=function(a){return Vv("m",a)};
Yv=function(a){this.data=a||{}};
Zv=function(a,b,c){a=a.data[b];return null!=a?a:c};
$v=function(a,b){return!!Zv(a,b,void 0)};
ls=function(a,b){return Zv(a,b,"")};
aw=function(a,b,c){a=a.data;a[b]||(a[b]=[]);return a[b][c]};
Nga=function(a){for(var b=bw,c=[],d=0;d<cw(a,"event");d++)c.push(new b(aw(a,"event",d)));return c};
cw=function(a,b){return a.data[b]?a.data[b].length:0};
dw=function(a){this.data=a||{}};
ew=function(a){this.data=a||{}};
fw=function(a){this.data=a||{}};
gw=function(a){this.data=a||{}};
bw=function(a){this.data=a||{}};
hw=function(a){this.data=a||{}};
iw=function(a){this.data=a||{}};
jw=function(a){this.data=a||{}};
ut=function(a){this.data=a||{}};
Pr=function(a){return new hw(a.data.product_card)};
Xr=function(a){return new gw(aw(a,"action",0))};
tt=function(a){return $v(a,"show_in_endcap")};
vt=function(a){return $v(a,"show_in_companion")};
pw=function(){if(!kw){var a={};kw=Rv(a);a.type=lw;a.id=mw;a.link_url=mw;a.title=mw;a.image=Wv(nw());a.event=Xv(ow());a.target=mw;a.priority=mw}return kw};
ns=function(a){return ls(a,"title")};
Wr=function(a){return ls(a,"target")};
ow=function(){if(!qw){var a={};qw=Rv(a);a.type=lw;a.base_url=mw}return qw};
Tr=function(a){return new ut(a.data.image)};
Qr=function(a){return new iw(aw(a,"offer",0))};
Sr=function(a){return ls(a,"merchant")};
Ur=function(a){return ls(a,"price")};
rw=function(a){return new gw(aw(a,"action",0))};
os=function(a){return ls(a,"description")};
nw=function(){if(!tw){var a={};tw=Rv(a);a.image_url=mw;a.thumbnail_url=mw;a.image_height=uw;a.image_width=uw;a.label=mw}return tw};
vw=function(a,b,c){Gq.call(this,c);this.A=a;this.B=b||null};
ww=function(a){this.o=a};
yw=function(a,b,c){for(var d={},e=0;e<b.attributes.length;e++){var f=b.attributes[e],k=c.BA[f.nodeName];if(k)switch(k.type){case "b":d[f.nodeName]="false"!=f.nodeValue;break;case "d":case "f":d[f.nodeName]=(0,window.parseFloat)(f.nodeValue);break;case "e":d[f.nodeName]=xw[b.nodeName][f.nodeName][f.nodeValue];break;case "i":d[f.nodeName]=(0,window.parseInt)(f.nodeValue,10);break;default:d[f.nodeName]=f.nodeValue}}for(e=0;e<b.childNodes.length;e++)if(f=b.childNodes[e],f.nodeType==window.Node.ELEMENT_NODE&&
(k=c.BA[f.nodeName],null!=k)){var l=yw(a,f,k.Ae);3==k.label?(d[f.nodeName]||(d[f.nodeName]=[]),d[f.nodeName].push(l)):d[f.nodeName]=l}return d};
Oga=function(a,b){var c=new eq;(0,g.D)(g.Wd(b),function(a){"CustomTracking"==a.nodeName&&null!=g.Wd(a)&&(c=Is(a,!1,(0,g.B)(function(a,b){return zw(a,b)},this)))},a);
return c};
zw=function(a,b){return g.qn(b,{ACTTYPE:{toString:function(){switch(a){case "video_card_endcap_action":return"action_headline_click";default:return""}}}})};
Aw=function(a,b){Gq.call(this);this.B=a;this.A=g.G(b)};
Bw=function(a){Gq.call(this);this.A=a};
Cw=function(){this.jb=null};
Dw=function(a,b){this.logger=null;this.B=b;this.o={};this.A=[];this.o.CustomTracking=Is;this.o.UI=this.D};
Ew=function(a,b){if(null==b)return null;var c={};(0,g.D)(g.Wd(b),function(a){c[a.nodeName]=null!=this.o[a.nodeName]?this.o[a.nodeName].call(this,a):null},a);
return null==c.UI?null:c};
Fw=function(){Dw.call(this,"MuteExtensionParser","mute_");this.o.SurveyOptions=this.C};
Gw=function(){Gq.call(this);this.A=""};
Hw=function(){this.jb=null};
Iw=function(a,b,c,d){Gq.call(this);this.C=a;this.B=b;this.D=c;this.A=d};
Jw=function(){this.jb=null};
Kw=function(a){Gq.call(this,a)};
Lw=function(){};
Mw=function(){Gq.call(this)};
Nw=function(){this.jb=null};
Pga=function(a,b){var c;(0,g.D)(g.Wd(b),function(a){a.nodeName==this.o.UJ&&(c=Bs(a))},a);
return c};
Ow=function(a,b,c,d,e,f){Gq.call(this);this.D=a||"";this.F=b||"";this.G=c||"";this.C=d;this.A=e;this.B=f};
Pw=function(){this.jb=null};
Qw=function(a){Gq.call(this);this.A=a};
Rw=function(){this.jb=null};
Sw=function(){Dw.call(this,"WhyThisAdExtensionParser","why_this_ad_");this.A.push("targeting_reason")};
Tw=function(a,b){return null!=a?(0,g.Am)(b,function(b){return b in a}):!1};
Qga=function(a,b){return null!=a?(0,g.Pj)(b,function(b){return b in a}):!1};
Uw=function(){};
Vw=function(){Gq.call(this)};
Ww=function(){};
Xw=function(){};
Yw=function(a){this.C=a;this.logger=null};
Zw=function(a){if(null==a)return!1;a=g.Yd(a);return null!=a&&"VAST"==a.nodeName};
ax=function(a,b){var c=[],d=null;try{var e=g.us(a),f=g.Yd(e);null!=f&&"CompanionAds"==f.nodeName&&(d=$w(Yw.prototype,f,b))}catch(k){}null!=d&&c.push(d);return c};
bx=function(a){if(null==a)return 0;a=(0,window.parseInt)(a.getAttribute("version"),10);return g.ta(a)&&!(0,window.isNaN)(a)?a:0};
Sga=function(a){var b=[],c=g.Yd(a.C),d=bx(c);Cs(c,a.o.hI,function(a){var c=cx(a);if(null==c)throw ws(a);var e=a.getAttribute(this.A.po);a=Number(a.getAttribute(this.A.Uy));var l=e||null;e=a||0;var m=null,n=null;a=[];for(var p=[],r=[],v=[],z=new g.Mm,E,J=c.nodeName==this.o.cK,N=J,ca=J,Qa=null,vb=g.Wd(c),rc=0,Je=vb.length;rc<Je;rc++){var eb=vb[rc];switch(eb.nodeName){case this.o.iI:Bs(eb);case this.o.FJ:break;case this.o.YJ:if(J){if(null!=E)throw xs(eb);E=Bs(eb);Qa=Rfa(E);N=Fs(c.getAttribute(this.A.nI),
N);ca=Fs(c.getAttribute(this.A.SI),ca)}else throw ws(eb);break;case this.o.lI:m=Bs(eb);break;case this.o.mI:n=Bs(eb);break;case this.o.II:Bs(eb);break;case this.o.SJ:Bs(eb);break;case this.o.ro:eb=Bs(eb);Gs(eb)&&a.push(eb);break;case this.o.ERROR:eb=Bs(eb);p.push(eb);break;case this.o.CI:v=Rga(this,eb);r=v.creatives;v=v.GK;break;case this.o.OI:var $d=eb;z=Qa;eb=new g.Mm;try{var Ke=zs($d,this.o.EXTENSION);$d=0;for(var lg=Ke.length;$d<lg;$d++){var Tb=Ke[$d],Lb=Tb.getAttribute(this.A.ez);null!=Lb?Lb=
Lb.toLowerCase():Lb="generic";switch(Lb){case "programmatic":var Ub=(new Hw).parse(Tb);break;case "geo":Ub=(new Ww).parse(Tb);break;case "pod":Ub=(new Uw).parse(Tb);break;case "waterfall":Ub=(new Xw).parse(Tb);break;case "dart":Ub=(new Mv).parse(Tb);break;case "dfp":Lb="DFP";Ub=(new Nv).parse(Tb);break;case "adsense":Lb="AdSense";Ub=(new Lv).parse(Tb);break;case "textad":Lb="TextAd";Ub=(new Pw).parse(Tb);break;case "templatead":Lb="TemplateAd";Ub=(new Nw).parse(Tb);break;case "infocards":Lb="InfoCards";
var Rh=new ww(!0);Ub=Rh.parse(Tb);break;case "infocardstracking":Lb="InfoCardsTracking";Rh=new ww(!1);Ub=Rh.parse(Tb);break;case z:case "prefetchedad":Lb="LocalRedirect";var nf=Tb;if(null==nf)Ub=null;else{var mg=null,cj=zs(nf,"AdXml");if(1==cj.length){var xd=g.Yd(cj[0]);if(null!=xd)try{mg=ys(xd)}catch(xC){mg='<?xml version="1.0" encoding="UTF-8"?>'+vs(xd)}else mg='<?xml version="1.0" encoding="UTF-8"?>'+vs(xd)}var Yl=zs(nf,"VASTAdTagURI");nf=null;1==Yl.length&&(nf=Yl[0].textContent);Ub=new Aw(mg,
nf)}break;case "viral":Lb="viral";Ub=(new Rw).parse(Tb);break;case "metrics":Lb="metrics";Ub=(new Cw).parse(Tb);break;case "adx":Lb="adx";Ub=(new Ks).parse(Tb);break;case "why_this_ad":Lb="why_this_ad";Ub=(new Sw).parse(Tb);break;case "mute":Lb="mute";Ub=(new Fw).parse(Tb);break;case "sodar":Ub=(new Jw).parse(Tb);break;case "survey":Ub=(new Lw).parse(Tb);break;case "adformat":Lb="AdFormat";Ub=(new Hv).parse(Tb);break;default:var $M=new Ov;Lb="generic";Ub=$M.parse(Tb)}if(null!=Ub){var dj=eb.get(Lb);
null!=dj?"generic"==Lb&&(Xea(dj,Ub.o),eb.set(Lb,dj)):eb.set(Lb,Ub)}}}catch(xC){if(!g.za(xC.Eb)||1105==xC.Eb())throw xC;}z=eb}}c=g.G(l);Ke=m;a:if(g.F(g.G(m)))lg="UNKNOWN";else switch(lg=m.toUpperCase(),lg){case "ADSENSE":case "ADSENSE/ADX":case "ADSENSE-VIRAL":case "DART":case "DART_DFP":case "DART_DFA":case "FREEWHEEL":case "GDFP":case "SHOPPING":case "402":case "YT:ADSENSE":case "YT:DOUBLECLICK":case "YT:SHOPPING":case "YT:FREEWHEEL":case "VIRAL":case "VIRAL-RESERVE":break a;default:lg="UNKNOWN"}z.get("programmatic");
Tb=z;Lb=null;z=z.get("AdSense");null!=z&&(z=Hq(z,"vast2tracking"),null!=z&&!g.Na(z)&&(Lb=z[0]));e=new Os(c,Ke,lg,n,e,p,a,r,v,Tb,E,N,ca,Lb);null!=e&&(e.Qa=d,b.push(e))},a);
return b};
cx=function(a){var b=null;a=g.Wd(a);for(var c=0,d=a.length;c<d;c++)switch(b=a[c],b.nodeName){case "InLine":case "Wrapper":break;default:throw ws(b);}return b};
Tga=function(a){if(g.F(g.G(a)))return"none";switch(a){case "all":case "any":case "none":return a;default:return"none"}};
Rga=function(a,b){var c=[],d=[];Cs(b,a.o.BI,function(a){var b=a.getAttribute(this.A.Uy),e=window.NaN;g.F(g.G(b))||(e=(0,window.parseFloat)(b));a.getAttribute(this.A.jI);b=a.getAttribute(this.A.po);var l=!1,m=[];a=g.Wd(a);for(var n=0,p=a.length;n<p;n++){var r=a[n];switch(r.nodeName){case this.o.VJ:var v=r,z=Bs(v);z=g.G(z);g.F(z)&&v.getAttribute(this.A.bJ);r.getAttribute(this.A.aJ);break;case this.o.LINEAR:if(l)throw xs(r);l=Uga(this,r,(0,window.isNaN)(e)?0:e,b||null);Wa(c,l);Wa(m,l);l=!0;break;case this.o.wI:if(l)throw xs(r);
l=$w(this,r,(0,window.isNaN)(e)?0:e);Wa(d,l);l=!0;break;case this.o.wJ:if(l)throw xs(r);l=Vga(this,r,(0,window.isNaN)(e)?0:e,b||null);Wa(c,l);Wa(m,l);l=!0}}n=0;for(p=m.length;n<p;n++);},a);
return{creatives:c,GK:d}};
Vga=function(a,b,c,d){var e=[],f=new eq;b=g.Wd(b);for(var k=0,l=b.length;k<l;k++){var m=b[k];switch(m.nodeName){case a.o.vJ:m=Wga(a,m,c,d);null!=m&&e.push(m);break;case a.o.Ds:f=Is(m);break;default:throw ws(m);}}0!=e.length||f.isEmpty()||(a=new zq(null,new g.sd(-1,-1),"",null,""),a.o=c,a.ka=d,e.push(a));(0,g.D)(e,function(a){f&&(a.Dk=f)});
return e};
dx=function(a,b){var c={};c.id=b.getAttribute(a.A.po);c.adSlotId=b.getAttribute(a.A.kI);c.apiFramework=b.getAttribute(a.A.lo);var d=g.Bb(b.getAttribute(a.A.to)),e=g.Bb(b.getAttribute(a.A.no));c.size=new g.sd(d,e);d=b.getAttribute(a.A.NI);e=b.getAttribute(a.A.MI);g.F(g.G(d))||g.F(g.G(e))||(c.X5=new g.sd(g.Bb(d),g.Bb(e)));return c};
Wga=function(a,b,c,d){var e=dx(a,b);b.getAttribute(a.A.lo);b.getAttribute(a.A.LJ);b.getAttribute(a.A.jJ);var f=b.getAttribute(a.A.rJ);f=Es(f,-1);var k=[];new g.Mm;var l={},m="",n=null,p=[];b=g.Wd(b);for(var r=0,v=b.length;r<v;r++){var z=b[r];switch(z.nodeName){case a.o.yJ:p.push(Bs(z));break;case a.o.xJ:n=Bs(z);break;case a.o.ls:l=ex(z);m=g.G(Bs(z));break;case a.o.qo:case a.o.so:case a.o.oo:z=fx(a,z);null!=z&&k.push(z);break;default:throw ws(z);}}a=Ev(e.id,e.size,k);oq(a,m,l);a.K=e.apiFramework;a.pa=
n;a.L=p;a.Ba=f;a.o=c;a.ka=d;return a};
fx=function(a,b){var c=As(b,a.A.DI);if(null!=c&&"text/javascript"==c)return null;a:{var d=b.nodeName;switch(d){case a.o.so:d="Static";break a;case a.o.qo:d="IFrame";break a;case a.o.oo:d="Html";break a;default:throw ao(Xga,null,d);}}var e=Bs(b);null!=e||(e="");return new Fv(d,c,e)};
$w=function(a,b,c){var d=[],e=Tga(As(b,a.A.IJ));Cs(b,a.o.vI,function(a){var b=dx(this,a);var e=[],f=new eq,n=null,p=[];a=g.Wd(a);for(var r=0,v=a.length;r<v;r++){var z=a[r];switch(z.nodeName){case this.o.yI:p.push(Bs(z));break;case this.o.Ds:f=Is(z,!0);break;case this.o.xI:n=Bs(z);break;case this.o.oI:Bs(z);break;case this.o.ls:Bs(z);break;case this.o.qo:case this.o.so:case this.o.oo:z=fx(this,z);null!=z&&e.push(z);break;default:throw ws(z);}}b=g.Na(e)?null:Jga(b,n,p,c,f,e);null!=b&&d.push(b)},a);
return new Iga(d,e)};
Uga=function(a,b,c,d){var e=new eq,f={},k="",l=[],m=null,n=new g.Mm,p=[],r=[],v=0,z=Hs(As(b,a.A.NJ));b=g.Wd(b);for(var E=0,J=b.length;E<J;E++){var N=b[E];switch(N.nodeName){case a.o.VI:r=Yga(a,N);break;case a.o.ls:f=ex(N);k=g.G(Bs(N));break;case a.o.qs:v=Es(Bs(N),0);break;case a.o.Ds:e=Is(N);break;case a.o.nJ:p=Zga(a,N);break;case a.o.ZJ:l=$ga(a,N);n=l.customClicks;m=l.clickThrough;l=l.clickTrackingUrls;break;default:throw ws(N);}}(0,g.D)(l,function(a){jq(e,"click",a)});
a=new sq(v,m,n,p,z,r);oq(a,k,f);a.o=c;a.ka=d;e&&(a.Dk=e);return a};
$ga=function(a,b){for(var c=null,d=[],e=new g.Mm,f=g.Wd(b),k=0,l=f.length;k<l;k++){var m=f[k];switch(m.nodeName){case a.o.tI:c=Bs(m);break;case a.o.uI:m=Bs(m);d.push(m);break;case a.o.FI:var n=As(m,a.A.po);null!=n||(n="");var p=e.get(n,[]);p.push(Bs(m));e.set(n,p);break;default:throw ws(m);}}return{clickThrough:c,clickTrackingUrls:d,customClicks:e}};
Zga=function(a,b){for(var c=[],d=zs(b,a.o.mJ),e=0,f=d.length;e<f;e++){var k=d[e],l=As(k,a.A.HI),m=As(k,a.A.ez);As(k,a.A.aK);var n=g.Bb(k.getAttribute(a.A.to)),p=g.Bb(k.getAttribute(a.A.no)),r=k.getAttribute(a.A.lo),v=Bs(k),z=Ds(k.getAttribute(a.A.ly)),E=Ds(k.getAttribute(a.A.qJ));k=Ds(k.getAttribute(a.A.lJ));l=new rq(l,m,z,E,k,n,p,v,r);c.push(l)}return c};
Yga=function(a,b){var c=[];Cs(b,a.o.TI,function(a){var b=a.getAttribute(this.A.GJ);var d=As(a,this.A.dK),k=As(a,this.A.eK),l=g.Bb(a.getAttribute(this.A.to)),m=g.Bb(a.getAttribute(this.A.no)),n=new g.sd(l,m);l=a.getAttribute(this.A.lo);m=Hs(As(a,this.A.zJ));var p=a.getAttribute(this.A.qs);p=Es(p,-1);var r=[],v=[],z={};a=g.Wd(a);for(var E=0,J=a.length;E<J;E++){var N=a[E];switch(N.nodeName){case this.o.ZI:v.push(Bs(N));break;case this.o.WI:z=[];var ca=null;N=g.Wd(N);for(var Qa=0,vb=N.length;Qa<vb;Qa++){var rc=
N[Qa];switch(rc.nodeName){case this.o.XI:ca=Bs(rc);break;case this.o.YI:z.push(Bs(rc));break;default:throw ws(rc);}}z={iconClickThrough:ca,xM:z};break;case this.o.qo:case this.o.so:case this.o.oo:ca=fx(this,N);null!=ca&&r.push(ca);break;default:throw ws(N);}}g.Na(r)?b=null:(a=z,n=Ev("icon"+b,n,r),n.K=l,b=new Ru(n,b,d,k,p,m,a.iconClickThrough,a.xM,v));null!=b&&c.push(b)},a);
return c};
ex=function(a){a=Bs(a);return null!=a?vea(a):{}};
gx=function(a){dv.call(this,a);this.o=this.jb=null;this.N={};this.B=!0;this.K=this.J=this.G=!1;this.F=this.L=0;this.A=null;this.D=0;this.C=1;this.H=-1;this.W=!1;this.O=2==P.G};
hx=function(a){var b=a.ld("getAdLinear");return g.sa(b)?b:a.B};
ix=function(a){if(!a.B){var b=a.ld("getAdRemainingTime");b=g.ta(b)?b:-2;if(!g.ta(b)||0>b)b=30;g.Dg(a.H);a.H=g.Cg(a.stop,1E3*b,a)}};
kx=function(a,b){var c=bo(jx,b,void 0),d=br(c,a.ra()),e=Xs(a.ra());Yn(e,d);jx.message=c.Vd();fo(a,jx,b);a.stop()};
lx=function(a){a.W||(a.W=!0,iv(a,"complete"))};
mx=function(a){dv.call(this,a);this.D=this.o=this.jb=null;this.B=!0;this.aa=this.L=this.G=!1;this.W=Ab();this.J=this.N=0;this.H=-1;this.A=null;this.F=0;this.C=1;this.K=-1;this.O=!1};
nx=function(a){var b=a.yd("getAdLinear");return g.sa(b)?b:a.B};
ox=function(a){if(!a.B){var b=a.yd("getAdRemainingTime");b=g.ta(b)?b:-2;if(!g.ta(b)||0>b)b=30;g.Dg(a.K);a.K=g.Cg(a.stop,1E3*b,a)}};
px=function(a,b,c,d){d=bo(b,c,d);var e=br(d,a.ra()),f=Xs(a.ra());Yn(f,e);b.message=d.Vd();fo(a,b,c)};
qx=function(a){a.O||(a.O=!0,iv(a,"complete"))};
rx=function(a){wn.call(this,"adMetadata",a)};
sx=function(a){switch(a){case 1:return"endslate";default:return"fullslot"}};
tx=function(a){switch(a){case 0:return"No Error";case 1:return"Access denied to content document";case 2:return"File not found";case 3:return"Firefox silently errored";case 4:return"Application custom error";case 5:return"An exception occurred";case 6:return"Http response at 400 or 500 level";case 7:return"Request was aborted";case 8:return"Request timed out";case 9:return"The resource is not available offline";default:return"Unrecognized error code"}};
aha=function(a){if(g.x.JSON)try{return g.x.JSON.stringify(a)}catch(b){}return g.Hg(a)};
g.ux=function(a){if(g.x.JSON)try{return g.x.JSON.parse(a)}catch(b){}return vba(a)};
vx=function(){};
xx=function(a){var b;(b=a.o)||(b={},wx(a)&&(b[0]=!0,b[1]=!0),b=a.o=b);return b};
yx=function(){};
zx=function(a){return(a=wx(a))?new window.ActiveXObject(a):new window.XMLHttpRequest};
wx=function(a){if(!a.A&&"undefined"==typeof window.XMLHttpRequest&&"undefined"!=typeof window.ActiveXObject){for(var b=["MSXML2.XMLHTTP.6.0","MSXML2.XMLHTTP.3.0","MSXML2.XMLHTTP","Microsoft.XMLHTTP"],c=0;c<b.length;c++){var d=b[c];try{return new window.ActiveXObject(d),a.A=d}catch(e){}}throw Error("Could not create ActiveXObject. ActiveX might be disabled, or MSXML might not be installed");}return a.A};
g.Ax=function(a){g.Pf.call(this);this.headers=new g.Mm;this.O=a||null;this.B=!1;this.N=this.o=null;this.ca=this.K="";this.A=0;this.F="";this.C=this.aa=this.J=this.W=!1;this.D=0;this.G=null;this.ba="";this.L=this.H=!1};
Bx=function(a,b){a.D=Math.max(0,b)};
bha=function(a){return g.Hd&&g.qc(9)&&g.ta(a.timeout)&&g.u(a.ontimeout)};
cha=function(a){return"content-type"==a.toLowerCase()};
Ex=function(a,b){a.B=!1;a.o&&(a.C=!0,a.o.abort(),a.C=!1);a.F=b;a.A=5;Cx(a);Dx(a)};
Cx=function(a){a.W||(a.W=!0,a.dispatchEvent("complete"),a.dispatchEvent("error"))};
Ix=function(a){if(a.B&&"undefined"!=typeof Fx)if(a.N[1]&&4==g.Gx(a)&&2==a.getStatus())Hx(a,"Local request error detected and ignored");else if(a.J&&4==g.Gx(a))g.Cg(a.gB,0,a);else if(a.dispatchEvent("readystatechange"),4==g.Gx(a)){Hx(a,"Request complete");a.B=!1;try{var b=a.getStatus();a:switch(b){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:var c=!0;break a;default:c=!1}var d;if(!(d=c)){var e;if(e=0===b){var f=g.Ng(String(a.K))[1]||null;if(!f&&g.x.self&&g.x.self.location){var k=
g.x.self.location.protocol;f=k.substr(0,k.length-1)}e=!dha.test(f?f.toLowerCase():"")}d=e}if(d)a.dispatchEvent("complete"),a.dispatchEvent("success");else{a.A=6;try{var l=2<g.Gx(a)?a.o.statusText:""}catch(m){l=""}a.F=l+" ["+a.getStatus()+"]";Cx(a)}}finally{Dx(a)}}};
Dx=function(a,b){if(a.o){Jx(a);var c=a.o,d=a.N[0]?g.A:null;a.o=null;a.N=null;b||a.dispatchEvent("ready");try{c.onreadystatechange=d}catch(e){}}};
Jx=function(a){a.o&&a.L&&(a.o.ontimeout=null);a.G&&(g.Dg(a.G),a.G=null)};
g.Gx=function(a){return a.o?a.o.readyState:0};
g.Kx=function(a){try{return a.o?a.o.responseText:""}catch(b){return""}};
Hx=function(a,b){return b+" ["+a.ca+" "+a.K+" "+a.getStatus()+"]"};
eha=function(a,b,c,d){var e=new g.Sm("https://web.archive.org/web/20181027110332/https://www.googleapis.com/youtube/v3/videos");g.an(e,"id",a);g.an(e,"part","snippet,status,statistics");g.an(e,"fields","items/id,items/snippet/title,items/snippet/channelId,items/status/privacyStatus,items/statistics/viewCount");null!=d&&(b=(0,g.B)(b,d),c=(0,g.B)(c,d));Lx(new g.Ax,e,b,c)};
fha=function(a,b,c,d){var e=new g.Sm("https://web.archive.org/web/20181027110332/https://www.googleapis.com/youtube/v3/channels");g.an(e,"id",a);g.an(e,"part","snippet,statistics,brandingSettings");g.an(e,"fields","items/id,items/snippet/title,items/snippet/thumbnails/default/url,items/statistics/videoCount,items/brandingSettings/image/bannerImageUrl");null!=d&&(b=(0,g.B)(b,d),c=(0,g.B)(c,d));Lx(new g.Ax,e,b,c)};
Lx=function(a,b,c,d){g.an(b,"key","AIzaSyA-dlBUjVQeuc4a6ZN4RkNUYDFddrVLxrA");Bx(a,2E3);var e=new g.hn(a);e.di(a,"success",function(a){a=a.target;var b=a.o?g.ux(a.o.responseText):void 0;c(b||{});e.dispose();a.dispose()});
e.di(a,["error","timeout"],function(a){a=a.target;var b=null;0!=a.A&&(b=Error(tx(a.A)));d(b);e.dispose();a.dispose()});
a.send(b)};
Mx=function(a,b,c){ii(b,function(b,e){!b&&0!==b||c[e]||(a+="&"+(0,window.encodeURIComponent)(e)+"="+(0,window.encodeURIComponent)(String(b)),c[e]=!0)});
return a};
Rx=function(a,b,c,d,e,f,k,l){f=void 0===f?window.Infinity:f;k=void 0===k?!1:k;bj.call(this,a,l);var m=this;this.H=0;this.K=f;this.ca=b;this.L=c;this.aa=d;this.ba=e;this.O=!("csi.gstatic.com"!==this.L||!this.o.navigator||!this.o.navigator.sendBeacon);this.F={};this.o.performance&&this.o.performance.now||Nx(this,"dat",1);this.o.navigator&&this.o.navigator.deviceMemory&&Nx(this,"dmc",this.o.navigator.deviceMemory);this.ga=!k;this.N=function(){m.o.setTimeout(function(){return Ox(m)},1100)};
this.ia=[];this.W=function(){(0,g.D)(m.ia,function(a){try{a()}catch(p){}});
Ox(m)};
this.ha=Aaa(function(){Ox(m)});
this.ka=function(){var a=m.o.document;(null!=a.hidden?a.hidden:null!=a.mozHidden?a.mozHidden:null!=a.webkitHidden&&a.webkitHidden)&&m.ha()};
this.J=this.o.setTimeout(function(){return Ox(m)},5E3);
this.B={};this.D=b.length+c.length+d.length+e.length+3;this.C=0;(0,g.D)(this.events,function(a){return Px(m,a)});
Qx(this);gha(this)};
gha=function(a){"complete"===a.o.document.readyState?a.o.setTimeout(function(){return Ox(a)},0):li(a.o,"load",a.N);
li(a.o,wj(a.o.document),a.ka);li(a.o,"unload",a.W)};
Nx=function(a,b,c){c=String(c);a.D=null!=a.F[b]?a.D+(c.length-a.F[b].length):a.D+(b.length+c.length+2);a.F[b]=c};
Ox=function(a){if(a.A&&a.ga){try{if(a.C){var b=a.B;a.H++;var c=a.ca+"//"+a.L+a.aa+a.ba,d={};c=Mx(c,a.F,d);c=Mx(c,b,d);a.o.google_timing_params&&(c=Mx(c,a.o.google_timing_params,d),a.o.google_timing_params=void 0);var e=c;b=!1;try{b=a.O&&a.o.navigator&&a.o.navigator.sendBeacon(e,null)}catch(f){a.O=!1}b||ni(a.o,e);Qx(a);a.H===a.K&&a.disable()}}catch(f){(new mj).hi(358,f)}a.B={};a.C=0;a.events.length=0;a.o.clearTimeout(a.J);a.J=0}};
Qx=function(a){Nx(a,"puid",(a.H+1).toString(36)+"~"+(0,g.H)().toString(36))};
Px=function(a,b){var c="met."+b.type;var d=g.ta(b.value)?Math.round(b.value).toString(36):b.value;var e=Math.round(b.duration);d=""+b.label+(null!=b.slotId?"_"+b.slotId:"")+("."+d)+(0<e?"_"+e.toString(36):"");e="~";e=void 0===e?"":e;var f=null==a.B[c]?c.length+d.length+2:d.length+e.length;8E3<a.D+a.C+f&&(Ox(a),f=c.length+d.length+2);a.B[c]=null!=a.B[c]?a.B[c]+(""+e+d):d;a.C+=f;6E3<=a.D+a.C&&Ox(a)};
Ux=function(){this.Fa=null;if(Mn(Jn(),21592081)&&!P.o()){this.Fa=new Rx(1,"https:","csi.gstatic.com","/csi?v=2&s=","ima",void 0,!0);if(Sx)var a=Sx;else{a=((a=oi())?hi(a.master)?a.master:null:null)||ui();var b=a.google_persistent_state_async;a=null!=b&&"object"==typeof b&&null!=b.S&&"object"==typeof b.S?Sx=b:a.google_persistent_state_async=Sx=new Eca}b=ui();var c=oi(b);c?((c=c||oi())?(b=c.pageViewId,c=c.clientId,g.w(c)&&(b+=c.replace(/\D/g,"").substr(0,6))):b=null,b=+b):(b=ck(b).Ic,(c=b.google_global_correlator)||
(b.google_global_correlator=c=1+Math.floor(Math.random()*Math.pow(2,43))),b=c);c=hha[7]||"google_ps_7";a=a.S;var d=a[c];a=void 0===d?a[c]=b:d;Tx(this,"c",a);a=Nn(Jn());g.F(g.G(a))||Tx(this,"e",a)}this.o="0"};
Vx=function(){var a=Ux.getInstance();a.Fa&&(a.Fa.disable(),a.Fa=null)};
Tx=function(a,b,c){a.Fa&&c&&Nx(a.Fa,b,c)};
Wx=function(a){var b=Ux.getInstance();if(b.Fa&&iha){var c=Zi();c&&(b=b.Fa,b.A&&b.G(new $i(a,4,c,0,void 0)))}};
jha=function(a,b){if(b){var c=/iu=\/(\d+)\//.exec(nb(b)),d=g.G((new g.Sm(b)).o.get("client"));a.o=c&&2==c.length?c[1]:g.F(d)?"0":d}else a.o="0"};
Xx=function(a){if(a&&a.items&&a.items.length){a=a.items[0];this.videoId=a.id;var b=a.statistics;b&&null!=b.viewCount&&(b=Eb(b.viewCount),this.ri=(0,window.isNaN)(b)?-1:b);if(b=a.snippet)this.channelId=b.channelId,this.title=b.title;if(a=a.status)this.isListed="unlisted"!=a.privacyStatus}};
Yx=function(a,b){g.Pf.call(this);this.va=a;this.sf=null;this.Z=new g.hn(this);this.Pu(b)};
kha=function(a){return'<a target="_blank" href="'+R(Zp(a.url))+'" class="'+R("fullslot-attribution-button")+'">'+Q(a.text)+"</a>"};
lha=function(a){return'<div class="'+R("fullslot-autoclose")+'">'+Q(a.uK)+"</div></div>"};
Zx=function(a){g.Pf.call(this);this.D=new g.Bg(200);g.M(this,this.D);this.B=0;this.A=!1;this.L=a;this.J=new g.hn(this);this.J.X(this.D,"tick",this.LU)};
$x=function(a){a.D.stop();a.A=!1};
by=function(a,b,c,d,e){Zx.call(this,b.o);this.H=b;this.G=c;this.K=this.H.o;this.o=a;this.C=this.F=null;g.S(this.o,sx(this.G));a=this.o;b=new ju;b.skipOffset=new Zr(this.H.C,!1);this.C=new Du(b,a);d&&d.text&&(d=Pq(kha,d),this.o.appendChild(d));e?(e=this.o,d="Ad will close in "+Q({fe:ay(this.K)}.fe),a=Pq(lha,{uK:d}),g.ce(a,d),e.appendChild(a),e=a):e=null;this.F=e};
mha=function(a){var b=g.K("videoAdUiSkipButton",a.o);return b?g.Nh(b,a.o):new g.pd(0,0)};
ay=function(a){a=Math.ceil(a);return"0:"+(10>a?"0"+a:""+a)};
ey=function(a,b,c,d,e){Zx.call(this,d);this.H=a;this.O=b;this.N=e;this.Z=new g.hn(this);g.M(this,this.Z);this.C=new Pt;g.M(this,this.C);this.K=new Pt;g.M(this,this.K);this.G=new Pt;g.M(this,this.G);(a=cy(c))?(c=a(c),b.appendChild(c),b=g.K("iv-endcap-action",c),this.Z.X(this.C,"click",this.F),this.C.Cb(b),b=g.K("iv-endcap-text",c),this.Z.X(this.K,"click",this.F),this.K.Cb(b),b=g.K("iv-endcap-image",c),this.Z.X(this.G,"click",this.F),this.G.Cb(b),b=c):b=null;this.o=b?g.K("iv-endcap-countdown-inner",
b):null;null!=this.o&&g.xh(this.o,"stroke-dasharray","0 "+dy)};
cy=function(a){switch(a.Yb()){case 1:return nha;case 4:return oha}return null};
nha=function(a){var b=Pr(a);a=0<cw(a,"action")?Xr(a):null;return Pq(Or,{headline:b.Bd(),description:ls(b,"description"),image:Tr(b).getImageUrl(),action:a?ns(a):"",target:a?Wr(a)||ls(a,"link_url"):""})};
oha=function(a){var b=a.o();a=0<cw(a,"action")?Xr(a):null;var c=!1;Kn().o("desktop_trv_action_endcap_background_clickable")&&(c=!0);return Pq(Or,{headline:b.Bd(),description:os(b),image:b.Rg().getImageUrl(),action:a?ns(a):"",target:a?Wr(a)||ls(a,"link_url"):"",vK:c})};
pha=function(){var a='<div class="'+R("videoAdInterstitial")+'"><p>';return Fp(a+"Your video will play after this ad.</p></div>")};
fy=function(){g.L.call(this);this.A=Pq(pha);this.Fa=0};
gy=function(a){a.Fa&&(g.Dg(a.Fa),a.o(g.A))};
hy=function(){this.A=this.K=this.Vj=this.o=this.adSystems=this.adIds=this.adFormat=null;this.G=this.isPharma=this.D=!1;this.slotPosition=-1;this.breakType=null;this.H=this.J=!1;this.timeout=-1;this.C=!1;this.B=this.F=null;this.Lk=this.Mj=this.Nl=!1};
iy=function(a){g.of.call(this,a)};
jy=function(a){g.Pf.call(this);this.jb=null;this.B=a;this.N=new g.Mm;this.K=-1;this.G=this.O=!1;this.F=""};
ky=function(a){this.paused=!1;this.mute=a.isMuted();this.volume=a.getVolume()};
ly=function(a,b,c,d){if(!c||null==a.N.get(b)){d&&!a.G&&(b="error");a.N.set(b,!0);a:{c=b;if(a.A&&a.A.va.F){if("click"==c)break a;"videoLearnMoreClicked"==c&&a.B.report(new g.of("click"))}d=qha[c]||null;null!=d&&null!=a.o&&a.o.ix(d);a.B.report(new g.of(c))}a.dispatchEvent(b)}};
my=function(a){0>a.K||a.O||!a.o.km(a.K)&&!a.o.Th()||!a.G||(a.O=!0,ly(a,"engagedview",!0,!0),a.dispatchEvent(new iy("viewCount",a.o)))};
ny=function(a){my(a);if(P.o()){var b=a.B;if(!(Om(b.A,"skip")||0>b.D)){for(var c=hq(b.B,"progress"),d=[],e=b.D;e<c.length;e++){var f=c[e];b.D=e+1;d.push(f.Xa())}0<d.length&&b.report(new g.of("progress"),d)}}ly(a,"complete",!0,!0)};
oy=function(a){this.o=new g.Mm;if(a){a=Qm(a);for(var b=a.length,c=0;c<b;c++)this.add(a[c])}};
py=function(a){var b=typeof a;return"object"==b&&a||"function"==b?"o"+g.Ca(a):b.substr(0,1)+a};
qy=function(a){dv.call(this,a);this.o=null;this.F=!1;this.B=new jy(this.fc);this.jb=null;this.aa=this.ga=this.G=!1;this.ba=this.D=1;this.A=null;this.ca=new fy;this.J=new oy;this.ia=!1;this.O=[];this.N=this.L=this.W=!1;this.C=null;this.ha=!jo()&&P.o();this.K=!1;this.H=null;Mn(Jn(),324123001)&&(P.W=!0);Mn(Jn(),324123021)&&(P.W=!0);if(a=0<a.length?a[0]:null){var b=Ux.getInstance();Tx(b,"gqid",kt(a));Tx(b,"qqid",ir(a))}rha(this)};
ry=function(a,b){if(Kn().o("use_async_run_for_execution_in_ima"))g.ag(b,a);else{var c=g.Cg(function(){this.J.remove(c);b.call(this)},0,a);
a.J.add(c)}};
sy=function(a){P.B&&a.ma("youtubeKevlarCompanionHide")};
ty=function(a){a.C&&(g.lf(a.C),a.C=null);g.lf(a.Ta);a.Ta=null;g.lf(a.B);g.lf(a.fc);a.aa=!1};
tha=function(a){if(!a.tb())return!1;var b=a.Oa.fg();if(null==b)return!1;var c=a.ra(),d;if(d=c.N?c.N.o.Xm()?c.N.o.Ju():c.N.Sc():"")sha(a,b,d);else if(At(c)&&(d=c.ca,d=g.Na(d)?null:d[0],null!=d&&g.za(cy(d)))){var e=1==d.Yb();a.o=new ey(a.Ka,b,d,Gt(c),e);a.Za().X(a.o,"click",(0,g.B)(a.vA,a,null));a.Ta&&Xu(a.Ta,!0);a.Oa.Md()}null!=a.o&&(a.Za().X(a.o,"timeUpdate",a.gF),a.Za().X(a.o,"end",a.WK),a.o.start(),iv(a,"video_card_endcap_impression"));return null!=a.o};
sha=function(a,b,c){Mo.getInstance().report(34,{evt:"start"},!0);var d=g.Md("DIV");g.S(d,"controls");var e=g.Md("DIV");g.S(e,"adDisplay");g.S(e,"endslate");e.innerHTML=c;(c=g.Wd(e)[0])&&g.xh(c,{margin:"0 auto"});(0,g.D)(c.getElementsByTagName("a"),function(a){var b=a.getAttribute("href");b&&this.Za().X(a,"click",(0,g.B)(this.vA,this,b))},a);
d.appendChild(e);e=new Iv;Kga(e,Gt(a.ra()));e.C=0;e.B=0;a.o=new by(d,e,1,{},!0);a.Za().X(a.o,"skip",a.wA);b.appendChild(a.o.o);a.Oa.Md();a.Ta&&(Bga(a.Ta),Uu(a.Ta))};
vy=function(a,b){uy(a);null!=a.Ka&&a.Ka.Bu();a.ma("complete");iv(a,b);a.Ca("instreamAdComplete");a.oi()};
uy=function(a){a.o&&(a.o.dispose(),a.o=null);a.Ta&&Xu(a.Ta,!1);a.F=!1};
uha=function(a){return(0,g.Am)(a.xc.D,function(a){return!$v(a.Ze(),"hide_in_drawer")})};
zy=function(a,b,c){wy(a)&&c?yy(a,b).then(a.pz,null,a):(a.pz(),c&&yy(a,b))};
vha=function(a){null!=a.Ka&&a.Ka.Au();var b=Kn();b=b.o("use_forced_brand_precap_duration")?b.A("forced_brand_precap_duration_ms"):2E3;Cga(a.Ta,b);var c=g.Cg(function(){null!=this.Ka&&this.Ka.Bu();this.J.remove(c);this.ca.show(this.Oa.Km(),this.Wa.Mx,(0,g.B)(this.Ka.play,this.Ka))},b,a);
a.J.add(c)};
Ay=function(a,b,c,d){b=hq(b.o,c);g.Na(b)||(a[d]=b[0].Xa())};
By=function(a,b,c){b=c.getExtension(b);null!=b&&(Ay(a,b,"annotation_click","cta_annotation_clicked"),Ay(a,b,"annotation_close","cta_annotation_closed"),Ay(a,b,"annotation_start","cta_annotation_shown"))};
wha=function(a,b){var c=new hy;c.adFormat=jr(b);c.adIds=gr(b).join(",");c.adSystems=hr(b).join(",");1<b.C.Le&&(c.slotPosition=b.C.o-1);c.breakType=b.cf();xt(b)&&!b.ga&&(c.Vj=ft(b));c.K=a.Wa.contentId;if(a.Ta){var d={};By(d,"AdSense",b);By(d,"dart",b);By(d,"DFP",b);c.A=d;c.G=a.Ta.va.G}b.isSkippable()&&!Ts(b)&&(c.J=!0);d=Kn();c.timeout=d.o("use_variable_load_timeout")?d.A("variable_load_timeout_ms"):a.Wa.ng;if(d=b.B)c.D=d.Dr;c.C=a.Wa.Tm;c.o=ir(b);c.F=a.Wa.hj;c.isPharma=Cy(a,b);c.H=!0;d=ct(a.ra(),"endscreenClick");
d=g.Na(d)?null:g.Hg({endscreenClick:d});c.B=d;c.Nl=wy(a);c.Mj=a.tb()&&Nt(a.ra());c.Lk=a.tb()&&Nt(a.ra());return c};
Cy=function(a,b){var c=Uq(a.uk());if(!c){var d=b.getExtension("AdSense");null!=d&&(c=d.isPharma())}return c};
rha=function(a){var b=0,c=0;(0,g.D)(a.ads,function(a){!hv(a)||P.o()&&0!=c||(c++,b+=a.getDuration())},a);
var d=1;(0,g.D)(a.ads,function(a){var b=a.C;b.Le=c;hv(a)&&(b.o=d,b.B=d,d++)},a)};
Dy=function(a){var b=a.A;return b&&b.sa&&(b=b.F,!g.Na(b)&&b[0]instanceof sq)?b[0].Bf():dt(a)};
Gy=function(a,b){if(!hv(b))throw bo(Ey);var c=b.o,d=c.D;if(null!=d)return d;var e=null!=b&&!Fy(a)&&(P.o()||a.Oa.Vp()||a.Oa.vu()||jo());d=a.Mh(b);e=a.Ka.RF(d,a.Wa.bitrate,a.Wa.Um||[],e);xha(d,a.Wa.bitrate,e,Ws(b));if(null!=e)return c.D=e;try{yha(a,b)}catch(f){}throw bo(zha);};
yha=function(a,b){if(Mo.getInstance().isLoggingEnabled()){var c=new oy,d=!1;(0,g.D)(a.Mh(b),function(a){c.add(a.o);"VPAID"==a.A&&(d=!0)},a);
var e=a.Ka.Zt();e={aid:ft(b),mt:c.xb().join(","),smt:e.join(","),hvp:d,st:lt(b).join(",")};Mo.getInstance().report(28,e)}};
xha=function(a,b,c,d){if(!P.o())try{var e=(0,g.I)(a,function(a){return a.pg}),f=(0,g.I)(a,function(a){return a.o});
a={};a.brs=e.join(",");a.mts=f.join(",");a.pubbr=b;a.selbr=null===c?-1:c.pg;a.selmt=null===c?"":c.o;a.ic=!1;a.nat=!1;a.iyh=Pn(c.Xa())?"1":"0";a.as=d;Mo.getInstance().report(22,a)}catch(k){}};
Hy=function(a){return a.N?!1:a.Wa.Tm&&(!a.Oa.Ak()||a.Oa.Ak()&&!1)};
Fy=function(a){return a.Wa.Tm&&Ao(a.Oa)&&!a.N&&!0};
Ky=function(a){try{var b=a.ra();a.A=Gy(a,b);ry(a,(0,g.B)(qy.prototype.ev,a,b,a.A.Xa(),a.A.o))}catch(c){(0,g.La)(a.ads,b)+1<a.ads.length&&(Iy(a,c),a.Fj(),a.tb()?(eo(a,Jy,c),Ky(a)):fo(a,Jy,c))}};
Aha=function(a){try{var b=a.Ye();null!==b&&(a.A=Gy(a,b),ry(a,(0,g.B)(qy.prototype.ev,a,b,a.A.Xa(),a.A.o,!0)))}catch(c){}};
Ly=function(a,b){b in a.O||(a.O.push(b),a.ma(b))};
Bha=function(a){var b=a.ra(),c={};c.pubbr=a.Wa.bitrate;c.ic=!1;c.nat=!1;if(null!=b){a=a.Mh(b);var d=b.o;d=d?d.D:null;var e=(0,g.I)(a,function(a){return a.pg});
a=(0,g.I)(a,function(a){return a.o});
c.brs=e.join(",");c.mts=a.join(",");c.as=Ws(b);null===d?(c.selbr=-1,c.selmt="",c.iyh="0",c.murl=""):(c.selbr=d.pg,c.selmt=d.o,c.iyh=Pn(d.Xa())?"1":"0",c.murl=d.Xa())}Mo.getInstance().report(45,c)};
My=function(a,b,c){Iy(a,c);a.Fj();a.tb()?(eo(a,b,c),a.start()):(fo(a,b,c),a.stop())};
Iy=function(a,b){var c=bo(Jy,b);c=br(c,a.ra(),a.Ka);var d=Xs(a.ra());Yn(d,c)};
Ny=function(a){if(P.A||P.o()){var b=Dy(a.ra());null!=b&&Tn(b);a.ma("click")}else a.K&&a.ma("click")};
Oy=function(a,b){g.Vb(Cha,b)&&kn(a.Za(),a.B,b,a.cF,a)};
Py=function(a){if(!a.W){var b=a.ra(),c=b.G;if(Kt(b)&&!P.o()&&!a.Oa.Vp()&&c){b=a.Ka.getCurrentTime();var d=a.Ka.getDuration(),e=new g.Sm("//web.archive.org/web/20181027110332/https://s.youtube.com/s");g.an(e,"ns","yt");g.an(e,"el","adunit");g.an(e,"docid",c);g.an(e,"eurl",window.document.URL);g.an(e,"len",d.toFixed(2));g.an(e,"tv","1");g.an(e,"ps","trueview-instream");g.an(e,"st",b.toFixed(2));g.an(e,"et",b.toFixed(2));g.an(e,"rt",b.toFixed(2));Un(e.toString());a.W=!0}}};
Dha=function(a){var b=a.ra().O;if(null!=b){b=b.videoId;var c=a.Wa.Zj;if(g.F(g.G(b)))b=null;else{c=new g.Sm((null!=c?c:"//web.archive.org/web/20181027110332/https://www.youtube.com/")+"watch");var d=c.o;d.set("v",b);Xm(c,d);c.J="action=share";b=c.toString()}null!=b&&(Tn(b),a.ZF())}};
Eha=function(a){a=Qy(a)||Ry(a);null!=a&&Vn(a,"sharebuttondisplayed")};
Qy=function(a){a=a.ra().getExtension("AdSense");return null!=a?new g.Sm(a.C):null};
Ry=function(a){if(a=a.ra().o)if(a=pq(a,"start"),!g.Na(a))return new g.Sm(a[0].Xa());return null};
Fha=function(a){var b=a.ra(),c=b.O;null!=c&&(b=Tq(c.videoId,null!=Ft(b),a.Wa.Zj),null!==b&&(a.Ka.pause(),Tn(b)))};
Sy=function(a){ry(a,function(){this.ma("skip");var a=Kn();a.o("skip_ad_pod_to_end")||a.o("skip_ad_pod_to_end_ads_quality")?this.stop():this.oi()})};
Ty=function(a,b,c){var d=b.getExtension("AdSense"),e;(e=a.ha)||(e=null===c?!1:"modules"==(new g.Sm(c)).Yi().toLowerCase()||Uq(c));e=e||null!=d&&d.H;c=b.isBumper()?null:Ft(b);if(P.o()||Cl())d=!1;else{if(d=jo())d=!(a.bn()&&null!=a.Oa&&a.Oa.Gt());d=d||Kt(b)||a.Wa.Rx?!0:!1}if(d||!P.o()&&e)a.Wa.Nx=!0,a.Wa.Rx=!0;d=cr(b,a.Ka);if(P.o()||a.Wa.Rx){var f=g.F(g.G(dt(b)))?!1:a.Wa.Nx,k=b.o,l=!1;!Cy(a,b)&&null!=k&&k instanceof sq&&(l=0<Rea(k).length);k=b.isBumper();var m=a.Wa,n=P.o()||!1,p=P.o();a.Hk(b);a=l;b=ku(e,
b.G,c,k,m,d);b.F=f;b.oa=m.YX;b.pa=n;b.ka=!0;b.ha=p;b.K=m.Lx;b.sa=m.Qx;b.xa=m.ZX;b.H=m.wB;b.ba=0;b.isBumper=k;m.Lx&&(b.bi="Visit Advertiser");b.Da=a;return b}Vs(b)?(f=b.G,b=b.isBumper(),!g.F(g.G(f))&&null!==c&&0<lq(c)&&(e=!0),a=ku(e,f,c,b,a.Wa,d),a.ca=e?zfa:yfa):(f=b.isBumper(),a=ku(e,b.G,c,f,a.Wa,d),a.H=!1,a.C=!1,a.D=!1,a.isBumper=f);return a};
Uy=function(a){a=a.Oa.Km();null===a?a=window.document.body:g.Sd(a);return a};
yy=function(a,b){return g.tg(Gha(a,b).then(a.qX,null,a).then(a.XW,null,a).then(a.pX,null,a).then(a.IK,null,a),g.A)};
Gha=function(a,b){return new g.gg(function(a,d){eha(b,function(b){b=new Xx(b);this.tb()&&this.ra().G==b.videoId?a(b):d()},function(){d()},this)},a)};
Vy=function(a){return a.tb()&&null!=a.ra().O&&a.ra().O.isListed};
Wy=function(a){var b=a.ra().ha;if(Vy(a)&&null!=b){var c=a.Wa.Zj;b=g.G(b.channelId);c=g.F(b)?null:(null!=c?c:"//web.archive.org/web/20181027110332/https://www.youtube.com/")+"channel/"+(g.jb(b,"UC")&&24==b.length?b:"UC"+b);null!==c&&(a.Ka.pause(),Tn(c))}};
wy=function(a){if(Kn().o("website_actions_holdback"))return!1;a=a.ra();if(!a||!a.G)return!1;var b=g.Ia(a.D,function(a){return 4==a.Yb()&&$v(a.Ze(),"show_in_cta")});
return P.o()&&Kt(a)&&null!=b};
Hha=function(a,b){var c=a.tb()?a.ra().G:null,d=a.ra();if(!d||!c)return"";d=g.Ia(d.D,function(a){return 4==a.Yb()&&$v(a.Ze(),"show_in_cta")});
if(!d)return"";c=d.o();var e=Xr(d);d=g.ob(e&&Wr(e)||"");e=g.ob(e&&ns(e)||" ");var f=g.ob(c.Bd()||b.authorName);var k=g.ob(os(c)||"");c=g.ob(c.Rg().getImageUrl()||b.channelIconThumbnailUrl);return'<Extension type="InfoCards">'+('<card type="TYPE_WEBSITE"><action target="'+d+'" title="'+e+'" type="TYPE_EXTERNAL"/><placement hide_in_drawer="true" show_in_cta="true"/><website_card headline="'+f+'" description="'+k+'"><icon image_url="'+c+'"/></website_card></card>')+"</Extension>"};
Xy=function(a){g.Pf.call(this);this.sessionId=a||Ab();this.A=[]};
Yy=function(a,b,c,d,e){g.of.call(this,a);this.qe=b;this.qg=c;this.yB=d;this.A=e};
Zy=function(a,b){Xy.call(this,b);this.B=a;this.Nf=null;this.Z=new g.hn(this);this.logger=null;this.Z.X(Kd(),"message",this.receive)};
$y=function(a){if(null==a||!g.w(a)||!g.jb(a,"ima://"))return null;a=a.substr(6);try{return JSON.parse(a)}catch(b){return null}};
Iha=function(a,b,c,d){var e={};e.name=b;e.type=c;null!=d&&(e.data=d);e.sid=a.sessionId;e.channel=a.B;return"ima://"+g.Hg(e)};
az=function(a,b){if(null==b)return!1;var c=b.channel;if(null==c||c!=a.B)return!1;c=b.sid;return null==c||"*"!=a.sessionId&&c!=a.sessionId?!1:!0};
bz=function(a,b){g.of.call(this,"vpaidEvent");this.sessionId=b};
cz=function(a){dv.call(this,a);this.ba=this.N=this.ad=!1;this.H=[];this.D=Ab();this.jb=this.o=null;this.A=!0;this.K=-1;this.J=new g.Bg(500);this.W=this.G=-1;this.C=1;this.ca=this.aa="";this.O=this.L=this.F=!1};
ez=function(a){var b=$s(a.ra());P.o()&&(b=Jha(a,b),b=Kha(a,b));var c=g.G(dt(a.ra())),d=a.ra();if(hv(d)){var e=d.o,f=uq(e,"javascript");null!=f&&(e.D=f)}d=Ht(d);c={desiredBitrate:a.Wa.bitrate,creativeData:b,viewMode:a.hd,clickThroughUrl:c,adUrl:d,volume:a.C};d.match("//web.archive.org/web/20181027110332/https://s0.2mdn.net/instream/html5/survey/survey.html")&&0<=b.indexOf("yt_override")&&null!=a.Wa.surveyCreativeData&&(c.creativeData=a.Wa.surveyCreativeData);dz(a,"initAd",c);(0,g.D)(a.H,function(a){dz(this,a.type,a.params)},a);
a.ad=!0;a.H=[]};
fz=function(a,b,c){c=c||null;a.ad?dz(a,b,c):a.H.push({type:b,params:c})};
dz=function(a,b,c){c=c||{};c.session=a.D;c.type=b;gz()?window.parent.postMessage(g.Hg(c),"*"):null!=a.B.contentWindow&&a.B.contentWindow.postMessage(g.Hg(c),"*")};
Mha=function(a,b){var c={};b=wb(b);var d;b.length?d=b.split(/\s+/):d=[];(0,g.D)(d,function(a){c[a]=!0});
g.Hb(Lha,function(a,b){Kn().o(b)&&(c[a]=!0)},a);
return g.Qb(c).join(" ")};
Jha=function(a,b){var c=g.us(b),d=a.ra().getExtension("why_this_ad",!0);if(null!=d){var e=d.B;(0,g.D)(c.firstChild.childNodes,function(a){a.setAttribute("use_ad_info_dialog",!0);a.setAttribute("ad_info_icon_hover_text",d.A);a.setAttribute("targeting_reasons_header",d.D);var b=g.Va(d.F);0<b.length&&(a.setAttribute("dialog_title",d.A),a.setAttribute("targeting_reasons",JSON.stringify(b)));a.setAttribute("ad_settings_button_text",e[1]);a.setAttribute("confirm_button_text",d.C);b=d.o;var c=mq(b,"why_this_ad_url");
0<c.length&&a.setAttribute("wta_shown_tracking",c[0]);c=mq(b,"why_this_ad_afim_survey");0<c.length&&a.setAttribute("wta_afim_survey",c[0]);c=mq(b,"why_this_ad_got_it");0<c.length&&a.setAttribute("wta_closed_tracking",c[0]);b=mq(b,"why_this_ad_settings_url");0<b.length&&a.setAttribute("wta_ad_settings_clicked_tracking",b[0]);e&&3==e.length&&a.setAttribute("generic_message",e[0]+e[1]+e[2])},a)}return vs(c)};
Kha=function(a,b){for(var c=g.us(b),d=a.ra(),e;null!=d;){e=d.getExtension("survey",!0);if(null!=e)break;d=d.A}if(null!=e){var f=c.firstChild.firstChild;d=Hq(e,"interstitial_viewed");(0,g.D)(d,function(a){var b=g.Md("interstitial_viewed");b.textContent=a;f.appendChild(b)},a);
d=Hq(e,"interstitial_timed_out");(0,g.D)(d,function(a){var b=g.Md("interstitial_timed_out");b.textContent=a;f.appendChild(b)},a);
d=Hq(e,"interstitial_start_clicked");(0,g.D)(d,function(a){var b=g.Md("interstitial_start_clicked");b.textContent=a;f.appendChild(b)},a);
d=Hq(e,"interstitial_dismissed");(0,g.D)(d,function(a){var b=g.Md("interstitial_dismissed");b.textContent=a;f.appendChild(b)},a);
e=Hq(e,"survey_question_displayed");(0,g.D)(e,function(a){var b=g.Md("survey_question_displayed");b.textContent=a;f.appendChild(b)},a)}return vs(c)};
hz=function(a,b,c,d){d=bo(b,c,d);var e=br(d,a.ra()),f=Xs(a.ra());Yn(f,e);b.message=d.Vd();fo(a,b,c)};
kz=function(a,b){if(g.w(b.type))switch(b.type){case "friendlyReady":ez(a);break;case "videoCall":switch(b.func){case "load":case "play":a.Oa.lg();a.ca!=b.src&&(a.ca=b.src,a.o.load(b.src,b.mimetype));a.o.play();break;case "pause":a.o.pause()}break;case "returnDuration":a.G=b.duration;break;case "returnRemainingTime":a.K=b.remainingTime;break;case "AdClickThru":a.Ca("click");a.ma("click");break;case "AdDurationChange":a.G=b.duration;a.K=b.remainingTime;a.ra().o.oa=a.G;a.ma("durationChange");break;case "AdError":hz(a,
jx,Error(b.message));a.stop();break;case "AdExpandedChange":a.ma("expandedChanged");break;case "AdImpression":var c=a.ra();g.Na(Zs(c))||a.Rd(c);iv(a,"impression");a.L=!0;iz(a,51);break;case "AdLinearChange":c=b.isLinear;!a.A&&c?(a.ma("contentPauseRequested"),fz(a,"becameLinear")):!c&&a.A&&(a.ma("contentResumeRequested"),fz(a,"becameNonlinear"),fz(a,"getAdRemainingTime"),fz(a,"getAdDuration"));a.A=c;var d=a.ra();d.wa=!0;d.xa=c;a.ma("linearChanged");break;case "AdLoaded":g.Dg(a.W);a.N=!0;d=b.companions;
c=a.ra();g.Na(Zs(c))&&(d=ax(d,c.o.o),g.Na(d)||Ns(c,d));jz(a);iv(a,"loaded");break;case "AdPaused":a.F=!0;iv(a,"pause");break;case "AdPlaying":a.F=!1;iv(a,"resume");break;case "AdRemainingTimeChange":a.K=b.remainingTime;c=a.ra().getDuration();d=c-a.Tc();ov(a,d,c);break;case "AdSkipped":iv(a,"skip");a.stop();break;case "AdSkippableStateChange":iv(a,"skippableStateChanged");break;case "AdStarted":a.Ca("creativeview");iz(a,52);break;case "AdStopped":a.Ca("stop");a.stop();break;case "AdUserAcceptInvitation":a.A?
a.Ca("acceptinvitationlinear"):a.Ca("acceptinvitation");break;case "AdUserMinimize":a.Ca("collapse");break;case "AdUserClose":iv(a,"userClose");break;case "AdVideoComplete":a.L&&a.O||(c={},c.aic=a.L,c.avc=a.O,iz(a,56,c));iv(a,"complete");break;case "AdVideoFirstQuartile":iv(a,"firstquartile");break;case "AdVideoMidpoint":iv(a,"midpoint");break;case "AdVideoStart":a.Ca("start");a.ma("start");a.O=!0;break;case "AdVideoThirdQuartile":iv(a,"thirdquartile");break;case "AdVolumeChange":c=b.volume;c!=a.C&&
a.ma("volumeChange",{volume:c});0==c&&0!=a.C?(a.Ca("mute"),a.ma("mute")):0==a.C&&0!=c&&a.Ca("unmute");a.C=c;a.o.setVolume(c);break;case "AdInteraction":c={};c.id=b.id;a.ma("interaction",c);break;case "Ping":Un(b.url)}};
lz=function(a,b){gz()||dz(a,"wrapperCall",{messageType:b})};
jz=function(a){a.N&&a.ba&&(fz(a,"startAd"),a.J.start(),a.A||(fz(a,"becameNonlinear"),fz(a,"getAdRemainingTime")),fz(a,"getAdDuration"))};
iz=function(a,b,c){try{c=c||{};c.dn=a.aa;c["if"]=gz();c.pid=Ux.getInstance().o;var d=it(a.ra()).join();c.xy=d;Mo.getInstance().report(b,c,!0)}catch(e){}};
gz=function(){return 2==P.G};
mz=function(){dv.call(this,[]);this.jb=null;this.ye=this.ze=-1;this.G=!1};
oz=function(a,b,c,d){if(a.o){var e=a.o;kn(a.Za(),e,nz,a.dispatchEvent,a);kn(a.Za(),e,"companionBackfill",a.dispatchEvent,a);kn(a.Za(),e,"adError",a.hE,a);kn(a.Za(),e,"allAdsCompleted",g.A,a);kn(a.Za(),e,"contentPauseRequested",a.rE,a);kn(a.Za(),e,"contentResumeRequested",a.Dw,a);kn(a.Za(),e,"userClose",a.Bj,a);kn(a.Za(),e,"autoClose",a.Aj,a);a.o.rh(a.ie);a.o.Yc(b,c,d)}};
pz=function(a){a.o&&(a.o.destroy(),a.o=null);a.Oa&&a.Oa.hide();g.lf(a.hc);a.hc=null};
rz=function(a,b,c){mz.call(this);this.B=c;this.A=null;this.D=this.F=this.C=!1;this.o&&pz(this);this.o=b;qz(this,b)};
tz=function(a,b,c){var d=(0,g.B)(function(a){eo(this,Nha,c);try{var b=sz([a[0]]);if(b)var d=b;else throw Error("Ads manager creation failure, failed to determine ad type.");qz(this,d);a=d;try{this.o&&pz(this),this.o=a,oz(this,this.Oa,this.content,this.Wa),this.G&&this.o.Ek(),this.o.bb(this.ze,this.ye,this.hd),this.o.init(this.hd),this.start()}catch(m){d=m;var e=a.Bb();ot(e);tz(this,pt(e),Error(d.Vd()))}}catch(m){e=m,fo(this,e.Vd(),e.Ym)}},a);
a=(0,g.B)(function(){this.ma("contentResumeRequested");fo(this,Oha,c);this.destroy()},a);
null!=b?sr(b,d,a):a(null)};
qz=function(a,b){a.A&&a.A.dispose();a.A=new g.hn(a);g.M(a,a.A);kn(a.A,b,"start",a.TR,a)};
uz=function(a){dv.call(this,[]);this.jb=null;this.A=a;this.B=0;this.o=this.A[this.B];this.C=this.F=this.D=null;this.ye=this.ze=-1;this.G=!1;Pha(this)};
vz=function(a,b,c,d){if(a.o){a.D=new g.hn(a);var e=a.o,f=a.D;kn(f,e,nz,a.dispatchEvent,a);kn(f,e,"start",a.IM,a);kn(f,e,"companionBackfill",a.dispatchEvent,a);kn(f,e,"adError",a.SR,a);kn(f,e,"allAdsCompleted",g.A,a);kn(f,e,"contentPauseRequested",a.mi,a);kn(f,e,"contentResumeRequested",a.vg,a);kn(f,e,"userClose",a.Bj,a);kn(f,e,"autoClose",a.Aj,a);a.o.Yc(b,c,d)}};
Pha=function(a){var b=0,c=a.A.length;(0,g.D)(a.A,function(a){b+=a.wf().getDuration()},a);
var d=1;(0,g.D)(a.A,function(a){a=a.wf().C;a.Le=c;a.o=d;a.B=d;d++},a)};
xz=function(a,b,c){a.B+1>=a.A.length?fo(a,Jy,c.Ym):(eo(a,Jy,c.Ym),wz(a,b))};
wz=function(a,b){if(a.o===b)if(yz(a),a.B++,a.B<a.A.length)try{a.o=a.A[a.B],a.o===a.C?(a.D=a.F,a.C=null,a.F=null,a.Oa.hide(),a.Oa.Up()):(vz(a,a.Oa,a.content,a.Wa),a.o.bb(a.ze,a.ye,a.hd),a.o.init(a.hd)),a.start()}catch(c){xz(a,a.o,c)}else a.ma("contentResumeRequested"),a.destroy()};
yz=function(a){a.D&&(a.D.dispose(),a.D=null);a.o&&(a.o.destroy(),a.o=null);a.Oa&&a.Oa.hide()};
Qha=function(a){return'<div class="'+R("overlays-action-tray")+'"><div class="'+R("ad-info-padding")+'" title="'+R(a.jK)+'" role="button" tabindex="1"><svg class="'+R("ad-info-button")+'" xmlns="http://www.w3.org/2000/svg" width="48px" height="48px" viewBox="0 0 48 48"><path d="M0 0h48v48H0z" fill="none"/><path d="M22 34h4V22h-4v12zm2-30C12.95 4 4 12.95 4 24s8.95 20 20 20 20-8.95 20-20S35.05 4 24 4zm0 36c-8.82 0-16-7.18-16-16S15.18 8 24 8s16 7.18 16 16-7.18 16-16 16zm-2-22h4v-4h-4v4z"/></svg></div><div class="'+
R("close-padding condensed contains-svg")+'" title="'+R(a.close)+'" role="button" tabindex="0"><svg class="'+R("svg-close-button")+'" xmlns="http://www.w3.org/2000/svg" width="48px" height="48px" viewBox="0 0 48 48"><path d="M38 12.83L35.17 10 24 21.17 12.83 10 10 12.83 21.17 24 10 35.17 12.83 38 24 26.83 35.17 38 38 35.17 26.83 24z"/><path d="M0 0h48v48H0z" fill="none"/></svg></div></div>'};
Rha=function(a){return'<a target="_blank" href="'+R(Zp(a.url))+'" class="'+R("attribution-button")+'">'+Q(a.text)+"</a>"};
zz=function(a,b){this.J=a;this.H=g.Md("DIV",{"class":"controls"});this.o=g.Md("DIV",{"class":"adDisplay"});this.W=b||g.A;this.hg=new g.hn(this)};
Az=function(a){var b=g.Md("DIV",{"class":"ima-container"});Wt(b,"opacity 0.4s");a.hg.X(b,"mouseover",a.uM);a.hg.X(b,"mouseout",a.OX);b.appendChild(a.H);a.H.appendChild(a.o);return b};
Bz=function(a){var b=window.document.createEvent("Event");b.initEvent("creativeview",!0,!0);a.dispatchEvent(b)};
Cz=function(a){dv.call(this,a);this.B=null;this.N=g.Md("DIV",{style:"display:none;position:absolute;top:0;left:0;bottom:0;right:0;z-index:2000"});this.D=!1;this.H=[];this.G=null;this.L=new g.Pf};
Dz=function(a,b){var c=Wea(b);(0,g.D)(c,function(a){jq(this.fc.B,"click",a)},a)};
Ez=function(a,b){var c=cr(b,a.Ka);a.fc.o=c;b.o&&(a.ph(b),c=b.o)&&(a.zg(c,Sha),lv(a,b))};
Fz=function(a,b){var c=br(b,a.ra()),d=Xs(a.ra());Yn(d,c)};
Gz=function(a,b,c,d,e,f,k){g.Pf.call(this);this.A=this.J=0;this.G=a;this.Jc=b;this.ia=c;this.F=null;this.qb=d;this.N=f;this.aa=P.C;this.K=this.D=this.H=this.o=null;this.ye=this.ze=-1;this.ba="normal";this.W=null;this.C=e;this.B=[];this.ga=this.L=this.ha=this.O=!1;this.ca=k;this.jb=null;Tha(this)};
Hz=function(a,b,c,d){a.ze=b;a.ye=c;null!=d&&(a.ba=d);null!=a.o&&a.o.bb(b,c,d)};
Tha=function(a){(0,g.D)(a.G,function(a){Uha(a)})};
Iz=function(a){return a.J<a.G.length&&null!=a.G[a.J]};
Vha=function(a,b){var c;if(c=P.o()&&!g.Na(b)&&0==a.Jc)c=b[0],c=null!=c&&null==Ht(c)&&Ct(c,"nonlinear");return c?(c=jt(b[0]),"ADSENSE"==(0<c.length?c.pop():Ws(b[0])).toUpperCase()):!1};
Oz=function(a){!Iz(a)||2<=a.B.length-a.A?a.ha||(Kz(a),a.yg()&&Lz(a,a.A)&&Mz(a,a.A)&&Nz(a,a.A),a.ha=!0,a.dispatchEvent("adBreakInitialized")):Jz(a)};
Jz=function(a){var b=a.G[a.J];kn(a.Z,a.qb,"adsLoaderSdkAdLoaded",a.fE,a);P.C="on_master_ad";Wha(a.qb,b.A,b)};
Kz=function(a){null==a.Jc||(0,g.Pj)(a.B,function(a){return!a.isBumper()})||(a.B=(0,g.Vd)(a.B,function(a){return!(a.isBumper()&&!a.B)}))};
Lz=function(a,b){if(b<a.B.length){var c=a.B[b];g.Na(c.o)?c=!1:(c=c.o[0],c=null!=c?!hp(Ps(c),"rm"):!1)}else c=!1;return c};
Vz=function(a){if(Lz(a,a.A)){var b=a.B[a.A];try{a.L?Pz(a,a.o):a.yg()&&Mz(a,a.A)?(null===a.D&&Nz(a,a.A),Qz(a),a.o=a.D,a.H=a.K,a.D=null,a.K=null,a.C.Up()):(Qz(a),a.H=new g.hn(a),a.o=Rz(a,b,a.H),Pz(a,a.o));null!=a.F&&(a.F.dispose(),a.F=null);if(Sz(a.o)){var c=a.Bb();if(null==c||!Dt(c)){var d=a.o.ra().o;if(null!==d){var e=d.Ba;0>=e&&!a.N.zz||(0>=e&&(e=15),a.F=new g.Bg(1E3*e),nn(a.H,a.F,"tick",a.rU,a))}}}if(Sz(a.o))a.dispatchEvent("contentResumeRequested"),a.C.Md(),a.o.start(),null!=a.F&&a.F.start();else{var f=
a.o;if(null!=f&&f instanceof qy)a.C.lg(),a.o.start();else{var k=a.o;if(null!=k&&k instanceof cz){var l=a.o;a.C.Md();l.Zb()?gz()||a.C.lg():a.dispatchEvent("contentResumeRequested");a.o.start()}else{var m=a.o;if(null!=m&&(m instanceof mx||m instanceof gx))a.C.Md(),a.o.Zb()||a.dispatchEvent("contentResumeRequested"),a.o.start();else{var n;if(!(n=Tz(a.o))){var p=a.o;n=null!=p&&p instanceof rz}if(n)a.o.start();else throw Error("Unknown ads manager type.");}}}}a.yg()&&Lz(a,a.A+1)&&Mz(a,a.A+1)&&1==Uz(a)&&
Nz(a,a.A+1)}catch(r){a.A++,Vz(a)}Iz(a)&&Jz(a)}else a.dispatchEvent("contentResumeRequested"),Wz(a)};
Pz=function(a,b){if(null===b)throw Error("Ads manager must be constructed before initialization");b.init(a.ba);null!=a.W&&b.setVolume(a.W)};
Rz=function(a,b,c){b=Xz(a.qb.B,b.o);var d=new un(a.C,a.yg());b.rh(a.ca);kn(c,b,nz,a.gE,a);kn(c,b,"companionBackfill",a.gE,a);kn(c,b,"adError",a.QR,a);kn(c,b,"allAdsCompleted",g.A,a);kn(c,b,"contentPauseRequested",a.mi,a);kn(c,b,"contentResumeRequested",a.vg,a);kn(c,b,"userClose",a.Bj,a);kn(c,b,"autoClose",a.Aj,a);b.Yc(d,{currentTime:0},a.N);b.bb(a.ze,a.ye,a.ba);return b};
Qz=function(a){a.C.hide();null!=a.F&&(a.F.dispose(),a.F=null);null!=a.H&&(a.H.dispose(),a.H=null);null!=a.o&&(a.o.destroy(),a.o=null)};
Yz=function(a){null!=a.K&&(a.K.dispose(),a.K=null);null!=a.D&&(a.D.destroy(),a.D=null)};
Tz=function(a){return null!=a&&a instanceof uz};
Sz=function(a){return null!=a&&a instanceof Cz};
Wz=function(a){a.O=!1;a.dispatchEvent("allAdsCompleted")};
Uz=function(a){return null===a.o||g.Na(a.o.ads)?0:a.o.ads.length};
Xha=function(a,b,c){if("loaded"==b||"start"==b||"adMetadata"==b||"companionBackfill"==b||"firstquartile"==b){var d=0,e=0;(0,g.D)(a.B,function(a,b){var f=a.o;-1!=(0,g.La)(f,c)&&a.isBumper();d+=f.length;b<this.A&&(e+=f.length)},a);
b=c.C;var f=e+b.B;b.Le=d+(a.G.length-a.J);b.o=f;b.C=a.ia;b.A=a.Jc}};
Nz=function(a,b){var c=a.B[b];a.K=new g.hn(a);a.D=Rz(a,c,a.K);Pz(a,a.D)};
Mz=function(a,b){if(0<=b&&b<a.B.length){var c=a.B[b].o[0];return null!=Ht(c)||null!=It(c)?!1:!0}return!1};
Zz=function(a){this.o=a};
Yha=function(a){this.A=a};
$z=function(a){this.A=a;this.o=this.isBumper=!1;this.B=null;this.gp=!1};
Uha=function(a){if(null!=a.A.o&&(a=g.Ng(a.A.o)[6]||null)){var b=null;Rg(a,function(a,d){if(null==b)switch(a){case "max_ad_duration":case "pmxd":b=d/1E3}})}};
aA=function(){this.o=new g.Mm};
bA=function(a,b,c){if((0,window.isNaN)(c)||!g.ta(c))throw Error("Incorrect time offset.");var d=[];Om(a.o,c)&&(d=a.o.get(c,[]));(0,g.D)(b,function(a){null!=a&&g.Pa(d,a)});
a.o.set(c,d)};
cA=function(a,b){this.o=a;this.A=b};
$ha=function(a){var b=new aA;(0,g.D)(g.Wd(g.Yd(a.o)),function(a){switch(a.nodeName){case "Preroll":a=dA(this,a);bA(b,a,0);break;case "Midroll":var c=As(a,"timeOffset"),e=Es(c);if(-1==e)throw ao(eA,null,"timeOffset",g.G(c));a=dA(this,a);bA(b,a,e);break;case "Postroll":a=dA(this,a);bA(b,a,-1);break;default:throw ao(fA,null,a.parentNode.nodeName,a.nodeName);}},a);
if(0==b.o.Fb().length)throw ao(Zha);return b};
dA=function(a,b){var c=[];(0,g.D)(g.Wd(b),function(a){switch(a.nodeName){case "Ad":var b=g.G(Bs(a));if(!g.F(b)){a=As(a,"bumper");var d=this.A.clone();d.o=b;b=new $z(d);b.isBumper=null!=a;b.o="always"==a;g.Pa(c,b)}break;default:throw ao(fA,null,a.parentNode.nodeName,a.nodeName);}},a);
return c};
gA=function(a){g.of.call(this,a);this.o=this.A=null};
hA=function(){g.Pf.call(this);this.currentTime=0};
jA=function(a,b,c){g.Pf.call(this);c=c||new iA;this.A=a;this.D=c.G;this.H=c.F;this.L=c.D;this.J=c.o;this.K=c.B;this.F=c.A;this.G=c.C;this.C=!1;this.Z=null;this.B=!1;this.o=aia(b)};
iA=function(){this.F=0;this.B=this.o=this.G=this.D=!1;this.C=this.A=5};
kA=function(a){this.o=a.Jc;this.D=g.Ca(a);this.B=this.A=!1;this.lN=5==a.cf();this.C=this.Ee=!1};
lA=function(a,b){return ab(a.o,b.o)};
mA=function(a){a.A.start();a.B=!0};
bia=function(a){if(a.B){var b=g.Ia(a.o,function(a){return-1==a.o},a);
null!=b&&nA(a,!0,b)}};
aia=function(a){var b=[];(0,g.D)(a,g.Da(function(a,b){a(new kA(b))},g.Da(function(a,b){g.gb(a,b,lA)},b)));
return b};
cia=function(a,b){for(var c=[],d=0;d<a.o.length;d++){var e=a.o[d];-1!=e.o&&e.o<=b&&g.Pa(c,e)}return c};
oA=function(a,b){return Ka(a,g.Da(function(a,b){return b.lN==a},b))};
dia=function(a){var b=[],c=oA(a,!1);c&&b.push(c);(a=oA(a,!0))&&g.gb(b,a,lA);return b};
eia=function(a,b){for(var c=0;c<a.o.length;c++){var d=a.o[c];if(pA(a,d,a.H,b,!0,a.L)&&!a.o[c].A)return d}return null};
pA=function(a,b,c,d,e,f){return-1==b.o?f&&0<a.A.duration&&d>=a.A.duration-c:e&&d>=b.o-c&&d<b.o};
qA=function(a,b){var c=new gA("contentTrackingError");c.setDescription(b);a.dispatchEvent(c)};
nA=function(a,b,c){null!=c&&(c.A||(rA(a,"requestAds",c),c.A=!0),b&&!c.B&&(rA(a,"playAds",c),c.B=!0))};
fia=function(a,b){var c;a:{for(c=0;c<a.o.length;c++){var d=a.o[c];if(pA(a,d,-1==d.o?a.G:a.F,b,a.J,a.K)&&d.Ee&&!d.C){c=d;break a}}c=null}null==c?a.C&&(a.dispatchEvent(new gA("discardAdNotify")),a.C=!1):a.C||c.B||(rA(a,"adNotify",c),a.C=!0)};
rA=function(a,b,c){b=new gA(b);b.A=c.o;b.o=c.D;a.dispatchEvent(b)};
sA=function(a){hA.call(this);this.currentTime=a.currentTime;if(!("currentTime"in a)||(0,window.isNaN)(a.currentTime))throw bo(Yo,null,"content","currentTime");this.duration="duration"in a&&!(0,window.isNaN)(a.duration)?a.duration:-1;this.o=a;this.Fa=new g.Bg(250);this.A=new g.hn(this);kn(this.A,this.Fa,"tick",this.B,this)};
gia=function(){};
tA=function(a,b,c){if(g.Na(a))return null;a=(0,g.Vd)(a,function(a){var b=a.B;return"application/x-mpegurl"==g.G(a.o).toLowerCase()||"application/dash+xml"==g.G(a.o).toLowerCase()||"progressive"==b});
g.Na(c)||(c=(0,g.I)(c,function(a){return a.toLowerCase()}),a=(0,g.Vd)(a,function(a){return g.Ma(c,g.G(a.o).toLowerCase())}));
if(!g.ta(b)||0>=b)b=gi()?500:1E3;return hia(a,b)};
hia=function(a,b){return iia(a,b)||jia(a,b)||kia(a,b)};
iia=function(a,b){var c=null;(0,g.D)(a,function(a){var d=a.pj,f=a.pg;d>b||f<b||!(null==c||c.pj>d)||(c=a)});
return c};
jia=function(a,b){var c=null;(0,g.D)(a,function(a){var d=a.pj,f=a.pg;f>b||(null==c||c.pg<f?c=a:null!=c&&c.pg==f&&c.pj>d&&(c=a))});
return c};
kia=function(a,b){var c=null;(0,g.D)(a,function(a){var d=a.pj,f=a.pg;if(!(d<b))if(null!=c&&c.pj==d&&c.pg<f)c=a;else if(null==c||c.pj>d)c=a});
return c};
uA=function(){this.A=0;this.o=[]};
vA=function(a,b){if(b>=a.o.length)throw Error("Out of bounds exception");return 4>a.o.length?b:(a.A+Number(b))%4};
wA=function(a){g.Pf.call(this);this.o=a;this.O=new uA;this.A=0;this.N=this.B=this.ad=this.F=!1;this.K=this.Sh();this.J=this.Bk();this.W=1E4;this.L=!1};
yA=function(a){a.ad=!1;a.B=!1;a.F=!1;a.A=0;a.N=!1;a.O.clear();xA(a);g.lf(a.C)};
zA=function(a,b){a.B||(a.B=!0,xA(a),a.dispatchEvent("start"),g.za(a.o.getAttribute)&&a.o.getAttribute("playsinline"),yo()||!g.ro||to(3)||mo()&&!qo(4)||a.Cu(b))};
AA=function(a){for(var b=a.o.buffered.length-1;0<=b;){if(a.o.buffered.start(b)<=a.o.currentTime)return a.o.buffered.end(b);b--}return 0};
xA=function(a){a.H&&(g.Dg(a.H),a.H=null)};
CA=function(){g.Pf.call(this);this.buffered=new BA;this.Z=new g.hn(this);var a=xn();if(a){a:{if(Sb(a.o,"videoElementMockDuration")&&(a=a.o.videoElementMockDuration,g.ta(a)))break a;a=window.NaN}this.duration=a}};
lia=function(){var a=["video/mp4"],b=["video/ogg"],c=new CA;c.canPlayType=function(c){return g.Ma(a,c)?"probably":g.Ma(b,c)?"maybe":""};
c.width=0;c.height=0;c.offsetWidth=0;c.offsetHeight=0;return c};
mia=function(a){this.startTime=0;this.endTime=a};
BA=function(){this.length=0;this.o=[]};
DA=function(a,b,c,d){if(null==a||!g.ae(g.vd(a),a))throw bo(Yo,null,"containerElement","element");this.D=a;this.A=this.o=null;this.C=b;this.G=!d;this.F=c||!1;this.B=null;this.o=g.Md("DIV",{style:"display:none;"});this.D.appendChild(this.o);this.G&&(a=xn(),yn(a,"useVideoElementMock")?(a=lia(),b=g.Md("DIV",{style:"position:absolute;width:100%;height:100%;top:0px;left:0px;"}),g.Ea(b,a),a.Wl=g.Md("DIV",{style:"position:absolute;width:100%;height:100%;top:0px;left:0px;background-color:#000"}),a.Yp=g.Md("P",
{style:"position:absolute;top:25%;margin-left:10px;font-size:24px;color:#fff;"}),a.Wl.appendChild(a.Yp),b.appendChild(a.Wl),a.Z.X(a,["loadeddata","playing","pause","ended"],a.hW),a=b):a=g.Md("VIDEO",{style:"background-color:#000;position:absolute;width:100%;height:100%;",title:"Advertisement"}),a.setAttribute("webkit-playsinline",!0),a.setAttribute("playsinline",!0),this.A=a,this.o.appendChild(this.A));this.C&&(a="display:none;position:absolute;width:100%;height:100%;",P.D||(a+="background-color:#000;"),
a=g.Md("DIV",{id:this.C,style:a}),this.o.appendChild(a));this.F&&(this.B=g.Md("DIV",{style:"position:absolute;width:100%;height:100%;"}),this.o.appendChild(this.B))};
EA=function(a,b,c,d){g.L.call(this);this.C=b||null;this.G="*";this.A=c||null;this.sessionId=null;this.channel=d||null;this.K=!!a;this.D=(0,g.B)(this.H,this);window.addEventListener("message",this.D)};
FA=function(a,b){"null"!=b.origin&&(a.A=a.G=b.origin);a.C=b.source};
GA=function(a){EA.call(this,!0);this.sessionId=a;this.channel="remoteplayer";this.A="*";this.o={};this.B=[];this.F=!1};
HA=function(a){a.F=!0;(0,g.D)(a.B,function(a){this.sendMessage(a)},a);
a.B.length=0};
nia=function(){};
IA=function(a,b){this.o=a;this.C=new oy;this.F=(0,g.B)(this.G,this);this.J=Math.floor(2147483646*Math.random())+1;this.A=b||new GA(this.J);g.M(this,this.A);this.Z=new g.hn(this);g.M(this,this.Z);var c=(0,g.B)(a.play,a);this.A.o.play=c;c=(0,g.B)(a.load,a);this.A.o.load=c;c=(0,g.B)(a.pause,a);this.A.o.pause=c;c=(0,g.B)(this.D,this);this.A.o.listen=c;c=(0,g.B)(this.H,this);this.A.o.unlisten=c;c=(0,g.B)(this.B,this,"src");this.A.o.setSource=c;c=(0,g.B)(this.B,this,"muted");this.A.o.setMuted=c;c=(0,g.B)(this.B,
this,"volume");this.A.o.setVolume=c};
LA=function(a,b){g.Pf.call(this);this.aa="ima-chromeless-video";var c=null;null!=a&&(g.w(a)?this.aa=a:c=a);this.Z=new g.hn(this);this.F=null;this.W=this.C=!1;this.xa=new g.sd(0,0);this.oa=this.Bk();this.K=-1;this.ha=!1;this.G=-1;this.A=this.ga=this.L=null;this.ba="";this.B=!1;this.ka=null!=c;this.Ba=this.o=null;this.O=b||null;this.Va=Kn().o("abort_ad_on_browser_autoplay_blocked");this.Da=this.N=this.ia=null;this.D=void 0;this.J=this.sa=null;this.H=this.Ha=0;this.pa=null;if(this.ka)this.B=!0,this.o=
c,this.D=2;else if(c=(0,g.B)(this.KK,this),JA)c();else{KA.push(c);c=g.Od("SCRIPT");g.jd(c,oia);var d=window.document.getElementsByTagName("script")[0];d.parentNode.insertBefore(c,d)}};
NA=function(a,b,c){null!==b&&(a.ba=b,a.B?MA(a,b,c):(a.L=b,a.ga=c))};
MA=function(a,b,c){var d={autoplay:"1"};P.D&&(d.dash=0);null!=a.A&&(null!=a.A.Vj&&(d.agcid=a.A.Vj),0<=a.A.slotPosition&&(d.slot_pos=a.A.slotPosition),null!=a.A.breakType&&(d.break_type=a.A.breakType),null!=a.A.adFormat&&(d.adformat=a.A.adFormat),null!=a.A.adIds&&(d.ad_id=a.A.adIds),null!=a.A.adSystems&&(d.ad_sys=a.A.adSystems),null!=a.A.o&&(d.ad_query_id=a.A.o),a.A.A&&(d.cta_conversion_urls=a.A.A),a.A.B&&(d.endscreen_ad_tracking_data=a.A.B),a.A.Nl&&(d.wait_for_vast_info_cards_xml=1),a.A.Mj&&(d.suppress_creator_endscreen=
1),a.A.Lk&&(d.is_trueview_action=1),a.A.isPharma&&(d.is_pharma=1),d.iv_load_policy=a.A.G?1:3,a.A.D&&(d.noiba=1),a.A.J&&(d.utpsa=1),a.A.H&&(d.autoplay="1"),a.A.F&&g.fc(d,a.A.F));var e=Sq(b);null===e?(c=null===c?"":c,b="url="+(0,window.encodeURIComponent)(b)+"&type="+(0,window.encodeURIComponent)(c),d.url_encoded_third_party_media=b):d.videoId=e;!P.o()&&(d.enabled_engage_types="3,4,5,6");a.C=!1;a.W=!1;a.A&&a.A.C?(a.sa=d,a.o.preloadVideoByPlayerVars(a.sa)):a.o.cueVideoByPlayerVars(d);a.dispatchEvent("loaded")};
OA=function(a,b){var c=b;!c&&a.O&&(c=a.O());a.pa=bo(pia,null,c||"na");a.dispatchEvent("error")};
PA=function(a){a.Z.Ia(a.F,"tick",a.uE);null!=a.F&&(a.F.stop(),a.F=null)};
QA=function(a){null!=a.La&&g.Dg(a.La)};
RA=function(a,b){g.Pf.call(this);this.B=a;this.A=b;this.o={};this.Z=new g.hn(this);this.Z.X(Kd(),"message",this.C);this.jb=null};
TA=function(a,b,c,d){a.o.hasOwnProperty(b)||(c=new Zy(b,c),a.Z.X(c,a.B,function(a){a=new SA(a.type,a.qe,a.qg,a.yB,a.getOrigin(),b);this.dispatchEvent(a)}),c.Nf=d,c.connect(),a.o[b]=c)};
SA=function(a,b,c,d,e,f){Yy.call(this,a,b,c,d,e);this.o=f};
VA=function(){var a=g.y("google.ima.gptProxyInstance",Kd());if(null!=a)return a;g.hn.call(this);this.B=new RA("gpt",!0);g.M(this,this.B);this.X(this.B,"gpt",this.F);this.jb=this.o=null;UA()||Kd().top===Kd()||(this.o=new RA("gpt",!1),g.M(this,this.o),this.X(this.o,"gpt",this.D))};
UA=function(){return!!g.y("googletag.cmd",Kd())};
WA=function(){var a=g.y("googletag.console",Kd());return null!=a?a:null};
qia=function(a,b){var c=Array.prototype.slice.call(arguments),d=c.shift();if("undefined"==typeof d)throw Error("[goog.string.format] Template required");return d.replace(/%([0\- \+]*)(\d+)?(\.(\d+))?([%sfdiu])/g,function(a,b,d,l,m,n,p,r){if("%"==n)return"%";var e=c.shift();if("undefined"==typeof e)throw Error("[goog.string.format] Not enough arguments");arguments[0]=e;return XA[n].apply(null,arguments)})};
$A=function(a,b){g.Pf.call(this);this.Z=new g.hn(this);this.H=!1;this.J=Ab();this.G=new g.Mm;var c=this.J;var d=(Hba()?"https:":"http:")+qia("//web.archive.org/web/20181027110332/https://imasdk.googleapis.com/js/core/bridge0.0.0_%s.html","en");a:{var e=window;try{do{try{if(0==e.location.href.indexOf(d)||0==e.document.referrer.indexOf(d)){var f=!0;break a}}catch(k){}e=e.parent}while(e!=e.top)}catch(k){}f=!1}f&&(d+="?f="+c);c=g.Md("IFRAME",{src:d+"#"+c,allowFullscreen:!0,style:"border:0; opacity:0; margin:0; padding:0; position:relative;"});
this.Z.di(c,"load",this.fL);a.appendChild(c);this.A=c;c=this.G.get("*");null==c&&(c=new Zy(this.J,"*"),this.H&&(c.Nf=be(this.A),c.connect()),this.G.set("*",c));this.F=c;this.D=b;this.o=this.D.A;this.jb=this.B=this.C=null;this.Z.X(this.F,"mouse",this.ML);this.Z.X(this.F,"touch",this.dM);null!=this.o&&(this.Z.X(this.F,"displayContainer",this.HL),this.Z.X(this.F,"videoDisplay",this.aM),this.Z.X(this.F,"preloadVideoDisplay",this.TL),this.Z.X(this.o,g.Pb(YA),this.xg),this.Z.X(this.o,ZA,this.xg));c=Kd();
d=g.y("google.ima.gptProxyInstance",c);null==d&&(d=new VA,g.ua("google.ima.gptProxyInstance",d,c))};
aB=function(a,b){var c=g.Ih(a.A),d=!!("TouchEvent"in window&&0<window.TouchEvent.length),e=(0,g.I)(b,function(a){return d?new window.Touch({identifier:a.identifier,target:this.A,clientX:a.clientX,clientY:a.clientY,screenX:a.screenX,screenY:a.screenY,pageX:a.pageX+c.x,pageY:a.pageY+c.y}):window.document.createTouch(window,this.A,a.identifier,a.pageX+c.x,a.pageY+c.y,a.screenX,a.screenY)},a);
return window.document.createTouchList.apply(window.document,e)};
bB=function(a){a=a.playbackOptions;var b=new hy;b.adFormat=a.adFormat;b.Vj=a.adSenseAgcid;b.K=a.contentVideoDocId;b.A=a.ctaAnnotationTrackingEvents;a.showAnnotations&&(b.G=!0);a.viewCountsDisabled&&(b.J=!0);b.timeout=a.loadVideoTimeout;a.ibaDisabled&&(b.D=!0);a.enablePreloading&&(b.C=!0);b.o=a.adQemId;a.isPharma&&(b.isPharma=!0);a.useAutoplayFlag&&(b.H=!0);b.B=a.endscreenAdTracking;a.waitForVastInfoCardsXml&&(b.Nl=!0);a.suppressCreatorEndscreen&&(b.Mj=!0);a.isTrueViewAction&&(b.Lk=!0);return b};
cB=function(a,b,c,d){this.H=a;var e=null!=c;Mn(Jn(),136961005)&&(P.L=!0);var f=e,k=!1;P.L?P.A||(zo()&&e||(f=!1),!f&&P.L&&!P.o()&&jo()&&(P.D=!0),!P.D&&jo()||Cl()||(k=!0)):P.A||zo()&&e||(!P.D&&jo()||Cl()||(k=!0),f=!1);this.J=f;this.L=k||f&&null!=c;P.A?a=null:(e=g.Md("DIV",{style:"position:absolute"}),a.insertBefore(e,a.firstChild),a=e);this.B=a;this.o=this.J||!this.B||P.A||!jo()?null:new DA(this.B,null,!0);e=a=null;this.J?c&&(a=new LA(c,d)):this.o&&(a=new wA(this.o.A),e=this.o.A);d=null;e&&P.D&&k&&
(d=new IA(e));this.K=d;this.A=a;this.D=this.C=null;k=g.ro&&!to(4);d=mo()&&jo();this.o&&this.A&&this.B&&!this.J&&!Cl()&&!k&&!d&&this.B&&(this.C=new DA(this.B,null,!0),this.D=new wA(this.C.A));this.F=this.A?b||null:null;this.N=null!=this.F;Mo.getInstance().report(8,{enabled:this.J,yt:null!=c,customClick:null!=this.F});null===this.B&&(b=this.H,P.H=b);this.G=null==this.B||P.A?null:new $A(this.B,this)};
dB=function(a){return a.N&&a.F?a.F:null!=a.o?a.o.B:null};
eB=function(a){this.o=a};
fB=function(a,b){g.of.call(this,"adsManagerLoaded");this.o=a;this.A=b};
gB=function(a,b,c,d){a.o.Yc(new eB(b),c,d);return a.o};
hB=function(){};
iB=function(){g.Pf.call(this);this.Ee=!1;this.impressionUrls=[]};
jB=function(a,b,c){g.of.call(this,a);this.A=b||null;this.o=c||null};
lB=function(a,b){g.Pf.call(this);this.o=a;this.F=!!b;this.C=kB(this);this.C||(this.A=g.Bf(this.o,g.Hd&&!g.qc("7")?"readystatechange":"load",this.D,!1,this),this.B=window.setInterval((0,g.B)(this.D,this),100))};
mB=function(a){a.B&&(window.clearInterval(a.B),a.B=null)};
kB=function(a){var b=!1;try{if(a.F||!g.Hd||g.qc("11")){var c=a.o,d=(c.contentDocument||c.contentWindow.document).body;b=a.F?!!d&&!!d.firstChild:!!d}else b="complete"==a.o.readyState}catch(e){}return b};
nB=function(){iB.call(this);this.G=[];this.D=!1;this.B="not_loaded";this.A=null;this.C=0;this.o=this.jb=null;this.H=new ud};
oB=function(a){var b=["googletag","googletag.cmd"];return g.Ia(a,function(a){return(0,g.Am)(b,function(b){return null!==g.y(b,a)})})||null};
pB=function(a){return a.Ee?(0,g.I)(a.G,function(a){return a.clone()}):[]};
ria=function(a){a=pB(a);if(null!=a)return(0,g.I)(a,function(a){return a.H})};
qB=function(a,b,c){var d=0,e=0;null!=b&&(b=new g.Sm(b.o),d=Number(b.o.get("pod")||0),e=Number(b.o.get("ppos")||0));if(null!=a.setVideoSession)try{a.setVideoSession(fr.o,d,e,c)}catch(f){}};
sia=function(a,b){var c=rB(a);if(null!==c){qB(c,b,!0);try{c.refreshAllSlots()}catch(d){}}};
tB=function(a,b,c){a=sB(a);if(null!=a)try{a.setVideoContent(b,c)}catch(d){}};
uB=function(a,b){a.F=b;tB(a,"","");var c=rB(a);null===c||qB(c,null,!1)};
rB=function(a){null==a.o&&vB(a);return null!=a.o&&null!=a.o.googletag&&null!=a.o.googletag.companionAds?a.o.googletag.companionAds():null};
sB=function(a){null==a.o&&vB(a);return null!=a.o&&null!=a.o.googletag&&null!=a.o.googletag.pubads?a.o.googletag.pubads():null};
wB=function(a){a.A&&(a.A.stop(),a.A.Ia("tick",a.KE,!1,a),a.A.dispose(),a.A=null)};
AB=function(a){if("retrieved"!=a.B&&"not_available"!=a.B&&null!==rB(a)){var b=rB(a);if(null!==b&&g.za(b.getDisplayAdsCorrelator))try{var c=g.G(b.getDisplayAdsCorrelator())}catch(f){c=null}else c=null;switch(c){case "not_loaded":case "not_available":a.B=c;break;default:c=Number(c),(0,window.isNaN)(c)?a.B="not_available":(a.F=c,a.B="retrieved")}}(c=xB(a))||(c=yB(a)&&"not_available"==a.B);if(c){if(!a.J&&yB(a)){try{if(null==a.o)var d=[];else{var e=a.o.googleGetCompanionAdSlots();d=(0,g.I)(e,a.jX,a)}}catch(f){d=
[]}a.G=d;a.J=!0}a.Ee=!0;wB(a);xB(a)?a.dispatchEvent(new jB("companions_success")):zB(a)}else a.A||(a.C=(0,g.H)()+15E3,a.A=new g.Bg(100),a.A.X("tick",a.KE,!1,a),a.A.start())};
xB=function(a){return yB(a)&&"retrieved"==a.B};
yB=function(a){a.D||(vB(a),a.D=null!=a.o&&null!=a.o.googleGetCompanionAdSlots);return a.D};
vB=function(a){var b=g.le(a.H);try{a.o=oB([b,b.top])}catch(c){a.o=null}};
zB=function(a){a.dispatchEvent(new jB("companion_initialization_failed",Error("Partial or full service initialization failure.")))};
tia=function(a,b,c){var d=new lB(b,!0);d.Pb()?BB(a,c,b):Af(d,"ifload",g.Da(function(a){BB(this,c,a)},b),!1,a)};
BB=function(a,b,c){a.dispatchEvent(new jB("companion_slot_init",null,b));var d=c;"IFRAME"==c.tagName&&(d=(c.contentDocument||c.contentWindow.document).body);null!=d&&g.Bf(d,"click",(0,g.B)(a.JS,a,b),!1,a)};
CB=function(){g.Pf.call(this);this.B=[]};
DB=function(){return new Os("empty-ad","GDFP","GDFP","",0,[],[],[],[],new g.Mm)};
EB=function(a){CB.call(this);this.o=a;this.G=this.jb=null;this.F=!1;this.C=null;this.Z=new g.hn;kn(this.Z,this.o,["companions_success","companion_initialization_failed"],this.yV,this);kn(this.Z,this.o,"companion_display_error",this.LS,this);kn(this.Z,this.o,["companion_slot_init","companion_click"],this.HS,this);this.o.Ee?this.F=!0:this.o.initialize()};
GB=function(a){var b=a.C;a.C=null;if(null!=a.o)if(g.Na(a.B))FB(a,Error("Companion slots not available."));else if(null!=b){var c=uia(a,b);a.o.Rd(a.B);if(0<c.length&&b.Da){a=a.o;var d;if(d=0!=c.length)d=lt(b),d="GDFP"==(gt(d[0])&&1<d.length?d[1]:d[0]);if(d){d=[];for(var e=0;e<c.length;e++)d.push(c[e].J);b=b.B;c=rB(a);if(null!==c){qB(c,b,!1);try{c.notifyUnfilledSlots(d)}catch(f){}}}}}else FB(a,Error("Invalid master ad."))};
FB=function(a,b){a.dispatchEvent(new qp("companion_display_error",b))};
uia=function(a,b){var c=[],d=[];(0,g.D)(a.B,function(a){tp(a);(0,g.Pj)(a.H,function(d){a:{d=qt(b,d.width,d.height);if(!g.Na(d)&&(d=via(d,c),null!=d)){var e=d.B;if(null!=e&&0!=a.J.indexOf(e)){d=!1;break a}e=d.o.L;Wa(e,ct(b,"companionClick"));var f=ct(b,"companionImpression"),k=P.o()&&"Html"==d.o.N&&d.C;c.push(d);if(k)sp(a,d.Lc(),d.ub(),d.getHeight(),f);else{k=d.Sc();var p=d.ub(),r=d.getHeight();d="IFrame"!=d.o.N;a.G=k;a.C=null;a.B=p;a.o=r;a.A=d;a.D=f||[];a.F=e||[]}d=!0;break a}d=!1}return d},this)||
d.push(a)},a);
var e=HB(b);a.D=IB(e,c);a.D||(0,g.D)(a.B,function(a){tp(a)},a);
return d};
IB=function(a,b){if(null==a)return!0;var c=a.o;return"all"==a.A?wia(c,b):"any"==a.A?xia(c,b):!0};
HB=function(a){return null==a||null==a.o||(0,window.isNaN)(a.o.o)?null:g.Ia(Bt(a,!0),function(a){a=a.o;return g.Na(a)?!1:(0,window.isNaN)(a[0].o.o)?!1:a[0].o.o==ap(a[0])})};
wia=function(a,b){return(0,g.Am)(a,function(a){return g.Ma(b,a)})};
xia=function(a,b){return(0,g.Pj)(a,function(a){return g.Ma(b,a)})};
via=function(a,b){return g.Ia(a,function(a){return!g.Ma(b,a)})};
JB=function(a,b){this.C=a;this.A=b;this.o=this.jb=null};
yia=function(a){var b=[],c=zs(a,"vmap:Extensions")[0];if(c){var d;Cs(c,"vmap:Extension",function(a){"vmap:YTBreakTime"==c.getAttribute("type")&&(d=a)});
if(d&&(b=zs(d,"yt:BreakTime"),!g.Na(b)))return(0,g.I)(b,function(a){return As(a,"timeOffset")})}return[As(a,"timeOffset")]};
zia=function(a,b){return(0,g.I)(b,function(a){var b=new $z(a.A.clone());b.isBumper=a.isBumper;b.o=a.o;return b},a)};
Aia=function(a){return(a=g.Ia(g.Wd(a),function(a){return"vmap:VASTData"==a.nodeName||"vmap:VASTAdData"==a.nodeName}))?g.Ia(g.Wd(a),function(a){return"VAST"==a.nodeName}):null};
Bia=function(a){var b=null,c=!1;a=g.Ia(a,g.Da(KB,"type","youtube"));null!=a&&(a=(0,g.Vd)(a.getElementsByTagName("*"),function(a){return"yt:BreakProperty"==a.tagName}),g.Na(a)||(a=a[0],a.hasAttribute("break_type")&&(b=$da(a.getAttribute("break_type"))),Kn().o("disable_freqcap_for_hummingbird")&&a.hasAttribute("disable_frequency_capping")&&(c=a.getAttribute("disable_frequency_capping"),c=Fs(c))));
return{breakType:b,gp:c}};
KB=function(a,b,c){return As(c,a)==b};
Dia=function(a,b){if(null!=a){if(null!=a){var c=g.Yd(a);c=null!=c&&"Playlist"==c.nodeName}else c=!1;if(c)return Vx(),new cA(a,b);null!=a?(c=g.Yd(a),c=null!=c&&"vmap:VMAP"==c.nodeName):c=!1;if(c)return Vx(),new JB(a,b);if(Zw(a)){if(!Zw(a))throw ao(fA);c=g.Yd(a);var d=bx(c);if(1>d||4<d)throw ao(Cia);c=zs(c,"Ad");if(g.Na(c))throw ao(LB);c=cx(c[0]);if(null==c)throw ao(MB);if(1!=zs(c,"AdSystem").length)throw ao(MB);return new Yw(a)}}return null};
Eia=function(a){a=(0,g.Vd)(a,function(a){return 0<nt(a)});
g.db(a,function(a,c){return nt(a)-nt(c)});
return a};
Fia=function(a){return(0,g.Vd)(a,function(a){return-1==nt(a)})};
ur=function(a){this.Tf=a};
Gia=function(){this.jb=null;this.o=0};
Hia=function(a,b,c,d,e,f,k){var l=(0,g.B)(function(a){d(a,Error(tx(a)))},a),m=(0,g.B)(function(a){6==a?NB(this,b,!1,c,l,e,f,k):l(a)},a);
NB(a,b,!0,c,m,e,f,k)};
NB=function(a,b,c,d,e,f,k,l){var m=new g.Ax;m.H=c;Bx(m,Iia(f));var n=new g.hn,p=(0,g.B)(function(){n.dispose();m.dispose()},a);
c=(0,g.B)(function(){e(m.A);p()},a);
nn(n,m,"success",function(){try{var a=m.o?m.o.responseXML:null}catch(E){a=null}if(null==a){var b=g.Kx(m);try{a=g.us(b)}catch(E){a=ts("parsererror")}}d(a);p()},a);
nn(n,m,["error","timeout"],c,a);if("POST"==k){b=new g.Sm(b);var r=b.o.toString();Xm(b,"");b=b.toString()}P.o()&&"POST"!=k&&(r=Jia(b,k),b=r.url,k=r.gX,r=r.content);a.o=(0,g.H)();m.send(Rn(b),k,r,l)};
Jia=function(a,b){var c=new hB;c.o=a;if(Lr(c)){c=new g.Sm(a);var d=c.o.get("post_data");if(g.u(d)){b="POST";c.o.remove("post_data");a=c.toString();var e=d}}return{url:a,gX:b,content:e}};
OB=function(a,b){this.A=a;this.B=b};
PB=function(a,b){"auto"!=a.A.Qj&&"click"!=a.A.Qj||b.set("vpa",a.A.Qj)};
QB=function(a){g.F(P.getPlayerType())||(a.set("mpt",P.getPlayerType()),g.F("")||a.set("mpv",""))};
RB=function(a,b){var c=a.B.F,d=a.B.A;null!=c&&b.set("js","ima-"+c);null!=d&&b.set("an",d);c=a.A.K;null!=c&&b.set("mv",c+"."+(a.A.J||""))};
SB=function(a,b){var c=2,d=pi&&dk(pi)?!1:0===vj();!Cl()&&d&&(c|=2048);b.set("osd",c);-1!=a.B.L&&b.set("frm",a.B.L);c=a.B.ca;null!=c&&b.set("ms",c);b.set("sdr",1)};
TB=function(a){return P.A?"h.3.0.0":null!=a.B?Lo(a.B):null};
UB=function(){this.o=["video"]};
VB=function(a,b){a.set("sz",Math.max(null!=b.zk?b.zk:0,null!=b.Af?b.Af:0)+"x"+Math.max(null!=b.yk?b.yk:0,null!=b.zf?b.zf:0))};
XB=function(a){var b={};qi(b);for(var c in b)a.set(c,b[c]);a.set("dt",WB)};
YB=function(a){if(a.ac&&a.ac.LACT){var b=a.ac.LACT.toString();if(b)return Eb(b)}return a.F};
ZB=function(a){return P.o()&&a.ac&&a.ac.VIS?a.ac.VIS.toString():null};
eC=function(a,b,c){var d=new g.Mm;d.set("ad_type",b.adType);dp&&d.set("flash",$B);VB(d,a);aC(b)&&(d.set("ea","0"),null!=a.Af&&null!=a.zf&&d.set("image_size",bC(b,a.Af,a.zf,a.kk)));cC(d,c);d.set("lact",YB(a));(b=ZB(a))&&d.set("yt_vis",b);d.set("videoad_start_delay",a.ks);XB(d);dC(a,d,!0);return d};
dC=function(a,b,c){g.F(g.G(a.referrer))||(a=a.referrer,c&&(a=g.lb(a)),fC("ref",a,b))};
iC=function(a,b,c){a=null!=b?b.split("_"):a;(0,g.D)(a,function(a){if(!g.Vb(Kia,a))throw ao(Yo,null,"ad_type",String(b));});
if(c){var d=[];(0,g.D)(a,function(a){g.Ma(gC,a)||d.push(a)});
a=d}c=g.Ma(a,"video");var e=g.Ma(a,"skippablevideo");!no()||P.o()||Mo.getInstance().report(53,{playsInline:!1,iOS_version:no()?vo(po):"",wv:(Gb("iPad")||Gb("iPhone"))&&!ic()&&!hc()&&!Gb("Coast")&&Gb("AppleWebKit"),rq_video:c,rq_skip:e,dis_cp:!1});var f=Jn();if(!yo()){d=[];(0,g.D)(a,function(a){"video"==a?(d.push("standardvideo"),!P.o()&&Mn(f,413051060)&&d.push("bumpervideo")):"skippablevideo"!=a&&d.push(a)});
if(0==d.length)throw ao(hC,null,"skippablevideo");a=d}return a};
jC=function(a,b){return null!=b?b.split(/[+, ]/):a};
bC=function(a,b,c,d){a.A&&(c=Math.min(c,90));var e=0,f=0;a=!P.o();d=d&&a;a&&(e=15,f=65);var k=[];(0,g.D)(Lia,function(a){var l=b-e>=a.width&&c-f>=a.height,n=!d&&!l&&90>=a.height&&b>=a.width&&c>=a.height;(l||n)&&k.push(a.width+"x"+a.height)});
return k.join(",")};
kC=function(a,b){return null==b||(0,window.isNaN)(b)?a:Number(b)};
lC=function(a,b){return null!=b?String(b):null!=a?a:null};
mC=function(a,b){if(null==b)return a;switch(b.toLowerCase()){case "true":case "1":return!0;case "false":case "0":return!1}return a};
nC=function(a,b,c){return null!=b&&g.Vb(c,b)?b:a};
aC=function(a){return(0,g.Pj)(gC,function(b){return g.Ma(a.o,b)})};
cC=function(a,b){dp?a.set("ca_type","flash"):a.set("ca_type","image");if(null!=b){var c=b.B;null!=c&&0<c.length&&(c=c[0].H,0<c.length&&(a.set("ca_w",c[0].width),a.set("ca_h",c[0].height)))}};
fC=function(a,b,c){null!=b&&c.set(a,b)};
pC=function(a,b,c){OB.call(this,a,b);var d=new UB,e=(new g.Sm(a.o)).o;d.age=nC(d.age,e.get("cust_age"),Mia);d.Bo=nC(d.Bo,e.get("adsafe"),oC);d.o=iC(d.o,e.get("ad_type"));d.adType=d.o.join("_");d.Gs=kC(d.Gs,e.get("videoad_start_delay"));d.Hs=lC(d.Hs,e.get("slotname"));d.Eu=mC(d.Eu,e.get("adtest"))||"on"==e.get("adtest");d.Ks=mC(d.Ks,e.get("scs"));d.Ls=lC(d.Ls,e.get("alternate_ad_url"));d.channels=jC(d.channels,e.get("channel"));d.At=kC(d.At,e.get("cpm"));d.qm=lC(d.qm,e.get("description_url"));d.experimentIds=
lC(d.experimentIds,e.get("eid"));d.gender=nC(d.gender,e.get("cust_gender"),Nia);d.A=mC(d.A,e.get("overlay"));d.host=lC(d.host,e.get("host"));d.B=jC(d.B,e.get("h_ch"));d.tu=kC(d.tu,e.get("ht_id"));d.isLiveStream=mC(d.isLiveStream,e.get("lsv"));if(null!=this.A.language)var f=this.A.language;else f=g.x.navigator||null,f=zn(f.language||f.userLanguage||f.browserLanguage||f.systemLanguage||"");var k=null!=e.get("hl")?String(e.get("hl")):null;f=lC(k,f);var l;null!=f&&!g.F(g.G(f))&&(l=zn(f));d.language=lC(d.language,
l);d.IB=kC(d.IB,e.get("linearAdSlotWidth"));d.HB=kC(d.HB,e.get("linearAdSlotHeight"));d.nq=kC(d.nq,e.get("max_ad_duration"));d.lv=kC(d.lv,e.get("min_ad_duration"));d.oq=kC(d.oq,e.get("sdmax"));d.KB=kC(d.KB,e.get("nonLinearAdSlotWidth"));d.JB=kC(d.JB,e.get("nonLinearAdSlotHeight"));d.sl=lC(d.sl,e.get("client"));d.ar=lC(d.ar,e.get("t_pyv"));l=e.get("sdki");d.qr=kC(d.qr,g.w(l)?(0,window.parseInt)(l,16):l);d.tagForChildDirectedTreatment=kC(d.tagForChildDirectedTreatment,e.get("tfcd"));d.Vq=lC(d.Vq,e.get("pucrd"));
d.targeting=nC(d.targeting,e.get("targeting"),Oia);d.Wp=kC(d.Wp,e.get("video_format"));d.Tx=kC(d.Tx,e.get("video_cpm"));d.Fu=lC(d.Fu,e.get("loeid"));d.ey=lC(d.ey,e.get("yt_pt"));d.Zx=lC(d.Zx,e.get("ytdevice"));d.ay=lC(d.ay,e.get("ytdevicever"));d.by=lC(d.by,e.get("dbp"));d.C=lC(d.C,e.get("ms"));d.adBlock=kC(d.adBlock,e.get("adBlock"));d.url=lC(d.url,e.get("url"));d.Ss=lC(d.Ss,e.get("avo"));d.Sx=lC(d.Sx,e.get("v_p"));d.ZM=a.D;d.aN=a.C;d.contentTitle=a.contentTitle;d.gs=kC(d.gs,e.get("ad_block"));d.Co=
lC(d.Co,e.get("adsid"));this.o=d;this.H=b;this.K=c;g.F(g.G(this.o.experimentIds))||(a=this.o.experimentIds.split(","),Hn(Jn(),a))};
Qia=function(a){return(0,g.Pj)(Pia,function(a){return g.Ma(this.o.o,a)},a)};
qC=function(a){return P.o()?1:g.Ma(a.o.adType.split("_"),"text")?3:1};
Ria=function(a){a=a.o.channels?a.o.channels:[];Za(a);return a.join("+")};
rC=function(a,b){return Math.round(1.1*(a||0)+0*b)};
sC=function(a,b){OB.call(this,a,b)};
tC=function(a,b){OB.call(this,a,b)};
uC=function(a){OB.call(this,a,null)};
vC=function(a){OB.call(this,a,null)};
wC=function(a,b){OB.call(this,a,b);P.o()&&(this.B.C=Io())};
Sia=function(a){var b=[];(0,g.D)(a,function(a){0<a.length&&b.push((0,g.I)(a,function(a){return a.width+"x"+a.height}).join("|"))});
return b.join(",")};
yC=function(a,b,c){wC.call(this,a,b);b=Jn();this.J=g.F(g.G(a.B));a=new UB;a.o=iC(a.o,this.A.B);a.adType=a.o.join("_");a.experimentIds=lC(a.experimentIds,this.A.H);this.o=a;this.H=c;g.F(g.G(this.o.experimentIds))||Hn(b,this.o.experimentIds.split(","))};
Tia=function(a){var b=eC(a.A,a.o,a.H);b.set("sdkv",TB(a));b.set("sdki",a.F().toString(16));return b};
Uia=function(a,b){var c=Tia(a),d=(0,g.I)(c.Fb(),function(a){var b=c.get(a);return a+"="+(null!=b?b:"")});
g.an(b,"afvparams",d.join("&"))};
zC=function(a,b,c){OB.call(this,a,b);Jn();this.J=g.F(g.G(a.B));a=new UB;a.o=iC(a.o,this.A.B);a.adType=a.o.join("_");a.experimentIds=lC(a.experimentIds,this.A.H);this.o=a;this.H=c;g.F(g.G(this.o.experimentIds))||(a=this.o.experimentIds.split(","),c=Jn(),Hn(c,a))};
Via=function(a){var b=eC(a.A,a.o,a.H);b.set("sdkv",TB(a));return b};
Wia=function(a,b){var c=Via(a),d=(0,g.I)(c.Fb(),function(a){var b=c.get(a);return a+"="+(null!=b?b:"")});
Dr(b,"afvparams",[g.lb(d.join("&"))])};
AC=function(a,b){OB.call(this,a,b)};
BC=function(a,b,c){a=new g.Sm(g.qn(a.A.o,Xia(a,b,c)));g.Tm(a,"https");return a};
Xia=function(a,b,c){if(null==a.A||null==a.A.ac)return{};var d={},e=a.A.ac;(0,g.D)(Yia,function(a){a in e&&(d[a]=e[a])});
(a=Zia(a,e.DESCRIPTION_URL))&&(d.AD_BLOCK=a);b&&(d.BISCOTTI_ID=b);c&&(d.ANID=c);return d};
Zia=function(a,b){return null!=b?Co(Ko(a.B),b):null};
$ia=function(a,b){if(!Ir(a.o)&&!Jr(a.o)||g.F(g.G(a.B))||null==a.o||-1==a.o.search("afvbase="))if(Ir(a.o))var c=new tC(a,fr);else Gr(a.o)?c=new pC(a,fr,b):Jr(a.o)?c=new wC(a,fr):Hr(a)?c=new sC(a,fr):(c=a.o,null!=c?(c=(new g.Sm(c)).A,c=kb(c,".fwmrm.net")):c=!1,c=c?new uC(a):Lr(a)?new AC(a,fr):new vC(a));else c=Ir(a.o)?new zC(a,fr,b):new yC(a,fr,b);return c};
CC=function(a,b,c,d,e){this.D=a;this.B=b;this.C=c;this.o=d;this.F=e;this.jb=null};
aja=function(a,b,c,d){if(b.A instanceof window.Document)var e=b.A;else try{e=g.us(b.A)}catch(f){d(ao(fA,f));return}null!=e?DC(a,e,b,c,d):d(ao(fA))};
EC=function(a,b,c,d){var e;if(e=null!=b.o){a:{try{nb(b.o)}catch(f){e=!1;break a}e=!0}e=!e}e?d(ao(bja,null,b.o)):P.K?oea(So(),(0,g.B)(a.A,a,b,c,d)):a.A(b,c,d)};
GC=function(a,b,c,d,e,f){b=lea(b,f);f=c.Px&&On(cja,b)?"POST":"GET";var k=Kr(b)?c.G:void 0;Hia(a.B,b,(0,g.B)(function(a){DC(this,a,c,d,e)},a),(0,g.B)(function(a,b){var d=8==a?ao(pr):5==a||6==a?ao(dja):ao(FC,b);
e(d);d="third_party";Gr(c.o)?d="adsense":Ir(c.o)?d="dart":Jr(c.o)&&(d="xfp");d={rt:d,ec:a};Mo.getInstance().report(18,d,!0)},a),a.F,f,k);
eja(c)};
eja=function(a){var b="third_party";Gr(a.o)?b="adsense":Ir(a.o)?b="dart":Jr(a.o)?b="xfp":Hr(a)&&(b="dbm");a={rt:b};Mo.getInstance().report(17,a,!0)};
DC=function(a,b,c,d,e){try{var f=Dia(b,c);if(!f)throw ao(fA);var k=f.B();fja(a,k,c,d)}catch(l){l instanceof Cn?e(l):e(ao(gja,l))}};
fja=function(a,b,c,d){var e=b.Tf;if(null!=e)d(new ur(e));else{e=b.A;if(null==e)throw ao(LB);(0,g.D)(e,function(a){a.B=c;var d=xn();d&&yn(d,"useCompanionsAsEndSlate")&&(a.N=ega(a));d=[];var e=a.getExtension("InfoCards");if(null!=e){e=e.B?e.B:new dw;for(var f=0;f<cw(e,"card");f++)d.push(new ew(aw(e,"card",f)))}a.D=d;a.ca=aga(a.D);a.Ha=this.B.o;P.o()&&(a.Ob=b.o)},a);
var f=Eia(e),k=Fia(e),l;0<k.length&&0<=mt(k[0])?l=new zr(k,c,a,a.D):l=new or(f,k,c,a);(0,g.D)(e,function(a){a.ia=l});
d(l)}};
HC=function(a){this.o=a+(0,g.H)()};
Iia=function(a){var b=(0,g.H)();a=a.o-b;return 0<a?a:0};
IC=function(a,b){this.D=a;this.B=b;this.C=null;this.Z=new g.hn(this);this.A=this.o=null;this.G=!1;this.jb=null};
hja=function(a){if(null===a.C)JC(a);else{var b=new g.Sm(a.C.o),c=g.G(b.o.get("vid"));b=g.G(b.o.get("cmsid"));var d=a.B.J,e=a.B.G;a.B.J=c;a.B.G=b;if(g.F(g.G(c))||g.F(g.G(b)))JC(a);else if(c==d&&b==e)JC(a);else{var f=a.D.Xi();tB(f,c,b);sia(f,a.C);a.A=new g.Bg(100);kn(a.Z,a.A,"tick",function(){a:{var a=sB(f);if(null!=a)try{var b=!1!==a.isAdRequestFinished();break a}catch(m){b=!0;break a}b=!1}b&&JC(this)},a);
a.A.start()}}};
ija=function(a){a.o=new g.Bg;nn(a.Z,a.o,"tick",function(){JC(this)},a);
a.o.setInterval(1E3);a.o.start()};
JC=function(a){null!=a.Z&&(a.Z.dispose(),a.Z=null);null!=a.o&&(a.o.stop(),a.o=null);null!=a.A&&(a.A.stop(),a.A=null);a.G=!0;null===a.F||a.F()};
jja=function(a,b){this.o=a;this.A=b;this.jb=null;P.A&&kp().init();a:{try{var c=window.top.location.href}catch(d){c=2;break a}c=null!=c?c==window.document.location.href?0:1:2}fr.L=c};
kja=function(a,b,c,d){if(P.o()){var e=b.hs;e&&dea(Jn(),e);kp()&&xea()}e=null;null==a.o||P.o()||(e=new IC(a.o,a.A));var f=sfa(b);null!=f&&rfa(b)&&(a.A.ca=f);f=8E3;!P.o()&&Mn(Jn(),41351074)?f=5E3:!P.o()&&Mn(Jn(),41351075)&&(f=2E3);(new CC(a.A,new Gia,a.o,e,new HC(f))).fetch(b,(0,g.B)(function(a){a instanceof ur?c(a):sr(a,c,d)},a),d)};
g.KC=function(){this.o=[];this.A=[]};
LC=function(a){g.Na(a.o)&&(a.o=a.A,a.o.reverse(),a.A=[])};
g.MC=function(a,b){a.A.push(b)};
g.NC=function(a){LC(a);return a.o.pop()};
OC=function(a){LC(a);return g.Ga(a.o)};
lja=function(a){this.qb=a;this.o=new g.KC;this.og=!1;this.jb=null};
QC=function(a,b,c,d){var e=(0,g.B)(function(a){c(a);g.NC(this.o);this.og=!1;PC(this)},a),f=(0,g.B)(function(a){d(a);
g.NC(this.o);this.og=!1;PC(this)},a);
g.MC(a.o,(0,g.B)(function(){kja(this.qb,b,e,f)},a));
PC(a)};
PC=function(a){if(!a.og){var b=OC(a.o);null!=b&&(a.og=!0,b())}};
RC=function(a,b,c){g.Pf.call(this);this.qb=new lja(new jja(b,c));this.B=a;this.A=b;this.o=!0;this.C=c;this.jb=null};
mja=function(a,b,c){if(a.o){var d=null!=c?c:{};jha(Ux.getInstance(),b.o);QC(a.qb,b,(0,g.B)(function(a){SC(this,a,d)},a),(0,g.B)(function(a){TC(this,a,d)},a))}};
Wha=function(a,b,c){if(!a.o){var d=null!=c?c:{};QC(a.qb,b,(0,g.B)(function(a){SC(this,a,d)},a),(0,g.B)(function(a){TC(this,a,d)},a))}};
SC=function(a,b,c){if(a.o)if(b instanceof ur)b=new UC(b.Tf,a,a.B.Wz),b.rh(a.A),a.dispatchEvent(new fB(b,c));else try{var d=Xz(a.B,b);d.rh(a.A);a.dispatchEvent(new fB(d,c,0<b.length?b[0].Ob:null))}catch(e){TC(a,ao(VC,null),c)}else b instanceof ur?TC(a,ao(nja,null,"Unsupported ad format."),c):(d=new Bn("adsLoaderSdkAdLoaded"),d.C=b,d.B=c,a.dispatchEvent(d))};
TC=function(a,b,c){a.o?("always"==P.C&&null!=a.A&&a.A.Rd(DB()),a.dispatchEvent(new vn(b,c))):(c=new Bn("adsLoaderSdkAdError"),c.o=b,a.dispatchEvent(c))};
WC=function(a,b){this.K=a;this.O=new g.Mm;this.N=15E3;this.F=g.Md("SPAN");zz.call(this,a[0],b);this.o.appendChild(this.F)};
XC=function(a,b){zz.call(this,a[0],b);this.C=a;g.S(this.o,"ima-container-stack")};
YC=function(a){Cz.call(this,a);this.F=!1;this.A=this.C=null;this.J=!1};
ZC=function(a){var b=a.ads[0].getExtension("AdSense"),c=b.D;b=b.F;a={text:null!=c?c:a.K.D,url:null!=b?b:a.K.F};null==a.text&&(a.text=Fp("Ads by Google"));return a};
$C=function(a){return a.tb()&&Dt(a.ra())};
oja=function(a){var b=aD(a);b.rba=a.D;Mo.getInstance().report(37,b)};
aD=function(a){var b=[],c=[];(0,g.D)(a.C,function(a){b.push(a.ub()+"x"+a.getHeight());c.push(a.Ad())},a);
var d={};d.pid=Ux.getInstance().o;d.fsmode=null!=a.A;0<b.length&&(d.cz=b.join(","));0<c.length&&(d.ct=c.join(","));d.vm=a.hd;return d};
bD=function(a,b){if(a.A){a.Mp(new g.of("close"));var c={};c.pid=Ux.getInstance().o;c.evt=b;Mo.getInstance().report(35,c)}};
cD=function(a,b){g.L.call(this);this.C=a;this.o=-1;this.B=b};
dD=function(a,b){cD.call(this,a,b)};
UC=function(a,b,c){dv.call(this,[]);this.Tf=a;this.Db=new g.Mm;this.Xb=this.rb=null;this.Wz=c;this.tm=new g.KC;this.je=null;this.qb=b;this.Js=this.bp=!1;this.nj=null;this.Le=0;this.ye=this.ze=-1;this.oe=null;this.Sw=0;this.jb=null;this.rm=!1};
qja=function(a,b){if(null!==a.Oa){var c=1;a.Le=0;var d=new oy;(0,g.D)(b,function(a){if((0,window.isNaN)(a))throw ao(eA,null,"timeOffset",String(a));if(-1!=a&&-1>=a){var b=this.Tf;if((0,window.isNaN)(a)||!g.ta(a))throw Error("Incorrect time offset.");Om(b.o,a)&&b.o.remove(a)}else if(b=g.ta(a)&&!(0,window.isNaN)(a)?this.Tf.o.get(a,[]):[],!g.Na(b)){this.Le+=b.length;var e=0==a||-1==a?a:c++;b=new Gz(b,a,e,this.qb,this.Oa,this.Wa,this.ie);if(d.contains(a))throw ao(pja,null,"Multiple ad breaks cannot share same ad play time.");
this.Db.set(g.Ca(b),b);d.add(a)}},a)}};
rja=function(a,b){a.nj=g.Ga(b);(0,g.Pj)(b,function(a){if(-1==a)return this.nj=a,!0;this.nj=this.nj<a?a:this.nj;return!1},a)};
gD=function(a,b){a.rm=!1;a.gk(b);0==b.Jc?a.vg():(-1==b.Jc?(eD(a)||!P.o()&&a.bp)&&fD(a):mA(a.Xb),a.je=null)};
sja=function(a){if(null!=a.Xb){hD(a);var b=a.Za();kn(b,a.Xb,["requestAds","playAds","contentTrackingError","discardAdBreak"],a.handleEvent,a);kn(b,a.Xb,"adBreakReady",a.MR,a);kn(b,a.Xb,"adNotify",a.Mn,a);kn(b,a.Xb,"discardAdNotify",a.ll,a);kn(b,a.qb,"contentComplete",a.NS,a);a.qb.o=!1}};
hD=function(a){null!=a.hc&&(a.hc.dispose(),a.hc=null);a.bp=!1;null!=a.Xb&&a.Xb.ed()};
iD=function(a){if(null==a.je){var b=g.NC(a.tm);if(null!=b){a.je=b;var c=a.Db.get(a.je.o);if(null!=c)if(b=b.type,"requestAds"!=b&&"playAds"!=b)a.je=null,iD(a);else if(null!=a.oe&&a.oe.A(c))a.je=null,iD(a);else if("requestAds"==b)a.rm?(a.tm.isEmpty()||"playAds"!=OC(a.tm).type||g.NC(a.tm),gD(a,c)):0==c.Jc&&a.yg()||jD(a,c);else{if("playAds"==b)if(a.rm)gD(a,c);else if(null!=a.rb&&a.rb.sb()&&a.gk(a.rb),a.rb=c,a.rb.setVolume(a.volume),Hz(a.rb,a.ze,a.ye,a.hd),a.rb.L&&a.je.A<a.Sw){c=a.rb;if(c.A<c.B.length){b=
c.B[c.A];Qz(c);try{c.H=new g.hn(c),c.o=Rz(c,b,c.H)}catch(e){c.A++,Vz(c)}}c=a.Xb;b=a.Sw;var d=new kA(a.rb);d.o=b;d.A=!0;g.gb(c.o,d,lA);a.ma("contentResumeRequested");a.je=null;iD(a)}else a.rb.start()}else a.je=null,iD(a)}}};
jD=function(a,b){var c=a.Za();kn(c,b,nz,a.dispatchEvent,a);kn(c,b,"adError",a.IA,a);kn(c,b,"allAdsCompleted",a.ZD,a);kn(c,b,"contentPauseRequested",a.mi,a);kn(c,b,"contentResumeRequested",a.vg,a);kn(c,b,"userClose",a.Bj,a);kn(c,b,"why_this_ad_url",a.Lw,a);kn(c,b,"why_this_ad_got_it",a.Kw,a);kn(c,b,"autoClose",a.Aj,a);kn(c,b,"adBreakInitialized",a.aE,a);b.init(a.ze,a.ye,a.hd)};
fD=function(a){if(!a.Js){a.Js=!0;a.qb.o=!0;try{Mo.getInstance().report(44,{cmpl:!0})}catch(b){}a.ma("allAdsCompleted");-1==a.nj&&kD(a)}};
kD=function(a){Mn(Jn(),420706009)||fr.clear();null!=a.ie&&(a=a.ie.Xi(),null!=a&&uB(a,fr.o))};
eD=function(a){return 0==a.Db.xb().length};
lD=function(a){return null!=a.rb?a.rb:null!=a.je?a.Db.get(a.je.o):null};
tja=function(){this.Wz=new gia;this.jb=null};
Xz=function(a,b){if(g.Na(b))throw Error("Ads manager creation failure, no ads.");if(uja(a,b)){var c=vja(a,b);if(!g.Na(c))return new uz(c)}c=sz(b);P.o()||(c=c&&null!=pt(b[0])?new rz(a,c,b[0]):c);if(c)return c;throw Error("Ads manager creation failure, failed to determine ad type.");};
vja=function(a,b){var c=[];(0,g.D)(b,function(a){var b=sz([a]);b&&a.Zb()&&g.Pa(c,b)},a);
return c};
sz=function(a){var b=a[0];switch(mD(b)){case "overlay":return xt(b)?new YC(a):new Cz(a);case "video":return new qy(a);case "vpaid":return new cz(a);case "flash_vpaid":return 2==P.G?new gx(a):new mx(a)}return null};
uja=function(a,b){if(1==b.length)return!1;var c=mD(b[0]);return(0,g.Pj)(b,function(a){a=mD(a);return c!=a||"vpaid"==a||"flash_vpaid"==a?!0:!1},a)};
mD=function(a){var b=Ss(a)&&P.o();b=0!=P.G||b;return null!=Ht(a)&&b?"vpaid":dp&&null!=It(a)&&0!=P.G?"flash_vpaid":xt(a)&&null==Ht(a)&&Ct(a,"nonlinear")?"overlay":Ct(a,"linear")?"video":Ct(a,"nonlinear")&&null==Ht(a)?"overlay":null};
nD=function(a){g.Pf.call(this);this.A=a;a=new EB(new nB);this.o=new RC(new tja,a,fr);this.o.X("adsManagerLoaded",this.dispatchEvent,!1,this);this.o.X("adError",this.dispatchEvent,!1,this);this.o.X("adLoadError",this.dispatchEvent,!1,this)};
oD=function(a,b,c){eea();var d="",e=Ri(),f=e.A;e=e.o;f&&f.url?d=f.url:e&&e.url&&(d=e.url);b.location=d;b.referrer=window.document.referrer;b.qf=sn(b.o,a.A.H);b.xx=a.A.L;mja(a.o,b,c)};
pD=function(a,b,c,d,e,f,k,l){this.o=a;this.G=b;this.B=c;this.D=d;this.C=e;this.F=f;this.A=k;this.H=l};
qD=function(a,b){if(0==b)return a.o;if(1==b)return a.A;var c=nd(a.o,a.B,b),d=nd(a.B,a.C,b),e=nd(a.C,a.A,b);c=nd(c,d,b);d=nd(d,e,b);return nd(c,d,b)};
wja=function(a,b){var c=(b-a.o)/(a.A-a.o);if(0>=c)return 0;if(1<=c)return 1;for(var d=0,e=1,f=0,k=0;8>k;k++){f=qD(a,c);var l=(qD(a,c+1E-6)-f)/1E-6;if(1E-6>Math.abs(f-b))return c;if(1E-6>Math.abs(l))break;else f<b?d=c:e=c,c-=(f-b)/l}for(k=0;1E-6<Math.abs(f-b)&&8>k;k++)f<b?(d=c,c=(c+e)/2):(e=c,c=(c+d)/2),f=qD(a,c);return c};
rD=function(){this.o=this.B=this.C=5E3};
xja=function(a){a.o=Math.min(2E4,2*a.o);a.B=Math.min(2E4,a.o+Math.round(.4*(Math.random()-.5)*a.o));a.A++};
g.sD=function(a,b,c,d,e,f){a=a.clone();b=b.clone();var k=0;if(d||0!=c)c&4?a.x-=b.width+(d?d.right:0):c&2?a.x-=b.width/2:d&&(a.x+=d.left),c&1?a.y-=b.height+(d?d.bottom:0):d&&(a.y+=d.top);if(f){if(e){k=a;c=b;d=0;65==(f&65)&&(k.x<e.left||k.x>=e.right)&&(f&=-2);132==(f&132)&&(k.y<e.top||k.y>=e.bottom)&&(f&=-5);k.x<e.left&&f&1&&(k.x=e.left,d|=1);if(f&16){var l=k.x;k.x<e.left&&(k.x=e.left,d|=4);k.x+c.width>e.right&&(c.width=Math.min(e.right-k.x,l+c.width-e.left),c.width=Math.max(c.width,0),d|=4)}k.x+c.width>
e.right&&f&1&&(k.x=Math.max(e.right-c.width,e.left),d|=1);f&2&&(d|=(k.x<e.left?16:0)|(k.x+c.width>e.right?32:0));k.y<e.top&&f&4&&(k.y=e.top,d|=2);f&32&&(l=k.y,k.y<e.top&&(k.y=e.top,d|=8),k.y+c.height>e.bottom&&(c.height=Math.min(e.bottom-k.y,l+c.height-e.top),c.height=Math.max(c.height,0),d|=8));k.y+c.height>e.bottom&&f&4&&(k.y=Math.max(e.bottom-c.height,e.top),d|=2);f&8&&(d|=(k.y<e.top?64:0)|(k.y+c.height>e.bottom?128:0));e=d}else e=256;k=e}e=new g.jh(0,0,0,0);e.left=a.x;e.top=a.y;e.width=b.width;
e.height=b.height;return{rect:e,status:k}};
g.tD=function(a){g.L.call(this);this.Ec=1;this.B=[];this.C=0;this.o=[];this.A={};this.D=!!a};
yja=function(a,b,c){g.ag(function(){a.apply(b,c)})};
g.uD=function(a){this.o=a};
vD=function(a){this.o=a};
wD=function(a){this.data=a};
xD=function(a){return!g.u(a)||a instanceof wD?a:new wD(a)};
yD=function(a){this.o=a};
g.zD=function(a){var b=a.creation;a=a.expiration;return!!a&&a<(0,g.H)()||!!b&&b>(0,g.H)()};
g.AD=function(a){this.o=a};
zja=function(){};
BD=function(){};
CD=function(a){this.o=a};
DD=function(){var a=null;try{a=window.localStorage||null}catch(b){}this.o=a};
ED=function(){var a=null;try{a=window.sessionStorage||null}catch(b){}this.o=a};
GD=function(a,b){this.A=a;this.o=null;if(g.Hd&&!g.sc(9)){FD||(FD=new g.Mm);this.o=FD.get(a);this.o||(b?this.o=window.document.getElementById(b):(this.o=window.document.createElement("userdata"),this.o.addBehavior("#default#userData"),window.document.body.appendChild(this.o)),FD.set(a,this.o));try{this.o.load(this.A)}catch(c){this.o=null}}};
HD=function(a){return"_"+(0,window.encodeURIComponent)(a).replace(/[.!~*'()%]/g,function(a){return Aja[a]})};
ID=function(a){try{a.o.save(a.A)}catch(b){throw"Storage mechanism: Quota exceeded";}};
JD=function(a){return a.o.XMLDocument.documentElement};
KD=function(a,b){this.A=a;this.o=b+"::"};
g.LD=function(a){var b=new DD;return b.isAvailable()?a?new KD(b,a):b:null};
MD=function(a,b){this.Ec=a;this.o=b};
ND=function(a){this.o=[];if(a)a:{if(a instanceof ND){var b=a.Fb();a=a.xb();if(0>=this.Cc()){for(var c=this.o,d=0;d<b.length;d++)c.push(new MD(b[d],a[d]));break a}}else b=g.Qb(a),a=g.Pb(a);for(d=0;d<b.length;d++)g.OD(this,b[d],a[d])}};
g.OD=function(a,b,c){var d=a.o;d.push(new MD(b,c));b=d.length-1;a=a.o;for(c=a[b];0<b;)if(d=b-1>>1,a[d].Ec>c.Ec)a[b]=a[d],b=d;else break;a[b]=c};
g.PD=function(){ND.call(this)};
QD=function(a,b){this.D=[];this.N=a;this.L=b||null;this.C=this.o=!1;this.B=void 0;this.J=this.O=this.G=!1;this.F=0;this.A=null;this.H=0};
SD=function(a,b,c){a.o=!0;a.B=c;a.C=!b;RD(a)};
UD=function(a){if(a.o){if(!a.J)throw new TD(a);a.J=!1}};
WD=function(a,b,c){VD(a,b,null,c)};
VD=function(a,b,c,d){a.D.push([b,c,d]);a.o&&RD(a)};
XD=function(a){return(0,g.Pj)(a.D,function(a){return g.za(a[1])})};
RD=function(a){if(a.F&&a.o&&XD(a)){var b=a.F,c=YD[b];c&&(g.x.clearTimeout(c.Ja),delete YD[b]);a.F=0}a.A&&(a.A.H--,delete a.A);b=a.B;for(var d=c=!1;a.D.length&&!a.G;){var e=a.D.shift(),f=e[0],k=e[1];e=e[2];if(f=a.C?k:f)try{var l=f.call(e||a.L,b);g.u(l)&&(a.C=a.C&&(l==b||a.isError(l)),a.B=b=l);if(eg(b)||"function"===typeof g.x.Promise&&b instanceof g.x.Promise)d=!0,a.G=!0}catch(m){b=m,a.C=!0,XD(a)||(c=!0)}}a.B=b;d&&(l=(0,g.B)(a.K,a,!0),d=(0,g.B)(a.K,a,!1),b instanceof QD?(VD(b,l,d),b.O=!0):b.then(l,
d));c&&(b=new ZD(b),YD[b.Ja]=b,a.F=b.Ja)};
TD=function(){Fa.call(this)};
$D=function(){Fa.call(this)};
ZD=function(a){this.Ja=g.x.setTimeout((0,g.B)(this.A,this),0);this.o=a};
aE=function(a){Pe(this,a,Bja,null)};
bE=function(a){Pe(this,a,null,null)};
Cja=function(a,b){for(;Ce(b)&&4!=b.A;)switch(b.B){case 1:var c=Ge(b);Oe(a,1,c);break;case 2:c=Ge(b);Oe(a,2,c);break;case 3:c=Ge(b);Oe(a,3,c);break;case 4:c=Ge(b);Oe(a,4,c);break;default:De(b)}return a};
cE=function(a,b){if(1<b.length)a[b[0]]=b[1];else{var c=b[0],d;for(d in c)a[d]=c[d]}};
g.eE=function(a){cE(g.dE,arguments)};
g.fE=function(a,b){return a in g.dE?g.dE[a]:b};
hE=function(a){return a&&window.yterr?function(){try{return a.apply(this,arguments)}catch(b){g.gE(b)}}:a};
g.gE=function(a,b,c,d,e){var f=g.y("yt.logging.errors.log");f?f(a,b,c,d,e):(f=g.fE("ERRORS",[]),f.push([a,b,c,d,e]),g.eE("ERRORS",f))};
g.iE=function(a){g.gE(a,"WARNING",void 0,void 0,void 0)};
g.jE=function(a){return g.fE("EXPERIMENT_FLAGS",{})[a]};
Dja=function(){if(!kE)return null;var a=kE();return"open"in a?a:null};
g.lE=function(a){switch(a&&"status"in a?a.status:-1){case 200:case 201:case 202:case 203:case 204:case 205:case 206:case 304:return!0;default:return!1}};
g.mE=function(a,b){g.za(a)&&(a=hE(a));return window.setTimeout(a,b)};
g.nE=function(a,b){g.za(a)&&(a=hE(a));return window.setInterval(a,b)};
g.oE=function(a){window.clearTimeout(a)};
g.pE=function(a){a=a.split("&");for(var b={},c=0,d=a.length;c<d;c++){var e=a[c].split("=");if(1==e.length&&e[0]||2==e.length){var f=nb(e[0]||"");e=nb(e[1]||"");f in b?g.xa(b[f])?Wa(b[f],e):b[f]=[b[f],e]:b[f]=e}}return b};
qE=function(a){var b=[];g.Hb(a,function(a,d){var c=g.lb(d),f;g.xa(a)?f=a:f=[a];(0,g.D)(f,function(a){""==a?b.push(c):b.push(c+"="+g.lb(a))})});
return b.join("&")};
g.rE=function(a){"?"==a.charAt(0)&&(a=a.substr(1));return g.pE(a)};
sE=function(a){a=a.split(",");return a=a.map(function(a){return g.rE(a)})};
g.tE=function(a){return-1!=a.indexOf("?")?(a=(a||"").split("#")[0],a=a.split("?",2),g.rE(1<a.length?a[1]:a[0])):{}};
g.vE=function(a,b){return uE(a,b||{},!0)};
g.wE=function(a,b){return uE(a,b||{},!1)};
uE=function(a,b,c){var d=a.split("#",2);a=d[0];d=1<d.length?"#"+d[1]:"";var e=a.split("?",2);a=e[0];e=g.rE(e[1]||"");for(var f in b)if(c||!Sb(e,f))e[f]=b[f];return g.Zg(a,e)+d};
xE=function(a){if(!b)var b=window.location.href;var c=g.Ng(a)[1]||null,d=g.Pg(a);c&&d?(a=g.Ng(a),b=g.Ng(b),a=a[3]==b[3]&&a[1]==b[1]&&a[4]==b[4]):a=d?g.Pg(b)==d&&g.Qg(b)==g.Qg(a):!0;return a};
yE=function(){if(!a)var a=window.document.location.href;a=g.Ng(a)[1]||null;return null!==a&&"https"==a};
Eja=function(a,b){b=void 0===b?{}:b;var c=xE(a),d=!!g.jE("web_ajax_ignore_global_headers_if_set"),e;for(e in zE){var f=g.fE(zE[e]);!f||!c&&!AE(a,e)||d&&void 0!==b[e]||(b[e]=f)}if(c||AE(a,"X-YouTube-Utc-Offset"))b["X-YouTube-Utc-Offset"]=-(new Date).getTimezoneOffset();return b};
Gja=function(a){var b=g.rE(window.location.search),c={};(0,g.D)(Fja,function(a){b[a]&&(c[a]=b[a])});
return g.wE(a,c)};
AE=function(a,b){var c=g.fE("CORS_HEADER_WHITELIST")||{},d=g.Pg(a);return d?(c=c[d])?g.Ma(c,b):!1:!0};
Hja=function(a,b){if(window.fetch&&"XML"!=b.format){var c={method:b.method||"GET",credentials:"same-origin"};b.headers&&(c.headers=b.headers);a=BE(a,b);var d=CE(a,b);d&&(c.body=d);b.withCredentials&&(c.credentials="include");var e=!1,f;(0,window.fetch)(a,c).then(function(a){if(!e){e=!0;f&&g.oE(f);var c=a.ok,d=function(d){d=d||{};var e=b.context||g.x;c?b.onSuccess&&b.onSuccess.call(e,d,a):b.onError&&b.onError.call(e,d,a);b.Jd&&b.Jd.call(e,d,a)};
"JSON"==(b.format||"JSON")&&(c||400<=a.status&&500>a.status)?a.json().then(d,function(){d(null)}):d(null)}});
b.xE&&0<b.timeout&&(f=g.mE(function(){e||(e=!0,g.oE(f),b.xE.call(b.context||g.x))},b.timeout))}else g.DE(a,b)};
g.DE=function(a,b){var c=b.format||"JSON";a=BE(a,b);var d=CE(a,b),e=!1,f,k=EE(a,function(a){if(!e){e=!0;f&&g.oE(f);var d=g.lE(a),k=null,l=400<=a.status&&500>a.status,r=500<=a.status&&600>a.status;if(d||l||r)k=Ija(c,a,b.U5);if(d)a:if(a&&204==a.status)d=!0;else{switch(c){case "XML":d=0==(0,window.parseInt)(k&&k.return_code,10);break a;case "RAW":d=!0;break a}d=!!k}k=k||{};l=b.context||g.x;d?b.onSuccess&&b.onSuccess.call(l,a,k):b.onError&&b.onError.call(l,a,k);b.Jd&&b.Jd.call(l,a,k)}},b.method,d,b.headers,
b.responseType,b.withCredentials);
b.Kd&&0<b.timeout&&(f=g.mE(function(){e||(e=!0,k.abort(),g.oE(f),b.Kd.call(b.context||g.x,k))},b.timeout));
return k};
BE=function(a,b){b.Z5&&(a=window.document.location.protocol+"//"+window.document.location.hostname+(window.document.location.port?":"+window.document.location.port:"")+a);var c=g.fE("XSRF_FIELD_NAME",void 0),d=b.gd;d&&(d[c]&&delete d[c],a=g.vE(a,d));return a};
CE=function(a,b){var c=g.fE("XSRF_FIELD_NAME",void 0),d=g.fE("XSRF_TOKEN",void 0),e=b.postBody||"",f=b.Tb,k=g.fE("XSRF_FIELD_NAME",void 0),l;b.headers&&(l=b.headers["Content-Type"]);b.W5||g.Pg(a)&&!b.withCredentials&&g.Pg(a)!=window.document.location.hostname||"POST"!=b.method||l&&"application/x-www-form-urlencoded"!=l||b.Tb&&b.Tb[k]||(f||(f={}),f[c]=d);f&&g.w(e)&&(e=g.rE(e),g.fc(e,f),e=b.mF&&"JSON"==b.mF?JSON.stringify(e):g.Xg(e));f=e||f&&!g.Yb(f);!FE&&f&&"POST"!=b.method&&(FE=!0,g.gE(Error("AJAX request with postData should use POST")));
return e};
Ija=function(a,b,c){var d=null;switch(a){case "JSON":a=b.responseText;b=b.getResponseHeader("Content-Type")||"";a&&0<=b.indexOf("json")&&(d=JSON.parse(a));break;case "XML":if(b=(b=b.responseXML)?Jja(b):null)d={},(0,g.D)(b.getElementsByTagName("*"),function(a){d[a.tagName]=Kja(a)})}c&&GE(d);
return d};
GE=function(a){if(g.Aa(a))for(var b in a)"html_content"==b||kb(b,"_html")?a[b]=g.kd(g.Ac("HTML that is escaped and sanitized server-side and passed through yt.net.ajax"),a[b]):GE(a[b])};
Jja=function(a){return a?(a=("responseXML"in a?a.responseXML:a).getElementsByTagName("root"))&&0<a.length?a[0]:null:null};
Kja=function(a){var b="";(0,g.D)(a.childNodes,function(a){b+=a.nodeValue});
return b};
g.HE=function(a,b){b.method="POST";b.Tb||(b.Tb={});g.DE(a,b)};
EE=function(a,b,c,d,e,f,k){function l(){4==(m&&"readyState"in m?m.readyState:0)&&b&&hE(b)(m)}
c=void 0===c?"GET":c;d=void 0===d?"":d;var m=Dja();if(!m)return null;"onloadend"in m?m.addEventListener("loadend",l,!1):m.onreadystatechange=l;g.jE("debug_forward_web_query_parameters")&&(a=Gja(a));m.open(c,a,!0);f&&(m.responseType=f);k&&(m.withCredentials=!0);c="POST"==c&&(void 0===window.FormData||!(d instanceof window.FormData));if(e=Eja(a,e))for(var n in e)m.setRequestHeader(n,e[n]),"content-type"==n.toLowerCase()&&(c=!1);c&&m.setRequestHeader("Content-Type","application/x-www-form-urlencoded");
m.send(d);return m};
KE=function(){return IE("android")&&IE("chrome")&&!JE()};
g.LE=function(){return IE("cobalt")};
ME=function(){return IE("cobalt")&&IE("appletv")};
NE=function(){return IE("(ps3; leanback shell)")||IE("ps3")&&g.LE()};
OE=function(){return IE("(ps4; leanback shell)")||IE("ps4")&&g.LE()};
g.PE=function(){return g.LE()&&(IE("ps4 vr")||IE("ps4 pro vr"))};
QE=function(){var a=/WebKit\/([0-9]+)/.exec(g.Fb);return!!(a&&600<=(0,window.parseInt)(a[1],10))};
RE=function(){return IE("nintendo wiiu")};
SE=function(){return IE("iemobile")||IE("windows phone")&&IE("edge")};
JE=function(){return IE("trident/")||IE("edge/")};
IE=function(a){var b=g.Fb;return b?0<=b.toLowerCase().indexOf(a):!1};
g.TE=function(a,b,c,d,e){e=void 0===e?"":e;a&&(c&&!g.LE()?a&&(a=g.Lc(g.Oc(a)),"about:invalid#zClosurez"===a?a="":(a=g.ad(cd(a)),a=g.lb(g.Hg(a))),g.F(a)||(a=g.Md("IFRAME",{src:'javascript:"<body><img src=\\""+'+a+'+"\\"></body>"',style:"display:none"}),g.vd(a).body.appendChild(a))):e?EE(a,b,"POST",e,d):g.fE("USE_NET_AJAX_FOR_PING_TRANSPORT",!1)||d?EE(a,b,"GET","",d):Lja(a,b))};
UE=function(a){if(a)for(var b=0;b<a.length;b++)g.TE(a[b],void 0,void 0)};
VE=function(a,b,c){c=void 0===c?"":c;try{window.navigator&&window.navigator.sendBeacon&&window.navigator.sendBeacon(a,c)?b&&b():g.TE(a,b,void 0,void 0,c)}catch(d){g.TE(a,b,void 0,void 0,c)}};
Lja=function(a,b){var c=new window.Image,d=""+Mja++;WE[d]=c;c.onload=c.onerror=function(){b&&WE[d]&&b();delete WE[d]};
c.src=a};
YE=function(a,b){var c=g.cc(b),d;return g.tg(new g.gg(function(b,f){c.onSuccess=function(a){g.lE(a)?b(a):f(new XE("Request failed, status="+a.status,"net.badstatus",a))};
c.onError=function(a){f(new XE("Unknown request error","net.unknown",a))};
c.Kd=function(a){f(new XE("Request timed out","net.timeout",a))};
d=g.DE(a,c)}),function(a){a instanceof yg&&d.abort();
return ng(a)})};
g.ZE=function(a,b,c,d){function e(d,l,m){return g.tg(d,function(d){return 0>=l||403===d.qj.status?ng(new XE("Request retried too many times","net.retryexhausted",d.qj)):f(m).then(function(){return e(YE(a,b),l-1,Math.pow(2,c-l+1)*m)})})}
function f(a){return new g.gg(function(b){(0,window.setTimeout)(b,a)})}
return e(YE(a,b),c-1,d)};
XE=function(a,b,c){Fa.call(this,a+", errorCode="+b);this.errorCode=b;this.qj=c;this.name="PromiseAjaxError"};
$E=function(a){this.B=void 0===a?null:a;this.A=0;this.o=null};
aF=function(a){var b=new $E;a=void 0===a?null:a;b.A=2;b.o=void 0===a?null:a;return b};
bF=function(a){var b=new $E;a=void 0===a?null:a;b.A=1;b.o=void 0===a?null:a;return b};
dF=function(a){Fa.call(this,a.message||a.description||a.name);this.isMissing=a instanceof cF;this.isTimeout=a instanceof XE&&"net.timeout"==a.errorCode;this.isCanceled=a instanceof yg};
cF=function(){Fa.call(this,"Biscotti ID is missing from server")};
Nja=function(){if("1"===g.Rb(g.fE("PLAYER_CONFIG",{}),"args","privembed"))return ng(Error("Biscotti ID is not available in private embed mode"));eF||(eF=g.tg(YE("//web.archive.org/web/20181027110332/https://googleads.g.doubleclick.net/pagead/id",fF).then(gF),function(a){return hF(2,a)}));
return eF};
gF=function(a){a=a.responseText;if(!g.jb(a,")]}'"))throw new cF;a=JSON.parse(a.substr(4));if(1<(a.type||1))throw new cF;a=a.id;iF(a);eF=bF(a);jF(18E5,2);return a};
hF=function(a,b){var c=new dF(b);iF("");eF=aF(c);0<a&&jF(12E4,a-1);throw c;};
jF=function(a,b){g.mE(function(){g.tg(YE("//web.archive.org/web/20181027110332/https://googleads.g.doubleclick.net/pagead/id",fF).then(gF,function(a){return hF(b,a)}),g.A)},a)};
iF=function(a){g.ua("yt.ads.biscotti.lastId_",a,void 0)};
kF=function(){try{var a=g.y("yt.ads.biscotti.getId_");return a?a():Nja()}catch(b){return ng(b)}};
g.mF=function(a,b,c){a&&(a.dataset?a.dataset[g.lF(b)]=String(c):a.setAttribute("data-"+b,c))};
g.nF=function(a,b){return a?a.dataset?a.dataset[g.lF(b)]:a.getAttribute("data-"+b):null};
g.lF=function(a){return oF[a]||(oF[a]=String(a).replace(/\-([a-z])/g,function(a,c){return c.toUpperCase()}))};
qF=function(a,b){if(a in b)return b[a];var c=pF+a.charAt(0).toUpperCase()+a.substr(1);if(c in b)return b[c]};
rF=function(a,b){var c;(0,g.Pj)(a,function(a){c=b[a];return!!c});
return c};
sF=function(a){var b=rF(["requestFullscreen","webkitRequestFullscreen","mozRequestFullScreen","msRequestFullscreen"],a);b&&b.call(a)};
vF=function(a){var b;tF()?g.uF()==a&&(b=window.document):b=a;b&&(a=rF(["exitFullscreen","webkitExitFullscreen","mozCancelFullScreen","msExitFullscreen"],b))&&a.call(b)};
wF=function(a){return g.Ia(["fullscreenchange","webkitfullscreenchange","mozfullscreenchange","MSFullscreenChange"],function(b){return"on"+b.toLowerCase()in a})};
Oja=function(){var a=window.document;return g.Ia(["fullscreenerror","webkitfullscreenerror","mozfullscreenerror","MSFullscreenError"],function(b){return"on"+b.toLowerCase()in a})};
tF=function(){return!!rF(["fullscreenEnabled","webkitFullscreenEnabled","mozFullScreenEnabled","msFullscreenEnabled"],window.document)};
g.uF=function(){var a=rF(["fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement"],window.document);return a?a:null};
xF=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.scale=1;this.changedTouches=this.touches=null;if(a=a||window.event){this.event=a;for(var b in a)b in Pja||(this[b]=a[b]);this.scale=a.scale;this.rotation=a.rotation;(b=a.target||a.srcElement)&&3==b.nodeType&&(b=b.parentNode);this.target=b;if(b=a.relatedTarget)try{b=
b.nodeName?b:null}catch(c){b=null}else"mouseover"==this.type?b=a.fromElement:"mouseout"==this.type&&(b=a.toElement);this.relatedTarget=b;this.clientX=void 0!=a.clientX?a.clientX:a.pageX;this.clientY=void 0!=a.clientY?a.clientY:a.pageY;this.keyCode=a.keyCode?a.keyCode:a.which;this.charCode=a.charCode||("keypress"==this.type?this.keyCode:0);this.altKey=a.altKey;this.ctrlKey=a.ctrlKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.o=a.pageX;this.A=a.pageY}};
yF=function(a){if(window.document.body&&window.document.documentElement){var b=window.document.body.scrollTop+window.document.documentElement.scrollTop;a.o=a.clientX+(window.document.body.scrollLeft+window.document.documentElement.scrollLeft);a.A=a.clientY+b}};
zF=function(a){g.u(a.o)||yF(a);return a.o};
AF=function(a){g.u(a.A)||yF(a);return a.A};
Qja=function(a,b,c,d){d=void 0===d?{}:d;a.addEventListener&&("mouseenter"!=b||"onmouseenter"in window.document?"mouseleave"!=b||"onmouseenter"in window.document?"mousewheel"==b&&"MozBoxSizing"in window.document.documentElement.style&&(b="MozMousePixelScroll"):b="mouseout":b="mouseover");return Wb(BF,function(e){var f=g.sa(e[4])&&e[4]==!!d,k=g.Aa(e[4])&&g.Aa(d)&&g.bc(e[4],d);return!!e.length&&e[0]==a&&e[1]==b&&e[2]==c&&(f||k)})};
g.EF=function(a,b,c,d){d=void 0===d?{}:d;if(!a||!a.addEventListener&&!a.attachEvent)return"";var e=Qja(a,b,c,d);if(e)return e;e=++CF.count+"";var f=!("mouseenter"!=b&&"mouseleave"!=b||!a.addEventListener||"onmouseenter"in window.document);var k=f?function(d){d=new xF(d);if(!g.he(d.relatedTarget,function(b){return b==a},!0))return d.currentTarget=a,d.type=b,c.call(a,d)}:function(b){b=new xF(b);
b.currentTarget=a;return c.call(a,b)};
k=hE(k);a.addEventListener?("mouseenter"==b&&f?b="mouseover":"mouseleave"==b&&f?b="mouseout":"mousewheel"==b&&"MozBoxSizing"in window.document.documentElement.style&&(b="MozMousePixelScroll"),DF()||g.sa(d)?a.addEventListener(b,k,d):a.addEventListener(b,k,!!d.capture)):a.attachEvent("on"+b,k);BF[e]=[a,b,c,k,d];return e};
Rja=function(a,b,c,d){var e=a||window.document;return g.EF(e,b,function(a){var b=g.he(a.target,function(a){return a===e||d(a)},!0);
b&&b!==e&&!b.disabled&&(a.currentTarget=b,c.call(b,a))})};
g.FF=function(a){a&&("string"==typeof a&&(a=[a]),(0,g.D)(a,function(a){if(a in BF){var b=BF[a],d=b[0],e=b[1],f=b[3];b=b[4];d.removeEventListener?DF()||g.sa(b)?d.removeEventListener(e,f,b):d.removeEventListener(e,f,!!b.capture):d.detachEvent&&d.detachEvent("on"+e,f);delete BF[a]}}))};
g.GF=function(a){a=a||window.event;a=a.target||a.srcElement;3==a.nodeType&&(a=a.parentNode);return a};
HF=function(a){a=a||window.event;return a.path&&a.path.length?a.path[0]:g.GF(a)};
IF=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};
JF=function(a){a=a||window.event;var b=a.pageX,c=a.pageY;window.document.body&&window.document.documentElement&&(g.ta(b)||(b=a.clientX+window.document.body.scrollLeft+window.document.documentElement.scrollLeft),g.ta(c)||(c=a.clientY+window.document.body.scrollTop+window.document.documentElement.scrollTop));return new g.pd(b,c)};
g.KF=function(a){a=a||window.event;a.returnValue=!1;a.preventDefault&&a.preventDefault()};
g.LF=function(a){a=a||window.event;return!1===a.returnValue||a.SB&&a.SB()};
g.MF=function(a){a=a||window.event;return a.keyCode?a.keyCode:a.which};
g.NF=function(a,b,c,d){return Rja(a,b,c,function(a){return g.Jq(a,d)})};
OF=function(a,b,c){var d=void 0===d?{}:d;var e;return e=g.EF(a,b,function(){g.FF(e);c.apply(a,arguments)},d)};
g.PF=function(a){g.L.call(this);this.A=a||window;this.o=[]};
g.QF=function(a){g.FF(a.o);a.o.length=0};
RF=function(a){this.H=a;this.o=null;this.C=0;this.D=null;this.B=0;this.A=[];for(a=0;4>a;a++)this.A.push(0);this.Gb=0;this.G=g.EF(window,"mousemove",(0,g.B)(this.K,this));this.J=g.nE((0,g.B)(this.F,this),25)};
g.SF=function(a){g.L.call(this);this.ag=[];this.Kb=a||this};
TF=function(a,b,c,d){for(var e=0;e<c.length;e++)a.R(b,c[e],d)};
g.UF=function(a){for(;a.ag.length;){var b=a.ag.pop();b.target.removeEventListener(b.name,b.Zl)}};
g.VF=function(a){a=void 0===a?!1:a;g.L.call(this);this.oa=new g.tD(a);g.M(this,this.oa)};
g.XF=function(a,b,c,d){g.VF.call(this);this.B=!!b;this.F=a;this.J=c||a;this.H=!!d;this.o=new g.SF(this);g.M(this,this.o);this.D=this.G=null;this.C=this.A=!1;b&&(g.Jd&&a.setAttribute("draggable","true"),a.style.touchAction="none");WF(this)};
YF=function(a,b,c){a.o.R(a.J,b,c,void 0,!a.B)};
WF=function(a){a.D=null;a.G=null;YF(a,ZF("over"),a.yC);YF(a,"touchstart",a.tv);a.B&&YF(a,ZF("down"),a.DR)};
$F=function(a,b){for(var c=0;c<b.changedTouches.length;c++){var d=b.changedTouches[c];if(d.identifier==a.G)return d}return null};
ZF=function(a){return window.navigator.msPointerEnabled?"MSPointer"+a.charAt(0).toUpperCase()+a.substr(1):"mouse"+a};
aG=function(a){a=a||{};this.url=a.url||"";this.args=a.args||g.cc(Sja);this.assets=a.assets||{};this.attrs=a.attrs||g.cc(Tja);this.fallback=a.fallback||null;this.fallbackMessage=a.fallbackMessage||null;this.html5=!!a.html5;this.disable=a.disable||{};this.loaded=!!a.loaded;this.messages=a.messages||{}};
Uja=function(a){a instanceof aG||(a=new aG(a));return a};
g.fG=function(a,b,c){var d=g.bG();if(d){var e=d.subscribe(a,function(){var d=arguments;var k=function(){g.cG[e]&&b.apply(c||window,d)};
try{dG[a]?k():g.mE(k,0)}catch(l){g.gE(l)}},c);
g.cG[e]=!0;g.eG[a]||(g.eG[a]=[]);g.eG[a].push(e);return e}return 0};
g.hG=function(a,b){var c=g.fG(a,function(a){b.apply(void 0,arguments);g.gG(c)},void 0)};
g.gG=function(a){var b=g.bG();b&&(g.ta(a)?a=[a]:g.w(a)&&(a=[(0,window.parseInt)(a,10)]),(0,g.D)(a,function(a){b.unsubscribeByKey(a);delete g.cG[a]}))};
g.iG=function(a,b){var c=g.bG();return c?c.publish.apply(c,arguments):!1};
g.jG=function(a,b){dG[a]=!0;var c=g.bG();c&&c.publish.apply(c,arguments);dG[a]=!1};
g.bG=function(){return g.y("ytPubsubPubsubInstance")};
pG=function(a,b){if(a.ep){var c=a.ep;var d={};c.videoId?d.videoId=c.videoId:c.playlistId&&(d.playlistId=c.playlistId);kG[a.ep.token]=d;c=lG(a.endpoint,a.ep.token)}else c=lG(a.endpoint);c.push(a.payload);mG[a.endpoint]=new b;c.length>=(Number(g.jE("web_logging_max_batch")||0)||20)?nG():oG()};
nG=function(){g.oE(qG);if(!g.Yb(rG)){for(var a in rG){var b=mG[a];b&&(Vja(a,b),delete rG[a])}g.Yb(rG)||oG()}};
oG=function(){g.oE(qG);qG=g.mE(nG,g.fE("LOGGING_BATCH_TIMEOUT",1E4))};
lG=function(a,b){b=void 0===b?"":b;rG[a]=rG[a]||{};rG[a][b]=rG[a][b]||[];return rG[a][b]};
Vja=function(a,b){var c=Wja[a],d=sG[a]||{};sG[a]=d;var e=Math.round(g.tG());for(n in rG[a]){var f={context:g.uG(b.va)};f[c]=lG(a,n);d.dispatchedEventCount=d.dispatchedEventCount||0;d.dispatchedEventCount+=f[c].length;var k=kG[n];if(k)a:{var l=n;if(k.videoId)var m="VIDEO";else if(k.playlistId)m="PLAYLIST";else break a;f.credentialTransferTokenTargetId=k;f.context=f.context||{};f.context.user=f.context.user||{};f.context.user.credentialTransferTokens=[{token:l,scope:m}]}delete kG[n];f.requestTimeMs=
e;if(k=g.fE("EVENT_ID",void 0))m=(g.fE("BATCH_CLIENT_COUNTER",void 0)||0)+1,m>Xja&&(m=1),g.eE("BATCH_CLIENT_COUNTER",m),k={serializedEventId:k,clientCounter:m},f.serializedClientEventId=k,vG&&wG&&g.jE("log_gel_rtt_web")&&(f.previousBatchInfo={serializedClientEventId:vG,roundtripMs:wG}),vG=k,wG=0;g.xG(b,a,f,{retry:Yja.has(a),onSuccess:Zja.bind(this,g.tG())})}if(d.previousDispatchMs){c=e-d.previousDispatchMs;var n=d.diffCount||0;d.averageTimeBetweenDispatchesMs=n?(d.averageTimeBetweenDispatchesMs*n+
c)/(n+1):c;d.diffCount=n+1}d.previousDispatchMs=e};
Zja=function(a){wG=Math.round(g.tG()-a)};
$ja=function(){};
g.zG=function(a,b){return yG(a,1,b)};
AG=function(){};
g.BG=function(){return!!g.y("yt.scheduler.instance")};
yG=function(a,b,c){(0,window.isNaN)(c)&&(c=void 0);var d=g.y("yt.scheduler.instance.addJob");return d?d(a,b,c):void 0===c?(a(),window.NaN):g.mE(a,c||0)};
g.CG=function(a){if(!(0,window.isNaN)(a)){var b=g.y("yt.scheduler.instance.cancelJob");b?b(a):g.oE(a)}};
DG=function(a){var b=g.y("yt.scheduler.instance.setPriorityThreshold");b&&b(a)};
GG=function(){var a={},b=void 0===a.mN?!0:a.mN;a=void 0===a.NW?!1:a.NW;if(null==g.y("_lact",window)){var c=(0,window.parseInt)(g.fE("LACT"),10);c=(0,window.isFinite)(c)?(0,g.H)()-Math.max(c,0):-1;g.ua("_lact",c,window);g.ua("_fact",c,window);-1==c&&EG();g.EF(window.document,"keydown",EG);g.EF(window.document,"keyup",EG);g.EF(window.document,"mousedown",EG);g.EF(window.document,"mouseup",EG);b&&(a?g.EF(window,"touchmove",function(){FG("touchmove",200)},{passive:!0}):(g.EF(window,"resize",function(){FG("resize",
200)}),g.EF(window,"scroll",function(){FG("scroll",200)})));
new RF(function(){FG("mouse",100)});
g.EF(window.document,"touchstart",EG,{passive:!0});g.EF(window.document,"touchend",EG,{passive:!0})}};
FG=function(a,b){HG[a]||(HG[a]=!0,g.zG(function(){EG();HG[a]=!1},b))};
EG=function(){null==g.y("_lact",window)&&GG();var a=(0,g.H)();g.ua("_lact",a,window);-1==g.y("_fact",window)&&g.ua("_fact",a,window);(a=g.y("ytglobal.ytUtilActivityCallback_"))&&a()};
IG=function(){var a=g.y("_lact",window),b;null==a?b=-1:b=Math.max((0,g.H)()-a,0);return b};
g.KG=function(a,b,c,d){var e=g.JG,f={};f.eventTimeMs=Math.round(c||g.tG());f[a]=b;f.context={lastActivityMs:String(c?-1:IG())};pG({endpoint:"log_event",payload:f,ep:d},e)};
g.uG=function(a){a={client:{hl:a.Su,gl:a.Ru,clientName:a.Qu,clientVersion:a.innertubeContextClientVersion}};var b=window.devicePixelRatio;b&&1!=b&&(a.client.screenDensityFloat=String(b));g.fE("DELEGATED_SESSION_ID")&&!g.jE("pageid_as_header_web")&&(a.user={onBehalfOfUser:g.fE("DELEGATED_SESSION_ID")});return a};
aka=function(a,b,c){c=void 0===c?{}:c;var d={"X-Goog-Visitor-Id":c.visitorData||g.fE("VISITOR_DATA","")};if(b&&b.includes("www.youtube-nocookie.com"))return d;(b=c.S5||g.fE("AUTHORIZATION"))||(a?b="Bearer "+g.y("gapi.auth.getToken")().Q5:b=g.Lm());b&&(d.Authorization=b,d["X-Goog-AuthUser"]=g.fE("SESSION_INDEX",0),g.jE("pageid_as_header_web")&&(d["X-Goog-PageId"]=g.fE("DELEGATED_SESSION_ID")));return d};
g.MG=function(a,b,c,d){LG.set(""+a,b,c,"/",void 0===d?"youtube.com":d,!1)};
g.NG=function(a,b,c){LG.remove(""+a,void 0===b?"/":b,void 0===c?"youtube.com":c)};
OG=function(){var a;(a=g.LD("yt.innertube"))||(a=new GD("yt.innertube"),a=a.isAvailable()?a:null);this.o=a?new yD(a):null;this.A=window.document.domain||window.location.hostname};
g.JG=function(a){this.va=a||{innertubeApiKey:g.fE("INNERTUBE_API_KEY",void 0),innertubeApiVersion:g.fE("INNERTUBE_API_VERSION",void 0),Qu:g.fE("INNERTUBE_CONTEXT_CLIENT_NAME","WEB"),innertubeContextClientVersion:g.fE("INNERTUBE_CONTEXT_CLIENT_VERSION",void 0),Su:g.fE("INNERTUBE_CONTEXT_HL",void 0),Ru:g.fE("INNERTUBE_CONTEXT_GL",void 0),Zp:g.fE("INNERTUBE_HOST_OVERRIDE",void 0)||"",pN:!!g.fE("INNERTUBE_USE_THIRD_PARTY_AUTH",!1)}};
g.xG=function(a,b,c,d){!g.fE("VISITOR_DATA")&&.01>Math.random()&&g.gE(Error("Missing VISITOR_DATA when sending innertube request."),"WARNING");c={headers:{"Content-Type":"application/json"},method:"POST",Tb:c,mF:"JSON",Kd:function(){d.Kd()},
xE:d.Kd,onSuccess:function(a,b){if(d.onSuccess)d.onSuccess(b)},
d6:function(a){if(d.onSuccess)d.onSuccess(a)},
onError:function(a,b){if(d.onError)d.onError(b)},
c6:function(a){if(d.onError)d.onError(a)},
timeout:d.timeout,withCredentials:!0};var e="",f=a.va.Zp;f&&(e=f);f=aka(a.va.pN||!1,e,d);Object.assign(c.headers,f);c.headers.Authorization&&!e&&(c.headers["x-origin"]=window.location.origin);a=""+e+("/youtubei/"+a.va.innertubeApiVersion+"/"+b)+"?alt=json&key="+a.va.innertubeApiKey;try{g.jE("use_fetch_for_op_xhr")?Hja(a,c):g.HE(a,c)}catch(k){if("InvalidAccessError"==k)g.gE(Error("An extension is blocking network request."),"WARNING");else throw k;}};
PG=function(a){this.o=a};
g.QG=function(a){return new PG({trackingParams:a})};
g.RG=function(a){var b=bka++;return new PG({veType:a,veCounter:b,elementIndex:void 0,dataElement:void 0,youtubeData:void 0})};
g.SG=function(a){var b={};void 0!==a.o.trackingParams?b.trackingParams=a.o.trackingParams:(b.veType=a.o.veType,null!=a.o.veCounter&&(b.veCounter=a.o.veCounter),null!=a.o.elementIndex&&(b.elementIndex=a.o.elementIndex));void 0!==a.o.dataElement&&(b.dataElement=g.SG(a.o.dataElement));void 0!==a.o.youtubeData&&(b.youtubeData=a.o.youtubeData);return b};
TG=function(a){return!a.o.trackingParams&&!!a.o.veType};
g.VG=function(a,b,c,d){g.jE("attach_child_on_gel_web")?(d={csn:a,parentVe:g.SG(b),childVes:(0,g.I)(c,function(a){return g.SG(a)})},g.KG("visualElementAttached",d)):(a={csn:a,
parentVisualElement:g.SG(b),visualElements:(0,g.I)(c,function(a){return g.SG(a)})},UG({attachChild:a},d))};
g.WG=function(a,b){g.KG("visualElementShown",{csn:a,ve:g.SG(b),eventType:1})};
g.XG=function(a,b){g.KG("visualElementGestured",{csn:a,ve:g.SG(b),gestureType:"INTERACTION_LOGGING_GESTURE_TYPE_GENERIC_CLICK"})};
UG=function(a,b){var c=g.JG;a.eventTimeMs=Math.round(g.tG());a.lactMs=IG();b&&(a.clientData=b);pG({endpoint:"log_interaction",payload:a},c)};
g.YG=function(a,b,c){g.jE("attach_child_on_gel_web")?g.VG(a,b,[c]):UG({attachChild:{csn:a,parentVisualElement:g.SG(b),visualElements:[g.SG(c)]}},void 0)};
$G=function(a,b){var c=Object.keys(a).join("");ZG("info_"+c+"_"+b)||(a.clientActionNonce=b,g.KG("latencyActionInfo",a,void 0,void 0))};
ZG=function(a){aH[a]=aH[a]||{count:0};var b=aH[a];b.count++;b.time=g.tG();bH||(bH=yG(cka,0,5E3));if(10<b.count){if(11==b.count){b=Error("CSI data exceeded logging limit with key: "+a);var c=0==a.indexOf("info")?"WARNING":"ERROR";var d=d||{};d.name=g.fE("INNERTUBE_CONTEXT_CLIENT_NAME",1);d.version=g.fE("INNERTUBE_CONTEXT_CLIENT_VERSION",void 0);a=b;b=void 0===c?"ERROR":c;b=void 0===b?"ERROR":b;c=window&&window.yterr||!1;if(a&&c&&!(5<=cH)){c=a.stacktrace;var e=a.columnNumber;a.hasOwnProperty("params")&&
(d.params=JSON.stringify(a.params).substr(0,500));var f=g.y("window.location.href");if(g.w(a))a={message:a,name:"Unknown error",lineNumber:"Not available",fileName:f,stack:"Not available"};else{var k=!1;try{var l=a.lineNumber||a.line||"Not available"}catch(r){l="Not available",k=!0}try{var m=a.fileName||a.filename||a.sourceURL||g.x.$googDebugFname||f}catch(r){m="Not available",k=!0}a=!k&&a.lineNumber&&a.fileName&&a.stack&&a.message&&a.name?a:{message:a.message||"Not available",name:a.name||"UnknownError",
lineNumber:l,fileName:m,stack:a.stack||"Not available"}}c=c||a.stack;l=a.lineNumber.toString();(0,window.isNaN)(l)||(0,window.isNaN)(e)||(l=l+":"+e);if(!(dH[a.message]||0<=c.indexOf("/YouTubeCenter.js")||0<=c.indexOf("/mytube.js"))){m=c;l={gd:{a:"logerror",t:"jserror",type:a.name,msg:a.message.substr(0,1E3),line:l,level:b,"client.name":d.name},Tb:{url:g.fE("PAGE_NAME",window.location.href),file:a.fileName},method:"POST"};d.version&&(l["client.version"]=d.version);m&&(l.Tb.stack=m);for(var n in d)l.Tb["client."+
n]=d[n];if(d=g.fE("LATEST_ECATCHER_SERVICE_TRACKING_PARAMS",void 0))for(var p in d)l.Tb[p]=d[p];g.DE(g.fE("ECATCHER_REPORT_HOST","")+"/error_204",l);dH[a.message]=!0;cH++}}}return!0}return!1};
cka=function(){var a=g.tG(),b;for(b in aH)6E4<a-aH[b].time&&delete aH[b];bH=0};
fH=function(){if(window.crypto&&window.crypto.getRandomValues)try{var a=Array(16),b=new window.Uint8Array(16);window.crypto.getRandomValues(b);for(var c=0;c<a.length;c++)a[c]=b[c];return a}catch(e){}a=Array(16);for(b=0;16>b;b++){c=(0,g.H)();for(var d=0;d<c%23;d++)a[b]=Math.random();a[b]=Math.floor(256*Math.random())}if(eH)for(b=1,c=0;c<eH.length;c++)a[b%16]=a[b%16]^a[(b-1)%16]/4^eH.charCodeAt(c),b++;return a};
gH=function(){for(var a=fH(),b=[],c=0;c<a.length;c++)b.push("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_".charAt(a[c]&63));return b.join("")};
g.hH=function(){return(0,g.I)(fH(),function(a){return(a&15).toString(16)}).join("")};
iH=function(a){a=void 0===a?0:a;return 0==a?"client-screen-nonce":"client-screen-nonce."+a};
jH=function(a){a=void 0===a?0:a;return 0==a?"ROOT_VE_TYPE":"ROOT_VE_TYPE."+a};
kH=function(a){return g.fE(jH(void 0===a?0:a),void 0)};
g.lH=function(){var a=kH(0),b;a?b=new PG({veType:a,youtubeData:void 0}):b=null;return b};
g.mH=function(a){a=void 0===a?0:a;var b=g.fE(iH(a));b||0!=a||(b=g.fE("EVENT_ID"));return b?b:null};
oH=function(a,b,c){c=void 0===c?0:c;if(a!==g.fE(iH(c))||b!==g.fE(jH(c)))g.eE(iH(c),a),g.eE(jH(c),b),0==c&&(b=function(){(0,window.setTimeout)(function(){a&&g.KG("foregroundHeartbeatScreenAssociated",{clientDocumentNonce:nH,clientScreenNonce:a})},0)},"requestAnimationFrame"in window?window.requestAnimationFrame(b):b())};
g.rH=function(a,b,c){var d=c&&0<c?c:0;c=d?(0,g.H)()+1E3*d:0;if((d=d?(0,g.pH)():qH())&&window.JSON){g.w(b)||(b=JSON.stringify(b,void 0));try{d.set(a,b,c)}catch(e){d.remove(a)}}};
g.sH=function(a){var b=qH(),c=(0,g.pH)();if(!b&&!c||!window.JSON)return null;try{var d=b.get(a)}catch(e){}if(!g.w(d))try{d=c.get(a)}catch(e){}if(!g.w(d))return null;try{d=JSON.parse(d,void 0)}catch(e){}return d};
g.tH=function(a){try{var b=qH(),c=(0,g.pH)();b&&b.remove(a);c&&c.remove(a)}catch(d){}};
g.uH=function(){return g.sH("yt-remote-session-screen-id")};
dka=function(a){cE(vH,arguments)};
g.wH=function(a,b){b=void 0===b?{}:b;var c=a in vH?vH[a]:void 0;c=c||"";var d={},e;for(e in b)d.Qq=e,c=c.replace(new RegExp("\\$"+d.Qq,"gi"),function(a){return function(){return b[a.Qq]}}(d)),d={Qq:d.Qq};
return c};
eka=function(){var a=g.sH("yt-player-volume")||{},b=a.volume;return{volume:(0,window.isNaN)(b)?100:g.ld(Math.floor(b),0,100),muted:!!a.muted}};
xH=function(a){g.rH("yt-player-bandwidth",a,2592E3)};
yH=function(){return g.sH("yt-player-quality")||"auto"};
zH=function(a){g.rH("yt-player-watch-later-pending",a)};
AH=function(){return g.sH("yt-player-headers-readable")||!1};
CH=function(a,b,c){g.w(a)&&(a={mediaContentUrl:a,startSeconds:b,suggestedQuality:c});b=/\/([ve]|embed)\/([^#?]+)/.exec(a.mediaContentUrl);a.videoId=b&&b[2]?b[2]:null;return BH(a)};
BH=function(a,b,c){if(g.Aa(a)){b="endSeconds startSeconds mediaContentUrl suggestedQuality videoId two_stage_token".split(" ");c={};for(var d=0;d<b.length;d++){var e=b[d];a[e]&&(c[e]=a[e])}return c}return{videoId:a,startSeconds:b,suggestedQuality:c}};
DH=function(a,b,c,d){!a&&(void 0===c?0:c)&&g.iE(Error("Player URL validator detects invalid url. "+(void 0===d?"":d)+": "+b));return a};
EH=function(a){return(a=fka.exec(a))?a[0]:""};
FH=function(a){var b=void 0===b?!1:b;return DH(gka.test(a),a,b,"Nielsen OCR URL")};
GH=function(a){var b=void 0===b?!1:b;return DH(hka.test(a),a,b,"Active View 3rd Party Integration URL")};
HH=function(a){var b=void 0===b?!1:b;return DH(ika.test(a),a,b,"Google/YouTube Brand Lift URL")};
IH=function(a){var b=void 0===b?!1:b;return DH(jka.test(a),a,b,"Trusted Stream URL")};
g.JH=function(a){var b=void 0===b?!1:b;return DH(kka.test(a),a,b,"Trusted Image URL")};
g.KH=function(a){var b=void 0===b?!1:b;return DH(lka.test(a),a,b,"Trusted Promoted Video Domain URL")};
LH=function(a,b){b=void 0===b?!1:b;return DH(mka.test(a),a,b,"Captions URL")};
MH=function(a){a=new g.Sm(a);g.Tm(a,window.document.location.protocol);g.Um(a,window.document.location.hostname);window.document.location.port&&g.Vm(a,window.document.location.port);return a.toString()};
NH=function(a){a=new g.Sm(a);g.Tm(a,window.document.location.protocol);return a.toString()};
OH=function(){return"ytp-id-"+nka++};
g.QH=function(a){g.L.call(this);this.o={};this.La={};this.element=PH(this,a)};
PH=function(a,b,c){c=c||"svg"==b.I;if(c){var d=window.document.createElementNS("http://www.w3.org/2000/svg",b.I);g.RH&&(b.U||(b.U={}),b.U.focusable="false")}else d=g.Od(b.I);var e;if(e=b.M){if(e=SH(a,d,"class",e))TH(a,d,"class",e),a.o[e]=d}else if(e=b.ea){for(var f=0;f<e.length;f++)a.o[e[f]]=d;TH(a,d,"class",e.join(" "))}if(e=b.da)c=SH(a,d,"child",e),null!=c&&d.appendChild(g.Pd(c));else if(e=b.P)for(var k=f=0;k<e.length;k++){var l=e[k];if(l)if(g.w(l))l=SH(a,d,"child",l),null!=l&&d.appendChild(g.Pd(l));
else if(l.element)d.appendChild(l.element);else{var m=l;l=PH(a,m,c);d.appendChild(l);m.Ya&&(m=OH(),l.id=m,l=window.document.createElementNS("http://www.w3.org/2000/svg","use"),l.setAttribute("class","ytp-svg-shadow"),l.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+m),Td(d,l,f++))}}if(b=b.U){c=d;for(var n in b)e=b[n],null!=e&&TH(a,c,n,g.w(e)?SH(a,c,n,e):e)}return d};
g.UH=function(a){g.Ud(a.element)};
SH=function(a,b,c,d){return"{{"==d.substr(0,2)?(a.La[d]=[b,c],null):d};
TH=function(a,b,c,d){if("child"==c){g.Sd(b);if(!g.xa(d)||g.Aa(d)&&g.w(d.I))d=[d];c=[];for(var e=0;e<d.length;e++){var f=d[e];if(null!=f){var k=f.nodeType;if(1==k||3==k)c.push(f);else if(g.Aa(f)&&g.w(f.I))c.push(PH(a,f));else if(f.element)c.push(f.element);else if(g.w(f)&&-1!=f.indexOf("\n"))for(f=f.split("\n"),k=0;k<f.length;k++)0<k&&c.push(g.Od("BR")),c.push(g.Pd(f[k]));else c.push(g.Pd(f))}}for(a=0;a<c.length;a++)b.appendChild(c[a])}else"style"==c?b.style.cssText=d?d:"":null===d?b.removeAttribute(c):
b.setAttribute(c,d.toString())};
g.V=function(a){g.QH.call(this,a);this.td="";this.A=!0;this.ca=[]};
g.VH=function(a,b){b?a.show():a.hide()};
g.WH=function(a){g.V.call(this,a);this.ba=new g.VF;g.M(this,this.ba)};
g.YH=function(a,b,c,d){g.WH.call(this,a);this.priority=b;c&&g.XH(this,c);d&&this.Nb(d)};
g.ZH=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{I:c?"a":"div",ea:b,U:a,P:[{I:"div",M:"ytp-menuitem-label",da:"{{label}}"},{I:"div",M:"ytp-menuitem-content",da:"{{content}}"}]}};
g.XH=function(a,b){a.updateValue("label",b)};
bI=function(a,b){g.L.call(this);this.app=a;this.o=!0;this.B=null;this.J={};this.K={};this.C={};this.G=[];this.F={};this.D={};this.A=null;this.L=new window.Set;this.playerType=b;$H(this,"cueVideoById",this.QC);$H(this,"loadVideoById",this.hP);$H(this,"cueVideoByUrl",this.VO);$H(this,"loadVideoByUrl",this.iP);$H(this,"playVideo",this.bd);$H(this,"pauseVideo",this.od);$H(this,"stopVideo",this.Hd);$H(this,"clearVideo",this.TO);$H(this,"getVideoBytesLoaded",this.aP);$H(this,"getVideoBytesTotal",this.bP);
$H(this,"getVideoLoadedFraction",this.Jv);$H(this,"getVideoStartBytes",this.cP);$H(this,"cuePlaylist",this.UO);$H(this,"loadPlaylist",this.gP);$H(this,"nextVideo",this.Yk);$H(this,"previousVideo",this.xn);$H(this,"playVideoAt",this.UC);$H(this,"setShuffle",this.setShuffle);$H(this,"setLoop",this.kP);$H(this,"getPlaylist",this.rg);$H(this,"getPlaylistIndex",this.SC);$H(this,"getPlaylistId",this.getPlaylistId);$H(this,"loadModule",this.Xk);$H(this,"unloadModule",this.yn);$H(this,"setOption",this.Xd);
$H(this,"getOption",this.Fc);$H(this,"getOptions",this.vj);$H(this,"mute",this.mute);$H(this,"unMute",this.sg);$H(this,"isMuted",this.isMuted);$H(this,"setVolume",this.setVolume);$H(this,"getVolume",this.getVolume);$H(this,"seekTo",this.kc);$H(this,"getPlayerState",this.ji);$H(this,"getPlaybackRate",this.Pc);$H(this,"setPlaybackRate",this.jf);$H(this,"getAvailablePlaybackRates",this.Wk);$H(this,"getPlaybackQuality",this.wn);$H(this,"setPlaybackQuality",this.xq);$H(this,"getAvailableQualityLevels",
this.Hv);$H(this,"getCurrentTime",this.getCurrentTime);$H(this,"getDuration",this.getDuration);$H(this,"addEventListener",this.addEventListener);$H(this,"removeEventListener",this.removeEventListener);$H(this,"getDebugText",this.vn);$H(this,"getVideoData",this.getVideoData);$H(this,"addCueRange",this.PC);$H(this,"removeCueRange",this.VC);$H(this,"setSize",this.setSize);$H(this,"getApiInterface",this.WO);$H(this,"destroy",this.destroy);var c=this.app.o;if(!c.jc||c.experiments.o("web_player_housebrand_video_url_killswitch"))$H(this,
"getVideoEmbedCode",this.TC),$H(this,"getVideoUrl",this.getVideoUrl);$H(this,"showVideoInfo",this.XC);$H(this,"hideVideoInfo",this.eP);$H(this,"getMediaReferenceTime",this.YO);$H(this,"getSphericalProperties",this.Iv);$H(this,"setSphericalProperties",this.Lv);aI(this,"getInternalApiInterface",this.XO);aI(this,"getAdState",this.RC);aI(this,"sendAbandonmentPing",this.jP);aI(this,"setAutonav",this.WC);aI(this,"setAutonavState",this.Kv);aI(this,"startInteractionLogging",this.lP);aI(this,"isNotServable",
this.fP);aI(this,"getUpdatedConfigurationData",this.ZO);aI(this,"channelSubscribed",this.RO);aI(this,"channelUnsubscribed",this.SO);aI(this,"handleExternalCall",this.dP);aI(this,"updateFullerscreenEduButtonVisibility",this.mP)};
$H=function(a,b,c){a.J[b]=function(b){for(var d=[],f=0;f<arguments.length;++f)d[f-0]=arguments[f];return c.apply(a,d)};
aI(a,b,c);a.G.push(b)};
cI=function(a,b,c){a.K[b]=function(b){for(var d=[],f=0;f<arguments.length;++f)d[f-0]=arguments[f];return c.apply(a,d)};
aI(a,b,c);a.G.push(b)};
aI=function(a,b,c){a.C[b]=function(b){for(var d=[],f=0;f<arguments.length;++f)d[f-0]=arguments[f];return c.apply(a,d)}};
dI=function(a){a.A||(a.A={},g.Ea(a.A,a.J),g.Ea(a.A,a.K),a.A.addEventListener=(0,g.B)(a.YK,a),a.A.removeEventListener=(0,g.B)(a.ZK,a));return a.A};
eI=function(a,b,c){a.app.o.experiments.o("web_player_gel_logging_killswitch")||g.KG(b,c,void 0,void 0)};
gI=function(a,b,c){b=g.ld(Math.floor(b),0,100);(0,window.isFinite)(b)&&fI(a.app,{volume:b,muted:a.isMuted()},c)};
hI=function(a,b){fI(a.app,{muted:!0,volume:a.getVolume()},b)};
iI=function(a,b){fI(a.app,{muted:!1,volume:Math.max(5,a.getVolume())},b)};
g.kI=function(a){return(a=jI(a.app.D))?a.gm:null};
lI=function(a,b,c){this.name=a;this.id=b;this.isDefault=c};
g.mI=function(a){this.languageCode=a.languageCode;this.languageName=a.languageName||null;this.o=a.languageOriginal||null;this.id=a.id||null;this.isDefault=a.is_default||!1};
g.nI=function(a){a=void 0===a?{}:a;this.F=a.format||3;this.A=a.languageCode||"";this.C=a.languageName;this.B=a.kind||"";this.D=a.name;this.Ja=a.id;this.K=a.is_servable;this.H=a.is_translateable;this.J=a.url||null;this.G=a.vss_id||"";this.isDefault=a.is_default;this.o=null;if(a=a.translationLanguage)this.o=new g.mI(a)};
g.oI=function(a){var b=a.C||"",c=[b];"asr"==a.B&&-1==b.indexOf("(")&&c.push(" (Automatic Captions)");a.D&&c.push(" - "+a.D);a.o&&c.push(" >> "+a.o.languageName);return c.join("")};
pI=function(a,b){this.id=a;this.Mb=b;this.captionTracks=[];this.wp=this.Ht=this.o=null;this.gt="UNKNOWN"};
qI=function(a,b,c){this.sampleRate=a||0;this.o=b||0;this.spatialAudioType=c||0};
oka=function(a,b,c,d){this.displayName=a;this.vssId=b;this.languageCode=c;this.kind=void 0===d?"":d};
tI=function(a,b,c,d,e,f,k,l,m,n,p,r){this.width=a;this.height=b;this.quality=f||rI(a,b);this.o=g.sI[this.quality];this.isAccelerated=!!k;this.fps=c||0;this.stereoLayout=!e||null!=d&&0!=d&&1!=d?0:e;this.projectionType=d?2==d&&2==e?3:d:0;(a=l)||(a=g.sI[this.quality],0==a?a="Auto":(b=this.fps,c=this.projectionType,a=a+(2==c||3==c||4==c?"s":"p")+(55<b?"60":49<b?"50":39<b?"48":"")));this.qualityLabel=a;this.A=m||"";this.primaries=n||"";this.B=!1!==p;this.streamType=r||0};
uI=function(a){return 1280<=a.width||720<=a.height};
vI=function(a){return"smpte2084"==a.A||"arib-std-b67"==a.A};
rI=function(a,b){for(var c=Math.max(a,b),d=Math.min(a,b),e=wI[0],f=0;f<wI.length;f++){var k=wI[f],l=g.sI[k];if(c>=1.3*Math.floor(16*l/9)||d>=1.3*l)return e;e=k}return"tiny"};
yI=function(a,b,c,d,e,f,k,l,m){this.id=a;this.containerType=0<=b.indexOf("/mp4")?1:0<=b.indexOf("/webm")?2:0<=b.indexOf("/x-flv")?3:0<=b.indexOf("/vtt")?4:0;this.mimeType=b;this.o=k||0;this.C=l||0;this.audio=void 0===c?null:c;this.video=void 0===d?null:d;this.Mb=void 0===e?null:e;this.captionTrack=void 0===m?null:m;this.zd=void 0===f?null:f;this.A=pka[g.xI(this)]||"";this.B=null};
g.xI=function(a){return a.id.split(";",1)[0]};
zI=function(a){return"9"==a.A||"("==a.A||"9h"==a.A||"(h"==a.A};
AI=function(a){return"9h"==a.A||"(h"==a.A};
g.BI=function(a){return 1==a.containerType};
CI=function(a){return"application/x-mpegURL"==a.mimeType};
DI=function(a){return/(opus|vorbis|mp4a|dtse|ac-3|ec-3)/.test(a)};
g.EI=function(a){return a.includes("vtt")||a.includes("text/mp4")};
FI=function(a,b,c,d,e,f,k){var l=new qI;b in g.sI||(b="small");d&&e?(e=(0,window.parseInt)(e,10),d=(0,window.parseInt)(d,10)):(e=g.sI[b],d=Math.round(16*e/9));b=new tI(d,e,0,null,void 0,b,f,void 0,void 0,void 0,k);a=(0,window.unescape)(a.replace(/&quot;/g,'"'));return new yI(c,a,l,b)};
GI=function(a,b){this.experimentIds=a?a.split(","):[];this.flags=g.pE(b||"");var c={};(0,g.D)(this.experimentIds,function(a){c[a]=!0});
this.experiments=c;this.C=!!c["9414740"]};
HI=function(){var a=g.y("yt.player.utils.videoElement_");a||(a=g.Od("VIDEO"),g.ua("yt.player.utils.videoElement_",a,void 0));return a};
II=function(a){var b=HI();return!!(b&&b.canPlayType&&b.canPlayType(a))};
KI=function(a){if(/opus/.test(a)&&(g.JI&&!g.io("38")||g.JI&&IE("crkey")))return!1;if(window.MediaSource&&window.MediaSource.isTypeSupported)return window.MediaSource.isTypeSupported(a);if(/webm/.test(a)&&!OE())return!1;'audio/mp4; codecs="mp4a.40.2"'==a&&(a='video/mp4; codecs="avc1.4d401f"');return!!II(a)};
qka=function(a,b){b=void 0===b?!1:b;try{if(b){var c=KI('video/mp4; codecs="avc1.42001E"')||KI('video/webm; codecs="vp9"');if((KI('audio/mp4; codecs="mp4a.40.2"')||KI('audio/webm; codecs="opus"'))&&(c||!a))return null}else if(!a&&II('audio/mp4; codecs="mp4a.40.2"'))return null;return II('video/mp4; codecs="avc1.42001E, mp4a.40.2"')||!b&&II('video/webm; codecs="vp8.0, vorbis"')?null:"fmt.noneavailable"}catch(d){return"html5.missingapi"}};
LI=function(){var a=HI();return!!a.webkitSupportsPresentationMode&&g.za(a.webkitSetPresentationMode)};
MI=function(){return"pictureInPictureEnabled"in window.document&&!!window.document.pictureInPictureEnabled};
NI=function(){var a=HI();try{var b=a.muted;a.muted=!b;return a.muted!=b}catch(c){}return!1};
OI=function(a){a=g.Md("DIV",{"class":a});window.document.body.appendChild(a);var b="none"==Bh(a,"display");g.Ud(a);return b};
PI=function(a,b){this.o=a;this.A=b;this.B=0;Object.defineProperty(this,"timestampOffset",{get:this.fY,set:this.jY});Object.defineProperty(this,"buffered",{get:this.dY})};
rka=function(){this.length=0};
QI=function(a){this.activeSourceBuffers=this.sourceBuffers=[];this.o=a;this.A=window.NaN;this.B=0;Object.defineProperty(this,"duration",{get:this.eY,set:this.iY});Object.defineProperty(this,"readyState",{get:this.gY});this.o.addEventListener("webkitsourceclose",(0,g.B)(this.hY,this),!0)};
RI=function(){this.length=1};
SI=function(){this.buffered=new RI};
TI=function(a,b){return{start:function(b){return a[b]},
end:function(a){return b[a]},
length:a.length}};
UI=function(a,b){b=void 0===b?",":b;var c="";if(a)for(var d=0;d<a.length;d++)c+=a.start(d).toFixed(3)+"-"+a.end(d).toFixed(3)+b;return c};
VI=function(a,b){if(!a)return-1;try{for(var c=0;c<a.length;c++)if(a.start(c)<=b&&a.end(c)>=b)return c}catch(d){}return-1};
WI=function(a,b){if(!a)return window.NaN;var c=VI(a,b);return 0<=c?a.end(c):window.NaN};
XI=function(a){return a&&a.length?a.end(a.length-1):window.NaN};
YI=function(a,b){var c=WI(a,b);return 0<=c?c-b:0};
ZI=function(a,b,c){for(var d=[],e=[],f=0;f<a.length;f++)a.end(f)<b||a.start(f)>c||(d.push(Math.max(b,a.start(f))-b),e.push(Math.min(c,a.end(f))-b));return TI(d,e)};
$I=function(a){this.o=a;this.B=this.C=null;this.A=!1};
aJ=function(a,b,c){this.o=a;this.A=b;this.C=c;this.B=0};
bJ=function(a,b){this.o=a;this.A=!!b;this.B=!1};
cJ=function(a,b){b=void 0===b?!1:b;g.L.call(this);this.D=new g.SF(this);g.M(this,this.D);this.A=this.o=null;this.B=a;var c=this.B;c=c.GQ?c.o.webkitMediaSourceURL:window.URL.createObjectURL(c);this.jn=new bJ(c,!0);this.F=b;this.C=null;TF(this.D,this.B,["sourceopen","webkitsourceopen"],this.H);TF(this.D,this.B,["sourceclose","webkitsourceclose"],this.G)};
ska=function(a,b){dJ(a)?g.ag(function(){return b(a)}):a.C=b};
eJ=function(a,b){return"fakesb"==b?new SI:a.B.addSourceBuffer(b)};
dJ=function(a){try{return"open"==a.B.readyState}catch(b){return!1}};
fJ=function(a){try{return"closed"==a.B.readyState}catch(b){return!0}};
gJ=function(a){return!!(a.o&&a.o.nh()||a.A&&a.A.nh())};
hJ=function(){return!(!window.MediaSource||!window.MediaSource.isTypeSupported)};
iJ=function(a){return a.o?!!a.o.supports(0):hJ()};
tka=function(a,b,c){if(!a.o||!a.A||a.o.bw()||a.A.bw())return null;var d=new cJ(a.B,!0);d.jn=a.jn;d.o=new aJ(a.o,b,c);d.A=new aJ(a.A,b,c);dJ(a)||a.o.mx(a.o.Fq());return d};
uka=function(a,b,c){this.o=a;this.D=b;this.F=void 0===c?!1:c;this.C=!!g.y("cast.receiver.platform.canDisplayType");a=g.y("cast.receiver.platform.getValue");this.A=!this.C&&a&&a("max-video-resolution-vpx")||null;this.B={}};
lJ=function(a,b){var c=a.canPlayType?a.canPlayType(b):!1;jJ?c=c||vka[b]:2.2==kJ?c=c||wka[b]:KE()&&(c=c||xka[b]);return!!c};
yka=function(a,b){if("0"==g.xI(b))return!0;var c=b.mimeType;if(b.video&&(vI(b.video)||"bt2020"==b.video.primaries)&&!(24<window.screen.pixelDepth||mJ(a,nJ))||!("338"!=g.xI(b)||g.JI&&g.io(53)))return!1;var d={};b.video&&(b.video.width&&(d[oJ.name]=b.video.width),b.video.height&&(d[pJ.name]=b.video.height),b.video.fps&&(d[qJ.name]=b.video.fps),b.video.A&&(d[nJ.name]=b.video.A),b.o&&(d[rJ.name]=8*b.o),"("==b.A&&(d[sJ.name]="subsample"),2==b.video.projectionType||3==b.video.projectionType||4==b.video.projectionType)&&
(d[tJ.name]="true");b.audio&&b.audio.o&&(d[uJ.name]=b.audio.o);for(var e in vJ){var f=vJ[e],k;if(k=d[f.name])(k=f==nJ&&0<b.mimeType.indexOf("vp09.02"))||(k=b,k=a.o.o("html5_ignore_h264_framerate_cap")&&f==qJ&&("H"==k.A||"h"==k.A)),k=!(k||f==tJ&&!a.o.o("html5_decode_to_texture_cap"));if(k)if(mJ(a,f))if(a.A){if(a.A[f.name]<d[f.name])return!1}else c=c+"; "+f.name+"="+d[f.name];else if(AI(b)&&f==nJ)return!1}!a.o.o("disable_html5_cast_hdcp_filter2")&&a.C&&b.video&&1080<b.video.o&&b.zd&&(c+="; hdcp=2.2");
return"227"!=g.xI(b)||a.o.o("html5_enable_1080p_hq_cenc")?wJ(a,c):!1};
xJ=function(){var a=KE()&&!g.io(29),b=IE("google tv")&&IE("chrome")&&!g.io(30),c=ME();return a||b||c?!1:!!(window.MediaSource||window.WebKitMediaSource||window.HTMLMediaElement&&window.HTMLMediaElement.prototype.webkitSourceAddId)};
g.yJ=function(){return!(!lJ(HI(),"application/x-mpegURL")&&!xJ())};
mJ=function(a,b){if(!(b.name in a.B)){var c=a.B,d=b.name;if(a.A)var e=!!a.A[b.name];else b==rJ&&a.o.o("html5_ignore_bad_bitrates")&&wJ(a,'video/webm; codecs="vp9"; width=3840; height=2160; bitrate=2000000')&&!wJ(a,'video/webm; codecs="vp9"; width=3840; height=2160; bitrate=20000000')?e=!1:(b.video?(e='video/webm; codecs="vp9"',wJ(a,e)||(e='video/mp4; codecs="avc1.4d401e"')):(e='audio/webm; codecs="opus"',wJ(a,e)||(e='audio/mp4; codecs="mp4a.40.2"')),e=wJ(a,e+"; "+b.name+"="+b.valid)&&!wJ(a,e+"; "+
b.name+"="+b.Uh));c[d]=e}return a.B[b.name]};
wJ=function(a,b){return a.C?window.cast.receiver.platform.canDisplayType(b):KI(b)};
zJ=function(a){this.Qg=a};
AJ=function(a,b){if(b)return aF();for(var c={},d=HI(),e=g.q(a),f=e.next();!f.done;f=e.next())if(f=f.value,lJ(d,f.eg().mimeType)){var k=f.Qg.ab().quality;c[k]&&2!=c[k].eg().containerType||(c[k]=f)}var l=[];c.auto&&l.push(c.auto);(0,g.D)(wI,function(a){(a=c[a])&&l.push(a)});
return l.length?bF(l):aF()};
BJ=function(a,b,c,d){this.A=a||0;this.o=b||0;this.B=c;this.reason=d};
CJ=function(a,b){return a.A==b.A&&a.o==b.o&&a.B==b.B&&a.reason==b.reason};
DJ=function(a,b,c,d){return new BJ(g.sI[a]||0,g.sI[b]||0,c,d)};
EJ=function(a){var b=g.sI.auto;return a.A==b&&a.o==b};
GJ=function(a,b){if(b.B&&EJ(b))return FJ;if(b.B||EJ(a))return b;if(a.B||EJ(b))return a;var c=a.A&&b.A?Math.max(a.A,b.A):a.A||b.A,d=a.o&&b.o?Math.min(a.o,b.o):a.o||b.o;c=Math.min(c,d);return c==a.A&&d==a.o?a:new BJ(c,d,!1,d==a.o?a.reason:b.reason)};
HJ=function(a){var b=a.o||a.A;return Xb(zka,function(a){return g.sI[a]==b})||"auto"};
IJ=function(a,b){var c=g.sI[b];return a.A<=c&&(!a.o||a.o>=c)};
JJ=function(a,b,c,d,e,f,k,l){this.duration=c;this.endTime=b+c;this.ingestionTime=d;this.Aa=a;this.sourceURL=e;this.startTime=b;this.A=k||0;this.range=f||null;this.o=l||!1};
g.KJ=function(){this.segments=[]};
LJ=function(a,b){if(b>a.Qb())a.segments=[];else{var c=g.Ha(a.segments,function(a){return a.Aa>=b},a);
0<c&&a.segments.splice(0,c)}};
MJ=function(a,b,c,d,e){e=void 0===e?!1:e;this.data=a;this.offset=b;this.size=c;this.type=d;this.o=e?0:8;this.dataOffset=this.offset+this.o;this.A=e};
NJ=function(a){var b=a.data.getUint8(a.offset+a.o);a.o+=1;return b};
OJ=function(a){var b=a.data.getInt32(a.offset+a.o);a.o+=4;return b};
PJ=function(a){var b=a.data.getUint32(a.offset+a.o);a.o+=4;return b};
QJ=function(a){var b=a.data;var c=a.offset+a.o;b=4294967296*b.getUint32(c)+b.getUint32(c+4);a.o+=8;return b};
RJ=function(a){var b=[];do{var c=a.data.getUint8(a.offset+a.o);b.push(c);a.o++}while(0!=c);b.pop();return String.fromCharCode.apply(String,b)};
SJ=function(a,b){b=void 0===b?window.NaN:b;if((0,window.isNaN)(b))var c=a.size;else for(c=a.o;c<a.size&&a.data.getUint8(a.offset+c)!=b;)++c;var d=new window.Uint8Array(a.data.buffer,a.offset+a.o,c-a.o);a.o=Math.min(c+1,a.size);return String.fromCharCode.apply(String,d)};
TJ=function(a){this.data=new window.DataView(new window.ArrayBuffer(a));this.o=0};
UJ=function(a,b){a.data.setInt32(a.o,b);a.o+=4};
VJ=function(a,b){for(var c=0;c+4<=b.size;)UJ(a,b.data.getUint32(b.offset+c)),c+=4;for(;c<b.size;)a.data.setUint8(a.o++,b.data.getUint8(b.offset+c++))};
WJ=function(a,b,c,d,e,f){this.o=a;this.durationSecs=b;this.context=c;this.identifier=d;this.event=e;this.A=f};
YJ=function(a,b,c){this.o=a;this.uri=b||"https://web.archive.org/web/20181027110332/http://youtube.com/streaming/metadata/segment/102015";this.C=void 0===c?null:c;this.A=XJ(this,"Sequence-Number");this.J=XJ(this,"Segment-Count");this.K=this.o["Segment-Durations-Ms"]||"";this.ingestionTime=XJ(this,"Ingestion-Walltime-Us")/1E6;this.B=(XJ(this,"First-Frame-Time-Us")+XJ(this,"First-Frame-Uncertainty-Us"))/1E6;this.H=XJ(this,"Target-Duration-Us")/1E6;this.G="T"==this.o["Overlayed-With-Slate"];this.F="T"==this.o["Stream-Finished"];this.D="T"==this.o.Streamable};
XJ=function(a,b){return(0,window.parseInt)(a.o[b],10)||0};
ZJ=function(a,b,c,d,e){this.A=a||0;this.pitch=b||0;this.yaw=c||0;this.roll=d||0;this.o=e;e.getUint32(4)};
$J=function(a){for(var b=new window.Uint8Array(a.length),c=0;c<a.length;c++)b[c]=a.charCodeAt(c);return b};
aK=function(a){return String.fromCharCode.apply(null,a)};
bK=function(a){var b={};a=a.split("\r\n");for(var c=0;c<a.length;c++){if(0==a[c].length)return b;var d=a[c].match(/([^:]+):\s+([\S\s]+)/);null!=d&&(b[d[1]]=d[2])}return null};
Bka=function(a,b,c){var d=cK(a,0,1836019558);if(!d)return null;var e=cK(a,d.dataOffset,1835427940),f=cK(a,d.dataOffset,1953653094),k=Aka(a,d.dataOffset);if(!e||!f)return null;var l=cK(a,f.dataOffset,1952868452),m=cK(a,f.dataOffset,1953658222),n=cK(a,f.dataOffset,1952867444);if(!l||!m||!n)return null;var p=cK(a,f.dataOffset,1935763823),r=cK(a,f.dataOffset,1935763834),v=0;if(p){v=OJ(p);var z=OJ(p);if(0!=v||1!=z)return null;v=OJ(p)}z=cK(a,f.dataOffset,1935828848);f=cK(a,f.dataOffset,1936158820);var E=
OJ(l),J=OJ(l),N=E&2,ca=E&1?QJ(l):0,Qa=N?OJ(l):0,vb=E&8?OJ(l):0,rc=E&16?OJ(l):0,Je=E&32?OJ(l):0;E=OJ(m);var eb=E&1,$d=E&4,Ke=E&256;l=E&512;var lg=E&1024,Tb=E&2048;E=OJ(m);var Lb=eb?OJ(m):0,Ub=$d?OJ(m):0;eb=[];for(var Rh=[],nf=[],mg=[],cj=0,xd=0,Yl=0;Yl<E;Yl++){var $M=Ke?OJ(m):vb;l&&eb.push(OJ(m));var dj=Je;$d&&0==Yl?dj=Ub:lg&&(dj=OJ(m));Rh.push(dj);dj=Tb?OJ(m):0;0==Yl&&(cj=dj);nf.push(xd+dj);mg.push(Yl);xd+=$M}1<=Math.abs(xd-b)&&c({flaw:"segDurMismatch",dts:xd.toFixed(),seg:b.toFixed()});g.db(mg,function(a,
b){return nf[a]-nf[b]});
c=[];for(xd=0;xd<E;xd++)c[mg[xd]]=xd;xd=N?4:0;Je=16*E;$d=(0,g.Yj)(k,function(a,b){return a+b.size},0);
Ke=68+xd+n.size+Je+(p?p.size:0)+(r?r.size:0)+(z?z.size:0)+(f?f.size:0)+$d;vb=Ke-d.size;m=new TJ(Ke+d.offset);d.offset&&m.cp(a,0,d.offset);UJ(m,Ke);UJ(m,1836019558);VJ(m,e);UJ(m,Ke-24-$d);UJ(m,1953653094);UJ(m,16+xd);UJ(m,1952868452);UJ(m,131072|(N?2:0));UJ(m,J);N&&UJ(m,Qa);VJ(m,n);UJ(m,20+Je);UJ(m,1953658222);UJ(m,16781057);UJ(m,E);UJ(m,ca+Lb+vb);for(a=xd=0;a<E;a++)e=c[a],d=Math.round(b*e/E),e=Math.round(b*(e+1)/E)-d,d=d-xd+cj,UJ(m,e),UJ(m,l?eb[a]:rc),UJ(m,Rh[a]),UJ(m,d),xd+=e;p&&(UJ(m,p.size),UJ(m,
1935763823),UJ(m,0),UJ(m,1),UJ(m,v+vb));r&&VJ(m,r);z&&VJ(m,z);f&&VJ(m,f);b=g.q(k);for(k=b.next();!k.done;k=b.next())VJ(m,k.value);return m.data.buffer};
dK=function(a,b){var c=cK(a.data,a.dataOffset,1952868452),d=cK(a.data,a.dataOffset,1953658222),e=OJ(c);OJ(c);e&2&&OJ(c);c=e&8?OJ(c):0;var f=OJ(d),k=f&1;e=f&4;var l=f&256,m=f&512,n=f&1024;f&=2048;var p=PJ(d);k&&OJ(d);e&&OJ(d);for(var r=k=0;r<p;r++){var v=l?OJ(d):c;m&&OJ(d);e&&0==r||!n||OJ(d);f&&OJ(d);k+=v}return k/b};
gK=function(a){a=new window.DataView(a.buffer,a.byteOffset,a.byteLength);return(a=g.eK(a,1836476516))?fK(a):window.NaN};
Cka=function(a){var b=g.eK(a,1937011556);if(!b)return null;b=cK(a,b.dataOffset+8,1635148593);if(!b)return null;var c=cK(a,b.dataOffset+78,1936995172),d=cK(a,b.dataOffset+78,1937126244);if(!d)return null;b=null;if(c)switch(c.skip(4),NJ(c)){default:b=0;break;case 1:b=2;break;case 2:b=1;break;case 3:b=255}var e=c=null,f=null;if(d=cK(a,d.dataOffset,1886547818)){var k=cK(a,d.dataOffset,1886546020),l=cK(a,d.dataOffset,2037673328);if(!l&&(l=cK(a,d.dataOffset,1836279920),!l))return null;k&&(k.skip(4),c=OJ(k)/
65536,f=OJ(k)/65536,e=OJ(k)/65536);a=new window.DataView(l.data.buffer,l.dataOffset,l.size-8);return new ZJ(b,c,f,e,a)}return null};
cK=function(a,b,c){for(;hK(a,b);){var d=iK(a,b);if(d.type==c)return d;b+=d.size}return null};
g.eK=function(a,b){for(var c=0;hK(a,c);){var d=iK(a,c);if(d.type==b)return d;c=jK(d.type)?c+8:c+d.size}return null};
kK=function(a,b){if(a.data.getUint8(a.dataOffset)){var c=a.data,d=a.dataOffset+4;c.setUint32(d,Math.floor(b/4294967296));c.setUint32(d+4,b&4294967295)}else a.data.setUint32(a.dataOffset+4,b)};
lK=function(a){if(a.data.getUint8(a.dataOffset)){var b=a.data;a=a.dataOffset+4;return 4294967296*b.getUint32(a)+b.getUint32(a+4)}return a.data.getUint32(a.dataOffset+4)};
iK=function(a,b){var c=a.getUint32(b),d=a.getUint32(b+4);return new MJ(a,b,c,d)};
fK=function(a){var b=a.data.getUint8(a.dataOffset)?20:12;return a.data.getUint32(a.dataOffset+b)};
mK=function(a){a=new MJ(a.data,a.offset,a.size,a.type,a.A);var b=NJ(a);a.skip(7);var c=PJ(a);if(0==b){b=PJ(a);var d=PJ(a)}else b=QJ(a),d=QJ(a);a.skip(2);var e=a.data.getUint16(a.offset+a.o);a.o+=2;for(var f=[],k=[],l=0;l<e;l++){var m=PJ(a);f.push(m);k.push(PJ(a));a.skip(4)}return{Bx:c,SK:b,FA:d,Uw:f,ao:k}};
nK=function(a){return a.data.getUint32(a.dataOffset+8)};
hK=function(a,b){if(8>a.byteLength-b)return!1;var c=a.getUint32(b);if(8>c||a.byteLength-b<c)return!1;c=a.getUint32(b+4);if(1635148593==c||1635148611==c||1937126244==c||1936995172==c)return!0;for(c=4;8>c;c++){var d=a.getInt8(b+c);if(97>d||122<d)return!1}return!0};
jK=function(a){return 1836019558==a||1836019574==a||1835297121==a||1835626086==a||1937007212==a||1953653094==a||1953653099==a};
oK=function(a){return(a=cK(a,0,1836019558))?a.offset+a.size:null};
pK=function(a,b){for(var c=cK(a,0,b);c;){var d=c;d.type=1936419184;d.data.setUint32(d.offset+4,1936419184);c=cK(a,c.offset+c.size,b)}};
Aka=function(a,b){for(var c=[];hK(a,b);){var d=iK(a,b);1886614376==d.type&&c.push(d);b+=d.size}return c};
qK=function(a,b){for(var c=0,d=[];hK(a,c);){var e=iK(a,c);e.type==b&&d.push(e);c=jK(e.type)?c+8:c+e.size}return d};
g.rK=function(a,b){this.start=a;this.end=b;this.length=b-a+1};
sK=function(a){a=a.split("-");return 2==a.length&&(a=new g.rK((0,window.parseInt)(a[0],10),(0,window.parseInt)(a[1],10)),!(0,window.isNaN)(a.start)&&!(0,window.isNaN)(a.end)&&!(0,window.isNaN)(a.length)&&0<a.length)?a:null};
tK=function(a,b){return new g.rK(a,a+b-1)};
vK=function(a,b,c,d,e,f,k,l,m){this.o=b;this.range=c;this.type=a;this.Aa=0<=d?d:-1;this.startTime=e||0;this.duration=f||0;this.A=k||0;this.gb=0<=l?l:this.range?this.range.length:window.NaN;this.F=!!m;this.range?(this.B=this.A+this.gb==this.range.length,this.D=this.startTime+this.duration*this.A/this.range.length,this.G=this.duration*this.gb/this.range.length,this.C=this.D+this.G):(this.B=0!=this.gb,uK(this));this.H=[]};
uK=function(a){a.D=a.startTime;a.G=a.duration;a.C=a.D+a.G};
Dka=function(a,b,c){var d=!(!b||b.o!=a.o||b.type!=a.type||b.Aa!=a.Aa);return c?d&&(a.range&&b.range?b.range.end==a.range.end:b.range==a.range)&&b.A+b.gb==a.A+a.gb:d};
wK=function(a){return 1==a.type||2==a.type};
xK=function(a,b,c){return c||a.o==b.o?a.range&&b.range?a.range.start+a.A+a.gb==b.range.start+b.A:a.Aa==b.Aa?a.A+a.gb==b.A:a.Aa+1==b.Aa&&0==b.A&&a.B:!1};
yK=function(a,b){return xK(a,b)||1E-6>=Math.abs(a.C-b.D)||a.Aa+1==b.Aa&&0==b.A&&a.B?!0:!1};
Eka=function(a){1==a.length||(0,g.Am)(a,function(a){return!!a.range});
for(var b=1;b<a.length;b++);b=a[a.length-1];return new g.rK(a[0].range.start+a[0].A,b.range.start+b.A+b.gb-1)};
AK=function(a){var b="";g.Hb(zK(a),function(a,d){b+=d+"="+a+","});
return b.slice(0,-1)};
zK=function(a){var b={};b.itag=g.xI(a.o.info);b.seg=String(a.Aa);a.range&&(b.range=""+(a.range.start+a.A)+"-"+(a.range.start+a.A+a.gb-1));b.time=""+a.D.toFixed(1)+"-"+(a.D+a.G).toFixed(1);b.off=String(a.A);b.len=String(a.gb);a.B&&(b.end="1");a.F&&(b.eos="1");return b};
BK=function(a,b,c,d){a=new vK(a.type,a.o,a.range,a.Aa,a.startTime,a.duration,b,c,d&&a.F);a.B=d;return a};
CK=function(a,b){a.Aa=b.A;b.F&&(a.F=b.F)};
DK=function(a,b){a.Aa=b.Aa;if(a.startTime!=b.startTime||a.duration!=b.duration)a.startTime=b.startTime,a.duration=b.duration,uK(a)};
EK=function(a,b){this.A=a;this.o=0;this.B=b||0};
FK=function(a){return a.o>=a.A.byteLength};
KK=function(a,b){var c=new EK(b);if(!GK(c,[408125543,374648427,174,224]))return!1;c=HK(c);if(IK(c,a)){for(var d=0;a;)a>>>=8,d++;var e=c.B+c.o-d;d=JK(c,!0)+d-1;var f;f||(f=Math.ceil(Math.log(d+2)/Math.log(2)/7));var k=1<<8-f;for(c=[];c.length<f-1;)c.unshift(d%256),d=Math.floor(d/256);c.unshift(d|k);b.setUint8(e,236);for(f=0;f<c.length;f++)b.setUint8(e+1+f,c[f]);return!0}return!1};
MK=function(a){LK(new EK(a));KK(30320,a)&&KK(21432,a)};
Fka=function(a){var b=new EK(a);LK(b);if(GK(b,[408125543,374648427,174,224]))b=HK(b);else return null;for(var c=a=null;!FK(b);){var d=JK(b,!1);if(21432==d)switch(NK(b)){default:a=0;break;case 1:a=1;break;case 3:a=2;break;case 15:a=255}else 30320==d?c=HK(b):OK(b)}if(!c)return null;for(var e,f=d=b=null;!FK(c);)switch(JK(c,!1)){case 30321:if(3!=NK(c))return null;break;case 30324:b=PK(c);break;case 30323:f=PK(c);break;case 30325:d=PK(c);break;case 30322:e=JK(c,!0);e=QK(c,e);e=new window.DataView(e.buffer,
e.byteOffset,e.byteLength);break;default:OK(c)}return e?new ZJ(a,b,f,d,e):null};
HK=function(a){var b=JK(a,!0),c=a.A.byteOffset+a.o;c=new window.DataView(a.A.buffer,c,Math.min(b,a.A.buffer.byteLength-c));c=new EK(c,a.B+a.o);a.o+=b;return c};
NK=function(a){for(var b=JK(a,!0),c=RK(a),d=1;d<b;d++)c=256*c+RK(a);return c};
PK=function(a){var b=JK(a,!0),c=0;4==b?c=a.A.getFloat32(a.o):8==b&&(c=a.A.getFloat64(a.o));a.o+=b;return c};
SK=function(a){var b=JK(a,!0);return aK(QK(a,b))};
OK=function(a){var b=JK(a,!0);a.o+=b};
LK=function(a){var b=a.o;a.o=0;var c=!1;IK(a,440786851)&&(a.o=0,IK(a,408125543)&&(c=!0));a.o=b;return c};
TK=function(a){var b=a.o;a.o=0;var c=1E6;GK(a,[408125543,357149030,2807729])&&(c=NK(a));a.o=b;return c};
Gka=function(a,b){var c=a.o;a.o=0;if(!UK(a)||!IK(a,160))return a.o=c,window.NaN;JK(a,!0);var d=a.o;if(!IK(a,161))return a.o=c,window.NaN;JK(a,!0);RK(a);var e=RK(a)<<8|RK(a);a.o=d;if(!IK(a,155))return a.o=c,window.NaN;d=NK(a);a.o=c;return(e+d)*b/1E9};
UK=function(a){if(!VK(a)||!IK(a,524531317))return!1;JK(a,!0);return!0};
VK=function(a){if(LK(a)){if(!IK(a,408125543))return!1;JK(a,!0)}return!0};
GK=function(a,b){for(var c=0;c<b.length;c++){if(!IK(a,b[c]))return!1;c!=b.length-1&&JK(a,!0)}return!0};
IK=function(a,b,c){c=void 0===c?!1:c;if(FK(a))return!1;for(var d=a.o;JK(a,!1)!=b;)if(OK(a),d=a.o,FK(a))return!1;c&&(a.o=d);return!0};
JK=function(a,b){var c=RK(a);if(1==c){for(var d=c=0;7>d;d++)c=256*c+RK(a);return c}d=128;for(var e=0;6>e&&d>c;e++)c=256*c+RK(a),d*=128;return b?c-d:c};
RK=function(a){return a.A.getUint8(a.o++)};
QK=function(a,b){var c=new window.Uint8Array(a.A.buffer,a.A.byteOffset+a.o,b);a.o+=b;return c};
WK=function(a,b,c,d,e){this.info=a;this.buffer=b;this.range=c;this.o=null;this.B=d;this.A=e};
XK=function(a){return a.range?new window.DataView(a.buffer,a.range.start,a.range.length):new window.DataView(a.buffer)};
YK=function(a){if(a.buffer.slice)return new window.Uint8Array(a.buffer.slice(a.range.start,a.range.end+1));a=new window.Uint8Array(a.buffer,a.range.start,a.range.end+1);return new window.Uint8Array(a)};
ZK=function(a,b){b=Math.min(b,a.info.gb);var c=new vK(a.info.type,a.info.o,a.info.range,a.info.Aa,a.info.startTime,a.info.duration,a.info.A,b,!1);c.B=!1;var d=tK(a.range.start,b);c=new WK(c,a.buffer,d,a.B,a.A);var e=new vK(a.info.type,a.info.o,a.info.range,a.info.Aa,a.info.startTime,a.info.duration,a.info.A+b,a.info.gb-b,a.info.F);e.B=a.info.B;d=new g.rK(d.end+1,a.range.end);d=new WK(e,a.buffer,d,a.B,!1);return[c,d]};
$K=function(a){if(g.BI(a.info.o.info)){var b=a.info.o.o;for(var c=window.NaN,d=window.NaN,e=0,f=new window.DataView(a.buffer);hK(f,e);){var k=iK(f,e);1936286840==k.type?d=nK(k):1836476516==k.type?d=fK(k):1952867444==k.type&&(0,window.isNaN)(c)&&(c=lK(k));e=jK(k.type)?e+8:e+k.size}!d&&b&&(d=gK(b));b=c/d}else b=new EK(XK(a)),c=a.A?b:new EK(new window.DataView(a.info.o.o.buffer)),d=TK(c),c=b.o,b.o=0,UK(b)?IK(b,231)?(d=NK(b)*d/1E9,b.o=c,b=d):(b.o=c,b=window.NaN):(b.o=c,b=window.NaN);return b||a.info.D};
aL=function(a,b){if(g.BI(a.info.o.info)){for(var c=a.info.o.o,d=new window.DataView(a.buffer),e=window.NaN,f=window.NaN,k=0;hK(d,k);){var l=iK(d,k);(0,window.isNaN)(e)&&(1936286840==l.type?e=nK(l):1836476516==l.type&&(e=fK(l)));if(1952867444==l.type){!e&&c&&(e=gK(c));var m=lK(l);(0,window.isNaN)(f)&&(f=Math.round(b*e)-m);kK(l,m+f)}k=jK(l.type)?k+8:k+l.size}return!0}c=new EK(new window.DataView(a.buffer));e=a.A?c:new EK(new window.DataView(a.info.o.o.buffer));d=b;f=TK(e);e=c.o;c.o=0;if(UK(c)&&IK(c,
231))if(k=JK(c,!0),d=Math.floor(1E9*d/f),Math.ceil(Math.log(d)/Math.log(2)/8)>k)c=!1;else{for(f=k-1;0<=f;f--)c.A.setUint8(c.o+f,d&255),d>>>=8;c.o=e;c=!0}else c=!1;return c};
bL=function(a){if(g.BI(a.info.o.info)){var b=0;var c=new window.DataView(a.buffer);c=qK(c,1936286840);c=g.q(c);for(var d=c.next();!d.done;d=c.next())d=mK(d.value),b+=d.ao[0]/d.Bx;b=b||window.NaN;if(!(0<=b))a:{b=a.info.o.o;c=0;d=new window.DataView(a.buffer);for(var e,f=0;hK(d,c);){var k=iK(d,c);if(1836476516==k.type)e=fK(k);else if(1836019558==k.type){!e&&b&&(e=gK(b));if(!e){b=window.NaN;break a}var l=cK(k.data,k.dataOffset,1953653094);f+=dK(l,e)}c=jK(k.type)?c+8:c+k.size}b=f||window.NaN}}else e=
new EK(new window.DataView(a.buffer)),b=a.A?e:new EK(new window.DataView(a.info.o.o.buffer)),b=Gka(e,TK(b));return b||a.info.G};
cL=function(a){return g.BI(a.info.o.info)?a.o?a.o.G&&!!cK(new window.DataView(a.buffer),0,1718909296):!1:LK(new EK(new window.DataView(a.buffer)))};
eL=function(a){var b;if(g.BI(a.info.o.info)){var c=XK(a);if(b=cK(c,0,1701671783)){b.skip(4);c=dL?SJ(b,0):RJ(b);dL?SJ(b,0):RJ(b);PJ(b);PJ(b);PJ(b);PJ(b);if(dL)var d=SJ(b);else{d=window.Uint8Array;var e=new window.Uint8Array(new window.ArrayBuffer(b.size-b.o)),f=new window.Uint8Array(b.data.buffer,b.offset+b.o,b.size-b.o);e.set(f);b.o=b.size;d=aK(new d(e.buffer))}b=b.offset;c=(d=bK(d))?new YJ(d,c,b):null}else c=null}else{c=new EK(XK(a));b=c.o;c.o=0;e=d=null;if(GK(c,[408125543,307544935,29555,26568]))for(f=
HK(c);!FK(f);){var k=JK(f,!1);17543==k?e=bK(SK(f)):17827==k?d=SK(f):OK(f)}c.o=b;c=e?new YJ(e,d):null}a.o=c};
g.fL=function(){this.VG=this.DG=!1;this.qp=2;this.D=20971520;this.F=8388608;this.B=window.NaN;this.ka=3145728;this.N=62914560;this.oa=10485760;this.Rp=this.sa=0;this.H=window.NaN;this.xe=0;this.Fg=this.bz=2;this.Ob=3;this.Gg=!1;this.my=2;this.Da=25;this.O=2097152;this.ky=1048576;this.ca=!1;this.J=1800;this.wc=5;this.Wc=10;this.Hb=15;this.zb=1;this.A=1.15;this.C=1.05;this.WB=8;this.yF=!0;var a;!(a=IE("xboxone"))&&(a=QE())&&(a=/WebKit\/([0-9]+)/.exec(g.Fb),a=!(a&&602<=(0,window.parseInt)(a[1],10)));
this.XJ=a||KE();this.wd=!1;this.yy=!0;this.XB=this.G=!1;this.qy=.8;this.Ba=!1;this.oH=!0;this.aa=this.Hi=!1;this.xo=25;this.bK=this.fI=!1;this.pa=6;this.Tj=this.ha=!1;this.we=.5;this.Pe=this.La=!1;this.yc=0;this.xh=this.WD=!1;this.sd=0;this.Uj=!1;this.Oy=2;this.yb=5E3;this.L=this.W=!1;this.K=.5;this.fb=2;this.Va=this.Iy=0;this.Ly=1.5;this.Ny=this.Pd=.5;this.Qa=this.vo=!1;this.Sb=15;this.qc=1;this.ty=this.zF=this.wa=this.Ah=!1;this.Ko=0;this.Ey=this.yh=this.mH=this.Sj=this.Od=this.Fy=this.lH=this.iH=
this.OF=!1;this.Ii=1;this.Rj=0;this.Gi=this.Gy=this.ba=this.o=!1;this.td=0;this.Ty=this.uo=this.Oe=this.fz=this.ia=this.ud=this.xa=this.Hy=this.rd=this.Ha=this.Hg=!1;this.yp=0;this.Fi=this.Cy=this.Kb=this.Dy=this.preferLowQualityAudio=this.zh=this.Py=this.Ry=this.Ei=this.qd=this.ga=!1};
Hka=function(a,b){1080<b.video.o&&!a.DG&&(a.D=36700160,a.F=5242880,a.ka=10485760,a.O=4194304,a.DG=!0);2160<b.video.o&&!a.VG&&(a.D=104857600,a.H=13107200,a.VG=!0);a.ky=Math.max(65536,Math.min(a.O,5*b.o))};
Ika=function(){this.C=this.o=this.A=this.B=this.D=0};
gL=function(a,b){a[b]||(a[b]=new Ika);return a[b]};
iL=function(a){a=a.split("");hL.eM(a,25);hL.wx(a,29);hL.eM(a,42);hL.Tg(a,2);return a.join("")};
g.jL=function(a){this.C=a;this.D=this.A=this.F="";this.o={};this.B=""};
lL=function(a){kL(a);return a.D};
mL=function(a){kL(a);return Kb(a.o,function(a){return null!==a})};
oL=function(a){kL(a);if("/videoplayback"!=a.A){var b=a.clone();b.set("playerfallback","1");return b}var c=a.Xa();b=new g.Sm(c);if(nL){var d=a.get("fvip");a=(0,window.decodeURIComponent)(a.get("mn")||"").split(",");if(d&&a&&1<a.length&&a[1])return c=b.A.replace(/^[^.]*/,""),g.Um(b,"r"+d+"---"+a[1]+c),b=new g.jL(b.toString()),b.set("fallback_count","1"),b}d=b.A.match("\\.a1\\.googlevideo\\.com$");b.A.match("\\.googlevideo\\.com$")?(g.Um(b,"redirector.googlevideo.com"),c=b.toString()):b.A.match("r[1-9].*\\.c\\.youtube\\.com$")?
(g.Um(b,"www.youtube.com"),c=b.toString()):c=MH(c);b=new g.jL(c);b.set("cmo=pf","1");d&&b.set("cmo=td","a1.googlevideo.com");return b};
kL=function(a){if(a.C){if(!IH(a.C))throw Error("Untrusted URL: "+a.C);var b=g.bn(a.C);a.F=b.C;a.D=b.A+(null!=b.D?":"+b.D:"");var c=b.B;if(0==c.indexOf("/videoplayback"))a.A="/videoplayback",c=c.substr(14);else if(0==c.indexOf("/api/manifest")){var d=c.indexOf("/",12),e=c.indexOf("/",d+1);0<d&&0<e?(a.A=c.substr(0,e),c=c.substr(e+1)):(a.A=c,c="")}else a.A=c,c="";d=a.o;a.o=pL(c);g.Ea(a.o,qL(b.cB()));g.Ea(a.o,d);"index.m3u8"==a.o.file&&(delete a.o.file,a.A+="/file/index.m3u8");a.C="";a.B=""}};
Jka=function(a){kL(a);var b=a.F+(a.F?"://":"//")+a.D+a.A;if(mL(a)){var c=[];g.Hb(a.o,function(a,b){null!==a&&c.push(b+"="+a)});
b+="?"+c.join("&")}return b};
pL=function(a){a=a.split("/");var b=0;a[0]||b++;for(var c={};b<a.length;b+=2)a[b]&&rL(c,a[b],a[b+1]);return c};
qL=function(a){a=a.split("&");for(var b={},c=0;c<a.length;c++){var d=a[c],e=d.indexOf("=");0<e?rL(b,d.substr(0,e),d.substr(e+1)):d&&(b[d]="")}return b};
rL=function(a,b,c){if("cmo"==b){var d;0<=(d=c.indexOf("="))?(b="cmo="+c.substr(0,d),c=c.substr(d+1)):0<=(d=c.indexOf("%3D"))&&(b="cmo="+c.substr(0,d),c=c.substr(d+3))}a[b]=c};
sL=function(a){this.o=a;this.A={};this.B=""};
Kka=function(a,b){var c=b.indexOf("?");if(0<c){var d=qL(b.substr(c+1));g.Hb(d,function(a,b){this.set(b,a)},a);
b=b.substr(0,c)}c=pL(b);g.Hb(c,function(a,b){this.set(b,a)},a)};
Lka=function(a){var b=a.o.Xa(),c=[];g.Hb(a.A,function(a,b){c.push(b+"="+a)});
if(!c.length)return b;var d=c.join("&");a=mL(a.o)?"&":"?";return b+a+d};
tL=function(a,b){var c=new g.jL(b),d=c.get("req_id");d&&a.set("req_id",d);g.Hb(a.A,function(a,b){c.set(b,null)});
return c};
Mka=function(a){this.D=a.clone();this.B=a;this.A=null;this.C=this.o=0};
vL=function(a,b,c){var d=gL(c,lL(a.B));if(d.A>=b.Oy||1<=d.o)if(a=uL(a),c=gL(c,lL(a)),c.A+c.o<=d.A+d.o)return!0;return!1};
g.wL=function(a,b){var c=b?uL(a):a.B;return new sL(c)};
uL=function(a){a.A||(a.A=oL(a.D));return a.A};
xL=function(a){return 1<a.o?a.C+1E3*Math.pow(1.6,a.o-1)<g.tG():!0};
g.yL=function(a,b,c){b.o===a.B&&(a.B=tL(b,c));b.o===a.A&&(a.A=tL(b,c))};
zL=function(a,b){this.A=a[0].o.C;this.C=b||"";this.o=a;this.range=this.o[0].range&&0<this.o[0].gb?Eka(this.o):null;this.D=this.B=window.NaN;this.F=this.requestId=null};
AL=function(a){return!wK(a.o[a.o.length-1])};
BL=function(a){return wK(a.o[0])};
CL=function(a){return 4==a.o[a.o.length-1].type};
g.DL=function(a,b,c,d){/http[s]?:\/\//.test(a.C)?b=new sL(new g.jL(a.C)):(b=null===a.F?vL(a.A,b,c):a.F,b=g.wL(a.A,b),a.C&&Kka(b,a.C));(d=d||a.range)&&b.set("range",d.toString());a.requestId&&b.set("req_id",a.requestId);(0,window.isNaN)(a.B)||b.set("headm",a.B.toString());(0,window.isNaN)(a.D)||b.set("mffa",a.D+"ms");return b};
EL=function(a){if(a.range)return a.range.length;a=a.o[0];return Math.round(a.G*a.o.info.o)};
Nka=function(a,b,c){return a.range?new g.rK(a.range.start+b,a.range.end):tK(b,c)};
FL=function(a,b,c){this.info=b;this.initRange=c||null;this.H=this.o=null;this.F=!1;this.D=null;this.K=0;this.C=new Mka(a);this.B=null;this.L=window.NaN};
GL=function(a,b){a.info&&a.info.video&&4==a.info.video.projectionType&&!a.B&&(g.BI(a.info)?a.B=Cka(b):2==a.info.containerType&&(a.B=Fka(b)))};
HL=function(a,b,c,d,e,f){f=void 0===f?0:f;FL.call(this,a,b,d);this.index=e||new g.KJ;this.G=f;this.N=c;this.J=!0;if(this.A=!c)this.F=!0};
IL=function(a,b,c,d,e){e=void 0===e?window.Infinity:e;this.segments=[];this.o=a;this.D=void 0===b?0:b;this.A=void 0===c?!1:c;this.B=-1;this.C=void 0===d?0:d;this.F=e};
KL=function(a,b,c){b=JL(a,b);return 0<=b&&(c||!a.segments[b].o)};
LL=function(a){return a.segments.length?a.segments[a.segments.length-1]:null};
JL=function(a,b){return g.bb(a.segments,{Aa:b},function(a,b){return a.Aa-b.Aa})};
ML=function(a,b,c){return new JJ(b,Math.max(0,c.startTime-(c.Aa-b)*a.o),a.o,0,"sq/"+b,void 0,void 0,!0)};
NL=function(a,b,c,d,e,f,k){d=void 0===d?!1:d;e=void 0===e?14400:e;f=void 0===f?0:f;k=void 0===k?window.Infinity:k;HL.call(this,a,b,"",void 0,void 0,c);this.index=new IL(c||0,e,d,f,k)};
Oka=function(a,b,c,d,e){this.Aa=a;this.o=b;this.durationSecs=c;this.A=d||window.NaN;this.B=e||window.NaN};
OL=function(a,b,c){for(;a;a=a.parentNode)if(a.attributes&&(!c||a.nodeName==c)){var d=a.getAttribute(b);if(d)return d}return""};
PL=function(a,b){for(var c=a;c;c=c.parentNode){var d=c.getElementsByTagName(b);if(0<d.length)return d[0]}return null};
QL=function(a){if(!a)return 0;var b=a.match(/PT(([0-9]*)H)?(([0-9]*)M)?(([0-9.]*)S)?/);return b?3600*(0,window.parseFloat)(b[2]||0)+60*(0,window.parseFloat)(b[4]||0)+(0,window.parseFloat)(b[6]||0):(0,window.parseFloat)(a)};
RL=function(a){return a.match(/^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2})\.(\d{3})$/)?a+"Z":a};
SL=function(){this.o=[];this.A=null;this.D=0;this.C=[];this.B=!1;this.F=""};
Pka=function(a){var b=a.C;a.C=[];return b};
Qka=function(){this.C=[];this.o=null;this.A={};this.B={}};
Uka=function(a,b,c){var d=[];b=Array.from(b.getElementsByTagName("SegmentTimeline"));b=g.q(b);for(var e=b.next();!e.done;e=b.next()){e=e.value;var f=e.parentNode.parentNode,k=null;"Period"==f.nodeName?k=Rka(a):"AdaptationSet"==f.nodeName?k=Ska(a,f.attributes.id?f.attributes.id.value:f.attributes.mimetype.value):"Representation"==f.nodeName&&(k=Tka(a,f.attributes.id.value));if(null==k)return;k.update(e,c);Wa(d,Pka(k))}Wa(a.C,d);haa(a.C,function(a){return 1E3*a.o+a.A})};
Vka=function(a){a.o&&(a.o.o=[]);g.Hb(a.A,function(a){a.o=[]});
g.Hb(a.B,function(a){a.o=[]})};
Rka=function(a){a.o||(a.o=new SL);return a.o};
Ska=function(a,b){a.A[b]||(a.A[b]=new SL);return a.A[b]};
Tka=function(a,b){a.B[b]||(a.B[b]=new SL);return a.B[b]};
TL=function(a,b,c,d,e){FL.call(this,a,b,d||void 0);this.index=new g.KJ;this.indexRange=e;this.A=c};
UL=function(a,b,c){var d=a.index.Yt(b),e=a.index.Yd(b),f=a.index.getDuration(b),k;c?f=k=0:0<a.info.o&&(k=a.info.o*f);a=new vK(3,a,null,b,e,f,0,k,b==a.index.Qb()&&0<k);return new zL([a],d)};
Wka=function(a,b){if(!a.index.Pb()){for(var c=[],d=b.J,e=b.K.split(",").filter(function(a){return 0<a.length}),f=0,k=0,l=0,m=/^(\d+)/,n=/r=(\d+)/,p=0;p<d;p++){if(0>=l)if(l=e.shift(),k=(k=m.exec(l))?+k[1]/1E3:0)l=(l=n.exec(l))?+l[1]:0,l+=1;
else return;c.push(new JJ(p,f,k,window.NaN,"sq/"+(p+1)));f+=k;l--}a.index.append(c)}};
g.VL=function(){this.Na=0;this.o=new window.Float64Array(128);this.A=new window.Float64Array(128);this.C=1;this.B=!1};
WL=function(a){if(a.o.length<a.Na+1){var b=2*a.o.length;b+=2;var c=a.o;a.o=new window.Float64Array(b+1);var d=a.A;a.A=new window.Float64Array(b+1);for(b=0;b<a.Na+1;b++)a.o[b]=c[b],a.A[b]=d[b]}};
g.XL=function(a,b,c,d,e,f){FL.call(this,a,b,c||void 0);this.indexRange=d;this.G=null;this.index=new g.VL;this.A=e;this.lastModified=f};
YL=function(a,b,c,d){for(var e=[];b<=a.index.Qb();b++){var f=a.index,k=b;f=tK(f.Aq(k),k+1<f.Na||f.B?f.o[k+1]-f.o[k]:-1);k=a.index.Yd(b);var l=a.index.getDuration(b),m=Math.max(0,c-f.start),n=Math.min(f.end+1,c+d)-(f.start+m);e.push(new vK(3,a,f,b,k,l,m,n,b==a.index.Qb()&&m+n==f.length));if(f.start+m+n>=c+d)break}return new zL(e)};
Xka=function(a,b){return ZL(function(a,b){return g.ZE(a,b,4,1E3)},a,b)};
g.$L=function(a){var b;a.responseType&&"text"!=a.responseType?"arraybuffer"==a.responseType&&(b=aK(new window.Uint8Array(a.response))):b=a.responseText;return!b||2048<b.length?"":0==b.indexOf("https://")?b:""};
ZL=function(a,b,c){return a(b,c).then(function(b){var d=g.$L(b);return d?ZL(a,d,c):b})};
aM=function(a,b,c){a=void 0===a?"":a;b=void 0===b?null:b;c=void 0===c?!1:c;g.VF.call(this);this.W=this.duration=0;this.Jk=this.isLive=this.B=!1;this.K=g.tG();this.G=window.Infinity;this.o={};this.sourceUrl=a||"";this.F=this.N=0;this.D=null;this.ga=!!b&&b.o("html5_live_nonzero_first_segment_start_time");this.A=!1;this.L=[];this.ha=!!b&&b.o("html5_live_self_init_segments");this.C=null;this.ka=c;this.ba=!b||!b.o("html5_manifest_without_credentials");this.H=0;this.O=!!b&&b.o("disable_html5_manifest_namespace_redux");
this.aa="";this.J=window.NaN;this.ca=b&&b.o("disable_html5_duration_caching")?window.Infinity:10;this.ia=!!b&&b.o("html5_manifest_getseekabletime_skip_caption_track_killswitch")};
bM=function(a){return Kb(a.o,function(a){return!!a.info.zd})};
Yka=function(a){return Kb(a.o,function(a){return g.EI(a.info.mimeType)})};
Zka=function(a){return g.Mb(a.o,function(a){return a.info.video?a.Pq():!0})};
cM=function(a,b){a.o[b.info.id]=b};
eM=function(a,b,c,d,e,f){var k=$ka(a);return d||e?ala(a,e,b,f):3==k&&dM?bla(a,b,c,f):dla(a,b,c,f)};
dla=function(a,b,c,d){c=void 0===c?0:c;var e=new aM("",d,!1);e.duration=c||0;(0,g.D)(a,function(a){var c=fM(a,b,e.duration),d=sK(a.init),f=sK(a.index),n=(0,window.parseInt)(a.clen,10),p=gM(a.url,a.sp,a.s);a=(0,window.parseInt)(a.lmt,10);p&&cM(e,new g.XL(p,c,d,f,n,a))});
return e};
bla=function(a,b,c,d){c=void 0===c?0:c;var e=new aM("",d,!1);e.duration=c||0;(0,g.D)(a,function(a){var c=fM(a,b,e.duration),d=gM(a.url,a.sp,a.s);if(g.BI(c)&&d)if(c.video&&3==c.video.streamType)cM(e,new TL(d,c,"sq/0",null,null));else{var f=sK(a.init);a=sK(a.index);cM(e,new TL(d,c,"",f,a))}});
return e};
ala=function(a,b,c,d){var e=new aM("",d,!0);(0,g.D)(a,function(a){var b=fM(a,c),f=gM(a.url,a.sp,a.s),m=(0,window.parseInt)(a.target_duration_sec,10);a=(0,window.parseInt)(a.max_dvr_duration_sec,10)||14400;var n=(0,window.parseInt)(f.get("min_sq"),10)||0,p=(0,window.parseInt)(f.get("max_sq"),10)||window.Infinity,r=!g.EI(b.mimeType);f&&cM(e,new NL(f,b,m,d&&d.o("html5_manifestless_interpolate")&&r,a,n,p))});
e.B=!b;e.Jk=!0;e.A=!0;e.isLive=!b;return e};
fM=function(a,b,c){c=void 0===c?0:c;var d=a.type,e=a.itag,f=ela(a),k=null,l=null;/(vp9|vp09|vp8|avc1|av01)/.test(d)&&(k=(a.size||"640x360").split("x"),k=new tI(+k[0],+k[1],+a.fps,+a.projection_type,+a.stereo_layout,void 0,!!a.isAccelerated,a.quality_label,a.eotf,a.primaries,!!a.isAcceleratedUiEnabled,+a.stream_type),d=fla(d,k));var m=null,n=null;DI(d)&&(m=new qI(+a.audio_sample_rate||void 0,gla[e]||0,+a.spatial_audio_type),a.name&&(n=new lI(a.name,a.audio_track_id,"1"==a.isDefault)));a.caption_display_name&&
a.caption_vss_id&&a.caption_language_code&&(l=new oka(a.caption_display_name,a.caption_vss_id,a.caption_language_code,a.caption_kind));e=(0,window.parseInt)(a.bitrate,10)/8;var p=(0,window.parseInt)(a.clen,10);c=c&&p?p/c:0;var r=null;b&&a.drm_families&&(r={},(0,g.D)(a.drm_families.split(","),function(a){r[a]=b[a]}));
return new yI(f,d,m,k,n,r,e,c,l)};
$ka=function(a){return(0,g.Pj)(a,function(a){return 3==+a.stream_type})?3:0};
ela=function(a){var b=a.itag,c=a.xtags;c&&(b=a.itag+";"+c);return b};
gM=function(a,b,c){b=void 0===b?"":b;c=void 0===c?"":c;var d=new g.jL(a);a.match(/https:\/\/web.archive.org\/web\/20181027110332\/https:\/\/yt.akamaized.net\//)||d.set("alr","yes");c&&d.set(b,iL(c));return d};
jM=function(a,b){var c=OL(b,"id");c=c.replace(":",";");"captions"==c&&(c=OL(b,"lang"));var d=OL(b,"mimeType"),e=OL(b,"codecs");d=e?d+'; codecs="'+e+'"':d;e=(0,window.parseInt)(OL(b,"bandwidth"),10)/8;var f=(0,window.parseInt)(PL(b,"BaseURL").getAttribute(hM(a,"contentLength")),10);f=a.duration&&f?f/a.duration:0;var k=null;if(/(vp9|vp09|vp8|avc1|av01)/.test(d)){k=(0,window.parseInt)(OL(b,"width"),10);var l=(0,window.parseInt)(OL(b,"height"),10),m=(0,window.parseInt)(OL(b,"frameRate"),10),n=hla(OL(b,
hM(a,"projectionType")));a:switch(OL(b,hM(a,"stereoLayout"))){case "layout_left_right":var p=1;break a;case "layout_top_bottom":p=2;break a;default:p=0}OL(b,"video_level");k=new tI(k,l,m,n,p,void 0,void 0,void 0,void 0,void 0,void 0)}m=l=null;if(DI(d))if(l=(0,window.parseInt)(OL(b,"audioSamplingRate"),10),m=(0,window.parseInt)(OL(b.getElementsByTagName("AudioChannelConfiguration")[0],"value"),10),n=ila(OL(b,hM(a,"spatialAudioType"))),l=new qI(l,m,n),m=OL(b,"lang")||"und",n=PL(b,"Role")){var r=OL(n,
"value")||"";Sb(iM,r)?(n=m+"."+iM[r],p="main"==r,m=OL(b,hM(a,"langName"))||m+" - "+r,m=new lI(m,n,p)):m=null}else m=null;p=null;if(n=PL(b,"ContentProtection"))if(g.LE())if((p=n.attributes.schemeIdUri)&&"http://youtube.com/drm/2012/10/10"==p.value)for(p={},n=n.firstChild;null!=n;n=n.nextSibling)"yt:SystemURL"==n.nodeName&&(p[n.attributes.type.value]=n.textContent.trim());else p=null;else if((p=n.attributes.schemeIdUri)&&"http://youtube.com/drm/2012/10/10"==p.textContent)for(p={},n=n.firstChild;null!=
n;n=n.nextSibling)"SystemURL"==n.localName&&"http://youtube.com/yt/2012/10/10"==n.namespaceURI&&(p[n.attributes.type.textContent]=n.textContent.trim());else p=null;return new yI(c,d,l,k,m,p,e,f)};
hla=function(a){switch(a){case "equirectangular":return 2;case "equirectangular_threed_top_bottom":return 3;case "mesh":return 4;case "rectangular":return 1;default:return 0}};
ila=function(a){switch(a){case "spatial_audio_type_ambisonics_5_1":return 1;case "spatial_audio_type_ambisonics_quad":return 2;case "spatial_audio_type_foa_with_non_diegetic":return 3;default:return 0}};
kM=function(a,b){b=void 0===b?"":b;a.F=1;a.K=g.tG();return g.tg(Xka(b||a.sourceUrl,{format:"RAW",method:"GET",withCredentials:a.ba}).then((0,g.B)(a.FL,a)),(0,g.B)(a.IL,a))};
lM=function(a,b){var c=new aM,d;for(d in a)c[d]=g.dc(a[d]);var e={},f=!1;g.Hb(a.o,function(a,c){if(a){var d=b(a,c);d?(e[c]=d,f=!0):e[c]=a}});
c.o=e;return f?c:null};
jla=function(a,b,c){var d=a.getAttribute("media"),e=null;c||(a=a.getAttribute("mediaRange"),null!=a&&(0<=(0,window.parseInt)(a.split("-")[1],10)?e=sK(a):d=d+"?range="+a));return new JJ(b.Aa,b.o,b.durationSecs,b.A,d,e,b.B)};
mM=function(a){return a.isLive&&g.tG()-a.K>=a.G};
nM=function(a){var b=a.G;(0,window.isFinite)(b)&&(mM(a)?a.fD():(b=Math.max(0,a.K+b-g.tG()),a.C||(a.C=new g.U(a.fD,b,a),g.M(a,a.C)),a.C.start(b)))};
kla=function(a){a=a.o;for(var b in a){var c=a[b].index;if(c.Pb())return c.Qb()+1}return 0};
oM=function(a){if(!(0,window.isNaN)(a.J))return a.J;var b=a.o,c;for(c in b){var d=b[c].index;if(d.Pb()){b=0;for(c=d.xf();c<=d.Qb();c++)b+=d.getDuration(c);b/=d.sk();b=.5*Math.round(b/.5);d.sk()>a.ca&&(a.J=b);return b}if(a.isLive&&(d=b[c],d.G))return d.G}return window.NaN};
pM=function(a,b){for(var c in a.o){var d=a.o[c].index;if(d.Pb()){var e=d.Wg(b),f=d.Qv(e);if(f)return f+b-d.Yd(e)}}return window.NaN};
lla=function(a,b){g.Hb(a.o,function(a){g.Hb(b,function(b,c){var d=a.C;d.B.set(c,b);d.D.set(c,b);d.A&&d.A.set(c,b)})})};
mla=function(a,b,c){var d=!1,e;for(e in a.o){var f=g.EI(a.o[e].info.mimeType)||!!a.o[e].info.video;c==f&&(f=a.o[e].index,KL(f,b.Aa)||(f.dD(b),d=!0))}return d};
qM=function(a,b,c){for(var d in a.o){var e=g.EI(a.o[d].info.mimeType)||!!a.o[d].info.video;if(c==e){e=a.o[d].index;var f=JL(e,b);0<=f&&e.segments.splice(f,1)}}};
hM=function(a,b){return a.O?"yt:"+b:a.aa+":"+b};
fla=function(a,b){null===rM&&(rM=window.MediaSource&&window.MediaSource.isTypeSupported&&window.MediaSource.isTypeSupported('video/webm; codecs="vp09.02.51.10.01.09.16.09"')&&!window.MediaSource.isTypeSupported('video/webm; codecs="vp09.02.51.10.01.09.99.99"'));if(!rM&&!sM||'video/webm; codecs="vp9"'!=a&&'video/webm; codecs="vp9.2"'!=a)return a;var c="00",d="08",e="01",f="01",k="01";'video/webm; codecs="vp9.2"'==a&&(c="02",d="10","bt2020"==b.primaries&&(k=e="09"),"smpte2084"==b.A&&(f="16"),"arib-std-b67"==
b.A&&(f="18"));return'video/webm; codecs="'+["vp09",c,"51",d,"01",e,f,k].join(".")+'"'};
nla=function(a){return g.Ia(Object.values(a.o),function(a){return a.info.zd&&a.info.video?480<a.info.video.o&&"H"==a.info.A:!1})};
ola=function(){this.C=2048;this.o=17;this.B=13E4;this.G=.5;this.A=!1;this.D=0;this.F=!1};
pla=function(){this.A=0;this.F=this.bandwidthEstimate=this.D=this.B=this.C=window.NaN;this.o=""};
tM=function(a){this.D=Math.exp(Math.log(.5)/a);this.B=this.C=0};
vM=function(a,b,c,d){c=void 0===c?.5:c;d=void 0===d?0:d;this.L=b;this.B=Math.round(a*this.L);this.D=Array(this.B);for(a=0;a<this.B;a++)this.D[a]=window.Infinity;this.K=uM(this);this.C=0;this.F=!1;this.H=!0;this.G=c;this.J=d};
uM=function(a){for(var b=Array(a.B),c=0;c<a.B;c++)b[c]=c;return b};
wM=function(a,b){if(!a.F&&0==a.C)return 0;a.H&&(g.db(a.K,function(b,d){return a.D[b]-a.D[d]}),a.H=!1);
return a.D[a.K[Math.round(b*((a.F?a.B:a.C)-1))]]||0};
qla=function(a){this.policy=a;this.J=this.K=0;this.D=-1;this.H=this.B=g.tG();this.G=new vM(4,1,.6,.4);this.C=new vM(10,1,.5,.4);this.o=a.A?new tM(a.o):new vM(a.o,20,.5,.4);this.F=new vM(5,1,.25);this.A=new vM(30,1,.5);a=g.sH("yt-player-bandwidth")||{};this.o.o(this.policy.G,0<a.byterate?a.byterate:this.policy.B);0<a.delay&&this.G.o(1,Math.min(+a.delay,2));0<a.stall&&this.C.o(1,+a.stall);0<a.init&&(this.H=Math.min(a.init,this.H));this.D=g.tG()};
yM=function(a,b,c){b=Math.max(b,a.policy.C);a.C.o(1,c/b);xM(a)};
zM=function(a){a=a.G.A();a=(0,window.isNaN)(a)?.5:a;return a=Math.min(a,5)};
AM=function(a,b,c){(0,window.isNaN)(c)||(a.J+=c);(0,window.isNaN)(b)||(a.K+=b)};
BM=function(a){a=a.o.A();return 0<a?a:1};
g.CM=function(a){var b=BM(a);b=1/((a.C.A()||0)+1/b);a=a.F.A();return Math.max(b,0<a?a:1)};
DM=function(a){var b={};b.delay=zM(a);b.stall=a.C.A()||0;b.byterate=BM(a);b.init=a.H;return b};
xM=function(a){-1<a.D&&3E4<g.tG()-a.D&&(xH(DM(a)),a.D=g.tG())};
EM=function(a){return 4E3<=g.tG()-a.B};
FM=function(){g.VF.call(this);this.Ra={}};
GM=function(a,b){return void 0==b?a:"1"==b?!0:!1};
HM=function(a,b,c){for(var d in c)if(c[d]==b)return c[d];return a};
IM=function(a,b){return void 0==b?a:Number(b)};
JM=function(a,b){return void 0==b?a:b.toString()};
KM=function(a,b){if(b){if("fullwidth"==a)return window.Infinity;if("fullheight"==a)return 0}if(a){var c=a.match(rla);if(c){var d=(0,window.parseFloat)(c[2]);if(0<d)return(0,window.parseFloat)(c[1])/d}}return window.NaN};
LM=function(a){return a.docid||a.video_id||a.videoId||a.id};
NM=function(){this.o=g.fE("ALT_PREF_COOKIE_NAME","PREF");var a=LG.get(""+this.o,void 0);if(a){a=(0,window.decodeURIComponent)(a).split("&");for(var b=0;b<a.length;b++){var c=a[b].split("="),d=c[0];(c=c[1])&&(MM[d]=c.toString())}}};
OM=function(a){if(/^f([1-9][0-9]*)$/.test(a))throw Error("ExpectedRegexMatch: "+a);};
PM=function(a){if(!/^\w+$/.test(a))throw Error("ExpectedRegexMismatch: "+a);};
iN=function(a){g.L.call(this);a=g.cc(a);this.Tj=!1;this.Va=this.pa="";this.Wc={};this.Gi=JM("",a.csp_nonce);this.experiments=new GI(a.fexp,a.fflags);this.forcedExperiments=a.forced_experiments||null;try{var b=window.document.location.toString()}catch(e){b=""}this.zb=b;this.wc=(b=window.location.ancestorOrigins)?Array.from(b):[];this.loaderUrl=(this.o=GM(!1,a.is_embed))?JM("",a.loaderUrl):this.zb;this.Lb=sla.test(this.loaderUrl);b=this.loaderUrl;var c=void 0===c?!1:c;this.Uj=DH(tla.test(b),b,c,"Trusted Ad Domain URL");
this.xa=GM(!1,a.privembed);this.protocol=0==this.zb.indexOf("http:")?"http":"https";this.baseYtUrl=EH(a.BASE_YT_URL||"")||EH(this.zb)||this.protocol+"://www.youtube.com/";c=a.el;b="detailpage";"adunit"==c?b=this.o?"embedded":"detailpage":"embedded"==c||this.Lb?b=HM(b,c,ula):c&&(b="embedded");this.O=b;GG();c=null;b=a.ps;var d=g.Ma(QM,b);!b||d&&!this.Lb||(c=b);this.playerStyle=c;this.G=(this.jc=g.Ma(QM,this.playerStyle))&&"play"!=this.playerStyle&&"jamboard"!=this.playerStyle;this.Sj=!this.G;c={};this.A=
(c.c=a.c||"web",c.cver=a.cver||"html5",c.cplayer="UNIPLAYER",c);this.H=GM(!1,a.disableplaybackui);this.sa=!this.H&&!(!HI().defaultPlaybackRate||g.qf&&!IE("chrome")||RM||SM||IE("android")||IE("silk"));this.B=GM("blazer"==this.playerStyle,a.is_html5_mobile_device);this.B?c=!0:(c=(0,window.parseInt)((0,g.H)()/1E3,10),b=NM.getInstance(),c=this.experiments.o("block_desktop_background_playback_with_mobile_cookie")&&b&&c>(0,window.parseInt)(b.get("dhmu",c.toString()),10));this.Rj=c;this.aa="3"==this.C||
this.B||GM(!1,a.use_media_volume);this.K=NI();this.xo=g.TM;this.isDni=GM(!1,a.is_dni);this.wa=GM(!1,a.forcenewui);this.yc=GM(!1,a.opt_out_deprecation);this.D=(this.wa||this.experiments.o("embed_new_info_bar"))&&UM(this)&&!this.yc;this.xh=(this.wa||this.experiments.o("embed_api_deprecation"))&&UM(this)&&!this.isDni&&!this.yc||GM(!VM(this)&&!WM(this)&&!this.jc,a.showinfo);this.Gg=GM(!1,a.playsinline);c=this.B&&XM&&0<kJ&&2.3>=kJ;b=this.B;b=YM(this)||!c&&GM(b,a.use_native_controls)?"3":"1";this.C="0"!=
a.controls?b:"0";this.useTabletControls=this.B;this.color=HM("red",a.color,vla);this.uo="3"==this.C||GM(!1,a.modestbranding)&&"red"==this.color;this.ha=!this.o;this.yh=(b=!this.ha&&!WM(this)&&!this.G&&!this.jc&&!VM(this))&&!this.uo&&"1"==this.C;this.sd=g.ZM(this)&&b&&"0"==this.C&&!this.yh;this.Rp=this.vo=c;this.wd=!SM||g.qc(601)?!0:!1;this.Oe=this.o||!1;this.Ba=WM(this)?"":(this.loaderUrl||a.post_message_origin||"").substring(0,128);this.widgetReferrer=JM("",a.widget_referrer);this.Hb=(!this.Lb||
GM(!0,a.enablecastapi))&&"1"==this.C&&!this.B&&(WM(this)||g.ZM(this)||g.aN(this));this.td=!this.B&&!RE()&&!IE("nintendo 3ds")||this.experiments.o("web_player_kaios_autoplay")&&bN||GM(!1,a.autoplayoverride);this.ud=GM(!1,a.mutedautoplay)&&!1;c=(WM(this)||VM(this))&&"blazer"==this.playerStyle;this.Sb=!GM(!0,a.fs);this.oa=!this.Sb&&(c||tF());this.Fi=this.experiments.o("uniplayer_block_pip")&&KE()&&g.io(58)&&!(g.ro&&IE("version/"));this.Ha=(this.wa||this.experiments.o("embed_api_deprecation"))&&UM(this)&&
!this.isDni&&!this.yc||GM(!this.jc,a.rel);this.qp=GM(!1,a.co_rel);this.La=g.aN(this);this.rd="blazer"==this.playerStyle;switch(this.playerStyle){case "blogger":c="bl";break;case "gmail":c="gm";break;case "books":c="gb";break;case "docs":c="gd";break;case "google-live":c="gl";break;case "play":c="gp";break;case "chat":c="hc";break;case "hangouts-meet":c="hm";break;case "photos-edu":case "picasaweb":c="pw";break;default:c="yt"}this.ca=c;this.jd=JM("",a.authuser);this.yp=(this.o&&!this.xa||!!this.jd)&&
GM(!this.G,this.Lb?a.showwatchlater:void 0);this.Pd=GM(!1,a.disablekb);this.xe=JM("",a.ecver);this.loop=GM(!1,a.loop);this.pageId=JM("",a.pageid);this.Ko=GM(!0,a.canplaylive);this.Hi=GM(this.jc,a.ss);(c=a.video_container_override)?(b=c.split("x"),2!=b.length?c=null:(c=(0,window.parseInt)(b[0],10),b=(0,window.parseInt)(b[1],10),c=(0,window.isNaN)(c)||(0,window.isNaN)(b)||0>=c*b?null:new g.sd(c,b))):c=null;this.zh=c;this.mute=GM(!1,a.mute);this.useMiniplayerUi=GM(!1,a.use_miniplayer_ui);this.storeUserVolume=
!this.mute&&GM("0"!=this.C,a.store_user_volume);this.Bh="3"==this.C?3:HM(void 0,a.iv_load_policy,cN);this.Dh=JM("",a.cc_lang_pref);c=HM(2,a.cc_load_policy,cN);"3"==this.C&&2==c&&(c=3);this.Eh=c;this.ia=JM("en_US",a.hl);this.region=JM("US",a.cr);this.hostLanguage=JM("en",a.host_language);this.Ei=!this.xa&&Math.random()<this.experiments.A("web_player_api_logging_fraction");this.W=!this.xa&&!this.experiments.o("web_player_interaction_logging_killswitch");this.Kb=new window.Set;this.deviceHasDisplay=
GM(!0,a.deviceHasDisplay);this.fh=IM(this.fh,a.ismb);c=a;this.experiments.B("html5_qoe_intercept")?c=this.experiments.B("html5_qoe_intercept"):this.Sj?(c=c.vss_host||"s.youtube.com",this.experiments.o("www_for_videostats")&&"s.youtube.com"==c&&(c=dN(this.baseYtUrl)||"www.youtube.com")):c="video.google.com";this.Ah=c;this.uh(a);this.Wc=a;this.F=new FM;g.M(this,this.F);this.J=this.B&&!this.experiments.o("enable_svg_mode_on_embed_mobile");this.qc={innertubeApiKey:JM("",a.innertube_api_key),innertubeApiVersion:JM("",
a.innertube_api_version),Qu:this.A.c,innertubeContextClientVersion:JM("",a.innertube_context_client_version),Su:this.hostLanguage,Ru:this.region,Zp:""};this.Hg=void 0!=window.WebKitPlaybackTargetAvailabilityEvent;c=this.experiments;b=this.experiments.o("html5_force_hfr_support")?!0:eN(this)||NE()||OE()||fN(this);if(d=g.JI)d=/Chrome\/(\d+)/.exec(g.Fb),d=56<=(d?(0,window.parseFloat)(d[1]):window.NaN);this.N=new uka(c,b,d||fN(this));c=new ola;g.gN(this)&&(c.A=!0,c.G=.1);this.experiments.o("html5_ewma_bandwidth_estimator")&&
(c.A=!0);this.experiments.o("html5_pctile_bandwidth_estimator")&&(c.A=!1);this.fh&&(c.B=this.fh/8);c.o=this.experiments.A("html5_bandwidth_window_size")||c.o;c.F=this.experiments.o("html5_dont_predict_end_time_in_past");this.schedule=new qla(c);this.enableSafetyMode=GM(!1,a.enable_safety_mode);this.Od=GM(this.H?!1:WM(this)&&"blazer"!=this.playerStyle,a.autonav);this.Da=GM(!1,a.send_visitor_id_header)||this.experiments.C;this.Ch=!1;this.qd=FJ;this.Fg=g.tG();this.ba=0;this.Ve=!1;this.transparentBackground=
GM(!1,a.transparent_background);this.disableNativeContextMenu=GM(!1,"docs"==this.playerStyle?a.disable_native_context_menu:void 0);this.Ii=eN(this)&&this.experiments.o("enable_skip_intro_button");this.we=JM("",a.embed_config);this.useFastSizingOnWatchDefault=GM(!0,a.use_fast_sizing_on_watch_default);this.Pe=!1;this.ga=GM(!1,a.external_fullscreen);this.fullWindow=GM(!1,a.full_window);this.showMiniplayerButton=GM(!1,a.show_miniplayer_button);this.ka=!g.hN(this)};
jN=function(a,b){return!a.jc&&KE()&&g.io(55)&&!b};
kN=function(a){a=dN(a.baseYtUrl);return"www.youtube-nocookie.com"==a?"www.youtube.com":a};
lN=function(a){return"gaming"==a.playerStyle?"gaming.youtube.com":kN(a)};
mN=function(a,b,c){return a.protocol+"://i1.ytimg.com/vi/"+b+"/"+(c||"hqdefault.jpg")};
wla=function(){return IG()};
nN=function(){return!0};
oN=function(a){return WM(a)&&"gaming"!=a.playerStyle&&!g.hN(a)};
YM=function(a){return SM&&!a.Gg||RE()||IE("nintendo 3ds")?!0:!1};
g.gN=function(a){if(!a.experiments.o("html5_tv_interface_check_killswitch")&&/^TVHTML5/.test(a.A.c))return!0;var b=g.JI&&IE("crkey")&&a.experiments.o("html5_tv_chromecast_check_killswitch");a=a.A.cplatform;return b||"TV"==a};
fN=function(a){return"CHROMECAST ULTRA/STEAK"==a.A.cmodel||"CHROMECAST/STEAK"==a.A.cmodel};
g.pN=function(){return 1<window.devicePixelRatio?window.devicePixelRatio:1};
eN=function(a){return"web"==a.A.c.toLowerCase().substr(0,3)};
g.hN=function(a){return"WEB_UNPLUGGED"==a.A.c};
g.qN=function(a){return g.hN(a)||"TV_UNPLUGGED_CAST"==a.A.c||"TVHTML5_UNPLUGGED"==a.A.c};
g.tN=function(a){return(a.deviceHasDisplay&&g.JI&&!jJ&&"3"!==a.C?g.ro?a.o&&g.qc(51):!0:!1)||(a.deviceHasDisplay&&g.rN&&!jJ&&"3"!==a.C?g.ro?a.o&&g.qc(48):g.qc(38):!1)||(a.deviceHasDisplay&&g.qf&&!jJ&&"3"!==a.C?g.ro?a.o&&g.qc(37):g.qc(27):!1)||a.deviceHasDisplay&&g.RH&&!SE()&&g.qc(11)||a.deviceHasDisplay&&g.sN&&g.qc("604.4")};
uN=function(a){if(g.ZM(a)&&XM)return!1;if(g.rN){if(!g.qc(47)||!g.qc(52)&&g.qc(51))return!1}else if(g.sN)return!1;return window.AudioContext||window.webkitAudioContext?!0:!1};
WM=function(a){return"detailpage"==a.O};
g.ZM=function(a){return"embedded"==a.O};
g.vN=function(a){return"leanback"==a.O};
VM=function(a){return"adunit"==a.O||"gvn"==a.playerStyle};
g.aN=function(a){return"profilepage"==a.O};
UM=function(a){return a.o&&g.ZM(a)&&!VM(a)&&!a.jc};
xla=function(a){if(!a.L)return"";if(a.experiments.o("web_player_fife_url_killswitch"))return a.L;var b=a.L.split("/");return 8==b.length?(b.splice(7,0,"s20-c"),b.join("/")):9==b.length?(b[7]+="-s20-c",b.join("/")):a.L};
dN=function(a){var b=g.Pg(a);return(a=g.Qg(a))?b+":"+a:b};
yla=function(){this.H=this.K=this.A=this.C=this.B=this.aacHigh=this.F=this.D=!1;this.G=!0;this.o=0;this.J=!1};
zla=function(a){if(a.F)return["f"];var b="19 9h 9 h 8 (h ( H *".split(" ");a.J&&b.unshift("1");a.A&&b.unshift("h");return b};
Ala=function(a){var b=["o","a","v","A","V"];a.B&&(b=["m","M"].concat(b));a.C&&(b=["meac3","MEAC3","mac3","MAC3"].concat(b));a.D&&(b=["so","sa"].concat(b));a.K&&b.unshift("a");a.aacHigh&&b.unshift("ah");return b};
wN=function(a,b,c,d){this.flavor=a;this.o=b;this.C=c;this.B={};this.A=null;this.fairPlayCert="";this.np=this.pp=-1;this.fo=null;this.D=!!d&&d.o("edge_nonprefixed_eme")};
yN=function(a){return a.D?!1:!a.A&&!!xN()&&"com.microsoft.playready"==a.o};
zN=function(a){return"com.microsoft.playready"==a.o};
BN=function(a){return AN&&"com.microsoft.playready"==a.o&&!!window.navigator.requestMediaKeySystemAccess};
CN=function(a){return!a.A&&!!xN()&&"com.apple.fps.1_0"==a.o};
xN=function(){var a=window.MSMediaKeys;QE()&&!a&&(a=window.WebKitMediaKeys);return a&&a.isTypeSupported?a:null};
DN=function(a){return window.navigator.requestMediaKeySystemAccess?g.JI?g.io("45"):AN||g.Hd?a.o("edge_nonprefixed_eme"):g.rN?g.io("47"):!a.o("html5_disable_nonprefixed_eme_for_other"):!1};
EN=function(a,b,c){this.videoInfos=a;this.o=b||null;this.audioTracks=[];this.A=c||null;if(this.o){var d={};(0,g.D)(this.o,(0,g.B)(function(a){if(a.Mb&&!d[a.id]){var b=new pI(a.id,a.Mb);d[a.id]=b;this.audioTracks.push(b)}},this))}};
FN=function(a,b,c){var d={},e;for(e in c.o){var f=c.o[e],k=g.xI(f.info);("304"==k||"266"==k)&&a.G||a.H&&"h"==f.info.A&&f.info.video&&1080<f.info.video.o||!yka(b,f.info)||(d[f.info.A]=d[f.info.A]||[],d[f.info.A].push(f.info))}return d};
Bla=function(a,b,c){var d={};g.Hb(b,function(b,f){var e=b.filter(function(b){if(b.zd){var d;if(d=c&&b.zd[c.flavor]&&c.B[b.mimeType])(b="("!=b.A&&"(h"!=b.A)||(b=mJ(a,sJ)||a.F),d=b;b=d?!0:!1}else b=!0;return b});
e.length&&(d[f]=e)});
return d};
IN=function(a,b,c,d){function e(a){return!!f[a]}
var f=FN(a,b,c);if(0<a.o&&f["9"]&&f["1"]){var k=f["1"].filter(function(b){return b.video.o<=a.o});
k=f["9"].filter(function(b){return b.video.o>a.o}).concat(k);
k.length&&(f["19"]=k)}bM(c)&&(f=Bla(b,f,d));d=zla(a);k=Ala(a);d=g.Ia(d,e);k=g.Ia(k,e);if(!d||!k)return aF();if("9"==d&&f.h){var l=function(a,b){return Math.max(a,b.video.height)},m=(0,g.Yj)(f["9"],l,0);
(0,g.Yj)(f.h,l,0)>1.5*m&&(d="h");c.Jk&&b.o.o("html5_vp9_live_blacklist_edge")&&AN&&(d="h")}c=f[d];l=f[k];c=GN(b,c);if(!c.length)return aF();HN(c,l);return bF(new EN(c,l,Cla(b,f,d,k)))};
Cla=function(a,b,c,d){var e=b.h;"f"==c&&(e=b[c]);var f=b.a;c=b[c]!=e;b=b[d]!=f;return e&&f&&(c||b)?(e=GN(a,e),HN(e,f),new EN(e,f)):null};
HN=function(a,b){g.db(a,function(a,b){return b.video.height*b.video.width-a.video.height*a.video.width||b.o-a.o});
g.db(b,function(a,b){return b.o-a.o})};
GN=function(a,b){var c=(0,g.Pj)(b,function(a){return 32<a.video.fps});
c&&(b=a.D||mJ(a,qJ)?(0,g.Vd)(b,function(a){var b;(b=32<a.video.fps)||(a=a.video,b=!(854<a.width||480<a.height));return b}):(0,g.Vd)(b,function(a){return!(32<a.video.fps)}));
c&&NE()&&(b=(0,g.Vd)(b,function(a){return"299"!=g.xI(a)}));
return b};
JN=function(a,b,c){g.L.call(this);this.A=[];this.o={};this.B={};this.C=null;this.D=b;this.J=c;this.F=!1;Dla(this,a)};
Dla=function(a,b){for(var c in b)for(var d=g.q(b[c]),e=d.next();!e.done;e=d.next()){e=e.value;if(!e.zd)return;for(var f in e.zd){if(!KN[f])return;for(var k=g.q(KN[f]),l=k.next();!l.done;l=k.next())l=l.value,a.o[l]=a.o[l]||new wN(f,l,e.zd[f],a.D),a.B[f]=a.B[f]||{},a.B[f][e.mimeType]=!0}}ME()?(a.A=["com.youtube.fairplay"],a.o["com.youtube.fairplay"]=new wN("fairplay","com.youtube.fairplay","",a.D),a.B.fairplay={'audio/mp4; codecs="avc1.4d4015"':!0,'video/mp4; codecs="mp4a.40.2"':!0}):a.A=Ela.filter(function(b){return a.o[b]?
!(a.J&&"widevine"==a.o[b].flavor):!1})};
LN=function(a){if(!a.la())if(0==a.A.length)a.C(null);else{var b=a.A[0],c=a.o[b],d={initDataTypes:["cenc","webm"],audioCapabilities:[],videoCapabilities:[]};zN(c)&&(d.initDataTypes=["keyids","cenc"]);for(var e in a.B[c.flavor]){var f=0==e.indexOf("audio/"),k=f?d.audioCapabilities:d.videoCapabilities;"widevine"!=c.flavor||a.F?k.push({contentType:e}):f?k.push({contentType:e,robustness:"SW_SECURE_CRYPTO"}):(k.push({contentType:e,robustness:"HW_SECURE_ALL"}),k.push({contentType:e,robustness:"SW_SECURE_DECODE"}))}window.navigator.requestMediaKeySystemAccess(b,
[d]).then(hE((0,g.B)(a.H,a,c)),hE((0,g.B)(a.G,a)))}};
Fla=function(a,b){function c(a){b.B[a.contentType]=!0}
if(zN(b)){var d=HI(),e;for(e in a.B[b.flavor])b.B[e]=!!d.canPlayType(e)}else b.A&&(d=b.A.getConfiguration(),d.audioCapabilities&&d.audioCapabilities.forEach(c),d.videoCapabilities&&d.videoCapabilities.forEach(c))};
Hla=function(a){if(xN()&&g.sN)a.C(new wN("fairplay","com.apple.fps.1_0","",a.D));else{var b=Gla(),c=g.Ia(a.A,function(c){var d=a.o[c],f=!1,k=!1,l;for(l in a.B[d.flavor])b(l,c)&&(d.B[l]=!0,f=f||0==l.indexOf("audio/"),k=k||0==l.indexOf("video/"));return f&&k});
c=c?a.o[c]:null;a.A=[];a.C(c)}};
Gla=function(){var a=xN();if(a&&a.isTypeSupported){var b=a.isTypeSupported;return function(a,d){return b(d,a)}}return(a=HI())&&(a.addKey||a.webkitAddKey)?(0,g.B)(a.canPlayType,a):function(){return!1}};
MN=function(a,b,c){this.errorCode=a;this.o=b;this.details=c||{}};
NN=function(a){var b;for(b in a){var c=(""+a[b]).replace(/[:,]/g,"_");var d=(d?d+";":"")+b+"."+c}return d||""};
Ila=function(a,b,c,d,e,f,k,l,m,n){this.itag=a;this.url=b;this.o=c;this.width=d;this.height=e;this.bitrate=k;this.fps=f;this.audioItag=l||null;this.A=m||"";this.Mb=void 0===n?null:n};
ON=function(a){for(var b={},c=0,d=a.length;c<d;++c){var e=a[c],f=e.type.match(/codecs="([^"]*)"/);f=f?f[1]:"";var k=null;e.audio_track_id&&(k=new lI(e.name,e.audio_track_id,!!e.is_default));e=new Ila(e.itag,e.url,f,+e.width,+e.height,+e.fps,+e.bitrate,e.audio_itag,e.drm_families,k);b[e.itag]=b[e.itag]||[];b[e.itag].push(e)}return b};
Jla=function(a,b,c,d){this.B=a;this.o=b;this.D=0;this.A="";this.C=c;this.F=d};
QN=function(a,b,c,d){b.push("#EXT-X-STREAM-INF:BANDWIDTH="+(c.bitrate+d.bitrate)+","+('CODECS="'+c.o+","+d.o+'",')+("RESOLUTION="+c.width+"x"+c.height+",")+('AUDIO="'+d.itag.toString()+'",')+"CLOSED-CAPTIONS=NONE");b.push(PN(a,c.url))};
PN=function(a,b){return a.C?g.Zg(b,{cpn:a.C}):b};
Kla=function(a,b){var c="#EXT-X-MEDIA:TYPE=AUDIO,",d="YES",e="audio";if(b.Mb){e=b.Mb;var f=e.getId().split(".")[0];f&&(c+='LANGUAGE="'+f+'",');a.A||e.isDefault||(d="NO");e=e.name}f=PN(a,b.url);return c=c+('NAME="'+e+'",'+("DEFAULT="+d+",AUTOSELECT=YES,"))+('GROUP-ID="'+b.itag.toString()+'",'+('URI="'+f+'"'))};
Lla=function(a){for(var b=[],c=[],d=0,e=a.o.length;d<e;++d){var f=a.o[d];f.bitrate<=a.D?b.push(f):c.push(f)}b.sort(function(a,b){return b.bitrate-a.bitrate});
c.sort(function(a,b){return a.bitrate-b.bitrate});
a.o=b.concat(c)};
RN=function(a,b){this.Qg=a;this.B=b;this.A=null};
Mla=function(a,b,c,d,e){if(!(jJ||QE()||ME()))return aF();c=ON(c);if(!c)return aF();var f={},k=(f.fairplay="https://web.archive.org/web/20181027110332/https://youtube.com/api/drm/fps?ek=uninitialized",f),l;f=[];var m=[],n=[],p=a.experiments.A("html5_hls_min_video_height"),r=a.experiments.o("html5_hls_pair_all_audio"),v;for(v in c)if(!a.experiments.o("html5_disable_drm_hfr_1080")||"383"!=v&&"373"!=v){var z=g.q(c[v]);for(l=z.next();!l.done;l=z.next()){var E=l.value;if(E.width){if(!(E.height<p)){var J=c[E.audioItag];if(J&&(f.push(E),l="fairplay"==
E.A?k:null,n.push(SN(J,[E],e,E.itag,E.width,E.height,E.fps,r,void 0,void 0,l)),!N||E.width*E.height*E.fps>N.width*N.height*N.fps))var N=E}}else m.push(E)}}l=n.reduce(function(a,b){return!!b.Qg.zd&&a},!0)?k:null;
d=Math.max(d,a.experiments.A("html5_hls_initial_bitrate"));!a.experiments.o("html5_hls_optimal_resolution_killswitch")&&N?n.push(SN(m,f,e,"93",N.width,N.height,N.fps,r,"auto",d,l)):n.push(SN(m,f,e,"93",0,0,0,r,"auto",d,l));return AJ(n,jN(a,b))};
SN=function(a,b,c,d,e,f,k,l,m,n,p){d=new yI(d,"application/x-mpegURL",new qI,new tI(e,f,k,null,void 0,m),void 0,p);a=new Jla(a,b,c,l);a.D=n?n:1369843;return new RN(d,a)};
TN=function(a,b){this.Qg=a;this.A=b};
UN=function(a,b,c,d){var e=[];c=g.q(c);for(var f=c.next();!f.done;f=c.next()){var k=f.value;if(k.url){f=new g.jL(k.url);k.s&&f.set(k.sp,iL(k.s));for(var l in d)f.set(l,d[l]);k=FI(k.type,k.quality,k.itag,k.width,k.height,!!k.isAccelerated,!!k.isAcceleratedUiEnabled);e.push(new TN(k,f))}}return AJ(e,jN(a,b))};
VN=function(a,b){this.Qg=a;this.A=b};
Nla=function(a){var b=[];(0,g.D)(a,function(a){if(a.url){var c=FI(a.type,"medium","0");b.push(new VN(c,a.url))}});
return b};
WN=function(a){if(a){var b=[],c;for(c in a)Ola.has(c)||b.push(c);b.length&&(b.sort(),g.gE(Error("Unknown house brand player vars: "+b.join(",")),"WARNING"))}};
g.XN=function(a,b,c,d){this.ad=new window.Set;this.J=a;this.K=b;a=c.split("#");this.F=(0,window.parseInt)(a[0],10);this.D=(0,window.parseInt)(a[1],10);this.B=(0,window.parseInt)(a[2],10);this.columns=(0,window.parseInt)(a[3],10);this.rows=(0,window.parseInt)(a[4],10);this.o=(0,window.parseInt)(a[5],10);this.C=a[6];this.G=a[7];this.L=d};
g.YN=function(a,b){b>=a.cw()&&a.Gn();var c=Math.floor(b/(a.columns*a.rows)),d=a.columns*a.rows,e=b%d,f=e%a.columns;e=Math.floor(e/a.columns);var k=a.Gn()+1-d*c;if(k<a.columns){var l=k;d=1}else l=a.columns,d=k<d?Math.ceil(k/a.columns):a.rows;return{url:a.Xa(c),column:f,columns:l,row:e,rows:d,rw:a.F*l,qw:a.D*d}};
ZN=function(a){g.VF.call(this);this.C=new g.PD;this.A=null;this.H=new window.Set;this.G=a||""};
aO=function(a,b,c){for(c=$N(a,c);0<=c;){var d=a.o[c];if(d.Pb(Math.floor(b/(d.columns*d.rows)))&&(d=g.YN(d,b)))return d;c--}return g.YN(a.o[0],b)};
cO=function(a,b,c){c=$N(a,c);for(var d,e;0<=c;c--)if(d=a.o[c],e=Math.floor(b/(d.columns*d.rows)),!d.Pb(e)){d=a;var f=c,k=f+"-"+e;d.H.has(k)||(d.H.add(k),g.OD(d.C,f,{eC:f,ND:e}))}bO(a)};
bO=function(a){if(!a.A&&!a.C.isEmpty()){var b=a.C.remove(),c=new window.Image;a.G&&(c.crossOrigin=a.G);c.src=a.o[b.eC].Xa(b.ND);c.onload=(0,g.B)(a.J,a,b.eC,b.ND);a.A=c}};
dO=function(a,b,c,d){d=void 0===d?!1:d;ZN.call(this,c);this.isLive=d;this.o=this.B(a,b);this.D=new window.Map;1<this.o.length&&this.o[0].isDefault()&&this.o.splice(0,1)};
eO=function(a,b,c){return(a=a.o[b])?a.Gq(c):-1};
$N=function(a,b){var c=a.D.get(b);if(c)return c;c=a.o.length;for(var d=0;d<c;d++)if(a.o[d].ub()>=b)return a.D.set(b,d),d;a.D.set(b,c-1);return c-1};
fO=function(a,b,c,d){c=c.split("#");c=[c[1],c[2],0,c[3],c[4],-1,c[0],""].join("#");g.XN.call(this,a,b,c,0);this.A=null;this.H=d?3:0};
gO=function(a,b,c){dO.call(this,a,0,void 0,b);for(a=0;a<this.o.length;a++)this.o[a].nG(c)};
Pla=function(a){var b=window.navigator.mediaCapabilities;if(!b)return bF(a);var c=(0,g.I)(a.videoInfos,function(a){return b&&b.decodingInfo({type:"media-source",video:a.video?{contentType:a.mimeType,width:a.video.width||640,height:a.video.height||360,bitrate:8*a.o||1E6,framerate:a.video.fps||30}:null})});
return g.qg(c).then(function(b){for(var c=0;c<b.length;c++)a.videoInfos[c].B=b[c].smooth;return a},function(){return a})};
iO=function(a,b){var c={},d;for(d in hO){var e=b?b+d:d;e=a[e+"_webp"]||a[e];g.JH(e)&&(c[hO[d]]=e)}return c};
g.jO=function(a,b){this.version=a;this.args=b};
g.kO=function(a,b){this.topic=a;this.o=b};
g.mO=function(a,b){var c=lO();c&&c.publish.call(c,a.toString(),a,b)};
g.qO=function(a,b,c){var d=lO();if(!d)return 0;var e=d.subscribe(a.toString(),function(d,k){var f=g.y("ytPubsub2Pubsub2SkipSubKey");f&&f==e||(f=function(){if(nO[e])try{if(k&&a instanceof g.kO&&a!=d)try{var f=a.o,l=k;if(!l.args||!l.version)throw Error("yt.pubsub2.Data.deserialize(): serializedData is incomplete.");try{if(!f.Bi){var p=new f;f.Bi=p.version}var r=f.Bi}catch(v){}if(!r||l.version!=r)throw Error("yt.pubsub2.Data.deserialize(): serializedData version is incompatible.");try{k=window.Reflect.construct(f,
g.Va(l.args))}catch(v){throw v.message="yt.pubsub2.Data.deserialize(): "+v.message,v;}}catch(v){throw v.message="yt.pubsub2.pubsub2 cross-binary conversion error for "+a.toString()+": "+v.message,v;}b.call(c||window,k)}catch(v){g.gE(v)}},oO[a.toString()]?g.BG()?g.zG(f):g.mE(f,0):f())});
nO[e]=!0;pO[a.toString()]||(pO[a.toString()]=[]);pO[a.toString()].push(e);return e};
tO=function(a,b){var c=g.qO(rO,function(d){a.apply(b,arguments);g.sO(c)},b);
return c};
g.sO=function(a){var b=lO();b&&(g.ta(a)&&(a=[a]),(0,g.D)(a,function(a){b.unsubscribeByKey(a);delete nO[a]}))};
lO=function(){return g.y("ytPubsub2Pubsub2Instance")};
uO=function(){var a=g.fE("TIMING_TICK_EXPIRATION");a||(a={},g.eE("TIMING_TICK_EXPIRATION",a));return a};
Qla=function(){var a=uO(),b;for(b in a)g.CG(a[b]);g.eE("TIMING_TICK_EXPIRATION",{})};
vO=function(a,b){g.jO.call(this,1,arguments)};
wO=function(a,b){g.jO.call(this,1,arguments);this.o=a};
zO=function(a){xO(a);Rla();yO(!1,a);a||(g.fE("TIMING_ACTION")&&g.eE("PREVIOUS_ACTION",g.fE("TIMING_ACTION")),g.eE("TIMING_ACTION",""))};
GO=function(a,b,c,d){c=c?c:a;AO("c",c);zO(c);d&&(BO(c).useGel=d);g.eE(c+"TIMING_AFT_KEYS",b);g.eE(c+"TIMING_ACTION",a);CO("c",c);DO(c)&&(a={},a.actionType=Sla[g.fE((c||"")+"TIMING_ACTION",void 0)]||"LATENCY_ACTION_UNKNOWN",b=EO(c),$G(a,b));g.ua("ytglobal.timing"+(c||"")+"ready_",!0,void 0);FO(c)};
KO=function(a,b,c){if(!b&&"_"!=a[0]){var d=a;HO.mark&&(g.jb(d,"mark_")||(d="mark_"+d),c&&(d+=" ("+c+")"),HO.mark(d))}d=IO(c);var e=b||g.tG();d[a]&&(d["_"+a]=d["_"+a]||[d[a]],d["_"+a].push(e));d[a]=e;e=uO();var f=e[a];f&&(g.CG(f),e[a]=0);JO(c)["tick_"+a]=b;c||b||g.tG();DO(c)?(e=EO(c),"_start"==a?ZG("baseline_"+e)||g.KG("latencyActionBaselined",{clientActionNonce:e},b,void 0):ZG("tick_"+a+"_"+e)||g.KG("latencyActionTicked",{tickName:a,clientActionNonce:e},b,void 0),b=!0):b=!1;b||FO(c);return d[a]};
LO=function(a){var b="above_the_fold";HO&&HO.measure&&(g.jb(b,"measure_")||(b="measure_"+b),a?HO.measure(b,a):HO.measure(b))};
CO=function(a,b){MO("yt_sts",a,b);KO("_start",void 0,b)};
NO=function(a,b){var c=IO(b);return a in c};
OO=function(a){NO("_start","video_to_ad")&&KO(a,void 0,"video_to_ad")};
MO=function(a,b,c){BO(c).info[a]=b;JO(c)["info_"+a]=b;if(DO(c))if(a in PO){var d=PO[a];g.Ma(Tla,d)&&(b=!!b);a in QO&&(b=QO[a]+b.toUpperCase());if(DO(c)){a={};d=d.split(".");for(var e=a,f=0;f<d.length-1;f++)e[d[f]]=e[d[f]]||{},e=e[d[f]];e[d[d.length-1]]=b;c=EO(c);$G(a,c)}}else g.Ma(Ula,a)||g.gE(Error("Unknown label "+a+" logged with GEL CSI."))};
RO=function(a){var b=IO(a);if(b.aft)return b.aft;a=g.fE((a||"")+"TIMING_AFT_KEYS",["ol"]);for(var c=a.length,d=0;d<c;d++){var e=b[a[d]];if(e)return e}return window.NaN};
FO=function(a){if(!SO(a)){var b=g.fE((a||"")+"TIMING_ACTION",void 0),c=IO(a);if(g.y("ytglobal.timing"+(a||"")+"ready_")&&b&&c._start&&(b=RO(a)))if(TO||(g.mO(Vla,new vO(Math.round(b-c._start),a)),TO=!0),a)UO(a);else{b=!0;var d=g.fE("TIMING_WAIT",[]);if(d.length)for(var e=0,f=d.length;e<f;++e)if(!(d[e]in c)){b=!1;break}b&&UO(a)}}};
Wla=function(){switch(qF("visibilityState",window.document)){case "hidden":return 0;case "visible":return 1;case "prerender":return 2;case "unloaded":return 3}return-1};
AO=function(a,b){if(!SO(b)){var c=g.fE("CSI_SERVICE_NAME","youtube");g.fE((b||"")+"TIMING_ACTION",void 0)&&c&&(KO("aa",void 0,b),MO("ap",1,b),MO("yt_fss",a,b),UO(b))}};
EO=function(a){var b=BO(a).nonce;b||(b=gH(),BO(a).nonce=b);return b};
IO=function(a){return BO(a).tick};
JO=function(a){a=BO(a);"gel"in a||(a.gel={});return a.gel};
BO=function(a){return g.y("ytcsi."+(a||"")+"data_")||xO(a)};
xO=function(a){var b={tick:{},info:{}};g.ua("ytcsi."+(a||"")+"data_",b,void 0);return b};
SO=function(a){return!!g.y("yt.timing."+(a||"")+"pingSent_")};
yO=function(a,b){g.ua("yt.timing."+(b||"")+"pingSent_",a,void 0)};
Xla=function(a){var b=IO(a),c=b.pbr,d=b.vc;b=b.pbs;return c&&d&&b&&c<d&&d<b&&1==BO(a).info.yt_pvis};
DO=function(a){return!!g.jE("csi_on_gel")||!!BO(a).useGel};
UO=function(a){Qla();if(!DO(a)){var b=IO(a),c=BO(a).info,d=b._start;for(k in b)if(g.jb(k,"_")&&g.xa(b[k])){var e=k.slice(1);if(e in Yla){var f=(0,g.I)(b[k],function(a){return Math.round(a-d)});
c["all_"+e]=f.join()}delete b[k]}var k=!!c.ap;if(e=g.y("ytglobal.timingReportbuilder_")){if(b=e(b,c,a))VO(b,k),zO(a)}else{var l=g.fE("CSI_SERVICE_NAME","youtube");e={v:2,s:l,action:g.fE((a||"")+"TIMING_ACTION",void 0)};f=MO.srt;void 0!==b.srt&&delete c.srt;if(c.h5jse){var m=window.location.protocol+g.y("ytplayer.config.assets.js");(m=HO.getEntriesByName?HO.getEntriesByName(m)[0]:null)?c.h5jse=Math.round(c.h5jse-m.responseEnd):delete c.h5jse}b.aft=RO(a);Xla(a)&&"youtube"==l&&(MO("yt_lt","hot_bg",a),
l=b.vc,m=b.pbs,delete b.aft,c.aft=Math.round(m-l));for(var n in c)"_"!=n.charAt(0)&&(e[n]=c[n]);b.ps=g.tG();c={};n=[];for(var p in b)"_"!=p.charAt(0)&&(l=Math.round(b[p]-d),c[p]=l,n.push(p+"."+l));e.rt=n.join(",");(b=g.y("ytdebug.logTiming"))&&b(e,c);VO(e,k,a);g.mO(rO,new wO(c.aft+(f||0),a))}}};
VO=function(a,b,c){if(g.jE("debug_csi_data")){var d=g.y("yt.timing.csiData");d||(d=[],g.ua("yt.timing.csiData",d,void 0));d.push({page:window.location.href,time:new Date,args:a})}d="";for(var e in a)d+="&"+e+"="+a[e];a="/csi_204?"+d.substring(1);window.navigator&&window.navigator.sendBeacon&&b?VE(a):g.TE(a);yO(!0,c)};
g.WO=function(a){if(a.simpleText)return a.simpleText;if(a.runs){var b=[];a=g.q(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.YO=function(a,b){g.VF.call(this);this.Ib=a;this.adModule=!1;this.Vl=this.adaptiveFormats="";this.zd=null;this.drmParams="";this.allowEmbed=!0;this.Ki=this.backgroundable=!1;this.Uf="";this.Ho=this.Fo=this.Eo=!1;this.relativeLoudness=window.NaN;this.watchAjaxToken=this.zi=null;this.author="";this.Hh=0;this.nA=this.Qo=!1;this.clientScreenNonce=this.clientPlaybackNonce=this.videoCountText=this.channelBanner=this.channelPath=this.Ro="";this.contentCheckOk=!1;this.Zf=0;this.enableCardioBeforePlayback=
this.enableCardio=!1;this.endSeconds=0;this.fi=!1;this.fh=this.Fk=0;this.pipable=this.an=!1;this.iF=0;this.isLowLatencyLiveStream=this.isLiveDefaultBroadcast=this.isLiveDestination=this.fq=this.Ma=this.cn=this.isListed=this.Vu=this.Rn=!1;this.latencyClass="UNKNOWN";this.isMdxPlayback=this.isPremiere=!1;this.mdxControlMode=null;this.isPharma=!1;this.Ag=0;this.reloadReason="";this.av=this.VB=this.Xh=!1;this.hq=0;this.Sr=!1;this.liveChunkReadahead=window.NaN;this.liveStartWalltime=0;this.dv=null;this.gn=
this.lengthSeconds=0;this.playerParams=this.musicVideoType=null;this.paygated=!1;this.cd=[];this.profilePicture=void 0;this.racyCheckOk=!1;this.rootVeType=0;this.Pa=null;this.autonavState=1;this.Ve=!1;this.vx=this.eh=this.startSeconds=0;this.spacecastModule=!1;this.yo=null;this.Ur=this.Ws=this.hH=FJ;this.El=this.suggestions=null;this.hlsFormats=this.Kl=this.expandedSubtitle=this.expandedTitle=this.subtitle=this.title="";this.de=this.Jf=this.ae=this.Wn=this.Pp=null;this.ds="vvt";this.ypcTrailerPlayerVars=
this.ypcOfferButtonFormattedText=null;this.requiresPurchase=!1;this.Se={};this.clipStart=0;this.clipEnd=window.Infinity;this.rl=this.Mk=this.fk=!1;this.ZA="";this.pr=this.ax=this.YA=0;this.TB=!1;this.xi={};this.captionTracks=[];this.dm=[];this.Ys=0;this.captionTranslationLanguages=[];this.fm=!1;this.chapterMarkers=[];this.Si=new pI("und",new lI("Default","und",!0));this.bv=0;this.Al=this.FF=!1;this.ih=null;this.Li=[];this.Kj={};this.slotPosition=-1;this.breakType=0;this.UF=new g.U(this.VF,5E3,this);
g.M(this,this.UF);this.du=0;this.aB=!0;this.Nd=this.vb=null;this.Uu=this.sG=this.Zu=this.Wh=!1;this.PB=this.QB=window.NaN;this.defraggedFromSubfragments=this.hasSubfragmentedFmp4=!1;this.liveExperimentalContentId=window.NaN;this.preferLowQualityAudio=this.Ux=this.Vx=!1;this.Tq=[];this.Sq=[];this.isDni=!1;this.dr=this.dniColor="";this.isVisualizerEligible=!1;this.nf="";this.gq=this.OB=!1;XO(this).o("web_player_ux_module_wait")&&this.Ib.ka&&this.cd.push("ux");this.tc={};this.keywords={};this.setData(b)};
ema=function(a,b,c){b=b||{};var d={};if(c){var e;b.raw_player_response?e=b.raw_player_response:b.player_response&&(e=g.ux(b.player_response));if(e)for(d=null!=e?e:{},a.vb||(a.vb={}),c=0;c<ZO.length;c++)e=ZO[c],e in d&&(a.vb[e]=d[e])}else d=a.vb||{};if(c=$O(d))a.Uf=NH(c.invideoUrl),a.Eo=!!c.adsOnly,a.Fo=!!c.allowInPlaceSwitch;else{if(c=b.iv_invideo_url)a.Uf=NH(c);a.Eo=GM(a.Eo,b.iv_ads_only);a.Fo=GM(a.Fo,b.iv_allow_in_place_switch)}if(c=b.cta_conversion_urls)a.vz=c;a.isPharma=GM(a.isPharma,b.is_pharma);
a.author=JM(a.author,b.author);a.Qo=GM(a.Qo,b.cc_asr);if(c=b.ttsurl)LH(c)?a.Ro=c:(c=MH(c),LH(c,!0)&&(a.Ro=c));if(d.captions&&d.captions.playerCaptionsTracklistRenderer)Zla(a,d.captions.playerCaptionsTracklistRenderer);else{c=b.caption_tracks;e=b.caption_audio_tracks;if(c&&e){$la(a,c);ama(a,e);if(c=b.default_audio_track_index)a.Ys=(0,window.parseInt)(c,10)||0;(c=b.caption_translation_languages)&&bma(a,c)}a.fm=GM(a.fm,b.cc_contribute)}a.channelPath=JM(a.channelPath,b.channel_path);a.channelBanner=JM(a.channelBanner,
b.channel_banner);a.videoCountText=JM(a.videoCountText,b.video_count_text);d.chapterMarkers&&(a.chapterMarkers=d.chapterMarkers);a.autonavState=HM(a.autonavState,b.autonav_state,cma);a.clientPlaybackNonce=JM(a.clientPlaybackNonce,b.cpn);a.subscribed=GM(a.subscribed,b.subscribed);a.ri=IM(a.ri,b.view_count);a.shortViewCount=JM(a.shortViewCount,b.short_view_count_text);a.title=JM(a.title,b.title);a.subtitle=JM(a.subtitle,b.subtitle);a.expandedTitle=JM(a.expandedTitle,b.expanded_title);a.expandedSubtitle=
JM(a.expandedSubtitle,b.expanded_subtitle);a.Vl=JM(a.Vl,b.aria_label);a.ypcPreview=JM(a.ypcPreview,b.ypc_preview);a.ypcOrigin=JM(a.ypcOrigin,b.ypc_origin);a.paygated=GM(a.paygated,b.paygated);a.requiresPurchase=GM(a.requiresPurchase,b.requires_purchase);if(d=b.keywords)a.keywords=aP(d.split(","));if(d=b.rvs)a.suggestions=sE(d);a.contentCheckOk=GM(a.contentCheckOk,"1"==b.cco);a.racyCheckOk=GM(a.racyCheckOk,"1"==b.rco);a.oauthToken=JM(a.oauthToken,b.oauth_token);a.visitorData=JM(a.visitorData,b.visitor_data);
if(d=b.session_data)a.Ld=g.pE(d);if(d=b.endscreen_autoplay_session_data)a.yA=g.pE(d);a.xA=JM(a.xA,b.endscreen_ad_tracking_data);a.Nl=GM(a.Nl,b.wait_for_vast_info_cards_xml);a.Mj=GM(a.Mj,b.suppress_creator_endscreen);a.Lk=GM(a.Lk,b.is_trueview_action);a.Wi=JM(a.Wi,b.wpid);a.PG=JM(a.PG,b.tracking_list||b.tv_list);b.intro_start_ms&&b.intro_end_ms&&(a.QB=(0,window.parseInt)(b.intro_start_ms,10),a.PB=(0,window.parseInt)(b.intro_end_ms,10));(0,g.D)(dma,function(a){a in b&&(this.tc[a]=b[a])},a)};
XO=function(a){return a.Ib.experiments};
bP=function(a){return!(!a.Pa||!a.Pa.videoInfos.length)};
dP=function(a,b){var c=a.Ib,d=a.ua||null,e=void 0===b?!1:b,f=a.Ux,k=a.gq,l=a.isAd(),m=new yla;m.F=cP(a);m.aacHigh=f&&c.Lb;IE("windows nt 5.1")&&!g.rN&&(m.A=!0);(f=d&&(d.gh()||d.hh()||d.ig()))&&XM&&6>=kJ&&(m.A=!0);var n;if(n=f)n=c.experiments.o("disable_html5_ambisonic_audio")||!(g.tN(c)||c.experiments.o("html5_enable_spherical")||c.experiments.o("html5_enable_spherical3d"))?!1:uN(c);n&&(m.D=!0);if(e||k)m.A=!0,m.K=!0;mJ(c.N,uJ)&&(m.B=!0,c.experiments.o("html5_ac3_killswitch")||(m.C=!0));if(d&&d.Jk||
f)m.G=!1;m.H=!1;c=c.experiments.A("html5_av1_thresh");l&&(c=0);try{c=+window.localStorage["yt-player-av1-pref"]||c}catch(p){}0<c&&2160>c&&window.SourceBuffer&&window.SourceBuffer.prototype.changeType&&(m.o=c);2160<=c&&(m.J=!0);return m};
gma=function(a,b){var c;(c=!a.adaptiveFormats)||(c=!(!ME()&&a.adaptiveFormats));if(c)return!1;c=eM(eP(a,a.adaptiveFormats),a.zd,a.lengthSeconds,a.Ma,a.fq,b);var d;if(d=c.A)d=!(b.o("html5_manifestless_vp9")||!fma(c));if(d)return c.dispose(),!1;fP(a,c);a.ua.B&&c.subscribe("cuepointsadded",a.Pz,a);bM(a.ua)&&(a.Mk=!0);return!0};
fma=function(a){return a.A&&KI('video/webm; codecs="vp9"')&&Kb(a.o,function(a){return zI(a.info)})};
gP=function(a){return!(!a.ua||!a.ua.A)};
hma=function(a){if(!(a.Pa&&a.Pa.videoInfos.length&&g.BI(a.Pa.videoInfos[0])&&gP(a))||g.LE()&&!XO(a).o("html5_streaming_xhr_try_cobalt")||AN&&!XO(a).o("html5_streaming_xhr_try_edge"))return!1;var b=XO(a).o("html5_streaming_response_mediastream_rewrite_v2"),c=XO(a).o("html5_ultra_low_latency_streaming_responses")&&"ULTRALOW"==a.latencyClass;a=21530001==hP(a);return b||c||a};
jma=function(a){return hma(a)&&(!XO(a).o("html5_live_benchmark_incremental_parsing")||"ULTRALOW"==a.latencyClass||21530001==hP(a))};
hP=function(a){return a.isLowLatencyLiveStream&&void 0!=a.ua&&5<=oM(a.ua)?21530001:a.liveExperimentalContentId};
iP=function(a){return!xJ()||a.nA?!0:!1};
g.kma=function(a){if(!a.Nd)return null;var b=null!=a.Nd.latitudeE7&&null!=a.Nd.longitudeE7?a.Nd.latitudeE7+","+a.Nd.longitudeE7:",";return b+=","+(a.Nd.clientPermissionState||0)+","+(a.Nd.locationRadiusMeters||"")+","+(a.Nd.locationOverrideToken||"")};
jP=function(a){a.la()||(a.fi=!1,a.V("dataloaded",a.tc))};
fP=function(a,b,c){c&&a.ua&&a.ua.dispose();a.ua=b;g.M(a,b);lma(a)&&a.cd.push("webgl");a.ua.isLive||(a.Ma=!1)};
g.kP=function(a,b){if(a.la())return aF();a.Pa=null;a.ae=null;a.Jf=null;var c=a.Ib.A.c;XO(a).o("disable_rqs")||(a.Wh=/^rq/.test(a.clientPlaybackNonce)||/^r/.test(a.clientPlaybackNonce)&&/UNPLUGGED/.test(c)||XO(a).o("html5_high_res_logging"));return mma(a,b).then(void 0,(0,g.B)(a.NN,a)).then(void 0,(0,g.B)(a.KN,a,b)).then(void 0,(0,g.B)(a.LN,a,b)).then(void 0,(0,g.B)(a.ON,a)).then(void 0,(0,g.B)(a.MN,a)).then(function(){if(XO(a).o("html5_probe_media_capabilities")&&a.Pa)return Pla(a.Pa).then(a.wr,void 0,
a)})};
mma=function(a,b){if(!b&&!iP(a)){var c=!1;if(a.spacecastAdaptiveFormats)fP(a,eM(eP(a,a.spacecastAdaptiveFormats),a.zd,a.lengthSeconds,!1,!1),!0),c=!0;else if(a.ua&&a.Ar){var d=lM(a.ua,a.Ar);d&&(fP(a,d,!0),c=!0)}if(c)return IN(dP(a,!0),a.Ib.N,a.ua,a.ih).then(a.wr,void 0,a).then(a.EA,void 0,a)}return aF()};
nma=function(a){var b={cpn:a.clientPlaybackNonce,c:a.Ib.A.c,cver:a.Ib.A.cver};a.Qn&&(b.ptk=a.Qn,b.oid=a.kF,b.ptchn=a.jF,b.pltype=a.lF);return b};
g.lP=function(a){return ME()&&a.fairPlayCert?(a={},a.fairplay="https://web.archive.org/web/20181027110332/https://youtube.com/api/drm/fps?ek=uninitialized",a):a.Ga&&a.Ga.zd||null};
oma=function(a){var b=a.vb&&a.vb.paidContentOverlay&&a.vb.paidContentOverlay.paidContentOverlayRenderer||null;return b&&b.text?g.WO(b.text):a.GW};
pma=function(a){var b=a.vb&&a.vb.paidContentOverlay&&a.vb.paidContentOverlay.paidContentOverlayRenderer||null;return b&&b.durationMs?g.Bb(b.durationMs):a.iF};
mP=function(a){var b="";a.Ma&&(b=a.isPremiere?"lp":a.Ki?"dvr":"live");return b};
g.nP=function(a,b){return g.w(a.keywords[b])?a.keywords[b]:null};
qma=function(a){return!!(a.vf||a.adaptiveFormats||a.Kl||a.El||a.spacecastFormatMap||a.spacecastAdaptiveFormats||a.hlsvp)};
oP=function(a){var b=g.Ma(a.cd,"ypc");a.ypcPreview&&(b=!1);return a.Wd()&&!a.fi&&(qma(a)||g.Ma(a.cd,"fresca")||g.Ma(a.cd,"heartbeat")||b)};
eP=function(a,b,c){b=sE(b);var d={};c&&(0,g.D)(c.split(","),function(a){(a=a.match(/^([0-9]+)\/([0-9]+)x([0-9]+)(\/|$)/))&&(d[a[1]]={width:a[2],height:a[3]})});
(0,g.D)(b,function(a){var b=d[a.itag];b&&(a.width=b.width,a.height=b.height)},a);
return b};
rma=function(a){a=sE(a);var b={};(0,g.D)(a,function(a){var c=a.family;a=a.url;c&&a&&(b[c]=a)});
return b};
$la=function(a,b){for(var c=sE(b),d=0;d<c.length;d++){var e=c[d],f=e.u;LH(f)&&a.captionTracks.push(new g.nI({is_translateable:GM(!1,e.t),languageCode:e.lc,languageName:e.n,url:f,vss_id:e.v,kind:e.k,format:3}))}};
ama=function(a,b){var c=sE(b);a.dm=[];(0,g.D)(c,function(a){var b={};g.u(a.aid)&&(b.audioTrackId=a.aid);var c=a.i;c&&(b.captionTrackIndices=(0,g.I)(c.split(","),function(a){return(0,window.parseInt)(a,10)}));
b.hasDefaultTrack=g.u(a.d);b.hasDefaultTrack&&(b.defaultCaptionTrackIndex=(0,window.parseInt)(a.d,10)||void 0);b.hasForcedTrack=g.u(a.f);b.hasForcedTrack&&(b.forcedCaptionTrackIndex=(0,window.parseInt)(a.f,10));b.visibility=sma[(0,window.parseInt)(a.v,10)]||"UNKNOWN";this.dm.push(b)},a)};
bma=function(a,b){for(var c=sE(b),d=0;d<c.length;d++){var e=c[d];a.captionTranslationLanguages.push(new g.mI({languageCode:e.lc,languageName:e.n}))}};
tma=function(a,b){var c=b.playerAttestationRenderer.challenge;null!=c&&(a.Ni=c)};
Zla=function(a,b){a.captionTracks=[];b.captionTracks&&(0,g.D)(b.captionTracks,function(a){var b=a.baseUrl;LH(b,!0)&&(a=new g.nI({is_translateable:!!a.isTranslatable,languageCode:a.languageCode,languageName:a.name&&g.WO(a.name),url:b,vss_id:a.vssId,kind:a.kind,format:3}),this.captionTracks.push(a))},a);
a.dm=b.audioTracks||[];a.Ys=b.defaultAudioTrackIndex||0;a.captionTranslationLanguages=b.translationLanguages?(0,g.I)(b.translationLanguages,function(a){return new g.mI({languageCode:a.languageCode,languageName:g.WO(a.languageName)})}):[];
a.fm=!!b.contribute&&!!b.contribute.captionsMetadataRenderer};
uma=function(a,b){var c=b.webDrmConfig;c&&(c.skipWidevine&&(a.sG=!0),c=c.widevineServiceCert)&&(a.fo=ue(c))};
vma=function(a,b){var c=b.videoId;c&&(a.videoId=c);if(c=b.title)a.title=c;if(c=b.lengthSeconds)a.lengthSeconds=(0,window.parseInt)(c,10);if(c=b.keywords)a.keywords=aP(c);if(c=b.channelId)a.Il=c;if(c=b.viewCount)a.ri=(0,window.parseInt)(c,10);if(c=b.author)a.author=c;if(c=b.isCrawlable)a.isListed=c;if(c=b.musicVideoType)a.musicVideoType=c;c=b.isLive;null!=c&&(a.Ma=c,a.isPremiere=!!c&&!b.isLiveContent)};
g.pP=function(a,b){return!!a.tc[b]};
g.qP=function(a){return a.Ma&&!a.Ki};
rP=function(a){return a.Ma&&a.Ki};
wma=function(a){var b=g.cc(a.tc);!a.Ma&&0<a.startSeconds&&(b.start=a.startSeconds);return b};
lma=function(a){return a.hh()||a.gh()||a.jj()||a.ig()};
xma=function(a){a.Pa=a.Pa.A};
g.yma=function(a){if(a.Mj)return null;var b=a.tc.iv_endscreen_url;b||(b=a.vb&&a.vb.endscreen&&a.vb.endscreen.endscreenUrlRenderer&&a.vb.endscreen.endscreenUrlRenderer.url);return b||null};
sP=function(a){return a.adFormat&&"1_5"!=a.adFormat?"adunit":a.Ib.O};
tP=function(a){if(a.isAd()&&a.videoId!=a.Ib.pa)return a.Ib.pa};
uP=function(a){return a.Rn||"detailpage"==sP(a)};
vP=function(a){return uP(a)?"detailpage"==sP(a)?a.an||0<a.Ag:!0:!1};
wP=function(a){return a.oauthToken||a.Ib.Va};
xP=function(a){var b=1,c=XO(a).A("html5_default_ad_gain");c&&a.isAd()&&(b=c);return Math.min(1,Math.pow(10,-a.relativeLoudness/20))||b};
cP=function(a){return!a.Ib.deviceHasDisplay||a.Vx&&a.Ib.Lb};
$O=function(a){return a&&a.annotations&&(a=a.annotations[0],a.playerAnnotationsUrlsRenderer)?a.playerAnnotationsUrlsRenderer:null};
aP=function(a){var b={};(0,g.D)(a,function(a){var c=a.split("=");2==c.length?b[c[0]]=c[1]:b[a]=!0});
return b};
zma=function(a,b,c,d){this.videoData=a;this.o=b;this.reason=c;this.A=d};
Ama=function(){this.endTime=this.startTime=-1;this.Zs="-";this.playbackRate=1;this.visibilityState=0;this.Rs="";this.volume=this.connectionType=this.Ch=0;this.muted=!1};
Bma=function(a){this.A=a;this.J=!1;this.o=0;this.D=-1;this.L=this.A.Td().volume;this.K=this.A.Td().muted;this.F=window.NaN;this.B=0;this.wb=[];this.C=yP(this.A);this.G=this.H=0};
g.zP=function(a){a.C.startTime=a.B;a.C.endTime=a.o;a.wb.length&&g.Ga(a.wb).isEmpty()?a.wb[a.wb.length-1]=a.C:a.wb.length&&a.C.isEmpty()||a.wb.push(a.C);a.H+=a.o-a.B;a.C=yP(a.A);a.B=a.o};
Cma=function(a){return a.H+a.A.A()-a.B};
Dma=function(a){a.wb.length&&a.o==a.B||g.zP(a);var b=a.wb;a.wb=[];return b};
Ema=function(a,b,c){c-=a.F;return b==a.o&&.5<c};
Fma=function(a,b,c,d,e,f,k,l,m,n,p,r,v){this.videoData=a;this.o=b;this.Td=c;this.F=d;this.A=e;this.D=f;this.K=k;this.getAudioTrack=l;this.J=m;this.G=n;this.B=p;this.H=r||function(){};
this.C=null;this.L=v||function(){}};
g.AP=function(a){return Gma(a)()};
Gma=function(a){if(!a.C){var b=g.Da(function(a){var b=g.tG();a&&631152E6>=b&&(g.gE(Error("invalid yt.global.now value: "+b)),b=(new Date).getTime()+2);return b},a.o.experiments.o("html5_validate_yt_now"));
a.C=g.Da(function(a){return Math.round(b()-a)/1E3},b());
a.L()}return a.C};
Hma=function(a){var b=a.Td();g.Ea(b,a.videoData.Td());return b};
Jma=function(a){if(window.navigator.connection&&window.navigator.connection.type)return Ima[window.navigator.connection.type]||Ima.other;if(a.o.experiments.o("html5_tv_bearer")&&g.gN(a.o)){a=window.navigator.userAgent;if(/[Ww]ireless[)]/.test(a))return 3;if(/[Ww]ired[)]/.test(a))return 1}return 0};
yP=function(a){var b=new Ama;b.Zs=a.Td().cc||"-";b.playbackRate=a.J();var c=a.B();0!=c&&(b.visibilityState=c);a.o.Ch&&(b.Ch=1);c=a.getAudioTrack();c.Mb&&c.Mb.id&&"und"!=c.Mb.id&&(b.Rs=c.Mb.id);b.connectionType=Jma(a);b.volume=a.Td().volume;b.muted=a.Td().muted;return b};
g.Lma=function(a){return(a=Kma[a.toString()])?a:"YTP_ERROR_LICENSE"};
BP=function(){};
g.CP=function(a){a=void 0===a?!1:a;g.L.call(this);this.D=this.A=this.C=null;this.K=a;this.J=this.H=!1;this.G=new g.Pf;g.M(this,this.G)};
DP=function(a){a=a.Im();return 1>a.length?window.NaN:a.end(a.length-1)};
Mma=function(a,b){a.C&&null!=b&&b.o==a.C.o||(a.C&&a.C.dispose(),a.C=b)};
EP=function(a){return YI(a.dg(),a.getCurrentTime())};
Nma=function(a){var b=a.dg();return 0<XI(b)&&a.getDuration()?WI(b,a.getCurrentTime()):0};
FP=function(a){var b=a.getDuration();return window.Infinity==b?1:b?Nma(a)/b:0};
GP=function(a){switch(a.Eb()){case 2:return"progressive.net.retryexhausted";case 3:return"fmt.decode";case 4:return"fmt.unplayable";case 5:return"drm.unavailable";case 1E3:return"capability.changed";default:return null}};
HP=function(a,b,c){g.of.call(this,b,a);this.o=c||null};
Oma=function(){this.C=this.o=window.NaN;this.B=this.A=!1};
IP=function(a,b){return b>a.o&&b<a.o+5};
Pma=function(a,b,c,d){if(d=1<d)a.B=!0;if(a.A)b!=a.o&&(a.A=!1);else if(0<b&&a.o==b)return c-a.C>(d||!a.B?1500:400);a.o=b;a.C=c;return!1};
g.JP=function(a,b){this.A=a||64;this.o=void 0===b?null:b};
KP=function(a,b){return Pma(a,b.getCurrentTime(),g.tG(),EP(b))};
LP=function(a,b,c){return b==a.A&&c==a.o||void 0!=b&&(b&128&&!c||b&2&&b&16)?a:new g.JP(b,c)};
MP=function(a,b){return LP(a,a.A|b)};
NP=function(a,b){return LP(a,a.A&~b)};
OP=function(a,b,c){return LP(a,(a.A|b)&~c)};
g.W=function(a,b){return!!(a.A&b)};
g.PP=function(a,b){return b.A==a.A&&b.o==a.o};
QP=function(a){return g.W(a,8)&&!g.W(a,2)&&!g.W(a,1024)};
g.RP=function(a){return g.W(a,64)&&!g.W(a,8)&&!g.W(a,4)};
g.SP=function(a){return g.W(a,1)&&!g.W(a,2)};
TP=function(a){return g.W(a,128)?-1:g.W(a,2)?0:g.W(a,64)?-1:g.W(a,1)&&!g.W(a,32)?3:g.W(a,8)?1:g.W(a,4)?2:-1};
g.UP=function(a,b){this.state=a;this.o=b};
VP=function(a,b){return g.W(a.state,b)&&!g.W(a.o,b)?1:!g.W(a.state,b)&&g.W(a.o,b)?-1:0};
XP=function(a){g.L.call(this);var b=this;this.o=a;this.A={};this.K=1;this.ba=window.NaN;this.B="N";this.F=this.ha=this.ca=this.C=0;this.N=this.oa="";this.ga=0;this.pa=-1;this.ka=1;this.L=this.O=0;this.aa=this.J=!1;this.sa=[];this.G=null;this.W=this.H=!1;(a=window.navigator.getBattery?window.navigator.getBattery():null)&&a.then&&a.then(function(a){b.G=a});
g.WP(this,0,"vps",["N"])};
g.WP=function(a,b,c,d){var e=a.A[c];e||(e=[],a.A[c]=e);e.push(b.toFixed(3)+":"+d.join(":"))};
ZP=function(a,b){b=0<=b?b:g.AP(a.o);var c=a.o.D();if(!(0,window.isNaN)(a.ia)&&!(0,window.isNaN)(c.B)){var d=c.B-a.ia;0<d&&g.WP(a,b,"bwm",[d,(c.D-a.xa).toFixed(3)])}a.ia=c.B;a.xa=c.D;(0,window.isNaN)(c.bandwidthEstimate)||g.WP(a,b,"bwe",[c.bandwidthEstimate.toFixed(0)]);a.o.videoData.Wh&&c.o&&YP(a,"bwinfo",c.o);a.G&&g.WP(a,b,"bat",[a.G.level,a.G.charging?"1":"0"]);d=a.o.B();a.pa!=d&&(g.WP(a,b,"vis",[d]),a.pa=d);g.WP(a,b,"cmt",[a.o.A().toFixed(3)]);(d=Jma(a.o))&&d!=a.ga&&(g.WP(a,b,"conn",[d]),a.ga=
d);Qma(a,b,c);null!==a.o.videoData.yo&&(a.A.acc=[a.o.videoData.yo.join(":")])};
Qma=function(a,b,c){if(!(0,window.isNaN)(c.A)){var d=c.A;c.C<d&&(d=c.C);g.WP(a,b,"bh",[d.toFixed(3)])}};
$P=function(a){var b=0,c;for(c in a.A)b+=c.length+(0,g.Yj)(a.A[c],function(a,b){return a+b.length},0);
1E3<b&&(new g.U(a.D,0,a)).start()};
Rma=function(a,b,c,d){var e=a.o.A();c=[c,e.toFixed(3)];d&&c.push(d);g.WP(a,b,"error",c)};
Tma=function(a,b){if(g.W(b,128))return"ER";if(g.W(b,512))return"SU";if(g.W(b,16)||g.W(b,32))return"S";var c=Sma[TP(b)];g.gN(a.o.o)&&"B"==c&&3==a.o.B()&&(c="SU");"B"==c&&g.W(b,4)&&(c="PB");return c};
aQ=function(a,b){var c=a.A.cat||[];c.push(b);a.A.cat=c};
YP=function(a,b,c,d){var e=a.A.ctmp||[],f=-1!=a.sa.indexOf(b);f||a.sa.push(b);d&&f||(d||(c="t."+(1E3*g.AP(a.o)).toFixed()+";"+c),e.push(b+":"+c),a.A.ctmp=e,$P(a))};
bQ=function(a,b,c,d){this.segments=[];this.experimentIds=[];this.adQueryId=null;this.Xh=this.ga=this.isFinal=this.yb=this.O=this.autoplay=this.autonav=!1;this.ia="yt";this.zi=this.A=this.F=null;this.W=!1;this.D="watchtime"==c;this.C="playback"==c;this.H="delayplay"==c;this.G="atr"==c;this.Ba="engage"==c;this.Al=!1;this.pa=this.G?"/api/stats/"+c:"//"+b.Ah+"/api/stats/"+c;d&&(this.ga=d.fs,d.rtn&&(this.A=d.rtn),this.D?(this.La=d.state,0<d.rti&&(this.F=d.rti)):(this.Da=d.mos,this.Qa=d.volume,d.at&&(this.adType=
d.at)),d.autonav&&(this.autonav=d.autonav),d.inview&&(this.oa=d.inview),d.size&&(this.ka=d.size));this.Ha=g.cc(b.A);this.wa=b.Ba;this.experimentIds=b.experiments.experimentIds;this.ba=b.ia;this.ia=b.ca;this.region=b.region;this.userAge=b.userAge;this.userGender=b.userGender;this.fb=IG();this.Al=b.Da;this.J=wP(a);this.adFormat=a.adFormat;this.adQueryId=a.adQueryId;this.autoplay=vP(a);this.autonav=a.an||this.autonav;this.contentVideoId=tP(a);this.zi=a.zi;this.clientPlaybackNonce=a.clientPlaybackNonce;
this.O=a.isDni;a.vssCredentialsToken&&(this.N=a.vssCredentialsToken,this.sa=a.ds);a.mdxEnvironment&&(this.mdxEnvironment=a.mdxEnvironment);this.Hh=a.Hh;this.Zf=a.Zf;a.Ga&&(this.ha=g.xI(a.Ga),a.Ac&&g.xI(a.Ac)!=this.ha&&(this.L=g.xI(a.Ac)));this.Xh=a.Xh;this.Fk=a.Fk;if(b=mP(a))this.Ob=b;this.gn=a.gn;this.If=a.If;this.playbackId=a.playbackId;this.eventId=a.eventId;this.playlistId=a.PG||a.playlistId;this.ir=a.ir;this.Kf=a.Kf;this.Lf=a.Lf;this.yr=a.yr;this.subscribed=a.subscribed;this.videoId=a.videoId;
this.videoMetadata=a.videoMetadata;this.visitorData=a.visitorData;this.osid=a.osid;this.Nw=a.Nw;this.referrer=a.referrer;this.Un=a.Vw||a.Un;this.Gl=a.Gl;this.Mr=a.Mr;this.Wi=a.Wi;this.xa=sP(a)};
Uma=function(a,b){if(a.G)return null;var c=a.J&&yE(),d=a.Al&&!!a.visitorData;if(!c&&!d)return null;var e={};c&&(e.Authorization="Bearer "+a.J);d&&(e["X-Goog-Visitor-Id"]=a.visitorData);return{headers:e,withCredentials:!0,Jd:b}};
Vma=function(a,b,c,d){b.cmt=b.len;b.lact="0";d=d();d=d.toFixed(3);b.rt=(1*d).toString();a=g.Zg(a,b);c?g.DE(a,c):g.TE(a)};
dQ=function(a){var b={ns:a.ia,el:a.xa,cpn:a.clientPlaybackNonce,docid:a.videoId,ver:2,referrer:a.referrer,cmt:a.o(a.Hh),plid:a.playbackId,ei:a.eventId,fmt:a.ha,fs:a.ga?"1":"0",rt:a.o(a.Va),of:a.Nw,adformat:a.adFormat,content_v:a.contentVideoId,euri:a.wa,lact:a.fb,live:a.Ob,cl:"218622685",mos:a.Da,osid:a.osid,state:a.La,vm:a.videoMetadata,volume:a.Qa};a.adQueryId&&(b.aqi=a.adQueryId);a.subscribed&&(b.subscribed="1");g.Ea(b,a.Ha);a.autonav&&(b.autonav="1");a.autoplay&&(b.autoplay="1");a.O&&(b.dni="1");
a.isFinal&&(b["final"]="1");a.Xh&&(b.splay="1");a.Zf&&(b.delay=a.Zf);a.ba&&(b.hl=a.ba);a.region&&(b.cr=a.region);g.u(a.userAge)&&a.userGender&&(b.uga=a.userGender+a.userAge);g.u(a.ca)&&(b.len=a.o(a.ca));!a.D&&0<a.experimentIds.length&&(b.fexp=a.experimentIds.toString());null!=a.A&&(b.rtn=a.o(a.A));a.Un&&(b.feature=a.Un);a.playlistId&&(b.list=a.playlistId);a.Kf&&(b.ctrl=a.Kf);a.Lf&&(b.ytr=a.Lf);a.yr&&(b.ssrt="1");a.L&&(b.afmt=a.L);a.aa&&(b.lio=a.o(a.aa));a.D?(b.idpj=a.Fk,b.ldpj=a.gn,null!=a.F&&(b.rti=
a.o(a.F))):g.u(a.adType)&&(b.at=a.adType);(a.C||a.H)&&a.zi&&(b.tst=a.zi);a.ka&&(a.C||a.H)&&(b.size=a.ka);null!=a.oa&&(a.C||a.H)&&(b.inview=a.o(a.oa));a.D&&(b.volume=cQ(a,(0,g.I)(a.segments,function(a){return a.volume})),b.muted=cQ(a,(0,g.I)(a.segments,function(a){return a.muted?1:0})),b.st=cQ(a,(0,g.I)(a.segments,function(a){return a.startTime})),b.et=cQ(a,(0,g.I)(a.segments,function(a){return a.endTime})),(0,g.Pj)(a.segments,function(a){return 1!=a.playbackRate})&&(b.rate=cQ(a,(0,g.I)(a.segments,
function(a){return a.playbackRate}))));
(0,g.Pj)(a.segments,function(a){return 0!=a.visibilityState})&&(b.vis=cQ(a,(0,g.I)(a.segments,function(a){return a.visibilityState})));
(0,g.Pj)(a.segments,function(a){return 0!=a.connectionType})&&(b.conn=cQ(a,(0,g.I)(a.segments,function(a){return a.connectionType})));
(0,g.Pj)(a.segments,function(a){return 0!=a.Ch})&&(b.blo=cQ(a,(0,g.I)(a.segments,function(a){return a.Ch})));
(0,g.Pj)(a.segments,function(a){return"-"!=a.Zs})&&(b.cc=(0,g.I)(a.segments,function(a){return a.Zs}).join(","));
if((0,g.Pj)(a.segments,function(a){return!!a.Rs})){var c="au";
a.C&&(c="au_d");b[c]=(0,g.I)(a.segments,function(a){return a.Rs}).join(",")}yE()&&a.N&&(b.ctt=a.N,b.cttype=a.sa,b.mdx_environment=a.mdxEnvironment);
a.Ba&&(b.etype=g.u(a.B)?a.B:0);a.Gl&&(b.uoo=a.Gl);a.Mr&&(b.upt=a.Mr);a.Wi&&(b.wpid=a.Wi);return b};
cQ=function(a,b){return(0,g.I)(b,a.o).join(",")};
g.Wma=function(a,b){return a.baseYtUrl+"timedtext_video?ref=player&v="+b.videoId};
eQ=function(a){g.L.call(this);this.o=a;this.A=new XP(a);g.M(this,this.A);this.B=new Bma(a);this.F="paused";this.G=window.NaN;this.J=[10,10,10,40];this.K=this.H=0;this.W=this.O=this.ca=this.aa=this.N=this.L=this.D=!1;this.C=window.NaN};
fQ=function(a,b,c){var d=g.AP(a.o);c=(0,window.isNaN)(c)?d:c;c=Math.ceil(c);var e=a.J[a.H];a.H+1<a.J.length&&a.H++;c+=e;d=1E3*(c-d);a.G=g.mE((0,g.B)(a.VS,a,c,b),d);return c};
gQ=function(a,b){var c=Hma(a.o);g.Ea(c,{state:a.F});c=new bQ(a.o.videoData,a.o.o,b,c);c.Hh=a.o.A();a.o.videoData.Ma||(c.ca=a.o.F());if(a.o.videoData.ua){var d=pM(a.o.videoData.ua,c.Hh);d&&(c.aa=d-c.Hh)}c.Va=g.AP(a.o);c.segments=[yP(a.o)];return c};
Xma=function(a,b){var c=gQ(a,"watchtime");c.segments=b;c.Hh=a.B.o;return c};
Yma=function(a){a.B.update();return Xma(a,Dma(a.B))};
$ma=function(a){a.o.videoData.remarketingUrl&&!a.aa&&(hQ(a,a.o.videoData.remarketingUrl),a.aa=!0);a.o.videoData.youtubeRemarketingUrl&&!a.ca&&(hQ(a,a.o.videoData.youtubeRemarketingUrl),a.ca=!0);a.o.videoData.googleRemarketingUrl&&!a.O&&(hQ(a,a.o.videoData.googleRemarketingUrl),a.O=!0);a.o.videoData.ppvRemarketingUrl&&!a.W&&(hQ(a,a.o.videoData.ppvRemarketingUrl),a.W=!0);Zma(a)};
ana=function(a){a.C=g.nE((0,g.B)(a.sr,a,"heartbeat"),3E4)};
Zma=function(a){a.o.videoData.Se.eventLabel=sP(a.o.videoData);a.o.videoData.Se.playerStyle=a.o.o.playerStyle;a.o.videoData.Xq&&(a.o.videoData.Se.feature="pyv");a.o.videoData.Se.vid=a.o.videoData.videoId;var b=a.o.videoData.Se;a=a.o.videoData;a=a.isAd()||!!a.Xq;b.isAd=a};
hQ=function(a,b,c){a.o.o.Da&&a.o.videoData.visitorData&&xE(b)?g.DE(b,{Jd:c,headers:{"X-Goog-Visitor-Id":a.o.videoData.visitorData}}):g.TE(b,c)};
bna=function(a,b){var c=a.A;g.WP(c,g.AP(c.o),"lra",[b]);YP(c,"live-readahead-seconds",b.toString())};
iQ=function(a,b){bI.call(this,a,b);this.o=!1;cI(this,"getPresentingPlayerType",this.Sa);cI(this,"addInfoCardXml",this.nP);cI(this,"cueVideoByPlayerVars",this.pP);cI(this,"loadVideoByPlayerVars",this.An);cI(this,"preloadVideoByPlayerVars",this.yq);cI(this,"seekBy",this.Ge);cI(this,"updatePlaylist",this.RP);cI(this,"updateLastActiveTime",this.QP);cI(this,"updateVideoData",this.SP);cI(this,"canPlayType",this.oP);cI(this,"sendVideoStatsEngageEvent",this.yj);cI(this,"setCardsVisible",this.Bn);cI(this,
"setAutonav",this.WC);cI(this,"setAutonavState",this.Kv);cI(this,"showControls",this.bD);cI(this,"hideControls",this.ZC);cI(this,"setSafetyMode",this.LP);cI(this,"cancelPlayback",this.Mv);cI(this,"isContinuousPlayback",this.BP);cI(this,"isFastLoad",this.CP);cI(this,"isInline",this.DP);cI(this,"isPeggedToLive",this.isPeggedToLive);cI(this,"setInline",this.IP);cI(this,"getVideoAspectRatio",this.zP);cI(this,"getPreferredQuality",this.zn);cI(this,"setPlaybackQualityRange",this.aD);cI(this,"getPlayerResponse",
this.getPlayerResponse);cI(this,"getStoryboardFormat",this.getStoryboardFormat);cI(this,"getStoryboardFrame",this.vP);cI(this,"getStoryboardFrameIndex",this.wP);cI(this,"getStoryboardLevel",this.xP);cI(this,"getNumberOfStoryboardLevels",this.uP);cI(this,"getProgressState",this.Zk);cI(this,"getAudioTrack",this.getAudioTrack);cI(this,"setAudioTrack",this.Pv);cI(this,"getAvailableAudioTracks",this.getAvailableAudioTracks);cI(this,"getMaxPlaybackQuality",this.tP);cI(this,"getUserPlaybackQualityPreference",
this.yP);cI(this,"setUserEngagement",this.OP);cI(this,"getVideoContentRect",this.YC);cI(this,"updateSubtitlesUserSettings",this.zq);cI(this,"getSubtitlesUserSettings",this.wj);cI(this,"resetSubtitlesUserSettings",this.Ov);cI(this,"setMinimized",this.KP);cI(this,"getSphericalProperties",this.Iv);cI(this,"setSphericalProperties",this.Lv);cI(this,"setBlackout",this.FP);cI(this,"onAdUxClicked",this.EP);cI(this,"getVisibilityState",this.xj);cI(this,"setFauxFullscreen",this.GP);cI(this,"toggleFullscreen",
this.re);cI(this,"getVideoStats",this.bB);cI(this,"getPlayerSize",this.Nv);cI(this,"isMutedByMutedAutoplay",this.sN);cI(this,"setUseFastSizingOnWatch",this.NP);cI(this,"setInternalSize",this.JP);cI(this,"getHousebrandProperties",this.sP);cI(this,"getCurrentPlaylistSequence",this.rP);cI(this,"handleGlobalKeyDown",this.AP);cI(this,"setSizeStyle",this.MP);cI(this,"forceFrescaUpdate",this.qP);cI(this,"shouldSendVisibilityState",this.PP);cI(this,"setGlobalCrop",this.HP);cI(this,"wakeUpControls",this.cY)};
jQ=function(a,b){iQ.call(this,a,b)};
kQ=function(a,b){this.B=a;this.o=b||null;this.A=!1};
cna=function(a,b,c){var d=g.ZM(b.Ib)&&b.Ib.td&&uP(b);if(b.Ib.rd&&(WM(b.Ib)||g.vN(b.Ib)||d)&&!a.A){a.A=!0;g.fE("TIMING_ACTION")||g.eE("TIMING_ACTION",a.B.csiPageType);a.B.fb&&g.eE("CSI_SERVICE_NAME",a.B.fb);if(a.o){b=a.o.Cp();for(var e in b)(0,g.lQ)(e,b[e],"");e=a.o.lm;for(var f in e)(0,g.mQ)(f,e[f],"");f=a.o;f.Gh={};f.lm={}}(0,g.mQ)("yt_pvis",Wla(),"");(0,g.mQ)("yt_pt","html5","");c&&!NO("pbs","")&&(0,g.lQ)("pbs",c,"");a=a.B;g.vN(a)||WM(a)&&("blazer"!=a.playerStyle||a.experiments.o("use_full_timing_library"))||
!NO("_start","")||UO("")}};
g.nQ=function(a,b,c){g.L.call(this);this.start=a;this.end=b;this.B=dna++;a=c||{};this.Ja=a.id||"";this.C=a.priority||7;this.active=!0;this.visible=a.visible||!1;this.style=a.style||"ytp-ad-progress";this.namespace=a.namespace||"";this.color="";if(b=a.color)b=b.toString(16),this.color="#"+Array(7-b.length).join("0")+b;this.o=null;this.tooltip=a.tooltip;this.icons=a.icons?a.icons.filter(function(a){return g.JH(a)}):null;
this.visible=this.visible;this.style=this.style;this.start=this.start};
ena=function(a){return-0x8000000000000==a?"BEFORE_MEDIA_START":0==a?"MEDIA_START":0x7ffffffffffff==a?"MEDIA_END":0x8000000000000==a?"AFTER_MEDIA_END":a.toString()};
fna=function(a,b){switch(a.style){case "ytp-chapter-marker":return b?8:5;case "ytp-ad-progress":return 6;case "ytp-time-marker":return Number.POSITIVE_INFINITY;default:return 0}};
g.oQ=function(a,b){return a.start-b.start||a.C-b.C||a.B-b.B};
g.pQ=function(a,b){this.type=a||"";this.id=b||""};
g.rQ=function(a,b){g.VF.call(this);this.Ib=a;this.startSeconds=0;this.vG=!1;this.Gb=0;this.title="";this.ci=0;this.Ra=[];this.og=this.ad=!1;this.Ld=this.yA=this.Tn=null;var c=b.session_data;c&&(this.Ld=g.pE(c));this.views=0;this.nK=0!=b.fetch;this.te=[];this.Gb=Math.max(0,b.index||0);this.loop=!!b.loop;this.startSeconds=(0,window.parseInt)(b.startSeconds,10)||0;this.IR="1"==b.mob;this.title=b.playlist_title||"";this.description=b.playlist_description||"";this.author=b.author||b.playlist_author||"";
this.xi={};b.video_id&&(this.Ra[this.Gb]=b);if(c=b.api)"string"==typeof c&&16==c.length?b.list="PL"+c:b.playlist=c;this.iq=0;if(c=b.list)switch(b.listType){case "user_uploads":this.og||(this.listId=new g.pQ("UU","PLAYER_"+c),qQ(this,"/list_ajax?style=json&action_get_user_uploads_by_user=1",{username:c}));break;case "user_favorites":this.og||(this.listId=new g.pQ("FL","PLAYER_"+c),qQ(this,"/list_ajax?style=json&action_get_favorited_by_user=1",{username:c}));break;case "search":gna(this,c);break;default:var d=
b.playlist_length;d&&(this.ci=(0,window.parseInt)(d,0));this.listId=new g.pQ(c.substr(0,2),c.substr(2));(c=b.video)?(this.Ra=c.slice(0),this.ad=!0):hna(this)}else b.playlist&&(c=b.playlist.toString().split(","),0<this.Gb&&(this.Ra=[]),c.forEach(function(a){a&&this.Ra.push({video_id:a})},this),this.ci=this.Ra.length,c=this.Ra.map(function(a){return a.video_id}),qQ(this,"/list_ajax?style=json&action_get_templist=1",{video_ids:c.join(",")}),this.ad=!0);
this.setShuffle(!!b.shuffle);if(c=b.suggestedQuality)this.quality=c;this.xi=iO(b,"playlist_");this.FG=(c=b.thumbnail_ids)?c.split(","):[]};
sQ=function(a){return!!(a.playlist||a.list||a.api)};
ina=function(a){var b=a.Gb+1;return b>=a.ci?0:b};
jna=function(a){var b=a.Gb-1;return 0>b?a.ci-1:b};
tQ=function(a,b){a.Gb=g.ld(b,0,a.ci-1);a.startSeconds=0};
gna=function(a,b){if(!a.og){a.listId=new g.pQ("SR",b);var c={search_query:b};a.IR&&(c.mob="1");qQ(a,"/search_ajax?style=json&embeddable=1",c)}};
hna=function(a){if(!a.og){var b=b||a.listId;b={list:b};var c=a.ab();c&&c.videoId&&(b.v=c.videoId);qQ(a,"/list_ajax?style=json&action_get_list=1",b)}};
qQ=function(a,b,c){a.nK&&g.DE(g.Zg(b,c),{format:"JSON",onSuccess:(0,g.B)(function(a,b){uQ(this,b)},a),
onError:(0,g.B)(function(){this.V("error")},a)})};
uQ=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.ab();a.Ra=[];b.video.forEach(function(a){a&&(a.video_id=a.encrypted_id,this.Ra.push(a))},a);
a.ci=a.Ra.length;var d=b.index;d?a.Gb=d:a.Am(c);a.setShuffle(!1);a.og=!1;a.ad=!0;a.iq++;a.Tn&&a.Tn()}};
g.vQ=function(a){g.CP.call(this);this.o=a;this.B={}};
wQ=function(a,b){this.o=a;this.A=null;this.C=[];this.D=!1;this.B=b};
g.xQ=function(a){if(!a.A){var b=a.B.na();a.A=a.o.createMediaElementSource(b)}return a.A};
g.yQ=function(a){for(var b;0<a.C.length;)b=a.C.pop(),b.disconnect();a.A&&a.A.disconnect()};
zQ=function(a,b,c){this.audio=a;this.video=b;this.reason=c};
AQ=function(a){this.A=window.Float32Array?new window.Float32Array(a):Array(a);this.B=this.o=a-1};
kna=function(a){return a.A[a.o]||0};
lna=function(){this.D=new AQ(50);this.o=null;this.C=this.B=0;this.A=null};
BQ=function(){return!("function"!=typeof window.fetch||!window.ReadableStream)};
CQ=function(a){if(a.Bp())return!1;a=a.se("content-type");return"audio/mp4"==a||"video/mp4"==a};
EQ=function(a,b,c){g.VF.call(this);var d=new mna;"ULTRALOW"==a.latencyClass&&(d.C=!1);a.cn?d.B=3:g.qP(a)&&(d.B=2);b.o("html5_adaptive_seek_to_head_killswitch")||"NORMAL"!=a.latencyClass||(d.G=!0);var e=21530001==hP(a),f=b.o("html5_live_no_streaming_impedance_mismatch")||"ULTRALOW"==a.latencyClass&&b.o("html5_ull_no_streaming_impedance_mismatch")||e;d.D=f&&gP(a)&&(a.hasSubfragmentedFmp4&&(!jma(a)||!BQ())||a.defraggedFromSubfragments);d.D&&(d.K++,e&&(d.F=b.A("html5_jumbo_ull_nonstreaming_mffa_ms")||
window.NaN));JE()&&(e=b.A("html5_platform_minimum_readahead_seconds")||3,d.A=Math.max(d.A,e));b.A("html5_minimum_readahead_seconds")&&(d.A=b.A("html5_minimum_readahead_seconds"));b.A("html5_maximum_readahead_seconds")&&(d.H=b.A("html5_maximum_readahead_seconds"));b.o("html5_force_adaptive_readahead")&&(d.C=!0);b.A("html5_allowable_liveness_drift_chunks")&&(d.o=b.A("html5_allowable_liveness_drift_chunks"));b.A("html5_readahead_ratelimit")&&(d.J=b.A("html5_readahead_ratelimit"));switch(hP(a)){case 21530001:d.o=
(d.o+1)/5,"LOW"==a.latencyClass&&(d.o*=2)}this.o=d;this.C=a;this.J=c;this.B=[];this.D=0;this.F=1!=this.o.B;this.G=!1;this.H=0;b=(0,window.isNaN)(a.liveChunkReadahead)?3:a.liveChunkReadahead;a.cn&&b--;a.isLowLatencyLiveStream&&"NORMAL"!=a.latencyClass||b++;switch(hP(a)){case 21530001:b=1;break;case 2153E4:b=2}this.o.D&&b++;this.A=DQ(this,b)};
GQ=function(a){return FQ(a)*a.A};
IQ=function(a,b){var c=HQ(a);var d=a.o.o;a.G||(d=Math.max(d-1,0));d*=FQ(a);return b>=c-d};
HQ=function(a){return Math.max(a.J()-GQ(a),a.C.bc())};
nna=function(a){return(a.A-1+a.o.o)*FQ(a)};
ona=function(a,b,c){3==a.o.B&&((b=IQ(a,b),c||b)?b&&(a.F=!0):a.F=!1)};
pna=function(a,b){var c=IQ(a,b);a.G!=c&&a.V("livestatusshift",c);a.G=c};
FQ=function(a){return a.C.ua?oM(a.C.ua)||5:5};
DQ=function(a,b){b=Math.max(Math.max(a.o.K,Math.ceil(a.o.A/FQ(a))),b);return Math.min(Math.min(8,Math.floor(a.o.H/FQ(a))),b)};
mna=function(){this.K=1;this.A=0;this.H=window.Infinity;this.J=0;this.C=!0;this.o=2;this.B=1;this.D=!1;this.F=window.NaN;this.G=!1};
KQ=function(a,b){this.W=a;this.ca=b;this.o=new JQ(0,0,null);this.C=8;this.B=[];this.G=[];this.D=this.J=window.NaN;this.O=this.A=this.K=0;this.F=window.NaN;this.aa=0;this.N=!1;this.H=null;this.L=0};
LQ=function(a){return{startTime:a.F/a.A,duration:a.O/a.A}};
qna=function(a){a.F=window.NaN;a.O=0;a.H=null;a.L=0};
MQ=function(a){return!(0,window.isNaN)(a.D)&&a.A?a.D/a.A:a.aa};
NQ=function(a,b,c){var d=b.getUint32(c);b=b.getUint32(c+4);a.o=new JQ(b,d,a.o);return 8};
OQ=function(a){a.A&&!(0,window.isNaN)(a.J)&&(a.D=Math.floor(a.J*a.A),a.J=window.NaN)};
rna=function(a){return 0==a.o.type||1836019574==a.o.type||1952867444==a.o.type||1936286840==a.o.type||1953653094==a.o.type||1836019558==a.o.type||1836476516==a.o.type};
sna=function(a,b,c){for(var d=c;d<b.byteLength;d++)a.B.push(b.getUint8(d));0<c&&a.G.push(new window.DataView(b.buffer,b.byteOffset,c))};
PQ=function(a,b,c){return new MJ(b,c,a.o.size,a.o.type,!0)};
JQ=function(a,b,c){this.type=a;this.size=b;this.parent=c;this.offset=this.version=0};
tna=function(a,b){this.A=a;this.F=this.D=!1;this.length=b?b:0;this.B=0;this.o=[];this.C=null;this.length?1!=this.A.length||this.A[0].gb||(this.A[0].gb=this.length):1==this.A.length||(0,g.Am)(this.A,function(a){return!!a.range})};
una=function(a){var b=a.length-a.B;(0,g.D)(a.o,function(a){b+=a.range.length});
return b};
vna=function(a,b){this.A=a;this.o=b};
wna=function(a,b){if(0>b)return!0;var c=a.o.Qb();return b<c||b==c&&!a.A.ba||b==c&&(c=LL(a.o))&&b==c.Aa?!0:!1};
xna=function(a,b,c){if(!wna(a,b))return 0;if(!a.A.o||!(0,window.isNaN)(c)&&0<c)return 2;if(0>b)return 1;c=a.o.Qb();return b<c||b==c&&(a=LL(a.o))&&b==a.Aa&&!a.o?2:1};
yna=function(a,b,c,d){if(wna(a,b))return d;b=0;a.A.o&&(b=.2);return c+1E3*(a.o.o+b)};
zna=function(a,b,c,d,e){b=xna(a,b,e);if(2==b)return d;c=b?d:c+1E3*a.o.o;a.A.o&&(c+=1E3*a.o.o);return c};
Ana=function(a){this.F=a;this.C=window.NaN;this.D=[];this.B=this.o=this.A=0};
Bna=function(a,b,c,d,e){this.wa=null;this.A=a;this.xa=b;this.yb=c;this.aa=d;this.G=e;this.ha=this.o=window.NaN;this.sa=0;this.W=this.ia=this.B=this.F=window.NaN;this.oa=this.ka=this.C=!1;this.D=0;this.ga=DM(this.A);this.ba=window.NaN;this.L=this.J=window.Infinity;this.N=window.NaN;this.pa=!1;this.K=this.O=window.NaN;this.H=this.ca=null};
Cna=function(a){return{rt:((0,g.H)()-a.o).toFixed(),lb:a.B.toFixed(),pt:(1E3*a.ba).toFixed(),pb:a.xa.toFixed(),stall:(1E3*a.D).toFixed(),elbowTime:(a.ha-a.o).toFixed(),elbowBytes:a.sa.toFixed()}};
QQ=function(a){a.K||(a.K=a.wa(),3==a.K&&(a.ca=new Ana(a.A)));return a.K};
Ena=function(a,b,c,d){var e=(b-a.F)/1E3,f=c-a.B,k=QQ(a);if(3==k&&f){var l=a.ca;l.D.push({lq:f,yx:(0,window.isNaN)(l.C)?window.NaN:d-l.C,f6:d});l.C=d}a.C?1==k&&0<f&&(.2<e||1024>f?(a.D+=e,.2<e&&SQ(a,.05,f)):SQ(a,e,f),a.oa=!0):RQ(a,c)&&(1==k&&(d=(b-a.o)/1E3,Dna(a)||(k=a.A,k.G.o(1,d),xM(k))),a.ha=b,a.sa=c,a.C=!0);AM(a.A,e,f);a.F=b;a.B=c};
SQ=function(a,b,c){b=Math.max(b,.05);a=a.A;var d=void 0;a.o.o(void 0===d?b:d,c/b);a.B=g.tG()};
UQ=function(a,b,c){c=Math.round(c/1024);a.H&&a.H.push(TQ(b-a.ia,c-a.W));a.ia=b;a.W=c};
RQ=function(a,b){return b?a.G&&1!=QQ(a)?!0:b>=a.A.policy.C:!1};
VQ=function(a){return RQ(a,a.B)};
Fna=function(a){a.N=a.o+1E3*a.ga.delay;a.pa=!1};
WQ=function(a,b){var c=a.aa.o[0].Aa;a.J=Math.min(a.J,yna(a.G,c,a.o,b));a.L=Math.min(a.L,zna(a.G,c,a.o,b,a.aa.B));a.J<=a.o?Fna(a):(a.N=a.J,a.pa=!0)};
Dna=function(a){a.G&&WQ(a,(0,g.H)());return a.pa};
Gna=function(a,b){b=void 0===b?(0,g.H)():b;if(a.G){WQ(a,b);var c=a.K?a.G?1!=QQ(a):!1:a.J!=a.L;if(c){if(c=a.L,b<c){a.O=a.L;return}}else c=a.J;c=Math.max(c,a.N)}else c=a.N;var d=a.xa-a.B;0>d&&a.A.policy.F&&(d=0);d=1E3*(d*a.ga.stall+d/a.ga.byterate);d=VQ(a)?d+b:d+Math.max(b,c);a.O=d};
TQ=function(a,b){for(var c="";4095<a;)c+=TQ(4095,0),a-=4095;for(;4095<b;)c+=TQ(a,4095),b-=4095,a=0;return c+("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_".charAt(a>>6&63)+"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_".charAt(a&63)+"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_".charAt(b>>6&63)+"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_".charAt(b&63))};
Ina=function(a,b,c,d,e,f){this.status=0;this.K=this.response=null;this.O=d;this.D=c;this.W=e;this.G=f;this.C=[];this.B=null;this.A=this.o=0;this.Ja=Hna++;this.F=null;a=new window.Request(a,{method:"GET",credentials:"include"});(0,window.fetch)(a).then(hE((0,g.B)(this.PW,this)),hE((0,g.B)(this.gD,this)));(0,g.H)();this.N=this.H=this.J=!1;this.L="";b()};
Kna=function(a,b){a.A+=b.length;var c=b.length;var d=XQ(a)?1:Math.max(YQ(a)/2,16384);c=c>=d;d=b.length+a.o>YQ(a);a.N?((c||d)&&0!==a.o&&ZQ(a),c?a.C.push(b):Jna(a,b)):(Jna(a,b),a.A>=(XQ(a)?1:16384)&&ZQ(a))};
ZQ=function(a){a.N=!0;a.C.push(a.B.subarray(0,a.o));a.o=0;a.B=a.J?null:new window.Uint8Array(YQ(a))};
Jna=function(a,b){if(b.length+a.o>YQ(a)){var c=new window.Uint8Array(a.o+b.length);c.set(a.B,0);a.B=c}a.B.set(b,a.o);a.o+=b.length};
Lna=function(a){a.F.read().then(hE((0,g.B)(a.yS,a)),hE((0,g.B)(a.gD,a)));(0,g.H)()};
aR=function(a){if(a.D){a.J=!0;if($Q(a)&&!a.C.length&&!a.o&&!a.H&&a.A){CQ(a);if(!a.B||8>a.B.length)a.B=new window.Uint8Array(8);var b=new window.DataView(a.B.buffer,0,8);b.setUint32(0,8);b.setUint32(4,1936419184);a.o=8;a.A+=8}a.O()}};
XQ=function(a){return a.G.Qa&&a.G.o&&CQ(a)};
$Q=function(a){return a.G.Od&&a.G.o&&CQ(a)};
YQ=function(a){a=a.Bp()||0;return Math.max(16384,.125*a)};
Mna=function(a,b,c,d,e){this.status=0;this.response=null;this.A=this.B=!1;this.o=new window.XMLHttpRequest;this.o.open("GET",a);this.o.responseType="arraybuffer";this.o.withCredentials=!0;this.o.onreadystatechange=(0,g.B)(this.WP,this);this.C=d;this.F=c;this.D=e;a=hE((0,g.B)(this.UP,this));this.o.addEventListener("load",a,!1);this.o.addEventListener("error",a,!1);this.o.send();b();this.o.addEventListener("progress",hE((0,g.B)(this.VP,this)),!1)};
bR=function(a,b,c,d){this.B=a;this.info=b;this.timing=c;this.aa=d;this.state=1;this.o=this.ca=null;this.G=this.H=0;this.W=new g.U(this.WW,a.J,this);this.D=this.C=this.J=null;this.F=0;this.N=this.A=null;this.O=0;this.ba=this.L=!1;this.K=this.B.wa&&(CL(this.info)||BL(this.info))};
Nna=function(a,b){a.J=b};
cR=function(a){return a.C?lL(a.C.o):""};
dR=function(a){var b=Cna(a.timing);b.shost=cR(a);b.rn=a.H.toString();a.F&&(b.rc=a.F.toString());b.itag=""+g.xI(a.info.o[0].o.info);b.ml=""+ +a.info.o[0].o.Uc();b.sq=""+a.info.o[0].Aa;410!=a.F&&500!=a.F&&503!=a.F||(b.fmt_unav="true");a.o&&a.o.Rv()&&(b.msg=a.o.Rv());return b};
eR=function(a){cR(a);return gL(a.aa,cR(a))};
gR=function(a){if("net.timeout"==a.D){var b=a.timing,c=(0,g.H)();c=c>b.o&&4E12>c?c:(0,g.H)();UQ(b,c,1024*b.W);var d=(c-b.o)/1E3;if(2!=QQ(b))if(VQ(b))b.D+=(c-b.F)/1E3,yM(b.A,b.B,b.D);else{if(!Dna(b)){var e=b.A;e.G.o(1,d);xM(e)}b.ha=c}e=b.A;var f=b.ba,k=BL(b.aa);e.F.o(d,b.B/d);e.B=g.tG();k||e.A.o(1,d-f);AM(b.A,(c-b.F)/1E3,0)}else(0,g.H)();"net.nocontent"!=a.D&&("net.timeout"==a.D||"net.connect"==a.D?(b=eR(a),b.A+=1):(b=eR(a),b.o+=1),a.info.A.o++);fR(a,7)};
Ona=function(a){if(1==a.state)return!0;a=eR(a);return 100>a.A&&6>a.o};
fR=function(a,b){a.state=b;if(5<=a.state){var c=a.timing;c.C&&(c.C=!1)}a.J&&a.J(a)};
Qna=function(a,b){if(b){var c=eR(a);c.C+=1}Pna(a);a.D="net.timeout";gR(a)};
hR=function(a){return(0,g.Am)(a.info.o,function(a){return 3==a.type})};
Pna=function(a){if(a.o){var b=a.o;a.o=null;b.abort()}a=a.timing;a.C&&(a.C=!1)};
Rna=function(a){var b=a.o.se("content-type"),c=a.o.Bp();(b=(!iR(a)||!b||-1!=b.indexOf("text/plain"))&&(!c||2048>=c))&&iR(a)&&XQ(a.o);return b};
Sna=function(a,b){var c=(0,g.B)(a.wW,a),d=(0,g.B)(a.zW,a),e=(0,g.B)(a.yW,a),f=(0,g.B)(a.xW,a);return a.B.G&&(a.B.ty&&!(0,window.isNaN)(a.info.B)&&a.info.B>a.B.Ko?0:BQ()&&hR(a))?new Ina(b,d,e,c,f,a.B):new Mna(b,d,e,c,f)};
iR=function(a){return a.o?a.o.AG():!1};
jR=function(a){return 2<=a.state&&!!a.A&&!!a.A.o.length};
Tna=function(a,b){if(b||iR(a)&&!Rna(a)){if(!a.A){var c;iR(a)||(c=a.o.Qt());a.A=new tna(a.info.o,c)}for(;a.o.lj();){c=a.A;for(var d=a.o.qG(),e=b&&!a.o.lj(),f=0,k=0,l=g.q(c.A),m=l.next();!m.done;m=l.next())if(m=m.value,m.range&&f+m.gb<=c.B)f+=m.gb;else{var n=c,p=m;if(1==p.type){n.D=!0;var r=!1}else 3==p.type||4==p.type?(p=n.D&&!n.F,n.F=!0,r=p):r=!1;n=c;var v=c.B-f,z=k;p=d;r=r||m.o.BC();var E=p.length-z;m.range&&(E=Math.min(m.gb-v,E));v=BK(m,m.A+v,E,m.range?m.A+v+E==m.range.length:!!e);var J=tK(p.byteOffset,
p.length);z=tK(p.byteOffset+z,E);n.o.push(new WK(v,p.buffer,z,J,r));n=E;c.B+=n;k+=n;f+=m.gb;if(k==d.length)break}}}};
Una=function(a){if(!a.B.o||!(0,window.isNaN)(a.info.B)&&0<a.info.B)return!1;if(!a.o||!a.o.Sm())return!0;if(!CQ(a.o))return!1;if((0,window.isNaN)(a.info.B)){var b=a.o.se("x-head-seqnum");if(b&&(0,window.parseInt)(b,10)>a.info.o[0].Aa)return!1}return!0};
Vna=function(a){for(var b=new window.Uint8Array(0),c=new window.DataView(a.buffer,a.byteOffset,a.length),d=0;d<a.length-8;){var e=c.getUint32(d);if(1>=e)break;var f=c.getUint32(d+4);if(1836019574==f)d+=8;else{if(1886614376==f){f=a.subarray(d,d+e);var k=new window.Uint8Array(b.length+f.length);k.set(b);k.set(f,b.length);b=k}d+=e}}return b};
Wna=function(a){a=qK(a,1886614376);(0,g.D)(a,function(a){return!a.A});
return(0,g.I)(a,function(a){return new window.Uint8Array(a.data.buffer,a.offset+a.data.byteOffset,a.size)})};
Xna=function(a){var b=(0,g.Yj)(a,function(a,b){return a+b.length},0),c=new window.Uint8Array(b),d=0;
(0,g.D)(a,function(a){c.set(a,d);d+=a.length});
return c};
kR=function(a){return g.se(a,!0).replace(/[\.]{1,2}$/,"")};
Yna=function(a,b,c){g.VF.call(this);this.F=0;this.B=a;this.o=[];this.C=null;this.L=b;this.ba=c;this.D=this.G=window.NaN;this.O=null;this.ga=(0,g.B)(function(a){this.B.oH&&(this.V("timestamprewrite",a),this.B.oH=!1)},this);
this.W=this.A=null;this.aa="constructor";this.K=window.NaN;this.ca=this.J=null;this.N=!1;this.H=null;this.B.aa&&(this.A=new KQ(this.B,this.ba))};
lR=function(a){return a.o.length?a.o[0]:null};
mR=function(a){return a.o.length?a.o[a.o.length-1]:null};
$na=function(a,b,c){b=Zna(a,b,c);(0,g.D)(b,function(b){a.o.push(b)})};
boa=function(a,b,c){if(1==c.info.type){var d=XK(c);zI(c.info.o.info)&&!AI(c.info.o.info)&&(LK(new EK(d)),KK(21936,d));if(!a.B.mH&&AI(c.info.o.info)&&"bt2020"==c.info.o.info.video.primaries){var e=new EK(d);GK(e,[408125543,374648427,174,224,21936,21937])&&(e=e.B+e.o,129==d.getUint8(e)&&1==d.getUint8(e+1)&&d.setUint8(e+1,9))}c.info.o.info.video&&GL(c.info.o,d);2==c.info.o.info.containerType&&c.info.o.info.video&&MK(d);if(nR(a,c)){try{eL(c)}catch(f){throw d=f,a.B.Kb&&a.V("warning",b,c,d.message),d;}g.BI(c.info.o.info)&&
pK(XK(c),1701671783)}}c.info.o.Op(c);aoa(a,c)};
coa=function(a){if(!a.o.length)return 0;for(var b=a.o[0].B.length,c=1;c<a.o.length;c++)a.o[c].buffer!=a.o[c-1].buffer&&(b+=a.o[c].B.length);a.C&&(b+=a.C.B.length);return b};
oR=function(a){return(0,g.I)(a.o,function(a){return a.info})};
doa=function(a,b,c){(0,window.isNaN)(a.K)||a.K==b.H||pR(a,b,null,"Mismatch get",c);return a.W};
qR=function(a,b,c,d){(0,window.isNaN)(a.K)||a.K==b.H||pR(a,b,c,"Mismatch set",d);var e=c?c.o:null;e&&a.W&&pR(a,b,c,"Duplicated set",d);a.W=e;a.aa=d;a.K=e?b.H:window.NaN};
pR=function(a,b,c,d,e){a.B.Fi&&a.V("warning",b,c,d+" current emsg by "+e+", previously "+a.aa)};
rR=function(a,b){a.N=!1;a.H&&!a.B.rd&&a.V("placeholderrollback",a.H);a.H=null;if(a.A){var c=(0,window.isNaN)(a.D)?b.info.o[0].range?b.info.o[0].D:(0,window.isNaN)(a.A.F)?MQ(a.A):LQ(a.A).startTime:a.D;a.A.reset();a.J=a.ca;a.D=c}qR(a,b,null,"rollbackRequest")};
eoa=function(a){return a.A?MQ(a.A):a.G||0};
Zna=function(a,b,c){if(!c.verify()||c.info.o.Wu()){var d=zK(c.info);d.verification="1";a.V("error",d||{})}c.A&&c.info.o.info.video&&GL(c.info.o,XK(c));c.info.B&&(a.ca=c.info);if(!a.L.Vf()){2==c.info.o.info.containerType&&(d=XK(c),c.A&&c.info.o.info.video&&MK(d));(d=doa(a,b,"get"))&&CK(c.info,d);!a.J||(a.B.xh?xK(a.J,c.info,!0):yK(a.J,c.info))||(a.A&&a.A.reset(),a.G=window.NaN,a.F=0);a.J=c.info;if(a.A)b:{var e;(e=!(0,window.isNaN)(a.D))||(e=a.A,e=!(!(0,window.isNaN)(e.D)||!(0,window.isNaN)(e.J)));e&&
(e=a.A,e.J=(0,window.isNaN)(a.D)?(0,window.isNaN)(a.G)?c.info.startTime:a.G:a.D,OQ(e),a.D=window.NaN);e=XK(c);e=a.A.process(e);if(d=c.info.B)d=a.A,d=!(0==d.o.type&&!d.B.length);d&&!a.B.yh&&(d=zK(c.info),d.partialbox="1",a.V("error",d||{}));var f=b.timing;d=!!c.info.A&&1936286840!=e&&!(a.B.Od&&1936419184==e);var k=c.info.B;if(3==QQ(f)&&(e=f.ca,e.D.length)){f=e.D.shift();var l=f.yx;d||(f.lq-=Math.min(f.lq,1500),f.yx=0);e.A+=f.lq;e.o+=f.yx;e.B+=(0,window.isNaN)(l)?0:l;k&&(0>=e.o||(d=e.F,k=e.o/1E3,f=
e.B/1E3,d.o.o(void 0===f?k:f,e.A/k),d.B=g.tG()),e.o=0,e.A=0,e.B=0)}if(a.B.Fy&&a.B.o){if(!a.A.N&&!c.info.B){c=null;break b}}else if((0,window.isNaN)(a.A.F)){c=null;break b}e=a.A;f=c.info.o.info;if(e.G.length){e.N=!1;d=0;l=g.q(e.G);for(k=l.next();!k.done;k=l.next())d+=k.value.byteLength;if(!e.H||e.H.length-e.L<d)e.H=new window.Uint8Array(Math.max(d,e.W.Rj+Math.round(f.o*e.W.Ii))),e.L=0;l=f=e.L;var m=g.q(e.G);for(k=m.next();!k.done;k=m.next())k=k.value,e.H.set(new window.Uint8Array(k.buffer,k.byteOffset,
k.byteLength),f),f+=k.byteLength;e.G.length=0;e.L=f;e=new window.DataView(e.H.buffer,l,d)}else e=null;e?(d=tK(e.byteOffset,e.byteLength),k=tK(0,e.buffer.byteLength),f=c.info.A+c.info.gb-a.A.B.length-e.byteLength,l=BK(c.info,f,e.byteLength,c.info.B),c=new WK(l,e.buffer,d,k,c.A&&!f)):c=null}else a.B.Ha?e=a.ba($K(c),1):e=(0,window.isNaN)(a.D)?(0,window.isNaN)(a.G)?c.info.startTime:a.G:a.D,a.D=window.NaN,aL(c,e)?a.G=e+bL(c):(e=zK(c.info),e.smst="1",a.V("error",e||{}));if(!c)return[];if(nR(a,c)){try{eL(c)}catch(n){throw e=
n,a.B.Kb&&a.V("warning",b,c,e.message),e;}c.o&&(qR(a,b,c,"processSlice"),a.N=!!a.A,CK(c.info,c.o),CK(a.J,c.o))}nR(a,c)&&g.BI(c.info.o.info)&&pK(XK(c),1701671783);k=c;if(e=doa(a,b,"publishMediaInfo"))if(k.info.B){a.N=!1;a.H=null;a.A?(k=LQ(a.A),qna(a.A),d=k.startTime,k=k.duration):(d=$K(k),k=bL(k));k=new JJ(e.A,d,k,e.ingestionTime,"sq/"+e.A,void 0,void 0,!1);a.V("segmentinfo",k);if(f=e.o["Cuepoint-Type"]?new WJ(sR?(0,window.parseFloat)(e.o["Cuepoint-Playhead-Time-Sec"])||0:-((0,window.parseFloat)(e.o["Cuepoint-Playhead-Time-Sec"])||
0),(0,window.parseFloat)(e.o["Cuepoint-Total-Duration-Sec"])||0,e.o["Cuepoint-Context"],e.o["Cuepoint-Identifier"]||"",foa[e.o["Cuepoint-Event"]||""]||"unknown",(0,window.parseFloat)(e.o["Cuepoint-Playhead-Time-Sec"])||0):null)f.o+=d,a.V("cuepoint",f,e.A);e=k}else a.N&&!(0,window.isNaN)(a.A.F)?(d=LQ(a.A).startTime,e=new JJ(e.A,d,e.H,e.ingestionTime,"sq/"+e.A,void 0,void 0,!0),a.H=e,a.V("placeholderinfo",e),a.N=!1):e=null;else e=null;d=c;if(a.B.vo)if(e)for(DK(d.info,e),d=g.q(b.info.o),k=d.next();!k.done;k=
d.next())DK(k.value,e);else a.H&&DK(d.info,a.H);c.info.B&&qR(a,b,null,"isEndOfSegment");aoa(a,c)}b=c;if(a.B.yy&&!a.L.Vf()&&(0==b.info.A||a.C)&&g.BI(b.info.o.info)&&3==b.info.type&&!cL(b)&&b.info.duration&&!a.B.aa&&(b=c,a.F+=1E3*(bL(b)-b.info.duration),a.O&&Math.abs(a.F-a.O.F)>=a.B.xo))return b=c,c=(a.O.F-a.F)/1E3,e=bL(b)+c,d=new window.DataView(b.buffer),d=(d=g.eK(d,1936286840))?nK(d):window.NaN,(0,window.isNaN)(d)&&(d=b.info.o.o,k=new window.DataView(b.buffer),d=(k=g.eK(k,1836476516))?fK(k):d?gK(d):
window.NaN),(d=goa(a,b,e*d))&&d.length&&(k=zK(b.info),k.fds=e.toFixed(3),k.com=a.F.toFixed(3),a.V("timestamprewrite",k),a.G+=c,a.F+=1E3*c),d?d:hoa(a,b);a.B.wd&&a.L.Vf()&&(0==c.info.A||a.C)&&g.BI(c.info.o.info)?(b=c,c=b.info.o.index.Ut(b.info.Aa),a=(c=goa(a,b,c))?c:hoa(a,b)):a=[c];return a};
aoa=function(a,b){if(a.B.ga&&a.L.info.zd)if(2==b.info.o.info.containerType){var c=new EK(XK(b));if(GK(c,[408125543,374648427,174,28032,25152,20533,18402])){var d=JK(c,!0);c=16!=d?null:QK(c,d)}else c=null;c&&(b.info.o.H={type:"webm",key:c})}else b.info.H=Wna(XK(b)),c=Xna(b.info.H),0<c.length&&(b.info.o.H={type:"cenc",key:c})};
nR=function(a,b){return!a.L.Vf()&&0==b.info.A&&(g.BI(b.info.o.info)||2==b.info.o.info.containerType)};
hoa=function(a,b){if(a.C&&a.C!=b){var c=[a.C,b];a.C=null;return c}return[]};
goa=function(a,b,c){if(a.C){var d=a.C;var e=new window.Uint8Array(d.range.length+b.range.length);e.set(new window.Uint8Array(d.buffer,d.range.start,d.range.length));e.set(new window.Uint8Array(b.buffer,b.range.start,b.range.length),d.range.length);d=new window.DataView(e.buffer);oK(d)}else d=XK(b),e=oK(d),e&&e<d.byteLength||(a.C=b,d=null);if(!d)return null;c=Bka(d,c,a.ga);if(!c)return null;d=oK(d);a.C&&(d-=a.C.range.length,a.C=null);a=ZK(b,d);a[0].buffer=c;a[0].range=tK(0,c.byteLength);a[0].B=tK(0,
c.byteLength);b=a[0];c=new window.DataView(c);c=!!cK(c,0,1836019574);b.A=c;return a};
tR=function(a,b,c){this.A=b;this.C=[];this.B=new Yna(a,b,c);this.O=this.D=this.o=null;this.N=0;this.K=b.info.o;this.J=!1;this.L=0;this.G=b.Ik();this.F=-1;this.H=this.G?0:window.NaN};
uR=function(a,b){a.C.push(b);a.o=g.Ga(b.info.o)};
joa=function(a){for(;a.C.length&&6==a.C[0].state;){var b=a.C.shift();ioa(a,b);b=b.timing;a.N=(b.F-b.o)/1E3}a.C.length&&jR(a.C[0])&&!BL(a.C[0].info)&&ioa(a,a.C[0])};
ioa=function(a,b){if(jR(b)){b.L=!0;var c=b.A,d=c.o;c.o=[];c.C=g.Ga(d).info;(0,g.D)(d,(0,g.B)(a.W,a,b))}};
xR=function(a,b){a.A.Uc();var c=vR(a,b);if(0<=c)return c;a.o=a.A.Vg(b).o[0];wR(a)&&(a.D=null);a.L=0;return a.o.startTime};
yR=function(a){var b=0;(0,g.D)(a.C,function(a){var c=b;a=a.A&&a.A.length?una(a.A):EL(a.info);b=c+a},a);
return b+=coa(a.B)};
AR=function(a){zR(a);a.B.o=[]};
koa=function(a,b){var c;for(c=0;c<a.C.length&&b!==a.C[c];c++);if(c==a.C.length)b.L&&rR(a.B,b),b.dispose();else{for(;c<a.C.length;){var d=a.C.pop();d.L&&rR(a.B,d);d.dispose()}3==b.info.o[0].type?(b.A&&b.A.C?(c=b.A.C,c=new vK(c.type,c.o,c.range,c.Aa,c.startTime+c.duration,0,c.A+c.gb,0,!1)):(c=b.info.o[0],c=new vK(c.type,c.o,c.range,c.Aa,c.startTime,0,c.A,0,!1)),a.o=c):a.o=null}};
wR=function(a){return!!a.D&&a.D.F};
loa=function(a){var b=[];a.D&&b.push(a.D);b=g.Ua(b,oR(a.B));(0,g.D)(a.C,function(a){(0,g.D)(a.info.o,function(c){a.L&&(b=(0,g.Vd)(b,function(a){return!(a.o!=c.o?0:a.range&&c.range?a.range.start+a.A>=c.range.start+c.A&&a.range.start+a.A+a.gb<=c.range.start+c.A+c.gb:a.Aa==c.Aa&&a.A>=c.A&&(a.A+a.gb<=c.A+c.gb||c.B))}));
3!=c.type&&4!=c.type||b.push(c)})});
a.o&&!Dka(a.o,g.Ga(b),a.o.o.Vf())&&b.push(a.o);return b};
moa=function(a,b){if(!a.length)return!1;for(var c=b+1;c<a.length;c++)if(!yK(a[c-1],a[c]))return!1;return!0};
vR=function(a,b,c){c=void 0===c?!1:c;if(!a.o||!a.o.gb)return window.NaN;a=loa(a);a:{var d=c;d=void 0===d?!1:d;for(var e=-1,f=0;f<a.length;++f){var k=a[f];if(k.D<=b)if(d)e=f;else if(k.startTime+k.duration>=b){b=f;break a}}b=e}return 0>b||!moa(a,c?b:0)?window.NaN:a[b].startTime};
noa=function(a){return(0,g.Pj)(a.C,function(a){return 4<=a.state})};
BR=function(a){return!(!a.o||a.o.o==a.A)};
CR=function(a){return BR(a)&&a.A.Uc()&&a.o.o.info.o<a.A.info.o};
ooa=function(a,b,c){return(a=mR(a.B)?mR(a.B).info:a.D)&&!a.F?a.C>b&&a.C<b+c:!1};
zR=function(a){(0,g.D)(a.C,function(a){a.L&&rR(this.B,a);a.dispose()},a);
a.C=[];a.o=null};
poa=function(a){return!!a.o&&-1!=a.o.Aa&&a.o.Aa<a.A.index.xf()};
qoa=function(a){if(a.o){var b=mR(a.B);b&&3==b.info.type&&-1==a.o.Aa&&(a.o.Aa=b.info.Aa)}};
roa=function(a){return(0,g.Pj)(a.C,function(a){return a.K})};
soa=function(a,b){this.A=a;this.o=b;this.B=1};
toa=function(a,b){var c=Math.min(2.5,zM(a.A)),d=DR(a);return b-c*d};
ER=function(a,b,c,d,e){e=void 0===e?!1:e;d/=a.B;var f=1/g.CM(a.A);var k=.9*(d-a.o.Ob);k=Math.max(k,zM(a.A)+a.A.policy.C*f);c=k/f*a.o.qy/(b+c);a.o.Gg&&(d-=a.o.Ob);c=Math.min(c,d);a.o.Sb&&e&&(c=Math.max(c,a.o.Sb));return uoa(a,c,b)};
uoa=function(a,b,c){return Math.ceil(Math.max(Math.max(65536,a.o.my*c),Math.min(Math.min(a.o.O,a.o.Da*c),Math.ceil(b*c))))};
voa=function(a,b){var c=uoa(a,b.video?a.o.bz:a.o.Fg,b.o);return a.o.xe&&b.video?Math.max(c,a.o.xe):c};
DR=function(a){var b=g.CM(a.A);if(a.o.Hi)return b;var c=a.o.ky,d=1E-9+zM(a.A);b*=Math.min(1,c/(b*d));a.o.we&&(c=((wM(a.A.A,.98)||0)-1)/2,c=Math.max(0,Math.min(1,c)),b*=1-a.o.we*c);return b};
FR=function(a){return DR(a)/a.B};
woa=function(a,b,c,d){this.W=a;this.G=b;this.F=c;this.H=d;this.D=FJ;this.B=this.L=null;this.N=-1;this.A=this.C=null;this.o=[];this.O={};this.J=0;this.K=this.ca=!1;this.aa=0};
xoa=function(a,b){if(CJ(a.D,b))return null;if("m"==b.reason&&b.isLocked())return GR(a,b),a.J=a.o.length-1,HR(a),IR(a),a.K=a.K||a.B!=a.A,a.B=a.A,new zQ(a.C,a.B,b.reason);"r"==b.reason&&(a.N=-1);GR(a,b);IR(a);if("r"==b.reason&&a.A==a.B)return new zQ(a.C,a.A,b.reason);if(a.B&&a.A&&JR(a,a.B.info)<JR(a,a.A.info)){var c=a.D.reason;a.ca=a.ca||"r"==c||"u"==c||"v"==c}return null};
zoa=function(a,b){if(b.info.video){if(a.B!=b)return a.B=b,yoa(a)}else a.L=b;return null};
KR=function(a,b){b.L=g.tG();a.N=-1;GR(a,a.D)};
LR=function(a){for(var b=g.tG()-6E4,c=g.q(a.H.videoInfos),d=c.next();!d.done;d=c.next())if(a.F.o[d.value.id].L>b)return!0;return!1};
MR=function(a){return a.D.isLocked()};
yoa=function(a){a.N=g.tG();a.ca=!1;return new zQ(a.L,a.B,a.D.reason)};
GR=function(a,b){a.D=b;var c=a.H.videoInfos;if(!MR(a)){var d=g.tG()-6E4;c=(0,g.Vd)(c,function(a){if(a.o>this.G.H)return!1;a=this.F.o[a.id];return a.L>d?!1:4<a.C.o||4<a.K||a.D?!1:!0},a);
if(LR(a)){var e=(0,g.Vd)(c,function(a){a=g.xI(a);return"140"==a||"134"==a||"243"==a});
e.length&&(c=e)}}c.length||(c=a.H.videoInfos);e=(0,g.Vd)(c,b.C,b);e.length||(e=[c[0]]);e.sort((0,g.B)(function(a,b){return JR(this,a)-JR(this,b)},a));
for(c=1;c<e.length;c++){var f=e[c-1],k=e[c];f.video.width>k.video.width?(g.Ra(e,c),c--):JR(a,f)*a.G.A>JR(a,k)&&(g.Ra(e,c-1),c--)}c=e[e.length-1];a.o=e;Hka(a.G,c)};
Aoa=function(a,b){if(b)a.C=a.F.o[b];else{var c=g.Ia(a.H.o,function(a){return!!a.Mb&&a.Mb.isDefault});
c=c||a.H.o[0];a.C=a.F.o[c.id]}HR(a)};
HR=function(a){if(!a.C.info.Mb&&(a.C=a.F.o[a.H.o[0].id],1<a.H.o.length)){if(a.G.preferLowQualityAudio)var b=!0;else if(a.D.isLocked())b=240>a.D.o;else{for(b=0;b+1<a.o.length&&"tiny"==a.o[b].video.quality;)b++;var c=FR(a.W)/a.G.A;b=JR(a,a.C.info)+JR(a,a.o[b])>c}b&&(a.C=a.F.o[a.H.o[1].id])}};
IR=function(a){if(MR(a))a.A=a.F.o[a.o[a.o.length-1].id];else{for(var b=Math.min(a.J,a.o.length-1),c=FR(a.W),d=JR(a,a.C.info),e=c/a.G.C-d;0<b&&!(JR(a,a.o[b])<=e);b--);for(c=c/a.G.A-d;b<a.o.length-1&&!(JR(a,a.o[b+1])>=c);b++);a.A=a.F.o[a.o[b].id];a.J=b}};
Boa=function(a){var b=a.G.C,c=FR(a.W)/b-JR(a,a.C.info);b=g.Ja(a.o,function(a){return JR(this,a)<c},a);
0>b&&(b=0);a.J=b;a.A=a.F.o[a.o[b].id]};
JR=function(a,b){if(!a.O[b.id]){var c=a.F.o[b.id].index.RA(a.aa,15);c=b.C&&a.B&&a.B.index.Pb()?c||b.C:c||b.o;a.O[b.id]=c}return a.O[b.id]};
Coa=function(a,b){var c=Xb(a.F.o,function(a){return g.xI(a.info)==b});
if(!c)throw Error("Itag "+b+" from server not known.");return c};
Doa=function(a){var b=[];if("s"==a.D.reason||"m"==a.D.reason)return b;var c=!1;if(Zka(a.F)){for(var d=Math.max(0,a.J-2);d<a.J;d++){var e=g.xI(a.o[d]);uI(a.o[d].video)||(c=!0);b.push(e)}b.reverse();if(!c&&a.G.zF)for(d=Math.max(0,a.J-3);0<=d&&!c;d--)uI(a.o[d].video)||(c=!0,b.push(g.xI(a.o[d])))}return b};
Eoa=function(){this.o=this.A=0;this.B=[]};
NR=function(a,b){return(a[b]<<24)+(a[b+1]<<16)+(a[b+2]<<8)+a[b+3]};
OR=function(a,b,c,d){this.A=a;this.F=b;this.D=d;this.C=c;this.o=0};
Foa=function(a,b,c,d){g.VF.call(this);this.o=a;this.W=b;this.O=c;this.N=d;this.K=window.NaN;this.B=this.J=this.D=null;this.A=this.G=this.H=this.F=window.NaN;this.C=!1;this.L=window.NaN};
Goa=function(a,b,c,d){return a.L&&a.o&&a.G&&BQ()&&a.xa?new Foa(a,b,c,d):null};
Hoa=function(a,b){if(a.o.Hy){var c=b.info.o;if(0>=c)a.L=window.NaN;else{var d=g.CM(a.W),e=b.index.o;c=Math.max(1,d/c);a.L=Math.round(1E3*Math.max(((c-1)*e+a.o.K)/c,e-a.o.fb))}}};
Koa=function(a,b){var c=(0,g.H)()/1E3,d=c-a.F,e=c-a.H,f=e>=a.o.Pd,k=!1;if(f){var l=0;!(0,window.isNaN)(b)&&b>a.G&&(l=b-a.G,a.G=b);l/e<a.o.Ly&&(k=!0);a.H=c}c=d>=a.o.fb&&!a.C;if(!f&&!c&&Ioa(a,b))return window.NaN;c&&(a.C=!0);a:{d=k;c=(0,g.H)()/1E3-(a.O.A()||0)-a.J.B-a.o.K;f=a.B.startTime;c=f+c;if(d){if((0,window.isNaN)(b)){PR(a,window.NaN,"n",b);f=window.NaN;break a}d=b-a.o.Va;d<c&&(c=d)}else a.C&&(d=c+a.o.K-a.K+a.o.Ny,(0,window.isNaN)(b)||(d=Math.max(d,Math.min(c,b-a.o.Va))),c=d);f=c=Math.max(c,f)}a.A=
f;if((0,window.isNaN)(a.A))return QR(a),window.NaN;if(!k&&Ioa(a,b))return Joa(a,b),window.NaN;if(a.A<=a.B.startTime)return PR(a,window.NaN,"y",b),QR(a),window.NaN;if(!a.N(a.A,!1))return!Joa(a,b)&&k&&(PR(a,window.NaN,"t",b),QR(a)),window.NaN;k=a.A;PR(a,k,"s",b);QR(a);return k};
Joa=function(a,b){return a.N(a.A,!0)?!1:(PR(a,window.NaN,"ns",b),QR(a),!0)};
Ioa=function(a,b){return(0,window.isNaN)(b)?!0:(0,window.isNaN)(a.A)?!1:b<a.A+(a.C?a.o.Va:a.o.Iy)};
QR=function(a){a.D=null;a.J=null;a.B=null;a.F=window.NaN;a.H=window.NaN;a.G=window.NaN;a.A=window.NaN;a.C=!1};
PR=function(a,b,c,d){var e=dR(a.D);e.ssr_sk=(1E3*b).toFixed(0);e.ssr_t=(1E3*a.A).toFixed(0);e.ssr_r=c;e.ssr_st=(1E3*a.F).toFixed(0);e.ssr_n=(0,g.H)().toFixed(0);e.ssr_f=(1E3*a.J.B).toFixed(0);e.ssr_fa=a.C?"1":"0";e.ssr_o=(1E3*a.O.A()||0).toFixed(0);e.ssr_v=(1E3*d).toFixed(0);b=a.B.o.index;KL(b,a.B.Aa,!0)&&(e.ssr_ist=(1E3*b.Yd(a.B.Aa)).toFixed(0),e.ssr_id=(1E3*b.getDuration(a.B.Aa)).toFixed(0));e=NN(e);a.V("ctmp","ssr",e,!1)};
Loa=function(){this.o=[];this.A=g.oQ};
Moa=function(a,b){for(var c=[],d=g.q(a.o),e=d.next();!e.done&&!(e=e.value,e.contains(b)&&c.push(e),e.start>b);e=d.next());return c};
Ooa=function(a){return a.o.slice(Noa(a,0x7ffffffffffff),a.o.length)};
Noa=function(a,b){var c=cb(a.o,function(a){return b-a.start||1});
return 0>c?-(c+1):c};
Poa=function(a,b){for(var c=window.NaN,d=g.q(a.o),e=d.next();!e.done;e=d.next())if(e=e.value,e.contains(b)&&((0,window.isNaN)(c)||e.end<c)&&(c=e.end),e.start>b&&((0,window.isNaN)(c)||e.start<c)){c=e.start;break}return c};
RR=function(a,b,c,d){g.L.call(this);this.D=window.NaN;this.J=!1;this.H=null;this.K=this.L=this.F=!1;this.ca=a;this.aa=b;this.N=c;this.O=d;this.W=new g.U(this.B,250,this);g.M(this,this.W);this.G=new g.U(this.B,0,this);g.M(this,this.G);this.A=[];this.o=new Loa};
SR=function(a,b){a.B();var c=a.o;if(1<b.length&&b.length>c.o.length)c.o=c.o.concat(b),c.o.sort(c.A);else for(var d=g.q(b),e=d.next();!e.done;e=d.next())e=e.value,!c.o.length||0<c.A(e,c.o[c.o.length-1])?c.o.push(e):g.gb(c.o,e,c.A);a.D=window.NaN;a.B()};
TR=function(a){return a.la()?[]:a.o.o};
Qoa=function(a,b){var c=(0,g.Vd)(TR(a),function(a){return a.namespace==b});
a.C.apply(a,c);return c};
Roa=function(a,b){var c=[];if(!b.length)return c;for(var d=0;d<b.length;d++){var e=b[d];e.active&&-1==a.A.indexOf(e)&&(a.A.push(e),c.push([1,e]))}return c};
Soa=function(a,b){var c=[];if(!b.length)return c;b.sort(g.oQ);for(var d=0;d<b.length;d++){var e=b[d];a.A.splice(a.A.indexOf(e),1);c.push([2,e])}return c};
UR=function(){var a=this;this.A=this.o=eaa;this.B=new g.gg(function(b,c){a.o=b;a.A=c})};
WR=function(a,b,c,d,e){g.VF.call(this,b.Ry);var f=this;this.N=a;this.A=b;this.F=c;this.qc=e||null;this.o=this.B=null;this.J=new soa(a,b);this.C=null;this.G=new woa(this.J,b,this.F,d);this.ga=new g.U(this.He,0,this);g.M(this,this.ga);this.wa=new g.U(this.He,1E3,this);g.M(this,this.wa);this.wc=new g.U(this.He,void 0,this);g.M(this,this.wc);this.zb=new g.U(this.He,1E4,this);g.M(this,this.zb);this.D=window.NaN;this.O=!1;this.K=window.NaN;this.Kb=0;this.aa=this.Ba=this.ca=!1;this.yc={};this.pa="";this.Ha=
this.La=0;this.Hb=b.XB?new Eoa:null;this.Va=new tM(5);this.ha={};this.Qa="";this.sa=window.NaN;this.Da=this.L=!1;(this.H=Goa(this.A,this.N,this.Va,function(a,b){if(f.o&&f.B&&f.o.A.Uc()&&f.B.A.Uc()&&f.C&&f.C.A&&f.C.o)if(b&&f.F.A&&(-1==f.o.F||-1==f.B.F))var c=!0;else c=VR(f.o,a,f.C.A,b),(0,window.isNaN)(c)?c=!1:(c=VR(f.B,f.A.xa?a:c,f.C.o,b),c=(0,window.isNaN)(c)?!1:!0);else c=!1;return c}))&&this.H.subscribe("ctmp",this.Zd,this);
this.fb=window.NaN;this.ia=this.Sb=null;this.W=window.NaN;this.ba=0};
XR=function(a,b){b=b||a.o&&a.o.o&&a.o.o.startTime||a.D;var c=a.o;var d=a.G;var e=d.A&&d.A.index.Wg(b)||0;d.aa!=e&&(d.O={},d.aa=e,GR(d,d.D));e=!MR(d)&&-1<d.N&&g.tG()-d.N<1E3*d.G.WB;var f=3*JR(d,d.A.info)<FR(d.W);if(!e||f)HR(d),IR(d),d.K=d.K||d.A!=d.B;d.A.index.Pb()||(d.aa=-1);d=d.A;c.A!=d&&(c.A=d);c=a.B;d=a.G.C;c.A!=d&&(c.A=d)};
YR=function(a,b){a.ca=!0;a.Ba=b};
g.Toa=function(a,b){if(!b.o&&!b.A)if(a.A.Ty){var c=a.o.A.info.mimeType,d=a.A.yp;b.o=new aJ(new $I(eJ(b,a.B.A.info.mimeType)),d,window.Infinity);b.A=new aJ(new $I(eJ(b,c)),d,window.Infinity)}else c=a.o.A.info.mimeType,b.o=new $I(eJ(b,a.B.A.info.mimeType)),b.A=new $I(eJ(b,c));a.C=b;a.B.J=!1;a.o.J=!1;a.B.D=null;a.o.D=null;a.resume();iJ(b)&&(b.o.addEventListener("updateend",(0,g.B)(a.He,a)),b.A.addEventListener("updateend",(0,g.B)(a.He,a)),b.o.addEventListener("error",(0,g.B)(a.Kq,a,!0)),b.A.addEventListener("error",
(0,g.B)(a.Kq,a,!1)));a.fd("msa");OO("msa");HO.measure&&HO.getEntriesByName("mark_vta").length&&HO.measure("measure_vta_to_msa","mark_vta");a.xa&&a.ka&&(c=g.y("yt.scheduler.instance.enablePriorityThreshold"))&&c(1);a.A.uo&&a.Zd("toff",""+b.o.supports(1),!0);a.He()};
Uoa=function(a){a.C&&a.C.o&&a.C.A&&a.C.o.supports(3)&&(a.C.o.removeEventListener("updateend",(0,g.B)(a.He,a)),a.C.A.removeEventListener("updateend",(0,g.B)(a.He,a)),a.C.o.removeEventListener("error",(0,g.B)(a.Kq,a,!0)),a.C.A.removeEventListener("error",(0,g.B)(a.Kq,a,!1)));a.C=null;YR(a,!1);ZR(a)};
$R=function(a){a.C&&fJ(a.C)&&Uoa(a)};
bS=function(a,b,c){if(a.ca&&(!EM(a.N)||a.Ba))return!1;if(a.F.A){if(1<a.A.qc&&0<b.C.length&&b.o&&-1==b.o.Aa||b.C.length>=a.A.qc&&!a.A.La||!a.A.OF&&0<b.C.length&&!a.A.o)return!1;if(b.G)return!a.F.isLive||!(0,window.isNaN)(a.sa)}if(roa(b))return!1;if(!(b.o||a.F.A&&a.A.La&&b.G)){if(!b.A.Uc())return!1;xR(b,a.D)}var d=b.C.length+c.C.length;(noa(b)||noa(c)||a.F.isLive&&(!a.A.La||!b.C.length))&&--d;if(d+1>=a.A.qp)return!1;d=b.o;if(!d)return!0;if(!xL(d.o.C))return!1;4==d.type&&d.o.Uc()&&(b.o=g.Ga(d.o.mr(d)),
d=b.o);!d.F&&!d.o.kh(d)||d.o.info.audio&&4==d.type?a=!1:CR(b)&&!a.A.ca?a=!0:(!(c=d.F||yR(b)&&yR(b)+yR(c)>a.A.ka||!!(c.o&&!c.o.F&&c.o.C<d.C)&&(!a.F.A||c.o&&c.o.C&&d.C)&&!a.L)&&(c=3==d.type)&&(d=d.C,b=aS(a,b,!0),!MR(a.G)&&0<a.A.Hb&&(c=(g.tG()-a.Kb)/1E3,b=Math.min(b,a.A.Hb+a.A.zb*c)),b=a.D+b,a.A.sd?(c=Math.min(b,Voa(a)+a.A.sd),c!=b&&a.Zd("mrl","ori."+b+";mod."+c,!0),a=c):a=b,c=d>a),a=c?!1:!0);return a};
Woa=function(a,b,c){if((!a.C||dJ(a.C)||iJ(a.C))&&!a.O&&a.G.ca){var d=a.D;a=a.J;c=ER(a,b.A.info.o,c.A.info.o,0);var e=zM(a.A)+c/g.CM(a.A);d+=Math.max(e,e+a.o.Wc-c/b.A.info.o);a:{if(b.C.length){if(b.C[0].info.o[0].startTime<=d)break a;zR(b)}a=b.B;for(c=a.o.length-1;0<=c;c--)a.o[c].info.startTime>d&&a.o.pop();b.C.length?b.o=g.Ga(g.Ga(b.C).info.o):b.B.o.length?b.o=mR(b.B).info:b.o=b.D;b.o&&d<b.o.startTime&&(b.L=0,b.o=b.A.Vg(d,!0).o[0])}}};
Xoa=function(a,b,c){bS(a,b,c);if(b.G){if(a.F.isLive){var d=b.A.Vg(window.Infinity);d.B=a.sa}else d=b.A.Cn(0,!0);a.H?(c=a.H,0==d.B&&(d.D=c.L)):d.D=a.fb;uR(b,cS(a,d))}else if(d=b.o,d.o.Uc()){!CR(b)||a.A.ca||a.F.A||(Woa(a,b,c),b.o||xR(b,a.D));d=b.o;var e=d.C-a.D,f=!d.range||0==d.gb&&0==d.A?0:d.range.length-(d.A+d.gb),k=d.o;if(BR(b)&&b.A.Uc()){var l=Math.min(15,.5*aS(a,b,!0));l=CR(b)||e<=l}else l=!1;l&&0==f&&(a.F.A?k=b.A:(k=d.startTime+dS,d.gb&&(k+=d.duration),xR(b,k),d=b.o,k=d.o));k.Vf()?(f=a.G,e=ER(a.J,
k.info.o,c.A.info.o,e,0<f.o.length&&0==f.J&&a.aa),c=a.A.Oe?BR(b):BR(b)&&b.A.Uc(),e=d.o.rj(d,e),e.range&&1<e.o.length&&(c||e.A.o?e=d.o.rj(d,e.o[0].gb):(c=e.o[e.o.length-1],k=c.gb/e.range.length,!c.B&&.4>k&&(e=d.o.rj(d,e.range.length-c.gb)))),d=e):(0>d.Aa&&a.Zd("nosq",NN(zK(d))),d=k.Rk(d));uR(b,cS(a,d))}else d.o.Vf()?(c=ER(a.J,b.A.info.o,c.A.info.o,0),d=d.o.rj(d,c)):d=d.o.Rk(d),uR(b,cS(a,d))};
cS=function(a,b){3==b.o[b.o.length-1].type&&Yoa(a,zoa(a.G,b.o[0].o));var c=EL(b);c=new Bna(a.N,c,toa(a.J,c),b,a.Sb);a.A.Tj&&(c.H=[]);var d=new bR(a.A,b,c,a.ha);c.wa=function(){return Una(d)?d.B.Gi&&window.performance&&window.performance.now&&d.o&&d.o.Sm()&&iR(d)&&XQ(d.o)?d.info.o[0].o.info.video?3:4:2:1};
Nna(d,(0,g.B)(a.lV,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.ca=Doa(a.G));d.start(Math.max(0,b.o[0].D-a.D));b.o[0].o.info.video&&(c=cR(d))&&(a.Qa=c.substr(0,c.indexOf(".")));return d};
Yoa=function(a,b){b&&a.V("videoformatchange",b)};
$oa=function(a,b){var c=b.info.o[0].o,d=c.info.video?a.o:a.B;Zoa(a,d,b);BL(b.info)&&!AL(b.info)&&((0,g.D)(b.A.o,function(a){boa(d.B,b,a)}),a.A.Ah||a.V("metadata",c))};
Zoa=function(a,b,c){if(a.F.A&&b&&(b.G=!1,c.O&&a.Va.o(1,c.O),b=c.o?(0,window.parseInt)(c.o.se("X-Head-Seqnum"),10):null)){a=a.F;for(var d in a.o)c=a.o[d].index,c.A&&(c.B=Math.max(c.B,b))}};
apa=function(a,b,c){a:{b=b.info;var d=a.A.lH,e=null,f=b.o[0];if(b.range)e=tK(b.range.start,Math.min(4096,b.range.length));else if(d){if(b.C&&0<=b.C.indexOf("/range/")){c=null;break a}e=tK(0,4096)}else if(f.o.info.video){c=null;break a}b=new vK(5,f.o,e,f.Aa);b=new zL([b]);b.F=c;c=b}c&&cS(a,c)};
dpa=function(a){var b=-1!=a.o.F,c=-1!=a.B.F;if(!b||!c)if(b=!b&&lR(a.o.B),c=!c&&lR(a.B.B),b||c){c=b?a.o:a.B;b=b?a.B:a.o;var d=lR(c.B).info.Aa;if(-1!=b.F&&b.F!=d)qM(a.F,d,c==a.o),bpa(c,b.F),eS(a,!1,"qoe.avsync",{start:"1",target:String(b.F),actual:String(d)});else{c.F=d;c.H=window.NaN;var e=Math.max(b.A.index.Yd(b.F),c.A.index.Yd(c.F));-1!=b.F&&(a.ia&&(a.ia.resolve(e+.1),a.ia=null),g.ag(function(){return cpa(a,e)}))}}};
bpa=function(a,b){AR(a);xR(a,window.Infinity);var c=a.H;a.B.D=c;a.H=c;a.o.Aa=b-1};
epa=function(a){if(a.A.qd)return!1;var b;if(!(b=roa(a.o))&&(b=a.O)){b=a.J;var c=a.o,d=a.B;if(0==c.C.length&&0==d.C.length)b=!0;else{var e=0,f=oR(c.B).concat(oR(d.B));f=g.q(f);for(var k=f.next();!k.done;k=f.next())e+=k.value.gb;c=c.A.info.o+d.A.info.o;e/=c;b=10<e?!0:10>c*(10-e)/FR(b)}(b=!b)||(b=a.o,b=0<b.C.length&&1==b.B.o.length&&lR(b.B).info.G<b.N)}if(b)return!0;if(!a.aa||!a.A.pa||10>a.D||360<a.o.A.info.ab().o)return!1;b=ooa(a.o,a.D,a.A.pa)||ooa(a.B,a.D,a.A.pa);return(0<a.o.C.length||0<a.B.C.length||
bS(a,a.o,a.B)||bS(a,a.B,a.o))&&b};
hpa=function(a,b,c,d){if(c.nh())return!0;var e=lR(b.B);if(!e||!c.Xs())return!1;var f=e.info;!b.D||b.D.B||xK(b.D,f)||(b.D=null,dJ(a.C)&&c.abort(),c.Gj(null));c.Gx(f.o.info.containerType,f.o.info.mimeType);f=a.F.isLive&&cL(e);var k;if(k=a.A.Ba&&a.F.B&&0==e.info.A&&(g.BI(e.info.o.info)||a.A.fz)){if(null==c.Sg()){if(!(k=null==b.D||b.D.o!=e.info.o)){a:{k=b.D.H;var l=e.info.H;if(k.length!=l.length)k=!1;else{for(var m=0;m<k.length;m++)if(!g.fb(k[m],l[m])){k=!1;break a}k=!0}}k=!k}}else k=c.Sg()!=e.info.o.o;
k=!k}k&&(g.BI(e.info.o.info)?(pK(XK(e),1836019574),pK(XK(e),1718909296)):(k=new EK(XK(e)),VK(k),IK(k,524531317,!0),e.range=new g.rK(k.B+k.o,e.range.end)),e.A=!1);if(!a.F.B||0==e.info.A)if(f||a.F.A||e.A)c.Gj(null);else if(fS(a,c,e))return!0;f=aS(a,b,!1);f=a.D+f;null!==d&&0<=d&&(f=Math.min(f,d));d=f;if(a.H)a:if(a.H.D&&b.A.info.audio){if((f=lR(b.B))&&(f=f.o)&&null!=f.C){f=f.C-1;break a}f=-1}else f=window.Infinity;else f=window.Infinity;k=b.B;if(!k.o.length||k.o[0].info.D>=d)d=null;else if(l=k.o[0].A?
0:k.o[0].range.start,l>f)d=null;else{for(m=1;m<k.o.length;m++){var n=k.o[m].range.start>f,p=k.o[m].buffer!=k.o[m-1].buffer;if(k.o[m].info.D>d||n||p||k.B.wd)break}m--;d=new g.rK(l,Math.min(k.o[m].range.end,f))}if(!d)return!1;f=new window.Uint8Array(e.buffer,d.start,d.length);if(a.Hb&&e.info.o.info.video&&g.BI(e.info.o.info)&&(k=a.Hb,0==e.info.A&&(k.A=0,k.o=0,k.B.length=0),!((0,window.isNaN)(k.A)||8>f.length))){l=new window.DataView(f.buffer,f.byteOffset);for(m=!1;!m;)if(k.A==k.o)a:if(m=k,n=f.length,
m.A+7>=n){for(p=m.A;p<n;p++)m.B.push(l.getUint8(p));m=!0}else{if(0<m.B.length){for(p=0;8>m.B.length;p++)m.B.push(l.getUint8(p));var r=NR(m.B,0);p=NR(m.B,4);m.B.length=0}else r=l.getUint32(m.o),p=l.getUint32(m.o+4);if(1836019558==p||1836019574==p||1718909296==p||1936286840==p||1701671783==p||1937013104==p||1936419184==p)m.A+=r,m.o=m.A;else if(1835295092==p)m.A+=r,m.o+=8;else{m.A=window.NaN;m=!0;break a}m=m.o>=n}else a:if(m=k,n=f.length,m.o+5>=n){for(p=m.o;p<n;p++)m.B.push(l.getUint8(p));m=!0}else{if(0<
m.B.length){for(p=0;6>m.B.length;p++)m.B.push(l.getUint8(p));p=NR(m.B,0);12==p&&6==m.B[4]&&45==m.B[5]&&l.setUint8(m.o+5,63);m.o+=p+4;m.B.length=0}for(;m.o<m.A&&m.o+5<n;){p=l.getUint32(m.o);if(0>=p){m.A=window.NaN;m=!0;break a}12==p&&6==l.getUint8(m.o+4)&&45==l.getUint8(m.o+5)&&l.setUint8(m.o+5,63);m.o+=p+4}m=m.o>=n}(0,window.isNaN)(k.A)||(k.A-=f.length,k.o-=f.length)}k=!1;3!=e.info.type||!g.BI(e.info.o.info)&&2!=e.info.o.info.containerType||(k=g.BI(e.info.o.info)&&a.A.XJ&&!b.J&&0==e.info.A&&0<e.info.startTime)&&
aL(e,0);a:{l=g.q(b.B.o);for(m=l.next();!m.done;m=l.next()){m=m.value;if(d.end==m.range.end){l=m.info.B;break a}if(d.end<m.range.end)break}l=!1}a:if(f=fpa(a,c,f,l),"s"==f)f=!0;else{if("i"==f||"x"==f)gpa(a,"checked",f,e.info);else{if("q"==f&&(e.info.o.info.video?(f=a.A,f.D=Math.floor(.8*f.D),f.N=Math.floor(.8*f.N),f.B=Math.floor(.8*f.B)):(f=a.A,f.F=Math.floor(.8*f.F),f.oa=Math.floor(.8*f.oa),f.B=Math.floor(.8*f.B)),c.supports(2)&&!c.nh())){f=!1;l=c.uc().length;for(m=0;!f&&m<l;m++)c.uc().start(m)>e.info.C&&
(c.remove(c.uc().start(m),c.uc().end(l-1)),f=!0);l=Math.max(0,Math.min(a.D,e.info.startTime)-5);!f&&l&&c.remove(0,l);f=!1;break a}a.V("reattachrequired")}f=!1}if(!f)return!1;b.J=!0;if(k)aL(e,e.info.startTime),c.abort(),c.Gj(null);else{f=b.B;for(k=[];f.o.length&&(f.o[0].range.end>d.end?(m=ZK(f.o[0],d.end-f.o[0].range.start+1),l=m[0],f.o[0]=m[1]):l=f.o.shift(),k.push(l),l.range.end!=d.end););k.length&&(0,g.D)(k,b.aa,b)}e.A&&(e.info.o.o&&(c.Gj(e.info.o.o),a.A.ga||a.V("initsegment",c.Sg())),(b=e.info.o.H)&&
a.V("newDrmInfo",b.type,b.key));return!0};
gpa=function(a,b,c,d){var e="fmt.unplayable";"i"==c&&(e="html5.invalidstate");if("x"==c||"m"==c)e="fmt.unparseable",d.o.D=e,d.o.info.video&&!LR(a.G)&&KR(a.G,d.o);d=zK(d);d.mrs=a.C.B.readyState;d.origin=b;d.reason=c;eS(a,"i"!=c,e,d)};
ipa=function(a,b,c){mla(a.F,b,c)&&c&&g.ag(function(){if(a.Da)a.Da=!1,cpa(a,b.startTime);else{var c=b.startTime,e=b.duration;if(!a.la()&&a.A.W&&a.L&&-1!=a.o.F&&-1!=a.B.F){var f=a.A.Cy?0:.1;a.D<c||a.D>c+e+f?3>a.ba?(a.ba++,a.seek(a.D)):(a.Zd("iterativeSeeking","incomplete;count="+a.ba,!1),a.ba=0,a.L=!1,a.V("seekplayerrequired",c+.1,!0)):(a.Zd("iterativeSeeking","done;count="+a.ba,!1),a.ba=0,a.L=!1)}}})};
cpa=function(a,b){!a.la()&&a.A.W&&a.L&&-1!=a.o.F&&-1!=a.B.F&&(a.L=!1,a.V("seekplayerrequired",b+.1,!0))};
fS=function(a,b,c){c.info.o.Uc();var d=c.info.o.o;if(null==d||b.Sg()==d)return!1;var e=fpa(a,b,d,!0);if("s"!=e)return gpa(a,"sepInit",e,c.info),!0;b.Gj(d);a.A.ga?(c=c.info.o.H)&&a.V("newDrmInfo",c.type,c.key):a.V("initsegment",b.Sg());return b.nh()};
fpa=function(a,b,c,d){try{b.aw(c,d)}catch(e){if(11==e.code)return"i";if(12==e.code)return"x";if(22!=e.code&&0!=e.message.indexOf("Not enough storage"))return g.gE(e),"u";a.A.Uj&&a.Zd("quex","br."+UI(b.uc()).replace(/,/g,"_"));return"q"}return fJ(a.C)?"m":"s"};
jpa=function(a,b){b.B.subscribe("warning",a.dU,a);b.B.subscribe("error",a.XT,a);b.B.subscribe("timestamprewrite",a.cU,a);var c=(0,g.B)(a.ZT,a,b);b.B.subscribe("placeholderinfo",c,void 0);c=(0,g.B)(a.aU,a,b);b.B.subscribe("placeholderrollback",c,void 0);c=(0,g.B)(a.bU,a,b);b.B.subscribe("segmentinfo",c,void 0);b==a.o&&b.B.subscribe("cuepoint",a.VT,a)};
aS=function(a,b,c){if(a.ca)return 1;var d=b.A.info.audio?a.A.F:a.A.D;!a.A.ca&&MR(a.G)&&(d=Math.max(d,b.A.info.audio?a.A.oa:a.A.N));c&&(d+=a.A.ka);var e=MR(a.G)?b.o?b.o.o.info.o:b.A.info.o:b.K;d/=e;0<a.A.sa&&a.C&&dJ(a.C)&&(b=b.A.info.video?a.C.A:a.C.o)&&!b.nh()&&(e=VI(b.uc(),a.D),0<=e&&(b=a.D-b.uc().start(e),d+=Math.max(0,Math.min(b-a.A.sa,a.A.Rp))));0<a.A.B&&(d=Math.min(d,a.A.B));a.A.yc&&c&&!MR(a.G)&&(c=a.G,c=JR(c,g.Ga(c.o))+JR(c,c.H.o[0]),c=a.A.yc*(c/DR(a.J)),c<d&&15>c&&a.Zd("bwcapped","1",!0),c=
Math.max(c,15),d=Math.min(d,c));return d};
Voa=function(a){if(!a.qc)return window.Infinity;var b=(0,g.Vd)(TR(a.qc),function(a){return"ad"==a.namespace});
b=g.q(b);for(var c=b.next();!c.done;c=b.next())if(c=c.value,c.start/1E3>a.D)return c.start/1E3;return window.Infinity};
kpa=function(a,b,c){if(a.A.Uc())if(c){var d=VR(a,b,c);if(!(0,window.isNaN)(d))return d;AR(a);c=WI(c.uc(),b);if((0,window.isNaN)(c))return xR(a,b);xR(a,c+dS)}else{c=vR(a,b);if(0<=c)return c;AR(a);xR(a,b)}else 0!=b&&zR(a);return b};
VR=function(a,b,c,d){d=void 0===d?!1:d;var e=WI(c.uc(),b),f=window.NaN,k=a.D;k&&(f=WI(c.uc(),k.o.index.Yd(k.Aa)));if(e==f&&a.o&&a.o.gb&&moa(loa(a),0))return b;a=vR(a,b,d);return 0<=a?a:window.NaN};
gS=function(a,b,c,d){c.Uc()||c.F||!xL(c.C)||(d=c.rk(d?voa(a.J,c.info):0),(0,g.D)(d,function(a){if("f"!=a.o[0].o.info.A){var c=cS(this,a);AL(a)&&uR(b,c)}},a),c.F=!0)};
eS=function(a,b,c,d){a.la()||(c=new MN(c,b,d),NN(c.details),a.V("error",c),b&&a.dispose())};
hS=function(a){var b={lct:a.D.toFixed(3),lsk:a.O,lmf:MR(a.G),lbw:BM(a.N).toFixed(3),lhd:zM(a.N).toFixed(3),lst:(1E9*(a.N.C.A()||0)).toFixed(3),laa:a.B&&a.B.D?AK(a.B.D):"",lva:a.o&&a.o.D?AK(a.o.D):"",lar:a.B&&a.B.o?AK(a.B.o):"",lvr:a.o&&a.o.o?AK(a.o.o):"",lvh:a.Qa};a.C&&!fJ(a.C)&&a.C.o&&a.C.A&&(b.lab=UI(a.C.o.uc()),b.lvb=UI(a.C.A.uc()));return b};
ZR=function(a){a.B&&a.o&&(AR(a.B),AR(a.o))};
lpa=function(a,b){var c=b.info.video?a.o:a.B;null!=c&&gS(a,c,b,!1)};
mpa=function(a,b,c){this.url=a;this.interval=b;this.o=c};
npa=function(a,b){this.statusCode=a;this.errorMessage=null;this.message=b;this.B=this.A=this.o=this.heartbeatParams=null};
ppa=function(a){var b=aK(a.subarray(0,16384)),c=b.indexOf("\r\n\r\n");if(-1==c)return null;var d=b.indexOf("\r\n"),e=b.slice(0,d).match(/^GLS\/1.\d ([0-9]{1,3}) (\w+)$/);if(null==e)return null;e=Eb(e[1]);b=bK(b.slice(d+2));if(null==b)return null;a=new npa(e,a.subarray(c+4));0!=a.statusCode&&(a.errorMessage=g.Lma(a.statusCode));if(c=b["Heartbeat-Url"])a.heartbeatParams=new mpa(c,(0,window.parseInt)(b["Heartbeat-Interval-Secs"],10)||60,(0,window.parseInt)(b["Heartbeat-Num-Retries"],10)||4);if(c=b["Authorized-Format-Types"])a.o=
c.split(",");if(c=b["Key-Ids"])a.A=opa(c);a.B=b["Next-Key-Id"];return a};
opa=function(a){if(!a)return{};var b={};(0,g.D)(a.split(";"),function(a){a=a.split(",");2==a.length&&(b[a[1]]=a[0])});
return b};
iS=function(a,b,c,d){g.L.call(this);this.message=a;this.number=b;this.B=c;this.o=d;this.A=new rD};
jS=function(a,b,c,d,e){g.L.call(this);this.F=a;this.K=b;this.J=c;this.o=d;this.A=e;this.sessionId="";this.H=this.G=this.C=this.D=null;this.Z=new g.SF(this);g.M(this,this.Z);this.o?(this.Z.R(this.o,"message",this.cQ),this.Z.R(this.o,"keystatuseschange",this.dQ),this.o.closed&&this.o.closed.then(hE((0,g.B)(this.bQ,this)),null)):this.A&&(TF(this.Z,this.A,["mskeymessage","webkitkeymessage"],this.NE),TF(this.Z,this.A,["mskeyerror","webkitkeyerror"],this.ME),TF(this.Z,this.A,["mskeyadded","webkitkeyadded"],
this.LE))};
kS=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=window.NaN;this.A=!1;this.B=[]};
lS=function(a,b){g.L.call(this);this.A=a;this.o=b;this.F={};this.C=null;this.Z=new g.SF(this);g.M(this,this.Z);this.B=this.D=null};
rpa=function(a){if(a.o.A)return a.o.A.createMediaKeys().then(hE(function(b){a.la()||(a.D=b,a.A.setMediaKeys(b))}));
yN(a.o)?a.B=new (xN())(a.o.o):CN(a.o)?(a.B=new (xN())(a.o.o),a.A.webkitSetMediaKeys(a.B)):qpa(a);return null};
qpa=function(a){TF(a.Z,a.A,["keymessage","webkitkeymessage"],a.gQ);TF(a.Z,a.A,["keyerror","webkitkeyerror"],a.fQ);TF(a.Z,a.A,["keyadded","webkitkeyadded"],a.eQ)};
spa=function(a){return"widevine"==a.o.flavor&&a.o.fo&&a.D.setServerCertificate?a.D.setServerCertificate(a.o.fo):null};
tpa=function(a,b){var c=b.subarray(4);c=String.fromCharCode.apply(null,new window.Uint16Array(c.buffer,c.byteOffset,c.byteLength/2)).match(/ek=([0-9a-f]+)/)[1];for(var d="",e=0;e<c.length;e+=2)d+=String.fromCharCode((0,window.parseInt)(c.substr(e,2),16));c=$J(a.o.fairPlayCert);e=new window.ArrayBuffer(2*d.length);for(var f=new window.Uint16Array(e),k=0;k<d.length;k++)f[k]=d.charCodeAt(k);d=new window.Uint8Array(e);e=0;k=new window.ArrayBuffer(b.byteLength+4+d.byteLength+4+c.byteLength);f=new window.Uint8Array(k);
k=new window.DataView(k);f.set(b);e+=b.byteLength;k.setUint32(e,d.length,!0);e+=4;f.set(d,e);e+=d.length;k.setUint32(e,c.byteLength,!0);f.set(c,e+4);return f};
mS=function(a,b){var c=a.F[b.sessionId];!c&&a.C&&(c=a.C,a.C=null,c.sessionId=b.sessionId,a.F[b.sessionId]=c);return c};
oS=function(a,b,c,d,e,f){g.L.call(this);this.F=a;this.A=a.ih;this.B=e;this.C=b;this.cryptoPeriodIndex=d.cryptoPeriodIndex||window.NaN;this.ca=f;a={};g.fc(a,this.C.A);a.cpn=this.F.clientPlaybackNonce;this.C.experiments.experiments["23763106"]&&(a.fexp="23763106");this.F.rf&&(a.vvt=this.F.rf,this.F.mdxEnvironment&&(a.mdx_environment=this.F.mdxEnvironment));this.C.jd&&(a.authuser=this.C.jd);this.C.pageId&&(a.pageid=this.C.pageId);(0,window.isNaN)(this.cryptoPeriodIndex)||(a.cpi=this.cryptoPeriodIndex);
this.H=a;this.H.session_id=f;this.K=!0;"playready"==this.A.flavor&&(f=(0,window.parseInt)(b.experiments.B("playready_first_play_expiration"),10),!(0,window.isNaN)(f)&&0<=f&&(this.H.mfpe=""+f),b.experiments.o("html5_playready_keystatuses_killswitch")||(this.K=!1));"fairplay"==this.A.flavor?(f=d.initData.subarray(4),f=String.fromCharCode.apply(null,new window.Uint16Array(f.buffer,f.byteOffset,f.byteLength/2)).replace("skd://","https://")):f=this.A.C;a=f=this.L=f;var k=void 0===k?!1:k;DH(upa.test(a),
a,k,"Drm Licensor URL")||nS(this,"drm.net",!0,"t.x");for(var l in this.H)f=dh(f,l,this.H[l]);this.ba=f;this.aa=b.experiments.o("html5_use_drm_retry");this.W=0;this.J=this.N=!1;(0,g.lQ)("drm_gk_s");try{var m=c.createSession(d)}catch(n){b="t.g",n instanceof window.DOMException&&(b+=";c."+n.code),this.B.V("licenseerror","drm.unavailable",!0,b,"YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK"),m=null}if(this.D=m)b=this.D,c=this.YP,k=this.XP,l=this.aQ,b.D=this.ZP,b.C=c,b.G=k,b.H=l,b.B=this,g.M(this,this.D);this.ga=
d.B;this.G=[];this.o={};this.O=window.NaN};
vpa=function(a){var b={};g.fc(b,a.H);return b};
wpa=function(a){for(var b="",c=0;c<a.length;c+=2)b+=String.fromCharCode(a[c]);a=(new window.DOMParser).parseFromString(b,"text/xml");return a?(a=a.querySelector("Challenge"))&&a.childNodes&&0!==a.childNodes.length?new window.Uint8Array(Xaa(a.childNodes[0].data)):null:null};
xpa=function(a,b){if("widevine"!=a.A.flavor)nS(a,"drm.provision",!0,"e.flavor;f."+a.A.flavor+";l."+b.byteLength);else{var c={cpn:a.F.clientPlaybackNonce};g.fc(c,a.C.A);c=g.Zg("https://web.archive.org/web/20181027110332/https://www.googleapis.com/certificateprovisioning/v1/devicecertificates/create?key=AIzaSyB-5OLKTx2iU5mko18DfdwK5611JIjbUhE",c);var d={format:"RAW",headers:{"content-type":"application/json"},method:"POST",postBody:aha({signedRequest:aK(b)}),responseType:"arraybuffer"};g.ZE(c,d,3,500).then(hE(function(b){if(!a.la()){b=new window.Uint8Array(b.response);
var c=aK(b);try{var d=g.ux(c)}catch(l){}d&&d.signedResponse?(a.B.V("ctmp","provisioning",""),a.D&&a.D.update(b)):(d=d&&d.error&&d.error.message,b="e.parse",d&&(b+=";m."+d),nS(a,"drm.provision",!0,b))}}),hE(function(b){a.la()||nS(a,"drm.provision",!0,"e."+b.errorCode+";c."+(b.qj&&b.qj.status))}))}};
pS=function(a){var b;if(b=a.K&&null!=a.D)a=a.D,b=!(!a.o||!a.o.keyStatuses);return b};
zpa=function(a,b){(0,g.lQ)("drm_net_s");if(a.C.experiments.o("use_innertube_drm_service_optin")){var c=new g.JG(a.C.qc),d={context:g.uG(c.va)};d.drmSystem=ypa[a.A.flavor];d.videoId=a.F.videoId;d.cpn=a.F.clientPlaybackNonce;d.sessionId=a.ca;d.licenseRequest=g.se(b.message);d.drmParams=a.F.drmParams;(0,window.isNaN)(a.cryptoPeriodIndex)||(d.isKeyRotated=!0,d.cryptoPeriodIndex=a.cryptoPeriodIndex);var e={onSuccess:(0,g.B)(b.G,b),onError:(0,g.B)(b.F,b)};g.xG(c,"player/get_drm_license",d,e)}else c=a.ba,
d=a.F.oauthToken,e={format:"RAW",method:"POST",postBody:b.message,responseType:"arraybuffer",withCredentials:!0,timeout:3E4,onSuccess:(0,g.B)(b.D,b),onError:(0,g.B)(b.C,b)},d&&(c=dh(c,"access_token",d)),g.DE(c,e)};
nS=function(a,b,c,d,e){a.la()||a.B.V("licenseerror",b,c,d,e);c&&a.dispose()};
Apa=function(a,b){var c=b.A.getValue();c=new g.U(function(){return zpa(a,b)},c);
g.M(a,c);c.start();xja(b.A)};
Bpa=function(a){return g.Ma(a,"UHD2")?"highres":g.Ma(a,"UHD1")?"hd2160":g.Ma(a,"HD")?"hd1080":g.Ma(a,"HD720")?"hd720":"large"};
Cpa=function(a,b){if(!pS(a)&&BN(a.A)&&!b)return"large";var c=[],d=!0;if(pS(a))for(var e in a.o)"usable"==a.o[e].status&&c.push(a.o[e].type),"unknown"!=a.o[e].status&&(d=!1);if(!pS(a)||d)c=a.G;return Bpa(c)};
Dpa=function(a){var b=a[0];a[0]=a[3];a[3]=b;b=a[1];a[1]=a[2];a[2]=b;b=a[4];a[4]=a[5];a[5]=b;b=a[6];a[6]=a[7];a[7]=b};
Epa=function(a){if(pS(a)){var b=[],c;for(c in a.o)b.push.apply(b,[c,a.o[c].type,a.o[c].status]);a=b.join(";")}else a=a.G.join(";");return a};
Fpa=function(a,b,c,d){a=new window.Uint8Array(a);if(a=wpa(a))a={format:"RAW",method:"POST",postBody:a,responseType:"arraybuffer",withCredentials:!0,timeout:3E4},c=Aba(c,d),g.ZE(c,a,3,500).then(function(a){a=new window.Uint8Array(a.response);(a=ppa(a))&&a.message&&b.update(a.message)})};
Gpa=function(a,b){for(var c in a.o)if("usable"==a.o[c].status&&a.o[c].type==b)return!0;return!1};
qS=function(a){g.VF.apply(this,arguments)};
rS=function(a,b,c,d){qS.call(this);var e=this;this.B=-1;this.o={};this.C=new g.U(this.D,0,this);g.M(this,this.C);this.A=new g.U(function(){e.la()||(e.C.start(Math.random()*c),e.A.start(b))},a,this);
g.M(this,this.A);d.subscribe("fairplay_next_need_key_info",this.F,this)};
Hpa=function(a,b,c){a=g.Ng(a);for(var d=[],e=g.q(a[6].split("&")),f=e.next();!f.done;f=e.next())f=f.value,0==f.indexOf("cpi=")?d.push("cpi="+b):0==f.indexOf("ek=")?d.push("ek="+g.lb(c)):d.push(f);a[6]="?"+d.join("&");b="skd://"+a.slice(2).join("");a=2*b.length;c=new window.Uint8Array(a+4);c[0]=a%256;c[1]=(a-c[0])/256;for(a=0;a<b.length;++a)c[2*a+4]=b.charCodeAt(a);return c};
sS=function(){this.keys=[];this.values=[]};
tS=function(a,b,c,d){g.VF.call(this);a&&(a.addKey||a.webkitAddKey)||xN()||DN(c.experiments);this.K=a;this.wa=b;this.o=b.ih;this.C=c;this.subscribe("newlicense",this.qU,this);this.subscribe("newsession",this.FE,this);this.subscribe("sessionready",this.zV,this);this.subscribe("keystatuseschange",this.hQ,this);this.subscribe("hdentitled",this.uT,this);this.sa=b.drmSessionId||g.hH();this.A=new sS;this.D=this.G=null;this.B=[];this.J="fairplay"==this.o.flavor?FJ:this.C.experiments.o("html5_drm_start_from_null_constraint")?
FJ:Ipa;this.O=null;this.L=new lS(a,this.o);g.M(this,this.L);this.F=null;yN(this.o)&&(this.F=new lS(a,this.o),g.M(this,this.F));this.ha=2;this.Z=new g.SF(this);g.M(this,this.Z);this.ia=this.ba=!1;this.ga=null;this.W=!1;a=this.K;this.o.A?this.Z.R(a,"encrypted",this.fT):TF(this.Z,a,yN(this.o)?["msneedkey"]:["needkey","webkitneedkey"],this.oU);(a=rpa(this.L))?a.then(hE((0,g.B)(this.UT,this)),hE((0,g.B)(this.gS,this))):this.W=!0;this.F&&rpa(this.F);this.pa=d;this.ca=this.aa=!1;this.ka=this.C.experiments.o("html5_playbackmanager_boolean_flag_singleton_process_killswitch");
this.N=!1;a:{a=this.o;switch(a.flavor){case "fairplay":this.C.experiments.o("html5_enable_fairplay_key_rotation")&&ME()?(d=a.pp,a=a.np,a>=d&&(a=.75*d),b=.5*(d-a),d=new rS(b,d,d-b-a,this)):d=null;break a}d=null}if(this.H=d)g.M(this,this.H),this.H.subscribe("rotated_need_key_info_ready",this.Is,this)};
Jpa=function(a,b,c){a.ia=!0;a.C.experiments.o("html5_playbackmanager_enable_notify_new_drm_info")?0==a.B.length?uS(a,new kS(b,c)):vS(a):yN(a.o)||uS(a,new kS(b,c))};
Lpa=function(a,b){if(yN(a.o)&&!a.aa){var c=Vna(b);if(0!=c.length){var d=new kS(c);a.aa=!0;window.navigator.requestMediaKeySystemAccess("com.microsoft.playready",[{initDataTypes:["keyids","cenc"],audioCapabilities:[{contentType:'audio/mp4; codecs="mp4a"'}],videoCapabilities:[{contentType:'video/mp4; codecs="avc1"'}]}]).then(function(b){b.createMediaKeys().then(function(b){Kpa(a,b,d)})},null)}}};
Kpa=function(a,b,c){var d=b.createSession(),e=a.A.values[0],f=vpa(e);d.addEventListener("message",function(b){Fpa(b.message,d,a.o.C,f)});
d.addEventListener("keystatuseschange",function(){d.keyStatuses.forEach(function(b,c){"usable"==c&&(a.ca=!0,Mpa(a,Cpa(e,a.ca)))})});
d.generateRequest("cenc",c.initData)};
uS=function(a,b){a.la()||a.ba&&a.pa||(a.ba=!0,a.Is(b))};
wS=function(a){a.la()||(a.W=!0,vS(a))};
vS=function(a){if((!a.C.experiments.o("html5_playbackmanager_enable_notify_new_drm_info")||a.ia)&&a.W&&(a.ka||!a.N)){for(;a.B.length;){var b=a.B[0];if(g.fb(a.G,b.initData))a.B.shift();else{if(a.A.get(b.initData))if("fairplay"==a.o.flavor)a.A.remove(b.initData);else{a.B.shift();continue}a:{var c=b.initData;try{for(var d=0,e=new window.DataView(c.buffer);d<e.byteLength-8;){var f=e.getUint32(d);if(1>=f)break;if(1886614376==e.getUint32(d+4)){var k=32;if(0<e.getUint8(d+8)){var l=e.getUint32(d+28);k+=16*
l+4}var m=e.getUint32(d+k-4);try{var n=new Be(c.subarray(d+k,d+k+m)),p=new aE;for(k=n;Ce(k)&&4!=k.A;)switch(k.B){case 2:var r=Ge(k),v=r;Qe(p,2).push(v);break;case 4:r=Ge(k);Oe(p,4,r);break;case 7:r=Ae(k.o);Oe(p,7,r);break;case 9:r=Ae(k.o);Oe(p,9,r);break;case 10:r=Ae(k.o);Oe(p,10,r);break;case 11:r=Ee(k);Oe(p,11,r);break;case 12:r=Ae(k.o);Oe(p,12,r);break;case 13:v=r=Ge(k);Qe(p,13).push(v);break;case 14:r=new bE;v=k;var z=r,E=Cja,J=v.o.B,N=Ae(v.o),ca=v.o.o+N;v.o.B=ca;E(z,v);v.o.o=ca;v.o.B=J;v=p;z=
r;E=bE;Se(v,E,14);var Qa=v.o[14];Qa||(Qa=v.o[14]=[]);var vb=z?z:new E,rc=Qe(v,14);Qa.push(vb);rc.push(Ue(vb));break;case 1:r=Ee(k);Oe(p,1,r);break;case 3:r=Fe(k);Oe(p,3,r);break;case 5:r=Fe(k);Oe(p,5,r);break;case 6:r=Fe(k);Oe(p,6,r);break;case 8:r=Ge(k);Oe(p,8,r);break;default:De(k)}var Je=p;if(null!=Je){var eb=Je;break a}}catch($d){}}d+=f}eb=null}catch($d){eb=null}}if(null!=eb)for(c=Ne(eb,7),null!=c&&(b.cryptoPeriodIndex=c),c=Ne(eb,10),null!=c&&0<c&&(b.o=c),c=Qe(eb,2),c=!c.length||c[0]instanceof
window.Uint8Array?c:(0,g.I)(c,Yaa),c=g.q(c),d=c.next();!d.done;d=c.next())b.B.push(kR(d.value));if("widevine"==a.o.flavor){a:if(c=a,(0,window.isNaN)(b.cryptoPeriodIndex)&&0<c.A.values.length)c=!0;else{c=g.q(c.A.values);for(d=c.next();!d.done;d=c.next())if(d.value.cryptoPeriodIndex==b.cryptoPeriodIndex){c=!0;break a}c=!1}if(c&&!a.C.experiments.o("html5_dedup_by_cryptoperiod_killswitch")){a.B.shift();continue}else{a:{c=a;if(!(c.C.experiments.o("disable_license_delay")||"widevine"!=c.o.flavor||b.A||
(0,window.isNaN)(b.cryptoPeriodIndex)))for(c=g.q(c.A.values),d=c.next();!d.done;d=c.next())if(1>=Math.abs(d.value.cryptoPeriodIndex-b.cryptoPeriodIndex)){c=!0;break a}c=!1}if(c){Npa(a,b);a.B.shift();continue}}}break}}a.B.length&&(b=a.B[0],b.isPrefetch||a.A.get(b.initData),a.N=!0,eb=new oS(a.wa,a.C,a.L,b,a,a.sa),b.isPrefetch?a.FE(eb):a.A.set(b.initData,eb))}};
Npa=function(a,b){a.D&&a.D.dispose();a.G=b.initData;a.D=new g.U(function(){a.G=null;a.D=null;b.A=!0;a.Is(b)},Opa(b.o));
a.D.start()};
Opa=function(a){return 1E3*Math.max(0,Math.random()*(((0,window.isNaN)(a)?120:a)-30))};
Mpa=function(a,b){var c=DJ("auto",b,!1,"l");if(a.C.experiments.o("html5_drm_start_from_null_constraint")){if(CJ(a.J,c))return}else if(IJ(a.J,b))return;a.J=c;a.V("qualitychange")};
Ppa=function(a,b){this.videoData=a;this.Pa=b};
Qpa=function(a,b){return g.kP(a,b).then(function(){return new Ppa(a,a.Pa)},function(){var b=a.Ma&&!g.yJ()?"html5.unsupportedlive":"fmt.noneavailable",d={buildRej:"1",
a:""+ +!!a.adaptiveFormats,d:""+ +!!a.vf,f18:""+ +(0<=a.Kl.indexOf("itag=18")),c18:""+ +II('video/mp4; codecs="avc1.42001E, mp4a.40.2"'),f43:""+ +(0<=a.Kl.indexOf("itag=43")),c43:""+ +II('video/webm; codecs="vp8.0, vorbis"')};a.ua&&(d.f133=""+ +!!a.ua.o["133"],d.f140=""+ +!!a.ua.o["140"]);return new MN(b,!0,d)})};
Rpa=function(a,b){this.o=a;this.B=b;this.C=this.A=0};
Upa=function(a,b,c,d){var e=DJ("auto",yH(),!1,"s"),f=a.o.experiments.o("html5_break_sticky")&&/^i/.test(b.videoData.clientPlaybackNonce);if(EJ(e)||f){e=GJ(Spa(a,b),Tpa(a,b));f=0;!a.o.B||g.ZM(a.o)||SE()||a.o.experiments.o("mweb_uniplayer_auto_quality")||a.o.experiments.o("hls_for_vod")||(f=g.sI.medium);var k=a.o.experiments.A("html5_default_quality_cap");if(k){var l=!!b.Pa.o&&!b.videoData.Kf,m=a.o.experiments.A("html5_quality_cap_min_age_secs");l&&m&&(l=a.o.schedule.H,l=g.tG()-l>1E3*m);l&&(f=f?Math.min(f,
k):k)}if(m=k=a.o.experiments.A("html5_hfr_quality_cap"))a:{m=b.Pa;if(m.o)for(m=g.q(m.videoInfos),l=m.next();!l.done;l=m.next())if(32<l.value.ab().fps){m=!0;break a}m=!1}m&&(f=f?Math.min(f,k):k);f=new BJ(0,f,!1,"d");e=GJ(e,f);f=a.o.experiments.A("html5_background_quality_cap");k=a.o.experiments.A("html5_background_cap_idle_secs");d=!f||"auto"!=yH()||IG()/1E3<k?FJ:d?new BJ(0,f,!1,"v"):FJ;d=GJ(e,d);e=(e=a.o.experiments.A("html5_autonav_quality_cap"))&&b.videoData.an?new BJ(0,e,!1,"e"):FJ;e=GJ(GJ(GJ(d,
e),a.o.qd),b.videoData.hH)}a.o.experiments.o("html5_ignore_sticky_for_medcap")&&(e=GJ(e,Tpa(a,b)));return GJ(GJ(GJ(b.videoData.Ur,e),b.videoData.Ws),c)};
Vpa=function(a,b,c){g.gN(a.o)&&(c=GJ(c,Spa(a,b)));return c};
Spa=function(a,b){if(g.gN(a.o)&&mJ(a.o.N,pJ))var c=b.Pa.videoInfos[0].ab().o;else{c=!!b.Pa.o;var d;YM(a.o)&&(d=window.screen&&window.screen.width?new g.sd(window.screen.width,window.screen.height):null);if(!d)if(a.o.zh)d=a.o.zh.clone();else if("desktop-polymer"==a.o.playerStyle&&a.o.experiments.o("force_snap_player_size_for_format_size")&&oN(a.o)&&!a.o.experiments.o("force_snap_player_size_for_format_size_killswitch"))if(d=a.B,d.app.o.Oe||d.app.L.isFullscreen()||d.app.isWidescreen())d=d.Ua();else a:{for(d=
0;d<Wpa.length;d++){var e=Wpa[d];if(e.query.matches){d=new g.sd(e.size.width,e.size.height);break a}}d=void 0}else d=a.B.Ua();(SM||xS||c)&&d.scale(g.pN());c=d;var f=b.Pa.videoInfos;if(f.length){d=.85;e=f[0].ab();4!=e.projectionType&&2!=e.projectionType&&3!=e.projectionType||XM||(d=.45);e=f[0];var k=e.ab();f=g.q(f);for(var l=f.next();!l.done&&!(e=k=l.value,k=k.ab(),null===c||k.width*d<c.width&&k.height*d<c.height);l=f.next());c=DJ("auto","93"==g.xI(e)?rI(k.width,k.height):k.quality,!1,"r")}else c=
FJ;c=c.o}c&&(c=Math.max(c,360));return new BJ(0,c,!1,"r")};
Tpa=function(a,b){var c=Xpa(b.Pa);(IE("armv7")||IE("android"))&&!g.gN(a.o)&&zI(b.Pa.videoInfos[0])&&(c=Math.min(c,g.sI.large));return new BJ(0,c,!1,"o")};
Xpa=function(a){if(!a||!a.videoInfos.length)return 0;if(null==a.videoInfos[0].B)return a.videoInfos[0].ab().height;for(var b=g.q(a.videoInfos),c=b.next();!c.done;c=b.next())if(c=c.value,c.B)return c.ab().height;return a.videoInfos[0].ab().height};
yS=function(a,b){b=void 0===b?null:b;var c={};this.B=(c.c1a=(0,g.B)(this.F,this),c.c3a=(0,g.B)(this.G,this),c.c6a=(0,g.B)(this.D,this),c);this.o=a;this.C=b;this.o&&this.o.Ni?this.A=g.rE(this.o.Ni):this.A=[]};
g.zS=function(a,b,c){g.CP.call(this);this.o=a;this.B=b;this.F=c};
BS=function(a,b){g.VF.call(this);var c=this;this.ga=b;this.o=a;Ypa(this);this.ha=new Zpa(b);this.L=new g.SF;g.M(this,this.L);this.N=this.D=this.A=null;this.B=window.NaN;this.G=this.o.startSeconds||0;this.F=null;this.aa=window.NaN;this.K=this.H=null;this.W=this.J=!1;this.ca=new g.U(function(){var a={tgt:c.B};c.D&&g.Ea(a,hS(c.D));c.A&&g.Ea(a,c.A.Tk());(0,window.isFinite)(0<c.B)&&0<c.B&&c.A&&AS(c)&&!c.A.getCurrentTime()&&(c.A.kc(c.B-c.C),a.elem="1");c.V("ctmp","seektimeout",NN(a))},1E4);
g.M(this,this.ca);this.O=new g.U(function(){c.J=!0;$pa(c)});
g.M(this,this.O);this.C=0;this.ba=!0};
FS=function(a,b,c,d,e){c=void 0===c?!0:c;d=void 0===d?!1:d;e=void 0===e?0:e;if(b!=a.B||!a.J){a.J&&CS(a);a.K||(a.K=new UR);var f=b;DS(a)&&!(a.A&&0<a.A.Fe()&&0<DP(a.A))||!(0,window.isFinite)(f)&&gP(a.o)||(b=aqa(a,b,d));ES(a,"html5_seek_resumetime_killswitch")||(a.G=b);a.B=b;a.V("seekto",b,c);c?(a.J=!0,$pa(a)):e&&a.O.start(e)}};
DS=function(a){return a.o.Ma&&!!a.o.Pa&&!a.o.Pa.o};
$pa=function(a){bqa(a).then(void 0,function(){CS(a)});
cqa(a).then(function(b){a.K&&(a.K.resolve(b),a.V("seekend"));CS(a)},function(){CS(a)});
a.ca.start();a.V("seekstart")};
bqa=function(a){if(!a.H)if(a.D)if((0,window.isFinite)(a.B))a.H=a.D.seek(a.B-a.C);else{var b=a.D;ZR(b);b.H&&Hoa(b.H,b.o.A);var c=Math.max(eoa(b.o.B),eoa(b.B.B)),d=b.o;d.G=!0;d.F=-1;xR(d,window.Infinity);d.B.D=c;d.H=c;d=b.B;d.G=!0;d.F=-1;xR(d,window.Infinity);d.B.D=c;d.H=c;d=b.F;for(var e in d.o)LJ(d.o[e].index,window.Infinity);b.A.W&&(b.L=!0,b.Da=!0);b.D=c;b.O=!0;g.zu(b.ga);b.ia=new UR;a.H=b.ia;a.B=a.D.getCurrentTime()+a.C}else a.H=kg(a.B-a.C);return a.H};
cqa=function(a){a.F||(a.F=new UR,dqa(a));return a.F};
aqa=function(a,b,c){return(0,window.isNaN)(b)?window.NaN:g.ld(b,a.bc(),a.Cd(c))};
dqa=function(a){if(a.F&&(!ES(a,"html5_nondash_live_seek_killswitch")&&DS(a)&&a.A&&0<a.A.Fe()&&0<DP(a.A)&&(a.B=aqa(a,a.B,!1)),a.A&&AS(a)&&!(0,window.isNaN)(a.B)&&(0,window.isFinite)(a.B)&&a.aa!=a.B-a.C))if(!a.o.Ma&&a.B>=a.Cd()-.1)a.B=a.Cd(),a.F.resolve(a.Cd()),a.V("ended");else try{a.A.kc(a.B-a.C),a.aa=a.B-a.C,a.G=a.B}catch(b){}};
AS=function(a){if(!a.A||0==a.A.Fe()||a.ha.o&&0<a.A.Eb())return!1;var b=0<a.A.getCurrentTime();if(0<=a.B){var c=a.A.Im();if(c.length||!b)return 0<=VI(c,a.B-a.C)}return b};
CS=function(a){a.B=window.NaN;a.aa=window.NaN;a.F=null;a.H=null;a.K=null;a.J=!1;a.W=!1;a.ca.stop();a.O.stop()};
fqa=function(a){if(a.A)for(var b=g.q(["loadedmetadata","progress","seeked","seeking"]),c=b.next();!c.done;c=b.next())a.L.R(a.A,c.value,function(b){switch(b.type){case "seeking":b=a.A.getCurrentTime()+a.C;if(!a.F||a.W&&b!=a.B)a.F=new UR,FS(a,b,!0),a.W=!0;break;case "seeked":a.F&&a.F.resolve(a.A.getCurrentTime());break;case "loadedmetadata":b=eqa(a),ES(a,"html5_nondash_live_seek_killswitch")&&!b&&DS(a)&&(a.B=(0,window.isFinite)(a.B)?g.ld(a.B,a.bc(),a.Cd()):a.Cd());case "progress":dqa(a)}})};
GS=function(a){return!!a.o.startSeconds&&(0,window.isFinite)(a.o.startSeconds)&&1E9<a.o.startSeconds};
eqa=function(a){if(!a.ba)return!1;if((rP(a.o)||a.o.liveUtcStartSeconds)&&(a.o.liveUtcStartSeconds||GS(a))&&a.o.ua){var b=a.o.liveUtcStartSeconds||a.o.eh;b=a.Cd()-pM(a.o.ua,a.Cd())+b;FS(a,b);return!0}return a.o.ua&&a.o.ua.A&&a.o.eh&&0!=a.o.eh?(FS(a,a.o.eh+a.C),!0):ES(a,"html5_unrewrite_timestamps")&&a.o.vx?(FS(a,a.o.vx),!0):!1};
HS=function(a){a.D&&a.D.unsubscribe("seekelementrequired",a.PF,a)};
gqa=function(a){a.D&&(ES(a,"html5_unrewrite_timestamps")&&a.D.subscribe("timestamp",a.nX,a),a.D.subscribe("seekelementrequired",a.PF,a),a.D.subscribe("seekplayerrequired",function(b,c){FS(a,b+a.C,!0,c)}))};
hqa=function(a){if(!a.A)return 0;if(rP(a.o)){var b=a.A,c=b.dg();b=(0<XI(c)&&b.getDuration()?c.end(c.length-1):0)+a.C-a.bc();a=a.Cd()-a.bc();return Math.max(0,Math.min(1,b/a))}return FP(a.A)};
Ypa=function(a){a.o&&(a.o.subscribe("dataupdated",a.Pr,a),a.o.subscribe("dataloaded",a.Pr,a))};
iqa=function(a){a.o&&(a.o.unsubscribe("dataupdated",a.Pr,a),a.o.unsubscribe("dataloaded",a.Pr,a))};
ES=function(a,b){return a.ga&&a.ga.experiments.o(b)};
Zpa=function(a){this.o=!a.experiments.o("html5_element_ready_error_check_killswitch")};
jqa=function(){var a=void 0===a?window.Infinity:a;this.o=0;this.A=a};
IS=function(){var a=qF("visibilityState",window.document);return!(!a||"visible"==a)};
lqa=function(a){var b=kqa();b&&window.document.addEventListener(b,a,!1)};
mqa=function(a){var b=kqa();b&&window.document.removeEventListener(b,a,!1)};
kqa=function(){if(window.document.visibilityState)var a="visibilitychange";else{if(!window.document[pF+"VisibilityState"])return"";a=pF+"visibilitychange"}return a};
JS=function(){g.VF.call(this);this.F=0;this.D=this.C=this.o=this.A=!1;this.G=(0,g.B)(this.B,this);lqa(this.G);var a=this.isFullscreen();this.H=this.C?4:IS()?3:a?2:this.o?1:this.A?5:this.D?7:0};
KS=function(a,b){a.D!=b&&(a.D=b,a.B())};
LS=function(){g.L.call(this);this.B={};this.o={};this.A=new g.U(this.bX,250,this);g.M(this,this.A)};
MS=function(a,b){if(a.o[b]){var c=a.o[b].buffer;for(var d=[];c.B!=c.o;)c.B=(c.B+1)%c.A.length,d.push(c.A[c.B]);c=d}else c=[];return c};
NS=function(a,b){return a.o[b]?kna(a.o[b].buffer):0};
OS=function(a){this.A=a;this.buffer=new AQ(100);this.o=window.NaN};
PS=function(){this.o=this.A=!1};
RS=function(a,b,c,d,e,f,k,l){g.VF.call(this);this.La=new Oma;this.ba=c;this.Sb=d;this.zh=f;this.W=l;this.Rj=k;c=(0,g.B)(function(a,b){"crn_endcr"!=a||g.W(this.B,32)||QS(this);e(a,b)},this);
this.H=new RR((0,g.B)(this.getCurrentTime,this),(0,g.B)(this.AC,this),(0,g.B)(this.aO,this),c);g.M(this,this.H);this.Qa=window.NaN;this.J=null;this.qc=[];this.ca=null;this.F=a;this.Ba=new Rpa(a,this.Sb);this.sd=!0;this.L=this.D=null;this.ga=[];this.ha=new PS;this.N=this.Oe=null;this.ia=new PS;this.wc=null;this.Uj=!a.experiments.o("publish_video_data_change_on_error_killswitch");this.Hg=this.xe=this.Ah=this.pa=!1;this.yc=window.NaN;this.B=new g.JP;this.Wc=[];this.Kb=b;this.Da=new g.SF;g.M(this,this.Da);
this.o=new g.YO(a);this.A=null;this.wa=new g.U((0,g.B)(this.JT,this),15E3);g.M(this,this.wa);this.C=null;this.Fg=this.Va=!1;this.Ha=window.NaN;this.Ei=this.td=this.fb=this.zb=!1;this.ud=this.Pd=window.NaN;this.Sj=a.experiments.o("html5_force_play_on_suspend_event");this.Tj=a.experiments.o("html5_force_play_on_suspend_event_limited");this.aa=null;this.ka=new LS;g.M(this,this.ka);this.ka.Cb("bufferhealth",(0,g.B)(this.LA,this));this.ka.Cb("bandwidth",(0,g.B)(this.gL,this));this.ka.Cb("networkactivity",
(0,g.B)(this.nL,this),!0);this.ka.Cb("livelatency",(0,g.B)(this.QA,this));this.ka.Cb("rawlivelatency",(0,g.B)(this.TA,this));this.ka.start();this.Gg=!1;this.qd=!0;this.Od=window.NaN;this.we=!1;this.xa=1;this.K=null;this.Hb=(0,g.B)(this.eO,this);lqa(this.Hb);this.W.subscribe("visibilitystatechange",this.Hb);this.Hi=this.yh=0;this.Ii=a.experiments.A("html5_reattach_resource_after_timeout_limit");this.Fi=0;nqa(this);this.sa=null;this.xh=!1;this.Pe=[];this.wd=this.Gi=0;this.O=new jqa};
SS=function(a){g.BG()?g.CG(a.Ha):g.oE(a.Ha)};
ZS=function(a,b,c,d){d=void 0===d?!0:d;a.ga.length=0;a.Oe=null;a.ha.reset();a.ia.reset();a.Qa=window.NaN;a.Va=!1;a.Od=window.NaN;a.sd=!0;a.A&&a.A.Hd();TS(a);US(a);VS(a);SS(a);a.ka.clear();a.aa=null;a.K=null;a.O.isActive()&&WS(a,0,window.Infinity);g.lf(a.o);if(2==a.Kb||a.F.Uj)b.VB=!0;var e=b.tc;var f=a.F.o;var k=a.F.Lb,l;(l=e.adformat)||(l=(e=e.attrib)&&Sb(oqa,e)&&Sb(pqa,e)?pqa[e]+"_"+oqa[e]:void 0);if(e=l)if((l=e.match(qqa))&&5==l.length){if(l=e.match(qqa)){var m=(0,window.parseInt)(l[3],10),n=[7,
8,10,5,6];l=!(1==(0,window.parseInt)(l[1],10)&&8==m)&&0<=n.indexOf(m)}else l=!1;f=f||k||l?e:null}else f=null;else f=null;f&&(b.adFormat=f);2==a.Kb&&(b.Rn=!0);if(a.W.isFullscreen()||a.F.o)f=g.sH("yt-player-autonavstate"),b.autonavState=f||(a.F.o?2:a.o.autonavState);a.qd=d;a.o=b;a.o.subscribe("dataupdated",a.gW,a);a.o.subscribe("dataloaded",a.lt,a);a.o.subscribe("dataloaderror",a.ln,a);a.o.subscribe("onStatusFail",a.fW,a);b.endSeconds&&b.endSeconds>b.startSeconds&&rqa(a,b.endSeconds);sqa(a,c);a.zb=
!1;XS(a,"newdata");YS(a,new g.JP);b=a.G;a=a.o;iqa(b);CS(b);b.o=a;b.N=null;GS(b)||(b.G=b.o.startSeconds||0);Ypa(b);b.C=0;b.ba=!0};
sqa=function(a,b){US(a);if(!a.o.El){var c=new Fma(a.o,a.F,b,(0,g.B)(a.getDuration,a),(0,g.B)(a.getCurrentTime,a),(0,g.B)(a.pL,a),(0,g.B)(a.Sb.Ua,a.Sb),(0,g.B)(a.getAudioTrack,a),(0,g.B)(a.AC,a),(0,g.B)(a.cu,a),a.zh,(0,g.B)(a.GL,a),function(){(0,g.lQ)("qoes",void 0,"")});
a.C=new eQ(c)}};
US=function(a){if(a.C){var b=a.C;if(!b.la()&&b.D){b.F="paused";var c=Yma(b);c.isFinal=!0;c.send();c=b.A;"PL"==c.B&&(c.B="N");var d=g.AP(c.o);g.WP(c,d,"vps",[c.B]);c.D(d);g.oE(b.C);b.dispose()}g.lf(a.C);a.C=null}};
$S=function(a){return a.A&&a.A.Vh()?a.A.na():null};
bT=function(a){if(a.o.Wd())return!0;g.aT(a,"api.invalidparam",void 0,"invalidVideodata.1");return!1};
eT=function(a,b){a.pa=void 0===b?!1:b;if(!bT(a)||a.ha.A)cT(a)&&a.ha.A&&!a.ha.o&&!a.pa&&a.lt();else{a.ha.start();if(a.C){var c=a.C.A;g.AP(c.o);c.o.videoData.dr&&aQ(c,c.o.videoData.dr);c.o.videoData.rl?aQ(c,"prefetch"):(c.A.user_intent=["0"],c.H=!0);c.o.videoData.Ag&&(YP(c,"reload",c.o.videoData.reloadReason),YP(c,"reloadcount",c.o.videoData.Ag.toString()));c.o.videoData.cn&&aQ(c,"monitor");c.o.videoData.Ma&&aQ(c,"live");c.o.videoData.Kf&&YP(c,"ctrl",c.o.videoData.Kf,!0);c.o.videoData.Lf&&YP(c,"ytp",
c.o.videoData.Lf,!0);if(c.o.videoData.CF){var d=c.o.videoData.CF.replace(/,/g,".");YP(c,"ytrexp",d,!0)}c.o.videoData.chapterMarkers.length&&aQ(c,"chaptermarkers");if(!c.o.o.experiments.o("html5_disable_gpu_reporting")){var e=c.o.o.experiments;d=c.o.videoData;e=e.o("enable_white_noise")||e.o("enable_webgl_noop")||e.o("enable_gpu_logging");var f=d.jj()||d.gh()||d.hh()||d.ig();d=0==d.clientPlaybackNonce.indexOf("gp");(e||f||d)&&(d=(0,g.dT)())&&(c.A.gpu=[d])}c.ba=g.nE((0,g.B)(c.D,c),1E4)}a.lt()}};
cT=function(a){return a.F.experiments.o("tvhtml5_disable_live_prefetch")&&g.gN(a.F)&&a.o.Ma};
gT=function(a){a.A&&a.A.Sk();eT(a);bT(a)&&!g.W(a.B,128)&&(a.ia.A||(a.ia.start(),YS(a,MP(MP(a.B,8),1))),fT(a))};
fT=function(a){if(!a.ia.o&&a.ha.o&&!g.W(a.B,128)&&!a.ga.length){if(!a.H.F){var b=a.H;b.F=!0;b.B()}if(!hT(a)){a.D&&(b=a.D,a.Ah=!!b.ka&&!!b.xa);a.ia.o||(a.ia.o=!0);!a.o.Ma||0<a.o.eh&&!gP(a.o)||(iT(a,window.Infinity,!0),jT(a,"readying"),a.W.isBackground()&&(a.Fg=!0));if(a.C&&(b=a.C,b.o.videoData.enableCardio&&b.o.videoData.enableCardioBeforePlayback&&(b.sr("connected"),ana(b)),b.o.videoData.Ma)){b=b.A;var c=b.o.videoData.ua;gP(b.o.videoData)&&aQ(b,"manifestless");c&&oM(c)&&aQ(b,"live-segment-"+oM(c).toFixed(1))}a.V("playbackready",
a);NO("pbr","")||((0,g.lQ)("pbr",void 0,""),OO("pbr"))}}};
QS=function(a,b,c){b=void 0===b?!0:b;(void 0===c||c)&&(kT(a,"html5_ended_media_element_pause_killswitch")?lT(a):a.A&&a.A.pause());b=b?new g.JP(14):new g.JP;YS(a,b)};
rqa=function(a,b){a.ca&&(a.H.C(a.ca),a.ca=null);a.ca=new g.nQ(1E3*b,0x7ffffffffffff);a.ca.namespace="endcr";SR(a.H,[a.ca])};
nT=function(a,b,c,d){a.o.Ga=c;d&&tqa(a,b,d);if(a.C){var e=g.mT(a);d=a.C.A;e=new zma(a.o,c,b,e?g.xI(e):"");c=g.AP(d.o);g.WP(d,c,"vfs",[e.o.id,e.A,d.oa,e.reason]);d.oa=e.o.id;e=d.o.K();if(0<e.width&&0<e.height){e=[Math.round(e.width),Math.round(e.height)];var f=g.pN();1<f&&e.push(f);g.WP(d,c,"view",e)}!d.W&&d.o.videoData.Wh&&aQ(d,"rqs");d.W=!0;g.WP(d,c,"vps",[d.B]);d.D(c)}a.Ba.A=0;a.V("internalvideoformatchange",a.o,"m"==b)};
g.mT=function(a){if(!a.N||!bP(a.o))return null;var b=Upa(a.Ba,a.N,oT(a),a.W.isBackground());return g.Ia(a.o.Pa.videoInfos,(0,g.B)(b.C,b))};
tqa=function(a,b,c){if(c!=a.o.Ac){var d=!a.o.Ac;a.o.Ac=c;"m"!=b&&(b=d?"i":"a");if(a.C){var e=a.C.A;c=new zma(a.o,c,b,"");var f=g.AP(e.o);c.o.id!=e.N&&(g.WP(e,f,"afs",[c.o.id,e.N,c.reason]),e.N=c.o.id)}d||a.V("internalaudioformatchange",a.o,"m"==b)}};
g.aT=function(a,b,c,d,e){var f,k;g.Vb(uqa,c)?f=c:c?k=c:f="YTP_ERROR_GENERIC_WITHOUT_LINK";b={errorCode:b,errorDetail:d,message:k||g.wH(f),messageKey:f,subreason:e||""};a.Uj&&XS(a,"dataloaderror");YS(a,LP(a.B,128,b));SS(a);VS(a);g.pT(a)};
vqa=function(a,b){a.ga=a.ga.filter(function(a){return b!=a});
a.ia.A&&fT(a)};
hT=function(a){var b;(b=!!a.ga.length)||(a=a.H.o.o[0],b=!!a&&-0x8000000000000>=a.start);return b};
WS=function(a,b,c){var d=a.O;d.o=b;d.A=c;b=a.A&&a.A.KC()?a.A.o:a.A;c=a.L;b&&qT(a,b);c&&rT(a,a.A.qk())};
qT=function(a,b){b&&a.O.isActive()&&(b=new g.zS(b,a.O.o,a.O.A));a.A&&sT(a);if(!a.B.isError()){var c=NP(a.B,512);!g.W(c,8)||!kT(a,"htlm5_ended_buffering_killswitch")&&g.W(c,2)||(c=MP(c,1));YS(a,c)}a.A=b;a.A.uq(a.we);a.A.jf(a.xa);wqa(a);xqa(a);c=a.G;var d=a.A;g.UF(c.L);(c.A=d)?fqa(c):CS(c)};
xqa=function(a){if(a.F.experiments.o("html5_prewarm_mse")&&xJ()&&hJ())try{a.A.Uq()}catch(b){}};
sT=function(a){if(kT(a,"html5_debounce_remove_elem_killswitch")||a.A){var b=a.getCurrentTime();0<b&&(a.G.G=b);b=a.G;g.UF(b.L);b.A=null;CS(b);tT(a);a.D&&(g.zu(a.D.ga),YR(a.D,!1));a.wa.stop();a.A&&(!a.ia.A||a.B.isError()||g.W(a.B,2)||YS(a,MP(a.B,512)),g.UF(a.Da),a.O.isActive()||(a.A.Hd(),TS(a)),a.A=null)}};
zT=function(a){if(!g.W(a.B,128))if(a.Gg)a.Gg=!1,uT(a);else if(gT(a),g.W(a.B,64)&&YS(a,MP(a.B,8)),a.ia.o&&a.A)if(a.o.Pa)if(!a.F.experiments.o("html5_airplay_builddata_killswitch")&&vT(a)&&a.o.Pa.o)g.kP(a.o,vT(a)),wT(a);else{if(a.o.Ma){var b=a.getCurrentTime()<a.bc()-15;var c=g.qP(a.o)&&g.W(a.B,4);if(b||c)c?(iT(a,window.Infinity,!0),jT(a,"unpauseLiveOnly")):(iT(a,a.bc(),!0),jT(a,"outOfWindow"));!xT(a,void 0,!0)&&a.isPeggedToLive()&&(iT(a,window.Infinity,!0),jT(a,"peggedToLive"));if(b=g.W(a.B,256)&&
a.o.Ve)b=a.G,b=b.J&&!(0,window.isFinite)(b.B);if(b){YS(a,OP(a.B,8,4));return}}yT(a)?a.F.xo?g.mE((0,g.B)(a.Sn,a),0):a.Sn():a.Sn()}else b=a.o.Ma&&!g.yJ()?"html5.unsupportedlive":a.o.zd?"fmt.unplayable":"fmt.noneavailable",g.aT(a,b,"YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK","selectableFormats.1")};
yqa=function(a){if(!a.N)return[];var b=Vpa(a.Ba,a.N,oT(a,!0));b=b||FJ;a=(0,g.Vd)(a.N.Pa.videoInfos,(0,g.B)(b.C,b));b=[];for(var c={},d=0;d<a.length;d++){var e=a[d].ab();c[e.quality]||(b.push(e),c[e.quality]=!0)}return b};
AT=function(a){return a.N?Upa(a.Ba,a.N,oT(a),a.W.isBackground()):FJ};
oT=function(a,b){if(a.J){var c=a.J;var d=void 0===b?!1:b;d=void 0===d?!1:d;c=!c.C.experiments.o("html5_drm_entitled_qualitycap_on_edge_killswitch")&&d&&c.O?c.O:c.J}else c=bP(a.o)&&a.o.Pa.o&&bM(a.o.ua)?a.F.experiments.o("html5_drm_start_from_null_constraint")?FJ:Ipa:FJ;return c};
wT=function(a){if(!a.la()&&!g.W(a.B,128)&&bP(a.o)){var b=AT(a);if(a.o.Pa.o){if(a.D){var c=a.D;if(!c.la()&&!CJ(c.G.D,b)&&c.o){Yoa(c,xoa(c.G,b));XR(c);var d=MR(c.G)&&"m"==b.reason&&c.G.K,e=c.A.Hg&&"l"==b.reason&&BR(c.o);b="b"==b.reason;d||e||b?c.V("reattachrequired"):(CR(c.o)&&Woa(c,c.o,c.B),g.zu(c.ga))}}}else{c=a.o;a:if(d=a.o.Jf,b.o){e=g.q(d);for(var f=e.next();!f.done;f=e.next()){f=f.value;var k=f.eg(),l=g.sI[k.ab().quality];if((!b.B||"auto"!=k.ab().quality)&&l<=b.o){d=f;break a}}d=d[d.length-1]}else d=
d[0];c.ae=d;nT(a,b.reason,a.o.ae.eg())}a.B.sb()&&(a.G.ba=!1,zT(a))}};
zqa=function(a){a.K=new EQ(a.o,a.F.experiments,function(){return BT(a,!0)});
a.G.N=a.K;a.C&&bna(a.C,GQ(a.K))};
g.CT=function(a){lla(a.o.ua,{cpn:a.o.clientPlaybackNonce,c:a.F.A.c,cver:a.F.A.cver});var b=a.F,c=a.o,d=new g.fL;d.Cy=b.experiments.o("html5_seek_accuracy_allowance_killswitch");d.Py=b.experiments.o("html5_unrewrite_timestamps");b.experiments.o("html5_streaming_xhr")&&(d.G=!0);b.experiments.o("html5_streaming_debug")&&(d.G=!0,d.aa=!0);b.experiments.A("html5_max_av_sync_drift")&&(d.xo=b.experiments.A("html5_max_av_sync_drift"));var e=b.schedule;e.o.A()==e.policy.B&&(d.Hb=10);b.experiments.A("html5_min_secs_between_format_selections")&&
(d.WB=b.experiments.A("html5_min_secs_between_format_selections"));d.La=b.experiments.o("html5_stop_overlapping_requests");d.sa=b.experiments.A("html5_min_readbehind_secs");d.Rp=b.experiments.A("html5_min_readbehind_cap_secs");g.gN(b)&&(d.sa=b.experiments.A("tvhtml5_min_readbehind_secs"));d.Pe=b.experiments.o("html5_append_init_while_paused");d.yc=b.experiments.A("html5_max_readahead_bandwidth_cap");d.WD=b.experiments.o("html5_disable_audio_append_cap");d.xh=b.experiments.o("html5_disable_non_contiguous");
d.sd=b.experiments.A("html5_post_interrupt_readahead");d.Uj=b.experiments.o("html5_log_quota_exceeded");d.K=b.experiments.A("html5_subsegment_readahead_target_buffer_health_secs");d.fb=b.experiments.A("html5_subsegment_readahead_timeout_secs");d.Iy=b.experiments.A("html5_subsegment_readahead_min_buffer_health_secs");d.Va=b.experiments.A("html5_subsegment_readahead_min_buffer_health_secs_on_timeout");d.Ly=b.experiments.A("html5_subsegment_readahead_min_load_speed");d.Pd=b.experiments.A("html5_subsegment_readahead_load_speed_check_interval");
d.Ny=b.experiments.A("html5_subsegment_readahead_seek_latency_fudge");d.Qa=b.experiments.o("html5_streaming_xhr_optimize_lengthless_mp4");d.wa=b.experiments.o("html5_peak_shave");d.zF=b.experiments.o("html5_peak_shave_always_include_sd");d.ty=b.experiments.o("html5_restrict_streaming_xhr_on_sqless_requests");d.Ko=b.experiments.A("html5_max_headm_for_streaming_xhr");d.OF=b.experiments.o("html5_pipeline_manifestless_allow_nonstreaming");d.iH=b.experiments.o("html5_prefer_server_bwe3");d.xe=1024*b.experiments.A("html5_video_tbd_min_kb");
d.lH=b.experiments.o("html5_probe_live_using_range");d.Fy=b.experiments.o("html5_streaming_xhr_buffer_mdat");d.Od=b.experiments.o("html5_streaming_xhr_no_mp4_holdback_chunk");d.Sj=b.experiments.o("html5_last_slice_transition");d.yh=b.experiments.o("html5_disable_incomplete_incremental_parse_error");d.Ey=b.experiments.o("html5_store_xhr_headers_readable");d.Ii=b.experiments.A("html5_incremental_parser_buffer_duration_secs");d.Rj=b.experiments.A("html5_incremental_parser_buffer_extra_bytes");d.Gy=b.experiments.o("html5_streaming_xhr_progress_includes_latest");
d.Gi=b.experiments.o("html5_enable_packet_train_response_rate");if(e=b.experiments.A("html5_probe_secondary_during_timeout_miss_count"))d.td=e,d.Oy=1;d.yb=b.experiments.A("html5_probe_primary_delay_base_ms")||d.yb;b.experiments.o("html5_drm_start_from_null_constraint")&&(d.Hg=!0);d.rd=b.experiments.o("html5_no_placeholder_rollbacks");d.Hy=b.experiments.o("html5_subsegment_readahead_enable_mffa");d.xa=b.experiments.o("html5_platform_whitelisted_for_frame_accurate_seeks");d.ud=b.experiments.o("html5_reattach_on_stuck");
d.ia=b.experiments.o("html5_manifestless_request_prediction");d.fz=b.experiments.o("html5_webm_init_skipping");d.Oe=b.experiments.o("html5_adaptation_fix");d.Ob=b.experiments.A("html5_request_size_padding_secs")||d.Ob;d.Gg=b.experiments.o("html5_clamp_with_padding");d.uo=b.experiments.o("html5_log_timestamp_offset");d.Ty=b.experiments.o("html5_use_media_source_view");d.yp=b.experiments.A("html5_view_offset");d.ga=b.experiments.o("html5_playbackmanager_enable_notify_new_drm_info");d.Ei=b.experiments.o("html5_disable_new_live_flags");
d.Ry=b.experiments.o("html5_loader_use_async");d.zb=b.experiments.A("html5_dynamic_readahead_growth_rate")||d.zb;d.zh=b.experiments.o("html5_disable_incremental_traf_timescale");d.Kb=!b.experiments.o("html5_handle_parse_emsg_error_killswitch");d.Fi=!b.experiments.o("html5_loader_logging_wrongful_set_current_emsg_killswitch");QE()&&(d.wd=!0);JE()&&(d.B=240);g.zh&&(d.N=41943040);d.ca=!hJ();g.gN(b)||!hJ()?(d.D=8388608,d.F=524288,d.Fg=5,d.ka=2097152,d.O=1048576,d.my=1.5,d.Da=15,d.yF=!1,d.H=4587520,NE()&&
(d.H=786432),d.A*=1.1,d.C*=1.1,d.Ba=!0,d.N=d.D,d.oa=d.F):b.B&&(d.A*=1.3,d.C*=1.3);g.JI&&IE("crkey")&&(e="CHROMECAST/ANCHOVY"==b.A.cmodel,d.D=20971520,d.F=1572864,e&&(d.H=812500,d.J=1E3,d.bz=5,d.O=2097152));!b.experiments.o("html5_disable_firefox_init_skipping")&&g.rN&&(d.Ba=!0);d.XB=!b.experiments.o("disable_fpa_sei_removal")&&IE("windows nt")&&(c.jj()||c.ig());if(gP(c)){d.Hi=!0;d.yy=!1;d.Ha=b.experiments.o("html5_shrink_live_timestamps");d.W=d.Ha||b.experiments.o("html5_manifestless_synchronized");
if("ULTRALOW"==c.latencyClass||"LOW"==c.latencyClass&&!b.experiments.o("html5_disable_low_pipeline"))d.qc=2,d.qp=4;d.o=c.hasSubfragmentedFmp4;d.ba=c.defraggedFromSubfragments}c.isAd()&&(d.pa=0,d.Sb=0);hma(c)&&(d.aa=!0);jma(c)&&(d.aa=!0,d.G=!0);d.L=b.experiments.o("html5_enable_subsegment_readahead_v3")||b.experiments.o("html5_ultra_low_latency_subsegment_readahead")&&"ULTRALOW"==c.latencyClass;d.vo=(b.experiments.o("html5_manifestless_accurate_sliceinfo")||d.L)&&gP(c);d.ha=c.Wh;d.Tj=d.ha&&(/^rq[a-f]/.test(c.clientPlaybackNonce)||
b.experiments.o("html5_high_res_logging"));/^pp/.test(c.clientPlaybackNonce)&&(d.bK=!0,d.fI=!0);IE("smart-tv")&&IE("samsung")&&/(K\d{3}|KS\d{3}|KU\d{3})/.test(b.A.cmodel)&&!b.experiments.o("html5_disable_move_pssh_to_moov")&&c.ua&&bM(c.ua)&&(d.Ba=!1);bM(c.ua)&&(d.ud=!1);if(c.Ma){e=oM(c.ua);var f=b.experiments.A("html5_live_abr_head_miss_fraction"),k=b.experiments.A("html5_live_abr_repredict_fraction");f&&e&&(d.wc=Math.min(e*f,d.wc));k&&e&&(d.J=Math.min(1E3*e*k,d.J))}f=0;b.experiments.o("html5_live_use_alternate_bandwidth_window_sizes")&&
(f=b.schedule.policy.o,c.Ma&&(f=b.experiments.A("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.policy.D=gP(c)?.5:0;if(!e.policy.A&&f&&(e=e.o,f=Math.round(f*e.L),f!=e.B)){k=Array(f);var l=Math.min(f,e.F?e.B:e.C),m=e.C-l;0>m&&(m+=e.B);for(var n=0;n<l;++n)k[n]=e.D[(m+n)%e.B];for(;n<f;++n)k[n]=window.Infinity;e.B=f;e.D=k;e.C=l%f;e.F=l==f;e.H=
!0;e.K=uM(e)}d.qd=b.experiments.o("html5_disable_new_live_flags")?c.ua&&c.ua.B:c.Ma;switch(hP(c)){case 21530001:d.Qa=!0;d.ia=!0;d.L=!0;"LOW"==c.latencyClass?d.K=b.experiments.A("html5_jumbo_mobile_subsegment_readahead_target"):"ULTRALOW"==c.latencyClass&&(d.K=b.experiments.A("html5_jumbo_ull_subsegment_readahead_target"));d.rd=!0;break;case 2153E4:d.Qa=!0,d.ia=!0,d.L=!1}d.preferLowQualityAudio=c.preferLowQualityAudio;d.Dy=c.gq;c=b.experiments.A("html5_deadzone_multiplier")||1;(e=b.experiments.A("html5_sticky_reduces_discount_by"))&&
"auto"!=yH()&&(c-=e);d.A*=c;d.C*=c;if(c=b.experiments.A("html5_request_sizing_multiplier"))d.qy=c;d.B=b.experiments.A("html5_max_buffer_duration")||d.B;d.Wc=b.experiments.A("html5_min_upgrade_health")||d.Wc;mJ(b.N,rJ)&&(d.H=window.NaN);d.Da=b.experiments.A("html5_request_size_max_secs")||d.Da;d.Ah=b.experiments.o("killswitch_metadata_events");"auto"!=yH()&&(d.we=0);d.mH=b.experiments.o("html5_rec_2020_matrix_correction_killswitch");d.qd=b.experiments.o("html5_never_pause_appends");a.D=new WR(a.F.schedule,
d,a.o.ua,a.o.Pa,a.H);a.D.subscribe("initsegment",a.yT,a);a.D.subscribe("newDrmInfo",a.pU,a);a.D.subscribe("videoformatchange",a.NT,a);a.D.subscribe("audioformatchange",a.LT,a);a.D.subscribe("error",a.ln,a);a.D.subscribe("ctmp",a.Jb,a);a.D.subscribe("reattachrequired",a.ZW,a);a.D.subscribe("metadata",a.DE,a);a.D.subscribe("constraint",a.dW,a);a.D.subscribe("timestamp",a.JN,a);b=g.Ma(a.ga,"spacecast")||a.pa&&!a.F.experiments.o("html5_preload_media")||a.pa&&cT(a);d=a.getAudioTrack();d=d.Mb.isDefault?
void 0:d;a.D.initialize(a.o.startSeconds,AT(a),b,d);a.o.probeUrl&&(a.D.pa=a.o.probeUrl);(a.ga.length||a.pa)&&YR(a.D,!1);b=a.G;d=a.D;HS(b);(b.D=d)?gqa(b):CS(b);a.K&&(b=a.D,d=nna(a.K),c=a.K.o.F,b.sa=Math.max(a.K.A-1,0),b.H&&(b.H.K=d),b.fb=c);a.qc=[]};
nqa=function(a){a.G=new BS(a.o,a.F);a.G.subscribe("seekto",function(b,c){if(a.K){var d=a.K;ona(d,b,!1);pna(d,b)}a.o.startSeconds=b;d=a.La;d.o=b;d.A=!0;c||Aqa(a);a.ca&&b>a.o.endSeconds&&(0,window.isFinite)(b)&&(a.H.C(a.ca),a.ca=null);b<BT(a)-.01&&YS(a,NP(a.B,2));a.V("seekto",a,b)});
a.G.subscribe("seekstart",function(){return Bqa(a)});
a.G.subscribe("ended",function(){return QS(a)});
a.G.subscribe("pausemediaelement",function(){return lT(a,!0)});
a.G.subscribe("resumemediaelement",function(){g.W(a.B,8)&&a.Sn()});
a.G.subscribe("ctmp",a.Jb,a)};
VS=function(a){if(a.D){a.D.dispose();a.D=null;var b=a.G;HS(b);b.D=null;CS(b)}tT(a)};
tT=function(a){a.L&&(a.L.dispose(),a.L=null)};
DT=function(a){if(a.L)return a.L.jn;kT(a,"html5_disable_loader_reorder")&&Cqa(a);Dqa(a);return a.L?a.L.jn:null};
Dqa=function(a){if(kT(a,"html5_application_media_source"))a.V("requestmediasource",a);else{try{var b=a.A.qk()}catch(c){if(!kT(a,"html5_updatems_new_elem_killswitch")&&ET(a,"html5.missingapi",{updateMs:"1"}))return;g.gE(c,"WARNING");c.message="window.URL object overwritten by external code";window.setTimeout(function(){throw c;},0);
g.aT(a,"html5.missingapi","YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK","updateMs.1")}rT(a,b)}};
rT=function(a,b){a.O.isActive()&&(b=tka(b,a.O.o,a.O.A));kT(a,"html5_disable_loader_reorder")||Cqa(a);a.L=b;ska(a.L,function(b){try{if(a.F.experiments.o("html5_mse_fix_killswitch")||a.L&&(!b||a.L==b))if(a.Hg)a.xe=!0;else{var c=a.getDuration();!c&&gP(a.o)&&(c=3600);a.O.isActive()||(a.L.B.duration=c);g.Toa(a.D,a.L);a.V("mediasourceattached")}}catch(e){g.gE(e,"WARNING"),a.ln(new MN("fmt.unplayable",!0,{msi:"1",ename:e.name}))}})};
Cqa=function(a){a.D?a.D.seek(a.getCurrentTime()):g.CT(a)};
Eqa=function(a){return 403==a.details.rc?(a=a.errorCode,"net.badstatus"==a||"manifest.net.retryexhausted"==a):!1};
Fqa=function(a){return a.fb||"yt"!=a.F.ca?!1:a.o.Ve?10>a.o.Ag:!a.o.Ag};
uT=function(a){a.fb||(a.fb=!0,a.V("signatureexpired"))};
Gqa=function(a){return"net.retryexhausted"==a.errorCode||"net.badstatus"==a.errorCode&&!!a.details.fmt_unav};
Hqa=function(a,b){if(a.A&&("fmt.unplayable"==b.errorCode||"html5.invalidstate"==b.errorCode)){var c=a.A.Eb();b.details.merr=c?c.toString():"0";b.details.msg=a.A.Uk()}};
ET=function(a,b,c){if(a.Od+3E4>(0,g.H)())return kT(a,"html5_exile_broken_instances")&&!a.o.Ve&&(a.F.ba+=1,10<a.F.ba)?(c.exiled=""+a.F.ba,a.C.onError("qoe.start15s",NN(c)),a.V("playbackstalledatstart"),!0):!1;a.Od=(0,g.H)();var d=a.o;d=d.ae?+g.tE(d.ae.o().o).expire<Date.now()/1E3+1800:!1;a.C&&(c.e=b,a.L&&(c.msopened=""+ +!!a.L.o),d&&(c.staleprog="1"),a.C.onError("qoe.restart",NN(c)));if(d&&Fqa(a))return uT(a),!0;IE("philips")&&Iqa(a);a.D?(b=a.D,b.o&&(c=(c=b.o.D||b.o.o)?c.o:b.o.A,c.K+=1,KR(b.G,c))):
kT(a,"html5_progressive_fallback")&&a.o.ae&&a.o.ae.C();FT(a);return!0};
FT=function(a){VS(a);WS(a,0,window.Infinity);a.V("newelementrequired");g.W(a.B,8)&&zT(a)};
Iqa=function(a){if("GAME_CONSOLE"!=a.F.A.cplatform)try{window.close()}catch(b){}};
lT=function(a,b){b=void 0===b?!1:b;if((g.W(a.B,64)||g.W(a.B,2))&&!b)if(g.W(a.B,8))YS(a,OP(a.B,4,8));else return;if(a.A||a.F.experiments.o("html5_pause_video_fix"))g.W(a.B,128)||(b?YS(a,MP(a.B,256)):YS(a,OP(a.B,4,8))),a.A&&a.A.pause(),g.qP(a.o)&&a.D&&YR(a.D,!1)};
GT=function(a){lT(a);a.D&&(YR(a.D,!1),ZR(a.D))};
g.pT=function(a,b){b=void 0===b?!1:b;a.A&&(kT(a,"html5_release_mediakey_after_load")?(VS(a),a.A.Hd(),TS(a)):(TS(a),VS(a),a.A.Hd()),xqa(a),g.W(a.B,128)||(b?YS(a,OP(a.B,4,8)):YS(a,LP(a.B))),a.F.F.remove(a.o.videoId))};
iT=function(a,b,c,d){b=void 0===b?0:b;c=void 0===c?!1:c;var e=void 0===e?!1:e;!kT(a,"html5_update_on_seek_killswitch")&&g.W(a.B,2)&&yT(a);if(b&&!(0,window.isFinite)(b)&&a.K&&a.D){if(a.o.isLowLatencyLiveStream||"LOW"==a.o.latencyClass||"ULTRALOW"==a.o.latencyClass){var f=a.K;if(f.B.length){var k=f.A;b:{if(f.B.length){if(1<Math.min.apply(null,f.B)){var l=DQ(f,f.A-1);break b}if(f.o.C){l=DQ(f,f.A+1);break b}}l=f.A}f.A=l;if(k=k!=f.A)f.B=[],f.D=0;f=k}else f=!1;f&&a.C&&bna(a.C,GQ(a.K))}f=a.D;k=nna(a.K);
l=a.K.o.F;f.sa=Math.max(a.K.A-1,0);f.H&&(f.H.K=k);f.fb=l}FS(a.G,b,c,e,d)};
Aqa=function(a){g.W(a.B,32)||(YS(a,MP(a.B,32)),g.W(a.B,8)&&lT(a,!0),a.V("beginseeking",a));HT(a)};
Bqa=function(a){g.W(a.B,32)?(YS(a,OP(a.B,16,32)),a.V("endseeking",a)):kT(a,"html5_sync_seeking_state")&&!g.W(a.B,2)&&YS(a,MP(a.B,16))};
IT=function(a){if(a.o.ua)return pM(a.o.ua,a.getCurrentTime()-(a.G?a.G.C:0));if((!kT(a,"html5_disable_limit_ingestion_tvos")||ME())&&a.A&&a.A.qn()){var b=a.A.qn().getTime();if(!(0,window.isNaN)(b))return b/1E3+a.getCurrentTime()}return window.NaN};
JT=function(a,b){var c={};if(void 0===b?0:b){a.C?g.Ea(c,dQ(gQ(a.C,"playback"))):a.o&&(c.cpn=a.o.clientPlaybackNonce);a.A&&(g.Ea(c,a.A.Tk()),g.Ea(c,a.cu()));a.D&&g.Ea(c,hS(a.D));if(a.J){var d=a.J,e=d.o;e={systemInfo:{flavor:e.flavor,keySystem:e.o},sessions:[]};d=g.q(d.A.values);for(var f=d.next();!f.done;f=d.next()){f=f.value;var k={requestedKeyIds:f.ga,cryptoPeriodIndex:f.cryptoPeriodIndex};f.D&&(k.keyStatuses=f.o);e.sessions.push(k)}c.drm=e}c.state=a.B.A.toString(16);g.W(a.B,128)&&(c.debug_error=
a.B.o);hT(a)&&(c.prerolls=a.ga.join(","));a.o.fh&&(c.ismb=a.o.fh);"UNKNOWN"!=a.o.latencyClass&&(c.latency_class=a.o.latencyClass);a.o.isLowLatencyLiveStream&&(c.lowlatency="1");a.o.Ma&&(a.o.ua&&oM(a.o.ua)&&(c.segduration=oM(a.o.ua)),a.aa&&(c.lat=kna(a.aa.D)));c.relative_loudness=a.o.relativeLoudness.toFixed(3);if(e=g.mT(a))c.optimal_format=e.video.qualityLabel;c.user_qual=yH()}c.debug_videoId=a.o.videoId;return c};
vT=function(a){return kT(a,"html5_new_vis_fullscreen_and_airplay")?a.W.C:a.Ei};
XS=function(a,b){a.V("internalvideodatachange",void 0===b?"dataupdated":b,a,a.o)};
wqa=function(a){(0,g.D)("loadstart loadeddata loadedmetadata play playing progress pause ended suspend seeking seeked timeupdate durationchange ratechange error waiting resize".split(" "),function(a){this.Da.R(this.A,a,this.dO,this)},a);
a.F.Hg&&a.A.Vh()&&(a.Da.R(a.A,"webkitplaybacktargetavailabilitychanged",a.WR,a),a.Da.R(a.A,"webkitcurrentplaybacktargetiswirelesschanged",a.XR,a))};
Kqa=function(a){window.clearInterval(a.yc);a.wa.stop();a.o.Ve=!0;a.F.Ve=!0;a.F.ba=0;Jqa(a);g.W(a.B,8)&&YS(a,NP(a.B,65));if(a.C){var b=a.C;if(!b.D){b.o.o.experiments.o("disable_embedpage_playback_logging")||16623!=b.o.videoData.rootVeType||g.iE(Error("Playback for EmbedPage"));var c=gQ(b,"playback");b.J=[10+b.o.videoData.Fk,10,10,40+b.o.videoData.gn-b.o.videoData.Fk,40];var d=b.B;window.clearInterval(d.G);d.G=window.NaN;d.G=g.nE((0,g.B)(d.update,d),100);d.F=g.AP(d.A);d.C=yP(d.A);c.A=fQ(b,!0);c.send();
b.o.videoData.Qn&&(c=b.o.o,d=b.o.videoData,d={html5:"1",video_id:d.videoId,cpn:d.clientPlaybackNonce,plid:d.playbackId,ei:d.eventId,ptk:d.Qn,oid:d.kF,ptchn:d.jF,pltype:d.lF,content_v:tP(d)},c=g.Zg(c.baseYtUrl+"ptracking",d),hQ(b,c));b.o.videoData.enableCardio&&(b.sr("playback"),b.C||ana(b));b.o.videoData.Zf||$ma(b);b.D=!0;b=b.B;b.o=b.A.A();b.F=g.AP(b.A);!(0==b.B&&5>b.o)&&2<b.o-b.B&&(b.B=b.o);b.J=!0}g.mE((0,g.B)(a.gx,a),4500)}a.V("playbackstarted");g.BG()&&((a=g.y("yt.scheduler.instance.clearPriorityThreshold"))?
a():DG(0))};
Jqa=function(a){var b=a.getCurrentTime(),c=a.o;!NO("pbs","")&&HO.measure&&HO.getEntriesByName&&(HO.getEntriesByName("mark_nr")[0]?LO("mark_nr"):LO());c.videoId&&a.ba.info("docid",c.videoId);c.eventId&&a.ba.info("ei",c.eventId);c.clientPlaybackNonce&&a.ba.info("cpn",c.clientPlaybackNonce);0<c.startSeconds&&a.ba.info("start",c.startSeconds.toString());a.A&&a.A.uj()&&a.ba.info("paused",1);c.Ga?a.ba.info("fmt",g.xI(c.Ga)):a.ba.info("fmt","-1");c.rl&&a.ba.info("yt_pre",a.Ah?"2":"1");a.W.isFullscreen()&&
a.ba.info("yt_fs","1");a.ba.info("cmt",b.toFixed(3));if(a.D){a=a.D;window&&window.performance&&window.performance.getEntriesByName&&(b=window.performance.getEntriesByName(a.xa),b.length&&(b=b[0],a.fd("vri",b.fetchStart),a.fd("vdns",b.domainLookupEnd),a.fd("vreq",b.requestStart),a.fd("fvb",b.responseStart),a.fd("vrc",b.responseEnd)),b=window.performance.getEntriesByName(a.ka),b.length&&(b=b[0],a.fd("ari",b.fetchStart),a.fd("adns",b.domainLookupEnd),a.fd("areq",b.requestStart),a.fd("avb",b.responseStart),
a.fd("arc",b.responseEnd)));a=a.yc;for(var d in a)(0,g.lQ)(d,a[d],"")}};
HT=function(a,b){b=void 0===b?!1:b;if(a.A&&a.o){var c=a.getCurrentTime();if(a.K&&xT(a)){var d=a.K,e=a.LA();d.D++;3>d.D||(0,g.H)()-d.H<d.o.J||(d.H=(0,g.H)(),d.B.push(e),50<d.B.length&&d.B.shift())}a.K&&(d=a.B.sb(),e=a.K,ona(e,c,void 0===d?!0:d),pna(e,c),d&&(d=a.K,!IQ(d,c)&&d.isPeggedToLive()?(d.o.G&&(d.o.o=Math.max(d.o.o+1,10)),d=window.Infinity):d=c<d.C.bc()?Math.min(d.C.bc()+10,HQ(d)):window.NaN,(0,window.isNaN)(d)||(iT(a,d,!0),jT(a,"updateProgress"))));a.aa&&xT(a)&&(d=a.aa,!d.o||c>=d.B&&c<d.C||
(e=d.o.Wg(c),-1!=e&&(d.B=d.o.Yd(e),d.C=d.B+d.o.getDuration(e),e=(0,g.H)()/1E3-d.o.Qv(e),d.A&&(e-=d.A()),d.D.add(e))));if(a.D&&(!g.W(a.B,4)||!g.qP(a.o))&&(d=a.D,e=c,d.C)){e-=!(0,window.isNaN)(d.W)&&d.A.Py?d.W:0;d.D!=e&&d.resume();if(d.O&&!fJ(d.C)){var f=d.D<=e&&e<d.D+10,k=0<=VI(d.C.A.uc(),d.D+dS);f&&k&&(d.O=!1)}d.O||(d.D=e);g.zu(d.wa)}5<c&&(a.G.G=c);(d=g.BG())?g.CG(a.Ha):g.oE(a.Ha);!g.SP(a.B)&&a.A.uj()||g.W(a.B,128)||(e=(0,g.B)(a.WL,a),0==a.A.Hm().length?a.Ha=d?g.zG(e,100):g.mE(e,100):a.Ha=d?g.zG(e,
500):g.mE(e,500));a.o.Hh=c;if(!b&&a.B.sb()&&(a.C&&(c=a.C,c.B.update(),c.o.videoData.Pb()&&c.o.videoData.Zf&&!c.N&&Cma(c.B)>=c.o.videoData.Zf&&(c.D&&c.o.videoData.Zf&&(d=gQ(c,"delayplay"),d.yb=!0,d.send(),c.N=!0),$ma(c)),(0,g.H)()>a.Fi+6283&&(!xT(a)||a.o.ua&&mM(a.o.ua)||(c=a.C.A,e=c.o.D(),d=g.AP(c.o),Qma(c,d,e),e=e.F,(0,window.isNaN)(e)||g.WP(c,d,"e2el",[e.toFixed(3)])),!kT(a,"html5_report_raw_latency_killswitch")&&g.qN(a.F)&&a.Jb("rawlat","l."+NS(a.ka,"rawlivelatency").toFixed(3)),a.Fi=(0,g.H)())),
a.o.Ga&&CI(a.o.Ga)&&(c=$S(a))&&c.videoHeight!=a.wd&&(a.wd=c.videoHeight,kT(a,"html5_log_hls_video_height_change_as_format_change")&&a.o.ae&&"auto"==a.o.ae.Qg.ab().quality&&a.o.Jf)))for(c=g.q(a.o.Jf),d=c.next();!d.done;d=c.next())if(d=d.value,d.getHeight()==a.wd&&"auto"!=d.Qg.ab().quality){nT(a,"a",d.eg());break}a.V("progresssync",a,b)}};
YS=function(a,b){if(!g.PP(a.B,b)){var c=new g.UP(b,a.B);a.B=b;var d=!a.Wc.length;a.Wc.push(c);var e=a.A&&a.A.tq();if(0<VP(c,1)&&!g.W(c.o,16)&&!e&&g.W(a.B,8)&&!g.W(a.B,64)&&a.D&&(a.D.aa=!0,KT(a),a.A&&5<=EP(a.A))){e=a.Ba;var f=a.N;6E4<(0,g.H)()-e.C&&(e.A=0);e.A++;e.C=(0,g.H)();f=f.videoData.Ga.ab().o;var k=e.o.B?240:360;4==e.A&&f>k?(e.o.qd=new BJ(0,f-1,!1,"b"),e=!0):e=!1;e&&wT(a)}(0>VP(c,8)||0<VP(c,1024))&&a.wa.stop();!(0<VP(c,8))||a.o.Ve||g.W(c.state,1024)||a.wa.start();g.W(c.state,8)&&0>VP(c,16)&&
!g.W(c.state,32)&&!g.W(c.state,2)&&zT(a);g.W(c.state,2)&&rP(a.o)&&(e=a.getCurrentTime(),a.o.lengthSeconds!=e&&(a.o.lengthSeconds=e,XS(a)),HT(a,!0));0<VP(c,2)&&(a.gx(),KT(a));a.o.ua&&a.o.Ma&&(0>VP(c,8)?(e=a.o.ua,e.C&&e.C.stop()):0<VP(c,8)&&a.o.ua.resume());if(a.C&&(e=a.C,!e.la())){g.W(c.state,2)?(e.F="paused",0<VP(c,2)&&e.D&&Yma(e).send()):g.W(c.state,8)?(e.F="playing",e.D&&(0,window.isNaN)(e.G)&&fQ(e,!1)):e.F="paused";f=e.A;k=c.state;var l=g.AP(f.o),m=Tma(f,c.state);if(m!=f.B){if(!(l<f.C)){if("PL"==
f.B)f.L+=l-f.C;else if("B"==f.B&&f.J){f.J=!1;var n=f.o.o.experiments.A("html5_disable_last_state_change")?f.C:f.ca;f.O+=l-n;!f.aa&&10<=f.O&&180>=f.L&&(f.o.H(),f.A.qoealert=["1"],f.aa=!0)}"B"!=m||"PL"!=f.B&&"PB"!=f.B||(f.J=!0);f.C=l}"B"==m&&"PL"==f.B||f.o.videoData.Wh?ZP(f,l):g.WP(f,l,"cmt",[f.o.A().toFixed(3)]);g.WP(f,l,"vps",[m]);f.B=m;f.ca=l;f.C=l}m=k.o;g.W(k,128)&&m&&Rma(f,l,m.errorCode,m.errorDetail);(g.W(k,2)||g.W(k,128))&&f.D(l);g.W(k,8)&&f.o.videoData.rl&&!f.H&&(f.A.user_intent=[g.AP(f.o).toString()],
f.H=!0);$P(f);e.C&&g.W(c.state,128)&&(e.sr("error-100"),g.oE(e.C))}if(d&&!a.la())try{for(var p=g.q(a.Wc),r=p.next();!r.done;r=p.next()){var v=r.value,z=a.H;c=v;if(z.F&&!z.J&&(z.B(),g.W(c.o,16))){c=z;var E=Poa(c.o,Math.max(c.D-2E3,0));!(0,window.isNaN)(E)&&0x7ffffffffffff>E&&c.G.start()}a.V("statechange",v)}}finally{a.Wc.length=0}}};
LT=function(a,b){g.W(a.B,128)||(YS(a,OP(a.B,1028,9)),a.Jb("dompaused",b),a.V("onDompaused"))};
yT=function(a){if(!a.A||!a.o.Pa)return!1;var b=null;a.o.Pa.o?(b=DT(a),a.D.resume()):(VS(a),a.o.ae&&(b=a.o.ae.o()));var c=a.A.rq(),d=!1;c&&null!=b&&b.o==c.o||((0,g.lQ)("vta",void 0,""),OO("vta"),0<a.getCurrentTime()&&(d=a.getCurrentTime(),a.G.G=d),a.A.Sk(b),a.L&&DG(4),!a.o.Ve&&QP(a.B)&&a.wa.start(),d=!0);g.W(a.B,2)||(b=a.G,b.K||!(0<b.G)||b.A&&0<b.A.getCurrentTime()||FS(b,b.G));Lqa(a);return d};
Lqa=function(a){if(g.lP(a.o)&&a.A){var b=a.o.ih;if(b&&a.A.Vh()){if(a.J){if("fairplay"!=b.flavor||ME())return;TS(a)}var c=a.A.na();a.J=new tS(c,a.o,a.F,"widevine"==b.flavor&&!a.o.Ma&&!a.o.Tu);a.J.subscribe("licenseerror",a.CT,a);a.J.subscribe("qualitychange",a.ET,a);a.J.subscribe("heartbeatparams",a.bO,a);a.J.subscribe("keystatuseschange",a.cO,a);a.J.subscribe("hdproberequired",a.DT,a);a.J.subscribe("ctmp",a.Jb,a);(0,g.D)(a.qc,function(b){uS(a.J,new kS(b.info,b.type))});
a.qc=[]}else g.aT(a,"fmt.unplayable","YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK","drm.1")}};
TS=function(a){a.J&&(a.J.dispose(),a.J=null)};
Mqa=function(a,b){b=void 0===b?!1:b;return a.o.Ma&&(xT(a)||a.isPeggedToLive()||g.qP(a.o))?a.getCurrentTime():BT(a,b)};
BT=function(a,b){return a.G.Cd(void 0===b?!1:b)};
MT=function(a,b){a.xa=b;a.A&&a.A.jf(b)};
xT=function(a,b,c){if(!a.o.Ma||!a.K||!(a.sd||void 0!==c&&c))return!1;void 0==b&&(b=a.getCurrentTime());return IQ(a.K,b)};
g.Nqa=function(a,b){(a.sd=b)||a.wa.stop();if(a.o.ua)if(b)a.o.ua.resume();else{var c=a.o.ua;c.C&&c.C.stop()}a.F.experiments.o("html5_suspend_loader")&&a.D&&(b?a.D.resume():YR(a.D,!0));a.F.experiments.o("html5_fludd_suspend")&&(g.W(a.B,2)||b?g.W(a.B,512)&&b&&YS(a,NP(a.B,512)):YS(a,MP(a.B,512)));a.C&&(c=a.C.A,g.WP(c,g.AP(c.o),"stream",[b?"A":"I"]))};
Oqa=function(a){a.A&&(a.L?(TS(a),VS(a),DT(a)):(a.o.ae&&a.o.ae.C(),a.A.Hd()),zT(a))};
NT=function(a,b){a.F.experiments.o("html5_log_rebuffer_reason")&&a.Jb("bufreason","r."+b+";lact."+IG())};
Pqa=function(a,b){if(a.o.Wh){var c=a.F.experiments.A("html5_log_rebuffer_events");if(c&&a.C&&a.A){var d=a.A.Tk();d.rt=g.AP(a.C.o).toFixed(3);d.e=b.substr(0,3);a.Pe[a.Gi++%c]=NN(d)}}};
KT=function(a){if(a.o.Wh){for(var b=g.q(a.Pe),c=b.next();!c.done;c=b.next())a.Jb("vpe",c.value);a.Pe=[];a.Gi=0}};
jT=function(a,b){a.Jb("seekreason",b)};
kT=function(a,b){return a.F.experiments.o(b)};
OT=function(a,b){iQ.call(this,a,b);this.H=null};
g.PT=function(a){return a.app.D};
g.QT=function(a){a=g.PT(a).Pg;return!!a&&a.FC()};
ST=function(a){a=g.PT(a);var b=a.Pg;return b&&b.GC()?!0:g.RT(a)};
g.TT=function(a,b){3==a.Sa()?a.V("mdxautoplaycancel"):a.V("autonavcancel",b)};
g.X=function(a){return a.app.o};
g.UT=function(a,b){return Qqa(a.app,b||a.playerType)};
g.VT=function(a){return a.app.H};
XT=function(a){var b=g.WT(g.PT(a));return a.app.ca&&!a.isFullscreen()||3==a.Sa()&&b&&b.hasNext()&&b.kg()||!!a.rg()};
g.ZT=function(a,b){var c=a.playerType;(c=g.Y(a.app,void 0===c?1:c))&&QS(c,b)};
g.$T=function(a,b,c){a.app.C.ln(new MN(b,!1,c))};
g.Rqa=function(a){var b={};a=yqa(g.Y(a.app));a=g.q(a);for(var c=a.next();!c.done;c=a.next())c=c.value,b[c.quality]=c;return b};
g.aU=function(a){return(a=g.PT(a).ee)?a.DO():{}};
g.bU=function(a,b,c,d){var e=g.Y(a.app);c.event=b;a.isFullscreen()&&(c.fs=1);c.ux=1;e.logEvent(c,d)};
g.cU=function(a){a=g.PT(a).zc;return!!a&&a.mn()};
g.dU=function(a){a=g.PT(a).zc;return!!a&&a.DC()};
g.eU=function(a,b){var c=g.kI(a);if(c)return c.Uv(b);c=a.app.H.Ua();return new g.jh(0,0,c.width,c.height)};
fU=function(a){a=g.PT(a).ah;return!!a&&a.uO()};
g.hU=function(a,b,c){gU(a.app,b,c||a.playerType)};
g.kU=function(a,b,c){var d=a.app;a=c||a.playerType;if(c=g.Y(d,a))c.H.C.apply(c.H,b),a&&iU(d)!=a||jU(d,"cuerangesremoved",b)};
g.lU=function(a,b,c){var d=a.app;a=c||a.playerType;if(c=g.Y(d,a))b=Qoa(c.H,b),a&&iU(d)!=a||jU(d,"cuerangesremoved",b)};
g.mU=function(a,b,c){c=void 0===c?a.playerType:c;(a=g.Y(a.app,c))&&vqa(a,b)};
g.Sqa=function(a){a=(a=a.getVideoData())&&a.Ga;return!!a&&!(!a.audio||!a.video)&&"application/x-mpegURL"!=a.mimeType};
g.Tqa=function(a){a=a.getVideoData();return!!a&&!!(a.adaptiveFormats||a.hlsFormats||a.vf)};
g.nU=function(a,b,c){a=g.VT(a).element;var d=cb(a.children,function(a){a=(0,window.parseInt)(a.getAttribute("data-layer"),10);return c-a||1});
0>d&&(d=-(d+1));Td(a,b,d);b.setAttribute("data-layer",c)};
g.oU=function(a){return a.app.F};
g.pU=function(a){var b=g.X(a);if(!b.Od)return!1;var c=a.getVideoData();if(!c||3==a.Sa())return!1;var d=!c.isLiveDefaultBroadcast||b.experiments.o("allow_poltergust_autoplay");b=c.Ma&&(!b.experiments.o("allow_live_autoplay")||!d);return!c.ypcPreview&&!b&&!g.Ma(c.cd,"ypc")&&!a.rg()};
rU=function(a,b,c,d){if(g.X(a).W){a=a.app.ka;g.Ma(a.o,b);g.Pa(a.o,b);var e=String(a.J++);b.setAttribute("data-visual-id",e);a.A?(b.visualElement=g.RG(d),d=g.mH(),e=g.lH(),d&&e&&g.YG(d,e,b.visualElement)):g.qU(a,"onLogClientVeCreated",{id:e,ve_type:d});g.kf(c,(0,g.B)(a.lA,a,b))}};
g.sU=function(a,b){g.X(a).W&&a.app.ka.click(b)};
g.tU=function(a,b,c){if(g.X(a).W){a=a.app.ka;var d=b.getAttribute("data-visual-id");g.Ma(a.o,b);c?(g.Pa(a.B,d),g.Pa(a.C,b)):(g.Sa(a.B,d),g.Sa(a.C,b));c&&!g.Ma(a.F,d)&&(a.A?(c=g.mH())&&b.visualElement&&g.WG(c,b.visualElement):g.qU(a,"onLogVesShown",{ids:[d]}),g.Pa(a.F,d))}};
g.uU=function(a){return g.Y(a.app)};
g.wU=function(a,b,c){vU(a.app,b,void 0===c?!1:c)};
g.yU=function(a,b){if(iU(a.app)==b){var c=a.app,d=g.Y(c,b);d&&(d!=c.C?xU(c,c.C):Uqa(c))}};
Vqa=function(a){if(!g.X(a).experiments.o("html5_inline_video_quality_survey"))return!1;var b=g.Y(a.app);if(!b)return!1;var c=b.getVideoData();if(!c.Ga||!c.Ga.video||1080>c.Ga.video.o||c.OB)return!1;var d=/^qsa/.test(c.clientPlaybackNonce),e="r";0<=c.Ga.id.indexOf(";")&&(d=/^[a-p]/.test(c.clientPlaybackNonce),e="x");g.X(a).experiments.o("html5_inline_video_quality_survey_always")&&(d=!0,e="a");return d?(b.Jb("iqss",e,!0),!0):!1};
Wqa=function(){var a={};a.dt=WB;a.flash="0";a:{try{var b=window.top.location.href}catch(c){b=2;break a}b=null!=b?b==window.document.location.href?0:1:2}a=(a.frm=b,a);qi(a);return a};
g.zU=function(a){g.VF.call(this);this.player=a;this.loaded=!1};
AU=function(a){this.A=a};
Xqa=function(a){this.adBreakLengthSeconds=a.reduce(function(a,b){return a+b},0);
for(var b=0,c=1;c<a.length;c++)b+=a[c];this.adBreakRemainingLengthSeconds=b};
BU=function(a,b){this.A=a;new Xqa([]);this.G=b;this.D=[];this.o={};this.F=null;this.B=0;this.C=null;var c=this.A.skipOffsetMilliseconds||0;0<c&&(this.F=c);this.o=g.rE(this.A.playerVars||"");if(c=this.A.external){if(this.D=c.mediaFiles||[],c=c.durationMilliseconds,g.ta(c)&&(this.B=c/1E3,this.o.length_seconds=this.B.toString()),c=this.G.o(this.D))this.C=c.uri,c=c.mimeType,this.o.url_encoded_third_party_media="url="+(0,window.encodeURIComponent)(this.C)+"&type="+(0,window.encodeURIComponent)(c)}else if(this.B=
IM(this.B,this.o.length_seconds),this.o.cta_conversion_urls)try{this.o.cta_conversion_urls=JSON.parse(this.o.cta_conversion_urls)}catch(d){g.gE(d)}new Xqa([this.B])};
CU=function(){g.L.call(this);var a=this;this.o=new window.Map;this.A=g.NF(window.document.body,"click",function(b){b.target&&(b=a.o.get(b.target))&&UE(b)},"ytp-ad-has-logging-urls")};
Zqa=function(a){if(a.simpleText)return a=g.Pd(a.simpleText),a;var b=[];if(a.runs)for(var c=0;c<a.runs.length;c++){var d=a.runs[c];d.text&&b.push(Yqa(d))}return 1==b.length?b[0]:g.Md("SPAN",null,b)};
Yqa=function(a){var b=null,c=a.text;a.bold&&(b=g.Md("B",null,b||c));a.italics&&(b=g.Md("I",null,b||c));a.strikethrough&&(b=g.Md("STRIKE",null,b||c));if(a.navigationEndpoint&&a.navigationEndpoint.urlEndpoint){var d=a.navigationEndpoint.urlEndpoint;b=g.Md("A",null,b||c);g.hd(b,d.url);"TARGET_NEW_WINDOW"==d.target&&(b.target="_blank");if(a=a.navigationEndpoint.loggingUrls)a=a.map(function(a){return a.baseUrl}),null==DU&&(DU=new CU),DU.register(b,a),g.S(b,"ytp-ad-has-logging-urls")}return b||g.Md("SPAN",
null,c)};
FU=function(a){g.L.call(this);var b=this;this.o=new EU(a);g.M(this,this.o);this.B=[];this.A=[];this.o.subscribe("externalClick",function(){return b.hide()});
this.o.subscribe("confirmClick",function(){return b.hide()})};
EU=function(a){g.VF.call(this);this.C=a;this.A=new g.V({I:"div",M:"ytp-ad-info-dialog-confirm-container",P:[{I:"button",M:"ytp-ad-info-dialog-confirm-button",da:"{{content}}"}]});g.M(this,this.A);this.A.hide();this.B=new g.V({I:"div",M:"ytp-ad-info-dialog-title",da:"{{content}}"});g.M(this,this.B);this.B.hide();this.o=new g.V({I:"div",M:"ytp-ad-info-dialog-relative-container",P:[{I:"div",M:"ytp-ad-info-dialog-form",P:[this.B,{I:"ul",M:"ytp-ad-info-dialog-ad-reasons"},{I:"div",M:"ytp-ad-info-dialog-message",
da:"{{content}}"},this.A]}]});g.M(this,this.o);this.o.hide();this.Z=new g.SF(this);g.M(this,this.Z)};
$qa=function(a){return a.o.o["ytp-ad-info-dialog-ad-reasons"]};
GU=function(a){return a?Zqa(a):null};
ara=function(a){if(!a.loggingUrls)return[];var b=[];a=g.q(a.loggingUrls);for(var c=a.next();!c.done;c=a.next())c=c.value,c.baseUrl&&b.push(c.baseUrl);return b};
HU=function(a){if(!a)return[];var b=[];a=g.q(a);for(var c=a.next();!c.done;c=a.next())if(c=c.value,c.loggingUrls){c=g.q(c.loggingUrls);for(var d=c.next();!d.done;d=c.next())b.push({baseUrl:d.value.baseUrl})}return b};
bra=function(a){HU(a.impressionCommands);a.abandonCommands&&HU(a.abandonCommands.commands);this.A=a};
cra=function(a){AU.apply(this,arguments)};
IU=function(a){if(!a)return[];var b=[];a.forEach(function(a){a.command.loggingUrls.forEach(function(c){b.push({baseUrl:c.baseUrl,offsetMilliseconds:a.adVideoOffset.milliseconds})})});
return b};
JU=function(a){return a&&a.adVideoOffset&&a.adVideoOffset.percent||0};
KU=function(a){return"AD_VIDEO_PROGRESS_KIND_PERCENT"==a.adVideoOffset.kind};
dra=function(a){a=a.playbackCommands;if(!a)return{};var b={};b.impression=HU(a.impressionCommands)||[];b.error=HU(a.errorCommands)||[];b.mute=HU(a.muteCommands)||[];b.unmute=HU(a.unmuteCommands)||[];b.pause=HU(a.pauseCommands)||[];b.rewind=HU(a.rewindCommands)||[];b.resume=HU(a.resumeCommands)||[];b.skip=HU(a.skipCommands)||[];b.close=HU(a.closeCommands)||[];b.clickthrough=HU(a.clickthroughCommands)||[];b.fullscreen=HU(a.fullscreenCommands)||[];b.active_view_viewable=HU(a.activeViewViewableCommands)||
[];b.active_view_measurable=HU(a.activeViewMeasurableCommands)||[];b.active_view_fully_viewable_audible_half_duration=HU(a.activeViewFullyViewableAudibleHalfDurationCommands)||[];b.end_fullscreen=HU(a.endFullscreenCommands)||[];b.channel_clickthrough=HU(a.channelClickthroughCommands)||[];b.abandon=HU(a.abandonCommands)||[];b.progress=IU(a.progressCommands.filter(function(a){return"AD_VIDEO_PROGRESS_KIND_MILLISECONDS"==a.adVideoOffset.kind}));
b.start=IU(a.progressCommands.filter(function(a){return KU(a)&&1E-6>=Math.abs(JU(a)-0)}));
b.first_quartile=IU(a.progressCommands.filter(function(a){return KU(a)&&1E-6>=Math.abs(JU(a)-.25)}));
b.midpoint=IU(a.progressCommands.filter(function(a){return KU(a)&&1E-6>=Math.abs(JU(a)-.5)}));
b.third_quartile=IU(a.progressCommands.filter(function(a){return KU(a)&&1E-6>=Math.abs(JU(a)-.75)}));
b.complete=IU(a.progressCommands.filter(function(a){return KU(a)&&1E-6>=Math.abs(JU(a)-1)}));
return b};
era=function(a){AU.call(this,a,dra(a));a.questions&&a.questions.reduce(function(a,c){var b=c.instreamSurveyAdSingleSelectQuestionRenderer||c.instreamSurveyAdMultiSelectQuestionRenderer;return b?a+(b.surveyAdQuestionCommon.durationMilliseconds||0)/1E3:a},0)};
fra=function(a){AU.apply(this,arguments)};
gra=function(a){AU.apply(this,arguments)};
hra=function(a,b){var c=g.fE("VALID_SESSION_TEMPDATA_DOMAINS",[]),d=g.Pg(window.location.href);d&&c.push(d);d=g.Pg(a);if(g.Ma(c,d)||!d&&g.jb(a,"/"))if(g.jE("autoescape_tempdata_url")&&(c=window.document.createElement("a"),g.hd(c,a),a=c.href),a&&(c=g.Ng(a),c=g.Mg(null,null,null,null,c[5],c[6],c[7]),d=c.indexOf("#"),c=0>d?c:c.substr(0,d))){if(b.itct||b.ved)b.csn=b.csn||g.mH();if(e){var e=(0,window.parseInt)(e,10);(0,window.isFinite)(e)&&0<e&&(c="ST-"+g.zb(c).toString(36),d=b?g.Xg(b):"",g.MG(c,d,e||
5))}else e="ST-"+g.zb(c).toString(36),c=b?g.Xg(b):"",g.MG(e,c,5)}};
g.LU=function(a){var b=void 0===b?{}:b;var c=void 0===c?"":c;var d=void 0===d?window:d;d=d.location;a=g.Zg(a,b)+c;a=a instanceof Kc?a:Pc(a);d.href=g.Lc(a)};
g.MU=function(a,b,c){b=void 0===b?{}:b;c=void 0===c?!1:c;var d=g.fE("EVENT_ID");d&&(b.ei||(b.ei=d));b&&hra(a,b);c||((window.ytspf||{}).enabled?window.spf.navigate(a):g.LU(a))};
g.NU=function(a,b,c){c&&hra(a,c);c=g.Oc(a);c=g.Lc(c);a!=c&&g.iE(Error("Unsafe window.open URL: "+a));a=c;window.open(a,b||g.zb(a).toString(36))};
OU=function(){g.VF.call(this);this.o=new window.Map};
ira=function(){null==PU&&(PU=new OU,Cm.getInstance().A="b",Dm());return PU};
jra=function(a){switch(a){case "fully_viewable_audible_half_duration_impression":return"h";case "measurable_impression":return"c";case "overlay_unmeasurable_impression":return"i";case "overlay_unviewable_impression":return"j";case "overlay_viewable_end_of_session_impression":return"k";case "overlay_viewable_immediate_impression":return"l";case "viewable_impression":return"p";default:return null}};
g.QU=function(a,b){var c={},d;for(d in b)c.placeholder=b[d],a=a.replace(new RegExp("\\$"+d,"gi"),function(a){return function(){return a.placeholder}}(c)),c={placeholder:c.placeholder};
return a};
kra=function(a){RU=a&&a.data};
mra=function(a){lra=a&&a.data};
nra=function(){RU=null};
g.ora=function(){return g.SU?{I:"div",ea:["ytp-icon","ytp-icon-cast-desktop-on"]}:{I:"svg",U:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},P:[{I:"path",Ya:!0,U:{d:"M7,24 L7,27 L10,27 C10,25.34 8.66,24 7,24 L7,24 Z M7,20 L7,22 C9.76,22 12,24.24 12,27 L14,27 C14,23.13 10.87,20 7,20 L7,20 Z M25,13 L11,13 L11,14.63 C14.96,15.91 18.09,19.04 19.37,23 L25,23 L25,13 L25,13 Z M7,16 L7,18 C11.97,18 16,22.03 16,27 L18,27 C18,20.92 13.07,16 7,16 L7,16 Z M27,9 L9,9 C7.9,9 7,9.9 7,11 L7,14 L9,14 L9,11 L27,11 L27,25 L20,25 L20,27 L27,27 C28.1,27 29,26.1 29,25 L29,11 C29,9.9 28.1,9 27,9 L27,9 Z",
fill:"#fff"}}]}};
pra=function(){return{I:"svg",U:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},P:[{I:"path",U:{d:"m 14.8,21.9 -4.2,-4.2 -1.4,1.4 5.6,5.6 12,-12 -1.4,-1.4 -10.6,10.6 z",fill:"#fff"}}]}};
g.TU=function(){return g.SU?{I:"div",ea:["ytp-icon","ytp-icon-chevron-back"]}:{I:"svg",U:{height:"100%",version:"1.1",viewBox:"0 0 32 32",width:"100%"},P:[{I:"path",U:{d:"M 19.41,20.09 14.83,15.5 19.41,10.91 18,9.5 l -6,6 6,6 z",fill:"#fff"}}]}};
g.UU=function(){return g.SU?{I:"div",ea:["ytp-icon","ytp-icon-chevron-forward"]}:{I:"svg",U:{height:"100%",version:"1.1",viewBox:"0 0 32 32",width:"100%"},P:[{I:"path",U:{d:"m 12.59,20.34 4.58,-4.59 -4.58,-4.59 1.41,-1.41 6,6 -6,6 z",fill:"#fff"}}]}};
qra=function(){return g.SU?{I:"div",ea:["ytp-icon","ytp-icon-clip-clear"]}:{I:"svg",U:{height:"100%",version:"1.1",viewBox:"0 0 14 14",width:"100%"},P:[{I:"path",U:{d:"M14,14 L14,0 L0,0 L0,14 L14,14 Z"}},{I:"path",U:{d:"M7.15,8.35 L9.25,10.45 L10.65,9.05 L8.55,6.95 L10.7,4.8 L9.3,3.4 L7.15,5.55 L5,3.4 L3.6,4.8 L5.75,6.95 L3.65,9.05 L5.05,10.45 L7.15,8.35 Z",fill:"#fff"}}]}};
rra=function(){return g.SU?{I:"div",ea:["ytp-icon","ytp-icon-clip-end"]}:{I:"svg",U:{height:"100%",version:"1.1",viewBox:"0 0 14 14",width:"100%"},P:[{I:"path",Ya:!0,U:{d:"M2,14 L5,11 L5,3 L2,0 L9,0 L9,14 L2,14 L2,14 Z",fill:"#eaeaea"}}]}};
sra=function(){return g.SU?{I:"div",ea:["ytp-icon","ytp-icon-clip-start"]}:{I:"svg",U:{height:"100%",version:"1.1",viewBox:"0 0 14 14",width:"100%"},P:[{I:"path",Ya:!0,U:{d:"M12,14 L9,11 L9,3 L12,0 L5,0 L5,14 L12,14 Z",fill:"#eaeaea"}}]}};
g.VU=function(){return g.SU?{I:"div",ea:["ytp-icon","ytp-icon-close"]}:{I:"svg",U:{height:"100%",viewBox:"0 0 24 24",width:"100%"},P:[{I:"path",U:{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z",fill:"#fff"}}]}};
tra=function(){return g.SU?{I:"div",ea:["ytp-icon","ytp-icon-link"]}:{I:"svg",U:{height:"100%",viewBox:"0 0 36 36",width:"100%"},P:[{I:"path",U:{d:"M5.85 18.0c0.0-2.56 2.08-4.65 4.65-4.65h6.0V10.5H10.5c-4.14 .0-7.5 3.36-7.5 7.5s3.36 7.5 7.5 7.5h6.0v-2.85H10.5c-2.56 .0-4.65-2.08-4.65-4.65zM12.0 19.5h12.0v-3.0H12.0v3.0zm13.5-9.0h-6.0v2.85h6.0c2.56 .0 4.65 2.08 4.65 4.65s-2.08 4.65-4.65 4.65h-6.0V25.5h6.0c4.14 .0 7.5-3.36 7.5-7.5s-3.36-7.5-7.5-7.5z",fill:"#fff"}}]}};
ura=function(){return g.SU?{I:"div",ea:["ytp-icon","ytp-icon-next"]}:{I:"svg",U:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},P:[{I:"path",Ya:!0,M:"ytp-svg-fill",U:{d:"M 12,24 20.5,18 12,12 V 24 z M 22,12 v 12 h 2 V 12 h -2 z"}}]}};
g.vra=function(){return g.SU?{I:"div",ea:["ytp-icon","ytp-icon-notifications-active"]}:{I:"svg",U:{fill:"#fff",height:"24px",viewBox:"0 0 24 24",width:"24px"},P:[{I:"path",U:{d:"M7.58 4.08L6.15 2.65C3.75 4.48 2.17 7.3 2.03 10.5h2c.15-2.65 1.51-4.97 3.55-6.42zm12.39 6.42h2c-.15-3.2-1.73-6.02-4.12-7.85l-1.42 1.43c2.02 1.45 3.39 3.77 3.54 6.42zM18 11c0-3.07-1.64-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.63 5.36 6 7.92 6 11v5l-2 2v1h16v-1l-2-2v-5zm-6 11c.14 0 .27-.01.4-.04.65-.14 1.18-.58 1.44-1.18.1-.24.15-.5.15-.78h-4c.01 1.1.9 2 2.01 2z"}}]}};
wra=function(){return g.SU?{I:"div",ea:["ytp-icon","ytp-icon-pause"]}:{I:"svg",U:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},P:[{I:"path",Ya:!0,M:"ytp-svg-fill",U:{d:"M 12,26 16,26 16,10 12,10 z M 21,26 25,26 25,10 21,10 z"}}]}};
xra=function(){return g.SU?{I:"div",ea:["ytp-icon","ytp-icon-play"]}:{I:"svg",U:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},P:[{I:"path",Ya:!0,M:"ytp-svg-fill",U:{d:"M 12,26 18.5,22 18.5,14 12,10 z M 18.5,22 25,18 25,18 18.5,14 z"}}]}};
yra=function(){return g.SU?{I:"div",ea:["ytp-icon","ytp-icon-prev"]}:{I:"svg",U:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},P:[{I:"path",Ya:!0,M:"ytp-svg-fill",U:{d:"m 12,12 h 2 v 12 h -2 z m 3.5,6 8.5,6 V 12 z"}}]}};
g.WU=function(){return g.SU?{I:"div",ea:["ytp-icon","ytp-icon-replay"]}:{I:"svg",U:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},P:[{I:"path",Ya:!0,M:"ytp-svg-fill",U:{d:"M 18,11 V 7 l -5,5 5,5 v -4 c 3.3,0 6,2.7 6,6 0,3.3 -2.7,6 -6,6 -3.3,0 -6,-2.7 -6,-6 h -2 c 0,4.4 3.6,8 8,8 4.4,0 8,-3.6 8,-8 0,-4.4 -3.6,-8 -8,-8 z"}}]}};
g.zra=function(){return g.SU?{I:"div",ea:["ytp-icon","ytp-icon-settings"]}:{I:"svg",U:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},P:[{I:"path",Ya:!0,U:{d:"m 23.94,18.78 c .03,-0.25 .05,-0.51 .05,-0.78 0,-0.27 -0.02,-0.52 -0.05,-0.78 l 1.68,-1.32 c .15,-0.12 .19,-0.33 .09,-0.51 l -1.6,-2.76 c -0.09,-0.17 -0.31,-0.24 -0.48,-0.17 l -1.99,.8 c -0.41,-0.32 -0.86,-0.58 -1.35,-0.78 l -0.30,-2.12 c -0.02,-0.19 -0.19,-0.33 -0.39,-0.33 l -3.2,0 c -0.2,0 -0.36,.14 -0.39,.33 l -0.30,2.12 c -0.48,.2 -0.93,.47 -1.35,.78 l -1.99,-0.8 c -0.18,-0.07 -0.39,0 -0.48,.17 l -1.6,2.76 c -0.10,.17 -0.05,.39 .09,.51 l 1.68,1.32 c -0.03,.25 -0.05,.52 -0.05,.78 0,.26 .02,.52 .05,.78 l -1.68,1.32 c -0.15,.12 -0.19,.33 -0.09,.51 l 1.6,2.76 c .09,.17 .31,.24 .48,.17 l 1.99,-0.8 c .41,.32 .86,.58 1.35,.78 l .30,2.12 c .02,.19 .19,.33 .39,.33 l 3.2,0 c .2,0 .36,-0.14 .39,-0.33 l .30,-2.12 c .48,-0.2 .93,-0.47 1.35,-0.78 l 1.99,.8 c .18,.07 .39,0 .48,-0.17 l 1.6,-2.76 c .09,-0.17 .05,-0.39 -0.09,-0.51 l -1.68,-1.32 0,0 z m -5.94,2.01 c -1.54,0 -2.8,-1.25 -2.8,-2.8 0,-1.54 1.25,-2.8 2.8,-2.8 1.54,0 2.8,1.25 2.8,2.8 0,1.54 -1.25,2.8 -2.8,2.8 l 0,0 z",
fill:"#fff"}}]}};
Ara=function(){return g.SU?{I:"div",ea:["ytp-icon","ytp-icon-stop"]}:{I:"svg",U:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},P:[{I:"path",Ya:!0,M:"ytp-svg-fill",U:{d:"M 12,25 19,25 19,11 12,11 z M 19,25 26,25 26,11 19,11 z"}}]}};
Bra=function(){return g.SU?{I:"div",ea:["ytp-icon","ytp-icon-subtitles"]}:{I:"svg",U:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},P:[{I:"path",Ya:!0,U:{d:"M11,11 C9.9,11 9,11.9 9,13 L9,23 C9,24.1 9.9,25 11,25 L25,25 C26.1,25 27,24.1 27,23 L27,13 C27,11.9 26.1,11 25,11 L11,11 Z M11,17 L14,17 L14,19 L11,19 L11,17 L11,17 Z M20,23 L11,23 L11,21 L20,21 L20,23 L20,23 Z M25,23 L22,23 L22,21 L25,21 L25,23 L25,23 Z M25,19 L16,19 L16,17 L25,17 L25,19 L25,19 Z",fill:"#fff"}}]}};
Cra=function(){return g.SU?{I:"div",ea:["ytp-icon","ytp-icon-volume-high"]}:{I:"svg",U:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},P:[{I:"path",Ya:!0,U:{d:"M8,21 L12,21 L17,26 L17,10 L12,15 L8,15 L8,21 Z M19,14 L19,22 C20.48,21.32 21.5,19.77 21.5,18 C21.5,16.26 20.48,14.74 19,14 Z M19,11.29 C21.89,12.15 24,14.83 24,18 C24,21.17 21.89,23.85 19,24.71 L19,26.77 C23.01,25.86 26,22.28 26,18 C26,13.72 23.01,10.14 19,9.23 L19,11.29 Z",fill:"#fff"}}]}};
Dra=function(){return g.SU?{I:"div",ea:["ytp-icon","ytp-icon-volume-low"]}:{I:"svg",U:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},P:[{I:"path",Ya:!0,U:{d:"M8,21 L12,21 L17,26 L17,10 L12,15 L8,15 L8,21 Z M19,14 L19,22 C20.48,21.32 21.5,19.77 21.5,18 C21.5,16.26 20.48,14.74 19,14 Z",fill:"#fff"}}]}};
XU=function(){return g.SU?{I:"div",ea:["ytp-icon","ytp-icon-volume-muted"]}:{I:"svg",U:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},P:[{I:"path",Ya:!0,M:"ytp-svg-fill",U:{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"}}]}};
g.YU=function(a,b,c,d,e,f){e=void 0===e?null:e;f=void 0===f?null:f;g.L.call(this);this.B=a;c||a.hide();this.F=b;this.G=null==d?b:d;this.C=f;this.D=e;this.o=null;this.A=new g.U(this.Qr,0,this);g.M(this,this.A)};
ZU=function(a,b){var c=a.B.element;b?c.setAttribute("aria-hidden",!0):c.removeAttribute("aria-hidden")};
g.$U=function(a){var b=Math.abs(Math.floor(a)),c=Math.floor(b/86400),d=Math.floor(b%86400/3600),e=Math.floor(b%3600/60);b=Math.floor(b%60);var f="";0<c&&(f+=c+":",10>d&&(f+="0"));if(0<c||0<d)f+=d+":",10>e&&(f+="0");f+=e+":";10>b&&(f+="0");f+=b;return 0<=a?f:"-"+f};
g.aV=function(a){return(!g.ta(a.button)||0==a.button)&&!a.shiftKey&&!a.altKey&&!a.metaKey&&!a.ctrlKey};
bV=function(a,b){this.A=a;this.o=b};
cV=function(a,b){return a.A+b*a.getLength()};
dV=function(a,b,c){if(!a.getLength())return null!=c?c:window.Infinity;a=(b-a.A)/a.getLength();return g.ld(a,0,1)};
eV=function(a,b){g.WH.call(this,{I:"div",M:"ytp-ad-persistent-progress-bar-container",P:[{I:"div",M:"ytp-ad-persistent-progress-bar"}]});this.D=a;this.C=b;g.M(this,this.C);this.H=this.o["ytp-ad-persistent-progress-bar"];this.B=-1;this.R(a,"presentingplayerstatechange",this.G);this.hide();this.G()};
fV=function(){g.V.call(this,{I:"div",M:"ad-carousel",P:[{I:"div",M:"ad-carousel-clip",P:[{I:"ul",ea:["ad-carousel-list","ad-carousel-list-animation"]}]}]});var a=this.o["ad-carousel"];this.D=new g.V({I:"button",ea:["ad-carousel-nav-button","ad-carousel-nav-prev"],U:{type:"button",onclick:"return false;"},P:[{I:"span",ea:["ad-carousel-prev-icon","yt-uix-tooltip","yt-sprite"],U:{"data-tooltip-text":"Prev",title:"Prev"}}]});g.M(this,this.D);this.D.X("click",this.H,this);this.D.ya(a);this.C=new g.V({I:"button",
ea:["ad-carousel-nav-button","ad-carousel-nav-next"],U:{type:"button",onclick:"return false;"},P:[{I:"span",ea:["ad-carousel-next-icon","yt-uix-tooltip","yt-sprite"],U:{"data-tooltip-text":"Next",title:"Next"}}]});g.M(this,this.C);this.C.X("click",this.G,this);this.C.ya(a);this.F=this.o["ad-carousel-list"];this.B=0;this.Ra=[]};
Era=function(a,b){a.clear();for(var c=g.q(b),d=c.next();!d.done;d=c.next()){var e=a;d=d.value.element;var f=new g.V({I:"li",M:"ad-carousel-listitem",P:[{I:"div",M:"ad-carousel-item"}]});f.o["ad-carousel-item"].appendChild(d);e.Ra.push(f);e.F.appendChild(f.element)}};
hV=function(a){a.F&&g.xh(a.F,"left",(2>a.Ra.length?0:-a.B*a.Ra[1].element.clientWidth)+"px");g.VH(a.D,0<a.B);g.VH(a.C,a.B<a.Ra.length-gV(a))};
gV=function(a){return 2>a.Ra.length?1:Math.round((a.element.clientWidth-a.Ra[0].element.clientWidth)/a.Ra[1].element.clientWidth)+1};
iV=function(a,b){b=void 0===b?2:b;g.VF.call(this);this.A=a;this.o=new g.SF(this);g.M(this,this.o);this.C=Fra;this.B=null;this.o.R(this.A,"presentingplayerstatechange",this.G);this.B=this.o.R(this.A,"progresssync",this.D);this.F=b;1===this.F&&this.D()};
kV=function(a,b){this.o=a;this.A=g.ta(b)?b:null;if(g.Ma(jV,this.o)){if(!g.ta(this.A)||0>this.A)throw Error("Must have valid offset");}else if(null!==this.A)throw Error("Must not have offset");};
lV=function(a){var b=a.A;if(null!==b)return b;switch(a.o){case 1:return 0;case 3:return-1;default:return-100}};
Gra=function(a,b){var c=a.o,d=b.o;if(c!=d){if(1==c||3==d)return-1;if(1==d||3==c)return 1}var e=a.A,f=b.A;return e!=f?null===e?1:null===f?-1:e-f:c-d};
g.mV=function(){var a=g.fE("PLAYER_CONFIG");return a&&a.args&&void 0!==a.args.authuser?!0:!(!g.fE("SESSION_INDEX")&&!g.fE("LOGGED_IN"))};
nV=function(a){return a?-1!=a.toString().search(/(?:true|1)/i):!1};
Hra=function(a,b){if(a){var c="getErrorCode"in a?a.Eb():null;c?b.error_code=c:(c="getMessage"in a&&g.za(a.getMessage)?a.Vd():a.message,c=qb(c||"",50),b.error_message=c)}};
oV=function(a,b){if(a){var c=ht(a).reverse();b.ad_id=g.Ua(c,ft(a)).join(",");c=jt(a).reverse();b.ad_sys=g.Ua(c,Ws(a)).join(",");c=ir(a);null!=c&&(b.aqi=c)}};
pV=function(a,b){if(a[b])return nV(a[b]);var c=b.toLowerCase(),d;for(d in a)if(d&&d.toLowerCase()==c)return nV(a[d]);return!1};
Ira=function(a,b,c){var d=new Oo;d.Zj=b.baseYtUrl;d.contentId=c.videoId;d.Mx=!YM(b);d.Qx=!0;d.eH=!0;d.fH=a.N;d.showContentThumbnail=a.showContentThumbnail;d.hj={};c.Kf&&(d.hj.ctrl=c.Kf);c.Lf&&(d.hj.ytr=c.Lf);c.Yo&&(d.hj.ytrcc=c.Yo);c.isMdxPlayback&&(d.hj.mdx="1");c.rf&&(d.hj.vvt=c.rf);a.A?(d.Ms=!0,d.mA=!0,d.showContentThumbnail=!1,d.Lx=!0,d.Nx=!0,d.Qx=!1):a.D&&(d.Ms=!0);a.A&&RM&&(d.wB=!1);d.vB=a.K;return d};
Rra=function(a){var b=new hB,c=a.app.H.Ua();b.zk=c.width;b.yk=c.height;b.Af=c.width;qV(a).experiments.o("ima_use_dynamic_player_size_macros")&&(b.ym=Jra(a),b.zm=Kra(a));b.zf=100;b.sA=nN(qV(a));c=new Dn;c.o=(0,g.B)(qV(a).experiments.o,qV(a).experiments);c.A=(0,g.B)(qV(a).experiments.A,qV(a).experiments);c.B=(0,g.B)(qV(a).experiments.B,qV(a).experiments);b.hs=c;if(c=b.sA?wla(qV(a)):-1)b.F=c;a.o.tagForChildDirected&&(b.Dr=!0);c=rV(a);b.ac={CA_TYPE:"image",CONTENT_V:c.videoId,CPN:c.clientPlaybackNonce,
EID:c.eventId,LACT:Lra(a),VIS:Mra(a)};c.oauthToken&&yE()&&(b.G=gc({Authorization:"Bearer "+c.oauthToken}));qV(a).experiments.o("ima_use_dynamic_player_size_macros")?(b.ac.P_H=Nra(a),b.ac.P_W=Ora(a)):(c=sV(a),null!=c&&(b.ac.P_H=c.height,b.ac.P_W=c.width));g.Hb(Wqa(),function(a,c){b.ac[c.toUpperCase()]=a});
nN(qV(a))||(b.ac.LACT="-1");b.language=qV(a).ia;var d=Pra(a),e=0;b.Lo=function(){var a=Qra();d(a);e++;return a};
return b};
Pra=function(a){var b=!0;return function(c){if(b){a.Ke("a_bid_s");if(eg(c)){var d=(0,g.B)(a.Ke,a,"a_bid_f");c.then(d,d)}else a.Ke("a_bid_f");b=!1}}};
Qra=function(){var a=null;kF().then(function(b){a=b},function(b){a=b.isTimeout?"NO_BID":"ERR_BID"});
if(null!=a)return a;var b=rba(),c=g.tg(lba([kF(),b]),function(){return"ERR_BID"});
oba(g.tg(c,g.A),function(){b.cancel()});
return c};
Lra=function(a){return{toString:function(){if(null==a||a.la())return a=null;qV(a);return IG().toString()}}};
Nra=function(a){return{toString:function(){if(null==a||a.la())return a=null;var b=sV(a);return null!=b?b.height.toString():null}}};
Ora=function(a){return{toString:function(){if(null==a||a.la())return a=null;var b=sV(a);return null!=b?b.width.toString():null}}};
Kra=function(a){return function(){if(null==a||a.la())return a=null;var b=sV(a);return null!=b?b.width:null}};
Jra=function(a){return function(){if(null==a||a.la())return a=null;var b=sV(a);return null!=b?b.height:null}};
Mra=function(a){return{toString:function(){return null==a||a.la()?a=null:a.player.xj().toString()}}};
Sra=function(a){return{toString:function(){if(null==a||a.la())return a=null;var b=a.oe?a.oe.o:null;return null==b||0>b?"0":Math.ceil(.001*(0,g.H)()-b).toString()}}};
Tra=function(){var a=["Visit Google's "," to learn more about how ads are targeted or to opt out of personalised ads."];a.splice(1,0,"Ad settings");return new du("Click for Ad Settings","Close","This ad may be based on:",g.mV()?["The video that you're watching.","Your activity, while you were signed in to Google."]:["The video that you're watching.","Your activity on this device."],void 0,a)};
tV=function(a,b,c,d){this.A=this.C="";this.B=a;this.G=b;this.o=c;this.F=d};
uV=function(a){var b={};b.l_ns=a.G;b.l_state=a.F;b.break_type=a.B.o;b.sst=lV(a.B);b.sidx=0;a.C&&(b.at=a.C);a.A&&(b.ad_id=a.A);return b};
vV=function(){g.L.call(this);this.A=new g.U((0,g.B)(this.F,this),1E3);g.M(this,this.A);this.C=this.B=0;this.o=nba();this.D=!1};
Ura=function(){var a=g.y("yt.www.watch.ads.loadAfc");g.za(a)?(a(),wV=!0):xV=!0};
Vra=function(){window.google_ad_output="html";window.google_ad_height="250";window.google_ad_format="300x250_as";window.google_container_id="google_companion_ad_div"};
Wra=function(){var a=g.y("window.google_show_companion_ad");var b=g.y("yt.www.watch.ads.getGlobals");g.za(a)&&g.za(b)?(b=b(),b=!(!b||!b.length)):b=!1;b?a():yV=!0};
Yra=function(a){if(P.B){if(!a)return ng();zV(a,{afvMpu:{}});return kg()}a=a&&qV(a).experiments;Wra();AV();return Xra(a)};
Xra=function(a){BV||(BV=new vV(a));a=BV;a.D||(a.A.start(),a.D=!0);return a.o.o};
AV=function(){BV&&(BV.dispose(),BV=null)};
CV=function(){var a=g.y("yt.www.watch.ads.setCompanion");a&&a()};
Zra=function(a){var b=g.y("yt.www.watch.ads.showForcedMpu");b&&b(a)};
DV=function(a,b,c,d){g.VF.call(this);this.o=a;this.A=d;this.videoData=null;this.adType=c;this.adSystem=b};
$ra=function(a,b,c){this.o=a;this.A=b;this.B=c||0};
dsa=function(a){var b=[];(0,g.D)(a.split("_"),function(a,b){this[b]=g.Bb(a)},b);
return new $ra(g.Vb(asa,b[0])?b[0]:0,g.Vb(bsa,b[1])?b[1]:0,g.Vb(csa,b[2])?b[2]:0)};
esa=function(){this.clickThroughUrl="";this.isSkippable=this.isBumper=!1;this.skipShown=this.skip=g.A;this.skipTime=0;this.videoUrl=this.videoId="";this.adSystem=0;this.attributionInfo=this.muteAdInfo=this.whyThisAdInfo=null;this.whyThisAdClosed=this.whyThisAdClicked=this.muteAd=this.muteAdClicked=this.sendAdsPing=g.A};
EV=function(a){g.L.call(this);var b=g.Od("div");b.className="video-ad-label";b.textContent="Advertisement";var c=g.Od("div");c.className="video-ad-status-bar";c.appendChild(b);b=g.Od("div");b.className="ad-container";var d=g.Od("div");d.className="video-ads";d.appendChild(c);d.appendChild(b);this.element=d;this.B=a;this.A=this.o=null};
FV=function(a){if(!a.o){var b=g.X(a.B);a.o=g.K("ad-container",a.element);!b.wd||SM&&YM(b)||(b.experiments.o("ima_enable_ad_ui_shifted_workaround")?g.S(a.o,"ad-container-single-media-element-annotations-workaround"):g.S(a.o,"ad-container-single-media-element-annotations"),b.experiments.o("enable_ima_ad_container_position_fix")&&g.S(a.o,"ad-container-single-media-element-annotations-fix"))}return a.o};
fsa=function(a){if(!a.A){var b=g.Od("div");g.Kq(b,["video-click-tracking","ad-video"]);FV(a).appendChild(b);a.A=b}return a.A};
gsa=function(a){a||(g.gE(Error("WhyThisAdExtension is absent"),"WARNING"),a=Tra());var b={button:{buttonRenderer:{style:"STYLE_DEFAULT",size:"SIZE_DEFAULT",icon:{iconType:"INFO_OUTLINE"},navigationEndpoint:{adInfoDialogEndpoint:{}}}},hoverText:GV(a.A)};HV(b.button.buttonRenderer.navigationEndpoint.adInfoDialogEndpoint,a);return b};
HV=function(a,b){var c={title:GV(b.D),adReasons:b.F.map(function(a){return GV(a)})},d=b.B;
if(d&&3==d.length){var e=GV(d[0]);IV(e,d[1],"https://web.archive.org/web/20181027110332/https://www.google.com/settings/ads");IV(e,d[2]);c.dialogMessage=e;d=Hq(b,"why_this_ad_settings_url");d.length&&(e.runs[1].navigationEndpoint.loggingUrls=d.map(function(a){return{baseUrl:a}}))}if(e=b.C)c.confirmLabel=GV(e),e=Hq(b,"why_this_ad_got_it"),e.length&&(c.confirmServiceEndpoint=JV(e));
if(e=hsa(b,"why_this_ad_url"))c.impressionEndpoints=[e];if(e=hsa(b,"why_this_ad_got_it"))c.confirmServiceEndpoint=e;a.dialog={adInfoDialogRenderer:c}};
jsa=function(a){a=Pr(a);var b=Qr(a),c=[],d={TRIGGER_TYPE:"YOUTUBE_SHELF_SHOW"};(0,g.D)(Nga(b),function(a){7==a.Yb()&&c.push(g.qn(ls(a,"base_url"),d))});
return{plaShelfItemRenderer:{headline:GV(a.Bd()),merchant:GV(Sr(b)),image:{thumbnails:[{url:Tr(a).getImageUrl()}]},priceText:GV(Ur(b)),reviewText:GV(ls(b,"review_text")),rating:Zv(b,"rating",0),clickthroughEndpoint:isa(Wr(rw(b))),impressionEndpoints:[JV(c)]}}};
GV=function(a){var b={};IV(b,a,void 0);return b};
IV=function(a,b,c){a.runs||(a.runs=[]);b={text:b};c&&(b.navigationEndpoint=isa(c));a.runs.push(b)};
isa=function(a){return{urlEndpoint:{url:a,target:"TARGET_NEW_WINDOW"}}};
JV=function(a){return{loggingUrls:a.map(function(a){return{baseUrl:a}}),
pingingEndpoint:{hack:!0}}};
hsa=function(a,b){var c=Hq(a,b);return c.length?JV(c):null};
ksa=function(a){this.o=a};
lsa=function(a){switch((0,window.parseInt)(a.toString(),10)){case 12:return 2;case 13:case 53:return 3;case 14:return 4;case 15:return 5;case 22:case 52:case 61:return 7;case 30:return 8;case 32:case 33:return 9;case 51:case 55:case 60:case 90:return 10;case 54:return 1;case 56:return 11;case 57:return 12;case 58:return 13}return 0};
KV=function(a){switch((0,window.parseInt)(a.toString(),10)){case 2:return 1;case 3:case 4:return 2;case 5:return 3;case 6:return 4;case 7:return 5;case 15:case 100:return 6;case 14:return 7;case 777:return 8;case 19:return 10;default:return 0}};
msa=function(a,b){this.D=null;this.B=window.NaN;this.A=null;this.o=a;this.C=b};
LV=function(a,b,c){a.o.V("AD_LOGGING_EVENT",b,c)};
nsa=function(a,b,c){MV(a);var d=NV(a);c&&g.Ea(d,c);d.ad_error=b;LV(a,7,d)};
NV=function(a){var b={},c=a.o.videoData,d=a.o.zp(),e=a.o.jo();oV(a.o.Bb(),b);d&&0<d&&(b.ad_len=d);b.ad_v="0";c&&c.videoId?b.ad_v=c.videoId:e&&(c=g.Pg(e),b.ad_dom=c,(c=a.C.o)&&c.D&&(b.ad_v_url=e.substr(0,512)));e=a.o;(e=e.A?e.A.We():null)&&(b.ad_cpn=e);b.format=a.o.Sf();b.at=a.o.bj();b.ad_mt=Math.round(1E3*Math.max(osa(a.o),0));return b};
MV=function(a){a.D||(a.D="InstreamAdDisplay ("+a.o.Sf()+")")};
OV=function(a,b){g.L.call(this);this.C=Math.max(0,a);this.B=this.A=0;this.D=b;this.o=window.NaN};
QV=function(a,b,c,d,e,f,k,l){DV.call(this,b,a,2,c);this.K=!1;this.D=this.O=this.L=null;this.o.subscribe("control_toggle_play_pause",this.JH,this);this.o.subscribe("control_play",this.Qw,this);this.o.subscribe("control_pause",this.Pw,this);this.C=new msa(this,this.o);this.Z=new g.PF(this);this.B=PV(b.player.app,2);this.B.subscribe("statechange",this.HH,this);this.B.subscribe("internalAbandon",this.YD,this);this.B.subscribe("internalvideodatachange",this.IH,this);this.F=this.G=!1;this.W=d;this.ba=e;
this.N=!!f;this.aa=!!k;this.J=l;a=qV(this.o).experiments;this.H=new OV(a.o("use_variable_buffer_timeout")?a.A("variable_buffer_timeout_ms"):15E3,(0,g.B)(this.abort,this));this.ca=b.o.N&&"3"==qV(b).C};
SV=function(a,b){a.la()||a.ca&&RV(a.o.app.H,b)};
UV=function(a){var b=qV(a.o).experiments.o("ad_to_video_use_gel");GO("ad_to_video",["pbresume"],void 0,b);a.J&&(0,g.mQ)("yt_abt",a.J,"ad_to_video");a.videoData&&a.videoData.clientPlaybackNonce&&(0,g.mQ)("ad_cpn",a.videoData.clientPlaybackNonce,"ad_to_video");a.videoData&&a.videoData.videoId&&(0,g.mQ)("ad_docid",a.videoData.videoId,"ad_to_video");(0,g.lQ)("adc",void 0,"ad_to_video");g.pT(PV(a.o.player.app,2));TV(a.o,0);psa(a.o,0);a.V("adEnd",a);SV(a,!0)};
VV=function(a,b){qV(a.o).experiments.o("html5_ad_error_releases")?g.pT(a.B):QS(a.B);TV(a.o,0);a.V("adError",b)};
osa=function(a){return a.B?a.B.getCurrentTime():0};
qsa=function(a){a=a.Bb();if(!a)return null;a=at(a);if(!a)if(Kn().o("set_default_wta_if_missing_for_externs"))a=Tra();else return null;return{menuTitle:a.A,closeButton:a.C,targetingReasonHeader:a.D,targetingReasons:g.Va(a.F),adSettingsLink:g.Va(a.B),controlText:a.H,continueButton:a.G,cancelButton:a.K}};
rsa=function(a){a=a.Bb();if(!a)return null;a=bt(a);if(!a)return null;for(var b=cu(a),c=[],d=0;d<b;d++)c.push({label:a.A[d].label,url:a.A[d].url});return{goneText:a.B,questionText:a.D,undoText:a.F,hoverText:a.C,surveyOptions:c}};
ssa=function(a,b){this.o=a;this.D=b;this.o.Sf();this.A=this.C=0;this.B=null};
WV=function(a,b,c){a.o.V("AD_LOGGING_EVENT",b,c)};
XV=function(a){var b={};oV(a.o.Bb(),b);a.C&&a.A&&(b.ot=a.A-a.C);var c=a.D.isFullscreen()?2:a.D.isWidescreen()?1:0;b.ad_ps=c;b.format=a.o.Sf();b.at=a.o.bj();return b};
YV=function(a,b,c,d){DV.call(this,b,a,1,c);this.B=null;this.G=this.D=!1;this.J=null;this.C=new ssa(this,b);this.Z=new g.PF(this);this.H=!!d;this.F=!1};
ZV=function(a,b){var c=a.o.getRootNode();g.T(c,"ytp-ad-overlay-open",b);g.T(c,"ytp-ad-overlay-closed",!b)};
$V=function(a,b,c,d){g.L.call(this);this.J=null;this.H=a;this.A=b.Wb;this.D=b;this.K=b.getId();this.o=c;this.F=d;this.B=new tV(this.A,this.H,c,d);this.qb=null;this.N=new g.hn(this);this.C=new g.hn(this);this.L=/^(http(s)?:\/\/)(.*.)?youtube.com\/.*$/};
aW=function(a,b){a.J=b;var c=b.Sf();a.B.C=c};
bW=function(a,b){var c=g.y("yt.www.watch.ads.setAdId");c&&c(b);a.B.A=b};
tsa=function(a){Yra(a.o).then(function(){this.B.D()},g.A,a)};
usa=function(a){this.o=a};
cW=function(a){DV.call(this,a,2,3,null)};
dW=function(a,b,c){$V.call(this,2,a,b,c);this.G=new usa(this.o.o);Vra()};
vsa=function(a,b){this.o=a?a:"";this.Gb=b};
eW=function(a,b,c,d){YV.call(this,1,a,b,d);this.K=c};
fW=function(a,b,c){$V.call(this,1,a,b,c);this.G=new vsa(this.o.o.adTag,this.K,qV(this.o).experiments)};
gW=function(a,b){var c=b.o;this.G=c.forceAdUrl;var d=0;c=c.forceAdType.toUpperCase();"INVIDEO"==c?d=4:"INSTREAM"==c?d=1:"MPU"==c&&(d=8);$V.call(this,2,a,b,d)};
wsa=function(){hW||(hW=g.za(g.y("yt.www.watch.ads.promotionShelfShow"))?kg():new g.gg(function(a){g.hG("watchAdsInit",a)}));
return hW};
xsa=function(a){var b=g.y("yt.www.watch.ads.promotionShelfClear");b&&b();b=g.y("yt.www.watch.ads.promotionShelfShow");null!=b&&b(a)};
Bsa=function(a){var b=Pr(a),c=Qr(b),d=["iv-btp-small-card"];d.push("yt-uix-hovercard-target");g.WH.call(this,{I:"div",M:"iv-btp-card",P:[{I:"a",M:"iv-btp-card-content",U:{href:Wr(rw(c)),target:"_blank"},P:[{I:"div",P:[{I:"div",ea:d,U:{"data-position":"bottomright","data-orientation":"vertical"},P:[{I:"div",ea:["iv-btp-card-image","yt-uix-hovercard-anchor"],P:[{I:"span"},{I:"div",M:"iv-btp-card-image-aligned",P:[{I:"img",U:{src:Tr(b).getImageUrl()}}]}]},{I:"div",M:"iv-btp-card-info",P:[{I:"span",M:"iv-btp-card-action",
da:Ur(c)},iW(a)]},ysa(a)]},{I:"div",M:"iv-btp-large-card",P:[{I:"div",M:"iv-btp-card-image",P:[{I:"span"},{I:"div",M:"iv-btp-card-image-aligned",P:[{I:"img",U:{src:Tr(b).getImageUrl()}}]}]},{I:"div",M:"iv-btp-card-info",P:[{I:"div",M:"iv-btp-card-text-box",P:[{I:"div",M:"iv-btp-card-text-valign",P:[{I:"div",ea:["yt-ui-ellipsis","yt-ui-ellipsis-4","iv-btp-card-headline"],da:b.Bd()}]}]},{I:"span",M:"iv-btp-card-action",da:Ur(c)},iW(a),zsa(a)]}]},Asa(a)]}]}]})};
zsa=function(a){a=Qr(Pr(a));return.01>Zv(a,"rating",0)?{I:"div"}:{I:"div",M:"iv-btp-card-review",P:[{I:"div",M:"iv-btp-card-rating",P:[{I:"span",M:"iv-btp-card-rating-bg",P:[{I:"span",M:"iv-btp-card-rating-fg",U:{style:"width: "+Math.floor(100*Zv(a,"rating",0)/5)+"%;"}}]}]},{I:"span",M:"iv-btp-card-reviews",da:ls(a,"review_text")}]}};
ysa=function(a){var b=Pr(a),c=Qr(b);return{I:"div",ea:["yt-uix-hovercard-content","iv-btp-hovercard"],P:[{I:"div",M:"iv-btp-hovercard-text-box",P:[{I:"a",U:{href:Wr(rw(c)),target:"_blank"},P:[{I:"div",ea:["yt-ui-ellipsis","yt-ui-ellipsis-4","iv-btp-hovercard-headline"],da:b.Bd()}]},{I:"div",M:"iv-btp-hovercard-info",P:[{I:"span",M:"iv-btp-hovercard-action",da:Ur(c)},iW(a)]},zsa(a)]}]}};
iW=function(a){return{I:"div",M:"iv-btp-card-merchant",P:[{I:"span",M:"iv-btp-card-merchant-text",da:Sr(Qr(Pr(a)))}]}};
Asa=function(a){var b=[];a=Qr(Pr(a));for(var c={TRIGGER_TYPE:"YOUTUBE_SHELF_SHOW"},d=0;d<cw(a,"event");d++){var e=new bw(aw(a,"event",d));7==e.Yb()&&(e=g.qn(ls(e,"base_url"),c),b.push({I:"img",U:{src:e}}))}return{I:"div",M:"iv-btp-impressions",P:b}};
jW=function(){g.WH.call(this,{I:"div",M:"iv-btp-companion",P:[{I:"div",M:"iv-btp-block-clicks"},{I:"div",M:"iv-btp-attribution",P:[{I:"span",M:"iv-btp-title",da:"{{title}}"},{I:"div",M:"ad-info-container",P:[{I:"span",M:"iv-btp-sponsored",da:"Sponsored"},{I:"button",M:"ad-info-icon"}]}]}]});var a=this.o["iv-btp-companion"];this.C=new fV;this.C.ya(a);this.F=new g.SF(this);g.M(this,this.F);this.J=new g.U(this.Fx,200,this);g.M(this,this.J);this.H=this.o["iv-btp-block-clicks"];this.D=new g.U(g.Da(function(a){g.O(a,
!1)},this.H),1E3);
g.M(this,this.D);this.B=null;this.G=Csa();this.F.R(window,"resize",this.PL);this.F.R(this.o["ad-info-icon"],"click",this.OR)};
Dsa=function(a,b){a.clear();g.O(a.H,!0);var c=(0,g.I)(b,g.Da(function(a){return new Bsa(a)}));
a.updateValue("title",0<b.length?ls(b[0],"teaser_text"):"");Era(a.C,c);a.Fx()};
Csa=function(){return{dialogMessage:{runs:[{text:"You are seeing this product because we think it is relevant to the video. Google may be compensated by the merchant."}]}}};
kW=function(a,b){DV.call(this,a,14,14,b);this.B=new jW;g.M(this,this.B)};
Esa=function(a){return(0,g.Vd)(a.A.Bb().D,function(a){return $v(a.Ze(),"show_in_promotion_shelf")})};
lW=function(a,b,c){$V.call(this,14,a,b,c)};
mW=function(a,b,c){$V.call(this,14,a,b,c)};
Fsa=function(a,b,c,d,e){this.C=a;this.A=b;this.o=c;this.G=qV(this.C);this.D=d;this.F=rV(this.C).lengthSeconds;this.H=e;this.B="html5";g.ZM(this.G)?this.B="html5_embed":SM||RM?this.B="html5_ios":IE("android")?this.B="html5_android":SE()?this.B="html5_wp":NE()?this.B="html5_ps3":g.vN(this.G)?(a=(g.Rb(window,"environment","brand")||"").toLowerCase(),b=(g.Rb(window,"environment","model")||"").toLowerCase(),this.B="roku"==a||"bskyb"==a?"roku":"wiiu"==b?"wii":"html5_tv_leanback"):RE()?this.B="html5_wii":
this.B="html5_desktop"};
Gsa=function(a){return nW(a.A)?"preroll":oW(a.A)?"postroll":"midroll"};
Hsa=function(a){return(a=a.C.A)?(0,g.Pj)(a.Db,function(a){return pW(a)||oW(a)}):!1};
qW=function(a,b){YV.call(this,4,a,b)};
rW=function(a,b,c){$V.call(this,4,a,b,c);var d=this.o.o;this.G=g.G(d.yb);var e=rV(this.o)&&rV(this.o).spacecastModule;this.O=new Fsa(b,a,d,c,!!e)};
sW=function(a,b){this.A=a;this.o=b};
Isa=function(a){return 0<(a.o&3)};
tW=function(a,b,c,d,e){g.VF.call(this);this.G=!0;this.A=!1;this.isVisible=!0;this.C="unloaded";this.H=!1;this.Ja=b;this.B=a;this.Wb=c;this.F=d;this.D=this.o=null;this.J=!!e};
vW=function(a){return nW(a)?a.Pb()&&uW(a)?-0x8000000000000:0:g.ta(a.Wb.A)?1E3*lV(a.Wb):0x8000000000000};
Jsa=function(a){var b=!qV(a.B).experiments.o("disable_fetching_previous_nonadjacent_midrolls");return nW(a)||b&&a.B.player&&1E3*a.B.player.getCurrentTime()>=vW(a)?!1:(0,g.Am)(a.F,function(a){switch(a.Yb()){case 1:case 2:case 5:return!0;default:return!1}})};
nW=function(a){return 1==a.Wb.o};
uW=function(a){if(!a.Pb())throw Error("Preroll status is undefined before ad load.");return nW(a)&&a.A};
pW=function(a){return 2==a.Wb.o};
oW=function(a){return 3==a.Wb.o};
AW=function(a){a.C="loading";nW(a)&&!(0,g.Pj)(a.F,Isa)&&wW(a.B);if(a.J)a.C="loaded",a.A=!0,xW(a);else{var b=a.F.shift();b?(nW(a)&&a.B.Ke("nl"),b=b.create(a,a.B),g.M(a,b),b.load()):a.B.o&&a.B.o.G&&5!=a.Wb.o?Ksa(a,new cW(a.B),a.Wb):(yW(a.B,2,zW(a,{})),Lsa(a,!1),a.C="error",xW(a))}};
BW=function(a){a.o&&(a.o.unsubscribe("adEnd",a.dE,a),a.o.unsubscribe("adError",a.zH,a),a.o.unsubscribe("AD_LOGGING_EVENT",a.BH,a),a.o.unsubscribe("select",a.yH,a),a.o.unsubscribe("adCompanionInitialized",a.AH,a))};
Ksa=function(a,b,c){a.o=b;a.Wb=c;g.M(a,a.o);0==a.Ja&&(b=a.o.bj(),a.B.W.at=b);a.o instanceof QV?a.A=!0:a.o instanceof cW?a.isVisible=!1:a.o instanceof qW?a.isVisible=!1:a.o instanceof eW&&(a.isVisible=!1);a.C="loaded";xW(a)};
xW=function(a){a.V("adBreakComplete",a)};
Lsa=function(a,b){a.D&&(a.D.zl({FILLED_OPPORTUNITY:b?1:0}),a.D.dispose(),a.D=null)};
zW=function(a,b){b.break_type=a.Wb.o;b.sst=lV(a.Wb);b.sidx=0;return b};
Msa=function(a){var b=0;a.W&&(b|=1);a.O&&(b|=2);var c=0;a.J&&a.L&&(c=4);a=new g.Mm;a.set(3,b);a.set(4,c);return a};
Nsa=function(a,b){var c=[];if(a.ba)return c.push("pla"==(a.forceAdType||"").toLowerCase()?new sW(8,16):new sW(4,0)),c;if(a.independentBreakOffsets&&5==b)return a.ia&&c.push(new sW(7,16)),c;if(a.ga){var d=0;if(a.B||a.F)d|=1;a.ha&&(d|=4);a.G&&(d|=8);c.push(new sW(5,d))}a.ca&&(d=0,a.B&&(d|=1),a.F&&(d|=2),a.ha&&a.J&&(d|=4),a.G&&a.J&&(d|=8),d&&c.push(new sW(2,d)));d=Msa(a);var e=d.get(3);e&&c.push(new sW(1,e));!a.independentBreakOffsets&&a.ia&&c.push(new sW(7,16));(d=d.get(4))&&c.push(new sW(1,d));return c};
Osa=function(a){this.o=a};
Qsa=function(a){var b=[];(0,g.D)(Psa(a),function(a,d){var c=this.o;var f=Nsa(this.o.o,a.o);c=new tW(c,d,a,f);b.push(c)},a);
return b};
Psa=function(a){var b=a.o.o;a=[];if(b.oa)for(var c=b.oa.split(","),d=0;d<c.length;d++){var e=g.Bb(c[d]);e=0>e?new kV(3):0<e?new kV(2,e):new kV(1);a.push(e)}else a=Rsa;if(b.independentBreakOffsets)for(b=b.independentBreakOffsets.split(","),d=0;d<b.length;d++)a.push(new kV(5,g.Bb(b[d])));g.db(a,Gra);return a};
Usa=function(a,b){this.H=a;this.A=this.H.B;this.D=g.vN(this.H);this.C=this.A||this.D;this.N=!this.D&&(!YM(a)||this.H.experiments.o("mweb_enable_video_ad_ui_on_fullscreen_only_devices"));this.B=nV(b.instream);this.isLiveStream=1==b.livestream;this.F=nV(b.trueview);this.aa=nV(b.aftv);this.oa=b.ad_slots;this.independentBreakOffsets=b.independent_break_offsets||null;this.adFlags=b.ad_flags||0;this.xa=b.cafe_experiment_id;this.adTag=b.ad_tag;this.La=!!b.adtest;this.afvAdTag=b.afv_ad_tag;this.afvInvideoAdTag=
b.afv_invideo_ad_tag;this.age=(0,window.parseInt)(b.ad_age,10);this.applyFadeOnMidrolls=!!b.apply_fade_on_midrolls&&(this.B||this.F)&&!this.H.aa;this.contentOwnerId=b.cid;this.contentVideoId=LM(b);this.excludedAds=b.excluded_ads;this.fadeInDurationMilliseconds=(0,window.parseInt)(b.fade_in_duration_milliseconds,10)||0;this.fadeInStartMilliseconds=(0,window.parseInt)(b.fade_in_start_milliseconds,10)||0;this.fadeOutDurationMilliseconds=(0,window.parseInt)(b.fade_out_duration_milliseconds,10)||0;this.fadeOutStartMilliseconds=
(0,window.parseInt)(b.fade_out_start_milliseconds,10)||0;this.forceAdType=b.force_ad_type;this.forceAdUrl=b.force_ad_url;this.yb=b.freewheel_ad_tag;this.gender=Xb(Ssa,function(a){return a==b.ad_gender});
this.pa=b.dbp;this.L=nV(b.afv)&&!this.C;this.O=this.aa&&this.F;this.W=this.aa&&this.B&&!nV(b.no_afv_instream);this.ca=nV(b.dclk);nV(b.gpt_migration);this.ba=nV(b.forced_ad);this.ga=1==(0,window.parseInt)(b.tpas_ad_type_id,10);this.Qa=!!b.fqsf;this.ha=nV(b.invideo)&&!this.C;this.G=nV(b.mpu)&&!this.C;this.ia=!!b.pla;this.Ob=nV(b.shortform);this.J=nV(b.sffb);this.sa=b.ad_language_iso639_2;this.o=this.C&&!this.H.experiments.o("disable_client_side_midroll_freq_capping_nonpc")?(0,window.parseInt)(b.midroll_freqcap,
10):-1;(0,window.isNaN)(this.o)&&(this.o=-1);this.midrollPrefetchSize=(0,window.parseInt)(b.midroll_prefetch_size,10)||0;this.tagForChildDirected=nV(b.tag_for_child_directed);this.serverPrefetchedVast=b.server_prefetched_vast;this.surveyCreativeData=b.surveyCreativeData||null;this.Da=this.aa&&this.J&&!this.L;this.Ba=this.L||this.Da;this.Ha=(0,window.parseInt)(b.ad_device,10);this.wa=b.tpas_video_id;this.ka=b.tpas_partner_id;this.vmap=b.vmap;this.jc=this.H.jc;this.showContentThumbnail=!0;g.sa(b.show_content_thumbnail)&&
(this.showContentThumbnail=b.show_content_thumbnail);this.K=Tsa(b.serialized_ad_ux_config)};
Tsa=function(a){if(a)try{var b=JSON.parse(a);return new Xe(b)}catch(c){}return null};
CW=function(a,b){g.L.call(this);this.B=a;this.Re=new g.hn(this);g.M(this,this.Re);this.A=null;this.o=!1;this.Re.X(b,"companionImpression",this.D);this.Re.X(b,"companionClick",this.C)};
Vsa=function(a){var b=!g.X(a).Sb&&3!=a.Sa();return a.isFullscreen()||b};
g.DW=function(a,b,c,d){if((void 0===c||!c)&&g.aV(a))return g.KF(a),!0;b.od();a=a.currentTarget.getAttribute("href");g.MU(a,d,!0);return!1};
EW=function(a,b,c){if(oN(g.X(b))&&2!=b.Sa()){if(g.aV(c))return b.isFullscreen()&&!g.X(b).ga&&b.re(),g.KF(c),!0}else{var d=g.aV(c);d&&b.od();g.MU(a,void 0,!0);d&&(g.NU(a),g.KF(c))}return!1};
FW=function(){return{I:"div",M:"ytp-spinner-container",P:[{I:"div",M:"ytp-spinner-rotator",P:[{I:"div",M:"ytp-spinner-left",P:[{I:"div",M:"ytp-spinner-circle"}]},{I:"div",M:"ytp-spinner-right",P:[{I:"div",M:"ytp-spinner-circle"}]}]}]}};
GW=function(a,b){var c=qF("requestAnimationFrame",window);return g.mE(function(){c?c.call(window,a):a()},b||0)};
HW=function(a){if(window.document.createRange){var b=window.document.createRange();b.selectNodeContents(a);window.getSelection().removeAllRanges();window.getSelection().addRange(b)}};
IW=function(a,b,c){return g.X(a).experiments.o("desktop_player_button_tooltip_with_shortcut")?g.QU("$DESCRIPTION ($SHORTCUT)",{DESCRIPTION:b,SHORTCUT:c}):b};
JW=function(a){g.L.call(this);this.o=a;this.A=window.NaN;this.D={};a=a.o;this.F=a.fadeInDurationMilliseconds;this.G=a.fadeInStartMilliseconds;this.B=a.fadeOutDurationMilliseconds;this.C=a.fadeOutStartMilliseconds;this.zG()};
Wsa=function(a,b){a.D[b]&&(g.kU(a.o.player,[a.D[b]],void 0),delete a.D[b])};
Xsa=function(a,b,c,d){0>=c||((0,window.isNaN)(a.A)||g.oE(a.A),c=(0,g.H)()+c,a.A=0==d?GW((0,g.B)(a.NH,a,b,c,100),0):GW((0,g.B)(a.LH,a,b,c,100),0))};
KW=function(a,b,c){a=xP(rV(a.o));b.setVolume(c*a)};
LW=function(a){JW.call(this,a)};
MW=function(a,b,c){g.L.call(this);this.o=a;this.F=b;this.C=c;this.B=-1;this.D=window.NaN;this.C&&0<this.o.o.o&&this.o.subscribe("endseeking",this.A,this)};
Ysa=function(a,b){NW(a);0<b&&(a.D=g.mE((0,g.B)(a.A,a),1E3*b))};
NW=function(a){g.oE(a.D);a.D=window.NaN};
PW=function(a,b){if(!a.C||!pW(b)&&!oW(b))return!1;var c=a.o.o.o;if(0>=c||0>=a.B)return!1;var d=(0,g.H)()/1E3,e=OW(a,b)-a.o.player.getCurrentTime();0<e&&(d+=e);return d-a.B<=c};
OW=function(a,b){return oW(b)?a.o.player.getVideoData().lengthSeconds:lV(b.Wb)};
QW=function(a,b){g.L.call(this);this.K=this.o=null;this.N=[];this.O=window.NaN;this.Db=b;this.G=[];this.B={};this.D={};this.A=a;var c=a.o,d=!c.isLiveStream&&(0,g.Pj)(this.Db,function(a){return pW(a)||oW(a)});
this.J=new MW(this.A,this,d);this.C=c.applyFadeOnMidrolls?new JW(a):new LW(a);this.ba=(0,g.Pj)(this.Db,function(a){return nW(a)})};
$sa=function(a){a.G.length||(a.G=(0,g.Vd)(a.Db,function(a){return"unloaded"==a.C}),0==a.G.length?wW(a.A):(a.ba||wW(a.A),Zsa(a)))};
Zsa=function(a){if(a.G.length){var b=a.G.shift();b.subscribe("adBreakComplete",a.kl,a);b.subscribe("adCompanionInitialized",a.Cw,a);AW(b)}};
ata=function(a,b){function c(a){return a&&5!=a.Wb.o}
var d=(0,g.La)(a.Db,b),e=g.Xa(a.Db,0,d);d=g.Xa(a.Db,d+1);return{previous:g.Ia(e,c),next:g.Ia(d,c)}};
bta=function(a,b,c){var d=vW(b);if(!(0,window.isNaN)(d)){var e={};e.priority=-2!=lV(b.Wb)?2:3;e.id=String(b.getId());e.visible=b.isVisible;d=a.C.pG(b,d);c=a.C.oG(b,c);c=new g.nQ(d,c,e);a.D[b.getId()]=c;RW(a.A,[c]);a.C.nz(b)}};
cta=function(a,b){var c=b.getId();a.D[c]&&(Wsa(a.C,c),g.kU(a.A.player,[a.D[c]],void 0),delete a.D[c])};
dta=function(a,b){if(g.u(b)){var c=a.mk(b);if(c)if(a.o==c&&!c.A&&c.isVisible)c.show();else{if(a.o){if(5==c.Wb.o){a.o.A?a.N.push(b):c.show();return}a.Ti(a.o)}if(PW(a.J,c))a.o=null,c=a.D[c.getId()],c.visible||(c.visible=!0,RW(a.A,[c],1));else{5!=c.Wb.o&&(a.o=c);c.subscribe("adBreakComplete",a.Ln,a);c.subscribe("adCompanionInitialized",a.Cw,a);if(c.A){if(1!=c.Wb.o){var d=qV(a.A).experiments.o("video_to_ad_use_gel");GO("video_to_ad",["apbs"],void 0,d)}d=a.A;d.K=!0;d.B||SW(d)}a.C.OH(c);c.show()}}}};
TW=function(a,b,c){QW.call(this,a,b);this.H=[];this.L=[];this.F=[];this.ca=c;this.aa=window.NaN;this.W=a.o.o;var d=!qV(a).experiments.o("disable_fetching_previous_nonadjacent_midrolls"),e=1E3*a.player.getCurrentTime();d=d?null:Ka(b,function(b){return a.player&&e>=vW(b)});
if(1<=c)for(c=0;c<b.length;c++){var f=b[c];if(Jsa(f)&&f!=d){var k=new tW(f.B,f.Ja,f.Wb,f.F,!0);b[c]=k;this.H.push(f)}}this.ba||this.ql()};
UW=function(a){g.oE(a.aa);a.aa=window.NaN};
VW=function(a,b){QW.call(this,a,b);this.aa=a;this.ca=!0;this.H=[];this.ia=1;this.L=0};
eta=function(a){if(null==a.o&&0<a.H.length){var b=a.H[0];b.isVisible?(a.ca=a.F.isPeggedToLive(),a.ha=Math.ceil((0,g.H)()/1E3),b.subscribe("adBreakComplete",a.W,a),a.o=b,b.show()):a.W()}else null!=a.o&&a.L++};
fta=function(a,b){this.J=a;this.F=b;this.H=(0,g.H)();this.D=0;this.o=a.o;this.C={};this.G=new ksa(a);var c=[];this.o.ga&&this.o.B&&c.push("4_2");this.o.ca&&(this.o.B&&c.push("1_2"),this.o.F&&c.push("1_2_1"),this.o.ha&&c.push("1_1"),this.o.G&&c.push("1_3"));this.o.O&&c.push("2_2_1");this.o.W&&c.push("2_2");this.o.L&&c.push("2_1");this.o.Ba&&c.push("2_3");this.o.ia&&c.push("14_14");this.A=c.join(",");this.B="";this.C.allowed=this.A;(c=this.o.excludedAds)&&(this.C.ex_ads=c)};
WW=function(a,b,c){g.L.call(this);this.A=a;this.C=b;this.oe=c;this.D=this.F=-1;this.o=gta(this.C.Xe());a=this.C.Xe();a.length&&(a=a[a.length-1],-1==a&&RW(this.A,[this.o[a]]));0<this.A.o.o&&this.A.subscribe("endseeking",this.B,this)};
hta=function(a,b){XW(a);0<b&&(a.D=g.mE((0,g.B)(a.B,a),1E3*b))};
XW=function(a){-1!=a.D&&(g.oE(a.D),a.D=-1)};
gta=function(a){if(!a.length)return{};for(var b={},c=0;c<a.length-1;c++){var d=a[c];var e=a[c+1];e=-1==e?0x8000000000000:1E3*e;b[d]=new g.nQ(-1==d?0x8000000000000:1E3*d,0x8000000000000==e?e:e-1,{id:String(d),visible:!0})}d=a[a.length-1];b[d]=new g.nQ(-1==d?0x8000000000000:1E3*d,0x8000000000000,{id:String(d),visible:!0});return b};
YW=function(){g.L.call(this)};
ita=function(a){if(!/^\d+?(:\d+){0,2}(\.\d+)?$/.test(a))return null;var b=0;(0,g.D)(a.split(":"),function(a){b=60*b+Math.abs((0,window.parseFloat)(a))});
return 1E3*b};
ZW=function(a){g.L.call(this);this.o=a;this.A=null;this.B={};this.D={};a=a.o;this.F=a.fadeInDurationMilliseconds;this.J=a.fadeInStartMilliseconds;this.K=a.fadeOutDurationMilliseconds;this.C=a.fadeOutStartMilliseconds;this.L=1E3*this.o.player.getVideoData().lengthSeconds;this.G=this.C+this.K;this.H=new g.SF(this);g.M(this,this.H);this.H.R(this.o.player,"applicationplayerstatechange",this.YH)};
$W=function(a,b){return 0!=b&&-1!=b&&-2!=b&&0<b&&b<a.L};
jta=function(a){a=a.getAttribute("breakType");return!!a&&(0,g.Pj)(a.split(","),function(a){a=wb(a);return"linear"==a})};
kta=function(a){var b=3;var c=!0;b=b?b:0;c=c?c:!1;var d=(0,window.parseFloat)(g.tb(a/1E3,2,b));a=Math.floor(d/60);var e=Math.floor(a/60);a%=60;b=g.tb(d%60,2,b);c=b=e||c?e+":"+g.tb(a,2)+":"+b:a+":"+b;return 1==c.split(":")[0].length?"0".concat(c):c};
mta=function(a,b){var c=Math.max(Math.abs(a.C),Math.abs(a.G));(0,g.D)(b,(0,g.B)(function(a){var d=(0,g.Pj)(b,function(b){return a!=b&&b>=a-c&&b<=a+c}),f=lta(this,a);
!d&&f&&(this.B[f]=a)},a));
return 0<g.Nb(a.B)};
lta=function(a,b){var c=1E3*Math.round((b+a.G)/1E3),d=b+a.C,e=b+a.J;return $W(a,b)&&$W(a,c)&&$W(a,d)&&$W(a,e)?c:null};
nta=function(a,b,c,d){0>=c||(d=0==d?a.XH:a.WH,c=(0,g.H)()+c,a.A=GW((0,g.B)(d,a,b,c,100),0))};
aX=function(a,b,c){a=xP(rV(a.o));b.setVolume(c*a)};
bX=function(a){g.L.call(this);this.oe=this.B=this.C=this.G=this.A=null;this.O=this.L=!1;this.o=a;this.H=this.qb=null;this.W={};this.aa=new g.hn(this);this.D=new g.hn(this);this.J=new g.SF(this);g.M(this,this.J);this.F=null;this.N=new g.U((0,g.B)(this.ik,this),5E3);g.M(this,this.N);this.K=null};
ota=function(a,b,c){a=a.cloneNode(!0);a.setAttribute("timeOffset",b);(0,g.D)(a.getElementsByTagName("VASTAdTagURI"),function(a){if("end"==b){var d="post";var f=-1;var k="postroll"}else d="mid",f=ita(b).toString(),k="midroll";var l={"[INDEX]":c.toString(),"[POSITION]":d,"[START]":f,"[GPTPOS]":k};a.textContent=a.textContent.replace(/\[[A-Z_]+\]/g,function(a){return l[a]||a})});
return a};
pta=function(a,b){var c=g.us(b);if(!c)return null;var d=g.Yd(c);if(!d)return c;var e=g.Ia(g.Wd(d),function(a){return"#1"==a.getAttribute("timeOffset")});
if(e){var f=g.Ia(g.Wd(e),function(a){return"vmap:Extensions"==a.tagName}),k=f?g.Wd(f):[];
k=g.Ia(k,function(a){return"YTBreakTime"==a.getAttribute("type")});
f=(f=f.removeChild(k))?g.Wd(f):[];var l=e,m=1;(0,g.D)(f,function(a){a=a.getAttribute("timeOffset");a=ota(e,a,m);m++;d.insertBefore(a,l.nextSibling);l=a});
d.removeChild(e)}a.F.rF(d)||(g.lf(a.F),a.F=new YW);return c};
qta=function(a){var b=Ira(a.o.o,qV(a.o),rV(a.o));b.OK=!0;b.zz=!1;b.nF=10;b.Rw=a.F.SA();return b};
sta=function(a,b){if(b){Vra();var c=Yra(a.o),d=lD(a.A);if(d){var e=d.cf();d=g.Ma(jV,e)?new kV(e,d.Jc):new kV(e);e=dsa(jr(b));d=new tV(d,e.o,a.o,14==e.A?16:4);c.then(d.D,g.A,d)}}else a.o.o.G&&(a.C=new cW(a.o),rta(a,a.C),a.C.show())};
cX=function(a,b){b&&"adLoadError"==b.Yb()&&(qV(a.o).experiments.o("enable_no_ads_ping_for_mpu_disable")&&!a.o.o.G&&a.VH(lD(a.A),0,2,{}),a.ik())};
dX=function(a){a.C&&(a.C.dispose(),a.C=null)};
eX=function(a){var b=jt(a);a=0<b.length?b.pop():Ws(a);a=tta[a.toUpperCase()];return null!=a?a:0};
uta=function(a){jI(g.PT(a.o.player))?a.ik():(a.N.start(),a.K=a.J.R(a.o.player,"onApiChange",(0,g.B)(function(){jI(g.PT(this.o.player))&&(this.K&&this.J.Ia(this.K),g.Au(this.N))},a)))};
rta=function(a,b){b.subscribe("AD_LOGGING_EVENT",(0,g.B)(a.VH,a,lD(a.A),b.adType))};
fX=function(a){g.zU.call(this,a);this.Ae="";this.J=new g.SF(this);g.M(this,this.J);this.created=!1};
RW=function(a,b,c){for(var d=0;d<b.length;d++)b[d].namespace=a.Ae;g.hU(a.player,b,c)};
wW=function(a){g.mU(a.player,a.Ae)};
gX=function(){g.L.call(this);this.A=new g.V({I:"div",M:"ytp-out-of-player-ad-info",P:[{I:"div",M:"ytp-out-of-player-hover-container"},{I:"div",M:"ytp-out-of-player-ad-info-button-container",P:[{I:"button",ea:["ytp-out-of-player-ad-info-button"],P:[{I:"span",M:"ad-info-icon"}]}]}]});g.M(this,this.A);this.o=this.A.o["ytp-out-of-player-hover-container"];this.sf=this.A.o["ytp-out-of-player-ad-info-button-container"];this.D=this.A.o["ytp-out-of-player-ad-info-button"];this.B=new FU(this.sf);g.M(this,this.B);
this.C=new g.SF(this);g.M(this,this.C);this.ru();this.A.element.appendChild(this.B.o.na());this.C.R(this.D,"mouseenter",this.QO);this.C.R(this.D,"mouseleave",this.ru);this.C.R(this.sf,"click",this.PO)};
hX=function(a){g.V.call(this,{I:"div",M:"ytp-ad-notification-container",da:"{{content}}"});this.T=a;this.B=null;this.D=-1;this.C=new g.YU(this,250,!1,150);g.M(this,this.C);this.R(this.T,"adnotify",this.Mn);this.R(this.T,"discardadnotify",this.ll);this.R(this.T,"videodatachange",this.ll)};
jX=function(a,b){fX.call(this,b);this.Ae="ad";this.app=a;this.o=this.A=this.C=null;this.K=this.O=!1;this.B=this.qb=null;P.A=!0;P.K=!1;P.ba=!1;P.aa=!0;P.ca=g.mV();var c=P,d=!g.LE();c.J=d;P.G=0;c=a.o.experiments.A("sdk_wrapper_levels_allowed");!(0,window.isNaN)(c)&&0<c&&(P.N=c);iX(this)&&(P.B=!0);this.F=null;this.Gh={};this.W={at:"0"};c=g.X(this.player).experiments;if(c.o("enable_midroll_notify")||c.o("enable_postroll_notify"))c=new hX(this.player),g.M(this,c),g.nU(this.player,c.element,4);this.D=new EV(this.player);
g.nU(this.player,this.D.element,4);this.H=this.ca=null;this.L=-1;this.G=new g.SF(this);g.M(this,this.G);this.aa="";this.N=!1};
rV=function(a){return kX(a.app)};
qV=function(a){return a.app.o};
yW=function(a,b,c){if(a.C){a=a.C;c=c||{};var d=((0,g.H)()-a.H)/1E3;c.art=d;qV(a.J);c.ad_flags=a.o.adFlags;(d=a.o.contentOwnerId)&&(c.cid=d);c.mt=a.F.getCurrentTime();(d=IG())&&(c.lact=d);(d=a.F.getDuration())&&(c.len=d);a.o.Qa&&(c.fqsf=1);c.sdkv="3";c.ad_event=b;if(3==b||4==b)a.B=c.at;a:{b=a.G;b:{if(7==c.ad_event&&(a=c.ad_error,21==a||30==a||54==a||32==a&&(1009==c.error_code||!c.ad_id))){a=!1;break b}a=0!=(c&&c.ad_event?KV(c.ad_event):0)?!0:!1}if(a){var e;c.at&&(e=c.at);var f;c.sst&&(f=c.sst);"2_1"==
e&&10==f&&(c.break_type=1);qV(b.o).experiments.o("fix_api_stats_ads_companion_backfill_break_type")&&(a=ac(c,"trsp","0"),"2_3"==e&&10==f&&"0"!=a&&(c.break_type=1));e={};e.device=b.o.o.Ha;e.ns=1;e.sdkv="h.3.0";e.ver="2.0";for(var k in c){f=e;a=k;d=c[k];var l=c;switch(a){case "trsp":f.slot_pos=d;break;case "break_type":g.Ma(jV,g.Bb(d))&&(f.m_pos=l.sst);case "format":case "ad_id":case "ad_v":case "ad_cpn":case "ad_mt":case "aqi":case "ad_sys":f[a]=d;break;case "ad_len":f[a]=Math.round(1E3*d);break;case "ad_error":f.error_code=
lsa(d);break;case "error_code":f.ima_error=d;case "error_message":f.error_msg=d;break;case "ad_event":f.event=KV(d);break;case "ck_xy":a=d.split("x"),2==a.length&&(f.i_x=a[0],f.i_y=a[1])}}f=PV(b.o.player.app,2);k=rV(b.o);e.cpn=k.clientPlaybackNonce;e.content_v=k.videoId;k.Ma&&(e.live="1");c.at&&c.at.match(/\d+_2.*/g)?(a=b.o.A,e.mt=null!=a&&null!=a.o?1E3*lV(a.o.Wb):0):e.mt=Math.round(1E3*f.getCurrentTime());qV(b.o);e.ei=k.eventId;e.lact=IG();e.vol=Math.round(b.o.app.L.getVolume());e.vis=b.o.player.xj();
a=sV(b.o);e.p_w=a.width;e.p_h=a.height;e.rt=(0,g.H)();if(f=(f=$S(f))&&g.vd(f)===window.document?g.Jh(f):null)e.pv_h=f.getHeight(),e.pv_w=f.ub();2==(c&&c.ad_event?KV(c.ad_event):0)&&k.adSafetyReason&&(e.asr=k.adSafetyReason);k=en(e);c=qV(b.o).baseYtUrl+"api/stats/ads";c=new g.Sm(c);Xm(c,k);if(b=b.o.getVideoData())if(b=wP(b)){g.DE(c.toString(),{headers:{Authorization:"Bearer "+b}});break a}g.TE(c.toString())}}}};
lX=function(a,b,c){c=c||{};c.ad_error=b;yW(a,7,c)};
mX=function(a,b,c){a.app.L.za(b,c)};
vta=function(a){if(!a.O||a.app.o.experiments.o("enable_html5_midroll_tsla_update")){var b=qV(a).baseYtUrl;g.TE(b+"mac_204?action_fcts=1");a.O=!a.app.o.experiments.o("enable_html5_midroll_tsla_update")}};
nX=function(a){return a.A instanceof VW?a.A:null};
oX=function(a){return g.Y(a.app).A};
wta=function(a){var b=g.ae(FV(a.D),g.ke());g.yU(a.player,2);var c=g.X(a.player);"3"!=c.C||YM(c)||RV(g.VT(a.player),!0);b&&a.player.getRootNode().focus()};
sV=function(a){return a.o.D?(a=a.app.H.Ua(),new g.jh(0,0,a.width,a.height)):g.Sh(a.getRootNode())};
xta=function(a,b){a.Ke("bd");var c=a.o;var d=c.midrollPrefetchSize;c=c.isLiveStream?new VW(a,b):0<d?new TW(a,b,d):new QW(a,b);a.A=c;$sa(a.A)};
qX=function(a){var b=a.app;b.o.experiments.o("use_async_run_for_execution_in_ima")?g.ag(function(){pX(b)}):g.mE(function(){pX(b)},0)};
SW=function(a){var b=a.app;b.o.experiments.o("use_async_run_for_execution_in_ima")?g.ag(function(){rX(b)}):g.mE(function(){rX(b)},0)};
yta=function(a,b){var c=a.app;c.o.experiments.o("use_async_run_for_execution_in_ima")?g.ag(function(){sX(c,b)}):g.mE(function(){sX(c,b)},0)};
tX=function(a){a.K=!1;var b=g.Y(a.app,2);b&&a.app.o.F.remove(b.getVideoData().videoId)};
psa=function(a,b){switch(b){case 1:a.L=1;mX(a,"onAdStart");break;case 0:a.L=0,mX(a,"onAdEnd")}};
TV=function(a,b,c){c&&mX(a,"onAdInfoChange",c);a=a.app;1==b&&((0,g.lQ)("vr",void 0,""),a.sa||(a.sa=tO(a.sE,a)),Jqa(a.B),cna(a.oa,a.B.getVideoData(),zta(a)));c=a.o;(g.vN(c)&&c.Lb||g.hN(c))&&(uX(a)||a.A.za("onAdStateChange",b))};
vX=function(a){return!!(a.o.J&&a.A&&1<a.A.Db.length)};
iX=function(a){a=a.app.o;return eN(a)&&!g.hN(a)&&"desktop-polymer"==a.playerStyle};
zV=function(a,b){b.contentVideoId||(b.contentVideoId=rV(a).videoId);mX(a,"updateKevlarOrC3Companion",b)};
Bta=function(a,b){a.app.o.experiments.o("desktop_companion_wta_support")&&(g.za(g.y("yt.www.watch.ads.addInstreamCompanionWtaUi"))?Ata(b):g.hG("watchAdsInit",function(){Ata(b)}))};
Ata=function(a){var b=g.y("yt.www.watch.ads.addInstreamCompanionWtaUi");if(g.za(b)){var c=new gX;a=gsa(at(a),bt(a));c.bind(a);b(c.na().element)}else g.gE(Error("Watch page is not ready after WATCH_ADS_INIT event"))};
wX=function(a,b,c){g.L.call(this);this.MF=b;this.mz=c;this.Di=this.Eg=this.cg=this.ah=this.Yf=this.zc=this.Jj=this.Ql=this.vh=this.ee=this.Pg=this.dc=null;this.lm={};this.Gh={};this.ag=null;this.T=a;this.gm=this.Ci=this.kn=this.Qf=this.jh=this.Kc=null;this.It=g.X(a).experiments.o("web_player_defer_modules")};
g.Cta=function(a){var b=g.X(a.T);if(g.vN(b)||b.jc||!b.Ha&&!b.La)return!1;var c=a.T.Sa();if(2==c)return!1;if(3==c)return b.experiments.o("desktop_enable_autoplay");a=a.T.getVideoData();if(!a)return!1;c=!a.isLiveDefaultBroadcast||b.experiments.o("allow_poltergust_autoplay");return!(a.Ma&&(!b.experiments.o("allow_live_autoplay")||!c))};
Dta=function(a){a.It&&(a.Dt(),a.Bt(),a.Ct())};
Eta=function(a){var b=a.T.getVideoData(),c=g.X(a.T).experiments,d=g.PE(),e=c.o("enable_spherical_kabuki");a=g.tN(g.X(a.T));if(b.ig())return d||e||a||c.o("html5_enable_spherical");if(b.gh())return a||d||e||c.o("html5_enable_spherical");if(b.hh())return a||d||c.o("html5_enable_spherical3d");if(b.jj())return a||c.o("html5_enable_anaglyph3d")||!1;d=b.Ga&&b.Ga.video&&vI(b.Ga.video);return a&&!g.lP(b)&&!b.isVisualizerEligible&&!d&&(c.o("enable_webgl_noop")||c.o("enable_white_noise")||c.o("html5_enable_unsharp")||
c.o("html5_enable_bicubicsharp"))};
g.RT=function(a){return g.pP(a.T.getVideoData(),"ypc_module")};
Fta=function(a){g.X(a.T).experiments.o("web_player_ux_module_wait")&&a.Eg&&g.mU(a.T,"ux")};
g.Gta=function(a){var b=g.X(a.T);return a.T.getVideoData().isVisualizerEligible&&uN(b)&&b.experiments.o("web_player_music_visualizer")&&"desktop-polymer"==b.playerStyle&&g.tN(b)&&!(AN&&!g.qc(42))};
yX=function(a,b,c,d){try{if(d){var e=g.xX[b];if(e)return new e(a.T);"creatorendscreen"==b?Hta(a,"annotations_module",c):Hta(a,b,c)}else g.mU(a.T,b)}catch(f){g.mU(a.T,b),g.gE(f)}return null};
zX=function(a,b,c){a.dc&&(c||a.dc.Hc(b))&&(g.lf(a.dc),a.dc=null);a.Pg&&(c||a.Pg.Hc(b))&&(g.lf(a.Pg),a.Pg=null);a.ee&&(c||a.ee.Hc(b))&&(g.lf(a.ee),a.ee=null);a.vh&&(c||a.vh.Hc(b))&&(g.lf(a.vh),a.vh=null);a.Ql&&(c||a.Ql.Hc(b))&&(g.lf(a.Ql),a.Ql=null);a.Jj&&(c||a.Jj.Hc(b))&&(g.lf(a.Jj),a.Jj=null);a.zc&&(c||a.zc.Hc(b))&&(g.lf(a.zc),a.zc=null);a.Yf&&(c||a.Yf.Hc(b))&&(g.lf(a.Yf),a.Yf=null);a.ah&&(c||a.ah.Hc(b))&&(g.lf(a.ah),a.ah=null);a.cg&&(c||a.cg.Hc(b))&&(g.lf(a.cg),a.cg=null);a.jh&&(c||a.jh.Hc(b))&&
(g.lf(a.jh),a.jh=null);a.Ci&&(c||a.Ci.Hc(b))&&(g.lf(a.Ci),a.Ci=null);a.Qf&&(c||a.Qf.Hc(b))&&(g.lf(a.Qf),a.Qf=null);a.Kc&&(c||a.Kc.Hc(b))&&(g.lf(a.Kc),a.Kc=null);a.Eg&&(c||a.Eg.Hc(b))&&(g.lf(a.Eg),a.Eg=null);a.Di&&(c||a.Di.Hc(b))&&(g.lf(a.Di),a.Di=null)};
g.WT=function(a){return g.X(a.T).Hb?a.jh:null};
jI=function(a){return g.X(a.T).ka?a.Eg:null};
Hta=function(a,b,c){if(a.MF){for(var d=a.MF+b+".js",e=window.document.getElementsByTagName("SCRIPT"),f=!1,k,l=0;l<e.length;l++){var m=e[l];m.src==d&&(k=m)}k||(k=g.Od("SCRIPT"),f=!0);var n=function(){a.la()||c.call(a)},p=function(){a.la()||g.mU(a.T,b)};
k.onload=g.Da(function(a){Vf(n);a&&a()},k.onload);
k.onerror=g.Da(function(a){g.gE(Error("Unable to load player module "+b+".js from "+d+" on "+(window.document.location&&window.document.location.origin)+"."));Vf(p);a&&a()},k.onerror);
k.onreadystatechange=g.Da(function(a){switch(k.readyState){case "loaded":case "complete":Vf(n,this)}a&&a()},k.onreadystatechange);
f&&((e=g.X(a.T).Gi)&&k.setAttribute("nonce",e),g.jd(k,g.me(d)),e=window.document.getElementsByTagName("HEAD")[0]||window.document.body,e.insertBefore(k,e.firstChild),g.kf(a,function(){k.parentNode&&k.parentNode.removeChild(k);g.xX[b]=null;"annotations_module"==b&&(g.xX.creatorendscreen=null)}))}};
AX=function(a,b,c,d){g.VF.call(this);this.A=a;this.N=(0,g.B)(b,null);this.o=0;this.F=!1;this.C=new g.pd(window.NaN,window.NaN);this.Z=new g.SF(this);g.M(this,this.Z);b=d?4E3:3E3;this.H=new g.U(g.Da(this.oc,1,!1),b,this);g.M(this,this.H);this.J=new g.U(g.Da(this.oc,2,!1),b,this);g.M(this,this.J);this.L=new g.U(g.Da(this.oc,512,!1),0,this);g.M(this,this.L);this.W=c&&0<c.Li.length?5E3:3E3;d||(this.B=this.Z.R(a,"mouseover",this.dw),this.Z.R(a,"mousemove",this.HQ),this.Z.R(a,"mouseleave",this.ER));g.zh?
this.Z.R(a,"keypress",this.xN):this.Z.R(a,"focusin",this.aL);this.D=this.Z.R(a,"mousedown",this.sD);this.G=this.Z.R(a,"touchstart",this.uD,void 0,!0);this.O=null;this.oc(640,!0)};
Ita=function(a){a.oc(4,!1);a.K&&(a.Z.Ia(a.K),a.K=null,a.B=a.Z.R(a.A,"mouseover",a.dw));a.B&&(a.Z.Ia(a.B),a.B=a.Z.R(a.A,"mouseover",a.dw))};
BX=function(a){var b=g.X(a),c=a.getVideoData(),d=["ytp-large-play-button","ytp-button"];if(c.isDni&&c.dniColor)var e=b.J?[{I:"div",M:"ytp-large-play-button-circle",U:{style:"background-color: "+c.dniColor}},g.SU?{I:"div",ea:["ytp-icon","ytp-icon-dni-large-play-button"]}:{I:"svg",U:{height:"100%",version:"1.1",viewBox:"4 -6 60 60",width:"100%"},P:[{I:"path",U:{d:"m 26.96,13.67 18.37,9.62 -18.37,9.55 -0.00,-19.17 z",fill:"#fff"}}]}]:[g.SU?{I:"div",ea:["ytp-icon","ytp-icon-dni-large-lozenge-play-button"]}:
{I:"svg",U:{height:"100%",version:"1.1",viewBox:"0 0 68 48",width:"100%"},P:[{I:"path",M:"ytp-dni-large-play-button-bg",U:{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"}},{I:"path",U:{d:"M 45,24 27,14 27,34",
fill:"#fff"}}]}];else b.J&&!b.jc?e=[g.SU?{I:"div",ea:["ytp-icon","ytp-icon-large-play-button-hover"]}:{I:"svg",U:{height:"100%",version:"1.1",viewBox:"0 0 68 48",width:"100%"},P:[{I:"path",M:"ytp-large-play-button-bg",U:{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"}},{I:"path",U:{d:"M 45,24 27,14 27,34",fill:"#fff"}}]}]:(b.B&&d.push("ytp-touch-device"),e=[b.jc?g.SU?{I:"div",ea:["ytp-icon","ytp-icon-house-brand-large-play-button"]}:{I:"svg",U:{height:"100%",version:"1.1",viewBox:"0 0 60 60",width:"100%"},P:[{I:"path",M:"ytp-large-play-button-bg",U:{"clip-rule":"evenodd",d:"M59.6,1.35c0.26,.5,.4,1.13,.4,1.9v53.5c0,.76-0.13,1.4-0.4,1.9c-0.5,.9-1.45,1.35-2.85,1.35H3.25c-1.4,0-2.33-0.43-2.8-1.3C0.15,58.16,0,57.51,0,56.75V3.25c0-0.83,.16-1.5,.5-2C1,.41,1.91,0,3.25,0h53.5C58.15,0,59.1,.45,59.6,1.35z M21,41.65l22.7-11.8L21,18V41.65z",
fill:"#1f1f1f","fill-rule":"evenodd"}},{I:"path",U:{d:"M21,41.65 L21,18 L43.7,29.85 L21,41.65 Z",fill:"#fff"}}]}:g.SU?{I:"div",ea:["ytp-icon","ytp-icon-large-play-button"]}:{I:"svg",U:{height:"100%",version:"1.1",viewBox:"0 0 68 48",width:"100%"},P:[{I:"path",M:"ytp-large-play-button-bg",U:{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"}},{I:"path",U:{d:"M 45,24 27,14 27,34",fill:"#fff"}}]}]);var f=["ytp-cued-thumbnail-overlay"];b.experiments.o("web_player_contain_thumbnail")&&f.push("ytp-exp-contain-thumbnail");g.V.call(this,{I:"div",ea:f,P:[{I:"div",M:"ytp-cued-thumbnail-overlay-image"},{I:"button",ea:d,U:{"aria-label":"Play"},P:e},{I:"div",M:"ytp-cued-thumbnail-overlay-duration",da:"{{duration}}"}]});c.isDni&&c.dniColor&&!b.J&&this.o["ytp-dni-large-play-button-bg"].setAttribute("fill",c.dniColor);
this.F=new g.SF(this);g.M(this,this.F);this.B=a;this.H=this.o["ytp-cued-thumbnail-overlay-image"];this.G=this.o["ytp-large-play-button"];this.D=new g.YU(this,250);g.M(this,this.D);this.C=new g.U(this.yD,0,this);g.M(this,this.C);this.yD();this.R(a,"presentingplayerstatechange",this.TQ);this.R(a,"ypcStateChanged",this.BW);WM(g.X(a))&&this.R(a,"videoplayerreset",this.SQ)};
g.CX=function(a,b){return sQ(b)?(b.fetch=0,new g.rQ(a,b)):new g.YO(a,b)};
DX=function(a){g.L.call(this);this.D=a;this.C=new pD(0,0,.4,0,.2,1,1,1);this.A=new g.wu(this.B,window,this);g.M(this,this.A)};
EX=function(a){g.V.call(this,{I:"div",M:"ytp-related-on-error-overlay"});this.O=this.D=0;this.B=a;this.aa=new g.SF(this);g.M(this,this.aa);a=g.X(a);this.G=[];this.C=[];this.H=0;this.ga=a.o;this.N=new g.V({I:"h2",M:"ytp-related-title",da:"{{title}}"});g.M(this,this.N);this.N.ya(this.element);this.J=new g.V({I:"div",M:"ytp-suggestions"});g.M(this,this.J);this.J.ya(this.element);this.L=new g.V({I:"button",ea:["ytp-button","ytp-previous"],U:{"aria-label":"Previous"},P:[g.TU()]});g.M(this,this.L);this.L.ya(this.element);
this.L.X("click",this.iR,this);this.ha=new DX((0,g.B)(this.FD,this));g.M(this,this.ha);this.ba=this.F=0;this.W=!0;for(a=0;16>a;a++){var b=new g.V({I:"a",M:"ytp-suggestion-link",U:{href:"{{link}}",target:"_blank","aria-label":"{{aria_label}}"},P:[{I:"div",M:"ytp-suggestion-image",P:[{I:"div",M:"ytp-suggestion-duration",da:"{{duration}}"}]},{I:"div",M:"ytp-suggestion-title",U:{title:"{{hover_title}}"},da:"{{title}}"},{I:"div",M:"ytp-suggestion-author",da:"{{views_or_author}}"}]});g.M(this,b);b.ya(this.J.element);
var c=b.o["ytp-suggestion-link"];g.xh(c,"transitionDelay",a/20+"s");this.aa.R(c,"click",g.Da(this.jR,a));this.G.push(b)}this.K=new g.V({I:"button",ea:["ytp-button","ytp-next"],U:{"aria-label":"Next"},P:[g.UU()]});g.M(this,this.K);this.K.ya(this.element);this.K.X("click",this.hR,this);this.aa.R(this.B,"videodatachange",this.ED);Jta(this,g.VT(this.B).Ua());this.ED();this.show()};
Jta=function(a,b,c){var d=g.X(a.B),e=16/9,f=650<=b.width,k=480>b.width||290>b.height,l=Math.min(a.C.length,a.G.length);if(150>=Math.min(b.width,b.height)||0==l||!d.Ha)a.hide();else{var m;if(f){var n=m=28;a.D=16}else n=m=8,a.D=8;if(k){var p=6;f=14;var r=12;k=24;d=12}else p=8,f=18,r=16,k=36,d=16;b=b.width-(48+m+n);m=Math.ceil(b/150);m=Math.min(3,m);m=b/m-a.D;n=Math.floor(m/e);n+100>c&&50<m&&(n=Math.max(c,50/e),m=Math.ceil(b/(e*(n-100)+a.D)),m=b/m-a.D,n=Math.floor(m/e));50>m?a.hide():a.show();for(c=
0;c<l;c++){e=a.G[c];var v=e.o["ytp-suggestion-image"];v.style.width=m+"px";v.style.height=n+"px";e.o["ytp-suggestion-title"].style.width=m+"px";e.o["ytp-suggestion-author"].style.width=m+"px";e=e.o["ytp-suggestion-duration"];e.style.display=e&&100>m?"none":""}l=f+p+r+4;a.O=l+d+(n-k)/2;a.J.element.style.height=n+l+"px";a.ba=m;a.H=b;a.F=0;a.FD(0);FX(a)}};
Kta=function(a,b){var c=g.ld(b,a.H-a.C.length*(a.ba+a.D),0);a.ha.start(a.F,c,1E3);a.F=c;FX(a)};
FX=function(a){a.K.element.style.bottom=a.O+"px";a.L.element.style.bottom=a.O+"px";var b=a.F,c=a.H-a.C.length*(a.ba+a.D);g.T(a.element,"ytp-scroll-min",0<=b);g.T(a.element,"ytp-scroll-max",b<=c)};
Mta=function(a){for(var b=0;b<a.C.length;b++){var c=b,d=a.C[b].ab();c=a.G[c];var e=d.shortViewCount?d.shortViewCount:d.author,f=g.Zg(d.Lm(),{feature:"player_embedded_uturn"});c.element.style.display="";var k=c.o["ytp-suggestion-title"];Cc.test(Bc(d.title,void 0))?k.dir="rtl":Lta.test(Bc(d.title,void 0))&&(k.dir="ltr");k=c.o["ytp-suggestion-author"];Cc.test(Bc(e,void 0))?k.dir="rtl":Lta.test(Bc(e,void 0))&&(k.dir="ltr");c.update({views_or_author:e,duration:d.lengthSeconds?g.$U(d.lengthSeconds):"",
link:f,hover_title:d.title,title:d.title,aria_label:d.Vl||null});c=c.o["ytp-suggestion-image"];d=d.kd();c.style.backgroundImage=d?"url("+d+")":""}for(;b<a.G.length;b++)a.G[b].element.style.display="none";FX(a)};
GX=function(a,b){g.V.call(this,{I:"canvas",M:"ytp-tv-static"});this.C=this.element.getContext("2d");this.height=this.width=window.NaN;this.K=null;this.L=this.N=this.F=this.D=0;this.G=-75;this.B=new g.wu(this.J,void 0,this);g.M(this,this.B);this.H=new g.U(this.B.vk,75,this.B);g.M(this,this.H);Nta(this,a,b)};
Ota=function(a){for(var b=Math.floor(.6*a),c=b;c<a;++c){for(var d=!1,e=2;e<Math.sqrt(c);e++){if(!(c%e)){d=!1;break}d=!0}if(d)return c}return b};
Nta=function(a,b,c){if(b&&c){a.width=a.element.width=b;a.height=a.element.height=c;var d=g.Od("CANVAS");d.width=b;d.height=c;for(var e=d.getContext("2d"),f=e.getImageData(0,0,b,c),k=b*c,l=0;l<k;l++){var m=4*l;f.data[m]=f.data[m+1]=f.data[m+2]=Math.floor(35*Math.random());f.data[m+3]=255}e.putImageData(f,0,0);a.K=d;a.N=Ota(b);a.L=Ota(c/10);a.C.scale(1.5,1.5);a.C.fillStyle="rgba(255, 255, 255, 0.02)"}};
HX=function(a){var b=g.X(a),c=b.o;if(c){var d=new EX(a);var e={I:"div",M:"ytp-error-content",P:[{I:"div",M:"ytp-error-icon-container",P:[g.SU?{I:"div",ea:["ytp-icon","ytp-icon-error-exclamation"]}:{I:"svg",U:{fill:"#fff",height:"100%",viewBox:"0 0 48 48",width:"100%"},P:[{I:"path",U:{d:"M0 0h48v48H0V0z",fill:"none"}},{I:"path",U:{d:"M22 30h4v4h-4zm0-16h4v12h-4zm1.99-10C12.94 4 4 12.95 4 24s8.94 20 19.99 20S44 35.05 44 24 35.04 4 23.99 4zM24 40c-8.84 0-16-7.16-16-16S15.16 8 24 8s16 7.16 16 16-7.16 16-16 16z",
"fill-opacity":"0.3"}}]}]},{I:"div",M:"ytp-error-content-wrap",P:[{I:"div",M:"ytp-error-content-wrap-reason",da:"{{content}}"},{I:"div",M:"ytp-error-content-wrap-subreason",da:"{{subreason}}"}]}]},f=lN(b);!b.experiments.o("yt_embeds_disable_new_error_lozenge_url")&&Pta.includes(f)&&(f="www.youtube.com");b={I:"div",ea:["ytp-error","ytp-related-on-error"],U:{role:"alert"},P:[e,{I:"div",M:"ytp-small-redirect",P:[{I:"a",M:"ytp-small-redirect-link",U:{href:b.protocol+"://"+f,target:"_blank","aria-label":"Visit YouTube to search for more videos"},
P:[g.SU?{I:"div",ea:["ytp-icon","ytp-icon-youtube-small-logo"]}:{I:"svg",U:{fill:"#fff",height:"100%",viewBox:"0 0 24 24",width:"100%"},P:[{I:"path",U:{d:"M0 0h24v24H0V0z",fill:"none"}},{I:"path",U:{d:"M21.58 7.19c-.23-.86-.91-1.54-1.77-1.77C18.25 5 12 5 12 5s-6.25 0-7.81.42c-.86.23-1.54.91-1.77 1.77C2 8.75 2 12 2 12s0 3.25.42 4.81c.23.86.91 1.54 1.77 1.77C5.75 19 12 19 12 19s6.25 0 7.81-.42c.86-.23 1.54-.91 1.77-1.77C22 15.25 22 12 22 12s0-3.25-.42-4.81zM10 15V9l5.2 3-5.2 3z"}}]}]}]},d]}}else b=
{I:"div",ea:["ytp-error"],U:{role:"alert"},P:[{I:"div",M:"ytp-error-content",P:[{I:"div",M:"ytp-error-content-wrap",da:"{{content}}"}]}]};g.V.call(this,b);this.F=c;this.B=a;(this.D=d)&&g.M(this,this.D);this.G=[];if(!this.F)try{this.C=new GX(1,1),g.M(this,this.C),this.C.ya(this.element,0)}catch(k){}Qta(this,g.VT(this.B).Ua())};
Qta=function(a,b){IX(a,function(a){Nta(a,b.width,b.height)});
a.F&&Rta(a,b)};
Rta=function(a,b){a.o["ytp-error-content"].style.paddingTop="0px";var c=a.o["ytp-error-content"],d=c.clientHeight;Jta(a.D,b,b.height-d);c.style.paddingTop=(b.height-a.D.element.clientHeight)/2-d/2+"px";c=a.o["ytp-small-redirect"];a.D.isHidden()?c.style.display="inline":c.style.display=""};
IX=function(a,b){if(a.C)try{b.call(a,a.C)}catch(c){a.C.dispose(),a.C=null}};
Tta=function(a){a=a.split(Sta);for(var b=[],c=0;c<a.length;c+=3){var d=a[c++].split("\n");b.push(d[0]);for(var e=1;e<d.length;e++)b.push({I:"br"}),b.push(d[e]);c<a.length&&b.push({I:"a",U:{href:a[c],target:a[c+1]},da:a[c+2]})}return{I:"span",P:b}};
JX=function(a,b,c,d,e,f){e||(e=g.X(a.B).o);a=d?{CPN:a.B.getVideoData().clientPlaybackNonce}:null;b=g.wH(b,a).split(/\$(BEGIN|END)_LINK/);a=[];f&&(f=g.wH(f,null))&&a.push({I:"h2",da:f});a.push(b[0]);a.push({I:"br"});a.push({I:"a",U:{href:c,target:e?"_blank":null},da:b[2]});a.push(b[4]);return{I:"span",P:a}};
LX=function(a){g.SF.call(this);this.T=a;this.A=new window.Set;this.o=window.navigator.mediaSession;KX(this,"play",function(){a.bd()});
KX(this,"pause",function(){a.od()});
KX(this,"seekbackward",function(){a.Ge(-5*a.Pc())});
KX(this,"seekforward",function(){a.Ge(5*a.Pc())});
this.R(a,"videodatachange",this.C);this.R(a,"presentingplayerstatechange",this.B);this.C()};
KX=function(a,b,c){a.o.setActionHandler(b,c?(0,g.B)(c,a):null);a.A.add(b)};
MX=function(a){g.V.call(this,{I:"div",M:"ytp-paid-content-overlay",U:{"aria-live":"assertive","aria-atomic":"true"}});this.H=new g.V({I:"div",ea:["ytp-button","ytp-paid-content-overlay-text"]});g.M(this,this.H);this.H.ya(this.element);this.T=a;this.C=null;this.J=!1;this.F=new g.YU(this.H,250,!1,100);g.M(this,this.F);this.G=this.B=null;this.D={};this.K=0;this.R(a,"videodatachange",this.O);this.R(a,"presentingplayerstatechange",this.N)};
Uta=function(a,b){var c=oma(b),d=pma(b);a.B?b.videoId&&b.videoId!=a.C&&(g.Bu(a.B),a.C=b.videoId,c=a.D[b.videoId]||0,a.J=!!d&&3E3>c):c&&d&&(a.B=new g.U(a.L,d,a),g.M(a,a.B),g.ce(g.K("ytp-paid-content-overlay-text",a.element),c))};
Vta=function(a,b){a.B&&g.W(b,8)&&a.J&&(a.J=!1,a.F.show(),a.K=(0,g.H)(),a.B.start())};
OX=function(a){g.V.call(this,{I:"div",M:"ytp-spinner",P:[FW(),{I:"div",M:"ytp-spinner-message",da:"If playback doesn't begin shortly, try restarting your device."}]});this.D=this.o["ytp-spinner-message"];this.C=a;this.B=new g.U(this.show,500,this);g.M(this,this.B);this.R(a,"presentingplayerstatechange",this.F);this.R(a,"onFrescaStateChange",this.G);this.R(a,"playbackstalledatstart",this.H);NX(this,g.UT(a))};
NX=function(a,b){if(g.W(b,128))var c=0;else!(c=g.W(b,16))&&(c=g.W(b,1))&&(c=g.PT(a.C).cg,c=!(c&&c.loaded));c?a.B.start():a.hide()};
QX=function(a,b){g.V.call(this,{I:"button",ea:["ytp-airplay-button","ytp-button"],U:{title:"AirPlay"},da:"{{icon}}"});this.B=a;this.X("click",this.D);this.R(a,"airplayactivechange",this.C);this.R(a,"airplayavailabilitychange",this.C);this.C();g.kf(this,PX(b.Vb(),this.element))};
RX=function(a){g.WH.call(this,{I:"div",M:"ytp-gradient-bottom"});this.C=g.Od("CANVAS");this.C.width=1;this.B=this.C.getContext("2d");this.D=window.NaN;Wta(this,g.VT(a).Ua().height)};
Wta=function(a,b){if(a.B){var c=Math.floor(.4*b);c=Math.max(c,47);var d=c+2;if(a.D!=d){a.D=d;a.C.height=d;a.B.clearRect(0,0,1,d);var e=a.B.createLinearGradient(0,2,0,2+c),f=c-42;e.addColorStop(0,"rgba(0, 0, 0, 0)");e.addColorStop(f/c,"rgba(0, 0, 0, 0.3)");e.addColorStop(1,"rgba(0, 0, 0, 0.68)");a.B.fillStyle=e;a.B.fillRect(0,2,1,c);a.element.style.height=d+"px";a.element.style.backgroundImage="url("+a.C.toDataURL()+")"}}};
Xta=function(a,b,c,d,e){var f=b.qw/b.rows,k=Math.min(c/(b.rw/b.columns),d/f),l=b.rw*k,m=b.qw*k;l=Math.floor(l/b.columns)*b.columns;m=Math.floor(m/b.rows)*b.rows;var n=l/b.columns,p=m/b.rows,r=-b.column*n,v=-b.row*p;e&&45>=f&&(p-=1/k);n-=2/k;a=a.style;a.width=n+"px";a.height=p+"px";e||(d=(d-p)/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+") "+r+"px "+v+"px/"+l+"px "+m+"px"};
SX=function(a){g.V.call(this,{I:"div",M:"ytp-storyboard-framepreview",P:[{I:"div",M:"ytp-storyboard-framepreview-img"}]});this.H=this.o["ytp-storyboard-framepreview-img"];this.B=a;this.de=null;this.F=window.NaN;this.C=new g.SF(this);g.M(this,this.C);this.D=new g.YU(this,100);g.M(this,this.D);this.R(this.B,"presentingplayerstatechange",this.J)};
TX=function(a,b){var c=!!a.de;a.de=b;a.de?(c||(a.C.R(a.B,"videodatachange",function(){TX(a,a.B.af())}),a.C.R(a.B,"progresssync",a.K),a.C.R(a.B,"appresize",a.G)),a.F=window.NaN,UX(a),a.D.show(200)):(c&&g.UF(a.C),a.D.hide(),a.D.stop())};
UX=function(a){var b=a.B.getCurrentTime(),c=g.VT(a.B).Ua(),d=$N(a.de,c.width);b=eO(a.de,d,b);b!=a.F&&(a.F=b,cO(a.de,b,c.width),b=aO(a.de,b,c.width),Xta(a.H,b,c.width,c.height))};
VX=function(a){g.V.call(this,{I:"button",ea:["ytp-fullerscreen-edu-button","ytp-button"],P:[{I:"div",ea:["ytp-fullerscreen-edu-text"],da:g.wH("FULLERSCREEN_EDU")},{I:"div",ea:["ytp-fullerscreen-edu-chevron"],P:[g.SU?{I:"div",ea:["ytp-icon","ytp-icon-chevron-down"]}:{I:"svg",U:{height:"100%",viewBox:"0 0 24 24",width:"100%"},P:[{I:"path",U:{d:"M7.41,8.59L12,13.17l4.59-4.58L18,10l-6,6l-6-6L7.41,8.59z",fill:"#fff"}}]}]}]});rU(a,this.element,this,61214);this.C=a;this.D=new g.YU(this,250,void 0,100);g.M(this,
this.D);this.F=!1;this.R(a,"fullscreentoggled",this.B);this.R(a,"presentingplayerstatechange",this.B);this.X("click",this.G);this.B()};
WX=function(a,b,c,d,e,f){d=void 0===d?!1:d;e=void 0===e?!1:e;f=void 0===f?window.NaN:f;g.WH.call(this,b);var k=this;this.T=a;this.ia=d;this.L=null;this.K=new g.SF(this);g.M(this,this.K);this.N=new g.YU(this,c,!0);g.M(this,this.N);this.F=null;this.ga=e;this.ka=(0,window.isNaN)(f)?c:f;this.aa=new g.U(function(){return k.focus()},this.ka);
g.M(this,this.aa)};
Yta=function(a){a.F&&(window.document.activeElement&&g.ae(a.element,window.document.activeElement)&&(g.ge(a.F),a.F.focus()),a.F.removeAttribute("aria-expanded"),a.F=null);g.UF(a.K);a.L=null};
XX=function(a){return a.A&&4!=a.N.o};
YX=function(a,b){g.V.call(this,{I:"button",ea:["ytp-fullscreen-button","ytp-button"],U:{title:"{{title}}"},da:"{{icon}}"});this.C=a;this.G=b;this.B=null;this.D=PX(b.Vb(),this.element);this.F=new g.U(this.CK,2E3,this);g.M(this,this.F);this.R(a,"fullscreentoggled",this.hG);this.R(a,"presentingplayerstatechange",this.zD);this.X("click",this.UQ);if(tF()){var c=g.VT(this.C);this.R(c,Oja(),this.zE);this.R(c,wF(window.document),this.VQ)}g.X(a).oa||Zta(this);this.zD();this.hG(a.isFullscreen())};
Zta=function(a){if(!a.B){var b=(null!=rF(["requestFullscreen","webkitRequestFullscreen","mozRequestFullScreen","msRequestFullscreen"],window.document.body)?"Full screen is unavailable. $BEGIN_LINKFind out more$END_LINK":"Your browser doesn't support full screen. $BEGIN_LINKFind out more$END_LINK").split(/\$(BEGIN|END)_LINK/);a.B=new WX(a.C,{I:"div",ea:["ytp-popup","ytp-generic-popup"],U:{role:"alert",tabindex:"0"},P:[b[0],{I:"a",U:{href:"https://web.archive.org/web/20181027110332/https://support.google.com/youtube/answer/6276924",target:"_blank"},
da:b[2]},b[4]]},100,!0);a.B.hide();g.M(a,a.B);a.B.subscribe("show",(0,g.B)(a.G.ip,a.G,a.B));g.nU(a.C,a.B.element,4);a.element.setAttribute("aria-disabled",!0);a.element.setAttribute("aria-haspopup",!0);a.D();a.D=null}};
ZX=function(a,b){var c="Activate miniplayer";"en_US"==g.X(a).ia&&(c="Miniplayer");g.V.call(this,{I:"button",ea:["ytp-miniplayer-button","ytp-button"],U:{title:c},P:[g.SU?{I:"div",ea:["ytp-icon","ytp-icon-pip"]}:{I:"svg",U:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},P:[{I:"path",Ya:!0,U:{d:"M25,17 L17,17 L17,23 L25,23 L25,17 L25,17 Z M29,25 L29,10.98 C29,9.88 28.1,9 27,9 L9,9 C7.9,9 7,9.88 7,10.98 L7,25 C7,26.1 7.9,27 9,27 L27,27 C28.1,27 29,26.1 29,25 L29,25 Z M27,25.02 L9,25.02 L9,10.97 L27,10.97 L27,25.02 L27,25.02 Z",
fill:"#fff"}}]}]});this.T=a;this.X("click",this.B);this.R(a,"fullscreentoggled",this.C);g.kf(this,PX(b.Vb(),this.element))};
$X=function(a){var b={I:"div",M:"ytp-multicam-menu",U:{role:"dialog"},P:[{I:"div",M:"ytp-multicam-menu-header",P:[{I:"div",M:"ytp-multicam-menu-title",P:["Switch camera",{I:"button",ea:["ytp-multicam-menu-close","ytp-button"],U:{"aria-label":"Close"},P:[g.VU()]}]}]},{I:"div",M:"ytp-multicam-menu-items"}]};WX.call(this,a,b,250);this.D=new g.SF(this);g.M(this,this.D);this.R(this.o["ytp-multicam-menu-close"],"click",this.Rb);this.B=a;this.Ra=this.o["ytp-multicam-menu-items"];this.C=[];this.hide()};
aY=function(a,b,c){g.V.call(this,{I:"button",ea:["ytp-multicam-button","ytp-button"],U:{title:"Switch camera","aria-haspopup":"true","data-preview":"{{preview}}","data-tooltip-text":"{{text}}"},P:[g.SU?{I:"div",ea:["ytp-icon","ytp-icon-switch-camera"]}:{I:"svg",U:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},P:[{I:"path",Ya:!0,U:{d:"M 26,10 22.83,10 21,8 15,8 13.17,10 10,10 c -1.1,0 -2,.9 -2,2 l 0,12 c 0,1.1 .9,2 2,2 l 16,0 c 1.1,0 2,-0.9 2,-2 l 0,-12 c 0,-1.1 -0.9,-2 -2,-2 l 0,0 z m -5,11.5 0,-2.5 -6,0 0,2.5 -3.5,-3.5 3.5,-3.5 0,2.5 6,0 0,-2.5 3.5,3.5 -3.5,3.5 0,0 z",
fill:"#fff"}}]}]});this.G=a;this.D=!1;this.B=b.Vb();this.F=new g.U(this.J,400,this);g.M(this,this.F);this.X("click",(0,g.B)(c.yi,c,this.element,!1));this.R(a,"presentingplayerstatechange",g.Da(this.C,!1));this.R(a,"videodatachange",this.H);this.C(!0);g.kf(this,PX(this.B,this.element))};
bY=function(){g.L.call(this);this.D=null;this.C=this.o=0;this.B=new g.wu(this.A,null,this);g.M(this,this.B)};
$ta=function(a,b){if("path"==b.I)return b.U.d;if(b.P)for(var c=0;c<b.P.length;c++){var d=b.P[c];if(d&&!g.w(d)&&(d=$ta(a,d)))return d}};
cua=function(a,b,c){c=$ta(a,c);var d=b.getElementsByTagName("path")[0],e=d.getAttribute("d");if(d.getAttribute("id")){var f=OH();b=b.getElementsByTagName("use");for(var k=0;k<b.length;k++)b[k].setAttributeNS("http://www.w3.org/1999/xlink","href","#"+f);d.setAttribute("id",f)}var l=aua(e),m=aua(c);cY(a,function(a){d.setAttribute("d",bua(l,m,a))},200)};
cY=function(a,b,c){a.D=b;a.C=g.tG();a.o=c;a.A()};
aua=function(a){var b=[];a=a.match(dua);for(var c=0;c<a.length;c++){var d=(0,window.parseFloat)(a[c]);b.push((0,window.isNaN)(d)?a[c]:d)}return b};
bua=function(a,b,c){for(var d="",e=0;e<a.length;e++){var f=a[e];d=g.ta(f)?d+(f+(b[e]-f)*c):d+f}return d};
dY=function(a,b){var c=g.X(a);g.V.call(this,{I:"button",ea:["ytp-mute-button","ytp-button"],U:c.K?{title:"{{title}}"}:{"aria-disabled":"true","aria-haspopup":"true"},da:"{{icon}}"});this.updateValue("icon",XU());this.B=a;this.ha=b.Vb();this.K=this.N=this.L=this.W=window.NaN;this.H=[];this.G=[];this.J=this.D=!1;g.X(this.B).J||(this.C=new g.QH({I:"svg",U:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},P:[{I:"defs",P:[{I:"clipPath",U:{id:"ytp-svg-volume-animation-mask"},P:[{I:"path",U:{d:"m 14.35,-0.14 -5.86,5.86 20.73,20.78 5.86,-5.91 z"}},
{I:"path",U:{d:"M 7.07,6.87 -1.11,15.33 19.61,36.11 27.80,27.60 z"}},{I:"path",M:"ytp-svg-volume-animation-mover",U:{d:"M 9.09,5.20 6.47,7.88 26.82,28.77 29.66,25.99 z"}}]},{I:"clipPath",U:{id:"ytp-svg-volume-animation-slash-mask"},P:[{I:"path",M:"ytp-svg-volume-animation-mover",U:{d:"m -11.45,-15.55 -4.44,4.51 20.45,20.94 4.55,-4.66 z"}}]}]},{I:"path",Ya:!0,ea:["ytp-svg-fill","ytp-svg-volume-animation-speaker"],U:{"clip-path":"url(#ytp-svg-volume-animation-mask)",d:"M8,21 L12,21 L17,26 L17,10 L12,15 L8,15 L8,21 Z M19,14 L19,22 C20.48,21.32 21.5,19.77 21.5,18 C21.5,16.26 20.48,14.74 19,14 Z",
fill:"#fff"}},{I:"path",Ya:!0,ea:["ytp-svg-fill","ytp-svg-volume-animation-hider"],U:{"clip-path":"url(#ytp-svg-volume-animation-slash-mask)",d:"M 9.25,9 7.98,10.27 24.71,27 l 1.27,-1.27 Z",fill:"#fff"}}]}),g.M(this,this.C),this.aa=this.C.o["ytp-svg-volume-animation-speaker"],this.oa=this.aa.getAttribute("d"),this.H=g.Bd("ytp-svg-volume-animation-mover",this.C.element),this.G=g.Bd("ytp-svg-volume-animation-hider",this.C.element));this.F=null;this.ba=new bY;g.M(this,this.ba);this.O=new bY;g.M(this,
this.O);this.X("click",this.ka);this.R(a,"appresize",this.Vc);this.R(a,"onVolumeChange",this.ia);var d=null;c.K?g.kf(this,PX(b.Vb(),this.element)):(c="Your browser doesn't support changing the volume. $BEGIN_LINKLearn More$END_LINK".split(/\$(BEGIN|END)_LINK/),d=new WX(a,{I:"span",ea:["ytp-popup","ytp-generic-popup"],U:{tabindex:"0"},P:[c[0],{I:"a",U:{href:"https://web.archive.org/web/20181027110332/https://support.google.com/youtube/?p=noaudio",target:"_blank"},da:c[2]},c[4]]},100,!0),g.M(this,d),d.hide(),d.subscribe("show",(0,g.B)(b.ip,
b,d)),g.nU(a,d.element,4));this.ga=d;rU(a,this.element,this,28662);this.Vc(g.VT(a).Ua());eua(this,a.getVolume(),a.isMuted())};
eua=function(a,b,c){var d=c?0:b/100,e=g.X(a.B);if(e.J)d=0==d?XU():0<d&&.5>d?Dra():Cra(),d!=a.F&&(a.updateValue("icon",d),a.F=d);else{b=0==d?1:50<b?1:0;if(a.L!=b){var f=a.W;(0,window.isNaN)(f)?fua(a,b):cY(a.ba,(0,g.B)(function(a){fua(this,f+(this.L-f)*a)},a),250);
a.L=b}d=0==d?1:0;if(a.K!=d){var k=a.N;(0,window.isNaN)(k)?gua(a,d):cY(a.O,(0,g.B)(function(a){gua(this,k+(this.K-k)*a)},a),250);
a.K=d}}e.K&&(e=IW(a.B,"Mute","m"),d=IW(a.B,"Unmute","m"),a.updateValue("title",c?d:e),eY(a.ha))};
fua=function(a,b){a.W=b;var c=a.oa;b&&(c+=bua(hua,iua,b));a.aa.setAttribute("d",c)};
gua=function(a,b){a.N=b;for(var c=20*b,d=0;d<a.H.length;d++)a.H[d].setAttribute("transform","translate("+c+", "+c+")");var e;1==b?e=XU():e=a.C;for(c=0;c<a.G.length;c++)a.G[c].style.display=0==b?"none":"";e!=a.F&&(a.updateValue("icon",e),a.F=e)};
g.fY=function(a,b){g.V.call(this,{I:"button",ea:["ytp-play-button","ytp-button"],U:{title:"{{title}}","aria-label":"{{label}}"},da:"{{icon}}"});this.C=a;this.D=null;this.F=b.Vb();this.B=null;this.G=new bY;g.M(this,this.G);this.R(a,"fullscreentoggled",this.H);this.R(a,"presentingplayerstatechange",this.J);this.R(a,"videodatachange",this.H);jua(this,g.UT(a));this.X("click",this.K,this)};
kua=function(a){switch(a){case 1:return xra();case 2:return wra();case 3:return g.WU();case 4:return Ara();default:return null}};
jua=function(a,b){var c=g.qP(a.C.getVideoData()),d=!1;if(QP(b))var e=c?4:2;else g.W(b,2)?(e=3,d=c):e=1;a.element.disabled=d;if(a.D!=e){c=null;switch(e){case 2:c="Pause";break;case 3:c="Replay";break;case 1:c="Play";break;case 4:c="Stop live playback"}3==e?(a.B||(a.B=PX(a.F,a.element)),a.update({title:c,label:null,icon:kua(e)})):(a.B&&(a.B(),a.B=null),a.update({title:null,label:c}),(c=kua(e))&&a.D&&3!=a.D&&!g.X(a.C).J?cua(a.G,a.element,c):a.updateValue("icon",c));eY(a.F);a.D=e}};
g.hY=function(a,b,c){if(c){var d="ytp-next-button";var e=ura()}else d="ytp-prev-button",e=yra();g.V.call(this,{I:"a",ea:[d,"ytp-button"],U:{title:"{{title}}",href:"{{url}}","data-preview":"{{preview}}","data-tooltip-text":"{{text}}","data-duration":"{{duration}}","aria-disabled":"{{disabled}}","data-next":"{{next}}","data-prev":"{{prev}}"},P:[e]});this.B=a;this.N=b.Vb();this.C=c;this.D=this.H=null;this.L=!1;this.J=this.K=this.F=null;this.G=!1;this.R(a,"fullscreentoggled",this.fl);this.R(a,"videodatachange",
this.fl);this.R(a,"onPlaylistUpdate",this.fl);this.C||this.R(a,"appresize",this.Vc);this.R(a,"mdxpreviousnextchange",function(){gY(this);this.Vc()});
this.fl()};
lua=function(a){a.D&&a.D.unsubscribe("shuffle",a.fl,a)};
mua=function(a){return!!a.D&&!a.C&&!!a.H&&!a.H.Ma&&3<=a.B.getCurrentTime()&&2!=a.B.Sa()};
nua=function(a){var b=g.WT(g.PT(a.B));return b?a.C?b.hasNext():b.kg():!1};
gY=function(a){var b={duration:null,preview:null,text:null,title:null,url:null},c=g.X(a.B),d=XT(a.B),e=a.C&&g.pU(a.B),f=nua(a),k=a.C&&5==a.B.Sa();if(k)b.title="Start video";else if(a.G)b.title="Replay";else if(d){var l=null;a.D&&(l=a.D.ab(a.C?ina(a.D):jna(a.D)));if(l){if(l.videoId){var m=a.D.listId;b.url=c.getVideoUrl(l.videoId,m?m.toString():void 0)}b.text=l.title;b.duration=l.lengthSeconds?g.$U(l.lengthSeconds):null;b.preview=l.kd("mqdefault.jpg")}b.title=a.C?"Next":"Previous"}else e&&(a.H.suggestions&&
a.H.suggestions.length&&(c=g.CX(c,a.H.suggestions[0]),b.url=c.Lm(),b.text=c.title,b.duration=c instanceof g.YO?g.$U(c.lengthSeconds):null,b.preview=c.kd("mqdefault.jpg")),b.title="Next");b.disabled=!e&&!d&&!f&&!k;a.update(b);a.L=!!b.url;e||d||a.G||f||k?a.F||(a.F=PX(a.N,a.element),a.K=a.X("click",a.eR,a)):a.F&&(a.F(),a.F=null,a.Ia(a.K),a.K=null);eY(a.N)};
oua=function(){this.A=this.position=this.C=this.o=this.D=this.B=this.width=window.NaN};
g.iY=function(a,b){g.WH.call(this,{I:"div",M:"ytp-progress-bar-container",U:{"aria-disabled":"true"},P:[{I:"div",ea:["ytp-progress-bar",g.X(a).B?"ytp-mobile":""],U:{tabindex:"0",role:"slider","aria-label":"Seek slider","aria-valuemin":"{{ariamin}}","aria-valuemax":"{{ariamax}}","aria-valuenow":"{{arianow}}","aria-valuetext":"{{arianowtext}}"},P:[{I:"div",M:"ytp-progress-bar-padding"},{I:"div",M:"ytp-progress-list",P:[{I:"div",ea:["ytp-play-progress","ytp-swatch-background-color"]},{I:"div",M:"ytp-load-progress"},
{I:"div",M:"ytp-hover-progress"},{I:"div",M:"ytp-clip-start-exclude"},{I:"div",M:"ytp-clip-end-exclude"},{I:"div",M:"ytp-ad-progress-list"},{I:"div",M:"ytp-marker-crenellation-list"},{I:"div",M:"ytp-marker-progress-list"}]},{I:"div",M:"ytp-marker-icons"},{I:"div",M:"ytp-scrubber-container",P:[{I:"div",ea:["ytp-scrubber-button","ytp-swatch-background-color"],P:[{I:"div",M:"ytp-scrubber-pull-indicator"}]}]}]},{I:"div",M:"ytp-bound-time-left",da:"{{boundTimeLeft}}"},{I:"div",M:"ytp-bound-time-right",
da:"{{boundTimeRight}}"},{I:"div",M:"ytp-clip-start",U:{title:"Watch entire video"},da:"{{clipstarticon}}"},{I:"div",M:"ytp-clip-end",U:{title:"Watch entire video"},da:"{{clipendicon}}"}]});this.updateValue("clipstarticon",sra());this.updateValue("clipendicon",rra());this.C=a;this.sa=b.Vb();this.Va=!1;this.F=this.Ha=0;this.ga=1;this.Wc=this.K=0;this.D=null;this.Hb=!1;this.L=this.wa=0;this.qd=this.o["ytp-ad-progress-list"];this.rd=this.o["ytp-marker-progress-list"];this.ud=this.o["ytp-marker-icons"];
this.zb=this.o["ytp-marker-crenellation-list"];this.aa={};this.pa={};this.W={};this.ha=[];this.N=window.Infinity;var c=b.Vb();this.ia=this.o["ytp-clip-end"];g.kf(this,PX(c,this.ia));this.xa=new g.XF(this.ia,!0);g.M(this,this.xa);this.xa.subscribe("hoverstart",this.qE,this);this.xa.subscribe("hoverend",this.pE,this);this.R(this.ia,"click",this.kr);this.fb=this.o["ytp-clip-end-exclude"];this.sd=this.o["ytp-clip-start-exclude"];this.O=0;this.ka=this.o["ytp-clip-start"];g.kf(this,PX(c,this.ka));this.Ba=
new g.XF(this.ka,!0);g.M(this,this.Ba);this.Ba.subscribe("hoverstart",this.qE,this);this.Ba.subscribe("hoverend",this.pE,this);this.R(this.ka,"click",this.kr);this.wc=this.o["ytp-load-progress"];this.oa=0;this.wd=this.o["ytp-play-progress"];this.Sb=this.o["ytp-hover-progress"];this.J=0;this.yc=this.o["ytp-progress-bar"];this.G=null;this.Od=this.o["ytp-scrubber-button"];this.Pd=this.o["ytp-scrubber-container"];this.Da=new g.pd;this.Kb=new oua;this.B=new bV(0,0);this.H=this.Qa=!1;this.qc=null;this.R(a,
"presentingplayerstatechange",this.SL);this.R(a,"videodatachange",this.CD);this.R(a,"videoplayerreset",this.RL);this.R(a,"cuerangesadded",this.aH);this.R(a,"cuerangesremoved",this.UW);this.R(a,"cuerangemarkersupdated",this.aH);this.R(a,"onPlaybackQualityChange",this.XL);pua(this,a.getVideoData(),!0)};
g.rua=function(a){qua(a);var b=a.C.getCurrentTime();(b<a.O||b>a.N)&&a.kr()};
qua=function(a){if(a.F){var b=a.C.Zk(),c=new bV(b.seekableStart,b.seekableEnd),d=dV(c,b.loaded,0);b=dV(c,b.current,0);var e=a.B.A!=c.A||a.B.o!=c.o;a.B=c;jY(a,b,d);e&&g.kY(a);sua(a)}};
pua=function(a,b,c){c=void 0===c?!1:c;var d=!!b&&b.Wd();a.Qa=d&&b.Ki;tua(a,a.C.Zc());c&&(d?(c=b.clipEnd,a.O=b.clipStart,a.N=c,lY(a),jY(a,a.J,a.oa)):a.kr(),b=a.sa,1==b.C&&b.ff());qua(a)};
uua=function(a){return!!a&&a.Wd()&&!!a.Ga&&a.Ga.video.isAccelerated&&a.Ga.video.B};
mY=function(a,b){a.Hb=b;g.T(a.wc,"ytp-fast-load",b)};
vua=function(a,b,c,d){b=g.ld(b,0,a.H?60:40);a.K=b;var e=a.ga,f=Math.max(a.B.getLength()/a.F,1);a.ga=b/(a.H?60:40)*(f-1)+1;b=a.F*a.ga;a.L=g.ld(d*b-c,0,b-a.F);e!=a.ga&&g.kY(a)};
g.kY=function(a){var b=nY(a),c=-b.B/b.o,d=(-b.B+b.width)/b.o,e=g.Wd(a.zb),f=0;if(a.K>.2*(a.H?60:40)){var k=c*(a.B.getLength()/60),l=d*(a.B.getLength()/60);for(k=Math.ceil(k);k<l;k++){var m=e[f];m||(m=g.Od("DIV"),a.zb.appendChild(m));f++;m.className=0==k%60?"ytp-60m-progress":0==k%30?"ytp-30m-progress":0==k%15?"ytp-15m-progress":"ytp-1m-progress";var n=(60*k/a.B.getLength()-c)*b.o;m.style.left=n+"px"}}b=a.Qa?a.B.o:0;a.update({boundTimeLeft:g.$U(cV(a.B,c)-b),boundTimeRight:g.$U(cV(a.B,d)-b)});for(c=
e.length-1;c>=f;c--)g.Ud(e[c]);a.element.style.height=a.K+(a.H?8:5)+"px";a.V("height-change",a.K);a.Od.style.height=a.K+(a.H?20:13)+"px";for(var p in a.aa)wua(a,p);oY(a);lY(a);jY(a,a.J,a.oa)};
nY=function(a){var b=a.Da.x,c=a.F*a.ga;b=g.ld(b,0,a.F);a.Kb.update(b,a.F,-a.L,-(c-a.L-a.F));return a.Kb};
jY=function(a,b,c){a.J=b;a.oa=c;var d=nY(a),e=a.B.o,f=cV(a.B,a.J);a.update({ariamin:Math.floor(a.B.A),ariamax:Math.floor(e),arianow:Math.floor(f),arianowtext:g.QU("$PLAY_PROGRESS of $DURATION",{PLAY_PROGRESS:g.$U(f),DURATION:g.$U(e)})});e=dV(a.B,a.O,0);var k=dV(a.B,a.N,1);f=g.ld(b,e,k);c=a.Hb?1:g.ld(c,e,k);g.xh(a.Pd,"transform","translateX("+(b*d.o+d.B)+"px)");pY(a,a.wd,d,e,f);pY(a,a.wc,d,e,c)};
xua=function(a,b,c){b=Math.max(c*b.o+b.B,0);a.style.left=b+"px";return b};
pY=function(a,b,c,d,e,f){f=void 0===f?!1:f;xua(b,c,d);d=g.ld((e-d)*c.o+c.B,0,c.width);f||g.X(a.C).B?b.style.width=d+"px":g.xh(b,"transform","scalex("+(c.width?d/c.width:0)+")")};
lY=function(a){var b=a.O>a.B.A,c=0<a.B.o&&a.N<a.B.o;g.T(a.element,"ytp-clip-start-enabled",b);g.T(a.element,"ytp-clip-end-enabled",c);b=b?dV(a.B,a.O,0):0;c=c?dV(a.B,a.N,1):1;a.ka.style.left=Math.round(1E3*b)/10+"%";a.ia.style.left=Math.round(1E3*c)/10+"%";a.sd.style.width=Math.round(1E3*b)/10+"%";a.fb.style.left=Math.round(1E3*c)/10+"%";a.fb.style.width=Math.round(1E3*(1-c))/10+"%"};
oY=function(a){for(var b=0;b<a.ha.length;b++){for(var c=a.W[a.ha[b].getId()],d=Number(c.getAttribute("data-left"))-24,e=!1,f=b-1;0<=f;f--){var k=a.W[a.ha[f].getId()];if("none"!=k.style.display){Number(k.getAttribute("data-left"))>d&&(e=!0);break}}c.style.display=e?"none":""}};
sua=function(a){var b=nY(a);pY(a,a.Sb,b,a.J,b.A);g.T(a.Sb,"ytp-hover-progress-light",b.A>a.J)};
wua=function(a,b){var c=a.aa[b],d=a.pa[b],e=nY(a),f=dV(a.B,c.start/1E3,0),k=fna(c,a.H),l=k/e.width;switch(c.style){case "ytp-chapter-marker":var m=f+l/2;f-=l/2;d.style.borderRadius=k+"px";break;default:m=dV(a.B,c.end/1E3,1),l!=Number.POSITIVE_INFINITY&&(f=g.ld(f,0,m-l)),m=Math.min(m,f+l)}c.color&&(d.style.background=c.color);pY(a,d,e,f,m,!0);(c=a.W[b])&&c.setAttribute("data-left",xua(c,e,f))};
yua=function(a,b){var c=b.getId();if(a.aa[c]==b){g.Ud(a.pa[c]);delete a.aa[c];delete a.pa[c];var d=a.W[c];d&&(g.Ud(d),delete a.W[c],c=a.ha,d=g.bb(c,b,g.oQ),0<=d&&g.Ra(c,d))}};
tua=function(a,b){b?a.G||(a.element.removeAttribute("aria-disabled"),a.G=new g.XF(a.yc,!0),a.G.subscribe("hovermove",a.RU,a),a.G.subscribe("hoverend",a.QU,a),a.G.subscribe("dragstart",a.PU,a),a.G.subscribe("dragmove",a.TU,a),a.G.subscribe("dragend",a.SU,a),a.qc=a.X("keydown",a.gR)):a.G&&(a.element.setAttribute("aria-disabled",!0),a.Ia(a.qc),a.G.cancel(),a.G.dispose(),a.G=null)};
g.qY=function(a,b){var c=g.ZH({role:"menuitemcheckbox","aria-checked":"false"});g.YH.call(this,c,b,a,{I:"div",M:"ytp-menuitem-toggle-checkbox"});this.B=!1;this.X("click",this.K)};
g.rY=function(a,b){a.B=b;a.element.setAttribute("aria-checked",a.B)};
sY=function(a,b){g.qY.call(this,"Annotations",5);this.D=b;this.T=a;this.C=!1;this.R(a,"videodatachange",this.F);this.R(a,"onApiChange",this.F);this.subscribe("select",this.G,this);this.F()};
tY=function(a,b,c,d,e){var f={I:"div",M:"ytp-panel"};if(c){var k="ytp-panel-title";var l={I:"div",M:"ytp-panel-header",P:[{I:"button",ea:["ytp-button",k],P:[c]}]};if(e){var m="ytp-panel-options";l.P.push({I:"button",ea:["ytp-button",m],P:[d]})}f.P=[l]}g.WH.call(this,f);this.aa=b;b.ya(this.element);this.ia=!1;c&&(this.R(this.o[k],"click",this.oa),this.ia=!0,e&&this.R(this.o[m],"click",e));b.subscribe("size-change",this.ka,this);this.R(a,"fullscreentoggled",this.ka)};
g.uY=function(a,b,c,d,e){b=void 0===b?null:b;var f={role:"menu"};b&&(f.id=b);b=new g.WH({I:"div",M:"ytp-panel-menu",U:f});tY.call(this,a,b,c,d,e);this.G=b;g.M(this,this.G);this.Ra=[]};
g.vY=function(a,b,c){if(void 0===c?0:c)a.Ra.push(b),a.G.element.appendChild(b.element);else{c=g.bb(a.Ra,b,zua);if(0<=c)return;c=~c;g.Ya(a.Ra,c,0,b);Td(a.G.element,b.element,c)}b.subscribe("size-change",a.ga,a);a.G.V("size-change")};
g.Aua=function(a,b){b.unsubscribe("size-change",a.ga,a);a.la()||(g.Sa(a.Ra,b),a.G.element.removeChild(b.element),a.G.V("size-change"))};
g.Bua=function(a){for(var b=g.q(a.Ra),c=b.next();!c.done;c=b.next())c.value.unsubscribe("size-change",a.ga,a);a.Ra=[];g.Sd(a.G.element);a.G.V("size-change")};
zua=function(a,b){return b.priority-a.priority};
g.wY=function(a,b,c,d,e,f){var k=g.ZH({"aria-haspopup":"true"});g.YH.call(this,k,b,a);this.C=d;this.J=!1;this.G=null;this.B={};this.F=new g.uY(c,void 0,a,e,f);g.M(this,this.F);this.X("keydown",this.kR);this.X("click",this.open)};
g.xY=function(a,b){g.Bua(a.F);for(var c={},d=!1,e=0;e<b.length;e++){var f=b[e],k=a.B[f],l=f==a.G;l&&(d=!0);k&&k.priority==-e?(l=a,g.XH(l.B[f],l.Ff(f,!0)),delete a.B[f]):k=a.Vs(f,-e,l);c[f]=k;g.vY(a.F,k,!0)}d||(a.G=null);for(var m in a.B)a.B[m].dispose();a.B=c};
yY=function(a,b){g.wY.call(this,"Audio track",2,a,b);this.T=a;this.K=new g.V({I:"div",P:[{I:"span",da:"Audio track"},{I:"span",M:"ytp-menuitem-label-count",da:"{{content}}"}]});g.XH(this,this.K);this.L={};this.R(a,"videodatachange",this.H);this.R(a,"onPlaybackAudioChange",this.H);this.H()};
zY=function(a,b){g.qY.call(this,"Autoplay",6);this.G=b;this.T=a;this.D=!1;this.C=[];this.R(a,"presentingplayerstatechange",this.F);this.subscribe("select",this.J,this);this.F()};
g.AY=function(a,b){WX.call(this,a,{I:"div",ea:["ytp-popup",b||null]},100,!0);this.B=[];this.size=new g.sd(0,0);this.G=this.H=null;this.O=this.W=0;this.X("keydown",this.WQ)};
Cua=function(a){g.Ph(a.element,a.W||"100%",a.O||"100%");var b=BY(a);b.element.style.width="";b.element.style.height="";b.element.style.maxWidth="100%";b.element.style.maxHeight="100%";b.aa.element.style.height="";var c=g.Qh(b.element);c.width+=1;c.height+=1;b.element.style.width=c.width+"px";b.element.style.height=c.height+"px";b.element.style.maxWidth="";b.element.style.maxHeight="";var d=0;b.ia&&(d=g.Qh(b.o["ytp-panel-header"]).height);b.aa.element.style.height=c.height-d+"px";a.size=c};
g.DY=function(a,b){var c=a.B[a.B.length-1];a.B.push(b);CY(a,c,b)};
g.EY=function(a){var b=a.B.pop(),c=a.B[0];a.B=[c];CY(a,b,c,!0)};
CY=function(a,b,c,d){Dua(a);BY(a);g.Jq(c.element,"ytp-panel-animate-back")||g.Jq(c.element,"ytp-panel-animate-forward");b&&(b.unsubscribe("size-change",a.eo,a),b.unsubscribe("back",a.mf,a));c.subscribe("size-change",a.eo,a);c.subscribe("back",a.mf,a);if(a.A){g.S(c.element,d?"ytp-panel-animate-back":"ytp-panel-animate-forward");c.ya(a.element);c.focus();a.element.scrollLeft=0;a.element.scrollTop=0;var e=a.size;Cua(a);g.Ph(a.element,e);a.H=new g.U(g.Da(a.xX,b,c,d),20,a);a.H.start()}else c.ya(a.element),
b&&g.UH(b)};
BY=function(a){return a.B[a.B.length-1]};
Dua=function(a){a.H&&g.Au(a.H);a.G&&g.Au(a.G)};
FY=function(a,b){g.wY.call(this,"Quality",1,a,b);g.S(this.F.element,"ytp-quality-menu");this.T=a;this.H={};this.D="unknown";this.R(a,"videodatachange",this.In);this.R(a,"videoplayerreset",this.In);this.R(a,"onPlaybackQualityChange",this.DD);this.In()};
Eua=function(a,b,c){a=a.H[b];var d=g.sI[b];d=a?a.qualityLabel:d?d+"p":"Auto";c={I:"span",ea:c,P:[]};a&&a.isAccelerated&&a.B&&c.P.push({I:"div",M:"ytp-menuitem-badge-container",P:[{I:"svg",U:{fill:"#00838f",height:"11px",viewBox:"0 0 48 48",width:"11px"},P:[{I:"path",U:{d:"M0 0v48h48V0H0zm10.6 30.64L4 24.05l6.69-6.69 6.6 6.59-6.69 6.69zM24 44l-6.7-6.7 13.35-13.35-13.32-13.28L24 4l20 20-20 20z"}},{I:"path",U:{d:"M 24,44 44,24 24,4 17.33,10.67 30.65,23.95 17.3,37.3 z M 10.6,30.64 17.29,23.95 10.69,17.36 4,24.05 z",
fill:"#fff"}}]}]});c.P.push(d);var e;"highres"==b?e="8K":"hd2880"==b?e="5K":"hd2160"==b?e="4K":0==b.indexOf("hd")&&(e="HD");e&&(c.P.push(" "),c.P.push({I:"sup",M:"ytp-swatch-color",da:e}));return c};
GY=function(a,b,c){g.V.call(this,{I:"button",ea:["ytp-button","ytp-settings-button"],U:{"aria-haspopup":"true","aria-owns":OH(),title:"Settings"},P:[g.zra()]});this.C=c;this.T=a;this.D=!0;this.X("click",this.F);this.R(a,"onPlaybackQualityChange",this.B);this.R(a,"videodatachange",this.B);this.R(a,"webglsettingschanged",this.B);this.R(a,"appresize",this.Vc);g.kf(this,PX(b.Vb(),this.element));this.B();this.Vc(g.VT(a).Ua())};
HY=function(a,b){a.D=!!b;a.Vc(g.VT(a.T).Ua())};
IY=function(a,b){g.wY.call(this,"Speed",4,a,b);this.T=a;this.D=null;this.R(a,"presentingplayerstatechange",this.HD);this.HD()};
JY=function(a){return a.toLocaleString("en-GB",{style:"percent"})};
KY=function(a,b,c,d){var e=new g.uY(b,void 0,"Video Override");g.wY.call(this,d.text||"",a,b,c,"Video Override",function(){return g.DY(c,e)});
g.S(this.element,"ytp-subtitles-options-menu-item");this.L=d.option.toString();a=d.options;this.N=g.ib(a,this.KD,this);this.K=e;g.M(this,this.K);b=new g.YH({I:"div",M:"ytp-menuitemtitle",da:"Allow for a different caption style if specified by the video."},0);g.M(this,b);g.vY(this.K,b,!0);this.H=new g.YH({I:"div",M:"ytp-menuitem",U:{role:"menuitemradio",tabindex:"0"},P:[{I:"div",M:"ytp-menuitem-label",da:"On"}]},-1);g.M(this,this.H);g.vY(this.K,this.H,!0);this.R(this.H.element,"click",g.Da(this.LD,
!0));this.D=new g.YH({I:"div",M:"ytp-menuitem",U:{role:"menuitemradio",tabindex:"0"},P:[{I:"div",M:"ytp-menuitem-label",da:"Off"}]},-2);g.M(this,this.D);g.vY(this.K,this.D,!0);this.R(this.D.element,"click",g.Da(this.LD,!1));g.xY(this,(0,g.I)(a,this.KD))};
MY=function(a,b){g.uY.call(this,a,void 0,"Options");this.B={};for(var c=0;c<g.LY.length;c++){var d=g.LY[c],e=new KY(-c,a,b,d);g.M(this,e);e.subscribe("settingChange",this.C,this);this.B[d.option.toString()]=e;g.vY(this,e,!0)}c=new g.YH(g.ZH(),-g.LY.length,"Reset");g.M(this,c);c.X("click",(0,g.B)(this.C,this,"reset",!0));g.vY(this,c,!0)};
Fua=function(a,b){for(var c in b){var d=a.B[c];if(d){var e=b[c].toString(),f=!!b[c+"Override"];d.B[e]&&(d.Gf(e),d.H.element.setAttribute("aria-checked",!f),d.D.element.setAttribute("aria-checked",f))}}};
NY=function(a,b){g.wY.call(this,"Auto-translate",0,a,b);this.D={}};
OY=function(a,b){var c=new MY(a,b);g.wY.call(this,"Subtitles/CC",3,a,b,"Options",function(){return g.DY(b,c)});
this.T=a;this.D={};this.N=new g.U(g.Da(this.JD,!1),3E3,this);g.M(this,this.N);this.K=new g.V({I:"div",P:[{I:"span",da:"Subtitles/CC"},{I:"span",M:"ytp-menuitem-label-count",da:"{{content}}"}]});g.M(this,this.K);g.XH(this,this.K);this.H=new NY(a,b);g.M(this,this.H);this.H.subscribe("select",this.vR,this);this.L=c;g.M(this,this.L);this.L.subscribe("settingChange",this.uR,this);b.subscribe("show",this.BV,this);this.R(a,"videodatachange",this.Jn);this.R(a,"onApiChange",this.Jn);this.R(a,"onCaptionsTrackListChanged",
this.Jn);this.R(a,"captionschanged",this.Jn);this.Jn()};
PY=function(a){g.AY.call(this,a,"ytp-settings-menu");this.C=a;this.D=new g.uY(a);g.M(this,this.D);this.J=null;this.ha=!1;this.hide();g.DY(this,this.D)};
QY=function(a){if(!a.ha){a.ha=!0;var b=new FY(a.C,a);g.M(a,b);b=new OY(a.C,a);g.M(a,b);b=new sY(a.C,a);g.M(a,b);g.X(a.C).sa&&(b=new IY(a.C,a),g.M(a,b));g.X(a.C).Od&&(b=new zY(a.C,a),g.M(a,b));b=new yY(a.C,a);g.M(a,b);HY(a.J,a.D.Ra.length)}};
g.RY=function(a,b){QY(a);g.vY(a.D,b);HY(a.J,a.D.Ra.length)};
g.SY=function(a,b){a.A&&1>=a.D.Ra.length&&a.hide();g.Aua(a.D,b);HY(a.J,a.D.Ra.length)};
Gua=function(a,b){a.J=b;a.element.id=b.element.getAttribute("aria-owns")};
TY=function(a,b,c){g.V.call(this,{I:"button",M:"ytp-button",U:{title:"Play on TV","aria-haspopup":"true"},da:"{{icon}}"});this.T=a;this.D=c;this.C=null;this.R(a,"onMdxReceiversChange",this.B);this.R(a,"presentingplayerstatechange",this.B);this.R(a,"appresize",this.B);this.B();this.X("click",this.F,this);g.kf(this,PX(b.Vb(),this.element))};
UY=function(a,b){g.V.call(this,{I:"button",ea:["ytp-size-button","ytp-button"],U:{title:"{{title}}"},da:"{{icon}}"});this.B=a;this.F=b.Vb();this.D=null;this.G=new bY;g.M(this,this.G);this.R(a,"sizestylechange",this.C);this.R(a,"fullscreentoggled",this.C);this.R(a,"presentingplayerstatechange",this.C);this.C();this.X("click",this.H);g.kf(this,PX(this.F,this.element))};
VY=function(a,b){g.V.call(this,{I:"button",ea:["ytp-subtitles-button","ytp-button"],U:{"aria-pressed":"{{pressed}}",title:IW(a,"Subtitles/closed captions","c")},P:[Bra()]});this.C=a;this.R(a,"videodatachange",this.B);this.R(a,"appresize",this.B);this.R(a,"onApiChange",this.B);this.R(a,"onCaptionsTrackListChanged",this.B);this.R(a,"captionschanged",this.B);this.B();this.X("click",this.D);g.kf(this,PX(b.Vb(),this.element))};
g.WY=function(a,b){g.V.call(this,{I:"div",ea:["ytp-time-display","notranslate"],P:[{I:"span",M:"ytp-time-current",da:"{{currenttime}}"},{I:"span",M:"ytp-time-separator",da:" / "},{I:"span",M:"ytp-time-duration",da:"{{duration}}"}]});this.B=new g.V({I:"button",ea:["ytp-live-badge","ytp-button"],U:{disabled:"true"},da:"{{content}}"});this.B.Nb("Live");g.M(this,this.B);this.B.ya(this.element);this.F=a;this.N=b.Vb();this.D=null;this.G=!1;this.K=null;this.L=!1;this.J=this.H=null;this.X("click",this.O);
this.R(a,"presentingplayerstatechange",this.C);this.R(a,"appresize",this.C);this.R(a,"videodatachange",this.W);var c=a.getVideoData();c&&Hua(this,c);this.C()};
Hua=function(a,b){a.G=b.Ma;a.L=b.isPremiere;g.T(a.element,"ytp-live",a.G)};
YY=function(a,b,c){g.V.call(this,{I:"div",M:"ytp-volume-panel",U:{role:"slider","aria-valuemin":"0","aria-valuemax":"100","aria-valuenow":"{{valuenow}}","aria-valuetext":"{{valuetext}}",tabindex:"0"},P:[{I:"div",M:"ytp-volume-slider",P:[{I:"div",M:"ytp-volume-slider-handle"}]}]});this.B=a;this.H=b;this.O=c;this.L=!1;this.J=b.nd();this.aa=this.F=0;this.W=this.o["ytp-volume-slider"];this.ba=this.o["ytp-volume-slider-handle"];this.K=new g.XF(this.W,!0);g.M(this,this.K);this.K.subscribe("dragstart",this.KV,
this);this.K.subscribe("dragmove",this.JV,this);this.K.subscribe("dragend",this.IV,this);this.N=null;this.C=this.D=this.G=!1;this.R(a,"onVolumeChange",this.yR);this.R(a,"appresize",this.Vc);this.R(a,"fullscreentoggled",this.wR);this.R(a,"onShowControls",this.Qz);this.R(a,"onHideControls",this.Qz);this.R(this.element,"keydown",this.LV);this.R(this.element,"focus",g.Da(this.MD,!0));this.R(this.element,"blur",g.Da(this.MD,!1));this.Vc(g.VT(a).Ua());XY(this,a.getVolume(),a.isMuted())};
XY=function(a,b,c){var d=Math.floor(b),e=d+"% volume"+(c?" muted":"");c=c?0:b/100;a.updateValue("valuenow",d);a.updateValue("valuetext",e);a.ba.style.left=(a.J?60:40)*c+"px";a.F=b};
ZY=function(a,b,c,d,e){var f=a.D||a.G||a.C||a.L;a.D=b;a.G=c;a.C=d;a.L=e;b=a.D||a.G||a.C||a.L;f!=b&&(b?a.N=a.R(a.element,"wheel",a.xR):(a.Ia(a.N),a.N=null),g.T(a.O,"ytp-volume-slider-active",b))};
$Y=function(a,b){var c=g.X(a),d=lN(c);0==d.indexOf("www.")&&(d=d.substring(4));var e=["ytp-youtube-button","ytp-button","yt-uix-sessionlink"];(c="gaming"==c.playerStyle)&&e.push("ytp-youtube-gaming-button");g.V.call(this,{I:"a",ea:e,U:{href:"{{url}}",target:"_blank",title:g.QU("Watch on $WEBSITE",{WEBSITE:d}),"data-sessionlink":"feature=player-button"},P:[c?g.SU?{I:"div",ea:["ytp-icon","ytp-icon-logo-gaming"]}:{I:"svg",U:{height:"100%",version:"1.1",viewBox:"0 0 122 36",width:"100%"},P:[{I:"path",
Ya:!0,M:"ytp-svg-fill",U:{d:"M 45.32 10 L 45.32 25.81 L 47.39 25.81 L 47.64 24.75 L 47.68 24.75 C 47.87 25.13 48.17 25.43 48.56 25.65 C 48.95 25.87 49.37 25.98 49.84 25.98 C 50.69 25.98 51.32 25.59 51.72 24.81 C 52.12 24.03 52.32 22.81 52.32 21.15 L 52.32 19.39 C 52.34 18.13 52.26 17.15 52.11 16.44 C 51.96 15.74 51.72 15.23 51.38 14.91 C 51.04 14.60 50.57 14.44 49.98 14.44 C 49.52 14.44 49.08 14.57 48.68 14.83 C 48.48 14.96 48.31 15.11 48.15 15.29 C 48.00 15.46 47.86 15.65 47.75 15.86 L 47.74 15.86 L 47.74 10 L 45.32 10 z M 94.83 10.25 C 93.91 10.25 93.48 10.61 93.48 11.81 C 93.48 13.05 93.91 13.35 94.83 13.35 C 95.77 13.35 96.19 13.05 96.19 11.81 C 96.19 10.66 95.78 10.25 94.83 10.25 z M 67.44 10.31 C 64.14 10.31 63.40 12.21 63.40 16.34 L 63.40 20.15 C 63.40 24.06 64.21 26.00 66.56 26.00 C 68.00 26.00 68.86 25.31 69.19 23.91 L 69.55 25.81 L 71.03 25.81 L 71.03 18.25 L 71.03 18.24 L 67.41 18.24 L 67.41 20.19 L 68.82 20.19 L 68.82 21.47 C 68.82 23.38 68.38 24.10 67.34 24.10 C 66.32 24.10 66 23.12 66 20.52 L 66 16.22 C 66 13.11 66.37 12.19 67.35 12.19 C 68.01 12.19 68.40 12.58 68.53 14.02 C 68.57 14.50 68.59 15.10 68.58 15.83 L 70.83 15.68 C 71.14 12.21 70.35 10.31 67.44 10.31 z M 14.06 10.55 L 13.01 15.24 C 12.72 16.61 12.54 17.58 12.46 18.16 L 12.39 18.16 C 12.27 17.35 12.08 16.38 11.83 15.23 L 10.83 10.56 L 8.33 10.56 L 11.18 20.86 L 11.18 25.80 L 13.66 25.80 L 13.66 20.85 L 16.55 10.55 L 14.06 10.55 z M 30.33 10.56 L 30.33 12.58 L 32.83 12.58 L 32.83 25.81 L 35.27 25.81 L 35.27 12.58 L 37.76 12.58 L 37.76 10.56 L 30.33 10.56 z M 113.35 13.31 C 112.35 13.40 111.89 14.17 111.65 15.17 C 111.12 14.68 110.37 14.47 109.41 14.47 C 107.10 14.47 106.06 15.76 106.06 18.80 L 106.06 19.03 C 106.06 21.16 106.61 22.30 107.57 22.85 C 106.66 23.21 106.14 23.92 106.16 24.76 C 106.18 25.61 106.75 26.05 107.51 26.34 C 106.45 26.61 105.76 27.27 105.76 28.40 C 105.76 30.03 107.14 30.96 109.36 30.96 C 111.91 30.96 113.39 29.76 113.39 27.74 C 113.39 23.92 108.06 25.30 108.07 23.82 C 108.07 23.59 108.17 23.34 108.44 23.16 C 108.73 23.23 109.06 23.25 109.41 23.25 C 111.54 23.25 112.74 22.21 112.74 19.01 L 112.74 18.77 C 112.74 17.70 112.60 16.84 112.33 16.19 C 112.42 16.12 112.51 16.05 112.60 15.99 C 112.90 15.82 113.25 15.73 113.66 15.73 L 113.35 13.31 z M 85.40 14.43 C 84.45 14.43 83.64 14.88 83.07 15.71 C 82.99 15.82 82.91 15.95 82.84 16.08 L 82.81 16.08 L 82.58 14.66 L 80.60 14.66 L 80.60 25.81 L 83.11 25.81 L 83.11 16.91 C 83.38 16.45 83.77 16.21 84.21 16.21 C 84.75 16.21 84.99 16.66 84.99 17.57 L 84.99 25.81 L 87.5 25.81 L 87.5 17.39 C 87.5 17.23 87.50 17.08 87.48 16.93 C 87.75 16.45 88.14 16.21 88.58 16.21 C 89.12 16.21 89.36 16.66 89.36 17.57 L 89.36 25.81 L 91.88 25.81 L 91.88 17.39 C 91.88 15.52 91.29 14.42 89.77 14.43 C 88.77 14.43 87.91 14.95 87.33 15.91 C 87.05 14.97 86.45 14.43 85.40 14.43 z M 102.56 14.43 C 101.77 14.43 101.08 14.77 100.56 15.38 C 100.38 15.59 100.22 15.82 100.08 16.08 L 100.03 16.08 L 99.82 14.66 L 97.83 14.66 L 97.83 25.81 L 100.34 25.81 L 100.34 16.91 C 100.61 16.45 100.99 16.21 101.43 16.21 C 101.99 16.21 102.24 16.72 102.24 17.63 L 102.24 25.81 L 104.75 25.81 L 104.75 17.39 C 104.75 15.52 104.12 14.42 102.56 14.43 z M 19.43 14.46 C 18.59 14.46 17.92 14.63 17.41 14.96 C 16.89 15.29 16.50 15.82 16.26 16.55 C 16.02 17.28 15.91 18.23 15.91 19.43 L 15.91 21.06 C 15.91 22.24 16.02 23.20 16.23 23.91 C 16.44 24.62 16.80 25.15 17.30 25.49 C 17.80 25.83 18.49 26 19.39 26 C 20.25 26 20.92 25.83 21.42 25.5 C 21.92 25.17 22.29 24.63 22.51 23.91 C 22.74 23.19 22.85 22.25 22.85 21.06 L 22.85 19.43 C 22.85 18.23 22.73 17.28 22.50 16.56 C 22.27 15.84 21.91 15.31 21.41 14.97 C 20.91 14.63 20.25 14.46 19.43 14.46 z M 56.83 14.47 C 55.59 14.47 54.70 14.84 54.19 15.61 C 53.68 16.38 53.42 17.60 53.42 19.27 L 53.42 21.23 C 53.42 22.86 53.67 24.05 54.17 24.83 C 54.55 25.40 55.13 25.77 55.92 25.91 C 56.18 25.96 56.46 25.99 56.77 25.99 C 57.80 25.99 58.60 25.74 59.16 25.23 C 59.73 24.72 60.01 23.94 60.01 22.91 C 60.01 22.74 60.01 22.61 60 22.51 L 57.83 22.39 C 57.81 23.06 57.74 23.54 57.60 23.83 C 57.46 24.12 57.21 24.27 56.83 24.27 C 56.55 24.27 56.35 24.18 56.22 24.02 C 56.09 23.86 56.00 23.61 55.96 23.25 C 55.92 22.89 55.90 22.36 55.90 21.64 L 55.90 21.08 L 60.07 21.08 L 60.07 19.16 C 60.07 17.99 59.97 17.08 59.78 16.41 C 59.59 15.75 59.28 15.25 58.82 14.93 C 58.36 14.62 57.69 14.47 56.83 14.47 z M 75.83 14.47 C 73.32 14.47 72.24 15.61 72.46 18.32 L 74.66 18.5 C 74.68 16.77 74.93 16.18 75.73 16.18 C 76.44 16.18 76.59 16.72 76.59 18.27 L 76.59 19.08 C 73.41 19.93 72.22 21.31 72.22 23.33 C 72.22 25.15 73.30 26.06 74.68 26.06 C 75.79 26.06 76.46 25.44 76.82 24.46 L 76.85 24.46 L 77.10 25.82 L 79.01 25.82 L 79.01 18.38 C 79.01 15.78 78.18 14.45 75.83 14.47 z M 24.15 14.66 L 24.15 22.99 C 24.15 24.02 24.32 24.77 24.67 25.25 C 25.03 25.74 25.58 25.99 26.32 25.99 C 27.39 25.99 28.19 25.47 28.72 24.44 L 28.76 24.44 L 28.99 25.81 L 30.94 25.81 L 30.94 14.66 L 28.44 14.66 L 28.44 23.51 C 28.34 23.72 28.2 23.89 28 24.02 C 27.8 24.15 27.58 24.23 27.36 24.23 C 27.10 24.23 26.93 24.12 26.82 23.91 C 26.71 23.70 26.66 23.34 26.66 22.84 L 26.66 14.66 L 24.15 14.66 z M 37.01 14.66 L 37.01 22.99 C 37.01 24.02 37.20 24.77 37.55 25.25 C 37.82 25.62 38.19 25.85 38.67 25.94 C 38.83 25.97 39.00 25.99 39.18 25.99 C 40.25 25.99 41.05 25.47 41.58 24.44 L 41.64 24.44 L 41.85 25.81 L 43.82 25.81 L 43.82 14.66 L 41.32 14.66 L 41.32 23.51 C 41.22 23.72 41.06 23.89 40.86 24.02 C 40.66 24.15 40.46 24.23 40.24 24.23 C 39.98 24.23 39.79 24.12 39.68 23.91 C 39.57 23.70 39.52 23.34 39.52 22.84 L 39.52 14.66 L 37.01 14.66 z M 93.63 14.66 L 93.63 25.82 L 96.02 25.82 L 96.02 14.66 L 93.63 14.66 z M 56.83 16.15 C 57.10 16.15 57.28 16.23 57.41 16.38 C 57.53 16.53 57.62 16.79 57.67 17.16 C 57.72 17.53 57.75 18.07 57.75 18.78 L 57.75 19.58 L 55.91 19.58 L 55.91 18.78 C 55.91 18.05 55.93 17.52 55.97 17.16 C 56.01 16.81 56.09 16.55 56.22 16.39 C 56.35 16.23 56.55 16.15 56.83 16.15 z M 19.36 16.18 C 19.72 16.18 19.96 16.37 20.10 16.74 C 20.24 17.11 20.32 17.69 20.32 18.49 L 20.32 21.96 C 20.32 22.78 20.24 23.38 20.10 23.74 C 19.97 24.11 19.72 24.28 19.36 24.28 C 19.01 24.28 18.77 24.10 18.64 23.74 C 18.51 23.38 18.43 22.78 18.43 21.96 L 18.43 18.49 C 18.43 17.69 18.51 17.11 18.65 16.74 C 18.79 16.37 19.02 16.18 19.36 16.18 z M 109.41 16.19 C 110.12 16.19 110.33 16.73 110.33 18.75 L 110.33 19.14 C 110.33 21.14 110.09 21.63 109.41 21.63 C 108.73 21.63 108.46 21.14 108.46 19.14 L 108.46 18.75 C 108.46 16.74 108.70 16.19 109.41 16.19 z M 48.84 16.22 C 49.09 16.22 49.29 16.31 49.43 16.51 C 49.57 16.71 49.68 17.05 49.73 17.52 C 49.78 17.99 49.81 18.68 49.81 19.55 L 49.81 21 L 49.82 21 C 49.82 21.81 49.79 22.45 49.72 22.91 C 49.65 23.37 49.54 23.70 49.38 23.89 C 49.22 24.08 49.01 24.17 48.74 24.17 C 48.53 24.17 48.33 24.12 48.16 24.02 C 47.98 23.92 47.85 23.78 47.74 23.58 L 47.74 17.25 C 47.82 16.95 47.96 16.70 48.17 16.50 C 48.38 16.31 48.60 16.22 48.84 16.22 z M 76.60 20.36 L 76.60 23.60 C 76.36 23.99 75.98 24.30 75.58 24.30 C 74.98 24.30 74.74 23.81 74.74 22.88 C 74.74 21.66 75.29 20.78 76.60 20.36 z M 108.67 26.65 C 110.00 26.90 111.34 27.06 111.30 28.02 C 111.28 28.64 110.64 29.16 109.48 29.16 C 108.33 29.16 107.76 28.59 107.76 27.81 C 107.76 27.27 108.11 26.85 108.67 26.65 z"}}]}:
g.SU?{I:"div",ea:["ytp-icon","ytp-icon-logo"]}:{I:"svg",U:{height:"100%",version:"1.1",viewBox:"0 0 67 36",width:"100%"},P:[{I:"path",Ya:!0,M:"ytp-svg-fill",U:{d:"M 45.09 10 L 45.09 25.82 L 47.16 25.82 L 47.41 24.76 L 47.47 24.76 C 47.66 25.14 47.94 25.44 48.33 25.66 C 48.72 25.88 49.16 25.99 49.63 25.99 C 50.48 25.99 51.1 25.60 51.5 24.82 C 51.9 24.04 52.09 22.82 52.09 21.16 L 52.09 19.40 C 52.12 18.13 52.05 17.15 51.90 16.44 C 51.75 15.74 51.50 15.23 51.16 14.91 C 50.82 14.59 50.34 14.44 49.75 14.44 C 49.29 14.44 48.87 14.57 48.47 14.83 C 48.27 14.96 48.09 15.11 47.93 15.29 C 47.78 15.46 47.64 15.65 47.53 15.86 L 47.51 15.86 L 47.51 10 L 45.09 10 z M 8.10 10.56 L 10.96 20.86 L 10.96 25.82 L 13.42 25.82 L 13.42 20.86 L 16.32 10.56 L 13.83 10.56 L 12.78 15.25 C 12.49 16.62 12.31 17.59 12.23 18.17 L 12.16 18.17 C 12.04 17.35 11.84 16.38 11.59 15.23 L 10.59 10.56 L 8.10 10.56 z M 30.10 10.56 L 30.10 12.58 L 32.59 12.58 L 32.59 25.82 L 35.06 25.82 L 35.06 12.58 L 37.55 12.58 L 37.55 10.56 L 30.10 10.56 z M 19.21 14.46 C 18.37 14.46 17.69 14.63 17.17 14.96 C 16.65 15.29 16.27 15.82 16.03 16.55 C 15.79 17.28 15.67 18.23 15.67 19.43 L 15.67 21.06 C 15.67 22.24 15.79 23.19 16 23.91 C 16.21 24.62 16.57 25.15 17.07 25.49 C 17.58 25.83 18.27 26 19.15 26 C 20.02 26 20.69 25.83 21.19 25.5 C 21.69 25.17 22.06 24.63 22.28 23.91 C 22.51 23.19 22.63 22.25 22.63 21.06 L 22.63 19.43 C 22.63 18.23 22.50 17.28 22.27 16.56 C 22.04 15.84 21.68 15.31 21.18 14.97 C 20.68 14.63 20.03 14.46 19.21 14.46 z M 56.64 14.47 C 55.39 14.47 54.51 14.84 53.99 15.61 C 53.48 16.38 53.22 17.60 53.22 19.27 L 53.22 21.23 C 53.22 22.85 53.47 24.05 53.97 24.83 C 54.34 25.40 54.92 25.77 55.71 25.91 C 55.97 25.96 56.26 25.99 56.57 25.99 C 57.60 25.99 58.40 25.74 58.96 25.23 C 59.53 24.72 59.81 23.94 59.81 22.91 C 59.81 22.74 59.79 22.61 59.78 22.51 L 57.63 22.39 C 57.62 23.06 57.54 23.54 57.40 23.83 C 57.26 24.12 57.01 24.27 56.63 24.27 C 56.35 24.27 56.13 24.18 56.00 24.02 C 55.87 23.86 55.79 23.61 55.75 23.25 C 55.71 22.89 55.68 22.36 55.68 21.64 L 55.68 21.08 L 59.86 21.08 L 59.86 19.16 C 59.86 17.99 59.77 17.08 59.58 16.41 C 59.39 15.75 59.07 15.25 58.61 14.93 C 58.15 14.62 57.50 14.47 56.64 14.47 z M 23.92 14.67 L 23.92 23.00 C 23.92 24.03 24.11 24.79 24.46 25.27 C 24.82 25.76 25.35 26.00 26.09 26.00 C 27.16 26.00 27.97 25.49 28.5 24.46 L 28.55 24.46 L 28.76 25.82 L 30.73 25.82 L 30.73 14.67 L 28.23 14.67 L 28.23 23.52 C 28.13 23.73 27.97 23.90 27.77 24.03 C 27.57 24.16 27.37 24.24 27.15 24.24 C 26.89 24.24 26.70 24.12 26.59 23.91 C 26.48 23.70 26.43 23.35 26.43 22.85 L 26.43 14.67 L 23.92 14.67 z M 36.80 14.67 L 36.80 23.00 C 36.80 24.03 36.98 24.79 37.33 25.27 C 37.60 25.64 37.97 25.87 38.45 25.96 C 38.61 25.99 38.78 26.00 38.97 26.00 C 40.04 26.00 40.83 25.49 41.36 24.46 L 41.41 24.46 L 41.64 25.82 L 43.59 25.82 L 43.59 14.67 L 41.09 14.67 L 41.09 23.52 C 40.99 23.73 40.85 23.90 40.65 24.03 C 40.45 24.16 40.23 24.24 40.01 24.24 C 39.75 24.24 39.58 24.12 39.47 23.91 C 39.36 23.70 39.31 23.35 39.31 22.85 L 39.31 14.67 L 36.80 14.67 z M 56.61 16.15 C 56.88 16.15 57.08 16.23 57.21 16.38 C 57.33 16.53 57.42 16.79 57.47 17.16 C 57.52 17.53 57.53 18.06 57.53 18.78 L 57.53 19.58 L 55.69 19.58 L 55.69 18.78 C 55.69 18.05 55.71 17.52 55.75 17.16 C 55.79 16.81 55.87 16.55 56.00 16.39 C 56.13 16.23 56.32 16.15 56.61 16.15 z M 19.15 16.19 C 19.50 16.19 19.75 16.38 19.89 16.75 C 20.03 17.12 20.09 17.7 20.09 18.5 L 20.09 21.97 C 20.09 22.79 20.03 23.39 19.89 23.75 C 19.75 24.11 19.51 24.29 19.15 24.30 C 18.80 24.30 18.54 24.11 18.41 23.75 C 18.28 23.39 18.22 22.79 18.22 21.97 L 18.22 18.5 C 18.22 17.7 18.28 17.12 18.42 16.75 C 18.56 16.38 18.81 16.19 19.15 16.19 z M 48.63 16.22 C 48.88 16.22 49.08 16.31 49.22 16.51 C 49.36 16.71 49.45 17.05 49.50 17.52 C 49.55 17.99 49.58 18.68 49.58 19.55 L 49.58 21 L 49.59 21 C 49.59 21.81 49.57 22.45 49.5 22.91 C 49.43 23.37 49.32 23.70 49.16 23.89 C 49.00 24.08 48.78 24.17 48.51 24.17 C 48.30 24.17 48.11 24.12 47.94 24.02 C 47.76 23.92 47.62 23.78 47.51 23.58 L 47.51 17.25 C 47.59 16.95 47.75 16.70 47.96 16.50 C 48.17 16.31 48.39 16.22 48.63 16.22 z "}}]}]});
this.B=a;this.D=this.C=!1;rU(a,this.element,this,28666);this.X("click",this.G);this.R(a,"videodatachange",this.F);this.F();g.kf(this,PX(b.Vb(),this.element))};
aZ=function(a,b,c){g.SF.call(this);var d=this,e=g.X(a);this.T=a;this.B=b;this.ba=window.NaN;this.ca=null;this.O=c;this.O.subscribe("autohideupdate",this.lE,this);c=!g.RP(g.UT(a));var f;g.X(a).experiments.o("html5_player_dynamic_bottom_gradient")?this.ga=f=new RX(a):f=new g.V({I:"div",M:"ytp-gradient-bottom"});g.M(this,f);g.nU(a,f.element,8);this.L=new g.YU(f,250,c,100);g.M(this,this.L);this.A=new g.V({I:"div",M:"ytp-chrome-bottom",P:[{I:"div",M:"ytp-chrome-controls"}]});g.M(this,this.A);g.nU(a,this.A.element,
8);this.K=new g.YU(this.A,250,c,100);g.M(this,this.K);this.N=this.A.element.children[0];this.o=new PY(a);g.kf(this.o,function(){a.H==d.o&&(a.H=null)});
g.M(this,this.o);a.H=this.o;g.nU(a,this.o.element,6);this.o.subscribe("show",this.VX,this);this.o.subscribe("show",(0,g.B)(b.jG,b,this.o));this.C=new g.iY(a,b);g.M(this,this.C);this.C.ya(this.A.element,0);e.experiments.o("hide_video_ad_progress_bar_and_ad_count_down")&&(g.S(a.getRootNode(),"ytp-hide-ad-progress-bar-experiment"),e.experiments.o("hide_video_ad_length")&&g.S(a.getRootNode(),"ytp-hide-total-ad-length"));c=new SX(a);g.M(this,c);g.nU(a,c.element,4);c=new g.QH({I:"div",M:"ytp-left-controls"});
g.M(this,c);c.ya(this.N);f=new g.hY(a,b,!1);g.M(this,f);f.ya(c.element);e.H||(f=new g.fY(a,b),g.M(this,f),f.ya(c.element));f=new g.hY(a,b,!0);g.M(this,f);f.ya(c.element);var k=new g.V({I:"span"});g.M(this,k);k.ya(c.element);if(!e.aa&&(this.D=new dY(a,b),g.M(this,this.D),this.D.ya(k.element),e.K)){f=new YY(a,b,this.A.element);g.M(this,f);f.ya(k.element);k=new g.XF(k.element);g.M(this,k);var l=(0,g.B)(f.iG,f,!0);k.subscribe("hoverstart",l);k=new g.XF(c.element);g.M(this,k);f=(0,g.B)(f.iG,f,!1);k.subscribe("hoverend",
f)}this.W=new g.WY(a,b);g.M(this,this.W);this.W.ya(c.element);c=new g.QH({I:"div",M:"ytp-right-controls"});g.M(this,c);c.ya(this.N);this.J=null;e.experiments.o("external_fullscreen_with_edu")&&e.ga&&oN(e)&&(this.J=new VX(a),g.M(this,this.J),this.J.ya(c.element));f=new VY(a,b);g.M(this,f);f.ya(c.element);f=new GY(a,b,this.o);g.M(this,f);Gua(this.o,f);f.ya(c.element);f=new $X(a);g.M(this,f);g.nU(a,f.element,5);f.subscribe("show",(0,g.B)(b.hp,b,f));f=new aY(a,b,f);g.M(this,f);f.ya(c.element);f=a.getVideoData();
if(e.yh||f.isDni&&"1"==e.C)this.F=new $Y(a,b),g.M(this,this.F),this.F.ya(c.element);e.showMiniplayerButton&&(f=new ZX(a,b),g.M(this,f),f.ya(c.element));e.fullWindow||(f=new UY(a,b),g.M(this,f),f.ya(c.element));e.Hb&&(f=new TY(a,b,this.o),g.M(this,f),f.ya(c.element));e.Hg&&(e=new QX(a,b),g.M(this,e),e.ya(c.element));this.aa=new YX(a,b);g.M(this,this.aa);this.aa.ya(c.element);this.G=new g.wu(this.sR,null,this);g.M(this,this.G);this.H=null;this.R(a,"appresize",this.mw);this.R(a,"fullscreentoggled",this.mw);
this.R(a,"presentingplayerstatechange",this.Jx);this.R(a,"videodatachange",this.tR);this.mw()};
Iua=function(a,b){if(g.RP(g.UT(a.T))||b){if(b){a.K.hide();a.L.hide();if(a.D){var c=a.D;c.J=!1;g.tU(c.B,c.element,c.D&&!1)}a.F&&(c=a.F,c.D=!1,g.tU(c.B,c.element,c.C&&!1));a.B.Vb().bk(a.na())}}else b||(a.K.show(),a.L.show(),a.D&&(c=a.D,c.J=!0,g.tU(c.B,c.element,c.D&&!0)),a.F&&(c=a.F,c.D=!0,g.tU(c.B,c.element,c.C&&!0)),a.lE())};
Jua=function(a){var b=g.VT(a.T).Ua().width;return Math.max(b-2*bZ(a),100)};
bZ=function(a){var b=a.B.nd();return 12*(a.T.getVideoData().isDni?0:b?2:1)};
cZ=function(a){var b=g.X(a).experiments.B("mweb_muted_autoplay_animation"),c=[],d=[];"none"!=b&&(c.push("ytp-unmute-animated"),d.push({I:"div",ea:["ytp-unmute-box"]}),"expand"==b?c.push("ytp-unmute-expand"):"shrink"==b&&c.push("ytp-unmute-shrink"));WX.call(this,a,{I:"button",ea:["ytp-unmute","ytp-popup","ytp-button"].concat(c),P:[{I:"div",M:"ytp-unmute-inner",P:[{I:"div",ea:["ytp-unmute-icon"],P:[g.SU?{I:"div",ea:["ytp-icon","ytp-icon-volume-muted-dark"]}:{I:"svg",U:{height:"100%",version:"1.1",viewBox:"0 0 36 36",
width:"100%"},P:[{I:"path",Ya:!0,M:"ytp-svg-fill",U:{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"}}]}]},
{I:"div",ea:["ytp-unmute-text"],da:"Tap to unmute"}].concat(d)}]},100);this.B=a;this.C=this.D=!1;g.X(this.B).experiments.o("muted_autoplay_unmute_interaction_logging_killswitch")||rU(this.B,this.element,this,51663);this.R(a,"mutedautoplaychange",this.G,this);this.R(a,"presentingplayerstatechange",this.H);this.X("click",this.onClick,this);a=a.app.ba;g.VH(this,a);a&&Kua(this)};
Lua=function(a){a.D||(a.D=!0,g.bU(a.B,"mutedAutoplayClick",{}),g.X(a.B).experiments.o("muted_autoplay_unmute_interaction_logging_killswitch")||g.sU(a.B,a.element))};
Kua=function(a){a.C||(a.C=!0,g.bU(a.B,"mutedAutoplayImpression",{}),g.X(a.B).experiments.o("muted_autoplay_unmute_interaction_logging_killswitch")||g.tU(a.B,a.element,!0))};
dZ=function(a){g.SF.call(this);var b=g.X(a),c=g.VT(a);this.api=a;this.Hb=!1;this.J=null;this.Va=!1;this.Qa=new g.U(this.lS,0,this);g.M(this,this.Qa);var d=new BX(a);g.M(this,d);g.nU(a,d.element,4);if(!IE("tizen")&&!bN){var e=new OX(a);g.M(this,e);e=e.element;g.nU(a,e,4)}var f=a.getVideoData();this.A=new AX(c,(0,g.B)(this.KQ,this),f,b.useTabletControls);g.M(this,this.A);this.A.subscribe("autohideupdate",this.Aw,this);var k=new MX(a);g.M(this,k);g.nU(a,k.element,4);this.ha=new cZ(a);g.M(this,this.ha);
g.nU(this.api,this.ha.element,2);this.fb=this.api.app.ba;this.R(a,"mutedautoplaychange",this.LQ);this.ba=new g.U(this.ew,200,this);g.M(this,this.ba);this.wa=f.videoId;this.C=null;this.Ha=!1;this.La=null;this.ka=[];f=a.getRootNode();f.setAttribute("aria-label","YouTube Video Player");switch(b.color){case "white":g.S(f,"ytp-color-white")}!g.X(a).experiments.o("disable_mediasession2")&&"mediaSession"in window.navigator&&!window.navigator.mediaSession.metadata&&window.navigator.mediaSession.setActionHandler&&
(f=new LX(a),g.M(this,f));this.R(a,"appresize",this.bb);this.R(a,"presentingplayerstatechange",this.MU);this.R(a,"videodatachange",this.vD);this.R(a,"videoplayerreset",this.IU);this.R(a,"autonavvisibility",this.Ai,this);this.R(a,"sizestylechange",this.Ai,this);g.X(a).experiments.o("player_minimized_controls_killswitch")&&this.R(a,"minimized",this.Dg,this);this.R(a,"onFrescaStateChange",this.Dg,this);this.R(c,"click",this.pV,this);this.R(c,"dblclick",this.qV,this);b.oa&&(this.R(c,"gesturechange",this.rV,
this),this.R(c,"gestureend",this.sV,this));this.aa=[c.H,d.element];e&&this.aa.push(e)};
eZ=function(a){return g.X(a.api).experiments.o("player_minimized_controls_killswitch")?a.api.app.K.o:!1};
fZ=function(a,b){if(!b)return!1;var c=g.oU(a.api);if(c.Vh()&&(c=c.na())&&g.ae(c,b))return c.controls;for(c=0;c<a.aa.length;c++)if(g.ae(a.aa[c],b))return!1;return g.Jq(b,"ytp-player-content")||g.Jq(b,"html5-endscreen")||b==a.api.getRootNode()?!1:!0};
Mua=function(a){return g.X(a.api).experiments.o("mweb_ios_handle_player_click_by_touch_event")&&2==a.api.Sa()&&g.VT(a.api).J&&g.X(a.api).B&&gZ&&11<=hZ};
Nua=function(a,b){if(!fZ(a,HF(b))&&(a.A.oc(2,!0),g.aV(b)&&!g.X(a.api).H))if(a.kp())g.KF(b);else{var c=g.UT(a.api);g.W(c,2)&&ST(a.api)||a.wD(c);!g.X(a.api).oa||g.RP(c)||g.W(c,1024)?a.ew():a.ba.isActive()?(a.uB(),a.ba.stop()):a.ba.start()}};
Oua=function(a,b){if(g.aV(b)&&a.api.app.ba){a.api.sg();2==a.api.Sa()&&a.api.bd();var c=g.UT(a.api);!g.W(c,4)||g.W(c,8)||g.W(c,2)||a.ew();return!0}return!1};
Pua=function(a,b,c){a.api.isFullscreen()?c<1-b&&a.api.re():c>1+b&&a.api.re()};
Qua=function(a){var b=g.X(a.api),c=g.W(g.UT(a.api),128);return b.o&&c&&!a.api.isFullscreen()&&!XT(a.api)};
g.iZ=function(a){g.V.call(this,{I:"div",M:"ytp-bezel",U:{role:"status","aria-label":"{{label}}"},P:[{I:"div",M:"ytp-bezel-icon",da:"{{icon}}"}]});this.C=new g.U(this.show,10,this);g.M(this,this.C);this.B=new g.U(this.hide,500,this);g.M(this,this.B);this.T=a;this.hide()};
kZ=function(a,b){if(b)g.W(g.UT(a.T),64)||jZ(a,xra(),"Play");else{var c=a.T.getVideoData();c.Ma&&!c.Ki?jZ(a,Ara(),"Stop live playback"):jZ(a,wra(),"Pause")}};
lZ=function(a,b,c){0>=b?(c=XU(),b="muted"):(c=c?Dra():Cra(),b=Math.floor(b)+"% volume");jZ(a,c,b)};
Rua=function(a,b,c){c=c?g.SU?{I:"div",ea:["ytp-icon","ytp-icon-fast-rewind"]}:{I:"svg",U:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},P:[{I:"path",Ya:!0,M:"ytp-svg-fill",U:{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.SU?{I:"div",ea:["ytp-icon","ytp-icon-fast-forward"]}:{I:"svg",U:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},P:[{I:"path",Ya:!0,M:"ytp-svg-fill",U:{d:"M 10,24 18.5,18 10,12 V 24 z M 19,12 V 24 L 27.5,18 19,12 z"}}]};b=g.QU("Speed is $RATE",
{RATE:String(b)});jZ(a,c,b)};
jZ=function(a,b,c){a.updateValue("label",void 0===c?"":c);a.updateValue("icon",b);g.Bu(a.B);a.C.start()};
nZ=function(a,b,c){g.V.call(this,{I:"button",ea:["ytp-button","ytp-cards-button"],U:{"aria-label":"Show cards","aria-owns":"iv-drawer","aria-haspopup":"true","data-tooltip-opaque":String(g.X(a).D)},P:[{I:"span",M:"ytp-cards-button-icon-default",P:[{I:"div",M:"ytp-cards-button-icon",P:[g.SU?{I:"div",ea:["ytp-icon","ytp-icon-info-card"]}:{I:"svg",U:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},P:[{I:"path",Ya:!0,M:"ytp-svg-fill",U:{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"}}]}]},
{I:"div",M:"ytp-cards-button-title",da:"Info"}]},{I:"span",M:"ytp-cards-button-icon-shopping",P:[{I:"div",M:"ytp-cards-button-icon",P:[g.SU?{I:"div",ea:["ytp-icon","ytp-icon-shopping-card"]}:{I:"svg",U:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},P:[{I:"path",M:"ytp-svg-shadow",U:{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"}},{I:"path",M:"ytp-svg-fill",U:{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"}},{I:"path",M:"ytp-svg-shadow-fill",U:{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"}}]}]},{I:"div",
M:"ytp-cards-button-title",da:"Shopping"}]}]});this.T=a;this.D=b;this.F=c;this.B=null;this.C=new g.YU(this,250,!0,100);g.M(this,this.C);a=g.X(this.T);b=g.VT(this.T).Ua().width;b=a.o&&480<b;a.D&&g.T(this.F,"ytp-show-cards-title",b);this.hide();this.X("click",this.G);this.X("mouseover",this.H);mZ(this,!0)};
mZ=function(a,b){b?a.B=PX(a.D.Vb(),a.element):(a.B(),a.B=null)};
oZ=function(a,b){g.V.call(this,{I:"div",M:"ytp-cards-teaser",P:[{I:"div",M:"ytp-cards-teaser-box"},{I:"div",M:"ytp-cards-teaser-text",P:[{I:"span",M:"ytp-cards-teaser-label",da:"{{text}}"}]}]});this.T=a;this.F=new g.YU(this,250,!1,250);g.M(this,this.F);this.H=b;this.B=null;this.K=new g.U(this.nU,300,this);g.M(this,this.K);this.J=new g.U(this.lU,2E3,this);g.M(this,this.J);this.L=new g.wp(null);this.G=[];this.D=this.C=null;this.R(b.element,"mouseover",this.xD);this.R(b.element,"mouseout",this.ni);this.R(a,
"cardsteasershow",this.OV);this.R(a,"cardsteaserhide",this.Hn);this.R(a,"cardstatechange",this.ZG);this.R(a,"presentingplayerstatechange",this.ZG);this.X("click",this.BX);this.X("mouseenter",this.MQ)};
Sua=function(a,b){a.updateValue("text",b.teaserText);a.element.setAttribute("dir",g.xp(a.L,b.teaserText));a.F.show();a.C=new g.U(function(){g.S(this.T.getRootNode(),"ytp-cards-teaser-shown");if(g.X(this.T).D){var a=this.H.element.offsetWidth;a=this.T.isFullscreen()?(a-54)/2+10:(a-36)/2+10;this.element.style.marginRight=a+"px";this.element.style.marginLeft=a+"px"}},0,a);
a.C.start();mZ(a.H,!1);a.B=new g.U(a.Hn,580+b.durationMs,a);a.B.start();a.G.push(a.X("mouseover",a.xD,a));a.G.push(a.X("mouseout",a.ni,a))};
pZ=function(a){var b=g.ZH({"aria-haspopup":"true"});g.YH.call(this,b,a);this.X("keydown",this.B)};
qZ=function(a,b){a.element.setAttribute("aria-haspopup",b)};
rZ=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.Zg("/sharing_services",a);g.TE(d)};
sZ=function(a,b,c,d){g.uY.call(this,a);this.T=a;this.N=c;this.O=d;this.K=new g.YH(g.ZH(),9,"Popout player");g.M(this,this.K);g.vY(this,this.K,!0);this.K.X("click",a.fO,a);rU(a,this.K.element,this.K,59706);this.D=new pZ(8);g.M(this,this.D);g.vY(this,this.D,!0);this.D.X("click",this.tT,this);rU(a,this.D.element,this.D,28659);this.C=new pZ(7);g.M(this,this.C);g.vY(this,this.C,!0);this.C.X("click",this.sT,this);rU(a,this.C.element,this.C,28660);this.B=new pZ(6);g.M(this,this.B);g.vY(this,this.B,!0);this.B.X("click",
this.qT,this);rU(a,this.B.element,this.B,28658);this.F=new g.qY("Loop",5);g.M(this,this.F);g.vY(this,this.F,!0);this.F.X("click",this.QT,this);rU(a,this.F.element,this.F,28661);this.W=new g.YH(g.ZH({href:"{{href}}",target:"_blank"},void 0,!0),4,"Troubleshoot playback issue");g.M(this,this.W);g.vY(this,this.W,!0);this.W.X("click",this.iV,this);this.L=new pZ(3);g.M(this,this.L);g.vY(this,this.L,!0);this.L.X("click",this.pT,this);b=new g.YH(g.ZH(),2,"Stats for nerds");g.M(this,b);g.vY(this,b,!0);b.X("click",
this.FV,this);this.J=new g.WH({I:"div",ea:["ytp-copytext","ytp-no-contextmenu"],U:{draggable:"false",tabindex:"1"},da:"{{text}}"});g.M(this,this.J);this.J.X("click",this.QS,this);this.ha=new tY(a,this.J);g.M(this,this.ha);this.H=null;b=window.document.queryCommandSupported&&window.document.queryCommandSupported("copy");g.JI&&g.qc(43)&&(b=!0);g.rN&&!g.qc(41)&&(b=!1);b&&(this.H=new g.V({I:"textarea",M:"ytp-html5-clipboard",U:{readonly:""}}),g.M(this,this.H),this.H.ya(this.element));this.R(a,"loopchange",
this.PT);this.R(a,"videodatachange",this.QQ);Tua(this);Uua(this,this.T.getVideoData())};
tZ=function(a,b){if(a.H){var c=a.H.element;c.value=b;c.select();try{var d=window.document.execCommand("copy")}catch(e){}}d?a.N.Rb():(a.J.Nb(b,"text"),g.DY(a.N,a.ha),HW(a.J.element),a.H&&(a.H=null,Tua(a)));return d};
Uua=function(a,b){var c=g.X(a.T),d=2!=a.T.Sa()||b.isListed;d=!c.G&&!!b.videoId&&d;if("play"!=c.playerStyle)var e="https://web.archive.org/web/20181027110332/https://support.google.com/youtube/?p=report_playback";else e={contact_type:"playbackissue",html5:1,plid:b.playbackId,ei:b.eventId,v:b.videoId,p:"movies_playback"},b.Ga&&(e.fmt=g.xI(b.Ga)),b.clientPlaybackNonce&&(e.cpn=b.clientPlaybackNonce),b.If&&(e.partnerid=b.If),e=g.Zg("//web.archive.org/web/20181027110332/https://support.google.com/googleplay/",e);g.VH(a.B,d&&b.allowEmbed);g.VH(a.D,d);g.VH(a.C,d&&!b.Ma);a.W.Nb(e,"href");g.VH(a.F,
!b.Ma);g.VH(a.K,b.pipable&&c.experiments.o("web_player_pip")&&(MI()||LI()))};
Tua=function(a){var b=!!a.H;g.XH(a.L,b?"Copy debug info":"Get debug info");qZ(a.L,!b);g.XH(a.B,b?"Copy embed code":"Get embed code");qZ(a.B,!b);g.XH(a.D,b?"Copy video URL":"Get video URL");qZ(a.D,!b);g.XH(a.C,b?"Copy video URL at current time":"Get video URL at current time");qZ(a.C,!b)};
Vua=function(a,b){g.tU(a.T,a.B.element,b);g.tU(a.T,a.D.element,b);g.tU(a.T,a.C.element,b);g.tU(a.T,a.F.element,b)};
uZ=function(a,b,c){g.AY.call(this,a);this.C=a;this.oa=b;this.ha=c;this.D=new g.SF(this);g.M(this,this.D);this.J=null;rU(a,this.element,this,28656);g.S(this.element,"ytp-contextmenu");Wua(this);this.hide()};
Wua=function(a){g.UF(a.D);"gvn"!=g.X(a.C).playerStyle&&a.D.R(g.VT(a.C),"contextmenu",a.PS)};
Xua=function(a){a.C.isFullscreen()?g.nU(a.C,a.element,9):a.ya(window.document.body)};
vZ=function(a,b,c,d,e,f){g.SF.call(this);this.o=a;this.G=c;this.D=d;this.A=e;this.F=f;this.C=new g.U(g.Da(this.AD,!1),1E3,this);g.M(this,this.C);this.B="";a=g.Da(this.lx,!1);this.R(b,"mousedown",a);this.R(c.element,"mousedown",a);this.R(b,"keydown",this.nB);this.R(c.element,"keydown",this.nB);this.R(b,"keyup",this.oB);this.R(c.element,"keyup",this.oB)};
Zua=function(a,b,c){var d=!1,e=g.X(a.o);if(!e.Pd){switch(b){case 80:c&&!e.H&&(jZ(a.A,yra(),"Previous"),a.o.xn(),d=!0);break;case 78:c&&!e.H&&(jZ(a.A,ura(),"Next"),a.o.Yk(),d=!0);break;case 74:a.o.Zc()&&(jZ(a.A,g.SU?{I:"div",ea:["ytp-icon","ytp-icon-rewind-ten-seconds"]}:{I:"svg",U:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},P:[{I:"path",Ya:!0,M:"ytp-svg-fill",U:{d:"M 18,11 V 7 l -5,5 5,5 v -4 c 3.3,0 6,2.7 6,6 0,3.3 -2.7,6 -6,6 -3.3,0 -6,-2.7 -6,-6 h -2 c 0,4.4 3.6,8 8,8 4.4,0 8,-3.6 8,-8 0,-4.4 -3.6,-8 -8,-8 z M 16.9,22 H 16 V 18.7 L 15,19 v -0.7 l 1.8,-0.6 h .1 V 22 z m 4.3,-1.8 c 0,.3 0,.6 -0.1,.8 l -0.3,.6 c 0,0 -0.3,.3 -0.5,.3 -0.2,0 -0.4,.1 -0.6,.1 -0.2,0 -0.4,0 -0.6,-0.1 -0.2,-0.1 -0.3,-0.2 -0.5,-0.3 -0.2,-0.1 -0.2,-0.3 -0.3,-0.6 -0.1,-0.3 -0.1,-0.5 -0.1,-0.8 v -0.7 c 0,-0.3 0,-0.6 .1,-0.8 l .3,-0.6 c 0,0 .3,-0.3 .5,-0.3 .2,0 .4,-0.1 .6,-0.1 .2,0 .4,0 .6,.1 .2,.1 .3,.2 .5,.3 .2,.1 .2,.3 .3,.6 .1,.3 .1,.5 .1,.8 v .7 z m -0.9,-0.8 v -0.5 c 0,0 -0.1,-0.2 -0.1,-0.3 0,-0.1 -0.1,-0.1 -0.2,-0.2 -0.1,-0.1 -0.2,-0.1 -0.3,-0.1 -0.1,0 -0.2,0 -0.3,.1 l -0.2,.2 c 0,0 -0.1,.2 -0.1,.3 v 2 c 0,0 .1,.2 .1,.3 0,.1 .1,.1 .2,.2 .1,.1 .2,.1 .3,.1 .1,0 .2,0 .3,-0.1 l .2,-0.2 c 0,0 .1,-0.2 .1,-0.3 v -1.5 z"}}]}),
a.o.Ge(-10*a.o.Pc()),d=!0);break;case 76:a.o.Zc()&&(jZ(a.A,g.SU?{I:"div",ea:["ytp-icon","ytp-icon-forward-ten-seconds"]}:{I:"svg",U:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},P:[{I:"path",Ya:!0,M:"ytp-svg-fill",U:{d:"m 10,19 c 0,4.4 3.6,8 8,8 4.4,0 8,-3.6 8,-8 h -2 c 0,3.3 -2.7,6 -6,6 -3.3,0 -6,-2.7 -6,-6 0,-3.3 2.7,-6 6,-6 v 4 l 5,-5 -5,-5 v 4 c -4.4,0 -8,3.6 -8,8 z m 6.8,3 H 16 V 18.7 L 15,19 v -0.7 l 1.8,-0.6 h .1 V 22 z m 4.3,-1.8 c 0,.3 0,.6 -0.1,.8 l -0.3,.6 c 0,0 -0.3,.3 -0.5,.3 C 20,21.9 19.8,22 19.6,22 19.4,22 19.2,22 19,21.9 18.8,21.8 18.7,21.7 18.5,21.6 18.3,21.5 18.3,21.3 18.2,21 18.1,20.7 18.1,20.5 18.1,20.2 v -0.7 c 0,-0.3 0,-0.6 .1,-0.8 l .3,-0.6 c 0,0 .3,-0.3 .5,-0.3 .2,0 .4,-0.1 .6,-0.1 .2,0 .4,0 .6,.1 .2,.1 .3,.2 .5,.3 .2,.1 .2,.3 .3,.6 .1,.3 .1,.5 .1,.8 v .7 z m -0.8,-0.8 v -0.5 c 0,0 -0.1,-0.2 -0.1,-0.3 0,-0.1 -0.1,-0.1 -0.2,-0.2 -0.1,-0.1 -0.2,-0.1 -0.3,-0.1 -0.1,0 -0.2,0 -0.3,.1 l -0.2,.2 c 0,0 -0.1,.2 -0.1,.3 v 2 c 0,0 .1,.2 .1,.3 0,.1 .1,.1 .2,.2 .1,.1 .2,.1 .3,.1 .1,0 .2,0 .3,-0.1 l .2,-0.2 c 0,0 .1,-0.2 .1,-0.3 v -1.5 z"}}]}),
a.o.Ge(10*a.o.Pc()),d=!0);break;case 77:a.o.isMuted()?(a.o.sg(),lZ(a.A,a.o.getVolume(),!1)):(a.o.mute(),lZ(a.A,0,!0));d=!0;break;case 75:e.H||(d=!QP(g.UT(a.o)),kZ(a.A,d),d?a.o.bd():a.o.od(),d=!0);break;case 190:if(c){if(e.sa)for(b=a.o.Wk(),c=a.o.Pc(),e=0;e<b.length-1;e++)b[e]==c&&(d=b[e+1],a.o.jf(d,!0),Rua(a.A,d,!1),d=!0)}else a.o.Zc()&&(Yua(a,1),d=!0);break;case 188:if(c){if(e.sa)for(b=a.o.Wk(),c=a.o.Pc(),e=b.length-1;1<=e;e--)b[e]==c&&(d=b[e-1],a.o.jf(d,!0),Rua(a.A,d,!0),d=!0)}else a.o.Zc()&&(Yua(a,
-1),d=!0);break;case 70:Vsa(a.o)&&(a.o.re(),d=!0)}d&&a.D.oc(2,!0)}return d};
wZ=function(a,b,c,d){var e=g.PT(a.o).dc;if(!e||!e.loaded)return!1;e=a.o.wj();for(var f,k=0;k<g.LY.length;k++){var l=g.LY[k];if(l.option==b){f=l.options;break}}var m;for(k=0;k<f.length;k++)f[k].option==e[b]&&(m=k);if(d)if(c){if(0==m)return!1}else if(m==f.length-1)return!1;d={};d[b]=f[(m+(c?f.length-1:1))%f.length].option;a.o.zq(d);a.AD(!0);a.C.start();return!0};
Yua=function(a,b){a.o.Zc();if(g.W(g.UT(a.o),4)){var c=a.o.getVideoData().Ga;c&&(c=c.video)&&a.o.Ge(b/(c.fps||30))}};
xZ=function(a,b){g.V.call(this,{I:"div",M:"ytp-pause-overlay"});this.B=a;this.ga=b;this.D=new g.SF(this);g.M(this,this.D);this.W=new g.YU(this,1E3,!1,100);g.M(this,this.W);var c=g.X(a);"0"==c.C&&g.S(a.getRootNode(),"ytp-pause-overlay-controls-hidden");this.G=[];this.C=[];this.H=0;this.ha=c.o;this.ba=!1;this.oa=0;this.O=new g.V({I:"h2",M:"ytp-related-title",da:"{{title}}"});g.M(this,this.O);this.O.ya(this.element);this.J=new g.V({I:"div",M:"ytp-suggestions"});g.M(this,this.J);this.J.ya(this.element);
this.N=new g.V({I:"button",ea:["ytp-button","ytp-previous"],U:{"aria-label":"Previous"},P:[g.TU()]});g.M(this,this.N);this.N.ya(this.element);this.N.X("click",this.YQ,this);c=g.JI||g.qf?{style:"will-change: opacity"}:null;this.ia=new DX((0,g.B)(this.BD,this));g.M(this,this.ia);for(var d=this.ka=this.aa=this.F=0;16>d;d++){var e=new g.V({I:"a",M:"ytp-suggestion-link",U:{href:"{{link}}",target:"_blank","aria-label":"{{aria_label}}"},P:[{I:"div",M:"ytp-suggestion-image"},{I:"div",M:"ytp-suggestion-overlay",
U:c,P:[{I:"div",M:"ytp-suggestion-title",da:"{{title}}"},{I:"div",M:"ytp-suggestion-author",da:"{{author_and_views}}"},{I:"div",M:"ytp-suggestion-duration",da:"{{duration}}"}]}]});g.M(this,e);e.ya(this.J.element);var f=e.o["ytp-suggestion-link"];g.xh(f,"transitionDelay",d/20+"s");this.D.R(f,"click",g.Da(this.ZQ,d));this.G.push(e)}this.L=new g.V({I:"button",ea:["ytp-button","ytp-next"],U:{"aria-label":"Next"},P:[g.UU()]});g.M(this,this.L);this.L.ya(this.element);this.L.X("click",this.XQ,this);c=new g.V({I:"button",
ea:["ytp-button","ytp-collapse"],U:{"aria-label":"Close"},P:[g.SU?{I:"div",ea:["ytp-icon","ytp-icon-small-close"]}:{I:"svg",U:{height:"100%",viewBox:"0 0 16 16",width:"100%"},P:[{I:"path",U:{d:"M13 4L12 3 8 7 4 3 3 4 7 8 3 12 4 13 8 9 12 13 13 12 9 8z",fill:"#fff"}}]}]});g.M(this,c);c.ya(this.element);c.X("click",this.AS,this);this.K=new g.V({I:"button",ea:["ytp-button","ytp-expand"],da:"More videos"});g.M(this,this.K);this.K.ya(this.element);this.K.X("click",this.CS,this);this.D.R(this.B,"appresize",
this.hw);this.D.R(this.B,"fullscreentoggled",this.aR);this.D.R(this.B,"presentingplayerstatechange",this.bR);this.D.R(this.B,"videodatachange",this.cR);this.hw(g.VT(this.B).Ua())};
$ua=function(a,b){var c=g.ld(b,a.H-a.C.length*(a.aa+8),0);a.ia.start(a.F,c,1E3);a.F=c;yZ(a)};
yZ=function(a){var b=a.ga.nd();b=a.ka/2+(b?32:16);a.L.element.style.bottom=b+"px";a.N.element.style.bottom=b+"px";b=a.F;var c=a.H-a.C.length*(a.aa+8);g.T(a.element,"ytp-scroll-min",0<=b);g.T(a.element,"ytp-scroll-max",b<=c)};
bva=function(a){for(var b=0;b<a.C.length;b++){var c=a.C[b].ab(),d=a.G[b],e=c.shortViewCount?c.author+" \u2022 "+c.shortViewCount:c.author;d.element.style.display="";ava.test(c.title)&&(d.o["ytp-suggestion-title"].dir="rtl");ava.test(e)&&(d.o["ytp-suggestion-author"].dir="rtl");d.update({author_and_views:e,duration:c.lengthSeconds?g.$U(c.lengthSeconds):"",link:c.Lm(),title:c.title,aria_label:c.Vl||null});d=d.o["ytp-suggestion-image"];c=c.kd();d.style.backgroundImage=c?"url("+c+")":""}for(;b<a.G.length;b++)a.G[b].element.style.display=
"none";yZ(a)};
zZ=function(a,b,c){var d=b.ab(c),e=g.X(a),f=d.kd("default.jpg");g.V.call(this,{I:"a",ea:["ytp-video-menu-item","ytp-button"],U:{role:"menuitemradio","aria-label":d.title,href:e.getVideoUrl(d.videoId,b.listId?b.listId.toString():null)},P:[{I:"div",M:"ytp-video-menu-item-index",da:String(c+1)},{I:"div",M:"ytp-video-menu-item-now-playing",da:"\u25b6"},{I:"div",M:"ytp-video-menu-item-thumbnail",U:{style:f?"background-image: url("+f+");":null}},{I:"div",M:"ytp-video-menu-item-title",da:d.title},{I:"div",
M:"ytp-video-menu-item-author",da:d.author}]});this.B=a;this.Gb=c;this.X("click",this.C)};
AZ=function(a){var b=!1,c=g.X(a);if(c.experiments.o("embed_enable_playlist_ui")&&c.D){b=!0;var d=250}WX.call(this,a,{I:"div",M:"ytp-playlist-menu",U:{role:"dialog",id:OH()},P:[{I:"div",M:"ytp-playlist-menu-header",P:[{I:"div",M:"ytp-playlist-menu-title",P:[{I:"a",M:"ytp-playlist-menu-title-name",U:{href:"{{playlisturl}}"},da:"{{title}}"},{I:"button",ea:["ytp-playlist-menu-close","ytp-button"],U:{"aria-label":"Close"},P:[g.VU()]}]},{I:"div",M:"ytp-playlist-menu-subtitle",da:"{{subtitle}}"}]},{I:"div",
M:"ytp-playlist-menu-items",U:{role:"menu"}}]},250,!1,b,d);this.R(this.o["ytp-playlist-menu-close"],"click",this.Rb);this.R(this.o["ytp-playlist-menu-title-name"],"click",this.QV);this.C=a;this.D=this.J=this.B=null;this.Ra=this.o["ytp-playlist-menu-items"];this.H=new g.SF(this);g.M(this,this.H);this.G=[];this.hide()};
cva=function(a,b){if(a.B!=b)if(a.B&&a.B.unsubscribe("shuffle",a.lr,a),a.B=b,a.J=null,b){b.subscribe("shuffle",a.lr,a);var c=b.author,d=c?"by $AUTHOR \u2022 $CURRENT_POSITION/$PLAYLIST_LENGTH":"$CURRENT_POSITION/$PLAYLIST_LENGTH",e={CURRENT_POSITION:String(b.Be()+1),PLAYLIST_LENGTH:String(b.getLength())};c&&(e.AUTHOR=c);a.update({title:b.title,subtitle:g.QU(d,e),playlisturl:a.C.getVideoUrl(!0)});a.lr()}else a.A&&a.hide();else a.B&&a.lr()};
BZ=function(a,b,c){g.V.call(this,{I:"button",ea:["ytp-playlist-menu-button","ytp-button"],U:{title:"{{title}}","aria-owns":String(c.element.id),"aria-haspopup":"true","aria-label":"Playlist"},P:[{I:"div",M:"ytp-playlist-menu-button-icon",P:[g.SU?{I:"div",ea:["ytp-icon","ytp-icon-playlist"]}:{I:"svg",U:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},P:[{I:"path",Ya:!0,U:{d:"m 22.53,21.42 0,6.85 5.66,-3.42 -5.66,-3.42 0,0 z m -11.33,0 9.06,0 0,2.28 -9.06,0 0,-2.28 0,0 z m 0,-9.14 13.6,0 0,2.28 -13.6,0 0,-2.28 0,0 z m 0,4.57 13.6,0 0,2.28 -13.6,0 0,-2.28 0,0 z",
fill:"#fff"}}]}]},{I:"div",M:"ytp-playlist-menu-button-text",da:"{{text}}"}]});this.D=a;this.B=null;this.F=b.Vb();this.R(a,"videodatachange",this.G);this.R(a,"onPlaylistUpdate",this.G);this.R(a,"presentingplayerstatechange",this.C);this.R(a,"appresize",this.C);this.hide();this.G();g.kf(this,PX(this.F,this.element));this.X("click",(0,g.B)(c.yi,c,this.element,!1))};
CZ=function(a,b){g.V.call(this,{I:"button",ea:["ytp-replay-button","ytp-button"],U:{title:"Replay"},P:[g.WU()]});this.B=a;this.R(a,"presentingplayerstatechange",this.D);this.X("click",this.C,this);var c=g.UT(a);g.VH(this,g.W(c,2));PX(b.Vb(),this.element)};
DZ=function(a,b){var c=OH();c={I:"div",M:"ytp-share-panel",U:{id:OH(),role:"dialog","aria-labelledby":c},P:[{I:"div",M:"ytp-share-panel-inner-content",P:[{I:"div",M:"ytp-share-panel-title",U:{id:c},da:"Share"},{I:"a",ea:["ytp-share-panel-link","ytp-no-contextmenu"],U:{href:"{{link}}",target:"_blank",title:"Share link","aria-label":"{{shareLinkWithUrl}}"},da:"{{linkText}}"},{I:"label",M:"ytp-share-panel-include-playlist",P:[{I:"input",M:"ytp-share-panel-include-playlist-checkbox",U:{type:"checkbox",
checked:!0}},"Include playlist"]},{I:"div",M:"ytp-share-panel-loading-spinner",P:[FW()]},{I:"div",M:"ytp-share-panel-service-buttons",da:"{{buttons}}"},{I:"div",M:"ytp-share-panel-error",da:"An error occurred while retrieving sharing information. Please try again later."}]},{I:"button",ea:["ytp-share-panel-close","ytp-button"],U:{title:"Close"},P:[g.VU()]}]};WX.call(this,a,c,250);this.B=a;this.C=b.Vb();this.D=[];this.O=this.o["ytp-share-panel-inner-content"];this.H=this.o["ytp-share-panel-close"];
this.R(this.H,"click",this.Rb);g.kf(this,PX(this.C,this.H));this.J=this.o["ytp-share-panel-include-playlist-checkbox"];this.R(this.J,"click",this.GD);this.G=this.o["ytp-share-panel-link"];g.kf(this,PX(this.C,this.G));this.X("click",this.AU);this.R(a,"videoplayerreset",this.hide);this.R(a,"fullscreentoggled",this.mR);this.hide()};
dva=function(a){switch(a){case "facebook":return g.SU?{I:"div",ea:["ytp-icon","ytp-icon-share-facebook"]}:{I:"svg",U:{height:"100%",version:"1.1",viewBox:"0 0 38 38",width:"100%"},P:[{I:"rect",U:{fill:"#fff",height:"34",width:"34",x:"2",y:"2"}},{I:"path",U:{d:"M 34.2,0 3.8,0 C 1.70,0 .01,1.70 .01,3.8 L 0,34.2 C 0,36.29 1.70,38 3.8,38 l 30.4,0 C 36.29,38 38,36.29 38,34.2 L 38,3.8 C 38,1.70 36.29,0 34.2,0 l 0,0 z m -1.9,3.8 0,5.7 -3.8,0 c -1.04,0 -1.9,.84 -1.9,1.9 l 0,3.8 5.7,0 0,5.7 -5.7,0 0,13.3 -5.7,0 0,-13.3 -3.8,0 0,-5.7 3.8,0 0,-4.75 c 0,-3.67 2.97,-6.65 6.65,-6.65 l 4.75,0 z",
fill:"#39579b"}}]};case "googleplus":return g.SU?{I:"div",ea:["ytp-icon","ytp-icon-share-googleplus"]}:{I:"svg",U:{height:"100%",version:"1.0",viewBox:"0 0 38 38",width:"100%"},P:[{I:"rect",U:{fill:"#fff",height:"34",width:"34",x:"2",y:"2"}},{I:"path",U:{d:"M34.3,0H3.7C1.7,0,0,1.7,0,3.7v30.5c0,2,1.7,3.7,3.7,3.7h30.5c2,0,3.7-1.7,3.7-3.7V3.7C38,1.7,36.3,0,34.3,0z M13.3,28.5c-5.2,0-9.5-4.3-9.5-9.5c0-5.2,4.3-9.5,9.5-9.5c2.6,0,4.7,.9,6.4,2.5l-2.7,2.7c-1-0.9-2.2-1.4-3.6-1.4 c-3.1,0-5.6,2.6-5.6,5.7s2.5,5.7,5.6,5.7c2.8,0,4.7-1.6,5.1-3.8h-5.1v-3.6h8.9c0.1,.6,.2,1.3,.2,2C22.4,24.6,18.8,28.5,13.3,28.5 z M34.2,19.6H31v3.2h-2.2v-3.2h-3.2v-2.2h3.2v-3.2H31v3.2h3.2V19.6z",
fill:"#dc4537"}}]};case "twitter":return g.SU?{I:"div",ea:["ytp-icon","ytp-icon-share-twitter"]}:{I:"svg",U:{height:"100%",version:"1.1",viewBox:"0 0 38 38",width:"100%"},P:[{I:"rect",U:{fill:"#fff",height:"34",width:"34",x:"2",y:"2"}},{I:"path",U:{d:"M 34.2,0 3.8,0 C 1.70,0 .01,1.70 .01,3.8 L 0,34.2 C 0,36.29 1.70,38 3.8,38 l 30.4,0 C 36.29,38 38,36.29 38,34.2 L 38,3.8 C 38,1.70 36.29,0 34.2,0 l 0,0 z M 29.84,13.92 C 29.72,22.70 24.12,28.71 15.74,29.08 12.28,29.24 9.78,28.12 7.6,26.75 c 2.55,.40 5.71,-0.60 7.41,-2.06 -2.50,-0.24 -3.98,-1.52 -4.68,-3.56 .72,.12 1.48,.09 2.17,-0.05 -2.26,-0.76 -3.86,-2.15 -3.95,-5.07 .63,.28 1.29,.56 2.17,.60 C 9.03,15.64 7.79,12.13 9.21,9.80 c 2.50,2.75 5.52,4.99 10.47,5.30 -1.24,-5.31 5.81,-8.19 8.74,-4.62 1.24,-0.23 2.26,-0.71 3.23,-1.22 -0.39,1.23 -1.17,2.09 -2.11,2.79 1.03,-0.14 1.95,-0.38 2.73,-0.77 -0.47,.99 -1.53,1.9 -2.45,2.66 l 0,0 z",
fill:"#01abf0"}}]};default:return null}};
eva=function(a){for(var b=g.q(a.D),c=b.next();!c.done;c=b.next())c=c.value,g.UH(c),g.lf(c);a.D=[]};
EZ=function(a,b,c,d){g.V.call(this,{I:"button",ea:["ytp-button","ytp-share-button"],U:{title:"Share","aria-haspopup":"true","aria-owns":c.element.id,"data-tooltip-opaque":String(g.X(a).D)},P:[{I:"div",M:"ytp-share-icon",P:[g.SU?{I:"div",ea:["ytp-icon","ytp-icon-sharrow"]}:{I:"svg",U:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},P:[{I:"path",Ya:!0,M:"ytp-svg-fill",U:{d:"m 20.20,14.19 0,-4.45 7.79,7.79 -7.79,7.79 0,-4.56 C 16.27,20.69 12.10,21.81 9.34,24.76 8.80,25.13 7.60,27.29 8.12,25.65 9.08,21.32 11.80,17.18 15.98,15.38 c 1.33,-0.60 2.76,-0.98 4.21,-1.19 z"}}]}]},
{I:"div",M:"ytp-share-title",da:"{{share}}"}]});this.B=a;this.D=d;this.J=c;this.G=this.C=!1;rU(a,this.element,this,28664);this.X("click",this.H);this.R(a,"videodatachange",this.F);this.R(a,"appresize",this.F);this.F();g.kf(this,PX(b.Vb(),this.element))};
FZ=function(a){WX.call(this,a,{I:"button",ea:["ytp-skip-intro-button","ytp-popup","ytp-button"],P:[{I:"div",M:"ytp-skip-intro-button-text",da:"Skip Intro"}]},100);var b=this;this.B=a;this.H=!1;this.G=new g.U(function(){return b.hide()},5E3);
g.M(this,this.G);this.C=this.D=window.NaN;this.W=function(){return b.show()};
this.O=function(){return b.hide()};
this.J=this.ha.bind(this);this.R(this.B,"videodatachange",function(a,d){if("dataloaded"==a)if(b.D=d.QB,b.C=d.PB,(0,window.isNaN)(b.D)||(0,window.isNaN)(b.C))b.H&&(g.lU(b.B,"intro"),b.B.removeEventListener("crn_intro",b.W),b.B.removeEventListener("crx_intro",b.O),b.B.removeEventListener("onShowControls",b.J),b.hide(),b.H=!1);else{b.B.addEventListener("crn_intro",b.W);b.B.addEventListener("crx_intro",b.O);b.B.addEventListener("onShowControls",b.J);var c=new g.nQ(b.D,b.C,{priority:7,namespace:"intro"});
g.hU(b.B,[c]);b.H=!0}});
this.R(this.element,"click",function(){b.B.kc(b.C/1E3)});
this.hide()};
GZ=function(a,b){g.V.call(this,{I:"button",ea:["ytp-button","ytp-title-notifications"],U:{"aria-pressed":"{{pressed}}"},P:[{I:"div",M:"ytp-title-notifications-on",U:{title:"Stop receiving notifications about every new video","aria-label":"Notify subscriptions"},P:[g.vra()]},{I:"div",M:"ytp-title-notifications-off",U:{title:"Receive notifications about every new video","aria-label":"Notify subscriptions"},P:[g.SU?{I:"div",ea:["ytp-icon","ytp-icon-notifications-inactive"]}:{I:"svg",U:{fill:"#fff",height:"24px",
viewBox:"0 0 24 24",width:"24px"},P:[{I:"path",U:{d:"M18 11c0-3.07-1.64-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.63 5.36 6 7.92 6 11v5l-2 2v1h16v-1l-2-2v-5zm-6 11c.14 0 .27-.01.4-.04.65-.14 1.18-.58 1.44-1.18.1-.24.15-.5.15-.78h-4c.01 1.1.9 2 2.01 2z"}}]}]}]});this.C=a;rU(a,this.element,this,36927);this.D=b;this.B=!1;this.X("click",this.F,this);this.updateValue("pressed",!1)};
fva=function(a,b){a.B=b;a.element.classList.toggle("ytp-notifications-enabled",a.B);g.DE("/subscription_ajax?action_update_subscription_preferences=1",{method:"POST",Tb:{channel_id:a.D,receive_all_updates:!a.B}})};
gva=function(a,b,c){return b?a.baseYtUrl+"subscription_ajax":c?"/subscription_service":""};
g.HZ=function(a,b,c,d,e,f,k,l,m,n,p,r){f&&(a=a.charAt(0)+a.substring(1).toLowerCase(),c=c.charAt(0)+c.substring(1).toLowerCase());if("0"===b||"-1"===b)b=null;if("0"===d||"-1"===d)d=null;if(p){c=g.X(r);p={href:p,"aria-label":"Subscribe to channel"};if(g.ZM(c)||g.aN(c))p.target="_blank";g.V.call(this,{I:"div",ea:["ytp-button","ytp-sb"],P:[{I:"a",M:"ytp-sb-subscribe",U:p,P:[{I:"div",M:"ytp-sb-text",P:[{I:"div",M:"ytp-sb-icon"},a]},b?{I:"div",M:"ytp-sb-count",da:b}:""]}]});f&&g.S(this.element,"ytp-sb-classic")}else{g.V.call(this,
{I:"div",ea:["ytp-button","ytp-sb"],P:[{I:"div",M:"ytp-sb-subscribe",U:{"aria-label":"Subscribe to channel"},P:[{I:"div",M:"ytp-sb-text",P:[{I:"div",M:"ytp-sb-icon"},a]},b?{I:"div",M:"ytp-sb-count",da:b}:""]},{I:"div",M:"ytp-sb-unsubscribe",U:{"aria-label":"Unsubscribe from channel"},P:[{I:"div",M:"ytp-sb-text",P:[{I:"div",M:"ytp-sb-icon"},c]},d?{I:"div",M:"ytp-sb-count",da:d}:""]}]});var v=this;this.B=k;this.T=r;var z=this.o["ytp-sb-subscribe"],E=this.o["ytp-sb-unsubscribe"];f&&g.S(this.element,
"ytp-sb-classic");if(e){l&&g.S(this.element,"ytp-sb-subscribed");var J=null;"gaming"==g.X(r).playerStyle&&(J="gaming_channels");var N=function(){if(m||n){var a=v.B;g.DE(gva(g.X(r),!!m,!!n),m?{method:"POST",gd:{action_create_subscription_to_channel:1,c:a},Tb:{feature:m,silo_name:J},withCredentials:!0}:n?{method:"POST",gd:{action_subscribe:1},Tb:{channel_ids:a,itct:n}}:{});r.za("SUBSCRIBE")}E.focus();E.removeAttribute("aria-hidden");z.setAttribute("aria-hidden",!0)},ca=function(){if(m||n){var a=v.B;
g.DE(gva(g.X(r),!!m,!!n),m?{method:"POST",gd:{action_remove_subscriptions:1},Tb:{c:a,silo_name:J,feature:m},withCredentials:!0}:n?{method:"POST",gd:{action_unsubscribe:1},Tb:{channel_ids:a,itct:n}}:{});r.za("UNSUBSCRIBE")}z.focus();z.removeAttribute("aria-hidden");E.setAttribute("aria-hidden",!0)};
this.R(z,"click",N);this.R(E,"click",ca);this.R(z,"keypress",function(a){13==a.keyCode&&N(a)});
this.R(E,"keypress",function(a){13==a.keyCode&&ca(a)});
this.R(r,"SUBSCRIBE",this.C);this.R(r,"UNSUBSCRIBE",this.D)}else g.S(z,"ytp-sb-disabled"),g.S(E,"ytp-sb-disabled")}};
g.iva=function(a,b,c,d,e,f){b=hva(b,c,f);d=d||375;e=e||440;if(b=window.open(b,"loginPopup","width="+d+",height="+e+",resizable=yes,scrollbars=yes",!0))c=g.fG("LOGGED_IN",function(b){g.gG(g.fE("LOGGED_IN_PUBSUB_KEY",void 0));g.eE("LOGGED_IN",!0);a(b)}),g.eE("LOGGED_IN_PUBSUB_KEY",c),b.moveTo((window.screen.width-d)/2,(window.screen.height-e)/2)};
hva=function(a,b,c){var d="/signin?context=popup";c&&(d=window.document.location.protocol+"//"+c+d);c=window.document.location.protocol+"//"+window.document.domain+"/post_login";a&&(c=Yg(c,"mode",a));a=Yg(d,"next",c);b&&(a=Yg(a,"feature",b));return a};
IZ=function(a,b){b=void 0===b?!1:b;g.V.call(this,{I:"div",M:"ytp-title-channel",P:[{I:"div",M:"ytp-title-beacon"},{I:"a",M:"ytp-title-channel-logo",U:{href:"{{channelLink}}",target:"_blank","aria-label":"{{channelLogoLabel}}"}},{I:"div",M:"ytp-title-expanded-overlay",P:[{I:"div",M:"ytp-title-expanded-heading",P:[{I:"h2",M:"ytp-title-expanded-title",P:[{I:"a",da:"{{expandedTitle}}"}]},{I:"h3",M:"ytp-title-expanded-subtitle",da:"{{expandedSubtitle}}"}]}]}]});this.B=a;this.C=this.o["ytp-title-channel"];
this.D=this.o["ytp-title-channel-logo"];this.J=this.o["ytp-title-expanded-overlay"];this.G=this.H=this.F=null;this.N=b;rU(a,this.D,this,36925);this.N&&jva(this)};
jva=function(a){var b=g.X(a.B).jd?null:hva(),c=a.B.getVideoData(),d=new g.HZ("Subscribe",null,"Subscribed",null,!0,!1,c.Il,c.subscribed,"channel_avatar",null,b,a.B);a.F=d;g.M(a,d);d.ya(a.J);rU(a.B,d.element,a,36926);d.hide();var e=new GZ(a.B,c.Il);a.H=e;g.M(a,e);e.ya(a.J);e.hide();a.R(a.B,"SUBSCRIBE",function(){e.show()});
a.R(a.B,"UNSUBSCRIBE",function(){e.hide();fva(e,!1)});
g.X(a.B).B?a.R(a.D,"click",function(b){b.preventDefault();a.C.classList.contains("ytp-title-expanded")?a.K():a.L();g.sU(a.B,a.D)}):(a.R(a.C,"mouseenter",a.L),a.R(a.C,"mouseleave",a.K),a.R(a.D,"click",function(){g.sU(a.B,a.D)}));
a.R(d.element,"click",function(){g.sU(a.B,d.element)});
a.G=new g.U(function(){a.C.classList.contains("ytp-title-expanded")&&(d.hide(),g.tU(a.B,d.element,!1),e.hide(),g.tU(a.B,e.element,!1),a.C.classList.remove("ytp-title-expanded"),a.C.classList.add("ytp-title-show-collapsed"))},500);
g.M(a,a.G);a.R(a.C,kva,function(){a.C.classList.remove("ytp-title-show-collapsed");a.C.classList.remove("ytp-title-show-expanded")});
a.R(a.B,"onHideControls",function(){a.C.classList.remove("ytp-title-show-collapsed");a.C.classList.remove("ytp-title-show-expanded");a.C.classList.remove("ytp-title-expanded")})};
JZ=function(a,b){var c=a.B.getVideoData(),d=c.channelPath,e=c.profilePicture,f=c.author;d=void 0===d?"":d;e=void 0===e?"":e;f=void 0===f?"":f;b?(d=g.X(a.B).protocol+"://"+kN(g.X(a.B))+d,a.D.style.backgroundImage="url("+e+")",a.updateValue("channelLink",d),a.updateValue("channelLogoLabel",g.QU("Photo image of $CHANNEL_NAME",{CHANNEL_NAME:f})),g.S(a.B.getRootNode(),"ytp-title-enable-channel-logo"),g.tU(a.B,a.D,!0)):(g.Lq(a.B.getRootNode(),"ytp-title-enable-channel-logo"),g.tU(a.B,a.D,!1));a.F&&(a.F.B=
c.Il);a.updateValue("expandedTitle",c.expandedTitle);a.updateValue("expandedSubtitle",c.expandedSubtitle)};
KZ=function(a){g.V.call(this,{I:"div",M:"ytp-title",P:[{I:"div",M:"ytp-title-text",P:[{I:"a",ea:["ytp-title-link","yt-uix-sessionlink"],U:{target:"_blank",href:"{{url}}","data-sessionlink":"feature=player-title"},da:"{{title}}"},{I:"div",M:"ytp-title-subtext",P:[{I:"a",M:"ytp-title-channel-name",U:{href:"{{channelLink}}",target:"_blank"},da:"{{channelName}}"}]}]}]});this.B=a;this.D=null;this.G=this.o["ytp-title-link"];this.C=new IZ(a,g.X(a).D);this.C.ya(this.element,0);g.M(this,this.C);rU(a,this.element,
this,23851);this.R(a,"videodatachange",this.F);this.R(a,"videoplayerreset",this.F);this.F()};
LZ=function(a){JZ(a.C,!1);a.updateValue("channelLink","");a.updateValue("channelName","")};
g.MZ=function(a,b){var c=g.VT(a).Ua();g.V.call(this,{I:"div",P:[{I:"div",M:"ytp-tooltip-bg",P:[{I:"div",M:"ytp-tooltip-duration",da:"{{duration}}"}]},{I:"div",M:"ytp-tooltip-text-wrapper",P:[{I:"div",M:"ytp-tooltip-image"},{I:"div",M:"ytp-tooltip-title",da:"{{title}}"},{I:"span",M:"ytp-tooltip-text",da:"{{text}}"}]}]});this.aa=a;this.pa=b;this.N=g.X(a);this.ka=this.N.B;this.K=this.o["ytp-tooltip-bg"];this.sa=this.o["ytp-tooltip-image"];this.ba=(0,g.B)(this.kU,this);this.H=(0,g.B)(this.mU,this);this.ga=
(0,g.B)(this.ff,this);this.B=null;this.L=new g.YU(this,100);g.M(this,this.L);this.C=null;this.W=!1;this.D=null;this.G=window.NaN;this.J="";this.oa=c.width;this.O=!0;this.F=1;this.ha=new g.U(this.CN,250,this);g.M(this,this.ha);this.ia=new g.U(this.ff,5E3,this);g.M(this,this.ia)};
PX=function(a,b){if(a.ka)return g.A;b.addEventListener("mouseover",a.H);a.N.experiments.o("show_tooltip_on_tab_killswitch")||b.addEventListener("focus",a.H);return(0,g.B)(function(){this.B==b&&this.ff();b.removeEventListener("mouseover",this.H);this.N.experiments.o("show_tooltip_on_tab_killswitch")||b.removeEventListener("focus",this.H)},a)};
mva=function(a,b,c){if(a.C)if(3==a.C)a.ff();else return;lva(a,b,3,c)};
lva=function(a,b,c,d){(0,window.isNaN)(a.G)||(a.G=window.NaN,a.K.style.background="");a.B=b;a.W=!!d;d?a.J=d:(a.J=b.getAttribute("title"),b.removeAttribute("title"));a.element.className="ytp-tooltip";if(d=b.getAttribute("data-tooltip-image"))a.sa.style.backgroundImage="url("+d+")";g.T(a.element,"ytp-tooltip-image-enabled",!!d);b=b.getAttribute("data-tooltip-opaque");g.T(a.element,"ytp-tooltip-opaque",!!b);a.C=c;a.aa.addEventListener("appresize",a.ga);a.O&&(NZ(a),a.L.show(0))};
NZ=function(a){var b;a.B&&(b=a.B.getAttribute("data-tooltip-text"));if(b&&!a.W){a.updateValue("text",b);var c=a.B.getAttribute("data-duration");a.update({title:a.J,duration:c});var d=a.B.getAttribute("data-preview"),e=160*a.F,f=90*a.F,k=160*a.F,l=90*a.F;a.K.style.width=e+"px";a.K.style.height=f+"px";a.K.style.backgroundImage=d?"url("+d+")":"";a.K.style.backgroundPosition=(e-k)/2+"px "+(f-l)/2+"px";a.K.style.backgroundSize=k+"px "+l+"px";g.Kq(a.element,["ytp-text-detail","ytp-preview"]);g.T(a.element,
"ytp-has-duration",!!c)}else a.updateValue("text",a.J),g.Mq(a.element,["ytp-text-detail","ytp-preview","ytp-has-duration"]);3==a.C?a.element.setAttribute("role","status"):a.element.removeAttribute("role");nva(a,!!b)};
nva=function(a,b,c,d){a.element.style.maxWidth=b?"":Math.min(a.oa,300*a.F)+"px";a.pa.Rq(a.element,a.B,c,1==a.C,d);a.element.style.top?g.S(a.element,"ytp-bottom"):a.element.style.bottom&&g.S(a.element,"ytp-top");3==a.C&&a.ia.start()};
eY=function(a){a.B&&!a.W&&a.B.hasAttribute("title")&&(a.J=a.B.getAttribute("title"),a.B.removeAttribute("title"),a.O&&NZ(a))};
ova=function(a,b){g.T(a.element,"ytp-preview",0<=b);if(!(0>b||b==a.G)){a.G=b;var c=160*a.F,d=160*a.F,e=aO(a.D,a.G,c);Xta(a.K,e,c,d,!0);a.ha.start()}};
qva=function(a,b,c){pva("add_to_watch_later_list",a,b,c)};
rva=function(a,b,c){pva("delete_from_watch_later_list",a,b,c)};
pva=function(a,b,c,d){g.DE(c?c+"playlist_video_ajax?action_"+a+"=1":"/playlist_video_ajax?action_"+a+"=1",{method:"POST",gd:{feature:b.feature||null,authuser:b.jd||null,pageid:b.pageId||null},Tb:{video_ids:b.videoIds||null,source_playlist_id:b.sourcePlaylistId||null,full_list_id:b.fullListId||null,delete_from_playlists:b.g6||null,add_to_playlists:b.R5||null,plid:g.fE("PLAYBACK_ID")||null},context:b.context,onError:b.onError,onSuccess:function(a,c){b.onSuccess.call(this,a,c)},
Jd:b.Jd,withCredentials:!!d})};
PZ=function(a,b,c){g.V.call(this,{I:"button",ea:["ytp-watch-later-button","ytp-button"],U:{title:"{{title}}","data-tooltip-image":"{{image}}","data-tooltip-opaque":String(g.X(a).D)},P:[{I:"div",M:"ytp-watch-later-icon",da:"{{icon}}"},{I:"div",M:"ytp-watch-later-title",da:"{{watch_later}}"}]});this.B=a;this.G=b.Vb();this.G.element.setAttribute("aria-live","polite");this.K=c;this.H=null;this.J=this.F=this.D=this.C=!1;rU(a,this.element,this,28665);this.X("click",this.zR,this);this.R(a,"videoplayerreset",
this.AR);this.R(a,"appresize",this.Vc);this.Vc(g.VT(a).Ua());a=g.X(this.B);c=g.sH("yt-player-watch-later-pending");a.o&&c?(zH(),sva(this,c.videoId)):OZ(this,2);g.kf(this,PX(b.Vb(),this.element))};
sva=function(a,b){if(!a.D){a.D=!0;OZ(a,3);var c=g.X(a.B);(a.C?rva:qva)({videoIds:b,jd:c.jd,pageId:c.pageId,onError:a.qW,onSuccess:a.C?a.rW:a.pW,context:a},c.baseYtUrl,!0)}};
OZ=function(a,b,c){if(b!=a.H){switch(b){case 3:var d=FW();break;case 1:d=pra();break;case 2:d=g.SU?{I:"div",ea:["ytp-icon","ytp-icon-watch-later"]}:{I:"svg",U:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},P:[{I:"path",Ya:!0,M:"ytp-svg-fill",U:{d:"M18,8 C12.47,8 8,12.47 8,18 C8,23.52 12.47,28 18,28 C23.52,28 28,23.52 28,18 C28,12.47 23.52,8 18,8 L18,8 Z M16,19.02 L16,12.00 L18,12.00 L18,17.86 L23.10,20.81 L22.10,22.54 L16,19.02 Z"}}]};break;case 4:d=g.SU?{I:"div",ea:["ytp-icon","ytp-icon-alert"]}:
{I:"svg",U:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},P:[{I:"path",Ya:!0,M:"ytp-svg-fill",U:{d:"M21,7.91 L19.60,20.91 L16.39,20.91 L15,7.91 L21,7.91 Z M18,27.91 C16.61,27.91 15.5,26.79 15.5,25.41 C15.5,24.03 16.61,22.91 18,22.91 C19.38,22.91 20.5,24.03 20.5,25.41 C20.5,26.79 19.38,27.91 18,27.91 Z"}}]}}a.updateValue("icon",d);a.H=b}b=g.X(a.B);c?a.update({title:c,image:null}):b.userDisplayName?(c={USER_NAME:b.userDisplayName},a.update({title:a.C?g.QU("Added as $USER_NAME",c):g.QU("Watch later as $USER_NAME",
c),image:xla(b)})):a.update({title:"Watch later",image:null});eY(a.G)};
QZ=function(a){g.V.call(this,{I:"a",ea:["ytp-watermark","yt-uix-sessionlink"],U:{target:"_blank",href:"{{url}}","aria-label":g.QU("Watch on $WEBSITE",{WEBSITE:lN(g.X(a))}),"data-sessionlink":"feature=player-watermark"},P:[g.SU?{I:"div",ea:["ytp-icon","ytp-icon-watermark"]}:{I:"svg",U:{height:"100%",version:"1.1",viewBox:"0 0 110 26",width:"100%"},P:[{I:"path",Ya:!0,M:"ytp-svg-fill",U:{d:"M 16.68,.99 C 13.55,1.03 7.02,1.16 4.99,1.68 c -1.49,.4 -2.59,1.6 -2.99,3 -0.69,2.7 -0.68,8.31 -0.68,8.31 0,0 -0.01,5.61 .68,8.31 .39,1.5 1.59,2.6 2.99,3 2.69,.7 13.40,.68 13.40,.68 0,0 10.70,.01 13.40,-0.68 1.5,-0.4 2.59,-1.6 2.99,-3 .69,-2.7 .68,-8.31 .68,-8.31 0,0 .11,-5.61 -0.68,-8.31 -0.4,-1.5 -1.59,-2.6 -2.99,-3 C 29.11,.98 18.40,.99 18.40,.99 c 0,0 -0.67,-0.01 -1.71,0 z m 72.21,.90 0,21.28 2.78,0 .31,-1.37 .09,0 c .3,.5 .71,.88 1.21,1.18 .5,.3 1.08,.40 1.68,.40 1.1,0 1.99,-0.49 2.49,-1.59 .5,-1.1 .81,-2.70 .81,-4.90 l 0,-2.40 c 0,-1.6 -0.11,-2.90 -0.31,-3.90 -0.2,-0.89 -0.5,-1.59 -1,-2.09 -0.5,-0.4 -1.10,-0.59 -1.90,-0.59 -0.59,0 -1.18,.19 -1.68,.49 -0.49,.3 -1.01,.80 -1.21,1.40 l 0,-7.90 -3.28,0 z m -49.99,.78 3.90,13.90 .18,6.71 3.31,0 0,-6.71 3.87,-13.90 -3.37,0 -1.40,6.31 c -0.4,1.89 -0.71,3.19 -0.81,3.99 l -0.09,0 c -0.2,-1.1 -0.51,-2.4 -0.81,-3.99 l -1.37,-6.31 -3.40,0 z m 29.59,0 0,2.71 3.40,0 0,17.90 3.28,0 0,-17.90 3.40,0 c 0,0 .00,-2.71 -0.09,-2.71 l -9.99,0 z m -53.49,5.12 8.90,5.18 -8.90,5.09 0,-10.28 z m 89.40,.09 c -1.7,0 -2.89,.59 -3.59,1.59 -0.69,.99 -0.99,2.60 -0.99,4.90 l 0,2.59 c 0,2.2 .30,3.90 .99,4.90 .7,1.1 1.8,1.59 3.5,1.59 1.4,0 2.38,-0.3 3.18,-1 .7,-0.7 1.09,-1.69 1.09,-3.09 l 0,-0.5 -2.90,-0.21 c 0,1 -0.08,1.6 -0.28,2 -0.1,.4 -0.5,.62 -1,.62 -0.3,0 -0.61,-0.11 -0.81,-0.31 -0.2,-0.3 -0.30,-0.59 -0.40,-1.09 -0.1,-0.5 -0.09,-1.21 -0.09,-2.21 l 0,-0.78 5.71,-0.09 0,-2.62 c 0,-1.6 -0.10,-2.78 -0.40,-3.68 -0.2,-0.89 -0.71,-1.59 -1.31,-1.99 -0.7,-0.4 -1.48,-0.59 -2.68,-0.59 z m -50.49,.09 c -1.09,0 -2.01,.18 -2.71,.68 -0.7,.4 -1.2,1.12 -1.49,2.12 -0.3,1 -0.5,2.27 -0.5,3.87 l 0,2.21 c 0,1.5 .10,2.78 .40,3.78 .2,.9 .70,1.62 1.40,2.12 .69,.5 1.71,.68 2.81,.78 1.19,0 2.08,-0.28 2.78,-0.68 .69,-0.4 1.09,-1.09 1.49,-2.09 .39,-1 .49,-2.30 .49,-3.90 l 0,-2.21 c 0,-1.6 -0.2,-2.87 -0.49,-3.87 -0.3,-0.89 -0.8,-1.62 -1.49,-2.12 -0.7,-0.5 -1.58,-0.68 -2.68,-0.68 z m 12.18,.09 0,11.90 c -0.1,.3 -0.29,.48 -0.59,.68 -0.2,.2 -0.51,.31 -0.81,.31 -0.3,0 -0.58,-0.10 -0.68,-0.40 -0.1,-0.3 -0.18,-0.70 -0.18,-1.40 l 0,-10.99 -3.40,0 0,11.21 c 0,1.4 .18,2.39 .68,3.09 .49,.7 1.21,1 2.21,1 1.4,0 2.48,-0.69 3.18,-2.09 l .09,0 .31,1.78 2.59,0 0,-14.99 c 0,0 -3.40,.00 -3.40,-0.09 z m 17.31,0 0,11.90 c -0.1,.3 -0.29,.48 -0.59,.68 -0.2,.2 -0.51,.31 -0.81,.31 -0.3,0 -0.58,-0.10 -0.68,-0.40 -0.1,-0.3 -0.21,-0.70 -0.21,-1.40 l 0,-10.99 -3.40,0 0,11.21 c 0,1.4 .21,2.39 .71,3.09 .5,.7 1.18,1 2.18,1 1.39,0 2.51,-0.69 3.21,-2.09 l .09,0 .28,1.78 2.62,0 0,-14.99 c 0,0 -3.40,.00 -3.40,-0.09 z m 20.90,2.09 c .4,0 .58,.11 .78,.31 .2,.3 .30,.59 .40,1.09 .1,.5 .09,1.21 .09,2.21 l 0,1.09 -2.5,0 0,-1.09 c 0,-1 -0.00,-1.71 .09,-2.21 0,-0.4 .11,-0.8 .31,-1 .2,-0.3 .51,-0.40 .81,-0.40 z m -50.49,.12 c .5,0 .8,.18 1,.68 .19,.5 .28,1.30 .28,2.40 l 0,4.68 c 0,1.1 -0.08,1.90 -0.28,2.40 -0.2,.5 -0.5,.68 -1,.68 -0.5,0 -0.79,-0.18 -0.99,-0.68 -0.2,-0.5 -0.31,-1.30 -0.31,-2.40 l 0,-4.68 c 0,-1.1 .11,-1.90 .31,-2.40 .2,-0.5 .49,-0.68 .99,-0.68 z m 39.68,.09 c .3,0 .61,.10 .81,.40 .2,.3 .27,.67 .37,1.37 .1,.6 .12,1.51 .12,2.71 l .09,1.90 c 0,1.1 .00,1.99 -0.09,2.59 -0.1,.6 -0.19,1.08 -0.49,1.28 -0.2,.3 -0.50,.40 -0.90,.40 -0.3,0 -0.51,-0.08 -0.81,-0.18 -0.2,-0.1 -0.39,-0.29 -0.59,-0.59 l 0,-8.5 c .1,-0.4 .29,-0.7 .59,-1 .3,-0.3 .60,-0.40 .90,-0.40 z"}}]}]});
this.C=a;this.B=null;this.R(a,"videodatachange",this.D);this.R(a,"presentingplayerstatechange",this.G);a=g.UT(a);g.VH(this,!g.W(a,2));this.D()};
RZ=function(a){dZ.call(this,a);var b=g.X(a),c=b.experiments.o("embed_enable_playlist_ui")&&b.D,d=g.VT(a);this.sa=48;this.pa=69;b.o&&b.D&&(g.S(a.getRootNode(),"ytp-embed"),this.sa=60,this.pa=89);c&&g.S(a.getRootNode(),"ytp-embed-playlist");var e=g.X(this.api),f=e.J;if(OI("ytp-normal-css-loaded")){var k=OI("ytp-sprite-mode-css-loaded");f!=k&&g.gE(Error("Player sprite mode mismatch. playerInSpriteMode: "+f+", spriteModeCssServed: "+k+", isMobile: "+e.B),"WARNING")}this.K=null;this.F=[];this.G=new g.iZ(a);
g.M(this,this.G);g.nU(a,this.G.element,4);e=new g.V({I:"div",M:"ytp-gradient-top"});g.M(this,e);g.nU(a,e.element,1);this.Da=new g.YU(e,250,!0,100);g.M(this,this.Da);this.B=new g.V({I:"div",M:"ytp-chrome-top"});g.M(this,this.B);g.nU(a,this.B.element,1);this.Ba=new g.YU(this.B,250,!0,100);g.M(this,this.Ba);this.ga=[];this.D=new g.MZ(a,this);g.M(this,this.D);g.nU(a,this.D.element,4);b.o&&b.Ha&&(this.zb=new xZ(a,this),g.M(this,this.zb),g.nU(a,this.zb.element,4));e=new AZ(a);g.M(this,e);g.nU(a,e.element,
5);e.subscribe("show",(0,g.B)(this.hp,this,e));this.ga.push(e);f=new BZ(a,this,e);g.M(this,f);c||f.ya(this.B.element);this.xa=new KZ(a);g.M(this,this.xa);this.xa.ya(this.B.element);e=new g.QH({I:"div",M:"ytp-chrome-top-buttons"});g.M(this,e);e.ya(this.B.element);k=b.experiments.o("embed_info_bar_top_right_subscribe")&&b.o;!k&&b.yp&&(this.ia=new PZ(a,this,this.B.element),g.M(this,this.ia),this.ia.ya(e.element));k||(k=new DZ(a,this),g.M(this,k),g.nU(a,k.element,5),k.subscribe("show",(0,g.B)(this.hp,
this,k)),this.ga.push(k),this.ca=new EZ(a,this,k,this.B.element),g.M(this,this.ca),this.ca.ya(e.element));b.Ii&&(k=new FZ(a),g.M(this,k),g.nU(a,k.element,4));c&&f.ya(e.element);this.L=new nZ(a,this,this.B.element);g.M(this,this.L);this.L.ya(e.element);c=new oZ(a,this.L);g.M(this,c);c.ya(e.element);(this.o="1"==b.C?new aZ(a,this,this.A):null)&&g.M(this,this.o);"3"==b.C&&(c=new CZ(a,this),g.M(this,c),g.nU(a,c.element,8));this.H=new uZ(a,this,this.G);g.M(this,this.H);this.H.subscribe("show",this.XG,
this);this.oa=!1;b.sd&&(c=new QZ(a),g.M(this,c),g.nU(a,c.element,7));c=new eV(a,new iV(a));g.M(this,c);g.nU(a,c.element,4);this.O=new g.V({I:"div",U:{tabindex:"0"}});this.O.X("focus",this.bL,this);g.M(this,this.O);this.N=new g.V({I:"div",U:{tabindex:"0"}});this.N.X("focus",this.cL,this);g.M(this,this.N);(this.W=b.useTabletControls?null:new vZ(a,d,this.H,this.A,this.G,(0,g.B)(this.kp,this)))&&g.M(this,this.W);this.aa.push(this.G.element);this.R(a,"fullscreentoggled",this.NQ);this.R(a,"offlineslatestatechange",
this.uU,this);this.R(a,"cardstatechange",this.Dg,this)};
SZ=function(a,b,c){b=c?b.lastElementChild:b.firstElementChild;for(var d=null;b;){if("none"!=Bh(b,"display")&&"true"!=b.getAttribute("aria-hidden")){var e=void 0;0<=b.tabIndex?e=b:e=SZ(a,b,c);e&&(d?c?e.tabIndex>d.tabIndex&&(d=e):e.tabIndex<d.tabIndex&&(d=e):d=e)}b=c?b.previousElementSibling:b.nextElementSibling}return d};
g.TZ=function(a){g.zU.call(this,a);this.load()};
tva=function(a,b,c,d){b=b.getVideoData();var e=a.getVideoData();return!b.Pa.o||!e.Pa.o||!d.experiments.o("html5_no_gapless_time_travel_killswitch")&&c<1E3*a.getCurrentTime()||b.Pa.videoInfos[0].containerType!=e.Pa.videoInfos[0].containerType||g.lP(e)&&!d.experiments.o("html5_gapless_encrypted_to_clear")||g.lP(e)&&g.lP(b)?!1:e.Pa.o[0].audio.sampleRate!=b.Pa.o[0].audio.sampleRate?!1:!0};
UZ=function(a,b,c){g.L.call(this);var d=this;this.o=a;this.L=b;c.getPlayerType();this.B=c;this.J=[];this.A=[];this.D=null;this.K=window.NaN;this.G=this.C=null;this.H=new g.U(function(){uva(d,d.K)});
g.M(this,this.H);this.F=new g.SF(this);g.M(this,this.F);this.F.R(this.o,"crn_childplayback",this.N);this.F.R(this.o,"onQueuedVideoLoaded",this.W);this.F.R(this.o,"presentingplayerstatechange",this.O)};
vva=function(a,b,c){var d=g.uU(a.o);if(window.Infinity==c){var e=function(c){if(0<VP(c,2)){d.unsubscribe("statechange",e);var f=a.B;Vf(function(){g.wU(a.o,f.getPlayerType(),!0);iT(f,b/1E3,!0);zT(f)})}};
d.subscribe("statechange",e)}};
xva=function(a,b,c){var d=b.nf,e=b.playerVars,f=b.playerType;a.D=b;b=new g.YO(a.L,e);b.nf=d;c=void 0===c?window.Infinity:c;a=a.o.app;c=void 0===c?window.Infinity:c;f=f||a.B.getPlayerType();a.Kb=c;b.rl=!0;b.gq=!0;a.J=VZ(a,f);ZS(a.J,b,(0,g.B)(a.Td,a));eT(a.J,!0);a.J.Jb("queued","1");WZ(a,"html5_gapless")&&(a.B.subscribe("internalvideodatachange",a.Mi,a),a.J.subscribe("internalvideodatachange",a.Mi,a),a.B.subscribe("mediasourceattached",a.Mi,a),a.Mi());f=XZ(a);a.La=new g.nQ((0,window.isFinite)(f)?f:
0x8000000000000,0x8000000000000,{namespace:"queued"});a.Hb=a.B;SR(a.Hb.H,[a.La]);f<=1E3*a.getCurrentTime()&&!a.B.H.F&&wva(a)};
YZ=function(a){a.D=null;!a.o.app.J||yva(a.o.app)};
zva=function(a,b){for(var c=0,d=g.q(a.A),e=d.next();!e.done;e=d.next()){e=e.value;var f=e.sm/1E3+c,k=f+e.durationMs/1E3;if(f>b)break;if(k>b)return{qt:e,xw:b-f};c=k-e.pl/1E3}return{qt:null,xw:b-c}};
uva=function(a,b){var c=a.G||g.uU(a.o).B;ZZ(a,!0);YZ(a);var d=zva(a,b),e=d.qt;d=d.xw;if(e){var f=$Z(a,e);if(!f){g.wU(a.o,e.playerType);var k=new g.YO(a.L,e.playerVars);k.nf=e.nf;k.gq=!0;a_(a.o.app,k,e.playerType,void 0)}k=g.uU(a.o);f||SR(k.H,[e.Vi.Ng]);iT(k,d,!0);Ava(a,c)}else b_(a,d,c)};
b_=function(a,b,c){var d=a.B;d!=g.uU(a.o)&&g.wU(a.o,d.getPlayerType());iT(d,b,!0);Ava(a,c)};
Ava=function(a,b){var c=g.uU(a.o),d=c.B;QP(b)&&!QP(d)?zT(c):g.W(b,4)&&!g.W(d,4)&&lT(c)};
ZZ=function(a,b){a.K=window.NaN;a.H.stop();a.C&&b&&Bqa(a.C);a.G=null;a.C=null};
$Z=function(a,b){var c=g.uU(a.o);return!!c&&c.getVideoData().nf==b.nf};
Bva=function(a){var b=void 0===b?-1:b;for(var c=[],d=g.q(a.J),e=d.next();!e.done;e=d.next())e=e.value,e.Cx>b?e.Ng.dispose():c.push(e);a.J=c;c=[];d=g.q(a.A);for(e=d.next();!e.done;e=d.next())if(e=e.value,e.sm>b){var f=a;f.D==e&&YZ(f);$Z(f,e)&&g.yU(f.o,e.playerType);e.Vi.Ng.dispose()}else c.push(e);a.A=c;c=zva(a,b);b=c.qt;c=c.xw;b&&(c*=1E3,d=b.durationMs,b.durationMs=c,b.pl==b.sm+d&&(b.pl=b.sm+c),e={Ng:new g.nQ(Math.max(0,c-2500),c-1,{namespace:"childplayback",priority:7}),Cx:c,target:null},d=b.Vi,
b.Vi=e,$Z(a,b)&&(e=g.uU(a.o),e.H.C(d.Ng),SR(e.H,[b.Vi.Ng])),d.Ng.dispose(),$Z(a,b)&&1E3*g.uU(a.o).getCurrentTime()>c&&b_(a,b.pl,g.uU(a.o).B))};
e_=function(a,b){g.L.call(this);var c=this;this.C=a||window.NaN;this.B=b||null;this.A=new g.U(function(){c_(c);d_(c)});
g.M(this,this.A);this.o=[]};
c_=function(a){var b=g.tG();a.o.forEach(function(c){c.expire<b&&f_(a,c,!0)});
a.o=(0,g.Vd)(a.o,function(a){return!(a.expire<b)})};
f_=function(a,b,c){c&&a.B&&a.B(b.value)};
d_=function(a){a.A.stop();var b=window.Infinity;for(var c=g.q(a.o),d=c.next();!d.done;d=c.next())d=d.value,d.expire<b&&(b=d.expire);b&&(0,window.isFinite)(b)&&(b=Math.max(b-(0,g.H)(),0),a.A.start(b))};
g_=function(){this.o=[];this.A=[];this.B=[]};
Dva=function(a,b,c){c=g.Od(c?"AUDIO":"VIDEO");g.Ea(c,Cva);g.EF(c,"loadeddata",(0,g.B)(c.A,c));SM&&6<=hZ&&g.EF(c,"webkitbeginfullscreen",(0,g.B)(c.play,c));a.A.push(c);b?a.B.push(c):h_(a,c);return c};
h_=function(a,b){g.Ma(a.A,b)&&!g.Ma(a.o,b)&&(b.src||b.load(),g.Sa(a.B,b)||a.o.push(b))};
i_=function(a){g.L.call(this);this.A=null;for(var b=[],c=0;100>=c;c++)b.push(c/100);b={threshold:b};(this.o=window.IntersectionObserver?new window.IntersectionObserver((0,g.B)(this.B,this),b):null)&&this.o.observe(a)};
Fva=function(a,b){if(g.LE())return null;var c=Eva();if(!c)return g.$T(a,"html5.webaudio",{name:"null context"}),null;if(g.w(c))return g.$T(a,"html5.webaudio",{name:c}),null;if(!c.createMediaElementSource)return g.$T(a,"html5.webaudio",{name:"missing createMediaElementSource"}),null;if("suspended"==c.state){var d=function(b){"suspended"==c.state&&QP(b.state)&&c.resume().then(function(){a.removeEventListener("presentingplayerstatechange",d);j_=!1},null)};
j_||(a.addEventListener("presentingplayerstatechange",d),j_=!0)}return new wQ(c,b)};
k_=function(a){var b=a.o;g.V.call(this,{I:"div",ea:["html5-video-player"],U:{tabindex:"-1",id:a.va.attrs.id},P:[{I:"div",M:"html5-video-container",U:{"data-layer":"0"}},{I:"input",M:"ytp-attestation-challenge",U:{id:"atr_challenge",type:"hidden",value:"","data-layer":"0"}}]});b.transparentBackground&&this.Hq("ytp-transparent");g.mF(this.element,"version",a.va.assets.js);this.app=a;this.H=this.o["html5-video-container"];this.ha=this.o["ytp-attestation-challenge"];this.C=new g.jh(0,0,0,0);this.B=null;
this.K=new g.jh(0,0,0,0);this.N=this.W=this.G=window.NaN;this.J=!1;this.L=window.NaN;this.O=!1;this.F=null;this.addEventListener=(0,g.B)(this.element.addEventListener,this.element);this.removeEventListener=(0,g.B)(this.element.removeEventListener,this.element);this.dispatchEvent=function(){};
this.aa=(0,g.B)(function(){this.element.focus()},this);
oN(b)&&"blazer"!=b.playerStyle&&window.matchMedia&&(this.ga="desktop-polymer"==b.playerStyle?[{query:window.matchMedia("(max-width: 656px)"),size:new g.sd(426,240)},{query:window.matchMedia("(max-width: 856px)"),size:new g.sd(640,360)},{query:window.matchMedia("(max-width: 999px)"),size:new g.sd(854,480)},{query:window.matchMedia("(min-width: 1720px) and (min-height: 980px)"),size:new g.sd(1280,720)},{query:window.matchMedia("(min-width: 1294px) and (min-height: 630px)"),size:new g.sd(854,480)},{query:window.matchMedia("(min-width: 1000px)"),
size:new g.sd(640,360)}]:[{query:window.matchMedia("(max-width: 656px)"),size:new g.sd(426,240)},{query:window.matchMedia("(min-width: 1720px) and (min-height: 980px)"),size:new g.sd(1280,720)},{query:window.matchMedia("(min-width: 1294px) and (min-height: 630px)"),size:new g.sd(854,480)},{query:window.matchMedia("(min-width: 657px)"),size:new g.sd(640,360)}]);this.ba=b.useFastSizingOnWatchDefault;this.D=new g.sd(window.NaN,window.NaN);dka({YTP_ADVERTISEMENT:"Advertisement",YTP_AD_BADGE:"Ad",YTP_AD_NOTIFICATION:"Ad in $X_SECONDSs",
YTP_AD_POD_POSITION:"$AD_INDEX of $ADS_COUNT",YTP_AD_PREVIEW_NONSKIPPABLE:"Video will play after ad",YTP_AD_PREVIEW_NONSKIPPABLE_COUNTDOWN:"Your video will begin in $TIME_REMAINING",YTP_AD_SETTING_TEXT:"Visit Google's $AD_SETTING_LINK_TEXT to learn more about how ads are targeted or to opt out of personalised ads.",YTP_AD_SETTING_LINK_TEXT:"Ad settings",YTP_WHY_THIS_AD_TITLE:"Why this ad?",YTP_AD_SETTINGS_TOOLTIP:"Click for Ad Settings",YTP_CLOSE_AD_INFO_DIALOG:"Got It",YTP_AIRPLAY:"AirPlay",YTP_AUDIO_TRACK_TITLE:"Audio track",
YTP_AUTO:"Auto",YTP_CAN_SKIP_AD_SOON:"You can skip to video in $TIME_REMAINING",YTP_CARDS_BUTTON_ARIA_LABEL:"Show cards",YTP_CARDS_BUTTON_INFO:"Info",YTP_CARDS_BUTTON_SHOPPING:"Shopping",YTP_CHANNEL_PHOTO_IMAGE:"Photo image of $CHANNEL_NAME",YTP_COPY_DEBUG_INFO:"Copy debug info",YTP_COPY_VIDEO_URL:"Copy video URL",YTP_COPY_VIDEO_URL_AT_TIME:"Copy video URL at current time",YTP_GET_DEBUG_INFO:"Get debug info",YTP_GET_VIDEO_URL:"Get video URL",YTP_GET_VIDEO_URL_AT_TIME:"Get video URL at current time",
YTP_GET_EMBED:"Get embed code",YTP_PLAYBACK_SPEED_CHANGED:"Speed is $RATE",YTP_DEFAULT_VIEW:"Default view",YTP_EMBED_COPY:"Copy embed code",YTP_ERROR_GENERIC_WITHOUT_LINK:"An error has occurred. Please try again later.",YTP_ERROR_GENERIC_WITH_LINK_AND_CPN:"An error occurred. Please try again later. (Playback ID: $CPN) $BEGIN_LINKLearn More$END_LINK",YTP_EXIT_FULLSCREEN:"Exit full screen",YTP_FULLSCREEN_GENERIC_ERROR:"Full screen is unavailable. $BEGIN_LINKFind out more$END_LINK",YTP_FULLSCREEN_UNSUPPORTED_ERROR:"Your browser doesn't support full screen. $BEGIN_LINKFind out more$END_LINK",
YTP_VOLUME_UNSUPPORTED_ERROR:"Your browser doesn't support changing the volume. $BEGIN_LINKLearn More$END_LINK",YTP_FULLSCREEN:"Full screen",YTP_GOTO_LIVE_TOOLTIP:"Skip ahead to live broadcast.",YTP_INLINE_VIDEO_QUALITY_SURVEY:"Look good?",YTP_LIVE:"Live",YTP_LIVE_NOW:"LIVE NOW",YTP_LOOP:"Loop",YTP_MORE:"More",YTP_MORE_FROM_CHANNEL:"More videos from $DNI_RELATED_CHANNEL",YTP_MORE_VIDEOS:"More videos",YTP_MUTE:"Mute",YTP_NEXT:"Next",YTP_NORMAL_SPEED:"Normal",YTP_ON:"On",YTP_OFF:"Off",YTP_OPTIONS:"Options",
YTP_PREVIOUS:"Previous",YTP_PLAYBACK_STALLED_AT_START:"If playback doesn't begin shortly, try restarting your device.",YTP_MISSING_FORMATS:"Missing options?",YTP_MORE_ON_YOUTUBE:"More videos on YouTube",YTP_PLAYLIST:"Playlist",YTP_QUALITY_TITLE:"Quality",YTP_REPLAY:"Replay",YTP_TROUBLESHOOT_ISSUE:"Troubleshoot playback issue",YTP_SETTINGS:"Settings",YTP_SHARE:"Share",YTP_SHARE_LINK_WITH_URL:"Share link $URL",YTP_SHARE_WITH_PLAYLIST_2:"Include playlist",YTP_SHOW_VIDEO_INFO:"Stats for nerds",YTP_SIGN_IN:"Sign in",
YTP_SKIP_AD:"Skip Ad",YTP_SKIP_INTRO:"Skip Intro",YTP_SPEED_TITLE:"Speed",YTP_SUBSCRIBE:"Subscribe",YTP_SUBSCRIBED:"Subscribed",YTP_SUBSCRIBE_TO_CHANNEL:"Subscribe to channel",YTP_UNSUBSCRIBE_TO_CHANNEL:"Unsubscribe from channel",YTP_SUBSCRIBE_NOTIFY:"Notify subscriptions",YTP_SUBSCRIBE_NOTIFY_OFF:"Receive notifications about every new video",YTP_SUBSCRIBE_NOTIFY_ON:"Stop receiving notifications about every new video",YTP_SUBTITLES:"Subtitles/CC",YTP_SUBTITLES_TOOLTIP:"Subtitles/closed captions",
YTP_SUBTITLES_OFF:"Subtitles/closed captions off",YTP_SUBTITLES_ON:"Subtitles/closed captions on",YTP_TAP_TO_UNMUTE_SHORT:"Tap to unmute",YTP_THEATER_MODE:"Cinema mode",YTP_UNMUTE:"Unmute",YTP_URL_NAVIGATE_TO:"Watch on $WEBSITE",YTP_VISIT_YOUTUBE:"Visit YouTube to search for more videos",YTP_WATCH_ALL:"Watch entire video",YTP_WATCH_LATER_2:"Watch later",YTP_WATCH_LATER_AS_2:"Watch later as $USER_NAME",YTP_ADDED_TO_WATCH_LATER_AS:"Added as $USER_NAME",YTP_PLAY:"Play",YTP_ERROR_LICENSE:"Sorry, there was an error while licensing this video.",
YTP_ERROR_VIDEO_NOT_FOUND:"This video cannot be found.",YTP_ERROR_ALREADY_PINNED_ON_A_DEVICE:"This video has already been downloaded on the maximum number of devices allowed by the copyright holder. Before you can play the video here, it needs to be unpinned on another device.",YTP_ERROR_PURCHASE_NOT_FOUND:"This video requires payment.",YTP_ERROR_PURCHASE_REFUNDED:"This video's purchase has been refunded.",YTP_ERROR_STOPPED_BY_ANOTHER_PLAYBACK:"Your account is playing this video in another location. Please reload this page to resume watching.",
YTP_ERROR_TOO_MANY_STREAMS_PER_USER:"Playback stopped because too many videos belonging to the same account are playing.",YTP_ERROR_TOO_MANY_STREAMS_PER_ENTITLEMENT:"Playback stopped because this video has been played on too many devices.",YTP_ERROR_STREAMING_DEVICES_QUOTA_PER_24H_EXCEEDED:"Too many devices/IP addresses have been used over the 24 hour period.",YTP_ERROR_STREAM_LICENSE_NOT_FOUND:"Video playback interrupted. Please try again.",YTP_CLOSE:"Close",YTP_ANNOTATIONS:"Annotations",YTP_SEEK_SLIDER:"Seek slider",
YTP_PAUSE:"Pause",YTP_AUTOPLAY:"Autoplay",YTP_RESET:"Reset",YTP_STOP:"Stop live playback",YTP_SCREENREADER_VOLUME_SETTING:"volume",YTP_SCREENREADER_VOLUME_MUTED:"muted",YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK:"This video format is not supported.",YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK_WITH_LINK:"Your browser does not currently recognise any of the video formats available. $BEGIN_LINKClick here to visit our frequently asked questions about HTML5 video.$END_LINK",YTP_HTML5_FLASH_DEPRECATED:"Flash videos are no longer supported. For the best experience, please upgrade your browser to the latest version. $BEGIN_LINKLEARN MORE$END_LINK",
YTP_ERROR_CAST_SESSION_DEVICE_MISMATCHED:"The device in the cast session doesn't match the requested one.",YTP_ERROR_CAST_SESSION_VIDEO_MISMATCHED:"The video in the cast session doesn't match the requested one.",YTP_ERROR_CAST_TOKEN_EXPIRED:"Cast session has expired. Please refresh.",YTP_ERROR_CAST_TOKEN_FAILED:"Cast session not available. Please refresh or try again later.",YTP_ERROR_CAST_TOKEN_MALFORMED:"Invalid cast session. Please refresh or try again later.",YTP_ERROR_GEO_FAILURE:"This video isn't available in your country.",
YTP_ERROR_INVALID_DRM_MESSAGE:"The DRM system specific message is invalid.",YTP_ERROR_RENTAL_EXPIRED:"This video's rental has expired.",YTP_ERROR_RETRYABLE_ERROR:"There was a temporary server error. Please try again later.",YTP_ERROR_SERVER_ERROR:"There was an internal server error. Please try again later.",YTP_ERROR_STREAMING_NOT_ALLOWED:"Playback not allowed because this video is pinned on another device.",YTP_ERROR_UNSUPPORTED_DEVICE:"Playback isn't supported on this device.",YTP_ERROR_VIDEO_FORBIDDEN:"Access to this video is forbidden.",
YTP_ERROR_VIDEO_UNAVAILABLE:"Video unavailable",YTP_ERROR_FORMAT_UNAVALIABLE:"This video isn't available at the selected quality. Please try again later.",YTP_DEVICE_FALLBACK:"Sorry, this video is not available on this device.",YTP_VISIT_ADVERTISERS_SITE:"Visit advertiser's site",YTP_PROGRESS_LABEL_2:"$PLAY_PROGRESS of $DURATION",YTP_PLAYLIST_NAME:"Playlist: $PLAYLIST_NAME",YTP_PLAYLIST_POSITION:"$CURRENT_POSITION/$PLAYLIST_LENGTH",YTP_SHARE_PANEL_ERROR:"An error occurred while retrieving sharing information. Please try again later.",
YTP_PLAYLIST_AUTHOR_AND_POSITION:"by $AUTHOR \u2022 $CURRENT_POSITION/$PLAYLIST_LENGTH",YTP_SPONSORED:"Sponsored",YTP_SPONSORED_PRODUCT_INFO:"You are seeing this product because we think it is relevant to the video. Google may be compensated by the merchant.",YTP_PIP:"Picture in Picture",YTP_POPOUT_PLAYER:"Popout player",YTP_AUTO_TRANSLATE:"Auto-translate",YTP_SWITCH_CAMERA:"Switch camera",YTP_MULTICAM_INDEX:"Viewing $CAMERA_INDEX of $CAMERA_COUNT",YTP_MORE_CAMERAS_AVAILABLE:"More cameras available",
YTP_VIDEO_SUBTITLES_OVERRIDE:"Video Override",YTP_VIDEO_SUBTITLES_OVERRIDE_DESC:"Allow for a different caption style if specified by the video.",YTP_WATCH_VIDEO_OR_PLAYLIST:"Watch $TITLE",YTP_FONT_FAMILY:"Font family",YTP_FONT_SIZE:"Font size",YTP_FONT_COLOR:"Font colour",YTP_FONT_OPACITY:"Font opacity",YTP_BACKGROUND_COLOR:"Background colour",YTP_BACKGROUND_OPACITY:"Background opacity",YTP_WINDOW_COLOR:"Window colour",YTP_WINDOW_OPACITY:"Window opacity",YTP_COLOR_WHITE:"White",YTP_COLOR_YELLOW:"Yellow",
YTP_COLOR_GREEN:"Green",YTP_COLOR_CYAN:"Cyan",YTP_COLOR_BLUE:"Blue",YTP_COLOR_MAGENTA:"Magenta",YTP_COLOR_RED:"Red",YTP_COLOR_BLACK:"Black",YTP_FONT_FAMILY_MONO_SERIF:"Monospaced Serif",YTP_FONT_FAMILY_PROP_SERIF:"Proportional Serif",YTP_FONT_FAMILY_MONO_SANS:"Monospaced Sans-Serif",YTP_FONT_FAMILY_PROP_SANS:"Proportional Sans-Serif",YTP_FONT_FAMILY_CASUAL:"Casual",YTP_FONT_FAMILY_CURSIVE:"Cursive",YTP_FONT_FAMILY_SMALL_CAPS:"Small Capitals",YTP_CHAR_EDGE_STYLE:"Character edge style",YTP_EDGE_STYLE_NONE:"None",
YTP_EDGE_STYLE_RAISED:"Raised",YTP_EDGE_STYLE_DEPRESSED:"Depressed",YTP_EDGE_STYLE_OUTLINE:"Outline",YTP_EDGE_STYLE_DROP_SHADOW:"Drop Shadow",YTP_CONTRIBUTE_MENU_ITEM:"Add subtitles/CC",YTP_ASR_SETTINGS_LABEL:"Automatic Captions",YTP_LANGUAGE_OFF:"Off",YTP_MINIPLAYER_BUTTON:"Activate miniplayer",YTP_MINIPLAYER_BUTTON_2:"Watch while browsing",YTP_WHY_THIS_AD_REASON_HEADER:"This ad may be based on:",YTP_WHY_THIS_AD_REASON_VIDEO_WATCHED:"The video that you're watching.",YTP_WHY_THIS_AD_REASON_SIGNED_IN_ACTIVITY:"Your activity, while you were signed in to Google.",
YTP_WHY_THIS_AD_REASON_DEVICE_ACTIVITY:"Your activity on this device."});Gva(this);this.R(a.A,"mutedautoplaychange",this.PQ)};
Gva=function(a){var b=a.app.A,c=(0,g.B)(a.pM,a),d=(0,g.B)(a.qM,a),e=(0,g.B)(a.OQ,a),f=(0,g.B)(a.VL,a);b.addEventListener("initializingmode",c);b.addEventListener("videoplayerreset",d);b.addEventListener("videodatachange",e);b.addEventListener("presentingplayerstatechange",f);g.kf(a,function(){b.removeEventListener("initializingmode",c);b.removeEventListener("videoplayerreset",d);b.removeEventListener("videodatachange",e);b.removeEventListener("presentingplayerstatechange",f)})};
Hva=function(a){a.B&&(a.B.removeEventListener("focus",a.aa),g.Ud(a.B),a.B=null)};
RV=function(a,b){YM(a.app.o);a.J=!b;l_(a)};
Iva=function(a,b){if(a.B){var c=a.app.o;jJ&&(a.B.setAttribute("x-webkit-airplay","allow"),b.title?a.B.setAttribute("title",b.title):a.B.removeAttribute("title"));a.app.o.experiments.o("html5_no_360_remote_killswitch")||(lma(b)?a.B.setAttribute("disableremoteplayback",""):a.B.removeAttribute("disableremoteplayback"));a.B.setAttribute("controlslist","nodownload");c.Rp&&b.videoId&&(a.B.poster=b.kd("default.jpg"))}c=g.nP(b,"yt:bgcolor");a.H.style.backgroundColor=c?c:"";a.G=KM(g.nP(b,"yt:stretch"));a.W=
KM(g.nP(b,"yt:crop"),!0);g.T(a.element,"ytp-dni",b.isDni);a.Ef()};
g.m_=function(a){return(0,window.isNaN)(a.G)||a.app.o.experiments.o("html5_video_aspect_ratio_stretch_killswitch")?Jva(a):a.G};
Jva=function(a){var b=a.app.o.experiments.o("html5_aspect_from_adaptive_format"),c=g.Y(a.app);if(c=c?c.getVideoData():null){if(c.gh()||c.hh()||c.ig())return 16/9;if(b&&bP(c)&&c.Pa.o)return b=c.Pa.videoInfos[0],n_(b.video.width,b.video.height)}return(a=a.B)?n_(a.videoWidth,a.videoHeight):b?16/9:window.NaN};
g.o_=function(a,b){var c=a.Ua(),d=Kva(a,c,g.m_(a),b);return new g.jh((c.width-d.width)/2,(c.height-d.height)/2,d.width,d.height)};
Kva=function(a,b,c,d){a.app.o.experiments.o("html5_video_aspect_ratio_stretch_killswitch")&&!(0,window.isNaN)(a.G)&&(c=a.G);var e=c;(0,window.isNaN)(a.N)?(0,window.isNaN)(a.W)||(e=a.W):e=a.N;a=n_(b.width,b.height);(0,window.isFinite)(e)||(e=Math.max(c,a));var f;e>a?f={width:b.width,height:b.width/e,aspectRatio:e}:e<a?f={width:b.height*e,height:b.height,aspectRatio:e}:f={width:b.width,height:b.height,aspectRatio:a};d||(0,window.isNaN)(c)||(c>e?f.width=f.height*c:c<e&&(f.height=f.width/c),f.aspectRatio=
c);return f};
n_=function(a,b){return 1>Math.abs(p_*b-a)||1>Math.abs(p_/a-b)?p_:a/b};
q_=function(a){if(1==a.app.W)return!1;var b=g.UT(a.app.A);a=g.W(b,1024)&&!a.app.o.experiments.o("dompaused_video_visible_killswitch");return b&&!g.W(b,2)&&!a&&!g.RP(b)};
l_=function(a){var b="3"==a.app.o.C&&!a.J&&q_(a)&&!a.app.ba;a.B.controls=b;a.B.tabIndex=b?0:-1;b?a.B.removeEventListener("focus",a.aa):a.app.o.experiments.o("disable_focus_redirect")||a.B.addEventListener("focus",a.aa)};
Lva=function(a){var b=a.Ua(),c=1,d=!1,e=Kva(a,b,g.m_(a)),f=SE();if(q_(a)){var k=Jva(a);var l=(0,window.isNaN)(k)||AN||xS&&g.sN;jJ&&!g.qc(601)?k=e.aspectRatio:l=l||"3"==a.app.o.C;l?l=new g.jh(0,0,b.width,b.height):(c=e.aspectRatio/k,l=new g.jh((b.width-e.width/c)/2,(b.height-e.height)/2,e.width/c,e.height),1==c&&g.sN&&(k=l.width-b.height*k,0<k&&(l.width+=k,l.height+=k)));f&&(a.B.style.display="");a.O=!0}else l=-b.height,jJ?l*=window.devicePixelRatio:g.RH&&(l-=window.screen.height),l=new g.jh(0,l,b.width,
b.height),f&&(a.B.style.display="none"),a.O=!1;g.lh(a.K,l)||(a.K=l,g.hN(a.app.o)?(a.B.style.setProperty("width",l.width+"px","important"),a.B.style.setProperty("height",l.height+"px","important")):g.Ph(a.B,g.nh(l)),g.Eh(a.B,g.oh(l)),d=!0);b=new g.jh((b.width-e.width)/2,(b.height-e.height)/2,e.width,e.height);g.lh(a.C,b)||(a.C=b,d=!0);g.xh(a.B,"transform",1==c?"":"scaleX("+c+")");return d};
Mva=function(a,b){this.K=a;this.A=void 0===b?!1:b;this.D=g.mH();this.o=[];this.F=[];this.H=[];this.J=1;this.B=[];this.C=[];this.G=!1};
g.qU=function(a,b,c){a.G?a.H.push({type:b,data:c}):a.K.V(b,c)};
Nva=function(a){if(a.A&&a.D!=g.mH()){var b=g.mH(),c=g.lH();if(b&&c){a.D=b;for(var d=g.q(a.o),e=d.next();!e.done;e=d.next())e=e.value,e.visualElement&&TG(e.visualElement)&&g.YG(b,c,e.visualElement)}if(b)for(a=g.q(a.C),e=a.next();!e.done;e=a.next())c=e.value,c.visualElement&&TG(c.visualElement)&&g.WG(b,c.visualElement)}};
r_=function(a,b,c,d,e){g.V.call(this,{I:"div",M:"ytp-horizonchart"});this.C=Math.round(a/c);this.K=b;this.G=c;this.H=d;this.J=e;this.Gb=0;this.element.style.width=this.C*this.G+"px";this.element.style.height=this.K+"em";this.B=-1;this.F=this.D=null};
s_=function(a,b){if(-1==a.B){try{var c=g.Od("CANVAS");a.D=c.getContext("2d")}catch(m){}if(a.D){var d=a.C*a.G;a.F=c;a.F.width=d;a.F.style.width=d+"px";a.element.appendChild(a.F)}else for(a.G=Math.floor(a.G/4),a.C*=4,c=0;c<a.G;c++)d=g.Od("SPAN"),d.style.width=a.C+"px",d.style.left=a.C*c+"px",a.element.appendChild(d)}c=a.element.clientHeight||24;c!=a.B&&(a.B=c,a.D&&(c=1<(window.devicePixelRatio||1)?2:1,a.F.height=a.B*c,a.F.style.height=a.B+"px",a.D.scale(1,c)));c=g.q(b);for(var e=c.next();!e.done;e=
c.next()){d=a;var f=a.Gb,k=e.value;for(e=0;e+2<d.H.length&&d.H[e+1]<k;)e++;k=Math.min(1,(k-d.H[e])/(d.H[e+1]-d.H[e]));if(d.D)d.D.fillStyle=d.J[e],d.D.fillRect(f*d.C,0,d.C,d.B),d.D.fillStyle=d.J[e+1],d.D.fillRect(f*d.C,d.B*(1-k),d.C,d.B);else{f=d.element.children[f];var l=window.devicePixelRatio||1;k=Math.min(d.B,Math.round(d.B*k*l)/l)||0;f.style.height=k+"px";f.style.backgroundColor=d.J[e+1];f.style.borderTop="solid "+(d.B-k)+"px "+d.J[e]}a.Gb=(a.Gb+1)%a.G}c=a.Gb;a.D?a.D.clearRect(c*a.C,0,a.C,a.B):
(c=a.element.children[c],c.style.height="0px",c.style.borderTop="")};
t_=function(a){var b=null;b={I:"button",ea:["html5-video-info-panel-close","ytp-button"],U:{title:"close"},da:"[x]"};g.V.call(this,{I:"div",M:"html5-video-info-panel",P:[b,{I:"div",M:"html5-video-info-panel-content",P:[{I:"div",P:[{I:"div",da:"Video ID / sCPN"},{I:"span",da:"{{video_id_and_cpn}}"}]},{I:"div",P:[{I:"div",da:"Viewport"},{I:"span",da:"{{dimensions}}"}]},{I:"div",P:[{I:"div",da:"Current / Optimal Res"},{I:"span",da:"{{resolution}}"}]},{I:"div",P:[{I:"div",da:"Volume / Normalized"},{I:"span",
da:"{{volume}}"}]},{I:"div",P:[{I:"div",da:"Codecs"},{I:"span",da:"{{codecs}}"}]},{I:"div",U:{style:"{{shader_info_style}}"},P:[{I:"div",da:"Shader Info"},{I:"span",da:"{{shader_info}}"}]},{I:"div",U:{style:"{{color_style}}"},P:[{I:"div",da:"Color"},{I:"span",da:"{{color}}"}]},{I:"div",U:{style:"{{drm_style}}"},P:[{I:"div",da:"Protected"},{I:"span",da:"{{drm}}"}]},{I:"div",U:{style:"{{host_style}}"},P:[{I:"div",da:"Host"},{I:"span",da:"{{stream_host}}"}]},{I:"div",U:{style:"{{bandwidth_style}}"},
P:[{I:"div",da:"Connection Speed"},{I:"span",P:[{I:"span",da:"{{bandwidth_chart}}"},{I:"span",da:"{{bandwidth_kbps}}"}]}]},{I:"div",U:{style:"{{network_activity_style}}"},P:[{I:"div",da:"Network Activity"},{I:"span",P:[{I:"span",da:"{{network_activity_chart}}"},{I:"span",da:"{{network_activity_bytes}}"}]}]},{I:"div",P:[{I:"div",da:"Buffer Health"},{I:"span",P:[{I:"span",da:"{{buffer_health_chart}}"},{I:"span",da:"{{buffer_health_seconds}}"}]}]},{I:"div",U:{style:"{{live_latency_style}}"},P:[{I:"div",
da:"Live Latency"},{I:"span",P:[{I:"span",da:"{{live_latency_chart}}"},{I:"span",da:"{{live_latency_secs}}"}]}]},{I:"div",U:{style:"{{live_mode_style}}"},P:[{I:"div",da:"Live Mode"},{I:"span",da:"{{live_mode}}"}]},{I:"div",P:[{I:"div",da:"Dropped Frames"},{I:"span",da:"{{dropped_frames}}"}]},{I:"div",U:{style:"{{playback_categories_style}}"},P:[{I:"div",da:"Playback Categories"},{I:"span",da:"{{playback_categories}}"}]}]}]});b&&this.R(this.o["html5-video-info-panel-close"],"click",this.hide);b=[0,
18750,37500,81250,128E3,256E3,512E3,2048E3,8192E3,32768E3,131072E3];var c="#000 #d53e4f #f46d43 #fdae61 #fee08b #e6f598 #abdda4 #66c2a5 #3288bd #124588 #fff".split(" "),d=b.map(function(a){return a/4});
this.D=new r_(300,1,150,b,c);g.M(this,this.D);this.updateValue("bandwidth_chart",this.D);this.G=new r_(300,1,150,[0,3,10,15,30,60,90],"#000 #66c2a5 #abdda4 #e6f598 #fdae61 #f46d43 #a8330f".split(" "));g.M(this,this.G);this.updateValue("live_latency_chart",this.G);this.F=new r_(300,1,150,[0,15,30,60,90,120],"#000 #fdae61 #e6f598 #66c2a5 #3288bd #fff".split(" "));g.M(this,this.F);this.updateValue("buffer_health_chart",this.F);this.H=new r_(300,1,150,d,c);g.M(this,this.H);this.updateValue("network_activity_chart",
this.H);this.B=new g.U(this.pw,500,this);g.M(this,this.B);this.C=a};
Ova=function(a){var b=/codecs="([^"]*)"/.exec(a.mimeType);return(b&&b[1]?b[1]+" ("+g.xI(a)+")":g.xI(a))+(a.video&&a.video.isAccelerated?" [acc]":"")};
u_=function(a,b){g.L.call(this);var c=this;this.va=Uja(b);var d=this.va.args||{};this.o=new iN(d);g.M(this,this.o);this.o.experiments.o("html5_parse_inline_fallback_host")&&(nL=!0);this.o.experiments.o("html5_vp9_new_mime")&&void 0!=window.navigator.mediaCapabilities&&(sM=!0);this.o.experiments.o("html5_manifestless_otf_killswitch")&&(dM=!1);this.o.experiments.o("html5_disable_subtract_cuepoint_offset")&&(sR=!0);this.o.experiments.o("html5_enable_webm_cue_refactor")&&(Pva=!0);this.o.experiments.o("html5_bmffparser_use_fast_read_string")&&
(dL=!0);this.Pe=GM(WM(this.o)&&!0,d.enablesizebutton);this.qd=GM(!1,d.player_wide);this.K=new JS;g.M(this,this.K);this.ca=GM(!1,d.external_list);this.Ba=(this.ud=GM(!1,d.external_play_video))&&this.o.experiments.o("player_unified_fullscreen_transitions");this.N=new g.SF(this);g.M(this,this.N);Fg=function(a,b){g.gE(b,"WARNING")};
this.aa=null;this.ga=new g.tD;g.M(this,this.ga);this.ha=new g.tD;g.M(this,this.ha);this.ka=new Mva(this.ha,this.o.experiments.o("use_local_interactions_library"));this.ka.pause();this.A=new OT(this);g.M(this,this.A);this.L=new OT(this,1);g.M(this,this.L);this.H=new k_(this);g.M(this,this.H);this.W=1;this.Sb={};this.O=this.o.storeUserVolume?eka():{volume:100,muted:this.o.mute};this.T=this.o.Lb?new iQ(this,1):new bI(this,1);g.M(this,this.T);this.F=null;this.sd={};d={};this.qc=(d.internalvideodatachange=
this.cS,d.playbackready=this.dS,d.playbackstarted=this.eS,d.statechange=this.fS,d.signatureexpired=this.GV,d);this.D=Qva(this);this.rd=new g.SF(this);g.M(this,this.rd);this.oa=new kQ(this.o,this.D);this.C=Rva(this);d={};this.Oe=(d.airplayactivechange=this.UR,d.airplayavailabilitychange=this.VR,d.beginseeking=this.oS,d.endseeking=this.gT,d.internalAbandon=this.zT,d.internalaudioformatchange=this.hS,d.internalvideodatachange=this.vv,d.internalvideoformatchange=this.iW,d.liveviewshift=this.HT,d.playbackstalledatstart=
this.MV,d.progresssync=this.UU,d.seekto=this.XN,d.onLoadProgress=this.IT,d.onVideoProgress=this.ZN,d.onLoadedMetadata=this.KT,d.onDompaused=this.bT,d.playbackready=this.GU,d.statechange=this.fF,d.connectionissue=this.MS,d.newelementrequired=this.EE,d.heartbeatparams=this.VN,d.videoelementevent=this.YN,d.drmoutputrestricted=this.dT,d.requestmediasource=this.kV,d);this.wa=new g.SF(this);g.M(this,this.wa);this.B=null;d=g.gN(this.o)?3:10;this.Ha=new e_(d,function(a){a!=g.Y(c,a.getPlayerType())&&(Sva("c",
"prefetch_"+a.getVideoData().videoId),a.dispose())});
g.M(this,this.Ha);this.wc=this.yc=-1;this.fb=new g.U(this.H.Ef,16,this.H);g.M(this,this.fb);this.zb=!1;this.pa=!0;this.xa=this.Qa=this.G=null;this.Od=!1;this.Wc=this.we=null;this.wd=this.sa=0;this.ba=this.Da=!1;this.ia=this.Hb=this.La=this.J=null;this.Kb=window.NaN;this.Pd=!1;this.xe=!0;this.Va=new UZ(this.A,this.o,this.C);this.N.R(this.A,"crn_appapi",this.aS);this.N.R(this.A,"crx_appapi",this.bS);this.N.R(this.A,"crn_appad",this.iE);this.N.R(this.A,"crx_appad",this.iE);this.N.R(this.A,"crn_queued",
function(){return g.ag(c.YU,c)});
this.N.R(this.A,"presentingplayerstatechange",this.WN);this.N.R(this.A,"resize",this.mV);this.H.ya(g.zd(a));this.N.R(this.A,"offlineslatestatechange",this.tU);this.td=Tva(this,this.H.element);g.M(this,this.td);g.SU=this.o.J;this.o.ka&&(g.xX.ux=g.TZ);Uva(this);(0,g.lQ)("fs",void 0,"");Vva(this);this.o.ka&&this.D.dA()};
Rva=function(a){var b=new RS(a.o,1,a.oa,a.H,(0,g.B)(a.ga.V,a.ga),(0,g.B)(a.A.xj,a.A),a.H.ha,a.K);MT(b,a.o.o?1:Wva(a,g.sH("yt-player-playback-rate")||1));v_(a,b,a.qc);return b};
Qva=function(a){var b="",c=a.va.assets;c=c?c.js||"":"";0==c.indexOf("//")&&(c=a.o.protocol+":"+c);"/base.js"==c.substr(-8)&&(b=c.substr(0,c.length-8)+"/");!a.o.experiments.o("web_player_module_url_debug_killswitch")&&(c=Error().stack)&&(c=c.match(/\((.*?\/(debug-)?player-.*?):\d+:\d+\)/))&&(c=c[1],c.includes(b)||g.gE(Error("Player module URL mismatch: "+(c+" vs "+b+".")),"WARNING"));b=new wX(a.A,b,a);c={};a=(c.loaded=(0,g.B)(a.hU,a),c.unloaded=(0,g.B)(a.iU,a),c.destroyed=(0,g.B)(a.zw,a),c);b.ag=a;
return b};
Xva=function(a,b){var c=!(!a.aa||!a.aa.A);a.aa||(a.aa=new t_(a),g.M(a,a.aa),g.nU(a.A,a.aa.element,4));g.VH(a.aa,b);w_(a)&&c!=b&&g.WT(a.D).mQ();c=a.B;b&&c&&c.Jb("sfn","1",!0)};
z_=function(a){var b=x_.getTag(!0,!a.o.deviceHasDisplay);a.F=new g.vQ(b);g.M(a,a.F);a.B&&y_(a,a.B);try{a.o.aa?(a.xa&&a.N.Ia(a.xa),a.xa=a.N.R(a.F,"volumechange",a.eU)):(a.F.setVolume(a.O.volume/100),a.F.Vk(a.O.muted))}catch(d){var c="setvolume.1;emsg."+(d.message&&d.message.replace(/[;:,]/g,"_"));g.aT(a.C,"html5.missingapi","YTP_ERROR_UNSUPPORTED_DEVICE",c);return}g.UF(a.wa);Yva(a);c=a.H;c.B=b;c.J=!1;c.B.parentNode||Td(c.H,c.B,0);c.K=new g.jh(0,0,0,0);Lva(c);l_(c);g.S(c.B,"video-stream");g.S(c.B,"html5-main-video");
b=c.app.o;b.Sb&&c.B.setAttribute("data-no-fullscreen",!0);b.Gg&&(c.B.setAttribute("webkit-playsinline",""),c.B.setAttribute("playsinline",""));b.vo&&c.B&&c.R(c.B,"click",c.B.play,c.B);try{a.F.Sk()}catch(d){c="activate.1;emsg."+(d.message&&d.message.replace(/[;:,]/g,"_")),g.aT(a.C,"html5.missingapi","YTP_ERROR_UNSUPPORTED_DEVICE",c)}};
y_=function(a,b){WZ(a,"html5_gapless_to_standard_killswitch")||b.O.isActive()||(a.F.K=!1,a.F.Hd());if(WZ(a,"html5_use_media_element_view")){var c=window.MediaSource&&window.SourceBuffer&&window.SourceBuffer.prototype.hasOwnProperty("timestampOffset")?a.o.experiments.A("html5_view_offset"):0;qT(b,new g.zS(a.F,c,window.Infinity))}else qT(b,a.F)};
A_=function(a){a.F&&(a.xa&&(a.N.Ia(a.xa),a.xa=null),g.UF(a.wa),a.B&&(sT(a.B),a.B.O.isActive()&&a.F.Hd()),Hva(a.H),a.F.Vh()&&x_.releaseTag(a.F.na()),a.F=null)};
vU=function(a,b,c){c=void 0===c?!1:c;b=PV(a,b);WZ(a,"html5_gapless_set_presenting")&&c&&a.B&&tva(a.B,b,XZ(a),a.o)&&WS(b,0,1E8);xU(a,b)};
xU=function(a,b){if(a.B!=b){var c=null;a.B&&(c=a.B.B,zX(a.D,3),jU(a,"cuerangesremoved",TR(a.B.H)||[]),Uqa(a));B_(a,b);a.B=b;a.F&&y_(a,b);v_(a,b,a.Oe);a.vv("newdata",b,b.getVideoData());c&&!g.PP(c,b.B)&&a.fF(new g.UP(b.B,c));b.ha.o&&a.vv("dataloaded",b,b.getVideoData());(c=(c=b.getVideoData().Ga)&&c.video)&&a.A.za("onPlaybackQualityChange",c.quality);jU(a,"cuerangesadded",TR(a.B.H)||[]);WZ(a,"web_player_play_dompaused_presenting_killswitch")?QP(b.B)?zT(b):g.W(b.B,2)&&C_(a):(c=b.B,g.W(c,2)?C_(a):g.W(c,
8)&&zT(b))}};
C_=function(a){if(a.G&&(g.ZM(a.o)||a.A.isFullscreen()&&!a.Ba)&&g.D_(a)){var b=a.o.experiments.o("html5_player_autonav_logging");E_(a,!1,b);b=!0}else b=!1;b||((b=a.C.A)&&b.nn(),a.o.experiments.o("web_player_state_on_player_change_killswitch")||F_(a,TP(Qqa(a))))};
v_=function(a,b,c){for(var d in c)b.subscribe(d,c[d],a)};
Yva=function(a){if(a.o.experiments.o("web_player_pip")){var b=a.F;LI()?a.wa.R(b,"webkitpresentationmodechanged",a.uV):MI()&&(a.wa.R(b,"enterpictureinpicture",function(){KS(a.K,!0)}),a.wa.R(b,"leavepictureinpicture",function(){KS(a.K,!1)}))}};
B_=function(a,b){if(b!=a.C){var c=b.getPlayerType();a.sd[c]=b}};
Uqa=function(a){var b;if(b=a.ia)b=a.F,b=!!b&&b==a.ia.B;b&&(A_(a),z_(a));if(a.B){sT(a.B);b=a.B;var c=a.Oe,d;for(d in c)b.unsubscribe(d,c[d],a)}a.B=null};
g.Y=function(a,b){return b?1==b?a.C:a.sd[b]||null:a.B};
PV=function(a,b){var c=g.Y(a,b);c||(c=VZ(a,b),B_(a,c));return c};
VZ=function(a,b){var c=a.oa;2==b&&(c=new kQ(a.o));return new RS(a.o,b,c,a.H,(0,g.B)(a.ga.V,a.ga),(0,g.B)(a.A.xj,a.A),a.H.ha,a.K)};
G_=function(a,b){return uX(a,b)?a.C:b};
Zva=function(a,b){var c=a.B;return c&&b==a.C&&uX(a,b)&&uX(a,c)?c:b};
$va=function(a){var b=a.getVideoData(),c=10<b.lengthSeconds,d=a.D;if(!d.Kc)try{d.T.getVideoData(1).adModule?(d.Kc=new jX(d.mz,d.mz.L),d.Kc&&d.Kc.create()):g.mU(d.T,"ad")}catch(e){g.mU(d.T,"ad"),g.gE(e)}d.bA();d.It&&c?g.mU(d.T,"endscreen"):d.Dt();d.gA();d.iA();d.hA();d.aA();d.It&&c?(g.mU(d.T,"annotations_module"),g.mU(d.T,"creatorendscreen")):(d.Bt(),d.Ct());d.Yz();d.Xz();d.Et();d.cA();d.Zz();d.jA();d.fA();Fta(d);c&&uP(b)?a.rd.R(a.A,"presentingplayerstatechange",a.NU):Dta(a.D);a.A.V("videoready",b)};
kX=function(a){return a.C.getVideoData()};
awa=function(a,b){var c=g.Y(a,b);return(c=c?c.A:null)?FP(c):0};
H_=function(a){a=kX(a);return uP(a)};
Uva=function(a){var b=new g.YO(a.o,a.va.args);g.uH()&&b.cd.push("remote");b.Wd()&&(ZS(a.C,b,(0,g.B)(a.Td,a)),!a.o.experiments.o("html5_delay_initial_loading")&&H_(a)&&(a.o.td||a.o.ud)&&eT(a.C))};
Vva=function(a){var b=a.H,c=b.app.o;c.wd||b.Hq("tag-pool-enabled");c.jc&&b.Hq("house-brand");"gvn"==c.playerStyle&&(b.Hq("ytp-gvn"),b.element.style.backgroundColor="transparent");c.ha&&(b.L=g.fG("yt-dom-content-change",b.Ef,b));b.R(window,"resize",b.Ef,b);b=a.T;b.B=a.H.element;for(var d in b.C)b.B[d]=b.C[d];(d=wF(a.H.element))&&a.N.R(a.H,d,a.oT);a.N.R(window,"resize",a.nV);b=a.va.args;z_(a);d=kX(a);a.A.za("onVolumeChange",a.O);if(b&&sQ(b))if((c=oN(a.o))&&!a.ca&&(b.fetch=0),I_(a,b),c&&!a.ca)J_(a);
else if(!d.Wd())a.G.onReady((0,g.B)(a.Iw,a));xU(a,a.C);g.W(a.C.B,128)||(b=qka(a.o.deviceHasDisplay,WZ(a,"html5_disable_vp8_only_browsers")),"fmt.noneavailable"==b?g.aT(a.C,"html5.missingapi","YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK","nocodecs.1"):"html5.missingapi"==b?g.aT(a.C,b,"YTP_ERROR_UNSUPPORTED_DEVICE","nocanplaymedia.1"):d&&d.Wd()&&H_(a)&&(a.o.td||a.o.ud)?K_(a):g.vN(a.o)||bwa(a))};
bwa=function(a){a.A.V("initializingmode");g.L_(a,2);a.D.Et()};
K_=function(a){if(g.W(a.C.B,128))return!1;H_(a)&&a.o.ud&&(x_.hasTags(void 0)&&a.ba?(fI(a,{muted:!1,volume:a.O.volume},!1),M_(a,!1)):x_.hasTags(void 0)||a.O.muted||(fI(a,{muted:!0,volume:a.O.volume},!1),M_(a,!0)));cwa(a,1,a.C.getVideoData());a.A.V("initializingmode");xU(a,a.C);g.L_(a,3);var b;if(!(b=!a.o.wd)){if(b=a.ia)b=a.F,b=!!b&&b==a.ia.B;b=b&&a.Od}b&&(A_(a),z_(a),y_(a,a.C));gT(a.C);if(g.W(a.C.B,128))return!1;F_(a,3);return a.Od=!0};
w_=function(a){a=g.WT(a.D);return!!a&&a.loaded};
dwa=function(a,b){if(a.B==a.C&&a.B.we!=b){var c=a.B;c.we=b;c.A&&c.A.uq(b);a.A.V("loopchange",b)}};
N_=function(a,b,c){(0,window.isNaN)(b)||(b=Wva(a,b),a.C.xa!=b&&(MT(a.C,b),c&&!a.o.o&&g.rH("yt-player-playback-rate",b),a.A.za("onPlaybackRateChange",b)))};
Wva=function(a,b){var c=1;c=a.A.Wk();return c=1>b?g.Ia(c,function(a){return a>=b}):Ka(c,function(a){return a<=b})};
ewa=function(a,b){var c=g.Y(a,b);return c?uX(a,c)?(c=G_(a,c),IT(c)-c.getCurrentTime()+a.getCurrentTime(b)):IT(c):0};
O_=function(a,b,c){if(uX(a,c)){c=c.getVideoData();a=a.Va;for(var d=g.q(a.A),e=d.next();!e.done;e=d.next())if(e=e.value,c.nf==e.nf){b+=e.sm/1E3;break}d=b;a=g.q(a.A);for(e=a.next();!e.done;e=a.next()){e=e.value;if(c.nf==e.nf)break;var f=e.sm/1E3;if(f<b)d+=e.durationMs/1E3+f-e.pl/1E3;else break}return d}return b};
P_=function(a,b){var c=JT(a.C,b);if(a.B&&a.B!=a.C&&(c=fwa(c,JT(a.B,b),"ad_"),b)){var d=c;var e={};var f=g.zd("movie_player");f&&(e.bounds=f.getBoundingClientRect(),e["class"]=f.className);f={};var k=g.K("video-ads");k?(gwa(k,f),f.html=k.outerHTML):f.missing=1;k={};var l=g.K("videoAdUiSkipContainer"),m=g.K("ytp-ad-skip-button-container"),n=l||m;n?(gwa(n,k),k.ima=l?1:0,k.bulleit=m?1:0):k.missing=1;l={};l.player=e;l.videoAds=f;l.skipButton=k;e=JSON.stringify(l);d.ad_skipBtnDbgInfo=e}b&&a.F&&(c["0sz"]=
0==a.F.pn().tf(),c.op=a.F.tn("opacity"),d=a.F.Dv().y+a.F.pn().height,c.yof=0>=d,c.dis=a.F.tn("display"));(d=b?(0,g.dT)():null)&&(c.gpu=d);c.cgr=!0;c.debug_playbackQuality=a.L.wn();c.debug_date=(new Date).toString();delete c.uga;delete c.q;(d=a.D.cg)&&(c=fwa(c,d.xH(),"fresca_"));return JSON.stringify(c,null,2)};
iU=function(a){return 1==a.W?1:w_(a)?3:g.Y(a).getPlayerType()};
Qqa=function(a,b){return 3==iU(a)?g.WT(a.D).F:g.Y(a,b).B};
Q_=function(a,b){return 3==iU(a)?TP(g.WT(a.D).F):2!=b||uX(a)?a.yc:a.wc};
iwa=function(a){hwa(a);dwa(a,!1);a.Sb={};var b=a.oa;if(b.o){var c=b.o;c.Gh={};c.lm={}}b.A=!1;b=a.Va;a=a.C;a.getPlayerType();ZZ(b,!1);Bva(b);b.B=a};
J_=function(a){var b=jwa();if(b)if(b.list){if(a.G&&a.G.listId.toString()==b.list)if(0<=b.index){var c=b.video;a.A.isFullscreen()&&((c=c[a.G.Be()])&&c.encrypted_id!=a.G.ab().videoId||(b.index=a.G.Be()));uQ(a.G,b);a.Qa&&R_(a,a.Qa)}else a.Qa=null}else a.Uo()};
I_=function(a,b){a.G&&(a.G.unsubscribe("error",a.Uo,a),g.lf(a.G),a.G=null);b&&(a.ca&&(b.fetch=0),a.G=new g.rQ(a.o,b),a.G.subscribe("error",a.Uo,a))};
S_=function(a,b,c,d){b in a.Sb||(c=new g.nQ(c,d,{id:b,priority:1}),c.namespace="appad",SR(a.C.H,[c]),a.Sb[b]=c)};
kwa=function(a){if(a.o.experiments.o("enable_player_chapter_markers")){for(var b=a.getVideoData(),c=[],d=0;d<b.chapterMarkers.length;d++){var e=b.chapterMarkers[d].playerChapterMarkerRenderer;if(e){var f={id:"__chapterMarker"+d+"__",style:"ytp-chapter-marker",visible:!0};e.color&&(f.color=e.color);e.tooltip&&(f.tooltip=e.tooltip);e.icons&&(f.icons=e.icons.map(function(a){return a.thumbnails[0].url}));
var k=e.startTimeMs;e=new g.nQ(k,e.endTimeMs||k,f);e.namespace="appchaptermarker";c.push(e)}}gU(a,c,1)}};
g.L_=function(a,b){b!=a.W&&(2!=b||1!=iU(a)&&!a.o.experiments.o("web_player_app_state_fix_killswitch")||(F_(a,-1),F_(a,5)),a.W=b,a.A.V("appstatechange",b))};
F_=function(a,b){if(a.B){var c=a.B.getPlayerType();if(2==c&&!uX(a)){a.wc!=b&&(a.wc=b,a.A.za("onAdStateChange",b));return}if(2==c&&uX(a)||5==c||6==c)if(-1==b||0==b||5==b)return}a.yc!=b&&(a.yc=b,a.A.za("onStateChange",b))};
sX=function(a,b,c,d,e){c=0!=c;if(e=g.Y(a,e))2==a.W&&K_(a),uX(a,e)?(a=a.Va,b=void 0===b?0:b,d=void 0===d?null:d,(void 0===c?0:c)?uva(a,b):(c=b,b=g.uU(a.o),e=b==a.C?a.G:null,ZZ(a,!1),a.K=c,null!=d&&a.H.start(d),b&&(a.G=e||b.B,Aqa(b),a.C=b))):iT(e,b,c,d)};
uX=function(a,b){var c=b||a.B,d;if(d=!a.o.experiments.o("web_player_continuous_timeline_killswitch")&&c)a:if(d=a.Va,c=c.getVideoData(),c==d.B.getVideoData()&&d.A.length)d=!0;else{d=g.q(d.A);for(var e=d.next();!e.done;e=d.next())if(c.nf==e.value.nf){d=!0;break a}d=!1}return d?!0:!1};
XZ=function(a){return Math.min(1E3*Mqa(a.B,!0),a.Kb)};
T_=function(a){a.B.unsubscribe("internalvideodatachange",a.Mi,a);a.B.unsubscribe("mediasourceattached",a.Mi,a);a.J&&a.J.unsubscribe("internalvideodatachange",a.Mi,a)};
wva=function(a){var b=a.J,c=a.B;(0,window.isFinite)(a.Kb)||QS(a.B,!0,!1);a_(a,a.J.getVideoData(),b.getPlayerType());vU(a,b.getPlayerType());a.B.O.isActive()&&g.ag(function(){!a.B.getVideoData().Ve&&QP(a.B.B)&&Kqa(a.B)});
yva(a);c.la()||WS(c,0,window.Infinity);a.A.za("onQueuedVideoLoaded")};
yva=function(a){a.Hb.H.C(a.La);a.La.dispose();a.Hb=null;a.La=null;a.J=null;a.Kb=window.NaN};
U_=function(a,b,c,d,e){a.o.jc&&WN(b);var f=new g.YO(a.o,b);d||(b&&sQ(b)?(oN(a.o)&&!a.ca&&(b.fetch=0),I_(a,b)):a.G&&I_(a,null),a.ca=GM(!1,b.external_list),oN(a.o)&&!a.ca&&J_(a));return a_(a,f,c,e)};
cwa=function(a,b,c){if(a.J&&b==a.J.getPlayerType()&&c.videoId==a.J.getVideoData().videoId){var d=a.J;a.J=null}if(!d){var e=b+c.videoId;d=a.Ha.get(e);if(!d)return null;a.Ha.remove(e);if(g.W(d.B,128))return d.dispose(),null;if(d==g.Y(a,b))return d}if((d.getVideoData().oauthToken||c.oauthToken)&&d.getVideoData().oauthToken!=c.oauthToken)return null;if(1==d.getPlayerType()){d.getVideoData().autonavState=a.C.getVideoData().autonavState;b=d;c=a.C;e=a.qc;for(var f in e)c.unsubscribe(f,e[f],a);f=a.C.xa;a.C.dispose();
a.C=b;MT(a.C,f);v_(a,b,a.qc);iwa(a)}else(f=g.Y(a,b))&&f.dispose();a.B.getPlayerType()==d.getPlayerType()?xU(a,d):B_(a,d);return d};
a_=function(a,b,c,d){NO("_start","")||(CO("p",""),a.oa.info("srt",0));var e=cwa(a,c||a.B.getPlayerType(),b);e&&(0,g.lQ)("pfp",void 0,"prefetch_"+b.videoId);if(!e){e=g.Y(a,c);if(!e)return!1;a.fb.stop();V_(a,c);ZS(e,b,(0,g.B)(a.Td,a),d)}e==a.C&&(a.o.Va=b.oauthToken);if(!bT(e))return!1;a.zb&&(e.fb=!1,a.zb=!1);if(e==a.C)return g.L_(a,1),K_(a);gT(e);return!0};
W_=function(a,b,c){c=g.Y(a,c);b&&c==a.C&&(c.getVideoData().Xh=!0)};
Y_=function(a,b,c){a.o.jc&&WN(b);if(b&&sQ(b))if(a.pa=!0,I_(a,b),(b=a.G.ab())&&b.Wd())X_(a,b,c);else a.G.onReady((0,g.B)(a.Iw,a));else c||(c=iU(a)),1==c&&a.Uo(),X_(a,new g.YO(a.o,b),c)};
X_=function(a,b,c){var d=g.Y(a,c);d&&(V_(a,c),ZS(d,b,(0,g.B)(a.Td,a)),d==a.C&&(g.L_(a,1),bwa(a)))};
g.$_=function(a,b,c,d,e,f,k){if(!b&&!d)throw Error("Playback source is invalid");a.A.isFullscreen()&&!a.Ba||!WM(a.o)&&!g.qN(a.o)?(c=a.oa,c.o&&(f=c.o,f.Gh={},f.lm={}),c.A=!1,a.oa.reset(),b={video_id:b},e&&(b.autoplay="1"),a.o.experiments.o("html5_player_autonav_logging")&&e&&(b.autonav="1"),d?(b.list=d,a.pa=!1,Z_(a,b,void 0,void 0,void 0)):U_(a,b,1)):(c=c||{},c.lact=IG(),c.vis=a.A.xj(),a.ud||"gaming"==a.o.playerStyle?a.A.za("onPlayVideo",{videoId:b,watchEndpoint:k,sessionData:c,listId:d}):(a=f&&a.getVideoData().isLiveDestination?
a.o.loaderUrl:a.o.getVideoUrl(b,d),g.y("yt.player.exports.navigate")(a,c)))};
Z_=function(a,b,c,d,e){if(g.Aa(b)&&!g.xa(b)){c="playlist list listType index startSeconds suggestedQuality".split(" ");d={};for(e=0;e<c.length;e++){var f=c[e];b[f]&&(d[f]=b[f])}b=d}else c={index:c,startSeconds:d,suggestedQuality:e},g.w(b)&&16==b.length?c.list="PL"+b:c.playlist=b,b=c;I_(a,b);a.G.onReady((0,g.B)(a.Iw,a))};
g.D_=function(a){if(a.A.app.ba)return!1;if(3==iU(a))return!0;oN(a.o)&&!a.ca&&J_(a);return!(!a.G||!a.G.hasNext())};
E_=function(a,b,c){var d=a.C.getVideoData().suggestions;g.pU(a.A)&&d?(d=(0,g.I)(d,function(b){return g.CX(a.o,b)}),b=d[0],d=c?b.yA:b.Ld,g.$_(a,b.ab().videoId,d,b.getPlaylistId(),c)):!a.ca||a.A.isFullscreen()&&!a.Ba?3==iU(a)?g.WT(a.D).kQ():a.G&&(oN(a.o)&&!a.A.isFullscreen()?R_(a,"yt.www.watch.lists.next"):(a.G.hasNext(b)&&tQ(a.G,ina(a.G)),a.G.ad?(b=c&&a.o.experiments.o("html5_player_autonav_logging"),a_(a,a.G.ab(void 0,c,b),1)):a.pa=!1)):a.A.za("onPlaylistNext")};
lwa=function(a,b){!a.ca||a.A.isFullscreen()&&!a.Ba?3==iU(a)?g.WT(a.D).lQ():a.G&&(oN(a.o)&&!a.A.isFullscreen()?R_(a,"yt.www.watch.lists.prev"):(a.G.kg(b)&&tQ(a.G,jna(a.G)),a.G.ad?a_(a,a.G.ab(),1):a.pa=!1)):a.A.za("onPlaylistPrevious")};
R_=function(a,b){var c=g.y(b);if(c){var d=jwa();d&&d.list&&c();a.Qa=null}else a.Qa=b};
jwa=function(){var a=g.y("yt.www.watch.lists.getState");return a?a():null};
g.mwa=function(a){if(!a.F||!a.F.Vh())return null;var b=a.F;if(a.ia){var c=a.ia;c.B?c.B!=b&&(g.yQ(c),c.B=b,c.A=null):c.B=b}else a.ia=Fva(a.A,b),a.ia&&g.M(a,a.ia);return a.ia};
nwa=function(a,b,c,d,e,f){b={id:b};"chapter"==f?(b.style="ytp-chapter-marker",b.visible=!0):(0,window.isNaN)(e)||("ad"==f?b.style="ytp-ad-progress":(b.style="ytp-time-marker",b.color=e),b.visible=!0);c=new g.nQ(1E3*c,1E3*d,b);c.namespace="appapi";gU(a,[c],1);return!0};
gU=function(a,b,c){var d=g.Y(a,c);d&&(SR(d.H,b),c&&iU(a)!=c||jU(a,"cuerangesadded",b))};
zta=function(a){var b=g.tG(),c=a.getCurrentTime();a=a.getVideoData();return b-Math.max(1E3*(c-a.startSeconds),0)};
fI=function(a,b,c){a.o.K&&(a.O=b,b.muted||M_(a,!1),c&&a.o.storeUserVolume&&!a.o.aa&&(c={volume:Math.floor(b.volume),muted:b.muted},c.unstorable||(g.rH("yt-player-volume",c),g.rH("yt-player-volume",c,2592E3))),owa(a),c=g.JI&&!a.F.Dd(),!a.o.aa||c)&&(b=g.cc(b),a.o.storeUserVolume||(b.unstorable=!0),a.A.za("onVolumeChange",b))};
owa=function(a){var b=a.getVideoData();if(!b.Ho){b=a.o.aa?1:xP(b);var c=a.F;c.setVolume(a.O.volume*b/100);c.Vk(a.O.muted)}};
M_=function(a,b){b!=a.ba&&(a.ba=b,a.A.V("mutedautoplaychange",b))};
a0=function(a){var b=g.uF();return b&&(b==a.H.element||a.F&&b==a.F.na())?b:null};
pwa=function(a,b){var c=window.screen&&window.screen.orientation;if(a.o.experiments.o("lock_fullscreen2")&&c&&c.lock&&(!g.JI||!g.b0))if(b){var d=0==c.type.indexOf("portrait"),e=g.m_(a.H),f=d;1>e?f=!0:1<e&&(f=!1);if(!a.Da||f!=d){if(c=c.lock(f?"portrait":"landscape"))c["catch"](g.A);a.Da=!0}}else a.Da&&(a.Da=!1,c.unlock())};
d0=function(a,b){var c=!!b,d=!!c0(a)!=c;WZ(a,"html5_new_vis_fullscreen_and_airplay")||(a.wd=b,a.o.Tj=c);var e=a.K;e.F!=b&&(e.F=b,e.B());WZ(a,"html5_media_fullscreen")&&!c&&a.F&&g.uF()==a.F.na()&&a.F.nn();a.H.Ef();d&&(0,g.lQ)("fsc",void 0,"");d&&(a.A.V("fullscreentoggled",c),d=kX(a),c={fullscreen:c,videoId:d.ypcOrigin||d.videoId,time:a.getCurrentTime()},a.L.getPlaylistId()&&(c.listId=a.L.getPlaylistId()),a.A.za("onFullscreenChange",c))};
c0=function(a){return WZ(a,"html5_new_vis_fullscreen_and_airplay")?a.K.F:a.wd};
jU=function(a,b,c){a.A.V(b,c);var d=g.gN(a.o)||g.hN(a.o)||"WEB_REMIX"==a.o.A.c;if(c&&d){switch(b){case "cuerangemarkersupdated":var e="onCueRangeMarkersUpdated";break;case "cuerangesadded":e="onCueRangesAdded";break;case "cuerangesremoved":e="onCueRangesRemoved"}e&&a.A.za(e,c)}};
pX=function(a,b){var c=g.Y(a,b);c&&(2==a.W?K_(a):a.o.experiments.o("html5_restore_userreload_killswitch")&&c.B.isError()?e0(a,"user"):(null!=a.aa&&a.aa.A&&a.aa.start(),g.W(c.B,2)?sX(a,0):zT(c)))};
rX=function(a,b){var c=g.Y(a,b);c&&lT(c)};
qwa=function(a){var b=a.C.getVideoData(),c=new g.YO(a.o,{video_id:b.videoId,oauth_token:b.oauthToken});a.o.experiments.o("html5_stopVideo_copy_thumbs_killswitch")||(c.xi=g.cc(b.xi));X_(a,c,1);null!=a.aa&&a.aa.stop()};
V_=function(a,b){g.sO(a.sa);a.sa=0;var c=g.Y(a,b);c&&1!=a.W&&2!=a.W&&(c==a.B&&zX(a.D,4),1==b&&(a.o.experiments.o("html5_stop_video_in_cancel_playback")&&GT(c),hwa(a)),g.pT(c),jU(a,"cuerangesremoved",TR(c.H)||[]),c.H.reset())};
f0=function(a,b,c,d,e){c=void 0===c?!0:c;var f=g.Y(a,e);f&&(2==f.getPlayerType()&&!uX(a,f)||g.qP(f.getVideoData()))||(3==iU(a)?g.WT(a.D).Dn("control_seek",b,c):sX(a,b,c,d,e))};
e0=function(a,b,c,d){if(!(a.zb||WZ(a,"html5_only_reload_for_yt_killswitch")&&"yt"!=a.o.ca)){c&&(A_(a),z_(a));a.zb=!0;c=g.Y(a);c.fb=!0;c.Jb("reloading","reason."+b);var e=a.getVideoData(),f={};f.video_id=e.videoId;f.adformat=e.adFormat;e.Ma||(f.start=c.getCurrentTime(),f.resume="1");e.rf&&(f.vvt=e.rf);e.vssCredentialsToken&&(f.vss_credentials_token=e.vssCredentialsToken,f.vss_credentials_token_type=e.ds);e.oauthToken&&(f.oauth_token=e.oauthToken);f.autoplay=1;f.reload_count=e.Ag+1;f.reload_reason=
b;e.Gl&&(f.unplugged_partner_opt_out=e.Gl);U_(a,f,void 0,d)}};
rwa=function(a,b){kX(a).autonavState=b;g.rH("yt-player-autonavstate",b);a.A.V("autonavchange",b)};
swa=function(a){var b=a.getVideoData().Ho,c=a.o.Ch,d=a.F;b||c?d.Jt():(d.Mt(),fI(a,a.O))};
Tva=function(a,b){return a.o.experiments.o("html5_enable_embedded_player_visibility_signals")&&a.o.o?new i_(b):null};
hwa=function(a){(a=a.D.Kc)&&a.created&&a.destroy()};
WZ=function(a,b){return a.o.experiments.o(b)};
gwa=function(a,b){b.bounds=a.getBoundingClientRect();for(var c=g.q(["display","opacity","visibility","zIndex"]),d=c.next();!d.done;d=c.next())d=d.value,b[d]=Bh(a,d);b.hidden=!!a.hidden};
fwa=function(a,b,c){for(var d in b)a[c+d]=b[d];return a};
g0=function(a){this.length=a.length||a;for(var b=0;b<this.length;b++)this[b]=a[b]||0};
h0=function(a){this.length=a.length||a;for(var b=0;b<this.length;b++)this[b]=a[b]||0};
aa=[];ha="function"==typeof Object.create?Object.create:function(a){function b(){}
b.prototype=a;return new b};
if("function"==typeof Object.setPrototypeOf)i0=Object.setPrototypeOf;else{var j0;a:{var twa={xd:!0},uwa={};try{uwa.__proto__=twa;j0=uwa.xd;break a}catch(a){}j0=!1}i0=j0?function(a,b){a.__proto__=b;if(a.__proto__!==b)throw new TypeError(a+" is not extensible");return a}:null}
var ia=i0,la="function"==typeof Object.defineProperties?Object.defineProperty:function(a,b,c){a!=Array.prototype&&a!=Object.prototype&&(a[b]=c.value)},ka="undefined"!=typeof window&&window===this?this:"undefined"!=typeof window.global&&null!=window.global?window.global:this;
ma("String.prototype.repeat",function(a){return a?a:function(a){var b=na(this,null,"repeat");if(0>a||1342177279<a)throw new window.RangeError("Invalid count value");a|=0;for(var d="";a;)if(a&1&&(d+=b),a>>>=1)b+=b;return d}});
ma("Array.prototype.find",function(a){return a?a:function(a,c){a:{var b=this;b instanceof String&&(b=String(b));for(var e=b.length,f=0;f<e;f++){var k=b[f];if(a.call(c,k,f,b)){b=k;break a}}b=void 0}return b}});
ma("String.prototype.endsWith",function(a){return a?a:function(a,c){var b=na(this,a,"endsWith");a+="";void 0===c&&(c=b.length);for(var e=Math.max(0,Math.min(c|0,b.length)),f=a.length;0<f&&0<e;)if(b[--e]!=a[--f])return!1;return 0>=f}});
var aaa=function(){var a=0;return function(b){return"jscomp_symbol_"+(b||"")+a++}}(),vwa="function"==typeof Object.assign?Object.assign:function(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];
if(d)for(var e in d)ra(d,e)&&(a[e]=d[e])}return a};
ma("Object.assign",function(a){return a||vwa});
ma("Promise",function(a){function b(a){this.A=0;this.B=void 0;this.o=[];var b=this.C();try{a(b.resolve,b.reject)}catch(m){b.reject(m)}}
function c(){this.o=null}
function d(a){return a instanceof b?a:new b(function(b){b(a)})}
if(a)return a;c.prototype.A=function(a){null==this.o&&(this.o=[],this.C());this.o.push(a)};
c.prototype.C=function(){var a=this;this.B(function(){a.F()})};
var e=ka.setTimeout;c.prototype.B=function(a){e(a,0)};
c.prototype.F=function(){for(;this.o&&this.o.length;){var a=this.o;this.o=[];for(var b=0;b<a.length;++b){var c=a[b];a[b]=null;try{c()}catch(n){this.D(n)}}}this.o=null};
c.prototype.D=function(a){this.B(function(){throw a;})};
b.prototype.C=function(){function a(a){return function(d){c||(c=!0,a.call(b,d))}}
var b=this,c=!1;return{resolve:a(this.K),reject:a(this.D)}};
b.prototype.K=function(a){if(a===this)this.D(new TypeError("A Promise cannot resolve to itself"));else if(a instanceof b)this.L(a);else{a:switch(typeof a){case "object":var c=null!=a;break a;case "function":c=!0;break a;default:c=!1}c?this.J(a):this.F(a)}};
b.prototype.J=function(a){var b=void 0;try{b=a.then}catch(m){this.D(m);return}"function"==typeof b?this.N(b,a):this.F(a)};
b.prototype.D=function(a){this.G(2,a)};
b.prototype.F=function(a){this.G(1,a)};
b.prototype.G=function(a,b){if(0!=this.A)throw Error("Cannot settle("+a+", "+b+"): Promise already settled in state"+this.A);this.A=a;this.B=b;this.H()};
b.prototype.H=function(){if(null!=this.o){for(var a=0;a<this.o.length;++a)f.A(this.o[a]);this.o=null}};
var f=new c;b.prototype.L=function(a){var b=this.C();a.Oo(b.resolve,b.reject)};
b.prototype.N=function(a,b){var c=this.C();try{a.call(b,c.resolve,c.reject)}catch(n){c.reject(n)}};
b.prototype.then=function(a,c){function d(a,b){return"function"==typeof a?function(b){try{e(a(b))}catch(J){f(J)}}:b}
var e,f,k=new b(function(a,b){e=a;f=b});
this.Oo(d(a,e),d(c,f));return k};
b.prototype["catch"]=function(a){return this.then(void 0,a)};
b.prototype.Oo=function(a,b){function c(){switch(d.A){case 1:a(d.B);break;case 2:b(d.B);break;default:throw Error("Unexpected state: "+d.A);}}
var d=this;null==this.o?f.A(c):this.o.push(c)};
b.resolve=d;b.reject=function(a){return new b(function(b,c){c(a)})};
b.race=function(a){return new b(function(b,c){for(var e=g.q(a),f=e.next();!f.done;f=e.next())d(f.value).Oo(b,c)})};
b.all=function(a){var c=g.q(a),e=c.next();return e.done?d([]):new b(function(a,b){function f(b){return function(c){k[b]=c;l--;0==l&&a(k)}}
var k=[],l=0;do k.push(void 0),l++,d(e.value).Oo(f(k.length-1),b),e=c.next();while(!e.done)})};
return b});
ma("Math.trunc",function(a){return a?a:function(a){a=Number(a);if((0,window.isNaN)(a)||window.Infinity===a||-window.Infinity===a||0===a)return a;var b=Math.floor(Math.abs(a));return 0>a?-b:b}});
ma("Array.prototype.fill",function(a){return a?a:function(a,c,d){var b=this.length||0;0>c&&(c=Math.max(0,b+c));if(null==d||d>b)d=b;d=Number(d);0>d&&(d=Math.max(0,b+d));for(c=Number(c||0);c<d;c++)this[c]=a;return this}});
ma("Math.log10",function(a){return a?a:function(a){return Math.log(a)/Math.LN10}});
ma("WeakMap",function(a){function b(a){this.Ja=(k+=Math.random()+1).toString();if(a){a=g.q(a);for(var b;!(b=a.next()).done;)b=b.value,this.set(b[0],b[1])}}
function c(){}
function d(a){ra(a,f)||la(a,f,{value:new c})}
function e(a){var b=Object[a];b&&(Object[a]=function(a){if(a instanceof c)return a;d(a);return b(a)})}
if(function(){if(!a||!Object.seal)return!1;try{var b=Object.seal({}),c=Object.seal({}),d=new a([[b,2],[c,3]]);if(2!=d.get(b)||3!=d.get(c))return!1;d["delete"](b);d.set(c,4);return!d.has(b)&&4==d.get(c)}catch(p){return!1}}())return a;
var f="$jscomp_hidden_"+Math.random();e("freeze");e("preventExtensions");e("seal");var k=0;b.prototype.set=function(a,b){d(a);if(!ra(a,f))throw Error("WeakMap key fail: "+a);a[f][this.Ja]=b;return this};
b.prototype.get=function(a){return ra(a,f)?a[f][this.Ja]:void 0};
b.prototype.has=function(a){return ra(a,f)&&ra(a[f],this.Ja)};
b.prototype["delete"]=function(a){return ra(a,f)&&ra(a[f],this.Ja)?delete a[f][this.Ja]:!1};
return b});
ma("Map",function(a){function b(){var a={};return a.previous=a.next=a.head=a}
function c(a,b){var c=a.o;return pa(function(){if(c){for(;c.head!=a.o;)c=c.previous;for(;c.next!=c.head;)return c=c.next,{done:!1,value:b(c)};c=null}return{done:!0,value:void 0}})}
function d(a,b){var c=b&&typeof b;"object"==c||"function"==c?f.has(b)?c=f.get(b):(c=""+ ++k,f.set(b,c)):c="p_"+b;var d=a.A[c];if(d&&ra(a.A,c))for(var e=0;e<d.length;e++){var l=d[e];if(b!==b&&l.key!==l.key||b===l.key)return{id:c,list:d,index:e,Sd:l}}return{id:c,list:d,index:-1,Sd:void 0}}
function e(a){this.A={};this.o=b();this.size=0;if(a){a=g.q(a);for(var c;!(c=a.next()).done;)c=c.value,this.set(c[0],c[1])}}
if(function(){if(!a||"function"!=typeof a||!a.prototype.entries||"function"!=typeof Object.seal)return!1;try{var b=Object.seal({x:4}),c=new a(g.q([[b,"s"]]));if("s"!=c.get(b)||1!=c.size||c.get({x:4})||c.set({x:4},"t")!=c||2!=c.size)return!1;var d=c.entries(),e=d.next();if(e.done||e.value[0]!=b||"s"!=e.value[1])return!1;e=d.next();return e.done||4!=e.value[0].x||"t"!=e.value[1]||!d.next().done?!1:!0}catch(r){return!1}}())return a;
qa();var f=new window.WeakMap;e.prototype.set=function(a,b){a=0===a?0:a;var c=d(this,a);c.list||(c.list=this.A[c.id]=[]);c.Sd?c.Sd.value=b:(c.Sd={next:this.o,previous:this.o.previous,head:this.o,key:a,value:b},c.list.push(c.Sd),this.o.previous.next=c.Sd,this.o.previous=c.Sd,this.size++);return this};
e.prototype["delete"]=function(a){a=d(this,a);return a.Sd&&a.list?(a.list.splice(a.index,1),a.list.length||delete this.A[a.id],a.Sd.previous.next=a.Sd.next,a.Sd.next.previous=a.Sd.previous,a.Sd.head=null,this.size--,!0):!1};
e.prototype.clear=function(){this.A={};this.o=this.o.previous=b();this.size=0};
e.prototype.has=function(a){return!!d(this,a).Sd};
e.prototype.get=function(a){return(a=d(this,a).Sd)&&a.value};
e.prototype.entries=function(){return c(this,function(a){return[a.key,a.value]})};
e.prototype.keys=function(){return c(this,function(a){return a.key})};
e.prototype.values=function(){return c(this,function(a){return a.value})};
e.prototype.forEach=function(a,b){for(var c=this.entries(),d;!(d=c.next()).done;)d=d.value,a.call(b,d[1],d[0],this)};
e.prototype[window.Symbol.iterator]=e.prototype.entries;var k=0;return e});
ma("Set",function(a){function b(a){this.o=new window.Map;if(a){a=g.q(a);for(var b;!(b=a.next()).done;)this.add(b.value)}this.size=this.o.size}
if(function(){if(!a||"function"!=typeof a||!a.prototype.entries||"function"!=typeof Object.seal)return!1;try{var b=Object.seal({x:4}),d=new a(g.q([b]));if(!d.has(b)||1!=d.size||d.add(b)!=d||1!=d.size||d.add({x:4})!=d||2!=d.size)return!1;var e=d.entries(),f=e.next();if(f.done||f.value[0]!=b||f.value[1]!=b)return!1;f=e.next();return f.done||f.value[0]==b||4!=f.value[0].x||f.value[1]!=f.value[0]?!1:e.next().done}catch(k){return!1}}())return a;
qa();b.prototype.add=function(a){a=0===a?0:a;this.o.set(a,a);this.size=this.o.size;return this};
b.prototype["delete"]=function(a){a=this.o["delete"](a);this.size=this.o.size;return a};
b.prototype.clear=function(){this.o.clear();this.size=0};
b.prototype.has=function(a){return this.o.has(a)};
b.prototype.entries=function(){return this.o.entries()};
b.prototype.values=function(){return this.o.values()};
b.prototype.keys=b.prototype.values;b.prototype[window.Symbol.iterator]=b.prototype.values;b.prototype.forEach=function(a,b){var c=this;this.o.forEach(function(d){return a.call(b,d,d,c)})};
return b});
ma("Object.is",function(a){return a?a:function(a,c){return a===c?0!==a||1/a===1/c:a!==a&&c!==c}});
ma("Array.prototype.includes",function(a){return a?a:function(a,c){var b=this;b instanceof String&&(b=String(b));var e=b.length,f=c||0;for(0>f&&(f=Math.max(f+e,0));f<e;f++){var k=b[f];if(k===a||Object.is(k,a))return!0}return!1}});
ma("String.prototype.includes",function(a){return a?a:function(a,c){return-1!==na(this,a,"includes").indexOf(a,c||0)}});
ma("Array.from",function(a){return a?a:function(a,c,d){c=null!=c?c:function(a){return a};
var b=[],f="undefined"!=typeof window.Symbol&&window.Symbol.iterator&&a[window.Symbol.iterator];if("function"==typeof f){a=f.call(a);for(var k=0;!(f=a.next()).done;)b.push(c.call(d,f.value,k++))}else for(f=a.length,k=0;k<f;k++)b.push(c.call(d,a[k],k));return b}});
ma("Object.values",function(a){return a?a:function(a){var b=[],d;for(d in a)ra(a,d)&&b.push(a[d]);return b}});
var wwa=function(){function a(){function a(){}
window.Reflect.construct(a,[],function(){});
return new a instanceof a}
if("undefined"!=typeof window.Reflect&&window.Reflect.construct){if(a())return window.Reflect.construct;var b=window.Reflect.construct;return function(a,d,e){a=b(a,d);e&&window.Reflect.setPrototypeOf(a,e.prototype);return a}}return function(a,b,e){void 0===e&&(e=a);
e=ha(e.prototype||Object.prototype);return Function.prototype.apply.call(a,e,b)||e}}();
ma("Reflect.construct",function(){return wwa});
ma("Number.isFinite",function(a){return a?a:function(a){return"number"!==typeof a?!1:!(0,window.isNaN)(a)&&window.Infinity!==a&&-window.Infinity!==a}});
ma("Number.parseInt",function(a){return a||window.parseInt});
ma("Math.log2",function(a){return a?a:function(a){return Math.log(a)/Math.LN2}});
Fx=Fx||{};g.x=this;Qaa=/^[\w+/_-]+[=]{0,2}$/;id=null;Ba="closure_uid_"+(1E9*Math.random()>>>0);baa=0;g.H=Date.now||function(){return+new Date};g.C(Fa,Error);Fa.prototype.name="CustomError";var wd;var xwa;g.La=Array.prototype.indexOf?function(a,b){return Array.prototype.indexOf.call(a,b,void 0)}:function(a,b){if(g.w(a))return g.w(b)&&1==b.length?a.indexOf(b,0):-1;
for(var c=0;c<a.length;c++)if(c in a&&a[c]===b)return c;return-1};
xwa=Array.prototype.lastIndexOf?function(a,b){return Array.prototype.lastIndexOf.call(a,b,a.length-1)}:function(a,b){var c=a.length-1;
0>c&&(c=Math.max(0,a.length+c));if(g.w(a))return g.w(b)&&1==b.length?a.lastIndexOf(b,c):-1;for(;0<=c;c--)if(c in a&&a[c]===b)return c;return-1};
g.D=Array.prototype.forEach?function(a,b,c){Array.prototype.forEach.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=g.w(a)?a.split(""):a,f=0;f<d;f++)f in e&&b.call(c,e[f],f,a)};
g.Vd=Array.prototype.filter?function(a,b,c){return Array.prototype.filter.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=[],f=0,k=g.w(a)?a.split(""):a,l=0;l<d;l++)if(l in k){var m=k[l];
b.call(c,m,l,a)&&(e[f++]=m)}return e};
g.I=Array.prototype.map?function(a,b,c){return Array.prototype.map.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=Array(d),f=g.w(a)?a.split(""):a,k=0;k<d;k++)k in f&&(e[k]=b.call(c,f[k],k,a));
return e};
g.Yj=Array.prototype.reduce?function(a,b,c){return Array.prototype.reduce.call(a,b,c)}:function(a,b,c){var d=c;
(0,g.D)(a,function(c,f){d=b.call(void 0,d,c,f,a)});
return d};
g.Pj=Array.prototype.some?function(a,b,c){return Array.prototype.some.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=g.w(a)?a.split(""):a,f=0;f<d;f++)if(f in e&&b.call(c,e[f],f,a))return!0;
return!1};
g.Am=Array.prototype.every?function(a,b,c){return Array.prototype.every.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=g.w(a)?a.split(""):a,f=0;f<d;f++)if(f in e&&!b.call(c,e[f],f,a))return!1;
return!0};var wb=String.prototype.trim?function(a){return a.trim()}:function(a){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(a)[1]},laa=/&/g,maa=/</g,naa=/>/g,oaa=/"/g,paa=/'/g,qaa=/\x00/g,kaa=/[\x00&<>"']/,taa=/&([^;\s<&]+);?/g,sb=String.prototype.repeat?function(a,b){return a.repeat(b)}:function(a,b){return Array(b+1).join(a)},uaa=2147483648*Math.random()|0;a:{var ywa=g.x.navigator;if(ywa){var zwa=ywa.userAgent;if(zwa){g.Fb=zwa;break a}}g.Fb=""};var ec="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");mc[" "]=g.A;var AN,xS,ko,lo,Awa,bN,k0;g.qf=Gb("Opera");g.Hd=Gb("Trident")||Gb("MSIE");AN=Gb("Edge");g.RH=AN||g.Hd;g.zh=Gb("Gecko")&&!(rb(g.Fb,"WebKit")&&!Gb("Edge"))&&!(Gb("Trident")||Gb("MSIE"))&&!Gb("Edge");g.Jd=rb(g.Fb,"WebKit")&&!Gb("Edge");xS=Gb("Macintosh");g.b0=Gb("Windows");g.ro=Gb("Android");ko=kc();lo=Gb("iPad");Awa=Gb("iPod");g.Bwa=lc();bN=rb(g.Fb,"KaiOS");
a:{var l0="",m0=function(){var a=g.Fb;if(g.zh)return/rv:([^\);]+)(\)|;)/.exec(a);if(AN)return/Edge\/([\d\.]+)/.exec(a);if(g.Hd)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(g.Jd)return/WebKit\/(\S+)/.exec(a);if(g.qf)return/(?:Version)[ \/]?(\S+)/.exec(a)}();
m0&&(l0=m0?m0[1]:"");if(g.Hd){var n0=oc();if(null!=n0&&n0>(0,window.parseFloat)(l0)){k0=String(n0);break a}}k0=l0}var pc=k0,waa={},Cwa;var Dwa=g.x.document;Cwa=Dwa&&g.Hd?oc()||("CSS1Compat"==Dwa.compatMode?(0,window.parseInt)(pc,10):5):void 0;var yaa=Cwa;var Raa,Taa,Uaa;Raa=!g.Hd||g.sc(9);Taa=!g.zh&&!g.Hd||g.Hd&&g.sc(9)||g.zh&&g.qc("1.9.1");g.Ewa=g.Hd&&!g.qc("9");Uaa=g.Hd||g.qf||g.Jd;var Oaa={area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0};yc.prototype.mg=!0;yc.prototype.bf=function(){return this.o};
yc.prototype.toString=function(){return"Const{"+this.o+"}"};
var xc={},wc={};var Baa=/<[^>]*>|&[^;]+;/g,Fwa=RegExp("[\u0591-\u06ef\u06fa-\u08ff\u200f\ud802-\ud803\ud83a-\ud83b\ufb1d-\ufdff\ufe70-\ufefc]"),Eaa=RegExp("[A-Za-z\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02b8\u0300-\u0590\u0900-\u1fff\u200e\u2c00-\ud801\ud804-\ud839\ud83c-\udbff\uf900-\ufb1c\ufe00-\ufe6f\ufefd-\uffff]"),ava=RegExp("^[\u0591-\u06ef\u06fa-\u08ff\u200f\ud802-\ud803\ud83a-\ud83b\ufb1d-\ufdff\ufe70-\ufefc]"),Lta=RegExp("^[^\u0591-\u06ef\u06fa-\u08ff\u200f\ud802-\ud803\ud83a-\ud83b\ufb1d-\ufdff\ufe70-\ufefc]*[A-Za-z\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02b8\u0300-\u0590\u0900-\u1fff\u200e\u2c00-\ud801\ud804-\ud839\ud83c-\udbff\uf900-\ufb1c\ufe00-\ufe6f\ufefd-\uffff]"),
Cc=RegExp("^[^A-Za-z\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02b8\u0300-\u0590\u0900-\u1fff\u200e\u2c00-\ud801\ud804-\ud839\ud83c-\udbff\uf900-\ufb1c\ufe00-\ufe6f\ufefd-\uffff]*[\u0591-\u06ef\u06fa-\u08ff\u200f\ud802-\ud803\ud83a-\ud83b\ufb1d-\ufdff\ufe70-\ufefc]"),Daa=/^http:\/\/.*/,Caa=/\s+/,Faa=/[\d\u06f0-\u06f9]/;Fc.prototype.mg=!0;Fc.prototype.bf=function(){return this.A};
Fc.prototype.Lu=!0;Fc.prototype.o=function(){return 1};
var Ec={};Kc.prototype.mg=!0;Kc.prototype.bf=function(){return this.A};
Kc.prototype.Lu=!0;Kc.prototype.o=function(){return 1};
var Mc=/^(?:(?:https?|mailto|ftp):|[^:/?#]*(?:[/?#]|$))/i,Jc={};Nc("about:blank");Rc.prototype.mg=!0;var Qc={};Rc.prototype.bf=function(){return this.o};
var Maa=Tc(""),Haa=/^[-,."'%_!# a-zA-Z0-9\[\]]+$/,Wc=RegExp("\\b(url\\([ \t\n]*)('[ -&(-\\[\\]-~]*'|\"[ !#-\\[\\]-~]*\"|[!#-&*-\\[\\]-~]*)([ \t\n]*\\))","g"),Vc=RegExp("\\b(hsl|hsla|rgb|rgba|matrix|calc|minmax|fit-content|repeat|(rotate|scale|translate)(X|Y|Z|3d)?)\\([-+*/0-9a-z.%\\[\\], ]+\\)","g"),Iaa=/\/\*/;Yc.prototype.mg=!0;var Xc={};Yc.prototype.bf=function(){return this.o};g.$c.prototype.Lu=!0;g.$c.prototype.o=function(){return this.B};
g.$c.prototype.mg=!0;g.$c.prototype.bf=function(){return this.A};
var dd=/^[a-zA-Z0-9-]+$/,Naa={action:!0,cite:!0,data:!0,formaction:!0,href:!0,manifest:!0,poster:!0,src:!0},Gwa={APPLET:!0,BASE:!0,EMBED:!0,IFRAME:!0,LINK:!0,MATH:!0,META:!0,OBJECT:!0,SCRIPT:!0,STYLE:!0,SVG:!0,TEMPLATE:!0},Zc={};bd("<!DOCTYPE html>",0);bd("",0);bd("<br>",0);var Paa=vc(function(){var a=window.document.createElement("div");a.innerHTML="<div><div></div></div>";var b=a.firstChild.firstChild;a.innerHTML="";return!b.parentElement});g.h=g.pd.prototype;g.h.clone=function(){return new g.pd(this.x,this.y)};
g.h.ceil=function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this};
g.h.floor=function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this};
g.h.round=function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this};
g.h.scale=function(a,b){var c=g.ta(b)?b:a;this.x*=a;this.y*=c;return this};g.h=g.sd.prototype;g.h.clone=function(){return new g.sd(this.width,this.height)};
g.h.tf=function(){return this.width*this.height};
g.h.aspectRatio=function(){return this.width/this.height};
g.h.isEmpty=function(){return!this.tf()};
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};
g.h.scale=function(a,b){var c=g.ta(b)?b:a;this.width*=a;this.height*=c;return this};var Cd={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=ud.prototype;g.h.na=function(){return g.w(void 0)?this.o.getElementById(void 0):void 0};
g.h.getElementsByTagName=function(a,b){return(b||this.o).getElementsByTagName(String(a))};
g.h.yL=function(a,b,c){return Ld(this.o,arguments)};
g.h.createElement=function(a){return this.o.createElement(String(a))};
g.h.appendChild=g.Qd;g.h.append=Rd;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.Ud;g.h.contains=g.ae;var Vaa=g.A;var SM,RM;g.rN=Gb("Firefox");SM=kc()||Gb("iPod");RM=Gb("iPad");g.TM=g.jc();g.JI=hc();g.sN=ic()&&!lc();var re=null,ve=null,qe=null;var ye=[];xe.prototype.clone=function(){return ze(this.A,this.C,this.B-this.C)};
xe.prototype.clear=function(){this.A=null;this.o=this.B=this.C=0;this.D=!1};
xe.prototype.reset=function(){this.o=this.C};
xe.prototype.getError=function(){return this.D||0>this.o||this.o>this.B};Be.prototype.getError=function(){return this.C||this.o.getError()};
Be.prototype.reset=function(){this.o.reset();this.A=this.B=-1};var Ie="function"==typeof window.Uint8Array,Le=[];He.prototype.toString=function(){Ve(this);return this.B.toString()};
He.prototype.getExtension=function(a){if(this.A){this.o||(this.o={});var b=a.B;if(a.C){if(a.A())return this.o[b]||(this.o[b]=(0,g.I)(this.A[b]||[],function(b){return new a.o(b)})),this.o[b]}else if(a.A())return!this.o[b]&&this.A[b]&&(this.o[b]=new a.o(this.A[b])),this.o[b];
return this.A[b]}};
He.prototype.clone=function(){return new this.constructor(We(Ue(this)))};g.C(Xe,He);g.C(Ye,He);g.C(Ze,He);g.C($e,He);g.C(af,He);g.C(bf,He);g.C(cf,He);g.C(df,He);g.C(ef,He);g.C(ff,He);g.C(gf,He);g.C(Te,He);var $aa=[[9,10],[11,12],[18,19,20,21,28],[27,29]],aba=[[2,3]],bba=[[9,15]];af.prototype.Ze=function(){return Ne(this,14)};
var cba=[1];g.x.console&&"function"===typeof g.x.console.log&&(0,g.B)(g.x.console.log,g.x.console);var If=!g.Hd||g.sc(9),Hwa=g.Hd&&!g.qc("9"),gba=function(){if(!g.x.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}});
try{g.x.addEventListener("test",g.A,b),g.x.removeEventListener("test",g.A,b)}catch(c){}return a}();g.L.prototype.Ob=!1;g.L.prototype.la=function(){return this.Ob};
g.L.prototype.dispose=function(){this.Ob||(this.Ob=!0,this.Y())};
g.L.prototype.Y=function(){if(this.yb)for(;this.yb.length;)this.yb.shift()()};g.of.prototype.stopPropagation=function(){this.Ej=!0};
g.of.prototype.preventDefault=function(){this.defaultPrevented=!0;this.LF=!1};var kva=rf("AnimationEnd"),Iwa={os:"click",L3:"rightclick",H_:"dblclick",f2:"mousedown",n2:"mouseup",m2:"mouseover",l2:"mouseout",j2:"mousemove",g2:"mouseenter",h2:"mouseleave",e2:"mousecancel",S3:"selectionchange",T3:"selectstart",B5:"wheel",A1:"keypress",z1:"keydown",B1:"keyup",RZ:"blur",D0:"focus",I_:"deactivate",E0:"focusin",F0:"focusout",j_:"change",D3:"reset",R3:"select",B4:"submit",h1:"input",u3:"propertychange",f0:"dragstart",a0:"drag",c0:"dragenter",e0:"dragover",d0:"dragleave",h0:"drop",
b0:"dragend",S4:"touchstart",R4:"touchmove",Q4:"touchend",P4:"touchcancel",OZ:"beforeunload",u_:"consolemessage",x_:"contextmenu",L_:"devicechange",M_:"devicemotion",N_:"deviceorientation",U_:"DOMContentLoaded",ERROR:"error",U0:"help",LOAD:"load",V1:"losecapture",U2:"orientationchange",z3:"readystatechange",E3:"resize",N3:"scroll",a5:"unload",YZ:"canplay",ZZ:"canplaythrough",j0:"durationchange",o0:"emptied",ENDED:"ended",L1:"loadeddata",M1:"loadedmetadata",PAUSE:"pause",PLAY:"play",PLAYING:"playing",
y3:"ratechange",P3:"seeked",Q3:"seeking",p4:"stalled",C4:"suspend",H4:"timeupdate",v5:"volumechange",y5:"waiting",n4:"sourceopen",m4:"sourceended",l4:"sourceclosed",SY:"abort",UPDATE:"update",g5:"updatestart",e5:"updateend",N0:"hashchange",X2:"pagehide",Y2:"pageshow",n3:"popstate",z_:"copy",Z2:"paste",E_:"cut",IZ:"beforecopy",JZ:"beforecut",MZ:"beforepaste",S2:"online",P2:"offline",MESSAGE:"message",t_:"connect",j1:"install",TY:"activate",C0:"fetch",G0:"foreignfetch",c2:"messageerror",s4:"statechange",
f5:"updatefound",y_:"controllerchange",yZ:rf("AnimationStart"),wZ:kva,xZ:rf("AnimationIteration"),V4:rf("TransitionEnd"),e3:"pointerdown",m3:"pointerup",d3:"pointercancel",h3:"pointermove",l3:"pointerover",j3:"pointerout",f3:"pointerenter",g3:"pointerleave",L0:"gotpointercapture",W1:"lostpointercapture",r2:"MSGestureChange",s2:"MSGestureEnd",t2:"MSGestureHold",u2:"MSGestureStart",v2:"MSGestureTap",w2:"MSGotPointerCapture",z2:"MSInertiaStart",A2:"MSLostPointerCapture",B2:"MSPointerCancel",C2:"MSPointerDown",
D2:"MSPointerEnter",E2:"MSPointerHover",F2:"MSPointerLeave",G2:"MSPointerMove",H2:"MSPointerOut",I2:"MSPointerOver",J2:"MSPointerUp",TEXT:"text",D4:g.Hd?"textinput":"textInput",r_:"compositionstart",s_:"compositionupdate",q_:"compositionend",KZ:"beforeinput",x0:"exit",J1:"loadabort",K1:"loadcommit",N1:"loadredirect",O1:"loadstart",P1:"loadstop",I3:"responsive",e4:"sizechanged",c5:"unresponsive",u5:"visibilitychange",x4:"storage",Z_:"DOMSubtreeModified",V_:"DOMNodeInserted",X_:"DOMNodeRemoved",Y_:"DOMNodeRemovedFromDocument",
W_:"DOMNodeInsertedIntoDocument",S_:"DOMAttrModified",T_:"DOMCharacterDataModified",NZ:"beforeprint",lZ:"afterprint",LZ:"beforeinstallprompt",zZ:"appinstalled"};g.C(sf,g.of);var Jwa={2:"touch",3:"pen",4:"mouse"};
sf.prototype.init=function(a,b){var c=this.type=a.type,d=a.changedTouches?a.changedTouches[0]:null;this.target=a.target||a.srcElement;this.currentTarget=b;var e=a.relatedTarget;e?g.zh&&(nc(e,"nodeName")||(e=null)):"mouseover"==c?e=a.fromElement:"mouseout"==c&&(e=a.toElement);this.relatedTarget=e;null===d?(this.offsetX=g.Jd||void 0!==a.offsetX?a.offsetX:a.layerX,this.offsetY=g.Jd||void 0!==a.offsetY?a.offsetY:a.layerY,this.clientX=void 0!==a.clientX?a.clientX:a.pageX,this.clientY=void 0!==a.clientY?
a.clientY:a.pageY,this.screenX=a.screenX||0,this.screenY=a.screenY||0):(this.clientX=void 0!==d.clientX?d.clientX:d.pageX,this.clientY=void 0!==d.clientY?d.clientY:d.pageY,this.screenX=d.screenX||0,this.screenY=d.screenY||0);this.button=a.button;this.keyCode=a.keyCode||0;this.key=a.key||"";this.charCode=a.charCode||("keypress"==c?a.keyCode:0);this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.pointerId=a.pointerId||0;this.pointerType=g.w(a.pointerType)?
a.pointerType:Jwa[a.pointerType]||"";this.state=a.state;this.o=a;a.defaultPrevented&&this.preventDefault()};
sf.prototype.stopPropagation=function(){sf.fa.stopPropagation.call(this);this.o.stopPropagation?this.o.stopPropagation():this.o.cancelBubble=!0};
sf.prototype.preventDefault=function(){sf.fa.preventDefault.call(this);var a=this.o;if(a.preventDefault)a.preventDefault();else if(a.returnValue=!1,Hwa)try{if(a.ctrlKey||112<=a.keyCode&&123>=a.keyCode)a.keyCode=-1}catch(b){}};var dba;g.tf="closure_listenable_"+(1E6*Math.random()|0);dba=0;wf.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=zf(a,b,d,e);-1<k?(b=a[k],c||(b.No=!1)):(b=new eba(b,this.src,f,!!d,e),b.No=c,a.push(b));return b};
wf.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.listeners))return!1;var e=this.listeners[a];b=zf(e,b,c,d);return-1<b?(vf(e[b]),g.Ra(e,b),0==e.length&&(delete this.listeners[a],this.o--),!0):!1};
wf.prototype.Gm=function(a,b,c,d){a=this.listeners[a.toString()];var e=-1;a&&(e=zf(a,b,c,d));return-1<e?a[e]:null};
wf.prototype.hasListener=function(a,b){var c=g.u(a),d=c?a.toString():"",e=g.u(b);return Kb(this.listeners,function(a){for(var f=0;f<a.length;++f)if(!(c&&a[f].type!=d||e&&a[f].capture!=b))return!0;return!1})};var Ff="closure_lm_"+(1E6*Math.random()|0),Lf={},Hf=0,Of="__closure_events_fn_"+(1E9*Math.random()>>>0);g.C(g.Pf,g.L);g.Pf.prototype[g.tf]=!0;g.h=g.Pf.prototype;g.h.ti=function(a){this.wa=a};
g.h.addEventListener=function(a,b,c,d){g.Bf(this,a,b,c,d)};
g.h.removeEventListener=function(a,b,c,d){g.Jf(this,a,b,c,d)};
g.h.dispatchEvent=function(a){var b=this.wa;if(b){var c=[];for(var d=1;b;b=b.wa)c.push(b),++d}b=this.Hb;d=a.type||a;if(g.w(a))a=new g.of(a,b);else if(a instanceof g.of)a.target=a.target||b;else{var e=a;a=new g.of(d,b);g.fc(a,e)}e=!0;if(c)for(var f=c.length-1;!a.Ej&&0<=f;f--){var k=a.currentTarget=c[f];e=Qf(k,d,!0,a)&&e}a.Ej||(k=a.currentTarget=b,e=Qf(k,d,!0,a)&&e,a.Ej||(e=Qf(k,d,!1,a)&&e));if(c)for(f=0;!a.Ej&&f<c.length;f++)k=a.currentTarget=c[f],e=Qf(k,d,!1,a)&&e;return e};
g.h.Y=function(){g.Pf.fa.Y.call(this);this.Ue&&g.yf(this.Ue);this.wa=null};
g.h.X=function(a,b,c,d){return this.Ue.add(String(a),b,!1,c,d)};
g.h.di=function(a,b,c,d){return this.Ue.add(String(a),b,!0,c,d)};
g.h.Ia=function(a,b,c,d){this.Ue.remove(String(a),b,c,d)};
g.h.Gm=function(a,b,c,d){return this.Ue.Gm(String(a),b,c,d)};
g.h.hasListener=function(a,b){return this.Ue.hasListener(g.u(a)?String(a):void 0,b)};Rf.prototype.get=function(){if(0<this.A){this.A--;var a=this.o;this.o=a.next;a.next=null}else a=this.B();return a};var Uf,iba=g.uc;var cg=new Rf(function(){return new Xf},function(a){a.reset()});
Wf.prototype.add=function(a,b){var c=cg.get();c.set(a,b);this.A?this.A.next=c:this.o=c;this.A=c};
Wf.prototype.remove=function(){var a=null;this.o&&(a=this.o,this.o=this.o.next,this.o||(this.A=null),a.next=null);return a};
Xf.prototype.set=function(a,b){this.o=a;this.scope=b;this.next=null};
Xf.prototype.reset=function(){this.next=this.scope=this.o=null};var Yf,Zf=!1,$f=new Wf;hg.prototype.reset=function(){this.context=this.onRejected=this.B=this.o=null;this.A=!1};
var ig=new Rf(function(){return new hg},function(a){a.reset()});
g.gg.prototype.then=function(a,b,c){return sg(this,g.za(a)?a:null,g.za(b)?b:null,c)};
dg(g.gg);g.gg.prototype.cancel=function(a){0==this.o&&g.ag(function(){var b=new yg(a);ug(this,b)},this)};
g.gg.prototype.J=function(a){this.o=0;fg(this,2,a)};
g.gg.prototype.K=function(a){this.o=0;fg(this,3,a)};
g.gg.prototype.H=function(){for(var a;a=vg(this);)wg(this,a,this.o,this.G);this.F=!1};
var Ag=Tf;g.C(yg,Fa);yg.prototype.name="cancel";g.C(g.Bg,g.Pf);g.h=g.Bg.prototype;g.h.enabled=!1;g.h.Fa=null;g.h.setInterval=function(a){this.Fd=a;this.Fa&&this.enabled?(this.stop(),this.start()):this.Fa&&this.stop()};
g.h.fd=function(){if(this.enabled){var a=(0,g.H)()-this.cC;0<a&&a<.8*this.Fd?this.Fa=this.co.setTimeout(this.Fz,this.Fd-a):(this.Fa&&(this.co.clearTimeout(this.Fa),this.Fa=null),this.dispatchEvent("tick"),this.enabled&&(this.stop(),this.start()))}};
g.h.start=function(){this.enabled=!0;this.Fa||(this.Fa=this.co.setTimeout(this.Fz,this.Fd),this.cC=(0,g.H)())};
g.h.stop=function(){this.enabled=!1;this.Fa&&(this.co.clearTimeout(this.Fa),this.Fa=null)};
g.h.Y=function(){g.Bg.fa.Y.call(this);this.stop();delete this.co};var Fg=g.A,Jg={'"':'\\"',"\\":"\\\\","/":"\\/","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\x0B":"\\u000b"},xba=/\uffff/.test("\uffff")?/[\\"\x00-\x1f\x7f-\uffff]/g:/[\\"\x00-\x1f\x7f-\xff]/g;g.h=Kg.prototype;g.h.isEnabled=function(){return window.navigator.cookieEnabled};
g.h.set=function(a,b,c,d,e,f){if(/[;=\s]/.test(a))throw Error('Invalid cookie name "'+a+'"');if(/[;\r\n]/.test(b))throw Error('Invalid cookie value "'+b+'"');g.u(c)||(c=-1);e=e?";domain="+e:"";d=d?";path="+d:"";f=f?";secure":"";c=0>c?"":0==c?";expires="+(new Date(1970,1,1)).toUTCString():";expires="+(new Date((0,g.H)()+1E3*c)).toUTCString();this.o.cookie=a+"="+b+e+d+c+f};
g.h.get=function(a,b){for(var c=a+"=",d=(this.o.cookie||"").split(";"),e=0,f;e<d.length;e++){f=wb(d[e]);if(0==f.lastIndexOf(c,0))return f.substr(c.length);if(f==a)return""}return b};
g.h.remove=function(a,b,c){var d=g.u(this.get(a));this.set(a,"",0,b,c);return d};
g.h.Fb=function(){return Lg(this).keys};
g.h.xb=function(){return Lg(this).values};
g.h.isEmpty=function(){return!this.o.cookie};
g.h.Cc=function(){return this.o.cookie?(this.o.cookie||"").split(";").length:0};
g.h.clear=function(){for(var a=Lg(this).keys,b=a.length-1;0<=b;b--)this.remove(a[b])};
var LG=new Kg("undefined"==typeof window.document?null:window.document);LG.A=3950;var yba=/^(?:([^:/?#.]+):)?(?:\/\/(?:([^/?#]*)@)?([^/#?]*?)(?::([0-9]+))?(?=[/#?]|$))?([^?#]+)?(?:\?([^#]*))?(?:#([\s\S]*))?$/,ah=/#|$/,zba=/[?&]($|#)/;eh.prototype.remove=function(a){$b(this.o,a)};
eh.prototype.set=function(a,b){this.o[a]=b};
eh.prototype.get=function(a){return ac(this.o,a,null)};g.h=g.gh.prototype;g.h.ub=function(){return this.right-this.left};
g.h.getHeight=function(){return this.bottom-this.top};
g.h.clone=function(){return new g.gh(this.top,this.right,this.bottom,this.left)};
g.h.contains=function(a){return this&&a?a instanceof g.gh?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.expand=function(a,b,c,d){g.Aa(a)?(this.top-=a.top,this.right+=a.right,this.bottom+=a.bottom,this.left-=a.left):(this.top-=a,this.right+=Number(b),this.bottom+=Number(c),this.left-=Number(d));return this};
g.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.scale=function(a,b){var c=g.ta(b)?b:a;this.left*=a;this.right*=a;this.top*=c;this.bottom*=c;return this};g.h=g.jh.prototype;g.h.clone=function(){return new g.jh(this.left,this.top,this.width,this.height)};
g.h.contains=function(a){return a instanceof g.pd?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};
g.h.scale=function(a,b){var c=g.ta(b)?b:a;this.left*=a;this.width*=a;this.top*=c;this.height*=c;return this};var th=null;ph.prototype.getValue=function(){return this.o};
ph.prototype.A=function(){return String(this.o)};
g.C(qh,ph);qh.prototype.A=function(){return this.o?"1":"0"};
g.C(rh,ph);rh.prototype.A=function(){return this.o?Math.round(this.o.top)+"."+Math.round(this.o.left)+"."+(Math.round(this.o.top)+Math.round(this.o.height))+"."+(Math.round(this.o.left)+Math.round(this.o.width)):""};var yh={},Yh={thin:2,medium:4,thick:6};new g.Bg(200);var ti=window.document,pi=window;var Fba=/https?:\/\/[^\/]+/;var Jba=vc(function(){var a=!1;try{var b=Object.defineProperty({},"passive",{get:function(){a=!0}});
g.x.addEventListener("test",null,b)}catch(c){}return a});var ri=!!window.google_async_iframe_id,si=ri&&window.parent||window;var Kba=[0,2,1],vi=null;window.document.addEventListener&&window.document.addEventListener("mousedown",function(a){vi=a},!0);
window.mb=function(a){if(a){var b=wi();b&&(window.css?window.css(a.id,"mb",b,void 0,void 0):a&&(a.href=di(a.href,"mb",b,void 0)))}};var tca={NONE:0,m0:1},hca={W4:1};yi.prototype.isVisible=function(){return this.kj?.3<=this.o:.5<=this.o};var Ij={AI:0,z0:1},Xba={R2:0,uJ:1,O2:2},gca={21062640:0,21062641:1,21062680:0,21062681:1},Yba={953563515:0,953563516:1,953563517:2},cca={370204018:0,370204019:1,370204052:2,370204026:0,370204027:1,370204053:2},aca={668123008:0,668123009:1},bca={668123028:0,668123029:1},Zba={NONE:0,v1:1},$ba={480596784:0,480596785:1},dca={AI:0,F1:1,E1:2},eca={21061799:0,21061800:1,21061801:2},fca={53887176:0,53887177:1};zi.prototype.getValue=function(){return this.o};Ci.prototype.disable=function(){this.A=!1};
Ci.prototype.enable=function(){this.A=!0};
Ci.prototype.isEnabled=function(){return this.A};
Ci.prototype.reset=function(){this.o={};this.A=!0;this.B={}};var Pba=(0,g.H)(),Ki=-1,Ii=-1,jl,Li=-1,Ji=!1;Ni.prototype.Wd=function(){return!!this.A||!!this.o};
Ni.prototype.toString=function(){return this.A+(this.o?"-":"")+this.o};
Ni.prototype.matches=function(a){return this.o||a.o?this.o==a.o:this.A||a.A?this.A==a.A:!1};var Qba=/^https?:\/\/(\w|-)+\.cdn\.ampproject\.(net|org)(\?|\/|$)/;Si.prototype.Xa=function(a,b,c,d){a=a+"//"+b+c;var e=Sba(this)-c.length-d.length;if(0>e)return"";this.o.sort(function(a,b){return a-b});
c=null;b="";for(var f=0;f<this.o.length;f++)for(var k=this.o[f],l=this.A[k],m=0;m<l.length;m++){if(!e){c=null==c?k:c;break}var n=Vi(l[m],this.B,",$");if(n){n=b+n;if(e>=n.length){e-=n.length;a+=n;b=this.B;break}else this.D&&(b=e,n[b-1]==this.B&&--b,a+=n.substr(0,b),b=this.B,e=0);c=null==c?k:c}}f="";this.C&&null!=c&&(f=b+this.C+"="+c);return a+f+d};var o0=null;var iha={Z4:0,M2:1,G3:2,w0:3,K4:4,J0:5,U1:6,H3:7,HZ:8,M0:9,QZ:10,W3:11,O3:12};var ej=g.x.performance,Kwa=!!(ej&&ej.mark&&ej.measure&&ej.clearMarks),aj=vc(function(){var a;if(a=Kwa){var b;if(null===o0){o0="";try{a="";try{a=g.x.top.location.hash}catch(c){a=g.x.location.hash}a&&(o0=(b=a.match(/\bdeid=([\d,]+)/))?b[1]:"")}catch(c){}}b=o0;a=!!b.indexOf&&0<=b.indexOf("1337")}return a});
bj.prototype.disable=function(){this.A=!1;this.events!=this.o.google_js_reporting_queue&&(aj()&&(0,g.D)(this.events,fj),this.events.length=0)};
bj.prototype.G=function(a){this.A&&this.events.push(a)};
bj.prototype.start=function(a,b){if(!this.A)return null;var c=Zi()||Yi();c=new $i(a,b,c);var d="goog_"+c.uniqueId+"_start";ej&&aj()&&ej.mark(d);return c};
bj.prototype.end=function(a){if(this.A&&g.ta(a.value)){var b=Zi()||Yi();a.duration=b-a.value;b="goog_"+a.uniqueId+"_end";ej&&aj()&&ej.mark(b);this.G(a)}};g.h=ij.prototype;g.h.pinger=function(){return this.B};
g.h.dG=function(a){this.o=a};
g.h.fG=function(a){this.C=a};
g.h.kG=function(a){this.A=a};
g.h.Zq=function(a,b,c,d){try{if(this.Fa&&this.Fa.A){var e=this.Fa.start(a.toString(),3);var f=b();this.Fa.end(e)}else f=b()}catch(l){b=this.A;try{fj(e);var k=lj(l);b=(d||this.D).call(this,a,k,void 0,c)}catch(m){this.hi(217,m)}if(!b)throw l;}return f};
g.h.xF=function(a,b,c,d,e){var f=this;return function(k){for(var l=[],m=0;m<arguments.length;++m)l[m-0]=arguments[m];return f.Zq(a,function(){return b.apply(c,l)},d,e)}};
g.h.hi=function(a,b,c,d,e){e=e||this.C;try{var f=new Si;f.D=!0;Wi(f,1,"context",a);b.error&&b.meta&&b.id||(b=lj(b));b.msg&&Wi(f,2,"msg",b.msg.substring(0,512));b.file&&Wi(f,3,"file",b.file);0<b.line&&Wi(f,4,"line",b.line);var k=b.meta||{};if(this.o)try{this.o(k)}catch(m){}if(d)try{d(k)}catch(m){}b=[k];f.o.push(5);f.A[5]=b;var l=Ri();l.A&&Wi(f,6,"top",l.A.url||"");Wi(f,7,"url",l.o.url||"");Xi(this.B,e,f,c)}catch(m){try{Xi(this.B,e,{context:"ecmserr",rctx:a,msg:kj(m),url:l&&l.o.url},c)}catch(n){}}return this.A};
g.t(jj,Oi);g.h=mj.prototype;g.h.fG=function(a){this.A=a};
g.h.dG=function(a){this.o=a};
g.h.kG=function(a){this.B=a};
g.h.hi=function(a,b,c,d,e){e=void 0===e?this.A:e;if(Math.random()>(void 0===c?.01:c))return this.B;b.error&&b.meta&&b.id||(b=new Oi(b,{context:a,id:e}));if(d||this.o)b.meta={},this.o&&this.o(b.meta),d&&d(b.meta);g.x.google_js_errors=g.x.google_js_errors||[];g.x.google_js_errors.push(b);g.x.error_rep_loaded||(b=g.x.document,c=g.x.location.protocol+"//web.archive.org/web/20181027110332/https://pagead2.googlesyndication.com/pagead/js/err_rep.js",a=b.createElement("script"),g.jd(a,g.me(c)),(b=b.getElementsByTagName("script")[0])&&b.parentNode&&
b.parentNode.insertBefore(a,b),g.x.error_rep_loaded=!0);return this.B};
g.h.Zq=function(a,b,c,d){d=void 0===d?this.hi:d;try{var e=this.Fa&&this.Fa.start(String(a),3);var f=b();this.Fa&&e&&this.Fa.end(e)}catch(k){if(this.Fa&&e&&fj(e),!d.call(this,a,k,.01,c,this.A))throw k;}return f};
g.h.xF=function(a,b,c,d,e){var f=this;e=void 0===e?this.hi:e;return function(k){for(var l=[],m=0;m<arguments.length;++m)l[m-0]=arguments[m];return f.Zq(a,function(){return b.apply(c,l)},d,e)}};var hj,nj,p0=ui(),gj=new bj(1,p0);hj=new function(){var a=void 0===a?pi:a;this.C="http:"===a.location.protocol?"http:":"https:";this.A="pagead2.googlesyndication.com";this.B="/pagead/gen_204?id=";this.o=.01};
nj=new ij;"complete"==p0.document.readyState?p0.google_measure_js_timing||gj.disable():gj.A&&li(p0,"load",function(){p0.google_measure_js_timing||gj.disable()});
var Uba=nj.hi;if(ti&&ti.URL){var Lwa,ji=ti.URL;Lwa=!!ji&&0<Iba().length;nj.kG(!Lwa)};g.Ck=!g.Hd&&!ic();Dj.prototype.na=function(){return this.H};Ej.prototype.update=function(a){this.D=xi(!1,a,this.K);Gj(this,a);this.G=this.B?this.F:this.o};
g.va(Ej);g.va(sj);Jj.prototype.cancel=function(){pi.clearTimeout(this.o);this.o=null};
Jj.prototype.schedule=function(){var a=this;pi&&(this.o=pi.setTimeout(pj(143,function(){a.A++;a.B.NF()}),Mi(sj.getInstance().B)))};g.h=Kj.prototype;g.h.Ij=function(){return this.Kg()};
g.h.Kg=function(){return!0};
g.h.initialize=function(){this.K=!0};
g.h.nk=function(){return this.O};
g.h.gj=function(){return this.L};
g.h.ii=function(){return this.A==this?this.aa:this.A.ii()};
g.h.Ug=function(){return{}};
g.h.Yg=function(){return this.C};
g.h.LC=function(){Gj(Ej.getInstance(),this.Ic)};
g.h.OC=function(){Fj(Ej.getInstance(),this.Ic)};
g.h.MC=function(){Hj(Ej.getInstance(),this.Ic)};
g.h.NC=function(){var a=Ej.getInstance();a.D=xi(!1,this.Ic,a.K)};
g.h.NF=function(){};
g.h.zr=function(){};
g.h.fj=function(a){var b=this.C,c=a.Yg();this.A=c<this.G?this:a;this.C=this.A!=this?c:this.G;this.A==this||1==c&&0!=this.G||this.zr();this.C!=b&&Lj(this)};
g.h.Rh=function(a){this.A!=this&&Rj(this,a)};
g.h.qh=function(){return this.F};
g.h.dispose=function(){this.W=!0};
g.h.la=function(){return this.W};g.h=Sj.prototype;g.h.vC=function(){};
g.h.qv=function(){};
g.h.Yl=function(){this.A=new Dj(this.o.o,this.element,this.A.o,this.A.C,this.Fm(),this.A.A,this.A.G,this.A.J,this.A.B)};
g.h.dispose=function(){this.la()||(Oj(this.o,this),this.G=!0)};
g.h.la=function(){return this.G};
g.h.Ug=function(){return this.C.Ug()};
g.h.Yg=function(){return this.C.Yg()};
g.h.nk=function(){return this.C.nk()};
g.h.gj=function(){return this.C.gj()};
g.h.fj=function(a){this.C=a;this.H.fj(this)};
g.h.Rh=function(){this.Yl()};
g.h.qh=function(){return this.H.qh()};g.h=Tj.prototype;g.h.Yg=function(){return this.o.Yg()};
g.h.nk=function(){return this.o.nk()};
g.h.gj=function(){return this.o.gj()};
g.h.create=function(a,b,c){var d=null;this.o&&(d=this.uC(a,b,c),Nj(this.o,d));return d};
g.h.Ij=function(){return this.Kg()};
g.h.Kg=function(){return!1};
g.h.init=function(){return!0};
g.h.dispose=function(){this.D=!0};
g.h.la=function(){return this.D};
g.h.Ug=function(){return{}};Wj.prototype.add=function(a,b,c){++this.B;var d=this.B/4096;this.o.push(jca(new Uj(a,b,c),d));this.A=!0;return this};var ak;ak=["av.key","js","unreleased"].slice(-1)[0];var ek={},fk=null;ek.le=0;ek.nt=2;ek.Fr=3;ek.Po=5;ek.me=1;ek.om=4;hk.prototype.update=function(a,b,c){a&&(this.o+=b,this.A+=b,this.C+=b,this.B=Math.max(this.B,this.C));if(void 0===c?!a:c)this.C=0};var nca=[1,.75,.5,.3,0];ik.prototype.update=function(a,b,c,d,e,f){f=void 0===f?!0:f;b=e?Math.min(a,b):b;for(e=0;e<this.A.length;e++){var k=this.A[e],l=0<b&&b>=k;k=!(0<a&&a>=k)||c;this.o[e].update(f&&l,d,!f||k)}};rk.prototype.update=function(a,b,c,d,e){this.G=-1!=this.G?Math.min(this.G,b.o):b.o;e&&(this.N=Math.max(this.N,b.o));this.ha.update(b.A,c.A,b.B,a,d);this.o.update(b.o,c.o,b.B,a,d);c=d||c.kj!=b.kj?c.isVisible()&&b.isVisible():c.isVisible();b=!b.isVisible()||b.B;this.aa.update(c,a,b)};
rk.prototype.mj=function(){return this.aa.B>=this.ga};g.t(wk,Sj);g.h=wk.prototype;g.h.Fm=function(){return!0};
g.h.Yl=function(){if(this.element){var a=this.element.getBoundingClientRect(),b=a.right-a.left;a=a.bottom-a.top;var c=g.Lh(this.element,this.o.Ic),d=c.x;c=c.y;this.B=new g.gh(Math.round(c),Math.round(d+b),Math.round(c+a),Math.round(d))}(a=this.o.o.o)?(b=uk()&&this.element?vk(this.element):this.B,a=yk(b,a),b=a.top>=a.bottom||a.left>=a.right?new g.gh(0,0,0,0):ih(a,-b.left,-b.top)):b=new g.gh(0,0,0,0);var e=this.o.o.o;c=d=a=0;var f=1==Fi(this.ob,"od"),k=(this.B.bottom-this.B.top)*(this.B.right-this.B.left);
e&&b&&0<k&&(xk(b,e,this.element,f)?b=new g.gh(0,0,0,0):(c=new g.gh(0,window.screen.height,window.screen.width,0),a=Ak(b,this.B),d=Ak(b,e),c=Ak(b,c)));e=this.o.o;f=-1===e.time?Hi():e.time;this.A=new Dj(e,this.element,this.B,b,this.Fm(),a,d,f,c)};
g.h.gj=function(){return this.C.gj()};
g.h.ii=function(){return this.C.ii()};
g.h.Rh=function(a){if(null==this.element){var b=Ej.getInstance().D;this.B=null!=b?b:new g.gh(0,0,0,0)}Sj.prototype.Rh.call(this,a)};var Bk=new g.gh(0,0,0,0),Aca={threshold:[0,.3,.5,.75,1]};g.t(Dk,g.L);g.h=Dk.prototype;g.h.Y=function(){this.element&&(this.ek.uw&&(mi(this.element,"mouseover",this.ek.uw),this.ek.uw=null),this.ek.tw&&(mi(this.element,"mouseout",this.ek.tw),this.ek.tw=null));g.L.prototype.Y.call(this)};
g.h.Rh=function(){};
g.h.fj=function(a){a.gj()&&this.WG(this,a.nk(),a)};
g.h.qh=function(){return!1};
g.h.Gp=function(){return new rk};
g.h.Ud=function(){return this.jv};
g.h.lC=function(){};
g.h.kC=function(){};
g.h.iB=function(){};
g.h.Rr=function(){};
g.h.Oj=function(a,b,c,d,e,f,k,l,m){k=void 0===k?{}:k;l=void 0===l?this.WA(c,k):l;k=this.Us(a,b,d,k,void 0===m?-1:m);g.ta(b)||(this.XD=new g.pd(a.left-b.left,a.top-b.top));e=e&&this.Nc.o>=(this.kj()?.3:.5);this.Ix(l,k,e,f);this.Ok=c;0<k.o&&-1===this.GG&&(this.GG=c);-1==this.KG&&this.mj()&&(this.KG=c);if(-2==this.fv)try{a:{var n=g.ta(b)?null:b;if(a&&a!=Bk&&0!=this.tf){var p=Ej.getInstance();if(!n){if(!p.o){var r=-1;break a}n=new g.gh(0,p.o.ub(),p.o.getHeight(),0)}r=n.ub&&0<n.ub()&&n.getHeight&&0<n.getHeight()?
this.im(a,n):-1}else r=-1}this.fv=r}catch(v){qj(207,v)}this.Nc=k;d&&(this.Nc.o=0);this.kv(this)};
g.h.Ix=function(a,b,c,d){this.Ud().update(a,b,this.Nc,c,d)};
g.h.Xt=function(){return new yi};
g.h.Us=function(a,b,c,d,e){e=void 0===e?-1:e;d=this.Xt();d.B=c;c=vj();d.C=0==c?-1:1==c?0:1;g.ta(b)?(d.o=this.im(b),d.A=e):(d.o=this.im(a,b),d.A=0<=e?e:d.o*zk(a)/(pi.screen.height*pi.screen.width));d.kj=this.kj();return d};
g.h.WA=function(a){if(-1==this.Ok)return 0;a=a-this.Ok||1;return 1E4<a?1:a};
g.h.im=function(a,b){if(0===this.opacity&&1===Fi(this.ob,"opac"))return 0;if(g.ta(a))return a;var c=yk(a,b),d=1==Fi(this.ob,"od");if(0>=this.tf||xk(c,b,this.Ih,d))return 0;d=zk(c)/this.tf;Ak(c,b);return d};
g.h.kj=function(){return!1};
g.h.yf=function(){return 0};
g.h.mj=function(){return this.jv.mj()};var Mk="StopIteration"in g.x?g.x.StopIteration:{message:"StopIteration",stack:""};Lk.prototype.next=function(){throw Mk;};
Lk.prototype.ge=function(){return this};var hm={currentTime:1,duration:2,isVpaid:4,volume:8,isYouTube:16,isPlaying:32},gl={Zy:"start",zy:"firstquartile",Ky:"midpoint",dz:"thirdquartile",oy:"complete",pJ:"metric",PAUSE:"pause",JJ:"resume",Wy:"skip",gz:"viewable_impression",sJ:"mute",WJ:"unmute",Ay:"fullscreen",LI:"exitfullscreen",WZ:"bufferstart",VZ:"bufferfinish",By:"fully_viewable_audible_half_duration_impression",Jy:"measurable_impression",gI:"abandon",uy:"engagedview",ro:"impression",EI:"creativeview",ts:"loaded",s3:"progress",CLOSE:"close",
l_:"collapse",AJ:"overlay_resize",BJ:"overlay_unmeasurable_impression",CJ:"overlay_unviewable_impression",EJ:"overlay_viewable_immediate_impression",DJ:"overlay_viewable_end_of_session_impression",GI:"custom_metric_viewable"},Mda="start firstquartile midpoint thirdquartile resume loaded".split(" "),Nda=["start","firstquartile","midpoint","thirdquartile"],Oca=["abandon"],Kl={UNKNOWN:-1,Zy:0,zy:1,Ky:2,dz:3,oy:4,pJ:5,PAUSE:6,JJ:7,Wy:8,gz:9,sJ:10,WJ:11,Ay:12,LI:13,By:14,Jy:15,gI:16,uy:17,ro:18,EI:19,
ts:20,GI:21};var Sx=null,q0={},hha=(q0[8]="google_prev_ad_formats_by_region",q0[9]="google_prev_ad_slotnames_by_region",q0);g.t(Qk,yi);Sk.prototype.Ca=function(a){var b=this.A[a],c=b[1];this.B+=b[0];0<c&&0==this.o[a]&&(this.o[a]=1)};Uk.prototype.getValue=function(){return this.A};
Uk.prototype.update=function(a,b){32<=a||(this.o&1<<a&&!b?this.A&=~(1<<a):this.o&1<<a||!b||(this.A|=1<<a),this.o|=1<<a)};g.t(Vk,rk);
Vk.prototype.update=function(a,b,c,d,e){if(!b.paused){rk.prototype.update.call(this,a,b,c,d,e);e=Rk(b)&&Rk(c);var f=.5<=(d?Math.min(b.o,c.o):c.o);Aj(b.volume)&&(this.C=-1!=this.C?Math.min(this.C,b.volume):b.volume,this.F=Math.max(this.F,b.volume));f&&(this.L+=a,this.J+=e?a:0);this.B.update(b.o,c.o,b.B,a,d,e);this.A.update(!0,a);this.D.update(e,a);this.K.update(c.fullscreen,a);this.ia.update(e&&!f,a);a=Math.floor(b.D/1E3);this.O.update(a,b.isVisible());this.ba.update(a,1<=b.o);this.ca.update(a,Rk(b))}};g.t(Xk,Ica);Xk.prototype.B=function(){return!0};
Xk.prototype.D=function(){return!1};
Xk.prototype.getId=function(){var a=this,b=Wb(gl,function(b){return b==a.C});
return Kl[b].toString()};
Xk.prototype.toString=function(){var a="";this.D()&&(a+="c");this.o&&(a+="s");0<this.A&&(a+=":"+this.A);return this.getId()+a};var Mwa=new g.gh(0,0,0,0),r0={},Nca=(r0.firstquartile=0,r0.midpoint=1,r0.thirdquartile=2,r0.complete=3,r0);g.t(Zk,Dk);g.h=Zk.prototype;g.h.qh=function(){return!0};
g.h.lC=function(a){var b=this,c=a-this.fb;this.wa&&1E3>=c||(c=g.y("ima.bridge.getNativeViewability"),g.za(c)&&(c(this.dd,function(a){b.wa=!1;b.J&&(b.Ha=!0);g.Yb(a)&&b.Ba++;b.Rr(a)}),this.wa=!0,this.fb=a))};
g.h.kC=function(a){var b=sj.getInstance();a-this.Va>Mi(b.B)&&(a=g.y("ima.admob.getViewability"),g.za(a)&&a(this.dd))};
g.h.iB=function(a){this.Va=Hi();this.Rr(a)};
g.h.Rr=function(a){var b=a.opt_nativeViewBounds||{},c=a.opt_nativeViewVisibleBounds||{},d=a.opt_nativeTime||-1,e=a.opt_nativeVolume,f=a.opt_nativeViewAttached;a=a.opt_nativeViewHidden;void 0!==f&&(this.ka=!!f);b=new g.gh(b.top||0,b.left+b.width||0,b.top+b.height||0,b.left||0);c=a?Mwa.clone():new g.gh(c.top||0,c.left+c.width||0,c.top+c.height||0,c.left||0);f=void 0;if("n"==this.D||"ml"==this.D)f={volume:e};e=f;e=void 0===e?{}:e;this.tf=(b.bottom-b.top)*(b.right-b.left);this.position=b;this.Oj(b,c,
d,!1,!0,!0,e)};
g.h.Oj=function(a,b,c,d,e,f,k,l,m){var n=this;k=void 0===k?{}:k;var p=this.pa(this)||{};g.fc(p,k);this.F=p.duration||this.F;this.K=p.isVpaid||this.K;this.sa=p.isYouTube||this.sa;this.ga=f;Dk.prototype.Oj.call(this,a,b,c,d,e,f,p,l,m);(0,g.D)(this.G,function(a){a.o||(a.o=Yk(a,n))})};
g.h.Ix=function(a,b,c,d){Dk.prototype.Ix.call(this,a,b,c,d);al(this).update(a,b,this.Nc,c,d);this.oa=Rk(this.Nc)&&Rk(b);-1==this.aa&&this.La&&(this.aa=this.Ud().A.o);this.Qc.B=0;a=this.Nc;b=this.mj();.5<=a.o&&this.Qc.Ca("vs");b&&this.Qc.Ca("vw");Aj(a.volume)&&this.Qc.Ca("am");this.oa&&this.Qc.Ca("a");this.bh&&this.Qc.Ca("f");-1!=a.C&&(this.Qc.Ca("bm"),1==a.C&&this.Qc.Ca("b"));this.oa&&b&&this.Qc.Ca("avw");this.ga&&this.Qc.Ca("cm");this.ga&&0<a.o&&this.Qc.Ca("pv");dl(this,this.Ud().A.o,!0)&&this.Qc.Ca("gdr");
2E3<=ok(this.Ud().o,1)&&this.Qc.Ca("pmx")};
g.h.Gp=function(){return new Vk};
g.h.Ud=function(){return this.jv};
g.h.Xt=function(){return new Qk};
g.h.Us=function(a,b,c,d,e){a=Dk.prototype.Us.call(this,a,b,c,d,void 0===e?-1:e);a.fullscreen=this.bh;a.paused=2==this.Oc;a.volume=d.volume;Aj(a.volume)||(this.Hb++,b=this.Nc,Aj(b.volume)&&(a.volume=b.volume));d=d.currentTime;a.D=g.u(d)&&0<=d?d:-1;return a};
g.h.WA=function(a,b){var c=g.u(b.currentTime)?b.currentTime:this.N;if(-1==this.Ok||2==this.Oc)var d=0;else{d=a-this.Ok||1;var e=1E4;g.u(this.F)&&-1!=this.F&&(e=Math.max(e,this.F/3));d=d>e?1:d}e=c-this.N;var f=0;0<=e?(this.L+=d,this.ca+=Math.max(d-e,0),f=Math.min(e,this.L)):this.xa+=Math.abs(e);0!=e&&(this.L=0);-1==this.Da&&0<e&&(this.Da=0<=Li?Hi()-Li:-1);this.N=c;return 1==bl(this)?f:d};
g.h.im=function(a,b){return this.J?0:this.bh?1:Dk.prototype.im.call(this,a,b)};
g.h.yf=function(){return 1};
g.h.getDuration=function(){return this.F};var Nwa=(0,g.H)();ll.prototype.reset=function(){this.o=[];this.A=[]};
g.va(ll);var ml=ll.getInstance();g.va(pl);var ada={threshold:[0,.01,.02,.03,.04,.05,.06,.07,.08,.09,.1,.11,.12,.13,.14,.15,.16,.17,.18,.19,.2,.21,.22,.23,.24,.25,.26,.27,.28,.29,.3,.31,.32,.33,.34,.35,.36,.37,.38,.39,.4,.41,.42,.43,.44,.45,.46,.47,.48,.49,.5,.51,.52,.53,.54,.55,.56,.57,.58,.59,.6,.61,.62,.63,.64,.65,.66,.67,.68,.69,.7,.71,.72,.73,.74,.75,.76,.77,.78,.79,.8,.81,.82,.83,.84,.85,.86,.87,.88,.89,.9,.91,.92,.93,.94,.95,.96,.97,.98,.99,1]};g.t(ql,Sj);g.h=ql.prototype;g.h.ii=function(){return"nio"};
g.h.Fm=function(){return!0};
g.h.vC=function(){var a=this;this.F||(this.F=Hi());oj(298,function(){return bda(a)})||Mj(this.o,"msf")};
g.h.qv=function(){if(this.B&&this.element)try{this.B.unobserve(this.element)}catch(a){}};
g.h.Yl=function(){Sj.prototype.Yl.call(this);if(2===Fi(sj.getInstance().ob,"nio_mode")){var a=this.B&&this.B.takeRecords?this.B.takeRecords():[];0<a.length?rl(this,a):this.A=new Dj(this.A.F,this.A.na(),this.A.o,this.A.C,this.A.D,this.A.A,this.A.G,this.o.Ic.performance.now(),this.A.B)}};
g.h.Ug=function(){var a={};return Object.assign(this.o.Ug(),(a.niot_obs=this.F,a.niot_cbk=this.D,a))};g.t(sl,Tj);sl.prototype.ii=function(){return"nio"};
sl.prototype.Ij=function(){var a=Fi(sj.getInstance().ob,"nio_mode"),b=2===a;a=1===a;var c=Ej.getInstance().A;return(b||a&&c)&&this.Kg()};
sl.prototype.Kg=function(){return"exc"!==sj.getInstance().Ab&&1!=Fi(sj.getInstance().ob,"inapp")&&null!=this.o.Ic.IntersectionObserver};
sl.prototype.uC=function(a,b,c){return new ql(a,this.o,b,c)};g.C(g.tl,g.L);g.h=g.tl.prototype;g.h.wk=!1;g.h.Nm=0;g.h.Fa=null;g.h.Mm=function(a){this.o=arguments;this.Fa||this.Nm?this.wk=!0:ul(this)};
g.h.stop=function(){this.Fa&&(g.Dg(this.Fa),this.Fa=null,this.wk=!1,this.o=[])};
g.h.pause=function(){this.Nm++};
g.h.resume=function(){this.Nm--;this.Nm||!this.wk||this.Fa||(this.wk=!1,ul(this))};
g.h.Y=function(){g.tl.fa.Y.call(this);this.stop()};
g.h.xL=function(){this.Fa=null;this.wk&&!this.Nm&&(this.wk=!1,ul(this))};g.h=vl.prototype;g.h.jB=function(){zl(this,ol(),!1)};
g.h.NF=function(){zl(this,ol(),!1)};
g.h.pB=function(){var a=Al(),b=Hi();a?(Ji||(Ki=b,(0,g.D)(ml.o,function(a){var c=a.Ud();c.W=Wk(c,b,1!=a.Oc)})),Ji=!0):(this.K=Bl(this,b),Ji=!1,jl=b,(0,g.D)(ml.o,function(a){a.hk&&(a.Ud().H=b)}));
zl(this,ol(),!a)};
g.h.HX=function(a){var b;if(b=null!=a.IntersectionObserver){if(a=fda(a))sj.getInstance().Ab="nio";b=a}return b};
g.h.GX=function(a){return g.Hd&&g.qc(8)&&g.za(gk(a&&a.document))?(sj.getInstance().Ab="iem",!0):!1};
g.va(vl);var xl=vl.getInstance();var Dl=null,dm="",am=!1;var jda=function(a,b){return function(c){for(var d=0;d<b.length;d++)if(b[d]===c[a]||!g.u(b[d])&&!c.hasOwnProperty(a))return!0;return!1}}("e",[void 0,
1,2,3,4,8,16]),Owa={sv:"sv",cb:"cb",e:"e",nas:"nas",msg:"msg","if":"if",sdk:"sdk",p:"p",tos:"tos",mtos:"mtos",mcvt:"mcvt",ps:"ps",scs:"scs",bs:"bs",pt:"pt",vht:"vht",mut:"mut",a:"a",ft:"ft",dft:"dft",at:"at",dat:"dat",as:"as",vpt:"vpt",gmm:"gmm",std:"std",efpf:"efpf",swf:"swf",nio:"nio",px:"px",nnut:"nnut",vmer:"vmer",vmmk:"vmmk",vmiec:"vmiec",nmt:"nmt",tcm:"tcm",bt:"bt",pst:"pst",vpaid:"vpaid",dur:"dur",vmtime:"vmtime",dtos:"dtos",dtoss:"dtoss",dvs:"dvs",dfvs:"dfvs",dvpt:"dvpt",fmf:"fmf",vds:"vds",
is:"is",i0:"i0",i1:"i1",i2:"i2",i3:"i3",ic:"ic",cs:"cs",c:"c",mc:"mc",nc:"nc",mv:"mv",nv:"nv",qmt:Il("qmtos"),qnc:Il("qnc"),qmv:Il("qmv"),qnv:Il("qnv"),raf:"raf",rafc:"rafc",lte:"lte",ces:"ces",tth:"tth",femt:"femt",femvt:"femvt",emc:"emc",emuc:"emuc",emb:"emb",avms:"avms",nvat:"nvat",qi:"qi",psm:"psm",psv:"psv",psfv:"psfv",psa:"psa",pnk:"pnk",pnc:"pnc",pnmm:"pnmm",pns:"pns",ptlt:"ptlt",dc_rfl:"urlsigs",pngs:"pings",obd:"obd",veid:"veid",ssb:"ssb"},Pwa={c:El("c"),at:"at",atos:Hl("atos",[0,2,4]),ta:function(a,
b){return function(c){if(!g.u(c[a]))return b}}("tth","1"),
a:"a",dur:"dur",p:"p",tos:Gl(),j:"dom",mtos:Hl("mtos",[0,2,4]),gmm:"gmm",gdr:"gdr",ss:El("ss"),vsv:tc("w2"),t:"t"},Qwa={atos:"atos",amtos:"amtos",avt:Hl("atos",[2]),davs:"davs",dafvs:"dafvs",dav:"dav",ss:El("ss"),t:"t"},Rwa={a:"a",tos:Gl(),at:"at",c:El("c"),mtos:Hl("mtos",[0,2,4]),dur:"dur",fs:"fs",p:"p",vpt:"vpt",vsv:tc("ias_w2"),dom:"dom",gmm:"gmm",gdr:"gdr",t:"t"},Swa={tos:Gl(),at:"at",c:El("c"),mtos:Hl("mtos",[0,2,4]),p:"p",vpt:"vpt",vsv:tc("dv_w4"),gmm:"gmm",gdr:"gdr",dom:"dom",t:"t",mv:"mv",
qmpt:Hl("qmtos",[0,2,4]),qvs:function(a,b){return function(c){var d=c[a];if(g.ta(d))return(0,g.I)(b,function(a){return 0<d&&d>=a?1:0})}}("qnc",[1,
.5,0]),qmv:"qmv",qa:"qas",a:"a"};g.t(Nl,Xk);Nl.prototype.B=function(a){return a.Ud().mj()};g.t(Ql,kda);Ql.prototype.o=function(a){var b=new Ol;b.o=Pl(a,Owa);b.B=Pl(a,Qwa);return b};g.t(Rl,Tj);g.h=Rl.prototype;g.h.ii=function(){return(this.A?this.A:this.o).ii()};
g.h.Ug=function(){return(this.A?this.A:this.o).Ug()};
g.h.Yg=function(){return(this.A?this.A:this.o).Yg()};
g.h.init=function(a){this.C=a;(0,g.D)(this.B,function(a){return a.initialize()});
Nj(this.o,this);return!0};
g.h.dispose=function(){(0,g.D)(this.B,function(a){a.zr();a.dispose()});
Tj.prototype.dispose.call(this)};
g.h.Ij=function(){return(0,g.Pj)(this.B,function(a){return a.Ij()})};
g.h.Kg=function(){return(0,g.Pj)(this.B,function(a){return a.Kg()})};
g.h.uC=function(a,b,c){return new wk(a,this.o,b,c)};
g.h.fj=function(a){0==a.Yg()&&this.C(a.nk(),this)};
g.h.Rh=function(a){this.A=a.B};
g.h.qh=function(){return!1};g.t(Sl,Kj);g.h=Sl.prototype;g.h.Ug=function(){var a={};return a.exg=1,a};
g.h.initialize=function(){var a=this;if(!this.K)if(this.K=!0,sj.getInstance().A.Wd()){rj(g.x,"message",function(b){if(null!=b&&b.data&&g.w(b.data)){var c=b.data;if(g.w(c)){var e={};c=c.split("\n");for(var f=0;f!=c.length;++f){var k=c[f],l=k.indexOf("=");if(!(0>=l)){var m=Number(k.substr(0,l));k=k.substr(l+1);switch(m){case 36:case 26:case 15:case 8:case 11:case 16:case 5:case 18:k="true"==k;break;case 4:case 33:case 6:case 25:case 28:case 29:case 24:case 31:case 30:case 23:case 22:case 7:case 21:case 20:k=
Number(k);break;case 19:case 3:if(g.za(window.decodeURIComponent))try{k=(0,window.decodeURIComponent)(k)}catch(p){throw Error("Error: URI malformed: "+k);}}e[m]=k}}e=e[0]?e:null}else e=null;if(e&&(c=new Ni(e[4],e[12]),sj.getInstance().A.matches(c)&&(c=e[29],f=e[0],g.Ma(["goog_acknowledge_monitoring","goog_get_mode","goog_update_data","goog_image_request"],f)))){nda(a,e);m=1==Fi(sj.getInstance().ob,"me");if("goog_get_mode"==f&&!m&&b.source){k={};tj(k);k[0]="goog_provide_mode";k[6]=4;k[16]=!1;try{var n=
uj(k);b.source.postMessage(n,b.origin);Wl(a,n)}catch(p){qj(406,p)}}if("goog_get_mode"==f&&!m||"goog_acknowledge_monitoring"==f)a.J=2,Ul(a);if(b=e[32])a.aa=b;if(a.B.length&&4!=c){f=e[0];n=!1;c=Ej.getInstance();b=a.o.o;"goog_acknowledge_monitoring"==f&&(a.C=(void 0!==e[36]?e[36]:!e[8])?2:0,Lj(a));e[37]&&(f=Bj(e[37]))&&(n=!0,c.D=f);if(e[38]){if(f=Bj(e[38]))n=!0,c.o=f}else(0,window.isNaN)(e[30])||(0,window.isNaN)(e[31])||(c.o||(c.o=new g.gh(0,0,0,0)),n=!0,c.o.right=c.o.left+e[30],c.o.bottom=c.o.top+e[31]);
e[9]&&(n=!0,f=Bj(e[9]))&&(b=f,c.G=f);e[39]&&((e=e[39])?(e=e.split("-"),e=2==e.length?new g.sd(g.Bb(e[0]),g.Bb(e[1])):null):e=null,e&&(c.C=e));n&&(n=Hi(),a.OC(),a.LC(),a.NC(),a.MC(),c=vj(),e=1===c,c=0===c,e=(sj.getInstance(),e||c),n=new Cj(n,e,a),n.o=b,n.A=Al(),Rj(a,n))}}}},118);
var b=pj(197,function(){Vl(a)});
this.J=1;b();this.D=this.Ic.setInterval(b,100)}else Mj(this,"ib")};
g.h.zr=function(){var a={};tj(a);a[0]="goog_stop_monitoring";Wl(this,uj(a));Ul(this)};
g.h.Ij=function(){var a=sj.getInstance();return 4===a.o?!!Fi(a.ob,"cm"):Fi(a.ob,"osd")&&this.Kg()?!0:!1};
g.h.LC=function(){};
g.h.OC=function(){};
g.h.MC=function(){};
g.h.NC=function(){};
g.h.Kg=function(){return Ej.getInstance().A};
g.va(Sl);g.h=Xl.prototype;g.h.fp=function(a){a.bh=!1;sda(a.yf(),a.dd);a.dispose()};
g.h.Ip=function(){};
g.h.jr=function(a,b,c,d){this.o||(this.o=this.eA());b=c?b:-1;if(null==this.o||this.C)return a=new Zk(pi,a,b,7),a.dd=d,a;a=new Zk(pi,a,b,7,new Xk("measurable_impression",this.o),this.eu());a.dd=d;return a};
g.h.eu=function(){return[new Nl("viewable_impression",this.o)]};
g.h.fj=function(a){var b=Ej.getInstance();switch(a.Yg()){case 0:b.B=!1;(a=pl.getInstance().o)&&Oj(a.o,this);(a=Sl.getInstance())&&Oj(a,this);$l();break;case 2:b.B&&yl()}};
g.h.Rh=function(a){var b=Ej.getInstance();b.B&&(b.F=a.o)};
g.h.qh=function(){return!1};
g.h.fM=function(a,b){a.Yh=!0;switch(a.yf()){case 1:em(this,a,b);break;case 2:this.Yw(a)}this.hx(a)};
g.h.nM=function(a){fl(a,0);return il(a,"start",Al())};
g.h.Hl=function(a,b,c){zl(xl,[a],!Al(),b);return this.Oh(a,b,c)};
g.h.Oh=function(a,b,c){return il(a,c,Al())};
g.h.iM=function(a,b){return fm(a,"firstquartile",1,b)};
g.h.kM=function(a,b){a.La=!0;return fm(a,"midpoint",2,b)};
g.h.oM=function(a,b){return fm(a,"thirdquartile",3,b)};
g.h.gM=function(a,b){var c=fm(a,"complete",4,b);0!=a.Oc&&(a.Oc=3);return c};
g.h.KF=function(a,b,c){var d=Al();if(2==a.Oc&&!d){var e=Hi();a.Ud().H=e}zl(xl,[a],!d,b);2==a.Oc&&(a.Oc=1);return il(a,c,d)};
g.h.mM=function(a,b){var c=this.Hl(a,b||{},"skip");0!=a.Oc&&(a.Oc=3);return c};
g.h.jM=function(a,b){a.bh=!0;return this.Hl(a,b||{},"fullscreen")};
g.h.hM=function(a,b){a.bh=!1;return this.Hl(a,b||{},"exitfullscreen")};
g.h.Ow=function(a,b,c){var d=a.Ud(),e=Hi();d.W=Wk(d,e,1!=a.Oc);zl(xl,[a],!Al(),b);1==a.Oc&&(a.Oc=2);return il(a,c,Al())};
g.h.lM=function(a,b){zl(xl,[a],!Al(),b);return a.A()};
g.h.pu=function(a,b){zl(xl,[a],!Al(),b);this.DF(a);0!=a.Oc&&(a.Oc=3);return a.A()};
g.h.nu=function(){};
g.h.Yw=function(){};
g.h.DF=function(){};
g.h.tC=function(){};
g.h.hx=function(){};
g.h.eA=function(){};var xda={A0:"visible",AZ:"audible",F4:"time",I4:"timetype"},jm={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.t(km,Xk);km.prototype.getId=function(){return this.Ja};
km.prototype.D=function(){return!0};
km.prototype.B=function(a){var b=a.Ud(),c=a.getDuration();return(0,g.Pj)(this.F,function(a){if(void 0!=a.o)var d=zda(a,b);else b:{switch(a.D){case "mtos":d=a.A?b.D.B:b.A.o;break b;case "tos":d=a.A?b.D.o:b.A.o;break b}d=0}0==d?a=!1:(a=-1!=a.B?a.B:g.u(c)&&0<c?a.C*c:-1,a=-1!=a&&d>=a);return a})};g.t(lm,Xk);lm.prototype.B=function(a){var b=mk(a.Ud().B,1);return dl(a,b)};var nm=(0,g.H)(),pm=!1,qm=!1,rm=!1,Bda=[function(a){return!(!a.chrome||!a.chrome.webstore)},
function(a){return!!a.document.documentMode},
function(a){return!!a.document.fonts.ready},
function(){return om(0)},
function(a){return!!a.ActiveXObject},
function(a){return!!a.chrome},
function(a){return!!a.navigator.serviceWorker},
function(a){return!!a.opera},
function(a){return!!a.sidebar},
function(){return!+"\v1"},
function(){return om(1)},
function(a){return!a.ActiveXObject},
function(a){return"-ms-ime-align"in a.document.documentElement.style},
function(a){return"-ms-scroll-limit"in a.document.documentElement.style},
function(a){return"-webkit-font-feature-settings"in a.document.body.style},
function(){return om(2)},
function(a){return"ActiveXObject"in a},
function(a){return"MozAppearance"in a.document.documentElement.style},
function(a){return"_phantom"in a},
function(a){return"callPhantom"in a},
function(a){return"content"in a.document.createElement("template")},
function(a){return"getEntriesByType"in a.performance},
function(){return om(3)},
function(a){return"image-rendering"in a.document.body.style},
function(a){return"object-fit"in a.document.body.style},
function(a){return"open"in a.document.createElement("details")},
function(a){return"orientation"in a.screen},
function(a){return"performance"in a},
function(a){return"shape-image-threshold"in a.document.body.style},
function(){return om(4)},
function(a){return"srcset"in a.document.createElement("img")},
function(){return qm},
function(){return rm},
function(){return om(5)},
function(a){a=a.document.createElement("div");a.style.width="1px";a.style.width="-webkit-min-content";a.style.width="min-content";return"1px"!=a.style.width},
function(a){a=a.document.createElement("div");a.style.width="1px";a.style.width="calc(1px - 1px)";a.style.width="-webkit-calc(1px - 1px)";return"1px"!=a.style.width},
function(){var a=!1;eval('var DummyFunction1 = function(x){ "use strict"; var a = 12; b = a + x*35; }');try{(0,window.DummyFunction1)()}catch(b){a=!0}return a},
function(){var a=!1;try{(0,window.DummyFunction2)()}catch(b){a=!0}return a},
function(){return!1},
function(){return om(6)},
function(a){var b=a.document.createElement("canvas");b.width=b.height=1;b=b.getContext("2d");b.globalCompositeOperation="multiply";b.fillStyle="rgb(0,255,255)";b.fillRect(0,0,1,1);b.fill();b.fillStyle="rgb(255,255,0)";b.fillRect(0,0,1,1);b.fill();b=b.getImageData(0,0,1,1).data;return b[0]==b[2]&&b[1]==b[3]||mm(a.navigator.vibrate)},
function(a){a=a.document.createElement("canvas");a.width=a.height=1;a=a.getContext("2d");a.globalCompositeOperation="multiply";a.fillStyle="rgb(0,255,255)";a.fillRect(0,0,1,1);a.fill();a.fillStyle="rgb(255,255,0)";a.fillRect(0,0,1,1);a.fill();a=a.getImageData(0,0,1,1).data;return a[0]==a[2]&&a[1]==a[3]},
function(a){a=a.document.createElement("div");return mm(a.matches)},
function(a){a=a.document.createElement("input");a.setAttribute("type","range");return"text"!==a.type},
function(a){return a.CSS.supports("image-rendering","pixelated")},
function(a){return a.CSS.supports("object-fit","contain")},
function(){return om(7)},
function(a){return a.CSS.supports("object-fit","inherit")},
function(a){return a.CSS.supports("shape-image-threshold","0.9")},
function(a){return a.CSS.supports("word-break","keep-all")},
function(){return eval("1 == [for (item of [1,2,3]) item][0]")},
function(a){return mm(a.CSS.supports)},
function(){return mm(window.Intl.Collator)},
function(a){return mm(a.document.createElement("dialog").show)},
function(){return om(8)},
function(a){return mm(a.document.createElement("div").animate([{transform:"scale(1)",easing:"ease-in"},{transform:"scale(1.3)",easing:"ease-in"}],{duration:1300,iterations:1}).reverse)},
function(a){return mm(a.document.createElement("div").animate)},
function(a){return mm(a.document.documentElement.webkitRequestFullScreen)},
function(a){return mm(a.navigator.getBattery)},
function(a){return mm(a.navigator.permissions.query)},
function(){return!1},
function(){return om(9)},
function(){return mm(window.webkitRequestAnimationFrame)},
function(a){return mm(a.BroadcastChannel.call)},
function(a){return mm(a.FontFace)},
function(a){return mm(a.Gamepad)},
function(){return om(10)},
function(a){return mm(a.MutationEvent)},
function(a){return mm(a.MutationObserver)},
function(a){return mm(a.crypto.getRandomValues)},
function(a){return mm(a.document.body.createShadowRoot)},
function(a){return mm(a.document.body.webkitCreateShadowRoot)},
function(a){return mm(a.fetch)},
function(){return om(11)},
function(a){return mm(a.navigator.serviceWorker.register)},
function(a){return mm(a.navigator.webkitGetGamepads)},
function(a){return mm(a.speechSynthesis.speak)},
function(a){return mm(a.webkitRTCPeerConnection)},
function(a){return a.CSS.supports("--fake-var","0")},
function(){return om(12)},
function(a){return a.CSS.supports("cursor","grab")},
function(a){return a.CSS.supports("cursor","zoom-in")},
function(a){return a.CSS.supports("image-orientation","270deg")},
function(){return om(13)},
function(a){return a.CSS.supports("position","sticky")},
function(a){return void 0===a.document.createElement("style").scoped},
function(a){return a.performance.getEntriesByType("resource")instanceof Array},
function(){return"undefined"==typeof window.InstallTrigger},
function(){return"object"==typeof(new window.Intl.Collator).resolvedOptions()},
function(a){return"boolean"==typeof a.navigator.onLine},
function(){return om(14)},
function(a){return"undefined"==typeof a.navigator.j6},
function(a){return"number"==typeof a.performance.now()},
function(){return 0==(new window.Uint16Array(1))[0]},
function(a){return-1==a.ActiveXObject.toString().indexOf("native")},
function(a){return-1==Object.prototype.toString.call(a.HTMLElement).indexOf("Constructor")}],Cda=[function(a){a=a.document.createElement("div");
var b=null,c=["{45EA75A0-A269-11D1-B5BF-0000F8051515}","{3AF36230-A269-11D1-B5BF-0000F8051515}","{89820200-ECBD-11CF-8B85-00AA005B4383}"];try{a.style.behavior="url(#default#clientcaps)"}catch(e){}for(var d=0;d<c.length;d++){try{b=a.getComponentVersion(c[d],"componentid").replace(/,/g,".")}catch(e){}if(b)return b.split(".")[0]}return!1},
function(){return(new Date).getTimezoneOffset()},
function(a){return(a.innerWidth||a.document.documentElement.clientWidth||a.document.body.clientWidth)/(a.innerHeight||a.document.documentElement.clientHeight||a.document.body.clientHeight)},
function(a){return(a.outerWidth||a.document&&a.document.body&&a.document.body.offsetWidth)/(a.outerHeight||a.document&&a.document.body&&a.document.body.offsetHeight)},
function(a){return a.screen.availWidth/a.screen.availHeight},
function(a){return a.screen.width/a.screen.height}],Dda=[function(a){return a.navigator.userAgent},
function(a){return a.navigator.platform},
function(a){return a.navigator.vendor}];g.C(sm,tba);sm.prototype.reset=function(){this.o[0]=1732584193;this.o[1]=4023233417;this.o[2]=2562383102;this.o[3]=271733878;this.C=this.B=0};
sm.prototype.update=function(a,b){g.u(b)||(b=a.length);for(var c=b-this.A,d=this.D,e=this.B,f=0;f<b;){if(0==e)for(;f<=c;)tm(this,a,f),f+=this.A;if(g.w(a))for(;f<b;){if(d[e++]=a.charCodeAt(f++),e==this.A){tm(this,d);e=0;break}}else for(;f<b;)if(d[e++]=a[f++],e==this.A){tm(this,d);e=0;break}}this.B=e;this.C+=b};
sm.prototype.digest=function(){var a=Array((56>this.B?this.A:2*this.A)-this.B);a[0]=128;for(var b=1;b<a.length-8;++b)a[b]=0;var c=8*this.C;for(b=a.length-8;b<a.length;++b)a[b]=c&255,c/=256;this.update(a);a=Array(16);for(b=c=0;4>b;++b)for(var d=0;32>d;d+=8)a[c++]=this.o[b]>>>d&255;return a};g.t(um,Ql);um.prototype.o=function(a){var b=Ql.prototype.o.call(this,a);var c=nm=(0,g.H)();var d=om(5);c=(qm?!d:d)?c|2:c&-3;d=om(2);c=(rm?!d:d)?c|8:c&-9;c={s1:(c>>>0).toString(16)};this.A||(this.A=Eda());b.D=this.A;b.F=Pl(a,Pwa,c,"h",vm("kArwaWEsTs"));b.C=Pl(a,Rwa,{},"h",vm("b96YPMzfnx"));b.A=Pl(a,Swa,{},"h",vm("yb8Wev6QDg"));return b};wm.prototype.report=function(a,b){var c=this.o(b);if(g.za(c)){var d={};d=(d.sv="675",d.cb="j",d.e=Fda(a),d);var e=il(b,a,Al());g.fc(d,e);b.sC[a]=e;d=2==b.yf()?lca(d).join("&"):this.B.o(d).o;try{return c(b.dd,d,a),0}catch(f){return 2}}else return 1};
wm.prototype.o=function(){return g.y(this.A)};g.t(xm,wm);xm.prototype.o=function(a){if(!a.pi)return wm.prototype.o.call(this,a);var b=this.C[a.pi];if(b)return function(a,d,e){b.A(a,d,e)};
qj(393,Error());return null};g.t(Cm,Xl);g.h=Cm.prototype;g.h.Ip=function(a,b){var c=this;switch(sj.getInstance().Ab){case "nis":var d=Jda(this,a,b);break;case "gsv":d=Ida(this,a,b);break;case "exc":d=Kda(this,a);break;default:b.opt_overlayAdElement?d=void 0:b.opt_adElement?d=uda(this,a,b.opt_adElement,b.opt_osdId):d=nl(a)||void 0}d&&1==d.yf()&&(d.pa==g.A&&(d.pa=function(a){return c.tC(a)}),Hda(this,d,b));
return d};
g.h.tC=function(a){var b=sj.getInstance();a.o=0;a.W=0;if("h"==a.D||"n"==a.D){if("exc"==b.Ab||"nis"==b.Ab)var c=g.y("ima.bridge.getVideoMetadata");else if(a.pi&&Fm(this)){var d=this.G[a.pi];d?c=function(a){return d.o(a)}:null!==d&&qj("lidar::missingPlayerCallback",Error())}else c=g.y("ima.common.getVideoMetadata");
if(g.za(c))try{var e=c(a.dd)}catch(f){a.o|=4}else a.o|=2}else if("b"==a.D)if(b=g.y("ytads.bulleit.getVideoMetadata"),g.za(b))try{e=b(a.dd)}catch(f){a.o|=4}else a.o|=2;else if("ml"==a.D)if(b=g.y("ima.common.getVideoMetadata"),g.za(b))try{e=b(a.dd)}catch(f){a.o|=4}else a.o|=2;else a.o|=1;a.o||(g.u(e)?null===e?a.o|=16:g.Yb(e)?a.o|=32:null!=e.errorCode&&(a.W=e.errorCode,a.o|=64):a.o|=8);null!=e||(e={});vda(e,a);Aj(e.volume)&&Aj(this.D)&&(e.volume*=this.D);return e};
g.h.eA=function(){if(Fm(this))return new xm("ima.common.triggerExternalActivityEvent",this.B,this.G);var a=Lda(this);return null!=a?new wm(a,this.B):null};
g.h.eu=function(){var a=this.o,b=Xl.prototype.eu.call(this);b.push(new lm(a));return b};
g.h.Yw=function(a){!a.o&&a.Yh&&cm(this,a,"overlay_unmeasurable_impression")&&(a.o=!0)};
g.h.DF=function(a){a.rG&&(a.mj()?cm(this,a,"overlay_viewable_end_of_session_impression"):cm(this,a,"overlay_unviewable_impression"),a.rG=!1)};
g.h.nu=function(a){this.C&&1==a.yf()&&Gm(this,a)};
g.h.hx=function(a){this.C&&1==a.yf()&&Gm(this,a)};
g.h.jr=function(a,b,c,d){a=Xl.prototype.jr.call(this,a,b,c,d);this.F&&(b=this.H,null==a.A&&(a.A=new Pk),b.o[a.dd]=a.A,a.A.D=Nwa);return a};
g.h.fp=function(a){a&&1==a.yf()&&this.F&&delete this.H.o[a.dd];return Xl.prototype.fp.call(this,a)};
g.va(Cm);var s0=new Ol;s0.D="stopped";s0.o="stopped";s0.B="stopped";s0.F="stopped";s0.C="stopped";s0.A="stopped";Object.freeze(s0);var Twa=pj(193,Im,void 0,gm);g.ua("Goog_AdSense_Lidar_sendVastEvent",Twa,void 0);var Uwa=pj(194,function(a,b){b=void 0===b?{}:b;var c=Em(Cm.getInstance(),a,b);return Hm(c)});
g.ua("Goog_AdSense_Lidar_getViewability",Uwa,void 0);var Vwa=pj(195,function(){return Bm()});
g.ua("Goog_AdSense_Lidar_getUrlSignalsArray",Vwa,void 0);var Wwa=pj(196,function(){return g.Hg(Bm())});
g.ua("Goog_AdSense_Lidar_getUrlSignalsList",Wwa,void 0);var WB=(new Date).getTime();g.h=g.Mm.prototype;g.h.Cc=function(){return this.Na};
g.h.xb=function(){Pm(this);for(var a=[],b=0;b<this.o.length;b++)a.push(this.A[this.o[b]]);return a};
g.h.Fb=function(){Pm(this);return this.o.concat()};
g.h.isEmpty=function(){return 0==this.Na};
g.h.clear=function(){this.A={};this.Bi=this.Na=this.o.length=0};
g.h.remove=function(a){return Nm(this.A,a)?(delete this.A[a],this.Na--,this.Bi++,this.o.length>2*this.Na&&Pm(this),!0):!1};
g.h.get=function(a,b){return Nm(this.A,a)?this.A[a]:b};
g.h.set=function(a,b){Nm(this.A,a)||(this.Na++,this.o.push(a),this.Bi++);this.A[a]=b};
g.h.forEach=function(a,b){for(var c=this.Fb(),d=0;d<c.length;d++){var e=c[d],f=this.get(e);a.call(b,f,e,this)}};
g.h.clone=function(){return new g.Mm(this)};
g.h.ge=function(a){Pm(this);var b=0,c=this.Bi,d=this,e=new Lk;e.next=function(){if(c!=d.Bi)throw Error("The map has changed since the iterator was created");if(b>=d.o.length)throw Mk;var e=d.o[b++];return a?e:d.A[e]};
return e};g.h=g.Sm.prototype;g.h.toString=function(){var a=[],b=this.C;b&&a.push($m(b,Xwa,!0),":");var c=this.A;if(c||"file"==b)a.push("//"),(b=this.H)&&a.push($m(b,Xwa,!0),"@"),a.push(g.lb(c).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),c=this.D,null!=c&&a.push(":",String(c));if(c=this.B)this.A&&"/"!=c.charAt(0)&&a.push("/"),a.push($m(c,"/"==c.charAt(0)?Ywa:Zwa,!0));(c=this.o.toString())&&a.push("?",c);(c=this.Yi())&&a.push("#",$m(c,$wa));return a.join("")};
g.h.resolve=function(a){var b=this.clone(),c=!!a.C;c?g.Tm(b,a.C):c=!!a.H;c?b.H=a.H:c=!!a.A;c?g.Um(b,a.A):c=null!=a.D;var d=a.B;if(c)g.Vm(b,a.D);else if(c=!!a.B){if("/"!=d.charAt(0))if(this.A&&!this.B)d="/"+d;else{var e=b.B.lastIndexOf("/");-1!=e&&(d=b.B.substr(0,e+1)+d)}e=d;if(".."==e||"."==e)d="";else if(-1!=e.indexOf("./")||-1!=e.indexOf("/.")){d=g.jb(e,"/");e=e.split("/");for(var f=[],k=0;k<e.length;){var l=e[k++];"."==l?d&&k==e.length&&f.push(""):".."==l?((1<f.length||1==f.length&&""!=f[0])&&
f.pop(),d&&k==e.length&&f.push("")):(f.push(l),d=!0)}d=f.join("/")}else d=e}c?g.Wm(b,d):c=""!==a.o.toString();c?Xm(b,a.o.clone()):c=!!a.J;c&&(b.J=a.Yi());return b};
g.h.clone=function(){return new g.Sm(this)};
g.h.cB=function(){return this.o.toString()};
g.h.Yi=function(){return this.J};
var Xwa=/[#\/\?@]/g,Zwa=/[#\?:]/g,Ywa=/[#\?]/g,Tda=/[#\?@]/g,$wa=/#/g;g.h=g.Zm.prototype;g.h.Cc=function(){cn(this);return this.Na};
g.h.add=function(a,b){cn(this);this.A=null;a=fn(this,a);var c=this.o.get(a);c||this.o.set(a,c=[]);c.push(b);this.Na=this.Na+1;return this};
g.h.remove=function(a){cn(this);a=fn(this,a);return Om(this.o,a)?(this.A=null,this.Na=this.Na-this.o.get(a).length,this.o.remove(a)):!1};
g.h.clear=function(){this.o=this.A=null;this.Na=0};
g.h.isEmpty=function(){cn(this);return 0==this.Na};
g.h.forEach=function(a,b){cn(this);this.o.forEach(function(c,d){(0,g.D)(c,function(c){a.call(b,c,d,this)},this)},this)};
g.h.Fb=function(){cn(this);for(var a=this.o.xb(),b=this.o.Fb(),c=[],d=0;d<b.length;d++)for(var e=a[d],f=0;f<e.length;f++)c.push(b[d]);return c};
g.h.xb=function(a){cn(this);var b=[];if(g.w(a))gn(this,a)&&(b=g.Ua(b,this.o.get(fn(this,a))));else{a=this.o.xb();for(var c=0;c<a.length;c++)b=g.Ua(b,a[c])}return b};
g.h.set=function(a,b){cn(this);this.A=null;a=fn(this,a);gn(this,a)&&(this.Na=this.Na-this.o.get(a).length);this.o.set(a,[b]);this.Na=this.Na+1;return this};
g.h.get=function(a,b){if(!a)return b;var c=this.xb(a);return 0<c.length?String(c[0]):b};
g.h.toString=function(){if(this.A)return this.A;if(!this.o)return"";for(var a=[],b=this.o.Fb(),c=0;c<b.length;c++){var d=b[c],e=g.lb(d);d=this.xb(d);for(var f=0;f<d.length;f++){var k=e;""!==d[f]&&(k+="="+g.lb(d[f]));a.push(k)}}return this.A=a.join("&")};
g.h.clone=function(){var a=new g.Zm;a.A=this.A;this.o&&(a.o=this.o.clone(),a.Na=this.Na);return a};var Xn={cJ:5E3,dJ:15E3,Sy:"://secure-...imrworldwide.com/ ://cdn.imrworldwide.com/ ://aksecure.imrworldwide.com/ ://[^.]*.moatads.com ://youtube[0-9]+.moatpixel.com ://pm.adsafeprotected.com/youtube ://pm.test-adsafeprotected.com/youtube ://e[0-9]+.yt.srs.doubleverify.com www.google.com/pagead/sul www.google.com/pagead/xsul www.youtube.com/pagead/sul www.youtube.com/pagead/psul www.youtube.com/pagead/slav".split(" "),HJ:/\bocr\b/,zt:0,oh:{},iX:function(a,b,c){a&&(Xn.tN(a)?Xn.bG(a,b):Xn.YF(a,b,c))},
tN:function(a){if(g.F(g.G(a)))return!1;if(0<=a.indexOf("://pagead2.googlesyndication.com/pagead/gen_204?id=yt3p&sr=1&"))return!0;try{var b=new g.Sm(a)}catch(c){return null!=g.Ia(Xn.Sy,function(b){return 0<a.search(b)})}return b.Yi().match(Xn.HJ)?!0:null!=g.Ia(Xn.Sy,function(b){return null!=a.match(b)})},
bG:function(a,b){if(a&&(a=Xn.jL(a),!g.F(a))){var c='javascript:"<body><img src=\\""+'+a+'+"\\"></body>"';b?Xn.UB(function(b){Xn.WF(b?c:'javascript:"<body><object data=\\""+'+a+'+"\\" type=\\"text/html\\" width=1 height=1 style=\\"visibility:hidden;\\"></body>"')}):Xn.WF(c)}},
WF:function(a){var b=g.Md("IFRAME",{src:a,style:"display:none"});a=g.vd(b).body;var c=g.Cg(function(){g.Kf(d);g.Ud(b)},Xn.dJ);
var d=Af(b,["load","error"],function(){g.Cg(function(){g.Dg(c);g.Ud(b)},Xn.cJ)});
a.appendChild(b)},
UB:function(a,b){var c=Xn.oh.imageLoadingEnabled;if(null!=c)a(c);else{var d=!1;c=function(b,c){delete Xn.oh[c];d||(d=!0,null!=Xn.oh.imageLoadingEnabled||(Xn.oh.imageLoadingEnabled=b),a(b))};
b?b(c):Xn.DN(c)}},
DN:function(a){var b=new window.Image,c=""+Xn.zt++;Xn.oh[c]=b;b.onload=function(){(0,window.clearTimeout)(d);a(!0,c)};
var d=(0,window.setTimeout)(function(){a(!1,c)},300);
b.src="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw=="},
hX:function(a){if(a){var b=g.Od("OBJECT");b.data=a;b.width="1";b.height="1";b.style.visibility="hidden";var c=""+Xn.zt++;Xn.oh[c]=b;b.onload=b.onerror=function(){delete Xn.oh[c]};
window.document.body.appendChild(b)}},
XF:function(a){if(a){var b=new window.Image,c=""+Xn.zt++;Xn.oh[c]=b;b.onload=b.onerror=function(){delete Xn.oh[c]};
b.src=a}},
YF:function(a,b,c){if(a){if(c)try{if(g.x.navigator&&g.x.navigator.sendBeacon&&g.x.navigator.sendBeacon(a,""))return}catch(d){}b?Xn.UB(function(b){b?Xn.XF(a):Xn.hX(a)}):Xn.XF(a)}},
jL:function(a){a=g.Lc(g.Oc(a));if("about:invalid#zClosurez"===a)return"";a=g.ad(cd(a));return g.lb(g.Hg(a))}};g.C(g.hn,g.L);var ln=[];g.h=g.hn.prototype;g.h.X=function(a,b,c,d){return jn(this,a,b,c,d)};
g.h.di=function(a,b,c,d){return mn(this,a,b,c,d)};
g.h.Ia=function(a,b,c,d,e){if(g.xa(b))for(var f=0;f<b.length;f++)this.Ia(a,b[f],c,d,e);else c=c||this.handleEvent,d=g.Aa(d)?!!d.capture:!!d,e=e||this.C||this,c=Cf(c),d=!!d,b=g.uf(a)?a.Gm(b,c,d,e):a?(a=g.Ef(a))?a.Gm(b,c,d,e):null:null,b&&(g.Kf(b),delete this.A[b.key])};
g.h.Y=function(){g.hn.fa.Y.call(this);g.on(this)};
g.h.handleEvent=function(){throw Error("EventHandler.handleEvent not implemented");};g.C(pn,g.L);pn.prototype.G=function(){this.C=(0,g.H)()};
pn.prototype.J=function(a){var b=null!=a.target.href?a.target:a.target.parentNode,c=[];this.A&1&&c.push("nm="+this.D);this.A&2&&c.push("nb="+this.F.get(b));if(this.A&8){var d=g.Ih(this.B);c.push("nx="+(a.clientX-d.x));c.push("ny="+(a.clientY-d.y))}this.A&16&&null!=this.C&&c.push("clkt="+((0,g.H)()-this.C));0<c.length&&(b.href+=0<=b.href.indexOf("?")?"&"+c.join("&"):"?"+c.join("&"))};
pn.prototype.H=function(){this.D++};
pn.prototype.Y=function(){pn.fa.Y.call(this);this.o.dispose()};var Wda=/(?:\[|%5B)([a-zA-Z0-9_]+)(?:\]|%5D)/g;var rn="ad_type vpos mridx pos vad_type videoad_start_delay".split(" ");tn.prototype.isBumper=function(){return this.A};g.h=un.prototype;g.h.St=function(){return this.o.St()};
g.h.Km=function(){return this.o.Km()};
g.h.fg=function(){return this.o.fg()};
g.h.Vm=function(a){return this.yg?this.o.Tp():this.o.Vm(a)};
g.h.setSize=function(a,b){this.o.setSize(a,b)};
g.h.Gt=function(){return this.o.Gt()};
g.h.Ak=function(){return this.o.Ak()};
g.h.vu=function(){return this.o.vu()};
g.h.Vp=function(){return this.o.Vp()};
g.h.hide=g.A;g.h.lg=g.A;g.h.Md=g.A;g.h.Tp=function(){return this.o.Tp()};
g.h.Up=g.A;g.C(vn,g.of);vn.prototype.getError=function(){return this.A};var nz="adMetadata callFlashVpaidMethod adCanPlay click companionBackfill companionInitialized complete destroyInsecureFlashVpaid durationChange firstquartile impression interaction initInsecureFlashVpaid youtubeKevlarCompanionShow youtubeKevlarCompanionHide loaded log mediaUrlPinged midpoint mute pause resume skipshown skippableStateChanged skip start thirdquartile trackingUrlPinged videoClicked volumeChange vpaidEvent why_this_ad_got_it why_this_ad_url youTubeChannelMetadata yt-show-toast".split(" "),
t0="abandon acceptinvitation acceptinvitationlinear click close collapse companionClick complete creativeview endscreenClick engagedview exitfullscreen expand externalActivityEvent feedbackDislike feedbackLike feedbackShown firstquartile fullscreen instreamAdComplete interstitial_dismissed interstitial_start_clicked interstitial_timed_out interstitial_viewed measurable_impression midpoint mute MUTE_AD pause progress replay resume rewind show_ad skipshown skip start stop survey_question_displayed thirdquartile unmute userClose video_card_endcap_action video_card_endcap_collapse video_card_endcap_dismiss video_card_endcap_impression videoShareClicked videoShareShown viewable_impression why_this_ad_url why_this_ad_got_it why_this_ad_settings_url why_this_ad_learn_more mute_interaction_url mute_url mute_undo_url".split(" "),
Sha="acceptinvitation click close collapse creativeview expand progress".split(" "),u0="viewable_impression measurable_impression overlay_unmeasurable_impression overlay_unviewable_impression overlay_viewable_immediate_impression overlay_viewable_end_of_session_impression externalActivityEvent".split(" "),v0={measurable_impression:"measurable_impression",viewable_impression:"viewable_impression",fully_viewable_audible_half_duration_impression:"fully_viewable_audible_half_duration_impression",overlay_unmeasurable_impression:"overlay_unmeasurable_impression",
overlay_unviewable_impression:"overlay_unviewable_impression",overlay_viewable_immediate_impression:"overlay_viewable_immediate_impression",overlay_viewable_end_of_session_impression:"overlay_viewable_end_of_session_impression"};g.C(wn,g.of);wn.prototype.Ub=function(){return this.A};
var Cha={VY:"adCanPlay",XY:"adNotify",v_:"contentPauseRequested",w_:"contentResumeRequested",os:"click",R_:"discardAdNotify",p5:"videoClicked",r5:"videoIconClicked",uy:"engagedview",y0:"expandedChanged",r4:"start",ro:"impression",Jy:"measurable_impression",gz:"viewable_impression",By:"fully_viewable_audible_half_duration_impression",AJ:"overlay_resize",BJ:"overlay_unmeasurable_impression",CJ:"overlay_unviewable_impression",EJ:"overlay_viewable_immediate_impression",DJ:"overlay_viewable_end_of_session_impression",
B0:"externalActivityEvent",PAUSED:"pause",J3:"resume",zy:"firstquartile",Ky:"midpoint",dz:"thirdquartile",oy:"complete",k0:"durationChange",FZ:"autoClose",i5:"userClose",j5:"userRecall",p3:"prefetched",ts:"loaded",uZ:"allAdsCompleted",Wy:"skip",OJ:"skipshown",I1:"linearChanged",h4:"skippableStateChanged",WY:"adMetadata",UY:"adBreakReady",T1:"log",VOLUME_CHANGED:"volumeChange",x5:"mute",p1:"interaction",m_:"companionBackfill",M5:"youTubeVideoMetadata",J5:"youTubeChannelMetadata",h5:"urlNavigationRequested",
U4:"trackingUrlPinged",l5:"video_card_endcap_action",m5:"video_card_endcap_collapse",n5:"video_card_endcap_dismiss",o5:"video_card_endcap_impression",G5:"why_this_ad_url",F5:"why_this_ad_got_it",L2:"MUTE_AD",p_:"companionInitialized",o_:"companionImpression",n_:"companionClick",b2:"mediaUrlPinged",L5:"youtubeKevlarCompanionShow",K5:"youtubeKevlarCompanionHide",N5:"yt-show-toast"};An.prototype.o=function(){return this.aa};
An.prototype.getPlayerType=function(){return""};
var P=new An;var axa={NORMAL:"normal",Ay:"fullscreen"};var Jt=["ADSENSE","ADSENSE/ADX"],Vfa=["DART","DART_DFA","DART_DFP"],hga=["FREEWHEEL","YT:FREEWHEEL"],Rs=["SHOPPING","YT:SHOPPING"],Wfa=["GDFP"],Ufa=["VIRAL","ADSENSE-VIRAL"],Tfa=["VIRAL-RESERVE"],wq={"application/flash":"Flash","application/shockwave-flash":"Flash","application/x-shockwave-flash":"Flash","application/javascript":"Javascript","text/javascript":"Javascript","image/jpeg":"Image","image/jpg":"Image","image/png":"Image","image/gif":"Image",text:"Text"},mv={G_:"application/dash+xml",o2:"video/mp4",
q2:"video/mpeg",Y1:"application/x-mpegURL",Q2:"video/ogg",E4:"video/3gpp",z5:"video/webm",MP3:"audio/mpeg",p2:"audio/mp4"};g.C(Bn,g.of);g.C(Cn,Error);Cn.prototype.Vd=function(){return this.B};
Cn.prototype.Eb=function(){return this.o};
Cn.prototype.Yb=function(){return this.C};
Cn.prototype.toString=function(){return"AdError "+this.Eb()+": "+this.Vd()+(null!=this.Ym?" Caused by: "+this.Ym:"")};Dn.prototype.o=function(){return!1};
Dn.prototype.A=function(){return window.NaN};
Dn.prototype.B=function(){return""};En.prototype.getId=function(){return this.Ja};Fn.prototype.getId=function(){return this.Ja};var fea=["ActiveViewExternalLayer"],In=null;var $ea=["*.googlesyndication.com","gcdn.2mdn.net"],hea=["*.youtu.be","*.youtube.com"],kea="ad.doubleclick.net bid.g.doubleclick.net corp.google.com ggpht.com google.co.uk google.com googleads.g.doubleclick.net googleads4.g.doubleclick.net googleadservices.com googlesyndication.com googleusercontent.com gstatic.com gvt1.com prod.google.com pubads.g.doubleclick.net s0.2mdn.net static.doubleclick.net static.doubleclick.net surveys.g.doubleclick.net youtube.com ytimg.com".split(" "),jea=["c.googlesyndication.com"],
cja=["googleads.g.doubleclick.net","pubads.g.doubleclick.net"];Zn.prototype.Eb=function(){return this.errorCode};
Zn.prototype.Vd=function(){return this.message};
var nja=new Zn("Unable to request ads from server. Cause: {0}.",1005),dja=new Zn("Unable to request ads from server due to network error.",1012),eA=new Zn("Cannot parse the {0} value for the adslist response: {1}.",900),jv=new Zn("Invalid usage of the API. Cause: {0}",900),Nha=new Zn("Asset fallback ad replacement.",1021),Oha=new Zn("Asset fallback no ad replacement.",1021),w0=new Zn("Unable to display one or more required companions.",602),FC=new Zn("There was a problem requesting ads from the server.",
1005),x0=new Zn("There was a problem requesting the biscotti ID.",1005),bja=new Zn("Ad tag URI {0} is invalid. It must be properly encoded before being passed.",1013),hC=new Zn("The provided ad type: {0} is not supported.",1005),Yo=new Zn("The provided {0} information: {1} is invalid.",1101),bxa=new Zn("The provided skip offset was invalid.",1105),cxa=new Zn("The extension contained is neither skippable nor nonskippable.",1105),qr=new Zn("The response does not contain any valid ads.",1009),dxa=new Zn("The overlay ad content could not be displayed since creative dimensions do not align with display area.",
501),Zha=new Zn("The ad playlist response was malformed or empty.",1010),fA=new Zn("The ad response was not understood and cannot be parsed.",1010),gja=new Zn("An unexpected error occurred and the cause is not known. Refer to the inner error for more info.",900),pja=new Zn("The ad response contains unexpected element. Cause {0}.",1010),VC=new Zn("No assets were found in the VAST ad response.",200),Qfa=new Zn("Duplicate node in <{0}>: {1}",101),LB=new Zn("The VAST response document is empty.",1009),
zha=new Zn("Linear assets were found in the VAST ad response, but none of them matched the video player's capabilities.",403),pr=new Zn("Ad request reached a timeout.",301),MB=new Zn("VAST response was malformed and could not be parsed.",100),y0=new Zn("VAST media file loading reached a timeout of {0} seconds.",402),rr=new Zn("Ad request could not be completed due to a network error.",301),exa=new Zn("Non linear assets were found in the VAST ad response, but none of them matched the video player's capabilities.",
503),mfa=new Zn("The maximum number of VAST wrappers ({0}) has been reached.",302),fxa=new Zn("VAST media file duration differs from the VAST response duration by {0} seconds.",202),Ey=new Zn("Video player received an ad with unexpected or incompatible linearity",201),Pfa=new Zn("Unknown node in <{0}>: {1}",101),Xga=new Zn("Invalid VAST resource type: {0}",101),Cia=new Zn("Invalid VAST version",102),nfa=new Zn("No additional VAST wrappers allowed.",300),wr=new Zn("No Ads VAST response after one or more Wrappers",
303),Jy=new Zn("There was an error playing the video ad.",400),gxa=new Zn("VMAP unsupported node in <{0}>: {1}",1010),jx=new Zn("An unexpected error occurred within the VPAID creative. Refer to the inner error for more info.",901),pia=new Zn("There was an error playing the video ad. {0}",400),hxa=new Zn("There was an error playing the video ad. {0}",402);g.C(go,g.of);var ZA="abort canplay canplaythrough durationchange emptied loadstart loadeddata loadedmetadata progress ratechange seeked seeking stalled suspend waiting".split(" ");var mea=function(){if(g.rN)return ho(/Firefox\/([0-9.]+)/);if(g.Hd||AN||g.qf)return pc;if(g.JI)return lc()?ho(/CriOS\/([0-9.]+)/):ho(/Chrome\/([0-9.]+)/);if(g.sN&&!lc())return ho(/Version\/([0-9.]+)/);if(SM||RM){var a=/Version\/(\S+).*Mobile\/(\S+)/.exec(g.Fb);if(a)return a[1]+"."+a[2]}else if(g.TM)return(a=ho(/Android\s+([0-9.]+)/))?a:ho(/Version\/([0-9.]+)/);return""}();var uo={},wo="",po=/OS (\S+) like/,ixa=/OS X (\S+)\)/,so=/Android ([\d\.]+)/;Bo.prototype.reset=function(){this.o=0;this.A=null};g.z0={wy:["BC","AD"],vy:["Before Christ","Anno Domini"],My:"JFMAMJJASOND".split(""),Xy:"JFMAMJJASOND".split(""),us:"January February March April May June July August September October November December".split(" "),ys:"January February March April May June July August September October November December".split(" "),ws:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),zs:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),Es:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),
Bs:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),xs:"Sun Mon Tue Wed Thu Fri Sat".split(" "),As:"Sun Mon Tue Wed Thu Fri Sat".split(" "),tJ:"SMTWTFS".split(""),Yy:"SMTWTFS".split(""),Vy:["Q1","Q2","Q3","Q4"],Qy:["1st quarter","2nd quarter","3rd quarter","4th quarter"],ms:["AM","PM"],mo:["EEEE, MMMM d, y","MMMM d, y","MMM d, y","M/d/yy"],Cs:["h:mm:ss a zzzz","h:mm:ss a z","h:mm:ss a","h:mm a"],ry:["{1} 'at' {0}","{1} 'at' {0}","{1}, {0}","{1}, {0}"],Sl:6,hz:[5,6],Tl:5};
g.z0={wy:["BC","AD"],vy:["Before Christ","Anno Domini"],My:"JFMAMJJASOND".split(""),Xy:"JFMAMJJASOND".split(""),us:"January February March April May June July August September October November December".split(" "),ys:"January February March April May June July August September October November December".split(" "),ws:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),zs:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),Es:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),
Bs:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),xs:"Sun Mon Tue Wed Thu Fri Sat".split(" "),As:"Sun Mon Tue Wed Thu Fri Sat".split(" "),tJ:"SMTWTFS".split(""),Yy:"SMTWTFS".split(""),Vy:["Q1","Q2","Q3","Q4"],Qy:["1st quarter","2nd quarter","3rd quarter","4th quarter"],ms:["am","pm"],mo:["EEEE, d MMMM y","d MMMM y","d MMM y","dd/MM/y"],Cs:["HH:mm:ss zzzz","HH:mm:ss z","HH:mm:ss","HH:mm"],ry:["{1} 'at' {0}","{1} 'at' {0}","{1}, {0}","{1}, {0}"],Sl:0,hz:[5,6],Tl:3};Do.prototype.clone=function(){return new Do(this.o,this.months,this.days,this.hours,this.minutes,this.seconds)};
Do.prototype.times=function(a){return new Do(this.o*a,this.months*a,this.days*a,this.hours*a,this.minutes*a,this.seconds*a)};
Do.prototype.add=function(a){this.o+=a.o;this.months+=a.months;this.days+=a.days;this.hours+=a.hours;this.minutes+=a.minutes;this.seconds+=a.seconds};
g.h=g.Go.prototype;g.h.rp=g.z0.Sl;g.h.up=g.z0.Tl;g.h.clone=function(){var a=new g.Go(this.date);a.rp=this.rp;a.up=this.up;return a};
g.h.getFullYear=function(){return this.date.getFullYear()};
g.h.getMonth=function(){return this.date.getMonth()};
g.h.getDate=function(){return this.date.getDate()};
g.h.getTime=function(){return this.date.getTime()};
g.h.getDay=function(){return this.date.getDay()};
g.h.getUTCFullYear=function(){return this.date.getUTCFullYear()};
g.h.getUTCMonth=function(){return this.date.getUTCMonth()};
g.h.getUTCDate=function(){return this.date.getUTCDate()};
g.h.getUTCHours=function(){return this.date.getUTCHours()};
g.h.getUTCMinutes=function(){return this.date.getUTCMinutes()};
g.h.getTimezoneOffset=function(){return this.date.getTimezoneOffset()};
g.h.set=function(a){this.date=new Date(a.getFullYear(),a.getMonth(),a.getDate())};
g.h.add=function(a){if(a.o||a.months){var b=this.getMonth()+a.months+12*a.o,c=this.getFullYear()+Math.floor(b/12);b%=12;0>b&&(b+=12);a:{switch(b){case 1:var d=0!=c%4||0==c%100&&0!=c%400?28:29;break a;case 5:case 8:case 10:case 3:d=30;break a}d=31}d=Math.min(d,this.getDate());this.date.setDate(1);this.date.setFullYear(c);this.date.setMonth(b);this.date.setDate(d)}a.days&&(a=new Date((new Date(this.getFullYear(),this.getMonth(),this.getDate(),12)).getTime()+864E5*a.days),this.date.setDate(1),this.date.setFullYear(a.getFullYear()),
this.date.setMonth(a.getMonth()),this.date.setDate(a.getDate()),Fo(this,a.getDate()))};
g.h.Jp=function(a){return[this.getFullYear(),g.tb(this.getMonth()+1,2),g.tb(this.getDate(),2)].join(a?"-":"")+""};
g.h.toString=function(){return this.Jp()};
g.h.valueOf=function(){return this.date.valueOf()};Ho.prototype.reset=function(){this.A=this.o=null};var fr=new Jo;Jo.prototype.clear=function(){this.o=Io();this.D=this.K=this.A=null;this.C=Io();this.B=null;this.aa=this.G=this.J="";this.H=this.W=this.F=null};g.va(Mo);Mo.prototype.report=function(a,b,c){if(this.o||c){b=b||{};b.lid=a;b.sdkv=Lo(fr);a=Nn(Jn());g.F(g.G(a))||(b.e=a);b=nea(this,b);var d=new g.Sm("https://web.archive.org/web/20181027110332/http://pagead2.googlesyndication.com/pagead/gen_204");g.Hb(b,function(a,b){g.an(d,b,null!=a?"boolean"==typeof a?a?"t":"f":""+a:"")},this);
a=No();g.Tm(d,a.C);Un(d.toString())}};
Mo.prototype.isLoggingEnabled=function(){return this.o};g.h=Oo.prototype;g.h.oK=!1;g.h.rz=!1;g.h.yz=!0;g.h.Zj=null;g.h.bitrate=-1;g.h.contentId=null;g.h.mA=!1;g.h.Tm=!1;g.h.Um=null;g.h.surveyCreativeData=null;g.h.XX=!0;g.h.Nx=!1;g.h.YX=!1;g.h.Qx=!1;g.h.Rx=!1;g.h.eH=!1;g.h.fH=!0;g.h.UK=!1;g.h.ZX=!0;g.h.wB=!0;g.h.Ms=!1;g.h.OK=!1;g.h.kY=0;g.h.showContentThumbnail=!0;g.h.Lx=!1;g.h.Mx=!1;g.h.hj=null;g.h.ng=1E4;g.h.zz=!0;g.h.nF=0;g.h.Rw=-1;g.h.vB=null;g.h.ri=-1;g.h.shortViewCount=null;g.C(Po,g.Pf);var YA={PZ:"beginFullscreen",os:"click",q0:"end",r0:"endFullscreen",ERROR:"error",ts:"loaded",a2:"mediaLoadTimeout",PAUSE:"pause",PLAY:"play",g4:"skip",OJ:"skipShown",Z3:"shareClicked",Zy:"start",J4:"timeUpdate",b_:"cardsStateChange",G4:"timedMetadata",w5:"volumeChange"};g.h=Po.prototype;g.h.CB=function(){return!1};
g.h.sb=function(){return!0};
g.h.ix=g.A;g.h.EB=g.A;g.h.yu=g.A;g.h.We=function(){return null};
g.h.Bu=g.A;g.h.Au=g.A;g.C(Qo,g.Pf);var Ro=null;Qo.prototype.Bl=function(a){this.B=a};
Qo.prototype.destroy=function(){this.Z.Ia(this.A,"activityMonitor",this.K);this.A=null};
Qo.prototype.K=function(a){var b=a.qg;switch(a.qe){case "appStateChanged":Oda(Cm.getInstance(),b.appState,b.nativeTime);break;case "externalActivityEvent":Vo(b.queryId,b.viewabilityString,b.eventName);break;case "measurableImpression":To(b.queryId,b.viewabilityString);break;case "pageSignals":this.J=b.pageSignals;break;case "viewableImpression":Uo(b.queryId,b.viewabilityString);break;case "engagementData":b=b.engagementString;So().C=b;So().H=(0,g.H)();break;case "viewability":a=b.eventId;window.clearTimeout(a);
var c=this.o.get(a);c&&(this.o.remove(a),c(b.viewabilityData));break;case "viewabilityMeasurement":c=Cm.getInstance();var d=b.queryId;b=b.viewabilityData;var e=sj.getInstance();a=Ej.getInstance();if("exc"==e.Ab){c.D=b.nativeVolume;e=b.exposure||0;var f=b.unmeasurable;c=c.Ip(d,{});null!=b.presenceData&&(null===c.A&&(c.A=new Pk),g.fc(c.A,b.presenceData));-1==c.ia&&(c.ia=Hi(),c.Sb=c.Ud().A.o);c.ha+=f?1:0;c.zb++;c.Qa.update(e,e,!1,1,!1);d=b.insideIframe;g.u(d)&&0==d&&(a.A=!1);c.Yh=f||c.Yh;b.position&&
Ek(c,pi,a.A,new g.gh(b.position.top,b.position.right,b.position.bottom,b.position.left));b.documentSize&&(a.C=new g.sd(b.documentSize.width,b.documentSize.height));b.viewportSize&&(a.o=new g.gh(0,b.viewportSize.width,b.viewportSize.height,0));Fk(c,e,b.screenShare)}break;case "engagement":a=b.eventId,window.clearTimeout(a),c=this.o.get(a),Mo.getInstance().isLoggingEnabled()&&(d=-1,this.F&&(d=(0,g.H)()-this.F),e=!1,c||(e=!0),Sb(b,"loggingId")&&Mo.getInstance().report(43,{step:"receivedResponse",time:(0,g.H)(),
timeout:e,logid:b.loggingId,timediff:d})),c&&(this.o.remove(a),c(b.engagementString))}};
g.ua("ima.bridge.getNativeViewability",function(a,b){So();b({})},void 0);
g.ua("ima.bridge.getVideoMetadata",function(){var a=So().G;return g.za(a)?a():{}},void 0);
g.ua("ima.bridge.triggerViewEvent",Uo,void 0);g.ua("ima.bridge.triggerMeasurableEvent",To,void 0);g.ua("ima.bridge.triggerExternalActivityEvent",Vo,void 0);var rea={eJ:"Image",RI:"Flash",ALL:"All"},qea={a1:"Html",e1:"IFrame",t4:"Static",ALL:"All"},sea={f1:"IgnoreSize",U3:"SelectExactMatch",V3:"SelectNearMatch"},tea={Q_:"DisallowResize",F3:"ResizeSmaller"};var A0=!1,B0="";
(function(){if(window.navigator.plugins&&window.navigator.plugins.length){var a=window.navigator.plugins["Shockwave Flash"];if(a&&(A0=!0,a.description)){B0=Xo(a.description);return}if(window.navigator.plugins["Shockwave Flash 2.0"]){A0=!0;B0="2.0.0.11";return}}if(window.navigator.mimeTypes&&window.navigator.mimeTypes.length&&(a=window.navigator.mimeTypes["application/x-shockwave-flash"],A0=!(!a||!a.enabledPlugin))){B0=Xo(a.enabledPlugin.description);return}if("undefined"!=typeof window.ActiveXObject){try{var b=new window.ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");
A0=!0;B0=Xo(b.GetVariable("$version"));return}catch(c){}try{b=new window.ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");A0=!0;B0="6.0.21";return}catch(c){}try{b=new window.ActiveXObject("ShockwaveFlash.ShockwaveFlash"),A0=!0,B0=Xo(b.GetVariable("$version"))}catch(c){}}})();
var dp=A0,$B=B0;g.C(ip,g.Pf);var jp=null;g.h=ip.prototype;g.h.destroy=function(){this.Z.Ia(this.o,"activityMonitor",this.zB);this.B=!1;this.A.clear()};
g.h.Y=function(){this.destroy();ip.fa.Y.call(this)};
g.h.init=function(a){if(!this.B){if(this.o=a||null)this.Z.X(this.o,"activityMonitor",this.zB),pp(this);if(P.K&&!(g.x.ima&&g.x.ima.video&&g.x.ima.video.client&&g.x.ima.video.client.tagged)){g.ua("ima.video.client.sdkTag",!0,void 0);var b=g.x.document;a=b.createElement("script");var c=b.location.protocol;"http:"!=c&&"https:"!=c&&(c="");a.src=c+"//web.archive.org/web/20181027110332/https://s0.2mdn.net/instream/video/client.js";a.async=!0;a.type="text/javascript";b=b.getElementsByTagName("script")[0];b.parentNode.insertBefore(a,b)}(a=P.A||P.o())||
(a=!1);a||(Cm.getInstance().C=!0);this.D=(g.za(null),null);Dm();this.B=!0}};
g.h.Bl=function(a){this.C=a};
g.h.zB=function(a){var b=a.qg,c=b.queryId,d={};d.eventId=b.eventId;switch(a.qe){case "getPageSignals":pp(this);break;case "reportVastEvent":var e=b.vastEvent;a=b.osdId;var f={};f.opt_fullscreen=b.isFullscreen;b.isOverlay&&(f.opt_bounds=b.overlayBounds);d.viewabilityData=np(this,e,c,a,f);this.o.send("activityMonitor","viewability",d);break;case "fetchAdTagUrl":d={},d.eventId=b.eventId,a=b.osdId,c=null,Sb(b,"isFullscreen")&&(c=b.isFullscreen),Sb(b,"loggingId")&&(b=b.loggingId,d.loggingId=b,Mo.getInstance().report(43,
{step:"beforeLookup",logid:b,time:(0,g.H)()},!0)),d.engagementString=yea(this,a,c),this.o.send("activityMonitor","engagement",d)}};
g.ua("ima.common.getVideoMetadata",function(a){a=kp().A.get(a);return g.za(a)?a():{}},void 0);
g.ua("ima.common.triggerViewEvent",function(a,b){var c={};c.queryId=a;c.viewabilityString=b;var d=kp().o;d?d.send("activityMonitor","viewableImpression",c):kp().dispatchEvent(new wn("viewable_impression",null,c))},void 0);
g.ua("ima.common.triggerViewabilityMeasurementUpdate",function(a,b){var c=kp().o,d={};d.queryId=a;d.viewabilityData=b;c&&c.send("activityMonitor","viewabilityMeasurement",d)},void 0);
g.ua("ima.common.triggerMeasurableEvent",function(a,b){var c={};c.queryId=a;c.viewabilityString=b;var d=kp().o;d?d.send("activityMonitor","measurableImpression",c):kp().dispatchEvent(new wn("measurable_impression",null,c))},void 0);
g.ua("ima.common.triggerExternalActivityEvent",function(a,b,c){var d={};d.queryId=a;d.viewabilityString=b;d.eventName=c;(a=kp().o)?a.send("activityMonitor","externalActivityEvent",d):kp().dispatchEvent(new wn("externalActivityEvent",null,d))},void 0);
kp();g.C(qp,g.of);qp.prototype.getError=function(){return this.o};rp.prototype.Sc=function(){return this.G};
rp.prototype.Lc=function(){return this.C};
rp.prototype.clone=function(){var a=new rp(this.J,this.H);if(null!=this.C)sp(a,this.Lc(),this.B,this.o,this.D);else{var b=this.Sc(),c=this.B,d=this.o,e=this.A,f=this.D,k=this.F;a.G=b;a.C=null;a.B=c;a.o=d;a.A=e;a.D=f||[];a.F=k||[]}return a};g.C(up,g.of);vp.prototype.videoCount=0;g.wp.prototype.A=Dc;var Ep={},Up={},Vp={},Qp={},Hea={},Qq={};yp.prototype.jm=null;yp.prototype.Sc=function(){return this.content};
yp.prototype.toString=function(){return this.content};
g.C(zp,yp);zp.prototype.dk=Qq;g.C(Ap,yp);Ap.prototype.dk=Ep;g.C(Bp,yp);Bp.prototype.dk=Qp;Bp.prototype.jm=1;var Fp=function(a){function b(a){this.content=a}
b.prototype=a.prototype;return function(a,d){var c=new b(String(a));void 0!==d&&(c.jm=d);return c}}(Ap),Jea=function(a){function b(a){this.content=a}
b.prototype=a.prototype;return function(a){return new b(String(a))}}(Bp),Hp={},Ip={},gs=function(a){function b(a){this.content=a}
b.prototype=a.prototype;return function(a,d){var c=String(a);if(!c)return"";c=new b(c);void 0!==d&&(c.jm=d);return c}}(Ap),Sp=/['()]/g,bq={},Kea={"\x00":"&#0;",
"\t":"&#9;","\n":"&#10;","\x0B":"&#11;","\f":"&#12;","\r":"&#13;"," ":"&#32;",'"':"&quot;","&":"&amp;","'":"&#39;","-":"&#45;","/":"&#47;","<":"&lt;","=":"&#61;",">":"&gt;","`":"&#96;","\u0085":"&#133;","\u00a0":"&#160;","\u2028":"&#8232;","\u2029":"&#8233;"},Lea={"\x00":"%00","\u0001":"%01","\u0002":"%02","\u0003":"%03","\u0004":"%04","\u0005":"%05","\u0006":"%06","\u0007":"%07","\b":"%08","\t":"%09","\n":"%0A","\x0B":"%0B","\f":"%0C","\r":"%0D","\u000e":"%0E","\u000f":"%0F","\u0010":"%10","\u0011":"%11",
"\u0012":"%12","\u0013":"%13","\u0014":"%14","\u0015":"%15","\u0016":"%16","\u0017":"%17","\u0018":"%18","\u0019":"%19","\u001a":"%1A","\u001b":"%1B","\u001c":"%1C","\u001d":"%1D","\u001e":"%1E","\u001f":"%1F"," ":"%20",'"':"%22","'":"%27","(":"%28",")":"%29","<":"%3C",">":"%3E","\\":"%5C","{":"%7B","}":"%7D","\u007f":"%7F","\u0085":"%C2%85","\u00a0":"%C2%A0","\u2028":"%E2%80%A8","\u2029":"%E2%80%A9","\uff01":"%EF%BC%81","\uff03":"%EF%BC%83","\uff04":"%EF%BC%84","\uff06":"%EF%BC%86","\uff07":"%EF%BC%87",
"\uff08":"%EF%BC%88","\uff09":"%EF%BC%89","\uff0a":"%EF%BC%8A","\uff0b":"%EF%BC%8B","\uff0c":"%EF%BC%8C","\uff0f":"%EF%BC%8F","\uff1a":"%EF%BC%9A","\uff1b":"%EF%BC%9B","\uff1d":"%EF%BC%9D","\uff1f":"%EF%BC%9F","\uff20":"%EF%BC%A0","\uff3b":"%EF%BC%BB","\uff3d":"%EF%BC%BD"},Aea=/[\x00\x22\x27\x3c\x3e]/g,Cea=/[\x00\x09-\x0d \x22\x26\x27\x2d\/\x3c-\x3e`\x85\xa0\u2028\u2029]/g,Bea=/[\x00\x09-\x0d \x22\x27\x2d\/\x3c-\x3e`\x85\xa0\u2028\u2029]/g,Xp=/[\x00- \x22\x27-\x29\x3c\x3e\\\x7b\x7d\x7f\x85\xa0\u2028\u2029\uff01\uff03\uff04\uff06-\uff0c\uff0f\uff1a\uff1b\uff1d\uff1f\uff20\uff3b\uff3d]/g,
Iea=/^(?!-*(?:expression|(?:moz-)?binding))(?:(?:[.#]?-?(?:[_a-z0-9-]+)(?:-[_a-z0-9-]+)*-?|(?:rgb|hsl)a?\([0-9.%,\u0020]+\)|-?(?:[0-9]+(?:\.[0-9]*)?|\.[0-9]+)(?:[a-z]{1,4}|%)?|!important)(?:\s+|$))*$/i,Fea=/^(?![^#?]*\/(?:\.|%2E){2}(?:[\/?#]|$))(?:(?:https?|mailto):|[^&:\/?#]*(?:[\/?#]|$))/i,Gea=/^[^&:\/?#]*(?:[\/?#]|$)|^https?:|^data:image\/[a-z0-9+]+;base64,[a-z0-9+\/]+=*$|^blob:/i,Dea=/^(?!on|src|(?:style|action|archive|background|cite|classid|codebase|data|dsync|href|longdesc|usemap)\s*$)(?:[a-z0-9_$:-]*)$/i,
Mp=/<(?:!|\/?([a-zA-Z][a-zA-Z0-9:\-]*))(?:[^>'"]|"[^"]*"|'[^']*')*>/g,Np=/</g;fq.prototype.Xa=function(){return this.B};
fq.prototype.Yb=function(){return this.A};
g.C(gq,fq);eq.prototype.isEmpty=function(){return this.o.isEmpty()};g.h=nq.prototype;g.h.getDuration=function(){return this.oa};
g.h.Iu=function(){return null};
g.h.Hu=function(){return null};
g.h.Gu=function(){return null};
g.h.Ub=function(){return this.J};
g.h.Dp=function(){for(var a=[this],b=this.J.A;b;){var c=qq(this,b)||qq(this,b,!0);null!=c&&a.push(c);b=b.A}return a};rq.prototype.ub=function(){return this.F};
rq.prototype.getHeight=function(){return this.C};
rq.prototype.Xa=function(){return this.D};g.C(sq,nq);g.h=sq.prototype;g.h.Bf=function(){return this.C};
g.h.Mh=function(){return this.A};
g.h.Nh=function(){return null!=this.D?this.D.Xa():null};
g.h.Iu=function(){var a=uq(this,"javascript");return null!=a?a.Xa():null};
g.h.Hu=function(){var a=vq(this);return null!=a?a.Xa():null};
g.h.Gu=function(){return null!=this.D?this.D.A:1==this.A.length?this.A[0].A:null};g.C(xq,nq);g.h=xq.prototype;g.h.Sc=function(){return de(this.Lc())};
g.h.Xm=function(){return!1};
g.h.Ju=function(){return this.Xm()?de(this.Lc(!0)):""};
g.h.Ad=function(){return this.ba};
g.h.pe=function(){return this.Da};
g.h.ub=function(){return this.pe().width};
g.h.getHeight=function(){return this.pe().height};
g.h.Nh=function(){return this.A};
g.h.Iu=function(){return"VPAID"==this.K&&"Javascript"==this.ba?this.A:null};
g.h.Hu=function(){return"VPAID"==this.K&&"Flash"==this.ba?this.A:null};
g.h.Gu=function(){return this.K};
g.h.Bf=function(){return this.pa};g.C(yq,g.L);yq.prototype.G=function(){this.F=(0,g.H)()};
yq.prototype.J=function(a,b){var c=a.element;1==(this.A&1)&&(0==this.C&&this.C++,this.o.nm=this.C);2==(this.A&2)&&(this.o.nb=a.EK);if(8==(this.A&8)){var d=g.Ih(this.D);this.o.nx=Math.round(b.clientX-d.x);this.o.ny=Math.round(b.clientY-d.y)}16==(this.A&16)&&null!=this.F&&(d=(0,g.H)()-this.F,this.o.clkt=d);512==(this.A&512)&&(d=wi())&&(this.o.mb=d);"A"==c.tagName.toUpperCase()&&g.hd(c,Tea(this,c.href))};
yq.prototype.H=function(){this.C++};var jxa=g.Hd?Ic(g.Ac('javascript:""')):Ic(g.Ac("about:blank")),Uea=Gc(jxa),kxa=g.Hd?Ic(g.Ac('javascript:""')):Ic(g.Ac("javascript:undefined"));Gc(kxa);g.C(zq,xq);g.h=zq.prototype;g.h.Wj=function(a){null==this.B||g.F(g.G(this.Bf()))||(this.B.X(a,"click",this.aa),this.ca.push(a))};
g.h.Lc=function(a){a?(null==this.ia&&(this.ia=this.Mg(a),Rd(this.ia,Eq(this))),a=this.ia):(null==this.C&&(this.C=this.Mg(),Rd(this.C,Eq(this))),a=this.C);null!=this.B&&this.B.X(a,"creativeview",this.ha);return a};
g.h.Mg=function(){var a=g.G(this.A);g.F(g.G(this.Bf()))||(a=new g.Sm(a),g.an(a,"clickTAG",g.lb(this.Bf())),a=a.toString());var b=g.Md("IFRAME",{marginwidth:0,marginheight:0,hspace:0,vspace:0,frameborder:0,scrolling:"no"},null);b.height=this.getHeight();"Text"!=this.Ad()&&(b.width=this.ub());b.setAttribute("src",Rn(a));this.Wj(b);return Dq(this,b)};
g.h.Tt=function(){Kn().o("cleanup_text_overlay_spam_signals");return 2};
g.h.Dp=function(){for(var a=[this],b=this.Ub().A;b;){var c=this.F?qq(this,b)||qq(this,b,!0):Fq(this,b)||Fq(this,b,!0);null!=c&&a.push(c);b=b.A}return a};var Yea={};g.C(Rq,zq);g.h=Rq.prototype;g.h.pe=function(){return new g.sd(this.ub(),this.getHeight())};
g.h.getHeight=function(){return 63};
g.h.ub=function(){return null!=this.G?g.Sh(this.G).width:0};
g.h.Tt=function(a){return Kn().o("cleanup_text_overlay_spam_signals")?g.Jq(a,"text-image-link")?9:g.Jq(a,"text-ad-channel")?1:0:g.Jq(a,"text-image")?9:g.Jq(a,"text-ad-channel")?1:0};
g.h.Mg=function(){var a=this.Ub(),b=a.getExtension("AdSense"),c=a.getExtension("TextAd"),d=c.D,e="rtl";null!=d&&(e=Fwa.test(Bc(d,void 0))?"rtl":"ltr");d={title:d,text:c.F+" "+c.G,dir:e,Rc:this.Bf()};if(e=c.getImageUrl())d.image=Rn(e),d.gH=!0,P.o()&&(d.gH=0==c.A||0==c.B),a=g.Ia(a.F,function(a){return a instanceof sq}),null!=a&&(d.duration=fp(a.getDuration()));
b.B&&(d.jH=b.B);this.G=Pq(Mea,d);(0,g.D)(this.G.getElementsByTagName("a"),this.Wj,this);this.G.id=this.Ja;this.G.style.height=this.getHeight()+"px";return this.G};var bfa=[202,1009],gfa="CONTENT_V CPN DISALLOW EID LACT VIS".split(" "),ffa={MOAT_INIT:["://yts\\.moatads\\.com","://yts-testing\\.moatads\\.com","://pagead2\\.googlesyndication\\.com/pagead/gen_204","://pagead2\\.googlesyndication\\.com/activeview/3pty/moat-secure"],MOAT_VIEWABILITY:["://[^.]*\\.moatads\\.com","://pagead2\\.googlesyndication\\.com/pagead/gen_204","://pubads\\.g\\.doubleclick\\.net","://pagead2\\.googlesyndication\\.com/activeview/3pty/moat"],IAS_VIEWABILITY:["://[^.]*\\.adsafeprotected\\.com",
"://[^.]*\\.test-adsafeprotected\\.com","://pagead2\\.googlesyndication\\.com/pagead/gen_204","://pubads\\.g\\.doubleclick\\.net","://pagead2\\.googlesyndication\\.com/activeview/3pty/ias"],DV_VIEWABILITY:["://[^.]*\\.yt\\.srs\\.doubleverify\\.com","://pagead2\\.googlesyndication\\.com/pagead/gen_204","://pubads\\.g\\.doubleclick\\.net","://pagead2\\.googlesyndication\\.com/activeview/3pty/doubleverify"],GOOGLE_VIEWABILITY:"://pubads\\.g\\.doubleclick\\.net ://googleads\\.g\\.doubleclick\\.net ://ad[\\.-]([a-z0-9]+\\.){0,1}doubleclick\\.net ://ade\\.googlesyndication\\.com ://pagead2\\.googlesyndication\\.com ://([a-z0-9]+[.])*youtube\\.com".split(" ")};g.h=or.prototype;g.h.jg=function(){return null!=this.o&&this.o.jg()?!0:0<this.ads.length&&this.A<this.ads.length-1};
g.h.Ye=function(a,b){null!=this.o?lfa(this,a,b):this.jg()?ofa(this,a,(0,g.B)(function(c){!this.jg()||!P.o()&&301==c.Eb()?b(c):this.Ye(a,b)},this)):b(new Cn("adLoadError","The ad source contains no more ads.",1005))};
g.h.DA=function(a,b){return this.D?0<a.length?a:b:g.Xa(b,0,1)};
g.h.Wq=function(a,b,c){var d;if(!(d=null!=a.o)){var e=this.F;d=g.za(e.zm)&&e.zm()||e.Af||0;e=g.za(e.ym)&&e.ym()||e.zf||0;0===a.F.length&&0<a.K.length?(d=cr(a),Yn(a.K,d),d=!1):(xt(a)&&!a.ga?Ct(a,"nonlinear")?mr(a,d,e):nr(a):Ct(a,"linear")?nr(a):Ct(a,"nonlinear")&&mr(a,d,e),d=null!=a.o)}d?(this.B++,b(a)):(b=g.Na(a.F)?ao(MB):a.Zb()?ao(VC):ao(exa),d=br(b,a),hp(Xfa(a),"rm")?b.A=!1:Yn(a.oa,d),c(b))};
g.h.Tw=function(a,b,c){var d=this.F.clone();d.A="";d.o=a.Sb;d.qf=sn(d.o,d.Sp);tr(this,a,d,b,c)};g.C(yr,Gq);yr.prototype.Be=function(){return this.A};g.C(zr,or);zr.prototype.jg=function(){if(null!=this.o&&this.o.jg())return!0;var a=0==this.B||this.B==this.K;return 0<this.ads.length&&a&&this.A<this.ads.length-1};
zr.prototype.DA=function(a,b){return b};
zr.prototype.Wq=function(a,b,c){var d=null==this.o?mt(a):mt(this.ads[this.A]);this.J.B=d;zr.fa.Wq.call(this,a,b,c)};
zr.prototype.Tw=function(a,b,c){this.J.B=-1;zr.fa.Tw.call(this,a,b,c)};g.C(Br,g.Sm);Br.prototype.toString=function(){return Er(this,Br.fa.toString.call(this))};
Br.prototype.cB=function(){return""};
Br.prototype.Yi=function(){return""};
Br.prototype.clone=function(){return new Br(this.toString())};g.h=Mr.prototype;g.h.Sc=function(){return this.o.Sc()};
g.h.Lc=function(){return this.o.Lc()};
g.h.Ad=function(){return this.o.Ad()};
g.h.ub=function(){return this.o.ub()};
g.h.getHeight=function(){return this.o.getHeight()};
g.h.Ub=function(){return this.o.Ub()};Jp("a","",function(a){a=a||{};return'<div class="'+R("videoAdUi")+'"><div class="'+R("videoAdUiTopBar")+" "+R("videoAdUiTopBarWithGradients")+'"><div class="'+R("videoAdUiAuthorIcon")+'"></div><div class="'+R("videoAdUiTitle")+" "+R("ellipsisText")+'"></div><div class="'+R("videoAdUiAuthorName")+" "+R("ellipsisText")+'"></div><div class="'+R("videoAdUiLearnMore")+'">'+Q(a.bi)+'</div><div class="'+R("videoAdUiShare")+'"></div></div><div class="'+R("videoAdUiBottomBar")+'"><div class="'+R("videoAdUiLearnMoreText")+
'">'+Q(a.bi)+'<div class="'+R("videoAdUiLearnMoreIcon")+'"></div></div><div class="'+R("videoAdUiAttributionContainer")+'"><div class="'+R("videoAdUiAttribution")+'" '+Rp(cq(a.uf))+">"+Q(a.uf)+'</div><div class="'+R("videoAdUiAttributionIconContainer")+'"><div class="'+R("videoAdUiAttributionIcon")+'" id="videoAdUiAttributionIcon"></div><div class="'+R("videoAdUiAdInfoPopup")+'"><div class="'+R("videoAdUiAdInfoPopupCallout")+'"></div><div class="'+R("videoAdUiAdInfoPopupText")+'" '+Rp(cq(a.he))+">"+
Q(a.he)+'</div></div></div></div></div><div class="'+R("videoAdUiProgressBar")+'" dir="ltr"><div class="'+R("videoAdUiBuffer")+'"></div><div class="'+R("videoAdUiProgress")+'"></div></div></div>'});
Jp("a","fixedDirectionality",function(a){a=a||{};return'<div class="'+R("videoAdUi")+'"><div class="'+R("videoAdUiTopBar")+" "+R("videoAdUiTopBarWithGradients")+'"><div class="'+R("videoAdUiAuthorIcon")+'"></div><div class="'+R("videoAdUiTitle")+" "+R("ellipsisText")+'"></div><div class="'+R("videoAdUiAuthorName")+" "+R("ellipsisText")+'"></div><div class="'+R("videoAdUiLearnMore")+'">'+Q(a.bi)+'</div><div class="'+R("videoAdUiShare")+'"></div></div><div class="'+R("videoAdUiBottomBar")+'"><div class="'+
R("videoAdUiLearnMoreText")+'">'+Q(a.bi)+'<div class="'+R("videoAdUiLearnMoreIcon")+'"></div></div><div class="'+R("videoAdUiAttributionContainer")+'"><div class="'+R("videoAdUiAttribution")+'">'+Q(a.uf)+'</div><div class="'+R("videoAdUiAttributionIconContainer")+'"><div class="'+R("videoAdUiAttributionIcon")+'" id="videoAdUiAttributionIcon"></div><div class="'+R("videoAdUiAdInfoPopup")+'"><div class="'+R("videoAdUiAdInfoPopupCallout")+'"></div><div class="'+R("videoAdUiAdInfoPopupText")+'">'+Q(a.he)+
'</div></div></div></div></div><div class="'+R("videoAdUiProgressBar")+'" dir="ltr"><div class="'+R("videoAdUiBuffer")+'"></div><div class="'+R("videoAdUiProgress")+'"></div></div></div>'});
Jp("a","redesign2014q4",function(a){a=a||{};return'<div class="'+R("videoAdUi")+'"><div class="'+R("videoAdUiTopBar")+" "+R("videoAdUiTopBarWithGradients")+'"><div class="'+R("videoAdUiAuthorIcon")+'"></div><div class="'+R("videoAdUiTopButtons")+'"><div class="'+R("videoAdUiTopButton")+" "+R("videoAdUiTopButtonInfo")+'"><div class="'+R("videoAdUiTopButtonCallout")+'"><div class="'+R("videoAdUiTopButtonTooltip")+'">'+Q(a.infoText)+'</div></div></div><div class="'+R("videoAdUiTopButton")+" "+R("videoAdUiTopButtonShare")+
'"><div class="'+R("videoAdUiTopButtonCallout")+'"><div class="'+R("videoAdUiTopButtonTooltip")+" "+R("videoAdUiTopButtonShareTooltip")+'">'+Q(a.h6)+'</div></div></div><div class="'+R("videoAdUiTopButton")+" "+R("videoAdUiTopButtonWatchLater")+'"><div class="'+R("videoAdUiTopButtonCallout")+'"><div class="'+R("videoAdUiTopButtonTooltip")+'">'+Q(a.i6)+'</div></div></div></div><div class="'+R("videoAdUiTitle")+" "+R("ellipsisText")+'"></div><div class="'+R("videoAdUiAuthorName")+" "+R("ellipsisText")+
'"></div></div><div class="'+R("videoAdUiBottomBar")+'"><div class="'+R("videoAdUiBottomBarText")+'"><div class="'+R("videoAdUiAttributionContainer")+'"><div class="'+R("videoAdUiAttribution")+'" '+Rp(cq(a.uf))+">"+Q(a.uf)+'</div><div class="'+R("videoAdUiAttributionIconContainer")+'"><div class="'+R("videoAdUiAttributionIcon")+'" id="videoAdUiAttributionIcon"></div><div class="'+R("videoAdUiAdInfoPopup")+'"><div class="'+R("videoAdUiAdInfoPopupCallout")+'"></div><div class="'+R("videoAdUiAdInfoPopupText")+
'" '+Rp(cq(a.he))+">"+Q(a.he)+'</div></div></div></div><div class="'+R("videoAdUiVisitAdvertiserLink")+'"><div class="'+R("videoAdUiVisitAdvertiserLinkText")+'"></div><div class="'+R("videoAdUiVisitAdvertiserIcon")+'"></div></div></div><div class="'+R("videoAdUiBottomBarMessage")+'"></div></div><div class="'+R("videoAdUiProgressBar")+'" dir="ltr"><div class="'+R("videoAdUiBuffer")+'"></div><div class="'+R("videoAdUiProgress")+'"></div></div></div>'});
Jp("b","",function(a){a=a||{};return"You can skip this ad in "+Q(a.fe)});
Jp("b","redesign2014q4",function(a){a=a||{};return"You can skip to video in "+Q(a.fe)});
Jp("b","forcedlinebreak",function(a){a=a||{};return"You can skip to"+(Q(a.jl)+("video in "+Q(a.fe)))});
Jp("b","postroll",function(a){a=a||{};return"You can skip ad in "+Q(a.fe)});
Jp("b","postrollforcedlinebreak",function(a){a=a||{};return"You can skip"+(Q(a.jl)+("ad in "+Q(a.fe)))});g.C(ks,zq);var Lfa=new g.sd(300,250);ks.prototype.Ha=function(){this.G=Math.max(0,this.G-1);ms(this)};
ks.prototype.Ob=function(){this.G=Math.min(this.yb-3,this.G+1);ms(this)};
ks.prototype.Mg=function(){return this.O};g.C(ps,zq);var Nfa=new g.sd(300,250);ps.prototype.Mg=function(){return this.G};var qs=g.Hd&&Ofa();g.C(Js,Gq);Ks.prototype.parse=function(a){a=g.Yd(a);var b=Bs(a),c;"skippable"==b?c="skippable":"nonskippable"==b&&(c="nonskippable");if(null==c)throw ao(cxa);a=a.getAttribute("offset");a=Hs(a);if("skippable"==c&&null==a)throw ao(bxa);return new Js(c,a)};g.C(Ls,Gq);g.C(Ms,Gq);g.h=Os.prototype;g.h.Ad=function(){if(null!=Ht(this))return"application/javascript";if(null!=It(this))return"application/x-shockwave-flash";var a=this.o,b="";if(null===a)return b;if(a instanceof sq)a=a.D,null===a||(b=g.G(a.o));else if(a instanceof zq)switch(a.N){case "IFrame":case "Html":case "Static":b=g.G(a.sa)}return b};
g.h.getExtension=function(a,b){if(b&&this.A){var c=this.A.getExtension(a,!0);if(c)return c}return this.aa.get(a)};
g.h.isBumper=function(){return-1!=this.getDuration()&&0!=this.getDuration()&&7>=this.getDuration()};
g.h.Zb=function(){return this.wa?this.xa:Dt(this)?!0:xt(this)?"video"==this.Kb:Ct(this,"linear")};
g.h.isSkippable=function(){return null!=Ft(this)};
g.h.vN=function(){return this.ga};
g.h.getDuration=function(){return zt(this)};
g.h.Nh=function(){var a=null,b=this.o;null!=b&&(a=b.Nh(),g.F(g.G(a))&&(a=null));return a};
g.h.ub=function(){return this.Zb()?0:this.ba.width};
g.h.getHeight=function(){return this.Zb()?0:this.ba.height};
g.h.cf=function(){return this.Va};
g.h.toString=function(){return"Ad: "+this.yb};g.C(Ot,g.Pf);Ot.prototype.A=function(a){switch(a.type){case "companion_impression":this.dispatchEvent(new wn("companionImpression",this.o));break;case "companion_click":this.dispatchEvent(new wn("companionClick",this.o))}};g.C(Pt,g.Pf);g.h=Pt.prototype;g.h.Cb=function(a){null==a||this.G||(this.Ui=a,iga(this),this.G=!0)};
g.h.ed=function(){null!=this.Ui&&this.G&&(Qt(this),this.F=this.J=this.G=!1,this.o=0,this.B=[],this.H=!1)};
g.h.SV=function(a){this.J=!0;this.o=a.touches.length;this.A&&(window.clearTimeout(this.A),this.A=0,this.L=!0);(this.H=Rt(this,a.touches)||1!=a.touches.length)?this.O=this.N=window.Infinity:(this.N=a.touches[0].clientX,this.O=a.touches[0].clientY);jga(this,a.touches)};
g.h.CM=function(a){this.o=a.touches.length;if(!qo(8)||Math.pow(a.changedTouches[0].clientX-this.N,2)+Math.pow(a.changedTouches[0].clientY-this.O,2)>Math.pow(5,2))this.F=!0};
g.h.RV=function(a){this.D?this.Kt():(!this.J||1!=this.o||this.F||this.L||this.H||!Rt(this,a.changedTouches)||(this.A=window.setTimeout((0,g.B)(this.Kt,this),300)),this.o=a.touches.length,0==this.o&&(this.F=this.J=!1,this.B=[]),this.L=!1)};
g.h.AB=function(){this.Kt()};
g.h.Kt=function(){this.A=0;this.dispatchEvent(new g.of("click"))};
g.h.Y=function(){this.ed();this.C.dispose();this.C=null;Pt.fa.Y.call(this)};var lga=/#(.)(.)(.)/,kga=/^#(?:[0-9a-f]{3}){1,2}$/i;var nga=/#(.)(.)(.)(.)/,mga=/^#(?:[0-9a-f]{4}){1,2}$/i;g.C(g.Vt,g.Pf);g.h=g.Vt.prototype;g.h.sb=function(){return 1==this.o};
g.h.Lq=function(){this.Te("begin")};
g.h.On=function(){this.Te("end")};
g.h.Jd=function(){this.Te("finish")};
g.h.Te=function(a){this.dispatchEvent(a)};var lxa=vc(function(){if(g.Hd)return g.qc("10.0");var a=g.Od("DIV"),b=g.Jd?"-webkit":g.zh?"-moz":g.Hd?"-ms":g.qf?"-o":null,c={transition:"opacity 1s linear"};b&&(c[b+"-transition"]="opacity 1s linear");b={style:c};if(!dd.test("div"))throw Error("Invalid tag name <div>.");if("DIV"in Gwa)throw Error("Tag name <div> is not allowed for SafeHtml.");b=ed("div",b,void 0);g.gd(a,g.ad(b));return""!=Ah(a.firstChild,"transition")});g.C(Xt,g.Vt);g.h=Xt.prototype;g.h.play=function(){if(this.sb())return!1;this.Lq();this.Te("play");this.startTime=(0,g.H)();this.o=1;if(lxa())return g.xh(this.A,this.G),this.C=g.Cg(this.JW,void 0,this),!0;this.tx(!1);return!1};
g.h.JW=function(){g.Qh(this.A);Wt(this.A,this.F);g.xh(this.A,this.B);this.C=g.Cg((0,g.B)(this.tx,this,!1),1E3*this.D)};
g.h.stop=function(){this.sb()&&this.tx(!0)};
g.h.tx=function(a){g.xh(this.A,"transition","");g.Dg(this.C);g.xh(this.A,this.B);this.endTime=(0,g.H)();this.o=0;a?this.Te("stop"):this.Jd();this.On()};
g.h.Y=function(){this.stop();Xt.fa.Y.call(this)};
g.h.pause=function(){};g.C(Yt,g.Pf);Yt.prototype.Y=function(){null!=this.Cj&&(g.Dg(this.Cj),this.Cj=null);null!=this.gf&&(g.Ud(this.gf),this.gf=null);Yt.fa.Y.call(this)};
Yt.prototype.D=function(){this.Cj=null;Zt(this,!1);this.Cj=g.Cg((0,g.B)(function(){this.Cj=null;$t(this,!1);null!=this.gf&&g.O(this.gf,!1);au(this,"complete")},this),200)};
Yt.prototype.show=function(a){au(this,"impression");Zt(this,!0);$t(this,!0);null!=this.gf&&g.O(this.gf,!0);this.Cj=g.Cg(this.D,a,this)};
Yt.prototype.F=function(a){P.o()||a.stopPropagation()};g.C(bu,Gq);g.C(du,Gq);g.h=eu.prototype;
g.h.hF=function(){var a={heading:"",targetingReasons:[],learnMore:"",Pt:"",control:"",mute:"",Ox:this.F};if(null!=this.C){a.heading=this.C.D;var b=this.C.B;if(b&&3==b.length){var c=b[1],d=b[2];b=Fp(Q(b[0])+es()+Q(c)+Fp("</a>")+Q(d));a.Pt=b}b=g.Va(this.C.F);a.targetingReasons=b;for(c=0;c<b.length;c++)if(d=b[c],"string"===typeof d&&-1<d.indexOf("|")){var e=this.C.L;d=Fp(Q(d.substring(0,d.length-2))+" <a href='"+R(Zp("https://web.archive.org/web/20181027110332/https://support.google.com/ads/answer/7029660#match"))+"' target='_blank'>"+Q(e)+"</a>");
b[c]=d}a.close=this.C.C}else a.heading=Fp("This ad may be based on:"),a.Pt=fs({Dz:es(),uA:Fp("</a>")}),a.targetingReasons=P.ca?[is(),Fp("Your activity, while you were signed in to Google.")]:[is(),Fp("Your activity on this device.")],a.close="Close";null!=this.A&&(a.mute=this.A.C);iu(this,Hfa,a);hu(this,"videoAdUiWhyThisAdCloseButton",this.ck);hu(this,"videoAdUiWhyThisAdControl",this.rA);hu(this,"videoAdUiWhyThisAdMute",this.EW);a=this.rA;b=g.K("videoAdUiWhyThisAdGenericMessage",this.o);null!=b&&
(b=b.getElementsByTagName("A")[0],null!=b&&this.Z.X(b,"click",a))};
g.h.ck=function(){null!=this.Z&&(this.Z.dispose(),this.Z=null);null!=this.o&&(null!=this.B&&(fu(this,"why_this_ad_got_it"),this.B.dispose(),this.B=null),this.o.parentElement.removeChild(this.o),this.o=null)};
g.h.rA=function(){fu(this,"why_this_ad_settings_url")};
g.h.EW=function(){if(null!=this.A){fu(this,"mute_interaction_url");var a=cu(this.A);if(0==a){var b={heading:"",message:"Are you sure you want to stop seeing this ad?",confirm:"YES",cancel:"CANCEL"};iu(this,Jfa,b);hu(this,"videoAdUiMuteCancel",this.hF);hu(this,"videoAdUiMuteConfirm",this.HK)}else{fu(this,"mute_url");b={heading:this.A.B,undo:this.A.F,question:this.A.D,options:[],confirm:"SEND",cancel:"CLOSE"};var c=this.A?(c=hq(this.A.o,"mute_undo_url"))&&0<c.length:!1;c||(b.undo="");for(c=0;c<a;c++)b.options.push(this.A.A[c].label);
iu(this,Ifa,b);hu(this,"videoAdUiMuteUndo",this.NX);hu(this,"videoAdUiMuteConfirm",this.zX);hu(this,"videoAdUiMuteCancel",this.wt)}}};
g.h.HK=function(){fu(this,"mute_url");this.wt()};
g.h.NX=function(){fu(this,"mute_undo_url");this.ck()};
g.h.zX=function(){if(null!=this.A){for(var a=cu(this.A),b=!1,c=0;c<a;c++){var d=g.K("videoAdUiMuteOption"+c,this.o);if(null!=d&&d.checked){b=!0;Un(this.A.A[c].url);break}}if(!b)return}this.wt()};
g.h.wt=function(){fu(this,"MUTE_AD");this.ck()};g.C(qu,g.Pf);var qga={1:"videoAdUiBrandInteractionHorizontalRect"},pga=[1],uga=[1],sga={1:["videoAdUiBrandInteractionUnitTopBelowTitle"],2:["videoAdUiBrandInteractionUnitTopBelowTitle","videoAdUiBrandInteractionUnitLeft"],3:["videoAdUiBrandInteractionBottom","videoAdUiBrandInteractionUnitLeft"]};qu.prototype.update=function(){this.F||(this.dispatchEvent("feedbackShown"),this.C=nu(this.A,.5),g.M(this,this.C),this.C.play(),g.O(this.A,!0),this.F=!0,wga(this))};
qu.prototype.H=function(a){P.o()||a.stopPropagation();a=a.target.Ui;null!=a&&(g.Oq(a,"selected")?(g.S(this.A,"optionSelected"),null!=this.B&&g.Lq(this.B,"selected"),this.B=a):(g.Lq(this.A,"optionSelected"),this.B=null),a=null!=this.B?g.Jq(this.B,"videoAdUiBrandInteractionLikeButton")?"l":g.Jq(this.B,"videoAdUiBrandInteractionDislikeButton")?"d":"n":"n","l"==a?this.dispatchEvent("feedbackLike"):"d"==a&&this.dispatchEvent("feedbackDislike"),this.J&&(ou(this.A).play(),g.Cg(function(){g.O(this.A,!1)},
500,this)),null!=this.o&&(null!=Re(this.o,bf,15)?xga(this):yga(this)))};
qu.prototype.Y=function(){null!=this.A&&(g.Ud(this.A),this.A=null);this.B=null;qu.fa.Y.call(this)};g.C(tu,g.Pf);tu.prototype.D=function(){this.o?this.dispatchEvent("videoUnmuteClicked"):this.dispatchEvent("videoMuteClicked")};
tu.prototype.Y=function(){this.Z.dispose();this.Z=null;tu.fa.Y.call(this)};g.C(uu,g.Pf);uu.prototype.Y=function(){null!=this.B&&(g.Ud(this.B),this.B=null);uu.fa.Y.call(this)};
uu.prototype.update=function(a,b){if(!(0>=b))if(0>a)this.G=1;else if(1==this.G)nu(this.B,.5).play(),g.O(this.B,!0),this.G=2;else{var c=Math.round(b-a);this.F?vu(this,this.O,c):this.C?vu(this,this.o,c):this.N&&5<a&&(this.N=!1,g.O(this.o,!1))}};
uu.prototype.W=function(){g.Uh(this.o)||g.O(this.o,!0)};g.C(g.wu,g.L);g.h=g.wu.prototype;g.h.start=function(){this.stop();this.B=!1;var a=xu(this),b=yu(this);a&&!b&&this.o.mozRequestAnimationFrame?(this.Ja=g.Bf(this.o,"MozBeforePaint",this.A),this.o.mozRequestAnimationFrame(null),this.B=!0):this.Ja=a&&b?a.call(this.o,this.A):this.o.setTimeout(zaa(this.A),20)};
g.h.vk=function(){this.isActive()||this.start()};
g.h.stop=function(){if(this.isActive()){var a=xu(this),b=yu(this);a&&!b&&this.o.mozRequestAnimationFrame?g.Kf(this.Ja):a&&b?b.call(this.o,this.Ja):this.o.clearTimeout(this.Ja)}this.Ja=null};
g.h.isActive=function(){return null!=this.Ja};
g.h.uL=function(){this.B&&this.Ja&&g.Kf(this.Ja);this.Ja=null;this.D.call(this.C,(0,g.H)())};
g.h.Y=function(){this.stop();g.wu.fa.Y.call(this)};g.C(g.U,g.L);g.h=g.U.prototype;g.h.Ja=0;g.h.Y=function(){g.U.fa.Y.call(this);this.stop();delete this.o;delete this.A};
g.h.start=function(a){this.stop();this.Ja=g.Cg(this.B,g.u(a)?a:this.Fd)};
g.h.stop=function(){this.isActive()&&g.Dg(this.Ja);this.Ja=0};
g.h.isActive=function(){return 0!=this.Ja};
g.h.dB=function(){this.Ja=0;this.o&&this.o.call(this.A)};g.mxa=function(){if(g.b0){var a=/Windows NT ([0-9.]+)/;return(a=a.exec(g.Fb))?a[1]:"0"}return xS?(a=/10[_.][0-9_.]+/,(a=a.exec(g.Fb))?a[0].replace(/_/g,"."):"10"):g.ro?(a=/Android\s+([^\);]+)(\)|;)/,(a=a.exec(g.Fb))?a[1]:""):ko||lo||Awa?(a=/(?:iPhone|CPU)\s+OS\s+(\S+)/,(a=a.exec(g.Fb))?a[1].replace(/_/g,"."):""):""}();g.C(Du,g.Pf);g.h=Du.prototype;g.h.Y=function(){g.lf(this.C);this.C=null;g.lf(this.J);this.J=null;null!=this.B&&(g.Ud(this.B),this.B=null);null!=this.skipButton&&(this.skipButton=null);null!=this.A&&(g.Ud(this.A),this.A=null);this.O.dispose();this.O=null;this.hc.dispose();this.hc=null;Du.fa.Y.call(this)};
g.h.update=function(a,b){this.ka=b;this.vt(a);2==this.state&&Cu(this,a)};
g.h.skip=function(){return null==this.config.skipOffset||3!=this.state||this.ga?!1:(this.ga=!0,this.dispatchEvent("PUBLISHER_INVOKED_SKIP"),!0)};
g.h.vt=function(a){if(!(0>=this.ka||null==this.config.skipOffset||0>lq(this.config.skipOffset))){var b=lq(this.config.skipOffset);b>=this.ka||3==this.state||(0>a?this.state=1:a<=b?(2!=this.state&&(Cu(this,0),nu(this.B,.5).play(),g.O(this.B,!0)),this.state=2):(3!=this.state&&this.uz(),this.state=3,this.dispatchEvent("skipshown")))}};
g.h.uz=function(){g.O(this.A,!0);this.J=Eu(this.B);this.J.play();this.C=nu(this.A,.5);this.C.play();this.skipButton.autofocus&&this.skipButton.focus()};
g.h.vX=function(a){P.o()||a.stopPropagation();3!=this.state||this.ga||(this.ga=!0,this.dispatchEvent("skip"))};g.C(Ku,Du);var Gu={AA:0,zA:1},Hu={AA:1,zA:0},Iu={kA:15},Ju={kA:300};g.h=Ku.prototype;g.h.Y=function(){Ku.fa.Y.call(this);Mu(this);Ou(this)};
g.h.vt=function(a){Ku.fa.vt.call(this,a);if(3==this.state&&!this.ca&&!this.oa){var b=Qu(this.aa,this.o);if(a=Pu(a,this.config,this.aa))if(this.H==this.L.AA&&a>=b)switch(this.L){case Gu:Lu(this);break;case Hu:Nu(this,!0)}else if(this.H==this.L.zA&&a<b)switch(this.L){case Hu:Lu(this);break;case Gu:Nu(this,!0)}}};
g.h.uz=function(){g.O(this.A,!0);this.J=Eu(this.B);this.J.play();if(this.ca)var a=!1;else{a=Qu(this.aa,this.o);var b=Pu(lq(this.config.skipOffset),this.config,this.aa);if(null!=b){var c=!1;switch(this.L){case Hu:c=b<a;break;case Gu:c=b>=a}a=c}else a=!1}a?(this.H=1,this.C=mu(this.A,.5,"ease-in",0,this.ha)):this.C=nu(this.A,.5);this.C.play();this.skipButton.autofocus&&this.skipButton.focus();this.ca||(this.hc.X(g.Zd(this.A),"mouseover",this.GR),this.hc.X(g.Zd(this.A),"mouseout",this.FR))};
g.h.GR=function(){Ou(this);0!=this.H&&Nu(this,!1);this.oa=!0};
g.h.FR=function(){Ou(this);this.N=g.Cg(function(){this.oa=!1;this.N=null},5E3,this)};Ru.prototype.getDuration=function(){return this.A};
Ru.prototype.Lc=function(){return this.o};
Ru.prototype.update=function(a,b){var c=null!=this.G?lq(this.G):0;this.A=0<=this.A?this.A:b;c<=a&&c+this.A>=a?Aga(this):g.O(this.o,!1)};g.C(Tu,g.Pf);g.h=Tu.prototype;g.h.show=function(){null!=this.o&&g.O(this.o,!0)};
g.h.skip=function(){var a;if(a=null!=this.A)a=this.A,a=null!=a.config.skipOffset&&3==a.state;return a?this.A.skip():!1};
g.h.Y=function(){null!=this.o&&(g.Ud(this.o),this.o=null);null!=this.va.B&&this.va.B.ck();Uu(this);(0,g.D)(this.aa,function(a){a.ed()});
this.aa=[];this.B=null;this.Z.dispose();this.Z=null;Tu.fa.Y.call(this)};
g.h.update=function(a,b,c,d,e){null!=this.o&&(null!=this.Ba&&$u(this,a,c,d,e),null!=this.ia&&g.Oh(this.ia,a/c*100+"%"),null!=this.Va&&g.Oh(this.Va,b/c*100+"%"),0<c&&null!=this.va.skipOffset&&null!=this.A&&(kq(this.va.skipOffset,c),this.A.update(a,c)),0<c&&null!=this.N&&this.N.update(a),0<c&&null!=this.H&&this.H.update(a,c),this.va.O&&0<c&&5>c-a&&g.S(this.ca,"videoAdUiTopBarNoFade"),(0,g.D)(this.sa,function(b){b.update(a,c)},this))};
g.h.Pu=function(a){this.ha=!this.va.K&&P.o();this.Qa=!P.o()&&P.Qa;var b="";this.ha?b="redesign2014q4":this.Qa&&(b="fixedDirectionality");b={uf:this.va.uf,bi:this.va.bi,he:this.va.he,lp:b};this.o=Pq(this.va.ca,b);this.va.wa||this.Z.X(this.o,"touchmove",this.PM);this.ia=g.K("videoAdUiProgress",this.o);this.Va=g.K("videoAdUiBuffer",this.o);this.J=g.K("videoAdUiAttributionContainer",this.o);this.xa=g.K("videoAdUiAttributionIconContainer",this.o);this.Ba=g.K("videoAdUiAttribution",this.o);this.oa=g.K("videoAdUiVisitAdvertiserLink",
this.o);this.C=g.K("videoAdUiVisitAdvertiserLinkText",this.o);Kn().o("ads_backend_enable_proper_visit_advertiser_click_area_on_ima_desktop")&&(this.oa&&g.S(this.oa,"matchBulleitClickArea"),this.C&&g.S(this.C,"matchBulleitClickArea"));this.ba=g.K("videoAdUiVisitAdvertiserIcon",this.o);g.K("videoAdUiBottomBarMessage",this.o);this.L=g.K("videoAdUiAuthorIcon",this.o);this.D=g.K("videoAdUiAuthorName",this.o);this.F=g.K("videoAdUiLearnMore",this.o);this.W=g.K("videoAdUiLearnMoreText",this.o);this.ha?(this.K=
g.K("videoAdUiTopButtonShare",this.o),this.La=g.K("videoAdUiTopButtonShareTooltip",this.o),this.Ha=g.K("videoAdUiTopButtonInfo",this.o),this.fb=g.K("videoAdUiTopButtonWatchLater",this.o)):this.K=g.K("videoAdUiShare",this.o);this.G=g.K("videoAdUiTitle",this.o);this.ca=g.K("videoAdUiTopBar",this.o);this.pa=g.K("videoAdUiBottomBar",this.o);null!=this.L&&this.Z.X(this.L,"click",this.sK);if(null!=this.D){var c=new Pt;this.aa.push(c);this.Z.X(c,"click",this.tK);c.Cb(this.D)}null!=this.F&&(c=new Pt,c.D=
!0,this.aa.push(c),this.Z.X(c,"click",this.dC),c.Cb(this.F));null!=this.W&&(c=new Pt,c.D=!0,this.aa.push(c),this.Z.X(c,"click",this.dC),c.Cb(this.W));null!=this.K&&this.Z.X(this.K,"click",this.rX);null!=this.G&&(c=new Pt,this.aa.push(c),this.Z.X(c,"click",this.FX),c.Cb(this.G));null==this.ca||!P.o()&&jo()||this.Z.X(this.o,"mouseover",this.oX);null!=this.C&&this.Z.X(this.C,"click",this.Xr);null!=this.ba&&this.Z.X(this.ba,"click",this.Xr);null!=this.J&&null!=this.va.B&&(g.S(this.J,"videoAdUiWtaClickable"),
this.Z.X(this.J,"click",this.Mw),this.Z.X(this,"why_this_ad_got_it",this.Yx));this.va.breakType=this.Da;if(null!=this.va.skipOffset)this.A=P.o()?new Ku(this.va,this.o):new Du(this.va,this.o),this.A.ti(this),this.A.sa=b.lp;else if(this.va.aa&&!(3==this.Da&&3500>this.ga)){if(3==this.Da||this.va.A)this.va.W=!0;this.H=new uu(this.va,this.o);g.M(this,this.H);this.H.ti(this)}this.va.J&&(this.ka=new Yt(this.va,this.o),g.M(this,this.ka),this.ka.ti(this));b=this.va;b.Da?(b=b.o,b=P.o()&&null!=b&&null!=Ne(b,
1)&&null!=Ne(hf(b),3)&&Ne(Re(hf(b),af,3),1)?!0:!1):b=!1;b&&(this.N=new qu(this.va,this.o),this.Z.X(this.N,"yt-show-toast",this.xK),this.Z.X(this.N,"feedbackShown",this.Ts),this.Z.X(this.N,"feedbackLike",this.Ts),this.Z.X(this.N,"feedbackDislike",this.Ts));this.va.oa&&(this.O=new tu,this.O.ti(this),this.pa.insertBefore(this.O.A,this.J));400>=((0,window.parseInt)(Bh(a,"width"),10)||a.width)&&g.S(this.o,"videoAdUi-mobile");this.va.K&&(g.S(this.o,"blazer"),g.S(this.o,"blazer-ui-for-cougar"),window.settings&&
window.settings.isTablet||window.ytcfg&&window.ytcfg.data_&&window.ytcfg.data_.IS_TABLET?(g.S(this.o,"tablet"),(window.settings&&window.settings.customControls||window.ytcfg&&window.ytcfg.data_&&window.ytcfg.data_.USE_CUSTOM_CONTROLS)&&g.S(this.o,"customControls")):g.S(this.o,"phone"));b=g.je(a,"html5-video-player");null!=b&&(this.ha&&g.S(b,"videoAdUiRedesign"),g.T(b,"ytp-video-ad-learn-more-ui",this.va.G));g.O(this.o,!1);a.appendChild(this.o);this.va.G||this.ha||!this.va.ia||(this.B=g.Md("DIV",{style:"width:100%;height:100%;pointer-events:auto;"}),
this.o.appendChild(this.B));$u(this,0,this.ga/1E3,1,1);Zu(this)};
g.h.sK=function(){this.dispatchEvent("videoAuthorIconClicked")};
g.h.tK=function(){this.dispatchEvent("videoAuthorClicked")};
g.h.wM=function(a){var b=a.H;a=a.J;g.F(g.G(b))||this.dispatchEvent(new wn("videoIconClicked",null,{clickThroughUrl:b}));(0,g.D)(a,function(a){Un(a)})};
g.h.dC=function(){this.dispatchEvent("videoLearnMoreClicked")};
g.h.rX=function(){this.dispatchEvent("videoShareClicked")};
g.h.FX=function(){this.dispatchEvent("videoTitleClicked")};
g.h.PM=function(a){a.preventDefault()};
g.h.Xr=function(){this.dispatchEvent("click")};
g.h.xK=function(a){this.dispatchEvent(a)};
g.h.Ts=function(a){this.dispatchEvent(a.type)};
g.h.bb=function(){null!=this.sa&&(0,g.D)(this.sa,function(a){Su(a)},this)};
g.h.oX=function(){g.S(this.ca,"videoAdUiTopBarTransitions")};
g.h.Mw=function(){var a=g.je(this.o,"html5-video-player");null!=a&&(gu(this.va.B,a,this),null!=this.A&&Fu(this.A,!1),null!=this.H&&(a=this.H,null!=a.A&&g.O(a.A,!1)))};
g.h.Yx=function(){null!=this.A&&Fu(this.A,!0);if(null!=this.H){var a=this.H;null!=a.A&&g.O(a.A,!0)}};g.C(av,g.L);av.prototype.report=function(a,b){var c=b||mq(this.B,a.type);if(P.A){var d=np(kp(),a.type,this.C);this.K(a.type,c,d)}else pea(So(),a.type,this.C,(0,g.B)(this.K,this,a.type,c))};
av.prototype.K=function(a,b,c){c=g.cc(c||{});if("timeout"==(c.viewability||"")){var d=this.H[a];null!=d&&(c.viewability=d)}if("impression"==a&&!this.J&&null!=this.F&&0<this.F.length){d=P.J&&g.Ma(this.G,"impression");var e=bv(this,this.F,c);cv(this,e,d);this.J=!0}Ega(this,a)&&0<b.length&&(d=P.J&&g.Ma(this.G,a),b=bv(this,b,c),cv(this,b,d),this.A.set(a,!0))};g.C(dv,g.Pf);g.h=dv.prototype;g.h.Em=function(){if(this.tb()){var a=Lt(this.xc);if(null!=a)return a}return""};
g.h.Dm=function(){if(this.tb()){var a=Mt(this.xc);if(null!=a)return a}return""};
g.h.wf=function(){return g.Na(this.ads)?null:this.ads[0]};
g.h.ra=function(){if(this.tb()){if(this.xc.isSkippable()&&!yo())throw bo(hC,null,"skippablevideo");if(null!=Ht(this.xc)&&fv(this,this.xc.A))throw bo(hC,null,"vpaidWithSkippabilityOverride");return this.xc}throw bo(jv,null,"An ad has not been selected.\n"+Error().stack);};
g.h.tb=function(){return null!==this.xc};
g.h.Fj=function(){var a=(0,g.La)(this.ads,this.xc);-1!=a&&++a<this.ads.length?ev(this,this.ads[a]):ev(this,null)};
g.h.Rm=function(){var a=(0,g.La)(this.ads,this.xc);return-1==a?!1:a+1<this.ads.length};
g.h.Ye=function(){if(!this.Rm())return null;var a=(0,g.La)(this.ads,this.xc)+1;return this.ads[a]};
g.h.Mh=function(a){var b=a.A;if(b&&b.sa&&(b=b.F,!g.Na(b)&&b[0]instanceof sq))return b[0].Mh();b=a.o;return hv(a)?b.Mh():[]};
g.h.rr=function(){if(!this.tb()){if(g.Na(this.ads))throw bo(VC);ev(this,this.ads[0]);if(null==this.xc.o)throw ao(VC);}};
g.h.ma=function(a,b){var c=this.tb()?this.ra():null;this.dispatchEvent(new wn(a,c,b))};
g.h.rh=function(a){this.ie=a};
g.h.Za=function(){null==this.hc&&(this.hc=new g.hn(this));return this.hc};
g.h.IS=function(){};
g.h.Bw=function(){};
g.h.Rd=function(a){if(null!=this.ie){g.on(this.Re);this.Re.di(this.ie,"companion_display_error",function(){});
var b=this.ie.Rd(a);null!=b&&(this.Re.X(b,"companion_impression",this.IS),this.Re.X(b,"companion_click",this.Bw),P.o()&&(a=new Ot(a,b),this.ma("companionInitialized",a)));if(!this.ie.xz())throw bo(w0);}};
g.h.destroy=function(){this.dispose()};
g.h.Y=function(){this.tb()&&(lr(this.xc,null),this.xc=null);g.lf(this.hc);this.ie=this.hc=null;this.Zo=!1;P.A?op(kp(),this.Yr):So().G=null;this.Ta&&(g.lf(this.Ta),this.Ta=null);dv.fa.Y.call(this)};
g.h.Xe=function(){return[]};
g.h.Bb=function(){return this.ads[0]};
g.h.Ek=function(){(0,g.D)(this.ads,function(a){for(var b=a.getExtension("sodar");!b&&(a=a.A);)b=a.getExtension("sodar");if(a=b){var c=a.C;b=a.B;var d=a.D,e=a.A;if(c&&b&&d&&e){a=window;c="//web.archive.org/web/20181027110332/https://tpc.googlesyndication.com/sodar/"+g.ob(c)+".js";var f="//web.archive.org/web/20181027110332/https://pagead2.googlesyndication.com/bg/"+g.ob(d)+".js";d=a.document;var k={};b&&(k._scs_=b);k._bgu_=f;k._bgp_=e;k._li_="v_h.0.0.0";(b=a.GoogleTyFxhY)&&"function"==typeof b.push||(b=a.GoogleTyFxhY=[]);b.push(k);b=g.yd(d).createElement("SCRIPT");b.type="text/javascript";
b.async=!0;g.jd(b,g.me(c));d.getElementsByTagName("head")[0].appendChild(b)}}})};
g.h.init=function(a){kv(this);this.Gc(a);this.Ee=!0;this.nl();P.A||(a=this.Yr,So().G=a)};
g.h.nl=function(){this.ma("loaded")};
g.h.zl=function(a){this.tb()&&P.o()&&Yn(Ys(this.ra()),a)};
g.h.aG=g.A;g.h.Yc=function(a,b,c){if(!this.Zo){if(null==a)throw bo(Yo,null,"displayContainer");null!=c&&this.pf(c);this.content=b;this.Oa=a;this.rr();this.Ka=this.Oa.Vm(gv(this));this.Zo=!0}};
g.h.ph=function(a){a=hp(Ps(a),"rm")?a.K:Ys(a);(0,g.D)(a,function(a){g.Pa(this.fc.F,a)},this)};
g.h.zg=function(a,b){(0,g.D)(b,function(b){b=pq(a,b);iq(this.fc.B,b)},this)};
g.h.tl=function(a){if(a instanceof sq){var b=tq(a);(0,g.D)(b.Fb(),function(a){var c=b.get(a);(0,g.D)(c,function(b){jq(this.fc.B,a,b)},this)},this)}};
g.h.Ca=function(a){this.fc.report(new g.of(a))};
g.h.getCurrentTime=function(){return-1};
g.h.getDuration=function(){return-1};
g.h.Tc=function(){return-1};
g.h.sb=function(){return null!=this.Ka?this.Ka.sb():!1};
g.h.bb=function(a,b,c){this.Gc(c)};
g.h.pause=g.A;g.h.resume=g.A;g.h.skip=g.A;g.h.muteAdClicked=g.A;g.h.muteAd=g.A;g.h.whyThisAdClicked=g.A;g.h.whyThisAdClosed=g.A;g.h.pf=function(a){if(null==a||!Fga(this,a))throw bo(Yo,null,"adsRenderingSettings should be instance of AdsRenderingSettings");var b=this.Wa;if(null==a.bitrate||0>=a.bitrate)a.bitrate=-1;null==a.Um&&(a.Um=[]);Gga(a.Um);if(!g.ta(a.ng)||0>=a.ng)a.ng=1E4;g.fc(b,a)};
g.h.start=function(){kv(this);if(!this.Ee)throw ao(jv,null,"Must call init before start.");};
g.h.stop=function(){this.destroy()};
g.h.getVolume=function(){return null!=this.volume?this.volume:0};
g.h.setVolume=function(a){((0,window.isNaN)(a)||0>a||1<a)&&fo(this,Yo,null,"volume",String(a));this.volume=a};
g.h.expand=function(){kv(this);this.Gc("fullscreen")};
g.h.collapse=function(){kv(this);this.Gc("normal")};
g.h.Gc=function(a){if(!g.Vb(axa,a))throw bo(Yo,null,"view mode",a);this.hd=a};
g.h.Dc=function(){return this.Zo};
g.h.hasListeners=function(a){return(0,g.Am)(a,function(a){if(g.uf(this))a=this.hasListener(a,void 0);else{var b=g.Ef(this);a=!!b&&b.hasListener(a,void 0)}return a},this)};
g.h.Nh=function(){return null};
g.h.uk=function(){return null};
g.h.gG=function(){return null};
g.h.We=function(){return null};
g.h.Mf=function(){this.Ca("abandon")};
g.h.tL=function(){return{currentTime:this.getCurrentTime(),duration:this.getDuration(),isPlaying:this.sb(),isVpaid:this.tb()&&null!=Ht(this.ra()),isYouTube:P.o(),volume:this.getVolume()}};
g.h.Hk=function(a){do if(xt(a))return!1;while(a=a.A);return!0};
g.h.bn=function(){for(var a=0;a<this.ads.length;++a)if(!this.Hk(this.ads[a]))return!1;return jo()};
g.h.RW=function(a){var b=g.Ua(t0,g.Pb(v0));Za(b);(0,g.D)(b,function(b){var c=hq(a.o,b);g.Na(c)||this.Ww(b,c)},this);
Dga(this.fc,a.J)};
g.h.Ww=function(a,b){(0,g.D)(b,function(a){var b=a.Yb();a=a.Xa();jq(this.fc.B,b,a)},this)};
g.h.wT=function(a){this.Wa.mA||(a=a.o,null!=a&&(a=a.clickThroughUrl,null!=a&&(Tn(a),this.pause())))};
g.h.ol=function(a){var b=a.type;if(g.Ma(u0,b)){if("externalActivityEvent"==b&&(b=a.o.eventName,!v0[b]))return;iv(this,b)}};var pv=["classid","data","movie","type","typemustmatch"];g.va(g.qv);g.qv.prototype.o=0;g.C(g.rv,g.Pf);g.h=g.rv.prototype;g.h.yM=g.qv.getInstance();g.h.getId=function(){return this.Ja||(this.Ja=":"+(this.yM.o++).toString(36))};
g.h.na=function(){return this.o};
g.h.ti=function(a){if(this.D&&this.D!=a)throw Error("Method not supported");g.rv.fa.ti.call(this,a)};
g.h.Lp=function(){this.o=this.J.createElement("DIV")};
g.h.jk=function(){this.hf=!0;uv(this,function(a){!a.hf&&a.na()&&a.jk()})};
g.h.wm=function(){uv(this,function(a){a.hf&&a.wm()});
this.F&&g.on(this.F);this.hf=!1};
g.h.Y=function(){this.hf&&this.wm();this.F&&(this.F.dispose(),delete this.F);uv(this,function(a){a.dispose()});
this.o&&g.Ud(this.o);this.D=this.o=this.G=this.L=null;g.rv.fa.Y.call(this)};
g.h.Lc=function(){return this.o};
g.h.removeChild=function(a,b){if(a){var c=g.w(a)?a:a.getId();a=this.G&&c?ac(this.G,c)||null:null;if(c&&a){$b(this.G,c);g.Sa(this.L,a);b&&(a.wm(),a.o&&g.Ud(a.o));c=a;if(null==c)throw Error("Unable to set parent component");c.D=null;g.rv.fa.ti.call(c,null)}}if(!a)throw Error("Child is not in parent component");return a};g.C(vv,g.rv);g.h=vv.prototype;g.h.jb=null;g.h.es="window";g.h.Do="sameDomain";g.h.setSize=function(a,b){this.C=g.w(a)?a:Math.round(a)+"px";this.B=g.w(b)?b:Math.round(b)+"px";this.na()&&g.Ph(wv(this),this.C,this.B);return this};
g.h.jk=function(){vv.fa.jk.call(this);for(var a=this.na(),b=this.A.Fb(),c=this.A.xb(),d=[],e=0;e<b.length;e++){var f=g.lb(b[e]),k=g.lb(c[e]);d.push(f+"="+k)}b=d.join("&");if(g.Hd&&!g.sc(11)){d=this.H;c={allowFullScreen:"true",AllowScriptAccess:this.Do,allowNetworking:"all",bgcolor:"#000000",FlashVars:b,quality:"high",SeamlessTabbing:"false",wmode:this.es};b={"class":"goog-ui-media-flash-object",id:this.getId(),name:this.getId()};Hga(b,c);e={allownetworking:"none",allowscriptaccess:"never",movie:d};
d={};for(l in e)d[l]=e[l];for(l in c)f=l.toLowerCase(),f in e&&delete d[f],d[l]=c[l];c=[];for(l in d)c.push(ed("param",{name:l,value:d[l]}));var l=fd({classid:"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"},{},b);l=ed("object",l,c)}else l={AllowScriptAccess:this.Do,allowFullScreen:"true",allowNetworking:"all",bgcolor:"#000000","class":"goog-ui-media-flash-object",FlashVars:b,id:this.getId(),name:this.getId(),quality:"high",SeamlessTabbing:"false",wmode:this.es},l=fd({src:this.H,type:"application/x-shockwave-flash",
pluginspage:"https://web.archive.org/web/20181027110332/https://www.macromedia.com/go/getflashplayer"},{allownetworking:"none",allowscriptaccess:"never"},l),l=ed("embed",l);g.gd(a,g.ad(l));this.C&&this.B&&this.setSize(this.C,this.B);this.Z.X(this.na(),g.Pb(Iwa),pf)};
g.h.Lp=function(){if(null!=this.K&&!(0<=g.yb($B,this.K)))throw Error("Method not supported");var a=this.J.createElement("DIV");a.className="goog-ui-media-flash";this.o=a};
g.h.Y=function(){vv.fa.Y.call(this);this.A=null;this.Z.dispose();this.Z=null};
g.h.Pb=function(){return this.hf&&this.na()?g.RH&&wv(this).readyState&&"complete"==wv(this).readyState||wv(this).readyState&&4==wv(this).readyState||"PercentLoaded"in wv(this)&&100==wv(this).PercentLoaded()?!0:!1:!1};g.C(xv,g.Pf);var nxa=Ic(g.Ac("https://web.archive.org/web/20181027110332/https://imasdk.googleapis.com/flash/sdkloader/flashinhtml.swf"));Ic(g.Ac("https://web.archive.org/web/20181027110332/http://imasdk.googleapis.com/flash/sdkloader/flashinhtml.swf"));g.h=xv.prototype;g.h.dispose=function(){this.o&&(this.o.dispose(),this.A=null);window[this.B]&&delete window[this.B];g.Dg(this.C)};
g.h.load=function(a,b,c,d){window[this.B]=(0,g.B)(this.AM,this);this.o=new vv(nxa);this.o.setSize(b,c);this.o.Do="always";this.o.es="transparent";this.o.A.set("vpaid",a);this.o.A.set("vpaidEventHandler",this.B);tv(this.o,this.F);this.A=wv(this.o);this.C=g.Cg(this.BM,d,this)};
g.h.zM=function(a){if(!this.A)return null;var b=Array.prototype.slice.call(arguments),c=b.shift();if(!this.D&&"handshakeVersion"!=c&&"initAd"!=c)return null;try{if(this.A[c])return this.A[c].apply(this.A,b)}catch(d){}return null};
g.h.AM=function(a,b){"AdLoaded"==a&&(g.Dg(this.C),this.D=!0);this.dispatchEvent(new go(a,b||null))};
g.h.BM=function(){this.dispatchEvent("loadError")};g.C(Av,zq);Av.prototype.Mg=function(){var a=this.Gu();a=null!=a&&"clicktag"==a.toLowerCase();a={url:Rn(g.G(this.A)),width:this.ub(),height:this.getHeight(),Rc:this.Bf(),capture:this.Hz||!a};var b=P.o()&&hp(this.H,"hideMaster")?dq:Nea;a=Pq(b,a);a.style.width=this.ub()+"px";a.style.height=this.getHeight()+"px";a.id=this.Ja;(0,g.D)(a.getElementsByTagName("object"),this.Wj,this);(0,g.D)(a.getElementsByTagName("a"),this.Wj,this);return a};g.C(Bv,zq);Bv.prototype.Mg=function(){var a=g.Md("DIV");a.innerHTML=this.A;this.Wj(a);return Dq(this,a)};g.C(Cv,zq);Cv.prototype.Sc=function(){var a=Cv.fa.Sc.call(this);this.F&&(a=a.replace('src=""','src="'+Rn(g.G(this.A))+'"'));return a};
Cv.prototype.Ju=function(){var a=Cv.fa.Ju.call(this);this.F&&(a=a.replace('src=""','src="'+Rn(g.G(this.A))+'"'));return a};
Cv.prototype.Mg=function(a){var b="";this.F||(b=Rn(g.G(this.A)));b={id:this.Ja,url:b,Rc:this.Bf(),width:this.ub()+"px",height:this.getHeight()+"px"};a=P.o()&&hp(this.H,"hideMaster")?dq:a?Pea:Oea;a=Pq(a,b);(0,g.D)(a.getElementsByTagName("a"),this.Wj,this);return a};
Cv.prototype.Xm=function(){return!0};Fv.prototype.Ad=function(){return null!=this.o?wq[this.o]||"Other":null};g.C(Gv,Gq);Hv.prototype.parse=function(a){if(null==a)return null;var b,c,d;(0,g.D)(g.Wd(a),function(a){switch(a.nodeName){case "AdFormat":b=a.getAttribute("ad_system"),c=a.getAttribute("ad_type"),d=a.getAttribute("instream_type")}},this);
return null!=b&&null!=c&&null!=d?new Gv(b,c,d):null};g.C(Jv,Gq);Jv.prototype.isPharma=function(){return this.G};Kv.prototype.parse=function(a){var b;Cs(a,"config",function(a){null!=b||(b=Mga(this,a))},this);
return b};Lv.prototype.parse=function(a){if(null==a)return null;var b,c,d,e,f,k,l,m,n=!1,p,r=!1;(0,g.D)(g.Wd(a),function(a){switch(a.nodeName){case "AttributionText":c=Bs(a);break;case "AttributionUrl":d=Bs(a);break;case "ConversionUrl":f=Bs(a);break;case "CustomTracking":null!=g.Wd(a)&&(e=Is(a));break;case "is_pharma":a=As(a,"bool");r=Fs(g.G(a));break;case "CheckedEvents":a=g.Wd(a);b=(0,g.I)(a,function(a){return As(a,"id")});
null!=b||(b=[]);break;case "PreviousAdInformation":k=Bs(a);break;case "VisibleUrl":l=Bs(a);break;case "UI":m=(new Kv).parse(a);break;case "ShowYouTubeAnnotations":var v=Bs(a);n=Fs(g.G(v),!1);case "QueryId":p=Bs(a)}},this);
null!=m||(m=new Iv);return new Jv(c,d,f,k,l,m,n,p,r,e,b)};Mv.prototype.parse=function(a){if(null==a)return null;var b;(0,g.D)(g.Wd(a),function(a){switch(a.nodeName){case "CustomTracking":null!=g.Wd(a)&&(b=Is(a))}});
a=null;null!=b&&0<hq(b,"skip").length&&(a="Generic");return new Ls(a,b)};Nv.prototype.parse=function(a){if(null==a)return null;var b,c;(0,g.D)(g.Wd(a),function(a){switch(a.nodeName){case "SkippableAdType":b=Bs(a);break;case "CustomTracking":null!=g.Wd(a)&&(c=Is(a))}});
return new Ls(b,c)};Ov.prototype.parse=function(a){if(null==a)return null;var b;(0,g.D)(g.Wd(a),function(a){switch(a.nodeName){case "CustomTracking":null!=g.Wd(a)&&(b=Is(a))}},this);
return new Gq(b)};Tv("d");Uv("d");Vv("d");var C0=Tv("f");Uv("f");Vv("f");var uw=Tv("i");Uv("i");Vv("i");Tv("j");Uv("j");Vv("j",void 0);Vv("j",void 0);Tv("u");Uv("u");Vv("u");Tv("v");Uv("v");Vv("v",void 0);Vv("v",void 0);var D0=Tv("b");Uv("b");Vv("b");var lw=Tv("e");Uv("e");Vv("e");var mw=Tv("s");Uv("s");Vv("s");Tv("B");Uv("B");Vv("B");Tv("x");Uv("x");Vv("x");Tv("y");Uv("y");Vv("y",void 0);Vv("y",void 0);Tv("g");Uv("g");Vv("g");Tv("h");Uv("h");Vv("h",void 0);Vv("h",void 0);Tv("n");Uv("n");Vv("n");Tv("o");Uv("o");
Vv("o",void 0);Vv("o",void 0);Yv.prototype.clone=function(){var a=this.constructor,b={},c=this.data;if(b!==c){for(var d in b)b.hasOwnProperty(d)&&delete b[d];Qv(b,c)}return new a(b)};var E0;g.C(dw,Yv);var F0;g.C(ew,Yv);var G0,H0;g.C(fw,Yv);var kw;g.C(gw,Yv);var qw;g.C(bw,Yv);var I0;g.C(hw,Yv);var J0;g.C(iw,Yv);var K0,L0;g.C(jw,Yv);var M0,N0,O0,P0,Q0,R0,S0,tw;g.C(ut,Yv);var T0,U0,V0,W0,X0;ew.prototype.Yb=function(){return Zv(this,"type",0)};
ew.prototype.o=function(){return new jw(this.data.website_card)};
ew.prototype.Ze=function(){return new fw(this.data.placement)};
gw.prototype.Yb=function(){return Zv(this,"type",0)};
gw.prototype.getId=function(){return ls(this,"id")};
gw.prototype.setTitle=function(a){this.data.title=a};
bw.prototype.Yb=function(){return Zv(this,"type",0)};
hw.prototype.Bd=function(){return ls(this,"headline")};
hw.prototype.setDescription=function(a){this.data.description=a};
iw.prototype.setDescription=function(a){this.data.description=a};
jw.prototype.Bd=function(){return ls(this,"headline")};
jw.prototype.setDescription=function(a){this.data.description=a};
jw.prototype.Rg=function(){return new ut(this.data.icon)};
jw.prototype.Ap=function(){return new ut(this.data.banner_image)};
ut.prototype.getImageUrl=function(){return ls(this,"image_url")};var xw,oxa={TYPE_ACTION:6,TYPE_ACTION_ENDCAP:9,TYPE_ACTION_INITIATED:14,TYPE_COLLAPSE:3,TYPE_COLLAPSE_ENDCAP:10,TYPE_DISMISS:4,TYPE_DISMISS_ENDCAP:11,TYPE_ERROR:13,TYPE_EXPAND:2,TYPE_HEADLINE_CLICK:5,TYPE_IMPRESSION:1,TYPE_IMPRESSION_ENDCAP:8,TYPE_IMPRESSION_GALLERY:7,TYPE_NONE:0,TYPE_TERMINATING_ACTION:12};
xw={action:{type:{TYPE_APPLICATION_ENGAGEMENT:26,TYPE_APPLICATION_STORE:4,TYPE_ATTRIBUTION:5,TYPE_CALL_PROMPT:22,TYPE_CHANNEL:2,TYPE_COLLAPSE:17,TYPE_ENGAGEMENT_PANEL:20,TYPE_EXTERNAL:16,TYPE_FUNDRAISING:10,TYPE_GOOGLE_MAP_DIRECTIONS:23,TYPE_GOOGLE_MAP_PLACES:24,TYPE_HEADLINE:1,TYPE_HELPOUTS:15,TYPE_INLINE_APPLICATION_STORE:19,TYPE_INTERNAL:13,TYPE_IRDB:8,TYPE_LETTERMAN:14,TYPE_MERCH:9,TYPE_NONE:0,TYPE_PLAYLIST:7,TYPE_RESPONSE:12,TYPE_RESULTS:11,TYPE_SLAP:21,TYPE_SUBMIT_USER_INFO:25,TYPE_SUBSCRIPTION:6,
TYPE_VIDEO:3,TYPE_VOTE:18}},ad_card:{attribution_position:{POSITION_BOTTOM_LEFT:0,POSITION_BOTTOM_RIGHT:3,POSITION_TOP_LEFT:1,POSITION_TOP_RIGHT:2}},card:{prominence:{PROMINENCE_FEATURE:2,PROMINENCE_HIGHLIGHT:1,PROMINENCE_NONE:0},type:{TYPE_APP:2,TYPE_CALL:8,TYPE_FORMFILL:7,TYPE_LOCATION:5,TYPE_NONE:0,TYPE_PRODUCT:1,TYPE_STORE_VISITS:6,TYPE_VOTE:3,TYPE_WEBSITE:4}},event:{type:oxa},formfill_card:{formfill_post_backend:{FORMFILL_POST_BACKEND_ADS_CLICK_SERVER:2,FORMFILL_POST_BACKEND_GOOGLE_SHEETS:1,
FORMFILL_POST_BACKEND_UNKNOWN:0}},formfill_field_infos:{formfill_field_type:{FORMFILL_FIELD_TYPE_UNKNOWN:0,FORMFILL_FIELD_TYPE_USER_EMAIL:1,FORMFILL_FIELD_TYPE_USER_NAME:2,FORMFILL_FIELD_TYPE_USER_PHONE_NUMBER:3,FORMFILL_FIELD_TYPE_USER_POSTAL_CODE:4}},open_hours:{day_of_week:{DAY_FRIDAY:6,DAY_MONDAY:2,DAY_SATURDAY:7,DAY_SUNDAY:1,DAY_THURSDAY:5,DAY_TUESDAY:3,DAY_UNKNOWN:0,DAY_WEDNESDAY:4}},open_hours_today:{open_status:{OPEN_STATUS_IS_CLOSED:2,OPEN_STATUS_IS_OPEN:1,OPEN_STATUS_UNKNOWN:0}},product_card:{badge_icon_type:{BADGE_ICON_TYPE_FLIGHTS:3,
BADGE_ICON_TYPE_HOTELS:2,BADGE_ICON_TYPE_OTHER:4,BADGE_ICON_TYPE_RETAIL:1,BADGE_ICON_TYPE_UNKNOWN:0}},submit_with_edit_tracking_events:{type:oxa}};g.C(vw,Gq);ww.prototype.parse=function(a){var b=vs(a);if(g.F(g.G(b)))return null;if(this.o){var c=yw;if(!E0){var d={};E0=Rv(d);if(!F0){var e={};F0=Rv(e);e.type=lw;if(!G0){var f={};G0=Rv(f);f.major_version=uw;f.minor_version=uw}e.version=Wv(G0);e.priority=uw;e.start_time_ms=Tv("j");e.end_time_ms=Tv("j");e.action=Xv(pw());e.event=Xv(ow());Q0||(f={},Q0=Rv(f),f.headline=mw,f.description=mw,f.attribution_icon_url=mw,f.skippable_seconds=uw,f.attribution_position=lw);e.ad_card=Wv(Q0);if(!I0){f={};I0=Rv(f);f.headline=
mw;f.image=Wv(nw());f.description=mw;f.rating=C0;f.review_text=mw;if(!J0){var k={};J0=Rv(k);k.merchant=mw;k.price=mw;k.shipping=mw;k.shipping_tax=mw;k.condition=mw;k.unit_price=mw;k.energy_label=mw;k.description=mw;k.rating=C0;k.review_text=mw;k.action=Xv(pw());k.event=Xv(ow());k.doc_id=mw;k.catalog_id=mw}f.offer=Xv(J0);f.badge_text=mw;f.badge_icon_type=lw}e.product_card=Wv(I0);K0||(f={},K0=Rv(f),f.app_id=mw,f.app_name=mw,f.icon=Wv(nw()),f.price=mw,f.rating_image=mw,f.review_count=uw,f.app_store_logo=
Wv(nw()),f.button_text=mw,f.screenshots=Xv(nw()),f.rating=C0,f.back_button_text=mw,f.screenshots_text=mw,f.cover_photo=Wv(nw()),f.description=mw,f.app_developer=mw,f.review_text=mw,f.downloads_count=mw,f.downloads_text=mw,f.content_rating_images=Xv(nw()),f.content_rating_text=mw,f.app_description=mw,f.promo_image=Wv(nw()));e.app_card=Wv(K0);L0||(f={},L0=Rv(f),f.headline=mw,f.description=mw,f.icon=Wv(nw()),f.banner_image=Wv(nw()),M0||(k={},M0=Rv(k),k.advertiser_display_name=mw,k.advertiser_logo=Wv(nw())),
f.advertiser_data=Wv(M0));e.website_card=Wv(L0);O0||(f={},O0=Rv(f),f.invitation_headline=mw,f.invitation_description=mw,f.icon=Wv(nw()),f.invitation_cta=mw,f.form_headline=mw,f.form_description=mw,f.confirmation_headline=mw,f.confirmation_description=mw,f.advertiser_name=mw,f.email_key=mw,N0||(k={},N0=Rv(k),k.field_identifier=mw,k.formfill_field_type=lw,k.google_form_column_id=mw,k.is_field_optional=D0,k.submit_with_edit_tracking_events=Xv(ow()),k.field_value_string=mw),f.formfill_field_infos=Xv(N0),
f.formfill_post_backend=lw,f.lead_metadata=mw,f.privacy_policy_url=mw);e.formfill_card=Wv(O0);P0||(f={},P0=Rv(f),f.formatted_phone_number=mw,f.merchant_name=mw,f.call_cta_text=mw,f.headline=mw,f.icon=Wv(nw()));e.call_card=Wv(P0);e.prominence=lw;R0||(f={},R0=Rv(f),f.call_to_action_text=mw);e.social_card=Wv(R0);S0||(f={},S0=Rv(f),f.vote_line_1=mw,f.vote_line_2=mw,f.confirm_line_1=mw,f.confirm_line_2=mw);e.vote_card=Wv(S0);e.sponsored=D0;e.teaser_text=mw;H0||(f={},H0=Rv(f),f.hide_in_drawer=D0,f.show_in_endcap=
D0,f.show_in_companion=D0,f.show_in_cta=D0,f.override_clickthrough=D0,f.show_in_promotion_shelf=D0,f.show_in_immersive_panel=D0);e.placement=Wv(H0);T0||(f={},T0=Rv(f),f.latitude_e6=uw,f.longitude_e6=uw,f.address=mw,f.image=Wv(nw()),f.headline=mw);e.location_card=Wv(T0);U0||(f={},U0=Rv(f),f.icon=Wv(nw()),f.location_image=Wv(nw()),f.display_name=mw,f.latitude_e7=uw,f.longitude_e7=uw,X0||(k={},X0=Rv(k),k.display_address=mw,k.city_province=mw),f.address=Wv(X0),f.display_phone_number=mw,V0||(k={},V0=Rv(k),
k.open_status=lw,k.display_hours=mw),f.open_hours_today=Wv(V0),W0||(k={},W0=Rv(k),k.day_of_week=lw,k.display_day_of_week=mw,k.display_hours=mw),f.open_hours=Xv(W0),f.closing_time_today=mw,f.images=Xv(nw()),f.distance_to_user_meters=uw,f.average_rating=uw,f.num_reviews=uw,f.num_five_star_reviews=uw,f.num_four_star_reviews=uw,f.num_three_star_reviews=uw,f.num_two_star_reviews=uw,f.num_one_star_reviews=uw,f.store_url=mw,f.display_store_url=mw);e.merchant_location=Wv(U0)}d.card=Xv(F0);d.event=Xv(ow())}a=
c(this,a,E0);a=c=new dw(a);d=new eq;for(e=0;e<cw(a,"card");e++)if(f=new ew(aw(a,"card",e)),tt(f.Ze()))for(k=0;k<cw(f,"event");k++){var l=new bw(aw(f,"event",k)),m=null;switch(l.Yb()){case 9:m="video_card_endcap_action";break;case 10:m="video_card_endcap_collapse";break;case 11:m="video_card_endcap_dismiss";break;case 8:m="video_card_endcap_impression"}m&&jq(d,m,zw(m,ls(l,"base_url")))}a=d}else a=Oga(this,a);return new vw(b,c,a)};g.C(Aw,Gq);Aw.prototype.Lh=function(){return this.A};g.C(Bw,Gq);Cw.prototype.parse=function(a){if(!a)return null;var b,c;(0,g.D)(g.Wd(a),function(a){switch(a.nodeName){case "FeEventId":b=Bs(a);break;case "AdEventId":c=Bs(a)}},this);
return new Bw(b,c)};Dw.prototype.D=function(a){var b={};(0,g.D)(this.A,function(a){b[a]=[]});
var c=new RegExp("^"+this.B);(0,g.D)(g.Wd(a),function(a){"config"!=a.nodeName||(0,g.D)(g.Wd(a),function(a){"params"!=a.nodeName||(0,g.D)(g.Wd(a),function(a){var d=this.B?a.nodeName.replace(c,""):a.nodeName,e=a.getAttribute("data");null!=e||(e=Bs(a));null!=a.getAttribute("learn_more")&&(e+="|");g.Ma(this.A,d)?b[d].push(e):b[d]=e},this)},this)},this);
return b};g.C(Fw,Dw);Fw.prototype.parse=function(a){if(null==a)return null;a=Ew(this,a);var b=a.UI;return new bu(b.gone,b.question,b.undo,b.hover_text,a.SurveyOptions||[],a.CustomTracking)};
Fw.prototype.C=function(a){var b=[],c=0;(0,g.D)(g.Wd(a),function(a){if("SurveyOption"==a.nodeName){var d,f;(0,g.D)(g.Wd(a),function(a){switch(a.nodeName){case "DisplayName":d=Bs(a);break;case "URL":f=Bs(a)}},this);
null!=d&&null!=f&&(b.push({label:d,url:f}),c++)}},this);
return b};g.C(Gw,Gq);Hw.prototype.parse=function(a){if(null==a)return null;var b=new Gw;(0,g.D)(g.Wd(a),function(a){if("DealId"!=a.nodeName)return null;a=Bs(a);a=g.G(a);g.F(a)||(b.A=a)},this);
return b};g.C(Iw,Gq);Jw.prototype.o={QJ:"Siub",PJ:"Scs",rI:"Bgub",qI:"Bgp"};Jw.prototype.parse=function(a){if(null==a)return null;var b,c,d,e;(0,g.D)(g.Wd(a),function(a){switch(a.nodeName){case this.o.QJ:b=Bs(a);break;case this.o.PJ:c=Bs(a);break;case this.o.rI:d=Bs(a);break;case this.o.qI:e=Bs(a)}},this);
return b&&c&&d&&e?new Iw(b,c,d,e):null};g.C(Kw,Gq);Lw.prototype.parse=function(a){if(null==a)return null;var b;(0,g.D)(g.Wd(a),function(a){switch(a.nodeName){case "CustomTracking":null!=g.Wd(a)&&(b=Is(a))}},this);
return new Kw(b)};g.C(Mw,Gq);Nw.prototype.o={TJ:"TEMPLATE_PARAMETERS",UJ:"TEMPLATE_URL"};Nw.prototype.parse=function(a){if(null==a)return null;var b;(0,g.D)(g.Wd(a),function(a){switch(a.nodeName){case this.o.TJ:b=Pga(this,a)}},this);
return new Mw(b)};g.C(Ow,Gq);Ow.prototype.getImageUrl=function(){return this.C};Pw.prototype.o={gJ:"Line1",hJ:"Line2",iJ:"Line3",fJ:"ImageUrl"};Pw.prototype.parse=function(a){if(null==a)return null;var b,c,d,e,f=0,k=0;(0,g.D)(g.Wd(a),function(a){switch(a.nodeName){case this.o.gJ:b=Bs(a,!0);break;case this.o.hJ:c=Bs(a,!0);break;case this.o.iJ:d=Bs(a,!0);break;case this.o.fJ:e=Bs(a);var l=Number(a.getAttribute("width"));f=(0,window.isNaN)(l)?0:l;a=Number(a.getAttribute("height"));k=(0,window.isNaN)(a)?0:a}},this);
return new Ow(b,c,d,e,f,k)};g.C(Qw,Gq);Rw.prototype.parse=function(a){if(null==a)return null;var b;(0,g.D)(g.Wd(a),function(a){switch(a.nodeName){case "ViralExtensionData":a=a.getAttribute("query_id"),g.F(g.G(a))||(b=a)}},this);
return new Qw(b)};g.C(Sw,Dw);var pxa=["menu","got_it"],qxa=[["generic_message_left","generic_message_hypertext","generic_message_right"]];Sw.prototype.parse=function(a){if(null==a)return null;a=Ew(this,a);var b=a.UI;if(!Tw(b,pxa))return null;var c,d=!0,e=!1;(0,g.D)(qxa,function(a){Qga(b,a)&&(Tw(b,a)?e=!0:d=!1)});
if(!d||!e)return null;null!=b.generic_message_left&&(c=[b.generic_message_left,b.generic_message_hypertext,b.generic_message_right]);return new du(b.menu,b.got_it,b.targeting_reason_header,b.targeting_reason,a.CustomTracking,c,b.control,b.learn_more)};Uw.prototype.parse=function(a){if(null==a)return null;a=a.getAttribute("sequence");a=null!=a?g.Bb(a):window.NaN;a=(0,window.isNaN)(a)?-1:a;return new Ms(a)};g.C(Vw,Gq);Ww.prototype.parse=function(a){return null!=a?new Vw:null};Xw.prototype.parse=function(a){if(null==a)return null;a=a.getAttribute("fallback_index");a=null!=a?g.Bb(a):window.NaN;return new yr(a)};g.C(Yw,yv);
Yw.prototype.o={hI:"Ad",ls:"AdParameters",lI:"AdSystem",mI:"AdTitle",iI:"Advertiser",oI:"AltText",tI:"ClickThrough",uI:"ClickTracking",vI:"Companion",wI:"CompanionAds",xI:"CompanionClickThrough",yI:"CompanionClickTracking",BI:"Creative",A_:"CreativeExtensions",CI:"Creatives",FI:"CustomClick",II:"Description",qs:"Duration",ERROR:"Error",EXTENSION:"Extension",OI:"Extensions",oo:"HTMLResource",TI:"Icon",VI:"Icons",WI:"IconClicks",XI:"IconClickThrough",YI:"IconClickTracking",ZI:"IconViewTracking",qo:"IFrameResource",
ro:"Impression",g1:"InLine",LINEAR:"Linear",mJ:"MediaFile",nJ:"MediaFiles",vJ:"NonLinear",wJ:"NonLinearAds",xJ:"NonLinearClickThrough",yJ:"NonLinearClickTracking",FJ:"Pricing",so:"StaticResource",SJ:"Survey",T4:"Tracking",Ds:"TrackingEvents",VJ:"UniversalAdId",k5:"VAST",YJ:"VASTAdTagURI",ZJ:"VideoClicks",cK:"Wrapper"};
Yw.prototype.A={jI:"adId",kI:"adSlotID",nI:"allowMultipleAds",lo:"apiFramework",ly:"bitrate",DI:"creativeType",HI:"delivery",qs:"duration",v0:"event",SI:"followAdditionalWrappers",MI:"expandedHeight",NI:"expandedWidth",no:"height",po:"id",aJ:"idRegistry",bJ:"idValue",jJ:"maintainAspectRatio",lJ:"maxBitrate",qJ:"minBitrate",rJ:"minSuggestedDuration",zJ:"offset",GJ:"program",IJ:"required",LJ:"scalable",Uy:"sequence",NJ:"skipoffset",ez:"type",VERSION:"version",aK:"codec",to:"width",dK:"xPosition",eK:"yPosition"};
Yw.prototype.B=function(){return new zv(this.C,Sga(this),null)};g.C(gx,dv);g.h=gx.prototype;g.h.Y=function(){this.G=!1;null===this.o?this.O&&this.dispatchEvent(new wn("destroyInsecureFlashVpaid",this.ra())):this.o.dispose();this.B&&this.ma("contentResumeRequested");this.ma("allAdsCompleted");gx.fa.Y.call(this)};
g.h.Tc=function(){var a=this.ld("getAdRemainingTime");return g.ta(a)?a:-1};
g.h.getVolume=function(){var a=this.ld("getAdVolume");return g.ta(a)?a:-1};
g.h.Yc=function(a,b,c){gx.fa.Yc.call(this,a,b,c);this.B=this.ra().o instanceof sq};
g.h.init=function(a){gx.fa.init.call(this,a);a=this.ra();var b=It(a);b=g.G(b);if(g.F(b))kx(this,Error("Flash VPAID ad url is empty."));else{if(hv(a)){var c=a.o,d=vq(c);null!=d&&(c.D=d)}this.Za().X(So(),u0,this.ol);this.O?this.dispatchEvent(new wn("initInsecureFlashVpaid",a,{url:g.G(b)})):null===this.Oa.fg()?kx(this,Error("Container must be provided for flash VPAID.")):(this.Oa.Md(),null===this.o&&(this.o=new xv(this.Oa.fg())),this.Za().X(this.o,"loadError",this.nT),this.Za().X(this.o,"vpaidEventType",
this.wg),this.o.load(b,this.L,this.F,this.Wa.ng))}};
g.h.start=function(){if(this.G){gx.fa.start.call(this);var a=this.ra();this.fc.C=a.L;var b=cr(a);this.fc.o=b;if(b=a.o)this.ph(a),this.zg(b,t0),this.tl(b),lv(this,a);this.Oa.Md();nv(this);this.Ca("show_ad");this.setVolume(this.C);this.A=new g.Bg(250);this.Za().X(this.A,"tick",this.EM);this.B?this.ma("contentPauseRequested"):(this.ma("contentResumeRequested"),ix(this));this.A.start();this.ld("startAd")}else this.J=!0};
g.h.stop=function(){this.K||(this.ld("stopAd"),this.Oa.hide(),null!=this.A&&(this.A.stop(),this.A=null),gx.fa.stop.call(this),this.K=!0)};
g.h.bb=function(a,b,c){gx.fa.bb.call(this,a,b,c);if(null!==this.o){var d=this.o;d.o&&d.o.setSize(a,b)}this.L=a;this.F=b;this.ld("resizeAd",a,b,c)};
g.h.pause=function(){null!=this.A&&this.A.stop();this.ld("pauseAd")};
g.h.resume=function(){null!=this.A&&this.A.start();this.ld("resumeAd")};
g.h.setVolume=function(a){this.C=a;this.N.getAdVolume=a;this.ld("setAdVolume",a)};
g.h.expand=function(){this.ld("expandAd")};
g.h.collapse=function(){this.ld("collapseAd")};
g.h.nl=g.A;g.h.Zb=function(){return hx(this)};
g.h.skip=function(){this.ld("skipAd")};
g.h.getDuration=function(){var a=this.ld("getAdDuration");if(g.ta(a))return a;a=this.Tc();return 0<=a?this.D/1E3+a:-2};
g.h.EM=function(){this.D+=250;var a=this.getDuration(),b=a-this.Tc();ov(this,b,a)};
g.h.ld=function(a){if(this.K)return null;for(var b=[],c=0;c<arguments.length;c++)b.push(arguments[c]);return this.O?(c=b.shift(),this.dispatchEvent(new wn("callFlashVpaidMethod",this.tb()?this.ra():null,{methodName:c,args:b})),this.N[c]):null===this.o?null:this.o.zM.apply(this.o,b)};
g.h.nT=function(){kx(this,Error("Flash VPAID loader failed to load."))};
g.h.getCurrentTime=function(){return this.D/1E3};
g.h.wg=function(a){var b=a.data;switch(a.o){case "flashVpaidMethodResults":b&&(this.N[b.methodName]=b.result);break;case "flashReady":this.ld("handshakeVersion","2.0");b=$s(this.ra());this.ld("initAd",this.L,this.F,this.hd,this.Wa.bitrate,b);break;case "AdLoaded":this.G=!0;b=this.ld("getAdCompanions");a=g.w(b)?b:"";b=this.ra();g.Na(Zs(b))&&(a=ax(a,b.o.o),g.Na(a)||Ns(b,a));iv(this,"loaded");this.J&&(this.J=!1,this.start());break;case "AdStarted":this.Ca("impression");this.Ca("creativeview");this.ma("start");
break;case "AdVideoStart":this.Ca("start");break;case "AdClickThru":b&&b.playerHandles&&((b=b.url)||(b=g.G(dt(this.ra()))),b&&Tn(b));this.Ca("click");this.ma("click");break;case "AdDurationChange":this.ma("durationChange");break;case "AdRemainingTimeChange":this.ma("durationChange");ix(this);break;case "AdError":a="AdError";b&&(a=b.message);kx(this,Error(a));break;case "AdExpandedChange":this.ma("expandedChanged");break;case "AdImpression":b=this.ra();g.Na(Zs(b))||this.Rd(b);this.ma("impression");
break;case "AdLinearChange":b=hx(this);!this.B&&b?(this.ma("contentPauseRequested"),g.Dg(this.H)):this.B&&!b&&(this.ma("contentResumeRequested"),ix(this));this.B=b;a=this.xc;a.wa=!0;a.xa=b;this.ma("linearChanged");break;case "AdVolumeChange":b=this.getVolume();b!=this.C&&(this.ma("volumeChange"),0==b&&0!=this.C?(this.Ca("mute"),this.ma("mute")):0==this.C&&0!=b&&this.Ca("unmute"),this.C=b);break;case "AdPaused":iv(this,"pause");break;case "AdUserClose":iv(this,"userClose");break;case "AdUserMinimize":this.Ca("collapse");
break;case "AdVideoFirstQuartile":iv(this,"firstquartile");break;case "AdVideoMidpoint":iv(this,"midpoint");break;case "AdVideoThirdQuartile":iv(this,"thirdquartile");break;case "AdVideoComplete":lx(this);break;case "AdUserAcceptInvitation":this.B?this.Ca("acceptinvitationlinear"):this.Ca("acceptinvitation");break;case "AdStopped":lx(this);this.Ca("stop");this.stop();break;case "AdSkipped":iv(this,"skip");break;case "AdSkippableStateChange":iv(this,"skippableStateChanged");break;case "AdPlaying":iv(this,
"resume");break;case "AdLog":this.ma("log")}};g.C(mx,dv);var rxa=Ic(g.Ac("https://web.archive.org/web/20181027110332/https://imasdk.googleapis.com/flash/sdkloader/flashinhtml.swf"));Ic(g.Ac("https://web.archive.org/web/20181027110332/http://imasdk.googleapis.com/flash/sdkloader/flashinhtml.swf"));g.h=mx.prototype;g.h.Y=function(){this.G=!1;this.o&&(this.o.dispose(),this.D=null);g.Dg(this.H);this.B&&this.ma("contentResumeRequested");this.ma("allAdsCompleted");mx.fa.Y.call(this)};
g.h.Tc=function(){var a=this.yd("getAdRemainingTime");return g.ta(a)?a:-1};
g.h.getVolume=function(){var a=this.yd("getAdVolume");return g.ta(a)?a:-1};
g.h.Yc=function(a,b,c){mx.fa.Yc.call(this,a,b,c);this.B=this.ra().o instanceof sq};
g.h.init=function(a){mx.fa.init.call(this,a);window[this.W]=(0,g.B)(this.FM,this);this.Za().X(So(),u0,this.ol);this.o=new vv(rxa);this.o.setSize(this.N,this.J);this.o.Do="always";var b=this.ra();a=It(b);a=g.G(a);if(g.F(a))px(this,jx,Error("Flash VPAID ad url is empty.")),this.stop();else{if(hv(b)){b=b.o;var c=vq(b);null!=c&&(b.D=c)}this.o.A.set("vpaid",a);this.o.es="transparent";this.o.A.set("vpaidEventHandler",this.W);this.Oa.Md();tv(this.o,this.Oa.fg());this.D=wv(this.o);this.H=g.Cg(this.HM,this.Wa.ng,
this)}};
g.h.start=function(){if(this.G){mx.fa.start.call(this);var a=this.ra();this.fc.C=a.L;var b=cr(a);this.fc.o=b;if(b=a.o)this.ph(a),this.zg(b,t0),this.tl(b),lv(this,a);this.Oa.Md();nv(this);this.Ca("show_ad");this.setVolume(this.C);this.A=new g.Bg(250);this.Za().X(this.A,"tick",this.GM);this.B?this.ma("contentPauseRequested"):(this.ma("contentResumeRequested"),ox(this));this.A.start();this.yd("startAd")}else this.L=!0};
g.h.stop=function(){this.aa||(this.aa=!0,this.yd("stopAd"),this.Oa.hide(),null!=this.A&&(this.A.stop(),this.A=null),mx.fa.stop.call(this))};
g.h.bb=function(a,b,c){mx.fa.bb.call(this,a,b,c);this.N=a;this.J=b;null!=this.o&&this.o.setSize(a,b);this.yd("resizeAd",a,b,c)};
g.h.pause=function(){null!=this.A&&this.A.stop();this.yd("pauseAd")};
g.h.resume=function(){null!=this.A&&this.A.start();this.yd("resumeAd")};
g.h.setVolume=function(a){this.C=a;this.yd("setAdVolume",a)};
g.h.expand=function(){this.yd("expandAd")};
g.h.collapse=function(){this.yd("collapseAd")};
g.h.nl=function(){};
g.h.Zb=function(){return nx(this)};
g.h.skip=function(){this.yd("skipAd")};
g.h.getDuration=function(){var a=this.yd("getAdDuration");if(g.ta(a))return a;a=this.Tc();return 0<=a?this.F/1E3+a:-2};
g.h.GM=function(){this.F+=250;var a=this.getDuration(),b=a-this.Tc();ov(this,b,a)};
g.h.yd=function(a){if(!this.o||!this.D)return null;for(var b=[],c=0;c<arguments.length;c++)b.push(arguments[c]);c=b.shift();var d=!1;this.G&&(d=!0);if("handshakeVersion"==c||"initAd"==c)d=!0;if(d)try{if(null!=this.D[c])return this.D[c].apply(this.D,b)}catch(e){}return null};
g.h.HM=function(){px(this,y0,null,(this.Wa.ng/1E3).toString());this.stop()};
g.h.getCurrentTime=function(){return this.F/1E3};
g.h.FM=function(a,b){switch(a){case "flashReady":this.yd("handshakeVersion","2.0");var c=$s(this.ra());this.D.initAd(this.N,this.J,this.hd,this.Wa.bitrate,c);break;case "AdLoaded":g.Dg(this.H);this.G=!0;c=this.yd("getAdCompanions");var d=g.w(c)?c:"";c=this.ra();g.Na(Zs(c))&&(d=ax(d,c.o.o),g.Na(d)||Ns(c,d));iv(this,"loaded");this.L&&(this.L=!1,this.start());break;case "AdStarted":this.Ca("impression");this.Ca("creativeview");this.ma("start");break;case "AdVideoStart":this.Ca("start");break;case "AdClickThru":b&&
b.playerHandles&&((c=b.url)||(c=g.G(dt(this.ra()))),null!=c&&Tn(c));this.Ca("click");this.ma("click");break;case "AdDurationChange":this.ma("durationChange");break;case "AdRemainingTimeChange":this.ma("durationChange");ox(this);break;case "AdError":c="AdError";b&&(c=b.message);px(this,jx,Error(c));this.stop();break;case "AdExpandedChange":this.ma("expandedChanged");break;case "AdImpression":c=this.ra();g.Na(Zs(c))||this.Rd(c);this.ma("impression");break;case "AdLinearChange":c=nx(this);!this.B&&c?
(this.ma("contentPauseRequested"),g.Dg(this.K)):this.B&&!c&&(this.ma("contentResumeRequested"),ox(this));this.B=c;d=this.xc;d.wa=!0;d.xa=c;this.ma("linearChanged");break;case "AdVolumeChange":c=this.getVolume();c!=this.C&&(c!=this.C&&this.ma("volumeChange"),0==c&&0!=this.C?(this.Ca("mute"),this.ma("mute")):0==this.C&&0!=c&&this.Ca("unmute"),this.C=c);break;case "AdPaused":iv(this,"pause");break;case "AdUserClose":iv(this,"userClose");break;case "AdUserMinimize":this.Ca("collapse");break;case "AdVideoFirstQuartile":iv(this,
"firstquartile");break;case "AdVideoMidpoint":iv(this,"midpoint");break;case "AdVideoThirdQuartile":iv(this,"thirdquartile");break;case "AdVideoComplete":qx(this);break;case "AdUserAcceptInvitation":this.B?this.Ca("acceptinvitationlinear"):this.Ca("acceptinvitation");break;case "AdStopped":qx(this);this.Ca("stop");this.stop();break;case "AdSkipped":iv(this,"skip");break;case "AdSkippableStateChange":iv(this,"skippableStateChanged");break;case "AdPlaying":iv(this,"resume");break;case "AdLog":this.ma("log")}};g.C(rx,wn);vx.prototype.o=null;var Y0;g.C(yx,vx);Y0=new yx;g.C(g.Ax,g.Pf);g.Ax.prototype.jb=null;var dha=/^https?$/i,sxa=["POST","PUT"];g.h=g.Ax.prototype;
g.h.send=function(a,b,c,d){if(this.o)throw Error("[goog.net.XhrIo] Object is active with another request="+this.K+"; newUri="+a);b=b?b.toUpperCase():"GET";this.K=a;this.F="";this.A=0;this.ca=b;this.W=!1;this.B=!0;this.o=this.O?zx(this.O):zx(Y0);this.N=this.O?xx(this.O):xx(Y0);this.o.onreadystatechange=(0,g.B)(this.gB,this);try{ei(Hx(this,"Opening Xhr")),this.aa=!0,this.o.open(b,String(a),!0),this.aa=!1}catch(f){ei(Hx(this,"Error opening Xhr: "+f.message));Ex(this,f);return}a=c||"";var e=this.headers.clone();
d&&Rda(d,function(a,b){e.set(b,a)});
d=g.Ia(e.Fb(),cha);c=g.x.FormData&&a instanceof g.x.FormData;!g.Ma(sxa,b)||d||c||e.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8");e.forEach(function(a,b){this.o.setRequestHeader(b,a)},this);
this.ba&&(this.o.responseType=this.ba);"withCredentials"in this.o&&this.o.withCredentials!==this.H&&(this.o.withCredentials=this.H);try{Jx(this),0<this.D&&(this.L=bha(this.o),ei(Hx(this,"Will abort after "+this.D+"ms if incomplete, xhr2 "+this.L)),this.L?(this.o.timeout=this.D,this.o.ontimeout=(0,g.B)(this.hB,this)):this.G=g.Cg(this.hB,this.D,this)),ei(Hx(this,"Sending request")),this.J=!0,this.o.send(a),this.J=!1}catch(f){ei(Hx(this,"Send error: "+f.message)),Ex(this,f)}};
g.h.hB=function(){"undefined"!=typeof Fx&&this.o&&(this.F="Timed out after "+this.D+"ms, aborting",this.A=8,Hx(this,this.F),this.dispatchEvent("timeout"),this.abort(8))};
g.h.abort=function(a){this.o&&this.B&&(Hx(this,"Aborting"),this.B=!1,this.C=!0,this.o.abort(),this.C=!1,this.A=a||7,this.dispatchEvent("complete"),this.dispatchEvent("abort"),Dx(this))};
g.h.Y=function(){this.o&&(this.B&&(this.B=!1,this.C=!0,this.o.abort(),this.C=!1),Dx(this,!0));g.Ax.fa.Y.call(this)};
g.h.gB=function(){this.la()||(this.aa||this.J||this.C?Ix(this):this.ZU())};
g.h.ZU=function(){Ix(this)};
g.h.isActive=function(){return!!this.o};
g.h.getStatus=function(){try{return 2<g.Gx(this)?this.o.status:-1}catch(a){return-1}};g.t(Rx,bj);Rx.prototype.G=function(a){this.A&&this.H<this.K&&(bj.prototype.G.call(this,a),Px(this,a))};
Rx.prototype.disable=function(){bj.prototype.disable.call(this);this.o.clearTimeout(this.J);this.C=this.J=0;this.B={};mi(this.o,"load",this.N);mi(this.o,"unload",this.W)};Ux.prototype.isLoggingEnabled=function(){return!!this.Fa};
g.va(Ux);Xx.prototype.isListed=!0;Xx.prototype.ri=-1;g.C(Yx,g.Pf);Yx.prototype.Pu=function(a){this.sf=Pq(xfa);null!=this.va.B&&(this.Z.X(this.sf,"click",this.Mw),this.Z.X(this,"why_this_ad_got_it",this.Yx));a.appendChild(this.sf);g.O(this.sf,!0)};
Yx.prototype.Mw=function(){var a=g.je(this.sf,"html5-video-player");null!=a&&gu(this.va.B,a,this)};
Yx.prototype.Yx=function(){};
Yx.prototype.Y=function(){null!=this.sf&&(g.Ud(this.sf),this.sf=null);this.Z.dispose();this.Z=null;Yx.fa.Y.call(this)};g.C(Zx,g.Pf);g.h=Zx.prototype;g.h.start=function(){this.xu();this.B=0;$x(this);this.A=!0;this.D.start()};
g.h.play=function(){this.A||($x(this),this.A=!0,this.D.start())};
g.h.pause=function(){this.A&&$x(this)};
g.h.stop=function(){this.A&&$x(this);this.dispatchEvent("end")};
g.h.xu=function(){};
g.h.LU=function(){this.B+=.2;this.wu(this.B,this.L);this.dispatchEvent("timeUpdate");0>=this.L-this.B&&this.stop()};
g.h.wu=g.A;g.h.Y=function(){this.A=!1;this.J.dispose();Zx.fa.Y.call(this)};g.C(by,Zx);g.h=by.prototype;g.h.start=function(){this.xu();this.C.update(0,this.K);nu(this.o,this.H.B).play();this.J.X(this.C,"skip",this.kK);by.fa.start.call(this)};
g.h.xu=function(){var a=g.Qh(this.o);if(1==this.G){var b=400>=(0,window.parseInt)(Bh(this.o,"width"),10)||400>=a.width;g.T(this.o,"videoAdUi-mobile",b)}else if(2==this.G){var c=g.Yd(this.o),d=g.Qh(c),e=65>=(a.height-d.height)/2;g.T(this.o,"fullslotAdUi-mobile",e);b=165>=(a.width-d.width)/2;g.T(this.o,"videoAdUi-mobile",b&&e);c.style.top=Math.max(5,Math.floor((a.height-d.height-65)/2))+"px"}};
g.h.kK=function(){this.pause();this.dispatchEvent("skip")};
g.h.wu=function(a,b){this.C.update(a,b);if(this.F){var c="Ad will close in "+Q({fe:ay(b-a)}.fe);g.ce(this.F,c)}};
g.h.Y=function(){this.C&&this.C.dispose();g.Sd(this.o);by.fa.Y.call(this)};g.C(ey,Zx);var dy=Math.ceil(10*3.14);ey.prototype.F=function(a){P.o()||a.stopPropagation();this.dispatchEvent("click")};
ey.prototype.start=function(){ey.fa.start.call(this);null==this.o?this.stop():this.H&&(this.N&&780<=g.Qh(this.O).width&&this.H.EB(!0),this.H.Au())};
ey.prototype.wu=function(a,b){var c=a/b*dy+" "+dy;null!=this.o&&g.xh(this.o,"stroke-dasharray",c)};g.C(fy,g.L);fy.prototype.show=function(a,b,c){gy(this);!SM||!a||qo(10)&&b?c():(a.appendChild(this.A),this.Fa=g.Cg((0,g.B)(this.o,this,c),2E3))};
fy.prototype.o=function(a){this.Fa=0;g.Ud(this.A);a()};
fy.prototype.Y=function(){gy(this);fy.fa.Y.call(this)};g.C(iy,g.of);g.C(jy,g.Pf);ky.prototype.muted=function(a,b){return!this.mute&&a||0!=this.volume&&0==b};
var qha={click:3,videoLearnMoreClicked:3,videoShareClicked:8,videoTitleClicked:14,videoAuthorClicked:15,videoAuthorIconClicked:15};g.h=jy.prototype;g.h.Y=function(){this.ed();jy.fa.Y.call(this)};
g.h.ed=function(){null!=this.Z&&this.Z.dispose();null!=this.o&&this.o.ed();null!=this.D&&this.D.dispose();this.D=null;null!=this.J&&this.J.dispose();this.J=null;this.N.clear();this.K=-1;this.F="";this.G=this.O=!1};
g.h.Cb=function(a,b,c,d,e){this.ed();this.B.C=a.L;this.o=b;this.A=d||null;this.H=e;this.o.Cb();this.C=new ky(this.o);this.L=c||null;this.Z=new g.hn(this);this.F=a.L;a=P.A?kp():So();this.Z.X(a,"externalActivityEvent",this.lT);this.Z.X(a,"measurable_impression",this.TT);this.Z.X(a,"viewable_impression",this.mW);this.Z.X(this.o,"timeUpdate",this.iN);this.Z.X(this.o,"volumeChange",this.jN);this.Z.X(this.o,"pause",this.fN);this.Z.X(this.o,"play",this.gN);this.Z.X(this.o,"end",this.hT);this.Z.X(this.o,
"beginFullscreen",this.dN);this.Z.X(this.o,"endFullscreen",this.kT);this.Z.X(this.o,"skip",this.MB);this.Z.X(this.o,"skipShown",this.XE);this.Z.X(this.o,"start",this.hN);this.Z.X(this.o,"error",this.cN);this.Z.X(this.o,"mediaLoadTimeout",this.eN);null!=this.A?(this.Z.X(this.A,"videoIconClicked",(0,g.B)(function(a){this.dispatchEvent(a)},this)),this.Z.X(this.A,"urlNavigationRequested",(0,g.B)(function(a){this.dispatchEvent(a)},this)),this.Z.X(this.A,"yt-show-toast",(0,g.B)(function(a){this.dispatchEvent(a)},
this)),this.Z.X(this.A,"feedbackShown",(0,g.B)(function(){ly(this,"feedbackShown",!0,!0)},this)),this.Z.X(this.A,"feedbackLike",(0,g.B)(function(){ly(this,"feedbackLike",!0,!0)},this)),this.Z.X(this.A,"feedbackDislike",(0,g.B)(function(){ly(this,"feedbackDislike",!0,!0)},this)),this.Z.X(this.A,"videoShareShown",this.lW),this.Z.X(this.A,"skipshown",this.XE),this.Z.X(this.A,"skip",this.MB),this.Z.X(this.A,"PUBLISHER_INVOKED_SKIP",this.WU),this.Z.X(this.A,"MUTE_AD videoAuthorIconClicked videoAuthorClicked videoClicked videoLearnMoreClicked videoMuteClicked videoTitleClicked videoShareClicked videoUnmuteClicked why_this_ad_url why_this_ad_got_it why_this_ad_settings_url why_this_ad_learn_more mute_interaction_url mute_url mute_undo_url".split(" "),
this.JA)):this.H&&this.Z.X(this.H,"why_this_ad_url why_this_ad_got_it why_this_ad_settings_url why_this_ad_learn_more mute_interaction_url mute_url mute_undo_url".split(" "),this.JA)};
g.h.TT=function(a){var b=a.o;this.B.H.measurable_impression=null!=b?b.viewabilityString:null;a.o.queryId==this.F&&ly(this,"measurable_impression",!0,!1)};
g.h.mW=function(a){a=a.o;a.queryId==this.F&&(this.B.H.viewable_impression=null!=a?a.viewabilityString:null,ly(this,"viewable_impression",!0,!0))};
g.h.lT=function(a){a=a.o;var b=v0[a.eventName];b&&a.queryId==this.F&&(this.B.H[b]=null!=a?a.viewabilityString:null,ly(this,b,!0,!0))};
g.h.iN=function(){if(this.G){var a=this.o.getDuration();if(-1!=a){this.o.km(.25*a)&&ly(this,"firstquartile",!0,!0);this.o.km(.5*a)&&ly(this,"midpoint",!0,!0);this.o.km(.75*a)&&ly(this,"thirdquartile",!0,!0);var b=this.B,c=this.o.getCurrentTime();if(!Om(b.A,"skip")){0>b.D&&(Qea(b.B,a),b.D=0);a=hq(b.B,"progress");for(var d=[],e=b.D;e<a.length;e++){var f=a[e];if(lq(f.o)>c)break;b.D=e+1;d.push(f.Xa())}0<d.length&&b.report(new g.of("progress"),d)}}my(this)}};
g.h.hN=function(){this.G=!0;ly(this,"impression",!0,!0);ly(this,"creativeview",!0,!0);null!=this.L||null!=this.A||this.Z.X(this.o,"click",this.Ku);null!=this.L&&(this.D=new Pt,this.Z.X(this.D,"click",this.Ku,!1),this.D.Cb(this.L));null!=this.A&&(this.J=new Pt,this.Z.X(this.J,"click",this.Ku,!1),this.J.Cb(this.A));ly(this,"start",!0,!0);(this.o.isMuted()||0==this.o.getVolume())&&ly(this,"mute",!1,!1)};
g.h.jN=function(){var a=this.o.isMuted(),b=this.o.getVolume(),c=this.C;c.mute&&!a||!a&&0==c.volume&&0<b?ly(this,"unmute",!1,!1):this.C.muted(a,b)&&ly(this,"mute",!1,!1);this.C.mute=a;this.C.volume=b};
g.h.fN=function(){this.o.Th()?ny(this):this.o.ij()&&!this.o.DB()&&(this.C.paused=!0,ly(this,"pause",!1,!1))};
g.h.gN=function(){this.C.paused&&(this.C.paused=!1,ly(this,"resume",!1,!1))};
g.h.hT=function(){ny(this)};
g.h.Ku=function(){ly(this,"click",!1,!1)};
g.h.cN=function(){ly(this,"error",!1,!1)};
g.h.eN=function(){ly(this,"mediaLoadTimeout",!1,!1)};
g.h.XE=function(){ly(this,"skipshown",!0,!1)};
g.h.JA=function(a){ly(this,a.type,!1,!1)};
g.h.lW=function(){ly(this,"videoShareShown",!0,!1)};
g.h.MB=function(){ly(this,"skip",!0,!1)};
g.h.WU=function(){ly(this,"skip",!0,!1)};
g.h.dN=function(){ly(this,"fullscreen",!1,!1)};
g.h.kT=function(){ly(this,"exitfullscreen",!1,!1)};g.h=oy.prototype;g.h.Cc=function(){return this.o.Cc()};
g.h.add=function(a){this.o.set(py(a),a)};
g.h.remove=function(a){return this.o.remove(py(a))};
g.h.clear=function(){this.o.clear()};
g.h.isEmpty=function(){return this.o.isEmpty()};
g.h.contains=function(a){return Om(this.o,py(a))};
g.h.xb=function(){return this.o.xb()};
g.h.clone=function(){return new oy(this)};
g.h.ge=function(){return this.o.ge(!1)};g.C(qy,dv);g.h=qy.prototype;g.h.Y=function(){uy(this);this.ca.dispose();ty(this);g.D(this.J.xb(),g.Dg);var a=!1;null!=this.Oa&&(a=this.Oa.Ak(),this.Oa.hide(),this.Oa=null);this.G&&(this.G=!1,this.Ka.ij()||this.Ka.Th()||this.Ka.pause(),no()&&!a&&(this.Ka.Ck(.001),this.Ka.load("","")),mo()&&this.Ka.Bk()&&!a&&this.Ka.zu(),this.ma("contentResumeRequested"),this.ma("allAdsCompleted"));null!=this.Ka&&this.Ka.unload();qy.fa.Y.call(this)};
g.h.oi=function(){var a=Kn();a.o("disable_companion_persist")?sy(this):(a.o("ad_pod_disable_companion_persist")||a.o("ad_pod_disable_companion_persist_ads_quality"))&&1<(this.tb()?this.ra():null).C.Le&&sy(this);this.Fj();this.tb()?this.start():this.stop()};
g.h.muteAdClicked=function(){P.o()&&this.Ca("mute_interaction_url")};
g.h.muteAd=function(){P.o()&&(this.Ca("mute_url"),this.ma("MUTE_AD"),ry(this,function(){this.oi()}))};
g.h.whyThisAdClicked=function(){P.o()&&this.Ca("why_this_ad_url")};
g.h.whyThisAdClosed=function(){P.o()&&this.Ca("why_this_ad_got_it")};
g.h.Fj=function(){ty(this);qy.fa.Fj.call(this);this.tb()&&(this.fc=new av,this.B=new jy(this.fc),this.W=!1,this.ma("loaded"))};
g.h.Bw=function(a){qy.fa.Bw.call(this,a);null!=this.Ka&&this.Ka.ix(1)};
g.h.vA=function(a,b){b.preventDefault();this.F||(this.F=!0,iv(this,"video_card_endcap_action"));a&&(this.o.pause(),Tn(a))};
g.h.wA=function(){ry(this,function(){vy(this,"video_card_endcap_dismiss")})};
g.h.WK=function(){vy(this,"video_card_endcap_collapse")};
g.h.ev=function(a,b,c,d){var e=Sq(b);e&&(a.G=e);var f=a.getExtension("AdSense");null!=f&&null!=f.A&&f.A.A&&this.setVolume(0);if(this.Wa.fH){e=Ty(this,a,b);Mn(Jn(),420706069)&&(P.F=!0);Kn().o("enable_ad_pod_specific_ui")&&a.C.o<a.C.Le&&(e.A=!0);!P.o()&&P.F&&(e.N=!0);f=e;var k=Uy(this),l=this.ra(),m=1E3*l.getDuration();lu(f,at(l),bt(l));this.Ta=new Tu(f,k,m,l.cf());k=l.G;null!=k&&zy(this,k,f.xa);f=this.Ta;f.O&&(f=f.O,k=0==this.D,f.o!=k&&(f.o=k,ru(f)));if(this.ha)if(k=a.getExtension("AdSense"),null!=
k){f=this.Ta;k=g.G(k.B);if(null!=f.C){g.O(f.C,!0);try{var n=new g.Sm(k);var p=qb((n.A+n.B).replace(/^www\./i,""),35);g.F(g.G(p))?Wu(f):g.ce(f.C,p)}catch(r){Wu(f)}}null!=f.ba&&g.O(f.ba,!0)}else Wu(this.Ta);p=e;n=[];p.C&&n.push("adAttribution");p.D&&n.push("countdown")}else e&&zy(this,e,this.Wa.Ms),!Cl()&&mo()&&!qo(10)&&Kn().o("mweb_add_ad_info_button_on_fullscreen_only_devices")&&(p=e=Ty(this,a,b),n=Uy(this),e=this.ra(),lu(p,e.getExtension("why_this_ad"),e.getExtension("mute")),this.H=new Yx(p,n));
if(d=d?this.Oa.Tp():this.Ka)Fy(this)?(d.Cb(),this.Za().X(d,"error",this.OE),this.Za().X(d,"loaded",g.A)):this.Br(a),d.tr(wha(this,a)),d.load(b,c)};
g.h.pz=function(a){var b=this.tb()?this.ra().G:null;if(b){var c=this.Em();uha(this)&&(c="");wy(this)&&a&&(c=Hha(this,a));a=this.Dm();c||a||!wy(this)||(c=" ");(c||a)&&this.Ka.yu(b,c||null,a||null)}};
g.h.IW=function(a,b,c){null!==a.N&&Mo.getInstance().report(34,{evt:"filled"},!0);this.ga||(this.ga=!0,this.ma("contentPauseRequested"));Hy(this)&&!this.L||Fy(this)||this.ev(a,b,c);this.G=!0;this.setVolume(this.D);this.Ta&&(g.F(g.G(Dy(a)))?(b=this.Ta,null!=b.B&&(b.Z.Ia(b.B,"click",b.Xr),g.xh(b.B,"cursor","default"))):(b=this.Ta,null!=b.B&&(b.Z.X(b.B,"click",b.Xr),null!=b.F&&!g.Uh(b.F)&&g.xh(b.B,"cursor","pointer"))),b=a.o.wa,g.Na(b)||Vu(this.Ta,b),this.Ta.show());Fy(this)&&(b=this.Oa instanceof un?
this.Oa.o:this.Oa,this.L&&(b.hide(),b.Up(),this.Ka=b.Vm(gv(this))),this.Br(a),this.Oa instanceof un&&b.lg());this.N=!1;this.Ca("show_ad");this.Oa.lg();if(!P.B)try{this.Rd(a)}catch(d){My(this,w0,d);return}Wx("pi");if(b=null!=this.Ta)b=this.Ta,b=jo()?!1:null!=b.va.L?b.va.J&&b.va.L==ft(a):b.va.J;b?vha(this):this.ca.show(this.Oa.Km(),this.Wa.Mx,(0,g.B)(this.Ka.play,this.Ka))};
g.h.Br=function(a){this.B.Cb(a,this.Ka,this.Oa.St(),this.Ta,this.H);this.Za().X(this.B,"engagedview urlNavigationRequested videoAuthorIconClicked videoAuthorClicked videoClicked videoIconClicked videoLearnMoreClicked videoMuteClicked videoShareClicked videoShareShown videoTitleClicked videoUnmuteClicked start feedbackShown feedbackLike feedbackDislike yt-show-toast".split(" "),this.cF);this.Za().X(this.Ka,"loaded",this.jW);this.Za().X(this.Ka,"cardsStateChange",this.KM);this.Za().X(this.Ka,"timeUpdate",
this.gF);this.Za().X(this.Ka,"volumeChange",this.NM);this.Za().X(this.Ka,"shareClicked",this.ZF);this.ph(a);var b=cr(a,this.Ka);this.fc.o=b;b=a.o;null!=b&&b instanceof sq&&(this.zg(b,t0),this.tl(b),b=this.Za(),kn(b,this.B,"error",this.LM,this),kn(b,this.B,"mediaLoadTimeout",this.MM,this));lv(this,a);a.isSkippable()&&(this.B.K=30)};
g.h.nl=function(){Hy(this)&&Ky(this);this.ma("loaded");this.dispatchEvent(new rx(this.ra()))};
g.h.skip=function(){this.tb()&&this.ra().isSkippable()&&(null!=this.Ta?this.Ta.skip():(this.Ca("skip"),Sy(this)))};
g.h.aG=function(){iv(this,"skipshown")};
g.h.start=function(){qy.fa.start.call(this);this.O=[];try{var a=this.ra();this.A=Gy(this,a);Wx("am");ry(this,(0,g.B)(qy.prototype.IW,this,a,this.A.Xa(),this.A.o))}catch(b){Iy(this,b),this.Fj(),this.tb()?(eo(this,Jy,b),this.start()):(this.G?eo(this,Jy,b):(null!=this.ie&&this.ie.Rd(DB()),fo(this,Jy,b)),this.stop())}};
g.h.getVolume=function(){kv(this);return this.Ka.isMuted()?0:this.Ka.getVolume()};
g.h.setVolume=function(a){kv(this);this.G?this.Ka.setVolume(a):this.D=a};
g.h.pause=function(){kv(this);this.o?this.o.pause():this.Ka.pause()};
g.h.resume=function(){kv(this);this.o?this.o.play():this.Ka.play()};
g.h.getCurrentTime=function(){kv(this);var a=this.o?this.o.B:0;return this.Ka.getCurrentTime()+a};
g.h.getDuration=function(){kv(this);return this.Ka.getDuration()};
g.h.Tc=function(){kv(this);var a=this.getDuration(),b=this.getCurrentTime();return 0<=a&&0<=b?Math.max(0,a-b):-1};
g.h.We=function(){return this.Ka.We()};
g.h.LM=function(){Hy(this)&&!this.L&&this.OE();My(this,Jy,bo(Jy,this.Ka.getError()))};
g.h.OE=function(){this.N=!0};
g.h.MM=function(){Bha(this);My(this,y0,bo(y0,this.Ka.getError()))};
g.h.Ww=function(a,b){qy.fa.Ww.call(this,a,b);Oy(this,a)};
g.h.cF=function(a){switch(a.type){case "start":Wx("ff");this.ma("start");P.o()&&P.B&&this.ra()&&this.ra().H&&this.ma("youtubeKevlarCompanionShow");this.Ek();this.K=!0;this.Ta&&(P.F&&!P.o()&&(this.Ta.zb=!0),Yu(this.Ta));break;case "impression":this.ma("impression");this.L=!0;Fy(this)&&Aha(this);break;case "viewable_impression":this.ma("viewable_impression");break;case "why_this_ad_url":this.ia=this.Ka.ij();Ly(this,"why_this_ad_url");this.pause();break;case "pause":this.ma("pause");break;case "why_this_ad_got_it":Ly(this,
"why_this_ad_got_it");this.ia||this.resume();break;case "resume":this.ma("resume");break;case "firstquartile":this.ma("firstquartile");break;case "midpoint":this.ma("midpoint");break;case "thirdquartile":this.ma("thirdquartile");break;case "complete":tha(this)||(this.ma("complete"),this.Ca("instreamAdComplete"),this.oi());break;case "click":this.Ta&&this.Ta.va.F?this.Ka.ij()?this.resume():this.pause():Ny(this);break;case "engagedview":Py(this);this.ma("engagedview");break;case "urlNavigationRequested":this.dispatchEvent(a);
break;case "yt-show-toast":this.dispatchEvent(a);break;case "videoAuthorIconClicked":Wy(this);break;case "videoAuthorClicked":Wy(this);break;case "videoClicked":this.ma("videoClicked");break;case "videoIconClicked":this.dispatchEvent(a);break;case "videoLearnMoreClicked":this.o&&!this.F&&(this.F=!0,iv(this,"video_card_endcap_action"));!P.o()&&Py(this);Ny(this);this.Ka.pause();break;case "videoShareClicked":Dha(this);break;case "videoShareShown":Eha(this);break;case "videoTitleClicked":Fha(this);break;
case "videoMuteClicked":this.ba=this.D;this.setVolume(0);break;case "videoUnmuteClicked":this.setVolume(this.ba);break;case "skipshown":this.ma("skippableStateChanged");break;case "skip":this.o?this.wA():Sy(this);break;case "MUTE_AD":this.ma("MUTE_AD");ry(this,function(){this.oi()});
break;case "feedbackShown":this.Ca("feedbackShown");break;case "feedbackLike":this.Ca("feedbackLike");break;case "feedbackDislike":this.Ca("feedbackDislike")}};
g.h.Mf=function(){qy.fa.Mf.call(this);this.C&&(g.lf(this.C),this.C=null)};
g.h.ZF=function(){var a=Qy(this)||Ry(this);null!=a&&Vn(a,"sharebuttonclicked")};
g.h.ph=function(a){qy.fa.ph.call(this,a);Oy(this,"impression")};
g.h.zg=function(a,b){qy.fa.zg.call(this,a,b);(0,g.D)(b,function(a){Oy(this,a)},this)};
g.h.tl=function(a){qy.fa.tl.call(this,a);a instanceof sq&&(a=tq(a),(0,g.D)(a.Fb(),function(a){Oy(this,a)},this))};
g.h.uk=function(){if(!this.tb())return null;try{var a=this.ra();if(null==a)return null;var b=Gy(this,a);return null!=b?b.Xa():null}catch(c){return null}};
g.h.Nh=function(){if(!this.tb())return null;var a=this.ra();if(!hv(a))throw bo(Ey);a=a.o.Mh();return g.Na(a)?null:a[0].Xa()};
g.h.jW=function(){this.ma("adCanPlay")};
g.h.KM=function(){var a=this.Ta;null!=a.o&&g.T(a.o,"ytp-iv-drawer-open",this.Ka.CB())};
g.h.gF=function(){var a=this.getDuration();kv(this);var b=this.o?this.getDuration():this.Ka.MA();var c=this.getCurrentTime(),d=0,e=0;this.tb()&&(e=this.ra(),d=e.C.o,e=e.C.Le);if(null!=this.Ta&&0<=a&&0<=c){if(!this.aa&&3==this.ra().Qa){var f=this.Ka.getDuration(),k=zt(this.ra());f=Math.abs(f-k);2<f&&(f=bo(fxa,null,Number(f).toFixed(2)),f=br(f,this.ra(),this.Ka),k=Xs(this.ra()),Yn(k,f));this.aa=!0}this.Ta.update(c,b,a,d,e)}};
g.h.NM=function(){var a=this.Ka.getVolume();if(a!=this.D&&(this.D=a,this.ma("volumeChange",{volume:a}),0==a&&this.ma("mute"),this.Ta)){var b=this.Ta;b.O&&(b=b.O,a=0==a,b.o!=a&&(b.o=a,ru(b)))}};
g.h.XW=function(a){var b=this.tb()&&Nt(this.ra());return!a||g.F(g.G(a.channelId))||!a.isListed&&!b?ng():new g.gg(function(b,d){fha(a.channelId,function(a){a=new vp(a);b(a)},function(){d()},this)},this)};
g.h.IK=function(a){var b=Kn(),c=this.ra();if((g.Na(Zs(c))||!Zs(c)[0].C)&&!b.o("website_actions_holdback")&&P.o()&&Kt(c)){var d=cga(c,a);if(d)if(et(c,[d]),P.B)this.K&&c.H&&this.ma("youtubeKevlarCompanionShow");else try{this.Rd(c)}catch(n){My(this,w0,n)}}if(d=this.Ta){d=this.ra();var e=d.O;d=P.o()&&g.Na(Zs(d))&&null!=d.ha&&null!=e&&e.isListed}P.B&&(d=d&&!c.H);if(d){this.Za().X(window,"message",this.DL);d=this.ra();e=d.ha.channelId;var f=jr(d),k=this.Wa.contentId,l=this.Wa.Zj;l=new g.Sm((null!=l?l:"//web.archive.org/web/20181027110332/https://www.youtube.com/")+
"ad_companion");var m=l.o;m.set("adformat",f);m.set("p",e);m.set("render","video_wall_companion");k&&m.set("content",k);e=new zq("1",new g.sd(300,250),"IFrame",null,l.toString());e.J=d;e.F=!0;d=new Mr(e,[],null,!0);P.B?(P.o()&&P.B&&"IFrame"===d.o.N&&(e=d.o.pe(),Kn().o("ima_remove_videowall_companion_blank_area")&&(e.width=300,e.height=210),c.H={iframeCompanionRenderer:{clickTrackingUrls:ct(c,"companionClick"),height:e.height,impressionTrackingUrls:ct(c,"companionImpression"),url:d.o.A,width:e.width}}),
this.K&&c.H&&this.ma("youtubeKevlarCompanionShow")):(wt(c,d),this.Rd(c))}At(c)||b.o("website_actions_holdback")||!Kt(c)||$fa(c,a);return a};
g.h.DL=function(a){var b=a.o;if("companion-setup-complete"==b.data){a=this.ra();var c=(0,window.encodeURIComponent)(g.G(dt(a)))+","+(0,window.encodeURIComponent)((Qy(this)||Ry(this)).toString());b.source.postMessage(c,"*");b=b.source.frameElement;b.parentNode.style.cssText="";Kn().o("ima_remove_videowall_companion_blank_area")?(b.width=300,b.height=210):(b.width=370,b.height=null!=dt(a)?210:185)}else"pause-video"==b.data&&this.pause()};
g.h.qX=function(a){if(null!=this.Ta&&a.isListed){var b=this.Ta,c=a.title;b.va.O=!g.F(g.G(c));b.va.title=c;null!=b.G&&g.ce(b.G,b.va.title);Zu(b);b=this.Ta;null!=b.La?g.ce(b.La,"Share"):null!=b.K&&g.ce(b.K,"Share");b=this.Ta;c=a.ri;null!=c&&(b.va.ri=c);Zu(b)}this.tb()&&(this.ra().O=a,this.ma("youTubeVideoMetadata"));return a};
g.h.pX=function(a){if(null!=this.Ta&&Vy(this)){var b=this.Ta,c=a.authorName;b.va.Ba=!g.F(g.G(c));b.va.authorName=c;null!=b.D&&g.ce(b.D,(new zp("by "+b.va.authorName,void 0)).Sc());Zu(b);b=this.Ta;c=a.channelIconThumbnailUrl;b.va.yb=!g.F(g.G(c));if(null!=b.L){var d=g.Od("img");d.setAttribute("src",c);g.S(d,"videoAdUiAuthorIconImage");b.L.appendChild(d);null!=b.G&&g.S(b.G,"videoAdUiTitleWithAuthorIcon");null!=b.D&&g.S(b.D,"videoAdUiAuthorNameWithAuthorIcon")}Zu(b)}this.tb()&&(this.ra().ha=a,this.ma("youTubeChannelMetadata"));
return a};
g.h.bb=function(a,b,c){qy.fa.bb.call(this,a,b,c);null!=this.Ta&&this.Ta.bb()};g.C(Xy,g.Pf);Xy.prototype.o=!1;Xy.prototype.connect=function(){for(this.o=!0;!g.Na(this.A);){var a=this.A.shift();this.sendMessage(a.name,a.type,a.data)}};
Xy.prototype.isConnected=function(){return this.o};
Xy.prototype.send=function(a,b,c){this.o?this.sendMessage(a,b,c):this.A.push({name:a,type:b,data:c})};
g.C(Yy,g.of);Yy.prototype.getOrigin=function(){return this.A};
Yy.prototype.toString=function(){return""};g.C(Zy,Xy);Zy.prototype.sendMessage=function(a,b,c){null!=this.Nf&&null!=this.Nf.postMessage&&this.Nf.postMessage(Iha(this,a,b,c),"*");null!=this.Nf&&null==this.Nf.postMessage&&Mo.getInstance().report(11)};
Zy.prototype.Y=function(){this.Z.dispose();Zy.fa.Y.call(this)};
Zy.prototype.receive=function(a){a=a.o;var b=$y(a.data);if(az(this,b)){if(null==this.Nf)this.Nf=a.source,this.isConnected()||this.connect();else if(this.Nf!=a.source)return;az(this,b)&&this.dispatchEvent(new Yy(b.name,b.type,b.data||{},b.sid,a.origin))}};g.C(bz,g.of);g.C(cz,dv);g.h=cz.prototype;
g.h.init=function(a){cz.fa.init.call(this,a);this.W=g.Cg(this.OM,this.Wa.ng,this);this.Za().X(window,"message",this.nW);this.Za().X(this.J,"tick",this.LW);a=P.A?kp():So();this.Za().X(a,u0,this.ol);if(gz())this.dispatchEvent(new bz("createFriendlyIframe",this.D));else{a=Ht(this.ra());if(/\.html(\?.*)?$/.test(a)){if(a.match("//web.archive.org/web/20181027110332/https://s0.2mdn.net/instream/html5/survey/survey.html")){var b="en-gb".replace("-","_");a=a.replace(".html","_"+b+".html");null!=this.Wa.contentId&&(a=dh(a,"v",this.Wa.contentId));P.o()&&
(b=bh(a,"st"),b=Mha(this,b?b+" yt":"yt"),a=dh(a,"st",b))}a=g.G(a)}else{b=new g.Sm(a);var c=new g.Sm("https://web.archive.org/web/20181027110332/http://tpc.googlesyndication.com/pagead/js/loader13.html");"https"==b.C&&g.Tm(c,"https");this.aa=b.A;a=Xm(c,a||"",void 0).toString()}this.B=g.Md("IFRAME",{src:Rn(a),allowFullscreen:!0,allowtransparency:!0,background:"transparent",style:"border:0; opacity:1; margin:0; overflow:hidden;padding:0; width:100%; height:100%;position: absolute;display:none;"});this.Za().X(this.B,"load",this.LK);this.Oa.fg().appendChild(this.B)}};
g.h.Yc=function(a,b,c){cz.fa.Yc.call(this,a,b,c);this.A=this.ra().o instanceof sq;this.o=a.Vm(!1);gz()||(this.Za().X(this.o,"click end error loaded mediaLoadTimeout pause play timeUpdate volumeChange".split(" "),this.gV),this.Za().X(this.o,ZA,this.GS))};
g.h.stop=function(){this.J.stop();this.Oa.hide();cz.fa.stop.call(this)};
g.h.Zb=function(){return 1==this.A};
g.h.start=function(){cz.fa.start.call(this);if(!P.o()){var a={};a.pid=Ux.getInstance().o;a.dn=this.aa;a["if"]=gz();Mo.getInstance().report(29,a,!0)}a=this.ra();this.fc.C=a.L;var b=cr(a,this.o);this.fc.o=b;if(b=a.o)this.ph(a),this.zg(b,t0),this.tl(b),lv(this,a);this.o.Cb();this.Ca("show_ad");this.Oa.Md();nv(this);null!=this.B&&(this.B.style.display="block");this.o.setVolume(this.C);this.ba=!0;this.A&&this.ma("contentPauseRequested");jz(this)};
g.h.bb=function(a,b,c){cz.fa.bb.call(this,a,b,c);fz(this,"resizeAd",{width:a,height:b,viewMode:c})};
g.h.pause=function(){this.F||fz(this,"pauseAd")};
g.h.resume=function(){this.F&&(fz(this,"resumeAd"),lz(this,"play"))};
g.h.setVolume=function(a){this.C=a;cz.fa.setVolume.call(this,a);fz(this,"setAdVolume",{value:a})};
g.h.Y=function(){gz()&&this.dispatchEvent(new bz("destroyFriendlyIframe",this.D));g.Ud(this.B);this.A&&(!this.N||this.o.ij()||this.o.Th()||this.o.pause(),this.ma("contentResumeRequested"));this.ma("allAdsCompleted");this.ad=!1;this.H=[];g.Dg(this.W);this.J.dispose();cz.fa.Y.call(this)};
g.h.nl=function(){};
g.h.LK=function(){if(!gz()){var a=this.o.Zt();g.Na(a)&&(a=this.Wa.Um);fz(this,"wrapperCall",{messageType:"supportedMimeTypes",supportedMimeTypes:a})}ez(this)};
var Lha={use_fast_fade_in_0s:"ffi-0",use_fast_fade_in_1s:"ffi-1",use_new_style:"new",hide_preskip:"nps",use_sound:"snd",hide_progress_bar:"npb",use_survey_skip_in_2s:"skip-2",use_survey_skip_in_3s:"skip-3",use_survey_skip_in_10s:"skip-10",use_survey_skip_in_15s:"skip-15",use_survey_skip_in_20s:"skip-20",use_survey_length_15s:"time-15",use_survey_length_45s:"time-45",use_survey_skip_in_0s:"sec-0",use_survey_length_unlimited:"time-ul",hide_advertisement_text:"nat",use_skip_survey_text:"skip_survey",
show_interstitial_white:"intr-white",show_interstitial_blue:"intr-blue",show_interstitial_for_3s:"intr-time-3",show_interstitial_for_5s:"intr-time-5",show_interstitial_close_icon:"intr-close-icon",set_interstitial_survey_text:"intr-txt-survey",set_interstitial_question_text:"intr-txt-question",set_interstitial_start_button:"intr-start-button",set_interstitial_advertisers_question_text:"intr-txt-advertisers-question",set_interstitial_ads_question_text:"intr-txt-ads-question",disable_survey_interstitial_for_non_bl_surveys_desktop:"disable-intr"};
g.h=cz.prototype;g.h.nW=function(a){a=a.o;if(gz()){if(a=$y(a.data),null!=a){try{var b=JSON.parse(a.data)}catch(c){return}null!=b&&b.session==this.D&&kz(this,b)}}else if(a.source==this.B.contentWindow){try{b=JSON.parse(a.data)}catch(c){return}b.session==this.D&&kz(this,b)}};
g.h.OM=function(){hz(this,y0,null,(this.Wa.ng/1E3).toString());this.stop()};
g.h.gV=function(a){switch(a.type){case "timeUpdate":a=this.o.getDuration();var b=this.o.getCurrentTime();dz(this,"wrapperCall",{messageType:"timeupdate",duration:a,currentTime:b});break;case "end":lz(this,"ended");break;case "loaded":lz(this,"loadstart");break;case "mediaLoadTimeout":lz(this,"stalled");break;case "play":lz(this,"playing");break;default:lz(this,a.type)}};
g.h.GS=function(a){a=a.type;"loadedmetadata"==a?(a=this.o.getDuration(),dz(this,"wrapperCall",{messageType:"loadedmetadata",duration:a})):lz(this,a)};
g.h.getCurrentTime=function(){return-1==this.getDuration()||-1==this.Tc()?-1:this.getDuration()-this.Tc()};
g.h.getDuration=function(){return this.G};
g.h.Tc=function(){return this.K};
g.h.sb=function(){return!this.F};
g.h.LW=function(){fz(this,"getAdRemainingTime")};g.C(mz,dv);g.h=mz.prototype;g.h.Em=function(){return this.Dc()?this.o.Em():""};
g.h.Dm=function(){return this.Dc()?this.o.Dm():""};
g.h.wf=function(){return this.Dc()?this.o.wf():null};
g.h.ra=function(){if(this.o)return this.o.wf();throw bo(jv,null,"Proxied ads manager not available.\n"+Error().stack);};
g.h.tb=function(){return null!=this.o&&null!=this.o.wf()};
g.h.Rm=function(){return!1};
g.h.Ye=function(){return null};
g.h.rr=function(){this.tb()&&(this.ads=[this.ra()],this.xc=this.ra())};
g.h.destroy=function(){this.o&&(this.o.destroy(),this.o=null);mz.fa.destroy.call(this)};
g.h.Bb=function(){return this.o?this.o.Bb():null};
g.h.Ek=function(){this.G=!0;this.o&&this.o.Ek()};
g.h.init=function(a){this.Gc(a);this.Dc()&&this.o.init(a)};
g.h.Yc=function(a,b,c){a&&a instanceof un&&(a=a.o);mz.fa.Yc.call(this,a,b,c);oz(this,a,b,c)};
g.h.Y=function(){this.ma("allAdsCompleted");pz(this);mz.fa.Y.call(this)};
g.h.getCurrentTime=function(){return this.Dc()?this.o.getCurrentTime():-1};
g.h.getDuration=function(){return this.Dc()?this.o.getDuration():-1};
g.h.Tc=function(){return this.Dc()?this.o.Tc():-1};
g.h.bb=function(a,b,c){this.ze=a;this.ye=b;this.Gc(c);this.Dc()&&this.o.bb(a,b,c)};
g.h.pause=function(){this.Dc()&&this.o.pause()};
g.h.resume=function(){this.Dc()&&this.o.resume()};
g.h.skip=function(){this.Dc()&&this.o.skip()};
g.h.muteAdClicked=function(){this.Dc()&&this.o.muteAdClicked()};
g.h.muteAd=function(){this.Dc()&&this.o.muteAd()};
g.h.whyThisAdClicked=function(){this.Dc()&&this.o.whyThisAdClicked()};
g.h.whyThisAdClosed=function(){this.Dc()&&this.o.whyThisAdClosed()};
g.h.start=function(){if(this.Dc()){var a=this.o,b=this.Oa;a&&b&&(null!=a&&a instanceof qy?b.lg():null!=a&&a instanceof cz?(b.Md(),b.lg()):null!=a&&(a instanceof mx||a instanceof gx)&&b.Md());null!=this.volume&&!(0,window.isNaN)(this.volume)&&this.o.setVolume(this.volume);this.o.start()}};
g.h.stop=function(){this.Bb()&&this.Bb().Zb()&&this.ma("contentResumeRequested");this.destroy()};
g.h.getVolume=function(){return this.Dc()?this.o.getVolume():0};
g.h.setVolume=function(a){a=(0,window.isNaN)(a)||0>a?0:a;mz.fa.setVolume.call(this,a);this.Dc()&&this.o.setVolume(a)};
g.h.Gc=function(a){mz.fa.Gc.call(this,a);this.o&&this.o.Gc(a)};
g.h.We=function(){return this.o?this.o.We():null};
g.h.Mf=function(){this.o&&this.o.Mf()};
g.h.Hk=function(a){return this.o?this.o.Hk(a):!1};
g.h.bn=function(){return this.o?this.o.bn():!1};
g.h.uk=function(){return this.o?this.o.uk():null};
g.h.hE=function(a){this.dispatchEvent(a)};
g.h.rE=function(a){this.dispatchEvent(a)};
g.h.Dw=function(a){this.dispatchEvent(a)};
g.h.rh=function(a){mz.fa.rh.call(this,a);this.o&&this.o.rh(a)};
g.h.Bj=function(){this.ma("userClose")};
g.h.Aj=function(){this.ma("autoClose")};
g.h.wg=function(a){this.o&&this.o instanceof gx&&this.o.wg(a)};
g.h.Dc=function(){return null!=this.o&&this.o.Dc()};g.C(rz,mz);g.h=rz.prototype;g.h.Bb=function(){return this.B};
g.h.dispatchEvent=function(a){if(a instanceof wn){if("loaded"==a.type&&this.D)return a.stopPropagation(),!1;"loaded"==a.type&&(this.D=!0)}return rz.fa.dispatchEvent.call(this,a)};
g.h.Rm=function(){return null!=pt(this.B)&&pt(this.B).jg()};
g.h.hE=function(a){if(this.C)this.dispatchEvent(a);else{var b=a.getError()||bo(Jy);a=a.target.Bb();ot(a);tz(this,pt(a),Error(b.Vd()))}};
g.h.Dw=function(a){this.C&&(rz.fa.Dw.call(this,a),this.destroy())};
g.h.rE=function(a){this.F||(this.F=!0,this.dispatchEvent(a))};
g.h.TR=function(){this.A&&this.A.dispose();this.C=!0};g.C(uz,dv);g.h=uz.prototype;g.h.Em=function(){return this.o?this.o.Em():""};
g.h.Dm=function(){return this.o?this.o.Dm():""};
g.h.wf=function(){return this.o?this.o.wf():null};
g.h.ra=function(){if(this.o)return this.o.wf();throw bo(jv,null,"Current ads manager not available.\n"+Error().stack);};
g.h.tb=function(){return null!=this.o&&null!=this.o.wf()};
g.h.Rm=function(){return this.B+1<this.A.length};
g.h.Ye=function(){return this.Rm()?this.A[this.B+1].wf():null};
g.h.rr=function(){this.tb()&&(this.ads=[this.ra()],this.xc=this.ra())};
g.h.Za=function(){};
g.h.destroy=function(){this.o&&this.o.destroy();uz.fa.destroy.call(this)};
g.h.Bb=function(){return this.o?this.o.Bb():null};
g.h.Ek=function(){this.o&&this.o.Ek()};
g.h.init=function(a){this.Gc(a);this.o&&this.o.init(a)};
g.h.Yc=function(a,b,c){a&&a instanceof un&&(a=a.o);uz.fa.Yc.call(this,a,b,c);vz(this,a,b,c)};
g.h.Y=function(){(0,g.D)(this.A,function(a){a!==this.o&&a.destroy()},this);
yz(this);this.F&&(this.F.dispose(),this.F=null);this.C&&(this.C.destroy(),this.C=null);this.ma("allAdsCompleted");uz.fa.Y.call(this)};
g.h.getCurrentTime=function(){return this.o?this.o.getCurrentTime():-1};
g.h.getDuration=function(){return this.o?this.o.getDuration():-1};
g.h.Tc=function(){return this.o?this.o.Tc():-1};
g.h.bb=function(a,b,c){this.ze=a;this.ye=b;this.Gc(c);this.o&&this.o.bb(a,b,c)};
g.h.pause=function(){this.o&&this.o.pause()};
g.h.resume=function(){this.o&&this.o.resume()};
g.h.skip=function(){this.o&&this.o.skip()};
g.h.muteAdClicked=function(){this.o&&this.o.muteAdClicked()};
g.h.muteAd=function(){this.o&&this.o.muteAd()};
g.h.whyThisAdClicked=function(){this.o&&this.o.whyThisAdClicked()};
g.h.whyThisAdClosed=function(){this.o&&this.o.whyThisAdClosed()};
g.h.start=function(){if(this.o){var a=this.o,b=this.Oa;a&&b&&(null!=a&&a instanceof qy?b.lg():null!=a&&a instanceof cz?(b.Md(),b.lg()):null!=a&&(a instanceof mx||a instanceof gx)&&b.Md());null!=this.volume&&!(0,window.isNaN)(this.volume)&&this.o.setVolume(this.volume);this.o.start()}};
g.h.pf=function(a){uz.fa.pf.call(this,a);null!=this.o&&this.o.pf(a);null!=this.C&&this.C.pf(a);(0,g.D)(this.A,function(b){b.pf(a)})};
g.h.stop=function(){this.destroy();this.ma("contentResumeRequested")};
g.h.getVolume=function(){return this.o?this.o.getVolume():0};
g.h.setVolume=function(a){a=(0,window.isNaN)(a)||0>a?0:a;uz.fa.setVolume.call(this,a);this.o&&this.o.setVolume(a)};
g.h.Gc=function(a){uz.fa.Gc.call(this,a);this.o&&this.o.Gc(a)};
g.h.We=function(){return this.o?this.o.We():null};
g.h.Mf=function(){this.o&&this.o.Mf()};
g.h.Hk=function(a){return this.o?this.o.Hk(a):!1};
g.h.bn=function(){return this.o?this.o.bn():!1};
g.h.uk=function(){return this.o?this.o.uk():null};
g.h.SR=function(a){var b=a.getError()||bo(Jy);xz(this,a.target,b)};
g.h.mi=function(){this.G||(this.ma("contentPauseRequested"),this.G=!0)};
g.h.vg=function(a){wz(this,a.target)};
g.h.IM=function(){};
g.h.rh=function(a){(0,g.D)(this.A,function(b){b.rh(a)},this)};
g.h.Bj=function(){this.ma("userClose")};
g.h.Aj=function(){this.ma("autoClose")};
g.h.wg=function(a){this.o&&this.o instanceof gx&&this.o.wg(a)};g.C(zz,g.L);g.h=zz.prototype;g.h.Wm=!1;g.h.uu=1E3;g.h.mC=30;g.h.nC=45E3;g.h.BF=15E3;g.h.kH=!1;g.h.xt=function(){var a=Az(this);this.o.appendChild(this.J);Bz(this.J);this.play();return a};
g.h.na=function(){null==this.L&&(this.L=this.xt());return this.L};
g.h.play=function(){null==this.A&&(this.A=g.Cg(function(){this.Wm||(this.hide(),this.kH=!0);this.A=null},this.kH?this.BF:this.nC,this))};
g.h.stop=function(){null!=this.A&&(g.Dg(this.A),this.A=null)};
g.h.show=function(){g.Th(this.na(),1);null!=this.B&&(g.Dg(this.B),this.B=null)};
g.h.hide=function(){g.Th(this.na(),this.mC/100);null==this.B&&(this.B=g.Cg(function(){this.W();this.B=null},400,this))};
g.h.uM=function(){this.show();this.Wm=!0;this.D=g.Cg(function(){this.Wm&&this.stop();this.D=null},this.uu,this)};
g.h.OX=function(){null!=this.D&&(g.Dg(this.D),this.D=null);this.Wm&&this.play();this.Wm=!1};
g.h.Y=function(){zz.fa.Y.call(this);this.stop();g.lf(this.hg)};g.C(Cz,dv);g.h=Cz.prototype;g.h.start=function(){Cz.fa.start.call(this);this.Oa.Md();this.B=this.Oa.fg();if(null!=this.B){this.Ca("show_ad");g.Sd(this.B);var a=this.Gz(),b=this.tb()?this.ra().o.Lc():a,c;P.A?c=kp():c=So();c.Bl(b);this.B.appendChild(a);this.So();(0,g.D)(this.H,function(a){a()});
Oa(this.H);this.D=!0}};
g.h.init=function(a){Cz.fa.init.call(this,a);var b;P.A?b=kp():b=So();this.Za().X(b,u0,this.ol)};
g.h.expand=function(){null!=this.o&&this.o.show();this.Ca("expand")};
g.h.collapse=function(){null!=this.o&&this.o.hide();this.Ca("collapse")};
g.h.bb=function(a,b,c){Cz.fa.bb.call(this,a,b,c);this.So();this.D&&this.Ca("overlay_resize")};
g.h.Y=function(){g.lf(this.o);this.Oa=this.o=null;this.D=!1;null!=this.G&&this.G.ck();P.A?kp().Bl(null):So().Bl(null);null!=this.B&&(g.Sd(this.B),this.B=null);Cz.fa.Y.call(this)};
g.h.Gz=function(){var a=this.ra().o;if(null==a)throw a=bo(VC),Fz(this,a),a;var b=this.ra();Cq(a,this.Za());Aq(a,this.JM);a.F||Bq(a,g.Da(this.mu,b,a));if(P.B&&b.H)this.ma("youtubeKevlarCompanionShow");else try{this.Rd(b)}catch(c){throw Fz(this,c),c;}this.ph(b);Ez(this,b);this.zg(a,["start"]);Dz(this,a);return this.Go([a.Lc()])};
g.h.BB=function(a,b){return new zz(a[0],b)};
g.h.Go=function(a){null!=this.o&&this.o.stop();this.o=this.BB(a,(0,g.B)(this.mp,this));a=this.o.na();g.T(a,"autoalign",this.Wa.yz);P.o()&&g.T(a,"viewmode-fullscreen","fullscreen"==this.hd);a.appendChild(this.N);this.Za().X(a,"click",pf);(this.tb()&&xt(this.ra())||this.Wa.eH)&&this.Ps(this.o.o);return a};
g.h.Ps=function(a){var b=Pq(Qha,{jK:"Ad info",close:"Close"}),c=g.K("ad-info-padding",b),d=this.Za();c&&this.tb()&&(this.G=new eu(at(this.xc),bt(this.xc)),d.X(c,"click",this.zL),d.X(this.L,["why_this_ad_url","why_this_ad_got_it","why_this_ad_settings_url"],this.vW));c=g.Jq(b,"close-padding")?b:g.K("close-padding",b);d.X(c,"click",this.Mp);this.tb()&&728<=this.xc.ub()&&g.S(a,"wide-overlay-ad");a.appendChild(b)};
g.h.So=function(a,b){if(null!=this.o){var c=a?a:0,d=b?b:0,e=g.Qh(this.Oa.fg());var f=P.o()?g.Qh(g.Yd(this.o.o)):g.Qh(this.o.o);if(f.width+c>e.width||f.height+d>e.height)throw c=bo(dxa,null),Fz(this,c),d={},this.ads[0].B&&(d.pid=Ux.getInstance().o),d.cz=f.width+"x"+f.height,d.sz=e.width+"x"+e.height,d.ct=this.ra().o.Ad(),d.vm=this.hd,Mo.getInstance().report(38,d,!0),this.stop(),c;}};
g.h.JM=function(a){iv(this,"click");pf(a)};
g.h.Mp=function(){this.Ca("close");this.mp(!0)};
g.h.zL=function(){var a=g.K("html5-video-player");a&&this.G&&gu(this.G,a,this.L)};
g.h.mu=function(a,b){Bq(b,g.A);this.D?this.Vn(a,b):this.H.push((0,g.B)(this.Vn,this,a,b))};
g.h.Vn=function(a){a=cr(a,this.Ka);this.fc.o=a;iv(this,"impression");this.Ca("creativeview");iv(this,"start")};
g.h.mp=function(a){null!=this.o&&(this.o.stop(),a?this.ma("userClose"):this.ma("autoClose"))};
g.h.ol=function(a){this.tb()&&this.ra().L==a.o.queryId&&Cz.fa.ol.call(this,a)};
g.h.vW=function(a){switch(a.type){case "why_this_ad_url":this.ma("why_this_ad_url");this.Ca("why_this_ad_url");break;case "why_this_ad_got_it":this.ma("why_this_ad_got_it");this.Ca("why_this_ad_got_it");break;case "why_this_ad_settings_url":this.Ca("why_this_ad_settings_url")}};g.C(Gz,g.Pf);g.h=Gz.prototype;g.h.init=function(a,b,c){Hz(this,a,b,c);null==this.Z&&(this.Z=new g.hn(this),kn(this.Z,this.qb,"adsLoaderSdkAdError",this.PR,this));Oz(this)};
g.h.start=function(){this.O=!0;Kz(this);0<this.B.length?Vz(this):("always"==P.C&&(null!=this.ca&&this.ca.Rd(DB()),P.o()&&5!=this.cf()&&this.dispatchEvent(new wn("companionBackfill",null))),co(ao,this,qr,void 0,void 0),0==this.Jc&&this.dispatchEvent("contentResumeRequested"),Wz(this))};
g.h.destroy=function(){null!=this.Z&&(this.Z.dispose(),this.Z=null);Qz(this);Yz(this);P.C=this.aa;this.O=!1};
g.h.Bb=function(){return this.A<this.B.length?this.B[this.A].o[0]:null};
g.h.sb=function(){return this.O};
g.h.pause=function(){null!=this.o&&this.o.pause()};
g.h.resume=function(){null!=this.o&&this.o.resume()};
g.h.skip=function(){null!=this.o&&this.o.skip()};
g.h.Mf=function(){null!=this.o&&this.o.Mf()};
g.h.getCurrentTime=function(){return null!=this.o?this.o.getCurrentTime():-1};
g.h.getDuration=function(){return null!=this.o?this.o.getDuration():-1};
g.h.Tc=function(){return null!=this.o?this.o.Tc():-1};
g.h.setVolume=function(a){null!=a&&(this.W=a,null!=this.o&&this.o.setVolume(this.W))};
g.h.pf=function(a){this.N=a;null!=this.o&&this.o.pf(a);null!=this.D&&this.D.pf(a)};
g.h.fE=function(a){P.C=this.aa;var b=a.C;g.Na(b)?this.J++:(a=a.B,(0,g.D)(b,g.Da(function(a,b){null!=a.B&&(b.Va=a.B);a.isBumper&&(b.Da=!1)},a)),this.L=Vha(this,b),g.Pa(this.B,new tn(b,a.isBumper,a.o)),this.J++,this.Z.Ia(this.qb,"adsLoaderSdkAdLoaded",this.fE,!1,this));
Oz(this)};
g.h.PR=function(a){a=a.o;P.C=this.aa;a.Vd();co(ao,this,qr,void 0,void 0);this.J++;if(!Iz(this)||2<=this.B.length-this.A)a=ao(qr),this.dispatchEvent(new vn(a));Oz(this)};
g.h.rU=function(){Qz(this);Yz(this);Wz(this)};
g.h.QR=function(a){a=a.getError().Eb();try{var b={};b.ec=a;Mo.getInstance().report(44,b)}catch(c){}this.A++;Vz(this)};
g.h.Bj=function(){this.dispatchEvent("userClose")};
g.h.Aj=function(){this.dispatchEvent("autoClose")};
g.h.vg=function(){this.A++;Vz(this)};
g.h.mi=function(){this.ga||(this.dispatchEvent("contentPauseRequested"),this.ga=!0)};
g.h.cf=function(){return g.Na(this.G)?null:this.G[0].B};
g.h.wg=function(a){this.o instanceof gx?this.o.wg(a):Tz(this.o)&&this.o.wg(a)};
g.h.gE=function(a){switch(a.type){case "impression":try{Mo.getInstance().report(44,{imp:!0})}catch(c){}break;case "start":var b;if(b=this.yg()&&Lz(this,this.A+1)&&1<Uz(this))b=a.Ub(),b=null===b||null===this.o||g.Na(this.o.ads)?!1:this.o.ads[this.o.ads.length-1]===b;b&&Nz(this,this.A+1)}"vpaidEvent"!=a.type&&Xha(this,a.type,a.Ub());this.dispatchEvent(a)};
g.h.yg=function(){return null===this.C?!1:Ao(this.C)&&this.N.Tm};Zz.prototype.Xe=function(){return this.o};g.C($z,Yha);g.C(cA,yv);cA.prototype.B=function(){return new zv(this.o,null,$ha(this))};g.C(gA,g.of);gA.prototype.setDescription=function(){};g.C(hA,g.Pf);g.C(jA,g.Pf);g.h=jA.prototype;g.h.Cb=function(){this.B||(null==this.Z&&(this.Z=new g.hn(this)),this.Z.X(this.A,"currentTimeUpdate",this.xB,!1),this.Z.X(this.A,"contentWrapperError",this.DU,!1));this.A.start();this.B=!0};
g.h.getCurrentTime=function(){return this.A.currentTime};
g.h.ed=function(){null!=this.Z&&(this.Z.dispose(),this.Z=null);this.A.stop();this.B=!1};
g.h.xB=function(){if(this.B){var a=this.A.currentTime;if((0,window.isNaN)(a)||0>a)qA(this,"The currentTime is not a valid time value:"+a);else{var b=cia(this,a);this.D?(0,g.D)(b,function(a){nA(this,!0,a)},this):(0,g.D)(dia(b),function(a){nA(this,!0,a)},this);
nA(this,!1,eia(this,a));fia(this,a)}}};
g.h.DU=function(){qA(this,"There was an error while tracking the content:The content current time is invalid.")};g.C(sA,hA);sA.prototype.start=function(){this.Fa.start()};
sA.prototype.stop=function(){this.Fa.stop()};
sA.prototype.Y=function(){sA.fa.Y.call(this);this.A.dispose();this.Fa.dispose()};
sA.prototype.B=function(){if("currentTime"in this.o&&!(0,window.isNaN)(this.o.currentTime)){var a=this.currentTime;this.currentTime=this.o.currentTime;a!=this.currentTime&&this.dispatchEvent(new g.of("currentTimeUpdate"))}else this.dispatchEvent(new g.of("contentWrapperError")),this.stop()};g.h=uA.prototype;g.h.add=function(a){var b=this.o[this.A];this.o[this.A]=a;this.A=(this.A+1)%4;return b};
g.h.get=function(a){a=vA(this,a);return this.o[a]};
g.h.set=function(a,b){a=vA(this,a);this.o[a]=b};
g.h.Cc=function(){return this.o.length};
g.h.isEmpty=function(){return 0==this.o.length};
g.h.clear=function(){this.A=this.o.length=0};
g.h.xb=function(){var a=this.Cc(),b=this.Cc(),c=[];for(a=this.Cc()-a;a<b;a++)c.push(this.get(a));return c};
g.h.Fb=function(){for(var a=[],b=this.Cc(),c=0;c<b;c++)a[c]=c;return a};g.C(wA,Po);g.h=wA.prototype;g.h.RF=function(a,b,c,d){if(d&&(d=g.Ia(a,function(a){return null!==Sq(a.Xa())}),null!==d))return d;
a=(0,g.Vd)(a,function(a){var b=a.o,c=a.Xa();g.F(g.G(c))||"progressive"!=a.B&&"application/x-mpegurl"!=g.G(b).toLowerCase()?a=!1:(b=g.G(b).toLowerCase(),a=g.F(b)||to(2.3)&&-1!=b.indexOf("application/ogg")?!1:g.ro&&(-1!=b.indexOf("video/mp4")||-1!=b.indexOf("video/3gpp"))||no()&&(-1!=b.indexOf("application/x-mpegurl")||-1!=b.indexOf("application/vnd.apple.mpegurl"))?!0:!g.F(this.o.canPlayType(b)));return a},this);
return tA(a,b,c)};
g.h.Zt=function(){return(0,g.Vd)(g.Pb(mv),function(a){return!g.F(this.o.canPlayType(a))},this)};
g.h.tr=function(a){this.W=0<a.timeout?a.timeout:1E4};
g.h.load=function(a){yA(this);a&&(this.o.src=a);this.o.load()};
g.h.unload=function(){yA(this);this.o.src="";this.o.load()};
g.h.getVideoUrl=function(){return this.o.src};
g.h.setVolume=function(a){this.o.volume=a;this.o.muted=0==a?!0:!1};
g.h.getVolume=function(){return this.o.volume};
g.h.play=function(){this.L=!1;this.o.play();this.H||(this.H=g.Cg(this.DK,this.W,this))};
g.h.pause=function(){this.L=!0;this.o.pause();xA(this)};
g.h.ij=function(){return this.o.paused?no()||g.JI?this.o.currentTime<this.o.duration:!0:!1};
g.h.isMuted=function(){return this.o.muted};
g.h.zu=function(){mo()&&this.o.webkitDisplayingFullscreen&&this.o.webkitExitFullscreen()};
g.h.Bk=function(){return mp(this.o)};
g.h.km=function(a){var b;a:{for(b=this.O.xb();b.length;){var c=b.pop();if(0<c){b=c;break a}}b=-1}return b>=a};
g.h.Ck=function(a){this.o.currentTime=a};
g.h.getCurrentTime=function(){return this.o.currentTime};
g.h.MA=function(){return AA(this)};
g.h.getDuration=function(){return(0,window.isNaN)(this.o.duration)?-1:this.o.duration};
g.h.Th=function(){return this.o.ended};
g.h.Sh=function(){return new g.sd(this.o.offsetWidth,this.o.offsetHeight)};
g.h.DB=function(){return this.o.seeking};
g.h.Y=function(){this.ed();wA.fa.Y.call(this)};
g.h.getError=function(){return null};
g.h.Cb=function(){this.ed();this.Z=new g.hn(this);this.Z.X(this.o,ZA,this.BU);this.Z.X(this.o,"canplay",this.pS);this.Z.X(this.o,"ended",this.RM);this.Z.X(this.o,"webkitbeginfullscreen",this.Cu);this.Z.X(this.o,"webkitendfullscreen",this.GB);this.Z.X(this.o,"pause",this.UM);this.Z.X(this.o,"playing",this.KU);this.Z.X(this.o,"timeupdate",this.VM);this.Z.X(this.o,"volumechange",this.WM);this.Z.X(this.o,"error",this.FB);this.Z.X(this.o,g.TM||no()&&!qo(8)?"loadeddata":"canplay",this.TM);this.D=new Pt;
this.Z.X(this.D,"click",this.QM);this.D.Cb(this.o);this.G=new g.Bg(1E3);this.Z.X(this.G,"tick",this.SM);this.G.start()};
g.h.ed=function(){null!=this.D&&(this.D.ed(),this.D=null);null!=this.G&&this.G.dispose();null!=this.Z&&(this.Z.dispose(),this.Z=null);yA(this)};
g.h.BU=function(a){this.dispatchEvent(a.type)};
g.h.pS=function(){var a;if(a=g.sN)a=g.Fb,a=!(a&&(rb(a,"SMART-TV")||rb(a,"SmartTV")));a&&!this.N&&(this.Ck(.001),this.N=!0)};
g.h.TM=function(){this.ad||(this.ad=!0,this.dispatchEvent("loaded"))};
g.h.KU=function(a){this.dispatchEvent("play");no()||g.TM||zA(this,a)};
g.h.VM=function(a){if(!this.B&&(no()||g.TM)){if(0>=this.getCurrentTime())return;if(g.TM&&this.Th()&&1==this.getDuration()){this.FB(a);return}zA(this,a)}if(no()||xo()){if(1.5<this.getCurrentTime()-this.A){this.F=!0;this.Ck(this.A);return}this.F=!1;this.getCurrentTime()>this.A&&(this.A=this.getCurrentTime())}this.O.add(this.o.currentTime);this.dispatchEvent("timeUpdate")};
g.h.WM=function(){this.dispatchEvent("volumeChange")};
g.h.UM=function(){if(this.B&&no()&&!this.L&&(2>AA(this)-this.o.currentTime||this.F)){this.C=new g.Bg(250);this.Z.X(this.C,"tick",this.kS);this.C.start();var a=!0}else a=!1;a||this.dispatchEvent("pause")};
g.h.RM=function(){var a=!0;if(no()||xo())a=this.A>=this.o.duration-1.5;!this.F&&a&&this.dispatchEvent("end")};
g.h.Cu=function(){this.dispatchEvent("beginFullscreen")};
g.h.GB=function(){this.dispatchEvent("endFullscreen")};
g.h.FB=function(){xA(this);this.dispatchEvent("error")};
g.h.QM=function(){this.dispatchEvent("click")};
g.h.SM=function(){var a=this.Sh(),b=this.Bk();if(a.width!=this.K.width||a.height!=this.K.height)!this.J&&b?this.Cu():this.J&&!b&&this.GB(),this.K=a,this.J=b};
g.h.DK=function(){if(!this.B){try{Mo.getInstance().report(16)}catch(a){}yA(this);this.dispatchEvent("mediaLoadTimeout")}};
g.h.kS=function(){if(this.Th()||!this.ij())g.lf(this.C);else{var a=this.o.duration-this.o.currentTime,b=AA(this)-this.o.currentTime;0<b&&(2<=b||2>a)&&(g.lf(this.C),this.play())}};g.C(CA,g.Pf);var txa=new g.Mm;BA.prototype.start=function(a){return this.o[a].startTime};
BA.prototype.end=function(a){return this.o[a].endTime};
g.h=CA.prototype;g.h.Xp=0;g.h.currentTime=0;g.h.duration=window.NaN;g.h.paused=!0;g.h.LB=!1;g.h.autoplay=!1;g.h.loop=!1;g.h.controls=!1;g.h.volume=1;g.h.muted=!1;g.h.src="";g.h.bN=1;g.h.playbackRate=0;g.h.sh=null;g.h.jq=0;g.h.KW=4;g.h.Wl=null;g.h.Yp=null;
g.h.play=function(){this.LB&&(this.currentTime=0,this.dispatchEvent("timeupdate"));this.paused&&(this.paused=!1,this.dispatchEvent("play"),this.Xp=this.KW,2>=this.Xp?this.dispatchEvent("waiting"):this.dispatchEvent("playing"));if(null===this.sh||this.sh.la())this.sh=new g.Bg(10),this.sh.X("tick",(0,g.B)(this.HG,this));this.jq=(0,g.H)();this.sh.start();this.autoplay=!1};
g.h.pause=function(){this.autoplay=!1;this.paused||(this.sh.stop(),this.paused=!0,this.dispatchEvent("timeupdate"),this.dispatchEvent("pause"))};
g.h.load=function(){this.Xp=0;this.paused=!0;this.dispatchEvent("loadstart");this.setProperty("duration",(0,window.isNaN)(this.duration)?10+20*Math.random():this.duration);var a=this.buffered;a.o.push(new mia(this.duration));a.length=a.o.length;this.dispatchEvent("loadedmetadata");0<this.currentTime&&this.dispatchEvent("timeupdate");this.dispatchEvent("loadeddata");this.dispatchEvent("canplay");this.dispatchEvent("canplaythrough");this.dispatchEvent("progress");this.playbackRate=this.bN};
g.h.setProperty=function(a,b){switch(a){case "currentTime":var c=Number(b);this.dispatchEvent("seeking");this.currentTime=c;this.dispatchEvent("seeked");this.HG();break;case "duration":this.duration=Number(b);this.dispatchEvent("durationchange");break;case "volume":this.volume=Number(b),this.dispatchEvent("volumechange")}};
g.h.setAttribute=function(a,b){null!=a&&txa.set(a,b)};
g.h.getAttribute=function(a){return txa.get(a)};
g.h.HG=function(){var a=(0,g.H)()-this.jq,b=this.currentTime+a/1E3;this.jq+=a;2<this.Xp&&(this.currentTime=Math.min(b,this.duration));this.dispatchEvent("timeupdate");this.currentTime==this.duration&&(this.LB=this.paused=!0,this.sh.stop(),this.dispatchEvent("ended"))};
g.h.Y=function(){this.sh&&this.sh.dispose();this.Z.dispose()};
g.h.hW=function(a){var b=null,c=null;switch(a.type){case "loadeddata":b="Loaded";break;case "playing":b="Playing";c="#00f";break;case "pause":b="Paused";break;case "ended":b="Ended",c="#000"}b&&this.Yp&&(this.Yp.innerText=b);c&&this.Wl&&(this.Wl.style.backgroundColor=c)};g.C(DA,g.L);DA.prototype.initialize=function(){this.A&&jo()&&this.A.load()};
DA.prototype.Y=function(){g.Ud(this.o);DA.fa.Y.call(this)};
DA.prototype.show=function(){var a=this.o;null!=a&&(a.style.display="block")};
DA.prototype.hide=function(){var a=this.o;null!=a&&(a.style.display="none")};g.C(EA,g.L);EA.prototype.H=function(a){if(!("*"!=this.A&&a.origin!=this.A||this.C&&a.source!=this.C)&&g.w(a.data)){try{var b=JSON.parse(a.data)}catch(c){return}if(!(null==b||this.K&&(this.sessionId&&this.sessionId!=b.id||this.channel&&this.channel!=b.channel))&&b)switch(b.event){case "syn":FA(this,a);HA(this);this.sendMessage({event:"ack"});break;case "ack":FA(this,a);HA(this);break;case "command":a=b.func,a in this.o&&this.o[a].apply(null,b.args)}}};
EA.prototype.sendMessage=function(a,b){var c=b||this.C;if(c){this.sessionId&&(a.id=this.sessionId);this.channel&&(a.channel=this.channel);try{var d=g.Hg(a);c.postMessage(d,this.G)}catch(e){}}};
EA.prototype.Y=function(){window.removeEventListener("message",this.D);EA.fa.Y.call(this)};g.C(GA,EA);GA.prototype.J=function(a,b){var c={event:"command",func:a},d=Array.prototype.slice.call(arguments,1);0<d.length&&(c.args=d);this.F?this.sendMessage(c):100>this.B.length&&this.B.push(c)};g.C(IA,g.L);IA.prototype.G=function(a){a=a.type;var b=new nia;b.duration=this.o.duration;b.currentTime=this.o.currentTime;b.A=this.o.readyState;this.o.error&&(b.errorCode=this.o.error.code);b.muted=this.o.muted;b.paused=this.o.paused;b.o=this.o.ended;b.volume=this.o.volume;this.A.J("notify",a,b)};
IA.prototype.D=function(a){this.C.add(a);this.Z.X(this.o,a,this.F)};
IA.prototype.H=function(a){this.C.remove(a);this.Z.Ia(this.o,a)};
IA.prototype.B=function(a,b){this.o[a]=b};g.C(LA,Po);var oia=Ic(g.Ac("https://web.archive.org/web/20181027110332/https://www.youtube.com/iframe_api")),uxa=["video/mp4","video/webm"],vxa={el:"adunit",controls:0,html5:1,playsinline:1,ps:"gvn",showinfo:0},KA=[],JA=!1;g.h=LA.prototype;g.h.RF=function(a,b,c){var d=g.Ia(a,function(a){return null!==Sq(a.Xa())});
if(null!==d)return d;a=(0,g.Vd)(a,function(a){a=g.G(a.o);return this.B?this.o.canPlayType(a):g.Ma(uxa,a)},this);
g.Na(c)||(d=tA(a,b,c));return null!=d?d:tA(a,b,[])};
g.h.tr=function(a){this.A=a};
g.h.load=function(a,b){NA(this,a,b)};
g.h.unload=function(){NA(this,"","")};
g.h.getVideoUrl=function(){return this.ba};
g.h.setVolume=function(a){this.ka?this.dispatchEvent("volumeChange"):this.B?(a=g.ld(100*a,0,100),this.o.setVolume(a),this.G=-1,this.dispatchEvent("volumeChange")):this.G=a};
g.h.getVolume=function(){return this.B?this.o.getVolume()/100:this.G};
g.h.play=function(){if(!g.F(g.G(this.ba))){if(!this.C&&!this.W){QA(this);var a=1E4;null!=this.A&&0<this.A.timeout&&(a=this.A.timeout);this.La=g.Cg(this.EU,a,this)}this.B?(this.ha=!1,!this.C&&this.A&&this.A.C?this.o.loadVideoByPlayerVars(this.sa):this.o.playVideo(),this.W=!0):this.ha=!0}};
g.h.pause=function(){this.B&&this.C&&this.o.pauseVideo()};
g.h.ij=function(){return this.B?2==this.o.getPlayerState(this.D):!1};
g.h.isMuted=function(){return this.B?this.o.isMuted():0==this.getVolume()};
g.h.zu=function(){};
g.h.Bk=function(){var a=P.A?P.H:window.document.getElementById(this.aa);return a?mp(a):!1};
g.h.km=function(a){return this.B?this.o.getCurrentTime(this.D)>=a:!1};
g.h.Ck=function(a){this.B?this.o.seekTo(a,!1):this.K=a};
g.h.getCurrentTime=function(a){return this.B?this.o.getCurrentTime(a||this.D):-1};
g.h.MA=function(){return this.B&&this.C?this.o.getVideoLoadedFraction(this.D)*this.o.getDuration(this.D):0};
g.h.getDuration=function(){return this.B&&this.C?this.o.getDuration(this.D):-1};
g.h.getError=function(){return this.pa};
g.h.Zt=function(){return g.Pb(mv)};
g.h.Th=function(){return this.B?0==this.o.getPlayerState(this.D):!1};
g.h.Sh=function(){var a=P.A?P.H:window.document.getElementById(this.aa);return a?new g.sd(a.offsetWidth,a.offsetHeight):new g.sd(0,0)};
g.h.DB=function(){return!1};
g.h.CB=function(){return 1==this.Ha};
g.h.sb=function(){return this.B?1==this.o.getPlayerState(this.D):!1};
g.h.YM=function(){var a=this.Sh(),b=this.Bk();if(a.width!=this.xa.width||a.height!=this.xa.height)!this.oa&&b?this.dispatchEvent("beginFullscreen"):this.oa&&!b&&this.dispatchEvent("endFullscreen"),this.xa=a,this.oa=b};
g.h.Cb=function(){this.ia=(0,g.B)(this.IE,this);this.N=(0,g.B)(this.Du,this);this.Da=(0,g.B)(this.JE,this);this.Qa=(0,g.B)(this.CV,this);this.Ba=(0,g.B)(this.aT,this);this.ka&&(this.o.addEventListener("onAdStateChange",this.N),this.o.addEventListener("onReady",this.ia),this.o.addEventListener("onStateChange",this.N),this.o.addEventListener("onVolumeChange",this.Da),this.o.addEventListener("onSharePanelOpened",this.Qa),this.o.addEventListener("onDompaused",this.Ba));this.ca=new g.Bg(1E3);this.Z.X(this.ca,
"tick",this.YM);this.ca.start()};
g.h.ed=function(){this.ka&&(this.o.removeEventListener("onAdStateChange",this.N),this.o.removeEventListener("onReady",this.ia),this.o.removeEventListener("onStateChange",this.N),this.o.removeEventListener("onVolumeChange",this.Da),this.o.removeEventListener("onSharePanelOpened",this.Qa),this.o.removeEventListener("onDompaused",this.Ba));null!=this.ca&&this.ca.dispose()};
g.h.KK=function(){var a=g.cc(vxa);P.D&&(a.ps="gvn",a.remoteve=fr.ba,a.remotevewin="discover");a={playerVars:a,events:{cardstatechange:(0,g.B)(this.XM,this),onError:(0,g.B)(this.HU,this),onReady:(0,g.B)(this.IE,this),onAdStateChange:(0,g.B)(this.Du,this),onStateChange:(0,g.B)(this.Du,this),onVolumeChange:(0,g.B)(this.JE,this)}};var b=g.y("YT");this.o=null!=b&&null!=b.Player?new b.Player(this.aa,a):null};
g.h.HU=function(){OA(this,"unexpected.player.error")};
g.h.IE=function(){this.B=!0;this.J&&this.yu(this.J.videoId,this.J.Pi,this.J.Fl);-1!=this.G&&(this.setVolume(this.G),this.G=-1);null!=this.L&&(MA(this,this.L,this.ga),this.ga=this.L=null);-1!=this.K&&(this.Ck(this.K),this.K=-1);this.ha&&this.play()};
g.h.XM=function(a){this.Ha=a.data;this.dispatchEvent("cardsStateChange")};
g.h.Du=function(a){switch(a.data){case 0:this.C?this.dispatchEvent("end"):OA(this);break;case 1:this.C||(QA(this),this.C=!0,this.H=0,this.dispatchEvent("start"));this.dispatchEvent("play");PA(this);this.F=new g.Bg(100);this.Z.X(this.F,"tick",this.uE);this.F.start();break;case 2:this.dispatchEvent("pause"),PA(this)}};
g.h.aT=function(){this.Va&&OA(this,"dom.paused")};
g.h.JE=function(){this.dispatchEvent("volumeChange")};
g.h.CV=function(){this.dispatchEvent("shareClicked")};
g.h.uE=function(){var a=Kn();if(a.o("seek_back_for_all")||a.o("seek_back_for_all_no_leanback")&&!Cl()||a.o("seek_back_for_safari")&&xS&&oo(ixa,10)&&rb(g.Fb,"Safari")||SM||xo()){if(1.5<this.getCurrentTime()-this.H){this.B&&this.o.seekTo(this.H,!0);return}this.getCurrentTime()>this.H&&(this.H=this.getCurrentTime())}this.dispatchEvent("timeUpdate")};
g.h.EU=function(){var a="Error code: load_timeout; ";if(this.O){var b=this.O(!0);b&&(a+=b)}this.pa=bo(hxa,null,a);this.dispatchEvent("mediaLoadTimeout")};
g.h.yu=function(a,b,c){if(b||c)this.B?this.o.addInfoCardXml(a,b,c):this.J={videoId:a,Pi:b,Fl:c}};
g.h.We=function(){if(!this.B)return null;var a=this.o.getVideoData();return a?a.cpn:null};
g.h.ix=function(a){this.B&&Sq(this.getVideoUrl())&&this.o.sendVideoStatsEngageEvent(a)};
g.h.EB=function(a){this.B&&this.o.setCardsVisible(a,!1,"YOUTUBE_DRAWER_AUTO_OPEN")};
g.h.Bu=function(){this.B&&this.o.showControls()};
g.h.Au=function(){this.B&&this.o.hideControls()};
g.h.Y=function(){PA(this);QA(this);this.ed();this.B=!1;this.Z.dispose();this.K=-1;this.ga=null;this.ha=!1;this.L=null;this.G=-1;this.ia=this.o=this.A=null;this.W=this.C=!1;this.ba="";LA.fa.Y.call(this)};
g.ua("onYouTubeIframeAPIReady",function(){JA=!0;(0,g.D)(KA,function(a){a()});
Oa(KA)},window);g.C(RA,g.Pf);RA.prototype.send=function(a){var b=a.o;this.o.hasOwnProperty(b)&&this.o[b].send(a.type,a.qe,a.qg)};
RA.prototype.Y=function(){this.Z.dispose();for(var a in this.o)g.lf(this.o[a]);RA.fa.Y.call(this)};
RA.prototype.C=function(a){a=a.o;var b=$y(a.data);if(null!=b){var c=b.channel;if(this.A&&!this.o.hasOwnProperty(c)){var d=b.sid;TA(this,c,d,a.source);this.dispatchEvent(new SA(b.name,b.type,b.data||{},d,a.origin,c))}}};
g.C(SA,Yy);g.C(VA,g.hn);
VA.prototype.F=function(a){var b=a.getOrigin(),c=g.Ng("//web.archive.org/web/20181027110332/https://imasdk.googleapis.com/");b=g.Ng(b);if(c[3]==b[3]&&c[4]==b[4])if(null!=this.o)TA(this.o,a.o,a.yB,Kd().parent),null!=this.o&&this.o.send(a);else if(c=a.qg,null!=c&&g.u(c.scope)){b=c.scope;c=c.args;var d;if("proxy"==b)c=a.qe,"isGptPresent"==c?d=UA():"isConsolePresent"==c&&(d=null!=WA());else if(UA())if("pubads"==b||"companionAds"==b){d=a.qe;var e=Kd().googletag;if(null!=e&&null!=e[b]&&(e=e[b](),null!=e&&(d=e[d],null!=d)))try{var f=d.apply(e,c)}catch(k){}d=
f}else if("console"==b){if(f=WA(),null!=f&&(e=f[a.qe],null!=e))try{e.apply(f,c)}catch(k){}}else if(null===b){d=a.qe;f=Kd();if(g.Ma(["googleGetCompanionAdSlots","googleSetCompanionAdContents"],d)&&(d=f[d],null!=d))try{e=d.apply(f,c)}catch(k){}d=e}g.u(d)&&(a.qg.returnValue=d,this.B.send(a))}};
VA.prototype.D=function(a){this.B.send(a)};var XA={s:function(a,b,c){return(0,window.isNaN)(c)||""==c||a.length>=Number(c)?a:a=-1<b.indexOf("-",0)?a+sb(" ",Number(c)-a.length):sb(" ",Number(c)-a.length)+a},
f:function(a,b,c,d,e){d=a.toString();(0,window.isNaN)(e)||""==e||(d=(0,window.parseFloat)(a).toFixed(e));var f=0>Number(a)?"-":0<=b.indexOf("+")?"+":0<=b.indexOf(" ")?" ":"";0<=Number(a)&&(d=f+d);if((0,window.isNaN)(c)||d.length>=Number(c))return d;d=(0,window.isNaN)(e)?Math.abs(Number(a)).toString():Math.abs(Number(a)).toFixed(e);a=Number(c)-d.length-f.length;return d=0<=b.indexOf("-",0)?f+d+sb(" ",a):f+sb(0<=b.indexOf("0",0)?"0":" ",a)+d},
d:function(a,b,c,d,e,f,k,l){return XA.f((0,window.parseInt)(a,10),b,c,d,0,f,k,l)}};
XA.i=XA.d;XA.u=XA.d;g.C($A,g.Pf);g.h=$A.prototype;g.h.Y=function(){this.Z.dispose();null!==this.B&&(this.B.dispose(),this.B=null);g.Ok(this.G.ge(!1),function(a){a.dispose()});
this.G.clear();g.Ud(this.A);$A.fa.Y.call(this)};
g.h.ML=function(a){var b=a.qg,c=g.Ih(this.A),d=window.document.createEvent("MouseEvent");d.initMouseEvent(a.qe,!0,!0,window,b.detail,b.screenX,b.screenY,b.clientX+c.x,b.clientY+c.y,b.ctrlKey,b.altKey,b.shiftKey,b.metaKey,b.button,null);if(!g.sN||no()||0==window.document.webkitIsFullScreen)this.A.blur(),window.focus();this.A.dispatchEvent(d)};
g.h.dM=function(a){var b=a.qg,c=g.Ih(this.A);if("TouchEvent"in window&&0<window.TouchEvent.length){b={bubbles:!0,cancelable:!0,view:window,detail:b.detail,ctrlKey:b.ctrlKey,altKey:b.altKey,shiftKey:b.shiftKey,metaKey:b.metaKey,touches:aB(this,b.touches),targetTouches:aB(this,b.targetTouches),changedTouches:aB(this,b.changedTouches)};var d=new window.TouchEvent(a.qe,b);this.A.dispatchEvent(d)}else d=window.document.createEvent("TouchEvent"),d.initTouchEvent(a.qe,!0,!0,window,b.detail,b.screenX,b.screenY,
b.clientX+c.x,b.clientY+c.y,b.ctrlKey,b.altKey,b.shiftKey,b.metaKey,aB(this,b.touches),aB(this,b.targetTouches),aB(this,b.changedTouches),b.scale,b.rotation),this.A.dispatchEvent(d)};
g.h.aM=function(a){if(null!=this.o){var b=a.qg;switch(a.qe){case "startTracking":this.o.Cb();break;case "stopTracking":this.o.ed();break;case "exitFullscreen":this.o.zu();break;case "play":this.o.play();break;case "pause":this.o.pause();break;case "load":this.o.load(b.videoUrl,b.mimeType);break;case "setCurrentTime":this.o.Ck(b.currentTime);break;case "setPlaybackOptions":this.o.tr(bB(b));break;case "setVolume":this.o.setVolume(b.volume)}}};
g.h.TL=function(a){if(null!=this.C){var b=a.qg;switch(a.qe){case "startTracking":this.C.Cb();break;case "stopTracking":this.C.ed();break;case "setPlaybackOptions":this.C.tr(bB(b));break;case "load":this.C.load(b.videoUrl,b.mimeType)}}};
g.h.xg=function(a){var b={};switch(a.type){case "beginFullscreen":a="fullscreen";break;case "endFullscreen":a="exitFullscreen";break;case "click":a="click";break;case "end":a="end";break;case "error":a="error";break;case "loaded":a="loaded";break;case "mediaLoadTimeout":a="mediaLoadTimeout";break;case "pause":a="pause";b.ended=this.o.Th();break;case "play":a="play";break;case "skip":a="skip";break;case "start":a="start";break;case "timeUpdate":a="timeupdate";b.currentTime=this.o.getCurrentTime();
b.duration=this.o.getDuration();break;case "volumeChange":a="volumeChange";b.volume=this.o.getVolume();break;case "loadedmetadata":a=a.type;b.duration=this.o.getDuration();break;case "abort":case "canplay":case "canplaythrough":case "durationchange":case "emptied":case "loadstart":case "loadeddata":case "progress":case "ratechange":case "seeked":case "seeking":case "stalled":case "suspend":case "waiting":a=a.type;break;default:return}this.F.send("videoDisplay",a,b)};
g.h.HL=function(a){switch(a.qe){case "showVideo":null!=this.B?this.B.ed():(this.B=new Pt,this.Z.X(this.B,"click",this.eW));this.B.Cb(dB(this.D));a=this.D;null!=a.o&&a.o.show();break;case "hide":null!==this.B&&(this.B.dispose(),this.B=null);this.D.hide();break;case "getPreloadDisplay":null!=this.o&&null==this.C&&(this.C=this.D.D);break;case "swapVideoDisplays":if(null!=this.o&&null!=this.C){this.Z.Ia(this.o,g.Pb(YA),this.xg);this.Z.Ia(this.o,ZA,this.xg);a=this.D;if(a.o&&a.A&&a.C&&a.D){var b=a.A;a.A=
a.D;a.D=b;b=a.o;a.o=a.C;a.C=b;if(a.K&&a.A instanceof wA){b=a.K;var c=a.A.o;g.on(b.Z);b.o=c;(0,g.D)(b.C.xb(),b.D,b)}null!=a.G&&(b=a.G,a=a.A,null!=b.o&&(b.Z.Ia(b.o,g.Pb(YA),b.xg),b.Z.Ia(b.o,ZA,b.xg)),b.o=a,b.Z.X(b.o,g.Pb(YA),b.xg),b.Z.X(b.o,ZA,b.xg))}this.o=this.D.A;this.C=this.D.D;this.Z.X(this.o,g.Pb(YA),this.xg);this.Z.X(this.o,ZA,this.xg)}}};
g.h.eW=function(){this.F.send("displayContainer","videoClick")};
g.h.fL=function(){g.Ok(this.G.ge(!1),function(a){a.Nf=be(this.A);a.connect()},this);
this.H=!0};cB.prototype.initialize=function(){null!=this.o&&this.o.initialize();null!=this.C&&this.C.initialize()};
cB.prototype.destroy=function(){g.lf(this.o);g.lf(this.C);g.lf(this.G);g.lf(this.A);g.lf(this.D);g.lf(this.K);g.Ud(this.B)};
cB.prototype.hide=function(){null!=this.o&&this.o.hide()};
cB.prototype.setSize=function(a,b){var c=this.B;null!=c&&(-1==a?(c.style.right="0",c.style.left="0"):c.style.width=a+"px",-1==b?(c.style.bottom="0",c.style.top="0"):c.style.height=b+"px");null!=this.G&&(c=this.G,c.A.width=-1==a?"100%":a,c.A.height=-1==b?"100%":b)};g.h=eB.prototype;g.h.St=function(){return dB(this.o)};
g.h.Km=function(){return this.o.H};
g.h.fg=function(){return this.o.H};
g.h.Vm=function(){var a=this.o.A;return null!=a?a:new LA};
g.h.lg=function(){var a=this.o;null!=a.o&&a.o.show()};
g.h.Md=function(){};
g.h.Gt=function(){return null!=this.o.F};
g.h.Ak=function(){return this.o.J};
g.h.vu=function(){return!1};
g.h.Vp=function(){return this.o.L};
g.h.setSize=function(a,b){this.o.setSize(a,b)};
g.h.hide=function(){};
g.h.Tp=function(){return null};
g.h.Up=function(){};g.C(fB,g.of);g.h=hB.prototype;
g.h.clone=function(){var a=new hB;"auto"==this.Qj?a.Qj="auto":"click"==this.Qj&&(a.Qj="click");a.o=this.o;a.Ji=g.cc(this.Ji);a.A=this.A;a.Lo=this.Lo;a.D=this.D;a.C=this.C?g.Va(this.C):null;a.contentTitle=this.contentTitle;a.ac=g.cc(this.ac);a.location=this.location;a.referrer=this.referrer;a.F=this.F;a.language=this.language;a.zk=this.zk;a.yk=this.yk;a.Ns=this.Ns;a.Af=this.Af;a.zf=this.zf;a.ym=this.ym;a.zm=this.zm;a.qf=this.qf;a.Dr=this.Dr;a.Px=this.Px;a.xx=this.xx;a.G=this.G;a.B=this.B;a.ks=this.ks;
a.Sp=this.Sp;a.afcRmFallback=this.afcRmFallback;a.K=this.K;a.J=this.J;a.kk=this.kk;a.hs=this.hs;a.fC=this.fC;a.RB=this.RB;a.Fs=this.Fs?this.Fs.clone():null;return a};
g.h.Ji=null;g.h.Lo=null;g.h.Ns=null;g.h.ac=null;g.h.Qj="unknown";g.h.fC=0;g.h.zk=0;g.h.yk=0;g.h.Af=0;g.h.zf=0;g.h.ym=function(){return null};
g.h.zm=function(){return null};
g.h.kk=!1;g.h.qf=null;g.h.Dr=!1;g.h.Px=!1;g.h.xx=!0;g.h.hs=new Dn;g.h.ks=0;g.h.sA=!0;g.h.Sp=null;g.h.afcRmFallback=!1;g.h.RB=!0;g.h.Fs=null;g.C(iB,g.Pf);g.C(jB,g.of);jB.prototype.getError=function(){return this.A};g.C(lB,g.Pf);lB.prototype.A=null;lB.prototype.Pb=function(){return this.C};
lB.prototype.Y=function(){delete this.o;mB(this);g.Kf(this.A);lB.fa.Y.call(this)};
lB.prototype.D=function(){kB(this)&&(mB(this),g.Kf(this.A),this.A=null,this.C=!0,this.dispatchEvent("ifload"))};g.C(nB,iB);g.va(nB);g.h=nB.prototype;g.h.Y=function(){this.A&&this.A.dispose();nB.fa.Y.call(this)};
g.h.initialize=function(){if(!this.Ee){var a=g.le(new ud);try{oB([a,a.top]);var b=!0}catch(c){b=!1}b?AB(this):(this.Ee=!0,this.B="not_available")}};
g.h.Rd=function(a){try{this.o.googleSetCompanionAdContents((0,g.I)(a,this.lK,this)),this.zl()}catch(b){this.dispatchEvent(new jB("companion_display_error",b))}};
g.h.KE=function(){0<this.C&&(0,g.H)()>=this.C?(this.Ee=!0,wB(this),zB(this)):AB(this)};
g.h.jX=function(a){var b=(0,g.I)(a.adSizes,function(a){return new g.sd(a.adWidth,a.adHeight)});
return new rp(a.slotId,b)};
g.h.lK=function(a){var b={};b.slotId=a.J;b.adContent=a.Sc();b.adWidth=a.B;b.adHeight=a.o;b.friendlyIframeRendering=a.A;b.onAdContentSet=(0,g.B)(this.KS,this,a);return b};
g.h.KS=function(a,b){if(null!=a.C){var c=g.Yd(b);c||(c=g.Od("div"),b.appendChild(c));var d=a.Lc();c.appendChild(d);BB(this,a,c)}else c=a.A?b.querySelector("iframe"):(c=g.Yd(b))?g.Yd(c):null,(c=c&&"IFRAME"==c.tagName?c:null)&&tia(this,c,a)};
g.h.JS=function(a){this.dispatchEvent(new jB("companion_click",null,a))};
g.h.zl=function(a){Yn(this.impressionUrls,a)};g.C(CB,g.Pf);CB.prototype.xz=function(){return!0};
CB.prototype.Xi=function(){return null};g.C(EB,CB);g.h=EB.prototype;g.h.Y=function(){this.destroy();EB.fa.Y.call(this)};
g.h.destroy=function(){null!=this.Z&&this.Z.dispose();this.C=null;(0,g.D)(this.B,function(a){tp(a)},this);
this.A=null};
g.h.Rd=function(a){g.lf(this.A);this.A=new g.Pf;this.C=a;this.D=!0;this.F?GB(this):(this.D=IB(HB(a),[]),this.D||(this.A=this.C=null));return this.A};
g.h.xz=function(){return this.D};
g.h.yV=function(){null!=this.G&&(this.G.stop(),this.G.dispose(),this.G=null);if(null!=this.o){var a=pB(this.o);null!=a&&(this.B=a)}this.F=!0;null!=this.C&&GB(this);this.dispatchEvent(new g.of("initialized"))};
g.h.LS=function(a){FB(this,a.getError())};
g.h.HS=function(a){if(null!=a.o){var b=a.o;"companion_slot_init"==a.type?(Yn(b.D),Vf(function(){null!=this.A&&this.A.dispatchEvent(new up("companion_impression",b))},this)):"companion_click"==a.type&&(Yn(b.F),null!=this.A&&this.A.dispatchEvent(new up("companion_click",b)))}};
g.h.Xi=function(){return this.o};g.C(JB,yv);
JB.prototype.B=function(){if(null===this.o){for(var a=this.C,b=new aA,c=g.Wd(g.Yd(this.C)),d=0,e=c.length;d<e;d++){var f=c[d];if("vmap:AdBreak"==f.nodeName){var k=f;var l=[];for(var m="",n=null,p=!1,r=!1,v=null,z=!1,E=g.Wd(k),J=0,N=E.length;J<N;J++){var ca=E[J];switch(ca.nodeName){case "vmap:AdSource":if(!n&&(n=Aia(ca),!n)){m=zs(ca,"vmap:AdTagURI");var Qa="";m.length&&(Qa=g.G(Bs(m[0])));if(g.F(Qa))throw ao(gxa,null,ca.parentNode.nodeName,ca.nodeName);m=Qa}break;case "vmap:Extensions":v=zs(ca,"vmap:Extension"),
z=g.Ia(v,g.Da(KB,"type","bumper")),null!=z&&(p=!0,r=As(z,"suppress_bumper"),r=null!=r?"true"==r:!0),z=Bia(v),v=z.breakType,z=z.gp}}E=null;if(n){E=n;n=null;try{n=ys(E)}catch(vb){n=vs(E)}E=this.A.clone();E.A=n;E.o=""}else g.F(m)||(n=m,E=this.A.clone(),E.A="",E.o=n);E&&(P.o()&&(n=E,k=As(k,"timeOffset"),J=Es(k),k="start"==k||0==J?0:"end"==k||-1==J?-1:1E3*J,n.ks=k),k=new $z(E),k.isBumper=p,k.o=p&&!r,k.B=v,k.gp=z,g.Pa(l,k));f=yia(f);p=0;for(r=f.length;p<r;p++)if(v=f[p],k=Es(v),0<p&&(l=zia(this,l)),"start"==
v||0==k)bA(b,l,0);else if("end"==v)bA(b,l,-1);else{if(-1==k)throw ao(eA,null,"timeOffset",g.G(v));bA(b,l,k)}}}if(0==b.o.Fb().length)throw ao(qr);this.o=new zv(a,null,b)}return this.o};OB.prototype.G=function(){var a=this.C(this.D());return eg(a)?a.then(function(a){return a.toString()}):a instanceof Error?a:a.toString()};
OB.prototype.F=function(){var a=1;yo()&&(a+=4);if(!P.o()){var b=15360;P.ba&&(b+=8);a+=b}return a};var oC={X4:"ultrahigh",W0:"high",oJ:"medium"},Mia={mZ:1E3,nZ:1001,oZ:1002,pZ:1003,qZ:1004,rZ:1005,sZ:1006},Nia={kJ:1,QI:2},Oia={zI:"content",b4:"site",d4:"site_content"};g.h=UB.prototype;g.h.Bo="high";g.h.Eu=!1;g.h.Gs=1;g.h.Hs=null;g.h.adType="video";g.h.adBlock=1;g.h.Co=null;g.h.age=null;g.h.Ks=!0;g.h.Ls=null;g.h.At=null;g.h.qm=null;g.h.experimentIds=null;g.h.gender=null;g.h.host=null;g.h.tu=null;g.h.isLiveStream=!1;g.h.language=null;g.h.IB=null;g.h.HB=null;g.h.nq=1E5;g.h.oq=null;g.h.KB=null;
g.h.JB=null;g.h.lv=0;g.h.sl=null;g.h.ar=null;g.h.qr=null;g.h.targeting=null;g.h.tagForChildDirectedTreatment=-1;g.h.Vq=null;g.h.url=null;g.h.Wp=null;g.h.Tx=null;g.h.Fu=null;g.h.ey=null;g.h.Zx=null;g.h.ay=null;g.h.by=null;g.h.Ss=null;g.h.Sx=null;g.h.gs=null;g.h.ZM=null;g.h.aN=null;g.h.contentTitle=null;var Kia={XZ:"bumpervideo",RI:"flash",eJ:"image",i4:"skippablevideo",q4:"standardvideo",u4:"staticimage",TEXT:"text",VIDEO:"video"},gC=["flash","image","staticimage"],Lia=[new g.sd(200,200),new g.sd(250,250),new g.sd(300,250),new g.sd(336,280),new g.sd(450,50),new g.sd(468,60),new g.sd(480,70),new g.sd(728,90)];g.C(pC,OB);var Pia=["bumpervideo","skippablevideo","standardvideo","video"];pC.prototype.J={tZ:"allow",KI:"exclude",C3:"require"};pC.prototype.F=function(){var a=pC.fa.F.call(this);P.o()&&this.o.qr&&(a|=this.o.qr);return a};
pC.prototype.C=function(a){var b=new g.Sm(this.A.o),c=new g.Sm("//"+b.A+b.B);b=a.Fb();(0,g.D)(b,function(b){g.an(c,b,a.get(b))});
g.Tm(c,"https");return c};
pC.prototype.D=function(){var a=new g.Mm;a.set("sdkv",TB(this));a.set("sdki",this.F().toString(16));a.set("video_product_type",null!=this.o.sl?P.o()?5:g.jb(this.o.sl,"ca-games-")?4:g.jb(this.o.sl,"ca-video-")?0:-1:-1);a.set("correlator",this.H.o);a.set("client",this.o.sl);P.o()&&!g.F(g.G(this.o.url))?a.set("url",this.o.url):a.set("url",this.A.location?this.A.location:this.A.referrer);null!=this.A.qf&&a.set("adk",this.A.qf);a.set("num_ads",qC(this));a.set("channel",Ria(this));a.set("output","xml_vast3");
this.o.Eu&&a.set("adtest","on");this.o.Co&&a.set("adsid",this.o.Co);dp&&a.set("flash",$B);fC("alternate_ad_url",this.o.Ls,a);fC("cpm",this.o.At,a);VB(a,this.A);P.o()||g.Vb(oC,this.o.Bo)&&a.set("adsafe",this.o.Bo);this.o.host&&(a.set("host",this.o.host),fC("ht_id",this.o.tu,a),null!=this.o.B&&fC("h_ch",this.o.B.join("+"),a));fC("hl",this.o.language,a);fC("cust_age",this.o.age,a);fC("cust_gender",this.o.gender,a);-1!=this.o.tagForChildDirectedTreatment&&fC("tfcd",this.o.tagForChildDirectedTreatment,
a);null!=this.o.Vq&&fC("pucrd",this.o.Vq,a);fC("slotname",this.o.Hs,a);if(aC(this.o)&&(a.set("ea","0"),null!=this.A.Af&&null!=this.A.zf)){var b=bC(this.o,this.A.Af,this.A.zf,this.A.kk);a.set("image_size",b);g.F(b)&&(this.o.o=iC(this.o.o,this.o.adType,!0),this.o.adType=this.o.o.join("_"))}a.set("ad_type",this.o.adType);b=Nn(Jn());g.F(g.G(b))||a.set("eid",b);XB(a);b=this.H;var c=this.o,d=this.o.qm;if(null!=d){var e=Ko(b);c=null!=c.gs?c.gs:Co(e,d);1!=c&&a.set("ad_block",c);null==b.N&&(b.N=new Ho);c=
b.N;var f=d!=b.O;(e=0==e.o%100||f)||(e=36E5<(null===c.o?0:(new g.Go).getTime()-c.o));e&&c.reset();b.O=d;b=c.A;null!==b&&a.set("tok",b)}a.set("unviewed_position_start","1");b=this.o.Gs;a.set("videoad_start_delay",null!=b?b:1);RB(this,a);SB(this,a);PB(this,a);Qia(this)&&a.set("video_format",null!=this.o.Wp&&P.o()?this.o.Wp:g.JI&&g.io(6)||g.rN&&g.io(4)||to(2.3)?43:18);a.set("t_pyv",null!=this.o.ar?this.o.ar:this.J.KI);fC("min_ad_duration",this.o.lv,a);0<this.o.nq&&a.set("max_ad_duration",rC(this.o.nq,
qC(this)));0<this.o.oq&&a.set("sdmax",rC(this.o.oq,qC(this)));cC(a,this.K);P.o()&&(b=Sq(this.o.qm),null!=b&&a.set("video_doc_id","yt_"+b));fC("description_url",this.o.qm,a);P.o()&&(fC("lact",YB(this.A),a),fC("loeid",this.o.Fu,a),fC("lsv",this.o.isLiveStream,a),this.o.Ks||fC("scs","false",a),fC("targeting",this.o.targeting,a),fC("video_cpm",this.o.Tx,a),fC("yt_pt",this.o.ey,a),fC("ytdevice",this.o.Zx,a),fC("ytdevicever",this.o.ay,a),fC("yt_vis",ZB(this.A),a),fC("dbp",this.o.by,a),fC("avo",this.o.Ss,
a),fC("v_p",this.o.Sx,a));null!=a.get("ms")||fC("ms",this.o.C,a);fC("vid_kw",this.A.C?this.A.C.join(","):null,a);fC("vid_d",this.A.D,a);fC("vid_t",this.A.contentTitle,a);QB(a);dC(this.A,a,!1);null!=this.A.Ji&&fC("loc",this.A.Ji.page_location,a);return a};g.C(sC,OB);sC.prototype.C=function(a){var b=new g.Sm(this.A.o);(0,g.D)(a.Fb(),function(c){g.F(a.get(c))?b.o.remove(c):g.an(b,c,a.get(c))});
g.Tm(b,"https");return b};
sC.prototype.D=function(){var a=new g.Mm;a.set("sdkv",TB(this));SB(this,a);PB(this,a);QB(a);null!=this.A.qf&&a.set("adk",this.A.qf);return a};g.C(tC,OB);tC.prototype.D=function(){return new g.Mm};
tC.prototype.C=function(){var a=new Br(this.A.o),b=TB(this);b&&Dr(a,"dc_sdkv",[b]);(b=this.F().toString(16))&&Dr(a,"dc_sdki",[b]);(b=this.B.K)&&Dr(a,"dc_submodel",[b]);null!=this.A.qf&&Dr(a,"dc_adk",[this.A.qf]);b=Nn(Jn());g.F(g.G(b))||Dr(a,"dc_eid",[b]);b=P.ga;null!=b&&Dr(a,"dc_rfl",[Ui(b)]);b=new g.Mm;RB(this,b);SB(this,b);PB(this,b);QB(b);Om(b,"js")&&Dr(a,"dc_js",[b.get("js")]);Om(b,"msid")&&Dr(a,"dc_msid",[b.get("msid")]);Om(b,"frm")&&Dr(a,"dc_frm",[b.get("frm")]);Om(b,"osd")&&Dr(a,"dc_osd",[b.get("osd")]);
Om(b,"sdr")&&Dr(a,"dc_sdr",[b.get("sdr")]);Dr(a,"dcmt",["text/xml"]);Om(b,"vpa")&&Dr(a,"vpa",[b.get("vpa")]);Om(b,"mpt")&&Dr(a,"mpt",[b.get("mpt")]);Om(b,"mpv")&&Dr(a,"mpv",[b.get("mpv")]);b=Cr(a,"dc_output");null!=b&&(g.Ma(b,"vast")||g.Ma(b,"xml_vast2"))&&Dr(a,"dc_output",["xml_vast3"]);g.Tm(a,"https");return a};g.C(uC,OB);uC.prototype.C=function(a){a=new g.Sm(a.get("adTagUrl"));g.Tm(a,"https");return a};
uC.prototype.G=function(){var a=g.G(this.D().get("adTagUrl"));return a=a.replace(/^http:/i,"https:")};
uC.prototype.D=function(){var a=new g.Mm;a.set("adTagUrl",this.A.o);a.set("adsResponse",this.A.A);return a};g.C(vC,OB);vC.prototype.C=function(a){return new g.Sm(a.get("adTagUrl"))};
vC.prototype.D=function(){var a=new g.Mm;a.set("adTagUrl",this.A.o);a.set("adsResponse",this.A.A);return a};g.C(wC,OB);wC.prototype.C=function(a){var b=new g.Sm(this.A.o);(0,g.D)(a.Fb(),function(c){g.F(a.get(c))?b.o.remove(c):g.an(b,c,a.get(c))});
g.Tm(b,"https");return b};
wC.prototype.D=function(){var a=new g.Mm,b=Nn(Jn());g.F(g.G(b))||a.set("eid",b);a.set("sdkv",TB(this));a.set("sdki",this.F().toString(16));a.set("correlator",this.B.C);a.set("scor",this.B.o);null!=this.A.qf&&a.set("adk",this.A.qf);RB(this,a);SB(this,a);PB(this,a);QB(a);b=(new g.Sm(this.A.o)).o;var c=new UB;c.A=mC(c.A,b.get("overlay"));a.set("afvsz",bC(c,this.A.Af,this.A.zf,this.A.kk));b=this.B.B;null!=b&&(this.B.B=null,a.set("fbidx",b));b=this.B.W;null!=b&&a.set("ppid",b);b="null";c=this.B.A;null!=
c?b=c:Sn(this.A.location)?b=this.A.location:Sn(this.A.referrer)&&(b=this.A.referrer);a.set("url",b);b=this.B.K;null!=b&&a.set("submodel",b);b=this.B.H;null==b||P.o()||(b=Sia(b),a.set("ciu_szs",b));b=(new g.Sm(this.A.o)).o.get("output");null==b||"vast"!=b&&"xml_vast2"!=b||a.set("output","xml_vast3");a.set("impl","");a.set("unviewed_position_start","1");return a};g.C(yC,wC);yC.prototype.C=function(a){a=yC.fa.C.call(this,a);this.J||Uia(this,a);return a};g.C(zC,tC);zC.prototype.C=function(a){a=zC.fa.C.call(this,a);this.J||Wia(this,a);return a};g.C(AC,OB);var Yia="CA_TYPE CPN DT FLASH FRM LACT MT P_H P_W TSLA U_AH U_AW U_CD U_H U_HIS U_JAVA U_NMIME U_NPLUG U_TZ U_W VIS".split(" ");
AC.prototype.C=function(){var a=this.A.o.match(/\[(?:BISCOTTI_|AN)ID\]/g);if(!a)return BC(this);var b=g.Ma(a,"[BISCOTTI_ID]");a=g.Ma(a,"[ANID]");b=b?this.A.Lo():"";a=a?this.A.Ns():"";return b instanceof Error?ao(x0,b):a instanceof Error?ao(x0,a):eg(b)||eg(a)?(b=eg(b)?b:kg(b),a=eg(a)?a:kg(a),g.qg([b,a]).then(function(a){return BC(this,a[0],a[1])},function(a){throw ao(x0,a);
},this)):BC(this,b,a)};
AC.prototype.D=function(){return new g.Mm};CC.prototype.fetch=function(a,b,c){null!=a.A&&(g.w(a.A)&&!g.F(a.A)||a.A instanceof window.Document)?aja(this,a,b,c):Jr(a.o)&&null!=this.o&&!this.o.G?this.o.start(a,(0,g.B)(function(){EC(this,a,b,c)},this)):EC(this,a,b,c)};
CC.prototype.A=function(a,b,c,d){var e=$ia(a,this.C).G();eg(e)?e.then(function(e){GC(this,e,a,b,c,d)},function(a){a instanceof Cn?c(a):c(ao(FC,a))},this):e instanceof Cn?c(e):e instanceof Error?c(ao(FC,e)):GC(this,e,a,b,c,d)};HC.prototype.reset=function(a){this.o=a+(0,g.H)()};IC.prototype.start=function(a,b){this.C=a;this.F=b;ija(this);this.D.F?this.H():nn(this.Z,this.D,"initialized",this.H,this)};
IC.prototype.H=function(){var a=this.D.Xi();var b=a.Ee&&"retrieved"==a.B?a.F:void 0;a=ria(a);null!=b&&(this.B.C=b);null!=a&&(this.B.H=a);hja(this)};g.h=g.KC.prototype;g.h.Cc=function(){return this.o.length+this.A.length};
g.h.isEmpty=function(){return g.Na(this.o)&&g.Na(this.A)};
g.h.clear=function(){this.o=[];this.A=[]};
g.h.contains=function(a){return g.Ma(this.o,a)||g.Ma(this.A,a)};
g.h.remove=function(a){var b=this.o;var c=xwa(b,a);0<=c?(g.Ra(b,c),b=!0):b=!1;return b||g.Sa(this.A,a)};
g.h.xb=function(){for(var a=[],b=this.o.length-1;0<=b;--b)a.push(this.o[b]);var c=this.A.length;for(b=0;b<c;++b)a.push(this.A[b]);return a};g.C(RC,g.Pf);g.C(WC,zz);g.h=WC.prototype;g.h.xt=function(){var a=Az(this);g.S(a,"ima-container-rotator");this.G=g.Md("DIV");this.o.appendChild(this.G);(0,g.D)(this.K,function(a,c){g.S(a,"ima-container-highlight");var b=63/this.K.length*(c+.5)-5,e=g.Md("DIV",{id:Ab(),"class":"ima-container-selector"});e.style.top=b+"px";this.hg.X(e,"click",function(a){this.yl(a.target)});
this.O.set(e.id,a);this.F.appendChild(e)},this);
this.yl(g.Yd(this.F));this.play();return a};
g.h.play=function(){null==this.Fa&&(this.Fa=new g.Bg(this.N),this.hg.X(this.Fa,"tick",this.aX));WC.fa.play.call(this);this.Fa.start()};
g.h.stop=function(){null!=this.Fa&&this.Fa.stop();WC.fa.stop.call(this)};
g.h.aX=function(){var a=this.C;this.yl((g.u(a.nextElementSibling)?a.nextElementSibling:Xd(a.nextSibling))||g.Yd(this.C.parentNode))};
g.h.yl=function(a){this.C&&g.Lq(this.C,"ima-container-active");g.S(a,"ima-container-active");var b=this.O.get(a.id),c=this.G,d=c.parentNode;d&&d.replaceChild(b,c);this.C=a;this.G=b;Bz(b)};g.C(XC,zz);XC.prototype.hide=g.A;XC.prototype.xt=function(){var a=Az(this);(0,g.D)(this.C,function(a){g.S(a,"ima-container-highlight");this.o.appendChild(a);Bz(a)},this);
this.play();return a};g.C(YC,Cz);g.h=YC.prototype;g.h.BB=function(a,b){if(this.F||null==b)b=g.A;if(P.o()&&this.F)var c=new zz(a[0],b);else 1<a.length?$C(this)||"fullscreen"==this.hd&&P.o()?c=new XC(a):(c=new WC(a),c.N=15E3):c=new zz(a[0],b);c.uu=100;this.F&&(c.mC=30);c.nC=45E3;c.BF=6E3;g.T(c.o,"scalable",this.F);g.T(c.na(),"yt-text-overlay",P.o()&&this.F);return c};
g.h.eX=function(a){var b=a.o;null!=b?(null==this.K&&(this.K=a.getExtension("AdSense").A),Bq(b,g.Da(this.mu,a,b)),Aq(b,g.Da(this.BL,a,b)),"Text"==b.Ad()&&(this.F=!0),this.C.push(b)):(b=ao(VC),b=br(b,a),Yn(Xs(a),b))};
g.h.Yc=function(a,b,c){YC.fa.Yc.call(this,a,b,c);this.Wa.yz=!0;a=this.ra();g.Na(Zs(a))?P.o()&&this.ma("companionBackfill"):this.Rd(a)};
g.h.Gz=function(){null==this.C&&(this.C=[],(0,g.D)(this.ads,this.eX,this));if(0==this.C.length)throw bo(VC);var a=[];(0,g.D)(this.C,function(b){Cq(b,this.Za());"Flash"!=b.Ad()||b.Ub().getExtension("TemplateAd")||(b.Hz=!0);a.push(b.Lc());Vea(b,this.K.G)},this);
if(0==a.length)throw bo(VC);oja(this);Ez(this,this.ra());return this.Go(a)};
g.h.start=function(){YC.fa.start.call(this);!this.J&&$C(this)&&(this.J=!0,this.ma("contentPauseRequested"));null!=this.A&&this.A.start();if(this.D){var a=aD(this);Mo.getInstance().report(33,a)}};
g.h.Mp=function(a){YC.fa.Mp.call(this,a);(0,g.D)(this.C,function(a){var b=cr(a.Ub(),this.Ka);this.fc.o=b;this.zg(a,["close"]);this.Ca("close")},this)};
g.h.mp=function(a){YC.fa.mp.call(this,a);$C(this)&&(null!=this.B&&g.Sd(this.B),P.A?kp().Bl(null):So().Bl(null),this.J&&(this.J=!1,this.ma("contentResumeRequested")))};
g.h.Go=function(a){a=YC.fa.Go.call(this,a);if($C(this)){var b=sx(2);g.S(this.o.o,b);g.S(a,b)}return a};
g.h.Ps=function(a){if($C(this)){var b=g.Zd(a);b&&((a=g.Wd(a)[0])&&g.xh(a,{margin:"0 auto"}),a=this.ads[0].getExtension("AdSense").A||new Iv,this.A=new by(b,a,2,ZC(this),!0),this.Za().X(this.A,"skip",this.bM),this.Za().X(this.A,"end",this.DM))}else YC.fa.Ps.call(this,a),Kn().o("enable_overlays_wta")||(b=Pq(Rha,ZC(this)),a.appendChild(b))};
g.h.mu=function(a,b){this.D?this.Vn(a,b):this.H.push((0,g.B)(this.Vn,this,a,b));Bq(b,g.A);this.ma("impression")};
g.h.Vn=function(a,b){var c=cr(a,this.Ka);this.fc.o=c;this.ph(a);this.zg(b,["creativeview"]);this.Ca("impression");this.Ca("creativeview");iv(this,"start")};
g.h.BL=function(a,b,c){a=a.getExtension("AdSense");a=new g.Sm(a.C);var d=b.ub();(0,window.isNaN)(d)&&(d=g.Qh(b.Lc()).width);var e=b.getHeight();(0,window.isNaN)(e)&&(e=g.Qh(b.Lc()).height);var f=g.Mh(c),k=c instanceof sf;b=k&&g.u(c.offsetX)?c.offsetX:f.x;c=k&&g.u(c.offsetY)?c.offsetY:f.y;f=Jn();c=["0","aw="+d,"ah="+e,"nx="+b,"ny="+c,"viewMode="+this.hd,"sdkv=h.0.0.0","eids="+Nn(f)];P.o()||(d=g.Qh(this.Oa.fg()),e=this.A?mha(this.A):new g.pd(-1,-1),c=c.concat(["bw="+d.width,"bh="+d.height,"sx="+e.x,
"sy="+e.y]));Vn(a,"elementclick",c);(0,g.D)(this.C,function(a){var b=cr(a.Ub(),this.Ka);this.fc.o=b;Dz(this,a);this.Ca("click")},this);
this.ma("click")};
g.h.Gc=function(a){this.hd!=a&&(YC.fa.Gc.call(this,a),this.ma("expandedChanged"))};
g.h.So=function(){YC.fa.So.call(this,this.A?15:0,this.A?65:0)};
g.h.bM=function(){bD(this,"skip")};
g.h.DM=function(){bD(this,"close")};g.C(cD,g.L);cD.prototype.A=function(a){if(0==a.Jc||Kn().o("disable_freqcap_for_hummingbird")&&(g.Na(a.G)?0:a.G[0].gp)||0>=this.B||0>=this.o)return!1;var b=(0,g.H)()/1E3;a=a.Jc-this.C.currentTime;0<a&&(b+=a);return b-this.o<=this.B};g.C(dD,cD);dD.prototype.A=function(a){return 5==a.cf()?!1:dD.fa.A.call(this,a)};g.C(UC,dv);g.h=UC.prototype;
g.h.Yc=function(a,b,c){null!=this.Xb&&(this.Xb.ed(),this.Xb.dispose(),this.Xb=null);UC.fa.Yc.call(this,a,b,c);a=this.Tf.o.Fb();b=new sA(b);var d=4;c&&0<=c.Rw&&(d=c.Rw);var e=new iA,f=Kn(),k=f.A("sdk_ad_prefetch_time_seconds");0<=k&&(d=k);e.F=d;e.D=f.o("enable_prefetch_for_postrolls");e.o=f.o("enable_midroll_notify");e.B=f.o("enable_postroll_notify");e.A=f.A("midroll_notify_time_seconds");e.C=f.A("postroll_notify_time_seconds");this.Sw=null!=c?c.nF:0;qja(this,a);this.Xb=new jA(b,this.Db.xb(),e);a=
this.Tf.o.Fb();rja(this,a);sja(this);c=g.Ia(this.Db.xb(),function(a){return 0==a.Jc});
null!=c&&this.yg()&&jD(this,c);try{c={cfg:!0},c.ads=this.Le,Mo.getInstance().report(44,c)}catch(l){}};
g.h.init=function(a){UC.fa.init.call(this,a);this.Br()};
g.h.nl=function(){var a=new Zz(this.Xe());this.dispatchEvent(new rx(null,a))};
g.h.destroy=function(){this.dispose()};
g.h.Y=function(){this.qb.o=!0;if(0<this.Db.Cc()){var a=this.Db.xb();(0,g.D)(a,this.gk,this);this.Db.clear()}hD(this);kD(this);null!=this.Oa&&(this.Oa.hide(),this.Oa=null);UC.fa.Y.call(this)};
g.h.start=function(){UC.fa.start.call(this)};
g.h.stop=function(){null!=this.rb&&(this.gk(this.rb),this.vg())};
g.h.bb=function(a,b,c){UC.fa.bb.call(this,a,b,c);this.ze=a;this.ye=b;this.hd=c;null!=this.rb&&Hz(this.rb,this.ze,this.ye,this.hd)};
g.h.pause=function(){null!=this.rb&&this.rb.pause()};
g.h.resume=function(){null!=this.rb&&this.rb.resume()};
g.h.skip=function(){null!=this.rb&&this.rb.skip()};
g.h.Mf=function(){null!=this.rb&&this.rb.Mf()};
g.h.muteAdClicked=function(){null!=this.rb&&this.Ca("mute_interaction_url")};
g.h.muteAd=function(){var a=this;if(null!=this.rb)if(this.Ca("mute_url"),this.ma("MUTE_AD"),Kn().o("use_async_run_for_execution_in_ima"))g.ag(this.oi,this);else{var b=g.Cg(function(){a.oi()},0);
g.kf(this,function(){return g.Dg(b)})}};
g.h.oi=function(){this.Fj();this.tb()?this.start():this.stop()};
g.h.whyThisAdClicked=function(){null!=this.rb&&this.Ca("why_this_ad_url")};
g.h.whyThisAdClosed=function(){null!=this.rb&&this.Ca("why_this_ad_got_it")};
g.h.setVolume=function(a){UC.fa.setVolume.call(this,a);null!=this.rb&&this.rb.setVolume(a)};
g.h.getCurrentTime=function(){return null!=this.rb?this.rb.getCurrentTime():-1};
g.h.getDuration=function(){return null!=this.rb?this.rb.getDuration():-1};
g.h.Tc=function(){return null!=this.rb?this.rb.Tc():-1};
g.h.Xe=function(){var a=g.Va(this.Tf.o.Fb());(0,g.D)(this.Db.xb(),g.Da(function(a,c){5==c.cf()&&g.Sa(a,c.Jc)},a));
return a};
g.h.Bb=function(){return null!=this.rb?this.rb.Bb():null};
g.h.rr=function(){};
g.h.pf=function(a){UC.fa.pf.call(this,a);null!=this.Db&&(0,g.D)(this.Db.xb(),function(b){b.pf(a)})};
g.h.Br=function(){this.Xb.Cb();this.Xb.xB(null);var a=g.ta(0)&&!(0,window.isNaN)(0)?this.Tf.o.get(0,[]):[];g.Na(a)&&this.ma("contentResumeRequested")};
g.h.handleEvent=function(a){switch(a.type){case "contentTrackingError":break;case "discardAdBreak":gD(this,this.Db.get(a.o));break;default:g.MC(this.tm,a),iD(this)}};
g.h.Bj=function(){this.ma("userClose")};
g.h.Lw=function(){this.ma("why_this_ad_url")};
g.h.Kw=function(){this.ma("why_this_ad_got_it")};
g.h.Aj=function(){this.ma("autoClose")};
g.h.gk=function(a){a.destroy();this.Db.remove(g.Ca(a));this.rb=null;null!=this.hc&&(this.hc.Ia(a,nz,this.dispatchEvent,!1,this),this.hc.Ia(a,"adError",this.IA,!1,this),this.hc.Ia(a,"allAdsCompleted",this.ZD,!1,this),this.hc.Ia(a,"contentPauseRequested",this.mi,!1,this),this.hc.Ia(a,"contentResumeRequested",this.vg,!1,this),this.hc.Ia(a,"adBreakInitialized",this.aE,!1,this))};
g.h.NS=function(a){this.bp=!0;-1==this.nj?a.A=!1:P.o()&&!eD(this)||fD(this);bia(this.Xb)};
g.h.Mn=function(a){if(null!=a.A&&this.Db.get(a.o).Bb().Zb()){var b={};b.adBreakTime=a.A;this.dispatchEvent(new wn("adNotify",null,b))}};
g.h.ll=function(){this.dispatchEvent(new wn("discardAdNotify",null))};
g.h.MR=function(a){var b=a.A,c=0==b,d=-1==b;this.rm?(c?this.ma("contentResumeRequested"):!d||P.o()&&!eD(this)||fD(this),this.rm=!1):(d?g.Cg(function(){var b=this.Db.get(a.o);b&&this.gk(b);P.o()&&!eD(this)||fD(this)},500,this):c&&g.Cg(function(){this.ma("contentResumeRequested")},100,this),c={},c.adBreakTime=b,this.dispatchEvent(new wn("adBreakReady",null,c)))};
g.h.IA=function(a){var b=a.getError(),c=b.Eb();try{var d={};d.ec=c;Mo.getInstance().report(44,d)}catch(e){}if(P.o()&&b&&"adLoadError"==b.Yb()&&(this.dispatchEvent(a),null!=this.Xb))for(b=this.Xb,a=a.target.Jc,c=0;c<b.o.length;c++)b.o[c].o==a&&(b.o[c].C=!0)};
g.h.ZD=function(a){this.gk(a.target);(eD(this)||!P.o()&&this.bp)&&fD(this);this.je=null;iD(this)};
g.h.mi=function(){var a=this.Xb;a.A.stop();a.B=!1;this.ma("contentPauseRequested")};
g.h.vg=function(){this.ma("contentResumeRequested");this.Js||mA(this.Xb);this.je=null};
g.h.aE=function(a){this.je=null;var b=a.target;a={};a.adBreakTime=b.Jc;this.dispatchEvent(new wn("prefetched",b.Bb(),a));if(null!=this.Xb){a=this.Xb;b=b.Jc;for(var c=0;c<a.o.length;c++)a.o[c].o==b&&(a.o[c].Ee=!0)}iD(this)};
g.h.ma=function(a){var b=null;null!=this.rb&&(b=this.rb.Bb());this.dispatchEvent(new wn(a,b))};
g.h.mk=function(a){return g.Ia(this.Db.xb(),g.Da(function(a,c){return c.Jc==a},a))};
g.h.gG=function(a,b){P.o()?this.oe=new dD(a,b):this.oe=new cD(a,b);return this.oe};
g.h.We=function(){return P.o()&&null!=lD(this)&&null!=lD(this).o?lD(this).o.We():null};
g.h.wg=function(a){null!=lD(this)&&lD(this).wg(a)};
g.h.yg=function(){return null===this.Oa?!1:this.Wa.Tm&&Ao(this.Oa)};g.C(nD,g.Pf);nD.prototype.Y=function(){null!=this.o&&(this.o.Ia("adsManagerLoaded",this.dispatchEvent),this.o.Ia("adError",this.dispatchEvent),this.o.Ia("adLoadError",this.dispatchEvent),this.o=null);nD.fa.Y.call(this)};(function(){for(var a=["ms","moz","webkit","o"],b=0,c;c=a[b]&&!g.x.requestAnimationFrame;++b)g.x.requestAnimationFrame=g.x[c+"RequestAnimationFrame"],g.x.cancelAnimationFrame=g.x[c+"CancelAnimationFrame"]||g.x[c+"CancelRequestAnimationFrame"];if(!g.x.requestAnimationFrame){var d=0;g.x.requestAnimationFrame=function(a){var b=(new Date).getTime(),c=Math.max(0,16-(b-d));d=b+c;return g.x.setTimeout(function(){a(b+c)},c)};
g.x.cancelAnimationFrame||(g.x.cancelAnimationFrame=function(a){(0,window.clearTimeout)(a)})}})();pD.prototype.clone=function(){return new pD(this.o,this.G,this.B,this.D,this.C,this.F,this.A,this.H)};rD.prototype.A=0;rD.prototype.reset=function(){this.o=this.B=this.C;this.A=0};
rD.prototype.getValue=function(){return this.B};g.C(g.tD,g.L);g.h=g.tD.prototype;g.h.subscribe=function(a,b,c){var d=this.A[a];d||(d=this.A[a]=[]);var e=this.Ec;this.o[e]=a;this.o[e+1]=b;this.o[e+2]=c;this.Ec=e+3;d.push(e);return e};
g.h.unsubscribe=function(a,b,c){if(a=this.A[a]){var d=this.o;if(a=g.Ia(a,function(a){return d[a+1]==b&&d[a+2]==c}))return this.ce(a)}return!1};
g.h.ce=function(a){var b=this.o[a];if(b){var c=this.A[b];0!=this.C?(this.B.push(a),this.o[a+1]=g.A):(c&&g.Sa(c,a),delete this.o[a],delete this.o[a+1],delete this.o[a+2])}return!!b};
g.h.V=function(a,b){var c=this.A[a];if(c){for(var d=Array(arguments.length-1),e=1,f=arguments.length;e<f;e++)d[e-1]=arguments[e];if(this.D)for(e=0;e<c.length;e++){var k=c[e];yja(this.o[k+1],this.o[k+2],d)}else{this.C++;try{for(e=0,f=c.length;e<f;e++)k=c[e],this.o[k+1].apply(this.o[k+2],d)}finally{if(this.C--,0<this.B.length&&0==this.C)for(;c=this.B.pop();)this.ce(c)}}return 0!=e}return!1};
g.h.clear=function(a){if(a){var b=this.A[a];b&&((0,g.D)(b,this.ce,this),delete this.A[a])}else this.o.length=0,this.A={}};
g.h.Cc=function(a){if(a){var b=this.A[a];return b?b.length:0}a=0;for(b in this.A)a+=this.Cc(b);return a};
g.h.Y=function(){g.tD.fa.Y.call(this);this.clear();this.B.length=0};g.uD.prototype.set=function(a,b){g.u(b)?this.o.set(a,g.Hg(b)):this.o.remove(a)};
g.uD.prototype.get=function(a){try{var b=this.o.get(a)}catch(c){return}if(null!==b)try{return JSON.parse(b)}catch(c){throw"Storage: Invalid value was encountered";}};
g.uD.prototype.remove=function(a){this.o.remove(a)};g.C(vD,g.uD);vD.prototype.set=function(a,b){vD.fa.set.call(this,a,xD(b))};
vD.prototype.A=function(a){a=vD.fa.get.call(this,a);if(!g.u(a)||a instanceof Object)return a;throw"Storage: Invalid value was encountered";};
vD.prototype.get=function(a){if(a=this.A(a)){if(a=a.data,!g.u(a))throw"Storage: Invalid value was encountered";}else a=void 0;return a};g.C(yD,vD);yD.prototype.set=function(a,b,c){if(b=xD(b)){if(c){if(c<(0,g.H)()){yD.prototype.remove.call(this,a);return}b.expiration=c}b.creation=(0,g.H)()}yD.fa.set.call(this,a,b)};
yD.prototype.A=function(a,b){var c=yD.fa.A.call(this,a);if(c)if(!b&&g.zD(c))yD.prototype.remove.call(this,a);else return c};g.C(g.AD,yD);g.C(BD,zja);BD.prototype.Cc=function(){var a=0;g.Ok(this.ge(!0),function(){a++});
return a};
BD.prototype.clear=function(){var a=Dca(this.ge(!0)),b=this;(0,g.D)(a,function(a){b.remove(a)})};g.C(CD,BD);g.h=CD.prototype;g.h.isAvailable=function(){if(!this.o)return!1;try{return this.o.setItem("__sak","1"),this.o.removeItem("__sak"),!0}catch(a){return!1}};
g.h.set=function(a,b){try{this.o.setItem(a,b)}catch(c){if(0==this.o.length)throw"Storage mechanism: Storage disabled";throw"Storage mechanism: Quota exceeded";}};
g.h.get=function(a){a=this.o.getItem(a);if(!g.w(a)&&null!==a)throw"Storage mechanism: Invalid value was encountered";return a};
g.h.remove=function(a){this.o.removeItem(a)};
g.h.Cc=function(){return this.o.length};
g.h.ge=function(a){var b=0,c=this.o,d=new Lk;d.next=function(){if(b>=c.length)throw Mk;var d=c.key(b++);if(a)return d;d=c.getItem(d);if(!g.w(d))throw"Storage mechanism: Invalid value was encountered";return d};
return d};
g.h.clear=function(){this.o.clear()};
g.h.key=function(a){return this.o.key(a)};g.C(DD,CD);g.C(ED,CD);g.C(GD,BD);var Aja={".":".2E","!":".21","~":".7E","*":".2A","'":".27","(":".28",")":".29","%":"."},FD=null;g.h=GD.prototype;g.h.isAvailable=function(){return!!this.o};
g.h.set=function(a,b){this.o.setAttribute(HD(a),b);ID(this)};
g.h.get=function(a){a=this.o.getAttribute(HD(a));if(!g.w(a)&&null!==a)throw"Storage mechanism: Invalid value was encountered";return a};
g.h.remove=function(a){this.o.removeAttribute(HD(a));ID(this)};
g.h.Cc=function(){return JD(this).attributes.length};
g.h.ge=function(a){var b=0,c=JD(this).attributes,d=new Lk;d.next=function(){if(b>=c.length)throw Mk;var d=c[b++];if(a)return(0,window.decodeURIComponent)(d.nodeName.replace(/\./g,"%")).substr(1);d=d.nodeValue;if(!g.w(d))throw"Storage mechanism: Invalid value was encountered";return d};
return d};
g.h.clear=function(){for(var a=JD(this),b=a.attributes.length;0<b;b--)a.removeAttribute(a.attributes[b-1].nodeName);ID(this)};g.C(KD,BD);KD.prototype.set=function(a,b){this.A.set(this.o+a,b)};
KD.prototype.get=function(a){return this.A.get(this.o+a)};
KD.prototype.remove=function(a){this.A.remove(this.o+a)};
KD.prototype.ge=function(a){var b=this.A.ge(!0),c=this,d=new Lk;d.next=function(){for(var d=b.next();d.substr(0,c.o.length)!=c.o;)d=b.next();return a?d.substr(c.o.length):c.A.get(d)};
return d};MD.prototype.getValue=function(){return this.o};
MD.prototype.clone=function(){return new MD(this.Ec,this.o)};g.h=ND.prototype;g.h.remove=function(){var a=this.o,b=a.length,c=a[0];if(!(0>=b)){if(1==b)Oa(a);else{a[0]=a.pop();a=0;b=this.o;for(var d=b.length,e=b[a];a<d>>1;){var f=2*a+1,k=2*a+2;f=k<d&&b[k].Ec<b[f].Ec?k:f;if(b[f].Ec>e.Ec)break;b[a]=b[f];a=f}b[a]=e}return c.getValue()}};
g.h.xb=function(){for(var a=this.o,b=[],c=a.length,d=0;d<c;d++)b.push(a[d].getValue());return b};
g.h.Fb=function(){for(var a=this.o,b=[],c=a.length,d=0;d<c;d++)b.push(a[d].Ec);return b};
g.h.clone=function(){return new ND(this)};
g.h.Cc=function(){return this.o.length};
g.h.isEmpty=function(){return g.Na(this.o)};
g.h.clear=function(){Oa(this.o)};g.C(g.PD,ND);/*
 Portions of this code are from MochiKit, received by
 The Closure Authors under the MIT license. All other code is Copyright
 2005-2009 The Closure Authors. All Rights Reserved.
*/
QD.prototype.cancel=function(a){if(this.o)this.B instanceof QD&&this.B.cancel();else{if(this.A){var b=this.A;delete this.A;a?b.cancel(a):(b.H--,0>=b.H&&b.cancel())}this.N?this.N.call(this.L,this):this.J=!0;this.o||(a=new $D(this),UD(this),SD(this,!1,a))}};
QD.prototype.K=function(a,b){this.G=!1;SD(this,a,b)};
QD.prototype.Zl=function(a){UD(this);SD(this,!0,a)};
QD.prototype.then=function(a,b,c){var d,e,f=new g.gg(function(a,b){d=a;e=b});
VD(this,d,function(a){a instanceof $D?f.cancel():e(a)});
return f.then(a,b,c)};
dg(QD);QD.prototype.isError=function(a){return a instanceof Error};
g.C(TD,Fa);TD.prototype.message="Deferred has already fired";TD.prototype.name="AlreadyCalledError";g.C($D,Fa);$D.prototype.message="Deferred was canceled";$D.prototype.name="CanceledError";ZD.prototype.A=function(){delete YD[this.Ja];throw this.o;};
var YD={};g.C(aE,He);g.C(bE,He);var Bja=[2,13,14];aE.prototype.Yb=function(){var a=Ne(this,11);return null==a?0:a};var asa={cZ:0,aZ:1,YY:2,bZ:4,dZ:14,ZY:15,eZ:17},bsa={iZ:0,gZ:1,fZ:2,hZ:3,jZ:14},csa={l1:0,m1:1,o1:2,n1:3,k1:4};g.tG=window.performance&&window.performance.timing&&window.performance.now?function(){return window.performance.timing.navigationStart+window.performance.now()}:function(){return(new Date).getTime()};g.dE=window.yt&&window.yt.config_||window.ytcfg&&window.ytcfg.data_||{};g.ua("yt.config_",g.dE,void 0);(0,g.H)();var kE=g.u(window.XMLHttpRequest)?function(){return new window.XMLHttpRequest}:g.u(window.ActiveXObject)?function(){return new window.ActiveXObject("Microsoft.XMLHTTP")}:null;var zE={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-Identity-Token":"ID_TOKEN","X-YouTube-Page-CL":"PAGE_CL","X-YouTube-Page-Label":"PAGE_BUILD_LABEL","X-YouTube-Variants-Checksum":"VARIANTS_CHECKSUM"},Fja="app debugcss debugjs expflag force_ad_params forced_experiments absolute_experiments conditional_experiments sbb sr_bns_address".split(" "),
FE=!1;var jJ=SM||RM;var WE={},Mja=0;g.t(XE,Fa);$E.prototype.then=function(a,b,c){return this.B?this.B.then(a,b,c):1===this.A&&a?(a=a.call(c,this.o),eg(a)?a:bF(a)):2===this.A&&b?(a=b.call(c,this.o),eg(a)?a:aF(a)):this};
$E.prototype.getValue=function(){return this.o};
dg($E);g.t(dF,Fa);dF.prototype.name="BiscottiError";g.t(cF,Fa);cF.prototype.name="BiscottiMissingError";var fF={format:"RAW",method:"GET",timeout:5E3,withCredentials:!0},eF=null;var oF={};var wxa,pF;wxa=0;pF=g.Jd?"webkit":g.zh?"moz":g.Hd?"ms":g.qf?"o":"";g.xxa=g.y("ytDomDomGetNextId")||function(){return++wxa};
g.ua("ytDomDomGetNextId",g.xxa,void 0);var Pja={stopImmediatePropagation:1,stopPropagation:1,preventMouseEvent:1,preventManipulation:1,preventDefault:1,layerX:1,layerY:1,screenX:1,screenY:1,scale:1,rotation:1,webkitMovementX:1,webkitMovementY:1};xF.prototype.preventDefault=function(){this.event&&(this.event.returnValue=!1,this.event.preventDefault&&this.event.preventDefault())};
xF.prototype.SB=function(){return this.event?!1===this.event.returnValue:!1};
xF.prototype.stopPropagation=function(){this.event&&(this.event.cancelBubble=!0,this.event.stopPropagation&&this.event.stopPropagation())};
xF.prototype.stopImmediatePropagation=function(){this.event&&(this.event.cancelBubble=!0,this.event.stopImmediatePropagation&&this.event.stopImmediatePropagation())};var BF=g.y("ytEventsEventsListeners")||{};g.ua("ytEventsEventsListeners",BF,void 0);var CF=g.y("ytEventsEventsCounter")||{count:0};g.ua("ytEventsEventsCounter",CF,void 0);var yxa=vc(function(){var a=!1;try{var b=Object.defineProperty({},"passive",{get:function(){a=!0}});
window.addEventListener("test",null,b)}catch(c){}return a}),DF=vc(function(){var a=!1;
try{var b=Object.defineProperty({},"capture",{get:function(){a=!0}});
window.addEventListener("test",null,b)}catch(c){}return a});g.t(g.PF,g.L);g.PF.prototype.X=function(a,b,c,d){c=(0,g.B)(c,d||this.A);a=g.EF(a,b,c);this.o.push(a);return a};
g.PF.prototype.di=function(a,b,c,d){c=(0,g.B)(c,d||this.A);a=OF(a,b,c);this.o.push(a);return a};
g.PF.prototype.Ia=function(a){g.FF(a);g.Sa(this.o,a)};
g.PF.prototype.Y=function(){g.QF(this);g.L.prototype.Y.call(this)};g.C(RF,g.L);RF.prototype.K=function(a){this.o=new g.pd(zF(a),AF(a))};
RF.prototype.F=function(){if(this.o){var a=g.tG();if(0!=this.C){var b=this.D,c=this.o,d=b.x-c.x;b=b.y-c.y;d=Math.sqrt(d*d+b*b)/(a-this.C);this.A[this.Gb]=.5<Math.abs((d-this.B)/this.B)?1:0;for(c=b=0;4>c;c++)b+=this.A[c]||0;3<=b&&this.H();this.B=d}this.C=a;this.D=this.o;this.Gb=(this.Gb+1)%4}};
RF.prototype.Y=function(){window.clearInterval(this.J);g.FF(this.G)};g.t(g.SF,g.L);g.SF.prototype.R=function(a,b,c,d,e){c=hE((0,g.B)(c,d||this.Kb));c={target:a,name:b,Zl:c};var f;e&&yxa()&&(f={passive:!0});a.addEventListener(b,c.Zl,f);this.ag.push(c);return c};
g.SF.prototype.Ia=function(a){for(var b=0;b<this.ag.length;b++)if(this.ag[b]==a){this.ag.splice(b,1);a.target.removeEventListener(a.name,a.Zl);break}};
g.SF.prototype.Y=function(){g.UF(this);g.L.prototype.Y.call(this)};g.C(g.VF,g.L);g.VF.prototype.subscribe=function(a,b,c){return this.la()?0:this.oa.subscribe(a,b,c)};
g.VF.prototype.unsubscribe=function(a,b,c){return this.la()?!1:this.oa.unsubscribe(a,b,c)};
g.VF.prototype.ce=function(a){return this.la()?!1:this.oa.ce(a)};
g.VF.prototype.V=function(a,b){return this.la()?!1:this.oa.V.apply(this.oa,arguments)};g.t(g.XF,g.VF);g.h=g.XF.prototype;g.h.cancel=function(){this.C&&(this.C=!1,this.V("dragend",0,0,null));this.A&&(this.A=!1,this.V("hoverend",0,0,null),g.UF(this.o),WF(this))};
g.h.yC=function(a){g.UF(this.o);YF(this,ZF("move"),this.wC);YF(this,ZF("out"),this.xC);YF(this,"touchstart",this.tv);this.B&&YF(this,ZF("down"),this.rv);var b=g.GF(a);a=JF(a);this.A=!0;this.V("hoverstart",a.x,a.y,b);this.V("hovermove",a.x,a.y,b)};
g.h.wC=function(a){var b=g.GF(a);a=JF(a);if(this.D){var c=this.D;this.D=null;if(IF(c)==b&&qd(JF(c),a))return}this.V("hovermove",a.x,a.y,b)};
g.h.xC=function(a){var b=JF(a),c=IF(a);c&&g.ae(this.F,c)?(this.D=a,this.V("hovermove",b.x,b.y,c)):(g.UF(this.o),WF(this),this.A=!1,this.V("hoverend",b.x,b.y,c))};
g.h.DR=function(a){this.yC(a);this.rv(a)};
g.h.rv=function(a){if(!g.ta(a.button)||0==a.button){g.UF(this.o);this.o.R(window.document,ZF("move"),this.CR);this.o.R(window.document,ZF("up"),this.TN);var b=g.GF(a);if(g.Jd)YF(this,"dragstart",this.QK);else if(g.KF(a),(g.RH||g.zh)&&b)a:{for(var c=b;c;){if(g.ge(c)||"-1"===c.getAttribute("tabindex")){c.focus();break a}c=c.parentElement}window.document.activeElement.blur()}this.C=!0;a=JF(a);this.V("dragstart",a.x,a.y,b);this.V("dragmove",a.x,a.y,b)}};
g.h.QK=function(a){g.KF(a)};
g.h.CR=function(a){var b=g.GF(a);b==window.document&&(b=null);a=JF(a);this.V("hovermove",a.x,a.y,b);this.V("dragmove",a.x,a.y,b)};
g.h.TN=function(a){g.UF(this.o);this.C=!1;var b=HF(a),c=g.GF(a);a=JF(a);b&&g.ae(this.F,b)?(YF(this,ZF("move"),this.wC),YF(this,ZF("out"),this.xC),YF(this,ZF("down"),this.rv),YF(this,"touchstart",this.tv),this.V("dragend",a.x,a.y,c)):(WF(this),this.A=!1,this.V("dragend",a.x,a.y,c),this.V("hoverend",a.x,a.y,c))};
g.h.tv=function(a){var b=a.changedTouches[0];b&&(g.UF(this.o),YF(this,"touchmove",this.UN),YF(this,"touchend",this.zC),YF(this,"touchcancel",this.zC),this.G=b.identifier,a=g.GF(a),this.A||(this.A=!0,this.V("hoverstart",b.pageX,b.pageY,a)),this.V("hovermove",b.pageX,b.pageY,a),this.B&&(this.C=!0,this.V("dragstart",b.pageX,b.pageY,a),this.V("dragmove",b.pageX,b.pageY,a)))};
g.h.UN=function(a){var b=$F(this,a);b&&(this.B&&g.KF(a),a=g.GF(a),this.V("hovermove",b.pageX,b.pageY,a),this.B&&this.V("dragmove",b.pageX,b.pageY,a))};
g.h.zC=function(a){var b=$F(this,a);if(b){g.UF(this.o);WF(this);this.A=!1;var c=g.GF(a);this.B&&(this.H||g.KF(a),this.C=!1,this.V("dragend",b.pageX,b.pageY,c));this.V("hoverend",b.pageX,b.pageY,c)}};
g.h.Y=function(){this.B&&(g.Jd&&this.F.removeAttribute("draggable"),this.F.style.touchAction="");g.UF(this.o);g.VF.prototype.Y.call(this)};var Sja={enablejsapi:1},Tja={};aG.prototype.clone=function(){var a=new aG,b;for(b in this)if(this.hasOwnProperty(b)){var c=this[b];"object"==wa(c)?a[b]=g.cc(c):a[b]=c}return a};var dH={},cH=0;var zxa=g.y("ytPubsubPubsubInstance")||new g.tD;g.tD.prototype.subscribe=g.tD.prototype.subscribe;g.tD.prototype.unsubscribeByKey=g.tD.prototype.ce;g.tD.prototype.publish=g.tD.prototype.V;g.tD.prototype.clear=g.tD.prototype.clear;g.ua("ytPubsubPubsubInstance",zxa,void 0);g.cG=g.y("ytPubsubPubsubSubscribedKeys")||{};g.ua("ytPubsubPubsubSubscribedKeys",g.cG,void 0);g.eG=g.y("ytPubsubPubsubTopicToKeys")||{};g.ua("ytPubsubPubsubTopicToKeys",g.eG,void 0);var dG=g.y("ytPubsubPubsubIsSynchronous")||{};
g.ua("ytPubsubPubsubIsSynchronous",dG,void 0);var Xja=Math.pow(2,16)-1,vG=null,wG=0,Wja={log_event:"events",log_interaction:"interactions"},Axa=Object.create(null);Axa.log_event="GENERIC_EVENT_LOGGING";Axa.log_interaction="INTERACTION_LOGGING";var Yja=new window.Set(["log_event"]),mG={},qG=0,rG=g.y("ytLoggingTransportLogPayloadsQueue_")||{};g.ua("ytLoggingTransportLogPayloadsQueue_",rG,void 0);var kG=g.y("ytLoggingTransportTokensToCttTargetIds_")||{};g.ua("ytLoggingTransportTokensToCttTargetIds_",kG,void 0);
var sG=g.y("ytLoggingTransportDispatchedStats_")||{};g.ua("ytLoggingTransportDispatchedStats_",sG,void 0);g.ua("ytytLoggingTransportCapturedTime_",g.y("ytLoggingTransportCapturedTime_")||{},void 0);g.t(AG,$ja);AG.prototype.start=function(){var a=g.y("yt.scheduler.instance.start");a&&a()};
AG.prototype.pause=function(){var a=g.y("yt.scheduler.instance.pause");a&&a()};
g.va(AG);AG.getInstance();var HG={};OG.prototype.set=function(a,b,c,d){c=c||31104E3;this.remove(a);if(this.o)try{this.o.set(a,b,(0,g.H)()+1E3*c);return}catch(f){}var e="";if(d)try{e=(0,window.escape)(g.Hg(b))}catch(f){return}else e=(0,window.escape)(b);g.MG(a,e,c,this.A)};
OG.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=LG.get(""+a,void 0))&&(c=(0,window.unescape)(c),b))try{c=JSON.parse(c)}catch(e){this.remove(a),c=void 0}return c};
OG.prototype.remove=function(a){this.o&&this.o.remove(a);g.NG(a,"/",this.A)};new OG;var bka=1;var aH=g.y("ytLoggingLatencyUsageStats_")||{};g.ua("ytLoggingLatencyUsageStats_",aH,void 0);var bH=0;var eH=(0,g.H)().toString();var nH=g.y("ytLoggingTimeDocumentNonce_")||gH();g.ua("ytLoggingTimeDocumentNonce_",nH,void 0);g.ua("yt.logging.screen.getRootVeType",kH,void 0);g.ua("yt.logging.screen.getCurrentCsn",g.mH,void 0);g.ua("yt.logging.screen.setCurrentScreen",oH,void 0);var qH;g.pH=vc(function(){var a=new DD;return a.isAvailable()?new g.AD(a):null});
qH=vc(function(){var a=new ED;return a.isAvailable()?new g.AD(a):null});var vH=window.yt&&window.yt.msgs_||window.ytcfg&&window.ytcfg.msgs||{};g.ua("yt.msgs_",vH,void 0);var cma={P_:1,p0:2,PAUSED:3};var p_=16/9,Bxa=[.25,.5,.75,1,1.25,1.5,2],Cxa=Bxa.concat([3,4,5,6,7,8,9,10,15]);var Z0={},Dxa=(Z0["api.invalidparam"]=2,Z0.auth=150,Z0["drm.auth"]=150,Z0["heartbeat.net"]=150,Z0["heartbeat.servererror"]=150,Z0["heartbeat.stop"]=150,Z0["html5.unsupportedads"]=5,Z0["fmt.noneavailable"]=5,Z0["fmt.decode"]=5,Z0["fmt.unplayable"]=5,Z0["html5.missingapi"]=5,Z0["html5.unsupportedlive"]=5,Z0["drm.unavailable"]=5,Z0);var zka={DZ:"auto",L4:"tiny",H1:"light",j4:"small",oJ:"medium",D1:"large",T0:"hd720",P0:"hd1080",Q0:"hd1440",R0:"hd2160",S0:"hd2880",Z0:"highres",UNKNOWN:"unknown"};var hka=/^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\/)/,fka=/^http:\/\/0\.[a-z0-9\-_]+\.[a-z0-9\-_]+\.l2gfe\.[a-z0-9_]+\.([a-z]{2}|i)\.borg\.google\.com(:[0-9]+)?\/|^https?:\/\/((?:uytfe\.corp|dev-uytfe\.corp|uytfe\.sandbox)\.google\.com\/|([-\w]*www[-\w]*\.|[-\w]*web[-\w]*\.|[-\w]*canary[-\w]*\.|[-\w]*dev[-\w]*\.|[-\w]{1,3}\.)+youtube(education|-nocookie|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\/[^/\\%]+\/|)|[A-Za-z0-9]+(-v6)?\.prod\.google\.com(:[0-9]+)?\/|m?web-ppg\.corp\.google\.com\/|play\.google\.com\/)/,
ika=/^https?:\/\/(www\.google\.com\/pagead\/sul|www\.google\.com\/pagead\/xsul|www\.youtube\.com\/pagead\/psul|www\.youtube\.com\/pagead\/slav|www\.youtube\.com\/pagead\/sul)/,mka=/^https?:\/\/(([A-Za-z0-9-]{1,63}\.)*(corp\.google\.com|c\.googlers\.com|docs\.google\.com|drive\.google\.com|prod\.google\.com|plus\.google\.com|mail\.google\.com|youtube\.com|youtube\-nocookie\.com|youtubeeducation\.com|youtubekids\.com)(:[0-9]+)?\/|([A-Za-z0-9-]{1,63}\.)*(sandbox\.google\.com)(:[0-9]+)?\/(?!url\b))/,
upa=/^https?:\/\/(([A-Za-z0-9-]{1,63}\.)*(corp\.google\.com|c\.googlers\.com|borg\.google\.com|prod\.google\.com|youtube\.com)(:[0-9]+)?\/|([A-Za-z0-9-]{1,63}\.)*(sandbox\.google\.com)(:[0-9]+)?\/(?!url\b))/,kka=/^((http(s)?):)?\/\/((((lh[3-6](-tt|-d[a-g,z])?\.((ggpht)|(googleusercontent)|(google)))|(([1-4]\.bp\.blogspot)|(bp[0-3]\.blogger))|((((cp|ci|gp)[3-6])|(ap[1-2]))\.(ggpht|googleusercontent))|(gm[1-4]\.ggpht)|(((yt[3-4])|(sp[1-3]))\.(ggpht|googleusercontent)))\.com)|(dp[3-6]\.googleusercontent\.cn)|(dp4\.googleusercontent\.com)|(photos\-image\-(dev|qa)(-auth)?\.corp\.google\.com)|((dev|dev2|dev3|qa|qa2|qa3|qa-red|qa-blue|canary)[-.]lighthouse\.sandbox\.google\.com\/image)|(image\-(dev|qa)\-lighthouse(-auth)?\.sandbox\.google\.com(\/image)?))\/|^https?:\/\/(([A-Za-z0-9-]{1,63}\.)*(corp\.google\.com|c\.googlers\.com|borg\.google\.com|docs\.google\.com|drive\.google\.com|googleplex\.com|play\.google\.com|prod\.google\.com|plus\.google\.com|video\.google\.com|youtube\.com|ytimg\.com|chat\.google\.com)(:[0-9]+)?\/|([A-Za-z0-9-]{1,63}\.)*(sandbox\.google\.com)(:[0-9]+)?\/(?!url\b)|s2\.googleusercontent\.com\/s2\/favicons\?|yt[3-4]\.ggpht\.com\/)/,
gka=/^https?.*#ocr$|^https?:\/\/(aksecure\.imrworldwide\.com\/|cdn\.imrworldwide\.com\/|secure\-..\.imrworldwide\.com\/)/,lka=/^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)/,jka=/^((http(s)?):)?\/\/((((lh[3-6](-tt|-d[a-g,z])?\.((ggpht)|(googleusercontent)|(google)))|(([1-4]\.bp\.blogspot)|(bp[0-3]\.blogger))|((((cp|ci|gp)[3-6])|(ap[1-2]))\.(ggpht|googleusercontent))|(gm[1-4]\.ggpht)|(((yt[3-4])|(sp[1-3]))\.(ggpht|googleusercontent)))\.com)|(dp[3-6]\.googleusercontent\.cn)|(dp4\.googleusercontent\.com)|(photos\-image\-(dev|qa)(-auth)?\.corp\.google\.com)|((dev|dev2|dev3|qa|qa2|qa3|qa-red|qa-blue|canary)[-.]lighthouse\.sandbox\.google\.com\/image)|(image\-(dev|qa)\-lighthouse(-auth)?\.sandbox\.google\.com(\/image)?))\/|^https?:\/\/(([A-Za-z0-9-]{1,63}\.)*(corp\.google\.com|c\.googlers\.com|borg\.google\.com|docs\.google\.com|drive\.google\.com|googleplex\.com|googlevideo\.com|play\.google\.com|prod\.google\.com|c\.lh3\.googleusercontent\.com|plus\.google\.com|mail\.google\.com|youtube\.com|xfx7\.com|yt\.akamaized\.net|chat\.google\.com)(:[0-9]+)?\/|([A-Za-z0-9-]{1,63}\.)*(sandbox\.google\.com)(:[0-9]+)?\/(?!url\b))/,
tla=/^https?:\/\/(([A-Za-z0-9-]{1,63}\.)*(imasdk\.googleapis\.com|2mdn\.net|googlesyndication\.com|corp\.google\.com|c\.googlers\.com|borg\.google\.com|googleads\.g\.doubleclick\.net|prod\.google\.com|static\.doubleclick\.net|static\.googleadsserving\.cn|studioapi\.doubleclick\.net|youtube\.com|youtube\.googleapis\.com|youtube\-nocookie\.com|youtubeeducation\.com|youtubekids\.com|ytimg\.com)(:[0-9]+)?\/|lightbox-(demos|builder)\.appspot\.com\/|s[01](qa)?\.2mdn\.net\/ads\/richmedia\/studio\/mu\/templates\/tetris|www\.gstatic\.com\/doubleclick\/studio\/innovation\/h5\/layouts\/tetris|www\.gstatic\.com\/doubleclick\/studio\/innovation\/ytplayer)/,
sla=/^https?:\/\/(([A-Za-z0-9-]{1,63}\.)*(imasdk\.googleapis\.com|corp\.google\.com|c\.googlers\.com|borg\.google\.com|docs\.google\.com|drive\.google\.com|googleads\.g\.doubleclick\.net|googleplex\.com|play\.google\.com|prod\.google\.com|photos\.google\.com|get\.google\.com|class\.photos\.google\.com|plus\.google\.com|books\.googleusercontent\.com|blogger\.com|mail\.google\.com|play\-books\-internal\-sandbox\.googleusercontent\.com|talkgadget\.google\.com|survey\.g\.doubleclick\.net|youtube\.com|youtube\.googleapis\.com|youtube\-nocookie\.com|youtubekids\.com|vevo\.com|jamboard\.google\.com|chat\.google\.com|meet\.google\.com)(:[0-9]+)?\/|([A-Za-z0-9-]{1,63}\.)*(sandbox\.google\.com)(:[0-9]+)?\/(?!url\b)|(www\.|encrypted\.)?google\.(cat|com(\.(a[fgiru]|b[dhnorz]|c[ouy]|do|e[cgt]|fj|g[hit]|hk|jm|kh|kw|l[bcy]|m[mtxy]|n[afgip]|om|p[aeghkry]|qa|s[abglv]|t[jnrw]|ua|uy|vc|vn))?|a[cdelmstz]|c[acdfghilmnvz]|b[aefgijsty]|ee|es|d[ejkmz]|g[aefglmpry]|f[imr]|i[emoqrst]|h[nrtu]|k[giz]|je|jo|m[degklnsuvw]|l[aiktuv]|n[eloru]|p[lnst]|s[cehikmnort]|r[osuw]|us|t[dgklmnot]|ws|vg|vu|co\.(ao|bw|ck|cr|i[dln]|jp|ke|kr|ls|ma|mz|nz|th|tz|u[gkz]|ve|vi|z[amw]))\/(search|webhp)\?|lightbox-(demos|builder)\.appspot\.com\/|s0\.2mdn\.net\/instream\/html5\/native\/|s[01](qa)?\.2mdn\.net\/ads\/richmedia\/studio\/mu\/templates\/tetris|www\.gstatic\.com\/doubleclick\/studio\/innovation\/h5\/layouts\/tetris)/,
Exa=/^(https\:\/\/googleads\.g\.doubleclick\.net|https\:\/\/play\.google\.com|https\:\/\/photos\.google\.com|https\:\/\/get\.google\.com|https\:\/\/class\.photos\.google\.com|https\:\/\/plus\.google\.com|https\:\/\/mail\.google\.com|https\:\/\/talkgadget\.google\.com|https\:\/\/jamboard\.google\.com|https\:\/\/chat\.google\.com)$|^http:\/\/0\.[a-z0-9\-_]+\.[a-z0-9\-_]+\.[a-z0-9\-_]+\.([a-z]{2}|i)\.borg\.google\.com(:[0-9]+)?$|^http:\/\/[A-Za-z0-9]+(-v6)?\.prod\.google\.com(:[0-9]+)?$|^https:\/\/((staging|stream|today)\.)?meet\.google\.com$|^https:\/\/([A-Za-z0-9-]{1,63}\.)*youtube\.com$|^https:\/\/([A-Za-z0-9-]{1,63}\.)+sandbox\.google\.com$|^https:\/\/(books|play-books-internal-sandbox)\.googleusercontent\.com$|^https:\/\/(draft|www|(www\.)?daily\.alpha|(www\.)?weekly\.alpha|(www\.)?dev\.sandbox|(www\.)?autopush\.sandbox|(www\.)?restore\.sandbox)\.blogger\.com$|^https?:\/\/(((docs|m|sing|ss|sss|www)\.)?drive\.google\.com$|([A-Za-z0-9-]{1,63}\.)*corp\.google\.com(:[0-9]+)?$|([A-Za-z0-9-]{1,63}\.)*googleplex\.com(:[0-9]+)?$|(www\.|encrypted\.)google\.(cat|com(\.(a[fgiru]|b[dhnorz]|c[ouy]|do|e[cgt]|fj|g[hit]|hk|jm|kh|kw|l[bcy]|m[mtxy]|n[afgip]|om|p[aeghkry]|qa|s[abglv]|t[jnrw]|ua|uy|vc|vn))?|a[cdelmstz]|c[acdfghilmnvz]|b[aefgijsty]|ee|es|d[ejkmz]|g[aefglmpry]|f[imr]|i[emoqrst]|h[nrtu]|k[giz]|je|jo|m[degklnsuvw]|l[aiktuv]|n[eloru]|p[lnst]|s[cehikmnort]|r[osuw]|us|t[dgklmnot]|ws|vg|vu|co\.(ao|bw|ck|cr|i[dln]|jp|ke|kr|ls|ma|mz|nz|th|tz|u[gkz]|ve|vi|z[amw]))$|docs\.google\.com$|imasdk\.googleapis\.com$|lightbox-(demos|builder)\.appspot\.com$|s[01](qa)?\.2mdn\.net$|survey\.g\.doubleclick\.net$|www\.gstatic\.com$)/;var nka=1;g.t(g.QH,g.L);g.QH.prototype.ya=function(a,b){g.ta(b)?Td(a,this.element,b):a.appendChild(this.element)};
g.QH.prototype.update=function(a){for(var b in a)this.updateValue(b,a[b])};
g.QH.prototype.updateValue=function(a,b){var c=this.La["{{"+a+"}}"];c&&TH(this,c[0],c[1],b)};
g.QH.prototype.Y=function(){this.o={};this.La={};g.UH(this);g.L.prototype.Y.call(this)};g.t(g.V,g.QH);g.h=g.V.prototype;g.h.Nb=function(a,b){this.updateValue(b||"content",a)};
g.h.show=function(){this.A||(this.element.style.display=this.td,this.A=!0)};
g.h.hide=function(){this.A&&(this.element.style.display="none",this.A=!1)};
g.h.X=function(a,b,c){return this.R(this.element,a,b,c)};
g.h.R=function(a,b,c,d){c=(0,g.B)(c,d||this);d={target:a,type:b,listener:c};this.ca.push(d);a.addEventListener(b,c);return d};
g.h.Ia=function(a){for(var b=0;b<this.ca.length;b++)if(this.ca[b]==a){a=this.ca.splice(b,1)[0];a.target.removeEventListener(a.type,a.listener);break}};
g.h.focus=function(){g.ge(this.element);this.element.focus()};
g.h.Y=function(){for(;this.ca.length;){var a=this.ca.pop();a.target.removeEventListener(a.type,a.listener)}g.QH.prototype.Y.call(this)};g.t(g.WH,g.V);g.WH.prototype.subscribe=function(a,b,c){return this.ba.subscribe(a,b,c)};
g.WH.prototype.unsubscribe=function(a,b,c){return this.ba.unsubscribe(a,b,c)};
g.WH.prototype.ce=function(a){return this.ba.ce(a)};
g.WH.prototype.V=function(a,b){for(var c=[],d=1;d<arguments.length;++d)c[d-1]=arguments[d];return this.ba.V.apply(this.ba,[a].concat(g.fa(c)))};g.t(g.YH,g.WH);g.YH.prototype.updateValue=function(a,b){g.WH.prototype.updateValue.call(this,a,b);this.V("size-change")};g.t(bI,g.L);g.h=bI.prototype;
g.h.dP=function(a,b,c){var d=this.J[a];if(!(d||!(d=this.K[a])||c&&Exa.test(c)))throw Error('API call from an untrusted origin: "'+c+'"');var e=this.app.o;e.Ei&&!this.L.has(a)&&(this.L.add(a),eI(this,"webPlayerApiCalled",{callerUrl:e.loaderUrl,methodName:a,origin:c||void 0,playerStyle:e.playerStyle||void 0}));if(d){if(!this.app.o.experiments.o("player_injection_reporting_killswitch")){c=!1;e=g.q(b);for(var f=e.next();!f.done;f=e.next())if(String(f.value).includes("javascript:")){c=!0;break}c&&g.iE(Error('Dangerous call to "'+
a+'" with ['+b+"]."))}return d.apply(this,b)}throw Error('Unknown API method: "'+a+'".');};
g.h.WO=function(){return this.G.slice()};
g.h.XO=function(){return g.Qb(this.C)};
g.h.na=function(){return this.B};
g.h.addEventListener=function(a,b){if(g.w(b)){var c=function(){g.y(b).apply(window,arguments)};
this.F[b]=c}else c=b;this.app.ha.subscribe(a,c)};
g.h.YK=function(a,b){var c=this,d=g.w(b)?a+b:a+g.Ca(b);if(!this.D[d]){var e;g.w(b)?e=function(){g.y(b).apply(window,arguments)}:e=b;
var f=function(a){e({target:c.A,data:a})};
this.D[d]=f;this.app.ha.subscribe(a,f)}};
g.h.removeEventListener=function(a,b){if(g.w(b)){var c=this.F[b];$b(this.F,b);b=c}this.app.ha.unsubscribe(a,b)};
g.h.ZK=function(a,b){var c=g.w(b)?a+b:a+g.Ca(b),d=this.D[c];d&&(this.app.ha.unsubscribe(a,d),$b(this.D,c))};
g.h.ji=function(){return Q_(this.app)};
g.h.kc=function(a,b,c){this.o&&W_(this.app,!0,this.playerType);f0(this.app,a,b,c,this.playerType)};
g.h.getCurrentTime=function(){return this.app.getCurrentTime(this.playerType)};
g.h.YO=function(){var a=ewa(this.app,this.playerType);return(0,window.isNaN)(a)?this.getCurrentTime():a};
g.h.getDuration=function(){return this.app.getDuration(this.playerType)};
g.h.getVolume=function(){return this.app.O.volume};
g.h.setVolume=function(a){gI(this,a)};
g.h.isMuted=function(){return this.app.O.muted};
g.h.mute=function(){hI(this)};
g.h.sg=function(){iI(this)};
g.h.bd=function(){this.o&&W_(this.app,!0,this.playerType);var a=iU(this.app);2!=a||uX(this.app)?3==a?g.WT(this.app.D).Dn("control_play"):pX(this.app,a):(a=this.app.D.Kc)&&a.V("control_play")};
g.h.od=function(){var a=iU(this.app);2!=a||uX(this.app)?3==a?g.WT(this.app.D).Dn("control_pause"):rX(this.app,a):(a=this.app.D.Kc)&&a.V("control_pause")};
g.h.Hd=function(){var a=this.app;a.o.ha&&(a.A.isFullscreen()&&!a.o.experiments.o("player_external_control_on_classic_desktop")&&a.A.re(),a.A.V("pageTransition"));qwa(a)};
g.h.TO=function(){};
g.h.Pc=function(){return g.Y(this.app,1).xa};
g.h.jf=function(a){N_(this.app,a)};
g.h.Wk=function(){var a=this.app.o;if(a.sa){var b=a.wc[0];a="https://web.archive.org/web/20181027110332/https://admin.youtube.com/"!=b&&"https://viacon.corp.google.com"!=b||!a.experiments.o("web_player_admin_faster_playback_speeds")?Bxa:Cxa}else a=[1];return a};
g.h.wn=function(){var a=g.Y(this.app,this.playerType);if(a){var b="unknown";a.o.Ga&&(b=a.o.Ga.video.quality,"auto"==b&&a.A&&(a=$S(a))&&0<a.videoHeight&&(b=rI(a.videoWidth,a.videoHeight)))}else b="unknown";return b};
g.h.xq=function(){};
g.h.Hv=function(){var a=g.Y(this.app,this.playerType);return a?(a=(0,g.I)(yqa(a),function(a){return a.quality}),a.length&&("auto"==a[0]&&a.shift(),a=a.concat(["auto"])),a):[]};
g.h.aP=function(){return this.Jv()};
g.h.bP=function(){return 1};
g.h.Jv=function(){return awa(this.app)};
g.h.cP=function(){return 0};
g.h.setSize=function(){this.app.H.Ef()};
g.h.WC=function(a){this.Kv(a?2:1)};
g.h.Kv=function(a){rwa(this.app,a)};
g.h.RO=function(){this.za("SUBSCRIBE")};
g.h.SO=function(){this.za("UNSUBSCRIBE")};
g.h.Xk=function(a){"captions"==a&&(a=this.app.D.dc)&&!a.loaded&&a.load()};
g.h.yn=function(a){"captions"==a&&(a=this.app.D.dc)&&a.loaded&&a.PX()};
g.h.hP=function(a,b,c){a=U_(this.app,BH(a,b,c),this.playerType);this.o&&W_(this.app,a,this.playerType)};
g.h.QC=function(a,b,c){Y_(this.app,BH(a,b,c),this.playerType)};
g.h.iP=function(a,b,c){a=CH(a,b,c);a=U_(this.app,a,this.playerType);this.o&&W_(this.app,a,this.playerType)};
g.h.VO=function(a,b,c){a=CH(a,b,c);Y_(this.app,a,this.playerType)};
g.h.getVideoUrl=function(){var a=this.app.o;if(a.G)return"";var b=kX(this.app),c=void 0;b.Ma||(c=Math.floor(this.app.getCurrentTime(1)));return a.getVideoUrl(b.videoId,this.getPlaylistId()||void 0,c)};
g.h.vn=function(){return P_(this.app)};
g.h.TC=function(){var a=this.app.o;if(a.G)var b="";else{var c=kX(this.app).videoId;b=this.app.H.Ua();var d=this.getPlaylistId()||void 0;c="https://"+lN(a)+"/embed/"+c;d&&(c=g.Zg(c,{list:d}));d=!a.experiments.o("enable_responsive_embed_snippet");a.experiments.o("embed_snippet_includes_version")&&(c=g.Zg(c,{ecver:d?"1":"2"}));a=b.width;b=b.height;d?(d=g.ob(c),b='<iframe width="'+a+'" height="'+b+'" src="'+d+'" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>'):(d=Math.round(360*
a/b),b='<div style="position:relative;height:0;padding-bottom:'+Math.round(1E4*b/a)/100+'%"><iframe src="'+g.ob(c)+'" style="position:absolute;width:100%;height:100%;left:0" width="'+d+'" height="360" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe></div>')}return b};
g.h.PC=function(a,b,c){return nwa(this.app,a,b,c)};
g.h.VC=function(a){a:{for(var b=this.app,c=TR(b.C.H)||[],d=0;d<c.length;d++){var e=c[d];if(e.getId()==a){b.C.H.C(e);jU(b,"cuerangesremoved",[e]);a=!0;break a}}a=!1}return a};
g.h.gP=function(a,b,c,d){var e=this.app;e.pa=!1;Z_(e,a,b,c,d);this.o&&W_(this.app,!0,this.playerType)};
g.h.UO=function(a,b,c,d){var e=this.app;e.pa=!0;Z_(e,a,b,c,d)};
g.h.Yk=function(){E_(this.app);this.o&&W_(this.app,!0,this.playerType)};
g.h.xn=function(){lwa(this.app);this.o&&W_(this.app,!0,this.playerType)};
g.h.UC=function(a){var b=this.app;!b.ca||b.A.isFullscreen()&&!b.Ba?b.G&&(b.G.ad?a_(b,b.G.ab(a),1):b.pa=!1,tQ(b.G,a)):b.A.za("onPlaylistIndex",a);this.o&&W_(this.app,!0,this.playerType)};
g.h.setShuffle=function(a){var b=this.app.G;b&&b.setShuffle(a)};
g.h.kP=function(a){var b=this.app.G;b&&(b.loop=a)};
g.h.rg=function(){var a=this.app.G;if(!a)return null;for(var b=[],c=0;c<a.getLength();c++){var d=a.ab(c);d&&b.push(d.videoId)}return b};
g.h.SC=function(){var a=this.app.G;return a?a.Be():-1};
g.h.getPlaylistId=function(){var a=this.app.G;return a&&a.listId?a.listId.toString():null};
g.h.Xd=function(a,b,c){if(!b)return null;var d=this.app.D;return"captions"==a?(a=d.dc)&&a.Av(b,c):null};
g.h.Fc=function(a,b,c){return this.Xd(a,b,c)};
g.h.vj=function(a){var b=this.app.D;return"captions"==a?(b=b.dc)&&b.yO():a?null:(a=[],b.dc&&a.push("captions"),a)};
g.h.getVideoData=function(){var a={},b=g.Y(this.app,this.playerType);if(b&&(b=b.getVideoData(),a.video_id=b.videoId,a.author=b.author,a.title=b.title,b.Ga&&b.Ga.video)){a.video_quality=b.Ga.video.quality;b=b.Ga.video;var c=[];32<b.fps&&c.push("hfr");vI(b)&&c.push("hdr");"bt2020"==b.primaries&&c.push("wcg");a.video_quality_features=c}(b=this.getPlaylistId())&&(a.list=b);return a};
g.h.XC=function(){Xva(this.app,!0)};
g.h.eP=function(){Xva(this.app,!1)};
g.h.RC=function(){a:{var a=this.app;if(WZ(a,"web_player_mdx_ad_killswitch")||3!=iU(a)){if(!uX(a)&&(a=a.D.Kc)){a=a.Sv();break a}a=-1}else a=g.WT(a.D).G}return a};
g.h.fP=function(a){if(a!=this.app.va.args.video_id)return!1;var b=(a=(a=g.Y(this.app,1))?a.B:null)?a.o:null;return!!(a&&b&&g.W(a,128)&&5==Dxa[b.errorCode])};
g.h.ZO=function(){var a=this.app.va.clone();g.Ea(a.args,wma(kX(this.app)));return a};
g.h.lP=function(){this.app.o.W&&this.app.ka.resume()};
g.h.Iv=function(){var a=this.app.D.ee;return a?2==this.playerType?{}:a.IC():{}};
g.h.mP=function(a){var b=jI(this.app.D);if(b=b?b.gm:null)if(b=(b=b.VA())?b.J:null)b.F=a,b.B()};
g.h.Lv=function(a){if(a&&2!=this.playerType){var b=this.app.D.ee;b&&b.JC(a)}};
g.h.destroy=function(){this.app.dispose()};
g.h.jP=function(){var a=g.Y(this.app);a&&!g.W(a.B,128)&&(a.V("internalAbandon"),US(a),SS(a))};
g.h.V=function(a,b){for(var c=1;c<arguments.length;++c);this.app.o.Lb&&("videodatachange"==a||"audiotrackchanged"==a||"resize"==a||"cardstatechange"==a)&&this.app.ha.V.apply(this.app.ha,arguments);this.app.ga.V.apply(this.app.ga,arguments)};
g.h.za=function(a,b){this.app.ha.V.apply(this.app.ha,arguments);this.app.ga.V.apply(this.app.ga,arguments)};
g.h.Y=function(){if(this.B){for(var a in this.C)this.B[a]=null;this.B=null}this.D={};this.F={};g.L.prototype.Y.call(this)};lI.prototype.A=function(){return this.name};
lI.prototype.getId=function(){return this.id};
lI.prototype.o=function(){return this.isDefault};
lI.prototype.toString=function(){return this.name};
lI.prototype.getName=lI.prototype.A;lI.prototype.getId=lI.prototype.getId;lI.prototype.getIsDefault=lI.prototype.o;g.mI.prototype.toString=function(){return this.languageCode+"_"+this.languageName+"_"+this.o+"_"+this.id+"_"+this.isDefault};g.h=g.nI.prototype;g.h.getId=function(){return this.Ja};
g.h.Xa=function(){return this.J};
g.h.toString=function(){return this.A+": "+g.oI(this)+" - "+this.G};
g.h.Bv=ba(0);g.h.Wd=function(){return!(!this.A||this.o&&!this.o.languageCode)};pI.prototype.A=function(){return this.Mb};
pI.prototype.toString=function(){return this.Mb.name};
pI.prototype.getLanguageInfo=pI.prototype.A;var oJ={name:"width",video:!0,valid:640,Uh:99999},pJ={name:"height",video:!0,valid:360,Uh:99999},qJ={name:"framerate",video:!0,valid:30,Uh:9999},rJ={name:"bitrate",video:!0,valid:3E5,Uh:2E9},nJ={name:"eotf",video:!0,valid:"bt709",Uh:"catavision"},uJ={name:"channels",video:!1,valid:2,Uh:99},sJ={name:"cryptoblockformat",video:!0,valid:"subsample",Uh:"invalidformat"},tJ={name:"decode-to-texture",video:!0,valid:"false",Uh:"nope"},vJ={to:oJ,no:pJ,I0:qJ,ly:rJ,s0:nJ,k_:uJ,B_:sJ,J_:tJ};var pka={0:"f",160:"h",133:"h",134:"h",135:"h",136:"h",137:"h",264:"h",266:"h",138:"h",298:"h",299:"h",304:"h",305:"h",140:"a",141:"ah",327:"sa",258:"m",380:"mac3",328:"meac3",161:"H",142:"H",143:"H",144:"H",222:"H",223:"H",145:"H",224:"H",225:"H",146:"H",226:"H",227:"H",147:"H",384:"H",376:"H",385:"H",377:"H",149:"A",261:"M",381:"MAC3",329:"MEAC3",278:"9",242:"9",243:"9",244:"9",247:"9",248:"9",271:"9",313:"9",272:"9",302:"9",303:"9",308:"9",315:"9",330:"9h",331:"9h",332:"9h",333:"9h",334:"9h",335:"9h",
336:"9h",337:"9h",171:"v",338:"so",250:"o",251:"o",194:"*",195:"*",220:"*",221:"*",196:"*",197:"*",198:"V",279:"(",280:"(",317:"(",318:"(",273:"(",274:"(",357:"(",358:"(",275:"(",359:"(",360:"(",276:"(",314:"(",277:"(",362:"(h",363:"(h",364:"(h",365:"(h",366:"(h",367:"(h",368:"(h",394:"1",395:"1",396:"1",397:"1",398:"1",399:"1",400:"1",401:"1",402:"1",386:"3",387:"w",406:"6"};var $0;$0={};g.sI=($0.auto=0,$0.tiny=144,$0.light=144,$0.small=240,$0.medium=360,$0.large=480,$0.hd720=720,$0.hd1080=1080,$0.hd1440=1440,$0.hd2160=2160,$0.hd2880=2880,$0.highres=4320,$0);var wI="highres hd2880 hd2160 hd1440 hd1080 hd720 large medium small tiny".split(" ");yI.prototype.ab=function(){return this.video};GI.prototype.o=function(a){return"true"==this.flags[a]};
GI.prototype.A=function(a){return(0,window.parseFloat)(this.flags[a])||0};
GI.prototype.B=function(a){return(a=this.flags[a])?a.toString():""};g.h=PI.prototype;g.h.append=function(a){this.o.webkitSourceAppend(this.A,a)};
g.h.abort=function(){this.o.webkitSourceAbort(this.A)};
g.h.dY=function(){return this.o.webkitSourceState==this.o.SOURCE_CLOSED?new rka:this.o.webkitSourceBuffered(this.A)};
g.h.fY=function(){return this.B};
g.h.jY=function(a){this.B=a;this.o.webkitSourceTimestampOffset(this.A,a)};g.h=QI.prototype;g.h.addEventListener=function(a,b,c){this.o.addEventListener(a,b,c)};
g.h.removeEventListener=function(a,b,c){this.o.removeEventListener(a,b,c)};
g.h.GQ=function(){return this.o.webkitMediaSourceURL};
g.h.addSourceBuffer=function(a){var b=(this.B++).toString();this.o.webkitSourceAddId(b,a);a=new PI(this.o,b);this.sourceBuffers.push(a);return a};
g.h.removeSourceBuffer=function(a){for(var b=0;b<this.sourceBuffers.length;b++)if(a===this.sourceBuffers[b]){this.o.webkitSourceRemoveId(a.A);for(a=b+1;a<this.sourceBuffers.length;a++)this.sourceBuffers[a-1]=this.sourceBuffers[a];this.sourceBuffers.pop();break}};
g.h.gY=function(){switch(this.o.webkitSourceState){case this.o.SOURCE_CLOSED:return"closed";case this.o.SOURCE_OPEN:return"open";case this.o.SOURCE_ENDED:return"ended"}return""};
g.h.endOfStream=function(){this.o.webkitSourceEndOfStream(this.o.EOS_NO_ERROR)};
g.h.hY=function(){Oa(this.sourceBuffers)};
g.h.eY=function(){return this.A};
g.h.iY=function(a){this.A=a;this.o.webkitSourceSetDuration&&this.o.webkitSourceSetDuration(a)};RI.prototype.start=function(){return 0};
RI.prototype.end=function(){return window.Infinity};g.h=SI.prototype;g.h.addEventListener=function(){};
g.h.removeEventListener=function(){};
g.h.dispatchEvent=function(){return!1};
g.h.abort=function(){};
g.h.remove=function(){};
g.h.appendBuffer=function(){};g.h=$I.prototype;g.h.aw=function(a,b){this.A=!b;this.supports(0)?this.o.appendBuffer(a):this.o.append(a)};
g.h.abort=function(){this.A=!1;this.o.abort()};
g.h.remove=function(a,b){this.o.remove(a,b)};
g.h.mx=function(a){this.supports(1)&&(this.o.timestampOffset=a)};
g.h.Fq=function(){return this.supports(1)?this.o.timestampOffset:0};
g.h.uc=function(){try{return this.o.buffered}catch(a){return TI([],[])}};
g.h.nh=function(){return this.o.updating};
g.h.Gj=function(a){this.C=a};
g.h.Sg=function(){return this.C};
g.h.Gx=function(a,b){this.B&&this.B!=a&&(this.supports(4),this.o.changeType(b));this.B=a};
g.h.Yu=function(){return this.A};
g.h.bw=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.removeEventListener;case 4:return!!this.o.changeType;default:return!1}};
g.h.addEventListener=function(a,b){this.supports(3);this.o.addEventListener(a,b)};
g.h.removeEventListener=function(a,b){this.supports(3);this.o.removeEventListener(a,b)};
g.h.Xs=function(){return!this.nh()};g.h=aJ.prototype;g.h.aw=function(a,b){this.o.Fq()!=this.B+this.A&&(this.o.supports(1),this.o.mx(this.B+this.A),this.o.o.appendWindowEnd=this.C);this.o.aw(a,b)};
g.h.abort=function(){this.o.abort()};
g.h.remove=function(a,b){this.o.remove(a-this.A,b-this.A)};
g.h.mx=function(a){this.B=a};
g.h.Fq=function(){return this.B};
g.h.uc=function(){return ZI(this.o.uc(),this.A,this.C)};
g.h.nh=function(){return this.o.nh()};
g.h.Gj=function(a){this.o.Gj(a)};
g.h.Sg=function(){return this.o.Sg()};
g.h.Gx=function(a,b){return this.o.Gx(a,b)};
g.h.supports=function(a){return this.o.supports(a)};
g.h.addEventListener=function(a,b){this.o.addEventListener(a,b)};
g.h.removeEventListener=function(a,b){this.o.removeEventListener(a,b)};
g.h.Yu=function(){return this.o.Yu()};
g.h.bw=function(){return!0};
g.h.Xs=function(){return this.o.Xs()?!(this.o.Fq()!=this.B+this.A&&this.Yu()):!1};bJ.prototype.dispose=function(){if(!this.B){if(this.A)try{window.URL.revokeObjectURL(this.o)}catch(a){}this.B=!0}};
bJ.prototype.la=function(){return this.B};g.t(cJ,g.L);cJ.prototype.H=function(){!this.la()&&dJ(this)&&this.C&&(this.C(this),this.C=null)};
cJ.prototype.G=function(){this.dispose()};var Fxa={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},a1;a:{var b1=g.Fb;b1=b1.toLowerCase();if(-1!=b1.indexOf("android")){var Gxa=b1.match(/android\s*(\d+(\.\d+)?)[^;|)]*[;)]/);if(Gxa){var Hxa=(0,window.parseFloat)(Gxa[1]);if(100>Hxa){a1=Hxa;break a}}var Ixa=b1.match("("+g.Qb(Fxa).join("|")+")");a1=Ixa?Fxa[Ixa[0]]:0}else a1=void 0}var kJ=a1,XM=0<=kJ;var wka={'video/mp4; codecs="avc1.42001E, mp4a.40.2"':"maybe"},xka={"application/x-mpegURL":"maybe"},vka={"application/x-mpegURL":"maybe"};zJ.prototype.eg=function(){return this.Qg};
zJ.prototype.o=function(){return null};
zJ.prototype.C=function(){};
zJ.prototype.getHeight=function(){return this.Qg.ab().height};BJ.prototype.isLocked=function(){return this.B&&!!this.A&&this.A==this.o};
BJ.prototype.C=function(a){return a.video?IJ(this,a.video.quality):!1};
var Jxa=DJ("auto","hd1080",!1,"l"),Ipa=DJ("auto","large",!1,"l"),FJ=DJ("auto","auto",!1,"p");DJ("small","auto",!1,"p");g.h=g.KJ.prototype;g.h.dD=function(a){this.segments.push(a)};
g.h.getDuration=function(a){return(a=this.Jh(a))?a.duration:0};
g.h.Ut=function(a){return this.getDuration(a)};
g.h.xf=function(){return this.segments.length?this.segments[0].Aa:-1};
g.h.Qv=function(a){return(a=this.Jh(a))?a.ingestionTime:window.NaN};
g.h.Qb=function(){return this.segments.length?this.segments[this.segments.length-1].Aa:-1};
g.h.pk=function(){var a=this.segments[this.segments.length-1];return a?a.endTime:window.NaN};
g.h.bc=function(){return this.segments[0].startTime};
g.h.sk=function(){return this.segments.length};
g.h.Aq=function(){return 0};
g.h.Wg=function(a){return(a=this.Bm(a))?a.Aa:-1};
g.h.Yt=function(a){return(a=this.Jh(a))?a.sourceURL:""};
g.h.Yd=function(a){return(a=this.Jh(a))?a.startTime:0};
g.h.Hp=ba(2);g.h.Pb=function(){return 0<this.segments.length};
g.h.Jh=function(a){a=g.bb(this.segments,new JJ(a,0,0,0,""),function(a,c){return a.Aa-c.Aa});
return 0<=a?this.segments[a]:null};
g.h.Bm=function(a){a=g.bb(this.segments,{startTime:a},function(a,c){return a.startTime-c.startTime});
return 0<=a?this.segments[a]:this.segments[Math.max(0,-a-2)]};
g.h.append=function(a){if(0!=a.length)if(a=g.Va(a),0==this.segments.length)this.segments=a;else{var b=this.segments.length?g.Ga(this.segments).endTime:0,c=a[0].Aa-this.Qb();1<c&&Oa(this.segments);for(c=0<c?0:-c+1;c<a.length;c++){var d=a[c];d.startTime=b;d.endTime=d.startTime+d.duration;b+=a[c].duration;this.segments.push(a[c])}}};
g.h.RA=function(){return 0};MJ.prototype.skip=function(a){this.o+=a};TJ.prototype.cp=function(a,b,c){(new window.Uint8Array(this.data.buffer,this.o,c)).set(new window.Uint8Array(a.buffer,b+a.byteOffset,c));this.o+=c};var c1={},Kxa=(c1.predictStart="predictStart",c1.start="start",c1["continue"]="continue",c1.stop="stop",c1),foa={EVENT_PREDICT_START:"predictStart",EVENT_START:"start",EVENT_CONTINUE:"continue",EVENT_STOP:"stop"};var sR=!1;var dL=!1;g.rK.prototype.toString=function(){return this.start+"-"+(null==this.end?"":this.end)};WK.prototype.verify=function(){if(this.info.gb!=this.range.length)return!1;if(1==this.info.o.info.containerType){if(8>this.info.gb||4==this.info.type)return!0;var a=XK(this),b=a.getUint32(0,!1);a=a.getUint32(4,!1);if(2==this.info.type)return b==this.info.gb&&1936286840==a;if(3==this.info.type&&0==this.info.A)return 1836019558==a||1936286840==a||1937013104==a||1718909296==a||1701671783==a||1936419184==a}else if(2==this.info.o.info.containerType){if(4>this.info.gb||4==this.info.type)return!0;b=XK(this).getUint32(0,
!1);if(3==this.info.type&&0==this.info.A)return 524531317==b||440786851==b}return!0};var hL={eM:function(a){a.reverse()},
Tg:function(a,b){a.splice(0,b)},
wx:function(a,b){var c=a[0];a[0]=a[b%a.length];a[b%a.length]=c}};g.jL.prototype.set=function(a,b){this.o[a]!==b&&(this.o[a]=b,this.B="")};
g.jL.prototype.get=function(a){kL(this);return this.o[a]||null};
g.jL.prototype.Xa=function(){this.B||(this.B=Jka(this));return this.B};
g.jL.prototype.clone=function(){var a=new g.jL(this.C);a.F=this.F;a.A=this.A;a.D=this.D;a.o=g.cc(this.o);a.B=this.B;return a};
var nL=!1;sL.prototype.set=function(a,b){this.o.get(a);this.A[a]=b;this.B=""};
sL.prototype.get=function(a){return this.A[a]||this.o.get(a)};
sL.prototype.Xa=function(){this.B||(this.B=Lka(this));return this.B};g.h=FL.prototype;g.h.Vf=function(){};
g.h.Ik=function(){};
g.h.Wu=function(){return!1};
g.h.Uc=function(){return!!this.o&&this.index.Pb()};
g.h.kh=function(){};
g.h.BC=function(){return!1};
g.h.rk=function(){};
g.h.rj=function(){};
g.h.Rk=function(){};
g.h.Vg=function(){};
g.h.Op=function(){};
g.h.CC=function(a){return[a]};
g.h.mr=function(a){return[a]};
g.h.Pq=function(){};
g.h.Ep=function(){};g.t(HL,FL);g.h=HL.prototype;g.h.Vf=function(){return!1};
g.h.Ik=function(){return!1};
g.h.BC=function(){return this.A};
g.h.rk=function(){if(this.A)return[];var a=new vK(1,this,this.initRange);return[new zL([a],this.N)]};
g.h.rj=function(){return null};
g.h.Rk=function(a){this.kh(a);return this.Cn(a.B?a.Aa+1:a.Aa,!1)};
g.h.Vg=function(a,b){b=void 0===b?!1:b;var c=this.index.Wg(a);b&&(c=Math.min(this.index.Qb(),c+1));return this.Cn(c,!0)};
g.h.Op=function(a){this.o=new window.Uint8Array(XK(a).buffer)};
g.h.Wu=function(){return!1};
g.h.kh=function(a){return 0==a.gb?!0:this.index.Qb()>a.Aa&&this.index.xf()<=a.Aa+1};
g.h.update=function(a,b,c){this.index.append(a);LJ(this.index,c);this.J=b};
g.h.Uc=function(){return this.A?!0:FL.prototype.Uc.call(this)};
g.h.Cn=function(a,b){var c=this.index.Yt(a),d=this.index.Yd(a),e=this.index.getDuration(a),f;b?e=f=0:f=0<this.info.o?this.info.o*e:1E3;d=new vK(3,this,null,a,d,e,0,f,a==this.index.Qb()&&!this.J&&0<f);return new zL([d],c)};
g.h.Ep=function(){return this.A?0:this.initRange.length};
g.h.Pq=function(){return!1};g.t(IL,g.KJ);g.h=IL.prototype;g.h.xf=function(){return this.A?this.segments.length?this.Bm(this.bc()).Aa:-1:g.KJ.prototype.xf.call(this)};
g.h.bc=function(){if(!this.A)return g.KJ.prototype.bc.call(this);if(!this.segments.length)return 0;var a=Math.max(g.Ga(this.segments).endTime-this.D,0);return 0<this.C&&this.Bm(a).Aa<this.C?this.Jh(this.C).startTime:a};
g.h.pk=function(){var a=this.Qb();return!this.A||!this.segments.length||a<=this.segments[this.segments.length-1].Aa?g.KJ.prototype.pk.call(this):ML(this,a,this.segments[this.segments.length-1]).endTime};
g.h.sk=function(){return this.A?this.segments.length?this.Qb()-this.xf()+1:0:g.KJ.prototype.sk.call(this)};
g.h.Qb=function(){return Math.min(this.F,Math.max(g.KJ.prototype.Qb.call(this),this.B))};
g.h.dD=function(a){var b=JL(this,a.Aa);0<=b?this.segments[b]=a:this.segments.splice(-(b+1),0,a)};
g.h.Bm=function(a){if(!this.A)return g.KJ.prototype.Bm.call(this,a);if(!this.segments.length)return null;var b=g.bb(this.segments,{startTime:a},function(a,b){return a.startTime-b.startTime}),c=this.segments[0<=b?b:Math.max(-(b+2),0)];
return c.startTime+c.duration>a&&c.startTime<=a?c:-1==b?ML(this,Math.max(c.Aa-Math.ceil((c.startTime-a)/this.o),0),c):ML(this,c.Aa+Math.ceil((a-c.endTime)/this.o),c)};
g.h.Jh=function(a){if(!this.A)return g.KJ.prototype.Jh.call(this,a);if(!this.segments.length)return null;var b=JL(this,a);return 0<=b?this.segments[b]:ML(this,a,this.segments[Math.max(-(b+2),0)])};g.t(NL,HL);g.h=NL.prototype;g.h.Ik=function(){return!0};
g.h.Uc=function(){return!0};
g.h.kh=function(){return!0};
g.h.rk=function(){return[]};
g.h.Vg=function(a,b){if(g.ta(a)&&!(0,window.isFinite)(a)){var c=new vK(3,this,null,-1,void 0,this.G,void 0,this.G*this.info.o);return new zL([c],"")}return HL.prototype.Vg.call(this,a,b)};
g.h.Cn=function(a,b){if(KL(this.index,a))return HL.prototype.Cn.call(this,a,b);var c=this.index.Yd(a),d=b?0:this.G*this.info.o;c=new vK(3,this,null,a,c,void 0,void 0,d,a==this.index.Qb()&&!this.J&&0<d);return new zL([c],0<=a?"sq/"+a:"")};SL.prototype.update=function(a,b){var c=void 0;this.A&&(c=this.A);var d=new SL,e=Array.from(a.getElementsByTagName("S"));if(e.length){var f=+OL(a,"timescale")||1,k=(+e[0].getAttribute("t")||0)/f,l=+OL(a,"startNumber")||0;var m=k;var n=+OL(a,"presentationTimeOffset")||0;m=c?c.o+c.durationSecs:b?m-n/f:0;n=Date.parse(RL(OL(a,"yt:segmentIngestTime")))/1E3;d.B="SegmentTemplate"==a.parentNode.tagName;d.B&&(d.F=OL(a,"media"));var p=c?l-c.Aa:1;d.D=0<p?0:-p+1;e=g.q(e);for(p=e.next();!p.done;p=e.next()){p=
p.value;for(var r=+p.getAttribute("d")/f,v=(+p.getAttribute("yt:sid")||0)/f,z=+p.getAttribute("r")||0,E=0;E<=z;E++)if(c&&l<=c.Aa)l++;else{var J=new Oka(l,m,r,n+v,k);d.o.push(J);var N=J.o;J=p.getAttribute("yt:cuepointTimeOffset");var ca=p.getAttribute("yt:cuepointDuration");if(J&&ca){J=(0,window.parseFloat)(J);N=(sR?+J/f:-J/f)+N;ca=(0,window.parseFloat)(ca)/f;var Qa=p.getAttribute("yt:cuepointContext")||null,vb=p.getAttribute("yt:cuepointIdentifier");var rc=p.getAttribute("yt:cuepointEvent");rc=Kxa[rc]||
"unknown";J=new WJ(N,ca,Qa,vb,rc,J)}else J=null;J&&d.C.push(J);l++;m+=r;k+=r;n+=r+v}}d.o.length&&(d.A=g.Ga(d.o))}this.D=d.D;this.A=d.A||this.A;Wa(this.o,d.o);Wa(this.C,d.C);this.B=d.B;this.F=d.F};
SL.prototype.Nh=function(a,b,c,d){for(var e=this.F.split("$$"),f=0;f<e.length;f++)e[f]=e[f].replace("$RepresentationID$",a),e[f]=e[f].replace("$Number$",c.toString()),e[f]=e[f].replace("$Bandwidth$",b.toString()),e[f]=e[f].replace("$Time$",d.toString());return e.join("$")};g.t(TL,FL);g.h=TL.prototype;g.h.Vf=function(){return!1};
g.h.Ik=function(){return!1};
g.h.rk=function(){if(this.A){var a=new vK(1,this,null);return[new zL([a],this.A)]}a=new vK(1,this,this.initRange);var b=new vK(2,this,this.indexRange);return[new zL([a,b])]};
g.h.rj=function(){return null};
g.h.Rk=function(a){this.kh(a);return UL(this,a.B?a.Aa+1:a.Aa,!1)};
g.h.Vg=function(a,b){b=void 0===b?!1:b;var c=this.index.Wg(a);b&&(c=Math.min(this.index.Qb(),c+1));return UL(this,c,!0)};
g.h.Op=function(a){if(1==a.info.type)this.o||(a.o&&"http://youtube.com/streaming/otf/durations/112015"==a.o.uri&&Wka(this,a.o),this.o=YK(a));else if(g.BI(this.info)&&2==a.info.type&&!this.index.Pb()){var b=g.eK(XK(a),1936286840);if(b){a=[];var c=mK(b);b=c.Uw.length;var d=c.Bx,e=c.Uw,f=c.ao;c=this.indexRange.end+c.FA+1;for(var k=0,l=0;l<b;l++){var m=f[l]/d,n=e[l];a.push(new JJ(l,k,m,window.NaN,"range/"+c+"-"+(c+n-1)));k+=m;c+=n}this.index.append(a)}}};
g.h.kh=function(a){return 0==a.gb?!0:this.index.Qb()>a.Aa&&this.index.xf()<=a.Aa+1};
g.h.Ep=function(){return this.initRange&&this.indexRange?this.initRange.length+this.indexRange.length:0};
g.h.Pq=function(){return!1};g.h=g.VL.prototype;g.h.Aq=function(a){return this.o[a]};
g.h.Yd=function(a){return this.A[a]/this.C};
g.h.Hp=ba(1);g.h.Qv=function(){return window.NaN};
g.h.getDuration=function(a){a=this.Ut(a);return 0<=a?a/this.C:-1};
g.h.Ut=function(a){return a+1<this.Na||this.B?this.A[a+1]-this.A[a]:-1};
g.h.xf=function(){return 0};
g.h.Qb=function(){return this.Na-1};
g.h.pk=function(){return this.B?this.A[this.Na]/this.C:window.NaN};
g.h.bc=function(){return 0};
g.h.sk=function(){return this.Na};
g.h.Yt=function(){return""};
g.h.Wg=function(a){a=g.bb(this.A.subarray(0,this.Na),a*this.C);return 0<=a?a:Math.max(0,-a-2)};
g.h.Pb=function(){return 0<=this.Qb()};
g.h.RA=function(a,b){if(a>=this.Qb())return 0;for(var c=0,d=this.Yd(a)+b,e=a;e<this.Qb()&&d>this.Yd(e);e++)c=Math.max(c,(e+1<this.Na||this.B?this.o[e+1]-this.o[e]:-1)/this.getDuration(e));return c};
g.h.cap=function(a,b){WL(this);this.B=!0;this.A[this.Na]=b;this.o[this.Na]=a};
var Pva=!1;g.t(g.XL,FL);g.h=g.XL.prototype;g.h.rk=function(a){var b=new vK(1,this,this.initRange),c=new vK(2,this,this.indexRange),d=[],e=[b];xK(b,c)?e.push(c):(d.push(new zL([c])),a=0);(0,window.isNaN)(this.A)&&(a=0);b=e[e.length-1];a=Math.min(a,this.A-(b.range.end-e[0].range.start+1));0<a&&(a=tK(b.range.end+1,a),e.push(new vK(4,this,a)));d.push(new zL(e));return d};
g.h.Op=function(a){if(1==a.info.type){if(this.o)return;this.o=YK(a)}else if(2==a.info.type){if(this.G||0<=this.index.Qb())return;if(g.BI(this.info)){var b=this.index,c=XK(a);a=a.info.range.start;var d=g.eK(c,1936286840);c=mK(d);b.C=c.Bx;var e=c.SK;b.o[0]=c.FA+a+d.size;b.A[0]=e;b.B=!0;a=c.ao.length;for(d=0;d<a;d++){e=b;var f=c.Uw[d],k=c.ao[d];e.Na++;WL(e);e.o[e.Na]=e.o[e.Na-1]+f;e.A[e.Na]=e.A[e.Na-1]+k}}else this.G=XK(a)}if(2==this.info.containerType&&this.o&&this.G){a=new window.DataView(this.o.buffer);
b=this.index;e=this.G;c=this.indexRange.end;if(Pva){d=new EK(a);a=d;d=a.o;f={IG:1E6,JG:1E9,duration:0,QF:0,fx:0};if(IK(a,408125543))if(f.QF=JK(a,!0),f.fx=a.B+a.o,IK(a,357149030)){for(k=HK(a);!FK(k);){var l=JK(k,!1);2807729==l?f.IG=NK(k):2807730==l?f.JG=NK(k):17545==l?f.duration=PK(k):OK(k)}a.o=d;a=f}else a.o=d,a=null;else a.o=d,a=null;if(null!=a){b.C=a.JG/a.IG;d=new EK(e);e=a.fx;f=d.o;k=[];if(IK(d,475249515)){for(l=HK(d);IK(l,187);){var m=HK(l);if(IK(m,179)){var n=NK(m);if(IK(m,183)){m=HK(m);for(var p=
e;IK(m,241);)p=NK(m)+e;k.push({Wo:p,MK:n})}}}0<k.length&&c==k[0].Wo&&(k[0].Wo+=1);d.o=f;c=k}else d.o=f,c=null;if(null!=c){c=g.q(c);for(d=c.next();!d.done;d=c.next())f=d.value,d=b,e=f.Wo,f=f.MK,WL(d),d.o[d.Na]=e,d.A[d.Na]=f,d.Na++;b.cap(a.QF+a.fx,a.duration)}}}else if(a=new EK(a),IK(a,440786851)&&(OK(a),IK(a,408125543)&&(f=a,k=f.o,d=JK(f,!0),f.o=k,a=HK(a),f=a.B+a.o,IK(a,357149030)))){a=HK(a);l=1E6;m=1E9;for(k=0;!FK(a);)n=JK(a,!1),2807729==n?l=NK(a):2807730==n?m=NK(a):17545==n?k=PK(a):OK(a);b.C=m/l;
a=new EK(e);if(IK(a,475249515)){a=HK(a);e=!0;for(l=!1;IK(a,187);){m=HK(a);if(IK(m,179))if(n=NK(m),IK(m,183)){m=HK(m);for(p=f;IK(m,241);)p=NK(m)+f;m=[p,n]}else m=null;else m=null;p=m;e&&c==p[0]&&(l=!0);e=!1;l&&(p[0]+=1);m=b;n=p[0];p=p[1];WL(m);m.o[m.Na]=n;m.A[m.Na]=p;m.Na++}b.cap(d+f,k)}}this.G=null}};
g.h.CC=function(a){for(var b=this.mr(a.info),c=[],d=a.A,e=0;e<b.length;e++){var f=tK(b[e].range.start+b[e].A-a.info.range.start+a.range.start,b[e].gb);c.push(new WK(b[e],a.buffer,f,a.B,d));d=!1}return c};
g.h.mr=function(a){for(var b=0;b<this.index.Qb()&&a.range.start>=this.index.Aq(b+1);)b++;return YL(this,b,a.range.start,a.range.length).o};
g.h.kh=function(a){return this.Uc()?!0:(0,window.isNaN)(this.A)?!1:a.range.end+1<this.A};
g.h.rj=function(a,b){this.kh(a);if(!this.Uc()){var c=tK(a.range.end+1,b);c.end+1>this.A&&(c=new g.rK(c.start,this.A-1));c=[new vK(4,a.o,c)];return new zL(c)}4==a.type&&(c=this.mr(a),a=c[c.length-1]);c=0;var d=a.range.start+a.A+a.gb;3==a.type&&(c=a.Aa,d==a.range.end+1&&(c+=1));return YL(this,c,d,b)};
g.h.Rk=function(){return null};
g.h.Vg=function(a,b){var c=this.index.Wg(a);b&&(c=Math.min(this.index.Qb(),c+1));return YL(this,c,this.index.Aq(c),0)};
g.h.Wu=function(){var a;if(a=this.Uc()&&!(0,window.isNaN)(this.A))a=this.index,a=(a.B?a.o[a.Na]:-1)!=this.A;return a};
g.h.Vf=function(){return!0};
g.h.Ik=function(){return!1};
g.h.Ep=function(){return this.indexRange.length+this.initRange.length};
g.h.Pq=function(){return this.indexRange&&this.initRange&&this.initRange.end+1==this.indexRange.start?!0:!1};var d1={},gla=(d1["258"]=6,d1["380"]=6,d1["328"]=6,d1["261"]=6,d1["381"]=6,d1["329"]=6,d1);g.t(aM,g.VF);g.h=aM.prototype;g.h.gh=function(){return Kb(this.o,function(a){return a.info.video?2==a.info.video.projectionType:!1})};
g.h.hh=function(){return Kb(this.o,function(a){return a.info.video?3==a.info.video.projectionType:!1})};
g.h.ig=function(){return Kb(this.o,function(a){return a.info.video?4==a.info.video.projectionType:!1})};
g.h.jj=function(){return Kb(this.o,function(a){return a.info.video?1==a.info.video.stereoLayout:!1})};
g.h.HW=function(a){var b=a.getElementsByTagName("Representation");if(0<a.getElementsByTagName("SegmentList").length||0<a.getElementsByTagName("SegmentTemplate").length){this.Jk=this.B=!0;this.D||(this.D=new Qka);Uka(this.D,a,this.ga);this.V("refresh");for(a=0;a<b.length;a++){var c=jM(this,b[a]),d=this.isLive&&g.BI(c)&&this.ha;if(!this.o[c.id]){var e=gM(PL(b[a],"BaseURL").textContent),f=PL(b[a],"Initialization"),k=OL(f,"sourceURL");f=sK(OL(f,"range"));d&&(k="",f=void 0);this.o[c.id]=new HL(e,c,k,null===
f?void 0:f)}c=this.o[c.id];e=OL(b[a],"id","AdaptationSet");e=""!=e?e:OL(b[a],"mimetype","AdaptationSet");k=this.D;e=k.B[c.info.id]||k.A[e]||k.o||null;k=e.o;if(e.B)for(d=[],k=g.q(k),f=k.next();!f.done;f=k.next()){f=f.value;var l=e.Nh(c.info.id,8*c.info.o,f.Aa,f.o);d.push(new JJ(f.Aa,f.o,f.durationSecs,f.A,l,null,f.B))}else{e=g.Xa(PL(b[a],"SegmentList").getElementsByTagName("SegmentURL"),e.D);f=[];for(l=0;l<e.length;l++)f.push(jla(e[l],k[l],d));d=f}c.update(d,this.isLive,this.W)}Vka(this.D);return!0}this.duration=
QL(OL(a,"mediaPresentationDuration"));a:{for(a=0;a<b.length;a++){k=b[a];c=jM(this,k);e=PL(k,"BaseURL");d=gM(e.textContent);f=PL(k,"SegmentBase");k=sK(f.attributes.indexRange.value);f=sK(f.getElementsByTagName("Initialization")[0].attributes.range.value);e=(0,window.parseInt)(e.getAttribute(hM(this,"contentLength")),10);c=new g.XL(d,c,f,k,e,window.NaN);if(!c){b=!1;break a}cM(this,c)}b=!0}return b};
g.h.Xe=function(a){return this.D?g.Xa(this.D.C,a):this.L.length?g.Xa(this.L,a):[]};
g.h.FL=function(a){if(this.la())return this;this.N=a.status;a=a.responseText;a=(new window.DOMParser).parseFromString(a,"text/xml").getElementsByTagName("MPD")[0];this.G=1E3*QL(OL(a,"minimumUpdatePeriod"))||window.Infinity;if(!this.O){var b;a:{if(a.attributes)for(b=0;b<a.attributes.length;b++)if("https://web.archive.org/web/20181027110332/http://youtube.com/yt/2012/10/10"==a.attributes[b].value){b=a.attributes[b].name.split(":")[1];break a}b=""}this.aa=b}this.isLive=window.Infinity>this.G&&this.ka;this.W=(0,window.parseInt)(OL(a,hM(this,"earliestMediaSequence")),
10)||0;if(b=Date.parse(RL(OL(a,hM(this,"mpdResponseTime")))))this.H=((0,g.H)()-b)/1E3;this.isLive&&0>=a.getElementsByTagName("SegmentTimeline").length||(0,g.Am)(a.getElementsByTagName("Period"),this.HW,this);this.F=2;this.V("loaded");nM(this);return this};
g.h.IL=function(a){this.N=a.qj.status;this.F=3;this.V("loaderror");return ng(a.qj)};
g.h.fD=function(){if(1!=this.F&&!this.la()){var a=g.Zg(this.sourceUrl,{start_seq:kla(this).toString()});g.tg(kM(this,a),function(){})}};
g.h.resume=function(){nM(this)};
g.h.Cd=function(){var a=this.o,b=window.NaN,c;for(c in a)if(this.ia||!g.EI(a[c].info.mimeType)){var d=a[c].index;d.Pb()&&((0,window.isNaN)(b)||d.pk()<b)&&(b=d.pk())}return b};
g.h.bc=function(){var a=this.o,b;for(b in a){var c=a[b].index;if(c.Pb())return c.bc()}return 0};
g.h.TP=function(){return this.H};
var rM=null,sM=!1,dM=!0,iM={commentary:1,alternate:2,dub:3,main:4};var vla={RED:"red",C5:"white"};tM.prototype.o=function(a,b){var c=Math.pow(this.D,a);this.B=b*(1-c)+c*this.B;this.C+=a};
tM.prototype.A=function(){return this.B/(1-Math.pow(this.D,this.C))};vM.prototype.o=function(a,b){var c=Math.min(this.B,Math.max(1,Math.round(a*this.L)));c+this.C>=this.B&&(this.F=!0);for(;c--;)this.D[this.C]=b,this.C=(this.C+1)%this.B;this.H=!0};
vM.prototype.A=function(){return this.J?(wM(this,this.G-this.J)+wM(this,this.G)+wM(this,this.G+this.J))/3:wM(this,this.G)};var ula={kZ:"adunit",K_:"detailpage",l0:"editpage",n0:"embedded",G1:"leanback",q3:"previewpage",r3:"profilepage",b5:"unplugged"};var cN={Q1:1,R1:2,S1:3};g.t(FM,g.VF);FM.prototype.add=function(a,b){!this.Ra[a]&&(b.ht||b.Pi||b.Fl)&&(this.Ra[a]=gc(b),this.V("vast_info_card_add",a))};
FM.prototype.remove=function(a){var b=this.get(a);delete this.Ra[a];return b};
FM.prototype.get=function(a){return this.Ra[a]||null};
FM.prototype.isEmpty=function(){return g.Yb(this.Ra)};var rla=/^([0-9\.]+):([0-9\.]+)$/;var MM=g.y("ytglobal.prefsUserPrefsPrefs_")||{};g.ua("ytglobal.prefsUserPrefsPrefs_",MM,void 0);g.h=NM.prototype;g.h.get=function(a,b){PM(a);OM(a);var c=void 0!==MM[a]?MM[a].toString():null;return null!=c?c:b?b:""};
g.h.set=function(a,b){PM(a);OM(a);if(null==b)throw Error("ExpectedNotNull");MM[a]=b.toString()};
g.h.remove=function(a){PM(a);OM(a);delete MM[a]};
g.h.save=function(){g.MG(this.o,this.dump(),63072E3)};
g.h.clear=function(){g.Zb(MM)};
g.h.dump=function(){var a=[],b;for(b in MM)a.push(b+"="+(0,window.encodeURIComponent)(String(MM[b])));return a.join("&")};
g.va(NM);var QM="blogger books docs google-live play chat hangouts-meet photos-edu picasaweb gmail jamboard".split(" ");g.t(iN,g.L);
iN.prototype.uh=function(a){this.pa=JM(this.pa,a.video_id);this.Qa=JM(this.Qa,a.eventid);for(var b in Lxa){var c=Lxa[b],d=a[c];void 0!=d&&(this.A[c]=d)}this.userAge=IM(this.userAge,a.user_age);this.L=JM(this.L,a.user_display_image);g.JH(this.L)||(this.L="");this.userDisplayName=JM(this.userDisplayName,a.user_display_name);this.userGender=JM(this.userGender,a.user_gender);this.csiPageType=JM(this.csiPageType,a.csi_page_type);this.fb=JM(this.fb,a.csi_service_name);this.rd=GM(this.rd,a.enablecsi);if(b=
a.enabled_engage_types)this.Kb=new window.Set(b.split(","));this.isDni=GM(!1,a.is_dni)};
iN.prototype.getVideoUrl=function(a,b,c,d,e){b={list:b};c&&(e?b.time_continue=c:b.t=c);c=lN(this);d&&"www.youtube.com"==c?d="https://web.archive.org/web/20181027110332/https://youtu.be/"+a:g.hN(this)?(d="https://"+c+"/fire",b.v=a):(d=this.protocol+"://"+c+"/watch",b.v=a,jJ&&(a=g.y("yt.ads.biscotti.lastId_")||"")&&(b.ebc=a));return g.Zg(d,b)};
var Lxa={SZ:"cbrand",TZ:"cbr",UZ:"cbrver",q1:"c",u1:"cver",t1:"ctheme",r1:"cplayer",d2:"cmodel",N2:"cnetwork",V2:"cos",W2:"cosver",a3:"cplatform"},Pta=["www.youtube-nocookie.com","www.youtubeedu.com","www.youtubeeducation.com","youtube.googleapis.com"];var e1={},KN=(e1.playready=["com.youtube.playready","com.microsoft.playready"],e1.widevine=["com.widevine.alpha"],e1),Ela=g.Ua(KN.widevine,KN.playready);EN.prototype.getAvailableAudioTracks=function(){return this.audioTracks};g.t(JN,g.L);JN.prototype.G=function(){(this.F=!this.F&&"widevine"==this.o[this.A[0]].flavor)||this.A.shift();LN(this)};
JN.prototype.H=function(a,b){this.la()||(a.A=b,Fla(this,a),this.C&&this.C(a))};g.t(RN,zJ);
RN.prototype.o=function(){if(!this.A||this.A.la()){var a=this.B;Lla(a);var b=["#EXTM3U","#EXT-X-INDEPENDENT-SEGMENTS"],c={};a:if(a.A)var d=a.A;else{d=g.q(a.B);for(var e=d.next();!e.done;e=d.next())if(e=e.value,e.Mb&&e.Mb.isDefault){d=e.Mb.getId();break a}d=""}e=0;for(var f=a.B.length;e<f;++e){var k=a.B[e];k.Mb&&k.Mb.getId()!=d||(c[k.itag]=k,b.push(Kla(a,k)))}d=0;for(e=a.o.length;d<e;++d)if(f=a.o[d],a.F)for(var l in c)QN(a,b,f,c[l]);else QN(a,b,f,c[f.audioItag]);a="data:application/x-mpegurl;charset=utf-8,"+(0,window.encodeURIComponent)(b.join("\n"));
this.A=new bJ(a)}return this.A};g.t(TN,zJ);TN.prototype.o=function(){return new bJ(this.A.Xa())};
TN.prototype.C=function(){this.A=oL(this.A)};g.t(VN,zJ);VN.prototype.o=function(){return new bJ(this.A)};var Ola=new window.Set("BASE_URL BASE_YT_URL abd adformat allow_embed authuser autoplay captions_load_policy cc_load_policy cc3_module dash dashmpd disable_native_context_menu docid el enable_cardio enablecastapi enablepostapi end errorcode fmt_list fmt_stream_map forcenewui hl hlsdvr hlsrange hlsvp html5 invite iurl iurlhq iurlmq length_seconds live_playback nohtml5 origin override_hl partnerid playsinline plid postid ps public reason rel reload_count reload_reason reportabuseurl resume start status streaminglib_load_policy streaminglib_preroll t timestamp title token ttsurl use_native_controls url_encoded_fmt_stream_map video_id videoid videoId wmode".split(" "));var Mxa={UNKNOWN:"UNKNOWN",NORMAL:"NORMAL",X1:"LOW",Y4:"ULTRALOW"};g.h=g.XN.prototype;g.h.ub=function(){return this.F};
g.h.getHeight=function(){return this.D};
g.h.PA=ba(3);g.h.Wt=function(){return this.B};
g.h.isDefault=function(){return-1!=this.C.indexOf("default")};
g.h.Pb=function(a){return this.ad.has(a)};
g.h.Xa=function(a){var b=this.K;b=b.replace("$N",this.C);b=b.replace("$L",this.J.toString());b=b.replace("$M",a.toString());this.G&&(b=g.Zg(b,{sigh:this.G}));return NH(b)};
g.h.Gq=function(a){var b=this.Wt()-1;return g.ld(0==this.o?Math.round(a*this.B/this.L):Math.round(1E3*a/this.o),0,b)};
g.h.Gn=function(){return this.B-1};
g.h.cw=function(){return this.B?0:-1};
g.h.nG=function(){};g.t(ZN,g.VF);ZN.prototype.J=function(a,b){this.A=this.A.onload=null;var c=this.o[a];c.ad.add(b);bO(this);var d=c.columns*c.rows;var e=b*d;c=Math.min(e+d-1,c.Wt()-1);e=[e,c];this.V("l",e[0],e[1])};
ZN.prototype.Y=function(){this.A&&(this.A=this.A.onload=null);g.VF.prototype.Y.call(this)};g.t(dO,ZN);dO.prototype.B=function(a,b){for(var c=[],d=a.split("|"),e=d[0],f=1;f<d.length;f++){var k=this.F(f-1,e,d[f],b);180>k.getHeight()&&c.push(k)}return c};
dO.prototype.F=function(a,b,c,d){return new g.XN(a,b,c,d)};g.t(fO,g.XN);g.h=fO.prototype;g.h.Wt=function(){return this.A.sk()};
g.h.Gq=function(a){var b=this.rows*this.columns*this.H,c=this.A,d=c.Qb();a=c.Wg(a);return a>d-b?-1:a};
g.h.Gn=function(){return this.A.Qb()};
g.h.cw=function(){return this.A.xf()};
g.h.nG=function(a){this.A=a};g.t(gO,dO);gO.prototype.B=function(a,b){return dO.prototype.B.call(this,"$N|"+a,b)};
gO.prototype.F=function(a,b,c){return new fO(a,b,c,this.isLive)};var hO={iurl:"default.jpg",iurlmq:"mqdefault.jpg",iurlhq:"hqdefault.jpg",iurlsd:"sddefault.jpg",iurlpop1:"pop1.jpg",iurlpop2:"pop2.jpg",iurlhq720:"hq720.jpg",iurlmaxres:"maxresdefault.jpg"};g.kO.prototype.toString=function(){return this.topic};var Nxa=g.y("ytPubsub2Pubsub2Instance")||new g.tD;g.tD.prototype.subscribe=g.tD.prototype.subscribe;g.tD.prototype.unsubscribeByKey=g.tD.prototype.ce;g.tD.prototype.publish=g.tD.prototype.V;g.tD.prototype.clear=g.tD.prototype.clear;g.ua("ytPubsub2Pubsub2Instance",Nxa,void 0);var nO=g.y("ytPubsub2Pubsub2SubscribedKeys")||{};g.ua("ytPubsub2Pubsub2SubscribedKeys",nO,void 0);var pO=g.y("ytPubsub2Pubsub2TopicToKeys")||{};g.ua("ytPubsub2Pubsub2TopicToKeys",pO,void 0);
var oO=g.y("ytPubsub2Pubsub2IsAsync")||{};g.ua("ytPubsub2Pubsub2IsAsync",oO,void 0);g.ua("ytPubsub2Pubsub2SkipSubKey",null,void 0);var HO=window.performance||window.mozPerformance||window.msPerformance||window.webkitPerformance||{};g.t(vO,g.jO);g.t(wO,g.jO);var Vla=new g.kO("aft-recorded",vO),rO=new g.kO("timing-sent",wO);var Yla,f1,PO,Ula,Sla,Tla,Oxa,QO,TO,Rla,Sva;Yla={vc:!0};f1={};
PO=(f1.ad_allowed="adTypesAllowed",f1.yt_abt="adBreakType",f1.ad_cpn="adClientPlaybackNonce",f1.ad_docid="adVideoId",f1.yt_ad_an="adNetworks",f1.ad_at="adType",f1.browse_id="browseId",f1.p="httpProtocol",f1.t="transportProtocol",f1.cpn="clientPlaybackNonce",f1.csn="clientScreenNonce",f1.docid="videoId",f1.is_continuation="isContinuation",f1.is_nav="isNavigation",f1.b_p="kabukiInfo.browseParams",f1.is_prefetch="kabukiInfo.isPrefetch",f1.is_secondary_nav="kabukiInfo.isSecondaryNav",f1.prev_browse_id=
"kabukiInfo.prevBrowseId",f1.query_source="kabukiInfo.querySource",f1.voz_type="kabukiInfo.vozType",f1.yt_lt="loadType",f1.yt_ad="isMonetized",f1.nr="webInfo.navigationReason",f1.ncnp="webInfo.nonPreloadedNodeCount",f1.paused="playerInfo.isPausedOnLoad",f1.fmt="playerInfo.itag",f1.yt_pl="watchInfo.isPlaylist",f1.yt_ad_pr="prerollAllowed",f1.yt_red="isRedSubscriber",f1.st="serverTimeMs",f1.aq="tvInfo.appQuality",f1.br_trs="tvInfo.bedrockTriggerState",f1.label="tvInfo.label",f1.is_mdx="tvInfo.isMdx",
f1.preloaded="tvInfo.isPreloaded",f1.query="unpluggedInfo.query",f1.upg_chip_ids_string="unpluggedInfo.upgChipIdsString",f1.yt_vst="videoStreamType",f1.vph="viewportHeight",f1.vpw="viewportWidth",f1.yt_vis="isVisible",f1);Ula="ap c cver cbrand cmodel ei srt yt_fss yt_li plid vpil vpni vpst yt_eil vpni2 vpil2 icrc icrt pa GetBrowse_rid GetPlayer_rid GetSearch_rid GetWatchNext_rid cmt d_vpct d_vpnfi d_vpni pc pfa pfeh pftr prerender psc rc start tcrt tcrc ssr vpr vps yt_abt yt_fn yt_fs yt_pft yt_pre yt_pt yt_pvis yt_ref yt_sts".split(" ");
Sla={ad_to_ad:"LATENCY_ACTION_AD_TO_AD",ad_to_video:"LATENCY_ACTION_AD_TO_VIDEO",browse:"LATENCY_ACTION_BROWSE",channels:"LATENCY_ACTION_CHANNELS",channel:"LATENCY_ACTION_CREATOR_CHANNEL_DASHBOARD","channel.analytics":"LATENCY_ACTION_CREATOR_CHANNEL_ANALYTICS","channel.comments":"LATENCY_ACTION_CREATOR_CHANNEL_COMMENTS","channel.copyright":"LATENCY_ACTION_CREATOR_CHANNEL_COPYRIGHT","channel.monetization":"LATENCY_ACTION_CREATOR_CHANNEL_MONETIZATION","channel.translations":"LATENCY_ACTION_CREATOR_CHANNEL_TRANSLATIONS",
"channel.videos":"LATENCY_ACTION_CREATOR_CHANNEL_VIDEOS",embed:"LATENCY_ACTION_EMBED",home:"LATENCY_ACTION_HOME",library:"LATENCY_ACTION_LIBRARY",live:"LATENCY_ACTION_LIVE",prebuffer:"LATENCY_ACTION_PREBUFFER",prefetch:"LATENCY_ACTION_PREFETCH",results:"LATENCY_ACTION_RESULTS",search:"LATENCY_ACTION_RESULTS",tenx:"LATENCY_ACTION_TENX",video_to_ad:"LATENCY_ACTION_VIDEO_TO_AD",watch:"LATENCY_ACTION_WATCH","watch,watch7":"LATENCY_ACTION_WATCH","watch,watch7_html5":"LATENCY_ACTION_WATCH","watch,watch7ad":"LATENCY_ACTION_WATCH",
"watch,watch7ad_html5":"LATENCY_ACTION_WATCH",wn_comments:"LATENCY_ACTION_LOAD_COMMENTS","video.analytics":"LATENCY_ACTION_CREATOR_VIDEO_ANALYTICS","video.comments":"LATENCY_ACTION_CREATOR_VIDEO_COMMENTS","video.edit":"LATENCY_ACTION_CREATOR_VIDEO_EDIT","video.translations":"LATENCY_ACTION_CREATOR_VIDEO_TRANSLATIONS","video.video_editor":"LATENCY_ACTION_CREATOR_VIDEO_VIDEO_EDITOR","video.video_editor_async":"LATENCY_ACTION_CREATOR_VIDEO_VIDEO_EDITOR_ASYNC"};Tla="isContinuation isNavigation kabukiInfo.isPrefetch kabukiInfo.isSecondaryNav isMonetized playerInfo.isPausedOnLoad prerollAllowed isRedSubscriber tvInfo.isMdx tvInfo.isPreloaded isVisible watchInfo.isPlaylist".split(" ");
Oxa={};QO=(Oxa.yt_vst="VIDEO_STREAM_TYPE_",Oxa);TO=!1;Rla=(0,g.B)(HO.clearResourceTimings||HO.webkitClearResourceTimings||HO.mozClearResourceTimings||HO.msClearResourceTimings||HO.oClearResourceTimings||g.A,HO);g.mQ=MO;Sva=AO;g.lQ=KO;var g1;var Pxa=g.Fb,Qxa=Pxa.match(/\((iPad|iPhone|iPod)( Simulator)?;/);if(!Qxa||2>Qxa.length)g1=void 0;else{var h1=Pxa.match(/\((iPad|iPhone|iPod)( Simulator)?; (U; )?CPU (iPhone )?OS (\d+_\d)[_ ]/);g1=h1&&6==h1.length?Number(h1[5].replace("_",".")):0}var hZ=g1,gZ=0<=hZ;gZ&&0<=g.Fb.search("Safari")&&g.Fb.search("Version");var sma={0:"UNKNOWN",1:"OFF",2:"ON",3:"FORCED_ON"},i1={},Rxa=(i1.ALWAYS=1,i1.BY_REQUEST=3,i1),dma,ZO;g.t(g.YO,g.VF);g.h=g.YO.prototype;g.h.uh=function(a,b){b?(this.setData(a),oP(this)&&jP(this)):(ema(this,a,!0),this.V("dataupdated"))};
g.h.setData=function(a){a=a||{};var b=a.raw_player_response;if(!b){var c=a.player_response;c&&(b=g.ux(c))}b&&(this.vb=b);if(this.vb&&((b=this.vb.attestation)&&tma(this,b),(b=this.vb.playerConfig)&&uma(this,b),(b=this.vb.videoDetails)&&vma(this,b),b=this.vb.interstitialPods))for(b=g.q(b),c=b.next();!c.done;c=b.next()){c=c.value;var d=c.interstitials.map(function(a){return(a=a.playerVars)&&Object.assign({is_yto_interstitial:!0},g.rE(a))});
switch(c.podConfig.playbackPlacement){case "INTERSTITIAL_PLAYBACK_PLACEMENT_PRE":this.Tq=this.Tq.concat(d);break;case "INTERSTITIAL_PLAYBACK_PLACEMENT_POST":this.Sq=this.Sq.concat(d)}}this.Ki="1"!=a.hlsdvr?!1:xJ()?!0:RM&&5>hZ?!1:!0;this.adQueryId=a.ad_query_id||null;this.adSafetyReason=a.encoded_ad_safety_reason||null;this.Vj=a.agcid||null;this.adIds=a.ad_id||null;this.adSystems=a.ad_sys||null;this.tA=a.encoded_ad_playback_context||null;this.Ho="1"==a.infringe||"1"==a.muted;this.authKey=a.authkey;
this.jd=a.authuser;this.clientPlaybackNonce||(this.clientPlaybackNonce=a.cpn||gH());this.enableCardio=GM(this.enableCardio,a.enable_cardio);this.enableCardioBeforePlayback=GM(this.enableCardioBeforePlayback,a.enable_cardio_before_playback);this.endSeconds=IM(this.endSeconds,a.end||a.endSeconds);this.Gk=JM(this.Gk,a.itct);this.Vu=GM(this.Vu,a.noiba);this.cn="1"==a.livemonitor;this.Ma="1"==a.live_playback;this.fq="1"==a.post_live_playback;this.isLiveDestination=GM(this.isLiveDestination,a.is_live_destination);
this.isLiveDefaultBroadcast="1"==a.live_default_broadcast;this.isLowLatencyLiveStream="1"==a.is_low_latency_live_stream;if(b=a.latency_class)this.latencyClass=HM("UNKNOWN",b,Mxa);(this.isVisualizerEligible="1"==a.is_visualizer_eligible)&&this.cd.push("visualizer");this.isMdxPlayback=GM(this.isMdxPlayback,a.mdx);if(b=a.mdx_control_mode)this.mdxControlMode=g.Bb(b);this.Uu=GM(this.Uu,a.is_inline_playback_no_ad);this.Ag=IM(this.Ag,a.reload_count);this.reloadReason=JM(this.reloadReason,a.reload_reason);
this.av=GM(this.av,a.utpsa);this.cycToken=a.cyc||null;this.LG=a.tkn||null;this.xi=iO(a);this.rf=JM(this.rf,a.vvt);this.revocableUnlistedToken=a.revocable_unlisted_token;this.mdxEnvironment=JM(this.mdxEnvironment,a.mdx_environment);this.LR=a.osig;this.jF=a.ptchn;this.kF=a.oid;this.Qn=a.ptk;this.lF=a.pltype;this.playbackId=a.plid;this.eventId=a.eventid;this.osid=a.osid;this.videoMetadata=a.vm;this.Nw=a.of;this.Mr=a.upt;this.playlistId=JM(this.playlistId,a.list);this.sF=a.pyv_view_beacon_url;this.uF=
a.pyv_quartile25_beacon_url;this.vF=a.pyv_quartile50_beacon_url;this.wF=a.pyv_quartile75_beacon_url;this.tF=a.pyv_quartile100_beacon_url;if(b=a.remarketing_url)this.remarketingUrl=b;this.vb&&this.vb.playbackTracking&&this.vb.playbackTracking.youtubeRemarketingUrl&&(this.youtubeRemarketingUrl=this.vb.playbackTracking.youtubeRemarketingUrl.baseUrl);this.vb&&this.vb.playbackTracking&&this.vb.playbackTracking.googleRemarketingUrl&&(this.googleRemarketingUrl=this.vb.playbackTracking.googleRemarketingUrl.baseUrl);
if(b=a.ppv_remarketing_url)this.ppvRemarketingUrl=b;this.ir=a.sdetail;b=a.session_data;!this.Vw&&b&&(this.Vw=g.pE(b).feature);this.isFling=1==IM(this.isFling?1:0,a.is_fling);this.vnd=IM(this.vnd,a.vnd);this.Ot=JM(this.Ot,a.force_ads_url);this.Kf=JM(this.Kf,a.ctrl);this.Lf=JM(this.Lf,a.ytr);this.Yo=a.ytrcc;this.CF=a.ytrexp;this.slotPosition=IM(this.slotPosition,a.slot_pos);this.breakType=a.break_type;this.yr=GM(this.yr,a.ssrt);this.videoId=LM(a)||this.videoId;this.vssCredentialsToken=JM(this.vssCredentialsToken,
a.vss_credentials_token);this.ds=JM(this.ds,a.vss_credentials_token_type);this.heartbeatToken=JM(this.heartbeatToken,a.heartbeat_token);this.heartbeatInterval=IM(this.heartbeatInterval,a.heartbeat_interval);this.heartbeatRetries=IM(this.heartbeatRetries,a.heartbeat_retries);this.heartbeatSoftFail=GM(this.heartbeatSoftFail,a.heartbeat_soft_fail);this.Tu=GM(this.Tu,a.ithb);this.relativeLoudness=IM(this.relativeLoudness,a.relative_loudness);this.Vx=GM(this.Vx,a.audio_only);this.Ux=GM(this.Ux,a.aac_high);
this.preferLowQualityAudio=GM(this.preferLowQualityAudio,a.prefer_low_quality_audio);this.isDni=GM(!1,a.is_dni);this.dniColor=JM("#cc181e",a.dni_color);this.dr=JM(this.dr,a.qoe_cat);if(a.ad3_module||a.ad_module)this.adModule=!0,"1"==a.ad_preroll&&this.cd.push("ad");if(b=a.adaptive_fmts)this.adaptiveFormats=b;if(b=a.license_info)this.zd=rma(b),this.drmParams=JM(this.drmParams,a.drm_params);if(b=a.allow_embed)this.allowEmbed="1"==b;if(b=a.backgroundable)this.backgroundable="1"==b;if(b=a.autonav)this.an=
"1"==b;if(b=a.autoplay)this.Rn="1"==b;(b=a.iv_load_policy)?this.Bh=HM(this.Bh,b,cN):(b=$O(this.vb))&&b.loadPolicy&&(this.Bh=Rxa[b.loadPolicy]);if(b=a.cc_lang_pref)this.Dh=JM(b,this.Dh);if(b=a.cc_load_policy)this.Eh=HM(this.Eh,b,cN);"0"==a.dash&&(this.nA=!0);if(b=a.dashmpd)this.vf=g.Zg(b,{cpn:this.clientPlaybackNonce});if(b=a.delay)this.Zf=g.Bb(b);if(b=a.drm_session_id)this.drmSessionId=b;b=a.end;void 0!=b&&(this.clipEnd=IM(this.clipEnd,b));a.fair_play_cert&&window.atob&&(this.fairPlayCert=(0,window.atob)(a.fair_play_cert));
a.fair_play_key_rotation_period&&(this.pp=g.Bb(a.fair_play_key_rotation_period));a.fair_play_key_prefetch_margin&&(this.np=g.Bb(a.fair_play_key_prefetch_margin));if(b=a.fmt_list)this.fmtList=b;a.fresca_preroll&&this.cd.push("fresca");a.heartbeat_preroll&&this.cd.push("heartbeat");if(b=a.idpj)this.Fk=g.Bb(b);if(b=a.ismb)this.fh=g.Bb(b);if(b=a.is_listed)this.isListed=GM(this.isListed,b);if(b=a.pipable)this.pipable=GM(this.pipable,b);if(b=a.paid_content_overlay_duration_ms)this.iF=g.Bb(b);if(b=a.paid_content_overlay_text)this.GW=
b;if(b=a.url_encoded_fmt_stream_map)this.Kl=b;if(b=a.hls_formats)this.hlsFormats=b;if(b=a.hlsvp)this.hlsvp=b;if(b=a.length_seconds)this.lengthSeconds=g.w(b)?g.Bb(b):b;if(b=a.live_chunk_readahead)this.liveChunkReadahead=IM(this.liveChunkReadahead,b);if(b=a.live_start_walltime)this.liveStartWalltime=g.Bb(b);if(b=a.live_manifest_duration)this.dv=g.Bb(b);if(b=a.ldpj)this.gn=g.Bb(b);if(b=a.player_params)this.playerParams=b;if(b=a.partnerid)this.If=IM(this.If,b);if(b=a.probe_url)this.probeUrl=NH(g.Zg(b,
{cpn:this.clientPlaybackNonce}));if(b=a.profile_picture)this.profilePicture=JM(b,this.profilePicture);(b=a.pyv_billable_url)&&g.KH(b)&&(this.Xq=b);(b=a.pyv_conv_url)&&g.KH(b)&&(this.Yq=b);if(b=a.video_masthead_ad_quartile_urls)this.ov=b.quartile_0_url,this.pC=b.quartile_25_url,this.qC=b.quartile_50_url,this.rC=b.quartile_75_url,this.oC=b.quartile_100_url;"1"==a.spacecast_playback&&(this.cd.push("spacecast"),this.spacecastModule=!0,this.Kj.playback=!0);if(c=a.spacecast_addrs)this.spacecastModule=!0,
b={},b.addresses=c.split(","),b.probe=!0,(c=a.spacecast_query_params)&&(b.applianceQueryParams=c),this.Kj.init=b;0<this.startSeconds||(this.eh=this.startSeconds=IM(this.startSeconds,a.start||a.startSeconds));b=a.live_utc_start;null!=b&&(this.liveUtcStartSeconds=(0,window.parseInt)(b,10));if(b=a.utc_start_millis)this.liveUtcStartSeconds=.001*(0,window.parseInt)(b,10);if(b=a.stream_time_start_millis)this.vx=.001*(0,window.parseInt)(b,10);b=a.start;void 0==b||"1"==a.resume||this.Ma||(this.clipStart=
IM(this.clipStart,b));if(b=a.two_stage_token)this.zi=b;if(b=a.url_encoded_third_party_media)this.El=sE(b);if(b=a.watch_ajax_token)this.watchAjaxToken=b;a.ypc_module&&this.cd.push("ypc");a.ypc_clickwrap_module&&this.cd.push("ypc_clickwrap");if(b=a.ypc_offer_button_formatted_text)b=g.ux(b),this.ypcOfferButtonFormattedText=null!=b?b:null;if(b=a.ypc_trailer_player_vars)this.ypcTrailerPlayerVars=g.rE(b);this.Il=JM(this.Il,a.ucid);(0,g.D)("baseUrl uid oeid ieid ppe engaged subscribed".split(" "),function(b){a[b]&&
(this.Se[b]=a[b])},this);
this.Se.focEnabled=GM(this.Se.focEnabled,a.focEnabled);this.Se.rmktEnabled=GM(this.Se.rmktEnabled,a.rmktEnabled);this.tc=a;ema(this,a,!1);iP(this)?ME()&&(this.Ma&&this.vf?this.fk=!0:this.fairPlayCert&&(this.Mk=!0)):!gma(this,XO(this))&&this.vf&&(this.fk=!0);if(b=a.adpings)this.lz=b?g.rE(b):null;if(b=a.feature)this.Un=b;if(b=a.referrer)this.referrer=b;if(b=a.multifeed_metadata_list)this.Li=sE(b);this.clientScreenNonce=JM(this.clientScreenNonce,a.csn);this.rootVeType=IM(this.rootVeType,a.root_ve_type);
this.hq=IM(this.hq,a.kids_age_up_mode);this.Sr=GM(this.Sr,a.upg_content_filter_mode);if(b=a.unplugged_location_info)this.Nd=b;if(b=a.unplugged_partner_opt_out)this.Gl=JM("",b);if(b=a.partial_spherical)this.Zu="1"==b;this.Zm=JM(this.Zm,a.internal_ip_override);this.hasSubfragmentedFmp4=GM(this.hasSubfragmentedFmp4,a.sfmp4);this.defraggedFromSubfragments=GM(this.defraggedFromSubfragments,a.dfs);this.liveExperimentalContentId=IM(this.liveExperimentalContentId,a.live_experimental_content_id);(this.Tq.length||
this.Sq.length||a.is_yto_interstitial)&&this.cd.push("yto")};
g.h.Zc=function(){return!this.Ma||this.Ki};
g.h.yN=function(a){if(this.ih=a)switch(a.flavor){case "fairplay":a.fairPlayCert=this.fairPlayCert;a.pp=this.pp;a.np=this.np;break;case "widevine":a.fo=this.fo}jP(this)};
g.h.SS=function(a){if(!this.la()){if(this.Ar){var b=lM(a,this.Ar);b&&(a=b)}fP(this,a);this.ua.B&&this.ua.subscribe("refresh",this.vE,this);(0,g.lQ)("mrc");bM(this.ua)&&(this.Mk=!0);jP(this)}};
g.h.RS=function(a){this.la()||(this.fi=!1,this.V("dataloaderror",new MN("manifest.net.retryexhausted",!0,{backend:"manifest",rc:a.status})))};
g.h.vE=function(){this.la()||(this.ua.B||this.ua.unsubscribe("refresh",this.vE,this),this.Pz())};
g.h.Pz=function(){var a=this.ua.Xe(this.bv);0<a.length&&(this.V("cuepointupdated",a),this.bv+=a.length)};
g.h.NN=function(){if(this.spacecastFormatMap){var a=eP(this,this.spacecastFormatMap);return UN(this.Ib,this.isAd(),a,nma(this)).then(this.vr,void 0,this).then(this.EA,void 0,this)}return aF()};
g.h.KN=function(a){a=a||iP(this);if(this.ua&&!a){if(cP(this)&&(a=this.ua,!a.o["0"])){var b=new yI("0","fakesb",void 0,new tI(0,0,0,void 0,void 0,"auto"),null,null,1);a.o["0"]=this.Ma?new HL(new g.jL("https://web.archive.org/web/20181027110332/http://www.youtube.com/videoplayback"),b,"fake"):new g.XL(new g.jL("https://web.archive.org/web/20181027110332/http://www.youtube.com/videoplayback"),b,new g.rK(0,0),new g.rK(0,0),0,window.NaN)}return IN(dP(this),this.Ib.N,this.ua,this.ih).then(this.wr,void 0,this)}return aF()};
g.h.LN=function(a){if(!XO(this).o("html5_hlsvp_airplay_killswitch")&&a&&this.hlsvp)return aF();if(this.hlsFormats){a=eP(this,this.hlsFormats);if(jJ||QE()||ME()){var b=ON(a);if(b){var c=[],d={};for(l in b)for(var e=g.q(b[l]),f=e.next();!f.done;f=e.next()){var k=f.value;k.Mb&&(f=k.Mb.getId(),d[f]||(k=new pI(f,k.Mb),d[f]=k,c.push(k)))}var l=0<c.length?c:null}else l=null}else l=null;this.Pp=l;l=XO(this).o("html5_hls_cpn_killswitch")?"":this.clientPlaybackNonce;return Mla(this.Ib,this.isAd(),a,this.fh,
l).then(this.vr,void 0,this)}return aF()};
g.h.ON=function(){if(this.El&&this.VB){var a=this.Ib;var b=this.isAd(),c=Nla(this.El);a=AJ(c,jN(a,b)).then(this.vr,void 0,this)}else a=aF();return a};
g.h.MN=function(){var a=eP(this,this.Kl,this.fmtList);if(this.hlsvp){var b=this.hlsvp;var c=this.fh,d={cpn:this.clientPlaybackNonce};-1==b.indexOf("/ibw/")&&(d.ibw=c?String(c):"1369843");b={url:g.Zg(b,d),type:"application/x-mpegURL",quality:"auto",itag:"93"};a.push(b)}return UN(this.Ib,this.isAd(),a,nma(this)).then(this.vr,void 0,this)};
g.h.wr=function(a){this.Pa=a;a=this.getAvailableAudioTracks();a=a.concat(this.Si);for(var b=0;b<this.dm.length;b++)for(var c=this.dm[b],d=0;d<a.length;d++){var e=a[d],f=e.Mb.id==c.audioTrackId;if(e.Mb.isDefault&&b==this.Ys||f){if(c.captionTrackIndices)for(f=0;f<c.captionTrackIndices.length;f++)e.captionTracks[f]=this.captionTracks[c.captionTrackIndices[f]];g.u(c.defaultCaptionTrackIndex)&&(e.Ht=this.captionTracks[c.defaultCaptionTrackIndex]);g.u(c.forcedCaptionTrackIndex)&&(e.wp=this.captionTracks[c.forcedCaptionTrackIndex]);
e.gt=c.visibility||"UNKNOWN"}}};
g.h.vr=function(a){this.Jf=a;this.wr(new EN((0,g.I)(this.Jf,function(a){return a.eg()})))};
g.h.EA=function(){var a=(0,g.Yj)(this.Pa.videoInfos,function(a,c){return c.video.isAccelerated&&(!a||a.height<c.video.height)?c.video:a},null);
a&&(this.Ws=DJ(a.quality,a.quality,!0,"c"))};
g.h.Td=function(){var a={};this.Ga&&(a.fmt=g.xI(this.Ga),this.Ac&&g.xI(this.Ac)!=g.xI(this.Ga)&&(a.afmt=g.xI(this.Ac)));a.plid=this.playbackId;a.ei=this.eventId;a.list=this.playlistId;a.cpn=this.clientPlaybackNonce;this.videoId&&(a.v=this.videoId);this.Ho&&(a.infringe=1);this.Xh&&(a.splay=1);var b=mP(this);b&&(a.live=b);this.Rn&&(a.autoplay=1);this.ir&&(a.sdetail=this.ir);this.If&&(a.partnerid=this.If);this.osid&&(a.osid=this.osid);return a};
g.h.af=function(){if(!this.de)if(this.vb&&this.vb.storyboards){var a=this.vb.storyboards,b=a.playerStoryboardSpecRenderer;b&&b.spec?this.de=new dO(b.spec,this.lengthSeconds):(a=a.playerLiveStoryboardSpecRenderer)&&a.spec&&this.ua&&(b=Ob(this.ua.o).index)&&(this.de=new gO(a.spec,this.ua.isLive,b))}else(a=this.tc.storyboard_spec)?this.de=new dO(a,this.lengthSeconds):(a=this.tc.live_storyboard_spec)&&this.ua&&(b=Ob(this.ua.o).index)&&(this.de=new gO(a,this.ua.isLive,b));return this.de};
g.h.getStoryboardFormat=function(){if(this.vb&&this.vb.storyboards){var a=this.vb.storyboards;return(a=a.playerStoryboardSpecRenderer||a.playerLiveStoryboardSpecRenderer)&&a.spec||null}return this.tc.storyboard_spec||this.tc.live_storyboard_spec||null};
g.h.Cd=function(){return this.ua&&!(0,window.isNaN)(this.ua.Cd())?this.ua.Cd():gP(this)?0:this.lengthSeconds};
g.h.bc=function(){return this.ua&&!(0,window.isNaN)(this.ua.bc())?this.ua.bc():0};
g.h.Wd=function(){return!this.la()&&!(!this.videoId&&!this.El)};
g.h.Pb=function(){return oP(this)&&!this.fk&&!this.Mk};
g.h.VF=function(){var a={format:"RAW",method:"GET",withCredentials:this.FF};this.Al&&this.visitorData&&(a.headers={"X-Goog-Visitor-Id":this.visitorData});0<this.du&&(a.timeout=this.du);var b=this.ZA;0<this.pr&&(b=g.wE(b,{playerretry:this.pr}));this.rl&&(b=g.wE(b,{preload:1}));this.aB?ZL(YE,b,a).then(hE(this.AE),hE(this.rT),this):(a.context=this,a.onSuccess=this.AE,a.onError=this.lu,g.DE(b,a));(0,g.lQ)("vir");OO("vir");this.YA=g.tG()};
g.h.kd=function(a){if(30==this.If)return(a=this.xi["default.jpg"])?a:this.videoId?g.Zg("//web.archive.org/web/20181027110332/https://docs.google.com/vt",{id:this.videoId,authuser:this.jd,authkey:this.authKey}):"//web.archive.org/web/20181027110332/https://docs.google.com/images/doclist/cleardot.gif";a||(a="hqdefault.jpg");var b=this.xi[a];return b||this.Ib.G||"pop1.jpg"==a||"pop2.jpg"==a||"sddefault.jpg"==a||"hq720.jpg"==a||"maxresdefault.jpg"==a?b:mN(this.Ib,this.videoId,a)};
g.h.AE=function(a){if(!this.la()){var b=a.responseText;if(b){this.fi=!1;var c=g.rE(b);this.TB&&WN(c);"fail"==c.status?(this.setData(c),this.V("onStatusFail",c)):((0,g.lQ)("virc"),OO("virc"),(0,g.D)(g.j1,function(a){a in this.tc&&(c[a]=this.tc[a])},this),this.setData(c),oP(this)?jP(this):this.V("dataloaderror",new MN("manifest.net.retryexhausted",!0,{successButUnplayable:"1"})))}else this.lu(a)}};
g.h.rT=function(a){this.lu(a.qj)};
g.h.lu=function(a){if(!this.la()){var b=a?a.status:-1;a=this.pr>=this.ax||400==b;var c=200<b?"manifest.net.badstatus":"manifest.net.connect",d=((g.tG()-this.YA)/1E3).toFixed(3);b={backend:"gvi",rc:b,rt:d};a&&this.ax?c="manifest.net.retryexhausted":a||(this.pr++,this.UF.start());this.V("dataloaderror",new MN(c,a,b))}};
g.h.Jk=function(){return this.Ma||this.fq};
g.h.getAvailableAudioTracks=function(){return this.Pa?0<this.Pa.getAvailableAudioTracks().length?this.Pa.getAvailableAudioTracks():this.Pp||[]:[]};
g.h.getAudioTrack=function(){var a=this;if(this.Ac&&!CI(this.Ac))return g.Ia(this.getAvailableAudioTracks(),function(b){return b.id==a.Ac.id})||this.Si;
if(this.Pp){if(!this.Wn)for(var b=g.q(this.Pp),c=b.next();!c.done;c=b.next())if(c=c.value,c.Mb.isDefault){this.Wn=c;break}return this.Wn||this.Si}return this.Si};
g.h.getPlayerResponse=function(){return this.vb};
g.h.getPlaylistId=function(){return null};
g.h.ab=function(){return this};
g.h.Lm=function(){return this.Ib.getVideoUrl(this.videoId)};
g.h.gh=function(){return!!this.ua&&this.ua.gh()};
g.h.hh=function(){return!!this.ua&&this.ua.hh()};
g.h.ig=function(){return!!this.ua&&this.ua.ig()};
g.h.jj=function(){return!!this.ua&&this.ua.jj()};
g.h.isAd=function(){return!!this.adFormat};
g.j1="oauth_token ypc_buy_url ypc_full_video_message ypc_item_thumbnail ypc_item_title ypc_item_url ypc_module ypc_offer_button_text ypc_offer_button_formatted_text ypc_offer_description ypc_offer_headline ypc_offer_id ypc_offer_type ypc_overlay_timeout ypc_preview ypc_signin_message ypc_vid".split(" ");dma="author cc_asr cc_load_policy iv_load_policy iv_new_window keywords oauth_token requires_purchase rvs subscribed title ttsurl ypc_buy_url ypc_full_video_length ypc_item_thumbnail ypc_item_title ypc_item_url ypc_offer_button_text ypc_offer_button_formatted_text ypc_offer_description ypc_offer_headline ypc_offer_id ypc_preview ypc_price_string ypc_video_rental_bar_text".split(" ");
ZO=["annotations","captions","storyboard","chapterMarkers"];Ama.prototype.isEmpty=function(){return this.endTime==this.startTime};Bma.prototype.update=function(){if(!this.A.o.experiments.o("html5_ignore_updates_before_initial_ping")||this.J){var a=this.A.A()||0,b=g.AP(this.A);if(a!=this.o||Ema(this,a,b)){var c;if(!(c=a<this.o||a-this.o>b-this.F+2||Ema(this,a,b))){var d=this.A.Td();c=d.volume;var e=c!=this.L;d=d.muted;d!=this.K?(this.K=d,c=!0):(!e||0<=this.D||(this.L=c,this.D=b),c=b-this.D,0<=this.D&&2<c?(this.D=-1,c=!0):c=!1)}c&&(g.zP(this),this.B=a);this.F=b;this.o=a}}};var Ima={other:1,none:2,wifi:3,cellular:7};g.dT=vc(function(){var a="";try{var b=g.Od("CANVAS").getContext("webgl");b&&(b.getExtension("WEBGL_debug_renderer_info"),a=b.getParameter(37446),a=a.replace(/[ :]/g,"_"))}catch(c){}return a});var uqa={vZ:"YTP_ERROR_ALREADY_PINNED_ON_A_DEVICE",AUTHENTICATION_EXPIRED:"ERROR_AUTHENTICATION_EXPIRED",BZ:"ERROR_AUTHENTICATION_MALFORMED",CZ:"ERROR_AUTHENTICATION_MISSING",GZ:"ERROR_BAD_REQUEST",h_:"ERROR_CGI_PARAMS_MALFORMED",i_:"ERROR_CGI_PARAMS_MISSING",O_:"YTP_DEVICE_FALLBACK",t0:"YTP_ERROR_LICENSE",u0:"YTP_ERROR_VIDEO_UNAVAILABLE",H0:"YTP_ERROR_FORMAT_UNAVALIABLE",K0:"YTP_ERROR_GEO_FAILURE",b1:"YTP_ERROR_GENERIC_WITHOUT_LINK",c1:"YTP_HTML5_FLASH_DEPRECATED",d1:"YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK",
w1:"YTP_ERROR_INVALID_DRM_MESSAGE",v3:"YTP_ERROR_PURCHASE_NOT_FOUND",w3:"YTP_ERROR_PURCHASE_REFUNDED",B3:"YTP_ERROR_RENTAL_EXPIRED",c_:"YTP_ERROR_CAST_SESSION_DEVICE_MISMATCHED",d_:"YTP_ERROR_CAST_SESSION_VIDEO_MISMATCHED",f_:"YTP_ERROR_CAST_TOKEN_FAILED",e_:"YTP_ERROR_CAST_TOKEN_EXPIRED",g_:"YTP_ERROR_CAST_TOKEN_MALFORMED",X3:"YTP_ERROR_SERVER_ERROR",w4:"YTP_ERROR_STOPPED_BY_ANOTHER_PLAYBACK",A4:"YTP_ERROR_STREAM_LICENSE_NOT_FOUND",y4:"YTP_ERROR_STREAMING_DEVICES_QUOTA_PER_24H_EXCEEDED",z4:"YTP_ERROR_STREAMING_NOT_ALLOWED",
K3:"YTP_ERROR_RETRYABLE_ERROR",O4:"YTP_ERROR_TOO_MANY_STREAMS_PER_USER",N4:"YTP_ERROR_TOO_MANY_STREAMS_PER_ENTITLEMENT",d5:"YTP_ERROR_UNSUPPORTED_DEVICE",q5:"YTP_ERROR_VIDEO_FORBIDDEN",s5:"YTP_ERROR_VIDEO_NOT_FOUND"},Kma={300:"YTP_ERROR_STREAMING_DEVICES_QUOTA_PER_24H_EXCEEDED",301:"YTP_ERROR_ALREADY_PINNED_ON_A_DEVICE",303:"YTP_ERROR_STOPPED_BY_ANOTHER_PLAYBACK",304:"YTP_ERROR_TOO_MANY_STREAMS_PER_USER",305:"YTP_ERROR_TOO_MANY_STREAMS_PER_ENTITLEMENT",400:"YTP_ERROR_VIDEO_NOT_FOUND",401:"YTP_ERROR_GEO_FAILURE",
402:"YTP_ERROR_STREAMING_NOT_ALLOWED",403:"YTP_ERROR_UNSUPPORTED_DEVICE",405:"YTP_ERROR_VIDEO_FORBIDDEN",500:"YTP_ERROR_PURCHASE_NOT_FOUND",501:"YTP_ERROR_RENTAL_EXPIRED",502:"YTP_ERROR_PURCHASE_REFUNDED",5E3:"ERROR_BAD_REQUEST",5001:"ERROR_CGI_PARAMS_MISSING",5002:"ERROR_CGI_PARAMS_MALFORMED",5100:"ERROR_AUTHENTICATION_MISSING",5101:"ERROR_AUTHENTICATION_MALFORMED",5102:"ERROR_AUTHENTICATION_EXPIRED",5200:"YTP_ERROR_CAST_TOKEN_MALFORMED",5201:"YTP_ERROR_CAST_TOKEN_EXPIRED",5202:"YTP_ERROR_CAST_TOKEN_FAILED",
5203:"YTP_ERROR_CAST_SESSION_VIDEO_MISMATCHED",5204:"YTP_ERROR_CAST_SESSION_DEVICE_MISMATCHED",6E3:"YTP_ERROR_INVALID_DRM_MESSAGE",7E3:"YTP_ERROR_SERVER_ERROR",8E3:"YTP_ERROR_RETRYABLE_ERROR"};var Sxa=gZ&&4>hZ?.1:0,Cva=new BP;BP.prototype.o=null;BP.prototype.getDuration=function(){return this.duration||0};
BP.prototype.getCurrentTime=function(){return this.currentTime||0};
BP.prototype.A=function(){this.hasAttribute("controls")&&this.setAttribute("controls","true")};g.t(g.CP,g.L);g.h=g.CP.prototype;g.h.Lj=ba(6);g.h.rq=function(){return this.C};
g.h.Sk=function(a){var b="";a&&(Mma(this,a),b=a.o);this.Dd()&&""==b||(b&&this.Dd()!=b&&(this.wq(b),this.A&&(this.A.dispose(),this.A=null)),a&&a.A||this.load(),this.J||(this.addEventListener("volumechange",this.Rz),this.J=!0))};
g.h.Uq=function(){if(!this.A||this.A.la()){var a=this.na();a=window.MediaSource?new window.MediaSource:window.WebKitMediaSource?new window.WebKitMediaSource:new QI(a);a=new cJ(a);this.Sk(a.jn);this.A=a}};
g.h.qk=function(){this.K||(this.D=null);if(this.D)return this.D;this.Uq();var a=this.A;this.A=null;return this.D=a};
g.h.bd=function(){this.tj()&&this.kc(0);!this.Dd()&&this.C&&(g.gE(Error("playVideo without src")),this.wq(this.C.o),this.C.A||this.load());var a=this.play();!a&&gZ&&7<=hZ&&OF(this,"playing",(0,g.B)(function(){g.mE((0,g.B)(this.HA,this,this.getCurrentTime(),0),500)},this));
return a};
g.h.HA=function(a,b){this.uj()||this.getCurrentTime()>a||10<b||(this.play(),g.mE((0,g.B)(this.HA,this,this.getCurrentTime(),b+1),500))};
g.h.kc=function(a){0<this.Fe()&&(gZ&&4>hZ&&(a=Math.max(.1,a)),this.un(a))};
g.h.Hd=function(){!this.A&&this.Dd()&&(jJ&&0<this.getCurrentTime()&&this.kc(0),this.Xw(),this.load(),Mma(this,null))};
g.h.Tk=function(){try{return{vct:this.getCurrentTime().toFixed(3),vd:this.getDuration().toFixed(3),vpl:UI(this.Hm()),vbu:UI(this.dg()),vpa:""+ +this.uj(),vsk:""+ +this.tq(),ven:""+ +this.tj(),vpr:""+this.Pc(),vrs:""+this.Fe(),vns:""+this.Fp(),vec:""+this.Eb(),vvol:""+this.getVolume()}}catch(a){return{}}};
g.h.addEventListener=function(a,b){this.G.X(a,b,!1,this);this.Nt(a)};
g.h.removeEventListener=function(a,b){this.G.Ia(a,b,!1,this)};
g.h.dispatchEvent=function(a){return this.G.dispatchEvent(a)};
g.h.Mt=function(){this.H=!1};
g.h.Jt=function(){this.H=!0;this.Vk(!0)};
g.h.Rz=function(){this.H&&!this.qq()&&this.Vk(!0)};
g.h.Y=function(){this.J&&this.removeEventListener("volumechange",this.Rz);this.D&&this.D.dispose();this.A&&this.A.dispose();g.L.prototype.Y.call(this)};g.t(HP,g.of);HP.prototype.preventDefault=function(){g.of.prototype.preventDefault.call(this);this.o&&this.o.preventDefault()};
HP.prototype.stopPropagation=function(){g.of.prototype.stopPropagation.call(this);this.o&&this.o.stopPropagation()};g.JP.prototype.sb=function(){return g.W(this,8)&&!g.W(this,512)&&!g.W(this,64)&&!g.W(this,2)};
g.JP.prototype.isError=function(){return g.W(this,128)};g.t(XP,g.L);
XP.prototype.D=function(a){if(!this.la()&&(a=0<=a?a:g.AP(this.o),-1<["PL","B","S"].indexOf(this.B)&&(!g.Yb(this.A)||a>=this.C+30)&&(g.WP(this,a,"vps",[this.B]),this.C=a),!g.Yb(this.A))){ZP(this,a);var b=a,c=this.o.G(),d=c.droppedVideoFrames,e=d-this.ha;if(d>c.totalVideoFrames||5E3<e)this.onError("html5.badframedropcount","df."+d+";tf."+c.totalVideoFrames);else 0<e&&g.WP(this,b,"df",[e]);this.ha=d;!this.o.o.experiments.o("disable_webgl_reporting")&&0<this.F&&(g.WP(this,a,"glf",[this.F]),this.F=0);
a={event:"streamingstats"};this.o.videoData.Ga&&(a.fmt=g.xI(this.o.videoData.Ga),(b=this.o.videoData.Ac)&&g.xI(b)!=a.fmt&&(a.afmt=g.xI(b)));a.cpn=this.o.videoData.clientPlaybackNonce;a.ei=this.o.videoData.eventId;a.el=sP(this.o.videoData);a.docid=this.o.videoData.videoId;a.ns=this.o.o.ca;a.fexp=this.o.o.experiments.experimentIds.toString();a.cl="218622685";this.o.videoData.adFormat&&(a.adformat=this.o.videoData.adFormat);(b=mP(this.o.videoData))&&(a.live=b);a.seq=this.K++;if(!this.o.o.experiments.o("html5_prevent_qoe_spam_killswitch")&&
(7E3==this.K&&g.gE(Error("Sent over 7000 pings"),"WARNING"),7E3<=this.K))return;g.fc(a,this.o.o.A);b=g.Zg("//"+this.o.o.Ah+"/api/stats/qoe",a);a=c="";for(var f in this.A)null==this.A[f]?g.gE(Error("Stats report key has invalid value: "+f),"WARNING"):(d="&"+f+"="+this.A[f].join(","),100<d.length?a+=d:c+=d);f=b+c;a=a.replace(/ /g,"%20");b=wP(this.o.videoData);c=this.o.videoData.visitorData;d=b&&yE();e=c&&this.o.o.Da;if(d||e){var k={};d&&(k.Authorization="Bearer "+b);e&&(k["X-Goog-Visitor-Id"]=c);g.DE(f,
{headers:k,withCredentials:!0,method:"POST",postBody:a})}else VE(f,void 0,a);this.A={}}};
XP.prototype.wa=function(){if(this.o.videoData.ih){var a=this.o.videoData.ih;aQ(this,"drm-"+a.flavor);aQ(this,"eme-"+(a.A?"final":yN(a)?"ms":"com.youtube.fairplay"==a.o?"ytfp":CN(a)?"safarifp":"nonfinal"))}};
XP.prototype.onError=function(a,b){var c=g.AP(this.o);Rma(this,c,a,b);ZP(this,c);$P(this)};
XP.prototype.Y=function(){g.L.prototype.Y.call(this);window.clearInterval(this.ba)};
var k1={},Sma=(k1[5]="N",k1[-1]="N",k1[3]="B",k1[0]="EN",k1[2]="PA",k1[1]="PL",k1);bQ.prototype.send=function(a){if(!this.W){var b=dQ(this);b=g.Zg(this.pa,b);if(this.G)this.K&&(a={method:"POST",Tb:{atr:this.K}},this.Al&&this.visitorData&&(a.headers={"X-Goog-Visitor-Id":this.visitorData}),g.DE(b,a));else{var c=Uma(this,a);c?g.DE(b,c):g.TE(b,a)}this.W=!0}};
bQ.prototype.o=function(a){void 0==a&&(a=window.NaN);return(1*a.toFixed(3)).toString()};g.t(eQ,g.L);g.h=eQ.prototype;g.h.VS=function(a,b){if(!this.la()){this.G=window.NaN;this.B.update();var c=Dma(this.B),d=Xma(this,c);b&&(d.F=a);var e=400<this.K;!(1<c.length)&&c[0].isEmpty()||e||(d.A=fQ(this,!0,a));d.send();this.K++}};
g.h.onError=function(a,b){if(!this.la())this.A.onError(a,b)};
g.h.sr=function(a){var b=this.o.o,c=this.o.videoData,d={ns:b.ca,el:sP(c),eurl:b.Ba,fmt:c.Ga?g.xI(c.Ga):0,html5:1,list:c.playlistId,plid:c.playbackId,cpn:c.clientPlaybackNonce,ei:c.eventId,ps:b.playerStyle,noflv:1,st:this.o.A(),video_id:c.videoId,metric:a};vP(c)&&(d.autoplay="1");"heartbeat"==a&&(d.tpmt=Cma(this.B));g.Ea(d,b.A);hQ(this,g.Zg(b.experiments.o("cardio_base_url_killswitch")?(b.B?b.protocol+"://www.youtube.com/":b.baseYtUrl)+"live_204":b.baseYtUrl+"live_204",d))};
g.h.jb=function(){};
g.h.Y=function(){g.L.prototype.Y.call(this);g.oE(this.G);this.G=window.NaN;var a=this.B;window.clearInterval(a.G);a.G=window.NaN;g.oE(this.C)};g.l1={"default":0,monoSerif:1,propSerif:2,monoSans:3,propSans:4,casual:5,cursive:6,smallCaps:7};g.Txa=Object.keys(g.l1).reduce(function(a,b){a[g.l1[b]]=b;return a},{});
g.m1={none:0,raised:1,depressed:2,uniform:3,dropShadow:4};g.Uxa=Object.keys(g.m1).reduce(function(a,b){a[g.m1[b]]=b;return a},{});
g.n1={normal:0,bold:1,italic:2,bold_italic:3};g.Vxa=Object.keys(g.n1).reduce(function(a,b){a[g.n1[b]]=b;return a},{});g.t(iQ,bI);g.h=iQ.prototype;g.h.Sa=function(){var a=iU(this.app);2==a&&uX(this.app)&&(a=1);return a};
g.h.PC=function(a,b,c,d,e){return nwa(this.app,a,b,c,d,e)};
g.h.nP=function(a,b,c){this.app.o.F.add(a,{Pi:b,Fl:c})};
g.h.pP=function(a,b){Y_(this.app,a,b||this.playerType)};
g.h.ji=function(a){return Q_(this.app,a)};
g.h.An=function(a,b,c,d){U_(this.app,a,c||this.playerType,b,d)};
g.h.yq=function(a,b,c,d){c=void 0===c?window.NaN:c;var e=this.app;b=b||this.playerType;d=void 0===d?"":d;b=void 0===b?1:b;c=void 0===c?window.NaN:c;d=void 0===d?"":d;var f=LM(a);e.Ha.get(b+f)||e.B&&e.B.getVideoData().videoId==f||(e.o.jc&&WN(a),a=new g.YO(e.o,a),f=c,c=d,a.rl=!0,d=VZ(e,b),ZS(d,a,(0,g.B)(e.Td,e)),!e.o.experiments.o("unplugged_tvhtml5_video_preload_no_dryrun")&&1==b&&"TVHTML5_UNPLUGGED"==e.o.A.c||eT(d,!0),e.o.experiments.o("html5_expire_preloaded_players")&&!f&&(f=3600),e.Ha.set(b+a.videoId,
d,f),d="prefetch_"+a.videoId,GO("prefetch",["pfp"],d),(0,g.mQ)("docid",a.videoId,d),(0,g.mQ)("plt",b,d),(0,g.mQ)("c",e.o.A.c,d),(0,g.mQ)("cver",e.o.A.cver,d),c&&(0,g.mQ)("pftr",c,d))};
g.h.Yk=function(a,b){E_(this.app,a,b)};
g.h.xn=function(a){lwa(this.app,a)};
g.h.Ge=function(a,b,c){f0(this.app,this.app.getCurrentTime()+a,b,c,this.playerType)};
g.h.kc=function(a,b,c,d){f0(this.app,a,b,c,d||this.playerType)};
g.h.RP=function(a){if(a){var b=this.getPlaylistId();if(!b||b==a.list){var c=a.video;(b=this.app.G)?this.isFullscreen()&&((c=c[b.Be()])&&c.encrypted_id!=b.ab().videoId||(a.index=b.Be())):I_(this.app,{list:a.list,index:a.index,playlist_length:c.length});uQ(this.app.G,a);this.za("onPlaylistUpdate")}}else a=this.app,J_(a),a.A.za("onPlaylistUpdate")};
g.h.QP=function(){EG()};
g.h.SP=function(a,b){var c=g.Y(this.app,this.playerType||1);c&&c.getVideoData().uh(a,b)};
g.h.getPlayerResponse=function(){var a=g.Y(this.app,this.playerType);return a?a.getVideoData().getPlayerResponse():null};
g.h.getStoryboardFormat=function(){return this.app.getStoryboardFormat()};
g.h.vP=function(a,b){var c=this.app.af();if(!c)return null;c=c.o[b];return c?(c=g.YN(c,a))?{column:c.column,columns:c.columns,height:c.height,row:c.row,rows:c.rows,url:c.url,width:c.width}:null:null};
g.h.wP=function(a,b){var c=this.app.af();return c?(c=c.o[b])?c.Gq(a):-1:-1};
g.h.xP=function(a){var b=this.app.af();return b?(b=b.o[a])?{index:a,intervalMs:b.o,maxFrameIndex:b.Gn(),minFrameIndex:b.cw()}:null:null};
g.h.uP=function(){var a=this.app.af();return a?a.o.length:0};
g.h.sP=function(){var a=this.app.o;return{jc:a.jc,Lb:a.Lb}};
g.h.getVideoData=function(){var a=bI.prototype.getVideoData.call(this),b=g.Y(this.app,this.playerType);b&&(b=b.getVideoData(),a.backgroundable=b.backgroundable,a.eventId=b.eventId,a.cpn=b.clientPlaybackNonce,a.hasVideoContentProtection=!!g.lP(b),a.isLive=b.Ma,a.itct=b.Gk,a.paidContentOverlayText=oma(b),a.paidContentOverlayDurationMs=pma(b),null!=b.liveUtcStartSeconds&&(a.liveUtcStartSeconds=b.liveUtcStartSeconds));return a};
g.h.getCurrentTime=function(a,b){return a?this.app.getCurrentTime(a,b):bI.prototype.getCurrentTime.call(this)};
g.h.getDuration=function(a,b){return a?this.app.getDuration(a,b):bI.prototype.getDuration.call(this)};
g.h.Zk=function(a){if(3==this.Sa())return g.WT(this.app.D).jQ();var b=this.app.getVideoData(),c=g.Y(this.app,a)||g.Y(this.app),d=c.getPlayerType(),e=this.getCurrentTime(a);a=this.getDuration(a);var f=ewa(this.app,d);c=this.app.o.experiments.o("web_player_pegged_to_live_killswitch")?xT(c):this.app.isPeggedToLive(d);var k=this.app;var l=g.Y(k,void 0);if(l){l=Zva(k,l);var m=window.NaN;l.A&&(m=Nma(l.A));m=0<=m?m:l.getCurrentTime();k=O_(k,m,l)}else k=0;l=this.app.bc(d);m=this.app;(d=g.Y(m,d))?(d=G_(m,
d),d=O_(m,Mqa(d),d)):d=0;return{allowSeeking:this.app.Zc(),clipEnd:b.clipEnd,clipStart:b.clipStart,current:e,displayedStart:-1,duration:a,ingestionTime:f,isPeggedToLive:c,loaded:k,seekableEnd:d,seekableStart:l}};
g.h.Jv=function(a){return awa(this.app,a)};
g.h.oP=function(a){return II(a)};
g.h.zn=function(){var a=g.Y(this.app);if(a)if(a.N){var b=a.Ba;a=a.N;a=GJ(a.videoData.Ur,a.videoData.Ws);"auto"!=yH()||(a=GJ(a,b.o.qd));b=HJ(a)}else b="auto";else b="unknown";return b};
g.h.aD=function(a,b){var c=g.Y(this.app,this.playerType);if(c){var d=DJ(a,b||a,!0,"m");c.o.Ur=d;if(c.N){var e=c.N;if(e.Pa.o){var f=g.sI[yH()];e=e.Pa.videoInfos[0].ab().o;f>e&&0!=e&&d.o==e||g.rH("yt-player-quality",HJ(d),2592E3)}}wT(c)}};
g.h.rP=function(){var a=this.app.getVideoData();var b=this.app.getCurrentTime();if(a.ua&&a.Ga){var c=a.ua.o[a.Ga.id];c?(a=c.index.Wg(b),c=c.index.Yd(a),b={sequence:a,elapsed:Math.floor(1E3*(b-c))}):b=null}else b=null;return b};
g.h.yj=function(a){var b=this.app,c=g.Y(b,this.playerType);c&&b.o.Kb.has(a.toString())&&c.C&&(b=gQ(c.C,"engage"),b.B=a,b.send(void 0))};
g.h.Bn=function(a,b,c){var d=this.app.D.zc;d&&d.mn()&&d.yv(a,b,c)};
g.h.AP=function(a,b){var c=g.kI(this);c&&c.Vv(a,b)};
g.h.getAudioTrack=function(){var a=g.Y(this.app,this.playerType);return a?a.getAudioTrack():this.app.getVideoData().Si};
g.h.Pv=function(a){3==this.Sa()&&g.WT(this.app.D).Dn("control_set_audio_track",a);var b=g.Y(this.app,this.playerType);if(b&&!b.la()&&!g.W(b.B,128))if(b.o.Pa.o){if(b=b.D,!b.la()){var c=b.G;c.C=c.F.o[a.id];c.L=c.C;b.V("audioformatchange",new zQ(c.L,c.B,"m"));b.V("reattachrequired")}}else{a:if(c=b.o,c.Ac&&!CI(c.Ac)||a==c.Wn||!c.Jf||0>=c.Jf.length)c=!1;else{for(var d=g.q(c.Jf),e=d.next();!e.done;e=d.next()){e=e.value;if(!(e instanceof RN)){c=!1;break a}var f=a.Mb.getId();e.B&&(e.B.A=f,e.A=null)}c.Wn=
a;c=!0}c&&(b.V("internalaudioformatchange",b.o,!0),yT(b)&&b.Jb("hlsaudio",a.id))}};
g.h.getAvailableAudioTracks=function(){return g.Y(this.app,this.playerType).getAvailableAudioTracks()};
g.h.tP=function(){var a=g.Y(this.app,this.playerType);return a&&a.getVideoData().Ga?HJ(a.N?Vpa(a.Ba,a.N,oT(a)):FJ):"unknown"};
g.h.yP=function(){var a=g.Y(this.app,this.playerType);return a?a.F.experiments.o("html5_appletv_quality_selection_killswitch")||!a.o.Pa||a.o.Pa.o?yH():HJ(a.o.Ur):"auto"};
g.h.MP=function(a,b){var c=this.app;c.Pe=a;c.qd=b;c.A.V("sizestylechange",a,b);c.H.Ef()};
g.h.qP=function(){var a=this.app.D.cg;a&&a.eL()};
g.h.bD=function(){var a=g.kI(this);a&&a.Bq(!0)};
g.h.ZC=function(){var a=g.kI(this);a&&a.Bq(!1)};
g.h.xj=function(){var a=this.app.o;a=this.app.K.o&&!a.experiments.o("kevlar_miniplayer_disable_vis");var b=this.sj(),c=this.isFullscreen()||YM(this.app.o);return b?4:IS()?3:c?2:a?1:this.app.K.A?5:this.app.K.D?7:0};
g.h.isFullscreen=function(){return this.app.isFullscreen()};
g.h.DP=function(){return this.app.K.A};
g.h.sj=function(){var a=g.Y(this.app,this.playerType);return!!a&&vT(a)};
g.h.PP=function(){return!0};
g.h.YC=function(a){a=g.o_(this.app.H,a);return{left:a.left,top:a.top,width:a.width,height:a.height}};
g.h.LP=function(a){this.app.o.enableSafetyMode=a};
g.h.OP=function(a){this.app.o.Pe!=a&&(this.app.o.Pe=a,(a=g.Y(this.app,this.playerType))&&wT(a))};
g.h.GP=function(a){tF();d0(this.app,a?2:0)};
g.h.re=function(){this.app.o.ga?this.isFullscreen()?vF(window.document.documentElement):sF(window.document.documentElement):tF()?this.isFullscreen()?vF(a0(this.app)):sF(this.app.H.element):this.za("onFullscreenToggled",this.isFullscreen())};
g.h.Mv=function(){var a=this.app.D.Kc;a&&a.created&&a.destroy();(a=g.Y(this.app))&&GT(a);(a=this.app.D.Pg)&&a.qN()&&g.TT(this.app.L,!0)};
g.h.Hd=function(){var a=this.app.o;!a.experiments.o("disable_new_pause_state3")&&oN(a)&&"blazer"!=a.playerStyle?this.Mv():bI.prototype.Hd.call(this)};
g.h.bB=function(){return JT(g.Y(this.app,this.playerType),!0)};
g.h.zq=function(a){this.app.D.dc.Kx(a,!0)};
g.h.wj=function(){var a=this.app.D.dc;return a?a.au():null};
g.h.Ov=function(){this.app.D.dc.IF()};
g.h.CP=function(){var a=g.Y(this.app,this.playerType);if(!a)return!1;a=a.getVideoData();return!!a&&a.Wd()&&!!a.Ga&&a.Ga.video.isAccelerated&&a.Ga.video.B};
g.h.isPeggedToLive=function(a){return this.app.isPeggedToLive(void 0,void 0===a?!0:a)};
g.h.KP=function(a){var b=this.app,c=b.K;c.o!=a&&(c.o=a,c.B());a=b.D;(a=g.X(a.T).useMiniplayerUi?a.kn:null)&&(b.K.o?a.load():a.unload());b.A.V("minimized")};
g.h.IP=function(a){var b=this.app.K;b.A!=a&&(b.A=a,b.B())};
g.h.vn=function(a){return P_(this.app,a)};
g.h.Lv=function(a){if(a){var b=this.app.D.ee;b&&b.JC(a)}};
g.h.Iv=function(){var a=this.app.D.ee;return a?a.IC():{}};
g.h.FP=function(a){var b=this.app;b.o.Ch=a;b.B&&(a=b.B,a.C&&g.zP(a.C.B),b.o.K&&swa(b))};
g.h.EP=function(){};
g.h.setVolume=function(a,b){gI(this,a,b)};
g.h.mute=function(a){hI(this,a)};
g.h.sg=function(a){iI(this,a)};
g.h.sN=function(){return this.app.ba};
g.h.Xk=function(a){if("annotations_module"==a){var b=this.app.D.zc;b&&!b.loaded&&b.load()}bI.prototype.Xk.call(this,a)};
g.h.yn=function(a){if("annotations_module"==a){var b=this.app.D.zc;b&&b.loaded&&b.unload()}bI.prototype.yn.call(this,a)};
g.h.Xd=function(a,b,c){if(!b)return null;var d=this.app.D;switch(a){case "ad":return(a=d.Kc)&&a.hD&&a.hD(b,c);case "remote":return(a=g.WT(d))&&a.iQ(b,c);case "unplugged":return(a=g.hN(g.X(d.T))?d.Qf:null)&&a.B(b,c);case "spacecast":return(c=d.Jj)&&c.D(b);case "annotations_module":return(a=d.zc)&&a.gO(b,c);case "creatorendscreen":return(a=d.Yf)&&a.mO(b,c)}return bI.prototype.Xd.call(this,a,b,c)};
g.h.vj=function(a){var b=this.app.D;switch(a){case "ad":return(b=b.Kc)&&b.nQ&&"addata adstate breakscount displaystate getContentVideoData isExternalShelfAllowedFor loadedadbreaks midrollfreqcap".split(" ");case "remote":return g.WT(b)&&["casting","receivers","currentReceiver","quickCast"];case "annotations_module":return(b=b.zc)&&b.hO();case "creatorendscreen":return(b=b.Yf)&&b.nO();case "unplugged":return(g.hN(g.X(b.T))?b.Qf:null)&&"settingsMenuShown hideSettingsMenu setSettingsMenuParentNode showSettingsMenu getStoryboardFrameData getStoryboardFrameIndex getStoryboardFrameIntervalSeconds getStoryboardMaxFrameIndex".split(" ")}return a?
bI.prototype.vj.call(this,a):(a=bI.prototype.vj.call(this),b.Kc&&a.push("ad"),g.WT(b)&&a.push("remote"),b.zc&&a.push("annotations_module"),b.Yf&&a.push("creatorendscreen"),g.hN(g.X(b.T))&&b.Qf&&a.push("unplugged"),a)};
g.h.Nv=function(){var a=this.app.H.Ua();return{width:a.width,height:a.height}};
g.h.HP=function(a){var b=this.app.H;b.N=KM(a,!0);b.Ef()};
g.h.cY=function(){var a=g.kI(this);a&&a.Xv()};
g.h.zP=function(){return g.m_(this.app.H)};
g.h.NP=function(a){var b=this.app.H;b.ba!=a&&(b.ba=a,b.Ef())};
g.h.JP=function(a,b){var c=this.app.H,d=new g.sd(a,b);g.td(c.D,d)||(c.D=d,c.Ef())};
g.h.BP=function(){return uX(this.app)};g.t(jQ,iQ);g.h=jQ.prototype;g.h.bd=function(){W_(this.app,!0,this.playerType);pX(this.app,this.playerType)};
g.h.od=function(){rX(this.app,this.playerType)};
g.h.Ge=function(a,b,c){W_(this.app,!0,this.playerType);var d=this.app,e=this.playerType;sX(d,d.getCurrentTime()+a,b,c,e)};
g.h.kc=function(a,b){W_(this.app,!0,this.playerType);sX(this.app,a,b,void 0,this.playerType)};
g.h.Hd=function(){qwa(this.app)};kQ.prototype.reset=function(){zO("")};
kQ.prototype.info=function(a,b){(0,g.mQ)(a,b,"")};g.t(g.nQ,g.L);g.nQ.prototype.getId=function(){return this.Ja};
g.nQ.prototype.toString=function(){return"CueRange{"+this.namespace+":"+this.Ja+"}["+ena(this.start)+", "+ena(this.end)+"]"};
g.nQ.prototype.contains=function(a,b){return a>=this.start&&(a<this.end||a==this.end&&this.start==this.end)&&(null==b||a<b&&b<=this.end)};
var dna=1;g.nQ.prototype.getId=g.nQ.prototype.getId;g.pQ.prototype.toString=function(){return this.type+this.id};g.t(g.rQ,g.VF);g.h=g.rQ.prototype;g.h.hasNext=function(a){return this.loop||!!a||this.Gb+1<this.ci};
g.h.kg=function(a){return this.loop||!!a||0<=this.Gb-1};
g.h.ab=function(a,b,c){a=void 0!=a?a:this.Gb;a=this.Ra&&a in this.Ra?this.Ra[this.te[a]]:null;var d=null;a&&(b&&(a.autoplay="1"),c&&(a.autonav="1"),d=new g.YO(this.Ib,a),g.M(this,d),d.startSeconds=this.startSeconds||d.clipStart||0,this.listId&&(d.playlistId=this.listId.toString()));return d};
g.h.setShuffle=function(a){this.vG=a;a=this.te&&null!=this.te[this.Gb]?this.te[this.Gb]:this.Gb;this.te=[];for(var b=0;b<this.Ra.length;b++)this.te.push(b);this.Gb=a;this.iq++;if(this.vG){a=this.te[this.Gb];for(b=1;b<this.te.length;b++){var c=Math.floor(Math.random()*(b+1)),d=this.te[b];this.te[b]=this.te[c];this.te[c]=d}for(b=0;b<this.te.length;b++)this.te[b]==a&&(this.Gb=b);this.iq++}this.V("shuffle")};
g.h.kd=function(a){a=a||"hqdefault.jpg";var b=this.xi[a];if(b||this.Ib.G||"sddefault.jpg"==a||"hq720.jpg"==a||"maxresdefault.jpg"==a)return b;if(this.FG.length)return mN(this.Ib,this.FG[0],a)};
g.h.Be=function(){return this.Gb};
g.h.getLength=function(){return this.ci};
g.h.Am=function(a){if(a&&(a=a.videoId,!this.Ra[this.Gb]||this.Ra[this.Gb].video_id!=a))for(var b=0;b<this.Ra.length;b++)if(this.Ra[b].video_id==a){this.Gb=b;break}};
g.h.onReady=function(a){this.Tn=a;this.ad&&g.mE(this.Tn,0)};
g.h.getPlaylistId=function(){return this.listId?this.listId.toString():null};
g.h.Lm=function(){return this.Ib.getVideoUrl(this.ab().videoId,this.getPlaylistId())};
g.h.Y=function(){this.Tn=null;g.mf(this.Ra);g.VF.prototype.Y.call(this)};g.t(g.vQ,g.CP);g.h=g.vQ.prototype;g.h.Vh=function(){return!0};
g.h.KC=function(){return!1};
g.h.na=function(){return this.o};
g.h.Dd=function(){return this.o.src};
g.h.wq=function(a){var b=this.Pc();this.o.src=a;this.jf(b)};
g.h.Xw=function(){this.o.removeAttribute("src")};
g.h.Pc=function(){try{return 0<=this.o.playbackRate?this.o.playbackRate:1}catch(a){return 1}};
g.h.jf=function(a){this.Pc()!=a&&(this.o.playbackRate=a);return a};
g.h.Cv=function(){return this.o.loop};
g.h.uq=function(a){this.o.loop=a};
g.h.uj=function(){return this.o.paused};
g.h.tq=function(){return this.o.seeking};
g.h.tj=function(){return this.o.ended};
g.h.qq=function(){return this.o.muted};
g.h.Vk=function(a){NI();this.o.muted=a};
g.h.Hm=function(){return this.o.played||TI([],[])};
g.h.dg=function(){try{var a=this.o.buffered}catch(b){}return a||TI([],[])};
g.h.Im=function(){return this.o.seekable||TI([],[])};
g.h.qn=function(){return this.o.getStartDate?this.o.getStartDate():null};
g.h.getCurrentTime=function(){return this.o.currentTime};
g.h.un=function(a){this.o.currentTime=a};
g.h.getDuration=function(){return this.o.duration};
g.h.load=function(){var a=this.o.playbackRate;this.o.load&&this.o.load();this.o.playbackRate=a};
g.h.pause=function(){this.o.pause()};
g.h.play=function(){var a=this.o.play();return a&&a.then?a:null};
g.h.Fe=function(){return this.o.readyState};
g.h.Fp=function(){return this.o.networkState};
g.h.Eb=function(){return this.o.error?this.o.error.code:null};
g.h.Uk=function(){return this.o.error?this.o.error.message:""};
g.h.Ev=function(){var a={};if(this.o){if(this.o.getVideoPlaybackQuality)return this.o.getVideoPlaybackQuality();this.o.webkitDecodedFrameCount&&(a.totalVideoFrames=this.o.webkitDecodedFrameCount,a.droppedVideoFrames=this.o.webkitDroppedFrameCount)}return a};
g.h.sj=function(){return!!this.o.webkitCurrentPlaybackTargetIsWireless};
g.h.Fv=function(){return!!this.o.webkitShowPlaybackTargetPicker()};
g.h.Gv=function(){MI()?this.o!=window.document.pictureInPictureElement?this.o.requestPictureInPicture():window.document.exitPictureInPicture():LI()&&this.o.webkitSetPresentationMode("picture-in-picture"==this.o.webkitPresentationMode?"inline":"picture-in-picture")};
g.h.Dv=function(){return Fh(this.o)};
g.h.pn=function(){return g.Qh(this.o)};
g.h.setSize=function(a){return g.Ph(this.o,a)};
g.h.getVolume=function(){return this.o.volume};
g.h.setVolume=function(a){NI();this.o.volume=a};
g.h.Nt=function(a){if(!this.B[a]){var b=(0,g.B)(this.NO,this);this.o.addEventListener(a,b);this.B[a]=b}};
g.h.NO=function(a){this.dispatchEvent(new HP(this,a.type,a))};
g.h.setAttribute=function(a,b){this.o.setAttribute(a,b)};
g.h.removeAttribute=function(a){this.o.removeAttribute(a)};
g.h.hasAttribute=function(a){return this.o.hasAttribute(a)};
g.h.Ul=ba(8);g.h.bo=ba(10);g.h.Lj=ba(5);g.h.hm=ba(12);g.h.nn=function(){vF(this.o)};
g.h.Gd=function(a,b){g.xh(this.o,a,b)};
g.h.tn=function(a){return Ah(this.o,a)};
g.h.Y=function(){for(var a in this.B)this.o.removeEventListener(a,this.B[a]);g.CP.prototype.Y.call(this)};wQ.prototype.la=function(){return this.D};
wQ.prototype.dispose=function(){this.D=!0;g.yQ(this);this.A=null};AQ.prototype.add=function(a){this.o=(this.o+1)%this.A.length;this.A[this.o]=a};
AQ.prototype.clear=function(){for(var a=this.A.length,b=0;b<a;b++)this.A[b]=0;this.B=this.o=this.A.length-1};g.t(EQ,g.VF);EQ.prototype.isPeggedToLive=function(){return this.F};KQ.prototype.reset=function(){this.aa=MQ(this);qna(this);this.o=new JQ(0,0,null);this.C=8;this.B=[];this.G=[];this.D=this.J=window.NaN;this.A=this.K=0;this.N=!1};
KQ.prototype.process=function(a){var b=!1;if(this.B.length){if(rna(this)&&this.B.length+a.byteLength<this.C)return sna(this,a,0),0;b=this.B.length;var c=new window.Uint8Array(b+a.byteLength);c.set(this.B,0);c.set(new window.Uint8Array(a.buffer,a.byteOffset,a.byteLength),b);this.B=[];a=new window.DataView(c.buffer);b=!0}for(var d=c=0;c<a.byteLength;){var e=a.byteLength-c,f=window.NaN;if(rna(this)){if(e<this.C)return sna(this,a,c),0;switch(this.o.type){case 0:f=NQ(this,a,c);b||0!=c||(d=this.o.type);
break;case 1836019574:case 1836019558:f=NQ(this,a,c);break;case 1953653094:e=a;f=c;if(!this.K){var k=this.W.zh?this.A:1;this.K=dK(PQ(this,e,f),k)}f=NQ(this,e,f);break;case 1836476516:this.A=fK(PQ(this,a,c));OQ(this);f=this.o.size-8;break;case 1952867444:e=void 0;(0,window.isNaN)(this.D)||(f=PQ(this,a,c),this.W.Ha?e=this.ca(lK(f),this.A):e=this.D,kK(f,e),(0,window.isNaN)(this.F)&&(this.F=e),this.D+=this.K,this.O+=this.K);f=this.o.size-8;break;case 1936286840:e=PQ(this,a,c),f=mK(e).ao[0],this.A=nK(e),
OQ(this),this.K=f,f=this.o.size-8}}else f=Math.min(this.C,e);this.o.offset+=f;this.C-=f;c+=f;if(0==this.C){for(;0!=this.o.type&&this.o.offset==this.o.size&&this.o.parent;)1835295092==this.o.type&&(this.N=!0),this.o.parent.offset+=this.o.size,this.o=this.o.parent;switch(this.o.type){case 0:case 1836019574:case 1836019558:case 1953653094:this.C=8;break;default:this.C=this.o.size-8}}}0<a.byteLength&&this.G.push(a);return d};var Hna=0;g.h=Ina.prototype;g.h.PW=function(a){this.status=a.status;a.ok?(this.F=a.body.getReader(),this.D?(this.K=a.headers,this.W(),this.B=new window.Uint8Array(YQ(this)),Lna(this)):this.F.cancel("Cancelling")):aR(this)};
g.h.yS=function(a){if(this.D){var b;window.performance&&window.performance.now&&(b=window.performance.now());var c=(0,g.H)(),d=a.value?a.value:null;(0,g.H)();a.done?(this.F=null,aR(this)):($Q(this)?(Kna(this,d),this.D(c,this.A,b)):(a=this.A,this.G.Gy&&(a+=d.length),this.D(c,a,b),Kna(this,d)),Lna(this))}};
g.h.gD=function(a){this.L=""+a;this.H=!0;aR(this)};
g.h.se=function(a){return this.K.get(a)};
g.h.Sm=function(){return!!this.K};
g.h.Qt=function(){return this.A};
g.h.Bp=function(){return+this.se("content-length")};
g.h.qB=function(){return 200<=this.status&&300>this.status&&!!this.A};
g.h.lj=function(){return!!this.C.length||(this.J||$Q(this))&&0<this.o};
g.h.qG=function(){this.lj();this.C.length||ZQ(this);return this.C.shift()};
g.h.cD=function(){this.lj();this.C.length||ZQ(this);return this.C[0]};
g.h.abort=function(){this.F&&this.F.cancel("Cancelling");this.O=this.D=null};
g.h.AG=function(){return!0};
g.h.AF=function(){return this.H};
g.h.Rv=function(){return this.L};g.h=Mna.prototype;g.h.UP=function(){if(!this.A){this.status=this.o.status;try{this.response=this.o.response}catch(a){}this.B=!0;this.C()}};
g.h.WP=function(){2==this.o.readyState&&this.D()};
g.h.VP=function(a){this.A||(this.status=this.o.status,this.F(a.timeStamp,a.loaded))};
g.h.Sm=function(){return 2<=this.o.readyState};
g.h.se=function(a){try{return this.o.getResponseHeader(a)}catch(b){return g.gE(b),""}};
g.h.Bp=function(){return+this.se("content-length")};
g.h.Qt=function(){return this.response.byteLength};
g.h.qB=function(){return 200<=this.status&&300>this.status&&!!this.response&&!!this.response.byteLength};
g.h.lj=function(){return this.B&&!!this.response&&!!this.response.byteLength};
g.h.qG=function(){this.lj();var a=this.response;this.response=null;return new window.Uint8Array(a)};
g.h.cD=function(){this.lj();return new window.Uint8Array(this.response)};
g.h.abort=function(){this.A=!0;this.o.abort()};
g.h.AG=function(){return!1};
g.h.AF=function(){return!1};
g.h.Rv=function(){return""};g.h=bR.prototype;g.h.Xa=function(){return this.C?this.C.Xa():""};
g.h.Eb=function(){return this.D};
g.h.start=function(a){fR(this,2);this.H=bR.o();this.A?(this.N=Nka(this.info,this.A.B,this.A.length),this.C=g.DL(this.info,this.B,this.aa,this.N)):(this.N=this.info.range,this.C=g.DL(this.info,this.B,this.aa));var b=!1;if(this.B.wa&&2>this.info.A.o&&this.K){var c=this.C.get("aitags");if(c&&(CL(this.info)||BL(this.info))&&this.ca&&"auto"==yH()&&AH()){var d=nb(c).split(","),e=[];(0,g.D)(this.ca,function(a){g.Ma(d,a)&&e.push(a)});
0<e.length&&(this.C.set("altitags",g.lb(e.join(","))),b=!0)}}b||(this.K=!1);this.C.set("rn",this.H.toString());0<=a&&this.C.set("rbuf",(1E3*a).toFixed().toString());a=this.C.Xa();try{this.o=Sna(this,a)}catch(f){this.D="net.ssl";gR(this);return}0<this.B.J&&this.W.start()};
g.h.zW=function(){this.G=0;this.info.A.C=g.tG();var a=eR(this);a.D=g.tG();a.B+=1;a=this.timing;a.o=(0,g.H)();a.F=a.o;a.B=0;a.ia=a.o;a.W=0;a.H&&(a.H=[]);a.ka=!1;a.oa=!1;a.D=0;a.ga=DM(a.A);a.J=window.Infinity;a.L=window.Infinity;Fna(a);Gna(a,a.o);a.ba=(a.O-a.o)/1E3;a.K=window.NaN;a.ca=null};
g.h.yW=function(a,b,c){if(!this.la()){this.F=this.o.status;Tna(this,!1);var d=this.timing;a=a>d.o&&4E12>a?a:(0,g.H)();UQ(d,a,b);50>a-d.F&&VQ(d)&&3!=QQ(d)||Ena(d,a,b,c);b=this.timing;b.B>b.yb&&RQ(b,b.B)&&4>this.state?fR(this,4):iR(this)&&jR(this)&&fR(this,Math.max(3,this.state))}};
g.h.xW=function(){if(!this.la()){if(!this.O&&this.o.Sm()&&this.o.se("X-Walltime-Ms")){var a=(0,window.parseInt)(this.o.se("X-Walltime-Ms"),10);this.O=((0,g.H)()-a)/1E3}this.o.Sm()&&this.o.se("X-Restrict-Formats-Hint")&&this.B.Ey&&!AH()&&g.rH("yt-player-headers-readable",!0,2592E3)}};
g.h.wW=function(){var a=this.o;if(!this.la()&&a){this.W.stop();this.F=a.status;var b=!1;if(400<=a.status)b=!0,this.D="net.badstatus";else if(a.qB()){var c="";Rna(this)&&(c=a.cD(),2048<c.length?c="":(c=aK(c),c=IH(c)?c:""));if(c){a=eR(this);g.tG();a.B=0;a.A=0;a.o=0;a=this.info;var d=this.C;g.yL(a.A,d,c);a.requestId=d.get("req_id");fR(this,5)}else if(c=a.Qt(),(d=!!this.N&&this.N.length)&&d!=c||a.AF())b=!0,this.D="net.closed";else{Tna(this,!0);var e=hR(this)?this.o.se("X-Bandwidth-Est"):0;if(a=hR(this)?
this.o.se("X-Bandwidth-Est3"):0)this.ba=!0,this.B.iH&&(e=a);a=this.timing;d=(0,g.H)();e=e?(0,window.parseInt)(e,10):0;if(!a.ka){a.ka=!0;d=d>a.o&&4E12>d?d:(0,g.H)();UQ(a,d,c);Ena(a,d,c);var f=QQ(a);if(2==f&&e)SQ(a,a.B/e,a.B);else if(2==f||1==f)e=(d-a.o)/1E3,(e<=a.A.policy.D||!a.A.policy.D)&&!a.oa&&VQ(a)&&SQ(a,e,c),VQ(a)&&yM(a.A,c,a.D);c=a.A;d=(d-a.o)/1E3;e=a.ba;f=BL(a.aa);c.F.o(d,a.B/d);c.B=g.tG();f||c.A.o(1,d-e);a.C&&(a.C=!1)}a=eR(this);g.tG();a.B=0;a.A=0;a.o=0;this.info.A.o=0;fR(this,6)}}else b=
!0,this.D=204==a.status?"net.nocontent":"net.connect";b&&gR(this)}};
g.h.WW=function(){if(!this.la()){var a=(0,g.H)(),b=!1;VQ(this.timing)?(a=this.timing.O,Gna(this.timing),this.timing.O-a>=.8*this.B.J?(this.G++,b=5<=this.G):this.G=0):(b=this.timing,b.G&&WQ(b,(0,g.H)()),a-=b.N,this.B.td&&0<a&&(this.G+=1),b=a>1E3*this.B.wc);this.G&&this.J&&this.J(this);b?Qna(this,!1):this.W.start()}};
g.h.la=function(){return-1==this.state};
g.h.dispose=function(){BL(this.info)&&6!=this.state&&(this.info.o[0].o.F=!1);fR(this,-1);this.J=null;this.W.dispose();Pna(this)};
bR.o=function(){return++bR.A};
bR.DEBUG=!1;bR.A=0;g.t(Yna,g.VF);tR.prototype.W=function(a,b){switch(b.info.type){case 1:case 2:boa(this.B,a,b);break;case 4:var c=b.info.o.CC(b),d=b.info,e=this.o;e&&e.o==d.o&&e.type==d.type&&(d.range&&e.range?e.range.start==d.range.start&&e.range.end==d.range.end:e.range==d.range)&&e.Aa==d.Aa&&e.A==d.A&&e.gb==d.gb&&(this.o=g.Ga(c).info);(0,g.D)(c,(0,g.B)(this.W,this,a));break;case 3:$na(this.B,a,b)}};
tR.prototype.aa=function(a){a=a.info;this.D&&(this.O=this.D);this.D=a;a.o.info.o>=this.K&&(this.K=a.o.info.o)};
tR.prototype.getDuration=function(){return this.A.index.pk()};OR.prototype.send=function(){g.DE(this.A,{format:"RAW",responseType:"arraybuffer",timeout:1E4,Jd:this.B,Kd:this.B,context:this});this.o=g.tG()};
OR.prototype.B=function(a){var b={rc:a.status,lb:a.response?a.response.byteLength:0,rt:((g.tG()-this.o)/1E3).toFixed(3),shost:g.Pg(this.A),trigger:this.F};204==a.status||a.response?this.C&&this.C(NN(b)):this.D(new MN("pathprobe.net",!1,b))};g.t(Foa,g.VF);g.t(RR,g.L);RR.prototype.C=function(a){if(!this.la()){for(var b=arguments.length-1;0<=b;b--){var c=arguments[b];if(c){g.Sa(this.A,c);var d=this.o,e=d.o;c=g.bb(e,c,d.A);0<=c&&g.Ra(e,c)}}this.B()}};
RR.prototype.reset=function(){this.F=this.J=!1;this.G.stop();this.o.o=[];this.A=[];this.B();this.H=null};
RR.prototype.B=function(){this.K=!0;if(!this.L){for(var a=3;this.K&&a;){this.K=!1;this.L=!0;if(this.F&&!this.J&&!this.la()){this.G.stop();var b=this.N();g.W(b,32)&&this.W.start();for(var c=g.W(this.N(),2)?0x8000000000000:1E3*this.ca(),d=g.W(b,2),e=[],f=[],k=0;k<this.A.length;k++){var l=this.A[k];l.active&&(d?0x8000000000000>l.end:!l.contains(c))&&f.push(l)}e=e.concat(Soa(this,f));if(d)b=Moa(this.o,0x7ffffffffffff),b=b.concat(Ooa(this.o));else if(this.D<=c&&b.sb()&&!g.W(b,16)&&!g.W(b,32)){b=this.o;
d=c;f=[];for(k=Noa(b,this.D);k<b.o.length&&!(l=b.o[k],(l.end<=d||l.contains(d))&&f.push(l),l.start>d);++k);b=f}else b=Moa(this.o,c);e=e.concat(Roa(this,b));this.D=c;!this.J&&this.H&&(this.H=null);c=g.q(e);for(e=c.next();!e.done;e=c.next())e=e.value,b=e[1],1==e[0]?(b.o&&b.o.V("onEnter",b),this.O("crn_"+b.namespace,b)):(b.o&&b.o.V("onExit",b),this.O("crx_"+b.namespace,b))}this.L=!1;a--}this.N().sb()&&(a=Poa(this.o,this.D),!(0,window.isNaN)(a)&&0x7ffffffffffff>a&&(a=(a-this.D)/this.aa(),this.G.start(a)))}};
RR.prototype.Y=function(){this.A=[];this.o.o=[];this.H=null;g.L.prototype.Y.call(this)};UR.prototype.then=function(a,b){return this.B.then(a,b)};
UR.prototype.resolve=function(a){this.o(a)};
UR.prototype.reject=function(a){this.A(a)};g.t(WR,g.VF);g.h=WR.prototype;
g.h.initialize=function(a,b,c,d){a=a||0;var e=this.G;d=d&&d.id;GR(e,b);Aoa(e,d);e.L=e.C;Boa(e);e.B=e.A;b=yoa(e);this.B=new tR(this.A,b.audio,(0,g.B)(this.wz,this));this.o=new tR(this.A,b.video,(0,g.B)(this.wz,this));this.A.ia&&this.F.A&&(this.Sb=new vna(this.A,this.o.A.index));jpa(this,this.B);jpa(this,this.o);this.o.B.O=this.B.B;this.V("videoformatchange",b);this.L=this.o.G;this.H&&Hoa(this.H,this.o.A);this.A.G&&BQ()&&this.Zd("streaming","1",!0);this.D=this.F.A?0:a;c?(YR(this,!1),g.zu(this.wa)):
(a=0==this.D,gS(this,this.o,this.o.A,a),gS(this,this.B,this.B.A,a),this.seek(this.D),this.fd("gv"))};
g.h.resume=function(){if(this.ca||this.aa)this.Ba=this.aa=this.ca=!1,this.He()};
g.h.lV=function(a){var b=this.A.td;if(!(!(b&&2<=a.state)||5<=a.state||a.G<b||vL(a.info.A,this.A,this.ha))){b=this.ha;var c=lL(uL(a.info.A));b=gL(b,c);b.o||b.A||b.B||apa(this,a,!0)}if(!this.la()&&3<=a.state)if(c=a.info.o[0].o,b=!this.xa&&c.info.video,c=!this.ka&&c.info.audio,5==a.state?b?this.fd("vrr"):c&&this.fd("arr"):6==a.state?b?(this.xa=a.Xa(),DG(4)):c&&(this.ka=a.Xa()):4==a.state&&b&&DG(4),5<=a.state&&(this.A.ha&&(b=Cna(a.timing),c=a.timing,b={rn:a.H.toString(),rt:b.rt,pt:b.pt,stall:b.stall,
elt:b.elbowTime,elb:b.elbowBytes,rqd:c.H?c.H.join(""):""},c=b.rqd,delete b.rqd,c&&this.Zd("rqd",NN({rn:b.rn,d:c})),this.Zd("rqs",NN(b))),a.ba&&this.Zd("sbwe3","1",!0)),5==a.state)a.start(Math.max(0,a.info.o[0].D-this.D));else if(5<=a.state&&5==a.info.o[0].type)6==a.state&&(b=(a.info.o[0].o.info.video?this.o:this.B).C[0]||null)&&b.G&&Qna(b,!0),a.dispose();else{if(this.A.wa&&a.K&&4<=a.state&&5!=a.state)if(b=a.o?a.o.se("X-Response-Itag"):null){b=Coa(this.G,b);c=a.info.range.length-b.Ep();b.F=!0;a.info.o[0].o.F=
!1;var d=b.rk(c)[0];a.info=d;if(a.A){c=a.A;d=d.o;c.A=d;for(var e=0;e<c.o.length;e++)c.o[e].info=d[e],c.o[e].range=d[e].range}a.K=!1;c=this.o;c.A!=b&&(c.A=b);c=this.o;c.o&&(c.o.o=b);this.V("constraint",b.info.ab().quality);(c=a.o?a.o.se("X-Segment-Lmt"):null)&&b instanceof g.XL&&((0,window.isNaN)(b.lastModified)||b.lastModified==c||koa(this.o,a))}else a.K=!1;6==a.state||this.A.G&&3<=a.state&&!(5<=a.state)?$oa(this,a):7==a.state&&(b=a.info.o[0].o,Ona(a)?(c=(b.info.video&&1<b.C.o||410==a.F||500==a.F||
503==a.F)&&!LR(this.G),d=dR(a),e=b.info.video?this.o:this.B,c&&(d.stun="1"),eS(this,!1,a.Eb(),d),this.la()||(c&&KR(this.G,b),this.A.ud&&1==a.info.o.length&&0<a.info.o[0].A&&b!=e.A&&this.aa?this.V("reattachrequired"):(koa(e,a),this.He()))):(eS(this,!1,a.Eb(),dR(a)),BL(a.info)?(b.D=a.Eb(),this.He()):eS(this,!0,"net.retryexhausted",{})));this.He();this.A.yb&&5<=a.state&&Ona(a)&&vL(a.info.A,this.A,this.ha)&&(b=this.ha,c=lL(a.info.A.B),b=gL(b,c),c=b.B+=b.C,c=this.A.yb*Math.pow(1.6,c),b.o||b.D+c>g.tG()||
apa(this,a,!1))}};
g.h.He=function(){$R(this);if(this.C&&dJ(this.C)&&!gJ(this.C)){var a=this.A.Sj&&this.o.D&&this.o.D.F;this.F.isLive&&!a?(0,window.isNaN)(this.K)?(this.K=this.D+3600,this.C.B.duration=this.K):this.K<=this.D+1800&&(this.K=Math.max(this.K+1800,this.D+3600),this.C.B.duration=this.K):this.C.F||(a=Math.max(this.B.getDuration(),this.o.getDuration()),(!(0,window.isFinite)(this.K)||this.K!=a)&&0<a&&(this.K=this.C.B.duration=a))}if(!this.la())if(mM(this.F)&&3==this.F.F)eS(this,!0,"manifest.net.retryexhausted",
{rc:this.F.N.toString()});else if(this.F.B&&(poa(this.o)||poa(this.B)))ZR(this),this.V("seekplayerrequired",window.Infinity);else if($R(this),joa(this.o),!this.la()&&(joa(this.B),!this.la())){this.F.A&&(qoa(this.o),qoa(this.B),dpa(this),(a=lR(this.o.B))&&a.o&&(a=a.o.D&&!this.A.ba,this.Zd(a==this.A.o?"strm":"strmbug","strm."+(a?"1":"0")+";sfmp4."+(this.A.o?"1":"0")+";dfs."+(this.A.ba?"1":"0"),!0)));if(this.C){a=this.C.o;var b=this.C.A;if(epa(this)){if(this.A.Pe){if(!a.Sg()){var c=lR(this.B.B);c&&fS(this,
a,c)}b.Sg()||(a=lR(this.o.B))&&fS(this,b,a)}}else{if(this.H){c=this.H;var d=this.B,e=XI(this.C.A.uc());if(c.D)c=Koa(c,e);else{if(e=lR(d.B)){var f=e.o;f&&f.D&&f.B&&(d=d.C.length?d.C[0]:null)&&3<=d.state&&7!=d.state&&0==d.info.B&&iR(d)&&(c.D=d,c.J=f,c.B=e.info,c.F=(0,g.H)()/1E3,c.H=c.F,c.G=c.B.startTime)}c=window.NaN}c&&this.V("seekplayerrequired",c,!0)}(c=hpa(this,this.o,b,null))&&!this.La&&(this.La=(0,g.H)(),this.fd("vda"),OO("vda"),this.Ha&&DG(4));if(!fJ(this.C)){b=WI(b.uc(),this.D+dS);if(!(0,window.isNaN)(b)||
wR(this.o)||!a.uc().length){if(wR(this.o)||this.A.WD)b=window.NaN;a=hpa(this,this.B,a,b);c=c||a;a&&!this.Ha&&(this.Ha=(0,g.H)(),this.fd("ada"),OO("ada"),this.La&&DG(4))}this.la()||(!this.A.Dy&&wR(this.o)&&wR(this.B)&&dJ(this.C)&&!gJ(this.C)&&(a=this.C,dJ(a)&&a.B.endOfStream(),a=this.N,xH(DM(a)),a.D=g.tG()),c&&!iJ(this.C)&&g.zu(this.ga))}}}XR(this);gS(this,this.o,this.o.A,!1);gS(this,this.B,this.B.A,!1);a=this.B.A.D;b=this.o.A.D;if(a||b){c="net.retryexhausted";if("fmt.unparseable"==a||"fmt.unparseable"==
b)c="fmt.unparseable";eS(this,!0,c,{metadata:"1",video:this.o.A.D||"",audio:this.B.A.D||""})}else bS(this,this.o,this.B)&&Xoa(this,this.o,this.B),bS(this,this.B,this.o)&&Xoa(this,this.B,this.o),this.A.yF&&this.pa&&!this.ca&&EM(this.N)&&(a=this.pa,b=(0,g.B)(this.V,this,"error"),c=this.A.fI?(0,g.B)(this.Zd,this,"pathprobe"):null,(new OR(a,"cms",c,b)).send(),this.pa=""),this.A.Ei&&this.F.B&&g.zu(this.wa),this.H&&(a=this.H,a.D?(b=a.H+a.o.Pd,a.C||(b=Math.min(b,a.F+a.o.fb)),a=Math.max(0,1E3*b-(0,g.H)())):
a=window.NaN,(0,window.isNaN)(a)||g.zu(this.wc,a)),g.zu(this.zb)}};
g.h.Kq=function(a){var b=a?this.B:this.o;a=b&&b.D;var c=b&&b.O;b=void 0;a&&(b=zK(a));if(c){b=b||{};a=zK(c);for(var d in a)b["prev_"+d]=a[d]}eS(this,!0,"fmt.unplayable",b)};
g.h.XT=function(a){eS(this,!0,"fmt.unparseable",a)};
g.h.dU=function(a,b,c){b?(a=zK(b.info),a.dRange=""+b.range.start+"-"+b.range.end):a=zK(a.info.o[a.info.o.length-1]);a.warning=c;this.Zd("msw",NN(a))};
g.h.cU=function(a){eS(this,!1,"qoe.avsync",a)};
g.h.ZT=function(a,b){this.F.A&&ipa(this,b,a==this.o)};
g.h.aU=function(a,b){this.F.A&&qM(this.F,b.Aa,a==this.o)};
g.h.bU=function(a,b){this.F.A&&ipa(this,b,a==this.o)};
g.h.VT=function(a,b){if(this.o&&this.o.A.index.Qb()<=b){a.o+=(0,window.isNaN)(this.W)?0:this.W;var c=this.F;c.L.push(a);c.V("cuepointsadded")}};
g.h.seek=function(a){if(this.la())return ng();if(this.o.G||this.B.G)return kg();$R(this);this.Kb=g.tG();XR(this,a);var b=this.o.o,c=kpa(this.o,a,this.C&&this.C.A),d=kpa(this.B,this.A.xa?a:c,this.C&&this.C.o);this.D=Math.max(a,c,d);this.O=!0;this.F.A&&this.A.W&&(c=this.o.o.Aa,KL(this.o.A.index,c)||b&&b.Aa==c||(this.L=!0));g.zu(this.ga);return kg(a)};
g.h.getCurrentTime=function(){return this.D};
g.h.Y=function(){Uoa(this);this.B&&zR(this.B);this.o&&zR(this.o);g.VF.prototype.Y.call(this)};
g.h.fd=function(a,b){this.yc[a]=b?window.performance.timing.navigationStart+b:g.tG()};
g.h.eD=function(){return this.Va.A()||0};
g.h.Zd=function(a,b,c){this.V("ctmp",a,b,void 0===c?!1:c)};
g.h.wz=function(a,b){var c=a/b;(0,window.isNaN)(this.W)&&(this.W=c-Math.min(c,18E3),this.V("timestamp",this.W));return(c-this.W)*b};
var dS=2/24;var o1={},Wxa=(o1.DRM_TRACK_TYPE_AUDIO="AUDIO",o1.DRM_TRACK_TYPE_SD="SD",o1.DRM_TRACK_TYPE_HD="HD",o1.DRM_TRACK_TYPE_UHD1="UHD1",o1);g.t(iS,g.L);iS.prototype.D=function(a){this.la()||(0!=a.status&&a.response?((0,g.lQ)("drm_net_r"),a=new window.Uint8Array(a.response),(a=ppa(a))?this.B(a):this.o(this,"drm.net","t.p")):this.C(a))};
iS.prototype.C=function(a){this.la()||this.o(this,a.status?"drm.net.badstatus":"drm.net.connect","t.r;c."+a.status)};
iS.prototype.G=function(a){if(!this.la()){(0,g.lQ)("drm_net_r");var b="LICENSE_STATUS_OK"==a.status?0:9999,c=null;try{c=ue(a.license)}catch(m){}if(0!=b||c){c=new npa(b,c);0!=b&&a.reason&&(c.errorMessage=a.reason);if(a.authorizedFormats){b={};for(var d=[],e={},f=g.q(a.authorizedFormats),k=f.next();!k.done;k=f.next()){k=k.value;var l=Wxa[k.trackType];l&&("HD"==l&&a.isHd720&&(l="HD720"),b[l]||(d.push(l),b[l]=!0),e[k.keyId]=l)}c.o=d;c.A=e}a=c}else a=null;a?this.B(a):this.o(this,"drm.net","t.p;p.i")}};
iS.prototype.F=function(a){this.la()||(a=a.error,this.o(this,"drm.net.badstatus","t.r;p.i;c."+a.code+";s."+a.status))};g.t(jS,g.L);g.h=jS.prototype;g.h.cQ=function(a){if(this.D){var b=a.messageType||"license-request";this.D.call(this.B,new window.Uint8Array(a.message),b)}};
g.h.dQ=function(){this.H&&this.H.call(this.B,this.o.keyStatuses)};
g.h.kE=function(a,b){g.gE(b);if(this.C){var c=a;b instanceof window.DOMException&&(c+=";n."+b.name+";m."+b.message);this.C.call(this.B,c)}};
g.h.bQ=function(){this.la()||IE("xboxone")&&this.C&&this.C.call(this.B,"closed")};
g.h.NE=function(a){this.D&&this.D.call(this.B,a.message,"license-request")};
g.h.ME=function(a){if(this.C){if(this.A){var b=this.A.error.code;a=this.A.error.systemCode}else b=a.errorCode&&a.errorCode.code,a=a.systemCode;this.C.call(this.B,"t.prefixedKeyError;c."+b+";sc."+a)}};
g.h.LE=function(){this.G&&this.G.call(this.B)};
g.h.update=function(a){if(this.o)return this.o.update(a).then(null,hE((0,g.B)(this.kE,this,"t.update")));this.A?this.A.update(a):this.F.addKey?this.F.addKey(this.K.o,a,this.J,this.sessionId):this.F.webkitAddKey(this.K.o,a,this.J,this.sessionId);return bF()};
g.h.Y=function(){this.o&&this.o.close();this.F=null;g.L.prototype.Y.call(this)};g.t(lS,g.L);g.h=lS.prototype;
g.h.createSession=function(a){var b=a.initData;if(this.o.A){var c=this.D.createSession();"com.youtube.fairplay"==this.o.o&&(b=tpa(this,b));b=c.generateRequest(a.contentType,b);c=new jS(null,null,null,c,null);b.then(null,hE((0,g.B)(c.kE,c,"t.generateRequest")));return c}if(yN(this.o)){c=new window.Uint8Array(270);for(a=0;135>a;a++)c[2*a]='<PlayReadyCDMData type="LicenseAcquisition"><LicenseAcquisition version="1.0" Proactive="true"></LicenseAcquisition></PlayReadyCDMData>'.charCodeAt(a);b=this.B.createSession("video/mp4",
b,c);return new jS(null,null,null,null,b)}if(CN(this.o))return b=tpa(this,b),b=this.B.createSession("video/mp4",b),new jS(null,null,null,null,b);this.A.generateKeyRequest?this.A.generateKeyRequest(this.o.o,b):this.A.webkitGenerateKeyRequest(this.o.o,b);return this.C=new jS(this.A,this.o,b,null,null)};
g.h.gQ=function(a){var b=mS(this,a);b&&b.NE(a)};
g.h.fQ=function(a){var b=mS(this,a);b&&b.ME(a)};
g.h.eQ=function(a){var b=mS(this,a);b&&b.LE(a)};
g.h.Y=function(){g.L.prototype.Y.call(this);delete this.A};var p1={},ypa=(p1.widevine="DRM_SYSTEM_WIDEVINE",p1.fairplay="DRM_SYSTEM_FAIRPLAY",p1.playready="DRM_SYSTEM_PLAYREADY",p1);g.t(oS,g.L);g.h=oS.prototype;
g.h.ZP=function(a,b){if(!this.la()){if(!this.C.experiments.o("html5_provisioning_killswitch"))switch(b){case "license-request":case "license-renewal":case "license-release":break;case "individualization-request":xpa(this,a);return;default:this.B.V("ctmp","message_type","t."+b+";l."+a.byteLength)}this.N||((0,g.lQ)("drm_gk_f"),this.N=!0,this.B.V("newsession",this));if(zN(this.A)){var c=wpa(a);if(!c)return;a=c}"fairplay"==this.A.flavor&&(a=$J(g.se(a)));c=new iS(a,++this.W,(0,g.B)(this.GT,this),(0,g.B)(this.FT,
this));g.M(this,c);zpa(this,c)}};
g.h.XP=function(){this.la()||this.J||(this.B.V("sessionready"),this.J=!0)};
g.h.aQ=function(a){var b=this;this.la()||(a.forEach(function(a,d){var c=zN(b.A)?d:a,f=new window.Uint8Array(zN(b.A)?a:d);zN(b.A)&&Dpa(f);var k=kR(f);Dpa(f);f=kR(f);b.o[k]?b.o[k].status=c:b.o[f]?b.o[f].status=c:b.o[k]={type:"",status:c}}),this.B.V("keystatuseschange",this))};
g.h.YP=function(a){this.la()||nS(this,"drm.keyerror",!0,a)};
g.h.GT=function(a){if(!this.la())if(0!=a.statusCode)nS(this,"drm.auth",!0,"t.f;c."+a.statusCode,a.errorMessage||void 0);else{(0,g.lQ)("drm_kr_s");a.heartbeatParams&&this.B.V("newlicense",a.heartbeatParams);if(a.o&&(this.G=a.o,!pS(this)))if(BN(this.A)){var b=Bpa(this.G);480<g.sI[b]&&this.B.V("hdentitled",this)}else this.B.V("keystatuseschange",this);a.A&&(this.o=g.Jb(a.A,function(a){return{type:a,status:"unknown"}}));
CN(this.A)&&(a.message=ue(aK(a.message)));this.D&&this.D.update(a.message).then(function(){(0,g.lQ)("drm_kr_f")});
this.J&&(this.O=g.tG());"fairplay"==this.A.flavor&&this.B.V("fairplay_next_need_key_info",this.L,a.B)}};
g.h.FT=function(a,b,c){if(!this.la()){var d=!1;if(3<=a.A.A||this.aa&&36E4<g.tG()-this.O)d=!0,b="drm.net.retryexhausted";nS(this,b,d,c);(this.aa&&this.J?0:!d&&this.W==a.number)&&Apa(this,a)}};
g.h.Y=function(){g.L.prototype.Y.call(this)};
g.h.eg=function(){var a=this.G.join();if(pS(this)){var b=[],c;for(c in this.o)"usable"!=this.o[c].status&&b.push(this.o[c].type);a+="/UKS:"+b}return a+="/"+this.cryptoPeriodIndex};g.t(qS,g.VF);g.t(rS,qS);rS.prototype.F=function(a,b){if(a&&b){var c=1*bh(a,"cpi")+1;(0,window.isNaN)(c)||0>=c||c<this.B?(this.C.stop(),this.A.stop(),this.B=-1,this.o={}):(c>this.B&&(this.B=c,g.Yb(this.o)||(this.o={},this.C.stop(),this.A.stop())),this.o[b]=a,g.zu(this.A))}};
rS.prototype.D=function(){for(var a in this.o)this.V("rotated_need_key_info_ready",new kS(Hpa(this.o[a],this.B,a),"fairplay",!0));this.o={}};sS.prototype.get=function(a){a=this.Am(a);return-1!=a?this.values[a]:null};
sS.prototype.remove=function(a){a=this.Am(a);-1!=a&&(this.keys.splice(a,1),this.values.splice(a,1))};
sS.prototype.set=function(a,b){var c=this.Am(a);-1!=c?this.values[c]=b:(this.keys.push(a),this.values.push(b))};
sS.prototype.Am=function(a){return g.Ja(this.keys,function(b){return g.fb(a,b)})};g.t(tS,g.VF);g.h=tS.prototype;g.h.fT=function(a){Jpa(this,new window.Uint8Array(a.initData),a.initDataType)};
g.h.oU=function(a){Jpa(this,a.initData,a.contentType)};
g.h.UT=function(){var a=this;if(!this.la())if(this.C.experiments.o("html5_drm_set_server_cert")){var b=spa(this.L);b?b.then(hE(function(b){a.V("ctmp","setServerCertificate",b)}),hE(function(b){a.V("ctmp","setServerCertificateError","n."+b.name+";m."+b.message)})).then(hE(function(){return wS(a)})):wS(this)}else wS(this)};
g.h.gS=function(a){if(!this.la()){g.gE(a);var b="t.a";a instanceof window.DOMException&&(b+=";n."+a.name+";m."+a.message);this.V("licenseerror","drm.unavailable",!0,b,"YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK")}};
g.h.Is=function(a){this.B.push(a);this.ka&&1<this.B.length||vS(this)};
g.h.qU=function(a){this.la()||!a||this.ga||(this.ga=a,this.V("heartbeatparams",a))};
g.h.FE=function(){this.la()||(this.B.shift(),this.N=!1,vS(this))};
g.h.zV=function(){if(yN(this.o)&&(this.ha--,0==this.ha&&this.F)){var a=this.F;a.A.msSetMediaKeys(a.B)}};
g.h.hQ=function(a){this.la()||Mpa(this,Cpa(a,this.ca))};
g.h.uT=function(){this.la()||this.aa||!BN(this.o)||(this.O=Jxa,this.V("hdproberequired"),this.V("qualitychange"))};
g.h.Y=function(){this.o.A&&this.K&&this.K.setMediaKeys(null);this.K=null;this.B=[];for(var a=g.q(this.A.values),b=a.next();!b.done;b=a.next())b.value.dispose();a=this.A;a.keys=[];a.values=[];this.D&&(this.D.dispose(),this.D=null);this.G=null;g.VF.prototype.Y.call(this)};
g.h.eg=function(){return 0>=this.A.values.length?"no session":this.A.values[0].eg()+(this.H?"/KR":"")};yS.prototype.F=function(){var a=g.y("yt.abuse.player.botguardInitialized");if(!a||!a())return null;a="";this.o&&this.o.Ni&&(a=this.o.Ni+("&r1b="+this.o.clientPlaybackNonce));var b={};return(a=g.y("yt.abuse.player.invokeBotguard")((b.atr_challenge=a,b)))?"r1a="+a:null};
yS.prototype.G=function(a){return"r3a="+Math.floor(this.o.lengthSeconds%g.Bb(a.c3a))};
yS.prototype.D=function(a){a=g.Bb(a.c);var b=g.y("yt.abuse.dclkstatus.checkDclkStatus")();return"r6a="+(a^b)};g.t(g.zS,g.CP);g.h=g.zS.prototype;g.h.KC=function(){return!0};
g.h.Hm=function(){return ZI(this.o.Hm(),this.B,this.F)};
g.h.dg=function(){return ZI(this.o.dg(),this.B,this.F)};
g.h.Im=function(){return ZI(this.o.Im(),this.B,this.F)};
g.h.getCurrentTime=function(){return this.o.getCurrentTime()-this.B};
g.h.un=function(a){this.o.un(a+this.B)};
g.h.getDuration=function(){return(0,window.isFinite)(this.F)?this.F-this.B:this.o.getDuration()-this.B};
g.h.play=function(){this.o.getCurrentTime()<this.B&&this.o.un(this.B);return this.o.play()};
g.h.Tk=function(){var a=g.CP.prototype.Tk.call(this);a.view=this.B+"-"+this.F;return a};
g.h.addEventListener=function(a,b){this.o.addEventListener(a,b)};
g.h.removeEventListener=function(a,b){this.o.removeEventListener(a,b)};
g.h.rq=function(){return this.o.rq()};
g.h.Sk=function(a){this.o.Sk(a)};
g.h.Uq=function(){this.o.Uq()};
g.h.qk=function(){return this.o.qk()};
g.h.bd=function(){return this.o.bd()};
g.h.Mt=function(){this.o.Mt()};
g.h.Jt=function(){this.o.Jt()};
g.h.Vh=function(){return this.o.Vh()};
g.h.na=function(){return this.o.na()};
g.h.Dd=function(){return this.o.Dd()};
g.h.wq=function(a){this.o.wq(a)};
g.h.Xw=function(){this.o.Xw()};
g.h.Pc=function(){return this.o.Pc()};
g.h.jf=function(a){return this.o.jf(a)};
g.h.Cv=function(){return this.o.Cv()};
g.h.uq=function(a){this.o.uq(a)};
g.h.uj=function(){return this.o.uj()};
g.h.tq=function(){return this.o.tq()};
g.h.tj=function(){return this.o.tj()};
g.h.qq=function(){return this.o.qq()};
g.h.Vk=function(a){this.o.Vk(a)};
g.h.qn=function(){return this.o.qn()};
g.h.load=function(){this.o.load()};
g.h.pause=function(){this.o.pause()};
g.h.Fe=function(){return this.o.Fe()};
g.h.Fp=function(){return this.o.Fp()};
g.h.Eb=function(){return this.o.Eb()};
g.h.Uk=function(){return this.o.Uk()};
g.h.Ev=function(){return this.o.Ev()};
g.h.sj=function(){return this.o.sj()};
g.h.Fv=function(){return this.o.Fv()};
g.h.Gv=function(){this.o.Gv()};
g.h.Dv=function(){return this.o.Dv()};
g.h.pn=function(){return this.o.pn()};
g.h.setSize=function(a){return this.o.setSize(a)};
g.h.getVolume=function(){return this.o.getVolume()};
g.h.setVolume=function(a){this.o.setVolume(a)};
g.h.setAttribute=function(a,b){this.o.setAttribute(a,b)};
g.h.removeAttribute=function(a){this.o.removeAttribute(a)};
g.h.hasAttribute=function(a){return this.o.hasAttribute(a)};
g.h.Ul=ba(7);g.h.bo=ba(9);g.h.Lj=ba(4);g.h.hm=ba(11);g.h.nn=function(){this.o.nn()};
g.h.Gd=function(a,b){this.o.Gd(a,b)};
g.h.tn=function(a){return this.o.tn(a)};
g.h.Hd=function(){this.o.Hd()};
g.h.Nt=function(a){this.o.Nt(a)};g.t(BS,g.VF);g.h=BS.prototype;g.h.getCurrentTime=function(){return!(0,window.isNaN)(this.B)&&(0,window.isFinite)(this.B)?this.B:this.A&&AS(this)?this.A.getCurrentTime()+this.C:this.G||0};
g.h.Cd=function(a){this.o.Ma?this.o&&this.o.Pa&&this.o.Pa.o?a=!a&&this.N?HQ(this.N):this.o.Cd()+this.C:this.A?ME()?(a=this.A.qn().getTime(),a=(0,window.isNaN)(a)?0:Math.max(((0,g.H)()-a)/1E3-30,0)):a=DP(this.A)+this.C||this.C:a=this.C:a=this.o.Cd();return a};
g.h.bc=function(){return this.o?this.o.bc()+this.C:this.C};
g.h.Pr=function(){this.o&&!GS(this)&&(this.G=this.o.startSeconds||0)};
g.h.Y=function(){HS(this);iqa(this);g.VF.prototype.Y.call(this)};
g.h.PF=function(){var a=this.getCurrentTime()+.1;this.H=kg(a-this.C);FS(this,a,!0)};
g.h.nX=function(a){this.C=a};jqa.prototype.isActive=function(){return 0!=this.o||window.Infinity!=this.A};g.t(JS,g.VF);JS.prototype.isFullscreen=function(){return 0!=this.F};
JS.prototype.isBackground=function(){return IS()};
JS.prototype.B=function(){this.V("visibilitychange");var a=this.isFullscreen();a=this.C?4:IS()?3:a?2:this.o?1:this.A?5:this.D?7:0;a!=this.H&&this.V("visibilitystatechange");this.H=a};
JS.prototype.Y=function(){mqa(this.G);g.VF.prototype.Y.call(this)};g.t(LS,g.L);g.h=LS.prototype;g.h.start=function(){this.A.start()};
g.h.stop=function(){this.A.stop()};
g.h.Cb=function(a,b,c){this.B[a]=b;this.o[a]=new OS(!!c)};
g.h.clear=function(){for(var a in this.o)this.o[a].clear()};
g.h.bX=function(){for(var a in this.B)this.o[a].update(this.B[a]());this.A.start()};
OS.prototype.update=function(a){this.A?(this.buffer.add(a-this.o||0),this.o=a):this.buffer.add(a)};
OS.prototype.clear=function(){this.buffer.clear();this.o=0};var oqa={"ad-trueview-indisplay-pv":6,"ad-trueview-insearch":7},pqa={"ad-trueview-indisplay-pv":2,"ad-trueview-insearch":2},qqa=/^(\d*)_((\d*)_?(\d*))$/;PS.prototype.start=function(){this.A=!0};
PS.prototype.reset=function(){this.o=this.A=!1};g.t(RS,g.VF);g.h=RS.prototype;g.h.Y=function(){window.clearInterval(this.yc);mqa(this.Hb);this.W.unsubscribe("visibilitystatechange",this.Hb);US(this);VS(this);SS(this);sT(this);this.G&&(this.G.dispose(),delete this.G);delete this.N;g.lf(this.o);this.ca=null;this.zb=!1;g.VF.prototype.Y.call(this)};
g.h.getVideoData=function(){return this.o};
g.h.lt=function(){if(this.o.Pb())g.W(this.B,128)||(this.o.Pb(),this.qd=!0,4!=this.Kb&&(this.ga=g.Va(this.o.cd)),qma(this.o)?(this.Oe=Qpa(this.o,vT(this)).then((0,g.B)(this.FU,this),(0,g.B)(this.HE,this)),this.Jb("loudness",""+this.o.relativeLoudness.toFixed(3),!0),this.o.eh&&this.Jb("startSeconds",""+this.o.eh)):XS(this,"dataloaded"));else if(this.o.fk||this.o.Mk){if(!this.pa||!cT(this))if(this.o.fk){var a=this.o;a.fi=!0;a.fk=!1;IH(a.vf)||g.gE(Error("DASH MPD Origin invalid: "+a.vf),"WARNING");var b=
a.vf,c=XO(a).A("dash_manifest_version")||4;b=g.Zg(b,{mpd_version:c});a.isLowLatencyLiveStream&&"NORMAL"!=a.latencyClass||(b=g.Zg(b,{pacing:0}));kM(new aM(b,XO(a),a.Ma),b).then(a.SS,a.RS,a);(0,g.lQ)("mrs")}else this.C&&(a=this.C.A,aQ(a,"protected"),a.o.videoData.ih?a.wa():a.o.videoData.subscribe("dataloaded",a.wa,a)),a=this.o,a.fairPlayCert||a.ua&&bM(a.ua),b={},a.ua&&(b=FN(dP(a),a.Ib.N,a.ua)),b=new JN(b,XO(a),a.sG),g.M(a,b),a.Mk=!1,a.fi=!0,a=(0,g.B)(a.yN,a),b.C=a,DN(b.D)?LN(b):Hla(b)}else if(!this.o.fi&&
this.qd){b=this.F;a=this.o;var d=this.Sb.Ua(),e=this.zh();this.W.isFullscreen();if(38==a.If&&"books"==b.playerStyle)b=a.videoId.indexOf(":"),a=g.Zg("//web.archive.org/web/20181027110332/https://play.google.com/books/volumes/"+a.videoId.slice(0,b)+"/content/media",{aid:a.videoId.slice(b+1),sig:a.LR});else if(30==a.If&&"docs"==b.playerStyle)a=g.Zg("https://web.archive.org/web/20181027110332/https://docs.google.com/get_video_info",{docid:a.videoId,authuser:a.jd,authkey:a.authKey,eurl:b.Ba});else if(33==a.If&&"google-live"==b.playerStyle)a=g.Zg("//web.archive.org/web/20181027110332/https://google-liveplayer.appspot.com/get_video_info",
{key:a.videoId});else{c={html5:"1",video_id:a.videoId,cpn:a.clientPlaybackNonce,eurl:b.Ba,ps:b.playerStyle,el:sP(a),hl:b.ia,list:a.playlistId,agcid:a.Vj,aqi:a.adQueryId,sts:17829,lact:IG()};g.Ea(c,b.A);b.xe&&(c.ecver=b.xe);b.forcedExperiments&&(c.forced_experiments=b.forcedExperiments);a.rf?(c.vvt=a.rf,a.mdxEnvironment&&(c.mdx_environment=a.mdxEnvironment)):wP(a)&&(c.access_token=wP(a));a.revocableUnlistedToken&&(c.ut=a.revocableUnlistedToken);a.adFormat&&(c.adformat=a.adFormat);0<=a.slotPosition&&
(c.slot_pos=a.slotPosition);a.breakType&&(c.break_type=a.breakType);null!=a.adIds&&(c.ad_id=a.adIds);null!=a.adSystems&&(c.ad_sys=a.adSystems);null!=a.tA&&(c.encoded_ad_playback_context=a.tA);b.Dh&&(c.cc_lang_pref=b.Dh);b.Eh&&2!=b.Eh&&(c.cc_load_policy=b.Eh);b.mute&&(c.mute=b.mute);a.Bh&&2!=b.Bh&&(c.iv_load_policy=a.Bh);a.Gk&&(c.itct=a.Gk);vP(a)&&(c.autoplay="1");a.an&&(c.autonav="1");a.Vu&&(c.noiba="1");a.isMdxPlayback&&(c.mdx="1",c.ytr=a.Lf);a.mdxControlMode&&(c.mdx_control_mode=a.mdxControlMode);
a.Yo&&(c.ytrcc=a.Yo);a.av&&(c.utpsa="1");a.isFling&&(c.is_fling="1");a.Uu&&(c.mute="1");a.vnd&&(c.vnd=a.vnd);a.Ot&&(c.force_ad_param_ad_type="video_ad",c.force_ad_param_url=a.Ot,c.force_ad_param_break_type="1",c.force_ad_param_offset_value=0);d.width&&(c.width=d.width);d.height&&(c.height=d.height);a.Xh&&(c.splay="1");a.ypcPreview&&(c.ypc_preview="1");tP(a)&&(c.content_v=tP(a));a.cn&&(c.livemonitor=1);b.jd&&(c.authuser=b.jd);b.pageId&&(c.pageid=b.pageId);b.Qa&&(c.ei=b.Qa);b.o&&(c.iframe="1");a.zi&&
(c.tst=a.zi);a.contentCheckOk&&(c.cco="1");a.racyCheckOk&&(c.rco="1");b.Lb&&a.liveStartWalltime&&(c.live_start_walltime=a.liveStartWalltime);b.Lb&&a.dv&&(c.live_manifest_duration=a.dv);b.Lb&&a.playerParams&&(c.player_params=a.playerParams);b.Lb&&a.cycToken&&(c.cyc=a.cycToken);b.Lb&&a.LG&&(c.tkn=a.LG);0!=e&&(c.vis=e);b.enableSafetyMode&&(c.enable_safety_mode="1");a.hq&&(c.kids_age_up_mode=a.hq);a.Sr&&(c.upg_content_filter_mode="1");b.widgetReferrer&&(c.widget_referrer=b.widgetReferrer.substring(0,
128));(d=b.Wc.embedding_app)&&(c.embedding_app=d);(d=g.kma(a))&&(c.uloc=d);a.Zm&&(c.internalipoverride=a.Zm);b.Lb&&a.Wi&&(c.wpid=a.Wi);b.we&&(c.embed_config=b.we);b.qp&&(c.co_rel="1");0<b.wc.length&&(c.ancestor_origins=Array.from(b.wc).join(","));for(var f in c)c[f]&&512<c[f].length&&(g.gE(Error("GVI param too long: "+f)),c[f]="");a=g.Zg(b.baseYtUrl+"get_video_info",c)}b=2;this.o.isAd()&&(b=0);c=this.o;f=this.F.Da;d=this.F.jc;c.la()||(c.ZA=a,c.ax=b,c.Al=f,c.TB=d,c.FF=!XO(c).o("disable_gvi_cors"),
c.du=XO(c).A("html5_get_video_info_timeout_ms")||0,c.aB=XO(c).o("html5_get_video_info_promiseajax"),c.fi=!0,c.VF())}};
g.h.FU=function(a){this.la()||a.videoData.la()||(a&&bP(this.o)?(this.N=a,this.o.Ma&&(this.aa=new lna,zqa(this),0<this.o.eh&&!gP(this.o)||(iT(this,BT(this),!0),jT(this,"playbackData"))),this.o.Pa.o&&g.CT(this),wT(this),this.aa&&this.o.Pa.o&&(gP(this.o)?(a=(0,g.B)(this.D.eD,this.D),this.aa.A=a):this.o.ua&&(a=(0,g.B)(this.o.ua.TP,this.o.ua),this.aa.A=a)),this.pa&&yT(this),a=this.o,a.endSeconds&&a.endSeconds>a.startSeconds&&rqa(this,a.endSeconds),this.ha.o=!0,XS(this,"dataloaded"),this.ia.A?fT(this):
this.pa&&YS(this,MP(MP(this.B,512),1)),kT(this,"html5_log_media_capabilities")&&window.navigator.mediaCapabilities&&(a=Xpa(this.o.Pa),this.Jb("mediacapabilities","bestHeight."+AT(this).o+";bestSmoothHeight."+a+";updateConstraint."+(a<AT(this).o)))):this.HE(new MN("fmt.noneavailable",!0,{b111120550:"b"})))};
g.h.HE=function(a){this.la()||(a instanceof MN?this.W.isBackground()?(LT(this,"vp_none_avail"),this.Oe=null,this.ha.reset()):(this.ha.o=!0,g.aT(this,a.errorCode,"YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK",NN(a.details))):g.gE(a))};
g.h.logEvent=function(a,b){if(this.C){var c=this.C,d={};d.rt=g.AP(c.o).toFixed(3);g.Ea(d,Hma(c.o));var e=c.o.o,f=c.o.videoData;e={ns:e.ca,html5:"1",el:sP(f),ps:e.playerStyle,fexp:e.experiments.experimentIds.join(",")||void 0,feature:f.Vw||f.Un||void 0,ctrl:f.Kf||void 0,ytr:f.Lf||void 0,list:f.playlistId};vP(f)&&(e.autoplay="1");f.subscribed&&(e.subscribed=f.subscribed);g.Ea(d,e);delete d.fexp;g.Ea(d,a);d=g.vE(c.o.o.baseYtUrl+"player_204",d);hQ(c,d,b)}};
g.h.isPeggedToLive=function(){return!!this.K&&this.K.isPeggedToLive()};
g.h.aO=function(){return this.B};
g.h.getPlayerType=function(){return this.Kb};
g.h.ZW=function(){!kT(this,"html5_drm_new_source_new_elem_killswitch")&&this.o.Pa.o&&bM(this.o.ua)?FT(this):(tT(this),YS(this,MP(this.B,16)),yT(this),QP(this.B)&&zT(this))};
g.h.getAvailableAudioTracks=function(){return this.F.experiments.o("html5_hls_select_audio_killswitch")?this.o.Pa?this.o.Pa.getAvailableAudioTracks():[]:this.o.getAvailableAudioTracks()};
g.h.getAudioTrack=function(){if(this.F.experiments.o("html5_hls_select_audio_killswitch")){var a=this.getVideoData(),b=a.Ac;if(!b)return a.Si;var c=g.Ia(this.getAvailableAudioTracks(),function(a){return a.id==b.id});
return c?c:a.Si}return this.o.getAudioTrack()};
g.h.eO=function(){this.F.experiments.A("html5_background_quality_cap")&&this.D&&wT(this);this.F.experiments.o("html5_cut_vss_on_visibility")&&this.C&&g.zP(this.C.B);this.F.Rj&&!this.o.backgroundable&&this.A&&!vT(this)&&(this.W.isBackground()&&this.A.rq()?(this.Jb("bgmobile","suspend"),g.pT(this,!0)):this.W.isBackground()||yT(this)&&this.Jb("bgmobile","resume"))};
g.h.yT=function(a){if(this.J){var b=this.J;yN(b.o)&&(a=Vna(a),uS(b,new kS(a)))}};
g.h.pU=function(a,b){this.J?uS(this.J,new kS(b,a)):this.qc.push({type:a,info:b})};
g.h.DE=function(){AN&&this.sa&&this.sa.o&&this.J&&(Lpa(this.J,this.sa.o),this.sa=null)};
g.h.dW=function(a){this.o.hH=DJ("auto",a,!1,"u");wT(this)};
g.h.NT=function(a){nT(this,a.reason,a.video.info,a.audio.info);this.aa&&(this.aa.o=a.audio.index)};
g.h.LT=function(a){tqa(this,a.reason,a.audio.info)};
g.h.ln=function(a){Hqa(this,a);if("html5.invalidstate"!=a.errorCode&&"fmt.unplayable"!=a.errorCode&&"fmt.unparseable"!=a.errorCode||!ET(this,a.errorCode,a.details)){var b=/^pp/.test(this.o.clientPlaybackNonce);if(Eqa(a))if(a.details.sts="17829",Fqa(this))if(g.W(this.B,4)){if(this.Gg=!0,VS(this),!kT(this,"html5_paused_expiration_killswitch"))return}else{this.C&&(a.o&&(a.details.e=a.errorCode,a.errorCode="qoe.restart",a.o=!1),this.C.onError(a.errorCode,NN(a.details)));uT(this);return}else a:if(!(6048E5>
g.tG()-this.F.Fg)){if(!kT(this,"html5_retire_by_reload_killswitch"))try{window.location.reload(!0);break a}catch(c){}kT(this,"tvhtml5_retire_old_players")&&g.gN(this.F)&&Iqa(this)}if(Gqa(a)&&this.o.Pa.A){if(this.C)this.C.onError(a.errorCode,NN(a.details));this.Jb("highrepfallback","1",!0);!kT(this,"html5_hr_logging")&&/^hr/.test(this.o.clientPlaybackNonce)&&window.btoa&&this.Jb("afmts",(0,window.btoa)(this.o.adaptiveFormats));xma(this.o);TS(this);VS(this);DT(this);zT(this)}else a.o?(b=this.D?this.D.G.D:
null,b=Gqa(a)&&b&&b.isLocked()?"YTP_ERROR_FORMAT_UNAVALIABLE":void 0,g.aT(this,a.errorCode,b,NN(a.details))):this.C&&(this.C.onError(a.errorCode,NN(a.details)),b&&"manifest.net.connect"==a.errorCode&&(a="https://web.archive.org/web/20181027110332/https://www.youtube.com/generate_204?cpn="+this.o.clientPlaybackNonce+"&t="+g.tG(),(new OR(a,"manifest",(0,g.B)(function(a){this.Jb("pathprobe",a)},this),(0,g.B)(function(a){this.onError(a.errorCode,NN(a.details))},this.C))).send()))}};
g.h.getCurrentTime=function(){return this.G.getCurrentTime()};
g.h.getDuration=function(){return this.o.lengthSeconds?this.o.lengthSeconds+(this.G?this.G.C:0):BT(this)?BT(this):0};
g.h.pL=function(){var a=new pla;if(this.D){var b=this.F.schedule;a.B=b.J;a.D=b.K;a.bandwidthEstimate=g.CM(b);a.o="d."+zM(b).toFixed(2)+";st."+(1E9*(b.C.A()||0)).toFixed(2)+";bw."+b.o.A().toFixed(0)+";abw."+b.F.A().toFixed(0)+";v50."+wM(b.A,.5).toFixed(2)+";v92."+wM(b.A,.92).toFixed(2)+";v96."+wM(b.A,.96).toFixed(2)+";v98."+wM(b.A,.98).toFixed(2);b=this.D;if(b.C&&!fJ(b.C)&&(a.A=wR(b.o)?b.o.D.C:YI(b.C.A.uc(),b.D),a.C=wR(b.B)?b.B.D.C:YI(b.C.o.uc(),b.D),b.A.ha)){var c=yR(b.o),d=yR(b.B),e=UI(b.C.A.uc(),
"_"),f=UI(b.C.o.uc(),"_");a.o=(a.o||"")+(";lvq."+c+";laq."+d+";lvb."+e+";lab."+f)}a.bandwidthEstimate=DR(b.J)}else this.A&&(a.A=EP(this.A));a.F=this.QA();return a};
g.h.gW=function(){XS(this)};
g.h.fW=function(a){g.aT(this,"auth",(0,window.unescape)(a.reason),a.errordetail||"sec."+a.errorcode,a.subreason)};
g.h.dO=function(a){var b=a.target.Dd();if(this.A&&this.A.Dd()&&this.A.Dd()==b){Pqa(this,a.type);var c=!1;switch(a.type){case "error":var d=GP(this.A)||"";if("capability.changed"==d){g.kP(this.o,vT(this));FT(this);return}if(0<this.A.Eb()&&ET(this,d,{msg:this.A.Uk()}))return;if(this.W.isBackground()&&4==this.A.Eb()){g.pT(this);LT(this,"unplayable");return}break;case "durationchange":d=this.A.getDuration();(!this.L||(0,window.isFinite)(d)&&0<d)&&1!=d&&this.o.lengthSeconds!=d&&(this.o.lengthSeconds=d,
XS(this));break;case "ratechange":this.D&&(d=this.A.Pc(),this.D.J.B=Math.max(1,d));d=this.H;d.F=!0;d.B();if(!this.F.experiments.o("html5_log_playback_rate_change_killswitch2")&&this.C){d=this.C.A;var e=this.xa,f=g.AP(d.o);e&&e!=d.ka&&(g.WP(d,f,"rate",[e]),d.ka=e);d.D(f)}break;case "loadedmetadata":this.V("onLoadedMetadata");case "loadstart":window.clearInterval(this.yc);this.kt()||(this.yc=g.nE((0,g.B)(this.kt,this),100));break;case "progress":this.Qa&&this.A&&(d=this.A.Im(),d.length&&d.end(0)>this.Qa&&
(this.A.un(this.Qa),this.Qa=window.NaN,this.rd=this.Da.R(this.A,"canplay",this.US,this)));case "suspend":HT(this);this.V("onLoadProgress",this,this.A?g.qP(this.o)?1:rP(this.o)?xT(this)||this.isPeggedToLive()?1:hqa(this.G):FP(this.A):0);g.W(this.B,8)&&(this.Sj?c=!0:this.Tj&&((0,window.isNaN)(this.Pd)||this.Pd+1<this.A.getCurrentTime())&&(c=!0,this.Pd=this.A.getCurrentTime()));break;case "playing":(0,g.lQ)("plev",void 0,"");OO("plev");this.Fg&&(this.Fg=!1,xT(this)||(iT(this,window.Infinity,!0),jT(this,
"onPlaying")));break;case "timeupdate":d=this.A&&!this.A.getCurrentTime();e=this.A&&0==this.A.Fe();if(d&&(!this.Va||e))return;this.Va=this.Va||!!this.A.getCurrentTime();this.kt();HT(this);if(!this.A||this.A.Dd()!=b)return;this.F.experiments.o("html5_video_progress_current_time_killswitch")?this.V("onVideoProgress",this,this.A.getCurrentTime()):this.V("onVideoProgress",this,this.getCurrentTime());break;case "waiting":if(0<this.A.Hm().length&&0==this.A.dg().length&&0<this.A.getCurrentTime()&&5>this.A.getCurrentTime()&&
this.D)return;break;case "resize":this.o.Ga&&"auto"==this.o.Ga.video.quality&&this.V("internalvideoformatchange",this.o,!1);break;case "pause":if(this.xh&&g.W(this.B,8)&&!g.W(this.B,1024)&&0==this.getCurrentTime()&&g.sN){LT(this,"safari_autoplay_disabled");return}}if(this.A&&this.A.Dd()==b){this.V("videoelementevent",a);b=this.B;if(!g.W(b,128)){d=this.La;var k=this.A;e=this.F.experiments;f=b.A;k=k?k:a.target;var l=k.getCurrentTime();if(!g.W(b,64)||"ended"!=a.type&&"pause"!=a.type){var m=k.tj()||l&&
1.1>Math.abs(l-k.getDuration()),n="pause"==a.type&&k.tj(),p="ended"==a.type;e&&e.o("html5_waiting_before_ended")&&(p=p||"waiting"==a.type||"timeupdate"==a.type&&!g.W(b,4)&&!IP(d,l));if(n||m&&p)0<k.Fp()&&k.Dd()&&(f=14);else switch(a.type){case "error":GP(k)&&(f|=128);break;case "pause":g.W(b,256)?(f^=256)||(f=64):g.W(b,32)||g.W(b,2)||g.W(b,4)||(f=4,g.W(b,1)&&g.W(b,8)&&(f|=1));break;case "playing":f=(f|8)&-1029;e&&e.o("html5_playing_clears_unstarted_killswitch")||(f&=-65);IP(d,k.getCurrentTime())&&
(f&=-2);g.W(b,1)&&KP(d,k)&&(f|=1);break;case "seeking":f|=16;e&&e.o("html5_seeking_buffering_only_playing")&&!g.W(b,8)||(f|=1);f&=-3;break;case "seeked":f&=-17;break;case "waiting":g.W(b,2)||(f|=1);KP(d,k);break;case "timeupdate":l=g.W(b,8),m=g.W(b,16),n=g.W(b,4),(e&&e.o("html5_paused_timeupdate_killswitch2")?l&&!n||m:(l||m)&&!n)&&IP(d,k.getCurrentTime())&&(f=8),KP(d,k)&&(f|=1)}}d=f;e=null;d&128&&(e=a.target,(f=GP(e))?(k="mediaElem.1",e.Uk()&&(k+=";msg."+e.Uk()),.001>Math.random()&&(k+=";gpu."+(0,g.dT)()),
e={errorCode:f,errorDetail:k,message:g.wH("YTP_ERROR_GENERIC_WITHOUT_LINK"),messageKey:"YTP_ERROR_GENERIC_WITHOUT_LINK"}):e=null);b=LP(b,d,e)}!g.W(this.B,1)&&g.W(b,1)&&NT(this,"evt_"+a.type);YS(this,b);c&&this.A.play()}}};
g.h.WR=function(a){a="available"==a.o.availability;a!=this.td&&(this.td=a,this.V("airplayavailabilitychange"))};
g.h.XR=function(){var a=g.tG();if(kT(this,"html5_hlsvp_airplay_killswitch")||(0,window.isNaN)(this.ud)||!(2E3>a-this.ud)){var b=this.A.sj();this.ud=a;b!=vT(this)&&(kT(this,"html5_new_vis_fullscreen_and_airplay")||(this.Ei=b),a=this.W,a.C!=b&&(a.C=b,a.B()),!kT(this,"html5_hlsvp_airplay_killswitch")||b)&&(g.kP(this.o,vT(this)),wT(this));this.V("airplayactivechange")}};
g.h.kt=function(){var a=this.A;a&&this.Va&&!this.o.Ve&&!NO("vfp","")&&2<=a.Fe()&&!a.tj()&&0<XI(a.dg())&&(0,g.lQ)("vfp",void 0,"");var b=this.A;return b&&!this.o.Ve&&0<b.getDuration()&&(!NO("pbp","")&&b.uj()&&2<=b.Fe()&&0<XI(b.dg())&&(0,g.lQ)("pbp",void 0,""),a=kT(this,"html5_use_start_seconds_for_pbs")?this.o.startSeconds+.1:0,b=b.getCurrentTime(),kT(this,"html5_use_hasAdvanced_for_pbs")?IP(this.La,b):b>a)?(Kqa(this),!0):!1};
g.h.US=function(){this.rd&&(this.Da.Ia(this.rd),delete this.rd,this.Sn())};
g.h.WL=function(){if(this.A&&!g.W(this.B,128)){this.o.Wh&&this.F.experiments.A("html5_log_rebuffer_events")&&Pqa(this,"pfx");var a=this.getCurrentTime();if(g.W(this.B,8)&&IP(this.La,a))YS(this,NP(this.B,1));else if(g.W(this.B,8)&&Pma(this.La,a,g.tG(),EP(this.A))){var b=this.getDuration();!this.o.Ma&&b&&1.1>Math.abs(b-a)?this.A.Cv()?iT(this,0,!0):QS(this):(g.SP(this.B)||NT(this,"progress_fix"),YS(this,MP(this.B,1)))}else g.W(this.B,4)&&g.SP(this.B)&&5<EP(this.A)&&YS(this,NP(this.B,1));HT(this)}};
g.h.gL=function(){return this.D?DR(this.D.J):g.CM(this.F.schedule)};
g.h.LA=function(){return this.A?EP(this.A):0};
g.h.nL=function(){return this.F.schedule.J};
g.h.QA=function(){return xT(this)&&this.B.sb()?this.TA():window.NaN};
g.h.TA=function(){if(!this.o.Ma||!this.o.ua||!this.D)return window.NaN;var a=gP(this.o)?this.D.eD():this.o.ua.H;return(0,g.H)()/1E3-IT(this)-a};
g.h.GL=function(){this.o.Ma||this.V("connectionissue")};
g.h.Sn=function(){var a=this;if(this.wc=this.A.bd()){var b=this.wc;b.then(void 0,function(c){if(!(g.W(a.B,4)||g.W(a.B,256)||a.wc!=b||!kT(a,"html5_ignore_mediaelement_playerror_killswitch")&&c&&"AbortError"==c.name&&c.message&&c.message.includes("load"))){var d="promise";!kT(a,"html5_log_dompause_err_killswitch")&&c&&c.name&&(d+=";m."+c.name);LT(a,d);a.xh=!0}})}};
g.h.CT=function(a,b,c,d){d=void 0===d?"YTP_ERROR_LICENSE":d;c=c.substr(0,256);"drm.keyerror"==a&&1<this.J.A.keys.length&&96>this.yh&&(a="drm.sessionlimitexhausted",b=!1);if(b)g.aT(this,a,d,c);else if(this.C)this.C.onError(a,c);"drm.sessionlimitexhausted"==a&&(this.yh++,Oqa(this))};
g.h.ET=function(){var a=this,b=this.F.experiments.A("html5_license_constraint_delay"),c=IE("smart-tv")&&IE("samsung");b&&c?(b=new g.U(function(){wT(a);XS(a)},b),g.M(this,b),b.start()):(wT(this),XS(this))};
g.h.DT=function(){var a=this;AN&&(this.sa=nla(this.o.ua))&&(this.sa.o?g.ag(function(){a.DE()}):lpa(this.D,this.sa))};
g.h.bO=function(a){this.V("heartbeatparams",a)};
g.h.cO=function(a){this.Jb("keystatuses",Epa(a));var b=0;this.o.Ga&&(b=this.o.Ga.video.o);var c=this.F.experiments.o("html5_drm_start_from_null_constraint"),d=c&&!(Gpa(a,"AUDIO")&&Gpa(a,"SD"));a:{for(var e in a.o)if("output-restricted"==a.o[e].status){a=!0;break a}a=!1}a&&(!c&&480<b||d)&&this.V("drmoutputrestricted")};
g.h.JT=function(){if(!this.o.Ve&&this.A&&!this.W.isBackground()){var a="0";0<this.A.Fe()&&5<=EP(this.A)&&this.o.Pa.o&&(YS(this,MP(this.B,1)),NT(this,"load_soft_timeout"),this.V("playbackstalledatstart"),a="1");this.C&&(KT(this),a={restartmsg:a},hT(this)&&(a.prerolls=this.ga.join(",")),this.D&&g.Ea(a,hS(this.D)),this.A&&g.Ea(a,this.A.Tk()),this.C.onError("qoe.start15s",NN(a)));0<this.Ii&&this.Hi<this.Ii&&(this.Hi++,Oqa(this));this.V("loadsofttimeout")}};
g.h.gx=function(){if(!this.zb){var a=new yS(this.o,this.Rj);if("c1a"in a.A){var b=g.y("yt.abuse.player.botguardInitialized");b=!(b&&b())}else b=!1;if(b)g.mE((0,g.B)(this.gx,this),4500);else{if(a.o&&a.o.Ni){a.C&&(a.C.value=a.o.Ni+("&r1b="+a.o.clientPlaybackNonce));b=[a.o.Ni];for(var c in a.B)if(a.A[c]&&a.B[c]){var d=a.B[c](a.A);d&&b.push(d)}a=b.join("&")}else a=null;a&&this.C&&(c=this.C,c.L||(b=gQ(c,"atr"),b.K=a,b.send(),c.L=!0),this.zb=!0)}}};
g.h.bc=function(){return this.G.bc()};
g.h.AC=function(){return this.xa};
g.h.cu=function(){return this.A?this.A.Ev():{}};
g.h.JN=function(a){kT(this,"html5_unrewrite_timestamps")&&this.Jb("timestamp",a.toString())};
g.h.Jb=function(a,b,c){if(this.C){var d=this.C;d.la()||YP(d.A,a,b,void 0===c?!1:c)}};g.t(OT,iQ);g.h=OT.prototype;g.h.getPlayerType=function(){return this.playerType};
g.h.getRootNode=function(){return g.VT(this).element};
g.h.rg=function(){return this.app.G};
g.h.getVideoData=function(a){return(a=g.Y(this.app,a||this.playerType))&&a.getVideoData()};
g.h.af=function(a){return this.app.af(a||this.playerType)};
g.h.isWidescreen=function(){return this.app.isWidescreen()};
g.h.bd=function(a){3==this.Sa()?g.WT(this.app.D).Dn("control_play"):pX(this.app,a)};
g.h.Hd=function(a){GT(g.Y(this.app,a))};
g.h.addEventListener=function(a,b){this.app.ga.subscribe(a,b)};
g.h.removeEventListener=function(a,b){this.app.ga.unsubscribe(a,b)};
g.h.xq=function(a){this.aD(a,a)};
g.h.vn=function(a){return P_(this.app,a)};
g.h.getVideoUrl=function(a,b,c,d){var e=this.Sa(),f=2==e;if(d&&f||3==e)f=!1,e=1;d=this.getVideoData(e);if(!d)return"";var k;a||d.Ma||(k=Math.floor(this.getCurrentTime(e)));return this.app.o.getVideoUrl(d.videoId,f?void 0:this.getPlaylistId()||void 0,k,b,c)};
g.h.Qk=function(a,b){g.PT(this).Qk(a,b)};
g.h.Bn=function(a,b,c){var d=g.PT(this).zc;d&&d.yv(a,b,c)};
g.h.Zc=function(){if(g.X(this).H)return!1;var a=g.Y(this.app,1);if(!a)return!1;var b=a.getVideoData();return!b.Wd()||g.qP(b)||2==this.Sa()&&!uX(this.app)||hT(a)&&3!=this.Sa()?!1:!0};
g.h.fO=function(){var a=g.Y(this.app);a&&a.A.Gv()};
g.h.yj=function(a,b,c){var d=this.app;(c=g.Y(d,c||this.playerType))&&d.o.Kb.has(a.toString())?c.C?(d=gQ(c.C,"engage"),d.B=a,d.send(b)):b&&b():b&&b()};
g.h.jf=function(a,b){N_(this.app,a,b)};
g.h.setVolume=function(a){a=g.ld(a,0,100);fI(this.app,{volume:a,muted:this.isMuted()},!0)};
g.h.mute=function(){fI(this.app,{muted:!0,volume:this.getVolume()},!0)};
g.h.sg=function(){fI(this.app,{muted:!1,volume:Math.max(5,this.getVolume())},!0)};
g.h.Cp=function(){return this.app.Cp()};
g.h.Sa=function(){return iU(this.app)};g.C(g.zU,g.VF);g.h=g.zU.prototype;g.h.load=function(){this.loaded=!0};
g.h.unload=function(){this.loaded=!1};
g.h.Hc=function(){return!0};
g.h.Y=function(){this.loaded&&this.unload();g.zU.fa.Y.call(this)};
g.h.xH=function(){return{}};g.t(BU,AU);BU.prototype.isSkippable=function(){return null!=this.F};
BU.prototype.getVideoUrl=function(){return this.C};g.t(CU,g.L);CU.prototype.Y=function(){this.A&&g.FF(this.A);this.o.clear();DU=null;g.L.prototype.Y.call(this)};
CU.prototype.register=function(a,b){b&&this.o.set(a,b)};
var DU=null;g.t(FU,g.L);FU.prototype.show=function(){this.o.o.A||(this.o.show(),UE(this.B),this.B=[])};
FU.prototype.hide=function(){this.o.o.A&&(this.o.hide(),UE(this.A),this.A=[])};
FU.prototype.bind=function(a){var b=this.o,c=a.confirmLabel||null;c?b.A.show():b.A.hide();b.A.Nb(GU(c));this.o.setTitle(a.title||null);this.o.o.Nb(GU(a.dialogMessage||null));g.Sd($qa(this.o));b=g.q(a.adReasons||[]);for(c=b.next();!c.done;c=b.next())c=c.value,$qa(this.o).appendChild(g.Md("li",null,GU(c)));this.B=a.impressionEndpoints&&0<a.impressionEndpoints.length?ara(a.impressionEndpoints[0]):[];this.A=a.confirmServiceEndpoint?ara(a.confirmServiceEndpoint):[]};
g.t(EU,g.VF);g.h=EU.prototype;g.h.na=function(){return this.o.element};
g.h.show=function(){if(!this.o.A){this.Z.R(window.document,"click",this.OO);this.o.show();var a=this.na(),b=g.Qh(g.Hh(this.C)).width,c=g.Qh(this.C),d=Fh(this.C);a.style.top=d.y+c.height+"px";a.style.right=b-d.x-c.width+"px"}};
g.h.hide=function(){this.o.A&&(this.o.hide(),g.UF(this.Z))};
g.h.setTitle=function(a){a?this.B.show():this.B.hide();this.B.Nb(GU(a))};
g.h.OO=function(a){this.o.A&&(a=a.target,g.ae(this.C,a)||(g.ae(this.A.o["ytp-ad-info-dialog-confirm-button"],a)?this.V("confirmClick"):g.ae(this.o.element,a)||this.V("externalClick")))};g.t(bra,AU);g.t(cra,AU);g.t(era,AU);g.t(fra,AU);g.t(gra,AU);g.t(OU,g.VF);OU.prototype.dispose=function(){this.o.clear();g.VF.prototype.dispose.call(this)};
var PU=null;g.ua("ytads.bulleit.getVideoMetadata",function(a){return(a=ira().o.get(a))?a.o():{}},void 0);
g.ua("ytads.bulleit.triggerExternalActivityEvent",function(a,b,c){var d=ira();c=jra(c);null!=c&&d.V(c,{queryId:a,viewabilityString:b})},void 0);Object.freeze([bra,cra,era,fra,gra,BU]);var RU=null,lra=null;g.ua("yt.www.ads.eventcache.getLastCompanionData",function(){return RU},void 0);
g.ua("yt.www.ads.eventcache.getLastPlaShelfData",function(){return lra},void 0);var Fra={seekableStart:0,seekableEnd:1,current:0};g.t(g.YU,g.L);g.h=g.YU.prototype;g.h.show=function(a){1!=this.o&&2!=this.o&&(4==this.o&&this.Qr(),5==this.o?(this.B.show(),this.o=null,this.A.stop(),this.C&&this.C()):this.B.A||(ZU(this,!0),this.o=1,a?this.A.start(a):this.Qr()))};
g.h.hide=function(){4!=this.o&&(1==this.o||2==this.o?(this.B.hide(),this.o=null,this.A.stop()):this.B.A&&(ZU(this,!0),this.o=4,this.A.start(this.G)))};
g.h.Qr=function(){switch(this.o){case 1:this.B.show();this.o=2;this.A.start(10);break;case 2:ZU(this,!1);this.o=3;this.A.start(this.F);break;case 3:this.o=null;this.C&&this.C();break;case 4:this.B.hide();ZU(this,!1);this.o=5;this.A.start(0);break;case 5:this.o=null,this.D&&this.D()}};
g.h.stop=function(){for(;null!=this.o&&5!=this.o;)this.A.stop(),this.Qr()};
g.h.Y=function(){this.B.la()||this.B.element.removeAttribute("aria-hidden");g.L.prototype.Y.call(this)};bV.prototype.getLength=function(){return this.o-this.A};g.t(eV,g.WH);eV.prototype.F=function(){var a=this.C.C;a=dV(new bV(a.seekableStart,a.seekableEnd),a.current,0);this.H.style.width=100*a+"%"};
eV.prototype.G=function(){g.hN(g.X(this.D))||g.X(this.D).experiments.o("hide_video_ad_progress_bar_and_ad_count_down")||(2==this.D.Sa()?-1===this.B&&(this.show(),this.B=this.C.subscribe("r",this.F,this),this.F()):-1!==this.B&&(this.hide(),this.C.ce(this.B),this.B=-1))};g.t(fV,g.V);fV.prototype.clear=function(){for(var a=g.q(this.Ra),b=a.next();!b.done;b=a.next())g.lf(b.value);this.Ra=[]};
fV.prototype.H=function(a){g.KF(a);this.B=Math.max(0,this.B-gV(this));hV(this)};
fV.prototype.G=function(a){g.KF(a);this.B=Math.min(this.Ra.length-1,this.B+gV(this));hV(this)};
fV.prototype.Y=function(){this.clear();g.V.prototype.Y.call(this)};g.t(iV,g.VF);iV.prototype.stop=function(){this.B&&this.o.Ia(this.B)};
iV.prototype.D=function(){var a=this.A.Zk(this.F);this.C={seekableStart:a.seekableStart,seekableEnd:a.seekableEnd,current:a.current};this.V("r")};
iV.prototype.G=function(a){0<VP(a,2)&&this.V("q")};g.xX={};var jV=[2,5];tV.prototype.D=function(){var a=uV(this);a.format="2_3";a.at="2_3";a.ad_sys="AdSense";a.trsp="1";yW(this.o,3,a)};g.C(vV,g.L);vV.prototype.Y=function(){this.o.reject();vV.fa.Y.call(this)};
vV.prototype.F=function(){this.B++;var a=g.y("yt.www.watch.ads.isAfcAdVisible");a&&g.za(a)&&a()&&this.C++;4<=this.C?this.o.resolve():5<=this.B?this.o.reject("Timed out waiting for MPU to become visible"):this.A.start()};var BV,xV=!1,yV=!1,wV=!1;g.fG("showCompanionAdLoaded",function(){yV&&(Wra(),yV=!1)});
g.fG("watchAdsInit",function(){xV&&(xV=!1,Ura())});g.C(DV,g.VF);DV.prototype.Sf=function(){return this.adSystem+"_"+this.adType};
DV.prototype.bj=function(){return this.Sf()};
DV.prototype.Bb=function(){return this.A?this.A.Bb():null};
DV.prototype.abort=g.A;g.C(EV,g.L);EV.prototype.Y=function(){EV.fa.Y.call(this);g.Sd(FV(this));g.Sd(fsa(this));this.A=this.o=null;delete this.B};g.t(OV,g.L);OV.prototype.start=function(){!this.la()&&(0,window.isNaN)(this.o)&&(this.B=(0,g.H)(),this.o=g.Cg(this.D,Math.max(0,this.C-this.A),this))};
OV.prototype.stop=function(){(0,window.isNaN)(this.o)||(this.B=this.A=0,g.Dg(this.o),this.o=window.NaN)};
OV.prototype.pause=function(){(0,window.isNaN)(this.o)||(this.A+=(0,g.H)()-this.B,g.Dg(this.o),this.o=window.NaN)};
OV.prototype.Y=function(){(0,window.isNaN)(this.o)||g.Dg(this.o);g.L.prototype.Y.call(this)};g.C(QV,DV);QV.A=15E3;QV.o=1E3;g.h=QV.prototype;g.h.abort=function(){nsa(this.C,13);this.N||this.A.destroy();this.F=this.G=!1;UV(this)};
g.h.Sf=function(){var a=this.Bb();var b=jr(a);if(4==dsa(b).B)return b;if(Ss(a))a=3;else if(a.isSkippable())a=Ts(a)?1:2;else return this.adSystem+"_"+this.adType;return this.adSystem+"_"+this.adType+"_"+a};
g.h.bj=function(){return this.adSystem+"_"+this.adType};
g.h.show=function(){this.D=this.o.getRootNode();Math.random()<qV(this.o).experiments.A("ima_video_ad_with_overlay_class_logging_percentage")&&(g.Jq(this.D,"ytp-ad-overlay-open")&&g.gE(Error("class ytp-ad-overlay-open is present during video ad is playing")),g.Jq(this.D,"ytp-ad-overlay-closed")&&g.gE(Error("class ytp-ad-overlay-closed is present during video ad is playing")));qV(this.o).experiments.o("ima_clear_overlay_class_during_video_ad")&&(g.Mq(this.D,["ytp-ad-overlay-open","ytp-ad-overlay-closed"]),
g.Mq(FV(this.o.D),["ad-overlay"]));CV();iX(this.o)&&zV(this.o,{});g.wU(this.o.player,2);this.C.B=g.tG();this.B.subscribe("progresssync",this.eE,this);this.o.o.N&&g.Ud(g.K("video-ad-status-bar",this.D));g.Kq(this.D,["ad-showing","ad-interrupting"]);this.o.subscribe("resize",this.hy,this);try{this.Z.X(this.A,"adError",this.zY),this.Z.X(this.A,"click",this.yY),this.Z.X(this.A,"complete",this.BY),this.Z.X(this.A,"engagedview",this.jT),this.Z.X(this.A,"pause",this.FH),this.Z.X(this.A,"start",this.GH),
this.Z.X(this.A,"skip",this.EY),this.Z.X(this.A,"MUTE_AD",this.abort),this.Z.X(this.A,"skippableStateChanged",this.HV),this.Z.X(this.A,"youTubeChannelMetadata",this.fU),this.Z.X(this.A,"yt-show-toast",this.DW),this.Z.X(this.A,"companionInitialized",this.AY),iX(this.o)&&(this.Z.X(this.A,"youtubeKevlarCompanionShow",this.CY),this.Z.X(this.A,"youtubeKevlarCompanionHide",this.AT)),this.Z.X(FV(this.o.D),"mouseup",this.DY),this.hy(),this.N||this.A.start()}catch(a){VV(this,a)}this.o.o.A&&qV(this.o).experiments.o("ad_info_icon_in_card")&&
mX(this.o,"onAdMetadataAvailable",{showAdInfoIcon:!0})};
g.h.IH=function(a,b,c){var d=this;if("newdata"==a&&this.videoData!=c){a=new esa;a.isSkippable=this.W;a.isBumper=this.ba;a.skip=(0,g.B)(this.A.skip,this.A);var e=!1;a.muteAdClicked=function(){e=!0;d.A.muteAdClicked()};
a.muteAd=function(){e||d.A.muteAdClicked();e=!1;d.A.muteAd()};
a.whyThisAdClicked=(0,g.B)(this.A.whyThisAdClicked,this.A);a.whyThisAdClosed=(0,g.B)(this.A.whyThisAdClosed,this.A);a.sendAdsPing=g.TE;a.skipShown=(0,g.B)(this.A.aG,this.A);if(b=this.Bb()){a.clickThroughUrl=dt(b)||"";a.skipTime=fga(b,c.lengthSeconds)||0;a.adSystem=this.adSystem;if(b=qsa(this))a.whyThisAdInfo=b;var f=rsa(this);f&&(a.muteAdInfo=f);var k=qV(this.o);this.o.o.A&&k.experiments.o("ad_info_icon_in_card")&&(k={showAdInfoIcon:!0},k.whyThisAdInfo=b,k.muteAdInfo=f,mX(this.o,"onAdMetadataAvailable",
k))}a.videoId=c.videoId;a.videoId||(a.videoUrl=this.jo()||"");c.spacecastModule=this.aa;TV(this.o,-1,a)}this.videoData=c};
g.h.HH=function(a){a=a.state;g.W(a,1)||this.H.pause();g.W(a,128)?VV(this,Error(a.o.message||"Video player error.")):g.W(a,1)&&this.H.start()};
g.h.GH=function(){this.K=!0;this.F=!1;if(!this.G){this.G=!0;var a=this.C;MV(a);var b=NV(a);if((0,window.isNaN)(a.B))MV(a);else{var c=g.tG()-a.B;b.ad_stl=c}LV(a,4,b);psa(this.o,1);SV(this,!1);NO("_start","video_to_ad")&&(this.J&&1!=this.J&&(0,g.mQ)("yt_abt",this.J,"video_to_ad"),this.videoData&&this.videoData.clientPlaybackNonce&&(0,g.mQ)("ad_cpn",this.videoData.clientPlaybackNonce,"video_to_ad"),this.videoData&&this.videoData.videoId&&(0,g.mQ)("ad_docid",this.videoData.videoId,"video_to_ad"),(0,g.mQ)("cpn",
rV(this.o).clientPlaybackNonce,"video_to_ad"),(0,g.lQ)("apbs",void 0,"video_to_ad"));(a=g.wH("ADS_INSTREAM_FIRST_PLAY"))&&mX(this.o,"onAdAnnounce",a)}TV(this.o,1);this.V("adPlay",this)};
g.h.FH=function(){this.K&&(this.K=!1,TV(this.o,2))};
g.h.BY=function(){if(!this.F){var a=this.C;MV(a);var b=NV(a),c=a.o.Cm();c?b.ad_fmt=c:MV(a);LV(a,5,b);qV(this.o).Lb&&mX(this.o,"onAdComplete");UV(this);this.F=this.G=!1}};
g.h.jT=function(){var a=this.C;a.o.V("AD_LOGGING_EVENT",777,NV(a))};
g.h.EY=function(){this.F=!0;var a=this.C,b=NV(a),c=a.o.Cm();c?b.ad_fmt=c:MV(a);LV(a,14,b);qV(this.o).Lb&&mX(this.o,"onAdSkip");UV(this)};
g.h.HV=function(){qV(this.o).experiments.o("html5_ad_no_buffer_abort_after_skippable")&&this.H.dispose();var a=g.wH("ADS_INSTREAM_SKIPPABLE");a&&mX(this.o,"onAdAnnounce",a)};
g.h.fU=function(){if(!this.la()){var a=this.o.o;if(a){var b=this.Bb();if(b){var c=b.O;b=b.ha;var d=qV(this.o),e=qsa(this),f=rsa(this);b&&c&&c.isListed?(a={},a.videoTitle=c.title,a.channelId=b.channelId,a.channelThumbnailUrl=b.channelIconThumbnailUrl,a.channelTitle=b.authorName,a.channelVideoCount=b.videoCount,a.showAdInfoIcon=this.o.o.A&&d.experiments.o("ad_info_icon_in_card"),a.whyThisAdInfo=e,a.muteAdInfo=f,mX(this.o,"onAdMetadataAvailable",a)):a.A&&d.experiments.o("ad_info_icon_in_card")&&(a={showAdInfoIcon:!0},
a.whyThisAdInfo=e,a.muteAdInfo=f,mX(this.o,"onAdMetadataAvailable",a))}}}};
g.h.DW=function(a){mX(this.o,"onYtShowToast",a.event.o)};
g.h.AY=function(a){a=a.event;var b=a.o;b&&b instanceof g.Pf&&this.V("adCompanionInitialized",a.Ub(),b)};
g.h.CY=function(a){if(iX(this.o)){var b=a.event.Ub();if(a=b&&b.H){b={adHoverTextButtonRenderer:gsa(at(b),bt(b))};var c=qV(this.o);a.iframeCompanionRenderer?c.experiments.o("desktop_videowall_companion_wta_support")&&(a.iframeCompanionRenderer.adInfoRenderer=b):a.imageCompanionAdRenderer?c.experiments.o("desktop_image_companion_wta_support")&&(a.imageCompanionAdRenderer.adInfoRenderer=b):a.actionCompanionRenderer?c.experiments.o("desktop_action_companion_wta_support")&&(a.actionCompanionRenderer.adInfoRenderer=
b):a.shoppingCompanionCarouselRenderer&&c.experiments.o("desktop_shopping_companion_wta_support")&&(a.shoppingCompanionCarouselRenderer.adInfoRenderer=b);zV(this.o,a)}}};
g.h.AT=function(){iX(this.o)&&zV(this.o,{})};
g.h.zY=function(a){var b={};try{b.error_code=a.event.getError().Eb()}catch(c){b.error_code=900,b.error_message=c.toString()}nsa(this.C,32,b);VV(this,a.event.getError())};
g.h.yY=function(){var a=this.C;MV(a);var b=NV(a);if(a.A){var c=sV(a.C);b.ck_xy=Math.round(a.A.x-c.left)+"x"+Math.round(a.A.y-c.top);b.ck_wh=c.width+"x"+c.height}LV(a,15,b);this.A.pause();this.V("select")};
g.h.eE=function(){};
g.h.YD=function(){this.A.Mf();if(this.G&&!this.F){var a=this.C;a.o.V("AD_LOGGING_EVENT",19,NV(a))}SV(this,!0)};
g.h.Y=function(){this.o.unsubscribe("control_toggle_play_pause",this.JH,this);this.o.unsubscribe("control_play",this.Qw,this);this.o.unsubscribe("control_pause",this.Pw,this);this.o.unsubscribe("resize",this.hy,this);g.QF(this.Z);this.B.unsubscribe("statechange",this.HH,this);this.B.unsubscribe("internalAbandon",this.YD,this);this.B.unsubscribe("internalvideodatachange",this.IH,this);this.B.unsubscribe("progresssync",this.eE,this);this.N||this.A.destroy();this.L&&(g.Sd(this.L),this.L=null);this.O&&
(g.Ud(this.O),this.O=null);this.D&&(g.Mq(this.D,["ad-showing","ad-interrupting"]),this.D=null);this.F=!1;wta(this.o);this.H.dispose();this.H=null;QV.fa.Y.call(this)};
g.h.zp=function(){return this.B.getDuration()};
g.h.Cm=function(){return this.videoData&&this.videoData.Ga?this.videoData.Ga.mimeType:null};
g.h.jo=function(){return this.videoData&&this.videoData.ae?this.videoData.ae.o().o:null};
g.h.JH=function(){this.K?this.Pw():this.Qw()};
g.h.Qw=function(){this.A.resume();this.GH()};
g.h.Pw=function(){this.A.pause();this.FH()};
g.h.hy=function(){g.Ph(FV(this.o.D),this.o.app.H.Ua())};
g.h.DY=function(a){a=new g.pd(zF(a),AF(a));this.C.A=a};g.C(YV,DV);g.h=YV.prototype;g.h.zp=function(){};
g.h.Cm=function(){};
g.h.jo=function(){};
g.h.show=function(){if(!this.D||!vX(this.o)){var a=this.o.getRootNode();g.S(a,"ad-showing");this.B=FV(this.o.D);a=this.A.Bb().getHeight();this.B.style.height=Dh(a,!0);g.S(this.B,"ad-overlay");this.Z.X(this.B,"mouseup",this.IY);try{this.Z.X(this.A,"autoClose",this.jS),this.Z.X(this.A,"userClose",this.cW),this.Z.X(this.A,"click",this.GY),this.Z.X(this.A,"impression",this.xT),this.Z.X(this.A,"why_this_ad_url",this.Lw),this.Z.X(this.A,"why_this_ad_got_it",this.Kw),this.Z.X(this.A,"adError",this.FY),iX(this.o)&&
this.Z.X(this.A,"youtubeKevlarCompanionShow",this.HY),this.Gc("normal"),this.Rl(),this.H||this.A.start(),this.iy(),this.G=!0,this.o.subscribe("resize",this.Rl,this),this.o.subscribe("presentingplayerstatechange",this.KH,this),this.V("adEnd",this)}catch(b){this.V("adError",b)}}};
g.h.Lw=function(){(this.F=2==Q_(this.o.app))||SW(this.o)};
g.h.Kw=function(){this.F||qX(this.o)};
g.h.HY=function(a){iX(this.o)&&(a=(a=a.event.Ub())&&a.H)&&zV(this.o,a)};
g.h.Y=function(){var a=this.o.getRootNode();g.Mq(a,["ytp-ad-overlay-open","ytp-ad-overlay-closed"]);g.QF(this.Z);this.o.unsubscribe("resize",this.Rl,this);this.o.unsubscribe("presentingplayerstatechange",this.KH,this);g.Lq(a,"ad-showing");this.A&&(this.H||this.A.destroy(),this.A=null);this.B&&g.Lq(this.B,"ad-overlay");this.B=null;this.D=!1;YV.fa.Y.call(this)};
g.h.cW=function(){this.B&&this.A&&this.A.Bb()&&(this.B.style.height=Dh(0,!0));this.D=!0;var a=this.C;a.A=(0,g.H)();var b=XV(a);WV(a,6,b);ZV(this,!1)};
g.h.jS=function(){ZV(this,!1)};
g.h.GY=function(){SW(this.o);var a=this.C;a.A=(0,g.H)();var b=XV(a);if(a.B){var c=sV(a.D);b.ck_xy=Math.round(a.B.x-c.left)+"x"+Math.round(a.B.y-c.top);b.ck_wh=c.width+"x"+c.height}WV(a,100,b)};
g.h.xT=function(){var a=g.wH("ADS_OVERLAY_IMPRESSION");a&&mX(this.o,"onAdAnnounce",a);ZV(this,!0)};
g.h.IY=function(a){this.C.B=a.target==a.currentTarget?null:new g.pd(a.pageX,a.pageY)};
g.h.FY=function(a){this.V("adError",a.event.getError())};
g.h.KH=function(a){g.W(a.state,16)&&this.Gc("normal")};
g.h.Gc=function(a){this.J!=a&&(this.J=a,this.G&&this.Rl())};
g.h.Rl=function(){var a=this.B;var b=g.vd(a),c=g.Hd&&a.currentStyle;c&&g.Ed(g.yd(b).o)&&"auto"!=c.width&&"auto"!=c.height&&!c.boxSizing?(b=g.Vh(a,c.width,"width","pixelWidth"),a=g.Vh(a,c.height,"height","pixelHeight"),a=new g.sd(b,a)):(c=new g.sd(a.offsetWidth,a.offsetHeight),b=g.Xh(a),a=g.$h(a),a=new g.sd(c.width-a.left-b.left-b.right-a.right,c.height-a.top-b.top-b.bottom-a.bottom));this.A.Bb()&&(c=this.A.Bb().ub(),b=this.A.Bb().getHeight(),(c>a.width||b>a.height)&&ZV(this,!1))};
g.h.iy=function(){var a=this.C;a.C=(0,g.H)();var b=XV(a);WV(a,3,b)};g.C($V,g.L);$V.A="rm";$V.o=10;$V.D=200;$V.B=200;$V.C=190;g.h=$V.prototype;
g.h.load=function(){var a=this.o.app.H.Ua();if(this.o.o.C)var b=!1;else b=0<(this.F&3)?190:200,b=200>a.width||a.height<b;if(b){b=this.B;var c=uV(b);c.ck_wh=a.width+"x"+a.height;lX(b.o,14,c);CV();AW(this.D)}else if(this.qb=this.o.qb)a=this.B,yW(a.o,9,uV(a)),a=Rra(this.o),(b=this.o.o.serverPrefetchedVast)&&0<(this.F&3)?(a.A=b,this.o.o.serverPrefetchedVast=void 0):a.o=this.Lh(),this.qb.X("adsManagerLoaded",this.DH,!1,this),this.qb.X("adError",this.CH,!1,this),this.EF(this.qb,a)};
g.h.Rt=function(){var a=Ira(this.o.o,qV(this.o),rV(this.o));a.surveyCreativeData=this.o.o.surveyCreativeData;a.kY=this.H;return a};
g.h.DH=function(a){if(a.A===this){(0,g.lQ)("aml");OO("aml");try{var b=this.Rt(),c=a.o}catch(d){this.li(d);return}this.C.X(c,"companionBackfill",(0,g.B)(this.xY,this,c));this.C.X(c,"loaded",(0,g.B)(this.wY,this,c));this.C.X(c,"adError",(0,g.B)(this.vY,this,c));this.C.X(c,"allAdsCompleted",g.A);this.C.X(c,"contentPauseRequested",g.A);this.C.X(c,"contentResumeRequested",g.A);c=gB(a,this.o.F,{},b);try{c.init("normal")}catch(d){c.destroy(),this.li(d)}}};
g.h.wY=function(a,b){g.on(this.C);var c=b.Ub(),d=c.Zb(),e=this.B,f=uV(e);f.ad_man=d?"instream":"overlay";yW(e.o,12,f);e=a.Nh();switch(d?this.Np(a,c,e):this.ej(a,c)){case 0:Ksa(this.D,this.J,this.A);break;case 1:a.destroy();AW(this.D);break;case 2:c=this.B;lX(c.o,21,uV(c));a.destroy();AW(this.D);break;case 3:AW(this.D);break;default:a.destroy()}};
g.h.vY=function(a,b){g.on(this.C);a.destroy();this.li(b.getError())};
g.h.CH=function(a){var b=a.getError();"adLoadError"==b.Yb()&&a.o===this&&this.li(b)};
g.h.xY=function(){tsa(this)};
g.h.Np=function(a,b,c){var d=rV(this.o)&&rV(this.o).spacecastModule;if(d&&c&&!this.L.test(c))return 3;bW(this,ft(b));aW(this,new QV(this.H,this.o,a,b.isSkippable(),b.isBumper(),void 0,d,this.A.o));return 0};
g.h.ej=function(a,b){bW(this,ft(b));aW(this,new YV(this.H,this.o,a));return 0};
g.h.li=function(a){if(a){var b=this.B,c=uV(b);a&&Hra(a,c);lX(b.o,32,c);AW(this.D)}};
g.h.Y=function(){this.qb&&(this.qb.Ia("adsManagerLoaded",this.DH,!1,this),this.qb.Ia("adError",this.CH,!1,this));g.on(this.N);g.on(this.C);$V.fa.Y.call(this)};
g.h.EF=function(a,b){try{oD(a,b,this),(0,g.lQ)("ar"),OO("ar")}catch(c){this.li(c)}};g.C(cW,DV);g.h=cW.prototype;g.h.zp=function(){};
g.h.Cm=function(){};
g.h.jo=function(){};
g.h.show=function(){if(iX(this.o))zV(this.o,{afcMpu:{logImpression:this.EH.bind(this),logNoAd:this.ou.bind(this)}});else if(wV)this.ou();else{var a=qV(this.o).experiments;Ura();AV();Xra(a).then((0,g.B)(this.EH,this),(0,g.B)(this.ou,this))}};
g.h.EH=function(){var a={ad_sys:"AdSense"};a.at=this.bj();a.format=this.Sf();this.V("AD_LOGGING_EVENT",3,a);this.V("adEnd",this)};
g.h.ou=function(){var a={};a.at=this.bj();this.V("AD_LOGGING_EVENT",2,a);this.V("adEnd",this)};g.C(dW,$V);dW.prototype.Rt=function(){var a=dW.fa.Rt.call(this);a.rz=0==this.K;a.oK=vX(this.o)?a.rz:!0;return a};
dW.prototype.Lh=function(){var a=lV(this.A);var b=this.G;(b=4==this.F&&b.o.afvInvideoAdTag?b.o.afvInvideoAdTag:b.o.afvAdTag)?(g.jb(b,"http:")&&(b=b.substr(5)),a=g.vE(b,{videoad_start_delay:0==a||-1==a?a:1E3*a})):a="";return a};
dW.prototype.ej=function(a,b){if(this.o.o.C)return 1;if(1==this.A.o){var c=new kV(2,10);this.A=c;this.B.B=c;yW(this.o,1)}return dW.fa.ej.call(this,a,b)};g.C(eW,YV);eW.prototype.Rl=function(){};
eW.prototype.Sf=function(){return"1_3"};
eW.prototype.iy=function(){1==this.K?this.V("AD_LOGGING_EVENT",2,{}):eW.fa.iy.call(this)};g.C(fW,$V);fW.prototype.Lh=function(){var a=this.G,b=lV(this.A);if(0<(this.F&3)){var c="mid,"+a.Gb;var d="midroll";0==b?(c="pre",d="preroll"):-1==b&&(c="post",d="postroll");a=new g.Sm(a.o);b=a.o;var e=b.get("scp","");e=(e?e+"&":"").replace(RegExp("&?pos=[^&]*","g"),"");b.set("scp",e+("pos="+c));b.set("vpos",d);c=a.toString()}else c=a.o;return c};
fW.prototype.ej=function(a,b){bW(this,ft(b));var c=Ps(b);if(pV(c,"rm"))return 1==this.F||vX(this.o)||CV(),a.zl(),2;if(pV(c,"blockAllAds"))return a.zl(),aW(this,new eW(this.o,a,1)),0;if(pV(c,"hideMaster"))return aW(this,new eW(this.o,a,0)),0;if(this.o.o.C)return 1;aW(this,new YV(this.H,this.o,a));return 0};g.C(gW,$V);gW.A="https://web.archive.org/web/20181027110332/https://www.googleapis.com/urlshortener/v1/url?key=AIzaSyBbSB-E7SYd1iggX6r2b5C7ljvO6fVqaj0&shortUrl=";gW.B="43";gW.o=function(a){var b=new QD;g.DE(a,{format:"RAW",method:"GET",timeout:5E3,withCredentials:!0,Kd:function(){var c=Error(a+" timed out");UD(b);SD(b,!1,c)},
onError:function(c){c=Error("Problem loading "+a+" with status code "+c.status);UD(b);SD(b,!1,c)},
onSuccess:function(a){b.Zl(a)}});
return b};
gW.prototype.Lh=function(){return""};
gW.prototype.EF=function(a,b){var c=this.F;c&1||c&4||c&8?this.G?c&8?Zra(this.G):("goo.gl"==g.Pg(this.G)?(c=gW.o("https://web.archive.org/web/20181027110332/https://www.googleapis.com/urlshortener/v1/url?key=AIzaSyBbSB-E7SYd1iggX6r2b5C7ljvO6fVqaj0&shortUrl="+this.G),WD(c,function(a){a=JSON.parse(a.responseText);if(!a)throw Error("Invalid expanded forced ad URL.");if(!a.longUrl)throw Error("Missing forced ad URL information.");a=new g.Sm(a.longUrl);g.an(a,"video_format","43");return gW.o(a.toString())},this)):c=gW.o(this.G),WD(c,function(c){b.A=
c.responseText;
oD(a,b,this)},this),VD(c,null,this.li,this)):this.li(Error("Invalid empty URL")):this.li(Error("Invalid request type: "+c))};var hW=null;g.t(Bsa,g.WH);g.t(jW,g.WH);g.h=jW.prototype;g.h.Y=function(){g.WH.prototype.Y.call(this);this.clear()};
g.h.bind=function(a,b){Dsa(this,a);this.G=b||Csa()};
g.h.clear=function(){this.C.clear();this.D.stop()};
g.h.start=function(){this.D.start();this.Fx()};
g.h.OR=function(a){this.B||(this.B=new FU(a.target),g.M(this,this.B),this.element.appendChild(this.B.o.na()));this.B.bind(this.G);this.B.show()};
g.h.Fx=function(){hV(this.C)};
g.h.PL=function(){this.J.start()};g.C(kW,DV);kW.prototype.zp=function(){};
kW.prototype.Cm=function(){};
kW.prototype.jo=function(){};
kW.prototype.show=function(){var a=rV(this.o).videoId;if(a){var b=this.A.Bb();qV(this.o).F.add(a,{Pi:Lt(b)||null,Fl:Mt(b)||null});if(iX(this.o)){var c=Esa(this);g.Na(c)||(a=at(this.A.Bb())||void 0,c={shopText:GV(ls(c[0],"teaser_text")),sponsoredText:GV("Sponsored"),itemList:{horizontalListRenderer:{items:(0,g.I)(c,jsa),visibleItemCount:3,webHorizontalListRendererExtensionData:{nextButton:{buttonRenderer:{style:"STYLE_DEFAULT",size:"SIZE_DEFAULT",icon:{iconType:"CHEVRON_RIGHT"}}},previousButton:{buttonRenderer:{style:"STYLE_DEFAULT",
size:"SIZE_DEFAULT",icon:{iconType:"CHEVRON_LEFT"}}}}}}},a?(c.adInfoButton={buttonRenderer:{style:"STYLE_OPACITY",size:"SIZE_DEFAULT",icon:{iconType:"INFO"},navigationEndpoint:{adInfoDialogEndpoint:{}}}},HV(c.adInfoButton.buttonRenderer.navigationEndpoint.adInfoDialogEndpoint,a)):c.adInfoText=GV("You are seeing this product because we think it is relevant to the video. Google may be compensated by the merchant."),mX(this.o,"onPlaShelfInfoCardsReady",{renderer:c}))}else if(a=Esa(this),!g.Na(a)){c=
at(this.A.Bb());if(c){var d={};HV(d,c);d=d.dialog.adInfoDialogRenderer}this.B.bind(a,d);a=this.B.element;wsa().then(g.Da(xsa,a)).then(this.B.start,null,this.B)}a={};a.format=this.Sf();a.at=this.bj();oV(b,a);this.V("AD_LOGGING_EVENT",3,a)}};g.C(lW,$V);lW.prototype.Lh=function(){return""};
lW.prototype.ej=function(a,b){bW(this,ft(b));aW(this,new kW(this.o,a));5!=this.A.o&&tsa(this);return 0};
lW.prototype.Np=function(){return 1};g.C(mW,lW);mW.prototype.Lh=function(){return this.o.o.forceAdUrl||""};g.C(qW,YV);qW.prototype.Rl=function(){};
qW.prototype.Sf=function(){return"4_3"};g.C(rW,$V);
rW.prototype.Lh=function(){if(g.F(this.G)||0!=lV(this.A)){var a=this.O;if(a.o.ka&&a.o.wa){var b={};var c="youtube_watch_"+a.B;b.nw="10613";b.asnw=a.o.ka;b.ssnw=a.o.ka;b.caid=a.o.wa;b.vdur=a.F;b.csid=c;b.resp="vast2";b.metr="121";c={};(0,window.isNaN)(a.o.age)||(c._fw_d_001=a.o.age);a.o.gender&&(c._fw_d_002=a.o.gender);a.o.sa&&(c["_fwu:10613:lang"]=a.o.sa);a.o.pa&&(c._fw_dbp=a.o.pa);a.o.contentVideoId&&(c._fw_distributorvideoassetid=a.o.contentVideoId);c._fw_yt_type=Hsa(a)?"long":"short";b.prof=Hsa(a)?
"10613:youtube_html5_w_midroll":"10613:10613_youtube_html5_2014";b.crtp="youtube";b.flag=nW(a.A)?"+slcb+qtcb+amcb+exvt+emcr":"+slcb+qtcb+amcb+emcr";var d="";if(a.D&1&&!a.H){var e={};d=Gsa(a);if(pW(a.A)){if(pW(a.A)){var f=0;var k=a.C.A;if(k){k=k.Db;for(var l=0;l<k.length&&(pW(k[l])&&f++,k[l].getId()!=a.A.getId());l++);}}else f=0;d+=f}e.slid=d;e.ptgt="a";d="";a.o.F&&!a.o.B?d=";linear-skippable":!a.o.F&&a.o.B&&(d=";video");e.slau=Gsa(a)+d;e.tpos=oW(a.A)?a.F.toString():lV(a.A.Wb).toString();d=qE(e)+";";
e={slid:"page_display1",w:"300",h:"60",ptgt:"s",slau:"display",flag:"+cmpn"};d+=qE(e)+";"}a.D&4&&(e={slid:"overlay",ptgt:"a",slau:"overlay"},e.tpos=nW(a.A)?"10":oW(a.A)?a.F.toString():lV(a.A.Wb).toString(),d+=qE(e)+";",e={slid:"page_display2",w:"300",h:"250",ptgt:"s",slau:"display",flag:"+cmpn"},d+=qE(e)+";");a.D&8&&(e={slid:"dis",w:"300",h:"250",ptgt:"s",slau:"display",flag:"+cmpn"},d+=qE(e)+";");a=d.substr(0,d.length-1);b="//web.archive.org/web/20181027110332/https://2975c.v.fwmrm.net/ad/g/1?"+qE(b)+";"+qE(c)+";"+a}else b=""}else b=this.G;
return b};
rW.prototype.Np=function(a,b){return rW.fa.Np.call(this,a,b,null)};
rW.prototype.ej=function(a,b){var c=Ps(b);if(pV(c,"rm"))return this.D.D=g.cc(a),2;if(this.o.o.C)return 1;if(pV(c,"hideMaster")){if(a.ie&&a.ie.Xi()){c=a.ie.Xi();var d=a.Bb();if(P.o()){var e=d.K;d.K=[];d=e}else d=[];c.impressionUrls=d}aW(this,new qW(this.o,a));return 0}return rW.fa.ej.call(this,a,b)};sW.prototype.Yb=function(){return this.A};
sW.prototype.create=function(a,b){switch(this.A){case 1:return new dW(a,b,this.o);case 2:return new fW(a,b,this.o);case 5:return new rW(a,b,this.o);case 4:return new gW(a,b);case 7:return new lW(a,b,this.o);case 8:return new mW(a,b,this.o);default:return null}};g.C(tW,g.VF);g.h=tW.prototype;g.h.Pb=function(){return"loaded"==this.C||"error"==this.C};
g.h.getId=function(){return this.Ja};
g.h.show=function(){this.H?this.o instanceof YV&&this.o.Gc("normal"):(this.H=!0,this.o instanceof QV&&this.B.Ke("bs"),this.o.subscribe("adEnd",this.dE,this),this.o.subscribe("adError",this.zH,this),this.o.subscribe("AD_LOGGING_EVENT",this.BH,this),this.o.subscribe("select",this.yH,this),this.o.subscribe("adCompanionInitialized",this.AH,this),this.o.show(),Lsa(this,!0))};
g.h.dE=function(){this.A&&(BW(this),vta(this.B));xW(this)};
g.h.zH=function(a){if(a){var b={};Hra(a,b);zW(this,b);lX(this.B,32,b)}BW(this);xW(this)};
g.h.BH=function(a,b){zW(this,b);yW(this.B,a,b)};
g.h.yH=function(){this.G=!1};
g.h.AH=function(a,b){this.V("adCompanionInitialized",a,b)};
g.h.Y=function(){BW(this);this.o=null;null!=this.D&&(this.D.dispose(),this.D=null);tW.fa.Y.call(this)};var Rsa=[new kV(1)];var Ssa={kJ:"m",QI:"f"};g.C(CW,g.L);CW.prototype.D=function(a){if(a=a.Ub()){var b=a.G;if(null!=b){var c=PV(this.B.player.app,2);c&&c.getVideoData().videoId==b?c.C?(c=c.C,b=gQ(c,"engage"),b.B=1,c=Gma(c.o),b=g.Da(Vma,b.pa,dQ(b),Uma(b),c)):b=null:b=null;this.A=b}Bta(this.B,a)}else g.gE(Error("Ad object is missing in AdEvent"))};
CW.prototype.C=function(){this.o&&this.A&&this.A()};g.C(JW,g.L);g.h=JW.prototype;g.h.zG=function(){this.o.subscribe("beginseeking",this.To,this)};
g.h.pG=function(a,b){return a.A&&pW(a)?b+this.C+this.B:b};
g.h.oG=function(a,b){return!a.A||oW(a)||0x7ffffffffffff==b||0x8000000000000==b?b:b+this.C+this.B};
g.h.nz=function(a){if(a.A&&pW(a)&&!(0>=this.B)){var b={priority:2,id:String(a.getId()),style:"ytp-ad-fadeout"},c=vW(a)+this.C;b=new g.nQ(c,c+this.B-1,b);this.D[a.getId()]=b;RW(this.o,[b])}};
g.h.OH=function(a){a.A&&pW(a)&&(Wsa(this,a.getId()),this.To())};
g.h.To=function(){(0,window.isNaN)(this.A)||(g.oE(this.A),this.A=window.NaN);var a=oX(this.o);KW(this,a,this.o.app.L.getVolume()/100);a.Gd("transition","");a.Gd("opacity","1")};
g.h.PH=function(a){var b=vW(a)+this.C+this.B;b=50>=1E3*this.o.getCurrentTime(1)-b;a.A&&pW(a)&&b&&(a=.001*(vW(a)+this.G),yta(this.o,a),0>=this.F||(a=oX(this.o),a.Gd("opacity","0"),KW(this,a,0),qV(this.o).experiments.o("use_async_run_for_execution_in_ima")?g.ag(this.MH,this):g.mE((0,g.B)(this.MH,this),0)))};
g.h.MH=function(){var a=oX(this.o);a.Gd("transition","opacity "+String(this.F)+"ms linear");a.Gd("opacity","1");Xsa(this,a,this.F,1)};
g.h.NH=function(a,b,c){if(!(0,window.isNaN)(this.A)){var d=Math.max(1,b-(0,g.H)());d=-1*a.getVolume()*c/d;d=Math.max(0,a.getVolume()+d);KW(this,a,d);this.A=0<d?GW((0,g.B)(this.NH,this,a,b,c),c):window.NaN}};
g.h.LH=function(a,b,c){if(!(0,window.isNaN)(this.A)){var d=Math.max(1,b-(0,g.H)()),e=this.o.app.L.getVolume()/100;d=(e-a.getVolume())*c/d;d=Math.min(e,a.getVolume()+d);KW(this,a,d);this.A=d<e?GW((0,g.B)(this.LH,this,a,b,c),c):window.NaN}};
g.h.Y=function(){this.To();this.o.unsubscribe("beginseeking",this.To,this);JW.fa.Y.call(this)};g.C(LW,JW);g.h=LW.prototype;g.h.zG=g.A;g.h.pG=function(a,b){return b};
g.h.oG=function(a,b){return b};
g.h.nz=g.A;g.h.OH=g.A;g.h.PH=g.A;g.h.Y=g.A;g.C(MW,g.L);MW.prototype.A=function(){if(this.C){var a=this.o.o;if(null!=a&&(a=a.o,!(0>=a))){var b=this.o.player.getCurrentTime(),c=[],d=null,e=Number.MAX_VALUE;g.Hb(this.F.B,function(a){a.Pb();if(a.isVisible&&!(0>=OW(this,a))){var f=a.getId();f=this.F.D[f];if(OW(this,a)>b){var k=!PW(this,a);k!=f.visible&&(f.visible=k,c.push(f));k||(f=OW(this,a)-b,f<e&&(e=f,d=a))}else f.visible||(f.visible=!0,c.push(f))}},this);
0<c.length&&RW(this.o,c,1);if(d){var f=0;0<this.B&&(f=(0,g.H)()/1E3-this.B);Ysa(this,a-f-e+2)}else NW(this)}}};
MW.prototype.Y=function(){NW(this);this.o.unsubscribe("endseeking",this.A,this);MW.fa.Y.call(this)};g.C(QW,g.L);g.h=QW.prototype;g.h.kl=function(a){a.unsubscribe("adBreakComplete",this.kl,this);a.unsubscribe("adCompanionInitialized",this.Cw,this);qV(this.A).experiments.o("use_async_run_for_execution_in_ima")?g.ag((0,g.B)(this.bE,this,a)):this.O=g.mE((0,g.B)(this.bE,this,a),0)};
g.h.Cw=function(a,b){g.lf(this.K);this.K=new CW(this.A,b)};
g.h.bE=function(a){var b=ata(this,a),c=b.previous;b=b.next;this.O=window.NaN;var d=!1;switch(a.Wb.o){case 5:var e=0x7ffffffffffff;d=!0;break;case 3:e=0x8000000000000;break;default:e=b&&g.ta(b.Wb.A)?vW(b)-1:0x7ffffffffffff}0==a.Ja&&(this.A.Ke("bl"),uW(a)||this.A.Ke("fb"));"loaded"!=a.C||0==a.Ja&&uW(a)&&b&&1E3*this.A.player.getCurrentTime()>=vW(b)?(c&&c.Pb()&&!d&&(b=e,e=vW(c),e>b&&(b=e),cta(this,c),bta(this,c,b)),this.Ti(a)):(this.B[a.getId()]=a,bta(this,a,e),wW(this.A));g.Nb(this.B)==this.Db.length&&
this.J.A();Zsa(this)};
g.h.Ti=function(a){a.unsubscribe("adBreakComplete",this.kl,this);a.unsubscribe("adBreakComplete",this.Ln,this);this.o&&a==this.o&&(this.o=null,null!=this.K&&a.A&&(this.K.o=!0));cta(this,a);g.Sa(this.Db,a);delete this.B[a.getId()];g.lf(a)};
g.h.mk=function(a){return this.B[a]};
g.h.Ln=function(a){a.unsubscribe("adBreakComplete",this.Ln,this);if(a.A){if(!oW(a)&&a.G){var b=this.A;tX(b);qX(b);this.C.PH(a)}else uW(a)&&!a.G?(b=this.A,tX(b),qX(b)):tX(this.A);this.Ti(a);a=this.J;a.C&&(b=a.o.o)&&0<b.o&&(a.B=(0,g.H)()/1E3,a.A());for(;!g.Na(this.N);)dta(this,this.N.shift())}else a.isVisible||this.Ti(a)};
g.h.Y=function(){g.oE(this.O);g.lf(this.C);g.lf(this.J);(0,g.D)(this.Db,this.Ti,this);g.lf(this.K);QW.fa.Y.call(this)};g.C(TW,QW);g.h=TW.prototype;g.h.mk=function(a){a=TW.fa.mk.call(this,a);if(!a)return null;if(!a.J)return a;var b=null;if(this.F.length){var c=b=this.F.shift();c.Wb=a.Wb;c.Ja=a.getId()}b&&"loaded"==b.C?(a.unsubscribe("adBreakComplete",this.kl,this),this.B[a.getId()]=b,this.Db[this.Db.indexOf(a)]=b,g.lf(a)):(this.ql(),b&&(g.lf(b),b=null,this.Ti(a)));b&&!b.A&&this.ql();return b};
g.h.kl=function(a){!nW(a)&&(2!=a.Wb.o||10!=lV(a.Wb))||"loaded"==a.C&&a.A||this.ql();TW.fa.kl.call(this,a)};
g.h.Ln=function(a){a.A&&10<this.W?(UW(this),this.aa=g.mE((0,g.B)(this.ql,this),1E3*(this.W-10))):this.ql();TW.fa.Ln.call(this,a)};
g.h.ql=function(){if(!this.la())for(UW(this);this.H.length&&this.L.length+this.F.length<this.ca;){var a=this.H.shift();a.subscribe("adBreakComplete",this.cE,this);this.L.push(a);AW(a)}};
g.h.cE=function(a){a.unsubscribe("adBreakComplete",this.cE,this);g.Sa(this.L,a);this.F.push(a)};
g.h.Y=function(){UW(this);g.D(this.L,g.lf);g.D(this.F,g.lf);g.D(this.H,g.lf);TW.fa.Y.call(this)};g.C(VW,QW);VW.prototype.getVideoData=function(){return null};
VW.prototype.ga=function(a){"loaded"==a.C&&this.H.push(a);a.unsubscribe("adBreakComplete",this.ga,this)};
VW.prototype.W=function(){if(null!=this.o&&0<this.H.length){var a=this.H.shift();delete this.B[lV(a.Wb)];var b=Math.floor((0,g.H)()/1E3)-this.ha;this.ha=null;a.unsubscribe("adBreakComplete",this.W,this);this.Ti(a);this.o=null}0<this.L?(this.L--,eta(this)):(a=this.aa,tX(a),qX(a),(0,window.isFinite)(b)&&(this.ca?iT(this.F,window.Infinity,!0):iT(this.F,this.F.getCurrentTime()+b,!0)))};fta.prototype.Xg=function(){var a={allowed:this.A};this.o.excludedAds&&(a.ex_ad=this.o.excludedAds);this.B&&(a.at=this.B);return a};g.C(WW,g.L);WW.prototype.G=function(){this.o||(this.o=gta(this.C.Xe()));RW(this.A,g.Pb(this.o),1)};
WW.prototype.B=function(){if(this.o){var a=this.A.player.getCurrentTime(),b=[],c=null,d=Number.MAX_VALUE;(0,g.D)(this.C.Xe(),function(e){var f=this.o[e];if(f){var k=this.C.mk(e);k&&k.Jc>a?(e=!this.oe.A(k),e!=f.visible&&(f.visible=e,b.push(f)),e||(f=k.Jc-a,f<d&&(d=f,c=k))):!k||k.sb()?(g.kU(this.A.player,[f],void 0),delete this.o[e]):!f.visible&&k&&(f.visible=!0,b.push(f))}},this);
0<b.length&&RW(this.A,b,1);var e=this.A.o;if(null!=e&&(e=e.o,0>=e))if(c){var f=0;0<this.F&&(f=(0,g.H)()/1E3-this.F);hta(this,e-f-d+2)}else XW(this)}};
WW.prototype.Y=function(){this.A.unsubscribe("endseeking",this.B,this);XW(this);WW.fa.Y.call(this)};g.C(YW,g.L);g.h=YW.prototype;g.h.SA=function(){return 4};
g.h.Hr=function(a){return a};
g.h.rF=function(){return!1};
g.h.oz=g.A;g.h.ko=g.A;g.h.QH=g.A;g.h.RH=g.A;g.h.SH=g.A;g.C(ZW,g.L);g.h=ZW.prototype;g.h.SA=function(){return 4-this.C/1E3};
g.h.Hr=function(a){return Sb(this.B,1E3*a)?this.B[1E3*a]/1E3:a};
g.h.rF=function(a){var b=!1,c={};(0,g.D)(g.Wd(a),(0,g.B)(function(a){var d;if(d=(d=a.getAttribute("timeOffset"))?ita(d):null)b=b||jta(a),c[d]=a},this));
if(!b||0==g.Nb(c))return!1;a=(0,g.I)(g.Qb(c),function(a){return(0,window.parseInt)(a,10)});
if(!mta(this,a))return!1;g.Hb(c,(0,g.B)(function(a,b){var c=(0,window.parseInt)(Wb(this.B,function(a){return a==b}),10);
c&&a.setAttribute("timeOffset",kta(c))},this));
return!0};
g.h.oz=function(a){if(!(0>=this.K)){var b=[];(0,g.D)(a,(0,g.B)(function(a){if(Sb(this.B,1E3*a)){var c=new g.nQ(1E3*this.Hr(a)+this.C,1E3*a+500,{priority:2,id:String(a),style:"ytp-ad-fadeout"});this.D[a]=c;b.push(c)}},this));
RW(this.o,b)}};
g.h.QH=function(a){if(Sb(this.B,1E3*a)){var b=oX(this.o);null!==b&&(a=Math.max(0,1E3*a-1E3*this.o.getCurrentTime(1)),b.Gd("transition","opacity "+String(a)+"ms linear"),b.Gd("opacity","0"),nta(this,b,a,0))}};
g.h.RH=function(a){$W(this,1E3*a)&&(this.D[a]&&(g.kU(this.o.player,[this.D[a]],void 0),delete this.D[a]),this.ko())};
g.h.YH=function(){g.W(g.UT(this.o.player),4)&&this.ko()};
g.h.ko=function(){var a=oX(this.o);null!==a&&(null!=this.A&&(g.oE(this.A),this.A=null),aX(this,a,this.o.app.L.getVolume()/100),a.Gd("transition",""),a.Gd("opacity","1"))};
g.h.SH=function(a){if(Sb(this.B,1E3*a)){var b=1E3*a;200>=1E3*this.o.getCurrentTime(1)-b&&(yta(this.o,this.Hr(a)+this.J/1E3),0>=this.F||(a=oX(this.o),null!==a&&(a.Gd("opacity","0"),aX(this,a,0),null!=this.A&&g.oE(this.A),this.A=GW((0,g.B)(this.PY,this),0))))}};
g.h.PY=function(){var a=oX(this.o);null!==a&&(a.Gd("transition","opacity "+String(this.F)+"ms linear"),a.Gd("opacity","1"),nta(this,a,this.F,1))};
g.h.XH=function(a,b,c){if(null!==this.A){var d=Math.max(1,b-(0,g.H)());d=-1*a.getVolume()*c/d;d=Math.max(0,a.getVolume()+d);aX(this,a,d);0<d?this.A=GW((0,g.B)(this.XH,this,a,b,c),c):this.A=null}};
g.h.WH=function(a,b,c){if(null!==this.A){var d=Math.max(1,b-(0,g.H)()),e=this.o.app.L.getVolume()/100;d=(e-a.getVolume())*c/d;d=Math.min(e,a.getVolume()+d);aX(this,a,d);d<e?this.A=GW((0,g.B)(this.WH,this,a,b,c),c):this.A=null}};
g.h.Y=function(){this.ko();this.o.unsubscribe("applicationplayerstatechange",this.YH,this);ZW.fa.Y.call(this)};g.C(bX,g.L);var tta={ADSENSE:2,"ADSENSE/ADX":2,"YT:ADSENSE":2,DART:1,DART_DFA:1,DART_DFP:1,GDFP:1,"YT:DOUBLECLICK":1,FREEWHEEL:4,"YT:SHOPPING":14,SHOPPING:14,"ADSENSE-VIRAL":15,"YT:ADSENSE-VIRAL":15,"VIRAL-RESERVE":17,"YT:VIRAL-RESERVE":17};g.h=bX.prototype;
g.h.load=function(a){if(this.qb=this.o.qb){var b=this.o.o;this.F=b.applyFadeOnMidrolls?new ZW(this.o):new YW;var c=Rra(this.o);c.A=pta(this,a);if(c.A){c.Sp=this.o.F.H;c.ac.TSLA=Sra(this);c.ac.GET_MIDROLL_POSITION_IN_SEC=(0,g.B)(this.F.Hr,this.F);c.ac.DESCRIPTION_URL="https://web.archive.org/web/20181027110332/http://www.youtube.com/video/"+rV(this.o).videoId;if(a=Msa(b).get(3)){var d="";a&2&&a&1?d="video":a&2?d="skippablevideo":a&1&&(d="standardvideo");a&4&&(d&&(d+="_"),d+="text_image_flash");c.B=d;if(b=b.xa)c.H=b}this.qb.X("adsManagerLoaded",
this.UH,!1,this);this.qb.X("adError",this.TH,!1,this);oD(this.qb,c,this);this.o.Ke("bd")}}};
g.h.UH=function(a){if(a.A===this){var b={};Object.defineProperty(b,"currentTime",{get:(0,g.B)(function(){return this.o.getCurrentTime(1)},this),
enumerable:!0});Object.defineProperty(b,"duration",{get:(0,g.B)(function(){return this.o.player.getVideoData().lengthSeconds},this),
enumerable:!0});try{var c=qta(this);this.A=gB(a,this.o.F,b,c)}catch(d){cX(this,d);return}if(this.oe=this.A.gG(b,this.o.o.o)){this.F.oz(this.A.Xe());this.G=new WW(this.o,this.A,this.oe);g.M(this,this.G);qV(this.o).experiments.o("use_async_run_for_execution_in_ima")?g.ag(this.G.G,this.G):g.mE((0,g.B)(this.G.G,this.G),0);g.Ma(this.A.Xe(),0)||this.ik();this.D.X(this.A,"companionBackfill",(0,g.B)(this.MY,this));this.D.X(this.A,"prefetched",(0,g.B)(this.RR,this));this.D.X(this.A,"loaded",(0,g.B)(this.KY,
this));this.D.X(this.A,"adError",(0,g.B)(this.JY,this),!1);this.D.X(this.A,"start",(0,g.B)(this.LY,this));this.D.X(this.A,"complete",(0,g.B)(this.NR,this));this.D.X(this.A,"adNotify",(0,g.B)(this.Mn,this));this.D.X(this.A,"discardAdNotify",(0,g.B)(this.ll,this));this.D.X(this.A,"companionInitialized",(0,g.B)(this.NY,this));this.D.X(this.A,"contentPauseRequested",(0,g.B)(this.mi,this));this.D.X(this.A,"contentResumeRequested",(0,g.B)(this.vg,this));this.D.X(this.A,"allAdsCompleted",g.A);this.J.R(this.o.player,
"applicationplayerstatechange",this.OY);try{this.A.init("normal"),this.A.start()}catch(d){this.A.destroy(),this.A=null,cX(this,d)}}}};
g.h.OY=function(){if(g.W(g.UT(this.o.player),16)||g.W(g.UT(this.o.player),32)){var a=this.A;null!=a.Xb&&(a=a.Xb,a.A.stop(),a.B=!1)}else a=this.A,null!=a.Xb&&mA(a.Xb)};
g.h.NY=function(a){if(a=a.o)g.lf(this.H),this.H=new CW(this.o,a)};
g.h.mi=function(a){dX(this);if((this.B=a.Ub())&&this.B.Zb()){a=eX(this.B);var b=this.B.C.A;b=0==b?1:0<b?2:-1==b?3:0;this.C=new QV(a,this.o,this.A,this.B.isSkippable(),this.B.isBumper(),!0,void 0,b);rta(this,this.C);1!=b&&(a=qV(this.o).experiments.o("video_to_ad_use_gel"),GO("video_to_ad",["apbs"],void 0,a));a=this.o;a.K=!0;a.B||SW(a);this.F.RH(this.B.C.A);this.C.show()}};
g.h.vg=function(a){this.ik();if(this.o.getCurrentTime(1)<this.o.player.getVideoData().lengthSeconds){var b=this.o;tX(b);qX(b);this.B&&this.B.Zb()&&(this.F.SH(this.B.C.A),null!=this.H&&(this.H.o=!0))}a=a.Ub();(b=lD(this.A))&&b.L&&b.sb()?this.B=null:!a&&this.C instanceof cW||dX(this);var c=!0;if(a&&a!==this.B&&!a.Zb()){if(b&&b.L&&!b.sb()){b=this.G;null!=b.o[0]&&(c=b.o[0],delete b.o[0],b.o[0]=new g.nQ(1E4,c.end,{id:"10",visible:!0}),c.visible=!1,RW(b.A,[c,b.o[0]],1),RW(b.A,[b.o[0]]));this.B=a;return}c=
Ps(a);b=eX(a);pV(c,"blockAllAds")?(this.A.zl(),this.C=new eW(this.o,this.A,1,!0),c=!1):pV(c,"hideMaster")&&14!=b?(this.C=new eW(this.o,this.A,0,!0),c=!1):(c=this.A,14==b?(this.C=new kW(this.o,c),5!=lD(this.A).cf()&&sta(this,a)):this.C=new YV(b,this.o,c,!0),this.C.show(),c=!0)}this.B&&this.B.Zb()&&vta(this.o);this.B&&this.B.Zb()?(b=this.oe,0<b.B&&(b.o=(0,g.H)()/1E3),b=this.G,b.F=(0,g.H)()/1E3,b.B()):a&&a!==this.B&&!a.Zb()&&c&&(b=this.G,b.F=(0,g.H)()/1E3,b.B());this.G.G();this.B=a};
g.h.LY=function(a){(a=a.Ub())&&this.C&&(a=eX(a),this.C.adSystem=a)};
g.h.NR=function(a){a.Ub().Zb()||this.B!==a.Ub()||(dX(this),this.B=null)};
g.h.Mn=function(a){null!=a.o&&void 0!=a.o&&(a=a.o.adBreakTime,null!=a&&void 0!=a&&this.o.player.V("adnotify",a))};
g.h.ll=function(){this.o.player.V("discardadnotify")};
g.h.RR=function(a){var b=a.Ub();if(null!=b){var c=a.o.adBreakTime;this.W[c]=b;this.O||(this.o.Ke("bl"),0==c&&a.Ub().Zb()||this.o.Ke("fb"),this.O=!0)}};
g.h.KY=function(a){null!=a.Ub()&&(a.Ub().Zb()&&this.o.Ke("bs"),a.Ub().C.C||a.Ub().Zb()||(qV(this.o).experiments.o("web_player_ux_module")?uta(this):this.ik()))};
g.h.JY=function(a){cX(this,a.getError())};
g.h.TH=function(a){var b=a.getError();"adLoadError"==b.Yb()&&a.o===this&&cX(this,b)};
g.h.MY=function(a){sta(this,a&&a.Ub())};
g.h.Y=function(){dX(this);this.qb&&(this.qb.Ia("adsManagerLoaded",this.UH,!1,this),this.qb.Ia("adError",this.TH,!1,this));g.on(this.aa);g.on(this.D);g.UF(this.J);this.L=!1;this.A&&(this.A.destroy(),this.A=null);g.lf(this.F);g.lf(this.H);bX.fa.Y.call(this)};
g.h.ik=function(){this.L||(wW(this.o),this.L=!0)};
g.h.VH=function(a,b,c,d){if(3==b||19==c||2==c)a&&(d.break_type=a.cf(),d.sst=a.Jc,d.sidx=0),yW(this.o,c,d)};g.C(fX,g.zU);g.h=fX.prototype;g.h.Sv=function(){return-1};
g.h.create=function(){this.created||(g.S(this.player.getRootNode(),this.Ae+"-created"),this.J.R(this.player,"crn_"+this.Ae,this.Ew),this.J.R(this.player,"crx_"+this.Ae,this.Fw),this.created=!0)};
g.h.destroy=function(){g.Lq(this.player.getRootNode(),this.Ae+"-created");g.UF(this.J);this.created=!1;this.V("destroyed",this.Ae)};
g.h.Ew=function(){};
g.h.Fw=function(){};
g.h.Qk=function(a,b){var c={};for(d in a)c[this.Ae+"_"+d]=a[d];var d={};for(var e in b)d[this.Ae+"_"+e]=b[e];this.player.Qk(c,d)};
g.h.Xg=function(){return null};
g.h.Y=function(){this.created&&this.destroy();fX.fa.Y.call(this)};g.t(gX,g.L);g.h=gX.prototype;g.h.bind=function(a){var b=a.button&&a.button.buttonRenderer&&a.button.buttonRenderer.navigationEndpoint&&a.button.buttonRenderer.navigationEndpoint.adInfoDialogEndpoint;(b=b&&b.dialog&&b.dialog.adInfoDialogRenderer)?(a.hoverText?(a=Zqa(a.hoverText),Td(this.o,a,0)):this.o=null,this.B.bind(b)):g.gE(Error("adInfoDialogRenderer is missing in AdHoverTextButtonRenderer"))};
g.h.na=function(){return this.A};
g.h.ru=function(){this.o&&g.O(this.o,!1)};
g.h.QO=function(){this.B.o.o.A||this.o&&g.O(this.o,!0)};
g.h.PO=function(){this.B.show();this.ru()};g.t(hX,g.V);hX.prototype.Mn=function(a){this.D=-1==a?this.T.getDuration():a;this.B||(this.B=this.R(this.T,"progresssync",this.F));a=(a=this.T.getVideoData(1))&&a.clientPlaybackNonce||"";var b=g.mH();b&&(a={clientScreenNonce:b,adMediaTimeSec:this.D,timeToAdBreakSec:Math.ceil(this.D-this.T.getCurrentTime()),clientPlaybackNonce:a},g.KG("adNotify",a,void 0,void 0));this.F();this.C.show()};
hX.prototype.ll=function(){this.B&&(this.Ia(this.B),this.B=null);this.C.hide()};
hX.prototype.F=function(){var a=this.T.getCurrentTime();a=Math.ceil(this.D-a);0<a?this.Nb(g.QU("Ad in $X_SECONDSs",{X_SECONDS:String(a)})):this.C.hide()};g.C(jX,fX);jX.B=10;jX.A=1E3;jX.C="yt.www.watch.ads.addInstreamCompanionWtaUi";jX.o="livead";g.h=jX.prototype;
g.h.create=function(){jX.fa.create.call(this);this.N=!1;this.G.R(this.player,"beginseeking",(0,g.B)(this.V,this,"beginseeking"));this.G.R(this.player,"endseeking",(0,g.B)(this.V,this,"endseeking"));this.G.R(this.player,"resize",(0,g.B)(this.V,this,"resize"));this.G.R(this.player,"presentingplayerstatechange",(0,g.B)(this.V,this,"presentingplayerstatechange"));this.G.R(this.player,"webglsettingschanged",(0,g.B)(this.V,this,"webglsettingschanged"));this.subscribe("presentingplayerstatechange",this.SX,
this);if(iX(this)){var a=dI(this.app.T);a.addEventListener("updateKevlarOrC3Companion",kra);a.addEventListener("onPlaShelfInfoCardsReady",mra);window.addEventListener("yt-navigate-start",nra)}this.Ke("i");a=this.player.getVideoData().tc||{};this.o=new Usa(qV(this),a);this.C=new fta(this,this.player);this.O=!1;if(this.qb)this.qb.o.C.C=Io();else{a=this.o.N?void 0:fsa(this.D);var b=new jQ(this.app,2);this.F=new cB(FV(this.D),a,dI(b),(0,g.B)(this.oL,this));this.F.setSize(-1,-1);this.qb=new nD(this.F)}if(this.o.vmap&&
!this.o.ba){this.B=new bX(this);try{this.B.load(this.o.vmap)}catch(c){g.gE(c),this.B.dispose(),this.B=null,xta(this,Qsa(new Osa(this)))}}else xta(this,Qsa(new Osa(this)));this.C&&(this.H=kX(this.app),this.H.subscribe("cuepointupdated",this.tE,this),a=nX(this),null!=a&&(a.F=g.Y(this.app)),a={},a.allowed=this.C.A,this.Qk({},a),this.N=!0)};
g.h.destroy=function(){this.K&&tX(this);this.app.o.experiments.o("disable_new_pause_state3")||g.lU(this.player,this.Ae,void 0);wta(this);g.mf(this.A,this.ca,this.B);this.ca=this.A=null;this.H.unsubscribe("cuepointupdated",this.tE,this);this.C=this.o=this.B=this.H=null;yV=xV=wV=!1;AV();this.app.o.experiments.o("ima_kevlar_clear_companion_on_dispose")&&iX(this)&&mX(this,"updateKevlarOrC3Companion",{});this.created&&jX.fa.destroy.call(this);if(iX(this)){var a=dI(this.app.T);a.removeEventListener("updateKevlarOrC3Companion",
kra);a.removeEventListener("onPlaShelfInfoCardsReady",mra);window.removeEventListener("yt-navigate-start",nra);RU=null}};
g.h.isFullscreen=function(){return this.player.isFullscreen()||this.o.D};
g.h.Xg=function(){return this.C?this.C.Xg():jX.fa.Xg.call(this)};
g.h.getRootNode=function(){return this.player.getRootNode()};
g.h.getVideoData=function(){return this.H};
g.h.getCurrentTime=function(a){return this.app.getCurrentTime(a)};
g.h.Sv=function(){return this.L};
g.h.Ew=function(a){jX.fa.Ew.call(this,a);var b=(0,window.parseInt)(a.getId(),10);if(this.A&&!(0,window.isNaN)(b))if("ytp-ad-fadeout"==a.style){var c=this.A,d=c.mk(b);if(d&&!PW(c.J,d)&&(c=c.C,d.A)){var e=oX(c.o);d=Math.max(0,vW(d)+c.C+c.B-1E3*c.o.getCurrentTime(1));e.Gd("transition","opacity "+String(d)+"ms linear");e.Gd("opacity","0");Xsa(c,e,d,0)}}else dta(this.A,b);this.B&&!(0,window.isNaN)(b)&&("ytp-ad-fadeout"==a.style?(d=this.B,(c=d.W[b])&&c.Zb()&&d.F.QH(b)):0>b&&(b=this.qb.o,d=new Bn("contentComplete"),
b.dispatchEvent(d),d.A&&(Mn(Jn(),420706009)||b.C.clear(),null!=b.A&&(d=b.A.Xi(),null!=d&&uB(d,b.C.o)))));if("livead"===a.getId()&&null!=nX(this)){b=nX(this);for(a=Math.floor(a.start/1E3);g.u(b.B[a]);)a++;d=b.ia++;c=0==a?new kV(1):new kV(2,a);e=b.aa;var f=Nsa(b.aa.o,c.o);d=new tW(e,d,c,f,!1);b.B[a]=d;d.subscribe("adBreakComplete",b.ga,b);AW(d)}};
g.h.Fw=function(a){jX.fa.Fw.call(this,a);var b=(0,window.parseInt)(a.getId(),10),c=1E3*this.getCurrentTime(1);this.A&&!(0,window.isNaN)(b)&&c>a.start&&(0x8000000000000==a.end||0x7ffffffffffff==a.end)&&(c=this.A,(b=c.B[b])&&c.o==b&&!b.A&&b.isVisible&&b.H&&b.o instanceof YV&&b.o.Gc("fullscreen"));this.B&&"ytp-ad-fadeout"==a.style&&this.B.F.ko();"livead"===a.getId()&&null!=nX(this)&&1E3*this.getCurrentTime(1)>=a.start&&(g.kU(this.player,[a],1),eta(nX(this)))};
g.h.Ke=function(a){var b=a;"nl"==a&&(a=this.C,a.D++,b=a.D.toString());this.Gh[b]=(0,g.H)();"bs"!=b&&"fb"!=b||this.Qk(this.Gh,this.W)};
g.h.isWidescreen=function(){return this.app.isWidescreen()};
g.h.tE=function(a){var b=nX(this);if(null!=b&&null!=b.F){var c=nX(this).F.getCurrentTime();(0,g.D)(a,function(a){0!=c&&a.o>c&&(a=new g.nQ(1E3*Math.floor(c+Math.random()*Math.max(a.o-10-c,0)),1E3*a.o,{id:"livead",priority:2}),RW(this,[a],1))},this)}};
g.h.hD=function(a,b){switch(a){case "addata":if(!this.create||!this.N)return{};var c=this.o;return{adTag:c.adTag,adTest:c.La,forceAdType:c.forceAdType,isAfvSkippableInstreamEnabled:c.O,isAfvStandardInstreamEnabled:c.W,isBlazer:c.A,isDoubleClickEnabled:c.ca,isForcedAd:c.ba,isFreeWheelEnabled:c.ga,isHouseBrandPlayer:c.jc,isLeanback:c.D,isShortform:c.Ob,tagForChildDirected:c.tagForChildDirected};case "adstate":return this.Sv();case "midrollfreqcap":if(this.B)return c=this.o.o,null!=c?c:0;c=this.A instanceof
TW?this.A:null;return null!=c?c.W:0;case "breakscount":return this.B?(c=this.B,c=null!=c.A?c.A.Xe().length:0):c=this.A?this.A.Db.length:0,c;case "displaystate":return c=null,this.A&&this.A.o&&(c=this.A.o.o),{adFormat:c instanceof DV?c.adType:!1,adSkipped:c instanceof QV?c.F:!1,hasVideoStarted:c instanceof QV?c.G:!1,skippable:c instanceof QV?c.W:!1};case "getContentVideoData":return c=rV(this),{adModule:c.adModule,partnerTrackingToken:c.Qn,title:c.title,videoId:c.videoId};case "loadedadbreaks":if(this.A){c=
this.A.B;var d=[];for(e in c)c.hasOwnProperty(e)&&d.push({isInterruptive:c[Number(e)].A});return d}return 0;case "isExternalShelfAllowedFor":if("object"!=typeof b)return!1;c=b.playerResponse;if(!c)return!1;c=c.playerAds||[];for(d=0;d<c.length;d++){var e=c[d];if(e.playerLegacyDesktopWatchAdsRenderer&&e.playerLegacyDesktopWatchAdsRenderer.playerAdParams&&e.playerLegacyDesktopWatchAdsRenderer.playerAdParams.pla)return!1}return!0}};
g.h.nQ=function(){return"addata adstate breakscount displaystate getContentVideoData isExternalShelfAllowedFor loadedadbreaks midrollfreqcap".split(" ")};
g.h.Hc=function(){return!1};
g.h.SX=function(a){if(g.W(a.state,128)){var b=this.player;if(null!=g.uU(b)&&2==b.Sa()){var c=a.state,d=a="",e="";c.o&&c.o.errorCode&&(a=c.o.errorCode);c=c.A;g.oU(b)&&(d=g.oU(b).Fe(),null!=g.oU(b).Eb()&&(e=g.oU(b).Eb()));this.aa="Error code: "+a+"; s:"+c+"; "+("rs:"+d+"; ec:"+e)}}};
g.h.oL=function(a){if(this.la())return"";if(!a)return this.aa;a=this.player;if(null==g.uU(a)||2!=a.Sa())return"";var b=g.UT(a,2).A,c="",d="";g.oU(a)&&(c=g.oU(a).Fe(),null!=g.oU(a).Eb()&&(d=g.oU(a).Eb()));return"s:"+b+"; rs:"+c+"; ec:"+d};g.t(wX,g.L);g.h=wX.prototype;g.h.bA=function(){if(!this.dc){var a=this.bA;if("lb3"==g.X(this.T).playerStyle)var b=!1;else b=this.T.getVideoData(),b=b.Ro||b.captionTracks.length||b.ua&&(null!=b.ua.o.en||Yka(b.ua))?!0:!1;(a=yX(this,"captions",a,b))&&!this.dc&&(this.dc=a,a.HC()&&a.load(),this.T.za("onApiChange"))}};
g.h.Dt=function(){this.Pg=this.Pg||yX(this,"endscreen",this.Dt,g.Cta(this))};
g.h.gA=function(){this.ee=yX(this,"webgl",this.gA,Eta(this))};
g.h.iA=function(){(this.vh=this.vh||yX(this,"ypc",this.iA,g.RT(this)))&&this.vh.load()};
g.h.hA=function(){this.Ql=this.Ql||yX(this,"ypc_clickwrap",this.hA,g.pP(this.T.getVideoData(),"ypc_clickwrap_module"))};
g.h.aA=function(){this.Jj=this.Jj||yX(this,"spacecast",this.aA,this.T.getVideoData().spacecastModule)};
g.h.Yz=function(){var a=!this.ah;this.ah=this.ah||yX(this,"heartbeat",this.Yz,g.pP(this.T.getVideoData(),"ypc_license_checker_module"));a&&this.ah&&this.T.V("offlineslatestatechange")};
g.h.Bt=function(){if(!this.zc){var a=this.Bt;var b=g.X(this.T);if("3"==b.C)b=!1;else if(b.F.isEmpty()&&"annotation-editor"!=b.playerStyle&&"live-dashboard"!=b.playerStyle){var c=this.T.getVideoData();b=b.experiments.o("disable_new_iv_module_create_logic")?g.pP(c,"iv3_module"):!!c.Uf}else b=!0;if(this.zc=yX(this,"annotations_module",a,b)){a=this.zc;for(var d in this.ag)b=d,a.subscribe(b,this.ag[b]);this.T.za("onApiChange")}}};
g.h.Xz=function(){this.cg=this.cg||yX(this,"fresca",this.Xz,g.pP(this.T.getVideoData(),"fresca_module"))};
g.h.Et=function(){this.jh||(this.jh=yX(this,"remote",this.Et,g.X(this.T).Hb))&&this.jh.create()};
g.h.cA=function(){this.Qf||(this.Qf=yX(this,"unplugged",this.cA,g.hN(g.X(this.T))))&&this.Qf.init()};
g.h.dA=function(){Fta(this);!this.Eg&&(this.Eg=yX(this,"ux",this.dA,g.X(this.T).ka))&&(this.Eg.init(),this.T.za("onApiChange"))};
g.h.Zz=function(){this.kn||(this.kn=yX(this,"miniplayer",this.Zz,g.X(this.T).useMiniplayerUi))&&this.kn.init()};
g.h.Ct=function(){if(!this.Yf){var a=this.Ct;var b=g.X(this.T);"3"==b.C?b=!1:"creator-endscreen-editor"==b.playerStyle?b=!0:(b=this.T.getVideoData(),b=!!b&&!!g.yma(b));(this.Yf=yX(this,"creatorendscreen",a,b))&&this.T.za("onApiChange")}};
g.h.jA=function(){(this.Di=this.Di||yX(this,"yto",this.jA,!!this.T.getVideoData().cd.includes("yto")))&&this.Di.init()};
g.h.fA=function(){(this.Ci=yX(this,"visualizer",this.fA,g.Gta(this)))&&this.Ci.BO()};
g.h.Cp=function(){return this.Gh};
g.h.Xg=function(){var a={};this.dc&&g.Ea(a,this.dc.Xg());return a};
g.h.Qk=function(a,b){g.Ea(this.Gh,a||null);g.Ea(this.lm,b||null)};
g.h.Y=function(){g.L.prototype.Y.call(this);zX(this,1,!0)};g.t(AX,g.VF);g.h=AX.prototype;g.h.HQ=function(a){a=JF(a);if(!qd(a,this.C)){var b=2;this.F&&(b|=8);this.C=a;this.oc(b,!0)}};
g.h.ER=function(){this.F&&this.oc(8,!0);this.oc(2,!1)};
g.h.dw=function(a){var b=JF(a);qd(b,this.C)||(this.C=b,(a=g.GF(a))&&this.N(a)&&(this.oc(4,!0),this.Z.Ia(this.B),this.B=this.Z.R(this.A,"mouseover",this.tD),this.K=this.Z.R(this.A,"mouseout",this.tD)))};
g.h.tD=function(a){a=IF(a);a&&this.N(a)||(this.C=new g.pd(window.NaN,window.NaN),Ita(this))};
g.h.xN=function(){this.oc(1,!0)};
g.h.aL=function(a){a=g.GF(a);a instanceof window.Element&&!(0<a.tabIndex)||this.oc(1,!0)};
g.h.sD=function(){this.F=!0;this.Z.Ia(this.D);this.D=this.Z.R(window.document,"mouseup",this.IQ)};
g.h.IQ=function(){this.F=!1;this.oc(8,!1);this.Z.Ia(this.D);this.D=this.Z.R(this.A,"mousedown",this.sD)};
g.h.uD=function(a){if(a=(a=a.changedTouches)&&a[0])this.O=a.identifier,this.Z.Ia(this.G),this.G=this.Z.R(this.A,"touchend",this.JQ,void 0,!0),this.oc(1024,!0)};
g.h.JQ=function(a){if(a=a.changedTouches)for(var b=0;b<a.length;b++){var c=a[b];if(c.identifier==this.O){var d=c;break}}d&&(this.Z.Ia(this.G),this.G=this.Z.R(this.A,"touchstart",this.uD,void 0,!0),this.oc(1024,!1))};
g.h.oc=function(a,b){var c=!this.o;b?(this.o|=a,a&1&&this.H.start(),a&2&&this.J.start()):(this.o&=~a,a&1&&this.H.stop(),a&2&&this.J.stop(),a&512&&this.L.stop());this.o&512&&!(this.o&128)&&g.zu(this.L,this.W);var d=!this.o;c!=d&&this.V("autohideupdate",d)};
g.h.toString=function(){return g.VF.prototype.toString.call(this)};g.t(BX,g.V);g.h=BX.prototype;g.h.show=function(){var a=this;this.A||(this.F.R(this.B,"videodatachange",function(){return g.zu(a.C)}),this.F.R(this.B,"videoplayerreset",function(){return g.zu(a.C)}));
g.V.prototype.show.call(this)};
g.h.hide=function(){this.F&&g.UF(this.F);g.V.prototype.hide.call(this)};
g.h.TQ=function(a){var b=g.X(this.B);b.experiments.o("disable_new_pause_state3")&&oN(b)&&(a=g.RP(a.state)&&!g.RP(a.o)||XT(this.B)&&g.W(a.state,2),g.xh(this.element,"transition-delay",a?"2s":""));g.zu(this.C)};
g.h.BW=function(){g.zu(this.C)};
g.h.SQ=function(){this.D.stop();this.hide();g.zu(this.C)};
g.h.yD=function(){var a=g.UT(this.B),b=!1;if(3==this.B.Sa()&&(a.sb()||g.W(a,4)))var c=!0;else(c=g.PT(this.B).vh)&&c.uX()?c=!0:(c=g.X(this.B),c=g.W(a,2)&&ST(this.B)&&c.La?!0:!1);c?(c=!0,window.document.activeElement==this.G&&this.B.getRootNode().focus(),this.G.style.display="none"):(this.G.style.display="",g.RP(a)&&2!=this.B.Sa()?c=!0:(b=!g.X(this.B).experiments.o("disable_new_pause_state3"),c=!(!g.W(a,2)||ST(this.B)||b&&g.D_(this.B.app))||g.W(a,1024)?!0:!1),b=g.X(this.B),b=b.experiments.o("web_player_embed_duration")&&
b.o&&!b.sd);c?(this.D.show(),a=this.B.getVideoData(),this.UX(this.B.rg(),a),g.T(this.element,"ytp-cued-thumbnail-overlay-show-duration",b&&0<a.lengthSeconds),a=g.$U(a.lengthSeconds),this.updateValue("duration",a)):(this.D.hide(),g.W(a,1)||this.D.stop())};
g.h.UX=function(a){for(var b=[],c=0;c<arguments.length;++c)b[c-0]=arguments[c];b=g.q(b);for(c=b.next();!c.done;c=b.next())if(c=c.value,!(!c||c instanceof g.YO&&!c.videoId)){var d=g.VT(this.B).Ua();var e=g.pN(),f=d.width*e;e*=d.height;if(1280<f||720<e)if(d=c.kd("maxresdefault.jpg"))break;if(640<f||480<e)if(d=c.kd("maxresdefault.jpg"))break;if(320<f||180<e)if(d=c.kd("sddefault.jpg")||c.kd("hqdefault.jpg")||c.kd("mqdefault.jpg"))break;if(d=c.kd("default.jpg"))break}this.H.style.backgroundImage=d?"url("+
d+")":""};g.t(DX,g.L);DX.prototype.start=function(a,b,c){this.o=a;this.H=b;this.F=c;this.G=g.tG();this.B()};
DX.prototype.B=function(){var a=g.tG()-this.G;var b=this.C;a=wja(b,a/this.F);if(0==a)b=b.G;else if(1==a)b=b.H;else{var c=nd(b.G,b.D,a),d=nd(b.D,b.F,a);b=nd(b.F,b.H,a);c=nd(c,d,a);d=nd(d,b,a);b=nd(c,d,a)}b=g.ld(b,0,1);this.D((this.H-this.o)*b+this.o);1>b&&this.A.start()};g.t(EX,g.V);g.h=EX.prototype;g.h.hide=function(){this.W=!0;g.V.prototype.hide.call(this)};
g.h.show=function(){this.W=!1;g.V.prototype.show.call(this)};
g.h.isHidden=function(){return this.W};
g.h.hR=function(){Kta(this,this.F-this.H)};
g.h.iR=function(){Kta(this,this.F+this.H)};
g.h.jR=function(a,b){var c=this.C[a],d=c.Ld;if(g.DW(b,this.B,this.ga,d||void 0)){var e=c.ab().videoId;c=c.getPlaylistId();g.$_(this.B.app,e,d,c,void 0,void 0,void 0)}};
g.h.ED=function(){var a=this,b=this.B.getVideoData(),c=g.X(this.B);this.ga=b.isDni?!1:c.o;g.T(this.element,"ytp-controls-on-error",XT(this.B));if(b.suggestions){var d=(0,g.Vd)(b.suggestions,function(a){return a&&!a.list});
this.C=(0,g.I)(d,function(b){b=g.CX(c,b);g.M(a,b);return b})}else this.C.length=0;
Mta(this);b.isDni?this.N.update({title:g.QU("More videos from $DNI_RELATED_CHANNEL",{DNI_RELATED_CHANNEL:b.author})}):this.N.update({title:"More videos on YouTube"})};
g.h.FD=function(a){this.J.element.scrollLeft=-a};g.t(GX,g.V);GX.prototype.show=function(){g.V.prototype.show.call(this);this.J()};
GX.prototype.J=function(){var a=1-1/1.5;this.D=(this.D+this.N)%(this.width*a);this.F=(this.F+this.L)%(this.height*a);this.C.drawImage(this.K,-1*this.D,-1*this.F);this.C.fillRect(0,this.G,this.width,75);this.G=(this.G+75+7)%this.height-75;this.B.isActive()||g.zu(this.H)};
GX.prototype.hide=function(){this.B.stop();this.H.stop();g.V.prototype.hide.call(this)};g.t(HX,g.V);HX.prototype.show=function(){g.V.prototype.show.call(this);IX(this,function(a){a.show()});
this.F&&Rta(this,g.VT(this.B).Ua())};
HX.prototype.hide=function(){g.V.prototype.hide.call(this);IX(this,function(a){a.hide()})};
HX.prototype.H=function(a){if(g.DW(a,this.B,!oN(g.X(this.B)))){a={as3:!1,html5:!0,player:!0,cpn:this.B.getVideoData().clientPlaybackNonce};var b=this.B;b.za("onFeedbackArticleRequest",{articleId:3037019,helpContext:"player_error",productData:a});b.isFullscreen()&&b.re()}};
var Sta=/<a\s+href=["']([^"']+)["'](?:\s+target=["']([^"']+)["'])?>([^<>]+)<\/a>/;g.t(LX,g.SF);LX.prototype.C=function(){this.B();var a=g.X(this.T),b=this.T.getVideoData(),c=[];a.G||c.push({src:b.kd("mqdefault.jpg"),sizes:"320x180"});this.o.metadata=new window.MediaMetadata({title:b.title,artist:b.author,artwork:c});a=XT(this.T);this.A.has("nexttrack")!=a&&(c=b=null,a&&(b=(0,g.B)(function(){this.T.Yk()},this),c=(0,g.B)(function(){this.T.xn()},this)),KX(this,"nexttrack",b),KX(this,"previoustrack",c))};
LX.prototype.B=function(){var a=g.UT(this.T);a=a.isError()?"none":QP(a)?"playing":"paused";this.o.playbackState=a};
LX.prototype.Y=function(){this.o.playbackState="none";this.o.metadata=null;for(var a=g.q(this.A),b=a.next();!b.done;b=a.next())KX(this,b.value,null);g.SF.prototype.Y.call(this)};g.t(MX,g.V);MX.prototype.O=function(a,b){Uta(this,b);this.G&&Vta(this,this.G)};
MX.prototype.N=function(a){var b=this.T.getVideoData();this.C!=b.videoId&&Uta(this,b);this.B&&Vta(this,a.state);this.G=a.state};
MX.prototype.L=function(){this.F.hide();this.C&&(this.D[this.C]=(this.D[this.C]||0)+((0,g.H)()-this.K));this.K=0};g.t(OX,g.V);OX.prototype.hide=function(){this.B.stop();this.D.style.display="none";g.V.prototype.hide.call(this)};
OX.prototype.F=function(a){NX(this,a.state)};
OX.prototype.G=function(){NX(this,g.UT(this.C))};
OX.prototype.H=function(){this.D.style.display="block"};g.t(QX,g.V);QX.prototype.D=function(){var a=g.Y(this.B.app);a&&a.A.Fv()};
QX.prototype.C=function(){var a=g.Y(this.B.app);g.VH(this,!!a&&a.td);this.updateValue("icon",this.B.sj()?g.SU?{I:"div",ea:["ytp-icon","ytp-icon-airplay-on"]}:{I:"svg",U:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},P:[{I:"path",Ya:!0,U:{d:"M11,13 L25,13 L25,21 L11,21 L11,13 Z M12,28 L24,28 L18,22 L12,28 Z M27,9 L9,9 C7.9,9 7,9.9 7,11 L7,23 C7,24.1 7.9,25 9,25 L13,25 L13,23 L9,23 L9,11 L27,11 L27,23 L23,23 L23,25 L27,25 C28.1,25 29,24.1 29,23 L29,11 C29,9.9 28.1,9 27,9 L27,9 Z",fill:"#fff"}}]}:
g.SU?{I:"div",ea:["ytp-icon","ytp-icon-airplay-off"]}:{I:"svg",U:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},P:[{I:"path",Ya:!0,M:"ytp-svg-fill",U:{d:"M12,28 L24,28 L18,22 L12,28 Z M27,9 L9,9 C7.9,9 7,9.9 7,11 L7,23 C7,24.1 7.9,25 9,25 L13,25 L13,23 L9,23 L9,11 L27,11 L27,23 L23,23 L23,25 L27,25 C28.1,25 29,24.1 29,23 L29,11 C29,9.9 28.1,9 27,9 L27,9 Z"}}]})};g.t(RX,g.WH);RX.prototype.Y=function(){this.B=null;g.WH.prototype.Y.call(this)};g.t(SX,g.V);SX.prototype.J=function(a){g.W(a.state,32)?TX(this,this.B.af()):this.A&&(g.W(a.state,16)||g.W(a.state,1))||this.D.hide()};
SX.prototype.K=function(){var a=g.UT(this.B);(g.W(a,32)||g.W(a,16))&&UX(this)};
SX.prototype.G=function(){this.F=window.NaN;UX(this)};
SX.prototype.hide=function(){this.de&&TX(this,null);g.V.prototype.hide.call(this)};g.t(VX,g.V);VX.prototype.G=function(){g.sU(this.C,this.element);this.C.za("onFullerscreenEduClicked")};
VX.prototype.B=function(){this.C.isFullscreen()?this.F?this.D.hide():this.D.show():this.hide()};g.t(WX,g.WH);g.h=WX.prototype;g.h.show=function(){var a=XX(this);g.WH.prototype.show.call(this);this.ia&&(this.K.R(window,"blur",this.Rb),this.K.R(window.document,"click",this.fR));a||this.V("show",!0)};
g.h.hide=function(){var a=XX(this);g.WH.prototype.hide.call(this);Yta(this);a&&this.V("show",!1)};
g.h.kf=function(a,b){this.F=a;this.N.show();b?(this.L||(this.L=this.K.R(this.T,"appresize",this.qz)),this.qz()):this.L&&(this.K.Ia(this.L),this.L=null);a&&(a.getAttribute("aria-haspopup"),a.setAttribute("aria-expanded",!0),window.document.activeElement&&g.ae(a,window.document.activeElement)&&(this.ga?this.aa.start():this.focus()))};
g.h.qz=function(){g.kI(this.T).Rq(this.element,this.F)};
g.h.Rb=function(){var a=XX(this);Yta(this);this.N.hide();this.ga&&this.aa.stop();a&&this.V("show",!1)};
g.h.yi=function(a,b){XX(this)?this.Rb():this.kf(a,b)};
g.h.fR=function(a){var b=HF(a);b&&(g.ae(this.element,b)||this.F&&g.ae(this.F,b)||!g.aV(a))||this.Rb()};g.t(YX,g.V);g.h=YX.prototype;g.h.UQ=function(){g.X(this.C).oa?this.C.re():this.B.yi(this.element,!0)};
g.h.zE=function(){Zta(this);this.B.kf(this.element,!0)};
g.h.VQ=function(){g.uF()==this.C.getRootNode()?this.F.start():(this.F.stop(),this.B&&this.B.hide())};
g.h.CK=function(){if(window.screen&&window.outerWidth&&window.outerHeight){var a=.9*window.screen.width,b=.9*window.screen.height,c=Math.max(window.outerWidth,window.innerWidth),d=Math.max(window.outerHeight,window.innerHeight);if(c>d!=a>b){var e=c;c=d;d=e}a>c&&b>d&&this.zE()}};
g.h.zD=function(){g.VH(this,Vsa(this.C))};
g.h.hG=function(a){if(a){var b=g.SU?{I:"div",ea:["ytp-icon","ytp-icon-full-screen-close"]}:{I:"svg",U:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},P:[{I:"g",M:"ytp-fullscreen-button-corner-2",P:[{I:"path",Ya:!0,M:"ytp-svg-fill",U:{d:"m 14,14 -4,0 0,2 6,0 0,-6 -2,0 0,4 0,0 z"}}]},{I:"g",M:"ytp-fullscreen-button-corner-3",P:[{I:"path",Ya:!0,M:"ytp-svg-fill",U:{d:"m 22,14 0,-4 -2,0 0,6 6,0 0,-2 -4,0 0,0 z"}}]},{I:"g",M:"ytp-fullscreen-button-corner-0",P:[{I:"path",Ya:!0,M:"ytp-svg-fill",
U:{d:"m 20,26 2,0 0,-4 4,0 0,-2 -6,0 0,6 0,0 z"}}]},{I:"g",M:"ytp-fullscreen-button-corner-1",P:[{I:"path",Ya:!0,M:"ytp-svg-fill",U:{d:"m 10,22 4,0 0,4 2,0 0,-6 -6,0 0,2 0,0 z"}}]}]};a=IW(this.C,"Exit full screen","f");window.document.activeElement==this.element&&this.C.getRootNode().focus()}else b=g.SU?{I:"div",ea:["ytp-icon","ytp-icon-full-screen"]}:{I:"svg",U:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},P:[{I:"g",M:"ytp-fullscreen-button-corner-0",P:[{I:"path",Ya:!0,M:"ytp-svg-fill",
U:{d:"m 10,16 2,0 0,-4 4,0 0,-2 L 10,10 l 0,6 0,0 z"}}]},{I:"g",M:"ytp-fullscreen-button-corner-1",P:[{I:"path",Ya:!0,M:"ytp-svg-fill",U:{d:"m 20,10 0,2 4,0 0,4 2,0 L 26,10 l -6,0 0,0 z"}}]},{I:"g",M:"ytp-fullscreen-button-corner-2",P:[{I:"path",Ya:!0,M:"ytp-svg-fill",U:{d:"m 24,24 -4,0 0,2 L 26,26 l 0,-6 -2,0 0,4 0,0 z"}}]},{I:"g",M:"ytp-fullscreen-button-corner-3",P:[{I:"path",Ya:!0,M:"ytp-svg-fill",U:{d:"M 12,20 10,20 10,26 l 6,0 0,-2 -4,0 0,-4 0,0 z"}}]}]},a=IW(this.C,"Full screen","f");this.updateValue("icon",
b);this.updateValue("title",this.B?null:a);eY(this.G.Vb())};
g.h.Y=function(){this.B||(this.D(),this.D=null);g.V.prototype.Y.call(this)};g.t(ZX,g.V);ZX.prototype.B=function(){this.T.za("onCollapseMiniplayer")};
ZX.prototype.C=function(){g.VH(this,!this.T.isFullscreen())};g.t($X,WX);g.h=$X.prototype;g.h.show=function(){var a=this.A;WX.prototype.show.call(this);a||(this.D.R(this.B,"presentingplayerstatechange",this.gw),this.D.R(this.B,"videodatachange",this.gw),this.gw())};
g.h.hide=function(){this.D&&(g.UF(this.D),WX.prototype.hide.call(this))};
g.h.gw=function(){var a=this.B.getVideoData(),b=a.Li,c;for(c=0;c<b.length;c++){var d=this.C[c];d||(d=new g.V({I:"button",ea:["ytp-multicam-menu-item","ytp-button"],U:{"aria-checked":"{{selected}}","data-id":"{{videoId}}"},P:[{I:"div",M:"ytp-multicam-menu-item-title",da:"{{cameraName}}"}]}),d.X("click",g.Da(this.DS,c),this),d.ya(this.Ra),this.C[c]=d);var e=b[c],f=e.id;if(f!=d.element.getAttribute("data-id")){var k=e.thumbnail_url;!k&&f&&(k=mN(g.X(this.B),f,"default.jpg"));d.element.style.backgroundImage=
k?"url("+k+")":""}d.update({cameraName:e.title,videoId:f,selected:f==a.videoId?!0:null})}for(;c<this.C.length;)this.C.pop().dispose();c=g.UT(this.B);a=b.length||!a.Pb();QP(c)||g.W(c,4)||a||!XX(this)||this.yi()};
g.h.DS=function(a){this.B.getVideoData();var b=this.B;a=this.B.getVideoData().Li[a];var c=g.Y(b.app,1).getVideoData(),d=b.getCurrentTime();a.id==c.videoId?g.Y(b.app)!=g.Y(b.app,1)&&(vU(b.app,1),c.Ma||b.kc(d)):(vU(b.app,4),U_(b.app,{videoId:a.id,title:c.title,start:c.Ma?null:d,multifeed_metadata_list:c.tc.multifeed_metadata_list},4))};
g.h.focus=function(){for(var a=this.B.getVideoData(),b=a.Li,c=0;c<b.length;c++)if(b[c].id==a.videoId){this.C[c].focus();break}};
g.h.Y=function(){g.mf(this.C);WX.prototype.Y.call(this)};g.t(aY,g.V);aY.prototype.H=function(a){this.C("newdata"==a)};
aY.prototype.C=function(a){var b=this.G.getVideoData(),c=b.Li,d=g.UT(this.G);d=(QP(d)||g.W(d,4))&&0<c.length;g.VH(this,d);a&&(this.D=!0);if(d){this.D&&g.zu(this.F);a=null;d="";for(var e=0;e<c.length;e++)if(c[e].id==b.videoId){a=c[e].title;d=g.QU("Viewing $CAMERA_INDEX of $CAMERA_COUNT",{CAMERA_INDEX:String(e+1),CAMERA_COUNT:String(c.length)})+"\n";break}this.update({text:d+a,preview:b.kd("default.jpg")});eY(this.B)}else this.F.stop()};
aY.prototype.J=function(){mva(this.B,this.element,"More cameras available");this.D=!1};g.t(bY,g.L);bY.prototype.A=function(){var a=g.tG()-this.C;a=a<this.o?a/this.o:1;this.D(qD(Xxa,a));1>a&&this.B.start()};
var Xxa=new pD(0,0,.4,0,.2,1,1,1),dua=/[0-9.-]+|[^0-9.-]+/g;g.t(dY,g.V);dY.prototype.Vc=function(a){this.D=300<=a.width;g.VH(this,this.D);g.tU(this.B,this.element,this.D&&this.J)};
dY.prototype.ka=function(){g.X(this.B).K?this.B.isMuted()?this.B.sg():this.B.mute():this.ga.yi(this.element,!0);g.sU(this.B,this.element)};
dY.prototype.ia=function(a){eua(this,a.volume,a.muted)};
var hua=["M",19,",",11.29," C",21.89,",",12.15," ",24,",",14.83," ",24,",",18," C",24,",",21.17," ",21.89,",",23.85," ",19,",",24.71," L",19,",",24.77," C",21.89,",",23.85," ",24,",",21.17," ",24,",",18," C",24,",",14.83," ",21.89,",",12.15," ",19,",",11.29," L",19,",",11.29," Z"],iua=["M",19,",",11.29," C",21.89,",",12.15," ",24,",",14.83," ",24,",",18," C",24,",",21.17," ",21.89,",",23.85," ",19,",",24.71," L",19,",",26.77," C",23.01,",",25.86," ",26,",",22.28," ",26,",",18," C",26,",",13.72," ",
23.01,",",10.14," ",19,",",9.23," L",19,",",11.29," Z"];g.t(g.fY,g.V);g.fY.prototype.J=function(a){jua(this,a.state)};
g.fY.prototype.H=function(){g.T(this.element,"ytp-play-button-playlist",XT(this.C))};
g.fY.prototype.K=function(){QP(g.UT(this.C))?this.C.od():this.C.bd()};
g.fY.prototype.Y=function(){this.B&&this.B();g.V.prototype.Y.call(this)};g.t(g.hY,g.V);g.h=g.hY.prototype;g.h.fl=function(){lua(this);this.J&&(this.Ia(this.J),this.J=null);this.H=this.B.getVideoData(1);if(this.D=this.B.rg())this.D.subscribe("shuffle",this.fl,this),this.J=this.R(this.B,"progresssync",this.dR);this.G=mua(this);gY(this);this.Vc(g.VT(this.B).Ua())};
g.h.Vc=function(a){a=void 0===a?g.VT(this.B).Ua():a;var b=XT(this.B)||this.C&&g.pU(this.B)||nua(this);g.VH(this,b&&(this.C||400<=a.width))};
g.h.eR=function(a){var b=!0;this.L?b=g.DW(a,this.B):g.KF(a);b&&(this.C&&5==this.B.Sa()?this.B.V("ytoprerollinternstitialnext"):this.C?this.B.Yk(!0):this.G?this.B.kc(0):this.B.xn(!0))};
g.h.dR=function(){var a=mua(this);a!=this.G&&(this.G=a,gY(this))};
g.h.Y=function(){this.F&&(this.F(),this.F=null);lua(this);g.V.prototype.Y.call(this)};oua.prototype.update=function(a,b,c,d){this.width=b;this.B=c;this.D=d;this.o=b-c-d;this.position=g.ld(a,c,c+this.o);this.C=this.position-c;this.A=this.C/this.o};g.t(g.iY,g.WH);g.h=g.iY.prototype;g.h.gR=function(a){if(!g.LF(a)){var b=!1;switch(g.MF(a)){case 36:this.C.kc(0);b=!0;break;case 35:this.C.kc(window.Infinity);b=!0;break;case 34:this.C.Ge(-60);b=!0;break;case 33:this.C.Ge(60);b=!0;break;case 38:this.C.Ge(5);b=!0;break;case 40:this.C.Ge(-5),b=!0}b&&g.KF(a)}};
g.h.CD=function(a,b){pua(this,b,"newdata"==a)};
g.h.RL=function(){this.CD("newdata",this.C.getVideoData())};
g.h.XL=function(){uua(this.C.getVideoData())?g.UT(this.C).sb()&&mY(this,!0):mY(this,!1)};
g.h.SL=function(a){0<VP(a,64)||!uua(this.C.getVideoData())?mY(this,!1):QP(a.state)&&0>VP(a,64)&&mY(this,!0);this.G&&!g.W(a.state,32)&&3!=this.C.Sa()&&this.G.cancel()};
g.h.RU=function(a,b,c){var d=g.Ih(this.element),e=nY(this).o,f=c?c.getAttribute("data-tooltip"):void 0,k=c?c.getAttribute("data-position"):void 0,l=c?c.getAttribute("data-offset-y"):void 0;k&&(a=dV(this.B,Number(c.getAttribute("data-position")),0)*e+g.Ih(this.yc).x);this.Da.x=a-d.x;this.Da.y=b-d.y;c=nY(this);a=cV(this.B,c.A);d=f||g.$U(this.Qa?a-this.B.o:a);b=this.sa;c=c.position+this.Ha;f=!!f;l=l?(0,window.parseInt)(l,10):0;b.ka||(3==b.C&&b.ff(),1!=b.C&&(b.element.className="ytp-tooltip ytp-bottom",
b.C=1,b.O&&b.L.show(),b.D=b.aa.af(),b.D&&b.D.subscribe("l",b.yE,b)),b.update({text:d,title:""}),g.T(b.element,"ytp-text-detail",!!f),d=-1,b.D&&(d=$N(b.D,160*b.F),d=eO(b.D,d,a)),ova(b,d),nva(b,!!f,c,l));g.T(this.C.getRootNode(),"ytp-progress-bar-hover",!g.W(g.UT(this.C),64));sua(this)};
g.h.QU=function(){var a=this.sa;1==a.C&&a.ff();g.Lq(this.C.getRootNode(),"ytp-progress-bar-hover")};
g.h.PU=function(a,b){this.D&&(this.D.dispose(),this.D=null);this.Wc=b;this.C.kc(cV(this.B,nY(this).A),!1);g.S(this.element,"ytp-drag");(this.Va=QP(g.UT(this.C)))&&this.C.od()};
g.h.SU=function(){this.wa=0;g.Lq(this.element,"ytp-pull-ui");g.Lq(this.element,"ytp-pulling");this.D&&(this.D.dispose(),this.D=null);0<this.K&&(this.D=new g.wu((0,g.B)(this.pK,this,g.tG(),this.K,nY(this).position)),this.D.start());if(g.W(g.UT(this.C),32)||3==this.C.Sa())this.C.kc(cV(this.B,nY(this).A)),g.Lq(this.element,"ytp-drag"),this.Va&&!g.W(g.UT(this.C),2)&&this.C.bd()};
g.h.pK=function(a,b,c){a=1-Math.pow(1-(g.tG()-a)/200,3);c+=a*(this.J*this.F-c);if(0>a||1<a)a=1;vua(this,(1-a)*b,c,this.J);1>a&&this.D.start()};
g.h.TU=function(a,b){var c=!1,d=!1,e=nY(this);3600<=this.B.getLength()&&(vua(this,this.Wc-b-10,e.position,e.A),d=!0,c=this.K>.1*(this.H?60:40),e=nY(this));g.T(this.element,"ytp-pull-ui",d);c&&g.S(this.element,"ytp-pulling");c=0;e.B&&0>=e.position?c=-1:e.D&&e.position>=e.width&&(c=1);this.wa!=c&&(this.wa=c,this.D&&(this.D.dispose(),this.D=null),c&&(this.D=new g.wu((0,g.B)(this.cX,this,g.tG(),this.L)),this.D.start()));this.C.kc(cV(this.B,e.A),!1)};
g.h.cX=function(a,b){var c=this.F*(this.ga-1);this.L=g.ld(b+this.wa*(g.tG()-a)*.3,0,c);g.kY(this);this.C.kc(cV(this.B,nY(this).A),!1);0<this.L&&this.L<c&&this.D.start()};
g.h.qE=function(){this.updateValue("clipstarticon",qra());this.updateValue("clipendicon",qra());g.S(this.element,"ytp-clip-hover")};
g.h.pE=function(){this.updateValue("clipstarticon",sra());this.updateValue("clipendicon",rra());g.Lq(this.element,"ytp-clip-hover")};
g.h.kr=function(){this.O=0;this.N=window.Infinity;lY(this);jY(this,this.J,this.oa)};
g.h.aH=function(a){a=g.q(a);for(var b=a.next();!b.done;b=a.next())if(b=b.value,b.visible){var c=b.getId();if(!this.aa[c]){var d=g.Od("DIV");("ytp-chapter-marker"==b.style||b.tooltip)&&d.setAttribute("data-position",b.start/1E3);b.tooltip&&d.setAttribute("data-tooltip",b.tooltip);b.icons&&d.setAttribute("data-offset-y",-12-24*b.icons.length);this.aa[c]=b;this.pa[c]=d;if(b.icons&&b.icons.length){for(var e=g.Od("DIV"),f=g.q(b.icons),k=f.next();!k.done;k=f.next()){k=k.value;var l=g.Od("IMG");l.src=k;
l.setAttribute("data-position",b.start/1E3);b.tooltip&&l.setAttribute("data-tooltip",b.tooltip);l.setAttribute("data-offset-y",-12-24*b.icons.length);e.appendChild(l)}e.className="ytp-marker-icon";g.gb(this.ha,b,g.oQ);this.W[c]=e;this.ud.appendChild(e)}d.className=b.style;wua(this,c);"ytp-chapter-marker"==b.style?this.rd.appendChild(d):g.X(this.C).experiments.o("disable_ad_markers_on_content_progress_bar")||this.qd.appendChild(d)}}else yua(this,b);oY(this)};
g.h.UW=function(a){a=g.q(a);for(var b=a.next();!b.done;b=a.next())yua(this,b.value);oY(this)};
g.h.Y=function(){tua(this,!1);g.WH.prototype.Y.call(this)};g.t(g.qY,g.YH);g.qY.prototype.K=function(){g.rY(this,!this.B);this.V("select",this.B)};
g.qY.prototype.getValue=function(){return this.B};g.t(sY,g.qY);sY.prototype.F=function(){g.PT(this.T).zc&&3!=this.T.Sa()?this.C||(g.RY(this.D,this),this.C=!0):this.C&&(g.SY(this.D,this),this.C=!1);var a=g.PT(this.T).zc;g.rY(this,!!a&&a.loaded)};
sY.prototype.G=function(a){a?this.T.Xk("annotations_module"):this.T.yn("annotations_module")};
sY.prototype.Y=function(){this.C&&g.SY(this.D,this);g.qY.prototype.Y.call(this)};g.t(tY,g.WH);tY.prototype.ka=function(){this.V("size-change")};
tY.prototype.focus=function(){this.aa.focus()};
tY.prototype.oa=function(){this.V("back")};g.t(g.uY,tY);g.uY.prototype.ga=function(){this.G.V("size-change")};
g.uY.prototype.focus=function(){for(var a=0,b=0;b<this.Ra.length;b++)if("true"==this.Ra[b].element.getAttribute("aria-checked")){a=b;break}this.Ra[a].focus()};g.t(g.wY,g.YH);g.h=g.wY.prototype;g.h.open=function(){g.DY(this.C,this.F)};
g.h.Gf=function(a){if(this.G){var b=this.B[this.G];b.element.getAttribute("aria-checked");b.element.removeAttribute("aria-checked")}this.B[a].element.setAttribute("aria-checked",!0);this.Nb(this.Ff(a));this.G=a};
g.h.Vs=function(a,b,c){b=new g.YH({I:"div",ea:["ytp-menuitem"],U:{tabindex:"0",role:"menuitemradio","aria-checked":c?"true":void 0},P:[{I:"div",ea:["ytp-menuitem-label"],da:"{{label}}"}]},b,this.Ff(a,!0));b.X("click",(0,g.B)(this.lR,this,a));return b};
g.h.enable=function(a){this.J?a||(this.J=!1,this.il(!1)):a&&(this.J=!0,this.il(!0))};
g.h.il=function(a){a?g.RY(this.C,this):g.SY(this.C,this)};
g.h.Id=function(a){this.V("select",a)};
g.h.lR=function(a){"true"!=this.B[a].element.getAttribute("aria-disabled")&&this.Id(a)};
g.h.Ff=function(a){return a.toString()};
g.h.kR=function(a){g.LF(a)||39!=g.MF(a)||(this.open(),g.KF(a))};
g.h.Y=function(){this.J&&g.SY(this.C,this);g.YH.prototype.Y.call(this);for(var a in this.B)this.B[a].dispose()};g.t(yY,g.wY);yY.prototype.H=function(){var a=this.T.getAvailableAudioTracks();1<a.length?(g.xY(this,(0,g.I)(a,this.D)),this.L=g.ib(a,this.D,this),this.K.Nb(a.length?" ("+a.length+")":""),this.V("size-change"),this.Gf(this.D(this.T.getAudioTrack())),this.enable(!0)):this.enable(!1)};
yY.prototype.Id=function(a){g.wY.prototype.Id.call(this,a);this.T.Pv(this.L[a]);this.C.mf()};
yY.prototype.D=function(a){return a.toString()};g.t(zY,g.qY);zY.prototype.F=function(){var a=this.T.Sa();if(2!=a&&3!=a&&g.pU(this.T))this.D||(g.RY(this.G,this),this.D=!0,this.C.push(this.R(this.T,"videodatachange",this.F)),this.C.push(this.R(this.T,"videoplayerreset",this.F)),this.C.push(this.R(this.T,"onPlaylistUpdate",this.F)),this.C.push(this.R(this.T,"autonavchange",this.H)),this.H(this.T.getVideoData().autonavState));else if(this.D){g.SY(this.G,this);this.D=!1;a=g.q(this.C);for(var b=a.next();!b.done;b=a.next())this.Ia(b.value)}};
zY.prototype.H=function(a){g.rY(this,1!=a)};
zY.prototype.J=function(a){var b=this.T;a=a?2:1;b.app.A.za("onAutonavChangeRequest",1!=a);a&&rwa(b.app,a)};
zY.prototype.Y=function(){this.D&&g.SY(this.G,this);g.qY.prototype.Y.call(this)};g.t(g.AY,WX);g.h=g.AY.prototype;g.h.show=function(){WX.prototype.show.call(this);this.eo()};
g.h.hide=function(){WX.prototype.hide.call(this);1<this.B.length&&g.EY(this)};
g.h.eo=function(){Dua(this);this.A&&(Cua(this),g.Ph(this.element,this.size))};
g.h.mf=function(){var a=this.B.pop(),b=BY(this);CY(this,a,b,!0)};
g.h.xX=function(a,b,c){this.H.dispose();this.H=null;g.S(this.element,"ytp-popup-animating");c?(g.S(a.element,"ytp-panel-animate-forward"),g.Lq(b.element,"ytp-panel-animate-back")):(g.S(a.element,"ytp-panel-animate-back"),g.Lq(b.element,"ytp-panel-animate-forward"));g.Ph(this.element,this.size);this.G=new g.U(g.Da(this.YR,a,b),250,this);this.G.start()};
g.h.YR=function(a){g.Lq(this.element,"ytp-popup-animating");g.UH(a);g.Mq(a.element,["ytp-panel-animate-back","ytp-panel-animate-forward"]);this.G.dispose();this.G=null};
g.h.WQ=function(a){if(!g.LF(a))switch(g.MF(a)){case 27:this.Rb();g.KF(a);break;case 37:1<this.B.length&&this.mf();g.KF(a);break;case 39:g.KF(a)}};
g.h.focus=function(){BY(this).focus()};
g.h.Y=function(){WX.prototype.Y.call(this);this.H&&this.H.dispose();this.G&&this.G.dispose()};g.t(FY,g.wY);g.h=FY.prototype;g.h.In=function(){var a=this.T.Sa();if(2!=a&&3!=a&&(this.H=g.Rqa(this.T),a=this.T.Hv(),g.Sqa(this.T)&&g.Tqa(this.T)&&a.unshift("missing-qualities"),Vqa(this.T)&&a.unshift("inline-survey"),g.xY(this,a),a.length)){this.DD();this.enable(!0);return}this.enable(!1)};
g.h.DD=function(){var a=this.T.zn();this.B[a]&&(this.D=this.T.wn(),this.Gf(a),"auto"==a&&this.Nb(this.Ff(a)))};
g.h.Id=function(a){"missing-qualities"!=a&&(g.wY.prototype.Id.call(this,a),this.T.xq(a),this.C.Rb(),this.In())};
g.h.Vs=function(a,b,c){var d=this;if("inline-survey"!=a)return g.wY.prototype.Vs.call(this,a,b,c);a=[{I:"span",da:"Look good?"}];c={};for(var e=g.q([!0,!1]),f=e.next();!f.done;c={Qp:c.Qp},f=e.next())c.Qp=f.value,f=new g.V({I:"span",M:"ytp-menuitem-inline-survey-response",P:[c.Qp?g.SU?{I:"div",ea:["ytp-icon","ytp-icon-like"]}:{I:"svg",U:{viewBox:"0 0 24 24"},P:[{I:"path",U:{d:"M0 0h24v24H0z",fill:"none"}},{I:"path",U:{d:"M1 21h4V9H1v12zm22-11c0-1.1-.9-2-2-2h-6.31l.95-4.57.03-.32c0-.41-.17-.79-.44-1.06L14.17 1 7.59 7.59C7.22 7.95 7 8.45 7 9v10c0 1.1.9 2 2 2h9c.83 0 1.54-.5 1.84-1.22l3.02-7.05c.09-.23.14-.47.14-.73v-1.91l-.01-.01L23 10z",
fill:"#fff"}}]}:g.SU?{I:"div",ea:["ytp-icon","ytp-icon-dislike"]}:{I:"svg",U:{viewBox:"0 0 24 24"},P:[{I:"path",U:{d:"M0 0h24v24H0z",fill:"none"}},{I:"path",U:{d:"M15 3H6c-.83 0-1.54.5-1.84 1.22l-3.02 7.05c-.09.23-.14.47-.14.73v1.91l.01.01L1 14c0 1.1.9 2 2 2h6.31l-.95 4.57-.03.32c0 .41.17.79.44 1.06L9.83 23l6.59-6.59c.36-.36.58-.86.58-1.41V5c0-1.1-.9-2-2-2zm4 0v12h4V3h-4z",fill:"#fff"}}]}],U:{tabindex:"0",role:"button"}}),f.X("click",function(a){return function(){var b=g.Y(d.T.app);b&&(b.Jb("iqsr",
""+ +a.Qp),b.getVideoData().OB=!0);d.C.Rb();d.In()}}(c)),a.push(f);
return new g.YH({I:"div",M:"ytp-menuitem",U:{"aria-disabled":!0},P:[{I:"div",ea:["ytp-menuitem-label"],P:a}]},b)};
g.h.Ff=function(a,b){b=void 0===b?!1:b;if("missing-qualities"==a)return{I:"a",U:{href:"https://web.archive.org/web/20181027110332/https://support.google.com/youtube/?p=missing_quality",target:"_blank"},da:"Missing options?"};if("inline-survey"==a)return"";var c=[Eua(this,a)],d=this.T.zn();b||"auto"!=d||"auto"!=a||(c.push(" "),c.push(Eua(this,this.D,["ytp-menu-label-secondary"])));return{I:"div",P:c}};g.t(GY,g.V);GY.prototype.Vc=function(a){g.VH(this,this.D&&400<=a.width)};
GY.prototype.F=function(){if(this.C.A)this.C.Rb();else{var a=g.PT(this.T).dc;a&&!a.loaded&&(a.Av("tracklist",{includeAsr:!0}).length||a.load());this.C.kf(this.element)}};
GY.prototype.B=function(){var a=this.T.Sa(),b=2!=a&&3!=a,c=g.aU(this.T),d=b&&!!g.PT(this.T).ee;a=d&&1==c.displayMode;c=d&&2==c.displayMode;b=(d=a||c)||!b?null:this.T.wn();g.T(this.element,"ytp-hd-quality-badge","hd720"==b||"hd1080"==b||"hd1440"==b);g.T(this.element,"ytp-4k-quality-badge","hd2160"==b);g.T(this.element,"ytp-5k-quality-badge","hd2880"==b);g.T(this.element,"ytp-8k-quality-badge","highres"==b);g.T(this.element,"ytp-3d-badge-grey",d&&a);g.T(this.element,"ytp-3d-badge",d&&c)};g.t(IY,g.wY);g.h=IY.prototype;g.h.jw=function(a){return a.toString()};
g.h.Ff=function(a){return"1"==a?"Normal":a.toLocaleString()};
g.h.HD=function(){var a=this.T.Sa();this.enable(2!=a&&3!=a)};
g.h.il=function(a){g.wY.prototype.il.call(this,a);a?(this.D=this.R(this.T,"onPlaybackRateChange",this.nR),g.xY(this,(0,g.I)(this.T.Wk(),this.jw)),a=this.T.Pc(),this.Gf(this.jw(a))):(this.Ia(this.D),this.D=null)};
g.h.nR=function(a){this.Gf(this.jw(a))};
g.h.Id=function(a){g.wY.prototype.Id.call(this,a);this.T.jf((0,window.parseFloat)(a),!0);this.C.mf()};var q1,Yxa;q1=[{option:"#fff",text:"White"},{option:"#ff0",text:"Yellow"},{option:"#0f0",text:"Green"},{option:"#0ff",text:"Cyan"},{option:"#00f",text:"Blue"},{option:"#f0f",text:"Magenta"},{option:"#f00",text:"Red"},{option:"#080808",text:"Black"}];Yxa=[{option:0,text:JY(0)},{option:.25,text:JY(.25)},{option:.5,text:JY(.5)},{option:.75,text:JY(.75)},{option:1,text:JY(1)}];
g.LY=[{option:"fontFamily",text:"Font family",options:[{option:1,text:"Monospaced Serif"},{option:2,text:"Proportional Serif"},{option:3,text:"Monospaced Sans-Serif"},{option:4,text:"Proportional Sans-Serif"},{option:5,text:"Casual"},{option:6,text:"Cursive"},{option:7,text:"Small Capitals"}]},{option:"color",text:"Font colour",options:q1},{option:"fontSizeIncrement",text:"Font size",options:[{option:-2,text:JY(.5)},{option:-1,text:JY(.75)},{option:0,text:JY(1)},{option:1,text:JY(1.5)},{option:2,
text:JY(2)},{option:3,text:JY(3)},{option:4,text:JY(4)}]},{option:"background",text:"Background colour",options:q1},{option:"backgroundOpacity",text:"Background opacity",options:Yxa},{option:"windowColor",text:"Window colour",options:q1},{option:"windowOpacity",text:"Window opacity",options:Yxa},{option:"charEdgeStyle",text:"Character edge style",options:[{option:0,text:"None"},{option:4,text:"Drop Shadow"},{option:1,text:"Raised"},{option:2,text:"Depressed"},{option:3,text:"Outline"}]},{option:"textOpacity",
text:"Font opacity",options:[{option:.25,text:JY(.25)},{option:.5,text:JY(.5)},{option:.75,text:JY(.75)},{option:1,text:JY(1)}]}];g.t(KY,g.wY);g.h=KY.prototype;g.h.Gf=function(a){g.wY.prototype.Gf.call(this,a)};
g.h.KD=function(a){return a.option.toString()};
g.h.Ff=function(a){return this.N[a].text||""};
g.h.Id=function(a){g.wY.prototype.Id.call(this,a);this.V("settingChange",this.L,this.N[a].option)};
g.h.LD=function(a){this.V("settingChange",this.L+"Override",!a);this.C.mf()};g.t(MY,g.uY);MY.prototype.C=function(a,b){this.V("settingChange",a,b)};g.t(NY,g.wY);NY.prototype.H=function(a){return a.languageCode};
NY.prototype.Ff=function(a){return this.D[a].languageName||""};
NY.prototype.Id=function(a){this.V("select",a);g.EY(this.C)};g.t(OY,g.wY);g.h=OY.prototype;g.h.ow=function(a){return g.Yb(a)?"__off__":a.displayName};
g.h.Ff=function(a){return"__off__"==a?"Off":"__translate__"==a?"Auto-translate":"__contribute__"==a?"Add subtitles/CC":("__off__"==a?{}:this.D[a]).displayName};
g.h.Id=function(a){"__translate__"==a?this.H.open():"__contribute__"==a?(this.T.od(),this.T.isFullscreen()&&this.T.re(),a=g.Wma(g.X(this.T),this.T.getVideoData()),g.NU(a)):(this.T.Xd("captions","track","__off__"==a?{}:this.D[a]),g.wY.prototype.Id.call(this,a),this.C.mf())};
g.h.Jn=function(){var a=this.T.vj();a=a&&-1!=a.indexOf("captions");var b=this.T.getVideoData();b=b&&b.fm;if(a||b){if(a){var c=this.T.Fc("captions","track");var d=this.T.Fc("captions","tracklist",{includeAsr:!0});var e=this.T.Fc("captions","translationLanguages");this.D=g.ib(d,this.ow,this);var f=(0,g.I)(d,this.ow);if(e.length){var k=this.H;var l=e;k.D=g.ib(l,k.H,k);g.xY(k,(0,g.I)(l,k.H));f.push("__translate__")}k=this.ow(c)}else this.D={},f=[],k="__off__";f.unshift("__off__");this.D.__off__={};b&&
f.unshift("__contribute__");this.D[k]||(this.D[k]=c,f.push(k));g.xY(this,f);this.Gf(k);a?(Fua(this.L,this.T.wj()),this.K.Nb(d&&d.length?" ("+d.length+")":""),this.V("size-change"),a&&e&&e.length&&this.B.__translate__.element.setAttribute("aria-disabled",!!g.Yb(c))):(this.K.Nb(""),this.V("size-change"));this.enable(!0)}else this.enable(!1)};
g.h.JD=function(a){this.T.Xd("captions","sampleSubtitles",a)};
g.h.vR=function(a){var b=this.T.Fc("captions","track");b=g.cc(b);b.translationLanguage=this.H.D[a];this.T.Xd("captions","track",b)};
g.h.uR=function(a,b){if("reset"==a)this.T.Ov();else{var c={};c[a]=b;this.T.zq(c)}this.JD(!0);this.N.start();Fua(this.L,this.T.wj())};
g.h.BV=function(a){a||g.Bu(this.N)};
g.h.Y=function(){g.Bu(this.N);g.wY.prototype.Y.call(this)};g.t(PY,g.AY);PY.prototype.kf=function(a){QY(this);0<this.D.Ra.length&&g.AY.prototype.kf.call(this,a)};
PY.prototype.show=function(){g.AY.prototype.show.call(this);g.S(this.C.getRootNode(),"ytp-settings-shown")};
PY.prototype.hide=function(){g.AY.prototype.hide.call(this);g.Lq(this.C.getRootNode(),"ytp-settings-shown")};g.t(TY,g.V);
TY.prototype.B=function(){var a=!1;-1!=this.T.vj().indexOf("remote")&&(a=1<this.T.Fc("remote","receivers").length);g.VH(this,a&&400<=g.VT(this.T).Ua().width);var b=1;a&&this.T.Fc("remote","casting")&&(b=2);if(this.C!=b){this.C=b;switch(b){case 1:this.updateValue("icon",g.SU?{I:"div",ea:["ytp-icon","ytp-icon-cast-desktop-off"]}:{I:"svg",U:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},P:[{I:"path",Ya:!0,U:{d:"M27,9 L9,9 C7.9,9 7,9.9 7,11 L7,14 L9,14 L9,11 L27,11 L27,25 L20,25 L20,27 L27,27 C28.1,27 29,26.1 29,25 L29,11 C29,9.9 28.1,9 27,9 L27,9 Z M7,24 L7,27 L10,27 C10,25.34 8.66,24 7,24 L7,24 Z M7,20 L7,22 C9.76,22 12,24.24 12,27 L14,27 C14,23.13 10.87,20 7,20 L7,20 Z M7,16 L7,18 C11.97,18 16,22.03 16,27 L18,27 C18,20.92 13.07,16 7,16 L7,16 Z",fill:"#fff"}}]});
break;case 2:this.updateValue("icon",g.ora())}g.T(this.element,"ytp-remote-button-active",!!this.T.Fc("remote","casting"))}};
TY.prototype.F=function(){if(this.T.Fc("remote","quickCast"))this.T.Xd("remote","quickCast",!0);else{var a=this.D,b=this.element;if(XX(a))a.Rb();else{QY(a);a:{var c=g.q(a.D.Ra);for(var d=c.next();!d.done;d=c.next())if(d=d.value,0==d.priority){c=d;break a}c=null}c&&(c.open(),a.kf(b));a.kf(b)}}};g.t(UY,g.V);UY.prototype.H=function(){var a=this.B.app;a.A.za("SIZE_CLICKED",!a.qd)};
UY.prototype.C=function(){g.VH(this,this.B.app.Pe&&!this.B.isFullscreen()&&3!=this.B.Sa());if(this.A){var a=this.B.isWidescreen();if(this.D!=a){var b=a?g.SU?{I:"div",ea:["ytp-icon","ytp-icon-default-view"]}:{I:"svg",U:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},P:[{I:"path",Ya:!0,U:{d:"m 26,13 0,10 -16,0 0,-10 z m -14,2 12,0 0,6 -12,0 0,-6 z",fill:"#fff","fill-rule":"evenodd"}}]}:g.SU?{I:"div",ea:["ytp-icon","ytp-icon-theater-mode"]}:{I:"svg",U:{height:"100%",version:"1.1",viewBox:"0 0 36 36",
width:"100%"},P:[{I:"path",Ya:!0,U:{d:"m 28,11 0,14 -20,0 0,-14 z m -18,2 16,0 0,10 -16,0 0,-10 z",fill:"#fff","fill-rule":"evenodd"}}]};g.X(this.B).J||null==this.D?this.updateValue("icon",b):cua(this.G,this.element,b);this.D=a;b=IW(this.B,"Default view","t");var c=IW(this.B,"Cinema mode","t");this.updateValue("title",a?b:c);eY(this.F)}}};g.t(VY,g.V);VY.prototype.D=function(){var a=g.PT(this.C).dc;a&&a.MG()};
VY.prototype.B=function(){var a=!!g.PT(this.C).dc;g.VH(this,a&&300<=g.VT(this.C).Ua().width);a&&this.updateValue("pressed",!!this.C.Fc("captions","track").displayName)};g.t(g.WY,g.V);
g.WY.prototype.C=function(){var a=g.VT(this.F).Ua().width,b=350<=a&&(!this.G||!g.W(g.UT(this.F),64));g.VH(this,b);g.T(this.element,"ytp-time-display-allow-autohide",b&&400>a);a=this.F.Zk();b&&(b=g.$U(a.current),this.H!=b&&(this.updateValue("currenttime",b),this.H=b),b=g.$U(a.duration),this.J!=b&&(this.updateValue("duration",b),this.J=b));this.G&&(a=a.isPeggedToLive,this.K!=a&&(this.K=a,this.C(),b=this.B.element,b.disabled=a,g.X(this.F).experiments.o("enable_live_premiere_web_player_indicator")&&this.B.Nb(this.L?
"Premiere":"Live"),a?this.D&&(this.D(),this.D=null,b.removeAttribute("title")):(b.title="Skip ahead to live broadcast.",this.D=PX(this.N,this.B.element))))};
g.WY.prototype.W=function(a,b){Hua(this,b);this.C()};
g.WY.prototype.O=function(a){a.target==this.B.element&&(this.F.kc(window.Infinity),this.F.bd())};
g.WY.prototype.Y=function(){this.D&&this.D();g.V.prototype.Y.call(this)};g.t(YY,g.V);g.h=YY.prototype;g.h.wR=function(){var a=this.H.nd();this.J!=a&&(this.J=a,XY(this,this.B.getVolume(),this.B.isMuted()))};
g.h.Vc=function(a){g.VH(this,350<=a.width)};
g.h.LV=function(a){if(!g.LF(a)){var b=g.MF(a),c=null;37==b?c=this.F-5:39==b?c=this.F+5:36==b?c=0:35==b&&(c=100);null!=c&&(c=g.ld(c,0,100),0==c?this.B.mute():(this.B.isMuted()&&this.B.sg(),this.B.setVolume(c)),g.KF(a))}};
g.h.xR=function(a){var b=a.deltaX||-a.deltaY;a.deltaMode?this.B.setVolume(this.F+(0>b?-10:10)):this.B.setVolume(this.F+g.ld(b/10,-10,10));g.KF(a)};
g.h.KV=function(){ZY(this,this.D,!0,this.C,this.H.Kk());this.aa=this.F;this.B.isMuted()&&this.B.sg()};
g.h.JV=function(a){a-=g.Ih(this.W).x;this.B.setVolume(100*g.ld(a/(this.J?78:52),0,1))};
g.h.IV=function(){ZY(this,this.D,!1,this.C,this.H.Kk());0==this.F&&(this.B.mute(),this.B.setVolume(this.aa))};
g.h.yR=function(a){XY(this,a.volume,a.muted)};
g.h.Qz=function(){ZY(this,this.D,this.G,this.C,this.H.Kk())};
g.h.MD=function(a){ZY(this,this.D,this.G,a,this.H.Kk())};
g.h.iG=function(a){g.T(this.element,"ytp-volume-control-hover",a);ZY(this,a,this.G,this.C,this.H.Kk())};
g.h.Y=function(){g.V.prototype.Y.call(this);g.Lq(this.O,"ytp-volume-slider-active")};g.t($Y,g.V);$Y.prototype.F=function(){this.C=!!this.B.getVideoData().videoId;g.VH(this,this.C);g.tU(this.B,this.element,this.C&&this.D);if(this.C){var a=this.B.getVideoUrl(!0,!1,!1,!0);this.updateValue("url",a)}};
$Y.prototype.G=function(a){var b=this.B.getVideoUrl(!g.aV(a),!1,!0,!0);EW(b,this.B,a);g.sU(this.B,this.element)};g.t(aZ,g.SF);g.h=aZ.prototype;g.h.lw=function(){g.rua(this.C);this.W.C()};
g.h.lE=function(){this.Jx();if(this.O.o)this.lw();else{var a=this.C.sa;1==a.C&&a.ff()}};
g.h.sR=function(){this.lw();this.G.start()};
g.h.Jx=function(){var a;if(a=!g.X(this.T).B){a=this.C;var b=2*a.F*g.pN();a=300>1E3*a.B.getLength()/a.C.Pc()/b}a=a&&g.UT(this.T).sb()&&!!window.requestAnimationFrame;b=!a;this.O.o||(a=b=!1);b?this.H||(this.H=this.R(this.T,"progresssync",this.lw)):this.H&&(this.Ia(this.H),this.H=null);a?this.G.isActive()||this.G.start():this.G.stop()};
g.h.VX=function(a){var b=this.B.Vb();a=!a;if(null!=b.C)if(a)switch(b.C){case 3:case 2:NZ(b);b.L.show();break;default:b.L.show()}else b.L.hide();b.O=a};
g.h.mw=function(){var a=this.B.nd(),b=g.VT(this.T).Ua(),c=bZ(this),d=Math.max(b.width-2*c,100);if(this.ba!=b.width||this.ca!=a){this.ba=b.width;this.ca=a;var e=Jua(this);this.A.element.style.width=e+"px";this.A.element.style.left=c+"px";var f=this.C;f.Ha=c;f.F=e;f.H=a;g.kY(f);this.B.Vb().oa=e}c=this.o;e=Math.min(413*(a?1.5:1),Math.round(.82*(b.height-(this.B.nd()?72:50))));c.W=Math.min(570*(a?1.5:1),d);c.O=e;c.eo();this.Jx();g.X(this.T).experiments.o("html5_player_dynamic_bottom_gradient")&&Wta(this.ga,
b.height)};
g.h.tR=function(){var a=this.T.getVideoData();this.N.style.background=a.isDni?a.dniColor:""};
g.h.na=function(){return this.A.element};g.t(cZ,WX);cZ.prototype.G=function(a){a?(Kua(this),this.kf()):(this.C&&Lua(this),this.Rb())};
cZ.prototype.H=function(a){this.B.app.ba&&0<VP(a,2)&&this.Rb()};
cZ.prototype.onClick=function(){this.B.sg();Lua(this)};g.t(dZ,g.SF);g.h=dZ.prototype;g.h.init=function(){var a=g.UT(this.api);this.ur(a);this.Ai();this.bb()};
g.h.vD=function(a,b){if(this.wa!=b.videoId){this.wa=b.videoId;var c=this.A;c.W=b&&0<b.Li.length?5E3:3E3;c.oc(512,!0);this.Ai()}};
g.h.IU=function(){this.vD("newdata",this.api.getVideoData())};
g.h.Dl=function(){var a=g.cU(this.api)&&g.dU(this.api);eZ(this);(a=Qua(this)||this.Va||a)||(a=g.PT(this.api).cg,a=!!a&&a.sO());return a||this.fb||eZ(this)};
g.h.Dg=function(){var a=!this.Dl();g.T(this.api.getRootNode(),"ytp-menu-shown",!a)};
g.h.KQ=function(a){if(!g.ae(this.api.getRootNode(),a))return!1;for(;a&&!g.ge(a);)a=a==this.api.getRootNode()?null:g.Zd(a);return!!a};
g.h.Aw=function(a){var b=this.api.getRootNode();g.T(b,"ytp-autohide",a);g.T(b,"ytp-autohide-active",!0);this.Qa.start(a?250:100);a&&(this.Ha=!1,g.Lq(b,"ytp-touch-mode"));b=this.api;a=!a;b.za("onVideoAreaChange");b.za(a?"onShowControls":"onHideControls")};
g.h.lS=function(){var a=this.api.getRootNode();g.T(a,"ytp-autohide-active",!1)};
g.h.tV=function(a){Mua(this)&&Nua(this,a);var b=XX(this.ha);g.Bwa&&Oua(this,a)?b&&g.KF(a):(g.RP(g.UT(this.api))&&!g.X(this.api).xa&&(b=this.api.getVideoData(),b.videoId&&this.api.yq(wma(b))),this.A.o||fZ(this,HF(a))||XX(this.ha)||(g.UT(this.api),g.KF(a)),this.Ha=!0,g.S(this.api.getRootNode(),"ytp-touch-mode"),this.A.oc(2,!0))};
g.h.pV=function(a){Oua(this,a)||Mua(this)||Nua(this,a)};
g.h.uB=function(){};
g.h.wD=function(){};
g.h.ew=function(){var a=g.UT(this.api);g.W(a,2)&&ST(this.api)||(QP(a)?this.api.od():(this.api.app.Pd=!0,this.api.bd()))};
g.h.qV=function(a){fZ(this,HF(a))||3!=this.api.Sa()&&this.api.re()};
g.h.rV=function(a){Pua(this,.3,a.scale);g.KF(a)};
g.h.sV=function(a){Pua(this,.1,a.scale)};
g.h.bb=function(){var a=this.nd(),b=g.VT(this.api).Ua(),c=this.api.isFullscreen(),d=this.api.getRootNode(),e=!a&&(480>b.width||290>b.height),f=650<=b.width;g.JI&&Ita(this.A);g.T(d,"ytp-fullscreen",c);g.T(d,"ytp-large-width-mode",f);g.T(d,"ytp-small-mode",e);g.T(d,"ytp-big-mode",a);this.C&&Qta(this.C,b)};
g.h.MU=function(a){this.ur(a.state);this.Ai()};
g.h.Ai=function(){if(Qua(this))var a=!1;else{var b=!!this.wa&&!g.QT(this.api),c=2==this.api.Sa();a=g.X(this.api);if(c){a=g.PT(this.api).Kc;if(b){b=g.X(a.player).experiments;c=a.app.getVideoData();if(b.o("desktop_trv_action_hide_info_bar")&&c.Lk)a=!1;else{if(b=c.isListed)a=a.o,b=null!=a.K&&null!=Ne(a.K,1)&&null!=Ne(hf(a.K),4)&&Ne(Re(hf(a.K),cf,4),1)?!1:!0;a=b}b=a}a=b}else c=this.api.getVideoData(),a=(a.experiments.o("embed_api_deprecation")||a.wa)&&c.isDni&&5==this.api.app.W?b:b&&(a.xh||this.api.isFullscreen()||
a.fullWindow)}this.J!=a&&(this.J=a,g.T(this.api.getRootNode(),"ytp-hide-info-bar",!a))};
g.h.ur=function(a){var b=g.RP(a);b!=this.Sb&&(this.Sb=b,this.La&&this.Ia(this.La),this.La=this.R(g.VT(this.api),"touchstart",this.tV,void 0,b));this.A.oc(128,!(a.sb()&&!g.W(a,32)||fU(this.api)));var c=3==this.api.Sa();this.A.oc(256,c);c=this.api.getRootNode();if(g.W(a,2))var d=["ended-mode"];else d=[],g.W(a,8)?d.push("playing-mode"):g.W(a,4)&&d.push("paused-mode"),g.W(a,1)&&!g.W(a,32)&&d.push("buffering-mode"),g.W(a,32)&&d.push("seeking-mode"),g.W(a,64)&&d.push("unstarted-mode");g.fb(this.ka,d)||
(g.Mq(c,this.ka),this.ka=d,g.Kq(c,d));d=g.X(this.api);var e=g.W(a,2);g.T(c,"ytp-hide-controls",("3"==d.C?!e:"1"!=d.C)||b);g.T(c,"ytp-native-controls","3"==d.C&&!b&&!e);if(g.W(a,128)){this.C||(this.C=new HX(this.api),g.M(this,this.C),g.nU(this.api,this.C.element,4));b=this.C;c=a.o;for(a=0;a<b.G.length;a++)b.Ia(b.G[a]);b.G=[];d=c.messageKey;a=g.X(b.B);"play"!=a.playerStyle||"YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK"!=d&&"YTP_ERROR_UNSUPPORTED_DEVICE"!=d||(d="YTP_HTML5_FLASH_DEPRECATED");if("YTP_ERROR_GENERIC_WITHOUT_LINK"!=
d||a.jc)"YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK"!=d||a.jc?"YTP_HTML5_FLASH_DEPRECATED"==d?b.Nb(JX(b,d,"//web.archive.org/web/20181027110332/https://support.google.com/googleplay/answer/2844198#movies",!1,!0,"YTP_ERROR_VIDEO_UNAVAILABLE")):(b.Nb(Tta(c.message)),b.F&&c.subreason&&b.Nb(Tta(c.subreason),"subreason")):b.Nb(JX(b,"YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK_WITH_LINK","//web.archive.org/web/20181027110332/https://www.youtube.com/html5"));else if(c=g.X(b.B).hostLanguage,d="//web.archive.org/web/20181027110332/https://support.google.com/youtube/?p=player_error1",c&&(d=g.Zg(d,{hl:c})),b.Nb(JX(b,"YTP_ERROR_GENERIC_WITH_LINK_AND_CPN",
d,!0)),a.ha&&!a.o)for(a=(0,g.B)(b.H,b),c=b.element.getElementsByTagName("a"),d=0;d<c.length;d++)e=b.R(c[d],"click",a),b.G.push(e);this.C.show()}else this.C&&(this.C.dispose(),this.C=null)};
g.h.kp=function(){return g.cU(this.api)&&g.dU(this.api)?(this.api.Bn(!1,!1),!0):g.QT(this.api)?(g.TT(this.api,!0),!0):!1};
g.h.LQ=function(a){this.fb=a;this.Dg()};
g.h.nd=function(){return!1};
g.h.Kk=function(){return this.Ha};
g.h.En=function(){return null};
g.h.Uv=function(){var a=g.VT(this.api).Ua();return new g.jh(0,0,a.width,a.height)};
g.h.Vv=function(){};
g.h.Rq=function(){};
g.h.Bq=function(a){void 0!=a&&RV(g.VT(this.api),a)};
g.h.Xv=function(){};
g.h.VA=function(){return null};g.t(g.iZ,g.V);g.iZ.prototype.show=function(){g.V.prototype.show.call(this);g.zu(this.B)};
g.iZ.prototype.hide=function(){this.C.stop();g.V.prototype.hide.call(this)};g.t(nZ,g.V);nZ.prototype.Y=function(){this.B&&this.B();g.V.prototype.Y.call(this)};
nZ.prototype.H=function(){g.iG("iv-button-mouseover")};
nZ.prototype.G=function(a){g.cU(this.T);var b=g.Jq(this.T.getRootNode(),"ytp-cards-teaser-shown");g.iG("iv-teaser-clicked",b);a=0==a.screenX&&0==a.screenY;this.T.Bn(!g.dU(this.T),a,"YOUTUBE_DRAWER_MANUAL_OPEN")};g.t(oZ,g.V);g.h=oZ.prototype;g.h.ZG=function(){g.cU(this.T)&&g.dU(this.T)&&this.A&&4!=this.F.o&&this.Hn()};
g.h.BX=function(){this.Hn();g.iG("iv-teaser-clicked",!!this.B);this.T.Bn(!0,!1,"YOUTUBE_DRAWER_MANUAL_OPEN")};
g.h.MQ=function(){g.iG("iv-teaser-mouseover");this.B&&this.B.stop()};
g.h.OV=function(a){this.B||!a||g.dU(this.T)||this.C&&this.C.isActive()||(Sua(this,a),g.iG("iv-teaser-shown"))};
g.h.xD=function(){this.J.stop();this.B&&this.B.isActive()&&this.K.start()};
g.h.ni=function(){this.K.stop();this.B&&!this.B.isActive()&&this.J.start()};
g.h.nU=function(){this.B&&this.B.stop()};
g.h.lU=function(){this.Hn()};
g.h.Hn=function(){!this.B||this.D&&this.D.isActive()||(g.iG("iv-teaser-hidden"),this.F.hide(),g.Lq(this.T.getRootNode(),"ytp-cards-teaser-shown"),this.D=new g.U(function(){for(var a=g.q(this.G),b=a.next();!b.done;b=a.next())this.Ia(b.value);this.G=[];this.B&&(this.B.dispose(),this.B=null);mZ(this.H,!0)},330,this),this.D.start())};
g.h.Y=function(){var a=this.T.getRootNode();a&&g.Lq(a,"ytp-cards-teaser-shown");g.mf(this.C,this.D,this.B);g.V.prototype.Y.call(this)};g.t(pZ,g.YH);pZ.prototype.B=function(a){g.LF(a)||39!=g.MF(a)||(this.element.click(),g.KF(a))};g.t(sZ,g.uY);g.h=sZ.prototype;g.h.QS=function(){HW(this.J.element)};
g.h.pT=function(){tZ(this,this.T.vn(!0))&&jZ(this.O,pra())};
g.h.qT=function(){tZ(this,this.T.TC())&&jZ(this.O,g.SU?{I:"div",ea:["ytp-icon","ytp-icon-code"]}:{I:"svg",U:{height:"100%",viewBox:"0 0 36 36",width:"100%"},P:[{I:"path",U:{d:"M14.1 24.9L7.2 18.0l6.9-6.9L12.0 9.0l-9.0 9.0 9.0 9.0 2.1-2.1zm7.8 .0l6.9-6.9-6.9-6.9L24.0 9.0l9.0 9.0-9.0 9.0-2.1-2.1z",fill:"#fff"}}]});g.sU(this.T,this.B.element);rZ("EMBED",this.T.getVideoData().videoId,this.T.getPlaylistId()||void 0)};
g.h.tT=function(){tZ(this,this.T.getVideoUrl(!0,!0))&&jZ(this.O,tra());g.sU(this.T,this.D.element);rZ("COPY_PASTE",this.T.getVideoData().videoId,this.T.getPlaylistId()||void 0)};
g.h.sT=function(){tZ(this,this.T.getVideoUrl(!1,!0))&&jZ(this.O,tra());g.sU(this.T,this.C.element);rZ("COPY_PASTE",this.T.getVideoData().videoId,this.T.getPlaylistId()||void 0)};
g.h.PT=function(a){g.rY(this.F,a)};
g.h.QT=function(){var a=this.F.getValue();dwa(this.T.app,a);this.N.Rb();g.sU(this.T,this.F.element)};
g.h.iV=function(a){var b=g.Y(this.T.app);b&&b.ln(new MN("feedback",!1,{gpu:(0,g.dT)()}));if(g.DW(a,this.T,!oN(g.X(this.T)))){a=this.T;b=b={as3:!1,html5:!0,player:!0};var c=a.bB().debug_error;c&&(b.player_error=c.errorCode,b.player_error_details=c.errorDetail);b.debug_text=a.vn(!0);a.za("onFeedbackStartRequest",b);a.isFullscreen()&&a.re()}this.N.Rb()};
g.h.FV=function(){this.T.XC();this.N.Rb()};
g.h.QQ=function(a,b){Uua(this,b)};g.t(uZ,g.AY);g.h=uZ.prototype;g.h.show=function(){this.J||(this.J=new sZ(this.C,this.oa,this,this.ha),g.M(this,this.J),g.DY(this,this.J));g.AY.prototype.show.call(this);g.tU(this.C,this.element,!0);Vua(this.J,!0)};
g.h.hide=function(){Wua(this);g.AY.prototype.hide.call(this);g.tU(this.C,this.element,!1);this.J&&Vua(this.J,!1)};
g.h.PS=function(a){var b=HF(a);this.A||b&&(g.ie(b,"a")||g.je(b,"ytp-no-contextmenu"))||(g.KF(a),Xua(this),b=this.C.getVideoData(),g.T(this.element,"ytp-dni",b.isDni),this.element.style.left="",this.element.style.top="",a=JF(a),a.x++,a.y++,this.kf(),b=g.Jh(window.document.body),a=g.sD(a,this.size,0,void 0,b,5),g.Eh(this.element,g.oh(a.rect)),g.UF(this.D),this.D.R(window.document,"contextmenu",this.ZS),this.D.R(this.C,"fullscreentoggled",this.RQ),this.D.R(this.C,"pageTransition",this.xU))};
g.h.ZS=function(a){g.LF(a)||(g.ae(this.element,HF(a))||this.Rb(),g.X(this.C).disableNativeContextMenu&&g.KF(a))};
g.h.RQ=function(){this.Rb();Xua(this)};
g.h.xU=function(){this.Rb()};g.t(vZ,g.SF);g.h=vZ.prototype;
g.h.nB=function(a){var b=!1,c=g.MF(a),d=HF(a),e=!a.altKey&&!a.ctrlKey&&!a.metaKey,f=!1,k=!1,l=g.X(this.o);g.LF(a)?(e=!1,k=!0):l.Pd&&(e=!1);if(9==c)b=!0;else{if(d)switch(c){case 32:case 13:if("BUTTON"==d.tagName||"A"==d.tagName||"INPUT"==d.tagName)b=!0,e=!1;else if(e){var m=d.getAttribute("role");!m||"option"!=m&&"button"!=m&&0!=m.indexOf("menuitem")||(b=!0,d.click(),f=!0)}break;case 37:case 39:case 36:case 35:b="slider"==d.getAttribute("role");break;case 38:case 40:m=d.getAttribute("role"),d=38==
c?d.previousSibling:d.nextSibling,"slider"==m?b=!0:e&&("option"==m?(d&&"option"==d.getAttribute("role")&&d.focus(),f=b=!0):m&&0==m.indexOf("menuitem")&&(d&&d.hasAttribute("role")&&0==d.getAttribute("role").indexOf("menuitem")&&d.focus(),f=b=!0))}if((d=g.PT(this.o).ee)&&e&&!f&&d.A&&d.A.A)switch(c){case 65:case 68:case 87:case 83:case 107:case 221:case 109:case 219:f=d.A.kB(c)}l.jc||!e||f||(f=String.fromCharCode(c).toLowerCase(),this.B+=f,0=="awesome".indexOf(this.B)?(f=!0,7==this.B.length&&g.Oq(this.o.getRootNode(),
"ytp-color-party")):(this.B=f,f=0=="awesome".indexOf(this.B)));if(e&&!f){switch(c){case 32:l.H||(k=!QP(g.UT(this.o)),kZ(this.A,k),k?this.o.bd():this.o.od(),k=f=!0);break;case 37:this.o.Zc()&&(jZ(this.A,g.SU?{I:"div",ea:["ytp-icon","ytp-icon-rewind-five-seconds"]}:{I:"svg",U:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},P:[{I:"path",Ya:!0,M:"ytp-svg-fill",U:{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.Ge(-5*this.o.Pc()),k=f=!0);break;case 39:this.o.Zc()&&(jZ(this.A,g.SU?{I:"div",ea:["ytp-icon","ytp-icon-forward-five-seconds"]}:{I:"svg",U:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},P:[{I:"path",Ya:!0,M:"ytp-svg-fill",U:{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.Ge(5*this.o.Pc()),k=f=!0);break;case 38:k=Math.min(this.o.getVolume()+5,100);lZ(this.A,k,!1);this.o.setVolume(k);k=f=!0;break;case 40:k=Math.max(this.o.getVolume()-5,0);lZ(this.A,k,!0);this.o.setVolume(k);k=f=!0;break;case 27:this.F()&&(k=f=!0);break;case 36:this.o.Zc()&&(this.o.kc(0),k=f=!0);break;case 35:this.o.Zc()&&(this.o.kc(window.Infinity),k=f=!0)}if("3"!=l.C)switch(c){case 67:g.PT(this.o).dc&&(k=this.o.Fc("captions","track"),(f=g.PT(this.o).dc)&&f.MG(),k=!k||k&&!k.displayName?"Subtitles/closed captions on":
"Subtitles/closed captions off",jZ(this.A,Bra(),k),k=f=!0);break;case 79:wZ(this,"textOpacity")&&(f=!0);break;case 87:wZ(this,"windowOpacity")&&(f=!0);break;case 187:wZ(this,"fontSizeIncrement",!1,!0)&&(f=!0);break;case 189:wZ(this,"fontSizeIncrement",!0,!0)&&(f=!0)}var n;48<=c&&57>=c?n=c-48:96<=c&&105>=c&&(n=c-96);null!=n&&this.o.Zc()&&(k=this.o.Zk(),this.o.kc(n/10*(k.seekableEnd-k.seekableStart)+k.seekableStart),k=f=!0)}}b&&this.lx(!0);(b||k)&&this.D.oc(2,!0);(f||e&&Zua(this,c,a.shiftKey))&&g.KF(a);
l.Lb&&(a={keyCode:g.MF(a),altKey:a.altKey,ctrlKey:a.ctrlKey,metaKey:a.metaKey,shiftKey:a.shiftKey,handled:g.LF(a),fullscreen:this.o.isFullscreen()},this.o.za("onKeyPress",a))};
g.h.oB=function(a){a=g.MF(a);var b=g.PT(this.o).ee;b&&b.A&&b.A.A&&b.A.mB(a);9==a&&this.lx(!0)};
g.h.lx=function(a){g.T(this.o.getRootNode(),"ytp-probably-keyboard-focus",a);g.T(this.G.element,"ytp-probably-keyboard-focus",a)};
g.h.AD=function(a){g.PT(this.o).dc&&this.o.Xd("captions","sampleSubtitles",a)};
g.h.Y=function(){g.Bu(this.C);g.SF.prototype.Y.call(this)};g.t(xZ,g.V);g.h=xZ.prototype;g.h.hide=function(){g.Lq(this.B.getRootNode(),"ytp-expand-pause-overlay");g.V.prototype.hide.call(this)};
g.h.AS=function(){this.ba=!0;g.Lq(this.B.getRootNode(),"ytp-expand-pause-overlay");this.K.focus()};
g.h.CS=function(){this.ba=!1;g.S(this.B.getRootNode(),"ytp-expand-pause-overlay")};
g.h.XQ=function(){$ua(this,this.F-this.H)};
g.h.YQ=function(){$ua(this,this.F+this.H)};
g.h.ZQ=function(a,b){if(1E3>g.tG()-this.oa)g.KF(b),window.document.activeElement.blur();else{var c=this.C[a],d=c.Ld;if(g.DW(b,this.B,this.ha,d||void 0)){var e=c.ab().videoId;c=c.getPlaylistId();g.$_(this.B.app,e,d,c,void 0,void 0,void 0)}}};
g.h.aR=function(){this.hw(g.VT(this.B).Ua())};
g.h.bR=function(a){g.W(a.state,1)||g.W(a.state,16)||g.W(a.state,32)||(g.W(a.state,4)&&!g.W(a.state,2)?this.C.length&&(this.ba||(g.S(this.B.getRootNode(),"ytp-expand-pause-overlay"),yZ(this)),this.W.show(),this.oa=g.tG()):this.W.hide())};
g.h.hw=function(a){var b=16/9,c=this.ga.nd();a=a.width-(c?112:58);c=Math.ceil(a/(c?320:192));c=(a-8*c)/c;b=Math.floor(c/b);for(var d=0;d<this.G.length;d++){var e=this.G[d].o["ytp-suggestion-image"];e.style.width=c+"px";e.style.height=b+"px"}this.J.element.style.height=b+"px";this.aa=c;this.ka=b;this.H=a;this.F=0;this.BD(0);yZ(this)};
g.h.cR=function(){var a=this,b=g.X(this.B),c=this.B.getVideoData();this.ha=c.isDni?!1:b.o;if(c.suggestions){var d=(0,g.Vd)(c.suggestions,function(a){return a&&!a.list});
this.C=(0,g.I)(d,function(c){c=g.CX(b,c);g.M(a,c);return c})}else this.C.length=0;
bva(this);c.isDni?this.O.update({title:g.QU("More videos from $DNI_RELATED_CHANNEL",{DNI_RELATED_CHANNEL:c.author})}):this.O.update({title:"More videos"})};
g.h.BD=function(a){this.J.element.scrollLeft=-a};g.t(zZ,g.V);zZ.prototype.C=function(a){g.DW(a,this.B)&&this.B.UC(this.Gb)};g.t(AZ,WX);g.h=AZ.prototype;g.h.show=function(){WX.prototype.show.call(this);this.H.R(this.C,"videodatachange",this.iw);this.H.R(this.C,"onPlaylistUpdate",this.iw);this.iw()};
g.h.hide=function(){WX.prototype.hide.call(this);g.UF(this.H);cva(this,null)};
g.h.iw=function(){cva(this,this.C.rg())};
g.h.lr=function(){var a=this.B.iq;if(a==this.J)this.D.element.setAttribute("aria-checked",!1),this.D=this.G[this.B.Be()];else{for(var b=g.q(this.G),c=b.next();!c.done;c=b.next())c.value.dispose();b=this.B.getLength();this.G=[];for(c=0;c<b;c++){var d=new zZ(this.C,this.B,c);this.G.push(d);d.ya(this.Ra)}this.D=this.G[this.B.Be()];this.J=a}this.D&&this.D.element.setAttribute("aria-checked",!0)};
g.h.QV=function(a){var b=this.C.getVideoUrl(!0);EW(b,this.C,a)};
g.h.focus=function(){this.D.focus()};
g.h.Y=function(){this.hide();WX.prototype.Y.call(this)};g.t(BZ,g.V);BZ.prototype.C=function(){g.T(this.element,"ytp-playlist-menu-button-tiny",400>g.VT(this.D).Ua().width);this.B&&2!=this.D.Sa()?(this.update({text:g.QU("$CURRENT_POSITION/$PLAYLIST_LENGTH",{CURRENT_POSITION:String(this.B.Be()+1),PLAYLIST_LENGTH:String(this.B.getLength())}),title:g.QU("Playlist: $PLAYLIST_NAME",{PLAYLIST_NAME:this.B.title})}),this.A||(this.show(),eY(this.F))):this.A&&(this.hide(),eY(this.F))};
BZ.prototype.G=function(){this.B&&this.B.unsubscribe("shuffle",this.C,this);(this.B=this.D.rg())&&this.B.subscribe("shuffle",this.C,this);this.C()};g.t(CZ,g.V);CZ.prototype.D=function(a){g.VH(this,g.W(a.state,2))};
CZ.prototype.C=function(){g.UT(this.B);this.B.bd()};g.t(DZ,WX);g.h=DZ.prototype;g.h.AU=function(a){a=HF(a);g.ae(this.O,a)||g.ae(this.H,a)||this.yi()};
g.h.Rb=function(){WX.prototype.Rb.call(this);this.C.bk(this.element)};
g.h.show=function(){var a=this.A;WX.prototype.show.call(this);this.GD();a||this.B.za("onSharePanelOpened")};
g.h.GD=function(){g.S(this.element,"ytp-share-panel-loading");g.Lq(this.element,"ytp-share-panel-fail");var a=this.B.getVideoData(),b=this.B.getPlaylistId(),c=b&&this.J.checked;g.T(this.element,"ytp-share-panel-has-playlist",!!b);var d={action_get_share_info:1,feature:"player_embedded",video_id:a.videoId},e=g.X(this.B);e.jd&&(d.authuser=e.jd);e.pageId&&(d.pageid=e.pageId);c&&(d.list=b);g.DE(g.X(this.B).baseYtUrl+"share_ajax",{method:"GET",onError:(0,g.B)(this.uG,this),onSuccess:(0,g.B)(function(a,
b){if(b){if(!this.la()){g.Lq(this.element,"ytp-share-panel-loading");eva(this);for(var c=b.links,d=0,e=0;e<c.length&&3>d;e++){var f=c[e],k=dva(f.img);k&&(k=new g.V({I:"a",ea:["ytp-share-panel-service-button","ytp-button"],U:{href:f.url,target:"_blank",title:f.sname},P:[k]}),k.X("click",g.Da(this.xV,f.url)),g.kf(k,PX(this.C,k.element)),this.D.push(k),d++)}c=new g.V({I:"a",ea:["ytp-share-panel-service-button","ytp-button"],P:[{I:"span",M:"ytp-share-panel-service-button-more",P:[g.SU?{I:"div",ea:["ytp-icon",
"ytp-icon-share-more"]}:{I:"svg",U:{height:"100%",version:"1.1",viewBox:"0 0 38 38",width:"100%"},P:[{I:"rect",U:{fill:"#fff",height:"34",width:"34",x:"2",y:"2"}},{I:"path",U:{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"}}]}]}],U:{href:b.more,target:"_blank",title:"More"}});c.X("click",(0,g.B)(this.jU,this,b.more));g.kf(c,PX(this.C,c.element));this.D.push(c);this.updateValue("buttons",this.D)}}else this.uG(null,null)},this),
gd:d,withCredentials:!0});a=e.getVideoUrl(a.videoId,c?b:void 0,void 0,!0);this.updateValue("link",a);this.updateValue("linkText",a);this.updateValue("shareLinkWithUrl",g.QU("Share link $URL",{URL:a}));HW(this.G)};
g.h.uG=function(){g.Lq(this.element,"ytp-share-panel-loading");g.S(this.element,"ytp-share-panel-fail")};
g.h.xV=function(a,b){if(g.aV(b)){var c=void 0===c?{}:c;c.target=c.target||"YouTube";c.width=c.width||"600";c.height=c.height||"600";c||(c={});var d=window;var e=a instanceof Kc?a:g.Oc("undefined"!=typeof a.href?a.href:String(a));var f=c.target||a.target,k=[];for(l in c)switch(l){case "width":case "height":case "top":case "left":k.push(l+"="+c[l]);break;case "target":case "noopener":case "noreferrer":break;default:k.push(l+"="+(c[l]?1:0))}var l=k.join(",");lc()&&d.navigator&&d.navigator.standalone&&
f&&"_self"!=f?(l=d.document.createElement("A"),g.hd(l,e),l.setAttribute("target",f),c.noreferrer&&l.setAttribute("rel","noreferrer"),c=window.document.createEvent("MouseEvent"),c.initMouseEvent("click",!0,!0,d,1),l.dispatchEvent(c),d={}):c.noreferrer?(d=d.open("",f,l),c=g.Lc(e),d&&(g.RH&&-1!=c.indexOf(";")&&(c="'"+c.replace(/'/g,"%27")+"'"),d.opener=null,c=g.kd(g.Ac("b/12014412, meta tag with sanitized URL"),'<meta name="referrer" content="no-referrer"><meta http-equiv="refresh" content="0; url='+
g.ob(c)+'">'),d.document.write(g.ad(c)),d.document.close())):(d=d.open(g.Lc(e),f,l))&&c.noopener&&(d.opener=null);if(c=d)c.opener||(c.opener=window),c.focus();g.KF(b)}};
g.h.jU=function(a,b){EW(a,this.B,b)&&this.B.za("SHARE_CLICKED")};
g.h.mR=function(a){!a&&XX(this)&&this.yi()};
g.h.focus=function(){this.G.focus()};
g.h.Y=function(){WX.prototype.Y.call(this);eva(this)};g.t(EZ,g.V);EZ.prototype.H=function(){var a=g.X(this.B);if(window.navigator.share){var b=this.B.getVideoData(),c=this.B.getPlaylistId();a=a.getVideoUrl(b.videoId,c,void 0,!0);window.navigator.share({title:b.title,url:a})}else this.J.yi(this.element,!1);g.sU(this.B,this.element)};
EZ.prototype.F=function(){var a=g.X(this.B).Hi&&2!=this.B.Sa(),b=g.VT(this.B).Ua().width;this.C=!!this.B.getVideoData().videoId&&300<=b&&!a;g.T(this.D,"ytp-share-button-visible",this.C);a=400<=b;g.X(this.B).D&&(g.T(this.D,"ytp-show-share-title",a),this.updateValue("share",a?"Share":""));g.tU(this.B,this.element,this.C&&this.G)};
EZ.prototype.Y=function(){g.V.prototype.Y.call(this);g.Lq(this.D,"ytp-share-button-visible")};g.t(FZ,WX);FZ.prototype.show=function(){WX.prototype.show.call(this);this.G.start()};
FZ.prototype.hide=function(){WX.prototype.hide.call(this);this.G.stop()};
FZ.prototype.ha=function(){var a=this.B.getCurrentTime();a>this.D/1E3&&a<this.C/1E3&&this.show()};g.t(GZ,g.V);GZ.prototype.F=function(){g.sU(this.C,this.element);fva(this,!this.B)};g.t(g.HZ,g.V);g.HZ.prototype.C=function(){g.S(this.element,"ytp-sb-subscribed")};
g.HZ.prototype.D=function(){g.Lq(this.element,"ytp-sb-subscribed")};g.ua("yt.pubsub.publish",g.iG,void 0);g.t(IZ,g.V);IZ.prototype.L=function(){if(524<=this.B.Nv().width){this.G&&this.G.stop();this.F&&(this.F.show(),g.tU(this.B,this.F.element,!0));var a=this.B.getVideoData();this.H&&a.subscribed&&(this.H.show(),g.tU(this.B,this.H.element,!0));this.C.classList.add("ytp-title-expanded");this.C.classList.add("ytp-title-show-expanded")}};
IZ.prototype.K=function(){this.G&&this.G.start()};g.t(KZ,g.V);KZ.prototype.H=function(a){g.sU(this.B,this.element);var b=this.B.getVideoUrl(!g.aV(a),!1,!0);EW(b,this.B,a)};
KZ.prototype.F=function(){var a=this.B.getVideoData(),b=g.X(this.B);this.updateValue("title",a.title);LZ(this);if(2==this.B.Sa()){var c=this.B.getVideoData(),d=!!c.videoId&&!!c.isListed&&!!c.author&&!!c.channelPath&&!!c.profilePicture;d?(JZ(this.C,d),this.updateValue("channelLink",c.channelPath),this.updateValue("channelName",c.author)):LZ(this)}else b.D&&(c=this.B.getVideoData(),(c=!!c.videoId&&!!c.channelPath&&!!c.profilePicture)?JZ(this.C,c):LZ(this));c=b.ga||!this.B.isFullscreen()&&b.fullWindow;
g.T(this.G,"ytp-title-fullerscreen-link",c);b.G||!a.videoId||c?this.D&&(this.updateValue("url",null),this.Ia(this.D),this.D=null):(this.updateValue("url",this.B.getVideoUrl(!0)),this.D||(this.D=this.R(this.G,"click",this.H)))};g.t(g.MZ,g.V);g.h=g.MZ.prototype;g.h.mU=function(a){3==this.C&&this.ff();a=a.currentTarget;this.C||(a.removeEventListener("mouseover",this.H),a.addEventListener("mouseout",this.ba),this.N.experiments.o("show_tooltip_on_tab_killswitch")||(a.removeEventListener("focus",this.H),a.addEventListener("blur",this.ba)),lva(this,a,2))};
g.h.kU=function(a){(a=IF(a))&&g.ae(this.B,a)||this.ff()};
g.h.yE=function(a,b){if(a<=this.G&&this.G<=b){var c=this.G;this.G=window.NaN;ova(this,c)}};
g.h.CN=function(){cO(this.D,this.G,160*this.F)};
g.h.ff=function(){switch(this.C){case 2:this.B.removeEventListener("mouseout",this.ba),this.B.addEventListener("mouseover",this.H),this.N.experiments.o("show_tooltip_on_tab_killswitch")||(this.B.removeEventListener("blur",this.ba),this.B.addEventListener("focus",this.H));case 3:3==this.C&&this.ia.stop();this.aa.removeEventListener("appresize",this.ga);this.W||this.B.setAttribute("title",this.J);this.J="";this.B=null;break;case 1:this.D&&(this.D.unsubscribe("l",this.yE,this),this.D=null),this.aa.removeEventListener("videoready",
this.ga),this.ha.stop()}this.C=null;this.O&&this.L.hide()};
g.h.bk=function(a){if(this.B)for(var b=0;b<arguments.length;b++)g.ae(arguments[b],this.B)&&this.ff()};
g.h.Y=function(){null!=this.C&&this.ff();g.V.prototype.Y.call(this)};g.t(PZ,g.V);g.h=PZ.prototype;g.h.Vc=function(a){this.F=300<=a.width;g.VH(this,this.F);a=400<=a.width;g.X(this.B).D&&(g.T(this.K,"ytp-show-watch-later-title",a),this.updateValue("watch_later",a?"Watch later":""));g.tU(this.B,this.element,this.F&&this.J)};
g.h.pW=function(){this.C=!0;this.D=!1;OZ(this,1);g.X(this.B).B&&mva(this.G,this.element);g.X(this.B).Lb&&this.B.za("WATCH_LATER_VIDEO_ADDED")};
g.h.zR=function(){g.sU(this.B,this.element);var a=this.B.getVideoData().videoId,b=g.X(this.B);b.jd?sva(this,a):g.iva(function(){zH({videoId:a});window.location.reload()},null,"wl_button",800,600,kN(b))};
g.h.qW=function(a,b){this.D=!1;var c="An error has occurred. Please try again later.";b&&(c=b.errors&&b.errors.length?b.errors[0]:b.error_message);OZ(this,4,c);g.X(this.B).Lb&&this.B.za("WATCH_LATER_ERROR",c)};
g.h.rW=function(){this.D=this.C=!1;OZ(this,2);g.X(this.B).Lb&&this.B.za("WATCH_LATER_VIDEO_REMOVED")};
g.h.AR=function(){this.D=this.C=!1;OZ(this,2)};g.t(QZ,g.V);QZ.prototype.G=function(a){g.VH(this,!g.W(a.state,2))};
QZ.prototype.D=function(){if(this.C.getVideoData().videoId){var a=this.C.getVideoUrl(!0,!1,!1,!0);this.updateValue("url",a);this.B||(this.B=this.X("click",this.F))}else this.B&&(this.updateValue("url",null),this.Ia(this.B),this.B=null)};
QZ.prototype.F=function(a){var b=this.C.getVideoUrl(!g.aV(a),!1,!0,!0);EW(b,this.C,a)};g.t(RZ,dZ);g.h=RZ.prototype;g.h.Vb=function(){return this.D};
g.h.VA=function(){return this.o};
g.h.hp=function(a,b){b?this.K=a:this.K=null;this.Dg()};
g.h.ip=function(a,b){if(b)this.F.push(a);else for(var c=this.F.length;0<=c;c--)if(this.F[c]==a){this.F.splice(c,1);break}this.A.oc(64,0<this.F.length)};
g.h.Dl=function(){g.cU(this.api)&&g.dU(this.api);eZ(this);return!!this.K||dZ.prototype.Dl.call(this)};
g.h.Dg=function(){var a=!this.Dl(),b=a&&g.cU(this.api)&&!g.W(g.UT(this.api),2);a?(this.Ba.show(),this.Da.show()):(this.Ba.hide(),this.Da.hide(),this.D.bk(this.B.element));b?(this.L.C.show(),g.iG("iv-button-shown")):(b=this.L,g.iG("iv-button-hidden"),b.C.hide());this.o&&Iua(this.o,!a);dZ.prototype.Dg.call(this)};
g.h.Rq=function(a,b,c,d,e){a.style.left="";a.style.top="";a.style.bottom="";var f=g.Qh(a);d=d||this.o&&g.ae(this.o.na(),b);if(null==c||!d){var k=g.Qh(b);var l=g.Nh(b,this.api.getRootNode())}c=(null==c?l.x+k.width/2:c)-f.width/2;d?(k=bZ(this.o),l=Jua(this.o),b=g.VT(this.api).Ua().height,c=g.ld(c,k,k+l-f.width),f=b-(this.o.B.nd()?72:50)-f.height):g.ae(this.B.element,b)?(k=g.VT(this.api).Ua().width,c=g.ld(c,12,k-f.width-12),f=this.nd()?this.pa:this.sa,"gvn"==g.X(this.api).playerStyle&&(f+=20),g.X(this.api).D&&
(f-=this.nd()?26:18)):(b=g.VT(this.api).Ua(),c=g.ld(c,12,b.width-f.width-12),f=l.y>(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.Aw=function(a){a&&(this.D.bk(this.B.element),this.o&&this.D.bk(this.o.na()));dZ.prototype.Aw.call(this,a)};
g.h.Uv=function(a){var b=g.VT(this.api).Ua();b=new g.jh(0,0,b.width,b.height);if(a||this.A.o&&!this.Dl())g.X(this.api).xh&&(a=this.nd()?this.pa:this.sa,b.top+=a,b.height-=a),this.o&&(b.height-=this.o.B.nd()?72:50);return b};
g.h.NQ=function(a){var b=this.api.getRootNode();a?b.parentElement?(b.setAttribute("aria-label","YouTube Video Player in Full screen"),g.X(this.api).ga||(b.parentElement.insertBefore(this.O.element,b),b.parentElement.insertBefore(this.N.element,b.nextSibling))):g.gE(Error("Player not in DOM.")):(b.setAttribute("aria-label","YouTube Video Player"),g.UH(this.O),g.UH(this.N));this.bb();this.Ai()};
g.h.nd=function(){return this.api.isFullscreen()||!1};
g.h.Bq=function(a){this.Va=!a;this.Dg()};
g.h.bb=function(){var a=this.nd();this.D.F=a?1.5:1;g.T(this.H.element,"ytp-big-mode",a);this.Dg();dZ.prototype.bb.call(this)};
g.h.Ai=function(){dZ.prototype.Ai.call(this);g.tU(this.api,this.xa.element,!!this.J);if(this.ca){var a=this.ca,b=!!this.J;a.G=b;g.tU(a.B,a.element,a.C&&b)}this.ia&&(a=this.ia,b=!!this.J,a.J=b,g.tU(a.B,a.element,a.F&&b));if(!this.J)for(this.D.bk(this.B.element),a=0;a<this.ga.length;a++)b=this.ga[a],XX(b)&&b.Rb()};
g.h.ur=function(a){this.o&&Iua(this.o,this.Dl());this.Dg();dZ.prototype.ur.call(this,a)};
g.h.uU=function(){fU(this.api)&&this.A.oc(128,!1)};
g.h.Vv=function(a,b){this.W&&Zua(this.W,a,b)};
g.h.kp=function(){return this.H.A?(this.H.Rb(),!0):this.F.length?(this.F[this.F.length-1].Rb(),!0):this.K?(this.K.Rb(),!0):dZ.prototype.kp.call(this)};
g.h.jG=function(a,b){this.Hb=b;this.ip(a,b);this.XG()};
g.h.XG=function(){var a=this.Hb||XX(this.H);this.oa!=a&&(this.oa=a,this.api.za("onAutonavPauseRequest",this.oa))};
g.h.bL=function(){SZ(this,this.api.getRootNode(),!0).focus()};
g.h.cL=function(){SZ(this,this.api.getRootNode(),!1).focus()};
g.h.En=function(){return this.o&&this.o.o};
g.h.Xv=function(){this.A.oc(2,!0)};
g.h.uB=function(){this.G.hide()};
g.h.wD=function(a){kZ(this.G,!QP(a))};g.t(g.TZ,g.zU);g.TZ.prototype.Hc=function(){return!1};
g.TZ.prototype.init=function(){this.gm=new RZ(this.player);g.M(this,this.gm);this.gm.init();g.mU(this.player,"ux")};g.t(UZ,g.L);UZ.prototype.N=function(a){if(this.B==g.uU(this.o)){var b=this.J.find(function(b){return b.Ng==a});
xva(this,b.target,b.Cx)}else{b=this.A.find(function(b){return b.Vi.Ng==a});
var c=b.Vi,d=c.target;c=c.Cx;d?xva(this,d,c):vva(this,b.pl,c)}};
UZ.prototype.W=function(){if(this.D){var a=this.D;YZ(this);$Z(this,a);SR(g.uU(this.o).H,[a.Vi.Ng])}};
UZ.prototype.O=function(a){if(0<VP(a,128)){a=g.q(this.A);for(var b=a.next();!b.done;b=a.next())if(b=b.value,$Z(this,b)){var c=b;break}c&&(c=c.pl/1E3,a=new g.JP(8),b_(this,c,a))}};
UZ.prototype.Y=function(){ZZ(this,!1);Bva(this);g.L.prototype.Y.call(this)};g.t(e_,g.L);e_.prototype.get=function(a){c_(this);var b=this.o.find(function(b){return b.key==a});
return b?b.value:null};
e_.prototype.set=function(a,b,c){this.remove(a,!0);c_(this);a={key:a,value:b,expire:window.Infinity};c&&(0,window.isFinite)(c)&&(c*=1E3,a.expire=g.tG()+c);for(this.o.push(a);this.o.length>this.C;)c=this.o.shift(),f_(this,c,!0);d_(this)};
e_.prototype.remove=function(a,b){b=void 0===b?!1:b;var c=this.o.find(function(b){return b.key==a});
c&&(f_(this,c,b),g.Ta(this.o,function(b){return b.key==a}),d_(this))};
e_.prototype.Y=function(){var a=this;g.L.prototype.Y.call(this);this.o.forEach(function(b){f_(a,b,!0)});
this.o=[]};g.va(g_);var x_=g.y("ytPlayerUtilsVideoTagPoolInstance")||g_.getInstance();g.ua("ytPlayerUtilsVideoTagPoolInstance",x_,void 0);g.h=g_.prototype;g.h.CA=function(a){if(!(this.o.length>=a)){a-=this.o.length;for(var b=0;b<a;b++)Dva(this)}};
g.h.rL=function(a,b){if(this.o.length)return this.o.pop();var c=Dva(this,a,b);a||g.Sa(this.o,c);return c};
g.h.SW=function(a){if(a&&g.Ma(this.A,a)){a.src&&(jJ&&0<a.readyState&&(a.currentTime=Math.max(Sxa,0)),a.removeAttribute("src"),a.load(),a.o&&a.o.A&&(a.o&&a.o.dispose(),a.o=null));for(var b in BF)BF[b][0]==a&&g.FF(b);g.Sa(this.A,a);g.Sa(this.B,a)}};
g.h.rM=function(a){return this.o.length>=(a||1)};
g.h.hK=function(){for(var a=this.B.length-1;0<=a;a--)h_(this,this.B[a]);this.o.length==this.A.length&&4<=this.o.length||(4>this.A.length?this.CA(4):(this.o=[],(0,g.D)(this.A,function(a){h_(this,a)},this)))};
g_.prototype.fillPool=g_.prototype.CA;g_.prototype.getTag=g_.prototype.rL;g_.prototype.releaseTag=g_.prototype.SW;g_.prototype.hasTags=g_.prototype.rM;g_.prototype.activateTags=g_.prototype.hK;g.t(i_,g.L);i_.prototype.B=function(a){this.A=a[a.length-1].intersectionRatio};
i_.prototype.Y=function(){g.L.prototype.Y.call(this);this.A=null;this.o&&this.o.disconnect()};var Eva=vc(function(){var a=window.AudioContext||window.webkitAudioContext;try{return new a}catch(b){return b.name}}),j_=!1;var Wpa=[{query:window.matchMedia("(max-width: 656px)"),size:new g.sd(426,240)},{query:window.matchMedia("(max-width: 856px)"),size:new g.sd(640,360)},{query:window.matchMedia("(max-width: 999px)"),size:new g.sd(854,480)},{query:window.matchMedia("(min-width: 1720px) and (min-height: 980px)"),size:new g.sd(1280,720)},{query:window.matchMedia("(min-width: 1294px) and (min-height: 630px)"),size:new g.sd(854,480)},{query:window.matchMedia("(min-width: 1000px)"),size:new g.sd(640,360)}];g.t(k_,g.V);g.h=k_.prototype;g.h.pM=function(){this.K=new g.jh(0,0,0,0);this.C=new g.jh(0,0,0,0)};
g.h.Hq=function(a){g.Kq(this.element,arguments)};
g.h.Ef=function(){if(this.B){var a=this.Ua();if(!a.isEmpty()){var b=!g.td(a,g.nh(this.C)),c=Lva(this);b&&(this.C.width=a.width,this.C.height=a.height);a=this.app.o;(c||b||a.ha)&&this.app.A.V("resize",this.Ua())}}};
g.h.OQ=function(a,b){Iva(this,b)};
g.h.qM=function(a){a.getVideoData()&&Iva(this,a.getVideoData())};
g.h.Ua=function(){var a=this.app.o,b=this.app.L.isFullscreen();if(b&&KE())return new g.sd(window.outerWidth,window.outerHeight);if(b||a.Oe){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.sd(window.innerWidth,window.innerHeight)}else{if(!(0,window.isNaN)(this.D.width)&&!(0,window.isNaN)(this.D.height))return this.D.clone();if(this.ga&&this.ba&&!this.app.isWidescreen())for(a=
0;a<this.ga.length;a++)if(b=this.ga[a],b.query.matches)return new g.sd(b.size.width,b.size.height)}return new g.sd(this.element.clientWidth,this.element.clientHeight)};
g.h.VL=function(){this.B&&l_(this);q_(this)!=this.O&&this.Ef()};
g.h.PQ=function(){l_(this)};
g.h.Y=function(){this.L&&g.gG(this.L);Hva(this);g.V.prototype.Y.call(this)};g.h=Mva.prototype;g.h.click=function(a){var b=a.getAttribute("data-visual-id");g.Ma(this.o,a);this.isVisible(a);this.A?(b=g.mH())&&a.visualElement&&g.XG(b,a.visualElement):g.qU(this,"onLogVeClicked",{id:b})};
g.h.lA=function(a){g.Ma(this.o,a);var b=a.getAttribute("data-visual-id");g.Sa(this.o,a);g.Sa(this.F,b);g.Sa(this.B,b);g.Sa(this.C,a);a.removeAttribute("data-visual-id")};
g.h.pause=function(){this.G=!0};
g.h.resume=function(){this.G=!1;for(var a=g.q(this.H),b=a.next();!b.done;b=a.next())b=b.value,g.qU(this,b.type,b.data);this.H.length=0};
g.h.isVisible=function(a){var b=a.getAttribute("data-visual-id");return g.Ma(this.B,b)&&g.Ma(this.C,a)};g.t(r_,g.V);g.t(t_,g.V);g.h=t_.prototype;g.h.show=function(){g.V.prototype.show.call(this);this.pw()};
g.h.hide=function(){g.V.prototype.hide.call(this);this.B.stop()};
g.h.stop=function(){this.B.stop()};
g.h.start=function(){this.B.isActive()||this.pw()};
g.h.pw=function(){var a=g.tG(),b=g.Y(this.C),c=this.C.getVideoData(),d=this.C.A,e=g.oU(d).na(),f=b.cu(),k=b.ka,l=8*NS(k,"bandwidth")/1024,m=NS(k,"networkactivity")/1024,n=NS(k,"bufferhealth");if(b.J){var p=b.J.o.o+"/"+HJ(oT(b));p=p+"/"+b.J.eg()}else p="";var r=g.pN();d=g.aU(d).nN;var v=c.Pa&&!c.Pa.o?"display:none":"",z;if((z=c.clientPlaybackNonce)&&16==z.length){for(var E=0,J="",N=0;10>N;N++)if(E=(E<<6)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_".indexOf(z.charAt(N)),4==N%5){for(var ca=
"",Qa=0;6>Qa;Qa++)ca="0123456789ABCDEFGHJKMNPQRSTVWXYZ".charAt(E&31)+ca,E>>=5;J+=ca}z=J.substr(0,4)+" "+J.substr(4,4)+" "+(""+J.substr(8,4))}else z="";f={video_id_and_cpn:c.videoId+" / "+z,codecs:"",dropped_frames:f.totalVideoFrames?""+(f.droppedVideoFrames||0)+"/"+f.totalVideoFrames:"-",stream_host:b.D?b.D.Qa:"",dimensions:e.clientWidth+"x"+e.clientHeight+(1<r?"*"+r:""),bandwidth_kbps:l.toFixed(0)+" Kbps",buffer_health_seconds:n.toFixed(2)+" s",drm_style:p?"":"display:none",drm:p,host_style:v,bandwidth_style:v,
network_activity_style:v,network_activity_bytes:m.toFixed(0)+" KB",shader_info:d,shader_info_style:d?"":"display:none",playback_categories:""};l=this.C.L.getVolume();m=xP(c);l=Math.round(l)+"% / "+Math.round(l*m)+"%";m=c.relativeLoudness.toFixed(1);(0,window.isFinite)(m)&&(l+=" (content loudness "+m+"dB)");f.volume=l;f.resolution=e.videoWidth+"x"+e.videoHeight;if(c.Ga){e=c.Ga.video.fps;1<e&&(f.resolution+="@"+e);(e=g.mT(b))&&e.video&&(f.resolution+=" / "+e.video.width+"x"+e.video.height,1<e.video.fps&&
(f.resolution+="@"+e.video.fps));f.codecs=Ova(c.Ga);if(e=c.Ac)e=c.Ga,e=!(e.audio&&e.video);e&&(f.codecs+=" / "+Ova(c.Ac));c.Ga.video.A||c.Ga.video.primaries?(e=c.Ga.video.A||"unknown","smpte2084"==e?e+=" (PQ)":"arib-std-b67"==e&&(e+=" (HLG)"),f.color=e+" / "+(c.Ga.video.primaries||"unknown"),f.color_style=""):f.color_style="display:none"}if(c.fq)f.live_mode="Post-Live"+(gP(c)?" Manifestless":"");else if(e=c.Ma,f.live_latency_style=e?"":"display:none",f.live_mode_style=e?"":"display:none",e){e=NS(k,
"livelatency");f.live_latency_secs=e.toFixed(2)+"s";l=gP(c)?"Manifestless, ":"";m="Uncertain";if(0<=e&&120>e)if(c.latencyClass&&"UNKNOWN"!=c.latencyClass)switch(c.latencyClass){case "NORMAL":m="Optimized for Normal Latency";break;case "LOW":m="Optimized for Low Latency";break;case "ULTRALOW":m="Optimized for Ultra Low Latency";break;default:m="Unknown Latency Setting"}else m=c.isLowLatencyLiveStream?"Optimized for Low Latency":"Optimized for Smooth Streaming";f.live_mode=l+m}b.O.isActive()&&(f.playback_categories+=
"Gapless ");f.playback_categories_style=f.playback_categories?"":"display:none";s_(this.D,MS(k,"bandwidth"));s_(this.H,MS(k,"networkactivity"));s_(this.G,MS(k,"livelatency"));s_(this.F,MS(k,"bufferhealth"));this.update(f);a=25<g.tG()-a?5E3:500;this.B.start(a)};g.t(u_,g.L);g.h=u_.prototype;g.h.dS=function(){w_(this)||g.L_(this,5)};
g.h.GU=function(a){w_(this)||(owa(this),QP(a.B)&&pX(this))};
g.h.getVideoData=function(){return this.B.getVideoData()};
g.h.Cp=function(){return this.oa};
g.h.Td=function(){var a=this.D.Xg(),b=this.D.Kc;b&&g.Ea(a,b.Xg());a.fs=this.A.isFullscreen();a.volume=Math.round(this.L.getVolume());a.mos=this.L.isMuted()?1:0;if(this.o.experiments.o("html5_enable_embedded_player_visibility_signals")&&this.o.o&&(this.td&&(b=this.td,b=null==b.A?null:Math.round(100*b.A)/100,null!=b&&(a.inview=b)),b=this.H.Ua(),0<b.height&&0<b.width)){b=[Math.round(b.height),Math.round(b.width)];var c=g.pN();1<c&&b.push(c);a.size=b.join(":")}return a};
g.h.getCurrentTime=function(a,b){b=void 0===b?!0:b;if(3==iU(this))return g.WT(this.D).getCurrentTime();var c=g.Y(this,a);return c?b?(c=Zva(this,c),O_(this,c.getCurrentTime(),c)):c.getCurrentTime():0};
g.h.getDuration=function(a,b){var c=g.Y(this,a);return c?void 0===b||b?(c=G_(this,c),O_(this,c.getDuration(),c)):c.getDuration():0};
g.h.bc=function(a){a=g.Y(this,a);if(!a)return 0;a=G_(this,a);return O_(this,a.bc(),a)};
g.h.YN=function(a){switch(a.type){case "loadedmetadata":NO("fvb","")||(0,g.lQ)("fvb",void 0,"");OO("fvb");this.fb.start();break;case "loadstart":NO("gv","")||(0,g.lQ)("gv",void 0,"");OO("gv");break;case "progress":case "timeupdate":!NO("l2s","")&&2<=XI(a.target.dg())&&(0,g.lQ)("l2s",void 0,"");break;case "playing":g.RH&&this.fb.start();if(g.gN(this.o))a=!1;else{var b=this.D.ee;a="none"==this.F.tn("display")||0==this.F.pn().tf();var c=cP(this.B.getVideoData());b=!q_(this.H)||b||c||this.o.Ch;a=a&&!b}a&&
(this.B.Jb("hidden","1",!0),this.getVideoData().Ag||(WZ(this,"html5_new_elem_on_hidden")?(this.getVideoData().Ag=1,this.EE(null),zT(g.Y(this))):e0(this,"hidden",!0)))}};
g.h.IT=function(a,b){this.A.za("onLoadProgress",b)};
g.h.MV=function(){this.A.V("playbackstalledatstart")};
g.h.ZN=function(a,b){this.A.za("onVideoProgress",b)};
g.h.bT=function(){this.A.za("onDompaused")};
g.h.UU=function(){this.L.V("progresssync")};
g.h.fS=function(a){if(1==iU(this)){0<VP(a,1)&&!g.W(a.state,64)&&kX(this).Ma&&xT(this.C)&&1<this.A.Pc()&&N_(this,1,!0);0<VP(a,2)&&C_(this);if(g.W(a.state,128)){var b=a.state;V_(this);b=b.o;this.A.za("onError",Dxa[b.errorCode]||5);this.A.za("onDetailedError",b);6048E5<g.tG()-this.o.Fg&&this.A.za("onReloadRequired")}a.state.sb()&&!g.SP(a.state)&&!NO("pbresume","ad_to_video")&&NO("_start","ad_to_video")&&(b=this.getVideoData(),(0,g.mQ)("cpn",b.clientPlaybackNonce,"ad_to_video"),b.videoId&&(0,g.mQ)("docid",
b.videoId,"ad_to_video"),b.playbackId&&(0,g.mQ)("plid",b.playbackId,"ad_to_video"),(0,g.lQ)("pbresume",void 0,"ad_to_video"));this.A.V("applicationplayerstatechange",a)}};
g.h.fF=function(a){3!=iU(this)&&this.A.V("presentingplayerstatechange",a)};
g.h.WN=function(a){F_(this,TP(a.state));g.W(a.state,1024)&&this.A.app.ba&&(fI(this,{muted:!1,volume:this.O.volume},!1),M_(this,!1))};
g.h.NU=function(a){a.state.sb()&&!g.SP(a.state)&&(Dta(this.D),g.UF(this.rd))};
g.h.cS=function(a){"newdata"==a&&iwa(this)};
g.h.hS=function(){this.A.za("onPlaybackAudioChange",this.A.getAudioTrack().Mb.name)};
g.h.iW=function(a){var b=this.B.getVideoData();a==b&&this.A.za("onPlaybackQualityChange",a.Ga.video.quality)};
g.h.vv=function(a,b,c){WZ(this,"html5_app_oauth_update_killswitch")||b!=this.C||(this.o.Va=c.oauthToken);if("newdata"==a)zX(this.D,2),this.A.V("videoplayerreset",b);else{if(!this.F)return;if("dataloaded"==a)if(this.B==this.C){if(b.F.uh(c.tc),!this.C.B.isError()){var d=w_(this);kX(this).Pb();d&&g.L_(this,6);$va(this);d||(d=this.D.Kc)&&!d.created&&this.D.T.getVideoData(1).adModule&&d.create()}}else $va(this);if(1==b.getPlayerType()&&(this.o.K&&swa(this),this.getVideoData().Ma&&!this.o.Ko&&g.aT(this.C,
"html5.unsupportedlive","YTP_DEVICE_FALLBACK",void 0),c.Pb())){if(c.Xq||c.ov||c.Se.focEnabled||c.Se.rmktEnabled||this.getVideoData().lz)d=this.getVideoData(),S_(this,"part2viewed",1,0x8000000000000),S_(this,"engagedview",Math.max(1,1E3*d.Zf),0x8000000000000),d.Ma||(d=1E3*d.lengthSeconds,S_(this,"videoplaytime25",.25*d,d),S_(this,"videoplaytime50",.5*d,d),S_(this,"videoplaytime75",.75*d,d),S_(this,"videoplaytime100",d,0x8000000000000),S_(this,"conversionview",d,0x8000000000000));c.chapterMarkers.length&&
kwa(this)}this.A.V("videodatachange",a,c,b.getPlayerType())}this.o.Lb&&this.A.za("onVideoDataChange",{type:a,playertype:b.getPlayerType()});a=c.clientScreenNonce;c=c.rootVeType;if(a&&c){if(b=this.ka,b.A?a!=g.mH():a!=b.D)b.A?(oH(a,c),Nva(b)):(g.qU(b,"onScreenChanged",{csn:a,root_ve_type:c}),b.B.length&&g.qU(b,"onLogVesShown",{ids:b.B}),b.F=g.Va(b.B),b.D=a)}else Nva(this.ka)};
g.h.Uo=function(){I_(this,null);this.A.za("onPlaylistUpdate")};
g.h.iE=function(a){var b=a.getId(),c=kX(this);if("part2viewed"==b)c.sF&&g.TE(c.sF),c.ov&&g.TE(c.ov);else if("conversionview"==b){var d=this.C;d.C&&Zma(d.C)}else"engagedview"==b&&g.TE(c.Xq);if(c.Yq){d=c.Yq;var e={label:a.getId()};if(this.o.experiments.o("send_pyv_ad_mt_and_abandon_pings")){var f=1E3*this.getCurrentTime();e.ad_mt=Math.round(Math.max(0,f)).toString()}d=g.vE(d,e);g.TE(d)}switch(b){case "videoplaytime25":c.pC&&g.TE(c.pC);c.uF&&g.TE(c.uF);break;case "videoplaytime50":c.qC&&g.TE(c.qC);c.vF&&
g.TE(c.vF);break;case "videoplaytime75":c.rC&&g.TE(c.rC);c.wF&&g.TE(c.wF);break;case "videoplaytime100":c.oC&&g.TE(c.oC),c.tF&&g.TE(c.tF)}(b=this.getVideoData().lz)&&b[a.getId()]&&(c=b[a.getId()],g.TE(c,void 0,GH(c)||HH(c)||FH(c)),b=b[a.getId()+"gaia"],g.TE(b,void 0,GH(b)||HH(b)||FH(b)));this.C.H.C(a)};
g.h.isPeggedToLive=function(a,b){b=void 0===b?!1:b;var c=g.Y(this,a);return c?xT(G_(this,c),void 0,b):!1};
g.h.XN=function(a,b){var c=a.getVideoData();if(1==this.W||2==this.W)c.startSeconds=b;2==this.W?K_(this):this.A.V("seekto",b)};
g.h.UR=function(){this.A.V("airplayactivechange")};
g.h.VR=function(){this.A.V("airplayavailabilitychange")};
g.h.oS=function(){this.A.V("beginseeking")};
g.h.gT=function(){this.A.V("endseeking")};
g.h.getStoryboardFormat=function(a){return(a=g.Y(this,a))?G_(this,a).getVideoData().getStoryboardFormat():null};
g.h.af=function(a){return(a=g.Y(this,a))?G_(this,a).getVideoData().af():null};
g.h.Mi=function(){if(this.J){var a=this.J.getVideoData(),b=this.B.getVideoData();if(a.Pa&&b.Pa)if(tva(this.B,this.J,XZ(this),this.o)){if(this.F.K=!0,a=this.F.qk(),a.o){this.B.getVideoData();this.J.getVideoData();T_(this);b=this.B.O.o;var c=b+XZ(this)/1E3;WS(this.B,b,c);WS(this.J,c,window.Infinity);rT(this.J,a);this.J.Jb("gapless",this.B.getVideoData().clientPlaybackNonce)}}else T_(this)}else T_(this)};
g.h.YU=function(){wva(this)};
g.h.uV=function(){"picture-in-picture"==this.F.na().webkitPresentationMode?KS(this.K,!0):KS(this.K,!1)};
g.h.Iw=function(){var a=this.G.ab();if(a){var b=this.getVideoData();b.Rn||!this.pa?(b=b.Xh,a=a_(this,a),b&&W_(this,a)):X_(this,a)}this.A.za("onPlaylistUpdate")};
g.h.aS=function(a){this.A.za("onCueRangeEnter",a.getId())};
g.h.bS=function(a){this.A.za("onCueRangeExit",a.getId())};
g.h.eS=function(){iU(this);this.sa||(this.sa=tO(this.sE,this));cna(this.oa,this.B.getVideoData(),zta(this));H_(this)&&this.o.o&&"embedded"==sP(kX(this))&&this.xe&&.01>Math.random()&&eI(this.T,"autoplayTriggered",{intentional:this.Pd});this.xe=!1;var a=g.mH();this.o.experiments.o("log_playback_associated_web")&&a&&eI(this.T,"playbackAssociated",{cpn:this.getVideoData().clientPlaybackNonce,csn:a})};
g.h.zT=function(){this.L.V("internalAbandon")};
g.h.sE=function(a){a=a.o;if(!(0,window.isNaN)(a)&&0<a&&this.C){var b=this.C;b.C&&0<a&&(b.C.A.A.aft=[a])}};
g.h.hU=function(){this.zw()};
g.h.iU=function(){this.zw()};
g.h.zw=function(){this.o.Lb&&this.B?this.A.za("onApiChange",this.B.getPlayerType()):this.A.za("onApiChange")};
g.h.eU=function(){var a=this.F;a={volume:g.ld(Math.floor(100*a.getVolume()),0,100),muted:a.qq()};a.muted||M_(this,!1);this.O=g.cc(a);this.A.za("onVolumeChange",a)};
g.h.oT=function(){d0(this,a0(this)?1:0);var a=g.uF();pwa(this,!!a&&g.ae(this.H.element,a))};
g.h.isFullscreen=function(){return this.K.isFullscreen()};
g.h.nV=function(){2!=c0(this)&&d0(this,a0(this)?1:0);this.o.Fi&&this.getVideoData()&&!this.getVideoData().backgroundable&&this.F&&.33>window.outerHeight*window.outerWidth/(window.screen.width*window.screen.height)&&this.F.nn()};
g.h.HT=function(a){3!=iU(this)&&this.A.V("liveviewshift",a)};
g.h.isWidescreen=function(){return this.qd};
g.h.mV=function(a){var b=g.o_(this.H);g.lh(this.we,b)||(this.we=b,this.B&&wT(this.B),this.C&&this.C!=this.B&&wT(this.C),1==c0(this)&&this.Da&&pwa(this,!0));this.Wc&&g.td(this.Wc,a)||(this.A.V("appresize",a),this.Wc=a)};
g.h.Zc=function(){return this.L.Zc()};
g.h.GV=function(){iU(this);e0(this,"signature",void 0,!0)};
g.h.EE=function(){A_(this);z_(this)};
g.h.kV=function(a){rT(a,this.F.qk())};
g.h.MS=function(){this.A.za("CONNECTION_ISSUE")};
g.h.VN=function(a){this.A.V("heartbeatparams",a)};
g.h.tU=function(){var a=g.Y(this);a&&g.Nqa(a,!fU(this.A))};
g.h.KT=function(){this.A.za("onLoadedMetadata")};
g.h.dT=function(){this.A.za("onDrmOutputRestricted")};
g.h.Y=function(){this.D.dispose();this.Va.dispose();this.J&&this.J.dispose();this.C.dispose();A_(this);g.mf(g.Pb(this.sd),this.G);g.sO(this.sa);this.sa=0;g.L.prototype.Y.call(this)};
var r1={};g.ua("yt.player.Application.create",function(a,b){try{var c=g.w(a)?a:"player"+g.Ca(a),d=r1[c];if(d){try{d.dispose()}catch(f){g.gE(f)}r1[c]=null}var e=new u_(a,b);g.kf(e,function(){r1[c]=null});
return r1[c]=e}catch(f){throw g.gE(f),f.stack;}},void 0);
var Zxa=g.y("ytcsi.tick");Zxa&&Zxa("pe");g0.prototype.o=4;g0.prototype.set=function(a,b){b=b||0;for(var c=0;c<a.length&&b+c<this.length;c++)this[b+c]=a[c]};
g0.prototype.toString=Array.prototype.join;"undefined"==typeof window.Float32Array&&(g0.BYTES_PER_ELEMENT=4,g0.prototype.BYTES_PER_ELEMENT=g0.prototype.o,g0.prototype.set=g0.prototype.set,g0.prototype.toString=g0.prototype.toString,g.ua("Float32Array",g0,void 0));h0.prototype.o=8;h0.prototype.set=function(a,b){b=b||0;for(var c=0;c<a.length&&b+c<this.length;c++)this[b+c]=a[c]};
h0.prototype.toString=Array.prototype.join;if("undefined"==typeof window.Float64Array){try{h0.BYTES_PER_ELEMENT=8}catch(a){}h0.prototype.BYTES_PER_ELEMENT=h0.prototype.o;h0.prototype.set=h0.prototype.set;h0.prototype.toString=h0.prototype.toString;g.ua("Float64Array",h0,void 0)};})(_yt_player);

/*
     FILE ARCHIVED ON 11:03:32 Oct 27, 2018 AND RETRIEVED FROM THE
     INTERNET ARCHIVE ON 18:11:39 Apr 23, 2019.
     JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE.

     ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C.
     SECTION 108(a)(3)).
*/
/*
playback timings (ms):
  LoadShardBlock: 117.87 (3)
  esindex: 38.405
  captures_list: 185.462
  CDXLines.iter: 12.65 (3)
  PetaboxLoader3.datanode: 139.075 (5)
  exclusion.robots: 0.259
  exclusion.robots.policy: 0.239
  RedisCDXSource: 5.207
  PetaboxLoader3.resolve: 64.842 (2)
  load_resource: 191.251
*/