var _yt_player={};(function(g){var window=this;var ba,da,ka,ia,la,pa,qa,ra,xa,caa,daa,Ga,Ha,eaa,Ma,Qa,Xa,$a,eb,ab,faa,bb,gaa,haa,lb,ob,rb,paa,qaa,sb,tb,yb,Bb,Cb,Db,taa,Fb,Hb,Kb,Nb,Rb,Tb,Ub,Xb,Yb,dc,fc,ec,hc,jc,kc,lc,vaa,mc,rc,sc,wc,yc,Ac,Bc,Cc,Ec,Jc,Hc,Lc,Mc,Oc,Eaa,Tc,Faa,Sc,Vc,Wc,cd,fd,vd,zd,Ad,Bd,Hd,Ld,Pd,Rd,Sd,Td,Laa,jd,Paa,ie,je,he,de,me,oe,le,pe,qe,re,se,te,ue,ve,we,Ce,ze,Ae,De,Qaa,Be,Ee,Raa,Fe,Ie,He,Je,Ke,Me,Le,Ne,Oe,Pe,Qe,Re,Se,Te,Ue,We,Ge,Xe,bf,df,ef,Xaa,hf,jf,kf,mf,qf,Yaa,nf,tf,Af,zf,$aa,pf,Df,Ef,Ff,Gf,aba,If,Kf,bba,Lf,Mf,cba,Rf,Tf,Uf,
Xf,Zf,$f,ag,cg,dg,eba,gg,jg,fg,hg,Vf,bg,gba,mg,kg,lg,og,fba,ng,dba,tg,ug,hba,iba,jba,kba,lba,wg,yg,Ag,Bg,Hg,Ig,Jg,Kg,Lg,Mg,Og,Qg,Sg,Ug,pba,Vg,Wg,Yg,Zg,qba,fh,gh,hh,ih,kh,lh,mh,qh,rh,vh,wh,Bh,th,rba,Mh,Ph,Rh,Sh,Th,sba,tba,Uh,vba,Vh,Wh,xba,yba,zba,Yh,Zh,$h,ai,bi,di,hi,ji,ki,li,mi,ni,oi,Cba,pi,qi,ri,si,Dba,Eba,Fba,ti,yi,zi,Ai,Di,Bi,Iba,Ci,Ei,Fi,Hi,Gi,Ii,Jba,Ji,Mi,Ni,Oi,Qi,Si,Vi,Yi,Xi,Wi,Zi,aj,bj,cj,dj,fj,gj,hj,ij,jj,Lba,Mba,kj,lj,mj,nj,oj,ej,qj,sj,rj,tj,vj,wj,xj,yj,aca,Aj,uj,Bj,Cj,Dj,Ej,bca,cca,Fj,Gj,
dca,Hj,Jj,Lj,eca,fca,gca,Mj,Pj,Qj,Rj,Tj,Vj,Wj,Xj,Yj,Zj,Sj,Uj,hca,ak,bk,ck,dk,fk,ek,ica,jca,ik,mca,kk,lca,nca,lk,oca,pca,jk,mk,qca,tca,sca,uca,nk,ok,pk,rk,vca,tk,wca,uk,xca,vk,wk,xk,yca,yk,zca,zk,Ak,Bk,Aca,Ck,Ek,Fk,Bca,Gk,Hk,Ik,Cca,Kk,Jk,Dca,Mk,Lk,Pk,Ok,Gca,Eca,Jca,Ica,Rk,Kca,Lca,Mca,Oca,Nca,Sk,Pca,Tk,Tca,Uca,Vca,Qca,Xca,Wca,Sca,Uk,Wk,Xk,Yk,Zk,al,Zca,cl,Yca,dl,ada,el,fl,bl,bda,cda,dda,eda,$ca,fda,gl,gda,hl,jl,kl,ll,il,ol,ml,pl,ida,jda,ql,rl,sl,kda,tl,ul,vl,wl,lda,xl,yl,mda,nda,Fl,Gl,Al,Il,Jl,oda,pda,
rda,qda,sda,Ll,tda,vda,wda,Nl,Ol,Pl,Rl,Bda,xda,Vl,Wl,Xl,Yl,Zl,Dk,Cda,$l,am,bm,Dda,dm,em,fm,Eda,Fda,Gda,Hda,Ida,gm,Lda,im,hm,jm,km,lm,Mda,Nda,mm,qm,rm,pm,sm,tm,Oda,zm,Am,Cm,Rda,Fm,Hm,Jm,Im,Pda,Mm,Lm,Pm,Om,Rm,Sda,Sm,Vm,Wm,Xm,Ym,Zm,Uda,Vda,an,Wda,bn,cn,$m,Xda,dn,en,fn,gn,hn,Yda,$da,mn,nn,aea,bea,jn,Zda,kn,pn,qn,on,dea,sn,rn,fea,un,tn,vn,wn,yn,zn,xn,Bn,iea,Cn,En,Fn,Gn,Hn,Dn,In,Jn,Kn,Mn,Pn,Qn,Tn,Wn,Rn,Yn,$n,ao,bo,co,eo,fo,go,ho,io,ko,mo,lo,no,oo,po,so,kea,ro,to,uo,vo,xo,yo,zo,Ao,lea,mea,Bo,Co,Fo,Io,Ho,
rea,Ko,Eo,Lo,sea,No,Mo,tea,Oo,Qo,uea,So,Ro,To,Uo,Vo,vea,Wo,Xo,Yo,Zo,$o,ap,dp,ep,fp,gp,hp,ip,Q,np,op,wea,R,sp,Aea,up,Ap,Bp,Dp,rp,zp,xp,Gea,Hea,Iea,Jea,Ep,Fp,Gp,Hp,Jp,Kp,Ip,Kea,Np,Op,Pp,Qp,Lea,Rp,Sp,Tp,Up,Wp,Vp,Yp,Zp,Mea,Nea,$p,cq,aq,bq,dq,eq,Pea,Qea,fq,gq,Rea,hq,pq,Tea,rq,sq,tq,uq,Vea,vq,Bq,Cq,wq,Dq,Eq,Zea,xq,Yea,yq,zq,Aq,Xea,Lq,Mq,Nq,Rq,bfa,cfa,Sq,efa,ffa,Uq,ifa,Wq,dfa,Xq,Yq,Zq,br,jfa,cr,dr,er,kfa,gr,hr,ir,jr,lfa,lr,kr,mfa,fr,mr,Go,nr,or,nfa,ofa,pfa,qfa,pr,rfa,sr,wr,zr,Ar,Mp,Lp,sfa,ufa,vfa,wfa,Cr,
xfa,Dr,yfa,zfa,Afa,Bfa,Cfa,Dfa,Efa,Er,Ir,Gr,Jr,Fr,Kr,Ffa,Gfa,Hfa,Ifa,Lr,Kfa,Nr,Qr,Mfa,Tr,Vr,Sr,Wr,Xr,Yr,Zr,$r,as,bs,cs,ds,es,hs,Pfa,gs,fs,is,js,ks,ls,ns,Iq,Qfa,ws,xs,ys,zs,os,Vfa,As,Bs,Cs,Ds,Kq,Gs,Is,Fq,Js,Ks,Ls,Hq,Gq,Hs,Ms,Ns,Os,Ps,Qs,Rs,Ss,Yfa,Zfa,Xfa,$fa,Fs,aga,Zs,dga,$s,ms,at,bt,ct,dt,ega,ts,Es,Ys,et,ft,gt,Xs,Jq,rs,it,vs,jt,kt,ps,us,Ws,Wfa,lt,mt,nt,gga,ot,hga,pt,qt,rt,ut,vt,wt,kga,xt,zt,At,Bt,Ct,Dt,Et,Gt,Ht,It,Ft,Jt,Kt,Lt,Mt,Nt,Ot,Qt,nga,pga,rga,Pt,sga,tga,uga,St,Rt,Tt,Vt,Wt,bu,au,cu,du,vga,iu,
ju,lu,ku,mu,nu,ou,pu,qu,wga,ru,xga,tu,uu,vu,wu,yu,zu,yga,xu,Au,Bu,zga,Cu,Du,Aga,Eu,Fu,Gu,Hu,Iu,Ju,Bga,Lu,Mu,Cga,Ou,Pu,Dga,Tu,Uu,Vu,Wu,Xu,Yu,Zu,Ega,$u,av,bv,dv,cv,Fga,ev,fv,gv,hv,Gga,iv,jv,Iga,Hga,kv,lv,mv,nv,ov,pv,qv,rv,tv,uv,vv,wv,xv,yv,zv,Av,Mr,Bv,Jga,Ev,Fv,Gv,Hv,Iv,Dv,Jv,Kv,Lv,Us,qr,yr,Ts,Vs,Rv,Or,xr,Qv,ur,rr,tr,vr,Tv,Pr,Pv,Wv,Xv,Zv,Kga,$v,aw,bw,cw,dw,ew,fw,gw,hw,iw,jw,kw,lw,mw,nw,Lga,ow,pw,qw,rw,tw,uw,Mga,vw,ww,xw,yw,zw,Aw,Cw,Dw,Oga,Ew,Pga,Nga,Rga,Fw,Sga,Hw,Bw,Qga,Wga,Vga,Uga,Gw,Iw,Jw,Kw,Mw,Nw,
Ow,Pw,Qw,Rw,Sw,Tw,Uw,Vw,Xw,Zw,$w,ax,Yw,cx,Xga,Yga,fx,dx,jx,ex,kx,ix,$ga,aha,mx,nx,sx,bha,ox,px,rx,qx,vx,wx,ux,xx,eha,yx,zx,fha,gha,Ax,Bx,Cx,Ex,hha,Dx,Hx,Fx,iha,jha,kha,Ix,Jx,Kx,Lx,Mx,Nx,Ox,Px,Qx,Rx,Sx,Tx,Ux,Vx,Wx,Xx,oha,nha,Zx,Yx,pha,by,qha,cy,dy,rha,ey,mha,fy,iy,tha,sha,jy,hy,my,vha,ny,wha,oy,ky,py,qy,ry,yha,zha,sy,ty,Aha,uy,vy,wy,ay,Bha,yy,zy,$x,Cha,Ay,By,Cy,Dy,Dha,Ey,Fy,Gy,Iy,Jy,Hy,Hha,Eha,Fha,Ly,Oy,Py,Ny,My,Ky,Qy,Sy,Ty,Vy,Xy,Uy,Yy,Zy,Kha,az,$y,bz,Lha,Mha,cz,dz,ez,fz,gz,hz,iz,jz,kz,Oha,lz,Qha,
rz,mz,nz,oz,yz,sz,uz,tz,Bz,wz,vz,zz,xz,Sha,qz,pz,Cz,Tha,Dz,Pha,Ez,Fz,Gz,Vha,Hz,Kz,Lz,Nz,Mz,Oz,Pz,Qz,Xha,Wha,Yha,Sz,Zha,$ha,Tz,Uz,Rz,aia,Vz,Wz,bia,Xz,cia,dia,eia,fia,Yz,Zz,$z,bA,cA,dA,aA,fA,gia,hia,eA,gA,hA,iA,jA,kA,iia,lA,oA,qA,pA,rA,sA,tA,vA,uA,xA,wA,yA,jia,CA,DA,EA,FA,GA,HA,IA,JA,KA,LA,MA,OA,PA,NA,QA,RA,SA,kia,TA,lia,WA,XA,UA,VA,ZA,cB,$A,aB,YA,bB,mia,dB,eB,fB,gB,iB,hB,nia,kB,jB,pia,qia,oia,lB,ria,sia,tia,uia,mB,wia,xia,yia,Tq,zia,Aia,pB,Cia,qB,rB,sB,tB,uB,vB,wB,xB,zB,AB,BB,HB,GB,LB,MB,EB,OB,PB,
QB,RB,DB,FB,IB,TB,Jia,UB,Kia,VB,WB,XB,YB,ZB,$B,Lia,aC,Mia,Nia,bC,Oia,Pia,cC,dC,Qia,Sia,Tia,eC,Uia,gC,iC,Yia,fC,Zia,jC,Bia,kC,aja,bja,lC,cja,dja,nC,qC,eja,sC,rC,tC,fja,Rha,uC,vC,yC,zC,AC,BC,CC,hja,DC,EC,FC,GC,wC,jja,kja,JC,lja,KC,LC,MC,IC,NC,HC,OC,mja,Az,oja,Wy,nja,PC,QC,RC,SC,TC,pja,UC,qja,YC,ZC,$C,aD,rja,dD,eD,fD,gD,iD,jD,kD,lD,mD,oD,pD,qD,rD,tja,sD,wja,wD,xD,xja,zD,AD,CD,ED,GD,FD,HD,BD,DD,KD,JD,LD,MD,zja,ND,Aja,SD,TD,Bja,$D,bE,dE,gE,hE,Cja,jE,Dja,kE,lE,Eja,pE,Fja,Gja,nE,uE,wE,xE,yE,zE,AE,BE,CE,
tE,DE,sE,FE,GE,Hja,JE,IE,LE,ME,NE,PE,OE,Jja,SE,TE,VE,UE,WE,XE,Kja,YE,dF,eF,hF,iF,Lja,fF,jF,kF,lF,mF,Nja,Oja,tF,uF,vF,AF,DF,FF,KF,IF,MF,LF,OF,Rja,aG,bG,ZF,Uja,lG,jG,oG,rG,qG,pG,Vja,zG,BG,AG,Wja,HG,IG,Xja,TG,UG,VG,WG,YG,XG,ZG,$G,aH,bH,cH,dH,gH,hH,iH,jH,kH,nH,oH,xH,vH,yH,wH,zH,BH,CH,DH,FH,JH,KH,gka,NH,OH,PH,LH,SH,RH,TH,UH,WH,XH,YH,$H,aI,bI,ika,cI,dI,eI,fI,gI,hI,iI,jI,kI,lI,mI,nI,oI,jka,pI,qI,rI,sI,kka,uI,tI,vI,wI,xI,yI,AI,lka,DI,pka,OI,EI,NI,QI,RI,SI,TI,UI,VI,XI,YI,ZI,$I,bJ,cJ,dJ,eJ,fJ,gJ,hJ,iJ,jJ,kJ,
lJ,mJ,nJ,pJ,oJ,qJ,rJ,rka,tJ,wJ,ska,sJ,AJ,BJ,yJ,vJ,CJ,DJ,FJ,xJ,zJ,GJ,HJ,IJ,JJ,LJ,MJ,OJ,NJ,tka,PJ,QJ,RJ,uka,TJ,SJ,UJ,VJ,WJ,XJ,YJ,cK,eK,vka,$J,fK,hK,gK,dK,kK,wka,lK,mK,ZJ,aK,bK,jK,iK,nK,oK,pK,qK,rK,sK,tK,uK,vK,xka,yka,xK,AK,BK,DK,zK,zka,EK,FK,GK,HK,Aka,Bka,IK,Cka,KK,JK,MK,OK,PK,QK,SK,Dka,TK,UK,VK,WK,YK,ZK,XK,$K,aL,Eka,bL,cL,dL,eL,fL,Fka,Gka,Kka,Lka,Hka,Ika,Jka,gL,hL,Mka,jL,kL,mL,Nka,nL,qL,rL,sL,Oka,uL,vL,Ska,Rka,Qka,wL,Pka,Tka,xL,AL,Vka,Wka,BL,CL,Xka,DL,EL,Yka,FL,GL,Zka,$ka,HL,yL,Uka,ala,KL,ML,NL,PL,
QL,LL,SL,TL,UL,VL,bla,aM,jla,$L,ZL,bM,kla,dM,mla,ola,nla,pla,qla,fM,hM,gM,iM,rla,kM,lM,mM,nM,oM,pM,jM,qM,rM,sM,tM,uM,vM,wM,xM,zM,AM,BM,RM,SM,TM,UM,VM,xla,WM,YM,JM,PM,bN,yla,IM,HM,dN,zla,NM,fN,Ala,gN,Bla,iN,hN,Cla,Dla,jN,Ela,kN,lN,mN,nN,Fla,oN,rN,tN,vN,uN,wN,sN,xN,yN,Hla,AN,Jla,BN,MN,EN,Kla,ON,Lla,PN,QN,TN,YN,cO,dO,VN,fO,gO,eO,jO,kO,XN,oO,UN,WN,qO,Qla,Rla,bO,ZN,hO,$N,rO,RN,lO,SN,Tla,aO,nO,sO,Vla,yO,zO,bma,AO,BO,CO,DO,FO,HO,cma,KO,MO,NO,QO,RO,JO,dma,Xla,Yla,Zla,Wla,UO,VO,GO,fma,XO,YO,ZO,$O,aP,bP,xO,
$la,cP,dP,fP,hP,iP,jP,gma,kP,mP,oP,eP,qP,rP,sP,uP,vP,jma,tP,wP,xP,yP,zP,AP,kma,BP,CP,EP,FP,GP,HP,MP,OP,QP,TP,SP,UP,VP,mma,WP,RP,XP,YP,nma,$P,ZP,bQ,cQ,dQ,eQ,fQ,iQ,jQ,hQ,gQ,kQ,lQ,mQ,nQ,qQ,sQ,pma,xQ,yQ,zQ,AQ,qma,rma,vQ,BQ,CQ,DQ,EQ,sma,FQ,GQ,IQ,KQ,LQ,wma,vma,uma,MQ,OQ,NQ,PQ,QQ,RQ,JQ,HQ,tma,TQ,UQ,VQ,WQ,XQ,YQ,ZQ,$Q,aR,SQ,xma,yma,zma,bR,Ama,Bma,Cma,Dma,Ema,cR,dR,hR,gR,jR,eR,kR,lR,mR,fR,nR,iR,oR,tR,rR,sR,uR,wR,pR,vR,qR,xR,yR,Gma,zR,AR,BR,DR,ER,CR,GR,HR,FR,JR,Hma,IR,KR,LR,Ima,MR,Jma,NR,OR,PR,QR,Lma,Mma,RR,
SR,TR,Kma,UR,WR,VR,YR,XR,ZR,$R,bS,aS,eS,fS,hS,iS,dS,jS,kS,cS,lS,mS,nS,oS,gS,pS,qS,rS,Oma,Pma,uS,tS,Qma,sS,vS,Rma,Sma,Tma,BS,CS,DS,AS,wS,Uma,xS,yS,Vma,zS,Wma,Xma,Yma,ES,FS,GS,Zma,HS,$ma,LS,IS,KS,JS,ana,MS,bna,NS,OS,PS,QS,RS,cna,dna,ena,SS,US,VS,WS,ZS,$S,bT,cT,fT,dT,gT,hT,hna,gna,ina,nT,mT,oT,jT,kT,lT,pT,aT,fna,qT,rT,TS,sT,iT,tT,YS,uT,vT,jna,kna,lna,wT,mna,xT,yT,zT,AT,BT,nna,CT,DT,FT,ET,pna,HT,IT,GT,qna,rna,sna,tna,una,vna,wna,xna,JT,KT,LT,zna,Bna,Ana,NT,MT,Dna,Ena,Cna,Fna,Ina,Jna,Gna,Mna,QT,Nna,Hna,
Lna,Kna,OT,PT,ST,UT,Rna,WT,Qna,Sna,Tna,Una,Vna,TT,VT,Wna,Pna,XT,Yna,Zna,Xna,ZT,$T,aU,bU,cU,dU,fU,gU,mU,eoa,iU,nU,pU,rU,sU,uU,tU,eU,doa,goa,zU,foa,ioa,vU,loa,koa,DU,IU,moa,noa,BU,JU,ooa,$na,jU,EU,MU,toa,FU,voa,woa,yoa,xoa,uoa,yU,OU,wU,zoa,poa,roa,qoa,soa,QU,Boa,RU,kU,joa,Coa,PU,lU,Eoa,SU,HU,hU,Aoa,KU,TU,GU,NU,UU,Goa,Doa,xU,AU,VU,YU,eV,nV,xV,Koa,Loa,EV,Noa,Moa,HV,GV,Ooa,IV,Poa,JV,Qoa,Roa,Soa,Uoa,Voa,Xoa,Yoa,Zoa,$oa,apa,bpa,cpa,QV,epa,fpa,gpa,hpa,ipa,kpa,lpa,mpa,SV,WV,XV,YV,ZV,$V,aW,npa,cW,bW,dW,fW,
gW,ppa,hW,qpa,iW,jW,rpa,ypa,upa,vpa,xpa,wpa,spa,tpa,zpa,nW,oW,pW,Apa,Bpa,Cpa,Epa,Dpa,uW,wW,Fpa,xW,Gpa,Kpa,Lpa,yW,zW,Mpa,Npa,CW,Qpa,BW,DW,Ppa,EW,Opa,Rpa,Spa,FW,Tpa,GW,Upa,IW,HW,JW,LW,NW,PW,QW,Vpa,Xpa,Ypa,Zpa,RW,SW,TW,UW,VW,WW,XW,$pa,aqa,YW,ZW,bqa,$W,aX,bX,cqa,dqa,hqa,fqa,eqa,dX,gqa,eX,jqa,iqa,fX,kqa,gX,hX,lqa,mqa,nqa,lX,mX,nX,oqa,oX,qX,pqa,iX,pX,kX,jX,vX,wX,qqa,sX,rqa,uX,sqa,tqa,uqa,wqa,vqa,Aqa,zqa,xX,Bqa,zX,AX,BX,CX,DX,Cqa,Dqa,EX,FX,GX,Eqa,HX,JX,IX,KX,Gqa,Fqa,Hqa,Iqa,Jqa,Kqa,NX,OX,PX,Lqa,Mqa,QX,Oqa,
RX,Nqa,SX,Pqa,TX,UX,Qqa,Rqa,Tqa,Sqa,Uqa,VX,WX,Vqa,Wqa,Xqa,Zqa,YX,ZX,$X,XX,Yqa,aY,LX,rX,ara,bY,cY,eY,lW,kW,tX,gY,hY,bra,iY,jY,dra,mW,era,lY,MX,fra,oY,Wpa,OW,pY,dY,tW,ira,hra,qY,kra,sY,tY,lra,vY,mra,yY,zY,nra,ora,xY,AY,CY,DY,pra,qra,EY,sra,FY,ura,tra,GY,vra,wra,HY,yra,IY,KY,JY,LY,zra,Ara,NY,MY,OY,Bra,PY,QY,Dra,Cra,RY,SY,TY,Era,Fra,VY,UY,XY,Gra,YY,Hra,Kra,cZ,bZ,Lra,fZ,gZ,hZ,iZ,jZ,kZ,lZ,Nra,Mra,Ora,mZ,Pra,Qra,nZ,Sra,pZ,Rra,qZ,Tra,rZ,Vra,sZ,tZ,Wra,uZ,vZ,wZ,Xra,Yra,xZ,yZ,zZ,AZ,Zra,BZ,CZ,DZ,$ra,EZ,GZ,FZ,
HZ,asa,IZ,JZ,KZ,LZ,bsa,esa,MZ,csa,dsa,NZ,gsa,hsa,isa,PZ,msa,lsa,nsa,osa,psa,RZ,qsa,ssa,rsa,wsa,XZ,xsa,YZ,UZ,zsa,$Z,WZ,ZZ,usa,ysa,Asa,vsa,a_,d_,e_,f_,Bsa,g_,h_,i_,j_,Csa,k_,Dsa,l_,m_,n_,o_,p_,q_,Esa,r_,s_,t_,w_,v_,x_,y_,z_,Fsa,Gsa,A_,Isa,Jsa,Hsa,B_,C_,D_,Ksa,F_,Msa,Nsa,G_,J_,WY,Psa,Osa,I_,Qsa,OZ,Rsa,Tsa,Usa,Ssa,L_,Vsa,K_,M_,N_,O_,T_,R_,U_,S_,V_,Xsa,X_,Y_,Z_,Ysa,Zsa,$sa,ata,$_,d0,MW,bta,e0,f0,g0,h0,cta,i0,eta,dta,kta,n0,m0,o0,p0,j0,r0,lta,KW,mta,nta,s0,fY,ota,t0,hta,ita,rta,w0,k0,tta,A0,jta,B0,C0,wta,
v0,u0,E0,yta,z0,nY,G0,sta,F0,I0,K0,J0,L0,O0,zta,D0,xta,Ata,oV,gra,AH,Bta,y0,Cta,Q0,qV,kY,mY,Dta,H0,Eta,R0,Fta,Gta,gta,vta,uta,aa,fa,ea,aaa,ma,T0,gx,Jaa,Yc,Ca,baa;ba=function(a){return function(){return aa[a].apply(this,arguments)}};
g.ca=function(a,b){return aa[a]=b};
da=function(){da=function(){};
ea.Symbol||(ea.Symbol=aaa)};
ka=function(){da();var a=ea.Symbol.iterator;a||(a=ea.Symbol.iterator=ea.Symbol("iterator"));"function"!=typeof Array.prototype[a]&&fa(Array.prototype,a,{configurable:!0,writable:!0,value:function(){return ia(this)}});
ka=function(){}};
ia=function(a){var b=0;return la(function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}})};
la=function(a){ka();a={next:a};a[ea.Symbol.iterator]=function(){return this};
return a};
g.p=function(a){ka();var b=a[window.Symbol.iterator];return b?b.call(a):ia(a)};
g.t=function(a,b){a.prototype=ma(b.prototype);a.prototype.constructor=a;if(na)na(a,b);else for(var c in b)if("prototype"!=c)if(Object.defineProperties){var d=Object.getOwnPropertyDescriptor(b,c);d&&Object.defineProperty(a,c,d)}else a[c]=b[c];a.ca=b.prototype};
g.oa=function(a){if(!(a instanceof Array)){a=g.p(a);for(var b,c=[];!(b=a.next()).done;)c.push(b.value);a=c}return a};
pa=function(a,b){if(b){for(var c=ea,d=a.split("."),e=0;e<d.length-1;e++){var f=d[e];f in c||(c[f]={});c=c[f]}d=d[d.length-1];e=c[d];f=b(e);f!=e&&null!=f&&fa(c,d,{configurable:!0,writable:!0,value:f})}};
qa=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+""};
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.ta=function(a){return"boolean"==typeof a};
g.ua=function(a){return"number"==typeof a};
g.va=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.z=function(){};
g.wa=function(a){a.fd=void 0;a.getInstance=function(){return a.fd?a.fd:a.fd=new a}};
xa=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.ya=function(a){return"array"==xa(a)};
g.za=function(a){var b=xa(a);return"array"==b||"object"==b&&"number"==typeof a.length};
g.Aa=function(a){return"function"==xa(a)};
g.Ba=function(a){var b=typeof a;return"object"==b&&null!=a||"function"==b};
g.Da=function(a){return a[Ca]||(a[Ca]=++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.A=function(a,b,c){Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?g.A=caa:g.A=daa;return g.A.apply(null,arguments)};
g.Ea=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.Fa=function(a,b){for(var c in b)a[c]=b[c]};
Ga=function(a,b){b&&(a=a.replace(/\{\$([^}]+)}/g,function(a,d){return null!=b&&d in b?b[d]:a}));
return a};
g.B=function(a,b){function c(){}
c.prototype=b.prototype;a.ca=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.q4=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)}};
Ha=function(a){if(Error.captureStackTrace)Error.captureStackTrace(this,Ha);else{var b=Error().stack;b&&(this.stack=b)}a&&(this.message=String(a))};
g.Ia=function(a){return a[a.length-1]};
eaa=function(a,b){var c=0;(0,g.C)(a,function(a,e,f){b.call(void 0,a,e,f)&&++c},void 0);
return c};
g.Ka=function(a,b,c){b=g.Ja(a,b,c);return 0>b?null:g.w(a)?a.charAt(b):a[b]};
g.Ja=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};
Ma=function(a,b){var c=g.La(a,b,void 0);return 0>c?null:g.w(a)?a.charAt(c):a[c]};
g.La=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.Oa=function(a,b){return 0<=(0,g.Na)(a,b)};
g.Pa=function(a){return 0==a.length};
Qa=function(a){if(!g.ya(a))for(var b=a.length-1;0<=b;b--)delete a[b];a.length=0};
g.Ra=function(a,b){g.Oa(a,b)||a.push(b)};
g.Ta=function(a,b){var c=(0,g.Na)(a,b),d;(d=0<=c)&&g.Sa(a,c);return d};
g.Sa=function(a,b){Array.prototype.splice.call(a,b,1)};
g.Ua=function(a,b){var c=g.Ja(a,b,void 0);0<=c&&g.Sa(a,c)};
g.Va=function(a){return Array.prototype.concat.apply([],arguments)};
g.Wa=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[]};
Xa=function(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];if(g.za(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.Za=function(a,b,c,d){Array.prototype.splice.apply(a,g.Ya(arguments,1))};
g.Ya=function(a,b,c){return 2>=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)};
$a=function(a,b,c){function d(a){return g.Ba(a)?"o"+g.Da(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.cb=function(a,b,c){return ab(a,c||bb,!1,b)};
eb=function(a,b){return ab(a,b,!0,void 0,void 0)};
ab=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.fb=function(a,b){a.sort(b||bb)};
faa=function(a,b){var c=bb;g.fb(a,function(a,e){return c(b(a),b(e))})};
g.gb=function(a,b){if(!g.za(a)||!g.za(b)||a.length!=b.length)return!1;for(var c=a.length,d=gaa,e=0;e<c;e++)if(!d(a[e],b[e]))return!1;return!0};
bb=function(a,b){return a>b?1:a<b?-1:0};
gaa=function(a,b){return a===b};
g.ib=function(a,b,c){c=g.cb(a,b,c);0>c&&g.Za(a,-(c+1),0,b)};
g.jb=function(a,b,c){var d={};(0,g.C)(a,function(e,f){d[b.call(c,e,f,a)]=e});
return d};
haa=function(a){for(var b=[],c=0;c<a;c++)b[c]="";return b};
g.kb=function(a,b){return 0==a.lastIndexOf(b,0)};
lb=function(a,b){var c=a.length-b.length;return 0<=c&&a.indexOf(b,c)==c};
g.D=function(a){return/^[\s\xa0]*$/.test(a)};
g.nb=function(a){return(0,window.encodeURIComponent)(String(a))};
ob=function(a){return(0,window.decodeURIComponent)(a.replace(/\+/g," "))};
g.pb=function(a){if(!iaa.test(a))return a;-1!=a.indexOf("&")&&(a=a.replace(jaa,"&amp;"));-1!=a.indexOf("<")&&(a=a.replace(kaa,"&lt;"));-1!=a.indexOf(">")&&(a=a.replace(laa,"&gt;"));-1!=a.indexOf('"')&&(a=a.replace(maa,"&quot;"));-1!=a.indexOf("'")&&(a=a.replace(naa,"&#39;"));-1!=a.indexOf("\x00")&&(a=a.replace(oaa,"&#0;"));return a};
rb=function(a){return-1!=a.indexOf("&")?"document"in g.x?paa(a):qaa(a):a};
paa=function(a){var b={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"'};var c=g.x.document.createElement("div");return a.replace(raa,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})};
qaa=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}})};
sb=function(a,b){a.length>b&&(a=a.substring(0,b-3)+"...");return a};
tb=function(a,b){return-1!=a.toLowerCase().indexOf(b.toLowerCase())};
g.vb=function(a,b,c){a=g.u(c)?a.toFixed(c):String(a);c=a.indexOf(".");-1==c&&(c=a.length);return ub("0",Math.max(0,b-c))+a};
g.F=function(a){return null==a?"":String(a)};
g.wb=function(){return Math.floor(2147483648*Math.random()).toString(36)+Math.abs(Math.floor(2147483648*Math.random())^(0,g.G)()).toString(36)};
g.zb=function(a,b){for(var c=0,d=xb(String(a)).split("."),e=xb(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=yb(0==l[1].length?0:(0,window.parseInt)(l[1],10),0==m[1].length?0:(0,window.parseInt)(m[1],10))||yb(0==l[2].length,0==m[2].length)||yb(l[2],m[2]);l=l[3];m=m[3]}while(0==c)}return c};
yb=function(a,b){return a<b?-1:a>b?1:0};
g.Ab=function(a){for(var b=0,c=0;c<a.length;++c)b=31*b+a.charCodeAt(c)>>>0;return b};
Bb=function(){return"goog_"+saa++};
Cb=function(a){var b=Number(a);return 0==b&&g.D(a)?window.NaN:b};
Db=function(a){return String(a).replace(/\-([a-z])/g,function(a,c){return c.toUpperCase()})};
g.Eb=function(a){return String(a).replace(/([A-Z])/g,"-$1").toLowerCase()};
taa=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()})};
Fb=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};
Hb=function(a){return-1!=g.Gb.indexOf(a)};
g.Ib=function(a,b,c){for(var d in a)b.call(c,a[d],d,a)};
g.Jb=function(a,b,c){var d={},e;for(e in a)b.call(c,a[e],e,a)&&(d[e]=a[e]);return d};
Kb=function(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return!0;return!1};
g.Lb=function(a,b){for(var c in a)if(!b.call(void 0,a[c],c,a))return!1;return!0};
g.Mb=function(a){var b=0,c;for(c in a)b++;return b};
Nb=function(a){for(var b in a)return a[b]};
g.Ob=function(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b};
g.Pb=function(a){var b=[],c=0,d;for(d in a)b[c++]=d;return b};
g.Qb=function(a,b){var c=g.za(b),d=c?b:arguments;for(c=c?0:1;c<d.length;c++){if(null==a)return;a=a[d[c]]}return a};
Rb=function(a,b){return null!==a&&b in a};
g.Sb=function(a,b){for(var c in a)if(a[c]==b)return!0;return!1};
Tb=function(a,b,c){for(var d in a)if(b.call(c,a[d],d,a))return d};
Ub=function(a,b){var c=Tb(a,b,void 0);return c&&a[c]};
g.Vb=function(a){for(var b in a)return!1;return!0};
g.Wb=function(a){for(var b in a)delete a[b]};
Xb=function(a,b){b in a&&delete a[b]};
Yb=function(a,b,c){return null!==a&&b in a?a[b]:c};
g.Zb=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.$b=function(a){var b={},c;for(c in a)b[c]=a[c];return b};
g.ac=function(a){var b=xa(a);if("object"==b||"array"==b){if(g.Aa(a.clone))return a.clone();b="array"==b?[]:{};for(var c in a)b[c]=g.ac(a[c]);return b}return a};
g.cc=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<bc.length;f++)c=bc[f],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}};
dc=function(a){var b=a;Object.isFrozen&&!Object.isFrozen(a)&&(b=Object.create(a),Object.freeze(b));return b};
fc=function(){return Hb("Safari")&&!(ec()||Hb("Coast")||Hb("Opera")||Hb("Edge")||Hb("Silk")||Hb("Android"))};
ec=function(){return(Hb("Chrome")||Hb("CriOS"))&&!Hb("Edge")};
g.gc=function(){return Hb("Android")&&!(ec()||Hb("Firefox")||Hb("Opera")||Hb("Silk"))};
hc=function(){return Hb("iPhone")&&!Hb("iPod")&&!Hb("iPad")};
jc=function(){return hc()||Hb("iPad")||Hb("iPod")};
kc=function(a){kc[" "](a);return a};
lc=function(a,b){try{return kc(a[b]),!0}catch(c){}return!1};
vaa=function(a,b){var c=uaa;return Object.prototype.hasOwnProperty.call(c,a)?c[a]:c[a]=b(a)};
mc=function(){var a=g.x.document;return a?a.documentMode:void 0};
g.oc=function(a){return vaa(a,function(){return 0<=g.zb(nc,a)})};
g.pc=function(a){return Number(waa)>=a};
rc=function(){this.g="";this.l=qc};
sc=function(a){return a instanceof rc&&a.constructor===rc&&a.l===qc?a.g:"type_error:Const"};
g.vc=function(a){var b=new rc;b.g=a;return b};
wc=function(a,b){return b?a.replace(xaa,""):a};
yc=function(a,b){for(var c=0,d=0,e=!1,f=wc(a,b).split(yaa),k=0;k<f.length;k++){var l=f[k];xc.test(wc(l,void 0))?(c++,d++):zaa.test(l)?e=!0:Aaa.test(wc(l,void 0))?d++:Baa.test(l)&&(e=!0)}return 0==d?e?1:0:.4<c/d?-1:1};
Ac=function(){this.l="";this.o=zc};
Bc=function(a){if(a instanceof Ac&&a.constructor===Ac&&a.o===zc)return a.l;xa(a);return"type_error:TrustedResourceUrl"};
Cc=function(a){var b=new Ac;b.l=a;return b};
Ec=function(){this.l="";this.o=Dc};
g.Fc=function(a){if(a instanceof Ec&&a.constructor===Ec&&a.o===Dc)return a.l;xa(a);return"type_error:SafeUrl"};
g.Ic=function(a){if(a instanceof Ec)return a;a=a.Dg?a.Le():String(a);Gc.test(a)||(a="about:invalid#zClosurez");return Hc(a)};
Jc=function(a){if(a instanceof Ec)return a;a=a.Dg?a.Le():String(a);Gc.test(a)||(a="about:invalid#zClosurez");return Hc(a)};
Hc=function(a){var b=new Ec;b.l=a;return b};
Lc=function(){this.g="";this.l=Kc};
Mc=function(a){var b=new Lc;b.g=a;return b};
Oc=function(a){if(a instanceof Ec)return'url("'+g.Fc(a).replace(/</g,"%3c").replace(/[\\"]/g,"\\$&")+'")';if(a instanceof rc)a=sc(a);else{a=String(a);var b=a.replace(Caa,"$1").replace(Nc,"url");if(Daa.test(b)){for(var c=b=!0,d=0;d<a.length;d++){var e=a.charAt(d);"'"==e&&c?b=!b:'"'==e&&b&&(c=!c)}a=b&&c?Eaa(a):"zClosurez"}else a="zClosurez"}return a};
Eaa=function(a){return a.replace(Nc,function(a,c,d,e){var b="";d=d.replace(/^(['"])(.*)\1$/,function(a,c,d){b=c;return d});
a=g.Ic(d).Le();return c+b+a+b+e})};
g.Qc=function(){this.l="";this.A=Pc;this.o=null};
g.Rc=function(a){if(a instanceof g.Qc&&a.constructor===g.Qc&&a.A===Pc)return a.l;xa(a);return"type_error:SafeHtml"};
Tc=function(a){if(a instanceof g.Qc)return a;var b=null;a.Ps&&(b=a.g());a=g.pb(a.Dg?a.Le():String(a));return Sc(a,b)};
Faa=function(a){function b(a){g.ya(a)?(0,g.C)(a,b):(a=Tc(a),d+=g.Rc(a),a=a.g(),0==c?c=a:0!=a&&c!=a&&(c=null))}
var c=0,d="";(0,g.C)(arguments,b);return Sc(d,c)};
Sc=function(a,b){var c=new g.Qc;c.l=a;c.o=b;return c};
Vc=function(a,b,c){var d=null,e="";if(b)for(q in b){if(!Uc.test(q))throw Error('Invalid attribute name "'+q+'".');var f=b[q];if(null!=f){var k=a;var l=q;var m=f;if(m instanceof rc)m=sc(m);else if("style"==l.toLowerCase()){f=void 0;k=m;if(!g.Ba(k))throw Error('The "style" attribute requires goog.html.SafeStyle or map of style properties, '+typeof k+" given: "+k);if(!(k instanceof Lc)){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.ya(n)?(0,g.I)(n,Oc).join(" "):Oc(n),m+=f+":"+n+";")}k=m?Mc(m):Gaa}k instanceof Lc&&k.constructor===Lc&&k.l===Kc?f=k.g:(xa(k),f="type_error:SafeStyle");m=f}else{if(/^on/i.test(l))throw Error('Attribute "'+l+'" requires goog.string.Const value, "'+m+'" given.');if(l.toLowerCase()in Haa)if(m instanceof Ac)m=Bc(m);else if(m instanceof Ec)m=g.Fc(m);else if(g.w(m))m=g.Ic(m).Le();else throw Error('Attribute "'+l+'" on tag "'+k+'" requires goog.html.SafeUrl, goog.string.Const, or string, value "'+
m+'" given.');}m.Dg&&(m=m.Le());l=l+'="'+g.pb(String(m))+'"';e+=" "+l}}var q="<"+a+e;null!=c?g.ya(c)||(c=[c]):c=[];!0===Iaa[a.toLowerCase()]?q+=">":(d=Faa(c),q+=">"+g.Rc(d)+"</"+a+">",d=d.g());(a=b&&b.dir)&&(/^(ltr|rtl|auto)$/i.test(a)?d=0:d=null);return Sc(q,d)};
Wc=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.Xc=function(a,b){var c=b instanceof Ec?b:Jc(b);a.href=g.Fc(c)};
g.Zc=function(a,b){a.src=Bc(b);var c;if(null===Yc){a:{if((c=g.x.document.querySelector("script[nonce]"))&&(c=c.nonce||c.getAttribute("nonce"))&&Jaa.test(c))break a;c=null}Yc=c||""}(c=Yc)&&a.setAttribute("nonce",c)};
g.$c=function(a,b){sc(a);sc(a);return Sc(b,null)};
g.ad=function(a,b,c){return Math.min(Math.max(a,b),c)};
g.bd=function(a,b){var c=a%b;return 0>c*b?c+b:c};
cd=function(a,b,c){return a+c*(b-a)};
g.dd=function(a){return a*Math.PI/180};
g.ed=function(a,b){this.x=g.u(a)?a:0;this.y=g.u(b)?b:0};
fd=function(a,b){return a==b?!0:a&&b?a.x==b.x&&a.y==b.y:!1};
g.gd=function(a,b){return new g.ed(a.x-b.x,a.y-b.y)};
g.hd=function(a,b){this.width=a;this.height=b};
g.id=function(a,b){return a==b?!0:a&&b?a.width==b.width&&a.height==b.height:!1};
g.md=function(a){return a?new jd(g.kd(a)):ld||(ld=new jd)};
g.nd=function(a){return g.w(a)?window.document.getElementById(a):a};
g.pd=function(a,b){var c=b||window.document;return c.querySelectorAll&&c.querySelector?c.querySelectorAll("."+a):g.od(window.document,"*",a,b)};
g.J=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.od(c,"*",a,b)[0]||null}return c||null};
g.od=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.Oa(b.split(/\s+/),c)&&(d[e++]=k);d.length=e;return d}return a};
g.rd=function(a,b){g.Ib(b,function(b,d){b&&b.Dg&&(b=b.Le());"style"==d?a.style.cssText=b:"class"==d?a.className=b:"for"==d?a.htmlFor=b:qd.hasOwnProperty(d)?a.setAttribute(qd[d],b):g.kb(d,"aria-")||g.kb(d,"data-")?a.setAttribute(d,b):a[d]=b})};
g.ud=function(a){a=a.document;a=g.sd(a)?a.documentElement:a.body;return new g.hd(a.clientWidth,a.clientHeight)};
g.xd=function(a){var b=vd(a);a=a.parentWindow||a.defaultView;return g.wd&&g.oc("10")&&a.pageYOffset!=b.scrollTop?new g.ed(b.scrollLeft,b.scrollTop):new g.ed(a.pageXOffset||b.scrollLeft,a.pageYOffset||b.scrollTop)};
vd=function(a){return a.scrollingElement?a.scrollingElement:!g.yd&&g.sd(a)?a.documentElement:a.body||a.documentElement};
zd=function(a){return a?a.parentWindow||a.defaultView:window};
g.K=function(a,b,c){return Ad(window.document,arguments)};
Ad=function(a,b){var c=String(b[0]),d=b[1];if(!Kaa&&d&&(d.name||d.type)){c=["<",c];d.name&&c.push(' name="',g.pb(d.name),'"');if(d.type){c.push(' type="',g.pb(d.type),'"');var e={};g.cc(e,d);delete e.type;d=e}c.push(">");c=c.join("")}c=a.createElement(c);d&&(g.w(d)?c.className=d:g.ya(d)?c.className=d.join(" "):g.rd(c,d));2<b.length&&Bd(a,c,b,2);return c};
Bd=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.za(f)||g.Ba(f)&&0<f.nodeType?e(f):(0,g.C)(Laa(f)?g.Wa(f):f,e)}};
g.Cd=function(a){return window.document.createElement(String(a))};
g.Dd=function(a){return window.document.createTextNode(String(a))};
g.sd=function(a){return"CSS1Compat"==a.compatMode};
g.Ed=function(a,b){a.appendChild(b)};
g.Fd=function(a,b){Bd(g.kd(a),a,arguments,1)};
g.Gd=function(a){for(var b;b=a.firstChild;)a.removeChild(b)};
Hd=function(a,b,c){a.insertBefore(b,a.childNodes[c]||null)};
g.Id=function(a){return a&&a.parentNode?a.parentNode.removeChild(a):null};
g.Kd=function(a){return Maa&&void 0!=a.children?a.children:(0,g.Jd)(a.childNodes,function(a){return 1==a.nodeType})};
g.Md=function(a){return g.u(a.firstElementChild)?a.firstElementChild:Ld(a.firstChild)};
Ld=function(a){for(;a&&1!=a.nodeType;)a=a.nextSibling;return a};
g.Nd=function(a){var b;if(Naa&&!(g.wd&&g.oc("9")&&!g.oc("10")&&g.x.SVGElement&&a instanceof g.x.SVGElement)&&(b=a.parentElement))return b;b=a.parentNode;return g.Ba(b)&&1==b.nodeType?b:null};
g.Od=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.kd=function(a){return 9==a.nodeType?a:a.ownerDocument||a.document};
Pd=function(a){try{return a.contentWindow||(a.contentDocument?zd(a.contentDocument):null)}catch(b){}return null};
g.Qd=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.Gd(a);var c=g.kd(a);a.appendChild(c.createTextNode(String(b)))}};
Rd=function(a){if("outerHTML"in a)return a.outerHTML;var b=g.kd(a).createElement("DIV");b.appendChild(a.cloneNode(!0));return b.innerHTML};
g.Ud=function(a){var b;if((b="A"==a.tagName||"INPUT"==a.tagName||"TEXTAREA"==a.tagName||"SELECT"==a.tagName||"BUTTON"==a.tagName?!a.disabled&&(!Sd(a)||Td(a)):Sd(a)&&Td(a))&&g.wd){var c;!g.Aa(a.getBoundingClientRect)||g.wd&&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};
Sd=function(a){return g.wd&&!g.oc("9")?(a=a.getAttributeNode("tabindex"),null!=a&&a.specified):a.hasAttribute("tabindex")};
Td=function(a){a=a.tabIndex;return g.ua(a)&&0<=a&&32768>a};
Laa=function(a){if(a&&"number"==typeof a.length){if(g.Ba(a))return"function"==typeof a.item||"string"==typeof a.item;if(g.Aa(a))return"function"==typeof a.item}return!1};
g.Xd=function(a,b,c,d){if(!b&&!c)return null;var e=b?String(b).toUpperCase():null;return g.Wd(a,function(a){return(!e||a.nodeName==e)&&(!c||g.w(a.className)&&g.Oa(a.className.split(/\s+/),c))},!0,d)};
g.Yd=function(a,b){return g.Xd(a,null,b,void 0)};
g.Wd=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.Zd=function(){var a=window.document;try{var b=a&&a.activeElement;return b&&b.nodeName?b:null}catch(c){return null}};
jd=function(a){this.g=a||g.x.document||window.document};
g.$d=function(a){a=a.g;return a.parentWindow||a.defaultView};
g.ae=function(a){Oaa();return Cc(a)};
g.be=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.ce=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.Ya(a,c,c+8192);b+=String.fromCharCode.apply(null,d)}return b};
Paa=function(a){return(0,g.I)(a,function(a){a=a.toString(16);return 1<a.length?a:"0"+a}).join("")};
g.ge=function(a,b){g.za(a);de();for(var c=b?ee:fe,d=[],e=0;e<a.length;e+=3){var f=a[e],k=e+1<a.length,l=k?a[e+1]:0,m=e+2<a.length,n=m?a[e+2]:0,q=f>>2;f=(f&3)<<4|l>>4;l=(l&15)<<2|n>>6;n&=63;m||(n=64,k||(l=64));d.push(c[q],c[f],c[l],c[n])}return d.join("")};
ie=function(a){var b=[];he(a,function(a){b.push(a)});
return b};
je=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;he(a,function(a){d[e++]=a});
return d.subarray(0,e)};
he=function(a,b){function c(b){for(;d<a.length;){var c=a.charAt(d++),e=ke[c];if(null!=e)return e;if(!g.D(c))throw Error("Unknown base64 encoding at char: "+c);}return b}
de();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))}};
de=function(){if(!fe){fe={};ke={};ee={};for(var a=0;65>a;a++)fe[a]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(a),ke[fe[a]]=a,ee[a]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_.".charAt(a),62<=a&&(ke["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_.".charAt(a)]=a)}};
me=function(a,b,c){this.l=null;this.C=this.D=this.g=this.o=this.A=0;this.B=!1;a&&le(this,a,b,c)};
oe=function(a,b,c){if(ne.length){var d=ne.pop();a&&le(d,a,b,c);return d}return new me(a,b,c)};
le=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?je(b):new window.Uint8Array(0);a.l=b;a.A=g.u(c)?c:0;a.o=g.u(d)?a.A+d:a.l.length;a.g=a.A};
pe=function(a){var b=a.l;var c=b[a.g+0];var d=c&127;if(128>c)return a.g+=1,d;c=b[a.g+1];d|=(c&127)<<7;if(128>c)return a.g+=2,d;c=b[a.g+2];d|=(c&127)<<14;if(128>c)return a.g+=3,d;c=b[a.g+3];d|=(c&127)<<21;if(128>c)return a.g+=4,d;c=b[a.g+4];d|=(c&15)<<28;if(128>c)return a.g+=5,d>>>0;a.g+=5;128<=b[a.g++]&&128<=b[a.g++]&&128<=b[a.g++]&&128<=b[a.g++]&&a.g++;return d};
qe=function(a){this.g=oe(a,void 0,void 0);this.l=this.o=-1;this.A=!1};
re=function(a){var b=a.g;if(b.g==b.o||a.getError())return!1;b=pe(a.g);var c=b&7;if(0!=c&&5!=c&&1!=c&&2!=c&&3!=c&&4!=c)return a.A=!0,!1;a.o=b>>>3;a.l=c;return!0};
se=function(a){switch(a.l){case 0:if(0!=a.l)se(a);else{for(a=a.g;a.l[a.g]&128;)a.g++;a.g++}break;case 1:1!=a.l?se(a):(a=a.g,a.g+=8);break;case 2:if(2!=a.l)se(a);else{var b=pe(a.g);a=a.g;a.g+=b}break;case 5:5!=a.l?se(a):(a=a.g,a.g+=4);break;case 3:b=[a.o];do{if(!re(a)){a.A=!0;break}if(3==a.l)b.push(a.o);else if(4==a.l&&a.o!=b.pop()){a.A=!0;break}}while(0<b.length)}};
te=function(a){a=a.g;a:{for(var b,c=0,d,e=0;4>e;e++)if(b=a.l[a.g++],c|=(b&127)<<7*e,128>b){a.D=c>>>0;a.C=0;break a}b=a.l[a.g++];c|=(b&127)<<28;d=0|(b&127)>>4;if(128>b)a.D=c>>>0,a.C=d>>>0;else{for(e=0;5>e;e++)if(b=a.l[a.g++],d|=(b&127)<<7*e+3,128>b){a.D=c>>>0;a.C=d>>>0;break a}a.B=!0}}b=a.D;c=a.C;if(a=c&2147483648)b=~b+1>>>0,c=~c>>>0,0==b&&(c=c+1>>>0);b=4294967296*c+b;return a?-b:b};
ue=function(a){var b=pe(a.g);a=a.g;var c=a.l,d=a.g;b=d+b;for(var e=[],f="";d<b;){var k=c[d++];if(128>k)e.push(k);else if(192>k)continue;else if(224>k){var l=c[d++];e.push((k&31)<<6|l&63)}else if(240>k){l=c[d++];var m=c[d++];e.push((k&15)<<12|(l&63)<<6|m&63)}else if(248>k){l=c[d++];m=c[d++];var n=c[d++];k=(k&7)<<18|(l&63)<<12|(m&63)<<6|n&63;k-=65536;e.push((k>>10&1023)+55296,(k&1023)+56320)}8192<=e.length&&(f+=String.fromCharCode.apply(null,e),e.length=0)}f+=g.ce(e);a.g=d;return f};
ve=function(a){var b=pe(a.g);a=a.g;if(0>b||a.g+b>a.l.length)a.B=!0,b=new window.Uint8Array(0);else{var c=a.l.subarray(a.g,a.g+b);a.g+=b;b=c}return b};
we=function(){};
Ce=function(a,b,c,d){a.g=null;b||(b=[]);a.D=void 0;a.A=-1;a.o=b;a:{if(b=a.o.length){--b;var e=a.o[b];if(e&&"object"==typeof e&&!g.ya(e)&&!(xe&&e instanceof window.Uint8Array)){a.B=b-a.A;a.l=e;break a}}a.B=Number.MAX_VALUE}a.C={};if(c)for(b=0;b<c.length;b++)e=c[b],e<a.B?(e+=a.A,a.o[e]=a.o[e]||ye):(ze(a),a.l[e]=a.l[e]||ye);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=Ae(f,m);null!=n&&(e=m,c=n,Be(f,m,void 0))}e&&Be(f,e,c)}};
ze=function(a){var b=a.B+a.A;a.o[b]||(a.l=a.o[b]={})};
Ae=function(a,b){if(b<a.B){var c=b+a.A,d=a.o[c];return d===ye?a.o[c]=[]:d}if(a.l)return d=a.l[b],d===ye?a.l[b]=[]:d};
De=function(a,b){if(b<a.B){var c=b+a.A,d=a.o[c];return d===ye?a.o[c]=[]:d}d=a.l[b];return d===ye?a.l[b]=[]:d};
Qaa=function(a){if(null==a||a instanceof window.Uint8Array)return a;if(g.w(a))return je(a);xa(a);return null};
Be=function(a,b,c){b<a.B?a.o[b+a.A]=c:(ze(a),a.l[b]=c)};
Ee=function(a,b,c){a.g||(a.g={});if(!a.g[c]){var d=Ae(a,c);d&&(a.g[c]=new b(d))}return a.g[c]};
Raa=function(a){Fe(a,Ge,1);var b=a.g[1];b==ye&&(b=a.g[1]=[]);return b};
Fe=function(a,b,c){a.g||(a.g={});if(!a.g[c]){for(var d=De(a,c),e=[],f=0;f<d.length;f++)e[f]=new b(d[f]);a.g[c]=e}};
Ie=function(a){if(a.g)for(var b in a.g){var c=a.g[b];if(g.ya(c))for(var d=0;d<c.length;d++)c[d]&&He(c[d]);else c&&He(c)}};
He=function(a){Ie(a);return a.o};
Je=function(a){if(g.ya(a)){for(var b=Array(a.length),c=0;c<a.length;c++){var d=a[c];null!=d&&(b[c]="object"==typeof d?Je(d):d)}return b}if(xe&&a instanceof window.Uint8Array)return new window.Uint8Array(a);b={};for(c in a)d=a[c],null!=d&&(b[c]="object"==typeof d?Je(d):d);return b};
Ke=function(a){Ce(this,a,null,null)};
Me=function(a){return Ee(a,Le,1)};
Le=function(a){Ce(this,a,null,null)};
Ne=function(a){Ce(this,a,null,Saa)};
Oe=function(a){Ce(this,a,null,Taa)};
Pe=function(a){Ce(this,a,null,Uaa)};
Qe=function(a){Ce(this,a,null,null)};
Re=function(a){Ce(this,a,null,null)};
Se=function(a){Ce(this,a,null,null)};
Te=function(a){Ce(this,a,null,null)};
Ue=function(a){Ce(this,a,null,null)};
We=function(a){Ce(this,a,Vaa,null)};
Ge=function(a){Ce(this,a,null,null)};
Xe=function(a){for(var b=[],c=a=zd(a.ownerDocument);c!=a.top;c=c.parent)if(c.frameElement)b.push(c.frameElement);else break;return b};
g.M=function(){this.Gb=this.Gb;this.bb=this.bb};
g.N=function(a,b){g.Ye(a,g.Ea(g.Ze,b))};
g.Ye=function(a,b){a.Gb?g.u(void 0)?b.call(void 0):b():(a.bb||(a.bb=[]),a.bb.push(g.u(void 0)?(0,g.A)(b,void 0):b))};
g.Ze=function(a){a&&"function"==typeof a.dispose&&a.dispose()};
g.$e=function(a){for(var b=0,c=arguments.length;b<c;++b){var d=arguments[b];g.za(d)?g.$e.apply(null,d):g.Ze(d)}};
g.af=function(a,b){this.type=a;this.currentTarget=this.target=b;this.defaultPrevented=this.Pi=!1;this.BD=!0};
bf=function(a){a.stopPropagation()};
df=function(a){return g.yd?"webkit"+a:g.cf?"o"+a.toLowerCase():a.toLowerCase()};
ef=function(a,b){g.af.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.g=null;a&&this.init(a,b)};
g.gf=function(a){return!(!a||!a[g.ff])};
Xaa=function(a,b,c,d,e){this.listener=a;this.g=null;this.src=b;this.type=c;this.capture=!!d;this.Qf=e;this.key=++Waa;this.vk=this.vn=!1};
hf=function(a){a.vk=!0;a.listener=null;a.g=null;a.src=null;a.Qf=null};
jf=function(a){this.src=a;this.listeners={};this.g=0};
kf=function(a,b){var c=b.type;if(!(c in a.listeners))return!1;var d=g.Ta(a.listeners[c],b);d&&(hf(b),0==a.listeners[c].length&&(delete a.listeners[c],a.g--));return d};
g.lf=function(a){var b=0,c;for(c in a.listeners){for(var d=a.listeners[c],e=0;e<d.length;e++)++b,hf(d[e]);delete a.listeners[c];a.g--}};
mf=function(a,b,c,d){for(var e=0;e<a.length;++e){var f=a[e];if(!f.vk&&f.listener==b&&f.capture==!!c&&f.Qf==d)return e}return-1};
g.of=function(a,b,c,d,e){if(d&&d.once)return nf(a,b,c,d,e);if(g.ya(b)){for(var f=0;f<b.length;f++)g.of(a,b[f],c,d,e);return null}c=pf(c);return g.gf(a)?a.U(b,c,g.Ba(d)?!!d.capture:!!d,e):qf(a,b,c,!1,d,e)};
qf=function(a,b,c,d,e,f){if(!b)throw Error("Invalid event type");var k=g.Ba(e)?!!e.capture:!!e,l=g.rf(a);l||(a[sf]=l=new jf(a));c=l.add(b,c,d,k,f);if(c.g)return c;d=Yaa();c.g=d;d.src=a;d.listener=c;if(a.addEventListener)Zaa||(e=k),void 0===e&&(e=!1),a.addEventListener(b.toString(),d,e);else if(a.attachEvent)a.attachEvent(tf(b.toString()),d);else if(a.addListener&&a.removeListener)a.addListener(d);else throw Error("addEventListener and attachEvent are unavailable.");uf++;return c};
Yaa=function(){var a=$aa,b=vf?function(c){return a.call(b.src,b.listener,c)}:function(c){c=a.call(b.src,b.listener,c);
if(!c)return c};
return b};
nf=function(a,b,c,d,e){if(g.ya(b)){for(var f=0;f<b.length;f++)nf(a,b[f],c,d,e);return null}c=pf(c);return g.gf(a)?a.th(b,c,g.Ba(d)?!!d.capture:!!d,e):qf(a,b,c,!0,d,e)};
g.wf=function(a,b,c,d,e){if(g.ya(b))for(var f=0;f<b.length;f++)g.wf(a,b[f],c,d,e);else d=g.Ba(d)?!!d.capture:!!d,c=pf(c),g.gf(a)?a.Da(b,c,d,e):a&&(a=g.rf(a))&&(b=a.ql(b,c,d,e))&&g.xf(b)};
g.xf=function(a){if(g.ua(a)||!a||a.vk)return!1;var b=a.src;if(g.gf(b))return kf(b.Fe,a);var c=a.type,d=a.g;b.removeEventListener?b.removeEventListener(c,d,a.capture):b.detachEvent?b.detachEvent(tf(c),d):b.addListener&&b.removeListener&&b.removeListener(d);uf--;(c=g.rf(b))?(kf(c,a),0==c.g&&(c.src=null,b[sf]=null)):hf(a);return!0};
tf=function(a){return a in yf?yf[a]:yf[a]="on"+a};
Af=function(a,b,c,d){var e=!0;if(a=g.rf(a))if(b=a.listeners[b.toString()])for(b=b.concat(),a=0;a<b.length;a++){var f=b[a];f&&f.capture==c&&!f.vk&&(f=zf(f,d),e=e&&!1!==f)}return e};
zf=function(a,b){var c=a.listener,d=a.Qf||a.src;a.vn&&g.xf(a);return c.call(d,b)};
$aa=function(a,b){if(a.vk)return!0;if(!vf){var c=b||g.y("window.event"),d=new ef(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.Pi&&0<=k;k--){d.currentTarget=c[k];var l=Af(c[k],f,!0,d);e=e&&l}for(k=0;!d.Pi&&k<c.length;k++)d.currentTarget=c[k],l=Af(c[k],f,!1,d),e=e&&l}return e}return zf(a,new ef(b,
this))};
g.rf=function(a){a=a[sf];return a instanceof jf?a:null};
pf=function(a){if(g.Aa(a))return a;a[Bf]||(a[Bf]=function(b){return a.handleEvent(b)});
return a[Bf]};
g.Cf=function(){g.M.call(this);this.Fe=new jf(this);this.wb=this;this.ra=null};
Df=function(a,b,c,d){b=a.Fe.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.vk&&k.capture==c){var l=k.listener,m=k.Qf||k.src;k.vn&&kf(a.Fe,k);e=!1!==l.call(m,d)&&e}}return e&&0!=d.BD};
Ef=function(a,b){this.o=a;this.A=b;this.l=0;this.g=null};
Ff=function(a,b){a.A(b);100>a.l&&(a.l++,b.next=a.g,a.g=b)};
Gf=function(a){return function(){return a}};
aba=function(a){var b=b||0;return function(){return a.apply(this,Array.prototype.slice.call(arguments,0,b))}};
g.Hf=function(a){var b=!1,c;return function(){b||(c=a(),b=!0);return c}};
If=function(a){g.x.setTimeout(function(){throw a;},0)};
Kf=function(a,b){var c=a;b&&(c=(0,g.A)(a,b));!g.Aa(g.x.setImmediate)||g.x.Window&&g.x.Window.prototype&&!Hb("Edge")&&g.x.Window.prototype.setImmediate==g.x.setImmediate?(Jf||(Jf=bba()),Jf(c)):g.x.setImmediate(c)};
bba=function(){var a=g.x.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!Hb("Presto")&&(a=function(){var a=window.document.createElement("IFRAME");a.style.display="none";a.src="";window.document.documentElement.appendChild(a);var b=a.contentWindow;a=b.document;a.open();a.write("");a.close();var c="callImmediate"+Math.random(),d="file:"==b.location.protocol?"*":b.location.protocol+"//"+b.location.host;a=(0,g.A)(function(a){if(("*"==
d||a.origin==d)&&a.data==c)this.port1.onmessage()},this);
b.addEventListener("message",a,!1);this.port1={};this.port2={postMessage:function(){b.postMessage(c,d)}}});
if("undefined"!==typeof a&&!Hb("Trident")&&!Hb("MSIE")){var b=new a,c={},d=c;b.port1.onmessage=function(){if(g.u(c.next)){c=c.next;var a=c.Dx;c.Dx=null;a()}};
return function(a){d.next={Dx: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)}};
Lf=function(){this.l=this.g=null};
Mf=function(){this.next=this.scope=this.g=null};
g.Qf=function(a,b){Nf||cba();Of||(Nf(),Of=!0);Pf.add(a,b)};
cba=function(){if(g.x.Promise&&g.x.Promise.resolve){var a=g.x.Promise.resolve(void 0);Nf=function(){a.then(Rf)}}else Nf=function(){Kf(Rf)}};
Rf=function(){for(var a;a=Pf.remove();){try{a.g.call(a.scope)}catch(b){If(b)}Ff(Sf,a)}Of=!1};
Tf=function(a){a.prototype.then=a.prototype.then;a.prototype.$goog_Thenable=!0};
Uf=function(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(b){return!1}};
g.Wf=function(a,b){this.g=0;this.D=void 0;this.A=this.l=this.o=null;this.B=this.C=!1;if(a!=g.z)try{var c=this;a.call(b,function(a){Vf(c,2,a)},function(a){Vf(c,3,a)})}catch(d){Vf(this,3,d)}};
Xf=function(){this.next=this.context=this.onRejected=this.o=this.g=null;this.l=!1};
Zf=function(a,b,c){var d=Yf.get();d.o=a;d.onRejected=b;d.context=c;return d};
$f=function(a){if(a instanceof g.Wf)return a;var b=new g.Wf(g.z);Vf(b,2,a);return b};
ag=function(a){return new g.Wf(function(b,c){c(a)})};
cg=function(a,b,c){bg(a,b,c,null)||g.Qf(g.Ea(b,a))};
dg=function(a){return new g.Wf(function(b,c){a.length||b(void 0);for(var d=0,e;d<a.length;d++)e=a[d],cg(e,b,c)})};
g.eg=function(a){return new g.Wf(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],cg(m,g.Ea(f,l),k);
else b(e)})};
eba=function(){var a,b,c=new g.Wf(function(c,e){a=c;b=e});
return new dba(c,a,b)};
gg=function(a,b){var c=Zf(b,b,void 0);c.l=!0;fg(a,c);return a};
g.ig=function(a,b){return hg(a,null,b,void 0)};
jg=function(a,b){if(0==a.g)if(a.o){var c=a.o;if(c.l){for(var d=0,e=null,f=null,k=c.l;k&&(k.l||(d++,k.g==a&&(e=k),!(e&&1<d)));k=k.next)e||(f=k);e&&(0==c.g&&1==d?jg(c,b):(f?(d=f,d.next==c.A&&(c.A=d),d.next=d.next.next):kg(c),lg(c,e,3,b)))}a.o=null}else Vf(a,3,b)};
fg=function(a,b){a.l||2!=a.g&&3!=a.g||mg(a);a.A?a.A.next=b:a.l=b;a.A=b};
hg=function(a,b,c,d){var e=Zf(null,null,null);e.g=new g.Wf(function(a,k){e.o=b?function(c){try{var e=b.call(d,c);a(e)}catch(n){k(n)}}:a;
e.onRejected=c?function(b){try{var e=c.call(d,b);!g.u(e)&&b instanceof ng?k(b):a(e)}catch(n){k(n)}}:k});
e.g.o=a;fg(a,e);return e.g};
Vf=function(a,b,c){0==a.g&&(a===c&&(b=3,c=new TypeError("Promise cannot resolve to itself")),a.g=1,bg(c,a.H,a.I,a)||(a.D=c,a.g=b,a.o=null,mg(a),3!=b||c instanceof ng||fba(a,c)))};
bg=function(a,b,c,d){if(a instanceof g.Wf)return fg(a,Zf(b||g.z,c||null,d)),!0;if(Uf(a))return a.then(b,c,d),!0;if(g.Ba(a))try{var e=a.then;if(g.Aa(e))return gba(a,e,b,c,d),!0}catch(f){return c.call(d,f),!0}return!1};
gba=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)}};
mg=function(a){a.C||(a.C=!0,g.Qf(a.F,a))};
kg=function(a){var b=null;a.l&&(b=a.l,a.l=b.next,b.next=null);a.l||(a.A=null);return b};
lg=function(a,b,c,d){if(3==c&&b.onRejected&&!b.l)for(;a&&a.B;a=a.o)a.B=!1;if(b.g)b.g.o=null,og(b,c,d);else try{b.l?b.o.call(b.context):og(b,c,d)}catch(e){pg.call(null,e)}Ff(Yf,b)};
og=function(a,b,c){2==b?a.o.call(a.context,c):a.onRejected&&a.onRejected.call(a.context,c)};
fba=function(a,b){a.B=!0;g.Qf(function(){a.B&&pg.call(null,b)})};
ng=function(a){Ha.call(this,a)};
dba=function(a,b,c){this.g=a;this.resolve=b;this.reject=c};
g.qg=function(a,b){g.Cf.call(this);this.rd=a||1;this.Fm=b||g.x;this.zx=(0,g.A)(this.Xc,this);this.eA=(0,g.G)()};
g.rg=function(a,b,c){if(g.Aa(a))c&&(a=(0,g.A)(a,c));else if(a&&"function"==typeof a.handleEvent)a=(0,g.A)(a.handleEvent,a);else throw Error("Invalid listener argument");return 2147483647<Number(b)?-1:g.x.setTimeout(a,b||0)};
g.sg=function(a){g.x.clearTimeout(a)};
tg=function(a,b){var c=null;return g.ig(new g.Wf(function(d,e){c=g.rg(function(){d(b)},a);
-1==c&&e(Error("Failed to schedule timer."))}),function(a){g.sg(c);
throw a;})};
ug=function(){return Math.round((0,g.G)()/1E3)};
hba=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:ug()};
iba=function(){this.l=-1};
jba=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,""))};
kba=function(a){try{return g.x.JSON.parse(a)}catch(d){var b=d}a=String(a);if(jba(a))try{var c=eval("("+a+")");b&&vg("Invalid JSON: "+a,b);return c}catch(d){}throw Error("Invalid JSON string: "+a);};
g.xg=function(a){var b=[];wg(new lba,a,b);return b.join("")};
lba=function(){};
wg=function(a,b,c){if(null==b)c.push("null");else{if("object"==typeof b){if(g.ya(b)){var d=b;b=d.length;c.push("[");for(var e="",f=0;f<b;f++)c.push(e),wg(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),yg(d,c),c.push(":"),wg(a,f,c),e=","));c.push("}");return}}switch(typeof b){case "string":yg(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);}}};
yg=function(a,b){b.push('"',a.replace(mba,function(a){var b=zg[a];b||(b="\\u"+(a.charCodeAt(0)|65536).toString(16).substr(1),zg[a]=b);return b}),'"')};
Ag=function(a){this.g=a||{cookie:""}};
Bg=function(a){a=(a.g.cookie||"").split(";");for(var b=[],c=[],d,e,f=0;f<a.length;f++)e=xb(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.Cg=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.Dg=function(a){return a.match(nba)};
g.Eg=function(a){return a?(0,window.decodeURI)(a):a};
g.Fg=function(a){return g.Eg(g.Dg(a)[3]||null)};
g.Gg=function(a){return Number(g.Dg(a)[4]||null)||null};
Hg=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?ob(f):"")}};
Ig=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)]};
Jg=function(a,b){return b?a?a+"&"+b:b:a};
Kg=function(a,b){if(!b)return a;var c=Ig(a);c[1]=Jg(c[1],b);return c[0]+(c[1]?"?"+c[1]:"")+c[2]};
Lg=function(a,b,c){if(g.ya(b))for(var d=0;d<b.length;d++)Lg(a,String(b[d]),c);else null!=b&&c.push(a+(""===b?"":"="+g.nb(b)))};
Mg=function(a,b){for(var c=[],d=b||0;d<a.length;d+=2)Lg(a[d],a[d+1],c);return c.join("&")};
g.Ng=function(a){var b=[],c;for(c in a)Lg(c,a[c],b);return b.join("&")};
Og=function(a,b){var c=2==arguments.length?Mg(arguments[1],0):Mg(arguments,1);return Kg(a,c)};
g.Pg=function(a,b){var c=g.Ng(b);return Kg(a,c)};
Qg=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};
Sg=function(a,b){var c=a.search(Rg),d=Qg(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 ob(a.substr(d,e-d))};
g.Tg=function(a,b){for(var c=a.search(Rg),d=0,e,f=[];0<=(e=Qg(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(oba,"$1")};
Ug=function(a,b,c){a=g.Tg(a,b);c=null!=c?"="+g.nb(c):"";return Kg(a,b+c)};
pba=function(a,b){var c=Ig(a),d=c[1],e=[];d&&(0,g.C)(d.split("&"),function(a){var c=a.indexOf("=");b.hasOwnProperty(0<=c?a.substr(0,c):a)||e.push(a)});
c[1]=Jg(e.join("&"),g.Ng(b));return c[0]+(c[1]?"?"+c[1]:"")+c[2]};
Vg=function(){this.g={};return this};
Wg=function(a,b){a.g.eb=Yb(a.g,"eb",0)|b};
g.Xg=function(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d};
Yg=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};
Zg=function(a,b,c){b instanceof g.ed?(a.left+=b.x,a.right+=b.x,a.top+=b.y,a.bottom+=b.y):(a.left+=b,a.right+=b,g.ua(c)&&(a.top+=c,a.bottom+=c));return a};
g.$g=function(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d};
g.ah=function(a){return new g.Xg(a.top,a.left+a.width,a.top+a.height,a.left)};
g.bh=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.ch=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.dh=function(a){return new g.hd(a.width,a.height)};
g.eh=function(a){return new g.ed(a.left,a.top)};
qba=function(){this.g={};this.l=0};
fh=function(a,b){this.B=a;this.o=!0;this.g=b};
gh=function(a,b){fh.call(this,String(a),b);this.A=a;this.g=!!b};
hh=function(a,b){fh.call(this,a,b)};
ih=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 hh("",new g.$g(c,b,Number(a[3])-c,Number(a[2])-b))}return new hh("",new g.$g(0,0,0,0))};
kh=function(){jh||(jh=new qba);return jh};
lh=function(a,b){a.g[b.B]=b};
g.nh=function(a,b,c){if(g.w(b))(b=mh(a,b))&&(a.style[b]=c);else for(var d in b){c=a;var e=b[d],f=mh(c,d);f&&(c.style[f]=e)}};
mh=function(a,b){var c=oh[b];if(!c){var d=Db(b);c=d;void 0===a.style[d]&&(d=(g.yd?"Webkit":g.ph?"Moz":g.wd?"ms":g.cf?"O":null)+taa(d),void 0!==a.style[d]&&(c=d));oh[b]=c}return c};
qh=function(a,b){var c=a.style[Db(b)];return"undefined"!==typeof c?c:a.style[mh(a,b)]||""};
rh=function(a,b){var c=g.kd(a);return c.defaultView&&c.defaultView.getComputedStyle&&(c=c.defaultView.getComputedStyle(a,null))?c[b]||c.getPropertyValue(b)||"":""};
g.sh=function(a,b){return rh(a,b)||(a.currentStyle?a.currentStyle[b]:null)||a.style&&a.style[b]};
g.uh=function(a,b,c){if(b instanceof g.ed){var d=b.x;b=b.y}else d=b,b=c;a.style.left=th(d,!1);a.style.top=th(b,!1)};
vh=function(a){return new g.ed(a.offsetLeft,a.offsetTop)};
wh=function(a){try{var b=a.getBoundingClientRect()}catch(c){return{left:0,top:0,right:0,bottom:0}}g.wd&&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.xh=function(a){if(g.wd&&!g.pc(8))return a.offsetParent;var b=g.kd(a),c=g.sh(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.sh(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.Ah=function(a){for(var b=new g.Xg(0,window.Infinity,window.Infinity,0),c=g.md(a),d=c.g.body,e=c.g.documentElement,f=vd(c.g);a=g.xh(a);)if(!(g.wd&&0==a.clientWidth||g.yd&&0==a.clientHeight&&a==d)&&a!=d&&a!=e&&"visible"!=g.sh(a,"overflow")){var k=g.yh(a),l=new g.ed(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.ud(g.$d(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.yh=function(a){var b=g.kd(a),c=new g.ed(0,0);var d=b?g.kd(b):window.document;d=!g.wd||g.pc(9)||g.sd(g.md(d).g)?d.documentElement:d.body;if(a==d)return c;a=wh(a);b=g.xd(g.md(b).g);c.x=a.left+b.x;c.y=a.top+b.y;return c};
g.Ch=function(a,b){var c=new g.ed(0,0),d=zd(g.kd(a));if(!lc(d,"parent"))return c;var e=a;do{var f=d==b?g.yh(e):Bh(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.Eh=function(a,b){var c=g.Dh(a),d=g.Dh(b);return new g.ed(c.x-d.x,c.y-d.y)};
Bh=function(a){a=wh(a);return new g.ed(a.left,a.top)};
g.Dh=function(a){if(1==a.nodeType)return Bh(a);a=a.changedTouches?a.changedTouches[0]:a;return new g.ed(a.clientX,a.clientY)};
g.Gh=function(a,b,c){if(b instanceof g.hd)c=b.height,b=b.width;else if(void 0==c)throw Error("missing height argument");g.Fh(a,b);a.style.height=th(c,!0)};
th=function(a,b){"number"==typeof a&&(a=(b?Math.round(a):a)+"px");return a};
g.Fh=function(a,b){a.style.width=th(b,!0)};
g.Hh=function(a){var b=rba;if("none"!=g.sh(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};
rba=function(a){var b=a.offsetWidth,c=a.offsetHeight,d=g.yd&&!b&&!c;return g.u(b)&&!d||!a.getBoundingClientRect?new g.hd(b,c):(a=wh(a),new g.hd(a.right-a.left,a.bottom-a.top))};
g.Ih=function(a){var b=g.yh(a);a=g.Hh(a);return new g.$g(b.x,b.y,a.width,a.height)};
g.Jh=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.Kh=function(a){return"none"!=a.style.display};
g.Lh=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};
Mh=function(a,b){var c=a.currentStyle?a.currentStyle[b]:null;return c?g.Lh(a,c,"left","pixelLeft"):0};
g.Nh=function(a){if(g.wd){var b=Mh(a,"paddingLeft"),c=Mh(a,"paddingRight"),d=Mh(a,"paddingTop");a=Mh(a,"paddingBottom");return new g.Xg(d,c,a,b)}b=rh(a,"paddingLeft");c=rh(a,"paddingRight");d=rh(a,"paddingTop");a=rh(a,"paddingBottom");return new g.Xg((0,window.parseFloat)(d),(0,window.parseFloat)(c),(0,window.parseFloat)(a),(0,window.parseFloat)(b))};
Ph=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 Oh?Oh[c]:g.Lh(a,c,"left","pixelLeft")};
g.Qh=function(a){if(g.wd&&!g.pc(9)){var b=Ph(a,"borderLeft"),c=Ph(a,"borderRight"),d=Ph(a,"borderTop");a=Ph(a,"borderBottom");return new g.Xg(d,c,a,b)}b=rh(a,"borderLeftWidth");c=rh(a,"borderRightWidth");d=rh(a,"borderTopWidth");a=rh(a,"borderBottomWidth");return new g.Xg((0,window.parseFloat)(d),(0,window.parseFloat)(c),(0,window.parseFloat)(a),(0,window.parseFloat)(b))};
Rh=function(a){var b=new g.$g(-Number.MAX_VALUE/2,-Number.MAX_VALUE/2,Number.MAX_VALUE,Number.MAX_VALUE),c=new g.$g(0,0,0,0);if(!a||0==a.length)return c;for(var d=0;d<a.length;d++)if(!g.ch(b,a[d]))return c;return b};
Sh=function(a,b){var c=a.getBoundingClientRect(),d=g.Ch(a,b);return new g.$g(Math.round(d.x),Math.round(d.y),Math.round(c.right-c.left),Math.round(c.bottom-c.top))};
Th=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.$g(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;lh(a,new fh("vp",d));d&&0<d?(e=g.ah(b),f=g.ah(c),e=e.top>=f.top&&e.top<f.bottom):e=!1;lh(a,new gh(512,e));d&&0<d?(e=g.ah(b),f=g.ah(c),e=e.bottom<=f.bottom&&e.bottom>f.top):e=!1;lh(a,new gh(1024,
e));d&&0<d?(e=g.ah(b),f=g.ah(c),e=e.left>=f.left&&e.left<f.right):e=!1;lh(a,new gh(2048,e));d&&0<d?(b=g.ah(b),c=g.ah(c),c=b.right<=c.right&&b.right>c.left):c=!1;lh(a,new gh(4096,c))}};
sba=function(a,b){var c=0;g.Qb(zd(),"ima","video","client","tagged")&&(c=1);var d=null;a&&(d=a());if(d){var e=d;d=kh();d.g={};var f=new gh(32,!0);f.o=!1;lh(d,f);f=zd().document;f=f.visibilityState||f.webkitVisibilityState||f.mozVisibilityState||f.msVisibilityState||"";lh(d,new gh(64,"hidden"!=f.toLowerCase().substring(f.length-6)?!0:!1));try{var k=zd().top;try{var l=!!k.location.href||""===k.location.href}catch(r){l=!1}if(l){var m=Xe(e);var n=m&&0!=m.length?"1":"0"}else n="2"}catch(r){n="2"}lh(d,
new gh(256,"2"==n));lh(d,new gh(128,"1"==n));m=l=zd().top;"2"==n&&(m=zd());k=Sh(e,m);lh(d,new hh("er",k));try{var q=m.document&&!m.document.body?null:g.ud(m||window)}catch(r){q=null}q?(m=g.xd(g.md(m.document).g),lh(d,new gh(16384,!!m)),q=m?new g.$g(m.x,m.y,q.width,q.height):null):q=null;lh(d,new hh("vi",q));if(q&&"1"==n){n=Xe(e);e=[];for(m=0;m<n.length;m++)(f=Sh(n[m],l))&&e.push(f);e.push(q);q=Rh(e)}Th(d,k,q);d.l&&(n=ug()-d.l,lh(d,new fh("ts",n)));d.l=ug()}else d=kh(),d.g={},d.l=ug(),lh(d,new gh(32,
!1));this.o=d;this.g=new Vg;this.g.set("ve",4);c&&Wg(this.g,1);g.Qb(zd(),"ima","video","client","crossdomainTag")&&Wg(this.g,4);g.Qb(zd(),"ima","video","client","sdkTag")&&Wg(this.g,8);g.Qb(zd(),"ima","video","client","jsTag")&&Wg(this.g,2);b&&Yb(b,"fullscreen",!1)&&Wg(this.g,16);this.l=d=null;if(c&&(c=g.Qb(zd(),"ima","video","client"),c.getEData)){this.l=c.getEData();if(c=g.Qb(zd(),"ima","video","client","getLastSnapshotFromTop"))if(n=c())this.l.extendWithDataFromTopIframe(n.tagstamp,n.playstamp,
n.lactstamp),c=this.o,d=n.er,n=n.vi,d&&n&&(d=ih(d).getValue(),n=ih(n).getValue(),e=null,Yb(c.g,"er",null)&&(e=Yb(c.g,"er",null).getValue(),e.top+=d.top,e.left+=d.left,lh(c,new hh("er",e))),Yb(c.g,"vi",null)&&(q=Yb(c.g,"vi",null).getValue(),q.top+=d.top,q.left+=d.left,l=[],l.push(q),l.push(d),l.push(n),d=Rh(l),Th(c,e,d),lh(c,new hh("vi",n))));a:{if(this.l){if(this.l.getTagLoadTimestamp){d=this.l.getTagLoadTimestamp();break a}if(this.l.getTimeSinceTagLoadSeconds){d=this.l.getTimeSinceTagLoadSeconds();
break a}}d=null}}this.g.set("td",ug()-hba(d))};
tba=function(a,b){try{var c=new sba(a,b),d=[],e=Number(c.g.get("eb"));c.g.remove("eb");var f,k=c.g,l=[],m;for(m in k.g)l.push(m+k.g[m]);(f=l.join("_"))&&d.push(f);if(c.l){var n=c.l.serialize();n&&d.push(n)}var q,r=c.o;f=e;k=[];f||(f=0);for(var v in r.g){var E=r.g[v];if(E instanceof gh)E.getValue()&&(f|=E.A);else{var H,L=r.g[v];(H=L.o?L.l():"")&&k.push(v+H)}}k.push("eb"+String(f));(q=k.join("_"))&&d.push(q);c.g.set("eb",e);return d.join("_")}catch(T){return"tle;"+sb(T.name,12)+";"+sb(T.message,40)}};
Uh=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)?Uh(a,b,void 0,d):a:c};
vba=function(){var a=g.x.document.querySelector("script[nonce]");if(a&&(a=a.nonce||a.getAttribute("nonce"))&&uba.test(a))return a};
Vh=function(a){try{return!!a&&null!=a.location.href&&lc(a,"foo")}catch(b){return!1}};
Wh=function(a,b){if(a)for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&b.call(void 0,a[c],c,a)};
xba=function(a){return(a=wba.exec(a))&&a[0]||""};
yba=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};
zba=function(){var a=Xh;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""};
Yh=function(a){return a?a.passive&&Aba()?a:a.capture||!1:a};
Zh=function(a,b,c,d){a.addEventListener?a.addEventListener(b,c,Yh(d)):a.attachEvent&&a.attachEvent("on"+b,c)};
$h=function(a,b,c){a.removeEventListener?a.removeEventListener(b,c,Yh(void 0)):a.detachEvent&&a.detachEvent("on"+b,c)};
ai=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};
bi=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.Ta(a.google_image_requests,e);$h(e,"load",f);$h(e,"error",f)};
Zh(e,"load",f);Zh(e,"error",f)}d&&(e.referrerPolicy="no-referrer");e.src=b;a.google_image_requests.push(e)};
di=function(a){a.u_tz=-(new Date).getTimezoneOffset();var b=void 0===b?ci:b;try{var c=b.history.length}catch(d){c=0}a.u_his=c;if(c=!!ci.navigator)c="unknown"!==typeof ci.navigator.javaEnabled;a.u_java=c&&!!ci.navigator.javaEnabled&&ci.navigator.javaEnabled();ci.screen&&(a.u_h=ci.screen.height,a.u_w=ci.screen.width,a.u_ah=ci.screen.availHeight,a.u_aw=ci.screen.availWidth,a.u_cd=ci.screen.colorDepth);ci.navigator&&ci.navigator.plugins&&(a.u_nplug=ci.navigator.plugins.length);ci.navigator&&ci.navigator.mimeTypes&&
(a.u_nmime=ci.navigator.mimeTypes.length)};
hi=function(){if(ei&&!Vh(fi)){var a="."+gi.domain;try{for(;2<a.split(".").length&&!Vh(fi);)gi.domain=a=a.substr(a.indexOf(".")+1),fi=window.parent}catch(b){}Vh(fi)||(fi=window)}return fi};
ji=function(){var a=window.event||ii;if(!a)return null;var b;(b=a.which?1<<Bba[a.which-1]:a.button)&&a.shiftKey&&(b|=8);b&&a.altKey&&(b|=16);b&&a.ctrlKey&&(b|=32);return b};
ki=function(a,b,c){a&&null!==b&&b!=b.top&&(b=b.top);try{return(void 0===c?0:c)?(new g.hd(b.innerWidth,b.innerHeight)).round():g.ud(b||window).round()}catch(d){return new g.hd(-12245933,-12245933)}};
li=function(){this.g=0;this.l=!1;this.o=-1;this.oh=!1};
mi=function(a){this.A=a;this.g=null;this.o=!1;this.l=null};
ni=function(a){a.o=!0;return a};
oi=function(a,b){a.l=void 0===b?null:b};
Cba=function(a,b){a.l&&(0,g.C)(b,function(b){b=a.l[b];void 0!==b&&null===a.g&&g.Sb(a.A,b)&&(a.g=b)})};
pi=function(){this.g={};this.l=!0;this.o={}};
qi=function(a,b,c){a.g[b]||(a.g[b]=new mi(c));return a.g[b]};
ri=function(a,b,c){(a=a.g[b])&&null===a.g&&g.Sb(a.A,c)&&(a.g=c)};
si=function(a,b){if(Rb(a.o,b))return a.o[b];var c=a.g[b];if(c)return c.getValue()};
Dba=function(a){var b={},c;for(c in a.g)if(a.g.hasOwnProperty(c)){if(void 0!==a.o[c])var d=String(a.o[c]);else d=a.g[c],d=d.o&&null!==d.g?String(d.g):"";0<d.length&&(b[c]=d)}return b};
Eba=function(a){a=Dba(a);var b=[];g.Ib(a,function(a,d){d in Object.prototype||"undefined"!=typeof a&&b.push([d,":",a].join(""))});
return b};
Fba=function(a,b){a.l&&(0,g.C)(g.Ob(a.g),function(a){return Cba(a,b)})};
ti=function(){return(0,g.G)()-Gba};
yi=function(a){var b=0<=ui?ti()-ui:-1,c=vi?ti()-wi:-1,d=0<=xi?ti()-xi:-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};
zi=function(a,b){this.l=(void 0===a?0:a)||0;this.g=(void 0===b?"":b)||""};
Ai=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};
Di=function(a){a=a||Bi();for(var b=new Ci(g.x.location.href,g.x,!1),c=null,d=a.length-1,e=d;0<=e;--e){var f=a[e];!c&&Hba.test(f.url)&&(c=f);if(f.url&&!f.gt){b=f;break}}e=null;f=a.length&&a[d].url;0!=b.depth&&f&&(e=a[d]);return new Iba(b,e,c)};
Bi=function(){var a=g.x,b=[],c=null;do{var d=a;if(Vh(d)){var e=d.location.href;c=d.document&&d.document.referrer||null}else e=c,c=null;b.push(new Ci(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.gt=!0);return b};
Iba=function(a,b,c){this.g=a;this.l=b;this.o=c};
Ci=function(a,b,c){this.url=a;this.ad=b;this.gt=!!c;this.depth=g.ua(void 0)?void 0:null};
Ei=function(){this.o="&";this.A=g.u(void 0)?void 0:"trn";this.B=!1;this.l={};this.C=0;this.g=[]};
Fi=function(a,b){var c={};c[a]=b;return[c]};
Hi=function(a,b,c,d,e){var f=[];Wh(a,function(a,l){var k=Gi(a,b,c,d,e);k&&f.push(l+"="+k)});
return f.join(b)};
Gi=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(Gi(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)(Hi(a,b,c,d,e+1)):"...";return(0,window.encodeURIComponent)(String(a))};
Ii=function(a,b,c,d){a.g.push(b);a.l[b]=Fi(c,d)};
Jba=function(a){if(!a.A)return 4E3;var b=1,c;for(c in a.l)b=c.length>b?c.length:b;return 4E3-a.A.length-b-a.o.length-1};
Ji=function(a,b,c,d){if(Math.random()<(d||a.g))try{if(c instanceof Ei)var e=c;else e=new Ei,Wh(c,function(a,b){var c=e,d=c.C++,f=Fi(b,a);c.g.push(d);c.l[d]=f});
var f=e.Sa(a.A,a.l,a.o+b+"&","");f&&bi(g.x,f)}catch(k){}};
Mi=function(){var a=g.x.performance;return a&&a.now&&a.timing?Math.floor(a.now()+a.timing.navigationStart):(0,g.G)()};
Ni=function(){var a=void 0===a?g.x:a;return(a=a.performance)&&a.now?a.now():null};
Oi=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};
Qi=function(a,b){this.events=[];this.g=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.l=Pi()||(null!=c?c:Math.random()<a)};
Si=function(a){a&&Ri&&Pi()&&(Ri.clearMarks("goog_"+a.uniqueId+"_start"),Ri.clearMarks("goog_"+a.uniqueId+"_end"))};
Vi=function(){var a=Ti;this.A=Ui;this.o=!0;this.D=this.g;this.Ba=void 0===a?null:a};
Yi=function(a){return new Wi(Xi(a),a.fileName,a.lineNumber)};
Xi=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};
Wi=function(a,b,c){Ai.call(this,Error(a),{message:a,file:void 0===b?"":b,line:void 0===c?-1:c})};
Zi=function(){this.Ba=null;this.o=!1};
aj=function(a,b){return $i.l(a,b,void 0,Kba)};
bj=function(a,b,c,d){return $i.B(a,b,c,d,void 0)};
cj=function(a,b){$i.g(a,b,void 0,void 0)};
dj=function(a,b,c,d){var e=void 0===e?!1:e;c=bj(d,c);Zh(a,b,c,{capture:e});return c};
fj=function(a){var b=ej.getInstance().C;b&&(b.l&&(a[4]=b.l),b.g&&(a[12]=b.g))};
gj=function(a){var b=[];g.Ib(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.G)());return b.join("\n")};
hj=function(){return{visible:1,hidden:2,prerender:3,preview:4,unloaded:5}[gi.visibilityState||gi.webkitVisibilityState||gi.mozVisibilityState||""]||0};
ij=function(a,b,c,d){if(!a)return{value:d,done:!1};d=b(d,a);var e=c(d,a);return!e&&lc(a,"parentElement")?ij(g.Nd(a),b,c,d):{done:e,value:d}};
jj=function(a,b,c,d){if(!a)return d;d=ij(a,b,c,d);if(!d.done)try{var e=g.kd(a),f=e&&zd(e);return jj(f&&f.frameElement,b,c,d.value)}catch(k){}return d.value};
Lba=function(a){var b=!g.wd||g.oc(8);return jj(a,function(a,d){var c=lc(d,"style")&&d.style&&qh(d,"visibility");return{hidden:"hidden"===c,visible:b&&"visible"===c}},function(a){return a.hidden||a.visible},{hidden:!1,
visible:!1}).hidden};
Mba=function(a){return jj(a,function(a,c){return!(!lc(c,"style")||!c.style||"none"!==qh(c,"display"))},function(a){return a},!1)?!0:Lba(a)};
kj=function(a){return new g.Xg(a.top,a.right,a.bottom,a.left)};
lj=function(a){return null!=a&&0<=a&&1>=a};
mj=function(a,b){b=void 0===b?ci:b;null!==b&&b!=b.top&&(b=b.top);var c=0,d=0;try{var e=b.document,f=e.body,k=e.documentElement;if("CSS1Compat"==e.compatMode&&k.scrollHeight)c=k.scrollHeight!=a.height?k.scrollHeight:k.offsetHeight,d=k.scrollWidth!=a.width?k.scrollWidth:k.offsetWidth;else{var l=k.scrollHeight,m=k.scrollWidth,n=k.offsetHeight,q=k.offsetWidth;k.clientHeight!=n&&(l=f.scrollHeight,m=f.scrollWidth,n=f.offsetHeight,q=f.offsetWidth);l>a.height?l>n?(c=l,d=m):(c=n,d=q):l<n?(c=l,d=m):(c=n,d=
q)}return new g.hd(d,c)}catch(r){return new g.hd(-12245933,-12245933)}};
nj=function(a,b,c,d,e){this.time=a;this.l=b;this.o=c;this.volume=null;this.A=d;this.g=null;this.B=e};
oj=function(a,b,c,d,e,f,k,l){this.D=a;this.C=b;this.g=c;this.A=d;this.B=e;this.l=f;this.F=k;this.o=l};
ej=function(){this.F=!1;this.H=void 0;this.g=!Vh(ci.top);var a=Bi();this.domain=0<a.length&&null!=a[a.length-1]&&null!=a[a.length-1].url?g.Fg(a[a.length-1].url)||"":"";this.A=this.K=this.D=this.o=null;this.M=0;this.C=new zi(0,"");this.l=!1;this.B=null;this.I=0;this.zb="geo";this.qb=new pi;oi(ni(qi(this.qb,"nio_mode",Nba)),Oba);oi(ni(qi(this.qb,"mv",Pba)),Qba);qi(this.qb,"omid",pj);ni(qi(this.qb,"osd",pj));ni(qi(this.qb,"srmi",pj));oi(ni(qi(this.qb,"umt",pj)),Rba);oi(ni(qi(this.qb,"gmpd",pj)),Sba);
oi(ni(qi(this.qb,"sel",pj)),Tba);oi(ni(qi(this.qb,"ujs",pj)),Uba);oi(ni(qi(this.qb,"cll",Vba)),Wba);oi(ni(qi(this.qb,"ioa",pj)),Xba);oi(ni(qi(this.qb,"isu",pj)),Yba);oi(ni(qi(this.qb,"ald",pj)),Zba);ni(qi(this.qb,"inapp",$ba));this.J=-1};
qj=function(a){this.l=a;this.o=0;this.g=null};
sj=function(){return!rj()&&(Hb("iPod")||Hb("iPhone")||Hb("Android")||Hb("IEMobile"))};
rj=function(){return Hb("iPad")||Hb("Android")&&!Hb("Mobile")||Hb("Silk")};
tj=function(a,b,c){this.ad=a;this.Y=void 0===c?"na":c;this.o=[];this.F=!1;this.g=new nj(-1,new g.hd(0,0),new g.hd(0,0),!0,this);this.l=this;this.C=this.A=b;this.X=rj()||sj();this.B=!1;this.K=null;this.H=this.J=!1;this.M="uk";this.R=!1};
vj=function(a,b){a.H||(a.H=!0,a.M=b,a.C=0,a.Vp(),a.l==a&&(a.A=0,uj(a)))};
wj=function(a,b){g.Oa(a.o,b)||(a.o.push(b),b.oi(a.l),b.lh(a.g),b.Ng()&&(a.B=!0))};
xj=function(a,b){g.Ta(a.o,b);a.B&&b.Ng()&&aca(a)};
yj=function(a){var b=ti(),c=ki(!0,a.ad,a.X),d=ki(!1,a.ad,a.X);a.K||(a.K=mj(c,a.ad));var e=hj();var f=1===e;e=0===e;f=(ej.getInstance(),f||e);return new nj(b,c,d,f,a)};
aca=function(a){a.B=a.o.length?(0,g.zj)(a.o,function(a){return a.Ng()}):!1};
Aj=function(a){var b=g.Wa(a.o);(0,g.C)(b,function(b){b.lh(a.g)})};
uj=function(a){var b=g.Wa(a.o);(0,g.C)(b,function(b){b.oi(a.l)});
a.l!=a||Aj(a)};
Bj=function(a,b){var c;if(!(c=a.J)){c=a.g;var d=a.B;c=!(b&&(void 0===d||!d||c.volume==b.volume)&&c.A==b.A&&Yg(c.g,b.g)&&g.id(c.o,b.o)&&g.id(c.l,b.l))}a.g=b;c&&Aj(a)};
Cj=function(a,b,c,d){this.element=a;this.A=this.g=b;this.qb=c;this.I=d;this.H=!1;this.o=new oj(b.g,this.element,new g.Xg(0,0,0,0),null,this.zj(),0,0,ti())};
Dj=function(a){this.B=!1;this.g=a};
Ej=function(a,b,c){this.l=void 0===c?0:c;this.tc=a;this.g=null==b?"":b};
bca=function(a){switch(Math.trunc(a.l)){case -16:return-16;case -8:return-8;case 0:return 0;case 8:return 8;case 16:return 16;default:return 16}};
cca=function(a,b){return new Ej(a.tc,a.g,a.l+b)};
Fj=function(a,b){return a.l<b.l?!0:a.l>b.l?!1:a.tc<b.tc?!0:a.tc>b.tc?!1:typeof a.g<typeof b.g?!0:typeof a.g>typeof b.g?!1:a.g<b.g};
Gj=function(){this.o=0;this.g=[];this.l=!1};
dca=function(a,b){(0,g.C)(b.g,function(b){a.add(b.tc,b.g,bca(b))})};
Hj=function(a,b){var c=void 0===c?0:c;var d=void 0===d?!0:d;Wh(b,function(b,f){d&&void 0===b||a.add(f,b,c)});
return a};
Jj=function(a){a.l&&(g.fb(a.g,function(a,c){return Fj(c,a)?1:Fj(a,c)?-1:0}),a.l=!1);
return Ij(a.g,function(a,c){var b="boolean"===typeof c.g;b=""+(b&&!c.g?"":c.tc)+(b||""===c.g?"":"="+c.g);return""+a+(""!=a&&""!=b?"&":"")+b},"")};
Lj=function(a){this.g=new Gj;void 0!==a&&dca(this.g,a);this.g.add("avv",Kj,-16)};
eca=function(a){Wh(a,function(b,c){b instanceof Array&&(a[c]=b.join(","))});
return a};
fca=function(a){var b=[],c=[];g.Ib(a,function(a,e){if(!(e in Object.prototype)&&"undefined"!=typeof a){g.ya(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)};
gca=function(a){a=new Lj(a);Mj(a)};
Mj=function(a){a=a.toString();a=a.substring(0,4E3);var b=hi()||ci;bi(b,a)};
Pj=function(a){Nj.e=-1;Nj.i=6;Nj.n=7;Nj.t=8;if(!Oj){var b=[];Wh(Nj,function(a,c){b[a+1]=c});
var c=b.join(""),d=a&&a[c];Oj=d&&function(b,c){return d.call(a,b,c)}}return Oj};
Qj=function(){this.l=this.o=this.A=this.g=0};
Rj=function(){this.l=[1,.75,.5,.3,0];this.g=(0,g.I)(this.l,function(){return new Qj})};
Tj=function(a,b){return Sj(a,function(a){return a.g},void 0===b?!0:b)};
Vj=function(a,b){return Uj(a,b,function(a){return a.g})};
Wj=function(a){return Sj(a,function(a){return a.o},!0)};
Xj=function(a,b){return Uj(a,b,function(a){return a.o})};
Yj=function(a,b){return Uj(a,b,function(a){return a.l})};
Zj=function(a){(0,g.C)(a.g,function(a){a.l=0})};
Sj=function(a,b,c){a=(0,g.I)(a.g,function(a){return b(a)});
return c?a:hca(a)};
Uj=function(a,b,c){var d=g.La(a.l,function(a){return b<=a});
return-1==d?0:c(a.g[d])};
hca=function(a){return(0,g.I)(a,function(a,c,d){return 0<c?d[c]-d[c-1]:d[c]})};
ak=function(){this.g=new Rj;this.X=new Qj;this.K=this.D=-1;this.ba=1E3};
bk=function(a,b,c,d){Cj.call(this,a,b,c,d);this.l=new g.Xg(0,0,0,0)};
ck=function(a,b,c,d){return 0>=a.Db()||0>=a.getHeight()?!0:c&&d?aj(208,function(){return ica(a,b,c)}):!1};
dk=function(a,b){return a.left<=b.right&&b.left<=a.right&&a.top<=b.bottom&&b.top<=a.bottom?new g.Xg(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.Xg(0,0,0,0)};
fk=function(a,b){var c=ek(a),d=ek(b);return 0===d?0:c/d};
ek=function(a){return Math.max(a.getHeight()*a.Db(),0)};
ica=function(a,b,c){if(!a||!b)return!1;b=Zg(a.clone(),-b.left,-b.top);a=(b.left+b.right)/2;b=(b.top+b.bottom)/2;var d=hi();Vh(d.top)&&d.top&&d.top.document&&(d=d.top);d=Pj(d&&d.document);if(!d)return!1;a=d(a,b);if(!a)return!1;b=(b=(b=g.kd(c))&&b.defaultView&&b.defaultView.frameElement)&&jca(b,a);d=a===c;a=!d&&a&&g.Wd(a,function(a){return a===c});
return!(b||d||a)};
jca=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.Nd(a)||a){var d=g.kd(a),e=d&&zd(d),f=e&&e.frameElement;f&&(a=f)}}catch(k){break}}return!1};
ik=function(a,b,c){this.position=gk.clone();this.cf=0;this.zt=this.ho();this.vt=-2;this.FV=(0,g.G)();this.vE=-1;this.Zj=b;this.kt=null;this.qj=-1!=b;this.Im=this.RB=null;this.opacity=-1;this.wD=c;this.GE=this.At=g.z;this.fi=this.element=a;this.Ev=this.rh=!1;this.Dr=1;this.fE=!0;this.Uf=!1;ej.getInstance().M++;this.domain=null;this.it=0;this.Nc=this.Qr();this.tE=-1;this.xs=0;this.tq=new g.Xg(0,0,0,0);a=this.qb=new pi;qi(a,"od",kca);ni(qi(a,"opac",pj));qi(a,"ud",pj);ni(qi(a,"mkm",pj));ni(qi(a,"xza",
pj));ni(qi(a,"mza",pj));qi(a,"lom",pj);ni(qi(a,"iehp",pj));ni(qi(a,"sela",pj));ni(qi(a,"ujs",pj));ni(qi(a,"sbeos",pj));a=hi().mraid;if(b=this.element&&this.element.getAttribute)b=this.element,b=/-[a-z]/.test("googleAvInapp")?!1:g.hk&&b.dataset?"googleAvInapp"in b.dataset:b.hasAttribute?b.hasAttribute("data-"+g.Eb("googleAvInapp")):!!b.getAttribute("data-"+g.Eb("googleAvInapp"));(b||a)&&ri(ej.getInstance().qb,"inapp",1);1==this.wD?ri(this.qb,"od",1):ri(this.qb,"od",0)};
mca=function(a,b,c){if(a.qj){var d=Pj(ci&&ci.document);if(d){c||jk(a,ci,!0);if(1==si(a.qb,"iehp")||a.oh()||a.Ev){var e=lca(a,d);d=!0}else e=g.xd(window.document),e=d(Math.floor((a.position.left+a.position.right)/2)-e.x,Math.floor((a.position.top+a.position.bottom)/2)-e.y)?.5:0,d=!1;a.Yi(a.position,e,b,c,!0,d)}}};
kk=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}};
lca=function(a,b){var c=g.xd(window.document),d=a.Dr,e=Math.floor(a.position.left-c.x)+1,f=Math.floor(a.position.top-c.y)+1,k=Math.floor(a.position.right-c.x)-d,l=Math.floor(a.position.bottom-c.y)-d;c=(l-f)*(k-e);if(f>l||e>k)return 0;d=!!b(e,f);var m=!!b(k,l);if(d&&m)return 1;var n=!!b(k,f),q=!!b(e,l);if(d)l=kk(f,l,function(a){return!!b(e,a)}),k=kk(e,k,function(a){return!!b(a,f)});
else if(n)l=kk(f,l,function(a){return!!b(k,a)}),e=kk(k,e,function(a){return!!b(a,f)});
else if(q)f=kk(l,f,function(a){return!!b(e,a)}),k=kk(e,k,function(a){return!!b(a,l)});
else if(m)f=kk(l,f,function(a){return!!b(k,a)}),e=kk(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=kk(v,f,function(a){return!!b(r,a)});
l=kk(v,l,function(a){return!!b(r,a)});
e=kk(r,e,function(a){return!!b(a,v)});
k=kk(r,k,function(a){return!!b(a,v)})}return(l-f)*(k-e)/c};
nca=function(a,b,c,d,e){a.qj&&(d||jk(a,ci,e),a.Yi(a.position,c,b,d,!1,!0))};
lk=function(a,b,c){if(a.qj){var d=c?a.Nc.g:a.it;a.tq&&!Yg(a.tq,new g.Xg(0,0,0,0))&&(d=Zg(a.tq.clone(),a.position.left,a.position.top));a.Yi(a.position,d,b,c,!0,!0)}};
oca=function(a,b){var c=b.create(a.fi,a.qb,a);null!=c&&c.wA();c&&(a.zb=c)};
pca=function(a,b,c){if(a.qj&&a.zb){var d=hi(),e=ej.getInstance();jk(a,d,e.g);a.zb.dr();e=a.zb.o;var f=e.D.g;d=!(!e.B&&!f);if(null!=e.A&&f){var k=e.g;a.RB=new g.ed(k.left-f.left,k.top-f.top);a.Im=new g.hd(f.right-f.left,f.bottom-f.top)}f=e.l;e=e.o;k=0;null!==a.kt&&(k=Math.max(0,e-a.kt));a.kt=e;a.Yi(a.position,f,b,c,!0,d,void 0,k)}};
jk=function(a,b,c,d){if(d)a.position=d;else{b=c?b:b.top;try{var e=gk.clone(),f=new g.ed(0,0);if(a.fi){var k=1==a.wD;!c&&k&&Mba(a.fi)||(e=a.fi.getBoundingClientRect());f=g.Ch(a.fi,b)}c=f;var l=c.x,m=c.y;a.position=new g.Xg(Math.round(m),Math.round(l+(e.right-e.left)),Math.round(m+(e.bottom-e.top)),Math.round(l))}catch(n){a.position=gk.clone()}}a.cf=(a.position.bottom-a.position.top)*(a.position.right-a.position.left)};
mk=function(a,b){var c=Math.pow(10,b);return Math.floor(a*c)/c};
qca=function(a){a.zb&&a.zb.Et()};
tca=function(a,b){var c=!1,d=a.fi;if(null===d)return!1;aj(152,function(){var e=new b.IntersectionObserver(function(c){try{nk(b,c,a)}catch(k){try{e.unobserve(d),cj("osd_adblock::nioc",k)}catch(l){}}},rca);
e.observe(d);sca(d);c=!0});
return c};
sca=function(a){if(a&&(a=a.style)){var b=a.opacity;a.opacity=.98;a.opacity=.99;a.opacity=b}};
uca=function(a,b){var c=!1;aj(151,function(){var d=ai(b).observeIntersection(function(c){try{nk(b,c,a)}catch(f){try{d(),cj("osd_adblock::aioc",f)}catch(k){}}});
c=!0});
return c};
nk=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(d=b)b=kj(d.boundingClientRect),e=kj(d.intersectionRect),c.Nc.g=g.ad(d.intersectionRect.width*d.intersectionRect.height/(d.boundingClientRect.width*d.boundingClientRect.height),0,1),c.it=c.Nc.g,jk(c,a,!0,b),a=dk(b,e),c.tq=0>=c.cf||a.top>=a.bottom||a.left>=a.right?new g.Xg(0,0,0,0):Zg(a,-b.left,-b.top)};
ok=function(a,b,c,d){if(d=void 0===d?g.z:d)a.GE=d;switch(c){case "nio":return tca(a,b);case "aio":return uca(a,b);case "geo":case "iem":return!0}return!1};
pk=function(){};
rk=function(a){if(a instanceof pk)return a;if("function"==typeof a.Rd)return a.Rd(!1);if(g.za(a)){var b=0,c=new pk;c.next=function(){for(;;){if(b>=a.length)throw qk;if(b in a)return a[b++];b++}};
return c}throw Error("Not implemented");};
g.sk=function(a,b,c){if(g.za(a))try{(0,g.C)(a,b,c)}catch(d){if(d!==qk)throw d;}else{a=rk(a);try{for(;;)b.call(c,a.next(),void 0,a)}catch(d){if(d!==qk)throw d;}}};
vca=function(a){if(g.za(a))return g.Wa(a);a=rk(a);var b=[];g.sk(a,function(a){b.push(a)});
return b};
tk=function(a){for(var b=0,c=a,d=0;a&&a!=a.parent;)a=a.parent,d++,Vh(a)&&(c=a,b=d);return{ad:c,level:b}};
wca=function(){this.S={}};
uk=function(){this.A=this.g=this.o=this.l=this.B=0};
xca=function(a){var b={};var c=(0,g.G)()-a.B;b=(b.ptlt=c,b);(c=a.l)&&(b.pnk=c);(c=a.o)&&(b.pnc=c);(c=a.A)&&(b.pnmm=c);(a=a.g)&&(b.pns=a);return b};
vk=function(){li.call(this);this.fullscreen=!1;this.volume=void 0;this.paused=!1;this.A=-1};
wk=function(a){return lj(a.volume)&&.1<=a.volume};
xk=function(){var a={};this.l=(a.vs=[1,0],a.vw=[0,1],a.am=[2,2],a.a=[4,4],a.f=[8,8],a.bm=[16,16],a.b=[32,32],a.avw=[0,64],a.cm=[128,128],a.pv=[256,256],a.gdr=[0,512],a.p=[0,1024],a.r=[0,2048],a.m=[0,4096],a.um=[0,8192],a.ef=[0,16384],a.s=[0,32768],a.pmx=[0,16777216],a);this.g={};for(var b in this.l)0<this.l[b][1]&&(this.g[b]=0);this.o=0};
yca=function(a){return yk(a,g.Pb(a.l))};
yk=function(a,b){var c=0,d;for(d in a.g)g.Oa(b,d)&&1==a.g[d]&&(c+=a.l[d][1],a.g[d]=2);return c};
zca=function(a){var b=0,c;for(c in a.g){var d=a.g[c];if(1==d||2==d)b+=a.l[c][1]}return b};
zk=function(){this.g=this.l=0};
Ak=function(){ak.call(this);this.l=new Qj;this.R=this.H=this.J=0;this.F=-1;this.ea=new Qj;this.B=new Qj;this.o=new Rj;this.C=this.A=-1;this.I=new Qj;this.ba=2E3;this.M=new zk;this.Z=new zk;this.Y=new zk};
Bk=function(a,b,c){var d=a.R;vi||c||-1==a.F||(d+=b-a.F);return d};
Aca=function(){this.g=!1};
Ck=function(a,b){this.g=!1;this.B=a;this.D=b;this.l=0};
Ek=function(a,b){if(a.A(b)){var c=Dk(a.D,a.B,b);a.l|=c;return 0==c}return!1};
Fk=function(a,b,c,d,e,f){e=void 0===e?null:e;f=void 0===f?[]:f;ik.call(this,b,c,d);this.Z=0;this.B={};this.Ic=new xk;this.tA={};this.zd="";this.Fh=null;this.tb=!1;this.o=[];this.Ml=e;this.D=f;this.C=void 0;this.A=-1;this.bb=this.I=void 0;this.ba=!1;this.J=this.K=0;this.X=-1;this.ia=this.Ha=!1;this.Lk=this.rb=0;this.ra=!1;this.Pa=this.Ta=-1;this.R=this.F=this.g=0;this.wb=this.fa=-1;this.Wa=0;this.Ma=new Rj;this.Y=this.sa=this.ea=0;this.Ca=-1;this.xa=0;this.H=!1;this.ga=null;this.Gc=0;this.Gb=!1;this.na=
g.z;this.M=[this.ho()];this.Ev=!0;this.Dr=2;b=ej.getInstance();jk(this,a,b.g);this.Zi={};this.Zi.pause="p";this.Zi.resume="r";this.Zi.skip="s";this.Zi.mute="m";this.Zi.unmute="um";this.Zi.exitfullscreen="ef";this.l=null};
Bca=function(a,b,c){a.Gc=1;a.B={};a.B.firstquartile=!1;a.B.midpoint=!1;a.B.thirdquartile=!1;a.B.complete=!1;a.B.pause=!1;a.B.skip=!1;a.B.viewable_impression=!1;a.Z=0;c||(a.Jd().F=b)};
Gk=function(a){return g.u(a)?Number(a)?mk(a,3):0:a};
Hk=function(a,b){var c;null!=b&&b<a.M.length?c=b:c=a.M.length-1;return a.M[c]};
Ik=function(a){var b=!!si(ej.getInstance().qb,"umt");return(!a.I||0<a.A)&&(b||a.bb)?1:0};
Cca=function(a,b){(0,g.zj)(a.D,function(a){return a.o()&&a.getId()==b.getId()})||a.D.push(b)};
Kk=function(a,b,c){return 15E3<=b?!0:a.Ha?(void 0===c?0:c)?!0:Jk(a.A)?b>=a.A/2:Jk(a.X)?b>=a.X:!1:!1};
Jk=function(a){return 1==si(ej.getInstance().qb,"gmpd")?0<a:-1!=a};
Dca=function(a){var b={},c=ej.getInstance();b.insideIframe=c.g;b.unmeasurable=a.rh;b.position=a.position;b.exposure=a.Nc.g;b.documentSize=c.A;b.viewportSize=c.o;null!=a.l&&(b.presenceData=a.l);return b};
Mk=function(a,b){Lk(a.o,b,function(){return{ZV:0,Bo:void 0}});
a.o[b]={viewableArea:mk(a.Nc.g,2),instantaneousState:a.Ic.o}};
Lk=function(a,b,c){for(var d=a.length;d<b+1;)a.push(c()),d++};
Pk=function(a,b,c){var d=a.tA[b];if(null!=d)return d;d=Eca(a,b);var e=Tb(Nk,function(a){return a==b});
c=Ok(a,d,d,c,Fca[Nk[e]]);"fully_viewable_audible_half_duration_impression"==b&&(c.std="csm",c.ic=yk(a.Ic,["gdr"]));return c};
Ok=function(a,b,c,d,e){if(a.rh)return{"if":0};var f=a.position.clone();f.round();var k=(0,g.I)(a.o,function(a){return 100*a.ZV|0}),l=ej.getInstance(),m=a.Jd(),n={};
n["if"]=l.g?1:void 0;n.sdk=a.C?a.C:void 0;n.t=a.FV;n.p=[f.top,f.left,f.bottom,f.right];n.tos=Tj(m.g,!1);n.mtos=Wj(m.g);n.mcvt=m.X.o;n.ps=void 0;n.pt=k;f=Bk(m,ti(),2==a.Gc);n.vht=f;n.mut=m.ea.o;n.a=Gk(a.Nc.volume);n.mv=Gk(m.C);n.fs=a.Uf?1:0;n.ft=m.I.g;n.at=m.B.g;n.as=.1<=m.A?1:0;n.atos=Tj(m.o);n.amtos=Wj(m.o);n.uac=a.rb;n.vpt=m.l.g;"nio"==l.zb&&(n.nio=1,n.avms="nio");n.gmm="4";n.gdr=Kk(a,m.l.g,!0)?1:0;a.Ev&&(n.efpf=a.Dr);0<a.xa&&(n.nnut=a.xa);n.tcm=Ik(a);n.nmt=a.sa;n.bt=a.Y;n.pst=a.Ca;n.vpaid=a.I;
n.dur=a.A;n.vmtime=a.K;n.is=a.Ic.o;1<=a.o.length&&(n.i0=a.o[0].Bo);2<=a.o.length&&(n.i1=a.o[1].Bo);3<=a.o.length&&(n.i2=a.o[2].Bo);4<=a.o.length&&(n.i3=a.o[3].Bo);n.cs=zca(a.Ic);b&&(n.ic=yca(a.Ic),n.dvpt=m.l.l,n.dvs=Yj(m.g,.5),n.dfvs=Yj(m.g,1),n.davs=Yj(m.o,.5),n.dafvs=Yj(m.o,1),c&&(m.l.l=0,Zj(m.g),Zj(m.o)),a.yi()&&(n.dtos=m.J,n.dav=m.H,n.dtoss=a.Z+1,c&&(m.J=0,m.H=0,a.Z++)),n.dat=m.B.l,n.dft=m.I.l,c&&(m.B.l=0,m.I.l=0));l.A&&(n.ps=[l.A.width,l.A.height]);l.o&&(n.bs=[l.o.width,l.o.height]);l.D&&(n.scs=
[l.D.width,l.D.height]);n.dom=l.domain;a.Lk&&(n.vds=a.Lk);if(0<a.D.length||a.Ml)b=g.Wa(a.D),a.Ml&&b.push(a.Ml),n.pings=(0,g.I)(b,function(a){return a.toString()});
n.ces=(0,g.I)((0,g.Jd)(a.D,function(a){return a.o()}),function(a){return a.getId()});
a.g&&(n.vmer=a.g);a.F&&(n.vmmk=a.F);a.R&&(n.vmiec=a.R);n.avms=a.zb?a.zb.vh():ej.getInstance().zb;a.zb&&g.cc(n,a.zb.yg());"exc"==l.zb&&(n.femt=a.fa,n.femvt=a.wb,n.emc=a.Wa,n.emb=Tj(a.Ma,!1),n.emuc=a.ea,n.avms="exc");d?(n.c=mk(a.Nc.g,2),n.ss=mk(Gca(a),2)):n.tth=ti()-Qk;n.mc=mk(m.K,2);n.nc=mk(m.D,2);n.mv=Gk(m.C);n.nv=Gk(m.A);n.lte=mk(a.vt,2);d=Hk(a,e);Wj(m.g);n.qmtos=Wj(d.g);n.qnc=mk(d.D,2);n.qmv=Gk(d.C);n.qnv=Gk(d.A);n.qas=.1<=d.A?1:0;n.qi=a.zd;null!==a.ga&&(n.nvat=a.ga?1:0);n.avms||(n.avms="geo");
n.psm=m.M.g;n.psv=m.M.getValue();n.psfv=m.Z.getValue();n.psa=m.Y.getValue();l=Eba(l.qb);l.length&&(n.veid=l);a.l&&g.cc(n,xca(a.l));return n};
Gca=function(a){if(a.Uf)return 1;var b=ci.screen.width*ci.screen.height;return 0>=b?-1:Math.min(a.cf*a.Nc.g/b,1)};
Eca=function(a,b){if(g.Oa(Hca,b))return!0;var c=a.B[b];return g.u(c)?(a.B[b]=!0,!c):!1};
Jca=function(){this.g={};var a=zd();Rk(this,a,window.document);var b=Ica();try{if("1"==b){for(var c=a.parent;c!=a.top;c=c.parent)Rk(this,c,c.document);Rk(this,a.top,a.top.document)}}catch(d){}};
Ica=function(){var a=window.document.documentElement;try{if(!Vh(zd().top))return"2";var b=[],c=zd(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"}};
Rk=function(a,b,c){dj(c,"mousedown",function(){return Kca(a)},301);
dj(b,"scroll",function(){return Lca(a)},302);
dj(c,"touchmove",function(){return Mca(a)},303);
dj(c,"mousemove",function(){return Nca(a)},304);
dj(c,"keydown",function(){return Oca(a)},305)};
Kca=function(a){g.Ib(a.g,function(a){1E5<a.o||++a.o})};
Lca=function(a){g.Ib(a.g,function(a){1E5<a.g||++a.g})};
Mca=function(a){g.Ib(a.g,function(a){1E5<a.g||++a.g})};
Oca=function(a){g.Ib(a.g,function(a){1E5<a.l||++a.l})};
Nca=function(a){g.Ib(a.g,function(a){1E5<a.A||++a.A})};
Sk=function(){this.g=this.l=null};
Pca=function(a,b){function c(c,e){a.g=null;b(c,e)}
if(null==a.l)return!1;a.g=g.Ka(a.l,function(a){return null!=a&&a.Ui()&&a.init(c)});
return null!=a.g};
Tk=function(a,b,c,d){Cj.call(this,a,b,c,d);this.F=this.D=this.l=null;this.C=0;this.B=null};
Tca=function(a){if(!a.element)return!1;var b=a.element;a.l=new a.g.ad.IntersectionObserver(function(b){try{Qca(a,b)}catch(d){a.Et(),cj(299,d)}},Rca);
a.l.observe(b);Sca(b);return!0};
Uca=function(a){var b=a.boundingClientRect.width*a.boundingClientRect.height;a=a.intersectionRect.width*a.intersectionRect.height;return b?a/b:0};
Vca=function(a,b){var c=0,d=b.intersectionRect.width*b.intersectionRect.height,e=a.g.g.g;e&&(c=(e.bottom-e.top)*(e.right-e.left));return c?d/c:0};
Qca=function(a,b){if(b.length){a.D||(a.D=ti());var c=2===si(ej.getInstance().qb,"nio_mode");c&&null!==a.B&&((0,window.clearTimeout)(a.B),a.B=null);var d=Wca(b),e=kj(d.boundingClientRect),f=Zg(kj(d.intersectionRect),-e.left,-e.top),k=Uca(d),l=Vca(a,d);if(c){if(a.o=new oj(a.g.g,a.element,e,f,a.zj(),k,l,d.time),0<k&&(a.B=(0,window.setTimeout)(function(){var b=a.element;b&&a.l&&(a.l.unobserve(b),a.l.observe(b))},2E3)),2>a.C){a.C+=1;
try{var m=new Gj;Hj(m,Xca(a,d));gca(m)}catch(n){}}}else a.o=new oj(a.g.g,a.element,e,f,a.zj(),k,l,ti())}};
Xca=function(a,b){var c=a.element.getBoundingClientRect(),d=yj(a.g).o,e=Math.min(c.left,0),f=Math.min(c.top,0),k=c.left-e,l=c.top-f,m={};return m.id="av-js",m.type="iobs-geom",m.iobsRectX=b.boundingClientRect.left,m.iobsRectY=b.boundingClientRect.top,m.iobsRectWidth=b.boundingClientRect.width,m.iobsRectHeight=b.boundingClientRect.height,m.geoRectX=c.left,m.geoRectY=c.top,m.geoRectWidth=c.width,m.geoRectHeight=c.height,m.iobsInterRectX=b.intersectionRect.left,m.iobsInterRectY=b.intersectionRect.top,
m.iobsInterRectWidth=b.intersectionRect.width,m.iobsInterRectHeight=b.intersectionRect.height,m.geoInterRectWidth=Math.max(0,Math.min(d.width-k,c.width+e)),m.geoInterRectHeight=Math.max(0,Math.min(d.height-l,c.height+f)),m.geoInterRectX=k,m.geoInterRectY=l,m};
Wca=function(a){return Ij(a,function(a,c){return a.time>c.time?a:c},a[0])};
Sca=function(a){if(a=a.style){var b=a.opacity;a.opacity=.98;a.opacity=.99;a.opacity=b}};
Uk=function(a){a=void 0===a?ci:a;Dj.call(this,new tj(a,2))};
g.Vk=function(a,b,c){g.M.call(this);this.o=null!=c?(0,g.A)(a,c):a;this.rd=b;this.l=(0,g.A)(this.tJ,this);this.g=[]};
Wk=function(a){a.Ba=g.rg(a.l,a.rd);a.o.apply(null,a.g)};
Xk=function(){this.g=this.l=null};
Yk=function(){this.g=[];this.l=[];this.done=!1;this.o={o4:0,kI:0,ED:0,QI:0,jL:-1};this.H=this.B=this.D=this.C=this.F=null;this.J=!1;this.K=null;this.I=rj()||sj();this.A=new qj(this)};
Zk=function(){var a=ej.getInstance().zb;return"nio"==a||"aio"==a};
al=function(){var a=$k;if(!a.J){a.J=!0;if(!a.F&&!Zk()){var b=bj(137,function(b){for(var c=[],e=0;e<arguments.length;++e)c[e-0]=arguments[e];return a.jz.apply(a,g.oa(c))});
a.C=new g.Vk(b,100);a.F=dj(ci,"scroll",function(b){for(var c=[],e=0;e<arguments.length;++e)c[e-0]=arguments[e];null!==a.C&&a.C.Ij.apply(a.C,g.oa(c))},138)}a.D||Zk()||(b=bj(140,function(b){for(var c=[],e=0;e<arguments.length;++e)c[e-0]=arguments[e];
return a.KL.apply(a,g.oa(c))}),a.B=new g.Vk(b,100),a.D=dj(ci,"resize",function(b){for(var c=[],e=0;e<arguments.length;++e)c[e-0]=arguments[e];
null!==a.B&&a.B.Ij.apply(a.B,g.oa(c))},141));
Yca(a,function(b){for(var c=[],e=0;e<arguments.length;++e)c[e-0]=arguments[e];return a.pz.apply(a,g.oa(c))});
a.pz()}};
Zca=function(a){var b=ej.getInstance();b.l||"exc"==b.zb||bl(a,!0);var c=new Xk;switch(b.zb){case "geo":a:{b=b.o;c=new Xk;c.l=b;if(null!=b&&-12245933!=b.width&&-12245933!=b.height){var d=ej.getInstance();if(d.l)var e=d.B;else try{d=ci;var f=a.I;d=d.top;var k=b||ki(!0,d,void 0===f?!1:f),l=g.xd(g.md(d.document).g);if(-12245933==k.width){var m=k.width;var n=new g.Xg(m,m,m,m)}else n=new g.Xg(l.y,l.x+k.width,l.y+k.height,l.x);e=n}catch(q){a=c;break a}c.g=e}a=c}return a;default:return c}};
cl=function(a,b,c,d){if(!a.done&&(a.A.cancel(),0!=b.length)){a.K=null;var e=Zca(a);try{var f=ti(),k=ej.getInstance();k.J=f;if(null!=Sk.getInstance().g)for(d=0;d<b.length;d++)pca(b[d],f,c);else switch(k.zb){case "exc":for(d=0;d<b.length;d++)lk(b[d],f,c);break;case "nis":for(e=0;e<b.length;e++)g.u(d)?b[e].lq(d):b[e].mA(f);break;case "gsv":for(e=0;e<b.length;e++)g.u(d)?b[e].iz(d):b[e].lA(f);break;case "aio":case "nio":for(d=0;d<b.length;d++)lk(b[d],f,c);break;case "iem":for(d=0;d<b.length;d++)mca(b[d],
f,c);break;case "geo":if(e.g)for(d=0;d<b.length;d++)nca(b[d],f,e.g,c,k.g)}for(d=0;d<b.length;d++);a.o.ED+=ti()-f;++a.o.QI}finally{c?(0,g.C)(b,function(a){a.Nc.g=0}):a.A.schedule()}}};
Yca=function(a,b){var c;gi.visibilityState?c="visibilitychange":gi.mozVisibilityState?c="mozvisibilitychange":gi.webkitVisibilityState&&(c="webkitvisibilitychange");c&&(a.H=a.H||dj(gi,c,b,142))};
dl=function(a){if($ca(a))return!0;var b=hj();a=1===b;b=0===b;return ej.getInstance(),a||b};
ada=function(a,b){return null!=b&&(0,g.zj)(a.g,function(a){return a.element==b})};
el=function(a){return g.Ka($k.g,function(b){return b.zd==a})};
fl=function(a){return 0==a.g.length?a.l:0==a.l.length?a.g:g.Va(a.l,a.g)};
bl=function(a,b){var c=a.I,d=ej.getInstance(),e,f=Sk.getInstance();null!=f.g&&(e=f.g.g);d.o=e?e.g.l:d.l?d.B?(new g.hd(d.B.Db(),d.B.getHeight())).round():new g.hd(0,0):ki(!0,ci,c);b||(d.K=ci&&ci.outerWidth?new g.hd(ci.outerWidth,ci.outerHeight):new g.hd(-12245933,-12245933),d.A=mj(d.o))};
bda=function(){var a=ej.getInstance();ci.screen&&(a.D=new g.hd(ci.screen.width,ci.screen.height))};
cda=function(a,b){var c=void 0===c?g.z:c;var d=!1;(0,g.C)(b,function(b){ok(b,a,"nio",c)&&(d=!0)});
return d};
dda=function(a){var b=$k,c=[];(0,g.C)(a,function(a){ada(b,a.element)||(b.g.push(a),c.push(a))})};
eda=function(a){var b=$k,c=[];(0,g.C)(a,function(a){null==g.Ka(b.g,function(b){return b.element==a.element&&!0})&&(b.g.push(a),c.push(a))})};
$ca=function(a){return(0,g.zj)(fl(a),function(a){return a.Uf})};
fda=function(){var a=g.Gb;return a?(0,g.zj)("AppleTV;GoogleTV;HbbTV;NetCast.TV;Opera TV;POV_TV;SMART-TV;SmartTV;TV Store;OMI/".split(";"),function(b){return tb(a,b)})?!0:tb(a,"Presto")&&tb(a,"Linux")&&!tb(a,"X11")&&!tb(a,"Android")&&!tb(a,"Mobi"):!1};
gl=function(){return tb(g.Gb,"CrKey")||tb(g.Gb,"PlayStation")||tb(g.Gb,"Roku")||fda()||tb(g.Gb,"Xbox")};
gda=function(a){if(!a)return"";var b=[];if(!a.location.href)return"";b.push("url="+(0,window.encodeURIComponent)(a.location.href.substring(0,512)));a.document&&a.document.referrer&&b.push("referrer="+(0,window.encodeURIComponent)(a.document.referrer.substring(0,512)));return b.join("&")};
hl=function(a){return function(b){return!g.u(b[a])&&g.u(0)?0:b[a]}};
jl=function(){var a=[0,2,4];return function(b){b=b.tos;if(g.ya(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)?il(c,a):c}}};
kl=function(a,b){return function(c){c=c[a];if(g.ya(c))return il(c,b)}};
ll=function(a){var b=hda;return function(c){return b(c)?c[a]:void 0}};
il=function(a,b){return(0,g.Jd)(a,function(a,d){return g.Oa(b,d)})};
ol=function(a,b){var c={sv:"654",cb:"j"};c.nas=$k.g.length;c.msg=a;if(g.u(b)){var d=ml(b);d&&(c.e=nl[d])}return c};
ml=function(a){var b=a.toLowerCase();return Tb(Nk,function(a){return a==b})};
pl=function(a,b){Ck.call(this,a,b)};
ida=function(){this.l=this.A=this.C=this.B=this.o=this.g=""};
jda=function(){};
ql=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.Aa(l)?f[k]=l(a):f[k]=a[l])}else g.cc(f,a);g.u(c)&&g.cc(f,c);a=Jj(Hj(new Gj,eca(f)));0<a.length&&g.u(d)&&g.u(e)&&(e=e(a),a+="&"+d+"="+e);return a};
rl=function(){};
sl=function(a){a=kda(a);Dj.call(this,a.length?a[a.length-1]:new tj(window,0));this.o=a;this.A=g.z;this.l=null};
kda=function(a){if(!a.length)return[];a=(0,g.Jd)(a,function(a){return null!=a&&a.Ui()});
for(var b=1;b<a.length;b++)wj(a[b-1],a[b]);return a};
tl=function(){tj.call(this,ci,1,"osd");this.ba=[];this.Z=this.I=this.D=0;this.J=!0};
ul=function(a){var b=0;a=a.ad;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};
vl=function(a){a.ad.clearInterval(a.I);a.I=0};
wl=function(a,b){var c=ul(a),d=!c;d&&(c=a.ad.parent);if(c&&c.postMessage)try{c.postMessage(b,"*"),d&&a.ad.postMessage(b,"*")}catch(e){}};
lda=function(a,b){(0,g.C)(a.ba,function(a){a(b)})};
xl=function(){this.A=this.H=!1;this.o=null;this.l=new rl;this.g=null;var a={};this.I=(a.start=this.iK,a.firstquartile=this.dK,a.midpoint=this.fK,a.thirdquartile=this.jK,a.complete=this.bK,a.pause=this.Pu,a.resume=this.AD,a.skip=this.hK,a.viewable_impression=this.ih,a.mute=this.Jk,a.unmute=this.Jk,a.fullscreen=this.eK,a.exitfullscreen=this.cK,a.fully_viewable_audible_half_duration_impression=this.ih,a.measurable_impression=this.ih,a.abandon=this.Pu,a.engagedview=this.ih,a.impression=this.ih,a.creativeview=
this.ih,a.progress=this.Jk,a.custom_metric_viewable=this.ih,a.bufferstart=this.Pu,a.bufferfinish=this.AD,a);a={};this.J=(a.overlay_resize=this.gK,a.abandon=this.rs,a.close=this.rs,a.collapse=this.rs,a.overlay_unmeasurable_impression=function(a){return Pk(a,"overlay_unmeasurable_impression",dl($k))},a.overlay_viewable_immediate_impression=function(a){return Pk(a,"overlay_viewable_immediate_impression",dl($k))},a.overlay_unviewable_impression=function(a){return Pk(a,"overlay_unviewable_impression",
dl($k))},a.overlay_viewable_end_of_session_impression=function(a){return Pk(a,"overlay_viewable_end_of_session_impression",dl($k))},a);
ej.getInstance().I=3};
yl=function(a,b,c,d){b=a.Gp(null,d,!0,b);b.C=c;b.At=function(b){a.os(b)};
dda([b]);return b};
mda=function(){var a=[],b=ej.getInstance();si(b.qb,"osd")&&b.g&&b.l&&"exc"!=b.zb&&(ej.getInstance().l=!1,a.push(tl.getInstance()));return[new Uk(ci),new sl(a)]};
nda=function(a){if(!a.H){a.H=!0;try{var b=ti(),c=ej.getInstance();ui=b;zl=tk(ci).ad;bl($k,!1);bda();if("nis"!=c.zb&&"gsv"!=c.zb)if(ci.document.body&&ci.document.body.getBoundingClientRect){$k.o.kI=0;$k.o.jL=ti()-b;var d=mda(),e=Sk.getInstance();e.l=d;if(Pca(e,function(){c.l=!1;Al()}))$k.done||(al(),wj(e.g.g,a));
else if(c.g&&"exc"!=c.zb){var f=!!si(c.qb,"osd");if(c.l&&!f){var k=tl.getInstance();k.initialize();wj(k,a)}else Al()}else al()}else Bl=!0}catch(l){throw $k.reset(),l;}}};
Fl=function(a){var b=ej.getInstance();if(null==a.o)switch(b.zb){case "nis":a.o="n";break;case "gsv":a.o="m";break;default:a.o="h"}return a.o};
Gl=function(a,b,c){if(null==a.g)return b.Lk|=4,!1;a=Dk(a.g,c,b);b.Lk|=a;return 0==a};
Al=function(){a:{var a=$k;if(void 0===b){var b=ej.getInstance().qb;var c=[];0===(si(b,"nio_mode")||0)&&c.push(a.IV);c.push(a.HV);b=c}b=g.p(b);for(c=b.next();!c.done;c=b.next())if(c.value.call(a,ci)){a=!0;break a}a=!1}a?al():($k.A.cancel(),Hl="i",$k.done=!0)};
Il=function(a,b,c){if(!b.tb){var d=Pk(b,"start",dl($k));a=a.l.g(d).g;d=zl||ci;var e=[];e.push("v=654v");e.push("r="+c);e.push(a);e.push(gda(d));Mj("//pagead2.googlesyndication.com/pagead/gen_204?id=lidarvf&"+e.join("&"));b.tb=!0}};
Jl=function(a,b,c,d){cl($k,[a],!dl($k),d);Mk(a,c);4!=c&&Lk(a.M,c,a.ho);return Pk(a,b,dl($k))};
oda=function(a,b,c){if(0==b.Gc){"i"!=Hl&&($k.done=!1);var d=Sk.getInstance();null!=d.g&&oca(b,d.g);ok(b,ci,ej.getInstance().zb,function(b){for(var c=[],d=0;d<arguments.length;++d)c[d-0]=arguments[d];return a.aK.apply(a,g.oa(c))});
d=g.u(c)?c.opt_nativeTime:void 0;xi=d=g.ua(d)?d:ti();b.qj=!0;var e=dl($k);Bca(b,d,e);cl($k,[b],!e,c)}};
pda=function(a,b){if(g.w(b)){if(1==a)var c=$k.g;else if(2==a)c=$k.l;else return;var d=g.Ja(c,function(c){return c.kf()!=a?!1:c.zd==b});
0<=d&&(qca(c[d]),g.Sa(c,d))}};
rda=function(a,b,c,d){var e=g.Ka($k.g,function(a){return a.element==c});
null!==e&&e.zd!=b&&(a.In(e),e=null);e||(e=qda(a,c,b),e.C=Fl(a),d&&(e.Fh=d));return e};
qda=function(a,b,c){b=a.Gp(b,ti(),!1,c);b.At=(0,g.A)(a.os,a);0==$k.l.length&&(ej.getInstance().H=79463069);eda([b]);al();return b};
sda=function(a,b){b.F=0;for(var c in Kl)null==a[c]&&(b.F|=Kl[c]);Ll(a,"currentTime");Ll(a,"duration")};
Ll=function(a,b){var c=a[b];g.u(c)&&0<c&&(a[b]=Math.floor(1E3*c))};
tda=function(){this.g=void 0;this.l=!1;this.o=0;this.A=-1;this.B="tos"};
vda=function(a){try{var b=a.split(",");return b.length>g.Pb(uda).length?null:Ij(b,function(a,b){var c=b.toLowerCase().split("=");if(2!=c.length||!g.u(Ml[c[0]])||!Ml[c[0]](c[1]))throw Error("Entry ("+c[0]+", "+c[1]+") is invalid.");a[c[0]]=c[1];return a},{})}catch(c){return null}};
wda=function(a,b){if(void 0==a.g)return 0;switch(a.B){case "mtos":return a.l?Xj(b.o,a.g):Xj(b.g,a.g);case "tos":return a.l?Vj(b.o,a.g):Vj(b.g,a.g)}return 0};
Nl=function(a,b,c,d){Ck.call(this,b,d);this.Ea=a;this.C=c};
Ol=function(a){Ck.call(this,"fully_viewable_audible_half_duration_impression",a)};
Pl=function(a){return!a||"function"!==typeof a||0>String(Function.prototype.toString).indexOf("[native code]")?!1:0<=String(a).indexOf("[native code]")&&!0||!1};
Rl=function(a){return!!(1<<a&Ql)};
Bda=function(){try{xda()}catch(d){}var a="a=1&b="+Ql+"&",b=[],c=99;(0,g.C)(yda,function(a,c){var d=!1;try{d=a(ci)}catch(k){}b[c/32>>>0]|=d<<c%32});
(0,g.C)(b,function(b,e){a+=String.fromCharCode(c+e)+"="+(b>>>0).toString(16)+"&"});
c=105;(0,g.C)(zda,function(b){var d="false";try{d=b(ci)}catch(f){}a+=String.fromCharCode(c++)+"="+d+"&"});
(0,g.C)(Ada,function(b){var d="";try{var f=b(ci);d=g.ge(g.be(f),!0)}catch(k){}a+=String.fromCharCode(c++)+"="+d+"&"});
return a.slice(0,-1)};
xda=function(){if(!Sl){var a=function(){Tl=!0;ci.document.removeEventListener("webdriver-evaluate",a,!0)};
ci.document.addEventListener("webdriver-evaluate",a,!0);var b=function(){Ul=!0;ci.document.removeEventListener("webdriver-evaluate-response",b,!0)};
ci.document.addEventListener("webdriver-evaluate-response",b,!0);Sl=!0}};
Vl=function(){this.l=64;this.g=Array(4);this.B=Array(this.l);this.A=this.o=0;this.reset()};
Wl=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.g[0];c=a.g[1];e=a.g[2];var f=a.g[3];var k=b+(f^c&(e^f))+d[0]+3614090360&4294967295;b=c+(k<<7&4294967295|k>>>25);k=f+(e^b&(c^e))+d[1]+3905402710&4294967295;f=b+(k<<12&4294967295|k>>>20);k=e+(c^f&(b^c))+d[2]+606105819&4294967295;e=f+(k<<17&4294967295|k>>>15);k=c+(b^e&(f^
b))+d[3]+3250441966&4294967295;c=e+(k<<22&4294967295|k>>>10);k=b+(f^c&(e^f))+d[4]+4118548399&4294967295;b=c+(k<<7&4294967295|k>>>25);k=f+(e^b&(c^e))+d[5]+1200080426&4294967295;f=b+(k<<12&4294967295|k>>>20);k=e+(c^f&(b^c))+d[6]+2821735955&4294967295;e=f+(k<<17&4294967295|k>>>15);k=c+(b^e&(f^b))+d[7]+4249261313&4294967295;c=e+(k<<22&4294967295|k>>>10);k=b+(f^c&(e^f))+d[8]+1770035416&4294967295;b=c+(k<<7&4294967295|k>>>25);k=f+(e^b&(c^e))+d[9]+2336552879&4294967295;f=b+(k<<12&4294967295|k>>>20);k=e+
(c^f&(b^c))+d[10]+4294925233&4294967295;e=f+(k<<17&4294967295|k>>>15);k=c+(b^e&(f^b))+d[11]+2304563134&4294967295;c=e+(k<<22&4294967295|k>>>10);k=b+(f^c&(e^f))+d[12]+1804603682&4294967295;b=c+(k<<7&4294967295|k>>>25);k=f+(e^b&(c^e))+d[13]+4254626195&4294967295;f=b+(k<<12&4294967295|k>>>20);k=e+(c^f&(b^c))+d[14]+2792965006&4294967295;e=f+(k<<17&4294967295|k>>>15);k=c+(b^e&(f^b))+d[15]+1236535329&4294967295;c=e+(k<<22&4294967295|k>>>10);k=b+(e^f&(c^e))+d[1]+4129170786&4294967295;b=c+(k<<5&4294967295|
k>>>27);k=f+(c^e&(b^c))+d[6]+3225465664&4294967295;f=b+(k<<9&4294967295|k>>>23);k=e+(b^c&(f^b))+d[11]+643717713&4294967295;e=f+(k<<14&4294967295|k>>>18);k=c+(f^b&(e^f))+d[0]+3921069994&4294967295;c=e+(k<<20&4294967295|k>>>12);k=b+(e^f&(c^e))+d[5]+3593408605&4294967295;b=c+(k<<5&4294967295|k>>>27);k=f+(c^e&(b^c))+d[10]+38016083&4294967295;f=b+(k<<9&4294967295|k>>>23);k=e+(b^c&(f^b))+d[15]+3634488961&4294967295;e=f+(k<<14&4294967295|k>>>18);k=c+(f^b&(e^f))+d[4]+3889429448&4294967295;c=e+(k<<20&4294967295|
k>>>12);k=b+(e^f&(c^e))+d[9]+568446438&4294967295;b=c+(k<<5&4294967295|k>>>27);k=f+(c^e&(b^c))+d[14]+3275163606&4294967295;f=b+(k<<9&4294967295|k>>>23);k=e+(b^c&(f^b))+d[3]+4107603335&4294967295;e=f+(k<<14&4294967295|k>>>18);k=c+(f^b&(e^f))+d[8]+1163531501&4294967295;c=e+(k<<20&4294967295|k>>>12);k=b+(e^f&(c^e))+d[13]+2850285829&4294967295;b=c+(k<<5&4294967295|k>>>27);k=f+(c^e&(b^c))+d[2]+4243563512&4294967295;f=b+(k<<9&4294967295|k>>>23);k=e+(b^c&(f^b))+d[7]+1735328473&4294967295;e=f+(k<<14&4294967295|
k>>>18);k=c+(f^b&(e^f))+d[12]+2368359562&4294967295;c=e+(k<<20&4294967295|k>>>12);k=b+(c^e^f)+d[5]+4294588738&4294967295;b=c+(k<<4&4294967295|k>>>28);k=f+(b^c^e)+d[8]+2272392833&4294967295;f=b+(k<<11&4294967295|k>>>21);k=e+(f^b^c)+d[11]+1839030562&4294967295;e=f+(k<<16&4294967295|k>>>16);k=c+(e^f^b)+d[14]+4259657740&4294967295;c=e+(k<<23&4294967295|k>>>9);k=b+(c^e^f)+d[1]+2763975236&4294967295;b=c+(k<<4&4294967295|k>>>28);k=f+(b^c^e)+d[4]+1272893353&4294967295;f=b+(k<<11&4294967295|k>>>21);k=e+(f^
b^c)+d[7]+4139469664&4294967295;e=f+(k<<16&4294967295|k>>>16);k=c+(e^f^b)+d[10]+3200236656&4294967295;c=e+(k<<23&4294967295|k>>>9);k=b+(c^e^f)+d[13]+681279174&4294967295;b=c+(k<<4&4294967295|k>>>28);k=f+(b^c^e)+d[0]+3936430074&4294967295;f=b+(k<<11&4294967295|k>>>21);k=e+(f^b^c)+d[3]+3572445317&4294967295;e=f+(k<<16&4294967295|k>>>16);k=c+(e^f^b)+d[6]+76029189&4294967295;c=e+(k<<23&4294967295|k>>>9);k=b+(c^e^f)+d[9]+3654602809&4294967295;b=c+(k<<4&4294967295|k>>>28);k=f+(b^c^e)+d[12]+3873151461&4294967295;
f=b+(k<<11&4294967295|k>>>21);k=e+(f^b^c)+d[15]+530742520&4294967295;e=f+(k<<16&4294967295|k>>>16);k=c+(e^f^b)+d[2]+3299628645&4294967295;c=e+(k<<23&4294967295|k>>>9);k=b+(e^(c|~f))+d[0]+4096336452&4294967295;b=c+(k<<6&4294967295|k>>>26);k=f+(c^(b|~e))+d[7]+1126891415&4294967295;f=b+(k<<10&4294967295|k>>>22);k=e+(b^(f|~c))+d[14]+2878612391&4294967295;e=f+(k<<15&4294967295|k>>>17);k=c+(f^(e|~b))+d[5]+4237533241&4294967295;c=e+(k<<21&4294967295|k>>>11);k=b+(e^(c|~f))+d[12]+1700485571&4294967295;b=c+
(k<<6&4294967295|k>>>26);k=f+(c^(b|~e))+d[3]+2399980690&4294967295;f=b+(k<<10&4294967295|k>>>22);k=e+(b^(f|~c))+d[10]+4293915773&4294967295;e=f+(k<<15&4294967295|k>>>17);k=c+(f^(e|~b))+d[1]+2240044497&4294967295;c=e+(k<<21&4294967295|k>>>11);k=b+(e^(c|~f))+d[8]+1873313359&4294967295;b=c+(k<<6&4294967295|k>>>26);k=f+(c^(b|~e))+d[15]+4264355552&4294967295;f=b+(k<<10&4294967295|k>>>22);k=e+(b^(f|~c))+d[6]+2734768916&4294967295;e=f+(k<<15&4294967295|k>>>17);k=c+(f^(e|~b))+d[13]+1309151649&4294967295;
c=e+(k<<21&4294967295|k>>>11);k=b+(e^(c|~f))+d[4]+4149444226&4294967295;b=c+(k<<6&4294967295|k>>>26);k=f+(c^(b|~e))+d[11]+3174756917&4294967295;f=b+(k<<10&4294967295|k>>>22);k=e+(b^(f|~c))+d[2]+718787259&4294967295;e=f+(k<<15&4294967295|k>>>17);k=c+(f^(e|~b))+d[9]+3951481745&4294967295;a.g[0]=a.g[0]+b&4294967295;a.g[1]=a.g[1]+(e+(k<<21&4294967295|k>>>11))&4294967295;a.g[2]=a.g[2]+e&4294967295;a.g[3]=a.g[3]+f&4294967295};
Xl=function(){this.l=null};
Yl=function(a){return function(b){var c=new Vl;c.update(b+a);return Paa(c.digest()).slice(-8)}};
Zl=function(a,b){this.l=a;this.o=b};
Dk=function(a,b,c){var d=a.g(c);if(g.Aa(d)){var e={};e=(e.sv="654",e.cb="j",e.e=Cda(b),e);var f=Pk(c,b,dl($k));g.cc(e,f);c.tA[b]=f;a=2==c.kf()?fca(e).join("&"):a.o.g(e).g;try{return d(c.zd,a,b),0}catch(k){return 2}}else return 1};
Cda=function(a){var b=Tb(Nk,function(b){return b==a});
return nl[b]};
$l=function(a,b,c){Zl.call(this,a,b);this.A=c};
am=function(a,b){this.g=a;this.depth=b};
bm=function(a){function b(a,b){return null==a?b:a}
a=a||Bi();var c=Math.max(a.length-1,0),d=Di(a);a=d.g;var e=d.l,f=d.o,k=[];f&&k.push(new am([f.url,f.gt?2:0],b(f.depth,1)));e&&e!=f&&k.push(new am([e.url,2],0));a.url&&a!=f&&k.push(new am([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=xba(a.url))&&d.push([new am([e,1],b(a.depth,c))]);d.push([]);return(0,g.I)(d,function(a){return Dda(c,a)})};
Dda=function(a,b){(0,g.cm)(b,function(a){return 0<=a.depth});
var c=Ij(b,function(a,b){return Math.max(a,b.depth)},-1),d=haa(c+2);
d[0]=a;(0,g.C)(b,function(a){return d[a.depth+1]=a.g});
return d};
dm=function(){var a=bm();return(0,g.I)(a,function(a){return Gi(a)})};
em=function(){xl.call(this);this.B=void 0;this.F=null;this.C=!1;this.D={};this.l=new Xl};
fm=function(){var a=em.getInstance(),b="h"==Fl(a)||"b"==Fl(a),c="exc"!=ej.getInstance().zb;b&&c&&(a.C=!0,a.F=new Jca)};
Eda=function(a,b,c){var d=c.opt_configurable_tracking_events;if(null!=a.g&&g.ya(d)){var e=a.g;(0,g.C)(d,function(a){if(!(1<eaa(d,function(b){return b.id==a.id||b.event==a.event}))){var c=(0,g.I)(a.s4,function(a){var b=vda(a);
if(null==b)a=null;else if(a=new tda,null!=b.visible&&(a.g=b.visible/100),null!=b.audible&&(a.l=1==b.audible),null!=b.time){var c="mtos"==b.timetype?"mtos":"tos",d=lb(b.time,"%")?"%":"ms";b=(0,window.parseInt)(b.time,10);"%"==d&&(b/=100);"ms"==d?(a.o=b,a.A=-1):(a.o=-1,a.A=b);a.B=void 0===c?"tos":c}return a});
(0,g.zj)(c,function(a){return null==a})||Cca(b,new Nl(a.id,a.event,c,e))}})}};
Fda=function(a,b,c){var d=el(b);d||(d=c.opt_nativeTime||-1,d=yl(a,b,Fl(a),d),c.opt_osdId&&(d.Fh=c.opt_osdId));return d};
Gda=function(a,b,c){var d=el(b);d||(d=yl(a,b,"n",c.opt_nativeTime||-1),d.H=ej.getInstance().F);return d};
Hda=function(a,b){var c=el(b);c||(c=yl(a,b,"h",-1));return c};
Ida=function(a){var b=ej.getInstance();switch(Fl(a)){case "b":return"ytads.bulleit.triggerExternalActivityEvent";case "n":return"ima.bridge.triggerExternalActivityEvent";case "h":if("exc"==b.zb)return"ima.bridge.triggerExternalActivityEvent";case "m":case "ml":return"ima.common.triggerExternalActivityEvent"}return null};
gm=function(a,b,c,d){c=void 0===c?{}:c;var e={};g.cc(e,{opt_adElement:void 0,opt_fullscreen:void 0},c);if(e.opt_bounds)return a.l.g(ol("ol",d));if(g.u(d))if(c=ml(d),g.u(c))if(Bl)b=ol("ue",d);else if(b=a.ko(b,e)){b:{nda(a);"i"==Hl&&(b.rh=!0,a.ev(b));c=e.opt_fullscreen;g.u(c)&&(b.Uf=!!c);gl()?c=!1:(c=ej.getInstance().zb,c=ci&&ci.g||"nis"===c||"gsv"===c?!1:0===hj());var f=c;if(f){switch(b.kf()){case 1:Il(a,b,"pv");break;case 2:a.av(b)}$k.A.cancel();Hl="pv";$k.done=!0}c=d.toLowerCase();!f&&g.Oa(Jda,c)&&
oda(a,b,e);0!=b.Gc&&g.Oa(Kda,c)&&!b.rh&&!a.A&&b.Ml&&(f=b.Ml,f.g||(f.g=Ek(f,b)));(f=b.Zi[c])&&b.Ic.Aa(f);switch(b.kf()){case 1:var k=a.I[c];break;case 2:k=a.J[c]}if(k&&(d=k.call(a,b,e,d),g.u(d))){e=ol(void 0,c);g.cc(e,d);d=e;break b}d=void 0}3==b.Gc&&a.In(b);b=d}else b=ol("nf",d);else b=void 0;else Bl?b=ol("ue"):(b=a.ko(b,e))?(d=ol(),g.cc(d,Ok(b,!0,!1,!1)),b=d):b=ol("nf");return a.l.g(b)};
Lda=function(a,b,c){a=ej.getInstance();if(a.F!=b){a.F=b;var d=(0,g.zj)($k.g,function(a){return a.Gb});
(0,g.C)($k.g,function(a){b||d||(a.Zj=c);a.H=b;a.Gb=!1})}};
im=function(a,b){var c;if(b.Fh&&hm(a)){var d=a.D[b.Fh];d?c=function(a,b){d.o(a,b)}:null!==d&&cj("lidar::missingPlayerCallback",Error())}else c=g.y("ima.common.triggerViewabilityMeasurementUpdate");
if(g.Aa(c)){var e=Dca(b);e.nativeVolume=a.B;c(b.zd,e)}};
hm=function(a){return"exc"==ej.getInstance().zb||"h"!=Fl(a)&&Fl(a),!1};
jm=function(a){var b={};return b.viewability=a.g,b.googleViewability=a.o,b.moatInit=a.B,b.moatViewability=a.C,b.integralAdsViewability=a.A,b.doubleVerifyViewability=a.l,b};
km=function(a,b,c){c=void 0===c?{}:c;a=gm(em.getInstance(),b,c,a);return jm(a)};
lm=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};
Mda=function(){function a(){e[0]=1732584193;e[1]=4023233417;e[2]=2562383102;e[3]=271733878;e[4]=3285377520;q=n=0}
function b(a){for(var b=k,c=0;64>c;c+=4)b[c/4]=a[c]<<24|a[c+1]<<16|a[c+2]<<8|a[c+3];for(c=16;80>c;c++)a=b[c-3]^b[c-8]^b[c-14]^b[c-16],b[c]=(a<<1|a>>>31)&4294967295;a=e[0];var d=e[1],f=e[2],l=e[3],m=e[4];for(c=0;80>c;c++){if(40>c)if(20>c){var n=l^d&(f^l);var q=1518500249}else n=d^f^l,q=1859775393;else 60>c?(n=d&f|l&(d|f),q=2400959708):(n=d^f^l,q=3395469782);n=((a<<5|a>>>27)&4294967295)+n+m+q+b[c]&4294967295;m=l;l=f;f=(d<<30|d>>>2)&4294967295;d=a;a=n}e[0]=e[0]+a&4294967295;e[1]=e[1]+d&4294967295;e[2]=
e[2]+f&4294967295;e[3]=e[3]+l&4294967295;e[4]=e[4]+m&4294967295}
function c(a,c){if("string"===typeof a){a=(0,window.unescape)((0,window.encodeURIComponent)(a));for(var d=[],e=0,k=a.length;e<k;++e)d.push(a.charCodeAt(e));a=d}c||(c=a.length);d=0;if(0==n)for(;d+64<c;)b(a.slice(d,d+64)),d+=64,q+=64;for(;d<c;)if(f[n++]=a[d++],q++,64==n)for(n=0,b(f);d+64<c;)b(a.slice(d,d+64)),d+=64,q+=64}
function d(){var a=[],d=8*q;56>n?c(l,56-n):c(l,64-(n-56));for(var k=63;56<=k;k--)f[k]=d&255,d>>>=8;b(f);for(k=d=0;5>k;k++)for(var m=24;0<=m;m-=8)a[d++]=e[k]>>m&255;return a}
for(var e=[],f=[],k=[],l=[128],m=1;64>m;++m)l[m]=0;var n,q;a();return{reset:a,update:c,digest:d,MI: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}}};
Nda=function(a,b,c){var d=[],e=[];if(1==(g.ya(c)?2:1))return e=[b,a],(0,g.C)(d,function(a){e.push(a)}),mm(e.join(" "));
var f=[],k=[];(0,g.C)(c,function(a){k.push(a.key);f.push(a.value)});
c=Math.floor((new Date).getTime()/1E3);e=g.Pa(f)?[c,b,a]:[f.join(":"),c,b,a];(0,g.C)(d,function(a){e.push(a)});
a=mm(e.join(" "));a=[c,a];g.Pa(k)||a.push(k.join(""));return a.join("_")};
mm=function(a){var b=Mda();b.update(a);return b.MI().toLowerCase()};
g.nm=function(){var a=[],b=lm(String(g.x.location.href)),c=g.x.__OVERRIDE_SID;null==c&&(c=(new Ag(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 Ag(window.document)).get(c?"SAPISID":"APISID")),b)){c=c?"SAPISIDHASH":"APISIDHASH";var d=String(g.x.location.href);return d&&b&&c?[c,Nda(lm(d),b,a||null)].join(" "):null}return null};
g.om=function(a,b){this.l={};this.g=[];this.Oh=this.Ja=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.om)for(c=a.Cb(),d=0;d<c.length;d++)this.set(c[d],a.get(c[d]));else for(d in a)this.set(d,a[d])};
qm=function(a,b){return pm(a.l,b)};
rm=function(a){if(a.Ja!=a.g.length){for(var b=0,c=0;b<a.g.length;){var d=a.g[b];pm(a.l,d)&&(a.g[c++]=d);b++}a.g.length=c}if(a.Ja!=a.g.length){var e={};for(c=b=0;b<a.g.length;)d=a.g[b],pm(e,d)||(a.g[c++]=d,e[d]=1),b++;a.g.length=c}};
pm=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};
sm=function(a){if(a.ub&&"function"==typeof a.ub)return a.ub();if(g.w(a))return a.split("");if(g.za(a)){for(var b=[],c=a.length,d=0;d<c;d++)b.push(a[d]);return b}return g.Ob(a)};
tm=function(a){if(a.Cb&&"function"==typeof a.Cb)return a.Cb();if(!a.ub||"function"!=typeof a.ub){if(g.za(a)||g.w(a)){var b=[];a=a.length;for(var c=0;c<a;c++)b.push(c);return b}return g.Pb(a)}};
Oda=function(a,b){if(a.forEach&&"function"==typeof a.forEach)a.forEach(b,void 0);else if(g.za(a)||g.w(a))(0,g.C)(a,b,void 0);else for(var c=tm(a),d=sm(a),e=d.length,f=0;f<e;f++)b.call(void 0,d[f],c&&c[f],a)};
g.um=function(a,b){this.l=this.F=this.A="";this.B=null;this.H=this.o="";this.C=!1;var c;a instanceof g.um?(this.C=g.u(b)?b:a.C,g.vm(this,a.A),this.F=a.F,g.wm(this,a.l),g.xm(this,a.B),g.ym(this,a.o),zm(this,a.g.clone()),this.H=a.ki()):a&&(c=g.Dg(String(a)))?(this.C=!!b,g.vm(this,c[1]||"",!0),this.F=Am(c[2]||""),g.wm(this,c[3]||"",!0),g.xm(this,c[4]),g.ym(this,c[5]||"",!0),zm(this,c[6]||"",!0),this.H=Am(c[7]||"")):(this.C=!!b,this.g=new g.Bm(null,this.C))};
g.vm=function(a,b,c){a.A=c?Am(b,!0):b;a.A&&(a.A=a.A.replace(/:$/,""))};
g.wm=function(a,b,c){a.l=c?Am(b,!0):b;return a};
g.xm=function(a,b){if(b){b=Number(b);if((0,window.isNaN)(b)||0>b)throw Error("Bad port number "+b);a.B=b}else a.B=null;return a};
g.ym=function(a,b,c){a.o=c?Am(b,!0):b};
zm=function(a,b,c){b instanceof g.Bm?(a.g=b,Pda(a.g,a.C)):(c||(b=Cm(b,Qda)),a.g=new g.Bm(b,a.C));return a};
g.Dm=function(a,b,c){a.g.set(b,c);return a};
g.Em=function(a){return a instanceof g.um?a.clone():new g.um(a,void 0)};
Am=function(a,b){return a?b?(0,window.decodeURI)(a.replace(/%25/g,"%2525")):(0,window.decodeURIComponent)(a):""};
Cm=function(a,b,c){return g.w(a)?(a=(0,window.encodeURI)(a).replace(b,Rda),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null};
Rda=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)};
g.Bm=function(a,b){this.Ja=this.g=null;this.l=a||null;this.o=!!b};
Fm=function(a){a.g||(a.g=new g.om,a.Ja=0,a.l&&Hg(a.l,function(b,c){a.add(ob(b),c)}))};
Hm=function(a){var b=tm(a);if("undefined"==typeof b)throw Error("Keys are undefined");var c=new g.Bm(null,void 0);a=sm(a);for(var d=0;d<b.length;d++){var e=b[d],f=a[d];g.ya(f)?g.Gm(c,e,f):c.add(e,f)}return c};
Jm=function(a,b){Fm(a);b=Im(a,b);return qm(a.g,b)};
g.Gm=function(a,b,c){a.remove(b);0<c.length&&(a.l=null,a.g.set(Im(a,b),g.Wa(c)),a.Ja=a.Ja+c.length)};
Im=function(a,b){var c=String(b);a.o&&(c=c.toLowerCase());return c};
Pda=function(a,b){b&&!a.o&&(Fm(a),a.l=null,a.g.forEach(function(a,b){var c=b.toLowerCase();b!=c&&(this.remove(b),g.Gm(this,c,a))},a));
a.o=b};
g.Km=function(a){g.M.call(this);this.A=a;this.l={}};
Mm=function(a,b,c,d,e){Lm(a,b,c,d,!1,e)};
Lm=function(a,b,c,d,e,f){g.ya(c)||(c&&(Nm[0]=c.toString()),c=Nm);for(var k=0;k<c.length;k++){var l=g.of(b,c[k],d||a.handleEvent,e||!1,f||a.A||a);if(!l)break;a.l[l.key]=l}return a};
Pm=function(a,b,c,d,e){Om(a,b,c,d,!1,e)};
Om=function(a,b,c,d,e,f){if(g.ya(c))for(var k=0;k<c.length;k++)Om(a,b,c[k],d,e,f);else{b=nf(b,c,d||a.handleEvent,e,f||a.A||a);if(!b)return a;a.l[b.key]=b}return a};
g.Qm=function(a){g.Ib(a.l,function(a,c){this.l.hasOwnProperty(c)&&g.xf(a)},a);
a.l={}};
Rm=function(a,b,c){g.M.call(this);this.l=a;this.o=b;this.C=c;this.B=0;this.g=new g.Km(this);Sda(this)};
Sda=function(a){a.C.forEach(function(a,c){this.g.U(c,"mousedown",this.D);this.g.U(c,"mouseup",this.H)},a);
a.g.U(a.o,"mouseover",a.F)};
Sm=function(){};
g.Tm=function(a,b){return a.replace(Tda,function(a,d){try{var c=Yb(b,d);if(null==c)return a;c=c.toString();if(""==c||!g.D(g.F(c)))return(0,window.encodeURIComponent)(c).replace(/%2C/g,",")}catch(f){}return a})};
Vm=function(a,b){var c=[],d="",e="";if(null!=b){d=b;e=[];for(var f=0;d&&25>f;++f){a:{if(d&&d.nodeName&&d.parentElement){var k=d.nodeName.toString().toLowerCase();for(var l=d.parentElement.childNodes,m=0,n=0;n<l.length;++n){var q=l[n];if(q.nodeName&&q.nodeName.toString().toLowerCase()===k){if(d===q){k="."+m;break a}++m}}}k=""}e.push((d.nodeName&&d.nodeName.toString().toLowerCase())+""+k);d=d.parentElement}d=e.join();if(b){e=(e=b.ownerDocument)&&(e.defaultView||e.parentWindow)||null;f=[];if(e)try{var r=
e.parent;for(k=0;r&&r!==e&&25>k;++k){var v=r.frames;for(l=0;l<v.length;++l)if(e===v[l]){f.push(l);break}e=r;r=e.parent}}catch(E){}e=f.join()}else e=""}c.push(d,e);if(null!=a){for(r=0;r<Um.length-1;++r)c.push(Sg(a,Um[r])||"");r=Sg(a,"videoad_start_delay");v="";r&&(r=(0,window.parseInt)(r,10),v=0>r?"postroll":0==r?"preroll":"midroll");c.push(v)}else for(r=0;r<Um.length;++r)c.push("");c=c.join(":");r=c.length;if(0==r)c=0;else{v=305419896;for(d=0;d<r;d++)v^=(v<<5)+(v>>2)+c.charCodeAt(d)&4294967295;c=
0<v?v:4294967296+v}return c.toString()};
Wm=function(a,b,c){this.g=a;this.l=b;this.o=c};
Xm=function(a,b){this.g=a;this.hg=b};
Ym=function(a,b){g.af.call(this,"adError");this.l=a;this.g=b?b:null};
Zm=function(a,b,c){g.af.call(this,a);this.l=b;this.g=null!=c?c:null};
Uda=function(a){this.g=a};
Vda=function(){var a=$m();return an(a,"disableExperiments")};
an=function(a,b){if(Rb(a.g,b)){var c=a.g[b];if(g.ta(c))return c}return!1};
Wda=function(a){if(Rb(a.g,"forceExperimentIds")){a=a.g.forceExperimentIds;var b=[],c=0;g.ya(a)&&(0,g.C)(a,function(a){g.ua(a)&&(b[c++]=a)});
return b}return null};
bn=function(a){return(a=a.match(/^\w{2,3}([-_]|$)/))?a[0].replace(/[_-]/g,""):""};
cn=function(){this.A="always";this.K=4;this.D=1;this.l=this.J=this.B=!1;this.Z=this.I=!0;this.Y=this.o=this.X=!1;this.H=!0;this.M=null;this.Ma=this.C=this.R=!1;try{this.ba=bm(void 0)[0]}catch(a){}};
$m=function(){var a=P;if(null==a.M){var b={},c=(new g.um(zd().location.href)).g;if(Jm(c,"tcnfp"))try{b=JSON.parse(c.get("tcnfp"))}catch(d){}a.M=new Uda(b)}return a.M};
Xda=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}};
dn=function(a){g.af.call(this,a);this.A=[];this.o={};this.g=null;this.l=!0};
en=function(a,b,c){this.A=b;this.l=c;this.B=a;this.o=!0};
fn=function(){};
gn=function(a,b,c){this.Ea=a;this.g=g.ad(b||0,0,1);this.l=null!=c?c:!0};
hn=function(a){this.Ea=a;this.l=new g.om;this.Ya=this.g=null};
Yda=function(a){var b=Math.random(),c=0,d=a.l.ub();(0,g.C)(d,function(a){c+=a.g},a);
var e=1<c?c:1;a.g=null;for(var f=0,k=0;k<d.length;++k)if(f+=d[k].g,f/e>=b){a.g=d[k];break}};
$da=function(){this.l=null!=g.x.G_testRunner;this.o=new fn;this.g=new g.om;P.g()||(jn(this,"GvnExternalLayer",31061774,.01),jn(this,"GvnExternalLayer",31061775,.01),jn(this,"GvnExternalLayer",41351088,.01),jn(this,"GvnExternalLayer",41351089,.01),jn(this,"GvnExternalLayer",420706008,.05),jn(this,"GvnExternalLayer",420706009,.05),jn(this,"GvnExternalLayer",41351073,.01),jn(this,"GvnExternalLayer",41351074,.01),jn(this,"GvnExternalLayer",41351075,.01),jn(this,"GvnExternalLayer",634360101,0),jn(this,
"GvnExternalLayer",634360102,0),jn(this,"GvnExternalLayer",21592080,.1),jn(this,"GvnExternalLayer",21592081,.1),jn(this,"GvnExternalLayer",413051059,.05),jn(this,"GvnExternalLayer",413051060,.05),jn(this,"GvnExternalLayer",324123E3,.05),jn(this,"GvnExternalLayer",324123001,.05),jn(this,"GvnExternalLayer",420706068,.01),jn(this,"GvnExternalLayer",420706069,.01),jn(this,"GvnExternalLayer",324123020,.01),jn(this,"GvnExternalLayer",324123021,.01));jn(this,"ActiveViewExternalLayer",953563515,.01);jn(this,
"ActiveViewExternalLayer",953563516,.01);jn(this,"ActiveViewExternalLayer",953563517,.01);Zda(this);var a=$m();a=Wda(a);null!=a&&(this.l=!1,kn(this,a.map(String)))};
mn=function(){ln||(ln=new $da);return ln};
nn=function(){return mn().o};
aea=function(a,b){a.o=b};
bea=function(){var a=mn();(0,g.C)(a.g.Cb(),function(a){g.kb(a,"FORCED_PUB_EXP_LAYER_")&&this.g.remove(a)},a)};
jn=function(a,b,c,d){g.D(g.F(b))||(0,window.isNaN)(c)||0>=c||(c=new gn(c,d),on(a,b).l.set(c.getId(),c))};
Zda=function(a){Vda()||(0,g.C)(a.g.ub(),function(a){Yda(a)},a)};
kn=function(a,b){(0,g.C)(b,function(a){var b=Number(a);a="FORCED_PUB_EXP_LAYER_"+a;(0,window.isNaN)(b)||0>=b||g.D(g.F(a))||(on(this,a).g=new gn(b,0,!0))},a)};
pn=function(a,b){return a.l?!1:(0,g.zj)(a.g.ub(),function(a){return!!a.g&&a.g.getId()==b})};
qn=function(a){if(a.l)return"";var b=[];(0,g.C)(a.g.ub(),function(a){(a=a.g)&&a.l&&b.push(a.getId())});
return b.sort().join(",")};
on=function(a,b){var c=a.g.get(b);null==c&&(c=new hn(b),a.g.set(b,c));return c};
dea=function(a){var b=[];(0,g.C)(cea,function(c){(c=(c=on(a,c))?c.g:null)&&b.push(c.getId())});
return b};
sn=function(a){return null!=a?rn(eea,a):!1};
rn=function(a,b){try{var c=(new g.um(b)).l;c=c.replace(/^www./i,"");return(0,g.zj)(a,function(a){return fea(a,c)})}catch(d){return!1}};
fea=function(a,b){if(g.D(g.F(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};
un=function(a){var b=!1;tn(a,gea)?b=!1:sn(a)?b=!0:"https:"==window.location.protocol&&(tn(a,hea)||P.g())&&(b=!0);if(b){b=new g.um(a);if("https"==b.A)return a;g.vm(b,"https");return b.toString()}return a};
tn=function(a,b){return(new RegExp("^https?://([a-z0-9-]{1,63}\\.)*("+b.join("|").replace(/\./g,"\\.")+")(:[0-9]+)?([/?#]|$)","i")).test(a)};
vn=function(a){if(g.D(g.F(a)))return!1;a=new g.um(a);if(!a.A||"http"!=a.A&&"https"!=a.A)return!1;a=a.l;return-1==a.indexOf(".")||a.match(/^[\.0-9]*$/)?!1:!0};
wn=function(a){g.D(g.F(a))||(a=g.Ic(a),a=g.Fc(a),window.open(a,"_blank"))};
yn=function(a,b,c){null!=a?(g.Dm(a,"label",b),null!=c&&g.Dm(a,"value",c.join(";")),a=a.toString()):a="";xn(a)};
zn=function(a,b,c,d){null!=a&&null!=b&&(a=g.Tm(a,b));try{if(null!=c){b=a;var e=(c||{}).viewability||"na";if(g.D(g.F(e)))a=b;else{var f=new g.um(b);Jm(f.g,"label")?(g.Dm(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.Tm(c,k);if(2048>l.length){a=l;break a}}a=c}}catch(m){}return a};
xn=function(a,b,c,d){a=zn(a,b,c,void 0);try{a=un(a);var e=mn(),f=!P.g()||pn(e,41351089);b=!1;P.g()||!pn(mn(),634360102)||(b=!0);null!=d&&d?An.QD(a,f):P.H?An.iV(a,f,b):An.MD(a,f,b)}catch(k){}};
Bn=function(a,b){null!=a&&(0,g.C)(a,function(a){xn(a,b)})};
iea=function(a,b){if(g.D(g.F(b)))return a;var c=new g.um(a),d=c.l;return null!=d&&lb(d,".g.doubleclick.net")?(g.Dm(c,"ged",b),c.toString()):a};
Cn=function(a,b){this.message=a;this.errorCode=b};
En=function(a,b,c){return Dn("adLoadError",a,b||null,g.Ya(arguments,2))};
Fn=function(a,b,c){return Dn("adPlayError",a,b||null,g.Ya(arguments,2))};
Gn=function(a,b,c,d,e){var f=a.apply(null,g.Va([c,d],g.Ya(arguments,3)));b.dispatchEvent(new Zm("log",null,f))};
Hn=function(a,b,c){Gn(Fn,a,b,c,void 0)};
Dn=function(a,b,c,d){if(c instanceof en)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 en(a,b,e);a.Hl=c;return a};
In=function(a,b,c,d){var e=Fn.apply(null,g.Va([b,c],g.Ya(arguments,3)));a.dispatchEvent(new Ym(e))};
Jn=function(a,b){g.af.call(this,"vpaidEventType");this.g=a;this.data=b};
Kn=function(a){return(a=a.exec(g.Gb))?a[1]:""};
g.Ln=function(a){return 0<=g.zb(jea,a)};
Mn=function(){return sj()||rj()};
Pn=function(){return Nn&&!On||tb(g.Gb,"iPod")};
Qn=function(){return Pn()||On};
Tn=function(a){return Qn()&&Rn(Sn,a)};
Wn=function(a){return g.Un&&Rn(Vn,a)};
Rn=function(a,b){if(null==Xn[b]){var c=Yn(a);c?(c=c.replace(/_/g,"."),Xn[b]=0<=g.zb(c,b)):Xn[b]=!1}return Xn[b]};
Yn=function(a){g.D(Zn)&&(a=a.exec(g.Gb))&&(Zn=a[1]);return Zn};
$n=function(){var a=g.Gb;return a?tb(a,"Nintendo WiiU"):!1};
ao=function(){return Nn&&!On&&Tn(10)&&P.g()||!P.g()&&(Nn&&!On&&Tn(10),0)?!0:Pn()||g.Un&&!Wn(4)||!P.g()&&gl()?!1:!0};
bo=function(){var a;(a=P.l||!1)||(a=!1);return a||Qn()&&(Nn&&!On&&Tn(10),!0)||g.Un&&!Wn(4)||gl()?!0:!1};
co=function(a){return!(null===a||a.Nj()||P.g()||Pn()||gl()||g.Un&&!Wn(4))};
eo=function(){this.reset()};
fo=function(a,b){null!=b&&a.l!=b?(a.g=1,a.l=b):a.g=null!=b?a.g+1:1;return a.g};
go=function(a,b,c,d,e,f){g.w(a)?(this.g="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.g=a||0,this.months=b||0,this.days=c||0,this.hours=d||0,this.minutes=e||0,this.seconds=f||0)};
g.jo=function(a,b,c){g.ua(a)?(this.date=ho(a,b||0,c||1),io(this,c||1)):g.Ba(a)?(this.date=ho(a.getFullYear(),a.getMonth(),a.getDate()),io(this,a.getDate())):(this.date=new Date((0,g.G)()),a=this.date.getDate(),this.date.setHours(0),this.date.setMinutes(0),this.date.setSeconds(0),this.date.setMilliseconds(0),io(this,a))};
ho=function(a,b,c){b=new Date(a,b,c);0<=a&&100>a&&b.setFullYear(b.getFullYear()-1900);return b};
io=function(a,b){a.getDate()!=b&&a.date.setUTCHours(a.date.getUTCHours()+(a.getDate()<b?1:-1))};
ko=function(){this.l=this.g=null};
mo=function(){this.g=lo();this.J=-1;this.K=this.M=this.B=this.I=this.l=null;this.A=lo();this.o=null;this.X=this.D=this.H="";this.F=this.R=this.Y=this.C=null;this.Z=0};
lo=function(){return Math.floor(4503599627370496*Math.random())};
no=function(a){null==a.B&&(a.B=new eo);return a.B};
oo=function(a){if(P.l)return"h.3.0.0";var b="h."+a.X;null!=a.C&&(b+="/n."+a.C,null!=a.l&&(b+="/"+a.l));return b};
po=function(){this.g=.01>Math.random();this.l=Math.floor(4503599627370496*Math.random())};
so=function(a,b,c,d){if(a.g||d){c=c||{};c.lid=b;c.sdkv=oo(qo);b=qn(mn());g.D(g.F(b))||(c.e=b);c=kea(a,c);var e=new g.um("http://pagead2.googlesyndication.com/pagead/gen_204");g.Ib(c,function(a,b){g.Dm(e,b,null!=a?"boolean"==typeof a?a?"t":"f":""+a:"")},a);
a=ro();g.vm(e,a.A);xn(e.toString())}};
kea=function(a,b){b.id="ima_html5";var c=ro();b.c=a.l;b.domain=c.l;return b};
ro=function(){var a=zd(),b=window.document;return new g.um(a.parent==a?a.location.href:b.referrer)};
to=function(){this.sf=1E4};
uo=function(){g.Cf.call(this)};
vo=function(){g.Cf.call(this);this.g=new g.om;this.l=null;this.W=new g.Km(this);g.N(this,this.W);this.B="";this.A=this.H=this.D=this.o=null;this.F=-1};
xo=function(){null!=wo||(wo=new vo);return wo};
yo=function(a,b){var c={};c.queryId=a;c.viewabilityString=b;xo().dispatchEvent(new Zm("measurable_impression",null,c))};
zo=function(a,b){var c={};c.queryId=a;c.viewabilityString=b;xo().dispatchEvent(new Zm("viewable_impression",null,c))};
Ao=function(a,b,c){var d={};d.queryId=a;d.viewabilityString=b;d.eventName=c;xo().dispatchEvent(new Zm("externalActivityEvent",null,d))};
lea=function(a,b){if(a.l)if(a.A){var c=(0,g.G)()-a.F;b(a.A+"_ct"+c)}else{var d=a.g;c=window.setTimeout(function(){b("timeout");(0,g.C)(d.Cb(),function(a){d.get(a)===b&&d.remove(a)})},200);
a.g.set(c,b);var e={};e.osdId=a.B;e.eventId=c;po.getInstance().isLoggingEnabled()&&(a.C=(0,g.G)(),e.loggingId=Math.random(),so(po.getInstance(),43,{step:"sendingMessage",logid:e.loggingId,time:a.C}));a.l.send("activityMonitor","fetchAdTagUrl",e)}else b("")};
mea=function(a,b,c,d){if(a.l){var e={};e.queryId=c;e.vastEvent=b;a.B&&(e.osdId=a.B);e.isOverlay=null!=a.o;a.o&&(e.overlayBounds=g.Ih(a.o));var f=a.g;b=window.setTimeout(function(){d({viewability:"timeout"});(0,g.C)(f.Cb(),function(a){f.get(a)===d&&f.remove(a)})},200);
a.g.set(b,d);e.eventId=b;a.l.send("activityMonitor","reportVastEvent",e)}else d({})};
Bo=function(){};
Co=function(a){a=a.match(/[\d]+/g);if(!a)return"";a.length=3;return a.join(".")};
Fo=function(a,b){if(null==a||0>=a.width||0>=a.height)throw Fn(Do,null,"ad slot size",a.toString());this.l=a;this.g=null!=b?b:new Bo;this.B=Eo(nea,this.g.o)?this.g.o:"All";this.A=Eo(oea,this.g.creativeType)?this.g.creativeType:"All";this.D=Eo(pea,this.g.A)?this.g.A:"SelectExactMatch";this.F=Eo(qea,this.g.l)?this.g.l:"DisallowResize";this.o=null!=this.g.B?this.g.B:[];this.C=g.ua(this.g.g)&&0<this.g.g&&100>=this.g.g?this.g.g:90};
Io=function(a,b){var c=[];(0,g.C)(b,function(a){!g.D(g.F(a.g.l))&&((0,window.isNaN)(a.g.g)||(0,window.isNaN)(Go(a))||Go(a)==a.g.g)&&Ho(this,a)?c.push(a):(a=rea(this,a),null!=a&&!g.D(g.F(a.g.l))&&c.push(a))},a);
return c};
Ho=function(a,b){var c;if(c="Flash"!=b.nd()||Jo){if(c="All"==a.B||a.B==b.g.K)c=b.nd(),c=null!=c?"All"==a.A||a.A==c:!0;c&&(c=b.o,c=g.Pa(a.o)?!0:null!=c?0<=(0,g.Na)(a.o,c):!1)}if(c){var d=b.g.be();if("IgnoreSize"==a.D||g.id(a.l,d))c=!0;else if(c="SelectNearMatch"==a.D)"ResizeSmaller"==a.F?(d=d.width<=a.l.width&&d.height<=a.l.height?d:Ko(d,a.l),c=d.width,d=d.height):(c=d.width,d=d.height),c=c>a.l.width||d>a.l.height||c<a.C/100*a.l.width||d<a.C/100*a.l.height?!1:!0}else c=!1;return c};
rea=function(a,b){var c=b.l;return null!=c?g.Ka(c,function(a){return Ho(this,a)},a):null};
Ko=function(a,b){var c=Math.min(b.width/a.width,b.height/a.height);return new g.hd(c*a.width,c*a.height)};
Eo=function(a,b){return null!=b&&g.Sb(a,b)};
Lo=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)};
sea=function(a){var b={};(0,g.C)(a.split(","),function(a){var c=a.split("=");2==c.length&&(a=xb(c[0]),c=xb(c[1]),0<a.length&&(b[a]=c))});
return b};
No=function(a,b){if(a[b])return Mo(a[b]);var c=b.toLowerCase(),d;for(d in a)if(d&&d.toLowerCase()==c)return Mo(a[d]);return!1};
Mo=function(a){return a?-1!=a.toString().search(/(?:true|1)/i):!1};
tea=function(){this.g=this.Xe=1;this.l=this.A=0;this.o=1};
Oo=function(){g.Cf.call(this);this.g=null;this.W=new g.Km(this);g.N(this,this.W);this.l=new g.om;this.C=new g.om;this.A=null;this.o=!1;this.B=null};
Qo=function(){null!=Po||(Po=new Oo);return Po};
uea=function(){Qo();var a=mn(),b=ej.getInstance().qb;a=dea(a);Fba(b,a)};
So=function(a){if(null==a)return!1;if(Pn()&&null!=a.webkitDisplayingFullscreen)return a.webkitDisplayingFullscreen;var b=window.screen.availWidth||window.screen.width,c=window.screen.availHeight||window.screen.height;a=Ro(a);return 0>=b-a.width&&42>=c-a.height};
Ro=function(a){return g.Aa(a.getBoundingClientRect)&&g.Od(g.kd(a),a)?a.getBoundingClientRect():{left:a.offsetLeft,top:a.offsetTop,width:a.offsetWidth,height:a.offsetHeight}};
To=function(a,b,c,d,e){if(a.o){if(a.B)return a.B(b,c,e);e=e||{};if(d=d?a.C.get(d):P.F)null!=e.opt_fullscreen||(e.opt_fullscreen=So(d)),null!=e.opt_adElement||(e.opt_adElement=d);a.A&&(P.l&&(e.opt_overlayAdElement=a.A),null!=e.opt_bounds||(e.opt_bounds=Ro(a.A)));return aj("lidar::handlevast_html5",g.Ea(km,b,c,e))||{}}return{}};
Uo=function(a,b){var c=[];a.l.forEach(g.Ea(function(a,b,c,k){c==b&&a.push(k)},c,b));
(0,g.C)(c,a.l.remove,a.l)};
Vo=function(a){if(g.Aa(window.Goog_AdSense_Lidar_getUrlSignalsArray)){var b={};b.pageSignals=window.Goog_AdSense_Lidar_getUrlSignalsArray();a.g.send("activityMonitor","pageSignals",b)}};
vea=function(a,b,c){if(!P.I)return"";var d=b?a.C.get(b):P.F;a={};null!=c&&(a.fullscreen=c);c="";try{c=tba(function(){return d},a)}catch(e){c="sdktle;"+sb(e.name,12)+";"+sb(e.message,40)}return c};
Wo=function(a,b){g.af.call(this,a);this.g=b};
Xo=function(a,b){this.H=a;this.F=(0,g.I)(b,function(a){return a.clone()});
this.D="";this.A=null;this.g=this.o=0;this.l=!0;this.B=[];this.C=[]};
Yo=function(a,b,c,d,e){a.D="<div></div>";a.A=b;a.o=c;a.g=d;a.l=!1;a.B=e||[];a.C=[]};
Zo=function(a){a.D="";a.A=null;a.o=0;a.g=0;a.l=!0;a.B=[];a.C=[]};
$o=function(a){g.af.call(this,a)};
ap=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.Qb(b,"thumbnails","default","url"));if(b=a.statistics)this.videoCount=b.videoCount;if(a=a.brandingSettings)this.g=g.Qb(a,"image","bannerImageUrl")}};
g.bp=function(a){this.g="number"==typeof a?0<a?1:0>a?-1:null:null==a?null:a?-1:1};
g.cp=function(a,b){var c=a.l(b,void 0);return-1==(0==c?a.g:c)?"rtl":"ltr"};
dp=function(){throw Error("Do not instantiate directly");};
ep=function(a,b){this.content=String(a);this.al=null!=b?b:null};
fp=function(){dp.call(this)};
gp=function(){dp.call(this)};
hp=function(a,b){return null!=a&&a.nj===b};
ip=function(a){if(null!=a)switch(a.al){case 1:return 1;case -1:return-1;case 0:return 0}return null};
Q=function(a){return null!=a&&a.nj===jp?a:a instanceof g.Qc?kp(g.Rc(a),a.g()):kp(g.pb(String(String(a))),ip(a))};
np=function(a,b,c){var d="key_"+a+":"+b,e=lp[d];if(void 0===e||0>e)lp[d]=0,mp[d]=c;else if(0==e)throw Error('Encountered two active delegates with the same priority ("'+a+":"+b+'").');};
op=function(a,b){var c=mp["key_"+a+":"+b];c||""==b||(c=mp["key_"+a+":"]);return c?c:wea;throw Error('Found no active impl for delegate call to "'+a+(b?":"+b:"")+'" (and delcall does not set allowemptydefault="true").');};
wea=function(){return""};
R=function(a){return hp(a,jp)?String(String(a.cd()).replace(pp,"").replace(qp,"&lt;")).replace(xea,rp):g.pb(String(a))};
sp=function(a){return hp(a,jp)?String(String(a.cd()).replace(pp,"").replace(qp,"&lt;")).replace(yea,rp):String(a).replace(zea,rp)};
Aea=function(a){return"%"+a.charCodeAt(0).toString(16)};
up=function(a){a=g.nb(String(a));tp.lastIndex=0;return tp.test(a)?a.replace(tp,Aea):a};
Ap=function(a){if(hp(a,vp)||hp(a,wp))return xp(a);a instanceof Ec?a=xp(g.Fc(a)):a instanceof Ac?a=xp(Bc(a)):(a=String(a),a=Bea.test(a)?a.replace(yp,zp):"about:invalid#zSoyz");return a};
Bp=function(a){if(hp(a,vp)||hp(a,wp))return xp(a);a instanceof Ec?a=xp(g.Fc(a)):a instanceof Ac?a=xp(Bc(a)):(a=String(a),a=Cea.test(a)?a.replace(yp,zp):"about:invalid#zSoyz");return a};
Dp=function(a){var b=Cp[1]||(Cp[1]=new g.bp(1)),c=ip(a);null==c&&(c=yc(a+"",hp(a,jp)));return Dea(c!=b.g?-1==c?'dir="rtl"':1==c?'dir="ltr"':"":"")};
rp=function(a){return Eea[a]};
zp=function(a){return Fea[a]};
xp=function(a){return String(a).replace(yp,zp)};
Gea=function(a){return'<div class="'+Q("text-container")+" "+(a.image?Q("pyv"):"")+'"><div class="'+Q("text-inner-container")+'">'+(a.image?(a.Jc?'<a class="'+Q("text-image-link")+'" target="_blank" href="'+Q(a.Jc)+'">':'<a class="'+Q("text-image-link")+'" target="_blank">')+'<img src="'+Q(a.image)+'" class="'+Q("text-image")+" "+(a.PE?Q("yt-video-image"):"")+'">'+(a.duration?'<div class="'+Q("text-image-duration")+'">'+Q(a.duration)+"</div>":"")+"</a>":"")+(a.Jc?'<a class="'+Q("text-title")+'" href="'+
Q(a.Jc)+'" target="_blank" dir='+Q(a.dir)+">"+Q(a.title)+"</a>":"")+'<div class="'+Q("text-description")+'" dir='+Q(a.dir)+">"+Q(a.text)+"</div>"+(a.QE&&a.Jc?'<a target="_blank" href="'+Q(a.Jc)+'" class="'+Q("text-ad-channel")+'">'+Q(a.QE)+"</a>":"")+"</div></div>"};
Hea=function(a){return'<div class="'+Q("flash-container")+" "+(a.capture?Q("click-capture"):"")+'">'+(a.Jc?'<a class="click-layer" target="_blank" href="'+Q(a.Jc)+'"></a>':"")+'<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="//download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="'+Q(a.width)+'" height="'+Q(a.height)+'"><param name="movie" value="'+Q(a.url)+'"><param name="quality" value="high"><param name="wmode" value="transparent"><param name="AllowScriptAccess" value="never"><param name="FlashVars" value="clickTAG='+
up(a.Jc)+'"><embed width="'+Q(a.width)+'" height="'+Q(a.height)+'" wmode="transparent" type="application/x-shockwave-flash" src="'+Q(a.url)+'" allowscriptaccess="never" pluginspage="//www.macromedia.com/go/getflashplayer" flashvars="clickTAG='+up(a.Jc)+'"></object></div>'};
Iea=function(a){return'<div class="'+Q("image-container")+'" id="'+Q(a.id)+'" style="width:'+Q(a.width)+";height:"+Q(a.height)+';">'+(a.Jc?'<a target="_blank" href="'+Q(a.Jc)+'">':'<a target="_blank">')+'<img src="'+Q(a.url)+'" border="0"></a></div>'};
Jea=function(a){return'<div class="'+Q("image-container")+'" id="'+Q(a.id)+'">'+(a.Jc?'<a target="_blank" href="'+Q(a.Jc)+'">':'<a target="_blank">')+'<img src="'+Q(a.url)+'" border="0" style="max-width:100%;max-height:100%;"></a></div>'};
Ep=function(a){return'<div class="'+Q("image-container")+'" id="'+Q(a.id)+'" style="width:'+Q(a.width)+";height:"+Q(a.height)+';"></div>'};
Fp=function(){this.g=new g.om};
Gp=function(a,b){this.l=a;this.o=b};
Hp=function(a,b){Gp.call(this,"progress",a);this.g=b};
Jp=function(a,b){(0,g.C)(b,function(a){var b=a.Ub().toLowerCase(),c=Ip(this,b);c.push(a);this.g.set(b,c)},a)};
Kp=function(a,b,c,d){b=b.toLowerCase();c=null!=d?new Hp(c,d):new Gp(b,c);d=Ip(a,b);d.push(c);a.g.set(b,d)};
Ip=function(a,b){return null!=b?a.g.get(b.toLowerCase(),[]):[]};
Kea=function(a,b){var c=Ip(a,"progress");(0,g.C)(c,function(a){Lp(a.g,b)});
g.fb(c,function(a,b){return Mp(a.g)-Mp(b.g)})};
Np=function(a,b){return(0,g.I)(Ip(a,b),function(a){return a.Sa()})};
Op=function(){this.ia=-1;this.F={};this.sa="";this.Qj=new Fp};
Pp=function(a,b,c){a.sa=b;a.F=c};
Qp=function(a,b){var c=[],d=a.co();(0,g.C)(d,function(a){a=Ip(a.Qj,b)||[];c=g.Va(a,c)},a);
return c};
Lea=function(a){a=Qp(a,"feedbackShown");return(0,g.I)(a||[],function(a){return a.Sa()})};
Rp=function(a,b,c){var d=c||!1;return g.Ka(b.D,function(a){var b=a.g==this.g;return a instanceof this.constructor&&(d||b)},a)};
Sp=function(a,b,c,d,e,f,k,l,m){this.o=a;this.g=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.Bi=d;this.Zf=e;this.C=f;this.A=k;this.B=un(g.F(l));this.l=m};
Tp=function(a,b,c,d,e,f){Op.call(this);this.ia=a;this.A=b;this.o=c;this.l=g.Wa(d);this.B=null;this.C=e;this.ra=g.Wa(f);$a(this.ra,null,function(a){return a.J})};
Up=function(a){var b=new g.om,c=a.co();(0,g.C)(c,function(a){if(a instanceof Tp){var c=a.o;(0,g.C)(c.Cb(),function(a){b.set(a,g.Va(c.get(a),b.get(a)||[]))},this)}},a);
return b};
Wp=function(a){return Vp(a,"x-shockwave-flash")};
Vp=function(a,b){var c=g.Ka(a.l,function(a){return!g.D(g.F(a.g))&&-1!=a.g.indexOf(b)&&("VPAID"==a.l||"surveys"==a.l)});
return null!=c?c:null};
Yp=function(a,b,c,d,e){Op.call(this);g.D(g.F(a))&&(a=Bb()+"_ima");this.Ea=g.F(a);this.Gb=b;this.K=c;this.bb=d;this.l=e;this.J=[];null!=this.bb?this.Z=Xp[this.bb]||"Other":this.Z=null};
Zp=function(a,b,c){g.M.call(this);this.l=a;this.B=b;this.I=c;this.A=0;this.g={};this.o=new g.Km(this);g.N(this,this.o);Mea(this)};
Mea=function(a){(0,g.C)(a.I,function(a){this.o.U(a.element,"mousedown",this.D,!0);this.o.U(a.element,"mouseup",g.Ea(this.H,a),!0)},a);
a.o.U(a.B,"mouseenter",a.F)};
Nea=function(a,b){g.Ib(a.g,function(a,d){b=Ug(b,d,a)});
return b};
$p=function(a,b,c,d,e){Yp.call(this,a,b,c,d,e);this.fa=this.A=null;this.Ca=-2;this.o=null;this.ea=this.X=g.z;this.Y=[];this.Pa=[];this.C=!1;this.Ya=null};
cq=function(a,b){a.o=b;null!=a.A&&null!=b&&(aq(a,a.X),bq(a,a.ea))};
aq=function(a,b){null!=a.o&&null!=a.A&&(0,g.C)(a.Y,function(a){this.o.Da(a,"click",this.X);!g.D(g.F(this.qf()))&&this.o.U(a,"click",b)},a);
a.X=b};
bq=function(a,b){null!=a.o&&null!=a.A&&(a.o.Da(a.A,"creativeview",a.ea),a.o.U(a.A,"creativeview",b));a.ea=b};
dq=function(a,b){var c=a.Ea,d={};d.style="cursor:default;position:relative;z-index:1001;height:"+a.getHeight()+"px;";"Text"!=a.nd()&&(d.style+="width:"+a.Db()+"px");g.D(g.F(c))||(d.id=c);return g.K("DIV",d,b)};
eq=function(a){if(!a.C)return null;var b=Qp(a,"start");Xa(b,Qp(a,"creativeview"));if(null!=b&&!g.Pa(b)){var c=[];(0,g.C)(b,function(a){if(!g.D(g.F(a))){var b=g.md().uJ("IFRAME",{frameborder:0,style:"border:0;vertical-align:bottom;",src:Oea});g.nh(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",un(a.Sa()));b.setAttribute("id",d);this.Pa.push(d);g.Ra(c,b)}},a);
return c}return null};
Pea=function(a,b){if(null!=a.A)if(nn().g("cleanup_text_overlay_spam_signals")){var c=[];(0,g.C)(a.Y,function(a){c.push({element:a,FI:this.Lr(a)})},a);
new Zp(b,a.A,c)}else c=new g.om,(0,g.C)(a.Y,function(a){c.set(a,this.Lr(a))},a),new Rm(b,a.A,c)};
Qea=function(a){var b=[],c=a.co();(0,g.C)(c,function(a){b=g.Va(b,a.J)},a);
return b};
fq=function(a,b,c){var d=c||!1;return g.Ka(b.D,function(a){var b=a.g==this.g;return this instanceof a.constructor&&(d||b)},a)};
gq=function(a,b){this.g=null!=a?a:new Fp;this.H=null!=b?b:[]};
Rea=function(a,b){var c=b.g;(0,g.C)(c.Cb(),function(a){Jp(this.g,c.get(a))},a)};
hq=function(a,b){var c=Np(a.g,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.Oa(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.C)(b,function(b){g.S(a,b)});
else{var c={};(0,g.C)(g.iq(a),function(a){c[a]=!0});
(0,g.C)(b,function(a){c[a]=!0});
a.className="";for(var d in c)a.className+=0<a.className.length?" "+d:d}};
g.lq=function(a,b){a.classList?a.classList.remove(b):g.jq(a,b)&&(a.className=(0,g.Jd)(g.iq(a),function(a){return a!=b}).join(" "))};
g.mq=function(a,b){a.classList?(0,g.C)(b,function(b){g.lq(a,b)}):a.className=(0,g.Jd)(g.iq(a),function(a){return!g.Oa(b,a)}).join(" ")};
g.U=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.U(a,b,c);return c};
pq=function(a,b){var c=a(b||Sea,void 0,void 0);var d=g.md().createElement("DIV");c=Tea(c);d.innerHTML=c;1==d.childNodes.length&&(c=d.firstChild,1==c.nodeType&&(d=c));return d};
Tea=function(a){if(!g.Ba(a))return String(a);if(a instanceof dp){if(a.nj===jp)return a.cd();if(a.nj===qq)return g.pb(a.cd())}return"zSoyz"};
rq=function(a,b){$p.call(this,a,b,"Static","text","")};
sq=function(a){null!=a?rn(Uea,a)?(a=a.match(/yt_vid\/([a-zA-Z0-9_-]{11})/),a=null!=a&&1<a.length?a[1]:null):a=sn(a)?Vea(a):null:a=null;return a};
tq=function(a,b,c){if(null==a)return null;c=new g.um((null!=c?c:"//www.youtube.com/")+"watch");var d=c.g;d.set("v",a);d.set("feature",b?"trueview-instream":"instream");zm(c,d);return c.toString()};
uq=function(a){return null===a?!1:"pharma"==(new g.um(a)).ki().toLowerCase()};
Vea=function(a){if(g.D(g.F(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.um(a)).g;return Jm(a,"v")?a.get("v").toString():Jm(a,"video_id")?a.get("video_id").toString():null};
vq=function(a){return g.D(g.F(a))?null:"//i1.ytimg.com/vi/"+a+"/mqdefault.jpg"};
Bq=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.l?b.l:900;yq(d);zq(d,a);Aq(d,a);b=a.error.Pb();d.ERROR_MSG=a.error.Kd();d.IMA_ERROR=b;d.INTERNAL_ID="0";a=-1!=(0,g.Na)(Wea,b);d.BLOCKING_ERROR=a?"1":"0";d.YT_ERROR_CODE=3;return d};
Cq=function(a,b){var c={},d=new wq(null,a,g.u(b)?b:null);xq(c,d);yq(c);zq(c,d);Aq(c,d);c.BREAK_TYPE="0";c.SLOT_POS="0";c.MIDROLL_POS="0";if(null!=d.g){var e=d.g.o;if(null!=e&&null!=e.Uh&&null!=e.Uh.video_start_delay)e=e.Uh.video_start_delay,0==e?c.BREAK_TYPE="1":-1==e?c.BREAK_TYPE="3":(c.BREAK_TYPE="2",c.MIDROLL_POS=e);else{e=d.g.A;c.BREAK_TYPE=0==e.A?"1":-1==e.A?"3":"2";var f=d.g.Me();f&&(c.BREAK_TYPE=f);c.SLOT_POS=e.g-1;e=d.g.o;e=null!=e&&null!=e.kc&&null!=e.kc.GET_MIDROLL_POSITION_IN_SEC?e.kc.GET_MIDROLL_POSITION_IN_SEC:
null;f=Math.round(d.g.A.l);e=0<f&&e?e(f):f;0<e&&(c.MIDROLL_POS=e)}}Xea(c,d);Yea(c,d);d=a.rb;for(e=a;null!=e;)d=e.Ma+","+d,e=e.l;c.RWT=d;return c};
wq=function(a,b,c){this.error=a;this.g=b;this.l=c};
Dq=function(a,b){null!=b&&(a.VIEWABILITY=b)};
Eq=function(a,b,c,d){Zea(c,b)?a[c]=d||"":a[c]=""};
Zea=function(a,b){return(0,g.zj)($ea[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.l?b.l.getVideoUrl():""}};
a.TIMESTAMP={toString:function(){return(new Date).toISOString()}}};
Yea=function(a,b){a.AD_CPN={toString:function(){return b.l.He()}};
a.AD_MT={toString:function(){return Math.round(Math.max(0,1E3*b.l.getCurrentTime())).toString()}};
a.MT={toString:function(){return b.l?Math.round(Math.max(0,1E3*b.l.getCurrentTime(1))).toString():"0"}};
a.P_W={toString:function(){return null!=b.l&&null!=b.l.mh()?b.l.mh().width.toString():""}};
a.P_H={toString:function(){return null!=b.l&&null!=b.l.mh()?b.l.mh().height.toString():""}}};
yq=function(a){a.SDKV=oo(qo);a.EL="adunit";a.CONN="0";a.WT={toString:function(){return Date.now()}};
a.VED=""};
zq=function(a,b){if(null!=b.g&&null!=b.g.o&&null!=b.g.o.kc&&P.g()){var c=b.g.o.kc;(0,g.C)(afa,function(b){b in c&&(a[b]=c[b])})}};
Aq=function(a,b){if(null!=b.g){a.AD_ID=Fq(b.g);a.AD_SYS=Gq(b.g);var c=Hq(b.g);a.AQI=null!=c?c:"";a.AD_V={toString:function(){if(null!=b.l){var a=sq(b.l.getVideoUrl());if(null!=a)return a}return"0"}};
a.FORMAT_NAMESPACE="0";a.FORMAT_TYPE="0";a.FORMAT_SUBTYPE="0";c=[];try{c=Iq(b.g).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"}};
Xea=function(a,b){null!=b.g&&(a.AD_LEN={toString:function(){var a=b.g.getDuration();return 0>a?"-1":Math.round(1E3*a).toString()}},a.VOL={toString:function(){return null!=b.l?b.l.isMuted()?"0":Math.round(100*b.l.getVolume()).toString():""}})};
Lq=function(a,b,c){var d=null,e=c+b;(0,g.C)(a.D,function(f){if(No(f.F,"rm")){var k=Cq(a);Jq(a)&&(k.FILLED_OPPORTUNITY=0);Bn(a.X,k);(k=a.o)&&k.afcRmFallback&&(d=f)}else{if(k=f instanceof $p)0==c&&0==b||f instanceof rq?k=!0:(k=f.be(),k=k.width<=b&&k.height<=c);k&&(k=0==c&&0==b?0:c-f.be().height+b-f.be().width,"Flash"!=f.nd()||Jo)&&(null!=d?k<e?(d=f,e=k):k==e&&("Flash"==d.nd()&&"Javascript"==f.nd()?d=f:f.g<d.g&&(d=f)):(d=f,e=k))}});
Kq(a,d)};
Mq=function(a){var b=null;(0,g.C)(a.D,function(a){a instanceof Tp&&(null===b||a.g<b.g)&&(b=a)});
Kq(a,b)};
Nq=function(a,b,c,d){this.A=a;this.D=b;this.ads=0<this.A.length?this.A:this.D;this.C=c;this.B=this.F=!0;this.l=-1;this.g=null;this.I=this.o=0;this.J=d;this.logger=null};
Rq=function(a,b,c){var d=[],e=(0,g.A)(function(a){this.Rf()?this.Je(function(a){d.push(a);e(null)},function(a){301==a.Pb()?c(En(Oq)):e(a)}):0<d.length?b(d):(null==a&&(a=En(Pq)),1012==a.Pb()&&(a=En(Qq)),c(a))},a);
e(null)};
bfa=function(a,b){a.B=b;a.ads=a.Dy(a.A,a.D);a.l=-1};
cfa=function(a,b,c,d){var e=a.C.clone();e.l="";e.g=b.Xb;Sq(a,b,e,c,d)};
Sq=function(a,b,c,d,e){var f=b.getExtension("LocalRedirect");null!=f&&(f=f.o,null!=f&&(c.l=f));a.J.fetch(c,(0,g.A)(function(a){a instanceof Nq?(dfa(a,b,this.B&&b.tb,b.wb),d(a)):a instanceof Tq?e(new en("adLoadError","Ad source cannot contain playlist response.",2)):e(new en("adLoadError","Unknown ad source.",2))},a),e)};
efa=function(a){var b=0;for(a=a.l;null!=a;)a=a.l,b++;return b};
ffa=function(a,b,c){a.g.Rf()?a.g.Je((0,g.A)(function(a){this.yp(a,b,(0,g.A)(function(a){this.Rf()?this.Je(b,c):c(a)},this))},a),(0,g.A)(function(a){Uq(this.ads[this.l],a);
this.g=null;P.g()||301!=a.Pb()?this.Rf()?this.Je(b,c):c(a):c(a)},a)):(0==a.g.o&&Uq(a.ads[a.l],En(Vq)),a.g=null,a.Je(b,c))};
Uq=function(a,b){if(b.o){1012==b.Pb()&&(b=En(Qq));var c=Bq(b,a),d=a.ia;P.g()&&303==b.Pb()&&(d=(0,g.Jd)(d,function(a){return-1==a.indexOf(".youtube.com/api/stats/ads")}));
Bn(d,c)}};
ifa=function(a,b,c){a.l++;var d=a.ads[a.l];d.ba||d.bb?d.bb?cfa(a,d,(0,g.A)(function(a){this.g=a;this.Je(b,c)},a),(0,g.A)(function(a){a=Wq(a);
Uq(d,a);c(a)},a)):efa(d)>=P.K?(a=En(gfa,null,String(P.K)),Uq(d,a),c(a)):a.F?a.Uu(d,(0,g.A)(function(a){this.g=a;
this.Je(b,c)},a),(0,g.A)(function(a){a=Wq(a);
Uq(d,a);c(a)},a)):c(En(hfa)):a.yp(d,b,c)};
Wq=function(a){switch(a.Pb()){case 300:case 301:case 302:case 303:case 200:case 1012:break;default:a=En(Vq)}return a};
dfa=function(a,b,c,d){(0,g.C)(a.ads,function(a){a.l=b});
bfa(a,c);a.F=d};
Xq=function(a){gq.call(this);this.l=(0,window.isNaN)(a)?-1:a};
Yq=function(a,b,c,d){Nq.call(this,[],a,b,c);this.H=d};
Zq=function(a){var b=a.ads.length-(0>a.l?1:a.l+1);return null!=a.g&&a.g instanceof Yq?b+Zq(a.g):b};
br=function(a){g.um.call(this,a);this.D=new g.om;a=this.o;var b=a.indexOf(";"),c=null;0<=b?(g.ym(this,a.substring(0,b)),c=a.substring(b+1)):g.ym(this,a);jfa(this,c)};
jfa=function(a,b){g.D(g.F(b))||(0,g.C)(b.split(";"),function(a){var b=a.indexOf("=");if(0<b){var c=ob(a.substring(0,b));a=ob(a.substring(b+1));b=this.D.get(c);null!=b?g.Oa(b,a)||b.push(a):b=[g.F(a)];this.D.set(c,b)}},a)};
cr=function(a,b){if(g.D(g.F(b)))return null;var c=a.D.get(b);return null!=c?c:null};
dr=function(a,b,c){g.D(g.F(b))||(c=g.I(c,g.F),a.D.set(b,c))};
er=function(a,b){var c=[g.F(b)];Xa(c,kfa(a));return c.join(";")};
kfa=function(a){var b=cr(a,"ord");null!=b?g.D(g.F("ord"))||a.D.remove("ord"):b=[g.F((0,g.G)())];var c=[];(0,g.C)(a.D.Cb(),function(a){(0,g.C)(this.D.get(a),function(b){Xa(c,a+"="+b)})},a);
Xa(c,"ord="+b[0]);dr(a,"ord",b);return c};
gr=function(a){if(null==a)return!1;a=new g.um(a);var b=a.o;return lb(a.l,"googleads.g.doubleclick.net")&&fr("/pagead/(live/)?ads",b)};
hr=function(a){a=a.g;return null!=a?"bid.g.doubleclick.net"==(new g.um(a)).l:!1};
ir=function(a){if(null==a)return!1;var b=new br(a);a=b.l;b=er(b,b.o);return!lb(a,".g.doubleclick.net")&&lb(a,"doubleclick.net")&&fr("/(ad|pfad)[x|i|j]?/",b)};
jr=function(a){if(null==a)return!1;a=new g.um(a);var b=a.o;return lb(a.l,"doubleclick.net")&&fr("/gampad/(live/)?ads",b)};
lfa=function(a){return gr(a.g)||ir(a.g)||jr(a.g)||hr(a)};
lr=function(a){a=a.g;return null!=a?kr(a):!1};
kr=function(a){a=new g.um(a);var b=a.o;return lb(a.l,"youtube.com")&&fr("/get_midroll_info",b)};
mfa=function(a){a=a.g;if(null==a)return null;a=(new g.um(a)).g;return null!=a.get("ms")?g.F(a.get("ms")):null};
fr=function(a,b){return g.D(g.F(b))?!1:(new RegExp(a)).test(b)};
mr=function(a,b,c,d){this.g=a;this.l=b;this.o=c;this.A=null!=d?d:!1};
Go=function(a){a=a.g.Ob().g;return null!=a?a.g:window.NaN};
nr=function(a,b){a.g.H=b;(0,g.C)(a.l,function(a){nr(a,b)},a)};
or=function(a){return kp('<div class="'+R("iv-endcap-background")+'">'+(a.wI?'<a class="'+R("iv-endcap-slot")+'" href="'+R(Ap(a.target))+'" target="_blank"><div class="'+R("iv-endcap-card")+'"><div class="'+R("iv-endcap-image")+'"><img src="'+R(Bp(a.image))+'"></div><div class="'+R("iv-endcap-text")+'" dir='+sp(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(Ap(a.target))+'" target="_blank"><img src="'+R(Bp(a.image))+'"></a><div class="'+R("iv-endcap-text")+'" dir='+sp(a.dir)+'><a href="'+R(Ap(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(Ap(a.target))+'" target="_blank" dir='+sp(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>')};
nfa=function(){var a=""+Ga("Next");return kp(a)};
ofa=function(){var a=""+Ga("Previous");return kp(a)};
pfa=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")+'">'+pr()+"</span>";if(a.advertiserName&&a.Jc){b+='<a class="'+R("ad-companion-clickthrough")+'" href="'+R(Ap(a.Jc))+'" target="_blank">';var c=Ga("Shop products from {$advertiserName}",{advertiserName: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.Sd)+'</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=kp('<div class="'+R("iv-cards-slider-unit")+'"><a href="'+R(Ap(f.target))+'" target="_blank"><div class="'+
R("iv-cards-slider-image")+'"><span class="'+R("iv-cards-image-helper")+'"></span><img src="'+R(Bp(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.bV?'<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.gD)+'" title="'+R(a.gD)+'"></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.PB)+'" title="'+R(a.PB)+'"></span></button>':"")+"</div></div>";return kp(b)};
qfa=function(a){return kp('<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.Sd)+'</p></div></div><a href="'+R(Ap(a.target))+'" target="_blank">'+(a.bannerImageUrl?'<img class="'+R("iv-website-companion-banner")+
'" src="'+R(Bp(a.bannerImageUrl))+'">':"")+'<div class="'+R("iv-website-companion-block")+'"><div class="'+R("iv-website-companion-icon")+'"><img src="'+R(Bp(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")+'">'+pr()+'</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>")};
pr=function(){var a=""+Ga("Ad");return kp(a)};
rfa=function(a){var b=qr(a);if(!b)return{};var c=rr(b);return c?{shoppingCompanionCarouselItemRenderer:{headline:sr(b.od()),merchant:sr(tr(c)),image:{thumbnails:[{url:ur(b).getImageUrl()}]},priceText:sr(vr(c)),clickthroughEndpoint:wr(xr(yr(a)))}}:{}};
sr=function(a){return{runs:[{text:a}]}};
wr=function(a){a=a||"";return{webNavigationEndpointData:{url:a},urlEndpoint:{url:a,target:"TARGET_NEW_WINDOW"}}};
zr=function(a){return{baseUrl:a}};
Ar=function(a,b){this.g=a;this.l=b};
Mp=function(a){return a.l?-1:a.g};
Lp=function(a,b){a.l&&(a.l=!1,a.g=a.g*b/100)};
sfa=function(a,b,c){b=c||b;a=a||{};return""+op("a",a.On)(a,b)};
ufa=function(a){a=a||{};var b=kp,c='<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")+'" ';var d=Dp(a.Sd);hp(d,Br)?d=d.cd().replace(/([^"'\s])$/,"$1 "):(d=String(d),d=tfa.test(d)?d:"zSoyz");return b(c+d+">"+Q(a.Sd)+"</div></div></div>")};
vfa=function(a){return'<div class="'+Q("videoAdUi")+'"><div class="'+Q("videoAdUiTopBar")+'"><div class="'+Q("videoAdUiAttributionContainer")+" "+Q("videoAdUiAttributionContainer-gvn")+'"><div class="'+Q("videoAdUiAttribution")+'" '+Q(Dp(a.df))+">"+Q(a.df)+'</div></div></div><div class="'+Q("videoAdUiProgressBar")+'" dir="ltr"><div class="'+Q("videoAdUiProgress")+'"></div></div></div>'};
wfa=function(a){return'<div class="'+Q("videoAdUi")+'"><div class="'+Q("videoAdUiTopBar")+'"><div class="'+Q("videoAdUiAttributionContainer")+" "+Q("videoAdUiAttributionContainer-gvn")+'"><div class="'+Q("videoAdUiAttribution")+'" '+Q(Dp(a.df))+">"+Q(a.df)+'</div></div><div class="'+Q("videoAdUiLearnMoreText")+" "+Q("videoAdUiLearnMoreText-gvn")+'">'+Q(a.learnMoreText)+'<div class="'+Q("videoAdUiLearnMoreIcon")+'"></div></div></div><div class="'+Q("videoAdUiProgressBar")+'" dir="ltr"><div class="'+
Q("videoAdUiProgress")+'"></div></div></div>'};
Cr=function(){return kp('<div class="'+R("videoAdUiPreSkipContainer")+'"><div class="'+R("videoAdUiPreSkipButton")+'"><div class="'+R("videoAdUiPreSkipText")+'"></div><div class="'+R("videoAdUiPreSkipThumbnail")+'" aria-hidden="true"></div></div></div>')};
xfa=function(a){a=a||{};return kp('<div class="'+R("videoAdUiPreSkipContainer")+" "+R("videoAdUiPreSkipContainerPlainThumbnailCountdown")+'"><div class="'+R("videoAdUiPreSkipButton")+'"><div class="'+R("videoAdUiPreSkipText")+'">You can skip to'+Q(a.lp)+'video in</div><div class="'+R("videoAdUiPreSkipThumbnail")+'"><div class="'+R("videoAdUiPreSkipThumbnailCountdown")+'"><span class="'+R("videoAdUiPreSkipTextTimeLeft")+'"></span></div></div></div></div>')};
Dr=function(a){a=a||{};return""+Ga("Your video will begin in {$xSeconds}",{xSeconds:Q(a.xe)})};
yfa=function(a){return kp('<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(Bp(a.zI))+'"></div><div class="'+R("videoAdUiBrandPrecapTextContainer")+'"><div class="'+R("videoAdUiBrandPrecapBrandName")+'">'+Q(a.brandName)+'</div><div class="'+R("videoAdUiBrandPrecapBrandMessage")+
'">'+Q(a.AI)+"</div></div></div></div>")};
zfa=function(a){return kp('<div class="'+R("videoAdUiBrandPrecapContainer")+" "+R("html5-stop-propagation")+'"><img class="'+R("videoAdUiBrandPrecapAutoGenImage")+'" src="'+R(Bp(a.xI))+'"></div>')};
Afa=function(a){a=a||{};return kp('<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>')};
Bfa=function(a){return kp('<div class="'+R("videoAdUiBrandInteractionUnit")+" "+R("videoAdUiBrandInteractionUnitConfirmationMsg")+" "+R("html5-stop-propagation")+'"><div class="'+R("videoAdUiBrandInteractionPostMessageText")+'">'+Q(a.postMessageText)+"</div></div>")};
Cfa=function(a){return'<div class="'+Q("videoAdUiSkipContainer")+" "+Q("html5-stop-propagation")+'"><button class="'+Q("videoAdUiSkipButton")+" "+Q("videoAdUiAction")+'">'+Q(a.lv)+'<div class="'+Q("videoAdUiSkipIcon")+'"></div></button></div>'};
Dfa=function(a){return'<div class="'+Q("videoAdUiSkipContainer")+" "+Q("html5-stop-propagation")+'"><button class="'+Q("videoAdUiSkipButton")+" "+Q("videoAdUiAction")+'"><div class="'+Q("videoAdUiSkipButtonExperimentalText")+'">'+Q(a.lv)+'</div><div class="'+Q("videoAdUiSkipIcon")+'"></div></button></div>'};
Efa=function(a){return'<div class="'+Q("videoAdUiSkipContainer")+" "+Q("html5-stop-propagation")+" "+Q("videoAdUiSkipContainerWithThumbnail")+'"><div class="'+Q("videoAdUiSkipText")+'">'+Q(a.lv)+'</div><button class="'+Q("videoAdUiSkipButton")+" "+Q("videoAdUiAction")+" "+Q("videoAdUiSkipButtonWithThumbnail")+'"><div class="'+Q("videoAdUiSkipIconContainer")+'"><div class="'+Q("videoAdUiSkipIcon")+'"></div></div></button></div>'};
Er=function(a){var b="";2<=a.cq&&1<=a.cn?(a=Ga("Ad {$adPosition} of {$totalAds} {$timeLeft}",{adPosition:Q(a.cn),totalAds:Q(a.cq),timeLeft:Q(a.aq)}),b+=a):(a=Ga("Ad {$timeLeft}",{timeLeft:Q(a.aq)}),b+=a);return b};
Ir=function(){var a=Fr(),b=kp("</a>");return kp("<div class='"+R("videoAdUiAdSettingsLongTooltip")+"'>"+Gr({xx:Hr(""+Q(a)),ry:Hr(""+Q(b))})+"</div>")};
Gr=function(a){a=""+Ga("Visit Google's {$beginFormat}Ad Settings{$endFormat} to learn more about how ads are targeted or to opt out of personalized ads.",{beginFormat:Q(a.xx),endFormat:Q(a.ry)});return kp(a)};
Jr=function(){var a=""+Ga("The video you're watching.");return kp(a)};
Fr=function(){return kp('<a href="https://adssettings.google.com" target="_blank">')};
Kr=function(a){return kp((a.Hv?"<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>")};
Ffa=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.Hr)+"</div><a class='"+R("videoAdUiWhyThisAdMute")+" "+R("videoAdUiHideIfEmpty")+"'>"+Q(a.mute)+"</a><a class='"+R("videoAdUiWhyThisAdControl")+" "+R("videoAdUiHideIfEmpty")+"' href='https://adssettings.google.com' target='_blank'>"+Q(a.control)+"</a>";a=
""+Kr({heading:Hr(""+Q(a.heading)),message:Hr(b),buttons:Hr("<button class='"+R("videoAdUiWhyThisAdCloseButton")+" "+R("videoAdUiPopupDefaultButton")+"'>"+Q(a.close)+"</button>"),Hv:a.Hv});return kp(a)};
Gfa=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=""+Kr({heading:Hr(Q(a.heading)+" <a class='"+R("videoAdUiMuteUndo")+"'>"+Q(a.undo)+"</a>"),message:Hr(b),buttons:Hr("<button class='"+R("videoAdUiMuteCancel")+" "+R("videoAdUiPopupButton")+"'>"+Q(a.cancel)+
"</button><button class='"+R("videoAdUiMuteConfirm")+" "+R("videoAdUiPopupDefaultButton")+"'>"+Q(a.confirm)+"</button>")});return kp(a)};
Hfa=function(a){var b=String(""+a.heading);return kp(Kr({heading:b?new ep(b,void 0):"",message:Hr(""+Q(a.message)),buttons:Hr("<button class='"+R("videoAdUiMuteCancel")+" "+R("videoAdUiPopupButton")+"'>"+Q(a.cancel)+"</button><button class='"+R("videoAdUiMuteConfirm")+" "+R("videoAdUiPopupDefaultButton")+"'>"+Q(a.confirm)+"</button>")}))};
Ifa=function(){return kp("<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>')};
Lr=function(a,b,c){$p.call(this,"1",Jfa,"Html",null,"dummy");this.D=0;this.xa=a.length;cq(this,new g.Km(this));this.M=Kfa(a,b);this.Ta=g.J("iv-cards-slider-list",this.M);if(this.R=g.J("iv-cards-slider-prev",this.M))this.o.U(this.R,"click",this.Ma),g.O(this.R,!1);(this.ba=g.J("iv-cards-slider-next",this.M))&&this.o.U(this.ba,"click",this.Ha);a=g.J("ad-companion-clickthrough",this.M);this.o.U(this.M,"click",g.Ea(function(a,b,c){c.target!=a&&Bn(b)},a,c))};
Kfa=function(a,b){var c=(0,g.I)(a,function(a){var b=qr(a),c=rr(b);a=yr(a);return{headline:b.od(),description:Mr(b,"description"),image:ur(b).getImageUrl(),action:vr(c),target:xr(a),merchant:tr(c)}}),d=3<a.length;
return pq(pfa,{cards:c,advertiserName:c[0].merchant,PB:nfa(),gD:ofa(),Sd:Ir(),Jc:b,bV:d})};
Nr=function(a){a.Ta.style.left=125*-a.D+"px";a.R&&g.O(a.R,0<a.D);a.ba&&g.O(a.ba,a.D<a.xa-3)};
Qr=function(a){$p.call(this,"1",Lfa,"Html",null,"website_actions_companion");cq(this,new g.Km(this));var b=a.g(),c=b&&b.vg(),d=b&&b.ao();a=yr(a);b={headline:b&&b.od()||"",iconImageUrl:c&&c.getImageUrl()||"",bannerImageUrl:d&&d.getImageUrl()||"",actionTitle:a&&Or(a)||"",descriptionText:b&&Pr(b)||"",target:a&&xr(a)||"",Sd:Ir()};this.D=pq(qfa,b)};
Mfa=function(){if(!g.wd)return!1;try{return new window.ActiveXObject("MSXML2.DOMDocument"),!0}catch(a){return!1}};
Tr=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(Rr){var c=Sr();if(c)return a&&c.appendChild(c.createNode(1,a,b||"")),c}throw Error("Your browser does not support creating new documents");};
g.Ur=function(a){if("undefined"!=typeof window.DOMParser)return(new window.DOMParser).parseFromString(a,"application/xml");if(Rr){var b=Sr();b.loadXML(a);return b}throw Error("Your browser does not support loading xml documents");};
Vr=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");};
Sr=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};
Wr=function(a){return En(Nfa,null,a.parentNode.nodeName,a.nodeName)};
Xr=function(a){return En(Ofa,null,a.parentNode.nodeName,a.nodeName)};
Yr=function(a){var b=Tr(a.tagName,a.namespaceURI),c=g.Md(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};
Zr=function(a,b){return null!=a?(0,g.Jd)(g.Kd(a),function(a){return a.nodeName==b}):[]};
$r=function(a,b){var c=a.getAttribute(b);return null!=c?c.toLowerCase():null};
as=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=xb(c);return b?rb(c):c};
bs=function(a,b,c,d){if(null!=a){a=g.Kd(a);for(var e=0,f=a.length;e<f;e++){var k=a[e];if(k.nodeName!=b)throw Wr(k);c.call(d,k)}}};
cs=function(a){a=g.F(a);return g.D(a)?window.NaN:Cb(a)};
ds=function(a,b){if(null!=a){var c=a.split(":");if(3==c.length)return c=new go(0,0,0,Cb(c[0]),Cb(c[1]),Cb(c[2])),60*(60*(24*c.days+c.hours)+c.minutes)+c.seconds}return null!=b?b:-1};
es=function(a,b){var c=g.F(a);if(!g.D(c))switch(c.toLowerCase()){case "true":case "1":return!0;case "false":case "0":return!1}return null!=b?b:!1};
hs=function(a,b,c){var d=new Fp;bs(a,"Tracking",function(a){var b=$r(a,"event"),e=as(a);fs(e)&&null!=b&&(null!=c&&(e=c(b,e)),"progress"==b?(a=$r(a,"offset"),a=gs(a),null!=a&&Kp(d,b,e,a)):Kp(d,b,e))});
return d};
Pfa=function(a){if(g.D(g.F(a)))return null;a=new g.um(a);if("thismessage"!=a.A||"extensions"!=a.l)return null;a=a.o;if(!g.kb(a,"/"))return null;a=a.substr(1);return g.D(g.F(a))?null:a};
gs=function(a){if(g.D(g.F(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 Ar(a,!0)}else if(a=ds(a),0<=a)return new Ar(a,!1);return null};
fs=function(a){if(g.D(g.F(a)))return!1;try{new g.um(a)}catch(b){return!1}return!0};
is=function(a,b){gq.call(this);this.l=a;this.o=b};
js=function(){};
ks=function(a,b){gq.call(this,b);this.l=a};
ls=function(a){gq.call(this);this.l=a};
ns=function(a,b,c,d,e,f,k,l,m,n,q,r,v,E){this.xa=a;this.na=b;this.M=c;this.Ib=d;this.Pa=(0,window.isNaN)(e)||""==e||0==e?-1:e;this.ia=f?g.Wa(f):[];this.X=k?g.Wa(k):[];this.D=l?g.Wa(l):[];this.ga=[];this.H=[];this.J=null;this.Y=[];this.Gb=!0;this.l=this.g=this.F=null;this.R=new g.om(n);this.bb=null!=E;this.tb=(this.ba=null!=q)?r||!1:!1;this.wb=this.qL?v||!1:!1;this.Wb=g.F(q);this.Xb=g.F(E);this.Ha=this.o=null;this.A=new tea;this.Z=new g.hd(0,0);this.I=String(Math.floor(1E9*Math.random()));this.Wa=
this.ea=this.K=this.C=null;this.rb=(0,g.G)();this.Ta=this.Ma=0;this.sa=this.ra=!1;this.B=[];this.fa=null;this.Ca=!1;(0,g.C)(this.D,function(a){a.H=this},this);
ms(this,m)};
Iq=function(a){var b=a.getExtension("AdFormat",!0);if(null!=b&&lb(b.l+"_"+b.o+"_"+b.A,"2_4"))return b.l+"_"+b.o+"_"+b.A;b=os(a);b=ps(a,qs)?"14":No(b,"hideMaster")||No(b,"blockAllAds")?"3":a.Vb()?rs(a)?"2_3":a.isSkippable()?ts(a)?"2_1":"2_2":"2":"1";return Qfa(a)+"_"+b};
Qfa=function(a){if(Jq(a))return 4;if(ps(a,qs))return 14;if(us(a,Rfa))return 17;if(us(a,Sfa))return 15;if(us(a,Tfa)||us(a,Ufa))return 1;var b=nn();return b&&b.g("fix_petra_ad_format")&&(null!=a.o?(b=a.o.g,null!=b&&lb(b,"/PrefetchedAd")&&null!=a.l&&(b=a.l.R.get("LocalRedirect"),b=null!=b?b.fh():null)):b=null,null!=b&&(jr(b)||ir(b)))?1:vs(a)?2:0};
ws=function(a){return null!=a.na?a.na:""};
xs=function(a){return null!=a.l?g.Va(xs(a.l),a.ia):a.ia};
ys=function(a){return null!=a.l?g.Va(ys(a.l),a.X):a.X};
zs=function(a){return null!=a.l?g.Va(a.H,zs(a.l)):a.H};
os=function(a){return null!=a.g?a.g.F:{}};
Vfa=function(a){var b={};(0,g.C)(a.D,function(a){a=a.F;for(var c in a)b[c]=a[c]});
return b};
As=function(a){return null!=a.g?a.g.sa:""};
Bs=function(a){return a.getExtension("why_this_ad",!0)};
Cs=function(a){return a.getExtension("mute",!0)};
Ds=function(a,b){var c=[];(0,g.C)(a.R.ub(),function(a){Xa(c,hq(a,b))});
return c};
Kq=function(a,b){a.g=b;a.Z=new g.hd(0,0);if(null!=a.g){a.g instanceof $p&&(a.Z=a.g.be());var c=a.l;if(null!=c){var d=Rp(a.g,c)||Rp(a.g,c,!0);Kq(c,d)}}P.g()&&Wfa(a)&&g.Pa(zs(a))?P.g()&&P.o?(c=a.B,g.Pa(c)?c={}:(d=qr(c[0])&&rr(qr(c[0]))&&tr(rr(qr(c[0])))||"",d=""+Ga("Shop products from {$advertiserName}",{advertiserName:Q(d)}),d=kp(d),c={shoppingCompanionCarouselRenderer:{shopText:sr(rb(d.toString())),itemList:{horizontalListRenderer:{items:(0,g.I)(c,rfa),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:sr(pr().toString()),clickToAdvSiteEndpoint:wr(Es(a)),clickTrackingEndpoints:[{loggingUrls:(0,g.I)(Ds(a,"companionClick"),zr)}],impressionEndpoints:[{loggingUrls:(0,g.I)(Ds(a,"companionImpression"),zr)}]}}),a.F=c):Xfa(a,a.B):P.g()&&g.Pa(zs(a))&&!nn().g("website_actions_holdback")&&Fs(a,a.B)};
Gs=function(a){return null!=a.xa?a.xa:""};
Is=function(a){var b=nn(),c=!1;b&&b.g("report_full_ad_systems_in_youtube_tracking_pings")&&(c=!0);if(null==a.l||Hs(a.l.M)&&!c)return[];b=[Gs(a.l)];Xa(b,Is(a.l));return b};
Fq=function(a){var b=Is(a).reverse();b.push(Gs(a));return b};
Js=function(a){if(null==a.l||Hs(a.l.M))return[];var b=a.l.g;null!=b?(b=b.ga,b=null!=b?b:""):b="";b=[b];Xa(b,Js(a.l));return b};
Ks=function(a){var b=nn(),c=!1;b&&b.g("report_full_ad_systems_in_youtube_tracking_pings")&&(c=!0);if(null==a.l||Hs(a.l.M)&&!c)return[];b=[ws(a.l)];Xa(b,Ks(a.l));return b};
Ls=function(a){if(a.l){var b=Ls(a.l);if(b)return b}return(a=a.getExtension("metrics"))?a.l:null};
Hq=function(a){return(a=a.getExtension("viral",!0))?a.l:null};
Gq=function(a){var b=Ks(a).reverse();b.push(ws(a));return b};
Hs=function(a){return"YT:ADSENSE"==a||"YT:DOUBLECLICK"==a};
Ms=function(a){if(null==a.l)return[a.M];var b=Ms(a.l);b.push(a.M);Hs(b[0])&&b.shift();return b};
Ns=function(a){a=a.getExtension("waterfall");return null!=a&&-1!=a.ie()?a.ie():-1};
Os=function(a){if(-1!=a.Pa)return a.Pa;a=a.getExtension("pod");return null!=a&&-1!=a.l?a.l:-1};
Ps=function(a){a.Ca||(a.Ca=!0,a.fa.I++,null!=a.l&&Ps(a.l))};
Qs=function(a){if(a.fa instanceof Yq){var b=a.fa;if(0<Zq(b))return b}return null!=a.l?Qs(a.l):null};
Rs=function(a,b,c,d){a=zs(a);return Io(new Fo(new g.hd(b,c),d),a)};
Ss=function(a){var b=a.o.Mj,c=a.o.Lj;if(!b||!c)if(a=a.o.g?Sg(a.o.g,"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.hd(b,c)};
Yfa=function(a,b){var c=g.Ka(a.Y,function(a){return 4==a.Ub()&&Ts(a.Ke())});
if(c){var d=c.g();if(!d.vg().getImageUrl()){var e=new Us;e.data.image_url=b.channelIconThumbnailUrl;d.vg=function(){return e}}d.od()||(d.od=function(){return b.authorName});
c.g=function(){return d}}};
Zfa=function(a){var b=(0,g.Jd)(a,function(a){return Ts(a.Ke())});
0==b.length&&0<a.length&&nn().g("enable_ad_video_end_renderers")&&(b=a.slice(1,2));return b};
Xfa=function(a,b){var c=(0,g.Jd)(b,function(a){return Vs(a.Ke())});
g.Pa(c)&&(c=b);c=new Lr(c,Es(a),Ds(a,"companionClick"));c.H=a;c.C=!0;Ws(a,new mr(c,[],null,!0))};
$fa=function(a,b){var c=g.Ka(a.B,function(a){return 4==a.Ub()&&Vs(a.Ke())});
if(!c)return null;var d=c.g();if(!d.vg().getImageUrl()){var e=new Us;e.data.image_url=b.channelIconThumbnailUrl;d.vg=function(){return e}}if(!d.ao().getImageUrl()){var f=new Us,k=g.Ka(zs(a),function(a){return"Image"==a.nd()});
f.data.image_url=k&&k.g.l||b.g;d.ao=function(){return f}}d.od()||(d.od=function(){return b.authorName});
c.g=function(){return d};
return c};
Fs=function(a,b){var c=g.Ka(b,function(a){return 4==a.Ub()&&Vs(a.Ke())});
if(c){var d=c.g(),e=d&&d.vg().getImageUrl(),f=d&&d.ao().getImageUrl(),k=d&&d.od();e&&f&&k&&(P.o?(c=yr(c),a.F={actionCompanionRenderer:{headline:k,iconImageUrl:e,bannerImageUrl:f,actionTitle:c&&Or(c)||void 0,descriptionText:d&&Pr(d)||void 0,target:c&&xr(c)||void 0,impressionEndpoints:[{loggingUrls:(0,g.I)(Ds(a,"companionImpression"),function(a){return{baseUrl:a}})}]}}):(d=new Qr(c),d.H=a,d.C=!0,Ws(a,new mr(d,[],null,!0))))}};
aga=function(a){if(!a.o||Xs(a)&&!ps(a,["ADSENSE/ADX"]))return[];var b=Ss(a);if(0>=b.width||0>=b.height)return[];var c=new Bo;c.creativeType="All";c.o="All";c.A="SelectNearMatch";c.g=40;var d=Rs(a,b.width,b.height,c);if(!g.Pa(d))return d;c.l="ResizeSmaller";d=(0,g.Jd)(zs(a),function(a){return a.g.Gl()},a);
return Io(new Fo(new g.hd(b.width,b.height),c),d)};
Zs=function(a){if(g.Pa(a.Y))return!1;var b=nn();if(15>Ys(a))return!1;var c=cga,d=a.Y[0].Ub();if(d==c.Xw){var e=a.Y[0].g();a=e&&e.vg().getImageUrl();e=e&&e.od();if(!a||!e)return!1}return b.g("enable_ad_video_end_renderers")&&d==c.XH||!b.g("website_actions_holdback")&&d==c.Xw};
dga=function(a){var b=null,c=0;(0,g.C)(aga(a),function(a){var d=Ss(this);d=!a.g.Gl()||a.Db()<=d.width&&a.getHeight()<=d.height?a.g.be():Ko(a.g.be(),d);d=d.width*d.height;d>c&&(c=d,b=a)},a);
return b};
$s=function(a,b){return b||null==a.l?a.ga:g.Va(a.ga,$s(a.l))};
ms=function(a,b){a.ga=b?g.Wa(b):[];(0,g.C)(a.ga,function(a){Xa(this.H,g.Wa(a.g))},a);
(0,g.C)(a.H,function(a){nr(a,this)},a);
if(P.g()&&(a.Vb()&&(a.H=(0,g.Jd)(a.H,function(a){return 60>=a.getHeight()})),P.o)){var c=a.H&&a.H[0];
if(c&&"Static"===c.g.K){var d=c.g.qf(),e=c.g.J;Xa(e,Ds(a,"companionClick"));var f=Ds(a,"companionImpression"),k=c.Db(),l=c.getHeight();a.F={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.g.l,width:k,height:l}]}},clickthroughEndpoint:{urlEndpoint:{url:d}}}}}}};
at=function(a,b){return(0,g.zj)(a.D,function(a){return a instanceof Tp&&"linear"==b||a instanceof $p&&"nonlinear"==b?!0:!1})};
bt=function(a){var b=a.g;return Xs(a)&&null!=b&&b instanceof $p&&(90<a.Z.height||null!=a.o&&a.o.tj)};
ct=function(a,b){if(null==b)return null;var c=b.getExtension("adx");return null!=c?c:ct(a,b.l)};
dt=function(a){var b=a.l,c=ct(a,b);if(null!=c){if("skippable"==c.l)return c.o;if("nonskippable"==c.l)return null}c=null;var d=new Ar(5,!1),e=ega(a);"implicit"==e&&(c=d);var f=a.g;null==c&&null!=f&&f instanceof Tp&&(c=f.C);null!=c||"explicit"!=e||(c=d);e=nn();return P.g()&&a.Vb()&&null!=c?e.g("enable_skip_button_offset_mutation")?c:d:null==c&&null!=b&&e.g("ima_check_wrapper_skippability")?dt(b):c};
ega=function(a){if(null!=g.Ka(a.R.ub(),function(a){return!g.Pa(hq(a,"skip"))}))return"implicit";
var b=a.R.get("DFP");if(b instanceof ks)switch(b.l){case "InstreamSelect":return"implicit";case "Generic":return"explicit"}a=a.g;return P.g()&&null!=a&&(a=a.Qj,null!=a&&!g.Pa(Ip(a,"skip")))?"explicit":"none"};
ts=function(a){return null!=a.na&&null!=a.o?!0:!1};
Es=function(a){return null===a.g?null:a.g.qf()};
Ys=function(a){return null!=a.g?a.g.getDuration():-1};
et=function(a){return null===a.J?Zs(a)?7:0:10};
ft=function(a){return null===a.g?null:a.g.Ms()};
gt=function(a){return null===a.g?null:a.g.Ls()};
Xs=function(a){return ps(a,ht)||ps(a,["ADSENSE-VIRAL"])};
Jq=function(a){return null!=a.l&&Jq(a.l)||ps(a,fga)};
rs=function(a){var b=ft(a);return ps(a,["402"])||g.w(b)&&null!==b.match("//s0.2mdn.net/instream/html5/survey/survey.html")};
it=function(a){return Xs(a)&&ts(a)&&!a.isBumper()&&!g.D(g.F(a.C))&&null!==dt(a)&&0<Mp(dt(a))};
vs=function(a){return us(a,ht)||us(a,["402"])};
jt=function(a){a=a.getExtension("InfoCards");return null!=a?a.l:null};
kt=function(a){a=a.getExtension("InfoCardsTracking");return null!=a?a.l:null};
ps=function(a,b){return null!=a.na?g.Oa(b,a.M):!1};
us=function(a,b){for(var c=Ms(a),d=c.length-1;0<=d;d--)if("UNKNOWN"!=c[d]){if(g.Oa(b,c[d]))return!0;break}return!1};
Ws=function(a,b){a.H=[b]};
Wfa=function(a){return a.Vb()&&0<a.B.length&&(0,g.cm)(a.B,function(a){return 1==a.Ub()})};
lt=function(a){return 0<a.B.length&&(0,g.cm)(a.B,function(a){return 4==a.Ub()})};
mt=function(a,b){g.Cf.call(this);this.g=a;this.Ce=new g.Km(this);g.N(this,this.Ce);this.Ce.U(b,["companion_impression","companion_click"],this.l)};
nt=function(){g.Cf.call(this);this.C=this.H=this.J=this.D=!1;this.g=0;this.o=[];this.F=!1;this.M=this.K=window.Infinity;this.l=0;this.B=!1;this.A=new g.Km(this);this.I={}};
gga=function(a){ot(a);!(a.gi instanceof g.Cf)&&"ontouchstart"in window.document.documentElement&&Qn()?(a.I={touchstart:(0,g.A)(a.KT,a),touchmove:(0,g.A)(a.xK,a),touchend:(0,g.A)(a.JT,a)},g.Ib(a.I,function(a,c){this.gi.addEventListener(c,a,!1)},a)):a.A.U(a.gi,"click",a.Cz)};
ot=function(a){a.A.Da(a.gi,"click",a.Cz);g.Ib(a.I,function(a,c){this.gi.removeEventListener(c,a,!1)},a);
a.I={}};
hga=function(a,b){a.o=[];(0,g.C)(b,function(a){g.Ra(this.o,a.identifier)},a)};
pt=function(a,b){return(0,g.zj)(b,function(a){return g.Oa(this.o,a.identifier)},a)};
qt=function(a){if(!iga.test(a))throw Error("'"+a+"' is not a valid alpha hex color");5==a.length&&(a=a.replace(jga,"#$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]};
rt=function(a){var b=a.slice(0);b[3]=Math.round(1E3*a[3])/1E3;return"rgba("+b.join(",")+")"};
g.tt=function(){g.Cf.call(this);this.g=0;this.endTime=this.startTime=null};
ut=function(a,b){g.ya(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.nh(a,"transition",c.join(","))};
vt=function(a,b,c,d,e){g.tt.call(this);this.l=a;this.B=b;this.D=c;this.o=d;this.C=g.ya(e)?e:[e]};
wt=function(a,b){g.Cf.call(this);this.D=b;this.pa=a;this.Ni=null;this.W=new g.Km(this);g.N(this,this.W);this.l=new nt;g.N(this,this.l);var c=Ee(Me(a.g),Se,6);this.A=(this.g=null!=Ae(c,5)&&!!Ae(c,5))||null==Ae(c,7)?"#000000FF":Ae(c,7);this.o=this.g||null==Ae(c,8)?"#FFFFFFFF":Ae(c,8);c=this.g?{xI:g.F(Ae(c,6))}:{brandName:g.F(Ae(c,1)),AI:g.F(Ae(c,3)),zI:g.F(Ae(c,2))};this.Oe=kga(this,c);null!=this.Oe&&g.O(this.Oe,!1);b.appendChild(this.Oe);this.W.U(this.l,"click",this.C);this.l.Fb(this.Oe)};
kga=function(a,b){if(a.g){var c=pq(zfa,b);var d=g.J("videoAdUiBrandPrecapAutogenImage",c)}else{c=pq(yfa,b);d=g.J("videoAdUiBrandPrecapContent",c);null!=a.A&&(c.style.backgroundColor=rt(qt(a.A)));if(null!=a.o){var e=g.J("videoAdUiBrandPrecapBrandName",d),f=g.J("videoAdUiBrandPrecapBrandMessage",d);e.style.color=rt(qt(a.o));f.style.color=rt(qt(a.o))}d=g.J("videoAdUiBrandPrecapImageContainer",d);d=g.J("videoAdUiBrandPrecapBrandImage",d)}null!=d&&(d.z4=function(){return!1});
return c};
xt=function(a,b){(new vt(a.Oe,.2,{opacity:b?"0":"1"},{opacity:b?"1":"0"},[{property:"opacity",duration:.2,timing:"ease-in-out",delay:0}])).play()};
zt=function(a,b){var c=g.Yd(g.Nd(a.D),"html5-video-player");null!=c&&g.U(c,"ytp-ad-display-override",b)};
At=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.um("//www.youtube.com/gen_204");g.vm(d,"https");c=Hm(c);zm(d,c);d=d.toString();d=g.Tm(d,a.pa.Ha);xn(d)};
Bt=function(a,b,c,d,e,f){gq.call(this,f);this.o=a;this.B=b;this.C=c;this.A=d;this.l=e};
Ct=function(a){return null!=a.l?a.l.length:0};
Dt=function(a,b,c,d,e,f,k,l,m,n){gq.call(this,e);this.l=a;this.A=b;this.B=c||"";this.C=d||[];this.o=f||null;this.F=k||null;this.J=l||null;this.D=m||null;this.I=n||null};
Et=function(a,b){this.A=a;this.l=b;this.o=this.W=this.B=this.g=null;this.C=sj()};
Gt=function(a,b,c){null!=b&&(a.W=new g.Km(a),a.o=new g.Cf,a.o.Ih(c),a.B=b,a.YC(),Ft(a,"why_this_ad_url"))};
Ht=function(a,b,c){b=g.J(b,a.g);null!=b&&a.W.U(b,"click",c)};
It=function(a,b,c){null!=a.g&&a.g.parentElement.removeChild(a.g);a.g=pq(b,c);Ht(a,"videoAdUiPopupCloseIcon",a.mj);a.B.appendChild(a.g);b=g.J("videoAdUiPopupFrame",a.g);null!=b&&g.of(b,"submit",function(a){a.preventDefault()});
a=g.J("videoAdUiPopupDefaultButton",a.g);null!=a&&a.focus()};
Ft=function(a,b){null!=a.o&&a.o.dispatchEvent(b)};
Jt=function(){this.df=Er({aq:"",cn:0,cq:0});this.learnMoreText=""+Ga("Learn More {$suffix}",{suffix:Q({zV:""}.zV)});this.visitAdvertiserText=""+Ga("Visit Advertiser's Site");this.Sd=Ir();this.skipOffset=null;this.F=this.Gb=this.M=this.R=!1;this.I=null;this.Y=6E3;this.o=!0;this.ba=!1;this.fa=this.A=this.ea=!0;this.B=!1;this.J=!P.C;this.na=this.ia=this.ga=!1;this.D=!0;this.K=this.xa=this.sa=this.ra=this.C=!1;this.Ha={};this.X=null;this.showContentThumbnail=!0;this.H=!1;this.g=null;this.bb=!1;this.Qi=
-1;this.Ca=!1;this.breakType=0};
Kt=function(a,b,c,d,e,f){var k=new Jt;k.C=a;k.Ma=b;k.skipOffset=c;k.Z=null!=e?e.contentId:null;k.ea=e.WV;k.X=sfa;k.Pa=tq(b,null!=c,e.ij);k.showContentThumbnail=null!=e.contentId&&e.showContentThumbnail;k.g=e.xz;k.bb=e.XI;null!=f&&(k.Ha=f);null==c&&(a=nn(),d&&a.g("show_countdown_on_bumper")&&(k.M=!0,k.R=!0),a.g("show_thumbnail_on_standard")&&(k.R=!0),!d&&a.g("persist_text_on_preview_button")&&(k.Gb=!0));P.g()&&null!=k.g&&null!=Ae(k.g,1)&&(d=Me(k.g),null!=Ae(d,6)&&(d=Ee(d,Se,6),null!=Ae(d,5)&&(Ae(d,
5)&&null!=Ae(d,6)||null!=Ae(d,1)&&null!=Ae(d,2)&&null!=Ae(d,3))&&(k.F=!0,null!=Ae(d,4)&&(k.I=Ae(d,4)))));return k};
Lt=function(a,b,c){a.l=new Et(b,c);c=null!=b?b.l:void 0;b="<span class='"+R("videoAdUiAdSettingsShortTooltip")+"'>";c?b+=Q(c):(c=Ga("Click for Ad Settings"),b+=c);b=kp(b+"</span>");a.Sd=b};
Mt=function(a,b,c,d,e){return new vt(a,b,{opacity:d},{opacity:e},{property:"opacity",duration:b,timing:c,delay:0})};
Nt=function(a,b){return Mt(a,b,"ease-out",0,1)};
Ot=function(a){return Mt(a,.5,"ease-in",1,0)};
Qt=function(a,b){g.Cf.call(this);this.W=new g.Km(this);g.N(this,this.W);this.pa=a;this.D=b;this.C=!1;this.B=this.o=this.A=null;var c=a.g;c=this.g=null!=c&&null!=Me(c)?Ee(Me(c),Pe,3):null;this.H=null!=c&&null!=Ae(c,7)&&1==Ae(c,7)?!0:!1;if(null==this.g||null==Ae(this.g,7))c=null;else{c=Ae(this.g,7);var d=Ae(this.g,8);c=null!=d&&g.Oa(lga,c)?d:null}this.B=c;c=pq(Afa,{preMessageText:this.B||""});d=g.J("videoAdUiLikeMsg",c);g.Qd(d,""+Ga("I like this"));d=g.J("videoAdUiDislikeMsg",c);g.Qd(d,""+Ga("I dislike this"));
null!=this.g&&(d=Ae(this.g,7),d=null!=d?mga[d]:null,null!=d&&g.S(c,d));nga(this,c);d=g.J("videoAdUiBrandInteractionLikeButton",c);null!=d&&Pt(this,d);d=g.J("videoAdUiBrandInteractionDislikeButton",c);null!=d&&Pt(this,d);g.O(c,!1);this.l=c;this.D.appendChild(this.l)};
nga=function(a,b){if(null!=a.g){var c=a.g.Ke();c=null!=c?oga[c]:null;null!=c&&(0,g.C)(c,function(a){g.S(b,a)})}};
pga=function(a){return null!=a.g&&null!=Ae(a.g,8)?Ae(a.g,10):null};
rga=function(a){if(null==a.g||null==Ae(a.g,7))return null;var b=Ae(a.g,7);a=Ae(a.g,9);return null!=a&&g.Oa(qga,b)?a:null};
Pt=function(a,b){var c=new nt;a.W.U(c,"click",a.F);c.Fb(b)};
sga=function(a){if(null!=a.B){var b=pga(a);if(null!=b){var c=g.J("videoAdUiBrandInteractionPreMessageText",a.l);if(null!=c){var d=Ot(c);g.rg(function(){d.play();g.rg(function(){g.O(c,!1)},500,this)},1E3*b,a)}}}};
tga=function(a){if(null!=a.g&&null!=Ee(a.g,Qe,15)){var b=Ee(a.g,Qe,15),c=Ae(b,1),d=Ae(b,2);b=Ae(b,3);a.dispatchEvent(new Zm("yt-show-toast",null,{toastMessage:c,toastActionMessage:d,toastActionUrl:b}))}};
uga=function(a){if(null!=a.g){var b=rga(a);if(null!=b){var c=pq(Bfa,{postMessageText:b});a.D.appendChild(c);g.rg(function(){Nt(c,.5).play();var a=Ot(c);g.rg(function(){a.play()},3E3,this)},500,a)}}};
St=function(){g.Cf.call(this);this.g=!1;this.o=this.A=this.l=null;this.W=new g.Km(this);this.l=pq(Ifa);this.A=g.J("videoAdUiUnmutedIcon",this.l);this.o=g.J("videoAdUiMutedIcon",this.l);Rt(this);this.W.U(this.l,"click",this.B)};
Rt=function(a){a.A&&a.o&&(a.g?(g.nh(a.A,"display","none"),g.nh(a.o,"display","block")):(g.nh(a.A,"display","block"),g.nh(a.o,"display","none")))};
Tt=function(a,b){g.Cf.call(this);this.pa=a;this.C=1;this.B=this.g=this.l=this.o=null;this.A=a.M;this.W=new g.Km(this);g.N(this,this.W);this.D=new nt;g.N(this,this.D);this.F=!a.Gb;this.o=pq(Cr);this.l=g.J("videoAdUiPreSkipButton",this.o);this.g=g.J("videoAdUiPreSkipText",this.l);g.S(this.g,"videoAdUiPreviewText");this.B=g.J("videoAdUiPreSkipThumbnail",this.l);if(nn().g("enable_simple_skip_preview_for_postrolls")&&3==this.pa.breakType){if(this.pa.showContentThumbnail=!1,this.A){var c=this.g;var d=d=
{xe:""};d=""+Ga("Ad will end in {$xSeconds}",{xSeconds:Q(d.xe)});g.Qd(c,d)}}else this.A?g.Qd(this.g,Dr({xe:""})):g.Qd(this.g,""+Ga("Video will play after ad"));c=vq(this.pa.Z)||"";this.pa.showContentThumbnail&&!g.D(g.F(c))?(d=g.Cd("img"),d.setAttribute("src",c),g.S(d,"videoAdUiPreSkipThumbnailImage"),this.B.appendChild(d)):this.A?(g.O(this.B,!1),g.S(this.l,"videoAdUiPreSkipButtonNoThumbnail"),g.S(this.g,"videoAdUiPreSkipTextOnlyCentered")):g.O(this.l,!1);g.O(this.o,!1);b.appendChild(this.o);this.W.U(this.D,
"click",this.H);this.D.Fb(this.B)};
g.Ut=function(a,b,c){g.M.call(this);this.Ea=null;this.o=!1;this.B=a;this.A=c;this.g=b||window;this.l=(0,g.A)(this.qJ,this)};
Vt=function(a){a=a.g;return a.requestAnimationFrame||a.webkitRequestAnimationFrame||a.mozRequestAnimationFrame||a.oRequestAnimationFrame||a.msRequestAnimationFrame||null};
Wt=function(a){a=a.g;return a.cancelAnimationFrame||a.cancelRequestAnimationFrame||a.webkitCancelRequestAnimationFrame||a.mozCancelRequestAnimationFrame||a.oCancelRequestAnimationFrame||a.msCancelRequestAnimationFrame||null};
g.Xt=function(a,b,c){g.M.call(this);this.g=a;this.rd=b||0;this.l=c;this.o=(0,g.A)(this.dz,this)};
g.Yt=function(a,b){a.isActive()||a.start(b)};
g.Zt=function(a){a.stop();a.dz()};
g.$t=function(a){a.isActive()&&g.Zt(a)};
bu=function(a,b){g.Cf.call(this);this.config=a;this.fa=0;this.Y=!1;this.state=0==Mp(this.config.skipOffset)?3:1;this.l=this.Z=this.skipButton=this.sa=this.ia=this.H=this.C=this.o=null;this.dc=new g.Km(this);this.F=this.A=null;this.M=new nt;this.na="";this.ea=!1;var c=a.g;c=this.g=null!=c&&null!=Me(c)?Ee(Me(c),Ne,1):null;this.xa=null!=c&&Ae(c,19)?!0:!1;c=this.g;this.I=null!=c&&Ae(c,24)?!0:!1;c=this.g;this.Ca=null!=c&&Ae(c,23)?!0:!1;c=this.g;this.Ha=null!=c&&Ae(c,25)?!0:!1;var d=null;this.xa?(c=xfa,
d={lp:"\n"}):c=Cr;this.o=pq(c,d);this.C=g.J("videoAdUiPreSkipButton",this.o);this.H=g.J("videoAdUiPreSkipText",this.C);this.ia=g.J("videoAdUiPreSkipTextTimeLeft",this.C);this.sa=g.J("videoAdUiPreSkipThumbnail",this.C);this.Ca&&g.O(this.H,!1);nn().g("use_forced_linebreak_preskip_text")&&(this.ea=!0,g.S(this.H,"videoAdUiPreSkipTextForcedLineBreak"));au(this,0);c=vq(this.config.Z)||"";nn().g("enable_simple_skip_preview_for_postrolls")&&3==this.config.breakType&&(this.config.showContentThumbnail=!1);
this.config.showContentThumbnail&&!g.D(g.F(c))?(d=g.Cd("img"),d.setAttribute("src",c),g.S(d,"videoAdUiPreSkipThumbnailImage"),this.sa.appendChild(d)):P.g()?(g.S(this.C,"videoAdUiPreSkipButtonNoThumbnail"),g.S(this.H,"videoAdUiPreSkipTextOnlyCentered")):g.S(this.H,"videoAdUiPreSkipTextOnly");d=!P.g()&&P.R;var e=null!=this.g&&null!=Ee(this.g,We,3)&&!this.I,f=P.g()&&nn().g("fixed_padding_skip_button")&&!this.I;this.l=pq(this.I?Efa:d||e||f?Dfa:Cfa,{lv:xb(""+Ga("Skip Ad {$skipSymbol}",{skipSymbol:Q({vV:""}.vV)}))});
this.skipButton=g.J("videoAdUiSkipButton",this.l);e&&(this.Z=g.J("videoAdUiSkipButtonExperimentalText",this.skipButton));if(e=d||P.g()&&nn().g("use_new_skip_icon")){var k=g.J("videoAdUiSkipIcon",this.skipButton);null!=k&&g.nq(k,"videoAdUiSkipIcon","videoAdUiExperimentalSkipIcon")}f||d?(g.S(this.skipButton,f?"videoAdUiFixedPaddingSkipButton":"videoAdUiRedesignedSkipButton"),c=g.J("videoAdUiSkipButtonExperimentalText",this.skipButton),null!=c&&g.S(c,"videoAdUiFixedPaddingSkipButtonText"),g.S(g.J(e?
"videoAdUiExperimentalSkipIcon":"videoAdUiSkipIcon",this.skipButton),"videoAdUiFixedPaddingSkipButtonIcon")):this.I&&this.config.showContentThumbnail&&!g.D(g.F(c))&&(d=g.Cd("img"),d.setAttribute("src",c),g.S(d,"videoAdUiPreSkipThumbnailImage"),this.skipButton.appendChild(d));this.Ha&&(c=g.J("videoAdUiSkipText",this.l),g.O(c,!1));vga(this);"4.4.4"===(g.Un?Yn(Vn):"")&&(this.C.style.backgroundColor="black",this.skipButton.style.backgroundColor="black");g.O(this.o,!1);b.appendChild(this.o);0==Mp(this.config.skipOffset)?
this.dispatchEvent("skipshown"):(g.O(this.l,!1),g.Jh(this.l,0));b.appendChild(this.l);nn().g("move_skip_button_to_top")&&(g.S(this.o,"videoAdUiHighPreSkipContainer"),g.S(this.l,"videoAdUiHighSkipContainer"));this.dc.U(this.M,"click",this.uV);this.I?this.M.Fb(this.l):this.M.Fb(this.skipButton)};
au=function(a,b){var c=null!=a.config.skipOffset&&-1!=Mp(a.config.skipOffset)?Mp(a.config.skipOffset):-1;if(!(0>c)){var d=Math.ceil(c-b);c=d.toString();60<=d&&(c=Lo(d));d=nn().g("enable_simple_skip_preview_for_postrolls")&&3==a.config.breakType;var e=a.na;d?e=a.ea?"postrollforcedlinebreak":"postroll":a.ea&&(e="forcedlinebreak");d={On:e,xe:c,lp:"\n"};a.xa&&null!=a.ia?g.Qd(a.ia,c):(c=a.H,d=d||{},d=""+op("b",d.On)(d,void 0),g.Qd(c,d))}};
cu=function(a){return new vt(a,.5,{opacity:1,visibility:"shown"},{opacity:.9,visibility:"hidden"},{property:"opacity",duration:.5,timing:"ease-out",delay:0})};
du=function(a,b){null!=a.C&&g.O(a.C,b);null!=a.skipButton&&g.O(a.skipButton,b)};
vga=function(a){if(null!=a.g){var b=null!=Ee(a.g,Te,1)&&null!=Ee(Ee(a.g,Te,1),Ue,1)?Ae(Ee(Ee(a.g,Te,1),Ue,1),1):null,c=null!=Ee(a.g,Te,2)&&null!=Ee(Ee(a.g,Te,2),Ue,1)?Ae(Ee(Ee(a.g,Te,2),Ue,1),1):null;b&&(a.skipButton.style.backgroundColor=rt(qt(b)),c&&(a.dc.U(g.Nd(a.skipButton),"mouseover",function(){this.skipButton.style.backgroundColor=rt(qt(c))}),a.dc.U(g.Nd(a.skipButton),"mouseout",function(){this.skipButton.style.backgroundColor=rt(qt(b))})));
if(null!=Ee(a.g,We,3)&&null!=a.Z){var d=Raa(Ee(a.g,We,3));0<d.length&&Ae(d[0],1)&&g.Qd(a.Z,Ae(d[0],1))}}};
iu=function(a,b){bu.call(this,a,b);var c=this.g;this.X=null!=c&&Ae(c,8)?!0:!1;this.ga=!1;this.B=this.K=null;c=this.g;var d=eu;null!=c&&(null!=Ae(c,10)&&Ae(c,10)||null!=Ae(c,9)&&!Ae(c,9))&&(d=fu);this.J=d;c=this.g;d=gu;null!=c&&(null!=Ae(c,12)&&Ae(c,12)||null!=Ae(c,11)&&!Ae(c,11))&&(d=hu);this.R=d;c=this.g;d=.5;this.X||null==c||null==Ae(c,26)||(c=Ae(c,26),d=(null==c?c:+c)||0);this.ba=d;this.D=0};
ju=function(a){null==a.B&&"4.4.4"!=(g.Un?Yn(Vn):"")&&1!=a.D&&(g.Ze(a.A),a.A=null,a.B=g.rg(function(){Mt(this.l,.5,"ease-in",1,this.ba).play();this.D=1;this.B=null},0,a))};
lu=function(a,b){if(0!=a.D){if(b){if(null!=a.B||"4.4.4"==(g.Un?Yn(Vn):""))return;a.B=g.rg(function(){Mt(this.l,.5,"ease-in",this.ba,1).play();this.B=null},0,a)}else ku(a),g.Jh(a.l,1);
a.D=0}};
ku=function(a){null!=a.B&&(g.sg(a.B),a.B=null)};
mu=function(a){null!=a.K&&(g.sg(a.K),a.K=null)};
nu=function(a,b,c){var d=null;switch(c){case gu:null!=b&&null!=b.skipOffset&&(d=1E3*(a-Mp(b.skipOffset)));break;case hu:a=g.y("window.yt.util.activity.getTimeSinceActive"),d=(a=null!=a?a().toString():null)?Fb(a):null}return d};
ou=function(a,b){var c=1E3*a.hy;null!=b&&null!=Ae(b,13)&&(c=Ae(b,13));return c};
pu=function(a,b,c,d,e,f,k,l,m){this.o=a;this.J=b;this.B=c;this.C=d;this.l=e;this.D=f;this.F=k;this.H=l;this.I=m;this.g=this.o.tg()};
qu=function(a){var b=a.g;var c=g.Hh(a.A);c="left"==a.B?"0px":"right"==a.B?c.width-a.o.be().width+"px":a.B+"px";var d=g.Hh(a.A);a="bottom"==a.C?"0px":"top"==a.C?d.height-a.o.be().height+"px":d.height-a.o.be().height-Fb(a.C)+"px";g.nh(b,{position:"absolute",overflow:"hidden",left:c,bottom:a})};
wga=function(a){g.Kh(a.g)||(g.O(a.g,!0),(0,g.C)(a.I,function(a){xn(a)}))};
ru=function(a,b,c,d){g.Cf.call(this);this.pa=a;this.tb=this.ba=!1;this.Z=c;this.rb=d;this.Wa=this.Ca=this.Ha=this.I=this.M=this.D=this.K=this.ga=this.l=this.o=this.Pa=this.fa=this.ea=this.C=this.ia=this.R=this.B=this.A=this.J=this.Y=this.F=this.Ta=this.xa=this.sa=this.H=this.g=null;this.W=new g.Km(this);this.na=[];a=this.pa;this.Ib=null!=a&&null!=a.g&&null!=Me(a.g)?Ee(Me(a.g),Oe,2):null;this.X=[];this.Ss(b)};
xga=function(a){null!=a.o&&g.O(a.o,!1)};
tu=function(a){a.l&&(a.l.dispose(),a.l=null)};
uu=function(a,b){a.na=b;(0,g.C)(b,function(a){a.A=this.g;a.A.appendChild(a.g);qu(a);g.O(a.g,!1);var b=a.Cc();if(null!=b){var c=new nt;c.B=!0;this.X.push(c);this.W.U(c,"click",(0,g.A)(this.rK,this,a));c.Fb(b)}},a)};
vu=function(a){null!=a.F&&(g.O(a.F,!0),g.Qd(a.F,a.pa.visitAdvertiserText));null!=a.Y&&g.O(a.Y,!0)};
wu=function(a,b){if(null!=a.g){var c=g.Yd(g.Nd(a.g),"html5-video-player");null!=c&&(g.U(c,"ytp-ad-end-cap",b),nn().g("desktop_trv_action_endcap_background_clickable")&&g.U(c,"ytp-endcap-background-clickable",b),g.U(c,"ytp-ad-display-override",b))}};
yu=function(a){var b=a.pa.D&&(a.Z>a.pa.Y||0==a.Z),c=b&&a.pa.sa,d=b&&a.pa.xa,e=b&&a.pa.B,f=b&&a.pa.na;b=b&&a.pa.K;var k=a.pa.ia&&a.pa.A,l="0px";var m=a.Ib;m=P.g()&&null!=m&&Ae(m,1)?!1:!0;null!=a.C&&(g.O(a.C,b),null!=a.J&&g.O(a.J,c),null!=a.A&&g.O(a.A,d),null!=a.I&&(g.O(a.I,f),f&&a.dispatchEvent("videoShareShown")),null!=a.Ca&&g.O(a.Ca,!1),null!=a.Wa&&g.O(a.Wa,!1),null!=a.ea&&g.O(a.ea,b||c||d||e));null!=a.H&&g.O(a.H,a.pa.o);null!=a.fa&&(g.O(a.fa,k),k&&(l=rh(a.fa,"height")));null!=a.ia&&!P.g()&&g.nh(a.ia,
"bottom",l);xu(a);null!=a.sa&&g.O(a.sa,a.pa.ba);null!=a.Ta&&g.O(a.Ta,m);P.g()||!a.pa.J||P.C||(null!=a.B&&g.O(a.B,!1),null!=a.R&&g.O(a.R,!1))};
zu=function(a,b,c,d,e){var f=Er({aq:"",cn:0,cq:0});a.pa.A&&a.pa.fa&&(b=Lo(c-b),f=Er({aq:a.pa.H?" \u2022 "+b:a.ba?" \u00b7 "+b:": ("+b+")",cn:d,cq:e}));g.Qd(a.xa,f);g.O(a.H,a.pa.o)};
yga=function(a,b){null!=a.ga&&a.ga.show(b)};
xu=function(a){var b=a.pa.D&&(a.Z>a.pa.Y||0==a.Z)&&a.pa.B?a.pa.J?!P.C||a.tb:!0:!1;null!=a.B&&g.O(a.B,b);null!=a.R&&g.O(a.R,P.g()&&a.pa.C&&!b)};
Au=function(){g.M.call(this);this.A="";this.Ya=null;this.o=new Fp;this.l=new g.om;this.C=[];this.H=!1;this.g={};this.F={};this.B=-1;this.D=[]};
Bu=function(a,b,c){c=c||Np(a.o,b.type);if(P.l){var d=To(Qo(),b.type,a.A);a.I(b.type,c,d)}else mea(xo(),b.type,a.A,(0,g.A)(a.I,a,b.type,c))};
zga=function(a,b){null!=b&&(0,g.C)(b,function(a){g.Oa(this.D,a)||this.D.push(a)},a)};
Cu=function(a,b,c){null!=c.viewability&&Dq(a.g,c.viewability);var d;P.l||(d=xo().H||void 0);var e=[];(0,g.C)(b,function(a){var b=this.g;Eq(b,a,"MOAT_INIT",c.moatInit);Eq(b,a,"MOAT_VIEWABILITY",c.moatViewability);Eq(b,a,"IAS_VIEWABILITY",c.integralAdsViewability);Eq(b,a,"DV_VIEWABILITY",c.doubleVerifyViewability);Eq(b,a,"GOOGLE_VIEWABILITY",c.googleViewability);e.push(zn(a,this.g,c,d))},a);
Dq(a.g,"na");return e};
Du=function(a,b,c){(0,g.C)(b,function(a){xn(a,void 0,void 0,c)},a)};
Aga=function(a,b){switch(b){case "abandon":return!qm(a.l,b)&&!qm(a.l,"skip")&&!qm(a.l,"instreamAdComplete")&&(qm(a.l,"impression")||a.H);case "instreamAdComplete":case "complete":return!qm(a.l,b)&&!qm(a.l,"skip");case "progress":case "click":case "mute":case "unmute":case "rewind":case "fullscreen":case "exitfullscreen":case "expand":case "collapse":return!0;default:return!qm(a.l,b)}};
Eu=function(a){g.Cf.call(this);this.ads=a;this.uc=null;this.Ce=new g.Km(this);g.N(this,this.Ce);this.Zc="normal";this.Ia=this.volume=null;this.Qa=new to;this.ne=!1;this.content={};this.bc=new Au;this.Oa=null;this.En=!1;xo();this.rq=(0,g.A)(this.pJ,this);var b=0;(0,g.C)(a,function(a){b+=a.getDuration()});
(0,g.C)(a,function(b,d){var c=b.A;c.Xe=a.length;var f=d+1;c.g=f;c.o=f})};
Fu=function(a,b){if(a.uc=b)a.bc.A=b.I;if(P.l){var c=Qo();Uo(c,a.rq);b&&c.l.set(b.I,a.rq)}};
Gu=function(a,b){return null==b?!1:null!=b.getExtension("adx")?!0:Gu(a,b.l)};
Hu=function(a){return(0,g.zj)(a.ads,function(a){return(0,g.zj)(this.gh(a),function(a){a=a.Sa();return!g.D(g.F(sq(a)))})},a)};
Iu=function(a){a=a.g;return null!=a&&a instanceof Tp};
Ju=function(a,b){Bu(a.bc,new g.af(b));a.ha(b)};
Bga=function(a,b){return(0,g.cm)(g.Pb(b),function(a){return Rb(this.Qa,a)},a)};
Lu=function(a){if(!a.Fc())throw Fn(Ku,null,"Ads manager is not correctly configured.");};
Mu=function(a,b){for(var c=b;null!=c;)(0,g.C)(c.R.ub(),a.LU,a),c=c.l};
Cga=function(a){if(!g.ya(a))throw Fn(Ku,null,"adsRenderingSettings.mimeTypes should be an array");var b=g.Va(g.Ob(Nu),g.Ob(Xp));(0,g.C)(a,function(a){if(!g.Oa(b,a))throw Fn(Ku,null,"Invalid or unsuppoted mime type "+a);})};
Ou=function(a){var b=a.ma();if(null!=b){var c=b.g;if(c instanceof Tp&&(c=c.ra,null!=c&&!g.Pa(c))){var d=window.document.body,e=Cq(a.ma());e=Kt(!1,null,null,!1,a.Qa,e);e.D=!1;e.o=!1;e.A=!1;b=b.Me();a.Oa=new ru(e,d,1E3*a.getDuration(),b);uu(a.Oa,c);a.Oa.show();a.Va().U(a.Oa,"videoIconClicked",a.tR)}}};
Pu=function(a,b,c){null!=a.Oa&&0<=c&&0<=b&&a.Oa.update(b,0,c,0,0)};
Dga=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(Qu,a,"attribute");c(Qu,b,"param")};
g.Ru=function(){};
g.Su=function(a){g.Cf.call(this);this.H=a||g.md();this.Ea=null;this.Pe=!1;this.g=null;this.C=void 0;this.D=this.J=this.A=null};
Tu=function(a,b){if(a.Pe)throw Error("Component already rendered");a.g||a.no();b?b.insertBefore(a.g,null):a.H.g.body.appendChild(a.g);a.A&&!a.A.Pe||a.rj()};
Uu=function(a,b){a.J&&(0,g.C)(a.J,b,void 0)};
Vu=function(a,b){g.Su.call(this,b);this.F=a;this.W=new g.Km(this);this.l=new g.om};
Wu=function(a){return a.la()?a.la().firstChild:null};
Xu=function(a){g.Cf.call(this);this.Ya=null;this.C=a;this.l=null;this.A=-1;this.B=!1;this.o=Bb()};
Yu=function(){};
Zu=function(a,b,c){this.g=a;this.If=c;this.l=b};
Ega=function(a,b){this.g=a;this.l=b};
$u=function(a,b,c,d){$p.call(this,a,b,"Static",c,d);this.Cx=!1};
av=function(a,b,c,d){$p.call(this,a,b,"Html",c,d)};
bv=function(a,b,c,d){$p.call(this,a,b,"Static",c,d)};
dv=function(a,b,c){if(g.Pa(c))return new $p(a,b,"",null,"");var d=cv(c);c=d.l;var e=d.g;d=d.o;switch(c){case "Html":return new av(a,b,e,d);case "Static":switch(Xp[e]){case "Image":return new bv(a,b,e,d);case "Flash":return new $u(a,b,e,d);case "Text":return new rq(a,b)}}return new $p(a,b,c,e,d)};
cv=function(a){var b=g.Ka(a,function(a){return"Static"==a.l&&"Flash"==Xp[a.g]}),c=g.Ka(a,function(a){return"IFrame"==a.l}),d=g.Ka(a,function(a){return"Html"==a.l}),e=g.Ka(a,function(a){return"Static"==a.l&&"Image"==Xp[a.g]}),f=g.Ka(a,function(a){return"Static"==a.l&&"Text"==Xp[a.g]});
return Jo&&null!=b?b:null!=c?c:null!=d?d:null!=e?e:null!=f?f:a[0]};
Fga=function(a,b,c,d,e,f){var k=cv(f),l=dv(a.id,a.size,[k]);l.C=!0;l.I=a.apiFramework;l.na=b;l.J=c;l.g=d;e&&(l.Qj=e);g.Ta(f,k);var m=[];(0,g.C)(f,function(f){f=dv(a.id,a.size,[f]);f.C=!0;f.I=a.apiFramework;f.na=b;f.J=c;f.g=d;e&&(f.Qj=e);m.push(new mr(f,[],a.adSlotId))});
return new mr(l,m,a.adSlotId)};
ev=function(a,b,c){this.l=a;this.g=b;this.o=c};
fv=function(a,b,c){gq.call(this);this.l=a;this.o=b;this.A=c};
gv=function(){this.Ya=null};
hv=function(){this.B=null;this.C="http://www.google.com/adsense/support";this.D=0;this.g=15;this.A=5;this.o=3;this.l=!1};
Gga=function(a,b){a.g=b};
iv=function(a,b,c,d,e,f,k,l,m,n,q){gq.call(this,n,q);this.B=a;this.C=b;this.A=c;this.D=m;this.F=k;this.l=f;this.o=e};
jv=function(){};
Iga=function(a,b){var c;(0,g.C)(g.Kd(b),function(a){switch(a.nodeName){case "context":c="default"==a.getAttribute("data")?new hv:null;break;case "params":null!=c&&Hga(this,c,a)}},a);
return c};
Hga=function(a,b,c){(0,g.C)(g.Kd(c),function(a){var c=a.attributes[0].value;switch(a.nodeName){case "attribution_url":b.C=c;break;case "attribution_text":b.B=c;break;case "signals":b.D=(0,window.parseInt)(c,10);break;case "audio_muted_on_start":b.l=es(c,!1)}},a)};
kv=function(){this.Ya=null};
lv=function(){};
mv=function(){};
nv=function(){};
ov=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]=ov(a[d]));else a instanceof Object&&(b={},pv(b,a));return b};
pv=function(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=ov(b[c]))};
qv=function(a){return{By:a}};
rv=function(a,b,c){this.type=a;this.label=b;this.he=c};
tv=function(a,b){return new rv(a,1,b)};
uv=function(a){new rv(a,2,void 0)};
vv=function(a,b){return new rv(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};
Av=function(a,b){return!!zv(a,b,void 0)};
Mr=function(a,b){return zv(a,b,"")};
Bv=function(a,b,c){a=a.data;a[b]||(a[b]=[]);return a[b][c]};
Jga=function(a){for(var b=Dv,c=[],d=0;d<Ev(a,"event");d++)c.push(new b(Bv(a,"event",d)));return c};
Ev=function(a,b){return a.data[b]?a.data[b].length:0};
Fv=function(a){this.data=a||{}};
Gv=function(a){this.data=a||{}};
Hv=function(a){this.data=a||{}};
Iv=function(a){this.data=a||{}};
Dv=function(a){this.data=a||{}};
Jv=function(a){this.data=a||{}};
Kv=function(a){this.data=a||{}};
Lv=function(a){this.data=a||{}};
Us=function(a){this.data=a||{}};
qr=function(a){return new Jv(a.data.product_card)};
yr=function(a){return new Iv(Bv(a,"action",0))};
Ts=function(a){return Av(a,"show_in_endcap")};
Vs=function(a){return Av(a,"show_in_companion")};
Rv=function(){if(!Mv){var a={};Mv=qv(a);a.type=Nv;a.id=Ov;a.link_url=Ov;a.title=Ov;a.image=wv(Pv());a.event=xv(Qv());a.target=Ov;a.priority=Ov}return Mv};
Or=function(a){return Mr(a,"title")};
xr=function(a){return Mr(a,"target")};
Qv=function(){if(!Sv){var a={};Sv=qv(a);a.type=Nv;a.base_url=Ov}return Sv};
ur=function(a){return new Us(a.data.image)};
rr=function(a){return new Kv(Bv(a,"offer",0))};
tr=function(a){return Mr(a,"merchant")};
vr=function(a){return Mr(a,"price")};
Tv=function(a){return new Iv(Bv(a,"action",0))};
Pr=function(a){return Mr(a,"description")};
Pv=function(){if(!Uv){var a={};Uv=qv(a);a.image_url=Ov;a.thumbnail_url=Ov;a.image_height=Vv;a.image_width=Vv}return Uv};
Wv=function(a,b,c){gq.call(this,c);this.l=a;this.o=b||null};
Xv=function(a){this.g=a};
Zv=function(a,b,c){for(var d={},e=0;e<b.attributes.length;e++){var f=b.attributes[e],k=c.By[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]=Yv[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.By[f.nodeName],null!=k)){var l=Zv(a,f,k.he);3==k.label?(d[f.nodeName]||(d[f.nodeName]=[]),d[f.nodeName].push(l)):d[f.nodeName]=l}return d};
Kga=function(a,b){var c=new Fp;(0,g.C)(g.Kd(b),function(a){"CustomTracking"==a.nodeName&&null!=g.Kd(a)&&(c=hs(a,!1,(0,g.A)(function(a,b){return $v(a,b)},this)))},a);
return c};
$v=function(a,b){return g.Tm(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.o=a;this.l=g.F(b)};
bw=function(a){gq.call(this);this.l=a};
cw=function(){this.Ya=null};
dw=function(a,b){this.logger=null;this.o=b;this.g={};this.l=[];this.g.CustomTracking=hs;this.g.UI=this.B};
ew=function(a,b){if(null==b)return null;var c={};(0,g.C)(g.Kd(b),function(a){c[a.nodeName]=null!=this.g[a.nodeName]?this.g[a.nodeName].call(this,a):null},a);
return null==c.UI?null:c};
fw=function(){dw.call(this,"MuteExtensionParser","mute_");this.g.SurveyOptions=this.A};
gw=function(){gq.call(this);this.l=""};
hw=function(){this.Ya=null};
iw=function(a,b,c,d){gq.call(this);this.A=a;this.o=b;this.B=c;this.l=d};
jw=function(){this.Ya=null};
kw=function(a){gq.call(this,a)};
lw=function(){};
mw=function(){gq.call(this)};
nw=function(){this.Ya=null};
Lga=function(a,b){var c;(0,g.C)(g.Kd(b),function(a){a.nodeName==this.g.RH&&(c=as(a))},a);
return c};
ow=function(a,b,c,d,e,f){gq.call(this);this.B=a||"";this.C=b||"";this.D=c||"";this.A=d;this.l=e;this.o=f};
pw=function(){this.Ya=null};
qw=function(a){gq.call(this);this.l=a};
rw=function(){this.Ya=null};
tw=function(){dw.call(this,"WhyThisAdExtensionParser","why_this_ad_");this.l.push("targeting_reason")};
uw=function(a,b){return null!=a?(0,g.cm)(b,function(b){return b in a}):!1};
Mga=function(a,b){return null!=a?(0,g.zj)(b,function(b){return b in a}):!1};
vw=function(){};
ww=function(){gq.call(this)};
xw=function(){};
yw=function(){};
zw=function(a){this.A=a;this.logger=null};
Aw=function(a){if(null==a)return!1;a=g.Md(a);return null!=a&&"VAST"==a.nodeName};
Cw=function(a,b){var c=[],d=null;try{var e=g.Ur(a),f=g.Md(e);null!=f&&"CompanionAds"==f.nodeName&&(d=Bw(zw.prototype,f,b))}catch(k){}null!=d&&c.push(d);return c};
Dw=function(a){if(null==a)return 0;a=(0,window.parseInt)(a.getAttribute("version"),10);return g.ua(a)&&!(0,window.isNaN)(a)?a:0};
Oga=function(a){var b=[],c=g.Md(a.A),d=Dw(c);bs(c,a.g.NF,function(a){var c=Ew(a);if(null==c)throw Wr(a);var e=a.getAttribute(this.l.Qm);a=Number(a.getAttribute(this.l.Iw));var l=e||null;e=a||0;var m=null,n=null;a=[];for(var q=[],r=[],v=[],E=new g.om,H,L=c.nodeName==this.g.eI,T=L,ha=L,db=null,sa=g.Kd(c),Vd=0,zh=sa.length;Vd<zh;Vd++){var qb=sa[Vd];switch(qb.nodeName){case this.g.OF:as(qb);case this.g.uH:break;case this.g.aI:if(L){if(null!=H)throw Xr(qb);H=as(qb);db=Pfa(H);T=es(c.getAttribute(this.l.TF),
T);ha=es(c.getAttribute(this.l.HG),ha)}else throw Wr(qb);break;case this.g.RF:m=as(qb);break;case this.g.SF:n=as(qb);break;case this.g.wG:as(qb);break;case this.g.OH:as(qb);break;case this.g.Sm:qb=as(qb);fs(qb)&&a.push(qb);break;case this.g.ERROR:qb=as(qb);q.push(qb);break;case this.g.pG:v=Nga(this,qb);r=v.creatives;v=v.HI;break;case this.g.EG:var Ve=qb;E=db;qb=new g.om;try{var $q=Zr(Ve,this.g.EXTENSION);Ve=0;for(var Cl=$q.length;Ve<Cl;Ve++){var tc=$q[Ve],ic=tc.getAttribute(this.l.Ww);null!=ic?ic=
ic.toLowerCase():ic="generic";switch(ic){case "programmatic":var uc=(new hw).parse(tc);break;case "geo":uc=(new xw).parse(tc);break;case "pod":uc=(new vw).parse(tc);break;case "waterfall":uc=(new yw).parse(tc);break;case "dart":uc=(new lv).parse(tc);break;case "dfp":ic="DFP";uc=(new mv).parse(tc);break;case "adsense":ic="AdSense";uc=(new kv).parse(tc);break;case "textad":ic="TextAd";uc=(new pw).parse(tc);break;case "templatead":ic="TemplateAd";uc=(new nw).parse(tc);break;case "infocards":ic="InfoCards";
var ar=new Xv(!0);uc=ar.parse(tc);break;case "infocardstracking":ic="InfoCardsTracking";ar=new Xv(!1);uc=ar.parse(tc);break;case E:case "prefetchedad":ic="LocalRedirect";var Ki=tc;if(null==Ki)uc=null;else{var Dl=null,Cv=Zr(Ki,"AdXml");if(1==Cv.length){var td=g.Md(Cv[0]);if(null!=td)try{Dl=Yr(td)}catch(NB){Dl='<?xml version="1.0" encoding="UTF-8"?>'+Vr(td)}else Dl='<?xml version="1.0" encoding="UTF-8"?>'+Vr(td)}var El=Zr(Ki,"VASTAdTagURI");Ki=null;1==El.length&&(Ki=El[0].textContent);uc=new aw(Dl,
Ki)}break;case "viral":ic="viral";uc=(new rw).parse(tc);break;case "metrics":ic="metrics";uc=(new cw).parse(tc);break;case "adx":ic="adx";uc=(new js).parse(tc);break;case "why_this_ad":ic="why_this_ad";uc=(new tw).parse(tc);break;case "mute":ic="mute";uc=(new fw).parse(tc);break;case "sodar":uc=(new jw).parse(tc);break;case "survey":uc=(new lw).parse(tc);break;case "adformat":ic="AdFormat";uc=(new gv).parse(tc);break;default:var YL=new nv;ic="generic";uc=YL.parse(tc)}if(null!=uc){var Li=qb.get(ic);
null!=Li?"generic"==ic&&(Rea(Li,uc.g),qb.set(ic,Li)):qb.set(ic,uc)}}}catch(NB){if(!g.Aa(NB.Pb)||1105==NB.Pb())throw NB;}E=qb}}c=g.F(l);$q=m;a:if(g.D(g.F(m)))Cl="UNKNOWN";else switch(Cl=m.toUpperCase(),Cl){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:Cl="UNKNOWN"}E.get("programmatic");
tc=E;ic=null;E=E.get("AdSense");null!=E&&(E=hq(E,"vast2tracking"),null!=E&&!g.Pa(E)&&(ic=E[0]));e=new ns(c,$q,Cl,n,e,q,a,r,v,tc,H,T,ha,ic);null!=e&&(e.Ta=d,b.push(e))},a);
return b};
Ew=function(a){var b=null;a=g.Kd(a);for(var c=0,d=a.length;c<d;c++)switch(b=a[c],b.nodeName){case "InLine":case "Wrapper":break;default:throw Wr(b);}return b};
Pga=function(a){if(g.D(g.F(a)))return"none";switch(a){case "all":case "any":case "none":return a;default:return"none"}};
Nga=function(a,b){var c=[],d=[];bs(b,a.g.oG,function(a){var b=a.getAttribute(this.l.Iw),e=window.NaN;g.D(g.F(b))||(e=(0,window.parseFloat)(b));a.getAttribute(this.l.PF);b=a.getAttribute(this.l.Qm);var l=!1,m=[];a=g.Kd(a);for(var n=0,q=a.length;n<q;n++){var r=a[n];switch(r.nodeName){case this.g.YH:var v=r,E=as(v);E=g.F(E);g.D(E)&&v.getAttribute(this.l.PG);r.getAttribute(this.l.OG);break;case this.g.LINEAR:if(l)throw Xr(r);l=Qga(this,r,(0,window.isNaN)(e)?0:e,b||null);Xa(c,l);Xa(m,l);l=!0;break;case this.g.eG:if(l)throw Xr(r);
l=Bw(this,r,(0,window.isNaN)(e)?0:e);Xa(d,l);l=!0;break;case this.g.lH:if(l)throw Xr(r);l=Rga(this,r,(0,window.isNaN)(e)?0:e,b||null);Xa(c,l);Xa(m,l);l=!0}}n=0;for(q=m.length;n<q;n++);},a);
return{creatives:c,HI:d}};
Rga=function(a,b,c,d){var e=[],f=new Fp;b=g.Kd(b);for(var k=0,l=b.length;k<l;k++){var m=b[k];switch(m.nodeName){case a.g.kH:m=Sga(a,m,c,d);null!=m&&e.push(m);break;case a.g.Kq:f=hs(m);break;default:throw Wr(m);}}0!=e.length||f.isEmpty()||(a=new $p(null,new g.hd(-1,-1),"",null,""),a.g=c,a.ga=d,e.push(a));(0,g.C)(e,function(a){f&&(a.Qj=f)});
return e};
Fw=function(a,b){var c={};c.id=b.getAttribute(a.l.Qm);c.adSlotId=b.getAttribute(a.l.QF);c.apiFramework=b.getAttribute(a.l.Nm);var d=Cb(b.getAttribute(a.l.Vm)),e=Cb(b.getAttribute(a.l.Om));c.size=new g.hd(d,e);d=b.getAttribute(a.l.DG);e=b.getAttribute(a.l.CG);g.D(g.F(d))||g.D(g.F(e))||(c.u4=new g.hd(Cb(d),Cb(e)));return c};
Sga=function(a,b,c,d){var e=Fw(a,b);b.getAttribute(a.l.Nm);b.getAttribute(a.l.CH);b.getAttribute(a.l.YG);var f=b.getAttribute(a.l.gH);f=ds(f,-1);var k=[];new g.om;var l={},m="",n=null,q=[];b=g.Kd(b);for(var r=0,v=b.length;r<v;r++){var E=b[r];switch(E.nodeName){case a.g.nH:q.push(as(E));break;case a.g.mH:n=as(E);break;case a.g.Cq:l=Gw(E);m=g.F(as(E));break;case a.g.Rm:case a.g.Tm:case a.g.Pm:E=Hw(a,E);null!=E&&k.push(E);break;default:throw Wr(E);}}a=dv(e.id,e.size,k);Pp(a,m,l);a.I=e.apiFramework;a.na=
n;a.J=q;a.Ca=f;a.g=c;a.ga=d;return a};
Hw=function(a,b){var c=$r(b,a.l.qG);if(null!=c&&"text/javascript"==c)return null;a:{var d=b.nodeName;switch(d){case a.g.Tm:d="Static";break a;case a.g.Rm:d="IFrame";break a;case a.g.Pm:d="Html";break a;default:throw En(Tga,null,d);}}var e=as(b);null!=e||(e="");return new ev(d,c,e)};
Bw=function(a,b,c){var d=[],e=Pga($r(b,a.l.yH));bs(b,a.g.dG,function(a){var b=Fw(this,a);var e=[],f=new Fp,n=null,q=[];a=g.Kd(a);for(var r=0,v=a.length;r<v;r++){var E=a[r];switch(E.nodeName){case this.g.gG:q.push(as(E));break;case this.g.Kq:f=hs(E,!0);break;case this.g.fG:n=as(E);break;case this.g.UF:as(E);break;case this.g.Cq:as(E);break;case this.g.Rm:case this.g.Tm:case this.g.Pm:E=Hw(this,E);null!=E&&e.push(E);break;default:throw Wr(E);}}b=g.Pa(e)?null:Fga(b,n,q,c,f,e);null!=b&&d.push(b)},a);
return new Ega(d,e)};
Qga=function(a,b,c,d){var e=new Fp,f={},k="",l=[],m=null,n=new g.om,q=[],r=[],v=0,E=gs($r(b,a.l.GH));b=g.Kd(b);for(var H=0,L=b.length;H<L;H++){var T=b[H];switch(T.nodeName){case a.g.JG:r=Uga(a,T);break;case a.g.Cq:f=Gw(T);k=g.F(as(T));break;case a.g.Fq:v=ds(as(T),0);break;case a.g.Kq:e=hs(T);break;case a.g.cH:q=Vga(a,T);break;case a.g.bI:l=Wga(a,T);n=l.customClicks;m=l.clickThrough;l=l.clickTrackingUrls;break;default:throw Wr(T);}}(0,g.C)(l,function(a){Kp(e,"click",a)});
a=new Tp(v,m,n,q,E,r);Pp(a,k,f);a.g=c;a.ga=d;e&&(a.Qj=e);return a};
Wga=function(a,b){for(var c=null,d=[],e=new g.om,f=g.Kd(b),k=0,l=f.length;k<l;k++){var m=f[k];switch(m.nodeName){case a.g.bG:c=as(m);break;case a.g.cG:m=as(m);d.push(m);break;case a.g.sG:var n=$r(m,a.l.Qm);null!=n||(n="");var q=e.get(n,[]);q.push(as(m));e.set(n,q);break;default:throw Wr(m);}}return{clickThrough:c,clickTrackingUrls:d,customClicks:e}};
Vga=function(a,b){for(var c=[],d=Zr(b,a.g.bH),e=0,f=d.length;e<f;e++){var k=d[e],l=$r(k,a.l.vG),m=$r(k,a.l.Ww);$r(k,a.l.cI);var n=Cb(k.getAttribute(a.l.Vm)),q=Cb(k.getAttribute(a.l.Om)),r=k.getAttribute(a.l.Nm),v=as(k),E=cs(k.getAttribute(a.l.cw)),H=cs(k.getAttribute(a.l.fH));k=cs(k.getAttribute(a.l.aH));l=new Sp(l,m,E,H,k,n,q,v,r);c.push(l)}return c};
Uga=function(a,b){var c=[];bs(b,a.g.IG,function(a){var b=a.getAttribute(this.l.vH);var d=$r(a,this.l.fI),k=$r(a,this.l.hI),l=Cb(a.getAttribute(this.l.Vm)),m=Cb(a.getAttribute(this.l.Om)),n=new g.hd(l,m);l=a.getAttribute(this.l.Nm);m=gs($r(a,this.l.oH));var q=a.getAttribute(this.l.Fq);q=ds(q,-1);var r=[],v=[],E={};a=g.Kd(a);for(var H=0,L=a.length;H<L;H++){var T=a[H];switch(T.nodeName){case this.g.NG:v.push(as(T));break;case this.g.KG:E=[];var ha=null;T=g.Kd(T);for(var db=0,sa=T.length;db<sa;db++){var Vd=
T[db];switch(Vd.nodeName){case this.g.LG:ha=as(Vd);break;case this.g.MG:E.push(as(Vd));break;default:throw Wr(Vd);}}E={iconClickThrough:ha,sK:E};break;case this.g.Rm:case this.g.Tm:case this.g.Pm:ha=Hw(this,T);null!=ha&&r.push(ha);break;default:throw Wr(T);}}g.Pa(r)?b=null:(a=E,n=dv("icon"+b,n,r),n.I=l,b=new pu(n,b,d,k,q,m,a.iconClickThrough,a.sK,v));null!=b&&c.push(b)},a);
return c};
Gw=function(a){a=as(a);return null!=a?sea(a):{}};
Iw=function(a){Eu.call(this,a);this.g=this.Ya=null;this.K={};this.o=!0;this.I=this.H=this.D=!1;this.C=this.J=0;this.l=null;this.B=0;this.A=1;this.F=-1;this.R=!1;this.M=2==P.D};
Jw=function(a){var b=a.ed("getAdLinear");return g.ta(b)?b:a.o};
Kw=function(a){if(!a.o){var b=a.ed("getAdRemainingTime");b=g.ua(b)?b:-2;if(!g.ua(b)||0>b)b=30;g.sg(a.F);a.F=g.rg(a.stop,1E3*b,a)}};
Mw=function(a,b){var c=Fn(Lw,b,void 0),d=Bq(c,a.ma()),e=xs(a.ma());Bn(e,d);Lw.message=c.Kd();In(a,Lw,b);a.stop()};
Nw=function(a){a.R||(a.R=!0,Ju(a,"complete"))};
Ow=function(a){Eu.call(this,a);this.B=this.g=this.Ya=null;this.o=!0;this.X=this.J=this.D=!1;this.R=Bb();this.H=this.K=0;this.F=-1;this.l=null;this.C=0;this.A=1;this.I=-1;this.M=!1};
Pw=function(a){var b=a.md("getAdLinear");return g.ta(b)?b:a.o};
Qw=function(a){if(!a.o){var b=a.md("getAdRemainingTime");b=g.ua(b)?b:-2;if(!g.ua(b)||0>b)b=30;g.sg(a.I);a.I=g.rg(a.stop,1E3*b,a)}};
Rw=function(a,b,c,d){d=Fn(b,c,d);var e=Bq(d,a.ma()),f=xs(a.ma());Bn(f,e);b.message=d.Kd();In(a,b,c)};
Sw=function(a){a.M||(a.M=!0,Ju(a,"complete"))};
Tw=function(a){Zm.call(this,"adMetadata",a)};
Uw=function(a){switch(a){case 1:return"endslate";default:return"fullslot"}};
Vw=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"}};
g.Ww=function(a){if(g.x.JSON)try{return g.x.JSON.parse(a)}catch(b){}return kba(a)};
Xw=function(){};
Zw=function(a){var b;(b=a.g)||(b={},Yw(a)&&(b[0]=!0,b[1]=!0),b=a.g=b);return b};
$w=function(){};
ax=function(a){return(a=Yw(a))?new window.ActiveXObject(a):new window.XMLHttpRequest};
Yw=function(a){if(!a.l&&"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.l=d}catch(e){}}throw Error("Could not create ActiveXObject. ActiveX might be disabled, or MSXML might not be installed");}return a.l};
g.bx=function(a){g.Cf.call(this);this.headers=new g.om;this.M=a||null;this.o=!1;this.K=this.g=null;this.Y=this.I="";this.l=0;this.C="";this.A=this.X=this.H=this.R=!1;this.B=0;this.D=null;this.Z="";this.J=this.F=!1};
cx=function(a,b){a.B=Math.max(0,b)};
Xga=function(a){return g.wd&&g.oc(9)&&g.ua(a.timeout)&&g.u(a.ontimeout)};
Yga=function(a){return"content-type"==a.toLowerCase()};
fx=function(a,b){a.o=!1;a.g&&(a.A=!0,a.g.abort(),a.A=!1);a.C=b;a.l=5;dx(a);ex(a)};
dx=function(a){a.R||(a.R=!0,a.dispatchEvent("complete"),a.dispatchEvent("error"))};
jx=function(a){if(a.o&&"undefined"!=typeof gx)if(a.K[1]&&4==g.hx(a)&&2==a.getStatus())ix(a,"Local request error detected and ignored");else if(a.H&&4==g.hx(a))g.rg(a.gz,0,a);else if(a.dispatchEvent("readystatechange"),4==g.hx(a)){ix(a,"Request complete");a.o=!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.Dg(String(a.I))[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=!Zga.test(f?f.toLowerCase():"")}d=e}if(d)a.dispatchEvent("complete"),a.dispatchEvent("success");else{a.l=6;try{var l=2<g.hx(a)?a.g.statusText:""}catch(m){l=""}a.C=l+" ["+a.getStatus()+"]";dx(a)}}finally{ex(a)}}};
ex=function(a,b){if(a.g){kx(a);var c=a.g,d=a.K[0]?g.z:null;a.g=null;a.K=null;b||a.dispatchEvent("ready");try{c.onreadystatechange=d}catch(e){}}};
kx=function(a){a.g&&a.J&&(a.g.ontimeout=null);a.D&&(g.sg(a.D),a.D=null)};
g.hx=function(a){return a.g?a.g.readyState:0};
g.lx=function(a){try{return a.g?a.g.responseText:""}catch(b){return""}};
ix=function(a,b){return b+" ["+a.Y+" "+a.I+" "+a.getStatus()+"]"};
$ga=function(a,b,c,d){var e=new g.um("https://www.googleapis.com/youtube/v3/videos");g.Dm(e,"id",a);g.Dm(e,"part","snippet,status,statistics");g.Dm(e,"fields","items/id,items/snippet/title,items/snippet/channelId,items/status/privacyStatus,items/statistics/viewCount");null!=d&&(b=(0,g.A)(b,d),c=(0,g.A)(c,d));mx(new g.bx,e,b,c)};
aha=function(a,b,c,d){var e=new g.um("https://www.googleapis.com/youtube/v3/channels");g.Dm(e,"id",a);g.Dm(e,"part","snippet,statistics,brandingSettings");g.Dm(e,"fields","items/id,items/snippet/title,items/snippet/thumbnails/default/url,items/statistics/videoCount,items/brandingSettings/image/bannerImageUrl");null!=d&&(b=(0,g.A)(b,d),c=(0,g.A)(c,d));mx(new g.bx,e,b,c)};
mx=function(a,b,c,d){g.Dm(b,"key","AIzaSyA-dlBUjVQeuc4a6ZN4RkNUYDFddrVLxrA");cx(a,2E3);var e=new g.Km(a);e.th(a,"success",function(a){a=a.target;var b=a.g?g.Ww(a.g.responseText):void 0;c(b||{});e.dispose();a.dispose()});
e.th(a,["error","timeout"],function(a){a=a.target;var b=null;0!=a.l&&(b=Error(Vw(a.l)));d(b);e.dispose();a.dispose()});
a.send(b)};
nx=function(a,b,c){Wh(b,function(b,e){!b&&0!==b||c[e]||(a+="&"+(0,window.encodeURIComponent)(e)+"="+(0,window.encodeURIComponent)(String(b)),c[e]=!0)});
return a};
sx=function(a,b,c,d,e,f,k,l){f=void 0===f?window.Infinity:f;k=void 0===k?!1:k;Qi.call(this,a,l);var m=this;this.F=0;this.I=f;this.Y=b;this.J=c;this.X=d;this.Z=e;this.M=!("csi.gstatic.com"!==this.J||!this.g.navigator||!this.g.navigator.sendBeacon);this.C={};this.g.performance&&this.g.performance.now||ox(this,"dat",1);this.g.navigator&&this.g.navigator.deviceMemory&&ox(this,"dmc",this.g.navigator.deviceMemory);this.ba=!k;this.K=function(){m.g.setTimeout(function(){return px(m)},1100)};
this.ea=[];this.R=function(){(0,g.C)(m.ea,function(a){try{a()}catch(q){}});
px(m)};
this.H=this.g.setTimeout(function(){return px(m)},5E3);
this.o={};this.B=b.length+c.length+d.length+e.length+3;this.A=0;(0,g.C)(this.events,function(a){return qx(m,a)});
rx(this);bha(this)};
bha=function(a){"complete"===a.g.document.readyState?a.g.setTimeout(function(){return px(a)},0):Zh(a.g,"load",a.K);
Zh(a.g,"unload",a.R)};
ox=function(a,b,c){c=String(c);a.B=null!=a.C[b]?a.B+(c.length-a.C[b].length):a.B+(b.length+c.length+2);a.C[b]=c};
px=function(a){if(a.l&&a.ba){try{if(a.A){var b=a.o;a.F++;var c=a.Y+"//"+a.J+a.X+a.Z,d={};c=nx(c,a.C,d);c=nx(c,b,d);a.g.google_timing_params&&(c=nx(c,a.g.google_timing_params,d),a.g.google_timing_params=void 0);var e=c;b=!1;try{b=a.M&&a.g.navigator&&a.g.navigator.sendBeacon(e,null)}catch(f){a.M=!1}b||bi(a.g,e);rx(a);a.F===a.I&&a.disable()}}catch(f){(new Zi).g(358,f)}a.o={};a.A=0;a.events.length=0;a.g.clearTimeout(a.H);a.H=0}};
rx=function(a){ox(a,"puid",(a.F+1).toString(36)+"~"+(0,g.G)().toString(36))};
qx=function(a,b){var c="met."+b.type;var d=g.ua(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.o[c]?c.length+d.length+2:d.length+e.length;8E3<a.B+a.A+f&&(px(a),f=c.length+d.length+2);a.o[c]=null!=a.o[c]?a.o[c]+(""+e+d):d;a.A+=f;6E3<=a.B+a.A&&px(a)};
vx=function(){this.Ba=null;if(pn(mn(),21592081)&&!P.g()){this.Ba=new sx(1,"https:","csi.gstatic.com","/csi?v=2&s=","ima",void 0,!0);if(tx)var a=tx;else{a=((a=ai())?Vh(a.master)?a.master:null:null)||hi();var b=a.google_persistent_state_async;a=null!=b&&"object"==typeof b&&null!=b.S&&"object"==typeof b.S?tx=b:a.google_persistent_state_async=tx=new wca}b=hi();var c=ai(b);c?((c=c||ai())?(b=c.pageViewId,c=c.clientId,g.w(c)&&(b+=c.replace(/\D/g,"").substr(0,6))):b=null,b=+b):(b=tk(b).ad,(c=b.google_global_correlator)||
(b.google_global_correlator=c=1+Math.floor(Math.random()*Math.pow(2,43))),b=c);c=cha[7]||"google_ps_7";a=a.S;var d=a[c];a=void 0===d?a[c]=b:d;ux(this,"c",a);a=qn(mn());g.D(g.F(a))||ux(this,"e",a)}this.g="0"};
wx=function(){var a=vx.getInstance();a.Ba&&(a.Ba.disable(),a.Ba=null)};
ux=function(a,b,c){a.Ba&&c&&ox(a.Ba,b,c)};
xx=function(a){var b=vx.getInstance();if(b.Ba&&dha){var c=Ni();c&&(b=b.Ba,b.l&&b.D(new Oi(a,4,c,0,void 0)))}};
eha=function(a,b){if(b){var c=/iu=\/(\d+)\//.exec(ob(b)),d=g.F((new g.um(b)).g.get("client"));a.g=c&&2==c.length?c[1]:g.D(d)?"0":d}else a.g="0"};
yx=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=Fb(b.viewCount),this.Qi=(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}};
zx=function(a,b){g.Cf.call(this);this.pa=a;this.bf=null;this.W=new g.Km(this);this.Ss(b)};
fha=function(a){return'<a target="_blank" href="'+Q(a.url)+'" class="'+Q("fullslot-attribution-button")+'">'+Q(a.text)+"</a>"};
gha=function(a){return'<div class="'+Q("fullslot-autoclose")+'">'+Q(a.vI)+"</div></div>"};
Ax=function(a){return""+Ga("Ad will close in {$xSeconds}",{xSeconds:Q(a.xe)})};
Bx=function(a){g.Cf.call(this);this.B=new g.qg(200);g.N(this,this.B);this.o=0;this.l=!1;this.J=a;this.H=new g.Km(this);this.H.U(this.B,"tick",this.FS)};
Cx=function(a){a.B.stop();a.l=!1};
Ex=function(a,b,c,d,e){Bx.call(this,b.g);this.F=b;this.D=c;this.I=this.F.g;this.g=a;this.A=this.C=null;g.S(this.g,Uw(this.D));a=this.g;b=new Jt;b.skipOffset=new Ar(this.F.A,!1);this.A=new bu(b,a);d&&d.text&&(d=pq(fha,d),this.g.appendChild(d));e?(e=this.g,d=Ax({xe:Dx(this.I)}),a=pq(gha,{vI:d}),g.Qd(a,d),e.appendChild(a),e=a):e=null;this.C=e};
hha=function(a){var b=g.J("videoAdUiSkipButton",a.g);return b?g.Eh(b,a.g):new g.ed(0,0)};
Dx=function(a){a=Math.ceil(a);return"0:"+(10>a?"0"+a:""+a)};
Hx=function(a,b,c,d,e){Bx.call(this,d);this.F=a;this.M=b;this.K=e;this.W=new g.Km(this);g.N(this,this.W);this.A=new nt;g.N(this,this.A);this.I=new nt;g.N(this,this.I);this.D=new nt;g.N(this,this.D);(a=Fx(c))?(c=a(c),b.appendChild(c),b=g.J("iv-endcap-action",c),this.W.U(this.A,"click",this.C),this.A.Fb(b),b=g.J("iv-endcap-text",c),this.W.U(this.I,"click",this.C),this.I.Fb(b),b=g.J("iv-endcap-image",c),this.W.U(this.D,"click",this.C),this.D.Fb(b),b=c):b=null;this.g=b?g.J("iv-endcap-countdown-inner",
b):null;null!=this.g&&g.nh(this.g,"stroke-dasharray","0 "+Gx)};
Fx=function(a){switch(a.Ub()){case 1:return iha;case 4:return jha}return null};
iha=function(a){var b=qr(a);a=0<Ev(a,"action")?yr(a):null;return pq(or,{headline:b.od(),description:Mr(b,"description"),image:ur(b).getImageUrl(),action:a?Or(a):"",target:a?xr(a)||Mr(a,"link_url"):""})};
jha=function(a){var b=a.g();a=0<Ev(a,"action")?yr(a):null;var c=!1;nn().g("desktop_trv_action_endcap_background_clickable")&&(c=!0);return pq(or,{headline:b.od(),description:Pr(b),image:b.vg().getImageUrl(),action:a?Or(a):"",target:a?xr(a)||Mr(a,"link_url"):"",wI:c})};
kha=function(){var a='<div class="'+R("videoAdInterstitial")+'"><p>',b=Ga("Your video will play after this ad.");return kp(a+b+"</p></div>")};
Ix=function(){g.M.call(this);this.l=pq(kha);this.Ba=0};
Jx=function(a){a.Ba&&(g.sg(a.Ba),a.g(g.z))};
Kx=function(){this.l=this.I=this.ej=this.g=this.adSystems=this.adIds=this.adFormat=null;this.D=this.isPharma=this.B=!1;this.slotPosition=-1;this.breakType=null;this.F=this.H=!1;this.timeout=-1;this.A=!1;this.o=this.C=null;this.Xj=this.Wi=this.Nk=!1};
Lx=function(a){g.af.call(this,a)};
Mx=function(a){g.Cf.call(this);this.Ya=null;this.o=a;this.K=new g.om;this.I=-1;this.D=this.M=!1;this.C=""};
Nx=function(a){this.paused=!1;this.mute=a.isMuted();this.volume=a.getVolume()};
Ox=function(a,b,c,d){if(!c||null==a.K.get(b)){d&&!a.D&&(b="error");a.K.set(b,!0);a:{c=b;if(a.l&&a.l.pa.B){if("click"==c)break a;"videoLearnMoreClicked"==c&&Bu(a.o,new g.af("click"))}d=lha[c]||null;null!=d&&null!=a.g&&a.g.fv(d);Bu(a.o,new g.af(c))}a.dispatchEvent(b)}};
Px=function(a){0>a.I||a.M||!a.g.bl(a.I)&&!a.g.nh()||!a.D||(a.M=!0,Ox(a,"engagedview",!0,!0),a.dispatchEvent(new Lx("viewCount",a.g)))};
Qx=function(a){Px(a);if(P.g()){var b=a.o;if(!(qm(b.l,"skip")||0>b.B)){for(var c=Ip(b.o,"progress"),d=[],e=b.B;e<c.length;e++){var f=c[e];b.B=e+1;d.push(f.Sa())}0<d.length&&Bu(b,new g.af("progress"),d)}}Ox(a,"complete",!0,!0)};
Rx=function(a){this.g=new g.om;if(a){a=sm(a);for(var b=a.length,c=0;c<b;c++)this.add(a[c])}};
Sx=function(a){var b=typeof a;return"object"==b&&a||"function"==b?"o"+g.Da(a):b.substr(0,1)+a};
Tx=function(a){Eu.call(this,a);this.g=null;this.C=!1;this.o=new Mx(this.bc);this.Ya=null;this.X=this.ba=this.D=!1;this.Z=this.B=1;this.l=null;this.Y=new Ix;this.H=new Rx;this.fa=!1;this.M=[];this.K=this.J=this.R=!1;this.A=null;this.ea=!Mn()&&P.g();this.I=!1;this.F=null;pn(mn(),324123001)&&(P.R=!0);pn(mn(),324123021)&&(P.R=!0);if(a=0<a.length?a[0]:null){var b=vx.getInstance();ux(b,"gqid",Ls(a));ux(b,"qqid",Hq(a))}mha(this)};
Ux=function(a,b){var c=g.rg(function(){this.H.remove(c);b.call(this)},0,a);
a.H.add(c)};
Vx=function(a){P.o&&a.ha("youtubeKevlarCompanionHide")};
Wx=function(a){a.A&&(g.Ze(a.A),a.A=null);g.Ze(a.Oa);a.Oa=null;g.Ze(a.o);g.Ze(a.bc);a.X=!1};
Xx=function(a){var b=nn();b.g("disable_companion_persist")?Vx(a):b.g("ad_pod_disable_companion_persist")&&1<(a.ib()?a.ma():null).A.Xe&&Vx(a);a.yk();a.ib()?a.start():a.stop()};
oha=function(a){if(!a.ib())return!1;var b=a.Ia.Of();if(null==b)return!1;var c=a.ma(),d;if(d=c.J?c.J.g.Gl()?c.J.g.Ns():c.J.cd():"")nha(a,b,d);else if(Zs(c)&&(d=c.Y,d=g.Pa(d)?null:d[0],null!=d&&g.Aa(Fx(d)))){var e=1==d.Ub();a.g=new Hx(a.Ga,b,d,et(c),e);a.Va().U(a.g,"click",(0,g.A)(a.ty,a,null));a.Oa&&wu(a.Oa,!0);a.Ia.Ad()}null!=a.g&&(a.Va().U(a.g,"timeUpdate",a.XC),a.Va().U(a.g,"end",a.ZI),a.g.start(),Ju(a,"video_card_endcap_impression"));return null!=a.g};
nha=function(a,b,c){so(po.getInstance(),34,{evt:"start"},!0);var d=g.K("DIV");g.S(d,"controls");var e=g.K("DIV");g.S(e,"adDisplay");g.S(e,"endslate");e.innerHTML=c;(c=g.Kd(e)[0])&&g.nh(c,{margin:"0 auto"});(0,g.C)(c.getElementsByTagName("a"),function(a){var b=a.getAttribute("href");b&&this.Va().U(a,"click",(0,g.A)(this.ty,this,b))},a);
d.appendChild(e);e=new hv;Gga(e,et(a.ma()));e.A=0;e.o=0;a.g=new Ex(d,e,1,{},!0);a.Va().U(a.g,"skip",a.uy);b.appendChild(a.g.g);a.Ia.Ad();a.Oa&&(xga(a.Oa),tu(a.Oa))};
Zx=function(a,b){Yx(a);null!=a.Ga&&a.Ga.Es();a.ha("complete");Ju(a,b);a.Aa("instreamAdComplete");Xx(a)};
Yx=function(a){a.g&&(a.g.dispose(),a.g=null);a.Oa&&wu(a.Oa,!1);a.C=!1};
pha=function(a){return(0,g.cm)(a.uc.B,function(a){return!Av(a.Ke(),"hide_in_drawer")})};
by=function(a,b,c){$x(a)&&c?ay(a,b).then(a.ix,null,a):(a.ix(),c&&ay(a,b))};
qha=function(a){null!=a.Ga&&a.Ga.Ds();var b=nn();b=b.g("use_forced_brand_precap_duration")?b.l("forced_brand_precap_duration_ms"):2E3;yga(a.Oa,b);var c=g.rg(function(){null!=this.Ga&&this.Ga.Es();this.H.remove(c);this.Y.show(this.Ia.tl(),this.Qa.Fv,(0,g.A)(this.Ga.play,this.Ga))},b,a);
a.H.add(c)};
cy=function(a,b,c,d){b=Ip(b.g,c);g.Pa(b)||(a[d]=b[0].Sa())};
dy=function(a,b,c){b=c.getExtension(b);null!=b&&(cy(a,b,"annotation_click","cta_annotation_clicked"),cy(a,b,"annotation_close","cta_annotation_closed"),cy(a,b,"annotation_start","cta_annotation_shown"))};
rha=function(a,b){var c=new Kx;c.adFormat=Iq(b);c.adIds=Fq(b).join(",");c.adSystems=Gq(b).join(",");1<b.A.Xe&&(c.slotPosition=b.A.g-1);c.breakType=b.Me();Xs(b)&&!b.ba&&(c.ej=Gs(b));c.I=a.Qa.contentId;if(a.Oa){var d={};dy(d,"AdSense",b);dy(d,"dart",b);dy(d,"DFP",b);c.l=d;c.D=a.Oa.pa.C}b.isSkippable()&&!ts(b)&&(c.H=!0);d=nn();c.timeout=d.g("use_variable_load_timeout")?d.l("variable_load_timeout_ms"):a.Qa.sf;if(d=b.o)c.B=d.Yp;c.A=a.Qa.Cl;c.g=Hq(b);c.C=a.Qa.ri;c.isPharma=ey(a,b);c.F=!0;d=Ds(a.ma(),"endscreenClick");
d=g.Pa(d)?null:g.xg({endscreenClick:d});c.o=d;c.Nk=$x(a);c.Wi=a.ib()&&lt(a.ma());c.Xj=a.ib()&&lt(a.ma());return c};
ey=function(a,b){var c=uq(a.Gj());if(!c){var d=b.getExtension("AdSense");null!=d&&(c=d.isPharma())}return c};
mha=function(a){var b=0,c=0;(0,g.C)(a.ads,function(a){!Iu(a)||P.g()&&0!=c||(c++,b+=a.getDuration())},a);
var d=1;(0,g.C)(a.ads,function(a){var b=a.A;b.Xe=c;Iu(a)&&(b.g=d,b.o=d,d++)},a)};
fy=function(a){var b=a.l;return b&&b.bb&&(b=b.D,!g.Pa(b)&&b[0]instanceof Tp)?b[0].qf():Es(a)};
iy=function(a,b){if(!Iu(b))throw Fn(gy);var c=b.g,d=c.B;if(null!=d)return d;var e=null!=b&&!hy(a)&&(P.g()||a.Ia.wo()||a.Ia.ys()||Mn());d=a.gh(b);e=a.Ga.FD(d,a.Qa.bitrate,a.Qa.Dl||[],e);sha(d,a.Qa.bitrate,e,ws(b));if(null!=e)return c.B=e;try{tha(a,b)}catch(f){}throw Fn(uha);};
tha=function(a,b){if(po.getInstance().isLoggingEnabled()){var c=new Rx,d=!1;(0,g.C)(a.gh(b),function(a){c.add(a.g);"VPAID"==a.l&&(d=!0)},a);
var e=a.Ga.Sr();e={aid:Gs(b),mt:c.ub().join(","),smt:e.join(","),hvp:d,st:Ms(b).join(",")};so(po.getInstance(),28,e)}};
sha=function(a,b,c,d){if(!P.g())try{var e=(0,g.I)(a,function(a){return a.Zf}),f=(0,g.I)(a,function(a){return a.g});
a={};a.brs=e.join(",");a.mts=f.join(",");a.pubbr=b;a.selbr=null===c?-1:c.Zf;a.selmt=null===c?"":c.g;a.ic=!1;a.nat=!1;a.iyh=sn(c.Sa())?"1":"0";a.as=d;so(po.getInstance(),22,a)}catch(k){}};
jy=function(a){return a.K?!1:a.Qa.Cl&&(!a.Ia.Nj()||a.Ia.Nj()&&!1)};
hy=function(a){return a.Qa.Cl&&co(a.Ia)&&!a.K&&!0};
my=function(a){try{var b=a.ma();a.l=iy(a,b);Ux(a,(0,g.A)(Tx.prototype.tt,a,b,a.l.Sa(),a.l.g))}catch(c){(0,g.Na)(a.ads,b)+1<a.ads.length&&(ky(a,c),a.yk(),a.ib()?(Hn(a,ly,c),my(a)):In(a,ly,c))}};
vha=function(a){try{var b=a.Je();null!==b&&(a.l=iy(a,b),Ux(a,(0,g.A)(Tx.prototype.tt,a,b,a.l.Sa(),a.l.g,!0)))}catch(c){}};
ny=function(a,b){b in a.M||(a.M.push(b),a.ha(b))};
wha=function(a){var b=a.ma(),c={};c.pubbr=a.Qa.bitrate;c.ic=!1;c.nat=!1;if(null!=b){a=a.gh(b);var d=b.g;d=d?d.B:null;var e=(0,g.I)(a,function(a){return a.Zf});
a=(0,g.I)(a,function(a){return a.g});
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.Zf,c.selmt=d.g,c.iyh=sn(d.Sa())?"1":"0",c.murl=d.Sa())}so(po.getInstance(),45,c)};
oy=function(a,b,c){ky(a,c);a.yk();a.ib()?(Hn(a,b,c),a.start()):(In(a,b,c),a.stop())};
ky=function(a,b){var c=Fn(ly,b);c=Bq(c,a.ma(),a.Ga);var d=xs(a.ma());Bn(d,c)};
py=function(a){if(P.l||P.g()){var b=fy(a.ma());null!=b&&wn(b);a.ha("click")}else a.I&&a.ha("click")};
qy=function(a,b){g.Sb(xha,b)&&Mm(a.Va(),a.o,b,a.TC,a)};
ry=function(a){if(!a.R){var b=a.ma(),c=b.C;if(it(b)&&!P.g()&&!a.Ia.wo()&&c){b=a.Ga.getCurrentTime();var d=a.Ga.getDuration(),e=new g.um("//s.youtube.com/s");g.Dm(e,"ns","yt");g.Dm(e,"el","adunit");g.Dm(e,"docid",c);g.Dm(e,"eurl",window.document.URL);g.Dm(e,"len",d.toFixed(2));g.Dm(e,"tv","1");g.Dm(e,"ps","trueview-instream");g.Dm(e,"st",b.toFixed(2));g.Dm(e,"et",b.toFixed(2));g.Dm(e,"rt",b.toFixed(2));xn(e.toString());a.R=!0}}};
yha=function(a){var b=a.ma().K;if(null!=b){b=b.videoId;var c=a.Qa.ij;if(g.D(g.F(b)))b=null;else{c=new g.um((null!=c?c:"//www.youtube.com/")+"watch");var d=c.g;d.set("v",b);zm(c,d);c.H="action=share";b=c.toString()}null!=b&&(wn(b),a.OD())}};
zha=function(a){a=sy(a)||ty(a);null!=a&&yn(a,"sharebuttondisplayed")};
sy=function(a){a=a.ma().getExtension("AdSense");return null!=a?new g.um(a.A):null};
ty=function(a){if(a=a.ma().g)if(a=Qp(a,"start"),!g.Pa(a))return new g.um(a[0].Sa());return null};
Aha=function(a){var b=a.ma(),c=b.K;null!=c&&(b=tq(c.videoId,null!=dt(b),a.Qa.ij),null!==b&&(a.Ga.pause(),wn(b)))};
uy=function(a){Ux(a,function(){this.ha("skip");nn().g("skip_ad_pod_to_end")?this.stop():Xx(this)})};
vy=function(a,b,c){var d=b.getExtension("AdSense"),e;(e=a.ea)||(e=null===c?!1:"modules"==(new g.um(c)).ki().toLowerCase()||uq(c));e=e||null!=d&&d.F;c=b.isBumper()?null:dt(b);if(P.g()||gl())d=!1;else{if(d=Mn())d=!(a.Jl()&&null!=a.Ia&&a.Ia.Ar());d=d||it(b)||a.Qa.Kv?!0:!1}if(d||!P.g()&&e)a.Qa.Gv=!0,a.Qa.Kv=!0;d=Cq(b,a.Ga);if(P.g()||a.Qa.Kv){var f=g.D(g.F(Es(b)))?!1:a.Qa.Gv,k=b.g,l=!1;!ey(a,b)&&null!=k&&k instanceof Tp&&(l=0<Lea(k).length);var m=b.isBumper();k=a.Qa;var n=P.g()||!1,q=P.g();a.Uj(b);a=l;
b=Kt(e,b.C,c,m,k,d);b.B=f;b.ga=k.XV;b.ia=n;b.fa=!0;b.ba=q;b.H=k.Dv;b.na=k.Jv;b.ra=k.YV;b.D=k.yz;b.Y=0;k.Dv&&(b.learnMoreText=""+Ga("Visit Advertiser"));b.Ca=a;return b}vs(b)?(f=b.C,b=b.isBumper(),!g.D(g.F(f))&&null!==c&&0<Mp(c)&&(e=!0),a=Kt(e,f,c,b,a.Qa,d),a.X=e?wfa:vfa):(f=b.isBumper(),a=Kt(e,b.C,c,f,a.Qa,d),a.D=!1,a.o=!1,a.A=!1);return a};
wy=function(a){a=a.Ia.tl();null===a?a=window.document.body:g.Gd(a);return a};
ay=function(a,b){return g.ig(Bha(a,b).then(a.qV,null,a).then(a.UU,null,a).then(a.pV,null,a).then(a.JI,null,a),g.z)};
Bha=function(a,b){return new g.Wf(function(a,d){$ga(b,function(b){b=new yx(b);this.ib()&&this.ma().C==b.videoId?a(b):d()},function(){d()},this)},a)};
yy=function(a){return a.ib()&&null!=a.ma().K&&a.ma().K.isListed};
zy=function(a){var b=a.ma().ea;if(yy(a)&&null!=b){var c=a.Qa.ij;b=g.F(b.channelId);c=g.D(b)?null:(null!=c?c:"//www.youtube.com/")+"channel/"+(g.kb(b,"UC")&&24==b.length?b:"UC"+b);null!==c&&(a.Ga.pause(),wn(c))}};
$x=function(a){if(nn().g("website_actions_holdback"))return!1;a=a.ma();if(!a||!a.C)return!1;var b=g.Ka(a.B,function(a){return 4==a.Ub()&&Av(a.Ke(),"show_in_cta")});
return P.g()&&it(a)&&null!=b};
Cha=function(a,b){var c=a.ib()?a.ma().C:null,d=a.ma();if(!d||!c)return"";d=g.Ka(d.B,function(a){return 4==a.Ub()&&Av(a.Ke(),"show_in_cta")});
if(!d)return"";c=d.g();var e=yr(d);d=g.pb(e&&xr(e)||"");e=g.pb(e&&Or(e)||" ");var f=g.pb(c.od()||b.authorName);var k=g.pb(Pr(c)||"");c=g.pb(c.vg().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>"};
Ay=function(a){g.Cf.call(this);this.sessionId=a||Bb();this.l=[]};
By=function(a,b,c,d,e){g.af.call(this,a);this.ce=b;this.ag=c;this.Az=d;this.l=e};
Cy=function(a,b){Ay.call(this,b);this.o=a;this.Cf=null;this.W=new g.Km(this);this.logger=null;this.W.U(zd(),"message",this.receive)};
Dy=function(a){if(null==a||!g.w(a)||!g.kb(a,"ima://"))return null;a=a.substr(6);try{return JSON.parse(a)}catch(b){return null}};
Dha=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.o;return"ima://"+g.xg(e)};
Ey=function(a,b){if(null==b)return!1;var c=b.channel;if(null==c||c!=a.o)return!1;c=b.sid;return null==c||"*"!=a.sessionId&&c!=a.sessionId?!1:!0};
Fy=function(a,b){g.af.call(this,"vpaidEvent");this.sessionId=b};
Gy=function(a){Eu.call(this,a);this.Z=this.K=this.Vc=!1;this.F=[];this.B=Bb();this.Ya=this.g=null;this.l=!0;this.I=-1;this.H=new g.qg(500);this.R=this.D=-1;this.A=1;this.Y=this.X="";this.M=this.J=this.C=!1};
Iy=function(a){var b=As(a.ma());P.g()&&(b=Eha(a,b),b=Fha(a,b));var c=g.F(Es(a.ma())),d=a.ma();if(Iu(d)){var e=d.g,f=Vp(e,"javascript");null!=f&&(e.B=f)}d=ft(d);c={desiredBitrate:a.Qa.bitrate,creativeData:b,viewMode:a.Zc,clickThroughUrl:c,adUrl:d,volume:a.A};d.match("//s0.2mdn.net/instream/html5/survey/survey.html")&&0<=b.indexOf("yt_override")&&null!=a.Qa.surveyCreativeData&&(c.creativeData=a.Qa.surveyCreativeData);Hy(a,"initAd",c);(0,g.C)(a.F,function(a){Hy(this,a.type,a.params)},a);
a.Vc=!0;a.F=[]};
Jy=function(a,b,c){c=c||null;a.Vc?Hy(a,b,c):a.F.push({type:b,params:c})};
Hy=function(a,b,c){c=c||{};c.session=a.B;c.type=b;Ky()?window.parent.postMessage(g.xg(c),"*"):null!=a.o.contentWindow&&a.o.contentWindow.postMessage(g.xg(c),"*")};
Hha=function(a,b){var c={};b=xb(b);var d;b.length?d=b.split(/\s+/):d=[];(0,g.C)(d,function(a){c[a]=!0});
g.Ib(Gha,function(a,b){nn().g(b)&&(c[a]=!0)},a);
return g.Pb(c).join(" ")};
Eha=function(a,b){var c=g.Ur(b),d=a.ma().getExtension("why_this_ad",nn().g("process_extensions_in_vast_wrappers_for_survey_ads"));if(null!=d){var e=nn().g("enable_survey_ad_info_dialog"),f=d.o;(0,g.C)(c.firstChild.childNodes,function(a){if(e){a.setAttribute("use_ad_info_dialog",!0);a.setAttribute("ad_info_icon_hover_text",d.l);a.setAttribute("targeting_reasons_header",d.B);var b=g.Wa(d.C);0<b.length&&(a.setAttribute("dialog_title",d.l),a.setAttribute("targeting_reasons",JSON.stringify(b)));a.setAttribute("ad_settings_button_text",
f[1]);a.setAttribute("confirm_button_text",d.A);b=d.g;var c=Np(b,"why_this_ad_url");c&&a.setAttribute("wta_shown_tracking",c[0]);(c=Np(b,"why_this_ad_got_it"))&&a.setAttribute("wta_closed_tracking",c[0]);(b=Np(b,"why_this_ad_settings_url"))&&a.setAttribute("wta_ad_settings_clicked_tracking",b[0]);f&&3==f.length&&a.setAttribute("generic_message",f[0]+f[1]+f[2])}else f&&3==f.length&&(a.setAttribute("ad_settings_text_prefix",f[0]),a.setAttribute("ad_settings_text_link",f[1]),a.setAttribute("ad_settings_text_suffix",
f[2]))},a)}return Vr(c)};
Fha=function(a,b){for(var c=g.Ur(b),d=a.ma(),e;null!=d;){e=d.getExtension("survey",nn().g("process_extensions_in_vast_wrappers_for_survey_ads"));if(null!=e)break;d=d.l}if(null!=e){var f=c.firstChild.firstChild;d=hq(e,"interstitial_viewed");(0,g.C)(d,function(a){var b=g.K("interstitial_viewed");b.textContent=a;f.appendChild(b)},a);
d=hq(e,"interstitial_timed_out");(0,g.C)(d,function(a){var b=g.K("interstitial_timed_out");b.textContent=a;f.appendChild(b)},a);
d=hq(e,"interstitial_start_clicked");(0,g.C)(d,function(a){var b=g.K("interstitial_start_clicked");b.textContent=a;f.appendChild(b)},a);
d=hq(e,"interstitial_dismissed");(0,g.C)(d,function(a){var b=g.K("interstitial_dismissed");b.textContent=a;f.appendChild(b)},a);
e=hq(e,"survey_question_displayed");(0,g.C)(e,function(a){var b=g.K("survey_question_displayed");b.textContent=a;f.appendChild(b)},a)}return Vr(c)};
Ly=function(a,b,c,d){d=Fn(b,c,d);var e=Bq(d,a.ma()),f=xs(a.ma());Bn(f,e);b.message=d.Kd();In(a,b,c)};
Oy=function(a,b){if(g.w(b.type))switch(b.type){case "friendlyReady":Iy(a);break;case "videoCall":switch(b.func){case "load":case "play":a.Ia.Tf();a.Y!=b.src&&(a.Y=b.src,a.g.load(b.src,b.mimetype));a.g.play();break;case "pause":a.g.pause()}break;case "returnDuration":a.D=b.duration;break;case "returnRemainingTime":a.I=b.remainingTime;break;case "AdClickThru":a.Aa("click");a.ha("click");break;case "AdDurationChange":a.D=b.duration;a.I=b.remainingTime;a.ma().g.ia=a.D;a.ha("durationChange");break;case "AdError":Ly(a,
Lw,Error(b.message));a.stop();break;case "AdExpandedChange":a.ha("expandedChanged");break;case "AdImpression":var c=a.ma();g.Pa(zs(c))||a.Hd(c);Ju(a,"impression");a.J=!0;My(a,51);break;case "AdLinearChange":c=b.isLinear;!a.l&&c?(a.ha("contentPauseRequested"),Jy(a,"becameLinear")):!c&&a.l&&(a.ha("contentResumeRequested"),Jy(a,"becameNonlinear"),Jy(a,"getAdRemainingTime"),Jy(a,"getAdDuration"));a.l=c;var d=a.ma();d.ra=!0;d.sa=c;a.ha("linearChanged");break;case "AdLoaded":g.sg(a.R);a.K=!0;d=b.companions;
c=a.ma();g.Pa(zs(c))&&(d=Cw(d,c.g.g),g.Pa(d)||ms(c,d));Ny(a);Ju(a,"loaded");break;case "AdPaused":a.C=!0;Ju(a,"pause");break;case "AdPlaying":a.C=!1;Ju(a,"resume");break;case "AdRemainingTimeChange":a.I=b.remainingTime;c=a.ma().getDuration();d=c-a.Lc();Pu(a,d,c);break;case "AdSkipped":Ju(a,"skip");a.stop();break;case "AdSkippableStateChange":Ju(a,"skippableStateChanged");break;case "AdStarted":a.Aa("creativeview");My(a,52);break;case "AdStopped":a.Aa("stop");a.stop();break;case "AdUserAcceptInvitation":a.l?
a.Aa("acceptinvitationlinear"):a.Aa("acceptinvitation");break;case "AdUserMinimize":a.Aa("collapse");break;case "AdUserClose":Ju(a,"userClose");break;case "AdVideoComplete":a.J&&a.M||(c={},c.aic=a.J,c.avc=a.M,My(a,56,c));Ju(a,"complete");break;case "AdVideoFirstQuartile":Ju(a,"firstquartile");break;case "AdVideoMidpoint":Ju(a,"midpoint");break;case "AdVideoStart":a.Aa("start");a.ha("start");a.M=!0;break;case "AdVideoThirdQuartile":Ju(a,"thirdquartile");break;case "AdVolumeChange":c=b.volume;c!=a.A&&
a.ha("volumeChange",{volume:c});0==c&&0!=a.A?(a.Aa("mute"),a.ha("mute")):0==a.A&&0!=c&&a.Aa("unmute");a.A=c;a.g.setVolume(c);break;case "AdInteraction":c={};c.id=b.id;a.ha("interaction",c);break;case "Ping":xn(b.url)}};
Py=function(a,b){Ky()||Hy(a,"wrapperCall",{messageType:b})};
Ny=function(a){a.K&&a.Z&&(Jy(a,"startAd"),a.H.start(),a.l||(Jy(a,"becameNonlinear"),Jy(a,"getAdRemainingTime")),Jy(a,"getAdDuration"))};
My=function(a,b,c){try{c=c||{};c.dn=a.X;c["if"]=Ky();c.pid=vx.getInstance().g;var d=Js(a.ma()).join();c.xy=d;so(po.getInstance(),b,c,!0)}catch(e){}};
Ky=function(){return 2==P.D};
Qy=function(){Eu.call(this,[]);this.Ya=null;this.fe=this.ge=-1;this.D=!1};
Sy=function(a,b,c,d){if(a.g){var e=a.g;Mm(a.Va(),e,Ry,a.dispatchEvent,a);Mm(a.Va(),e,"companionBackfill",a.dispatchEvent,a);Mm(a.Va(),e,"adError",a.bC,a);Mm(a.Va(),e,"allAdsCompleted",g.z,a);Mm(a.Va(),e,"contentPauseRequested",a.lC,a);Mm(a.Va(),e,"contentResumeRequested",a.Eu,a);Mm(a.Va(),e,"userClose",a.Mi,a);Mm(a.Va(),e,"autoClose",a.Li,a);a.g.Og(a.Td);a.g.Tc(b,c,d)}};
Ty=function(a){a.g&&(a.g.destroy(),a.g=null);a.Ia&&a.Ia.hide();g.Ze(a.dc);a.dc=null};
Vy=function(a,b,c){Qy.call(this);this.o=c;this.l=null;this.B=this.C=this.A=!1;this.g&&Ty(this);this.g=b;Uy(this,b)};
Xy=function(a,b,c){var d=(0,g.A)(function(a){Hn(this,Iha,c);try{var b=Wy([a[0]]);if(b)var d=b;else throw Error("Ads manager creation failure, failed to determine ad type.");Uy(this,d);a=d;try{this.g&&Ty(this),this.g=a,Sy(this,this.Ia,this.content,this.Qa),this.D&&this.g.Rj(),this.g.Ab(this.ge,this.fe,this.Zc),this.g.init(this.Zc),this.start()}catch(m){d=m;var e=a.xb();Ps(e);Xy(this,Qs(e),Error(d.Kd()))}}catch(m){e=m,In(this,e.Kd(),e.Hl)}},a);
a=(0,g.A)(function(){this.ha("contentResumeRequested");In(this,Jha,c);this.destroy()},a);
null!=b?Rq(b,d,a):a(null)};
Uy=function(a,b){a.l&&a.l.dispose();a.l=new g.Km(a);g.N(a,a.l);Mm(a.l,b,"start",a.RP,a)};
Yy=function(a){Eu.call(this,[]);this.Ya=null;this.l=a;this.o=0;this.g=this.l[this.o];this.A=this.C=this.B=null;this.fe=this.ge=-1;this.D=!1;Kha(this)};
Zy=function(a,b,c,d){if(a.g){a.B=new g.Km(a);var e=a.g,f=a.B;Mm(f,e,Ry,a.dispatchEvent,a);Mm(f,e,"start",a.DK,a);Mm(f,e,"companionBackfill",a.dispatchEvent,a);Mm(f,e,"adError",a.QP,a);Mm(f,e,"allAdsCompleted",g.z,a);Mm(f,e,"contentPauseRequested",a.Dh,a);Mm(f,e,"contentResumeRequested",a.eg,a);Mm(f,e,"userClose",a.Mi,a);Mm(f,e,"autoClose",a.Li,a);a.g.Tc(b,c,d)}};
Kha=function(a){var b=0,c=a.l.length;(0,g.C)(a.l,function(a){b+=a.hf().getDuration()},a);
var d=1;(0,g.C)(a.l,function(a){a=a.hf().A;a.Xe=c;a.g=d;a.o=d;d++},a)};
az=function(a,b,c){a.o+1>=a.l.length?In(a,ly,c.Hl):(Hn(a,ly,c.Hl),$y(a,b))};
$y=function(a,b){if(a.g===b)if(bz(a),a.o++,a.o<a.l.length)try{a.g=a.l[a.o],a.g===a.A?(a.B=a.C,a.A=null,a.C=null,a.Ia.hide(),a.Ia.vo()):(Zy(a,a.Ia,a.content,a.Qa),a.g.Ab(a.ge,a.fe,a.Zc),a.g.init(a.Zc)),a.start()}catch(c){az(a,a.g,c)}else a.ha("contentResumeRequested"),a.destroy()};
bz=function(a){a.B&&(a.B.dispose(),a.B=null);a.g&&(a.g.destroy(),a.g=null);a.Ia&&a.Ia.hide()};
Lha=function(a){return'<div class="'+Q("overlays-action-tray")+'"><div class="'+Q("ad-info-padding")+'" title="'+Q(a.lI)+'" role="button" tabindex="1"><svg class="'+Q("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="'+
Q("close-padding condensed contains-svg")+'" title="'+Q(a.close)+'" role="button" tabindex="0"><svg class="'+Q("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>'};
Mha=function(a){return'<a target="_blank" href="'+Q(a.url)+'" class="'+Q("attribution-button")+'">'+Q(a.text)+"</a>"};
cz=function(a,b){this.H=a;this.F=g.K("DIV",{"class":"controls"});this.g=g.K("DIV",{"class":"adDisplay"});this.R=b||g.z;this.Qf=new g.Km(this)};
dz=function(a){var b=g.K("DIV",{"class":"ima-container"});ut(b,"opacity 0.4s");a.Qf.U(b,"mouseover",a.pK);a.Qf.U(b,"mouseout",a.PV);b.appendChild(a.F);a.F.appendChild(a.g);return b};
ez=function(a){var b=window.document.createEvent("Event");b.initEvent("creativeview",!0,!0);a.dispatchEvent(b)};
fz=function(a){Eu.call(this,a);this.o=null;this.K=g.K("DIV",{style:"display:none;position:absolute;top:0;left:0;bottom:0;right:0;z-index:2000"});this.B=!1;this.F=[];this.D=null;this.J=new g.Cf};
gz=function(a,b){var c=Qea(b);(0,g.C)(c,function(a){Kp(this.bc.o,"click",a)},a)};
hz=function(a,b){var c=Cq(b,a.Ga);a.bc.g=c;b.g&&(a.Mg(b),c=b.g)&&(a.ig(c,Nha),Mu(a,b))};
iz=function(a,b){var c=Bq(b,a.ma()),d=xs(a.ma());Bn(d,c)};
jz=function(a,b,c,d,e,f,k){g.Cf.call(this);this.l=this.H=0;this.D=a;this.Bc=b;this.fa=c;this.C=null;this.fb=d;this.K=f;this.X=P.A;this.I=this.B=this.F=this.g=null;this.fe=this.ge=-1;this.Z="normal";this.R=null;this.A=e;this.o=[];this.ba=this.J=this.ea=this.M=!1;this.Y=k;this.Ya=null;Oha(this)};
kz=function(a,b,c,d){a.ge=b;a.fe=c;null!=d&&(a.Z=d);null!=a.g&&a.g.Ab(b,c,d)};
Oha=function(a){(0,g.C)(a.D,function(a){Pha(a)})};
lz=function(a){return a.H<a.D.length&&null!=a.D[a.H]};
Qha=function(a,b){var c;if(c=P.g()&&!g.Pa(b)&&0==a.Bc)c=b[0],c=null!=c&&null==ft(c)&&at(c,"nonlinear");return c?(c=Ks(b[0]),"ADSENSE"==(0<c.length?c.pop():ws(b[0])).toUpperCase()):!1};
rz=function(a){!lz(a)||2<=a.o.length-a.l?a.ea||(nz(a),a.hg()&&oz(a,a.l)&&pz(a,a.l)&&qz(a,a.l),a.ea=!0,a.dispatchEvent("adBreakInitialized")):mz(a)};
mz=function(a){var b=a.D[a.H];Mm(a.W,a.fb,"adsLoaderSdkAdLoaded",a.YB,a);P.A="on_master_ad";Rha(a.fb,b.l,b)};
nz=function(a){null==a.Bc||(0,g.zj)(a.o,function(a){return!a.isBumper()})||(a.o=(0,g.Jd)(a.o,function(a){return!(a.isBumper()&&!a.o)}))};
oz=function(a,b){if(b<a.o.length){var c=a.o[b];g.Pa(c.g)?c=!1:(c=c.g[0],c=null!=c?!No(os(c),"rm"):!1)}else c=!1;return c};
yz=function(a){if(oz(a,a.l)){var b=a.o[a.l];try{a.J?sz(a,a.g):a.hg()&&pz(a,a.l)?(null===a.B&&qz(a,a.l),tz(a),a.g=a.B,a.F=a.I,a.B=null,a.I=null,a.A.vo()):(tz(a),a.F=new g.Km(a),a.g=uz(a,b,a.F),sz(a,a.g));null!=a.C&&(a.C.dispose(),a.C=null);if(vz(a.g)){var c=a.xb();if(null==c||!bt(c)){var d=a.g.ma().g;if(null!==d){var e=d.Ca;0>=e&&!a.K.tx||(0>=e&&(e=15),a.C=new g.qg(1E3*e),Pm(a.F,a.C,"tick",a.mS,a))}}}if(vz(a.g))a.dispatchEvent("contentResumeRequested"),a.A.Ad(),a.g.start(),null!=a.C&&a.C.start();else{var f=
a.g;if(null!=f&&f instanceof Tx)a.A.Tf(),a.g.start();else{var k=a.g;if(null!=k&&k instanceof Gy){var l=a.g;a.A.Ad();l.Vb()?Ky()||a.A.Tf():a.dispatchEvent("contentResumeRequested");a.g.start()}else{var m=a.g;if(null!=m&&(m instanceof Ow||m instanceof Iw))a.A.Ad(),a.g.Vb()||a.dispatchEvent("contentResumeRequested"),a.g.start();else{var n;if(!(n=wz(a.g))){var q=a.g;n=null!=q&&q instanceof Vy}if(n)a.g.start();else throw Error("Unknown ads manager type.");}}}}a.hg()&&oz(a,a.l+1)&&pz(a,a.l+1)&&1==xz(a)&&
qz(a,a.l+1)}catch(r){a.l++,yz(a)}lz(a)&&mz(a)}else a.dispatchEvent("contentResumeRequested"),zz(a)};
sz=function(a,b){if(null===b)throw Error("Ads manager must be constructed before initialization");b.init(a.Z);null!=a.R&&b.setVolume(a.R)};
uz=function(a,b,c){b=Az(a.fb.o,b.g);var d=new Xm(a.A,a.hg());b.Og(a.Y);Mm(c,b,Ry,a.aC,a);Mm(c,b,"companionBackfill",a.aC,a);Mm(c,b,"adError",a.OP,a);Mm(c,b,"allAdsCompleted",g.z,a);Mm(c,b,"contentPauseRequested",a.Dh,a);Mm(c,b,"contentResumeRequested",a.eg,a);Mm(c,b,"userClose",a.Mi,a);Mm(c,b,"autoClose",a.Li,a);b.Tc(d,{currentTime:0},a.K);b.Ab(a.ge,a.fe,a.Z);return b};
tz=function(a){a.A.hide();null!=a.C&&(a.C.dispose(),a.C=null);null!=a.F&&(a.F.dispose(),a.F=null);null!=a.g&&(a.g.destroy(),a.g=null)};
Bz=function(a){null!=a.I&&(a.I.dispose(),a.I=null);null!=a.B&&(a.B.destroy(),a.B=null)};
wz=function(a){return null!=a&&a instanceof Yy};
vz=function(a){return null!=a&&a instanceof fz};
zz=function(a){a.M=!1;a.dispatchEvent("allAdsCompleted")};
xz=function(a){return null===a.g||g.Pa(a.g.ads)?0:a.g.ads.length};
Sha=function(a,b,c){if("loaded"==b||"start"==b||"adMetadata"==b||"companionBackfill"==b||"firstquartile"==b){var d=0,e=0;(0,g.C)(a.o,function(a,b){var f=a.g;-1!=(0,g.Na)(f,c)&&a.isBumper();d+=f.length;b<this.l&&(e+=f.length)},a);
b=c.A;var f=e+b.o;b.Xe=d+(a.D.length-a.H);b.g=f;b.A=a.fa;b.l=a.Bc}};
qz=function(a,b){var c=a.o[b];a.I=new g.Km(a);a.B=uz(a,c,a.I);sz(a,a.B)};
pz=function(a,b){if(0<=b&&b<a.o.length){var c=a.o[b].g[0];return null!=ft(c)||null!=gt(c)?!1:!0}return!1};
Cz=function(a){this.g=a};
Tha=function(a){this.l=a};
Dz=function(a){this.l=a;this.g=this.isBumper=!1;this.o=null;this.Jn=!1};
Pha=function(a){if(null!=a.l.g&&(a=g.Dg(a.l.g)[6]||null)){var b=null;Hg(a,function(a,d){if(null==b)switch(a){case "max_ad_duration":case "pmxd":b=d/1E3}})}};
Ez=function(){this.g=new g.om};
Fz=function(a,b,c){if((0,window.isNaN)(c)||!g.ua(c))throw Error("Incorrect time offset.");var d=[];qm(a.g,c)&&(d=a.g.get(c,[]));(0,g.C)(b,function(a){null!=a&&g.Ra(d,a)});
a.g.set(c,d)};
Gz=function(a,b){this.g=a;this.l=b};
Vha=function(a){var b=new Ez;(0,g.C)(g.Kd(g.Md(a.g)),function(a){switch(a.nodeName){case "Preroll":a=Hz(this,a);Fz(b,a,0);break;case "Midroll":var c=$r(a,"timeOffset"),e=ds(c);if(-1==e)throw En(Iz,null,"timeOffset",g.F(c));a=Hz(this,a);Fz(b,a,e);break;case "Postroll":a=Hz(this,a);Fz(b,a,-1);break;default:throw En(Jz,null,a.parentNode.nodeName,a.nodeName);}},a);
if(0==b.g.Cb().length)throw En(Uha);return b};
Hz=function(a,b){var c=[];(0,g.C)(g.Kd(b),function(a){switch(a.nodeName){case "Ad":var b=g.F(as(a));if(!g.D(b)){a=$r(a,"bumper");var d=this.l.clone();d.g=b;b=new Dz(d);b.isBumper=null!=a;b.g="always"==a;g.Ra(c,b)}break;default:throw En(Jz,null,a.parentNode.nodeName,a.nodeName);}},a);
return c};
Kz=function(a){g.af.call(this,a);this.g=this.l=null};
Lz=function(){g.Cf.call(this);this.currentTime=0};
Nz=function(a,b,c){g.Cf.call(this);c=c||new Mz;this.l=a;this.B=c.D;this.F=c.C;this.J=c.B;this.H=c.g;this.I=c.o;this.C=c.l;this.D=c.A;this.A=!1;this.W=null;this.o=!1;this.g=Wha(b)};
Mz=function(){this.C=0;this.o=this.g=this.D=this.B=!1;this.A=this.l=5};
Oz=function(a){this.g=a.Bc;this.B=g.Da(a);this.o=this.l=!1;this.gL=5==a.Me();this.A=this.ne=!1};
Pz=function(a,b){return bb(a.g,b.g)};
Qz=function(a){a.l.start();a.o=!0};
Xha=function(a){if(a.o){var b=g.Ka(a.g,function(a){return-1==a.g},a);
null!=b&&Rz(a,!0,b)}};
Wha=function(a){var b=[];(0,g.C)(a,g.Ea(function(a,b){a(new Oz(b))},g.Ea(function(a,b){g.ib(a,b,Pz)},b)));
return b};
Yha=function(a,b){for(var c=[],d=0;d<a.g.length;d++){var e=a.g[d];-1!=e.g&&e.g<=b&&g.Ra(c,e)}return c};
Sz=function(a,b){return Ma(a,g.Ea(function(a,b){return b.gL==a},b))};
Zha=function(a){var b=[],c=Sz(a,!1);c&&b.push(c);(a=Sz(a,!0))&&g.ib(b,a,Pz);return b};
$ha=function(a,b){for(var c=0;c<a.g.length;c++){var d=a.g[c];if(Tz(a,d,a.F,b,!0,a.J)&&!a.g[c].l)return d}return null};
Tz=function(a,b,c,d,e,f){return-1==b.g?f&&0<a.l.duration&&d>=a.l.duration-c:e&&d>=b.g-c&&d<b.g};
Uz=function(a,b){var c=new Kz("contentTrackingError");c.setDescription(b);a.dispatchEvent(c)};
Rz=function(a,b,c){null!=c&&(c.l||(Vz(a,"requestAds",c),c.l=!0),b&&!c.o&&(Vz(a,"playAds",c),c.o=!0))};
aia=function(a,b){var c;a:{for(c=0;c<a.g.length;c++){var d=a.g[c];if(Tz(a,d,-1==d.g?a.D:a.C,b,a.H,a.I)&&d.ne&&!d.A){c=d;break a}}c=null}null==c?a.A&&(a.dispatchEvent(new Kz("discardAdNotify")),a.A=!1):a.A||c.o||(Vz(a,"adNotify",c),a.A=!0)};
Vz=function(a,b,c){b=new Kz(b);b.l=c.g;b.g=c.B;a.dispatchEvent(b)};
Wz=function(a){Lz.call(this);this.currentTime=a.currentTime;if(!("currentTime"in a)||(0,window.isNaN)(a.currentTime))throw Fn(Do,null,"content","currentTime");this.duration="duration"in a&&!(0,window.isNaN)(a.duration)?a.duration:-1;this.g=a;this.Ba=new g.qg(250);this.l=new g.Km(this);Mm(this.l,this.Ba,"tick",this.o,this)};
bia=function(){};
Xz=function(a,b,c){if(g.Pa(a))return null;a=(0,g.Jd)(a,function(a){var b=a.o;return"application/x-mpegurl"==g.F(a.g).toLowerCase()||"application/dash+xml"==g.F(a.g).toLowerCase()||"progressive"==b});
g.Pa(c)||(c=(0,g.I)(c,function(a){return a.toLowerCase()}),a=(0,g.Jd)(a,function(a){return g.Oa(c,g.F(a.g).toLowerCase())}));
if(!g.ua(b)||0>=b)b=sj()?500:1E3;return cia(a,b)};
cia=function(a,b){return dia(a,b)||eia(a,b)||fia(a,b)};
dia=function(a,b){var c=null;(0,g.C)(a,function(a){var d=a.Bi,f=a.Zf;d>b||f<b||!(null==c||c.Bi>d)||(c=a)});
return c};
eia=function(a,b){var c=null;(0,g.C)(a,function(a){var d=a.Bi,f=a.Zf;f>b||(null==c||c.Zf<f?c=a:null!=c&&c.Zf==f&&c.Bi>d&&(c=a))});
return c};
fia=function(a,b){var c=null;(0,g.C)(a,function(a){var d=a.Bi,f=a.Zf;if(!(d<b))if(null!=c&&c.Bi==d&&c.Zf<f)c=a;else if(null==c||c.Bi>d)c=a});
return c};
Yz=function(){this.l=0;this.g=[]};
Zz=function(a,b){if(b>=a.g.length)throw Error("Out of bounds exception");return 4>a.g.length?b:(a.l+Number(b))%4};
$z=function(a){g.Cf.call(this);this.g=a;this.M=new Yz;this.l=0;this.K=this.o=this.Vc=this.C=!1;this.I=this.mh();this.H=this.Oj();this.R=1E4;this.J=!1};
bA=function(a){a.Vc=!1;a.o=!1;a.C=!1;a.l=0;a.K=!1;a.M.clear();aA(a);g.Ze(a.A)};
cA=function(a,b){a.o||(a.o=!0,aA(a),a.dispatchEvent("start"),g.Aa(a.g.getAttribute)&&a.g.getAttribute("playsinline"),ao()||!g.Un||Wn(3)||Pn()&&!Tn(4)||a.Fs(b))};
dA=function(a){for(var b=a.g.buffered.length-1;0<=b;){if(a.g.buffered.start(b)<=a.g.currentTime)return a.g.buffered.end(b);b--}return 0};
aA=function(a){a.F&&(g.sg(a.F),a.F=null)};
fA=function(){g.Cf.call(this);this.buffered=new eA;this.W=new g.Km(this);var a=$m();if(a){a:{if(Rb(a.g,"videoElementMockDuration")&&(a=a.g.videoElementMockDuration,g.ua(a)))break a;a=window.NaN}this.duration=a}};
gia=function(){var a=["video/mp4"],b=["video/ogg"],c=new fA;c.canPlayType=function(c){return g.Oa(a,c)?"probably":g.Oa(b,c)?"maybe":""};
c.width=0;c.height=0;c.offsetWidth=0;c.offsetHeight=0;return c};
hia=function(a){this.startTime=0;this.endTime=a};
eA=function(){this.length=0;this.g=[]};
gA=function(a,b,c,d){if(null==a||!g.Od(g.kd(a),a))throw Fn(Do,null,"containerElement","element");this.B=a;this.l=this.g=null;this.A=b;this.D=!d;this.C=c||!1;this.o=null;this.g=g.K("DIV",{style:"display:none;"});this.B.appendChild(this.g);this.D&&(a=$m(),an(a,"useVideoElementMock")?(a=gia(),b=g.K("DIV",{style:"position:absolute;width:100%;height:100%;top:0px;left:0px;"}),g.Fa(b,a),a.Uk=g.K("DIV",{style:"position:absolute;width:100%;height:100%;top:0px;left:0px;background-color:#000"}),a.zo=g.K("P",
{style:"position:absolute;top:25%;margin-left:10px;font-size:24px;color:#fff;"}),a.Uk.appendChild(a.zo),b.appendChild(a.Uk),a.W.U(a,["loadeddata","playing","pause","ended"],a.cU),a=b):a=g.K("VIDEO",{style:"background-color:#000;position:absolute;width:100%;height:100%;",title:""+Ga("Advertisement")}),a.setAttribute("webkit-playsinline",!0),a.setAttribute("playsinline",!0),this.l=a,this.g.appendChild(this.l));this.A&&(a="display:none;position:absolute;width:100%;height:100%;",P.B||(a+="background-color:#000;"),
a=g.K("DIV",{id:this.A,style:a}),this.g.appendChild(a));this.C&&(this.o=g.K("DIV",{style:"position:absolute;width:100%;height:100%;"}),this.g.appendChild(this.o))};
hA=function(a,b,c,d){g.M.call(this);this.A=b||null;this.D="*";this.l=c||null;this.sessionId=null;this.channel=d||null;this.I=!!a;this.B=(0,g.A)(this.F,this);window.addEventListener("message",this.B)};
iA=function(a,b){"null"!=b.origin&&(a.l=a.D=b.origin);a.A=b.source};
jA=function(a){hA.call(this,!0);this.sessionId=a;this.channel="remoteplayer";this.l="*";this.g={};this.o=[];this.C=!1};
kA=function(a){a.C=!0;(0,g.C)(a.o,function(a){this.sendMessage(a)},a);
a.o.length=0};
iia=function(){};
lA=function(a,b){this.g=a;this.A=new Rx;this.C=(0,g.A)(this.D,this);this.H=Math.floor(2147483646*Math.random())+1;this.l=b||new jA(this.H);g.N(this,this.l);this.W=new g.Km(this);g.N(this,this.W);var c=(0,g.A)(a.play,a);this.l.g.play=c;c=(0,g.A)(a.load,a);this.l.g.load=c;c=(0,g.A)(a.pause,a);this.l.g.pause=c;c=(0,g.A)(this.B,this);this.l.g.listen=c;c=(0,g.A)(this.F,this);this.l.g.unlisten=c;c=(0,g.A)(this.o,this,"src");this.l.g.setSource=c;c=(0,g.A)(this.o,this,"muted");this.l.g.setMuted=c;c=(0,g.A)(this.o,
this,"volume");this.l.g.setVolume=c};
oA=function(a){g.Cf.call(this);this.M="ima-chromeless-video";var b=null;null!=a&&(g.w(a)?this.M=a:b=a);this.W=new g.Km(this);this.C=null;this.A=!1;this.ga=new g.hd(0,0);this.fa=this.Oj();this.I=-1;this.Z=!1;this.D=-1;this.l=this.Y=this.J=null;this.X="";this.o=!1;this.ea=null!=b;this.ia=this.g=null;this.Ma=nn().g("abort_ad_on_browser_autoplay_blocked");this.sa=this.K=this.ba=null;this.B=void 0;this.H=this.na=null;this.F=this.xa=0;this.ea?(this.o=!0,this.g=b,this.B=2):(a=(0,g.A)(this.KI,this),mA?a():
(nA.push(a),a=g.Cd("script"),a.src="https://www.youtube.com/iframe_api",b=window.document.getElementsByTagName("script")[0],b.parentNode.insertBefore(a,b)))};
qA=function(a,b,c){null!==b&&(a.X=b,a.o?pA(a,b,c):(a.J=b,a.Y=c))};
pA=function(a,b,c){var d={autoplay:"1"};P.B&&(d.dash=0);null!=a.l&&(null!=a.l.ej&&(d.agcid=a.l.ej),0<=a.l.slotPosition&&(d.slot_pos=a.l.slotPosition),null!=a.l.breakType&&(d.break_type=a.l.breakType),null!=a.l.adFormat&&(d.adformat=a.l.adFormat),null!=a.l.adIds&&(d.ad_id=a.l.adIds),null!=a.l.adSystems&&(d.ad_sys=a.l.adSystems),null!=a.l.g&&(d.ad_query_id=a.l.g),a.l.l&&(d.cta_conversion_urls=a.l.l),a.l.o&&(d.endscreen_ad_tracking_data=a.l.o),a.l.Nk&&(d.wait_for_vast_info_cards_xml=1),a.l.Wi&&(d.suppress_creator_endscreen=
1),a.l.Xj&&(d.is_trueview_action=1),a.l.isPharma&&(d.is_pharma=1),d.iv_load_policy=a.l.D?1:3,a.l.B&&(d.noiba=1),a.l.H&&(d.utpsa=1),a.l.F&&(d.autoplay="1"),a.l.C&&g.cc(d,a.l.C));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.g()&&(d.enabled_engage_types="3,4,5,6");a.A=!1;a.l&&a.l.A?(a.na=d,a.g.preloadVideoByPlayerVars(a.na)):a.g.cueVideoByPlayerVars(d);a.dispatchEvent("loaded")};
rA=function(a){a.W.Da(a.C,"tick",a.oC);null!=a.C&&(a.C.stop(),a.C=null)};
sA=function(a){null!=a.Ca&&g.sg(a.Ca)};
tA=function(a,b){g.Cf.call(this);this.o=a;this.l=b;this.g={};this.W=new g.Km(this);this.W.U(zd(),"message",this.A);this.Ya=null};
vA=function(a,b,c,d){a.g.hasOwnProperty(b)||(c=new Cy(b,c),a.W.U(c,a.o,function(a){a=new uA(a.type,a.ce,a.ag,a.Az,a.getOrigin(),b);this.dispatchEvent(a)}),c.Cf=d,c.connect(),a.g[b]=c)};
uA=function(a,b,c,d,e,f){By.call(this,a,b,c,d,e);this.g=f};
xA=function(){var a=g.y("google.ima.gptProxyInstance",zd());if(null!=a)return a;g.Km.call(this);this.o=new tA("gpt",!0);g.N(this,this.o);this.U(this.o,"gpt",this.C);this.Ya=this.g=null;wA()||zd().top===zd()||(this.g=new tA("gpt",!1),g.N(this,this.g),this.U(this.g,"gpt",this.B))};
wA=function(){return!!g.y("googletag.cmd",zd())};
yA=function(){var a=g.y("googletag.console",zd());return null!=a?a:null};
jia=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,q,r){if("%"==n)return"%";var e=c.shift();if("undefined"==typeof e)throw Error("[goog.string.format] Not enough arguments");arguments[0]=e;return zA[n].apply(null,arguments)})};
CA=function(a,b){g.Cf.call(this);this.W=new g.Km(this);this.F=!1;this.H=Bb();this.D=new g.om;var c=this.H;var d=(yba()?"https:":"http:")+jia("//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.K("IFRAME",{src:d+"#"+c,allowFullscreen:!0,style:"border:0; opacity:0; margin:0; padding:0; position:relative;"});
this.W.th(c,"load",this.iJ);a.appendChild(c);this.l=c;c=this.D.get("*");null==c&&(c=new Cy(this.H,"*"),this.F&&(c.Cf=Pd(this.l),c.connect()),this.D.set("*",c));this.C=c;this.B=b;this.g=this.B.l;this.Ya=this.o=this.A=null;this.W.U(this.C,"mouse",this.HJ);this.W.U(this.C,"touch",this.ZJ);null!=this.g&&(this.W.U(this.C,"displayContainer",this.CJ),this.W.U(this.C,"videoDisplay",this.WJ),this.W.U(this.C,"preloadVideoDisplay",this.OJ),this.W.U(this.g,g.Ob(AA),this.gg),this.W.U(this.g,BA,this.gg));c=zd();
d=g.y("google.ima.gptProxyInstance",c);null==d&&(d=new xA,g.va("google.ima.gptProxyInstance",d,c))};
DA=function(a,b){var c=g.yh(a.l),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.l,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.l,a.identifier,a.pageX+c.x,a.pageY+c.y,a.screenX,a.screenY)},a);
return window.document.createTouchList.apply(window.document,e)};
EA=function(a){a=a.playbackOptions;var b=new Kx;b.adFormat=a.adFormat;b.ej=a.adSenseAgcid;b.I=a.contentVideoDocId;b.l=a.ctaAnnotationTrackingEvents;a.showAnnotations&&(b.D=!0);a.viewCountsDisabled&&(b.H=!0);b.timeout=a.loadVideoTimeout;a.ibaDisabled&&(b.B=!0);a.enablePreloading&&(b.A=!0);b.g=a.adQemId;a.isPharma&&(b.isPharma=!0);a.useAutoplayFlag&&(b.F=!0);b.o=a.endscreenAdTracking;a.waitForVastInfoCardsXml&&(b.Nk=!0);a.suppressCreatorEndscreen&&(b.Wi=!0);a.isTrueViewAction&&(b.Xj=!0);return b};
FA=function(a,b,c){this.F=a;var d=null!=c;pn(mn(),136961005)&&(P.J=!0);var e=d,f=!1;P.J?P.l||(bo()&&d||(e=!1),!e&&P.J&&!P.g()&&Mn()&&(P.B=!0),!P.B&&Mn()||gl()||(f=!0)):P.l||bo()&&d||(!P.B&&Mn()||gl()||(f=!0),e=!1);this.H=e;this.J=f||e&&null!=c;P.l?a=null:(d=g.K("DIV",{style:"position:absolute"}),a.insertBefore(d,a.firstChild),a=d);this.o=a;this.g=this.H||!this.o||P.l||!Mn()?null:new gA(this.o,null,!0);d=a=null;this.H?c&&(a=new oA(c)):this.g&&(a=new $z(this.g.l),d=this.g.l);e=null;d&&P.B&&f&&(e=new lA(d));
this.I=e;this.l=a;this.B=this.A=null;f=g.Un&&!Wn(4);a=Pn()&&Mn();this.g&&this.l&&this.o&&!this.H&&!gl()&&!f&&!a&&this.o&&(this.A=new gA(this.o,null,!0),this.B=new $z(this.A.l));this.C=this.l?b||null:null;this.K=null!=this.C;so(po.getInstance(),8,{enabled:this.H,yt:null!=c,customClick:null!=this.C});null===this.o&&(b=this.F,P.F=b);this.D=null==this.o||P.l?null:new CA(this.o,this)};
GA=function(a){return a.K&&a.C?a.C:null!=a.g?a.g.o:null};
HA=function(a){this.g=a};
IA=function(a,b){g.af.call(this,"adsManagerLoaded");this.g=a;this.l=b};
JA=function(a,b,c,d){a.g.Tc(new HA(b),c,d);return a.g};
KA=function(){};
LA=function(){g.Cf.call(this);this.ne=!1;this.impressionUrls=[]};
MA=function(a,b,c){g.af.call(this,a);this.l=b||null;this.g=c||null};
OA=function(a,b){g.Cf.call(this);this.g=a;this.C=!!b;this.A=NA(this);this.A||(this.l=g.of(this.g,g.wd&&!g.oc("7")?"readystatechange":"load",this.B,!1,this),this.o=window.setInterval((0,g.A)(this.B,this),100))};
PA=function(a){a.o&&(window.clearInterval(a.o),a.o=null)};
NA=function(a){var b=!1;try{if(a.C||!g.wd||g.oc("11")){var c=a.g,d=(c.contentDocument||c.contentWindow.document).body;b=a.C?!!d&&!!d.firstChild:!!d}else b="complete"==a.g.readyState}catch(e){}return b};
QA=function(){LA.call(this);this.D=[];this.B=!1;this.o="not_loaded";this.l=null;this.A=0;this.g=this.Ya=null;this.F=new jd};
RA=function(a){var b=["googletag","googletag.cmd"];return g.Ka(a,function(a){return(0,g.cm)(b,function(b){return null!==g.y(b,a)})})||null};
SA=function(a){return a.ne?(0,g.I)(a.D,function(a){return a.clone()}):[]};
kia=function(a){a=SA(a);if(null!=a)return(0,g.I)(a,function(a){return a.F})};
TA=function(a,b,c){var d=0,e=0;null!=b&&(b=new g.um(b.g),d=Number(b.g.get("pod")||0),e=Number(b.g.get("ppos")||0));if(null!=a.setVideoSession)try{a.setVideoSession(qo.g,d,e,c)}catch(f){}};
lia=function(a,b){var c=UA(a);if(null!==c){TA(c,b,!0);try{c.refreshAllSlots()}catch(d){}}};
WA=function(a,b,c){a=VA(a);if(null!=a)try{a.setVideoContent(b,c)}catch(d){}};
XA=function(a,b){a.C=b;WA(a,"","");var c=UA(a);null===c||TA(c,null,!1)};
UA=function(a){null==a.g&&YA(a);return null!=a.g&&null!=a.g.googletag&&null!=a.g.googletag.companionAds?a.g.googletag.companionAds():null};
VA=function(a){null==a.g&&YA(a);return null!=a.g&&null!=a.g.googletag&&null!=a.g.googletag.pubads?a.g.googletag.pubads():null};
ZA=function(a){a.l&&(a.l.stop(),a.l.Da("tick",a.CC,!1,a),a.l.dispose(),a.l=null)};
cB=function(a){if("retrieved"!=a.o&&"not_available"!=a.o&&null!==UA(a)){var b=UA(a);if(null!==b&&g.Aa(b.getDisplayAdsCorrelator))try{var c=g.F(b.getDisplayAdsCorrelator())}catch(f){c=null}else c=null;switch(c){case "not_loaded":case "not_available":a.o=c;break;default:c=Number(c),(0,window.isNaN)(c)?a.o="not_available":(a.C=c,a.o="retrieved")}}(c=$A(a))||(c=aB(a)&&"not_available"==a.o);if(c){if(!a.H&&aB(a)){try{if(null==a.g)var d=[];else{var e=a.g.googleGetCompanionAdSlots();d=(0,g.I)(e,a.jV,a)}}catch(f){d=
[]}a.D=d;a.H=!0}a.ne=!0;ZA(a);$A(a)?a.dispatchEvent(new MA("companions_success")):bB(a)}else a.l||(a.A=(0,g.G)()+15E3,a.l=new g.qg(100),a.l.U("tick",a.CC,!1,a),a.l.start())};
$A=function(a){return aB(a)&&"retrieved"==a.o};
aB=function(a){a.B||(YA(a),a.B=null!=a.g&&null!=a.g.googleGetCompanionAdSlots);return a.B};
YA=function(a){var b=g.$d(a.F);try{a.g=RA([b,b.top])}catch(c){a.g=null}};
bB=function(a){a.dispatchEvent(new MA("companion_initialization_failed",Error("Partial or full service initialization failure.")))};
mia=function(a,b,c){var d=new OA(b,!0);d.Kb()?dB(a,c,b):nf(d,"ifload",g.Ea(function(a){dB(this,c,a)},b),!1,a)};
dB=function(a,b,c){a.dispatchEvent(new MA("companion_slot_init",null,b));var d=c;"IFRAME"==c.tagName&&(d=(c.contentDocument||c.contentWindow.document).body);null!=d&&g.of(d,"click",(0,g.A)(a.HQ,a,b),!1,a)};
eB=function(){g.Cf.call(this);this.o=[]};
fB=function(){return new ns("empty-ad","GDFP","GDFP","",0,[],[],[],[],new g.om)};
gB=function(a){eB.call(this);this.g=a;this.D=this.Ya=null;this.C=!1;this.A=null;this.W=new g.Km;Mm(this.W,this.g,["companions_success","companion_initialization_failed"],this.rT,this);Mm(this.W,this.g,"companion_display_error",this.JQ,this);Mm(this.W,this.g,["companion_slot_init","companion_click"],this.FQ,this);this.g.ne?this.C=!0:this.g.initialize()};
iB=function(a){var b=a.A;a.A=null;if(null!=a.g)if(g.Pa(a.o))hB(a,Error("Companion slots not available."));else if(null!=b){var c=nia(a,b);a.g.Hd(a.o);if(0<c.length&&b.Gb){a=a.g;var d;if(d=0!=c.length)d=Ms(b),d="GDFP"==(Hs(d[0])&&1<d.length?d[1]:d[0]);if(d){d=[];for(var e=0;e<c.length;e++)d.push(c[e].H);b=b.o;c=UA(a);if(null!==c){TA(c,b,!1);try{c.notifyUnfilledSlots(d)}catch(f){}}}}}else hB(a,Error("Invalid master ad."))};
hB=function(a,b){a.dispatchEvent(new Wo("companion_display_error",b))};
nia=function(a,b){var c=[],d=[];(0,g.C)(a.o,function(a){Zo(a);(0,g.zj)(a.F,function(d){a:{d=Rs(b,d.width,d.height);if(!g.Pa(d)&&(d=oia(d,c),null!=d)){var e=d.o;if(null!=e&&0!=a.H.indexOf(e)){d=!1;break a}e=d.g.J;Xa(e,Ds(b,"companionClick"));var f=Ds(b,"companionImpression"),k=P.g()&&"Html"==d.g.K&&d.A;c.push(d);if(k)Yo(a,d.Cc(),d.Db(),d.getHeight(),f);else{k=d.cd();var q=d.Db(),r=d.getHeight();d="IFrame"!=d.g.K;a.D=k;a.A=null;a.o=q;a.g=r;a.l=d;a.B=f||[];a.C=e||[]}d=!0;break a}d=!1}return d},this)||
d.push(a)},a);
var e=jB(b);a.B=kB(e,c);a.B||(0,g.C)(a.o,function(a){Zo(a)},a);
return d};
kB=function(a,b){if(null==a)return!0;var c=a.g;return"all"==a.l?pia(c,b):"any"==a.l?qia(c,b):!0};
jB=function(a){return null==a||null==a.g||(0,window.isNaN)(a.g.g)?null:g.Ka($s(a,!0),function(a){a=a.g;return g.Pa(a)?!1:(0,window.isNaN)(a[0].g.g)?!1:a[0].g.g==Go(a[0])})};
pia=function(a,b){return(0,g.cm)(a,function(a){return g.Oa(b,a)})};
qia=function(a,b){return(0,g.zj)(a,function(a){return g.Oa(b,a)})};
oia=function(a,b){return g.Ka(a,function(a){return!g.Oa(b,a)})};
lB=function(a,b){this.A=a;this.l=b;this.g=this.Ya=null};
ria=function(a){var b=[],c=Zr(a,"vmap:Extensions")[0];if(c){var d;bs(c,"vmap:Extension",function(a){"vmap:YTBreakTime"==c.getAttribute("type")&&(d=a)});
if(d&&(b=Zr(d,"yt:BreakTime"),!g.Pa(b)))return(0,g.I)(b,function(a){return $r(a,"timeOffset")})}return[$r(a,"timeOffset")]};
sia=function(a,b){return(0,g.I)(b,function(a){var b=new Dz(a.l.clone());b.isBumper=a.isBumper;b.g=a.g;return b},a)};
tia=function(a){return(a=g.Ka(g.Kd(a),function(a){return"vmap:VASTData"==a.nodeName||"vmap:VASTAdData"==a.nodeName}))?g.Ka(g.Kd(a),function(a){return"VAST"==a.nodeName}):null};
uia=function(a){var b=null,c=!1;a=g.Ka(a,g.Ea(mB,"type","youtube"));null!=a&&(a=(0,g.Jd)(a.getElementsByTagName("*"),function(a){return"yt:BreakProperty"==a.tagName}),g.Pa(a)||(a=a[0],a.hasAttribute("break_type")&&(b=Xda(a.getAttribute("break_type"))),nn().g("disable_freqcap_for_hummingbird")&&a.hasAttribute("disable_frequency_capping")&&(c=a.getAttribute("disable_frequency_capping"),c=es(c))));
return{breakType:b,Jn:c}};
mB=function(a,b,c){return $r(c,a)==b};
wia=function(a,b){if(null!=a){if(null!=a){var c=g.Md(a);c=null!=c&&"Playlist"==c.nodeName}else c=!1;if(c)return wx(),new Gz(a,b);null!=a?(c=g.Md(a),c=null!=c&&"vmap:VMAP"==c.nodeName):c=!1;if(c)return wx(),new lB(a,b);if(Aw(a)){if(!Aw(a))throw En(Jz);c=g.Md(a);var d=Dw(c);if(1>d||4<d)throw En(via);c=Zr(c,"Ad");if(g.Pa(c))throw En(nB);c=Ew(c[0]);if(null==c)throw En(oB);if(1!=Zr(c,"AdSystem").length)throw En(oB);return new zw(a)}}return null};
xia=function(a){a=(0,g.Jd)(a,function(a){return 0<Os(a)});
g.fb(a,function(a,c){return Os(a)-Os(c)});
return a};
yia=function(a){return(0,g.Jd)(a,function(a){return-1==Os(a)})};
Tq=function(a){this.If=a};
zia=function(){this.Ya=null;this.g=0};
Aia=function(a,b,c,d,e,f,k){var l=(0,g.A)(function(a){d(a,Error(Vw(a)))},a),m=(0,g.A)(function(a){6==a?pB(this,b,!1,c,l,e,f,k):l(a)},a);
pB(a,b,!0,c,m,e,f,k)};
pB=function(a,b,c,d,e,f,k,l){var m=new g.bx;m.F=c;cx(m,Bia(f));var n=new g.Km,q=(0,g.A)(function(){n.dispose();m.dispose()},a);
c=(0,g.A)(function(){e(m.l);q()},a);
Pm(n,m,"success",function(){try{var a=m.g?m.g.responseXML:null}catch(H){a=null}if(null==a){var b=g.lx(m);try{a=g.Ur(b)}catch(H){a=Tr("parsererror")}}d(a);q()},a);
Pm(n,m,["error","timeout"],c,a);if("POST"==k){b=new g.um(b);var r=b.g.toString();zm(b,"");b=b.toString()}P.g()&&"POST"!=k&&(r=Cia(b,k),b=r.url,k=r.gV,r=r.content);a.g=(0,g.G)();m.send(un(b),k,r,l)};
Cia=function(a,b){var c=new KA;c.g=a;if(lr(c)){c=new g.um(a);var d=c.g.get("post_data");if(g.u(d)){b="POST";c.g.remove("post_data");a=c.toString();var e=d}}return{url:a,gV:b,content:e}};
qB=function(a,b){this.l=a;this.o=b};
rB=function(a,b){"auto"!=a.l.aj&&"click"!=a.l.aj||b.set("vpa",a.l.aj)};
sB=function(a){g.D(P.getPlayerType())||(a.set("mpt",P.getPlayerType()),g.D("")||a.set("mpv",""))};
tB=function(a,b){var c=a.o.C,d=a.o.l;null!=c&&b.set("js","ima-"+c);null!=d&&b.set("an",d);c=a.l.I;null!=c&&b.set("mv",c+"."+(a.l.H||""))};
uB=function(a,b){var c=2,d=ci&&ci.g?!1:0===hj();!gl()&&d&&(c|=2048);b.set("osd",c);-1!=a.o.J&&b.set("frm",a.o.J);c=a.o.Y;null!=c&&b.set("ms",c);b.set("sdr",1)};
vB=function(a){return P.l?"h.3.0.0":null!=a.o?oo(a.o):null};
wB=function(){this.g=["video"]};
xB=function(a,b){a.set("sz",Math.max(null!=b.Mj?b.Mj:0,null!=b.pf?b.pf:0)+"x"+Math.max(null!=b.Lj?b.Lj:0,null!=b.nf?b.nf:0))};
zB=function(a){var b={};di(b);for(var c in b)a.set(c,b[c]);a.set("dt",yB)};
AB=function(a){if(a.kc&&a.kc.LACT){var b=a.kc.LACT.toString();if(b)return Fb(b)}return a.C};
BB=function(a){return P.g()&&a.kc&&a.kc.VIS?a.kc.VIS.toString():null};
HB=function(a,b,c){var d=new g.om;d.set("ad_type",b.adType);Jo&&d.set("flash",CB);xB(d,a);DB(b)&&(d.set("ea","0"),null!=a.pf&&null!=a.nf&&d.set("image_size",EB(b,a.pf,a.nf,a.tj)));FB(d,c);d.set("lact",AB(a));(b=BB(a))&&d.set("yt_vis",b);d.set("videoad_start_delay",a.Bq);zB(d);GB(a,d,!0);return d};
GB=function(a,b,c){g.D(g.F(a.referrer))||(a=a.referrer,c&&(a=g.nb(a)),IB("ref",a,b))};
LB=function(a,b,c){a=null!=b?b.split("_"):a;(0,g.C)(a,function(a){if(!g.Sb(Dia,a))throw En(Do,null,"ad_type",String(b));});
if(c){var d=[];(0,g.C)(a,function(a){g.Oa(JB,a)||d.push(a)});
a=d}c=g.Oa(a,"video");var e=g.Oa(a,"skippablevideo");!Qn()||P.g()||so(po.getInstance(),53,{playsInline:!1,iOS_version:Qn()?Yn(Sn):"",wv:(Hb("iPad")||Hb("iPhone"))&&!fc()&&!ec()&&!Hb("Coast")&&Hb("AppleWebKit"),rq_video:c,rq_skip:e,dis_cp:!1});var f=mn();if(!ao()){d=[];(0,g.C)(a,function(a){"video"==a?(d.push("standardvideo"),!P.g()&&pn(f,413051060)&&d.push("bumpervideo")):"skippablevideo"!=a&&d.push(a)});
if(0==d.length)throw En(KB,null,"skippablevideo");a=d}return a};
MB=function(a,b){return null!=b?b.split(/[+, ]/):a};
EB=function(a,b,c,d){a.l&&(c=Math.min(c,90));var e=0,f=0;a=!P.g();d=d&&a;a&&(e=15,f=65);var k=[];(0,g.C)(Eia,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(",")};
OB=function(a,b){return null==b||(0,window.isNaN)(b)?a:Number(b)};
PB=function(a,b){return null!=b?String(b):null!=a?a:null};
QB=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};
RB=function(a,b,c){return null!=b&&g.Sb(c,b)?b:a};
DB=function(a){return(0,g.zj)(JB,function(b){return g.Oa(a.g,b)})};
FB=function(a,b){Jo?a.set("ca_type","flash"):a.set("ca_type","image");if(null!=b){var c=b.o;null!=c&&0<c.length&&(c=c[0].F,0<c.length&&(a.set("ca_w",c[0].width),a.set("ca_h",c[0].height)))}};
IB=function(a,b,c){null!=b&&c.set(a,b)};
TB=function(a,b,c){qB.call(this,a,b);var d=new wB,e=(new g.um(a.g)).g;d.Is=RB(d.Is,e.get("cust_age"),Fia);d.fn=RB(d.fn,e.get("adsafe"),SB);d.g=LB(d.g,e.get("ad_type"));d.adType=d.g.join("_");d.Nq=OB(d.Nq,e.get("videoad_start_delay"));d.Oq=PB(d.Oq,e.get("slotname"));d.Hs=QB(d.Hs,e.get("adtest"))||"on"==e.get("adtest");d.Qq=QB(d.Qq,e.get("scs"));d.Rq=PB(d.Rq,e.get("alternate_ad_url"));d.channels=MB(d.channels,e.get("channel"));d.ur=OB(d.ur,e.get("cpm"));d.dl=PB(d.dl,e.get("description_url"));d.experimentIds=
PB(d.experimentIds,e.get("eid"));d.gender=RB(d.gender,e.get("cust_gender"),Gia);d.l=QB(d.l,e.get("overlay"));d.host=PB(d.host,e.get("host"));d.o=MB(d.o,e.get("h_ch"));d.hostTierId=OB(d.hostTierId,e.get("ht_id"));d.isLiveStream=QB(d.isLiveStream,e.get("lsv"));if(null!=this.l.language)var f=this.l.language;else f=g.x.navigator||null,f=bn(f.language||f.userLanguage||f.browserLanguage||f.systemLanguage||"");var k=null!=e.get("hl")?String(e.get("hl")):null;f=PB(k,f);var l;null!=f&&!g.D(g.F(f))&&(l=bn(f));
d.language=PB(d.language,l);d.Kz=OB(d.Kz,e.get("linearAdSlotWidth"));d.Jz=OB(d.Jz,e.get("linearAdSlotHeight"));d.Lo=OB(d.Lo,e.get("max_ad_duration"));d.Bt=OB(d.Bt,e.get("min_ad_duration"));d.Mo=OB(d.Mo,e.get("sdmax"));d.Mz=OB(d.Mz,e.get("nonLinearAdSlotWidth"));d.Lz=OB(d.Lz,e.get("nonLinearAdSlotHeight"));d.tk=PB(d.tk,e.get("client"));d.Bp=PB(d.Bp,e.get("t_pyv"));l=e.get("sdki");d.Mp=OB(d.Mp,g.w(l)?(0,window.parseInt)(l,16):l);d.tagForChildDirectedTreatment=OB(d.tagForChildDirectedTreatment,e.get("tfcd"));
d.xp=PB(d.xp,e.get("pucrd"));d.targeting=RB(d.targeting,e.get("targeting"),Hia);d.xo=OB(d.xo,e.get("video_format"));d.Nv=OB(d.Nv,e.get("video_cpm"));d.Js=PB(d.Js,e.get("loeid"));d.Uv=PB(d.Uv,e.get("yt_pt"));d.Rv=PB(d.Rv,e.get("ytdevice"));d.Sv=PB(d.Sv,e.get("ytdevicever"));d.Tv=PB(d.Tv,e.get("dbp"));d.A=PB(d.A,e.get("ms"));d.adBlock=OB(d.adBlock,e.get("adBlock"));d.url=PB(d.url,e.get("url"));d.Xq=PB(d.Xq,e.get("avo"));d.Mv=PB(d.Mv,e.get("v_p"));d.UK=a.B;d.VK=a.A;d.contentTitle=a.contentTitle;d.zq=
OB(d.zq,e.get("ad_block"));d.gn=PB(d.gn,e.get("adsid"));this.g=d;this.F=b;this.I=c;g.D(g.F(this.g.experimentIds))||(a=this.g.experimentIds.split(","),kn(mn(),a))};
Jia=function(a){return(0,g.zj)(Iia,function(a){return g.Oa(this.g.g,a)},a)};
UB=function(a){return P.g()?1:g.Oa(a.g.adType.split("_"),"text")?3:1};
Kia=function(a){a=a.g.channels?a.g.channels:[];$a(a);return a.join("+")};
VB=function(a,b){return Math.round(1.1*(a||0)+0*b)};
WB=function(a,b){qB.call(this,a,b)};
XB=function(a,b){qB.call(this,a,b)};
YB=function(a){qB.call(this,a,null)};
ZB=function(a){qB.call(this,a,null)};
$B=function(a,b){qB.call(this,a,b);P.g()&&(this.o.A=lo())};
Lia=function(a){var b=[];(0,g.C)(a,function(a){0<a.length&&b.push((0,g.I)(a,function(a){return a.width+"x"+a.height}).join("|"))});
return b.join(",")};
aC=function(a,b,c){$B.call(this,a,b);b=mn();this.H=g.D(g.F(a.o));a=new wB;a.g=LB(a.g,this.l.o);a.adType=a.g.join("_");a.experimentIds=PB(a.experimentIds,this.l.F);this.g=a;this.F=c;g.D(g.F(this.g.experimentIds))||kn(b,this.g.experimentIds.split(","))};
Mia=function(a){var b=HB(a.l,a.g,a.F);b.set("sdkv",vB(a));b.set("sdki",a.C().toString(16));return b};
Nia=function(a,b){var c=Mia(a),d=(0,g.I)(c.Cb(),function(a){var b=c.get(a);return a+"="+(null!=b?b:"")});
g.Dm(b,"afvparams",d.join("&"))};
bC=function(a,b,c){qB.call(this,a,b);mn();this.H=g.D(g.F(a.o));a=new wB;a.g=LB(a.g,this.l.o);a.adType=a.g.join("_");a.experimentIds=PB(a.experimentIds,this.l.F);this.g=a;this.F=c;g.D(g.F(this.g.experimentIds))||(a=this.g.experimentIds.split(","),c=mn(),kn(c,a))};
Oia=function(a){var b=HB(a.l,a.g,a.F);b.set("sdkv",vB(a));return b};
Pia=function(a,b){var c=Oia(a),d=(0,g.I)(c.Cb(),function(a){var b=c.get(a);return a+"="+(null!=b?b:"")});
dr(b,"afvparams",[g.nb(d.join("&"))])};
cC=function(a,b){qB.call(this,a,b)};
dC=function(a,b,c){a=new g.um(g.Tm(a.l.g,Qia(a,b,c)));g.vm(a,"https");return a};
Qia=function(a,b,c){if(null==a.l||null==a.l.kc)return{};var d={},e=a.l.kc;(0,g.C)(Ria,function(a){a in e&&(d[a]=e[a])});
(a=Sia(a,e.DESCRIPTION_URL))&&(d.AD_BLOCK=a);b&&(d.BISCOTTI_ID=b);c&&(d.ANID=c);return d};
Sia=function(a,b){return null!=b?fo(no(a.o),b):null};
Tia=function(a,b){if(!ir(a.g)&&!jr(a.g)||g.D(g.F(a.o))||null==a.g||-1==a.g.search("afvbase="))if(ir(a.g))var c=new XB(a,qo);else gr(a.g)?c=new TB(a,qo,b):jr(a.g)?c=new $B(a,qo):hr(a)?c=new WB(a,qo):(c=a.g,null!=c?(c=(new g.um(c)).l,c=lb(c,".fwmrm.net")):c=!1,c=c?new YB(a):lr(a)?new cC(a,qo):new ZB(a));else c=ir(a.g)?new bC(a,qo,b):new aC(a,qo,b);return c};
eC=function(a,b,c,d,e){this.B=a;this.o=b;this.A=c;this.g=d;this.C=e;this.Ya=null};
Uia=function(a,b,c,d){if(b.l instanceof window.Document)var e=b.l;else try{e=g.Ur(b.l)}catch(f){d(En(Jz,f));return}null!=e?fC(a,e,b,c,d):d(En(Jz))};
gC=function(a,b,c,d){var e;if(e=null!=b.g){a:{try{ob(b.g)}catch(f){e=!1;break a}e=!0}e=!e}e?d(En(Via,null,b.g)):P.I?lea(xo(),(0,g.A)(a.l,a,b,c,d)):a.l(b,c,d)};
iC=function(a,b,c,d,e,f){b=iea(b,f);f=c.Iv&&rn(Wia,b)?"POST":"GET";var k=kr(b)?c.D:void 0;Aia(a.o,b,(0,g.A)(function(a){fC(this,a,c,d,e)},a),(0,g.A)(function(a,b){var d=8==a?En(Oq):5==a||6==a?En(Xia):En(hC,b);
e(d);d="third_party";gr(c.g)?d="adsense":ir(c.g)?d="dart":jr(c.g)&&(d="xfp");d={rt:d,ec:a};so(po.getInstance(),18,d,!0)},a),a.C,f,k);
Yia(c)};
Yia=function(a){var b="third_party";gr(a.g)?b="adsense":ir(a.g)?b="dart":jr(a.g)?b="xfp":hr(a)&&(b="dbm");a={rt:b};so(po.getInstance(),17,a,!0)};
fC=function(a,b,c,d,e){try{var f=wia(b,c);if(!f)throw En(Jz);var k=f.o();Zia(a,k,c,d)}catch(l){l instanceof en?e(l):e(En($ia,l))}};
Zia=function(a,b,c,d){var e=b.If;if(null!=e)d(new Tq(e));else{e=b.l;if(null==e)throw En(nB);(0,g.C)(e,function(a){a.o=c;var d=$m();d&&an(d,"useCompanionsAsEndSlate")&&(a.J=dga(a));d=[];var e=a.getExtension("InfoCards");if(null!=e){e=e.o?e.o:new Fv;for(var f=0;f<Ev(e,"card");f++)d.push(new Gv(Bv(e,"card",f)))}a.B=d;a.Y=Zfa(a.B);a.Ma=this.o.g;P.g()&&(a.Ha=b.g)},a);
var f=xia(e),k=yia(e),l;0<k.length&&0<=Ns(k[0])?l=new Yq(k,c,a,a.B):l=new Nq(f,k,c,a);(0,g.C)(e,function(a){a.fa=l});
d(l)}};
jC=function(a){this.g=a+(0,g.G)()};
Bia=function(a){var b=(0,g.G)();a=a.g-b;return 0<a?a:0};
kC=function(a,b){this.B=a;this.o=b;this.A=null;this.W=new g.Km(this);this.l=this.g=null;this.D=!1;this.Ya=null};
aja=function(a){if(null===a.A)lC(a);else{var b=new g.um(a.A.g),c=g.F(b.g.get("vid"));b=g.F(b.g.get("cmsid"));var d=a.o.H,e=a.o.D;a.o.H=c;a.o.D=b;if(g.D(g.F(c))||g.D(g.F(b)))lC(a);else if(c==d&&b==e)lC(a);else{var f=a.B.ji();WA(f,c,b);lia(f,a.A);a.l=new g.qg(100);Mm(a.W,a.l,"tick",function(){a:{var a=VA(f);if(null!=a)try{var b=!1!==a.isAdRequestFinished();break a}catch(m){b=!0;break a}b=!1}b&&lC(this)},a);
a.l.start()}}};
bja=function(a){a.g=new g.qg;Pm(a.W,a.g,"tick",function(){lC(this)},a);
a.g.setInterval(1E3);a.g.start()};
lC=function(a){null!=a.W&&(a.W.dispose(),a.W=null);null!=a.g&&(a.g.stop(),a.g=null);null!=a.l&&(a.l.stop(),a.l=null);a.D=!0;null===a.C||a.C()};
cja=function(a,b){this.g=a;this.l=b;this.Ya=null;P.l&&Qo().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}qo.J=c};
dja=function(a,b,c,d){if(P.g()){var e=b.Aq;e&&aea(mn(),e);Qo()&&uea()}e=null;null==a.g||P.g()||(e=new kC(a.g,a.l));var f=mfa(b);null!=f&&lfa(b)&&(a.l.Y=f);f=8E3;!P.g()&&pn(mn(),41351074)?f=5E3:!P.g()&&pn(mn(),41351075)&&(f=2E3);(new eC(a.l,new zia,a.g,e,new jC(f))).fetch(b,(0,g.A)(function(a){a instanceof Tq?c(a):Rq(a,c,d)},a),d)};
g.mC=function(){this.g=[];this.l=[]};
nC=function(a){g.Pa(a.g)&&(a.g=a.l,a.g.reverse(),a.l=[])};
g.oC=function(a,b){a.l.push(b)};
g.pC=function(a){nC(a);return a.g.pop()};
qC=function(a){nC(a);return g.Ia(a.g)};
eja=function(a){this.fb=a;this.g=new g.mC;this.Yf=!1;this.Ya=null};
sC=function(a,b,c,d){var e=(0,g.A)(function(a){c(a);g.pC(this.g);this.Yf=!1;rC(this)},a),f=(0,g.A)(function(a){d(a);
g.pC(this.g);this.Yf=!1;rC(this)},a);
g.oC(a.g,(0,g.A)(function(){dja(this.fb,b,e,f)},a));
rC(a)};
rC=function(a){if(!a.Yf){var b=qC(a.g);null!=b&&(a.Yf=!0,b())}};
tC=function(a,b,c){g.Cf.call(this);this.fb=new eja(new cja(b,c));this.o=a;this.l=b;this.g=!0;this.A=c;this.Ya=null};
fja=function(a,b,c){if(a.g){var d=null!=c?c:{};eha(vx.getInstance(),b.g);sC(a.fb,b,(0,g.A)(function(a){uC(this,a,d)},a),(0,g.A)(function(a){vC(this,a,d)},a))}};
Rha=function(a,b,c){if(!a.g){var d=null!=c?c:{};sC(a.fb,b,(0,g.A)(function(a){uC(this,a,d)},a),(0,g.A)(function(a){vC(this,a,d)},a))}};
uC=function(a,b,c){if(a.g)if(b instanceof Tq)b=new wC(b.If,a,a.o.Sx),b.Og(a.l),a.dispatchEvent(new IA(b,c));else try{var d=Az(a.o,b);d.Og(a.l);a.dispatchEvent(new IA(d,c,0<b.length?b[0].Ha:null))}catch(e){vC(a,En(xC,null),c)}else b instanceof Tq?vC(a,En(gja,null,"Unsupported ad format."),c):(d=new dn("adsLoaderSdkAdLoaded"),d.A=b,d.o=c,a.dispatchEvent(d))};
vC=function(a,b,c){a.g?("always"==P.A&&null!=a.l&&a.l.Hd(fB()),a.dispatchEvent(new Ym(b,c))):(c=new dn("adsLoaderSdkAdError"),c.g=b,a.dispatchEvent(c))};
yC=function(a,b){this.I=a;this.M=new g.om;this.K=15E3;this.C=g.K("SPAN");cz.call(this,a[0],b);this.g.appendChild(this.C)};
zC=function(a,b){cz.call(this,a[0],b);this.A=a;g.S(this.g,"ima-container-stack")};
AC=function(a){fz.call(this,a);this.C=!1;this.l=this.A=null;this.H=!1};
BC=function(a){var b=a.ads[0].getExtension("AdSense"),c=b.B;b=b.C;a={text:null!=c?c:a.I.B,url:null!=b?b:a.I.C};null==a.text&&(c=""+Ga("Ads by Google"),c=kp(c),a.text=c);return a};
CC=function(a){return a.ib()&&bt(a.ma())};
hja=function(a){var b=DC(a);b.rba=a.B;so(po.getInstance(),37,b)};
DC=function(a){var b=[],c=[];(0,g.C)(a.A,function(a){b.push(a.Db()+"x"+a.getHeight());c.push(a.nd())},a);
var d={};d.pid=vx.getInstance().g;d.fsmode=null!=a.l;0<b.length&&(d.cz=b.join(","));0<c.length&&(d.ct=c.join(","));d.vm=a.Zc;return d};
EC=function(a,b){if(a.l){a.oo(new g.af("close"));var c={};c.pid=vx.getInstance().g;c.evt=b;so(po.getInstance(),35,c)}};
FC=function(a,b){g.M.call(this);this.A=a;this.g=-1;this.o=b};
GC=function(a,b){FC.call(this,a,b)};
wC=function(a,b,c){Eu.call(this,[]);this.If=a;this.Bb=new g.om;this.Tb=this.sb=null;this.Sx=c;this.il=new g.mC;this.Ud=null;this.fb=b;this.Pq=this.Fn=!1;this.Ai=null;this.Xe=0;this.fe=this.ge=-1;this.Yd=null;this.Tu=0;this.Ya=null;this.fl=!1};
jja=function(a,b){if(null!==a.Ia){var c=1;a.Xe=0;var d=new Rx;(0,g.C)(b,function(a){if((0,window.isNaN)(a))throw En(Iz,null,"timeOffset",String(a));if(-1!=a&&-1>=a){var b=this.If;if((0,window.isNaN)(a)||!g.ua(a))throw Error("Incorrect time offset.");qm(b.g,a)&&b.g.remove(a)}else if(b=g.ua(a)&&!(0,window.isNaN)(a)?this.If.g.get(a,[]):[],!g.Pa(b)){this.Xe+=b.length;var e=0==a||-1==a?a:c++;b=new jz(b,a,e,this.fb,this.Ia,this.Qa,this.Td);if(d.contains(a))throw En(ija,null,"Multiple ad breaks cannot share same ad play time.");
this.Bb.set(g.Da(b),b);d.add(a)}},a)}};
kja=function(a,b){a.Ai=g.Ia(b);(0,g.zj)(b,function(a){if(-1==a)return this.Ai=a,!0;this.Ai=this.Ai<a?a:this.Ai;return!1},a)};
JC=function(a,b){a.fl=!1;a.pj(b);0==b.Bc?a.eg():(-1==b.Bc?(HC(a)||!P.g()&&a.Fn)&&IC(a):Qz(a.Tb),a.Ud=null)};
lja=function(a){if(null!=a.Tb){KC(a);var b=a.Va();Mm(b,a.Tb,["requestAds","playAds","contentTrackingError","discardAdBreak"],a.handleEvent,a);Mm(b,a.Tb,"adBreakReady",a.KP,a);Mm(b,a.Tb,"adNotify",a.im,a);Mm(b,a.Tb,"discardAdNotify",a.km,a);Mm(b,a.fb,"contentComplete",a.LQ,a);a.fb.g=!1}};
KC=function(a){null!=a.dc&&(a.dc.dispose(),a.dc=null);a.Fn=!1;null!=a.Tb&&a.Tb.Wc()};
LC=function(a){if(null==a.Ud){var b=g.pC(a.il);if(null!=b){a.Ud=b;var c=a.Bb.get(a.Ud.g);if(null!=c)if(b=b.type,"requestAds"!=b&&"playAds"!=b)a.Ud=null,LC(a);else if(null!=a.Yd&&a.Yd.l(c))a.Ud=null,LC(a);else if("requestAds"==b)a.fl?(a.il.isEmpty()||"playAds"!=qC(a.il).type||g.pC(a.il),JC(a,c)):0==c.Bc&&a.hg()||MC(a,c);else{if("playAds"==b)if(a.fl)JC(a,c);else if(null!=a.sb&&a.sb.jb()&&a.pj(a.sb),a.sb=c,a.sb.setVolume(a.volume),kz(a.sb,a.ge,a.fe,a.Zc),a.sb.J&&a.Ud.l<a.Tu){c=a.sb;if(c.l<c.o.length){b=
c.o[c.l];tz(c);try{c.F=new g.Km(c),c.g=uz(c,b,c.F)}catch(e){c.l++,yz(c)}}c=a.Tb;b=a.Tu;var d=new Oz(a.sb);d.g=b;d.l=!0;g.ib(c.g,d,Pz);a.ha("contentResumeRequested");a.Ud=null;LC(a)}else a.sb.start()}else a.Ud=null,LC(a)}}};
MC=function(a,b){var c=a.Va();Mm(c,b,Ry,a.dispatchEvent,a);Mm(c,b,"adError",a.Jy,a);Mm(c,b,"allAdsCompleted",a.TB,a);Mm(c,b,"contentPauseRequested",a.Dh,a);Mm(c,b,"contentResumeRequested",a.eg,a);Mm(c,b,"userClose",a.Mi,a);Mm(c,b,"why_this_ad_url",a.Mu,a);Mm(c,b,"why_this_ad_got_it",a.Lu,a);Mm(c,b,"autoClose",a.Li,a);Mm(c,b,"adBreakInitialized",a.UB,a);b.init(a.ge,a.fe,a.Zc)};
IC=function(a){if(!a.Pq){a.Pq=!0;a.fb.g=!0;try{so(po.getInstance(),44,{cmpl:!0})}catch(b){}a.ha("allAdsCompleted");-1==a.Ai&&NC(a)}};
NC=function(a){pn(mn(),420706009)||qo.clear();null!=a.Td&&(a=a.Td.ji(),null!=a&&XA(a,qo.g))};
HC=function(a){return 0==a.Bb.ub().length};
OC=function(a){return null!=a.sb?a.sb:null!=a.Ud?a.Bb.get(a.Ud.g):null};
mja=function(){this.Sx=new bia;this.Ya=null};
Az=function(a,b){if(g.Pa(b))throw Error("Ads manager creation failure, no ads.");if(nja(a,b)){var c=oja(a,b);if(!g.Pa(c))return new Yy(c)}c=Wy(b);P.g()||(c=c&&null!=Qs(b[0])?new Vy(a,c,b[0]):c);if(c)return c;throw Error("Ads manager creation failure, failed to determine ad type.");};
oja=function(a,b){var c=[];(0,g.C)(b,function(a){var b=Wy([a]);b&&a.Vb()&&g.Ra(c,b)},a);
return c};
Wy=function(a){var b=a[0];switch(PC(b)){case "overlay":return Xs(b)?new AC(a):new fz(a);case "video":return new Tx(a);case "vpaid":return new Gy(a);case "flash_vpaid":return 2==P.D?new Iw(a):new Ow(a)}return null};
nja=function(a,b){if(1==b.length)return!1;var c=PC(b[0]);return(0,g.zj)(b,function(a){a=PC(a);return c!=a||"vpaid"==a||"flash_vpaid"==a?!0:!1},a)};
PC=function(a){var b=rs(a)&&P.g();b=0!=P.D||b;return null!=ft(a)&&b?"vpaid":Jo&&null!=gt(a)&&0!=P.D?"flash_vpaid":Xs(a)&&null==ft(a)&&at(a,"nonlinear")?"overlay":at(a,"linear")?"video":at(a,"nonlinear")&&null==ft(a)?"overlay":null};
QC=function(a){g.Cf.call(this);this.l=a;a=new gB(new QA);this.g=new tC(new mja,a,qo);this.g.U("adsManagerLoaded",this.dispatchEvent,!1,this);this.g.U("adError",this.dispatchEvent,!1,this);this.g.U("adLoadError",this.dispatchEvent,!1,this)};
RC=function(a,b,c){bea();var d="",e=Di(),f=e.l;e=e.g;f&&f.url?d=f.url:e&&e.url&&(d=e.url);b.location=d;b.referrer=window.document.referrer;b.Ze=Vm(b.g,a.l.F);b.qv=a.l.J;fja(a.g,b,c)};
SC=function(a,b,c,d,e,f,k,l){this.g=a;this.D=b;this.o=c;this.B=d;this.A=e;this.C=f;this.l=k;this.F=l};
TC=function(a,b){if(0==b)return a.g;if(1==b)return a.l;var c=cd(a.g,a.o,b),d=cd(a.o,a.A,b),e=cd(a.A,a.l,b);c=cd(c,d,b);d=cd(d,e,b);return cd(c,d,b)};
pja=function(a,b){var c=(b-a.g)/(a.l-a.g);if(0>=c)return 0;if(1<=c)return 1;for(var d=0,e=1,f=0,k=0;8>k;k++){f=TC(a,c);var l=(TC(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=TC(a,c);return c};
UC=function(){this.g=this.o=this.A=5E3};
g.VC=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.$g(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.WC=function(a){g.M.call(this);this.tc=1;this.o=[];this.A=0;this.g=[];this.l={};this.B=!!a};
qja=function(a,b,c){g.Qf(function(){a.apply(b,c)})};
g.XC=function(a){this.g=a};
YC=function(a){this.g=a};
ZC=function(a){this.data=a};
$C=function(a){return!g.u(a)||a instanceof ZC?a:new ZC(a)};
aD=function(a){this.g=a};
g.bD=function(a){var b=a.creation;a=a.expiration;return!!a&&a<(0,g.G)()||!!b&&b>(0,g.G)()};
g.cD=function(a){this.g=a};
rja=function(){};
dD=function(){};
eD=function(a){this.g=a};
fD=function(){var a=null;try{a=window.localStorage||null}catch(b){}this.g=a};
gD=function(){var a=null;try{a=window.sessionStorage||null}catch(b){}this.g=a};
iD=function(a,b){this.l=a;this.g=null;if(g.wd&&!g.pc(9)){hD||(hD=new g.om);this.g=hD.get(a);this.g||(b?this.g=window.document.getElementById(b):(this.g=window.document.createElement("userdata"),this.g.addBehavior("#default#userData"),window.document.body.appendChild(this.g)),hD.set(a,this.g));try{this.g.load(this.l)}catch(c){this.g=null}}};
jD=function(a){return"_"+(0,window.encodeURIComponent)(a).replace(/[.!~*'()%]/g,function(a){return sja[a]})};
kD=function(a){try{a.g.save(a.l)}catch(b){throw"Storage mechanism: Quota exceeded";}};
lD=function(a){return a.g.XMLDocument.documentElement};
mD=function(a,b){this.l=a;this.g=b+"::"};
g.nD=function(a){var b=new fD;return b.isAvailable()?a?new mD(b,a):b:null};
oD=function(a,b){this.tc=a;this.g=b};
pD=function(a){this.g=[];if(a)a:{if(a instanceof pD){var b=a.Cb();a=a.ub();if(0>=this.Dc()){for(var c=this.g,d=0;d<b.length;d++)c.push(new oD(b[d],a[d]));break a}}else b=g.Pb(a),a=g.Ob(a);for(d=0;d<b.length;d++)qD(this,b[d],a[d])}};
qD=function(a,b,c){var d=a.g;d.push(new oD(b,c));b=d.length-1;a=a.g;for(c=a[b];0<b;)if(d=b-1>>1,a[d].tc>c.tc)a[b]=a[d],b=d;else break;a[b]=c};
rD=function(){pD.call(this)};
tja=function(a,b,c){var d="script";d=void 0===d?"":d;var e=a.createElement("link");try{e.rel="preload",e.href=tb("preload","stylesheet")?Bc(b):b instanceof Ac?Bc(b):b instanceof Ec?g.Fc(b):Jc(b).Le()}catch(f){return}d&&(e.as=d);c&&(e.nonce=c);if(a=a.getElementsByTagName("head")[0])try{a.appendChild(e)}catch(f){}};
sD=function(a){return uja.test(a)&&!vja.test(a)};
wja=function(a){a="https://"+("adservice"+a+"/adsid/integrator.js");var b=["domain="+(0,window.encodeURIComponent)(g.x.location.hostname)];tD[3]>=(0,g.G)()&&b.push("adsid="+(0,window.encodeURIComponent)(tD[1]));return a+"?"+b.join("&")};
wD=function(){uD=g.x;tD=uD.googleToken=uD.googleToken||{};var a=(0,g.G)();tD[1]&&tD[3]>a&&0<tD[2]||(tD[1]="",tD[2]=-1,tD[3]=-1,tD[4]="",tD[6]="");vD=uD.googleIMState=uD.googleIMState||{};sD(vD[1])||(vD[1]=".google.com");g.ya(vD[5])||(vD[5]=[]);g.ta(vD[6])||(vD[6]=!1);g.ya(vD[7])||(vD[7]=[]);g.ua(vD[8])||(vD[8]=0)};
xD=function(){wD();return tD[1]};
xja=function(a){wD();var b=uD.googleToken[5]||0;a&&(0!=b||tD[3]>=(0,g.G)()?yD.Bx(a):(yD.Oy().push(a),yD.Xu()));tD[3]>=(0,g.G)()&&tD[2]>=(0,g.G)()||yD.Xu()};
zD=function(a){g.x.processGoogleToken=g.x.processGoogleToken||function(a,c){var b=a,e=c;b=void 0===b?{}:b;e=void 0===e?0:e;var f=b.newToken||"",k="NT"==f,l=(0,window.parseInt)(b.freshLifetimeSecs||"",10),m=(0,window.parseInt)(b.validLifetimeSecs||"",10),n=b["1p_jar"]||"";b=b.pucrd||"";wD();1==e?yD.OU():yD.NU();if(!f&&yD.shouldRetry())sD(".google.com")&&(vD[1]=".google.com"),yD.Xu();else{var q=uD.googleToken=uD.googleToken||{},r=0==e&&f&&g.w(f)&&!k&&g.ua(l)&&0<l&&g.ua(m)&&0<m&&g.w(n);k=k&&!yD.Pr()&&
(!(tD[3]>=(0,g.G)())||"NT"==tD[1]);var v=!(tD[3]>=(0,g.G)())&&0!=e;if(r||k||v)k=(0,g.G)(),l=k+1E3*l,m=k+1E3*m,1E-5>Math.random()&&bi(g.x,"https://pagead2.googlesyndication.com/pagead/gen_204?id=imerr&err="+e),q[5]=e,q[1]=f,q[2]=l,q[3]=m,q[4]=n,q[6]=b,wD();if(r||!yD.Pr()){e=yD.Oy();for(f=0;f<e.length;f++)yD.Bx(e[f]);e.length=0}}};
xja(a)};
AD=function(a,b){this.B=[];this.K=a;this.J=b||null;this.A=this.g=!1;this.o=void 0;this.H=this.M=this.D=!1;this.C=0;this.l=null;this.F=0};
CD=function(a,b,c){a.g=!0;a.o=c;a.A=!b;BD(a)};
ED=function(a){if(a.g){if(!a.H)throw new DD(a);a.H=!1}};
GD=function(a,b,c){FD(a,b,null,c)};
FD=function(a,b,c,d){a.B.push([b,c,d]);a.g&&BD(a)};
HD=function(a){return(0,g.zj)(a.B,function(a){return g.Aa(a[1])})};
BD=function(a){if(a.C&&a.g&&HD(a)){var b=a.C,c=ID[b];c&&(g.x.clearTimeout(c.Ea),delete ID[b]);a.C=0}a.l&&(a.l.F--,delete a.l);b=a.o;for(var d=c=!1;a.B.length&&!a.D;){var e=a.B.shift(),f=e[0],k=e[1];e=e[2];if(f=a.A?k:f)try{var l=f.call(e||a.J,b);g.u(l)&&(a.A=a.A&&(l==b||a.isError(l)),a.o=b=l);if(Uf(b)||"function"===typeof g.x.Promise&&b instanceof g.x.Promise)d=!0,a.D=!0}catch(m){b=m,a.A=!0,HD(a)||(c=!0)}}a.o=b;d&&(l=(0,g.A)(a.I,a,!0),d=(0,g.A)(a.I,a,!1),b instanceof AD?(FD(b,l,d),b.M=!0):b.then(l,
d));c&&(b=new JD(b),ID[b.Ea]=b,a.C=b.Ea)};
DD=function(){Ha.call(this)};
KD=function(){Ha.call(this)};
JD=function(a){this.Ea=g.x.setTimeout((0,g.A)(this.l,this),0);this.g=a};
LD=function(a){Ce(this,a,yja,null)};
MD=function(a){Ce(this,a,null,null)};
zja=function(a,b){for(;re(b)&&4!=b.l;)switch(b.o){case 1:var c=ve(b);Be(a,1,c);break;case 2:c=ve(b);Be(a,2,c);break;case 3:c=ve(b);Be(a,3,c);break;case 4:c=ve(b);Be(a,4,c);break;default:se(b)}return a};
ND=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.PD=function(a){ND(g.OD,arguments)};
g.QD=function(a,b){return a in g.OD?g.OD[a]:b};
Aja=function(){};
SD=function(a){return a&&window.yterr?function(){try{return a.apply(this,arguments)}catch(b){g.RD(b)}}:a};
g.RD=function(a,b,c,d,e){var f=g.y("yt.logging.errors.log");f?f(a,b,c,d,e):(f=g.QD("ERRORS",[]),f.push([a,b,c,d,e]),g.PD("ERRORS",f))};
TD=function(a){g.RD(a,"WARNING",void 0,void 0,void 0)};
Bja=function(){if(!UD)return null;var a=UD();return"open"in a?a:null};
g.VD=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.WD=function(a,b){g.Aa(a)&&(a=SD(a));return window.setTimeout(a,b)};
g.XD=function(a,b){g.Aa(a)&&(a=SD(a));return window.setInterval(a,b)};
g.YD=function(a){window.clearTimeout(a)};
g.ZD=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=ob(e[0]||"");e=ob(e[1]||"");f in b?g.ya(b[f])?Xa(b[f],e):b[f]=[b[f],e]:b[f]=e}}return b};
$D=function(a){var b=[];g.Ib(a,function(a,d){var c=g.nb(d),f;g.ya(a)?f=a:f=[a];(0,g.C)(f,function(a){""==a?b.push(c):b.push(c+"="+g.nb(a))})});
return b.join("&")};
g.aE=function(a){"?"==a.charAt(0)&&(a=a.substr(1));return g.ZD(a)};
bE=function(a){a=a.split(",");return a=a.map(function(a){return g.aE(a)})};
g.cE=function(a){return-1!=a.indexOf("?")?(a=(a||"").split("#")[0],a=a.split("?",2),g.aE(1<a.length?a[1]:a[0])):{}};
g.eE=function(a,b){return dE(a,b||{},!0)};
g.fE=function(a,b){return dE(a,b||{},!1)};
dE=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.aE(e[1]||"");for(var f in b)if(c||!Rb(e,f))e[f]=b[f];return g.Pg(a,e)+d};
gE=function(a){if(!b)var b=window.location.href;var c=g.Dg(a)[1]||null,d=g.Fg(a);c&&d?(a=g.Dg(a),b=g.Dg(b),a=a[3]==b[3]&&a[1]==b[1]&&a[4]==b[4]):a=d?g.Fg(b)==d&&g.Gg(b)==g.Gg(a):!0;return a};
hE=function(){if(!a)var a=window.document.location.href;a=g.Dg(a)[1]||null;return null!==a&&"https"==a};
Cja=function(a,b){b=void 0===b?{}:b;var c=gE(a),d;for(d in iE){var e=g.QD(iE[d]);e&&(c||jE(a,d))&&(b[d]=e)}if(c||jE(a,"X-YouTube-Utc-Offset"))b["X-YouTube-Utc-Offset"]=-(new Date).getTimezoneOffset();return b};
jE=function(a,b){var c=g.QD("CORS_HEADER_WHITELIST")||{},d=g.Fg(a);return d?(c=c[d])?g.Oa(c,b):!1:!0};
Dja=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=kE(a,b);var d=lE(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.YD(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.xd&&b.xd.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.rC&&0<b.timeout&&(f=g.WD(function(){e||(e=!0,g.YD(f),b.rC.call(b.context||g.x))},b.timeout))}else g.mE(a,b)};
g.mE=function(a,b){var c=b.format||"JSON";a=kE(a,b);var d=lE(a,b),e=!1,f,k=nE(a,function(a){if(!e){e=!0;f&&g.YD(f);var d=g.VD(a),k=null;if(d||400<=a.status&&500>a.status)k=Eja(c,a,b.r4);if(d)a:if(a&&204==a.status)d=!0;else{switch(c){case "XML":d=0==(0,window.parseInt)(k&&k.return_code,10);break a;case "RAW":d=!0;break a}d=!!k}k=k||{};var l=b.context||g.x;d?b.onSuccess&&b.onSuccess.call(l,a,k):b.onError&&b.onError.call(l,a,k);b.xd&&b.xd.call(l,a,k)}},b.method,d,b.headers,b.responseType,b.withCredentials);
b.yd&&0<b.timeout&&(f=g.WD(function(){e||(e=!0,k.abort(),g.YD(f),b.yd.call(b.context||g.x,k))},b.timeout));
return k};
kE=function(a,b){b.v4&&(a=window.document.location.protocol+"//"+window.document.location.hostname+(window.document.location.port?":"+window.document.location.port:"")+a);var c=g.QD("XSRF_FIELD_NAME",void 0),d=b.Yc;d&&(d[c]&&delete d[c],a=g.eE(a,d));return a};
lE=function(a,b){var c=g.QD("XSRF_FIELD_NAME",void 0),d=g.QD("XSRF_TOKEN",void 0),e=b.postBody||"",f=b.Nb,k=g.QD("XSRF_FIELD_NAME",void 0),l;b.headers&&(l=b.headers["Content-Type"]);b.t4||g.Fg(a)&&!b.withCredentials&&g.Fg(a)!=window.document.location.hostname||"POST"!=b.method||l&&"application/x-www-form-urlencoded"!=l||b.Nb&&b.Nb[k]||(f||(f={}),f[c]=d);f&&g.w(e)&&(e=g.aE(e),g.cc(e,f),e=b.dD&&"JSON"==b.dD?JSON.stringify(e):g.Ng(e));f=e||f&&!g.Vb(f);!oE&&f&&"POST"!=b.method&&(oE=!0,g.RD(Error("AJAX request with postData should use POST")));
return e};
Eja=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)?Fja(b):null)d={},(0,g.C)(b.getElementsByTagName("*"),function(a){d[a.tagName]=Gja(a)})}c&&pE(d);
return d};
pE=function(a){if(g.Ba(a))for(var b in a)"html_content"==b||lb(b,"_html")?a[b]=g.$c(g.vc("HTML that is escaped and sanitized server-side and passed through yt.net.ajax"),a[b]):pE(a[b])};
Fja=function(a){return a?(a=("responseXML"in a?a.responseXML:a).getElementsByTagName("root"))&&0<a.length?a[0]:null:null};
Gja=function(a){var b="";(0,g.C)(a.childNodes,function(a){b+=a.nodeValue});
return b};
g.qE=function(a,b){b.method="POST";b.Nb||(b.Nb={});g.mE(a,b)};
nE=function(a,b,c,d,e,f,k){function l(){4==(m&&"readyState"in m?m.readyState:0)&&b&&SD(b)(m)}
c=void 0===c?"GET":c;d=void 0===d?"":d;var m=Bja();if(!m)return null;"onloadend"in m?m.addEventListener("loadend",l,!1):m.onreadystatechange=l;m.open(c,a,!0);f&&(m.responseType=f);k&&(m.withCredentials=!0);c="POST"==c&&(void 0===window.FormData||!(d instanceof window.FormData));if(e=Cja(a,e))for(var n in e)m.setRequestHeader(n,e[n]),"content-type"==n.toLowerCase()&&(c=!1);c&&m.setRequestHeader("Content-Type","application/x-www-form-urlencoded");m.send(d);return m};
g.rE=function(){var a=/Chrome\/(\d+)/.exec(g.Gb);return a?(0,window.parseFloat)(a[1]):window.NaN};
uE=function(){return sE("android")&&sE("chrome")&&!tE()};
g.vE=function(){return sE("cobalt")};
wE=function(){return sE("cobalt")&&sE("; youtubevr")};
xE=function(){return sE("cobalt")&&sE("appletv")};
yE=function(){return sE("(ps3; leanback shell)")||sE("ps3")&&g.vE()};
zE=function(){return sE("(ps4; leanback shell)")||sE("ps4")&&g.vE()};
AE=function(){var a=/WebKit\/([0-9]+)/.exec(g.Gb);return!!(a&&600<=(0,window.parseInt)(a[1],10))};
BE=function(){return sE("nintendo wiiu")};
CE=function(){return sE("iemobile")||sE("windows phone")&&sE("edge")};
tE=function(){return sE("trident/")||sE("edge/")};
DE=function(){return sE("smart-tv")&&sE("samsung")};
sE=function(a){var b=g.Gb;return b?0<=b.toLowerCase().indexOf(a):!1};
g.EE=function(a,b,c,d,e){e=void 0===e?"":e;a&&(c&&!g.vE()?a&&(a=g.Fc(g.Ic(a)),"about:invalid#zClosurez"===a?a="":(a=g.Rc(Tc(a)),a=g.nb(g.xg(a))),g.D(a)||(a=g.K("IFRAME",{src:'javascript:"<body><img src=\\""+'+a+'+"\\"></body>"',style:"display:none"}),g.kd(a).body.appendChild(a))):e?nE(a,b,"POST",e,d):g.QD("USE_NET_AJAX_FOR_PING_TRANSPORT",!1)||d?nE(a,b,"GET","",d):Hja(a,b))};
FE=function(a){if(a)for(var b=0;b<a.length;b++)g.EE(a[b],void 0,void 0)};
GE=function(a,b,c){c=void 0===c?"":c;try{window.navigator&&window.navigator.sendBeacon&&window.navigator.sendBeacon(a,c)?b&&b():g.EE(a,b,void 0,void 0,c)}catch(d){g.EE(a,b,void 0,void 0,c)}};
Hja=function(a,b){var c=new window.Image,d=""+Ija++;HE[d]=c;c.onload=c.onerror=function(){b&&HE[d]&&b();delete HE[d]};
c.src=a};
JE=function(a,b){var c=g.$b(b),d;return g.ig(new g.Wf(function(b,f){c.onSuccess=function(a){g.VD(a)?b(a):f(new IE("Request failed, status="+a.status,"net.badstatus",a))};
c.onError=function(a){f(new IE("Unknown request error","net.unknown",a))};
c.yd=function(a){f(new IE("Request timed out","net.timeout",a))};
d=g.mE(a,c)}),function(a){a instanceof ng&&d.abort();
return ag(a)})};
g.KE=function(a,b,c,d){function e(d,l,m){return g.ig(d,function(d){return 0>=l||403===d.g.status?ag(new IE("Request retried too many times","net.retryexhausted",d.g)):f(m).then(function(){return e(JE(a,b),l-1,Math.pow(2,c-l+1)*m)})})}
function f(a){return new g.Wf(function(b){(0,window.setTimeout)(b,a)})}
return e(JE(a,b),c-1,d)};
IE=function(a,b,c){Ha.call(this,a+", errorCode="+b);this.errorCode=b;this.g=c;this.name="PromiseAjaxError"};
LE=function(a){this.o=void 0===a?null:a;this.l=0;this.g=null};
ME=function(a){var b=new LE;a=void 0===a?null:a;b.l=2;b.g=void 0===a?null:a;return b};
NE=function(a){var b=new LE;a=void 0===a?null:a;b.l=1;b.g=void 0===a?null:a;return b};
PE=function(a){Ha.call(this,a.message||a.description||a.name);this.isMissing=a instanceof OE;this.isTimeout=a instanceof IE&&"net.timeout"==a.errorCode;this.isCanceled=a instanceof ng};
OE=function(){Ha.call(this,"Biscotti ID is missing from server")};
Jja=function(){if("1"===g.Qb(g.QD("PLAYER_CONFIG",{}),"args","privembed"))return ag(Error("Biscotti ID is not available in private embed mode"));QE||(QE=g.ig(JE("//googleads.g.doubleclick.net/pagead/id",RE).then(SE),function(a){return TE(2,a)}));
return QE};
SE=function(a){a=a.responseText;if(!g.kb(a,")]}'"))throw new OE;a=JSON.parse(a.substr(4));if(1<(a.type||1))throw new OE;a=a.id;UE(a);QE=NE(a);VE(18E5,2);return a};
TE=function(a,b){var c=new PE(b);UE("");QE=ME(c);0<a&&VE(12E4,a-1);throw c;};
VE=function(a,b){g.WD(function(){g.ig(JE("//googleads.g.doubleclick.net/pagead/id",RE).then(SE,function(a){return TE(b,a)}),g.z)},a)};
UE=function(a){g.va("yt.ads.biscotti.lastId_",a,void 0)};
WE=function(){try{var a=g.y("yt.ads.biscotti.getId_");return a?a():Jja()}catch(b){return ag(b)}};
XE=function(a){Ha.apply(this,arguments)};
Kja=function(){var a=new XE("ID is missing"),b=new XE("Timeout"),c=null,d=!1;zD(function(){c=xD();d=!0});
if(d)return c?NE(c):ME(a);var e=new g.Wf(function(b,c){zD(function(){var d=xD();d?b(d):c(a)})}),f=tg(5E3).then(function(){return ag(b)});
return gg(dg([e,f]),function(){return f.cancel()})};
YE=function(){g.y("yt.ads.yuzu.getId_")||g.va("yt.ads.yuzu.getId_",Kja,void 0);try{return g.y("yt.ads.yuzu.getId_")()}catch(a){return ag(a)}};
g.$E=function(a,b,c){a&&(a.dataset?a.dataset[g.ZE(b)]=String(c):a.setAttribute("data-"+b,c))};
g.aF=function(a,b){return a?a.dataset?a.dataset[g.ZE(b)]:a.getAttribute("data-"+b):null};
g.ZE=function(a){return bF[a]||(bF[a]=String(a).replace(/\-([a-z])/g,function(a,c){return c.toUpperCase()}))};
dF=function(a,b){if(a in b)return b[a];var c=cF+a.charAt(0).toUpperCase()+a.substr(1);if(c in b)return b[c]};
eF=function(a,b){var c;(0,g.zj)(a,function(a){c=b[a];return!!c});
return c};
hF=function(a){var b;fF()?g.gF()==a&&(b=window.document):b=a;b&&(a=eF(["exitFullscreen","webkitExitFullscreen","mozCancelFullScreen","msExitFullscreen"],b))&&a.call(b)};
iF=function(a){return g.Ka(["fullscreenchange","webkitfullscreenchange","mozfullscreenchange","MSFullscreenChange"],function(b){return"on"+b.toLowerCase()in a})};
Lja=function(){var a=window.document;return g.Ka(["fullscreenerror","webkitfullscreenerror","mozfullscreenerror","MSFullscreenError"],function(b){return"on"+b.toLowerCase()in a})};
fF=function(){return!!eF(["fullscreenEnabled","webkitFullscreenEnabled","mozFullScreenEnabled","msFullscreenEnabled"],window.document)};
g.gF=function(){var a=eF(["fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement"],window.document);return a?a:null};
jF=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 Mja||(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.g=a.pageX;this.l=a.pageY}};
kF=function(a){if(window.document.body&&window.document.documentElement){var b=window.document.body.scrollTop+window.document.documentElement.scrollTop;a.g=a.clientX+(window.document.body.scrollLeft+window.document.documentElement.scrollLeft);a.l=a.clientY+b}};
lF=function(a){g.u(a.g)||kF(a);return a.g};
mF=function(a){g.u(a.l)||kF(a);return a.l};
Nja=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 Tb(nF,function(e){var f=g.ta(e[4])&&e[4]==!!d,k=g.Ba(e[4])&&g.Ba(d)&&g.Zb(e[4],d);return!!e.length&&e[0]==a&&e[1]==b&&e[2]==c&&(f||k)})};
g.qF=function(a,b,c,d){d=void 0===d?{}:d;if(!a||!a.addEventListener&&!a.attachEvent)return"";var e=Nja(a,b,c,d);if(e)return e;e=++oF.count+"";var f=!("mouseenter"!=b&&"mouseleave"!=b||!a.addEventListener||"onmouseenter"in window.document);var k=f?function(d){d=new jF(d);if(!g.Wd(d.relatedTarget,function(b){return b==a},!0))return d.currentTarget=a,d.type=b,c.call(a,d)}:function(b){b=new jF(b);
b.currentTarget=a;return c.call(a,b)};
k=SD(k);a.addEventListener?("mouseenter"==b&&f?b="mouseover":"mouseleave"==b&&f?b="mouseout":"mousewheel"==b&&"MozBoxSizing"in window.document.documentElement.style&&(b="MozMousePixelScroll"),pF()||g.ta(d)?a.addEventListener(b,k,d):a.addEventListener(b,k,!!d.capture)):a.attachEvent("on"+b,k);nF[e]=[a,b,c,k,d];return e};
Oja=function(a,b,c,d){var e=a||window.document;return g.qF(e,b,function(a){var b=g.Wd(a.target,function(a){return a===e||d(a)},!0);
b&&b!==e&&!b.disabled&&(a.currentTarget=b,c.call(b,a))})};
g.rF=function(a){a&&("string"==typeof a&&(a=[a]),(0,g.C)(a,function(a){if(a in nF){var b=nF[a],d=b[0],e=b[1],f=b[3];b=b[4];d.removeEventListener?pF()||g.ta(b)?d.removeEventListener(e,f,b):d.removeEventListener(e,f,!!b.capture):d.detachEvent&&d.detachEvent("on"+e,f);delete nF[a]}}))};
g.sF=function(a){a=a||window.event;a=a.target||a.srcElement;3==a.nodeType&&(a=a.parentNode);return a};
tF=function(a){a=a||window.event;return a.path&&a.path.length?a.path[0]:g.sF(a)};
uF=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};
vF=function(a){a=a||window.event;var b=a.pageX,c=a.pageY;window.document.body&&window.document.documentElement&&(g.ua(b)||(b=a.clientX+window.document.body.scrollLeft+window.document.documentElement.scrollLeft),g.ua(c)||(c=a.clientY+window.document.body.scrollTop+window.document.documentElement.scrollTop));return new g.ed(b,c)};
g.wF=function(a){a=a||window.event;a.returnValue=!1;a.preventDefault&&a.preventDefault()};
g.xF=function(a){a=a||window.event;return!1===a.returnValue||a.Uz&&a.Uz()};
g.yF=function(a){a=a||window.event;return a.keyCode?a.keyCode:a.which};
g.zF=function(a,b,c,d){return Oja(a,b,c,function(a){return g.jq(a,d)})};
AF=function(a,b,c){var d=void 0===d?{}:d;var e;return e=g.qF(a,b,function(){g.rF(e);c.apply(a,arguments)},d)};
g.BF=function(a){g.M.call(this);this.l=a||window;this.g=[]};
g.CF=function(a){g.rF(a.g);a.g.length=0};
DF=function(a){this.F=a;this.g=null;this.A=0;this.B=null;this.o=0;this.l=[];for(a=0;4>a;a++)this.l.push(0);this.Eb=0;this.D=g.qF(window,"mousemove",(0,g.A)(this.I,this));this.H=g.XD((0,g.A)(this.C,this),25)};
g.EF=function(a){g.M.call(this);this.J=[];this.Xb=a||this};
FF=function(a,b,c,d){for(var e=0;e<c.length;e++)a.O(b,c[e],d)};
g.GF=function(a){for(;a.J.length;){var b=a.J.pop();b.target.removeEventListener(b.name,b.Wk)}};
g.HF=function(){g.M.call(this);this.ea=new g.WC;g.N(this,this.ea)};
g.JF=function(a,b,c,d){g.HF.call(this);this.o=!!b;this.C=a;this.H=c||a;this.F=!!d;this.g=new g.EF(this);g.N(this,this.g);this.B=this.D=null;this.A=this.l=!1;b&&(g.yd&&a.setAttribute("draggable","true"),a.style.touchAction="none");IF(this)};
KF=function(a,b,c){a.g.O(a.H,b,c,void 0,!a.o)};
IF=function(a){a.B=null;a.D=null;KF(a,LF("over"),a.zA);KF(a,"touchstart",a.Gt);a.o&&KF(a,LF("down"),a.AP)};
MF=function(a,b){for(var c=0;c<b.changedTouches.length;c++){var d=b.changedTouches[c];if(d.identifier==a.D)return d}return null};
LF=function(a){return window.navigator.msPointerEnabled?"MSPointer"+a.charAt(0).toUpperCase()+a.substr(1):"mouse"+a};
g.NF=function(a){return g.QD("EXPERIMENT_FLAGS",{})[a]};
OF=function(a){a=a||{};this.url=a.url||"";this.args=a.args||g.$b(Pja);this.assets=a.assets||{};this.attrs=a.attrs||g.$b(Qja);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||{}};
Rja=function(a){a instanceof OF||(a=new OF(a));return a};
g.TF=function(a,b,c){var d=g.PF();if(d){var e=d.subscribe(a,function(){var d=arguments;var k=function(){g.QF[e]&&b.apply(c||window,d)};
try{RF[a]?k():g.WD(k,0)}catch(l){g.RD(l)}},c);
g.QF[e]=!0;g.SF[a]||(g.SF[a]=[]);g.SF[a].push(e);return e}return 0};
g.VF=function(a,b){var c=g.TF(a,function(a){b.apply(void 0,arguments);g.UF(c)},void 0)};
g.UF=function(a){var b=g.PF();b&&(g.ua(a)?a=[a]:g.w(a)&&(a=[(0,window.parseInt)(a,10)]),(0,g.C)(a,function(a){b.unsubscribeByKey(a);delete g.QF[a]}))};
g.WF=function(a,b){var c=g.PF();return c?c.publish.apply(c,arguments):!1};
g.XF=function(a,b){RF[a]=!0;var c=g.PF();c&&c.publish.apply(c,arguments);RF[a]=!1};
g.PF=function(){return g.y("ytPubsubPubsubInstance")};
g.cG=function(a,b){if(a.Hn){var c=a.Hn;var d={};c.videoId?d.videoId=c.videoId:c.playlistId&&(d.playlistId=c.playlistId);YF[a.Hn.token]=d;c=ZF(a.endpoint,a.Hn.token)}else c=ZF(a.endpoint);c.push(a.payload);$F[a.endpoint]=new b;c.length>=(Number(g.NF("web_logging_max_batch")||0)||20)?aG():bG()};
aG=function(){g.YD(dG);if(!g.Vb(eG)){for(var a in eG){var b=$F[a];if(b){var c=void 0,d=a,e=b,f=Sja[d],k=fG[d]||{};fG[d]=k;b=Math.round(g.gG());for(c in eG[d]){var l={context:g.hG(e.pa)};l[f]=ZF(d,c);k.dispatchedEventCount=k.dispatchedEventCount||0;k.dispatchedEventCount+=l[f].length;var m=YF[c];if(m)a:{var n=l,q=c;if(m.videoId)var r="VIDEO";else if(m.playlistId)r="PLAYLIST";else break a;n.credentialTransferTokenTargetId=m;n.context=n.context||{};n.context.user=n.context.user||{};n.context.user.credentialTransferTokens=
[{token:q,scope:r}]}delete YF[c];m=l;m.requestTimeMs=b;(r=g.QD("EVENT_ID",void 0))&&g.NF("enable_gel_web_client_event_id")&&(n=(g.QD("BATCH_CLIENT_COUNTER",void 0)||0)+1,n>Tja&&(n=1),g.PD("BATCH_CLIENT_COUNTER",n),m.serializedClientEventId={serializedEventId:r,clientCounter:n});g.iG(e,d,l,{retry:!0})}c=k;d=b;c.previousDispatchMs&&(b=d-c.previousDispatchMs,e=c.diffCount||0,c.averageTimeBetweenDispatchesMs=e?(c.averageTimeBetweenDispatchesMs*e+b)/(e+1):b,c.diffCount=e+1);c.previousDispatchMs=d;delete eG[a]}}g.Vb(eG)||
bG()}};
bG=function(){g.YD(dG);dG=g.WD(aG,g.QD("LOGGING_BATCH_TIMEOUT",1E4))};
ZF=function(a,b){b=void 0===b?"":b;eG[a]=eG[a]||{};eG[a][b]=eG[a][b]||[];return eG[a][b]};
Uja=function(){};
g.kG=function(a,b){return jG(a,1,b)};
lG=function(){};
g.mG=function(){return!!g.y("yt.scheduler.instance")};
jG=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.WD(a,c||0)};
g.nG=function(a){if(!(0,window.isNaN)(a)){var b=g.y("yt.scheduler.instance.cancelJob");b?b(a):g.YD(a)}};
oG=function(a){var b=g.y("yt.scheduler.instance.setPriorityThreshold");b&&b(a)};
rG=function(){var a={},b=void 0===a.hL?!0:a.hL;a=void 0===a.HU?!1:a.HU;if(null==g.y("_lact",window)){var c=(0,window.parseInt)(g.QD("LACT"),10);c=(0,window.isFinite)(c)?(0,g.G)()-Math.max(c,0):-1;g.va("_lact",c,window);g.va("_fact",c,window);-1==c&&pG();g.qF(window.document,"keydown",pG);g.qF(window.document,"keyup",pG);g.qF(window.document,"mousedown",pG);g.qF(window.document,"mouseup",pG);b&&(a?g.qF(window,"touchmove",function(){qG("touchmove",200)},{passive:!0}):(g.qF(window,"resize",function(){qG("resize",
200)}),g.qF(window,"scroll",function(){qG("scroll",200)})));
new DF(function(){qG("mouse",100)});
g.qF(window.document,"touchstart",pG,{passive:!0});g.qF(window.document,"touchend",pG,{passive:!0})}};
qG=function(a,b){sG[a]||(sG[a]=!0,g.kG(function(){pG();sG[a]=!1},b))};
pG=function(){null==g.y("_lact",window)&&rG();var a=(0,g.G)();g.va("_lact",a,window);-1==g.y("_fact",window)&&g.va("_fact",a,window);(a=g.y("ytglobal.ytUtilActivityCallback_"))&&a()};
g.tG=function(){var a=g.y("_lact",window),b;null==a?b=-1:b=Math.max((0,g.G)()-a,0);return b};
g.vG=function(a,b,c,d){var e=g.uG,f={};f.eventTimeMs=Math.round(c||g.gG());f[a]=b;f.context={lastActivityMs:String(c?-1:g.tG())};g.cG({endpoint:"log_event",payload:f,Hn:d},e)};
g.hG=function(a){a={client:{hl:a.Vs,gl:a.Us,clientName:a.Ts,clientVersion:a.innertubeContextClientVersion}};var b=window.devicePixelRatio;b&&1!=b&&(a.client.screenDensityFloat=String(b));g.QD("DELEGATED_SESSION_ID")&&(a.user={onBehalfOfUser:g.QD("DELEGATED_SESSION_ID")});return a};
Vja=function(a,b){var c={"X-Goog-Visitor-Id":g.QD("VISITOR_DATA","")};if(b&&b.includes("www.youtube-nocookie.com"))return c;var d;a?d="Bearer "+g.y("gapi.auth.getToken")().n4:d=g.nm();d&&(c.Authorization=d,c["X-Goog-AuthUser"]=g.QD("SESSION_INDEX",0));return c};
g.xG=function(a,b,c,d){wG.set(""+a,b,c,"/",void 0===d?"youtube.com":d,!1)};
g.yG=function(a,b,c){wG.remove(""+a,void 0===b?"/":b,void 0===c?"youtube.com":c)};
zG=function(){var a;(a=g.nD("yt.innertube"))||(a=new iD("yt.innertube"),a=a.isAvailable()?a:null);this.g=a?new aD(a):null;this.l=window.document.domain||window.location.hostname};
g.uG=function(a){this.pa=a||{innertubeApiKey:g.QD("INNERTUBE_API_KEY",void 0),innertubeApiVersion:g.QD("INNERTUBE_API_VERSION",void 0),Ts:g.QD("INNERTUBE_CONTEXT_CLIENT_NAME","WEB"),innertubeContextClientVersion:g.QD("INNERTUBE_CONTEXT_CLIENT_VERSION",void 0),Vs:g.QD("INNERTUBE_CONTEXT_HL",void 0),Us:g.QD("INNERTUBE_CONTEXT_GL",void 0),Ao:g.QD("INNERTUBE_HOST_OVERRIDE",void 0)||"",kL:!!g.QD("INNERTUBE_USE_THIRD_PARTY_AUTH",!1)}};
g.iG=function(a,b,c,d){!g.QD("VISITOR_DATA")&&.01>Math.random()&&g.RD(Error("Missing VISITOR_DATA when sending innertube request."),"WARNING");c={headers:{"Content-Type":"application/json"},method:"POST",Nb:c,dD:"JSON",yd:function(){d.yd()},
rC:d.yd,onSuccess:function(a,b){if(d.onSuccess)d.onSuccess(b)},
y4:function(a){if(d.onSuccess)d.onSuccess(a)},
onError:function(a,b){if(d.onError)d.onError(b)},
x4:function(a){if(d.onError)d.onError(a)},
timeout:d.timeout,withCredentials:!0};var e="",f=a.pa.Ao;f&&(e=f);f=Vja(a.pa.kL||!1,e);Object.assign(c.headers,f);c.headers.Authorization&&!e&&(c.headers["x-origin"]=window.location.origin);a=""+e+("/youtubei/"+a.pa.innertubeApiVersion+"/"+b)+"?alt=json&key="+a.pa.innertubeApiKey;try{g.NF("use_fetch_for_op_xhr")?Dja(a,c):g.qE(a,c)}catch(k){if("InvalidAccessError"==k)g.RD(Error("An extension is blocking network request."),"WARNING");else throw k;}};
BG=function(a,b){var c=Object.keys(a).join("");AG("info_"+c+"_"+b)||(a.clientActionNonce=b,g.vG("latencyActionInfo",a,void 0,void 0))};
AG=function(a){CG[a]=CG[a]||{count:0};var b=CG[a];b.count++;b.time=g.gG();DG||(DG=jG(Wja,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.QD("INNERTUBE_CONTEXT_CLIENT_NAME",1);d.version=g.QD("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<=EG)){c=a.stacktrace;var e=a.columnNumber;a.hasOwnProperty("params")&&
(d.params=JSON.stringify(a.params));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(!(FG[a.message]||0<=c.indexOf("/YouTubeCenter.js")||0<=c.indexOf("/mytube.js"))){m=c;l={Yc:{a:"logerror",t:"jserror",type:a.name,msg:a.message.substr(0,1E3),line:l,level:b,"client.name":d.name},Nb:{url:g.QD("PAGE_NAME",window.location.href),file:a.fileName},method:"POST"};d.version&&(l["client.version"]=d.version);m&&(l.Nb.stack=m);for(var n in d)l.Nb["client."+
n]=d[n];if(d=g.QD("LATEST_ECATCHER_SERVICE_TRACKING_PARAMS",void 0))for(var q in d)l.Nb[q]=d[q];g.mE(g.QD("ECATCHER_REPORT_HOST","")+"/error_204",l);FG[a.message]=!0;EG++}}}return!0}return!1};
Wja=function(){var a=g.gG(),b;for(b in CG)6E4<a-CG[b].time&&delete CG[b];DG=0};
HG=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.G)();for(var d=0;d<c%23;d++)a[b]=Math.random();a[b]=Math.floor(256*Math.random())}if(GG)for(b=1,c=0;c<GG.length;c++)a[b%16]=a[b%16]^a[(b-1)%16]/4^GG.charCodeAt(c),b++;return a};
IG=function(){for(var a=HG(),b=[],c=0;c<a.length;c++)b.push("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_".charAt(a[c]&63));return b.join("")};
g.JG=function(){return(0,g.I)(HG(),function(a){return(a&15).toString(16)}).join("")};
g.KG=function(){var a,b=a=void 0===a?0:a;b=void 0===b?0:b;(b=g.QD(0==b?"client-screen-nonce":"client-screen-nonce."+b))||0!=a||(b=g.QD("EVENT_ID"));return b?b:null};
g.NG=function(a,b,c){var d=c&&0<c?c:0;c=d?(0,g.G)()+1E3*d:0;if((d=d?(0,g.LG)():MG())&&window.JSON){g.w(b)||(b=JSON.stringify(b,void 0));try{d.set(a,b,c)}catch(e){d.remove(a)}}};
g.OG=function(a){var b=MG(),c=(0,g.LG)();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.PG=function(a){try{var b=MG(),c=(0,g.LG)();b&&b.remove(a);c&&c.remove(a)}catch(d){}};
g.QG=function(){return g.OG("yt-remote-session-screen-id")};
g.SG=function(a){ND(RG,arguments)};
g.V=function(a,b,c){b=void 0===b?{}:b;a=(a=a in RG?RG[a]:c)||"";c={};for(var d in b)c.up=d,a=a.replace(new RegExp("\\$"+c.up,"gi"),function(a){return function(){return b[a.up]}}(c)),c={up:c.up};
return a};
Xja=function(){var a=g.OG("yt-player-volume")||{},b=a.volume;return{volume:(0,window.isNaN)(b)?100:g.ad(Math.floor(b),0,100),muted:!!a.muted}};
TG=function(a){g.NG("yt-player-bandwidth",a,2592E3)};
UG=function(){return g.OG("yt-player-quality")||"auto"};
VG=function(a){g.NG("yt-player-watch-later-pending",a)};
WG=function(){return g.OG("yt-player-headers-readable")||!1};
YG=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 XG(a)};
XG=function(a,b,c){if(g.Ba(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}};
ZG=function(a,b,c,d){!a&&(void 0===c?0:c)&&TD(Error("Player URL validator detects invalid url. "+(void 0===d?"":d)+": "+b));return a};
$G=function(a){return(a=Yja.exec(a))?a[0]:""};
aH=function(a){var b=void 0===b?!1:b;return ZG(Zja.test(a),a,b,"Nielsen OCR URL")};
bH=function(a){var b=void 0===b?!1:b;return ZG($ja.test(a),a,b,"Active View 3rd Party Integration URL")};
cH=function(a){var b=void 0===b?!1:b;return ZG(aka.test(a),a,b,"Google/YouTube Brand Lift URL")};
dH=function(a){var b=void 0===b?!1:b;return ZG(bka.test(a),a,b,"Trusted Stream URL")};
g.eH=function(a){var b=void 0===b?!1:b;return ZG(cka.test(a),a,b,"Trusted Image URL")};
g.fH=function(a){var b=void 0===b?!1:b;return ZG(dka.test(a),a,b,"Trusted Promoted Video Domain URL")};
gH=function(a,b){b=void 0===b?!1:b;return ZG(eka.test(a),a,b,"Captions URL")};
hH=function(a){a=new g.um(a);g.vm(a,window.document.location.protocol);g.wm(a,window.document.location.hostname);window.document.location.port&&g.xm(a,window.document.location.port);return a.toString()};
iH=function(a){a=new g.um(a);g.vm(a,window.document.location.protocol);return a.toString()};
jH=function(){return"ytp-id-"+fka++};
g.lH=function(a){g.M.call(this);this.g={};this.Pa={};this.element=kH(this,a)};
kH=function(a,b,c){c=c||"svg"==b.G;if(c){var d=window.document.createElementNS("http://www.w3.org/2000/svg",b.G);g.mH&&(b.P||(b.P={}),b.P.focusable="false")}else d=g.Cd(b.G);var e;if(e=b.L){if(e=nH(a,d,"class",e))oH(a,d,"class",e),a.g[e]=d}else if(e=b.da){for(var f=0;f<e.length;f++)a.g[e[f]]=d;oH(a,d,"class",e.join(" "))}if(e=b.aa)c=nH(a,d,"child",e),null!=c&&d.appendChild(g.Dd(c));else if(e=b.N)for(var k=f=0;k<e.length;k++){var l=e[k];if(l)if(g.w(l))l=nH(a,d,"child",l),null!=l&&d.appendChild(g.Dd(l));
else if(l.element)d.appendChild(l.element);else{var m=l;l=kH(a,m,c);d.appendChild(l);m.Ua&&(m=jH(),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),Hd(d,l,f++))}}if(b=b.P){c=d;for(var n in b)e=b[n],null!=e&&oH(a,c,n,g.w(e)?nH(a,c,n,e):e)}return d};
g.pH=function(a){g.Id(a.element)};
nH=function(a,b,c,d){return"{{"==d.substr(0,2)?(a.Pa[d]=[b,c],null):d};
oH=function(a,b,c,d){if("child"==c){g.Gd(b);if(!g.ya(d)||g.Ba(d)&&g.w(d.G))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.Ba(f)&&g.w(f.G))c.push(kH(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.Cd("BR")),c.push(g.Dd(f[k]));else c.push(g.Dd(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.W=function(a){g.lH.call(this,a);this.Ed="";this.l=!0;this.Y=[]};
g.qH=function(a,b){b?a.show():a.hide()};
g.rH=function(a){g.W.call(this,a);this.Z=new g.HF;g.N(this,this.Z)};
g.tH=function(a,b,c,d){g.rH.call(this,a);this.priority=b;c&&g.sH(this,c);d&&this.Mb(d)};
g.uH=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{G:c?"a":"div",da:b,P:a,N:[{G:"div",L:"ytp-menuitem-label",aa:"{{label}}"},{G:"div",L:"ytp-menuitem-content",aa:"{{content}}"}]}};
g.sH=function(a,b){a.updateValue("label",b)};
xH=function(a,b){g.M.call(this);this.app=a;this.g=!0;this.o=null;this.H={};this.I={};this.A={};this.D=[];this.C={};this.B={};this.l=null;this.J=new window.Set;this.playerType=b;vH(this,"cueVideoById",this.NA);vH(this,"loadVideoById",this.bN);vH(this,"cueVideoByUrl",this.PM);vH(this,"loadVideoByUrl",this.cN);vH(this,"playVideo",this.td);vH(this,"pauseVideo",this.hd);vH(this,"stopVideo",this.oe);vH(this,"clearVideo",this.NM);vH(this,"getVideoBytesLoaded",this.UM);vH(this,"getVideoBytesTotal",this.VM);
vH(this,"getVideoLoadedFraction",this.Wt);vH(this,"getVideoStartBytes",this.WM);vH(this,"cuePlaylist",this.OM);vH(this,"loadPlaylist",this.aN);vH(this,"nextVideo",this.ik);vH(this,"previousVideo",this.Ul);vH(this,"playVideoAt",this.RA);vH(this,"setShuffle",this.setShuffle);vH(this,"setLoop",this.eN);vH(this,"getPlaylist",this.cg);vH(this,"getPlaylistIndex",this.PA);vH(this,"getPlaylistId",this.getPlaylistId);vH(this,"loadModule",this.hk);vH(this,"unloadModule",this.Vl);vH(this,"setOption",this.Md);
vH(this,"getOption",this.yc);vH(this,"getOptions",this.Gi);vH(this,"mute",this.mute);vH(this,"unMute",this.dg);vH(this,"isMuted",this.isMuted);vH(this,"setVolume",this.setVolume);vH(this,"getVolume",this.getVolume);vH(this,"seekTo",this.ac);vH(this,"getPlayerState",this.wh);vH(this,"getPlaybackRate",this.Hc);vH(this,"setPlaybackRate",this.Se);vH(this,"getAvailablePlaybackRates",this.gk);vH(this,"getPlaybackQuality",this.Tl);vH(this,"setPlaybackQuality",this.Wo);vH(this,"getAvailableQualityLevels",
this.Vt);vH(this,"getCurrentTime",this.getCurrentTime);vH(this,"getDuration",this.getDuration);vH(this,"addEventListener",this.addEventListener);vH(this,"removeEventListener",this.removeEventListener);vH(this,"getVideoUrl",this.getVideoUrl);vH(this,"getDebugText",this.Sl);vH(this,"getVideoEmbedCode",this.QA);vH(this,"getVideoData",this.getVideoData);vH(this,"addCueRange",this.MA);vH(this,"removeCueRange",this.SA);vH(this,"setSize",this.setSize);vH(this,"getApiInterface",this.QM);vH(this,"destroy",
this.destroy);vH(this,"showVideoInfo",this.UA);vH(this,"hideVideoInfo",this.YM);vH(this,"getMediaReferenceTime",this.SM);if(this.app.PL){var c=this.app.g;c.experiments&&c.experiments.g("html5_enable_360_api")&&(vH(this,"getSphericalProperties",this.Vo),vH(this,"setSphericalProperties",this.Xo))}wH(this,"getInternalApiInterface",this.RM);wH(this,"getAdState",this.OA);wH(this,"isNotServable",this.ZM);wH(this,"getUpdatedConfigurationData",this.TM);wH(this,"sendAbandonmentPing",this.dN);wH(this,"setAutonav",
this.TA);wH(this,"setAutonavState",this.Xt);wH(this,"startInteractionLogging",this.fN);wH(this,"channelSubscribed",this.LM);wH(this,"channelUnsubscribed",this.MM);wH(this,"handleExternalCall",this.XM)};
vH=function(a,b,c){a.H[b]=function(b){for(var d=[],f=0;f<arguments.length;++f)d[f-0]=arguments[f];return c.apply(a,d)};
wH(a,b,c);a.D.push(b)};
yH=function(a,b,c){a.I[b]=function(b){for(var d=[],f=0;f<arguments.length;++f)d[f-0]=arguments[f];return c.apply(a,d)};
wH(a,b,c);a.D.push(b)};
wH=function(a,b,c){a.A[b]=function(b){for(var d=[],f=0;f<arguments.length;++f)d[f-0]=arguments[f];return c.apply(a,d)}};
zH=function(a){a.l||(a.l={},g.Fa(a.l,a.H),g.Fa(a.l,a.I),a.l.addEventListener=(0,g.A)(a.bJ,a),a.l.removeEventListener=(0,g.A)(a.cJ,a));return a.l};
BH=function(a,b,c){b=g.ad(Math.floor(b),0,100);(0,window.isFinite)(b)&&AH(a.app,{volume:b,muted:a.isMuted()},c)};
CH=function(a,b){AH(a.app,{muted:!0,volume:a.getVolume()},b)};
DH=function(a,b){AH(a.app,{muted:!1,volume:Math.max(5,a.getVolume())},b)};
g.EH=function(a){return(a=a.app.A.K)?a.l:null};
FH=function(a,b,c){this.name=a;this.id=b;this.isDefault=c};
g.GH=function(a){this.languageCode=a.languageCode;this.languageName=a.languageName||null;this.g=a.languageOriginal||null;this.id=a.id||null;this.isDefault=a.is_default||!1};
g.HH=function(a){a=void 0===a?{}:a;this.J=a.formats||"";this.o=a.format||1;if(1==this.o)for(var b=this.J.split(","),c=0;c<b.length;c++){var d=(0,window.parseInt)(b[c],10);(0,window.isNaN)(d)||(this.o=Math.max(d,this.o))}this.l=a.languageCode||"";this.B=a.languageName;this.A=a.kind||"";this.C=a.name;this.Ea=a.id;this.K=a.is_servable;this.F=a.is_translateable;this.H=a.url||null;this.D=a.vss_id||"";this.isDefault=a.is_default;this.g=null;if(a=a.translationLanguage)this.g=new g.GH(a)};
g.IH=function(a){var b=a.B||"",c=[b];"asr"==a.A&&-1==b.indexOf("(")&&c.push(" ("+g.V("YTP_ASR_SETTINGS_LABEL")+")");a.C&&c.push(" - "+a.C);a.g&&c.push(" >> "+a.g.languageName);return c.join("")};
JH=function(a,b){this.id=a;this.Hb=b;this.captionTracks=[];this.Wn=this.Br=this.g=null;this.ir="UNKNOWN"};
KH=function(a,b,c){this.sampleRate=a||0;this.g=b||0;this.spatialAudioType=c||0};
gka=function(a,b,c,d){this.displayName=a;this.vssId=b;this.languageCode=c;this.kind=void 0===d?"":d};
NH=function(a,b,c,d,e,f,k,l,m,n,q,r){this.width=a;this.height=b;this.quality=f||LH(a,b);this.g=g.MH[this.quality];this.isAccelerated=!!k;this.fps=c||0;this.stereoLayout=!e||null!=d&&0!=d&&1!=d?0:e;this.projectionType=d?2==d&&2==e?3:d:0;(a=l)||(a=this.fps,b=this.projectionType,c=g.MH[this.quality],a=0==c?g.V("YTP_AUTO"):c+(2==b||3==b||4==b?"s":"p")+(55<a?"60":49<a?"50":39<a?"48":""));this.qualityLabel=a;this.l=m||"";this.primaries=n||"";this.o=!1!==q;this.A=r||0};
OH=function(a){return 1280<=a.width||720<=a.height};
PH=function(a){return"smpte2084"==a.l||"arib-std-b67"==a.l};
LH=function(a,b){for(var c=Math.max(a,b),d=Math.min(a,b),e=QH[0],f=0;f<QH.length;f++){var k=QH[f],l=g.MH[k];if(c>=1.3*Math.floor(16*l/9)||d>=1.3*l)return e;e=k}return"tiny"};
SH=function(a,b,c,d,e,f,k,l,m){this.id=a;this.containerType=0<=b.indexOf("/mp4")?1:0<=b.indexOf("/webm")?2:0<=b.indexOf("/x-flv")?3:0<=b.indexOf("/vtt")?4:0;this.mimeType=b;this.g=k||0;this.A=l||0;this.audio=void 0===c?null:c;this.video=void 0===d?null:d;this.Hb=void 0===e?null:e;this.captionTrack=void 0===m?null:m;this.Kc=void 0===f?null:f;this.l=hka[RH(this)]||"";this.o=null};
RH=function(a){return a.id.split(";",1)[0]};
TH=function(a){return"9"==a.l||"("==a.l||"9h"==a.l||"(h"==a.l};
UH=function(a){return"9h"==a.l||"(h"==a.l};
g.VH=function(a){return 1==a.containerType};
WH=function(a){return"application/x-mpegURL"==a.mimeType};
XH=function(a){return 0<=a.indexOf("opus")||0<=a.indexOf("vorbis")||0<=a.indexOf("mp4a")};
YH=function(a){return 0<=a.indexOf("vp9")||0<=a.indexOf("vp8")||0<=a.indexOf("avc1")||0<=a.indexOf("av1")};
g.ZH=function(a){return a.includes("vtt")||a.includes("text/mp4")};
$H=function(a,b,c,d,e,f,k){var l=new KH;b in g.MH||(b="small");d&&e?(e=(0,window.parseInt)(e,10),d=(0,window.parseInt)(d,10)):(e=g.MH[b],d=Math.round(16*e/9));b=new NH(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 SH(c,a,l,b)};
aI=function(a,b){this.experimentIds=a?a.split(","):[];this.flags=g.ZD(b||"");var c={};(0,g.C)(this.experimentIds,function(a){c[a]=!0});
this.experiments=c;this.A=!!c["9414740"]};
bI=function(a,b){this.g=a;this.l=b;this.o=0;Object.defineProperty(this,"timestampOffset",{get:this.dW,set:this.hW});Object.defineProperty(this,"buffered",{get:this.bW})};
ika=function(){this.length=0};
cI=function(a){this.activeSourceBuffers=this.sourceBuffers=[];this.g=a;this.l=window.NaN;this.o=0;Object.defineProperty(this,"duration",{get:this.cW,set:this.gW});Object.defineProperty(this,"readyState",{get:this.eW});this.g.addEventListener("webkitsourceclose",(0,g.A)(this.fW,this),!0)};
dI=function(){this.length=1};
eI=function(){this.buffered=new dI};
fI=function(a,b){return{start:function(b){return a[b]},
end:function(a){return b[a]},
length:a.length}};
gI=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};
hI=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};
iI=function(a,b){var c=hI(a,b);return 0<=c?a.end(c):window.NaN};
jI=function(a){return a&&a.length?a.end(a.length-1):window.NaN};
kI=function(a,b){var c=iI(a,b);return 0<=c?c-b:0};
lI=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 fI(d,e)};
mI=function(a){this.g=a;this.l=null};
nI=function(a){this.g=a;this.l=0};
oI=function(){var a=g.y("yt.player.utils.videoElement_");a||(a=g.Cd("VIDEO"),g.va("yt.player.utils.videoElement_",a,void 0));return a};
jka=function(){var a=oI();return!!a.webkitSetPresentationMode&&g.Aa(a.webkitSupportsPresentationMode)&&!!a.webkitSupportsPresentationMode("picture-in-picture")};
pI=function(){var a=oI();try{var b=a.muted;a.muted=!b;return a.muted!=b}catch(c){}return!1};
qI=function(a){a=g.K("DIV",{"class":a});window.document.body.appendChild(a);var b="none"==rh(a,"display");g.Id(a);return b};
rI=function(a,b){this.g=a;this.l=!!b;this.o=!1};
sI=function(a){g.M.call(this);this.C=new g.EF(this);g.N(this,this.C);this.l=this.g=null;a=this.o=a;a=a.zO?a.g.webkitMediaSourceURL:window.URL.createObjectURL(a);this.B=new rI(a,!0);this.A=null;FF(this.C,this.o,["sourceopen","webkitsourceopen"],this.F);FF(this.C,this.o,["sourceclose","webkitsourceclose"],this.D)};
kka=function(a,b){tI(a)?g.Qf(function(){return b(a)}):a.A=b};
uI=function(a,b){return"fakesb"==b?new eI:a.o.addSourceBuffer(b)};
tI=function(a){try{return"open"==a.o.readyState}catch(b){return!1}};
vI=function(a){try{return"closed"==a.o.readyState}catch(b){return!0}};
wI=function(a){return!!(a.g&&a.g.Bh()||a.l&&a.l.Bh())};
xI=function(){return!(!window.MediaSource||!window.MediaSource.isTypeSupported)};
yI=function(a){return a.g?!!a.g.supports(0):xI()};
AI=function(a){if(/opus/.test(a)&&(g.zI&&!g.Ln("38")||g.zI&&sE("crkey")))return!1;if(window.MediaSource&&window.MediaSource.isTypeSupported)return window.MediaSource.isTypeSupported(a);if(/webm/.test(a)&&!zE())return!1;'audio/mp4; codecs="mp4a.40.2"'==a&&(a='video/mp4; codecs="avc1.4d401f"');return!!oI().canPlayType(a)};
lka=function(a,b,c){this.l=a;this.B=b;this.C=void 0===c?!1:c;this.A=!!g.y("cast.receiver.platform.canDisplayType");a=g.y("cast.receiver.platform.getValue");this.g=!this.A&&a&&a("max-video-resolution-vpx")||null;this.o={}};
DI=function(a,b){var c=a.canPlayType?a.canPlayType(b):!1;BI?c=c||mka[b]:2.2==CI?c=c||nka[b]:uE()&&(c=c||oka[b]);return!!c};
pka=function(a,b){if("0"==RH(b))return!0;var c=b.mimeType;if(b.video&&(PH(b.video)||"bt2020"==b.video.primaries)&&!(24<window.screen.pixelDepth||EI(a,FI))||!("338"!=RH(b)||g.zI&&g.Ln(53)))return!1;var d={};b.video&&(b.video.width&&(d[GI.name]=b.video.width),b.video.height&&(d[HI.name]=b.video.height),b.video.fps&&(d[II.name]=b.video.fps),b.video.l&&(d[FI.name]=b.video.l),b.g&&(d[JI.name]=8*b.g),"("==b.l&&(d[KI.name]="subsample"));b.audio&&b.audio.g&&(d[LI.name]=b.audio.g);for(var e in MI){var f=MI[e],
k;if(k=d[f.name])if(k=!(f==FI&&0<b.mimeType.indexOf("vp09.02")))k=b,k=!(a.l.g("html5_ignore_h264_framerate_cap")&&f==II&&("H"==k.l||"h"==k.l));if(k)if(EI(a,f))if(a.g){if(a.g[f.name]<d[f.name])return!1}else c=c+"; "+f.name+"="+d[f.name];else if(UH(b)&&f==FI)return!1}!a.l.g("disable_html5_cast_hdcp_filter2")&&a.A&&b.video&&1080<b.video.g&&b.Kc&&(c+="; hdcp=2.2");return NI(a,c)};
OI=function(){var a=uE()&&!g.Ln(29),b=sE("google tv")&&sE("chrome")&&!g.Ln(30),c=xE();return a||b||c?!1:!!(window.MediaSource||window.WebKitMediaSource||window.HTMLMediaElement&&window.HTMLMediaElement.prototype.webkitSourceAddId)};
g.PI=function(){return!(!DI(oI(),"application/x-mpegURL")&&!OI())};
EI=function(a,b){if(!(b.name in a.o)){var c=a.o,d=b.name;if(a.g)var e=!!a.g[b.name];else b==JI&&a.l.g("html5_ignore_bad_bitrates")&&NI(a,'video/webm; codecs="vp9"; width=3840; height=2160; bitrate=2000000')&&!NI(a,'video/webm; codecs="vp9"; width=3840; height=2160; bitrate=20000000')?e=!1:(b.video?(e='video/webm; codecs="vp9"',NI(a,e)||(e='video/mp4; codecs="avc1.4d401e"')):(e='audio/webm; codecs="opus"',NI(a,e)||(e='audio/mp4; codecs="mp4a.40.2"')),e=NI(a,e+"; "+b.name+"="+b.valid)&&!NI(a,e+"; "+
b.name+"="+b.ti));c[d]=e}return a.o[b.name]};
NI=function(a,b){return a.A?window.cast.receiver.platform.canDisplayType(b):AI(b)};
QI=function(a){this.uj=a};
RI=function(a,b){if(b)return ME();for(var c={},d=oI(),e=g.p(a),f=e.next();!f.done;f=e.next())if(f=f.value,DI(d,f.wg().mimeType)){var k=f.uj.video.quality;c[k]&&2!=c[k].wg().containerType||(c[k]=f)}var l=[];c.auto&&l.push(c.auto);(0,g.C)(QH,function(a){(a=c[a])&&l.push(a)});
return l.length?NE(l):ME()};
SI=function(a,b,c,d){this.l=a||0;this.g=b||0;this.o=c;this.reason=d};
TI=function(a,b){return a.l==b.l&&a.g==b.g&&a.o==b.o&&a.reason==b.reason};
UI=function(a,b,c,d){return new SI(g.MH[a]||0,g.MH[b]||0,c,d)};
VI=function(a){var b=g.MH.auto;return a.l==b&&a.g==b};
XI=function(a,b){if(b.o&&VI(b))return WI;if(b.o||VI(a))return b;if(a.o||VI(b))return a;var c=a.l&&b.l?Math.max(a.l,b.l):a.l||b.l,d=a.g&&b.g?Math.min(a.g,b.g):a.g||b.g;c=Math.min(c,d);return c==a.l&&d==a.g?a:new SI(c,d,!1,d==a.g?a.reason:b.reason)};
YI=function(a){var b=a.g||a.l;return Ub(qka,function(a){return g.MH[a]==b})||"auto"};
ZI=function(a,b){var c=g.MH[b];return a.l<=c&&(!a.g||a.g>=c)};
$I=function(a,b,c,d,e,f,k,l){this.duration=c;this.endTime=b+c;this.ingestionTime=d;this.wa=a;this.sourceURL=e;this.startTime=b;this.l=k||0;this.range=f||null;this.g=l||!1};
g.aJ=function(){this.segments=[]};
bJ=function(a,b){if(0!=b.length){var c=g.Wa(b);if(0==a.segments.length)a.segments=c;else{var d=a.segments.length?g.Ia(a.segments).endTime:0,e=c[0].wa-a.Qb();1<e&&Qa(a.segments);for(e=0<e?0:-e+1;e<c.length;e++){var f=c[e];f.startTime=d;f.endTime=f.startTime+f.duration;d+=c[e].duration;a.segments.push(c[e])}}}};
cJ=function(a,b){if(b>a.Qb())a.segments=[];else{var c=g.Ja(a.segments,function(a){return a.wa>=b},a);
0<c&&a.segments.splice(0,c)}};
dJ=function(a,b,c,d,e){e=void 0===e?!1:e;this.data=a;this.offset=b;this.size=c;this.type=d;this.g=e?0:8;this.dataOffset=this.offset+this.g;this.l=e};
eJ=function(a){var b=a.data.getUint8(a.offset+a.g);a.g+=1;return b};
fJ=function(a){var b=a.data.getInt32(a.offset+a.g);a.g+=4;return b};
gJ=function(a){var b=a.data.getUint32(a.offset+a.g);a.g+=4;return b};
hJ=function(a){var b=a.data;var c=a.offset+a.g;b=4294967296*b.getUint32(c)+b.getUint32(c+4);a.g+=8;return b};
iJ=function(a){var b=[];do{var c=a.data.getUint8(a.offset+a.g);b.push(c);a.g++}while(0!=c);b.pop();return String.fromCharCode.apply(String,b)};
jJ=function(a){this.data=new window.DataView(new window.ArrayBuffer(a));this.g=0};
kJ=function(a,b){a.data.setInt32(a.g,b);a.g+=4};
lJ=function(a,b){for(var c=0;c+4<=b.size;)kJ(a,b.data.getUint32(b.offset+c)),c+=4;for(;c<b.size;)a.data.setUint8(a.g++,b.data.getUint8(b.offset+c++))};
mJ=function(a,b,c){for(var d=8,e=g.p(c),f=e.next();!f.done;f=e.next())d+=f.value.size;kJ(a,d);kJ(a,b);b=g.p(c);for(f=b.next();!f.done;f=b.next())lJ(a,f.value)};
nJ=function(a,b,c,d,e){this.We=a;this.durationSecs=b;this.context=c;this.identifier=d;this.event=e};
pJ=function(a,b,c){this.g=a;this.uri=b||"http://youtube.com/streaming/metadata/segment/102015";this.A=void 0===c?null:c;this.l=oJ(this,"Sequence-Number");this.H=oJ(this,"Segment-Count");this.I=this.g["Segment-Durations-Ms"]||"";this.ingestionTime=oJ(this,"Ingestion-Walltime-Us")/1E6;this.o=(oJ(this,"First-Frame-Time-Us")+oJ(this,"First-Frame-Uncertainty-Us"))/1E6;this.F=oJ(this,"Target-Duration-Us")/1E6;this.D="T"==this.g["Overlayed-With-Slate"];this.C="T"==this.g["Stream-Finished"];this.B="T"==this.g.Streamable};
oJ=function(a,b){return(0,window.parseInt)(a.g[b],10)||0};
qJ=function(a,b,c,d,e){this.l=a||0;this.pitch=b||0;this.yaw=c||0;this.roll=d||0;this.g=e;e.getUint32(4)};
rJ=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};
rka=function(a,b,c){var d=sJ(a,0,1836019558);if(!d)return null;var e=sJ(a,d.dataOffset,1835427940),f=sJ(a,d.dataOffset,1953653094),k=sJ(a,d.dataOffset,1886614376);if(!e||!f)return null;var l=sJ(a,f.dataOffset,1952868452),m=sJ(a,f.dataOffset,1953658222),n=sJ(a,f.dataOffset,1952867444);if(!l||!m||!n)return null;var q=sJ(a,f.dataOffset,1935763823),r=sJ(a,f.dataOffset,1935763834),v=0;if(q){v=fJ(q);var E=fJ(q);if(0!=v||1!=E)return null;v=fJ(q)}E=sJ(a,f.dataOffset,1935828848);f=sJ(a,f.dataOffset,1936158820);
var H=fJ(l),L=fJ(l),T=H&2,ha=H&1?hJ(l):0,db=T?fJ(l):0,sa=H&8?fJ(l):0,Vd=H&16?fJ(l):0,zh=H&32?fJ(l):0;H=fJ(m);var qb=H&1,Ve=H&4,$q=H&256;l=H&512;var Cl=H&1024,tc=H&2048;H=fJ(m);var ic=qb?fJ(m):0,uc=Ve?fJ(m):0;qb=[];for(var ar=[],Ki=[],Dl=[],Cv=0,td=0,El=0;El<H;El++){var YL=$q?fJ(m):sa;l&&qb.push(fJ(m));var Li=zh;Ve&&0==El?Li=uc:Cl&&(Li=fJ(m));ar.push(Li);Li=tc?fJ(m):0;0==El&&(Cv=Li);Ki.push(td+Li);Dl.push(El);td+=YL}1<=Math.abs(td-b)&&c({flaw:"segDurMismatch",dts:td.toFixed(),seg:b.toFixed()});g.fb(Dl,
function(a,b){return Ki[a]-Ki[b]});
c=[];for(td=0;td<H;td++)c[Dl[td]]=td;td=T?4:0;zh=16*H;Ve=68+td+n.size+zh+(q?q.size:0)+(r?r.size:0)+(E?E.size:0)+(f?f.size:0)+(k?k.size:0);m=Ve-d.size;sa=new jJ(Ve+d.offset);d.offset&&sa.Gn(a,0,d.offset);kJ(sa,Ve);kJ(sa,1836019558);lJ(sa,e);kJ(sa,Ve-24-(k?k.size:0));kJ(sa,1953653094);kJ(sa,16+td);kJ(sa,1952868452);kJ(sa,131072|(T?2:0));kJ(sa,L);T&&kJ(sa,db);lJ(sa,n);kJ(sa,20+zh);kJ(sa,1953658222);kJ(sa,16781057);kJ(sa,H);kJ(sa,ha+ic+m);for(a=td=0;a<H;a++)e=c[a],d=Math.round(b*e/H),e=Math.round(b*(e+
1)/H)-d,d=d-td+Cv,kJ(sa,e),kJ(sa,l?qb[a]:Vd),kJ(sa,ar[a]),kJ(sa,d),td+=e;q&&(kJ(sa,q.size),kJ(sa,1935763823),kJ(sa,0),kJ(sa,1),kJ(sa,v+m));r&&lJ(sa,r);E&&lJ(sa,E);f&&lJ(sa,f);k&&lJ(sa,k);return sa.data.buffer};
tJ=function(a,b){var c=sJ(a.data,a.dataOffset,1952868452),d=sJ(a.data,a.dataOffset,1953658222),e=fJ(c);fJ(c);e&2&&fJ(c);c=e&8?fJ(c):0;var f=fJ(d),k=f&1;e=f&4;var l=f&256,m=f&512,n=f&1024;f&=2048;var q=gJ(d);k&&fJ(d);e&&fJ(d);for(var r=k=0;r<q;r++){var v=l?fJ(d):c;m&&fJ(d);e&&0==r||!n||fJ(d);f&&fJ(d);k+=v}return k/b};
wJ=function(a){a=new window.DataView(a.buffer,a.byteOffset,a.byteLength);return(a=g.uJ(a,1836476516))?vJ(a):window.NaN};
ska=function(a){var b=g.uJ(a,1937011556);if(!b)return null;b=sJ(a,b.dataOffset+8,1635148593);if(!b)return null;var c=sJ(a,b.dataOffset+78,1936995172),d=sJ(a,b.dataOffset+78,1937126244);if(!d)return null;b=null;if(c)switch(c.skip(4),eJ(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=sJ(a,d.dataOffset,1886547818)){var k=sJ(a,d.dataOffset,1886546020),l=sJ(a,d.dataOffset,2037673328);if(!l&&(l=sJ(a,d.dataOffset,1836279920),!l))return null;k&&(k.skip(4),c=fJ(k)/
65536,f=fJ(k)/65536,e=fJ(k)/65536);a=new window.DataView(l.data.buffer,l.dataOffset,l.size-8);return new qJ(b,c,f,e,a)}return null};
sJ=function(a,b,c){for(;xJ(a,b);){var d=yJ(a,b);if(d.type==c)return d;b+=d.size}return null};
g.uJ=function(a,b){for(var c=0;xJ(a,c);){var d=yJ(a,c);if(d.type==b)return d;c=zJ(d.type)?c+8:c+d.size}return null};
AJ=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)};
BJ=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)};
yJ=function(a,b){var c=a.getUint32(b),d=a.getUint32(b+4);return new dJ(a,b,c,d)};
vJ=function(a){var b=a.data.getUint8(a.dataOffset)?20:12;return a.data.getUint32(a.dataOffset+b)};
CJ=function(a){a=new dJ(a.data,a.offset,a.size,a.type,a.l);var b=eJ(a);a.skip(7);var c=gJ(a);if(0==b){b=gJ(a);var d=gJ(a)}else b=hJ(a),d=hJ(a);a.skip(2);var e=a.data.getUint16(a.offset+a.g);a.g+=2;for(var f=[],k=[],l=0;l<e;l++){var m=gJ(a);f.push(m);k.push(gJ(a));a.skip(4)}return{vv:c,TI:b,Gy:d,Vu:f,Dm:k}};
DJ=function(a){return a.data.getUint32(a.dataOffset+8)};
FJ=function(a){if(EJ)return CJ(a).Dm[0];var b=a.data.getUint8(a.dataOffset);a.data.getUint16(a.dataOffset+(0==b?22:30));return a.data.getUint32(a.dataOffset+(0==b?28:36))};
xJ=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};
zJ=function(a){return 1836019558==a||1836019574==a||1835297121==a||1835626086==a||1937007212==a||1953653094==a||1953653099==a};
GJ=function(a){return(a=sJ(a,0,1836019558))?a.offset+a.size:null};
HJ=function(a,b){for(var c=sJ(a,0,b);c;){var d=c;d.type=1936419184;d.data.setUint32(d.offset+4,1936419184);c=sJ(a,c.offset+c.size,b)}};
IJ=function(a,b){for(var c=[],d=b.dataOffset,e=b.offset+b.size;d<e&&xJ(a,d);){var f=yJ(a,d);c.push(f);d+=f.size}return c};
JJ=function(a,b){for(var c=0,d=[];xJ(a,c);){var e=yJ(a,c);e.type==b&&d.push(e);c=zJ(e.type)?c+8:c+e.size}return d};
g.KJ=function(a,b){this.start=a;this.end=b;this.length=b-a+1};
LJ=function(a){a=a.split("-");return 2==a.length&&(a=new g.KJ((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};
MJ=function(a,b){return new g.KJ(a,a+b-1)};
OJ=function(a,b,c,d,e,f,k,l,m){this.g=b;this.range=c;this.type=a;this.wa=0<=d?d:-1;this.startTime=e||0;this.duration=f||0;this.l=k||0;this.Xa=0<=l?l:this.range?this.range.length:window.NaN;this.C=!!m;this.range?(this.o=this.l+this.Xa==this.range.length,this.B=this.startTime+this.duration*this.l/this.range.length,this.D=this.duration*this.Xa/this.range.length,this.A=this.B+this.D):(this.o=0!=this.Xa,NJ(this));this.F=[]};
NJ=function(a){a.B=a.startTime;a.D=a.duration;a.A=a.B+a.D};
tka=function(a,b,c){var d=!(!b||b.g!=a.g||b.type!=a.type||b.wa!=a.wa);return c?d&&(a.range&&b.range?b.range.end==a.range.end:b.range==a.range)&&b.l+b.Xa==a.l+a.Xa:d};
PJ=function(a){return 1==a.type||2==a.type};
QJ=function(a,b,c){return c||a.g==b.g?a.range&&b.range?a.range.start+a.l+a.Xa==b.range.start+b.l:a.wa==b.wa?a.l+a.Xa==b.l:a.wa+1==b.wa&&0==b.l&&a.o:!1};
RJ=function(a,b){return QJ(a,b)||1E-6>=Math.abs(a.A-b.B)||a.wa+1==b.wa&&0==b.l&&a.o?!0:!1};
uka=function(a){1==a.length||(0,g.cm)(a,function(a){return!!a.range});
for(var b=1;b<a.length;b++);b=a[a.length-1];return new g.KJ(a[0].range.start+a[0].l,b.range.start+b.l+b.Xa-1)};
TJ=function(a){var b="";g.Ib(SJ(a),function(a,d){b+=d+"="+a+","});
return b.slice(0,-1)};
SJ=function(a){var b={};b.itag=RH(a.g.info);b.seg=String(a.wa);a.range&&(b.range=""+(a.range.start+a.l)+"-"+(a.range.start+a.l+a.Xa-1));b.time=""+a.B.toFixed(1)+"-"+(a.B+a.D).toFixed(1);b.off=String(a.l);b.len=String(a.Xa);a.o&&(b.end="1");a.C&&(b.eos="1");return b};
UJ=function(a,b,c,d){a=new OJ(a.type,a.g,a.range,a.wa,a.startTime,a.duration,b,c,d&&a.C);a.o=d;return a};
VJ=function(a,b){a.wa=b.l;b.C&&(a.C=b.C)};
WJ=function(a,b){a.wa=b.wa;if(a.startTime!=b.startTime||a.duration!=b.duration)a.startTime=b.startTime,a.duration=b.duration,NJ(a)};
XJ=function(a,b){this.l=a;this.g=0;this.o=b||0};
YJ=function(a){return a.g>=a.l.byteLength};
cK=function(a,b){var c=new XJ(b);if(!ZJ(c,[408125543,374648427,174,224]))return!1;c=$J(c);if(aK(c,a)){for(var d=0;a;)a>>>=8,d++;var e=c.o+c.g-d;d=bK(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};
eK=function(a){dK(new XJ(a));cK(30320,a)&&cK(21432,a)};
vka=function(a){var b=new XJ(a);dK(b);if(ZJ(b,[408125543,374648427,174,224]))b=$J(b);else return null;for(var c=a=null;!YJ(b);){var d=bK(b,!1);if(21432==d)switch(fK(b)){default:a=0;break;case 1:a=1;break;case 3:a=2;break;case 15:a=255}else 30320==d?c=$J(b):gK(b)}if(!c)return null;for(var e,f=d=b=null;!YJ(c);)switch(bK(c,!1)){case 30321:if(3!=fK(c))return null;break;case 30324:b=hK(c);break;case 30323:f=hK(c);break;case 30325:d=hK(c);break;case 30322:e=bK(c,!0);e=iK(c,e);e=new window.DataView(e.buffer,
e.byteOffset,e.byteLength);break;default:gK(c)}return e?new qJ(a,b,f,d,e):null};
$J=function(a){var b=bK(a,!0),c=a.l.byteOffset+a.g;c=new window.DataView(a.l.buffer,c,Math.min(b,a.l.buffer.byteLength-c));c=new XJ(c,a.o+a.g);a.g+=b;return c};
fK=function(a){for(var b=bK(a,!0),c=jK(a),d=1;d<b;d++)c=256*c+jK(a);return c};
hK=function(a){var b=bK(a,!0),c=0;4==b?c=a.l.getFloat32(a.g):8==b&&(c=a.l.getFloat64(a.g));a.g+=b;return c};
gK=function(a){var b=bK(a,!0);a.g+=b};
dK=function(a){var b=a.g;a.g=0;var c=!1;aK(a,440786851)&&(a.g=0,aK(a,408125543)&&(c=!0));a.g=b;return c};
kK=function(a){var b=a.g;a.g=0;var c=1E6;ZJ(a,[408125543,357149030,2807729])&&(c=fK(a));a.g=b;return c};
wka=function(a,b){var c=a.g;a.g=0;if(!lK(a)||!aK(a,160))return a.g=c,window.NaN;bK(a,!0);var d=a.g;if(!aK(a,161))return a.g=c,window.NaN;bK(a,!0);jK(a);var e=jK(a)<<8|jK(a);a.g=d;if(!aK(a,155))return a.g=c,window.NaN;d=fK(a);a.g=c;return(e+d)*b/1E9};
lK=function(a){if(!mK(a)||!aK(a,524531317))return!1;bK(a,!0);return!0};
mK=function(a){if(dK(a)){if(!aK(a,408125543))return!1;bK(a,!0)}return!0};
ZJ=function(a,b){for(var c=0;c<b.length;c++){if(!aK(a,b[c]))return!1;c!=b.length-1&&bK(a,!0)}return!0};
aK=function(a,b,c){c=void 0===c?!1:c;if(YJ(a))return!1;for(var d=a.g;bK(a,!1)!=b;)if(gK(a),d=a.g,YJ(a))return!1;c&&(a.g=d);return!0};
bK=function(a,b){var c=jK(a);if(1==c){for(var d=c=0;7>d;d++)c=256*c+jK(a);return c}d=128;for(var e=0;6>e&&d>c;e++)c=256*c+jK(a),d*=128;return b?c-d:c};
jK=function(a){return a.l.getUint8(a.g++)};
iK=function(a,b){var c=new window.Uint8Array(a.l.buffer,a.l.byteOffset+a.g,b);a.g+=b;return c};
nK=function(a,b,c,d,e){this.info=a;this.g=b;this.range=c;this.o=null;this.A=d;this.l=e};
oK=function(a){return a.range?new window.DataView(a.g,a.range.start,a.range.length):new window.DataView(a.g)};
pK=function(a){if(a.g.slice)return new window.Uint8Array(a.g.slice(a.range.start,a.range.end+1));a=new window.Uint8Array(a.g,a.range.start,a.range.end+1);return new window.Uint8Array(a)};
qK=function(a,b){b=Math.min(b,a.info.Xa);var c=new OJ(a.info.type,a.info.g,a.info.range,a.info.wa,a.info.startTime,a.info.duration,a.info.l,b,!1);c.o=!1;var d=MJ(a.range.start,b);c=new nK(c,a.g,d,a.A,a.l);var e=new OJ(a.info.type,a.info.g,a.info.range,a.info.wa,a.info.startTime,a.info.duration,a.info.l+b,a.info.Xa-b,a.info.C);e.o=a.info.o;d=new g.KJ(d.end+1,a.range.end);d=new nK(e,a.g,d,a.A,!1);return[c,d]};
rK=function(a){if(g.VH(a.info.g.info)){var b=a.info.g.g;for(var c=window.NaN,d=window.NaN,e=0,f=new window.DataView(a.g);xJ(f,e);){var k=yJ(f,e);1936286840==k.type?d=DJ(k):1836476516==k.type?d=vJ(k):1952867444==k.type&&(0,window.isNaN)(c)&&(c=BJ(k));e=zJ(k.type)?e+8:e+k.size}!d&&b&&(d=wJ(b));b=c/d}else b=new XJ(oK(a)),c=a.l?b:new XJ(new window.DataView(a.info.g.g.buffer)),d=kK(c),c=b.g,b.g=0,lK(b)?aK(b,231)?(d=fK(b)*d/1E9,b.g=c,b=d):(b.g=c,b=window.NaN):(b.g=c,b=window.NaN);return b||a.info.B};
sK=function(a,b){if(g.VH(a.info.g.info)){for(var c=a.info.g.g,d=new window.DataView(a.g),e=window.NaN,f=window.NaN,k=0;xJ(d,k);){var l=yJ(d,k);(0,window.isNaN)(e)&&(1936286840==l.type?e=DJ(l):1836476516==l.type&&(e=vJ(l)));if(1952867444==l.type){!e&&c&&(e=wJ(c));var m=BJ(l);(0,window.isNaN)(f)&&(f=Math.round(b*e)-m);AJ(l,m+f)}k=zJ(l.type)?k+8:k+l.size}return!0}c=new XJ(new window.DataView(a.g));e=a.l?c:new XJ(new window.DataView(a.info.g.g.buffer));d=b;f=kK(e);e=c.g;c.g=0;if(lK(c)&&aK(c,231))if(k=
bK(c,!0),d=Math.floor(1E9*d/f),Math.ceil(Math.log(d)/Math.log(2)/8)>k)c=!1;else{for(f=k-1;0<=f;f--)c.l.setUint8(c.g+f,d&255),d>>>=8;c.g=e;c=!0}else c=!1;return c};
tK=function(a){if(g.VH(a.info.g.info)){var b=0;var c=new window.DataView(a.g);if(EJ){c=JJ(c,1936286840);c=g.p(c);for(var d=c.next();!d.done;d=c.next())d=CJ(d.value),b+=d.Dm[0]/d.vv}else for(d=0;xJ(c,d);){var e=yJ(c,d);if(1936286840==e.type){var f=DJ(e),k=FJ(e);b+=k/f}d=zJ(e.type)?d+8:d+e.size}b=b||window.NaN;if(!(0<=b))a:{b=a.info.g.g;c=0;d=new window.DataView(a.g);for(e=0;xJ(d,c);){f=yJ(d,c);if(1836476516==f.type)var l=vJ(f);else if(1836019558==f.type){!l&&b&&(l=wJ(b));if(!l){b=window.NaN;break a}k=
sJ(f.data,f.dataOffset,1953653094);e+=tJ(k,l)}c=zJ(f.type)?c+8:c+f.size}b=e||window.NaN}}else l=new XJ(new window.DataView(a.g)),b=a.l?l:new XJ(new window.DataView(a.info.g.g.buffer)),b=wka(l,kK(b));return b||a.info.D};
uK=function(a){return g.VH(a.info.g.info)?a.o?a.o.D&&!!sJ(new window.DataView(a.g),0,1718909296):!1:dK(new XJ(new window.DataView(a.g)))};
vK=function(a){var b;if(g.VH(a.info.g.info)){var c=oK(a);if(b=sJ(c,0,1701671783)){b.skip(4);c=iJ(b);iJ(b);gJ(b);gJ(b);gJ(b);gJ(b);var d=new window.Uint8Array(new window.ArrayBuffer(b.size-b.g));var e=new window.Uint8Array(b.data.buffer,b.offset+b.g,b.size-b.g);d.set(e);b.g=b.size;d=d.buffer;b=b.offset;d=String.fromCharCode.apply(String,new window.Uint8Array(d));c=(d=rJ(d))?new pJ(d,c,b):null}else c=null}else c=new XJ(oK(a)),b=c.g,c.g=0,d=null,ZJ(c,[408125543,307544935,29555,26568,17543])&&(d=bK(c,
!0),d=String.fromCharCode.apply(String,iK(c,d)),d=(d=rJ(d))?new pJ(d,null):null),c.g=b,c=d;a.o=c};
g.wK=function(){this.rE=this.DD=!1;this.sn=2;this.B=20971520;this.C=8388608;this.o=window.NaN;this.na=3145728;this.M=62914560;this.bb=10485760;this.Qn=this.sa=0;this.H=window.NaN;this.Hf=0;this.og=this.Fw=2;this.Ha=3;this.pg=!1;this.ew=2;this.Gb=25;this.R=2097152;this.bw=1048576;this.ea=!1;this.J=1800;this.wb=5;this.Wb=10;this.ye=15;this.ze=1;this.l=1.15;this.A=1.05;this.Yn=8;this.QB=!0;var a;!(a=sE("xboxone"))&&(a=AE())&&(a=/WebKit\/([0-9]+)/.exec(g.Gb),a=!(a&&602<=(0,window.parseInt)(a[1],10)));
this.BH=a||uE();this.Dd=!1;this.X=this.kw=!0;this.so=this.D=!1;this.hw=.8;this.Cd=!1;this.VE=!0;this.ba=this.Sh=!1;this.Ym=25;this.PH=this.LF=!1;this.ra=6;this.dj=this.ga=!1;this.Gf=.5;this.ng=this.Ma=!1;this.Ib=0;this.Tg=this.aA=!1;this.zc=0;this.Um=!1;this.Dw=2;this.K=this.Z=this.Rh=!1;this.Y=.5;this.Wa=2;this.Ta=this.ww=0;this.xw=1.5;this.Cw=this.Gd=.5;this.Pa=this.Xm=this.Eo=!1;this.rb=15;this.tb=1;this.iw=this.oD=this.xa=this.Vg=!1;this.Zm=0;this.F=this.pw=this.Ug=this.TE=this.cj=this.Fd=this.qw=
this.SE=this.FE=this.pD=!1;this.Th=1;this.bj=0;this.Qh=this.rw=this.fa=this.g=!1;this.Oc=0;this.yw=this.Ca=this.uw=this.Xb=this.Ed=this.Qc=this.Sg=!1;this.I=!0;this.Ew=this.Wm=this.Ph=this.mg=this.Gw=this.ia=this.kd=!1};
xka=function(a,b){1080<b.video.g&&!a.DD&&(a.B=36700160,a.C=5242880,a.na=10485760,a.R=4194304,a.DD=!0);2160<b.video.g&&!a.rE&&(a.B=104857600,a.H=13107200,a.rE=!0);a.bw=Math.max(65536,Math.min(a.R,5*b.g))};
yka=function(){this.A=this.g=this.l=this.o=this.B=0};
xK=function(a,b){a[b]||(a[b]=new yka);return a[b]};
g.yK=function(a){this.A=a;this.B=this.l=this.C="";this.g={};this.o=""};
AK=function(a){zK(a);return a.B};
BK=function(a){zK(a);return Kb(a.g,function(a){return null!==a})};
DK=function(a){zK(a);if("/videoplayback"!=a.l){var b=a.clone();b.set("playerfallback","1");return b}var c=a.Sa();b=new g.um(c);if(CK){var d=a.get("fvip");a=(0,window.decodeURIComponent)(a.get("mn")||"").split(",");if(d&&a&&1<a.length&&a[1])return c=b.l.replace(/^[^.]*/,""),g.wm(b,"r"+d+"---"+a[1]+c),b=new g.yK(b.toString()),b.set("fallback_count","1"),b}d=b.l.match("\\.a1\\.googlevideo\\.com$");b.l.match("\\.googlevideo\\.com$")?(g.wm(b,"redirector.googlevideo.com"),c=b.toString()):b.l.match("r[1-9].*\\.c\\.youtube\\.com$")?
(g.wm(b,"www.youtube.com"),c=b.toString()):c=hH(c);b=new g.yK(c);b.set("cmo=pf","1");d&&b.set("cmo=td","a1.googlevideo.com");return b};
zK=function(a){if(a.A){if(!dH(a.A))throw Error("Untrusted URL: "+a.A);var b=g.Em(a.A);a.C=b.A;a.B=b.l+(null!=b.B?":"+b.B:"");var c=b.o;if(0==c.indexOf("/videoplayback"))a.l="/videoplayback",c=c.substr(14);else if(0==c.indexOf("/api/manifest")){var d=c.indexOf("/",12),e=c.indexOf("/",d+1);0<d&&0<e?(a.l=c.substr(0,e),c=c.substr(e+1)):(a.l=c,c="")}else a.l=c,c="";d=a.g;a.g=EK(c);g.Fa(a.g,FK(b.bz()));g.Fa(a.g,d);"index.m3u8"==a.g.file&&(delete a.g.file,a.l+="/file/index.m3u8");a.A="";a.o=""}};
zka=function(a){zK(a);var b=a.C+(a.C?"://":"//")+a.B+a.l;if(BK(a)){var c=[];g.Ib(a.g,function(a,b){null!==a&&c.push(b+"="+a)});
b+="?"+c.join("&")}return b};
EK=function(a){a=a.split("/");var b=0;a[0]||b++;for(var c={};b<a.length;b+=2)a[b]&&GK(c,a[b],a[b+1]);return c};
FK=function(a){a=a.split("&");for(var b={},c=0;c<a.length;c++){var d=a[c],e=d.indexOf("=");0<e?GK(b,d.substr(0,e),d.substr(e+1)):d&&(b[d]="")}return b};
GK=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};
HK=function(a){this.g=a;this.l={};this.o=""};
Aka=function(a,b){var c=b.indexOf("?");if(0<c){var d=FK(b.substr(c+1));g.Ib(d,function(a,b){this.set(b,a)},a);
b=b.substr(0,c)}c=EK(b);g.Ib(c,function(a,b){this.set(b,a)},a)};
Bka=function(a){var b=a.g.Sa(),c=[];g.Ib(a.l,function(a,b){c.push(b+"="+a)});
if(!c.length)return b;var d=c.join("&");a=BK(a.g)?"&":"?";return b+a+d};
IK=function(a,b){var c=new g.yK(b),d=c.get("req_id");d&&a.set("req_id",d);g.Ib(a.l,function(a,b){c.set(b,null)});
return c};
Cka=function(a){this.B=a.clone();this.o=a;this.l=null;this.A=this.g=0};
KK=function(a,b,c){var d=xK(c,AK(a.o));if(d.l>=b.Dw||1<=d.g)if(a=JK(a),c=xK(c,AK(a)),c.l+c.g<=d.l+d.g)return!0;return!1};
g.LK=function(a,b){var c=b?JK(a):a.o;return new HK(c)};
JK=function(a){a.l||(a.l=DK(a.B));return a.l};
MK=function(a){return 1<a.g?a.A+1E3*Math.pow(1.6,a.g-1)<g.gG():!0};
g.NK=function(a,b,c){b.g===a.o&&(a.o=IK(b,c));b.g===a.l&&(a.l=IK(b,c))};
OK=function(a,b){this.l=a[0].g.A;this.A=b||"";this.g=a;this.range=this.g[0].range&&0<this.g[0].Xa?uka(this.g):null;this.B=this.o=window.NaN;this.C=this.requestId=null};
PK=function(a){return PJ(a.g[0])};
QK=function(a){return 4==a.g[a.g.length-1].type};
g.RK=function(a,b,c,d){/http[s]?:\/\//.test(a.A)?b=new HK(new g.yK(a.A)):(b=null===a.C?KK(a.l,b,c):a.C,b=g.LK(a.l,b),a.A&&Aka(b,a.A));(d=d||a.range)&&b.set("range",d.toString());a.requestId&&b.set("req_id",a.requestId);(0,window.isNaN)(a.o)||b.set("headm",a.o.toString());(0,window.isNaN)(a.B)||b.set("mffa",a.B+"ms");return b};
SK=function(a){if(a.range)return a.range.length;a=a.g[0];return Math.round(a.D*a.g.info.g)};
Dka=function(a,b,c){return a.range?new g.KJ(a.range.start+b,a.range.end):MJ(b,c)};
TK=function(a,b,c){this.index=null;this.info=b;this.initRange=c||null;this.g=null;this.C=!1;this.B=null;this.F=0;this.A=new Cka(a);this.o=null;this.H=window.NaN};
UK=function(a,b){a.info&&a.info.video&&4==a.info.video.projectionType&&!a.o&&(g.VH(a.info)?a.o=ska(b):2==a.info.containerType&&(a.o=vka(b)))};
VK=function(a,b,c,d,e,f){f=void 0===f?0:f;TK.call(this,a,b,d);this.index=e||new g.aJ;this.D=f;this.J=c;this.I=!0;if(this.l=!c)this.C=!0};
WK=function(a,b,c){this.segments=[];this.l=a;this.A=void 0===b?0:b;this.g=void 0===c?!1:c;this.o=-1};
YK=function(a,b,c){b=XK(a,b);return 0<=b&&(c||!a.segments[b].g)};
ZK=function(a){return a.segments.length?a.segments[a.segments.length-1]:null};
XK=function(a,b){return g.cb(a.segments,{wa:b},function(a,b){return a.wa-b.wa})};
$K=function(a,b,c){return new $I(b,c.startTime-(c.wa-b)*a.l,a.l,0,"sq/"+b,void 0,void 0,!0)};
aL=function(a,b,c,d,e){d=void 0===d?!1:d;e=void 0===e?14400:e;VK.call(this,a,b,"",void 0,void 0,c);this.index=new WK(c||0,e,d)};
Eka=function(a,b,c,d,e){this.wa=a;this.We=b;this.durationSecs=c;this.g=d||window.NaN;this.l=e||window.NaN};
bL=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""};
cL=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};
dL=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)};
eL=function(a){return a.match(/^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2})\.(\d{3})$/)?a+"Z":a};
fL=function(){this.g=[];this.l=null;this.B=0;this.A=[];this.o=!1;this.C=""};
Fka=function(a){var b=a.A;a.A=[];return b};
Gka=function(){this.A=[];this.g=null;this.l={};this.o={}};
Kka=function(a,b,c){var d=[];b=Array.from(b.getElementsByTagName("SegmentTimeline"));b=g.p(b);for(var e=b.next();!e.done;e=b.next()){e=e.value;var f=e.parentNode.parentNode,k=null;"Period"==f.nodeName?k=Hka(a):"AdaptationSet"==f.nodeName?k=Ika(a,f.attributes.id?f.attributes.id.value:f.attributes.mimetype.value):"Representation"==f.nodeName&&(k=Jka(a,f.attributes.id.value));if(null==k)return;k.update(e,c);Xa(d,Fka(k))}faa(d,function(a){return a.We});
Xa(a.A,d)};
Lka=function(a){a.g&&(a.g.g=[]);g.Ib(a.l,function(a){a.g=[]});
g.Ib(a.o,function(a){a.g=[]})};
Hka=function(a){a.g||(a.g=new fL);return a.g};
Ika=function(a,b){a.l[b]||(a.l[b]=new fL);return a.l[b]};
Jka=function(a,b){a.o[b]||(a.o[b]=new fL);return a.o[b]};
gL=function(a,b,c,d,e){TK.call(this,a,b,d||void 0);this.index=new g.aJ;this.indexRange=e;this.l=c};
hL=function(a,b,c){var d=a.index.Rr(b),e=a.index.Nd(b),f=a.index.getDuration(b),k;c?f=k=0:0<a.info.g&&(k=a.info.g*f);a=new OJ(3,a,null,b,e,f,0,k,b==a.index.Qb()&&0<k);return new OK([a],d)};
Mka=function(a,b){if(!a.index.Kb()){for(var c=[],d=b.H,e=b.I.split(",").filter(function(a){return 0<a.length}),f=0,k=0,l=0,m=/^(\d+)/,n=/r=(\d+)/,q=0;q<d;q++){if(0>=l)if(l=e.shift(),k=(k=m.exec(l))?+k[1]/1E3:0)l=(l=n.exec(l))?+l[1]:0,l+=1;
else return;c.push(new $I(q,f,k,window.NaN,"sq/"+(q+1)));f+=k;l--}bJ(a.index,c)}};
g.iL=function(){this.Ja=0;this.g=new window.Float64Array(128);this.l=new window.Float64Array(128);this.A=1;this.o=!1};
jL=function(a){if(a.g.length<a.Ja+1){var b=2*a.g.length;b+=2;var c=a.g;a.g=new window.Float64Array(b+1);var d=a.l;a.l=new window.Float64Array(b+1);for(b=0;b<a.Ja+1;b++)a.g[b]=c[b],a.l[b]=d[b]}};
kL=function(a,b,c){a.Ja++;jL(a);a.g[a.Ja]=a.g[a.Ja-1]+b;a.l[a.Ja]=a.l[a.Ja-1]+c};
g.lL=function(a,b,c,d,e,f){TK.call(this,a,b,c||void 0);this.indexRange=d;this.D=null;this.index=new g.iL;this.l=e;this.lastModified=f};
mL=function(a,b,c,d){for(var e=[];b<=a.index.Qb();b++){var f=a.index,k=b;f=MJ(f.bp(k),k+1<f.Ja||f.o?f.g[k+1]-f.g[k]:-1);k=a.index.Nd(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 OJ(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 OK(e)};
Nka=function(a,b){return nL(function(a,b){return g.KE(a,b,4,1E3)},a,b)};
g.oL=function(a){var b;a.responseType&&"text"!=a.responseType?"arraybuffer"==a.responseType&&(b=String.fromCharCode.apply(String,new window.Uint8Array(a.response))):b=a.responseText;return!b||2048<b.length?"":0==b.indexOf("https://")?b:""};
nL=function(a,b,c){return a(b,c).then(function(b){var d=g.oL(b);return d?nL(a,d,c):b})};
qL=function(a){a=a.split("");pL.yq(a,27);pL.Z0(a,50);pL.ZB(a,2);pL.yq(a,80);pL.ZB(a,3);return a.join("")};
rL=function(a,b,c){a=void 0===a?"":a;b=void 0===b?null:b;c=void 0===c?!1:c;g.HF.call(this);this.R=this.duration=0;this.isLive=this.o=!1;this.I=g.gG();this.D=window.Infinity;this.g={};this.X=a||"";this.C=this.K=0;this.B=null;this.fa=!!b&&b.g("html5_live_nonzero_first_segment_start_time");this.l=!1;this.J=[];this.ga=!!b&&b.g("html5_live_self_init_segments");this.A=null;this.ia=c;this.ba=!b||!b.g("html5_manifest_without_credentials");this.F=0;this.M=!!b&&b.g("disable_html5_manifest_namespace_redux");
this.Y="";this.H=window.NaN;this.Z=b&&b.g("disable_html5_duration_caching")?window.Infinity:10};
sL=function(a){return Kb(a.g,function(a){return!!a.info.Kc})};
g.tL=function(a){return Kb(a.g,function(a){return g.ZH(a.info.mimeType)})};
Oka=function(a){return g.Lb(a.g,function(a){return a.info.video?a.tp():!0})};
uL=function(a,b){a.g[b.info.id]=b};
vL=function(a,b,c,d,e){c=void 0===c?0:c;d=void 0===d?!1:d;var f=Pka(a),k=e&&e.g("html5_manifestless_otf");return d?Qka(a,b,e):3==f&&k?Rka(a,b,c,e):Ska(a,b,c,e)};
Ska=function(a,b,c,d){c=void 0===c?0:c;var e=new rL("",d,!1);e.duration=c||0;(0,g.C)(a,function(a){var c=wL(a,b,e.duration),d=LJ(a.init),f=LJ(a.index),n=(0,window.parseInt)(a.clen,10),q=xL(a.url,a.sp,a.s);a=(0,window.parseInt)(a.lmt,10);q&&uL(e,new g.lL(q,c,d,f,n,a))});
return e};
Rka=function(a,b,c,d){c=void 0===c?0:c;var e=new rL("",d,!1);e.duration=c||0;(0,g.C)(a,function(a){var c=wL(a,b,e.duration),d=xL(a.url,a.sp,a.s);if(g.VH(c)&&d)if(c.video&&3==c.video.A)uL(e,new gL(d,c,"sq/0",null,null));else{var f=LJ(a.init);a=LJ(a.index);uL(e,new gL(d,c,"",f,a))}});
return e};
Qka=function(a,b,c){var d=new rL("",c,!0);(0,g.C)(a,function(a){var e=wL(a,b),k=xL(a.url,a.sp,a.s),l=(0,window.parseInt)(a.target_duration_sec,10);a=(0,window.parseInt)(a.max_dvr_duration_sec,10)||14400;k&&uL(d,new aL(k,e,l,c&&c.g("html5_manifestless_interpolate"),a))});
d.o=!0;d.l=!0;d.isLive=!0;return d};
wL=function(a,b,c){c=void 0===c?0:c;var d=a.type,e=a.itag,f=Tka(a),k=null,l=null;YH(d)&&(k=(a.size||"640x360").split("x"),k=new NH(+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=Uka(d,k));var m=null,n=null;if(XH(d)){m=0;if("258"==e||"261"==e)m=6;m=new KH(void 0,m,+a.spatial_audio_type);a.name&&(n=new FH(a.name,a.audio_track_id,"1"==a.isDefault))}a.caption_display_name&&a.caption_vss_id&&
a.caption_language_code&&(l=new gka(a.caption_display_name,a.caption_vss_id,a.caption_language_code,a.caption_kind));e=(0,window.parseInt)(a.bitrate,10)/8;var q=(0,window.parseInt)(a.clen,10);c=c&&q?q/c:0;var r=null;b&&a.drm_families&&(r={},(0,g.C)(a.drm_families.split(","),function(a){r[a]=b[a]}));
return new SH(f,d,m,k,n,r,e,c,l)};
Pka=function(a){return(0,g.zj)(a,function(a){return 3==+a.stream_type})?3:0};
Tka=function(a){var b=a.itag,c=a.xtags;c&&(b=a.itag+";"+c);return b};
xL=function(a,b,c){b=void 0===b?"":b;c=void 0===c?"":c;var d=new g.yK(a);a.match(/https:\/\/yt.akamaized.net/)||d.set("alr","yes");c&&(b||(b="signature"),d.set(b,qL(c)));return d};
AL=function(a,b){var c=bL(b,"id");c=c.replace(":",";");"captions"==c&&(c=bL(b,"lang"));var d=bL(b,"mimeType"),e=bL(b,"codecs");d=e?d+'; codecs="'+e+'"':d;e=(0,window.parseInt)(bL(b,"bandwidth"),10)/8;var f=(0,window.parseInt)(cL(b,"BaseURL").getAttribute(yL(a,"contentLength")),10);f=a.duration&&f?f/a.duration:0;var k=null;if(YH(d)){k=(0,window.parseInt)(bL(b,"width"),10);var l=(0,window.parseInt)(bL(b,"height"),10),m=(0,window.parseInt)(bL(b,"frameRate"),10),n=Vka(bL(b,yL(a,"projectionType")));a:switch(bL(b,
yL(a,"stereoLayout"))){case "layout_left_right":var q=1;break a;case "layout_top_bottom":q=2;break a;default:q=0}bL(b,"video_level");k=new NH(k,l,m,n,q,void 0,void 0,void 0,void 0,void 0,void 0)}m=l=null;if(XH(d))if(l=(0,window.parseInt)(bL(b,"audioSamplingRate"),10),m=(0,window.parseInt)(bL(b.getElementsByTagName("AudioChannelConfiguration")[0],"value"),10),n=Wka(bL(b,yL(a,"spatialAudioType"))),l=new KH(l,m,n),m=bL(b,"lang")||"und",n=cL(b,"Role")){var r=bL(n,"value")||"";Rb(zL,r)?(n=m+"."+zL[r],
q="main"==r,m=bL(b,yL(a,"langName"))||m+" - "+r,m=new FH(m,n,q)):m=null}else m=null;q=null;if(n=cL(b,"ContentProtection"))if(g.vE())if((q=n.attributes.schemeIdUri)&&"http://youtube.com/drm/2012/10/10"==q.value)for(q={},n=n.firstChild;null!=n;n=n.nextSibling)"yt:SystemURL"==n.nodeName&&(q[n.attributes.type.value]=n.textContent.trim());else q=null;else if((q=n.attributes.schemeIdUri)&&"http://youtube.com/drm/2012/10/10"==q.textContent)for(q={},n=n.firstChild;null!=n;n=n.nextSibling)"SystemURL"==n.localName&&
"http://youtube.com/yt/2012/10/10"==n.namespaceURI&&(q[n.attributes.type.textContent]=n.textContent.trim());else q=null;return new SH(c,d,l,k,m,q,e,f)};
Vka=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}};
Wka=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}};
BL=function(a,b){b=void 0===b?"":b;a.C=1;a.I=g.gG();return g.ig(Nka(b||a.X,{format:"RAW",method:"GET",withCredentials:a.ba}).then((0,g.A)(a.AJ,a)),(0,g.A)(a.DJ,a))};
CL=function(a,b){var c=new rL,d;for(d in a)c[d]=g.ac(a[d]);var e={},f=!1;g.Ib(a.g,function(a,c){if(a){var d=b(a,c);d?(e[c]=d,f=!0):e[c]=a}});
c.g=e;return f?c:null};
Xka=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=LJ(a):d=d+"?range="+a));return new $I(b.wa,b.We,b.durationSecs,b.g,d,e,b.l)};
DL=function(a){return a.isLive&&g.gG()-a.I>=a.D};
EL=function(a){var b=a.D;(0,window.isFinite)(b)&&(DL(a)?a.cB():(b=Math.max(0,a.I+b-g.gG()),a.A||(a.A=new g.Xt(a.cB,b,a),g.N(a,a.A)),a.A.start(b)))};
Yka=function(a){a=a.g;for(var b in a){var c=a[b].index;if(c&&c.Kb())return c.Qb()+1}return 0};
FL=function(a){if(!(0,window.isNaN)(a.H))return a.H;var b=a.g,c;for(c in b){var d=b[c].index;if(d&&d.Kb()){b=0;for(c=d.jf();c<=d.Qb();c++)b+=d.getDuration(c);b/=d.Cj();b=.5*Math.round(b/.5);d.Cj()>a.Z&&(a.H=b);return b}if(a.isLive&&(d=b[c],d.D))return d.D}return window.NaN};
GL=function(a,b){for(var c in a.g){var d=a.g[c].index;if(d&&d.Kb()){var e=d.Ag(b),f=d.cu(e);if(f)return f+b-d.Nd(e)}}return window.NaN};
Zka=function(a,b){g.Ib(a.g,function(a){g.Ib(b,function(b,c){var d=a.A;d.o.set(c,b);d.B.set(c,b);d.l&&d.l.set(c,b)})})};
$ka=function(a,b,c){var d=!1,e;for(e in a.g){var f=g.ZH(a.g[e].info.mimeType)||!!a.g[e].info.video;c==f&&(f=a.g[e].index,YK(f,b.wa)||(f.aB(b),d=!0))}return d};
HL=function(a,b,c){for(var d in a.g){var e=g.ZH(a.g[d].info.mimeType)||!!a.g[d].info.video;if(c==e){e=a.g[d].index;var f=XK(e,b);0<=f&&e.segments.splice(f,1)}}};
yL=function(a,b){return a.M?"yt:"+b:a.Y+":"+b};
Uka=function(a,b){null===IL&&(IL=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(!IL&&!JL||'video/webm; codecs="vp9"'!=a&&'video/webm; codecs="vp9.2"'!=a)return a;var c="00",d="08",e="01",f="01",k="01";'video/webm; codecs="vp9.2"'==a&&(c="02",d="10","bt2020"==b.primaries&&(k=e="09"),"smpte2084"==b.l&&(f="16"),"arib-std-b67"==
b.l&&(f="18"));return'video/webm; codecs="'+["vp09",c,"51",d,"01",e,f,k].join(".")+'"'};
ala=function(a){return g.Ka(Object.values(a.g),function(a){return a.info.Kc&&a.info.video?480<a.info.video.g&&"H"==a.info.l:!1})};
KL=function(a,b,c,d){this.flavor=a;this.g=b;this.A=c;this.o={};this.l=null;this.fairPlayCert="";this.B=!!d&&d.g("edge_nonprefixed_eme")};
ML=function(a){return a.B?!1:!a.l&&!!LL()&&"com.microsoft.playready"==a.g};
NL=function(a){return"com.microsoft.playready"==a.g};
PL=function(a){return OL&&"com.microsoft.playready"==a.g&&!!window.navigator.requestMediaKeySystemAccess};
QL=function(a){return!a.l&&!!LL()&&"com.apple.fps.1_0"==a.g};
LL=function(){var a=window.MSMediaKeys;AE()&&!a&&(a=window.WebKitMediaKeys);return a&&a.isTypeSupported?a:null};
SL=function(a){return window.navigator.requestMediaKeySystemAccess?g.zI?g.Ln("45"):OL||g.wd?a.g("edge_nonprefixed_eme"):g.RL?g.Ln("47"):!a.g("html5_disable_nonprefixed_eme_for_other"):!1};
TL=function(a,b,c){this.videoInfos=a;this.g=b||null;this.audioTracks=[];this.l=c||null;if(this.g){var d={};(0,g.C)(this.g,(0,g.A)(function(a){if(a.Hb&&!d[a.id]){var b=new JH(a.id,a.Hb);d[a.id]=b;this.audioTracks.push(b)}},this))}};
UL=function(a){if(!a.g)return!1;a=g.p(a.videoInfos);for(var b=a.next();!b.done;b=a.next())if(32<b.value.video.fps)return!0;return!1};
VL=function(a,b){var c={},d=b.lf()||b.Vf()||b.Wf();wE();for(var e in b.g){var f=b.g[e],k=RH(f.info);("304"!=k&&"266"!=k||b.o||d)&&pka(a,f.info)&&(c[f.info.l]=c[f.info.l]||[],c[f.info.l].push(f.info))}return c};
bla=function(a,b,c){var d={},e;g.Ib(b,function(b,k){var f=b.filter(function(b){if(!b.Kc)return!0;if(!c||!b.Kc[c.flavor]||!c.o[b.mimeType])return!1;if("261"==RH(b)&&!EI(a,LI))return e||(e=oI()),!1;(b="("!=b.l&&"(h"!=b.l)||(b=EI(a,KI)||a.C);return b?!0:!1});
f.length&&(d[k]=f)});
return d};
aM=function(a,b,c,d,e,f,k){function l(a){return!!m[a]}
var m=VL(a,b);sL(b)&&(m=bla(a,m,c));var n=dla;f?n=ela:sE("windows nt 5.1")&&!g.RL?n=WL:(b.Vf()||b.Wf()||b.lf())&&XL&&6>=CI&&(n=WL);c=fla;d&&(f||(n=WL),c=gla);if(yE()||zE()||EI(a,LI))c=hla;(b.Vf()||b.Wf()||b.lf())&&e&&(c=ila.concat(c));k&&(c=g.Wa(c),c.unshift("ah"));d=g.Ka(n,l);e=g.Ka(c,l);if(!d||!e)return ME();"9"==d&&m.h&&(f=function(a,b){return Math.max(a,b.video.height)},k=Ij(m["9"],f,0),Ij(m.h,f,0)>1.5*k&&(d="h"),b.o&&a.l.g("html5_vp9_live_blacklist_edge")&&OL&&(d="h"));
b=m[d];f=m[e];b=ZL(a,b);$L(b,f);return NE(new TL(b,f,jla(a,m,d,e)))};
jla=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=ZL(a,e),$L(e,f),new TL(e,f)):null};
$L=function(a,b){g.fb(a,function(a,b){return b.video.height*b.video.width-a.video.height*a.video.width||b.g-a.g});
g.fb(b,function(a,b){return b.g-a.g})};
ZL=function(a,b){var c=(0,g.zj)(b,function(a){return 32<a.video.fps});
c&&(b=a.B||EI(a,II)?(0,g.Jd)(b,function(a){var b;(b=32<a.video.fps)||(a=a.video,b=!(854<a.width||480<a.height));return b}):(0,g.Jd)(b,function(a){return!(32<a.video.fps)}));
c&&yE()&&(b=(0,g.Jd)(b,function(a){return"299"!=RH(a)}));
return b};
bM=function(a,b,c){g.M.call(this);this.l=[];this.g={};this.A={};this.B=null;this.o=b;this.H=c;this.C=!1;kla(this,a)};
kla=function(a,b){for(var c in b)for(var d=g.p(b[c]),e=d.next();!e.done;e=d.next()){e=e.value;if(!e.Kc)return;for(var f in e.Kc){if(!cM[f])return;for(var k=g.p(cM[f]),l=k.next();!l.done;l=k.next())l=l.value,a.g[l]=a.g[l]||new KL(f,l,e.Kc[f],a.o),a.A[f]=a.A[f]||{},a.A[f][e.mimeType]=!0}}xE()?(a.l=["com.youtube.fairplay"],a.g["com.youtube.fairplay"]=new KL("fairplay","com.youtube.fairplay","",a.o),a.A.fairplay={'audio/mp4; codecs="avc1.4d4015"':!0,'video/mp4; codecs="mp4a.40.2"':!0}):a.l=lla.filter(function(b){return a.g[b]?
!(a.H&&"widevine"==a.g[b].flavor):!1})};
dM=function(a){if(!a.ka())if(0==a.l.length)a.B(null);else{var b=a.l[0],c=a.g[b],d={initDataTypes:["cenc","webm"],audioCapabilities:[],videoCapabilities:[]};NL(c)&&(d.initDataTypes=["keyids","cenc"]);for(var e in a.A[c.flavor]){var f=0==e.indexOf("audio/"),k=f?d.audioCapabilities:d.videoCapabilities;a.o.g("html5_widevine_robustness_strings")&&"widevine"==c.flavor&&!a.C?f?k.push({contentType:e,robustness:"SW_SECURE_CRYPTO"}):(f=a.o.g("html5_widevine_hw_secure_all")?"HW_SECURE_ALL":"HW_DECODE_ALL",k.push({contentType:e,
robustness:f}),k.push({contentType:e,robustness:"SW_SECURE_DECODE"})):k.push({contentType:e})}window.navigator.requestMediaKeySystemAccess(b,[d]).then(SD((0,g.A)(a.F,a,c)),SD((0,g.A)(a.D,a)))}};
mla=function(a,b){function c(a){b.o[a.contentType]=!0}
if(NL(b)){var d=oI(),e;for(e in a.A[b.flavor])b.o[e]=!!d.canPlayType(e)}else d=b.l.getConfiguration(),d.audioCapabilities&&d.audioCapabilities.forEach(c),d.videoCapabilities&&d.videoCapabilities.forEach(c)};
ola=function(a){if(LL()&&g.eM)a.B(new KL("fairplay","com.apple.fps.1_0","",a.o));else{var b=nla(),c=g.Ka(a.l,function(c){var d=a.g[c],f=!1,k=!1,l;for(l in a.A[d.flavor])b(l,c)&&(d.o[l]=!0,f=f||0==l.indexOf("audio/"),k=k||0==l.indexOf("video/"));return f&&k});
c=c?a.g[c]:null;a.l=[];a.B(c)}};
nla=function(){var a=LL();if(a)return function(b,d){return a.isTypeSupported(d,b)};
var b=oI();return b&&(b.addKey||b.webkitAddKey)?(0,g.A)(b.canPlayType,b):function(){return!1}};
pla=function(){this.A=2048;this.g=17;this.o=13E4;this.D=.5;this.l=!1;this.B=0;this.C=!1};
qla=function(){this.l=0;this.C=this.bandwidthEstimate=this.B=this.o=this.A=window.NaN;this.g=""};
fM=function(a){this.B=Math.exp(Math.log(.5)/a);this.o=this.A=0};
hM=function(a,b,c,d){c=void 0===c?.5:c;d=void 0===d?0:d;this.J=b;this.o=Math.round(a*this.J);this.B=Array(this.o);for(a=0;a<this.o;a++)this.B[a]=window.Infinity;this.I=gM(this);this.A=0;this.C=!1;this.F=!0;this.D=c;this.H=d};
gM=function(a){for(var b=Array(a.o),c=0;c<a.o;c++)b[c]=c;return b};
iM=function(a,b){if(!a.C&&0==a.A)return 0;a.F&&(g.fb(a.I,function(b,d){return a.B[b]-a.B[d]}),a.F=!1);
return a.B[a.I[Math.round(b*((a.C?a.o:a.A)-1))]]||0};
rla=function(a){this.policy=a;this.H=this.I=0;this.C=-1;this.B=this.o=g.gG();this.F=new hM(4,1,.6,.4);this.A=new hM(10,1,.5,.4);this.g=a.l?new fM(a.g):new hM(a.g,20,.5,.4);this.D=new hM(5,1,.25);this.l=new hM(30,1,.5);a=g.OG("yt-player-bandwidth")||{};this.g.g(this.policy.D,0<a.byterate?a.byterate:this.policy.o);0<a.delay&&this.F.g(1,Math.min(+a.delay,2));0<a.stall&&this.A.g(1,+a.stall);0<a.init&&(this.B=Math.min(a.init,this.B));this.C=g.gG()};
kM=function(a,b,c){b=Math.max(b,a.policy.A);a.A.g(1,c/b);jM(a)};
lM=function(a){a=a.F.l();a=(0,window.isNaN)(a)?.5:a;return a=Math.min(a,5)};
mM=function(a,b,c){(0,window.isNaN)(c)||(a.H+=c);(0,window.isNaN)(b)||(a.I+=b)};
nM=function(a){a=a.g.l();return 0<a?a:1};
oM=function(a){var b=nM(a);b=1/((a.A.l()||0)+1/b);a=a.D.l();return Math.max(b,0<a?a:1)};
pM=function(a){var b={};b.delay=lM(a);b.stall=a.A.l()||0;b.byterate=nM(a);b.init=a.B;return b};
jM=function(a){-1<a.C&&3E4<g.gG()-a.C&&(TG(pM(a)),a.C=g.gG())};
qM=function(a){return 4E3<=g.gG()-a.o};
rM=function(){g.HF.call(this);this.La={}};
sM=function(a,b){return void 0==b?a:"1"==b?!0:!1};
tM=function(a,b,c){for(var d in c)if(c[d]==b)return c[d];return a};
uM=function(a,b){return void 0==b?a:Number(b)};
vM=function(a,b){return void 0==b?a:b.toString()};
wM=function(a,b){if(b){if("fullwidth"==a)return window.Infinity;if("fullheight"==a)return 0}if(a){var c=a.match(sla);if(c){var d=(0,window.parseFloat)(c[2]);if(0<d)return(0,window.parseFloat)(c[1])/d}}return window.NaN};
xM=function(a){return a.docid||a.video_id||a.videoId||a.id};
zM=function(){this.g=g.QD("ALT_PREF_COOKIE_NAME","PREF");var a=wG.get(""+this.g,void 0);if(a){a=(0,window.decodeURIComponent)(a).split("&");for(var b=0;b<a.length;b++){var c=a[b].split("="),d=c[0];(c=c[1])&&(yM[d]=c.toString())}}};
AM=function(a){if(/^f([1-9][0-9]*)$/.test(a))throw Error("ExpectedRegexMatch: "+a);};
BM=function(a){if(!/^\w+$/.test(a))throw Error("ExpectedRegexMismatch: "+a);};
RM=function(a){g.M.call(this);a=g.$b(a);this.dj=!1;this.J=this.ga="";this.Xb={};this.Rh=vM("",a.csp_nonce);this.experiments=new aI(a.fexp,a.fflags);this.forcedExperiments=a.forced_experiments||null;try{var b=window.document.location.toString()}catch(e){b=""}this.rb=b;this.ng=(b=window.location.ancestorOrigins)?Array.from(b):[];this.loaderUrl=(this.g=sM(!1,a.is_embed))?vM("",a.loaderUrl):this.rb;this.yb=tla.test(this.loaderUrl);b=this.loaderUrl;var c=void 0===c?!1:c;this.Um=ZG(ula.test(b),b,c,"Trusted Ad Domain URL");
this.ra=sM(!1,a.privembed);this.H=(this.na=sM(!1,a.forcenewui))||this.experiments.g("embed_new_info_bar")&&this.g;this.protocol=0==this.rb.indexOf("http:")?"http":"https";this.baseYtUrl=$G(a.BASE_YT_URL||"")||$G(this.rb)||this.protocol+"://www.youtube.com/";c=a.el;b="detailpage";"adunit"==c?b=this.g?"embedded":"detailpage":"embedded"==c||this.yb?b=tM(b,c,vla):c&&(b="embedded");this.R=b;rG();c=null;b=a.ps;var d=g.Oa(CM,b);!b||d&&!this.yb||(c=b);this.playerStyle=c;this.D=(this.sc=g.Oa(CM,this.playerStyle))&&
"play"!=this.playerStyle&&"jamboard"!=this.playerStyle;this.cj=!this.D;c={};this.l=(c.c=a.c||"web",c.cver=a.cver||"html5",c.cplayer="UNIPLAYER",c);this.F=sM(!1,a.disableplaybackui);this.ia=!this.F&&!(!oI().defaultPlaybackRate||g.cf&&!sE("chrome")||DM||EM||sE("android")||sE("silk"));this.o=sM("blazer"==this.playerStyle,a.is_html5_mobile_device);this.o?c=!0:(c=(0,window.parseInt)((0,g.G)()/1E3,10),b=zM.getInstance(),c=this.experiments.g("block_desktop_background_playback_with_mobile_cookie")&&b&&c>
(0,window.parseInt)(b.get("dhmu",c.toString()),10));this.bj=c;this.Y="3"==this.A||this.o||sM(!1,a.use_media_volume);this.I=pI();this.Ym=FM;this.Pa=g.GM(this);this.Qc=this.na||sM(!HM(this)&&!IM(this)&&!this.sc,a.showinfo);this.pg=sM(!1,a.playsinline);c=this.o&&XL&&2.3>=CI;b=this.o;b=JM(this)||!c&&sM(b,a.use_native_controls)?"3":"1";this.A="0"!=a.controls?b:"0";this.useTabletControls=this.o;this.color=tM("red",a.color,wla);this.Wm="3"==this.A||sM(!1,a.modestbranding)&&"red"==this.color;this.ba=this.experiments.g("player_preview_el_killswitch")?
0==this.loaderUrl.indexOf(this.baseYtUrl):!this.g;this.Tg=(b=!this.ba&&!IM(this)&&!this.D&&!this.sc&&!HM(this))&&!this.Wm&&"1"==this.A;this.Cd=g.KM(this)&&b&&!this.Qc&&!this.Tg;this.Eo=this.Xm=c;this.Fd=!EM||g.oc(601)?!0:!1;this.Hf=this.g||!1;this.sa=IM(this)?"":(this.loaderUrl||a.post_message_origin||"").substring(0,128);this.widgetReferrer=vM("",a.widget_referrer);this.tb=(!this.yb||sM(!0,a.enablecastapi))&&"1"==this.A&&!this.o&&(IM(this)||g.KM(this)||g.LM(this));this.Dd=!this.o&&!BE()&&!sE("nintendo 3ds")||
sM(!1,a.autoplayoverride);this.Ed=sM(!1,a.mutedautoplay)&&!1;c=(IM(this)||HM(this))&&"blazer"==this.playerStyle;this.Ib=!sM(!0,a.fs);this.fa=!this.Ib&&(c||fF());this.Qh=this.experiments.g("uniplayer_block_pip")&&uE()&&g.Ln(58)&&!(g.Un&&sE("version/"));this.kd=this.na||sM(!this.sc,a.rel);this.sn=sM(!1,a.co_rel);this.Ma=g.LM(this);this.Oc="blazer"==this.playerStyle;switch(this.playerStyle){case "blogger":c="bl";break;case "gmail":c="gm";break;case "books":c="gb";break;case "docs":c="gd";break;case "google-live":c=
"gl";break;case "play":c="gp";break;case "chat":c="hc";break;case "picasaweb":c="pw";break;default:c="yt"}this.ea=c;this.bd=vM("",a.authuser);this.Qn=(this.g&&!this.ra||!!this.bd)&&sM(!this.D,this.yb?a.showwatchlater:void 0);this.ye=sM(!1,a.disablekb);this.Gf=vM("",a.ecver);this.loop=sM(!1,a.loop);this.pageId=vM("",a.pageid);this.Zm=sM(!0,a.canplaylive);this.Sh=sM(this.sc,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.hd(c,b))):c=null;this.Ug=c;this.mute=sM(!1,a.mute);this.useMiniplayerUi=sM(!1,a.use_miniplayer_ui);this.storeUserVolume=!this.mute&&sM("0"!=this.A,a.store_user_volume);this.Wg="3"==this.A?3:tM(void 0,a.iv_load_policy,MM);this.Yg=vM("",a.cc_lang_pref);c=tM(2,a.cc_load_policy,MM);"3"==this.A&&2==c&&(c=3);this.Zg=c;this.xa=vM("en_US",a.hl);this.region=vM("US",a.cr);this.hostLanguage=vM("en",a.host_language);this.Ph=!this.ra&&Math.random()<
this.experiments.l("web_player_api_logging_fraction");this.X=!this.ra&&!this.experiments.g("web_player_interaction_logging_killswitch");this.wb=new window.Set;this.deviceHasDisplay=sM(!0,a.deviceHasDisplay);this.Eg=uM(this.Eg,a.ismb);c=a;this.experiments.o("html5_qoe_intercept")?c=this.experiments.o("html5_qoe_intercept"):this.cj?(c=c.vss_host||"s.youtube.com",this.experiments.g("www_for_videostats")&&"s.youtube.com"==c&&(c=NM(this.baseYtUrl)||"www.youtube.com")):c="video.google.com";this.Vg=c;this.Qg(a);
this.Xb=a;this.C=new rM;g.N(this,this.C);this.B=this.o&&!this.experiments.g("enable_svg_mode_on_embed_mobile");this.mg={innertubeApiKey:vM("",a.innertube_api_key),innertubeApiVersion:vM("",a.innertube_api_version),Ts:this.l.c,innertubeContextClientVersion:vM("",a.innertube_context_client_version),Vs:this.hostLanguage,Us:this.region,Ao:""};this.Sg=void 0!=window.WebKitPlaybackTargetAvailabilityEvent;this.M=new lka(this.experiments,this.experiments.g("html5_force_hfr_support")?!0:g.OM(this)||yE()||
zE()||PM(this),g.zI&&56<=g.rE()||PM(this));c=new pla;g.QM(this)&&(c.l=!0,c.D=.1);this.experiments.g("html5_ewma_bandwidth_estimator")&&(c.l=!0);this.Eg&&(c.o=this.Eg/8);c.g=this.experiments.l("html5_bandwidth_window_size")||c.g;c.C=this.experiments.g("html5_dont_predict_end_time_in_past");this.schedule=new rla(c);this.enableSafetyMode=sM(!1,a.enable_safety_mode);this.Gd=sM(this.F?!1:IM(this)&&"blazer"!=this.playerStyle,a.autonav);this.Ca=sM(!1,a.send_visitor_id_header)||this.experiments.A;this.Xg=
!1;this.zc=WI;this.og=g.gG();this.Z=0;this.Ge=!1;this.Yn=sM(!1,a.transparent_background);this.disableNativeContextMenu=sM(!1,"docs"==this.playerStyle?a.disable_native_context_menu:void 0);this.Th=g.OM(this)&&this.experiments.g("enable_skip_intro_button");this.ze=vM("",a.embed_config);this.so=sM(!0,a.use_fast_sizing_on_watch_default);this.Wb=!1};
SM=function(a,b){return!a.sc&&uE()&&g.Ln(55)&&!b};
TM=function(a){a=NM(a.baseYtUrl);return"www.youtube-nocookie.com"==a?"www.youtube.com":a};
UM=function(a){return"gaming"==a.playerStyle?"gaming.youtube.com":TM(a)};
VM=function(a,b,c){return a.protocol+"://i1.ytimg.com/vi/"+b+"/"+(c||"hqdefault.jpg")};
xla=function(){return g.tG()};
WM=function(){return!0};
YM=function(a){return IM(a)&&"gaming"!=a.playerStyle&&!g.XM(a)};
JM=function(a){return EM&&!a.pg||BE()||sE("nintendo 3ds")?!0:!1};
g.QM=function(a){if(!a.experiments.g("html5_tv_interface_check_killswitch")&&/^TVHTML5/.test(a.l.c))return!0;var b=g.zI&&sE("crkey")&&a.experiments.g("html5_tv_chromecast_check_killswitch");a=a.l.cplatform;return b||"TV"==a};
PM=function(a){return"CHROMECAST ULTRA/STEAK"==a.l.cmodel||"CHROMECAST/STEAK"==a.l.cmodel};
g.ZM=function(){return 1<window.devicePixelRatio?window.devicePixelRatio:1};
g.OM=function(a){return"web"==a.l.c.toLowerCase().substr(0,3)};
g.XM=function(a){return"WEB_UNPLUGGED"==a.l.c};
g.GM=function(a){return g.XM(a)||"TV_UNPLUGGED_CAST"==a.l.c||"TVHTML5_UNPLUGGED"==a.l.c};
g.$M=function(a){return a.deviceHasDisplay&&g.zI&&!BI&&"3"!==a.A?g.Un?a.g&&g.oc(51):!0:!1};
g.aN=function(a){return a.deviceHasDisplay&&g.RL&&!BI&&"3"!==a.A?g.Un?a.g&&g.oc(48):g.oc(38):!1};
bN=function(a){return g.$M(a)||g.aN(a)||(a.deviceHasDisplay&&g.cf&&!BI&&"3"!==a.A?g.Un?a.g&&g.oc(37):g.oc(27):!1)||a.deviceHasDisplay&&g.mH&&!CE()&&g.oc(11)||a.deviceHasDisplay&&g.eM&&g.oc("604.4")&&a.experiments.g("safari_enable_spherical")};
yla=function(a){return a.experiments.g("disable_html5_ambisonic_audio")||!(bN(a)||a.experiments.g("html5_enable_spherical")||a.experiments.g("html5_enable_spherical3d"))||g.KM(a)&&XL||g.RL&&(!g.oc(47)||!g.oc(52)&&g.oc(51))?!1:window.AudioContext||window.webkitAudioContext?!0:!1};
IM=function(a){return"detailpage"==a.R};
g.KM=function(a){return"embedded"==a.R};
g.cN=function(a){return"leanback"==a.R};
HM=function(a){return"adunit"==a.R||"gvn"==a.playerStyle};
g.LM=function(a){return"profilepage"==a.R};
dN=function(a){return DE()&&/(K\d{3}|KS\d{3}|KU\d{3})/.test(a.l.cmodel)};
zla=function(a){if(!a.K)return"";if(a.experiments.g("web_player_fife_url_killswitch"))return a.K;var b=a.K.split("/");return 8==b.length?(b.splice(7,0,"s20-c"),b.join("/")):9==b.length?(b[7]+="-s20-c",b.join("/")):a.K};
NM=function(a){var b=g.Fg(a);return(a=g.Gg(a))?b+":"+a:b};
g.eN=function(a,b,c){this.errorCode=a;this.g=b;this.details=c||{}};
fN=function(a){var b;for(b in a){var c=(""+a[b]).replace(/[:,]/g,"_");var d=(d?d+";":"")+b+"."+c}return d||""};
Ala=function(a,b,c,d,e,f,k,l,m,n){this.itag=a;this.url=b;this.g=c;this.width=d;this.height=e;this.bitrate=k;this.fps=f;this.audioItag=l||null;this.l=m||"";this.Hb=void 0===n?null:n};
gN=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 FH(e.name,e.audio_track_id,!!e.is_default));e=new Ala(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};
Bla=function(a,b,c,d){this.o=a;this.g=b;this.B=0;this.l="";this.A=c;this.C=d};
iN=function(a,b,c,d){b.push("#EXT-X-STREAM-INF:BANDWIDTH="+(c.bitrate+d.bitrate)+","+('CODECS="'+c.g+","+d.g+'",')+("RESOLUTION="+c.width+"x"+c.height+",")+('AUDIO="'+d.itag.toString()+'",')+"CLOSED-CAPTIONS=NONE");b.push(hN(a,c.url))};
hN=function(a,b){return a.A?g.Pg(b,{cpn:a.A}):b};
Cla=function(a,b){var c="#EXT-X-MEDIA:TYPE=AUDIO,",d="YES",e="audio";if(b.Hb){e=b.Hb;var f=e.getId().split(".")[0];f&&(c+='LANGUAGE="'+f+'",');a.l||e.isDefault||(d="NO");e=e.name}f=hN(a,b.url);return c=c+('NAME="'+e+'",'+("DEFAULT="+d+",AUTOSELECT=YES,"))+('GROUP-ID="'+b.itag.toString()+'",'+('URI="'+f+'"'))};
Dla=function(a){for(var b=[],c=[],d=0,e=a.g.length;d<e;++d){var f=a.g[d];f.bitrate<=a.B?b.push(f):c.push(f)}b.sort(function(a,b){return b.bitrate-a.bitrate});
c.sort(function(a,b){return a.bitrate-b.bitrate});
a.g=b.concat(c)};
jN=function(a,b){this.uj=a;this.o=b;this.l=null};
Ela=function(a,b,c,d,e){if(!(BI||AE()||xE()))return ME();c=gN(c);if(!c)return ME();var f={},k=(f.fairplay="https://youtube.com/api/drm/fps?ek=uninitialized",f),l;f=[];var m=[],n=[],q=a.experiments.l("html5_hls_min_video_height"),r=a.experiments.g("html5_hls_pair_all_audio"),v;for(v in c)if(!a.experiments.g("html5_disable_drm_hfr_1080")||"383"!=v&&"373"!=v){var E=g.p(c[v]);for(l=E.next();!l.done;l=E.next()){var H=l.value;if(H.width){if(!(H.height<q)){var L=c[H.audioItag];if(L&&(f.push(H),l="fairplay"==
H.l?k:null,n.push(kN(L,[H],e,H.itag,H.width,H.height,H.fps,r,void 0,void 0,l)),!T||H.width*H.height*H.fps>T.width*T.height*T.fps))var T=H}}else m.push(H)}}l=n.reduce(function(a,b){return!!b.uj.Kc&&a},!0)?k:null;
d=Math.max(d,a.experiments.l("html5_hls_initial_bitrate"));!a.experiments.g("html5_hls_optimal_resolution_killswitch")&&T?n.push(kN(m,f,e,"93",T.width,T.height,T.fps,r,"auto",d,l)):n.push(kN(m,f,e,"93",0,0,0,r,"auto",d,l));return RI(n,SM(a,b))};
kN=function(a,b,c,d,e,f,k,l,m,n,q){var r=new KH;e=new NH(e,f,k,null,void 0,m);d=new SH(d,"application/x-mpegURL",r,e,void 0,q);a=new Bla(a,b,c,l);a.B=n?n:1369843;return new jN(d,a)};
lN=function(a,b){this.uj=a;this.l=b};
mN=function(a,b,c,d){var e=[];c=g.p(c);for(var f=c.next();!f.done;f=c.next()){var k=f.value;if(k.url){f=new g.yK(k.url);k.s&&f.set(k.sp||"signature",qL(k.s));for(var l in d)f.set(l,d[l]);k=$H(k.type,k.quality,k.itag,k.width,k.height,!!k.isAccelerated,!!k.isAcceleratedUiEnabled);e.push(new lN(k,f))}}return RI(e,SM(a,b))};
nN=function(a,b){this.uj=a;this.l=b};
Fla=function(a){var b=[];(0,g.C)(a,function(a){if(a.url){var c=$H(a.type,"medium","0");b.push(new nN(c,a.url))}});
return b};
oN=function(a){if(a){var b=[],c;for(c in a)Gla.has(c)||b.push(c);b.length&&(b.sort(),g.RD(Error("Unknown house brand player vars: "+b.join(",")),"WARNING"))}};
g.pN=function(a,b,c,d){this.Vc=new window.Set;this.H=a;this.I=b;a=c.split("#");this.C=(0,window.parseInt)(a[0],10);this.B=(0,window.parseInt)(a[1],10);this.o=(0,window.parseInt)(a[2],10);this.columns=(0,window.parseInt)(a[3],10);this.rows=(0,window.parseInt)(a[4],10);this.g=(0,window.parseInt)(a[5],10);this.A=a[6];this.D=a[7];this.J=d};
g.qN=function(a,b){b>=a.gp()&&a.lk();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.lk()+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.Sa(c),column:f,columns:l,row:e,rows:d,yu:a.C*l,xu:a.B*d}};
rN=function(a){g.HF.call(this);this.A=new rD;this.l=null;this.F=new window.Set;this.D=a||""};
tN=function(a,b,c){for(c=sN(a,c);0<=c;){var d=a.g[c];if(d.Kb(Math.floor(b/(d.columns*d.rows)))&&(d=g.qN(d,b)))return d;c--}return g.qN(a.g[0],b)};
vN=function(a,b,c){c=sN(a,c);for(var d,e;0<=c;c--)if(d=a.g[c],e=Math.floor(b/(d.columns*d.rows)),!d.Kb(e)){d=a;var f=c,k=f+"-"+e;d.F.has(k)||(d.F.add(k),qD(d.A,f,{gA:f,IB:e}))}uN(a)};
uN=function(a){if(!a.l&&!a.A.isEmpty()){var b=a.A.remove(),c=new window.Image;a.D&&(c.crossOrigin=a.D);c.src=a.g[b.gA].Sa(b.IB);c.onload=(0,g.A)(a.H,a,b.gA,b.IB);a.l=c}};
wN=function(a,b,c,d){d=void 0===d?!1:d;rN.call(this,c);this.isLive=d;this.g=this.o(a,b);this.B=new window.Map;1<this.g.length&&this.g[0].isDefault()&&this.g.splice(0,1)};
sN=function(a,b){var c=a.B.get(b);if(c)return c;c=a.g.length;for(var d=0;d<c;d++)if(a.g[d].Db()>=b)return a.B.set(b,d),d;a.B.set(b,c-1);return c-1};
xN=function(a,b,c,d){c=c.split("#");c=[c[1],c[2],0,c[3],c[4],-1,c[0],""].join("#");g.pN.call(this,a,b,c,0);this.l=null;this.F=d?3:0};
yN=function(a,b,c){wN.call(this,a,0,void 0,b);for(a=0;a<this.g.length;a++)this.g[a].bE(c)};
Hla=function(a){if(void 0==window.navigator.mediaCapabilities)return NE(a);var b=(0,g.I)(a.videoInfos,function(a){return window.navigator.mediaCapabilities.decodingInfo({type:"media-source",video:a.video?{contentType:a.mimeType,width:a.video.width||640,height:a.video.height||360,bitrate:8*a.g||1E6,framerate:a.video.fps||30}:null})});
return g.eg(b).then(function(b){for(var c=0;c<b.length;c++)a.videoInfos[c].o=b[c].smooth;return a},function(){return a})};
AN=function(a,b){var c={},d;for(d in zN){var e=b?b+d:d;e=a[e+"_webp"]||a[e];g.eH(e)&&(c[zN[d]]=e)}return c};
Jla=function(a){var b={};if(!a||!a.thumbnails)return b;var c=null;a=g.p(a.thumbnails);for(var d=a.next();!d.done;d=a.next()){d=d.value;var e=BN(d);if(g.eH(e)){var f=Ila[d.width];f&&(b[f]=e);if(!c||c.width<d.width)c=d}}c&&1280<c.width&&(b["maxresdefault.jpg"]=BN(c));return b};
BN=function(a){a=a.url;return 0==a.indexOf("//")?"https:"+a:a};
g.CN=function(a,b){this.version=a;this.args=b};
g.DN=function(a,b){this.topic=a;this.g=b};
g.FN=function(a,b){var c=EN();c&&c.publish.call(c,a.toString(),a,b)};
g.JN=function(a,b,c){var d=EN();if(!d)return 0;var e=d.subscribe(a.toString(),function(d,k){var f=g.y("ytPubsub2Pubsub2SkipSubKey");f&&f==e||(f=function(){if(GN[e])try{if(k&&a instanceof g.DN&&a!=d)try{var f=a.g,l=k;if(!l.args||!l.version)throw Error("yt.pubsub2.Data.deserialize(): serializedData is incomplete.");try{if(!f.Oh){var q=new f;f.Oh=q.version}var r=f.Oh}catch(v){}if(!r||l.version!=r)throw Error("yt.pubsub2.Data.deserialize(): serializedData version is incompatible.");try{k=window.Reflect.construct(f,
g.Wa(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.RD(v)}},HN[a.toString()]?g.mG()?g.kG(f):g.WD(f,0):f())});
GN[e]=!0;IN[a.toString()]||(IN[a.toString()]=[]);IN[a.toString()].push(e);return e};
MN=function(a,b){var c=g.JN(KN,function(d){a.apply(b,arguments);g.LN(c)},b);
return c};
g.LN=function(a){var b=EN();b&&(g.ua(a)&&(a=[a]),(0,g.C)(a,function(a){b.unsubscribeByKey(a);delete GN[a]}))};
EN=function(){return g.y("ytPubsub2Pubsub2Instance")};
Kla=function(a){if(NN.getEntriesByType){var b=NN.getEntriesByType("paint");if(b=g.Ka(b,function(a){return"first-paint"==a.name}))return Math.round(a.navigationStart+b.startTime)}if(a.msFirstPaint)return Math.max(0,a.msFirstPaint);
if(b=window.chrome)if(b=b.loadTimes,g.Aa(b)){b=b();var c=1E3*Math.min(b.requestTime||window.Infinity,b.startLoadTime||window.Infinity);c=window.Infinity===c?0:a.navigationStart-c;return Math.max(0,Math.round(1E3*b.firstPaintTime+c)||0)}return 0};
ON=function(){var a=g.QD("TIMING_TICK_EXPIRATION");a||(a={},g.PD("TIMING_TICK_EXPIRATION",a));return a};
Lla=function(){var a=ON(),b;for(b in a)g.nG(a[b]);g.PD("TIMING_TICK_EXPIRATION",{})};
PN=function(a,b){g.CN.call(this,1,arguments)};
QN=function(a,b){g.CN.call(this,1,arguments);this.g=a};
TN=function(a){RN(a);Mla();SN(!1,a);a||(g.QD("TIMING_ACTION")&&g.PD("PREVIOUS_ACTION",g.QD("TIMING_ACTION")),g.PD("TIMING_ACTION",""))};
YN=function(a,b,c,d){d=d?d:a;UN("c",d);TN(d);g.PD(d+"TIMING_AFT_KEYS",b);g.PD(d+"TIMING_ACTION",a);VN("c",c,d);WN(d);g.va("ytglobal.timing"+(d||"")+"ready_",!0,void 0);XN(d)};
cO=function(a,b,c){if(!b&&"_"!=a[0]){var d=a;NN.mark&&(g.kb(d,"mark_")||(d="mark_"+d),c&&(d+=" ("+c+")"),NN.mark(d))}d=ZN(c);var e=b||g.gG();d[a]&&(d["_"+a]=d["_"+a]||[d[a]],d["_"+a].push(e));d[a]=e;e=ON();var f=e[a];f&&(g.nG(f),e[a]=0);$N(c)["tick_"+a]=b;c||b||g.gG();aO()?(e=bO(c),"_start"==a?AG("baseline_"+e)||g.vG("latencyActionBaselined",{clientActionNonce:e},b,void 0):AG("tick_"+a+"_"+e)||g.vG("latencyActionTicked",{tickName:a,clientActionNonce:e},b,void 0),b=!0):b=!1;b||XN(c);return d[a]};
dO=function(a){var b="above_the_fold";NN&&NN.measure&&(g.kb(b,"measure_")||(b="measure_"+b),a?NN.measure(b,a):NN.measure(b))};
VN=function(a,b,c){eO("yt_sts",a,c);cO("_start",b,c)};
fO=function(a,b){var c=ZN(b);return a in c};
gO=function(a){fO("_start","video_to_ad")&&cO(a,void 0,"video_to_ad")};
eO=function(a,b,c){hO(c)[a]=b;$N(c)["info_"+a]=b;if(aO())if(a in iO){var d=iO[a];g.Oa(Nla,d)&&(b=!!b);if(aO()){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=bO(c);BG(a,c)}}else g.Oa(Ola,a)||g.RD(Error("Unknown label "+a+" logged with GEL CSI."))};
jO=function(a){var b=hO(void 0);return a in b};
kO=function(a){var b=ZN(a);if(b.aft)return b.aft;a=g.QD((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};
XN=function(a){if(!lO(a)){var b=g.QD((a||"")+"TIMING_ACTION",void 0),c=ZN(a);if(g.y("ytglobal.timing"+(a||"")+"ready_")&&b&&c._start&&(b=kO(a)))if(g.NF("tighter_critical_section")&&!mO&&(g.FN(Pla,new PN(Math.round(b-c._start),a)),mO=!0),a)nO(a);else{b=!0;var d=g.QD("TIMING_WAIT",[]);if(d.length)for(var e=0,f=d.length;e<f;++e)if(!(d[e]in c)){b=!1;break}b&&nO(a)}}};
oO=function(){switch(dF("visibilityState",window.document)){case "hidden":return 0;case "visible":return 1;case "prerender":return 2;case "unloaded":return 3}return-1};
UN=function(a,b){if(!lO(b)){if(!g.NF("send_empty_timing")){var c=g.QD("CSI_SERVICE_NAME","youtube");if(!g.QD((b||"")+"TIMING_ACTION",void 0)||!c)return}cO("aa",void 0,b);eO("ap",1,b);eO("yt_fss",a,b);if(g.NF("enable_csi_abandonment_info")&&!b&&!jO("yt_lt")){c=g.QD("TIMING_INFO",{});for(var d in c)eO(d,c[d]);eO("is_nav",1);(d=g.KG())&&eO("csn",d);(d=g.QD("PREVIOUS_ACTION",void 0))&&eO("pa",d);c=hO();c.p=g.QD("CLIENT_PROTOCOL")||"unknown";c.t=g.QD("CLIENT_TRANSPORT")||"unknown";eO("yt_vis",oO());if("cold"==
c.yt_lt){d=NN.timing||{};d.navigationStart&&(cO("srt",d.responseStart),1!=c.prerender&&VN("n",d.navigationStart));c=Kla(d);0<c&&cO("fpt",c);cO("nreqs",d.requestStart,void 0);cO("nress",d.responseStart,void 0);cO("nrese",d.responseEnd,void 0);0<d.redirectEnd-d.redirectStart&&(cO("nrs",d.redirectStart,void 0),cO("nre",d.redirectEnd,void 0));0<d.domainLookupEnd-d.domainLookupStart&&(cO("ndnss",d.domainLookupStart,void 0),cO("ndnse",d.domainLookupEnd,void 0));0<d.connectEnd-d.connectStart&&(cO("ntcps",
d.connectStart,void 0),cO("ntcpe",d.connectEnd,void 0));d.secureConnectionStart>=d.navigationStart&&0<d.connectEnd-d.secureConnectionStart&&(cO("nstcps",d.secureConnectionStart,void 0),cO("ntcpe",d.connectEnd,void 0));NN.getEntriesByType&&Qla();d=[];if(window.document.querySelector&&NN&&NN.getEntriesByName)for(var e in pO)c=pO[e],Rla(e,c)&&d.push(c);d.length&&eO("rc",d.join(","))}WN()}nO(b)}};
WN=function(a){if(aO()){var b={};b.actionType=Sla[g.QD((a||"")+"TIMING_ACTION",void 0)]||"LATENCY_ACTION_UNKNOWN";a=bO(a);BG(b,a)}};
qO=function(a){return Math.round(NN.timing.navigationStart+a)};
Qla=function(){var a=window.location.protocol,b=NN.getEntriesByType("resource");b=(0,g.Jd)(b,function(b){return 0==b.name.indexOf(a+"//fonts.gstatic.com/s/")});
(b=Ij(b,function(a,b){return b.duration>a.duration?b:a},{duration:0}))&&0<b.startTime&&0<b.responseEnd&&(cO("wffs",qO(b.startTime)),cO("wffe",qO(b.responseEnd)))};
Rla=function(a,b){var c=window.document.querySelector(a);if(!c)return!1;var d="",e=c.nodeName;"SCRIPT"==e?(d=c.src,d||(d=c.getAttribute("data-timing-href"))&&(d=window.location.protocol+d)):"LINK"==e&&(d=c.href);return d?(c=NN.getEntriesByName(d))&&c[0]&&(c=c[0],d=window.performance.timing.navigationStart,cO("rsf_"+b,d+Math.round(c.fetchStart)),cO("rse_"+b,d+Math.round(c.responseEnd)),void 0!==c.transferSize&&(jO("rc")||eO("rc",""),0===c.transferSize))?!0:!1:!1};
bO=function(a){var b=rO(a).nonce;b||(b=IG(),rO(a).nonce=b);return b};
ZN=function(a){return rO(a).tick};
hO=function(a){return rO(a).info};
$N=function(a){a=rO(a);"gel"in a||(a.gel={});return a.gel};
rO=function(a){return g.y("ytcsi."+(a||"")+"data_")||RN(a)};
RN=function(a){var b={tick:{},info:{}};g.va("ytcsi."+(a||"")+"data_",b,void 0);return b};
lO=function(a){return!!g.y("yt.timing."+(a||"")+"pingSent_")};
SN=function(a,b){g.va("yt.timing."+(b||"")+"pingSent_",a,void 0)};
Tla=function(a){var b=ZN(a),c=b.pbr,d=b.vc;b=b.pbs;return c&&d&&b&&c<d&&d<b&&1==hO(a).yt_pvis};
aO=function(){return!!g.NF("csi_on_gel")};
nO=function(a){Lla();if(!aO()){var b=ZN(a),c=hO(a),d=b._start;for(k in b)if(g.kb(k,"_")&&g.ya(b[k])){var e=k.slice(1);if(e in Ula){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))sO(b,k),TN(a)}else{var l=g.QD("CSI_SERVICE_NAME","youtube");e={v:2,s:l,action:g.QD((a||"")+"TIMING_ACTION",void 0)};f=eO.srt;void 0!==b.srt&&delete c.srt;if(c.h5jse){var m=window.location.protocol+g.y("ytplayer.config.assets.js");(m=NN.getEntriesByName?NN.getEntriesByName(m)[0]:null)?c.h5jse=Math.round(c.h5jse-m.responseEnd):delete c.h5jse}b.aft=kO(a);Tla(a)&&"youtube"==l&&(eO("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.gG();c={};n=[];for(var q in b)"_"!=q.charAt(0)&&(l=Math.round(b[q]-d),c[q]=l,n.push(q+"."+l));e.rt=n.join(",");(b=g.y("ytdebug.logTiming"))&&b(e,c);sO(e,k,a);g.FN(KN,new QN(c.aft+(f||0),a))}}};
sO=function(a,b,c){if(g.NF("debug_csi_data")){var d=g.y("yt.timing.csiData");d||(d=[],g.va("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?GE(a):g.EE(a);SN(!0,c)};
g.uO=function(a){if(a.simpleText)return a.simpleText;a=g.tO(a);var b=g.Cd("div");b.appendChild(a);return b.textContent};
g.tO=function(a){if(a.simpleText)return a=window.document.createTextNode(a.simpleText),a;var b=[];if(a.runs)for(var c=0;c<a.runs.length;c++){var d=a.runs[c];d.text&&b.push(Vla(d))}return 1==b.length?b[0]:g.K("SPAN",null,b)};
Vla=function(a){var b=null,c=a.text;a.bold&&(b=g.K("B",null,b||c));a.italics&&(b=g.K("I",null,b||c));a.strikethrough&&(b=g.K("STRIKE",null,b||c));a.navigationEndpoint&&a.navigationEndpoint.urlEndpoint&&(a=a.navigationEndpoint.urlEndpoint,b=g.K("A",null,b||c),g.Xc(b,a.url),"TARGET_NEW_WINDOW"==a.target&&(b.target="_blank"));return b||g.K("SPAN",null,c)};
g.vO=function(a){g.HF.call(this);this.adModule=!1;this.Sk=this.adaptiveFormats="";this.Kc=null;this.allowEmbed=!0;this.qg=this.backgroundable=!1;this.Kf="";this.nn=this.ln=this.kn=!1;this.relativeLoudness=window.NaN;this.watchAjaxToken=this.Mh=null;this.author="";this.ug=0;this.jy=this.xn=!1;this.clientScreenNonce=this.clientPlaybackNonce=this.channelBanner=this.channelPath=this.yn="";this.contentCheckOk=!1;this.Mf=0;this.qy=this.enableCardioBeforePlayback=this.enableCardio=!1;this.endSeconds=0;this.uh=
!1;this.Eg=this.Sj=0;this.Co=!1;this.ZC=0;this.isLowLatencyLiveStream=this.isLiveDefaultBroadcast=this.isLiveDestination=this.ya=this.Kl=this.isListed=this.Ys=this.rm=!1;this.latencyClass="UNKNOWN";this.isMdxPlayback=!1;this.mdxControlMode=null;this.isPharma=!1;this.Gh=0;this.reloadReason="";this.ht=this.Zz=this.qh=!1;this.Fo=0;this.mq=!1;this.liveChunkReadahead=window.NaN;this.liveStartWalltime=0;this.qt=null;this.Ll=this.lengthSeconds=0;this.playerParams=null;this.paygated=!1;this.jd=[];this.profilePicture=
void 0;this.racyCheckOk=!1;this.rootVeType=0;this.Fa=null;this.autonavState=1;this.Ge=!1;this.Uc=this.startSeconds=0;this.spacecastModule=!1;this.an=null;this.Hm=this.ar=this.Lv=WI;this.Gk=this.suggestions=null;this.hlsFormats=this.Kk=this.expandedSubtitle=this.expandedTitle=this.subtitle=this.title="";this.Lb=this.Kg=this.zf=this.Am=this.ro=null;this.uq="vvt";this.ypcOfferButtonFormattedText=null;this.requiresPurchase=!1;this.clipStart=0;this.clipEnd=window.Infinity;this.wp=this.zi=this.oj=!1;this.Xr=
"";this.Kp=this.cv=this.Yy=0;this.Vz=!1;this.Kh={};this.ts=!1;this.captionTracks=[];this.Xk=[];this.fr=0;this.captionTranslationLanguages=[];this.Yk=!1;this.chapterMarkers=[];this.ci=new JH("und",new FH("Default","und",!0));this.jt=0;this.SD=this.Bk=this.vD=!1;this.Xf=null;this.Vh=[];this.rz=!1;this.Vi={};this.slotPosition=-1;this.breakType=0;this.ID=new g.Xt(this.JD,5E3,this);g.N(this,this.ID);this.Wr=0;this.Zy=!0;this.Bd=this.kb=null;this.Xs=this.gE=this.Yz=this.ph=!1;this.Rz=this.Sz=window.NaN;
this.defraggedFromSubfragments=this.hasSubfragmentedFmp4=!1;this.liveExperimentalContentId=window.NaN;this.wq=this.Jm=!1;this.wm=[];this.tm=[];this.isDni=!1;this.Cp=this.dniColor="";this.qc={};this.keywords={};this.De={};this.setData(a)};
yO=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.Ww(b.player_response));if(e)for(d=null!=e?e:{},a.kb||(a.kb={}),c=0;c<wO.length;c++)e=wO[c],e in d&&(a.kb[e]=d[e])}else d=a.kb||{};if(c=xO(d))a.Kf=iH(c.invideoUrl),a.kn=!!c.adsOnly,a.ln=!!c.allowInPlaceSwitch;else{if(c=b.iv_invideo_url)a.Kf=iH(c);a.kn=sM(a.kn,b.iv_ads_only);a.ln=sM(a.ln,b.iv_allow_in_place_switch)}if(c=b.cta_conversion_urls)a.mx=c;a.isPharma=sM(a.isPharma,b.is_pharma);
a.author=vM(a.author,b.author);a.xn=sM(a.xn,b.cc_asr);if(c=b.ttsurl)gH(c)?a.yn=c:(c=hH(c),gH(c,!0)&&(a.yn=c));if(d.captions&&d.captions.playerCaptionsTracklistRenderer)Wla(a,d.captions.playerCaptionsTracklistRenderer);else{c=b.caption_tracks;e=b.caption_audio_tracks;a.ts=void 0!=c;if(c&&e){Xla(a,c);Yla(a,e);if(c=b.default_audio_track_index)a.fr=(0,window.parseInt)(c,10)||0;(c=b.caption_translation_languages)&&Zla(a,c)}a.Yk=sM(a.Yk,b.cc_contribute)}a.channelPath=vM(a.channelPath,b.channel_path);a.channelBanner=
vM(a.channelBanner,b.channel_banner);d.chapterMarkers&&(a.chapterMarkers=d.chapterMarkers);a.clientPlaybackNonce=vM(a.clientPlaybackNonce,b.cpn);a.subscribed=sM(a.subscribed,b.subscribed);a.Qi=uM(a.Qi,b.view_count);a.shortViewCount=vM(a.shortViewCount,b.short_view_count_text);a.title=vM(a.title,b.title);a.subtitle=vM(a.subtitle,b.subtitle);a.expandedTitle=vM(a.expandedTitle,b.expanded_title);a.expandedSubtitle=vM(a.expandedSubtitle,b.expanded_subtitle);a.Sk=vM(a.Sk,b.aria_label);a.ypcPreview=vM(a.ypcPreview,
b.ypc_preview);a.ypcOrigin=vM(a.ypcOrigin,b.ypc_origin);a.paygated=sM(a.paygated,b.paygated);a.requiresPurchase=sM(a.requiresPurchase,b.requires_purchase);if(d=b.keywords)a.keywords=$la(d);if(d=b.rvs)a.suggestions=bE(d);a.contentCheckOk=sM(a.contentCheckOk,"1"==b.cco);a.racyCheckOk=sM(a.racyCheckOk,"1"==b.rco);a.oauthToken=vM(a.oauthToken,b.oauth_token);a.visitorData=vM(a.visitorData,b.visitor_data);if(d=b.session_data)a.Od=g.ZD(d);if(d=b.endscreen_autoplay_session_data)a.wy=g.ZD(d);a.vy=vM(a.vy,
b.endscreen_ad_tracking_data);a.Nk=sM(a.Nk,b.wait_for_vast_info_cards_xml);a.Wi=sM(a.Wi,b.suppress_creator_endscreen);a.Xj=sM(a.Xj,b.is_trueview_action);a.ii=vM(a.ii,b.wpid);a.AE=vM(a.AE,b.tracking_list||b.tv_list);b.skip_wv&&(a.gE=!0);b.intro_start_ms&&b.intro_end_ms&&(a.Sz=(0,window.parseInt)(b.intro_start_ms,10),a.Rz=(0,window.parseInt)(b.intro_end_ms,10));(0,g.C)(ama,function(a){a in b&&(this.qc[a]=b[a])},a)};
zO=function(a){return!(!a.Fa||!a.Fa.videoInfos.length)};
bma=function(a){return a.l&&AI('video/webm; codecs="vp9"')&&Kb(a.g,function(a){return TH(a.info)})};
AO=function(a){return!(!a.oa||!a.oa.l)};
BO=function(a,b){if(!(a.Fa&&a.Fa.videoInfos.length&&g.VH(a.Fa.videoInfos[0])&&AO(a))||g.vE()&&!b.g("html5_streaming_xhr_try_cobalt")||OL&&!b.g("html5_streaming_xhr_try_edge"))return!1;var c=b.g("html5_streaming_response_mediastream_rewrite_v2"),d=b.g("html5_ultra_low_latency_streaming_responses")&&"ULTRALOW"==a.latencyClass;return c||d};
CO=function(a,b){return BO(a,b)&&(!b.g("html5_live_benchmark_incremental_parsing")||"ULTRALOW"==a.latencyClass)};
DO=function(a){return!OI()||a.jy?!0:!1};
g.EO=function(a){if(!a.Bd)return null;var b=null!=a.Bd.latitudeE7&&null!=a.Bd.longitudeE7?a.Bd.latitudeE7+","+a.Bd.longitudeE7:",";return b+=","+(a.Bd.clientPermissionState||0)+","+(a.Bd.locationRadiusMeters||"")+","+(a.Bd.locationOverrideToken||"")};
FO=function(a){a.ka()||(a.uh=!1,a.T("dataloaded",a.qc))};
HO=function(a,b,c){c&&a.oa&&a.oa.dispose();a.oa=b;g.N(a,b);GO(a)&&a.jd.push("webgl");a.oa.isLive||(a.ya=!1)};
g.IO=function(a,b,c){if(a.ka())return ME();a.Fa=null;a.zf=null;a.Kg=null;var d=b.l.c;b.experiments.g("disable_rqs")||(a.ph=/^rq/.test(a.clientPlaybackNonce)||/^r/.test(a.clientPlaybackNonce)&&/UNPLUGGED/.test(d)||b.experiments.g("html5_high_res_logging"));return cma(a,b,c).then(void 0,(0,g.A)(a.GL,a,b)).then(void 0,(0,g.A)(a.CL,a,b,c)).then(void 0,(0,g.A)(a.DL,a,b)).then(void 0,(0,g.A)(a.HL,a,b)).then(void 0,(0,g.A)(a.FL,a,b)).then(function(){if(b.experiments.g("html5_probe_media_capabilities")&&
a.Fa)return Hla(a.Fa).then(a.Sp,void 0,a)})};
cma=function(a,b,c){if(!c&&!DO(a)){c=!1;if(a.spacecastAdaptiveFormats)HO(a,vL(JO(a,a.spacecastAdaptiveFormats),a.Kc,a.lengthSeconds,void 0),!0),c=!0;else if(a.oa&&a.Wp){var d=CL(a.oa,a.Wp);d&&(HO(a,d,!0),c=!0)}if(c)return aM(b.M,a.oa,a.Xf,!0,!1,!b.deviceHasDisplay||a.Jm&&b.yb,a.wq&&b.yb).then(a.Sp,void 0,a).then(a.Ey,void 0,a)}return ME()};
KO=function(a,b){var c={cpn:a.clientPlaybackNonce,c:b.l.c,cver:b.l.cver};a.qm&&(c.ptk=a.qm,c.oid=a.bD,c.ptchn=a.aD,c.pltype=a.cD);return c};
g.LO=function(a){return xE()&&a.fairPlayCert?(a={},a.fairplay="https://youtube.com/api/drm/fps?ek=uninitialized",a):a.Ka&&a.Ka.Kc||null};
MO=function(a){var b=a.kb&&a.kb.paidContentOverlay&&a.kb.paidContentOverlay.paidContentOverlayRenderer||null;return b&&b.text?g.uO(b.text):a.AU};
NO=function(a){var b=a.kb&&a.kb.paidContentOverlay&&a.kb.paidContentOverlay.paidContentOverlayRenderer||null;return b&&b.durationMs?Cb(b.durationMs):a.ZC};
g.OO=function(a,b){return g.w(a.keywords[b])?a.keywords[b]:null};
g.PO=function(a){if(!a.Lb)if(a.kb&&a.kb.storyboards){var b=a.kb.storyboards;if(b.playerStoryboardSpecRenderer)a.Lb=new wN(b.playerStoryboardSpecRenderer.spec,a.lengthSeconds);else if(b.playerLiveStoryboardSpecRenderer&&a.oa){var c=Nb(a.oa.g).index;c&&(a.Lb=new yN(b.playerLiveStoryboardSpecRenderer.spec,a.oa.isLive,c))}}else(b=a.qc.storyboard_spec)?a.Lb=new wN(b,a.lengthSeconds):(b=a.qc.live_storyboard_spec)&&a.oa&&(c=Nb(a.oa.g).index)&&(a.Lb=new yN(b,a.oa.isLive,c));return a.Lb};
QO=function(a){return!!(a.Wd||a.adaptiveFormats||a.Kk||a.Gk||a.spacecastFormatMap||a.spacecastAdaptiveFormats||a.hlsvp)};
RO=function(a){var b=g.Oa(a.jd,"ypc");a.ypcPreview&&(b=!1);return a.Ld()&&!a.uh&&(QO(a)||g.Oa(a.jd,"fresca")||g.Oa(a.jd,"heartbeat")||b)};
JO=function(a,b,c){b=bE(b);var d={};c&&(0,g.C)(c.split(","),function(a){(a=a.match(/^([0-9]+)\/([0-9]+)x([0-9]+)(\/|$)/))&&(d[a[1]]={width:a[2],height:a[3]})});
(0,g.C)(b,function(a){var b=d[a.itag];b&&(a.width=b.width,a.height=b.height)},a);
return b};
dma=function(a){a=bE(a);var b={};(0,g.C)(a,function(a){var c=a.family;a=a.url;c&&a&&(b[c]=a)});
return b};
Xla=function(a,b){for(var c=bE(b),d=0;d<c.length;d++){var e=c[d],f=e.u;gH(f)&&a.captionTracks.push(new g.HH({is_translateable:sM(!1,e.t),languageCode:e.lc,languageName:e.n,url:f,vss_id:e.v,kind:e.k,format:3}))}};
Yla=function(a,b){var c=bE(b);a.Xk=[];(0,g.C)(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=ema[(0,window.parseInt)(a.v,10)]||"UNKNOWN";this.Xk.push(b)},a)};
Zla=function(a,b){for(var c=bE(b),d=0;d<c.length;d++){var e=c[d];a.captionTranslationLanguages.push(new g.GH({languageCode:e.lc,languageName:e.n}))}};
Wla=function(a,b){a.ts=!0;a.captionTracks=[];b.captionTracks&&(0,g.C)(b.captionTracks,function(a){var b=a.baseUrl;gH(b,!0)&&(a=new g.HH({is_translateable:!!a.isTranslatable,languageCode:a.languageCode,languageName:a.name&&g.uO(a.name),url:b,vss_id:a.vssId,kind:a.kind,format:3}),this.captionTracks.push(a))},a);
a.Xk=b.audioTracks||[];a.fr=b.defaultAudioTrackIndex||0;a.captionTranslationLanguages=b.translationLanguages?(0,g.I)(b.translationLanguages,function(a){return new g.GH({languageCode:a.languageCode,languageName:g.uO(a.languageName)})}):[];
a.Yk=!!b.contribute&&!!b.contribute.captionsMetadataRenderer};
g.SO=function(a,b){return!!a.qc[b]};
g.TO=function(a){return a.ya&&!a.qg};
UO=function(a){return a.ya&&a.qg};
VO=function(a){var b=g.$b(a.qc);!a.ya&&0<a.startSeconds&&(b.start=a.startSeconds);return b};
GO=function(a){return a.Wf()||a.Vf()||a.wi()||a.lf()};
fma=function(a){a.Fa=a.Fa.l};
g.WO=function(a){if(a.Wi)return null;var b=a.qc.iv_endscreen_url;b||(b=a.kb&&a.kb.endscreen&&a.kb.endscreen.endscreenUrlRenderer&&a.kb.endscreen.endscreenUrlRenderer.url);return b||null};
XO=function(a,b){return a.adFormat&&"1_5"!=a.adFormat?"adunit":b.R};
YO=function(a,b){if(a.isAd()&&a.videoId!=b.ga)return b.ga};
ZO=function(a,b){return a.rm||"detailpage"==XO(a,b)};
$O=function(a,b){return ZO(a,b)?"detailpage"==XO(a,b)?a.Co||0<a.Gh:!0:!1};
aP=function(a,b){var c=1,d=b.experiments.l("html5_default_ad_gain");d&&a.isAd()&&(c=d);return Math.min(1,Math.pow(10,-a.relativeLoudness/20))||c};
bP=function(a){return(0,window.isNaN)(a)?0:Math.max(((0,g.G)()-a)/1E3-30,0)};
xO=function(a){return a&&a.annotations&&(a=a.annotations[0],a.playerAnnotationsUrlsRenderer)?a.playerAnnotationsUrlsRenderer:null};
$la=function(a){var b={};(0,g.C)(a.split(","),function(a){var c=a.split("=");2==c.length?b[c[0]]=c[1]:b[a]=!0});
return b};
cP=function(a,b,c,d){this.videoData=a;this.g=b;this.reason=c;this.l=d};
dP=function(){this.endTime=this.startTime=-1;this.gr="-";this.playbackRate=1;this.visibilityState=0;this.Wq="";this.volume=this.connectionType=this.Xg=0;this.muted=!1};
fP=function(a){this.l=a;this.g=0;this.B=-1;this.I=this.l.Zd().volume;this.H=this.l.Zd().muted;this.C=window.NaN;this.o=0;this.ob=[];this.A=eP(this.l);this.D=this.F=0};
g.gP=function(a){a.A.startTime=a.o;a.A.endTime=a.g;a.ob.length&&g.Ia(a.ob).isEmpty()?a.ob[a.ob.length-1]=a.A:a.ob.length&&a.A.isEmpty()||a.ob.push(a.A);a.F+=a.g-a.o;a.A=eP(a.l);a.o=a.g};
hP=function(a){return a.F+a.l.l()-a.o};
iP=function(a){a.ob.length&&a.g==a.o||g.gP(a);var b=a.ob;a.ob=[];return b};
jP=function(a,b,c){c-=a.C;return b==a.g&&.5<c};
gma=function(a,b,c,d,e,f,k,l,m,n,q,r,v){this.videoData=a;this.g=b;this.Zd=c;this.C=d;this.l=e;this.B=f;this.I=k;this.getAudioTrack=l;this.H=m;this.D=n;this.o=q;this.F=r||function(){};
this.A=null;this.J=v||function(){}};
g.lP=function(a){return kP(a)()};
kP=function(a){if(!a.A){var b=g.Ea(function(a){var b=g.gG();a&&631152E6>=b&&(g.RD(Error("invalid yt.global.now value: "+b)),b=(new Date).getTime()+2);return b},a.g.experiments.g("html5_validate_yt_now"));
a.A=g.Ea(function(a){return Math.round(b()-a)/1E3},b());
a.J()}return a.A};
mP=function(a){var b=a.Zd();g.Fa(b,a.videoData.Zd());return b};
oP=function(){return window.navigator.connection&&window.navigator.connection.type?nP[window.navigator.connection.type]||nP.other:0};
eP=function(a){var b=new dP;b.gr=a.Zd().cc||"-";b.playbackRate=a.H();var c=a.o();0!=c&&(b.visibilityState=c);a.g.Xg&&(b.Xg=1);c=a.getAudioTrack();c.Hb&&c.Hb.id&&"und"!=c.Hb.id&&(b.Wq=c.Hb.id);b.connectionType=oP();b.volume=a.Zd().volume;b.muted=a.Zd().muted;return b};
g.pP=function(a){return(a=hma[a.toString()])?a:"YTP_ERROR_LICENSE"};
qP=function(){};
rP=function(){g.M.call(this);this.A=this.l=null;this.F=this.D=!1;this.C=new g.Cf;g.N(this,this.C)};
sP=function(a){a=a.Fj();return 1>a.length?window.NaN:a.end(a.length-1)};
uP=function(a,b){var c="";b&&(tP(a,b),c=b.g);a.pd()&&""==c||(c&&a.pd()!=c&&(a.Uo(c),a.A&&(a.A.dispose(),a.A=null)),b&&b.l||a.load(),a.F||(a.addEventListener("volumechange",a.Nx),a.F=!0))};
vP=function(a){if(!a.A||a.A.ka()){var b=a.la();b=window.MediaSource?new window.MediaSource:window.WebKitMediaSource?new window.WebKitMediaSource:new cI(b);b=new sI(b);uP(a,b.B);a.A=b}};
jma=function(a){vP(a);var b=a.A;a.A=null;return b};
tP=function(a,b){a.l&&null!=b&&b.g==a.l.g||(a.l&&a.l.dispose(),a.l=b)};
wP=function(a){return kI(a.Nf(),a.getCurrentTime())};
xP=function(a){var b=a.Nf();return 0<jI(b)&&a.getDuration()?iI(b,a.getCurrentTime()):0};
yP=function(a){var b=a.getDuration();return window.Infinity==b?1:b?xP(a)/b:0};
zP=function(a){switch(a.Pb()){case 2:return"progressive.net.retryexhausted";case 3:return"fmt.decode";case 4:return"fmt.unplayable";case 5:return"drm.unavailable";default:return null}};
AP=function(a,b,c){g.af.call(this,b,a);this.g=c||null};
kma=function(){this.A=this.g=window.NaN;this.o=this.l=!1};
BP=function(a,b){return b>a.g&&b<a.g+5};
CP=function(a,b,c,d){if(d=1<d)a.o=!0;if(a.l)b!=a.g&&(a.l=!1);else if(0<b&&a.g==b)return c-a.A>(d||!a.o?1500:400);a.g=b;a.A=c;return!1};
g.DP=function(a,b){this.l=a||64;this.g=void 0===b?null:b};
EP=function(a,b,c){return b==a.l&&c==a.g||void 0!=b&&(b&128&&!c||b&2&&b&16)?a:new g.DP(b,c)};
FP=function(a,b){return EP(a,a.l|b)};
GP=function(a,b){return EP(a,a.l&~b)};
HP=function(a,b,c){return EP(a,(a.l|b)&~c)};
g.X=function(a,b){return!!(a.l&b)};
g.IP=function(a,b){return b.l==a.l&&b.g==a.g};
g.JP=function(a){return g.X(a,8)&&!g.X(a,2)&&!g.X(a,1024)};
g.KP=function(a){return g.X(a,64)&&!g.X(a,8)&&!g.X(a,4)};
g.LP=function(a){return g.X(a,1)&&!g.X(a,2)};
MP=function(a){return g.X(a,128)?-1:g.X(a,2)?0:g.X(a,64)?-1:g.X(a,1)&&!g.X(a,32)?3:g.X(a,8)?1:g.X(a,4)?2:-1};
g.NP=function(a,b){this.state=a;this.g=b};
OP=function(a,b){return g.X(a.state,b)&&!g.X(a.g,b)?1:!g.X(a.state,b)&&g.X(a.g,b)?-1:0};
QP=function(a){g.M.call(this);var b=this;this.g=a;this.l={};this.I=1;this.Z=window.NaN;this.o="N";this.C=this.ea=this.Y=this.A=0;this.K=this.ga="";this.ba=0;this.ia=-1;this.J=this.M=0;this.X=this.H=!1;this.na=[];this.D=null;this.R=this.F=!1;(a=window.navigator.getBattery?window.navigator.getBattery():null)&&a.then&&a.then(function(a){b.D=a});
g.PP(this,0,"vps",["N"])};
g.PP=function(a,b,c,d){var e=a.l[c];e||(e=[],a.l[c]=e);e.push(b.toFixed(3)+":"+d.join(":"))};
TP=function(a,b){b=0<=b?b:g.lP(a.g);var c=a.g.B();if(!(0,window.isNaN)(a.fa)&&!(0,window.isNaN)(c.o)){var d=c.o-a.fa;0<d&&g.PP(a,b,"bwm",[d,(c.B-a.sa).toFixed(3)])}a.fa=c.o;a.sa=c.B;(0,window.isNaN)(c.bandwidthEstimate)||g.PP(a,b,"bwe",[c.bandwidthEstimate.toFixed(0)]);a.g.videoData.ph&&c.g&&RP(a,"bwinfo",c.g);a.D&&g.PP(a,b,"bat",[a.D.level,a.D.charging?"1":"0"]);d=a.g.o();a.ia!=d&&(g.PP(a,b,"vis",[d]),a.ia=d);g.PP(a,b,"cmt",[a.g.l().toFixed(3)]);(d=oP())&&d!=a.ba&&(g.PP(a,b,"conn",[d]),a.ba=d);SP(a,
b,c);null!==a.g.videoData.an&&(a.l.acc=[a.g.videoData.an.join(":")])};
SP=function(a,b,c){if(!(0,window.isNaN)(c.l)){var d=c.l;c.A<d&&(d=c.A);g.PP(a,b,"bh",[d.toFixed(3)])}};
UP=function(a){var b=0,c;for(c in a.l)b+=c.length+Ij(a.l[c],function(a,b){return a+b.length},0);
1E3<b&&(new g.Xt(a.B,0,a)).start()};
VP=function(a,b,c,d){var e=a.g.l();c=[c,e.toFixed(3)];d&&c.push(d);g.PP(a,b,"error",c)};
mma=function(a,b){if(g.X(b,128))return"ER";if(g.X(b,512))return"SU";if(g.X(b,16)||g.X(b,32))return"S";var c=lma[MP(b)];g.QM(a.g.g)&&"B"==c&&3==a.g.o()&&(c="SU");"B"==c&&g.X(b,4)&&(c="PB");return c};
WP=function(a,b){var c=a.l.cat||[];c.push(b);a.l.cat=c};
RP=function(a,b,c,d){var e=a.l.ctmp||[],f=-1!=a.na.indexOf(b);f||a.na.push(b);d&&f||(d||(c="t."+(1E3*g.lP(a.g)).toFixed()+";"+c),e.push(b+":"+c),a.l.ctmp=e,UP(a))};
XP=function(a,b,c,d){this.Ta=b;this.segments=[];this.experimentIds=[];this.adQueryId=null;this.qh=this.ea=this.ba=this.Ca=this.M=this.autoplay=this.autonav=!1;this.ga="yt";this.Mh=this.l=this.C=null;this.R=!1;this.B="watchtime"==c;this.A="playback"==c;this.F="delayplay"==c;this.D="atr"==c;this.Gb="engage"==c;this.Bk=!1;this.bb=this.D?"/api/stats/"+c:"//"+b.Vg+"/api/stats/"+c;d&&(this.ea=d.fs,d.rtn&&(this.l=d.rtn),this.B?(this.Wa=d.state,0<d.rti&&(this.C=d.rti)):(this.Ha=d.mos,this.tb=d.volume,d.at&&
(this.adType=d.at)),d.autonav&&(this.autonav=d.autonav),d.inview&&(this.na=d.inview),d.size&&(this.ia=d.size));this.Pa=g.$b(b.l);this.sa=b.sa;this.experimentIds=b.experiments.experimentIds;this.Z=b.xa;this.ga=b.ea;this.region=b.region;this.rb=b.Ha?b.Ha.toString():"";this.userAge=b.userAge;this.userGender=b.userGender;this.Ib=g.tG();this.Bk=b.Ca;c=this.Ta;this.H=a.oauthToken||c.J;this.adFormat=a.adFormat;this.adQueryId=a.adQueryId;this.autoplay=$O(a,c);this.autonav=a.Co||this.autonav;this.contentVideoId=
YO(a,c);this.Mh=a.Mh;this.clientPlaybackNonce=a.clientPlaybackNonce;this.M=a.isDni;a.vssCredentialsToken&&(this.K=a.vssCredentialsToken,this.ra=a.uq);a.mdxEnvironment&&(this.mdxEnvironment=a.mdxEnvironment);this.ug=a.ug;this.Mf=a.Mf;a.Ka&&(this.fa=RH(a.Ka),a.wc&&RH(a.wc)!=this.fa&&(this.J=RH(a.wc)));this.qh=a.qh;this.Sj=a.Sj;a.ya&&(this.Ma=a.qg?"dvr":"live");this.Ll=a.Ll;this.yf=a.yf;this.playbackId=a.playbackId;this.eventId=a.eventId;this.playlistId=a.AE||a.playlistId;this.Fp=a.Fp;this.jg=a.jg;this.Af=
a.Af;this.Up=a.Up;this.subscribed=a.subscribed;this.videoId=a.videoId;this.videoMetadata=a.videoMetadata;this.visitorData=a.visitorData;this.osid=a.osid;this.Ou=a.Ou;this.referrer=a.referrer;this.ym=a.Wu||a.ym;this.Ik=a.Ik;this.gq=a.gq;this.ii=a.ii;this.xa=XO(a,b)};
YP=function(a,b){if(a.D)return null;var c=a.H&&hE(),d=a.Bk&&!!a.visitorData;if(!c&&!d)return null;var e={};c&&(e.Authorization="Bearer "+a.H);d&&(e["X-Goog-Visitor-Id"]=a.visitorData);return{headers:e,withCredentials:!0,xd:b}};
nma=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.Pg(a,b);c?g.mE(a,c):g.EE(a)};
$P=function(a){var b={ns:a.ga,el:a.xa,cpn:a.clientPlaybackNonce,docid:a.videoId,ver:2,referrer:a.referrer,cmt:a.g(a.ug),plid:a.playbackId,ei:a.eventId,fmt:a.fa,fs:a.ea?"1":"0",rt:a.g(a.wb),of:a.Ou,adformat:a.adFormat,content_v:a.contentVideoId,euri:a.sa,lact:a.Ib,live:a.Ma,cl:a.rb,mos:a.Ha,osid:a.osid,state:a.Wa,vm:a.videoMetadata,volume:a.tb};a.adQueryId&&(b.aqi=a.adQueryId);a.subscribed&&(b.subscribed="1");g.Fa(b,a.Pa);a.autonav&&(b.autonav="1");a.autoplay&&(b.autoplay="1");a.M&&(b.dni="1");a.ba&&
(b["final"]="1");a.qh&&(b.splay="1");a.Mf&&(b.delay=a.Mf);a.Z&&(b.hl=a.Z);a.region&&(b.cr=a.region);g.u(a.userAge)&&a.userGender&&(b.uga=a.userGender+a.userAge);g.u(a.Y)&&(b.len=a.g(a.Y));!a.B&&0<a.experimentIds.length&&(b.fexp=a.experimentIds.toString());null!=a.l&&(b.rtn=a.g(a.l));a.ym&&(b.feature=a.ym);a.playlistId&&(b.list=a.playlistId);a.jg&&(b.ctrl=a.jg);a.Af&&(b.ytr=a.Af);a.Up&&(b.ssrt="1");a.J&&(b.afmt=a.J);a.X&&(b.lio=a.g(a.X));a.B?(b.idpj=a.Sj,b.ldpj=a.Ll,null!=a.C&&(b.rti=a.g(a.C))):g.u(a.adType)&&
(b.at=a.adType);(a.A||a.F)&&a.Mh&&(b.tst=a.Mh);a.ia&&(a.A||a.F)&&(b.size=a.ia);null!=a.na&&(a.A||a.F)&&(b.inview=a.g(a.na));a.B&&(b.volume=ZP(a,(0,g.I)(a.segments,function(a){return a.volume})),b.muted=ZP(a,(0,g.I)(a.segments,function(a){return a.muted?1:0})),b.st=ZP(a,(0,g.I)(a.segments,function(a){return a.startTime})),b.et=ZP(a,(0,g.I)(a.segments,function(a){return a.endTime})),(0,g.zj)(a.segments,function(a){return 1!=a.playbackRate})&&(b.rate=ZP(a,(0,g.I)(a.segments,function(a){return a.playbackRate}))));
(0,g.zj)(a.segments,function(a){return 0!=a.visibilityState})&&(b.vis=ZP(a,(0,g.I)(a.segments,function(a){return a.visibilityState})));
(0,g.zj)(a.segments,function(a){return 0!=a.connectionType})&&(b.conn=ZP(a,(0,g.I)(a.segments,function(a){return a.connectionType})));
(0,g.zj)(a.segments,function(a){return 0!=a.Xg})&&(b.blo=ZP(a,(0,g.I)(a.segments,function(a){return a.Xg})));
(0,g.zj)(a.segments,function(a){return"-"!=a.gr})&&(b.cc=(0,g.I)(a.segments,function(a){return a.gr}).join(","));
if((0,g.zj)(a.segments,function(a){return!!a.Wq})){var c="au";
a.A&&(c="au_d");b[c]=(0,g.I)(a.segments,function(a){return a.Wq}).join(",")}hE()&&a.K&&(b.ctt=a.K,b.cttype=a.ra,b.mdx_environment=a.mdxEnvironment);
a.Gb&&(b.etype=g.u(a.o)?a.o:0);a.Ik&&(b.uoo=a.Ik);a.gq&&(b.upt=a.gq);a.ii&&(b.wpid=a.ii);return b};
ZP=function(a,b){return(0,g.I)(b,a.g).join(",")};
g.aQ=function(a,b){return a.baseYtUrl+"timedtext_video?ref=player&v="+b.videoId};
bQ=function(a){g.M.call(this);this.g=a;this.l=new QP(a);g.N(this,this.l);this.o=new fP(a);this.C="paused";this.D=window.NaN;this.H=[10,10,10,40];this.I=this.F=0;this.R=this.M=this.Y=this.X=this.K=this.J=this.B=!1;this.A=window.NaN};
cQ=function(a,b,c){var d=g.lP(a.g);c=(0,window.isNaN)(c)?d:c;c=Math.ceil(c);var e=a.H[a.F];a.F+1<a.H.length&&a.F++;c+=e;d=1E3*(c-d);a.D=g.WD((0,g.A)(a.SQ,a,c,b),d);return c};
dQ=function(a,b){var c=mP(a.g);g.Fa(c,{state:a.C});c=new XP(a.g.videoData,a.g.g,b,c);c.ug=a.g.l();a.g.videoData.ya||(c.Y=a.g.C());if(a.g.videoData.oa){var d=GL(a.g.videoData.oa,c.ug);d&&(c.X=d-c.ug)}c.wb=g.lP(a.g);c.segments=[eP(a.g)];return c};
eQ=function(a,b){var c=dQ(a,"watchtime");c.segments=b;c.ug=a.o.g;return c};
fQ=function(a){a.o.update();return eQ(a,iP(a.o))};
iQ=function(a){a.g.videoData.remarketingUrl&&!a.X&&(gQ(a,a.g.videoData.remarketingUrl),a.X=!0);a.g.videoData.youtubeRemarketingUrl&&!a.Y&&(gQ(a,a.g.videoData.youtubeRemarketingUrl),a.Y=!0);a.g.videoData.googleRemarketingUrl&&!a.M&&(gQ(a,a.g.videoData.googleRemarketingUrl),a.M=!0);a.g.videoData.ppvRemarketingUrl&&!a.R&&(gQ(a,a.g.videoData.ppvRemarketingUrl),a.R=!0);hQ(a)};
jQ=function(a){a.A=g.XD((0,g.A)(a.Op,a,"heartbeat"),3E4)};
hQ=function(a){a.g.videoData.De.eventLabel=XO(a.g.videoData,a.g.g);a.g.videoData.De.playerStyle=a.g.g.playerStyle;a.g.videoData.zp&&(a.g.videoData.De.feature="pyv");a.g.videoData.De.vid=a.g.videoData.videoId;var b=a.g.videoData.De;a=a.g.videoData;a=a.isAd()||!!a.zp;b.isAd=a};
gQ=function(a,b,c){a.g.g.Ca&&a.g.videoData.visitorData&&gE(b)?g.mE(b,{xd:c,headers:{"X-Goog-Visitor-Id":a.g.videoData.visitorData}}):g.EE(b,c)};
kQ=function(a,b){var c=a.l;g.PP(c,g.lP(c.g),"lra",[b]);RP(c,"live-readahead-seconds",b.toString())};
lQ=function(a,b){xH.call(this,a,b);this.g=!1;yH(this,"getPresentingPlayerType",this.Ra);yH(this,"addInfoCardXml",this.gN);yH(this,"cueVideoByPlayerVars",this.iN);yH(this,"loadVideoByPlayerVars",this.Wl);yH(this,"preloadVideoByPlayerVars",this.Yo);yH(this,"seekBy",this.pe);yH(this,"updatePlaylist",this.LN);yH(this,"updateLastActiveTime",this.KN);yH(this,"updateVideoData",this.MN);yH(this,"getPlayerResponse",this.getPlayerResponse);yH(this,"getStoryboardFormat",this.getStoryboardFormat);yH(this,"getStoryboardFrame",
this.pN);yH(this,"getStoryboardFrameIndex",this.qN);yH(this,"getStoryboardLevel",this.rN);yH(this,"getNumberOfStoryboardLevels",this.nN);yH(this,"getProgressState",this.xh);yH(this,"getHousebrandProperties",this.lN);yH(this,"setPlaybackQualityRange",this.XA);yH(this,"getCurrentPlaylistSequence",this.kN);yH(this,"canPlayType",this.hN);yH(this,"sendVideoStatsEngageEvent",this.Ji);yH(this,"setCardsVisible",this.Xl);yH(this,"handleGlobalKeyDown",this.uN);yH(this,"getAudioTrack",this.getAudioTrack);yH(this,
"setAudioTrack",this.bu);yH(this,"getAvailableAudioTracks",this.getAvailableAudioTracks);yH(this,"getMaxPlaybackQuality",this.mN);yH(this,"getUserPlaybackQualityPreference",this.sN);yH(this,"setSizeStyle",this.FN);yH(this,"setUserEngagement",this.IN);yH(this,"forceFrescaUpdate",this.jN);yH(this,"setAutonav",this.TA);yH(this,"setAutonavState",this.Xt);yH(this,"showControls",this.YA);yH(this,"hideControls",this.WA);yH(this,"getVisibilityState",this.Ii);yH(this,"shouldSendVisibilityState",this.JN);yH(this,
"getVideoContentRect",this.VA);yH(this,"setSafetyMode",this.EN);yH(this,"setFauxFullscreen",this.zN);yH(this,"cancelPlayback",this.Yt);yH(this,"getVideoStats",this.az);yH(this,"updateSubtitlesUserSettings",this.Zo);yH(this,"getSubtitlesUserSettings",this.Hi);yH(this,"resetSubtitlesUserSettings",this.au);yH(this,"isFastLoad",this.vN);yH(this,"isInline",this.wN);yH(this,"isPeggedToLive",this.isPeggedToLive);yH(this,"setMinimized",this.DN);yH(this,"setInline",this.BN);yH(this,"getSphericalProperties",
this.Vo);yH(this,"setSphericalProperties",this.Xo);yH(this,"getSphericalConfig",this.oN);yH(this,"setSphericalConfig",this.GN);yH(this,"setBlackout",this.yN);yH(this,"onAdUxClicked",this.xN);yH(this,"getPlayerSize",this.Zt);yH(this,"setGlobalCrop",this.AN);yH(this,"wakeUpControls",this.aW);yH(this,"isMutedByMutedAutoplay",this.nL);yH(this,"getVideoAspectRatio",this.tN);yH(this,"setUseFastSizingOnWatch",this.HN);yH(this,"setInternalSize",this.CN)};
mQ=function(a,b){lQ.call(this,a,b)};
nQ=function(a,b){this.o=a;this.l=b||null;this.A=!1};
qQ=function(a,b,c){var d=a.o;b=g.KM(d)&&d.Dd&&ZO(b,d);if(d.Oc&&(IM(d)||g.cN(d)||b)&&!a.A){a.A=!0;g.QD("TIMING_ACTION")||g.PD("TIMING_ACTION",a.o.csiPageType);a.o.Wa&&g.PD("CSI_SERVICE_NAME",a.o.Wa);if(a.l){d=a.l.ea;for(var e in d)(0,g.oQ)(e,d[e],"");e=a.l.Z;for(var f in e)(0,g.pQ)(f,e[f],"");f=a.l;f.ea={};f.Z={}}(0,g.pQ)("yt_pvis",oO(),"");(0,g.pQ)("yt_pt","html5","");c&&!fO("pbs","")&&a.g("pbs",c);a=a.o;g.cN(a)||IM(a)&&"blazer"!=a.playerStyle||!fO("_start","")||nO("")}};
g.rQ=function(a,b,c){g.M.call(this);this.start=a;this.end=b;this.o=oma++;a=c||{};this.Ea=a.id||"";this.A=a.priority||7;this.active=!0;this.visible=a.visible||!1;this.style=a.style||"ytp-ad-progress";this.namespace=a.namespace||"";this.color="";if(b=a.color)b=b.toString(16),this.color="#"+Array(7-b.length).join("0")+b;this.g=null;this.tooltip=a.tooltip;this.icons=a.icons?a.icons.filter(function(a){return g.eH(a)}):null;
this.visible=this.visible;this.style=this.style;this.start=this.start};
sQ=function(a){return-0x8000000000000==a?"BEFORE_MEDIA_START":0==a?"MEDIA_START":0x7ffffffffffff==a?"MEDIA_END":0x8000000000000==a?"AFTER_MEDIA_END":a.toString()};
pma=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.tQ=function(a,b){return a.start-b.start||a.A-b.A||a.o-b.o};
g.uQ=function(a,b){this.type=a||"";this.id=b||""};
g.wQ=function(a){g.HF.call(this);this.startSeconds=0;this.jE=!1;this.Eb=0;this.title="";this.sh=0;this.La=[];this.Yf=this.Vc=!1;this.Od=this.wy=this.xm=null;this.views=0;this.oI=0!=a.fetch;this.ee=[];this.Eb=Math.max(0,a.index||0);this.loop=!!a.loop;this.startSeconds=a.startSeconds||0;this.FP="1"==a.mob;this.title=a.playlist_title||"";this.description=a.playlist_description||"";this.author=a.author||a.playlist_author||"";this.Kh={};a.video_id&&(this.La[this.Eb]=a);var b=a.api;b&&("string"==typeof b&&
16==b.length?a.list="PL"+b:a.playlist=b);this.Ho=0;if(b=a.list)switch(a.listType){case "user_uploads":this.Yf||(this.listId=new g.uQ("UU","PLAYER_"+b),vQ(this,"/list_ajax?style=json&action_get_user_uploads_by_user=1",{username:b}));break;case "user_favorites":this.Yf||(this.listId=new g.uQ("FL","PLAYER_"+b),vQ(this,"/list_ajax?style=json&action_get_favorited_by_user=1",{username:b}));break;case "search":qma(this,b);break;default:var c=a.playlist_length;c&&(this.sh=c);this.listId=new g.uQ(b.substr(0,
2),b.substr(2));(b=a.video)?(this.La=b.slice(0),this.Vc=!0):rma(this)}else a.playlist&&(b=a.playlist.toString().split(","),0<this.Eb&&(this.La=[]),(0,g.C)(b,function(a){a&&this.La.push({video_id:a})},this),this.sh=this.La.length,b=(0,g.I)(this.La,function(a){return a.video_id}),vQ(this,"/list_ajax?style=json&action_get_templist=1",{video_ids:b.join(",")}),this.Vc=!0);
this.setShuffle(!!a.shuffle);if(b=a.suggestedQuality)this.quality=b;this.Kh=AN(a,"playlist_");this.sE=(a=a.thumbnail_ids)?a.split(","):[]};
xQ=function(a){return!!(a.playlist||a.list||a.api)};
yQ=function(a){var b=a.Eb+1;return b>=a.sh?0:b};
zQ=function(a){var b=a.Eb-1;return 0>b?a.sh-1:b};
AQ=function(a,b){a.Eb=g.ad(b,0,a.sh-1);a.startSeconds=0};
qma=function(a,b){if(!a.Yf){a.listId=new g.uQ("SR",b);var c={search_query:b};a.FP&&(c.mob="1");vQ(a,"/search_ajax?style=json&embeddable=1",c)}};
rma=function(a){if(!a.Yf){var b=b||a.listId;b={list:b};var c=a.Zb();c&&c.videoId&&(b.v=c.videoId);vQ(a,"/list_ajax?style=json&action_get_list=1",b)}};
vQ=function(a,b,c){a.oI&&g.mE(g.Pg(b,c),{format:"JSON",onSuccess:(0,g.A)(function(a,b){BQ(this,b)},a),
onError:(0,g.A)(function(){this.T("error")},a)})};
BQ=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.Zb();a.La=[];(0,g.C)(b.video,function(a){a&&(a.video_id=a.encrypted_id,this.La.push(a))},a);
a.sh=a.La.length;var d=b.index;d?a.Eb=d:a.ll(c);a.setShuffle(!1);a.Yf=!1;a.Vc=!0;a.Ho++;a.xm&&a.xm()}};
CQ=function(a,b,c){this.audio=a;this.video=b;this.reason=c};
DQ=function(a){this.l=window.Float32Array?new window.Float32Array(a):Array(a);this.o=this.g=a-1};
EQ=function(a){return a.l[a.g]||0};
sma=function(){this.B=new DQ(50);this.g=null;this.A=this.o=0;this.l=null};
FQ=function(){return!("function"!=typeof window.fetch||!window.ReadableStream)};
GQ=function(a){if(a.bo())return!1;a=a.de("content-type");return"audio/mp4"==a||"video/mp4"==a};
IQ=function(a,b,c){g.HF.call(this);var d=new tma;"ULTRALOW"==a.latencyClass&&(d.A=!1);a.Kl?d.o=3:g.TO(a)&&(d.o=2);var e=21530001==a.liveExperimentalContentId,f=b.g("html5_live_no_streaming_impedance_mismatch")||"ULTRALOW"==a.latencyClass&&b.g("html5_ull_no_streaming_impedance_mismatch")||e;d.B=f&&AO(a)&&(a.hasSubfragmentedFmp4&&(!CO(a,b)||!FQ())||a.defraggedFromSubfragments);d.B&&(d.K++,e&&(d.C=b.l("html5_jumbo_ull_nonstreaming_mffa_ms")||window.NaN));"ULTRALOW"==a.latencyClass&&(d.M=2);tE()&&(e=
b.l("html5_platform_minimum_readahead_seconds")||3,d.l=Math.max(d.l,e));b.l("html5_minimum_readahead_seconds")&&(d.l=b.l("html5_minimum_readahead_seconds"));b.l("html5_maximum_readahead_seconds")&&(d.I=b.l("html5_maximum_readahead_seconds"));b.g("html5_force_adaptive_readahead")&&(d.A=!0);b.l("html5_allowable_liveness_drift_chunks")&&(d.g=b.l("html5_allowable_liveness_drift_chunks"));b.l("html5_readahead_ratelimit")&&(d.J=b.l("html5_readahead_ratelimit"));b.g("html5_adaptive_readahead_enable_new_method")&&
(d.Y=!0,b.l("html5_adaptive_readahead_loading_ratio_samples_minimum_amount")&&(d.H=b.l("html5_adaptive_readahead_loading_ratio_samples_minimum_amount")),b.l("html5_adaptive_readahead_loading_ratio_samples_average_amount")&&(d.F=b.l("html5_adaptive_readahead_loading_ratio_samples_average_amount")),b.l("html5_adaptive_readahead_loading_ratio_sample_timespan_duration")&&(d.D=b.l("html5_adaptive_readahead_loading_ratio_sample_timespan_duration")),b.l("html5_adaptive_readahead_size_shorten_delta")&&(d.X=
b.l("html5_adaptive_readahead_size_shorten_delta")),b.l("html5_adaptive_readahead_size_extend_delta")&&(d.R=b.l("html5_adaptive_readahead_size_extend_delta")));switch(a.liveExperimentalContentId){case 21530001:d.g=(d.g+1)/5}this.g=d;this.A=a;this.H=c;this.o=[];this.B=0;this.C=1!=this.g.o;this.D=!1;this.F=0;b=(0,window.isNaN)(a.liveChunkReadahead)?3:a.liveChunkReadahead;a.Kl&&b--;a.isLowLatencyLiveStream&&"NORMAL"!=a.latencyClass||b++;switch(a.liveExperimentalContentId){case 21530001:b=1;break;case 2153E4:b=
2}this.g.B&&b++;this.l=HQ(this,b)};
KQ=function(a){return JQ(a)*a.l};
LQ=function(a){if(a.o.length){if(1<Math.min.apply(null,a.o))return HQ(a,a.l-1);if(a.g.A)return HQ(a,a.l+1)}return a.l};
wma=function(a){var b=(0,g.G)();MQ(a,b);if(a.o.length<a.g.H)return!1;b=uma(vma(a.g.F,a.o,function(a){return a[1]}));
b=HQ(a,a.g.M+(1<=b?-Math.floor((b-1)*a.g.X):Math.floor((1/b-1)*a.g.R)));if(b==a.l)return!1;a.l=b;return!0};
vma=function(a,b,c){var d=[];(0,g.C)(b,function(b){var e=c?c(b):b;d.length<a?d.push(e):(0,g.C)(d,function(a,b){a>e&&(d[b]=e,e=a)})});
return d};
uma=function(a){return Ij(a,function(a,c){return a+c},0)/a.length};
MQ=function(a,b){var c=b-a.g.D,d=a.o,e=g.Ja(d,function(a){return a[0]>=c});
0<=e?d.splice(0,e):d.length=0};
OQ=function(a,b){var c=NQ(a);var d=a.g.g;a.D||(d=Math.max(d-1,0));d*=JQ(a);return b>=c-d};
NQ=function(a){return Math.max(a.H()-KQ(a),a.A.Yb())};
PQ=function(a){return(a.l-1+a.g.g)*JQ(a)};
QQ=function(a,b,c){3==a.g.o&&((b=OQ(a,b),c||b)?b&&(a.C=!0):a.C=!1)};
RQ=function(a,b){var c=OQ(a,b);a.D!=c&&a.T("livestatusshift",c);a.D=c};
JQ=function(a){return a.A.oa?FL(a.A.oa)||5:5};
HQ=function(a,b){b=Math.max(Math.max(a.g.K,Math.ceil(a.g.l/JQ(a))),b);return Math.min(Math.min(8,Math.floor(a.g.I/JQ(a))),b)};
tma=function(){this.K=1;this.l=0;this.I=window.Infinity;this.J=0;this.A=!0;this.g=2;this.o=1;this.B=!1;this.C=window.NaN;this.Y=!1;this.H=50;this.F=5;this.D=3E4;this.M=3;this.X=2;this.R=4};
TQ=function(a,b){this.D=a;this.Y=b;this.g=new SQ(0,0,null);this.B=8;this.A=[];this.o=[];this.C=this.H=window.NaN;this.R=this.l=this.I=0;this.F=window.NaN;this.X=0;this.M=!1;this.K=null;this.J=0};
UQ=function(a){return{startTime:a.F/a.l,duration:a.R/a.l}};
VQ=function(a){a.F=window.NaN;a.R=0;a.K=null;a.J=0};
WQ=function(a){return!(0,window.isNaN)(a.C)&&a.l?a.C/a.l:a.X};
XQ=function(a,b,c){var d=b.getUint32(c);b=b.getUint32(c+4);a.g=new SQ(b,d,a.g);return 8};
YQ=function(a){a.l&&!(0,window.isNaN)(a.H)&&(a.C=Math.floor(a.H*a.l),a.H=window.NaN)};
ZQ=function(a){return 0==a.g.type||1836019574==a.g.type||1952867444==a.g.type||1936286840==a.g.type||1953653094==a.g.type||1836019558==a.g.type};
$Q=function(a,b,c){for(var d=c;d<b.byteLength;d++)a.A.push(b.getUint8(d));0<c&&a.o.push(new window.DataView(b.buffer,b.byteOffset,c))};
aR=function(a,b,c){return new dJ(b,c,a.g.size,a.g.type,!0)};
SQ=function(a,b,c){this.type=a;this.size=b;this.g=c;this.offset=this.version=0};
xma=function(a,b){this.l=a;this.C=this.B=!1;this.length=b?b:0;this.o=0;this.g=[];this.A=null;this.length?1!=this.l.length||this.l[0].Xa||(this.l[0].Xa=this.length):1==this.l.length||(0,g.cm)(this.l,function(a){return!!a.range})};
yma=function(a){var b=a.length-a.o;(0,g.C)(a.g,function(a){b+=a.range.length});
return b};
zma=function(a,b){this.l=a;this.g=b};
bR=function(a,b){if(0>b)return!0;var c=a.g.Qb();return b<c||b==c&&!a.l.fa||b==c&&(c=ZK(a.g))&&b==c.wa?!0:!1};
Ama=function(a,b,c){if(!bR(a,b))return 0;if(!a.l.g||!(0,window.isNaN)(c)&&0<c)return 2;if(0>b)return 1;c=a.g.Qb();return b<c||b==c&&(a=ZK(a.g))&&b==a.wa&&!a.g?2:1};
Bma=function(a,b,c,d){if(bR(a,b))return d;b=0;a.l.g&&(b=.2);return c+1E3*(a.g.l+b)};
Cma=function(a,b,c,d,e){b=Ama(a,b,e);if(2==b)return d;d=b?0:1;a.l.g&&d++;return c+a.g.l*d*1E3};
Dma=function(a){this.C=a;this.A=window.NaN;this.B=[];this.o=this.g=this.l=0};
Ema=function(a,b,c,d,e){this.ra=null;this.l=a;this.sa=b;this.xa=c;this.X=d;this.D=e;this.ea=this.g=window.NaN;this.bb=0;this.R=this.fa=this.o=this.C=window.NaN;this.ia=this.ga=this.A=!1;this.B=0;this.ba=pM(this.l);this.Z=window.NaN;this.J=this.H=window.Infinity;this.K=window.NaN;this.na=!1;this.I=this.M=window.NaN;this.F=this.Y=null};
cR=function(a){return{rt:((0,g.G)()-a.g).toFixed(),lb:a.o.toFixed(),pt:(1E3*a.Z).toFixed(),pb:a.sa.toFixed(),stall:(1E3*a.B).toFixed(),elbowTime:(a.ea-a.g).toFixed(),elbowBytes:a.bb.toFixed()}};
dR=function(a){a.I||(a.I=a.ra(),3==a.I&&(a.Y=new Dma(a.l)));return a.I};
hR=function(a,b,c,d){var e=(b-a.C)/1E3,f=c-a.o,k=dR(a);if(3==k&&f){var l=a.Y;l.B.push({Ko:f,rv:(0,window.isNaN)(l.A)?window.NaN:d-l.A,A4:d});l.A=d}a.A?1==k&&0<f&&(.2<e||1024>f?(a.B+=e,.2<e&&gR(a,.05,f)):gR(a,e,f),a.ia=!0):eR(a,c)&&(1==k&&(d=(b-a.g)/1E3,fR(a)||(k=a.l,k.F.g(1,d),jM(k))),a.ea=b,a.bb=c,a.A=!0);mM(a.l,e,f);a.C=b;a.o=c};
gR=function(a,b,c){b=Math.max(b,.05);a=a.l;var d=void 0;a.g.g(void 0===d?b:d,c/b);a.o=g.gG()};
jR=function(a,b,c){c=Math.round(c/1024);a.F&&a.F.push(iR(b-a.fa,c-a.R));a.fa=b;a.R=c};
eR=function(a,b){return b?a.D&&1!=dR(a)?!0:b>=a.l.policy.A:!1};
kR=function(a){return eR(a,a.o)};
lR=function(a){a.K=a.g+1E3*a.ba.delay;a.na=!1};
mR=function(a,b){var c=a.X.g[0].wa;a.H=Math.min(a.H,Bma(a.D,c,a.g,b));a.J=Math.min(a.J,Cma(a.D,c,a.g,b,a.X.o));a.H<=a.g?lR(a):(a.K=a.H,a.na=!0)};
fR=function(a){a.D&&mR(a,(0,g.G)());return a.na};
nR=function(a,b){b=void 0===b?(0,g.G)():b;if(a.D){mR(a,b);var c=a.I?a.D?1!=dR(a):!1:a.H!=a.J;if(c){if(c=a.J,b<c){a.M=a.J;return}}else c=a.H;c=Math.max(c,a.K)}else c=a.K;var d=a.sa-a.o;0>d&&a.l.policy.C&&(d=0);d=1E3*(d*a.ba.stall+d/a.ba.byterate);d=kR(a)?d+b:d+Math.max(b,c);a.M=d};
iR=function(a,b){for(var c="";4095<a;)c+=iR(4095,0),a-=4095;for(;4095<b;)c+=iR(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))};
oR=function(a,b,c,d,e,f){this.status=0;this.I=this.response=null;this.M=d;this.B=c;this.R=e;this.D=f;this.A=[];this.o=null;this.l=this.g=0;this.Ea=Fma++;this.C=null;a=new window.Request(a,{method:"GET",credentials:"include"});(0,window.fetch)(a).then(SD((0,g.A)(this.JU,this)),SD((0,g.A)(this.dB,this)));(0,g.G)();this.K=this.F=this.H=!1;this.J="";b()};
tR=function(a,b){a.l+=b.length;var c=b.length;var d=pR(a)?1:Math.max(qR(a)/2,16384);c=c>=d;d=b.length+a.g>qR(a);a.K?((c||d)&&0!==a.g&&rR(a),c?a.A.push(b):sR(a,b)):(sR(a,b),a.l>=(pR(a)?1:16384)&&rR(a))};
rR=function(a){a.K=!0;a.A.push(a.o.subarray(0,a.g));a.g=0;a.o=a.H?null:new window.Uint8Array(qR(a))};
sR=function(a,b){if(b.length+a.g>qR(a)){var c=new window.Uint8Array(a.g+b.length);c.set(a.o,0);a.o=c}a.o.set(b,a.g);a.g+=b.length};
uR=function(a){a.C.read().then(SD((0,g.A)(a.wQ,a)),SD((0,g.A)(a.dB,a)));(0,g.G)()};
wR=function(a){if(a.B){a.H=!0;if(vR(a)&&!a.A.length&&!a.g&&!a.F&&a.l){GQ(a);if(!a.o||8>a.o.length)a.o=new window.Uint8Array(8);var b=new window.DataView(a.o.buffer,0,8);b.setUint32(0,8);b.setUint32(4,1936419184);a.g=8;a.l+=8}a.M()}};
pR=function(a){return a.D.Pa&&a.D.g&&GQ(a)};
vR=function(a){return a.D.Fd&&a.D.g&&GQ(a)};
qR=function(a){a=a.bo()||0;return Math.max(16384,.125*a)};
xR=function(a,b,c,d,e){this.status=0;this.response=null;this.l=this.o=!1;this.g=new window.XMLHttpRequest;this.g.open("GET",a);this.g.responseType="arraybuffer";this.g.withCredentials=!0;this.g.onreadystatechange=(0,g.A)(this.QN,this);this.A=d;this.C=c;this.B=e;a=SD((0,g.A)(this.ON,this));this.g.addEventListener("load",a,!1);this.g.addEventListener("error",a,!1);this.g.send();b();this.g.addEventListener("progress",SD((0,g.A)(this.PN,this)),!1)};
yR=function(a,b,c,d){this.o=a;this.info=b;this.timing=c;this.X=d;this.state=1;this.g=this.Y=null;this.D=this.M=0;this.R=new g.Xt(this.TU,a.J,this);this.B=this.A=this.F=null;this.C=0;this.J=this.l=null;this.K=0;this.Z=this.I=!1;this.H=this.o.xa&&(QK(this.info)||PK(this.info))};
Gma=function(a,b){a.F=b};
zR=function(a){return a.A?AK(a.A.g):""};
AR=function(a){var b=cR(a.timing);b.shost=zR(a);b.rn=a.M.toString();a.C&&(b.rc=a.C.toString());b.itag=""+RH(a.info.g[0].g.info);b.ml=""+ +a.info.g[0].g.Mc();b.sq=""+a.info.g[0].wa;410!=a.C&&500!=a.C&&503!=a.C||(b.fmt_unav="true");a.g&&a.g.du()&&(b.msg=a.g.du());return b};
BR=function(a){zR(a);return xK(a.X,zR(a))};
DR=function(a){if("net.timeout"==a.B){var b=a.timing,c=(0,g.G)();c=c>b.g&&4E12>c?c:(0,g.G)();jR(b,c,1024*b.R);var d=(c-b.g)/1E3;if(2!=dR(b))if(kR(b))b.B+=(c-b.C)/1E3,kM(b.l,b.o,b.B);else{if(!fR(b)){var e=b.l;e.F.g(1,d);jM(e)}b.ea=c}e=b.l;var f=b.Z,k=PK(b.X);e.D.g(d,b.o/d);e.o=g.gG();k||e.l.g(1,d-f);mM(b.l,(c-b.C)/1E3,0)}else(0,g.G)();"net.nocontent"!=a.B&&("net.timeout"==a.B||"net.connect"==a.B?(b=BR(a),b.l+=1):(b=BR(a),b.g+=1),a.info.l.g++);CR(a,7)};
ER=function(a){if(1==a.state)return!0;a=BR(a);return 100>a.l&&6>a.g};
CR=function(a,b){a.state=b;if(5<=a.state){var c=a.timing;c.A&&(c.A=!1)}a.F&&a.F(a)};
GR=function(a,b){if(b){var c=BR(a);c.A+=1}FR(a);a.B="net.timeout";DR(a)};
HR=function(a){return(0,g.cm)(a.info.g,function(a){return 3==a.type})};
FR=function(a){if(a.g){var b=a.g;a.g=null;b.abort()}a=a.timing;a.A&&(a.A=!1)};
JR=function(a){var b=a.g.de("content-type"),c=a.g.bo();(b=(!IR(a)||!b||-1!=b.indexOf("text/plain"))&&(!c||2048>=c))&&IR(a)&&pR(a.g);return b};
Hma=function(a,b){var c=(0,g.A)(a.rU,a),d=(0,g.A)(a.uU,a),e=(0,g.A)(a.tU,a),f=(0,g.A)(a.sU,a);return a.o.D&&(a.o.iw&&!(0,window.isNaN)(a.info.o)&&a.info.o>a.o.Zm?0:FQ()&&HR(a))?new oR(b,d,e,c,f,a.o):new xR(b,d,e,c,f)};
IR=function(a){return a.g?a.g.oE():!1};
KR=function(a){return 2<=a.state&&!!a.l&&!!a.l.g.length};
LR=function(a,b){if(b||IR(a)&&!JR(a)){if(!a.l){var c;IR(a)||(c=a.g.Ir());a.l=new xma(a.info.g,c)}for(;a.g.xi();){c=a.l;for(var d=a.g.eE(),e=b&&!a.g.xi(),f=0,k=0,l=g.p(c.l),m=l.next();!m.done;m=l.next())if(m=m.value,m.range&&f+m.Xa<=c.o)f+=m.Xa;else{var n=c,q=m;if(1==q.type){n.B=!0;var r=!1}else 3==q.type||4==q.type?(q=n.B&&!n.C,n.C=!0,r=q):r=!1;n=c;var v=c.o-f,E=k;q=d;r=r||m.g.CA();var H=q.length-E;m.range&&(H=Math.min(m.Xa-v,H));v=UJ(m,m.l+v,H,m.range?m.l+v+H==m.range.length:!!e);var L=MJ(q.byteOffset,
q.length);E=MJ(q.byteOffset+E,H);n.g.push(new nK(v,q.buffer,E,L,r));n=H;c.o+=n;k+=n;f+=m.Xa;if(k==d.length)break}}}};
Ima=function(a){if(!a.o.g||!(0,window.isNaN)(a.info.o)&&0<a.info.o)return!1;if(!a.g||!a.g.Bl())return!0;if(!GQ(a.g))return!1;if((0,window.isNaN)(a.info.o)){var b=a.g.de("x-head-seqnum");if(b&&(0,window.parseInt)(b,10)>a.info.g[0].wa)return!1}return!0};
MR=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};
Jma=function(a){a=JJ(a,1886614376);(0,g.C)(a,function(a){return!a.l});
return(0,g.I)(a,function(a){return new window.Uint8Array(a.data.buffer,a.offset+a.data.byteOffset,a.size)})};
NR=function(a){return g.ge(a,!0).replace(/[\.]{1,2}$/,"")};
OR=function(a,b,c){g.HF.call(this);this.D=0;this.o=a;this.g=[];this.A=null;this.I=b;this.X=c;this.B=this.F=window.NaN;this.M=null;this.Y=(0,g.A)(function(a){this.o.VE&&(this.T("timestamprewrite",a),this.o.VE=!1)},this);
this.R=this.J=this.C=this.l=null;this.K=!1;this.H=null;this.o.ba&&(this.l=new TQ(this.o,this.X))};
PR=function(a){return a.g.length?a.g[0]:null};
QR=function(a){return a.g.length?a.g[a.g.length-1]:null};
Lma=function(a,b,c){b=Kma(a,b,c);(0,g.C)(b,function(b){a.g.push(b)})};
Mma=function(a){if(!a.g.length)return 0;for(var b=a.g[0].A.length,c=1;c<a.g.length;c++)a.g[c].g!=a.g[c-1].g&&(b+=a.g[c].A.length);a.A&&(b+=a.A.A.length);return b};
RR=function(a){return(0,g.I)(a.g,function(a){return a.info})};
SR=function(a,b){a.K=!1;a.H&&!a.o.Xb&&a.T("placeholderrollback",a.H);a.H=null;if(a.l){var c=(0,window.isNaN)(a.B)?b.g[0].range?b.g[0].B:(0,window.isNaN)(a.l.F)?WQ(a.l):UQ(a.l).startTime:a.B;a.l.reset();a.J=a.R;a.B=c}a.C=null};
TR=function(a){return a.l?WQ(a.l):a.F||0};
Kma=function(a,b,c){if(!c.verify()||c.info.g.Zs()){var d=SJ(c.info);d.verification="1";a.T("error",d||{})}c.l&&c.info.g.info.video&&UK(c.info.g,oK(c));a.I.info.Kc&&g.VH(c.info.g.info)&&(c.info.F=Jma(oK(c)));c.info.o&&(a.R=c.info);if(!a.I.gf()){2==c.info.g.info.containerType&&(d=oK(c),c.l&&c.info.g.info.video&&eK(d));a.C&&VJ(c.info,a.C);!a.J||(a.o.Tg?QJ(a.J,c.info,!0):RJ(a.J,c.info))||(a.l&&a.l.reset(),a.F=window.NaN,a.D=0);a.J=c.info;if(a.l)b:{var e;(e=!(0,window.isNaN)(a.B))||(e=a.l,e=!(!(0,window.isNaN)(e.C)||
!(0,window.isNaN)(e.H)));e&&(e=a.l,e.H=(0,window.isNaN)(a.B)?(0,window.isNaN)(a.F)?c.info.startTime:a.F:a.B,YQ(e),a.B=window.NaN);e=oK(c);e=a.l.process(e);if(d=c.info.o)d=a.l,d=!(0==d.g.type&&!d.A.length);d&&!a.o.Ug&&(d=SJ(c.info),d.partialbox="1",a.T("error",d||{}));var f=b.timing;d=!!c.info.l&&1936286840!=e&&!(a.o.Fd&&1936419184==e);var k=c.info.o;if(3==dR(f)&&(e=f.Y,e.B.length)){f=e.B.shift();var l=f.rv;d||(f.Ko-=Math.min(f.Ko,1500),f.rv=0);e.l+=f.Ko;e.g+=f.rv;e.o+=(0,window.isNaN)(l)?0:l;k&&(0>=
e.g||(d=e.C,k=e.g/1E3,f=e.o/1E3,d.g.g(void 0===f?k:f,e.l/k),d.o=g.gG()),e.g=0,e.l=0,e.o=0)}if(a.o.qw&&a.o.g){if(!a.l.M&&!c.info.o){c=null;break b}}else if((0,window.isNaN)(a.l.F)){c=null;break b}e=a.l;f=c.info.g.info;if(e.o.length)if(e.M=!1,e.D.F||1!=e.o.length){d=0;l=g.p(e.o);for(k=l.next();!k.done;k=l.next())d+=k.value.byteLength;if(e.D.F){if(!e.K||e.K.length-e.J<d)e.K=new window.Uint8Array(Math.max(d,e.D.bj+Math.round(f.g*e.D.Th))),e.J=0;f=e.K;l=e.J}else f=new window.Uint8Array(d),l=0;var m=l,
n=g.p(e.o);for(k=n.next();!k.done;k=n.next())k=k.value,f.set(new window.Uint8Array(k.buffer,k.byteOffset,k.byteLength),l),l+=k.byteLength;e.o.length=0;e.D.F&&(e.J=l);e=new window.DataView(f.buffer,m,d)}else d=e.o[0],e.o.length=0,e=d;else e=null;e?(d=MJ(e.byteOffset,e.byteLength),k=a.o.F?MJ(0,e.buffer.byteLength):d,f=c.info.l+c.info.Xa-a.l.A.length-e.byteLength,l=UJ(c.info,f,e.byteLength,c.info.o),c=new nK(l,e.buffer,d,k,c.l&&(!a.o.F||!f))):c=null}else a.o.Ed?e=a.X(rK(c),1):e=(0,window.isNaN)(a.B)?
(0,window.isNaN)(a.F)?c.info.startTime:a.F:a.B,a.B=window.NaN,a.o.X&&!sK(c,e)?(e=SJ(c.info),e.smst="1",a.T("error",e||{})):a.F=e+tK(c);if(!c)return[];UR(a,c)&&(vK(c),c.o&&(a.C=c.o,a.K=!!a.l,VJ(c.info,a.C),VJ(a.J,a.C)));UR(a,c)&&g.VH(c.info.g.info)&&HJ(oK(c),1701671783);k=c;if(a.C)if(k.info.o){a.K=!1;a.H=null;d=a.C;a.l?(k=UQ(a.l),VQ(a.l),e=k.startTime,k=k.duration):(e=rK(k),k=tK(k));k=new $I(d.l,e,k,d.ingestionTime,"sq/"+d.l,void 0,void 0,!1);a.T("segmentinfo",k);if(f=d.g["Cuepoint-Type"]?new nJ((0,window.parseFloat)(d.g["Cuepoint-Playhead-Time-Sec"])||
0,(0,window.parseFloat)(d.g["Cuepoint-Total-Duration-Sec"])||0,d.g["Cuepoint-Context"],d.g["Cuepoint-Identifier"]||"",Nma[d.g["Cuepoint-Event"]||""]||"unknown"):null)f.We+=e,a.T("cuepoint",f,d.l);e=k}else a.K&&!(0,window.isNaN)(a.l.F)?(e=a.C,d=UQ(a.l).startTime,e=new $I(e.l,d,a.C.F,e.ingestionTime,"sq/"+e.l,void 0,void 0,!0),a.H=e,a.T("placeholderinfo",e),a.K=!1):e=null;else e=null;d=c;if(a.o.Xm)if(e)for(WJ(d.info,e),b=g.p(b.info.g),d=b.next();!d.done;d=b.next())WJ(d.value,e);else a.H&&WJ(d.info,
a.H);c.info.o&&(a.C=null)}b=c;if(a.o.kw&&!a.I.gf()&&(0==b.info.l||a.A)&&g.VH(b.info.g.info)&&3==b.info.type&&!uK(b)&&b.info.duration&&!a.o.ba&&(b=c,a.D+=1E3*(tK(b)-b.info.duration),a.M&&Math.abs(a.D-a.M.D)>=a.o.Ym))return b=c,c=(a.M.D-a.D)/1E3,e=tK(b)+c,d=new window.DataView(b.g),d=(d=g.uJ(d,1936286840))?DJ(d):window.NaN,(0,window.isNaN)(d)&&(d=b.info.g.g,k=new window.DataView(b.g),d=(k=g.uJ(k,1836476516))?vJ(k):d?wJ(d):window.NaN),(d=VR(a,b,e*d))&&d.length&&(k=SJ(b.info),k.fds=e.toFixed(3),k.com=
a.D.toFixed(3),a.T("timestamprewrite",k),a.F+=c,a.D+=1E3*c),d?d:WR(a,b);if(!a.I.gf()&&a.I.info.Kc&&a.o.Eo)if(b=c,c=XR(a,b)){d=sJ(c,0,1718909296);m=sJ(c,0,1836019574);k=sJ(c,0,1701671783);l=sJ(c,0,1836019558);if(d&&m&&l){f=IJ(c,m);e=IJ(c,l);n=m.size;var q=g.p(e);for(m=q.next();!m.done;m=q.next())m=m.value,1886614376==m.type&&(f.push(m),n+=m.size);l=d.size+n+l.size;k&&(l+=k.size);l=new jJ(l);lJ(l,d);mJ(l,1836019574,f);k&&lJ(l,k);d=g.p(e);for(m=d.next();!m.done;m=d.next())k=m.value,1886614376==k.type&&
(k.type=1936419184,k.data.setUint32(k.offset+4,1936419184));mJ(l,1836019558,e);e=l.data.buffer}else e=null;a=e?YR(a,c,e,b):WR(a,b)}else a=WR(a,b);else a.o.Dd&&a.I.gf()&&(0==c.info.l||a.A)&&g.VH(c.info.g.info)?(b=c,c=b.info.g.index.Mr(b.info.wa),a=(c=VR(a,b,c))?c:WR(a,b)):a=[c];return a};
UR=function(a,b){return!a.I.gf()&&0==b.info.l&&(g.VH(b.info.g.info)||2==b.info.g.info.containerType)};
WR=function(a,b){if(a.A&&a.A!=b){var c=[a.A,b];a.A=null;return c}return[]};
VR=function(a,b,c){var d=XR(a,b);return d?(c=rka(d,c,a.Y))?YR(a,d,c,b):null:null};
YR=function(a,b,c,d){b=GJ(b);a.A&&(b-=a.A.range.length,a.A=null);a=qK(d,b);a[0].g=c;a[0].range=MJ(0,c.byteLength);a[0].A=MJ(0,c.byteLength);d=a[0];c=new window.DataView(c);c=!!sJ(c,0,1836019574);d.l=c;return a};
XR=function(a,b){if(a.A){var c=a.A,d=new window.Uint8Array(c.range.length+b.range.length);d.set(new window.Uint8Array(c.g,c.range.start,c.range.length));d.set(new window.Uint8Array(b.g,b.range.start,b.range.length),c.range.length);c=new window.DataView(d.buffer);GJ(c);return c}c=oK(b);if((d=GJ(c))&&d<c.byteLength)return c;a.A=b;return null};
ZR=function(a,b,c){this.l=b;this.A=[];this.o=new OR(a,b,c);this.M=this.B=this.g=null;this.J=0;this.H=b.info.g;this.F=!1;this.I=0;this.D=b.Vj();this.C=-1;this.Ek=this.D?0:window.NaN};
$R=function(a,b){a.A.push(b);a.g=g.Ia(b.info.g)};
bS=function(a){for(;a.A.length&&6==a.A[0].state;){var b=a.A.shift();aS(a,b);b=b.timing;a.J=(b.C-b.g)/1E3}a.A.length&&KR(a.A[0])&&!PK(a.A[0].info)&&aS(a,a.A[0])};
aS=function(a,b){if(KR(b)){b.I=!0;var c=b.l,d=c.g;c.g=[];c.A=g.Ia(d).info;(0,g.C)(d,(0,g.A)(a.R,a,b))}};
eS=function(a,b){a.l.Mc();var c=cS(a,b);if(0<=c)return c;a.g=a.l.zg(b).g[0];dS(a)&&(a.B=null);a.I=0;return a.g.startTime};
fS=function(a){var b=0;(0,g.C)(a.A,function(a){var c=b;a=a.l&&a.l.length?yma(a.l):SK(a.info);b=c+a},a);
return b+=Mma(a.o)};
hS=function(a){gS(a);a.o.g=[]};
iS=function(a,b){var c;for(c=0;c<a.A.length&&b!==a.A[c];c++);if(c==a.A.length)b.I&&SR(a.o,b.info),b.dispose();else{for(;c<a.A.length;){var d=a.A.pop();d.I&&SR(a.o,d.info);d.dispose()}3==b.info.g[0].type?(b.l&&b.l.A?(c=b.l.A,c=new OJ(c.type,c.g,c.range,c.wa,c.startTime+c.duration,0,c.l+c.Xa,0,!1)):(c=b.info.g[0],c=new OJ(c.type,c.g,c.range,c.wa,c.startTime,0,c.l,0,!1)),a.g=c):a.g=null}};
dS=function(a){return!!a.B&&a.B.C};
jS=function(a){var b=[];a.B&&b.push(a.B);b=g.Va(b,RR(a.o));(0,g.C)(a.A,function(a){(0,g.C)(a.info.g,function(c){a.I&&(b=(0,g.Jd)(b,function(a){return!(a.g!=c.g?0:a.range&&c.range?a.range.start+a.l>=c.range.start+c.l&&a.range.start+a.l+a.Xa<=c.range.start+c.l+c.Xa:a.wa==c.wa&&a.l>=c.l&&(a.l+a.Xa<=c.l+c.Xa||c.o))}));
3!=c.type&&4!=c.type||b.push(c)})});
a.g&&!tka(a.g,g.Ia(b),a.g.g.gf())&&b.push(a.g);return b};
kS=function(a,b){if(!a.length)return!1;for(var c=b+1;c<a.length;c++)if(!RJ(a[c-1],a[c]))return!1;return!0};
cS=function(a,b,c){c=void 0===c?!1:c;if(!a.g||!a.g.Xa)return window.NaN;a=jS(a);a:{var d=c;d=void 0===d?!1:d;for(var e=-1,f=0;f<a.length;++f){var k=a[f];if(k.B<=b)if(d)e=f;else if(k.startTime+k.duration>=b){b=f;break a}}b=e}return 0>b||!kS(a,c?b:0)?window.NaN:a[b].startTime};
lS=function(a){return(0,g.zj)(a.A,function(a){return 4<=a.state})};
mS=function(a){return!(!a.g||a.g.g==a.l)};
nS=function(a){return mS(a)&&a.l.Mc()&&a.g.g.info.g<a.l.info.g};
oS=function(a,b,c){return(a=QR(a.o)?QR(a.o).info:a.B)&&!a.C?a.A>b&&a.A<b+c:!1};
gS=function(a){(0,g.C)(a.A,function(a){a.I&&SR(this.o,a.info);a.dispose()},a);
a.A=[];a.g=null};
pS=function(a){return!!a.g&&-1!=a.g.wa&&a.g.wa<a.l.index.jf()};
qS=function(a){if(a.g){var b=QR(a.o);b&&3==b.info.type&&-1==a.g.wa&&(a.g.wa=b.info.wa)}};
rS=function(a){return(0,g.zj)(a.A,function(a){return a.H})};
Oma=function(a,b){this.l=a;this.g=b;this.o=1};
Pma=function(a,b){var c=Math.min(2.5,lM(a.l)),d=sS(a);return b-c*d};
uS=function(a,b,c,d,e){e=void 0===e?!1:e;d/=a.o;var f=1/oM(a.l);var k=.9*(d-a.g.Ha);k=Math.max(k,lM(a.l)+a.l.policy.A*f);c=k/f*a.g.hw/(b+c);a.g.pg&&(d-=a.g.Ha);c=Math.min(c,d);a.g.rb&&e&&(c=Math.max(c,a.g.rb));return tS(a,c,b)};
tS=function(a,b,c){return Math.ceil(Math.max(Math.max(65536,a.g.ew*c),Math.min(Math.min(a.g.R,a.g.Gb*c),Math.ceil(b*c))))};
Qma=function(a,b){var c=tS(a,b.video?a.g.Fw:a.g.og,b.g);return a.g.Hf&&b.video?Math.max(c,a.g.Hf):c};
sS=function(a){var b=oM(a.l);if(a.g.Sh)return b;var c=a.g.bw,d=1E-9+lM(a.l);b*=Math.min(1,c/(b*d));a.g.Gf&&(c=((iM(a.l.l,.98)||0)-1)/2,c=Math.max(0,Math.min(1,c)),b*=1-a.g.Gf*c);return b};
vS=function(a){return sS(a)/a.o};
Rma=function(a,b,c,d){this.Y=a;this.l=b;this.D=c;this.F=d;this.B=WI;this.A=this.J=null;this.H="i";this.M=-1;this.o=this.C=null;this.g=[];this.X={};this.R=this.I=0;this.ea=null;this.K=this.ba=!1;this.Z=0};
Sma=function(a,b,c){if(TI(a.B,b))return null;a.l.Qc&&(c=b.reason);"m"==b.reason&&a.B.isLocked()&&!b.isLocked()&&(c="a");if("m"==b.reason&&b.isLocked())return a.H=c,wS(a,b),a.I=a.g.length-1,xS(a),yS(a),a.K=a.K||a.A!=a.o,a.A=a.o,new CQ(a.C,a.A,c);"r"==b.reason&&(a.M=-1);wS(a,b);yS(a);if("r"==b.reason&&a.o==a.A)return new CQ(a.C,a.o,c);a.H=c;a.A&&a.o&&zS(a,a.A.info)<zS(a,a.o.info)&&(b=a.B.reason,a.ba=a.ba||"r"==b||"u"==b||"v"==b);return null};
Tma=function(a,b){if(b.info.video){if(a.A!=b)return a.A=b,AS(a)}else a.J=b;return null};
BS=function(a,b){a.l.I?b.H=g.gG():(a.ea=b.info,a.R=g.gG());a.M=-1;wS(a,a.B)};
CS=function(a){if(a.l.I){for(var b=g.gG()-6E4,c=g.p(a.F.videoInfos),d=c.next();!d.done;d=c.next())if(a.D.g[d.value.id].H>b)return!0;return!1}return!!a.R&&6E4>=g.gG()-a.R};
DS=function(a){return a.B.isLocked()};
AS=function(a){var b=a.H;a.H="a";a.M=g.gG();a.ba=!1;return new CQ(a.J,a.A,b)};
wS=function(a,b){a.B=b;var c=a.F.videoInfos;if(!DS(a)){var d=g.gG()-6E4;c=(0,g.Jd)(c,function(a){if(a.g>this.l.H)return!1;a=this.D.g[a.id];return this.l.I&&a.H>d?!1:4<a.A.g||4<a.F||a.B?!1:!0},a);
if(CS(a)){a.l.I||(c=(0,g.Jd)(c,function(a){return a.id!=this.ea.id},a));
var e=(0,g.Jd)(c,function(a){a=RH(a);return"140"==a||"134"==a||"243"==a});
e.length&&(c=e)}}c.length||(c=a.F.videoInfos);e=(0,g.Jd)(c,b.A,b);e.length||(e=[c[0]]);e.sort((0,g.A)(function(a,b){return zS(this,a)-zS(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.Sa(e,c),c--):zS(a,f)*a.l.l>zS(a,k)&&(g.Sa(e,c-1),c--)}c=e[e.length-1];a.g=e;xka(a.l,c)};
Uma=function(a,b){if(b)a.C=a.D.g[b];else{var c=g.Ka(a.F.g,function(a){return!!a.Hb&&a.Hb.isDefault});
c=c||a.F.g[0];a.C=a.D.g[c.id]}xS(a)};
xS=function(a){if(!a.C.info.Hb&&(a.C=a.D.g[a.F.g[0].id],1<a.F.g.length)){if(a.B.isLocked())var b=240>a.B.g;else{for(b=0;b+1<a.g.length&&"tiny"==a.g[b].video.quality;)b++;var c=vS(a.Y)/a.l.l;b=zS(a,a.C.info)+zS(a,a.g[b])>c}b&&(a.C=a.D.g[a.F.g[1].id])}};
yS=function(a){if(DS(a))a.o=a.D.g[a.g[a.g.length-1].id];else{for(var b=Math.min(a.I,a.g.length-1),c=vS(a.Y),d=zS(a,a.C.info),e=c/a.l.A-d;0<b&&!(zS(a,a.g[b])<=e);b--);for(c=c/a.l.l-d;b<a.g.length-1&&!(zS(a,a.g[b+1])>=c);b++);a.o=a.D.g[a.g[b].id];a.I=b}};
Vma=function(a){var b=a.l.A,c=vS(a.Y)/b-zS(a,a.C.info);b=g.La(a.g,function(a){return zS(this,a)<c},a);
0>b&&(b=0);a.I=b;a.o=a.D.g[a.g[b].id]};
zS=function(a,b){if(!a.X[b.id]){var c=a.D.g[b.id].index.Ty(a.Z,15);c=b.A&&a.A&&a.A.index.Kb()?c||b.A:c||b.g;a.X[b.id]=c}return a.X[b.id]};
Wma=function(a,b){var c=Ub(a.D.g,function(a){return RH(a.info)==b});
if(!c)throw Error("Itag "+b+" from server not known.");return c};
Xma=function(a){var b=[];if("s"==a.B.reason||"m"==a.B.reason)return b;var c=!1;if(Oka(a.D)){for(var d=Math.max(0,a.I-2);d<a.I;d++){var e=RH(a.g[d]);OH(a.g[d].video)||(c=!0);b.push(e)}b.reverse();if(!c&&a.l.oD)for(d=Math.max(0,a.I-3);0<=d&&!c;d--)OH(a.g[d].video)||(c=!0,b.push(RH(a.g[d])))}return b};
Yma=function(){this.g=this.l=0;this.o=[]};
ES=function(a,b){return(a[b]<<24)+(a[b+1]<<16)+(a[b+2]<<8)+a[b+3]};
FS=function(a,b,c,d){this.l=a;this.C=b;this.B=d;this.A=c;this.g=0};
GS=function(a,b,c,d){g.HF.call(this);this.g=a;this.R=b;this.M=c;this.J=d;this.K=window.NaN;this.o=this.H=this.B=null;this.l=this.D=this.F=this.C=window.NaN;this.A=!1;this.I=window.NaN};
Zma=function(a,b,c,d){return a.K&&a.g&&a.D&&FQ()&&(!a.yw||a.Ca)?new GS(a,b,c,d):null};
HS=function(a,b){if(a.g.uw){var c=b.info.g;if(0>=c)a.I=window.NaN;else{var d=oM(a.R),e=b.index.l;c=Math.max(1,d/c);a.I=Math.round(1E3*Math.max(((c-1)*e+a.g.Y)/c,e-a.g.Wa))}}};
$ma=function(a,b){var c=(0,g.G)()/1E3,d=c-a.C,e=c-a.F,f=e>=a.g.Gd,k=!1;if(f){var l=0;!(0,window.isNaN)(b)&&b>a.D&&(l=b-a.D,a.D=b);l/e<a.g.xw&&(k=!0);a.F=c}c=d>=a.g.Wa&&!a.A;if(!f&&!c&&IS(a,b))return window.NaN;c&&(a.A=!0);a:{d=k;c=(0,g.G)()/1E3-(a.M.l()||0)-a.H.o-a.g.Y;f=a.o.startTime;c=f+c;if(d){if((0,window.isNaN)(b)){JS(a,window.NaN,"n",b);f=window.NaN;break a}d=b-a.g.Ta;d<c&&(c=d)}else a.A&&(d=c+a.g.Y-a.K+a.g.Cw,(0,window.isNaN)(b)||(d=Math.max(d,Math.min(c,b-a.g.Ta))),c=d);f=c=Math.max(c,f)}a.l=
f;if((0,window.isNaN)(a.l))return KS(a),window.NaN;if(!k&&IS(a,b))return LS(a,b),window.NaN;if(a.l<=a.o.startTime)return JS(a,window.NaN,"y",b),KS(a),window.NaN;if(!a.J(a.l,!1))return!LS(a,b)&&k&&(JS(a,window.NaN,"t",b),KS(a)),window.NaN;k=a.l;JS(a,k,"s",b);KS(a);return k};
LS=function(a,b){return a.J(a.l,!0)?!1:(JS(a,window.NaN,"ns",b),KS(a),!0)};
IS=function(a,b){return(0,window.isNaN)(b)?!0:(0,window.isNaN)(a.l)?!1:b<a.l+(a.A?a.g.Ta:a.g.ww)};
KS=function(a){a.B=null;a.H=null;a.o=null;a.C=window.NaN;a.F=window.NaN;a.D=window.NaN;a.l=window.NaN;a.A=!1};
JS=function(a,b,c,d){var e=AR(a.B);e.ssr_sk=(1E3*b).toFixed(0);e.ssr_t=(1E3*a.l).toFixed(0);e.ssr_r=c;e.ssr_st=(1E3*a.C).toFixed(0);e.ssr_n=(0,g.G)().toFixed(0);e.ssr_f=(1E3*a.H.o).toFixed(0);e.ssr_fa=a.A?"1":"0";e.ssr_o=(1E3*a.M.l()||0).toFixed(0);e.ssr_v=(1E3*d).toFixed(0);b=a.o.g.index;YK(b,a.o.wa,!0)&&(e.ssr_ist=(1E3*b.Nd(a.o.wa)).toFixed(0),e.ssr_id=(1E3*b.getDuration(a.o.wa)).toFixed(0));e=fN(e);a.T("ctmp","ssr",e,!1)};
ana=function(){this.g=[];this.l=g.tQ};
MS=function(a,b){for(var c=[],d=g.p(a.g),e=d.next();!e.done&&!(e=e.value,e.contains(b)&&c.push(e),e.start>b);e=d.next());return c};
bna=function(a){return a.g.slice(NS(a,0x7ffffffffffff),a.g.length)};
NS=function(a,b){var c=eb(a.g,function(a){return b-a.start||1});
return 0>c?-(c+1):c};
OS=function(a,b){for(var c=window.NaN,d=g.p(a.g),e=d.next();!e.done;e=d.next())if(e=e.value,e.contains(b)&&((0,window.isNaN)(c)||e.end<c)&&(c=e.end),e.start>b&&((0,window.isNaN)(c)||e.start<c)){c=e.start;break}return c};
PS=function(a,b,c,d){g.M.call(this);this.A=window.NaN;this.H=!1;this.F=null;this.I=this.J=this.B=!1;this.Y=a;this.X=b;this.K=c;this.M=d;this.R=new g.Xt(this.o,250,this);g.N(this,this.R);this.D=new g.Xt(this.o,0,this);g.N(this,this.D);this.l=[];this.g=new ana};
QS=function(a,b){a.o();var c=a.g;if(1<b.length&&b.length>c.g.length)c.g=c.g.concat(b),c.g.sort(c.l);else for(var d=g.p(b),e=d.next();!e.done;e=d.next())e=e.value,!c.g.length||0<c.l(e,c.g[c.g.length-1])?c.g.push(e):g.ib(c.g,e,c.l);a.A=window.NaN;a.o()};
RS=function(a){return a.ka()?[]:a.g.g};
cna=function(a,b){var c=(0,g.Jd)(RS(a),function(a){return a.namespace==b});
a.C.apply(a,c);return c};
dna=function(a,b){var c=[];if(!b.length)return c;for(var d=0;d<b.length;d++){var e=b[d];e.active&&-1==a.l.indexOf(e)&&(a.l.push(e),c.push([1,e]))}return c};
ena=function(a,b){var c=[];if(!b.length)return c;b.sort(g.tQ);for(var d=0;d<b.length;d++){var e=b[d];a.l.splice(a.l.indexOf(e),1);c.push([2,e])}return c};
SS=function(){var a=this;this.l=this.g=null;this.o=new g.Wf(function(b,c){a.g=b;a.l=c})};
US=function(a,b,c,d,e){g.HF.call(this);var f=this;this.J=a;this.l=b;this.C=c;this.wb=e||null;this.g=this.A=null;this.H=new Oma(a,b);this.o=null;this.D=new Rma(this.H,b,this.C,d);this.X=new g.Xt(this.qe,0,this);g.N(this,this.X);this.ia=new g.Xt(this.qe,1E3,this);g.N(this,this.ia);this.Wb=new g.Xt(this.qe,void 0,this);g.N(this,this.Wb);this.Ta=new g.Xt(this.qe,1E4,this);g.N(this,this.Ta);this.B=window.NaN;this.K=!1;this.I=window.NaN;this.rb=0;this.M=this.ra=this.R=!1;this.Xb={};this.ga="";this.sa=this.xa=
0;this.Wa=b.so?new Yma:null;this.Ma=new fM(5);this.Y={};this.Ha="";this.Ca=window.NaN;this.Z=!1;(this.F=Zma(this.l,this.J,this.Ma,function(a,b){if(f.g.l.Mc()&&f.A.l.Mc()&&f.o&&f.o.l&&f.o.g)if(b&&f.C.l&&(-1==f.g.C||-1==f.A.C))var c=!0;else c=TS(f.g,a,f.o.l,b),(0,window.isNaN)(c)?c=!1:(c=TS(f.A,f.l.Ca?a:c,f.o.g,b),c=(0,window.isNaN)(c)?!1:!0);else c=!1;return c}))&&this.F.subscribe("ctmp",this.tf,this);
this.Ib=window.NaN;this.ba=this.tb=null;this.Pa=window.NaN};
VS=function(a,b){b=b||a.g&&a.g.g&&a.g.g.startTime||a.B;var c=a.g;var d=a.D;var e=d.o&&d.o.index.Ag(b)||0;d.Z!=e&&(d.X={},d.Z=e,wS(d,d.B));e=!DS(d)&&-1<d.M&&g.gG()-d.M<1E3*d.l.Yn;var f=3*zS(d,d.o.info)<vS(d.Y);if(!e||f)d.l.I||!d.R||CS(d)||(d.R=0,wS(d,d.B)),xS(d),yS(d),d.K=d.K||d.o!=d.A;d.o.index.Kb()||(d.Z=-1);d=d.o;c.l!=d&&(c.l=d);c=a.A;d=a.D.C;c.l!=d&&(c.l=d)};
WS=function(a,b){a.R=!0;a.ra=b};
g.XS=function(a,b){if(a.l.Ew){var c=a.g.l.info.mimeType;b.g=new nI(new mI(uI(b,a.A.l.info.mimeType)));b.l=new nI(new mI(uI(b,c)))}else c=a.g.l.info.mimeType,b.g=new mI(uI(b,a.A.l.info.mimeType)),b.l=new mI(uI(b,c));a.o=b;a.A.F=!1;a.g.F=!1;a.A.B=null;a.g.B=null;a.resume();yI(b)&&(b.g.addEventListener("updateend",(0,g.A)(a.qe,a)),b.l.addEventListener("updateend",(0,g.A)(a.qe,a)),b.g.addEventListener("error",(0,g.A)(a.mp,a,!0)),b.l.addEventListener("error",(0,g.A)(a.mp,a,!1)));a.Xc("msa");gO("msa");
NN.measure&&NN.getEntriesByName("mark_vta").length&&NN.measure("measure_vta_to_msa","mark_vta");a.na&&a.fa&&(c=g.y("yt.scheduler.instance.enablePriorityThreshold"))&&c(1);a.l.Wm&&a.tf("toff",""+a.o.g.supports(1),!0);a.qe()};
ZS=function(a){a.o&&a.o.g&&a.o.g.supports(3)&&(a.o.g.removeEventListener("updateend",(0,g.A)(a.qe,a)),a.o.l.removeEventListener("updateend",(0,g.A)(a.qe,a)),a.o.g.removeEventListener("error",(0,g.A)(a.mp,a,!0)),a.o.l.removeEventListener("error",(0,g.A)(a.mp,a,!1)));a.o=null;WS(a,!1);YS(a)};
$S=function(a){a.o&&vI(a.o)&&ZS(a)};
bT=function(a,b,c){if(a.R&&(!qM(a.J)||a.ra))return!1;if(a.C.l){if(1<a.l.tb&&0<b.A.length&&b.g&&-1==b.g.wa||b.A.length>=a.l.tb&&!a.l.Ma||!a.l.pD&&0<b.A.length&&!a.l.g)return!1;if(b.D)return!(0,window.isNaN)(a.Ca)}if(rS(b))return!1;if(!(b.g||a.C.l&&a.l.Ma&&b.D)){if(!b.l.Mc())return!1;eS(b,a.B)}var d=b.A.length+c.A.length;(lS(b)||lS(c)||a.C.isLive&&(!a.l.Ma||!b.A.length))&&--d;if(d+1>=a.l.sn)return!1;d=b.g;if(!d)return!0;if(!MK(d.g.A))return!1;4==d.type&&d.g.Mc()&&(b.g=g.Ia(d.g.Jp(d)),d=b.g);!d.C&&!d.g.Gg(d)||
d.g.info.audio&&4==d.type?a=!1:nS(b)&&!a.l.ea?a=!0:(!(c=d.C||fS(b)&&fS(b)+fS(c)>a.l.na||!!(c.g&&!c.g.C&&c.g.A<d.A)&&(!a.C.l||c.g.A&&d.A))&&(c=3==d.type)&&(d=d.A,b=aT(a,b,!0),!DS(a.D)&&0<a.l.ye&&(c=(g.gG()-a.rb)/1E3,b=Math.min(b,a.l.ye+a.l.ze*c)),b=a.B+b,a.l.zc?(c=Math.min(b,fna(a)+a.l.zc),c!=b&&a.tf("mrl","ori."+b+";mod."+c,!0),a=c):a=b,c=d>a),a=c?!1:!0);return a};
cT=function(a,b,c){if((!a.o||tI(a.o)||yI(a.o))&&!a.K&&a.D.ba){var d=a.B;a=a.H;c=uS(a,b.l.info.g,c.l.info.g,0);var e=lM(a.l)+c/oM(a.l);d+=Math.max(e,e+a.g.Wb-c/b.l.info.g);a:{if(b.A.length){if(b.A[0].info.g[0].startTime<=d)break a;gS(b)}a=b.o;for(c=a.g.length-1;0<=c;c--)a.g[c].info.startTime>d&&a.g.pop();b.A.length?b.g=g.Ia(g.Ia(b.A).info.g):b.o.g.length?b.g=QR(b.o).info:b.g=b.B;b.g&&d<b.g.startTime&&(b.I=0,b.g=b.l.zg(d,!0).g[0])}}};
fT=function(a,b,c){bT(a,b,c);var d=b.g;if(b.D)d=b.l.zg(window.Infinity),d.o=a.Ca,a.F?(c=a.F,0==d.o&&(d.B=c.I)):d.B=a.Ib,$R(b,dT(a,d));else if(b.g.g.Mc()){!nS(b)||a.l.ea||a.C.l||(cT(a,b,c),b.g||eS(b,a.B));d=b.g;var e=d.A-a.B,f=!d.range||0==d.Xa&&0==d.l?0:d.range.length-(d.l+d.Xa),k=d.g;if(mS(b)&&b.l.Mc()){var l=Math.min(15,.5*aT(a,b,!0));l=nS(b)||e<=l}else l=!1;l&&0==f&&(a.C.l?k=b.l:(k=d.startTime+eT,d.Xa&&(k+=d.duration),eS(b,k),d=b.g,k=d.g));k.gf()?(f=a.D,e=uS(a.H,k.info.g,c.l.info.g,e,0<f.g.length&&
0==f.I&&a.M),c=a.l.mg?mS(b):mS(b)&&b.l.Mc(),e=d.g.Ci(d,e),e.range&&1<e.g.length&&(c||e.l.g?e=d.g.Ci(d,e.g[0].Xa):(c=e.g[e.g.length-1],k=c.Xa/e.range.length,!c.o&&.4>k&&(e=d.g.Ci(d,e.range.length-c.Xa)))),d=e):d=k.bk(d);$R(b,dT(a,d))}else d.g.gf()?(c=uS(a.H,b.l.info.g,c.l.info.g,0),d=d.g.Ci(d,c)):d=d.g.bk(d),$R(b,dT(a,d))};
dT=function(a,b){3==b.g[b.g.length-1].type&&gT(a,Tma(a.D,b.g[0].g));var c=SK(b);c=new Ema(a.J,c,Pma(a.H,c),b,a.tb);a.l.dj&&(c.F=[]);var d=new yR(a.l,b,c,a.Y);c.ra=function(){return Ima(d)?d.o.Qh&&window.performance&&window.performance.now&&d.g&&d.g.Bl()&&IR(d)&&pR(d.g)?d.info.g[0].g.info.video?3:4:2:1};
Gma(d,(0,g.A)(a.eT,a));3==b.g.length&&1==b.g[0].type&&2==b.g[1].type&&4==b.g[2].type&&b.g[0].g.info.video&&(d.Y=Xma(a.D));d.start(Math.max(0,b.g[0].B-a.B));b.g[0].g.info.video&&(c=zR(d))&&(a.Ha=c.substr(0,c.indexOf(".")));return d};
gT=function(a,b){b&&a.T("videoformatchange",b)};
hT=function(a,b,c){a:{b=b.info;var d=a.l.SE,e=null,f=b.g[0];if(b.range)e=MJ(b.range.start,Math.min(4096,b.range.length));else if(d){if(b.A&&0<=b.A.indexOf("/range/")){c=null;break a}e=MJ(0,4096)}else if(f.g.info.video){c=null;break a}b=new OJ(5,f.g,e,f.wa);b=new OK([b]);b.C=c;c=b}c&&dT(a,c)};
hna=function(a){var b=-1!=a.g.C,c=-1!=a.A.C;if(!b||!c)if(b=!b&&PR(a.g.o),c=!c&&PR(a.A.o),b||c){c=b?a.g:a.A;b=b?a.A:a.g;var d=PR(c.o).info.wa;if(-1!=b.C&&b.C!=d)a.l.X&&HL(a.C,d,c==a.g),gna(c,b.C),iT(a,!1,"qoe.avsync",{start:"1",target:String(b.C),actual:String(d)});else{c.C=d;c.Ek=window.NaN;var e=Math.max(b.l.index.Nd(b.C),c.l.index.Nd(c.C));-1!=b.C&&(a.ba&&(a.ba.resolve(e+.1),a.ba=null),g.Qf(function(){return jT(a,e)}))}}};
gna=function(a,b){hS(a);eS(a,window.Infinity);var c=a.Ek;a.o.B=c;a.Ek=c;a.g.wa=b-1};
ina=function(a){if(a.C.o)return!1;var b;if(!(b=rS(a.g))&&(b=a.K)){b=a.H;var c=a.g,d=a.A;if(0==c.A.length&&0==d.A.length)b=!0;else{var e=0,f=RR(c.o).concat(RR(d.o));f=g.p(f);for(var k=f.next();!k.done;k=f.next())e+=k.value.Xa;c=c.l.info.g+d.l.info.g;e/=c;b=10<e?!0:10>c*(10-e)/vS(b)}(b=!b)||(b=a.g,b=0<b.A.length&&1==b.o.g.length&&PR(b.o).info.D<b.J)}if(b)return!0;if(!a.M||!a.l.ra||10>a.B||360<a.g.l.info.video.g)return!1;b=oS(a.g,a.B,a.l.ra)||oS(a.A,a.B,a.l.ra);return(0<a.g.A.length||0<a.A.A.length||
bT(a,a.g,a.A)||bT(a,a.A,a.g))&&b};
nT=function(a,b,c,d){if(c.Bh())return!0;var e=PR(b.o);if(!e)return!1;!b.B||b.B.o||QJ(b.B,e.info)||(b.B=null,tI(a.o)&&c.abort(),c.Ri(null));var f=a.C.isLive&&uK(e),k;if(k=a.l.Cd&&a.C.o&&0==e.info.l&&(g.VH(e.info.g.info)||a.l.Gw)){if(null==c.xg()){if(!(k=null==b.B||b.B.g!=e.info.g)){a:{k=b.B.F;var l=e.info.F;if(k.length!=l.length)k=!1;else{for(var m=0;m<k.length;m++)if(!g.gb(k[m],l[m])){k=!1;break a}k=!0}}k=!k}}else k=c.xg()!=e.info.g.g;k=!k}k&&(g.VH(e.info.g.info)?(HJ(oK(e),1836019574),HJ(oK(e),1718909296)):
(k=new XJ(oK(e)),l=e.range,mK(k),aK(k,524531317,!0),l.start=k.o+k.g),e.l=!1);if(!a.C.o||0==e.info.l)if(f||a.C.l||e.l)c.Ri(null);else if(kT(a,c,e))return!0;f=aT(a,b,!1);f=a.B+f;null!==d&&0<=d&&(f=Math.min(f,d));d=f;if(a.F)a:if(a.F.B&&b.l.info.audio){if((f=PR(b.o))&&(f=f.o)&&null!=f.A){f=f.A-1;break a}f=-1}else f=window.Infinity;else f=window.Infinity;k=b.o;if(!k.g.length||k.g[0].info.B>=d)d=null;else if(l=k.g[0].l?0:k.g[0].range.start,l>f)d=null;else{for(m=1;m<k.g.length;m++){var n=k.g[m].range.start>
f,q=k.g[m].g!=k.g[m-1].g;if(k.g[m].info.B>d||n||q||k.o.Dd)break}m--;d=new g.KJ(l,Math.min(k.g[m].range.end,f))}if(!d)return!1;f=new window.Uint8Array(e.g,d.start,d.length);if(a.Wa&&e.info.g.info.video&&g.VH(e.info.g.info)&&(k=a.Wa,0==e.info.l&&(k.l=0,k.g=0,k.o.length=0),!((0,window.isNaN)(k.l)||8>f.length))){l=new window.DataView(f.buffer,f.byteOffset);for(m=!1;!m;)if(k.l==k.g)a:if(m=k,n=f.length,m.l+7>=n){for(q=m.l;q<n;q++)m.o.push(l.getUint8(q));m=!0}else{if(0<m.o.length){for(q=0;8>m.o.length;q++)m.o.push(l.getUint8(q));
var r=ES(m.o,0);q=ES(m.o,4);m.o.length=0}else r=l.getUint32(m.g),q=l.getUint32(m.g+4);if(1836019558==q||1836019574==q||1718909296==q||1936286840==q||1701671783==q||1937013104==q||1936419184==q)m.l+=r,m.g=m.l;else if(1835295092==q)m.l+=r,m.g+=8;else{m.l=window.NaN;m=!0;break a}m=m.g>=n}else a:if(m=k,n=f.length,m.g+5>=n){for(q=m.g;q<n;q++)m.o.push(l.getUint8(q));m=!0}else{if(0<m.o.length){for(q=0;6>m.o.length;q++)m.o.push(l.getUint8(q));q=ES(m.o,0);12==q&&6==m.o[4]&&45==m.o[5]&&l.setUint8(m.g+5,63);
m.g+=q+4;m.o.length=0}for(;m.g<m.l&&m.g+5<n;){q=l.getUint32(m.g);if(0>=q){m.l=window.NaN;m=!0;break a}12==q&&6==l.getUint8(m.g+4)&&45==l.getUint8(m.g+5)&&l.setUint8(m.g+5,63);m.g+=q+4}m=m.g>=n}(0,window.isNaN)(k.l)||(k.l-=f.length,k.g-=f.length)}k=!1;3!=e.info.type||!g.VH(e.info.g.info)&&2!=e.info.g.info.containerType||(k=g.VH(e.info.g.info)&&a.l.BH&&!b.F&&0==e.info.l&&0<e.info.startTime)&&sK(e,0);a:{l=g.p(b.o.g);for(m=l.next();!m.done;m=l.next()){m=m.value;if(d.end==m.range.end){l=m.info.o;break a}if(d.end<
m.range.end)break}l=!1}a:if(f=lT(a,c,f,l),"s"==f)f=!0;else{if("i"==f||"x"==f)mT(a,"checked",f,e.info);else{if("q"==f&&(e.info.g.info.video?(f=a.l,f.B=Math.floor(.8*f.B),f.M=Math.floor(.8*f.M),f.o=Math.floor(.8*f.o)):(f=a.l,f.C=Math.floor(.8*f.C),f.bb=Math.floor(.8*f.bb),f.o=Math.floor(.8*f.o)),c.supports(2)&&!c.Bh())){f=!1;l=c.oc().length;for(m=0;!f&&m<l;m++)c.oc().start(m)>e.info.A&&(c.remove(c.oc().start(m),c.oc().end(l-1)),f=!0);l=Math.max(0,Math.min(a.B,e.info.startTime)-5);f||!a.l.Ph&&!l||c.remove(0,
l);f=!1;break a}a.T("reattachrequired")}f=!1}if(!f)return!1;b.F=!0;if(k)sK(e,e.info.startTime),c.abort(),c.Ri(null);else{f=b.o;for(k=[];f.g.length&&(f.g[0].range.end>d.end?(m=qK(f.g[0],d.end-f.g[0].range.start+1),l=m[0],f.g[0]=m[1]):l=f.g.shift(),k.push(l),l.range.end!=d.end););k.length&&(0,g.C)(k,b.X,b)}e.l&&e.info.g.g&&(c.Ri(e.info.g.g),a.T("initsegment",c.xg()));return!0};
mT=function(a,b,c,d){var e="fmt.unplayable";"i"==c&&(e="html5.invalidstate");if("x"==c||"m"==c)e="fmt.unparseable",d.g.B=e,d.g.info.video&&!CS(a.D)&&BS(a.D,d.g);d=SJ(d);d.mrs=a.o.o.readyState;d.origin=b;d.reason=c;iT(a,"i"!=c,e,d)};
oT=function(a,b,c){$ka(a.C,b,c)&&c&&g.Qf(function(){return jT(a,b.startTime)})};
jT=function(a,b){!a.ka()&&a.l.Z&&a.Z&&-1!=a.g.C&&-1!=a.A.C&&(a.Z=!1,a.T("seekplayerrequired",b+.1,!0))};
kT=function(a,b,c){c.info.g.Mc();var d=c.info.g.g;if(null==d||b.xg()==d)return!1;var e=lT(a,b,d,!0);if("s"!=e)return mT(a,"sepInit",e,c.info),!0;b.Ri(d);a.T("initsegment",b.xg());return b.Bh()};
lT=function(a,b,c,d){try{b.ku(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.RD(e),"u";a.l.Um&&a.tf("quex","br."+gI(b.oc()).replace(/,/g,"_"));return"q"}return vI(a.o)?"m":"s"};
pT=function(a,b){b.o.subscribe("error",a.SR,a);b.o.subscribe("timestamprewrite",a.WR,a);var c=(0,g.A)(a.TR,a,b);b.o.subscribe("placeholderinfo",c,void 0);c=(0,g.A)(a.UR,a,b);b.o.subscribe("placeholderrollback",c,void 0);c=(0,g.A)(a.VR,a,b);b.o.subscribe("segmentinfo",c,void 0);b==a.g&&b.o.subscribe("cuepoint",a.RR,a)};
aT=function(a,b,c){if(a.R)return 1;var d=b.l.info.audio?a.l.C:a.l.B;!a.l.ea&&DS(a.D)&&(d=Math.max(d,b.l.info.audio?a.l.bb:a.l.M));c&&(d+=a.l.na);var e=DS(a.D)?b.g?b.g.g.info.g:b.l.info.g:b.H;d/=e;0<a.l.sa&&a.o&&tI(a.o)&&(b=b.l.info.video?a.o.l:a.o.g)&&!b.Bh()&&(e=hI(b.oc(),a.B),0<=e&&(b=a.B-b.oc().start(e),d+=Math.max(0,Math.min(b-a.l.sa,a.l.Qn))));0<a.l.o&&(d=Math.min(d,a.l.o));a.l.Ib&&c&&!DS(a.D)&&(c=a.D,c=zS(c,g.Ia(c.g))+zS(c,c.F.g[0]),c=a.l.Ib*(c/sS(a.H)),c<d&&15>c&&a.tf("bwcapped","1",!0),c=
Math.max(c,15),d=Math.min(d,c));return d};
fna=function(a){if(!a.wb)return window.Infinity;var b=(0,g.Jd)(RS(a.wb),function(a){return"ad"==a.namespace});
b=g.p(b);for(var c=b.next();!c.done;c=b.next())if(c=c.value,c.start/1E3>a.B)return c.start/1E3;return window.Infinity};
qT=function(a){YS(a);a.F&&HS(a.F,a.g.l);var b=Math.max(TR(a.g.o),TR(a.A.o)),c=a.g;c.D=!0;c.C=-1;eS(c,window.Infinity);c.o.B=b;c.Ek=b;c=a.A;c.D=!0;c.C=-1;eS(c,window.Infinity);c.o.B=b;c.Ek=b;c=a.C;for(var d in c.g)cJ(c.g[d].index,window.Infinity);a.l.Z&&(a.Z=!0);a.B=b;a.K=!0;g.Yt(a.X);return b+.1};
rT=function(a,b,c){if(a.l.Mc())if(c){var d=TS(a,b,c);if(!(0,window.isNaN)(d))return d;hS(a);c=iI(c.oc(),b);if((0,window.isNaN)(c))return eS(a,b);eS(a,c+eT)}else{c=cS(a,b);if(0<=c)return c;hS(a);eS(a,b)}else 0!=b&&gS(a);return b};
TS=function(a,b,c,d){d=void 0===d?!1:d;var e=iI(c.oc(),b),f=window.NaN,k=a.B;k&&(f=iI(c.oc(),k.g.index.Nd(k.wa)));if(e==f&&a.g&&a.g.Xa&&kS(jS(a),0))return b;a=cS(a,b,d);return 0<=a?a:window.NaN};
sT=function(a,b,c,d){c.Mc()||c.C||!MK(c.A)||(d=c.Bj(d?Qma(a.H,c.info):0),(0,g.C)(d,function(a){if("f"!=a.g[0].g.info.l){var c=dT(this,a);!PJ(a.g[a.g.length-1])&&$R(b,c)}},a),c.C=!0)};
iT=function(a,b,c,d){a.ka()||(c=new g.eN(c,b,d),fN(c.details),a.T("error",c),b&&a.dispose())};
tT=function(a){var b={lct:a.B.toFixed(3),lsk:a.K,lmf:DS(a.D),lbw:nM(a.J).toFixed(3),lhd:lM(a.J).toFixed(3),lst:(1E9*(a.J.A.l()||0)).toFixed(3),laa:a.A.B?TJ(a.A.B):"",lva:a.g.B?TJ(a.g.B):"",lar:a.A.g?TJ(a.A.g):"",lvr:a.g.g?TJ(a.g.g):"",lvh:a.Ha};a.o&&!vI(a.o)&&(b.lab=gI(a.o.g.oc()),b.lvb=gI(a.o.l.oc()));return b};
YS=function(a){a.A&&a.g&&(hS(a.A),hS(a.g))};
uT=function(a,b,c){if(!b||!c)return!0;c=-1!=hI(c.oc(),a);var d=QR(b.o)?QR(b.o).info.A>=a:!1,e=b.A.length?b.A[0]:null;a=(b=e?e.info.g[0]:b.g)&&b.startTime<=a;return!!(c||d||a)};
vT=function(a,b,c,d){a.Ca=Math.max(b-1,0);a.F&&(a.F.K=c);a.Ib=d};
jna=function(a,b){var c=b.info.video?a.g:a.A;null!=c&&sT(a,c,b,!1)};
kna=function(a,b){var c=new g.wK;c.ze=a.experiments.l("html5_throttle_rate")||c.ze;a.experiments.g("html5_streaming_xhr")&&(c.D=!0);a.experiments.g("html5_streaming_debug")&&(c.D=!0,c.ba=!0);a.experiments.l("html5_max_av_sync_drift")&&(c.Ym=a.experiments.l("html5_max_av_sync_drift"));var d=a.schedule;d.g.l()==d.policy.o&&(c.ye=10);a.experiments.l("html5_min_secs_between_format_selections")&&(c.Yn=a.experiments.l("html5_min_secs_between_format_selections"));c.Ma=a.experiments.g("html5_stop_overlapping_requests");
c.sa=a.experiments.l("html5_min_readbehind_secs");c.Qn=a.experiments.l("html5_min_readbehind_cap_secs");g.QM(a)&&(c.sa=a.experiments.l("tvhtml5_min_readbehind_secs"));c.ng=a.experiments.g("html5_append_init_while_paused");c.Ib=a.experiments.l("html5_max_readahead_bandwidth_cap");c.aA=a.experiments.g("html5_disable_audio_append_cap");c.Tg=a.experiments.g("html5_disable_non_contiguous");c.zc=a.experiments.l("html5_post_interrupt_readahead");c.Um=a.experiments.g("html5_log_quota_exceeded");c.Y=a.experiments.l("html5_subsegment_readahead_target_buffer_health_secs");
c.Wa=a.experiments.l("html5_subsegment_readahead_timeout_secs");c.ww=a.experiments.l("html5_subsegment_readahead_min_buffer_health_secs");c.Ta=a.experiments.l("html5_subsegment_readahead_min_buffer_health_secs_on_timeout");c.xw=a.experiments.l("html5_subsegment_readahead_min_load_speed");c.Gd=a.experiments.l("html5_subsegment_readahead_load_speed_check_interval");c.Cw=a.experiments.l("html5_subsegment_readahead_seek_latency_fudge");c.Pa=a.experiments.g("html5_streaming_xhr_optimize_lengthless_mp4");
c.xa=a.experiments.g("html5_peak_shave");c.oD=a.experiments.g("html5_peak_shave_always_include_sd");c.iw=a.experiments.g("html5_restrict_streaming_xhr_on_sqless_requests");c.Zm=a.experiments.l("html5_max_headm_for_streaming_xhr");c.pD=a.experiments.g("html5_pipeline_manifestless_allow_nonstreaming");c.FE=a.experiments.g("html5_prefer_server_bwe3");c.Hf=1024*a.experiments.l("html5_video_tbd_min_kb");c.SE=a.experiments.g("html5_probe_live_using_range");c.qw=a.experiments.g("html5_streaming_xhr_buffer_mdat");
c.Fd=a.experiments.g("html5_streaming_xhr_no_mp4_holdback_chunk");c.cj=a.experiments.g("html5_last_slice_transition");c.Ug=a.experiments.g("html5_disable_incomplete_incremental_parse_error");c.pw=a.experiments.g("html5_store_xhr_headers_readable");c.F=a.experiments.g("html5_incremental_parser_coalesce_slice_buffers");c.Th=a.experiments.l("html5_incremental_parser_buffer_duration_secs");c.bj=a.experiments.l("html5_incremental_parser_buffer_extra_bytes");c.rw=a.experiments.g("html5_streaming_xhr_progress_includes_latest");
c.Qh=a.experiments.g("html5_enable_packet_train_response_rate");if(d=a.experiments.l("html5_probe_secondary_during_timeout_miss_count"))c.Oc=d,c.Dw=1;c.Rh=a.experiments.g("html5_fallbacks_delay_primary_probes");a.experiments.g("html5_drm_start_from_null_constraint")&&(c.Sg=!0);c.Qc=a.experiments.g("html5_reason_reporting_migration");c.Xb=a.experiments.g("html5_no_placeholder_rollbacks");c.uw=a.experiments.g("html5_subsegment_readahead_enable_mffa");c.Ca=a.experiments.g("html5_platform_whitelisted_for_frame_accurate_seeks");
c.yw=a.experiments.g("html5_subsegment_readahead_require_whitelist");c.I=a.experiments.g("html5_new_stunning");c.kd=a.experiments.g("html5_reattach_on_stuck");c.ia=a.experiments.g("html5_manifestless_request_prediction");c.Gw=a.experiments.g("html5_webm_init_skipping");c.mg=a.experiments.g("html5_adaptation_fix");c.Ha=a.experiments.l("html5_request_size_padding_secs")||c.Ha;c.pg=a.experiments.g("html5_clamp_with_padding");c.Ph=a.experiments.g("html5_disable_no_empty_remove");c.Wm=a.experiments.g("html5_log_timestamp_offset");
c.Ew=a.experiments.g("html5_use_media_source_view");AE()&&(c.Dd=!0);tE()&&(c.o=240);g.ph&&(c.M=41943040);c.ea=!xI();g.QM(a)||!xI()?(c.B=8388608,c.C=524288,c.og=5,c.na=2097152,c.R=1048576,c.ew=1.5,c.Gb=15,c.QB=!1,c.H=4587520,yE()&&(c.H=786432),c.l*=1.1,c.A*=1.1,c.Cd=!0,c.M=c.B,c.bb=c.C):a.o&&(c.l*=1.3,c.A*=1.3);g.zI&&sE("crkey")&&(d="CHROMECAST/ANCHOVY"==a.l.cmodel,c.B=20971520,c.C=1572864,d&&(c.H=812500,c.J=1E3,c.Fw=5,c.R=2097152));(d=dN(a))||(d=DE()&&/(J\d{3}|JS\d{3}|JU\d{3})/.test(a.l.cmodel));
d&&!a.experiments.g("html5_disable_move_pssh_to_moov")&&(c.Eo=!0);c.so=!a.experiments.g("disable_fpa_sei_removal")&&sE("windows nt")&&(b.wi()||b.lf());if(AO(b)){c.Sh=!0;c.kw=!1;a.experiments.g("html5_manifestless_no_rewrite")?(c.X=!1,c.Z=!0):a.experiments.g("html5_manifestless_shrink_timestamps")&&(c.Z=!0,c.Ed=!0);if("ULTRALOW"==b.latencyClass||"LOW"==b.latencyClass&&!a.experiments.g("html5_disable_low_pipeline"))c.tb=2,c.sn=4;c.g=b.hasSubfragmentedFmp4;c.fa=b.defraggedFromSubfragments}b.isAd()&&
(c.ra=0,c.rb=0);BO(b,a.experiments)&&(c.ba=!0);CO(b,a.experiments)&&(c.ba=!0,c.D=!0);c.K=a.experiments.g("html5_enable_subsegment_readahead_v3")||a.experiments.g("html5_ultra_low_latency_subsegment_readahead")&&"ULTRALOW"==b.latencyClass;c.Xm=(a.experiments.g("html5_manifestless_accurate_sliceinfo")||c.K)&&AO(b);c.ga=b.ph;c.dj=c.ga&&(/^rq[a-f]/.test(b.clientPlaybackNonce)||a.experiments.g("html5_high_res_logging"));/^pp/.test(b.clientPlaybackNonce)&&(c.PH=!0,c.LF=!0);dN(a)&&!a.experiments.g("html5_disable_move_pssh_to_moov")&&
b.oa&&sL(b.oa)&&(c.Cd=!1);sL(b.oa)&&(c.kd=!1);if(b.ya){d=FL(b.oa);var e=a.experiments.l("html5_live_abr_head_miss_fraction"),f=a.experiments.l("html5_live_abr_repredict_fraction");e&&d&&(c.wb=Math.min(d*e,c.wb));f&&d&&(c.J=Math.min(1E3*d*f,c.J))}e=0;a.experiments.g("html5_live_use_alternate_bandwidth_window_sizes")&&(e=a.schedule.policy.g,b.ya&&(e=a.experiments.l("ULTRALOW"==b.latencyClass?"html5_live_ultra_low_latency_bandwidth_window":b.isLowLatencyLiveStream?"html5_live_low_latency_bandwidth_window":
"html5_live_normal_latency_bandwidth_window")||e));d=a.schedule;d.policy.B=AO(b)?.5:0;if(!d.policy.l&&e&&(d=d.g,e=Math.round(e*d.J),e!=d.o)){f=Array(e);var k=Math.min(e,d.C?d.o:d.A),l=d.A-k;0>l&&(l+=d.o);for(var m=0;m<k;++m)f[m]=d.B[(l+m)%d.o];for(;m<e;++m)f[m]=window.Infinity;d.o=e;d.B=f;d.A=k%e;d.C=k==e;d.F=!0;d.I=gM(d)}switch(b.liveExperimentalContentId){case 21530001:c.Pa=!0;c.ia=!0;c.K=!0;c.Y=a.experiments.l("html5_jumbo_ull_subsegment_readahead_target");c.Xb=!0;break;case 2153E4:c.Pa=!0,c.ia=
!0,c.K=!1}d=a.experiments.l("html5_deadzone_multiplier")||1;(e=a.experiments.l("html5_sticky_reduces_discount_by"))&&"auto"!=UG()&&(d-=e);c.l*=d;c.A*=d;if(d=a.experiments.l("html5_request_sizing_multiplier"))c.hw=d;c.o=a.experiments.l("html5_max_buffer_duration")||c.o;c.Wb=a.experiments.l("html5_min_upgrade_health")||c.Wb;EI(a.M,JI)&&(c.H=window.NaN);c.Gb=a.experiments.l("html5_request_size_max_secs")||c.Gb;c.Vg=a.experiments.g("killswitch_metadata_events");"auto"!=UG()&&(c.Gf=0);c.TE=a.experiments.g("html5_rec_2020_matrix_correction_killswitch");
return c};
lna=function(a,b,c){this.url=a;this.interval=b;this.g=c};
wT=function(a,b){this.message=a;this.number=b;this.g=new UC};
mna=function(a,b,c,d){this.statusCode=a;this.statusMessage=b;this.headers=c;this.message=d};
xT=function(a){var b=String.fromCharCode.apply(String,a.subarray(0,16384)),c=b.indexOf("\r\n\r\n");if(-1==c)return null;var d=b.indexOf("\r\n"),e=b.slice(0,d).match(/^GLS\/1.\d ([0-9]{1,3}) (\w+)$/);if(null==e)return null;var f=Fb(e[1]);e=e[2];b=rJ(b.slice(d+2));return null==b?null:new mna(f,e,b,a.subarray(c+4))};
yT=function(a,b,c,d,e){g.M.call(this);this.B=a;this.I=b;this.D=c;this.g=d;this.l=e;this.sessionId="";this.H=this.F=this.A=this.C=null;this.W=new g.EF(this);g.N(this,this.W);this.g?(this.W.O(this.g,"message",this.WN),this.W.O(this.g,"keystatuseschange",this.XN),this.g.closed&&this.g.closed.then(SD((0,g.A)(this.VN,this)),null)):this.l&&(FF(this.W,this.l,["mskeymessage","webkitkeymessage"],this.FC),FF(this.W,this.l,["mskeyerror","webkitkeyerror"],this.EC),FF(this.W,this.l,["mskeyadded","webkitkeyadded"],
this.DC))};
zT=function(a,b){this.initData=a;this.contentType=(void 0===b?"":b)||null;this.l=this.g=window.NaN;this.o=!1;this.A=[]};
AT=function(a,b){g.M.call(this);this.l=a;this.g=b;this.C={};this.A=null;this.W=new g.EF(this);g.N(this,this.W);this.o=this.B=null};
BT=function(a){if(a.g.l)return a.g.l.createMediaKeys().then(SD(function(b){a.ka()||(a.B=b,a.l.setMediaKeys(b))}));
ML(a.g)?a.o=new (LL())(a.g.g):QL(a.g)?(a.o=new (LL())(a.g.g),a.l.webkitSetMediaKeys(a.o)):nna(a);return null};
nna=function(a){FF(a.W,a.l,["keymessage","webkitkeymessage"],a.aO);FF(a.W,a.l,["keyerror","webkitkeyerror"],a.ZN);FF(a.W,a.l,["keyadded","webkitkeyadded"],a.YN)};
CT=function(a,b){var c=b.subarray(4);c=String.fromCharCode.apply(null,new window.Uint16Array(c.buffer,c.byteOffset,c.byteLength/2)).match(/ek=([0-9a-f]+)/)[1];for(var d="",e=0;e<c.length;e+=2)d+=String.fromCharCode((0,window.parseInt)(c.substr(e,2),16));e=a.g.fairPlayCert;c=new window.Uint8Array(new window.ArrayBuffer(e.length));for(var f=0;f<e.length;f++)c[f]=e.charCodeAt(f);e=new window.ArrayBuffer(2*d.length);f=new window.Uint16Array(e);for(var k=0;k<d.length;k++)f[k]=d.charCodeAt(k);d=new window.Uint8Array(e);
e=0;k=new window.ArrayBuffer(b.byteLength+4+d.byteLength+4+c.byteLength);f=new window.Uint8Array(k);k=new window.DataView(k);f.set(b);e+=b.byteLength;k.setUint32(e,d.length,!0);e+=4;f.set(d,e);e+=d.length;k.setUint32(e,c.byteLength,!0);f.set(c,e+4);return f};
DT=function(a,b){var c=a.C[b.sessionId];!c&&a.A&&(c=a.A,a.A=null,c.sessionId=b.sessionId,a.C[b.sessionId]=c);return c};
FT=function(a,b,c,d,e,f){g.M.call(this);this.o=a;this.l=d;this.l.subscribe("oauthtoken",this.eB,this);this.D={session_id:e};this.H=!0;"playready"==a.flavor&&(a=(0,window.parseInt)(f.o("playready_first_play_expiration"),10),!(0,window.isNaN)(a)&&0<=a&&(this.D.mfpe=a),f.g("html5_playready_keystatuses_killswitch")||(this.H=!1));this.X=f.g("html5_use_drm_retry");this.M=0;f=this.o.A;"fairplay"==this.o.flavor&&(f=c.initData.subarray(4),f=String.fromCharCode.apply(null,new window.Uint16Array(f.buffer,f.byteOffset,
f.byteLength/2)).replace("skd://","https://"));ET(this,f);this.F=this.I=!1;(0,g.oQ)("drm_gk_s");try{var k=b.createSession(c)}catch(l){b="t.g",l instanceof window.DOMException&&(b+=";c."+l.code),this.l.T("licenseerror","drm.unavailable",!0,b,"YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK"),k=null}if(this.A=k)b=this.A,k=this.SN,f=this.RN,a=this.UN,b.C=this.TN,b.A=k,b.F=f,b.H=a,b.o=this,g.N(this,this.A);this.Y=c.A;this.B=[];this.g={};this.J=window.NaN;this.C=c.g||window.NaN};
ET=function(a,b){var c=b;var d=void 0===d?!1:d;if(ZG(ona.test(c),c,d,"Drm Licensor URL")){for(var e in a.D)b=Ug(b,e,a.D[e]);a.R=b}else GT(a,"drm.net",!0,"t.x")};
pna=function(a){var b={};g.cc(b,a.D);return b};
HT=function(a){for(var b="",c=0;c<a.length;c+=2)b+=String.fromCharCode(a[c]);a=(new window.DOMParser).parseFromString(b,"text/xml").querySelector("Challenge");return new window.Uint8Array(ie(a.childNodes[0].data))};
IT=function(a){var b;if(b=a.H)a=a.A,b=!(!a.g||!a.g.keyStatuses);return b};
GT=function(a,b,c,d,e){a.ka()||a.l.T("licenseerror",b,c,d,e);c&&a.dispose()};
qna=function(a){return g.Oa(a,"UHD2")?"highres":g.Oa(a,"UHD1")?"hd2160":g.Oa(a,"HD")?"hd1080":g.Oa(a,"HD720")?"hd720":"large"};
rna=function(a,b){if(!IT(a)&&PL(a.o)&&!b)return"large";var c=[],d=!0;if(IT(a))for(var e in a.g)"usable"==a.g[e].status&&c.push(a.g[e].type),"unknown"!=a.g[e].status&&(d=!1);if(!IT(a)||d)c=a.B;return qna(c)};
sna=function(a){if(!a)return{};var b={};(0,g.C)(a.split(";"),function(a){a=a.split(",");2==a.length&&(b[a[1]]={type:a[0],status:"unknown"})});
return b};
tna=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};
una=function(a,b){var c=[],d;for(d in a.g)c.push.apply(c,[d,a.g[d].type,a.g[d].status]);return c.join(b)};
vna=function(a){return IT(a)?una(a,";"):a.B.join(";")};
wna=function(a,b,c,d){a=new window.Uint8Array(a);a=HT(a);a={format:"RAW",method:"POST",postBody:(new wT(a,1)).message,responseType:"arraybuffer",withCredentials:!0,timeout:3E4};c=pba(c,d);g.KE(c,a,3,500).then(function(a){a=new window.Uint8Array(a.response);(a=xT(a))&&b.update(a.message)})};
xna=function(a,b){for(var c in a.g)if("usable"==a.g[c].status&&a.g[c].type==b)return!0;return!1};
JT=function(){this.keys=[];this.values=[]};
KT=function(a,b,c,d,e,f){f=void 0===f?"":f;g.HF.call(this);a&&(a.addKey||a.webkitAddKey)||LL()||SL(c);this.C=c;this.fa=d;this.J=a;this.g=b;this.subscribe("newlicense",this.kS,this);this.subscribe("newsession",this.lS,this);this.subscribe("sessionready",this.sT,this);this.subscribe("keystatuseschange",this.bO,this);this.subscribe("hdentitled",this.rR,this);this.ia=f||g.JG();this.M=null;this.l=new JT;this.B=this.F=null;this.o=[];this.H="fairplay"==this.g.flavor?WI:c.g("html5_drm_start_from_null_constraint")?
WI:yna;this.K=new AT(a,b);g.N(this,this.K);this.D=null;ML(b)&&(this.D=new AT(a,b),g.N(this,this.D));this.ba=2;this.W=new g.EF(this);g.N(this,this.W);this.Y=!1;this.Z=null;this.I=!1;a=this.J;this.g.l?this.W.O(a,"encrypted",this.cR):FF(this.W,a,ML(this.g)?["msneedkey"]:["needkey","webkitneedkey"],this.hS);(a=BT(this.K))?a.then(SD((0,g.A)(this.QR,this)),SD((0,g.A)(this.eQ,this))):this.I=!0;this.D&&BT(this.D);this.ga=e;this.X=this.R=!1;SL(c);this.A=null};
LT=function(a){return a.C.g("html5_playbackmanager_always_parse_pssh_from_init_segment")};
zna=function(a,b,c){g.gb(b,c)||a.fa("drmParsedKeyDiffsEventKey",b.length+" : "+c.length)};
Bna=function(a,b){if(ML(a.g)&&!a.R){var c=MR(b);if(0!=c.length){var d=new zT(c);a.R=!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){Ana(a,b,d)})},null)}}};
Ana=function(a,b,c){var d=b.createSession(),e=a.l.values[0],f=pna(e);d.addEventListener("message",function(b){wna(b.message,d,a.g.A,f)});
d.addEventListener("keystatuseschange",function(){d.keyStatuses.forEach(function(b,c){"usable"==c&&(a.X=!0,Cna(a,rna(e,a.X)))})});
d.generateRequest("cenc",c.initData)};
NT=function(a,b,c){a.ka()||!LT(a)&&ML(a.g)==c||a.Y&&a.ga||(a.Y=!0,a.o.push(b),1<a.o.length||a.I&&MT(a))};
MT=function(a){for(;a.o.length;){var b=a.o[0];if(g.gb(a.F,b.initData))a.o.shift();else{if(a.l.get(b.initData))if("fairplay"==a.g.flavor)a.l.remove(b.initData);else{a.o.shift();continue}a:{var c=b.initData;try{for(var d=0,e=new window.DataView(c.buffer);d<e.byteLength-8;){var f=e.getUint32(d);if(1>=f)break;if(1886614376==e.getUint32(d+4)){var k=32;if(0<e.getUint8(d+8)){var l=e.getUint32(d+28);k+=16*l+4}var m=e.getUint32(d+k-4);try{var n=new qe(c.subarray(d+k,d+k+m)),q=new LD;for(k=n;re(k)&&4!=k.l;)switch(k.o){case 2:var r=
ve(k),v=r;De(q,2).push(v);break;case 4:r=ve(k);Be(q,4,r);break;case 7:r=pe(k.g);Be(q,7,r);break;case 9:r=pe(k.g);Be(q,9,r);break;case 10:r=pe(k.g);Be(q,10,r);break;case 11:r=te(k);Be(q,11,r);break;case 12:r=pe(k.g);Be(q,12,r);break;case 13:v=r=ve(k);De(q,13).push(v);break;case 14:r=new MD;v=k;var E=r,H=zja,L=v.g.o,T=pe(v.g),ha=v.g.g+T;v.g.o=ha;H(E,v);v.g.g=ha;v.g.o=L;v=q;E=r;H=MD;Fe(v,H,14);var db=v.g[14];db||(db=v.g[14]=[]);var sa=E?E:new H,Vd=De(v,14);db.push(sa);Vd.push(He(sa));break;case 1:r=
te(k);Be(q,1,r);break;case 3:r=ue(k);Be(q,3,r);break;case 5:r=ue(k);Be(q,5,r);break;case 6:r=ue(k);Be(q,6,r);break;case 8:r=ve(k);Be(q,8,r);break;default:se(k)}var zh=q;if(null!=zh){var qb=zh;break a}}catch(Ve){}}d+=f}qb=null}catch(Ve){qb=null}}if(null!=qb)for(c=Ae(qb,7),null!=c&&(b.g=c),c=Ae(qb,10),null!=c&&0<c&&(b.l=c),c=De(qb,2),c=!c.length||c[0]instanceof window.Uint8Array?c:(0,g.I)(c,Qaa),c=g.p(c),d=c.next();!d.done;d=c.next())b.A.push(NR(d.value));if("widevine"==a.g.flavor){a:if(c=a,(0,window.isNaN)(b.g)&&
0<c.l.values.length)c=!0;else{c=g.p(c.l.values);for(d=c.next();!d.done;d=c.next())if(d.value.C==b.g){c=!0;break a}c=!1}if(c&&!a.C.g("html5_dedup_by_cryptoperiod_killswitch")){a.o.shift();continue}else{a:{c=a;if(!(c.C.g("disable_license_delay")||"widevine"!=c.g.flavor||b.o||(0,window.isNaN)(b.g)))for(c=g.p(c.l.values),d=c.next();!d.done;d=c.next())if(1>=Math.abs(d.value.C-b.g)){c=!0;break a}c=!1}if(c){Dna(a,b);a.o.shift();continue}}}break}}a.o.length&&(b=a.o[0],a.l.get(b.initData),qb=new FT(a.g,a.K,
b,a,a.ia,a.C),qb.eB(a.M),a.l.set(b.initData,qb))};
Dna=function(a,b){a.B&&a.B.dispose();a.F=b.initData;a.B=new g.Xt(function(){a.F=null;a.B=null;b.o=!0;a.o.push(b);1<a.o.length||MT(a)},Ena(b.l));
a.B.start()};
Ena=function(a){return 1E3*Math.max(0,Math.random()*(((0,window.isNaN)(a)?120:a)-30))};
Cna=function(a,b){var c=UI("auto",b,!1,"l");if(a.C.g("html5_drm_start_from_null_constraint")){if(TI(a.H,c))return}else if(ZI(a.H,b))return;a.H=c;a.T("qualitychange")};
Fna=function(a,b){this.g=a;this.o=b;this.A=this.l=0};
Ina=function(a,b,c,d){c=UI("auto",UG(),!1,"s");if(VI(c)){c=Gna(a,b);var e;(e=Hna(b.Fa))||(sE("armv7")||sE("android"))&&!g.QM(a.g)&&TH(b.Fa.videoInfos[0])&&(e=g.MH.large);e=new SI(0,e,!1,"o");c=XI(c,e);e=0;!a.g.o||g.KM(a.g)||CE()||a.g.experiments.g("mweb_uniplayer_auto_quality")||a.g.experiments.g("hls_for_vod")||(e=g.MH.medium);var f=a.g.experiments.l("html5_default_quality_cap");if(f){var k=!!b.Fa.g,l=a.g.experiments.l("html5_quality_cap_min_age_secs");k&&l&&(k=a.g.schedule.B,k=g.gG()-k>1E3*l);k&&
(e=e?Math.min(e,f):f)}(f=a.g.experiments.l("html5_hfr_quality_cap"))&&b.Fa&&UL(b.Fa)&&(e=e?Math.min(e,f):f);e=new SI(0,e,!1,"d");c=XI(XI(XI(XI(XI(c,e),OT(a,d)),PT(a)),a.g.zc),b.Lv)}return XI(XI(b.Hm,c),b.ar)};
Jna=function(a,b,c){g.QM(a.g)&&(c=XI(c,Gna(a,b)));return c};
Gna=function(a,b){if(b.Fa)if(g.QM(a.g)&&EI(a.g.M,HI))var c=b.Fa.videoInfos[0].video.g;else c=Kna(a,!!b.Fa.g),c=Lna(c,b.Fa.videoInfos).g;else c=0;c&&(c=Math.max(c,360));return new SI(0,c,!1,"r")};
Mna=function(a,b){var c=XI(b.Hm,b.ar);"auto"!=UG()||(c=XI(c,a.g.zc));return c};
QT=function(a,b){var c=UG();return"auto"!=c?UI("auto",c,!1,"s"):Nna(a,b)};
Nna=function(a,b){if(g.QM(a.g)&&EI(a.g.M,HI))return WI;var c=Kna(a,!!b.Fa.g);c=Lna(c,b.Fa.videoInfos);var d=c.g;(sE("armv7")||sE("android"))&&!g.QM(a.g)&&TH(b.Fa.videoInfos[0])&&(d=Math.min(d,g.MH.large));!a.g.o||g.KM(a.g)||CE()||a.g.experiments.g("mweb_uniplayer_auto_quality")||a.g.experiments.g("hls_for_vod")||(d=Math.min(d,g.MH.medium));d=Math.max(d,g.MH.medium);if(a.g.experiments.l("html5_default_quality_cap")){var e=!!b.Fa.g,f=a.g.experiments.l("html5_quality_cap_min_age_secs");e&&f&&(e=g.gG()-
a.g.schedule.B>1E3*f);e&&(d=Math.min(d,a.g.experiments.l("html5_default_quality_cap")))}a.g.experiments.g("html5_use_media_capabilities")&&(d=Math.min(Hna(b.Fa),d));a.g.experiments.l("html5_hfr_quality_cap")&&UL(b.Fa)&&(d=Math.min(d,a.g.experiments.l("html5_hfr_quality_cap")));c.g!=d&&(c=new SI(c.l,d,c.o,"r"));return c};
Hna=function(a){if(!a.videoInfos.length)return 0;if(null==a.videoInfos[0].o)return a.videoInfos[0].video.height;for(var b=g.p(a.videoInfos),c=b.next();!c.done;c=b.next())if(c=c.value,c.o)return c.video.height;return a.videoInfos[0].video.height};
Lna=function(a,b){if(!b.length)return WI;var c=.85;4!=b[0].video.projectionType&&2!=b[0].video.projectionType&&3!=b[0].video.projectionType||XL||(c=.45);for(var d,e,f=g.p(b),k=f.next();!k.done&&!(d=e=k.value,e=e.video,null===a||e.width*c<a.width&&e.height*c<a.height);k=f.next());return UI("auto","93"==RH(d)?LH(e.width,e.height):e.quality,!1,"r")};
Kna=function(a,b){var c;JM(a.g)&&(c=window.screen&&window.screen.width?new g.hd(window.screen.width,window.screen.height):null);if(!c)if(a.g.Ug)c=a.g.Ug.clone();else if("desktop-polymer"==a.g.playerStyle&&a.g.experiments.g("force_snap_player_size_for_format_size")&&YM(a.g)&&!a.g.experiments.g("force_snap_player_size_for_format_size_killswitch"))if(c=a.o,c.app.g.Hf||c.app.H.isFullscreen()||c.app.isWidescreen())c=c.Na();else a:{for(c=0;c<Ona.length;c++){var d=Ona[c];if(d.query.matches){c=new g.hd(d.size.width,
d.size.height);break a}}c=void 0}else c=a.o.Na();(EM||RT||b)&&c.scale(g.ZM());return c};
OT=function(a,b){var c=a.g.experiments.l("html5_background_quality_cap"),d=a.g.experiments.l("html5_background_cap_idle_secs");return!c||"auto"!=UG()||g.tG()/1E3<d?WI:b?new SI(0,c,!1,"v"):WI};
PT=function(a){if(!a.g.Wb)return WI;a=a.g.experiments.l("low_engagement_player_quality_cap");return new SI(0,a,!1,"e")};
ST=function(a,b){b=void 0===b?null:b;var c={};this.o=(c.c1a=(0,g.A)(this.C,this),c.c3a=(0,g.A)(this.D,this),c.c6a=(0,g.A)(this.B,this),c);this.g=a;this.A=b;this.g&&this.g.Tk?this.l=g.aE(this.g.Tk):this.l=[]};
UT=function(a,b){g.HF.call(this);var c=this;this.X=b;this.l=a;this.ba=new Pna(b);this.I=new g.EF;g.N(this,this.I);this.J=this.A=this.o=null;this.g=window.NaN;this.C=this.l.startSeconds||0;this.B=null;this.R=window.NaN;this.F=this.D=null;this.M=this.H=!1;this.Y=new g.Xt(function(){var a={Ek:c.g};c.A&&g.Fa(a,tT(c.A));c.o&&g.Fa(a,c.o.ck());c.ba.g&&(0,window.isFinite)(0<c.g)&&0<c.g&&TT(c)&&!c.o.getCurrentTime()&&(c.o.ac(c.g),a.elem="1");c.T("ctmp","seektimeout",fN(a))},1E4);
g.N(this,this.Y);this.K=new g.Xt(function(){return Qna(c)});
g.N(this,this.K)};
Rna=function(a,b){a.A&&a.A.unsubscribe("seekelementrequired",a.Z,a);(a.A=b)?a.A&&a.A.subscribe("seekelementrequired",a.Z,a):VT(a)};
WT=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.g||!a.H){a.H&&VT(a);a.F||(a.F=new SS);if((0,window.isFinite)(b)||!xE()&&!AO(a.l))b=g.ad(b,a.Yb(),a.ae(d));a.g=b;a.T("seekto",b,c);c?Qna(a):e&&a.K.start(e)}};
Qna=function(a){a.H=!0;if(!a.l.ya&&a.g>=a.ae()-.1){var b=a.ae();a.T("seekstart");a.F.resolve(b);a.T("seekend");VT(a);a.g=b;a.T("ended")}else Sna(a)};
Sna=function(a){Tna(a).then(void 0,function(){VT(a)});
Una(a).then(function(b){a.F.resolve(b);a.T("seekend");VT(a)},function(){VT(a)});
a.Y.start();a.T("seekstart")};
Tna=function(a){if(!a.D)if(a.A)if((0,window.isFinite)(a.g))a.D=a.A.seek(a.g);else{var b=a.A;qT(b);b.ba=new SS;a.D=b.ba;a.g=a.A.getCurrentTime()}else a.D=$f(a.g);return a.D};
Una=function(a){a.B||(a.B=new SS,Vna(a));return a.B};
Vna=function(a){if(a.B&&TT(a)&&!(0,window.isNaN)(a.g)&&(0,window.isFinite)(a.g)&&a.R!=a.g)try{a.o.ac(a.g),a.R=a.g,a.C=a.g}catch(b){}};
TT=function(a){if(!a.o||0==a.o.Re())return!1;var b=0<a.o.getCurrentTime();if(0<=a.g){var c=a.o.Fj();if(c.length||!b)return 0<=hI(c,a.g)}return b};
VT=function(a){a.g=window.NaN;a.R=window.NaN;a.B=null;a.D=null;a.F=null;a.H=!1;a.M=!1;a.Y.stop();a.K.stop()};
Wna=function(a){if(a.o)for(var b=g.p(["loadedmetadata","progress","seeked","seeking"]),c=b.next();!c.done;c=b.next())a.I.O(a.o,c.value,function(b){switch(b.type){case "seeking":b=a.o.getCurrentTime();if(!a.B||a.M&&b!=a.g)a.B=new SS,WT(a,b,!0),a.M=!0;break;case "seeked":a.B&&a.B.resolve(a.o.getCurrentTime());break;case "loadedmetadata":a.X&&!a.X.experiments.g("html5_utc_start_seconds_killswitch")&&UO(a.l)&&a.l.Uc&&(0,window.isFinite)(a.l.Uc)&&1E9<a.l.Uc&&a.l.oa?(b=a.ae()-GL(a.l.oa,a.ae())+a.l.Uc,WT(a,
b)):!a.X.experiments.g("html5_utc_start_seconds_killswitch")&&a.l.oa&&a.l.oa.l&&a.l.Uc&&0!=a.l.Uc&&WT(a,a.l.Uc);case "progress":Vna(a)}})};
Pna=function(a){this.g=!a.experiments.g("html5_reseek_element_killswitch")};
XT=function(){var a=dF("visibilityState",window.document);return!(!a||"visible"==a)};
Yna=function(a){var b=Xna();b&&window.document.addEventListener(b,a,!1)};
Zna=function(a){var b=Xna();b&&window.document.removeEventListener(b,a,!1)};
Xna=function(){if(window.document.visibilityState)var a="visibilitychange";else{if(!window.document[cF+"VisibilityState"])return"";a=cF+"visibilitychange"}return a};
ZT=function(){g.HF.call(this);this.B=0;this.A=this.g=this.l=!1;this.C=(0,g.A)(this.o,this);Yna(this.C);var a=this.isFullscreen();this.D=this.A?4:XT()?3:a?2:this.g?1:this.l?5:0};
$T=function(){g.M.call(this);this.o={};this.g={};this.l=new g.Xt(this.ZU,250,this);g.N(this,this.l)};
aU=function(a,b){if(a.g[b]){var c=a.g[b].g;for(var d=[];c.o!=c.g;)c.o=(c.o+1)%c.l.length,d.push(c.l[c.o]);c=d}else c=[];return c};
bU=function(a,b){return a.g[b]?EQ(a.g[b].g):0};
cU=function(a){this.o=a;this.g=new DQ(100);this.l=window.NaN};
dU=function(){this.g=this.l=!1};
fU=function(a,b,c,d,e,f,k,l){g.HF.call(this);this.Ta=new kma;this.K=c;this.Wb=d;this.Ug=f;this.na=l;this.bj=k;c=(0,g.A)(function(a,b){"crn_endcr"!=a||g.X(this.o,32)||eU(this);e(a,b)},this);
this.I=new PS((0,g.A)(this.getCurrentTime,this),(0,g.A)(this.BA,this),(0,g.A)(this.WL,this),c);g.N(this,this.I);this.Ca=window.NaN;this.Z=this.H=null;this.A=a;this.M=new Fna(a,this.Wb);this.Ed=!0;this.J=this.B=null;this.ba=[];this.ra=new dU;this.Y=new dU;this.Xb=null;this.pg=this.Gf=this.Vg=this.Wa=!1;this.zc=window.NaN;this.o=new g.DP;this.Oc=[];this.Ib=b;this.sa=null;this.R=window.NaN;this.xa=new g.EF;g.N(this,this.xa);this.g=new g.vO;this.l=null;this.ia=new g.Xt((0,g.A)(this.GR,this),15E3);g.N(this,
this.ia);this.C=null;this.ng=this.rb=!1;this.Pa=window.NaN;this.Ha=this.Fd=this.Qc=this.tb=!1;this.kd=this.ye=window.NaN;this.mg=0;this.cj=a.experiments.g("html5_force_play_on_suspend_event");this.dj=a.experiments.g("html5_force_play_on_suspend_event_limited");this.X=null;this.ga=new $T;g.N(this,this.ga);this.ga.Fb("bufferhealth",(0,g.A)(this.My,this));this.ga.Fb("bandwidth",(0,g.A)(this.jJ,this));this.ga.Fb("networkactivity",(0,g.A)(this.lJ,this),!0);this.ga.Fb("livelatency",(0,g.A)(this.Sy,this));
this.ga.start();this.og=!1;this.Cd=!0;this.Gd=window.NaN;this.ze=!1;this.Ma=1;this.F=null;this.wb=(0,g.A)(this.aM,this);Yna(this.wb);this.A.experiments.g("html5_disable_subscribe_new_vis_2")||this.na.subscribe("visibilitystatechange",this.wb);this.Sh=this.Tg=0;this.Th=a.experiments.l("html5_reattach_resource_after_timeout_limit");this.Qh=0;this.D=null;this.A.experiments.g("html5_new_seeking")&&$na(this);this.fa=null;this.Sg=!1;this.Hf=[];this.Ph=this.Rh=0};
gU=function(a){g.mG()?g.nG(a.Pa):g.YD(a.Pa)};
mU=function(a,b,c,d){d=void 0===d?!0:d;a.ba.length=0;a.ra.reset();a.Y.reset();a.Ca=window.NaN;a.R=window.NaN;a.rb=!1;a.Gd=window.NaN;a.Ed=!0;a.l&&a.l.oe();hU(a);iU(a);jU(a);gU(a);a.ga.clear();a.X=null;a.F=null;a.mg=0;g.Ze(a.g);if(2==a.Ib||a.A.Um)b.Zz=!0;var e=b.qc;var f=a.A.g;var k=a.A.yb,l;(l=e.adformat)||(l=(e=e.attrib)&&Rb(aoa,e)&&Rb(boa,e)?boa[e]+"_"+aoa[e]:void 0);if(e=l)if((l=e.match(coa))&&5==l.length){l=e.match(coa);var m=(0,window.parseInt)(l[3],10),n=[7,8,10,5,6];l=!(1==(0,window.parseInt)(l[1],
10)&&8==m)&&0<=n.indexOf(m);f=f||k||l?e:null}else f=null;else f=null;f&&(b.adFormat=f);2==a.Ib&&(b.rm=!0);if(a.na.isFullscreen()||a.A.g)f=g.OG("yt-player-autonavstate"),b.autonavState=f||(a.A.g?2:a.g.autonavState);a.Cd=d;a.g=b;a.g.subscribe("dataupdated",a.bU,a);a.g.subscribe("dataloaded",a.Mx,a);a.g.subscribe("dataloaderror",a.Nl,a);a.g.subscribe("onStatusFail",a.aU,a);b.endSeconds&&b.endSeconds>b.startSeconds&&doa(a,b.endSeconds);eoa(a,c);a.tb=!1;kU(a,"newdata");lU(a,new g.DP);a.D&&(b=a.D,a=a.g,
VT(b),b.l=a,b.J=null,b.C=a.startSeconds||0)};
eoa=function(a,b){iU(a);if(!a.g.Gk){var c=new gma(a.g,a.A,b,(0,g.A)(a.getDuration,a),(0,g.A)(a.getCurrentTime,a),(0,g.A)(a.mJ,a),(0,g.A)(a.Wb.Na,a.Wb),(0,g.A)(a.getAudioTrack,a),(0,g.A)(a.BA,a),(0,g.A)(a.Vr,a),a.Ug,(0,g.A)(a.BJ,a),function(){return a.K.g("qoes")});
a.C=new bQ(c)}};
iU=function(a){if(a.C){var b=a.C;if(!b.ka()&&b.B){b.C="paused";var c=fQ(b);c.ba=!0;c.send();c=b.l;"PL"==c.o&&(c.o="N");var d=g.lP(c.g);g.PP(c,d,"vps",[c.o]);c.B(d);g.YD(b.A);b.dispose()}g.Ze(a.C);a.C=null}};
nU=function(a){return a.l&&a.l.Fg()?a.l.la():null};
pU=function(a){if(a.g.Ld())return!0;g.oU(a,"api.invalidparam",void 0,"invalidVideodata.1");return!1};
rU=function(a,b){a.Wa=void 0===b?!1:b;if(pU(a)&&!a.ra.l){a.ra.start();if(a.C){var c=a.C.l;g.lP(c.g);c.g.videoData.Cp&&WP(c,c.g.videoData.Cp);c.g.videoData.wp?WP(c,"prefetch"):(c.l.user_intent=["0"],c.F=!0);c.g.videoData.Gh&&(RP(c,"reload",c.g.videoData.reloadReason),RP(c,"reloadcount",c.g.videoData.Gh.toString()));c.g.videoData.Kl&&WP(c,"monitor");c.g.videoData.ya&&WP(c,"live");c.g.videoData.jg&&RP(c,"ctrl",c.g.videoData.jg,!0);c.g.videoData.Af&&RP(c,"ytp",c.g.videoData.Af,!0);if(c.g.videoData.sD){var d=
c.g.videoData.sD.replace(/,/g,".");RP(c,"ytrexp",d,!0)}c.g.videoData.chapterMarkers.length&&WP(c,"chaptermarkers");if(!c.g.g.experiments.g("html5_disable_gpu_reporting")){var e=c.g.g.experiments;d=c.g.videoData;e=e.g("enable_white_noise")||e.g("enable_webgl_noop")||e.g("enable_gpu_logging");var f=d.wi()||d.Vf()||d.Wf()||d.lf();d=0==d.clientPlaybackNonce.indexOf("gp");(e||f||d)&&(d=(0,g.qU)())&&(c.l.gpu=[d])}c.Z=g.XD((0,g.A)(c.B,c),1E4)}a.Mx()}};
sU=function(a){return a.na.isBackground()};
uU=function(a){a.l&&uP(a.l);rU(a);pU(a)&&!g.X(a.o,128)&&(a.Y.l||(a.Y.start(),lU(a,FP(FP(a.o,8),1))),tU(a))};
tU=function(a){if(!a.Y.g&&a.ra.g&&!g.X(a.o,128)&&!a.ba.length){if(!a.I.B){var b=a.I;b.B=!0;b.o()}if(!vU(a)){a.B&&(b=a.B,a.Vg=!!b.fa&&!!b.na);a.Y.g||(a.Y.g=!0);!a.g.ya||0<a.g.Uc&&!AO(a.g)||(wU(a,window.Infinity,!0),xU(a,"readying"),sU(a)&&(a.ng=!0));if(a.C&&(b=a.C,b.g.videoData.enableCardio&&b.g.videoData.enableCardioBeforePlayback&&(b.Op("connected"),jQ(b)),b.g.videoData.ya)){b=b.l;var c=b.g.videoData.oa;AO(b.g.videoData)&&WP(b,"manifestless");c&&FL(c)&&WP(b,"live-segment-"+FL(c).toFixed(1))}a.T("playbackready",
a);fO("pbr","")||(a.K.g("pbr"),gO("pbr"))}}};
eU=function(a,b){b=void 0===b?!0:b;yU(a);var c=b?new g.DP(14):new g.DP;lU(a,c)};
doa=function(a,b){a.Z&&(a.I.C(a.Z),a.Z=null);a.Z=new g.rQ(1E3*b,0x7ffffffffffff);a.Z.namespace="endcr";QS(a.I,[a.Z])};
goa=function(a,b,c,d){a.g.Ka=c;d&&foa(a,b,d);if(a.C){var e=zU(a);d=a.C.l;e=new cP(a.g,c,b,e?RH(e):"");c=g.lP(d.g);g.PP(d,c,"vfs",[e.g.id,e.l,d.ga,e.reason]);d.ga=e.g.id;e=d.g.I();if(0<e.width&&0<e.height){e=[Math.round(e.width),Math.round(e.height)];var f=g.ZM();1<f&&e.push(f);g.PP(d,c,"view",e)}!d.R&&d.g.videoData.ph&&WP(d,"rqs");d.R=!0;g.PP(d,c,"vps",[d.o]);d.B(c)}a.M.l=0;a.T("internalvideoformatchange",a.g,"m"==b)};
zU=function(a){if(!a.g.Fa)return null;var b=AU(a,"html5_optimality_migration")?Ina(a.M,a.g,BU(a),sU(a)):XI(XI(XI(QT(a.M,a.g),BU(a)),OT(a.M,sU(a))),PT(a.M));return g.Ka(a.g.Fa.videoInfos,(0,g.A)(b.A,b))};
foa=function(a,b,c){if(c!=a.g.wc){var d=!a.g.wc;a.g.wc=c;if(a.C){var e=a.C.l;c=new cP(a.g,c,b,"");var f=g.lP(e.g);c.g.id!=e.K&&(g.PP(e,f,"afs",[c.g.id,e.K,c.reason]),e.K=c.g.id)}d||a.T("internalaudioformatchange",a.g,"m"==b)}};
g.oU=function(a,b,c,d,e){var f,k;g.Sb(hoa,c)?f=c:c?k=c:f="YTP_ERROR_GENERIC_WITHOUT_LINK";b={errorCode:b,errorDetail:d,message:k||g.V(f),messageKey:f,subreason:e||""};lU(a,EP(a.o,128,b));gU(a);jU(a);g.CU(a)};
ioa=function(a,b){a.ba=a.ba.filter(function(a){return b!=a});
a.Y.l&&tU(a)};
vU=function(a){var b;(b=!!a.ba.length)||(a=a.I.g.g[0],b=!!a&&-0x8000000000000>=a.start);return b};
loa=function(a,b){a.l&&DU(a);if(!a.o.isError()){var c=GP(a.o,512);!g.X(c,8)||!AU(a,"htlm5_ended_buffering_killswitch")&&g.X(c,2)||(c=FP(c,1));lU(a,c)}a.l=b;a.l.To(a.ze);a.l.Se(a.Ma);joa(a);koa(a);if(a.D){c=a.D;var d=a.l;g.GF(c.I);(c.o=d)?Wna(c):VT(c)}};
koa=function(a){if(a.A.experiments.g("html5_prewarm_mse")&&OI()&&xI())try{vP(a.l)}catch(b){}};
DU=function(a){if(a.D){var b=a.getCurrentTime();0<b&&(a.D.C=b);b=a.D;g.GF(b.I);b.o=null;VT(b)}EU(a);a.B&&(g.Yt(a.B.X),WS(a.B,!1));a.ia.stop();a.l&&(!a.Y.l||a.o.isError()||g.X(a.o,2)||lU(a,FP(a.o,512)),hU(a),g.GF(a.xa),a.l.oe(),a.l=null)};
IU=function(a){if(!g.X(a.o,128))if(a.og)a.og=!1,FU(a);else if(uU(a),g.X(a.o,64)&&lU(a,FP(a.o,8)),a.Y.g&&a.l)if(a.g.Fa){if(a.g.ya){var b=a.getCurrentTime()<a.Yb()-15;var c=g.TO(a.g)&&g.X(a.o,4);if(b||c)c?(wU(a,window.Infinity,!0),xU(a,"unpauseLiveOnly")):(wU(a,a.Yb(),!0),xU(a,"outOfWindow"));!GU(a,void 0,!0)&&a.isPeggedToLive()&&(wU(a,window.Infinity,!0),xU(a,"peggedToLive"));if(b=a.A.experiments.g("html5_new_seeking")&&g.X(a.o,256)&&a.g.Ge&&a.D)b=a.D,b=b.H&&!(0,window.isFinite)(b.g);if(b){lU(a,HP(a.o,
8,4));return}}HU(a)?a.A.Ym?g.WD((0,g.A)(a.sm,a),0):a.sm():a.sm()}else b=a.g.ya&&!g.PI()?"html5.unsupportedlive":a.g.Kc?"fmt.unplayable":"fmt.noneavailable",g.oU(a,b,"YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK","selectableFormats.1")};
moa=function(a){if(!a.g.Fa)return[];if(AU(a,"html5_optimality_migration"))var b=Jna(a.M,a.g,BU(a));else b=BU(a),g.QM(a.A)&&(b=XI(b,Nna(a.M,a.g)));b=b||WI;a=(0,g.Jd)(a.g.Fa.videoInfos,(0,g.A)(b.A,b));b=[];for(var c={},d=0;d<a.length;d++){var e=a[d].video;c[e.quality]||(b.push(e),c[e.quality]=!0)}return b};
noa=function(a){return AU(a,"html5_optimality_migration")?Ina(a.M,a.g,BU(a),sU(a)):XI(XI(XI(XI(XI(Mna(a.M,a.g),QT(a.M,a.g)),OT(a.M,sU(a))),a.g.Lv),BU(a)),PT(a.M))};
BU=function(a){return a.H?a.H.H:zO(a.g)&&a.g.Fa.g&&sL(a.g.oa)?a.A.experiments.g("html5_drm_start_from_null_constraint")?WI:yna:WI};
JU=function(a,b){if(!a.ka()&&!g.X(a.o,128)&&zO(a.g)){"m"==b&&VI(a.g.Hm)&&(b="a");var c=noa(a);if(a.g.Fa.g){if(a.B){var d=a.B,e=b;if(!d.ka()&&!TI(d.D.B,c)&&d.g){gT(d,Sma(d.D,c,e));VS(d);e=DS(d.D)&&"m"==c.reason&&d.D.K;var f=d.l.Sg&&"l"==c.reason&&mS(d.g);c="b"==c.reason;e||f||c?d.T("reattachrequired"):(nS(d.g)&&cT(d,d.g,d.A),g.Yt(d.X))}}}else{AU(a,"html5_reason_reporting_migration")&&(b=c.reason);d=a.g;a:if(e=a.g.Kg,c.g){f=g.p(e);for(var k=f.next();!k.done;k=f.next()){k=k.value;var l=k.wg(),m=g.MH[l.video.quality];
if((!c.o||"auto"!=l.video.quality)&&m<=c.g){c=k;break a}}c=e[e.length-1]}else c=e[0];d.zf=c;goa(a,b,a.g.zf.wg())}a.o.jb()&&IU(a)}};
ooa=function(a){a.F=new IQ(a.g,a.A.experiments,function(){return KU(a,!0)});
a.D&&(a.D.J=a.F);a.C&&kQ(a.C,KQ(a.F))};
g.LU=function(a){Zka(a.g.oa,{cpn:a.g.clientPlaybackNonce,c:a.A.l.c,cver:a.A.l.cver});var b=kna(a.A,a.g);a.B=new US(a.A.schedule,b,a.g.oa,a.g.Fa,a.I);a.B.subscribe("initsegment",a.vR,a);a.B.subscribe("videoformatchange",a.JR,a);a.B.subscribe("audioformatchange",a.IR,a);a.B.subscribe("error",a.Nl,a);a.B.subscribe("ctmp",a.fc,a);a.B.subscribe("seekelementrequired",a.dV,a);a.B.subscribe("seekplayerrequired",(0,g.A)(function(a,b){wU(this,a,!0,void 0,b)},a));
a.B.subscribe("reattachrequired",a.XU,a);a.B.subscribe("metadata",a.yC,a);a.B.subscribe("constraint",a.XT,a);b=g.Oa(a.ba,"spacecast")||a.Wa&&!a.A.experiments.g("html5_preload_media");var c=a.getAudioTrack();c=c.Hb.isDefault?void 0:c;a.B.initialize(a.g.startSeconds,noa(a),b,c);a.g.probeUrl&&(a.B.ga=a.g.probeUrl);(a.ba.length||a.Wa)&&WS(a.B,!1);a.D&&Rna(a.D,a.B);a.F&&vT(a.B,a.F.l,PQ(a.F),a.F.g.C)};
$na=function(a){a.D=new UT(a.g,a.A);a.D.subscribe("seekto",function(b,c){poa(a,b);c||qoa(a);roa(a,b);a.T("seekto",a,b)});
a.D.subscribe("seekstart",function(){return soa(a)});
a.D.subscribe("ended",function(){return eU(a)});
a.D.subscribe("pausemediaelement",function(){return yU(a,!0)});
a.D.subscribe("resumemediaelement",function(){g.X(a.o,8)&&a.sm()});
a.D.subscribe("ctmp",a.fc,a)};
jU=function(a){a.B&&(a.B.dispose(),a.B=null,a.D&&Rna(a.D,null));EU(a)};
EU=function(a){a.J&&(a.J.dispose(),a.J=null)};
MU=function(a){if(a.J)return a.J.B;a.B?a.B.seek(a.getCurrentTime()):g.LU(a);try{a.J=jma(a.l)}catch(b){return g.RD(b,"WARNING"),b.message="window.URL object overwritten by external code",window.setTimeout(function(){throw b;},0),g.oU(a,a.g.Kc?"drm.unavailable":"html5.missingapi","YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK","updateMs.1"),null}kka(a.J,function(b){try{if(a.A.experiments.g("html5_mse_fix_killswitch")||a.J&&(!b||a.J==b))if(a.pg)a.Gf=!0;
else{var c=a.getDuration();!c&&AO(a.g)&&(c=3600);a.J.o.duration=c;g.XS(a.B,a.J)}}catch(d){g.RD(d,"WARNING"),a.Nl(new g.eN("fmt.unplayable",!0,{msi:"1",ename:d.name}))}});
return a.J.B};
toa=function(a){return 403==a.details.rc?(a=a.errorCode,"net.badstatus"==a||"manifest.net.retryexhausted"==a):!1};
FU=function(a){if(!a.g.Ge&&a.g.Gh){if(6048E5<g.gG()-a.A.og){if(!AU(a,"html5_retire_by_reload_killswitch"))try{window.location.reload(!0);return}catch(b){}AU(a,"tvhtml5_retire_old_players")&&g.QM(a.A)&&uoa(a)}}else a.Qc||(a.Qc=!0,a.T("signatureexpired"))};
voa=function(a){return"net.retryexhausted"==a.errorCode||"net.badstatus"==a.errorCode&&!!a.details.fmt_unav};
woa=function(a,b){if(a.l&&("fmt.unplayable"==b.errorCode||"html5.invalidstate"==b.errorCode)){var c=a.l.Pb();b.details.merr=c?c.toString():"0";b.details.msg=a.l.dk()}};
yoa=function(a,b,c){if(a.Gd+3E4>(0,g.G)())return AU(a,"html5_exile_broken_instances")&&!a.g.Ge&&(a.A.Z+=1,10<a.A.Z)?(c.exiled=""+a.A.Z,a.C.onError("qoe.start15s",fN(c)),a.T("playbackstalledatstart"),!0):!1;a.Gd=(0,g.G)();var d=a.g;d=d.zf?+g.cE(d.zf.g().g).expire<Date.now()/1E3+1800:!1;a.C&&(c.e=b,a.J&&(c.msopened=""+ +!!a.J.g),d&&(c.staleprog="1"),a.C.onError("qoe.restart",fN(c)));if(d)return FU(a),!0;sE("philips")&&uoa(a);AU(a,"html5_stun_format_on_platform_err")&&a.B&&(b=a.B,b.g&&(c=(c=b.g.B||b.g.g)?
c.g:b.g.l,c.F+=1,BS(b.D,c)));AU(a,"html5_new_elem_on_platform_err")?xoa(a):NU(a);return!0};
xoa=function(a){jU(a);a.T("newelementrequired");g.X(a.o,8)&&IU(a)};
uoa=function(a){if("GAME_CONSOLE"!=a.A.l.cplatform)try{window.close()}catch(b){}};
yU=function(a,b){b=void 0===b?!1:b;var c=!a.A.experiments.g("web_player_ended_pause_killswitch")&&g.X(a.o,2);if((g.X(a.o,64)||c)&&!b)if(g.X(a.o,8))lU(a,HP(a.o,4,8));else return;if(a.l||a.A.experiments.g("html5_pause_video_fix"))g.X(a.o,128)||(b?lU(a,FP(a.o,256)):lU(a,HP(a.o,4,8))),a.l&&a.l.pause(),g.TO(a.g)&&a.B&&WS(a.B,!1)};
OU=function(a){a.A.experiments.g("html5_remove_pause")||yU(a);a.B&&(WS(a.B,!1),YS(a.B))};
g.CU=function(a,b){b=void 0===b?!1:b;if(a.l){if(!a.A.experiments.g("html5_remove_pause"))try{a.l.pause()}catch(c){return}hU(a);jU(a);a.D||(a.g.startSeconds=a.getCurrentTime());a.R=window.NaN;a.l.oe();koa(a);g.X(a.o,128)||(b?lU(a,HP(a.o,4,8)):lU(a,EP(a.o)));a.A.C.remove(a.g.videoId)}};
wU=function(a,b,c,d,e){b=void 0===b?0:b;c=void 0===c?!1:c;e=void 0===e?!1:e;!AU(a,"html5_update_on_seek_killswitch")&&g.X(a.o,2)&&HU(a);if(a.A.experiments.g("html5_new_seeking"))b&&!(0,window.isFinite)(b)&&zoa(a),WT(a.D,b,c,e,d);else if(a.l&&a.Y.g){b&&!(0,window.isFinite)(b)&&zoa(a);var f;if(b&&!(0,window.isFinite)(b)){var k;if(k=a.B&&AO(a.g))k=a.B,k=!(k.g.D||k.A.D)||a.g.Ge&&!a.A.experiments.g("html5_manifestless_no_redundant_seek_to_head");k?f=qT(a.B):xE()&&(a.A.experiments.g("html5_appletv_clampaftermetadata_killswitch")||
1>a.l.Re())&&(f=b)}f||(f=g.ad(b||0,a.Yb(),KU(a,e)));poa(a,f);c?a.yy():qoa(a,d);roa(a,f);a.T("seekto",a,f)}else a.g.startSeconds=b};
zoa=function(a){if(a.F&&a.B){if(AU(a,"html5_adaptive_readahead_enable_new_method"))wma(a.F)&&a.C&&kQ(a.C,KQ(a.F));else if(a.g.isLowLatencyLiveStream||"LOW"==a.g.latencyClass||"ULTRALOW"==a.g.latencyClass)if(a.A.experiments.g("html5_readahead_holdback")){var b=LQ(a.F);if(b!=a.F.l){var c=a.g.oa?FL(a.g.oa)||5:5;a.fc("adaptiveReadaheadHoldback",""+b*c)}}else{b=a.F;if(b.o.length){c=b.l;b.l=LQ(b);if(c=c!=b.l)b.o=[],b.B=0;b=c}else b=!1;b&&a.C&&kQ(a.C,KQ(a.F))}vT(a.B,a.F.l,PQ(a.F),a.F.g.C)}};
poa=function(a,b){if(a.F){var c=a.F;QQ(c,b,!1);RQ(c,b)}a.g.startSeconds=b;a.R=b;c=a.Ta;c.g=b;c.l=!0};
roa=function(a,b){a.Z&&b>a.g.endSeconds&&(0,window.isFinite)(b)&&(a.I.C(a.Z),a.Z=null);b<KU(a)-.01&&lU(a,GP(a.o,2))};
qoa=function(a,b){g.X(a.o,32)||(lU(a,FP(a.o,32)),g.X(a.o,8)&&yU(a,!0),a.T("beginseeking",a));b&&(a.sa||(a.sa=new g.Xt(a.yy,b,a)),a.sa.start());PU(a)};
soa=function(a){a.sa&&(a.sa.dispose(),a.sa=null);g.X(a.o,32)&&(lU(a,FP(GP(a.o,32),16)),a.T("endseeking",a))};
QU=function(a){if(!a.g.oa){if(a.A.experiments.g("html5_start_date_from_element")&&xE()&&a.l){var b=a.l.Ql().getTime();if(!(0,window.isNaN)(b))return b/1E3+a.getCurrentTime()}return window.NaN}return GL(a.g.oa,a.getCurrentTime())};
Boa=function(a){if(!a.l)return 0;if(g.TO(a.g))return 1;if(UO(a.g)){if(GU(a)||a.isPeggedToLive())return 1;var b=a.l,c=b.Nf();b=(0<jI(c)&&b.getDuration()?c.end(c.length-1):0)-a.Yb();a=Aoa(a)-a.Yb();return Math.max(0,Math.min(1,b/a))}return yP(a.l)};
RU=function(a,b){var c={};if(void 0===b?0:b){a.C?g.Fa(c,$P(dQ(a.C,"playback"))):a.g&&(c.cpn=a.g.clientPlaybackNonce);a.l&&(g.Fa(c,a.l.ck()),g.Fa(c,a.Vr()));a.B&&g.Fa(c,tT(a.B));if(a.H){var d=a.H,e=d.g;e={systemInfo:{flavor:e.flavor,keySystem:e.g},sessions:[]};d=g.p(d.l.values);for(var f=d.next();!f.done;f=d.next()){f=f.value;var k={requestedKeyIds:f.Y,cryptoPeriodIndex:f.C};f.A&&(k.keyStatuses=f.g);e.sessions.push(k)}c.drm=e}c.state=a.o.l.toString(16);g.X(a.o,128)&&(c.debug_error=a.o.g);vU(a)&&(c.prerolls=
a.ba.join(","));a.g.Eg&&(c.ismb=a.g.Eg);"UNKNOWN"!=a.g.latencyClass&&(c.latency_class=a.g.latencyClass);a.g.isLowLatencyLiveStream&&(c.lowlatency="1");a.g.ya&&(a.g.oa&&FL(a.g.oa)&&(c.segduration=FL(a.g.oa)),a.X&&(c.lat=EQ(a.X.B)));c.relative_loudness=a.g.relativeLoudness.toFixed(3);if(e=zU(a))c.optimal_format=e.video.qualityLabel;c.user_qual=UG()}c.debug_videoId=a.g.videoId;return c};
kU=function(a,b){a.T("internalvideodatachange",void 0===b?"dataupdated":b,a,a.g)};
joa=function(a){(0,g.C)("loadstart loadeddata loadedmetadata play playing progress pause ended suspend seeking seeked timeupdate durationchange ratechange error waiting resize".split(" "),function(a){this.xa.O(this.l,a,this.ZL,this)},a);
a.A.Sg&&a.l.Fg()&&(a.xa.O(a.l,"webkitplaybacktargetavailabilitychanged",a.UP,a),a.xa.O(a.l,"webkitcurrentplaybacktargetiswirelesschanged",a.VP,a))};
Coa=function(a){var b=a.getCurrentTime(),c=a.g;!fO("pbs","")&&NN.measure&&NN.getEntriesByName&&(NN.getEntriesByName("mark_nr")[0]?dO("mark_nr"):dO());c.videoId&&a.K.info("docid",c.videoId);c.eventId&&a.K.info("ei",c.eventId);c.clientPlaybackNonce&&a.K.info("cpn",c.clientPlaybackNonce);0<c.startSeconds&&a.K.info("start",c.startSeconds.toString());a.l&&a.l.Fi()&&a.K.info("paused",1);c.Ka?a.K.info("fmt",RH(c.Ka)):a.K.info("fmt","-1");c.wp&&a.K.info("yt_pre",a.Vg?"2":"1");a.na.isFullscreen()&&a.K.info("yt_fs",
"1");a.K.info("cmt",b.toFixed(3));if(a.B){b=a.B;window&&window.performance&&window.performance.getEntriesByName&&(c=window.performance.getEntriesByName(b.na),c.length&&(c=c[0],b.Xc("vri",c.fetchStart),b.Xc("vdns",c.domainLookupEnd),b.Xc("vreq",c.requestStart),b.Xc("fvb",c.responseStart),b.Xc("vrc",c.responseEnd)),c=window.performance.getEntriesByName(b.fa),c.length&&(c=c[0],b.Xc("ari",c.fetchStart),b.Xc("adns",c.domainLookupEnd),b.Xc("areq",c.requestStart),b.Xc("avb",c.responseStart),b.Xc("arc",c.responseEnd)));
b=b.Xb;for(var d in b)a.K.g(d,b[d])}};
PU=function(a,b){b=void 0===b?!1:b;if(a.l&&a.g){var c=a.getCurrentTime();if(a.F)if(AU(a,"html5_adaptive_readahead_enable_new_method")){var d=a.F,e=(0,g.G)(),f=a.B;var k=sS(f.H);f=f.D;f=zS(f,f.A.info)+zS(f,f.J.info);k/=f;MQ(d,e);d.o.push([e,k])}else GU(a)&&(d=a.F,e=a.My(),d.B++,3>d.B||(0,g.G)()-d.F<d.g.J||(d.F=(0,g.G)(),d.o.push(e),50<d.o.length&&d.o.shift()));a.F&&(d=a.o.jb(),e=a.F,QQ(e,c,void 0===d?!0:d),RQ(e,c),d&&(d=a.F,d=!OQ(d,c)&&d.isPeggedToLive()?window.Infinity:c<d.A.Yb()?Math.min(d.A.Yb()+
10,NQ(d)):window.NaN,(0,window.isNaN)(d)||(wU(a,d,!0),xU(a,"updateProgress"))));a.X&&GU(a)&&(d=a.X,!d.g||c>=d.o&&c<d.A||(e=d.g.Ag(c),-1!=e&&(d.o=d.g.Nd(e),d.A=d.o+d.g.getDuration(e),e=(0,g.G)()/1E3-d.g.cu(e),d.l&&(e-=d.l()),d.B.add(e))));!a.B||g.X(a.o,4)&&g.TO(a.g)||(d=a.B,d.o&&(d.B!=c&&d.resume(),d.K&&!vI(d.o)&&(e=d.B<=c&&c<d.B+10,k=0<=hI(d.o.l.oc(),d.B+eT),e&&k&&(d.K=!1)),d.K||(d.B=c),g.Yt(d.ia)));5<c&&(a.D?a.D.C=c:a.g.startSeconds=c);(d=g.mG())?g.nG(a.Pa):g.YD(a.Pa);!g.LP(a.o)&&a.l.Fi()||g.X(a.o,
128)||(e=(0,g.A)(a.QJ,a),0==a.l.rl().length?a.Pa=d?g.kG(e,100):g.WD(e,100):a.Pa=d?g.kG(e,500):g.WD(e,500));a.g.ug=c;!b&&a.o.jb()&&(a.C&&(c=a.C,c.o.update(),c.g.videoData.Kb()&&c.g.videoData.Mf&&!c.K&&hP(c.o)>=c.g.videoData.Mf&&(c.B&&c.g.videoData.Mf&&(d=dQ(c,"delayplay"),d.Ca=!0,d.send(),c.K=!0),iQ(c)),GU(a)&&(!a.g.oa||!DL(a.g.oa))&&(0,g.G)()>a.Qh+6283&&(c=a.C.l,e=c.g.B(),d=g.lP(c.g),SP(c,d,e),e=e.C,(0,window.isNaN)(e)||g.PP(c,d,"e2el",[e.toFixed(3)]),a.Qh=(0,g.G)())),AU(a,"html5_log_auto_video_height_change")&&
a.g.Ka&&WH(a.g.Ka)&&(c=nU(a))&&c.videoHeight!=a.Ph&&(a.fc("hlsh",""+c.videoHeight),a.Ph=c.videoHeight));a.T("progresssync",a,b)}};
lU=function(a,b){if(!g.IP(a.o,b)){var c=new g.NP(b,a.o);a.o=b;var d=!a.Oc.length;a.Oc.push(c);var e=a.l&&a.l.So();if(0<OP(c,1)&&!g.X(c.g,16)&&!e&&g.X(a.o,8)&&!g.X(a.o,64)&&a.B&&(a.B.M=!0,Doa(a),a.l&&5<=wP(a.l))){e=a.M;var f=a.g;6E4<(0,g.G)()-e.A&&(e.l=0);e.l++;e.A=(0,g.G)();f=f.Ka.video.g;var k=e.g.o?240:360;4==e.l&&f>k?(e.g.zc=new SI(0,f-1,!1,"b"),e=!0):e=!1;e&&JU(a,"b")}(0>OP(c,8)||0<OP(c,1024))&&a.ia.stop();!(0<OP(c,8))||a.g.Ge||g.X(c.state,1024)||a.ia.start();g.X(c.state,8)&&0>OP(c,16)&&!g.X(c.state,
32)&&!g.X(c.state,2)&&IU(a);g.X(c.state,2)&&UO(a.g)&&(e=a.getCurrentTime(),a.g.lengthSeconds!=e&&(a.g.lengthSeconds=e,kU(a)),PU(a,!0));0<OP(c,2)&&a.dv();a.g.oa&&a.g.ya&&(0>OP(c,8)?(e=a.g.oa,e.A&&e.A.stop()):0<OP(c,8)&&a.g.oa.resume());0<OP(c,1)&&(a.kd=g.WD((0,g.A)(a.VU,a),5E3));if(a.C&&(e=a.C,!e.ka())){g.X(c.state,2)?(e.C="paused",0<OP(c,2)&&e.B&&fQ(e).send()):g.X(c.state,8)?(e.C="playing",e.B&&(0,window.isNaN)(e.D)&&cQ(e,!1)):e.C="paused";f=e.l;k=c.state;var l=g.lP(f.g),m=mma(f,c.state);if(m!=f.o){if(!(l<
f.A)){if("PL"==f.o)f.J+=l-f.A;else if("B"==f.o&&f.H){f.H=!1;var n=f.g.g.experiments.l("html5_disable_last_state_change")?f.A:f.Y;f.M+=l-n;!f.X&&10<=f.M&&180>=f.J&&(f.g.F(),f.l.qoealert=["1"],f.X=!0)}"B"!=m||"PL"!=f.o&&"PB"!=f.o||(f.H=!0);f.A=l}"B"==m&&"PL"==f.o||f.g.videoData.ph?TP(f,l):g.PP(f,l,"cmt",[f.g.l().toFixed(3)]);g.PP(f,l,"vps",[m]);f.o=m;f.Y=l;f.A=l}g.X(k,128)&&VP(f,l,k.g.errorCode,k.g.errorDetail);(g.X(k,2)||g.X(k,128))&&f.B(l);g.X(k,8)&&f.g.videoData.wp&&!f.F&&(f.l.user_intent=[g.lP(f.g).toString()],
f.F=!0);UP(f);e.A&&g.X(c.state,128)&&(e.Op("error-100"),g.YD(e.A))}if(d&&!a.ka())try{for(var q=g.p(a.Oc),r=q.next();!r.done;r=q.next()){var v=r.value,E=a.I;c=v;if(E.B&&!E.H&&(E.o(),g.X(c.g,16))){c=E;var H=OS(c.g,Math.max(c.A-2E3,0));!(0,window.isNaN)(H)&&0x7ffffffffffff>H&&c.D.start()}a.T("statechange",v)}}finally{a.Oc.length=0}}};
Eoa=function(a){g.X(a.o,2)||g.X(a.o,32)||(a.R=window.NaN)};
SU=function(a,b){lU(a,HP(a.o,1028,9));a.fc("dompaused",b);a.T("onDompaused")};
HU=function(a){if(!a.l||!a.g.Fa)return!1;var b=null;a.g.Fa.g?(b=MU(a),a.B.resume()):(jU(a),a.g.zf&&(b=a.g.zf.g()));var c=b;var d=a.l.l;b=!1;d&&null!=c&&c.g==d.g||(a.K.g("vta"),gO("vta"),a.D&&0<a.getCurrentTime()&&(b=a.getCurrentTime(),a.D.C=b),uP(a.l,c),a.J&&oG(4),!a.g.Ge&&g.JP(a.o)&&a.ia.start(),b=!0);!a.D||!AU(a,"html5_resume_if_ended_killswitch")&&g.X(a.o,2)||(c=a.D,c.F||!(0<c.C)||c.o&&0<c.o.getCurrentTime()||WT(c,c.C));a:if(g.LO(a.g)&&a.l)if((c=a.g.Xf)&&a.l.Fg()){if(a.H){if("fairplay"!=c.flavor||
xE())break a;hU(a)}d=a.l.la();a.H=new KT(d,c,a.A.experiments,a.fc,"widevine"==c.flavor&&!a.g.ya&&!a.g.Ws,a.g.drmSessionId);a.H.subscribe("newsession",a.jS,a);a.H.subscribe("licenseerror",a.zR,a);a.H.subscribe("qualitychange",a.CR,a);a.H.subscribe("heartbeatparams",a.XL,a);a.H.subscribe("keystatuseschange",a.YL,a);a.H.subscribe("hdproberequired",a.AR,a);c=a.H;a=a.g.oauthToken;c.M=a;c.T("oauthtoken",a)}else g.oU(a,"fmt.unplayable","YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK","drm.1");return b};
hU=function(a){a.H&&(a.H.dispose(),a.H=null)};
Aoa=function(a){return a.g.ya&&(GU(a)||a.isPeggedToLive()||g.TO(a.g))?a.getCurrentTime():KU(a)};
KU=function(a,b){b=void 0===b?!1:b;return a.A.experiments.g("html5_new_seeking")?a.D?a.D.ae(b):0:a.l?a.g.ya?xE()?bP(a.l.Ql().getTime()):a.g.Fa&&a.g.Fa.g&&a.F?b?a.g.ae():NQ(a.F):sP(a.l)||0:a.g.ae():0};
TU=function(a,b){a.Ma=b;a.l&&a.l.Se(b)};
GU=function(a,b,c){if(!a.g.ya||!a.F||!(a.Ed||void 0!==c&&c))return!1;void 0==b&&(b=a.getCurrentTime());return OQ(a.F,b)};
g.Foa=function(a,b){(a.Ed=b)||a.ia.stop();if(a.g.oa)if(b)a.g.oa.resume();else{var c=a.g.oa;c.A&&c.A.stop()}a.A.experiments.g("html5_suspend_loader")&&a.B&&(b?a.B.resume():WS(a.B,!0));a.A.experiments.g("html5_fludd_suspend")&&(g.X(a.o,2)||b?g.X(a.o,512)&&b&&lU(a,GP(a.o,512)):lU(a,FP(a.o,512)));a.C&&(c=a.C.l,g.PP(c,g.lP(c.g),"stream",[b?"A":"I"]))};
NU=function(a){a.l&&(a.J?(hU(a),jU(a),MU(a)):(a.g.zf&&a.g.zf.A(),a.l.oe()),IU(a))};
UU=function(a,b){a.A.experiments.g("html5_log_rebuffer_reason")&&a.fc("bufreason","r."+b+";lact."+g.tG())};
Goa=function(a,b){if(a.g.ph){var c=a.A.experiments.l("html5_log_rebuffer_events");if(c&&a.C&&a.l){var d=a.l.ck();d.rt=g.lP(a.C.g).toFixed(3);d.e=b.substr(0,3);a.Hf[a.Rh++%c]=fN(d)}}};
Doa=function(a){if(a.g.ph){for(var b=g.p(a.Hf),c=b.next();!c.done;c=b.next())a.fc("vpe",c.value);a.Hf=[];a.Rh=0}};
xU=function(a,b){a.fc("seekreason",b)};
AU=function(a,b){return a.A.experiments.g(b)};
VU=function(a,b){lQ.call(this,a,b);this.F=null};
g.WU=function(a){return a.app.A};
g.XU=function(a){a=g.WU(a).H;return!!a&&a.GA()};
YU=function(a){a=g.WU(a);var b=a.H;return b&&b.HA()?!0:g.SO(a.g.getVideoData(),"ypc_module")};
g.ZU=function(a,b){3==a.Ra()?a.T("mdxautoplaycancel"):a.T("autonavcancel",b)};
g.Y=function(a){return a.app.g};
g.cV=function(a){var b=a.app;a=a.playerType;return 3==g.$U(b)?g.aV(b.A).D:g.bV(b,a).o};
g.dV=function(a){return a.app.F};
eV=function(a){var b=g.aV(g.WU(a));return a.app.Y&&!a.isFullscreen()||3==a.Ra()&&b.hasNext()&&b.Sf()||!!a.cg()};
g.fV=function(a,b){var c=a.playerType;(c=g.bV(a.app,void 0===c?1:c))&&eU(c,b)};
g.gV=function(a){if(fF())if(a.isFullscreen())hF(a.getRootNode());else{a=a.getRootNode();var b=eF(["requestFullscreen","webkitRequestFullscreen","mozRequestFullScreen","msRequestFullscreen"],a);b&&b.call(a)}else a.va("onFullscreenToggled",a.isFullscreen())};
g.Hoa=function(a){var b={};a=moa(g.bV(a.app));a=g.p(a);for(var c=a.next();!c.done;c=a.next())c=c.value,b[c.quality]=c;return b};
g.hV=function(a){return(a=g.bV(a.app))?YI(Mna(a.M,a.g)):"unknown"};
g.iV=function(a){return(a=g.WU(a).o)?a.xM():{}};
g.jV=function(a,b,c,d){var e=g.bV(a.app);c.event=b;a.isFullscreen()&&(c.fs=1);c.ux=1;e.logEvent(c,d)};
g.kV=function(a){a=g.WU(a).A;return!!a&&a.Ol()};
g.lV=function(a){a=g.WU(a).A;return!!a&&a.EA()};
g.mV=function(a,b){var c=g.EH(a);if(c)return c.Mt(b);c=a.app.F.Na();return new g.$g(0,0,c.width,c.height)};
nV=function(a){a=g.WU(a).I;return!!a&&a.pM()};
g.pV=function(a,b,c){oV(a.app,b,c||a.playerType)};
g.rV=function(a,b,c){var d=a.app;a=c||a.playerType;if(c=g.bV(d,a))c.I.C.apply(c.I,b),a&&g.$U(d)!=a||qV(d,"cuerangesremoved",b)};
g.sV=function(a,b,c){var d=a.app;a=c||a.playerType;if(c=g.bV(d,a))b=cna(c.I,b),a&&g.$U(d)!=a||qV(d,"cuerangesremoved",b)};
g.tV=function(a,b,c){c=void 0===c?a.playerType:c;(a=g.bV(a.app,c))&&ioa(a,b)};
g.Ioa=function(a){a=a.getVideoData().Ka;return!!a&&!(!a.audio||!a.video)&&"application/x-mpegURL"!=a.mimeType};
g.Joa=function(a){a=a.getVideoData();return!!(a.adaptiveFormats||a.hlsFormats||a.Wd)};
g.uV=function(a,b,c){a=g.dV(a).element;var d=eb(a.children,function(a){a=(0,window.parseInt)(a.getAttribute("data-layer"),10);return c-a||1});
0>d&&(d=-(d+1));Hd(a,b,d);b.setAttribute("data-layer",c)};
g.vV=function(a){var b=g.Y(a);if(!b.Gd)return!1;var c=a.getVideoData();if(!c||3==a.Ra())return!1;var d=!c.isLiveDefaultBroadcast||b.experiments.g("allow_poltergust_autoplay");b=c.ya&&(!b.experiments.g("allow_live_autoplay")||!d);return!c.ypcPreview&&!b&&!g.Oa(c.jd,"ypc")&&!a.cg()};
xV=function(a,b,c,d){if(g.Y(a).X){a=a.app.fa;g.Oa(a.g,b);g.Ra(a.g,b);var e=String(a.F++);b.setAttribute("data-visual-id",e);g.wV(a,"onLogClientVeCreated",{id:e,ve_type:d});g.Ye(c,(0,g.A)(a.D,a,b))}};
g.yV=function(a,b){g.Y(a).X&&a.app.fa.click(b)};
g.zV=function(a,b,c){if(g.Y(a).X){a=a.app.fa;var d=b.getAttribute("data-visual-id");g.Oa(a.g,b);c?g.Ra(a.l,d):g.Ta(a.l,d);c&&!g.Oa(a.o,d)&&(g.wV(a,"onLogVesShown",{ids:[d]}),g.Ra(a.o,d))}};
Koa=function(){var a={};a.dt=yB;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);di(a);return a};
g.AV=function(a){g.HF.call(this);this.g=a;this.loaded=!1};
Loa=function(a,b){var c=g.QD("VALID_SESSION_TEMPDATA_DOMAINS",[]),d=g.Fg(window.location.href);d&&c.push(d);d=g.Fg(a);if(g.Oa(c,d)||!d&&g.kb(a,"/"))if(g.NF("autoescape_tempdata_url")&&(c=window.document.createElement("a"),g.Xc(c,a),a=c.href),a&&(c=g.Dg(a),c=g.Cg(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.KG();if(e){var e=(0,window.parseInt)(e,10);(0,window.isFinite)(e)&&0<e&&(c="ST-"+g.Ab(c).toString(36),d=b?g.Ng(b):"",g.xG(c,d,e||
5))}else e="ST-"+g.Ab(c).toString(36),c=b?g.Ng(b):"",g.xG(e,c,5)}};
g.BV=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.Pg(a,b)+c;a=a instanceof Ec?a:Jc(a);d.href=g.Fc(a)};
g.CV=function(a,b,c){b=void 0===b?{}:b;c=void 0===c?!1:c;var d=g.QD("EVENT_ID");d&&(b.ei||(b.ei=d));b&&Loa(a,b);if(c)return!1;(window.ytspf||{}).enabled?window.spf.navigate(a):g.BV(a);return!0};
g.DV=function(a,b,c){c&&Loa(a,c);c=g.Ic(a);c=g.Fc(c);a!=c&&TD(Error("Unsafe window.open URL: "+a));a=c;window.open(a,b||g.Ab(a).toString(36))};
EV=function(){g.M.call(this);var a=this;this.g=new window.Map;this.l=g.zF(window.document.body,"click",function(b){b.target&&(b=a.g.get(b.target))&&FE(b)},"ytp-ad-has-logging-urls")};
Noa=function(a){if(a.simpleText)return a=g.Dd(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(Moa(d))}return 1==b.length?b[0]:g.K("SPAN",null,b)};
Moa=function(a){var b=null,c=a.text;a.bold&&(b=g.K("B",null,b||c));a.italics&&(b=g.K("I",null,b||c));a.strikethrough&&(b=g.K("STRIKE",null,b||c));if(a.navigationEndpoint&&a.navigationEndpoint.urlEndpoint){var d=a.navigationEndpoint.urlEndpoint;b=g.K("A",null,b||c);g.Xc(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==FV&&(FV=new EV),FV.register(b,a),g.S(b,"ytp-ad-has-logging-urls")}return b||g.K("SPAN",null,
c)};
HV=function(a){g.M.call(this);var b=this;this.g=new GV(a);g.N(this,this.g);this.o=[];this.l=[];this.g.subscribe("externalClick",function(){return b.hide()});
this.g.subscribe("confirmClick",function(){return b.hide()})};
GV=function(a){g.HF.call(this);this.A=a;this.l=new g.W({G:"div",L:"ytp-ad-info-dialog-confirm-container",N:[{G:"button",L:"ytp-ad-info-dialog-confirm-button",aa:"{{content}}"}]});g.N(this,this.l);this.l.hide();this.o=new g.W({G:"div",L:"ytp-ad-info-dialog-title",aa:"{{content}}"});g.N(this,this.o);this.o.hide();this.g=new g.W({G:"div",L:"ytp-ad-info-dialog-relative-container",N:[{G:"div",L:"ytp-ad-info-dialog-form",N:[this.o,{G:"ul",L:"ytp-ad-info-dialog-ad-reasons"},{G:"div",L:"ytp-ad-info-dialog-message",
aa:"{{content}}"},this.l]}]});g.N(this,this.g);this.g.hide();this.W=new g.EF(this);g.N(this,this.W)};
Ooa=function(a){return a.g.g["ytp-ad-info-dialog-ad-reasons"]};
IV=function(a){return a?Noa(a):null};
Poa=function(a){if(!a.loggingUrls)return[];var b=[];a=g.p(a.loggingUrls);for(var c=a.next();!c.done;c=a.next())c=c.value,c.baseUrl&&b.push(c.baseUrl);return b};
JV=function(){g.HF.call(this);this.g=new window.Map};
Qoa=function(){null==KV&&(KV=new JV,em.getInstance().o="b",fm());return KV};
Roa=function(a){switch(a){case "fully_viewable_audible_half_duration_impression":return"g";case "measurable_impression":return"b";case "overlay_unmeasurable_impression":return"h";case "overlay_unviewable_impression":return"i";case "overlay_viewable_end_of_session_impression":return"j";case "overlay_viewable_immediate_impression":return"k";case "viewable_impression":return"o";default:return null}};
Soa=function(a){LV=a&&a.data};
Uoa=function(a){Toa=a&&a.data};
Voa=function(){LV=null};
g.Woa=function(){return g.MV?{G:"div",da:["ytp-icon","ytp-icon-cast-desktop-on"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},N:[{G:"path",Ua:!0,P:{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"}}]}};
Xoa=function(){return{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},N:[{G:"path",P:{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.NV=function(){return g.MV?{G:"div",da:["ytp-icon","ytp-icon-chevron-back"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 32 32",width:"100%"},N:[{G:"path",P:{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.OV=function(){return g.MV?{G:"div",da:["ytp-icon","ytp-icon-chevron-forward"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 32 32",width:"100%"},N:[{G:"path",P:{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"}}]}};
Yoa=function(){return g.MV?{G:"div",da:["ytp-icon","ytp-icon-clip-clear"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 14 14",width:"100%"},N:[{G:"path",P:{d:"M14,14 L14,0 L0,0 L0,14 L14,14 Z"}},{G:"path",P:{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"}}]}};
Zoa=function(){return g.MV?{G:"div",da:["ytp-icon","ytp-icon-clip-end"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 14 14",width:"100%"},N:[{G:"path",Ua:!0,P:{d:"M2,14 L5,11 L5,3 L2,0 L9,0 L9,14 L2,14 L2,14 Z",fill:"#eaeaea"}}]}};
$oa=function(){return g.MV?{G:"div",da:["ytp-icon","ytp-icon-clip-start"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 14 14",width:"100%"},N:[{G:"path",Ua:!0,P:{d:"M12,14 L9,11 L9,3 L12,0 L5,0 L5,14 L12,14 Z",fill:"#eaeaea"}}]}};
g.PV=function(){return g.MV?{G:"div",da:["ytp-icon","ytp-icon-close"]}:{G:"svg",P:{height:"100%",viewBox:"0 0 24 24",width:"100%"},N:[{G:"path",P:{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"}}]}};
apa=function(){return g.MV?{G:"div",da:["ytp-icon","ytp-icon-closed-captioning"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},N:[{G:"path",Ua:!0,P:{d:"M11,11 C9.89,11 9,11.9 9,13 L9,23 C9,24.1 9.89,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 M17,17 L15.5,17 L15.5,16.5 L13.5,16.5 L13.5,19.5 L15.5,19.5 L15.5,19 L17,19 L17,20 C17,20.55 16.55,21 16,21 L13,21 C12.45,21 12,20.55 12,20 L12,16 C12,15.45 12.45,15 13,15 L16,15 C16.55,15 17,15.45 17,16 L17,17 L17,17 Z M24,17 L22.5,17 L22.5,16.5 L20.5,16.5 L20.5,19.5 L22.5,19.5 L22.5,19 L24,19 L24,20 C24,20.55 23.55,21 23,21 L20,21 C19.45,21 19,20.55 19,20 L19,16 C19,15.45 19.45,15 20,15 L23,15 C23.55,15 24,15.45 24,16 L24,17 L24,17 Z",
fill:"#fff"}}]}};
bpa=function(){return g.MV?{G:"div",da:["ytp-icon","ytp-icon-forward-five-seconds"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},N:[{G:"path",Ua:!0,L:"ytp-svg-fill",P:{d:"m 10,19 c 0,4.4 3.6,8 8,8 4.4,0 8,-3.6 8,-8 h -2 c 0,3.3 -2.7,6 -6,6 -3.3,0 -6,-2.7 -6,-6 0,-3.3 2.7,-6 6,-6 v 4 l 5,-5 -5,-5 v 4 c -4.4,0 -8,3.6 -8,8 z m 6.7,.9 .2,-2.2 h 2.4 v .7 h -1.7 l -0.1,.9 c 0,0 .1,0 .1,-0.1 0,-0.1 .1,0 .1,-0.1 0,-0.1 .1,0 .2,0 h .2 c .2,0 .4,0 .5,.1 .1,.1 .3,.2 .4,.3 .1,.1 .2,.3 .3,.5 .1,.2 .1,.4 .1,.6 0,.2 0,.4 -0.1,.5 -0.1,.1 -0.1,.3 -0.3,.5 -0.2,.2 -0.3,.2 -0.5,.3 C 18.3,22 18.1,22 17.9,22 17.7,22 17.5,22 17.4,21.9 17.3,21.8 17.1,21.8 16.9,21.7 16.7,21.6 16.7,21.5 16.6,21.3 16.5,21.1 16.5,21 16.5,20.8 h .8 c 0,.2 .1,.3 .2,.4 .1,.1 .2,.1 .4,.1 .1,0 .2,0 .3,-0.1 L 18.4,21 c 0,0 .1,-0.2 .1,-0.3 v -0.6 l -0.1,-0.2 -0.2,-0.2 c 0,0 -0.2,-0.1 -0.3,-0.1 h -0.2 c 0,0 -0.1,0 -0.2,.1 -0.1,.1 -0.1,0 -0.1,.1 0,.1 -0.1,.1 -0.1,.1 h -0.6 z"}}]}};
cpa=function(){return g.MV?{G:"div",da:["ytp-icon","ytp-icon-link"]}:{G:"svg",P:{height:"100%",viewBox:"0 0 36 36",width:"100%"},N:[{G:"path",P:{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"}}]}};
QV=function(){return g.MV?{G:"div",da:["ytp-icon","ytp-icon-next"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},N:[{G:"path",Ua:!0,L:"ytp-svg-fill",P:{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.dpa=function(){return g.MV?{G:"div",da:["ytp-icon","ytp-icon-notifications-active"]}:{G:"svg",P:{fill:"#fff",height:"24px",viewBox:"0 0 24 24",width:"24px"},N:[{G:"path",P:{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"}}]}};
epa=function(){return g.MV?{G:"div",da:["ytp-icon","ytp-icon-pause"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},N:[{G:"path",Ua:!0,L:"ytp-svg-fill",P:{d:"M 12,26 16,26 16,10 12,10 z M 21,26 25,26 25,10 21,10 z"}}]}};
fpa=function(){return g.MV?{G:"div",da:["ytp-icon","ytp-icon-pip"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},N:[{G:"path",Ua:!0,P:{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"}}]}};
gpa=function(){return g.MV?{G:"div",da:["ytp-icon","ytp-icon-play"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},N:[{G:"path",Ua:!0,L:"ytp-svg-fill",P:{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"}}]}};
hpa=function(){return g.MV?{G:"div",da:["ytp-icon","ytp-icon-prev"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},N:[{G:"path",Ua:!0,L:"ytp-svg-fill",P:{d:"m 12,12 h 2 v 12 h -2 z m 3.5,6 8.5,6 V 12 z"}}]}};
g.RV=function(){return g.MV?{G:"div",da:["ytp-icon","ytp-icon-replay"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},N:[{G:"path",Ua:!0,L:"ytp-svg-fill",P:{d:"M 18,11 V 7 l -5,5 5,5 v -4 c 3.3,0 6,2.7 6,6 0,3.3 -2.7,6 -6,6 -3.3,0 -6,-2.7 -6,-6 h -2 c 0,4.4 3.6,8 8,8 4.4,0 8,-3.6 8,-8 0,-4.4 -3.6,-8 -8,-8 z"}}]}};
ipa=function(){return g.MV?{G:"div",da:["ytp-icon","ytp-icon-rewind-five-seconds"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},N:[{G:"path",Ua:!0,L:"ytp-svg-fill",P:{d:"M 18,11 V 7 l -5,5 5,5 v -4 c 3.3,0 6,2.7 6,6 0,3.3 -2.7,6 -6,6 -3.3,0 -6,-2.7 -6,-6 h -2 c 0,4.4 3.6,8 8,8 4.4,0 8,-3.6 8,-8 0,-4.4 -3.6,-8 -8,-8 z m -1.3,8.9 .2,-2.2 h 2.4 v .7 h -1.7 l -0.1,.9 c 0,0 .1,0 .1,-0.1 0,-0.1 .1,0 .1,-0.1 0,-0.1 .1,0 .2,0 h .2 c .2,0 .4,0 .5,.1 .1,.1 .3,.2 .4,.3 .1,.1 .2,.3 .3,.5 .1,.2 .1,.4 .1,.6 0,.2 0,.4 -0.1,.5 -0.1,.1 -0.1,.3 -0.3,.5 -0.2,.2 -0.3,.2 -0.4,.3 C 18.5,22 18.2,22 18,22 17.8,22 17.6,22 17.5,21.9 17.4,21.8 17.2,21.8 17,21.7 16.8,21.6 16.8,21.5 16.7,21.3 16.6,21.1 16.6,21 16.6,20.8 h .8 c 0,.2 .1,.3 .2,.4 .1,.1 .2,.1 .4,.1 .1,0 .2,0 .3,-0.1 L 18.5,21 c 0,0 .1,-0.2 .1,-0.3 v -0.6 l -0.1,-0.2 -0.2,-0.2 c 0,0 -0.2,-0.1 -0.3,-0.1 h -0.2 c 0,0 -0.1,0 -0.2,.1 -0.1,.1 -0.1,0 -0.1,.1 0,.1 -0.1,.1 -0.1,.1 h -0.7 z"}}]}};
g.jpa=function(){return g.MV?{G:"div",da:["ytp-icon","ytp-icon-settings"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},N:[{G:"path",Ua:!0,P:{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"}}]}};
kpa=function(){return g.MV?{G:"div",da:["ytp-icon","ytp-icon-stop"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},N:[{G:"path",Ua:!0,L:"ytp-svg-fill",P:{d:"M 12,25 19,25 19,11 12,11 z M 19,25 26,25 26,11 19,11 z"}}]}};
lpa=function(){return g.MV?{G:"div",da:["ytp-icon","ytp-icon-volume-high"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},N:[{G:"path",Ua:!0,P:{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"}}]}};
mpa=function(){return g.MV?{G:"div",da:["ytp-icon","ytp-icon-volume-low"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},N:[{G:"path",Ua:!0,P:{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"}}]}};
SV=function(){return g.MV?{G:"div",da:["ytp-icon","ytp-icon-volume-muted"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},N:[{G:"path",Ua:!0,L:"ytp-svg-fill",P:{d:"m 21.48,17.98 c 0,-1.77 -1.02,-3.29 -2.5,-4.03 v 2.21 l 2.45,2.45 c .03,-0.2 .05,-0.41 .05,-0.63 z m 2.5,0 c 0,.94 -0.2,1.82 -0.54,2.64 l 1.51,1.51 c .66,-1.24 1.03,-2.65 1.03,-4.15 0,-4.28 -2.99,-7.86 -7,-8.76 v 2.05 c 2.89,.86 5,3.54 5,6.71 z M 9.25,8.98 l -1.27,1.26 4.72,4.73 H 7.98 v 6 H 11.98 l 5,5 v -6.73 l 4.25,4.25 c -0.67,.52 -1.42,.93 -2.25,1.18 v 2.06 c 1.38,-0.31 2.63,-0.95 3.69,-1.81 l 2.04,2.05 1.27,-1.27 -9,-9 -7.72,-7.72 z m 7.72,.99 -2.09,2.08 2.09,2.09 V 9.98 z"}}]}};
g.TV=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.UV=function(a){return(!g.ua(a.button)||0==a.button)&&!a.shiftKey&&!a.altKey&&!a.metaKey&&!a.ctrlKey};
g.VV=function(a,b,c,d){g.M.call(this);this.l=a;c||a.hide();this.B=null==d?b:d;this.g=this.A=null;this.o=new g.Xt(this.jq,0,this);g.N(this,this.o)};
WV=function(a,b){var c=a.l.element;b?c.setAttribute("aria-hidden",!0):c.removeAttribute("aria-hidden")};
XV=function(a,b){this.l=a;this.g=b};
YV=function(a,b){return a.l+b*a.getLength()};
ZV=function(a,b,c){if(!a.getLength())return null!=c?c:window.Infinity;a=(b-a.l)/a.getLength();return g.ad(a,0,1)};
$V=function(a,b){g.rH.call(this,{G:"div",L:"ytp-ad-persistent-progress-bar-container",N:[{G:"div",L:"ytp-ad-persistent-progress-bar"}]});this.B=a;this.A=b;g.N(this,this.A);this.F=this.g["ytp-ad-persistent-progress-bar"];this.o=-1;this.O(a,"presentingplayerstatechange",this.D);this.hide();this.D()};
aW=function(){g.W.call(this,{G:"div",L:"ad-carousel",N:[{G:"div",L:"ad-carousel-clip",N:[{G:"ul",da:["ad-carousel-list","ad-carousel-list-animation"]}]}]});var a=this.g["ad-carousel"];this.B=new g.W({G:"button",da:["ad-carousel-nav-button","ad-carousel-nav-prev"],P:{type:"button",onclick:"return false;"},N:[{G:"span",da:["ad-carousel-prev-icon","yt-uix-tooltip","yt-sprite"],P:{"data-tooltip-text":"Prev",title:"Prev"}}]});g.N(this,this.B);this.B.U("click",this.F,this);this.B.ua(a);this.A=new g.W({G:"button",
da:["ad-carousel-nav-button","ad-carousel-nav-next"],P:{type:"button",onclick:"return false;"},N:[{G:"span",da:["ad-carousel-next-icon","yt-uix-tooltip","yt-sprite"],P:{"data-tooltip-text":"Next",title:"Next"}}]});g.N(this,this.A);this.A.U("click",this.D,this);this.A.ua(a);this.C=this.g["ad-carousel-list"];this.o=0;this.La=[]};
npa=function(a,b){a.clear();for(var c=g.p(b),d=c.next();!d.done;d=c.next()){var e=a;d=d.value.element;var f=new g.W({G:"li",L:"ad-carousel-listitem",N:[{G:"div",L:"ad-carousel-item"}]});f.g["ad-carousel-item"].appendChild(d);e.La.push(f);e.C.appendChild(f.element)}};
cW=function(a){a.C&&g.nh(a.C,"left",(2>a.La.length?0:-a.o*a.La[1].element.clientWidth)+"px");g.qH(a.B,0<a.o);g.qH(a.A,a.o<a.La.length-bW(a))};
bW=function(a){return 2>a.La.length?1:Math.round((a.element.clientWidth-a.La[0].element.clientWidth)/a.La[1].element.clientWidth)+1};
dW=function(a){g.HF.call(this);this.l=a;this.g=new g.EF(this);g.N(this,this.g);this.A=opa;this.o=null;this.g.O(this.l,"presentingplayerstatechange",this.B);this.o=this.g.O(this.l,"progresssync",this.C)};
fW=function(a,b){this.g=a;this.l=g.ua(b)?b:null;if(g.Oa(eW,this.g)){if(!g.ua(this.l)||0>this.l)throw Error("Must have valid offset");}else if(null!==this.l)throw Error("Must not have offset");};
gW=function(a){var b=a.l;if(null!==b)return b;switch(a.g){case 1:return 0;case 3:return-1;default:return-100}};
ppa=function(a,b){var c=a.g,d=b.g;if(c!=d){if(1==c||3==d)return-1;if(1==d||3==c)return 1}var e=a.l,f=b.l;return e!=f?null===e?1:null===f?-1:e-f:c-d};
hW=function(a){return a?-1!=a.toString().search(/(?:true|1)/i):!1};
qpa=function(a,b){if(a){var c="getErrorCode"in a?a.Pb():null;c?b.error_code=c:(c="getMessage"in a&&g.Aa(a.getMessage)?a.Kd():a.message,c=sb(c||"",50),b.error_message=c)}};
iW=function(a,b){if(a){var c=Is(a).reverse();b.ad_id=g.Va(c,Gs(a)).join(",");c=Ks(a).reverse();b.ad_sys=g.Va(c,ws(a)).join(",");c=Hq(a);null!=c&&(b.aqi=c)}};
jW=function(a,b){if(a[b])return hW(a[b]);var c=b.toLowerCase(),d;for(d in a)if(d&&d.toLowerCase()==c)return hW(a[d]);return!1};
rpa=function(a,b,c){var d=new to;d.ij=b.baseYtUrl;d.contentId=c.videoId;d.Fv=!JM(b);d.Jv=!0;d.NE=!0;d.OE=a.K;d.showContentThumbnail=a.showContentThumbnail;d.ri={};c.jg&&(d.ri.ctrl=c.jg);c.Af&&(d.ri.ytr=c.Af);c.Dn&&(d.ri.ytrcc=c.Dn);c.isMdxPlayback&&(d.ri.mdx="1");b.experiments.g("add_vvt_to_adunit_get_video_info")&&c.af&&(d.ri.vvt=c.af);a.l?(d.Sq=!0,d.iy=!0,d.showContentThumbnail=!1,d.Dv=!0,d.Gv=!0,d.Jv=!1):a.B&&(d.Sq=!0);a.l&&DM&&(d.yz=!1);d.xz=a.I;return d};
ypa=function(a){var b=new KA,c=a.app.F.Na();b.Mj=c.width;b.Lj=c.height;b.pf=c.width;b.nf=100;b.oy=WM(kW(a));c=new fn;c.g=(0,g.A)(kW(a).experiments.g,kW(a).experiments);c.l=(0,g.A)(kW(a).experiments.l,kW(a).experiments);c.o=(0,g.A)(kW(a).experiments.o,kW(a).experiments);b.Aq=c;if(c=b.oy?xla(kW(a)):-1)b.C=c;a.l.tagForChildDirected&&(b.Yp=!0);c=lW(a);b.kc={CA_TYPE:"image",CONTENT_V:c.videoId,CPN:c.clientPlaybackNonce,EID:c.eventId,LACT:spa(a),VIS:tpa(a)};c.oauthToken&&hE()&&(b.D=dc({Authorization:"Bearer "+
c.oauthToken}));c=mW(a);null!=c&&(b.kc.P_H=c.height,b.kc.P_W=c.width);g.Ib(Koa(),function(a,c){b.kc[c.toUpperCase()]=a});
WM(kW(a))||(b.kc.LACT="-1");b.language=kW(a).xa;var d=upa(a,"a_bid_s","a_bid_f"),e=0;b.tn=function(){var b=vpa();d(b);wpa(b,kW(a).experiments);e++;return b};
var f=upa(a,"a_mid_s","a_mid_f");b.jn=function(){var a=xpa();f(a);return a};
return b};
upa=function(a,b,c){var d=!0;return function(e){if(d){a.te(b);if(Uf(e)){var f=(0,g.A)(a.te,a,c);e.then(f,f)}else a.te(c);d=!1}}};
vpa=function(){var a=null;WE().then(function(b){a=b},function(b){a=b.isTimeout?"NO_BID":"ERR_BID"});
if(null!=a)return a;var b=tg(1E3,"NO_BID"),c=g.ig(dg([WE(),b]),function(){return"ERR_BID"});
gg(g.ig(c,g.z),function(){b.cancel()});
return c};
xpa=function(){var a=null;YE().then(function(b){a=b},function(){a="NO_ADS_ID"});
if(a)return a;var b=tg(1E3,"NO_ADS_ID"),c=g.ig(dg([YE(),b]),function(){return"NO_ADS_ID"});
gg(g.ig(c,g.z),function(){b.cancel()});
return c};
wpa=function(a,b){function c(){}
b.g("html5_serverside_get_biscotti_id_from_client")&&Uf(a)&&a.then(null,c)};
spa=function(a){return{toString:function(){if(null==a||a.ka())return a=null;kW(a);return g.tG().toString()}}};
tpa=function(a){return{toString:function(){return null==a||a.ka()?a=null:a.g.Ii().toString()}}};
zpa=function(a){return{toString:function(){if(null==a||a.ka())return a=null;var b=a.Yd?a.Yd.g:null;return null==b||0>b?"0":Math.ceil(.001*(0,g.G)()-b).toString()}}};
nW=function(a,b,c,d){this.l=this.A="";this.o=a;this.D=b;this.g=c;this.C=d};
oW=function(a){var b={};b.l_ns=a.D;b.l_state=a.C;b.break_type=a.o.g;b.sst=gW(a.o);b.sidx=0;a.A&&(b.at=a.A);a.l&&(b.ad_id=a.l);return b};
pW=function(){g.M.call(this);this.l=new g.Xt((0,g.A)(this.C,this),1E3);g.N(this,this.l);this.A=this.o=0;this.g=eba();this.B=!1};
Apa=function(){var a=g.y("yt.www.watch.ads.loadAfc");g.Aa(a)?(a(),qW=!0):rW=!0};
Bpa=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"};
Cpa=function(){var a=g.y("window.google_show_companion_ad");var b=g.y("yt.www.watch.ads.getGlobals");g.Aa(a)&&g.Aa(b)?(b=b(),b=!(!b||!b.length)):b=!1;b?a():sW=!0};
Epa=function(a){if(P.o){if(!a)return ag();tW(a,{afvMpu:{}});return $f()}a=a&&kW(a).experiments;Cpa();uW();return Dpa(a)};
Dpa=function(a){vW||(vW=new pW(a));a=vW;a.B||(a.l.start(),a.B=!0);return a.g.g};
uW=function(){vW&&(vW.dispose(),vW=null)};
wW=function(){var a=g.y("yt.www.watch.ads.setCompanion");a&&a()};
Fpa=function(a){var b=g.y("yt.www.watch.ads.showForcedMpu");b&&b(a)};
xW=function(a,b,c,d){g.HF.call(this);this.g=a;this.l=d;this.videoData=null;this.adType=c;this.adSystem=b};
Gpa=function(a,b,c){this.g=a;this.l=b;this.o=c||0};
Kpa=function(a){var b=[];(0,g.C)(a.split("_"),function(a,b){this[b]=Cb(a)},b);
return new Gpa(g.Sb(Hpa,b[0])?b[0]:0,g.Sb(Ipa,b[1])?b[1]:0,g.Sb(Jpa,b[2])?b[2]:0)};
Lpa=function(){this.clickThroughUrl="";this.isSkippable=this.isBumper=!1;this.skipShown=this.skip=g.z;this.skipTime=0;this.videoUrl=this.videoId="";this.adSystem=0;this.muteAdInfo=this.whyThisAdInfo=null;this.whyThisAdClosed=this.whyThisAdClicked=this.muteAd=this.sendAdsPing=g.z};
yW=function(a){g.M.call(this);var b=g.Cd("div");b.className="video-ad-label";b.textContent=g.V("YTP_ADVERTISEMENT");var c=g.Cd("div");c.className="video-ad-status-bar";c.appendChild(b);b=g.Cd("div");b.className="ad-container";var d=g.Cd("div");d.className="video-ads";d.appendChild(c);d.appendChild(b);this.element=d;this.o=a;this.l=this.g=null};
zW=function(a){if(!a.g){var b=g.Y(a.o);a.g=g.J("ad-container",a.element);b.Fd&&(EM&&JM(b)||g.S(a.g,"ad-container-single-media-element-annotations"))}return a.g};
Mpa=function(a){if(!a.l){var b=g.Cd("div");g.kq(b,["video-click-tracking","ad-video"]);zW(a).appendChild(b);a.l=b}return a.l};
g.AW=function(){var a=g.QD("PLAYER_CONFIG");return a&&a.args&&void 0!==a.args.authuser?!0:!(!g.QD("SESSION_INDEX")&&!g.QD("LOGGED_IN"))};
Npa=function(a){if(!a){g.RD(Error("WhyThisAdExtension is absent"),"WARNING");a=g.V("YTP_AD_SETTING_TEXT").split("$AD_SETTING_LINK_TEXT");a.splice(1,0,g.V("YTP_AD_SETTING_LINK_TEXT"));var b=g.AW()?[g.V("YTP_WHY_THIS_AD_REASON_VIDEO_WATCHED"),g.V("YTP_WHY_THIS_AD_REASON_SIGNED_IN_ACTIVITY")]:[g.V("YTP_WHY_THIS_AD_REASON_VIDEO_WATCHED"),g.V("YTP_WHY_THIS_AD_REASON_DEVICE_ACTIVITY")];a=new Dt(g.V("YTP_AD_SETTINGS_TOOLTIP"),g.V("YTP_CLOSE_AD_INFO_DIALOG"),g.V("YTP_WHY_THIS_AD_REASON_HEADER"),b,void 0,
a)}b={button:{buttonRenderer:{style:"STYLE_DEFAULT",size:"SIZE_DEFAULT",icon:{iconType:"INFO_OUTLINE"},navigationEndpoint:{adInfoDialogEndpoint:{}}}},hoverText:BW(a.l)};CW(b.button.buttonRenderer.navigationEndpoint.adInfoDialogEndpoint,a);return b};
CW=function(a,b){var c={title:BW(b.B),adReasons:b.C.map(function(a){return BW(a)})},d=b.o;
if(d&&3==d.length){var e=BW(d[0]);DW(e,d[1],"https://www.google.com/settings/ads");DW(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.A)c.confirmLabel=BW(e),e=hq(b,"why_this_ad_got_it"),e.length&&(c.confirmServiceEndpoint=EW(e));
if(e=Opa(b,"why_this_ad_url"))c.impressionEndpoints=[e];if(e=Opa(b,"why_this_ad_got_it"))c.confirmServiceEndpoint=e;a.dialog={adInfoDialogRenderer:c}};
Qpa=function(a){a=qr(a);var b=rr(a),c=[],d={TRIGGER_TYPE:"YOUTUBE_SHELF_SHOW"};(0,g.C)(Jga(b),function(a){7==a.Ub()&&c.push(g.Tm(Mr(a,"base_url"),d))});
return{plaShelfItemRenderer:{headline:BW(a.od()),merchant:BW(tr(b)),image:{thumbnails:[{url:ur(a).getImageUrl()}]},priceText:BW(vr(b)),reviewText:BW(Mr(b,"review_text")),rating:zv(b,"rating",0),clickthroughEndpoint:Ppa(xr(Tv(b))),impressionEndpoints:[EW(c)]}}};
BW=function(a){var b={};DW(b,a,void 0);return b};
DW=function(a,b,c){a.runs||(a.runs=[]);b={text:b};c&&(b.navigationEndpoint=Ppa(c));a.runs.push(b)};
Ppa=function(a){return{urlEndpoint:{url:a,target:"TARGET_NEW_WINDOW"}}};
EW=function(a){return{loggingUrls:a.map(function(a){return{baseUrl:a}}),
pingingEndpoint:{hack:!0}}};
Opa=function(a,b){var c=hq(a,b);return c.length?EW(c):null};
Rpa=function(a){this.g=a};
Spa=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};
FW=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}};
Tpa=function(a,b){this.B=null;this.o=window.NaN;this.l=null;this.g=a;this.A=b};
GW=function(a,b,c){a.g.T("AD_LOGGING_EVENT",b,c)};
Upa=function(a,b,c){HW(a);var d=IW(a);c&&g.Fa(d,c);d.ad_error=b;GW(a,7,d)};
IW=function(a){var b={},c=a.g.videoData,d=a.g.Zn(),e=a.g.Lm();iW(a.g.xb(),b);d&&0<d&&(b.ad_len=d);b.ad_v="0";c&&c.videoId?b.ad_v=c.videoId:e&&(c=g.Fg(e),b.ad_dom=c,(c=a.A.l)&&c.B&&(b.ad_v_url=e.substr(0,512)));e=a.g;(e=e.l?e.l.He():null)&&(b.ad_cpn=e);b.format=a.g.Ff();b.at=a.g.li();b.ad_mt=Math.round(1E3*Math.max(Vpa(a.g),0));return b};
HW=function(a){a.B||(a.B="InstreamAdDisplay ("+a.g.Ff()+")")};
JW=function(a,b){g.M.call(this);this.A=Math.max(0,a);this.o=this.l=0;this.B=b;this.g=window.NaN};
LW=function(a,b,c,d,e,f,k,l){xW.call(this,b,a,2,c);this.I=!1;this.C=this.M=this.J=null;this.g.subscribe("control_toggle_play_pause",this.qF,this);this.g.subscribe("control_play",this.Ru,this);this.g.subscribe("control_pause",this.Qu,this);this.A=new Tpa(this,this.g);this.W=new g.BF(this);this.o=KW(b.g.app,2);this.o.subscribe("statechange",this.oF,this);this.o.subscribe("internalAbandon",this.SB,this);this.o.subscribe("internalvideodatachange",this.pF,this);this.B=this.D=!1;this.R=d;this.Z=e;this.K=
!!f;this.X=!!k;this.H=l;a=kW(this.g).experiments;this.F=new JW(a.g("use_variable_buffer_timeout")?a.l("variable_buffer_timeout_ms"):15E3,(0,g.A)(this.abort,this));this.Y=b.l.K&&"3"==kW(b).A};
NW=function(a,b){if(!a.ka()&&a.Y){var c=a.g.app.F;JM(c.app.g);c.F=!b;MW(c)}};
PW=function(a){YN("ad_to_video",["pbresume"]);a.H&&(0,g.pQ)("yt_abt",a.H,"ad_to_video");a.videoData&&a.videoData.clientPlaybackNonce&&(0,g.pQ)("ad_cpn",a.videoData.clientPlaybackNonce,"ad_to_video");a.videoData&&a.videoData.videoId&&(0,g.pQ)("ad_docid",a.videoData.videoId,"ad_to_video");(0,g.oQ)("adc",void 0,"ad_to_video");g.CU(KW(a.g.g.app,2));OW(a.g,0);Wpa(a.g,0);a.T("adEnd",a);NW(a,!0)};
QW=function(a,b){kW(a.g).experiments.g("html5_ad_error_releases")?g.CU(a.o):eU(a.o);OW(a.g,0);a.T("adError",b)};
Vpa=function(a){return a.o?a.o.getCurrentTime():0};
Xpa=function(a){a=a.xb();return a?(a=Bs(a))?{menuTitle:a.l,closeButton:a.A,targetingReasonHeader:a.B,targetingReasons:g.Wa(a.C),adSettingsLink:g.Wa(a.o),controlText:a.F,continueButton:a.D,cancelButton:a.I}:null:null};
Ypa=function(a){a=a.xb();if(!a)return null;a=Cs(a);if(!a)return null;for(var b=Ct(a),c=[],d=0;d<b;d++)c.push({label:a.l[d].label,url:a.l[d].url});return{goneText:a.o,questionText:a.B,undoText:a.C,hoverText:a.A,surveyOptions:c}};
Zpa=function(a,b){this.g=a;this.B=b;this.g.Ff();this.l=this.A=0;this.o=null};
RW=function(a,b,c){a.g.T("AD_LOGGING_EVENT",b,c)};
SW=function(a){var b={};iW(a.g.xb(),b);a.A&&a.l&&(b.ot=a.l-a.A);var c=a.B.isFullscreen()?2:a.B.isWidescreen()?1:0;b.ad_ps=c;b.format=a.g.Ff();b.at=a.g.li();return b};
TW=function(a,b,c,d){xW.call(this,b,a,1,c);this.o=null;this.D=this.B=!1;this.H=null;this.A=new Zpa(this,b);this.W=new g.BF(this);this.F=!!d;this.C=!1};
UW=function(a,b){var c=a.g.getRootNode();g.U(c,"ytp-ad-overlay-open",b);g.U(c,"ytp-ad-overlay-closed",!b)};
VW=function(a,b,c,d){g.M.call(this);this.H=null;this.F=a;this.l=b.Sb;this.B=b;this.I=b.getId();this.g=c;this.C=d;this.o=new nW(this.l,this.F,c,d);this.fb=null;this.K=new g.Km(this);this.A=new g.Km(this);this.J=/^(http(s)?:\/\/)(.*.)?youtube.com\/.*$/};
WW=function(a,b){a.H=b;var c=b.Ff();a.o.A=c};
XW=function(a,b){var c=g.y("yt.www.watch.ads.setAdId");c&&c(b);a.o.l=b};
$pa=function(a){Epa(a.g).then(function(){this.o.B()},g.z,a)};
aqa=function(a){this.g=a};
YW=function(a){xW.call(this,a,2,3,null)};
ZW=function(a,b,c){VW.call(this,2,a,b,c);this.D=new aqa(this.g.l);Bpa()};
bqa=function(a,b){this.g=a?a:"";this.Eb=b};
$W=function(a,b,c,d){TW.call(this,1,a,b,d);this.I=c};
aX=function(a,b,c){VW.call(this,1,a,b,c);this.D=new bqa(this.g.l.adTag,this.I,kW(this.g).experiments)};
bX=function(a,b){var c=b.l;this.D=c.forceAdUrl;var d=0;c=c.forceAdType.toUpperCase();"INVIDEO"==c?d=4:"INSTREAM"==c?d=1:"MPU"==c&&(d=8);VW.call(this,2,a,b,d)};
cqa=function(){cX||(cX=g.Aa(g.y("yt.www.watch.ads.promotionShelfShow"))?$f():new g.Wf(function(a){g.VF("watchAdsInit",a)}));
return cX};
dqa=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)};
hqa=function(a){var b=qr(a),c=rr(b),d=["iv-btp-small-card"];d.push("yt-uix-hovercard-target");g.rH.call(this,{G:"div",L:"iv-btp-card",N:[{G:"a",L:"iv-btp-card-content",P:{href:xr(Tv(c)),target:"_blank"},N:[{G:"div",N:[{G:"div",da:d,P:{"data-position":"bottomright","data-orientation":"vertical"},N:[{G:"div",da:["iv-btp-card-image","yt-uix-hovercard-anchor"],N:[{G:"span"},{G:"div",L:"iv-btp-card-image-aligned",N:[{G:"img",P:{src:ur(b).getImageUrl()}}]}]},{G:"div",L:"iv-btp-card-info",N:[{G:"span",L:"iv-btp-card-action",
aa:vr(c)},dX(a)]},eqa(a)]},{G:"div",L:"iv-btp-large-card",N:[{G:"div",L:"iv-btp-card-image",N:[{G:"span"},{G:"div",L:"iv-btp-card-image-aligned",N:[{G:"img",P:{src:ur(b).getImageUrl()}}]}]},{G:"div",L:"iv-btp-card-info",N:[{G:"div",L:"iv-btp-card-text-box",N:[{G:"div",L:"iv-btp-card-text-valign",N:[{G:"div",da:["yt-ui-ellipsis","yt-ui-ellipsis-4","iv-btp-card-headline"],aa:b.od()}]}]},{G:"span",L:"iv-btp-card-action",aa:vr(c)},dX(a),fqa(a)]}]},gqa(a)]}]}]})};
fqa=function(a){a=rr(qr(a));return.01>zv(a,"rating",0)?{G:"div"}:{G:"div",L:"iv-btp-card-review",N:[{G:"div",L:"iv-btp-card-rating",N:[{G:"span",L:"iv-btp-card-rating-bg",N:[{G:"span",L:"iv-btp-card-rating-fg",P:{style:"width: "+Math.floor(100*zv(a,"rating",0)/5)+"%;"}}]}]},{G:"span",L:"iv-btp-card-reviews",aa:Mr(a,"review_text")}]}};
eqa=function(a){var b=qr(a),c=rr(b);return{G:"div",da:["yt-uix-hovercard-content","iv-btp-hovercard"],N:[{G:"div",L:"iv-btp-hovercard-text-box",N:[{G:"a",P:{href:xr(Tv(c)),target:"_blank"},N:[{G:"div",da:["yt-ui-ellipsis","yt-ui-ellipsis-4","iv-btp-hovercard-headline"],aa:b.od()}]},{G:"div",L:"iv-btp-hovercard-info",N:[{G:"span",L:"iv-btp-hovercard-action",aa:vr(c)},dX(a)]},fqa(a)]}]}};
dX=function(a){return{G:"div",L:"iv-btp-card-merchant",N:[{G:"span",L:"iv-btp-card-merchant-text",aa:tr(rr(qr(a)))}]}};
gqa=function(a){var b=[];a=rr(qr(a));for(var c={TRIGGER_TYPE:"YOUTUBE_SHELF_SHOW"},d=0;d<Ev(a,"event");d++){var e=new Dv(Bv(a,"event",d));7==e.Ub()&&(e=g.Tm(Mr(e,"base_url"),c),b.push({G:"img",P:{src:e}}))}return{G:"div",L:"iv-btp-impressions",N:b}};
eX=function(){g.rH.call(this,{G:"div",L:"iv-btp-companion",N:[{G:"div",L:"iv-btp-block-clicks"},{G:"div",L:"iv-btp-attribution",N:[{G:"span",L:"iv-btp-title",aa:"{{title}}"},{G:"div",L:"ad-info-container",N:[{G:"span",L:"iv-btp-sponsored",aa:g.V("YTP_SPONSORED")},{G:"button",L:"ad-info-icon"}]}]}]});var a=this.g["iv-btp-companion"];this.A=new aW;this.A.ua(a);this.C=new g.EF(this);g.N(this,this.C);this.H=new g.Xt(this.yv,200,this);g.N(this,this.H);this.F=this.g["iv-btp-block-clicks"];this.B=new g.Xt(g.Ea(function(a){g.O(a,
!1)},this.F),1E3);
g.N(this,this.B);this.o=null;this.D=iqa();this.C.O(window,"resize",this.KJ);this.C.O(this.g["ad-info-icon"],"click",this.MP)};
jqa=function(a,b){a.clear();g.O(a.F,!0);var c=(0,g.I)(b,g.Ea(function(a){return new hqa(a)}));
a.updateValue("title",0<b.length?Mr(b[0],"teaser_text"):"");npa(a.A,c);a.yv()};
iqa=function(){return{dialogMessage:{runs:[{text:g.V("YTP_SPONSORED_PRODUCT_INFO")}]}}};
fX=function(a,b){xW.call(this,a,14,14,b);this.o=new eX;g.N(this,this.o)};
kqa=function(a){return(0,g.Jd)(a.l.xb().B,function(a){return Av(a.Ke(),"show_in_promotion_shelf")})};
gX=function(a,b,c){VW.call(this,14,a,b,c)};
hX=function(a,b,c){VW.call(this,14,a,b,c)};
lqa=function(a,b,c,d,e){this.A=a;this.l=b;this.g=c;this.D=kW(this.A);this.B=d;this.C=lW(this.A).lengthSeconds;this.F=e;this.o="html5";g.KM(this.D)?this.o="html5_embed":EM||DM?this.o="html5_ios":sE("android")?this.o="html5_android":CE()?this.o="html5_wp":yE()?this.o="html5_ps3":g.cN(this.D)?(a=(g.Qb(window,"environment","brand")||"").toLowerCase(),b=(g.Qb(window,"environment","model")||"").toLowerCase(),this.o="roku"==a||"bskyb"==a?"roku":"wiiu"==b?"wii":"html5_tv_leanback"):BE()?this.o="html5_wii":
this.o="html5_desktop"};
mqa=function(a){return iX(a.l)?"preroll":jX(a.l)?"postroll":"midroll"};
nqa=function(a){return(a=a.A.o)?(0,g.zj)(a.Bb,function(a){return kX(a)||jX(a)}):!1};
lX=function(a,b){TW.call(this,4,a,b)};
mX=function(a,b,c){VW.call(this,4,a,b,c);var d=this.g.l;this.D=g.F(d.Ca);var e=lW(this.g)&&lW(this.g).spacecastModule;this.M=new lqa(b,a,d,c,!!e)};
nX=function(a,b){this.l=a;this.g=b};
oqa=function(a){return 0<(a.g&3)};
oX=function(a,b,c,d,e){g.HF.call(this);this.D=!0;this.l=!1;this.isVisible=!0;this.A="unloaded";this.F=!1;this.Ea=b;this.o=a;this.Sb=c;this.C=d;this.B=this.g=null;this.H=!!e};
qX=function(a){return iX(a)?a.Kb()&&pX(a)?-0x8000000000000:0:g.ua(a.Sb.l)?1E3*gW(a.Sb):0x8000000000000};
pqa=function(a){var b=!kW(a.o).experiments.g("disable_fetching_previous_nonadjacent_midrolls");return iX(a)||b&&a.o.g&&1E3*a.o.g.getCurrentTime()>=qX(a)?!1:(0,g.cm)(a.C,function(a){switch(a.Ub()){case 1:case 2:case 5:return!0;default:return!1}})};
iX=function(a){return 1==a.Sb.g};
pX=function(a){if(!a.Kb())throw Error("Preroll status is undefined before ad load.");return iX(a)&&a.l};
kX=function(a){return 2==a.Sb.g};
jX=function(a){return 3==a.Sb.g};
vX=function(a){a.A="loading";iX(a)&&!(0,g.zj)(a.C,oqa)&&rX(a.o);if(a.H)a.A="loaded",a.l=!0,sX(a);else{var b=a.C.shift();b?(iX(a)&&a.o.te("nl"),b=b.create(a,a.o),g.N(a,b),b.load()):a.o.l&&a.o.l.D&&5!=a.Sb.g?qqa(a,new YW(a.o),a.Sb):(tX(a.o,2,uX(a,{})),rqa(a,!1),a.A="error",sX(a))}};
wX=function(a){a.g&&(a.g.unsubscribe("adEnd",a.WB,a),a.g.unsubscribe("adError",a.gF,a),a.g.unsubscribe("AD_LOGGING_EVENT",a.iF,a),a.g.unsubscribe("select",a.fF,a),a.g.unsubscribe("adCompanionInitialized",a.hF,a))};
qqa=function(a,b,c){a.g=b;a.Sb=c;g.N(a,a.g);0==a.Ea&&(b=a.g.li(),a.o.X.at=b);a.g instanceof LW?a.l=!0:a.g instanceof YW?a.isVisible=!1:a.g instanceof lX?a.isVisible=!1:a.g instanceof $W&&(a.isVisible=!1);a.A="loaded";sX(a)};
sX=function(a){a.T("adBreakComplete",a)};
rqa=function(a,b){a.B&&(a.B.Ak({FILLED_OPPORTUNITY:b?1:0}),a.B.dispose(),a.B=null)};
uX=function(a,b){b.break_type=a.Sb.g;b.sst=gW(a.Sb);b.sidx=0;return b};
sqa=function(a){var b=0;a.R&&(b|=1);a.M&&(b|=2);var c=0;a.H&&a.J&&(c=4);a=new g.om;a.set(3,b);a.set(4,c);return a};
tqa=function(a,b){var c=[];if(a.Z)return c.push("pla"==(a.forceAdType||"").toLowerCase()?new nX(8,16):new nX(4,0)),c;if(a.independentBreakOffsets&&5==b)return a.fa&&c.push(new nX(7,16)),c;if(a.ba){var d=0;if(a.o||a.C)d|=1;a.ea&&(d|=4);a.D&&(d|=8);c.push(new nX(5,d))}a.Y&&(d=0,a.o&&(d|=1),a.C&&(d|=2),a.ea&&a.H&&(d|=4),a.D&&a.H&&(d|=8),d&&c.push(new nX(2,d)));d=sqa(a);var e=d.get(3);e&&c.push(new nX(1,e));!a.independentBreakOffsets&&a.fa&&c.push(new nX(7,16));(d=d.get(4))&&c.push(new nX(1,d));return c};
uqa=function(a){this.g=a};
wqa=function(a){var b=[];(0,g.C)(vqa(a),function(a,d){var c=this.g;var f=tqa(this.g.l,a.g);c=new oX(c,d,a,f);b.push(c)},a);
return b};
vqa=function(a){var b=a.g.l;a=[];if(b.ia)for(var c=b.ia.split(","),d=0;d<c.length;d++){var e=Cb(c[d]);e=0>e?new fW(3):0<e?new fW(2,e):new fW(1);a.push(e)}else a=xqa;if(b.independentBreakOffsets)for(b=b.independentBreakOffsets.split(","),d=0;d<b.length;d++)a.push(new fW(5,Cb(b[d])));g.fb(a,ppa);return a};
Aqa=function(a,b){this.F=a;this.l=this.F.o;this.B=g.cN(this.F);this.A=this.l||this.B;this.K=!this.B&&(!JM(a)||this.F.experiments.g("mweb_enable_video_ad_ui_on_fullscreen_only_devices"));this.o=hW(b.instream);this.isLiveStream=1==b.livestream;this.C=hW(b.trueview);this.X=hW(b.aftv);this.ia=b.ad_slots;this.independentBreakOffsets=b.independent_break_offsets;this.adFlags=b.ad_flags||0;this.xa=b.cafe_experiment_id;this.adTag=b.ad_tag;this.Ta=!!b.adtest;this.afvAdTag=b.afv_ad_tag;this.afvInvideoAdTag=
b.afv_invideo_ad_tag;this.sa=(0,window.parseInt)(b.ad_age,10);this.applyFadeOnMidrolls=!!b.apply_fade_on_midrolls&&(this.o||this.C)&&!this.F.Y;this.contentOwnerId=b.cid;this.contentVideoId=xM(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.Ca=b.freewheel_ad_tag;this.gender=Ub(yqa,function(a){return a==b.ad_gender});
this.na=b.dbp;this.J=hW(b.afv)&&!this.A;this.M=this.X&&this.C;this.R=this.X&&this.o&&!hW(b.no_afv_instream);this.Y=hW(b.dclk);hW(b.gpt_migration);this.Z=hW(b.forced_ad);this.ba=1==(0,window.parseInt)(b.tpas_ad_type_id,10);this.Wa=!!b.fqsf;this.ea=hW(b.invideo)&&!this.A;this.D=hW(b.mpu)&&!this.A;this.fa=!!b.pla;this.Ma=hW(b.shortform);this.H=hW(b.sffb);this.bb=b.ad_language_iso639_2;this.g=this.A||!this.F.experiments.g("disable_client_side_midroll_freq_capping")?(0,window.parseInt)(b.midroll_freqcap,
10):-1;(0,window.isNaN)(this.g)&&(this.g=-1);this.midrollPrefetchSize=(0,window.parseInt)(b.midroll_prefetch_size,10)||0;this.tagForChildDirected=hW(b.tag_for_child_directed);this.serverPrefetchedVast=b.server_prefetched_vast;this.surveyCreativeData=b.surveyCreativeData;this.Ha=this.X&&this.H&&!this.J;this.Gb=this.J||this.Ha;this.Pa=(0,window.parseInt)(b.ad_device,10);this.ra=b.tpas_video_id;this.ga=b.tpas_partner_id;this.vmap=b.vmap;this.sc=this.F.sc;this.showContentThumbnail=!0;g.ta(b.show_content_thumbnail)&&
(this.showContentThumbnail=b.show_content_thumbnail);this.I=zqa(b.serialized_ad_ux_config)};
zqa=function(a){if(a)try{var b=JSON.parse(a);return new Ke(b)}catch(c){}return null};
xX=function(a,b){g.M.call(this);this.o=a;this.Ce=new g.Km(this);g.N(this,this.Ce);this.l=null;this.g=!1;this.Ce.U(b,"companionImpression",this.B);this.Ce.U(b,"companionClick",this.A)};
Bqa=function(a){var b=!g.Y(a).Ib&&3!=a.Ra();return a.isFullscreen()||b};
g.yX=function(a,b,c,d){if((void 0===c||!c)&&g.UV(a))return g.wF(a),!0;b.hd();a=a.currentTarget.getAttribute("href");g.CV(a,d,!0);return!1};
zX=function(a,b,c){if(YM(g.Y(b))&&2!=b.Ra()){if(g.UV(c))return b.isFullscreen()&&g.gV(b),g.wF(c),!0}else{var d=g.UV(c);d&&b.hd();g.CV(a,void 0,!0);d&&(g.DV(a),g.wF(c))}return!1};
AX=function(){return{G:"div",L:"ytp-spinner-container",N:[{G:"div",L:"ytp-spinner-rotator",N:[{G:"div",L:"ytp-spinner-left",N:[{G:"div",L:"ytp-spinner-circle"}]},{G:"div",L:"ytp-spinner-right",N:[{G:"div",L:"ytp-spinner-circle"}]}]}]}};
BX=function(a,b){var c=dF("requestAnimationFrame",window);return g.WD(function(){c?c.call(window,a):a()},b||0)};
CX=function(a){if(window.document.createRange){var b=window.document.createRange();b.selectNodeContents(a);window.getSelection().removeAllRanges();window.getSelection().addRange(b)}};
DX=function(a){g.M.call(this);this.g=a;this.l=window.NaN;this.B={};a=a.l;this.C=a.fadeInDurationMilliseconds;this.D=a.fadeInStartMilliseconds;this.o=a.fadeOutDurationMilliseconds;this.A=a.fadeOutStartMilliseconds;this.nE()};
Cqa=function(a,b){a.B[b]&&(g.rV(a.g.g,[a.B[b]],void 0),delete a.B[b])};
Dqa=function(a,b,c,d){0>=c||((0,window.isNaN)(a.l)||g.YD(a.l),c=(0,g.G)()+c,a.l=0==d?BX((0,g.A)(a.tF,a,b,c,100),0):BX((0,g.A)(a.sF,a,b,c,100),0))};
EX=function(a,b,c){var d=lW(a.g);a=kW(a.g);d=aP(d,a);b.setVolume(c*d)};
FX=function(a){DX.call(this,a)};
GX=function(a,b,c){g.M.call(this);this.g=a;this.C=b;this.A=c;this.o=-1;this.B=window.NaN;this.A&&0<this.g.l.g&&this.g.subscribe("endseeking",this.l,this)};
Eqa=function(a,b){HX(a);0<b&&(a.B=g.WD((0,g.A)(a.l,a),1E3*b))};
HX=function(a){g.YD(a.B);a.B=window.NaN};
JX=function(a,b){if(!a.A||!kX(b)&&!jX(b))return!1;var c=a.g.l.g;if(0>=c||0>=a.o)return!1;var d=(0,g.G)()/1E3,e=IX(a,b)-a.g.g.getCurrentTime();0<e&&(d+=e);return d-a.o<=c};
IX=function(a,b){return jX(b)?a.g.g.getVideoData().lengthSeconds:gW(b.Sb)};
KX=function(a,b){g.M.call(this);this.I=this.g=null;this.K=[];this.M=window.NaN;this.Bb=b;this.D=[];this.o={};this.B={};this.l=a;var c=a.l,d=!c.isLiveStream&&(0,g.zj)(this.Bb,function(a){return kX(a)||jX(a)});
this.H=new GX(this.l,this,d);this.A=c.applyFadeOnMidrolls?new DX(a):new FX(a);this.Z=(0,g.zj)(this.Bb,function(a){return iX(a)})};
Gqa=function(a){a.D.length||(a.D=(0,g.Jd)(a.Bb,function(a){return"unloaded"==a.A}),0==a.D.length?rX(a.l):(a.Z||rX(a.l),Fqa(a)))};
Fqa=function(a){if(a.D.length){var b=a.D.shift();b.subscribe("adBreakComplete",a.pk,a);b.subscribe("adCompanionInitialized",a.Du,a);vX(b)}};
Hqa=function(a,b){function c(a){return a&&5!=a.Sb.g}
var d=(0,g.Na)(a.Bb,b),e=g.Ya(a.Bb,0,d);d=g.Ya(a.Bb,d+1);return{previous:g.Ka(e,c),next:g.Ka(d,c)}};
Iqa=function(a,b,c){var d=qX(b);if(!(0,window.isNaN)(d)){var e={};e.priority=-2!=gW(b.Sb)?2:3;e.id=String(b.getId());e.visible=b.isVisible;d=a.A.dE(b,d);c=a.A.cE(b,c);c=new g.rQ(d,c,e);a.B[b.getId()]=c;LX(a.l,[c]);a.A.gx(b)}};
Jqa=function(a,b){var c=b.getId();a.B[c]&&(Cqa(a.A,c),g.rV(a.l.g,[a.B[c]],void 0),delete a.B[c])};
Kqa=function(a,b){if(g.u(b)){var c=a.wj(b);if(c)if(a.g==c&&!c.l&&c.isVisible)c.show();else{if(a.g){if(5==c.Sb.g){a.g.l?a.K.push(b):c.show();return}a.di(a.g)}if(JX(a.H,c))a.g=null,c=a.B[c.getId()],c.visible||(c.visible=!0,LX(a.l,[c],1));else{5!=c.Sb.g&&(a.g=c);c.subscribe("adBreakComplete",a.hm,a);c.subscribe("adCompanionInitialized",a.Du,a);if(c.l){1!=c.Sb.g&&YN("video_to_ad",["apbs"]);var d=a.l;d.J=!0;d.A||MX(d)}a.A.uF(c);c.show()}}}};
NX=function(a,b,c){KX.call(this,a,b);this.F=[];this.J=[];this.C=[];this.Y=c;this.X=window.NaN;this.R=a.l.g;var d=!kW(a).experiments.g("disable_fetching_previous_nonadjacent_midrolls"),e=1E3*a.g.getCurrentTime();d=d?null:Ma(b,function(b){return a.g&&e>=qX(b)});
if(1<=c)for(c=0;c<b.length;c++){var f=b[c];if(pqa(f)&&f!=d){var k=new oX(f.o,f.Ea,f.Sb,f.C,!0);b[c]=k;this.F.push(f)}}this.Z||this.sk()};
OX=function(a){g.YD(a.X);a.X=window.NaN};
PX=function(a,b){KX.call(this,a,b);this.X=a;this.Y=!0;this.F=[];this.fa=1;this.J=0};
Lqa=function(a){if(null==a.g&&0<a.F.length){var b=a.F[0];b.isVisible?(a.Y=a.C.isPeggedToLive(),a.ea=Math.ceil((0,g.G)()/1E3),b.subscribe("adBreakComplete",a.R,a),a.g=b,b.show()):a.R()}else null!=a.g&&a.J++};
Mqa=function(a,b){this.H=a;this.C=b;this.F=(0,g.G)();this.B=0;this.g=a.l;this.A={};this.D=new Rpa(a);var c=[];this.g.ba&&this.g.o&&c.push("4_2");this.g.Y&&(this.g.o&&c.push("1_2"),this.g.C&&c.push("1_2_1"),this.g.ea&&c.push("1_1"),this.g.D&&c.push("1_3"));this.g.M&&c.push("2_2_1");this.g.R&&c.push("2_2");this.g.J&&c.push("2_1");this.g.Gb&&c.push("2_3");this.g.fa&&c.push("14_14");this.l=c.join(",");this.o="";this.A.allowed=this.l;(c=this.g.excludedAds)&&(this.A.ex_ads=c)};
QX=function(a,b,c){g.M.call(this);this.l=a;this.A=b;this.Yd=c;this.B=this.C=-1;this.g=Nqa(this.A.Ie());a=this.A.Ie();a.length&&(a=a[a.length-1],-1==a&&LX(this.l,[this.g[a]]));0<this.l.l.g&&this.l.subscribe("endseeking",this.o,this)};
Oqa=function(a,b){RX(a);0<b&&(a.B=g.WD((0,g.A)(a.o,a),1E3*b))};
RX=function(a){-1!=a.B&&(g.YD(a.B),a.B=-1)};
Nqa=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.rQ(-1==d?0x8000000000000:1E3*d,0x8000000000000==e?e:e-1,{id:String(d),visible:!0})}d=a[a.length-1];b[d]=new g.rQ(-1==d?0x8000000000000:1E3*d,0x8000000000000,{id:String(d),visible:!0});return b};
SX=function(){g.M.call(this)};
Pqa=function(a){if(!/^\d+?(:\d+){0,2}(\.\d+)?$/.test(a))return null;var b=0;(0,g.C)(a.split(":"),function(a){b=60*b+Math.abs((0,window.parseFloat)(a))});
return 1E3*b};
TX=function(a){g.M.call(this);this.g=a;this.l=null;this.o={};this.B={};a=a.l;this.C=a.fadeInDurationMilliseconds;this.H=a.fadeInStartMilliseconds;this.I=a.fadeOutDurationMilliseconds;this.A=a.fadeOutStartMilliseconds;this.J=1E3*this.g.g.getVideoData().lengthSeconds;this.D=this.A+this.I;this.F=new g.EF(this);g.N(this,this.F);this.F.O(this.g.g,"applicationplayerstatechange",this.EF)};
UX=function(a,b){return 0!=b&&-1!=b&&-2!=b&&0<b&&b<a.J};
Qqa=function(a){a=a.getAttribute("breakType");return!!a&&(0,g.zj)(a.split(","),function(a){a=xb(a);return"linear"==a})};
Rqa=function(a){var b=3;var c=!0;b=b?b:0;c=c?c:!1;var d=(0,window.parseFloat)(g.vb(a/1E3,2,b));a=Math.floor(d/60);var e=Math.floor(a/60);a%=60;b=g.vb(d%60,2,b);c=b=e||c?e+":"+g.vb(a,2)+":"+b:a+":"+b;return 1==c.split(":")[0].length?"0".concat(c):c};
Tqa=function(a,b){var c=Math.max(Math.abs(a.A),Math.abs(a.D));(0,g.C)(b,(0,g.A)(function(a){var d=(0,g.zj)(b,function(b){return a!=b&&b>=a-c&&b<=a+c}),f=Sqa(this,a);
!d&&f&&(this.o[f]=a)},a));
return 0<g.Mb(a.o)};
Sqa=function(a,b){var c=1E3*Math.round((b+a.D)/1E3),d=b+a.A,e=b+a.H;return UX(a,b)&&UX(a,c)&&UX(a,d)&&UX(a,e)?c:null};
Uqa=function(a,b,c,d){0>=c||(d=0==d?a.DF:a.CF,c=(0,g.G)()+c,a.l=BX((0,g.A)(d,a,b,c,100),0))};
VX=function(a,b,c){var d=lW(a.g);a=kW(a.g);d=aP(d,a);b.setVolume(c*d)};
WX=function(a){g.M.call(this);this.Yd=this.o=this.A=this.D=this.l=null;this.J=this.H=!1;this.g=a;this.F=this.fb=null;this.K={};this.M=new g.Km(this);this.B=new g.Km(this);this.I=new g.EF(this);g.N(this,this.I);this.C=null};
Vqa=function(a,b,c){a=a.cloneNode(!0);a.setAttribute("timeOffset",b);(0,g.C)(a.getElementsByTagName("VASTAdTagURI"),function(a){if("end"==b){var d="post";var f=-1;var k="postroll"}else d="mid",f=Pqa(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};
Wqa=function(a,b){var c=g.Ur(b);if(!c)return null;var d=g.Md(c);if(!d)return c;var e=g.Ka(g.Kd(d),function(a){return"#1"==a.getAttribute("timeOffset")});
if(e){var f=g.Ka(g.Kd(e),function(a){return"vmap:Extensions"==a.tagName}),k=f?g.Kd(f):[];
k=g.Ka(k,function(a){return"YTBreakTime"==a.getAttribute("type")});
f=(f=f.removeChild(k))?g.Kd(f):[];var l=e,m=1;(0,g.C)(f,function(a){a=a.getAttribute("timeOffset");a=Vqa(e,a,m);m++;d.insertBefore(a,l.nextSibling);l=a});
d.removeChild(e)}a.C.iD(d)||(g.Ze(a.C),a.C=new SX);return c};
Xqa=function(a){var b=rpa(a.g.l,kW(a.g),lW(a.g));b.NI=!0;b.tx=!1;b.eD=10;b.Su=a.C.Uy();return b};
Zqa=function(a,b){if(b){Bpa();var c=Epa(a.g),d=OC(a.l);if(d){var e=d.Me();d=g.Oa(eW,e)?new fW(e,d.Bc):new fW(e);e=Kpa(Iq(b));d=new nW(d,e.g,a.g,14==e.l?16:4);c.then(d.B,g.z,d)}}else a.g.l.D&&(a.A=new YW(a.g),Yqa(a,a.A),a.A.show())};
YX=function(a,b){b&&"adLoadError"==b.Ub()&&(kW(a.g).experiments.g("enable_no_ads_ping_for_mpu_disable")&&!a.g.l.D&&a.BF(OC(a.l),0,2,{}),XX(a))};
ZX=function(a){a.A&&(a.A.dispose(),a.A=null)};
$X=function(a){var b=Ks(a);a=0<b.length?b.pop():ws(a);a=$qa[a.toUpperCase()];return null!=a?a:0};
XX=function(a){a.H||(rX(a.g),a.H=!0)};
Yqa=function(a,b){b.subscribe("AD_LOGGING_EVENT",(0,g.A)(a.BF,a,OC(a.l),b.adType))};
aY=function(a){g.AV.call(this,a);this.he="";this.I=new g.EF(this);g.N(this,this.I);this.created=!1};
LX=function(a,b,c){for(var d=0;d<b.length;d++)b[d].namespace=a.he;g.pV(a.g,b,c)};
rX=function(a){g.tV(a.g,a.he)};
ara=function(a,b,c){var d={},e;for(e in b)d[a.he+"_"+e]=b[e];b={};for(var f in c)b[a.he+"_"+f]=c[f];a=g.WU(a.g);g.Fa(a.ea,d||null);g.Fa(a.Z,b||null)};
bY=function(){g.M.call(this);this.l=new g.W({G:"div",L:"ytp-out-of-player-ad-info",N:[{G:"div",L:"ytp-out-of-player-hover-container"},{G:"div",L:"ytp-out-of-player-ad-info-button-container",N:[{G:"button",da:["ytp-out-of-player-ad-info-button"],N:[{G:"span",L:"ad-info-icon"}]}]}]});g.N(this,this.l);this.g=this.l.g["ytp-out-of-player-hover-container"];this.bf=this.l.g["ytp-out-of-player-ad-info-button-container"];this.B=this.l.g["ytp-out-of-player-ad-info-button"];this.o=new HV(this.bf);g.N(this,this.o);
this.A=new g.EF(this);g.N(this,this.A);this.ws();this.l.element.appendChild(this.o.g.la());this.A.O(this.B,"mouseenter",this.KM);this.A.O(this.B,"mouseleave",this.ws);this.A.O(this.bf,"click",this.JM)};
cY=function(a){g.W.call(this,{G:"div",L:"ytp-ad-notification-container",aa:"{{content}}"});this.o=a;this.A=null;this.C=-1;this.B=new g.VV(this,250,!1,150);g.N(this,this.B);this.O(this.o,"adnotify",this.im);this.O(this.o,"discardadnotify",this.km)};
eY=function(a,b){aY.call(this,b);this.he="ad";this.app=a;this.l=this.o=this.B=null;this.J=this.R=!1;this.A=this.fb=null;P.l=!0;P.I=!1;P.Z=!1;P.X=!0;P.Y=g.AW();var c=P,d=!g.vE();c.H=d;P.D=0;c=a.g.experiments.l("sdk_wrapper_levels_allowed");!(0,window.isNaN)(c)&&0<c&&(P.K=c);dY(this)&&(P.o=!0);this.D=null;this.Y={};this.X={at:"0"};c=g.Y(this.g).experiments;if(c.g("enable_midroll_notify")||c.g("enable_postroll_notify"))c=new cY(this.g),g.N(this,c),g.uV(this.g,c.element,4);this.C=new yW(this.g);g.uV(this.g,
this.C.element,4);this.H=this.Z=null;this.K=-1;this.F=new g.EF(this);g.N(this,this.F);this.M=!1};
lW=function(a){return fY(a.app)};
kW=function(a){return a.app.g};
tX=function(a,b,c){if(a.B){a=a.B;c=c||{};var d=((0,g.G)()-a.F)/1E3;c.art=d;kW(a.H);c.ad_flags=a.g.adFlags;(d=a.g.contentOwnerId)&&(c.cid=d);c.mt=a.C.getCurrentTime();(d=g.tG())&&(c.lact=d);(d=a.C.getDuration())&&(c.len=d);a.g.Wa&&(c.fqsf=1);c.sdkv="3";c.ad_event=b;if(3==b||4==b)a.o=c.at;a:{b=a.D;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?FW(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);kW(b.g).experiments.g("fix_api_stats_ads_companion_backfill_break_type")&&(a=Yb(c,"trsp","0"),"2_3"==e&&10==f&&"0"!=a&&(c.break_type=1));e={};e.device=b.g.l.Pa;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.Oa(eW,Cb(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=
Spa(d);break;case "error_code":f.ima_error=d;case "error_message":f.error_msg=d;break;case "ad_event":f.event=FW(d);break;case "ck_xy":a=d.split("x"),2==a.length&&(f.i_x=a[0],f.i_y=a[1])}}f=KW(b.g.g.app,2);k=lW(b.g);e.cpn=k.clientPlaybackNonce;e.content_v=k.videoId;k.ya&&(e.live="1");c.at&&c.at.match(/\d+_2.*/g)?(a=b.g.o,e.mt=null!=a&&null!=a.g?1E3*gW(a.g.Sb):0):e.mt=Math.round(1E3*f.getCurrentTime());kW(b.g);e.ei=k.eventId;e.lact=g.tG();e.vol=Math.round(b.g.app.H.getVolume());e.vis=b.g.g.Ii();a=
mW(b.g);e.p_w=a.width;e.p_h=a.height;e.rt=(0,g.G)();if(f=(f=nU(f))&&g.kd(f)===window.document?g.Ah(f):null)e.pv_h=f.getHeight(),e.pv_w=f.Db();2==(c&&c.ad_event?FW(c.ad_event):0)&&k.adSafetyReason&&(e.asr=k.adSafetyReason);k=Hm(e);c=kW(b.g).baseYtUrl+"api/stats/ads";c=new g.um(c);zm(c,k);k=kW(b.g);if(b=b.g.getVideoData())if(b=b.oauthToken||k.J){g.mE(c.toString(),{headers:{Authorization:"Bearer "+b}});break a}g.EE(c.toString())}}}};
gY=function(a,b,c){c=c||{};c.ad_error=b;tX(a,7,c)};
hY=function(a,b,c){a.app.H.va(b,c)};
bra=function(a){if(!a.R||a.app.g.experiments.g("enable_html5_midroll_tsla_update")){var b=kW(a).baseYtUrl;g.EE(b+"mac_204?action_fcts=1");a.R=!a.app.g.experiments.g("enable_html5_midroll_tsla_update")}};
iY=function(a){return a.o instanceof PX?a.o:null};
jY=function(a){return g.bV(a.app).l};
dra=function(a){var b=g.Od(zW(a.C),g.Zd()),c=a.g;2==g.$U(c.app)&&g.cra(c.app,2);c=g.Y(a.g);"3"!=c.A||JM(c)||(c=g.dV(a.g),JM(c.app.g),c.F=!1,MW(c));b&&a.g.getRootNode().focus()};
mW=function(a){return a.l.B?(a=a.app.F.Na(),new g.$g(0,0,a.width,a.height)):g.Ih(a.getRootNode())};
era=function(a,b){a.te("bd");var c=a.l;var d=c.midrollPrefetchSize;c=c.isLiveStream?new PX(a,b):0<d?new NX(a,b,d):new KX(a,b);a.o=c;Gqa(a.o)};
lY=function(a){var b=a.app;g.WD(function(){kY(b)},0)};
MX=function(a){var b=a.app;g.WD(function(){mY(b)},0)};
fra=function(a,b){var c=a.app;g.WD(function(){nY(c,b)},0)};
oY=function(a){a.J=!1;var b=g.bV(a.app,2);b&&a.app.g.C.remove(b.getVideoData().videoId)};
Wpa=function(a,b){switch(b){case 1:a.K=1;hY(a,"onAdStart");break;case 0:a.K=0,hY(a,"onAdEnd")}};
OW=function(a,b,c){c&&hY(a,"onAdInfoChange",c);a=a.app;1==b&&(a.J.g("vr"),a.ia||(a.ia=MN(a.mC,a)),Coa(a.D),qQ(a.J,a.D.getVideoData(),gra(a)));c=a.g;(g.cN(c)&&c.yb||g.XM(c))&&a.l.va("onAdStateChange",b)};
pY=function(a){return!!(a.l.H&&a.o&&1<a.o.Bb.length)};
dY=function(a){a=a.app.g;return g.OM(a)&&!g.XM(a)&&"desktop-polymer"==a.playerStyle};
tW=function(a,b){b.contentVideoId||(b.contentVideoId=lW(a).videoId);hY(a,"updatekevlarcompanion",b)};
ira=function(a,b){a.app.g.experiments.g("desktop_companion_wta_support")&&(g.Aa(g.y("yt.www.watch.ads.addInstreamCompanionWtaUi"))?hra(b):g.VF("watchAdsInit",function(){hra(b)}))};
hra=function(a){var b=g.y("yt.www.watch.ads.addInstreamCompanionWtaUi");if(g.Aa(b)){var c=new bY;a=Npa(Bs(a),Cs(a));c.bind(a);b(c.la().element)}else g.RD(Error("Watch page is not ready after WATCH_ADS_INIT event"))};
qY=function(a,b,c){g.M.call(this);this.na=b;this.ia=c;this.M=this.K=this.F=this.I=this.D=this.A=this.R=this.Y=this.X=this.o=this.H=this.l=null;this.Z={};this.ea={};this.ga=null;this.g=a;this.ba=this.C=this.J=this.B=null;this.fa=g.Y(a).experiments.g("web_player_defer_modules")};
g.jra=function(a){var b=g.Y(a.g);if(g.cN(b)||b.sc||!b.kd&&!b.Ma)return!1;var c=a.g.Ra();if(2==c)return!1;if(3==c)return b.experiments.g("desktop_enable_autoplay");a=a.g.getVideoData();if(!a)return!1;c=!a.isLiveDefaultBroadcast||b.experiments.g("allow_poltergust_autoplay");return!(a.ya&&(!b.experiments.g("allow_live_autoplay")||!c))};
kra=function(a){a.fa&&(a.xr(),a.vr(),a.wr())};
sY=function(a,b,c,d){try{if(d){var e=g.rY[b];if(e)return new e(a.g);"creatorendscreen"==b?lra(a,"annotations_module",c):lra(a,b,c)}else g.tV(a.g,b)}catch(f){g.tV(a.g,b),g.RD(f)}return null};
tY=function(a,b){a.l&&(b||a.l.Pc())&&(g.Ze(a.l),a.l=null);a.H&&(b||a.H.Pc())&&(g.Ze(a.H),a.H=null);a.o&&(b||a.o.Pc()?(g.Ze(a.o),a.o=null):a.o.loaded&&a.o.unload());a.X&&(b||a.X.Pc())&&(g.Ze(a.X),a.X=null);a.Y&&(b||a.Y.Pc())&&(g.Ze(a.Y),a.Y=null);a.R&&(b||a.R.Pc())&&(g.Ze(a.R),a.R=null);a.A&&(b||a.A.Pc())&&(g.Ze(a.A),a.A=null);a.D&&(b||a.D.Pc())&&(g.Ze(a.D),a.D=null);a.I&&(b||a.I.Pc())&&(g.Ze(a.I),a.I=null);a.F&&(b||a.F.Pc())&&(g.Ze(a.F),a.F=null);a.J&&(b||a.J.Pc())&&(g.Ze(a.J),a.J=null);a.C&&(b||
a.C.Pc())&&(g.Ze(a.C),a.C=null);a.B&&(b||a.B.Pc())&&(g.Ze(a.B),a.B=null);a.K&&(b||a.K.Pc())&&(g.Ze(a.K),a.K=null);a.M&&(b||a.M.Pc())&&(g.Ze(a.M),a.M=null)};
g.aV=function(a){return g.Y(a.g).tb?a.J:null};
lra=function(a,b,c){if(a.na){for(var d=a.na+b+".js",e=window.document.getElementsByTagName("SCRIPT"),f=!1,k,l=0;l<e.length;l++){var m=e[l];m.src==d&&(k=m)}k||(k=g.Cd("SCRIPT"),f=!0);var n=function(){a.ka()||c.call(a)},q=function(){a.ka()||g.tV(a.g,b)};
k.onload=g.Ea(function(a){Kf(n);a&&a()},k.onload);
k.onerror=g.Ea(function(a){Kf(q);a&&a()},k.onerror);
k.onreadystatechange=g.Ea(function(a){switch(k.readyState){case "loaded":case "complete":Kf(n,this)}a&&a()},k.onreadystatechange);
f&&((e=g.Y(a.g).Rh)&&k.setAttribute("nonce",e),g.Zc(k,g.ae(d)),d=window.document.getElementsByTagName("HEAD")[0]||window.document.body,d.insertBefore(k,d.firstChild),g.Ye(a,function(){k.parentNode&&k.parentNode.removeChild(k);g.rY[b]=null;"annotations_module"==b&&(g.rY.creatorendscreen=null)}))}};
g.uY=function(a){rP.call(this);this.g=a;this.o={}};
vY=function(a,b,c,d){g.HF.call(this);this.l=a;this.K=(0,g.A)(b,null);this.g=0;this.C=!1;this.A=new g.ed(window.NaN,window.NaN);this.W=new g.EF(this);g.N(this,this.W);b=d?4E3:3E3;this.F=new g.Xt(g.Ea(this.gc,1,!1),b,this);g.N(this,this.F);this.H=new g.Xt(g.Ea(this.gc,2,!1),b,this);g.N(this,this.H);this.J=new g.Xt(g.Ea(this.gc,512,!1),0,this);g.N(this,this.J);this.R=c&&0<c.Vh.length?5E3:3E3;d||(this.o=this.W.O(a,"mouseover",this.lu),this.W.O(a,"mousemove",this.AO),this.W.O(a,"mouseleave",this.BP));
g.ph?this.W.O(a,"keypress",this.sL):this.W.O(a,"focusin",this.dJ);this.B=this.W.O(a,"mousedown",this.pB);this.D=this.W.O(a,"touchstart",this.rB,void 0,!0);this.M=null;this.gc(640,!0)};
mra=function(a){a.gc(4,!1);a.I&&(a.W.Da(a.I),a.I=null,a.o=a.W.O(a.l,"mouseover",a.lu));a.o&&(a.W.Da(a.o),a.o=a.W.O(a.l,"mouseover",a.lu))};
g.wY=function(a){g.W.call(this,{G:"div",L:"ytp-bezel",P:{role:"status","aria-label":"{{label}}"},N:[{G:"div",L:"ytp-bezel-icon",aa:"{{icon}}"}]});this.A=new g.Xt(this.show,10,this);g.N(this,this.A);this.o=new g.Xt(this.hide,500,this);g.N(this,this.o);this.B=a;this.hide()};
yY=function(a,b){if(b)g.X(g.cV(a.B),64)||xY(a,gpa(),g.V("YTP_PLAY"));else{var c=a.B.getVideoData();c.ya&&!c.qg?xY(a,kpa(),g.V("YTP_STOP")):xY(a,epa(),g.V("YTP_PAUSE"))}};
zY=function(a,b,c){0>=b?(c=SV(),b=g.V("YTP_SCREENREADER_VOLUME_MUTED")):(c=c?mpa():lpa(),b=Math.floor(b)+"% "+g.V("YTP_SCREENREADER_VOLUME_SETTING"));xY(a,c,b)};
nra=function(a,b,c){c=c?g.MV?{G:"div",da:["ytp-icon","ytp-icon-fast-rewind"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},N:[{G:"path",Ua:!0,L:"ytp-svg-fill",P:{d:"M 17,24 V 12 l -8.5,6 8.5,6 z m .5,-6 8.5,6 V 12 l -8.5,6 z"}}]}:g.MV?{G:"div",da:["ytp-icon","ytp-icon-fast-forward"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},N:[{G:"path",Ua:!0,L:"ytp-svg-fill",P:{d:"M 10,24 18.5,18 10,12 V 24 z M 19,12 V 24 L 27.5,18 19,12 z"}}]};b=g.V("YTP_PLAYBACK_SPEED_CHANGED",
{RATE:String(b)});xY(a,c,b)};
ora=function(a){xY(a,hpa(),g.V("YTP_PREVIOUS"))};
xY=function(a,b,c){a.updateValue("label",void 0===c?"":c);a.updateValue("icon",b);g.$t(a.o);a.A.start()};
AY=function(a){var b=g.Y(a),c=a.getVideoData(),d=["ytp-large-play-button","ytp-button"];if(c.isDni&&c.dniColor)var e=b.B?[{G:"div",L:"ytp-large-play-button-circle",P:{style:"background-color: "+c.dniColor}},g.MV?{G:"div",da:["ytp-icon","ytp-icon-dni-large-play-button"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"4 -6 60 60",width:"100%"},N:[{G:"path",P:{d:"m 26.96,13.67 18.37,9.62 -18.37,9.55 -0.00,-19.17 z",fill:"#fff"}}]}]:[g.MV?{G:"div",da:["ytp-icon","ytp-icon-dni-large-lozenge-play-button"]}:
{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 68 48",width:"100%"},N:[{G:"path",L:"ytp-dni-large-play-button-bg",P:{d:"M66.52,7.74c-0.78-2.93-2.49-5.41-5.42-6.19C55.79,.13,34,0,34,0S12.21,.13,6.9,1.55 C3.97,2.33,2.27,4.81,1.48,7.74C0.06,13.05,0,24,0,24s0.06,10.95,1.48,16.26c0.78,2.93,2.49,5.41,5.42,6.19 C12.21,47.87,34,48,34,48s21.79-0.13,27.1-1.55c2.93-0.78,4.64-3.26,5.42-6.19C67.94,34.95,68,24,68,24S67.94,13.05,66.52,7.74z",fill:"#212121","fill-opacity":"0.8"}},{G:"path",P:{d:"M 45,24 27,14 27,34",
fill:"#fff"}}]}];else b.B&&!b.sc?e=[g.MV?{G:"div",da:["ytp-icon","ytp-icon-large-play-button-hover"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 68 48",width:"100%"},N:[{G:"path",L:"ytp-large-play-button-bg",P:{d:"M66.52,7.74c-0.78-2.93-2.49-5.41-5.42-6.19C55.79,.13,34,0,34,0S12.21,.13,6.9,1.55 C3.97,2.33,2.27,4.81,1.48,7.74C0.06,13.05,0,24,0,24s0.06,10.95,1.48,16.26c0.78,2.93,2.49,5.41,5.42,6.19 C12.21,47.87,34,48,34,48s21.79-0.13,27.1-1.55c2.93-0.78,4.64-3.26,5.42-6.19C67.94,34.95,68,24,68,24S67.94,13.05,66.52,7.74z",
fill:"#f00"}},{G:"path",P:{d:"M 45,24 27,14 27,34",fill:"#fff"}}]}]:(b.o&&d.push("ytp-touch-device"),e=[b.sc?g.MV?{G:"div",da:["ytp-icon","ytp-icon-house-brand-large-play-button"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 60 60",width:"100%"},N:[{G:"path",L:"ytp-large-play-button-bg",P:{"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"}},{G:"path",P:{d:"M21,41.65 L21,18 L43.7,29.85 L21,41.65 Z",fill:"#fff"}}]}:g.MV?{G:"div",da:["ytp-icon","ytp-icon-large-play-button"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 68 48",width:"100%"},N:[{G:"path",L:"ytp-large-play-button-bg",P:{d:"M66.52,7.74c-0.78-2.93-2.49-5.41-5.42-6.19C55.79,.13,34,0,34,0S12.21,.13,6.9,1.55 C3.97,2.33,2.27,4.81,1.48,7.74C0.06,13.05,0,24,0,24s0.06,10.95,1.48,16.26c0.78,2.93,2.49,5.41,5.42,6.19 C12.21,47.87,34,48,34,48s21.79-0.13,27.1-1.55c2.93-0.78,4.64-3.26,5.42-6.19C67.94,34.95,68,24,68,24S67.94,13.05,66.52,7.74z",
fill:"#212121","fill-opacity":"0.8"}},{G:"path",P:{d:"M 45,24 27,14 27,34",fill:"#fff"}}]}]);g.W.call(this,{G:"div",L:"ytp-cued-thumbnail-overlay",N:[{G:"div",L:"ytp-cued-thumbnail-overlay-image"},{G:"button",da:d,P:{"aria-label":g.V("YTP_PLAY")},N:e},{G:"div",L:"ytp-cued-thumbnail-overlay-duration",aa:"{{duration}}"}]});c.isDni&&c.dniColor&&!b.B&&this.g["ytp-dni-large-play-button-bg"].setAttribute("fill",c.dniColor);this.C=new g.EF(this);g.N(this,this.C);this.o=a;this.F=this.g["ytp-cued-thumbnail-overlay-image"];
this.D=this.g["ytp-large-play-button"];this.B=new g.VV(this,250);g.N(this,this.B);this.A=new g.Xt(this.uB,0,this);g.N(this,this.A);this.uB();this.O(a,"presentingplayerstatechange",this.MO);this.O(a,"ypcStateChanged",this.wU);IM(g.Y(a))&&this.O(a,"videoplayerreset",this.LO)};
g.BY=function(a){return xQ(a)?(a.fetch=0,new g.wQ(a)):new g.vO(a)};
CY=function(a){g.M.call(this);this.B=a;this.A=new SC(0,0,.4,0,.2,1,1,1);this.l=new g.Ut(this.o,window,this);g.N(this,this.l)};
DY=function(a){g.W.call(this,{G:"div",L:"ytp-related-on-error-overlay"});this.M=this.B=0;this.A=a;this.X=new g.EF(this);g.N(this,this.X);a=g.Y(a);this.D=[];this.o=[];this.F=0;this.ba=a.g;this.K=new g.W({G:"h2",L:"ytp-related-title",aa:"{{title}}"});g.N(this,this.K);this.K.ua(this.element);this.H=new g.W({G:"div",L:"ytp-suggestions"});g.N(this,this.H);this.H.ua(this.element);this.J=new g.W({G:"button",da:["ytp-button","ytp-previous"],P:{"aria-label":g.V("YTP_PREVIOUS")},N:[g.NV()]});g.N(this,this.J);
this.J.ua(this.element);this.J.U("click",this.gP,this);this.ea=new CY((0,g.A)(this.AB,this));g.N(this,this.ea);this.Z=this.C=0;this.R=!0;for(a=0;16>a;a++){var b=new g.W({G:"a",L:"ytp-suggestion-link",P:{href:"{{link}}",target:"_blank","aria-label":"{{aria_label}}"},N:[{G:"div",L:"ytp-suggestion-image",N:[{G:"div",L:"ytp-suggestion-duration",aa:"{{duration}}"}]},{G:"div",L:"ytp-suggestion-title",P:{title:"{{hover_title}}"},aa:"{{title}}"},{G:"div",L:"ytp-suggestion-author",aa:"{{views_or_author}}"}]});
g.N(this,b);b.ua(this.H.element);var c=b.g["ytp-suggestion-link"];g.nh(c,"transitionDelay",a/20+"s");this.X.O(c,"click",g.Ea(this.hP,a));this.D.push(b)}this.I=new g.W({G:"button",da:["ytp-button","ytp-next"],P:{"aria-label":g.V("YTP_NEXT")},N:[g.OV()]});g.N(this,this.I);this.I.ua(this.element);this.I.U("click",this.fP,this);this.X.O(this.A,"videodatachange",this.zB);pra(this,g.dV(this.A).Na());this.zB();this.show()};
pra=function(a,b,c){var d=16/9,e=650<=b.width,f=480>b.width||290>b.height,k=Math.min(a.o.length,a.D.length);if(150>=Math.min(b.width,b.height)||0==k)a.hide();else{var l;if(e){var m=l=28;a.B=16}else m=l=8,a.B=8;if(f){var n=4;e=16;var q=15;f=24}else n=8,e=18,q=16,f=36;b=b.width-(48+l+m);l=Math.ceil(b/150);l=Math.min(3,l);l=b/l-a.B;m=Math.floor(l/d);m+100>c&&50<l&&(m=Math.max(c,50/d),l=Math.ceil(b/(d*(m-100)+a.B)),l=b/l-a.B,m=Math.floor(l/d));50>l?a.hide():a.show();for(c=0;c<k;c++){d=a.D[c];var r=d.g["ytp-suggestion-image"];
r.style.width=l+"px";r.style.height=m+"px";d.g["ytp-suggestion-title"].style.width=l+"px";d.g["ytp-suggestion-author"].style.width=l+"px";d=d.g["ytp-suggestion-duration"];d.style.display=d&&100>l?"none":""}k=e+n+q+4;a.M=k+16+(m-f)/2;a.H.element.style.height=m+k+"px";a.Z=l;a.F=b;a.C=0;a.AB(0);EY(a)}};
qra=function(a,b){var c=g.ad(b,a.F-a.o.length*(a.Z+a.B),0);a.ea.start(a.C,c,1E3);a.C=c;EY(a)};
EY=function(a){a.I.element.style.bottom=a.M+"px";a.J.element.style.bottom=a.M+"px";var b=a.C,c=a.F-a.o.length*(a.Z+a.B);g.U(a.element,"ytp-scroll-min",0<=b);g.U(a.element,"ytp-scroll-max",b<=c)};
sra=function(a){for(var b=g.Y(a.A),c=0;c<a.o.length;c++){var d=c,e=a.o[c].Zb();d=a.D[d];var f=e.shortViewCount?e.shortViewCount:e.author,k=g.Pg(e.ul(b),{feature:"player_embedded_uturn"});d.element.style.display="";var l=d.g["ytp-suggestion-title"];xc.test(wc(e.title,void 0))?l.dir="rtl":rra.test(wc(e.title,void 0))&&(l.dir="ltr");l=d.g["ytp-suggestion-author"];xc.test(wc(f,void 0))?l.dir="rtl":rra.test(wc(f,void 0))&&(l.dir="ltr");d.update({views_or_author:f,duration:e.lengthSeconds?g.TV(e.lengthSeconds):
"",link:k,hover_title:e.title,title:e.title,aria_label:e.Sk||null});d=d.g["ytp-suggestion-image"];e=e.dd(b);d.style.backgroundImage=e?"url("+e+")":""}for(;c<a.D.length;c++)a.D[c].element.style.display="none";EY(a)};
FY=function(a,b){g.W.call(this,{G:"canvas",L:"ytp-tv-static"});this.A=this.element.getContext("2d");this.height=this.width=window.NaN;this.I=null;this.J=this.K=this.C=this.B=0;this.D=-75;this.o=new g.Ut(this.H,void 0,this);g.N(this,this.o);this.F=new g.Xt(this.o.vl,75,this.o);g.N(this,this.F);tra(this,a,b)};
ura=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};
tra=function(a,b,c){if(b&&c){a.width=a.element.width=b;a.height=a.element.height=c;var d=g.Cd("CANVAS");d.width=b;d.height=c;for(var e=d.getContext("2d"),f=e.getImageData(0,0,b,c),k=b*c,l=0;l<k;l++){var m=4*l;f.data[m]=f.data[m+1]=f.data[m+2]=Math.floor(35*Math.random());f.data[m+3]=255}e.putImageData(f,0,0);a.I=d;a.K=ura(b);a.J=ura(c/10);a.A.scale(1.5,1.5);a.A.fillStyle="rgba(255, 255, 255, 0.02)"}};
GY=function(a){var b=g.Y(a),c=b.experiments.g("enable_uturn_error_screen")&&b.g,d=b.protocol+"://"+UM(b);if(c){var e=new DY(a);b={G:"div",L:"ytp-error-content",N:[{G:"div",L:"ytp-error-icon-container",N:[g.MV?{G:"div",da:["ytp-icon","ytp-icon-error-exclamation"]}:{G:"svg",P:{fill:"#fff",height:"100%",viewBox:"0 0 48 48",width:"100%"},N:[{G:"path",P:{d:"M0 0h48v48H0V0z",fill:"none"}},{G:"path",P:{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"}}]}]},{G:"div",L:"ytp-error-content-wrap",N:[{G:"div",L:"ytp-error-content-wrap-reason",aa:"{{content}}"},{G:"div",L:"ytp-error-content-wrap-subreason",aa:"{{subreason}}"}]}]};d={href:d,target:"_blank","aria-label":g.V("YTP_VISIT_YOUTUBE")};b={G:"div",da:["ytp-error","ytp-related-on-error"],P:{role:"alert"},N:[b,{G:"div",L:"ytp-small-redirect",N:[{G:"a",L:"ytp-small-redirect-link",P:d,N:[g.MV?{G:"div",da:["ytp-icon","ytp-icon-youtube-small-logo"]}:{G:"svg",P:{fill:"#fff",height:"100%",
viewBox:"0 0 24 24",width:"100%"},N:[{G:"path",P:{d:"M0 0h24v24H0V0z",fill:"none"}},{G:"path",P:{d:"M21.58 7.19c-.23-.86-.91-1.54-1.77-1.77C18.25 5 12 5 12 5s-6.25 0-7.81.42c-.86.23-1.54.91-1.77 1.77C2 8.75 2 12 2 12s0 3.25.42 4.81c.23.86.91 1.54 1.77 1.77C5.75 19 12 19 12 19s6.25 0 7.81-.42c.86-.23 1.54-.91 1.77-1.77C22 15.25 22 12 22 12s0-3.25-.42-4.81zM10 15V9l5.2 3-5.2 3z"}}]}]}]},e]}}else b={G:"div",da:["ytp-error"],P:{role:"alert"},N:[{G:"div",L:"ytp-error-content",N:[{G:"div",L:"ytp-error-content-wrap",
aa:"{{content}}"}]}]};g.W.call(this,b);this.C=c;this.o=a;(this.B=e)&&g.N(this,this.B);this.D=[];if(!this.C)try{this.A=new FY(1,1),g.N(this,this.A),this.A.ua(this.element,0)}catch(f){}vra(this,g.dV(this.o).Na())};
vra=function(a,b){HY(a,function(a){tra(a,b.width,b.height)});
a.C&&wra(a,b)};
wra=function(a,b){a.g["ytp-error-content"].style.paddingTop="0px";var c=a.g["ytp-error-content"],d=c.clientHeight;pra(a.B,b,b.height-d);c.style.paddingTop=(b.height-a.B.element.clientHeight)/2-d/2+"px";c=a.g["ytp-small-redirect"];a.B.isHidden()?c.style.display="inline":c.style.display=""};
HY=function(a,b){if(a.A)try{b.call(a,a.A)}catch(c){a.A.dispose(),a.A=null}};
yra=function(a){a=a.split(xra);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({G:"br"}),b.push(d[e]);c<a.length&&b.push({G:"a",P:{href:a[c],target:a[c+1]},aa:a[c+2]})}return{G:"span",N:b}};
IY=function(a,b,c,d,e,f){e||(e=g.Y(a.o).g);a=d?{CPN:a.o.getVideoData().clientPlaybackNonce}:null;b=g.V(b,a).split(/\$(BEGIN|END)_LINK/);a=[];f&&(f=g.V(f,null))&&a.push({G:"h2",aa:f});a.push(b[0]);a.push({G:"br"});a.push({G:"a",P:{href:c,target:e?"_blank":null},aa:b[2]});a.push(b[4]);return{G:"span",N:a}};
KY=function(a,b){g.EF.call(this);this.g=a;this.A=b;this.o=new window.Set;this.l=window.navigator.mediaSession;JY(this,"play",function(){yY(b,!0);a.td()});
JY(this,"pause",function(){yY(b,!1);a.hd()});
JY(this,"seekbackward",function(){xY(b,ipa());a.pe(-5*a.Hc())});
JY(this,"seekforward",function(){xY(b,bpa());a.pe(5*a.Hc())});
this.O(a,"videodatachange",this.C);this.O(a,"presentingplayerstatechange",this.B);this.C()};
JY=function(a,b,c){a.l.setActionHandler(b,c?(0,g.A)(c,a):null);a.o.add(b)};
LY=function(a){g.W.call(this,{G:"div",L:"ytp-paid-content-overlay",P:{"aria-live":"assertive","aria-atomic":"true"}});this.F=new g.W({G:"div",da:["ytp-button","ytp-paid-content-overlay-text"]});g.N(this,this.F);this.F.ua(this.element);this.J=a;this.A=null;this.H=!1;this.C=new g.VV(this.F,250,!1,100);g.N(this,this.C);this.D=this.o=null;this.B={};this.I=0;this.O(a,"videodatachange",this.R);this.O(a,"presentingplayerstatechange",this.M)};
zra=function(a,b){var c=MO(b),d=NO(b);a.o?b.videoId&&b.videoId!=a.A&&(g.$t(a.o),a.A=b.videoId,c=a.B[b.videoId]||0,a.H=!!d&&3E3>c):c&&d&&(a.o=new g.Xt(a.K,d,a),g.N(a,a.o),g.Qd(g.J("ytp-paid-content-overlay-text",a.element),c))};
Ara=function(a,b){a.o&&g.X(b,8)&&a.H&&(a.H=!1,a.C.show(),a.I=(0,g.G)(),a.o.start())};
NY=function(a){g.W.call(this,{G:"div",L:"ytp-spinner",N:[AX(),{G:"div",L:"ytp-spinner-message",aa:g.V("YTP_PLAYBACK_STALLED_AT_START")}]});this.B=this.g["ytp-spinner-message"];this.A=a;this.o=new g.Xt(this.show,500,this);g.N(this,this.o);this.O(a,"presentingplayerstatechange",this.C);this.O(a,"onFrescaStateChange",this.D);this.O(a,"playbackstalledatstart",this.F);MY(this,g.cV(a))};
MY=function(a,b){if(g.X(b,128))var c=0;else!(c=g.X(b,16))&&(c=g.X(b,1))&&(c=g.WU(a.A).F,c=!(c&&c.loaded));c?a.o.start():a.hide()};
OY=function(a,b,c,d){d=void 0===d?!1:d;g.rH.call(this,b);this.ba=a;this.ea=d;this.J=null;this.I=new g.EF(this);g.N(this,this.I);this.K=new g.VV(this,c,!0);g.N(this,this.K);this.C=null};
Bra=function(a){a.C&&(window.document.activeElement&&g.Od(a.element,window.document.activeElement)&&(g.Ud(a.C),a.C.focus()),a.C.removeAttribute("aria-expanded"),a.C=null);g.GF(a.I);a.J=null};
PY=function(a){return a.l&&3!=a.K.g};
QY=function(a){var b=g.Y(a).experiments.o("mweb_muted_autoplay_animation"),c=[],d=[];"none"!=b&&(c.push("ytp-unmute-animated"),d.push({G:"div",da:["ytp-unmute-box"]}),"expand"==b?c.push("ytp-unmute-expand"):"shrink"==b&&c.push("ytp-unmute-shrink"));OY.call(this,a,{G:"button",da:["ytp-unmute","ytp-popup","ytp-button"].concat(c),N:[{G:"div",L:"ytp-unmute-inner",N:[{G:"div",da:["ytp-unmute-icon"],N:[g.MV?{G:"div",da:["ytp-icon","ytp-icon-volume-muted-dark"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 36 36",
width:"100%"},N:[{G:"path",Ua:!0,L:"ytp-svg-fill",P:{d:"m 21.48,17.98 c 0,-1.77 -1.02,-3.29 -2.5,-4.03 v 2.21 l 2.45,2.45 c .03,-0.2 .05,-0.41 .05,-0.63 z m 2.5,0 c 0,.94 -0.2,1.82 -0.54,2.64 l 1.51,1.51 c .66,-1.24 1.03,-2.65 1.03,-4.15 0,-4.28 -2.99,-7.86 -7,-8.76 v 2.05 c 2.89,.86 5,3.54 5,6.71 z M 9.25,8.98 l -1.27,1.26 4.72,4.73 H 7.98 v 6 H 11.98 l 5,5 v -6.73 l 4.25,4.25 c -0.67,.52 -1.42,.93 -2.25,1.18 v 2.06 c 1.38,-0.31 2.63,-0.95 3.69,-1.81 l 2.04,2.05 1.27,-1.27 -9,-9 -7.72,-7.72 z m 7.72,.99 -2.09,2.08 2.09,2.09 V 9.98 z"}}]}]},
{G:"div",da:["ytp-unmute-text"],aa:g.V("YTP_TAP_TO_UNMUTE_SHORT")}].concat(d)}]},100);this.o=a;this.A=this.B=!1;g.Y(this.o).experiments.g("muted_autoplay_unmute_interaction_logging_killswitch")||xV(this.o,this.element,this,51663);this.O(a,"mutedautoplaychange",this.D,this);this.O(a,"presentingplayerstatechange",this.F);this.U("click",this.onClick,this);a=a.app.Z;g.qH(this,a);a&&Cra(this)};
Dra=function(a){a.B||(a.B=!0,g.jV(a.o,"mutedAutoplayClick",{}),g.Y(a.o).experiments.g("muted_autoplay_unmute_interaction_logging_killswitch")||g.yV(a.o,a.element))};
Cra=function(a){a.A||(a.A=!0,g.jV(a.o,"mutedAutoplayImpression",{}),g.Y(a.o).experiments.g("muted_autoplay_unmute_interaction_logging_killswitch")||g.zV(a.o,a.element,!0))};
RY=function(a){g.EF.call(this);var b=g.Y(a),c=g.dV(a);this.g=a;this.Wb=!1;this.I=null;this.tb=!1;this.rb=new g.Xt(this.jQ,0,this);g.N(this,this.rb);var d=new AY(a);g.N(this,d);g.uV(a,d.element,4);if(!sE("tizen")){var e=new NY(a);g.N(this,e);e=e.element;g.uV(a,e,4)}this.C=new g.wY(a);g.N(this,this.C);g.uV(a,this.C.element,4);var f=a.getVideoData();this.o=new vY(c,(0,g.A)(this.DO,this),f,b.useTabletControls);g.N(this,this.o);this.o.subscribe("autohideupdate",this.Bu,this);var k=new LY(a);g.N(this,k);
g.uV(a,k.element,4);this.ea=new QY(a);g.N(this,this.ea);g.uV(this.g,this.ea.element,2);this.wb=this.g.app.Z;this.O(a,"mutedautoplaychange",this.EO);this.Z=new g.Xt(this.mu,200,this);g.N(this,this.Z);this.sa=f.videoId;this.B=null;this.Ta=!1;this.Wa=null;this.ga=[];f=a.getRootNode();f.setAttribute("aria-label","YouTube Video Player");switch(b.color){case "white":g.S(f,"ytp-color-white")}!g.Y(a).experiments.g("disable_mediasession2")&&"mediaSession"in window.navigator&&!window.navigator.mediaSession.metadata&&
window.navigator.mediaSession.setActionHandler&&(f=new KY(a,this.C),g.N(this,f));this.O(a,"appresize",this.Ab);this.O(a,"presentingplayerstatechange",this.GS);this.O(a,"videodatachange",this.sB);this.O(a,"videoplayerreset",this.CS);this.O(a,"autonavvisibility",this.Xi,this);g.Y(a).experiments.g("player_minimized_controls_killswitch")&&this.O(a,"minimized",this.lg,this);this.O(a,"onFrescaStateChange",this.lg,this);this.O(c,"click",this.iT,this);this.O(c,"dblclick",this.jT,this);b.fa&&(this.O(c,"gesturechange",
this.kT,this),this.O(c,"gestureend",this.lT,this));this.Ca=[c.D,d.element,this.C.element];e&&this.Ca.push(e)};
SY=function(a){return g.Y(a.g).experiments.g("player_minimized_controls_killswitch")?a.g.app.I.g:!1};
TY=function(a,b){if(!b)return!1;var c=a.g.app.B;if(c.Fg()&&(c=c.la())&&g.Od(c,b))return c.controls;for(c=0;c<a.Ca.length;c++)if(g.Od(a.Ca[c],b))return!1;return g.jq(b,"ytp-player-content")||g.jq(b,"html5-endscreen")||b==a.g.getRootNode()?!1:!0};
Era=function(a,b){if(g.UV(b)&&a.g.app.Z){a.g.dg();2==a.g.Ra()&&a.g.td();var c=g.cV(a.g);!g.X(c,4)||g.X(c,8)||g.X(c,2)||a.mu();return!0}return!1};
Fra=function(a,b,c){a.g.isFullscreen()?c<1-b&&g.gV(a.g):c>1+b&&g.gV(a.g)};
VY=function(a,b,c){var d={"aria-label":g.V("YTP_CARDS_BUTTON_ARIA_LABEL"),"aria-owns":"iv-drawer","aria-haspopup":"true","data-tooltip-opaque":String(g.Y(a).H)},e={G:"span",L:"ytp-cards-button-icon-default",N:[{G:"div",L:"ytp-cards-button-icon",N:[g.MV?{G:"div",da:["ytp-icon","ytp-icon-info-card"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},N:[{G:"path",Ua:!0,L:"ytp-svg-fill",P:{d:"M18,8 C12.47,8 8,12.47 8,18 C8,23.52 12.47,28 18,28 C23.52,28 28,23.52 28,18 C28,12.47 23.52,8 18,8 L18,8 Z M17,16 L19,16 L19,24 L17,24 L17,16 Z M17,12 L19,12 L19,14 L17,14 L17,12 Z"}}]}]},
{G:"div",L:"ytp-cards-button-title",aa:g.V("YTP_CARDS_BUTTON_INFO")}]};d={G:"button",da:["ytp-button","ytp-cards-button"],P:d,N:[e,{G:"span",L:"ytp-cards-button-icon-shopping",N:[{G:"div",L:"ytp-cards-button-icon",N:[g.MV?{G:"div",da:["ytp-icon","ytp-icon-shopping-card"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},N:[{G:"path",L:"ytp-svg-shadow",P:{d:"M 27.99,18 A 9.99,9.99 0 1 1 8.00,18 9.99,9.99 0 1 1 27.99,18 z"}},{G:"path",L:"ytp-svg-fill",P:{d:"M 18,8 C 12.47,8 8,12.47 8,18 8,23.52 12.47,28 18,28 23.52,28 28,23.52 28,18 28,12.47 23.52,8 18,8 z m -4.68,4 4.53,0 c .35,0 .70,.14 .93,.37 l 5.84,5.84 c .23,.23 .37,.58 .37,.93 0,.35 -0.13,.67 -0.37,.90 L 20.06,24.62 C 19.82,24.86 19.51,25 19.15,25 c -0.35,0 -0.70,-0.14 -0.93,-0.37 L 12.37,18.78 C 12.13,18.54 12,18.20 12,17.84 L 12,13.31 C 12,12.59 12.59,12 13.31,12 z m .96,1.31 c -0.53,0 -0.96,.42 -0.96,.96 0,.53 .42,.96 .96,.96 .53,0 .96,-0.42 .96,-0.96 0,-0.53 -0.42,-0.96 -0.96,-0.96 z",
"fill-opacity":"1"}},{G:"path",L:"ytp-svg-shadow-fill",P:{d:"M 24.61,18.22 18.76,12.37 C 18.53,12.14 18.20,12 17.85,12 H 13.30 C 12.58,12 12,12.58 12,13.30 V 17.85 c 0,.35 .14,.68 .38,.92 l 5.84,5.85 c .23,.23 .55,.37 .91,.37 .35,0 .68,-0.14 .91,-0.38 L 24.61,20.06 C 24.85,19.83 25,19.50 25,19.15 25,18.79 24.85,18.46 24.61,18.22 z M 14.27,15.25 c -0.53,0 -0.97,-0.43 -0.97,-0.97 0,-0.53 .43,-0.97 .97,-0.97 .53,0 .97,.43 .97,.97 0,.53 -0.43,.97 -0.97,.97 z",fill:"#000","fill-opacity":"0.15"}}]}]},{G:"div",
L:"ytp-cards-button-title",aa:g.V("YTP_CARDS_BUTTON_SHOPPING")}]}]};g.W.call(this,d);this.o=a;this.C=b;this.D=c;this.A=null;this.B=new g.VV(this,250,!0,100);g.N(this,this.B);a=g.Y(this.o);b=g.dV(this.o).Na().width;b=a.g&&480<b;a.H&&a.experiments.g("embed_info_bar_show_actions_labels")&&g.U(this.D,"ytp-show-cards-title",b);this.hide();this.U("click",this.F);this.U("mouseover",this.H);UY(this,!0)};
UY=function(a,b){b?a.A=WY(a.C.Jb(),a.element):(a.A(),a.A=null)};
XY=function(a,b){g.W.call(this,{G:"div",L:"ytp-cards-teaser",N:[{G:"div",L:"ytp-cards-teaser-box"},{G:"div",L:"ytp-cards-teaser-text",N:[{G:"span",L:"ytp-cards-teaser-label",aa:"{{text}}"}]}]});this.A=a;this.D=new g.VV(this,250,!1,250);g.N(this,this.D);this.J=b;this.o=null;this.I=new g.Xt(this.gS,300,this);g.N(this,this.I);this.H=new g.Xt(this.eS,2E3,this);g.N(this,this.H);this.K=new g.bp(null);this.F=[];this.C=this.B=null;this.O(b.element,"mouseover",this.tB);this.O(b.element,"mouseout",this.Eh);
this.O(a,"cardsteasershow",this.GT);this.O(a,"cardsteaserhide",this.dm);this.O(a,"cardstatechange",this.JE);this.O(a,"presentingplayerstatechange",this.JE);this.U("click",this.AV);this.U("mouseenter",this.FO)};
Gra=function(a,b){a.updateValue("text",b.teaserText);a.element.setAttribute("dir",g.cp(a.K,b.teaserText));a.D.show();a.B=new g.Xt(function(){g.S(this.A.getRootNode(),"ytp-cards-teaser-shown")},0,a);
a.B.start();UY(a.J,!1);a.o=new g.Xt(a.dm,580+b.durationMs,a);a.o.start();a.F.push(a.U("mouseover",a.tB,a));a.F.push(a.U("mouseout",a.Eh,a))};
YY=function(a,b,c,d,e){var f={G:"div",L:"ytp-panel"};if(c){var k="ytp-panel-title";var l={G:"div",L:"ytp-panel-header",N:[{G:"button",da:["ytp-button",k],N:[c]}]};if(e){var m="ytp-panel-options";l.N.push({G:"button",da:["ytp-button",m],N:[d]})}f.N=[l]}g.rH.call(this,f);this.X=b;b.ua(this.element);this.fa=!1;c&&(this.O(this.g[k],"click",this.ia),this.fa=!0,e&&this.O(this.g[m],"click",e));b.subscribe("size-change",this.ga,this);this.O(a,"fullscreentoggled",this.ga)};
g.ZY=function(a,b,c,d,e){b=void 0===b?null:b;var f={role:"menu"};b&&(f.id=b);b=new g.rH({G:"div",L:"ytp-panel-menu",P:f});YY.call(this,a,b,c,d,e);this.F=b;g.N(this,this.F);this.La=[]};
g.$Y=function(a,b,c){if(void 0===c?0:c)a.La.push(b),a.F.element.appendChild(b.element);else{c=g.cb(a.La,b,Hra);if(0<=c)return;c=~c;g.Za(a.La,c,0,b);Hd(a.F.element,b.element,c)}b.subscribe("size-change",a.ba,a);a.F.T("size-change")};
g.Ira=function(a,b){b.unsubscribe("size-change",a.ba,a);a.ka()||(g.Ta(a.La,b),a.F.element.removeChild(b.element),a.F.T("size-change"))};
g.Jra=function(a){for(var b=g.p(a.La),c=b.next();!c.done;c=b.next())c.value.unsubscribe("size-change",a.ba,a);a.La=[];g.Gd(a.F.element);a.F.T("size-change")};
Hra=function(a,b){return b.priority-a.priority};
g.aZ=function(a,b){OY.call(this,a,{G:"div",da:["ytp-popup",b||null]},100,!0);this.o=[];this.size=new g.hd(0,0);this.D=this.F=null;this.M=this.R=0;this.U("keydown",this.UO)};
Kra=function(a){g.Gh(a.element,a.R||"100%",a.M||"100%");var b=bZ(a);b.element.style.width="";b.element.style.height="";b.element.style.maxWidth="100%";b.element.style.maxHeight="100%";b.X.element.style.height="";var c=g.Hh(b.element);c.width+=1;c.height+=1;b.element.style.width=c.width+"px";b.element.style.height=c.height+"px";b.element.style.maxWidth="";b.element.style.maxHeight="";var d=0;b.fa&&(d=g.Hh(b.g["ytp-panel-header"]).height);b.X.element.style.height=c.height-d+"px";a.size=c};
g.dZ=function(a,b){var c=a.o[a.o.length-1];a.o.push(b);cZ(a,c,b)};
g.eZ=function(a){var b=a.o.pop(),c=a.o[0];a.o=[c];cZ(a,b,c,!0)};
cZ=function(a,b,c,d){Lra(a);bZ(a);g.jq(c.element,"ytp-panel-animate-back")||g.jq(c.element,"ytp-panel-animate-forward");b&&(b.unsubscribe("size-change",a.Gm,a),b.unsubscribe("back",a.Ve,a));c.subscribe("size-change",a.Gm,a);c.subscribe("back",a.Ve,a);if(a.l){g.S(c.element,d?"ytp-panel-animate-back":"ytp-panel-animate-forward");c.ua(a.element);c.focus();a.element.scrollLeft=0;a.element.scrollTop=0;var e=a.size;Kra(a);g.Gh(a.element,e);a.F=new g.Xt(g.Ea(a.wV,b,c,d),20,a);a.F.start()}else c.ua(a.element),
b&&g.pH(b)};
bZ=function(a){return a.o[a.o.length-1]};
Lra=function(a){a.F&&g.Zt(a.F);a.D&&g.Zt(a.D)};
fZ=function(a){var b=g.uH({"aria-haspopup":"true"});g.tH.call(this,b,a);this.U("keydown",this.o)};
gZ=function(a,b){a.element.setAttribute("aria-haspopup",b)};
hZ=function(a,b){var c=g.uH({role:"menuitemcheckbox","aria-checked":"false"});g.tH.call(this,c,b,a,{G:"div",L:"ytp-menuitem-toggle-checkbox"});this.A=!1;this.U("click",this.J)};
iZ=function(a,b){a.A=b;a.element.setAttribute("aria-checked",a.A)};
jZ=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.Pg("/sharing_services",a);g.EE(d)};
kZ=function(a,b,c,d){g.ZY.call(this,a);this.o=a;this.K=c;this.M=d;this.C=new fZ(8);g.N(this,this.C);g.$Y(this,this.C,!0);this.C.U("click",this.qR,this);xV(a,this.C.element,this.C,28659);this.B=new fZ(7);g.N(this,this.B);g.$Y(this,this.B,!0);this.B.U("click",this.pR,this);xV(a,this.B.element,this.B,28660);this.A=new fZ(6);g.N(this,this.A);g.$Y(this,this.A,!0);this.A.U("click",this.nR,this);xV(a,this.A.element,this.A,28658);this.D=new hZ(g.V("YTP_LOOP"),5);g.N(this,this.D);g.$Y(this,this.D,!0);this.D.U("click",
this.MR,this);xV(a,this.D.element,this.D,28661);this.R=new g.tH(g.uH({href:"{{href}}",target:"_blank"},void 0,!0),4,g.V("YTP_TROUBLESHOOT_ISSUE"));g.N(this,this.R);g.$Y(this,this.R,!0);this.R.U("click",this.cT,this);this.J=new fZ(3);g.N(this,this.J);g.$Y(this,this.J,!0);this.J.U("click",this.mR,this);b=new g.tH(g.uH(),2,g.V("YTP_SHOW_VIDEO_INFO"));g.N(this,b);g.$Y(this,b,!0);b.U("click",this.xT,this);this.I=new g.rH({G:"div",da:["ytp-copytext","ytp-no-contextmenu"],P:{draggable:"false",tabindex:"1"},
aa:"{{text}}"});g.N(this,this.I);this.I.U("click",this.OQ,this);this.ea=new YY(a,this.I);g.N(this,this.ea);this.H=null;b=window.document.queryCommandSupported&&window.document.queryCommandSupported("copy");g.zI&&g.oc(43)&&(b=!0);g.RL&&!g.oc(41)&&(b=!1);b&&(this.H=new g.W({G:"textarea",L:"ytp-html5-clipboard"}),g.N(this,this.H),this.H.ua(this.element));this.O(a,"loopchange",this.LR);this.O(a,"videodatachange",this.JO);Mra(this);Nra(this,this.o.getVideoData())};
lZ=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.K.Rb():(a.I.Mb(b,"text"),g.dZ(a.K,a.ea),CX(a.I.element),a.H&&(a.H=null,Mra(a)));return d};
Nra=function(a,b){var c=g.Y(a.o),d=2!=a.o.Ra()||b.isListed;d=!c.D&&!!b.videoId&&d;"play"!=c.playerStyle?c="https://support.google.com/youtube/?p=report_playback":(c={contact_type:"playbackissue",html5:1,plid:b.playbackId,ei:b.eventId,v:b.videoId,p:"movies_playback"},b.Ka&&(c.fmt=RH(b.Ka)),b.clientPlaybackNonce&&(c.cpn=b.clientPlaybackNonce),b.yf&&(c.partnerid=b.yf),c=g.Pg("//support.google.com/googleplay/",c));g.qH(a.A,d&&b.allowEmbed);g.qH(a.C,d);g.qH(a.B,d&&!b.ya);a.R.Mb(c,"href")};
Mra=function(a){var b=!!a.H;g.sH(a.J,g.V(b?"YTP_COPY_DEBUG_INFO":"YTP_GET_DEBUG_INFO"));gZ(a.J,!b);g.sH(a.A,g.V(b?"YTP_EMBED_COPY":"YTP_GET_EMBED"));gZ(a.A,!b);g.sH(a.C,g.V(b?"YTP_COPY_VIDEO_URL":"YTP_GET_VIDEO_URL"));gZ(a.C,!b);g.sH(a.B,g.V(b?"YTP_COPY_VIDEO_URL_AT_TIME":"YTP_GET_VIDEO_URL_AT_TIME"));gZ(a.B,!b)};
Ora=function(a,b){g.zV(a.o,a.A.element,b);g.zV(a.o,a.C.element,b);g.zV(a.o,a.B.element,b);g.zV(a.o,a.D.element,b)};
mZ=function(a,b,c){g.aZ.call(this,a);this.A=a;this.fa=b;this.X=c;this.B=new g.EF(this);g.N(this,this.B);this.H=null;xV(a,this.element,this,28656);g.S(this.element,"ytp-contextmenu");Pra(this);this.hide()};
Pra=function(a){g.GF(a.B);"gvn"!=g.Y(a.A).playerStyle&&a.B.O(g.dV(a.A),"contextmenu",a.NQ)};
Qra=function(a){a.A.isFullscreen()?g.uV(a.A,a.element,9):a.ua(window.document.body)};
nZ=function(a,b,c,d,e,f){g.EF.call(this);this.g=a;this.D=c;this.B=d;this.l=e;this.C=f;this.A=new g.Xt(g.Ea(this.wB,!1),1E3,this);g.N(this,this.A);this.o="";a=g.Ea(this.jv,!1);this.O(b,"mousedown",a);this.O(c.element,"mousedown",a);this.O(b,"keydown",this.nz);this.O(c.element,"keydown",this.nz);this.O(b,"keyup",this.oz);this.O(c.element,"keyup",this.oz)};
Sra=function(a,b,c){var d=!1,e=g.Y(a.g);if(!e.ye){switch(b){case 80:c&&!e.F&&(ora(a.l),a.g.Ul(),d=!0);break;case 78:c&&!e.F&&(xY(a.l,QV(),g.V("YTP_NEXT")),a.g.ik(),d=!0);break;case 74:a.g.gd()&&(xY(a.l,g.MV?{G:"div",da:["ytp-icon","ytp-icon-rewind-ten-seconds"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},N:[{G:"path",Ua:!0,L:"ytp-svg-fill",P:{d:"M 18,11 V 7 l -5,5 5,5 v -4 c 3.3,0 6,2.7 6,6 0,3.3 -2.7,6 -6,6 -3.3,0 -6,-2.7 -6,-6 h -2 c 0,4.4 3.6,8 8,8 4.4,0 8,-3.6 8,-8 0,-4.4 -3.6,-8 -8,-8 z M 16.9,22 H 16 V 18.7 L 15,19 v -0.7 l 1.8,-0.6 h .1 V 22 z m 4.3,-1.8 c 0,.3 0,.6 -0.1,.8 l -0.3,.6 c 0,0 -0.3,.3 -0.5,.3 -0.2,0 -0.4,.1 -0.6,.1 -0.2,0 -0.4,0 -0.6,-0.1 -0.2,-0.1 -0.3,-0.2 -0.5,-0.3 -0.2,-0.1 -0.2,-0.3 -0.3,-0.6 -0.1,-0.3 -0.1,-0.5 -0.1,-0.8 v -0.7 c 0,-0.3 0,-0.6 .1,-0.8 l .3,-0.6 c 0,0 .3,-0.3 .5,-0.3 .2,0 .4,-0.1 .6,-0.1 .2,0 .4,0 .6,.1 .2,.1 .3,.2 .5,.3 .2,.1 .2,.3 .3,.6 .1,.3 .1,.5 .1,.8 v .7 z m -0.9,-0.8 v -0.5 c 0,0 -0.1,-0.2 -0.1,-0.3 0,-0.1 -0.1,-0.1 -0.2,-0.2 -0.1,-0.1 -0.2,-0.1 -0.3,-0.1 -0.1,0 -0.2,0 -0.3,.1 l -0.2,.2 c 0,0 -0.1,.2 -0.1,.3 v 2 c 0,0 .1,.2 .1,.3 0,.1 .1,.1 .2,.2 .1,.1 .2,.1 .3,.1 .1,0 .2,0 .3,-0.1 l .2,-0.2 c 0,0 .1,-0.2 .1,-0.3 v -1.5 z"}}]}),
a.g.pe(-10*a.g.Hc()),d=!0);break;case 76:a.g.gd()&&(xY(a.l,g.MV?{G:"div",da:["ytp-icon","ytp-icon-forward-ten-seconds"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},N:[{G:"path",Ua:!0,L:"ytp-svg-fill",P:{d:"m 10,19 c 0,4.4 3.6,8 8,8 4.4,0 8,-3.6 8,-8 h -2 c 0,3.3 -2.7,6 -6,6 -3.3,0 -6,-2.7 -6,-6 0,-3.3 2.7,-6 6,-6 v 4 l 5,-5 -5,-5 v 4 c -4.4,0 -8,3.6 -8,8 z m 6.8,3 H 16 V 18.7 L 15,19 v -0.7 l 1.8,-0.6 h .1 V 22 z m 4.3,-1.8 c 0,.3 0,.6 -0.1,.8 l -0.3,.6 c 0,0 -0.3,.3 -0.5,.3 C 20,21.9 19.8,22 19.6,22 19.4,22 19.2,22 19,21.9 18.8,21.8 18.7,21.7 18.5,21.6 18.3,21.5 18.3,21.3 18.2,21 18.1,20.7 18.1,20.5 18.1,20.2 v -0.7 c 0,-0.3 0,-0.6 .1,-0.8 l .3,-0.6 c 0,0 .3,-0.3 .5,-0.3 .2,0 .4,-0.1 .6,-0.1 .2,0 .4,0 .6,.1 .2,.1 .3,.2 .5,.3 .2,.1 .2,.3 .3,.6 .1,.3 .1,.5 .1,.8 v .7 z m -0.8,-0.8 v -0.5 c 0,0 -0.1,-0.2 -0.1,-0.3 0,-0.1 -0.1,-0.1 -0.2,-0.2 -0.1,-0.1 -0.2,-0.1 -0.3,-0.1 -0.1,0 -0.2,0 -0.3,.1 l -0.2,.2 c 0,0 -0.1,.2 -0.1,.3 v 2 c 0,0 .1,.2 .1,.3 0,.1 .1,.1 .2,.2 .1,.1 .2,.1 .3,.1 .1,0 .2,0 .3,-0.1 l .2,-0.2 c 0,0 .1,-0.2 .1,-0.3 v -1.5 z"}}]}),
a.g.pe(10*a.g.Hc()),d=!0);break;case 77:a.g.isMuted()?(a.g.dg(),zY(a.l,a.g.getVolume(),!1)):(a.g.mute(),zY(a.l,0,!0));d=!0;break;case 75:e.F||(d=!g.JP(g.cV(a.g)),yY(a.l,d),d?a.g.td():a.g.hd(),d=!0);break;case 190:if(c){if(e.ia)for(b=a.g.gk(),c=a.g.Hc(),e=0;e<b.length-1;e++)b[e]==c&&(d=b[e+1],a.g.Se(d,!0),nra(a.l,d,!1),d=!0)}else a.g.gd()&&(Rra(a,1),d=!0);break;case 188:if(c){if(e.ia)for(b=a.g.gk(),c=a.g.Hc(),e=b.length-1;1<=e;e--)b[e]==c&&(d=b[e-1],a.g.Se(d,!0),nra(a.l,d,!0),d=!0)}else a.g.gd()&&
(Rra(a,-1),d=!0);break;case 70:Bqa(a.g)&&(g.gV(a.g),d=!0)}d&&a.B.gc(2,!0)}return d};
pZ=function(a,b,c,d){var e=g.WU(a.g).l;if(!e||!e.loaded)return!1;e=a.g.Hi();for(var f,k=0;k<g.oZ.length;k++){var l=g.oZ[k];if(l.option==b){f=l.options;break}}var m;for(k=0;k<f.length;k++)f[k].option==e[b]&&(m=k);if(d)if(c){if(0==m)return!1}else if(m==f.length-1)return!1;d={};d[b]=f[(m+(c?f.length-1:1))%f.length].option;a.g.Zo(d);a.wB(!0);a.A.start();return!0};
Rra=function(a,b){a.g.gd();if(g.X(g.cV(a.g),4)){var c=a.g.getVideoData().Ka;c&&(c=c.video)&&a.g.pe(b/(c.fps||30))}};
qZ=function(a,b){g.W.call(this,{G:"div",L:"ytp-pause-overlay"});this.o=a;this.ba=b;this.B=new g.EF(this);g.N(this,this.B);this.R=new g.VV(this,250,!1,100);g.N(this,this.R);var c=g.Y(a);this.D=[];this.A=[];this.F=0;this.ea=c.g;this.Z=!1;this.M=new g.W({G:"h2",L:"ytp-related-title",aa:"{{title}}"});g.N(this,this.M);this.M.ua(this.element);this.H=new g.W({G:"div",L:"ytp-suggestions"});g.N(this,this.H);this.H.ua(this.element);this.K=new g.W({G:"button",da:["ytp-button","ytp-previous"],P:{"aria-label":g.V("YTP_PREVIOUS")},
N:[g.NV()]});g.N(this,this.K);this.K.ua(this.element);this.K.U("click",this.WO,this);c=g.zI||g.cf?{style:"will-change: opacity"}:null;this.fa=new CY((0,g.A)(this.xB,this));g.N(this,this.fa);for(var d=this.ga=this.X=this.C=0;16>d;d++){var e=new g.W({G:"a",L:"ytp-suggestion-link",P:{href:"{{link}}",target:"_blank","aria-label":"{{aria_label}}"},N:[{G:"div",L:"ytp-suggestion-image"},{G:"div",L:"ytp-suggestion-overlay",P:c,N:[{G:"div",L:"ytp-suggestion-title",aa:"{{title}}"},{G:"div",L:"ytp-suggestion-author",
aa:"{{author_and_views}}"},{G:"div",L:"ytp-suggestion-duration",aa:"{{duration}}"}]}]});g.N(this,e);e.ua(this.H.element);var f=e.g["ytp-suggestion-link"];g.nh(f,"transitionDelay",d/20+"s");this.B.O(f,"click",g.Ea(this.XO,d));this.D.push(e)}this.J=new g.W({G:"button",da:["ytp-button","ytp-next"],P:{"aria-label":g.V("YTP_NEXT")},N:[g.OV()]});g.N(this,this.J);this.J.ua(this.element);this.J.U("click",this.VO,this);c={"aria-label":g.V("YTP_CLOSE")};c=new g.W({G:"button",da:["ytp-button","ytp-collapse"],
P:c,N:[g.MV?{G:"div",da:["ytp-icon","ytp-icon-small-close"]}:{G:"svg",P:{height:"100%",viewBox:"0 0 16 16",width:"100%"},N:[{G:"path",P:{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.N(this,c);c.ua(this.element);c.U("click",this.yQ,this);this.I=new g.W({G:"button",da:["ytp-button","ytp-expand"],aa:g.V("YTP_MORE_VIDEOS")});g.N(this,this.I);this.I.ua(this.element);this.I.U("click",this.AQ,this);this.B.O(this.o,"appresize",this.ou);this.B.O(this.o,"fullscreentoggled",
this.YO);this.B.O(this.o,"presentingplayerstatechange",this.ZO);this.B.O(this.o,"videodatachange",this.aP);this.ou(g.dV(this.o).Na())};
Tra=function(a,b){var c=g.ad(b,a.F-a.A.length*(a.X+8),0);a.fa.start(a.C,c,1E3);a.C=c;rZ(a)};
rZ=function(a){var b=a.ba.sd();b=a.ga/2+(b?32:16);a.J.element.style.bottom=b+"px";a.K.element.style.bottom=b+"px";b=a.C;var c=a.F-a.A.length*(a.X+8);g.U(a.element,"ytp-scroll-min",0<=b);g.U(a.element,"ytp-scroll-max",b<=c)};
Vra=function(a){for(var b=g.Y(a.o),c=0;c<a.A.length;c++){var d=a.A[c].Zb(),e=a.D[c],f=d.shortViewCount?d.author+" \u2022 "+d.shortViewCount:d.author;e.element.style.display="";Ura.test(d.title)&&(e.g["ytp-suggestion-title"].dir="rtl");Ura.test(f)&&(e.g["ytp-suggestion-author"].dir="rtl");e.update({author_and_views:f,duration:d.lengthSeconds?g.TV(d.lengthSeconds):0,link:d.ul(b),title:d.title,aria_label:d.Sk||null});e=e.g["ytp-suggestion-image"];d=d.dd(b);e.style.backgroundImage=d?"url("+d+")":""}for(;c<
a.D.length;c++)a.D[c].element.style.display="none";rZ(a)};
sZ=function(a,b,c){var d=b.Zb(c),e=g.Y(a),f=d.dd(e,"default.jpg");g.W.call(this,{G:"a",da:["ytp-video-menu-item","ytp-button"],P:{role:"menuitemradio","aria-label":d.title,href:e.getVideoUrl(d.videoId,b.listId?b.listId.toString():null)},N:[{G:"div",L:"ytp-video-menu-item-index",aa:String(c+1)},{G:"div",L:"ytp-video-menu-item-now-playing",aa:"\u25b6"},{G:"div",L:"ytp-video-menu-item-thumbnail",P:{style:f?"background-image: url("+f+");":null}},{G:"div",L:"ytp-video-menu-item-title",aa:d.title},{G:"div",
L:"ytp-video-menu-item-author",aa:d.author}]});this.o=a;this.Eb=c;this.U("click",this.A)};
tZ=function(a){OY.call(this,a,{G:"div",L:"ytp-playlist-menu",P:{role:"dialog",id:jH()},N:[{G:"div",L:"ytp-playlist-menu-header",N:[{G:"div",L:"ytp-playlist-menu-title",N:[{G:"a",L:"ytp-playlist-menu-title-name",P:{href:"{{playlisturl}}"},aa:"{{title}}"},{G:"button",da:["ytp-playlist-menu-close","ytp-button"],P:{"aria-label":g.V("YTP_CLOSE")},N:[g.PV()]}]},{G:"div",L:"ytp-playlist-menu-subtitle",aa:"{{subtitle}}"}]},{G:"div",L:"ytp-playlist-menu-items",P:{role:"menu"}}]},250);this.O(this.g["ytp-playlist-menu-close"],
"click",this.Rb);this.O(this.g["ytp-playlist-menu-title-name"],"click",this.IT);this.A=a;this.B=this.H=this.o=null;this.La=this.g["ytp-playlist-menu-items"];this.F=new g.EF(this);g.N(this,this.F);this.D=[];this.hide()};
Wra=function(a,b){if(a.o!=b)if(a.o&&a.o.unsubscribe("shuffle",a.Ip,a),a.o=b,a.H=null,b){b.subscribe("shuffle",a.Ip,a);var c=b.author;a.update({title:b.title,subtitle:g.V(c?"YTP_PLAYLIST_AUTHOR_AND_POSITION":"YTP_PLAYLIST_POSITION",{AUTHOR:c,CURRENT_POSITION:String(b.ie()+1),PLAYLIST_LENGTH:String(b.getLength())}),playlisturl:a.A.getVideoUrl(!0)});a.Ip()}else a.l&&a.hide();else a.o&&a.Ip()};
uZ=function(a,b,c){var d={title:"{{title}}","aria-owns":String(c.element.id),"aria-haspopup":"true","aria-label":g.V("YTP_PLAYLIST")};g.W.call(this,{G:"button",da:["ytp-playlist-menu-button","ytp-button"],P:d,N:[{G:"div",L:"ytp-playlist-menu-button-icon",N:[g.MV?{G:"div",da:["ytp-icon","ytp-icon-playlist"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},N:[{G:"path",Ua:!0,P:{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"}}]}]},{G:"div",L:"ytp-playlist-menu-button-text",aa:"{{text}}"}]});this.B=a;this.o=null;this.C=b.Jb();this.O(a,"videodatachange",this.D);this.O(a,"onPlaylistUpdate",this.D);this.O(a,"presentingplayerstatechange",this.A);this.O(a,"appresize",this.A);this.hide();this.D();g.Ye(this,WY(this.C,this.element));this.U("click",(0,g.A)(c.Lh,c,this.element,!1))};
vZ=function(a,b){g.W.call(this,{G:"button",da:["ytp-replay-button","ytp-button"],P:{title:g.V("YTP_REPLAY")},N:[g.RV()]});this.o=a;this.O(a,"presentingplayerstatechange",this.B);this.U("click",this.A,this);var c=g.cV(a);g.qH(this,g.X(c,2));WY(b.Jb(),this.element)};
wZ=function(a,b){var c=jH();c={G:"div",L:"ytp-share-panel",P:{id:jH(),role:"dialog","aria-labelledby":c},N:[{G:"button",da:["ytp-share-panel-close","ytp-button"],P:{title:g.V("YTP_CLOSE")},N:[g.PV()]},{G:"div",L:"ytp-share-panel-inner-content",N:[{G:"div",L:"ytp-share-panel-title",P:{id:c},aa:g.V("YTP_SHARE")},{G:"a",da:["ytp-share-panel-link","ytp-no-contextmenu"],P:{href:"{{link}}",target:"_blank",title:g.V("YTP_SHARE_LINK"),"aria-label":g.V("YTP_SHARE_LINK")},aa:"{{linkText}}"},{G:"label",L:"ytp-share-panel-include-playlist",
N:[{G:"input",L:"ytp-share-panel-include-playlist-checkbox",P:{type:"checkbox",checked:!0}},g.V("YTP_SHARE_WITH_PLAYLIST_2")]},{G:"div",L:"ytp-share-panel-loading-spinner",N:[AX()]},{G:"div",L:"ytp-share-panel-service-buttons",aa:"{{buttons}}"},{G:"div",L:"ytp-share-panel-error",aa:g.V("YTP_SHARE_PANEL_ERROR")}]}]};OY.call(this,a,c,250);this.o=a;this.A=b.Jb();this.B=[];this.M=this.g["ytp-share-panel-inner-content"];this.F=this.g["ytp-share-panel-close"];this.O(this.F,"click",this.Rb);g.Ye(this,WY(this.A,
this.F));this.H=this.g["ytp-share-panel-include-playlist-checkbox"];this.O(this.H,"click",this.BB);this.D=this.g["ytp-share-panel-link"];g.Ye(this,WY(this.A,this.D));this.U("click",this.vS);this.O(a,"videoplayerreset",this.hide);this.O(a,"fullscreentoggled",this.kP);this.hide()};
Xra=function(a){switch(a){case "facebook":return g.MV?{G:"div",da:["ytp-icon","ytp-icon-share-facebook"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 38 38",width:"100%"},N:[{G:"rect",P:{fill:"#fff",height:"34",width:"34",x:"2",y:"2"}},{G:"path",P:{d:"M 34.2,0 3.8,0 C 1.70,0 .01,1.70 .01,3.8 L 0,34.2 C 0,36.29 1.70,38 3.8,38 l 30.4,0 C 36.29,38 38,36.29 38,34.2 L 38,3.8 C 38,1.70 36.29,0 34.2,0 l 0,0 z m -1.9,3.8 0,5.7 -3.8,0 c -1.04,0 -1.9,.84 -1.9,1.9 l 0,3.8 5.7,0 0,5.7 -5.7,0 0,13.3 -5.7,0 0,-13.3 -3.8,0 0,-5.7 3.8,0 0,-4.75 c 0,-3.67 2.97,-6.65 6.65,-6.65 l 4.75,0 z",
fill:"#39579b"}}]};case "googleplus":return g.MV?{G:"div",da:["ytp-icon","ytp-icon-share-googleplus"]}:{G:"svg",P:{height:"100%",version:"1.0",viewBox:"0 0 38 38",width:"100%"},N:[{G:"rect",P:{fill:"#fff",height:"34",width:"34",x:"2",y:"2"}},{G:"path",P:{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.MV?{G:"div",da:["ytp-icon","ytp-icon-share-twitter"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 38 38",width:"100%"},N:[{G:"rect",P:{fill:"#fff",height:"34",width:"34",x:"2",y:"2"}},{G:"path",P:{d:"M 34.2,0 3.8,0 C 1.70,0 .01,1.70 .01,3.8 L 0,34.2 C 0,36.29 1.70,38 3.8,38 l 30.4,0 C 36.29,38 38,36.29 38,34.2 L 38,3.8 C 38,1.70 36.29,0 34.2,0 l 0,0 z M 29.84,13.92 C 29.72,22.70 24.12,28.71 15.74,29.08 12.28,29.24 9.78,28.12 7.6,26.75 c 2.55,.40 5.71,-0.60 7.41,-2.06 -2.50,-0.24 -3.98,-1.52 -4.68,-3.56 .72,.12 1.48,.09 2.17,-0.05 -2.26,-0.76 -3.86,-2.15 -3.95,-5.07 .63,.28 1.29,.56 2.17,.60 C 9.03,15.64 7.79,12.13 9.21,9.80 c 2.50,2.75 5.52,4.99 10.47,5.30 -1.24,-5.31 5.81,-8.19 8.74,-4.62 1.24,-0.23 2.26,-0.71 3.23,-1.22 -0.39,1.23 -1.17,2.09 -2.11,2.79 1.03,-0.14 1.95,-0.38 2.73,-0.77 -0.47,.99 -1.53,1.9 -2.45,2.66 l 0,0 z",
fill:"#01abf0"}}]};default:return null}};
Yra=function(a){for(var b=g.p(a.B),c=b.next();!c.done;c=b.next())c=c.value,g.pH(c),g.Ze(c);a.B=[]};
xZ=function(a,b,c,d){g.W.call(this,{G:"button",da:["ytp-button","ytp-share-button"],P:{title:g.V("YTP_SHARE"),"aria-haspopup":"true","aria-owns":c.element.id,"data-tooltip-opaque":String(g.Y(a).H)},N:[{G:"div",L:"ytp-share-icon",N:[g.MV?{G:"div",da:["ytp-icon","ytp-icon-sharrow"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},N:[{G:"path",Ua:!0,L:"ytp-svg-fill",P:{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"}}]}]},
{G:"div",L:"ytp-share-title",aa:"{{share}}"}]});this.o=a;this.B=d;this.H=c;this.D=this.A=!1;xV(a,this.element,this,28664);this.U("click",this.F);this.O(a,"videodatachange",this.C);this.O(a,"appresize",this.C);this.C();g.Ye(this,WY(b.Jb(),this.element))};
yZ=function(a){OY.call(this,a,{G:"button",da:["ytp-skip-intro-button","ytp-popup","ytp-button"],N:[{G:"div",L:"ytp-skip-intro-button-text",aa:g.V("YTP_SKIP_INTRO")}]},100);var b=this;this.o=a;this.F=!1;this.D=new g.Xt(function(){return b.hide()},5E3);
g.N(this,this.D);this.A=this.B=window.NaN;this.R=function(){return b.show()};
this.M=function(){return b.hide()};
this.H=this.X.bind(this);this.O(this.o,"videodatachange",function(a,d){if("dataloaded"==a)if(b.B=d.Sz,b.A=d.Rz,(0,window.isNaN)(b.B)||(0,window.isNaN)(b.A))b.F&&(g.sV(b.o,"intro"),b.o.removeEventListener("crn_intro",b.R),b.o.removeEventListener("crx_intro",b.M),b.o.removeEventListener("onShowControls",b.H),b.hide(),b.F=!1);else{b.o.addEventListener("crn_intro",b.R);b.o.addEventListener("crx_intro",b.M);b.o.addEventListener("onShowControls",b.H);var c=new g.rQ(b.B,b.A,{priority:7,namespace:"intro"});
g.pV(b.o,[c]);b.F=!0}});
this.O(this.element,"click",function(){b.o.ac(b.A/1E3)});
this.hide()};
zZ=function(a,b){g.W.call(this,{G:"button",da:["ytp-airplay-button","ytp-button"],P:{title:g.V("YTP_AIRPLAY")},aa:"{{icon}}"});this.o=a;this.U("click",this.B);this.O(a,"airplayactivechange",this.A);this.O(a,"airplayavailabilitychange",this.A);this.A();g.Ye(this,WY(b.Jb(),this.element))};
AZ=function(a){g.rH.call(this,{G:"div",L:"ytp-gradient-bottom"});this.A=g.Cd("CANVAS");this.A.width=1;this.o=this.A.getContext("2d");this.B=window.NaN;Zra(this,g.dV(a).Na().height)};
Zra=function(a,b){if(a.o){var c=Math.floor(.4*b);c=Math.max(c,47);var d=c+2;if(a.B!=d){a.B=d;a.A.height=d;a.o.clearRect(0,0,1,d);var e=a.o.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.o.fillStyle=e;a.o.fillRect(0,2,1,c);a.element.style.height=d+"px";a.element.style.backgroundImage="url("+a.A.toDataURL()+")"}}};
BZ=function(a,b,c,d,e){var f=b.xu/b.rows,k=Math.min(c/(b.yu/b.columns),d/f),l=b.yu*k,m=b.xu*k;l=Math.floor(l/b.columns)*b.columns;m=Math.floor(m/b.rows)*b.rows;var n=l/b.columns,q=m/b.rows,r=-b.column*n,v=-b.row*q;e&&45>=f&&(q-=1/k);n-=2/k;a=a.style;a.width=n+"px";a.height=q+"px";e||(d=(d-q)/2,c=(c-n)/2,a.marginTop=Math.floor(d)+"px",a.marginBottom=Math.ceil(d)+"px",a.marginLeft=Math.floor(c)+"px",a.marginRight=Math.ceil(c)+"px");a.background="url("+b.url+") "+r+"px "+v+"px/"+l+"px "+m+"px";if(e)return new g.hd(n,
q)};
CZ=function(a,b){g.rH.call(this,{G:"div",L:"ytp-storyboard",N:[{G:"div",L:"ytp-storyboard-filmstrip",N:[{G:"div",L:"ytp-storyboard-thumbnail"}]},{G:"div",L:"ytp-storyboard-lens",N:[{G:"div",L:"ytp-storyboard-lens-thumbnail"},{G:"div",L:"ytp-storyboard-lens-timestamp-wrapper",N:[{G:"span",L:"ytp-storyboard-lens-timestamp"}]}]}]});this.A=a;this.X=b.Jb();this.M=new g.Vk(this.xL,250,this);g.N(this,this.M);this.I=g.dV(a).Na().width;this.o=this.g["ytp-storyboard-filmstrip"];this.ea=this.g["ytp-storyboard-lens"];
this.fa=this.g["ytp-storyboard-lens-thumbnail"];this.ga=this.g["ytp-storyboard-lens-timestamp"];this.ba=this.g["ytp-storyboard-thumbnail"];g.Id(this.ba);this.J=0;this.R=!1;this.K=this.C=this.B=window.NaN;this.Lb=this.D=null;this.F=new g.EF(this);g.N(this,this.F);this.H=new g.VV(this,100);g.N(this,this.H);this.O(this.A,"appresize",this.SJ);this.O(this.A,"presentingplayerstatechange",this.NO)};
DZ=function(a,b){var c=!!a.Lb;c&&a.Lb.unsubscribe("l",a.kq,a);a.Lb=b&&g.PO(b);a.R=!!b&&b.ya;a.Lb?(c||(a.F.O(a.A,"videodatachange",a.OO),a.F.O(a.A,"progresssync",a.ip),a.F.O(a.A,"videoplayerreset",a.ip)),a.Lb.subscribe("l",a.kq,a),a.K=window.NaN,a.B=window.NaN,a.C=window.NaN,a.ip(),a.H.show(200)):(c&&g.GF(a.F),a.M.stop(),g.nG(a.J),a.H.hide(),a.H.stop())};
$ra=function(a,b,c,d){var e=a.ba.cloneNode(!1);a=tN(a.Lb,b,c);BZ(e,a,c,d);return e};
EZ=function(a){g.W.call(this,{G:"div",L:"ytp-storyboard-framepreview",N:[{G:"div",L:"ytp-storyboard-framepreview-img"}]});this.D=this.g["ytp-storyboard-framepreview-img"];this.o=a;this.Lb=null;this.C=window.NaN;this.A=new g.EF(this);g.N(this,this.A);this.B=new g.VV(this,100);g.N(this,this.B);this.O(this.o,"presentingplayerstatechange",this.PO)};
GZ=function(a,b){var c=!!a.Lb;a.Lb=b&&g.PO(b);a.Lb?(c||(a.A.O(a.o,"videodatachange",a.RO),a.A.O(a.o,"progresssync",a.QO),a.A.O(a.o,"appresize",a.TJ)),a.C=window.NaN,FZ(a),a.B.show(200)):(c&&g.GF(a.A),a.B.hide(),a.B.stop())};
FZ=function(a){var b=a.o.getCurrentTime(),c=g.dV(a.o).Na(),d=sN(a.Lb,c.width);b=a.Lb.g[d].kk(b);b!=a.C&&(a.C=b,vN(a.Lb,b,c.width),b=tN(a.Lb,b,c.width),BZ(a.D,b,c.width,c.height))};
HZ=function(a,b){g.W.call(this,{G:"button",da:["ytp-fullscreen-button","ytp-button"],P:{title:"{{title}}"},aa:"{{icon}}"});this.A=a;this.D=b;this.o=null;this.B=WY(b.Jb(),this.element);this.C=new g.Xt(this.DI,2E3,this);g.N(this,this.C);this.O(a,"fullscreentoggled",this.VD);this.O(a,"presentingplayerstatechange",this.vB);this.U("click",this.SO);if(fF()){var c=g.dV(this.A);this.O(c,Lja(),this.tC);this.O(c,iF(window.document),this.TO)}g.Y(a).fa||asa(this);this.vB();this.VD(a.isFullscreen())};
asa=function(a){if(!a.o){var b=g.V(null!=eF(["requestFullscreen","webkitRequestFullscreen","mozRequestFullScreen","msRequestFullscreen"],window.document.body)?"YTP_FULLSCREEN_GENERIC_ERROR":"YTP_FULLSCREEN_UNSUPPORTED_ERROR").split(/\$(BEGIN|END)_LINK/);a.o=new OY(a.A,{G:"div",da:["ytp-popup","ytp-generic-popup"],P:{role:"alert",tabindex:"0"},N:[b[0],{G:"a",P:{href:"https://support.google.com/youtube/answer/6276924",target:"_blank"},aa:b[2]},b[4]]},100,!0);a.o.hide();g.N(a,a.o);a.o.subscribe("show",
(0,g.A)(a.D.Ln,a.D,a.o));g.uV(a.A,a.o.element,4);a.element.setAttribute("aria-disabled",!0);a.element.setAttribute("aria-haspopup",!0);a.B();a.B=null}};
IZ=function(a,b){g.W.call(this,{G:"button",da:["ytp-miniplayer-button","ytp-button"],P:{title:g.V("YTP_MINIPLAYER_BUTTON")},N:[fpa()]});this.o=a;this.U("click",this.A);g.Ye(this,WY(b.Jb(),this.element))};
JZ=function(a){var b={G:"div",L:"ytp-multicam-menu",P:{role:"dialog"},N:[{G:"div",L:"ytp-multicam-menu-header",N:[{G:"div",L:"ytp-multicam-menu-title",N:[g.V("YTP_SWITCH_CAMERA"),{G:"button",da:["ytp-multicam-menu-close","ytp-button"],P:{"aria-label":g.V("YTP_CLOSE")},N:[g.PV()]}]}]},{G:"div",L:"ytp-multicam-menu-items"}]};OY.call(this,a,b,250);this.B=new g.EF(this);g.N(this,this.B);this.O(this.g["ytp-multicam-menu-close"],"click",this.Rb);this.o=a;this.La=this.g["ytp-multicam-menu-items"];this.A=
[];this.hide()};
KZ=function(a,b,c){g.W.call(this,{G:"button",da:["ytp-multicam-button","ytp-button"],P:{title:g.V("YTP_SWITCH_CAMERA"),"aria-haspopup":"true","data-preview":"{{preview}}","data-tooltip-text":"{{text}}"},N:[g.MV?{G:"div",da:["ytp-icon","ytp-icon-switch-camera"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},N:[{G:"path",Ua:!0,P:{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.o=a;this.C=!1;this.A=b.Jb();this.D=new g.Xt(this.H,400,this);g.N(this,this.D);this.U("click",(0,g.A)(c.Lh,c,this.element,!1));this.O(a,"presentingplayerstatechange",g.Ea(this.B,!1));this.O(a,"videodatachange",this.F);this.B(!0);g.Ye(this,WY(this.A,this.element))};
LZ=function(){g.M.call(this);this.B=null;this.A=this.g=0;this.o=new g.Ut(this.l,null,this);g.N(this,this.o)};
bsa=function(a,b){if("path"==b.G)return b.P.d;if(b.N)for(var c=0;c<b.N.length;c++){var d=b.N[c];if(d&&!g.w(d)&&(d=bsa(a,d)))return d}};
esa=function(a,b,c){c=bsa(a,c);var d=b.getElementsByTagName("path")[0],e=d.getAttribute("d");if(d.getAttribute("id")){var f=jH();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=csa(e),m=csa(c);MZ(a,function(a){d.setAttribute("d",dsa(l,m,a))},200)};
MZ=function(a,b,c){a.B=b;a.A=g.gG();a.g=c;a.l()};
csa=function(a){var b=[];a=a.match(fsa);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};
dsa=function(a,b,c){for(var d="",e=0;e<a.length;e++){var f=a[e];d=g.ua(f)?d+(f+(b[e]-f)*c):d+f}return d};
NZ=function(a,b){var c=g.Y(a);g.W.call(this,{G:"button",da:["ytp-mute-button","ytp-button"],P:c.I?{title:"{{title}}"}:{"aria-disabled":"true","aria-haspopup":"true"},aa:"{{icon}}"});this.updateValue("icon",SV());this.o=a;this.ea=b.Jb();this.I=this.K=this.J=this.R=window.NaN;this.F=[];this.D=[];this.H=this.B=!1;g.Y(this.o).B||(this.A=new g.lH({G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},N:[{G:"defs",N:[{G:"clipPath",P:{id:"ytp-svg-volume-animation-mask"},N:[{G:"path",P:{d:"m 14.35,-0.14 -5.86,5.86 20.73,20.78 5.86,-5.91 z"}},
{G:"path",P:{d:"M 7.07,6.87 -1.11,15.33 19.61,36.11 27.80,27.60 z"}},{G:"path",L:"ytp-svg-volume-animation-mover",P:{d:"M 9.09,5.20 6.47,7.88 26.82,28.77 29.66,25.99 z"}}]},{G:"clipPath",P:{id:"ytp-svg-volume-animation-slash-mask"},N:[{G:"path",L:"ytp-svg-volume-animation-mover",P:{d:"m -11.45,-15.55 -4.44,4.51 20.45,20.94 4.55,-4.66 z"}}]}]},{G:"path",Ua:!0,da:["ytp-svg-fill","ytp-svg-volume-animation-speaker"],P:{"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"}},{G:"path",Ua:!0,da:["ytp-svg-fill","ytp-svg-volume-animation-hider"],P:{"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.N(this,this.A),this.X=this.A.g["ytp-svg-volume-animation-speaker"],this.ia=this.X.getAttribute("d"),this.F=g.pd("ytp-svg-volume-animation-mover",this.A.element),this.D=g.pd("ytp-svg-volume-animation-hider",this.A.element));this.C=null;this.Z=new LZ;g.N(this,this.Z);this.M=new LZ;g.N(this,this.M);
this.U("click",this.ga);this.O(a,"appresize",this.Rc);this.O(a,"onVolumeChange",this.fa);var d=null;c.I?g.Ye(this,WY(b.Jb(),this.element)):(c=g.V("YTP_VOLUME_UNSUPPORTED_ERROR").split(/\$(BEGIN|END)_LINK/),d=new OY(a,{G:"span",da:["ytp-popup","ytp-generic-popup"],P:{tabindex:"0"},N:[c[0],{G:"a",P:{href:"https://support.google.com/youtube/?p=noaudio",target:"_blank"},aa:c[2]},c[4]]},100,!0),g.N(this,d),d.hide(),d.subscribe("show",(0,g.A)(b.Ln,b,d)),g.uV(a,d.element,4));this.ba=d;xV(a,this.element,
this,28662);this.Rc(g.dV(a).Na());gsa(this,a.getVolume(),a.isMuted())};
gsa=function(a,b,c){var d=c?0:b/100,e=g.Y(a.o);if(e.B)d=0==d?SV():0<d&&.5>d?mpa():lpa(),d!=a.C&&(a.updateValue("icon",d),a.C=d);else{b=0==d?1:50<b?1:0;if(a.J!=b){var f=a.R;(0,window.isNaN)(f)?hsa(a,b):MZ(a.Z,(0,g.A)(function(a){hsa(this,f+(this.J-f)*a)},a),250);
a.J=b}d=0==d?1:0;if(a.I!=d){var k=a.K;(0,window.isNaN)(k)?isa(a,d):MZ(a.M,(0,g.A)(function(a){isa(this,k+(this.I-k)*a)},a),250);
a.I=d}}e.I&&(a.updateValue("title",c?g.V("YTP_UNMUTE"):g.V("YTP_MUTE")),OZ(a.ea))};
hsa=function(a,b){a.R=b;var c=a.ia;b&&(c+=dsa(jsa,ksa,b));a.X.setAttribute("d",c)};
isa=function(a,b){a.K=b;for(var c=20*b,d=0;d<a.F.length;d++)a.F[d].setAttribute("transform","translate("+c+", "+c+")");var e;1==b?e=SV():e=a.A;for(c=0;c<a.D.length;c++)a.D[c].style.display=0==b?"none":"";e!=a.C&&(a.updateValue("icon",e),a.C=e)};
PZ=function(a,b){g.W.call(this,{G:"button",da:["ytp-pip-button","ytp-button"],P:{title:g.V("YTP_PIP")},N:[fpa()]});this.o=a;this.U("click",this.A);g.Ye(this,WY(b.Jb(),this.element))};
g.QZ=function(a,b){g.W.call(this,{G:"button",da:["ytp-play-button","ytp-button"],P:{title:"{{title}}","aria-label":"{{label}}"},aa:"{{icon}}"});this.A=a;this.B=null;this.C=b.Jb();this.o=null;this.D=new LZ;g.N(this,this.D);this.O(a,"fullscreentoggled",this.F);this.O(a,"presentingplayerstatechange",this.H);this.O(a,"videodatachange",this.F);lsa(this,g.cV(a));this.U("click",this.I,this)};
msa=function(a){switch(a){case 1:return gpa();case 2:return epa();case 3:return g.RV();case 4:return kpa();default:return null}};
lsa=function(a,b){var c=g.TO(a.A.getVideoData()),d=!1;if(g.JP(b))var e=c?4:2;else g.X(b,2)?(e=3,d=c):e=1;a.element.disabled=d;if(a.B!=e){switch(e){case 2:var f=g.V("YTP_PAUSE");break;case 3:f=g.V("YTP_REPLAY");break;case 1:f=g.V("YTP_PLAY");break;case 4:f=g.V("YTP_STOP")}3==e?(a.o||(a.o=WY(a.C,a.element)),a.update({title:f,label:null,icon:msa(e)})):(a.o&&(a.o(),a.o=null),a.update({title:null,label:f}),(c=msa(e))&&a.B&&3!=a.B&&!g.Y(a.A).B?esa(a.D,a.element,c):a.updateValue("icon",c));OZ(a.C);a.B=e}};
g.SZ=function(a,b,c){if(c){var d="ytp-next-button";var e=QV()}else d="ytp-prev-button",e=hpa();g.W.call(this,{G:"a",da:[d,"ytp-button"],P:{title:"{{title}}",href:"{{url}}","data-preview":"{{preview}}","data-tooltip-text":"{{text}}","data-duration":"{{duration}}","aria-disabled":"{{disabled}}","data-next":"{{next}}","data-prev":"{{prev}}"},N:[e]});this.o=a;this.K=b.Jb();this.A=c;this.B=this.F=null;this.J=!1;this.H=this.I=this.C=null;this.D=!1;this.O(a,"fullscreentoggled",this.mk);this.O(a,"videodatachange",
this.mk);this.O(a,"onPlaylistUpdate",this.mk);this.A||this.O(a,"appresize",this.Rc);this.O(a,"mdxpreviousnextchange",function(){RZ(this);this.Rc()});
this.mk()};
nsa=function(a){a.B&&a.B.unsubscribe("shuffle",a.mk,a)};
osa=function(a){return!!a.B&&!a.A&&!!a.F&&!a.F.ya&&3<=a.o.getCurrentTime()&&2!=a.o.Ra()};
psa=function(a){var b=g.aV(g.WU(a.o));return b?a.A?b.hasNext():b.Sf():!1};
RZ=function(a){var b={duration:null,preview:null,text:null,title:null,url:null},c=g.Y(a.o),d=eV(a.o),e=a.A&&g.vV(a.o),f=psa(a),k=a.A&&5==a.o.Ra();if(k)b.title="Start video";else if(a.D)b.title=g.V("YTP_REPLAY");else if(d){var l=null;a.B&&(l=a.B.Zb(a.A?yQ(a.B):zQ(a.B)));if(l){if(l.videoId){var m=a.B.listId;b.url=c.getVideoUrl(l.videoId,m?m.toString():void 0)}b.text=l.title;b.duration=l.lengthSeconds?g.TV(l.lengthSeconds):null;b.preview=l.dd(c,"mqdefault.jpg")}b.title=g.V(a.A?"YTP_NEXT":"YTP_PREVIOUS")}else e&&
(a.F.suggestions&&a.F.suggestions.length&&(l=g.BY(a.F.suggestions[0]),b.url=l.ul(c),b.text=l.title,b.duration=l instanceof g.vO?g.TV(l.lengthSeconds):null,b.preview=l.dd(c,"mqdefault.jpg")),b.title=g.V("YTP_NEXT"));b.disabled=!e&&!d&&!f&&!k;a.update(b);a.J=!!b.url;e||d||a.D||f||k?a.C||(a.C=WY(a.K,a.element),a.I=a.U("click",a.cP,a)):a.C&&(a.C(),a.C=null,a.Da(a.I),a.I=null);OZ(a.K)};
qsa=function(){this.l=this.position=this.A=this.g=this.B=this.o=this.width=window.NaN};
g.TZ=function(a,b){g.rH.call(this,{G:"div",L:"ytp-progress-bar-container",P:{"aria-disabled":"true"},N:[{G:"div",da:["ytp-progress-bar",g.Y(a).o?"ytp-mobile":""],P:{tabindex:"0",role:"slider","aria-label":g.V("YTP_SEEK_SLIDER"),"aria-valuemin":"{{ariamin}}","aria-valuemax":"{{ariamax}}","aria-valuenow":"{{arianow}}","aria-valuetext":"{{arianowtext}}"},N:[{G:"div",L:"ytp-progress-bar-padding"},{G:"div",L:"ytp-progress-list",N:[{G:"div",da:["ytp-play-progress","ytp-swatch-background-color"]},{G:"div",
L:"ytp-load-progress"},{G:"div",L:"ytp-hover-progress"},{G:"div",L:"ytp-clip-start-exclude"},{G:"div",L:"ytp-clip-end-exclude"},{G:"div",L:"ytp-ad-progress-list"},{G:"div",L:"ytp-marker-crenellation-list"},{G:"div",L:"ytp-marker-progress-list"}]},{G:"div",L:"ytp-marker-icons"},{G:"div",L:"ytp-scrubber-container",N:[{G:"div",da:["ytp-scrubber-button","ytp-swatch-background-color"],N:[{G:"div",L:"ytp-scrubber-pull-indicator"}]}]}]},{G:"div",L:"ytp-bound-time-left",aa:"{{boundTimeLeft}}"},{G:"div",L:"ytp-bound-time-right",
aa:"{{boundTimeRight}}"},{G:"div",L:"ytp-clip-start",P:{title:g.V("YTP_WATCH_ALL")},aa:"{{clipstarticon}}"},{G:"div",L:"ytp-clip-end",P:{title:g.V("YTP_WATCH_ALL")},aa:"{{clipendicon}}"}]});this.updateValue("clipstarticon",$oa());this.updateValue("clipendicon",Zoa());this.A=a;this.Ha=b.Jb();this.Wa=!1;this.C=this.Ma=0;this.ba=1;this.Qc=this.I=0;this.B=null;this.wb=!1;this.J=this.ra=0;this.kd=this.g["ytp-ad-progress-list"];this.Cd=this.g["ytp-marker-progress-list"];this.Fd=this.g["ytp-marker-icons"];
this.tb=this.g["ytp-marker-crenellation-list"];this.X={};this.na={};this.R={};this.ea=[];this.K=window.Infinity;var c=b.Jb();this.fa=this.g["ytp-clip-end"];g.Ye(this,WY(c,this.fa));this.sa=new g.JF(this.fa,!0);g.N(this,this.sa);this.sa.subscribe("hoverstart",this.kC,this);this.sa.subscribe("hoverend",this.jC,this);this.O(this.fa,"click",this.Hp);this.rb=this.g["ytp-clip-end-exclude"];this.Dd=this.g["ytp-clip-start-exclude"];this.M=0;this.ga=this.g["ytp-clip-start"];g.Ye(this,WY(c,this.ga));this.xa=
new g.JF(this.ga,!0);g.N(this,this.xa);this.xa.subscribe("hoverstart",this.kC,this);this.xa.subscribe("hoverend",this.jC,this);this.O(this.ga,"click",this.Hp);this.zc=this.g["ytp-load-progress"];this.ia=0;this.Gd=this.g["ytp-play-progress"];this.Wb=this.g["ytp-hover-progress"];this.H=0;this.Oc=this.g["ytp-progress-bar"];this.D=null;this.ye=this.g["ytp-scrubber-button"];this.ze=this.g["ytp-scrubber-container"];this.Ca=new g.ed;this.Ib=new qsa;this.o=new XV(0,0);this.F=this.Ta=!1;this.Xb=null;this.O(a,
"presentingplayerstatechange",this.NJ);this.O(a,"videodatachange",this.yB);this.O(a,"videoplayerreset",this.MJ);this.O(a,"cuerangesadded",this.KE);this.O(a,"cuerangesremoved",this.RU);this.O(a,"cuerangemarkersupdated",this.KE);this.O(a,"onPlaybackQualityChange",this.RJ);rsa(this,a.getVideoData(),!0)};
g.tsa=function(a){ssa(a);var b=a.A.getCurrentTime();(b<a.M||b>a.K)&&a.Hp()};
ssa=function(a){if(a.C){var b=a.A.xh(),c=new XV(b.seekableStart,b.seekableEnd),d=ZV(c,b.loaded,0);b=ZV(c,b.current,0);var e=a.o.l!=c.l||a.o.g!=c.g;a.o=c;UZ(a,b,d);e&&g.VZ(a);usa(a)}};
rsa=function(a,b,c){c=void 0===c?!1:c;var d=!!b&&b.Ld();a.Ta=d&&b.qg;vsa(a,a.A.gd());c&&(d?(c=b.clipEnd,a.M=b.clipStart,a.K=c,WZ(a),UZ(a,a.H,a.ia)):a.Hp(),b=a.Ha,1==b.o&&b.mf());ssa(a)};
wsa=function(a){return!!a&&a.Ld()&&!!a.Ka&&a.Ka.video.isAccelerated&&a.Ka.video.o};
XZ=function(a,b){a.wb=b;g.U(a.zc,"ytp-fast-load",b)};
xsa=function(a,b,c,d){b=g.ad(b,0,a.F?60:40);a.I=b;var e=a.ba,f=Math.max(a.o.getLength()/a.C,1);a.ba=b/(a.F?60:40)*(f-1)+1;b=a.C*a.ba;a.J=g.ad(d*b-c,0,b-a.C);e!=a.ba&&g.VZ(a)};
g.VZ=function(a){var b=YZ(a),c=-b.o/b.g,d=(-b.o+b.width)/b.g,e=g.Kd(a.tb),f=0;if(a.I>.2*(a.F?60:40)){var k=c*(a.o.getLength()/60),l=d*(a.o.getLength()/60);for(k=Math.ceil(k);k<l;k++){var m=e[f];m||(m=g.Cd("DIV"),a.tb.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.o.getLength()-c)*b.g;m.style.left=n+"px"}}b=a.Ta?a.o.g:0;a.update({boundTimeLeft:g.TV(YV(a.o,c)-b),boundTimeRight:g.TV(YV(a.o,d)-b)});for(c=
e.length-1;c>=f;c--)g.Id(e[c]);a.element.style.height=a.I+(a.F?8:5)+"px";a.T("height-change",a.I);a.ye.style.height=a.I+(a.F?20:13)+"px";for(var q in a.X)ysa(a,q);ZZ(a);WZ(a);UZ(a,a.H,a.ia)};
YZ=function(a){var b=a.Ca.x,c=a.C*a.ba;b=g.ad(b,0,a.C);a.Ib.update(b,a.C,-a.J,-(c-a.J-a.C));return a.Ib};
UZ=function(a,b,c){a.H=b;a.ia=c;var d=YZ(a),e=a.o.g,f=YV(a.o,a.H);a.update({ariamin:Math.floor(a.o.l),ariamax:Math.floor(e),arianow:Math.floor(f),arianowtext:g.V("YTP_PROGRESS_LABEL_2",{PLAY_PROGRESS:g.TV(f),DURATION:g.TV(e)})});e=ZV(a.o,a.M,0);var k=ZV(a.o,a.K,1);f=g.ad(b,e,k);c=a.wb?1:g.ad(c,e,k);g.nh(a.ze,"transform","translateX("+(b*d.g+d.o)+"px)");$Z(a,a.Gd,d,e,f);$Z(a,a.zc,d,e,c)};
zsa=function(a,b,c){b=Math.max(c*b.g+b.o,0);a.style.left=b+"px";return b};
$Z=function(a,b,c,d,e,f){f=void 0===f?!1:f;zsa(b,c,d);d=g.ad((e-d)*c.g+c.o,0,c.width);f||g.Y(a.A).o?b.style.width=d+"px":g.nh(b,"transform","scalex("+(c.width?d/c.width:0)+")")};
WZ=function(a){var b=a.M>a.o.l,c=0<a.o.g&&a.K<a.o.g;g.U(a.element,"ytp-clip-start-enabled",b);g.U(a.element,"ytp-clip-end-enabled",c);b=b?ZV(a.o,a.M,0):0;c=c?ZV(a.o,a.K,1):1;a.ga.style.left=Math.round(1E3*b)/10+"%";a.fa.style.left=Math.round(1E3*c)/10+"%";a.Dd.style.width=Math.round(1E3*b)/10+"%";a.rb.style.left=Math.round(1E3*c)/10+"%";a.rb.style.width=Math.round(1E3*(1-c))/10+"%"};
ZZ=function(a){for(var b=0;b<a.ea.length;b++){for(var c=a.R[a.ea[b].getId()],d=Number(c.getAttribute("data-left"))-24,e=!1,f=b-1;0<=f;f--){var k=a.R[a.ea[f].getId()];if("none"!=k.style.display){Number(k.getAttribute("data-left"))>d&&(e=!0);break}}c.style.display=e?"none":""}};
usa=function(a){var b=YZ(a);$Z(a,a.Wb,b,a.H,b.l);g.U(a.Wb,"ytp-hover-progress-light",b.l>a.H)};
ysa=function(a,b){var c=a.X[b],d=a.na[b],e=YZ(a),f=ZV(a.o,c.start/1E3,0),k=pma(c,a.F),l=k/e.width;switch(c.style){case "ytp-chapter-marker":var m=f+l/2;f-=l/2;d.style.borderRadius=k+"px";break;default:m=ZV(a.o,c.end/1E3,1),l!=Number.POSITIVE_INFINITY&&(f=g.ad(f,0,m-l)),m=Math.min(m,f+l)}c.color&&(d.style.background=c.color);$Z(a,d,e,f,m,!0);(c=a.R[b])&&c.setAttribute("data-left",zsa(c,e,f))};
Asa=function(a,b){var c=b.getId();if(a.X[c]==b){g.Id(a.na[c]);delete a.X[c];delete a.na[c];var d=a.R[c];d&&(g.Id(d),delete a.R[c],c=a.ea,d=g.cb(c,b,g.tQ),0<=d&&g.Sa(c,d))}};
vsa=function(a,b){b?a.D||(a.element.removeAttribute("aria-disabled"),a.D=new g.JF(a.Oc,!0),a.D.subscribe("hovermove",a.LS,a),a.D.subscribe("hoverend",a.KS,a),a.D.subscribe("dragstart",a.JS,a),a.D.subscribe("dragmove",a.NS,a),a.D.subscribe("dragend",a.MS,a),a.Xb=a.U("keydown",a.eP)):a.D&&(a.element.setAttribute("aria-disabled",!0),a.Da(a.Xb),a.D.cancel(),a.D.dispose(),a.D=null)};
a_=function(a,b){hZ.call(this,g.V("YTP_ANNOTATIONS"),5);this.C=b;this.B=a;this.o=!1;this.O(a,"videodatachange",this.D);this.O(a,"onApiChange",this.D);this.subscribe("select",this.F,this);this.D()};
g.b_=function(a,b,c,d,e,f){var k=g.uH({"aria-haspopup":"true"});g.tH.call(this,k,b,a);this.B=d;this.I=!1;this.F=null;this.A={};this.D=new g.ZY(c,void 0,a,e,f);g.N(this,this.D);this.U("keydown",this.iP);this.U("click",this.open)};
g.c_=function(a,b){g.Jra(a.D);for(var c={},d=!1,e=0;e<b.length;e++){var f=b[e],k=a.A[f],l=f==a.F;l&&(d=!0);k&&k.priority==-e?(l=a,g.sH(l.A[f],l.vf(f,!0)),delete a.A[f]):(k=new g.tH({G:"div",da:["ytp-menuitem"],P:{tabindex:"0",role:"menuitemradio","aria-checked":l?"true":void 0},N:[{G:"div",da:["ytp-menuitem-label"],aa:"{{label}}"}]},-e,a.vf(f,!0)),k.U("click",(0,g.A)(a.jP,a,f)));c[f]=k;g.$Y(a.D,k,!0)}d||(a.F=null);for(var m in a.A)a.A[m].dispose();a.A=c};
d_=function(a,b){g.b_.call(this,g.V("YTP_AUDIO_TRACK_TITLE"),2,a,b);this.o=a;this.J=new g.W({G:"div",N:[{G:"span",aa:g.V("YTP_AUDIO_TRACK_TITLE")},{G:"span",L:"ytp-menuitem-label-count",aa:"{{content}}"}]});g.sH(this,this.J);this.K={};this.O(a,"videodatachange",this.H);this.O(a,"onPlaybackAudioChange",this.H);this.H()};
e_=function(a,b){hZ.call(this,g.V("YTP_AUTOPLAY"),6);this.F=b;this.o=a;this.C=!1;this.B=[];this.O(a,"presentingplayerstatechange",this.D);this.subscribe("select",this.I,this);this.D()};
f_=function(a,b){g.b_.call(this,g.V("YTP_QUALITY_TITLE"),1,a,b);g.S(this.D.element,"ytp-quality-menu");this.o=a;this.J={};this.H="unknown";this.O(a,"videodatachange",this.C);this.O(a,"videoplayerreset",this.C);this.O(a,"onPlaybackQualityChange",this.K);this.C()};
Bsa=function(a,b,c){a=a.J[b];var d=g.MH[b];d=a?a.qualityLabel:d?d+"p":g.V("YTP_AUTO");c={G:"span",da:c,N:[]};a&&a.isAccelerated&&a.o&&c.N.push({G:"div",L:"ytp-menuitem-badge-container",N:[{G:"svg",P:{fill:"#00838f",height:"11px",viewBox:"0 0 48 48",width:"11px"},N:[{G:"path",P:{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"}},{G:"path",P:{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.N.push(d);var e;"highres"==b?e="8K":"hd2880"==b?e="5K":"hd2160"==b?e="4K":0==b.indexOf("hd")&&(e="HD");e&&(c.N.push(" "),c.N.push({G:"sup",L:"ytp-swatch-color",aa:e}));return c};
g_=function(a,b,c){g.W.call(this,{G:"button",da:["ytp-button","ytp-settings-button"],P:{"aria-haspopup":"true","aria-owns":jH(),title:g.V("YTP_SETTINGS")},N:[g.jpa()]});this.B=c;this.o=a;this.C=!0;this.U("click",this.D);this.O(a,"onPlaybackQualityChange",this.A);this.O(a,"videodatachange",this.A);this.O(a,"webglsettingschanged",this.A);this.O(a,"appresize",this.Rc);g.Ye(this,WY(b.Jb(),this.element));this.A();this.Rc(g.dV(a).Na())};
h_=function(a,b){a.C=!!b;a.Rc(g.dV(a.o).Na())};
i_=function(a,b){g.b_.call(this,g.V("YTP_SPEED_TITLE"),4,a,b);this.o=a;this.C=null;this.O(a,"presentingplayerstatechange",this.CB);this.CB()};
j_=function(a,b,c,d){var e=g.V("YTP_VIDEO_SUBTITLES_OVERRIDE"),f=new g.ZY(b,void 0,e);g.b_.call(this,Csa(d),a,b,c,e,function(){return g.dZ(c,f)});
g.S(this.element,"ytp-subtitles-options-menu-item");this.J=d.option.toString();a=d.options;this.K=g.jb(a,this.FB,this);this.H=f;g.N(this,this.H);b=new g.tH({G:"div",L:"ytp-menuitemtitle",aa:g.V("YTP_VIDEO_SUBTITLES_OVERRIDE_DESC")},0);g.N(this,b);g.$Y(this.H,b,!0);this.C=new g.tH({G:"div",L:"ytp-menuitem",P:{role:"menuitemradio",tabindex:"0"},N:[{G:"div",L:"ytp-menuitem-label",aa:g.V("YTP_ON")}]},-1);g.N(this,this.C);g.$Y(this.H,this.C,!0);this.O(this.C.element,"click",g.Ea(this.GB,!0));this.o=new g.tH({G:"div",
L:"ytp-menuitem",P:{role:"menuitemradio",tabindex:"0"},N:[{G:"div",L:"ytp-menuitem-label",aa:g.V("YTP_OFF")}]},-2);g.N(this,this.o);g.$Y(this.H,this.o,!0);this.O(this.o.element,"click",g.Ea(this.GB,!1));g.c_(this,(0,g.I)(a,this.FB))};
Csa=function(a){return(a.message?g.V(a.message):a.text)||""};
k_=function(a,b){g.ZY.call(this,a,void 0,g.V("YTP_OPTIONS"));this.o={};for(var c=0;c<g.oZ.length;c++){var d=g.oZ[c],e=new j_(-c,a,b,d);g.N(this,e);e.subscribe("settingChange",this.A,this);this.o[d.option.toString()]=e;g.$Y(this,e,!0)}c=new g.tH(g.uH(),-g.oZ.length,g.V("YTP_RESET"));g.N(this,c);c.U("click",(0,g.A)(this.A,this,"reset",!0));g.$Y(this,c,!0)};
Dsa=function(a,b){for(var c in b){var d=a.o[c];if(d){var e=b[c].toString(),f=!!b[c+"Override"];d.A[e]&&(d.wf(e),d.C.element.setAttribute("aria-checked",!f),d.o.element.setAttribute("aria-checked",f))}}};
l_=function(a,b){g.b_.call(this,g.V("YTP_AUTO_TRANSLATE"),0,a,b);this.o={}};
m_=function(a,b){var c=new k_(a,b);g.b_.call(this,g.V("YTP_SUBTITLES"),3,a,b,g.V("YTP_OPTIONS"),function(){return g.dZ(b,c)});
this.o=a;this.C={};this.M=new g.Xt(g.Ea(this.EB,!1),3E3,this);g.N(this,this.M);this.J=new g.W({G:"div",N:[{G:"span",aa:g.V("YTP_SUBTITLES")},{G:"span",L:"ytp-menuitem-label-count",aa:"{{content}}"}]});g.N(this,this.J);g.sH(this,this.J);this.H=new l_(a,b);g.N(this,this.H);this.H.subscribe("select",this.tP,this);this.K=c;g.N(this,this.K);this.K.subscribe("settingChange",this.sP,this);b.subscribe("show",this.uT,this);this.O(a,"videodatachange",this.fm);this.O(a,"onApiChange",this.fm);this.O(a,"onCaptionsTrackListChanged",
this.fm);this.O(a,"captionschanged",this.fm);this.fm()};
n_=function(a){g.aZ.call(this,a,"ytp-settings-menu");this.A=a;this.B=new g.ZY(a);g.N(this,this.B);this.H=null;this.X=!1;this.hide();g.dZ(this,this.B)};
o_=function(a){if(!a.X){a.X=!0;var b=new f_(a.A,a);g.N(a,b);b=new m_(a.A,a);g.N(a,b);b=new a_(a.A,a);g.N(a,b);g.Y(a.A).ia&&(b=new i_(a.A,a),g.N(a,b));g.Y(a.A).Gd&&(b=new e_(a.A,a),g.N(a,b));b=new d_(a.A,a);g.N(a,b);h_(a.H,a.B.La.length)}};
p_=function(a,b){o_(a);g.$Y(a.B,b);h_(a.H,a.B.La.length)};
q_=function(a,b){a.l&&1>=a.B.La.length&&a.hide();g.Ira(a.B,b);h_(a.H,a.B.La.length)};
Esa=function(a,b){a.H=b;a.element.id=b.element.getAttribute("aria-owns")};
r_=function(a,b,c){g.W.call(this,{G:"button",L:"ytp-button",P:{title:"Play on TV","aria-haspopup":"true"},aa:"{{icon}}"});this.o=a;this.C=c;this.B=null;this.O(a,"onMdxReceiversChange",this.A);this.O(a,"presentingplayerstatechange",this.A);this.O(a,"appresize",this.A);this.A();this.U("click",this.D,this);g.Ye(this,WY(b.Jb(),this.element))};
s_=function(a,b){g.W.call(this,{G:"button",da:["ytp-size-button","ytp-button"],P:{title:"{{title}}"},aa:"{{icon}}"});this.o=a;this.C=b.Jb();this.B=null;this.D=new LZ;g.N(this,this.D);this.O(a,"sizestylechange",this.A);this.O(a,"fullscreentoggled",this.A);this.O(a,"presentingplayerstatechange",this.A);this.A();this.U("click",this.F);g.Ye(this,WY(this.C,this.element))};
t_=function(a,b){g.W.call(this,{G:"button",da:["ytp-subtitles-button","ytp-button"],P:{"aria-pressed":"{{pressed}}",title:g.V("YTP_SUBTITLES_TOOLTIP")},N:[apa()]});this.A=a;this.O(a,"videodatachange",this.o);this.O(a,"appresize",this.o);this.O(a,"onApiChange",this.o);this.O(a,"onCaptionsTrackListChanged",this.o);this.O(a,"captionschanged",this.o);this.o();this.U("click",this.B);g.Ye(this,WY(b.Jb(),this.element))};
g.u_=function(a,b){g.W.call(this,{G:"div",da:["ytp-time-display","notranslate"],N:[{G:"span",L:"ytp-time-current",aa:"{{currenttime}}"},{G:"span",L:"ytp-time-separator",aa:" / "},{G:"span",L:"ytp-time-duration",aa:"{{duration}}"}]});this.C=new g.W({G:"button",da:["ytp-live-badge","ytp-button"],P:{disabled:"true"},aa:g.V("YTP_LIVE")});g.N(this,this.C);this.C.ua(this.element);this.D=a;this.J=b.Jb();this.A=null;this.B=!1;this.H=this.F=this.I=null;this.U("click",this.K);this.O(a,"presentingplayerstatechange",
this.o);this.O(a,"appresize",this.o);this.O(a,"videodatachange",this.M);var c=a.getVideoData();c&&(this.B=c.ya,g.U(this.element,"ytp-live",this.B));this.o()};
w_=function(a,b,c){g.W.call(this,{G:"div",L:"ytp-volume-panel",P:{role:"slider","aria-valuemin":"0","aria-valuemax":"100","aria-valuenow":"{{valuenow}}","aria-valuetext":"{{valuetext}}",tabindex:"0"},N:[{G:"div",L:"ytp-volume-slider",N:[{G:"div",L:"ytp-volume-slider-handle"}]}]});this.o=a;this.F=b;this.M=c;this.J=!1;this.H=b.sd();this.X=this.C=0;this.R=this.g["ytp-volume-slider"];this.Z=this.g["ytp-volume-slider-handle"];this.I=new g.JF(this.R,!0);g.N(this,this.I);this.I.subscribe("dragstart",this.CT,
this);this.I.subscribe("dragmove",this.BT,this);this.I.subscribe("dragend",this.AT,this);this.K=null;this.A=this.B=this.D=!1;this.O(a,"onVolumeChange",this.wP);this.O(a,"appresize",this.Rc);this.O(a,"fullscreentoggled",this.uP);this.O(a,"onShowControls",this.Lx);this.O(a,"onHideControls",this.Lx);this.O(this.element,"keydown",this.DT);this.O(this.element,"focus",g.Ea(this.HB,!0));this.O(this.element,"blur",g.Ea(this.HB,!1));this.Rc(g.dV(a).Na());v_(this,a.getVolume(),a.isMuted())};
v_=function(a,b,c){var d=Math.floor(b),e=d+"% "+g.V("YTP_SCREENREADER_VOLUME_SETTING")+(c?" "+g.V("YTP_SCREENREADER_VOLUME_MUTED"):"");c=c?0:b/100;a.updateValue("valuenow",d);a.updateValue("valuetext",e);a.Z.style.left=(a.H?60:40)*c+"px";a.C=b};
x_=function(a,b,c,d,e){var f=a.B||a.D||a.A||a.J;a.B=b;a.D=c;a.A=d;a.J=e;b=a.B||a.D||a.A||a.J;f!=b&&(b?a.K=a.O(a.element,"wheel",a.vP):(a.Da(a.K),a.K=null),g.U(a.M,"ytp-volume-slider-active",b))};
y_=function(a,b){var c=g.Y(a),d=UM(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.W.call(this,{G:"a",da:e,P:{href:"{{url}}",target:"_blank",title:g.V("YTP_URL_NAVIGATE_TO",{WEBSITE:d}),"data-sessionlink":"feature=player-button"},N:[c?g.MV?{G:"div",da:["ytp-icon","ytp-icon-logo-gaming"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 122 36",width:"100%"},N:[{G:"path",
Ua:!0,L:"ytp-svg-fill",P:{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.MV?{G:"div",da:["ytp-icon","ytp-icon-logo"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 67 36",width:"100%"},N:[{G:"path",Ua:!0,L:"ytp-svg-fill",P:{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.o=a;this.B=this.A=!1;xV(a,this.element,this,28666);this.U("click",this.D);this.O(a,"videodatachange",this.C);this.C();g.Ye(this,WY(b.Jb(),this.element))};
z_=function(a,b,c){g.EF.call(this);var d=this,e=g.Y(a);this.o=a;this.A=b;this.ba=window.NaN;this.Z=null;this.R=c;this.R.subscribe("autohideupdate",this.fC,this);c=!g.KP(g.cV(a));var f;g.Y(a).experiments.g("html5_player_dynamic_bottom_gradient")?this.ea=f=new AZ(a):f=new g.W({G:"div",L:"ytp-gradient-bottom"});g.N(this,f);g.uV(a,f.element,8);this.K=new g.VV(f,250,c,100);g.N(this,this.K);this.l=new g.W({G:"div",L:"ytp-chrome-bottom",N:[{G:"div",L:"ytp-chrome-controls"}]});g.N(this,this.l);g.uV(a,this.l.element,
8);this.I=new g.VV(this.l,250,c,100);g.N(this,this.I);this.M=this.l.element.children[0];this.g=new n_(a);g.Ye(this.g,function(){a.F==d.g&&(a.F=null)});
g.N(this,this.g);a.F=this.g;g.uV(a,this.g.element,6);this.g.subscribe("show",this.VV,this);this.g.subscribe("show",(0,g.A)(b.XD,b,this.g));this.B=new g.TZ(a,b);g.N(this,this.B);this.B.ua(this.l.element,0);c=new CZ(a,b);g.N(this,c);g.uV(a,c.element,4);this.B.subscribe("height-change",c.lV,c);c=new EZ(a);g.N(this,c);g.uV(a,c.element,4);c=new g.lH({G:"div",L:"ytp-left-controls"});g.N(this,c);c.ua(this.M);f=new g.SZ(a,b,!1);g.N(this,f);f.ua(c.element);e.F||(f=new g.QZ(a,b),g.N(this,f),f.ua(c.element));
f=new g.SZ(a,b,!0);g.N(this,f);f.ua(c.element);var k=new g.W({G:"span"});g.N(this,k);k.ua(c.element);if(!e.Y&&(this.C=new NZ(a,b),g.N(this,this.C),this.C.ua(k.element),e.I)){f=new w_(a,b,this.l.element);g.N(this,f);f.ua(k.element);k=new g.JF(k.element);g.N(this,k);var l=(0,g.A)(f.WD,f,!0);k.subscribe("hoverstart",l);k=new g.JF(c.element);g.N(this,k);f=(0,g.A)(f.WD,f,!1);k.subscribe("hoverend",f)}this.X=new g.u_(a,b);g.N(this,this.X);this.X.ua(c.element);c=new g.lH({G:"div",L:"ytp-right-controls"});
g.N(this,c);c.ua(this.M);f=new t_(a,b);g.N(this,f);f.ua(c.element);f=new g_(a,b,this.g);g.N(this,f);Esa(this.g,f);f.ua(c.element);f=new JZ(a);g.N(this,f);g.uV(a,f.element,5);f.subscribe("show",(0,g.A)(b.Kn,b,f));f=new KZ(a,b,f);g.N(this,f);f.ua(c.element);f=a.getVideoData();if(e.Tg||f.isDni&&"1"==e.A)this.D=new y_(a,b),g.N(this,this.D),this.D.ua(c.element);f=!1;e.experiments.g("kevlar_miniplayer_button")&&(f=new IZ(a,b),g.N(this,f),f.ua(c.element),f=!0);k=new s_(a,b);g.N(this,k);k.ua(c.element);e.tb&&
(k=new r_(a,b,this.g),g.N(this,k),k.ua(c.element));e.Sg&&(e=new zZ(a,b),g.N(this,e),e.ua(c.element));jka()&&!f&&(e=new PZ(a,b),g.N(this,e),e.ua(c.element));this.Y=new HZ(a,b);g.N(this,this.Y);this.Y.ua(c.element);this.F=new g.Ut(this.qP,null,this);g.N(this,this.F);this.H=null;this.O(a,"appresize",this.uu);this.O(a,"fullscreentoggled",this.uu);this.O(a,"presentingplayerstatechange",this.Bv);this.O(a,"videodatachange",this.rP);this.uu()};
Fsa=function(a,b){if(g.KP(g.cV(a.o))||b){if(b){a.I.hide();a.K.hide();if(a.C){var c=a.C;c.H=!1;g.zV(c.o,c.element,c.B&&!1)}a.D&&(c=a.D,c.B=!1,g.zV(c.o,c.element,c.A&&!1));a.A.Jb().kj(a.la())}}else b||(a.I.show(),a.K.show(),a.C&&(c=a.C,c.H=!0,g.zV(c.o,c.element,c.B&&!0)),a.D&&(c=a.D,c.B=!0,g.zV(c.o,c.element,c.A&&!0)),a.fC())};
Gsa=function(a){var b=g.dV(a.o).Na().width;return Math.max(b-2*A_(a),100)};
A_=function(a){var b=a.A.sd();return 12*(a.o.getVideoData().isDni?0:b?2:1)};
Isa=function(a,b,c,d,e){if(c||d)g.mE(Hsa(g.Y(a),!!c,!!d),c?{method:"POST",Yc:{action_create_subscription_to_channel:1,c:b},Nb:{feature:c,silo_name:e},withCredentials:!0}:d?{method:"POST",Yc:{action_subscribe:1},Nb:{channel_ids:b,itct:d}}:{}),a.va("SUBSCRIBE")};
Jsa=function(a,b,c,d,e){if(c||d)g.mE(Hsa(g.Y(a),!!c,!!d),c?{method:"POST",Yc:{action_remove_subscriptions:1},Nb:{c:b,silo_name:e,feature:c},withCredentials:!0}:d?{method:"POST",Yc:{action_unsubscribe:1},Nb:{channel_ids:b,itct:d}}:{}),a.va("UNSUBSCRIBE")};
Hsa=function(a,b,c){return b?a.baseYtUrl+"subscription_ajax":c?"/subscription_service":""};
B_=function(a,b,c,d){var e=g.Y(a),f={G:"div",L:"ytp-inline-subscribe-button-icon",N:[g.MV?{G:"div",da:["ytp-icon","ytp-icon-youtube-logo"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 68 48",width:"100%"},N:[{G:"path",L:"ytp-youtube-logo-bg",P:{d:"M66.52,7.74c-0.78-2.93-2.49-5.41-5.42-6.19C55.79,.13,34,0,34,0S12.21,.13,6.9,1.55 C3.97,2.33,2.27,4.81,1.48,7.74C0.06,13.05,0,24,0,24s0.06,10.95,1.48,16.26c0.78,2.93,2.49,5.41,5.42,6.19 C12.21,47.87,34,48,34,48s21.79-0.13,27.1-1.55c2.93-0.78,4.64-3.26,5.42-6.19C67.94,34.95,68,24,68,24S67.94,13.05,66.52,7.74z",
fill:"#f00"}},{G:"path",P:{d:"M 45,24 27,14 27,34",fill:"#fff"}}]}]};g.W.call(this,{G:"button",da:["ytp-button","ytp-inline-subscribe-button"],P:{"aria-pressed":"{{pressed}}"},N:[{G:"div",L:"ytp-inline-subscribe-button-subscribe",P:{title:g.V("YTP_SUBSCRIBE"),"aria-label":g.V("YTP_SUBSCRIBE")},N:[e.B?null:f,{G:"div",L:"ytp-inline-subscribe-button-text",aa:g.V("YTP_SUBSCRIBE")}]},{G:"div",L:"ytp-inline-subscribe-button-unsubscribe",P:{title:g.V("YTP_SUBSCRIBED"),"aria-label":g.V("YTP_SUBSCRIBE")},
N:[e.B?null:f,{G:"div",L:"ytp-inline-subscribe-button-text",aa:g.V("YTP_SUBSCRIBED")}]}]});this.D=a;this.B=b;this.C=c;this.o=this.g["ytp-inline-subscribe-button-subscribe"];this.A=this.g["ytp-inline-subscribe-button-unsubscribe"];this.O(this.o,"click",this.I);this.O(this.A,"click",this.J);this.O(a,"SUBSCRIBE",this.F);this.O(a,"UNSUBSCRIBE",this.H);d&&this.element.classList.add("ytp-inline-subscribe-button-subscribed")};
C_=function(a,b){g.W.call(this,{G:"button",da:["ytp-button","ytp-title-notifications"],P:{"aria-pressed":"{{pressed}}"},N:[{G:"div",L:"ytp-title-notifications-on",P:{title:g.V("YTP_SUBSCRIBE_NOTIFY_ON"),"aria-label":g.V("YTP_SUBSCRIBE_NOTIFY")},N:[g.dpa()]},{G:"div",L:"ytp-title-notifications-off",P:{title:g.V("YTP_SUBSCRIBE_NOTIFY_OFF"),"aria-label":g.V("YTP_SUBSCRIBE_NOTIFY")},N:[g.MV?{G:"div",da:["ytp-icon","ytp-icon-notifications-inactive"]}:{G:"svg",P:{fill:"#fff",height:"24px",viewBox:"0 0 24 24",
width:"24px"},N:[{G:"path",P:{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.A=a;xV(a,this.element,this,36927);this.B=b;this.o=!1;this.U("click",this.C,this);this.updateValue("pressed",!1)};
D_=function(a,b){a.o=b;a.element.classList.toggle("ytp-notifications-enabled",a.o);g.mE("/subscription_ajax?action_update_subscription_preferences=1",{method:"POST",Nb:{channel_id:a.B,receive_all_updates:!a.o}})};
g.E_=function(a,b,c,d,e,f,k,l,m,n,q,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(q){c=g.Y(r);q={href:q,"aria-label":a,tabindex:"-1"};if(g.KM(c)||g.LM(c))q.target="_blank";g.W.call(this,{G:"div",da:["ytp-button","ytp-sb"],N:[{G:"a",L:"ytp-sb-subscribe",P:q,N:[{G:"div",L:"ytp-sb-text",N:[{G:"div",L:"ytp-sb-icon"},a]},b?{G:"div",L:"ytp-sb-count",aa:b}:""]}]});f&&g.S(this.element,"ytp-sb-classic")}else{g.W.call(this,
{G:"div",da:["ytp-button","ytp-sb"],N:[{G:"div",L:"ytp-sb-subscribe",P:{tabindex:"-1","aria-label":a},N:[{G:"div",L:"ytp-sb-text",N:[{G:"div",L:"ytp-sb-icon"},a]},b?{G:"div",L:"ytp-sb-count",aa:b}:""]},{G:"div",L:"ytp-sb-unsubscribe",P:{tabindex:"-1","aria-label":c},N:[{G:"div",L:"ytp-sb-text",N:[{G:"div",L:"ytp-sb-icon"},c]},d?{G:"div",L:"ytp-sb-count",aa:d}:""]}]});var v=this;this.o=k;var E=this.g["ytp-sb-subscribe"],H=this.g["ytp-sb-unsubscribe"];f&&g.S(this.element,"ytp-sb-classic");if(e){l&&
g.S(this.element,"ytp-sb-subscribed");var L=null;"gaming"==g.Y(r).playerStyle&&(L="gaming_channels");var T=function(){Isa(r,v.o,m,n,L);H.focus();H.removeAttribute("aria-hidden");E.setAttribute("aria-hidden",!0)},ha=function(){Jsa(r,v.o,m,n,L);
E.focus();E.removeAttribute("aria-hidden");H.setAttribute("aria-hidden",!0)};
this.O(E,"click",T);this.O(H,"click",ha);this.O(E,"keypress",function(a){13==a.keyCode&&T(a)});
this.O(H,"keypress",function(a){13==a.keyCode&&ha(a)});
this.O(r,"SUBSCRIBE",this.A);this.O(r,"UNSUBSCRIBE",this.B)}else g.S(E,"ytp-sb-disabled"),g.S(H,"ytp-sb-disabled")}};
g.Lsa=function(a,b,c,d,e,f){b=Ksa(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.TF("LOGGED_IN",function(b){g.UF(g.QD("LOGGED_IN_PUBSUB_KEY",void 0));g.PD("LOGGED_IN",!0);a(b)}),g.PD("LOGGED_IN_PUBSUB_KEY",c),b.moveTo((window.screen.width-d)/2,(window.screen.height-e)/2)};
Ksa=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=Og(c,"mode",a));a=Og(d,"next",c);b&&(a=Og(a,"feature",b));return a};
F_=function(a){var b=new g.W({G:"a",L:"ytp-title-channel-logo",P:{href:"{{channelLink}}",target:"_blank"}});g.W.call(this,{G:"div",L:"ytp-title",N:[{G:"div",L:"ytp-title-channel",N:[b,{G:"div",L:"ytp-title-expanded",N:[{G:"div",L:"ytp-title-expanded-heading",N:[{G:"h2",L:"ytp-title-expanded-title",N:[{G:"a",aa:"{{expandedTitle}}"}]},{G:"h3",L:"ytp-title-expanded-subtitle",aa:"{{expandedSubtitle}}"}]}]}]},{G:"div",L:"ytp-title-text",N:[{G:"a",da:["ytp-title-link","yt-uix-sessionlink"],P:{target:"_blank",
href:"{{url}}","data-sessionlink":"feature=player-title"},aa:"{{title}}"},{G:"div",L:"ytp-title-subtext",N:[{G:"a",L:"ytp-title-channel-name",P:{href:"{{channelLink}}",target:"_blank"},aa:"{{channelName}}"},{G:"span",L:"ytp-title-inline-subscribe",aa:"{{inlineSubscribe}}"},{G:"span",L:"ytp-title-inline-notify",aa:"{{inlineNotify}}"},{G:"span",L:"ytp-title-subtitle",aa:"{{subtitle}}"}]}]}]});g.N(this,b);this.o=a;this.B=null;this.K=this.g["ytp-title-link"];this.A=this.g["ytp-title-channel"];this.C=
b;this.J=this.g["ytp-title-expanded"];this.D=this.F=this.H=null;xV(a,this.element,this,23851);xV(a,b.element,this,36925);this.O(a,"videodatachange",this.I);this.O(a,"videoplayerreset",this.I);a=g.Y(a);a.H&&(a.experiments.g("embed_info_bar_inline_subscribe")?Msa(this):Nsa(this));this.I()};
Msa=function(a){var b=a.o.getVideoData(),c=g.Y(a.o),d=new B_(a.o,b.Nh,"embed_title",!!b.subscribed);a.F=d;g.N(a,d);a.updateValue("inlineSubscribe",d);if(!c.B){var e=new C_(a.o,b.Nh);g.N(a,e);a.updateValue("inlineNotify",e);b.subscribed||e.hide();a.O(a.o,"SUBSCRIBE",function(){e.show()});
a.O(a.o,"UNSUBSCRIBE",function(){e.hide();D_(e,!1)})}a.element.classList.add("ytp-title-show-inline-subscribe")};
Nsa=function(a){var b=new g.W({G:"div",L:"ytp-title-beacon"});g.N(a,b);b.ua(a.A,0);b=g.Y(a.o).bd?null:Ksa();var c=a.o.getVideoData(),d=new g.E_(g.V("YTP_SUBSCRIBE"),null,g.V("YTP_SUBSCRIBED"),null,!0,!1,c.Nh,c.subscribed,"embed_title",null,b,a.o);a.H=d;g.N(a,d);d.ua(a.J);xV(a.o,d.element,a,36926);var e=new C_(a.o,c.Nh);g.N(a,e);e.ua(a.J);c.subscribed||e.hide();a.O(a.o,"SUBSCRIBE",function(){g.S(a.element,"ytp-subscribed");e.show()});
a.O(a.o,"UNSUBSCRIBE",function(){g.lq(a.element,"ytp-subscribed");e.hide();D_(e,!1)});
a.O(a.A,"mouseenter",function(){if(524<=a.o.Zt().width){a.D.stop();var b=a.o.getRootNode();g.S(b,"ytp-title-show-expanded");g.lq(b,"ytp-title-show-collapsed");g.zV(a.o,d.element,!0);g.zV(a.o,e.element,!0)}});
a.O(a.A,"mouseleave",function(){a.D.start();g.zV(a.o,d.element,!1);g.zV(a.o,e.element,!1)});
a.O(a.A,"click",function(){g.yV(a.o,a.A)});
a.O(d.element,"click",function(){g.yV(a.o,d.element)});
a.D=new g.Xt(function(){var b=a.o.getRootNode();g.jq(b,"ytp-title-show-expanded")&&(g.lq(b,"ytp-title-show-expanded"),g.S(b,"ytp-title-show-collapsed"))},500);
g.N(a,a.D)};
G_=function(a,b,c,d){c=void 0===c?"":c;d=void 0===d?"":d;b?(b=g.Y(a.o).protocol+"://"+TM(g.Y(a.o))+c,a.C.element.style.backgroundImage="url("+d+")",a.C.updateValue("channelLink",b),g.S(a.o.getRootNode(),"ytp-title-enable-channel-logo"),g.zV(a.o,a.C.element,!0)):(g.lq(a.o.getRootNode(),"ytp-title-enable-channel-logo"),g.zV(a.o,a.C.element,!1))};
g.H_=function(a,b){var c=g.dV(a).Na();g.W.call(this,{G:"div",N:[{G:"div",L:"ytp-tooltip-bg",N:[{G:"div",L:"ytp-tooltip-duration",aa:"{{duration}}"}]},{G:"div",L:"ytp-tooltip-text-wrapper",N:[{G:"div",L:"ytp-tooltip-image"},{G:"div",L:"ytp-tooltip-title",aa:"{{title}}"},{G:"span",L:"ytp-tooltip-text",aa:"{{text}}"}]}]});this.M=a;this.ia=b;this.ea=g.Y(a).o;this.H=this.g["ytp-tooltip-bg"];this.na=this.g["ytp-tooltip-image"];this.ga=(0,g.A)(this.dS,this);this.R=(0,g.A)(this.fS,this);this.X=(0,g.A)(this.mf,
this);this.A=null;this.I=new g.VV(this,100);g.N(this,this.I);this.o=null;this.K=!1;this.B=null;this.D=window.NaN;this.F="";this.fa=c.width;this.J=!0;this.C=1;this.Z=new g.Xt(this.yL,250,this);g.N(this,this.Z);this.ba=new g.Xt(this.mf,5E3,this);g.N(this,this.ba)};
J_=function(a,b){if(null!=a.o)if(b)switch(a.o){case 3:case 2:I_(a);a.I.show();break;default:a.I.show()}else a.I.hide();a.J=b};
WY=function(a,b){if(a.ea)return g.z;b.addEventListener("mouseover",a.R);return(0,g.A)(function(){this.A==b&&this.mf();b.removeEventListener("mouseover",this.R)},a)};
Psa=function(a,b,c){if(a.o)if(3==a.o)a.mf();else return;Osa(a,b,3,c)};
Osa=function(a,b,c,d){(0,window.isNaN)(a.D)||(a.D=window.NaN,a.H.style.background="");a.A=b;a.K=!!d;d?a.F=d:(a.F=b.getAttribute("title"),b.removeAttribute("title"));a.element.className="ytp-tooltip";if(d=b.getAttribute("data-tooltip-image"))a.na.style.backgroundImage="url("+d+")";g.U(a.element,"ytp-tooltip-image-enabled",!!d);b=b.getAttribute("data-tooltip-opaque");g.U(a.element,"ytp-tooltip-opaque",!!b);a.o=c;a.M.addEventListener("appresize",a.X);a.J&&(I_(a),a.I.show(0))};
I_=function(a){var b=a.A.getAttribute("data-tooltip-text");if(b&&!a.K){a.updateValue("text",b);var c=a.A.getAttribute("data-duration");a.update({title:a.F,duration:c});var d=a.A.getAttribute("data-preview"),e=160*a.C,f=90*a.C,k=160*a.C,l=90*a.C;a.H.style.width=e+"px";a.H.style.height=f+"px";a.H.style.backgroundImage=d?"url("+d+")":"";a.H.style.backgroundPosition=(e-k)/2+"px "+(f-l)/2+"px";a.H.style.backgroundSize=k+"px "+l+"px";g.kq(a.element,["ytp-text-detail","ytp-preview"]);g.U(a.element,"ytp-has-duration",
!!c)}else a.updateValue("text",a.F),g.mq(a.element,["ytp-text-detail","ytp-preview","ytp-has-duration"]);3==a.o?a.element.setAttribute("role","status"):a.element.removeAttribute("role");Qsa(a,!!b)};
Qsa=function(a,b,c){a.element.style.maxWidth=b?"":Math.min(a.fa,300*a.C)+"px";a.ia.vp(a.element,a.A,c,1==a.o);a.element.style.top?g.S(a.element,"ytp-bottom"):a.element.style.bottom&&g.S(a.element,"ytp-top");3==a.o&&a.ba.start()};
OZ=function(a){a.A&&!a.K&&a.A.hasAttribute("title")&&(a.F=a.A.getAttribute("title"),a.A.removeAttribute("title"),a.J&&I_(a))};
Rsa=function(a,b){g.U(a.element,"ytp-preview",0<=b);if(!(0>b||b==a.D)){a.D=b;var c=160*a.C,d=160*a.C,e=tN(a.B,a.D,c);BZ(a.H,e,c,d,!0);a.Z.start()}};
Tsa=function(a,b,c){Ssa("add_to_watch_later_list",a,b,c)};
Usa=function(a,b,c){Ssa("delete_from_watch_later_list",a,b,c)};
Ssa=function(a,b,c,d){g.mE(c?c+"playlist_video_ajax?action_"+a+"=1":"/playlist_video_ajax?action_"+a+"=1",{method:"POST",Yc:{feature:b.feature||null,authuser:b.bd||null,pageid:b.pageId||null},Nb:{video_ids:b.videoIds||null,source_playlist_id:b.sourcePlaylistId||null,full_list_id:b.fullListId||null,delete_from_playlists:b.B4||null,add_to_playlists:b.p4||null,plid:g.QD("PLAYBACK_ID")||null},context:b.context,onError:b.onError,onSuccess:function(a,c){b.onSuccess.call(this,a,c)},
xd:b.xd,withCredentials:!!d})};
L_=function(a,b,c){g.W.call(this,{G:"button",da:["ytp-watch-later-button","ytp-button"],P:{title:"{{title}}","data-tooltip-image":"{{image}}","data-tooltip-opaque":String(g.Y(a).H)},N:[{G:"div",L:"ytp-watch-later-icon",aa:"{{icon}}"},{G:"div",L:"ytp-watch-later-title",aa:"{{watch_later}}"}]});this.o=a;this.H=b.Jb();this.I=c;this.D=null;this.F=this.C=this.B=this.A=!1;xV(a,this.element,this,28665);this.U("click",this.xP,this);this.O(a,"videoplayerreset",this.yP);this.O(a,"appresize",this.Rc);this.Rc(g.dV(a).Na());
a=g.Y(this.o);c=g.OG("yt-player-watch-later-pending");a.g&&c?(VG(),Vsa(this,c.videoId)):K_(this,2);g.Ye(this,WY(b.Jb(),this.element))};
Vsa=function(a,b){if(!a.B){a.B=!0;K_(a,3);var c=g.Y(a.o);(a.A?Usa:Tsa)({videoIds:b,bd:c.bd,pageId:c.pageId,onError:a.lU,onSuccess:a.A?a.mU:a.kU,context:a},c.baseYtUrl,!0)}};
K_=function(a,b,c){if(b!=a.D){switch(b){case 3:var d=AX();break;case 1:d=Xoa();break;case 2:d=g.MV?{G:"div",da:["ytp-icon","ytp-icon-watch-later"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},N:[{G:"path",Ua:!0,L:"ytp-svg-fill",P:{d:"M18,8 C12.47,8 8,12.47 8,18 C8,23.52 12.47,28 18,28 C23.52,28 28,23.52 28,18 C28,12.47 23.52,8 18,8 L18,8 Z M16,19.02 L16,12.00 L18,12.00 L18,17.86 L23.10,20.81 L22.10,22.54 L16,19.02 Z"}}]};break;case 4:d=g.MV?{G:"div",da:["ytp-icon","ytp-icon-alert"]}:
{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},N:[{G:"path",Ua:!0,L:"ytp-svg-fill",P:{d:"M21,7.91 L19.60,20.91 L16.39,20.91 L15,7.91 L21,7.91 Z M18,27.91 C16.61,27.91 15.5,26.79 15.5,25.41 C15.5,24.03 16.61,22.91 18,22.91 C19.38,22.91 20.5,24.03 20.5,25.41 C20.5,26.79 19.38,27.91 18,27.91 Z"}}]}}a.updateValue("icon",d);a.D=b}b=g.Y(a.o);c?a.update({title:c,image:null}):b.userDisplayName?(c={USER_NAME:b.userDisplayName},a.update({title:a.A?g.V("YTP_ADDED_TO_WATCH_LATER_AS",
c):g.V("YTP_WATCH_LATER_AS_2",c),image:zla(b)})):a.update({title:g.V("YTP_WATCH_LATER_2"),image:null});OZ(a.H)};
M_=function(a){g.W.call(this,{G:"a",da:["ytp-watermark","yt-uix-sessionlink"],P:{target:"_blank",href:"{{url}}","aria-label":g.V("YTP_URL_NAVIGATE_TO",{WEBSITE:UM(g.Y(a))}),"data-sessionlink":"feature=player-watermark"},N:[g.MV?{G:"div",da:["ytp-icon","ytp-icon-watermark"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 110 26",width:"100%"},N:[{G:"path",Ua:!0,L:"ytp-svg-fill",P:{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.A=a;this.o=null;this.O(a,"videodatachange",this.B);this.O(a,"presentingplayerstatechange",this.D);a=g.cV(a);g.qH(this,!g.X(a,2));this.B()};
N_=function(a){RY.call(this,a);var b=g.Y(a),c=g.dV(a);this.ra=48;this.na=69;b.H&&(this.ra=42,this.na=63);var d=g.Y(this.g),e=d.B;if(qI("ytp-normal-css-loaded")){var f=qI("ytp-sprite-mode-css-loaded");e!=f&&g.RD(Error("Player sprite mode mismatch. playerInSpriteMode: "+e+", spriteModeCssServed: "+f+", isMobile: "+d.o),"WARNING")}this.K=null;this.F=[];d=new g.W({G:"div",L:"ytp-gradient-top"});g.N(this,d);g.uV(a,d.element,1);this.Pa=new g.VV(d,250,!0,100);g.N(this,this.Pa);this.A=new g.W({G:"div",L:"ytp-chrome-top"});
g.N(this,this.A);g.uV(a,this.A.element,1);this.Ma=new g.VV(this.A,250,!0,100);g.N(this,this.Ma);this.ba=[];this.D=new g.H_(a,this);g.N(this,this.D);g.uV(a,this.D.element,4);b.g&&b.kd&&(this.Ib=new qZ(a,this),g.N(this,this.Ib),g.uV(a,this.Ib.element,4));d=new tZ(a);g.N(this,d);g.uV(a,d.element,5);d.subscribe("show",(0,g.A)(this.Kn,this,d));this.ba.push(d);d=new uZ(a,this,d);g.N(this,d);d.ua(this.A.element);this.xa=new F_(a);g.N(this,this.xa);this.xa.ua(this.A.element);d=new g.lH({G:"div",L:"ytp-chrome-top-buttons"});
g.N(this,d);d.ua(this.A.element);b.Qn&&(this.fa=new L_(a,this,this.A.element),g.N(this,this.fa),this.fa.ua(d.element));e=new wZ(a,this);g.N(this,e);g.uV(a,e.element,5);e.subscribe("show",(0,g.A)(this.Kn,this,e));this.ba.push(e);this.Ha=new xZ(a,this,e,this.A.element);g.N(this,this.Ha);this.Ha.ua(d.element);b.Th&&(e=new yZ(a),g.N(this,e),g.uV(a,e.element,4));this.M=new VY(a,this,this.A.element);g.N(this,this.M);this.M.ua(d.element);e=new XY(a,this.M);g.N(this,e);e.ua(d.element);(this.l="1"==b.A?new z_(a,
this,this.o):null)&&g.N(this,this.l);"3"==b.A&&(d=new vZ(a,this),g.N(this,d),g.uV(a,d.element,8));this.H=new mZ(a,this,this.C);g.N(this,this.H);this.H.subscribe("show",this.HE,this);this.ia=!1;b.Cd&&(d=new M_(a),g.N(this,d),g.uV(a,d.element,7));d=new $V(a,new dW(a));g.N(this,d);g.uV(a,d.element,4);this.X=new g.W({G:"div",P:{tabindex:"0"}});this.X.U("focus",this.eJ,this);g.N(this,this.X);this.R=new g.W({G:"div",P:{tabindex:"0"}});this.R.U("focus",this.fJ,this);g.N(this,this.R);(this.Y=b.useTabletControls?
null:new nZ(a,c,this.H,this.o,this.C,(0,g.A)(this.Nn,this)))&&g.N(this,this.Y);this.O(a,"fullscreentoggled",this.GO);this.O(a,"offlineslatestatechange",this.pS,this);this.O(a,"cardstatechange",this.lg,this)};
O_=function(a,b,c){b=c?b.lastElementChild:b.firstElementChild;for(var d=null;b;){if("none"!=rh(b,"display")&&"true"!=b.getAttribute("aria-hidden")){var e=void 0;0<=b.tabIndex?e=b:e=O_(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.P_=function(a){g.AV.call(this,a);this.load()};
g.Q_=function(a,b,c){rP.call(this);this.g=a;this.o=b;this.B=c};
T_=function(a,b){g.M.call(this);var c=this;this.A=a||window.NaN;this.o=b||null;this.l=new g.Xt(function(){R_(c);S_(c)});
g.N(this,this.l);this.g=[]};
R_=function(a){var b=g.gG();a.g.forEach(function(c){c.expire<b&&U_(a,c,!0)});
a.g=(0,g.Jd)(a.g,function(a){return!(a.expire<b)})};
U_=function(a,b,c){c&&a.o&&a.o(b.value)};
S_=function(a){a.l.stop();var b=window.Infinity;for(var c=g.p(a.g),d=c.next();!d.done;d=c.next())d=d.value,d.expire<b&&(b=d.expire);b&&(0,window.isFinite)(b)&&(b=Math.max(b-(0,g.G)(),0),a.l.start(b))};
V_=function(){this.g=[];this.l=[];this.o=[]};
Xsa=function(a,b,c){c=g.Cd(c?"AUDIO":"VIDEO");g.Fa(c,Wsa);g.qF(c,"loadeddata",(0,g.A)(c.l,c));EM&&6<=W_&&g.qF(c,"webkitbeginfullscreen",(0,g.A)(c.play,c));a.l.push(c);b?a.o.push(c):X_(a,c);return c};
X_=function(a,b){g.Oa(a.l,b)&&!g.Oa(a.g,b)&&(b.src||b.load(),g.Ta(a.o,b)||a.g.push(b))};
Y_=function(a){g.M.call(this);this.l=null;for(var b=[],c=0;100>=c;c++)b.push(c/100);b={threshold:b};(this.g=window.IntersectionObserver?new window.IntersectionObserver((0,g.A)(this.o,this),b):null)&&this.g.observe(a)};
Z_=function(a){var b=a.g;g.W.call(this,{G:"div",da:["html5-video-player"],P:{tabindex:"-1",id:a.pa.attrs.id},N:[{G:"div",L:"html5-video-container",P:{"data-layer":"0"}},{G:"input",L:"ytp-attestation-challenge",P:{id:"atr_challenge",type:"hidden",value:"","data-layer":"0"}}]});b.Yn&&this.hp("ytp-transparent");g.$E(this.element,"version",a.pa.assets.js);this.app=a;this.D=this.g["html5-video-container"];this.ea=this.g["ytp-attestation-challenge"];this.A=new g.$g(0,0,0,0);this.o=null;this.H=new g.$g(0,
0,0,0);this.J=this.R=this.M=window.NaN;this.F=!1;this.I=window.NaN;this.K=!1;this.C=null;this.addEventListener=(0,g.A)(this.element.addEventListener,this.element);this.removeEventListener=(0,g.A)(this.element.removeEventListener,this.element);this.dispatchEvent=function(){};
this.X=(0,g.A)(function(){this.element.focus()},this);
YM(b)&&"blazer"!=b.playerStyle&&window.matchMedia&&(this.ba="desktop-polymer"==b.playerStyle?[{query:window.matchMedia("(max-width: 656px)"),size:new g.hd(426,240)},{query:window.matchMedia("(max-width: 856px)"),size:new g.hd(640,360)},{query:window.matchMedia("(max-width: 999px)"),size:new g.hd(854,480)},{query:window.matchMedia("(min-width: 1720px) and (min-height: 980px)"),size:new g.hd(1280,720)},{query:window.matchMedia("(min-width: 1294px) and (min-height: 630px)"),size:new g.hd(854,480)},{query:window.matchMedia("(min-width: 1000px)"),
size:new g.hd(640,360)}]:[{query:window.matchMedia("(max-width: 656px)"),size:new g.hd(426,240)},{query:window.matchMedia("(min-width: 1720px) and (min-height: 980px)"),size:new g.hd(1280,720)},{query:window.matchMedia("(min-width: 1294px) and (min-height: 630px)"),size:new g.hd(854,480)},{query:window.matchMedia("(min-width: 657px)"),size:new g.hd(640,360)}]);this.Z=b.so;this.B=new g.hd(window.NaN,window.NaN);g.SG({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 personalized 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_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 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_LINKLearn More$END_LINK",YTP_FULLSCREEN_UNSUPPORTED_ERROR:"Your browser doesn't support full screen. $BEGIN_LINKLearn 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_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:"Share link",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_NOTIFY:"Notify subscriptions",YTP_SUBSCRIBE_NOTIFY_OFF:"Get notified about every new video",YTP_SUBSCRIBE_NOTIFY_ON:"Stop getting notified 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:"Theater 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 licensing this video.",YTP_ERROR_VIDEO_NOT_FOUND:"This video can not 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 recognize 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 was 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 avaliable 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_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 color",YTP_FONT_OPACITY:"Font opacity",YTP_BACKGROUND_COLOR:"Background color",YTP_BACKGROUND_OPACITY:"Background opacity",YTP_WINDOW_COLOR:"Window color",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_WHY_THIS_AD_REASON_HEADER:"This ad may be based on:",YTP_WHY_THIS_AD_REASON_VIDEO_WATCHED:"The video 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."});Ysa(this);this.O(a.l,"mutedautoplaychange",this.IO)};
Ysa=function(a){var b=a.app.l,c=(0,g.A)(a.kK,a),d=(0,g.A)(a.lK,a),e=(0,g.A)(a.HO,a),f=(0,g.A)(a.PJ,a);b.addEventListener("initializingmode",c);b.addEventListener("videoplayerreset",d);b.addEventListener("videodatachange",e);b.addEventListener("presentingplayerstatechange",f);g.Ye(a,function(){b.removeEventListener("initializingmode",c);b.removeEventListener("videoplayerreset",d);b.removeEventListener("videodatachange",e);b.removeEventListener("presentingplayerstatechange",f)})};
Zsa=function(a){a.o&&(a.o.removeEventListener("focus",a.X),g.Id(a.o),a.o=null)};
$sa=function(a,b){if(a.o){var c=a.app.g;BI&&(a.o.setAttribute("x-webkit-airplay","allow"),b.title?a.o.setAttribute("title",b.title):a.o.removeAttribute("title"));a.app.g.experiments.g("html5_no_360_remote_killswitch")||(GO(b)?a.o.setAttribute("disableremoteplayback",""):a.o.removeAttribute("disableremoteplayback"));a.o.setAttribute("controlslist","nodownload");c.Eo&&b.videoId&&(a.o.poster=b.dd(c,"default.jpg"))}c=g.OO(b,"yt:bgcolor");a.D.style.backgroundColor=c?c:"";a.M=wM(g.OO(b,"yt:stretch"));a.R=
wM(g.OO(b,"yt:crop"),!0);g.U(a.element,"ytp-dni",b.isDni);a.uf()};
g.a0=function(a){var b=a.app.g.experiments.g("html5_aspect_from_adaptive_format");if(b){var c=g.bV(a.app);if((c=c?c.getVideoData():null)&&zO(c)&&c.Fa.g)return b=c.Fa.videoInfos[0],$_(b.video.width,b.video.height)}return(a=a.o)?$_(a.videoWidth,a.videoHeight):b?16/9:window.NaN};
g.b0=function(a,b){var c=a.Na(),d=ata(a,c,g.a0(a),b);return new g.$g((c.width-d.width)/2,(c.height-d.height)/2,d.width,d.height)};
ata=function(a,b,c,d){(0,window.isNaN)(a.M)||(c=a.M);var e=c;(0,window.isNaN)(a.J)?(0,window.isNaN)(a.R)||(e=a.R):e=a.J;a=$_(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};
$_=function(a,b){return 1>Math.abs(c0*b-a)||1>Math.abs(c0/a-b)?c0:a/b};
d0=function(a){if(1==a.app.R)return!1;var b=g.cV(a.app.l);a=g.X(b,1024)&&!a.app.g.experiments.g("dompaused_video_visible_killswitch");return b&&!g.X(b,2)&&!a&&!g.KP(b)};
MW=function(a){var b="3"==a.app.g.A&&!a.F&&d0(a)&&!a.app.Z;a.o.controls=b;a.o.tabIndex=b?0:-1;b?a.o.removeEventListener("focus",a.X):a.app.g.experiments.g("disable_focus_redirect")||a.o.addEventListener("focus",a.X)};
bta=function(a){var b=g.a0(a),c=a.Na(),d=1,e=!1,f=ata(a,c,b),k=CE();if(d0(a)){var l=(0,window.isNaN)(b)||OL||RT&&g.eM;BI&&!g.oc(601)?b=f.aspectRatio:l=l||"3"==a.app.g.A;l?l=new g.$g(0,0,c.width,c.height):(d=f.aspectRatio/b,l=new g.$g((c.width-f.width/d)/2,(c.height-f.height)/2,f.width/d,f.height),1==d&&g.eM&&(b=l.width-c.height*b,0<b&&(l.width+=b,l.height+=b)));k&&(a.o.style.display="");a.K=!0}else b=-c.height,BI?b*=window.devicePixelRatio:g.mH&&(b-=window.screen.height),l=new g.$g(0,b,c.width,c.height),
k&&(a.o.style.display="none"),a.K=!1;g.bh(a.H,l)||(a.H=l,g.XM(a.app.g)?(a.o.style.setProperty("width",l.width+"px","important"),a.o.style.setProperty("height",l.height+"px","important")):g.Gh(a.o,g.dh(l)),g.uh(a.o,g.eh(l)),e=!0);c=new g.$g((c.width-f.width)/2,(c.height-f.height)/2,f.width,f.height);g.bh(a.A,c)||(a.A=c,e=!0);g.nh(a.o,"transform",1==d?"":"scaleX("+d+")");return e};
e0=function(a){this.H=a;this.C=null;this.g=[];this.o=[];this.B=[];this.F=1;this.l=[];this.A=!1};
g.wV=function(a,b,c){a.A?a.B.push({type:b,data:c}):a.H.T(b,c)};
f0=function(a,b,c,d,e){g.W.call(this,{G:"div",L:"ytp-horizonchart"});this.A=Math.round(a/c);this.I=b;this.D=c;this.F=d;this.H=e;this.Eb=0;this.element.style.width=this.A*this.D+"px";this.element.style.height=this.I+"em";this.o=-1;this.C=this.B=null};
g0=function(a,b){if(-1==a.o){try{var c=g.Cd("CANVAS");a.B=c.getContext("2d")}catch(m){}if(a.B){var d=a.A*a.D;a.C=c;a.C.width=d;a.C.style.width=d+"px";a.element.appendChild(a.C)}else for(a.D=Math.floor(a.D/4),a.A*=4,c=0;c<a.D;c++)d=g.Cd("SPAN"),d.style.width=a.A+"px",d.style.left=a.A*c+"px",a.element.appendChild(d)}c=a.element.clientHeight||24;c!=a.o&&(a.o=c,a.B&&(c=1<(window.devicePixelRatio||1)?2:1,a.C.height=a.o*c,a.C.style.height=a.o+"px",a.B.scale(1,c)));c=g.p(b);for(var e=c.next();!e.done;e=
c.next()){d=a;var f=a.Eb,k=e.value;for(e=0;e+2<d.F.length&&d.F[e+1]<k;)e++;k=Math.min(1,(k-d.F[e])/(d.F[e+1]-d.F[e]));if(d.B)d.B.fillStyle=d.H[e],d.B.fillRect(f*d.A,0,d.A,d.o),d.B.fillStyle=d.H[e+1],d.B.fillRect(f*d.A,d.o*(1-k),d.A,d.o);else{f=d.element.children[f];var l=window.devicePixelRatio||1;k=Math.min(d.o,Math.round(d.o*k*l)/l);f.style.height=k+"px";f.style.backgroundColor=d.H[e+1];f.style.borderTop="solid "+(d.o-k)+"px "+d.H[e]}a.Eb=(a.Eb+1)%a.D}c=a.Eb;a.B?a.B.clearRect(c*a.A,0,a.A,a.o):(c=
a.element.children[c],c.style.height="0px",c.style.borderTop="")};
h0=function(a){var b=null;b={G:"button",da:["html5-video-info-panel-close","ytp-button"],P:{title:"close"},aa:"[x]"};g.W.call(this,{G:"div",L:"html5-video-info-panel",N:[b,{G:"div",L:"html5-video-info-panel-content",N:[{G:"div",N:[{G:"div",aa:"Video ID / sCPN"},{G:"span",aa:"{{video_id_and_cpn}}"}]},{G:"div",N:[{G:"div",aa:"Viewport"},{G:"span",aa:"{{dimensions}}"}]},{G:"div",N:[{G:"div",aa:"Current / Optimal Res"},{G:"span",aa:"{{resolution}}"}]},{G:"div",N:[{G:"div",aa:"Volume / Normalized"},{G:"span",
aa:"{{volume}}"}]},{G:"div",N:[{G:"div",aa:"Codecs"},{G:"span",aa:"{{codecs}}"}]},{G:"div",P:{style:"{{shader_info_style}}"},N:[{G:"div",aa:"Shader Info"},{G:"span",aa:"{{shader_info}}"}]},{G:"div",P:{style:"{{color_style}}"},N:[{G:"div",aa:"Color"},{G:"span",aa:"{{color}}"}]},{G:"div",P:{style:"{{drm_style}}"},N:[{G:"div",aa:"Protected"},{G:"span",aa:"{{drm}}"}]},{G:"div",P:{style:"{{host_style}}"},N:[{G:"div",aa:"Host"},{G:"span",aa:"{{stream_host}}"}]},{G:"div",P:{style:"{{bandwidth_style}}"},
N:[{G:"div",aa:"Connection Speed"},{G:"span",N:[{G:"span",aa:"{{bandwidth_chart}}"},{G:"span",aa:"{{bandwidth_kbps}}"}]}]},{G:"div",P:{style:"{{network_activity_style}}"},N:[{G:"div",aa:"Network Activity"},{G:"span",N:[{G:"span",aa:"{{network_activity_chart}}"},{G:"span",aa:"{{network_activity_bytes}}"}]}]},{G:"div",N:[{G:"div",aa:"Buffer Health"},{G:"span",N:[{G:"span",aa:"{{buffer_health_chart}}"},{G:"span",aa:"{{buffer_health_seconds}}"}]}]},{G:"div",P:{style:"{{live_latency_style}}"},N:[{G:"div",
aa:"Live Latency"},{G:"span",N:[{G:"span",aa:"{{live_latency_chart}}"},{G:"span",aa:"{{live_latency_secs}}"}]}]},{G:"div",P:{style:"{{live_mode_style}}"},N:[{G:"div",aa:"Live Mode"},{G:"span",aa:"{{live_mode}}"}]},{G:"div",N:[{G:"div",aa:"Dropped Frames"},{G:"span",aa:"{{dropped_frames}}"}]}]}]});b&&this.O(this.g["html5-video-info-panel-close"],"click",this.hide);b=[0,18750,37500,81250,128E3,256E3,512E3,2048E3,8192E3,32768E3,131072E3];var c="#000 #d53e4f #f46d43 #fdae61 #fee08b #e6f598 #abdda4 #66c2a5 #3288bd #124588 #fff".split(" "),
d=b.map(function(a){return a/4});
this.B=new f0(300,1,150,b,c);g.N(this,this.B);this.updateValue("bandwidth_chart",this.B);this.D=new f0(300,1,150,[0,3,10,15,30,60,90],"#000 #66c2a5 #abdda4 #e6f598 #fdae61 #f46d43 #a8330f".split(" "));g.N(this,this.D);this.updateValue("live_latency_chart",this.D);this.C=new f0(300,1,150,[0,15,30,60,90,120],"#000 #fdae61 #e6f598 #66c2a5 #3288bd #fff".split(" "));g.N(this,this.C);this.updateValue("buffer_health_chart",this.C);this.F=new f0(300,1,150,d,c);g.N(this,this.F);this.updateValue("network_activity_chart",
this.F);this.A=new g.Xt(this.wu,500,this);g.N(this,this.A);this.o=a};
cta=function(a){var b=/codecs="([^"]*)"/.exec(a.mimeType);return(b&&b[1]?b[1]+" ("+RH(a)+")":RH(a))+(a.video&&a.video.isAccelerated?" [acc]":"")};
i0=function(a,b){g.M.call(this);var c=this;this.pa=Rja(b);var d=this.pa.args||{};this.g=new RM(d);g.N(this,this.g);this.g.experiments.g("html5_parse_inline_fallback_host")&&(CK=!0);this.g.experiments.g("html5_vp9_new_mime")&&void 0!=window.navigator.mediaCapabilities&&(JL=!0);this.g.experiments.g("html5_new_sidx_parser_killswitch")&&(EJ=!1);this.Gd=sM(IM(this.g)&&!0,d.enablesizebutton);this.Wb=sM(!1,d.player_wide);this.I=new ZT;g.N(this,this.I);this.Y=sM(!1,d.external_list);this.ra=(this.Cd=sM(!1,
d.external_play_video))&&this.g.experiments.g("player_unified_fullscreen_transitions");this.K=new g.EF(this);g.N(this,this.K);vg=function(a,b){g.RD(b,"WARNING")};
this.X=null;this.ba=new g.WC;g.N(this,this.ba);this.ea=new g.WC;g.N(this,this.ea);this.fa=new e0(this.ea);this.fa.pause();this.l=new VU(this);g.N(this,this.l);this.H=new VU(this,1);g.N(this,this.H);this.F=new Z_(this);g.N(this,this.F);this.R=1;this.Wa={};this.M=this.g.storeUserVolume?Xja():{volume:100,muted:this.g.mute};this.Ma=this.g.yb?new lQ(this,1):new xH(this,1);g.N(this,this.Ma);this.B=null;this.Oc={};d={};this.rb=(d.internalvideodatachange=this.aQ,d.playbackready=this.bQ,d.playbackstarted=
this.cQ,d.statechange=this.dQ,d.signatureexpired=this.yT,d);this.kd=!this.g.experiments.g("web_player_dispose_modules_killswitch");this.A=dta(this);this.kd||g.N(this,this.A);this.Xb=new g.EF(this);g.N(this,this.Xb);this.J=new nQ(this.g,this.A);this.o=eta(this);d={};this.Fd=(d.airplayactivechange=this.SP,d.airplayavailabilitychange=this.TP,d.beginseeking=this.mQ,d.endseeking=this.dR,d.internalAbandon=this.wR,d.internalaudioformatchange=this.fQ,d.internalvideodatachange=this.Ht,d.internalvideoformatchange=
this.dU,d.liveviewshift=this.ER,d.playbackstalledatstart=this.ET,d.progresssync=this.SL,d.seekto=this.TL,d.onLoadProgress=this.FR,d.onVideoProgress=this.VL,d.onLoadedMetadata=this.HR,d.onDompaused=this.YQ,d.playbackready=this.AS,d.statechange=this.WC,d.connectionissue=this.KQ,d.newelementrequired=this.iS,d.heartbeatparams=this.QL,d.videoelementevent=this.UL,d.drmoutputrestricted=this.aR,d);this.D=null;this.xa=new T_(10,function(a){a!=g.bV(c,a.getPlayerType())&&(fta("c","prefetch_"+a.getVideoData().videoId),
a.dispose())});
g.N(this,this.xa);this.tb=this.wb=-1;this.Pa=new g.Xt(this.F.uf,16,this.F);g.N(this,this.Pa);this.Ta=!1;this.ga=!0;this.na=this.Ca=this.C=null;this.Dd=!1;this.Ib=this.Ed=null;this.Ha=this.ia=0;this.Z=this.sa=!1;this.zc=null;this.K.O(this.l,"crn_appapi",this.YP);this.K.O(this.l,"crx_appapi",this.ZP);this.K.O(this.l,"crn_appad",this.cC);this.K.O(this.l,"crx_appad",this.cC);this.K.O(this.l,"crn_queued",this.RS);this.K.O(this.l,"presentingplayerstatechange",this.RL);this.K.O(this.l,"resize",this.fT);
this.F.ua(g.nd(a));this.K.O(this.l,"offlineslatestatechange",this.oS);this.Qc=gta(this,this.F.element);g.N(this,this.Qc);g.MV=this.g.B;hta(this);this.J.g("fs");ita(this);g.XM(this.g)?g.tV(this.l,"ux"):(g.rY.ux=g.P_,this.A.Zx())};
eta=function(a){var b=new fU(a.g,1,a.J,a.F,(0,g.A)(a.ba.T,a.ba),(0,g.A)(a.l.Ii,a.l),a.F.ea,a.I);TU(b,a.g.g?1:jta(a,g.OG("yt-player-playback-rate")||1));j0(a,b,a.rb);return b};
dta=function(a){var b="",c=a.pa.assets.js||"";0==c.indexOf("//")&&(c=a.g.protocol+":"+c);"/base.js"==c.substr(-8)&&(b=c.substr(0,c.length-8)+"/");!a.g.experiments.g("web_player_module_url_debug_killswitch")&&(c=Error().stack)&&(c=c.match(/\((.*?\/(debug-)?player-.*?):\d+:\d+\)/))&&(c=c[1],c.includes(b)||g.RD(Error("Player module URL mismatch: "+(c+" vs "+b+".")),"WARNING"));b=new qY(a.l,b,a);c={};a=(c.loaded=(0,g.A)(a.aS,a),c.unloaded=(0,g.A)(a.bS,a),c.destroyed=(0,g.A)(a.Au,a),c);b.ga=a;return b};
kta=function(a,b){var c=!(!a.X||!a.X.l);a.X||(a.X=new h0(a),g.N(a,a.X),g.uV(a.l,a.X.element,4));g.qH(a.X,b);k0(a)&&c!=b&&g.aV(a.A).gO();b&&a.D.fc("sfn","1",!0)};
n0=function(a){var b=l0.getTag(!0,!a.g.deviceHasDisplay);a.B=new g.uY(b);g.N(a,a.B);a.D&&m0(a,a.D);try{a.g.Y?(a.na&&a.K.Da(a.na),a.na=a.K.O(a.B,"volumechange",a.XR)):(a.B.setVolume(a.M.volume/100),a.B.fk(a.M.muted))}catch(d){var c="setvolume.1;emsg."+(d.message&&d.message.replace(/[;:,]/g,"_"));g.oU(a.o,"html5.missingapi","YTP_ERROR_UNSUPPORTED_DEVICE",c);return}c=a.F;c.o=b;c.F=!1;c.o.parentNode||Hd(c.D,c.o,0);c.H=new g.$g(0,0,0,0);bta(c);MW(c);g.S(c.o,"video-stream");g.S(c.o,"html5-main-video");
b=c.app.g;b.Ib&&c.o.setAttribute("data-no-fullscreen",!0);b.pg&&(c.o.setAttribute("webkit-playsinline",""),c.o.setAttribute("playsinline",""));b.Xm&&c.o&&c.O(c.o,"click",c.o.play,c.o);try{uP(a.B)}catch(d){c="activate.1;emsg."+(d.message&&d.message.replace(/[;:,]/g,"_")),g.oU(a.o,"html5.missingapi","YTP_ERROR_UNSUPPORTED_DEVICE",c)}};
m0=function(a,b){a.g.experiments.g("html5_use_media_element_view")?loa(b,new g.Q_(a.B,0,window.Infinity)):loa(b,a.B)};
o0=function(a){a.B&&(a.na&&(a.K.Da(a.na),a.na=null),a.D&&DU(a.D),Zsa(a.F),a.B.Fg()&&l0.releaseTag(a.B.la()),a.B=null)};
g.q0=function(a,b){p0(a,KW(a,b))};
p0=function(a,b){if(a.D!=b){var c=null;a.D&&(c=a.D.o,tY(a.A),qV(a,"cuerangesremoved",RS(a.D.I)||[]),lta(a));r0(a,b);a.D=b;a.B&&m0(a,b);j0(a,b,a.Fd);a.Ht("newdata",b,b.getVideoData());c&&!g.IP(c,b.o)&&a.WC(new g.NP(b.o,c));b.ra.g&&a.Ht("dataloaded",b,b.getVideoData());b.getVideoData().Ka&&a.l.va("onPlaybackQualityChange",b.getVideoData().Ka.video.quality);qV(a,"cuerangesadded",RS(a.D.I)||[]);g.JP(b.o)&&IU(b)}};
j0=function(a,b,c){for(var d in c)b.subscribe(d,c[d],a)};
r0=function(a,b){if(b!=a.o){var c=b.getPlayerType();a.Oc[c]=b}};
g.cra=function(a,b){var c=g.bV(a,b);c&&(c!=a.o?p0(a,a.o):lta(a))};
lta=function(a){if(a.B){var b=a.A.o;b&&b.Xz(a.B)&&(o0(a),n0(a))}DU(a.D);b=a.D;var c=a.Fd,d;for(d in c)b.unsubscribe(d,c[d],a);a.D=null};
g.bV=function(a,b){return b?1==b?a.o:a.Oc[b]||null:a.D};
KW=function(a,b){var c=g.bV(a,b);c||(c=mta(a,b),r0(a,c));return c};
mta=function(a,b){var c=a.J;2==b&&(c=new nQ(a.g));return new fU(a.g,b,c,a.F,(0,g.A)(a.ba.T,a.ba),(0,g.A)(a.l.Ii,a.l),a.F.ea,a.I)};
nta=function(a){var b=a.getVideoData(),c=10<b.lengthSeconds,d=a.A;if(!d.B)try{d.g.getVideoData(1).adModule?(d.B=new eY(d.ia,d.ia.H),d.B.create()):g.tV(d.g,"ad")}catch(e){g.tV(d.g,"ad"),g.RD(e)}d.Xx();d.fa&&c?g.tV(d.g,"endscreen"):d.xr();d.by();d.fy();d.ey();d.Wx();d.fa&&c?(g.tV(d.g,"annotations_module"),g.tV(d.g,"creatorendscreen")):(d.vr(),d.wr());d.Ux();d.Tx();d.yr();d.Yx();d.Vx();d.gy();c&&ZO(b,a.g)?a.Xb.O(a.l,"presentingplayerstatechange",a.HS):kra(a.A);a.l.T("videoready",b)};
s0=function(a){var b=oI();return!!(b&&b.canPlayType&&b.canPlayType(a))};
fY=function(a){return a.o.getVideoData()};
ota=function(a,b){var c=g.bV(a,b);return(c=c?c.l:null)?yP(c):0};
t0=function(a){var b=fY(a);return ZO(b,a.g)};
hta=function(a){var b=new g.vO(a.pa.args);g.QG()&&b.jd.push("remote");a.g.experiments.g("web_player_ux_module_wait")&&b.jd.push("ux");b.Ld()&&(mU(a.o,b,(0,g.A)(a.Zd,a)),!a.g.experiments.g("html5_delay_initial_loading")&&t0(a)&&(a.g.Dd||a.g.Ed)&&rU(a.o))};
ita=function(a){var b=a.F,c=b.app.g;c.Fd||b.hp("tag-pool-enabled");c.sc&&b.hp("house-brand");"gvn"==c.playerStyle&&(b.hp("ytp-gvn"),b.element.style.backgroundColor="transparent");c.ba&&(b.I=g.TF("yt-dom-content-change",b.uf,b));b.O(window,"resize",b.uf,b);b=a.Ma;b.o=a.F.element;for(var d in b.A)b.o[d]=b.A[d];(d=iF(a.F.element))&&a.K.O(a.F,d,a.lR);a.K.O(window,"resize",a.gT);b=a.pa.args;n0(a);d=fY(a);a.l.va("onVolumeChange",a.M);if(b&&xQ(b))if((c=YM(a.g))&&!a.Y&&(b.fetch=0),u0(a,b),c&&!a.Y)v0(a);else if(!d.Ld())a.C.onReady((0,g.A)(a.Ju,
a));p0(a,a.o);if(!g.X(a.o.o,128)){a:{b=a.g.deviceHasDisplay;try{var e=oI();if(e.canPlayType)for(b=b?pta:qta,c=0;c<b.length;c++)if(e.canPlayType(b[c])){var f=null;break a}f="fmt.noneavailable"}catch(k){f="html5.missingapi"}}"fmt.noneavailable"==f?g.oU(a.o,"html5.missingapi","YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK","nocodecs.1"):"html5.missingapi"==f?g.oU(a.o,f,"YTP_ERROR_UNSUPPORTED_DEVICE","nocanplaymedia.1"):d&&d.Ld()&&t0(a)&&(a.g.Dd||a.g.Ed)?w0(a):g.cN(a.g)||rta(a)}};
rta=function(a){a.l.T("initializingmode");g.x0(a,2);a.A.yr()};
w0=function(a){if(g.X(a.o.o,128))return!1;t0(a)&&a.g.Ed&&(l0.hasTags(void 0)&&a.Z?(AH(a,{muted:!1,volume:a.M.volume},!1),y0(a,!1)):l0.hasTags(void 0)||a.M.muted||(AH(a,{muted:!0,volume:a.M.volume},!1),y0(a,!0)));sta(a,1,a.o.getVideoData());a.l.T("initializingmode");p0(a,a.o);g.x0(a,3);var b=a.A.o;if(!a.g.Fd||b&&b.Xz(a.B)&&a.Dd)o0(a),n0(a),m0(a,a.o);uU(a.o);if(g.X(a.o.o,128))return!1;z0(a,3);return a.Dd=!0};
k0=function(a){a=g.aV(a.A);return!!a&&a.loaded};
tta=function(a,b){if(a.D==a.o&&a.D.ze!=b){var c=a.D;c.ze=b;c.l&&c.l.To(b);a.l.T("loopchange",b)}};
A0=function(a,b,c){(0,window.isNaN)(b)||(b=jta(a,b),a.o.Ma!=b&&(TU(a.o,b),c&&!a.g.g&&g.NG("yt-player-playback-rate",b),a.l.va("onPlaybackRateChange",b)))};
jta=function(a,b){var c=1;c=a.l.gk();return c=1>b?g.Ka(c,function(a){return a>=b}):Ma(c,function(a){return a<=b})};
B0=function(a,b){var c=RU(a.o,b);a.D&&a.D!=a.o&&(c=uta(c,RU(a.D,b),"ad_"));if(b&&a.B){c["0sz"]=0==a.B.Pl().cf();c.op=a.B.Rl("opacity");var d=a.B.Rt().y+a.B.Pl().height;c.yof=0>=d;c.dis=a.B.Rl("display")}(d=b?(0,g.qU)():null)&&(c.gpu=d);c.cgr=!0;c.debug_playbackQuality=a.H.Tl();c.debug_date=(new Date).toString();delete c.uga;delete c.q;(d=a.A.F)&&(c=uta(c,d.eF(),"fresca_"));return JSON.stringify(c,null,2)};
g.$U=function(a){return 1==a.R?1:k0(a)?3:g.bV(a).getPlayerType()};
C0=function(a,b){return 3==g.$U(a)?MP(g.aV(a.A).D):2==b?a.tb:a.wb};
wta=function(a){vta(a);tta(a,!1);a.Wa={};a=a.J;var b=a.l;b.ea={};b.Z={};a.A=!1};
v0=function(a){var b=xta();if(b)if(b.list){if(a.C&&a.C.listId.toString()==b.list)if(0<=b.index){var c=b.video;a.l.isFullscreen()&&((c=c[a.C.ie()])&&c.encrypted_id!=a.C.Zb().videoId||(b.index=a.C.ie()));BQ(a.C,b);a.Ca&&D0(a,a.Ca)}else a.Ca=null}else a.Bn()};
u0=function(a,b){a.C&&(a.C.unsubscribe("error",a.Bn,a),g.Ze(a.C),a.C=null);b&&(a.Y&&(b.fetch=0),a.C=new g.wQ(b),a.C.subscribe("error",a.Bn,a))};
E0=function(a,b,c,d){b in a.Wa||(c=new g.rQ(c,d,{id:b,priority:1}),c.namespace="appad",QS(a.o.I,[c]),a.Wa[b]=c)};
yta=function(a){if(a.g.experiments.g("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.rQ(k,e.endTimeMs||k,f);e.namespace="appchaptermarker";c.push(e)}}oV(a,c,1)}};
g.x0=function(a,b){b!=a.R&&(2==b&&(z0(a,-1),z0(a,5)),a.R=b,a.l.T("appstatechange",b))};
z0=function(a,b){a.D&&2==a.D.getPlayerType()?a.tb!=b&&(a.tb=b,a.l.va("onAdStateChange",b)):a.wb!=b&&(a.wb=b,a.l.va("onStateChange",b))};
nY=function(a,b,c,d,e){c=0!=c;if(e=g.bV(a,e))2==a.R&&w0(a),wU(e,b,c,d)};
G0=function(a,b,c,d,e){a.g.sc&&oN(b);var f=new g.vO(b);d||(b&&xQ(b)?(YM(a.g)&&!a.Y&&(b.fetch=0),u0(a,b)):a.C&&u0(a,null),a.Y=sM(!1,b.external_list),YM(a.g)&&!a.Y&&v0(a));return F0(a,f,c,e)};
sta=function(a,b,c){var d=b+c.videoId,e=a.xa.get(d);if(!e)return null;a.xa.remove(d);if(e==g.bV(a,b))return e;if((e.getVideoData().oauthToken||c.oauthToken)&&e.getVideoData().oauthToken!=c.oauthToken)return null;if(1==e.getPlayerType()){e.getVideoData().autonavState=a.o.getVideoData().autonavState;b=a.o;c=a.rb;for(var f in c)b.unsubscribe(f,c[f],a);f=a.o.Ma;a.o.dispose();a.o=e;TU(a.o,f);j0(a,e,a.rb);wta(a)}else(f=g.bV(a,b))&&f.dispose();a.D.getPlayerType()==e.getPlayerType()?p0(a,e):r0(a,e);return e};
F0=function(a,b,c,d){fO("_start","")||(VN("p",void 0,""),a.J.info("srt",0));var e=sta(a,c||a.D.getPlayerType(),b);e&&(0,g.oQ)("pfp",void 0,"prefetch_"+b.videoId);if(!e){e=g.bV(a,c);if(!e)return!1;a.Pa.stop();H0(a,c);mU(e,b,(0,g.A)(a.Zd,a),d)}e==a.o&&(a.g.J=b.oauthToken);if(!pU(e))return!1;a.Ta&&(e.Qc=!1,a.Ta=!1);if(e==a.o)return g.x0(a,1),w0(a);uU(e);return!0};
I0=function(a,b,c){c=g.bV(a,c);b&&c==a.o&&(c.getVideoData().qh=!0)};
K0=function(a,b,c){a.g.sc&&oN(b);if(b&&xQ(b))if(a.ga=!0,u0(a,b),(b=a.C.Zb())&&b.Ld())J0(a,b,c);else a.C.onReady((0,g.A)(a.Ju,a));else c||(c=g.$U(a)),1==c&&a.Bn(),J0(a,new g.vO(b),c)};
J0=function(a,b,c){var d=g.bV(a,c);d&&(H0(a,c),mU(d,b,(0,g.A)(a.Zd,a)),d==a.o&&(g.x0(a,1),rta(a)))};
g.M0=function(a,b,c,d,e,f,k){if(!b&&!d)throw Error("Playback source is invalid");a.l.isFullscreen()&&!a.ra||!IM(a.g)&&!g.GM(a.g)?(c=a.J,f=c.l,f.ea={},f.Z={},c.A=!1,a.J.reset(),b={video_id:b},e&&(b.autoplay="1"),a.g.experiments.g("html5_player_autonav_logging")&&e&&(b.autonav="1"),d?(b.list=d,a.ga=!1,L0(a,b,void 0,void 0,void 0)):G0(a,b,1)):(c=c||{},c.lact=g.tG(),c.vis=a.l.Ii(),a.Cd||"gaming"==a.g.playerStyle?a.l.va("onPlayVideo",{videoId:b,watchEndpoint:k,sessionData:c,listId:d}):(a=f&&a.getVideoData().isLiveDestination?
a.g.loaderUrl:a.g.getVideoUrl(b,d),g.y("yt.player.exports.navigate")(a,c)))};
L0=function(a,b,c,d,e){if(g.Ba(b)&&!g.ya(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;u0(a,b);a.C.onReady((0,g.A)(a.Ju,a))};
g.N0=function(a){if(a.l.app.Z)return!1;if(3==g.$U(a))return!0;YM(a.g)&&!a.Y&&v0(a);return!(!a.C||!a.C.hasNext())};
O0=function(a,b,c){var d=g.bV(a,1).getVideoData().suggestions;g.vV(a.l)&&d?(d=g.I(d,g.BY),b=d[0],d=c?b.wy:b.Od,g.M0(a,b.Zb().videoId,d,b.getPlaylistId(),c)):!a.Y||a.l.isFullscreen()&&!a.ra?3==g.$U(a)?g.aV(a.A).eO():a.C&&(YM(a.g)&&!a.l.isFullscreen()?D0(a,"yt.www.watch.lists.next"):(a.C.hasNext(b)&&AQ(a.C,yQ(a.C)),a.C.Vc?(b=c&&a.g.experiments.g("html5_player_autonav_logging"),F0(a,a.C.Zb(void 0,c,b),1)):a.ga=!1)):a.l.va("onPlaylistNext")};
zta=function(a,b){!a.Y||a.l.isFullscreen()&&!a.ra?3==g.$U(a)?g.aV(a.A).fO():a.C&&(YM(a.g)&&!a.l.isFullscreen()?D0(a,"yt.www.watch.lists.prev"):(a.C.Sf(b)&&AQ(a.C,zQ(a.C)),a.C.Vc?F0(a,a.C.Zb(),1):a.ga=!1)):a.l.va("onPlaylistPrevious")};
D0=function(a,b){var c=g.y(b);if(c){var d=xta();d&&d.list&&c();a.Ca=null}else a.Ca=b};
xta=function(){var a=g.y("yt.www.watch.lists.getState");return a?a():null};
Ata=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.rQ(1E3*c,1E3*d,b);c.namespace="appapi";oV(a,[c],1);return!0};
oV=function(a,b,c){var d=g.bV(a,c);d&&(QS(d.I,b),c&&g.$U(a)!=c||qV(a,"cuerangesadded",b))};
gra=function(a){var b=g.gG(),c=a.getCurrentTime();a=a.getVideoData();return b-Math.max(1E3*(c-a.startSeconds),0)};
AH=function(a,b,c){a.g.I&&(a.M=b,b.muted||y0(a,!1),c&&a.g.storeUserVolume&&!a.g.Y&&(c={volume:Math.floor(b.volume),muted:b.muted},c.unstorable||(g.NG("yt-player-volume",c),g.NG("yt-player-volume",c,2592E3))),Bta(a),c=g.zI&&!a.B.pd(),!a.g.Y||c)&&(b=g.$b(b),a.g.storeUserVolume||(b.unstorable=!0),a.l.va("onVolumeChange",b))};
Bta=function(a){var b=a.getVideoData();b.nn||(b=a.g.Y?1:aP(b,a.g),a.B.setVolume(a.M.volume*b/100),a.B.fk(a.M.muted))};
y0=function(a,b){b!=a.Z&&(a.Z=b,a.l.T("mutedautoplaychange",b))};
Cta=function(a,b){var c=window.screen&&window.screen.orientation;if(a.g.experiments.g("lock_fullscreen2")&&c&&c.lock&&(!g.zI||!g.P0))if(b){var d=0==c.type.indexOf("portrait"),e=g.a0(a.F),f=d;1>e?f=!0:1<e&&(f=!1);if(!a.sa||f!=d){if(c=c.lock(f?"portrait":"landscape"))c["catch"](g.z);a.sa=!0}}else a.sa&&(a.sa=!1,c.unlock())};
Q0=function(a,b){var c=!!b,d=!!a.Ha!=c;a.Ha=b;a.g.dj=c;var e=a.I;e.B!=b&&(e.B=b,e.o());a.F.uf();d&&a.J.g("fsc");d&&(a.l.T("fullscreentoggled",c),d=fY(a),c={fullscreen:c,videoId:d.ypcOrigin||d.videoId,time:a.getCurrentTime()},a.H.getPlaylistId()&&(c.listId=a.H.getPlaylistId()),a.l.va("onFullscreenChange",c))};
qV=function(a,b,c){a.l.T(b,c);var d=g.QM(a.g)||g.XM(a.g)||"WEB_REMIX"==a.g.l.c;if(c&&d){switch(b){case "cuerangemarkersupdated":var e="onCueRangeMarkersUpdated";break;case "cuerangesadded":e="onCueRangesAdded";break;case "cuerangesremoved":e="onCueRangesRemoved"}e&&a.l.va(e,c)}};
kY=function(a,b){var c=g.bV(a,b);c&&(2==a.R?w0(a):a.g.experiments.g("html5_restore_userreload_killswitch")&&c.o.isError()?R0(a,"user"):(null!=a.X&&a.X.l&&a.X.start(),g.X(c.o,2)?nY(a,0):IU(c)))};
mY=function(a,b){var c=g.bV(a,b);c&&yU(c)};
Dta=function(a){var b=a.o.getVideoData(),c=new g.vO({video_id:b.videoId,oauth_token:b.oauthToken});a.g.experiments.g("html5_stopVideo_copy_thumbs_killswitch")||(c.Kh=g.$b(b.Kh));J0(a,c,1);null!=a.X&&a.X.stop()};
H0=function(a,b){g.LN(a.ia);a.ia=0;var c=g.bV(a,b);c&&1!=a.R&&2!=a.R&&((a.g.experiments.g("html5_disable_module_ownership")||c==a.D)&&tY(a.A),1==b&&(a.g.experiments.g("html5_stop_video_in_cancel_playback")&&OU(c),vta(a)),g.CU(c),qV(a,"cuerangesremoved",RS(c.I)||[]),c.I.reset())};
Eta=function(a,b,c,d,e){c=0!=c;var f=g.bV(a,e);if(!f||2!=f.getPlayerType()&&!g.TO(f.getVideoData()))3==g.$U(a)?g.aV(a.A).Yl("control_seek",b,c):nY(a,b,c,d,e)};
R0=function(a,b,c){if(!(a.Ta||a.g.experiments.g("html5_only_reload_for_yt_killswitch")&&"yt"!=a.g.ea)){c&&(o0(a),n0(a));a.Ta=!0;c=g.bV(a);c.Qc=!0;c.fc("reloading","reason."+b);c=a.getVideoData();var d={};d.video_id=c.videoId;d.adformat=c.adFormat;c.ya||(d.start=g.bV(a).getCurrentTime(),d.resume="1");c.af&&(d.vvt=c.af);c.vssCredentialsToken&&(d.vss_credentials_token=c.vssCredentialsToken,d.vss_credentials_token_type=c.uq);c.oauthToken&&(d.oauth_token=c.oauthToken);d.autoplay=1;d.reload_count=c.Gh+
1;d.reload_reason=b;c.Ik&&(d.unplugged_partner_opt_out=c.Ik);G0(a,d)}};
Fta=function(a,b){fY(a).autonavState=b;g.NG("yt-player-autonavstate",b);a.l.T("autonavchange",b)};
Gta=function(a){var b=a.getVideoData().nn,c=a.g.Xg;b||c?(a=a.B,a.D=!0,a.fk(!0)):(a.B.D=!1,AH(a,a.M))};
gta=function(a,b){return a.g.experiments.g("html5_enable_embedded_player_visibility_signals")&&a.g.g?new Y_(b):null};
vta=function(a){(a=a.A.B)&&a.created&&a.destroy()};
uta=function(a,b,c){for(var d in b)a[c+d]=b[d];return a};
g.S0=function(a,b){var c={},d;for(d in b)c.placeholder=b[d],a=a.replace(new RegExp("\\$"+d,"gi"),function(a){return function(){return a.placeholder}}(c)),c={placeholder:c.placeholder};
return a};
aa=[];fa="function"==typeof Object.defineProperties?Object.defineProperty:function(a,b,c){a!=Array.prototype&&a!=Object.prototype&&(a[b]=c.value)};
ea="undefined"!=typeof window&&window===this?this:"undefined"!=typeof window.global&&null!=window.global?window.global:this;aaa=function(){var a=0;return function(b){return"jscomp_symbol_"+(b||"")+a++}}();
ma="function"==typeof Object.create?Object.create:function(a){function b(){}
b.prototype=a;return new b};
if("function"==typeof Object.setPrototypeOf)T0=Object.setPrototypeOf;else{var U0;a:{var Hta={ld:!0},Ita={};try{Ita.__proto__=Hta;U0=Ita.ld;break a}catch(a){}U0=!1}T0=U0?function(a,b){a.__proto__=b;if(a.__proto__!==b)throw new TypeError(a+" is not extensible");return a}:null}var na=T0;
pa("String.prototype.repeat",function(a){return a?a:function(a){var b=qa(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}});
pa("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}});
pa("String.prototype.endsWith",function(a){return a?a:function(a,c){var b=qa(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 Jta="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};
pa("Object.assign",function(a){return a||Jta});
pa("Promise",function(a){function b(a){this.l=0;this.o=void 0;this.g=[];var b=this.A();try{a(b.resolve,b.reject)}catch(m){b.reject(m)}}
function c(){this.g=null}
function d(a){return a instanceof b?a:new b(function(b){b(a)})}
if(a)return a;c.prototype.l=function(a){null==this.g&&(this.g=[],this.A());this.g.push(a)};
c.prototype.A=function(){var a=this;this.o(function(){a.C()})};
var e=ea.setTimeout;c.prototype.o=function(a){e(a,0)};
c.prototype.C=function(){for(;this.g&&this.g.length;){var a=this.g;this.g=[];for(var b=0;b<a.length;++b){var c=a[b];a[b]=null;try{c()}catch(n){this.B(n)}}}this.g=null};
c.prototype.B=function(a){this.o(function(){throw a;})};
b.prototype.A=function(){function a(a){return function(d){c||(c=!0,a.call(b,d))}}
var b=this,c=!1;return{resolve:a(this.I),reject:a(this.B)}};
b.prototype.I=function(a){if(a===this)this.B(new TypeError("A Promise cannot resolve to itself"));else if(a instanceof b)this.J(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.H(a):this.C(a)}};
b.prototype.H=function(a){var b=void 0;try{b=a.then}catch(m){this.B(m);return}"function"==typeof b?this.K(b,a):this.C(a)};
b.prototype.B=function(a){this.D(2,a)};
b.prototype.C=function(a){this.D(1,a)};
b.prototype.D=function(a,b){if(0!=this.l)throw Error("Cannot settle("+a+", "+b+"): Promise already settled in state"+this.l);this.l=a;this.o=b;this.F()};
b.prototype.F=function(){if(null!=this.g){for(var a=0;a<this.g.length;++a)f.l(this.g[a]);this.g=null}};
var f=new c;b.prototype.J=function(a){var b=this.A();a.wn(b.resolve,b.reject)};
b.prototype.K=function(a,b){var c=this.A();try{a.call(b,c.resolve,c.reject)}catch(n){c.reject(n)}};
b.prototype.then=function(a,c){function d(a,b){return"function"==typeof a?function(b){try{e(a(b))}catch(L){f(L)}}:b}
var e,f,k=new b(function(a,b){e=a;f=b});
this.wn(d(a,e),d(c,f));return k};
b.prototype["catch"]=function(a){return this.then(void 0,a)};
b.prototype.wn=function(a,b){function c(){switch(d.l){case 1:a(d.o);break;case 2:b(d.o);break;default:throw Error("Unexpected state: "+d.l);}}
var d=this;null==this.g?f.l(c):this.g.push(c)};
b.resolve=d;b.reject=function(a){return new b(function(b,c){c(a)})};
b.race=function(a){return new b(function(b,c){for(var e=g.p(a),f=e.next();!f.done;f=e.next())d(f.value).wn(b,c)})};
b.all=function(a){var c=g.p(a),e=c.next();return e.done?d([]):new b(function(a,b){function f(b){return function(c){k[b]=c;l--;0==l&&a(k)}}
var k=[],l=0;do k.push(void 0),l++,d(e.value).wn(f(k.length-1),b),e=c.next();while(!e.done)})};
return b});
pa("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}});
pa("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}});
pa("Object.is",function(a){return a?a:function(a,c){return a===c?0!==a||1/a===1/c:a!==a&&c!==c}});
pa("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}});
pa("String.prototype.includes",function(a){return a?a:function(a,c){return-1!==qa(this,a,"includes").indexOf(a,c||0)}});
pa("WeakMap",function(a){function b(a){this.Ea=(f+=Math.random()+1).toString();if(a){da();ka();a=g.p(a);for(var b;!(b=a.next()).done;)b=b.value,this.set(b[0],b[1])}}
function c(a){ra(a,e)||fa(a,e,{value:{}})}
function d(a){var b=Object[a];b&&(Object[a]=function(a){c(a);return b(a)})}
if(function(){if(!a||!Object.seal)return!1;try{var b=Object.seal({}),c=Object.seal({}),d=new a([[b,2],[c,3]]);if(2!=d.get(b)||3!=d.get(c))return!1;d["delete"](b);d.set(c,4);return!d.has(b)&&4==d.get(c)}catch(n){return!1}}())return a;
var e="$jscomp_hidden_"+Math.random();d("freeze");d("preventExtensions");d("seal");var f=0;b.prototype.set=function(a,b){c(a);if(!ra(a,e))throw Error("WeakMap key fail: "+a);a[e][this.Ea]=b;return this};
b.prototype.get=function(a){return ra(a,e)?a[e][this.Ea]:void 0};
b.prototype.has=function(a){return ra(a,e)&&ra(a[e],this.Ea)};
b.prototype["delete"]=function(a){return ra(a,e)&&ra(a[e],this.Ea)?delete a[e][this.Ea]:!1};
return b});
pa("Map",function(a){function b(){var a={};return a.previous=a.next=a.head=a}
function c(a,b){var c=a.g;return la(function(){if(c){for(;c.head!=a.g;)c=c.previous;for(;c.next!=c.head;)return c=c.next,{done:!1,value:b(c)};c=null}return{done:!0,value:void 0}})}
function d(a,b){var c=b&&typeof b;"object"==c||"function"==c?f.has(b)?c=f.get(b):(c=""+ ++k,f.set(b,c)):c="p_"+b;var d=a.l[c];if(d&&ra(a.l,c))for(var e=0;e<d.length;e++){var l=d[e];if(b!==b&&l.key!==l.key||b===l.key)return{id:c,list:d,index:e,Id:l}}return{id:c,list:d,index:-1,Id:void 0}}
function e(a){this.l={};this.g=b();this.size=0;if(a){a=g.p(a);for(var c;!(c=a.next()).done;)c=c.value,this.set(c[0],c[1])}}
if(function(){if(!a||"function"!=typeof a||!a.prototype.entries||"function"!=typeof Object.seal)return!1;try{var b=Object.seal({x:4}),c=new a(g.p([[b,"s"]]));if("s"!=c.get(b)||1!=c.size||c.get({x:4})||c.set({x:4},"t")!=c||2!=c.size)return!1;var d=c.entries(),e=d.next();if(e.done||e.value[0]!=b||"s"!=e.value[1])return!1;e=d.next();return e.done||4!=e.value[0].x||"t"!=e.value[1]||!d.next().done?!1:!0}catch(r){return!1}}())return a;
da();ka();var f=new window.WeakMap;e.prototype.set=function(a,b){a=0===a?0:a;var c=d(this,a);c.list||(c.list=this.l[c.id]=[]);c.Id?c.Id.value=b:(c.Id={next:this.g,previous:this.g.previous,head:this.g,key:a,value:b},c.list.push(c.Id),this.g.previous.next=c.Id,this.g.previous=c.Id,this.size++);return this};
e.prototype["delete"]=function(a){a=d(this,a);return a.Id&&a.list?(a.list.splice(a.index,1),a.list.length||delete this.l[a.id],a.Id.previous.next=a.Id.next,a.Id.next.previous=a.Id.previous,a.Id.head=null,this.size--,!0):!1};
e.prototype.clear=function(){this.l={};this.g=this.g.previous=b();this.size=0};
e.prototype.has=function(a){return!!d(this,a).Id};
e.prototype.get=function(a){return(a=d(this,a).Id)&&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});
pa("Set",function(a){function b(a){this.g=new window.Map;if(a){a=g.p(a);for(var b;!(b=a.next()).done;)this.add(b.value)}this.size=this.g.size}
if(function(){if(!a||"function"!=typeof a||!a.prototype.entries||"function"!=typeof Object.seal)return!1;try{var b=Object.seal({x:4}),d=new a(g.p([b]));if(!d.has(b)||1!=d.size||d.add(b)!=d||1!=d.size||d.add({x:4})!=d||2!=d.size)return!1;var e=d.entries(),f=e.next();if(f.done||f.value[0]!=b||f.value[1]!=b)return!1;f=e.next();return f.done||f.value[0]==b||4!=f.value[0].x||f.value[1]!=f.value[0]?!1:e.next().done}catch(k){return!1}}())return a;
da();ka();b.prototype.add=function(a){a=0===a?0:a;this.g.set(a,a);this.size=this.g.size;return this};
b.prototype["delete"]=function(a){a=this.g["delete"](a);this.size=this.g.size;return a};
b.prototype.clear=function(){this.g.clear();this.size=0};
b.prototype.has=function(a){return this.g.has(a)};
b.prototype.entries=function(){return this.g.entries()};
b.prototype.values=function(){return this.g.values()};
b.prototype.keys=b.prototype.values;b.prototype[window.Symbol.iterator]=b.prototype.values;b.prototype.forEach=function(a,b){var c=this;this.g.forEach(function(d){return a.call(b,d,d,c)})};
return b});
pa("Array.from",function(a){return a?a:function(a,c,d){ka();c=null!=c?c:function(a){return a};
var b=[],f=a[window.Symbol.iterator];if("function"==typeof f)for(a=f.call(a);!(f=a.next()).done;)b.push(c.call(d,f.value));else{f=a.length;for(var k=0;k<f;k++)b.push(c.call(d,a[k]))}return b}});
pa("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 Kta=function(){function a(){function a(){}
window.Reflect.construct(a,[],function(){});
return new a instanceof a}
if("undefined"!=typeof window.Reflect&&window.Reflect.construct){if(a())return window.Reflect.construct;var b=window.Reflect.construct;return function(a,d,e){a=b(a,d);e&&window.Reflect.setPrototypeOf(a,e.prototype);return a}}return function(a,b,e){void 0===e&&(e=a);
e=ma(e.prototype||Object.prototype);return Function.prototype.apply.call(a,e,b)||e}}();
pa("Reflect.construct",function(){return Kta});
pa("Number.isFinite",function(a){return a?a:function(a){return"number"!==typeof a?!1:!(0,window.isNaN)(a)&&window.Infinity!==a&&-window.Infinity!==a}});
pa("Number.parseInt",function(a){return a||window.parseInt});
pa("Number.MAX_SAFE_INTEGER",function(){return 9007199254740991});
pa("Math.log2",function(a){return a?a:function(a){return Math.log(a)/Math.LN2}});
gx=gx||{};g.x=this;Jaa=/^[\w+/_-]+[=]{0,2}$/;Yc=null;Ca="closure_uid_"+(1E9*Math.random()>>>0);baa=0;g.G=Date.now||function(){return+new Date};g.B(Ha,Error);Ha.prototype.name="CustomError";var ld;var Lta,Ij;g.Na=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};
Lta=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.C=Array.prototype.forEach?function(a,b,c){Array.prototype.forEach.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=g.w(a)?a.split(""):a,f=0;f<d;f++)f in e&&b.call(c,e[f],f,a)};
g.Jd=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};
Ij=Array.prototype.reduce?function(a,b,c){return Array.prototype.reduce.call(a,b,c)}:function(a,b,c){var d=c;
(0,g.C)(a,function(c,f){d=b.call(void 0,d,c,f,a)});
return d};
g.zj=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.cm=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 xb=String.prototype.trim?function(a){return a.trim()}:function(a){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(a)[1]},jaa=/&/g,kaa=/</g,laa=/>/g,maa=/"/g,naa=/'/g,oaa=/\x00/g,iaa=/[\x00&<>"']/,raa=/&([^;\s<&]+);?/g,ub=String.prototype.repeat?function(a,b){return a.repeat(b)}:function(a,b){return Array(b+1).join(a)},saa=2147483648*Math.random()|0;a:{var Mta=g.x.navigator;if(Mta){var Nta=Mta.userAgent;if(Nta){g.Gb=Nta;break a}}g.Gb=""};var bc="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");kc[" "]=g.z;var OL,RT,Nn,On,Ota,V0;g.cf=Hb("Opera");g.wd=Hb("Trident")||Hb("MSIE");OL=Hb("Edge");g.mH=OL||g.wd;g.ph=Hb("Gecko")&&!(tb(g.Gb,"WebKit")&&!Hb("Edge"))&&!(Hb("Trident")||Hb("MSIE"))&&!Hb("Edge");g.yd=tb(g.Gb,"WebKit")&&!Hb("Edge");RT=Hb("Macintosh");g.P0=Hb("Windows");g.Un=Hb("Android");Nn=hc();On=Hb("iPad");Ota=Hb("iPod");g.Pta=jc();
a:{var W0="",X0=function(){var a=g.Gb;if(g.ph)return/rv:([^\);]+)(\)|;)/.exec(a);if(OL)return/Edge\/([\d\.]+)/.exec(a);if(g.wd)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(g.yd)return/WebKit\/(\S+)/.exec(a);if(g.cf)return/(?:Version)[ \/]?(\S+)/.exec(a)}();
X0&&(W0=X0?X0[1]:"");if(g.wd){var Y0=mc();if(null!=Y0&&Y0>(0,window.parseFloat)(W0)){V0=String(Y0);break a}}V0=W0}var nc=V0,uaa={},Qta;var Rta=g.x.document;Qta=Rta&&g.wd?mc()||("CSS1Compat"==Rta.compatMode?(0,window.parseInt)(nc,10):5):void 0;var waa=Qta;var Kaa,Maa,Naa;Kaa=!g.wd||g.pc(9);Maa=!g.ph&&!g.wd||g.wd&&g.pc(9)||g.ph&&g.oc("1.9.1");g.Sta=g.wd&&!g.oc("9");Naa=g.wd||g.cf||g.yd;var Iaa={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};rc.prototype.Dg=!0;rc.prototype.Le=function(){return this.g};
rc.prototype.toString=function(){return"Const{"+this.g+"}"};
var qc={};g.vc("");var xaa=/<[^>]*>|&[^;]+;/g,Tta=RegExp("[\u0591-\u06ef\u06fa-\u07ff\u200f\ufb1d-\ufdff\ufe70-\ufefc]"),Aaa=RegExp("[A-Za-z\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02b8\u0300-\u0590\u0800-\u1fff\u200e\u2c00-\ufb1c\ufe00-\ufe6f\ufefd-\uffff]"),Ura=RegExp("^[\u0591-\u06ef\u06fa-\u07ff\u200f\ufb1d-\ufdff\ufe70-\ufefc]"),rra=RegExp("^[^\u0591-\u06ef\u06fa-\u07ff\u200f\ufb1d-\ufdff\ufe70-\ufefc]*[A-Za-z\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02b8\u0300-\u0590\u0800-\u1fff\u200e\u2c00-\ufb1c\ufe00-\ufe6f\ufefd-\uffff]"),
xc=RegExp("^[^A-Za-z\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02b8\u0300-\u0590\u0800-\u1fff\u200e\u2c00-\ufb1c\ufe00-\ufe6f\ufefd-\uffff]*[\u0591-\u06ef\u06fa-\u07ff\u200f\ufb1d-\ufdff\ufe70-\ufefc]"),zaa=/^http:\/\/.*/,yaa=/\s+/,Baa=/[\d\u06f0-\u06f9]/;Ac.prototype.Dg=!0;Ac.prototype.Le=function(){return this.l};
Ac.prototype.Ps=!0;Ac.prototype.g=function(){return 1};
var zc={};Ec.prototype.Dg=!0;Ec.prototype.Le=function(){return this.l};
Ec.prototype.Ps=!0;Ec.prototype.g=function(){return 1};
var Gc=/^(?:(?:https?|mailto|ftp):|[^:/?#]*(?:[/?#]|$))/i,Dc={};Hc("about:blank");Lc.prototype.Dg=!0;var Kc={};Lc.prototype.Le=function(){return this.g};
var Gaa=Mc(""),Daa=/^[-,."'%_!# a-zA-Z0-9]+$/,Nc=RegExp("\\b(url\\([ \t\n]*)('[ -&(-\\[\\]-~]*'|\"[ !#-\\[\\]-~]*\"|[!#-&*-\\[\\]-~]*)([ \t\n]*\\))","g"),Caa=RegExp("\\b(hsl|hsla|rgb|rgba|matrix|(rotate|scale|translate)(X|Y|Z|3d)?)\\([-0-9a-z.%, ]+\\)","g");g.Qc.prototype.Ps=!0;g.Qc.prototype.g=function(){return this.o};
g.Qc.prototype.Dg=!0;g.Qc.prototype.Le=function(){return this.l};
var Uc=/^[a-zA-Z0-9-]+$/,Haa={action:!0,cite:!0,data:!0,formaction:!0,href:!0,manifest:!0,poster:!0,src:!0},Uta={APPLET:!0,BASE:!0,EMBED:!0,IFRAME:!0,LINK:!0,MATH:!0,META:!0,OBJECT:!0,SCRIPT:!0,STYLE:!0,SVG:!0,TEMPLATE:!0},Pc={};Sc("<!DOCTYPE html>",0);Sc("",0);Sc("<br>",0);g.h=g.ed.prototype;g.h.clone=function(){return new g.ed(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.ua(b)?b:a;this.x*=a;this.y*=c;return this};g.h=g.hd.prototype;g.h.clone=function(){return new g.hd(this.width,this.height)};
g.h.cf=function(){return this.width*this.height};
g.h.aspectRatio=function(){return this.width/this.height};
g.h.isEmpty=function(){return!this.cf()};
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.ua(b)?b:a;this.width*=a;this.height*=c;return this};var qd={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=jd.prototype;g.h.la=function(){return g.w(void 0)?this.g.getElementById(void 0):void 0};
g.h.getElementsByTagName=function(a,b){return(b||this.g).getElementsByTagName(String(a))};
g.h.uJ=function(a,b,c){return Ad(this.g,arguments)};
g.h.createElement=function(a){return this.g.createElement(String(a))};
g.h.appendChild=g.Ed;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.Id;g.h.contains=g.Od;var Oaa=g.z;var EM,DM,FM;g.RL=Hb("Firefox");EM=hc()||Hb("iPod");DM=Hb("iPad");FM=g.gc();g.zI=ec();g.eM=fc()&&!jc();var fe=null,ke=null,ee=null;var ne=[];me.prototype.clone=function(){return oe(this.l,this.A,this.o-this.A)};
me.prototype.clear=function(){this.l=null;this.g=this.o=this.A=0;this.B=!1};
me.prototype.reset=function(){this.g=this.A};
me.prototype.getError=function(){return this.B||0>this.g||this.g>this.o};qe.prototype.getError=function(){return this.A||this.g.getError()};
qe.prototype.reset=function(){this.g.reset();this.l=this.o=-1};var xe="function"==typeof window.Uint8Array,ye=[];we.prototype.toString=function(){Ie(this);return this.o.toString()};
we.prototype.getExtension=function(a){if(this.l){this.g||(this.g={});var b=a.o;if(a.A){if(a.l())return this.g[b]||(this.g[b]=(0,g.I)(this.l[b]||[],function(b){return new a.g(b)})),this.g[b]}else if(a.l())return!this.g[b]&&this.l[b]&&(this.g[b]=new a.g(this.l[b])),this.g[b];
return this.l[b]}};
we.prototype.clone=function(){return new this.constructor(Je(He(this)))};g.B(Ke,we);g.B(Le,we);g.B(Ne,we);var Saa=[[9,10],[11,12],[18,19,20,21]];g.B(Oe,we);var Taa=[[2,3]];g.B(Pe,we);var Uaa=[[9,15]];Pe.prototype.Ke=function(){return Ae(this,14)};
g.B(Qe,we);g.B(Re,we);g.B(Se,we);g.B(Te,we);g.B(Ue,we);g.B(We,we);var Vaa=[1];g.B(Ge,we);window.console&&"function"===typeof window.console.log&&(0,g.A)(window.console.log,window.console);var vf=!g.wd||g.pc(9),Vta=g.wd&&!g.oc("9"),Zaa=function(){if(!g.x.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}});
g.x.addEventListener("test",g.z,b);g.x.removeEventListener("test",g.z,b);return a}();g.M.prototype.Gb=!1;g.M.prototype.ka=function(){return this.Gb};
g.M.prototype.dispose=function(){this.Gb||(this.Gb=!0,this.V())};
g.M.prototype.V=function(){if(this.bb)for(;this.bb.length;)this.bb.shift()()};g.af.prototype.stopPropagation=function(){this.Pi=!0};
g.af.prototype.preventDefault=function(){this.defaultPrevented=!0;this.BD=!1};var Wta={Dq:"click",J1:"rightclick",JY:"dblclick",b0:"mousedown",h0:"mouseup",g0:"mouseover",f0:"mouseout",e0:"mousemove",c0:"mouseenter",d0:"mouseleave",a0:"mousecancel",P1:"selectionchange",Q1:"selectstart",W3:"wheel",w_:"keypress",v_:"keydown",x_:"keyup",RX:"blur",BZ:"focus",KY:"deactivate",CZ:"focusin",DZ:"focusout",kY:"change",B1:"reset",O1:"select",C2:"submit",g_:"input",p1:"propertychange",fZ:"dragstart",aZ:"drag",cZ:"dragenter",eZ:"dragover",dZ:"dragleave",hZ:"drop",bZ:"dragend",U2:"touchstart",
T2:"touchmove",S2:"touchend",R2:"touchcancel",OX:"beforeunload",wY:"consolemessage",zY:"contextmenu",MY:"devicechange",NY:"devicemotion",OY:"deviceorientation",UY:"DOMContentLoaded",ERROR:"error",SZ:"help",LOAD:"load",R_:"losecapture",O0:"orientationchange",v1:"readystatechange",C1:"resize",L1:"scroll",t3:"unload",ZX:"canplay",aY:"canplaythrough",iZ:"durationchange",nZ:"emptied",ENDED:"ended",H_:"loadeddata",I_:"loadedmetadata",PAUSE:"pause",PLAY:"play",PLAYING:"playing",u1:"ratechange",M1:"seeked",
N1:"seeking",o2:"stalled",D2:"suspend",J2:"timeupdate",P3:"volumechange",T3:"waiting",m2:"sourceopen",l2:"sourceended",j2:"sourceclosed",SW:"abort",UPDATE:"update",z3:"updatestart",x3:"updateend",LZ:"hashchange",R0:"pagehide",S0:"pageshow",h1:"popstate",BY:"copy",U0:"paste",GY:"cut",IX:"beforecopy",JX:"beforecut",MX:"beforepaste",M0:"online",J0:"offline",MESSAGE:"message",vY:"connect",i_:"install",TW:"activate",AZ:"fetch",EZ:"foreignfetch",Y_:"messageerror",r2:"statechange",y3:"updatefound",AY:"controllerchange",
yX:df("AnimationStart"),wX:df("AnimationEnd"),xX:df("AnimationIteration"),X2:df("TransitionEnd"),a1:"pointerdown",g1:"pointerup",Y0:"pointercancel",d1:"pointermove",f1:"pointerover",e1:"pointerout",b1:"pointerenter",c1:"pointerleave",JZ:"gotpointercapture",S_:"lostpointercapture",m0:"MSGestureChange",n0:"MSGestureEnd",o0:"MSGestureHold",p0:"MSGestureStart",q0:"MSGestureTap",r0:"MSGotPointerCapture",s0:"MSInertiaStart",t0:"MSLostPointerCapture",u0:"MSPointerCancel",v0:"MSPointerDown",w0:"MSPointerEnter",
x0:"MSPointerHover",y0:"MSPointerLeave",z0:"MSPointerMove",A0:"MSPointerOut",B0:"MSPointerOver",C0:"MSPointerUp",TEXT:"text",F2:g.wd?"textinput":"textInput",tY:"compositionstart",uY:"compositionupdate",sY:"compositionend",KX:"beforeinput",vZ:"exit",F_:"loadabort",G_:"loadcommit",J_:"loadredirect",K_:"loadstart",L_:"loadstop",G1:"responsive",c2:"sizechanged",v3:"unresponsive",O3:"visibilitychange",w2:"storage",ZY:"DOMSubtreeModified",VY:"DOMNodeInserted",XY:"DOMNodeRemoved",YY:"DOMNodeRemovedFromDocument",
WY:"DOMNodeInsertedIntoDocument",SY:"DOMAttrModified",TY:"DOMCharacterDataModified",NX:"beforeprint",lX:"afterprint",LX:"beforeinstallprompt",zX:"appinstalled"};g.B(ef,g.af);var Xta={2:"touch",3:"pen",4:"mouse"};
ef.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.ph&&(lc(e,"nodeName")||(e=null)):"mouseover"==c?e=a.fromElement:"mouseout"==c&&(e=a.toElement);this.relatedTarget=e;null===d?(this.offsetX=g.yd||void 0!==a.offsetX?a.offsetX:a.layerX,this.offsetY=g.yd||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:Xta[a.pointerType]||"";this.state=a.state;this.g=a;a.defaultPrevented&&this.preventDefault()};
ef.prototype.stopPropagation=function(){ef.ca.stopPropagation.call(this);this.g.stopPropagation?this.g.stopPropagation():this.g.cancelBubble=!0};
ef.prototype.preventDefault=function(){ef.ca.preventDefault.call(this);var a=this.g;if(a.preventDefault)a.preventDefault();else if(a.returnValue=!1,Vta)try{if(a.ctrlKey||112<=a.keyCode&&123>=a.keyCode)a.keyCode=-1}catch(b){}};var Waa;g.ff="closure_listenable_"+(1E6*Math.random()|0);Waa=0;jf.prototype.add=function(a,b,c,d,e){var f=a.toString();a=this.listeners[f];a||(a=this.listeners[f]=[],this.g++);var k=mf(a,b,d,e);-1<k?(b=a[k],c||(b.vn=!1)):(b=new Xaa(b,this.src,f,!!d,e),b.vn=c,a.push(b));return b};
jf.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.listeners))return!1;var e=this.listeners[a];b=mf(e,b,c,d);return-1<b?(hf(e[b]),g.Sa(e,b),0==e.length&&(delete this.listeners[a],this.g--),!0):!1};
jf.prototype.ql=function(a,b,c,d){a=this.listeners[a.toString()];var e=-1;a&&(e=mf(a,b,c,d));return-1<e?a[e]:null};
jf.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 sf="closure_lm_"+(1E6*Math.random()|0),yf={},uf=0,Bf="__closure_events_fn_"+(1E9*Math.random()>>>0);g.B(g.Cf,g.M);g.Cf.prototype[g.ff]=!0;g.h=g.Cf.prototype;g.h.Ih=function(a){this.ra=a};
g.h.addEventListener=function(a,b,c,d){g.of(this,a,b,c,d)};
g.h.removeEventListener=function(a,b,c,d){g.wf(this,a,b,c,d)};
g.h.dispatchEvent=function(a){var b=this.ra;if(b){var c=[];for(var d=1;b;b=b.ra)c.push(b),++d}b=this.wb;d=a.type||a;if(g.w(a))a=new g.af(a,b);else if(a instanceof g.af)a.target=a.target||b;else{var e=a;a=new g.af(d,b);g.cc(a,e)}e=!0;if(c)for(var f=c.length-1;!a.Pi&&0<=f;f--){var k=a.currentTarget=c[f];e=Df(k,d,!0,a)&&e}a.Pi||(k=a.currentTarget=b,e=Df(k,d,!0,a)&&e,a.Pi||(e=Df(k,d,!1,a)&&e));if(c)for(f=0;!a.Pi&&f<c.length;f++)k=a.currentTarget=c[f],e=Df(k,d,!1,a)&&e;return e};
g.h.V=function(){g.Cf.ca.V.call(this);this.Fe&&g.lf(this.Fe);this.ra=null};
g.h.U=function(a,b,c,d){return this.Fe.add(String(a),b,!1,c,d)};
g.h.th=function(a,b,c,d){return this.Fe.add(String(a),b,!0,c,d)};
g.h.Da=function(a,b,c,d){this.Fe.remove(String(a),b,c,d)};
g.h.ql=function(a,b,c,d){return this.Fe.ql(String(a),b,c,d)};
g.h.hasListener=function(a,b){return this.Fe.hasListener(g.u(a)?String(a):void 0,b)};Ef.prototype.get=function(){if(0<this.l){this.l--;var a=this.g;this.g=a.next;a.next=null}else a=this.o();return a};var Jf;var Sf=new Ef(function(){return new Mf},function(a){a.reset()});
Lf.prototype.add=function(a,b){var c=Sf.get();c.set(a,b);this.l?this.l.next=c:this.g=c;this.l=c};
Lf.prototype.remove=function(){var a=null;this.g&&(a=this.g,this.g=this.g.next,this.g||(this.l=null),a.next=null);return a};
Mf.prototype.set=function(a,b){this.g=a;this.scope=b;this.next=null};
Mf.prototype.reset=function(){this.next=this.scope=this.g=null};var Nf,Of=!1,Pf=new Lf;Xf.prototype.reset=function(){this.context=this.onRejected=this.o=this.g=null;this.l=!1};
var Yf=new Ef(function(){return new Xf},function(a){a.reset()});
g.Wf.prototype.then=function(a,b,c){return hg(this,g.Aa(a)?a:null,g.Aa(b)?b:null,c)};
Tf(g.Wf);g.Wf.prototype.cancel=function(a){0==this.g&&g.Qf(function(){var b=new ng(a);jg(this,b)},this)};
g.Wf.prototype.H=function(a){this.g=0;Vf(this,2,a)};
g.Wf.prototype.I=function(a){this.g=0;Vf(this,3,a)};
g.Wf.prototype.F=function(){for(var a;a=kg(this);)lg(this,a,this.g,this.D);this.C=!1};
var pg=If;g.B(ng,Ha);ng.prototype.name="cancel";g.B(g.qg,g.Cf);g.h=g.qg.prototype;g.h.enabled=!1;g.h.Ba=null;g.h.setInterval=function(a){this.rd=a;this.Ba&&this.enabled?(this.stop(),this.start()):this.Ba&&this.stop()};
g.h.Xc=function(){if(this.enabled){var a=(0,g.G)()-this.eA;0<a&&a<.8*this.rd?this.Ba=this.Fm.setTimeout(this.zx,this.rd-a):(this.Ba&&(this.Fm.clearTimeout(this.Ba),this.Ba=null),this.dispatchEvent("tick"),this.enabled&&(this.stop(),this.start()))}};
g.h.start=function(){this.enabled=!0;this.Ba||(this.Ba=this.Fm.setTimeout(this.zx,this.rd),this.eA=(0,g.G)())};
g.h.stop=function(){this.enabled=!1;this.Ba&&(this.Fm.clearTimeout(this.Ba),this.Ba=null)};
g.h.V=function(){g.qg.ca.V.call(this);this.stop();delete this.Fm};var vg=g.z,zg={'"':'\\"',"\\":"\\\\","/":"\\/","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\x0B":"\\u000b"},mba=/\uffff/.test("\uffff")?/[\\"\x00-\x1f\x7f-\uffff]/g:/[\\"\x00-\x1f\x7f-\xff]/g;g.h=Ag.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.G)()+1E3*c)).toUTCString();this.g.cookie=a+"="+b+e+d+c+f};
g.h.get=function(a,b){for(var c=a+"=",d=(this.g.cookie||"").split(";"),e=0,f;e<d.length;e++){f=xb(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.Cb=function(){return Bg(this).keys};
g.h.ub=function(){return Bg(this).values};
g.h.isEmpty=function(){return!this.g.cookie};
g.h.Dc=function(){return this.g.cookie?(this.g.cookie||"").split(";").length:0};
g.h.clear=function(){for(var a=Bg(this).keys,b=a.length-1;0<=b;b--)this.remove(a[b])};
var wG=new Ag("undefined"==typeof window.document?null:window.document);wG.l=3950;var nba=/^(?:([^:/?#.]+):)?(?:\/\/(?:([^/?#]*)@)?([^/#?]*?)(?::([0-9]+))?(?=[/#?]|$))?([^?#]+)?(?:\?([^#]*))?(?:#([\s\S]*))?$/,Rg=/#|$/,oba=/[?&]($|#)/;Vg.prototype.remove=function(a){Xb(this.g,a)};
Vg.prototype.set=function(a,b){this.g[a]=b};
Vg.prototype.get=function(a){return Yb(this.g,a,null)};g.h=g.Xg.prototype;g.h.Db=function(){return this.right-this.left};
g.h.getHeight=function(){return this.bottom-this.top};
g.h.clone=function(){return new g.Xg(this.top,this.right,this.bottom,this.left)};
g.h.contains=function(a){return this&&a?a instanceof g.Xg?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.Ba(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.ua(b)?b:a;this.left*=a;this.right*=a;this.top*=c;this.bottom*=c;return this};g.h=g.$g.prototype;g.h.clone=function(){return new g.$g(this.left,this.top,this.width,this.height)};
g.h.contains=function(a){return a instanceof g.ed?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.ua(b)?b:a;this.left*=a;this.width*=a;this.top*=c;this.height*=c;return this};var jh=null;fh.prototype.getValue=function(){return this.g};
fh.prototype.l=function(){return String(this.g)};
g.B(gh,fh);gh.prototype.l=function(){return this.g?"1":"0"};
g.B(hh,fh);hh.prototype.l=function(){return this.g?Math.round(this.g.top)+"."+Math.round(this.g.left)+"."+(Math.round(this.g.top)+Math.round(this.g.height))+"."+(Math.round(this.g.left)+Math.round(this.g.width)):""};var oh={},Oh={thin:2,medium:4,thick:6};new g.qg(200);var gi=window.document,ci=window;var uba=/^[\w+/_-]+[=]{0,2}$/;var wba=/https?:\/\/[^\/]+/;var Aba=g.Hf(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 ei=!!window.google_async_iframe_id,fi=ei&&window.parent||window;var Bba=[0,2,1],ii=null;window.document.addEventListener&&window.document.addEventListener("mousedown",function(a){ii=a},!0);
window.mb=function(a){if(a){var b=ji();b&&(window.css?window.css(a.id,"mb",b,void 0,void 0):a&&(a.href=Uh(a.href,"mb",b,void 0)))}};var kca={NONE:0,lZ:1},$ba={Y2:1};li.prototype.isVisible=function(){return this.oh?.3<=this.g:.5<=this.g};var pj={kG:0,xZ:1},Nba={L0:0,jH:1,I0:2},Yba={370204032:0,370204033:1},Zba={370204034:0,370204035:1},Xba={370204028:0,370204029:1},Oba={953563515:0,953563516:1,953563517:2},Tba={370204018:0,370204019:1,370204026:0,370204027:1},Uba={370204024:0,370204025:1},Rba={668123008:0,668123009:1},Sba={668123028:0,668123029:1},Pba={NONE:0,t_:1},Qba={480596784:0,480596785:1},Vba={kG:0,B_:1,A_:2},Wba={21061799:0,21061800:1,21061801:2};mi.prototype.getValue=function(){return this.g};pi.prototype.disable=function(){this.l=!1};
pi.prototype.enable=function(){this.l=!0};
pi.prototype.isEnabled=function(){return this.l};
pi.prototype.reset=function(){this.g={};this.l=!0;this.o={}};var Gba=(0,g.G)(),wi=-1,ui=-1,Qk,xi=-1,vi=!1;zi.prototype.Ld=function(){return!!this.l||!!this.g};
zi.prototype.toString=function(){return this.l+(this.g?"-":"")+this.g};
zi.prototype.matches=function(a){return this.g||a.g?this.g==a.g:this.l||a.l?this.l==a.l:!1};var Hba=/^https?:\/\/(\w|-)+\.cdn\.ampproject\.(net|org)(\?|\/|$)/;Ei.prototype.Sa=function(a,b,c,d){a=a+"//"+b+c;var e=Jba(this)-c.length-d.length;if(0>e)return"";this.g.sort(function(a,b){return a-b});
c=null;b="";for(var f=0;f<this.g.length;f++)for(var k=this.g[f],l=this.l[k],m=0;m<l.length;m++){if(!e){c=null==c?k:c;break}var n=Hi(l[m],this.o,",$");if(n){n=b+n;if(e>=n.length){e-=n.length;a+=n;b=this.o;break}else this.B&&(b=e,n[b-1]==this.o&&--b,a+=n.substr(0,b),b=this.o,e=0);c=null==c?k:c}}f="";this.A&&null!=c&&(f=b+this.A+"="+c);return a+f+d};var Z0=null;var dha={s3:0,G0:1,E1:2,uZ:3,M2:4,HZ:5,Q_:6,F1:7,HX:8,KZ:9,QX:10,T1:11};var Ri=g.x.performance,Yta=!!(Ri&&Ri.mark&&Ri.measure&&Ri.clearMarks),Pi=g.Hf(function(){var a;if(a=Yta){var b;if(null===Z0){Z0="";try{a="";try{a=g.x.top.location.hash}catch(c){a=g.x.location.hash}a&&(Z0=(b=a.match(/\bdeid=([\d,]+)/))?b[1]:"")}catch(c){}}b=Z0;a=!!b.indexOf&&0<=b.indexOf("1337")}return a});
Qi.prototype.disable=function(){this.l=!1;this.events!=this.g.google_js_reporting_queue&&(Pi()&&(0,g.C)(this.events,Si),this.events.length=0)};
Qi.prototype.D=function(a){this.l&&this.events.push(a)};
Qi.prototype.start=function(a,b){if(!this.l)return null;var c=Ni()||Mi();c=new Oi(a,b,c);var d="goog_"+c.uniqueId+"_start";Ri&&Pi()&&Ri.mark(d);return c};
Qi.prototype.end=function(a){if(this.l&&g.ua(a.value)){var b=Ni()||Mi();a.duration=b-a.value;b="goog_"+a.uniqueId+"_end";Ri&&Pi()&&Ri.mark(b);this.D(a)}};Vi.prototype.C=function(a){this.o=a};
Vi.prototype.l=function(a,b,c,d){try{if(this.Ba&&this.Ba.l){var e=this.Ba.start(a.toString(),3);var f=b();this.Ba.end(e)}else f=b()}catch(l){b=this.o;try{Si(e);var k=Yi(l);b=(d||this.D).call(this,a,k,void 0,c)}catch(m){this.g(217,m)}if(!b)throw l;}return f};
Vi.prototype.B=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.l(a,function(){return b.apply(c,l)},d,e)}};
Vi.prototype.g=function(a,b,c,d,e){e=e||"jserror";try{var f=new Ei;f.B=!0;Ii(f,1,"context",a);b.error&&b.meta&&b.id||(b=Yi(b));b.msg&&Ii(f,2,"msg",b.msg.substring(0,512));b.file&&Ii(f,3,"file",b.file);0<b.line&&Ii(f,4,"line",b.line);var k=b.meta||{};if(d)try{d(k)}catch(m){}b=[k];f.g.push(5);f.l[5]=b;var l=Di();l.l&&Ii(f,6,"top",l.l.url||"");Ii(f,7,"url",l.g.url||"");Ji(this.A,e,f,c)}catch(m){try{Ji(this.A,e,{context:"ecmserr",rctx:a,msg:Xi(m),url:l&&l.g.url},c)}catch(n){}}return this.o};
g.t(Wi,Ai);Zi.prototype.C=function(a){this.o=a};
Zi.prototype.g=function(a,b,c,d,e){if(Math.random()>(void 0===c?.01:c))return this.o;b.error&&b.meta&&b.id||(b=new Ai(b,{context:a,id:void 0===e?"jserror":e}));d&&(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+"//pagead2.googlesyndication.com/pagead/js/err_rep.js",a=b.createElement("script"),g.Zc(a,g.ae(c)),(b=b.getElementsByTagName("script")[0])&&b.parentNode&&b.parentNode.insertBefore(a,
b),g.x.error_rep_loaded=!0);return this.o};
Zi.prototype.l=function(a,b,c,d){d=void 0===d?this.g:d;try{var e=this.Ba&&this.Ba.start(String(a),3);var f=b();this.Ba&&e&&this.Ba.end(e)}catch(k){if(this.Ba&&e&&Si(e),!d.call(this,a,k,.01,c,"jserror"))throw k;}return f};
Zi.prototype.B=function(a,b,c,d,e){var f=this;e=void 0===e?this.g:e;return function(k){for(var l=[],m=0;m<arguments.length;++m)l[m-0]=arguments[m];return f.l(a,function(){return b.apply(c,l)},d,e)}};var Ui,$i,$0=hi(),Ti=new Qi(1,$0);Ui=new function(){var a=void 0===a?ci:a;this.A="http:"===a.location.protocol?"http:":"https:";this.l="pagead2.googlesyndication.com";this.o="/pagead/gen_204?id=";this.g=.01};
$i=new Vi;"complete"==$0.document.readyState?$0.google_measure_js_timing||Ti.disable():Ti.l&&Zh($0,"load",function(){$0.google_measure_js_timing||Ti.disable()});
var Kba=$i.g;if(gi&&gi.URL){var Zta,Xh=gi.URL;Zta=!!Xh&&0<zba().length;$i.C(!Zta)};g.hk=!g.wd&&!fc();oj.prototype.la=function(){return this.C};g.wa(ej);qj.prototype.cancel=function(){ci.clearTimeout(this.g);this.g=null};
qj.prototype.schedule=function(){var a=this;ci&&(this.g=ci.setTimeout(bj(143,function(){a.o++;a.l.CD()}),yi(ej.getInstance().H)))};g.h=tj.prototype;g.h.Ui=function(){return this.sg()};
g.h.sg=function(){return!0};
g.h.initialize=function(){this.F=!0};
g.h.xj=function(){return this.M};
g.h.pi=function(){return this.H};
g.h.vh=function(){return this.l==this?this.Y:this.l.vh()};
g.h.yg=function(){return{}};
g.h.Bg=function(){return this.A};
g.h.CD=function(){};
g.h.Vp=function(){};
g.h.oi=function(a){var b=this.A,c=a.Bg();this.l=c<this.C?this:a;this.A=this.l!=this?c:this.C;this.l==this||1==c&&0!=this.C||this.Vp();this.A!=b&&uj(this)};
g.h.lh=function(a){this.l!=this&&Bj(this,a)};
g.h.Ng=function(){return this.B};
g.h.dispose=function(){this.R=!0};
g.h.ka=function(){return this.R};g.h=Cj.prototype;g.h.wA=function(){};
g.h.Et=function(){};
g.h.dr=function(){this.o=new oj(this.g.g,this.element,this.o.g,this.o.A,this.zj(),this.o.l,this.o.F,this.o.o)};
g.h.dispose=function(){this.ka()||(xj(this.g,this),this.H=!0)};
g.h.ka=function(){return this.H};
g.h.yg=function(){return this.A.yg()};
g.h.Bg=function(){return this.A.Bg()};
g.h.xj=function(){return this.A.xj()};
g.h.pi=function(){return this.A.pi()};
g.h.oi=function(a){this.A=a;this.I.oi(this)};
g.h.lh=function(){this.dr()};
g.h.Ng=function(){return this.I.Ng()};g.h=Dj.prototype;g.h.Bg=function(){return this.g.Bg()};
g.h.xj=function(){return this.g.xj()};
g.h.pi=function(){return this.g.pi()};
g.h.create=function(a,b,c){var d=null;this.g&&(d=this.vA(a,b,c),wj(this.g,d));return d};
g.h.Ui=function(){return this.sg()};
g.h.sg=function(){return!1};
g.h.init=function(){return!0};
g.h.dispose=function(){this.B=!0};
g.h.ka=function(){return this.B};
g.h.yg=function(){return{}};Gj.prototype.add=function(a,b,c){++this.o;var d=this.o/4096;this.g.push(cca(new Ej(a,b,c),d));this.l=!0;return this};var Kj,a1=new Date(0);Kj=g.vb(a1.getUTCFullYear(),4)+g.vb(a1.getUTCMonth()+1,2)+g.vb(a1.getUTCDate(),2)+"T"+g.vb(a1.getUTCHours(),2)+g.vb(a1.getUTCMinutes(),2)+"Z";Lj.prototype.toString=function(){var a="//pagead2.googlesyndication.com//pagead/gen_204",b=Jj(this.g);0<b.length&&(a+="?"+b);return a};var Nj={},Oj=null;Nj.le=0;Nj.nt=2;Nj.Fr=3;Nj.Po=5;Nj.me=1;Nj.om=4;Qj.prototype.update=function(a,b,c){a&&(this.g+=b,this.l+=b,this.A+=b,this.o=Math.max(this.o,this.A));if(void 0===c?!a:c)this.A=0};Rj.prototype.update=function(a,b,c,d,e,f){f=void 0===f?!0:f;b=e?Math.min(a,b):b;for(e=0;e<this.l.length;e++){var k=this.l[e],l=0<b&&b>=k;k=!(0<a&&a>=k)||c;this.g[e].update(f&&l,d,!f||k)}};ak.prototype.update=function(a,b,c,d,e){this.D=-1!=this.D?Math.min(this.D,b.g):b.g;e&&(this.K=Math.max(this.K,b.g));this.g.update(b.g,c.g,b.l,a,d);c=d||c.oh!=b.oh?c.isVisible()&&b.isVisible():c.isVisible();b=!b.isVisible()||b.l;this.X.update(c,a,b)};
ak.prototype.yi=function(){return this.X.o>=this.ba};g.t(bk,Cj);g.h=bk.prototype;g.h.zj=function(){return!0};
g.h.dr=function(){if(this.element){var a=this.element.getBoundingClientRect(),b=a.right-a.left;a=a.bottom-a.top;var c=g.Ch(this.element,this.g.ad),d=c.x;c=c.y;this.l=new g.Xg(Math.round(c),Math.round(d+b),Math.round(c+a),Math.round(d))}(b=this.g.g.g)?(b=dk(this.l,b),b=b.top>=b.bottom||b.left>=b.right?new g.Xg(0,0,0,0):Zg(b,-this.l.left,-this.l.top)):b=new g.Xg(0,0,0,0);a=this.g.g.g;c=d=0;var e=1==si(this.qb,"od"),f=(this.l.bottom-this.l.top)*(this.l.right-this.l.left);a&&b&&0<f&&(ck(b,a,this.element,
e)?b=new g.Xg(0,0,0,0):(d=fk(b,this.l),c=fk(b,a)));this.o=new oj(this.g.g,this.element,this.l,b,this.zj(),d,c,ti())};
g.h.pi=function(){return this.A.pi()};
g.h.vh=function(){return this.A.vh()};
g.h.lh=function(a){if(null==this.element)if(null!=a.o){var b=a.o;this.l=new g.Xg(0,b.width,b.height,0)}else this.l=new g.Xg(0,0,0,0);Cj.prototype.lh.call(this,a)};var gk=new g.Xg(0,0,0,0),rca={threshold:[0,.3,.5,.75,1]};g.h=ik.prototype;g.h.lh=function(){};
g.h.oi=function(a){a.pi()&&this.GE(this,a.xj(),a)};
g.h.Ng=function(){return!1};
g.h.ho=function(){return new ak};
g.h.Jd=function(){return this.zt};
g.h.mA=function(){};
g.h.lA=function(){};
g.h.iz=function(){};
g.h.lq=function(){};
g.h.Yi=function(a,b,c,d,e,f,k,l){k=void 0===k?{}:k;l=void 0===l?this.Wy(c,k):l;k=this.Zq(a,b,d,k);g.ua(b)||(this.RB=new g.ed(a.left-b.left,a.top-b.top),this.Im=new g.hd(b.right-b.left,b.bottom-b.top));e=e&&this.Nc.g>=(this.oh()?.3:.5);this.Av(l,k,e,f);this.Zj=c;0<k.g&&-1===this.tE&&(this.tE=c);-1==this.vE&&this.yi()&&(this.vE=c);if(-2==this.vt)try{a:{var m=g.ua(b)?null:b;if(a&&a!=gk&&0!=this.cf){if(!m){if(!this.Im){var n=-1;break a}m=new g.Xg(0,this.Im.width,this.Im.height,0)}n=m.Db&&0<m.Db()&&m.getHeight&&
0<m.getHeight()?this.Zk(a,m):-1}else n=-1}this.vt=n}catch(q){cj(207,q)}this.Nc=k;d&&(this.Nc.g=0);this.At(this)};
g.h.Av=function(a,b,c,d){this.Jd().update(a,b,this.Nc,c,d)};
g.h.Qr=function(){return new li};
g.h.Zq=function(a,b,c){var d=this.Qr();d.l=c;c=hj();d.o=0==c?-1:1==c?0:1;d.g=g.ua(b)?this.Zk(b):this.Zk(a,b);d.oh=this.oh();return d};
g.h.Wy=function(a){if(-1==this.Zj)return 0;a=a-this.Zj||1;return 1E4<a?1:a};
g.h.Zk=function(a,b){if(0===this.opacity&&1===si(this.qb,"opac"))return 0;if(g.ua(a))return a;var c=dk(a,b),d=1==si(this.qb,"od");if(0>=this.cf||ck(c,b,this.fi,d))return 0;d=ek(c)/this.cf;fk(c,b);return d};
g.h.oh=function(){return!1};
g.h.kf=function(){return 0};
g.h.yi=function(){return this.zt.yi()};var qk="StopIteration"in g.x?g.x.StopIteration:{message:"StopIteration",stack:""};pk.prototype.next=function(){throw qk;};
pk.prototype.Rd=function(){return this};var tx=null,b1={},cha=(b1[8]="google_prev_ad_formats_by_region",b1[9]="google_prev_ad_slotnames_by_region",b1);var Kl={currentTime:1,duration:2,isVpaid:4,volume:8,isYouTube:16,isPlaying:32},Nk={Qw:"start",lw:"firstquartile",Aw:"midpoint",Uw:"thirdquartile",gw:"complete",eH:"metric",PAUSE:"pause",zH:"resume",Lw:"skip",Yw:"viewable_impression",hH:"mute",ZH:"unmute",mw:"fullscreen",BG:"exitfullscreen",XX:"bufferstart",WX:"bufferfinish",ow:"fully_viewable_audible_half_duration_impression",zw:"measurable_impression",MF:"abandon",jw:"engagedview",Sm:"impression",rG:"creativeview",Jq:"loaded",n1:"progress",CLOSE:"close",
nY:"collapse",pH:"overlay_resize",qH:"overlay_unmeasurable_impression",rH:"overlay_unviewable_impression",tH:"overlay_viewable_immediate_impression",sH:"overlay_viewable_end_of_session_impression",tG:"custom_metric_viewable"},Jda="start firstquartile midpoint thirdquartile resume loaded".split(" "),Kda=["start","firstquartile","midpoint","thirdquartile"],Hca=["abandon"],nl={UNKNOWN:-1,Qw:0,lw:1,Aw:2,Uw:3,gw:4,eH:5,PAUSE:6,zH:7,Lw:8,Yw:9,hH:10,ZH:11,mw:12,BG:13,ow:14,zw:15,MF:16,jw:17,Sm:18,rG:19,
Jq:20,tG:21};g.t(vk,li);xk.prototype.Aa=function(a){var b=this.l[a],c=b[1];this.o+=b[0];0<c&&0==this.g[a]&&(this.g[a]=1)};zk.prototype.getValue=function(){return this.l};
zk.prototype.update=function(a,b){32<=a||(this.g&1<<a&&!b?this.l&=~(1<<a):this.g&1<<a||!b||(this.l|=1<<a),this.g|=1<<a)};g.t(Ak,ak);
Ak.prototype.update=function(a,b,c,d,e){if(!b.paused){ak.prototype.update.call(this,a,b,c,d,e);e=wk(b)&&wk(c);var f=.5<=(d?Math.min(b.g,c.g):c.g);lj(b.volume)&&(this.A=-1!=this.A?Math.min(this.A,b.volume):b.volume,this.C=Math.max(this.C,b.volume));f&&(this.J+=a,this.H+=e?a:0);this.o.update(b.g,c.g,b.l,a,d,e);this.l.update(!0,a);this.B.update(e,a);this.I.update(c.fullscreen,a);this.ea.update(e&&!f,a);a=Math.floor(b.A/1E3);this.M.update(a,b.isVisible());this.Z.update(a,1<=b.g);this.Y.update(a,wk(b))}};g.t(Ck,Aca);Ck.prototype.A=function(){return!0};
Ck.prototype.o=function(){return!1};
Ck.prototype.getId=function(){var a=this,b=Tb(Nk,function(b){return b==a.B});
return nl[b].toString()};
Ck.prototype.toString=function(){var a="";this.o()&&(a+="c");this.g&&(a+="s");0<this.l&&(a+=":"+this.l);return this.getId()+a};var $ta=new g.Xg(0,0,0,0),c1={},Fca=(c1.firstquartile=0,c1.midpoint=1,c1.thirdquartile=2,c1.complete=3,c1);g.t(Fk,ik);g.h=Fk.prototype;g.h.Ng=function(){return!0};
g.h.mA=function(a){var b=this,c=a-this.Ta;this.ra&&1E3>=c||(c=g.y("ima.bridge.getNativeViewability"),g.Aa(c)&&(c(this.zd,function(a){b.ra=!1;b.H&&(b.Gb=!0);g.Vb(a)&&b.xa++;b.lq(a)}),this.ra=!0,this.Ta=a))};
g.h.lA=function(a){var b=ej.getInstance();a-this.Pa>yi(b.H)&&(a=g.y("ima.admob.getViewability"),g.Aa(a)&&a(this.zd))};
g.h.iz=function(a){this.Pa=ti();this.lq(a)};
g.h.lq=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.ga=!!f);b=new g.Xg(b.top||0,b.left+b.width||0,b.top+b.height||0,b.left||0);c=a?$ta.clone():new g.Xg(c.top||0,c.left+c.width||0,c.top+c.height||0,c.left||0);f=void 0;if("n"==this.C||"ml"==this.C)f={volume:e};e=f;e=void 0===e?{}:e;this.cf=(b.bottom-b.top)*(b.right-b.left);this.position=b;this.Yi(b,c,
d,!1,!0,!0,e)};
g.h.Yi=function(a,b,c,d,e,f,k){var l=this;k=void 0===k?{}:k;var m=this.na(this)||{};g.cc(m,k);this.A=m.duration||this.A;this.I=m.isVpaid||this.I;this.bb=m.isYouTube||this.bb;this.ba=f;ik.prototype.Yi.call(this,a,b,c,d,e,f,m);(0,g.C)(this.D,function(a){a.g||(a.g=Ek(a,l))})};
g.h.Av=function(a,b,c,d){ik.prototype.Av.call(this,a,b,c,d);Hk(this).update(a,b,this.Nc,c,d);this.ia=wk(this.Nc)&&wk(b);-1==this.X&&this.Ha&&(this.X=this.Jd().l.g);this.Ic.o=0;a=this.Nc;b=this.yi();.5<=a.g&&this.Ic.Aa("vs");b&&this.Ic.Aa("vw");lj(a.volume)&&this.Ic.Aa("am");this.ia&&this.Ic.Aa("a");this.Uf&&this.Ic.Aa("f");-1!=a.o&&(this.Ic.Aa("bm"),1==a.o&&this.Ic.Aa("b"));this.ia&&b&&this.Ic.Aa("avw");this.ba&&this.Ic.Aa("cm");this.ba&&0<a.g&&this.Ic.Aa("pv");Kk(this,this.Jd().l.g,!0)&&this.Ic.Aa("gdr");
2E3<=Xj(this.Jd().g,1)&&this.Ic.Aa("pmx")};
g.h.ho=function(){return new Ak};
g.h.Jd=function(){return this.zt};
g.h.Qr=function(){return new vk};
g.h.Zq=function(a,b,c,d){a=ik.prototype.Zq.call(this,a,b,c,d);a.fullscreen=this.Uf;a.paused=2==this.Gc;a.volume=d.volume;lj(a.volume)||(this.rb++,b=this.Nc,lj(b.volume)&&(a.volume=b.volume));d=d.currentTime;a.A=g.u(d)&&0<=d?d:-1;return a};
g.h.Wy=function(a,b){var c=g.u(b.currentTime)?b.currentTime:this.K;if(-1==this.Zj||2==this.Gc)var d=0;else{d=a-this.Zj||1;var e=1E4;g.u(this.A)&&-1!=this.A&&(e=Math.max(e,this.A/3));d=d>e?1:d}e=c-this.K;var f=0;0<=e?(this.J+=d,this.Y+=Math.max(d-e,0),f=Math.min(e,this.J)):this.sa+=Math.abs(e);0!=e&&(this.J=0);-1==this.Ca&&0<e&&(this.Ca=0<=xi?ti()-xi:-1);this.K=c;return 1==Ik(this)?f:d};
g.h.Zk=function(a,b){return this.H?0:this.Uf?1:ik.prototype.Zk.call(this,a,b)};
g.h.kf=function(){return 1};
g.h.getDuration=function(){return this.A};var aua=(0,g.G)();g.wa(Sk);var Rca={threshold:[0,.25,.5,.75,1]};g.t(Tk,Cj);g.h=Tk.prototype;g.h.vh=function(){return"nio"};
g.h.zj=function(){return!0};
g.h.wA=function(){var a=this;this.F||(this.F=ti());aj(298,function(){return Tca(a)})||vj(this.g,"msf")};
g.h.Et=function(){if(this.l&&this.element)try{this.l.unobserve(this.element)}catch(a){}};
g.h.yg=function(){var a={};return Object.assign(this.g.yg(),(a.niot_obs=this.F,a.niot_cbk=this.D,a))};g.t(Uk,Dj);Uk.prototype.vh=function(){return"nio"};
Uk.prototype.Ui=function(){var a=si(ej.getInstance().qb,"nio_mode"),b=2===a;a=1===a;var c=ej.getInstance().g;return(b||a&&c)&&this.sg()};
Uk.prototype.sg=function(){return"exc"!==ej.getInstance().zb&&1!=si(ej.getInstance().qb,"inapp")&&null!=this.g.ad.IntersectionObserver};
Uk.prototype.vA=function(a,b,c){return new Tk(a,this.g,b,c)};g.B(g.Vk,g.M);g.h=g.Vk.prototype;g.h.Jj=!1;g.h.wl=0;g.h.Ba=null;g.h.Ij=function(a){this.g=arguments;this.Ba||this.wl?this.Jj=!0:Wk(this)};
g.h.stop=function(){this.Ba&&(g.sg(this.Ba),this.Ba=null,this.Jj=!1,this.g=[])};
g.h.pause=function(){this.wl++};
g.h.resume=function(){this.wl--;this.wl||!this.Jj||this.Ba||(this.Jj=!1,Wk(this))};
g.h.V=function(){g.Vk.ca.V.call(this);this.stop()};
g.h.tJ=function(){this.Ba=null;this.Jj&&!this.wl&&(this.Jj=!1,Wk(this))};g.h=Yk.prototype;g.h.KL=function(){bl(this,!1);this.jz()};
g.h.jz=function(){cl(this,fl(this),!1)};
g.h.CD=function(){cl(this,fl(this),!1)};
g.h.pz=function(){var a=dl(this),b=ti();a?(vi||(wi=b,(0,g.C)(this.g,function(a){var c=a.Jd();c.R=Bk(c,b,1!=a.Gc)})),vi=!0,bl(this,!0)):(vi=!1,Qk=b,(0,g.C)(this.g,function(a){a.qj&&(a.Jd().F=b)}));
cl(this,fl(this),!a)};
g.h.IV=function(a){var b;if(b=null!=a.IntersectionObserver){if(a=cda(a,fl(this)))ej.getInstance().zb="nio";b=a}return b};
g.h.HV=function(a){return g.wd&&g.oc(8)&&g.Aa(Pj(a&&a.document))?(ej.getInstance().zb="iem",!0):!1};
g.h.reset=function(){this.g=[];this.l=[]};
g.wa(Yk);var $k=Yk.getInstance();var zl=null,Hl="",Bl=!1;var hda=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]),bua={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:ll("qmtos"),qnc:ll("qnc"),qmv:ll("qmv"),qnv:ll("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"},cua={c:hl("c"),at:"at",atos:kl("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:jl(),j:"dom",mtos:kl("mtos",[0,2,4]),gmm:"gmm",gdr:"gdr",ss:hl("ss"),vsv:Gf("w2"),t:"t"},dua={atos:"atos",amtos:"amtos",avt:kl("atos",[2]),davs:"davs",dafvs:"dafvs",dav:"dav",ss:hl("ss"),t:"t"},eua={a:"a",tos:jl(),at:"at",c:hl("c"),mtos:kl("mtos",[0,2,4]),dur:"dur",fs:"fs",p:"p",vpt:"vpt",vsv:Gf("ias_w2"),dom:"dom",gmm:"gmm",gdr:"gdr",t:"t"},fua={tos:jl(),at:"at",c:hl("c"),mtos:kl("mtos",[0,2,4]),p:"p",vpt:"vpt",vsv:Gf("dv_w4"),gmm:"gmm",gdr:"gdr",dom:"dom",t:"t",mv:"mv",
qmpt:kl("qmtos",[0,2,4]),qvs:function(a,b){return function(c){var d=c[a];if(g.ua(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(pl,Ck);pl.prototype.A=function(a){return a.Jd().yi()};g.t(rl,jda);rl.prototype.g=function(a){var b=new ida;b.g=ql(a,bua);b.o=ql(a,dua);return b};g.t(sl,Dj);g.h=sl.prototype;g.h.vh=function(){return(this.l?this.l:this.g).vh()};
g.h.yg=function(){return(this.l?this.l:this.g).yg()};
g.h.Bg=function(){return(this.l?this.l:this.g).Bg()};
g.h.init=function(a){this.A=a;(0,g.C)(this.o,function(a){return a.initialize()});
wj(this.g,this);return!0};
g.h.dispose=function(){(0,g.C)(this.o,function(a){a.Vp();a.dispose()});
Dj.prototype.dispose.call(this)};
g.h.Ui=function(){return(0,g.zj)(this.o,function(a){return a.Ui()})};
g.h.sg=function(){return(0,g.zj)(this.o,function(a){return a.sg()})};
g.h.vA=function(a,b,c){return new bk(a,this.g,b,c)};
g.h.oi=function(a){0==a.Bg()&&this.A(a.xj(),this)};
g.h.lh=function(a){this.l=a.B};
g.h.Ng=function(){return!1};g.t(tl,tj);g.h=tl.prototype;g.h.yg=function(){return{D3:1}};
g.h.initialize=function(){var a=this;if(!this.F)if(this.F=!0,ej.getInstance().C.Ld()){dj(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 23:case 22:case 7:case 21:case 20:k=Number(k);
break;case 19:case 3:if(g.Aa(window.decodeURIComponent))try{k=(0,window.decodeURIComponent)(k)}catch(q){throw Error("Error: URI malformed: "+k);}}e[m]=k}}e=e[0]?e:null}else e=null;if(e&&(c=new zi(e[4],e[12]),ej.getInstance().C.matches(c)&&(c=e[29],f=e[0],g.Oa(["goog_acknowledge_monitoring","goog_get_mode","goog_update_data","goog_image_request"],f)))){lda(a,e);if("goog_get_mode"==f&&b.source){m={};fj(m);m[0]="goog_provide_mode";m[6]=4;m[27]=a.ad.document.domain;m[16]=!1;try{var n=gj(m);b.source.postMessage(n,
b.origin);wl(a,n)}catch(q){cj(406,q)}}if("goog_get_mode"==f||"goog_acknowledge_monitoring"==f)a.D=2,vl(a);if(b=e[32])a.Y=b;a.o.length&&4!=c&&(c=!1,b=a.g.l,n=a.g.g,"goog_acknowledge_monitoring"==e[0]&&(a.A=(void 0!==e[36]?e[36]:!e[8])?2:0,uj(a)),(0,window.isNaN)(e[30])||(0,window.isNaN)(e[31])?(0,window.isNaN)(e[22])||(0,window.isNaN)(e[23])||(c=!0,b=new g.hd(e[22],e[23])):(c=!0,b=new g.hd(e[30],e[31])),e[9]&&(c=!0,e=e[9].split("-"),4==e.length&&(n=new g.Xg(Cb(e[0]),Cb(e[3]),Cb(e[2]),Cb(e[1])))),c&&
(e=yj(a),e.l=b,e.g=n,e.A=dl($k),Bj(a,e)))}}},118);
var b=bj(197,function(){++a.Z;if(2==a.D)vl(a);else if(10<a.Z)vj(a,"no");else if(a.ad.postMessage)if(ej.getInstance().C.Ld()){var b=ul(a);if(b){var d={};fj(d);d[0]="goog_request_monitoring";d[6]=4;d[27]=a.ad.document.domain;d[16]=!1;try{var e=gj(d);b.postMessage(e,"*")}catch(f){}}}else vj(a,"ib");else vj(a,"c")});
this.D=1;1==si(ej.getInstance().qb,"srmi")&&b();this.I=this.ad.setInterval(b,500)}else vj(this,"ib")};
g.h.Vp=function(){var a={};fj(a);a[0]="goog_stop_monitoring";wl(this,gj(a));vl(this)};
g.h.Ui=function(){var a=ej.getInstance();return si(a.qb,"osd")&&this.sg()?4===a.I?!!si(a.qb,"mkm"):!0:!1};
g.h.sg=function(){return ej.getInstance().g};
g.wa(tl);g.h=xl.prototype;g.h.In=function(a){a.Uf=!1;pda(a.kf(),a.zd)};
g.h.ko=function(){};
g.h.Gp=function(a,b,c,d){this.g||(this.g=this.ay());b=c?b:-1;if(null==this.g||this.A)return a=new Fk(ci,a,b,7),a.zd=d,a;a=new Fk(ci,a,b,7,new Ck("measurable_impression",this.g),this.Yr());a.zd=d;return a};
g.h.Yr=function(){return[new pl("viewable_impression",this.g)]};
g.h.oi=function(a){var b=ej.getInstance();switch(a.Bg()){case 0:b.l=!1;(a=Sk.getInstance().g)&&xj(a.g,this);(a=tl.getInstance())&&xj(a,this);Al();break;case 2:b.l&&al()}};
g.h.lh=function(a){var b=ej.getInstance();b.l&&(b.o=a.l,b.B=a.g)};
g.h.Ng=function(){return!1};
g.h.aK=function(a,b){a.rh=!0;switch(a.kf()){case 1:Il(this,a,b);break;case 2:this.av(a)}this.ev(a)};
g.h.iK=function(a){Mk(a,0);return Pk(a,"start",dl($k))};
g.h.Jk=function(a,b,c){cl($k,[a],!dl($k),b);return this.ih(a,b,c)};
g.h.ih=function(a,b,c){return Pk(a,c,dl($k))};
g.h.dK=function(a,b){return Jl(a,"firstquartile",1,b)};
g.h.fK=function(a,b){a.Ha=!0;return Jl(a,"midpoint",2,b)};
g.h.jK=function(a,b){return Jl(a,"thirdquartile",3,b)};
g.h.bK=function(a,b){var c=Jl(a,"complete",4,b);0!=a.Gc&&(a.Gc=3);return c};
g.h.AD=function(a,b,c){var d=dl($k);if(2==a.Gc&&!d){var e=ti();a.Jd().F=e}cl($k,[a],!d,b);2==a.Gc&&(a.Gc=1);return Pk(a,c,d)};
g.h.hK=function(a,b){var c=this.Jk(a,b||{},"skip");0!=a.Gc&&(a.Gc=3);return c};
g.h.eK=function(a,b){a.Uf=!0;return this.Jk(a,b||{},"fullscreen")};
g.h.cK=function(a,b){a.Uf=!1;return this.Jk(a,b||{},"exitfullscreen")};
g.h.Pu=function(a,b,c){var d=a.Jd(),e=ti();d.R=Bk(d,e,1!=a.Gc);cl($k,[a],!dl($k),b);1==a.Gc&&(a.Gc=2);return Pk(a,c,dl($k))};
g.h.gK=function(a,b){cl($k,[a],!dl($k),b);return a.l()};
g.h.rs=function(a,b){cl($k,[a],!dl($k),b);this.tD(a);0!=a.Gc&&(a.Gc=3);return a.l()};
g.h.os=function(){};
g.h.av=function(){};
g.h.tD=function(){};
g.h.uA=function(){};
g.h.ev=function(){};
g.h.ay=function(){};var uda={yZ:"visible",AX:"audible",H2:"time",K2:"timetype"},Ml={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(Nl,Ck);Nl.prototype.getId=function(){return this.Ea};
Nl.prototype.o=function(){return!0};
Nl.prototype.A=function(a){var b=a.Jd(),c=a.getDuration();return(0,g.zj)(this.C,function(a){if(void 0!=a.g)var d=wda(a,b);else b:{switch(a.B){case "mtos":d=a.l?b.B.o:b.l.g;break b;case "tos":d=a.l?b.B.g:b.l.g;break b}d=0}0==d?a=!1:(a=-1!=a.o?a.o:g.u(c)&&0<c?a.A*c:-1,a=-1!=a&&d>=a);return a})};g.t(Ol,Ck);Ol.prototype.A=function(a){var b=Vj(a.Jd().o,1);return Kk(a,b)};var Ql=(0,g.G)(),Sl=!1,Tl=!1,Ul=!1,yda=[function(a){return!(!a.chrome||!a.chrome.webstore)},
function(a){return!!a.document.documentMode},
function(a){return!!a.document.fonts.ready},
function(){return Rl(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 Rl(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 Rl(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 Rl(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 Rl(4)},
function(a){return"srcset"in a.document.createElement("img")},
function(){return Tl},
function(){return Ul},
function(){return Rl(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 Rl(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]||Pl(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 Pl(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 Rl(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 Pl(a.CSS.supports)},
function(){return Pl(window.Intl.Collator)},
function(a){return Pl(a.document.createElement("dialog").show)},
function(){return Rl(8)},
function(a){return Pl(a.document.createElement("div").animate([{transform:"scale(1)",VI:"ease-in"},{transform:"scale(1.3)",VI:"ease-in"}],{duration:1300,w4:1}).reverse)},
function(a){return Pl(a.document.createElement("div").animate)},
function(a){return Pl(a.document.documentElement.webkitRequestFullScreen)},
function(a){return Pl(a.navigator.getBattery)},
function(a){return Pl(a.navigator.permissions.query)},
function(){return!1},
function(){return Rl(9)},
function(){return Pl(window.webkitRequestAnimationFrame)},
function(a){return Pl(a.BroadcastChannel.call)},
function(a){return Pl(a.FontFace)},
function(a){return Pl(a.Gamepad)},
function(){return Rl(10)},
function(a){return Pl(a.MutationEvent)},
function(a){return Pl(a.MutationObserver)},
function(a){return Pl(a.crypto.getRandomValues)},
function(a){return Pl(a.document.body.createShadowRoot)},
function(a){return Pl(a.document.body.webkitCreateShadowRoot)},
function(a){return Pl(a.fetch)},
function(){return Rl(11)},
function(a){return Pl(a.navigator.serviceWorker.register)},
function(a){return Pl(a.navigator.webkitGetGamepads)},
function(a){return Pl(a.speechSynthesis.speak)},
function(a){return Pl(a.webkitRTCPeerConnection)},
function(a){return a.CSS.supports("--fake-var","0")},
function(){return Rl(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 Rl(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 Rl(14)},
function(a){return"undefined"==typeof a.navigator.E4},
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")}],zda=[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}],Ada=[function(a){return a.navigator.userAgent},
function(a){return a.navigator.platform},
function(a){return a.navigator.vendor}];g.B(Vl,iba);Vl.prototype.reset=function(){this.g[0]=1732584193;this.g[1]=4023233417;this.g[2]=2562383102;this.g[3]=271733878;this.A=this.o=0};
Vl.prototype.update=function(a,b){g.u(b)||(b=a.length);for(var c=b-this.l,d=this.B,e=this.o,f=0;f<b;){if(0==e)for(;f<=c;)Wl(this,a,f),f+=this.l;if(g.w(a))for(;f<b;){if(d[e++]=a.charCodeAt(f++),e==this.l){Wl(this,d);e=0;break}}else for(;f<b;)if(d[e++]=a[f++],e==this.l){Wl(this,d);e=0;break}}this.o=e;this.A+=b};
Vl.prototype.digest=function(){var a=Array((56>this.o?this.l:2*this.l)-this.o);a[0]=128;for(var b=1;b<a.length-8;++b)a[b]=0;var c=8*this.A;for(b=a.length-8;b<a.length;++b)a[b]=c&255,c/=256;this.update(a);a=Array(16);for(b=c=0;4>b;++b)for(var d=0;32>d;d+=8)a[c++]=this.g[b]>>>d&255;return a};g.t(Xl,rl);Xl.prototype.g=function(a){var b=rl.prototype.g.call(this,a);var c=Ql=(0,g.G)();var d=Rl(5);c=(Tl?!d:d)?c|2:c&-3;d=Rl(2);c=(Ul?!d:d)?c|8:c&-9;c={s1:(c>>>0).toString(16)};this.l||(this.l=Bda());b.B=this.l;b.C=ql(a,cua,c,"h",Yl("kArwaWEsTs"));b.A=ql(a,eua,{},"h",Yl("b96YPMzfnx"));b.l=ql(a,fua,{},"h",Yl("yb8Wev6QDg"));return b};Zl.prototype.g=function(){return g.y(this.l)};g.t($l,Zl);$l.prototype.g=function(a){if(!a.Fh)return Zl.prototype.g.call(this,a);var b=this.A[a.Fh];if(b)return function(a,d,e){b.l(a,d,e)};
cj(393,Error());return null};g.t(em,xl);g.h=em.prototype;g.h.ko=function(a,b){var c=this;switch(ej.getInstance().zb){case "nis":var d=Gda(this,a,b);break;case "gsv":d=Fda(this,a,b);break;case "exc":d=Hda(this,a);break;default:b.opt_overlayAdElement?d=void 0:b.opt_adElement?d=rda(this,a,b.opt_adElement,b.opt_osdId):d=el(a)||void 0}d&&1==d.kf()&&(d.na==g.z&&(d.na=function(a){return c.uA(a)}),Eda(this,d,b));
return d};
g.h.uA=function(a){var b=ej.getInstance();a.g=0;a.R=0;if("h"==a.C||"n"==a.C){if("exc"==b.zb||"nis"==b.zb)var c=g.y("ima.bridge.getVideoMetadata");else if(a.Fh&&hm(this)){var d=this.D[a.Fh];d?c=function(a){d.g(a)}:null!==d&&cj("lidar::missingPlayerCallback",Error())}else c=g.y("ima.common.getVideoMetadata");
if(g.Aa(c))try{var e=c(a.zd)}catch(f){a.g|=4}else a.g|=2}else if("b"==a.C)if(b=g.y("ytads.bulleit.getVideoMetadata"),g.Aa(b))try{e=b(a.zd)}catch(f){a.g|=4}else a.g|=2;else if("ml"==a.C)if(b=g.y("ima.common.getVideoMetadata"),g.Aa(b))try{e=b(a.zd)}catch(f){a.g|=4}else a.g|=2;else a.g|=1;a.g||(g.u(e)?null===e?a.g|=16:g.Vb(e)?a.g|=32:null!=e.errorCode&&(a.R=e.errorCode,a.g|=64):a.g|=8);null!=e||(e={});sda(e,a);lj(e.volume)&&lj(this.B)&&(e.volume*=this.B);return e};
g.h.ay=function(){if(hm(this))return new $l("ima.common.triggerExternalActivityEvent",this.l,this.D);var a=Ida(this);return null!=a?new Zl(a,this.l):null};
g.h.Yr=function(){var a=this.g,b=xl.prototype.Yr.call(this);b.push(new Ol(a));return b};
g.h.av=function(a){!a.g&&a.rh&&Gl(this,a,"overlay_unmeasurable_impression")&&(a.g=!0)};
g.h.tD=function(a){a.fE&&(a.yi()?Gl(this,a,"overlay_viewable_end_of_session_impression"):Gl(this,a,"overlay_unviewable_impression"),a.fE=!1)};
g.h.os=function(a){this.A&&1==a.kf()&&im(this,a)};
g.h.ev=function(a){this.A&&1==a.kf()&&im(this,a)};
g.h.Gp=function(a,b,c,d){a=xl.prototype.Gp.call(this,a,b,c,d);this.C&&(b=this.F,null==a.l&&(a.l=new uk),b.g[a.zd]=a.l,a.l.B=aua);return a};
g.h.In=function(a){a&&1==a.kf()&&this.C&&delete this.F.g[a.zd];return xl.prototype.In.call(this,a)};
g.wa(em);var gua=bj(193,km,void 0,function(){var a=ej.getInstance(),b={};return b.sv="654",b["if"]=a.g?"1":"0",b.nas=String($k.g.length),b});
g.va("Goog_AdSense_Lidar_sendVastEvent",gua,void 0);var hua=bj(194,function(a,b){b=void 0===b?{}:b;var c=gm(em.getInstance(),a,b);return jm(c)});
g.va("Goog_AdSense_Lidar_getViewability",hua,void 0);var iua=bj(195,function(){return dm()});
g.va("Goog_AdSense_Lidar_getUrlSignalsArray",iua,void 0);var jua=bj(196,function(){return g.xg(dm())});
g.va("Goog_AdSense_Lidar_getUrlSignalsList",jua,void 0);var yB=(new Date).getTime();g.h=g.om.prototype;g.h.Dc=function(){return this.Ja};
g.h.ub=function(){rm(this);for(var a=[],b=0;b<this.g.length;b++)a.push(this.l[this.g[b]]);return a};
g.h.Cb=function(){rm(this);return this.g.concat()};
g.h.isEmpty=function(){return 0==this.Ja};
g.h.clear=function(){this.l={};this.Oh=this.Ja=this.g.length=0};
g.h.remove=function(a){return pm(this.l,a)?(delete this.l[a],this.Ja--,this.Oh++,this.g.length>2*this.Ja&&rm(this),!0):!1};
g.h.get=function(a,b){return pm(this.l,a)?this.l[a]:b};
g.h.set=function(a,b){pm(this.l,a)||(this.Ja++,this.g.push(a),this.Oh++);this.l[a]=b};
g.h.forEach=function(a,b){for(var c=this.Cb(),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.om(this)};
g.h.Rd=function(a){rm(this);var b=0,c=this.Oh,d=this,e=new pk;e.next=function(){if(c!=d.Oh)throw Error("The map has changed since the iterator was created");if(b>=d.g.length)throw qk;var e=d.g[b++];return a?e:d.l[e]};
return e};g.h=g.um.prototype;g.h.toString=function(){var a=[],b=this.A;b&&a.push(Cm(b,kua,!0),":");var c=this.l;if(c||"file"==b)a.push("//"),(b=this.F)&&a.push(Cm(b,kua,!0),"@"),a.push(g.nb(c).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),c=this.B,null!=c&&a.push(":",String(c));if(c=this.o)this.l&&"/"!=c.charAt(0)&&a.push("/"),a.push(Cm(c,"/"==c.charAt(0)?lua:mua,!0));(c=this.g.toString())&&a.push("?",c);(c=this.ki())&&a.push("#",Cm(c,nua));return a.join("")};
g.h.resolve=function(a){var b=this.clone(),c=!!a.A;c?g.vm(b,a.A):c=!!a.F;c?b.F=a.F:c=!!a.l;c?g.wm(b,a.l):c=null!=a.B;var d=a.o;if(c)g.xm(b,a.B);else if(c=!!a.o){if("/"!=d.charAt(0))if(this.l&&!this.o)d="/"+d;else{var e=b.o.lastIndexOf("/");-1!=e&&(d=b.o.substr(0,e+1)+d)}e=d;if(".."==e||"."==e)d="";else if(-1!=e.indexOf("./")||-1!=e.indexOf("/.")){d=g.kb(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.ym(b,d):c=""!==a.g.toString();c?zm(b,a.g.clone()):c=!!a.H;c&&(b.H=a.ki());return b};
g.h.clone=function(){return new g.um(this)};
g.h.bz=function(){return this.g.toString()};
g.h.ki=function(){return this.H};
var kua=/[#\/\?@]/g,mua=/[#\?:]/g,lua=/[#\?]/g,Qda=/[#\?@]/g,nua=/#/g;g.h=g.Bm.prototype;g.h.Dc=function(){Fm(this);return this.Ja};
g.h.add=function(a,b){Fm(this);this.l=null;a=Im(this,a);var c=this.g.get(a);c||this.g.set(a,c=[]);c.push(b);this.Ja=this.Ja+1;return this};
g.h.remove=function(a){Fm(this);a=Im(this,a);return qm(this.g,a)?(this.l=null,this.Ja=this.Ja-this.g.get(a).length,this.g.remove(a)):!1};
g.h.clear=function(){this.g=this.l=null;this.Ja=0};
g.h.isEmpty=function(){Fm(this);return 0==this.Ja};
g.h.forEach=function(a,b){Fm(this);this.g.forEach(function(c,d){(0,g.C)(c,function(c){a.call(b,c,d,this)},this)},this)};
g.h.Cb=function(){Fm(this);for(var a=this.g.ub(),b=this.g.Cb(),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.ub=function(a){Fm(this);var b=[];if(g.w(a))Jm(this,a)&&(b=g.Va(b,this.g.get(Im(this,a))));else{a=this.g.ub();for(var c=0;c<a.length;c++)b=g.Va(b,a[c])}return b};
g.h.set=function(a,b){Fm(this);this.l=null;a=Im(this,a);Jm(this,a)&&(this.Ja=this.Ja-this.g.get(a).length);this.g.set(a,[b]);this.Ja=this.Ja+1;return this};
g.h.get=function(a,b){if(!a)return b;var c=this.ub(a);return 0<c.length?String(c[0]):b};
g.h.toString=function(){if(this.l)return this.l;if(!this.g)return"";for(var a=[],b=this.g.Cb(),c=0;c<b.length;c++){var d=b[c],e=g.nb(d);d=this.ub(d);for(var f=0;f<d.length;f++){var k=e;""!==d[f]&&(k+="="+g.nb(d[f]));a.push(k)}}return this.l=a.join("&")};
g.h.clone=function(){var a=new g.Bm;a.l=this.l;this.g&&(a.g=this.g.clone(),a.Ja=this.Ja);return a};var An={QG:5E3,SG:15E3,Hw:"://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(" "),xH:/\bocr\b/,tr:0,Lg:{},iV:function(a,b,c){a&&(An.oL(a)?An.QD(a,b):An.MD(a,b,c))},
oL:function(a){if(g.D(g.F(a)))return!1;if(0<=a.indexOf("://pagead2.googlesyndication.com/pagead/gen_204?id=yt3p&sr=1&"))return!0;try{var b=new g.um(a)}catch(c){return null!=g.Ka(An.Hw,function(b){return 0<a.search(b)})}return b.ki().match(An.xH)?!0:null!=g.Ka(An.Hw,function(b){return null!=a.match(b)})},
QD:function(a,b){if(a&&(a=An.kJ(a),!g.D(a))){var c='javascript:"<body><img src=\\""+'+a+'+"\\"></body>"';b?An.Wz(function(b){An.KD(b?c:'javascript:"<body><object data=\\""+'+a+'+"\\" type=\\"text/html\\" width=1 height=1 style=\\"visibility:hidden;\\"></body>"')}):An.KD(c)}},
KD:function(a){var b=g.K("IFRAME",{src:a,style:"display:none"});a=g.kd(b).body;var c=g.rg(function(){g.xf(d);g.Id(b)},An.SG);
var d=nf(b,["load","error"],function(){g.rg(function(){g.sg(c);g.Id(b)},An.QG)});
a.appendChild(b)},
Wz:function(a,b){var c=An.Lg.imageLoadingEnabled;if(null!=c)a(c);else{var d=!1;c=function(b,c){delete An.Lg[c];d||(d=!0,null!=An.Lg.imageLoadingEnabled||(An.Lg.imageLoadingEnabled=b),a(b))};
b?b(c):An.zL(c)}},
zL:function(a){var b=new window.Image,c=""+An.tr++;An.Lg[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=="},
hV:function(a){if(a){var b=g.Cd("OBJECT");b.data=a;b.width="1";b.height="1";b.style.visibility="hidden";var c=""+An.tr++;An.Lg[c]=b;b.onload=b.onerror=function(){delete An.Lg[c]};
window.document.body.appendChild(b)}},
LD:function(a){if(a){var b=new window.Image,c=""+An.tr++;An.Lg[c]=b;b.onload=b.onerror=function(){delete An.Lg[c]};
b.src=a}},
MD: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?An.Wz(function(b){b?An.LD(a):An.hV(a)}):An.LD(a)}},
kJ:function(a){a=g.Fc(g.Ic(a));if("about:invalid#zClosurez"===a)return"";a=g.Rc(Tc(a));return g.nb(g.xg(a))}};g.B(g.Km,g.M);var Nm=[];g.h=g.Km.prototype;g.h.U=function(a,b,c,d){return Lm(this,a,b,c,d)};
g.h.th=function(a,b,c,d){return Om(this,a,b,c,d)};
g.h.Da=function(a,b,c,d,e){if(g.ya(b))for(var f=0;f<b.length;f++)this.Da(a,b[f],c,d,e);else c=c||this.handleEvent,d=g.Ba(d)?!!d.capture:!!d,e=e||this.A||this,c=pf(c),d=!!d,b=g.gf(a)?a.ql(b,c,d,e):a?(a=g.rf(a))?a.ql(b,c,d,e):null:null,b&&(g.xf(b),delete this.l[b.key])};
g.h.V=function(){g.Km.ca.V.call(this);g.Qm(this)};
g.h.handleEvent=function(){throw Error("EventHandler.handleEvent not implemented");};g.B(Rm,g.M);Rm.prototype.D=function(){this.A=(0,g.G)()};
Rm.prototype.H=function(a){var b=null!=a.target.href?a.target:a.target.parentNode,c=[];this.l&1&&c.push("nm="+this.B);this.l&2&&c.push("nb="+this.C.get(b));if(this.l&8){var d=g.yh(this.o);c.push("nx="+(a.clientX-d.x));c.push("ny="+(a.clientY-d.y))}this.l&16&&null!=this.A&&c.push("clkt="+((0,g.G)()-this.A));0<c.length&&(b.href+=0<=b.href.indexOf("?")?"&"+c.join("&"):"?"+c.join("&"))};
Rm.prototype.F=function(){this.B++};
Rm.prototype.V=function(){Rm.ca.V.call(this);this.g.dispose()};var Tda=/(?:\[|%5B)([a-zA-Z0-9_]+)(?:\]|%5D)/g;var Um="ad_type vpos mridx pos vad_type videoad_start_delay".split(" ");Wm.prototype.isBumper=function(){return this.l};g.h=Xm.prototype;g.h.Kr=function(){return this.g.Kr()};
g.h.tl=function(){return this.g.tl()};
g.h.Of=function(){return this.g.Of()};
g.h.El=function(a){return this.hg?this.g.uo():this.g.El(a)};
g.h.setSize=function(a,b){this.g.setSize(a,b)};
g.h.Ar=function(){return this.g.Ar()};
g.h.Nj=function(){return this.g.Nj()};
g.h.ys=function(){return this.g.ys()};
g.h.wo=function(){return this.g.wo()};
g.h.hide=g.z;g.h.Tf=g.z;g.h.Ad=g.z;g.h.uo=function(){return this.g.uo()};
g.h.vo=g.z;g.B(Ym,g.af);Ym.prototype.getError=function(){return this.l};var Ry="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(" "),
d1="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(" "),
Nha="acceptinvitation click close collapse creativeview expand progress".split(" "),e1="viewable_impression measurable_impression overlay_unmeasurable_impression overlay_unviewable_impression overlay_viewable_immediate_impression overlay_viewable_end_of_session_impression externalActivityEvent".split(" "),f1={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.B(Zm,g.af);Zm.prototype.Ob=function(){return this.l};
var xha={VW:"adCanPlay",XW:"adNotify",xY:"contentPauseRequested",yY:"contentResumeRequested",Dq:"click",RY:"discardAdNotify",J3:"videoClicked",L3:"videoIconClicked",jw:"engagedview",wZ:"expandedChanged",q2:"start",Sm:"impression",zw:"measurable_impression",Yw:"viewable_impression",ow:"fully_viewable_audible_half_duration_impression",pH:"overlay_resize",qH:"overlay_unmeasurable_impression",rH:"overlay_unviewable_impression",tH:"overlay_viewable_immediate_impression",sH:"overlay_viewable_end_of_session_impression",
zZ:"externalActivityEvent",PAUSED:"pause",H1:"resume",lw:"firstquartile",Aw:"midpoint",Uw:"thirdquartile",gw:"complete",jZ:"durationChange",FX:"autoClose",B3:"userClose",C3:"userRecall",k1:"prefetched",Jq:"loaded",uX:"allAdsCompleted",Lw:"skip",HH:"skipshown",E_:"linearChanged",f2:"skippableStateChanged",WW:"adMetadata",UW:"adBreakReady",P_:"log",VOLUME_CHANGED:"volumeChange",R3:"mute",o_:"interaction",oY:"companionBackfill",i4:"youTubeVideoMetadata",f4:"youTubeChannelMetadata",A3:"urlNavigationRequested",
W2:"trackingUrlPinged",F3:"video_card_endcap_action",G3:"video_card_endcap_collapse",H3:"video_card_endcap_dismiss",I3:"video_card_endcap_impression",b4:"why_this_ad_url",a4:"why_this_ad_got_it",E0:"MUTE_AD",rY:"companionInitialized",qY:"companionImpression",pY:"companionClick",X_:"mediaUrlPinged",h4:"youtubeKevlarCompanionShow",g4:"youtubeKevlarCompanionHide",j4:"yt-show-toast"};cn.prototype.g=function(){return this.X};
cn.prototype.getPlayerType=function(){return""};
var P=new cn;var oua={NORMAL:"normal",mw:"fullscreen"};var ht=["ADSENSE","ADSENSE/ADX"],Tfa=["DART","DART_DFA","DART_DFP"],fga=["FREEWHEEL","YT:FREEWHEEL"],qs=["SHOPPING","YT:SHOPPING"],Ufa=["GDFP"],Sfa=["VIRAL","ADSENSE-VIRAL"],Rfa=["VIRAL-RESERVE"],Xp={"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"},Nu={IY:"application/dash+xml",j0:"video/mp4",
l0:"video/mpeg",U_:"application/x-mpegURL",K0:"video/ogg",G2:"video/3gpp",U3:"video/webm",MP3:"audio/mpeg",k0:"audio/mp4"};g.B(dn,g.af);g.B(en,Error);en.prototype.Kd=function(){return this.A};
en.prototype.Pb=function(){return this.l};
en.prototype.Ub=function(){return this.B};
en.prototype.toString=function(){return"AdError "+this.Pb()+": "+this.Kd()+(null!=this.Hl?" Caused by: "+this.Hl:"")};fn.prototype.g=function(){return!1};
fn.prototype.l=function(){return window.NaN};
fn.prototype.o=function(){return""};gn.prototype.getId=function(){return this.Ea};hn.prototype.getId=function(){return this.Ea};var cea=["ActiveViewExternalLayer"],ln=null;var Uea=["*.googlesyndication.com","gcdn.2mdn.net"],eea=["*.youtu.be","*.youtube.com"],hea="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(" "),gea=["c.googlesyndication.com"],
Wia=["googleads.g.doubleclick.net","pubads.g.doubleclick.net"];Cn.prototype.Pb=function(){return this.errorCode};
Cn.prototype.Kd=function(){return this.message};
var gja=new Cn("Unable to request ads from server. Cause: {0}.",1005),Xia=new Cn("Unable to request ads from server due to network error.",1012),Iz=new Cn("Cannot parse the {0} value for the adslist response: {1}.",900),Ku=new Cn("Invalid usage of the API. Cause: {0}",900),Iha=new Cn("Asset fallback ad replacement.",1021),Jha=new Cn("Asset fallback no ad replacement.",1021),g1=new Cn("Unable to display one or more required companions.",602),hC=new Cn("There was a problem requesting ads from the server.",
1005),h1=new Cn("There was a problem requesting the biscotti ID.",1005),Via=new Cn("Ad tag URI {0} is invalid. It must be properly encoded before being passed.",1013),KB=new Cn("The provided ad type: {0} is not supported.",1005),Do=new Cn("The provided {0} information: {1} is invalid.",1101),pua=new Cn("The provided skip offset was invalid.",1105),qua=new Cn("The extension contained is neither skippable nor nonskippable.",1105),Pq=new Cn("The response does not contain any valid ads.",1009),rua=new Cn("The overlay ad content could not be displayed since creative dimensions do not align with display area.",
501),Uha=new Cn("The ad playlist response was malformed or empty.",1010),Jz=new Cn("The ad response was not understood and cannot be parsed.",1010),$ia=new Cn("An unexpected error occurred and the cause is not known. Refer to the inner error for more info.",900),ija=new Cn("The ad response contains unexpected element. Cause {0}.",1010),xC=new Cn("No assets were found in the VAST ad response.",200),Ofa=new Cn("Duplicate node in <{0}>: {1}",101),nB=new Cn("The VAST response document is empty.",1009),
uha=new Cn("Linear assets were found in the VAST ad response, but none of them matched the video player's capabilities.",403),Oq=new Cn("Ad request reached a timeout.",301),oB=new Cn("VAST response was malformed and could not be parsed.",100),i1=new Cn("VAST media file loading reached a timeout of {0} seconds.",402),Qq=new Cn("Ad request could not be completed due to a network error.",301),sua=new Cn("Non linear assets were found in the VAST ad response, but none of them matched the video player's capabilities.",
503),gfa=new Cn("The maximum number of VAST wrappers ({0}) has been reached.",302),tua=new Cn("VAST media file duration differs from the VAST response duration by {0} seconds.",202),gy=new Cn("Video player received an ad with unexpected or incompatible linearity",201),Nfa=new Cn("Unknown node in <{0}>: {1}",101),Tga=new Cn("Invalid VAST resource type: {0}",101),via=new Cn("Invalid VAST version",102),hfa=new Cn("No additional VAST wrappers allowed.",300),Vq=new Cn("No Ads VAST response after one or more Wrappers",
303),ly=new Cn("There was an error playing the video ad.",400),uua=new Cn("VMAP unsupported node in <{0}>: {1}",1010),Lw=new Cn("An unexpected error occurred within the VPAID creative. Refer to the inner error for more info.",901);g.B(Jn,g.af);var BA="abort canplay canplaythrough durationchange emptied loadstart loadeddata loadedmetadata progress ratechange seeked seeking stalled suspend waiting".split(" ");var jea=function(){if(g.RL)return Kn(/Firefox\/([0-9.]+)/);if(g.wd||OL||g.cf)return nc;if(g.zI)return jc()?Kn(/CriOS\/([0-9.]+)/):Kn(/Chrome\/([0-9.]+)/);if(g.eM&&!jc())return Kn(/Version\/([0-9.]+)/);if(EM||DM){var a=/Version\/(\S+).*Mobile\/(\S+)/.exec(g.Gb);if(a)return a[1]+"."+a[2]}else if(FM)return(a=Kn(/Android\s+([0-9.]+)/))?a:Kn(/Version\/([0-9.]+)/);return""}();var Xn={},Zn="",Sn=/OS (\S+) like/,vua=/OS X (\S+)\)/,Vn=/Android ([\d\.]+)/;eo.prototype.reset=function(){this.g=0;this.l=null};var wua;
wua={zG:["BC","AD"],yG:["Before Christ","Anno Domini"],iH:"JFMAMJJASOND".split(""),KH:"JFMAMJJASOND".split(""),Bw:"January February March April May June July August September October November December".split(" "),Mw:"January February March April May June July August September October November December".split(" "),Jw:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),Nw:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),Zw:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),Pw:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),
Kw:"Sun Mon Tue Wed Thu Fri Sat".split(" "),Ow:"Sun Mon Tue Wed Thu Fri Sat".split(" "),F0:"SMTWTFS".split(""),LH:"SMTWTFS".split(""),DH:["Q1","Q2","Q3","Q4"],wH:["1st quarter","2nd quarter","3rd quarter","4th quarter"],aw:["AM","PM"],Eq:["EEEE, MMMM d, y","MMMM d, y","MMM d, y","M/d/yy"],Vw:["h:mm:ss a zzzz","h:mm:ss a z","h:mm:ss a","h:mm a"],uG:["{1} 'at' {0}","{1} 'at' {0}","{1}, {0}","{1}, {0}"],Hq:6,dI:[5,6],Iq:5};g.j1=wua;g.j1=wua;go.prototype.clone=function(){return new go(this.g,this.months,this.days,this.hours,this.minutes,this.seconds)};
go.prototype.times=function(a){return new go(this.g*a,this.months*a,this.days*a,this.hours*a,this.minutes*a,this.seconds*a)};
go.prototype.add=function(a){this.g+=a.g;this.months+=a.months;this.days+=a.days;this.hours+=a.hours;this.minutes+=a.minutes;this.seconds+=a.seconds};
g.h=g.jo.prototype;g.h.Sn=g.j1.Hq;g.h.Un=g.j1.Iq;g.h.clone=function(){var a=new g.jo(this.date);a.Sn=this.Sn;a.Un=this.Un;return a};
g.h.getFullYear=function(){return this.date.getFullYear()};
g.h.getMonth=function(){return this.date.getMonth()};
g.h.getDate=function(){return this.date.getDate()};
g.h.getTime=function(){return this.date.getTime()};
g.h.getDay=function(){return this.date.getDay()};
g.h.getUTCFullYear=function(){return this.date.getUTCFullYear()};
g.h.getUTCMonth=function(){return this.date.getUTCMonth()};
g.h.getUTCDate=function(){return this.date.getUTCDate()};
g.h.getUTCHours=function(){return this.date.getUTCHours()};
g.h.getUTCMinutes=function(){return this.date.getUTCMinutes()};
g.h.getTimezoneOffset=function(){return this.date.getTimezoneOffset()};
g.h.set=function(a){this.date=new Date(a.getFullYear(),a.getMonth(),a.getDate())};
g.h.add=function(a){if(a.g||a.months){var b=this.getMonth()+a.months+12*a.g,c=this.getFullYear()+Math.floor(b/12);b%=12;0>b&&(b+=12);a:{switch(b){case 1:var d=0!=c%4||0==c%100&&0!=c%400?28:29;break a;case 5:case 8:case 10:case 3:d=30;break a}d=31}d=Math.min(d,this.getDate());this.date.setDate(1);this.date.setFullYear(c);this.date.setMonth(b);this.date.setDate(d)}a.days&&(a=new Date((new Date(this.getFullYear(),this.getMonth(),this.getDate(),12)).getTime()+864E5*a.days),this.date.setDate(1),this.date.setFullYear(a.getFullYear()),
this.date.setMonth(a.getMonth()),this.date.setDate(a.getDate()),io(this,a.getDate()))};
g.h.lo=function(a){return[this.getFullYear(),g.vb(this.getMonth()+1,2),g.vb(this.getDate(),2)].join(a?"-":"")+""};
g.h.toString=function(){return this.lo()};
g.h.valueOf=function(){return this.date.valueOf()};ko.prototype.reset=function(){this.l=this.g=null};var qo=new mo;mo.prototype.clear=function(){this.g=lo();this.B=this.I=this.l=null;this.A=lo();this.o=null;this.X=this.D=this.H="";this.F=this.R=this.C=null};g.wa(po);po.prototype.isLoggingEnabled=function(){return this.g};g.h=to.prototype;g.h.pI=!1;g.h.kx=!1;g.h.rx=!0;g.h.ij=null;g.h.bitrate=-1;g.h.contentId=null;g.h.iy=!1;g.h.Cl=!1;g.h.Dl=null;g.h.surveyCreativeData=null;g.h.WV=!0;g.h.Gv=!1;g.h.XV=!1;g.h.Jv=!1;g.h.Kv=!1;g.h.NE=!1;g.h.OE=!0;g.h.XI=!1;g.h.YV=!0;g.h.yz=!0;g.h.Sq=!1;g.h.NI=!1;g.h.iW=0;g.h.showContentThumbnail=!0;g.h.Dv=!1;g.h.Fv=!1;g.h.ri=null;g.h.sf=1E4;g.h.tx=!0;g.h.eD=0;g.h.Su=-1;g.h.xz=null;g.h.Qi=-1;g.h.shortViewCount=null;g.B(uo,g.Cf);var AA={PX:"beginFullscreen",Dq:"click",oZ:"end",pZ:"endFullscreen",ERROR:"error",Jq:"loaded",W_:"mediaLoadTimeout",PAUSE:"pause",PLAY:"play",e2:"skip",HH:"skipShown",X1:"shareClicked",Qw:"start",L2:"timeUpdate",cY:"cardsStateChange",I2:"timedMetadata",Q3:"volumeChange"};g.h=uo.prototype;g.h.Ez=function(){return!1};
g.h.jb=function(){return!0};
g.h.fv=g.z;g.h.Gz=g.z;g.h.Bs=g.z;g.h.He=function(){return null};
g.h.Es=g.z;g.h.Ds=g.z;g.B(vo,g.Cf);var wo=null;vo.prototype.Ck=function(a){this.o=a};
vo.prototype.destroy=function(){this.W.Da(this.l,"activityMonitor",this.I);this.l=null};
vo.prototype.I=function(a){var b=a.ag;switch(a.ce){case "appStateChanged":Lda(em.getInstance(),b.appState,b.nativeTime);break;case "externalActivityEvent":Ao(b.queryId,b.viewabilityString,b.eventName);break;case "measurableImpression":yo(b.queryId,b.viewabilityString);break;case "pageSignals":this.H=b.pageSignals;break;case "viewableImpression":zo(b.queryId,b.viewabilityString);break;case "engagementData":b=b.engagementString;xo().A=b;xo().F=(0,g.G)();break;case "viewability":a=b.eventId;window.clearTimeout(a);
var c=this.g.get(a);c&&(this.g.remove(a),c(b.viewabilityData));break;case "viewabilityMeasurement":var d=em.getInstance(),e=b.queryId;b=b.viewabilityData;a=ej.getInstance();if("exc"==a.zb){d.B=b.nativeVolume;c=b.exposure||0;var f=b.unmeasurable;d=d.ko(e,{});null!=b.presenceData&&(null===d.l&&(d.l=new uk),g.cc(d.l,b.presenceData));-1==d.fa&&(d.fa=ti(),d.wb=d.Jd().l.g);d.ea+=f?1:0;d.Wa++;d.Ma.update(c,c,!1,1,!1);e=b.insideIframe;g.u(e)&&0==e&&(a.g=!1);d.rh=f||d.rh;b.position&&jk(d,ci,a.g,new g.Xg(b.position.top,
b.position.right,b.position.bottom,b.position.left));b.documentSize&&(a.A=new g.hd(b.documentSize.width,b.documentSize.height));b.viewportSize&&(a.o=new g.hd(b.viewportSize.width,b.viewportSize.height));d.Nc.g=g.ad(c,0,1);d.it=d.Nc.g}break;case "engagement":a=b.eventId,window.clearTimeout(a),c=this.g.get(a),po.getInstance().isLoggingEnabled()&&(f=-1,this.C&&(f=(0,g.G)()-this.C),d=!1,c||(d=!0),Rb(b,"loggingId")&&so(po.getInstance(),43,{step:"receivedResponse",time:(0,g.G)(),timeout:d,logid:b.loggingId,
timediff:f})),c&&(this.g.remove(a),c(b.engagementString))}};
g.va("ima.bridge.getNativeViewability",function(a,b){xo();b({})},void 0);
g.va("ima.bridge.getVideoMetadata",function(){var a=xo().D;return g.Aa(a)?a():{}},void 0);
g.va("ima.bridge.triggerViewEvent",zo,void 0);g.va("ima.bridge.triggerMeasurableEvent",yo,void 0);g.va("ima.bridge.triggerExternalActivityEvent",Ao,void 0);var oea={TG:"Image",GG:"Flash",ALL:"All"},nea={ZZ:"Html",d_:"IFrame",s2:"Static",ALL:"All"},pea={e_:"IgnoreSize",R1:"SelectExactMatch",S1:"SelectNearMatch"},qea={QY:"DisallowResize",D1:"ResizeSmaller"};var k1=!1,l1="";
(function(){if(window.navigator.plugins&&window.navigator.plugins.length){var a=window.navigator.plugins["Shockwave Flash"];if(a&&(k1=!0,a.description)){l1=Co(a.description);return}if(window.navigator.plugins["Shockwave Flash 2.0"]){k1=!0;l1="2.0.0.11";return}}if(window.navigator.mimeTypes&&window.navigator.mimeTypes.length&&(a=window.navigator.mimeTypes["application/x-shockwave-flash"],k1=!(!a||!a.enabledPlugin))){l1=Co(a.enabledPlugin.description);return}try{var b=new window.ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");k1=
!0;l1=Co(b.GetVariable("$version"));return}catch(c){}try{b=new window.ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");k1=!0;l1="6.0.21";return}catch(c){}try{b=new window.ActiveXObject("ShockwaveFlash.ShockwaveFlash"),k1=!0,l1=Co(b.GetVariable("$version"))}catch(c){}})();
var Jo=k1,CB=l1;g.B(Oo,g.Cf);var Po=null;g.h=Oo.prototype;g.h.destroy=function(){this.W.Da(this.g,"activityMonitor",this.Bz);this.o=!1;this.l.clear()};
g.h.V=function(){this.destroy();Oo.ca.V.call(this)};
g.h.init=function(a){if(!this.o){if(this.g=a||null)this.W.U(this.g,"activityMonitor",this.Bz),Vo(this);if(P.I&&!(g.x.ima&&g.x.ima.video&&g.x.ima.video.client&&g.x.ima.video.client.tagged)){g.va("ima.video.client.sdkTag",!0,void 0);var b=g.x.document;a=b.createElement("script");var c=b.location.protocol;"http:"!=c&&"https:"!=c&&(c="");a.src=c+"//s0.2mdn.net/instream/video/client.js";a.async=!0;a.type="text/javascript";b=b.getElementsByTagName("script")[0];b.parentNode.insertBefore(a,b)}(a=P.l||P.g())||
(a=!1);a||(em.getInstance().A=!0);this.B=(g.Aa(null),null);fm();this.o=!0}};
g.h.Ck=function(a){this.A=a};
g.h.Bz=function(a){var b=a.ag,c=b.queryId,d={};d.eventId=b.eventId;switch(a.ce){case "getPageSignals":Vo(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=To(this,e,c,a,f);this.g.send("activityMonitor","viewability",d);break;case "fetchAdTagUrl":d={},d.eventId=b.eventId,a=b.osdId,c=null,Rb(b,"isFullscreen")&&(c=b.isFullscreen),Rb(b,"loggingId")&&(b=b.loggingId,d.loggingId=b,so(po.getInstance(),
43,{step:"beforeLookup",logid:b,time:(0,g.G)()},!0)),d.engagementString=vea(this,a,c),this.g.send("activityMonitor","engagement",d)}};
g.va("ima.common.getVideoMetadata",function(a){a=Qo().l.get(a);return g.Aa(a)?a():{}},void 0);
g.va("ima.common.triggerViewEvent",function(a,b){var c={};c.queryId=a;c.viewabilityString=b;var d=Qo().g;d?d.send("activityMonitor","viewableImpression",c):Qo().dispatchEvent(new Zm("viewable_impression",null,c))},void 0);
g.va("ima.common.triggerViewabilityMeasurementUpdate",function(a,b){var c=Qo().g,d={};d.queryId=a;d.viewabilityData=b;c&&c.send("activityMonitor","viewabilityMeasurement",d)},void 0);
g.va("ima.common.triggerMeasurableEvent",function(a,b){var c={};c.queryId=a;c.viewabilityString=b;var d=Qo().g;d?d.send("activityMonitor","measurableImpression",c):Qo().dispatchEvent(new Zm("measurable_impression",null,c))},void 0);
g.va("ima.common.triggerExternalActivityEvent",function(a,b,c){var d={};d.queryId=a;d.viewabilityString=b;d.eventName=c;(a=Qo().g)?a.send("activityMonitor","externalActivityEvent",d):Qo().dispatchEvent(new Zm("externalActivityEvent",null,d))},void 0);
Qo();g.B(Wo,g.af);Wo.prototype.getError=function(){return this.g};Xo.prototype.cd=function(){return this.D};
Xo.prototype.Cc=function(){return this.A};
Xo.prototype.clone=function(){var a=new Xo(this.H,this.F);if(null!=this.A)Yo(a,this.Cc(),this.o,this.g,this.B);else{var b=this.cd(),c=this.o,d=this.g,e=this.l,f=this.B,k=this.C;a.D=b;a.A=null;a.o=c;a.g=d;a.l=e;a.B=f||[];a.C=k||[]}return a};g.B($o,g.af);ap.prototype.videoCount=0;g.bp.prototype.l=yc;var jp={},vp={},wp={},Br={},qq={};dp.prototype.al=null;dp.prototype.cd=function(){return this.content};
dp.prototype.toString=function(){return this.content};
g.B(ep,dp);ep.prototype.nj=qq;g.B(fp,dp);fp.prototype.nj=jp;g.B(gp,dp);gp.prototype.nj=Br;gp.prototype.al=1;var kp=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.al=d);return c}}(fp),Dea=function(a){function b(a){this.content=a}
b.prototype=a.prototype;return function(a){return new b(String(a))}}(gp),lp={},mp={},Hr=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.al=d);return c}}(fp),tp=/['()]/g,Cp={},Eea={"\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;"},Fea={"\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"},xea=/[\x00\x22\x27\x3c\x3e]/g,zea=/[\x00\x09-\x0d \x22\x26\x27\x2d\/\x3c-\x3e`\x85\xa0\u2028\u2029]/g,yea=/[\x00\x09-\x0d \x22\x27\x2d\/\x3c-\x3e`\x85\xa0\u2028\u2029]/g,yp=/[\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,
Bea=/^(?![^#?]*\/(?:\.|%2E){2}(?:[\/?#]|$))(?:(?:https?|mailto):|[^&:\/?#]*(?:[\/?#]|$))/i,Cea=/^[^&:\/?#]*(?:[\/?#]|$)|^https?:|^data:image\/[a-z0-9+]+;base64,[a-z0-9+\/]+=*$|^blob:/i,tfa=/^(?!on|src|(?:style|action|archive|background|cite|classid|codebase|data|dsync|href|longdesc|usemap)\s*$)(?:[a-z0-9_$:-]*)$/i,pp=/<(?:!|\/?([a-zA-Z][a-zA-Z0-9:\-]*))(?:[^>'"]|"[^"]*"|'[^']*')*>/g,qp=/</g;Gp.prototype.Sa=function(){return this.o};
Gp.prototype.Ub=function(){return this.l};
g.B(Hp,Gp);Fp.prototype.isEmpty=function(){return this.g.isEmpty()};g.h=Op.prototype;g.h.getDuration=function(){return this.ia};
g.h.Ms=function(){return null};
g.h.Ls=function(){return null};
g.h.Ks=function(){return null};
g.h.Ob=function(){return this.H};
g.h.co=function(){for(var a=[this],b=this.H.l;b;){var c=Rp(this,b)||Rp(this,b,!0);null!=c&&a.push(c);b=b.l}return a};Sp.prototype.Db=function(){return this.C};
Sp.prototype.getHeight=function(){return this.A};
Sp.prototype.Sa=function(){return this.B};g.B(Tp,Op);g.h=Tp.prototype;g.h.qf=function(){return this.A};
g.h.gh=function(){return this.l};
g.h.hh=function(){return null!=this.B?this.B.Sa():null};
g.h.Ms=function(){var a=Vp(this,"javascript");return null!=a?a.Sa():null};
g.h.Ls=function(){var a=Wp(this);return null!=a?a.Sa():null};
g.h.Ks=function(){return null!=this.B?this.B.l:1==this.l.length?this.l[0].l:null};g.B(Yp,Op);g.h=Yp.prototype;g.h.cd=function(){return Rd(this.Cc())};
g.h.Gl=function(){return!1};
g.h.Ns=function(){return this.Gl()?Rd(this.Cc(!0)):""};
g.h.nd=function(){return this.Z};
g.h.be=function(){return this.Gb};
g.h.Db=function(){return this.be().width};
g.h.getHeight=function(){return this.be().height};
g.h.hh=function(){return this.l};
g.h.Ms=function(){return"VPAID"==this.I&&"Javascript"==this.Z?this.l:null};
g.h.Ls=function(){return"VPAID"==this.I&&"Flash"==this.Z?this.l:null};
g.h.Ks=function(){return this.I};
g.h.qf=function(){return this.na};g.B(Zp,g.M);Zp.prototype.D=function(){this.C=(0,g.G)()};
Zp.prototype.H=function(a,b){var c=a.element;1==(this.l&1)&&(0==this.A&&this.A++,this.g.nm=this.A);2==(this.l&2)&&(this.g.nb=a.FI);if(8==(this.l&8)){var d=g.yh(this.B);this.g.nx=Math.round(b.clientX-d.x);this.g.ny=Math.round(b.clientY-d.y)}16==(this.l&16)&&null!=this.C&&(d=(0,g.G)()-this.C,this.g.clkt=d);512==(this.l&512)&&(d=ji())&&(this.g.mb=d);"A"==c.tagName.toUpperCase()&&g.Xc(c,Nea(this,c.href))};
Zp.prototype.F=function(){this.A++};var xua=g.wd?Cc(sc(g.vc('javascript:""'))):Cc(sc(g.vc("about:blank"))),Oea=Bc(xua),yua=g.wd?Cc(sc(g.vc('javascript:""'))):Cc(sc(g.vc("javascript:undefined")));Bc(yua);g.B($p,Yp);g.h=$p.prototype;g.h.fj=function(a){null==this.o||g.D(g.F(this.qf()))||(this.o.U(a,"click",this.X),this.Y.push(a))};
g.h.Cc=function(a){a?(null==this.fa&&(this.fa=this.tg(a),g.Fd(this.fa,eq(this))),a=this.fa):(null==this.A&&(this.A=this.tg(),g.Fd(this.A,eq(this))),a=this.A);null!=this.o&&this.o.U(a,"creativeview",this.ea);return a};
g.h.tg=function(){var a=g.F(this.l);g.D(g.F(this.qf()))||(a=new g.um(a),g.Dm(a,"clickTAG",g.nb(this.qf())),a=a.toString());var b=g.K("IFRAME",{marginwidth:0,marginheight:0,hspace:0,vspace:0,frameborder:0,scrolling:"no"},null);b.height=this.getHeight();"Text"!=this.nd()&&(b.width=this.Db());b.setAttribute("src",un(a));this.fj(b);return dq(this,b)};
g.h.Lr=function(){nn().g("cleanup_text_overlay_spam_signals");return 2};
g.h.co=function(){for(var a=[this],b=this.Ob().l;b;){var c=this.C?Rp(this,b)||Rp(this,b,!0):fq(this,b)||fq(this,b,!0);null!=c&&a.push(c);b=b.l}return a};var Sea={};g.B(rq,$p);g.h=rq.prototype;g.h.be=function(){return new g.hd(this.Db(),this.getHeight())};
g.h.getHeight=function(){return 63};
g.h.Db=function(){return null!=this.D?g.Ih(this.D).width:0};
g.h.Lr=function(a){return nn().g("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.tg=function(){var a=this.Ob(),b=a.getExtension("AdSense"),c=a.getExtension("TextAd"),d=c.B,e="rtl";null!=d&&(e=Tta.test(wc(d,void 0))?"rtl":"ltr");d={title:d,text:c.C+" "+c.D,dir:e,Jc:this.qf()};if(e=c.getImageUrl())d.image=un(e),d.PE=!0,P.g()&&(d.PE=0==c.l||0==c.o),a=g.Ka(a.D,function(a){return a instanceof Tp}),null!=a&&(d.duration=Lo(a.getDuration()));
b.o&&(d.QE=b.o);this.D=pq(Gea,d);(0,g.C)(this.D.getElementsByTagName("a"),this.fj,this);this.D.id=this.Ea;this.D.style.height=this.getHeight()+"px";return this.D};var Wea=[202,1009],afa="CONTENT_V CPN DISALLOW EID LACT VIS".split(" "),$ea={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=Nq.prototype;g.h.Rf=function(){return null!=this.g&&this.g.Rf()?!0:0<this.ads.length&&this.l<this.ads.length-1};
g.h.Je=function(a,b){null!=this.g?ffa(this,a,b):this.Rf()?ifa(this,a,(0,g.A)(function(c){!this.Rf()||!P.g()&&301==c.Pb()?b(c):this.Je(a,b)},this)):b(new en("adLoadError","The ad source contains no more ads.",1005))};
g.h.Dy=function(a,b){return this.B?0<a.length?a:b:g.Ya(b,0,1)};
g.h.yp=function(a,b,c){var d;if(!(d=null!=a.g)){var e=this.C;d=e.pf||0;e=e.nf||0;Xs(a)&&!a.ba?at(a,"nonlinear")?Lq(a,d,e):Mq(a):at(a,"linear")?Mq(a):at(a,"nonlinear")&&Lq(a,d,e);d=null!=a.g}d?(this.o++,b(a)):(b=g.Pa(a.D)?En(oB):a.Vb()?En(xC):En(sua),d=Bq(b,a),No(Vfa(a),"rm")?b.o=!1:Bn(a.ia,d),c(b))};
g.h.Uu=function(a,b,c){var d=this.C.clone();d.l="";d.g=a.Wb;d.Ze=Vm(d.g,d.to);Sq(this,a,d,b,c)};g.B(Xq,gq);Xq.prototype.ie=function(){return this.l};g.B(Yq,Nq);Yq.prototype.Rf=function(){if(null!=this.g&&this.g.Rf())return!0;var a=0==this.o||this.o==this.I;return 0<this.ads.length&&a&&this.l<this.ads.length-1};
Yq.prototype.Dy=function(a,b){return b};
Yq.prototype.yp=function(a,b,c){var d=null==this.g?Ns(a):Ns(this.ads[this.l]);this.H.o=d;Yq.ca.yp.call(this,a,b,c)};
Yq.prototype.Uu=function(a,b,c){this.H.o=-1;Yq.ca.Uu.call(this,a,b,c)};g.B(br,g.um);br.prototype.toString=function(){return er(this,br.ca.toString.call(this))};
br.prototype.bz=function(){return""};
br.prototype.ki=function(){return""};
br.prototype.clone=function(){return new br(this.toString())};g.h=mr.prototype;g.h.cd=function(){return this.g.cd()};
g.h.Cc=function(){return this.g.Cc()};
g.h.nd=function(){return this.g.nd()};
g.h.Db=function(){return this.g.Db()};
g.h.getHeight=function(){return this.g.getHeight()};
g.h.Ob=function(){return this.g.Ob()};np("a","",function(a){a=a||{};return'<div class="'+Q("videoAdUi")+'"><div class="'+Q("videoAdUiTopBar")+" "+Q("videoAdUiTopBarWithGradients")+'"><div class="'+Q("videoAdUiAuthorIcon")+'"></div><div class="'+Q("videoAdUiTitle")+" "+Q("ellipsisText")+'"></div><div class="'+Q("videoAdUiAuthorName")+" "+Q("ellipsisText")+'"></div><div class="'+Q("videoAdUiLearnMore")+'">'+Q(a.learnMoreText)+'</div><div class="'+Q("videoAdUiShare")+'"></div></div><div class="'+Q("videoAdUiBottomBar")+'"><div class="'+
Q("videoAdUiLearnMoreText")+'">'+Q(a.learnMoreText)+'<div class="'+Q("videoAdUiLearnMoreIcon")+'"></div></div><div class="'+Q("videoAdUiAttributionContainer")+'"><div class="'+Q("videoAdUiAttribution")+'" '+Q(Dp(a.df))+">"+Q(a.df)+'</div><div class="'+Q("videoAdUiAttributionIconContainer")+'"><div class="'+Q("videoAdUiAttributionIcon")+'" id="videoAdUiAttributionIcon"></div><div class="'+Q("videoAdUiAdInfoPopup")+'"><div class="'+Q("videoAdUiAdInfoPopupCallout")+'"></div><div class="'+Q("videoAdUiAdInfoPopupText")+
'" '+Q(Dp(a.Sd))+">"+Q(a.Sd)+'</div></div></div></div></div><div class="'+Q("videoAdUiProgressBar")+'" dir="ltr"><div class="'+Q("videoAdUiBuffer")+'"></div><div class="'+Q("videoAdUiProgress")+'"></div></div></div>'});
np("a","fixedDirectionality",function(a){a=a||{};return'<div class="'+Q("videoAdUi")+'"><div class="'+Q("videoAdUiTopBar")+" "+Q("videoAdUiTopBarWithGradients")+'"><div class="'+Q("videoAdUiAuthorIcon")+'"></div><div class="'+Q("videoAdUiTitle")+" "+Q("ellipsisText")+'"></div><div class="'+Q("videoAdUiAuthorName")+" "+Q("ellipsisText")+'"></div><div class="'+Q("videoAdUiLearnMore")+'">'+Q(a.learnMoreText)+'</div><div class="'+Q("videoAdUiShare")+'"></div></div><div class="'+Q("videoAdUiBottomBar")+
'"><div class="'+Q("videoAdUiLearnMoreText")+'">'+Q(a.learnMoreText)+'<div class="'+Q("videoAdUiLearnMoreIcon")+'"></div></div><div class="'+Q("videoAdUiAttributionContainer")+'"><div class="'+Q("videoAdUiAttribution")+'">'+Q(a.df)+'</div><div class="'+Q("videoAdUiAttributionIconContainer")+'"><div class="'+Q("videoAdUiAttributionIcon")+'" id="videoAdUiAttributionIcon"></div><div class="'+Q("videoAdUiAdInfoPopup")+'"><div class="'+Q("videoAdUiAdInfoPopupCallout")+'"></div><div class="'+Q("videoAdUiAdInfoPopupText")+
'">'+Q(a.Sd)+'</div></div></div></div></div><div class="'+Q("videoAdUiProgressBar")+'" dir="ltr"><div class="'+Q("videoAdUiBuffer")+'"></div><div class="'+Q("videoAdUiProgress")+'"></div></div></div>'});
np("a","redesign2014q4",function(a){a=a||{};return'<div class="'+Q("videoAdUi")+'"><div class="'+Q("videoAdUiTopBar")+" "+Q("videoAdUiTopBarWithGradients")+'"><div class="'+Q("videoAdUiAuthorIcon")+'"></div><div class="'+Q("videoAdUiTopButtons")+'"><div class="'+Q("videoAdUiTopButton")+" "+Q("videoAdUiTopButtonInfo")+'"><div class="'+Q("videoAdUiTopButtonCallout")+'"><div class="'+Q("videoAdUiTopButtonTooltip")+'">'+Q(a.infoText)+'</div></div></div><div class="'+Q("videoAdUiTopButton")+" "+Q("videoAdUiTopButtonShare")+
'"><div class="'+Q("videoAdUiTopButtonCallout")+'"><div class="'+Q("videoAdUiTopButtonTooltip")+" "+Q("videoAdUiTopButtonShareTooltip")+'">'+Q(a.C4)+'</div></div></div><div class="'+Q("videoAdUiTopButton")+" "+Q("videoAdUiTopButtonWatchLater")+'"><div class="'+Q("videoAdUiTopButtonCallout")+'"><div class="'+Q("videoAdUiTopButtonTooltip")+'">'+Q(a.D4)+'</div></div></div></div><div class="'+Q("videoAdUiTitle")+" "+Q("ellipsisText")+'"></div><div class="'+Q("videoAdUiAuthorName")+" "+Q("ellipsisText")+
'"></div></div><div class="'+Q("videoAdUiBottomBar")+'"><div class="'+Q("videoAdUiBottomBarText")+'"><div class="'+Q("videoAdUiAttributionContainer")+'"><div class="'+Q("videoAdUiAttribution")+'" '+Q(Dp(a.df))+">"+Q(a.df)+'</div><div class="'+Q("videoAdUiAttributionIconContainer")+'"><div class="'+Q("videoAdUiAttributionIcon")+'" id="videoAdUiAttributionIcon"></div><div class="'+Q("videoAdUiAdInfoPopup")+'"><div class="'+Q("videoAdUiAdInfoPopupCallout")+'"></div><div class="'+Q("videoAdUiAdInfoPopupText")+
'" '+Q(Dp(a.Sd))+">"+Q(a.Sd)+'</div></div></div></div><div class="'+Q("videoAdUiVisitAdvertiserLink")+'"><div class="'+Q("videoAdUiVisitAdvertiserLinkText")+'"></div><div class="'+Q("videoAdUiVisitAdvertiserIcon")+'"></div></div></div><div class="'+Q("videoAdUiBottomBarMessage")+'"></div></div><div class="'+Q("videoAdUiProgressBar")+'" dir="ltr"><div class="'+Q("videoAdUiBuffer")+'"></div><div class="'+Q("videoAdUiProgress")+'"></div></div></div>'});
np("b","",function(a){a=a||{};return""+Ga("You can skip this ad in {$xSeconds}",{xSeconds:Q(a.xe)})});
np("b","redesign2014q4",function(a){a=a||{};return""+Ga("You can skip to video in {$xSeconds}",{xSeconds:Q(a.xe)})});
np("b","forcedlinebreak",function(a){a=a||{};return""+Ga("You can skip to{$newline}video in {$xSeconds}",{newline:Q(a.lp),xSeconds:Q(a.xe)})});
np("b","postroll",function(a){a=a||{};return""+Ga("You can skip ad in {$xSeconds}",{xSeconds:Q(a.xe)})});
np("b","postrollforcedlinebreak",function(a){a=a||{};return""+Ga("You can skip{$newline}ad in {$xSeconds}",{newline:Q(a.lp),xSeconds:Q(a.xe)})});g.B(Lr,$p);var Jfa=new g.hd(300,250);Lr.prototype.Ma=function(){this.D=Math.max(0,this.D-1);Nr(this)};
Lr.prototype.Ha=function(){this.D=Math.min(this.xa-3,this.D+1);Nr(this)};
Lr.prototype.tg=function(){return this.M};g.B(Qr,$p);var Lfa=new g.hd(300,250);Qr.prototype.tg=function(){return this.D};var Rr=g.wd&&Mfa();g.B(is,gq);js.prototype.parse=function(a){a=g.Md(a);var b=as(a),c;"skippable"==b?c="skippable":"nonskippable"==b&&(c="nonskippable");if(null==c)throw En(qua);a=a.getAttribute("offset");a=gs(a);if("skippable"==c&&null==a)throw En(pua);return new is(c,a)};g.B(ks,gq);g.B(ls,gq);g.h=ns.prototype;g.h.nd=function(){if(null!=ft(this))return"application/javascript";if(null!=gt(this))return"application/x-shockwave-flash";var a=this.g,b="";if(null===a)return b;if(a instanceof Tp)a=a.B,null===a||(b=g.F(a.g));else if(a instanceof $p)switch(a.K){case "IFrame":case "Html":case "Static":b=g.F(a.bb)}return b};
g.h.getExtension=function(a,b){if(b&&this.l){var c=this.l.getExtension(a,!0);if(c)return c}return this.R.get(a)};
g.h.isBumper=function(){return-1!=this.getDuration()&&0!=this.getDuration()&&7>=this.getDuration()};
g.h.Vb=function(){return this.ra?this.sa:bt(this)?!0:Xs(this)?"video"==this.Ib:at(this,"linear")};
g.h.isSkippable=function(){return null!=dt(this)};
g.h.qL=function(){return this.ba};
g.h.getDuration=function(){return Ys(this)};
g.h.hh=function(){var a=null,b=this.g;null!=b&&(a=b.hh(),g.D(g.F(a))&&(a=null));return a};
g.h.Db=function(){return this.Vb()?0:this.Z.width};
g.h.getHeight=function(){return this.Vb()?0:this.Z.height};
g.h.Me=function(){return this.Wa};
g.h.toString=function(){return"Ad: "+this.xa};g.B(mt,g.Cf);mt.prototype.l=function(a){switch(a.type){case "companion_impression":this.dispatchEvent(new Zm("companionImpression",this.g));break;case "companion_click":this.dispatchEvent(new Zm("companionClick",this.g))}};g.B(nt,g.Cf);g.h=nt.prototype;g.h.Fb=function(a){null==a||this.D||(this.gi=a,gga(this),this.D=!0)};
g.h.Wc=function(){null!=this.gi&&this.D&&(ot(this),this.C=this.H=this.D=!1,this.g=0,this.o=[],this.F=!1)};
g.h.KT=function(a){this.H=!0;this.g=a.touches.length;this.l&&(window.clearTimeout(this.l),this.l=0,this.J=!0);(this.F=pt(this,a.touches)||1!=a.touches.length)?this.M=this.K=window.Infinity:(this.K=a.touches[0].clientX,this.M=a.touches[0].clientY);hga(this,a.touches)};
g.h.xK=function(a){this.g=a.touches.length;if(!Tn(8)||Math.pow(a.changedTouches[0].clientX-this.K,2)+Math.pow(a.changedTouches[0].clientY-this.M,2)>Math.pow(5,2))this.C=!0};
g.h.JT=function(a){this.B?this.Cr():(!this.H||1!=this.g||this.C||this.J||this.F||!pt(this,a.changedTouches)||(this.l=window.setTimeout((0,g.A)(this.Cr,this),300)),this.g=a.touches.length,0==this.g&&(this.C=this.H=!1,this.o=[]),this.J=!1)};
g.h.Cz=function(){this.Cr()};
g.h.Cr=function(){this.l=0;this.dispatchEvent(new g.af("click"))};
g.h.V=function(){this.Wc();this.A.dispose();this.A=null;nt.ca.V.call(this)};var jga=/#(.)(.)(.)(.)/,iga=/^#(?:[0-9a-f]{4}){1,2}$/i;g.B(g.tt,g.Cf);g.h=g.tt.prototype;g.h.jb=function(){return 1==this.g};
g.h.np=function(){this.Ee("begin")};
g.h.lm=function(){this.Ee("end")};
g.h.xd=function(){this.Ee("finish")};
g.h.Ee=function(a){this.dispatchEvent(a)};var zua=g.Hf(function(){if(g.wd)return g.oc("10.0");var a=g.Cd("DIV"),b=g.yd?"-webkit":g.ph?"-moz":g.wd?"-ms":g.cf?"-o":null,c={transition:"opacity 1s linear"};b&&(c[b+"-transition"]="opacity 1s linear");b={style:c};if(!Uc.test("div"))throw Error("Invalid tag name <div>.");if("DIV"in Uta)throw Error("Tag name <div> is not allowed for SafeHtml.");b=Vc("div",b,void 0);a.innerHTML=g.Rc(b);return""!=qh(a.firstChild,"transition")});g.B(vt,g.tt);g.h=vt.prototype;g.h.play=function(){if(this.jb())return!1;this.np();this.Ee("play");this.startTime=(0,g.G)();this.g=1;if(zua())return g.nh(this.l,this.D),this.A=g.rg(this.DU,void 0,this),!0;this.ov(!1);return!1};
g.h.DU=function(){g.Hh(this.l);ut(this.l,this.C);g.nh(this.l,this.o);this.A=g.rg((0,g.A)(this.ov,this,!1),1E3*this.B)};
g.h.stop=function(){this.jb()&&this.ov(!0)};
g.h.ov=function(a){g.nh(this.l,"transition","");g.sg(this.A);g.nh(this.l,this.o);this.endTime=(0,g.G)();this.g=0;a?this.Ee("stop"):this.xd();this.lm()};
g.h.V=function(){this.stop();vt.ca.V.call(this)};
g.h.pause=function(){};g.B(wt,g.Cf);wt.prototype.V=function(){null!=this.Ni&&(g.sg(this.Ni),this.Ni=null);null!=this.Oe&&(g.Id(this.Oe),this.Oe=null);wt.ca.V.call(this)};
wt.prototype.B=function(){this.Ni=null;xt(this,!1);this.Ni=g.rg((0,g.A)(function(){this.Ni=null;zt(this,!1);null!=this.Oe&&g.O(this.Oe,!1);At(this,"complete")},this),200)};
wt.prototype.show=function(a){At(this,"impression");xt(this,!0);zt(this,!0);null!=this.Oe&&g.O(this.Oe,!0);this.Ni=g.rg(this.B,a,this)};
wt.prototype.C=function(a){P.g()||a.stopPropagation()};g.B(Bt,gq);g.B(Dt,gq);g.h=Et.prototype;
g.h.YC=function(){var a={heading:"",targetingReasons:[],learnMore:"",Hr:"",control:"",mute:"",Hv:this.C};if(null!=this.A){a.heading=this.A.B;var b=this.A.o;if(b&&3==b.length){var c=b[1],d=b[2];b=kp(Q(b[0])+Fr()+Q(c)+kp("</a>")+Q(d));a.Hr=b}b=g.Wa(this.A.C);a.targetingReasons=b;for(c=0;c<b.length;c++)if(d=b[c],"string"===typeof d&&-1<d.indexOf("|")){var e=this.A.J;d=kp(Q(d.substring(0,d.length-2))+" <a href='"+R(Ap("https://support.google.com/ads/answer/7029660#match"))+"' target='_blank'>"+Q(e)+"</a>");
b[c]=d}a.close=this.A.A}else b=""+Ga("This ad may be based on:"),b=kp(b),a.heading=b,a.Hr=Gr({xx:Fr(),ry:kp("</a>")}),P.Y?(b=Jr(),c=""+Ga("Your activity, while you were signed in to Google."),c=kp(c),b=[b,c]):(b=Jr(),c=""+Ga("Your activity on this device."),c=kp(c),b=[b,c]),a.targetingReasons=b,b=""+Ga("Got It"),a.close=b;null!=this.l&&(a.mute=this.l.A);It(this,Ffa,a);Ht(this,"videoAdUiWhyThisAdCloseButton",this.mj);Ht(this,"videoAdUiWhyThisAdControl",this.my);Ht(this,"videoAdUiWhyThisAdMute",this.yU);
a=this.my;b=g.J("videoAdUiWhyThisAdGenericMessage",this.g);null!=b&&(b=b.getElementsByTagName("A")[0],null!=b&&this.W.U(b,"click",a))};
g.h.mj=function(){null!=this.W&&(this.W.dispose(),this.W=null);null!=this.g&&(null!=this.o&&(Ft(this,"why_this_ad_got_it"),this.o.dispose(),this.o=null),this.g.parentElement.removeChild(this.g),this.g=null)};
g.h.my=function(){Ft(this,"why_this_ad_settings_url")};
g.h.yU=function(){if(null!=this.l){Ft(this,"mute_interaction_url");var a=Ct(this.l);if(0==a){var b={heading:"",message:"Are you sure you want to stop seeing this ad?",confirm:"YES",cancel:"CANCEL"};It(this,Hfa,b);Ht(this,"videoAdUiMuteCancel",this.YC);Ht(this,"videoAdUiMuteConfirm",this.II)}else{Ft(this,"mute_url");b={heading:this.l.o,undo:this.l.C,question:this.l.B,options:[],confirm:"SEND",cancel:"CLOSE"};var c=this.l?(c=Ip(this.l.g,"mute_undo_url"))&&0<c.length:!1;c||(b.undo="");for(c=0;c<a;c++)b.options.push(this.l.l[c].label);
It(this,Gfa,b);Ht(this,"videoAdUiMuteUndo",this.OV);Ht(this,"videoAdUiMuteConfirm",this.yV);Ht(this,"videoAdUiMuteCancel",this.qr)}}};
g.h.II=function(){Ft(this,"mute_url");this.qr()};
g.h.OV=function(){Ft(this,"mute_undo_url");this.mj()};
g.h.yV=function(){if(null!=this.l){for(var a=Ct(this.l),b=!1,c=0;c<a;c++){var d=g.J("videoAdUiMuteOption"+c,this.g);if(null!=d&&d.checked){b=!0;xn(this.l.l[c].url);break}}if(!b)return}this.qr()};
g.h.qr=function(){Ft(this,"MUTE_AD");this.mj()};g.B(Qt,g.Cf);var mga={1:"videoAdUiBrandInteractionHorizontalRect"},lga=[1],qga=[1],oga={1:["videoAdUiBrandInteractionUnitTopBelowTitle"],2:["videoAdUiBrandInteractionUnitTopBelowTitle","videoAdUiBrandInteractionUnitLeft"],3:["videoAdUiBrandInteractionBottom","videoAdUiBrandInteractionUnitLeft"]};Qt.prototype.update=function(){this.C||(this.dispatchEvent("feedbackShown"),this.A=Nt(this.l,.5),g.N(this,this.A),this.A.play(),g.O(this.l,!0),this.C=!0,sga(this))};
Qt.prototype.F=function(a){P.g()||a.stopPropagation();a=a.target.gi;null!=a&&(g.oq(a,"selected")?(g.S(this.l,"optionSelected"),null!=this.o&&g.lq(this.o,"selected"),this.o=a):(g.lq(this.l,"optionSelected"),this.o=null),a=null!=this.o?g.jq(this.o,"videoAdUiBrandInteractionLikeButton")?"l":g.jq(this.o,"videoAdUiBrandInteractionDislikeButton")?"d":"n":"n","l"==a?this.dispatchEvent("feedbackLike"):"d"==a&&this.dispatchEvent("feedbackDislike"),this.H&&(Ot(this.l).play(),g.rg(function(){g.O(this.l,!1)},
500,this)),null!=this.g&&(null!=Ee(this.g,Qe,15)?tga(this):uga(this)))};
Qt.prototype.V=function(){null!=this.l&&(g.Id(this.l),this.l=null);this.o=null;Qt.ca.V.call(this)};g.B(St,g.Cf);St.prototype.B=function(){this.g?this.dispatchEvent("videoUnmuteClicked"):this.dispatchEvent("videoMuteClicked")};
St.prototype.V=function(){this.W.dispose();this.W=null;St.ca.V.call(this)};g.B(Tt,g.Cf);Tt.prototype.V=function(){null!=this.o&&(g.Id(this.o),this.o=null);Tt.ca.V.call(this)};
Tt.prototype.update=function(a,b){if(!(0>=b))if(0>a)this.C=1;else if(1==this.C)Nt(this.o,.5).play(),g.O(this.o,!0),this.C=2;else if(this.A){var c=Math.round(b-a);0>c||g.Qd(this.g,Dr({xe:c}))}else this.F&&5<a&&(this.F=!1,g.O(this.g,!1))};
Tt.prototype.H=function(){g.Kh(this.g)||g.O(this.g,!0)};g.B(g.Ut,g.M);g.h=g.Ut.prototype;g.h.start=function(){this.stop();this.o=!1;var a=Vt(this),b=Wt(this);a&&!b&&this.g.mozRequestAnimationFrame?(this.Ea=g.of(this.g,"MozBeforePaint",this.l),this.g.mozRequestAnimationFrame(null),this.o=!0):this.Ea=a&&b?a.call(this.g,this.l):this.g.setTimeout(aba(this.l),20)};
g.h.vl=function(){this.isActive()||this.start()};
g.h.stop=function(){if(this.isActive()){var a=Vt(this),b=Wt(this);a&&!b&&this.g.mozRequestAnimationFrame?g.xf(this.Ea):a&&b?b.call(this.g,this.Ea):this.g.clearTimeout(this.Ea)}this.Ea=null};
g.h.isActive=function(){return null!=this.Ea};
g.h.qJ=function(){this.o&&this.Ea&&g.xf(this.Ea);this.Ea=null;this.B.call(this.A,(0,g.G)())};
g.h.V=function(){this.stop();g.Ut.ca.V.call(this)};g.B(g.Xt,g.M);g.h=g.Xt.prototype;g.h.Ea=0;g.h.V=function(){g.Xt.ca.V.call(this);this.stop();delete this.g;delete this.l};
g.h.start=function(a){this.stop();this.Ea=g.rg(this.o,g.u(a)?a:this.rd)};
g.h.stop=function(){this.isActive()&&g.sg(this.Ea);this.Ea=0};
g.h.isActive=function(){return 0!=this.Ea};
g.h.dz=function(){this.Ea=0;this.g&&this.g.call(this.l)};g.Aua=function(){if(g.P0){var a=/Windows NT ([0-9.]+)/;return(a=a.exec(g.Gb))?a[1]:"0"}return RT?(a=/10[_.][0-9_.]+/,(a=a.exec(g.Gb))?a[0].replace(/_/g,"."):"10"):g.Un?(a=/Android\s+([^\);]+)(\)|;)/,(a=a.exec(g.Gb))?a[1]:""):Nn||On||Ota?(a=/(?:iPhone|CPU)\s+OS\s+(\S+)/,(a=a.exec(g.Gb))?a[1].replace(/_/g,"."):""):""}();g.B(bu,g.Cf);g.h=bu.prototype;g.h.V=function(){g.Ze(this.A);this.A=null;g.Ze(this.F);this.F=null;null!=this.o&&(g.Id(this.o),this.o=null);null!=this.skipButton&&(this.skipButton=null);null!=this.l&&(g.Id(this.l),this.l=null);this.M.dispose();this.M=null;this.dc.dispose();this.dc=null;bu.ca.V.call(this)};
g.h.update=function(a,b){this.fa=b;this.pr(a);2==this.state&&au(this,a)};
g.h.skip=function(){return null==this.config.skipOffset||3!=this.state||this.Y?!1:(this.Y=!0,this.dispatchEvent("PUBLISHER_INVOKED_SKIP"),!0)};
g.h.pr=function(a){if(!(0>=this.fa||null==this.config.skipOffset||0>Mp(this.config.skipOffset))){var b=Mp(this.config.skipOffset);b>=this.fa||3==this.state||(0>a?this.state=1:a<=b?(2!=this.state&&(au(this,0),Nt(this.o,.5).play(),g.O(this.o,!0)),this.state=2):(3!=this.state&&this.lx(),this.state=3,this.dispatchEvent("skipshown")))}};
g.h.lx=function(){g.O(this.l,!0);this.F=cu(this.o);this.F.play();this.A=Nt(this.l,.5);this.A.play();this.skipButton.autofocus&&this.skipButton.focus()};
g.h.uV=function(a){P.g()||a.stopPropagation();3!=this.state||this.Y||(this.Y=!0,this.dispatchEvent("skip"))};g.B(iu,bu);var eu={Ay:0,zy:1},fu={Ay:1,zy:0},gu={hy:15},hu={hy:300};g.h=iu.prototype;g.h.V=function(){iu.ca.V.call(this);ku(this);mu(this)};
g.h.pr=function(a){iu.ca.pr.call(this,a);if(3==this.state&&!this.X&&!this.ga){var b=ou(this.R,this.g);if(a=nu(a,this.config,this.R))if(this.D==this.J.Ay&&a>=b)switch(this.J){case eu:ju(this);break;case fu:lu(this,!0)}else if(this.D==this.J.zy&&a<b)switch(this.J){case fu:ju(this);break;case eu:lu(this,!0)}}};
g.h.lx=function(){g.O(this.l,!0);this.F=cu(this.o);this.F.play();if(this.X)var a=!1;else{a=ou(this.R,this.g);var b=nu(Mp(this.config.skipOffset),this.config,this.R);if(null!=b){var c=!1;switch(this.J){case fu:c=b<a;break;case eu:c=b>=a}a=c}else a=!1}a?(this.D=1,this.A=Mt(this.l,.5,"ease-in",0,this.ba)):this.A=Nt(this.l,.5);this.A.play();this.skipButton.autofocus&&this.skipButton.focus();this.X||(this.dc.U(g.Nd(this.l),"mouseover",this.DP),this.dc.U(g.Nd(this.l),"mouseout",this.CP))};
g.h.DP=function(){mu(this);0!=this.D&&lu(this,!1);this.ga=!0};
g.h.CP=function(){mu(this);this.K=g.rg(function(){this.ga=!1;this.K=null},5E3,this)};pu.prototype.getDuration=function(){return this.l};
pu.prototype.Cc=function(){return this.g};
pu.prototype.update=function(a,b){var c=null!=this.D?Mp(this.D):0;this.l=0<=this.l?this.l:b;c<=a&&c+this.l>=a?wga(this):g.O(this.g,!1)};g.B(ru,g.Cf);g.h=ru.prototype;g.h.show=function(){null!=this.g&&g.O(this.g,!0)};
g.h.skip=function(){var a;if(a=null!=this.l)a=this.l,a=null!=a.config.skipOffset&&3==a.state;return a?this.l.skip():!1};
g.h.V=function(){null!=this.g&&(g.Id(this.g),this.g=null);null!=this.pa.l&&this.pa.l.mj();tu(this);(0,g.C)(this.X,function(a){a.Wc()});
this.X=[];this.o=null;this.W.dispose();this.W=null;ru.ca.V.call(this)};
g.h.update=function(a,b,c,d,e){null!=this.g&&(null!=this.xa&&zu(this,a,c,d,e),null!=this.fa&&g.Fh(this.fa,a/c*100+"%"),null!=this.Pa&&g.Fh(this.Pa,b/c*100+"%"),0<c&&null!=this.pa.skipOffset&&null!=this.l&&(Lp(this.pa.skipOffset,c),this.l.update(a,c)),0<c&&null!=this.K&&this.K.update(a),0<c&&null!=this.D&&this.D.update(a,c),this.pa.K&&0<c&&5>c-a&&g.S(this.ea,"videoAdUiTopBarNoFade"),(0,g.C)(this.na,function(b){b.update(a,c)},this))};
g.h.Ss=function(a){this.ba=!this.pa.H&&P.g();this.Ma=!P.g()&&P.Ma;var b="";this.ba?b="redesign2014q4":this.Ma&&(b="fixedDirectionality");b={df:this.pa.df,learnMoreText:this.pa.learnMoreText,Sd:this.pa.Sd,On:b};this.g=pq(this.pa.X,b);this.pa.bb||this.W.U(this.g,"touchmove",this.KK);this.fa=g.J("videoAdUiProgress",this.g);this.Pa=g.J("videoAdUiBuffer",this.g);this.H=g.J("videoAdUiAttributionContainer",this.g);this.sa=g.J("videoAdUiAttributionIconContainer",this.g);this.xa=g.J("videoAdUiAttribution",
this.g);this.Ta=g.J("videoAdUiVisitAdvertiserLink",this.g);this.F=g.J("videoAdUiVisitAdvertiserLinkText",this.g);this.Y=g.J("videoAdUiVisitAdvertiserIcon",this.g);g.J("videoAdUiBottomBarMessage",this.g);this.J=g.J("videoAdUiAuthorIcon",this.g);this.A=g.J("videoAdUiAuthorName",this.g);this.B=g.J("videoAdUiLearnMore",this.g);this.R=g.J("videoAdUiLearnMoreText",this.g);this.ba?(this.I=g.J("videoAdUiTopButtonShare",this.g),this.Ha=g.J("videoAdUiTopButtonShareTooltip",this.g),this.Ca=g.J("videoAdUiTopButtonInfo",
this.g),this.Wa=g.J("videoAdUiTopButtonWatchLater",this.g)):this.I=g.J("videoAdUiShare",this.g);this.C=g.J("videoAdUiTitle",this.g);this.ea=g.J("videoAdUiTopBar",this.g);this.ia=g.J("videoAdUiBottomBar",this.g);null!=this.J&&this.W.U(this.J,"click",this.tI);if(null!=this.A){var c=new nt;this.X.push(c);this.W.U(c,"click",this.uI);c.Fb(this.A)}null!=this.B&&(c=new nt,c.B=!0,this.X.push(c),this.W.U(c,"click",this.fA),c.Fb(this.B));null!=this.R&&(c=new nt,c.B=!0,this.X.push(c),this.W.U(c,"click",this.fA),
c.Fb(this.R));null!=this.I&&this.W.U(this.I,"click",this.rV);null!=this.C&&(c=new nt,this.X.push(c),this.W.U(c,"click",this.GV),c.Fb(this.C));null==this.ea||!P.g()&&Mn()||this.W.U(this.g,"mouseover",this.oV);null!=this.F&&this.W.U(this.F,"click",this.qq);null!=this.Y&&this.W.U(this.Y,"click",this.qq);null!=this.H&&null!=this.pa.l&&(g.S(this.H,"videoAdUiWtaClickable"),this.W.U(this.H,"click",this.Nu),this.W.U(this,"why_this_ad_got_it",this.Qv));this.pa.breakType=this.rb;null!=this.pa.skipOffset?(this.l=
P.g()?new iu(this.pa,this.g):new bu(this.pa,this.g),this.l.Ih(this),this.l.na=b.On):!this.pa.R||3==this.rb&&(3500>this.Z||nn().g("disable_ad_preview_for_postroll_nonskip")&&!this.pa.M)||(this.D=new Tt(this.pa,this.g),g.N(this,this.D),this.D.Ih(this));this.pa.F&&(this.ga=new wt(this.pa,this.g),g.N(this,this.ga),this.ga.Ih(this));b=this.pa;b.Ca?(b=b.g,b=P.g()&&null!=b&&null!=Ae(b,1)&&null!=Ae(Me(b),3)&&Ae(Ee(Me(b),Pe,3),1)?!0:!1):b=!1;b&&(this.K=new Qt(this.pa,this.g),this.W.U(this.K,"yt-show-toast",
this.yI),this.W.U(this.K,"feedbackShown",this.Yq),this.W.U(this.K,"feedbackLike",this.Yq),this.W.U(this.K,"feedbackDislike",this.Yq));this.pa.ga&&(this.M=new St,this.M.Ih(this),this.ia.insertBefore(this.M.l,this.H));400>=((0,window.parseInt)(rh(a,"width"),10)||a.width)&&g.S(this.g,"videoAdUi-mobile");this.pa.H&&(g.S(this.g,"blazer"),g.S(this.g,"blazer-ui-for-cougar"),window.settings&&window.settings.isTablet||window.ytcfg&&window.ytcfg.data_&&window.ytcfg.data_.IS_TABLET?(g.S(this.g,"tablet"),(window.settings&&
window.settings.customControls||window.ytcfg&&window.ytcfg.data_&&window.ytcfg.data_.USE_CUSTOM_CONTROLS)&&g.S(this.g,"customControls")):g.S(this.g,"phone"));b=g.Yd(a,"html5-video-player");null!=b&&(this.ba&&g.S(b,"videoAdUiRedesign"),g.U(b,"ytp-video-ad-learn-more-ui",this.pa.C));g.O(this.g,!1);a.appendChild(this.g);this.pa.C||this.ba||!this.pa.ea||(this.o=g.K("DIV",{style:"width:100%;height:100%;pointer-events:auto;"}),this.g.appendChild(this.o));zu(this,0,this.Z/1E3,1,1);yu(this)};
g.h.tI=function(){this.dispatchEvent("videoAuthorIconClicked")};
g.h.uI=function(){this.dispatchEvent("videoAuthorClicked")};
g.h.rK=function(a){var b=a.F;a=a.H;g.D(g.F(b))||this.dispatchEvent(new Zm("videoIconClicked",null,{clickThroughUrl:b}));(0,g.C)(a,function(a){xn(a)})};
g.h.fA=function(){this.dispatchEvent("videoLearnMoreClicked")};
g.h.rV=function(){this.dispatchEvent("videoShareClicked")};
g.h.GV=function(){this.dispatchEvent("videoTitleClicked")};
g.h.KK=function(a){a.preventDefault()};
g.h.qq=function(){this.dispatchEvent("click")};
g.h.yI=function(a){this.dispatchEvent(a)};
g.h.Yq=function(a){this.dispatchEvent(a.type)};
g.h.Ab=function(){null!=this.na&&(0,g.C)(this.na,function(a){qu(a)},this)};
g.h.oV=function(){g.S(this.ea,"videoAdUiTopBarTransitions")};
g.h.Nu=function(){var a=g.Yd(this.g,"html5-video-player");null!=a&&(Gt(this.pa.l,a,this),null!=this.l&&du(this.l,!1),null!=this.D&&(a=this.D,null!=a.l&&g.O(a.l,!1)))};
g.h.Qv=function(){null!=this.l&&du(this.l,!0);if(null!=this.D){var a=this.D;null!=a.l&&g.O(a.l,!0)}};g.B(Au,g.M);Au.prototype.I=function(a,b,c){c=g.$b(c||{});if("timeout"==(c.viewability||"")){var d=this.F[a];null!=d&&(c.viewability=d)}if("impression"==a&&!this.H&&null!=this.C&&0<this.C.length){d=P.H&&g.Oa(this.D,"impression");var e=Cu(this,this.C,c);Du(this,e,d);this.H=!0}Aga(this,a)&&0<b.length&&(d=P.H&&g.Oa(this.D,a),b=Cu(this,b,c),Du(this,b,d),this.l.set(a,!0))};g.B(Eu,g.Cf);g.h=Eu.prototype;g.h.pl=function(){if(this.ib()){var a=jt(this.uc);if(null!=a)return a}return""};
g.h.ol=function(){if(this.ib()){var a=kt(this.uc);if(null!=a)return a}return""};
g.h.hf=function(){return g.Pa(this.ads)?null:this.ads[0]};
g.h.ma=function(){if(this.ib()){if(this.uc.isSkippable()&&!ao())throw Fn(KB,null,"skippablevideo");if(null!=ft(this.uc)&&Gu(this,this.uc.l))throw Fn(KB,null,"vpaidWithSkippabilityOverride");return this.uc}throw Fn(Ku,null,"An ad has not been selected.\n"+Error().stack);};
g.h.ib=function(){return null!==this.uc};
g.h.yk=function(){var a=(0,g.Na)(this.ads,this.uc);-1!=a&&++a<this.ads.length?Fu(this,this.ads[a]):Fu(this,null)};
g.h.Al=function(){var a=(0,g.Na)(this.ads,this.uc);return-1==a?!1:a+1<this.ads.length};
g.h.Je=function(){if(!this.Al())return null;var a=(0,g.Na)(this.ads,this.uc)+1;return this.ads[a]};
g.h.gh=function(a){var b=a.l;if(b&&b.bb&&(b=b.D,!g.Pa(b)&&b[0]instanceof Tp))return b[0].gh();b=a.g;return Iu(a)?b.gh():[]};
g.h.Np=function(){if(!this.ib()){if(g.Pa(this.ads))throw Fn(xC);Fu(this,this.ads[0]);if(null==this.uc.g)throw En(xC);}};
g.h.ha=function(a,b){var c=this.ib()?this.ma():null;this.dispatchEvent(new Zm(a,c,b))};
g.h.Og=function(a){this.Td=a};
g.h.Va=function(){null==this.dc&&(this.dc=new g.Km(this));return this.dc};
g.h.GQ=function(){};
g.h.Cu=function(){};
g.h.Hd=function(a){if(null!=this.Td){g.Qm(this.Ce);this.Ce.th(this.Td,"companion_display_error",function(){});
var b=this.Td.Hd(a);null!=b&&(this.Ce.U(b,"companion_impression",this.GQ),this.Ce.U(b,"companion_click",this.Cu),P.g()&&(a=new mt(a,b),this.ha("companionInitialized",a)));if(!this.Td.qx())throw Fn(g1);}};
g.h.destroy=function(){this.dispose()};
g.h.V=function(){this.ib()&&(Kq(this.uc,null),this.uc=null);g.Ze(this.dc);this.Td=this.dc=null;this.En=!1;P.l?Uo(Qo(),this.rq):xo().D=null;this.Oa&&(g.Ze(this.Oa),this.Oa=null);Eu.ca.V.call(this)};
g.h.Ie=function(){return[]};
g.h.xb=function(){return this.ads[0]};
g.h.Rj=function(){(0,g.C)(this.ads,function(a){var b;for(b=a.getExtension("sodar");!b&&(a=a.l);)b=a.getExtension("sodar");if(b){var c=b.A;a=b.o;var d=b.B,e=b.l;b="//tpc.googlesyndication.com/sodar/"+(0,window.encodeURIComponent)(c)+".js";var f="//pagead2.googlesyndication.com/bg/"+(0,window.encodeURIComponent)(d)+".js";if(c&&a&&d&&e){d=window;c=d.document;var k={};a&&(k._scs_=a);k._bgu_=f;k._bgp_=e;k._li_="v_h.0.0.0";(a=d.GoogleTyFxhY)&&"function"==typeof a.push||(a=d.GoogleTyFxhY=[]);a.push(k);a=
g.md(c).createElement("SCRIPT");a.type="text/javascript";a.async=!0;g.Zc(a,g.ae(b));c.getElementsByTagName("head")[0].appendChild(a)}}})};
g.h.init=function(a){Lu(this);this.Ac(a);this.ne=!0;this.qk();P.l||(a=this.rq,xo().D=a)};
g.h.qk=function(){this.ha("loaded")};
g.h.Ak=function(a){this.ib()&&P.g()&&Bn(ys(this.ma()),a)};
g.h.PD=g.z;g.h.Tc=function(a,b,c){if(!this.En){if(null==a)throw Fn(Do,null,"displayContainer");null!=c&&this.Ye(c);this.content=b;this.Ia=a;this.Np();this.Ga=this.Ia.El(Hu(this));this.En=!0}};
g.h.Mg=function(a){a=No(os(a),"rm")?a.X:ys(a);(0,g.C)(a,function(a){g.Ra(this.bc.C,a)},this)};
g.h.ig=function(a,b){(0,g.C)(b,function(b){b=Qp(a,b);Jp(this.bc.o,b)},this)};
g.h.uk=function(a){if(a instanceof Tp){var b=Up(a);(0,g.C)(b.Cb(),function(a){var c=b.get(a);(0,g.C)(c,function(b){Kp(this.bc.o,a,b)},this)},this)}};
g.h.Aa=function(a){Bu(this.bc,new g.af(a))};
g.h.getCurrentTime=function(){return-1};
g.h.getDuration=function(){return-1};
g.h.Lc=function(){return-1};
g.h.jb=function(){return null!=this.Ga?this.Ga.jb():!1};
g.h.Ab=function(a,b,c){this.Ac(c)};
g.h.pause=g.z;g.h.resume=g.z;g.h.skip=g.z;g.h.muteAd=g.z;g.h.whyThisAdClicked=g.z;g.h.whyThisAdClosed=g.z;g.h.Ye=function(a){if(null==a||!Bga(this,a))throw Fn(Do,null,"adsRenderingSettings should be instance of AdsRenderingSettings");var b=this.Qa;if(null==a.bitrate||0>=a.bitrate)a.bitrate=-1;null==a.Dl&&(a.Dl=[]);Cga(a.Dl);if(!g.ua(a.sf)||0>=a.sf)a.sf=1E4;g.cc(b,a)};
g.h.start=function(){Lu(this);if(!this.ne)throw En(Ku,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)&&In(this,Do,null,"volume",String(a));this.volume=a};
g.h.expand=function(){Lu(this);this.Ac("fullscreen")};
g.h.collapse=function(){Lu(this);this.Ac("normal")};
g.h.Ac=function(a){if(!g.Sb(oua,a))throw Fn(Do,null,"view mode",a);this.Zc=a};
g.h.Fc=function(){return this.En};
g.h.hasListeners=function(a){return(0,g.cm)(a,function(a){if(g.gf(this))a=this.hasListener(a,void 0);else{var b=g.rf(this);a=!!b&&b.hasListener(a,void 0)}return a},this)};
g.h.hh=function(){return null};
g.h.Gj=function(){return null};
g.h.UD=function(){return null};
g.h.He=function(){return null};
g.h.Bf=function(){this.Aa("abandon")};
g.h.pJ=function(){return{currentTime:this.getCurrentTime(),duration:this.getDuration(),isPlaying:this.jb(),isVpaid:this.ib()&&null!=ft(this.ma()),isYouTube:P.g(),volume:this.getVolume()}};
g.h.Uj=function(a){do if(Xs(a))return!1;while(a=a.l);return!0};
g.h.Jl=function(){for(var a=0;a<this.ads.length;++a)if(!this.Uj(this.ads[a]))return!1;return Mn()};
g.h.LU=function(a){var b=g.Va(d1,g.Ob(f1));$a(b);(0,g.C)(b,function(b){var c=Ip(a.g,b);g.Pa(c)||this.Yu(b,c)},this);
zga(this.bc,a.H)};
g.h.Yu=function(a,b){(0,g.C)(b,function(a){var b=a.Ub();a=a.Sa();Kp(this.bc.o,b,a)},this)};
g.h.tR=function(a){this.Qa.iy||(a=a.g,null!=a&&(a=a.clickThroughUrl,null!=a&&(wn(a),this.pause())))};
g.h.rk=function(a){var b=a.type;if(g.Oa(e1,b)){if("externalActivityEvent"==b&&(b=a.g.eventName,!f1[b]))return;Ju(this,b)}};var Qu=["classid","data","movie","type","typemustmatch"];g.wa(g.Ru);g.Ru.prototype.g=0;g.B(g.Su,g.Cf);g.h=g.Su.prototype;g.h.tK=g.Ru.getInstance();g.h.getId=function(){return this.Ea||(this.Ea=":"+(this.tK.g++).toString(36))};
g.h.la=function(){return this.g};
g.h.Ih=function(a){if(this.A&&this.A!=a)throw Error("Method not supported");g.Su.ca.Ih.call(this,a)};
g.h.no=function(){this.g=this.H.createElement("DIV")};
g.h.rj=function(){this.Pe=!0;Uu(this,function(a){!a.Pe&&a.la()&&a.rj()})};
g.h.jl=function(){Uu(this,function(a){a.Pe&&a.jl()});
this.C&&g.Qm(this.C);this.Pe=!1};
g.h.V=function(){this.Pe&&this.jl();this.C&&(this.C.dispose(),delete this.C);Uu(this,function(a){a.dispose()});
this.g&&g.Id(this.g);this.A=this.g=this.D=this.J=null;g.Su.ca.V.call(this)};
g.h.Cc=function(){return this.g};
g.h.removeChild=function(a,b){if(a){var c=g.w(a)?a:a.getId();a=this.D&&c?Yb(this.D,c)||null:null;if(c&&a){Xb(this.D,c);g.Ta(this.J,a);b&&(a.jl(),a.g&&g.Id(a.g));c=a;if(null==c)throw Error("Unable to set parent component");c.A=null;g.Su.ca.Ih.call(c,null)}}if(!a)throw Error("Child is not in parent component");return a};g.B(Vu,g.Su);g.h=Vu.prototype;g.h.Ya=null;g.h.xq="window";g.h.hn="sameDomain";g.h.setSize=function(a,b){this.B=g.w(a)?a:Math.round(a)+"px";this.o=g.w(b)?b:Math.round(b)+"px";this.la()&&g.Gh(Wu(this),this.B,this.o);return this};
g.h.rj=function(){Vu.ca.rj.call(this);for(var a=this.la(),b=this.l.Cb(),c=this.l.ub(),d=[],e=0;e<b.length;e++){var f=g.nb(b[e]),k=g.nb(c[e]);d.push(f+"="+k)}b=d.join("&");if(g.wd&&!g.pc(11)){d=this.F;c={allowFullScreen:"true",AllowScriptAccess:this.hn,allowNetworking:"all",bgcolor:"#000000",FlashVars:b,quality:"high",SeamlessTabbing:"false",wmode:this.xq};b={"class":"goog-ui-media-flash-object",id:this.getId(),name:this.getId()};Dga(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(Vc("param",{name:l,value:d[l]}));var l=Wc({classid:"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"},{},b);l=Vc("object",l,c)}else l={AllowScriptAccess:this.hn,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.xq},l=Wc({src:this.F,type:"application/x-shockwave-flash",
pluginspage:"https://www.macromedia.com/go/getflashplayer"},{allownetworking:"none",allowscriptaccess:"never"},l),l=Vc("embed",l);a.innerHTML=g.Rc(l);this.B&&this.o&&this.setSize(this.B,this.o);this.W.U(this.la(),g.Ob(Wta),bf)};
g.h.no=function(){if(null!=this.I&&!(0<=g.zb(CB,this.I)))throw Error("Method not supported");var a=this.H.createElement("DIV");a.className="goog-ui-media-flash";this.g=a};
g.h.V=function(){Vu.ca.V.call(this);this.l=null;this.W.dispose();this.W=null};
g.h.Kb=function(){return this.Pe&&this.la()?g.mH&&Wu(this).readyState&&"complete"==Wu(this).readyState||Wu(this).readyState&&4==Wu(this).readyState||"PercentLoaded"in Wu(this)&&100==Wu(this).PercentLoaded()?!0:!1:!1};g.B(Xu,g.Cf);var Bua=Cc(sc(g.vc("https://imasdk.googleapis.com/flash/sdkloader/flashinhtml.swf")));Cc(sc(g.vc("http://imasdk.googleapis.com/flash/sdkloader/flashinhtml.swf")));g.h=Xu.prototype;g.h.dispose=function(){this.g&&(this.g.dispose(),this.l=null);window[this.o]&&delete window[this.o];g.sg(this.A)};
g.h.load=function(a,b,c,d){window[this.o]=(0,g.A)(this.vK,this);this.g=new Vu(Bua);this.g.setSize(b,c);this.g.hn="always";this.g.xq="transparent";this.g.l.set("vpaid",a);this.g.l.set("vpaidEventHandler",this.o);Tu(this.g,this.C);this.l=Wu(this.g);this.A=g.rg(this.wK,d,this)};
g.h.uK=function(a){if(!this.l)return null;var b=Array.prototype.slice.call(arguments),c=b.shift();if(!this.B&&"handshakeVersion"!=c&&"initAd"!=c)return null;try{if(this.l[c])return this.l[c].apply(this.l,b)}catch(d){}return null};
g.h.vK=function(a,b){"AdLoaded"==a&&(g.sg(this.A),this.B=!0);this.dispatchEvent(new Jn(a,b||null))};
g.h.wK=function(){this.dispatchEvent("loadError")};g.B($u,$p);$u.prototype.tg=function(){var a=this.Ks();a=null!=a&&"clicktag"==a.toLowerCase();a={url:un(g.F(this.l)),width:this.Db(),height:this.getHeight(),Jc:this.qf(),capture:this.Cx||!a};var b=P.g()&&No(this.F,"hideMaster")?Ep:Hea;a=pq(b,a);a.style.width=this.Db()+"px";a.style.height=this.getHeight()+"px";a.id=this.Ea;(0,g.C)(a.getElementsByTagName("object"),this.fj,this);(0,g.C)(a.getElementsByTagName("a"),this.fj,this);return a};g.B(av,$p);av.prototype.tg=function(){var a=g.K("DIV");a.innerHTML=this.l;this.fj(a);return dq(this,a)};g.B(bv,$p);bv.prototype.cd=function(){var a=bv.ca.cd.call(this);this.C&&(a=a.replace('src=""','src="'+un(g.F(this.l))+'"'));return a};
bv.prototype.Ns=function(){var a=bv.ca.Ns.call(this);this.C&&(a=a.replace('src=""','src="'+un(g.F(this.l))+'"'));return a};
bv.prototype.tg=function(a){var b="";this.C||(b=un(g.F(this.l)));b={id:this.Ea,url:b,Jc:this.qf(),width:this.Db()+"px",height:this.getHeight()+"px"};a=P.g()&&No(this.F,"hideMaster")?Ep:a?Jea:Iea;a=pq(a,b);(0,g.C)(a.getElementsByTagName("a"),this.fj,this);return a};
bv.prototype.Gl=function(){return!0};ev.prototype.nd=function(){return null!=this.g?Xp[this.g]||"Other":null};g.B(fv,gq);gv.prototype.parse=function(a){if(null==a)return null;var b,c,d;(0,g.C)(g.Kd(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 fv(b,c,d):null};g.B(iv,gq);iv.prototype.isPharma=function(){return this.D};jv.prototype.parse=function(a){var b;bs(a,"config",function(a){null!=b||(b=Iga(this,a))},this);
return b};kv.prototype.parse=function(a){if(null==a)return null;var b,c,d,e,f,k,l,m,n=!1,q,r=!1;(0,g.C)(g.Kd(a),function(a){switch(a.nodeName){case "AttributionText":c=as(a);break;case "AttributionUrl":d=as(a);break;case "ConversionUrl":f=as(a);break;case "CustomTracking":null!=g.Kd(a)&&(e=hs(a));break;case "is_pharma":a=$r(a,"bool");r=es(g.F(a));break;case "CheckedEvents":a=g.Kd(a);b=(0,g.I)(a,function(a){return $r(a,"id")});
null!=b||(b=[]);break;case "PreviousAdInformation":k=as(a);break;case "VisibleUrl":l=as(a);break;case "UI":m=(new jv).parse(a);break;case "ShowYouTubeAnnotations":var v=as(a);n=es(g.F(v),!1);case "QueryId":q=as(a)}},this);
null!=m||(m=new hv);return new iv(c,d,f,k,l,m,n,q,r,e,b)};lv.prototype.parse=function(a){if(null==a)return null;var b;(0,g.C)(g.Kd(a),function(a){switch(a.nodeName){case "CustomTracking":null!=g.Kd(a)&&(b=hs(a))}});
a=null;null!=b&&0<Ip(b,"skip").length&&(a="Generic");return new ks(a,b)};mv.prototype.parse=function(a){if(null==a)return null;var b,c;(0,g.C)(g.Kd(a),function(a){switch(a.nodeName){case "SkippableAdType":b=as(a);break;case "CustomTracking":null!=g.Kd(a)&&(c=hs(a))}});
return new ks(b,c)};nv.prototype.parse=function(a){if(null==a)return null;var b;(0,g.C)(g.Kd(a),function(a){switch(a.nodeName){case "CustomTracking":null!=g.Kd(a)&&(b=hs(a))}},this);
return new gq(b)};tv("d");uv("d");vv("d");var m1=tv("f");uv("f");vv("f");var Vv=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 n1=tv("b");uv("b");vv("b");var Nv=tv("e");uv("e");vv("e");var Ov=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];pv(b,c)}return new a(b)};var o1;g.B(Fv,yv);var p1;g.B(Gv,yv);var q1,r1;g.B(Hv,yv);var Mv;g.B(Iv,yv);var Sv;g.B(Dv,yv);var s1;g.B(Jv,yv);var t1;g.B(Kv,yv);var u1,v1;g.B(Lv,yv);var w1,x1,y1,z1,A1,B1,Uv;g.B(Us,yv);var C1,D1,E1,F1,cga={WH:0,XH:1,a3:2,p3:3,Xw:4,m3:5,n3:6,g3:7,b3:8},G1={WH:0,j3:1,f3:2,c3:3,d3:4,h3:5,Z2:6,l3:7,VH:8,SH:9,TH:10,UH:11,o3:12,e3:13};Gv.prototype.Ub=function(){return zv(this,"type",0)};
Gv.prototype.g=function(){return new Lv(this.data.website_card)};
Gv.prototype.Ke=function(){return new Hv(this.data.placement)};
Iv.prototype.Ub=function(){return zv(this,"type",0)};
Iv.prototype.getId=function(){return Mr(this,"id")};
Iv.prototype.setTitle=function(a){this.data.title=a};
Dv.prototype.Ub=function(){return zv(this,"type",0)};
Jv.prototype.od=function(){return Mr(this,"headline")};
Jv.prototype.setDescription=function(a){this.data.description=a};
Kv.prototype.setDescription=function(a){this.data.description=a};
Lv.prototype.od=function(){return Mr(this,"headline")};
Lv.prototype.setDescription=function(a){this.data.description=a};
Lv.prototype.vg=function(){return new Us(this.data.icon)};
Lv.prototype.ao=function(){return new Us(this.data.banner_image)};
Us.prototype.getImageUrl=function(){return Mr(this,"image_url")};var Yv;
Yv={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:{TYPE_ACTION:6,TYPE_ACTION_ENDCAP:9,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}},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}},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}},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}}};g.B(Wv,gq);Xv.prototype.parse=function(a){var b=Vr(a);if(g.D(g.F(b)))return null;if(this.g){var c=Zv;if(!o1){var d={};o1=qv(d);if(!p1){var e={};p1=qv(e);e.type=Nv;if(!q1){var f={};q1=qv(f);f.major_version=Vv;f.minor_version=Vv}e.version=wv(q1);e.priority=Vv;e.start_time_ms=tv("j");e.end_time_ms=tv("j");e.action=xv(Rv());e.event=xv(Qv());z1||(f={},z1=qv(f),f.headline=Ov,f.description=Ov,f.attribution_icon_url=Ov,f.skippable_seconds=Vv,f.attribution_position=Nv);e.ad_card=wv(z1);if(!s1){f={};s1=qv(f);f.headline=
Ov;f.image=wv(Pv());f.description=Ov;f.rating=m1;f.review_text=Ov;if(!t1){var k={};t1=qv(k);k.merchant=Ov;k.price=Ov;k.shipping=Ov;k.shipping_tax=Ov;k.condition=Ov;k.unit_price=Ov;k.energy_label=Ov;k.description=Ov;k.rating=m1;k.review_text=Ov;k.action=xv(Rv());k.event=xv(Qv());k.doc_id=Ov;k.catalog_id=Ov}f.offer=xv(t1);f.badge_text=Ov;f.badge_icon_type=Nv}e.product_card=wv(s1);u1||(f={},u1=qv(f),f.app_id=Ov,f.app_name=Ov,f.icon=wv(Pv()),f.price=Ov,f.rating_image=Ov,f.review_count=Vv,f.app_store_logo=
wv(Pv()),f.button_text=Ov,f.screenshots=xv(Pv()),f.rating=m1,f.back_button_text=Ov,f.screenshots_text=Ov,f.cover_photo=wv(Pv()),f.description=Ov);e.app_card=wv(u1);v1||(f={},v1=qv(f),f.headline=Ov,f.description=Ov,f.icon=wv(Pv()),f.banner_image=wv(Pv()));e.website_card=wv(v1);x1||(f={},x1=qv(f),f.invitation_headline=Ov,f.invitation_description=Ov,f.icon=wv(Pv()),f.invitation_cta=Ov,f.form_headline=Ov,f.advertiser_name=Ov,f.email_key=Ov,w1||(k={},w1=qv(k),k.formfill_field_type=Nv,k.google_form_column_id=
Ov,k.is_field_optional=n1),f.formfill_field_infos=xv(w1));e.formfill_card=wv(x1);y1||(f={},y1=qv(f),f.formatted_phone_number=Ov,f.merchant_name=Ov,f.call_cta_text=Ov,f.headline=Ov,f.icon=wv(Pv()));e.call_card=wv(y1);e.prominence=Nv;A1||(f={},A1=qv(f),f.call_to_action_text=Ov);e.social_card=wv(A1);B1||(f={},B1=qv(f),f.vote_line_1=Ov,f.vote_line_2=Ov,f.confirm_line_1=Ov,f.confirm_line_2=Ov);e.vote_card=wv(B1);e.sponsored=n1;e.teaser_text=Ov;r1||(f={},r1=qv(f),f.hide_in_drawer=n1,f.show_in_endcap=n1,
f.show_in_companion=n1,f.show_in_cta=n1,f.override_clickthrough=n1,f.show_in_promotion_shelf=n1);e.placement=wv(r1);C1||(f={},C1=qv(f),f.latitude_e6=Vv,f.longitude_e6=Vv,f.address=Ov,f.image=wv(Pv()),f.headline=Ov);e.location_card=wv(C1);D1||(f={},D1=qv(f),f.icon=wv(Pv()),f.location_image=wv(Pv()),f.display_name=Ov,f.latitude_e7=Vv,f.longitude_e7=Vv,F1||(k={},F1=qv(k),k.display_address=Ov,k.city_province=Ov),f.address=wv(F1),f.display_phone_number=Ov,E1||(k={},E1=qv(k),k.day_of_week=Nv,k.display_day_of_week=
Ov,k.display_hours=Ov),f.open_hours=xv(E1),f.closing_time_today=Ov,f.images=xv(Pv()),f.distance_to_user_meters=Vv,f.average_rating=Vv,f.num_reviews=Vv,f.num_five_star_reviews=Vv,f.num_four_star_reviews=Vv,f.num_three_star_reviews=Vv,f.num_two_star_reviews=Vv,f.num_one_star_reviews=Vv);e.merchant_location=wv(D1)}d.card=xv(p1);d.event=xv(Qv())}a=c(this,a,o1);a=c=new Fv(a);d=new Fp;for(e=0;e<Ev(a,"card");e++)if(f=new Gv(Bv(a,"card",e)),Ts(f.Ke()))for(k=0;k<Ev(f,"event");k++){var l=new Dv(Bv(f,"event",
k)),m=null;switch(l.Ub()){case G1.SH:m="video_card_endcap_action";break;case G1.TH:m="video_card_endcap_collapse";break;case G1.UH:m="video_card_endcap_dismiss";break;case G1.VH:m="video_card_endcap_impression"}m&&Kp(d,m,$v(m,Mr(l,"base_url")))}a=d}else a=Kga(this,a);return new Wv(b,c,a)};g.B(aw,gq);aw.prototype.fh=function(){return this.l};g.B(bw,gq);cw.prototype.parse=function(a){if(!a)return null;var b,c;(0,g.C)(g.Kd(a),function(a){switch(a.nodeName){case "FeEventId":b=as(a);break;case "AdEventId":c=as(a)}},this);
return new bw(b,c)};dw.prototype.B=function(a){var b={};(0,g.C)(this.l,function(a){b[a]=[]});
var c=new RegExp("^"+this.o);(0,g.C)(g.Kd(a),function(a){"config"!=a.nodeName||(0,g.C)(g.Kd(a),function(a){"params"!=a.nodeName||(0,g.C)(g.Kd(a),function(a){var d=this.o?a.nodeName.replace(c,""):a.nodeName,e=a.getAttribute("data");null!=e||(e=as(a));null!=a.getAttribute("learn_more")&&(e+="|");g.Oa(this.l,d)?b[d].push(e):b[d]=e},this)},this)},this);
return b};g.B(fw,dw);fw.prototype.parse=function(a){if(null==a)return null;a=ew(this,a);var b=a.UI;return new Bt(b.gone,b.question,b.undo,b.hover_text,a.SurveyOptions||[],a.CustomTracking)};
fw.prototype.A=function(a){var b=[],c=0;(0,g.C)(g.Kd(a),function(a){if("SurveyOption"==a.nodeName){var d,f;(0,g.C)(g.Kd(a),function(a){switch(a.nodeName){case "DisplayName":d=as(a);break;case "URL":f=as(a)}},this);
null!=d&&null!=f&&(b.push({label:d,url:f}),c++)}},this);
return b};g.B(gw,gq);hw.prototype.parse=function(a){if(null==a)return null;var b=new gw;(0,g.C)(g.Kd(a),function(a){if("DealId"!=a.nodeName)return null;a=as(a);a=g.F(a);g.D(a)||(b.l=a)},this);
return b};g.B(iw,gq);jw.prototype.g={JH:"Siub",IH:"Scs",XF:"Bgub",WF:"Bgp"};jw.prototype.parse=function(a){if(null==a)return null;var b,c,d,e;(0,g.C)(g.Kd(a),function(a){switch(a.nodeName){case this.g.JH:b=as(a);break;case this.g.IH:c=as(a);break;case this.g.XF:d=as(a);break;case this.g.WF:e=as(a)}},this);
return b&&c&&d&&e?new iw(b,c,d,e):null};g.B(kw,gq);lw.prototype.parse=function(a){if(null==a)return null;var b;(0,g.C)(g.Kd(a),function(a){switch(a.nodeName){case "CustomTracking":null!=g.Kd(a)&&(b=hs(a))}},this);
return new kw(b)};g.B(mw,gq);nw.prototype.g={QH:"TEMPLATE_PARAMETERS",RH:"TEMPLATE_URL"};nw.prototype.parse=function(a){if(null==a)return null;var b;(0,g.C)(g.Kd(a),function(a){switch(a.nodeName){case this.g.QH:b=Lga(this,a)}},this);
return new mw(b)};g.B(ow,gq);ow.prototype.getImageUrl=function(){return this.A};pw.prototype.g={VG:"Line1",WG:"Line2",XG:"Line3",UG:"ImageUrl"};pw.prototype.parse=function(a){if(null==a)return null;var b,c,d,e,f=0,k=0;(0,g.C)(g.Kd(a),function(a){switch(a.nodeName){case this.g.VG:b=as(a,!0);break;case this.g.WG:c=as(a,!0);break;case this.g.XG:d=as(a,!0);break;case this.g.UG:e=as(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.B(qw,gq);rw.prototype.parse=function(a){if(null==a)return null;var b;(0,g.C)(g.Kd(a),function(a){switch(a.nodeName){case "ViralExtensionData":a=a.getAttribute("query_id"),g.D(g.F(a))||(b=a)}},this);
return new qw(b)};g.B(tw,dw);var Cua=["menu","got_it"],Dua=[["generic_message_left","generic_message_hypertext","generic_message_right"]];tw.prototype.parse=function(a){if(null==a)return null;a=ew(this,a);var b=a.UI;if(!uw(b,Cua))return null;var c,d=!0,e=!1;(0,g.C)(Dua,function(a){Mga(b,a)&&(uw(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 Dt(b.menu,b.got_it,b.targeting_reason_header,b.targeting_reason,a.CustomTracking,c,b.control,b.learn_more)};vw.prototype.parse=function(a){if(null==a)return null;a=a.getAttribute("sequence");a=null!=a?Cb(a):window.NaN;a=(0,window.isNaN)(a)?-1:a;return new ls(a)};g.B(ww,gq);xw.prototype.parse=function(a){return null!=a?new ww:null};yw.prototype.parse=function(a){if(null==a)return null;a=a.getAttribute("fallback_index");a=null!=a?Cb(a):window.NaN;return new Xq(a)};g.B(zw,Yu);
zw.prototype.g={NF:"Ad",Cq:"AdParameters",RF:"AdSystem",SF:"AdTitle",OF:"Advertiser",UF:"AltText",bG:"ClickThrough",cG:"ClickTracking",dG:"Companion",eG:"CompanionAds",fG:"CompanionClickThrough",gG:"CompanionClickTracking",oG:"Creative",CY:"CreativeExtensions",pG:"Creatives",sG:"CustomClick",wG:"Description",Fq:"Duration",ERROR:"Error",EXTENSION:"Extension",EG:"Extensions",Pm:"HTMLResource",IG:"Icon",JG:"Icons",KG:"IconClicks",LG:"IconClickThrough",MG:"IconClickTracking",NG:"IconViewTracking",Rm:"IFrameResource",
Sm:"Impression",f_:"InLine",LINEAR:"Linear",bH:"MediaFile",cH:"MediaFiles",kH:"NonLinear",lH:"NonLinearAds",mH:"NonLinearClickThrough",nH:"NonLinearClickTracking",uH:"Pricing",Tm:"StaticResource",OH:"Survey",V2:"Tracking",Kq:"TrackingEvents",YH:"UniversalAdId",E3:"VAST",aI:"VASTAdTagURI",bI:"VideoClicks",eI:"Wrapper"};
zw.prototype.l={PF:"adId",QF:"adSlotID",TF:"allowMultipleAds",Nm:"apiFramework",cw:"bitrate",qG:"creativeType",vG:"delivery",Fq:"duration",tZ:"event",HG:"followAdditionalWrappers",CG:"expandedHeight",DG:"expandedWidth",Om:"height",Qm:"id",OG:"idRegistry",PG:"idValue",YG:"maintainAspectRatio",aH:"maxBitrate",fH:"minBitrate",gH:"minSuggestedDuration",oH:"offset",vH:"program",yH:"required",CH:"scalable",Iw:"sequence",GH:"skipoffset",Ww:"type",VERSION:"version",cI:"codec",Vm:"width",fI:"xPosition",hI:"yPosition"};
zw.prototype.o=function(){return new Zu(this.A,Oga(this),null)};g.B(Iw,Eu);g.h=Iw.prototype;g.h.V=function(){this.D=!1;null===this.g?this.M&&this.dispatchEvent(new Zm("destroyInsecureFlashVpaid",this.ma())):this.g.dispose();this.o&&this.ha("contentResumeRequested");this.ha("allAdsCompleted");Iw.ca.V.call(this)};
g.h.Lc=function(){var a=this.ed("getAdRemainingTime");return g.ua(a)?a:-1};
g.h.getVolume=function(){var a=this.ed("getAdVolume");return g.ua(a)?a:-1};
g.h.Tc=function(a,b,c){Iw.ca.Tc.call(this,a,b,c);this.o=this.ma().g instanceof Tp};
g.h.init=function(a){Iw.ca.init.call(this,a);a=this.ma();var b=gt(a);b=g.F(b);if(g.D(b))Mw(this,Error("Flash VPAID ad url is empty."));else{if(Iu(a)){var c=a.g,d=Wp(c);null!=d&&(c.B=d)}this.Va().U(xo(),e1,this.rk);this.M?this.dispatchEvent(new Zm("initInsecureFlashVpaid",a,{url:g.F(b)})):null===this.Ia.Of()?Mw(this,Error("Container must be provided for flash VPAID.")):(this.Ia.Ad(),null===this.g&&(this.g=new Xu(this.Ia.Of())),this.Va().U(this.g,"loadError",this.kR),this.Va().U(this.g,"vpaidEventType",
this.fg),this.g.load(b,this.J,this.C,this.Qa.sf))}};
g.h.start=function(){if(this.D){Iw.ca.start.call(this);var a=this.ma();this.bc.A=a.I;var b=Cq(a);this.bc.g=b;if(b=a.g)this.Mg(a),this.ig(b,d1),this.uk(b),Mu(this,a);this.Ia.Ad();Ou(this);this.Aa("show_ad");this.setVolume(this.A);this.l=new g.qg(250);this.Va().U(this.l,"tick",this.zK);this.o?this.ha("contentPauseRequested"):(this.ha("contentResumeRequested"),Kw(this));this.l.start();this.ed("startAd")}else this.H=!0};
g.h.stop=function(){this.I||(this.ed("stopAd"),this.Ia.hide(),null!=this.l&&(this.l.stop(),this.l=null),Iw.ca.stop.call(this),this.I=!0)};
g.h.Ab=function(a,b,c){Iw.ca.Ab.call(this,a,b,c);if(null!==this.g){var d=this.g;d.g&&d.g.setSize(a,b)}this.J=a;this.C=b;this.ed("resizeAd",a,b,c)};
g.h.pause=function(){null!=this.l&&this.l.stop();this.ed("pauseAd")};
g.h.resume=function(){null!=this.l&&this.l.start();this.ed("resumeAd")};
g.h.setVolume=function(a){this.A=a;this.K.getAdVolume=a;this.ed("setAdVolume",a)};
g.h.expand=function(){this.ed("expandAd")};
g.h.collapse=function(){this.ed("collapseAd")};
g.h.qk=g.z;g.h.Vb=function(){return Jw(this)};
g.h.skip=function(){this.ed("skipAd")};
g.h.getDuration=function(){var a=this.ed("getAdDuration");if(g.ua(a))return a;a=this.Lc();return 0<=a?this.B/1E3+a:-2};
g.h.zK=function(){this.B+=250;var a=this.getDuration(),b=a-this.Lc();Pu(this,b,a)};
g.h.ed=function(a){if(this.I)return null;for(var b=[],c=0;c<arguments.length;c++)b.push(arguments[c]);return this.M?(c=b.shift(),this.dispatchEvent(new Zm("callFlashVpaidMethod",this.ib()?this.ma():null,{methodName:c,args:b})),this.K[c]):null===this.g?null:this.g.uK.apply(this.g,b)};
g.h.kR=function(){Mw(this,Error("Flash VPAID loader failed to load."))};
g.h.getCurrentTime=function(){return this.B/1E3};
g.h.fg=function(a){var b=a.data;switch(a.g){case "flashVpaidMethodResults":b&&(this.K[b.methodName]=b.result);break;case "flashReady":this.ed("handshakeVersion","2.0");b=As(this.ma());this.ed("initAd",this.J,this.C,this.Zc,this.Qa.bitrate,b);break;case "AdLoaded":this.D=!0;b=this.ed("getAdCompanions");a=g.w(b)?b:"";b=this.ma();g.Pa(zs(b))&&(a=Cw(a,b.g.g),g.Pa(a)||ms(b,a));Ju(this,"loaded");this.H&&(this.H=!1,this.start());break;case "AdStarted":this.Aa("impression");this.Aa("creativeview");this.ha("start");
break;case "AdVideoStart":this.Aa("start");break;case "AdClickThru":b&&b.playerHandles&&((b=b.url)||(b=g.F(Es(this.ma()))),b&&wn(b));this.Aa("click");this.ha("click");break;case "AdDurationChange":this.ha("durationChange");break;case "AdRemainingTimeChange":this.ha("durationChange");Kw(this);break;case "AdError":a="AdError";b&&(a=b.message);Mw(this,Error(a));break;case "AdExpandedChange":this.ha("expandedChanged");break;case "AdImpression":b=this.ma();g.Pa(zs(b))||this.Hd(b);this.ha("impression");
break;case "AdLinearChange":b=Jw(this);!this.o&&b?(this.ha("contentPauseRequested"),g.sg(this.F)):this.o&&!b&&(this.ha("contentResumeRequested"),Kw(this));this.o=b;a=this.uc;a.ra=!0;a.sa=b;this.ha("linearChanged");break;case "AdVolumeChange":b=this.getVolume();b!=this.A&&(this.ha("volumeChange"),0==b&&0!=this.A?(this.Aa("mute"),this.ha("mute")):0==this.A&&0!=b&&this.Aa("unmute"),this.A=b);break;case "AdPaused":Ju(this,"pause");break;case "AdUserClose":Ju(this,"userClose");break;case "AdUserMinimize":this.Aa("collapse");
break;case "AdVideoFirstQuartile":Ju(this,"firstquartile");break;case "AdVideoMidpoint":Ju(this,"midpoint");break;case "AdVideoThirdQuartile":Ju(this,"thirdquartile");break;case "AdVideoComplete":Nw(this);break;case "AdUserAcceptInvitation":this.o?this.Aa("acceptinvitationlinear"):this.Aa("acceptinvitation");break;case "AdStopped":Nw(this);this.Aa("stop");this.stop();break;case "AdSkipped":Ju(this,"skip");break;case "AdSkippableStateChange":Ju(this,"skippableStateChanged");break;case "AdPlaying":Ju(this,
"resume");break;case "AdLog":this.ha("log")}};g.B(Ow,Eu);var Eua=Cc(sc(g.vc("https://imasdk.googleapis.com/flash/sdkloader/flashinhtml.swf")));Cc(sc(g.vc("http://imasdk.googleapis.com/flash/sdkloader/flashinhtml.swf")));g.h=Ow.prototype;g.h.V=function(){this.D=!1;this.g&&(this.g.dispose(),this.B=null);g.sg(this.F);this.o&&this.ha("contentResumeRequested");this.ha("allAdsCompleted");Ow.ca.V.call(this)};
g.h.Lc=function(){var a=this.md("getAdRemainingTime");return g.ua(a)?a:-1};
g.h.getVolume=function(){var a=this.md("getAdVolume");return g.ua(a)?a:-1};
g.h.Tc=function(a,b,c){Ow.ca.Tc.call(this,a,b,c);this.o=this.ma().g instanceof Tp};
g.h.init=function(a){Ow.ca.init.call(this,a);window[this.R]=(0,g.A)(this.AK,this);this.Va().U(xo(),e1,this.rk);this.g=new Vu(Eua);this.g.setSize(this.K,this.H);this.g.hn="always";var b=this.ma();a=gt(b);a=g.F(a);if(g.D(a))Rw(this,Lw,Error("Flash VPAID ad url is empty.")),this.stop();else{if(Iu(b)){b=b.g;var c=Wp(b);null!=c&&(b.B=c)}this.g.l.set("vpaid",a);this.g.xq="transparent";this.g.l.set("vpaidEventHandler",this.R);this.Ia.Ad();Tu(this.g,this.Ia.Of());this.B=Wu(this.g);this.F=g.rg(this.CK,this.Qa.sf,
this)}};
g.h.start=function(){if(this.D){Ow.ca.start.call(this);var a=this.ma();this.bc.A=a.I;var b=Cq(a);this.bc.g=b;if(b=a.g)this.Mg(a),this.ig(b,d1),this.uk(b),Mu(this,a);this.Ia.Ad();Ou(this);this.Aa("show_ad");this.setVolume(this.A);this.l=new g.qg(250);this.Va().U(this.l,"tick",this.BK);this.o?this.ha("contentPauseRequested"):(this.ha("contentResumeRequested"),Qw(this));this.l.start();this.md("startAd")}else this.J=!0};
g.h.stop=function(){this.X||(this.X=!0,this.md("stopAd"),this.Ia.hide(),null!=this.l&&(this.l.stop(),this.l=null),Ow.ca.stop.call(this))};
g.h.Ab=function(a,b,c){Ow.ca.Ab.call(this,a,b,c);this.K=a;this.H=b;null!=this.g&&this.g.setSize(a,b);this.md("resizeAd",a,b,c)};
g.h.pause=function(){null!=this.l&&this.l.stop();this.md("pauseAd")};
g.h.resume=function(){null!=this.l&&this.l.start();this.md("resumeAd")};
g.h.setVolume=function(a){this.A=a;this.md("setAdVolume",a)};
g.h.expand=function(){this.md("expandAd")};
g.h.collapse=function(){this.md("collapseAd")};
g.h.qk=function(){};
g.h.Vb=function(){return Pw(this)};
g.h.skip=function(){this.md("skipAd")};
g.h.getDuration=function(){var a=this.md("getAdDuration");if(g.ua(a))return a;a=this.Lc();return 0<=a?this.C/1E3+a:-2};
g.h.BK=function(){this.C+=250;var a=this.getDuration(),b=a-this.Lc();Pu(this,b,a)};
g.h.md=function(a){if(!this.g||!this.B)return null;for(var b=[],c=0;c<arguments.length;c++)b.push(arguments[c]);c=b.shift();var d=!1;this.D&&(d=!0);if("handshakeVersion"==c||"initAd"==c)d=!0;if(d)try{if(null!=this.B[c])return this.B[c].apply(this.B,b)}catch(e){}return null};
g.h.CK=function(){Rw(this,i1,null,(this.Qa.sf/1E3).toString());this.stop()};
g.h.getCurrentTime=function(){return this.C/1E3};
g.h.AK=function(a,b){switch(a){case "flashReady":this.md("handshakeVersion","2.0");var c=As(this.ma());this.B.initAd(this.K,this.H,this.Zc,this.Qa.bitrate,c);break;case "AdLoaded":g.sg(this.F);this.D=!0;c=this.md("getAdCompanions");var d=g.w(c)?c:"";c=this.ma();g.Pa(zs(c))&&(d=Cw(d,c.g.g),g.Pa(d)||ms(c,d));Ju(this,"loaded");this.J&&(this.J=!1,this.start());break;case "AdStarted":this.Aa("impression");this.Aa("creativeview");this.ha("start");break;case "AdVideoStart":this.Aa("start");break;case "AdClickThru":b&&
b.playerHandles&&((c=b.url)||(c=g.F(Es(this.ma()))),null!=c&&wn(c));this.Aa("click");this.ha("click");break;case "AdDurationChange":this.ha("durationChange");break;case "AdRemainingTimeChange":this.ha("durationChange");Qw(this);break;case "AdError":c="AdError";b&&(c=b.message);Rw(this,Lw,Error(c));this.stop();break;case "AdExpandedChange":this.ha("expandedChanged");break;case "AdImpression":c=this.ma();g.Pa(zs(c))||this.Hd(c);this.ha("impression");break;case "AdLinearChange":c=Pw(this);!this.o&&c?
(this.ha("contentPauseRequested"),g.sg(this.I)):this.o&&!c&&(this.ha("contentResumeRequested"),Qw(this));this.o=c;d=this.uc;d.ra=!0;d.sa=c;this.ha("linearChanged");break;case "AdVolumeChange":c=this.getVolume();c!=this.A&&(c!=this.A&&this.ha("volumeChange"),0==c&&0!=this.A?(this.Aa("mute"),this.ha("mute")):0==this.A&&0!=c&&this.Aa("unmute"),this.A=c);break;case "AdPaused":Ju(this,"pause");break;case "AdUserClose":Ju(this,"userClose");break;case "AdUserMinimize":this.Aa("collapse");break;case "AdVideoFirstQuartile":Ju(this,
"firstquartile");break;case "AdVideoMidpoint":Ju(this,"midpoint");break;case "AdVideoThirdQuartile":Ju(this,"thirdquartile");break;case "AdVideoComplete":Sw(this);break;case "AdUserAcceptInvitation":this.o?this.Aa("acceptinvitationlinear"):this.Aa("acceptinvitation");break;case "AdStopped":Sw(this);this.Aa("stop");this.stop();break;case "AdSkipped":Ju(this,"skip");break;case "AdSkippableStateChange":Ju(this,"skippableStateChanged");break;case "AdPlaying":Ju(this,"resume");break;case "AdLog":this.ha("log")}};g.B(Tw,Zm);Xw.prototype.g=null;var H1;g.B($w,Xw);H1=new $w;g.B(g.bx,g.Cf);g.bx.prototype.Ya=null;var Zga=/^https?$/i,Fua=["POST","PUT"];g.h=g.bx.prototype;
g.h.send=function(a,b,c,d){if(this.g)throw Error("[goog.net.XhrIo] Object is active with another request="+this.I+"; newUri="+a);b=b?b.toUpperCase():"GET";this.I=a;this.C="";this.l=0;this.Y=b;this.R=!1;this.o=!0;this.g=this.M?ax(this.M):ax(H1);this.K=this.M?Zw(this.M):Zw(H1);this.g.onreadystatechange=(0,g.A)(this.gz,this);try{Sm(ix(this,"Opening Xhr")),this.X=!0,this.g.open(b,String(a),!0),this.X=!1}catch(f){Sm(ix(this,"Error opening Xhr: "+f.message));fx(this,f);return}a=c||"";var e=this.headers.clone();
d&&Oda(d,function(a,b){e.set(b,a)});
d=g.Ka(e.Cb(),Yga);c=g.x.FormData&&a instanceof g.x.FormData;!g.Oa(Fua,b)||d||c||e.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8");e.forEach(function(a,b){this.g.setRequestHeader(b,a)},this);
this.Z&&(this.g.responseType=this.Z);"withCredentials"in this.g&&this.g.withCredentials!==this.F&&(this.g.withCredentials=this.F);try{kx(this),0<this.B&&(this.J=Xga(this.g),Sm(ix(this,"Will abort after "+this.B+"ms if incomplete, xhr2 "+this.J)),this.J?(this.g.timeout=this.B,this.g.ontimeout=(0,g.A)(this.hz,this)):this.D=g.rg(this.hz,this.B,this)),Sm(ix(this,"Sending request")),this.H=!0,this.g.send(a),this.H=!1}catch(f){Sm(ix(this,"Send error: "+f.message)),fx(this,f)}};
g.h.hz=function(){"undefined"!=typeof gx&&this.g&&(this.C="Timed out after "+this.B+"ms, aborting",this.l=8,ix(this,this.C),this.dispatchEvent("timeout"),this.abort(8))};
g.h.abort=function(a){this.g&&this.o&&(ix(this,"Aborting"),this.o=!1,this.A=!0,this.g.abort(),this.A=!1,this.l=a||7,this.dispatchEvent("complete"),this.dispatchEvent("abort"),ex(this))};
g.h.V=function(){this.g&&(this.o&&(this.o=!1,this.A=!0,this.g.abort(),this.A=!1),ex(this,!0));g.bx.ca.V.call(this)};
g.h.gz=function(){this.ka()||(this.X||this.H||this.A?jx(this):this.SS())};
g.h.SS=function(){jx(this)};
g.h.isActive=function(){return!!this.g};
g.h.getStatus=function(){try{return 2<g.hx(this)?this.g.status:-1}catch(a){return-1}};g.t(sx,Qi);sx.prototype.D=function(a){this.l&&this.F<this.I&&(Qi.prototype.D.call(this,a),qx(this,a))};
sx.prototype.disable=function(){Qi.prototype.disable.call(this);this.g.clearTimeout(this.H);this.A=this.H=0;this.o={};$h(this.g,"load",this.K);$h(this.g,"unload",this.R)};vx.prototype.isLoggingEnabled=function(){return!!this.Ba};
g.wa(vx);yx.prototype.isListed=!0;yx.prototype.Qi=-1;g.B(zx,g.Cf);zx.prototype.Ss=function(a){this.bf=pq(ufa);null!=this.pa.l&&(this.W.U(this.bf,"click",this.Nu),this.W.U(this,"why_this_ad_got_it",this.Qv));a.appendChild(this.bf);g.O(this.bf,!0)};
zx.prototype.Nu=function(){var a=g.Yd(this.bf,"html5-video-player");null!=a&&Gt(this.pa.l,a,this)};
zx.prototype.Qv=function(){};
zx.prototype.V=function(){null!=this.bf&&(g.Id(this.bf),this.bf=null);this.W.dispose();this.W=null;zx.ca.V.call(this)};g.B(Bx,g.Cf);g.h=Bx.prototype;g.h.start=function(){this.As();this.o=0;Cx(this);this.l=!0;this.B.start()};
g.h.play=function(){this.l||(Cx(this),this.l=!0,this.B.start())};
g.h.pause=function(){this.l&&Cx(this)};
g.h.stop=function(){this.l&&Cx(this);this.dispatchEvent("end")};
g.h.As=function(){};
g.h.FS=function(){this.o+=.2;this.zs(this.o,this.J);this.dispatchEvent("timeUpdate");0>=this.J-this.o&&this.stop()};
g.h.zs=g.z;g.h.V=function(){this.l=!1;this.H.dispose();Bx.ca.V.call(this)};g.B(Ex,Bx);g.h=Ex.prototype;g.h.start=function(){this.As();this.A.update(0,this.I);Nt(this.g,this.F.o).play();this.H.U(this.A,"skip",this.mI);Ex.ca.start.call(this)};
g.h.As=function(){var a=g.Hh(this.g);if(1==this.D){var b=400>=(0,window.parseInt)(rh(this.g,"width"),10)||400>=a.width;g.U(this.g,"videoAdUi-mobile",b)}else if(2==this.D){var c=g.Md(this.g),d=g.Hh(c),e=65>=(a.height-d.height)/2;g.U(this.g,"fullslotAdUi-mobile",e);b=165>=(a.width-d.width)/2;g.U(this.g,"videoAdUi-mobile",b&&e);c.style.top=Math.max(5,Math.floor((a.height-d.height-65)/2))+"px"}};
g.h.mI=function(){this.pause();this.dispatchEvent("skip")};
g.h.zs=function(a,b){this.A.update(a,b);if(this.C){var c=Ax({xe:Dx(b-a)});g.Qd(this.C,c)}};
g.h.V=function(){this.A&&this.A.dispose();g.Gd(this.g);Ex.ca.V.call(this)};g.B(Hx,Bx);var Gx=Math.ceil(10*3.14);Hx.prototype.C=function(a){P.g()||a.stopPropagation();this.dispatchEvent("click")};
Hx.prototype.start=function(){Hx.ca.start.call(this);null==this.g?this.stop():this.F&&(this.K&&780<=g.Hh(this.M).width&&this.F.Gz(!0),this.F.Ds())};
Hx.prototype.zs=function(a,b){var c=a/b*Gx+" "+Gx;null!=this.g&&g.nh(this.g,"stroke-dasharray",c)};g.B(Ix,g.M);Ix.prototype.show=function(a,b,c){Jx(this);!EM||!a||Tn(10)&&b?c():(a.appendChild(this.l),this.Ba=g.rg((0,g.A)(this.g,this,c),2E3))};
Ix.prototype.g=function(a){this.Ba=0;g.Id(this.l);a()};
Ix.prototype.V=function(){Jx(this);Ix.ca.V.call(this)};g.B(Lx,g.af);g.B(Mx,g.Cf);Nx.prototype.muted=function(a,b){return!this.mute&&a||0!=this.volume&&0==b};
var lha={click:3,videoLearnMoreClicked:3,videoShareClicked:8,videoTitleClicked:14,videoAuthorClicked:15,videoAuthorIconClicked:15};g.h=Mx.prototype;g.h.V=function(){this.Wc();Mx.ca.V.call(this)};
g.h.Wc=function(){null!=this.W&&this.W.dispose();null!=this.g&&this.g.Wc();null!=this.B&&this.B.dispose();this.B=null;null!=this.H&&this.H.dispose();this.H=null;this.K.clear();this.I=-1;this.C="";this.D=this.M=!1};
g.h.Fb=function(a,b,c,d,e){this.Wc();this.o.A=a.I;this.g=b;this.l=d||null;this.F=e;this.g.Fb();this.A=new Nx(this.g);this.J=c||null;this.W=new g.Km(this);this.C=a.I;a=P.l?Qo():xo();this.W.U(a,"externalActivityEvent",this.iR);this.W.U(a,"measurable_impression",this.PR);this.W.U(a,"viewable_impression",this.hU);this.W.U(this.g,"timeUpdate",this.dL);this.W.U(this.g,"volumeChange",this.eL);this.W.U(this.g,"pause",this.aL);this.W.U(this.g,"play",this.bL);this.W.U(this.g,"end",this.eR);this.W.U(this.g,
"beginFullscreen",this.YK);this.W.U(this.g,"endFullscreen",this.hR);this.W.U(this.g,"skip",this.Oz);this.W.U(this.g,"skipShown",this.OC);this.W.U(this.g,"start",this.cL);this.W.U(this.g,"error",this.XK);this.W.U(this.g,"mediaLoadTimeout",this.ZK);null!=this.l?(this.W.U(this.l,"videoIconClicked",(0,g.A)(function(a){this.dispatchEvent(a)},this)),this.W.U(this.l,"urlNavigationRequested",(0,g.A)(function(a){this.dispatchEvent(a)},this)),this.W.U(this.l,"yt-show-toast",(0,g.A)(function(a){this.dispatchEvent(a)},
this)),this.W.U(this.l,"feedbackShown",(0,g.A)(function(){Ox(this,"feedbackShown",!0,!0)},this)),this.W.U(this.l,"feedbackLike",(0,g.A)(function(){Ox(this,"feedbackLike",!0,!0)},this)),this.W.U(this.l,"feedbackDislike",(0,g.A)(function(){Ox(this,"feedbackDislike",!0,!0)},this)),this.W.U(this.l,"videoShareShown",this.gU),this.W.U(this.l,"skipshown",this.OC),this.W.U(this.l,"skip",this.Oz),this.W.U(this.l,"PUBLISHER_INVOKED_SKIP",this.PS),this.W.U(this.l,"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.Ky)):this.F&&this.W.U(this.F,"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.Ky)};
g.h.PR=function(a){var b=a.g;this.o.F.measurable_impression=null!=b?b.viewabilityString:null;a.g.queryId==this.C&&Ox(this,"measurable_impression",!0,!1)};
g.h.hU=function(a){a=a.g;a.queryId==this.C&&(this.o.F.viewable_impression=null!=a?a.viewabilityString:null,Ox(this,"viewable_impression",!0,!0))};
g.h.iR=function(a){a=a.g;var b=f1[a.eventName];b&&a.queryId==this.C&&(this.o.F[b]=null!=a?a.viewabilityString:null,Ox(this,b,!0,!0))};
g.h.dL=function(){if(this.D){var a=this.g.getDuration();if(-1!=a){this.g.bl(.25*a)&&Ox(this,"firstquartile",!0,!0);this.g.bl(.5*a)&&Ox(this,"midpoint",!0,!0);this.g.bl(.75*a)&&Ox(this,"thirdquartile",!0,!0);var b=this.o,c=this.g.getCurrentTime();if(!qm(b.l,"skip")){0>b.B&&(Kea(b.o,a),b.B=0);a=Ip(b.o,"progress");for(var d=[],e=b.B;e<a.length;e++){var f=a[e];if(Mp(f.g)>c)break;b.B=e+1;d.push(f.Sa())}0<d.length&&Bu(b,new g.af("progress"),d)}}Px(this)}};
g.h.cL=function(){this.D=!0;Ox(this,"impression",!0,!0);Ox(this,"creativeview",!0,!0);null!=this.J||null!=this.l||this.W.U(this.g,"click",this.Os);null!=this.J&&(this.B=new nt,this.W.U(this.B,"click",this.Os,!1),this.B.Fb(this.J));null!=this.l&&(this.H=new nt,this.W.U(this.H,"click",this.Os,!1),this.H.Fb(this.l));Ox(this,"start",!0,!0);(this.g.isMuted()||0==this.g.getVolume())&&Ox(this,"mute",!1,!1)};
g.h.eL=function(){var a=this.g.isMuted(),b=this.g.getVolume(),c=this.A;c.mute&&!a||!a&&0==c.volume&&0<b?Ox(this,"unmute",!1,!1):this.A.muted(a,b)&&Ox(this,"mute",!1,!1);this.A.mute=a;this.A.volume=b};
g.h.aL=function(){this.g.nh()?Qx(this):this.g.si()&&!this.g.Fz()&&(this.A.paused=!0,Ox(this,"pause",!1,!1))};
g.h.bL=function(){this.A.paused&&(this.A.paused=!1,Ox(this,"resume",!1,!1))};
g.h.eR=function(){Qx(this)};
g.h.Os=function(){Ox(this,"click",!1,!1)};
g.h.XK=function(){Ox(this,"error",!1,!1)};
g.h.ZK=function(){Ox(this,"mediaLoadTimeout",!1,!1)};
g.h.OC=function(){Ox(this,"skipshown",!0,!1)};
g.h.Ky=function(a){Ox(this,a.type,!1,!1)};
g.h.gU=function(){Ox(this,"videoShareShown",!0,!1)};
g.h.Oz=function(){Ox(this,"skip",!0,!1)};
g.h.PS=function(){Ox(this,"skip",!0,!1)};
g.h.YK=function(){Ox(this,"fullscreen",!1,!1)};
g.h.hR=function(){Ox(this,"exitfullscreen",!1,!1)};g.h=Rx.prototype;g.h.Dc=function(){return this.g.Dc()};
g.h.add=function(a){this.g.set(Sx(a),a)};
g.h.remove=function(a){return this.g.remove(Sx(a))};
g.h.clear=function(){this.g.clear()};
g.h.isEmpty=function(){return this.g.isEmpty()};
g.h.contains=function(a){return qm(this.g,Sx(a))};
g.h.ub=function(){return this.g.ub()};
g.h.clone=function(){return new Rx(this)};
g.h.Rd=function(){return this.g.Rd(!1)};g.B(Tx,Eu);g.h=Tx.prototype;g.h.V=function(){Yx(this);this.Y.dispose();Wx(this);g.C(this.H.ub(),g.sg);var a=!1;null!=this.Ia&&(a=this.Ia.Nj(),this.Ia.hide(),this.Ia=null);this.D&&(this.D=!1,this.Ga.si()||this.Ga.nh()||this.Ga.pause(),Qn()&&!a&&(this.Ga.Pj(.001),this.Ga.load("","")),Pn()&&this.Ga.Oj()&&!a&&this.Ga.Cs(),this.ha("contentResumeRequested"),this.ha("allAdsCompleted"));null!=this.Ga&&this.Ga.unload();Tx.ca.V.call(this)};
g.h.muteAd=function(){P.g()&&(this.Aa("mute_interaction_url"),this.Aa("mute_url"),this.ha("MUTE_AD"),Ux(this,function(){Xx(this)}))};
g.h.whyThisAdClicked=function(){P.g()&&this.Aa("why_this_ad_url")};
g.h.whyThisAdClosed=function(){P.g()&&this.Aa("why_this_ad_got_it")};
g.h.yk=function(){Wx(this);Tx.ca.yk.call(this);this.ib()&&(this.bc=new Au,this.o=new Mx(this.bc),this.R=!1,this.ha("loaded"))};
g.h.Cu=function(a){Tx.ca.Cu.call(this,a);null!=this.Ga&&this.Ga.fv(1)};
g.h.ty=function(a,b){b.preventDefault();this.C||(this.C=!0,Ju(this,"video_card_endcap_action"));a&&(this.g.pause(),wn(a))};
g.h.uy=function(){Ux(this,function(){Zx(this,"video_card_endcap_dismiss")})};
g.h.ZI=function(){Zx(this,"video_card_endcap_collapse")};
g.h.tt=function(a,b,c,d){var e=sq(b);e&&(a.C=e);var f=a.getExtension("AdSense");null!=f&&null!=f.l&&f.l.l&&this.setVolume(0);if(this.Qa.OE){e=vy(this,a,b);pn(mn(),420706069)&&(P.C=!0);!P.g()&&P.C&&(e.J=!0);f=e;var k=wy(this),l=this.ma(),m=1E3*l.getDuration();Lt(f,Bs(l),Cs(l));this.Oa=new ru(f,k,m,l.Me());k=l.C;null!=k&&by(this,k,f.ra);f=this.Oa;f.M&&(f=f.M,k=0==this.B,f.g!=k&&(f.g=k,Rt(f)));if(this.ea)if(k=a.getExtension("AdSense"),null!=k){f=this.Oa;k=g.F(k.o);if(null!=f.F){g.O(f.F,!0);try{var n=
new g.um(k);var q=sb((n.l+n.o).replace(/^www\./i,""),35);g.D(g.F(q))?vu(f):g.Qd(f.F,q)}catch(r){vu(f)}}null!=f.Y&&g.O(f.Y,!0)}else vu(this.Oa);q=e;n=[];q.o&&n.push("adAttribution");q.A&&n.push("countdown")}else e&&by(this,e,this.Qa.Sq),!gl()&&Pn()&&!Tn(10)&&nn().g("mweb_add_ad_info_button_on_fullscreen_only_devices")&&(q=e=vy(this,a,b),n=wy(this),e=this.ma(),Lt(q,e.getExtension("why_this_ad"),e.getExtension("mute")),this.F=new zx(q,n));if(d=d?this.Ia.uo():this.Ga)hy(this)?(d.Fb(),this.Va().U(d,"error",
this.GC),this.Va().U(d,"loaded",g.z)):this.Xp(a),d.Pp(rha(this,a)),d.load(b,c)};
g.h.ix=function(a){var b=this.ib()?this.ma().C:null;if(b){var c=this.pl();pha(this)&&(c="");$x(this)&&a&&(c=Cha(this,a));a=this.ol();c||a||!$x(this)||(c=" ");(c||a)&&this.Ga.Bs(b,c||null,a||null)}};
g.h.CU=function(a,b,c){null!==a.J&&so(po.getInstance(),34,{evt:"filled"},!0);this.ba||(this.ba=!0,this.ha("contentPauseRequested"));jy(this)&&!this.J||hy(this)||this.tt(a,b,c);this.D=!0;this.setVolume(this.B);this.Oa&&(g.D(g.F(fy(a)))?(b=this.Oa,null!=b.o&&(b.W.Da(b.o,"click",b.qq),g.nh(b.o,"cursor","default"))):(b=this.Oa,null!=b.o&&(b.W.U(b.o,"click",b.qq),null!=b.B&&!g.Kh(b.B)&&g.nh(b.o,"cursor","pointer"))),b=a.g.ra,g.Pa(b)||uu(this.Oa,b),this.Oa.show());hy(this)&&(b=this.Ia instanceof Xm?this.Ia.g:
this.Ia,this.J&&(b.hide(),b.vo(),this.Ga=b.El(Hu(this))),this.Xp(a),this.Ia instanceof Xm&&b.Tf());this.K=!1;this.Aa("show_ad");this.Ia.Tf();if(!P.o)try{this.Hd(a)}catch(d){oy(this,g1,d);return}xx("pi");if(b=null!=this.Oa)b=this.Oa,b=Mn()?!1:null!=b.pa.I?b.pa.F&&b.pa.I==Gs(a):b.pa.F;b?qha(this):this.Y.show(this.Ia.tl(),this.Qa.Fv,(0,g.A)(this.Ga.play,this.Ga))};
g.h.Xp=function(a){this.o.Fb(a,this.Ga,this.Ia.Kr(),this.Oa,this.F);this.Va().U(this.o,"engagedview urlNavigationRequested videoAuthorIconClicked videoAuthorClicked videoClicked videoIconClicked videoLearnMoreClicked videoMuteClicked videoShareClicked videoShareShown videoTitleClicked videoUnmuteClicked start feedbackShown feedbackLike feedbackDislike yt-show-toast".split(" "),this.TC);this.Va().U(this.Ga,"loaded",this.eU);this.Va().U(this.Ga,"cardsStateChange",this.FK);this.Va().U(this.Ga,"timeUpdate",
this.XC);this.Va().U(this.Ga,"volumeChange",this.IK);this.Va().U(this.Ga,"shareClicked",this.OD);this.Mg(a);var b=Cq(a,this.Ga);this.bc.g=b;b=a.g;null!=b&&b instanceof Tp&&(this.ig(b,d1),this.uk(b),b=this.Va(),Mm(b,this.o,"error",this.GK,this),Mm(b,this.o,"mediaLoadTimeout",this.HK,this));Mu(this,a);a.isSkippable()&&(this.o.I=30)};
g.h.qk=function(){jy(this)&&my(this);this.ha("loaded");this.dispatchEvent(new Tw(this.ma()))};
g.h.skip=function(){this.ib()&&this.ma().isSkippable()&&(null!=this.Oa?this.Oa.skip():(this.Aa("skip"),uy(this)))};
g.h.PD=function(){Ju(this,"skipshown")};
g.h.start=function(){Tx.ca.start.call(this);this.M=[];try{var a=this.ma();this.l=iy(this,a);xx("am");Ux(this,(0,g.A)(Tx.prototype.CU,this,a,this.l.Sa(),this.l.g))}catch(b){ky(this,b),this.yk(),this.ib()?(Hn(this,ly,b),this.start()):(this.D?Hn(this,ly,b):(null!=this.Td&&this.Td.Hd(fB()),In(this,ly,b)),this.stop())}};
g.h.getVolume=function(){Lu(this);return this.Ga.isMuted()?0:this.Ga.getVolume()};
g.h.setVolume=function(a){Lu(this);this.D?this.Ga.setVolume(a):this.B=a};
g.h.pause=function(){Lu(this);this.g?this.g.pause():this.Ga.pause()};
g.h.resume=function(){Lu(this);this.g?this.g.play():this.Ga.play()};
g.h.getCurrentTime=function(){Lu(this);var a=this.g?this.g.o:0;return this.Ga.getCurrentTime()+a};
g.h.getDuration=function(){Lu(this);return this.Ga.getDuration()};
g.h.Lc=function(){Lu(this);var a=this.getDuration(),b=this.getCurrentTime();return 0<=a&&0<=b?Math.max(0,a-b):-1};
g.h.He=function(){return this.Ga.He()};
g.h.GK=function(){jy(this)&&!this.J&&this.GC();oy(this,ly,Fn(ly,this.Ga.getError()))};
g.h.GC=function(){this.K=!0};
g.h.HK=function(){wha(this);oy(this,i1,Fn(i1,null,(this.Qa.sf/1E3).toString()))};
g.h.Yu=function(a,b){Tx.ca.Yu.call(this,a,b);qy(this,a)};
g.h.TC=function(a){switch(a.type){case "start":xx("ff");this.ha("start");P.g()&&P.o&&this.ma()&&this.ma().F&&this.ha("youtubeKevlarCompanionShow");this.Rj();this.I=!0;this.Oa&&(P.C&&!P.g()&&(this.Oa.tb=!0),xu(this.Oa));break;case "impression":this.ha("impression");this.J=!0;hy(this)&&vha(this);break;case "viewable_impression":this.ha("viewable_impression");break;case "why_this_ad_url":this.fa=this.Ga.si();ny(this,"why_this_ad_url");this.pause();break;case "pause":this.ha("pause");break;case "why_this_ad_got_it":ny(this,
"why_this_ad_got_it");this.fa||this.resume();break;case "resume":this.ha("resume");break;case "firstquartile":this.ha("firstquartile");break;case "midpoint":this.ha("midpoint");break;case "thirdquartile":this.ha("thirdquartile");break;case "complete":oha(this)||(this.ha("complete"),this.Aa("instreamAdComplete"),Xx(this));break;case "click":this.Oa&&this.Oa.pa.B?this.Ga.si()?this.resume():this.pause():py(this);break;case "engagedview":ry(this);this.ha("engagedview");break;case "urlNavigationRequested":this.dispatchEvent(a);
break;case "yt-show-toast":this.dispatchEvent(a);break;case "videoAuthorIconClicked":zy(this);break;case "videoAuthorClicked":zy(this);break;case "videoClicked":this.ha("videoClicked");break;case "videoIconClicked":this.dispatchEvent(a);break;case "videoLearnMoreClicked":this.g&&!this.C&&(this.C=!0,Ju(this,"video_card_endcap_action"));!P.g()&&ry(this);py(this);this.Ga.pause();break;case "videoShareClicked":yha(this);break;case "videoShareShown":zha(this);break;case "videoTitleClicked":Aha(this);break;
case "videoMuteClicked":this.Z=this.B;this.setVolume(0);break;case "videoUnmuteClicked":this.setVolume(this.Z);break;case "skipshown":this.ha("skippableStateChanged");break;case "skip":this.g?this.uy():uy(this);break;case "MUTE_AD":this.ha("MUTE_AD");Ux(this,function(){Xx(this)});
break;case "feedbackShown":this.Aa("feedbackShown");break;case "feedbackLike":this.Aa("feedbackLike");break;case "feedbackDislike":this.Aa("feedbackDislike")}};
g.h.Bf=function(){Tx.ca.Bf.call(this);this.A&&(g.Ze(this.A),this.A=null)};
g.h.OD=function(){var a=sy(this)||ty(this);null!=a&&yn(a,"sharebuttonclicked")};
g.h.Mg=function(a){Tx.ca.Mg.call(this,a);qy(this,"impression")};
g.h.ig=function(a,b){Tx.ca.ig.call(this,a,b);(0,g.C)(b,function(a){qy(this,a)},this)};
g.h.uk=function(a){Tx.ca.uk.call(this,a);a instanceof Tp&&(a=Up(a),(0,g.C)(a.Cb(),function(a){qy(this,a)},this))};
g.h.Gj=function(){if(!this.ib())return null;try{var a=this.ma();if(null==a)return null;var b=iy(this,a);return null!=b?b.Sa():null}catch(c){return null}};
g.h.hh=function(){if(!this.ib())return null;var a=this.ma();if(!Iu(a))throw Fn(gy);a=a.g.gh();return g.Pa(a)?null:a[0].Sa()};
g.h.eU=function(){this.ha("adCanPlay")};
g.h.FK=function(){var a=this.Oa;null!=a.g&&g.U(a.g,"ytp-iv-drawer-open",this.Ga.Ez())};
g.h.XC=function(){var a=this.getDuration();Lu(this);var b=this.g?this.getDuration():this.Ga.Ny();var c=this.getCurrentTime(),d=0,e=0;this.ib()&&(e=this.ma(),d=e.A.g,e=e.A.Xe);if(null!=this.Oa&&0<=a&&0<=c){if(!this.X&&3==this.ma().Ta){var f=this.Ga.getDuration(),k=Ys(this.ma());f=Math.abs(f-k);2<f&&(f=Fn(tua,null,Number(f).toFixed(2)),f=Bq(f,this.ma(),this.Ga),k=xs(this.ma()),Bn(k,f));this.X=!0}this.Oa.update(c,b,a,d,e)}};
g.h.IK=function(){var a=this.Ga.getVolume();if(a!=this.B&&(this.B=a,this.ha("volumeChange",{volume:a}),0==a&&this.ha("mute"),this.Oa)){var b=this.Oa;b.M&&(b=b.M,a=0==a,b.g!=a&&(b.g=a,Rt(b)))}};
g.h.UU=function(a){var b=this.ib()&&lt(this.ma());return!a||g.D(g.F(a.channelId))||!a.isListed&&!b?ag():new g.Wf(function(b,d){aha(a.channelId,function(a){a=new ap(a);b(a)},function(){d()},this)},this)};
g.h.JI=function(a){var b=nn(),c=this.ma();if((g.Pa(zs(c))||!zs(c)[0].A)&&!b.g("website_actions_holdback")&&P.g()&&it(c)){var d=$fa(c,a);if(d)if(Fs(c,[d]),P.o)this.I&&c.F&&this.ha("youtubeKevlarCompanionShow");else try{this.Hd(c)}catch(n){oy(this,g1,n)}}if(d=this.Oa){d=this.ma();var e=d.K;d=P.g()&&g.Pa(zs(d))&&null!=d.ea&&null!=e&&e.isListed}P.o&&(d=d&&!c.F);if(d){this.Va().U(window,"message",this.zJ);d=this.ma();e=d.ea.channelId;var f=Iq(d),k=this.Qa.contentId,l=this.Qa.ij;l=new g.um((null!=l?l:"//www.youtube.com/")+
"ad_companion");var m=l.g;m.set("adformat",f);m.set("p",e);m.set("render","video_wall_companion");k&&m.set("content",k);e=new $p("1",new g.hd(300,250),"IFrame",null,l.toString());e.H=d;e.C=!0;d=new mr(e,[],null,!0);P.o?(P.g()&&P.o&&"IFrame"===d.g.K&&(e=d.g.be(),c.F={iframeCompanionRenderer:{clickTrackingUrls:Ds(c,"companionClick"),height:e.height,impressionTrackingUrls:Ds(c,"companionImpression"),url:d.g.l,width:e.width}}),this.I&&c.F&&this.ha("youtubeKevlarCompanionShow")):(Ws(c,d),this.Hd(c))}Zs(c)||
b.g("website_actions_holdback")||!it(c)||Yfa(c,a);return a};
g.h.zJ=function(a){var b=a.g;if("companion-setup-complete"==b.data){a=this.ma();var c=(0,window.encodeURIComponent)(g.F(Es(a)))+","+(0,window.encodeURIComponent)((sy(this)||ty(this)).toString());b.source.postMessage(c,"*");b=b.source.frameElement;b.parentNode.style.cssText="";b.width=370;b.height=null!=Es(a)?210:185}else"pause-video"==b.data&&this.pause()};
g.h.qV=function(a){if(null!=this.Oa&&a.isListed){var b=this.Oa,c=a.title;b.pa.K=!g.D(g.F(c));b.pa.title=c;null!=b.C&&g.Qd(b.C,b.pa.title);yu(b);b=this.Oa;null!=b.Ha?g.Qd(b.Ha,""+Ga("Share")):null!=b.I&&g.Qd(b.I,""+Ga("Share"));b=this.Oa;c=a.Qi;null!=c&&(b.pa.Qi=c);yu(b)}this.ib()&&(this.ma().K=a,this.ha("youTubeVideoMetadata"));return a};
g.h.pV=function(a){if(null!=this.Oa&&yy(this)){var b=this.Oa,c=a.authorName;b.pa.xa=!g.D(g.F(c));b.pa.authorName=c;null!=b.A&&(c=""+Ga("by {$userDisplayName}",{userDisplayName:""+b.pa.authorName}),g.Qd(b.A,(new ep(c,void 0)).cd()));yu(b);b=this.Oa;c=a.channelIconThumbnailUrl;b.pa.sa=!g.D(g.F(c));if(null!=b.J){var d=g.Cd("img");d.setAttribute("src",c);g.S(d,"videoAdUiAuthorIconImage");b.J.appendChild(d);null!=b.C&&g.S(b.C,"videoAdUiTitleWithAuthorIcon");null!=b.A&&g.S(b.A,"videoAdUiAuthorNameWithAuthorIcon")}yu(b)}this.ib()&&
(this.ma().ea=a,this.ha("youTubeChannelMetadata"));return a};
g.h.Ab=function(a,b,c){Tx.ca.Ab.call(this,a,b,c);null!=this.Oa&&this.Oa.Ab()};g.B(Ay,g.Cf);Ay.prototype.g=!1;Ay.prototype.connect=function(){for(this.g=!0;!g.Pa(this.l);){var a=this.l.shift();this.sendMessage(a.name,a.type,a.data)}};
Ay.prototype.isConnected=function(){return this.g};
Ay.prototype.send=function(a,b,c){this.g?this.sendMessage(a,b,c):this.l.push({name:a,type:b,data:c})};
g.B(By,g.af);By.prototype.getOrigin=function(){return this.l};
By.prototype.toString=function(){return""};g.B(Cy,Ay);Cy.prototype.sendMessage=function(a,b,c){null!=this.Cf&&null!=this.Cf.postMessage&&this.Cf.postMessage(Dha(this,a,b,c),"*");null!=this.Cf&&null==this.Cf.postMessage&&so(po.getInstance(),11)};
Cy.prototype.V=function(){this.W.dispose();Cy.ca.V.call(this)};
Cy.prototype.receive=function(a){a=a.g;var b=Dy(a.data);if(Ey(this,b)){if(null==this.Cf)this.Cf=a.source,this.isConnected()||this.connect();else if(this.Cf!=a.source)return;Ey(this,b)&&this.dispatchEvent(new By(b.name,b.type,b.data||{},b.sid,a.origin))}};g.B(Fy,g.af);g.B(Gy,Eu);g.h=Gy.prototype;
g.h.init=function(a){Gy.ca.init.call(this,a);this.R=g.rg(this.JK,this.Qa.sf,this);this.Va().U(window,"message",this.iU);this.Va().U(this.H,"tick",this.FU);a=P.l?Qo():xo();this.Va().U(a,e1,this.rk);if(Ky())this.dispatchEvent(new Fy("createFriendlyIframe",this.B));else{a=ft(this.ma());if(/\.html(\?.*)?$/.test(a)){if(a.match("//s0.2mdn.net/instream/html5/survey/survey.html")){var b="en".replace("-","_");a=a.replace(".html","_"+b+".html");null!=this.Qa.contentId&&(a=Ug(a,"v",this.Qa.contentId));P.g()&&
(b=Sg(a,"st"),b=Hha(this,b?b+" yt":"yt"),a=Ug(a,"st",b))}a=g.F(a)}else{b=new g.um(a);var c=new g.um("http://tpc.googlesyndication.com/pagead/js/loader13.html");"https"==b.A&&g.vm(c,"https");this.X=b.l;a=zm(c,a||"",void 0).toString()}this.o=g.K("IFRAME",{src:un(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.Va().U(this.o,"load",this.LI);this.Ia.Of().appendChild(this.o)}};
g.h.Tc=function(a,b,c){Gy.ca.Tc.call(this,a,b,c);this.l=this.ma().g instanceof Tp;this.g=a.El(!1);Ky()||(this.Va().U(this.g,"click end error loaded mediaLoadTimeout pause play timeUpdate volumeChange".split(" "),this.aT),this.Va().U(this.g,BA,this.EQ))};
g.h.stop=function(){this.H.stop();this.Ia.hide();Gy.ca.stop.call(this)};
g.h.Vb=function(){return 1==this.l};
g.h.start=function(){Gy.ca.start.call(this);if(!P.g()){var a={};a.pid=vx.getInstance().g;a.dn=this.X;a["if"]=Ky();so(po.getInstance(),29,a,!0)}a=this.ma();this.bc.A=a.I;var b=Cq(a,this.g);this.bc.g=b;if(b=a.g)this.Mg(a),this.ig(b,d1),this.uk(b),Mu(this,a);this.g.Fb();this.Aa("show_ad");this.Ia.Ad();Ou(this);null!=this.o&&(this.o.style.display="block");this.g.setVolume(this.A);this.Z=!0;this.l&&this.ha("contentPauseRequested");Ny(this)};
g.h.Ab=function(a,b,c){Gy.ca.Ab.call(this,a,b,c);Jy(this,"resizeAd",{width:a,height:b,viewMode:c})};
g.h.pause=function(){this.C||Jy(this,"pauseAd")};
g.h.resume=function(){this.C&&(Jy(this,"resumeAd"),Py(this,"play"))};
g.h.setVolume=function(a){this.A=a;Gy.ca.setVolume.call(this,a);Jy(this,"setAdVolume",{value:a})};
g.h.V=function(){Ky()&&this.dispatchEvent(new Fy("destroyFriendlyIframe",this.B));g.Id(this.o);this.l&&(!this.K||this.g.si()||this.g.nh()||this.g.pause(),this.ha("contentResumeRequested"));this.ha("allAdsCompleted");this.Vc=!1;this.F=[];g.sg(this.R);this.H.dispose();Gy.ca.V.call(this)};
g.h.qk=function(){};
g.h.LI=function(){if(!Ky()){var a=this.g.Sr();g.Pa(a)&&(a=this.Qa.Dl);Jy(this,"wrapperCall",{messageType:"supportedMimeTypes",supportedMimeTypes:a})}Iy(this)};
var Gha={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"};g.h=Gy.prototype;
g.h.iU=function(a){a=a.g;if(Ky()){if(a=Dy(a.data),null!=a){try{var b=JSON.parse(a.data)}catch(c){return}null!=b&&b.session==this.B&&Oy(this,b)}}else if(a.source==this.o.contentWindow){try{b=JSON.parse(a.data)}catch(c){return}b.session==this.B&&Oy(this,b)}};
g.h.JK=function(){Ly(this,i1,null,(this.Qa.sf/1E3).toString());this.stop()};
g.h.aT=function(a){switch(a.type){case "timeUpdate":a=this.g.getDuration();var b=this.g.getCurrentTime();Hy(this,"wrapperCall",{messageType:"timeupdate",duration:a,currentTime:b});break;case "end":Py(this,"ended");break;case "loaded":Py(this,"loadstart");break;case "mediaLoadTimeout":Py(this,"stalled");break;case "play":Py(this,"playing");break;default:Py(this,a.type)}};
g.h.EQ=function(a){a=a.type;"loadedmetadata"==a?(a=this.g.getDuration(),Hy(this,"wrapperCall",{messageType:"loadedmetadata",duration:a})):Py(this,a)};
g.h.getCurrentTime=function(){return-1==this.getDuration()||-1==this.Lc()?-1:this.getDuration()-this.Lc()};
g.h.getDuration=function(){return this.D};
g.h.Lc=function(){return this.I};
g.h.jb=function(){return!this.C};
g.h.FU=function(){Jy(this,"getAdRemainingTime")};g.B(Qy,Eu);g.h=Qy.prototype;g.h.pl=function(){return this.Fc()?this.g.pl():""};
g.h.ol=function(){return this.Fc()?this.g.ol():""};
g.h.hf=function(){return this.Fc()?this.g.hf():null};
g.h.ma=function(){if(this.g)return this.g.hf();throw Fn(Ku,null,"Proxied ads manager not available.\n"+Error().stack);};
g.h.ib=function(){return null!=this.g&&null!=this.g.hf()};
g.h.Al=function(){return!1};
g.h.Je=function(){return null};
g.h.Np=function(){this.ib()&&(this.ads=[this.ma()],this.uc=this.ma())};
g.h.destroy=function(){this.g&&(this.g.destroy(),this.g=null);Qy.ca.destroy.call(this)};
g.h.xb=function(){return this.g?this.g.xb():null};
g.h.Rj=function(){this.D=!0;this.g&&this.g.Rj()};
g.h.init=function(a){this.Ac(a);this.Fc()&&this.g.init(a)};
g.h.Tc=function(a,b,c){a&&a instanceof Xm&&(a=a.g);Qy.ca.Tc.call(this,a,b,c);Sy(this,a,b,c)};
g.h.V=function(){this.ha("allAdsCompleted");Ty(this);Qy.ca.V.call(this)};
g.h.getCurrentTime=function(){return this.Fc()?this.g.getCurrentTime():-1};
g.h.getDuration=function(){return this.Fc()?this.g.getDuration():-1};
g.h.Lc=function(){return this.Fc()?this.g.Lc():-1};
g.h.Ab=function(a,b,c){this.ge=a;this.fe=b;this.Ac(c);this.Fc()&&this.g.Ab(a,b,c)};
g.h.pause=function(){this.Fc()&&this.g.pause()};
g.h.resume=function(){this.Fc()&&this.g.resume()};
g.h.skip=function(){this.Fc()&&this.g.skip()};
g.h.muteAd=function(){this.Fc()&&this.g.muteAd()};
g.h.whyThisAdClicked=function(){this.Fc()&&this.g.whyThisAdClicked()};
g.h.whyThisAdClosed=function(){this.Fc()&&this.g.whyThisAdClosed()};
g.h.start=function(){if(this.Fc()){var a=this.g,b=this.Ia;a&&b&&(null!=a&&a instanceof Tx?b.Tf():null!=a&&a instanceof Gy?(b.Ad(),b.Tf()):null!=a&&(a instanceof Ow||a instanceof Iw)&&b.Ad());null!=this.volume&&!(0,window.isNaN)(this.volume)&&this.g.setVolume(this.volume);this.g.start()}};
g.h.stop=function(){this.xb()&&this.xb().Vb()&&this.ha("contentResumeRequested");this.destroy()};
g.h.getVolume=function(){return this.Fc()?this.g.getVolume():0};
g.h.setVolume=function(a){a=(0,window.isNaN)(a)||0>a?0:a;Qy.ca.setVolume.call(this,a);this.Fc()&&this.g.setVolume(a)};
g.h.Ac=function(a){Qy.ca.Ac.call(this,a);this.g&&this.g.Ac(a)};
g.h.He=function(){return this.g?this.g.He():null};
g.h.Bf=function(){this.g&&this.g.Bf()};
g.h.Uj=function(a){return this.g?this.g.Uj(a):!1};
g.h.Jl=function(){return this.g?this.g.Jl():!1};
g.h.Gj=function(){return this.g?this.g.Gj():null};
g.h.bC=function(a){this.dispatchEvent(a)};
g.h.lC=function(a){this.dispatchEvent(a)};
g.h.Eu=function(a){this.dispatchEvent(a)};
g.h.Og=function(a){Qy.ca.Og.call(this,a);this.g&&this.g.Og(a)};
g.h.Mi=function(){this.ha("userClose")};
g.h.Li=function(){this.ha("autoClose")};
g.h.fg=function(a){this.g&&this.g instanceof Iw&&this.g.fg(a)};
g.h.Fc=function(){return null!=this.g&&this.g.Fc()};g.B(Vy,Qy);g.h=Vy.prototype;g.h.xb=function(){return this.o};
g.h.dispatchEvent=function(a){if(a instanceof Zm){if("loaded"==a.type&&this.B)return a.stopPropagation(),!1;"loaded"==a.type&&(this.B=!0)}return Vy.ca.dispatchEvent.call(this,a)};
g.h.Al=function(){return null!=Qs(this.o)&&Qs(this.o).Rf()};
g.h.bC=function(a){if(this.A)this.dispatchEvent(a);else{var b=a.getError()||Fn(ly);a=a.target.xb();Ps(a);Xy(this,Qs(a),Error(b.Kd()))}};
g.h.Eu=function(a){this.A&&(Vy.ca.Eu.call(this,a),this.destroy())};
g.h.lC=function(a){this.C||(this.C=!0,this.dispatchEvent(a))};
g.h.RP=function(){this.l&&this.l.dispose();this.A=!0};g.B(Yy,Eu);g.h=Yy.prototype;g.h.pl=function(){return this.g?this.g.pl():""};
g.h.ol=function(){return this.g?this.g.ol():""};
g.h.hf=function(){return this.g?this.g.hf():null};
g.h.ma=function(){if(this.g)return this.g.hf();throw Fn(Ku,null,"Current ads manager not available.\n"+Error().stack);};
g.h.ib=function(){return null!=this.g&&null!=this.g.hf()};
g.h.Al=function(){return this.o+1<this.l.length};
g.h.Je=function(){return this.Al()?this.l[this.o+1].hf():null};
g.h.Np=function(){this.ib()&&(this.ads=[this.ma()],this.uc=this.ma())};
g.h.Va=function(){};
g.h.destroy=function(){this.g&&this.g.destroy();Yy.ca.destroy.call(this)};
g.h.xb=function(){return this.g?this.g.xb():null};
g.h.Rj=function(){this.g&&this.g.Rj()};
g.h.init=function(a){this.Ac(a);this.g&&this.g.init(a)};
g.h.Tc=function(a,b,c){a&&a instanceof Xm&&(a=a.g);Yy.ca.Tc.call(this,a,b,c);Zy(this,a,b,c)};
g.h.V=function(){(0,g.C)(this.l,function(a){a!==this.g&&a.destroy()},this);
bz(this);this.C&&(this.C.dispose(),this.C=null);this.A&&(this.A.destroy(),this.A=null);this.ha("allAdsCompleted");Yy.ca.V.call(this)};
g.h.getCurrentTime=function(){return this.g?this.g.getCurrentTime():-1};
g.h.getDuration=function(){return this.g?this.g.getDuration():-1};
g.h.Lc=function(){return this.g?this.g.Lc():-1};
g.h.Ab=function(a,b,c){this.ge=a;this.fe=b;this.Ac(c);this.g&&this.g.Ab(a,b,c)};
g.h.pause=function(){this.g&&this.g.pause()};
g.h.resume=function(){this.g&&this.g.resume()};
g.h.skip=function(){this.g&&this.g.skip()};
g.h.muteAd=function(){this.g&&this.g.muteAd()};
g.h.whyThisAdClicked=function(){this.g&&this.g.whyThisAdClicked()};
g.h.whyThisAdClosed=function(){this.g&&this.g.whyThisAdClosed()};
g.h.start=function(){if(this.g){var a=this.g,b=this.Ia;a&&b&&(null!=a&&a instanceof Tx?b.Tf():null!=a&&a instanceof Gy?(b.Ad(),b.Tf()):null!=a&&(a instanceof Ow||a instanceof Iw)&&b.Ad());null!=this.volume&&!(0,window.isNaN)(this.volume)&&this.g.setVolume(this.volume);this.g.start()}};
g.h.Ye=function(a){Yy.ca.Ye.call(this,a);null!=this.g&&this.g.Ye(a);null!=this.A&&this.A.Ye(a);(0,g.C)(this.l,function(b){b.Ye(a)})};
g.h.stop=function(){this.destroy();this.ha("contentResumeRequested")};
g.h.getVolume=function(){return this.g?this.g.getVolume():0};
g.h.setVolume=function(a){a=(0,window.isNaN)(a)||0>a?0:a;Yy.ca.setVolume.call(this,a);this.g&&this.g.setVolume(a)};
g.h.Ac=function(a){Yy.ca.Ac.call(this,a);this.g&&this.g.Ac(a)};
g.h.He=function(){return this.g?this.g.He():null};
g.h.Bf=function(){this.g&&this.g.Bf()};
g.h.Uj=function(a){return this.g?this.g.Uj(a):!1};
g.h.Jl=function(){return this.g?this.g.Jl():!1};
g.h.Gj=function(){return this.g?this.g.Gj():null};
g.h.QP=function(a){var b=a.getError()||Fn(ly);az(this,a.target,b)};
g.h.Dh=function(){this.D||(this.ha("contentPauseRequested"),this.D=!0)};
g.h.eg=function(a){$y(this,a.target)};
g.h.DK=function(){};
g.h.Og=function(a){(0,g.C)(this.l,function(b){b.Og(a)},this)};
g.h.Mi=function(){this.ha("userClose")};
g.h.Li=function(){this.ha("autoClose")};
g.h.fg=function(a){this.g&&this.g instanceof Iw&&this.g.fg(a)};g.B(cz,g.M);g.h=cz.prototype;g.h.Fl=!1;g.h.xs=1E3;g.h.nA=30;g.h.oA=45E3;g.h.rD=15E3;g.h.RE=!1;g.h.sr=function(){var a=dz(this);this.g.appendChild(this.H);ez(this.H);this.play();return a};
g.h.la=function(){null==this.J&&(this.J=this.sr());return this.J};
g.h.play=function(){null==this.l&&(this.l=g.rg(function(){this.Fl||(this.hide(),this.RE=!0);this.l=null},this.RE?this.rD:this.oA,this))};
g.h.stop=function(){null!=this.l&&(g.sg(this.l),this.l=null)};
g.h.show=function(){g.Jh(this.la(),1);null!=this.o&&(g.sg(this.o),this.o=null)};
g.h.hide=function(){g.Jh(this.la(),this.nA/100);null==this.o&&(this.o=g.rg(function(){this.R();this.o=null},400,this))};
g.h.pK=function(){this.show();this.Fl=!0;this.B=g.rg(function(){this.Fl&&this.stop();this.B=null},this.xs,this)};
g.h.PV=function(){null!=this.B&&(g.sg(this.B),this.B=null);this.Fl&&this.play();this.Fl=!1};
g.h.V=function(){cz.ca.V.call(this);this.stop();g.Ze(this.Qf)};g.B(fz,Eu);g.h=fz.prototype;g.h.start=function(){fz.ca.start.call(this);this.Ia.Ad();this.o=this.Ia.Of();if(null!=this.o){this.Aa("show_ad");g.Gd(this.o);var a=this.Ax(),b=this.ib()?this.ma().g.Cc():a,c;P.l?c=Qo():c=xo();c.Ck(b);this.o.appendChild(a);this.zn();(0,g.C)(this.F,function(a){a()});
Qa(this.F);this.B=!0}};
g.h.init=function(a){fz.ca.init.call(this,a);var b;P.l?b=Qo():b=xo();this.Va().U(b,e1,this.rk)};
g.h.expand=function(){null!=this.g&&this.g.show();this.Aa("expand")};
g.h.collapse=function(){null!=this.g&&this.g.hide();this.Aa("collapse")};
g.h.Ab=function(a,b,c){fz.ca.Ab.call(this,a,b,c);this.zn();this.B&&this.Aa("overlay_resize")};
g.h.V=function(){g.Ze(this.g);this.Ia=this.g=null;this.B=!1;null!=this.D&&this.D.mj();P.l?Qo().Ck(null):xo().Ck(null);null!=this.o&&(g.Gd(this.o),this.o=null);fz.ca.V.call(this)};
g.h.Ax=function(){var a=this.ma().g;if(null==a)throw a=Fn(xC),iz(this,a),a;var b=this.ma();cq(a,this.Va());aq(a,this.EK);a.C||bq(a,g.Ea(this.ms,b,a));if(P.o&&b.F)this.ha("youtubeKevlarCompanionShow");else try{this.Hd(b)}catch(c){throw iz(this,c),c;}this.Mg(b);hz(this,b);this.ig(a,["start"]);gz(this,a);return this.mn([a.Cc()])};
g.h.Dz=function(a,b){return new cz(a[0],b)};
g.h.mn=function(a){null!=this.g&&this.g.stop();this.g=this.Dz(a,(0,g.A)(this.Pn,this));a=this.g.la();g.U(a,"autoalign",this.Qa.rx);P.g()&&g.U(a,"viewmode-fullscreen","fullscreen"==this.Zc);a.appendChild(this.K);this.Va().U(a,"click",bf);(this.ib()&&Xs(this.ma())||this.Qa.NE)&&this.Uq(this.g.g);return a};
g.h.Uq=function(a){var b=pq(Lha,{lI:""+Ga("Ad info"),close:""+Ga("Close")}),c=g.J("ad-info-padding",b),d=this.Va();c&&this.ib()&&(this.D=new Et(Bs(this.uc),Cs(this.uc)),d.U(c,"click",this.vJ),d.U(this.J,["why_this_ad_url","why_this_ad_got_it","why_this_ad_settings_url"],this.qU));c=g.jq(b,"close-padding")?b:g.J("close-padding",b);d.U(c,"click",this.oo);this.ib()&&728<=this.uc.Db()&&g.S(a,"wide-overlay-ad");a.appendChild(b)};
g.h.zn=function(a,b){if(null!=this.g){var c=a?a:0,d=b?b:0,e=g.Hh(this.Ia.Of());var f=P.g()?g.Hh(g.Md(this.g.g)):g.Hh(this.g.g);if(f.width+c>e.width||f.height+d>e.height)throw c=Fn(rua,null),iz(this,c),d={},this.ads[0].o&&(d.pid=vx.getInstance().g),d.cz=f.width+"x"+f.height,d.sz=e.width+"x"+e.height,d.ct=this.ma().g.nd(),d.vm=this.Zc,so(po.getInstance(),38,d,!0),this.stop(),c;}};
g.h.EK=function(a){Ju(this,"click");bf(a)};
g.h.oo=function(){this.Aa("close");this.Pn(!0)};
g.h.vJ=function(){var a=g.J("html5-video-player");a&&this.D&&Gt(this.D,a,this.J)};
g.h.ms=function(a,b){bq(b,g.z);this.B?this.zm(a,b):this.F.push((0,g.A)(this.zm,this,a,b))};
g.h.zm=function(a){a=Cq(a,this.Ga);this.bc.g=a;Ju(this,"impression");this.Aa("creativeview");Ju(this,"start")};
g.h.Pn=function(a){null!=this.g&&(this.g.stop(),a?this.ha("userClose"):this.ha("autoClose"))};
g.h.rk=function(a){this.ib()&&this.ma().I==a.g.queryId&&fz.ca.rk.call(this,a)};
g.h.qU=function(a){switch(a.type){case "why_this_ad_url":this.ha("why_this_ad_url");this.Aa("why_this_ad_url");break;case "why_this_ad_got_it":this.ha("why_this_ad_got_it");this.Aa("why_this_ad_got_it");break;case "why_this_ad_settings_url":this.Aa("why_this_ad_settings_url")}};g.B(jz,g.Cf);g.h=jz.prototype;g.h.init=function(a,b,c){kz(this,a,b,c);null==this.W&&(this.W=new g.Km(this),Mm(this.W,this.fb,"adsLoaderSdkAdError",this.NP,this));rz(this)};
g.h.start=function(){this.M=!0;nz(this);0<this.o.length?yz(this):("always"==P.A&&(null!=this.Y&&this.Y.Hd(fB()),P.g()&&5!=this.Me()&&this.dispatchEvent(new Zm("companionBackfill",null))),Gn(En,this,Pq,void 0,void 0),0==this.Bc&&this.dispatchEvent("contentResumeRequested"),zz(this))};
g.h.destroy=function(){null!=this.W&&(this.W.dispose(),this.W=null);tz(this);Bz(this);P.A=this.X;this.M=!1};
g.h.xb=function(){return this.l<this.o.length?this.o[this.l].g[0]:null};
g.h.jb=function(){return this.M};
g.h.pause=function(){null!=this.g&&this.g.pause()};
g.h.resume=function(){null!=this.g&&this.g.resume()};
g.h.skip=function(){null!=this.g&&this.g.skip()};
g.h.Bf=function(){null!=this.g&&this.g.Bf()};
g.h.getCurrentTime=function(){return null!=this.g?this.g.getCurrentTime():-1};
g.h.getDuration=function(){return null!=this.g?this.g.getDuration():-1};
g.h.Lc=function(){return null!=this.g?this.g.Lc():-1};
g.h.setVolume=function(a){null!=a&&(this.R=a,null!=this.g&&this.g.setVolume(this.R))};
g.h.Ye=function(a){this.K=a;null!=this.g&&this.g.Ye(a);null!=this.B&&this.B.Ye(a)};
g.h.YB=function(a){P.A=this.X;var b=a.A;g.Pa(b)?this.H++:(a=a.o,(0,g.C)(b,g.Ea(function(a,b){null!=a.o&&(b.Wa=a.o);a.isBumper&&(b.Gb=!1)},a)),this.J=Qha(this,b),g.Ra(this.o,new Wm(b,a.isBumper,a.g)),this.H++,this.W.Da(this.fb,"adsLoaderSdkAdLoaded",this.YB,!1,this));
rz(this)};
g.h.NP=function(a){a=a.g;P.A=this.X;a.Kd();Gn(En,this,Pq,void 0,void 0);this.H++;if(!lz(this)||2<=this.o.length-this.l)a=En(Pq),this.dispatchEvent(new Ym(a));rz(this)};
g.h.mS=function(){tz(this);Bz(this);zz(this)};
g.h.OP=function(a){a=a.getError().Pb();try{var b={};b.ec=a;so(po.getInstance(),44,b)}catch(c){}this.l++;yz(this)};
g.h.Mi=function(){this.dispatchEvent("userClose")};
g.h.Li=function(){this.dispatchEvent("autoClose")};
g.h.eg=function(){this.l++;yz(this)};
g.h.Dh=function(){this.ba||(this.dispatchEvent("contentPauseRequested"),this.ba=!0)};
g.h.Me=function(){return g.Pa(this.D)?null:this.D[0].o};
g.h.fg=function(a){this.g instanceof Iw?this.g.fg(a):wz(this.g)&&this.g.fg(a)};
g.h.aC=function(a){switch(a.type){case "impression":try{so(po.getInstance(),44,{imp:!0})}catch(c){}break;case "start":var b;if(b=this.hg()&&oz(this,this.l+1)&&1<xz(this))b=a.Ob(),b=null===b||null===this.g||g.Pa(this.g.ads)?!1:this.g.ads[this.g.ads.length-1]===b;b&&qz(this,this.l+1)}"vpaidEvent"!=a.type&&Sha(this,a.type,a.Ob());this.dispatchEvent(a)};
g.h.hg=function(){return null===this.A?!1:co(this.A)&&this.K.Cl};Cz.prototype.Ie=function(){return this.g};g.B(Dz,Tha);g.B(Gz,Yu);Gz.prototype.o=function(){return new Zu(this.g,null,Vha(this))};g.B(Kz,g.af);Kz.prototype.setDescription=function(){};g.B(Lz,g.Cf);g.B(Nz,g.Cf);g.h=Nz.prototype;g.h.Fb=function(){this.o||(null==this.W&&(this.W=new g.Km(this)),this.W.U(this.l,"currentTimeUpdate",this.zz,!1),this.W.U(this.l,"contentWrapperError",this.yS,!1));this.l.start();this.o=!0};
g.h.getCurrentTime=function(){return this.l.currentTime};
g.h.Wc=function(){null!=this.W&&(this.W.dispose(),this.W=null);this.l.stop();this.o=!1};
g.h.zz=function(){if(this.o){var a=this.l.currentTime;if((0,window.isNaN)(a)||0>a)Uz(this,"The currentTime is not a valid time value:"+a);else{var b=Yha(this,a);this.B?(0,g.C)(b,function(a){Rz(this,!0,a)},this):(0,g.C)(Zha(b),function(a){Rz(this,!0,a)},this);
Rz(this,!1,$ha(this,a));aia(this,a)}}};
g.h.yS=function(){Uz(this,"There was an error while tracking the content:The content current time is invalid.")};g.B(Wz,Lz);Wz.prototype.start=function(){this.Ba.start()};
Wz.prototype.stop=function(){this.Ba.stop()};
Wz.prototype.V=function(){Wz.ca.V.call(this);this.l.dispose();this.Ba.dispose()};
Wz.prototype.o=function(){if("currentTime"in this.g&&!(0,window.isNaN)(this.g.currentTime)){var a=this.currentTime;this.currentTime=this.g.currentTime;a!=this.currentTime&&this.dispatchEvent(new g.af("currentTimeUpdate"))}else this.dispatchEvent(new g.af("contentWrapperError")),this.stop()};g.h=Yz.prototype;g.h.add=function(a){var b=this.g[this.l];this.g[this.l]=a;this.l=(this.l+1)%4;return b};
g.h.get=function(a){a=Zz(this,a);return this.g[a]};
g.h.set=function(a,b){a=Zz(this,a);this.g[a]=b};
g.h.Dc=function(){return this.g.length};
g.h.isEmpty=function(){return 0==this.g.length};
g.h.clear=function(){this.l=this.g.length=0};
g.h.ub=function(){var a=this.Dc(),b=this.Dc(),c=[];for(a=this.Dc()-a;a<b;a++)c.push(this.get(a));return c};
g.h.Cb=function(){for(var a=[],b=this.Dc(),c=0;c<b;c++)a[c]=c;return a};g.B($z,uo);g.h=$z.prototype;g.h.FD=function(a,b,c,d){if(d&&(d=g.Ka(a,function(a){return null!==sq(a.Sa())}),null!==d))return d;
a=(0,g.Jd)(a,function(a){var b=a.g,c=a.Sa();g.D(g.F(c))||"progressive"!=a.o&&"application/x-mpegurl"!=g.F(b).toLowerCase()?a=!1:(b=g.F(b).toLowerCase(),a=g.D(b)||Wn(2.3)&&-1!=b.indexOf("application/ogg")?!1:g.Un&&(-1!=b.indexOf("video/mp4")||-1!=b.indexOf("video/3gpp"))||Qn()&&(-1!=b.indexOf("application/x-mpegurl")||-1!=b.indexOf("application/vnd.apple.mpegurl"))?!0:!g.D(this.g.canPlayType(b)));return a},this);
return Xz(a,b,c)};
g.h.Sr=function(){return(0,g.Jd)(g.Ob(Nu),function(a){return!g.D(this.g.canPlayType(a))},this)};
g.h.Pp=function(a){this.R=0<a.timeout?a.timeout:1E4};
g.h.load=function(a){bA(this);a&&(this.g.src=a);this.g.load()};
g.h.unload=function(){bA(this);this.g.src="";this.g.load()};
g.h.getVideoUrl=function(){return this.g.src};
g.h.setVolume=function(a){this.g.volume=a;this.g.muted=0==a?!0:!1};
g.h.getVolume=function(){return this.g.volume};
g.h.play=function(){this.J=!1;this.g.play();this.F||(this.F=g.rg(this.EI,this.R,this))};
g.h.pause=function(){this.J=!0;this.g.pause();aA(this)};
g.h.si=function(){return this.g.paused?Qn()||g.zI?this.g.currentTime<this.g.duration:!0:!1};
g.h.isMuted=function(){return this.g.muted};
g.h.Cs=function(){Pn()&&this.g.webkitDisplayingFullscreen&&this.g.webkitExitFullscreen()};
g.h.Oj=function(){return So(this.g)};
g.h.bl=function(a){var b;a:{for(b=this.M.ub();b.length;){var c=b.pop();if(0<c){b=c;break a}}b=-1}return b>=a};
g.h.Pj=function(a){this.g.currentTime=a};
g.h.getCurrentTime=function(){return this.g.currentTime};
g.h.Ny=function(){return dA(this)};
g.h.getDuration=function(){return(0,window.isNaN)(this.g.duration)?-1:this.g.duration};
g.h.nh=function(){return this.g.ended};
g.h.mh=function(){return new g.hd(this.g.offsetWidth,this.g.offsetHeight)};
g.h.Fz=function(){return this.g.seeking};
g.h.V=function(){this.Wc();$z.ca.V.call(this)};
g.h.getError=function(){return null};
g.h.Fb=function(){this.Wc();this.W=new g.Km(this);this.W.U(this.g,BA,this.wS);this.W.U(this.g,"canplay",this.nQ);this.W.U(this.g,"ended",this.MK);this.W.U(this.g,"webkitbeginfullscreen",this.Fs);this.W.U(this.g,"webkitendfullscreen",this.Iz);this.W.U(this.g,"pause",this.PK);this.W.U(this.g,"playing",this.ES);this.W.U(this.g,"timeupdate",this.QK);this.W.U(this.g,"volumechange",this.RK);this.W.U(this.g,"error",this.Hz);this.W.U(this.g,FM||Qn()&&!Tn(8)?"loadeddata":"canplay",this.OK);this.B=new nt;this.W.U(this.B,
"click",this.LK);this.B.Fb(this.g);this.D=new g.qg(1E3);this.W.U(this.D,"tick",this.NK);this.D.start()};
g.h.Wc=function(){null!=this.B&&(this.B.Wc(),this.B=null);null!=this.D&&this.D.dispose();null!=this.W&&(this.W.dispose(),this.W=null);bA(this)};
g.h.wS=function(a){this.dispatchEvent(a.type)};
g.h.nQ=function(){var a;if(a=g.eM)a=g.Gb,a=!(a&&(tb(a,"SMART-TV")||tb(a,"SmartTV")));a&&!this.K&&(this.Pj(.001),this.K=!0)};
g.h.OK=function(){this.Vc||(this.Vc=!0,this.dispatchEvent("loaded"))};
g.h.ES=function(a){this.dispatchEvent("play");Qn()||FM||cA(this,a)};
g.h.QK=function(a){if(!this.o&&(Qn()||FM)){if(0>=this.getCurrentTime())return;if(FM&&this.nh()&&1==this.getDuration()){this.Hz(a);return}cA(this,a)}if(Qn()||$n()){if(1.5<this.getCurrentTime()-this.l){this.C=!0;this.Pj(this.l);return}this.C=!1;this.getCurrentTime()>this.l&&(this.l=this.getCurrentTime())}this.M.add(this.g.currentTime);this.dispatchEvent("timeUpdate")};
g.h.RK=function(){this.dispatchEvent("volumeChange")};
g.h.PK=function(){if(this.o&&Qn()&&!this.J&&(2>dA(this)-this.g.currentTime||this.C)){this.A=new g.qg(250);this.W.U(this.A,"tick",this.iQ);this.A.start();var a=!0}else a=!1;a||this.dispatchEvent("pause")};
g.h.MK=function(){var a=!0;if(Qn()||$n())a=this.l>=this.g.duration-1.5;!this.C&&a&&this.dispatchEvent("end")};
g.h.Fs=function(){this.dispatchEvent("beginFullscreen")};
g.h.Iz=function(){this.dispatchEvent("endFullscreen")};
g.h.Hz=function(){aA(this);this.dispatchEvent("error")};
g.h.LK=function(){this.dispatchEvent("click")};
g.h.NK=function(){var a=this.mh(),b=this.Oj();if(a.width!=this.I.width||a.height!=this.I.height)!this.H&&b?this.Fs():this.H&&!b&&this.Iz(),this.I=a,this.H=b};
g.h.EI=function(){if(!this.o){try{so(po.getInstance(),16)}catch(a){}bA(this);this.dispatchEvent("mediaLoadTimeout")}};
g.h.iQ=function(){if(this.nh()||!this.si())g.Ze(this.A);else{var a=this.g.duration-this.g.currentTime,b=dA(this)-this.g.currentTime;0<b&&(2<=b||2>a)&&(g.Ze(this.A),this.play())}};g.B(fA,g.Cf);var Gua=new g.om;eA.prototype.start=function(a){return this.g[a].startTime};
eA.prototype.end=function(a){return this.g[a].endTime};
g.h=fA.prototype;g.h.yo=0;g.h.currentTime=0;g.h.duration=window.NaN;g.h.paused=!0;g.h.Nz=!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.WK=1;g.h.playbackRate=0;g.h.Pg=null;g.h.Io=0;g.h.EU=4;g.h.Uk=null;g.h.zo=null;
g.h.play=function(){this.Nz&&(this.currentTime=0,this.dispatchEvent("timeupdate"));this.paused&&(this.paused=!1,this.dispatchEvent("play"),this.yo=this.EU,2>=this.yo?this.dispatchEvent("waiting"):this.dispatchEvent("playing"));if(null===this.Pg||this.Pg.ka())this.Pg=new g.qg(10),this.Pg.U("tick",(0,g.A)(this.uE,this));this.Io=(0,g.G)();this.Pg.start();this.autoplay=!1};
g.h.pause=function(){this.autoplay=!1;this.paused||(this.Pg.stop(),this.paused=!0,this.dispatchEvent("timeupdate"),this.dispatchEvent("pause"))};
g.h.load=function(){this.yo=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.g.push(new hia(this.duration));a.length=a.g.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.WK};
g.h.setProperty=function(a,b){switch(a){case "currentTime":var c=Number(b);this.dispatchEvent("seeking");this.currentTime=c;this.dispatchEvent("seeked");this.uE();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&&Gua.set(a,b)};
g.h.getAttribute=function(a){return Gua.get(a)};
g.h.uE=function(){var a=(0,g.G)()-this.Io,b=this.currentTime+a/1E3;this.Io+=a;2<this.yo&&(this.currentTime=Math.min(b,this.duration));this.dispatchEvent("timeupdate");this.currentTime==this.duration&&(this.Nz=this.paused=!0,this.Pg.stop(),this.dispatchEvent("ended"))};
g.h.V=function(){this.Pg&&this.Pg.dispose();this.W.dispose()};
g.h.cU=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.zo&&(this.zo.innerText=b);c&&this.Uk&&(this.Uk.style.backgroundColor=c)};g.B(gA,g.M);gA.prototype.initialize=function(){this.l&&Mn()&&this.l.load()};
gA.prototype.V=function(){g.Id(this.g);gA.ca.V.call(this)};
gA.prototype.show=function(){var a=this.g;null!=a&&(a.style.display="block")};
gA.prototype.hide=function(){var a=this.g;null!=a&&(a.style.display="none")};g.B(hA,g.M);hA.prototype.F=function(a){if(!("*"!=this.l&&a.origin!=this.l||this.A&&a.source!=this.A)&&g.w(a.data)){try{var b=JSON.parse(a.data)}catch(c){return}if(!(null==b||this.I&&(this.sessionId&&this.sessionId!=b.id||this.channel&&this.channel!=b.channel))&&b)switch(b.event){case "syn":iA(this,a);kA(this);this.sendMessage({event:"ack"});break;case "ack":iA(this,a);kA(this);break;case "command":a=b.func,a in this.g&&this.g[a].apply(null,b.args)}}};
hA.prototype.sendMessage=function(a,b){var c=b||this.A;if(c){this.sessionId&&(a.id=this.sessionId);this.channel&&(a.channel=this.channel);try{var d=g.xg(a);c.postMessage(d,this.D)}catch(e){}}};
hA.prototype.V=function(){window.removeEventListener("message",this.B);hA.ca.V.call(this)};g.B(jA,hA);jA.prototype.H=function(a,b){var c={event:"command",func:a},d=Array.prototype.slice.call(arguments,1);0<d.length&&(c.args=d);this.C?this.sendMessage(c):100>this.o.length&&this.o.push(c)};g.B(lA,g.M);lA.prototype.D=function(a){a=a.type;var b=new iia;b.duration=this.g.duration;b.currentTime=this.g.currentTime;b.l=this.g.readyState;this.g.error&&(b.errorCode=this.g.error.code);b.muted=this.g.muted;b.paused=this.g.paused;b.g=this.g.ended;b.volume=this.g.volume;this.l.H("notify",a,b)};
lA.prototype.B=function(a){this.A.add(a);this.W.U(this.g,a,this.C)};
lA.prototype.F=function(a){this.A.remove(a);this.W.Da(this.g,a)};
lA.prototype.o=function(a,b){this.g[a]=b};g.B(oA,uo);var Hua=["video/mp4","video/webm"],Iua={el:"adunit",controls:0,html5:1,playsinline:1,ps:"gvn",showinfo:0},nA=[],mA=!1;g.h=oA.prototype;g.h.FD=function(a,b,c){var d=g.Ka(a,function(a){return null!==sq(a.Sa())});
if(null!==d)return d;a=(0,g.Jd)(a,function(a){a=g.F(a.g);return this.o?this.g.canPlayType(a):g.Oa(Hua,a)},this);
g.Pa(c)||(d=Xz(a,b,c));return null!=d?d:Xz(a,b,[])};
g.h.Pp=function(a){this.l=a};
g.h.load=function(a,b){qA(this,a,b)};
g.h.unload=function(){qA(this,"","")};
g.h.getVideoUrl=function(){return this.X};
g.h.setVolume=function(a){this.ea?this.dispatchEvent("volumeChange"):this.o?(a=g.ad(100*a,0,100),this.g.setVolume(a),this.D=-1,this.dispatchEvent("volumeChange")):this.D=a};
g.h.getVolume=function(){return this.o?this.g.getVolume()/100:this.D};
g.h.play=function(){if(!g.D(g.F(this.X))){if(!this.A){sA(this);var a=1E4;null!=this.l&&0<this.l.timeout&&(a=this.l.timeout);this.Ca=g.rg(this.zS,a,this)}this.o?(this.Z=!1,!this.A&&this.l&&this.l.A?this.g.loadVideoByPlayerVars(this.na):this.g.playVideo()):this.Z=!0}};
g.h.pause=function(){this.o&&this.A&&this.g.pauseVideo()};
g.h.si=function(){return this.o?2==this.g.getPlayerState(this.B):!1};
g.h.isMuted=function(){return this.o?this.g.isMuted():0==this.getVolume()};
g.h.Cs=function(){};
g.h.Oj=function(){var a=P.l?P.F:window.document.getElementById(this.M);return a?So(a):!1};
g.h.bl=function(a){return this.o?this.g.getCurrentTime(this.B)>=a:!1};
g.h.Pj=function(a){this.o?this.g.seekTo(a,!1):this.I=a};
g.h.getCurrentTime=function(a){return this.o?this.g.getCurrentTime(a||this.B):-1};
g.h.Ny=function(){return this.o&&this.A?this.g.getVideoLoadedFraction(this.B)*this.g.getDuration(this.B):0};
g.h.getDuration=function(){return this.o&&this.A?this.g.getDuration(this.B):-1};
g.h.getError=function(){return null};
g.h.Sr=function(){return g.Ob(Nu)};
g.h.nh=function(){return this.o?0==this.g.getPlayerState(this.B):!1};
g.h.mh=function(){var a=P.l?P.F:window.document.getElementById(this.M);return a?new g.hd(a.offsetWidth,a.offsetHeight):new g.hd(0,0)};
g.h.Fz=function(){return!1};
g.h.Ez=function(){return 1==this.xa};
g.h.jb=function(){return this.o?1==this.g.getPlayerState(this.B):!1};
g.h.TK=function(){var a=this.mh(),b=this.Oj();if(a.width!=this.ga.width||a.height!=this.ga.height)!this.fa&&b?this.dispatchEvent("beginFullscreen"):this.fa&&!b&&this.dispatchEvent("endFullscreen"),this.ga=a,this.fa=b};
g.h.Fb=function(){this.ba=(0,g.A)(this.AC,this);this.K=(0,g.A)(this.Gs,this);this.sa=(0,g.A)(this.BC,this);this.Ha=(0,g.A)(this.vT,this);this.ia=(0,g.A)(this.XQ,this);this.ea&&(this.g.addEventListener("onAdStateChange",this.K),this.g.addEventListener("onReady",this.ba),this.g.addEventListener("onStateChange",this.K),this.g.addEventListener("onVolumeChange",this.sa),this.g.addEventListener("onSharePanelOpened",this.Ha),this.g.addEventListener("onDompaused",this.ia));this.R=new g.qg(1E3);this.W.U(this.R,
"tick",this.TK);this.R.start()};
g.h.Wc=function(){this.ea&&(this.g.removeEventListener("onAdStateChange",this.K),this.g.removeEventListener("onReady",this.ba),this.g.removeEventListener("onStateChange",this.K),this.g.removeEventListener("onVolumeChange",this.sa),this.g.removeEventListener("onSharePanelOpened",this.Ha),this.g.removeEventListener("onDompaused",this.ia));null!=this.R&&this.R.dispose()};
g.h.KI=function(){var a=g.$b(Iua);P.B&&(a.ps="gvn",a.remoteve=qo.Z,a.remotevewin="discover");a={playerVars:a,events:{cardstatechange:(0,g.A)(this.SK,this),onError:(0,g.A)(this.BS,this),onReady:(0,g.A)(this.AC,this),onAdStateChange:(0,g.A)(this.Gs,this),onStateChange:(0,g.A)(this.Gs,this),onVolumeChange:(0,g.A)(this.BC,this)}};var b=g.y("YT");this.g=null!=b&&null!=b.Player?new b.Player(this.M,a):null};
g.h.BS=function(){this.dispatchEvent("error")};
g.h.AC=function(){this.o=!0;this.H&&this.Bs(this.H.videoId,this.H.Xh,this.H.Hk);-1!=this.D&&(this.setVolume(this.D),this.D=-1);null!=this.J&&(pA(this,this.J,this.Y),this.Y=this.J=null);-1!=this.I&&(this.Pj(this.I),this.I=-1);this.Z&&this.play()};
g.h.SK=function(a){this.xa=a.data;this.dispatchEvent("cardsStateChange")};
g.h.Gs=function(a){switch(a.data){case 0:this.A?this.dispatchEvent("end"):this.dispatchEvent("error");break;case 1:this.A||(sA(this),this.A=!0,this.F=0,this.dispatchEvent("start"));this.dispatchEvent("play");rA(this);this.C=new g.qg(100);this.W.U(this.C,"tick",this.oC);this.C.start();break;case 2:this.dispatchEvent("pause"),rA(this)}};
g.h.XQ=function(){this.Ma&&this.dispatchEvent("error")};
g.h.BC=function(){this.dispatchEvent("volumeChange")};
g.h.vT=function(){this.dispatchEvent("shareClicked")};
g.h.oC=function(){var a=nn();if(a.g("seek_back_for_all")||a.g("seek_back_for_all_no_leanback")&&!gl()||a.g("seek_back_for_safari")&&RT&&Rn(vua,10)&&tb(g.Gb,"Safari")||(a.g("mweb_should_disable_instream_seek_back")&&Mn()?0:EM||$n())){if(1.5<this.getCurrentTime()-this.F){this.o&&this.g.seekTo(this.F,!0);return}this.getCurrentTime()>this.F&&(this.F=this.getCurrentTime())}this.dispatchEvent("timeUpdate")};
g.h.zS=function(){this.dispatchEvent("mediaLoadTimeout")};
g.h.Bs=function(a,b,c){if(b||c)this.o?this.g.addInfoCardXml(a,b,c):this.H={videoId:a,Xh:b,Hk:c}};
g.h.He=function(){if(!this.o)return null;var a=this.g.getVideoData();return a?a.cpn:null};
g.h.fv=function(a){this.o&&sq(this.getVideoUrl())&&this.g.sendVideoStatsEngageEvent(a)};
g.h.Gz=function(a){this.o&&this.g.setCardsVisible(a,!1,"YOUTUBE_DRAWER_AUTO_OPEN")};
g.h.Es=function(){this.o&&this.g.showControls()};
g.h.Ds=function(){this.o&&this.g.hideControls()};
g.h.V=function(){rA(this);sA(this);this.Wc();this.o=!1;this.W.dispose();this.I=-1;this.Y=null;this.Z=!1;this.J=null;this.D=-1;this.ba=this.g=this.l=null;this.A=!1;this.X="";oA.ca.V.call(this)};
g.va("onYouTubeIframeAPIReady",function(){mA=!0;(0,g.C)(nA,function(a){a()});
Qa(nA)},window);g.B(tA,g.Cf);tA.prototype.send=function(a){var b=a.g;this.g.hasOwnProperty(b)&&this.g[b].send(a.type,a.ce,a.ag)};
tA.prototype.V=function(){this.W.dispose();for(var a in this.g)g.Ze(this.g[a]);tA.ca.V.call(this)};
tA.prototype.A=function(a){a=a.g;var b=Dy(a.data);if(null!=b){var c=b.channel;if(this.l&&!this.g.hasOwnProperty(c)){var d=b.sid;vA(this,c,d,a.source);this.dispatchEvent(new uA(b.name,b.type,b.data||{},d,a.origin,c))}}};
g.B(uA,By);g.B(xA,g.Km);
xA.prototype.C=function(a){var b=a.getOrigin(),c=g.Dg("//imasdk.googleapis.com");b=g.Dg(b);if(c[3]==b[3]&&c[4]==b[4])if(null!=this.g)vA(this.g,a.g,a.Az,zd().parent),null!=this.g&&this.g.send(a);else if(c=a.ag,null!=c&&g.u(c.scope)){b=c.scope;c=c.args;var d;if("proxy"==b)c=a.ce,"isGptPresent"==c?d=wA():"isConsolePresent"==c&&(d=null!=yA());else if(wA())if("pubads"==b||"companionAds"==b){d=a.ce;var e=zd().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=yA(),null!=f&&(e=f[a.ce],null!=e))try{e.apply(f,c)}catch(k){}}else if(null===b){d=a.ce;f=zd();if(g.Oa(["googleGetCompanionAdSlots","googleSetCompanionAdContents"],d)&&(d=f[d],null!=d))try{e=d.apply(f,c)}catch(k){}d=e}g.u(d)&&(a.ag.returnValue=d,this.o.send(a))}};
xA.prototype.B=function(a){this.o.send(a)};var zA={s:function(a,b,c){return(0,window.isNaN)(c)||""==c||a.length>=Number(c)?a:a=-1<b.indexOf("-",0)?a+ub(" ",Number(c)-a.length):ub(" ",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+ub(" ",a):f+ub(0<=b.indexOf("0",0)?"0":" ",a)+d},
d:function(a,b,c,d,e,f,k,l){return zA.f((0,window.parseInt)(a,10),b,c,d,0,f,k,l)}};
zA.i=zA.d;zA.u=zA.d;g.B(CA,g.Cf);g.h=CA.prototype;g.h.V=function(){this.W.dispose();null!==this.o&&(this.o.dispose(),this.o=null);g.sk(this.D.Rd(!1),function(a){a.dispose()});
this.D.clear();g.Id(this.l);CA.ca.V.call(this)};
g.h.HJ=function(a){var b=a.ag,c=g.yh(this.l),d=window.document.createEvent("MouseEvent");d.initMouseEvent(a.ce,!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.eM||Qn()||0==window.document.webkitIsFullScreen)this.l.blur(),window.focus();this.l.dispatchEvent(d)};
g.h.ZJ=function(a){var b=a.ag,c=g.yh(this.l);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:DA(this,b.touches),targetTouches:DA(this,b.targetTouches),changedTouches:DA(this,b.changedTouches)};var d=new window.TouchEvent(a.ce,b);this.l.dispatchEvent(d)}else d=window.document.createEvent("TouchEvent"),d.initTouchEvent(a.ce,!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,DA(this,b.touches),DA(this,b.targetTouches),DA(this,b.changedTouches),b.scale,b.rotation),this.l.dispatchEvent(d)};
g.h.WJ=function(a){if(null!=this.g){var b=a.ag;switch(a.ce){case "startTracking":this.g.Fb();break;case "stopTracking":this.g.Wc();break;case "exitFullscreen":this.g.Cs();break;case "play":this.g.play();break;case "pause":this.g.pause();break;case "load":this.g.load(b.videoUrl,b.mimeType);break;case "setCurrentTime":this.g.Pj(b.currentTime);break;case "setPlaybackOptions":this.g.Pp(EA(b));break;case "setVolume":this.g.setVolume(b.volume)}}};
g.h.OJ=function(a){if(null!=this.A){var b=a.ag;switch(a.ce){case "startTracking":this.A.Fb();break;case "stopTracking":this.A.Wc();break;case "setPlaybackOptions":this.A.Pp(EA(b));break;case "load":this.A.load(b.videoUrl,b.mimeType)}}};
g.h.gg=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.g.nh();break;case "play":a="play";break;case "skip":a="skip";break;case "start":a="start";break;case "timeUpdate":a="timeupdate";b.currentTime=this.g.getCurrentTime();
b.duration=this.g.getDuration();break;case "volumeChange":a="volumeChange";b.volume=this.g.getVolume();break;case "loadedmetadata":a=a.type;b.duration=this.g.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.C.send("videoDisplay",a,b)};
g.h.CJ=function(a){switch(a.ce){case "showVideo":null!=this.o?this.o.Wc():(this.o=new nt,this.W.U(this.o,"click",this.ZT));this.o.Fb(GA(this.B));a=this.B;null!=a.g&&a.g.show();break;case "hide":null!==this.o&&(this.o.dispose(),this.o=null);this.B.hide();break;case "getPreloadDisplay":null!=this.g&&null==this.A&&(this.A=this.B.B);break;case "swapVideoDisplays":if(null!=this.g&&null!=this.A){this.W.Da(this.g,g.Ob(AA),this.gg);this.W.Da(this.g,BA,this.gg);a=this.B;if(a.g&&a.l&&a.A&&a.B){var b=a.l;a.l=
a.B;a.B=b;b=a.g;a.g=a.A;a.A=b;if(a.I&&a.l instanceof $z){b=a.I;var c=a.l.g;g.Qm(b.W);b.g=c;(0,g.C)(b.A.ub(),b.B,b)}null!=a.D&&(b=a.D,a=a.l,null!=b.g&&(b.W.Da(b.g,g.Ob(AA),b.gg),b.W.Da(b.g,BA,b.gg)),b.g=a,b.W.U(b.g,g.Ob(AA),b.gg),b.W.U(b.g,BA,b.gg))}this.g=this.B.l;this.A=this.B.B;this.W.U(this.g,g.Ob(AA),this.gg);this.W.U(this.g,BA,this.gg)}}};
g.h.ZT=function(){this.C.send("displayContainer","videoClick")};
g.h.iJ=function(){g.sk(this.D.Rd(!1),function(a){a.Cf=Pd(this.l);a.connect()},this);
this.F=!0};FA.prototype.initialize=function(){null!=this.g&&this.g.initialize();null!=this.A&&this.A.initialize()};
FA.prototype.destroy=function(){g.Ze(this.g);g.Ze(this.A);g.Ze(this.D);g.Ze(this.l);g.Ze(this.B);g.Ze(this.I);g.Id(this.o)};
FA.prototype.hide=function(){null!=this.g&&this.g.hide()};
FA.prototype.setSize=function(a,b){var c=this.o;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.D&&(c=this.D,c.l.width=-1==a?"100%":a,c.l.height=-1==b?"100%":b)};g.h=HA.prototype;g.h.Kr=function(){return GA(this.g)};
g.h.tl=function(){return this.g.F};
g.h.Of=function(){return this.g.F};
g.h.El=function(){var a=this.g.l;return null!=a?a:new oA};
g.h.Tf=function(){var a=this.g;null!=a.g&&a.g.show()};
g.h.Ad=function(){};
g.h.Ar=function(){return null!=this.g.C};
g.h.Nj=function(){return this.g.H};
g.h.ys=function(){return!1};
g.h.wo=function(){return this.g.J};
g.h.setSize=function(a,b){this.g.setSize(a,b)};
g.h.hide=function(){};
g.h.uo=function(){return null};
g.h.vo=function(){};g.B(IA,g.af);g.h=KA.prototype;
g.h.clone=function(){var a=new KA;"auto"==this.aj?a.aj="auto":"click"==this.aj&&(a.aj="click");a.g=this.g;a.Uh=g.$b(this.Uh);a.l=this.l;a.tn=this.tn;a.B=this.B;a.A=this.A?g.Wa(this.A):null;a.contentTitle=this.contentTitle;a.kc=g.$b(this.kc);a.location=this.location;a.referrer=this.referrer;a.C=this.C;a.language=this.language;a.Mj=this.Mj;a.Lj=this.Lj;a.jn=this.jn;a.pf=this.pf;a.nf=this.nf;a.Ze=this.Ze;a.Yp=this.Yp;a.Iv=this.Iv;a.qv=this.qv;a.D=this.D;a.o=this.o;a.Bq=this.Bq;a.to=this.to;a.afcRmFallback=
this.afcRmFallback;a.I=this.I;a.H=this.H;a.tj=this.tj;a.Aq=this.Aq;a.hA=this.hA;a.Tz=this.Tz;a.Mq=this.Mq?this.Mq.clone():null;return a};
g.h.Uh=null;g.h.tn=null;g.h.jn=null;g.h.kc=null;g.h.aj="unknown";g.h.hA=0;g.h.Mj=0;g.h.Lj=0;g.h.pf=0;g.h.nf=0;g.h.tj=!1;g.h.Ze=null;g.h.Yp=!1;g.h.Iv=!1;g.h.qv=!0;g.h.Aq=new fn;g.h.Bq=0;g.h.oy=!0;g.h.to=null;g.h.afcRmFallback=!1;g.h.Tz=!0;g.h.Mq=null;g.B(LA,g.Cf);g.B(MA,g.af);MA.prototype.getError=function(){return this.l};g.B(OA,g.Cf);OA.prototype.l=null;OA.prototype.Kb=function(){return this.A};
OA.prototype.V=function(){delete this.g;PA(this);g.xf(this.l);OA.ca.V.call(this)};
OA.prototype.B=function(){NA(this)&&(PA(this),g.xf(this.l),this.l=null,this.A=!0,this.dispatchEvent("ifload"))};g.B(QA,LA);g.wa(QA);g.h=QA.prototype;g.h.V=function(){this.l&&this.l.dispose();QA.ca.V.call(this)};
g.h.initialize=function(){if(!this.ne){var a=g.$d(new jd);try{RA([a,a.top]);var b=!0}catch(c){b=!1}b?cB(this):(this.ne=!0,this.o="not_available")}};
g.h.Hd=function(a){try{this.g.googleSetCompanionAdContents((0,g.I)(a,this.nI,this)),this.Ak()}catch(b){this.dispatchEvent(new MA("companion_display_error",b))}};
g.h.CC=function(){0<this.A&&(0,g.G)()>=this.A?(this.ne=!0,ZA(this),bB(this)):cB(this)};
g.h.jV=function(a){var b=(0,g.I)(a.adSizes,function(a){return new g.hd(a.adWidth,a.adHeight)});
return new Xo(a.slotId,b)};
g.h.nI=function(a){var b={};b.slotId=a.H;b.adContent=a.cd();b.adWidth=a.o;b.adHeight=a.g;b.friendlyIframeRendering=a.l;b.onAdContentSet=(0,g.A)(this.IQ,this,a);return b};
g.h.IQ=function(a,b){if(null!=a.A){var c=g.Md(b);c||(c=g.Cd("div"),b.appendChild(c));var d=a.Cc();c.appendChild(d);dB(this,a,c)}else c=a.l?b.querySelector("iframe"):(c=g.Md(b))?g.Md(c):null,(c=c&&"IFRAME"==c.tagName?c:null)&&mia(this,c,a)};
g.h.HQ=function(a){this.dispatchEvent(new MA("companion_click",null,a))};
g.h.Ak=function(a){Bn(this.impressionUrls,a)};g.B(eB,g.Cf);eB.prototype.qx=function(){return!0};
eB.prototype.ji=function(){return null};g.B(gB,eB);g.h=gB.prototype;g.h.V=function(){this.destroy();gB.ca.V.call(this)};
g.h.destroy=function(){null!=this.W&&this.W.dispose();this.A=null;(0,g.C)(this.o,function(a){Zo(a)},this);
this.l=null};
g.h.Hd=function(a){g.Ze(this.l);this.l=new g.Cf;this.A=a;this.B=!0;this.C?iB(this):(this.B=kB(jB(a),[]),this.B||(this.l=this.A=null));return this.l};
g.h.qx=function(){return this.B};
g.h.rT=function(){null!=this.D&&(this.D.stop(),this.D.dispose(),this.D=null);if(null!=this.g){var a=SA(this.g);null!=a&&(this.o=a)}this.C=!0;null!=this.A&&iB(this);this.dispatchEvent(new g.af("initialized"))};
g.h.JQ=function(a){hB(this,a.getError())};
g.h.FQ=function(a){if(null!=a.g){var b=a.g;"companion_slot_init"==a.type?(Bn(b.B),Kf(function(){null!=this.l&&this.l.dispatchEvent(new $o("companion_impression",b))},this)):"companion_click"==a.type&&(Bn(b.C),null!=this.l&&this.l.dispatchEvent(new $o("companion_click",b)))}};
g.h.ji=function(){return this.g};g.B(lB,Yu);
lB.prototype.o=function(){if(null===this.g){for(var a=this.A,b=new Ez,c=g.Kd(g.Md(this.A)),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,q=!1,r=!1,v=null,E=!1,H=g.Kd(k),L=0,T=H.length;L<T;L++){var ha=H[L];switch(ha.nodeName){case "vmap:AdSource":if(!n&&(n=tia(ha),!n)){m=Zr(ha,"vmap:AdTagURI");var db="";m.length&&(db=g.F(as(m[0])));if(g.D(db))throw En(uua,null,ha.parentNode.nodeName,ha.nodeName);m=db}break;case "vmap:Extensions":v=Zr(ha,"vmap:Extension"),
E=g.Ka(v,g.Ea(mB,"type","bumper")),null!=E&&(q=!0,r=$r(E,"suppress_bumper"),r=null!=r?"true"==r:!0),E=uia(v),v=E.breakType,E=E.Jn}}H=null;if(n){H=n;n=null;try{n=Yr(H)}catch(sa){n=Vr(H)}H=this.l.clone();H.l=n;H.g=""}else g.D(m)||(n=m,H=this.l.clone(),H.l="",H.g=n);H&&(P.g()&&(n=H,k=$r(k,"timeOffset"),L=ds(k),k="start"==k||0==L?0:"end"==k||-1==L?-1:1E3*L,n.Bq=k),k=new Dz(H),k.isBumper=q,k.g=q&&!r,k.o=v,k.Jn=E,g.Ra(l,k));f=ria(f);q=0;for(r=f.length;q<r;q++)if(v=f[q],k=ds(v),0<q&&(l=sia(this,l)),"start"==
v||0==k)Fz(b,l,0);else if("end"==v)Fz(b,l,-1);else{if(-1==k)throw En(Iz,null,"timeOffset",g.F(v));Fz(b,l,k)}}}if(0==b.g.Cb().length)throw En(Pq);this.g=new Zu(a,null,b)}return this.g};qB.prototype.D=function(){var a=this.A(this.B());return Uf(a)?a.then(function(a){return a.toString()}):a instanceof Error?a:a.toString()};
qB.prototype.C=function(){var a=1;ao()&&(a+=4);if(!P.g()){var b=15360;P.Z&&(b+=8);a+=b}return a};var SB={q3:"ultrahigh",UZ:"high",dH:"medium"},Fia={mX:1E3,nX:1001,oX:1002,pX:1003,qX:1004,rX:1005,sX:1006},Gia={ZG:1,FG:2},Hia={jG:"content",a2:"site",b2:"site_content"};g.h=wB.prototype;g.h.fn="high";g.h.Hs=!1;g.h.Nq=1;g.h.Oq=null;g.h.adType="video";g.h.adBlock=1;g.h.gn=null;g.h.Is=null;g.h.Qq=!0;g.h.Rq=null;g.h.ur=null;g.h.dl=null;g.h.experimentIds=null;g.h.gender=null;g.h.host=null;g.h.hostTierId=null;g.h.isLiveStream=!1;g.h.language=null;g.h.Kz=null;g.h.Jz=null;g.h.Lo=1E5;g.h.Mo=null;g.h.Mz=null;
g.h.Lz=null;g.h.Bt=0;g.h.tk=null;g.h.Bp=null;g.h.Mp=null;g.h.targeting=null;g.h.tagForChildDirectedTreatment=-1;g.h.xp=null;g.h.url=null;g.h.xo=null;g.h.Nv=null;g.h.Js=null;g.h.Uv=null;g.h.Rv=null;g.h.Sv=null;g.h.Tv=null;g.h.Xq=null;g.h.Mv=null;g.h.zq=null;g.h.UK=null;g.h.VK=null;g.h.contentTitle=null;var Dia={YX:"bumpervideo",GG:"flash",TG:"image",g2:"skippablevideo",p2:"standardvideo",t2:"staticimage",TEXT:"text",VIDEO:"video"},JB=["flash","image","staticimage"],Eia=[new g.hd(200,200),new g.hd(250,250),new g.hd(300,250),new g.hd(336,280),new g.hd(450,50),new g.hd(468,60),new g.hd(480,70),new g.hd(728,90)];g.B(TB,qB);var Iia=["bumpervideo","skippablevideo","standardvideo","video"];TB.prototype.H={tX:"allow",AG:"exclude",A1:"require"};TB.prototype.C=function(){var a=TB.ca.C.call(this);P.g()&&this.g.Mp&&(a|=this.g.Mp);return a};
TB.prototype.A=function(a){var b=new g.um(this.l.g),c=new g.um("//"+b.l+b.o);b=a.Cb();(0,g.C)(b,function(b){g.Dm(c,b,a.get(b))});
g.vm(c,"https");return c};
TB.prototype.B=function(){var a=new g.om;a.set("sdkv",vB(this));a.set("sdki",this.C().toString(16));a.set("video_product_type",null!=this.g.tk?P.g()?5:g.kb(this.g.tk,"ca-games-")?4:g.kb(this.g.tk,"ca-video-")?0:-1:-1);a.set("correlator",this.F.g);a.set("client",this.g.tk);P.g()&&!g.D(g.F(this.g.url))?a.set("url",this.g.url):a.set("url",this.l.location?this.l.location:this.l.referrer);null!=this.l.Ze&&a.set("adk",this.l.Ze);a.set("num_ads",UB(this));a.set("channel",Kia(this));a.set("output","xml_vast3");
this.g.Hs&&a.set("adtest","on");this.g.gn&&a.set("adsid",this.g.gn);Jo&&a.set("flash",CB);IB("alternate_ad_url",this.g.Rq,a);IB("cpm",this.g.ur,a);xB(a,this.l);P.g()||g.Sb(SB,this.g.fn)&&a.set("adsafe",this.g.fn);this.g.host&&(a.set("host",this.g.host),IB("ht_id",this.g.hostTierId,a),null!=this.g.o&&IB("h_ch",this.g.o.join("+"),a));IB("hl",this.g.language,a);IB("cust_age",this.g.Is,a);IB("cust_gender",this.g.gender,a);-1!=this.g.tagForChildDirectedTreatment&&IB("tfcd",this.g.tagForChildDirectedTreatment,
a);null!=this.g.xp&&IB("pucrd",this.g.xp,a);IB("slotname",this.g.Oq,a);if(DB(this.g)&&(a.set("ea","0"),null!=this.l.pf&&null!=this.l.nf)){var b=EB(this.g,this.l.pf,this.l.nf,this.l.tj);a.set("image_size",b);g.D(b)&&(this.g.g=LB(this.g.g,this.g.adType,!0),this.g.adType=this.g.g.join("_"))}a.set("ad_type",this.g.adType);b=qn(mn());g.D(g.F(b))||a.set("eid",b);zB(a);b=this.F;var c=this.g,d=this.g.dl;if(null!=d){var e=no(b);c=null!=c.zq?c.zq:fo(e,d);1!=c&&a.set("ad_block",c);null==b.K&&(b.K=new ko);c=
b.K;var f=d!=b.M;(e=0==e.g%100||f)||(e=36E5<(null===c.g?0:(new g.jo).getTime()-c.g));e&&c.reset();b.M=d;b=c.l;null!==b&&a.set("tok",b)}a.set("unviewed_position_start","1");b=this.g.Nq;a.set("videoad_start_delay",null!=b?b:1);tB(this,a);uB(this,a);rB(this,a);Jia(this)&&a.set("video_format",null!=this.g.xo&&P.g()?this.g.xo:g.zI&&g.Ln(6)||g.RL&&g.Ln(4)||Wn(2.3)?43:18);a.set("t_pyv",null!=this.g.Bp?this.g.Bp:this.H.AG);IB("min_ad_duration",this.g.Bt,a);0<this.g.Lo&&a.set("max_ad_duration",VB(this.g.Lo,
UB(this)));0<this.g.Mo&&a.set("sdmax",VB(this.g.Mo,UB(this)));FB(a,this.I);P.g()&&(b=sq(this.g.dl),null!=b&&a.set("video_doc_id","yt_"+b));IB("description_url",this.g.dl,a);P.g()&&(IB("lact",AB(this.l),a),IB("loeid",this.g.Js,a),IB("lsv",this.g.isLiveStream,a),this.g.Qq||IB("scs","false",a),IB("targeting",this.g.targeting,a),IB("video_cpm",this.g.Nv,a),IB("yt_pt",this.g.Uv,a),IB("ytdevice",this.g.Rv,a),IB("ytdevicever",this.g.Sv,a),IB("yt_vis",BB(this.l),a),IB("dbp",this.g.Tv,a),IB("avo",this.g.Xq,
a),IB("v_p",this.g.Mv,a));null!=a.get("ms")||IB("ms",this.g.A,a);IB("vid_kw",this.l.A?this.l.A.join(","):null,a);IB("vid_d",this.l.B,a);IB("vid_t",this.l.contentTitle,a);sB(a);GB(this.l,a,!1);null!=this.l.Uh&&IB("loc",this.l.Uh.page_location,a);return a};g.B(WB,qB);WB.prototype.A=function(a){var b=new g.um(this.l.g);(0,g.C)(a.Cb(),function(c){g.D(a.get(c))?b.g.remove(c):g.Dm(b,c,a.get(c))});
g.vm(b,"https");return b};
WB.prototype.B=function(){var a=new g.om;a.set("sdkv",vB(this));uB(this,a);rB(this,a);sB(a);null!=this.l.Ze&&a.set("adk",this.l.Ze);return a};g.B(XB,qB);XB.prototype.B=function(){return new g.om};
XB.prototype.A=function(){var a=new br(this.l.g),b=vB(this);b&&dr(a,"dc_sdkv",[b]);(b=this.C().toString(16))&&dr(a,"dc_sdki",[b]);(b=this.o.I)&&dr(a,"dc_submodel",[b]);null!=this.l.Ze&&dr(a,"dc_adk",[this.l.Ze]);b=qn(mn());g.D(g.F(b))||dr(a,"dc_eid",[b]);b=P.ba;null!=b&&dr(a,"dc_rfl",[Gi(b)]);b=new g.om;tB(this,b);uB(this,b);rB(this,b);sB(b);qm(b,"js")&&dr(a,"dc_js",[b.get("js")]);qm(b,"msid")&&dr(a,"dc_msid",[b.get("msid")]);qm(b,"frm")&&dr(a,"dc_frm",[b.get("frm")]);qm(b,"osd")&&dr(a,"dc_osd",[b.get("osd")]);
qm(b,"sdr")&&dr(a,"dc_sdr",[b.get("sdr")]);dr(a,"dcmt",["text/xml"]);qm(b,"vpa")&&dr(a,"vpa",[b.get("vpa")]);qm(b,"mpt")&&dr(a,"mpt",[b.get("mpt")]);qm(b,"mpv")&&dr(a,"mpv",[b.get("mpv")]);b=cr(a,"dc_output");null!=b&&(g.Oa(b,"vast")||g.Oa(b,"xml_vast2"))&&dr(a,"dc_output",["xml_vast3"]);g.vm(a,"https");return a};g.B(YB,qB);YB.prototype.A=function(a){a=new g.um(a.get("adTagUrl"));g.vm(a,"https");return a};
YB.prototype.D=function(){var a=g.F(this.B().get("adTagUrl"));return a=a.replace(/^http:/i,"https:")};
YB.prototype.B=function(){var a=new g.om;a.set("adTagUrl",this.l.g);a.set("adsResponse",this.l.l);return a};g.B(ZB,qB);ZB.prototype.A=function(a){return new g.um(a.get("adTagUrl"))};
ZB.prototype.B=function(){var a=new g.om;a.set("adTagUrl",this.l.g);a.set("adsResponse",this.l.l);return a};g.B($B,qB);$B.prototype.A=function(a){var b=new g.um(this.l.g);(0,g.C)(a.Cb(),function(c){g.D(a.get(c))?b.g.remove(c):g.Dm(b,c,a.get(c))});
g.vm(b,"https");return b};
$B.prototype.B=function(){var a=new g.om,b=qn(mn());g.D(g.F(b))||a.set("eid",b);a.set("sdkv",vB(this));a.set("sdki",this.C().toString(16));a.set("correlator",this.o.A);a.set("scor",this.o.g);null!=this.l.Ze&&a.set("adk",this.l.Ze);tB(this,a);uB(this,a);rB(this,a);sB(a);b=(new g.um(this.l.g)).g;var c=new wB;c.l=QB(c.l,b.get("overlay"));a.set("afvsz",EB(c,this.l.pf,this.l.nf,this.l.tj));b=this.o.o;null!=b&&(this.o.o=null,a.set("fbidx",b));b=this.o.R;null!=b&&a.set("ppid",b);b="null";c=this.o.l;null!=
c?b=c:vn(this.l.location)?b=this.l.location:vn(this.l.referrer)&&(b=this.l.referrer);a.set("url",b);b=this.o.I;null!=b&&a.set("submodel",b);b=this.o.F;null==b||P.g()||(b=Lia(b),a.set("ciu_szs",b));b=(new g.um(this.l.g)).g.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.B(aC,$B);aC.prototype.A=function(a){a=aC.ca.A.call(this,a);this.H||Nia(this,a);return a};g.B(bC,XB);bC.prototype.A=function(a){a=bC.ca.A.call(this,a);this.H||Pia(this,a);return a};g.B(cC,qB);var Ria="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(" ");
cC.prototype.A=function(){var a=this.l.g.match(/\[(?:BISCOTTI_|AN)ID\]/g);if(!a)return dC(this);var b=g.Oa(a,"[BISCOTTI_ID]");a=g.Oa(a,"[ANID]");b=b?this.l.tn():"";a=a?this.l.jn():"";return b instanceof Error?En(h1,b):a instanceof Error?En(h1,a):Uf(b)||Uf(a)?(b=Uf(b)?b:$f(b),a=Uf(a)?a:$f(a),g.eg([b,a]).then(function(a){return dC(this,a[0],a[1])},function(a){throw En(h1,a);
},this)):dC(this,b,a)};
cC.prototype.B=function(){return new g.om};eC.prototype.fetch=function(a,b,c){null!=a.l&&(g.w(a.l)&&!g.D(a.l)||a.l instanceof window.Document)?Uia(this,a,b,c):jr(a.g)&&null!=this.g&&!this.g.D?this.g.start(a,(0,g.A)(function(){gC(this,a,b,c)},this)):gC(this,a,b,c)};
eC.prototype.l=function(a,b,c,d){var e=Tia(a,this.A).D();Uf(e)?e.then(function(e){iC(this,e,a,b,c,d)},function(a){a instanceof en?c(a):c(En(hC,a))},this):e instanceof en?c(e):e instanceof Error?c(En(hC,e)):iC(this,e,a,b,c,d)};jC.prototype.reset=function(a){this.g=a+(0,g.G)()};kC.prototype.start=function(a,b){this.A=a;this.C=b;bja(this);this.B.C?this.F():Pm(this.W,this.B,"initialized",this.F,this)};
kC.prototype.F=function(){var a=this.B.ji();var b=a.ne&&"retrieved"==a.o?a.C:void 0;a=kia(a);null!=b&&(this.o.A=b);null!=a&&(this.o.F=a);aja(this)};g.h=g.mC.prototype;g.h.Dc=function(){return this.g.length+this.l.length};
g.h.isEmpty=function(){return g.Pa(this.g)&&g.Pa(this.l)};
g.h.clear=function(){this.g=[];this.l=[]};
g.h.contains=function(a){return g.Oa(this.g,a)||g.Oa(this.l,a)};
g.h.remove=function(a){var b=this.g;var c=Lta(b,a);0<=c?(g.Sa(b,c),b=!0):b=!1;return b||g.Ta(this.l,a)};
g.h.ub=function(){for(var a=[],b=this.g.length-1;0<=b;--b)a.push(this.g[b]);var c=this.l.length;for(b=0;b<c;++b)a.push(this.l[b]);return a};g.B(tC,g.Cf);g.B(yC,cz);g.h=yC.prototype;g.h.sr=function(){var a=dz(this);g.S(a,"ima-container-rotator");this.D=g.K("DIV");this.g.appendChild(this.D);(0,g.C)(this.I,function(a,c){g.S(a,"ima-container-highlight");var b=63/this.I.length*(c+.5)-5,e=g.K("DIV",{id:Bb(),"class":"ima-container-selector"});e.style.top=b+"px";this.Qf.U(e,"click",function(a){this.zk(a.target)});
this.M.set(e.id,a);this.C.appendChild(e)},this);
this.zk(g.Md(this.C));this.play();return a};
g.h.play=function(){null==this.Ba&&(this.Ba=new g.qg(this.K),this.Qf.U(this.Ba,"tick",this.YU));yC.ca.play.call(this);this.Ba.start()};
g.h.stop=function(){null!=this.Ba&&this.Ba.stop();yC.ca.stop.call(this)};
g.h.YU=function(){var a=this.A;this.zk((g.u(a.nextElementSibling)?a.nextElementSibling:Ld(a.nextSibling))||g.Md(this.A.parentNode))};
g.h.zk=function(a){this.A&&g.lq(this.A,"ima-container-active");g.S(a,"ima-container-active");var b=this.M.get(a.id),c=this.D,d=c.parentNode;d&&d.replaceChild(b,c);this.A=a;this.D=b;ez(b)};g.B(zC,cz);zC.prototype.hide=g.z;zC.prototype.sr=function(){var a=dz(this);(0,g.C)(this.A,function(a){g.S(a,"ima-container-highlight");this.g.appendChild(a);ez(a)},this);
this.play();return a};g.B(AC,fz);g.h=AC.prototype;g.h.Dz=function(a,b){if(this.C||null==b)b=g.z;if(P.g()&&this.C)var c=new cz(a[0],b);else 1<a.length?CC(this)||"fullscreen"==this.Zc&&P.g()?c=new zC(a):(c=new yC(a),c.K=15E3):c=new cz(a[0],b);c.xs=100;this.C&&(c.nA=30);c.oA=45E3;c.rD=6E3;g.U(c.g,"scalable",this.C);g.U(c.la(),"yt-text-overlay",P.g()&&this.C);return c};
g.h.eV=function(a){var b=a.g;null!=b?(null==this.I&&(this.I=a.getExtension("AdSense").l),bq(b,g.Ea(this.ms,a,b)),aq(b,g.Ea(this.xJ,a,b)),"Text"==b.nd()&&(this.C=!0),this.A.push(b)):(b=En(xC),b=Bq(b,a),Bn(xs(a),b))};
g.h.Tc=function(a,b,c){AC.ca.Tc.call(this,a,b,c);this.Qa.rx=!0;a=this.ma();g.Pa(zs(a))?P.g()&&this.ha("companionBackfill"):this.Hd(a)};
g.h.Ax=function(){null==this.A&&(this.A=[],(0,g.C)(this.ads,this.eV,this));if(0==this.A.length)throw Fn(xC);var a=[];(0,g.C)(this.A,function(b){cq(b,this.Va());"Flash"!=b.nd()||b.Ob().getExtension("TemplateAd")||(b.Cx=!0);a.push(b.Cc());Pea(b,this.I.D)},this);
if(0==a.length)throw Fn(xC);hja(this);hz(this,this.ma());return this.mn(a)};
g.h.start=function(){AC.ca.start.call(this);!this.H&&CC(this)&&(this.H=!0,this.ha("contentPauseRequested"));null!=this.l&&this.l.start();if(this.B){var a=DC(this);so(po.getInstance(),33,a)}};
g.h.oo=function(a){AC.ca.oo.call(this,a);(0,g.C)(this.A,function(a){var b=Cq(a.Ob(),this.Ga);this.bc.g=b;this.ig(a,["close"]);this.Aa("close")},this)};
g.h.Pn=function(a){AC.ca.Pn.call(this,a);CC(this)&&(null!=this.o&&g.Gd(this.o),P.l?Qo().Ck(null):xo().Ck(null),this.H&&(this.H=!1,this.ha("contentResumeRequested")))};
g.h.mn=function(a){a=AC.ca.mn.call(this,a);if(CC(this)){var b=Uw(2);g.S(this.g.g,b);g.S(a,b)}return a};
g.h.Uq=function(a){if(CC(this)){var b=g.Nd(a);b&&((a=g.Kd(a)[0])&&g.nh(a,{margin:"0 auto"}),a=this.ads[0].getExtension("AdSense").l||new hv,this.l=new Ex(b,a,2,BC(this),!0),this.Va().U(this.l,"skip",this.XJ),this.Va().U(this.l,"end",this.yK))}else AC.ca.Uq.call(this,a),nn().g("enable_overlays_wta")||(b=pq(Mha,BC(this)),a.appendChild(b))};
g.h.ms=function(a,b){this.B?this.zm(a,b):this.F.push((0,g.A)(this.zm,this,a,b));bq(b,g.z);this.ha("impression")};
g.h.zm=function(a,b){var c=Cq(a,this.Ga);this.bc.g=c;this.Mg(a);this.ig(b,["creativeview"]);this.Aa("impression");this.Aa("creativeview");Ju(this,"start")};
g.h.xJ=function(a,b,c){a=a.getExtension("AdSense");a=new g.um(a.A);var d=b.Db();(0,window.isNaN)(d)&&(d=g.Hh(b.Cc()).width);var e=b.getHeight();(0,window.isNaN)(e)&&(e=g.Hh(b.Cc()).height);var f=g.Dh(c),k=c instanceof ef;b=k&&g.u(c.offsetX)?c.offsetX:f.x;c=k&&g.u(c.offsetY)?c.offsetY:f.y;f=mn();c=["0","aw="+d,"ah="+e,"nx="+b,"ny="+c,"viewMode="+this.Zc,"sdkv=h.0.0.0","eids="+qn(f)];P.g()||(d=g.Hh(this.Ia.Of()),e=this.l?hha(this.l):new g.ed(-1,-1),c=c.concat(["bw="+d.width,"bh="+d.height,"sx="+e.x,
"sy="+e.y]));yn(a,"elementclick",c);(0,g.C)(this.A,function(a){var b=Cq(a.Ob(),this.Ga);this.bc.g=b;gz(this,a);this.Aa("click")},this);
this.ha("click")};
g.h.Ac=function(a){this.Zc!=a&&(AC.ca.Ac.call(this,a),this.ha("expandedChanged"))};
g.h.zn=function(){AC.ca.zn.call(this,this.l?15:0,this.l?65:0)};
g.h.XJ=function(){EC(this,"skip")};
g.h.yK=function(){EC(this,"close")};g.B(FC,g.M);FC.prototype.l=function(a){if(0==a.Bc||nn().g("disable_freqcap_for_hummingbird")&&(g.Pa(a.D)?0:a.D[0].Jn)||0>=this.o||0>=this.g)return!1;var b=(0,g.G)()/1E3;a=a.Bc-this.A.currentTime;0<a&&(b+=a);return b-this.g<=this.o};g.B(GC,FC);GC.prototype.l=function(a){return 5==a.Me()?!1:GC.ca.l.call(this,a)};g.B(wC,Eu);g.h=wC.prototype;
g.h.Tc=function(a,b,c){null!=this.Tb&&(this.Tb.Wc(),this.Tb.dispose(),this.Tb=null);wC.ca.Tc.call(this,a,b,c);a=this.If.g.Cb();b=new Wz(b);var d=4;c&&0<=c.Su&&(d=c.Su);var e=new Mz,f=nn(),k=f.l("sdk_ad_prefetch_time_seconds");0<=k&&(d=k);e.C=d;e.B=f.g("enable_prefetch_for_postrolls");e.g=f.g("enable_midroll_notify");e.o=f.g("enable_postroll_notify");e.l=f.l("midroll_notify_time_seconds");e.A=f.l("postroll_notify_time_seconds");this.Tu=null!=c?c.eD:0;jja(this,a);this.Tb=new Nz(b,this.Bb.ub(),e);a=
this.If.g.Cb();kja(this,a);lja(this);c=g.Ka(this.Bb.ub(),function(a){return 0==a.Bc});
null!=c&&this.hg()&&MC(this,c);try{c={cfg:!0},c.ads=this.Xe,so(po.getInstance(),44,c)}catch(l){}};
g.h.init=function(a){wC.ca.init.call(this,a);this.Xp()};
g.h.qk=function(){var a=new Cz(this.Ie());this.dispatchEvent(new Tw(null,a))};
g.h.destroy=function(){this.dispose()};
g.h.V=function(){this.fb.g=!0;if(0<this.Bb.Dc()){var a=this.Bb.ub();(0,g.C)(a,this.pj,this);this.Bb.clear()}KC(this);NC(this);null!=this.Ia&&(this.Ia.hide(),this.Ia=null);wC.ca.V.call(this)};
g.h.start=function(){wC.ca.start.call(this)};
g.h.stop=function(){null!=this.sb&&(this.pj(this.sb),this.eg())};
g.h.Ab=function(a,b,c){wC.ca.Ab.call(this,a,b,c);this.ge=a;this.fe=b;this.Zc=c;null!=this.sb&&kz(this.sb,this.ge,this.fe,this.Zc)};
g.h.pause=function(){null!=this.sb&&this.sb.pause()};
g.h.resume=function(){null!=this.sb&&this.sb.resume()};
g.h.skip=function(){null!=this.sb&&this.sb.skip()};
g.h.Bf=function(){null!=this.sb&&this.sb.Bf()};
g.h.setVolume=function(a){wC.ca.setVolume.call(this,a);null!=this.sb&&this.sb.setVolume(a)};
g.h.getCurrentTime=function(){return null!=this.sb?this.sb.getCurrentTime():-1};
g.h.getDuration=function(){return null!=this.sb?this.sb.getDuration():-1};
g.h.Lc=function(){return null!=this.sb?this.sb.Lc():-1};
g.h.Ie=function(){var a=g.Wa(this.If.g.Cb());(0,g.C)(this.Bb.ub(),g.Ea(function(a,c){5==c.Me()&&g.Ta(a,c.Bc)},a));
return a};
g.h.xb=function(){return null!=this.sb?this.sb.xb():null};
g.h.Np=function(){};
g.h.Ye=function(a){wC.ca.Ye.call(this,a);null!=this.Bb&&(0,g.C)(this.Bb.ub(),function(b){b.Ye(a)})};
g.h.Xp=function(){this.Tb.Fb();this.Tb.zz(null);var a=g.ua(0)&&!(0,window.isNaN)(0)?this.If.g.get(0,[]):[];g.Pa(a)&&this.ha("contentResumeRequested")};
g.h.handleEvent=function(a){switch(a.type){case "contentTrackingError":break;case "discardAdBreak":JC(this,this.Bb.get(a.g));break;default:g.oC(this.il,a),LC(this)}};
g.h.Mi=function(){this.ha("userClose")};
g.h.Mu=function(){this.ha("why_this_ad_url")};
g.h.Lu=function(){this.ha("why_this_ad_got_it")};
g.h.Li=function(){this.ha("autoClose")};
g.h.pj=function(a){a.destroy();this.Bb.remove(g.Da(a));this.sb=null;null!=this.dc&&(this.dc.Da(a,Ry,this.dispatchEvent,!1,this),this.dc.Da(a,"adError",this.Jy,!1,this),this.dc.Da(a,"allAdsCompleted",this.TB,!1,this),this.dc.Da(a,"contentPauseRequested",this.Dh,!1,this),this.dc.Da(a,"contentResumeRequested",this.eg,!1,this),this.dc.Da(a,"adBreakInitialized",this.UB,!1,this))};
g.h.LQ=function(a){this.Fn=!0;-1==this.Ai?a.l=!1:P.g()&&!HC(this)||IC(this);Xha(this.Tb)};
g.h.im=function(a){if(null!=a.l&&this.Bb.get(a.g).xb().Vb()){var b={};b.adBreakTime=a.l;this.dispatchEvent(new Zm("adNotify",null,b))}};
g.h.km=function(){this.dispatchEvent(new Zm("discardAdNotify",null))};
g.h.KP=function(a){var b=a.l,c=0==b,d=-1==b;this.fl?(c?this.ha("contentResumeRequested"):!d||P.g()&&!HC(this)||IC(this),this.fl=!1):(d?g.rg(function(){var b=this.Bb.get(a.g);b&&this.pj(b);P.g()&&!HC(this)||IC(this)},500,this):c&&g.rg(function(){this.ha("contentResumeRequested")},100,this),c={},c.adBreakTime=b,this.dispatchEvent(new Zm("adBreakReady",null,c)))};
g.h.Jy=function(a){var b=a.getError(),c=b.Pb();try{var d={};d.ec=c;so(po.getInstance(),44,d)}catch(e){}if(P.g()&&b&&"adLoadError"==b.Ub()&&(this.dispatchEvent(a),null!=this.Tb))for(b=this.Tb,a=a.target.Bc,c=0;c<b.g.length;c++)b.g[c].g==a&&(b.g[c].A=!0)};
g.h.TB=function(a){this.pj(a.target);(HC(this)||!P.g()&&this.Fn)&&IC(this);this.Ud=null;LC(this)};
g.h.Dh=function(){var a=this.Tb;a.l.stop();a.o=!1;this.ha("contentPauseRequested")};
g.h.eg=function(){this.ha("contentResumeRequested");this.Pq||Qz(this.Tb);this.Ud=null};
g.h.UB=function(a){this.Ud=null;var b=a.target;a={};a.adBreakTime=b.Bc;this.dispatchEvent(new Zm("prefetched",b.xb(),a));if(null!=this.Tb){a=this.Tb;b=b.Bc;for(var c=0;c<a.g.length;c++)a.g[c].g==b&&(a.g[c].ne=!0)}LC(this)};
g.h.ha=function(a){var b=null;null!=this.sb&&(b=this.sb.xb());this.dispatchEvent(new Zm(a,b))};
g.h.wj=function(a){return g.Ka(this.Bb.ub(),g.Ea(function(a,c){return c.Bc==a},a))};
g.h.UD=function(a,b){P.g()?this.Yd=new GC(a,b):this.Yd=new FC(a,b);return this.Yd};
g.h.He=function(){return P.g()&&null!=OC(this)&&null!=OC(this).g?OC(this).g.He():null};
g.h.fg=function(a){null!=OC(this)&&OC(this).fg(a)};
g.h.hg=function(){return null===this.Ia?!1:this.Qa.Cl&&co(this.Ia)};g.B(QC,g.Cf);QC.prototype.V=function(){null!=this.g&&(this.g.Da("adsManagerLoaded",this.dispatchEvent),this.g.Da("adError",this.dispatchEvent),this.g.Da("adLoadError",this.dispatchEvent),this.g=null);QC.ca.V.call(this)};SC.prototype.clone=function(){return new SC(this.g,this.D,this.o,this.B,this.A,this.C,this.l,this.F)};UC.prototype.l=0;UC.prototype.reset=function(){this.g=this.o=this.A;this.l=0};
UC.prototype.getValue=function(){return this.o};g.B(g.WC,g.M);g.h=g.WC.prototype;g.h.subscribe=function(a,b,c){var d=this.l[a];d||(d=this.l[a]=[]);var e=this.tc;this.g[e]=a;this.g[e+1]=b;this.g[e+2]=c;this.tc=e+3;d.push(e);return e};
g.h.unsubscribe=function(a,b,c){if(a=this.l[a]){var d=this.g;if(a=g.Ka(a,function(a){return d[a+1]==b&&d[a+2]==c}))return this.Qd(a)}return!1};
g.h.Qd=function(a){var b=this.g[a];if(b){var c=this.l[b];0!=this.A?(this.o.push(a),this.g[a+1]=g.z):(c&&g.Ta(c,a),delete this.g[a],delete this.g[a+1],delete this.g[a+2])}return!!b};
g.h.T=function(a,b){var c=this.l[a];if(c){for(var d=Array(arguments.length-1),e=1,f=arguments.length;e<f;e++)d[e-1]=arguments[e];if(this.B)for(e=0;e<c.length;e++){var k=c[e];qja(this.g[k+1],this.g[k+2],d)}else{this.A++;try{for(e=0,f=c.length;e<f;e++)k=c[e],this.g[k+1].apply(this.g[k+2],d)}finally{if(this.A--,0<this.o.length&&0==this.A)for(;c=this.o.pop();)this.Qd(c)}}return 0!=e}return!1};
g.h.clear=function(a){if(a){var b=this.l[a];b&&((0,g.C)(b,this.Qd,this),delete this.l[a])}else this.g.length=0,this.l={}};
g.h.Dc=function(a){if(a){var b=this.l[a];return b?b.length:0}a=0;for(b in this.l)a+=this.Dc(b);return a};
g.h.V=function(){g.WC.ca.V.call(this);this.clear();this.o.length=0};g.XC.prototype.set=function(a,b){g.u(b)?this.g.set(a,g.xg(b)):this.g.remove(a)};
g.XC.prototype.get=function(a){try{var b=this.g.get(a)}catch(c){return}if(null!==b)try{return JSON.parse(b)}catch(c){throw"Storage: Invalid value was encountered";}};
g.XC.prototype.remove=function(a){this.g.remove(a)};g.B(YC,g.XC);YC.prototype.set=function(a,b){YC.ca.set.call(this,a,$C(b))};
YC.prototype.l=function(a){a=YC.ca.get.call(this,a);if(!g.u(a)||a instanceof Object)return a;throw"Storage: Invalid value was encountered";};
YC.prototype.get=function(a){if(a=this.l(a)){if(a=a.data,!g.u(a))throw"Storage: Invalid value was encountered";}else a=void 0;return a};g.B(aD,YC);aD.prototype.set=function(a,b,c){if(b=$C(b)){if(c){if(c<(0,g.G)()){aD.prototype.remove.call(this,a);return}b.expiration=c}b.creation=(0,g.G)()}aD.ca.set.call(this,a,b)};
aD.prototype.l=function(a,b){var c=aD.ca.l.call(this,a);if(c)if(!b&&g.bD(c))aD.prototype.remove.call(this,a);else return c};g.B(g.cD,aD);g.B(dD,rja);dD.prototype.Dc=function(){var a=0;g.sk(this.Rd(!0),function(){a++});
return a};
dD.prototype.clear=function(){var a=vca(this.Rd(!0)),b=this;(0,g.C)(a,function(a){b.remove(a)})};g.B(eD,dD);g.h=eD.prototype;g.h.isAvailable=function(){if(!this.g)return!1;try{return this.g.setItem("__sak","1"),this.g.removeItem("__sak"),!0}catch(a){return!1}};
g.h.set=function(a,b){try{this.g.setItem(a,b)}catch(c){if(0==this.g.length)throw"Storage mechanism: Storage disabled";throw"Storage mechanism: Quota exceeded";}};
g.h.get=function(a){a=this.g.getItem(a);if(!g.w(a)&&null!==a)throw"Storage mechanism: Invalid value was encountered";return a};
g.h.remove=function(a){this.g.removeItem(a)};
g.h.Dc=function(){return this.g.length};
g.h.Rd=function(a){var b=0,c=this.g,d=new pk;d.next=function(){if(b>=c.length)throw qk;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.g.clear()};
g.h.key=function(a){return this.g.key(a)};g.B(fD,eD);g.B(gD,eD);g.B(iD,dD);var sja={".":".2E","!":".21","~":".7E","*":".2A","'":".27","(":".28",")":".29","%":"."},hD=null;g.h=iD.prototype;g.h.isAvailable=function(){return!!this.g};
g.h.set=function(a,b){this.g.setAttribute(jD(a),b);kD(this)};
g.h.get=function(a){a=this.g.getAttribute(jD(a));if(!g.w(a)&&null!==a)throw"Storage mechanism: Invalid value was encountered";return a};
g.h.remove=function(a){this.g.removeAttribute(jD(a));kD(this)};
g.h.Dc=function(){return lD(this).attributes.length};
g.h.Rd=function(a){var b=0,c=lD(this).attributes,d=new pk;d.next=function(){if(b>=c.length)throw qk;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=lD(this),b=a.attributes.length;0<b;b--)a.removeAttribute(a.attributes[b-1].nodeName);kD(this)};g.B(mD,dD);mD.prototype.set=function(a,b){this.l.set(this.g+a,b)};
mD.prototype.get=function(a){return this.l.get(this.g+a)};
mD.prototype.remove=function(a){this.l.remove(this.g+a)};
mD.prototype.Rd=function(a){var b=this.l.Rd(!0),c=this,d=new pk;d.next=function(){for(var d=b.next();d.substr(0,c.g.length)!=c.g;)d=b.next();return a?d.substr(c.g.length):c.l.get(d)};
return d};oD.prototype.getValue=function(){return this.g};
oD.prototype.clone=function(){return new oD(this.tc,this.g)};g.h=pD.prototype;g.h.remove=function(){var a=this.g,b=a.length,c=a[0];if(!(0>=b)){if(1==b)Qa(a);else{a[0]=a.pop();a=0;b=this.g;for(var d=b.length,e=b[a];a<d>>1;){var f=2*a+1,k=2*a+2;f=k<d&&b[k].tc<b[f].tc?k:f;if(b[f].tc>e.tc)break;b[a]=b[f];a=f}b[a]=e}return c.getValue()}};
g.h.ub=function(){for(var a=this.g,b=[],c=a.length,d=0;d<c;d++)b.push(a[d].getValue());return b};
g.h.Cb=function(){for(var a=this.g,b=[],c=a.length,d=0;d<c;d++)b.push(a[d].tc);return b};
g.h.clone=function(){return new pD(this)};
g.h.Dc=function(){return this.g.length};
g.h.isEmpty=function(){return g.Pa(this.g)};
g.h.clear=function(){Qa(this.g)};g.B(rD,pD);var uja=/^\.google\.(com?\.)?[a-z]{2,3}$/,vja=/\.(cn|com\.bi|do|sl|ba|by|ma|am)$/,uD=g.x,tD,vD,yD={Pr:function(){return 0<vD[8]},
MU:function(){vD[8]++},
NU:function(){0<vD[8]&&vD[8]--},
OU:function(){vD[8]=0},
shouldRetry:function(){return!1},
Oy:function(){return vD[5]},
Bx:function(a){try{a()}catch(b){g.x.setTimeout(function(){throw b;},0)}},
Xu:function(){if(!yD.Pr()){var a=g.x.document,b=function(b){b=wja(b);a:{try{var c=vba();break a}catch(l){}c=void 0}var d=c;tja(a,b,d);c=a.createElement("script");c.type="text/javascript";d&&(c.nonce=d);c.onerror=function(){return g.x.processGoogleToken({},2)};
b=g.ae(b);g.Zc(c,b);try{(a.head||a.body||a.documentElement).appendChild(c),yD.MU()}catch(l){}},c=vD[1];
b(c);".google.com"!=c&&b(".google.com");b={};var d=(b.newToken="FBT",b);g.x.setTimeout(function(){return g.x.processGoogleToken(d,1)},1E3)}}};/*
 Portions of this code are from MochiKit, received by
 The Closure Authors under the MIT license. All other code is Copyright
 2005-2009 The Closure Authors. All Rights Reserved.
*/
AD.prototype.cancel=function(a){if(this.g)this.o instanceof AD&&this.o.cancel();else{if(this.l){var b=this.l;delete this.l;a?b.cancel(a):(b.F--,0>=b.F&&b.cancel())}this.K?this.K.call(this.J,this):this.H=!0;this.g||(a=new KD(this),ED(this),CD(this,!1,a))}};
AD.prototype.I=function(a,b){this.D=!1;CD(this,a,b)};
AD.prototype.Wk=function(a){ED(this);CD(this,!0,a)};
AD.prototype.then=function(a,b,c){var d,e,f=new g.Wf(function(a,b){d=a;e=b});
FD(this,d,function(a){a instanceof KD?f.cancel():e(a)});
return f.then(a,b,c)};
Tf(AD);AD.prototype.isError=function(a){return a instanceof Error};
g.B(DD,Ha);DD.prototype.message="Deferred has already fired";DD.prototype.name="AlreadyCalledError";g.B(KD,Ha);KD.prototype.message="Deferred was canceled";KD.prototype.name="CanceledError";JD.prototype.l=function(){delete ID[this.Ea];throw this.g;};
var ID={};g.B(LD,we);var yja=[2,13,14];g.B(MD,we);LD.prototype.Ub=function(){var a=Ae(this,11);return null==a?0:a};var Hpa={cX:0,aX:1,YW:2,bX:4,dX:14,ZW:15,eX:17},Ipa={iX:0,gX:1,fX:2,hX:3,jX:14},Jpa={k_:0,l_:1,n_:2,m_:3,j_:4};g.gG=window.performance&&window.performance.timing&&window.performance.now?function(){return window.performance.timing.navigationStart+window.performance.now()}:function(){return(new Date).getTime()};g.OD=window.yt&&window.yt.config_||window.ytcfg&&window.ytcfg.data_||{};g.va("yt.config_",g.OD,void 0);(0,g.G)();var UD=g.u(window.XMLHttpRequest)?function(){return new window.XMLHttpRequest}:g.u(window.ActiveXObject)?function(){return new window.ActiveXObject("Microsoft.XMLHTTP")}:null;var iE={"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"},oE=!1;var BI=EM||DM;var HE={},Ija=0;g.t(IE,Ha);LE.prototype.then=function(a,b,c){return this.o?this.o.then(a,b,c):1===this.l&&a?(a=a.call(c,this.g),Uf(a)?a:NE(a)):2===this.l&&b?(a=b.call(c,this.g),Uf(a)?a:ME(a)):this};
LE.prototype.getValue=function(){return this.g};
Tf(LE);g.t(PE,Ha);PE.prototype.name="BiscottiError";g.t(OE,Ha);OE.prototype.name="BiscottiMissingError";var RE={format:"RAW",method:"GET",timeout:5E3,withCredentials:!0},QE=null;g.t(XE,Ha);XE.prototype.name="YuzuError";var bF={};var Jua,cF;Jua=0;cF=g.yd?"webkit":g.ph?"moz":g.wd?"ms":g.cf?"o":"";g.Kua=g.y("ytDomDomGetNextId")||function(){return++Jua};
g.va("ytDomDomGetNextId",g.Kua,void 0);var Mja={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};jF.prototype.preventDefault=function(){this.event&&(this.event.returnValue=!1,this.event.preventDefault&&this.event.preventDefault())};
jF.prototype.Uz=function(){return this.event?!1===this.event.returnValue:!1};
jF.prototype.stopPropagation=function(){this.event&&(this.event.cancelBubble=!0,this.event.stopPropagation&&this.event.stopPropagation())};
jF.prototype.stopImmediatePropagation=function(){this.event&&(this.event.cancelBubble=!0,this.event.stopImmediatePropagation&&this.event.stopImmediatePropagation())};var nF=g.y("ytEventsEventsListeners")||{};g.va("ytEventsEventsListeners",nF,void 0);var oF=g.y("ytEventsEventsCounter")||{count:0};g.va("ytEventsEventsCounter",oF,void 0);var Lua=g.Hf(function(){var a=!1;try{var b=Object.defineProperty({},"passive",{get:function(){a=!0}});
window.addEventListener("test",null,b)}catch(c){}return a}),pF=g.Hf(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.BF,g.M);g.BF.prototype.U=function(a,b,c,d){c=(0,g.A)(c,d||this.l);a=g.qF(a,b,c);this.g.push(a);return a};
g.BF.prototype.th=function(a,b,c,d){c=(0,g.A)(c,d||this.l);a=AF(a,b,c);this.g.push(a);return a};
g.BF.prototype.Da=function(a){g.rF(a);g.Ta(this.g,a)};
g.BF.prototype.V=function(){g.CF(this);g.M.prototype.V.call(this)};g.B(DF,g.M);DF.prototype.I=function(a){this.g=new g.ed(lF(a),mF(a))};
DF.prototype.C=function(){if(this.g){var a=g.gG();if(0!=this.A){var b=this.B,c=this.g,d=b.x-c.x;b=b.y-c.y;d=Math.sqrt(d*d+b*b)/(a-this.A);this.l[this.Eb]=.5<Math.abs((d-this.o)/this.o)?1:0;for(c=b=0;4>c;c++)b+=this.l[c]||0;3<=b&&this.F();this.o=d}this.A=a;this.B=this.g;this.Eb=(this.Eb+1)%4}};
DF.prototype.V=function(){window.clearInterval(this.H);g.rF(this.D)};g.t(g.EF,g.M);g.EF.prototype.O=function(a,b,c,d,e){c=SD((0,g.A)(c,d||this.Xb));c={target:a,name:b,Wk:c};var f;e&&Lua()&&(f={passive:!0});a.addEventListener(b,c.Wk,f);this.J.push(c);return c};
g.EF.prototype.Da=function(a){for(var b=0;b<this.J.length;b++)if(this.J[b]==a){this.J.splice(b,1);a.target.removeEventListener(a.name,a.Wk);break}};
g.EF.prototype.V=function(){g.GF(this);g.M.prototype.V.call(this)};g.B(g.HF,g.M);g.HF.prototype.subscribe=function(a,b,c){return this.ka()?0:this.ea.subscribe(a,b,c)};
g.HF.prototype.unsubscribe=function(a,b,c){return this.ka()?!1:this.ea.unsubscribe(a,b,c)};
g.HF.prototype.Qd=function(a){return this.ka()?!1:this.ea.Qd(a)};
g.HF.prototype.T=function(a,b){return this.ka()?!1:this.ea.T.apply(this.ea,arguments)};g.t(g.JF,g.HF);g.h=g.JF.prototype;g.h.cancel=function(){this.A&&(this.A=!1,this.T("dragend",0,0,null));this.l&&(this.l=!1,this.T("hoverend",0,0,null),g.GF(this.g),IF(this))};
g.h.zA=function(a){g.GF(this.g);KF(this,LF("move"),this.xA);KF(this,LF("out"),this.yA);KF(this,"touchstart",this.Gt);this.o&&KF(this,LF("down"),this.Ft);var b=g.sF(a);a=vF(a);this.l=!0;this.T("hoverstart",a.x,a.y,b);this.T("hovermove",a.x,a.y,b)};
g.h.xA=function(a){var b=g.sF(a);a=vF(a);if(this.B){var c=this.B;this.B=null;if(uF(c)==b&&fd(vF(c),a))return}this.T("hovermove",a.x,a.y,b)};
g.h.yA=function(a){var b=vF(a),c=uF(a);c&&g.Od(this.C,c)?(this.B=a,this.T("hovermove",b.x,b.y,c)):(g.GF(this.g),IF(this),this.l=!1,this.T("hoverend",b.x,b.y,c))};
g.h.AP=function(a){this.zA(a);this.Ft(a)};
g.h.Ft=function(a){if(!g.ua(a.button)||0==a.button){g.GF(this.g);this.g.O(window.document,LF("move"),this.zP);this.g.O(window.document,LF("up"),this.NL);var b=g.sF(a);if(g.yd)KF(this,"dragstart",this.RI);else if(g.wF(a),(g.mH||g.ph)&&b)a:{for(var c=b;c;){if(g.Ud(c)||"-1"===c.getAttribute("tabindex")){c.focus();break a}c=c.parentElement}window.document.activeElement.blur()}this.A=!0;a=vF(a);this.T("dragstart",a.x,a.y,b);this.T("dragmove",a.x,a.y,b)}};
g.h.RI=function(a){g.wF(a)};
g.h.zP=function(a){var b=g.sF(a);b==window.document&&(b=null);a=vF(a);this.T("hovermove",a.x,a.y,b);this.T("dragmove",a.x,a.y,b)};
g.h.NL=function(a){g.GF(this.g);this.A=!1;var b=tF(a),c=g.sF(a);a=vF(a);b&&g.Od(this.C,b)?(KF(this,LF("move"),this.xA),KF(this,LF("out"),this.yA),KF(this,LF("down"),this.Ft),KF(this,"touchstart",this.Gt),this.T("dragend",a.x,a.y,c)):(IF(this),this.l=!1,this.T("dragend",a.x,a.y,c),this.T("hoverend",a.x,a.y,c))};
g.h.Gt=function(a){var b=a.changedTouches[0];b&&(g.GF(this.g),KF(this,"touchmove",this.OL),KF(this,"touchend",this.AA),KF(this,"touchcancel",this.AA),this.D=b.identifier,a=g.sF(a),this.l||(this.l=!0,this.T("hoverstart",b.pageX,b.pageY,a)),this.T("hovermove",b.pageX,b.pageY,a),this.o&&(this.A=!0,this.T("dragstart",b.pageX,b.pageY,a),this.T("dragmove",b.pageX,b.pageY,a)))};
g.h.OL=function(a){var b=MF(this,a);b&&(this.o&&g.wF(a),a=g.sF(a),this.T("hovermove",b.pageX,b.pageY,a),this.o&&this.T("dragmove",b.pageX,b.pageY,a))};
g.h.AA=function(a){var b=MF(this,a);if(b){g.GF(this.g);IF(this);this.l=!1;var c=g.sF(a);this.o&&(this.F||g.wF(a),this.A=!1,this.T("dragend",b.pageX,b.pageY,c));this.T("hoverend",b.pageX,b.pageY,c)}};
g.h.V=function(){this.o&&(g.yd&&this.C.removeAttribute("draggable"),this.C.style.touchAction="");g.GF(this.g);g.HF.prototype.V.call(this)};var Pja={enablejsapi:1},Qja={};OF.prototype.clone=function(){var a=new OF,b;for(b in this)if(this.hasOwnProperty(b)){var c=this[b];"object"==xa(c)?a[b]=g.$b(c):a[b]=c}return a};var FG={},EG=0;var Mua=g.y("ytPubsubPubsubInstance")||new g.WC;g.WC.prototype.subscribe=g.WC.prototype.subscribe;g.WC.prototype.unsubscribeByKey=g.WC.prototype.Qd;g.WC.prototype.publish=g.WC.prototype.T;g.WC.prototype.clear=g.WC.prototype.clear;g.va("ytPubsubPubsubInstance",Mua,void 0);g.QF=g.y("ytPubsubPubsubSubscribedKeys")||{};g.va("ytPubsubPubsubSubscribedKeys",g.QF,void 0);g.SF=g.y("ytPubsubPubsubTopicToKeys")||{};g.va("ytPubsubPubsubTopicToKeys",g.SF,void 0);var RF=g.y("ytPubsubPubsubIsSynchronous")||{};
g.va("ytPubsubPubsubIsSynchronous",RF,void 0);var Tja=Math.pow(2,16)-1,Sja={log_event:"events",log_interaction:"interactions"},Nua=Object.create(null);Nua.log_event="GENERIC_EVENT_LOGGING";Nua.log_interaction="INTERACTION_LOGGING";var $F={},dG=0,eG=g.y("ytLoggingTransportLogPayloadsQueue_")||{};g.va("ytLoggingTransportLogPayloadsQueue_",eG,void 0);var YF=g.y("ytLoggingTransportTokensToCttTargetIds_")||{};g.va("ytLoggingTransportTokensToCttTargetIds_",YF,void 0);var fG=g.y("ytLoggingTransportDispatchedStats_")||{};
g.va("ytLoggingTransportDispatchedStats_",fG,void 0);g.va("ytytLoggingTransportCapturedTime_",g.y("ytLoggingTransportCapturedTime_")||{},void 0);g.t(lG,Uja);lG.prototype.start=function(){var a=g.y("yt.scheduler.instance.start");a&&a()};
lG.prototype.pause=function(){var a=g.y("yt.scheduler.instance.pause");a&&a()};
g.wa(lG);lG.getInstance();var sG={};zG.prototype.set=function(a,b,c,d){c=c||31104E3;this.remove(a);if(this.g)try{this.g.set(a,b,(0,g.G)()+1E3*c);return}catch(f){}var e="";if(d)try{e=(0,window.escape)(g.xg(b))}catch(f){return}else e=(0,window.escape)(b);g.xG(a,e,c,this.l)};
zG.prototype.get=function(a,b){var c=void 0,d=!this.g;if(!d)try{c=this.g.get(a)}catch(e){d=!0}if(d&&(c=wG.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};
zG.prototype.remove=function(a){this.g&&this.g.remove(a);g.yG(a,"/",this.l)};new zG;var CG=g.y("ytLoggingLatencyUsageStats_")||{};g.va("ytLoggingLatencyUsageStats_",CG,void 0);var DG=0;var GG=(0,g.G)().toString();IG();var MG;g.LG=g.Hf(function(){var a=new fD;return a.isAvailable()?new g.cD(a):null});
MG=g.Hf(function(){var a=new gD;return a.isAvailable()?new g.cD(a):null});var RG=window.yt&&window.yt.msgs_||window.ytcfg&&window.ytcfg.msgs||{};g.va("yt.msgs_",RG,void 0);Ga=function(a,b){b=void 0===b?{}:b;var c=a in RG?RG[a]:a,d;for(d in b){var e=(""+b[d]).replace(/\$/g,"$$$$");c=c.replace(new RegExp("\\{\\$"+d+"\\}","gi"),e);c=c.replace(new RegExp("\\$"+d,"gi"),e)}return c};var c0=16/9,Oua=[.25,.5,.75,1,1.25,1.5,2];var I1={},Pua=(I1["api.invalidparam"]=2,I1.auth=150,I1["drm.auth"]=150,I1["heartbeat.net"]=150,I1["heartbeat.servererror"]=150,I1["heartbeat.stop"]=150,I1["html5.unsupportedads"]=5,I1["fmt.noneavailable"]=5,I1["fmt.decode"]=5,I1["fmt.unplayable"]=5,I1["html5.missingapi"]=5,I1["html5.unsupportedlive"]=5,I1["drm.unavailable"]=5,I1);var qka={DX:"auto",N2:"tiny",D_:"light",h2:"small",dH:"medium",z_:"large",RZ:"hd720",NZ:"hd1080",OZ:"hd1440",PZ:"hd2160",QZ:"hd2880",XZ:"highres",UNKNOWN:"unknown"};var $ja=/^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\/)/,Yja=/^http:\/\/0\.[a-z0-9\-_]+\.[a-z0-9\-_]+\.l2gfe\.[a-z0-9_]+\.([a-z]{2}|i)\.borg\.google\.com(:[0-9]+)?\/|^https?:\/\/((?:uytfe\.corp|dev-uytfe\.corp|uytfe\.sandbox)\.google\.com\/|([-\w]*www[-\w]*\.|[-\w]*web[-\w]*\.|[-\w]*canary[-\w]*\.|[-\w]*dev[-\w]*\.|[-\w]{1,3}\.)+youtube(education|-nocookie)?\.com\/|([A-Za-z0-9-]{1,63}\.)*(youtube\.googleapis\.com)(:[0-9]+)?\/|([a-z]+\.)?[a-z0-9\-]{1,63}\.([a-z]{3}|i)\.corp\.google\.com(:[0-9]+)?\/|([a-z]+\.)?[a-z0-9\-]{1,63}\.c\.googlers\.com(:[0-9]+)?\/|(docs|drive)\.google\.com\/(a\/[^/\\%]+\/|)|[A-Za-z0-9]+(-v6)?\.prod\.google\.com(:[0-9]+)?\/|m?web-ppg\.corp\.google\.com\/|play\.google\.com\/)/,
aka=/^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)/,eka=/^https?:\/\/(([A-Za-z0-9-]{1,63}\.)*(corp\.google\.com|c\.googlers\.com|docs\.google\.com|drive\.google\.com|prod\.google\.com|plus\.google\.com|mail\.google\.com|youtube\.com|youtube\-nocookie\.com|youtubeeducation\.com)(:[0-9]+)?\/|([A-Za-z0-9-]{1,63}\.)*(sandbox\.google\.com)(:[0-9]+)?\/(?!url\b))/,ona=/^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))/,
cka=/^((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\/)/,
Zja=/^https?.*#ocr$|^https?:\/\/(aksecure\.imrworldwide\.com\/|cdn\.imrworldwide\.com\/|secure\-..\.imrworldwide\.com\/)/,dka=/^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)/,bka=/^((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))/,
ula=/^https?:\/\/(([A-Za-z0-9-]{1,63}\.)*(imasdk\.googleapis\.com|2mdn\.net|googlesyndication\.com|corp\.google\.com|c\.googlers\.com|borg\.google\.com|googleads\.g\.doubleclick\.net|prod\.google\.com|static\.doubleclick\.net|static\.googleadsserving\.cn|studioapi\.doubleclick\.net|youtube\.com|youtube\.googleapis\.com|youtube\-nocookie\.com|youtubeeducation\.com|ytimg\.com)(:[0-9]+)?\/|lightbox-(demos|builder)\.appspot\.com\/|s[01](qa)?\.2mdn\.net\/ads\/richmedia\/studio\/mu\/templates\/tetris|www\.gstatic\.com\/doubleclick\/studio\/innovation\/h5\/layouts\/tetris|www\.gstatic\.com\/doubleclick\/studio\/innovation\/ytplayer)/,
tla=/^https?:\/\/(([A-Za-z0-9-]{1,63}\.)*(imasdk\.googleapis\.com|corp\.google\.com|c\.googlers\.com|borg\.google\.com|docs\.google\.com|drive\.google\.com|googleads\.g\.doubleclick\.net|googleplex\.com|play\.google\.com|prod\.google\.com|photos\.google\.com|get\.google\.com|plus\.google\.com|spaces\.google\.com|books\.googleusercontent\.com|blogger\.com|mail\.google\.com|play\-books\-internal\-sandbox\.googleusercontent\.com|talkgadget\.google\.com|survey\.g\.doubleclick\.net|youtube\.com|youtube\.googleapis\.com|youtube\-nocookie\.com|vevo\.com|jamboard\.google\.com|chat\.google\.com|meet\.google\.com)(:[0-9]+)?\/|([A-Za-z0-9-]{1,63}\.)*(sandbox\.google\.com)(:[0-9]+)?\/(?!url\b)|(www\.|encrypted\.)?google\.(cat|com(\.(a[fgiru]|b[dhnorz]|c[ouy]|do|e[cgt]|fj|g[hit]|hk|jm|kh|kw|l[bcy]|m[mtxy]|n[afgip]|om|p[aeghkry]|qa|s[abglv]|t[jnrw]|ua|uy|vc|vn))?|a[cdelmstz]|c[acdfghilmnvz]|b[aefgijsty]|ee|es|d[ejkmz]|g[aefglmpry]|f[imr]|i[emoqrst]|h[nrtu]|k[giz]|je|jo|m[degklnsuvw]|l[aiktuv]|n[eloru]|p[lnst]|s[cehikmnort]|r[osuw]|us|t[dgklmnot]|ws|vg|vu|co\.(ao|bw|ck|cr|i[dln]|jp|ke|kr|ls|ma|mz|nz|th|tz|u[gkz]|ve|vi|z[amw]))\/(search|webhp)\?|lightbox-(demos|builder)\.appspot\.com\/|s0\.2mdn\.net\/instream\/html5\/native\/|s[01](qa)?\.2mdn\.net\/ads\/richmedia\/studio\/mu\/templates\/tetris|www\.gstatic\.com\/doubleclick\/studio\/innovation\/h5\/layouts\/tetris)/,
Qua=/^(https\:\/\/googleads\.g\.doubleclick\.net|https\:\/\/play\.google\.com|https\:\/\/photos\.google\.com|https\:\/\/get\.google\.com|https\:\/\/plus\.google\.com|https\:\/\/mail\.google\.com|https\:\/\/talkgadget\.google\.com|https\:\/\/jamboard\.google\.com|https\:\/\/chat\.google\.com)$|^http:\/\/0\.[a-z0-9\-_]+\.[a-z0-9\-_]+\.[a-z0-9\-_]+\.([a-z]{2}|i)\.borg\.google\.com(:[0-9]+)?$|^http:\/\/[A-Za-z0-9]+(-v6)?\.prod\.google\.com(:[0-9]+)?$|^https:\/\/((staging|today)\.)?meet\.google\.com$|^https:\/\/([A-Za-z0-9-]{1,63}\.)*youtube\.com$|^https:\/\/([A-Za-z0-9-]{1,63}\.)+sandbox\.google\.com$|^https:\/\/(books|play-books-internal-sandbox)\.googleusercontent\.com$|^https:\/\/(draft|www|www\.daily\.alpha)\.blogger\.com$|^https?:\/\/(((docs|m|sing|ss|sss|www)\.)?drive\.google\.com$|([A-Za-z0-9-]{1,63}\.)*corp\.google\.com(:[0-9]+)?$|([A-Za-z0-9-]{1,63}\.)*googleplex\.com(:[0-9]+)?$|(www\.|encrypted\.)google\.(cat|com(\.(a[fgiru]|b[dhnorz]|c[ouy]|do|e[cgt]|fj|g[hit]|hk|jm|kh|kw|l[bcy]|m[mtxy]|n[afgip]|om|p[aeghkry]|qa|s[abglv]|t[jnrw]|ua|uy|vc|vn))?|a[cdelmstz]|c[acdfghilmnvz]|b[aefgijsty]|ee|es|d[ejkmz]|g[aefglmpry]|f[imr]|i[emoqrst]|h[nrtu]|k[giz]|je|jo|m[degklnsuvw]|l[aiktuv]|n[eloru]|p[lnst]|s[cehikmnort]|r[osuw]|us|t[dgklmnot]|ws|vg|vu|co\.(ao|bw|ck|cr|i[dln]|jp|ke|kr|ls|ma|mz|nz|th|tz|u[gkz]|ve|vi|z[amw]))$|docs\.google\.com$|imasdk\.googleapis\.com$|lightbox-(demos|builder)\.appspot\.com$|s[01](qa)?\.2mdn\.net$|survey\.g\.doubleclick\.net$|www\.gstatic\.com$)/;var fka=1;g.t(g.lH,g.M);g.lH.prototype.ua=function(a,b){g.ua(b)?Hd(a,this.element,b):a.appendChild(this.element)};
g.lH.prototype.update=function(a){for(var b in a)this.updateValue(b,a[b])};
g.lH.prototype.updateValue=function(a,b){var c=this.Pa["{{"+a+"}}"];c&&oH(this,c[0],c[1],b)};
g.lH.prototype.V=function(){this.g={};this.Pa={};g.pH(this);g.M.prototype.V.call(this)};g.t(g.W,g.lH);g.h=g.W.prototype;g.h.Mb=function(a,b){this.updateValue(b||"content",a)};
g.h.show=function(){this.l||(this.element.style.display=this.Ed,this.l=!0)};
g.h.hide=function(){this.l&&(this.element.style.display="none",this.l=!1)};
g.h.U=function(a,b,c){return this.O(this.element,a,b,c)};
g.h.O=function(a,b,c,d){c=(0,g.A)(c,d||this);d={target:a,type:b,listener:c};this.Y.push(d);a.addEventListener(b,c);return d};
g.h.Da=function(a){for(var b=0;b<this.Y.length;b++)if(this.Y[b]==a){a=this.Y.splice(b,1)[0];a.target.removeEventListener(a.type,a.listener);break}};
g.h.focus=function(){g.Ud(this.element);this.element.focus()};
g.h.V=function(){for(;this.Y.length;){var a=this.Y.pop();a.target.removeEventListener(a.type,a.listener)}g.lH.prototype.V.call(this)};g.t(g.rH,g.W);g.rH.prototype.subscribe=function(a,b,c){return this.Z.subscribe(a,b,c)};
g.rH.prototype.unsubscribe=function(a,b,c){return this.Z.unsubscribe(a,b,c)};
g.rH.prototype.Qd=function(a){return this.Z.Qd(a)};
g.rH.prototype.T=function(a,b){for(var c=[],d=1;d<arguments.length;++d)c[d-1]=arguments[d];return this.Z.T.apply(this.Z,[a].concat(g.oa(c)))};g.t(g.tH,g.rH);g.tH.prototype.updateValue=function(a,b){g.rH.prototype.updateValue.call(this,a,b);this.T("size-change")};g.t(xH,g.M);g.h=xH.prototype;
g.h.XM=function(a,b,c){var d=this.H[a];if(!(d||!(d=this.I[a])||c&&Qua.test(c))){var e=Error('API call from an untrusted origin: "'+c+'"');if(this.app.g.experiments.g("player_untrusted_origin_killswitch"))TD(e);else throw e;}e=this.app.g;e.Ph&&!this.J.has(a)&&(this.J.add(a),c={callerUrl:e.loaderUrl,methodName:a,origin:c||void 0,playerStyle:e.playerStyle||void 0},this.app.g.experiments.g("web_player_gel_logging_killswitch")||(this.app.g.experiments.g("web_player_gel_direct")?g.vG("webPlayerApiCalled",
c,void 0,void 0):this.va("onLogToGel",{payload_name:"webPlayerApiCalled",payload:c})));if(d){if(!this.app.g.experiments.g("player_injection_reporting_killswitch")){c=!1;e=g.p(b);for(var f=e.next();!f.done;f=e.next())if(String(f.value).includes("javascript:")){c=!0;break}c&&TD(Error('Dangerous call to "'+a+'" with ['+b+"]."))}return d.apply(this,b)}throw Error('Unknown API method: "'+a+'".');};
g.h.QM=function(){return this.D.slice()};
g.h.RM=function(){return g.Pb(this.A)};
g.h.la=function(){return this.o};
g.h.addEventListener=function(a,b){if(g.w(b)){var c=function(){g.y(b).apply(window,arguments)};
this.C[b]=c}else c=b;this.app.ea.subscribe(a,c)};
g.h.bJ=function(a,b){var c=this,d=g.w(b)?a+b:a+g.Da(b);if(!this.B[d]){var e;g.w(b)?e=function(){g.y(b).apply(window,arguments)}:e=b;
var f=function(a){e({target:c.l,data:a})};
this.B[d]=f;this.app.ea.subscribe(a,f)}};
g.h.removeEventListener=function(a,b){if(g.w(b)){var c=this.C[b];Xb(this.C,b);b=c}this.app.ea.unsubscribe(a,b)};
g.h.cJ=function(a,b){var c=g.w(b)?a+b:a+g.Da(b),d=this.B[c];d&&(this.app.ea.unsubscribe(a,d),Xb(this.B,c))};
g.h.wh=function(){return C0(this.app)};
g.h.ac=function(a,b,c){this.g&&I0(this.app,!0,this.playerType);Eta(this.app,a,b,c,this.playerType)};
g.h.getCurrentTime=function(){return this.app.getCurrentTime(this.playerType)};
g.h.SM=function(){var a=g.bV(this.app,this.playerType);if(!a)return 0;a=QU(a);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.M.volume};
g.h.setVolume=function(a){BH(this,a)};
g.h.isMuted=function(){return this.app.M.muted};
g.h.mute=function(){CH(this)};
g.h.dg=function(){DH(this)};
g.h.td=function(){this.g&&I0(this.app,!0,this.playerType);var a=g.$U(this.app);2==a?(a=this.app.A.B)&&a.T("control_play"):3==a?g.aV(this.app.A).Yl("control_play"):kY(this.app,this.playerType)};
g.h.hd=function(){var a=g.$U(this.app);2==a?(a=this.app.A.B)&&a.T("control_pause"):3==a?g.aV(this.app.A).Yl("control_pause"):mY(this.app,this.playerType)};
g.h.oe=function(){var a=this.app;a.g.ba&&(a.l.isFullscreen()&&!a.g.experiments.g("player_external_control_on_classic_desktop")&&g.gV(a.l),a.l.T("pageTransition"));Dta(a)};
g.h.NM=function(){};
g.h.Hc=function(){return g.bV(this.app,1).Ma};
g.h.Se=function(a){A0(this.app,a)};
g.h.gk=function(){return this.app.g.ia?Oua:[1]};
g.h.Tl=function(){var a=g.bV(this.app,this.playerType);if(a){var b="unknown";a.g.Ka&&(b=a.g.Ka.video.quality,"auto"==b&&a.l&&(a=nU(a))&&0<a.videoHeight&&(b=LH(a.videoWidth,a.videoHeight)))}else b="unknown";return b};
g.h.Wo=function(){};
g.h.Vt=function(){var a=g.bV(this.app,this.playerType);return a?(a=(0,g.I)(moa(a),function(a){return a.quality}),a.length&&("auto"==a[0]&&a.shift(),a=a.concat(["auto"])),a):[]};
g.h.UM=function(){return this.Wt()};
g.h.VM=function(){return 1};
g.h.Wt=function(){return ota(this.app)};
g.h.WM=function(){return 0};
g.h.setSize=function(){this.app.F.uf()};
g.h.TA=function(a){this.Xt(a?2:1)};
g.h.Xt=function(a){Fta(this.app,a)};
g.h.LM=function(){this.va("SUBSCRIBE")};
g.h.MM=function(){this.va("UNSUBSCRIBE")};
g.h.hk=function(a){"captions"==a&&(a=this.app.A.l)&&!a.loaded&&a.load()};
g.h.Vl=function(a){"captions"==a&&(a=this.app.A.l)&&a.loaded&&a.QV()};
g.h.bN=function(a,b,c){a=G0(this.app,XG(a,b,c),this.playerType);this.g&&I0(this.app,a,this.playerType)};
g.h.NA=function(a,b,c){K0(this.app,XG(a,b,c),this.playerType)};
g.h.cN=function(a,b,c){a=YG(a,b,c);a=G0(this.app,a,this.playerType);this.g&&I0(this.app,a,this.playerType)};
g.h.PM=function(a,b,c){a=YG(a,b,c);K0(this.app,a,this.playerType)};
g.h.getVideoUrl=function(){var a=this.app.g;if(a.D)return"";var b=fY(this.app),c=void 0;b.ya||(c=Math.floor(this.app.getCurrentTime(1)));return a.getVideoUrl(b.videoId,this.getPlaylistId()||void 0,c)};
g.h.Sl=function(){return B0(this.app)};
g.h.QA=function(){var a=this.app.g;if(a.D)var b="";else{var c=fY(this.app).videoId;b=this.app.F.Na();var d=this.getPlaylistId()||void 0;c="https://"+UM(a)+"/embed/"+c;d&&(c=g.Pg(c,{list:d}));d=!a.experiments.g("enable_responsive_embed_snippet");a.experiments.g("embed_snippet_includes_version")&&(c=g.Pg(c,{ecver:d?"1":"2"}));a=b.width;b=b.height;d?(d=g.pb(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.pb(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.MA=function(a,b,c){return Ata(this.app,a,b,c)};
g.h.SA=function(a){a:{for(var b=this.app,c=RS(b.o.I)||[],d=0;d<c.length;d++){var e=c[d];if(e.getId()==a){b.o.I.C(e);qV(b,"cuerangesremoved",[e]);a=!0;break a}}a=!1}return a};
g.h.aN=function(a,b,c,d){var e=this.app;e.ga=!1;L0(e,a,b,c,d);this.g&&I0(this.app,!0,this.playerType)};
g.h.OM=function(a,b,c,d){var e=this.app;e.ga=!0;L0(e,a,b,c,d)};
g.h.ik=function(){O0(this.app);this.g&&I0(this.app,!0,this.playerType)};
g.h.Ul=function(){zta(this.app);this.g&&I0(this.app,!0,this.playerType)};
g.h.RA=function(a){var b=this.app;!b.Y||b.l.isFullscreen()&&!b.ra?b.C&&(b.C.Vc?F0(b,b.C.Zb(a),1):b.ga=!1,AQ(b.C,a)):b.l.va("onPlaylistIndex",a);this.g&&I0(this.app,!0,this.playerType)};
g.h.setShuffle=function(a){var b=this.app.C;b&&b.setShuffle(a)};
g.h.eN=function(a){var b=this.app.C;b&&(b.loop=a)};
g.h.cg=function(){var a=this.app.C;if(!a)return null;for(var b=[],c=0;c<a.getLength();c++){var d=a.Zb(c);d&&b.push(d.videoId)}return b};
g.h.PA=function(){var a=this.app.C;return a?a.ie():-1};
g.h.getPlaylistId=function(){var a=this.app.C;return a&&a.listId?a.listId.toString():null};
g.h.Md=function(a,b,c){if(!b)return null;var d=this.app.A;return"captions"==a?(a=d.l)&&a.Lt(b,c):null};
g.h.yc=function(a,b,c){return this.Md(a,b,c)};
g.h.Gi=function(a){var b=this.app.A;return"captions"==a?(b=b.l)&&b.tM():a?null:(a=[],b.l&&a.push("captions"),a)};
g.h.getVideoData=function(){var a={},b=g.bV(this.app,this.playerType);if(b&&(b=b.getVideoData(),a.video_id=b.videoId,a.author=b.author,a.title=b.title,b.Ka)){a.video_quality=b.Ka.video.quality;b=b.Ka.video;var c=[];32<b.fps&&c.push("hfr");PH(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.UA=function(){kta(this.app,!0)};
g.h.YM=function(){kta(this.app,!1)};
g.h.OA=function(){var a=this.app.A.B;return a?a.eu():-1};
g.h.ZM=function(a){if(a!=this.app.pa.args.video_id)return!1;a=(a=g.bV(this.app,1))?a.o:null;return!(!a||!g.X(a,128)||5!=Pua[a.g.errorCode])};
g.h.TM=function(){var a=this.app.pa.clone();g.Fa(a.args,VO(fY(this.app)));return a};
g.h.fN=function(){this.app.g.X&&this.app.fa.resume()};
g.h.Vo=function(){var a=this.app.A.o;return a?2==this.playerType?{}:a.JA():{}};
g.h.Xo=function(a){if(a&&2!=this.playerType){var b=this.app.A.o;b&&b.KA(a)}};
g.h.destroy=function(){this.app.dispose()};
g.h.dN=function(){var a=g.bV(this.app);a&&!g.X(a.o,128)&&(a.T("internalAbandon"),iU(a),gU(a))};
g.h.T=function(a,b){for(var c=1;c<arguments.length;++c);this.app.g.yb&&("videodatachange"==a||"audiotrackchanged"==a||"resize"==a||"cardstatechange"==a)&&this.app.ea.T.apply(this.app.ea,arguments);this.app.ba.T.apply(this.app.ba,arguments)};
g.h.va=function(a,b){this.app.ea.T.apply(this.app.ea,arguments);this.app.ba.T.apply(this.app.ba,arguments)};
g.h.V=function(){if(this.o){for(var a in this.A)this.o[a]=null;this.o=null}this.C=this.B=null;g.M.prototype.V.call(this)};FH.prototype.l=function(){return this.name};
FH.prototype.getId=function(){return this.id};
FH.prototype.g=function(){return this.isDefault};
FH.prototype.toString=function(){return this.name};
FH.prototype.getName=FH.prototype.l;FH.prototype.getId=FH.prototype.getId;FH.prototype.getIsDefault=FH.prototype.g;g.GH.prototype.toString=function(){return this.languageCode+"_"+this.languageName+"_"+this.g+"_"+this.id+"_"+this.isDefault};g.HH.prototype.Sa=function(){return this.H};
g.HH.prototype.toString=function(){return this.l+": "+g.IH(this)+" - "+this.D};
g.HH.prototype.I=ba(0);g.HH.prototype.Ld=function(){return!(!this.l||this.g&&!this.g.languageCode)};JH.prototype.l=function(){return this.Hb};
JH.prototype.toString=function(){return this.Hb.name};
JH.prototype.getLanguageInfo=JH.prototype.l;var GI={name:"width",video:!0,valid:640,ti:99999},HI={name:"height",video:!0,valid:360,ti:99999},II={name:"framerate",video:!0,valid:30,ti:9999},JI={name:"bitrate",video:!0,valid:3E5,ti:2E9},FI={name:"eotf",video:!0,valid:"bt709",ti:"catavision"},LI={name:"channels",video:!1,valid:2,ti:99},KI={name:"cryptoblockformat",video:!0,valid:"subsample",ti:"invalidformat"},MI={Vm:GI,Om:HI,GZ:II,cw:JI,qZ:FI,lY:LI,DY:KI};var hka={0:"f",160:"h",133:"h",134:"h",135:"h",136:"h",137:"h",264:"h",266:"h",138:"h",298:"h",299:"h",304:"h",305:"h",140:"a",141:"ah",327:"sa",258:"m",161:"H",142:"H",143:"H",144:"H",222:"H",223:"H",145:"H",224:"H",225:"H",146:"H",226:"H",147:"H",384:"H",376:"H",385:"H",377:"H",149:"A",261:"M",278:"9",242:"9",243:"9",244:"9",247:"9",248:"9",271:"9",313:"9",272:"9",302:"9",303:"9",308:"9",315:"9",330:"9h",331:"9h",332:"9h",333:"9h",334:"9h",335:"9h",336:"9h",337:"9h",171:"v",338:"so",250:"o",251:"o",
194:"*",195:"*",220:"*",221:"*",196:"*",197:"*",198:"V",279:"(",280:"(",317:"(",318:"(",273:"(",274:"(",357:"(",358:"(",275:"(",359:"(",360:"(",276:"(",314:"(",277:"(",362:"(h",363:"(h",364:"(h",365:"(h",366:"(h",367:"(h",368:"(h",394:"1",395:"1",396:"1",397:"1",398:"1",399:"1",400:"1",401:"1",402:"1",386:"3",387:"w",406:"6"};var J1;J1={};g.MH=(J1.auto=0,J1.tiny=144,J1.light=144,J1.small=240,J1.medium=360,J1.large=480,J1.hd720=720,J1.hd1080=1080,J1.hd1440=1440,J1.hd2160=2160,J1.hd2880=2880,J1.highres=4320,J1);var QH="highres hd2880 hd2160 hd1440 hd1080 hd720 large medium small tiny".split(" ");aI.prototype.g=function(a){return"true"==this.flags[a]};
aI.prototype.l=function(a){return(0,window.parseFloat)(this.flags[a])||0};
aI.prototype.o=function(a){return(a=this.flags[a])?a.toString():""};g.h=bI.prototype;g.h.append=function(a){this.g.webkitSourceAppend(this.l,a)};
g.h.abort=function(){this.g.webkitSourceAbort(this.l)};
g.h.bW=function(){return this.g.webkitSourceState==this.g.SOURCE_CLOSED?new ika:this.g.webkitSourceBuffered(this.l)};
g.h.dW=function(){return this.o};
g.h.hW=function(a){this.o=a;this.g.webkitSourceTimestampOffset(this.l,a)};g.h=cI.prototype;g.h.addEventListener=function(a,b,c){this.g.addEventListener(a,b,c)};
g.h.removeEventListener=function(a,b,c){this.g.removeEventListener(a,b,c)};
g.h.zO=function(){return this.g.webkitMediaSourceURL};
g.h.addSourceBuffer=function(a){var b=(this.o++).toString();this.g.webkitSourceAddId(b,a);a=new bI(this.g,b);this.sourceBuffers.push(a);return a};
g.h.removeSourceBuffer=function(a){for(var b=0;b<this.sourceBuffers.length;b++)if(a===this.sourceBuffers[b]){this.g.webkitSourceRemoveId(a.l);for(a=b+1;a<this.sourceBuffers.length;a++)this.sourceBuffers[a-1]=this.sourceBuffers[a];this.sourceBuffers.pop();break}};
g.h.eW=function(){switch(this.g.webkitSourceState){case this.g.SOURCE_CLOSED:return"closed";case this.g.SOURCE_OPEN:return"open";case this.g.SOURCE_ENDED:return"ended"}return""};
g.h.endOfStream=function(){this.g.webkitSourceEndOfStream(this.g.EOS_NO_ERROR)};
g.h.fW=function(){Qa(this.sourceBuffers)};
g.h.cW=function(){return this.l};
g.h.gW=function(a){this.l=a;this.g.webkitSourceSetDuration&&this.g.webkitSourceSetDuration(a)};dI.prototype.start=function(){return 0};
dI.prototype.end=function(){return window.Infinity};g.h=eI.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=mI.prototype;g.h.ku=function(a){this.supports(0)?this.g.appendBuffer(a):this.g.append(a)};
g.h.abort=function(){this.g.abort()};
g.h.remove=function(a,b){this.g.remove(a,b)};
g.h.aE=function(a){this.supports(1)&&(this.g.timestampOffset=a)};
g.h.Xy=function(){return this.supports(1)?this.g.timestampOffset:0};
g.h.oc=function(){try{return this.g.buffered}catch(a){return fI([],[])}};
g.h.Bh=function(){return this.g.updating};
g.h.Ri=function(a){this.l=a};
g.h.xg=function(){return this.l};
g.h.supports=function(a){switch(a){case 1:return void 0!=this.g.timestampOffset;case 0:return!!this.g.appendBuffer;case 2:return!!this.g.remove;case 3:return!!this.g.removeEventListener;default:return!1}};
g.h.addEventListener=function(a,b){this.supports(3);this.g.addEventListener(a,b)};
g.h.removeEventListener=function(a,b){this.supports(3);this.g.removeEventListener(a,b)};g.h=nI.prototype;g.h.ku=function(a,b){this.g.Xy()!=this.l+0&&(this.g.supports(1),this.g.aE(this.l+0));this.g.ku(a,b)};
g.h.abort=function(){this.g.abort()};
g.h.remove=function(a,b){this.g.remove(a-0,b-0)};
g.h.aE=function(a){this.l=a};
g.h.Xy=function(){return this.l};
g.h.oc=function(){return lI(this.g.oc(),0,window.Infinity)};
g.h.Bh=function(){return this.g.Bh()};
g.h.Ri=function(a){this.g.Ri(a)};
g.h.xg=function(){return this.g.xg()};
g.h.supports=function(a){return this.g.supports(a)};
g.h.addEventListener=function(a,b){this.g.addEventListener(a,b)};
g.h.removeEventListener=function(a,b){this.g.removeEventListener(a,b)};var pta=['video/mp4; codecs="avc1.42001E, mp4a.40.2"','video/webm; codecs="vp8.0, vorbis"'],qta=['audio/mp4; codecs="mp4a.40.2"'];rI.prototype.dispose=function(){if(!this.o){if(this.l)try{window.URL.revokeObjectURL(this.g)}catch(a){}this.o=!0}};
rI.prototype.ka=function(){return this.o};g.t(sI,g.M);sI.prototype.F=function(){!this.ka()&&tI(this)&&this.A&&(this.A(this),this.A=null)};
sI.prototype.D=function(){this.dispose()};var Rua={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},K1;var L1=g.Gb;L1=L1.toLowerCase();if(-1!=L1.indexOf("android")){var Sua=L1.match(/android\D*(\d\.\d)[^;|\)]*[;\)]/);if(Sua)K1=(0,window.parseFloat)(Sua[1]);else{var Tua=L1.match("("+g.Pb(Rua).join("|")+")");K1=Tua?Rua[Tua[0]]:0}}else K1=void 0;var CI=K1,XL=0<=CI;var nka={'video/mp4; codecs="avc1.42001E, mp4a.40.2"':"maybe"},oka={"application/x-mpegURL":"maybe"},mka={"application/x-mpegURL":"maybe"};QI.prototype.wg=function(){return this.uj};
QI.prototype.g=function(){return null};
QI.prototype.A=function(){};SI.prototype.isLocked=function(){return this.o&&!!this.l&&this.l==this.g};
SI.prototype.A=function(a){return a.video?ZI(this,a.video.quality):!1};
var yna=UI("auto","large",!1,"l"),WI=UI("auto","auto",!1,"p");UI("small","auto",!1,"p");g.h=g.aJ.prototype;g.h.aB=function(a){this.segments.push(a)};
g.h.getDuration=function(a){return(a=this.hi(a))?a.duration:0};
g.h.Mr=function(a){return this.getDuration(a)};
g.h.jf=function(){return this.segments.length?this.segments[0].wa:-1};
g.h.cu=function(a){return(a=this.hi(a))?a.ingestionTime:window.NaN};
g.h.Qb=function(){return this.segments.length?this.segments[this.segments.length-1].wa:-1};
g.h.Aj=function(){var a=this.segments[this.segments.length-1];return a?a.endTime:window.NaN};
g.h.Yb=function(){return this.segments[0].startTime};
g.h.Cj=function(){return this.segments.length};
g.h.bp=function(){return 0};
g.h.Ag=function(a){return(a=this.Rn(a))?a.wa:-1};
g.h.Rr=function(a){return(a=this.hi(a))?a.sourceURL:""};
g.h.Nd=function(a){return(a=this.hi(a))?a.startTime:0};
g.h.jo=ba(2);g.h.Kb=function(){return 0<this.segments.length};
g.h.hi=function(a){a=g.cb(this.segments,new $I(a,0,0,0,""),function(a,c){return a.wa-c.wa});
return 0<=a?this.segments[a]:null};
g.h.Rn=function(a){a=g.cb(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.Ty=function(){return 0};dJ.prototype.skip=function(a){this.g+=a};jJ.prototype.Gn=function(a,b,c){(new window.Uint8Array(this.data.buffer,this.g,c)).set(new window.Uint8Array(a.buffer,b+a.byteOffset,c));this.g+=c};var M1={},Uua=(M1.predictStart="predictStart",M1.start="start",M1["continue"]="continue",M1.stop="stop",M1),Nma={EVENT_PREDICT_START:"predictStart",EVENT_START:"start",EVENT_PREDICT_CONTINUE:"continue",EVENT_PREDICT_STOP:"stop"};var EJ=!0;g.KJ.prototype.toString=function(){return this.start+"-"+(null==this.end?"":this.end)};nK.prototype.verify=function(){if(this.info.Xa!=this.range.length)return!1;if(1==this.info.g.info.containerType){if(8>this.info.Xa||4==this.info.type)return!0;var a=oK(this),b=a.getUint32(0,!1);a=a.getUint32(4,!1);if(2==this.info.type)return b==this.info.Xa&&1936286840==a;if(3==this.info.type&&0==this.info.l)return 1836019558==a||1936286840==a||1937013104==a||1718909296==a||1701671783==a||1936419184==a}else if(2==this.info.g.info.containerType){if(4>this.info.Xa||4==this.info.type)return!0;b=oK(this).getUint32(0,
!1);if(3==this.info.type&&0==this.info.l)return 524531317==b||440786851==b}return!0};g.yK.prototype.set=function(a,b){this.g[a]!==b&&(this.g[a]=b,this.o="")};
g.yK.prototype.get=function(a){zK(this);return this.g[a]||null};
g.yK.prototype.Sa=function(){this.o||(this.o=zka(this));return this.o};
g.yK.prototype.clone=function(){var a=new g.yK(this.A);a.C=this.C;a.l=this.l;a.B=this.B;a.g=g.$b(this.g);a.o=this.o;return a};
var CK=!1;HK.prototype.set=function(a,b){this.g.get(a);this.l[a]=b;this.o=""};
HK.prototype.get=function(a){return this.l[a]||this.g.get(a)};
HK.prototype.Sa=function(){this.o||(this.o=Bka(this));return this.o};var Vua=0;g.h=TK.prototype;g.h.gf=function(){};
g.h.Vj=function(){};
g.h.Zs=function(){return!1};
g.h.Mc=function(){return!!this.g&&!!this.index&&this.index.Kb()};
g.h.Gg=function(){};
g.h.CA=function(){return!1};
g.h.Bj=function(){};
g.h.Ci=function(){};
g.h.bk=function(){};
g.h.zg=function(){};
g.h.qo=function(){};
g.h.DA=function(a){return[a]};
g.h.Jp=function(a){return[a]};
g.h.tp=function(){};
g.h.eo=function(){};g.t(VK,TK);g.h=VK.prototype;g.h.gf=function(){return!1};
g.h.Vj=function(){return!1};
g.h.CA=function(){return this.l};
g.h.Bj=function(){if(this.l)return[];var a=new OJ(1,this,this.initRange);return[new OK([a],this.J)]};
g.h.Ci=function(){return null};
g.h.bk=function(a){this.Gg(a);return this.cp(a.o?a.wa+1:a.wa,!1)};
g.h.zg=function(a,b){b=void 0===b?!1:b;var c=this.index.Ag(a);b&&(c=Math.min(this.index.Qb(),c+1));return this.cp(c,!0)};
g.h.qo=function(a){this.g=new window.Uint8Array(oK(a).buffer)};
g.h.Zs=function(){return!1};
g.h.Gg=function(a){return 0==a.Xa?!0:this.index.Qb()>a.wa&&this.index.jf()<=a.wa+1};
g.h.update=function(a,b,c){bJ(this.index,a);cJ(this.index,c);this.I=b};
g.h.Mc=function(){return this.l?!0:TK.prototype.Mc.call(this)};
g.h.cp=function(a,b){var c=this.index.Rr(a),d=this.index.Nd(a),e=this.index.getDuration(a),f;b?e=f=0:f=0<this.info.g?this.info.g*e:1E3;d=new OJ(3,this,null,a,d,e,0,f,a==this.index.Qb()&&!this.I&&0<f);return new OK([d],c)};
g.h.eo=function(){return this.l?0:this.initRange.length};
g.h.tp=function(){return!1};g.t(WK,g.aJ);g.h=WK.prototype;g.h.jf=function(){return this.g?this.segments.length?this.Rn(this.Yb()).wa:-1:g.aJ.prototype.jf.call(this)};
g.h.Yb=function(){return this.g?this.segments.length?Math.max(g.Ia(this.segments).endTime-this.A,0):0:g.aJ.prototype.Yb.call(this)};
g.h.Aj=function(){var a=this.Qb();return!this.g||!this.segments.length||a<=this.segments[this.segments.length-1].wa?g.aJ.prototype.Aj.call(this):$K(this,a,this.segments[this.segments.length-1]).endTime};
g.h.Cj=function(){return this.g?this.segments.length?this.Qb()-this.jf()+1:0:g.aJ.prototype.Cj.call(this)};
g.h.Qb=function(){return Math.max(g.aJ.prototype.Qb.call(this),this.o)};
g.h.aB=function(a){var b=XK(this,a.wa);0<=b?this.segments[b]=a:this.segments.splice(-(b+1),0,a)};
g.h.Rn=function(a){if(!this.g)return g.aJ.prototype.Rn.call(this,a);if(!this.segments.length)return null;var b=g.cb(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?$K(this,c.wa-Math.ceil((c.startTime-a)/this.l),c):$K(this,c.wa+Math.ceil((a-c.endTime)/this.l),c)};
g.h.hi=function(a){if(!this.g)return g.aJ.prototype.hi.call(this,a);if(!this.segments.length)return null;var b=XK(this,a);return 0<=b?this.segments[b]:$K(this,a,this.segments[Math.max(-(b+2),0)])};g.t(aL,VK);g.h=aL.prototype;g.h.Vj=function(){return!0};
g.h.Mc=function(){return!0};
g.h.Gg=function(){return!0};
g.h.Bj=function(){return[]};
g.h.zg=function(a,b){if(g.ua(a)&&!(0,window.isFinite)(a)){var c=new OJ(3,this,null,-1,void 0,this.D,void 0,this.D*this.info.g);return new OK([c],"")}return VK.prototype.zg.call(this,a,b)};
g.h.cp=function(a,b){if(YK(this.index,a))return VK.prototype.cp.call(this,a,b);var c=this.index.Nd(a);c=new OJ(3,this,null,a,c,void 0,void 0,b?0:this.D*this.info.g);return new OK([c],0<=a?"sq/"+a:"")};fL.prototype.update=function(a,b){var c=void 0;this.l&&(c=this.l);var d=new fL,e=Array.from(a.getElementsByTagName("S"));if(e.length){var f=+bL(a,"timescale")||1,k=(+e[0].getAttribute("t")||0)/f,l=+bL(a,"startNumber")||0;var m=k;var n=+bL(a,"presentationTimeOffset")||0;m=c?c.We+c.durationSecs:b?m-n/f:0;n=Date.parse(eL(bL(a,"yt:segmentIngestTime")))/1E3;d.o="SegmentTemplate"==a.parentNode.tagName;d.o&&(d.C=bL(a,"media"));var q=c?l-c.wa:1;d.B=0<q?0:-q+1;e=g.p(e);for(q=e.next();!q.done;q=e.next()){q=
q.value;for(var r=+q.getAttribute("d")/f,v=(+q.getAttribute("yt:sid")||0)/f,E=+q.getAttribute("r")||0,H=0;H<=E;H++)if(c&&l<=c.wa)l++;else{var L=new Eka(l,m,r,n+v,k);d.g.push(L);L=L.We;var T=q.getAttribute("yt:cuepointTimeOffset"),ha=q.getAttribute("yt:cuepointDuration");if(T&&ha){L=+T/f+L;ha=+ha/f;T=q.getAttribute("yt:cuepointContext")||null;var db=q.getAttribute("yt:cuepointIdentifier");var sa=q.getAttribute("yt:cuepointEvent");sa=Uua[sa]||"unknown";L=new nJ(L,ha,T,db,sa)}else L=null;L&&d.A.push(L);
l++;m+=r;k+=r;n+=r+v}}d.g.length&&(d.l=g.Ia(d.g))}this.B=d.B;this.l=d.l||this.l;Xa(this.g,d.g);Xa(this.A,d.A);this.o=d.o;this.C=d.C};
fL.prototype.hh=function(a,b,c,d){for(var e=this.C.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(gL,TK);g.h=gL.prototype;g.h.gf=function(){return!1};
g.h.Vj=function(){return!1};
g.h.Bj=function(){if(this.l){var a=new OJ(1,this,null);return[new OK([a],this.l)]}a=new OJ(1,this,this.initRange);var b=new OJ(2,this,this.indexRange);return[new OK([a,b])]};
g.h.Ci=function(){return null};
g.h.bk=function(a){this.Gg(a);return hL(this,a.o?a.wa+1:a.wa,!1)};
g.h.zg=function(a,b){b=void 0===b?!1:b;var c=this.index.Ag(a);b&&(c=Math.min(this.index.Qb(),c+1));return hL(this,c,!0)};
g.h.qo=function(a){if(1==a.info.type)this.g||(a.o&&"http://youtube.com/streaming/otf/durations/112015"==a.o.uri&&Mka(this,a.o),this.g=pK(a));else if(g.VH(this.info)&&2==a.info.type&&!this.index.Kb()){var b=g.uJ(oK(a),1936286840);if(b){a=[];var c=CJ(b);b=c.Vu.length;var d=c.vv,e=c.Vu,f=c.Dm;c=this.indexRange.end+c.Gy+1;for(var k=0,l=0;l<b;l++){var m=f[l]/d,n=e[l];a.push(new $I(l,k,m,window.NaN,"range/"+c+"-"+(c+n-1)));k+=m;c+=n}bJ(this.index,a)}}};
g.h.Gg=function(a){return 0==a.Xa?!0:this.index.Qb()>a.wa&&this.index.jf()<=a.wa+1};
g.h.eo=function(){return this.initRange&&this.indexRange?this.initRange.length+this.indexRange.length:0};
g.h.tp=function(){return!1};g.h=g.iL.prototype;g.h.bp=function(a){return this.g[a]};
g.h.Nd=function(a){return this.l[a]/this.A};
g.h.jo=ba(1);g.h.cu=function(){return window.NaN};
g.h.getDuration=function(a){a=this.Mr(a);return 0<=a?a/this.A:-1};
g.h.Mr=function(a){return a+1<this.Ja||this.o?this.l[a+1]-this.l[a]:-1};
g.h.jf=function(){return 0};
g.h.Qb=function(){return this.Ja-1};
g.h.Aj=function(){return this.o?this.l[this.Ja]/this.A:window.NaN};
g.h.Yb=function(){return 0};
g.h.Cj=function(){return this.Ja};
g.h.Rr=function(){return""};
g.h.Ag=function(a){a=g.cb(this.l.subarray(0,this.Ja),a*this.A);return 0<=a?a:Math.max(0,-a-2)};
g.h.Kb=function(){return 0<=this.Qb()};
g.h.Ty=function(a,b){if(a>=this.Qb())return 0;for(var c=0,d=this.Nd(a)+b,e=a;e<this.Qb()&&d>this.Nd(e);e++)c=Math.max(c,(e+1<this.Ja||this.o?this.g[e+1]-this.g[e]:-1)/this.getDuration(e));return c};
g.h.cap=function(a,b){jL(this);this.o=!0;this.l[this.Ja]=b;this.g[this.Ja]=a};g.t(g.lL,TK);g.h=g.lL.prototype;g.h.Bj=function(a){var b=new OJ(1,this,this.initRange),c=new OJ(2,this,this.indexRange),d=[],e=[b];QJ(b,c)?e.push(c):(d.push(new OK([c])),a=0);(0,window.isNaN)(this.l)&&(a=0);b=e[e.length-1];a=Math.min(a,this.l-(b.range.end-e[0].range.start+1));0<a&&(a=MJ(b.range.end+1,a),e.push(new OJ(4,this,a)));d.push(new OK(e));return d};
g.h.qo=function(a){if(1==a.info.type){if(this.g)return;this.g=pK(a)}else if(2==a.info.type){if(this.D||0<=this.index.Qb())return;if(g.VH(this.info)){var b=this.index,c=oK(a),d=a.info.range.start;if(EJ){a=g.uJ(c,1936286840);c=CJ(a);b.A=c.vv;var e=c.TI;b.g[0]=c.Gy+d+a.size;b.l[0]=e;b.o=!0;a=c.Dm.length;for(d=0;d<a;d++)kL(b,c.Vu[d],c.Dm[d])}else{a=0;e=c.getUint32(0,!1);var f=c.getUint8(a+8);a+=12;var k=c.getUint32(a+4,!1);b.A=k;a+=8;0==f?(f=c.getUint32(a,!1),k=c.getUint32(a+4,!1),a+=8):(f=4294967296*
c.getUint32(a,!1)+c.getUint32(a+4,!1),k=4294967296*c.getUint32(a+8,!1)+c.getUint32(a+12,!1),a+=16);b.g[0]=k+(e+d);b.l[0]=f;b.o=!0;d=c.getUint16(a+2,!1);a+=4;for(e=0;e<d;e++)f=c.getUint32(a,!1),k=c.getUint32(a+4,!1),a+=12,kL(b,f,k)}}else this.D=oK(a)}if(2==this.info.containerType&&this.g&&this.D){a=new window.DataView(this.g.buffer);b=this.index;k=this.D;c=this.indexRange.end;a=new XJ(a);if(aK(a,440786851)&&(gK(a),aK(a,408125543)&&(e=a,f=e.g,d=bK(e,!0),e.g=f,a=$J(a),e=a.o+a.g,aK(a,357149030)))){a=
$J(a);var l=1E6,m=1E9;for(f=0;!YJ(a);){var n=bK(a,!1);2807729==n?l=fK(a):2807730==n?m=fK(a):17545==n?f=hK(a):gK(a)}b.A=m/l;a=new XJ(k);if(aK(a,475249515)){a=$J(a);k=!0;for(l=!1;aK(a,187);){m=$J(a);if(aK(m,179))if(n=fK(m),aK(m,183)){m=$J(m);for(var q=e;aK(m,241);)q=fK(m)+e;m=[q,n]}else m=null;else m=null;q=m;k&&c==q[0]&&(l=!0);k=!1;l&&(q[0]+=1);m=b;n=q[0];q=q[1];jL(m);m.g[m.Ja]=n;m.l[m.Ja]=q;m.Ja++}b.cap(d+e,f)}}this.D=null}};
g.h.DA=function(a){for(var b=this.Jp(a.info),c=[],d=a.l,e=0;e<b.length;e++){var f=MJ(b[e].range.start+b[e].l-a.info.range.start+a.range.start,b[e].Xa);c.push(new nK(b[e],a.g,f,a.A,d));d=!1}return c};
g.h.Jp=function(a){for(var b=0;b<this.index.Qb()&&a.range.start>=this.index.bp(b+1);)b++;return mL(this,b,a.range.start,a.range.length).g};
g.h.Gg=function(a){return this.Mc()?!0:(0,window.isNaN)(this.l)?!1:a.range.end+1<this.l};
g.h.Ci=function(a,b){this.Gg(a);if(!this.Mc()){var c=MJ(a.range.end+1,b);c.end+1>this.l&&(c=new g.KJ(c.start,this.l-1));c=[new OJ(4,a.g,c)];return new OK(c)}4==a.type&&(c=this.Jp(a),a=c[c.length-1]);c=0;var d=a.range.start+a.l+a.Xa;3==a.type&&(c=a.wa,d==a.range.end+1&&(c+=1));return mL(this,c,d,b)};
g.h.bk=function(){return null};
g.h.zg=function(a,b){var c=this.index.Ag(a);b&&(c=Math.min(this.index.Qb(),c+1));return mL(this,c,this.index.bp(c),0)};
g.h.Zs=function(){var a;if(a=this.Mc()&&!(0,window.isNaN)(this.l))a=this.index,a=(a.o?a.g[a.Ja]:-1)!=this.l;return a};
g.h.gf=function(){return!0};
g.h.Vj=function(){return!1};
g.h.eo=function(){return this.indexRange.length+this.initRange.length};
g.h.tp=function(){return this.indexRange&&this.initRange&&this.initRange.end+1==this.indexRange.start?!0:!1};var pL={ZB:function(a,b){a.splice(0,b)},
Z0:function(a,b){var c=a[0];a[0]=a[b%a.length];a[b%a.length]=c},
yq:function(a){a.reverse()}};g.t(rL,g.HF);g.h=rL.prototype;g.h.Vf=function(){return Kb(this.g,function(a){return a.info.video?2==a.info.video.projectionType:!1})};
g.h.Wf=function(){return Kb(this.g,function(a){return a.info.video?3==a.info.video.projectionType:!1})};
g.h.lf=function(){return Kb(this.g,function(a){return a.info.video?4==a.info.video.projectionType:!1})};
g.h.wi=function(){return Kb(this.g,function(a){return a.info.video?1==a.info.video.stereoLayout:!1})};
g.h.BU=function(a){var b=a.getElementsByTagName("Representation");if(0<a.getElementsByTagName("SegmentList").length||0<a.getElementsByTagName("SegmentTemplate").length){this.o=!0;this.B||(this.B=new Gka);Kka(this.B,a,this.fa);this.T("refresh");for(a=0;a<b.length;a++){var c=AL(this,b[a]),d=this.isLive&&g.VH(c)&&this.ga;if(!this.g[c.id]){var e=xL(cL(b[a],"BaseURL").textContent),f=cL(b[a],"Initialization"),k=bL(f,"sourceURL");f=LJ(bL(f,"range"));d&&(k="",f=void 0);this.g[c.id]=new VK(e,c,k,null===f?
void 0:f)}c=this.g[c.id];e=bL(b[a],"id","AdaptationSet");e=""!=e?e:bL(b[a],"mimetype","AdaptationSet");k=this.B;e=k.o[c.info.id]||k.l[e]||k.g||null;k=e.g;if(e.o)for(d=[],k=g.p(k),f=k.next();!f.done;f=k.next()){f=f.value;var l=e.hh(c.info.id,8*c.info.g,f.wa,f.We);d.push(new $I(f.wa,f.We,f.durationSecs,f.g,l,null,f.l))}else{e=g.Ya(cL(b[a],"SegmentList").getElementsByTagName("SegmentURL"),e.B);f=[];for(l=0;l<e.length;l++)f.push(Xka(e[l],k[l],d));d=f}c.update(d,this.isLive,this.R)}Lka(this.B);return!0}this.duration=
dL(bL(a,"mediaPresentationDuration"));a:{for(a=0;a<b.length;a++){k=b[a];c=AL(this,k);e=cL(k,"BaseURL");d=xL(e.textContent);f=cL(k,"SegmentBase");k=LJ(f.attributes.indexRange.value);f=LJ(f.getElementsByTagName("Initialization")[0].attributes.range.value);e=(0,window.parseInt)(e.getAttribute(yL(this,"contentLength")),10);c=new g.lL(d,c,f,k,e,window.NaN);if(!c){b=!1;break a}uL(this,c)}b=!0}return b};
g.h.Ie=function(a){return this.B?g.Ya(this.B.A,a):this.J.length?g.Ya(this.J,a):[]};
g.h.AJ=function(a){if(this.ka())return this;this.K=a.status;a=a.responseText;a=(new window.DOMParser).parseFromString(a,"text/xml").getElementsByTagName("MPD")[0];this.D=1E3*dL(bL(a,"minimumUpdatePeriod"))||window.Infinity;if(!this.M){var b;a:{for(b=0;b<a.attributes.length;b++)if("http://youtube.com/yt/2012/10/10"==a.attributes[b].value){b=a.attributes[b].name.split(":")[1];break a}b=""}this.Y=b}this.isLive=window.Infinity>this.D&&this.ia;this.R=(0,window.parseInt)(bL(a,yL(this,"earliestMediaSequence")),
10)||0;if(b=Date.parse(eL(bL(a,yL(this,"mpdResponseTime")))))this.F=((0,g.G)()-b)/1E3;this.isLive&&0>=a.getElementsByTagName("SegmentTimeline").length||(0,g.cm)(a.getElementsByTagName("Period"),this.BU,this);this.C=2;this.T("loaded");EL(this);return this};
g.h.DJ=function(a){this.K=a.g.status;this.C=3;this.T("loaderror");return ag(a.g)};
g.h.cB=function(){if(1!=this.C&&!this.ka()){var a=g.Pg(this.X,{start_seq:Yka(this).toString()});g.ig(BL(this,a),function(){})}};
g.h.resume=function(){EL(this)};
g.h.ae=function(){var a=this.g,b=window.NaN,c;for(c in a){var d=a[c].index;d&&d.Kb()&&((0,window.isNaN)(b)||d.Aj()<b)&&(b=d.Aj())}return b};
g.h.Yb=function(){var a=this.g,b;for(b in a){var c=a[b].index;if(c&&c.Kb())return c.Yb()}return 0};
g.h.NN=function(){return this.F};
var IL=null,JL=!1,zL={commentary:1,alternate:2,dub:3,main:4};var N1={},cM=(N1.playready=["com.youtube.playready","com.microsoft.playready"],N1.widevine=["com.widevine.alpha"],N1),lla=g.Va(cM.widevine,cM.playready);TL.prototype.getAvailableAudioTracks=function(){return this.audioTracks};var dla="1 9h 9 h 8 (h ( H *".split(" "),WL="h198H(*".split(""),fla="oMavAV".split(""),ila=["so","sa"],hla="moMavAV".split(""),gla="aoMvAV".split(""),ela=["f"];g.t(bM,g.M);bM.prototype.D=function(){(this.C=this.o.g("html5_widevine_robustness_strings")&&!this.C&&"widevine"==this.g[this.l[0]].flavor)||this.l.shift();dM(this)};
bM.prototype.F=function(a,b){this.ka()||(a.l=b,mla(this,a),this.B(a))};var wla={RED:"red",X3:"white"};fM.prototype.g=function(a,b){var c=Math.pow(this.B,a);this.o=b*(1-c)+c*this.o;this.A+=a};
fM.prototype.l=function(){return this.o/(1-Math.pow(this.B,this.A))};hM.prototype.g=function(a,b){var c=Math.min(this.o,Math.max(1,Math.round(a*this.J)));c+this.A>=this.o&&(this.C=!0);for(;c--;)this.B[this.A]=b,this.A=(this.A+1)%this.o;this.F=!0};
hM.prototype.l=function(){return this.H?(iM(this,this.D-this.H)+iM(this,this.D)+iM(this,this.D+this.H))/3:iM(this,this.D)};var vla={kX:"adunit",LY:"detailpage",kZ:"editpage",mZ:"embedded",C_:"leanback",l1:"previewpage",m1:"profilepage",u3:"unplugged"};var MM={M_:1,N_:2,O_:3};g.t(rM,g.HF);rM.prototype.add=function(a,b){!this.La[a]&&(b.jr||b.Xh||b.Hk)&&(this.La[a]=dc(b),this.T("vast_info_card_add",a))};
rM.prototype.remove=function(a){var b=this.get(a);delete this.La[a];return b};
rM.prototype.get=function(a){return this.La[a]||null};
rM.prototype.isEmpty=function(){return g.Vb(this.La)};var sla=/^([0-9\.]+):([0-9\.]+)$/;var yM=g.y("ytglobal.prefsUserPrefsPrefs_")||{};g.va("ytglobal.prefsUserPrefsPrefs_",yM,void 0);g.h=zM.prototype;g.h.get=function(a,b){BM(a);AM(a);var c=void 0!==yM[a]?yM[a].toString():null;return null!=c?c:b?b:""};
g.h.set=function(a,b){BM(a);AM(a);if(null==b)throw Error("ExpectedNotNull");yM[a]=b.toString()};
g.h.remove=function(a){BM(a);AM(a);delete yM[a]};
g.h.save=function(){var a=this.g,b=[],c;for(c in yM)b.push(c+"="+(0,window.encodeURIComponent)(String(yM[c])));g.xG(a,b.join("&"),63072E3)};
g.h.clear=function(){g.Wb(yM)};
g.wa(zM);var CM="blogger books docs google-live play chat picasaweb gmail jamboard".split(" ");g.t(RM,g.M);
RM.prototype.Qg=function(a){this.ga=vM(this.ga,a.video_id);this.Ta=vM(this.Ta,a.eventid);for(var b in Wua){var c=Wua[b],d=a[c];void 0!=d&&(this.l[c]=d)}b=a.cl;!this.Ha&&b&&(this.Ha=+b);this.userAge=uM(this.userAge,a.user_age);this.K=vM(this.K,a.user_display_image);g.eH(this.K)||(this.K="");this.userDisplayName=vM(this.userDisplayName,a.user_display_name);this.userGender=vM(this.userGender,a.user_gender);this.csiPageType=vM(this.csiPageType,a.csi_page_type);this.Wa=vM(this.Wa,a.csi_service_name);this.Oc=
sM(this.Oc,a.enablecsi);if(a=a.enabled_engage_types)this.wb=new window.Set(a.split(","))};
RM.prototype.getVideoUrl=function(a,b,c,d,e){b={list:b};c&&(e?b.time_continue=c:b.t=c);c=UM(this);d&&"www.youtube.com"==c?d="https://youtu.be/"+a:g.XM(this)?(d="https://"+c+"/fire",b.v=a):(d=this.protocol+"://"+c+"/watch",b.v=a,BI&&(a=g.y("yt.ads.biscotti.lastId_")||"")&&(b.ebc=a));return g.Pg(d,b)};
var Wua={SX:"cbrand",TX:"cbr",UX:"cbrver",p_:"c",s_:"cver",r_:"ctheme",q_:"cplayer",Z_:"cmodel",H0:"cnetwork",P0:"cos",Q0:"cosver",V0:"cplatform"};g.t(jN,QI);
jN.prototype.g=function(){if(!this.l||this.l.ka()){var a=this.o;Dla(a);var b=["#EXTM3U","#EXT-X-INDEPENDENT-SEGMENTS"],c={};a:if(a.l)var d=a.l;else{d=g.p(a.o);for(var e=d.next();!e.done;e=d.next())if(e=e.value,e.Hb&&e.Hb.isDefault){d=e.Hb.getId();break a}d=""}e=d;var f=0;for(d=a.o.length;f<d;++f){var k=a.o[f];k.Hb&&k.Hb.getId()!=e||(c[k.itag]=k,b.push(Cla(a,k)))}e=0;for(d=a.g.length;e<d;++e)if(f=a.g[e],a.C)for(var l in c)iN(a,b,f,c[l]);else iN(a,b,f,c[f.audioItag]);a="data:application/x-mpegurl;charset=utf-8,"+(0,window.encodeURIComponent)(b.join("\n"));
this.l=new rI(a)}return this.l};g.t(lN,QI);lN.prototype.g=function(){return new rI(this.l.Sa())};
lN.prototype.A=function(){this.l=DK(this.l)};g.t(nN,QI);nN.prototype.g=function(){return new rI(this.l)};var Gla=new window.Set("BASE_URL BASE_YT_URL abd adformat allow_embed authuser autoplay captions_load_policy cc_load_policy cc3_module dash dashmpd disable_native_context_menu docid el enable_cardio enablecastapi enablepostapi end errorcode fmt_list fmt_stream_map hl hlsdvr hlsrange hlsvp html5 invite iurl iurlhq iurlmq length_seconds live_playback nohtml5 origin override_hl partnerid plid postid ps public reason rel reload_count reload_reason reportabuseurl resume start status streaminglib_load_policy streaminglib_preroll t timestamp title token ttsurl use_native_controls url_encoded_fmt_stream_map video_id videoid videoId wmode".split(" "));var Xua={UNKNOWN:"UNKNOWN",NORMAL:"NORMAL",T_:"LOW",r3:"ULTRALOW"};g.h=g.pN.prototype;g.h.Db=function(){return this.C};
g.h.getHeight=function(){return this.B};
g.h.Ry=ba(3);g.h.Or=function(){return this.o};
g.h.isDefault=function(){return-1!=this.A.indexOf("default")};
g.h.Kb=function(a){return this.Vc.has(a)};
g.h.Sa=function(a){var b=this.I;b=b.replace("$N",this.A);b=b.replace("$L",this.H.toString());b=b.replace("$M",a.toString());this.D&&(b=g.Pg(b,{sigh:this.D}));return iH(b)};
g.h.kk=function(a){var b=this.Or()-1;return g.ad(0==this.g?Math.round(a*this.o/this.J):Math.round(1E3*a/this.g),0,b)};
g.h.lk=function(){return this.o-1};
g.h.gp=function(){return this.o?0:-1};
g.h.bE=function(){};g.t(rN,g.HF);rN.prototype.H=function(a,b){this.l=this.l.onload=null;var c=this.g[a];c.Vc.add(b);uN(this);var d=c.columns*c.rows;var e=b*d;c=Math.min(e+d-1,c.Or()-1);e=[e,c];this.T("l",e[0],e[1])};
rN.prototype.V=function(){this.l&&(this.l=this.l.onload=null);g.HF.prototype.V.call(this)};g.t(wN,rN);wN.prototype.o=function(a,b){for(var c=[],d=a.split("|"),e=d[0],f=1;f<d.length;f++){var k=this.C(f-1,e,d[f],b);180>k.getHeight()&&c.push(k)}return c};
wN.prototype.C=function(a,b,c,d){return new g.pN(a,b,c,d)};g.t(xN,g.pN);g.h=xN.prototype;g.h.Or=function(){return this.l.Cj()};
g.h.kk=function(a){var b=this.rows*this.columns*this.F,c=this.l,d=c.Qb();a=c.Ag(a);return a>d-b?-1:a};
g.h.lk=function(){return this.l.Qb()};
g.h.gp=function(){return this.l.jf()};
g.h.bE=function(a){this.l=a};g.t(yN,wN);yN.prototype.o=function(a,b){return wN.prototype.o.call(this,"$N|"+a,b)};
yN.prototype.C=function(a,b,c){return new xN(a,b,c,this.isLive)};var zN={iurl:"default.jpg",iurlmq:"mqdefault.jpg",iurlhq:"hqdefault.jpg",iurlsd:"sddefault.jpg",iurlpop1:"pop1.jpg",iurlpop2:"pop2.jpg",iurlhq720:"hq720.jpg",iurlmaxres:"maxresdefault.jpg"},Ila={120:"default.jpg",320:"mqdefault.jpg",480:"hqdefault.jpg",560:"pop1.jpg",640:"sddefault.jpg",854:"pop2.jpg",1280:"hq720.jpg"};g.DN.prototype.toString=function(){return this.topic};var Yua=g.y("ytPubsub2Pubsub2Instance")||new g.WC;g.WC.prototype.subscribe=g.WC.prototype.subscribe;g.WC.prototype.unsubscribeByKey=g.WC.prototype.Qd;g.WC.prototype.publish=g.WC.prototype.T;g.WC.prototype.clear=g.WC.prototype.clear;g.va("ytPubsub2Pubsub2Instance",Yua,void 0);var GN=g.y("ytPubsub2Pubsub2SubscribedKeys")||{};g.va("ytPubsub2Pubsub2SubscribedKeys",GN,void 0);var IN=g.y("ytPubsub2Pubsub2TopicToKeys")||{};g.va("ytPubsub2Pubsub2TopicToKeys",IN,void 0);
var HN=g.y("ytPubsub2Pubsub2IsAsync")||{};g.va("ytPubsub2Pubsub2IsAsync",HN,void 0);g.va("ytPubsub2Pubsub2SkipSubKey",null,void 0);var NN=window.performance||window.mozPerformance||window.msPerformance||window.webkitPerformance||{};g.t(PN,g.CN);g.t(QN,g.CN);var Pla=new g.DN("aft-recorded",PN),KN=new g.DN("timing-sent",QN);var Ula,pO,O1,iO,Ola,Sla,Nla,mO,Mla,fta;Ula={vc:!0};
pO={'script[name="scheduler/scheduler"]':"sj",'script[name="player/base"]':"pj",'link[rel="stylesheet"][name="www-player"]':"pc",'link[rel="stylesheet"][name="player/www-player"]':"pc",'script[name="desktop_polymer/desktop_polymer"]':"dpj",'link[rel="import"][name="desktop_polymer"]':"dph",'link[rel="import"][name="desktop_polymer_selective_initialization_home"]':"dpsihh",'link[rel="import"][name="desktop_polymer_selective_initialization_watch"]':"dpsiwh",'link[rel="import"][name="desktop_polymer_sel_auto_home"]':"dpsahh",
'link[rel="import"][name="desktop_polymer_sel_auto_watch"]':"dpsawh",'script[name="mobile-c3/mobile-c3"]':"mcj",'link[rel="stylesheet"][name="mobile-c3"]':"mcc",'script[name="player-plasma-phone/base"]':"mcppj",'script[name="player-plasma-tablet/base"]':"mcptj",'link[rel="stylesheet"][name="mobile-polymer-player"]':"mcpc",'script[name="mobile_blazer_core_mod"]':"mbcj",'link[rel="stylesheet"][name="mobile_blazer_css"]':"mbc",'script[name="mobile_blazer_logged_in_users_mod"]':"mbliuj",'script[name="mobile_blazer_logged_out_users_mod"]':"mblouj",
'script[name="mobile_blazer_noncore_mod"]':"mbnj","#player_css":"mbpc",'script[name="mobile_blazer_desktopplayer_mod"]':"mbpj",'link[rel="stylesheet"][name="mobile_blazer_tablet_css"]':"mbtc",'script[name="mobile_blazer_watch_mod"]':"mbwj"};O1={};
iO=(O1.ad_allowed="adTypesAllowed",O1.ad_at="adType",O1.ad_cpn="adClientPlaybackNonce",O1.ad_docid="adVideoId",O1.yt_ad_an="adNetworks",O1.p="httpProtocol",O1.t="transportProtocol",O1.cpn="clientPlaybackNonce",O1.csn="clientScreenNonce",O1.docid="videoId",O1.is_nav="isNavigation",O1.yt_lt="loadType",O1.yt_ad="isMonetized",O1.nr="webInfo.navigationReason",O1.ncnp="webInfo.nonPreloadedNodeCount",O1.paused="playerInfo.isPausedOnLoad",O1.fmt="playerInfo.itag",O1.yt_pl="watchInfo.isPlaylist",O1.yt_ad_pr=
"prerollAllowed",O1.yt_red="isRedSubscriber",O1.st="serverTimeMs",O1.vph="viewportHeight",O1.vpw="viewportWidth",O1.yt_vis="isVisible",O1);Ola="ap c cver ei srt yt_fss yt_li plid vpil vpni vpst yt_eil vpni2 vpil2 icrc icrt pa GetBrowse_rid GetPlayer_rid GetSearch_rid GetWatchNext_rid cmt d_vpct d_vpnfi d_vpni pc pfa pfeh pftr prerender psc rc start tcrt tcrc ssr vpr vps yt_abt yt_fn yt_fs yt_pft yt_pre yt_pt yt_pvis yt_ref yt_sts".split(" ");
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.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",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","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"};Nla="isNavigation isMonetized playerInfo.isPausedOnLoad prerollAllowed isRedSubscriber isVisible watchInfo.isPlaylist".split(" ");mO=!1;
Mla=(0,g.A)(NN.clearResourceTimings||NN.webkitClearResourceTimings||NN.mozClearResourceTimings||NN.msClearResourceTimings||NN.oClearResourceTimings||g.z,NN);g.pQ=eO;fta=UN;g.oQ=cO;var P1;var Zua=g.Gb,$ua=Zua.match(/\((iPad|iPhone|iPod)( Simulator)?;/);if(!$ua||2>$ua.length)P1=void 0;else{var Q1=Zua.match(/\((iPad|iPhone|iPod)( Simulator)?; (U; )?CPU (iPhone )?OS (\d+_\d)[_ ]/);P1=Q1&&6==Q1.length?Number(Q1[5].replace("_",".")):0}var W_=P1,R1=0<=W_;R1&&0<=g.Gb.search("Safari")&&g.Gb.search("Version");var ema={0:"UNKNOWN",1:"OFF",2:"ON",3:"FORCED_ON"},S1={},ava=(S1.ALWAYS=1,S1.BY_REQUEST=3,S1),ama,wO;g.t(g.vO,g.HF);g.h=g.vO.prototype;g.h.Qg=function(a,b){b?(this.setData(a),RO(this)&&FO(this)):(yO(this,a,!0),this.T("dataupdated"))};
g.h.setData=function(a){a=a||{};var b=a.raw_player_response;if(!b){var c=a.player_response;c&&(b=g.Ww(c))}b&&(this.kb=b);this.qg="1"!=a.hlsdvr?!1:OI()?!0:DM&&5>W_?!1:!0;this.adQueryId=a.ad_query_id||null;this.adSafetyReason=a.encoded_ad_safety_reason||null;this.ej=a.agcid||null;this.adIds=a.ad_id||null;this.adSystems=a.ad_sys||null;this.nn="1"==a.infringe||"1"==a.muted;this.authKey=a.authkey;this.bd=a.authuser;this.clientPlaybackNonce||(this.clientPlaybackNonce=a.cpn||IG());this.enableCardio=sM(this.enableCardio,
a.enable_cardio);this.enableCardioBeforePlayback=sM(this.enableCardioBeforePlayback,a.enable_cardio_before_playback);this.endSeconds=uM(this.endSeconds,a.end||a.endSeconds);this.Tj=vM(this.Tj,a.itct);this.Ys=sM(this.Ys,a.noiba);this.Kl="1"==a.livemonitor;this.ya="1"==a.live_playback;this.isLiveDestination=sM(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=
tM("UNKNOWN",b,Xua);this.isMdxPlayback=sM(this.isMdxPlayback,a.mdx);if(b=a.mdx_control_mode)this.mdxControlMode=Cb(b);this.Xs=sM(this.Xs,a.is_inline_playback_no_ad);this.Gh=uM(this.Gh,a.reload_count);this.reloadReason=vM(this.reloadReason,a.reload_reason);this.ht=sM(this.ht,a.utpsa);this.cycToken=a.cyc||null;this.wE=a.tkn||null;this.Kh="1"==a.innertube_thumbnail&&this.kb.videoDetails.thumbnail?Jla(this.kb.videoDetails.thumbnail):AN(a);this.af=vM(this.af,a.vvt);this.revocableUnlistedToken=a.revocable_unlisted_token;
this.mdxEnvironment=vM(this.mdxEnvironment,a.mdx_environment);this.IP=a.osig;this.aD=a.ptchn;this.bD=a.oid;this.qm=a.ptk;this.cD=a.pltype;this.playbackId=a.plid;this.eventId=a.eventid;this.osid=a.osid;this.videoMetadata=a.vm;this.Ou=a.of;this.gq=a.upt;this.playlistId=vM(this.playlistId,a.list);this.jD=a.pyv_view_beacon_url;this.lD=a.pyv_quartile25_beacon_url;this.mD=a.pyv_quartile50_beacon_url;this.nD=a.pyv_quartile75_beacon_url;this.kD=a.pyv_quartile100_beacon_url;if(b=a.remarketing_url)this.remarketingUrl=
b;this.kb&&this.kb.playbackTracking&&this.kb.playbackTracking.youtubeRemarketingUrl&&(this.youtubeRemarketingUrl=this.kb.playbackTracking.youtubeRemarketingUrl.baseUrl);this.kb&&this.kb.playbackTracking&&this.kb.playbackTracking.googleRemarketingUrl&&(this.googleRemarketingUrl=this.kb.playbackTracking.googleRemarketingUrl.baseUrl);if(b=a.ppv_remarketing_url)this.ppvRemarketingUrl=b;this.Fp=a.sdetail;b=a.session_data;!this.Wu&&b&&(this.Wu=g.ZD(b).feature);this.isFling=1==uM(this.isFling?1:0,a.is_fling);
this.vnd=uM(this.vnd,a.vnd);this.Gr=vM(this.Gr,a.force_ads_url);this.jg=vM(this.jg,a.ctrl);this.Af=vM(this.Af,a.ytr);this.Dn=a.ytrcc;this.sD=a.ytrexp;this.slotPosition=uM(this.slotPosition,a.slot_pos);this.breakType=a.break_type;this.Up=sM(this.Up,a.ssrt);this.videoId=xM(a)||this.videoId;this.vssCredentialsToken=vM(this.vssCredentialsToken,a.vss_credentials_token);this.uq=vM(this.uq,a.vss_credentials_token_type);this.heartbeatToken=vM(this.heartbeatToken,a.heartbeat_token);this.heartbeatInterval=
uM(this.heartbeatInterval,a.heartbeat_interval);this.heartbeatRetries=uM(this.heartbeatRetries,a.heartbeat_retries);this.heartbeatSoftFail=sM(this.heartbeatSoftFail,a.heartbeat_soft_fail);this.Ws=sM(this.Ws,a.ithb);this.relativeLoudness=uM(this.relativeLoudness,a.relative_loudness);this.Jm=sM(this.Jm,a.audio_only);this.wq=sM(this.wq,a.aac_high);this.isDni=sM(!1,a.is_dni);this.dniColor=vM("#cc181e",a.dni_color);this.Cp=vM(this.Cp,a.qoe_cat);if(a.ad3_module||a.ad_module)this.adModule=!0,"1"==a.ad_preroll&&
this.jd.push("ad");if(b=a.adaptive_fmts)this.adaptiveFormats=b;b=a.atc;void 0!=b&&(this.Tk=b);if(b=a.license_info)this.Kc=dma(b);if(b=a.allow_embed)this.allowEmbed="1"==b;if(b=a.backgroundable)this.backgroundable="1"==b;if(b=a.autonav)this.Co="1"==b;if(b=a.autoplay)this.rm="1"==b;(b=a.iv_load_policy)?this.Wg=tM(this.Wg,b,MM):(b=xO(this.kb))&&b.loadPolicy&&(this.Wg=ava[b.loadPolicy]);if(b=a.cc_lang_pref)this.Yg=vM(b,this.Yg);if(b=a.cc_load_policy)this.Zg=tM(this.Zg,b,MM);"0"==a.dash&&(this.jy=!0);
if(b=a.dashmpd){this.Wd=g.Pg(b,{cpn:this.clientPlaybackNonce});b=/\/(s|ss)\/([^/?]+)/;var d=b.exec(this.Wd);d&&(c="s"==d[1]?"signature":"sig",d=qL(d[2]),this.Wd=this.Wd.replace(b,"/"+c+"/"+d))}if(b=a.delay)this.Mf=Cb(b);if(b=a.drm_session_id)this.drmSessionId=b;b=a.end;void 0!=b&&(this.clipEnd=uM(this.clipEnd,b));a.fair_play_cert&&window.atob&&(this.fairPlayCert=(0,window.atob)(a.fair_play_cert));if(b=a.fmt_list)this.fmtList=b;a.fresca_preroll&&this.jd.push("fresca");a.heartbeat_preroll&&this.jd.push("heartbeat");
if(b=a.idpj)this.Sj=Cb(b);if(b=a.ismb)this.Eg=Cb(b);if(b=a.is_listed)this.isListed=sM(this.isListed,b);if(b=a.paid_content_overlay_duration_ms)this.ZC=Cb(b);if(b=a.paid_content_overlay_text)this.AU=b;if(b=a.url_encoded_fmt_stream_map)this.Kk=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)?Cb(b):b;if(b=a.live_chunk_readahead)this.liveChunkReadahead=uM(this.liveChunkReadahead,b);if(b=a.live_start_walltime)this.liveStartWalltime=Cb(b);
if(b=a.live_manifest_duration)this.qt=Cb(b);if(b=a.ldpj)this.Ll=Cb(b);if(b=a.player_params)this.playerParams=b;if(b=a.partnerid)this.yf=uM(this.yf,b);if(b=a.probe_url)this.probeUrl=iH(g.Pg(b,{cpn:this.clientPlaybackNonce}));if(b=a.profile_picture)this.profilePicture=vM(b,this.profilePicture);(b=a.pyv_billable_url)&&g.fH(b)&&(this.zp=b);(b=a.pyv_conv_url)&&g.fH(b)&&(this.Ap=b);if(b=a.video_masthead_ad_quartile_urls)this.Ct=b.quartile_0_url,this.qA=b.quartile_25_url,this.rA=b.quartile_50_url,this.sA=
b.quartile_75_url,this.pA=b.quartile_100_url;"1"==a.spacecast_playback&&(this.jd.push("spacecast"),this.spacecastModule=!0,this.Vi.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.Vi.init=b;0<this.startSeconds||(this.Uc=this.startSeconds=uM(this.startSeconds,a.start||a.startSeconds));b=a.live_utc_start;null!=b&&(this.liveUtcStartSeconds=(0,window.parseInt)(b,10));b=a.start;void 0==b||
"1"==a.resume||this.ya||(this.clipStart=uM(this.clipStart,b));if(b=a.two_stage_token)this.Mh=b;if(b=a.url_encoded_third_party_media)this.Gk=bE(b);if(b=a.watch_ajax_token)this.watchAjaxToken=b;a.ypc_module&&this.jd.push("ypc");a.ypc_clickwrap_module&&this.jd.push("ypc_clickwrap");if(b=a.ypc_offer_button_formatted_text)b=g.Ww(b),this.ypcOfferButtonFormattedText=null!=b?b:null;this.Nh=vM(this.Nh,a.ucid);(0,g.C)("baseUrl uid oeid ieid ppe engaged subscribed".split(" "),function(b){a[b]&&(this.De[b]=a[b])},
this);
this.De.focEnabled=sM(this.De.focEnabled,a.focEnabled);this.De.rmktEnabled=sM(this.De.rmktEnabled,a.rmktEnabled);this.qc=a;yO(this,a,!1);b=new aI(null,a.fflags);DO(this)?xE()&&(this.ya&&this.Wd?this.oj=!0:this.fairPlayCert&&(this.zi=!0)):this.adaptiveFormats&&!this.ya?(HO(this,vL(JO(this,this.adaptiveFormats),this.Kc,this.lengthSeconds,void 0,b)),sL(this.oa)&&(this.zi=!0)):this.Wd&&(this.oj=!0);this.qy=b.g("enable_spherical_kabuki");b.g("tvhtml5_enable_oes_egl_image_external");if(b=a.adpings)this.fx=
b?g.aE(b):null;if(b=a.feature)this.ym=b;if(b=a.referrer)this.referrer=b;if(b=a.multifeed_metadata_list)this.Vh=bE(b);this.clientScreenNonce=vM(this.clientScreenNonce,a.csn);this.rootVeType=uM(this.rootVeType,a.root_ve_type);this.Fo=uM(this.Fo,a.kids_age_up_mode);this.mq=sM(this.mq,a.upg_content_filter_mode);if(b=a.unplugged_location_info)this.Bd=b;if(b=a.unplugged_partner_opt_out)this.Ik=vM("",b);if(b=a.partial_spherical)this.Yz="1"==b;this.Il=vM(this.Il,a.internal_ip_override);this.hasSubfragmentedFmp4=
sM(this.hasSubfragmentedFmp4,a.sfmp4);this.defraggedFromSubfragments=sM(this.defraggedFromSubfragments,a.dfs);this.liveExperimentalContentId=uM(this.liveExperimentalContentId,a.live_experimental_content_id);if(this.kb){if(b=this.kb.videoDetails)if(b=b.videoId)this.videoId=b;if(b=this.kb.interstitialPods)for(b=g.p(b),c=b.next();!c.done;c=b.next())switch(c=c.value,d=c.interstitials.map(function(a){return(a=a.playerVars)&&Object.assign({is_yto_interstitial:!0},g.aE(a))}),c.podConfig.playbackPlacement){case "INTERSTITIAL_PLAYBACK_PLACEMENT_PRE":this.wm=
this.wm.concat(d);
break;case "INTERSTITIAL_PLAYBACK_PLACEMENT_POST":this.tm=this.tm.concat(d)}}(this.wm.length||this.tm.length||a.is_yto_interstitial)&&this.jd.push("yto")};
g.h.gd=function(){return!this.ya||this.qg};
g.h.tL=function(a){(this.Xf=a)&&"fairplay"==this.Xf.flavor&&(this.Xf.fairPlayCert=this.fairPlayCert);FO(this)};
g.h.QQ=function(a){if(!this.ka()){if(this.Wp){var b=CL(a,this.Wp);b&&(a=b)}HO(this,a);this.ya&&this.oa.subscribe("refresh",this.pC,this);(0,g.oQ)("mrc");sL(this.oa)&&(this.zi=!0);FO(this)}};
g.h.PQ=function(a){this.ka()||(this.uh=!1,this.T("dataloaderror",new g.eN("manifest.net.retryexhausted",!0,{backend:"manifest",rc:a.status})))};
g.h.pC=function(){this.ka()||(this.oa.isLive||this.oa.unsubscribe("refresh",this.pC,this),this.Kx())};
g.h.Kx=function(){var a=this.oa.Ie(this.jt);0<a.length&&(this.T("cuepointupdated",a),this.jt+=a.length)};
g.h.GL=function(a){if(this.spacecastFormatMap){var b=JO(this,this.spacecastFormatMap);return mN(a,this.isAd(),b,KO(this,a)).then(this.Rp,void 0,this).then(this.Ey,void 0,this)}return ME()};
g.h.CL=function(a,b){var c=b||DO(this);if(this.oa&&!c){if(c=!a.deviceHasDisplay||this.Jm&&a.yb){var d=this.oa,e=this.ya;if(!d.g["0"]){var f=new NH(0,0,0,void 0,void 0,"auto");f=new SH("0","fakesb",void 0,f,null,null,1);d.g["0"]=e?new VK(new g.yK("http://www.youtube.com/videoplayback"),f,"fake"):new g.lL(new g.yK("http://www.youtube.com/videoplayback"),f,new g.KJ(0,0),new g.KJ(0,0),0,window.NaN)}}d=this.wq&&a.yb;return aM(a.M,this.oa,this.Xf,!1,yla(a),c,d).then(this.Sp,void 0,this)}return ME()};
g.h.DL=function(a){if(this.hlsFormats){var b=JO(this,this.hlsFormats);if(!a.experiments.g("html5_hls_select_audio_killswitch")){var c;if(BI||AE()||xE())if(c=gN(b)){var d=[],e={},f;for(f in c)for(var k=g.p(c[f]),l=k.next();!l.done;l=k.next()){var m=l.value;m.Hb&&(l=m.Hb.getId(),e[l]||(m=new JH(l,m.Hb),e[l]=m,d.push(m)))}c=0<d.length?d:null}else c=null;else c=null;this.ro=c}c=a.experiments.g("html5_hls_cpn_killswitch")?"":this.clientPlaybackNonce;return Ela(a,this.isAd(),b,this.Eg,c).then(this.Rp,void 0,
this)}return ME()};
g.h.HL=function(a){if(this.Gk&&this.Zz){var b=this.isAd(),c=Fla(this.Gk);a=RI(c,SM(a,b)).then(this.Rp,void 0,this)}else a=ME();return a};
g.h.FL=function(a){var b=JO(this,this.Kk,this.fmtList);if(this.hlsvp){var c=this.hlsvp;var d=this.Eg,e={cpn:this.clientPlaybackNonce};-1==c.indexOf("/ibw/")&&(e.ibw=d?String(d):"1369843");c={url:g.Pg(c,e),type:"application/x-mpegURL",quality:"auto",itag:"93"};b.push(c)}return mN(a,this.isAd(),b,KO(this,a)).then(this.Rp,void 0,this)};
g.h.Sp=function(a){this.Fa=a;a=this.getAvailableAudioTracks();a=a.concat(this.ci);for(var b=0;b<this.Xk.length;b++)for(var c=this.Xk[b],d=0;d<a.length;d++){var e=a[d],f=e.Hb.id==c.audioTrackId;if(e.Hb.isDefault&&b==this.fr||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.Br=this.captionTracks[c.defaultCaptionTrackIndex]);g.u(c.forcedCaptionTrackIndex)&&(e.Wn=this.captionTracks[c.forcedCaptionTrackIndex]);
e.ir=c.visibility||"UNKNOWN"}}};
g.h.Rp=function(a){this.Kg=a;this.Sp(new TL((0,g.I)(this.Kg,function(a){return a.wg()})))};
g.h.Ey=function(){var a=Ij(this.Fa.videoInfos,function(a,c){return c.video.isAccelerated&&(!a||a.height<c.video.height)?c.video:a},null);
a&&(this.ar=UI(a.quality,a.quality,!0,"c"))};
g.h.Zd=function(){var a={};this.Ka&&(a.fmt=RH(this.Ka),this.wc&&RH(this.wc)!=RH(this.Ka)&&(a.afmt=RH(this.wc)));a.plid=this.playbackId;a.ei=this.eventId;a.list=this.playlistId;a.cpn=this.clientPlaybackNonce;this.videoId&&(a.v=this.videoId);this.nn&&(a.infringe=1);this.qh&&(a.splay=1);this.ya&&(a.live=this.qg?"dvr":"live");this.rm&&(a.autoplay=1);this.Fp&&(a.sdetail=this.Fp);this.yf&&(a.partnerid=this.yf);this.osid&&(a.osid=this.osid);return a};
g.h.getStoryboardFormat=function(){if(this.kb&&this.kb.storyboards){var a=this.kb.storyboards;return(a=a.playerStoryboardSpecRenderer||a.playerLiveStoryboardSpecRenderer)&&a.spec||null}return this.qc.storyboard_spec||this.qc.live_storyboard_spec||null};
g.h.ae=function(){return this.oa&&!(0,window.isNaN)(this.oa.ae())?this.oa.ae():AO(this)?0:this.lengthSeconds};
g.h.Yb=function(){return this.oa&&!(0,window.isNaN)(this.oa.Yb())?this.oa.Yb():0};
g.h.Ld=function(){return!this.ka()&&!(!this.videoId&&!this.Gk)};
g.h.Kb=function(){return RO(this)&&!this.oj&&!this.zi};
g.h.JD=function(){var a={format:"RAW",method:"GET",withCredentials:this.vD};this.Bk&&this.visitorData&&(a.headers={"X-Goog-Visitor-Id":this.visitorData});0<this.Wr&&(a.timeout=this.Wr);var b=this.Xr;0<this.Kp&&(b=g.fE(b,{playerretry:this.Kp}));this.Zy?nL(JE,b,a).then(SD(this.uC),SD(this.oR),this):(a.context=this,a.onSuccess=this.uC,a.onError=this.ls,g.mE(b,a));(0,g.oQ)("vir");gO("vir");this.Yy=g.gG()};
g.h.dd=function(a,b){if(30==this.yf){var c=this.Kh["default.jpg"];return c?c:this.videoId?g.Pg("//docs.google.com/vt",{id:this.videoId,authuser:this.bd,authkey:this.authKey}):"//docs.google.com/images/doclist/cleardot.gif"}b||(b="hqdefault.jpg");return(c=this.Kh[b])||a.D||"pop1.jpg"==b||"pop2.jpg"==b||"sddefault.jpg"==b||"hq720.jpg"==b||"maxresdefault.jpg"==b?c:VM(a,this.videoId,b)};
g.h.uC=function(a){if(!this.ka()){var b=a.responseText;if(b){this.uh=!1;var c=g.aE(b);this.Vz&&oN(c);"fail"==c.status?(this.SD&&this.setData(c),this.T("onStatusFail",c)):((0,g.oQ)("virc"),gO("virc"),(0,g.C)(g.bva,function(a){a in this.qc&&(c[a]=this.qc[a])},this),this.setData(c),RO(this)?FO(this):this.T("dataloaderror",new g.eN("manifest.net.retryexhausted",!0,{successButUnplayable:"1"})))}else this.ls(a)}};
g.h.oR=function(a){this.ls(a.g)};
g.h.ls=function(a){if(!this.ka()){var b=a?a.status:-1;a=this.Kp>=this.cv||400==b;var c=200<b?"manifest.net.badstatus":"manifest.net.connect",d=((g.gG()-this.Yy)/1E3).toFixed(3);b={backend:"gvi",rc:b,rt:d};a&&this.cv?(c="manifest.net.retryexhausted",b.urllen=String(this.Xr.length)):a||(this.Kp++,this.ID.start());this.T("dataloaderror",new g.eN(c,a,b))}};
g.h.getAvailableAudioTracks=function(){return this.Fa?0<this.Fa.getAvailableAudioTracks().length?this.Fa.getAvailableAudioTracks():this.ro||[]:[]};
g.h.getAudioTrack=function(){var a=this;if(this.wc&&!WH(this.wc))return g.Ka(this.getAvailableAudioTracks(),function(b){return b.id==a.wc.id})||this.ci;
if(this.ro){if(!this.Am)for(var b=g.p(this.ro),c=b.next();!c.done;c=b.next())if(c=c.value,c.Hb.isDefault){this.Am=c;break}return this.Am||this.ci}return this.ci};
g.h.getPlayerResponse=function(){return this.kb};
g.h.getPlaylistId=function(){return null};
g.h.Zb=function(){return this};
g.h.ul=function(a){return a.getVideoUrl(this.videoId)};
g.h.Vf=function(){return!!this.oa&&this.oa.Vf()};
g.h.Wf=function(){return!!this.oa&&this.oa.Wf()};
g.h.lf=function(){return!!this.oa&&this.oa.lf()};
g.h.wi=function(){return!!this.oa&&this.oa.wi()};
g.h.isAd=function(){return!!this.adFormat};
g.bva="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(" ");ama="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(" ");
wO=["annotations","captions","storyboard","chapterMarkers"];dP.prototype.isEmpty=function(){return this.endTime==this.startTime};fP.prototype.update=function(){var a=this.l.l()||0,b=g.lP(this.l);if(a!=this.g||jP(this,a,b)){var c;if(!(c=a<this.g||a-this.g>b-this.C+2||jP(this,a,b))){var d=this.l.Zd();c=d.volume;var e=c!=this.I;d=d.muted;d!=this.H?(this.H=d,c=!0):(!e||0<=this.B||(this.I=c,this.B=b),c=b-this.B,0<=this.B&&2<c?(this.B=-1,c=!0):c=!1)}c&&(g.gP(this),this.o=a);this.C=b;this.g=a}};var nP={other:1,none:2,wifi:3,cellular:7};g.qU=g.Hf(function(){var a="";try{var b=g.Cd("CANVAS").getContext("webgl");b&&(b.getExtension("WEBGL_debug_renderer_info"),a=b.getParameter(37446),a=a.replace(/[ :]/g,"_"))}catch(c){}return a});var hoa={vX:"YTP_ERROR_ALREADY_PINNED_ON_A_DEVICE",AUTHENTICATION_EXPIRED:"ERROR_AUTHENTICATION_EXPIRED",BX:"ERROR_AUTHENTICATION_MALFORMED",CX:"ERROR_AUTHENTICATION_MISSING",GX:"ERROR_BAD_REQUEST",iY:"ERROR_CGI_PARAMS_MALFORMED",jY:"ERROR_CGI_PARAMS_MISSING",PY:"YTP_DEVICE_FALLBACK",rZ:"YTP_ERROR_LICENSE",sZ:"YTP_ERROR_VIDEO_UNAVAILABLE",FZ:"YTP_ERROR_FORMAT_UNAVALIABLE",IZ:"YTP_ERROR_GEO_FAILURE",a_:"YTP_ERROR_GENERIC_WITHOUT_LINK",b_:"YTP_HTML5_FLASH_DEPRECATED",c_:"YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK",
u_:"YTP_ERROR_INVALID_DRM_MESSAGE",q1:"YTP_ERROR_PURCHASE_NOT_FOUND",r1:"YTP_ERROR_PURCHASE_REFUNDED",z1:"YTP_ERROR_RENTAL_EXPIRED",dY:"YTP_ERROR_CAST_SESSION_DEVICE_MISMATCHED",eY:"YTP_ERROR_CAST_SESSION_VIDEO_MISMATCHED",gY:"YTP_ERROR_CAST_TOKEN_FAILED",fY:"YTP_ERROR_CAST_TOKEN_EXPIRED",hY:"YTP_ERROR_CAST_TOKEN_MALFORMED",U1:"YTP_ERROR_SERVER_ERROR",v2:"YTP_ERROR_STOPPED_BY_ANOTHER_PLAYBACK",B2:"YTP_ERROR_STREAM_LICENSE_NOT_FOUND",z2:"YTP_ERROR_STREAMING_DEVICES_QUOTA_PER_24H_EXCEEDED",A2:"YTP_ERROR_STREAMING_NOT_ALLOWED",
I1:"YTP_ERROR_RETRYABLE_ERROR",Q2:"YTP_ERROR_TOO_MANY_STREAMS_PER_USER",P2:"YTP_ERROR_TOO_MANY_STREAMS_PER_ENTITLEMENT",w3:"YTP_ERROR_UNSUPPORTED_DEVICE",K3:"YTP_ERROR_VIDEO_FORBIDDEN",M3:"YTP_ERROR_VIDEO_NOT_FOUND"},hma={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 cva=R1&&4>W_?.1:0,Wsa=new qP;qP.prototype.g=null;qP.prototype.getDuration=function(){return this.duration||0};
qP.prototype.getCurrentTime=function(){return this.currentTime||0};
qP.prototype.l=function(){this.hasAttribute("controls")&&this.setAttribute("controls","true")};g.t(rP,g.M);g.h=rP.prototype;g.h.td=function(){this.Ei()&&this.ac(0);!this.pd()&&this.l&&(g.RD(Error("playVideo without src")),this.Uo(this.l.g),this.l.l||this.load());var a=this.play();!a&&R1&&7<=W_&&AF(this,"playing",(0,g.A)(function(){g.WD((0,g.A)(this.Iy,this,this.getCurrentTime(),0),500)},this));
return a};
g.h.Iy=function(a,b){this.Fi()||this.getCurrentTime()>a||10<b||(this.play(),g.WD((0,g.A)(this.Iy,this,this.getCurrentTime(),b+1),500))};
g.h.ac=function(a){0<this.Re()&&(R1&&4>W_&&(a=Math.max(.1,a)),this.ek(a))};
g.h.oe=function(){!this.A&&this.pd()&&(BI&&0<this.getCurrentTime()&&this.ac(0),this.Zu(),this.load(),tP(this,null))};
g.h.ck=function(){return{vct:this.getCurrentTime().toFixed(3),vd:this.getDuration().toFixed(3),vpl:gI(this.rl()),vbu:gI(this.Nf()),vpa:""+ +this.Fi(),vsk:""+ +this.So(),ven:""+ +this.Ei(),vpr:""+this.Hc(),vrs:""+this.Re(),vns:""+this.fo(),vec:""+this.Pb(),vvol:""+this.getVolume()}};
g.h.addEventListener=function(a,b){this.C.U(a,b,!1,this);this.Er(a)};
g.h.removeEventListener=function(a,b){this.C.Da(a,b,!1,this)};
g.h.dispatchEvent=function(a){return this.C.dispatchEvent(a)};
g.h.Nx=function(){this.D&&!this.Ro()&&this.fk(!0)};
g.h.V=function(){this.F&&this.removeEventListener("volumechange",this.Nx);g.M.prototype.V.call(this)};g.t(AP,g.af);AP.prototype.preventDefault=function(){g.af.prototype.preventDefault.call(this);this.g&&this.g.preventDefault()};
AP.prototype.stopPropagation=function(){g.af.prototype.stopPropagation.call(this);this.g&&this.g.stopPropagation()};g.DP.prototype.jb=function(){return g.X(this,8)&&!g.X(this,64)&&!g.X(this,2)};
g.DP.prototype.isError=function(){return g.X(this,128)};g.t(QP,g.M);
QP.prototype.B=function(a){if(!this.ka()&&(a=0<=a?a:g.lP(this.g),-1<(this.g.g.experiments.g("html5_report_all_states")?["PL","B","S"]:["PL"]).indexOf(this.o)&&(!g.Vb(this.l)||a>=this.A+30)&&(g.PP(this,a,"vps",[this.o]),this.A=a),!g.Vb(this.l))){TP(this,a);var b=a,c=this.g.D(),d=c.droppedVideoFrames,e=d-this.ea;if(d>c.totalVideoFrames||5E3<e)this.onError("html5.badframedropcount","df."+d+";tf."+c.totalVideoFrames);else 0<e&&g.PP(this,b,"df",[e]);this.ea=d;!this.g.g.experiments.g("disable_webgl_reporting")&&0<
this.C&&(g.PP(this,a,"glf",[this.C]),this.C=0);a={event:"streamingstats"};this.g.videoData.Ka&&(a.fmt=RH(this.g.videoData.Ka),(b=this.g.videoData.wc)&&RH(b)!=a.fmt&&(a.afmt=RH(b)));a.cpn=this.g.videoData.clientPlaybackNonce;a.ei=this.g.videoData.eventId;a.el=XO(this.g.videoData,this.g.g);a.docid=this.g.videoData.videoId;a.ns=this.g.g.ea;a.fexp=this.g.g.experiments.experimentIds.toString();a.cl=this.g.g.Ha;this.g.videoData.adFormat&&(a.adformat=this.g.videoData.adFormat);this.g.videoData.ya&&(a.live=
this.g.videoData.qg?"dvr":"live");a.seq=this.I++;if(!this.g.g.experiments.g("html5_prevent_qoe_spam_killswitch")&&(7E3==this.I&&g.RD(Error("Sent over 7000 pings"),"WARNING"),7E3<=this.I))return;g.cc(a,this.g.g.l);b=g.Pg("//"+this.g.g.Vg+"/api/stats/qoe",a);a=c="";for(var f in this.l)null==this.l[f]?g.RD(Error("Stats report key has invalid value: "+f),"WARNING"):(d="&"+f+"="+this.l[f].join(","),100<d.length?a+=d:c+=d);a:{f=b+c;a=a.replace(/ /g,"%20");if(this.g.g.experiments.g("html5_qoe_bearer")&&
(b=this.g.videoData.oauthToken||this.g.g.J,c=this.g.videoData.visitorData,d=b&&hE(),e=c&&this.g.g.Ca,d||e)){var k={};d&&(k.Authorization="Bearer "+b);e&&(k["X-Goog-Visitor-Id"]=c);g.mE(f,{headers:k,withCredentials:!0,method:"POST",postBody:a});break a}GE(f,void 0,a)}this.l={}}};
QP.prototype.ra=function(){if(this.g.videoData.Xf){var a=this.g.videoData.Xf;WP(this,"drm-"+a.flavor);WP(this,"eme-"+(a.l?"final":ML(a)?"ms":"com.youtube.fairplay"==a.g?"ytfp":QL(a)?"safarifp":"nonfinal"))}};
QP.prototype.onError=function(a,b){var c=g.lP(this.g);VP(this,c,a,b);TP(this,c);UP(this)};
QP.prototype.V=function(){g.M.prototype.V.call(this);window.clearInterval(this.Z)};
var T1={},lma=(T1[5]="N",T1[-1]="N",T1[3]="B",T1[0]="EN",T1[2]="PA",T1[1]="PL",T1);XP.prototype.send=function(a){if(!this.R){var b=$P(this);b=g.Pg(this.bb,b);if(this.D)this.I&&(a={method:"POST",Nb:{atr:this.I}},this.Bk&&this.visitorData&&(a.headers={"X-Goog-Visitor-Id":this.visitorData}),g.mE(b,a));else{var c=YP(this,a);c?g.mE(b,c):g.EE(b,a)}this.R=!0}};
XP.prototype.g=function(a){void 0==a&&(a=window.NaN);return(1*a.toFixed(3)).toString()};g.t(bQ,g.M);g.h=bQ.prototype;g.h.SQ=function(a,b){if(!this.ka()){this.D=window.NaN;this.o.update();var c=iP(this.o),d=eQ(this,c);b&&(d.C=a);var e=400<this.I;!(1<c.length)&&c[0].isEmpty()||e||(d.l=cQ(this,!0,a));d.send();this.I++}};
g.h.onError=function(a,b){if(!this.ka())this.l.onError(a,b)};
g.h.Op=function(a){var b=this.g.g,c=this.g.videoData,d={ns:b.ea,el:XO(c,b),eurl:b.sa,fmt:c.Ka?RH(c.Ka):0,html5:1,list:c.playlistId,plid:c.playbackId,cpn:c.clientPlaybackNonce,ei:c.eventId,ps:b.playerStyle,noflv:1,st:this.g.l(),video_id:c.videoId,metric:a};$O(c,b)&&(d.autoplay="1");"heartbeat"==a&&(d.tpmt=hP(this.o));g.Fa(d,b.l);gQ(this,g.Pg(b.experiments.g("cardio_base_url_killswitch")?(b.o?b.protocol+"://www.youtube.com/":b.baseYtUrl)+"live_204":b.baseYtUrl+"live_204",d))};
g.h.Ya=function(){};
g.h.V=function(){g.M.prototype.V.call(this);g.YD(this.D);this.D=window.NaN;var a=this.o;window.clearInterval(a.D);a.D=window.NaN;g.YD(this.A)};g.U1={"default":0,monoSerif:1,propSerif:2,monoSans:3,propSans:4,casual:5,cursive:6,smallCaps:7};g.dva=Object.keys(g.U1).reduce(function(a,b){a[g.U1[b]]=b;return a},{});
g.V1={none:0,raised:1,depressed:2,uniform:3,dropShadow:4};g.eva=Object.keys(g.V1).reduce(function(a,b){a[g.V1[b]]=b;return a},{});
g.W1={normal:0,bold:1,italic:2,bold_italic:3};g.fva=Object.keys(g.W1).reduce(function(a,b){a[g.W1[b]]=b;return a},{});g.t(lQ,xH);g.h=lQ.prototype;g.h.Ra=function(){return g.$U(this.app)};
g.h.MA=function(a,b,c,d,e){return Ata(this.app,a,b,c,d,e)};
g.h.gN=function(a,b,c){this.app.g.C.add(a,{Xh:b,Hk:c})};
g.h.iN=function(a,b){K0(this.app,a,b||this.playerType)};
g.h.wh=function(a){return C0(this.app,a)};
g.h.Wl=function(a,b,c,d){G0(this.app,a,c||this.playerType,b,d)};
g.h.Yo=function(a,b,c){c=void 0===c?window.NaN:c;var d=this.app;b=b||this.playerType;b=void 0===b?1:b;c=void 0===c?window.NaN:c;var e=xM(a);d.xa.get(b+e)||d.D&&d.D.getVideoData().videoId==e||(d.g.sc&&oN(a),a=new g.vO(a),e=c,a.wp=!0,c=mta(d,b),mU(c,a,(0,g.A)(d.Zd,d)),!d.g.experiments.g("unplugged_tvhtml5_video_preload_no_dryrun")&&1==b&&"TVHTML5_UNPLUGGED"==d.g.l.c||rU(c,!0),d.g.experiments.g("html5_expire_preloaded_players")&&!e&&(e=3600),d.xa.set(b+a.videoId,c,e),c="prefetch_"+a.videoId,YN("prefetch",
["pfp"],void 0,c),(0,g.pQ)("docid",a.videoId,c),(0,g.pQ)("plt",b,c),(0,g.pQ)("c",d.g.l.c,c),(0,g.pQ)("cver",d.g.l.cver,c))};
g.h.ik=function(a,b){O0(this.app,a,b)};
g.h.Ul=function(a){zta(this.app,a)};
g.h.pe=function(a,b,c){Eta(this.app,this.app.getCurrentTime()+a,b,c,this.playerType)};
g.h.LN=function(a){if(a){var b=this.getPlaylistId();if(!b||b==a.list){var c=a.video;(b=this.app.C)?this.isFullscreen()&&((c=c[b.ie()])&&c.encrypted_id!=b.Zb().videoId||(a.index=b.ie())):u0(this.app,{list:a.list,index:a.index,playlist_length:c.length});BQ(this.app.C,a);this.va("onPlaylistUpdate")}}else a=this.app,v0(a),a.l.va("onPlaylistUpdate")};
g.h.KN=function(){pG()};
g.h.MN=function(a,b){var c=g.bV(this.app,this.playerType||1);c&&c.getVideoData().Qg(a,b)};
g.h.getPlayerResponse=function(){var a=g.bV(this.app,this.playerType);return a?a.getVideoData().getPlayerResponse():null};
g.h.getStoryboardFormat=function(){return this.app.getVideoData().getStoryboardFormat()};
g.h.pN=function(a,b){var c=g.PO(this.app.getVideoData());if(!c)return null;c=c.g[b];return c?(c=g.qN(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.qN=function(a,b){var c=g.PO(this.app.getVideoData());return c?(c=c.g[b])?c.kk(a):-1:-1};
g.h.rN=function(a){var b=g.PO(this.app.getVideoData());return b?(b=b.g[a])?{index:a,intervalMs:b.g,maxFrameIndex:b.lk(),minFrameIndex:b.gp()}:null:null};
g.h.nN=function(){var a=g.PO(this.app.getVideoData());return a?a.g.length:0};
g.h.lN=function(){var a=this.app.g;return{sc:a.sc,yb:a.yb}};
g.h.getVideoData=function(){var a=xH.prototype.getVideoData.call(this),b=g.bV(this.app,this.playerType);b&&(b=b.getVideoData(),a.backgroundable=b.backgroundable,a.eventId=b.eventId,a.cpn=b.clientPlaybackNonce,a.hasVideoContentProtection=!!g.LO(b),a.isLive=b.ya,a.itct=b.Tj,a.paidContentOverlayText=MO(b),a.paidContentOverlayDurationMs=NO(b),null!=b.liveUtcStartSeconds&&(a.liveUtcStartSeconds=b.liveUtcStartSeconds));return a};
g.h.getCurrentTime=function(a){return a?this.app.getCurrentTime(a):xH.prototype.getCurrentTime.call(this)};
g.h.getDuration=function(a){return a?this.app.getDuration(a):xH.prototype.getDuration.call(this)};
g.h.xh=function(a){if(3==this.Ra())return g.aV(this.app.A).dO();var b=this.app.getVideoData(),c=g.bV(this.app,a)||g.bV(this.app),d=this.app.gd(),e=b.clipEnd;b=b.clipStart;var f=this.getCurrentTime(a);a=this.getDuration(a);var k=QU(c),l=GU(c),m=g.bV(this.app,void 0);if(m){var n=window.NaN;m.l&&(n=xP(m.l));m=0<=n?n:m.getCurrentTime()}else m=0;return{allowSeeking:d,clipEnd:e,clipStart:b,current:f,displayedStart:-1,duration:a,ingestionTime:k,isPeggedToLive:l,loaded:m,seekableEnd:Aoa(c),seekableStart:c.Yb()}};
g.h.Wt=function(a){return ota(this.app,a)};
g.h.hN=function(a){return s0(a)};
g.h.XA=function(a,b){var c=g.bV(this.app,this.playerType);if(c){var d=UI(a,b||a,!0,"m");c.g.Hm=d;a:{var e=c.g;if(e.Fa){if(!c.M.g.experiments.g("html5_appletv_quality_selection_killswitch")&&!e.Fa.g)break a;var f=g.MH[UG()];e=e.Fa.videoInfos[0].video.g;if(f>e&&0!=e&&d.g==e)break a}g.NG("yt-player-quality",YI(d),2592E3)}JU(c,"m")}};
g.h.kN=function(){var a=this.app.getVideoData();var b=this.app.getCurrentTime();if(a.oa&&a.ya&&a.Ka){var c=a.oa.g[a.Ka.id];c&&c.index?(a=c.index.Ag(b),c=c.index.Nd(a),b={sequence:a,elapsed:Math.floor(1E3*(b-c))}):b=null}else b=null;return b};
g.h.Ji=function(a){var b=this.app,c=g.bV(b,this.playerType);c&&b.g.wb.has(a.toString())&&c.C&&(b=dQ(c.C,"engage"),b.o=a,b.send(void 0))};
g.h.Xl=function(a,b,c){var d=this.app.A.A;d&&d.Ol()&&d.Jt(a,b,c)};
g.h.uN=function(a,b){var c=g.EH(this);c&&c.Nt(a,b)};
g.h.getAudioTrack=function(){var a=g.bV(this.app,this.playerType);return a?a.getAudioTrack():this.app.getVideoData().ci};
g.h.bu=function(a){3==this.Ra()&&g.aV(this.app.A).Yl("control_set_audio_track",a);var b=g.bV(this.app,this.playerType);if(b&&!b.ka()&&!g.X(b.o,128))if(b.g.Fa.g){if(b=b.B,!b.ka()){var c=b.D;a=a.id;c.H="m";c.C=c.D.g[a];c.J=c.C;b.T("audioformatchange",new CQ(c.J,c.A,c.H));b.T("reattachrequired")}}else{a:if(c=b.g,c.wc&&!WH(c.wc)||a==c.Am||!c.Kg||0>=c.Kg.length)c=!1;else{for(var d=g.p(c.Kg),e=d.next();!e.done;e=d.next()){e=e.value;if(!(e instanceof jN)){c=!1;break a}var f=a.Hb.getId();e.o&&(e.o.l=f,e.l=
null)}c.Am=a;c=!0}c&&(b.T("internalaudioformatchange",b.g,!0),HU(b)&&b.fc("hlsaudio",a.id))}};
g.h.getAvailableAudioTracks=function(){return g.bV(this.app,this.playerType).getAvailableAudioTracks()};
g.h.mN=function(){var a=g.bV(this.app,this.playerType);return a&&a.getVideoData().Ka?YI(AU(a,"html5_optimality_migration")?Jna(a.M,a.g,BU(a)):QT(a.M,a.g)):"unknown"};
g.h.sN=function(){var a=g.bV(this.app,this.playerType);return a?a.A.experiments.g("html5_appletv_quality_selection_killswitch")||!a.g.Fa||a.g.Fa.g?UG():YI(a.g.Hm):"auto"};
g.h.FN=function(a,b){var c=this.app;c.Gd=a;c.Wb=b;c.l.T("sizestylechange",a,b);c.F.uf()};
g.h.jN=function(){var a=this.app.A.F;a&&a.hJ()};
g.h.YA=function(){var a=g.EH(this);a&&a.Oo(!0)};
g.h.WA=function(){var a=g.EH(this);a&&a.Oo(!1)};
g.h.Ii=function(){var a=this.app.g;a=this.app.I.g&&!a.experiments.g("kevlar_miniplayer_disable_vis");var b=this.isFullscreen()||JM(this.app.g);return this.Di()?4:XT()?3:b?2:a?1:this.app.I.l?5:0};
g.h.isFullscreen=function(){return this.app.isFullscreen()};
g.h.wN=function(){return this.app.I.l};
g.h.Di=function(){var a=g.bV(this.app,this.playerType);return!!a&&a.Ha};
g.h.JN=function(){return!0};
g.h.VA=function(a){a=g.b0(this.app.F,a);return{left:a.left,top:a.top,width:a.width,height:a.height}};
g.h.EN=function(a){this.app.g.enableSafetyMode=a};
g.h.IN=function(a){if(this.app.g.Wb!=a){this.app.g.Wb=a;var b=g.bV(this.app,this.playerType);b&&JU(b,a?"e":"a")}};
g.h.zN=function(a){fF();Q0(this.app,a?2:0)};
g.h.Yt=function(){var a=this.app.A.B;a&&a.created&&a.destroy();(a=g.bV(this.app))&&OU(a);(a=this.app.A.H)&&a.lL()&&g.ZU(this.app.H,!0)};
g.h.oe=function(){var a=this.app.g;!a.experiments.g("disable_new_pause_state3")&&YM(a)&&"blazer"!=a.playerStyle?this.Yt():xH.prototype.oe.call(this)};
g.h.az=function(){return RU(g.bV(this.app,this.playerType),!0)};
g.h.Zo=function(a){this.app.A.l.Cv(a,!0)};
g.h.Hi=function(){var a=this.app.A.l;return a?a.Tr():null};
g.h.au=function(){this.app.A.l.yD()};
g.h.vN=function(){var a=g.bV(this.app,this.playerType);if(!a)return!1;a=a.getVideoData();return!!a&&a.Ld()&&!!a.Ka&&a.Ka.video.isAccelerated&&a.Ka.video.o};
g.h.isPeggedToLive=function(a){return this.app.isPeggedToLive(void 0===a?!0:a)};
g.h.DN=function(a){var b=this.app,c=b.I;c.g!=a&&(c.g=a,c.o());a=b.A;(a=g.Y(a.g).useMiniplayerUi?a.ba:null)&&(b.I.g?a.load():a.unload());b.l.T("minimized")};
g.h.BN=function(a){var b=this.app.I;b.l!=a&&(b.l=a,b.o())};
g.h.Sl=function(a){return B0(this.app,a)};
g.h.Xo=function(a){if(a){var b=this.app.A.o;b&&b.KA(a)}};
g.h.GN=function(a){this.Xo(a)};
g.h.oN=function(){return this.Vo()};
g.h.Vo=function(){var a=this.app.A.o;return a?a.JA():{}};
g.h.yN=function(a){var b=this.app;b.g.Xg=a;b.D&&(a=b.D,a.C&&g.gP(a.C.o),b.g.I&&Gta(b))};
g.h.xN=function(){};
g.h.setVolume=function(a,b){BH(this,a,b)};
g.h.mute=function(a){CH(this,a)};
g.h.dg=function(a){DH(this,a)};
g.h.nL=function(){return this.app.Z};
g.h.hk=function(a){if("annotations_module"==a){var b=this.app.A.A;b&&!b.loaded&&b.load()}xH.prototype.hk.call(this,a)};
g.h.Vl=function(a){if("annotations_module"==a){var b=this.app.A.A;b&&b.loaded&&b.unload()}xH.prototype.Vl.call(this,a)};
g.h.Md=function(a,b,c){if(!b)return null;var d=this.app.A;switch(a){case "ad":return(a=d.B)&&a.fB&&a.fB(b,c);case "remote":return(a=g.aV(d))&&a.cO(b,c);case "unplugged":return(a=g.XM(g.Y(d.g))?d.C:null)&&a.B(b,c);case "spacecast":return(c=d.R)&&c.C(b);case "annotations_module":return(a=d.A)&&a.bM(b,c);case "creatorendscreen":return(a=d.D)&&a.hM(b,c)}return xH.prototype.Md.call(this,a,b,c)};
g.h.Gi=function(a){var b=this.app.A;switch(a){case "ad":return(b=b.B)&&b.hO&&"addata adstate breakscount displaystate getContentVideoData isExternalShelfAllowedFor loadedadbreaks midrollfreqcap".split(" ");case "remote":return g.aV(b)&&["casting","receivers","currentReceiver","quickCast"];case "annotations_module":return(b=b.A)&&b.cM();case "creatorendscreen":return(b=b.D)&&b.iM();case "unplugged":return(g.XM(g.Y(b.g))?b.C:null)&&"settingsMenuShown hideSettingsMenu showSettingsMenu getStoryboardFrameData getStoryboardFrameIndex getStoryboardFrameIntervalSeconds getStoryboardMaxFrameIndex".split(" ")}return a?
xH.prototype.Gi.call(this,a):(a=xH.prototype.Gi.call(this),b.B&&a.push("ad"),g.aV(b)&&a.push("remote"),b.A&&a.push("annotations_module"),b.D&&a.push("creatorendscreen"),g.XM(g.Y(b.g))&&b.C&&a.push("unplugged"),a)};
g.h.Zt=function(){var a=this.app.F.Na();return{width:a.width,height:a.height}};
g.h.AN=function(a){var b=this.app.F;b.J=wM(a,!0);b.uf()};
g.h.aW=function(){var a=g.EH(this);a&&a.Pt()};
g.h.tN=function(){return g.a0(this.app.F)};
g.h.HN=function(a){var b=this.app.F;b.Z!=a&&(b.Z=a,b.uf())};
g.h.CN=function(a,b){var c=this.app.F,d=new g.hd(a,b);g.id(c.B,d)||(c.B=d,c.uf())};g.t(mQ,lQ);g.h=mQ.prototype;g.h.td=function(){I0(this.app,!0,this.playerType);kY(this.app,this.playerType)};
g.h.hd=function(){mY(this.app,this.playerType)};
g.h.pe=function(a,b,c){I0(this.app,!0,this.playerType);var d=this.app,e=this.playerType;nY(d,d.getCurrentTime()+a,b,c,e)};
g.h.ac=function(a,b){I0(this.app,!0,this.playerType);nY(this.app,a,b,void 0,this.playerType)};
g.h.oe=function(){Dta(this.app)};nQ.prototype.reset=function(){TN("")};
nQ.prototype.g=function(a,b){(0,g.oQ)(a,b,"")};
nQ.prototype.info=function(a,b){(0,g.pQ)(a,b,"")};g.t(g.rQ,g.M);g.rQ.prototype.getId=function(){return this.Ea};
g.rQ.prototype.toString=function(){return"CueRange{"+this.namespace+":"+this.Ea+"}["+sQ(this.start)+", "+sQ(this.end)+"]"};
g.rQ.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 oma=1;g.rQ.prototype.getId=g.rQ.prototype.getId;g.uQ.prototype.toString=function(){return this.type+this.id};g.t(g.wQ,g.HF);g.h=g.wQ.prototype;g.h.hasNext=function(a){return this.loop||!!a||this.Eb+1<this.sh};
g.h.Sf=function(a){return this.loop||!!a||0<=this.Eb-1};
g.h.Zb=function(a,b,c){a=void 0!=a?a:this.Eb;a=this.La&&a in this.La?this.La[this.ee[a]]:null;var d=null;a&&(b&&(a.autoplay="1"),c&&(a.autonav="1"),d=new g.vO(a),g.N(this,d),d.startSeconds=this.startSeconds||d.clipStart||0,this.listId&&(d.playlistId=this.listId.toString()));return d};
g.h.setShuffle=function(a){this.jE=a;a=this.ee&&null!=this.ee[this.Eb]?this.ee[this.Eb]:this.Eb;this.ee=[];for(var b=0;b<this.La.length;b++)this.ee.push(b);this.Eb=a;this.Ho++;if(this.jE){a=this.ee[this.Eb];for(b=1;b<this.ee.length;b++){var c=Math.floor(Math.random()*(b+1)),d=this.ee[b];this.ee[b]=this.ee[c];this.ee[c]=d}for(b=0;b<this.ee.length;b++)this.ee[b]==a&&(this.Eb=b);this.Ho++}this.T("shuffle")};
g.h.dd=function(a,b){b=b||"hqdefault.jpg";var c=this.Kh[b];if(c||a.D||"sddefault.jpg"==b||"hq720.jpg"==b||"maxresdefault.jpg"==b)return c;if(this.sE.length)return VM(a,this.sE[0],b)};
g.h.ie=function(){return this.Eb};
g.h.getLength=function(){return this.sh};
g.h.ll=function(a){if(a&&(a=a.videoId,!this.La[this.Eb]||this.La[this.Eb].video_id!=a))for(var b=0;b<this.La.length;b++)if(this.La[b].video_id==a){this.Eb=b;break}};
g.h.onReady=function(a){this.xm=a;this.Vc&&g.WD(this.xm,0)};
g.h.getPlaylistId=function(){return this.listId?this.listId.toString():null};
g.h.ul=function(a){return a.getVideoUrl(this.Zb().videoId,this.getPlaylistId())};
g.h.V=function(){this.xm=null;g.$e(this.La);g.HF.prototype.V.call(this)};DQ.prototype.add=function(a){this.g=(this.g+1)%this.l.length;this.l[this.g]=a};
DQ.prototype.clear=function(){for(var a=this.l.length,b=0;b<a;b++)this.l[b]=0;this.o=this.g=this.l.length-1};g.t(IQ,g.HF);IQ.prototype.isPeggedToLive=function(){return this.C};TQ.prototype.reset=function(){this.X=WQ(this);VQ(this);this.g=new SQ(0,0,null);this.B=8;this.A=[];this.o=[];this.C=this.H=window.NaN;this.l=this.I=0;this.M=!1};
TQ.prototype.process=function(a){var b=!1;if(this.A.length){if(ZQ(this)&&this.A.length+a.byteLength<this.B)return $Q(this,a,0),0;b=this.A.length;var c=new window.Uint8Array(b+a.byteLength);c.set(this.A,0);c.set(new window.Uint8Array(a.buffer,a.byteOffset,a.byteLength),b);this.A=[];a=new window.DataView(c.buffer);b=!0}for(var d=c=0;c<a.byteLength;){var e=a.byteLength-c,f=window.NaN;if(ZQ(this)){if(e<this.B)return $Q(this,a,c),0;switch(this.g.type){case 0:f=XQ(this,a,c);b||0!=c||(d=this.g.type);break;
case 1836019574:case 1836019558:f=XQ(this,a,c);break;case 1953653094:e=a;f=c;this.I||(this.I=tJ(aR(this,e,f),this.l));f=XQ(this,e,f);break;case 1836476516:this.l=vJ(aR(this,a,c));YQ(this);f=this.g.size-8;break;case 1952867444:e=void 0;(0,window.isNaN)(this.C)||(f=aR(this,a,c),this.D.Ed?e=this.Y(BJ(f),this.l):e=this.D.X?this.C:BJ(f),this.D.X&&AJ(f,e),(0,window.isNaN)(this.F)&&(this.F=e),this.C+=this.I,this.R+=this.I);f=this.g.size-8;break;case 1936286840:e=aR(this,a,c),f=FJ(e),this.l=DJ(e),YQ(this),
this.I=f,f=this.g.size-8}}else f=Math.min(this.B,e);this.g.offset+=f;this.B-=f;c+=f;if(0==this.B){for(;0!=this.g.type&&this.g.offset==this.g.size&&this.g.g;)1835295092==this.g.type&&(this.M=!0),this.g.g.offset+=this.g.size,this.g=this.g.g;switch(this.g.type){case 0:case 1836019574:case 1836019558:case 1953653094:this.B=8;break;default:this.B=this.g.size-8}}}0<a.byteLength&&this.o.push(a);return d};var Fma=0;g.h=oR.prototype;g.h.JU=function(a){this.status=a.status;a.ok?(this.C=a.body.getReader(),this.B?(this.I=a.headers,this.R(),this.o=new window.Uint8Array(qR(this)),uR(this)):this.C.cancel("Cancelling")):wR(this)};
g.h.wQ=function(a){if(this.B){var b;window.performance&&window.performance.now&&(b=window.performance.now());var c=(0,g.G)(),d=a.value?a.value:null;(0,g.G)();a.done?(this.C=null,wR(this)):(vR(this)?(tR(this,d),this.B(c,this.l,b)):(a=this.l,this.D.rw&&(a+=d.length),this.B(c,a,b),tR(this,d)),uR(this))}};
g.h.dB=function(a){this.J=""+a;this.F=!0;wR(this)};
g.h.de=function(a){return this.I.get(a)};
g.h.Bl=function(){return!!this.I};
g.h.Ir=function(){return this.l};
g.h.bo=function(){return+this.de("content-length")};
g.h.qz=function(){return 200<=this.status&&300>this.status&&!!this.l};
g.h.xi=function(){return!!this.A.length||(this.H||vR(this))&&0<this.g};
g.h.eE=function(){this.xi();this.A.length||rR(this);return this.A.shift()};
g.h.ZA=function(){this.xi();this.A.length||rR(this);return this.A[0]};
g.h.abort=function(){this.C&&this.C.cancel("Cancelling");this.M=this.B=null};
g.h.oE=function(){return!0};
g.h.qD=function(){return this.F};
g.h.du=function(){return this.J};g.h=xR.prototype;g.h.ON=function(){if(!this.l){this.status=this.g.status;try{this.response=this.g.response}catch(a){}this.o=!0;this.A()}};
g.h.QN=function(){2==this.g.readyState&&this.B()};
g.h.PN=function(a){this.l||(this.status=this.g.status,this.C(a.timeStamp,a.loaded))};
g.h.Bl=function(){return 2<=this.g.readyState};
g.h.de=function(a){try{return this.g.getResponseHeader(a)}catch(b){return g.RD(b),""}};
g.h.bo=function(){return+this.de("content-length")};
g.h.Ir=function(){return this.response.byteLength};
g.h.qz=function(){return 200<=this.status&&300>this.status&&!!this.response&&!!this.response.byteLength};
g.h.xi=function(){return this.o&&!!this.response&&!!this.response.byteLength};
g.h.eE=function(){this.xi();var a=this.response;this.response=null;return new window.Uint8Array(a)};
g.h.ZA=function(){this.xi();return new window.Uint8Array(this.response)};
g.h.abort=function(){this.l=!0;this.g.abort()};
g.h.oE=function(){return!1};
g.h.qD=function(){return!1};
g.h.du=function(){return""};g.h=yR.prototype;g.h.Sa=function(){return this.A?this.A.Sa():""};
g.h.Pb=function(){return this.B};
g.h.start=function(a){CR(this,2);this.M=Vua++;this.l?(this.J=Dka(this.info,this.l.o,this.l.length),this.A=g.RK(this.info,this.o,this.X,this.J)):(this.J=this.info.range,this.A=g.RK(this.info,this.o,this.X));var b=!1;if(this.o.xa&&2>this.info.l.g&&this.H){var c=this.A.get("aitags");if(c&&(QK(this.info)||PK(this.info))&&this.Y&&"auto"==UG()&&WG()){var d=ob(c).split(","),e=[];(0,g.C)(this.Y,function(a){g.Oa(d,a)&&e.push(a)});
0<e.length&&(this.A.set("altitags",g.nb(e.join(","))),b=!0)}}b||(this.H=!1);this.A.set("rn",this.M.toString());0<=a&&this.A.set("rbuf",(1E3*a).toFixed().toString());a=this.A.Sa();try{this.g=Hma(this,a)}catch(f){this.B="net.ssl";DR(this);return}0<this.o.J&&this.R.start()};
g.h.uU=function(){this.D=0;this.info.l.A=g.gG();var a=BR(this);a.B=g.gG();a.o+=1;a=this.timing;a.g=(0,g.G)();a.C=a.g;a.o=0;a.fa=a.g;a.R=0;a.F&&(a.F=[]);a.ga=!1;a.ia=!1;a.B=0;a.ba=pM(a.l);a.H=window.Infinity;a.J=window.Infinity;lR(a);nR(a,a.g);a.Z=(a.M-a.g)/1E3;a.I=window.NaN;a.Y=null};
g.h.tU=function(a,b,c){if(!this.ka()){this.C=this.g.status;LR(this,!1);var d=this.timing;a=a>d.g&&4E12>a?a:(0,g.G)();jR(d,a,b);50>a-d.C&&kR(d)&&3!=dR(d)||hR(d,a,b,c);b=this.timing;b.o>b.xa&&eR(b,b.o)&&4>this.state?CR(this,4):IR(this)&&KR(this)&&CR(this,Math.max(3,this.state))}};
g.h.sU=function(){if(!this.ka()){if(!this.K&&this.g.Bl()&&this.g.de("X-Walltime-Ms")){var a=(0,window.parseInt)(this.g.de("X-Walltime-Ms"),10);this.K=((0,g.G)()-a)/1E3}this.g.Bl()&&this.g.de("X-Restrict-Formats-Hint")&&this.o.pw&&!WG()&&g.NG("yt-player-headers-readable",!0,2592E3)}};
g.h.rU=function(){var a=this.g;if(!this.ka()&&a){this.R.stop();this.C=a.status;var b=!1;if(400<=a.status)b=!0,this.B="net.badstatus";else if(a.qz()){var c="";JR(this)&&(c=a.ZA(),2048<c.length?c="":(c=String.fromCharCode.apply(String,c),c=dH(c)?c:""));if(c){a=BR(this);g.gG();a.o=0;a.l=0;a.g=0;a=this.info;var d=this.A;g.NK(a.l,d,c);a.requestId=d.get("req_id");CR(this,5)}else if(c=a.Ir(),(d=!!this.J&&this.J.length)&&d!=c||a.qD())b=!0,this.B="net.closed";else{LR(this,!0);var e=HR(this)?this.g.de("X-Bandwidth-Est"):
0;if(a=HR(this)?this.g.de("X-Bandwidth-Est3"):0)this.Z=!0,this.o.FE&&(e=a);a=this.timing;d=(0,g.G)();e=e?(0,window.parseInt)(e,10):0;if(!a.ga){a.ga=!0;d=d>a.g&&4E12>d?d:(0,g.G)();jR(a,d,c);hR(a,d,c);var f=dR(a);if(2==f&&e)gR(a,a.o/e,a.o);else if(2==f||1==f)e=(d-a.g)/1E3,(e<=a.l.policy.B||!a.l.policy.B)&&!a.ia&&kR(a)&&gR(a,e,c),kR(a)&&kM(a.l,c,a.B);c=a.l;d=(d-a.g)/1E3;e=a.Z;f=PK(a.X);c.D.g(d,a.o/d);c.o=g.gG();f||c.l.g(1,d-e);a.A&&(a.A=!1)}a=BR(this);g.gG();a.o=0;a.l=0;a.g=0;this.info.l.g=0;CR(this,
6)}}else b=!0,this.B=204==a.status?"net.nocontent":"net.connect";b&&DR(this)}};
g.h.TU=function(){if(!this.ka()){var a=(0,g.G)(),b=!1;kR(this.timing)?(a=this.timing.M,nR(this.timing),this.timing.M-a>=.8*this.o.J?(this.D++,b=5<=this.D):this.D=0):(b=this.timing,b.D&&mR(b,(0,g.G)()),a-=b.K,this.o.Oc&&0<a&&(this.D+=1),b=a>1E3*this.o.wb);this.D&&this.F&&this.F(this);b?GR(this,!1):this.R.start()}};
g.h.ka=function(){return-1==this.state};
g.h.dispose=function(){PK(this.info)&&6!=this.state&&(this.info.g[0].g.C=!1);CR(this,-1);this.F=null;this.R.dispose();FR(this)};
yR.DEBUG=!1;g.t(OR,g.HF);ZR.prototype.R=function(a,b){switch(b.info.type){case 1:case 2:this.K(b);break;case 4:var c=b.info.g.DA(b),d=b.info,e=this.g;e&&e.g==d.g&&e.type==d.type&&(d.range&&e.range?e.range.start==d.range.start&&e.range.end==d.range.end:e.range==d.range)&&e.wa==d.wa&&e.l==d.l&&e.Xa==d.Xa&&(this.g=g.Ia(c).info);(0,g.C)(c,(0,g.A)(this.R,this,a));break;case 3:Lma(this.o,a,b)}};
ZR.prototype.K=function(a){var b=this.o;if(1==a.info.type){var c=oK(a);TH(a.info.g.info)&&!UH(a.info.g.info)&&(dK(new XJ(c)),cK(21936,c));if(!b.o.TE&&UH(a.info.g.info)&&"bt2020"==a.info.g.info.video.primaries){var d=new XJ(c);ZJ(d,[408125543,374648427,174,224,21936,21937])&&(d=d.o+d.g,129==c.getUint8(d)&&1==c.getUint8(d+1)&&c.setUint8(d+1,9))}a.info.g.info.video&&UK(a.info.g,c);2==a.info.g.info.containerType&&a.info.g.info.video&&eK(c);UR(b,a)&&(vK(a),g.VH(a.info.g.info)&&HJ(oK(a),1701671783))}a.info.g.qo(a)};
ZR.prototype.X=function(a){a=a.info;this.B&&(this.M=this.B);this.B=a;a.g.info.g>=this.H&&(this.H=a.g.info.g)};
ZR.prototype.getDuration=function(){return this.l.index.Aj()};FS.prototype.send=function(){g.mE(this.l,{format:"RAW",responseType:"arraybuffer",timeout:1E4,xd:this.o,yd:this.o,context:this});this.g=g.gG()};
FS.prototype.o=function(a){var b={rc:a.status,lb:a.response?a.response.byteLength:0,rt:((g.gG()-this.g)/1E3).toFixed(3),shost:g.Fg(this.l),trigger:this.C};204==a.status||a.response?this.A&&this.A(fN(b)):this.B(new g.eN("pathprobe.net",!1,b))};g.t(GS,g.HF);g.t(PS,g.M);PS.prototype.C=function(a){if(!this.ka()){for(var b=arguments.length-1;0<=b;b--){var c=arguments[b];if(c){g.Ta(this.l,c);var d=this.g,e=d.g;c=g.cb(e,c,d.l);0<=c&&g.Sa(e,c)}}this.o()}};
PS.prototype.reset=function(){this.B=this.H=!1;this.D.stop();this.g.g=[];this.l=[];this.o();this.F=null};
PS.prototype.o=function(){this.I=!0;if(!this.J){for(var a=3;this.I&&a;){this.I=!1;this.J=!0;if(this.B&&!this.H&&!this.ka()){this.D.stop();var b=this.K();g.X(b,32)&&this.R.start();for(var c=g.X(this.K(),2)?0x8000000000000:1E3*this.Y(),d=g.X(b,2),e=[],f=[],k=0;k<this.l.length;k++){var l=this.l[k];l.active&&(d?0x8000000000000>l.end:!l.contains(c))&&f.push(l)}e=e.concat(ena(this,f));if(d)b=MS(this.g,0x7ffffffffffff),b=b.concat(bna(this.g));else if(this.A<=c&&b.jb()&&!g.X(b,16)&&!g.X(b,32)){b=this.g;d=
c;f=[];for(k=NS(b,this.A);k<b.g.length&&!(l=b.g[k],(l.end<=d||l.contains(d))&&f.push(l),l.start>d);++k);b=f}else b=MS(this.g,c);e=e.concat(dna(this,b));this.A=c;!this.H&&this.F&&(this.F=null);c=g.p(e);for(e=c.next();!e.done;e=c.next())e=e.value,b=e[1],1==e[0]?(b.g&&b.g.T("onEnter",b),this.M("crn_"+b.namespace,b)):(b.g&&b.g.T("onExit",b),this.M("crx_"+b.namespace,b))}this.J=!1;a--}this.K().jb()&&(a=OS(this.g,this.A),!(0,window.isNaN)(a)&&0x7ffffffffffff>a&&(a=(a-this.A)/this.X(),this.D.start(a)))}};
PS.prototype.V=function(){this.l=[];this.g.g=[];this.F=null;g.M.prototype.V.call(this)};SS.prototype.then=function(a,b){return this.o.then(a,b)};
SS.prototype.resolve=function(a){this.g(a)};
SS.prototype.reject=function(a){this.l(a)};g.t(US,g.HF);g.h=US.prototype;
g.h.initialize=function(a,b,c,d){a=a||0;var e=this.D;d=d&&d.id;e.H="i";if(e.l.Qc||"s"==b.reason)e.H=b.reason;wS(e,b);Uma(e,d);e.J=e.C;Vma(e);e.A=e.o;b=AS(e);this.A=new ZR(this.l,b.audio,(0,g.A)(this.ox,this));this.g=new ZR(this.l,b.video,(0,g.A)(this.ox,this));this.l.ia&&this.C.l&&(this.tb=new zma(this.l,this.g.l.index));pT(this,this.A);pT(this,this.g);this.g.o.M=this.A.o;this.T("videoformatchange",b);this.Z=this.g.D;this.F&&HS(this.F,this.g.l);this.l.D&&FQ()&&this.tf("streaming","1",!0);this.B=this.C.l?
0:a;c?(WS(this,!1),g.Yt(this.ia)):(a=0==this.B,sT(this,this.g,this.g.l,a),sT(this,this.A,this.A.l,a),this.seek(this.B),this.Xc("gv"))};
g.h.resume=function(){if(this.R||this.M)this.ra=this.M=this.R=!1,this.qe()};
g.h.eT=function(a){var b=this.l.Oc;if(!(!(b&&2<=a.state)||5<=a.state||a.D<b||KK(a.info.l,this.l,this.Y))){b=this.Y;var c=AK(JK(a.info.l));b=xK(b,c);b.g||b.l||b.o||hT(this,a,!0)}if(!this.ka()&&3<=a.state)if(c=a.info.g[0].g,b=!this.na&&c.info.video,c=!this.fa&&c.info.audio,5==a.state?b?this.Xc("vrr"):c&&this.Xc("arr"):6==a.state?b?(this.na=a.Sa(),oG(4)):c&&(this.fa=a.Sa()):4==a.state&&b&&oG(4),5<=a.state&&(this.l.ga&&(b=cR(a.timing),c=a.timing,b={rn:a.M.toString(),rt:b.rt,pt:b.pt,stall:b.stall,elt:b.elbowTime,
elb:b.elbowBytes,rqd:c.F?c.F.join(""):""},c=b.rqd,delete b.rqd,c&&this.tf("rqd",fN({rn:b.rn,d:c})),this.tf("rqs",fN(b))),a.Z&&this.tf("sbwe3","1",!0)),5==a.state)a.start(Math.max(0,a.info.g[0].B-this.B));else if(5<=a.state&&5==a.info.g[0].type){if(6==a.state){var d=(a.info.g[0].g.info.video?this.g:this.A).A[0]||null;d&&d.D&&GR(d,!0)}a.dispose()}else{if(this.l.xa&&a.H&&4<=a.state&&5!=a.state)if(b=a.g?a.g.de("X-Response-Itag"):null){b=Wma(this.D,b);c=a.info.range.length-b.eo();b.C=!0;a.info.g[0].g.C=
!1;var e=b.Bj(c)[0];a.info=e;if(a.l){c=a.l;e=e.g;c.l=e;for(var f=0;f<c.g.length;f++)c.g[f].info=e[f],c.g[f].range.start=e[f].range.start,c.g[f].range.end=e[f].range.end,c.g[f].range.length=e[f].range.length}a.H=!1;c=this.g;c.l!=b&&(c.l=b);c=this.g;c.g&&(c.g.g=b);this.T("constraint",b.info.video.quality);(c=a.g?a.g.de("X-Segment-Lmt"):null)&&b instanceof g.lL&&((0,window.isNaN)(b.lastModified)||b.lastModified==c||iS(this.g,a))}else a.H=!1;if(6==a.state||this.l.D&&3<=a.state&&!(5<=a.state)){b=a.info.g[0].g;
c=b.info.video?this.g:this.A;if(this.C.l&&c&&(c.D=!1,a.K&&this.Ma.g(1,a.K),e=a.g?(0,window.parseInt)(a.g.de("X-Head-Seqnum"),10):null))for(d in f=this.C,f.g){var k=f.g[d].index;k.g&&(k.o=Math.max(k.o,e))}if(d=PK(a.info))d=a.info,d=!!PJ(d.g[d.g.length-1]);d&&((0,g.C)(a.l.g,c.K,c),this.l.Vg||this.T("metadata",b))}else 7==a.state&&(d=a.info.g[0].g,ER(a)?(b=(d.info.video&&1<d.A.g||410==a.C||500==a.C||503==a.C)&&!CS(this.D),c=AR(a),e=d.info.video?this.g:this.A,b&&(c.stun="1"),iT(this,!1,a.Pb(),c),this.ka()||
(b&&BS(this.D,d),this.l.kd&&1==a.info.g.length&&0<a.info.g[0].l&&d!=e.l&&this.M?this.T("reattachrequired"):(iS(e,a),this.qe()))):(iT(this,!1,a.Pb(),AR(a)),PK(a.info)?(d.B=a.Pb(),this.qe()):iT(this,!0,"net.retryexhausted",{})));this.qe();5<=a.state&&ER(a)&&KK(a.info.l,this.l,this.Y)&&(d=this.Y,b=AK(a.info.l.o),d=xK(d,b),b=d.o,this.l.Rh&&(b+=d.A),b=5E3*Math.pow(1.6,b),d.g||d.B+b>g.gG()||hT(this,a,!1))}};
g.h.qe=function(){$S(this);if(this.o&&tI(this.o)&&!wI(this.o)){var a=this.l.cj&&this.g.B&&this.g.B.C;this.C.isLive&&!a?(0,window.isNaN)(this.I)?(this.I=this.B+3600,this.o.o.duration=this.I):this.I<=this.B+1800&&(this.I=Math.max(this.I+1800,this.B+3600),this.o.o.duration=this.I):(a=Math.max(this.A.getDuration(),this.g.getDuration()),(!(0,window.isFinite)(this.I)||this.I!=a)&&0<a&&(this.I=this.o.o.duration=a))}if(!this.ka())if(DL(this.C)&&3==this.C.C)iT(this,!0,"manifest.net.retryexhausted",{rc:this.C.K.toString()});
else if(this.C.isLive&&(pS(this.g)||pS(this.A)))YS(this),this.T("seekplayerrequired",window.Infinity);else if($S(this),bS(this.g),!this.ka()&&(bS(this.A),!this.ka())){this.C.l&&(qS(this.g),qS(this.A),hna(this),(a=PR(this.g.o))&&a.o&&(a=PR(this.g.o).o.B&&!this.l.fa,this.tf(a==this.l.g?"strm":"strmbug","strm."+(a?"1":"0")+";sfmp4."+(this.l.g?"1":"0")+";dfs."+(this.l.fa?"1":"0"),!0)));if(this.o){a=this.o.g;var b=this.o.l;if(ina(this)){if(this.l.ng){if(!a.xg()){var c=PR(this.A.o);c&&kT(this,a,c)}b.xg()||
(a=PR(this.g.o))&&kT(this,b,a)}}else{if(this.F){c=this.F;var d=this.A,e=jI(this.o.l.oc());if(c.B)c=$ma(c,e);else{if(e=PR(d.o)){var f=e.o;f&&f.B&&f.o&&(d=d.A.length?d.A[0]:null)&&3<=d.state&&7!=d.state&&0==d.info.o&&IR(d)&&(c.B=d,c.H=f,c.o=e.info,c.C=(0,g.G)()/1E3,c.F=c.C,c.D=c.o.startTime)}c=window.NaN}c&&this.T("seekplayerrequired",c,!0)}(c=nT(this,this.g,b,null))&&!this.xa&&(this.xa=(0,g.G)(),this.Xc("vda"),gO("vda"),this.sa&&oG(4));if(!vI(this.o)){b=iI(b.oc(),this.B+eT);if(!(0,window.isNaN)(b)||
dS(this.g)||!a.oc().length){if(dS(this.g)||this.l.aA)b=window.NaN;a=nT(this,this.A,a,b);c=c||a;a&&!this.sa&&(this.sa=(0,g.G)(),this.Xc("ada"),gO("ada"),this.xa&&oG(4))}this.ka()||(dS(this.g)&&dS(this.A)&&tI(this.o)&&!wI(this.o)&&(a=this.o,tI(a)&&a.o.endOfStream(),a=this.J,TG(pM(a)),a.C=g.gG()),c&&!yI(this.o)&&g.Yt(this.X))}}}VS(this);sT(this,this.g,this.g.l,!1);sT(this,this.A,this.A.l,!1);this.g.l.B||this.A.l.B?iT(this,!0,"net.retryexhausted",{metadata:"1",video:this.g.l.B||"",audio:this.A.l.B||""}):
(bT(this,this.g,this.A)&&fT(this,this.g,this.A),bT(this,this.A,this.g)&&fT(this,this.A,this.g),this.l.QB&&this.ga&&!this.R&&qM(this.J)&&(a=this.ga,b=(0,g.A)(this.T,this,"error"),c=this.l.LF?(0,g.A)(this.tf,this,"pathprobe"):null,(new FS(a,"cms",c,b)).send(),this.ga=""),this.C.o&&g.Yt(this.ia),this.F&&(a=this.F,a.B?(b=a.F+a.g.Gd,a.A||(b=Math.min(b,a.C+a.g.Wa)),a=Math.max(0,1E3*b-(0,g.G)())):a=window.NaN,(0,window.isNaN)(a)||g.Yt(this.Wb,a)),g.Yt(this.Ta))}};
g.h.mp=function(a){var b=a?this.A:this.g;a=b&&b.B;var c=b&&b.M;b=void 0;a&&(b=SJ(a));if(c){b=b||{};a=SJ(c);for(var d in a)b["prev_"+d]=a[d]}iT(this,!0,"fmt.unplayable",b)};
g.h.SR=function(a){iT(this,!0,"fmt.unparseable",a)};
g.h.WR=function(a){iT(this,!1,"qoe.avsync",a)};
g.h.TR=function(a,b){this.C.l&&oT(this,b,a==this.g)};
g.h.UR=function(a,b){this.C.l&&HL(this.C,b.wa,a==this.g)};
g.h.VR=function(a,b){this.C.l&&oT(this,b,a==this.g)};
g.h.RR=function(a,b){if(this.g.l.index.Qb()<=b){var c=this.C;c.J.push(a);c.T("cuepointsadded")}};
g.h.seek=function(a){if(this.ka())return ag();if(this.g.D||this.A.D)return $f();$S(this);this.rb=g.gG();VS(this,a);var b=this.g.g,c=rT(this.g,a,this.o&&this.o.l),d=rT(this.A,this.l.Ca?a:c,this.o&&this.o.g);this.B=Math.max(a,c,d);this.K=!0;this.C.l&&this.l.Z&&(c=this.g.g.wa,YK(this.g.l.index,c)||b&&b.wa==c||(this.Z=!0));g.Yt(this.X);return $f(a)};
g.h.getCurrentTime=function(){return this.B};
g.h.V=function(){ZS(this);this.A&&(gS(this.A),gS(this.g));g.HF.prototype.V.call(this)};
g.h.Xc=function(a,b){this.Xb[a]=b?window.performance.timing.navigationStart+b:g.gG()};
g.h.bB=function(){return this.Ma.l()||0};
g.h.tf=function(a,b,c){this.T("ctmp",a,b,void 0===c?!1:c)};
g.h.ox=function(a,b){var c=a/b;(0,window.isNaN)(this.Pa)&&(this.Pa=c-Math.min(c,18E3));return(c-this.Pa)*b};
var eT=2/24;g.t(yT,g.M);g.h=yT.prototype;g.h.WN=function(a){this.C.call(this.o,new window.Uint8Array(a.message))};
g.h.XN=function(){this.H.call(this.o,this.g.keyStatuses)};
g.h.eC=function(a,b){g.RD(b);var c=a;b instanceof window.DOMException&&(c+=";n."+b.name+";m."+b.message);this.A.call(this.o,c)};
g.h.VN=function(){this.ka()||sE("xboxone")&&this.A.call(this.o,"closed")};
g.h.FC=function(a){this.C.call(this.o,a.message)};
g.h.EC=function(a){if(this.l){var b=this.l.error.code;a=this.l.error.systemCode}else b=a.errorCode&&a.errorCode.code,a=a.systemCode;this.A.call(this.o,"t.prefixedKeyError;c."+b+";sc."+a)};
g.h.DC=function(){this.F.call(this.o)};
g.h.update=function(a){if(this.g)return this.g.update(a).then(null,SD((0,g.A)(this.eC,this,"t.update")));this.l?this.l.update(a):this.B.addKey?this.B.addKey(this.I.g,a,this.D,this.sessionId):this.B.webkitAddKey(this.I.g,a,this.D,this.sessionId);return NE()};
g.h.V=function(){this.g&&this.g.close();this.B=null;g.M.prototype.V.call(this)};g.t(AT,g.M);g.h=AT.prototype;
g.h.createSession=function(a){var b=a.initData;if(this.g.l){var c=this.B.createSession();"com.youtube.fairplay"==this.g.g&&(b=CT(this,b));b=c.generateRequest(a.contentType,b);c=new yT(null,null,null,c,null);b.then(null,SD((0,g.A)(c.eC,c,"t.generateRequest")));return c}if(ML(this.g)){c=new window.Uint8Array(270);for(a=0;135>a;a++)c[2*a]='<PlayReadyCDMData type="LicenseAcquisition"><LicenseAcquisition version="1.0" Proactive="true"></LicenseAcquisition></PlayReadyCDMData>'.charCodeAt(a);b=this.o.createSession("video/mp4",
b,c);return new yT(null,null,null,null,b)}if(QL(this.g))return b=CT(this,b),b=this.o.createSession("video/mp4",b),new yT(null,null,null,null,b);this.l.generateKeyRequest?this.l.generateKeyRequest(this.g.g,b):this.l.webkitGenerateKeyRequest(this.g.g,b);return this.A=new yT(this.l,this.g,b,null,null)};
g.h.aO=function(a){var b=DT(this,a);b&&b.FC(a)};
g.h.ZN=function(a){var b=DT(this,a);b&&b.EC(a)};
g.h.YN=function(a){var b=DT(this,a);b&&b.DC(a)};
g.h.V=function(){this.l=null;g.M.prototype.V.call(this)};g.t(FT,g.M);g.h=FT.prototype;g.h.eB=function(a){this.K=a};
g.h.TN=function(a){if(!this.ka()){this.I||((0,g.oQ)("drm_gk_f"),this.I=!0,this.l.T("newsession",this));NL(this.o)&&(a=HT(a));if("fairplay"==this.o.flavor){var b=g.ge(a);a=new window.Uint8Array(new window.ArrayBuffer(b.length));for(var c=0;c<b.length;c++)a[c]=b.charCodeAt(c)}a=new wT(a,++this.M);this.ND(a)}};
g.h.RN=function(){this.ka()||this.F||(this.l.T("sessionready"),this.F=!0)};
g.h.UN=function(a){var b=this;this.ka()||(a.forEach(function(a,d){var c=NL(b.o)?d:a,f=new window.Uint8Array(NL(b.o)?a:d);NL(b.o)&&tna(f);var k=NR(f);tna(f);f=NR(f);b.g[k]?b.g[k].status=c:b.g[f]?b.g[f].status=c:b.g[k]={type:"",status:c}}),Aja("Key statuses changed: "+una(this,",")),this.l.T("keystatuseschange",this))};
g.h.ND=function(a){(0,g.oQ)("drm_net_s");a={format:"RAW",method:"POST",postBody:a.message,responseType:"arraybuffer",withCredentials:!0,timeout:3E4,onSuccess:(0,g.A)(this.DR,this,a),onError:(0,g.A)(this.vC,this,a)};var b=this.R;this.K&&(b=Ug(b,"access_token",this.K));(0,window.isNaN)(this.C)||(b=Ug(b,"cpi",this.C));g.mE(b,a)};
g.h.DR=function(a,b){if(!this.ka())if(0!=b.status&&b.response){(0,g.oQ)("drm_net_r");var c=new window.Uint8Array(b.response);if(c=xT(c))if(0!=c.statusCode)GT(this,"drm.auth",!0,"t.f;c."+c.statusCode,g.pP(c.statusCode));else{(0,g.oQ)("drm_kr_s");var d=null,e=c.headers["Heartbeat-Url"];e&&(d=new lna(e,(0,window.parseInt)(c.headers["Heartbeat-Interval-Secs"],10)||60,(0,window.parseInt)(c.headers["Heartbeat-Num-Retries"],10)||4));d&&this.l.T("newlicense",d);if(d=c.headers["Authorized-Format-Types"])this.B=
d.split(","),IT(this)||(PL(this.o)?(d=qna(this.B),480<g.MH[d]&&this.l.T("hdentitled",this)):this.l.T("keystatuseschange",this));c.headers["Key-Ids"]&&(this.g=sna(c.headers["Key-Ids"]));QL(this.o)&&(c.message=new window.Uint8Array(ie(String.fromCharCode.apply(null,c.message))));this.A.update(c.message).then(function(){(0,g.oQ)("drm_kr_f")});
this.F&&(this.J=g.gG())}else GT(this,"drm.net",!0,"t.p","YTP_ERROR_SERVER_ERROR")}else this.vC(a,b)};
g.h.SN=function(a){this.ka()||GT(this,"drm.keyerror",!0,a)};
g.h.vC=function(a,b){var c=!1;if(3<=a.g.l||this.X&&36E4<g.gG()-this.J){var d="drm.net.retryexhausted";c=!0}else d=b.status?"drm.net.badstatus":"drm.net.connect";GT(this,d,c,"t.r;c."+b.status);if(this.X&&this.F?0:!c&&this.M==a.number)d=a.g.getValue(),d=new g.Xt((0,g.A)(this.ND,this,a),d),g.N(this,d),d.start(),d=a.g,d.g=Math.min(2E4,2*d.g),d.o=Math.min(2E4,d.g+Math.round(.4*(Math.random()-.5)*d.g)),d.l++};
g.h.V=function(){this.l=null;g.M.prototype.V.call(this)};
g.h.wg=function(){var a=this.B.join();if(IT(this)){var b=[],c;for(c in this.g)"usable"!=this.g[c].status&&b.push(this.g[c].type);a+="/UKS:"+b}return a};JT.prototype.get=function(a){a=this.ll(a);return-1!=a?this.values[a]:null};
JT.prototype.remove=function(a){a=this.ll(a);-1!=a&&(this.keys.splice(a,1),this.values.splice(a,1))};
JT.prototype.set=function(a,b){var c=this.ll(a);-1!=c?this.values[c]=b:(this.keys.push(a),this.values.push(b))};
JT.prototype.ll=function(a){return g.La(this.keys,function(b){return g.gb(a,b)})};g.t(KT,g.HF);g.h=KT.prototype;g.h.cR=function(a){"cenc"==a.initDataType&&this.A&&LT(this)?(zna(this,this.A,new window.Uint8Array(a.initData)),a=new zT(this.A,a.initDataType),this.A=null):a=new zT(new window.Uint8Array(a.initData),a.initDataType);NT(this,a,!0)};
g.h.hS=function(a){"cenc"==a.contentType&&this.A&&LT(this)?(zna(this,this.A,a.initData),a=new zT(this.A,a.contentType),this.A=null):a=new zT(a.initData,a.contentType);NT(this,a,!0)};
g.h.QR=function(){this.ka()||(this.I=!0,MT(this))};
g.h.eQ=function(a){if(!this.ka()){g.RD(a);var b="t.a";a instanceof window.DOMException&&(b+=";n."+a.name+";m."+a.message);this.T("licenseerror","drm.unavailable",!0,b,"YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK")}};
g.h.kS=function(a){this.ka()||!a||this.Z||(this.Z=a,this.T("heartbeatparams",a))};
g.h.lS=function(){this.ka()||(this.o.shift(),MT(this))};
g.h.sT=function(){if(ML(this.g)&&(this.ba--,0==this.ba)){var a=this.D;a.l.msSetMediaKeys(a.o)}};
g.h.bO=function(a){this.ka()||Cna(this,rna(a,this.X))};
g.h.rR=function(){this.ka()||!this.R&&PL(this.g)&&this.T("hdproberequired")};
g.h.V=function(){this.g.l&&this.J.setMediaKeys(null);this.J=null;this.o=[];for(var a=g.p(this.l.values),b=a.next();!b.done;b=a.next())b.value.dispose();a=this.l;a.keys=[];a.values=[];this.B&&(this.B.dispose(),this.B=null);this.F=null;g.HF.prototype.V.call(this)};
g.h.wg=function(){return 0>=this.l.values.length?"no session":this.l.values[0].wg()};ST.prototype.C=function(){var a=g.y("yt.abuse.player.botguardInitialized");return a&&a()?(a=g.y("yt.abuse.player.invokeBotguard")())?"r1a="+a:null:null};
ST.prototype.D=function(a){return"r3a="+Math.floor(this.g.lengthSeconds%Cb(a.c3a))};
ST.prototype.B=function(a){a=Cb(a.c);var b=g.y("yt.abuse.dclkstatus.checkDclkStatus")();return"r6a="+(a^b)};g.t(UT,g.HF);UT.prototype.getCurrentTime=function(){return!(0,window.isNaN)(this.g)&&(0,window.isFinite)(this.g)?this.g:TT(this)?this.o.getCurrentTime():this.C||0};
UT.prototype.ae=function(a){return this.l.ya?this.l&&this.l.Fa&&this.l.Fa.g?!a&&this.J?NQ(this.J):this.l.ae():this.o?xE()?bP(this.o.Ql().getTime()):sP(this.o)||0:0:this.l.ae()};
UT.prototype.Yb=function(){return this.l?this.l.Yb():0};
UT.prototype.Z=function(){var a=this.getCurrentTime()+.1;this.D=$f(a);WT(this,a,!0)};g.t(ZT,g.HF);ZT.prototype.isFullscreen=function(){return 0!=this.B};
ZT.prototype.isBackground=function(){return XT()};
ZT.prototype.o=function(){this.T("visibilitychange");var a=this.isFullscreen();a=this.A?4:XT()?3:a?2:this.g?1:this.l?5:0;a!=this.D&&this.T("visibilitystatechange");this.D=a};
ZT.prototype.V=function(){Zna(this.C);g.HF.prototype.V.call(this)};g.t($T,g.M);g.h=$T.prototype;g.h.start=function(){this.l.start()};
g.h.stop=function(){this.l.stop()};
g.h.Fb=function(a,b,c){this.o[a]=b;this.g[a]=new cU(!!c)};
g.h.clear=function(){for(var a in this.g)this.g[a].clear()};
g.h.ZU=function(){for(var a in this.o)this.g[a].update(this.o[a]());this.l.start()};
cU.prototype.update=function(a){this.o?(this.g.add(a-this.l||0),this.l=a):this.g.add(a)};
cU.prototype.clear=function(){this.g.clear();this.l=0};var aoa={"ad-trueview-indisplay-pv":6,"ad-trueview-insearch":7},boa={"ad-trueview-indisplay-pv":2,"ad-trueview-insearch":2},coa=/^(\d*)_((\d*)_?(\d*))$/;dU.prototype.start=function(){this.l=!0};
dU.prototype.reset=function(){this.g=this.l=!1};g.t(fU,g.HF);g.h=fU.prototype;g.h.V=function(){window.clearInterval(this.zc);g.YD(this.kd);Zna(this.wb);this.na.unsubscribe("visibilitychange",this.wb);iU(this);jU(this);this.D&&(this.D.dispose(),this.D=null);gU(this);DU(this);g.$e(this.sa,this.g);this.Z=null;this.tb=!1;g.HF.prototype.V.call(this)};
g.h.getVideoData=function(){return this.g};
g.h.Mx=function(){if(this.g.Kb())g.X(this.o,128)||(this.g.Kb(),this.A.experiments.g("html5_probe_media_capabilities")||(this.ra.g=!0),this.Cd=!0,4!=this.Ib&&(this.ba=g.Wa(this.g.jd)),g.IO(this.g,this.A,this.Ha).then(this.Fy,this.Fy,this),this.fc("loudness",""+this.g.relativeLoudness.toFixed(3),!0),this.g.Uc&&this.fc("startSeconds",""+this.g.Uc));else{var a=this.g,b=this.A.experiments,c=this.A;if(!xE()&&a.ya&&a.adaptiveFormats&&!a.rz&&!g.GM(c)&&(g.TO(a)||b.g("html5_manifestless_always_redux"))){var d=
this.g;a=this.A.experiments;DO(d)||(d.rz=!0,b=vL(JO(d,d.adaptiveFormats),d.Kc,d.lengthSeconds,!0,a),!a.g("html5_manifestless_vp9")&&bma(b)||!a.g("html5_manifestless_captions")&&(d.ts||g.tL(b))?b.dispose():(d.oj=!1,HO(d,b),b.subscribe("cuepointsadded",d.Kx,d),sL(d.oa)&&(d.zi=!0)),FO(d))}else if(this.g.oj)d=this.g,a=this.A.experiments,d.uh=!0,d.oj=!1,dH(d.Wd)||g.RD(Error("DASH MPD Origin invalid: "+d.Wd),"WARNING"),b=d.Wd,c=a.l("dash_manifest_version")||4,b=g.Pg(b,{mpd_version:c}),d.isLowLatencyLiveStream&&
"NORMAL"!=d.latencyClass||(b=g.Pg(b,{pacing:0})),BL(new rL(b,a,d.ya),b).then(d.QQ,d.PQ,d),(0,g.oQ)("mrs");else if(this.g.zi)this.C&&(d=this.C.l,WP(d,"protected"),d.g.videoData.Xf?d.ra():d.g.videoData.subscribe("dataloaded",d.ra,d)),d=this.g,b=this.A.M,a=this.A.experiments,d.fairPlayCert||d.oa&&sL(d.oa),b=d.oa?VL(b,d.oa):{},a=new bM(b,a,d.gE),g.N(d,a),d.zi=!1,d.uh=!0,d=(0,g.A)(d.tL,d),a.B=d,SL(a.o)?dM(a):ola(a);else if(!this.g.uh&&this.Cd){b=this.A;a=this.g;var e=this.Wb.Na(),f=this.Ug();this.na.isFullscreen();
if(38==a.yf&&"books"==b.playerStyle)d=a.videoId.indexOf(":"),d=g.Pg("//play.google.com/books/volumes/"+a.videoId.slice(0,d)+"/content/media",{aid:a.videoId.slice(d+1),sig:a.IP});else if(30==a.yf&&"docs"==b.playerStyle)d=g.Pg("https://docs.google.com/get_video_info",{docid:a.videoId,authuser:a.bd,authkey:a.authKey,eurl:b.sa});else if(33==a.yf&&"google-live"==b.playerStyle)d=g.Pg("//google-liveplayer.appspot.com/get_video_info",{key:a.videoId});else{c={html5:"1",video_id:a.videoId,cpn:a.clientPlaybackNonce,
eurl:b.sa,ps:b.playerStyle,el:XO(a,b),hl:b.xa,list:a.playlistId,agcid:a.ej,aqi:a.adQueryId,sts:17662,lact:g.tG()};g.Fa(c,b.l);b.Gf&&(c.ecver=b.Gf);b.forcedExperiments&&(c.forced_experiments=b.forcedExperiments);a.af?(c.vvt=a.af,a.mdxEnvironment&&(c.mdx_environment=a.mdxEnvironment)):(a.oauthToken||b.J)&&(c.access_token=a.oauthToken||b.J);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);b.Yg&&(c.cc_lang_pref=b.Yg);b.Zg&&2!=b.Zg&&(c.cc_load_policy=b.Zg);b.mute&&(c.mute=b.mute);a.Wg&&2!=b.Wg&&(c.iv_load_policy=a.Wg);a.Tj&&(c.itct=a.Tj);$O(a,b)&&(c.autoplay="1");a.Co&&(c.autonav="1");a.Ys&&(c.noiba="1");a.isMdxPlayback&&(c.mdx="1",c.ytr=a.Af);a.mdxControlMode&&(c.mdx_control_mode=a.mdxControlMode);a.Dn&&(c.ytrcc=a.Dn);a.ht&&(c.utpsa="1");a.isFling&&(c.is_fling="1");a.Xs&&(c.mute="1");a.vnd&&(c.vnd=
a.vnd);a.Gr&&(c.force_ad_param_ad_type="video_ad",c.force_ad_param_url=a.Gr,c.force_ad_param_break_type="1",c.force_ad_param_offset_value=0);e.width&&(c.width=e.width);e.height&&(c.height=e.height);a.qh&&(c.splay="1");a.ypcPreview&&(c.ypc_preview="1");YO(a,b)&&(c.content_v=YO(a,b));a.Kl&&(c.livemonitor=1);b.bd&&(c.authuser=b.bd);b.pageId&&(c.pageid=b.pageId);b.Ta&&(c.ei=b.Ta);b.g&&(c.iframe="1");a.Mh&&(c.tst=a.Mh);a.contentCheckOk&&(c.cco="1");a.racyCheckOk&&(c.rco="1");b.yb&&a.liveStartWalltime&&
(c.live_start_walltime=a.liveStartWalltime);b.yb&&a.qt&&(c.live_manifest_duration=a.qt);b.yb&&a.playerParams&&(c.player_params=a.playerParams);b.yb&&a.cycToken&&(c.cyc=a.cycToken);b.yb&&a.wE&&(c.tkn=a.wE);0!=f&&(c.vis=f);b.enableSafetyMode&&(c.enable_safety_mode="1");a.Fo&&(c.kids_age_up_mode=a.Fo);a.mq&&(c.upg_content_filter_mode="1");b.widgetReferrer&&(c.widget_referrer=b.widgetReferrer.substring(0,128));(e=b.Xb.embedding_app)&&(c.embedding_app=e);(e=g.EO(a))&&(c.uloc=e);a.Il&&(c.internalipoverride=
a.Il);b.yb&&a.ii&&(c.wpid=a.ii);b.ze&&(c.embed_config=b.ze);b.sn&&(c.co_rel="1");0<b.ng.length&&(c.ancestor_origins=Array.from(b.ng).join(","));for(d in c)c[d]&&512<c[d].length&&(g.RD(Error("GVI param too long: "+d)),c[d]="");d=g.Pg(b.baseYtUrl+"get_video_info",c)}a=2;this.g.isAd()&&(a=0);b=this.g;c=this.A.Ca;e=this.A.experiments;f=this.A.sc;b.ka()||(b.Xr=d,b.cv=a,b.Bk=c,b.Vz=f,b.SD=!e.g("web_player_data_on_fail_killswitch")||e.g("enable_uturn_error_screen"),b.vD=!e.g("disable_gvi_cors"),b.Wr=e.l("html5_get_video_info_timeout_ms")||
0,b.Zy=e.g("html5_get_video_info_promiseajax"),b.uh=!0,b.JD())}}};
g.h.Fy=function(){if(!this.ka()){if(zO(this.g)&&(this.g.ya&&(this.X=new sma,ooa(this),0<this.g.Uc&&!AO(this.g)||(wU(this,KU(this),!0),xU(this,"playbackData"))),this.g.Fa.g&&g.LU(this),JU(this,"i"),this.X&&(AU(this,"html5_disable_check_dash_for_offset")||this.g.Fa.g)))if(AO(this.g)){var a=(0,g.A)(this.B.bB,this.B);this.X.l=a}else this.g.oa&&(a=(0,g.A)(this.g.oa.NN,this.g.oa),this.X.l=a);this.Wa&&HU(this);a=this.g;a.endSeconds&&a.endSeconds>a.startSeconds&&doa(this,a.endSeconds);this.A.experiments.g("html5_probe_media_capabilities")&&
(this.ra.g=!0);kU(this,"dataloaded");this.Y.l?tU(this):this.Wa&&lU(this,FP(FP(this.o,512),1));if(null!=this.g.Fa&&0<this.g.Fa.videoInfos.length&&null!=this.g.Fa.videoInfos[0].o){a=this.g.Fa.videoInfos[0];for(var b=null,c=g.p(this.g.Fa.videoInfos),d=c.next();!d.done;d=c.next())if(d=d.value,d.o){b=d;break}b&&this.fc("mediacapabilities","bestHeight."+a.video.height+";bestSmoothHeight."+b.video.height+";updateConstraint."+(b.video.height<a.video.height))}}};
g.h.logEvent=function(a,b){if(this.C){var c=this.C,d={};d.rt=g.lP(c.g).toFixed(3);g.Fa(d,mP(c.g));var e=c.g.g,f=c.g.videoData,k={ns:e.ea,html5:"1",el:XO(f,e),ps:e.playerStyle,fexp:e.experiments.experimentIds.join(",")||void 0,feature:f.Wu||f.ym||void 0,ctrl:f.jg||void 0,ytr:f.Af||void 0,list:f.playlistId};$O(f,e)&&(k.autoplay="1");f.subscribed&&(k.subscribed=f.subscribed);g.Fa(d,k);delete d.fexp;g.Fa(d,a);d=g.eE(c.g.g.baseYtUrl+"player_204",d);gQ(c,d,b)}};
g.h.isPeggedToLive=function(){return!!this.F&&this.F.isPeggedToLive()};
g.h.WL=function(){return this.o};
g.h.getPlayerType=function(){return this.Ib};
g.h.XU=function(){!AU(this,"html5_drm_new_source_new_elem_killswitch")&&this.g.Fa.g&&sL(this.g.oa)?xoa(this):(EU(this),lU(this,FP(this.o,16)),HU(this),g.JP(this.o)&&IU(this))};
g.h.getAvailableAudioTracks=function(){return this.A.experiments.g("html5_hls_select_audio_killswitch")?this.g.Fa?this.g.Fa.getAvailableAudioTracks():[]:this.g.getAvailableAudioTracks()};
g.h.getAudioTrack=function(){if(this.A.experiments.g("html5_hls_select_audio_killswitch")){var a=this.getVideoData(),b=a.wc;if(!b)return a.ci;var c=g.Ka(this.getAvailableAudioTracks(),function(a){return a.id==b.id});
return c?c:a.ci}return this.g.getAudioTrack()};
g.h.aM=function(){if(this.A.experiments.l("html5_background_quality_cap")&&this.B){var a="v";this.A.experiments.g("html5_vis_upgrades_are_resizes")&&!sU(this)&&(a="r");JU(this,a)}this.A.experiments.g("html5_cut_vss_on_visibility")&&this.C&&g.gP(this.C.o);this.A.bj&&!this.g.backgroundable&&this.l&&!this.Ha&&(sU(this)&&this.l.l?(this.fc("bgmobile","suspend"),g.CU(this,!0)):sU(this)||HU(this)&&this.fc("bgmobile","resume"))};
g.h.vR=function(a){if(this.H){var b=this.H;LT(b)?(a=MR(a),0!=a.length&&(b.A=a)):ML(b.g)&&(a=MR(a),0!=a.length&&NT(b,new zT(a),!1))}};
g.h.yC=function(){OL&&this.fa&&this.fa.g&&this.H&&(Bna(this.H,this.fa.g),this.fa=null)};
g.h.XT=function(a){this.g.Lv=UI("auto",a,!1,"u");JU(this,"u")};
g.h.JR=function(a){goa(this,a.reason,a.video.info,a.audio.info);this.X&&(this.X.g=a.audio.index)};
g.h.IR=function(a){foa(this,a.reason,a.audio.info)};
g.h.Nl=function(a){woa(this,a);if("html5.invalidstate"!=a.errorCode&&"fmt.unplayable"!=a.errorCode&&"fmt.unparseable"!=a.errorCode||!yoa(this,a.errorCode,a.details)){var b=/^pp/.test(this.g.clientPlaybackNonce);if(toa(a))g.X(this.o,4)?(this.og=!0,jU(this)):FU(this);else if(voa(a)&&this.g.Fa.l){if(this.C)this.C.onError(a.errorCode,fN(a.details));this.fc("highrepfallback","1",!0);fma(this.g);hU(this);jU(this);MU(this);IU(this)}else a.g?(b=this.B?this.B.D.B:null,b=voa(a)&&b&&b.isLocked()?"YTP_ERROR_FORMAT_UNAVALIABLE":
void 0,g.oU(this,a.errorCode,b,fN(a.details))):this.C&&(this.C.onError(a.errorCode,fN(a.details)),b&&"manifest.net.connect"==a.errorCode&&(a="https://www.youtube.com/generate_204?cpn="+this.g.clientPlaybackNonce+"&t="+g.gG(),(new FS(a,"manifest",(0,g.A)(function(a){this.fc("pathprobe",a)},this),(0,g.A)(function(a){this.onError(a.errorCode,fN(a.details))},this.C))).send()))}};
g.h.yy=function(){if(this.A.experiments.g("html5_new_seeking"))WT(this.D,this.D.getCurrentTime(),!0);else{if(!(0,window.isNaN)(this.R)&&this.l){var a=this.getDuration(),b=KU(this);!this.g.ya&&this.R>=b-.01?(this.R=a,this.T("endseeking",this),yU(this,!0),eU(this)):(this.B&&this.B.seek(this.R),(!this.g.ya||1<=this.l.Re())&&this.l.ac(this.R),this.B&&!g.X(this.o,2)&&lU(this,FP(this.o,16)))}soa(this)}};
g.h.getCurrentTime=function(){if(this.D)return this.D.getCurrentTime();if(!(0,window.isNaN)(this.R)&&(this.A.experiments.g("html5_seektoinfinite_killswitch")||(0,window.isFinite)(this.R)))return this.R;var a=0;this.l&&1<=this.l.Re()?a=this.l.getCurrentTime():this.g&&(a=this.g.ug||this.g.startSeconds||0);return a};
g.h.getDuration=function(){return this.g.lengthSeconds?this.g.lengthSeconds:KU(this)?KU(this):0};
g.h.mJ=function(){var a=new qla;if(this.B){var b=this.A.schedule;a.o=b.H;a.B=b.I;a.bandwidthEstimate=oM(b);a.g="d."+lM(b).toFixed(2)+";st."+(1E9*(b.A.l()||0)).toFixed(2)+";bw."+b.g.l().toFixed(0)+";abw."+b.D.l().toFixed(0)+";v50."+iM(b.l,.5).toFixed(2)+";v92."+iM(b.l,.92).toFixed(2)+";v96."+iM(b.l,.96).toFixed(2)+";v98."+iM(b.l,.98).toFixed(2);b=this.B;if(b.o&&!vI(b.o)&&(a.l=dS(b.g)?b.g.B.A:kI(b.o.l.oc(),b.B),a.A=dS(b.A)?b.A.B.A:kI(b.o.g.oc(),b.B),b.l.ga)){var c=fS(b.g),d=fS(b.A),e=gI(b.o.l.oc(),
"_"),f=gI(b.o.g.oc(),"_");a.g=(a.g||"")+(";lvq."+c+";laq."+d+";lvb."+e+";lab."+f)}a.bandwidthEstimate=sS(b.H)}else this.l&&(a.l=wP(this.l));a.C=this.Sy();return a};
g.h.bU=function(){if(this.H){var a=this.H,b=this.g.oauthToken;a.M=b;a.T("oauthtoken",b)}kU(this)};
g.h.aU=function(a){g.oU(this,"auth",(0,window.unescape)(a.reason),a.errordetail||"sec."+a.errorcode,a.subreason)};
g.h.ZL=function(a){var b=a.target.pd();if(this.l&&this.l.pd()&&this.l.pd()==b){Goa(this,a.type);var c=!1;switch(a.type){case "error":if(0<this.l.Pb()&&yoa(this,zP(this.l)||"",{msg:this.l.dk()}))return;if(sU(this)&&4==this.l.Pb()){g.CU(this);SU(this,"unplayable");return}break;case "durationchange":var d=this.l.getDuration();(!this.J||(0,window.isFinite)(d)&&0<d)&&1!=d&&this.g.lengthSeconds!=d&&(this.g.lengthSeconds=d,kU(this));break;case "ratechange":this.B&&(this.B.H.o=Math.max(1,this.l.Hc()));d=
this.I;d.B=!0;d.o();break;case "loadedmetadata":if(this.g.startSeconds){if(!this.D)if(!AU(this,"html5_utc_start_seconds_killswitch")&&UO(this.g)&&this.g.Uc&&(0,window.isFinite)(this.g.Uc)&&1E9<this.g.Uc&&this.g.oa){d=KU(this)-GL(this.g.oa,KU(this))+this.g.Uc;wU(this,d,!0);break}else!AU(this,"html5_utc_start_seconds_killswitch")&&this.g.oa&&this.g.oa.l&&0!=this.g.Uc&&wU(this,this.g.Uc,!0);this.A.experiments.g("html5_new_seeking")||(0<this.l.Fj().length?(d=this.g.startSeconds,this.A.experiments.g("html5_clamp_on_loaded_metadata_killswitch")?
d=g.ad(d||0,this.Yb(),KU(this)):(0,window.isFinite)(d)||(d=KU(this)),this.l.ek(d)):(this.Ca=this.g.startSeconds,yU(this,!0)))}this.T("onLoadedMetadata");case "loadstart":window.clearInterval(this.zc);this.mr()||(this.zc=g.XD((0,g.A)(this.mr,this),100));break;case "progress":this.Ca&&this.l&&(d=this.l.Fj(),d.length&&d.end(0)>this.Ca&&(this.l.ek(this.Ca),this.Ca=window.NaN,this.Dd=this.xa.O(this.l,"canplay",this.RQ,this)));case "suspend":PU(this);this.T("onLoadProgress",this,Boa(this));g.X(this.o,8)&&
(this.cj?c=!0:this.dj&&((0,window.isNaN)(this.ye)||this.ye+1<this.l.getCurrentTime())&&(c=!0,this.ye=this.l.getCurrentTime()));break;case "seeked":Eoa(this);break;case "seeking":if(!this.A.experiments.g("html5_new_seeking")){d=this.getCurrentTime();this.B&&this.B.seek(d);var e=this.Ta;e.g=d;e.l=!0}break;case "playing":this.K.g("plev");gO("plev");this.ng&&(this.ng=!1,GU(this)||(wU(this,window.Infinity,!0),xU(this,"onPlaying")));g.YD(this.kd);this.kd=window.NaN;break;case "timeupdate":d=this.l&&!this.l.getCurrentTime();
e=this.l&&0==this.l.Re();if(d&&(!this.rb||e))return;this.rb=this.rb||!!this.l.getCurrentTime();this.mr();Eoa(this);PU(this);if(!this.l||this.l.pd()!=b)return;this.T("onVideoProgress",this,this.l.getCurrentTime());break;case "waiting":if(0<this.l.rl().length&&0==this.l.Nf().length&&0<this.l.getCurrentTime()&&5>this.l.getCurrentTime()&&this.B)return;break;case "resize":this.g.Ka&&"auto"==this.g.Ka.video.quality&&this.T("internalvideoformatchange",this.g,!1);break;case "pause":if(this.Sg&&g.X(this.o,
8)&&!g.X(this.o,1024)&&0==this.getCurrentTime()&&g.eM){SU(this,"safari_autoplay_disabled");return}}if(this.l&&this.l.pd()==b){this.T("videoelementevent",a);b=this.o;if(!g.X(b,128)){d=this.Ta;var f=this.A.experiments;e=b.l;var k=a.target,l=a.target.getCurrentTime();if(!g.X(b,64)||"ended"!=a.type&&"pause"!=a.type){var m=k.Ei()||l&&1.1>Math.abs(l-k.getDuration()),n="pause"==a.type&&k.Ei(),q="ended"==a.type;f&&f.g("html5_waiting_before_ended")&&(q=q||"waiting"==a.type||"timeupdate"==a.type&&!g.X(b,4)&&
!BP(d,l));if(n||m&&q)0<k.fo()&&k.pd()&&(e=14);else switch(a.type){case "error":zP(k)&&(e|=128);break;case "pause":g.X(b,256)?(e^=256)||(e=64):g.X(b,32)||g.X(b,2)||g.X(b,4)||(e=4,g.X(b,1)&&g.X(b,8)&&(e|=1));break;case "playing":e=(e|8)&-1029;BP(d,k.getCurrentTime())&&(e&=-2);g.X(b,1)&&CP(d,k.getCurrentTime(),g.gG(),wP(k))&&(e|=1);break;case "seeking":e|=16;f&&f.g("html5_seeking_buffering_only_playing")&&!g.X(b,8)||(e|=1);e&=-3;break;case "seeked":e&=-17;break;case "waiting":g.X(b,2)||(e|=1);CP(d,k.getCurrentTime(),
g.gG(),wP(k));break;case "timeupdate":f=!!f&&f.g("html5_seeking_fix_killswitch")&&g.X(b,16),(g.X(b,8)||f)&&BP(d,k.getCurrentTime())&&(e=8),CP(d,k.getCurrentTime(),g.gG(),wP(k))&&(e|=1)}}d=e;e=null;d&128&&(e=a.target,(k=zP(e))?(f="mediaElem.1",e.dk()&&(f+=";msg."+e.dk()),.001>Math.random()&&(f+=";gpu."+(0,g.qU)()),e={errorCode:k,errorDetail:f,message:g.V("YTP_ERROR_GENERIC_WITHOUT_LINK"),messageKey:"YTP_ERROR_GENERIC_WITHOUT_LINK"}):e=null);b=EP(b,d,e)}!g.X(this.o,1)&&g.X(b,1)&&UU(this,"evt_"+a.type);
lU(this,b);c&&this.l.play()}}};
g.h.UP=function(a){a="available"==a.g.availability;a!=this.Fd&&(this.Fd=a,this.T("airplayavailabilitychange"))};
g.h.VP=function(){var a=this.l.Di();if(a!=this.Ha){this.Ha=a;var b=this.na;b.A!=a&&(b.A=a,b.o());a&&(g.IO(this.g,this.A,this.Ha),JU(this,"m"))}this.T("airplayactivechange")};
g.h.mr=function(){var a=this.l;a&&this.rb&&!this.g.Ge&&!fO("vfp","")&&2<=a.Re()&&!a.Ei()&&0<jI(a.Nf())&&this.K.g("vfp");if((a=this.l)&&!this.g.Ge&&0<a.getDuration()){!fO("pbp","")&&a.Fi()&&2<=a.Re()&&0<jI(a.Nf())&&this.K.g("pbp");var b=this.A.experiments.g("html5_use_start_seconds_for_pbs")?this.g.startSeconds+.1:0;if(a.getCurrentTime()>b){window.clearInterval(this.zc);this.ia.stop();this.g.Ge=!0;this.A.Ge=!0;this.A.Z=0;Coa(this);g.X(this.o,8)&&lU(this,GP(this.o,65));if(this.C){a=this.C;if(!a.B){a.g.g.experiments.g("disable_embedpage_playback_logging")||
16623!=a.g.videoData.rootVeType||TD(Error("Playback for EmbedPage"));b=dQ(a,"playback");a.H=[10+a.g.videoData.Sj,10,10,40+a.g.videoData.Ll-a.g.videoData.Sj,40];var c=a.o;window.clearInterval(c.D);c.D=window.NaN;c.D=g.XD((0,g.A)(c.update,c),100);c.C=g.lP(c.l);c.A=eP(c.l);b.l=cQ(a,!0);b.send();a.g.videoData.qm&&(b=a.g.g,c=a.g.videoData,c={html5:"1",video_id:c.videoId,cpn:c.clientPlaybackNonce,plid:c.playbackId,ei:c.eventId,ptk:c.qm,oid:c.bD,ptchn:c.aD,pltype:c.cD,content_v:YO(c,b)},b=g.Pg(b.baseYtUrl+
"ptracking",c),gQ(a,b));a.g.videoData.enableCardio&&(a.Op("playback"),a.A||jQ(a));a.g.videoData.Mf||iQ(a);a.B=!0;a=a.o;a.g=a.l.l();a.C=g.lP(a.l);!(0==a.o&&5>a.g)&&2<a.g-a.o&&(a.o=a.g)}g.WD((0,g.A)(this.dv,this),4500)}this.T("playbackstarted");g.mG()&&((a=g.y("yt.scheduler.instance.clearPriorityThreshold"))?a():oG(0));return!0}}return!1};
g.h.RQ=function(){this.Dd&&(this.xa.Da(this.Dd),delete this.Dd,this.sm())};
g.h.QJ=function(){if(this.l&&!g.X(this.o,128)){this.g.ph&&this.A.experiments.l("html5_log_rebuffer_events")&&Goa(this,"pfx");var a=this.getCurrentTime();if(g.X(this.o,8)&&BP(this.Ta,a))lU(this,GP(this.o,1));else if(g.X(this.o,8)&&CP(this.Ta,a,g.gG(),wP(this.l))){var b=this.getDuration();!this.g.ya&&b&&1.1>Math.abs(b-a)?this.l.Qt()?wU(this,0,!0):eU(this):(g.LP(this.o)||UU(this,"progress_fix"),lU(this,FP(this.o,1)))}else g.X(this.o,4)&&g.LP(this.o)&&5<wP(this.l)&&lU(this,GP(this.o,1));PU(this)}};
g.h.jJ=function(){return this.B?sS(this.B.H):oM(this.A.schedule)};
g.h.My=function(){return this.l?wP(this.l):0};
g.h.lJ=function(){return this.A.schedule.H};
g.h.Sy=function(){if(!(this.g.ya&&this.g.oa&&this.B&&GU(this)&&this.o.jb()))return window.NaN;var a=AO(this.g)?this.B.bB():this.g.oa.F;return(0,g.G)()/1E3-QU(this)-a};
g.h.VU=function(){var a=this.A.experiments.l("html5_max_reseek_count");a=a?a:window.Infinity;var b;if(b=g.X(this.o,1)&&this.B){b=this.B;var c=this.getCurrentTime();b=!(!b.o||vI(b.o)||wI(b.o)||uT(c,b.g,b.o.l)&&uT(c,b.A,b.o.g))}b&&(this.mg++,b=tT(this.B),this.fc("reseek",fN({cur:b.lct,vb:b.lvb,ab:b.lab})),this.mg<a&&wU(this,this.getCurrentTime(),!0))};
g.h.BJ=function(){this.g.ya||this.T("connectionissue")};
g.h.dV=function(){this.A.experiments.g("html5_new_seeking")||this.l.ac(this.l.getCurrentTime()+.1)};
g.h.sm=function(){var a=this;if(this.Xb=this.l.td()){var b=this.Xb;b.then(void 0,function(c){if(!g.X(a.o,4)&&!g.X(a.o,256)&&a.Xb==b){var d="promise";!AU(a,"html5_log_dompause_err_killswitch")&&c&&c.name&&(d+=";m."+c.name);SU(a,d);a.Sg=!0}})}};
g.h.jS=function(a){var b={};g.Fa(b,this.A.l);b.cpn=this.g.clientPlaybackNonce;this.g.af&&(b.vvt=this.g.af,this.g.mdxEnvironment&&(b.mdx_environment=this.g.mdxEnvironment));this.A.bd&&(b.authuser=this.A.bd);this.A.pageId&&(b.pageid=this.A.pageId);g.cc(a.D,b);ET(a,a.R)};
g.h.zR=function(a,b,c,d){d=void 0===d?"YTP_ERROR_LICENSE":d;c=c.substr(0,256);"drm.keyerror"==a&&1<this.H.l.keys.length&&96>this.Tg&&(a="drm.sessionlimitexhausted",b=!1);if(b)g.oU(this,a,d,c);else if(this.C)this.C.onError(a,c);"drm.sessionlimitexhausted"==a&&(this.Tg++,NU(this))};
g.h.CR=function(){var a=this,b=this.A.experiments.l("html5_license_constraint_delay"),c=DE();b&&c?(b=new g.Xt(function(){JU(a,"l");kU(a)},b),g.N(this,b),b.start()):(JU(this,"l"),kU(this))};
g.h.AR=function(){var a=this;OL&&(this.fa=ala(this.g.oa))&&(this.fa.g?g.Qf(function(){a.yC()}):jna(this.B,this.fa))};
g.h.XL=function(a){this.T("heartbeatparams",a)};
g.h.YL=function(a){this.fc("keystatuses",vna(a));var b=0;this.g.Ka&&(b=this.g.Ka.video.g);var c=this.A.experiments.g("html5_drm_start_from_null_constraint"),d=c&&!(xna(a,"AUDIO")&&xna(a,"SD"));a:{for(var e in a.g)if("output-restricted"==a.g[e].status){a=!0;break a}a=!1}a&&(!c&&480<b||d)&&this.T("drmoutputrestricted")};
g.h.GR=function(){if(!this.g.Ge&&this.l&&!sU(this)){var a="0";0<this.l.Re()&&5<=wP(this.l)&&this.g.Fa.g&&(lU(this,FP(this.o,1)),UU(this,"load_soft_timeout"),this.T("playbackstalledatstart"),a="1");this.C&&(Doa(this),a={restartmsg:a},vU(this)&&(a.prerolls=this.ba.join(",")),this.B&&g.Fa(a,tT(this.B)),this.l&&g.Fa(a,this.l.ck()),this.C.onError("qoe.start15s",fN(a)));0<this.Th&&this.Sh<this.Th&&(this.Sh++,NU(this));this.T("loadsofttimeout")}};
g.h.dv=function(){if(!this.tb){var a=new ST(this.g,this.bj);if("c1a"in a.l){var b=g.y("yt.abuse.player.botguardInitialized");b=!(b&&b())}else b=!1;if(b)g.WD((0,g.A)(this.dv,this),4500);else{if(a.g&&a.g.Tk){a.A&&(a.A.value=a.g.Tk+("&r1b="+a.g.clientPlaybackNonce));b=[a.g.Tk];for(var c in a.o)if(a.l[c]&&a.o[c]){var d=a.o[c](a.l);d&&b.push(d)}a=b.join("&")}else a=null;a&&this.C&&(c=this.C,c.J||(b=dQ(c,"atr"),b.I=a,b.send(),c.J=!0),this.tb=!0)}}};
g.h.Yb=function(){return this.A.experiments.g("html5_new_seeking")?this.D?this.D.Yb():0:this.g.Yb()};
g.h.BA=function(){return this.Ma};
g.h.Vr=function(){return this.l?this.l.St():{}};
g.h.fc=function(a,b,c){if(this.C){var d=this.C;d.ka()||RP(d.l,a,b,void 0===c?!1:c)}};g.t(VU,lQ);g.h=VU.prototype;g.h.getPlayerType=function(){return this.playerType};
g.h.getRootNode=function(){return g.dV(this).element};
g.h.cg=function(){return this.app.C};
g.h.getVideoData=function(a){return(a=g.bV(this.app,a||this.playerType))&&a.getVideoData()};
g.h.isWidescreen=function(){return this.app.isWidescreen()};
g.h.td=function(a){3==this.Ra()?g.aV(this.app.A).Yl("control_play"):kY(this.app,a)};
g.h.oe=function(a){OU(g.bV(this.app,a))};
g.h.addEventListener=function(a,b){this.app.ba.subscribe(a,b)};
g.h.removeEventListener=function(a,b){this.app.ba.unsubscribe(a,b)};
g.h.Wo=function(a){this.XA(a,a)};
g.h.Sl=function(a){return B0(this.app,a)};
g.h.getVideoUrl=function(a,b,c,d){var e=this.Ra(),f=2==e;if(d&&f||3==e)f=!1,e=1;d=this.getVideoData(e);if(!d)return"";var k;a||d.ya||(k=Math.floor(this.getCurrentTime(e)));return this.app.g.getVideoUrl(d.videoId,f?void 0:this.getPlaylistId()||void 0,k,b,c)};
g.h.Xl=function(a,b,c){var d=g.WU(this).A;d&&d.Jt(a,b,c)};
g.h.gd=function(){if(g.Y(this).F)return!1;var a=g.bV(this.app,1);if(!a)return!1;var b=a.getVideoData();return b.Ld()&&!g.TO(b)&&2!=this.Ra()&&(!vU(a)||3==this.Ra())};
g.h.Ji=function(a,b){var c=this.app,d=g.bV(c,this.playerType);d&&c.g.wb.has(a.toString())?d.C?(c=dQ(d.C,"engage"),c.o=a,c.send(b)):b&&b():b&&b()};
g.h.Se=function(a,b){A0(this.app,a,b)};
g.h.setVolume=function(a){a=g.ad(a,0,100);AH(this.app,{volume:a,muted:this.isMuted()},!0)};
g.h.mute=function(){AH(this.app,{muted:!0,volume:this.getVolume()},!0)};
g.h.dg=function(){AH(this.app,{muted:!1,volume:Math.max(5,this.getVolume())},!0)};g.B(g.AV,g.HF);g.h=g.AV.prototype;g.h.load=function(){this.loaded=!0};
g.h.unload=function(){this.loaded=!1};
g.h.Pc=function(){return!0};
g.h.V=function(){this.loaded&&this.unload();g.AV.ca.V.call(this)};
g.h.eF=function(){return{}};g.t(EV,g.M);EV.prototype.V=function(){this.l&&g.rF(this.l);this.g.clear();FV=null;g.M.prototype.V.call(this)};
EV.prototype.register=function(a,b){b&&this.g.set(a,b)};
var FV=null;g.t(HV,g.M);HV.prototype.show=function(){this.g.g.l||(this.g.show(),FE(this.o),this.o=[])};
HV.prototype.hide=function(){this.g.g.l&&(this.g.hide(),FE(this.l),this.l=[])};
HV.prototype.bind=function(a){var b=this.g,c=a.confirmLabel||null;c?b.l.show():b.l.hide();b.l.Mb(IV(c));this.g.setTitle(a.title||null);this.g.g.Mb(IV(a.dialogMessage||null));g.Gd(Ooa(this.g));b=g.p(a.adReasons||[]);for(c=b.next();!c.done;c=b.next())c=c.value,Ooa(this.g).appendChild(g.K("li",null,IV(c)));this.o=a.impressionEndpoints&&0<a.impressionEndpoints.length?Poa(a.impressionEndpoints[0]):[];this.l=a.confirmServiceEndpoint?Poa(a.confirmServiceEndpoint):[]};
g.t(GV,g.HF);g.h=GV.prototype;g.h.la=function(){return this.g.element};
g.h.show=function(){if(!this.g.l){this.W.O(window.document,"click",this.IM);this.g.show();var a=this.la(),b=g.Hh(g.xh(this.A)).width,c=g.Hh(this.A),d=vh(this.A);a.style.top=d.y+c.height+"px";a.style.right=b-d.x-c.width+"px"}};
g.h.hide=function(){this.g.l&&(this.g.hide(),g.GF(this.W))};
g.h.setTitle=function(a){a?this.o.show():this.o.hide();this.o.Mb(IV(a))};
g.h.IM=function(a){this.g.l&&(a=a.target,g.Od(this.A,a)||(g.Od(this.l.g["ytp-ad-info-dialog-confirm-button"],a)?this.T("confirmClick"):g.Od(this.g.element,a)||this.T("externalClick")))};g.t(JV,g.HF);JV.prototype.dispose=function(){this.g.clear();g.HF.prototype.dispose.call(this)};
var KV=null;g.va("ytads.bulleit.getVideoMetadata",function(a){return(a=Qoa().g.get(a))?a.g():{}},void 0);
g.va("ytads.bulleit.triggerExternalActivityEvent",function(a,b,c){var d=Qoa();c=Roa(c);null!=c&&d.T(c,{queryId:a,viewabilityString:b})},void 0);var LV=null,Toa=null;g.va("yt.www.ads.eventcache.getLastCompanionData",function(){return LV},void 0);
g.va("yt.www.ads.eventcache.getLastPlaShelfData",function(){return Toa},void 0);var opa={seekableStart:0,seekableEnd:1,current:0};g.t(g.VV,g.M);g.h=g.VV.prototype;g.h.show=function(a){1!=this.g&&2!=this.g&&(3==this.g&&this.jq(),4==this.g?(this.l.show(),this.g=null,this.o.stop()):this.l.l||(WV(this,!0),this.g=1,a?this.o.start(a):this.jq()))};
g.h.hide=function(a){3!=this.g&&(1==this.g||2==this.g?(this.l.hide(),this.g=null,this.o.stop()):this.l.l&&(a&&(this.A=a),WV(this,!0),this.g=3,this.o.start(this.B)))};
g.h.jq=function(){switch(this.g){case 1:this.l.show();this.g=2;this.o.start(10);break;case 2:WV(this,!1);this.g=null;break;case 3:this.l.hide();WV(this,!1);this.g=4;this.o.start(0);break;case 4:this.g=null,this.A&&this.A()}};
g.h.stop=function(){for(;null!=this.g&&4!=this.g;)this.o.stop(),this.jq()};
g.h.V=function(){this.l.ka()||this.l.element.removeAttribute("aria-hidden");g.M.prototype.V.call(this)};XV.prototype.getLength=function(){return this.g-this.l};g.t($V,g.rH);$V.prototype.C=function(){var a=this.A.A;a=ZV(new XV(a.seekableStart,a.seekableEnd),a.current,0);this.F.style.width=100*a+"%"};
$V.prototype.D=function(){g.XM(g.Y(this.B))||(2==this.B.Ra()?-1===this.o&&(this.show(),this.o=this.A.subscribe("q",this.C,this),this.C()):-1!==this.o&&(this.hide(),this.A.Qd(this.o),this.o=-1))};g.t(aW,g.W);aW.prototype.clear=function(){for(var a=g.p(this.La),b=a.next();!b.done;b=a.next())g.Ze(b.value);this.La=[]};
aW.prototype.F=function(a){g.wF(a);this.o=Math.max(0,this.o-bW(this));cW(this)};
aW.prototype.D=function(a){g.wF(a);this.o=Math.min(this.La.length-1,this.o+bW(this));cW(this)};
aW.prototype.V=function(){this.clear();g.W.prototype.V.call(this)};g.t(dW,g.HF);dW.prototype.stop=function(){this.o&&this.g.Da(this.o)};
dW.prototype.C=function(){var a=this.l.xh(2);this.A={seekableStart:a.seekableStart,seekableEnd:a.seekableEnd,current:a.current};this.T("q")};
dW.prototype.B=function(a){0<OP(a,2)&&this.T("p")};g.rY={};var eW=[2,5];nW.prototype.B=function(){var a=oW(this);a.format="2_3";a.at="2_3";a.ad_sys="AdSense";a.trsp="1";tX(this.g,3,a)};g.B(pW,g.M);pW.prototype.V=function(){this.g.reject();pW.ca.V.call(this)};
pW.prototype.C=function(){this.o++;var a=g.y("yt.www.watch.ads.isAfcAdVisible");a&&g.Aa(a)&&a()&&this.A++;4<=this.A?this.g.resolve():5<=this.o?this.g.reject("Timed out waiting for MPU to become visible"):this.l.start()};var vW,rW=!1,sW=!1,qW=!1;g.TF("showCompanionAdLoaded",function(){sW&&(Cpa(),sW=!1)});
g.TF("watchAdsInit",function(){rW&&(rW=!1,Apa())});g.B(xW,g.HF);xW.prototype.Ff=function(){return this.adSystem+"_"+this.adType};
xW.prototype.li=function(){return this.Ff()};
xW.prototype.xb=function(){return this.l?this.l.xb():null};
xW.prototype.abort=g.z;g.B(yW,g.M);yW.prototype.V=function(){yW.ca.V.call(this);g.Gd(zW(this));g.Gd(Mpa(this));this.l=this.g=null;delete this.o};g.t(JW,g.M);JW.prototype.start=function(){!this.ka()&&(0,window.isNaN)(this.g)&&(this.o=(0,g.G)(),this.g=g.rg(this.B,Math.max(0,this.A-this.l),this))};
JW.prototype.stop=function(){(0,window.isNaN)(this.g)||(this.o=this.l=0,g.sg(this.g),this.g=window.NaN)};
JW.prototype.pause=function(){(0,window.isNaN)(this.g)||(this.l+=(0,g.G)()-this.o,g.sg(this.g),this.g=window.NaN)};
JW.prototype.V=function(){(0,window.isNaN)(this.g)||g.sg(this.g);g.M.prototype.V.call(this)};g.B(LW,xW);LW.l=15E3;LW.g=1E3;g.h=LW.prototype;g.h.abort=function(){Upa(this.A,13);this.K||this.l.destroy();this.B=this.D=!1;PW(this)};
g.h.Ff=function(){var a=this.xb();var b=Iq(a);if(4==Kpa(b).o)return b;if(rs(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.li=function(){return this.adSystem+"_"+this.adType};
g.h.show=function(){wW();dY(this.g)&&tW(this.g,{});g.q0(this.g.g.app,2);this.A.o=g.gG();this.C=this.g.getRootNode();this.o.subscribe("progresssync",this.XB,this);this.g.l.K&&g.Id(g.J("video-ad-status-bar",this.C));g.kq(this.C,["ad-showing","ad-interrupting"]);this.g.subscribe("resize",this.Xv,this);try{this.W.U(this.l,"adError",this.xW),this.W.U(this.l,"click",this.wW),this.W.U(this.l,"complete",this.zW),this.W.U(this.l,"engagedview",this.gR),this.W.U(this.l,"pause",this.mF),this.W.U(this.l,"start",
this.nF),this.W.U(this.l,"skip",this.DW),this.W.U(this.l,"MUTE_AD",this.abort),this.W.U(this.l,"skippableStateChanged",this.zT),this.W.U(this.l,"youTubeChannelMetadata",this.YR),this.W.U(this.l,"yt-show-toast",this.xU),this.W.U(this.l,"companionInitialized",this.yW),dY(this.g)&&(this.W.U(this.l,"youtubeKevlarCompanionShow",this.AW),this.W.U(this.l,"youtubeKevlarCompanionHide",this.xR)),this.W.U(zW(this.g.C),"mouseup",this.BW),this.Xv(),this.K||this.l.start()}catch(a){QW(this,a)}this.g.l.l&&kW(this.g).experiments.g("ad_info_icon_in_card")&&
hY(this.g,"onAdMetadataAvailable",{showAdInfoIcon:!0})};
g.h.pF=function(a,b,c){if("newdata"==a&&this.videoData!=c){a=new Lpa;a.isSkippable=this.R;a.isBumper=this.Z;a.skip=(0,g.A)(this.l.skip,this.l);a.muteAd=(0,g.A)(this.l.muteAd,this.l);a.whyThisAdClicked=(0,g.A)(this.l.whyThisAdClicked,this.l);a.whyThisAdClosed=(0,g.A)(this.l.whyThisAdClosed,this.l);a.sendAdsPing=g.EE;a.skipShown=(0,g.A)(this.l.PD,this.l);var d=this.xb();if(d){a.clickThroughUrl=Es(d)||"";b=c.lengthSeconds;(d=dt(d))?(Lp(d,b),b=Mp(d)):b=null;a.skipTime=b||0;a.adSystem=this.adSystem;if(b=
Xpa(this))a.whyThisAdInfo=b;if(d=Ypa(this))a.muteAdInfo=d;var e=kW(this.g);this.g.l.l&&e.experiments.g("ad_info_icon_in_card")&&(e={showAdInfoIcon:!0},e.whyThisAdInfo=b,e.muteAdInfo=d,hY(this.g,"onAdMetadataAvailable",e))}a.videoId=c.videoId;a.videoId||(a.videoUrl=this.Lm()||"");c.spacecastModule=this.X;OW(this.g,-1,a)}this.videoData=c};
g.h.oF=function(a){a=a.state;g.X(a,1)||this.F.pause();g.X(a,128)?QW(this,Error(a.g.message||"Video player error.")):g.X(a,1)&&this.F.start()};
g.h.nF=function(){this.I=!0;this.B=!1;if(!this.D){this.D=!0;var a=this.A;HW(a);var b=IW(a);if((0,window.isNaN)(a.o))HW(a);else{var c=g.gG()-a.o;b.ad_stl=c}GW(a,4,b);Wpa(this.g,1);NW(this,!1);fO("_start","video_to_ad")&&(this.H&&1!=this.H&&(0,g.pQ)("yt_abt",this.H,"video_to_ad"),this.videoData&&this.videoData.clientPlaybackNonce&&(0,g.pQ)("ad_cpn",this.videoData.clientPlaybackNonce,"video_to_ad"),this.videoData&&this.videoData.videoId&&(0,g.pQ)("ad_docid",this.videoData.videoId,"video_to_ad"),(0,g.pQ)("cpn",
lW(this.g).clientPlaybackNonce,"video_to_ad"),(0,g.oQ)("apbs",void 0,"video_to_ad"));(a=g.V("ADS_INSTREAM_FIRST_PLAY"))&&hY(this.g,"onAdAnnounce",a)}OW(this.g,1);this.T("adPlay",this)};
g.h.mF=function(){this.I&&(this.I=!1,OW(this.g,2))};
g.h.zW=function(){if(!this.B){var a=this.A;HW(a);var b=IW(a),c=a.g.nl();c?b.ad_fmt=c:HW(a);GW(a,5,b);kW(this.g).yb&&hY(this.g,"onAdComplete");PW(this);this.B=this.D=!1}};
g.h.gR=function(){var a=this.A;a.g.T("AD_LOGGING_EVENT",777,IW(a))};
g.h.DW=function(){this.B=!0;var a=this.A,b=IW(a),c=a.g.nl();c?b.ad_fmt=c:HW(a);GW(a,14,b);kW(this.g).yb&&hY(this.g,"onAdSkip");PW(this)};
g.h.zT=function(){kW(this.g).experiments.g("html5_ad_no_buffer_abort_after_skippable")&&this.F.dispose();var a=g.V("ADS_INSTREAM_SKIPPABLE");a&&hY(this.g,"onAdAnnounce",a)};
g.h.YR=function(){if(!this.ka()){var a=this.g.l;if(a){var b=this.xb();if(b){var c=b.K;b=b.ea;var d=kW(this.g),e=Xpa(this),f=Ypa(this);b&&c&&c.isListed?(a={},a.videoTitle=c.title,a.channelThumbnailUrl=b.channelIconThumbnailUrl,a.channelTitle=b.authorName,a.channelVideoCount=b.videoCount,a.showAdInfoIcon=this.g.l.l&&d.experiments.g("ad_info_icon_in_card"),a.whyThisAdInfo=e,a.muteAdInfo=f,hY(this.g,"onAdMetadataAvailable",a)):a.l&&d.experiments.g("ad_info_icon_in_card")&&(a={showAdInfoIcon:!0},a.whyThisAdInfo=
e,a.muteAdInfo=f,hY(this.g,"onAdMetadataAvailable",a))}}}};
g.h.xU=function(a){hY(this.g,"onYtShowToast",a.event.g)};
g.h.yW=function(a){a=a.event;var b=a.g;b&&b instanceof g.Cf&&this.T("adCompanionInitialized",a.Ob(),b)};
g.h.AW=function(a){if(dY(this.g)){var b=a.event.Ob();if(a=b&&b.F){b={adHoverTextButtonRenderer:Npa(Bs(b),Cs(b))};var c=kW(this.g);a.iframeCompanionRenderer?c.experiments.g("desktop_videowall_companion_wta_support")&&(a.iframeCompanionRenderer.adInfoRenderer=b):a.imageCompanionAdRenderer?c.experiments.g("desktop_image_companion_wta_support")&&(a.imageCompanionAdRenderer.adInfoRenderer=b):a.actionCompanionRenderer?c.experiments.g("desktop_action_companion_wta_support")&&(a.actionCompanionRenderer.adInfoRenderer=
b):a.shoppingCompanionCarouselRenderer&&c.experiments.g("desktop_shopping_companion_wta_support")&&(a.shoppingCompanionCarouselRenderer.adInfoRenderer=b);tW(this.g,a)}}};
g.h.xR=function(){dY(this.g)&&tW(this.g,{})};
g.h.xW=function(a){var b={};try{b.error_code=a.event.getError().Pb()}catch(c){b.error_code=900,b.error_message=c.toString()}Upa(this.A,32,b);QW(this,a.event.getError())};
g.h.wW=function(){var a=this.A;HW(a);var b=IW(a);if(a.l){var c=mW(a.A);b.ck_xy=Math.round(a.l.x-c.left)+"x"+Math.round(a.l.y-c.top);b.ck_wh=c.width+"x"+c.height}GW(a,15,b);this.l.pause();this.T("select")};
g.h.XB=function(){};
g.h.SB=function(){this.l.Bf();if(this.D&&!this.B){var a=this.A;a.g.T("AD_LOGGING_EVENT",19,IW(a))}NW(this,!0)};
g.h.V=function(){this.g.unsubscribe("control_toggle_play_pause",this.qF,this);this.g.unsubscribe("control_play",this.Ru,this);this.g.unsubscribe("control_pause",this.Qu,this);this.g.unsubscribe("resize",this.Xv,this);g.CF(this.W);this.o.unsubscribe("statechange",this.oF,this);this.o.unsubscribe("internalAbandon",this.SB,this);this.o.unsubscribe("internalvideodatachange",this.pF,this);this.o.unsubscribe("progresssync",this.XB,this);this.K||this.l.destroy();this.J&&(g.Gd(this.J),this.J=null);this.M&&
(g.Id(this.M),this.M=null);this.C&&(g.mq(this.C,["ad-showing","ad-interrupting"]),this.C=null);this.B=!1;dra(this.g);this.F.dispose();this.F=null;LW.ca.V.call(this)};
g.h.Zn=function(){return this.o.getDuration()};
g.h.nl=function(){return this.videoData&&this.videoData.Ka?this.videoData.Ka.mimeType:null};
g.h.Lm=function(){return this.videoData&&this.videoData.zf?this.videoData.zf.g().g:null};
g.h.qF=function(){this.I?this.Qu():this.Ru()};
g.h.Ru=function(){this.l.resume();this.nF()};
g.h.Qu=function(){this.l.pause();this.mF()};
g.h.Xv=function(){g.Gh(zW(this.g.C),this.g.app.F.Na())};
g.h.BW=function(a){a=new g.ed(lF(a),mF(a));this.A.l=a};g.B(TW,xW);g.h=TW.prototype;g.h.Zn=function(){};
g.h.nl=function(){};
g.h.Lm=function(){};
g.h.show=function(){if(!this.B||!pY(this.g)){var a=this.g.getRootNode();g.S(a,"ad-showing");this.o=zW(this.g.C);a=this.l.xb().getHeight();this.o.style.height=th(a,!0);g.S(this.o,"ad-overlay");this.W.U(this.o,"mouseup",this.HW);try{this.W.U(this.l,"autoClose",this.hQ),this.W.U(this.l,"userClose",this.VT),this.W.U(this.l,"click",this.FW),this.W.U(this.l,"impression",this.uR),this.W.U(this.l,"why_this_ad_url",this.Mu),this.W.U(this.l,"why_this_ad_got_it",this.Lu),this.W.U(this.l,"adError",this.EW),dY(this.g)&&
this.W.U(this.l,"youtubeKevlarCompanionShow",this.GW),this.Ac("normal"),this.Qk(),this.F||this.l.start(),this.Yv(),this.D=!0,this.g.subscribe("resize",this.Qk,this),this.g.subscribe("presentingplayerstatechange",this.rF,this),this.T("adEnd",this)}catch(b){this.T("adError",b)}}};
g.h.Mu=function(){(this.C=2==C0(this.g.app))||MX(this.g)};
g.h.Lu=function(){this.C||lY(this.g)};
g.h.GW=function(a){dY(this.g)&&(a=(a=a.event.Ob())&&a.F)&&tW(this.g,a)};
g.h.V=function(){var a=this.g.getRootNode();g.mq(a,["ytp-ad-overlay-open","ytp-ad-overlay-closed"]);g.CF(this.W);this.g.unsubscribe("resize",this.Qk,this);this.g.unsubscribe("presentingplayerstatechange",this.rF,this);g.lq(a,"ad-showing");this.l&&(this.F||this.l.destroy(),this.l=null);this.o&&g.lq(this.o,"ad-overlay");this.o=null;this.B=!1;TW.ca.V.call(this)};
g.h.VT=function(){this.o&&this.l&&this.l.xb()&&(this.o.style.height=th(0,!0));this.B=!0;var a=this.A;a.l=(0,g.G)();var b=SW(a);RW(a,6,b);UW(this,!1)};
g.h.hQ=function(){UW(this,!1)};
g.h.FW=function(){MX(this.g);var a=this.A;a.l=(0,g.G)();var b=SW(a);if(a.o){var c=mW(a.B);b.ck_xy=Math.round(a.o.x-c.left)+"x"+Math.round(a.o.y-c.top);b.ck_wh=c.width+"x"+c.height}RW(a,100,b)};
g.h.uR=function(){var a=g.V("ADS_OVERLAY_IMPRESSION");a&&hY(this.g,"onAdAnnounce",a);UW(this,!0)};
g.h.HW=function(a){this.A.o=a.target==a.currentTarget?null:new g.ed(a.pageX,a.pageY)};
g.h.EW=function(a){this.T("adError",a.event.getError())};
g.h.rF=function(a){g.X(a.state,16)&&this.Ac("normal")};
g.h.Ac=function(a){this.H!=a&&(this.H=a,this.D&&this.Qk())};
g.h.Qk=function(){var a=this.o;var b=g.kd(a),c=g.wd&&a.currentStyle;c&&g.sd(g.md(b).g)&&"auto"!=c.width&&"auto"!=c.height&&!c.boxSizing?(b=g.Lh(a,c.width,"width","pixelWidth"),a=g.Lh(a,c.height,"height","pixelHeight"),a=new g.hd(b,a)):(c=new g.hd(a.offsetWidth,a.offsetHeight),b=g.Nh(a),a=g.Qh(a),a=new g.hd(c.width-a.left-b.left-b.right-a.right,c.height-a.top-b.top-b.bottom-a.bottom));this.l.xb()&&(c=this.l.xb().Db(),b=this.l.xb().getHeight(),(c>a.width||b>a.height)&&UW(this,!1))};
g.h.Yv=function(){var a=this.A;a.A=(0,g.G)();var b=SW(a);RW(a,3,b)};g.B(VW,g.M);VW.l="rm";VW.g=10;VW.B=200;VW.o=200;VW.A=190;g.h=VW.prototype;
g.h.load=function(){var a=this.g.app.F.Na();if(this.g.l.A)var b=!1;else b=0<(this.C&3)?190:200,b=200>a.width||a.height<b;if(b){b=this.o;var c=oW(b);c.ck_wh=a.width+"x"+a.height;gY(b.g,14,c);wW();vX(this.B)}else if(this.fb=this.g.fb)a=this.o,tX(a.g,9,oW(a)),a=ypa(this.g),(b=this.g.l.serverPrefetchedVast)&&0<(this.C&3)?(a.l=b,this.g.l.serverPrefetchedVast=void 0):a.g=this.fh(),this.fb.U("adsManagerLoaded",this.kF,!1,this),this.fb.U("adError",this.jF,!1,this),this.uD(this.fb,a)};
g.h.Jr=function(){var a=rpa(this.g.l,kW(this.g),lW(this.g));a.surveyCreativeData=this.g.l.surveyCreativeData;a.iW=this.F;return a};
g.h.kF=function(a){if(a.l===this){(0,g.oQ)("aml");gO("aml");try{var b=this.Jr(),c=a.g}catch(d){this.Ch(d);return}this.A.U(c,"companionBackfill",(0,g.A)(this.vW,this,c));this.A.U(c,"loaded",(0,g.A)(this.uW,this,c));this.A.U(c,"adError",(0,g.A)(this.tW,this,c));this.A.U(c,"allAdsCompleted",g.z);this.A.U(c,"contentPauseRequested",g.z);this.A.U(c,"contentResumeRequested",g.z);c=JA(a,this.g.D,{},b);try{c.init("normal")}catch(d){c.destroy(),this.Ch(d)}}};
g.h.uW=function(a,b){g.Qm(this.A);var c=b.Ob(),d=c.Vb(),e=this.o,f=oW(e);f.ad_man=d?"instream":"overlay";tX(e.g,12,f);e=a.hh();switch(d?this.po(a,c,e):this.ni(a,c)){case 0:qqa(this.B,this.H,this.l);break;case 1:a.destroy();vX(this.B);break;case 2:c=this.o;gY(c.g,21,oW(c));a.destroy();vX(this.B);break;case 3:vX(this.B);break;default:a.destroy()}};
g.h.tW=function(a,b){g.Qm(this.A);a.destroy();this.Ch(b.getError())};
g.h.jF=function(a){var b=a.getError();"adLoadError"==b.Ub()&&a.g===this&&this.Ch(b)};
g.h.vW=function(){$pa(this)};
g.h.po=function(a,b,c){var d=lW(this.g)&&lW(this.g).spacecastModule;if(d&&c&&!this.J.test(c))return 3;XW(this,Gs(b));WW(this,new LW(this.F,this.g,a,b.isSkippable(),b.isBumper(),void 0,d,this.l.g));return 0};
g.h.ni=function(a,b){XW(this,Gs(b));WW(this,new TW(this.F,this.g,a));return 0};
g.h.Ch=function(a){if(a){var b=this.o,c=oW(b);a&&qpa(a,c);gY(b.g,32,c);vX(this.B)}};
g.h.V=function(){this.fb&&(this.fb.Da("adsManagerLoaded",this.kF,!1,this),this.fb.Da("adError",this.jF,!1,this));g.Qm(this.K);g.Qm(this.A);VW.ca.V.call(this)};
g.h.uD=function(a,b){try{RC(a,b,this),(0,g.oQ)("ar"),gO("ar")}catch(c){this.Ch(c)}};g.B(YW,xW);g.h=YW.prototype;g.h.Zn=function(){};
g.h.nl=function(){};
g.h.Lm=function(){};
g.h.show=function(){if(dY(this.g))tW(this.g,{afcMpu:{logImpression:this.lF.bind(this),logNoAd:this.qs.bind(this)}});else if(qW)this.qs();else{var a=kW(this.g).experiments;Apa();uW();Dpa(a).then((0,g.A)(this.lF,this),(0,g.A)(this.qs,this))}};
g.h.lF=function(){var a={ad_sys:"AdSense"};a.at=this.li();a.format=this.Ff();this.T("AD_LOGGING_EVENT",3,a);this.T("adEnd",this)};
g.h.qs=function(){var a={};a.at=this.li();this.T("AD_LOGGING_EVENT",2,a);this.T("adEnd",this)};g.B(ZW,VW);ZW.prototype.Jr=function(){var a=ZW.ca.Jr.call(this);a.kx=0==this.I;a.pI=pY(this.g)?a.kx:!0;return a};
ZW.prototype.fh=function(){var a=gW(this.l);var b=this.D;(b=4==this.C&&b.g.afvInvideoAdTag?b.g.afvInvideoAdTag:b.g.afvAdTag)?(g.kb(b,"http:")&&(b=b.substr(5)),a=g.eE(b,{videoad_start_delay:0==a||-1==a?a:1E3*a})):a="";return a};
ZW.prototype.ni=function(a,b){if(this.g.l.A)return 1;if(1==this.l.g){var c=new fW(2,10);this.l=c;this.o.o=c;tX(this.g,1)}return ZW.ca.ni.call(this,a,b)};g.B($W,TW);$W.prototype.Qk=function(){};
$W.prototype.Ff=function(){return"1_3"};
$W.prototype.Yv=function(){1==this.I?this.T("AD_LOGGING_EVENT",2,{}):$W.ca.Yv.call(this)};g.B(aX,VW);aX.prototype.fh=function(){var a=this.D,b=gW(this.l);if(0<(this.C&3)){var c="mid,"+a.Eb;var d="midroll";0==b?(c="pre",d="preroll"):-1==b&&(c="post",d="postroll");a=new g.um(a.g);b=a.g;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.g;return c};
aX.prototype.ni=function(a,b){XW(this,Gs(b));var c=os(b);if(jW(c,"rm"))return 1==this.C||pY(this.g)||wW(),a.Ak(),2;if(jW(c,"blockAllAds"))return a.Ak(),WW(this,new $W(this.g,a,1)),0;if(jW(c,"hideMaster"))return WW(this,new $W(this.g,a,0)),0;if(this.g.l.A)return 1;WW(this,new TW(this.F,this.g,a));return 0};g.B(bX,VW);bX.l="https://www.googleapis.com/urlshortener/v1/url?key=AIzaSyBbSB-E7SYd1iggX6r2b5C7ljvO6fVqaj0&shortUrl=";bX.o="43";bX.g=function(a){var b=new AD;g.mE(a,{format:"RAW",method:"GET",timeout:5E3,withCredentials:!0,yd:function(){var c=Error(a+" timed out");ED(b);CD(b,!1,c)},
onError:function(c){c=Error("Problem loading "+a+" with status code "+c.status);ED(b);CD(b,!1,c)},
onSuccess:function(a){b.Wk(a)}});
return b};
bX.prototype.fh=function(){return""};
bX.prototype.uD=function(a,b){var c=this.C;c&1||c&4||c&8?this.D?c&8?Fpa(this.D):("goo.gl"==g.Fg(this.D)?(c=bX.g("https://www.googleapis.com/urlshortener/v1/url?key=AIzaSyBbSB-E7SYd1iggX6r2b5C7ljvO6fVqaj0&shortUrl="+this.D),GD(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.um(a.longUrl);g.Dm(a,"video_format","43");return bX.g(a.toString())},this)):c=bX.g(this.D),GD(c,function(c){b.l=
c.responseText;
RC(a,b,this)},this),FD(c,null,this.Ch,this)):this.Ch(Error("Invalid empty URL")):this.Ch(Error("Invalid request type: "+c))};var cX=null;g.t(hqa,g.rH);g.t(eX,g.rH);g.h=eX.prototype;g.h.V=function(){g.rH.prototype.V.call(this);this.clear()};
g.h.bind=function(a,b){jqa(this,a);this.D=b||iqa()};
g.h.clear=function(){this.A.clear();this.B.stop()};
g.h.start=function(){this.B.start();this.yv()};
g.h.MP=function(a){this.o||(this.o=new HV(a.target),g.N(this,this.o),this.element.appendChild(this.o.g.la()));this.o.bind(this.D);this.o.show()};
g.h.yv=function(){cW(this.A)};
g.h.KJ=function(){this.H.start()};g.B(fX,xW);fX.prototype.Zn=function(){};
fX.prototype.nl=function(){};
fX.prototype.Lm=function(){};
fX.prototype.show=function(){var a=lW(this.g).videoId;if(a){var b=this.l.xb();kW(this.g).C.add(a,{Xh:jt(b)||null,Hk:kt(b)||null});if(dY(this.g)){var c=kqa(this);g.Pa(c)||(a=Bs(this.l.xb())||void 0,c={shopText:BW(Mr(c[0],"teaser_text")),sponsoredText:BW(g.V("YTP_SPONSORED")),itemList:{horizontalListRenderer:{items:(0,g.I)(c,Qpa),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:{}}}},CW(c.adInfoButton.buttonRenderer.navigationEndpoint.adInfoDialogEndpoint,a)):c.adInfoText=BW(g.V("YTP_SPONSORED_PRODUCT_INFO")),hY(this.g,"onPlaShelfInfoCardsReady",{renderer:c}))}else if(a=kqa(this),!g.Pa(a)){c=Bs(this.l.xb());if(c){var d={};CW(d,c);d=d.dialog.adInfoDialogRenderer}this.o.bind(a,
d);a=this.o.element;cqa().then(g.Ea(dqa,a)).then(this.o.start,null,this.o)}a={};a.format=this.Ff();a.at=this.li();iW(b,a);this.T("AD_LOGGING_EVENT",3,a)}};g.B(gX,VW);gX.prototype.fh=function(){return""};
gX.prototype.ni=function(a,b){XW(this,Gs(b));WW(this,new fX(this.g,a));5!=this.l.g&&$pa(this);return 0};
gX.prototype.po=function(){return 1};g.B(hX,gX);hX.prototype.fh=function(){return this.g.l.forceAdUrl||""};g.B(lX,TW);lX.prototype.Qk=function(){};
lX.prototype.Ff=function(){return"4_3"};g.B(mX,VW);
mX.prototype.fh=function(){if(g.D(this.D)||0!=gW(this.l)){var a=this.M;if(a.g.ga&&a.g.ra){var b={};var c="youtube_watch_"+a.o;b.nw="10613";b.asnw=a.g.ga;b.ssnw=a.g.ga;b.caid=a.g.ra;b.vdur=a.C;b.csid=c;b.resp="vast2";b.metr="121";c={};(0,window.isNaN)(a.g.sa)||(c._fw_d_001=a.g.sa);a.g.gender&&(c._fw_d_002=a.g.gender);a.g.bb&&(c["_fwu:10613:lang"]=a.g.bb);a.g.na&&(c._fw_dbp=a.g.na);a.g.contentVideoId&&(c._fw_distributorvideoassetid=a.g.contentVideoId);c._fw_yt_type=nqa(a)?"long":"short";b.prof=nqa(a)?
"10613:youtube_html5_w_midroll":"10613:10613_youtube_html5_2014";b.crtp="youtube";b.flag=iX(a.l)?"+slcb+qtcb+amcb+exvt+emcr":"+slcb+qtcb+amcb+emcr";var d="";if(a.B&1&&!a.F){var e={};d=mqa(a);if(kX(a.l)){if(kX(a.l)){var f=0;var k=a.A.o;if(k){k=k.Bb;for(var l=0;l<k.length&&(kX(k[l])&&f++,k[l].getId()!=a.l.getId());l++);}}else f=0;d+=f}e.slid=d;e.ptgt="a";d="";a.g.C&&!a.g.o?d=";linear-skippable":!a.g.C&&a.g.o&&(d=";video");e.slau=mqa(a)+d;e.tpos=jX(a.l)?a.C.toString():gW(a.l.Sb).toString();d=$D(e)+";";
e={slid:"page_display1",w:"300",h:"60",ptgt:"s",slau:"display",flag:"+cmpn"};d+=$D(e)+";"}a.B&4&&(e={slid:"overlay",ptgt:"a",slau:"overlay"},e.tpos=iX(a.l)?"10":jX(a.l)?a.C.toString():gW(a.l.Sb).toString(),d+=$D(e)+";",e={slid:"page_display2",w:"300",h:"250",ptgt:"s",slau:"display",flag:"+cmpn"},d+=$D(e)+";");a.B&8&&(e={slid:"dis",w:"300",h:"250",ptgt:"s",slau:"display",flag:"+cmpn"},d+=$D(e)+";");a=d.substr(0,d.length-1);b="//2975c.v.fwmrm.net/ad/g/1?"+$D(b)+";"+$D(c)+";"+a}else b=""}else b=this.D;
return b};
mX.prototype.po=function(a,b){return mX.ca.po.call(this,a,b,null)};
mX.prototype.ni=function(a,b){var c=os(b);if(jW(c,"rm"))return this.B.B=g.$b(a),2;if(this.g.l.A)return 1;if(jW(c,"hideMaster")){if(a.Td&&a.Td.ji()){c=a.Td.ji();var d=a.xb();if(P.g()){var e=d.X;d.X=[];d=e}else d=[];c.impressionUrls=d}WW(this,new lX(this.g,a));return 0}return mX.ca.ni.call(this,a,b)};nX.prototype.Ub=function(){return this.l};
nX.prototype.create=function(a,b){switch(this.l){case 1:return new ZW(a,b,this.g);case 2:return new aX(a,b,this.g);case 5:return new mX(a,b,this.g);case 4:return new bX(a,b);case 7:return new gX(a,b,this.g);case 8:return new hX(a,b,this.g);default:return null}};g.B(oX,g.HF);g.h=oX.prototype;g.h.Kb=function(){return"loaded"==this.A||"error"==this.A};
g.h.getId=function(){return this.Ea};
g.h.show=function(){this.F?this.g instanceof TW&&this.g.Ac("normal"):(this.F=!0,this.g instanceof LW&&this.o.te("bs"),this.g.subscribe("adEnd",this.WB,this),this.g.subscribe("adError",this.gF,this),this.g.subscribe("AD_LOGGING_EVENT",this.iF,this),this.g.subscribe("select",this.fF,this),this.g.subscribe("adCompanionInitialized",this.hF,this),this.g.show(),rqa(this,!0))};
g.h.WB=function(){this.l&&(wX(this),bra(this.o));sX(this)};
g.h.gF=function(a){if(a){var b={};qpa(a,b);uX(this,b);gY(this.o,32,b)}wX(this);sX(this)};
g.h.iF=function(a,b){uX(this,b);tX(this.o,a,b)};
g.h.fF=function(){this.D=!1};
g.h.hF=function(a,b){this.T("adCompanionInitialized",a,b)};
g.h.V=function(){wX(this);this.g=null;null!=this.B&&(this.B.dispose(),this.B=null);oX.ca.V.call(this)};var xqa=[new fW(1)];var yqa={ZG:"m",FG:"f"};g.B(xX,g.M);xX.prototype.B=function(a){if(a=a.Ob()){var b=a.C;if(null!=b){var c=KW(this.o.g.app,2);c&&c.getVideoData().videoId==b?c.C?(c=c.C,b=dQ(c,"engage"),b.o=1,c=kP(c.g),b=g.Ea(nma,b.bb,$P(b),YP(b),c)):b=null:b=null;this.l=b}ira(this.o,a)}else g.RD(Error("Ad object is missing in AdEvent"))};
xX.prototype.A=function(){this.g&&this.l&&this.l()};g.B(DX,g.M);g.h=DX.prototype;g.h.nE=function(){this.g.subscribe("beginseeking",this.An,this)};
g.h.dE=function(a,b){return a.l&&kX(a)?b+this.A+this.o:b};
g.h.cE=function(a,b){return!a.l||jX(a)||0x7ffffffffffff==b||0x8000000000000==b?b:b+this.A+this.o};
g.h.gx=function(a){if(a.l&&kX(a)&&!(0>=this.o)){var b={priority:2,id:String(a.getId()),style:"ytp-ad-fadeout"},c=qX(a)+this.A;b=new g.rQ(c,c+this.o-1,b);this.B[a.getId()]=b;LX(this.g,[b])}};
g.h.uF=function(a){a.l&&kX(a)&&(Cqa(this,a.getId()),this.An())};
g.h.An=function(){(0,window.isNaN)(this.l)||(g.YD(this.l),this.l=window.NaN);var a=jY(this.g);EX(this,a,this.g.app.H.getVolume()/100);a.ud("transition","");a.ud("opacity","1")};
g.h.vF=function(a){var b=qX(a)+this.A+this.o;b=50>=1E3*this.g.getCurrentTime(1)-b;a.l&&kX(a)&&b&&(a=.001*(qX(a)+this.D),fra(this.g,a),0>=this.C||(a=jY(this.g),a.ud("opacity","0"),EX(this,a,0),g.WD((0,g.A)(this.IW,this),0)))};
g.h.IW=function(){var a=jY(this.g);a.ud("transition","opacity "+String(this.C)+"ms linear");a.ud("opacity","1");Dqa(this,a,this.C,1)};
g.h.tF=function(a,b,c){if(!(0,window.isNaN)(this.l)){var d=Math.max(1,b-(0,g.G)());d=-1*a.getVolume()*c/d;d=Math.max(0,a.getVolume()+d);EX(this,a,d);this.l=0<d?BX((0,g.A)(this.tF,this,a,b,c),c):window.NaN}};
g.h.sF=function(a,b,c){if(!(0,window.isNaN)(this.l)){var d=Math.max(1,b-(0,g.G)()),e=this.g.app.H.getVolume()/100;d=(e-a.getVolume())*c/d;d=Math.min(e,a.getVolume()+d);EX(this,a,d);this.l=d<e?BX((0,g.A)(this.sF,this,a,b,c),c):window.NaN}};
g.h.V=function(){this.An();this.g.unsubscribe("beginseeking",this.An,this);DX.ca.V.call(this)};g.B(FX,DX);g.h=FX.prototype;g.h.nE=g.z;g.h.dE=function(a,b){return b};
g.h.cE=function(a,b){return b};
g.h.gx=g.z;g.h.uF=g.z;g.h.vF=g.z;g.h.V=g.z;g.B(GX,g.M);GX.prototype.l=function(){if(this.A){var a=this.g.l;if(null!=a&&(a=a.g,!(0>=a))){var b=this.g.g.getCurrentTime(),c=[],d=null,e=Number.MAX_VALUE;g.Ib(this.C.o,function(a){a.Kb();if(a.isVisible&&!(0>=IX(this,a))){var f=a.getId();f=this.C.B[f];if(IX(this,a)>b){var k=!JX(this,a);k!=f.visible&&(f.visible=k,c.push(f));k||(f=IX(this,a)-b,f<e&&(e=f,d=a))}else f.visible||(f.visible=!0,c.push(f))}},this);
0<c.length&&LX(this.g,c,1);if(d){var f=0;0<this.o&&(f=(0,g.G)()/1E3-this.o);Eqa(this,a-f-e+2)}else HX(this)}}};
GX.prototype.V=function(){HX(this);this.g.unsubscribe("endseeking",this.l,this);GX.ca.V.call(this)};g.B(KX,g.M);g.h=KX.prototype;g.h.pk=function(a){a.unsubscribe("adBreakComplete",this.pk,this);a.unsubscribe("adCompanionInitialized",this.Du,this);this.M=g.WD((0,g.A)(this.JP,this,a),0)};
g.h.Du=function(a,b){g.Ze(this.I);this.I=new xX(this.l,b)};
g.h.JP=function(a){var b=Hqa(this,a),c=b.previous;b=b.next;this.M=window.NaN;var d=!1;switch(a.Sb.g){case 5:var e=0x7ffffffffffff;d=!0;break;case 3:e=0x8000000000000;break;default:e=b&&g.ua(b.Sb.l)?qX(b)-1:0x7ffffffffffff}0==a.Ea&&(this.l.te("bl"),pX(a)||this.l.te("fb"));"loaded"!=a.A||0==a.Ea&&pX(a)&&b&&1E3*this.l.g.getCurrentTime()>=qX(b)?(c&&c.Kb()&&!d&&(b=e,e=qX(c),e>b&&(b=e),Jqa(this,c),Iqa(this,c,b)),this.di(a)):(this.o[a.getId()]=a,Iqa(this,a,e),rX(this.l));g.Mb(this.o)==this.Bb.length&&this.H.l();
Fqa(this)};
g.h.di=function(a){a.unsubscribe("adBreakComplete",this.pk,this);a.unsubscribe("adBreakComplete",this.hm,this);this.g&&a==this.g&&(this.g=null,null!=this.I&&a.l&&(this.I.g=!0));Jqa(this,a);g.Ta(this.Bb,a);delete this.o[a.getId()];g.Ze(a)};
g.h.wj=function(a){return this.o[a]};
g.h.hm=function(a){a.unsubscribe("adBreakComplete",this.hm,this);if(a.l){if(!jX(a)&&a.D){var b=this.l;oY(b);lY(b);this.A.vF(a)}else pX(a)&&!a.D?(b=this.l,oY(b),lY(b)):oY(this.l);this.di(a);a=this.H;a.A&&(b=a.g.l)&&0<b.g&&(a.o=(0,g.G)()/1E3,a.l());for(;!g.Pa(this.K);)Kqa(this,this.K.shift())}else a.isVisible||this.di(a)};
g.h.V=function(){g.YD(this.M);g.Ze(this.A);g.Ze(this.H);(0,g.C)(this.Bb,this.di,this);g.Ze(this.I);KX.ca.V.call(this)};g.B(NX,KX);g.h=NX.prototype;g.h.wj=function(a){a=NX.ca.wj.call(this,a);if(!a)return null;if(!a.H)return a;var b=null;if(this.C.length){var c=b=this.C.shift();c.Sb=a.Sb;c.Ea=a.getId()}b&&"loaded"==b.A?(a.unsubscribe("adBreakComplete",this.pk,this),this.o[a.getId()]=b,this.Bb[this.Bb.indexOf(a)]=b,g.Ze(a)):(this.sk(),b&&(g.Ze(b),b=null,this.di(a)));b&&!b.l&&this.sk();return b};
g.h.pk=function(a){!iX(a)&&(2!=a.Sb.g||10!=gW(a.Sb))||"loaded"==a.A&&a.l||this.sk();NX.ca.pk.call(this,a)};
g.h.hm=function(a){a.l&&10<this.R?(OX(this),this.X=g.WD((0,g.A)(this.sk,this),1E3*(this.R-10))):this.sk();NX.ca.hm.call(this,a)};
g.h.sk=function(){if(!this.ka())for(OX(this);this.F.length&&this.J.length+this.C.length<this.Y;){var a=this.F.shift();a.subscribe("adBreakComplete",this.VB,this);this.J.push(a);vX(a)}};
g.h.VB=function(a){a.unsubscribe("adBreakComplete",this.VB,this);g.Ta(this.J,a);this.C.push(a)};
g.h.V=function(){OX(this);g.C(this.J,g.Ze);g.C(this.C,g.Ze);g.C(this.F,g.Ze);NX.ca.V.call(this)};g.B(PX,KX);PX.prototype.getVideoData=function(){return null};
PX.prototype.ba=function(a){"loaded"==a.A&&this.F.push(a);a.unsubscribe("adBreakComplete",this.ba,this)};
PX.prototype.R=function(){if(null!=this.g&&0<this.F.length){var a=this.F.shift();delete this.o[gW(a.Sb)];var b=Math.floor((0,g.G)()/1E3)-this.ea;this.ea=null;a.unsubscribe("adBreakComplete",this.R,this);this.di(a);this.g=null}0<this.J?(this.J--,Lqa(this)):(a=this.X,oY(a),lY(a),(0,window.isFinite)(b)&&(this.Y?wU(this.C,window.Infinity,!0):wU(this.C,this.C.getCurrentTime()+b,!0)))};g.B(QX,g.M);QX.prototype.D=function(){this.g||(this.g=Nqa(this.A.Ie()));LX(this.l,g.Ob(this.g),1)};
QX.prototype.o=function(){if(this.g){var a=this.l.g.getCurrentTime(),b=[],c=null,d=Number.MAX_VALUE;(0,g.C)(this.A.Ie(),function(e){var f=this.g[e];if(f){var k=this.A.wj(e);k&&k.Bc>a?(e=!this.Yd.l(k),e!=f.visible&&(f.visible=e,b.push(f)),e||(f=k.Bc-a,f<d&&(d=f,c=k))):!k||k.jb()?(g.rV(this.l.g,[f],void 0),delete this.g[e]):!f.visible&&k&&(f.visible=!0,b.push(f))}},this);
0<b.length&&LX(this.l,b,1);var e=this.l.l;if(null!=e&&(e=e.g,0>=e))if(c){var f=0;0<this.C&&(f=(0,g.G)()/1E3-this.C);Oqa(this,e-f-d+2)}else RX(this)}};
QX.prototype.V=function(){this.l.unsubscribe("endseeking",this.o,this);RX(this);QX.ca.V.call(this)};g.B(SX,g.M);g.h=SX.prototype;g.h.Uy=function(){return 4};
g.h.bq=function(a){return a};
g.h.iD=function(){return!1};
g.h.hx=g.z;g.h.Mm=g.z;g.h.wF=g.z;g.h.xF=g.z;g.h.yF=g.z;g.B(TX,g.M);g.h=TX.prototype;g.h.Uy=function(){return 4-this.A/1E3};
g.h.bq=function(a){return Rb(this.o,1E3*a)?this.o[1E3*a]/1E3:a};
g.h.iD=function(a){var b=!1,c={};(0,g.C)(g.Kd(a),(0,g.A)(function(a){var d;if(d=(d=a.getAttribute("timeOffset"))?Pqa(d):null)b=b||Qqa(a),c[d]=a},this));
if(!b||0==g.Mb(c))return!1;a=(0,g.I)(g.Pb(c),function(a){return(0,window.parseInt)(a,10)});
if(!Tqa(this,a))return!1;g.Ib(c,(0,g.A)(function(a,b){var c=(0,window.parseInt)(Tb(this.o,function(a){return a==b}),10);
c&&a.setAttribute("timeOffset",Rqa(c))},this));
return!0};
g.h.hx=function(a){if(!(0>=this.I)){var b=[];(0,g.C)(a,(0,g.A)(function(a){if(Rb(this.o,1E3*a)){var c=new g.rQ(1E3*this.bq(a)+this.A,1E3*a+500,{priority:2,id:String(a),style:"ytp-ad-fadeout"});this.B[a]=c;b.push(c)}},this));
LX(this.g,b)}};
g.h.wF=function(a){if(Rb(this.o,1E3*a)){var b=jY(this.g);null!==b&&(a=Math.max(0,1E3*a-1E3*this.g.getCurrentTime(1)),b.ud("transition","opacity "+String(a)+"ms linear"),b.ud("opacity","0"),Uqa(this,b,a,0))}};
g.h.xF=function(a){UX(this,1E3*a)&&(this.B[a]&&(g.rV(this.g.g,[this.B[a]],void 0),delete this.B[a]),this.Mm())};
g.h.EF=function(){g.X(g.cV(this.g.g),4)&&this.Mm()};
g.h.Mm=function(){var a=jY(this.g);null!==a&&(null!=this.l&&(g.YD(this.l),this.l=null),VX(this,a,this.g.app.H.getVolume()/100),a.ud("transition",""),a.ud("opacity","1"))};
g.h.yF=function(a){if(Rb(this.o,1E3*a)){var b=1E3*a;200>=1E3*this.g.getCurrentTime(1)-b&&(fra(this.g,this.bq(a)+this.H/1E3),0>=this.C||(a=jY(this.g),null!==a&&(a.ud("opacity","0"),VX(this,a,0),null!=this.l&&g.YD(this.l),this.l=BX((0,g.A)(this.PW,this),0))))}};
g.h.PW=function(){var a=jY(this.g);null!==a&&(a.ud("transition","opacity "+String(this.C)+"ms linear"),a.ud("opacity","1"),Uqa(this,a,this.C,1))};
g.h.DF=function(a,b,c){if(null!==this.l){var d=Math.max(1,b-(0,g.G)());d=-1*a.getVolume()*c/d;d=Math.max(0,a.getVolume()+d);VX(this,a,d);0<d?this.l=BX((0,g.A)(this.DF,this,a,b,c),c):this.l=null}};
g.h.CF=function(a,b,c){if(null!==this.l){var d=Math.max(1,b-(0,g.G)()),e=this.g.app.H.getVolume()/100;d=(e-a.getVolume())*c/d;d=Math.min(e,a.getVolume()+d);VX(this,a,d);d<e?this.l=BX((0,g.A)(this.CF,this,a,b,c),c):this.l=null}};
g.h.V=function(){this.Mm();this.g.unsubscribe("applicationplayerstatechange",this.EF,this);TX.ca.V.call(this)};g.B(WX,g.M);var $qa={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=WX.prototype;
g.h.load=function(a){if(this.fb=this.g.fb){var b=this.g.l;this.C=b.applyFadeOnMidrolls?new TX(this.g):new SX;var c=ypa(this.g);c.l=Wqa(this,a);if(c.l){c.to=this.g.D.F;c.kc.TSLA=zpa(this);c.kc.GET_MIDROLL_POSITION_IN_SEC=(0,g.A)(this.C.bq,this.C);c.kc.DESCRIPTION_URL="http://www.youtube.com/video/"+lW(this.g).videoId;if(a=sqa(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.o=d;if(b=b.xa)c.F=b}this.fb.U("adsManagerLoaded",
this.AF,!1,this);this.fb.U("adError",this.zF,!1,this);RC(this.fb,c,this);this.g.te("bd")}}};
g.h.AF=function(a){if(a.l===this){var b={};Object.defineProperty(b,"currentTime",{get:(0,g.A)(function(){return this.g.getCurrentTime(1)},this),
enumerable:!0});Object.defineProperty(b,"duration",{get:(0,g.A)(function(){return this.g.g.getVideoData().lengthSeconds},this),
enumerable:!0});try{var c=Xqa(this);this.l=JA(a,this.g.D,b,c)}catch(d){YX(this,d);return}if(this.Yd=this.l.UD(b,this.g.l.g)){this.C.hx(this.l.Ie());this.D=new QX(this.g,this.l,this.Yd);g.N(this,this.D);g.WD((0,g.A)(this.D.D,this.D),0);g.Oa(this.l.Ie(),0)||XX(this);this.B.U(this.l,"companionBackfill",(0,g.A)(this.MW,this));this.B.U(this.l,"prefetched",(0,g.A)(this.PP,this));this.B.U(this.l,"loaded",(0,g.A)(this.KW,this));this.B.U(this.l,"adError",(0,g.A)(this.JW,this),!1);this.B.U(this.l,"start",(0,g.A)(this.LW,
this));this.B.U(this.l,"complete",(0,g.A)(this.LP,this));this.B.U(this.l,"adNotify",(0,g.A)(this.im,this));this.B.U(this.l,"discardAdNotify",(0,g.A)(this.km,this));this.B.U(this.l,"companionInitialized",(0,g.A)(this.NW,this));this.B.U(this.l,"contentPauseRequested",(0,g.A)(this.Dh,this));this.B.U(this.l,"contentResumeRequested",(0,g.A)(this.eg,this));this.B.U(this.l,"allAdsCompleted",g.z);this.I.O(this.g.g,"applicationplayerstatechange",this.OW);try{this.l.init("normal"),this.l.start()}catch(d){this.l.destroy(),
this.l=null,YX(this,d)}}}};
g.h.OW=function(){if(g.X(g.cV(this.g.g),16)||g.X(g.cV(this.g.g),32)){var a=this.l;null!=a.Tb&&(a=a.Tb,a.l.stop(),a.o=!1)}else a=this.l,null!=a.Tb&&Qz(a.Tb)};
g.h.NW=function(a){if(a=a.g)g.Ze(this.F),this.F=new xX(this.g,a)};
g.h.Dh=function(a){ZX(this);if((this.o=a.Ob())&&this.o.Vb()){a=$X(this.o);var b=this.o.A.l;b=0==b?1:0<b?2:-1==b?3:0;this.A=new LW(a,this.g,this.l,this.o.isSkippable(),this.o.isBumper(),!0,void 0,b);Yqa(this,this.A);1!=b&&YN("video_to_ad",["apbs"]);a=this.g;a.J=!0;a.A||MX(a);this.C.xF(this.o.A.l);this.A.show()}};
g.h.eg=function(a){XX(this);if(this.g.getCurrentTime(1)<this.g.g.getVideoData().lengthSeconds){var b=this.g;oY(b);lY(b);this.o&&this.o.Vb()&&(this.C.yF(this.o.A.l),null!=this.F&&(this.F.g=!0))}a=a.Ob();(b=OC(this.l))&&b.J&&b.jb()?this.o=null:!a&&this.A instanceof YW||ZX(this);var c=!0;if(a&&a!==this.o&&!a.Vb()){if(b&&b.J&&!b.jb()){b=this.D;null!=b.g[0]&&(c=b.g[0],delete b.g[0],b.g[0]=new g.rQ(1E4,c.end,{id:"10",visible:!0}),c.visible=!1,LX(b.l,[c,b.g[0]],1),LX(b.l,[b.g[0]]));this.o=a;return}c=os(a);
b=$X(a);jW(c,"blockAllAds")?(this.l.Ak(),this.A=new $W(this.g,this.l,1,!0),c=!1):jW(c,"hideMaster")&&14!=b?(this.A=new $W(this.g,this.l,0,!0),c=!1):(c=this.l,14==b?(this.A=new fX(this.g,c),5!=OC(this.l).Me()&&Zqa(this,a)):this.A=new TW(b,this.g,c,!0),this.A.show(),c=!0)}this.o&&this.o.Vb()&&bra(this.g);this.o&&this.o.Vb()?(b=this.Yd,0<b.o&&(b.g=(0,g.G)()/1E3),b=this.D,b.C=(0,g.G)()/1E3,b.o()):a&&a!==this.o&&!a.Vb()&&c&&(b=this.D,b.C=(0,g.G)()/1E3,b.o());this.D.D();this.o=a};
g.h.LW=function(a){(a=a.Ob())&&this.A&&(a=$X(a),this.A.adSystem=a)};
g.h.LP=function(a){a.Ob().Vb()||this.o!==a.Ob()||(ZX(this),this.o=null)};
g.h.im=function(a){null!=a.g&&void 0!=a.g&&(a=a.g.adBreakTime,null!=a&&void 0!=a&&this.g.g.T("adnotify",a))};
g.h.km=function(){this.g.g.T("discardadnotify")};
g.h.PP=function(a){var b=a.Ob();if(null!=b){var c=a.g.adBreakTime;this.K[c]=b;this.J||(this.g.te("bl"),0==c&&a.Ob().Vb()||this.g.te("fb"),this.J=!0)}};
g.h.KW=function(a){null!=a.Ob()&&(a.Ob().Vb()&&this.g.te("bs"),a.Ob().A.A||a.Ob().Vb()||XX(this))};
g.h.JW=function(a){YX(this,a.getError())};
g.h.zF=function(a){var b=a.getError();"adLoadError"==b.Ub()&&a.g===this&&YX(this,b)};
g.h.MW=function(a){Zqa(this,a&&a.Ob())};
g.h.V=function(){ZX(this);this.fb&&(this.fb.Da("adsManagerLoaded",this.AF,!1,this),this.fb.Da("adError",this.zF,!1,this));g.Qm(this.M);g.Qm(this.B);g.GF(this.I);this.H=!1;this.l&&(this.l.destroy(),this.l=null);g.Ze(this.C);g.Ze(this.F);WX.ca.V.call(this)};
g.h.BF=function(a,b,c,d){if(3==b||19==c||2==c)a&&(d.break_type=a.Me(),d.sst=a.Bc,d.sidx=0),tX(this.g,c,d)};g.B(aY,g.AV);g.h=aY.prototype;g.h.eu=function(){return-1};
g.h.create=function(){this.created||(g.S(this.g.getRootNode(),this.he+"-created"),this.I.O(this.g,"crn_"+this.he,this.Fu),this.I.O(this.g,"crx_"+this.he,this.Gu),this.created=!0)};
g.h.destroy=function(){g.lq(this.g.getRootNode(),this.he+"-created");g.GF(this.I);this.created=!1;this.T("destroyed",this.he)};
g.h.Fu=function(){};
g.h.Gu=function(){};
g.h.fu=function(){return null};
g.h.V=function(){this.created&&this.destroy();aY.ca.V.call(this)};g.t(bY,g.M);g.h=bY.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=Noa(a.hoverText),Hd(this.g,a,0)):this.g=null,this.o.bind(b)):g.RD(Error("adInfoDialogRenderer is missing in AdHoverTextButtonRenderer"))};
g.h.la=function(){return this.l};
g.h.ws=function(){this.g&&g.O(this.g,!1)};
g.h.KM=function(){this.o.g.g.l||this.g&&g.O(this.g,!0)};
g.h.JM=function(){this.o.show();this.ws()};g.t(cY,g.W);cY.prototype.im=function(a){this.C=-1==a?this.o.getDuration():a;this.A||(this.A=this.O(this.o,"progresssync",this.D));if(a=g.KG())a={clientScreenNonce:a,adMediaTimeSec:this.C,timeToAdBreakSec:Math.ceil(this.C-this.o.getCurrentTime())},g.vG("adNotify",a,void 0,void 0);this.D();this.B.show()};
cY.prototype.km=function(){this.A&&(this.Da(this.A),this.A=null);this.B.hide()};
cY.prototype.D=function(){var a=this.o.getCurrentTime();a=Math.ceil(this.C-a);0<a?this.Mb(g.V("YTP_AD_NOTIFICATION",{X_SECONDS:String(a)})):this.B.hide()};g.B(eY,aY);eY.o=10;eY.l=1E3;eY.A="yt.www.watch.ads.addInstreamCompanionWtaUi";eY.g="livead";g.h=eY.prototype;
g.h.create=function(){eY.ca.create.call(this);this.M=!1;this.F.O(this.g,"beginseeking",(0,g.A)(this.T,this,"beginseeking"));this.F.O(this.g,"endseeking",(0,g.A)(this.T,this,"endseeking"));this.F.O(this.g,"resize",(0,g.A)(this.T,this,"resize"));this.F.O(this.g,"presentingplayerstatechange",(0,g.A)(this.T,this,"presentingplayerstatechange"));this.F.O(this.g,"webglsettingschanged",(0,g.A)(this.T,this,"webglsettingschanged"));if(dY(this)){var a=zH(this.app.Ma);a.addEventListener("updatekevlarcompanion",
Soa);a.addEventListener("onPlaShelfInfoCardsReady",Uoa);window.addEventListener("yt-navigate-start",Voa)}this.te("i");a=this.g.getVideoData().qc||{};this.l=new Aqa(kW(this),a);this.B=new Mqa(this,this.g);this.R=!1;if(this.fb)this.fb.g.A.A=lo();else{a=this.l.K?void 0:Mpa(this.C);var b=new mQ(this.app,2);this.D=new FA(zW(this.C),a,zH(b));this.D.setSize(-1,-1);this.fb=new QC(this.D)}if(this.l.vmap&&!this.l.Z){this.A=new WX(this);try{this.A.load(this.l.vmap)}catch(c){g.RD(c),this.A.dispose(),this.A=null,
era(this,wqa(new uqa(this)))}}else era(this,wqa(new uqa(this)));this.B&&(this.H=fY(this.app),this.H.subscribe("cuepointupdated",this.nC,this),a=iY(this),null!=a&&(a.C=g.bV(this.app)),a={},a.allowed=this.B.l,ara(this,{},a),this.M=!0)};
g.h.destroy=function(){this.J&&oY(this);this.app.g.experiments.g("disable_new_pause_state3")||g.sV(this.g,this.he,void 0);dra(this);g.$e(this.o,this.Z,this.A);this.Z=this.o=null;this.H.unsubscribe("cuepointupdated",this.nC,this);this.B=this.l=this.A=this.H=null;sW=rW=qW=!1;uW();this.created&&eY.ca.destroy.call(this);if(dY(this)){var a=zH(this.app.Ma);a.removeEventListener("updatekevlarcompanion",Soa);a.removeEventListener("onPlaShelfInfoCardsReady",Uoa);window.removeEventListener("yt-navigate-start",
Voa);LV=null}};
g.h.isFullscreen=function(){return this.g.isFullscreen()||this.l.B};
g.h.fu=function(){if(this.B){var a=this.B;var b={allowed:a.l};a.g.excludedAds&&(b.ex_ad=a.g.excludedAds);a.o&&(b.at=a.o);a=b}else a=eY.ca.fu.call(this);return a};
g.h.getRootNode=function(){return this.g.getRootNode()};
g.h.getVideoData=function(){return this.H};
g.h.getCurrentTime=function(a){return this.app.getCurrentTime(a)};
g.h.eu=function(){return this.K};
g.h.Fu=function(a){eY.ca.Fu.call(this,a);var b=(0,window.parseInt)(a.getId(),10);if(this.o&&!(0,window.isNaN)(b))if("ytp-ad-fadeout"==a.style){var c=this.o,d=c.wj(b);if(d&&!JX(c.H,d)&&(c=c.A,d.l)){var e=jY(c.g);d=Math.max(0,qX(d)+c.A+c.o-1E3*c.g.getCurrentTime(1));e.ud("transition","opacity "+String(d)+"ms linear");e.ud("opacity","0");Dqa(c,e,d,0)}}else Kqa(this.o,b);this.A&&!(0,window.isNaN)(b)&&("ytp-ad-fadeout"==a.style?(d=this.A,(c=d.K[b])&&c.Vb()&&d.C.wF(b)):0>b&&(b=this.fb.g,d=new dn("contentComplete"),
b.dispatchEvent(d),d.l&&(pn(mn(),420706009)||b.A.clear(),null!=b.l&&(d=b.l.ji(),null!=d&&XA(d,b.A.g)))));if("livead"===a.getId()&&null!=iY(this)){b=iY(this);for(a=Math.floor(a.start/1E3);g.u(b.o[a]);)a++;d=b.fa++;c=0==a?new fW(1):new fW(2,a);e=b.X;var f=tqa(b.X.l,c.g);d=new oX(e,d,c,f,!1);b.o[a]=d;d.subscribe("adBreakComplete",b.ba,b);vX(d)}};
g.h.Gu=function(a){eY.ca.Gu.call(this,a);var b=(0,window.parseInt)(a.getId(),10),c=1E3*this.getCurrentTime(1);this.o&&!(0,window.isNaN)(b)&&c>a.start&&(0x8000000000000==a.end||0x7ffffffffffff==a.end)&&(c=this.o,(b=c.o[b])&&c.g==b&&!b.l&&b.isVisible&&b.F&&b.g instanceof TW&&b.g.Ac("fullscreen"));this.A&&"ytp-ad-fadeout"==a.style&&this.A.C.Mm();"livead"===a.getId()&&null!=iY(this)&&1E3*this.getCurrentTime(1)>=a.start&&(g.rV(this.g,[a],1),Lqa(iY(this)))};
g.h.te=function(a){var b=a;"nl"==a&&(a=this.B,a.B++,b=a.B.toString());this.Y[b]=(0,g.G)();"bs"!=b&&"fb"!=b||ara(this,this.Y,this.X)};
g.h.isWidescreen=function(){return this.app.isWidescreen()};
g.h.nC=function(a){var b=iY(this);if(null!=b&&null!=b.C){var c=iY(this).C.getCurrentTime();(0,g.C)(a,function(a){0!=c&&a.We>c&&(a=new g.rQ(1E3*Math.floor(c+Math.random()*Math.max(a.We-10-c,0)),1E3*a.We,{id:"livead",priority:2}),LX(this,[a],1))},this)}};
g.h.fB=function(a,b){switch(a){case "addata":if(!this.create||!this.M)return{};var c=this.l;return{adTag:c.adTag,adTest:c.Ta,forceAdType:c.forceAdType,isAfvSkippableInstreamEnabled:c.M,isAfvStandardInstreamEnabled:c.R,isBlazer:c.l,isDoubleClickEnabled:c.Y,isForcedAd:c.Z,isFreeWheelEnabled:c.ba,isHouseBrandPlayer:c.sc,isLeanback:c.B,isShortform:c.Ma,tagForChildDirected:c.tagForChildDirected};case "adstate":return this.eu();case "midrollfreqcap":if(this.A)return c=this.l.g,null!=c?c:0;c=this.o instanceof
NX?this.o:null;return null!=c?c.R:0;case "breakscount":return this.A?(c=this.A,c=null!=c.l?c.l.Ie().length:0):c=this.o?this.o.Bb.length:0,c;case "displaystate":return c=null,this.o&&this.o.g&&(c=this.o.g.g),{adFormat:c instanceof xW?c.adType:!1,adSkipped:c instanceof LW?c.B:!1,hasVideoStarted:c instanceof LW?c.D:!1,skippable:c instanceof LW?c.R:!1};case "getContentVideoData":return c=lW(this),{adModule:c.adModule,partnerTrackingToken:c.qm,title:c.title,videoId:c.videoId};case "loadedadbreaks":if(this.o){c=
this.o.o;var d=[];for(e in c)c.hasOwnProperty(e)&&d.push({isInterruptive:c[Number(e)].l});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.hO=function(){return"addata adstate breakscount displaystate getContentVideoData isExternalShelfAllowedFor loadedadbreaks midrollfreqcap".split(" ")};
g.h.Pc=function(){return!1};g.t(qY,g.M);g.h=qY.prototype;g.h.Xx=function(){if(!this.l){var a=this.Xx;if("lb3"==g.Y(this.g).playerStyle)var b=!1;else b=this.g.getVideoData(),b=b.yn||b.captionTracks.length||b.ya&&b.oa&&(null!=b.oa.g.en||g.tL(b.oa))?!0:!1;(a=sY(this,"captions",a,b))&&!this.l&&(this.l=a,a.IA()&&a.load(),this.g.va("onApiChange"))}};
g.h.xr=function(){this.H=this.H||sY(this,"endscreen",this.xr,g.jra(this))};
g.h.by=function(){var a=this.g.getVideoData();var b=g.Y(this.g).experiments,c=g.vE()&&(sE("ps4 vr")||sE("ps4 pro vr")),d=wE(),e=b.g("enable_mesh_cobalt"),f=b.g("enable_spherical_kabuki")||a.qy,k=bN(g.Y(this.g));a=a.lf()?c||e||f||k||d||b.g("html5_enable_spherical"):a.Vf()?k||c||f||b.g("html5_enable_spherical"):a.Wf()?k||c||b.g("html5_enable_spherical3d"):a.wi()?k||b.g("html5_enable_anaglyph3d")||!1:k&&!g.LO(a)&&(b.g("enable_webgl_noop")||b.g("enable_white_noise"));this.o||(this.o=sY(this,"webgl",this.by,
a));this.o&&a&&this.o.load()};
g.h.fy=function(){this.X=this.X||sY(this,"ypc",this.fy,g.SO(this.g.getVideoData(),"ypc_module"))};
g.h.ey=function(){this.Y=this.Y||sY(this,"ypc_clickwrap",this.ey,g.SO(this.g.getVideoData(),"ypc_clickwrap_module"))};
g.h.Wx=function(){this.R=this.R||sY(this,"spacecast",this.Wx,this.g.getVideoData().spacecastModule)};
g.h.Ux=function(){var a=!this.I;this.I=this.I||sY(this,"heartbeat",this.Ux,g.SO(this.g.getVideoData(),"ypc_license_checker_module"));a&&this.I&&this.g.T("offlineslatestatechange")};
g.h.vr=function(){if(!this.A){var a=this.vr;var b=g.Y(this.g);if("3"==b.A)b=!1;else if(b.C.isEmpty()&&"annotation-editor"!=b.playerStyle&&"live-dashboard"!=b.playerStyle){var c=this.g.getVideoData();b=b.experiments.g("disable_new_iv_module_create_logic")?g.SO(c,"iv3_module"):!!c.Kf}else b=!0;if(this.A=sY(this,"annotations_module",a,b)){a=this.A;for(var d in this.ga)b=d,a.subscribe(b,this.ga[b]);this.g.va("onApiChange")}}};
g.h.Tx=function(){this.F=this.F||sY(this,"fresca",this.Tx,g.SO(this.g.getVideoData(),"fresca_module"))};
g.h.yr=function(){this.J||(this.J=sY(this,"remote",this.yr,g.Y(this.g).tb))&&this.J.create()};
g.h.Yx=function(){this.C||(this.C=sY(this,"unplugged",this.Yx,g.XM(g.Y(this.g))))&&this.C.init()};
g.h.Zx=function(){this.K||(this.K=sY(this,"ux",this.Zx,!0))&&this.K.init()};
g.h.Vx=function(){this.ba||(this.ba=sY(this,"miniplayer",this.Vx,g.Y(this.g).useMiniplayerUi))&&this.ba.init()};
g.h.wr=function(){if(!this.D){var a=this.wr;var b=g.Y(this.g);"3"==b.A?b=!1:"creator-endscreen-editor"==b.playerStyle?b=!0:(b=this.g.getVideoData(),b=!!b&&!!g.WO(b));(this.D=sY(this,"creatorendscreen",a,b))&&this.g.va("onApiChange")}};
g.h.gy=function(){(this.M=this.M||sY(this,"yto",this.gy,!!this.g.getVideoData().jd.includes("yto")))&&this.M.init()};
g.h.V=function(){g.M.prototype.V.call(this);tY(this,!0)};g.t(g.uY,rP);g.h=g.uY.prototype;g.h.Fg=function(){return!0};
g.h.la=function(){return this.g};
g.h.pd=function(){return this.g.src};
g.h.Uo=function(a){var b=this.Hc();this.g.src=a;this.Se(b)};
g.h.Zu=function(){this.g.removeAttribute("src")};
g.h.Hc=function(){try{return 0<=this.g.playbackRate?this.g.playbackRate:1}catch(a){return 1}};
g.h.Se=function(a){this.Hc()!=a&&(this.g.playbackRate=a);return a};
g.h.Qt=function(){return this.g.loop};
g.h.To=function(a){this.g.loop=a};
g.h.Fi=function(){return this.g.paused};
g.h.So=function(){return this.g.seeking};
g.h.Ei=function(){return this.g.ended};
g.h.Ro=function(){return this.g.muted};
g.h.fk=function(a){pI();this.g.muted=a};
g.h.rl=function(){return this.g.played||fI([],[])};
g.h.Nf=function(){try{var a=this.g.buffered}catch(b){}return a||fI([],[])};
g.h.Fj=function(){return this.g.seekable||fI([],[])};
g.h.Ql=function(){return this.g.getStartDate()};
g.h.getCurrentTime=function(){return this.g.currentTime};
g.h.ek=function(a){this.g.currentTime=a};
g.h.getDuration=function(){return this.g.duration};
g.h.load=function(){var a=this.g.playbackRate;this.g.load&&this.g.load();this.g.playbackRate=a};
g.h.pause=function(){this.g.pause()};
g.h.play=function(){var a=this.g.play();return a&&a.then?a:null};
g.h.Re=function(){return this.g.readyState};
g.h.fo=function(){return this.g.networkState};
g.h.Pb=function(){return this.g.error?this.g.error.code:null};
g.h.dk=function(){return this.g.error?this.g.error.message:""};
g.h.St=function(){var a={};if(this.g){if(this.g.getVideoPlaybackQuality)return this.g.getVideoPlaybackQuality();this.g.webkitDecodedFrameCount&&(a.totalVideoFrames=this.g.webkitDecodedFrameCount,a.droppedVideoFrames=this.g.webkitDroppedFrameCount)}return a};
g.h.Di=function(){return!!this.g.webkitCurrentPlaybackTargetIsWireless};
g.h.Tt=function(){return!!this.g.webkitShowPlaybackTargetPicker()};
g.h.Ut=function(){this.g.webkitSetPresentationMode("picture-in-picture"==this.g.webkitPresentationMode?"inline":"picture-in-picture")};
g.h.Rt=function(){return vh(this.g)};
g.h.Pl=function(){return g.Hh(this.g)};
g.h.setSize=function(a){return g.Gh(this.g,a)};
g.h.getVolume=function(){return this.g.volume};
g.h.setVolume=function(a){pI();this.g.volume=a};
g.h.Er=function(a){if(!this.o[a]){var b=(0,g.A)(this.HM,this);this.g.addEventListener(a,b);this.o[a]=b}};
g.h.HM=function(a){this.dispatchEvent(new AP(this,a.type,a))};
g.h.setAttribute=function(a,b){this.g.setAttribute(a,b)};
g.h.removeAttribute=function(a){this.g.removeAttribute(a)};
g.h.hasAttribute=function(a){return this.g.hasAttribute(a)};
g.h.Rk=ba(5);g.h.Em=ba(7);g.h.lj=ba(9);g.h.Qo=function(){hF(this.g)};
g.h.ud=function(a,b){g.nh(this.g,a,b)};
g.h.Rl=function(a){return qh(this.g,a)};
g.h.V=function(){for(var a in this.o)this.g.removeEventListener(a,this.o[a]);rP.prototype.V.call(this)};g.t(vY,g.HF);g.h=vY.prototype;g.h.AO=function(a){a=vF(a);if(!fd(a,this.A)){var b=2;this.C&&(b|=8);this.A=a;this.gc(b,!0)}};
g.h.BP=function(){this.C&&this.gc(8,!0);this.gc(2,!1)};
g.h.lu=function(a){var b=vF(a);fd(b,this.A)||(this.A=b,(a=g.sF(a))&&this.K(a)&&(this.gc(4,!0),this.W.Da(this.o),this.o=this.W.O(this.l,"mouseover",this.qB),this.I=this.W.O(this.l,"mouseout",this.qB)))};
g.h.qB=function(a){a=uF(a);a&&this.K(a)||(this.A=new g.ed(window.NaN,window.NaN),mra(this))};
g.h.sL=function(){this.gc(1,!0)};
g.h.dJ=function(a){a=g.sF(a);a instanceof window.Element&&!(0<a.tabIndex)||this.gc(1,!0)};
g.h.pB=function(){this.C=!0;this.W.Da(this.B);this.B=this.W.O(window.document,"mouseup",this.BO)};
g.h.BO=function(){this.C=!1;this.gc(8,!1);this.W.Da(this.B);this.B=this.W.O(this.l,"mousedown",this.pB)};
g.h.rB=function(a){if(a=(a=a.changedTouches)&&a[0])this.M=a.identifier,this.W.Da(this.D),this.D=this.W.O(this.l,"touchend",this.CO,void 0,!0),this.gc(1024,!0)};
g.h.CO=function(a){if(a=a.changedTouches)for(var b=0;b<a.length;b++){var c=a[b];if(c.identifier==this.M){var d=c;break}}d&&(this.W.Da(this.D),this.D=this.W.O(this.l,"touchstart",this.rB,void 0,!0),this.gc(1024,!1))};
g.h.gc=function(a,b){var c=!this.g;b?(this.g|=a,a&1&&this.F.start(),a&2&&this.H.start()):(this.g&=~a,a&1&&this.F.stop(),a&2&&this.H.stop(),a&512&&this.J.stop());this.g&512&&!(this.g&128)&&g.Yt(this.J,this.R);var d=!this.g;c!=d&&this.T("autohideupdate",d)};g.t(g.wY,g.W);g.wY.prototype.show=function(){g.W.prototype.show.call(this);g.Yt(this.o)};
g.wY.prototype.hide=function(){this.A.stop();g.W.prototype.hide.call(this)};g.t(AY,g.W);g.h=AY.prototype;g.h.show=function(){var a=this;this.l||(this.C.O(this.o,"videodatachange",function(){return g.Yt(a.A)}),this.C.O(this.o,"videoplayerreset",function(){return g.Yt(a.A)}));
g.W.prototype.show.call(this)};
g.h.hide=function(){this.C&&g.GF(this.C);g.W.prototype.hide.call(this)};
g.h.MO=function(a){var b=g.Y(this.o);b.experiments.g("disable_new_pause_state3")&&YM(b)&&(a=g.KP(a.state)&&!g.KP(a.g)||eV(this.o)&&g.X(a.state,2),g.nh(this.element,"transition-delay",a?"2s":""));g.Yt(this.A)};
g.h.wU=function(){g.Yt(this.A)};
g.h.LO=function(){this.B.stop();this.hide();g.Yt(this.A)};
g.h.uB=function(){var a=g.cV(this.o),b=!1;if(3==this.o.Ra()&&(a.jb()||g.X(a,4)))var c=!0;else(c=g.WU(this.o).X)&&c.tV()?c=!0:(c=g.Y(this.o),c=g.X(a,2)&&YU(this.o)&&c.Ma?!0:!1);c?(c=!0,window.document.activeElement==this.D&&this.o.getRootNode().focus(),this.D.style.display="none"):(this.D.style.display="",g.KP(a)&&2!=this.o.Ra()?c=!0:(b=!g.Y(this.o).experiments.g("disable_new_pause_state3"),c=!(!g.X(a,2)||YU(this.o)||b&&g.N0(this.o.app))||g.X(a,1024)?!0:!1),b=g.Y(this.o),b=b.experiments.g("web_player_embed_duration")&&
b.g&&!b.Cd);c?(this.B.show(),a=this.o.getVideoData(),this.UV(this.o.cg(),a),g.U(this.element,"ytp-cued-thumbnail-overlay-show-duration",b&&0<a.lengthSeconds),a=g.TV(a.lengthSeconds),this.updateValue("duration",a)):(this.B.hide(),g.X(a,1)||this.B.stop())};
g.h.UV=function(a){for(var b=[],c=0;c<arguments.length;++c)b[c-0]=arguments[c];c=g.Y(this.o);b=g.p(b);for(var d=b.next();!d.done;d=b.next())if(d=d.value,!(!d||d instanceof g.vO&&!d.videoId)){var e=g.dV(this.o).Na();var f=g.ZM(),k=e.width*f;f*=e.height;if(1280<k||720<f)if(e=d.dd(c,"maxresdefault.jpg"))break;if(640<k||480<f)if(e=d.dd(c,"maxresdefault.jpg"))break;if(320<k||180<f)if(e=d.dd(c,"sddefault.jpg")||d.dd(c,"hqdefault.jpg")||d.dd(c,"mqdefault.jpg"))break;if(e=d.dd(c,"default.jpg"))break}this.F.style.backgroundImage=
e?"url("+e+")":""};g.t(CY,g.M);CY.prototype.start=function(a,b,c){this.g=a;this.F=b;this.C=c;this.D=g.gG();this.o()};
CY.prototype.o=function(){var a=g.gG()-this.D;var b=this.A;a=pja(b,a/this.C);if(0==a)b=b.D;else if(1==a)b=b.F;else{var c=cd(b.D,b.B,a),d=cd(b.B,b.C,a);b=cd(b.C,b.F,a);c=cd(c,d,a);d=cd(d,b,a);b=cd(c,d,a)}b=g.ad(b,0,1);this.B((this.F-this.g)*b+this.g);1>b&&this.l.start()};g.t(DY,g.W);g.h=DY.prototype;g.h.hide=function(){this.R=!0;g.W.prototype.hide.call(this)};
g.h.show=function(){this.R=!1;g.W.prototype.show.call(this)};
g.h.isHidden=function(){return this.R};
g.h.fP=function(){qra(this,this.C-this.F)};
g.h.gP=function(){qra(this,this.C+this.F)};
g.h.hP=function(a,b){var c=this.o[a],d=c.Od;if(g.yX(b,this.A,this.ba,d||void 0)){var e=c.Zb().videoId;c=c.getPlaylistId();g.M0(this.A.app,e,d,c,void 0,void 0,void 0)}};
g.h.zB=function(){var a=this,b=this.A.getVideoData(),c=g.Y(this.A);this.ba=b.isDni?!1:c.g;b.suggestions?(c=(0,g.Jd)(b.suggestions,function(a){return a&&!a.list}),this.o=(0,g.I)(c,function(b){b=g.BY(b);
g.N(a,b);return b})):this.o.length=0;
sra(this);b.isDni?this.K.update({title:g.V("YTP_MORE_FROM_CHANNEL",{DNI_RELATED_CHANNEL:b.author})}):this.K.update({title:g.V("YTP_MORE_ON_YOUTUBE")})};
g.h.AB=function(a){this.H.element.scrollLeft=-a};g.t(FY,g.W);FY.prototype.show=function(){g.W.prototype.show.call(this);this.H()};
FY.prototype.H=function(){var a=1-1/1.5;this.B=(this.B+this.K)%(this.width*a);this.C=(this.C+this.J)%(this.height*a);this.A.drawImage(this.I,-1*this.B,-1*this.C);this.A.fillRect(0,this.D,this.width,75);this.D=(this.D+75+7)%this.height-75;this.o.isActive()||g.Yt(this.F)};
FY.prototype.hide=function(){this.o.stop();this.F.stop();g.W.prototype.hide.call(this)};g.t(GY,g.W);GY.prototype.show=function(){g.W.prototype.show.call(this);HY(this,function(a){a.show()});
this.C&&wra(this,g.dV(this.o).Na())};
GY.prototype.hide=function(){g.W.prototype.hide.call(this);HY(this,function(a){a.hide()})};
GY.prototype.F=function(a){if(g.yX(a,this.o,!YM(g.Y(this.o)))){a={as3:!1,html5:!0,player:!0,cpn:this.o.getVideoData().clientPlaybackNonce};var b=this.o;b.va("onFeedbackArticleRequest",{articleId:3037019,helpContext:"player_error",productData:a});b.isFullscreen()&&g.gV(b)}};
var xra=/<a\s+href=["']([^"']+)["'](?:\s+target=["']([^"']+)["'])?>([^<>]+)<\/a>/;g.t(KY,g.EF);KY.prototype.C=function(){this.B();var a=g.Y(this.g),b=this.g.getVideoData(),c=[];a.D||c.push({src:b.dd(a,"mqdefault.jpg"),sizes:"320x180"});this.l.metadata=new window.MediaMetadata({title:b.title,artist:b.author,artwork:c});a=eV(this.g);this.o.has("nexttrack")!=a&&(c=b=null,a&&(b=(0,g.A)(function(){xY(this.A,QV(),g.V("YTP_NEXT"));this.g.ik()},this),c=(0,g.A)(function(){ora(this.A);
this.g.Ul()},this)),JY(this,"nexttrack",b),JY(this,"previoustrack",c))};
KY.prototype.B=function(){var a=g.cV(this.g);a=a.isError()?"none":g.JP(a)?"playing":"paused";this.l.playbackState=a};
KY.prototype.V=function(){this.l.playbackState="none";this.l.metadata=null;for(var a=g.p(this.o),b=a.next();!b.done;b=a.next())JY(this,b.value,null);g.EF.prototype.V.call(this)};g.t(LY,g.W);LY.prototype.R=function(a,b){zra(this,b);this.D&&Ara(this,this.D)};
LY.prototype.M=function(a){var b=this.J.getVideoData();this.A!=b.videoId&&zra(this,b);this.o&&Ara(this,a.state);this.D=a.state};
LY.prototype.K=function(){this.C.hide();this.A&&(this.B[this.A]=(this.B[this.A]||0)+((0,g.G)()-this.I));this.I=0};g.t(NY,g.W);NY.prototype.hide=function(){this.o.stop();this.B.style.display="none";g.W.prototype.hide.call(this)};
NY.prototype.C=function(a){MY(this,a.state)};
NY.prototype.D=function(){MY(this,g.cV(this.A))};
NY.prototype.F=function(){this.B.style.display="block"};g.t(OY,g.rH);g.h=OY.prototype;g.h.show=function(){var a=PY(this);g.rH.prototype.show.call(this);this.ea&&(this.I.O(window,"blur",this.Rb),this.I.O(window.document,"click",this.dP));a||this.T("show",!0)};
g.h.hide=function(){var a=PY(this);g.rH.prototype.hide.call(this);Bra(this);a&&this.T("show",!1)};
g.h.Te=function(a,b){this.C=a;this.K.show();b?(this.J||(this.J=this.I.O(this.ba,"appresize",this.jx)),this.jx()):this.J&&(this.I.Da(this.J),this.J=null);a&&(a.getAttribute("aria-haspopup"),a.setAttribute("aria-expanded",!0),window.document.activeElement&&g.Od(a,window.document.activeElement)&&this.focus())};
g.h.jx=function(){g.EH(this.ba).vp(this.element,this.C)};
g.h.Rb=function(){var a=PY(this);Bra(this);this.K.hide();a&&this.T("show",!1)};
g.h.Lh=function(a,b){PY(this)?this.Rb():this.Te(a,b)};
g.h.dP=function(a){var b=tF(a);b&&(g.Od(this.element,b)||this.C&&g.Od(this.C,b)||!g.UV(a))||this.Rb()};g.t(QY,OY);QY.prototype.D=function(a){a?(Cra(this),this.Te()):(this.A&&Dra(this),this.Rb())};
QY.prototype.F=function(a){this.o.app.Z&&0<OP(a,2)&&this.Rb()};
QY.prototype.onClick=function(){this.o.dg();Dra(this)};g.t(RY,g.EF);g.h=RY.prototype;g.h.init=function(){var a=g.cV(this.g);this.Qp(a);this.Xi();this.Ab()};
g.h.sB=function(a,b){if(this.sa!=b.videoId){this.sa=b.videoId;var c=this.o;c.R=b&&0<b.Vh.length?5E3:3E3;c.gc(512,!0);this.Xi()}};
g.h.CS=function(){this.sB("newdata",this.g.getVideoData())};
g.h.Dk=function(){var a=g.kV(this.g)&&g.lV(this.g);SY(this);(a=this.tb||a)||(a=g.WU(this.g).F,a=!!a&&a.nM());return a||this.wb||SY(this)};
g.h.lg=function(){var a=!this.Dk();g.U(this.g.getRootNode(),"ytp-menu-shown",!a)};
g.h.DO=function(a){if(!g.Od(this.g.getRootNode(),a))return!1;for(;a&&!g.Ud(a);)a=a==this.g.getRootNode()?null:g.Nd(a);return!!a};
g.h.Bu=function(a){var b=this.g.getRootNode();g.U(b,"ytp-autohide",a);g.U(b,"ytp-autohide-active",!0);this.rb.start(a?250:100);a&&(this.Ta=!1,g.lq(b,"ytp-touch-mode"));b=this.g;a=!a;b.va("onVideoAreaChange");b.va(a?"onShowControls":"onHideControls")};
g.h.jQ=function(){var a=this.g.getRootNode();g.U(a,"ytp-autohide-active",!1)};
g.h.mT=function(a){var b=PY(this.ea);g.Pta&&Era(this,a)?b&&g.wF(a):(g.KP(g.cV(this.g))&&!g.Y(this.g).ra&&(b=this.g.getVideoData(),b.videoId&&this.g.Yo(VO(b))),this.o.g||TY(this,tF(a))||PY(this.ea)||(g.cV(this.g),g.wF(a)),this.Ta=!0,g.S(this.g.getRootNode(),"ytp-touch-mode"),this.o.gc(2,!0))};
g.h.iT=function(a){Era(this,a)||TY(this,tF(a))||(this.o.gc(2,!0),g.UV(a)&&!g.Y(this.g).F&&(this.Nn()?g.wF(a):(a=g.cV(this.g),g.X(a,2)&&YU(this.g)||yY(this.C,!g.JP(a)),!g.Y(this.g).fa||g.KP(a)||g.X(a,1024)?this.mu():this.Z.isActive()?(this.C.hide(),this.Z.stop()):this.Z.start())))};
g.h.mu=function(){var a=g.cV(this.g);g.X(a,2)&&YU(this.g)||(g.JP(a)?this.g.hd():this.g.td())};
g.h.jT=function(a){TY(this,tF(a))||3!=this.g.Ra()&&g.gV(this.g)};
g.h.kT=function(a){Fra(this,.3,a.scale);g.wF(a)};
g.h.lT=function(a){Fra(this,.1,a.scale)};
g.h.Ab=function(){var a=this.sd(),b=g.dV(this.g).Na(),c=this.g.isFullscreen(),d=this.g.getRootNode(),e=!a&&(480>b.width||290>b.height),f=650<=b.width;g.zI&&mra(this.o);g.U(d,"ytp-fullscreen",c);g.U(d,"ytp-large-width-mode",f);g.U(d,"ytp-small-mode",e);g.U(d,"ytp-big-mode",a);this.B&&vra(this.B,b)};
g.h.GS=function(a){this.Qp(a.state);this.Xi()};
g.h.Xi=function(){var a=!!this.sa&&!g.XU(this.g),b=2==this.g.Ra();var c=g.Y(this.g);if(b){c=g.WU(this.g).B;if(a){a=g.Y(c.g).experiments;b=c.app.getVideoData();if(a.g("desktop_trv_action_hide_info_bar")&&b.Xj)c=!1;else{if(a=b.isListed)c=c.l,a=null!=c.I&&null!=Ae(c.I,1)&&null!=Ae(Me(c.I),4)&&Ae(Ee(Me(c.I),Re,4),1)?!1:!0;c=a}a=c}c=a}else b=this.g.getVideoData(),c=(c.experiments.g("embed_api_deprecation")||c.na)&&b.isDni&&5==this.g.app.R?a:a&&(c.Qc||this.g.isFullscreen());this.I!=c&&(this.I=c,g.U(this.g.getRootNode(),
"ytp-hide-info-bar",!c))};
g.h.Qp=function(a){var b=g.KP(a);b!=this.zc&&(this.zc=b,this.Wa&&this.Da(this.Wa),this.Wa=this.O(g.dV(this.g),"touchstart",this.mT,void 0,b));this.o.gc(128,!(a.jb()&&!g.X(a,32)||nV(this.g)));var c=3==this.g.Ra();this.o.gc(256,c);c=this.g.getRootNode();if(g.X(a,2))var d=["ended-mode"];else d=[],g.X(a,8)?d.push("playing-mode"):g.X(a,4)&&d.push("paused-mode"),g.X(a,1)&&!g.X(a,32)&&d.push("buffering-mode"),g.X(a,32)&&d.push("seeking-mode"),g.X(a,64)&&d.push("unstarted-mode");g.gb(this.ga,d)||(g.mq(c,
this.ga),this.ga=d,g.kq(c,d));d=g.Y(this.g);var e=g.X(a,2);g.U(c,"ytp-hide-controls",("3"==d.A?!e:"1"!=d.A)||b);g.U(c,"ytp-native-controls","3"==d.A&&!b&&!e);if(g.X(a,128)){this.B||(this.B=new GY(this.g),g.N(this,this.B),g.uV(this.g,this.B.element,4));b=this.B;c=a.g;for(a=0;a<b.D.length;a++)b.Da(b.D[a]);b.D=[];d=c.messageKey;a=g.Y(b.o);"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.sc)"YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK"!=d||a.sc?"YTP_HTML5_FLASH_DEPRECATED"==d?b.Mb(IY(b,d,"//support.google.com/googleplay/answer/2844198#movies",!1,!0,"YTP_ERROR_VIDEO_UNAVAILABLE")):(b.Mb(yra(c.message)),b.C&&c.subreason&&b.Mb(yra(c.subreason),"subreason")):b.Mb(IY(b,"YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK_WITH_LINK","//www.youtube.com/html5"));else if(c=g.Y(b.o).hostLanguage,d="//support.google.com/youtube/?p=player_error1",c&&(d=g.Pg(d,{hl:c})),b.Mb(IY(b,"YTP_ERROR_GENERIC_WITH_LINK_AND_CPN",
d,!0)),a.ba&&!a.g)for(a=(0,g.A)(b.F,b),c=b.element.getElementsByTagName("a"),d=0;d<c.length;d++)e=b.O(c[d],"click",a),b.D.push(e);this.B.show()}else this.B&&(this.B.dispose(),this.B=null)};
g.h.Nn=function(){return g.kV(this.g)&&g.lV(this.g)?(this.g.Xl(!1,!1),!0):g.XU(this.g)?(g.ZU(this.g,!0),!0):!1};
g.h.EO=function(a){this.wb=a;this.lg()};
g.h.sd=function(){return!1};
g.h.Wj=function(){return this.Ta};
g.h.No=function(){return null};
g.h.Mt=function(){var a=g.dV(this.g).Na();return new g.$g(0,0,a.width,a.height)};
g.h.Nt=function(){};
g.h.vp=function(){};
g.h.Oo=function(){};
g.h.Pt=function(){};g.t(VY,g.W);VY.prototype.V=function(){this.A&&this.A();g.W.prototype.V.call(this)};
VY.prototype.H=function(){g.WF("iv-button-mouseover")};
VY.prototype.F=function(a){g.kV(this.o);var b=g.jq(this.o.getRootNode(),"ytp-cards-teaser-shown");g.WF("iv-teaser-clicked",b);a=0==a.screenX&&0==a.screenY;this.o.Xl(!g.lV(this.o),a,"YOUTUBE_DRAWER_MANUAL_OPEN")};g.t(XY,g.W);g.h=XY.prototype;g.h.JE=function(){g.kV(this.A)&&g.lV(this.A)&&this.l&&3!=this.D.g&&this.dm()};
g.h.AV=function(){this.dm();g.WF("iv-teaser-clicked",!!this.o);this.A.Xl(!0,!1,"YOUTUBE_DRAWER_MANUAL_OPEN")};
g.h.FO=function(){g.WF("iv-teaser-mouseover");this.o&&this.o.stop()};
g.h.GT=function(a){this.o||!a||g.lV(this.A)||this.B&&this.B.isActive()||(Gra(this,a),g.WF("iv-teaser-shown"))};
g.h.tB=function(){this.H.stop();this.o&&this.o.isActive()&&this.I.start()};
g.h.Eh=function(){this.I.stop();this.o&&!this.o.isActive()&&this.H.start()};
g.h.gS=function(){this.o&&this.o.stop()};
g.h.eS=function(){this.dm()};
g.h.dm=function(){!this.o||this.C&&this.C.isActive()||(this.D.hide(),g.lq(this.A.getRootNode(),"ytp-cards-teaser-shown"),this.C=new g.Xt(function(){for(var a=g.p(this.F),b=a.next();!b.done;b=a.next())this.Da(b.value);this.F=[];this.o&&(this.o.dispose(),this.o=null);UY(this.J,!0)},330,this),this.C.start())};
g.h.V=function(){var a=this.A.getRootNode();a&&g.lq(a,"ytp-cards-teaser-shown");g.$e(this.B,this.C,this.o);g.W.prototype.V.call(this)};g.t(YY,g.rH);YY.prototype.ga=function(){this.T("size-change")};
YY.prototype.focus=function(){this.X.focus()};
YY.prototype.ia=function(){this.T("back")};g.t(g.ZY,YY);g.ZY.prototype.ba=function(){this.F.T("size-change")};
g.ZY.prototype.focus=function(){for(var a=0,b=0;b<this.La.length;b++)if("true"==this.La[b].element.getAttribute("aria-checked")){a=b;break}this.La[a].focus()};g.t(g.aZ,OY);g.h=g.aZ.prototype;g.h.show=function(){OY.prototype.show.call(this);this.Gm()};
g.h.hide=function(){OY.prototype.hide.call(this);1<this.o.length&&g.eZ(this)};
g.h.Gm=function(){Lra(this);this.l&&(Kra(this),g.Gh(this.element,this.size))};
g.h.Ve=function(){var a=this.o.pop(),b=bZ(this);cZ(this,a,b,!0)};
g.h.wV=function(a,b,c){this.F.dispose();this.F=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.Gh(this.element,this.size);this.D=new g.Xt(g.Ea(this.WP,a,b),250,this);this.D.start()};
g.h.WP=function(a){g.lq(this.element,"ytp-popup-animating");g.pH(a);g.mq(a.element,["ytp-panel-animate-back","ytp-panel-animate-forward"]);this.D.dispose();this.D=null};
g.h.UO=function(a){if(!g.xF(a))switch(g.yF(a)){case 27:this.Rb();g.wF(a);break;case 37:1<this.o.length&&this.Ve();g.wF(a);break;case 39:g.wF(a)}};
g.h.focus=function(){bZ(this).focus()};
g.h.V=function(){OY.prototype.V.call(this);this.F&&this.F.dispose();this.D&&this.D.dispose()};g.t(fZ,g.tH);fZ.prototype.o=function(a){g.xF(a)||39!=g.yF(a)||(this.element.click(),g.wF(a))};g.t(hZ,g.tH);hZ.prototype.J=function(){iZ(this,!this.A);this.T("select",this.A)};
hZ.prototype.getValue=function(){return this.A};g.t(kZ,g.ZY);g.h=kZ.prototype;g.h.OQ=function(){CX(this.I.element)};
g.h.mR=function(){lZ(this,this.o.Sl(!0))&&xY(this.M,Xoa())};
g.h.nR=function(){lZ(this,this.o.QA())&&xY(this.M,g.MV?{G:"div",da:["ytp-icon","ytp-icon-code"]}:{G:"svg",P:{height:"100%",viewBox:"0 0 36 36",width:"100%"},N:[{G:"path",P:{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.yV(this.o,this.A.element);jZ("EMBED",this.o.getVideoData().videoId,this.o.getPlaylistId()||void 0)};
g.h.qR=function(){lZ(this,this.o.getVideoUrl(!0,!0))&&xY(this.M,cpa());g.yV(this.o,this.C.element);jZ("COPY_PASTE",this.o.getVideoData().videoId,this.o.getPlaylistId()||void 0)};
g.h.pR=function(){lZ(this,this.o.getVideoUrl(!1,!0))&&xY(this.M,cpa());g.yV(this.o,this.B.element);jZ("COPY_PASTE",this.o.getVideoData().videoId,this.o.getPlaylistId()||void 0)};
g.h.LR=function(a){iZ(this.D,a)};
g.h.MR=function(){var a=this.D.getValue();tta(this.o.app,a);this.K.Rb();g.yV(this.o,this.D.element)};
g.h.cT=function(a){var b=g.bV(this.o.app);b&&b.Nl(new g.eN("feedback",!1,{gpu:(0,g.qU)()}));if(g.yX(a,this.o,!YM(g.Y(this.o)))){a=this.o;b=b={as3:!1,html5:!0,player:!0};var c=a.az().debug_error;c&&(b.player_error=c.errorCode,b.player_error_details=c.errorDetail);b.debug_text=a.Sl(!0);a.va("onFeedbackStartRequest",b);a.isFullscreen()&&g.gV(a)}this.K.Rb()};
g.h.xT=function(){this.o.UA();this.K.Rb()};
g.h.JO=function(a,b){Nra(this,b)};g.t(mZ,g.aZ);g.h=mZ.prototype;g.h.show=function(){this.H||(this.H=new kZ(this.A,this.fa,this,this.X),g.N(this,this.H),g.dZ(this,this.H));g.aZ.prototype.show.call(this);g.zV(this.A,this.element,!0);Ora(this.H,!0)};
g.h.hide=function(){Pra(this);g.aZ.prototype.hide.call(this);g.zV(this.A,this.element,!1);this.H&&Ora(this.H,!1)};
g.h.NQ=function(a){var b=tF(a);this.l||b&&(g.Xd(b,"a")||g.Yd(b,"ytp-no-contextmenu"))||(g.wF(a),Qra(this),b=this.A.getVideoData(),g.U(this.element,"ytp-dni",b.isDni),this.element.style.left="",this.element.style.top="",a=vF(a),a.x++,a.y++,this.Te(),b=g.Ah(window.document.body),a=g.VC(a,this.size,0,void 0,b,5),g.uh(this.element,g.eh(a.rect)),g.GF(this.B),this.B.O(window.document,"contextmenu",this.WQ),this.B.O(this.A,"fullscreentoggled",this.KO),this.B.O(this.A,"pageTransition",this.sS))};
g.h.WQ=function(a){g.xF(a)||(g.Od(this.element,tF(a))||this.Rb(),g.Y(this.A).disableNativeContextMenu&&g.wF(a))};
g.h.KO=function(){this.Rb();Qra(this)};
g.h.sS=function(){this.Rb()};var X1,gva;X1=[{option:"#fff",message:"YTP_COLOR_WHITE"},{option:"#ff0",message:"YTP_COLOR_YELLOW"},{option:"#0f0",message:"YTP_COLOR_GREEN"},{option:"#0ff",message:"YTP_COLOR_CYAN"},{option:"#00f",message:"YTP_COLOR_BLUE"},{option:"#f0f",message:"YTP_COLOR_MAGENTA"},{option:"#f00",message:"YTP_COLOR_RED"},{option:"#080808",message:"YTP_COLOR_BLACK"}];gva=[{option:0,text:"0%"},{option:.25,text:"25%"},{option:.5,text:"50%"},{option:.75,text:"75%"},{option:1,text:"100%"}];
g.oZ=[{option:"fontFamily",message:"YTP_FONT_FAMILY",options:[{option:1,message:"YTP_FONT_FAMILY_MONO_SERIF"},{option:2,message:"YTP_FONT_FAMILY_PROP_SERIF"},{option:3,message:"YTP_FONT_FAMILY_MONO_SANS"},{option:4,message:"YTP_FONT_FAMILY_PROP_SANS"},{option:5,message:"YTP_FONT_FAMILY_CASUAL"},{option:6,message:"YTP_FONT_FAMILY_CURSIVE"},{option:7,message:"YTP_FONT_FAMILY_SMALL_CAPS"}]},{option:"color",message:"YTP_FONT_COLOR",options:X1},{option:"fontSizeIncrement",message:"YTP_FONT_SIZE",options:[{option:-2,
text:"50%"},{option:-1,text:"75%"},{option:0,text:"100%"},{option:1,text:"150%"},{option:2,text:"200%"},{option:3,text:"300%"},{option:4,text:"400%"}]},{option:"background",message:"YTP_BACKGROUND_COLOR",options:X1},{option:"backgroundOpacity",message:"YTP_BACKGROUND_OPACITY",options:gva},{option:"windowColor",message:"YTP_WINDOW_COLOR",options:X1},{option:"windowOpacity",message:"YTP_WINDOW_OPACITY",options:gva},{option:"charEdgeStyle",message:"YTP_CHAR_EDGE_STYLE",options:[{option:0,message:"YTP_EDGE_STYLE_NONE"},
{option:4,message:"YTP_EDGE_STYLE_DROP_SHADOW"},{option:1,message:"YTP_EDGE_STYLE_RAISED"},{option:2,message:"YTP_EDGE_STYLE_DEPRESSED"},{option:3,message:"YTP_EDGE_STYLE_OUTLINE"}]},{option:"textOpacity",message:"YTP_FONT_OPACITY",options:[{option:.25,text:"25%"},{option:.5,text:"50%"},{option:.75,text:"75%"},{option:1,text:"100%"}]}];g.t(nZ,g.EF);g.h=nZ.prototype;
g.h.nz=function(a){var b=!1,c=g.yF(a),d=tF(a),e=!a.altKey&&!a.ctrlKey&&!a.metaKey,f=!1,k=!1,l=g.Y(this.g);g.xF(a)?(e=!1,k=!0):l.ye&&(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.WU(this.g).o)&&e&&!f&&d.o&&d.o.l)switch(c){case 65:case 68:case 87:case 83:case 107:case 221:case 109:case 219:f=d.o.kz(c)}l.sc||!e||f||(f=String.fromCharCode(c).toLowerCase(),this.o+=f,0=="awesome".indexOf(this.o)?(f=!0,7==this.o.length&&g.oq(this.g.getRootNode(),
"ytp-color-party")):(this.o=f,f=0=="awesome".indexOf(this.o)));if(e&&!f){switch(c){case 32:l.F||(k=!g.JP(g.cV(this.g)),yY(this.l,k),k?this.g.td():this.g.hd(),k=f=!0);break;case 37:this.g.gd()&&(xY(this.l,ipa()),this.g.pe(-5*this.g.Hc()),k=f=!0);break;case 39:this.g.gd()&&(xY(this.l,bpa()),this.g.pe(5*this.g.Hc()),k=f=!0);break;case 38:k=Math.min(this.g.getVolume()+5,100);zY(this.l,k,!1);this.g.setVolume(k);k=f=!0;break;case 40:k=Math.max(this.g.getVolume()-5,0);zY(this.l,k,!0);this.g.setVolume(k);
k=f=!0;break;case 27:this.C()&&(k=f=!0);break;case 36:this.g.gd()&&(this.g.ac(0),k=f=!0);break;case 35:this.g.gd()&&(this.g.ac(window.Infinity),k=f=!0)}if("3"!=l.A)switch(c){case 67:g.WU(this.g).l&&(k=this.g.yc("captions","track"),(f=g.WU(this.g).l)&&f.xE(),f=this.l,k=!k||k&&!k.displayName?g.V("YTP_SUBTITLES_ON"):g.V("YTP_SUBTITLES_OFF"),xY(f,apa(),k),k=f=!0);break;case 79:pZ(this,"textOpacity")&&(f=!0);break;case 87:pZ(this,"windowOpacity")&&(f=!0);break;case 187:pZ(this,"fontSizeIncrement",!1,!0)&&
(f=!0);break;case 189:pZ(this,"fontSizeIncrement",!0,!0)&&(f=!0)}var n;48<=c&&57>=c?n=c-48:96<=c&&105>=c&&(n=c-96);null!=n&&this.g.gd()&&(k=this.g.xh(),this.g.ac(n/10*(k.seekableEnd-k.seekableStart)+k.seekableStart),k=f=!0)}}b&&this.jv(!0);(b||k)&&this.B.gc(2,!0);(f||e&&Sra(this,c,a.shiftKey))&&g.wF(a);l.yb&&(a={keyCode:g.yF(a),altKey:a.altKey,ctrlKey:a.ctrlKey,metaKey:a.metaKey,shiftKey:a.shiftKey,handled:g.xF(a),fullscreen:this.g.isFullscreen()},this.g.va("onKeyPress",a))};
g.h.oz=function(a){a=g.yF(a);var b=g.WU(this.g).o;b&&b.o&&b.o.l&&b.o.mz(a);9==a&&this.jv(!0)};
g.h.jv=function(a){g.U(this.g.getRootNode(),"ytp-probably-keyboard-focus",a);g.U(this.D.element,"ytp-probably-keyboard-focus",a)};
g.h.wB=function(a){g.WU(this.g).l&&this.g.Md("captions","sampleSubtitles",a)};
g.h.V=function(){g.$t(this.A);g.EF.prototype.V.call(this)};g.t(qZ,g.W);g.h=qZ.prototype;g.h.hide=function(){g.lq(this.o.getRootNode(),"ytp-expand-pause-overlay");g.W.prototype.hide.call(this)};
g.h.yQ=function(){this.Z=!0;g.lq(this.o.getRootNode(),"ytp-expand-pause-overlay");this.I.focus()};
g.h.AQ=function(){this.Z=!1;g.S(this.o.getRootNode(),"ytp-expand-pause-overlay")};
g.h.VO=function(){Tra(this,this.C-this.F)};
g.h.WO=function(){Tra(this,this.C+this.F)};
g.h.XO=function(a,b){var c=this.A[a],d=c.Od;if(g.yX(b,this.o,this.ea,d||void 0)){var e=c.Zb().videoId;c=c.getPlaylistId();g.M0(this.o.app,e,d,c,void 0,void 0,void 0)}};
g.h.YO=function(){this.ou(g.dV(this.o).Na())};
g.h.ZO=function(a){g.X(a.state,1)||g.X(a.state,16)||g.X(a.state,32)||(g.X(a.state,4)&&!g.X(a.state,2)?this.A.length&&(this.Z||(g.S(this.o.getRootNode(),"ytp-expand-pause-overlay"),rZ(this)),this.R.show()):this.R.hide())};
g.h.ou=function(a){var b=16/9,c=this.ba.sd();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.D.length;d++){var e=this.D[d].g["ytp-suggestion-image"];e.style.width=c+"px";e.style.height=b+"px"}this.H.element.style.height=b+"px";this.X=c;this.ga=b;this.F=a;this.C=0;this.xB(0);rZ(this)};
g.h.aP=function(){var a=this,b=g.Y(this.o),c=this.o.getVideoData();this.ea=c.isDni?!1:b.g;c.suggestions?(b=(0,g.Jd)(c.suggestions,function(a){return a&&!a.list}),this.A=(0,g.I)(b,function(b){b=g.BY(b);
g.N(a,b);return b})):this.A.length=0;
Vra(this);c.isDni?this.M.update({title:g.V("YTP_MORE_FROM_CHANNEL",{DNI_RELATED_CHANNEL:c.author})}):this.M.update({title:g.V("YTP_MORE_VIDEOS")})};
g.h.xB=function(a){this.H.element.scrollLeft=-a};g.t(sZ,g.W);sZ.prototype.A=function(a){g.yX(a,this.o)&&this.o.RA(this.Eb)};g.t(tZ,OY);g.h=tZ.prototype;g.h.show=function(){OY.prototype.show.call(this);this.F.O(this.A,"videodatachange",this.pu);this.F.O(this.A,"onPlaylistUpdate",this.pu);this.pu()};
g.h.hide=function(){OY.prototype.hide.call(this);g.GF(this.F);Wra(this,null)};
g.h.pu=function(){Wra(this,this.A.cg())};
g.h.Ip=function(){var a=this.o.Ho;if(a==this.H)this.B.element.setAttribute("aria-checked",!1),this.B=this.D[this.o.ie()];else{for(var b=g.p(this.D),c=b.next();!c.done;c=b.next())c.value.dispose();b=this.o.getLength();this.D=[];for(c=0;c<b;c++){var d=new sZ(this.A,this.o,c);this.D.push(d);d.ua(this.La)}this.B=this.D[this.o.ie()];this.H=a}this.B&&this.B.element.setAttribute("aria-checked",!0)};
g.h.IT=function(a){var b=this.A.getVideoUrl(!0);zX(b,this.A,a)};
g.h.focus=function(){this.B.focus()};
g.h.V=function(){this.hide();OY.prototype.V.call(this)};g.t(uZ,g.W);uZ.prototype.A=function(){g.U(this.element,"ytp-playlist-menu-button-tiny",400>g.dV(this.B).Na().width);this.o&&2!=this.B.Ra()?(this.update({text:g.V("YTP_PLAYLIST_POSITION",{CURRENT_POSITION:String(this.o.ie()+1),PLAYLIST_LENGTH:String(this.o.getLength())}),title:g.V("YTP_PLAYLIST_NAME",{PLAYLIST_NAME:this.o.title})}),this.l||(this.show(),OZ(this.C))):this.l&&(this.hide(),OZ(this.C))};
uZ.prototype.D=function(){this.o&&this.o.unsubscribe("shuffle",this.A,this);(this.o=this.B.cg())&&this.o.subscribe("shuffle",this.A,this);this.A()};g.t(vZ,g.W);vZ.prototype.B=function(a){g.qH(this,g.X(a.state,2))};
vZ.prototype.A=function(){g.cV(this.o);this.o.td()};g.t(wZ,OY);g.h=wZ.prototype;g.h.vS=function(a){a=tF(a);g.Od(this.M,a)||g.Od(this.F,a)||this.Lh()};
g.h.Rb=function(){OY.prototype.Rb.call(this);this.A.kj(this.element)};
g.h.show=function(){var a=this.l;OY.prototype.show.call(this);this.BB();a||this.o.va("onSharePanelOpened")};
g.h.BB=function(){g.S(this.element,"ytp-share-panel-loading");g.lq(this.element,"ytp-share-panel-fail");var a=this.o.getVideoData(),b=this.o.getPlaylistId(),c=b&&this.H.checked;g.U(this.element,"ytp-share-panel-has-playlist",!!b);var d={action_get_share_info:1,feature:"player_embedded",video_id:a.videoId},e=g.Y(this.o);e.bd&&(d.authuser=e.bd);e.pageId&&(d.pageid=e.pageId);c&&(d.list=b);g.mE(g.Y(this.o).baseYtUrl+"share_ajax",{method:"GET",onError:(0,g.A)(this.iE,this),onSuccess:(0,g.A)(function(a,
b){if(b){if(!this.ka()){g.lq(this.element,"ytp-share-panel-loading");Yra(this);for(var c=b.links,d=0,e=0;e<c.length&&3>d;e++){var f=c[e],k=Xra(f.img);k&&(k=new g.W({G:"a",da:["ytp-share-panel-service-button","ytp-button"],P:{href:f.url,target:"_blank",title:f.sname},N:[k]}),k.U("click",g.Ea(this.qT,f.url)),g.Ye(k,WY(this.A,k.element)),this.B.push(k),d++)}c=new g.W({G:"a",da:["ytp-share-panel-service-button","ytp-button"],N:[{G:"span",L:"ytp-share-panel-service-button-more",N:[g.MV?{G:"div",da:["ytp-icon",
"ytp-icon-share-more"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 38 38",width:"100%"},N:[{G:"rect",P:{fill:"#fff",height:"34",width:"34",x:"2",y:"2"}},{G:"path",P:{d:"M 34.2,0 3.8,0 C 1.70,0 .01,1.70 .01,3.8 L 0,34.2 C 0,36.29 1.70,38 3.8,38 l 30.4,0 C 36.29,38 38,36.29 38,34.2 L 38,3.8 C 38,1.70 36.29,0 34.2,0 Z m -5.7,21.85 c 1.57,0 2.85,-1.27 2.85,-2.85 0,-1.57 -1.27,-2.85 -2.85,-2.85 -1.57,0 -2.85,1.27 -2.85,2.85 0,1.57 1.27,2.85 2.85,2.85 z m -9.5,0 c 1.57,0 2.85,-1.27 2.85,-2.85 0,-1.57 -1.27,-2.85 -2.85,-2.85 -1.57,0 -2.85,1.27 -2.85,2.85 0,1.57 1.27,2.85 2.85,2.85 z m -9.5,0 c 1.57,0 2.85,-1.27 2.85,-2.85 0,-1.57 -1.27,-2.85 -2.85,-2.85 -1.57,0 -2.85,1.27 -2.85,2.85 0,1.57 1.27,2.85 2.85,2.85 z",
fill:"#4e4e4f","fill-rule":"evenodd"}}]}]}],P:{href:b.more,target:"_blank",title:g.V("YTP_MORE")}});c.U("click",(0,g.A)(this.cS,this,b.more));g.Ye(c,WY(this.A,c.element));this.B.push(c);this.updateValue("buttons",this.B)}}else this.iE(null,null)},this),
Yc:d,withCredentials:!0});a=e.getVideoUrl(a.videoId,c?b:void 0,void 0,!0);this.updateValue("link",a);this.updateValue("linkText",a);CX(this.D)};
g.h.iE=function(){g.lq(this.element,"ytp-share-panel-loading");g.S(this.element,"ytp-share-panel-fail")};
g.h.qT=function(a,b){if(g.UV(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 Ec?a:g.Ic("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(",");jc()&&d.navigator&&d.navigator.standalone&&
f&&"_self"!=f?(l=d.document.createElement("A"),g.Xc(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.Fc(e),d&&(g.mH&&-1!=c.indexOf(";")&&(c="'"+c.replace(/'/g,"%27")+"'"),d.opener=null,c=g.$c(g.vc("b/12014412, meta tag with sanitized URL"),'<meta name="referrer" content="no-referrer"><meta http-equiv="refresh" content="0; url='+
g.pb(c)+'">'),d.document.write(g.Rc(c)),d.document.close())):(d=d.open(g.Fc(e),f,l))&&c.noopener&&(d.opener=null);if(c=d)c.opener||(c.opener=window),c.focus();g.wF(b)}};
g.h.cS=function(a,b){zX(a,this.o,b)&&this.o.va("SHARE_CLICKED")};
g.h.kP=function(a){!a&&PY(this)&&this.Lh()};
g.h.focus=function(){this.D.focus()};
g.h.V=function(){OY.prototype.V.call(this);Yra(this)};g.t(xZ,g.W);xZ.prototype.F=function(){var a=g.Y(this.o);if(window.navigator.share){var b=this.o.getVideoData(),c=this.o.getPlaylistId();a=a.getVideoUrl(b.videoId,c,void 0,!0);window.navigator.share({title:b.title,url:a})}else this.H.Lh(this.element,!1);g.yV(this.o,this.element)};
xZ.prototype.C=function(){var a=g.Y(this.o).Sh&&2!=this.o.Ra(),b=g.dV(this.o).Na().width;this.A=!!this.o.getVideoData().videoId&&300<=b&&!a;g.U(this.B,"ytp-share-button-visible",this.A);a=480<b;b=g.Y(this.o);b.H&&b.experiments.g("embed_info_bar_show_actions_labels")&&(g.U(this.B,"ytp-show-share-title",a),this.updateValue("share",a?g.V("YTP_SHARE"):""));g.zV(this.o,this.element,this.A&&this.D)};
xZ.prototype.V=function(){g.W.prototype.V.call(this);g.lq(this.B,"ytp-share-button-visible")};g.t(yZ,OY);yZ.prototype.show=function(){OY.prototype.show.call(this);this.D.start()};
yZ.prototype.hide=function(){OY.prototype.hide.call(this);this.D.stop()};
yZ.prototype.X=function(){var a=this.o.getCurrentTime();a>this.B/1E3&&a<this.A/1E3&&this.show()};g.t(zZ,g.W);zZ.prototype.B=function(){var a=g.bV(this.o.app);a&&a.l.Tt()};
zZ.prototype.A=function(){var a=g.bV(this.o.app);g.qH(this,!!a&&a.Fd);this.updateValue("icon",this.o.Di()?g.MV?{G:"div",da:["ytp-icon","ytp-icon-airplay-on"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},N:[{G:"path",Ua:!0,P:{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.MV?{G:"div",da:["ytp-icon","ytp-icon-airplay-off"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},N:[{G:"path",Ua:!0,L:"ytp-svg-fill",P:{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(AZ,g.rH);AZ.prototype.V=function(){this.o=null;g.rH.prototype.V.call(this)};g.t(CZ,g.rH);g.h=CZ.prototype;g.h.NO=function(a){g.X(a.state,32)?DZ(this,this.A.getVideoData()):this.H.hide()};
g.h.ip=function(){var a=this.A.xh(),b=a.current,c=sN(this.Lb,141);b=this.Lb.g[c].kk(b);b!=this.K&&(c=tN(this.Lb,b,141),this.D=BZ(this.fa,c,141,141,!0),g.uh(this.ea,(this.I-this.D.width)/2),this.K=b);g.Qd(this.ga,g.TV(this.R?a.current-a.seekableEnd:a.current));g.nG(this.J);this.J=g.kG((0,g.A)(this.kq,this));this.M.Ij()};
g.h.OO=function(a,b){DZ(this,b)};
g.h.kq=function(){g.O(this.o,!1);g.nG(this.J);var a=Math.round(.5*this.D.width),b=Math.round(.5*this.D.height),c=this.A.xh(),d=c.current/(c.seekableEnd-c.seekableStart);c=this.Lb.g[0].gp();var e=this.Lb.g[0].lk();d=a*(e-c+1)*d-this.I/2;var f=Math.floor(d/a)+c;e=Math.min(f+Math.min(20,Math.ceil(this.I/a)),e);f=Math.max(f,c);var k;if(this.C>=f&&this.B<=e){for(k=this.C;k>e;k--)g.Id(this.o.children[k-this.B]);for(k=f-1;k>=this.B;k--)g.Id(this.o.children[k-this.B]);for(k=this.B-1;k>=f;k--)this.o.insertBefore($ra(this,
k,a,b),this.o.firstChild);k=this.C+1}else g.Gd(this.o),k=f;for(;k<=e;k++){var l=$ra(this,k,a,b);this.o.appendChild(l)}for(k=f;k<=e;k++)g.nh(this.o.children[k-f],"transform","translatex("+(-d+(k-c)*a)+"px)");this.B=f;this.C=e;g.O(this.o,!0)};
g.h.xL=function(){for(var a=this.B;a<=this.C;a++)vN(this.Lb,a,this.D.width)};
g.h.SJ=function(){var a=g.dV(this.A).Na();this.I!=a.width&&(this.I=a.width,this.Lb&&(this.ip(),this.kq()))};
g.h.lV=function(a){this.element.style.g=a+"px"};
g.h.show=function(){g.rH.prototype.show.call(this);J_(this.X,!1)};
g.h.hide=function(){this.Lb&&DZ(this,null);g.rH.prototype.hide.call(this);J_(this.X,!0)};
g.h.V=function(){DZ(this,null);g.rH.prototype.V.call(this)};
CZ.g=200;g.t(EZ,g.W);g.h=EZ.prototype;g.h.PO=function(a){g.X(a.state,32)?GZ(this,this.o.getVideoData()):this.l&&(g.X(a.state,16)||g.X(a.state,1))||this.B.hide()};
g.h.RO=function(a,b){GZ(this,b)};
g.h.QO=function(){var a=g.cV(this.o);(g.X(a,32)||g.X(a,16))&&FZ(this)};
g.h.TJ=function(){this.C=window.NaN;FZ(this)};
g.h.hide=function(){this.Lb&&GZ(this,null);g.W.prototype.hide.call(this)};g.t(HZ,g.W);g.h=HZ.prototype;g.h.SO=function(){g.Y(this.A).fa?g.gV(this.A):this.o.Lh(this.element,!0)};
g.h.tC=function(){asa(this);this.o.Te(this.element,!0)};
g.h.TO=function(){g.gF()==this.A.getRootNode()?this.C.start():(this.C.stop(),this.o&&this.o.hide())};
g.h.DI=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.tC()}};
g.h.vB=function(){g.qH(this,Bqa(this.A))};
g.h.VD=function(a){if(a){var b=g.MV?{G:"div",da:["ytp-icon","ytp-icon-full-screen-close"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},N:[{G:"g",L:"ytp-fullscreen-button-corner-2",N:[{G:"path",Ua:!0,L:"ytp-svg-fill",P:{d:"m 14,14 -4,0 0,2 6,0 0,-6 -2,0 0,4 0,0 z"}}]},{G:"g",L:"ytp-fullscreen-button-corner-3",N:[{G:"path",Ua:!0,L:"ytp-svg-fill",P:{d:"m 22,14 0,-4 -2,0 0,6 6,0 0,-2 -4,0 0,0 z"}}]},{G:"g",L:"ytp-fullscreen-button-corner-0",N:[{G:"path",Ua:!0,L:"ytp-svg-fill",
P:{d:"m 20,26 2,0 0,-4 4,0 0,-2 -6,0 0,6 0,0 z"}}]},{G:"g",L:"ytp-fullscreen-button-corner-1",N:[{G:"path",Ua:!0,L:"ytp-svg-fill",P:{d:"m 10,22 4,0 0,4 2,0 0,-6 -6,0 0,2 0,0 z"}}]}]};a=g.V("YTP_EXIT_FULLSCREEN");window.document.activeElement==this.element&&this.A.getRootNode().focus()}else b=g.MV?{G:"div",da:["ytp-icon","ytp-icon-full-screen"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},N:[{G:"g",L:"ytp-fullscreen-button-corner-0",N:[{G:"path",Ua:!0,L:"ytp-svg-fill",
P:{d:"m 10,16 2,0 0,-4 4,0 0,-2 L 10,10 l 0,6 0,0 z"}}]},{G:"g",L:"ytp-fullscreen-button-corner-1",N:[{G:"path",Ua:!0,L:"ytp-svg-fill",P:{d:"m 20,10 0,2 4,0 0,4 2,0 L 26,10 l -6,0 0,0 z"}}]},{G:"g",L:"ytp-fullscreen-button-corner-2",N:[{G:"path",Ua:!0,L:"ytp-svg-fill",P:{d:"m 24,24 -4,0 0,2 L 26,26 l 0,-6 -2,0 0,4 0,0 z"}}]},{G:"g",L:"ytp-fullscreen-button-corner-3",N:[{G:"path",Ua:!0,L:"ytp-svg-fill",P:{d:"M 12,20 10,20 10,26 l 6,0 0,-2 -4,0 0,-4 0,0 z"}}]}]},a=g.V("YTP_FULLSCREEN");this.updateValue("icon",
b);this.updateValue("title",this.o?null:a);OZ(this.D.Jb())};
g.h.V=function(){this.o||(this.B(),this.B=null);g.W.prototype.V.call(this)};g.t(IZ,g.W);IZ.prototype.A=function(){this.o.va("onCollapseMiniplayer")};g.t(JZ,OY);g.h=JZ.prototype;g.h.show=function(){var a=this.l;OY.prototype.show.call(this);a||(this.B.O(this.o,"presentingplayerstatechange",this.nu),this.B.O(this.o,"videodatachange",this.nu),this.nu())};
g.h.hide=function(){this.B&&(g.GF(this.B),OY.prototype.hide.call(this))};
g.h.nu=function(){var a=this.o.getVideoData(),b=a.Vh,c;for(c=0;c<b.length;c++){var d=this.A[c];d||(d=new g.W({G:"button",da:["ytp-multicam-menu-item","ytp-button"],P:{"aria-checked":"{{selected}}","data-id":"{{videoId}}"},N:[{G:"div",L:"ytp-multicam-menu-item-title",aa:"{{cameraName}}"}]}),d.U("click",g.Ea(this.BQ,c),this),d.ua(this.La),this.A[c]=d);var e=b[c],f=e.id;if(f!=d.element.getAttribute("data-id")){var k=e.thumbnail_url;!k&&f&&(k=VM(g.Y(this.o),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.A.length;)this.A.pop().dispose();c=g.cV(this.o);a=b.length||!a.Kb();g.JP(c)||g.X(c,4)||a||!PY(this)||this.Lh()};
g.h.BQ=function(a){this.o.getVideoData();var b=this.o;a=this.o.getVideoData().Vh[a];var c=g.bV(b.app,1).getVideoData(),d=b.getCurrentTime();a.id==c.videoId?g.bV(b.app)!=g.bV(b.app,1)&&(g.q0(b.app,1),c.ya||b.ac(d)):(g.q0(b.app,4),G0(b.app,{videoId:a.id,title:c.title,start:c.ya?null:d,multifeed_metadata_list:c.qc.multifeed_metadata_list},4))};
g.h.focus=function(){for(var a=this.o.getVideoData(),b=a.Vh,c=0;c<b.length;c++)if(b[c].id==a.videoId){this.A[c].focus();break}};
g.h.V=function(){g.$e(this.A);OY.prototype.V.call(this)};g.t(KZ,g.W);KZ.prototype.F=function(a){this.B("newdata"==a)};
KZ.prototype.B=function(a){var b=this.o.getVideoData(),c=b.Vh,d=g.cV(this.o);d=(g.JP(d)||g.X(d,4))&&0<c.length;g.qH(this,d);a&&(this.C=!0);if(d){this.C&&g.Yt(this.D);a=null;d="";for(var e=0;e<c.length;e++)if(c[e].id==b.videoId){a=c[e].title;d=g.V("YTP_MULTICAM_INDEX",{CAMERA_INDEX:String(e+1),CAMERA_COUNT:String(c.length)})+"\n";break}this.update({text:d+a,preview:b.dd(g.Y(this.o),"default.jpg")});OZ(this.A)}else this.D.stop()};
KZ.prototype.H=function(){Psa(this.A,this.element,g.V("YTP_MORE_CAMERAS_AVAILABLE"));this.C=!1};g.t(LZ,g.M);LZ.prototype.l=function(){var a=g.gG()-this.A;a=a<this.g?a/this.g:1;this.B(TC(hva,a));1>a&&this.o.start()};
var hva=new SC(0,0,.4,0,.2,1,1,1),fsa=/[0-9.-]+|[^0-9.-]+/g;g.t(NZ,g.W);NZ.prototype.Rc=function(a){this.B=300<=a.width;g.qH(this,this.B);g.zV(this.o,this.element,this.B&&this.H)};
NZ.prototype.ga=function(){g.Y(this.o).I?this.o.isMuted()?this.o.dg():this.o.mute():this.ba.Lh(this.element,!0);g.yV(this.o,this.element)};
NZ.prototype.fa=function(a){gsa(this,a.volume,a.muted)};
var jsa=["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"],ksa=["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(PZ,g.W);PZ.prototype.A=function(){var a=g.bV(this.o.app);a&&a.l.Ut()};g.t(g.QZ,g.W);g.QZ.prototype.H=function(a){lsa(this,a.state)};
g.QZ.prototype.F=function(){g.U(this.element,"ytp-play-button-playlist",eV(this.A))};
g.QZ.prototype.I=function(){g.JP(g.cV(this.A))?this.A.hd():this.A.td()};
g.QZ.prototype.V=function(){this.o&&this.o();g.W.prototype.V.call(this)};g.t(g.SZ,g.W);g.h=g.SZ.prototype;g.h.mk=function(){nsa(this);this.H&&(this.Da(this.H),this.H=null);this.F=this.o.getVideoData(1);if(this.B=this.o.cg())this.B.subscribe("shuffle",this.mk,this),this.H=this.O(this.o,"progresssync",this.bP);this.D=osa(this);RZ(this);this.Rc(g.dV(this.o).Na())};
g.h.Rc=function(a){a=void 0===a?g.dV(this.o).Na():a;var b=eV(this.o)||this.A&&g.vV(this.o)||psa(this);g.qH(this,b&&(this.A||400<=a.width))};
g.h.cP=function(a){var b=!0;this.J?b=g.yX(a,this.o):g.wF(a);b&&(this.A&&5==this.o.Ra()?this.o.T("ytoprerollinternstitialnext"):this.A?this.o.ik(!0):this.D?this.o.ac(0):this.o.Ul(!0))};
g.h.bP=function(){var a=osa(this);a!=this.D&&(this.D=a,RZ(this))};
g.h.V=function(){this.C&&(this.C(),this.C=null);nsa(this);g.W.prototype.V.call(this)};qsa.prototype.update=function(a,b,c,d){this.width=b;this.o=c;this.B=d;this.g=b-c-d;this.position=g.ad(a,c,c+this.g);this.A=this.position-c;this.l=this.A/this.g};g.t(g.TZ,g.rH);g.h=g.TZ.prototype;g.h.eP=function(a){if(!g.xF(a)){var b=!1;switch(g.yF(a)){case 36:this.A.ac(0);b=!0;break;case 35:this.A.ac(window.Infinity);b=!0;break;case 34:this.A.pe(-60);b=!0;break;case 33:this.A.pe(60);b=!0;break;case 38:this.A.pe(5);b=!0;break;case 40:this.A.pe(-5),b=!0}b&&g.wF(a)}};
g.h.yB=function(a,b){rsa(this,b,"newdata"==a)};
g.h.MJ=function(){this.yB("newdata",this.A.getVideoData())};
g.h.RJ=function(){wsa(this.A.getVideoData())?g.cV(this.A).jb()&&XZ(this,!0):XZ(this,!1)};
g.h.NJ=function(a){0<OP(a,64)||!wsa(this.A.getVideoData())?XZ(this,!1):g.JP(a.state)&&0>OP(a,64)&&XZ(this,!0);this.D&&!g.X(a.state,32)&&3!=this.A.Ra()&&this.D.cancel()};
g.h.LS=function(a,b,c){var d=g.yh(this.element),e=YZ(this).g,f=c?c.getAttribute("data-tooltip"):void 0;c&&c.getAttribute("data-position")&&(a=ZV(this.o,Number(c.getAttribute("data-position")),0)*e+g.yh(this.Oc).x);this.Ca.x=a-d.x;this.Ca.y=b-d.y;c=YZ(this);a=YV(this.o,c.l);d=f||g.TV(this.Ta?a-this.o.g:a);b=this.Ha;c=c.position+this.Ma;f=!!f;b.ea||(3==b.o&&b.mf(),1!=b.o&&(b.element.className="ytp-tooltip ytp-bottom",b.o=1,b.J&&b.I.show(),b.B=g.PO(b.M.getVideoData()),b.B&&b.B.subscribe("l",b.sC,b)),
b.update({text:d,title:""}),g.U(b.element,"ytp-text-detail",!!f),d=-1,b.B&&(d=sN(b.B,160*b.C),d=b.B.g[d].kk(a)),Rsa(b,d),Qsa(b,!!f,c));g.U(this.A.getRootNode(),"ytp-progress-bar-hover",!g.X(g.cV(this.A),64));usa(this)};
g.h.KS=function(){var a=this.Ha;1==a.o&&a.mf();g.lq(this.A.getRootNode(),"ytp-progress-bar-hover")};
g.h.JS=function(a,b){this.B&&(this.B.dispose(),this.B=null);this.Qc=b;this.A.ac(YV(this.o,YZ(this).l),!1);g.S(this.element,"ytp-drag");(this.Wa=g.JP(g.cV(this.A)))&&this.A.hd()};
g.h.MS=function(){this.ra=0;g.lq(this.element,"ytp-pull-ui");g.lq(this.element,"ytp-pulling");this.B&&(this.B.dispose(),this.B=null);0<this.I&&(this.B=new g.Ut((0,g.A)(this.qI,this,g.gG(),this.I,YZ(this).position)),this.B.start());if(g.X(g.cV(this.A),32)||3==this.A.Ra())this.A.ac(YV(this.o,YZ(this).l)),g.lq(this.element,"ytp-drag"),this.Wa&&!g.X(g.cV(this.A),2)&&this.A.td()};
g.h.qI=function(a,b,c){a=1-Math.pow(1-(g.gG()-a)/200,3);c+=a*(this.H*this.C-c);if(0>a||1<a)a=1;xsa(this,(1-a)*b,c,this.H);1>a&&this.B.start()};
g.h.NS=function(a,b){var c=!1,d=!1,e=YZ(this);3600<=this.o.getLength()&&(xsa(this,this.Qc-b-10,e.position,e.l),d=!0,c=this.I>.1*(this.F?60:40),e=YZ(this));g.U(this.element,"ytp-pull-ui",d);c&&g.S(this.element,"ytp-pulling");c=0;e.o&&0>=e.position?c=-1:e.B&&e.position>=e.width&&(c=1);this.ra!=c&&(this.ra=c,this.B&&(this.B.dispose(),this.B=null),c&&(this.B=new g.Ut((0,g.A)(this.aV,this,g.gG(),this.J)),this.B.start()));this.A.ac(YV(this.o,e.l),!1)};
g.h.aV=function(a,b){var c=this.C*(this.ba-1);this.J=g.ad(b+this.ra*(g.gG()-a)*.3,0,c);g.VZ(this);this.A.ac(YV(this.o,YZ(this).l),!1);0<this.J&&this.J<c&&this.B.start()};
g.h.kC=function(){this.updateValue("clipstarticon",Yoa());this.updateValue("clipendicon",Yoa());g.S(this.element,"ytp-clip-hover")};
g.h.jC=function(){this.updateValue("clipstarticon",$oa());this.updateValue("clipendicon",Zoa());g.lq(this.element,"ytp-clip-hover")};
g.h.Hp=function(){this.M=0;this.K=window.Infinity;WZ(this);UZ(this,this.H,this.ia)};
g.h.KE=function(a){a=g.p(a);for(var b=a.next();!b.done;b=a.next())if(b=b.value,b.visible){var c=b.getId();if(!this.X[c]){var d=g.Cd("DIV");("ytp-chapter-marker"==b.style||b.tooltip)&&d.setAttribute("data-position",b.start/1E3);b.tooltip&&d.setAttribute("data-tooltip",b.tooltip);this.X[c]=b;this.na[c]=d;if(b.icons&&b.icons.length){for(var e=g.Cd("DIV"),f=g.p(b.icons),k=f.next();!k.done;k=f.next()){k=k.value;var l=g.Cd("IMG");l.src=k;l.setAttribute("data-position",b.start/1E3);b.tooltip&&l.setAttribute("data-tooltip",
b.tooltip);e.appendChild(l)}e.className="ytp-marker-icon";g.ib(this.ea,b,g.tQ);this.R[c]=e;this.Fd.appendChild(e)}d.className=b.style;ysa(this,c);"ytp-chapter-marker"==b.style?this.Cd.appendChild(d):g.Y(this.A).experiments.g("disable_ad_markers_on_content_progress_bar")||this.kd.appendChild(d)}}else Asa(this,b);ZZ(this)};
g.h.RU=function(a){a=g.p(a);for(var b=a.next();!b.done;b=a.next())Asa(this,b.value);ZZ(this)};
g.h.V=function(){vsa(this,!1);g.rH.prototype.V.call(this)};g.t(a_,hZ);a_.prototype.D=function(){g.WU(this.B).A&&3!=this.B.Ra()?this.o||(p_(this.C,this),this.o=!0):this.o&&(q_(this.C,this),this.o=!1);var a=g.WU(this.B).A;iZ(this,!!a&&a.loaded)};
a_.prototype.F=function(a){a?this.B.hk("annotations_module"):this.B.Vl("annotations_module")};
a_.prototype.V=function(){this.o&&q_(this.C,this);hZ.prototype.V.call(this)};g.t(g.b_,g.tH);g.h=g.b_.prototype;g.h.open=function(){g.dZ(this.B,this.D)};
g.h.wf=function(a){if(this.F){var b=this.A[this.F];b.element.getAttribute("aria-checked");b.element.removeAttribute("aria-checked")}this.A[a].element.setAttribute("aria-checked",!0);this.Mb(this.vf(a));this.F=a};
g.h.enable=function(a){this.I?a||(this.I=!1,this.nk(!1)):a&&(this.I=!0,this.nk(!0))};
g.h.nk=function(a){a?p_(this.B,this):q_(this.B,this)};
g.h.wd=function(a){this.T("select",a)};
g.h.jP=function(a){"true"!=this.A[a].element.getAttribute("aria-disabled")&&this.wd(a)};
g.h.vf=function(a){return a.toString()};
g.h.iP=function(a){g.xF(a)||39!=g.yF(a)||(this.open(),g.wF(a))};
g.h.V=function(){this.I&&q_(this.B,this);g.tH.prototype.V.call(this);for(var a in this.A)this.A[a].dispose()};g.t(d_,g.b_);d_.prototype.H=function(){var a=this.o.getAvailableAudioTracks();1<a.length?(g.c_(this,(0,g.I)(a,this.C)),this.K=g.jb(a,this.C,this),this.J.Mb(a.length?" ("+a.length+")":""),this.T("size-change"),this.wf(this.C(this.o.getAudioTrack())),this.enable(!0)):this.enable(!1)};
d_.prototype.wd=function(a){g.b_.prototype.wd.call(this,a);this.o.bu(this.K[a]);this.B.Ve()};
d_.prototype.C=function(a){return a.toString()};g.t(e_,hZ);e_.prototype.D=function(){var a=this.o.Ra();if(2!=a&&3!=a&&g.vV(this.o))this.C||(p_(this.F,this),this.C=!0,this.B.push(this.O(this.o,"videodatachange",this.D)),this.B.push(this.O(this.o,"videoplayerreset",this.D)),this.B.push(this.O(this.o,"onPlaylistUpdate",this.D)),this.B.push(this.O(this.o,"autonavchange",this.H)),this.H(this.o.getVideoData().autonavState));else if(this.C){q_(this.F,this);this.C=!1;a=g.p(this.B);for(var b=a.next();!b.done;b=a.next())this.Da(b.value)}};
e_.prototype.H=function(a){iZ(this,1!=a)};
e_.prototype.I=function(a){var b=this.o;a=a?2:1;b.app.l.va("onAutonavChangeRequest",1!=a);a&&Fta(b.app,a)};
e_.prototype.V=function(){this.C&&q_(this.F,this);hZ.prototype.V.call(this)};g.t(f_,g.b_);f_.prototype.C=function(){var a=this.o.Ra();if(2!=a&&3!=a&&(this.J=g.Hoa(this.o),a=this.o.Vt(),g.Ioa(this.o)&&g.Joa(this.o)&&a.unshift("missing-qualities"),g.c_(this,a),a.length)){this.K();this.enable(!0);return}this.enable(!1)};
f_.prototype.K=function(){var a=g.hV(this.o);this.A[a]&&(this.H=this.o.Tl(),this.wf(a),"auto"==a&&this.Mb(this.vf(a)))};
f_.prototype.wd=function(a){"missing-qualities"!=a&&(g.b_.prototype.wd.call(this,a),this.o.Wo(a),this.B.Rb())};
f_.prototype.vf=function(a,b){b=void 0===b?!1:b;if("missing-qualities"==a)return{G:"a",P:{href:"https://support.google.com/youtube/?p=missing_quality",target:"_blank"},aa:g.V("YTP_MISSING_FORMATS")};var c=[Bsa(this,a)],d=g.hV(this.o);b||"auto"!=d||"auto"!=a||(c.push(" "),c.push(Bsa(this,this.H,["ytp-menu-label-secondary"])));return{G:"div",N:c}};g.t(g_,g.W);g_.prototype.Rc=function(a){g.qH(this,this.C&&400<=a.width)};
g_.prototype.D=function(){if(this.B.l)this.B.Rb();else{var a=g.WU(this.o).l;a&&!a.loaded&&(a.Lt("tracklist",{includeAsr:!0}).length||a.load());this.B.Te(this.element)}};
g_.prototype.A=function(){var a=this.o.Ra(),b=2!=a&&3!=a,c=g.iV(this.o),d=b&&!!g.WU(this.o).o;a=d&&1==c.bh;c=d&&2==c.bh;b=(d=a||c)||!b?null:this.o.Tl();g.U(this.element,"ytp-hd-quality-badge","hd720"==b||"hd1080"==b||"hd1440"==b);g.U(this.element,"ytp-4k-quality-badge","hd2160"==b);g.U(this.element,"ytp-5k-quality-badge","hd2880"==b);g.U(this.element,"ytp-8k-quality-badge","highres"==b);g.U(this.element,"ytp-3d-badge-grey",d&&a);g.U(this.element,"ytp-3d-badge",d&&c)};g.t(i_,g.b_);g.h=i_.prototype;g.h.qu=function(a){return a.toString()};
g.h.vf=function(a){return"1"==a?g.V("YTP_NORMAL_SPEED"):a.toString()};
g.h.CB=function(){var a=this.o.Ra();this.enable(2!=a&&3!=a)};
g.h.nk=function(a){g.b_.prototype.nk.call(this,a);a?(this.C=this.O(this.o,"onPlaybackRateChange",this.lP),g.c_(this,(0,g.I)(this.o.gk(),this.qu)),this.wf(this.qu(this.o.Hc()))):(this.Da(this.C),this.C=null)};
g.h.lP=function(a){this.wf(this.qu(a))};
g.h.wd=function(a){g.b_.prototype.wd.call(this,a);this.o.Se((0,window.parseFloat)(a),!0);this.B.Ve()};g.t(j_,g.b_);g.h=j_.prototype;g.h.wf=function(a){g.b_.prototype.wf.call(this,a)};
g.h.FB=function(a){return a.option.toString()};
g.h.vf=function(a){return Csa(this.K[a])};
g.h.wd=function(a){g.b_.prototype.wd.call(this,a);this.T("settingChange",this.J,this.K[a].option)};
g.h.GB=function(a){this.T("settingChange",this.J+"Override",!a);this.B.Ve()};g.t(k_,g.ZY);k_.prototype.A=function(a,b){this.T("settingChange",a,b)};g.t(l_,g.b_);l_.prototype.C=function(a){return a.languageCode};
l_.prototype.vf=function(a){return this.o[a].languageName||""};
l_.prototype.wd=function(a){this.T("select",a);g.eZ(this.B)};g.t(m_,g.b_);g.h=m_.prototype;g.h.vu=function(a){return g.Vb(a)?"__off__":a.displayName};
g.h.vf=function(a){return"__off__"==a?g.V("YTP_LANGUAGE_OFF"):"__translate__"==a?g.V("YTP_AUTO_TRANSLATE"):"__contribute__"==a?g.V("YTP_CONTRIBUTE_MENU_ITEM"):("__off__"==a?{}:this.C[a]).displayName};
g.h.wd=function(a){"__translate__"==a?this.H.open():"__contribute__"==a?(this.o.hd(),this.o.isFullscreen()&&g.gV(this.o),a=g.aQ(g.Y(this.o),this.o.getVideoData()),g.DV(a)):(this.o.Md("captions","track","__off__"==a?{}:this.C[a]),g.b_.prototype.wd.call(this,a),this.B.Ve())};
g.h.fm=function(){var a=-1!=this.o.Gi().indexOf("captions"),b=this.o.getVideoData().Yk;if(a||b){if(a){var c=this.o.yc("captions","track");var d=this.o.yc("captions","tracklist",{includeAsr:!0});var e=this.o.yc("captions","translationLanguages");this.C=g.jb(d,this.vu,this);var f=(0,g.I)(d,this.vu);if(e.length){var k=this.H;var l=e;k.o=g.jb(l,k.C,k);g.c_(k,(0,g.I)(l,k.C));f.push("__translate__")}k=this.vu(c)}else this.C={},f=[],k="__off__";f.unshift("__off__");this.C.__off__={};b&&f.unshift("__contribute__");
this.C[k]||(this.C[k]=c,f.push(k));g.c_(this,f);this.wf(k);a?(Dsa(this.K,this.o.Hi()),this.J.Mb(d.length?" ("+d.length+")":""),this.T("size-change"),a&&e.length&&this.A.__translate__.element.setAttribute("aria-disabled",!!g.Vb(c))):(this.J.Mb(""),this.T("size-change"));this.enable(!0)}else this.enable(!1)};
g.h.EB=function(a){this.o.Md("captions","sampleSubtitles",a)};
g.h.tP=function(a){var b=this.o.yc("captions","track");b=g.$b(b);b.translationLanguage=this.H.o[a];this.o.Md("captions","track",b)};
g.h.sP=function(a,b){if("reset"==a)this.o.au();else{var c={};c[a]=b;this.o.Zo(c)}this.EB(!0);this.M.start();Dsa(this.K,this.o.Hi())};
g.h.uT=function(a){a||g.$t(this.M)};
g.h.V=function(){g.$t(this.M);g.b_.prototype.V.call(this)};g.t(n_,g.aZ);n_.prototype.Te=function(a){o_(this);0<this.B.La.length&&g.aZ.prototype.Te.call(this,a)};
n_.prototype.show=function(){g.aZ.prototype.show.call(this);g.S(this.A.getRootNode(),"ytp-settings-shown")};
n_.prototype.hide=function(){g.aZ.prototype.hide.call(this);g.lq(this.A.getRootNode(),"ytp-settings-shown")};g.t(r_,g.W);
r_.prototype.A=function(){var a=!1;-1!=this.o.Gi().indexOf("remote")&&(a=1<this.o.yc("remote","receivers").length);g.qH(this,a&&400<=g.dV(this.o).Na().width);var b=1;a&&this.o.yc("remote","casting")&&(b=2);if(this.B!=b){this.B=b;switch(b){case 1:this.updateValue("icon",g.MV?{G:"div",da:["ytp-icon","ytp-icon-cast-desktop-off"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},N:[{G:"path",Ua:!0,P:{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.Woa())}g.U(this.element,"ytp-remote-button-active",!!this.o.yc("remote","casting"))}};
r_.prototype.D=function(){if(this.o.yc("remote","quickCast"))this.o.Md("remote","quickCast",!0);else{var a=this.C,b=this.element;if(PY(a))a.Rb();else{o_(a);a:{var c=g.p(a.B.La);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.Te(b));a.Te(b)}}};g.t(s_,g.W);s_.prototype.F=function(){var a=this.o.app;a.l.va("SIZE_CLICKED",!a.Wb)};
s_.prototype.A=function(){g.qH(this,this.o.app.Gd&&!this.o.isFullscreen()&&3!=this.o.Ra());if(this.l){var a=this.o.isWidescreen();if(this.B!=a){var b=a?g.MV?{G:"div",da:["ytp-icon","ytp-icon-default-view"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},N:[{G:"path",Ua:!0,P:{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.MV?{G:"div",da:["ytp-icon","ytp-icon-theater-mode"]}:{G:"svg",P:{height:"100%",version:"1.1",viewBox:"0 0 36 36",
width:"100%"},N:[{G:"path",Ua:!0,P:{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.Y(this.o).B||null==this.B?this.updateValue("icon",b):esa(this.D,this.element,b);a=(this.B=a)?g.V("YTP_DEFAULT_VIEW"):g.V("YTP_THEATER_MODE");this.updateValue("title",a);OZ(this.C)}}};g.t(t_,g.W);t_.prototype.B=function(){var a=g.WU(this.A).l;a&&a.xE()};
t_.prototype.o=function(){var a=!!g.WU(this.A).l;g.qH(this,a&&300<=g.dV(this.A).Na().width);a&&this.updateValue("pressed",!!this.A.yc("captions","track").displayName)};g.t(g.u_,g.W);
g.u_.prototype.o=function(){var a=g.dV(this.D).Na().width,b=350<=a&&(!this.B||!g.X(g.cV(this.D),64));g.qH(this,b);g.U(this.element,"ytp-time-display-allow-autohide",b&&400>a);a=this.D.xh();b&&(b=g.TV(a.current),this.F!=b&&(this.updateValue("currenttime",b),this.F=b),b=g.TV(a.duration),this.H!=b&&(this.updateValue("duration",b),this.H=b));this.B&&(a=a.isPeggedToLive,this.I!=a&&(this.I=a,this.o(),b=this.C.element,(b.disabled=a)?this.A&&(this.A(),this.A=null,b.removeAttribute("title")):(b.title=g.V("YTP_GOTO_LIVE_TOOLTIP"),
this.A=WY(this.J,this.C.element))))};
g.u_.prototype.M=function(a,b){this.B=b.ya;g.U(this.element,"ytp-live",this.B);this.o()};
g.u_.prototype.K=function(a){a.target==this.C.element&&(this.D.ac(window.Infinity),this.D.td())};
g.u_.prototype.V=function(){this.A&&this.A();g.W.prototype.V.call(this)};g.t(w_,g.W);g.h=w_.prototype;g.h.uP=function(){var a=this.F.sd();this.H!=a&&(this.H=a,v_(this,this.o.getVolume(),this.o.isMuted()))};
g.h.Rc=function(a){g.qH(this,350<=a.width)};
g.h.DT=function(a){if(!g.xF(a)){var b=g.yF(a),c=null;37==b?c=this.C-5:39==b?c=this.C+5:36==b?c=0:35==b&&(c=100);null!=c&&(c=g.ad(c,0,100),0==c?this.o.mute():(this.o.isMuted()&&this.o.dg(),this.o.setVolume(c)),g.wF(a))}};
g.h.vP=function(a){var b=a.deltaX||-a.deltaY;a.deltaMode?this.o.setVolume(this.C+(0>b?-10:10)):this.o.setVolume(this.C+g.ad(b/10,-10,10));g.wF(a)};
g.h.CT=function(){x_(this,this.B,!0,this.A,this.F.Wj());this.X=this.C;this.o.isMuted()&&this.o.dg()};
g.h.BT=function(a){a-=g.yh(this.R).x;this.o.setVolume(100*g.ad(a/(this.H?78:52),0,1))};
g.h.AT=function(){x_(this,this.B,!1,this.A,this.F.Wj());0==this.C&&(this.o.mute(),this.o.setVolume(this.X))};
g.h.wP=function(a){v_(this,a.volume,a.muted)};
g.h.Lx=function(){x_(this,this.B,this.D,this.A,this.F.Wj())};
g.h.HB=function(a){x_(this,this.B,this.D,a,this.F.Wj())};
g.h.WD=function(a){g.U(this.element,"ytp-volume-control-hover",a);x_(this,a,this.D,this.A,this.F.Wj())};
g.h.V=function(){g.W.prototype.V.call(this);g.lq(this.M,"ytp-volume-slider-active")};g.t(y_,g.W);y_.prototype.C=function(){this.A=!!this.o.getVideoData().videoId;g.qH(this,this.A);g.zV(this.o,this.element,this.A&&this.B);if(this.A){var a=this.o.getVideoUrl(!0,!1,!1,!0);this.updateValue("url",a)}};
y_.prototype.D=function(a){var b=this.o.getVideoUrl(!g.UV(a),!1,!0,!0);zX(b,this.o,a);g.yV(this.o,this.element)};g.t(z_,g.EF);g.h=z_.prototype;g.h.tu=function(){g.tsa(this.B);this.X.o()};
g.h.fC=function(){this.Bv();!this.R.g||this.tu()};
g.h.qP=function(){this.tu();this.F.start()};
g.h.Bv=function(){var a;if(a=!g.Y(this.o).o){a=this.B;var b=2*a.C*g.ZM();a=300>1E3*a.o.getLength()/a.A.Hc()/b}a=a&&g.cV(this.o).jb()&&!!window.requestAnimationFrame;b=!a;this.R.g||(a=b=!1);b?this.H||(this.H=this.O(this.o,"progresssync",this.tu)):this.H&&(this.Da(this.H),this.H=null);a?this.F.isActive()||this.F.start():this.F.stop()};
g.h.VV=function(a){J_(this.A.Jb(),!a)};
g.h.uu=function(){var a=this.A.sd(),b=g.dV(this.o).Na(),c=A_(this),d=Math.max(b.width-2*c,100);if(this.ba!=b.width||this.Z!=a){this.ba=b.width;this.Z=a;var e=Gsa(this);this.l.element.style.width=e+"px";this.l.element.style.left=c+"px";var f=this.B;f.Ma=c;f.C=e;f.F=a;g.VZ(f);this.A.Jb().fa=e}c=this.g;e=Math.min(413*(a?1.5:1),Math.round(.82*(b.height-(this.A.sd()?72:50))));c.R=Math.min(570*(a?1.5:1),d);c.M=e;c.Gm();this.Bv();g.Y(this.o).experiments.g("html5_player_dynamic_bottom_gradient")&&Zra(this.ea,
b.height)};
g.h.rP=function(){var a=this.o.getVideoData();this.M.style.background=a.isDni?a.dniColor:""};
g.h.la=function(){return this.l.element};g.t(B_,g.W);B_.prototype.I=function(){Isa(this.D,this.B,this.C,null,null);this.A.focus();this.A.removeAttribute("aria-hidden");this.o.setAttribute("aria-hidden",!0)};
B_.prototype.J=function(){Jsa(this.D,this.B,this.C,null,null);this.o.focus();this.o.removeAttribute("aria-hidden");this.A.setAttribute("aria-hidden",!0)};
B_.prototype.F=function(){this.element.classList.add("ytp-inline-subscribe-button-subscribed");this.updateValue("pressed",!0)};
B_.prototype.H=function(){this.element.classList.remove("ytp-inline-subscribe-button-subscribed");this.updateValue("pressed",!1)};g.t(C_,g.W);C_.prototype.C=function(){g.yV(this.A,this.element);D_(this,!this.o)};g.t(g.E_,g.W);g.E_.prototype.A=function(){g.S(this.element,"ytp-sb-subscribed")};
g.E_.prototype.B=function(){g.lq(this.element,"ytp-sb-subscribed")};g.va("yt.pubsub.publish",g.WF,void 0);g.t(F_,g.W);F_.prototype.M=function(a){g.yV(this.o,this.element);var b=this.o.getVideoUrl(!g.UV(a),!1,!0);zX(b,this.o,a)};
F_.prototype.I=function(){var a=this.o.getVideoData(),b=g.Y(this.o);this.updateValue("title",a.title);if(2==this.o.Ra()){var c=this.o.getVideoData(),d=!!c.videoId&&!!c.isListed&&!!c.author&&!!c.channelPath&&!!c.profilePicture;d?(G_(this,d,c.channelPath,c.profilePicture),this.updateValue("channelLink",c.channelPath),this.updateValue("channelName",c.author)):(G_(this,d),this.updateValue("channelLink",""),this.updateValue("channelName",""))}else if(b.H){c=this.o.getVideoData();d=g.Y(this.o);var e=!!c.videoId&&
!!c.channelPath&&!!c.profilePicture;e?(d.experiments.g("embed_info_bar_show_avatar")&&G_(this,e,c.channelPath,c.profilePicture),this.H&&(this.H.o=c.Nh),this.F&&(this.F.B=c.Nh),this.updateValue("subtitle",c.subtitle),this.updateValue("expandedTitle",c.expandedTitle),this.updateValue("expandedSubtitle",c.expandedSubtitle),g.U(this.o.getRootNode(),"ytp-title-show-subtitle",!!c.subtitle)):(G_(this,e),g.lq(this.o.getRootNode(),"ytp-title-show-subtitle"),this.updateValue("subtitle",""),this.updateValue("expandedTitle",
""),this.updateValue("expandedSubtitle",""))}!b.D&&a.videoId?(this.updateValue("url",this.o.getVideoUrl(!0)),this.B||(this.B=this.O(this.K,"click",this.M))):this.B&&(this.updateValue("url",null),this.Da(this.B),this.B=null)};g.t(g.H_,g.W);g.h=g.H_.prototype;g.h.fS=function(a){3==this.o&&this.mf();a=a.currentTarget;this.o||(a.removeEventListener("mouseover",this.R),a.addEventListener("mouseout",this.ga),Osa(this,a,2))};
g.h.dS=function(a){(a=uF(a))&&g.Od(this.A,a)||this.mf()};
g.h.sC=function(a,b){if(a<=this.D&&this.D<=b){var c=this.D;this.D=window.NaN;Rsa(this,c)}};
g.h.yL=function(){vN(this.B,this.D,160*this.C)};
g.h.mf=function(){switch(this.o){case 2:this.A.removeEventListener("mouseout",this.ga),this.A.addEventListener("mouseover",this.R);case 3:3==this.o&&this.ba.stop();this.M.removeEventListener("appresize",this.X);this.K||this.A.setAttribute("title",this.F);this.F="";this.A=null;break;case 1:this.B&&(this.B.unsubscribe("l",this.sC,this),this.B=null),this.M.removeEventListener("videoready",this.X),this.Z.stop()}this.o=null;this.J&&this.I.hide()};
g.h.kj=function(a){if(this.A)for(var b=0;b<arguments.length;b++)g.Od(arguments[b],this.A)&&this.mf()};
g.h.V=function(){null!=this.o&&this.mf();g.W.prototype.V.call(this)};g.t(L_,g.W);g.h=L_.prototype;g.h.Rc=function(a){this.C=300<=a.width;g.qH(this,this.C);a=480<a.width;var b=g.Y(this.o);b.H&&b.experiments.g("embed_info_bar_show_actions_labels")&&(g.U(this.I,"ytp-show-watch-later-title",a),this.updateValue("watch_later",a?g.V("YTP_WATCH_LATER_2"):""));g.zV(this.o,this.element,this.C&&this.F)};
g.h.kU=function(){this.A=!0;this.B=!1;K_(this,1);g.Y(this.o).o&&Psa(this.H,this.element);g.Y(this.o).yb&&this.o.va("WATCH_LATER_VIDEO_ADDED")};
g.h.xP=function(){g.yV(this.o,this.element);var a=this.o.getVideoData().videoId,b=g.Y(this.o);b.bd?Vsa(this,a):g.Lsa(function(){VG({videoId:a});window.location.reload()},null,"wl_button",800,600,TM(b))};
g.h.lU=function(a,b){this.B=!1;var c=g.V("YTP_ERROR_GENERIC_WITHOUT_LINK");b&&(c=b.errors&&b.errors.length?b.errors[0]:b.error_message);K_(this,4,c);g.Y(this.o).yb&&this.o.va("WATCH_LATER_ERROR",c)};
g.h.mU=function(){this.B=this.A=!1;K_(this,2);g.Y(this.o).yb&&this.o.va("WATCH_LATER_VIDEO_REMOVED")};
g.h.yP=function(){this.B=this.A=!1;K_(this,2)};g.t(M_,g.W);M_.prototype.D=function(a){g.qH(this,!g.X(a.state,2))};
M_.prototype.B=function(){if(this.A.getVideoData().videoId){var a=this.A.getVideoUrl(!0,!1,!1,!0);this.updateValue("url",a);this.o||(this.o=this.U("click",this.C))}else this.o&&(this.updateValue("url",null),this.Da(this.o),this.o=null)};
M_.prototype.C=function(a){var b=this.A.getVideoUrl(!g.UV(a),!1,!0,!0);zX(b,this.A,a)};g.t(N_,RY);g.h=N_.prototype;g.h.Jb=function(){return this.D};
g.h.Kn=function(a,b){b?this.K=a:this.K=null;this.lg()};
g.h.Ln=function(a,b){if(b)this.F.push(a);else for(var c=this.F.length;0<=c;c--)if(this.F[c]==a){this.F.splice(c,1);break}this.o.gc(64,0<this.F.length)};
g.h.Dk=function(){g.kV(this.g)&&g.lV(this.g);SY(this);var a=g.Y(this.g).experiments.g("enable_uturn_error_screen"),b=g.X(g.cV(this.g),128);return a&&b&&!this.g.isFullscreen()||!!this.K||RY.prototype.Dk.call(this)};
g.h.lg=function(){var a=!this.Dk(),b=a&&g.kV(this.g)&&!g.X(g.cV(this.g),2);a?(this.Ma.show(),this.Pa.show()):(this.Ma.hide(),this.Pa.hide(),this.D.kj(this.A.element));b?this.M.B.show():this.M.B.hide();this.l&&Fsa(this.l,!a);RY.prototype.lg.call(this)};
g.h.vp=function(a,b,c,d){a.style.left="";a.style.top="";a.style.bottom="";var e=g.Hh(a);d=d||this.l&&g.Od(this.l.la(),b);if(null==c||!d){var f=g.Hh(b);var k=g.Eh(b,this.g.getRootNode())}c=(null==c?k.x+f.width/2:c)-e.width/2;d?(f=A_(this.l),k=Gsa(this.l),b=g.dV(this.g).Na().height,c=g.ad(c,f,f+k-e.width),e=b-(this.l.A.sd()?72:50)-e.height):g.Od(this.A.element,b)?(f=g.dV(this.g).Na().width,c=g.ad(c,12,f-e.width-12),e=this.sd()?this.na:this.ra,"gvn"==g.Y(this.g).playerStyle&&(e+=20)):(b=g.dV(this.g).Na(),
c=g.ad(c,12,b.width-e.width-12),e=k.y>(b.height-f.height)/2?k.y-e.height-12:k.y+f.height+12);a.style.top=e+"px";a.style.left=c+"px"};
g.h.Bu=function(a){a&&(this.D.kj(this.A.element),this.l&&this.D.kj(this.l.la()));RY.prototype.Bu.call(this,a)};
g.h.Mt=function(a){var b=g.dV(this.g).Na();b=new g.$g(0,0,b.width,b.height);if(a||this.o.g&&!this.Dk())g.Y(this.g).Qc&&(a=this.sd()?this.na:this.ra,b.top+=a,b.height-=a),this.l&&(b.height-=this.l.A.sd()?72:50);return b};
g.h.GO=function(a){var b=this.g.getRootNode();a?b.parentElement?(b.setAttribute("aria-label","YouTube Video Player in Fullscreen"),b.parentElement.insertBefore(this.X.element,b),b.parentElement.insertBefore(this.R.element,b.nextSibling)):g.RD(Error("Player not in DOM.")):(b.setAttribute("aria-label","YouTube Video Player"),g.pH(this.X),g.pH(this.R));this.Ab();this.Xi()};
g.h.sd=function(){return this.g.isFullscreen()||!1};
g.h.Oo=function(a){this.tb=!a;this.lg()};
g.h.Ab=function(){var a=this.sd();this.D.C=a?1.5:1;g.U(this.H.element,"ytp-big-mode",a);this.lg();RY.prototype.Ab.call(this)};
g.h.Xi=function(){RY.prototype.Xi.call(this);g.zV(this.g,this.xa.element,!!this.I);var a=this.Ha,b=!!this.I;a.D=b;g.zV(a.o,a.element,a.A&&b);this.fa&&(a=this.fa,b=!!this.I,a.F=b,g.zV(a.o,a.element,a.C&&b));if(!this.I)for(this.D.kj(this.A.element),a=0;a<this.ba.length;a++)b=this.ba[a],PY(b)&&b.Rb()};
g.h.Qp=function(a){this.l&&Fsa(this.l,this.Dk());this.lg();RY.prototype.Qp.call(this,a)};
g.h.pS=function(){nV(this.g)&&this.o.gc(128,!1)};
g.h.Nt=function(a,b){this.Y&&Sra(this.Y,a,b)};
g.h.Nn=function(){return this.H.l?(this.H.Rb(),!0):this.F.length?(this.F[this.F.length-1].Rb(),!0):this.K?(this.K.Rb(),!0):RY.prototype.Nn.call(this)};
g.h.XD=function(a,b){this.Wb=b;this.Ln(a,b);this.HE()};
g.h.HE=function(){var a=this.Wb||PY(this.H);this.ia!=a&&(this.ia=a,this.g.va("onAutonavPauseRequest",this.ia))};
g.h.eJ=function(){O_(this,this.g.getRootNode(),!0).focus()};
g.h.fJ=function(){O_(this,this.g.getRootNode(),!1).focus()};
g.h.No=function(){return this.l&&this.l.g};
g.h.Pt=function(){this.o.gc(2,!0)};g.t(g.P_,g.AV);g.P_.prototype.Pc=function(){return!1};
g.P_.prototype.init=function(){this.l=new N_(this.g);g.N(this,this.l);this.l.init();g.tV(this.g,"ux")};g.t(g.Q_,rP);g.h=g.Q_.prototype;g.h.rl=function(){return lI(this.g.rl(),this.o,this.B)};
g.h.Nf=function(){return lI(this.g.Nf(),this.o,this.B)};
g.h.Fj=function(){return lI(this.g.Fj(),this.o,this.B)};
g.h.getCurrentTime=function(){return this.g.getCurrentTime()-this.o};
g.h.ek=function(a){this.g.ek(a+this.o)};
g.h.getDuration=function(){return(0,window.isFinite)(this.B)?this.B-this.o:this.g.getDuration()-this.o};
g.h.play=function(){this.g.getCurrentTime()<this.o&&this.g.ek(this.o);return this.g.play()};
g.h.addEventListener=function(a,b){this.g.addEventListener(a,b)};
g.h.removeEventListener=function(a,b){this.g.removeEventListener(a,b)};
g.h.ck=function(){var a=rP.prototype.ck.call(this);a.view=this.o+"-"+this.B;return a};
g.h.Fg=function(){return this.g.Fg()};
g.h.la=function(){return this.g.la()};
g.h.pd=function(){return this.g.pd()};
g.h.Uo=function(a){this.g.Uo(a)};
g.h.Zu=function(){this.g.Zu()};
g.h.Hc=function(){return this.g.Hc()};
g.h.Se=function(a){return this.g.Se(a)};
g.h.Qt=function(){return this.g.Qt()};
g.h.To=function(a){this.g.To(a)};
g.h.Fi=function(){return this.g.Fi()};
g.h.So=function(){return this.g.So()};
g.h.Ei=function(){return this.g.Ei()};
g.h.Ro=function(){return this.g.Ro()};
g.h.fk=function(a){this.g.fk(a)};
g.h.Ql=function(){return this.g.Ql()};
g.h.load=function(){this.g.load()};
g.h.pause=function(){this.g.pause()};
g.h.Re=function(){return this.g.Re()};
g.h.fo=function(){return this.g.fo()};
g.h.Pb=function(){return this.g.Pb()};
g.h.dk=function(){return this.g.dk()};
g.h.St=function(){return this.g.St()};
g.h.Di=function(){return this.g.Di()};
g.h.Tt=function(){return this.g.Tt()};
g.h.Ut=function(){this.g.Ut()};
g.h.Rt=function(){return this.g.Rt()};
g.h.Pl=function(){return this.g.Pl()};
g.h.setSize=function(a){return this.g.setSize(a)};
g.h.getVolume=function(){return this.g.getVolume()};
g.h.setVolume=function(a){this.g.setVolume(a)};
g.h.setAttribute=function(a,b){this.g.setAttribute(a,b)};
g.h.removeAttribute=function(a){this.g.removeAttribute(a)};
g.h.hasAttribute=function(a){return this.g.hasAttribute(a)};
g.h.Rk=ba(4);g.h.Em=ba(6);g.h.lj=ba(8);g.h.Qo=function(){this.g.Qo()};
g.h.ud=function(a,b){this.g.ud(a,b)};
g.h.Rl=function(a){return this.g.Rl(a)};
g.h.oe=function(){this.g.oe()};
g.h.Er=function(a){this.g.Er(a)};g.t(T_,g.M);T_.prototype.get=function(a){R_(this);var b=this.g.find(function(b){return b.key==a});
return b?b.value:null};
T_.prototype.set=function(a,b,c){this.remove(a,!0);R_(this);a={key:a,value:b,expire:window.Infinity};c&&(0,window.isFinite)(c)&&(c*=1E3,a.expire=g.gG()+c);for(this.g.push(a);this.g.length>this.A;)c=this.g.shift(),U_(this,c,!0);S_(this)};
T_.prototype.remove=function(a,b){b=void 0===b?!1:b;var c=this.g.find(function(b){return b.key==a});
c&&(U_(this,c,b),g.Ua(this.g,function(b){return b.key==a}),S_(this))};
T_.prototype.V=function(){var a=this;g.M.prototype.V.call(this);this.g.forEach(function(b){U_(a,b,!0)});
this.g=[]};g.wa(V_);var l0=g.y("ytPlayerUtilsVideoTagPoolInstance")||V_.getInstance();g.va("ytPlayerUtilsVideoTagPoolInstance",l0,void 0);g.h=V_.prototype;g.h.Cy=function(a){if(!(this.g.length>=a)){a-=this.g.length;for(var b=0;b<a;b++)Xsa(this)}};
g.h.oJ=function(a,b){if(this.g.length)return this.g.pop();var c=Xsa(this,a,b);a||g.Ta(this.g,c);return c};
g.h.PU=function(a){if(a&&g.Oa(this.l,a)){a.src&&(BI&&0<a.readyState&&(a.currentTime=Math.max(cva,0)),a.removeAttribute("src"),a.load(),a.g&&a.g.l&&(a.g&&a.g.dispose(),a.g=null));for(var b in nF)nF[b][0]==a&&g.rF(b);g.Ta(this.l,a);g.Ta(this.o,a)}};
g.h.mK=function(a){return this.g.length>=(a||1)};
g.h.jI=function(){for(var a=this.o.length-1;0<=a;a--)X_(this,this.o[a]);this.g.length==this.l.length&&4<=this.g.length||(4>this.l.length?this.Cy(4):(this.g=[],(0,g.C)(this.l,function(a){X_(this,a)},this)))};
V_.prototype.fillPool=V_.prototype.Cy;V_.prototype.getTag=V_.prototype.oJ;V_.prototype.releaseTag=V_.prototype.PU;V_.prototype.hasTags=V_.prototype.mK;V_.prototype.activateTags=V_.prototype.jI;g.t(Y_,g.M);Y_.prototype.o=function(a){this.l=a[a.length-1].intersectionRatio};
Y_.prototype.V=function(){g.M.prototype.V.call(this);this.l=null;this.g&&this.g.disconnect()};var Ona=[{query:window.matchMedia("(max-width: 656px)"),size:new g.hd(426,240)},{query:window.matchMedia("(max-width: 856px)"),size:new g.hd(640,360)},{query:window.matchMedia("(max-width: 999px)"),size:new g.hd(854,480)},{query:window.matchMedia("(min-width: 1720px) and (min-height: 980px)"),size:new g.hd(1280,720)},{query:window.matchMedia("(min-width: 1294px) and (min-height: 630px)"),size:new g.hd(854,480)},{query:window.matchMedia("(min-width: 1000px)"),size:new g.hd(640,360)}];g.t(Z_,g.W);g.h=Z_.prototype;g.h.kK=function(){this.H=new g.$g(0,0,0,0);this.A=new g.$g(0,0,0,0)};
g.h.hp=function(a){g.kq(this.element,arguments)};
g.h.uf=function(){if(this.o){var a=this.Na();if(!a.isEmpty()){var b=!g.id(a,g.dh(this.A)),c=bta(this);b&&(this.A.width=a.width,this.A.height=a.height);a=this.app.g;(c||b||a.ba)&&this.app.l.T("resize",this.Na())}}};
g.h.HO=function(a,b){$sa(this,b)};
g.h.lK=function(a){a.getVideoData()&&$sa(this,a.getVideoData())};
g.h.Na=function(){var a=this.app.g,b=this.app.H.isFullscreen();if(b&&uE())return new g.hd(window.outerWidth,window.outerHeight);if(b||a.Hf){if(window.matchMedia){a="(width: "+window.innerWidth+"px) and (height: "+window.innerHeight+"px)";this.C&&this.C.media==a||(this.C=window.matchMedia(a));var c=this.C&&this.C.matches}if(c)return new g.hd(window.innerWidth,window.innerHeight)}else{if(!(0,window.isNaN)(this.B.width)&&!(0,window.isNaN)(this.B.height))return this.B.clone();if(this.ba&&this.Z&&!this.app.isWidescreen())for(a=
0;a<this.ba.length;a++)if(b=this.ba[a],b.query.matches)return new g.hd(b.size.width,b.size.height)}return new g.hd(this.element.clientWidth,this.element.clientHeight)};
g.h.PJ=function(){this.o&&MW(this);d0(this)!=this.K&&this.uf()};
g.h.IO=function(){MW(this)};
g.h.V=function(){this.I&&g.UF(this.I);Zsa(this);g.W.prototype.V.call(this)};e0.prototype.click=function(a){var b=a.getAttribute("data-visual-id");g.Oa(this.g,a);g.Oa(this.l,b);g.wV(this,"onLogVeClicked",{id:b})};
e0.prototype.D=function(a){g.Oa(this.g,a);var b=a.getAttribute("data-visual-id");g.Ta(this.g,a);g.Ta(this.o,b);g.Ta(this.l,b);a.removeAttribute("data-visual-id")};
e0.prototype.pause=function(){this.A=!0};
e0.prototype.resume=function(){this.A=!1;for(var a=g.p(this.B),b=a.next();!b.done;b=a.next())b=b.value,g.wV(this,b.type,b.data);this.B.length=0};g.t(f0,g.W);g.t(h0,g.W);g.h=h0.prototype;g.h.show=function(){g.W.prototype.show.call(this);this.wu()};
g.h.hide=function(){g.W.prototype.hide.call(this);this.A.stop()};
g.h.stop=function(){this.A.stop()};
g.h.start=function(){this.A.isActive()||this.wu()};
g.h.wu=function(){var a=g.gG(),b=g.bV(this.o),c=this.o.getVideoData(),d=this.o.l,e=d.app.B.la(),f=this.o.g,k=b.Vr(),l=b.ga,m=8*bU(l,"bandwidth")/1024,n=bU(l,"networkactivity")/1024,q=bU(l,"bufferhealth");if(b.H){var r=b.H.g.g+"/"+YI(BU(b));r=r+"/"+b.H.wg()}else r="";var v=g.ZM();d=g.iV(d).Qz;var E=c.Fa&&!c.Fa.g?"display:none":"",H;if((H=c.clientPlaybackNonce)&&16==H.length){for(var L=0,T="",ha=0;10>ha;ha++)if(L=(L<<6)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_".indexOf(H.charAt(ha)),
4==ha%5){for(var db="",sa=0;6>sa;sa++)db="0123456789ABCDEFGHJKMNPQRSTVWXYZ".charAt(L&31)+db,L>>=5;T+=db}H=T.substr(0,4)+" "+T.substr(4,4)+" "+(""+T.substr(8,4))}else H="";k={video_id_and_cpn:c.videoId+" / "+H,codecs:"",dropped_frames:k.totalVideoFrames?""+(k.droppedVideoFrames||0)+"/"+k.totalVideoFrames:"-",stream_host:b.B?b.B.Ha:"",dimensions:e.clientWidth+"x"+e.clientHeight+(1<v?"*"+v:""),bandwidth_kbps:m.toFixed(0)+" Kbps",buffer_health_seconds:q.toFixed(2)+" s",drm_style:r?"":"display:none",drm:r,
host_style:E,bandwidth_style:E,network_activity_style:E,network_activity_bytes:n.toFixed(0)+" KB",shader_info:d,shader_info_style:d?"":"display:none"};m=this.o.H.getVolume();f=aP(c,f);f=Math.round(m)+"% / "+Math.round(m*f)+"%";m=c.relativeLoudness.toFixed(1);(0,window.isFinite)(m)&&(f+=" (content loudness "+m+"dB)");k.volume=f;k.resolution=e.videoWidth+"x"+e.videoHeight;if(c.Ka){e=c.Ka.video.fps;1<e&&(k.resolution+="@"+e);(b=zU(b))&&b.video&&(k.resolution+=" / "+b.video.width+"x"+b.video.height,1<
b.video.fps&&(k.resolution+="@"+b.video.fps));k.codecs=cta(c.Ka);if(b=c.wc)b=c.Ka,b=!(b.audio&&b.video);b&&(k.codecs+=" / "+cta(c.wc));c.Ka.video.l||c.Ka.video.primaries?(b=c.Ka.video.l||"unknown","smpte2084"==b?b+=" (PQ)":"arib-std-b67"==b&&(b+=" (HLG)"),k.color=b+" / "+(c.Ka.video.primaries||"unknown"),k.color_style=""):k.color_style="display:none"}b=c.ya;k.live_latency_style=b?"":"display:none";k.live_mode_style=b?"":"display:none";if(b){b=bU(l,"livelatency");k.live_latency_secs=b.toFixed(2)+"s";
e=AO(c)?"Manifestless, ":"";f="Uncertain";if(0<=b&&120>b)if(c.latencyClass&&"UNKNOWN"!=c.latencyClass)switch(c.latencyClass){case "NORMAL":f="Optimized for Normal Latency";break;case "LOW":f="Optimized for Low Latency";break;case "ULTRALOW":f="Optimized for Ultra Low Latency";break;default:f="Unknown Latency Setting"}else f=c.isLowLatencyLiveStream?"Optimized for Low Latency":"Optimized for Smooth Streaming";k.live_mode=e+f}g0(this.B,aU(l,"bandwidth"));g0(this.F,aU(l,"networkactivity"));g0(this.D,
aU(l,"livelatency"));g0(this.C,aU(l,"bufferhealth"));this.update(k);a=25<g.gG()-a?5E3:500;this.A.start(a)};g.t(i0,g.M);g.h=i0.prototype;g.h.bQ=function(){k0(this)||g.x0(this,5)};
g.h.AS=function(a){k0(this)||(Bta(this),g.JP(a.o)&&kY(this))};
g.h.PL=function(){return this.g};
g.h.getVideoData=function(){return this.D.getVideoData()};
g.h.Zd=function(){var a=this.A,b={};a.l&&g.Fa(b,a.l.uM());(a=this.A.B)&&g.Fa(b,a.fu());b.fs=this.l.isFullscreen();b.volume=Math.round(this.H.getVolume());b.mos=this.H.isMuted()?1:0;if(this.g.experiments.g("html5_enable_embedded_player_visibility_signals")&&this.g.g&&(this.Qc&&(a=this.Qc,a=null==a.l?null:Math.round(100*a.l)/100,null!=a&&(b.inview=a)),a=this.F.Na(),0<a.height&&0<a.width)){a=[Math.round(a.height),Math.round(a.width)];var c=g.ZM();1<c&&a.push(c);b.size=a.join(":")}return b};
g.h.getCurrentTime=function(a){return 3==g.$U(this)?g.aV(this.A).getCurrentTime():(a=g.bV(this,a))?a.getCurrentTime():0};
g.h.getDuration=function(a){return(a=g.bV(this,a))?a.getDuration():0};
g.h.UL=function(a){switch(a.type){case "loadedmetadata":fO("fvb","")||this.J.g("fvb");gO("fvb");this.Pa.start();break;case "loadstart":fO("gv","")||this.J.g("gv");gO("gv");break;case "progress":case "timeupdate":!fO("l2s","")&&2<=jI(a.target.Nf())&&this.J.g("l2s");break;case "playing":g.mH&&this.Pa.start();if(g.QM(this.g))a=!1;else{var b=this.A.o;a="none"==this.B.Rl("display")||0==this.B.Pl().cf();var c=this.D.getVideoData();var d=this.g;c=!d.deviceHasDisplay||c.Jm&&d.yb;b=!d0(this.F)||b||c||this.g.Xg;
a=a&&!b}a&&(this.D.fc("hidden","1",!0),this.getVideoData().Gh||R0(this,"hidden",!0))}};
g.h.FR=function(a,b){this.l.va("onLoadProgress",b)};
g.h.ET=function(){this.l.T("playbackstalledatstart")};
g.h.VL=function(a,b){this.l.va("onVideoProgress",b)};
g.h.YQ=function(){this.l.va("onDompaused")};
g.h.SL=function(){this.H.T("progresssync")};
g.h.dQ=function(a){0<OP(a,1)&&!g.X(a.state,64)&&fY(this).ya&&GU(this.o)&&1<this.l.Hc()&&A0(this,1,!0);var b;if(b=0<OP(a,2))this.C&&(g.KM(this.g)||this.l.isFullscreen()&&!this.ra)&&g.N0(this)?(b=this.g.experiments.g("html5_player_autonav_logging"),O0(this,!1,b),b=!0):b=!1,b=!b;b&&(b=this.o.l)&&b.Qo();g.X(a.state,128)&&(b=a.state,H0(this),b=b.g,this.l.va("onError",Pua[b.errorCode]||5),this.l.va("onDetailedError",b),6048E5<g.gG()-this.g.og&&this.l.va("onReloadRequired"));a.state.jb()&&!g.LP(a.state)&&
!fO("pbresume","ad_to_video")&&fO("_start","ad_to_video")&&(b=this.getVideoData(),(0,g.pQ)("cpn",b.clientPlaybackNonce,"ad_to_video"),b.videoId&&(0,g.pQ)("docid",b.videoId,"ad_to_video"),b.playbackId&&(0,g.pQ)("plid",b.playbackId,"ad_to_video"),(0,g.oQ)("pbresume",void 0,"ad_to_video"));this.l.T("applicationplayerstatechange",a)};
g.h.WC=function(a){3!=g.$U(this)&&this.l.T("presentingplayerstatechange",a)};
g.h.RL=function(a){z0(this,MP(a.state));g.X(a.state,1024)&&this.l.app.Z&&(AH(this,{muted:!1,volume:this.M.volume},!1),y0(this,!1))};
g.h.HS=function(a){a.state.jb()&&!g.LP(a.state)&&(kra(this.A),g.GF(this.Xb))};
g.h.aQ=function(a){"newdata"==a&&wta(this)};
g.h.fQ=function(){this.l.va("onPlaybackAudioChange",this.l.getAudioTrack().Hb.name)};
g.h.dU=function(a){var b=this.D.getVideoData();a==b&&this.l.va("onPlaybackQualityChange",a.Ka.video.quality)};
g.h.Ht=function(a,b,c){this.g.experiments.g("html5_app_oauth_update_killswitch")||b!=this.o||(this.g.J=c.oauthToken);if("newdata"==a)tY(this.A),this.l.T("videoplayerreset",b);else{if(!this.B)return;if("dataloaded"==a)if(this.D==this.o){if(b.A.Qg(c.qc),!this.o.o.isError()){var d=k0(this),e=fY(this);if(!QO(e)||d||zO(this.o.g))e.Kb(),d&&g.x0(this,6),nta(this),d||(e=this.A.B)&&!e.created&&this.A.g.getVideoData(1).adModule&&this.A.B.create();else if(this.I.isBackground())SU(this.o,"app_none_avail");else{d=
e.ya&&!g.PI()?"html5.unsupportedlive":"fmt.noneavailable";var f=+!!e.adaptiveFormats,k=+!!e.Wd,l=+(0<=e.Kk.indexOf("itag=18")),m=+(0<=e.Kk.indexOf("itag=43")),n=+s0('video/mp4; codecs="avc1.42001E, mp4a.40.2"'),q=+s0('video/webm; codecs="vp8.0, vorbis"');f="nosupported.1;a."+f+";d."+k+";"+("f18."+l+";c18."+n+";f43."+m+";c43."+q);e.oa&&(f+=";f133."+ +!!e.oa.g["133"]+";f140."+ +!!e.oa.g["140"]);g.oU(this.o,d,"YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK",f)}}}else nta(this);if(1==b.getPlayerType()&&(this.g.I&&
Gta(this),this.getVideoData().ya&&!this.g.Zm&&g.oU(this.o,"html5.unsupportedlive","YTP_DEVICE_FALLBACK",void 0),c.Kb())){if(c.zp||c.Ct||c.De.focEnabled||c.De.rmktEnabled||this.getVideoData().fx)e=this.getVideoData(),E0(this,"part2viewed",1,0x8000000000000),E0(this,"engagedview",Math.max(1,1E3*e.Mf),0x8000000000000),e.ya||(e=1E3*e.lengthSeconds,E0(this,"videoplaytime25",.25*e,e),E0(this,"videoplaytime50",.5*e,e),E0(this,"videoplaytime75",.75*e,e),E0(this,"videoplaytime100",e,0x8000000000000),E0(this,
"conversionview",e,0x8000000000000));c.chapterMarkers.length&&yta(this)}this.l.T("videodatachange",a,c,b.getPlayerType())}this.g.yb&&this.l.va("onVideoDataChange",{type:a,playertype:b.getPlayerType()});a=c.clientScreenNonce;c=c.rootVeType;a&&c&&(b=this.fa,a!=b.C&&(b.C=a,g.wV(b,"onScreenChanged",{csn:a,root_ve_type:c}),b.l.length&&g.wV(b,"onLogVesShown",{ids:b.l}),b.o=g.Wa(b.l)))};
g.h.Bn=function(){u0(this,null);this.l.va("onPlaylistUpdate")};
g.h.cC=function(a){var b=a.getId(),c=fY(this);if("part2viewed"==b)c.jD&&g.EE(c.jD),c.Ct&&g.EE(c.Ct);else if("conversionview"==b){var d=this.o;d.C&&hQ(d.C)}else"engagedview"==b&&g.EE(c.zp);if(c.Ap){d=c.Ap;var e={label:a.getId()};if(this.g.experiments.g("send_pyv_ad_mt_and_abandon_pings")){var f=1E3*this.getCurrentTime();e.ad_mt=Math.round(Math.max(0,f)).toString()}d=g.eE(d,e);g.EE(d)}switch(b){case "videoplaytime25":c.qA&&g.EE(c.qA);c.lD&&g.EE(c.lD);break;case "videoplaytime50":c.rA&&g.EE(c.rA);c.mD&&
g.EE(c.mD);break;case "videoplaytime75":c.sA&&g.EE(c.sA);c.nD&&g.EE(c.nD);break;case "videoplaytime100":c.pA&&g.EE(c.pA),c.kD&&g.EE(c.kD)}(b=this.getVideoData().fx)&&b[a.getId()]&&(c=b[a.getId()],g.EE(c,void 0,bH(c)||cH(c)||aH(c)),b=b[a.getId()+"gaia"],g.EE(b,void 0,bH(b)||cH(b)||aH(b)));this.o.I.C(a)};
g.h.isPeggedToLive=function(a){return GU(this.o,void 0,void 0===a?!1:a)};
g.h.TL=function(a,b){var c=a.getVideoData();if(1==this.R||2==this.R)c.startSeconds=b;2==this.R?w0(this):this.l.T("seekto",b)};
g.h.SP=function(){this.l.T("airplayactivechange")};
g.h.TP=function(){this.l.T("airplayavailabilitychange")};
g.h.mQ=function(){this.l.T("beginseeking")};
g.h.dR=function(){this.l.T("endseeking")};
g.h.RS=function(){G0(this,this.zc.playerVars,this.zc.playerType)};
g.h.Ju=function(){var a=this.C.Zb(),b=this.getVideoData();b.rm||!this.ga?(b=b.qh,a=F0(this,a),b&&I0(this,a)):a&&J0(this,a);this.l.va("onPlaylistUpdate")};
g.h.YP=function(a){this.l.va("onCueRangeEnter",a.getId())};
g.h.ZP=function(a){this.l.va("onCueRangeExit",a.getId())};
g.h.cQ=function(){this.ia||(this.ia=MN(this.mC,this));qQ(this.J,this.D.getVideoData(),gra(this))};
g.h.wR=function(){this.H.T("internalAbandon")};
g.h.mC=function(a){a=a.g;if(!(0,window.isNaN)(a)&&0<a&&this.o){var b=this.o;b.C&&0<a&&(b.C.l.l.aft=[a])}};
g.h.aS=function(){this.Au()};
g.h.bS=function(){this.Au()};
g.h.Au=function(){this.g.yb&&this.D?this.l.va("onApiChange",this.D.getPlayerType()):this.l.va("onApiChange")};
g.h.XR=function(){var a={volume:g.ad(Math.floor(100*this.B.getVolume()),0,100),muted:this.B.Ro()};a.muted||y0(this,!1);this.M=g.$b(a);this.l.va("onVolumeChange",a)};
g.h.lR=function(){var a=g.gF();Q0(this,a==this.F.element?1:0);Cta(this,!!a&&g.Od(this.F.element,a))};
g.h.isFullscreen=function(){return this.I.isFullscreen()};
g.h.gT=function(){2!=this.Ha&&Q0(this,g.gF()==this.F.element?1:0);this.g.Qh&&this.getVideoData()&&!this.getVideoData().backgroundable&&this.B&&.33>window.outerHeight*window.outerWidth/(window.screen.width*window.screen.height)&&this.B.Qo()};
g.h.ER=function(a){3!=g.$U(this)&&this.l.T("liveviewshift",a)};
g.h.isWidescreen=function(){return this.Wb};
g.h.fT=function(a){var b=g.b0(this.F);g.bh(this.Ed,b)||(this.Ed=b,this.D&&JU(this.D,"r"),this.o&&this.o!=this.D&&JU(this.o,"r"),1==this.Ha&&this.sa&&Cta(this,!0));this.Ib&&g.id(this.Ib,a)||(this.l.T("appresize",a),this.Ib=a)};
g.h.gd=function(){return this.H.gd()};
g.h.yT=function(){R0(this,"signature")};
g.h.iS=function(){o0(this);n0(this)};
g.h.KQ=function(){this.l.va("CONNECTION_ISSUE")};
g.h.QL=function(a){this.l.T("heartbeatparams",a)};
g.h.oS=function(){var a=g.bV(this);a&&g.Foa(a,!nV(this.l))};
g.h.HR=function(){this.l.va("onLoadedMetadata")};
g.h.aR=function(){this.l.va("onDrmOutputRestricted")};
g.h.V=function(){this.kd&&this.A.dispose();this.zc=null;this.o.dispose();o0(this);g.$e(g.Ob(this.Oc),this.C);g.LN(this.ia);this.ia=0;g.M.prototype.V.call(this)};
var Y1={};g.va("yt.player.Application.create",function(a,b){try{var c=g.w(a)?a:"player"+g.Da(a);if(Y1[c]){try{Y1[c].dispose()}catch(e){g.RD(e)}Y1[c]=null}var d=new i0(a,b);g.Ye(d,function(){Y1[c]=null});
return Y1[c]=d}catch(e){throw g.RD(e),e.stack;}},void 0);
var iva=g.y("ytcsi.tick");iva&&iva("pe");})(_yt_player);
