var _yt_player={};(function(g){var window=this;var ba,ca,aaa,ga,fa,ha,la,ma,pa,daa,eaa,Aa,Ca,Ea,D,Ga,Ha,naa,oaa,Ia,Ja,Ka,La,paa,Qa,Ta,Ua,Va,raa,Wa,saa,ab,fb,kb,ob,sb,wb,tb,yb,taa,ub,uaa,Ab,Db,vaa,Hb,Kb,waa,Qb,Mb,Rb,Sb,Ub,Vb,Wb,Xb,ac,cc,bc,dc,ec,fc,gc,yaa,hc,rc,tc,qc,lc,xc,zc,vc,Ac,Bc,Cc,Dc,Ec,Fc,Aaa,Ic,Kc,Jc,Mc,Nc,Pc,Sc,Tc,Daa,Uc,Caa,Vc,Eaa,Yc,Xc,Zc,$c,bd,ad,dd,ed,fd,gd,hd,id,jd,kd,ld,md,Wc,cd,od,pd,qd,sd,ud,vd,wd,yd,zd,Ad,Cd,Dd,Gd,Ed,Ld,Raa,Kd,Nd,Od,Qd,Td,Waa,Xaa,Wd,ke,ne,oe,qe,xe,Ce,Ge,Ie,Je,Ke,Zaa,$d,Re,We,Ye,Ze,cba,bf,cf,ef,ff,hf,jf,df,mf,
dba,sf,pf,xf,wf,eba,lf,Af,Bf,Cf,Df,fba,Ef,Ff,Hf,gba,If,Jf,hba,Pf,Qf,Rf,Wf,Yf,Zf,$f,iba,kba,lba,fg,cg,dg,Uf,ag,nba,ig,gg,hg,kg,mba,jg,jba,ng,qg,oba,pba,rg,sg,yg,zg,Ag,Bg,Cg,Fg,Hg,Jg,Lg,Mg,Ng,Pg,sba,Wg,Xg,Yg,Zg,ah,bh,ch,gh,lh,mh,qh,jh,tba,Ah,Bh,Ch,uba,vba,Eh,wba,Mh,Nh,Oh,Ph,Qh,Rh,Sh,xba,yba,zba,Vh,Wh,Xh,Yh,Zh,ai,$h,bi,ci,di,Aba,fi,ei,gi,ki,mi,ni,oi,ri,si,ti,ui,yi,Bi,Ci,Dba,Di,Fi,Ei,Gi,Mi,Ii,Ni,Gba,Fba,Oi,Pi,Qi,Ri,Si,Ti,Ui,Vi,Wi,Xi,Yi,Zi,$i,bj,dj,aj,gj,fj,hj,ij,jj,kj,lj,mj,nj,oj,pj,Iba,Jba,sj,Oba,vj,
Lba,Mba,Kba,Nba,wj,qj,Qba,yj,rj,tj,zj,Rba,Aj,Bj,Cj,Dj,Ej,Sba,Fj,Gj,Tba,Wba,Vba,Ij,Jj,Hj,Kj,Xba,Yba,Zba,dca,Lj,eca,Mj,Nj,Oj,Qj,Rj,fca,hca,Tj,gca,ica,Uj,jca,Xj,Vj,Sj,Wj,Yj,kca,nca,mca,oca,Zj,ak,bk,pca,ck,qca,dk,ek,fk,gk,hk,ik,jk,kk,mk,lk,sca,pk,tca,rk,tk,sk,uk,Fk,Ak,xk,vca,wca,Hk,uca,Ek,nk,Ok,yca,Tk,Ik,Gk,zca,Aca,Wk,Vk,Bca,Cca,Rk,Kk,Dca,Eca,Xk,Zk,$k,Yk,al,bl,Fca,cl,gl,hl,il,jl,Gca,kl,Hca,dl,ol,nl,pl,ql,sl,Mca,Ica,wl,xl,zl,yl,Al,Bl,Cl,Pca,Oca,Dl,El,Qca,Gl,Fl,Vca,Jl,Kl,Ll,Ml,Xca,Yca,Nl,Pl,Rl,Zca,Tl,Vl,
Wl,Ul,Xl,Yl,Zl,am,em,km,lm,bda,fm,hm,cda,om,pm,nm,rm,jm,qm,$ca,tm,xm,ym,wm,zm,Am,dda,Cm,Dm,Em,Bm,Hm,fda,Km,Lm,Mm,gda,hda,Om,ida,Pm,Qm,Nm,jda,Rm,Sm,Tm,Um,Vm,kda,mda,Zm,nda,oda,Wm,lda,Xm,an,bn,$m,qda,dn,cn,sda,fn,en,gn,hn,kn,ln,jn,nn,vda,on,qn,rn,sn,tn,pn,un,vn,wn,zn,An,Dn,Gn,Bn,In,Kn,Ln,Mn,Nn,On,Pn,Qn,Rn,Sn,Vn,Xn,Wn,Yn,Zn,$n,co,wda,bo,fo,eo,go,ho,jo,ko,lo,mo,xda,yda,no,qo,so,ro,Dda,uo,po,vo,Eda,xo,wo,Fda,yo,Ao,Co,Bo,Do,Eo,Fo,Gda,Hda,Go,Ho,Io,Jo,Ko,Lo,Oo,Po,Qo,Ro,So,To,Uo,Vo,Wo,Xo,R,$o,cp,dp,Ida,hp,
ip,Mda,kp,qp,rp,tp,gp,pp,np,Sda,Tda,Uda,Vda,up,vp,wp,xp,zp,Ap,yp,Wda,Dp,Ep,Fp,Gp,Hp,Jp,Kp,Lp,Np,Mp,Pp,Qp,Xda,Yda,Rp,Up,Sp,Tp,Vp,Wp,$da,aea,Xp,Yp,bea,Zp,gq,dea,iq,jq,kq,lq,mq,fea,nq,tq,uq,oq,vq,wq,jea,pq,iea,qq,rq,sq,hea,Bq,Cq,Dq,Hq,oea,pea,Iq,rea,sea,Kq,vea,Mq,qea,Nq,Oq,Pq,Qq,wea,Rq,Sq,Tq,xea,Vq,Wq,Xq,Yq,yea,Zq,zea,Uq,$q,ar,br,Aea,Bea,Cea,Dea,cr,Eea,fr,jr,mr,nr,Cp,Bp,Fea,Gea,Hea,or,Iea,pr,Jea,Kea,Lea,Mea,Nea,Oea,Pea,Qea,qr,sr,rr,tr,Rea,Sea,Tea,Uea,vr,Wea,xr,yr,Yea,Br,Dr,Ar,Er,Fr,Gr,Hr,Ir,Jr,Kr,Lr,
Mr,Nr,Pr,Or,bfa,cfa,Tr,ffa,Sr,Rr,Ur,Vr,Wr,Xr,Zr,yq,gfa,is,js,ks,ls,$r,kfa,ms,ns,Aq,qs,ts,mea,us,vs,ws,xq,nea,rs,xs,ys,zs,As,Bs,Cs,Ds,nfa,ofa,mfa,pfa,ps,qfa,Ms,sfa,Ns,Yr,Os,Ps,Qs,Rs,Ss,tfa,Ts,ds,os,Ls,Us,Vs,Ws,Ks,zq,cs,Ys,hs,Zs,$s,as,es,Js,lfa,vfa,gs,at,bt,wfa,ct,xfa,dt,et,ft,ht,it,jt,Afa,kt,lt,mt,nt,ot,pt,qt,rt,tt,ut,vt,wt,xt,zt,Bt,At,Dt,Ct,Et,Ft,Dfa,Ffa,Gfa,Ht,It,Hfa,Qt,Pt,Rt,St,Ifa,Xt,Yt,$t,Zt,au,bu,cu,du,eu,Kfa,ju,gu,iu,mu,nu,ou,pu,ku,tu,lu,xu,Mfa,yu,zu,Au,Bu,Cu,wu,Nfa,Du,Ofa,Eu,Fu,Gu,Pfa,Hu,Iu,
Qfa,Ju,Ku,Lu,Rfa,Mu,Nu,Sfa,Pu,Qu,Tfa,Su,Tu,Ufa,Xu,Yu,Zu,$u,av,bv,cv,Vfa,dv,ev,fv,hv,gv,Wfa,iv,jv,kv,lv,Xfa,mv,nv,Zfa,Yfa,ov,pv,qv,rv,tv,uv,wr,vv,wv,xv,yv,zv,Av,Bv,Cv,Dv,Ev,Gs,dr,Fs,lr,Es,Is,Kv,kr,Jv,hr,er,gr,ir,Mv,Iv,Hs,Pv,Qv,Sv,$fa,Tv,Uv,Vv,Wv,Xv,Yv,Zv,$v,aw,bw,cw,dw,ew,aga,fw,gw,hw,iw,jw,kw,cga,lw,mw,nw,ow,pw,qw,tw,uw,ega,vw,fga,dga,hga,ww,iga,yw,rw,gga,mga,lga,kga,xw,zw,Aw,Bw,Cw,Ew,Fw,Gw,Hw,Iw,Jw,Kw,Lw,Mw,Nw,Pw,Qw,Rw,Ow,Sw,Tw,nga,oga,Ww,Uw,Zw,Vw,$w,Yw,ax,qga,rga,bx,cx,dx,sga,gx,hx,fx,ix,vga,wga,
jx,kx,lx,mx,xga,yga,nx,ox,px,rx,zga,qx,ux,sx,Aga,Bga,Cga,vx,wx,xx,yx,zx,Ax,Bx,Cx,Dx,Ex,Fx,Gx,Hx,Gga,Fga,Jx,Ix,Mx,Hga,Nx,Ox,Iga,Ega,Px,Rx,Kga,Jga,Sx,Tx,Mga,Vx,Ux,Xx,Yx,Zx,Oga,Pga,$x,ay,Qga,by,Lx,Rga,cy,dy,Kx,Sga,ey,fy,gy,hy,Tga,iy,jy,ky,my,ny,ly,Wga,Uga,py,sy,ty,ry,qy,oy,uy,wy,yy,Ay,Cy,zy,Dy,Ey,Zga,Gy,Fy,Hy,$ga,aha,bha,Iy,Jy,Ky,Ly,My,Ny,Oy,Py,cha,Qy,eha,Wy,Ry,Sy,Ty,cz,Xy,Zy,Yy,fz,az,$y,dz,bz,gha,Vy,Uy,hha,gz,dha,hz,iz,jz,jha,kz,nz,oz,pz,qz,rz,sz,lha,kha,mha,uz,nha,oha,vz,tz,wz,xz,pha,yz,qha,rha,sha,
tha,zz,Az,Bz,Dz,Ez,Fz,Cz,Hz,uha,vha,Gz,Iz,Jz,Kz,Lz,Mz,wha,Nz,Qz,Sz,Rz,Tz,Uz,Vz,Xz,Wz,Zz,Yz,$z,aA,xha,eA,fA,gA,hA,iA,jA,kA,lA,mA,nA,oA,qA,rA,pA,sA,tA,uA,yha,vA,zha,yA,zA,wA,xA,BA,FA,CA,DA,AA,EA,Aha,GA,HA,IA,JA,LA,KA,Bha,NA,MA,Dha,Eha,Cha,OA,Fha,Gha,Hha,Iha,PA,Kha,Lha,Mha,Jq,SA,TA,UA,VA,WA,XA,YA,ZA,aB,bB,cB,hB,gB,lB,mB,eB,nB,oB,pB,qB,dB,fB,iB,sB,Tha,tB,Uha,Vha,Wha,uB,Yha,vB,wB,xB,yB,zB,Zha,AB,$ha,aia,BB,bia,cia,CB,DB,dia,fia,gia,EB,hia,GB,IB,lia,FB,mia,JB,Xha,KB,oia,pia,LB,qia,ria,NB,QB,sia,SB,RB,TB,
tia,fha,UB,VB,YB,ZB,$B,aC,bC,via,cC,dC,eC,fC,WB,xia,yia,iC,zia,jC,kC,lC,hC,mC,gC,nC,Aia,ez,Cia,By,Bia,oC,pC,qC,rC,sC,tC,Dia,uC,vC,xC,yC,wC,GC,Eia,JC,zC,KC,MC,FC,EC,DC,OC,NC,PC,QC,SC,UC,VC,Fia,WC,XC,YC,bD,dD,ZC,fD,cD,iD,hD,$C,gD,jD,lD,TC,eD,kD,nD,mD,aD,RC,LC,BC,pD,Gia,tD,uD,vD,wD,Hia,zD,AD,BD,CD,DD,FD,GD,HD,ID,JD,LD,ND,PD,OD,QD,KD,MD,TD,SD,UD,VD,fE,gE,hE,jE,kE,lE,mE,nE,oE,pE,qE,rE,tE,uE,vE,wE,yE,AE,Jia,JE,LE,ME,NE,PE,Kia,Lia,Mia,UE,Nia,Oia,SE,XE,ZE,$E,aF,bF,dF,eF,fF,gF,WE,Pia,kF,jF,lF,mF,nF,oF,tF,
sF,qF,vF,uF,AF,CF,DF,FF,Tia,GF,HF,IF,Via,PF,QF,RF,XF,YF,bG,$F,dG,cG,fG,Zia,gG,uG,vG,tG,CG,BG,FG,GG,HG,IG,MG,OG,NG,aja,bja,ZG,aH,$G,bH,dja,cH,dH,eja,fja,fH,hja,hH,gja,mH,oH,jja,pH,rH,wH,kja,lja,xH,yH,mja,DH,FH,nja,GH,HH,oja,MH,NH,LH,OH,QH,RH,SH,TH,PH,UH,pja,XH,YH,rja,ZH,qja,WH,$H,aI,bI,dI,sja,cI,eI,fI,gI,hI,jI,kI,eH,lI,mI,nI,uI,yI,AI,tja,BI,uja,CI,DI,vja,EI,HI,wja,II,xja,JI,yja,zja,Aja,Bja,GI,FI,KI,NI,OI,QI,PI,RI,SI,TI,UI,VI,WI,XI,YI,ZI,$I,aJ,bJ,cJ,eJ,gJ,Eja,hJ,iJ,jJ,kJ,mJ,lJ,oJ,V,nJ,qJ,pJ,sJ,tJ,uJ,
vJ,yJ,AJ,BJ,CJ,DJ,EJ,FJ,HJ,KJ,LJ,MJ,NJ,OJ,PJ,Gja,RJ,IJ,TJ,UJ,Hja,WJ,VJ,XJ,YJ,aK,bK,cK,fK,hK,iK,eK,dK,jK,kK,Ija,lK,mK,oK,nK,pK,Jja,Kja,qK,sK,tK,uK,vK,wK,xK,yK,rK,zK,AK,BK,Lja,EK,FK,GK,HK,Mja,IK,JK,KK,LK,MK,NK,OK,PK,QK,SK,VK,RK,TK,ZK,$K,XK,UK,aL,bL,WK,YK,Nja,cL,dL,eL,fL,gL,hL,iL,jL,kL,lL,mL,nL,oL,pL,qL,rL,sL,vL,zL,tL,BL,wL,DL,EL,FL,HL,IL,JL,uL,GL,KL,AL,LL,ML,Qja,NL,PL,RL,Rja,Sja,Tja,TL,SL,UL,VL,WL,XL,YL,Uja,Vja,dM,eM,fM,gM,Wja,hM,iM,Xja,kM,jM,lM,mM,Yja,pM,rM,tM,sM,nM,wM,Zja,xM,vM,oM,qM,uM,$ja,yM,zM,
AM,BM,CM,DM,EM,FM,GM,HM,IM,JM,KM,LM,NM,OM,PM,MM,fka,RM,SM,TM,UM,gka,hka,WM,XM,aN,ika,bN,YM,jka,ZM,cN,dN,eN,fN,gN,hN,iN,jN,kN,lN,kka,mN,lka,mka,qka,rka,nka,oka,pka,oN,pN,qN,rN,ska,sN,tka,tN,uN,vka,uka,vN,wka,wN,zN,AN,yka,BN,CN,DN,$J,zka,EN,xN,xka,GN,IN,JN,HN,MN,NN,ON,PN,QN,Aka,TN,UN,SN,WN,Gka,bO,Oka,aO,$N,Fka,bM,iO,jO,kO,pO,oO,qO,rO,sO,tO,uO,vO,wO,yO,zO,MO,NO,SJ,OO,PO,QO,RO,SO,HO,KO,IO,XO,Vka,LO,$O,hP,iP,kP,jP,Wka,Xka,lP,mP,pP,DP,GP,xP,HP,tP,JP,CP,wP,BP,yP,Zka,$ka,KP,AP,EP,uP,FP,LP,nP,qP,oP,fla,MP,
NP,PP,QP,SP,VP,hla,WP,ila,lla,kla,YP,nla,ola,pla,qla,ZP,$P,rla,aQ,bQ,cQ,fQ,hQ,gQ,jQ,iQ,eQ,kQ,dQ,lQ,mQ,nQ,sla,tla,tQ,uQ,zla,vQ,xQ,zQ,CQ,DQ,EQ,rQ,FQ,GQ,HQ,IQ,AQ,yla,Ala,vla,wla,xla,ula,LQ,MQ,aM,Cla,RQ,SQ,TQ,UQ,Dla,Ela,Fla,Gla,PQ,VQ,Ila,XQ,ZQ,$Q,aR,bR,cR,eR,fR,QJ,hR,jR,mR,kR,lR,oR,pR,qR,rR,sR,Jla,Kla,Lla,tR,vR,wR,xR,yR,zR,AR,BR,CR,uR,DR,ER,FR,Nla,Ola,Pla,Qla,GR,Mla,IR,HR,KR,JR,Rla,Sla,Tla,LR,MR,NR,OR,PR,RR,SR,TR,QR,UR,VR,WR,YR,Vla,XR,$R,aS,bS,cS,ZR,dS,fS,eS,gS,hS,iS,jS,kS,mS,lS,nS,oS,qS,sS,pS,rS,vS,
wS,Wla,zS,AS,BS,uS,CS,DS,tS,ES,FS,GS,HS,yS,xS,IS,JS,KS,Xla,LS,MS,NS,OS,Yla,Zla,TS,$la,VS,SS,WS,PS,ama,QS,RS,bma,US,cma,XS,YS,ema,fma,aT,gma,bT,cT,dT,eT,hma,jma,gT,iT,kT,nT,oT,pT,rT,sT,vT,uT,wT,xT,lma,AT,zT,yT,BT,qT,kma,CT,DT,hT,fT,ET,jT,mT,FT,mma,nma,oma,pma,GT,HT,IT,JT,qma,rma,KT,LT,sma,tma,MT,OT,NT,PT,vma,QT,wma,xma,RT,TT,VT,UT,yma,zma,WT,Ama,XT,ZT,gK,aU,bU,cU,dU,Bma,eU,fU,Cma,gU,ZJ,JJ,wJ,iU,kU,qU,mU,sU,tU,wU,vU,DU,BU,CU,Ema,xU,IU,HU,OU,QU,RU,SU,EU,TU,FU,JU,nU,PU,Hma,KU,VU,AU,WU,GU,yU,ZU,Ima,$U,
oU,Fma,aV,YU,pU,cV,zU,Gma,NU,lU,XU,dV,MU,bV,LU,uU,eV,hV,oV,qV,wV,GV,Jma,JV,LV,PV,QV,RV,SV,WV,$V,bW,dW,eW,gW,hW,Kma,iW,jW,kW,lW,mW,nW,qW,Nma,Oma,Lma,Mma,Pma,sW,tW,uW,wW,yW,zW,CW,DW,GW,JW,IW,HW,LW,Qma,MW,Rma,NW,Vma,OW,PW,QW,Wma,Xma,RW,Yma,SW,VW,UW,TW,WW,XW,YW,ZW,$W,aX,cX,eX,iX,jX,Zma,kX,lX,mX,$ma,nX,oX,pX,qX,rX,sX,tX,uX,ana,vX,wX,bna,xX,yX,zX,cna,AX,ena,dna,fna,CX,gna,EX,DX,HX,GX,FX,IX,hna,JX,KX,LX,MX,ina,PX,RX,SX,TX,UX,jna,VX,XX,kna,NX,WX,QX,OX,cY,dY,ZX,YX,bY,aY,eY,fY,gY,hY,lna,qna,nna,pna,iY,jY,kY,
lY,mY,nY,rna,oY,qY,pY,rY,sna,sY,tna,tY,uY,xY,yY,zY,AY,BY,una,DY,vna,EY,CY,FY,GY,HY,IY,wna,xna,zna,yna,JY,KY,Ana,Bna,Cna,LY,Dna,OY,QY,RY,MY,PY,NY,TY,pW,oW,$X,VY,WY,XY,YY,fX,bX,cZ,UY,dZ,gZ,vY,jZ,eZ,hX,gX,lZ,SY,mZ,pZ,qZ,oZ,rZ,Gna,Fna,tZ,wZ,uZ,zZ,dX,sZ,AZ,BZ,DZ,EZ,CZ,FZ,GZ,Hna,Ina,HZ,IZ,KZ,JZ,LZ,MZ,NZ,OZ,QZ,RZ,TZ,UZ,VZ,WZ,SZ,YZ,$Z,b_,a_,d_,c_,e_,f_,g_,i_,h_,j_,k_,l_,m_,n_,o_,p_,q_,r_,Kna,t_,s_,w_,x_,v_,y_,z_,A_,Lna,B_,C_,E_,F_,D_,G_,H_,I_,J_,K_,N_,O_,M_,L_,P_,R_,Q_,S_,T_,V_,X_,U_,Z_,a0,$_,Mna,Y_,b0,c0,
d0,e0,f0,g0,Nna,h0,i0,j0,k0,l0,m0,n0,p0,o0,r0,q0,s0,t0,u0,v0,z0,x0,w0,y0,B0,A0,C0,D0,F0,H0,I0,G0,K0,L0,M0,N0,J0,P0,T0,O0,W0,X0,Y0,R0,Z0,Q0,a1,V0,S0,$0,b1,U0,c1,g1,h1,i1,j1,k1,l1,m1,o1,n1,p1,q1,r1,s1,t1,u1,v1,w1,x1,y1,z1,A1,C1,B1,D1,E1,F1,G1,I1,H1,K1,M1,L1,N1,P1,u_,R1,Q1,O1,S1,E0,U1,Y1,W1,X1,Z1,$1,T1,a2,b2,c2,Vna,Sna,Rna,g2,i2,j2,aZ,e2,k2,bZ,$Y,l2,n2,m2,o2,p2,Tna,Una,t2,s2,f2,y2,z2,d2,A2,jV,B2,C2,r2,q2,F2,G2,x2,iZ,I2,K2,w2,H2,L2,N2,M2,O2,Q2,R2,S2,E2,D2,T2,xV,kZ,rJ,U2,v2,W2,X2,zV,fZ,hZ,Y2,J2,Z2,$2,
a3,Wna,b3,Xna,Yna,c3,e3,aoa,f3,i3,g3,j3,foa,ioa,goa,l3,n3,moa,o3,s3,ooa,noa,poa,roa,v3,soa,qoa,toa,uoa,ea,da,baa,Xw,na,wa,caa;ba=function(a){return function(){return g.aa[a].apply(this,arguments)}};
ca=function(){ca=function(){};
da.Symbol||(da.Symbol=aaa)};
aaa=function(a){return"jscomp_symbol_"+(a||"")+baa++};
ga=function(){ca();var a=da.Symbol.iterator;a||(a=da.Symbol.iterator=da.Symbol("iterator"));"function"!=typeof Array.prototype[a]&&ea(Array.prototype,a,{configurable:!0,writable:!0,value:function(){return fa(this)}});
ga=function(){}};
fa=function(a){var b=0;return ha(function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}})};
ha=function(a){ga();a={next:a};a[da.Symbol.iterator]=function(){return this};
return a};
g.ia=function(a){ga();var b=a[window.Symbol.iterator];return b?b.call(a):fa(a)};
g.p=function(a,b){function c(){}
c.prototype=b.prototype;a.R=b.prototype;a.prototype=new c;a.prototype.constructor=a;for(var d in b)if(Object.defineProperties){var e=Object.getOwnPropertyDescriptor(b,d);e&&Object.defineProperty(a,d,e)}else a[d]=b[d]};
la=function(a,b){if(b){for(var c=da,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&&ea(c,d,{configurable:!0,writable:!0,value:f})}};
ma=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};
g.t=function(a){return void 0!==a};
g.u=function(a,b,c){a=a.split(".");c=c||na;a[0]in c||!c.execScript||c.execScript("var "+a[0]);for(var d;a.length&&(d=a.shift());)!a.length&&g.t(b)?c[d]=b:c[d]&&c[d]!==Object.prototype[d]?c=c[d]:c=c[d]={}};
g.w=function(a,b){for(var c=a.split("."),d=b||na,e;e=c.shift();)if(null!=d[e])d=d[e];else return null;return d};
g.y=function(){};
g.oa=function(a){a.Wc=void 0;a.getInstance=function(){return a.Wc?a.Wc:a.Wc=new a}};
pa=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.qa=function(a){return"array"==pa(a)};
g.ra=function(a){var b=pa(a);return"array"==b||"object"==b&&"number"==typeof a.length};
g.z=function(a){return"string"==typeof a};
g.sa=function(a){return"boolean"==typeof a};
g.ta=function(a){return"number"==typeof a};
g.ua=function(a){return"function"==pa(a)};
g.va=function(a){var b=typeof a;return"object"==b&&null!=a||"function"==b};
g.xa=function(a){return a[wa]||(a[wa]=++caa)};
daa=function(a,b,c){return a.call.apply(a.bind,arguments)};
eaa=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=daa:g.A=eaa;return g.A.apply(null,arguments)};
g.ya=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.za=function(a,b){for(var c in b)a[c]=b[c]};
Aa=function(a,b){b&&(a=a.replace(/\{\$([^}]+)}/g,function(a,d){return null!=b&&d in b?b[d]:a}));
return a};
g.Ba=function(a,b,c){g.u(a,b,c)};
g.C=function(a,b){function c(){}
c.prototype=b.prototype;a.R=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.u0=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)}};
Ca=function(a){if(Error.captureStackTrace)Error.captureStackTrace(this,Ca);else{var b=Error().stack;b&&(this.stack=b)}a&&(this.message=String(a))};
g.Da=function(a,b){return 0==a.lastIndexOf(b,0)};
Ea=function(a,b){var c=a.length-b.length;return 0<=c&&a.indexOf(b,c)==c};
D=function(a){return/^[\s\xa0]*$/.test(a)};
g.Fa=function(a){return(0,window.encodeURIComponent)(String(a))};
Ga=function(a){return(0,window.decodeURIComponent)(a.replace(/\+/g," "))};
Ha=function(a){if(!faa.test(a))return a;-1!=a.indexOf("&")&&(a=a.replace(gaa,"&amp;"));-1!=a.indexOf("<")&&(a=a.replace(haa,"&lt;"));-1!=a.indexOf(">")&&(a=a.replace(iaa,"&gt;"));-1!=a.indexOf('"')&&(a=a.replace(jaa,"&quot;"));-1!=a.indexOf("'")&&(a=a.replace(kaa,"&#39;"));-1!=a.indexOf("\x00")&&(a=a.replace(laa,"&#0;"));return a};
naa=function(a){var b={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"'},c;c=na.document.createElement("div");return a.replace(maa,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})};
oaa=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}})};
Ia=function(a,b){a.length>b&&(a=a.substring(0,b-3)+"...");return a};
Ja=function(a,b){return-1!=a.indexOf(b)};
Ka=function(a,b){return Ja(a.toLowerCase(),b.toLowerCase())};
La=function(a){return String(a).replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08")};
g.Na=function(a,b,c){a=g.t(c)?a.toFixed(c):String(a);c=a.indexOf(".");-1==c&&(c=a.length);return Ma("0",Math.max(0,b-c))+a};
g.E=function(a){return null==a?"":String(a)};
paa=function(a){return Array.prototype.join.call(arguments,"")};
g.Oa=function(){return Math.floor(2147483648*Math.random()).toString(36)+Math.abs(Math.floor(2147483648*Math.random())^(0,g.G)()).toString(36)};
g.Ra=function(a,b){for(var c=0,d=Pa(String(a)).split("."),e=Pa(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=Qa(0==l[1].length?0:(0,window.parseInt)(l[1],10),0==m[1].length?0:(0,window.parseInt)(m[1],10))||Qa(0==l[2].length,0==m[2].length)||Qa(l[2],m[2]);l=l[3];m=m[3]}while(0==c)}return c};
Qa=function(a,b){return a<b?-1:a>b?1:0};
g.Sa=function(a){for(var b=0,c=0;c<a.length;++c)b=31*b+a.charCodeAt(c)>>>0;return b};
Ta=function(){return"goog_"+qaa++};
Ua=function(a){var b=Number(a);return 0==b&&D(a)?window.NaN:b};
Va=function(a){return String(a).replace(/\-([a-z])/g,function(a,c){return c.toUpperCase()})};
raa=function(a){var b=g.z(void 0)?La(void 0):"\\s";return a.replace(new RegExp("(^"+(b?"|["+b+"]+":"")+")([a-z])","g"),function(a,b,e){return b+e.toUpperCase()})};
Wa=function(a){(0,window.isFinite)(a)&&(a=String(a));return g.z(a)?/^\s*-?0x/i.test(a)?(0,window.parseInt)(a,16):(0,window.parseInt)(a,10):window.NaN};
g.Xa=function(a){return a[a.length-1]};
saa=function(a,b){var c=0;(0,g.H)(a,function(a,e,f){b.call(void 0,a,e,f)&&++c},void 0);
return c};
g.Za=function(a,b,c){b=g.Ya(a,b,c);return 0>b?null:g.z(a)?a.charAt(b):a[b]};
g.Ya=function(a,b,c){for(var d=a.length,e=g.z(a)?a.split(""):a,f=0;f<d;f++)if(f in e&&b.call(c,e[f],f,a))return f;return-1};
ab=function(a,b){var c=g.$a(a,b,void 0);return 0>c?null:g.z(a)?a.charAt(c):a[c]};
g.$a=function(a,b,c){for(var d=g.z(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.cb=function(a,b){return 0<=(0,g.bb)(a,b)};
g.db=function(a){return 0==a.length};
fb=function(a){if(!g.qa(a))for(var b=a.length-1;0<=b;b--)delete a[b];a.length=0};
g.gb=function(a,b){g.cb(a,b)||a.push(b)};
g.jb=function(a,b){var c=(0,g.bb)(a,b),d;(d=0<=c)&&g.ib(a,c);return d};
g.ib=function(a,b){Array.prototype.splice.call(a,b,1)};
kb=function(a,b){var c=g.Ya(a,b,void 0);0<=c&&g.ib(a,c)};
g.lb=function(a){return Array.prototype.concat.apply([],arguments)};
g.nb=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[]};
ob=function(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];if(g.ra(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.rb=function(a,b,c,d){Array.prototype.splice.apply(a,g.qb(arguments,1))};
g.qb=function(a,b,c){return 2>=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)};
sb=function(a,b,c){function d(a){return g.va(a)?"o"+g.xa(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.vb=function(a,b,c){return tb(a,c||ub,!1,b)};
wb=function(a,b){return tb(a,b,!0,void 0,void 0)};
tb=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.xb=function(a,b){a.sort(b||ub)};
yb=function(a,b,c){var d=c||ub;g.xb(a,function(a,c){return d(b(a),b(c))})};
taa=function(a,b){yb(a,function(a){return a[b]},void 0)};
g.zb=function(a,b){if(!g.ra(a)||!g.ra(b)||a.length!=b.length)return!1;for(var c=a.length,d=uaa,e=0;e<c;e++)if(!d(a[e],b[e]))return!1;return!0};
ub=function(a,b){return a>b?1:a<b?-1:0};
uaa=function(a,b){return a===b};
Ab=function(a,b,c){c=g.vb(a,b,c);0>c&&g.rb(a,-(c+1),0,b)};
g.Cb=function(a,b,c){var d={};(0,g.H)(a,function(e,f){d[b.call(c,e,f,a)]=e});
return d};
Db=function(a){for(var b=[],c=0;c<a;c++)b[c]=0;return b};
g.Eb=function(a){for(var b=[],c=0;c<arguments.length;c++){var d=arguments[c];if(g.qa(d))for(var e=0;e<d.length;e+=8192)for(var f=g.Eb.apply(null,g.qb(d,e,e+8192)),k=0;k<f.length;k++)b.push(f[k]);else b.push(d)}return b};
g.Fb=function(a){for(var b=[],c=0,d=0;d<a.length;d++){for(var e=a.charCodeAt(d);255<e;)b[c++]=e&255,e>>=8;b[c++]=e}return b};
vaa=function(a){return(0,g.I)(a,function(a){a=a.toString(16);return 1<a.length?a:"0"+a}).join("")};
Hb=function(a){return Ja(g.Gb,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){var b=0,c;for(c in a)b++;return b};
waa=function(a,b){return Mb(a,b)};
g.Nb=function(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b};
g.Ob=function(a){var b=[],c=0,d;for(d in a)b[c++]=d;return b};
g.Pb=function(a,b){for(var c=g.ra(b),d=c?b:arguments,c=c?0:1;c<d.length&&(a=a[d[c]],g.t(a));c++);return a};
Qb=function(a,b){return null!==a&&b in a};
Mb=function(a,b){for(var c in a)if(a[c]==b)return!0;return!1};
Rb=function(a,b,c){for(var d in a)if(b.call(c,a[d],d,a))return d};
Sb=function(a,b){var c=Rb(a,b,void 0);return c&&a[c]};
g.Tb=function(a){for(var b in a)return!1;return!0};
Ub=function(a,b){b in a&&delete a[b]};
Vb=function(a,b,c){return null!==a&&b in a?a[b]:c};
Wb=function(a){var b={},c;for(c in a)b[c]=a[c];return b};
Xb=function(a){var b=pa(a);if("object"==b||"array"==b){if(g.ua(a.clone))return a.clone();var b="array"==b?[]:{},c;for(c in a)b[c]=Xb(a[c]);return b}return a};
g.$b=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<Zb.length;f++)c=Zb[f],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}};
ac=function(a){var b=arguments.length;if(1==b&&g.qa(arguments[0]))return ac.apply(null,arguments[0]);for(var c={},d=0;d<b;d++)c[arguments[d]]=!0;return c};
cc=function(){return Hb("Safari")&&!(bc()||Hb("Coast")||Hb("Opera")||Hb("Edge")||Hb("Silk")||Hb("Android"))};
bc=function(){return(Hb("Chrome")||Hb("CriOS"))&&!Hb("Edge")};
dc=function(){return Hb("iPhone")&&!Hb("iPod")&&!Hb("iPad")};
ec=function(){return dc()||Hb("iPad")||Hb("iPod")};
fc=function(a){fc[" "](a);return a};
gc=function(a,b){try{return fc(a[b]),!0}catch(c){}return!1};
yaa=function(a,b){var c=xaa;return Object.prototype.hasOwnProperty.call(c,a)?c[a]:c[a]=b(a)};
hc=function(){var a=na.document;return a?a.documentMode:void 0};
g.jc=function(a){return yaa(a,function(){return 0<=g.Ra(ic,a)})};
g.kc=function(a){return Number(zaa)>=a};
g.pc=function(a,b){g.ra(a);lc();for(var c=b?nc:oc,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=n&63;m||(n=64,k||(l=64));d.push(c[q],c[f],c[l],c[n])}return d.join("")};
rc=function(a){var b=[];qc(a,function(a){b.push(a)});
return b};
tc=function(a){!g.sc||g.jc("10");var b=new window.Uint8Array(Math.ceil(3*a.length/4)),c=0;qc(a,function(a){b[c++]=a});
return b.subarray(0,c)};
qc=function(a,b){function c(b){for(;d<a.length;){var c=a.charAt(d++),e=uc[c];if(null!=e)return e;if(!D(c))throw Error("Unknown base64 encoding at char: "+c);}return b}
lc();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))}};
lc=function(){if(!oc){oc={};uc={};nc={};for(var a=0;65>a;a++)oc[a]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(a),uc[oc[a]]=a,nc[a]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_.".charAt(a),62<=a&&(uc["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_.".charAt(a)]=a)}};
xc=function(a,b,c){this.o=null;this.D=this.F=this.g=this.B=this.A=0;this.C=!1;a&&vc(this,a,b,c)};
zc=function(a,b,c){if(yc.length){var d=yc.pop();a&&vc(d,a,b,c);return d}return new xc(a,b,c)};
vc=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?tc(b):new window.Uint8Array(0);a.o=b;a.A=g.t(c)?c:0;a.B=g.t(d)?a.A+d:a.o.length;a.g=a.A};
Ac=function(a){var b,c=a.o;b=c[a.g+0];var d=b&127;if(128>b)return a.g+=1,d;b=c[a.g+1];d|=(b&127)<<7;if(128>b)return a.g+=2,d;b=c[a.g+2];d|=(b&127)<<14;if(128>b)return a.g+=3,d;b=c[a.g+3];d|=(b&127)<<21;if(128>b)return a.g+=4,d;b=c[a.g+4];d|=(b&15)<<28;if(128>b)return a.g+=5,d>>>0;a.g+=10;return d};
Bc=function(a,b,c){this.g=zc(a,b,c);this.o=this.A=-1;this.B=!1};
Cc=function(a){var b=a.g;if(b.g==b.B||a.getError())return!1;var b=Ac(a.g),c=b&7;if(0!=c&&5!=c&&1!=c&&2!=c&&3!=c&&4!=c)return a.B=!0,!1;a.A=b>>>3;a.o=c;return!0};
Dc=function(a){switch(a.o){case 0:if(0!=a.o)Dc(a);else{for(a=a.g;a.o[a.g]&128;)a.g++;a.g++}break;case 1:1!=a.o?Dc(a):(a=a.g,a.g+=8);break;case 2:if(2!=a.o)Dc(a);else{var b=Ac(a.g);a=a.g;a.g+=b}break;case 5:5!=a.o?Dc(a):(a=a.g,a.g+=4);break;case 3:b=[a.A];do{if(!Cc(a)){a.B=!0;break}if(3==a.o)b.push(a.A);else if(4==a.o&&a.A!=b.pop()){a.B=!0;break}}while(0<b.length)}};
Ec=function(a){var b=Ac(a.g);a=a.g;for(var c=a.o,d=a.g,b=d+b,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){var l=c[d++],m=c[d++];e.push((k&15)<<12|(l&63)<<6|m&63)}else if(248>k){var l=c[d++],m=c[d++],n=c[d++],k=(k&7)<<18|(l&63)<<12|(m&63)<<6|n&63,k=k-65536;e.push((k>>10&1023)+55296,(k&1023)+56320)}8192<=e.length&&(f+=String.fromCharCode.apply(null,e),e.length=0)}f+=String.fromCharCode.apply(null,e);a.g=d;return f};
Fc=function(a){var b=Ac(a.g);a=a.g;if(0>b||a.g+b>a.o.length)a.C=!0,b=new window.Uint8Array(0);else{var c=a.o.subarray(a.g,a.g+b);a.g+=b;b=c}return b};
Aaa=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,""))};
g.Hc=function(a){var b;try{return na.JSON.parse(a)}catch(d){b=d}a=String(a);if(Aaa(a))try{var c=eval("("+a+")");b&&Gc("Invalid JSON: "+a,b);return c}catch(d){}throw Error("Invalid JSON string: "+a);};
Ic=function(a){var b;try{return na.JSON.parse(a)}catch(d){b=d}var c=eval("("+a+")");b&&Gc("Invalid JSON: "+a,b);return c};
g.Lc=function(a){return Jc(new Kc(void 0),a)};
Kc=function(a){this.g=a};
Jc=function(a,b){var c=[];Mc(a,b,c);return c.join("")};
Mc=function(a,b,c){if(null==b)c.push("null");else{if("object"==typeof b){if(g.qa(b)){var d=b;b=d.length;c.push("[");for(var e="",f=0;f<b;f++)c.push(e),e=d[f],Mc(a,a.g?a.g.call(d,String(f),e):e,c),e=",";c.push("]");return}if(b instanceof String||b instanceof Number||b instanceof Boolean)b=b.valueOf();else{c.push("{");f="";for(d in b)Object.prototype.hasOwnProperty.call(b,d)&&(e=b[d],"function"!=typeof e&&(c.push(f),Nc(d,c),c.push(":"),Mc(a,a.g?a.g.call(b,d,e):e,c),f=","));c.push("}");return}}switch(typeof b){case "string":Nc(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);}}};
Nc=function(a,b){b.push('"',a.replace(Baa,function(a){var b=Oc[a];b||(b="\\u"+(a.charCodeAt(0)|65536).toString(16).substr(1),Oc[a]=b);return b}),'"')};
Pc=function(){};
Sc=function(a,b,c,d){a.g=null;b||(b=[]);a.F=void 0;a.B=-1;a.o=b;a:{if(a.o.length){b=a.o.length-1;var e=a.o[b];if(e&&"object"==typeof e&&!g.qa(e)&&!(Qc&&e instanceof window.Uint8Array)){a.C=b-a.B;a.A=e;break a}}a.C=Number.MAX_VALUE}a.D={};if(c)for(b=0;b<c.length;b++)e=c[b],e<a.C?(e+=a.B,a.o[e]=a.o[e]||Rc):a.A[e]=a.A[e]||Rc;d&&d.length&&(0,g.H)(d,g.ya(Caa,a))};
Tc=function(a,b){if(b<a.C){var c=b+a.B,d=a.o[c];return d===Rc?a.o[c]=[]:d}d=a.A[b];return d===Rc?a.A[b]=[]:d};
Daa=function(a){if(null==a||a instanceof window.Uint8Array)return a;if(g.z(a))return tc(a);pa(a);return null};
Uc=function(a,b,c){b<a.C?a.o[b+a.B]=c:a.A[b]=c};
Caa=function(a,b){var c,d;(0,g.H)(b,function(b){var e=Tc(a,b);null!=e&&(c=b,d=e,Uc(a,b,void 0))});
return c?(Uc(a,c,d),c):0};
Vc=function(a,b,c){a.g||(a.g={});if(!a.g[c]){var d=Tc(a,c);d&&(a.g[c]=new b(d))}return a.g[c]};
Eaa=function(a){var b=Wc;a.g||(a.g={});if(!a.g[1]){for(var c=Tc(a,1),d=[],e=0;e<c.length;e++)d[e]=new b(c[e]);a.g[1]=d}b=a.g[1];b==Rc&&(b=a.g[1]=[]);return b};
Yc=function(a){if(a.g)for(var b in a.g){var c=a.g[b];if(g.qa(c))for(var d=0;d<c.length;d++)c[d]&&Xc(c[d]);else c&&Xc(c)}};
Xc=function(a){Yc(a);return a.o};
Zc=function(a){var b;if(g.qa(a)){for(var c=Array(a.length),d=0;d<a.length;d++)null!=(b=a[d])&&(c[d]="object"==typeof b?Zc(b):b);return c}if(Qc&&a instanceof window.Uint8Array)return new window.Uint8Array(a);c={};for(d in a)null!=(b=a[d])&&(c[d]="object"==typeof b?Zc(b):b);return c};
$c=function(a){Sc(this,a,null,null)};
bd=function(a){return Vc(a,ad,1)};
ad=function(a){Sc(this,a,null,null)};
dd=function(a){return Vc(a,cd,5)};
ed=function(a){Sc(this,a,null,Faa)};
fd=function(a){Sc(this,a,null,Gaa)};
gd=function(a){Sc(this,a,null,null)};
hd=function(a){Sc(this,a,null,null)};
id=function(a){Sc(this,a,null,null)};
jd=function(a){Sc(this,a,null,Haa)};
kd=function(a){Sc(this,a,null,null)};
ld=function(a){Sc(this,a,null,null)};
md=function(a){Sc(this,a,Iaa,null)};
Wc=function(a){Sc(this,a,null,null)};
cd=function(a){Sc(this,a,null,Jaa)};
od=function(){this.g="";this.o=nd};
pd=function(a){return a instanceof od&&a.constructor===od&&a.o===nd?a.g:"type_error:Const"};
qd=function(a){var b=new od;b.g=a;return b};
sd=function(){this.g="";this.o=rd};
ud=function(a){var b=new sd;b.g=a;return b};
vd=function(a,b){return b?a.replace(Kaa,""):a};
wd=function(a,b){for(var c=0,d=0,e=!1,f=vd(a,b).split(Laa),k=0;k<f.length;k++){var l=f[k];Maa.test(vd(l,void 0))?(c++,d++):Naa.test(l)?e=!0:Oaa.test(vd(l,void 0))?d++:Paa.test(l)&&(e=!0)}return 0==d?e?1:0:.4<c/d?-1:1};
yd=function(){this.g="";this.o=xd};
zd=function(a){if(a instanceof yd&&a.constructor===yd&&a.o===xd)return a.g;pa(a);return"type_error:TrustedResourceUrl"};
Ad=function(a){var b=new yd;b.g=a;return b};
Cd=function(){this.g="";this.o=Bd};
Dd=function(a){if(a instanceof Cd&&a.constructor===Cd&&a.o===Bd)return a.g;pa(a);return"type_error:SafeUrl"};
Gd=function(a){if(a instanceof Cd)return a;a=a.Sg?a.ig():String(a);Qaa.test(a)||(a="about:invalid#zClosurez");return Ed(a)};
Ed=function(a){var b=new Cd;b.g=a;return b};
g.Id=function(){this.g="";this.A=Hd;this.o=null};
g.Jd=function(a){if(a instanceof g.Id&&a.constructor===g.Id&&a.A===Hd)return a.g;pa(a);return"type_error:SafeHtml"};
Ld=function(a){if(a instanceof g.Id)return a;var b=null;a.Nq&&(b=a.Gi());a=Ha(a.Sg?a.ig():String(a));return Kd(a,b)};
Raa=function(a){function b(a){g.qa(a)?(0,g.H)(a,b):(a=Ld(a),d+=g.Jd(a),a=a.Gi(),0==c?c=a:0!=a&&c!=a&&(c=null))}
var c=0,d="";(0,g.H)(arguments,b);return Kd(d,c)};
Kd=function(a,b){var c=new g.Id;c.g=a;c.o=b;return c};
Nd=function(a,b,c){var d=null,e,f="";if(b)for(e in b){if(!Md.test(e))throw Error('Invalid attribute name "'+e+'".');var k=b[e];if(null!=k){var l,m=a;l=e;var n=k;if(n instanceof od)n=pd(n);else if("style"==l.toLowerCase()){k=void 0;m=n;if(!g.va(m))throw Error('The "style" attribute requires goog.html.SafeStyle or map of style properties, '+typeof m+" given: "+m);if(!(m instanceof sd)){n="";for(k in m){if(!/^[-_a-zA-Z0-9]+$/.test(k))throw Error("Name allows only [-_a-zA-Z0-9], got: "+k);var q=m[k];
if(null!=q){if(q instanceof od)q=pd(q);else if(Saa.test(q)){for(var r=!0,v=!0,x=0;x<q.length;x++){var B=q.charAt(x);"'"==B&&v?r=!r:'"'==B&&r&&(v=!v)}r&&v||(q="zClosurez")}else q="zClosurez";n+=k+":"+q+";"}}m=n?ud(n):Taa}m instanceof sd&&m.constructor===sd&&m.o===rd?k=m.g:(pa(m),k="type_error:SafeStyle");n=k}else{if(/^on/i.test(l))throw Error('Attribute "'+l+'" requires goog.string.Const value, "'+n+'" given.');if(l.toLowerCase()in Uaa)if(n instanceof yd)n=zd(n);else if(n instanceof Cd)n=Dd(n);else if(g.z(n))n=
Gd(n).ig();else throw Error('Attribute "'+l+'" on tag "'+m+'" requires goog.html.SafeUrl, goog.string.Const, or string, value "'+n+'" given.');}n.Sg&&(n=n.ig());l=l+'="'+Ha(String(n))+'"';f+=" "+l}}e="<"+a+f;null!=c?g.qa(c)||(c=[c]):c=[];!0===Vaa[a.toLowerCase()]?e+=">":(d=Raa(c),e+=">"+g.Jd(d)+"</"+a+">",d=d.Gi());(a=b&&b.dir)&&(/^(ltr|rtl|auto)$/i.test(a)?d=0:d=null);return Kd(e,d)};
Od=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.Pd=function(a,b){var c;c=b instanceof Cd?b:Gd(b);a.href=Dd(c)};
Qd=function(a,b){return Kd(b,null)};
g.Rd=function(a,b,c){return Math.min(Math.max(a,b),c)};
g.Sd=function(a,b){var c=a%b;return 0>c*b?c+b:c};
Td=function(a,b,c){return a+c*(b-a)};
Waa=function(a){return Ud(arguments,function(a,c){return a+c},0)};
Xaa=function(a){return Waa.apply(null,arguments)/arguments.length};
g.Vd=function(a,b){this.x=g.t(a)?a:0;this.y=g.t(b)?b:0};
Wd=function(a,b){return a==b?!0:a&&b?a.x==b.x&&a.y==b.y:!1};
g.Xd=function(a,b){return new g.Vd(a.x-b.x,a.y-b.y)};
g.Yd=function(a,b){this.width=a;this.height=b};
g.Zd=function(a,b){return a==b?!0:a&&b?a.width==b.width&&a.height==b.height:!1};
g.ce=function(a){return a?new $d(g.ae(a)):be||(be=new $d)};
g.de=function(a){return g.z(a)?window.document.getElementById(a):a};
g.fe=function(a,b){var c=b||window.document;return c.querySelectorAll&&c.querySelector?c.querySelectorAll("."+a):g.ee("*",a,b)};
g.K=function(a,b){var c=b||window.document,d=null;c.getElementsByClassName?d=c.getElementsByClassName(a)[0]:c.querySelectorAll&&c.querySelector?d=c.querySelector("."+a):d=g.ee("*",a,b)[0];return d||null};
g.ee=function(a,b,c){var d=window.document;c=c||d;a=a&&"*"!=a?String(a).toUpperCase():"";if(c.querySelectorAll&&c.querySelector&&(a||b))return c.querySelectorAll(a+(b?"."+b:""));if(b&&c.getElementsByClassName){c=c.getElementsByClassName(b);if(a){for(var d={},e=0,f=0,k;k=c[f];f++)a==k.nodeName&&(d[e++]=k);d.length=e;return d}return c}c=c.getElementsByTagName(a||"*");if(b){d={};for(f=e=0;k=c[f];f++)a=k.className,"function"==typeof a.split&&g.cb(a.split(/\s+/),b)&&(d[e++]=k);d.length=e;return d}return c};
g.he=function(a,b){g.Ib(b,function(b,d){b&&b.Sg&&(b=b.ig());"style"==d?a.style.cssText=b:"class"==d?a.className=b:"for"==d?a.htmlFor=b:ge.hasOwnProperty(d)?a.setAttribute(ge[d],b):g.Da(d,"aria-")||g.Da(d,"data-")?a.setAttribute(d,b):a[d]=b})};
g.je=function(a){a=a.document;a=g.ie(a)?a.documentElement:a.body;return new g.Yd(a.clientWidth,a.clientHeight)};
g.le=function(a){var b=ke(a);a=a.parentWindow||a.defaultView;return g.sc&&g.jc("10")&&a.pageYOffset!=b.scrollTop?new g.Vd(b.scrollLeft,b.scrollTop):new g.Vd(a.pageXOffset||b.scrollLeft,a.pageYOffset||b.scrollTop)};
ke=function(a){return a.scrollingElement?a.scrollingElement:!g.me&&g.ie(a)?a.documentElement:a.body||a.documentElement};
ne=function(a){return a?a.parentWindow||a.defaultView:window};
g.pe=function(a,b,c){return oe(window.document,arguments)};
oe=function(a,b){var c=String(b[0]),d=b[1];if(!Yaa&&d&&(d.name||d.type)){c=["<",c];d.name&&c.push(' name="',Ha(d.name),'"');if(d.type){c.push(' type="',Ha(d.type),'"');var e={};g.$b(e,d);delete e.type;d=e}c.push(">");c=c.join("")}c=a.createElement(c);d&&(g.z(d)?c.className=d:g.qa(d)?c.className=d.join(" "):g.he(c,d));2<b.length&&qe(a,c,b,2);return c};
qe=function(a,b,c,d){function e(c){c&&b.appendChild(g.z(c)?a.createTextNode(c):c)}
for(;d<c.length;d++){var f=c[d];!g.ra(f)||g.va(f)&&0<f.nodeType?e(f):(0,g.H)(Zaa(f)?g.nb(f):f,e)}};
g.re=function(a){return window.document.createElement(String(a))};
g.se=function(a){return window.document.createTextNode(String(a))};
g.ie=function(a){return"CSS1Compat"==a.compatMode};
g.te=function(a,b){a.appendChild(b)};
g.ue=function(a,b){qe(g.ae(a),a,arguments,1)};
g.ve=function(a){for(var b;b=a.firstChild;)a.removeChild(b)};
g.we=function(a,b){b.parentNode&&b.parentNode.insertBefore(a,b.nextSibling)};
xe=function(a,b,c){a.insertBefore(b,a.childNodes[c]||null)};
g.ye=function(a){return a&&a.parentNode?a.parentNode.removeChild(a):null};
g.ze=function(a,b){var c=b.parentNode;c&&c.replaceChild(a,b)};
g.Be=function(a){return $aa&&void 0!=a.children?a.children:(0,g.Ae)(a.childNodes,function(a){return 1==a.nodeType})};
g.De=function(a){return g.t(a.firstElementChild)?a.firstElementChild:Ce(a.firstChild)};
Ce=function(a){for(;a&&1!=a.nodeType;)a=a.nextSibling;return a};
g.Ee=function(a){var b;if(aba&&!(g.sc&&g.jc("9")&&!g.jc("10")&&na.SVGElement&&a instanceof na.SVGElement)&&(b=a.parentElement))return b;b=a.parentNode;return g.va(b)&&1==b.nodeType?b:null};
g.Fe=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.ae=function(a){return 9==a.nodeType?a:a.ownerDocument||a.document};
Ge=function(a){try{return a.contentWindow||(a.contentDocument?ne(a.contentDocument):null)}catch(b){}return null};
g.He=function(a,b){if("textContent"in a)a.textContent=b;else if(3==a.nodeType)a.data=b;else if(a.firstChild&&3==a.firstChild.nodeType){for(;a.lastChild!=a.firstChild;)a.removeChild(a.lastChild);a.firstChild.data=b}else g.ve(a),a.appendChild(g.ae(a).createTextNode(String(b)))};
Ie=function(a){if("outerHTML"in a)return a.outerHTML;var b=g.ae(a).createElement("DIV");b.appendChild(a.cloneNode(!0));return b.innerHTML};
g.Le=function(a){var b;if((b="A"==a.tagName||"INPUT"==a.tagName||"TEXTAREA"==a.tagName||"SELECT"==a.tagName||"BUTTON"==a.tagName?!a.disabled&&(!Je(a)||Ke(a)):Je(a)&&Ke(a))&&g.sc){var c;!g.ua(a.getBoundingClientRect)||g.sc&&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};
Je=function(a){return g.sc&&!g.jc("9")?(a=a.getAttributeNode("tabindex"),null!=a&&a.specified):a.hasAttribute("tabindex")};
Ke=function(a){a=a.tabIndex;return g.ta(a)&&0<=a&&32768>a};
Zaa=function(a){if(a&&"number"==typeof a.length){if(g.va(a))return"function"==typeof a.item||"string"==typeof a.item;if(g.ua(a))return"function"==typeof a.item}return!1};
g.Ne=function(a,b,c,d){if(!b&&!c)return null;var e=b?String(b).toUpperCase():null;return g.Me(a,function(a){return(!e||a.nodeName==e)&&(!c||g.z(a.className)&&g.cb(a.className.split(/\s+/),c))},!0,d)};
g.Oe=function(a,b){return g.Ne(a,null,b,void 0)};
g.Me=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.Pe=function(){var a=window.document;try{return a&&a.activeElement}catch(b){}return null};
$d=function(a){this.g=a||na.document||window.document};
g.Qe=function(a){a=a.g;return a.parentWindow||a.defaultView};
Re=function(a){for(var b=[],c=a=ne(a.ownerDocument);c!=a.top;c=c.parent)if(c.frameElement)b.push(c.frameElement);else break;return b};
g.M=function(){this.Za=this.Za;this.La=this.La};
g.N=function(a,b){g.Se(a,g.ya(g.Te,b))};
g.Se=function(a,b){a.Za?g.t(void 0)?b.call(void 0):b():(a.La||(a.La=[]),a.La.push(g.t(void 0)?(0,g.A)(b,void 0):b))};
g.Te=function(a){a&&"function"==typeof a.dispose&&a.dispose()};
g.Ue=function(a){for(var b=0,c=arguments.length;b<c;++b){var d=arguments[b];g.ra(d)?g.Ue.apply(null,d):g.Te(d)}};
g.Ve=function(a,b){this.type=a;this.currentTarget=this.target=b;this.o=!1;this.Zz=!0};
We=function(a){a.stopPropagation()};
Ye=function(a){return g.me?"webkit"+a:g.Xe?"o"+a.toLowerCase():a.toLowerCase()};
Ze=function(a,b){g.Ve.call(this,a?a.type:"");this.relatedTarget=this.currentTarget=this.target=null;this.button=this.screenY=this.screenX=this.clientY=this.clientX=this.C=this.B=0;this.key="";this.charCode=this.keyCode=0;this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1;this.g=this.state=null;a&&this.init(a,b)};
g.af=function(a){return!(!a||!a[g.$e])};
cba=function(a,b,c,d,e){this.listener=a;this.g=null;this.src=b;this.type=c;this.capture=!!d;this.yf=e;this.key=++bba;this.nj=this.Ll=!1};
bf=function(a){a.nj=!0;a.listener=null;a.g=null;a.src=null;a.yf=null};
cf=function(a){this.src=a;this.g={};this.o=0};
ef=function(a,b,c,d,e,f){var k=b.toString();b=a.g[k];b||(b=a.g[k]=[],a.o++);var l=df(b,c,e,f);-1<l?(a=b[l],d||(a.Ll=!1)):(a=new cba(c,a.src,k,!!e,f),a.Ll=d,b.push(a));return a};
ff=function(a,b){var c=b.type;if(!(c in a.g))return!1;var d=g.jb(a.g[c],b);d&&(bf(b),0==a.g[c].length&&(delete a.g[c],a.o--));return d};
g.gf=function(a){var b=0,c;for(c in a.g){for(var d=a.g[c],e=0;e<d.length;e++)++b,bf(d[e]);delete a.g[c];a.o--}};
hf=function(a,b,c,d,e){a=a.g[b.toString()];b=-1;a&&(b=df(a,c,d,e));return-1<b?a[b]:null};
jf=function(a,b){var c=g.t(b),d=c?b.toString():"",e=g.t(void 0);return Kb(a.g,function(a){for(var b=0;b<a.length;++b)if(!(c&&a[b].type!=d||e&&void 0!=a[b].capture))return!0;return!1})};
df=function(a,b,c,d){for(var e=0;e<a.length;++e){var f=a[e];if(!f.nj&&f.listener==b&&f.capture==!!c&&f.yf==d)return e}return-1};
g.kf=function(a,b,c,d,e){if(g.qa(b)){for(var f=0;f<b.length;f++)g.kf(a,b[f],c,d,e);return null}c=lf(c);return g.af(a)?a.T(b,c,d,e):mf(a,b,c,!1,d,e)};
mf=function(a,b,c,d,e,f){if(!b)throw Error("Invalid event type");var k=!!e,l=g.nf(a);l||(a[of]=l=new cf(a));c=ef(l,b,c,d,e,f);if(c.g)return c;d=dba();c.g=d;d.src=a;d.listener=c;if(a.addEventListener)a.addEventListener(b.toString(),d,k);else if(a.attachEvent)a.attachEvent(pf(b.toString()),d);else throw Error("addEventListener and attachEvent are unavailable.");qf++;return c};
dba=function(){var a=eba,b=rf?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};
sf=function(a,b,c,d,e){if(g.qa(b)){for(var f=0;f<b.length;f++)sf(a,b[f],c,d,e);return null}c=lf(c);return g.af(a)?ef(a.re,String(b),c,!0,d,e):mf(a,b,c,!0,d,e)};
g.tf=function(a,b,c,d,e){if(g.qa(b))for(var f=0;f<b.length;f++)g.tf(a,b[f],c,d,e);else c=lf(c),g.af(a)?a.Ba(b,c,d,e):a&&(a=g.nf(a))&&(b=hf(a,b,c,!!d,e))&&g.uf(b)};
g.uf=function(a){if(g.ta(a)||!a||a.nj)return!1;var b=a.src;if(g.af(b))return ff(b.re,a);var c=a.type,d=a.g;b.removeEventListener?b.removeEventListener(c,d,a.capture):b.detachEvent&&b.detachEvent(pf(c),d);qf--;(c=g.nf(b))?(ff(c,a),0==c.o&&(c.src=null,b[of]=null)):bf(a);return!0};
pf=function(a){return a in vf?vf[a]:vf[a]="on"+a};
xf=function(a,b,c,d){var e=!0;if(a=g.nf(a))if(b=a.g[b.toString()])for(b=b.concat(),a=0;a<b.length;a++){var f=b[a];f&&f.capture==c&&!f.nj&&(f=wf(f,d),e=e&&!1!==f)}return e};
wf=function(a,b){var c=a.listener,d=a.yf||a.src;a.Ll&&g.uf(a);return c.call(d,b)};
eba=function(a,b){if(a.nj)return!0;if(!rf){var c=b||g.w("window.event"),d=new Ze(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);for(var f=a.type,k=c.length-1;!d.o&&0<=k;k--){d.currentTarget=c[k];var l=xf(c[k],f,!0,d),e=e&&l}for(k=0;!d.o&&k<c.length;k++)d.currentTarget=c[k],l=xf(c[k],f,!1,d),e=e&&l}return e}return wf(a,new Ze(b,
this))};
g.nf=function(a){a=a[of];return a instanceof cf?a:null};
lf=function(a){if(g.ua(a))return a;a[yf]||(a[yf]=function(b){return a.handleEvent(b)});
return a[yf]};
g.zf=function(){g.M.call(this);this.re=new cf(this);this.oc=this;this.Pa=null};
Af=function(a,b,c,d){b=a.re.g[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.nj&&k.capture==c){var l=k.listener,m=k.yf||k.src;k.Ll&&ff(a.re,k);e=!1!==l.call(m,d)&&e}}return e&&0!=d.Zz};
Bf=function(a,b,c){this.C=c;this.A=a;this.B=b;this.o=0;this.g=null};
Cf=function(a,b){a.B(b);a.o<a.C&&(a.o++,b.next=a.g,a.g=b)};
Df=function(a){return function(){return a}};
fba=function(a){var b;b=b||0;return function(){return a.apply(this,Array.prototype.slice.call(arguments,0,b))}};
Ef=function(a){var b=!1,c;return function(){b||(c=a(),b=!0);return c}};
Ff=function(a){na.setTimeout(function(){throw a;},0)};
Hf=function(a,b){var c=a;b&&(c=(0,g.A)(a,b));!g.ua(na.setImmediate)||na.Window&&na.Window.prototype&&!Hb("Edge")&&na.Window.prototype.setImmediate==na.setImmediate?(Gf||(Gf=gba()),Gf(c)):na.setImmediate(c)};
gba=function(){var a=na.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.t(c.next)){c=c.next;var a=c.Ru;c.Ru=null;a()}};
return function(a){d.next={Ru: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){na.setTimeout(a,0)}};
If=function(){this.o=this.g=null};
Jf=function(){this.next=this.scope=this.g=null};
g.Of=function(a,b){Kf||hba();Lf||(Kf(),Lf=!0);var c=Mf,d=Nf.get();d.set(a,b);c.o?c.o.next=d:c.g=d;c.o=d};
hba=function(){if(-1!=String(na.Promise).indexOf("[native code]")){var a=na.Promise.resolve(void 0);Kf=function(){a.then(Pf)}}else Kf=function(){Hf(Pf)}};
Pf=function(){for(var a;a=Mf.remove();){try{a.g.call(a.scope)}catch(b){Ff(b)}Cf(Nf,a)}Lf=!1};
Qf=function(a){a.prototype.then=a.prototype.then;a.prototype.$goog_Thenable=!0};
Rf=function(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(b){return!1}};
g.Vf=function(a,b){this.g=0;this.F=void 0;this.B=this.o=this.A=null;this.C=this.D=!1;if(a!=g.y)try{var c=this;a.call(b,function(a){Uf(c,2,a)},function(a){Uf(c,3,a)})}catch(d){Uf(this,3,d)}};
Wf=function(){this.next=this.context=this.o=this.B=this.g=null;this.A=!1};
Yf=function(a,b,c){var d=Xf.get();d.B=a;d.o=b;d.context=c;return d};
Zf=function(a){if(a instanceof g.Vf)return a;var b=new g.Vf(g.y);Uf(b,2,a);return b};
$f=function(a){return new g.Vf(function(b,c){c(a)})};
g.bg=function(a,b,c){ag(a,b,c,null)||g.Of(g.ya(b,a))};
iba=function(a){return new g.Vf(function(b,c){a.length||b(void 0);for(var d=0,e;d<a.length;d++)e=a[d],g.bg(e,b,c)})};
kba=function(){var a,b,c=new g.Vf(function(c,e){a=c;b=e});
return new jba(c,a,b)};
lba=function(a,b){var c=Yf(b,b,void 0);c.A=!0;cg(a,c)};
g.eg=function(a,b){return dg(a,null,b,void 0)};
fg=function(a,b){if(0==a.g)if(a.A){var c=a.A;if(c.o){for(var d=0,e=null,f=null,k=c.o;k&&(k.A||(d++,k.g==a&&(e=k),!(e&&1<d)));k=k.next)e||(f=k);e&&(0==c.g&&1==d?fg(c,b):(f?(d=f,d.next==c.B&&(c.B=d),d.next=d.next.next):gg(c),hg(c,e,3,b)))}a.A=null}else Uf(a,3,b)};
cg=function(a,b){a.o||2!=a.g&&3!=a.g||ig(a);a.B?a.B.next=b:a.o=b;a.B=b};
dg=function(a,b,c,d){var e=Yf(null,null,null);e.g=new g.Vf(function(a,k){e.B=b?function(c){try{var e=b.call(d,c);a(e)}catch(n){k(n)}}:a;
e.o=c?function(b){try{var e=c.call(d,b);!g.t(e)&&b instanceof jg?k(b):a(e)}catch(n){k(n)}}:k});
e.g.A=a;cg(a,e);return e.g};
Uf=function(a,b,c){0==a.g&&(a===c&&(b=3,c=new TypeError("Promise cannot resolve to itself")),a.g=1,ag(c,a.H,a.J,a)||(a.F=c,a.g=b,a.A=null,ig(a),3!=b||c instanceof jg||mba(a,c)))};
ag=function(a,b,c,d){if(a instanceof g.Vf)return cg(a,Yf(b||g.y,c||null,d)),!0;if(Rf(a))return a.then(b,c,d),!0;if(g.va(a))try{var e=a.then;if(g.ua(e))return nba(a,e,b,c,d),!0}catch(f){return c.call(d,f),!0}return!1};
nba=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)}};
ig=function(a){a.D||(a.D=!0,g.Of(a.G,a))};
gg=function(a){var b=null;a.o&&(b=a.o,a.o=b.next,b.next=null);a.o||(a.B=null);return b};
hg=function(a,b,c,d){if(3==c&&b.o&&!b.A)for(;a&&a.C;a=a.A)a.C=!1;if(b.g)b.g.A=null,kg(b,c,d);else try{b.A?b.B.call(b.context):kg(b,c,d)}catch(e){lg.call(null,e)}Cf(Xf,b)};
kg=function(a,b,c){2==b?a.B.call(a.context,c):a.o&&a.o.call(a.context,c)};
mba=function(a,b){a.C=!0;g.Of(function(){a.C&&lg.call(null,b)})};
jg=function(a){Ca.call(this,a)};
jba=function(a,b,c){this.g=a;this.resolve=b;this.reject=c};
g.mg=function(a,b){g.zf.call(this);this.o=a||1;this.g=b||na;this.A=(0,g.A)(this.oG,this);this.B=(0,g.G)()};
ng=function(a,b){a.o=b;a.xe&&a.enabled?(a.stop(),a.start()):a.xe&&a.stop()};
g.og=function(a,b,c){if(g.ua(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:na.setTimeout(a,b||0)};
g.pg=function(a){na.clearTimeout(a)};
qg=function(){return Math.round((0,g.G)()/1E3)};
oba=function(a){var b;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:qg()};
pba=function(){this.o=-1};
rg=function(a){this.g=a||{cookie:""}};
sg=function(a){a=(a.g.cookie||"").split(";");for(var b=[],c=[],d,e,f=0;f<a.length;f++)e=Pa(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.tg=function(a,b,c,d,e,f,k){var l="";a&&(l+=a+":");c&&(l+="//",b&&(l+=b+"@"),l+=c,d&&(l+=":"+d));e&&(l+=e);f&&(l+="?"+f);k&&(l+="#"+k);return l};
g.ug=function(a){return a.match(qba)};
g.vg=function(a){return a?(0,window.decodeURI)(a):a};
g.wg=function(a){return g.vg(g.ug(a)[3]||null)};
g.xg=function(a){return Number(g.ug(a)[4]||null)||null};
yg=function(a,b){if(a)for(var c=a.split("&"),d=0;d<c.length;d++){var e=c[d].indexOf("="),f,k=null;0<=e?(f=c[d].substring(0,e),k=c[d].substring(e+1)):f=c[d];b(f,k?Ga(k):"")}};
zg=function(a){if(a[1]){var b=a[0],c=b.indexOf("#");0<=c&&(a.push(b.substr(c)),a[0]=b=b.substr(0,c));c=b.indexOf("?");0>c?a[1]="?":c==b.length-1&&(a[1]=void 0)}return a.join("")};
Ag=function(a,b,c){if(g.qa(b))for(var d=0;d<b.length;d++)Ag(a,String(b[d]),c);else null!=b&&c.push("&",a,""===b?"":"=",g.Fa(b))};
Bg=function(a,b,c){for(c=c||0;c<b.length;c+=2)Ag(b[c],b[c+1],a);return a};
Cg=function(a,b){for(var c in b)Ag(c,b[c],a);return a};
g.Dg=function(a){a=Cg([],a);a[0]="";return a.join("")};
Fg=function(a,b){return zg(2==arguments.length?Bg([a],arguments[1],0):Bg([a],arguments,1))};
g.Gg=function(a,b){return zg(Cg([a],b))};
Hg=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};
Jg=function(a,b){var c=a.search(Ig),d=Hg(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 Ga(a.substr(d,e-d))};
g.Kg=function(a,b){for(var c=a.search(Ig),d=0,e,f=[];0<=(e=Hg(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(rba,"$1")};
Lg=function(a,b,c){a=[g.Kg(a,b),"&",b];null!=c&&a.push("=",g.Fa(c));return zg(a)};
Mg=function(){this.g={};return this};
Ng=function(a,b){a.g.eb=Vb(a.g,"eb",0)|b};
g.Og=function(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d};
Pg=function(a,b,c){b instanceof g.Vd?(a.left+=b.x,a.right+=b.x,a.top+=b.y,a.bottom+=b.y):(a.left+=b,a.right+=b,g.ta(c)&&(a.top+=c,a.bottom+=c));return a};
g.Qg=function(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d};
g.Rg=function(a){return new g.Og(a.top,a.left+a.width,a.top+a.height,a.left)};
g.Sg=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.Tg=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.Ug=function(a){return new g.Yd(a.width,a.height)};
g.Vg=function(a){return new g.Vd(a.left,a.top)};
sba=function(){this.g={};this.o=0};
Wg=function(a,b){this.C=a;this.A=!0;this.g=b};
Xg=function(a,b){Wg.call(this,String(a),b);this.B=a;this.g=!!b};
Yg=function(a,b){Wg.call(this,a,b)};
Zg=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 Yg("",new g.Qg(c,b,Number(a[3])-c,Number(a[2])-b))}return new Yg("",new g.Qg(0,0,0,0))};
ah=function(){$g||($g=new sba);return $g};
bh=function(a,b){a.g[b.C]=b};
g.dh=function(a,b,c){if(g.z(b))(b=ch(a,b))&&(a.style[b]=c);else for(var d in b){c=a;var e=b[d],f=ch(c,d);f&&(c.style[f]=e)}};
ch=function(a,b){var c=eh[b];if(!c){var d=Va(b),c=d;void 0===a.style[d]&&(d=(g.me?"Webkit":g.fh?"Moz":g.sc?"ms":g.Xe?"O":null)+raa(d),void 0!==a.style[d]&&(c=d));eh[b]=c}return c};
gh=function(a,b){var c=a.style[Va(b)];return"undefined"!==typeof c?c:a.style[ch(a,b)]||""};
g.hh=function(a,b){var c=g.ae(a);return c.defaultView&&c.defaultView.getComputedStyle&&(c=c.defaultView.getComputedStyle(a,null))?c[b]||c.getPropertyValue(b)||"":""};
g.ih=function(a,b){return g.hh(a,b)||(a.currentStyle?a.currentStyle[b]:null)||a.style&&a.style[b]};
g.kh=function(a,b,c){var d;b instanceof g.Vd?(d=b.x,b=b.y):(d=b,b=c);a.style.left=jh(d,!1);a.style.top=jh(b,!1)};
lh=function(a){return new g.Vd(a.offsetLeft,a.offsetTop)};
mh=function(a){var b;try{b=a.getBoundingClientRect()}catch(c){return{left:0,top:0,right:0,bottom:0}}g.sc&&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.nh=function(a){if(g.sc&&!g.kc(8))return a.offsetParent;var b=g.ae(a),c=g.ih(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.ih(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.ph=function(a){for(var b=new g.Og(0,window.Infinity,window.Infinity,0),c=g.ce(a),d=c.g.body,e=c.g.documentElement,f=ke(c.g);a=g.nh(a);)if(!(g.sc&&0==a.clientWidth||g.me&&0==a.clientHeight&&a==d)&&a!=d&&a!=e&&"visible"!=g.ih(a,"overflow")){var k=g.oh(a),l=new g.Vd(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.je(g.Qe(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.oh=function(a){var b=g.ae(a),c=new g.Vd(0,0),d;d=b?g.ae(b):window.document;d=!g.sc||g.kc(9)||g.ie(g.ce(d).g)?d.documentElement:d.body;if(a==d)return c;a=mh(a);b=g.le(g.ce(b).g);c.x=a.left+b.x;c.y=a.top+b.y;return c};
g.rh=function(a,b){var c=new g.Vd(0,0),d=ne(g.ae(a));if(!gc(d,"parent"))return c;var e=a;do{var f=d==b?g.oh(e):qh(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.th=function(a,b){var c=g.sh(a),d=g.sh(b);return new g.Vd(c.x-d.x,c.y-d.y)};
qh=function(a){a=mh(a);return new g.Vd(a.left,a.top)};
g.sh=function(a){if(1==a.nodeType)return qh(a);a=a.changedTouches?a.changedTouches[0]:a;return new g.Vd(a.clientX,a.clientY)};
g.vh=function(a,b,c){if(b instanceof g.Yd)c=b.height,b=b.width;else if(void 0==c)throw Error("missing height argument");g.uh(a,b);a.style.height=jh(c,!0)};
jh=function(a,b){"number"==typeof a&&(a=(b?Math.round(a):a)+"px");return a};
g.uh=function(a,b){a.style.width=jh(b,!0)};
g.wh=function(a){var b=tba;if("none"!=g.ih(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};
tba=function(a){var b=a.offsetWidth,c=a.offsetHeight,d=g.me&&!b&&!c;return g.t(b)&&!d||!a.getBoundingClientRect?new g.Yd(b,c):(a=mh(a),new g.Yd(a.right-a.left,a.bottom-a.top))};
g.xh=function(a){var b=g.oh(a);a=g.wh(a);return new g.Qg(b.x,b.y,a.width,a.height)};
g.yh=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.zh=function(a){return"none"!=a.style.display};
Ah=function(a){var b=new g.Qg(-Number.MAX_VALUE/2,-Number.MAX_VALUE/2,Number.MAX_VALUE,Number.MAX_VALUE),c=new g.Qg(0,0,0,0);if(!a||0==a.length)return c;for(var d=0;d<a.length;d++)if(!g.Tg(b,a[d]))return c;return b};
Bh=function(a,b){var c=a.getBoundingClientRect(),d=g.rh(a,b);return new g.Qg(Math.round(d.x),Math.round(d.y),Math.round(c.right-c.left),Math.round(c.bottom-c.top))};
Ch=function(a,b,c){if(b&&c){var d;a:{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.Qg(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;bh(a,new Wg("vp",d));d&&0<d?(e=g.Rg(b),f=g.Rg(c),e=e.top>=f.top&&e.top<f.bottom):e=!1;bh(a,new Xg(512,e));d&&0<d?(e=g.Rg(b),f=g.Rg(c),e=e.bottom<=f.bottom&&e.bottom>f.top):e=!1;bh(a,new Xg(1024,
e));d&&0<d?(e=g.Rg(b),f=g.Rg(c),e=e.left>=f.left&&e.left<f.right):e=!1;bh(a,new Xg(2048,e));d&&0<d?(b=g.Rg(b),c=g.Rg(c),c=b.right<=c.right&&b.right>c.left):c=!1;bh(a,new Xg(4096,c))}};
uba=function(a,b){var c=0;g.Pb(ne(),"ima","video","client","tagged")&&(c=1);var d;d=null;a&&(d=a());if(d){var e=d;d=ah();d.g={};var f=new Xg(32,!0);f.A=!1;bh(d,f);f=ne().document;f=f.webkitVisibilityState||f.mozVisibilityState||f.visibilityState||f.msVisibilityState||"";bh(d,new Xg(64,"hidden"!=f.toLowerCase().substring(f.length-6)?!0:!1));var k;try{var l;var m=ne().top;try{l=!!m.location.href||""===m.location.href}catch(r){l=!1}if(l){var n=Re(e);k=n&&0!=n.length?"1":"0"}else k="2"}catch(r){k="2"}bh(d,
new Xg(256,"2"==k));bh(d,new Xg(128,"1"==k));n=l=ne().top;"2"==k&&(n=ne());m=Bh(e,n);bh(d,new Yg("er",m));var q;try{q=n.document&&!n.document.body?null:g.je(n||window)}catch(r){q=null}q?(n=g.le(g.ce(n.document).g),bh(d,new Xg(16384,!!n)),q=n?new g.Qg(n.x,n.y,q.width,q.height):null):q=null;bh(d,new Yg("vi",q));if(q&&"1"==k){k=Re(e);e=[];for(n=0;n<k.length;n++)(f=Bh(k[n],l))&&e.push(f);e.push(q);q=Ah(e)}Ch(d,m,q);d.o&&(k=qg()-d.o,bh(d,new Wg("ts",k)));d.o=qg()}else d=ah(),d.g={},d.o=qg(),bh(d,new Xg(32,
!1));this.A=d;this.g=new Mg;this.g.set("ve",4);c&&Ng(this.g,1);g.Pb(ne(),"ima","video","client","crossdomainTag")&&Ng(this.g,4);g.Pb(ne(),"ima","video","client","sdkTag")&&Ng(this.g,8);g.Pb(ne(),"ima","video","client","jsTag")&&Ng(this.g,2);b&&Vb(b,"fullscreen",!1)&&Ng(this.g,16);this.o=d=null;if(c&&(c=g.Pb(ne(),"ima","video","client"),c.getEData)){this.o=c.getEData();if(c=g.Pb(ne(),"ima","video","client","getLastSnapshotFromTop"))if(k=c())this.o.extendWithDataFromTopIframe(k.tagstamp,k.playstamp,
k.lactstamp),c=this.A,d=k.er,k=k.vi,d&&k&&(d=Zg(d).getValue(),k=Zg(k).getValue(),e=null,Vb(c.g,"er",null)&&(e=Vb(c.g,"er",null).getValue(),e.top+=d.top,e.left+=d.left,bh(c,new Yg("er",e))),Vb(c.g,"vi",null)&&(q=Vb(c.g,"vi",null).getValue(),q.top+=d.top,q.left+=d.left,l=[],l.push(q),l.push(d),l.push(k),d=Ah(l),Ch(c,e,d),bh(c,new Yg("vi",k))));a:{if(this.o){if(this.o.getTagLoadTimestamp){d=this.o.getTagLoadTimestamp();break a}if(this.o.getTimeSinceTagLoadSeconds){d=this.o.getTimeSinceTagLoadSeconds();
break a}}d=null}}this.g.set("td",qg()-oba(d))};
vba=function(a,b){try{var c=new uba(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.o){var n=c.o.serialize();n&&d.push(n)}var q,r=c.A;f=e;k=[];f||(f=0);for(var v in r.g){var x=r.g[v];if(x instanceof Xg)x.getValue()&&(f|=x.B);else{var B,F=r.g[v];(B=F.A?F.o():"")&&k.push(v+B)}}k.push("eb"+String(f));(q=k.join("_"))&&d.push(q);c.g.set("eb",e);return d.join("_")}catch(J){return"tle;"+Ia(J.name,12)+";"+Ia(J.message,40)}};
g.Dh=function(){var a=window.navigator.userAgent.match(/Chrome\/([0-9]+)/);return a?(0,window.parseInt)(a[1],10):0};
Eh=function(a){return!!window.document.currentScript&&(-1!=window.document.currentScript.src.indexOf("?"+a)||-1!=window.document.currentScript.src.indexOf("&"+a))};
g.Fh=function(){return"function"==typeof window.__onGCastApiAvailable?window.__onGCastApiAvailable:null};
wba=function(a,b){var c=new window.XMLHttpRequest;c.onreadystatechange=function(){4==c.readyState&&200==c.status&&b(!0)};
c.onerror=function(){b(!1)};
try{c.open("GET",a,!0),c.send()}catch(d){b(!1)}};
g.Lh=function(a){if(a>=Gh.length)g.Hh();else{var b=Gh[a],c="chrome-extension://"+b+g.Ih;0<=Jh.indexOf(b)?wba(c,function(d){d?(window.chrome.cast=window.chrome.cast||{},window.chrome.cast.extensionId=b,g.Kh(c,g.Hh)):g.Lh(a+1)}):g.Kh(c,function(){g.Lh(a+1)})}};
g.Kh=function(a,b,c){var d=window.document.createElement("script");d.onerror=b;c&&(d.onload=c);d.src=a;(window.document.head||window.document.documentElement).appendChild(d)};
g.Hh=function(){var a=g.Fh();a&&a(!1,"No cast extension found")};
Mh=function(a,b,c){this.type=a;this.label=b;this.od=c};
Nh=function(a,b){return new Mh(a,1,b)};
Oh=function(a){return new Mh("m",3,a)};
Ph=function(a){return Nh("m",a)};
Qh=function(a,b,c,d){if(d)c=a+("&"+b+"="+c);else{var e="&"+b+"=",f=a.indexOf(e);0>f?c=a+e+c:(f+=e.length,e=a.indexOf("&",f),c=0<=e?a.substring(0,f)+c+a.substring(e):a.substring(0,f)+c)}return 2E3<c.length?g.t(void 0)?Qh(a,b,void 0,d):a:c};
Rh=function(a){try{return!!a&&null!=a.location.href&&gc(a,"foo")}catch(b){return!1}};
Sh=function(a,b){for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&b.call(void 0,a[c],c,a)};
xba=function(a){var b=0;Sh(a,function(){b++});
return b};
yba=function(){var a=na;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=Th;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""};
Vh=function(a,b,c,d){a.addEventListener?a.addEventListener(b,c,Uh?d:d?d.capture||!1:!1):a.attachEvent&&a.attachEvent("on"+b,c)};
Wh=function(a,b,c){a.removeEventListener?a.removeEventListener(b,c,Uh?void 0:!1):a.detachEvent&&a.detachEvent("on"+b,c)};
Xh=function(a){a=a||na;var b=a.context;if(!b)try{b=a.parent.context}catch(c){}try{if(b&&"pageViewId"in b&&"canonicalUrl"in b)return b}catch(c){}return null};
Yh=function(a,b,c,d,e){this.D=c||4E3;this.A=a||"&";this.F=b||",$";this.B=g.t(d)?d:"trn";this.H=e||null;this.C=!1;this.o={};this.G=0;this.g=[]};
Zh=function(a,b){var c={};c[a]=b;return[c]};
ai=function(a,b,c,d,e){var f=[];Sh(a,function(a,l){var k=$h(a,b,c,d,e);k&&f.push(l+"="+k)});
return f.join(b)};
$h=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($h(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)(ai(a,b,c,d,e+1)):"...";return(0,window.encodeURIComponent)(String(a))};
bi=function(a,b,c,d){a.g.push(b);a.o[b]=Zh(c,d)};
ci=function(a,b,c){var d=a.G++;b=Zh(b,c);a.g.push(d);a.o[d]=b};
di=function(a,b,c,d){b=b+"//"+c+d;var e=Aba(a)-d.length-0;if(0>e)return"";a.g.sort(function(a,b){return a-b});
d=null;c="";for(var f=0;f<a.g.length;f++)for(var k=a.g[f],l=a.o[k],m=0;m<l.length;m++){if(!e){d=null==d?k:d;break}var n=ai(l[m],a.A,a.F);if(n){n=c+n;if(e>=n.length){e-=n.length;b+=n;c=a.A;break}else a.C&&(c=e,n[c-1]==a.A&&--c,b+=n.substr(0,c),c=a.A,e=0);d=null==d?k:d}}f="";a.B&&null!=d&&(f=c+a.B+"="+(a.H||d));return b+f+""};
Aba=function(a){if(!a.B)return a.D;var b=1,c;for(c in a.o)b=c.length>b?c.length:b;return a.D-a.B.length-b-a.A.length-1};
fi=function(a,b,c,d){if(Math.random()<(d||a.g))try{var e;c instanceof Yh?e=c:(e=new Yh,Sh(c,function(a,b){ci(e,b,a)}));
var f=di(e,a.B,a.o,a.A+b+"&");f&&ei(na,f)}catch(k){}};
ei=function(a,b,c){a.google_image_requests||(a.google_image_requests=[]);var d=a.document.createElement("img");if(c){var e=function(a){c(a);Wh(d,"load",e);Wh(d,"error",e)};
Vh(d,"load",e);Vh(d,"error",e)}d.src=b;a.google_image_requests.push(d)};
gi=function(a){a.u_tz=-(new Date).getTimezoneOffset();var b;try{b=P.history.length}catch(c){b=0}a.u_his=b;if(b=!!P.navigator)b="unknown"!==typeof P.navigator.javaEnabled;a.u_java=b&&!!P.navigator.javaEnabled&&P.navigator.javaEnabled();P.screen&&(a.u_h=P.screen.height,a.u_w=P.screen.width,a.u_ah=P.screen.availHeight,a.u_aw=P.screen.availWidth,a.u_cd=P.screen.colorDepth);P.navigator&&P.navigator.plugins&&(a.u_nplug=P.navigator.plugins.length);P.navigator&&P.navigator.mimeTypes&&(a.u_nmime=P.navigator.mimeTypes.length)};
ki=function(){if(hi&&!Rh(ii)){var a="."+ji.domain;try{for(;2<a.split(".").length&&!Rh(ii);)ji.domain=a=a.substr(a.indexOf(".")+1),ii=window.parent}catch(b){}Rh(ii)||(ii=window)}return ii};
mi=function(){var a=window.event||li;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};
ni=function(){return{visible:1,hidden:2,prerender:3,preview:4}[ji.webkitVisibilityState||ji.mozVisibilityState||ji.visibilityState||""]||0};
oi=function(){var a;ji.mozVisibilityState?a="mozvisibilitychange":ji.webkitVisibilityState?a="webkitvisibilitychange":ji.visibilityState&&(a="visibilitychange");return a};
ri=function(){var a=P&&P.document;pi.e=-1;pi.i=6;pi.n=7;pi.t=8;if(!qi){var b=[];Sh(pi,function(a,c){b[a+1]=c});
var c=b.join("");qi=(c=a&&a[c])&&(0,g.A)(c,a)}return qi};
si=function(a){a=a.match(/[\d]+/g);if(!a)return"";a.length=3;return a.join(".")};
ti=function(a){return(a=a.exec(g.Gb))?a[1]:""};
ui=function(a){return 0<=g.Ra(Cba,a)};
yi=function(){return vi&&wi&&ui("6.0.1")&&0<=g.Ra(xi,"10.1")?!0:!1};
Bi=function(a){a=a||!1;var b=zi&&0<=g.Ra(Ai,9),c=wi&&g.jc(601);return!a&&(b||c)};
Ci=function(){this.g=0;this.C=!1;this.o=-1;this.D=0;this.A=!1};
Dba=function(a,b){this.g=a;this.o=b};
Di=function(a,b,c){this.url=a;this.Os=b;this.jx=!!c;this.depth=g.ta(void 0)?void 0:null};
Fi=function(a){a=a?a:Ei();for(var b=new Di(na.location.href,na,!1),c=a.length-1,d=c;0<=d;--d){var e=a[d];if(e.url&&!e.jx){b=e;break}}d=null;e=a.length&&a[c].url;0!=b.depth&&e&&(d=a[c]);return new Dba(b,d)};
Ei=function(){var a=na,b=[],c,d=null;do{var e=a;Rh(e)?(c=e.location.href,d=e.document&&e.document.referrer||null):(c=d,d=null);b.push(new Di(c||"",e));try{a=e.parent}catch(f){a=null}}while(a&&e!=a);a=0;for(e=b.length-1;a<=e;++a)b[a].depth=e-a;e=na;if(e.location&&e.location.ancestorOrigins&&e.location.ancestorOrigins.length==b.length-1)for(a=1;a<b.length;++a)c=b[a],c.url||(c.url=e.location.ancestorOrigins[a-1]||"",c.jx=!0);return b};
Gi=function(a,b){var c=a||P;null!==c&&c.top!=c&&(c=c.top);try{return c.document&&!c.document.body?new g.Yd(-1,-1):b?(new g.Yd(c.innerWidth,c.innerHeight)).round():g.je(c||window).round()}catch(d){return new g.Yd(-12245933,-12245933)}};
Mi=function(a){var b=0<=Hi?Ii()-Hi:-1,c=Ji?Ii()-Ki:-1,d=0<=Li?Ii()-Li:-1,e;if(79463068==a)return 500;if(947190538==a)a=[4E3],e=[250,1E3];else if(947190541==a)a=[4E3],e=[100,1E3];else{if(947190542==a)return 100;if(79463069==a)return 200;a=[2E3,4E3];e=[250,500,1E3]}var f=b;-1!=c&&c<b&&(f=c);for(var k,b=0;b<a.length;++b)if(f<a[b]){k=e[b];break}void 0===k&&(k=e[a.length]);return-1!=d&&1500<d&&4E3>d?500:k};
Ii=function(){return(new Date).getTime()-Eba};
Ni=function(){var a=g.pe("DIV");a.style.cssText="position:relative;left:0px;top:0px;width:0;height:0;";return a};
Gba=function(a){return Oi(a,function(a,c){return!(!gc(c,"style")||!c.style||"none"!==gh(c,"display"))},function(a){return a},!1)?!0:Fba(a)};
Fba=function(a){var b=!g.sc||g.jc(8);return Oi(a,function(a,d){var c=gc(d,"style")&&d.style&&gh(d,"visibility");return{hidden:"hidden"===c,visible:b&&"visible"===c}},function(a){return a.hidden||a.visible},{hidden:!1,
visible:!1}).hidden};
Oi=function(a,b,c,d){if(!a)return d;d=Pi(a,b,c,d);if(!d.done)try{var e=g.ae(a),f=e&&ne(e);return Oi(f&&f.frameElement,b,c,d.value)}catch(k){}return d.value};
Pi=function(a,b,c,d){if(!a)return{value:d,done:!1};d=b(d,a);var e=c(d,a);return!e&&gc(a,"parentElement")?Pi(g.Ee(a),b,c,d):{done:e,value:d}};
Qi=function(a){return new g.Og(a.top,a.right,a.bottom,a.left)};
Ri=function(a){return null!=a&&0<=a&&1>=a};
Si=function(){Ci.call(this);this.B=!1;this.volume=void 0;this.paused=!1};
Ti=function(a){return Ri(a.volume)&&.1<=a.volume};
Ui=function(){this.ra=[0,0,0,0,0];this.A=[0,0,0,0,0];this.La=[0,0,0,0,0];this.L=this.sa=0;this.ka=this.C=-1;this.va=1E3};
Vi=function(a,b,c){for(;0<=b&&4>=b;b++)a[b]+=c};
Wi=function(a){var b=-1;1<=a?b=0:.75<=a?b=1:.5<=a?b=2:.3<=a?b=3:0<a&&(b=4);return b};
Xi=function(a,b,c,d){this.label=a;this.type=b;this.value=c;this.duration=void 0===d?0:d;this.uniqueId=this.label+"_"+this.type+"_"+Math.random()};
Yi=function(a,b){this.events=[];this.g=b||na;var c=null;b&&(b.google_js_reporting_queue=b.google_js_reporting_queue||[],this.events=b.google_js_reporting_queue,c=b.g);this.o=null!=c?c:Math.random()<a};
Zi=function(){var a=na.performance;return a&&a.now?a.now():(0,g.G)()};
$i=function(a,b,c,d){this.B=a;this.D=b;this.A=c;this.C=this.o;this.g=void 0===d?null:d};
bj=function(a,b,c,d,e){var f,k;try{a.g&&a.g.o?(k=a.g.start(b.toString(),3),f=c(),a.g.end(k)):f=c()}catch(m){c=a.A;try{a.g&&k&&a.g.dv(k);var l=aj(m);c=(e||a.C).call(a,b,l,void 0,d)}catch(n){a.o(217,n)}if(!c)throw m;}return f};
dj=function(a,b,c,d){var e=cj;return function(f){for(var k=[],l=0;l<arguments.length;++l)k[l-0]=arguments[l];return bj(e,a,function(){return b.apply(c,k)},d,void 0)}};
aj=function(a){return new fj(gj(a),a.fileName,a.lineNumber)};
gj=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};
fj=function(a,b,c){this.message=a;this.fileName=b||"";this.lineNumber=c||-1};
hj=function(a,b){return bj(cj,a,b,void 0,Hba)};
ij=function(a,b,c,d){return dj(a,b,c,d)};
jj=function(a,b){cj.o(a,b,void 0,void 0)};
kj=function(a,b,c,d){c=dj(d,c,void 0,void 0);Vh(a,b,c,{capture:void 0});return c};
lj=function(a,b){this.A=null;this.D=a;this.H=b||1;this.g="u"};
mj=function(a,b){var c=b.right-b.left,d=b.bottom-b.top,e=Math.floor(c/2),f=Math.floor(d/2);switch(a.H){case 4:return a.D?(e=Math.floor(.3*c),f=Math.floor(.3*d),[new g.Vd(e,f),new g.Vd(c-e,f),new g.Vd(e,d-f),new g.Vd(c-e,d-f)]):[new g.Vd(e,0),new g.Vd(0,f),new g.Vd(e,d-1),new g.Vd(c-1,f)];case 3:return[new g.Vd(c-1,0),new g.Vd(e,f),new g.Vd(0,d-1)];default:return[new g.Vd(e,f)]}};
nj=function(a,b){var c;try{c=b||a.A.getBoundingClientRect()}catch(e){c=new g.Og(0,0,0,0)}var d=mj(a,c);(0,g.H)(d,function(a){a.x+=c.left;a.y+=c.top});
return d};
oj=function(a,b){lj.call(this,a,b);this.o=[];this.G=!1;this.B=-1;this.C=this.F=0};
pj=function(a,b,c){this.snapshot=a;this.o=b;this.g=c};
Iba=function(a,b,c){if(!(b&&b.getBoundingClientRect&&0<=g.Ra(xi,"11")&&c)||g.sc&&9>ic||0<a.o.length)return!1;try{var d=b.getBoundingClientRect()}catch(n){return!1}var e="DIV"==b.tagName||"INS"==b.tagName,f=g.ae(b),k=[];if(e){var l=Ni(),d=mj(a,d);(0,g.H)(d,function(a,b){var d=new qj("e",f,c,String(b));this.o.push(d);k.push((0,g.A)(d.G,d,l,a))},a);
xe(b,l,0)}else d=nj(a,d),(0,g.H)(d,function(a,d){var e=new qj("e",f,c,String(d));this.o.push(e);k.push((0,g.A)(e.F,e,b,a))},a);
var m=!0;(0,g.H)(k,function(a){m=m&&a()});
m?(a.g="l",a.A=b,a.G=!e):((0,g.H)(a.o,function(a){a.remove()}),a.o=[]);
return m};
Jba=function(a){if(a.A&&a.G){var b=nj(a);(0,g.H)(b,function(a,b){this.o[b]&&rj(this.o[b],a)},a)}};
sj=function(a){(0,g.H)(a.o,function(a){a.remove()});
a.o=[];a.g="d"};
Oba=function(a){var b=(0,g.G)(),c=a.F?b-a.F:0,d=-1,e=(0,g.I)(a.o,function(a){return tj(a,b)});
4==a.o.length?d=a.D?Kba(e):Lba(e):3==a.o.length?d=Mba(e):1==a.o.length&&(d=[-1,0,1,2,3,5][tj(a.o[0],b)+1]);a.C=d==a.B?a.C+c:0;c=new pj(d,a.B,c);a.B=d;a.F=b;Nba(a,d);Jba(a);return c};
vj=function(a){var b=Db(g.Lb(uj));(0,g.H)(a,function(a){0<=a&&++b[a]});
return b};
Lba=function(a){a=vj(a);return 4==a[4]?6:3<=a[4]?5:0<a[4]?4:4==a[2]?2:4==a[1]?1:4==a[0]?0:3};
Mba=function(a){var b=vj(a);return 4==a[0]&&4==a[2]?6:4==a[1]?5:0<b[4]?4:3==b[2]?2:3==b[1]?1:3==b[0]?0:3};
Kba=function(a){a=vj(a);return 3<=a[4]?5:2==a[4]?8:0<a[4]?7:4==a[2]?2:4==a[1]?1:4==a[0]?0:3};
Nba=function(a,b){if(0==b&&wj(a))a.g="n";else switch(b){case -1:a.g="d";break;case 0:a.g="l";break;case 1:a.g="f";break;case 2:a.g="c";break;case 3:case 4:case 5:case 6:a.g="r"}};
wj=function(a){return"n"==a.g?!0:"l"==a.g&&3E3<=a.C};
qj=function(a,b,c,d){this.g=null;this.B=a;this.za="e"==a?String(c)+"~"+String(d):"";this.o=[];this.A=-1;this.D=0;this.C=Db(g.Lb(Pba));this.J=Db(g.Lb(uj));"e"==this.B&&(xj[this.za]=(0,g.A)(this.H,this));g.sc?(a=b.createElement("div"),a.innerHTML='<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" style="opacity:0;-ms-filter:\'progid:DXImageTransform.Microsoft.Alpha(opacity=0)\';filter:alpha(opacity=0)"><param name="movie" value="'+yj(this,!0)+'"></param><param name="allowscriptaccess" value="always"></param><param name="wmode" value="transparent"></param></object>',
a=a.firstChild,a.id=String(Math.random())):a=Qba(this,b);a.width=1;a.height=1;a.style.zIndex=-999999;this.g=a};
Qba=function(a,b){function c(a,c,d){var e=b.createElement("param");e.name=c;e.value=d;a.appendChild(e)}
var d=yj(a),e=b.createElement("object");e.type="application/x-shockwave-flash";e.data=d;c(e,"movie",d);c(e,"allowscriptaccess","always");c(e,"wmode","opaque");e.style.visibility="s"==a.B?"":"hidden";e.style.opacity=0;return e};
yj=function(a,b){var c=Fg("//pagead2.googlesyndication.com/osd/hbe.swf","id",a.za);"s"==a.B&&(c="//pagead2.googlesyndication.com/osd/hbts.swf");b&&(c=Fg(c,"delay","1"));return c};
rj=function(a,b){a.g&&!Wd(b,lh(a.g))&&g.kh(a.g,b)};
tj=function(a,b){if("e"==a.B){var c=null;try{c=a.g.it()}catch(f){}null===c?(c=0,0<a.A&&(c=2)):c=c?3:4;++a.J[c+1];a.A=c}else{var d=Number(b),e=zj(a);Rba(a,e,d);c=a.o[a.o.length-1];if(null===e){if(e=d=0,0<a.A||g.ta(c.Vn))e=d=2}else null===c.Vn||c.timeMs>=d?(d=10<=e?4:0,e=0):e>c.Vn?(c=(e-c.Vn)/(d-c.timeMs)*1E3,d=10<=c?4:3,c=0==c?1:1>c?3:4>c?4:23>c?6:26>c?8:9,6==a.D&&6==c&&(c=7),e=c):e=d=1;6==a.D&&(--a.C[6],4==e||8==e?++a.C[5]:++a.C[7]);++a.C[e];a.A=d;a.D=e}return a.A};
zj=function(a){var b=null;try{b=a.g.fc()}catch(c){}return b};
Rba=function(a,b,c){var d=c-1E3,e=a.o.length;(0,g.H)(a.o,function(a,b){a.timeMs<=d&&(e=Math.min(e,b+1))});
var f=a.o.length-e;0<f&&a.o.splice(e,f);a.o.unshift({Vn:b,timeMs:c})};
Aj=function(){this.D=!0;this.o=new qj("s",ji);this.C=!1;this.H=this.F=this.S=this.g=this.B=this.G=this.L=this.M=this.N=this.A=this.J=null};
Bj=function(a,b){b!==a.g&&(a.g=b,a.N(b))};
Cj=function(a){var b=zj(a.o);null===a.S&&null!==b&&null!==a.F&&(a.S=(0,g.G)()-a.F);return b};
Dj=function(a){var b=a.J.getBoundingClientRect(),c;c=null!=a.L?a.L.clone():new g.Vd(Math.floor((b.right-b.left)/2),Math.floor((b.bottom-b.top)/2));a.C&&(c.x+=b.left,c.y+=b.top);return c};
Ej=function(a){a.C&&(a.M=Dj(a));rj(a.o,a.M);a.G=P.setTimeout(ij(146,(0,g.A)(a.ba,a)),125)};
Sba=function(a){if(a.D){var b=(0,g.A)(function(){1===ni()?(this.B=null,Ej(this)):(P.clearTimeout(this.G),Bj(this,0))},a),c=oi();
if(c){var d=kj(ji,c,b,148);a.H=function(){Wh(ji,c,d);this.H=null}}a.D=!1;
a.g=null;b()}};
Fj=function(a){a.D||(P.clearTimeout(a.G),null===a.H||a.H(),a.D=!0)};
Gj=function(a,b){lj.call(this,a,b);this.o=[];this.C=this.G=null;this.B=!0;this.F=null};
Tba=function(a,b,c){if(null!==a.C)return!1;a.A=b;a.G=c;c=b.getBoundingClientRect();c="DIV"==b.tagName||"INS"==b.tagName?mj(a,c):nj(a,c);for(var d=0;d<c.length;++d){var e=c[d],f=new Aj,k;k=f;var l=b,m=(0,g.A)(a.J,a),n=e;if(null===k.F){var q="DIV"==l.tagName||"INS"==l.tagName;k.C=!q;k.J=l;e=Dj(k);if(null!=n){e=n;n=new g.Vd(0,0);if(k.C){var r=k.J.getBoundingClientRect();n.x+=r.left;n.y+=r.top}k.L=g.Xd(e,n)}k.N=m;q?(k.A=Ni(),xe(l,k.A,0),l=k.o.G(k.A,e)):l=k.o.F(l,e);l?(k.F=(0,g.G)(),k.M=e,k=!0):(k.o.remove(),
k.A&&g.ye(k.A),k=!1)}else k=!1;if(!k)return Hj(a),a.g="c",!1;a.o.push(f)}a.C=(0,g.G)();a.g="l";return!0};
Wba=function(a){var b=Db(g.Lb(Uba));(0,g.H)(a.o,function(a){null!=a.g&&0<=a.g&&++b[a.g]});
switch(a.H){case 4:return Vba(a,b);case 3:return 1==a.o[0].g&&1==a.o[2].g?3:1==a.o[1].g?2:0<b[1]?1:0;default:return 1==b[1]?2:0}};
Vba=function(a,b){var c=b[1];if(a.D){if(3<=c)return 2;if(2==c)return 5;if(0<c)return 4}else{if(4==c)return 3;if(3==c)return 2;if(0<c)return 1}return 0};
Ij=function(a){a.B&&null!==a.C&&"d"!=a.g&&((0,g.H)(a.o,function(a){Sba(a)}),a.g="r",a.B=!1)};
Jj=function(a){a.B||((0,g.H)(a.o,function(a){Fj(a)}),a.B=!0)};
Hj=function(a){Jj(a);(0,g.H)(a.o,function(a){Fj(a);a.o&&(a.o.remove(),a.o=null);a.A&&(g.ye(a.A),a.A=null)});
a.o=[];a.g="d"};
Kj=function(a,b){lj.call(this,a,b);this.o=[];this.F=!1;this.C=0;this.B=-1};
Xba=function(a,b){var c=b.getBoundingClientRect(),d="DIV"==b.tagName||"INS"==b.tagName,e=g.ae(b),f=!0,k=a.o;if(d){var l=Ni(),c=mj(a,c);xe(b,l,0);(0,g.H)(c,function(a){var b=new Lj(e);k.push(b);var c;if(c=f)if(b.g){b.g.style.position="absolute";Mj(b,a);a=!0;try{l.appendChild(b.g)}catch(r){a=!1}c=a}else c=!1;f=c})}else c=nj(a,c),(0,g.H)(c,function(a){var c=new Lj(e);
k.push(c);var d;if(d=f)if(c.g&&b.parentNode){c.g.style.position="fixed";Mj(c,a);a=!0;try{g.we(c.g,b)}catch(r){a=!1}d=a}else d=!1;f=d});
f?(a.A=b,a.F=!d):((0,g.H)(k,function(a){a.remove()}),a.o=[]);
return f};
Yba=function(a){if(a.A&&a.F){var b=nj(a);(0,g.H)(b,function(a,b){this.o[b]&&Mj(this.o[b],a)},a)}};
Zba=function(a){(0,g.H)(a.o,function(a){a.remove()});
a.o=[]};
dca=function(a){var b=(0,g.G)(),c=a.C?b-a.C:0,d=saa(a.o,function(a){return a.isVisible(b)}),d=4==a.o.length?a.D?$ba[d]:aca[d]:3==a.o.length?bca[d]:1==a.o.length?cca[d]:-1,c=new pj(d,a.B,c);
a.B=d;a.C=b;Yba(a);return c};
Lj=function(a){this.g=null;this.A=this.o=0;eca(this,a)};
eca=function(a,b){var c=b.createElement("iframe");c.srcdoc="";c.frameBorder=0;c.style.width="1px";c.style.height="1px";c.style.opacity="0";c.style.zIndex=-999999;a.g=c;var d=dj(245,a.B,a,void 0);c.addEventListener("load",ij(244,function(){c.contentWindow.requestAnimationFrame(d)}))};
Mj=function(a,b){a.g&&!Wd(b,lh(a.g))&&g.kh(a.g,b)};
Nj=function(){};
Oj=function(){this.G=!1;this.H=void 0;this.o=!Rh(P.top);var a=Ei();this.L=0<a.length&&null!=a[a.length-1]&&null!=a[a.length-1].url?g.wg(a[a.length-1].url)||"":"";this.C=this.J=this.D=this.A=null;this.N=0;this.B=!1;this.F=new g.Og(0,0,0,0);this.S=this.M=0;this.g="geo"};
Qj=function(a,b,c){this.position=Pj.clone();this.Lc=0;this.Ec=this.Dm();this.oc=-2;this.mi=(0,g.G)();this.Dg=-1;this.S=b;this.N=-1!=b;this.Wa=null;this.opacity=-1;this.Bg=c;this.ph=this.md=g.y;this.J=this.element=a;this.fa=this.B=null;this.aa=1;this.va=!1;this.D=null;this.ee=this.da=!1;this.yb=1;this.ce=!0;this.li=Oj.getInstance().N++;this.hc=0;this.g=this.Vp();this.Cg=-1;this.gb=new g.Og(0,0,0,0)};
Rj=function(a,b){return null===a||null===b?Pj.clone():new g.Og(Math.max(a.top,b.top),Math.min(a.right,b.right),Math.min(a.bottom,b.bottom),Math.max(a.left,b.left))};
fca=function(a,b,c,d,e){if(a.N){var f=P.innerWidth,k=P.innerHeight,l=new g.Og(Math.round(P.mozInnerScreenY),Math.round(P.mozInnerScreenX+f),Math.round(P.mozInnerScreenY+k),Math.round(P.mozInnerScreenX));c=new g.Og(P.screenY+d,P.screenX+c.width,P.screenY+c.height,P.screenX);e||(d=new g.Og(l.top-c.top,l.right-c.left,l.bottom-c.top,l.left-c.left),d.top>a.position.top?a.position=d:(a.position.right=a.position.left+f,a.position.bottom=a.position.top+k),a.Lc=f*k);a.ff(l,c,b,e,!0,!0)}};
hca=function(a,b,c){if(a.N){var d=ri();if(d){c||Sj(a,P,!0);if(a.ee)var e=gca(a,d),d=!0;else var e=Math.floor((a.position.left+a.position.right)/2),f=Math.floor((a.position.top+a.position.bottom)/2),k=g.le(window.document),e=d(e-k.x,f-k.y)?.5:0,d=!1;a.ff(a.position,e,b,c,!0,d)}}};
Tj=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}};
gca=function(a,b){var c=g.le(window.document),d=a.yb,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;var d=!!b(e,f),m=!!b(k,l);if(d&&m)return 1;var n=!!b(k,f),q=!!b(e,l);if(d)l=Tj(f,l,function(a){return!!b(e,a)}),k=Tj(e,k,function(a){return!!b(a,f)});
else if(n)l=Tj(f,l,function(a){return!!b(k,a)}),e=Tj(k,e,function(a){return!!b(a,f)});
else if(q)f=Tj(l,f,function(a){return!!b(e,a)}),k=Tj(e,k,function(a){return!!b(a,l)});
else if(m)f=Tj(l,f,function(a){return!!b(k,a)}),e=Tj(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=Tj(v,f,function(a){return!!b(r,a)});
l=Tj(v,l,function(a){return!!b(r,a)});
e=Tj(r,e,function(a){return!!b(a,v)});
k=Tj(r,k,function(a){return!!b(a,v)})}return(l-f)*(k-e)/c};
ica=function(a,b,c,d,e){a.N&&(d||Sj(a,P,e),a.ff(a.position,c,b,d,!1,!0))};
Uj=function(a,b,c){if(a.N){var d=c?a.g.g:a.hc,e;if(e=a.gb){e=a.gb;var f=new g.Og(0,0,0,0);e=!(e==f||e&&f&&e.top==f.top&&e.right==f.right&&e.bottom==f.bottom&&e.left==f.left)}e&&(d=Pg(a.gb.clone(),a.position.left,a.position.top));a.ff(a.position,d,b,c,!0,!0)}};
jca=function(a,b,c){if(a.N&&a.ga){var d=ki(),e=Oj.getInstance();Sj(a,d,e.o);d=a.ga.o();e=d.o()||d.A();a.ff(a.position,d.g(),b,c,!0,e)}};
Xj=function(a,b,c,d,e){a.N&&Vj(a)&&(c?a.D&&Jj(a.D):(Sj(a,d,!0),a.D&&Ij(a.D)),a.ff(a.position,e||a.g.g,b,c,!1,!1),!Wj(a)||1==a.Oi()||a.D&&Hj(a.D))};
Vj=function(a){return null!==a.D&&"d"!=a.D.getStatus()};
Sj=function(a,b,c,d){if(d)a.position=d;else{b=c?b:b.top;try{var e=Pj.clone(),f=new g.Vd(0,0);if(a.J){var k=1==a.Bg;!c&&k&&Gba(a.J)||(e=a.J.getBoundingClientRect());f=g.rh(a.J,b)}var l=f.x,m=f.y;a.position=new g.Og(Math.round(m),Math.round(l+(e.right-e.left)),Math.round(m+(e.bottom-e.top)),Math.round(l))}catch(n){a.position=Pj.clone()}}a.Lc=(a.position.bottom-a.position.top)*(a.position.right-a.position.left)};
Wj=function(a){a=a.Ec;var b=Wi(.5);return-1==b?!1:a.A[b]>=a.va};
Yj=function(a,b){var c=Math.pow(10,b);return Math.floor(a*c)/c};
kca=function(a){a.ga||(a.B&&sj(a.B),a.D&&Hj(a.D))};
nca=function(a,b){var c=!1,d=a.J;b.document&&b.document.body&&12==a.Bg&&(d=b.document.body);if(null===d)return!1;hj(152,function(){var e=new b.IntersectionObserver(function(c){try{Zj(b,c,a)}catch(k){try{e.unobserve(d),jj("osd_adblock::nioc",k)}catch(l){}}},lca);
e.observe(d);mca(d);c=!0});
return c};
mca=function(a){if(a&&(a=a.style)){var b=a.opacity;a.opacity=.98;a.opacity=.99;a.opacity=b}};
oca=function(a,b){var c=!1;hj(151,function(){var d;d=Xh(b).D0(function(c){try{Zj(b,c,a)}catch(f){try{d(),jj("osd_adblock::aioc",f)}catch(k){}}});
c=!0});
return c};
Zj=function(a,b,c){var d;if(!b||!b.length||0>=b.length)d=null;else{d=b[0];for(var e=1;e<b.length;e++)b[e].time>d.time&&(d=b[e])}d&&(b=Qi(d.boundingClientRect),e=Qi(d.intersectionRect),c.g.g=g.Rd(d.intersectionRect.width*d.intersectionRect.height/(d.boundingClientRect.width*d.boundingClientRect.height),0,1),c.hc=c.g.g,Sj(c,a,!0,b),a=Rj(b,e),c.gb=0>=c.Lc||a.top>=a.bottom||a.left>=a.right?new g.Og(0,0,0,0):Pg(a,-b.left,-b.top))};
ak=function(a,b,c,d){d&&(a.ph=d);switch(c){case "nio":return nca(a,b);case "aio":return oca(a,b);case "sfm":return a.hs(b);case "swf":return a.Zo();case "raf":return a.gs();case "geo":case "xde":case "iem":return!0}return!1};
bk=function(){this.g={};this.g.vs=[1,0];this.g.vw=[0,1];this.g.am=[2,2];this.g.a=[4,4];this.g.f=[8,8];this.g.bm=[16,16];this.g.b=[32,32];this.g.avw=[0,64];this.g.cm=[128,128];this.g.pv=[256,256];this.g.gdr=[0,512];this.g.p=[0,1024];this.g.r=[0,2048];this.g.m=[0,4096];this.g.um=[0,8192];this.g.ef=[0,16384];this.g.s=[0,32768];this.o={};for(var a in this.g)0<this.g[a][1]&&(this.o[a]=0);this.A=0};
pca=function(a){return ck(a,g.Ob(a.g))};
ck=function(a,b){var c=0,d;for(d in a.o)g.cb(b,d)&&1==a.o[d]&&(c+=a.g[d][1],a.o[d]=2);return c};
qca=function(a){var b=0,c;for(c in a.o){var d=a.o[c];if(1==d||2==d)b+=a.g[c][1]}return b};
dk=function(){this.g=[]};
ek=function(){Ui.call(this);this.Za=this.S=this.ca=this.ba=this.aa=this.o=0;this.D=-1;this.F=this.J=this.H=this.G=this.fa=this.na=this.M=0;this.da=[0,0,0,0,0];this.B=this.g=-1;this.N=this.ga=0;this.va=2E3};
fk=function(a,b,c){var d=a.Za;Ji||c||-1==a.D||(d+=b-a.D);return d};
gk=function(a,b,c,d){Qj.call(this,b,c,d);this.wb=0;this.H={};this.A=new bk;this.Je={};this.oj=this.C="";this.qh=!1;this.G=[];this.kf=this.th=this.uh=this.ba=!1;this.L=void 0;this.M=-1;this.ac=void 0;this.tb=!1;this.Ja=this.sa=0;this.Pa=1;this.Ta=-1;this.Zb=this.fe=!1;this.ca=this.Eg=0;this.Ld=!1;this.lf=this.yg=-1;this.Qa=this.Za=this.o=0;this.sh=this.Eb=-1;this.zg=0;this.jf=[0,0,0,0,0];this.ka=this.Md=this.Ab=0;this.na=-1;this.Nd=0;this.Ea=this.F=!1;this.Mb=null;this.de=this.rh=!1;this.qb=g.y;this.ra=
[this.Dm()];this.Ag=!1;b=Oj.getInstance();Sj(this,a,b.o);this.La={};this.La.pause="p";this.La.resume="r";this.La.skip="s";this.La.mute="m";this.La.unmute="um";this.La.exitfullscreen="ef"};
hk=function(a){return g.t(a)?Number(a)?Yj(a,3):0:a};
ik=function(a,b){if(-1==a.S)return 0;var c=b-a.S||1,d=1E4;g.t(a.M)&&-1!=a.M&&(d=Math.max(d,a.M/3));return c>d?1:c};
jk=function(a,b,c){return 15E3<=b?!0:a.fe?c?!0:-1!=a.M?b>=a.M/2:-1!=a.Ta?b>=a.Ta:!1:!1};
kk=function(a,b){for(var c=a.G,d=Df({lQ:0,Xm:void 0}),e=c.length;e<b+1;)c.push(d()),e++;a.G[b]={viewableArea:Yj(a.g.g,2),instantaneousState:a.A.A}};
mk=function(a,b){var c=a.Je[b];if(null!=c)return c;a:if(g.cb(rca,b))c=!0;else{c=a.H[b];if(g.t(c)&&(a.H[b]=!0,!c)){c=!0;break a}c=!1}c=lk(a,c,c);"fully_viewable_audible_half_duration_impression"==b&&(c.std="csm",c.ic=ck(a.A,["gdr"]));return c};
lk=function(a,b,c){if(a.da)return{"if":0};var d=a.position.clone();d.round();var e=(0,g.I)(a.G,function(a){return 100*a.lQ|0}),f=Oj.getInstance(),k=a.we(),l={};
a.Ag&&(l.avms="raf");l["if"]=f.o?1:void 0;l.sdk=a.L?a.L:void 0;l.t=a.mi;l.p=[d.top,d.left,d.bottom,d.right];l.tos=k.ra;l.mtos=k.A;l.ps=void 0;l.pt=e;l.vht=fk(k,Ii(),!!a.ba);l.mut=k.na;l.a=hk(a.g.volume);l.mv=hk(k.B);l.fs=a.F?1:0;l.ft=k.ga;l.at=k.fa;l.as=.1<=k.g?1:0;l.atos=k.da;l.uac=a.Eg;l.vpt=k.o;"nio"==f.g&&(l.nio=1,l.avms="nio");l.gmm="4";l.gdr=jk(a,k.o,!0)?1:0;a.ee&&(l.efpf=a.yb);a.B&&(l.swf=a.B.getStatus(),l.px=a.aa,l.avms="swf");a.D&&(l.sfm=a.D.getStatus(),l.px=a.aa,l.avms="sfm");0<a.Nd&&(l.nnut=
a.Nd);l.tcm=a.Pa;l.nmt=a.Md;l.bt=a.ka;l.pst=a.na;l.vpaid=a.ac;l.dur=a.M;l.vmtime=a.sa;l.is=a.A.A;1<=a.G.length&&(l.i0=a.G[0].Xm);2<=a.G.length&&(l.i1=a.G[1].Xm);3<=a.G.length&&(l.i2=a.G[2].Xm);4<=a.G.length&&(l.i3=a.G[3].Xm);l.cs=qca(a.A);b&&(l.ic=pca(a.A),l.dvpt=k.aa,l.dvs=k.ca,l.dfvs=k.S,l.davs=k.J,l.dafvs=k.F,c&&(k.aa=0,k.ca=0,k.S=0,k.J=0,k.F=0),Wj(a)&&(l.dtos=k.ba,l.dav=k.H,l.dtoss=a.wb+1,c&&(k.ba=0,k.H=0,a.wb++)),l.dat=k.G,l.dft=k.N,c&&(k.G=0,k.N=0));f.C&&(l.ps=[f.C.width,f.C.height]);f.A&&(l.bs=
[f.A.width,f.A.height]);f.D&&(l.scs=[f.D.width,f.D.height]);l.dom=f.L;a.va&&(l.fmf="1",l.px=a.aa);a.ca&&(l.vds=a.ca);a.o&&(l.vmer=a.o);a.Za&&(l.vmmk=a.Za);a.Qa&&(l.vmiec=a.Qa);a.ga&&(l.avms=a.ga.A(),g.$b(l,a.ga.g()));"exc"==f.g&&(l.femt=a.Eb,l.femvt=a.sh,l.emc=a.zg,l.emb=a.jf,l.emuc=a.Ab,l.avms="exc");nk()?(l.c=Yj(a.g.g,2),l.ss=Yj(sca(a),2)):l.tth=Ii()-ok;l.mc=Yj(k.ka,2);l.nc=Yj(k.C,2);l.mv=hk(k.B);l.nv=hk(k.g);l.lte=Yj(a.oc,2);b=a.ra[a.ra.length-1];l.qmtos=b.A;l.qnc=Yj(b.C,2);l.qmv=hk(b.B);l.qnv=
hk(b.g);l.qas=.1<=b.g?1:0;l.qi=a.C;null!==a.Mb&&(l.nvat=a.Mb?1:0);l.avms||(l.avms="geo");return l};
sca=function(a){if(a.F)return 1;var b=P.screen.width*P.screen.height;return 0>=b?-1:Math.min(a.Lc*a.g.g/b,1)};
pk=function(a){for(var b=0,c=a,d=0;a&&a!=a.parent;)a=a.parent,d++,Rh(a)&&(c=a,b=d);return{Os:c,level:b}};
tca=function(){this.Oo={}};
g.qk=function(a,b,c){g.M.call(this);this.B=null!=c?(0,g.A)(a,c):a;this.A=b;this.o=(0,g.A)(this.dO,this);this.g=[]};
rk=function(a){a.Jh=g.og(a.o,a.A);a.B.apply(null,a.g)};
tk=function(){return!sk()&&(Hb("iPod")||Hb("iPhone")||Hb("Android")||Hb("IEMobile"))};
sk=function(){return Hb("iPad")||Hb("Android")&&!Hb("Mobile")||Hb("Silk")};
uk=function(){var a=Oj.getInstance().g;return"nio"==a||"aio"==a};
Fk=function(){if(!vk){vk=!0;var a=na.requestAnimationFrame||na.webkitRequestAnimationFrame||na.mozRequestAnimationFrame||na.oRequestAnimationFrame||na.msRequestAnimationFrame;if(!wk&&!uk()){var b;if(a){var c=dj(136,xk,void 0,void 0);b=function(){a(function(){P.setTimeout(c,0)})}}else b=xk;
yk=new g.qk(dj(137,b,void 0,void 0),100);b=(0,g.A)(yk.Pi,yk);wk=kj(P,"scroll",b,138)}if(!zk&&!uk()){if(a){var d=dj(139,Ak,void 0,void 0);b=function(){a(function(){P.setTimeout(d,0)})}}else b=Ak;
Dk=new g.qk(dj(140,b,void 0,void 0),100);b=(0,g.A)(Dk.Pi,Dk);zk=kj(P,"resize",b,141)}uca();Ek()}};
Ak=function(){Gk(!1);xk()};
xk=function(){Hk(Ik(),!1)};
vca=function(){var a=Oj.getInstance();Jk&&!a.B&&(a.A=Gi(P,Jk));var b=new Kk;switch(a.g){case "xde":var c=Lk;Gk(!1);var d=Oj.getInstance(),e=d.J,a=e.height-c;0>=a&&(a=e.height,c=0);d.A=new g.Yd(e.width,a);a=new Kk;a.A=d.A;a.g=e;a.B=c;return a;case "geo":a:{a=a.A;b=new Kk;b.A=a;if(null!=a&&-1!=a.width&&-1!=a.height&&-12245933!=a.width&&-12245933!=a.height){var f=Oj.getInstance();if(f.B)c=f.F;else try{var f=Jk,k=P||P,k=k.top,d=a||Gi(k,f),e=g.le(g.ce(k.document).g),c=-1==d.width||-12245933==d.width?new g.Og(d.width,
d.width,d.width,d.width):new g.Og(e.y,e.x+d.width,e.y+d.height,e.x)}catch(l){c=b;break a}b.o=c}c=b}return c;default:return b}};
wca=function(a){for(a=a.length-1;0<=a;a--);};
Hk=function(a,b,c){if(!Mk)if(window.clearTimeout(Nk),Nk=null,wca(a),0==a.length)b||Ok();else{var d=vca(),e=Oj.getInstance();try{var f=Ii();if(null!=Nj.getInstance().g)for(var k=0;k<a.length;k++)jca(a[k],f,b);else switch(e.g){case "exc":for(k=0;k<a.length;k++)Uj(a[k],f,b);break;case "nis":for(k=0;k<a.length;k++)g.t(c)?a[k].eo(c):a[k].zx(f);break;case "gsv":for(k=0;k<a.length;k++)g.t(c)?a[k].pw(c):a[k].yx(f);break;case "aio":case "nio":for(k=0;k<a.length;k++)Uj(a[k],f,b);break;case "xde":if(d.g)for(k=
0;k<a.length;k++)fca(a[k],f,d.g,d.B,b);break;case "iem":for(k=0;k<a.length;k++)hca(a[k],f,b);break;case "swf":(0,g.H)(a,function(a){if(b){if(a.B){var c=a.B;3<=c.B&&(c.B=3);a.g.g=0}}else if(a.B&&"d"!=a.B.getStatus()){var c=Oba(a.B),d=[0,0,0,0,0,.01,.5,1,.01,.3],e=d[c.snapshot+1];a.g.g=d[c.o+1];a.ff(a.position,e,a.S+c.g,!1,!0,!1);Wj(a)&&1!=a.Oi()&&!a.ce&&a.B&&sj(a.B);(c=2==c.snapshot||wj(a.B))||(c=a.B,c="f"==c.g&&3E3<=c.C);c&&(a.ph(a),a.ce=!1,a.B&&sj(a.B))}});
break;case "sfm":for(k=0;k<a.length;k++)Xj(a[k],f,b,P);break;case "raf":(0,g.H)(a,function(a){if(b)a.fa&&(a.fa.B=3,a.g.g=0);else if(a.fa){var c=dca(a.fa),d=[0,0,0,0,0,.01,.5,1,.01,.3],e=d[c.snapshot+1];a.g.g=d[c.o+1];a.ff(a.position,e,a.S+c.g,!1,!0,!1);Wj(a)&&1!=a.Oi()&&!a.ce&&a.fa&&Zba(a.fa)}});
break;case "geo":if(d.o)for(k=0;k<a.length;k++)ica(a[k],f,d.o,b,e.o)}++xca}finally{b?(0,g.H)(a,function(a){a.g.g=0}):Ok()}}};
uca=function(){var a=Ek,b=oi();b&&(Pk=Pk||kj(ji,b,a,142))};
Ek=function(){var a=nk(),b=Ii();a?(Ji||(Ki=b,(0,g.H)(Qk,function(a){var c=a.we();c.Za=fk(c,b,!!a.ba)})),Ji=!0,Gk(!0)):(Ji=!1,ok=b,(0,g.H)(Qk,function(a){a.N&&(a.we().D=b)}));
Hk(Ik(),!a)};
nk=function(){if(Rk())return!0;var a=ni(),b=1===a,a=0===a;return Oj.getInstance(),b||a};
Ok=function(){P&&(Nk=P.setTimeout(ij(143,function(){Hk(Ik(),!1)}),Mi(Oj.getInstance().H)))};
yca=function(a){return null!=a&&(0,g.Sk)(Qk,function(b){return b.element==a})};
Tk=function(a){return g.Za(Qk,function(b){return b.C==a})};
Ik=function(){return 0==Qk.length?Uk:0==Uk.length?Qk:g.lb(Uk,Qk)};
Gk=function(a){var b=Oj.getInstance();b.A=b.B?(new g.Yd(b.F.Db(),b.F.getHeight())).round():Gi(P,Jk);if(!a){b.J=P&&P.outerWidth?new g.Yd(P.outerWidth,P.outerHeight):new g.Yd(-12245933,-12245933);var c;a=P;null!==a&&a.top!=a&&(a=a.top);var d=0,e=0,f=Oj.getInstance().A;try{var k=a.document,l=k.body,m=k.documentElement;if("CSS1Compat"==k.compatMode&&m.scrollHeight)d=m.scrollHeight!=f.height?m.scrollHeight:m.offsetHeight,e=m.scrollWidth!=f.width?m.scrollWidth:m.offsetWidth;else{var n=m.scrollHeight,q=
m.scrollWidth,r=m.offsetHeight,v=m.offsetWidth;m.clientHeight!=r&&(n=l.scrollHeight,q=l.scrollWidth,r=l.offsetHeight,v=l.offsetWidth);n>f.height?n>r?(d=n,e=q):(d=r,e=v):n<r?(d=n,e=q):(d=r,e=v)}c=new g.Yd(e,d)}catch(x){c=new g.Yd(-12245933,-12245933)}b.C=c}};
zca=function(a,b,c){if(a=Vk(a,"sfm",b,c))Oj.getInstance().g="sfm",(0,g.H)(b,function(a){Vj(a)||c(a)});
return a};
Aca=function(a,b,c){if(a=Vk(a,"swf",b,c))Oj.getInstance().g="swf",Oj.getInstance().g="swf",(0,g.H)(b,function(a){a.B||c(a)});
return a};
Wk=function(){var a=Vk(P,"raf",Ik());a&&(Oj.getInstance().g="raf");return a};
Vk=function(a,b,c,d){var e=!1;(0,g.H)(c,function(c){ak(c,a,b,d)&&(e=!0)});
return e};
Bca=function(a){var b=[];(0,g.H)(a,function(a){yca(a.element)||(Qk.push(a),b.push(a))})};
Cca=function(a){var b=[];(0,g.H)(a,function(a){null==g.Za(Qk,function(b){return b.element==a.element&&b.oj==a.oj})&&(Qk.push(a),b.push(a))})};
Rk=function(){return(0,g.Sk)(Qk,function(a){return a.F})};
Kk=function(){this.g=this.A=null;this.B=0;this.o=null};
Dca=function(a){var b=[];g.Ib(a,function(a,d){d in Object.prototype||"undefined"==typeof a||(g.qa(a)&&(a=a.join(",")),b.push([d,"=",a].join("")))});
return b.join("&")};
Eca=function(a){if(!a)return"";var b=a.document,c=[];c.push("url="+(0,window.encodeURIComponent)(a.location.href.substring(0,512)));b&&b.referrer&&c.push("referrer="+(0,window.encodeURIComponent)(b.referrer.substring(0,512)));return c.join("&")};
Xk=function(a){return function(b){return!g.t(b[a])&&g.t(0)?0:b[a]}};
Zk=function(){var a=[0,2,4];return function(b){b=b.tos;if(g.qa(b)){for(var c=Array(b.length),d=0;d<b.length;d++)c[d]=0<d?c[d-1]+b[d]:b[d];return g.t(a)?Yk(c,a):c}}};
$k=function(a,b){return function(c){c=c[a];if(g.qa(c))return Yk(c,b)}};
Yk=function(a,b){return(0,g.Ae)(a,function(a,d){return g.cb(b,d)})};
al=function(){this.A=this.D=!1;this.g={};this.g.start=this.mH;this.g.firstquartile=this.aH;this.g.midpoint=this.fH;this.g.thirdquartile=this.nH;this.g.complete=this.WG;this.g.pause=this.iH;this.g.resume=this.kH;this.g.skip=this.lH;this.g.viewable_impression=this.pH;this.g.mute=this.gH;this.g.unmute=this.oH;this.g.fullscreen=this.bH;this.g.exitfullscreen=this.ZG;this.g.fully_viewable_audible_half_duration_impression=this.cH;this.g.measurable_impression=this.eH;this.g.abandon=this.VG;this.g.engagedview=
this.YG;this.g.impression=this.dH;this.g.creativeview=this.XG;this.g.progress=this.jH;this.o={};this.o.overlay_resize=this.hH;this.o.abandon=this.oq;this.o.close=this.oq;this.o.collapse=this.oq;Oj.getInstance().M=3};
bl=function(a,b,c){c||(b=-1);return new gk(P,a,b,7)};
Fca=function(a){var b=Oj.getInstance();dk.getInstance();(function(){b.B=!1;cl(this)}).call(a)};
cl=function(a){var b;if(b=null!=P.IntersectionObserver)if(b=Vk(P,"nio",Ik()))Oj.getInstance().g="nio";if(b)Fk();else if(Bi()&&Wk())Fk();else{if(g.fh&&g.ta(P.screenX)&&g.ta(P.mozInnerScreenX)&&g.ta(P.outerWidth)){b=P.navigator.userAgent;var c=b.indexOf("Firefox/");if(0<=c){var c=Math.floor(b.substr(c+8))||-1,d=b.indexOf("Mac OS X 10."),e=-1;0<=d&&(e=Number(b.substr(d+12,1))||-1);var f=0<e?-1:b.indexOf("Windows NT "),d=-1;0<=f&&(d={"6.0":0,"6.1":1,"6.2":2}[b.substr(f+11,3)]||-1);b=148;5<=e?b=4<=c?108:
3<=c?127:108:0<=d&&(16==c||17==c||18==c)&&(b=[[146,146,146],[148,147,148],[131,130,136]][d][c-16])}else b=null;null!==b&&(Lk=b,Oj.getInstance().g="xde");b=!0}else b=!1;if(b)Fk();else if(g.sc&&g.jc(8)&&g.ua(ri())?(Oj.getInstance().g="iem",b=!0):b=!1,b)Fk();else{if(yi()){if(Oj.getInstance().S=1,zca(P,Qk,(0,g.A)(a.nq,a))){Fk();return}}else if(Aca(P,Qk,(0,g.A)(a.nq,a))){Fk();return}a.qw("i")}}};
gl=function(a,b){if(!a.qh){var c=mk(a,"start"),c=dl(c,el),d=fl||P,e=[];e.push("v=575v");e.push("r="+b);var f=Oj.getInstance().g,k=0,l=0;"swf"==f?k=1:"sfm"==f&&(l=1);e.push("efm="+k);e.push("esfm="+l);e.push(c);e.push(Eca(d));ei(P,("//pagead2.googlesyndication.com/pagead/gen_204?id=lidarvf&"+e.join("&")).substring(0,2E3),void 0);a.qh=!0}};
hl=function(a,b,c,d){Hk([a],!nk(),d);kk(a,c);b=mk(a,b);if(4!=c){d=a.ra;a=a.Dm;for(var e=d.length;e<c+1;)d.push(a()),e++}return b};
il=function(a,b,c){var d=a.we();d.Za=fk(d,Ii(),!!a.ba);d=!nk();Hk([a],d,c);a.ba=!0;return mk(a,b)};
jl=function(a){if(g.z(a)){var b=g.Ya(Qk,function(b){return b.C==a});
0<=b&&(kca(Qk[b]),g.ib(Qk,b))}};
Gca=function(a,b,c){var d=g.Za(Qk,function(a){return a.element==c});
null!==d&&d.C!=b&&(jl(d.C),d=null);d||(d=kl(a,c),d.C=b,d.L="h");return d};
kl=function(a,b){var c=bl(b,Ii(),!1);c.md=(0,g.A)(a.Nm,a);Oj.getInstance().H=79463069;Cca([c]);Fk();return c};
Hca=function(a,b){var c=Rb(ll,function(b){return b==a}),c={sv:"575",
cb:"j",e:ml[c]},d=mk(b,a);g.$b(c,d);b.Je[a]=d;return dl(c,el)};
dl=function(a,b,c,d,e){var f={};if(g.t(a))for(var k in b){var l=b[k];k in Object.prototype||null!=l&&(g.ua(l)?f[k]=l(a):f[k]=a[l])}g.t(c)&&g.$b(f,c);a=Dca(f);0!=a.length&&g.t(d)&&g.t(e)&&(e=e(a),a+="&"+d+"="+e);return a};
ol=function(a,b){var c={sv:"575",cb:"j"};c.nas=Qk.length;c.msg=a;if(g.t(b)){var d=nl(b);d&&(c.e=ml[d])}return c};
nl=function(a){var b=a.toLowerCase();return Rb(ll,function(a){return a==b})};
pl=function(a,b){var c=a[b];g.t(c)&&(a[b]=Math.floor(1E3*c))};
ql=function(a){return!a||"function"!==typeof a||0>String(Function.prototype.toString).indexOf("[native code]")?!1:0<=String(a).indexOf("[native code]")&&!0||!1};
sl=function(a){return!!(1<<a&rl)};
Mca=function(){try{Ica()}catch(d){}var a="a=1&b="+rl+"&",b=[],c=99;(0,g.H)(Jca,function(a,c){var d=!1;try{d=a(P)}catch(k){}b[c/32>>>0]|=d<<c%32});
(0,g.H)(b,function(b,e){a+=String.fromCharCode(c+e)+"="+(b>>>0).toString(16)+"&"});
c=105;(0,g.H)(Kca,function(b){var d="false";try{d=b(P)}catch(f){}a+=String.fromCharCode(c++)+"="+d+"&"});
(0,g.H)(Lca,function(b){var d="";try{var f=b(P),d=g.pc(g.Fb(f),!0)}catch(k){}a+=String.fromCharCode(c++)+"="+d+"&"});
return a.slice(0,-1)};
Ica=function(){if(!tl){var a=function(){ul=!0;P.document.removeEventListener("webdriver-evaluate",a,!0)};
P.document.addEventListener("webdriver-evaluate",a,!0);var b=function(){vl=!0;P.document.removeEventListener("webdriver-evaluate-response",b,!0)};
P.document.addEventListener("webdriver-evaluate-response",b,!0);tl=!0}};
wl=function(){this.o=64;this.g=Array(4);this.C=Array(this.o);this.B=this.A=0;this.reset()};
xl=function(a,b,c){c||(c=0);var d=Array(16);if(g.z(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];var e=a.g[2],f=a.g[3],k;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};
zl=function(a){var b=a||Ei();a=b.length-1;var c=Fi(b),b=c.g,d=c.o,c=[];d?(b&&c.push(yl(a,[d.url,2],0,[b.url,0],b.depth)),c.push(yl(a,[d.url,2],0))):b.url&&(c.push(yl(a,void 0,void 0,[b.url,0],b.depth)),(d=(d=Nca.exec(b.url))&&d[0]||"")&&c.push(yl(a,[d,1],b.depth)));c.push(yl(a));return c};
yl=function(a,b,c,d,e){a=[a];if(g.t(b)&&g.t(c)){for(var f=0;f<c;f++)a.push("");a.push(b)}if(g.t(d)&&g.t(e)){b=e-a.length+1;for(f=0;f<b;f++)a.push("");a.push(d)}return a};
Al=function(){var a=zl();return(0,g.I)(a,function(a){return $h(a)})};
Bl=function(){al.call(this);this.B=void 0;this.C=null};
Cl=function(a,b,c,d){d=bl(null,d,!0);d.L=c;d.md=(0,g.A)(a.Nm,a);Bca([d]);d.C=b;return d};
Pca=function(a,b,c){var d=g.Za(Qk,(0,g.A)(function(a){return a.element?Dl(a.element,c)==b&&a.oj==c:!1},a));
null!==d&&d.C!=b&&(jl(d.C),d=void 0);if(d)return d;d=Oca(c);if(d=g.Za(d,(0,g.A)(function(a){return Dl(a,c)==b},a)))return d=kl(a,d),d.L="as",d.C=b,d.oj=c,d};
Oca=function(a){var b=P.document,c=g.Eb((0,g.I)(["embed","object"],function(a){return g.nb(b.getElementsByTagName(a))})),d="metricID"+a;
return c=(0,g.Ae)(c,function(a){if(!a||!g.va(a)||1!=a.nodeType||!g.ua(a.getBoundingClientRect))return!1;var b=a.getBoundingClientRect();return 0!=b.width&&0!=b.height&&a[d]&&g.ua(a[d])?!0:!1})};
Dl=function(a,b){var c="metricID"+b;if(!a||!a[c]||!g.ua(a[c]))return null;var d;try{d=a[c]()}catch(e){return null}return d.queryID};
El=function(a,b){var c=Oj.getInstance(),d;switch(a.L){case "h":d=g.w("exc"==c.g?"ima.bridge.triggerExternalActivityEvent":"ima.common.triggerExternalActivityEvent");break;case "m":d=g.w("ima.common.triggerExternalActivityEvent");break;case "n":d=g.w("ima.bridge.triggerExternalActivityEvent");break;case "as":var e="triggerExternalActivityEvent"+a.oj;a.element&&g.ua(a.element[e])&&(d=function(b,c,d){a.element[e](d)});
break;default:return a.ca|=4,!1}if(g.ua(d)){c=Hca(b,a);try{return d(a.C,c,b),!0}catch(f){a.ca|=2}}else a.ca|=1;return!1};
Qca=function(a){return g.Jb(Wb(a||{}),function(a,c){return"qmtos"==c||"qnc"==c||"qmv"==c||"qnv"==c?!1:!0})};
Gl=function(a,b,c){var d={};d.viewability=c?dl(b,el):dl(Qca(b),el);c=rl=(new Date).getTime();var e=sl(5);c=(ul?!e:e)?c|2:c&-3;e=sl(2);c=(vl?!e:e)?c|8:c&-9;c={s1:(c>>>0).toString(16)};a.C||(a.C=Mca());d.moatInit=a.C;d.moatViewability=dl(b,Rca,c,"h",Fl("kArwaWEsTs"));d.integralAdsViewability=dl(b,Sca,{},"h",Fl("b96YPMzfnx"));d.doubleVerifyViewability=dl(b,Tca,{},"h",Fl("yb8Wev6QDg"));d.googleViewability=dl(b,Uca);return d};
Fl=function(a){return function(b){var c=new wl;c.update(b+a);return vaa(c.digest()).slice(-8)}};
Vca=function(a,b,c){a=Oj.getInstance();if(a.G!=b){a.G=b;var d=(0,g.Sk)(Qk,function(a){return a.de});
(0,g.H)(Qk,function(a){b||d||(a.S=c);a.Ea=b;a.de=!1})}};
Jl=function(a,b,c){var d=Bl.getInstance(),e={};g.$b(e,{opt_adElement:void 0,opt_fullscreen:void 0},c||{});if(e.opt_bounds)a=Gl(d,ol("ol",a),!1);else{b:{if(nl(a)){if(Hl){e=ol("ue",a);break b}b=d.Gm(b,e);if(!b){e=ol("nf",a);break b}if(!d.D){d.D=!0;try{var f=Ii(),k=Oj.getInstance();Hi=f;fl=pk(P).Os;Gk(!1);var l=Oj.getInstance();P.screen&&(l.D=new g.Yd(P.screen.width,P.screen.height));if("nis"!=k.g&&"gsv"!=k.g){var m=P.document;m.body&&m.body.getBoundingClientRect?((0,g.A)(d.qw,d),Nj.getInstance(),!k.o&&
Bi()&&Wk()?Fk():k.o&&"exc"!=k.g?k.B?Fca(d):cl(d):Fk()):Hl=!0}}catch(q){throw Qk=[],Uk=[],q;}}"i"==Il&&(b.da=!0,d.Wr(b));b.ee=!0;b.yb=2;f=e.opt_fullscreen;g.t(f)&&(b.F=!!f);f=dk.getInstance();if(f=g.cb(f.g,111541711))k=Oj.getInstance().g,f="nis"===k,k="gsv"===k,f=!Rk()&&(P&&P.o||f||k?!1:0===ni());(k=f)&&gl(b,"pvu");f=a.toLowerCase();!k&&g.cb(Wca,f)&&(b.rh||("i"!=Il&&(Mk=!1),k=Nj.getInstance(),null!=k.g&&(k=null!=k.g?new k.g.constructor:null,b.ga=k),ak(b,P,Oj.getInstance().g,(0,g.A)(d.nq,d)),k=g.t(e)?
e.opt_nativeTime:void 0,Li=k=g.ta(k)?k:Ii(),b.N=!0,l=nk(),b.rh=!0,b.H={},b.H.firstquartile=!1,b.H.midpoint=!1,b.H.thirdquartile=!1,b.H.complete=!1,b.H.pause=!1,b.H.skip=!1,b.H.viewable_impression=!1,b.wb=0,l||(b.we().D=k),Hk([b],!l,e)),d.ww(b));(k=b.La[f])&&b.A.Ga(k);var n;1==b.Oi()?n=d.g[f]:2==b.Oi()&&(n=d.o[f]);if(n&&(e=n.call(d,b,e),g.t(e))){n=ol(void 0,f);g.$b(n,e);e=n;break b}}e=void 0}a=Gl(d,e,"firstquartile"==a||"midpoint"==a||"thirdquartile"==a||"complete"==a||"skip"==a||"abandon"==a?!0:!1)}return a};
Kl=function(a,b){var c=g.w("ima.common.triggerViewabilityMeasurementUpdate");if(g.ua(c)){var d={};d.insideIframe=Oj.getInstance().o;d.unmeasurable=b.da;d.position=b.position;d.coverage=b.g.g;d.nativeVolume=a.B;c(b.C,d)}};
Ll=function(a){Bl.getInstance();var b=dk.getInstance();g.gb(b.g,a)};
Ml=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)throw Error("Invalid URI scheme in origin");var c="",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};
Xca=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];for(var d=e[1],f=e[2],l=e[3],m=e[4],n,q,c=0;80>c;c++)40>c?20>c?(n=l^d&(f^l),q=1518500249):(n=d^f^l,q=1859775393):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,MF: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}}};
Yca=function(a,b,c){var d=[],e=[];if(1==(g.qa(c)?2:1))return e=[b,a],(0,g.H)(d,function(a){e.push(a)}),Nl(e.join(" "));
var f=[],k=[];(0,g.H)(c,function(a){k.push(a.key);f.push(a.value)});
c=Math.floor((new Date).getTime()/1E3);e=g.db(f)?[c,b,a]:[f.join(":"),c,b,a];(0,g.H)(d,function(a){e.push(a)});
a=Nl(e.join(" "));a=[c,a];g.db(k)||a.push(k.join(""));return a.join("_")};
Nl=function(a){var b=Xca();b.update(a);return b.MF().toLowerCase()};
g.Ol=function(a){var b=Ml(String(na.location.href)),c=na.__OVERRIDE_SID;null==c&&(c=(new rg(window.document)).get("SID"));if(c&&(b=(c=0==b.indexOf("https:")||0==b.indexOf("chrome-extension:"))?na.__SAPISID:na.__APISID,null==b&&(b=(new rg(window.document)).get(c?"SAPISID":"APISID")),b)){var c=c?"SAPISIDHASH":"APISIDHASH",d=String(na.location.href);return d&&b&&c?[c,Yca(Ml(d),b,a||null)].join(" "):null}return null};
Pl=function(){};
Rl=function(a){if(a instanceof Pl)return a;if("function"==typeof a.Od)return a.Od(!1);if(g.ra(a)){var b=0,c=new Pl;c.next=function(){for(;;){if(b>=a.length)throw Ql;if(b in a)return a[b++];b++}};
return c}throw Error("Not implemented");};
g.Sl=function(a,b,c){if(g.ra(a))try{(0,g.H)(a,b,c)}catch(d){if(d!==Ql)throw d;}else{a=Rl(a);try{for(;;)b.call(c,a.next(),void 0,a)}catch(d){if(d!==Ql)throw d;}}};
Zca=function(a){if(g.ra(a))return g.nb(a);a=Rl(a);var b=[];g.Sl(a,function(a){b.push(a)});
return b};
Tl=function(a,b){this.o={};this.g=[];this.mh=this.Ka=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){a instanceof Tl?(c=a.Bb(),d=a.fb()):(c=g.Ob(a),d=g.Nb(a));for(var e=0;e<c.length;e++)this.set(c[e],d[e])}};
Vl=function(a,b){return Ul(a.o,b)};
Wl=function(a){if(a.Ka!=a.g.length){for(var b=0,c=0;b<a.g.length;){var d=a.g[b];Ul(a.o,d)&&(a.g[c++]=d);b++}a.g.length=c}if(a.Ka!=a.g.length){for(var e={},c=b=0;b<a.g.length;)d=a.g[b],Ul(e,d)||(a.g[c++]=d,e[d]=1),b++;a.g.length=c}};
Ul=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};
Xl=function(a){if(a.fb&&"function"==typeof a.fb)return a.fb();if(g.z(a))return a.split("");if(g.ra(a)){for(var b=[],c=a.length,d=0;d<c;d++)b.push(a[d]);return b}return g.Nb(a)};
Yl=function(a){if(a.Bb&&"function"==typeof a.Bb)return a.Bb();if(!a.fb||"function"!=typeof a.fb){if(g.ra(a)||g.z(a)){var b=[];a=a.length;for(var c=0;c<a;c++)b.push(c);return b}return g.Ob(a)}};
Zl=function(a,b){if(a.forEach&&"function"==typeof a.forEach)a.forEach(b,void 0);else if(g.ra(a)||g.z(a))(0,g.H)(a,b,void 0);else for(var c=Yl(a),d=Xl(a),e=d.length,f=0;f<e;f++)b.call(void 0,d[f],c&&c[f],a)};
g.$l=function(a,b){this.o=this.G=this.B="";this.C=null;this.H=this.A="";this.D=!1;var c;a instanceof g.$l?(this.D=g.t(b)?b:a.D,am(this,a.B),this.G=a.G,g.bm(this,a.o),g.cm(this,a.C),g.dm(this,a.A),em(this,a.g.clone()),this.H=a.Gh()):a&&(c=g.ug(String(a)))?(this.D=!!b,am(this,c[1]||"",!0),this.G=fm(c[2]||""),g.bm(this,c[3]||"",!0),g.cm(this,c[4]),g.dm(this,c[5]||"",!0),em(this,c[6]||"",!0),this.H=fm(c[7]||"")):(this.D=!!b,this.g=new g.gm(null,0,this.D))};
am=function(a,b,c){a.B=c?fm(b,!0):b;a.B&&(a.B=a.B.replace(/:$/,""))};
g.bm=function(a,b,c){a.o=c?fm(b,!0):b;return a};
g.cm=function(a,b){if(b){b=Number(b);if((0,window.isNaN)(b)||0>b)throw Error("Bad port number "+b);a.C=b}else a.C=null;return a};
g.dm=function(a,b,c){a.A=c?fm(b,!0):b};
em=function(a,b,c){b instanceof g.gm?(a.g=b,$ca(a.g,a.D)):(c||(b=hm(b,ada)),a.g=new g.gm(b,0,a.D));return a};
g.im=function(a,b,c){a.g.set(b,c);return a};
km=function(a,b,c){g.qa(c)||(c=[String(c)]);jm(a.g,b,c)};
lm=function(a){g.im(a,"zx",g.Oa());return a};
g.mm=function(a){return a instanceof g.$l?a.clone():new g.$l(a,void 0)};
bda=function(a,b,c,d){var e=new g.$l(null,void 0);a&&am(e,a);b&&g.bm(e,b);c&&g.cm(e,c);d&&g.dm(e,d);return e};
fm=function(a,b){return a?b?(0,window.decodeURI)(a.replace(/%25/g,"%2525")):(0,window.decodeURIComponent)(a):""};
hm=function(a,b,c){return g.z(a)?(a=(0,window.encodeURI)(a).replace(b,cda),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null};
cda=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)};
g.gm=function(a,b,c){this.Ka=this.g=null;this.o=a||null;this.A=!!c};
om=function(a){a.g||(a.g=new Tl,a.Ka=0,a.o&&yg(a.o,function(b,c){nm(a,Ga(b),c)}))};
pm=function(a){var b=Yl(a);if("undefined"==typeof b)throw Error("Keys are undefined");var c=new g.gm(null,0,void 0);a=Xl(a);for(var d=0;d<b.length;d++){var e=b[d],f=a[d];g.qa(f)?jm(c,e,f):nm(c,e,f)}return c};
nm=function(a,b,c){om(a);a.o=null;b=qm(a,b);var d=a.g.get(b);d||a.g.set(b,d=[]);d.push(c);a.Ka=a.Ka+1};
rm=function(a,b){om(a);b=qm(a,b);return Vl(a.g,b)};
jm=function(a,b,c){a.remove(b);0<c.length&&(a.o=null,a.g.set(qm(a,b),g.nb(c)),a.Ka=a.Ka+c.length)};
qm=function(a,b){var c=String(b);a.A&&(c=c.toLowerCase());return c};
$ca=function(a,b){b&&!a.A&&(om(a),a.o=null,a.g.forEach(function(a,b){var c=b.toLowerCase();b!=c&&(this.remove(b),jm(this,c,a))},a));
a.A=b};
g.sm=function(a){g.M.call(this);this.B=a;this.o={}};
g.um=function(a,b,c,d,e,f){tm(a,b,c,d,e,f)};
tm=function(a,b,c,d,e,f){g.qa(c)||(c&&(vm[0]=c.toString()),c=vm);for(var k=0;k<c.length;k++){var l=g.kf(b,c[k],d||a.handleEvent,e||!1,f||a.B||a);if(!l)break;a.o[l.key]=l}return a};
xm=function(a,b,c,d){wm(a,b,c,d,void 0)};
ym=function(a,b,c,d,e){wm(a,b,c,d,!1,e)};
wm=function(a,b,c,d,e,f){if(g.qa(c))for(var k=0;k<c.length;k++)wm(a,b,c[k],d,e,f);else(b=sf(b,c,d||a.handleEvent,e,f||a.B||a))&&(a.o[b.key]=b)};
zm=function(a){g.Ib(a.o,function(a,c){this.o.hasOwnProperty(c)&&g.uf(a)},a);
a.o={}};
Am=function(a,b,c){g.M.call(this);this.o=a;this.A=b;this.D=c;this.C=0;this.g=new g.sm(this);dda(this)};
dda=function(a){a.D.forEach(function(a,c){this.g.T(c,"mousedown",this.F);this.g.T(c,"mouseup",this.H)},a);
a.g.T(a.A,"mouseover",a.G)};
Cm=function(a){this.g=new Tl;a&&Bm(this,a)};
Dm=function(a){var b=typeof a;return"object"==b&&a||"function"==b?"o"+g.xa(a):b.substr(0,1)+a};
Em=function(a,b){a.g.set(Dm(b),b)};
Bm=function(a,b){for(var c=Xl(b),d=c.length,e=0;e<d;e++)Em(a,c[e])};
g.Fm=function(a,b){return a.replace(eda,function(a,d){try{var c=Vb(b,d);if(null==c)return a;c=c.toString();if(!D(g.E(c)))return(0,window.encodeURIComponent)(c).replace(/%2C/g,",")}catch(f){}return a})};
Hm=function(a,b){var c=[],d="",e="";if(null!=b){for(var d=b,e=[],f=0;d&&25>f;++f){var k;a:{if(d&&d.nodeName&&d.parentElement){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){for(var v=r.frames,l=0;l<v.length;++l)if(e===v[l]){f.push(l);break}e=r;r=e.parent}}catch(x){}e=f.join()}else e=""}c.push(d,e);if(null!=a){for(r=0;r<Gm.length-1;++r)c.push(Jg(a,Gm[r])||"");r=Jg(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<Gm.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()};
fda=function(a,b,c){this.g=a;this.o=b;this.A=c};
Km=function(a,b){this.g=a;this.Mf=b};
Lm=function(a,b){g.Ve.call(this,"adError");this.A=a;this.g=b?b:null};
Mm=function(a,b,c){g.Ve.call(this,a);this.A=b;this.g=null!=c?c:null};
gda=function(a){this.g=a};
hda=function(){var a=Nm();return Om(a,"disableExperiments")};
Om=function(a,b){if(Qb(a.g,b)){var c=a.g[b];if(g.sa(c))return c}return!1};
ida=function(a){if(Qb(a.g,"forceExperimentIds")){a=a.g.forceExperimentIds;var b=[],c=0;g.qa(a)&&(0,g.H)(a,function(a){g.ta(a)&&(b[c++]=a)});
return b}return null};
Pm=function(a){return(a=a.match(/^\w{2,3}([-_]|$)/))?a[0].replace(/[_-]/g,""):""};
Qm=function(){this.B="always";this.N=4;this.G=1;this.o=this.M=this.D=!1;this.da=this.J=!0;this.A=this.ba=!1;this.L=!0;this.S=null;this.ca=3E3;this.C=-1;this.tb=this.F=this.aa=!1;try{this.fa=zl(void 0)[0]}catch(a){}};
Nm=function(){var a=Q;if(null==a.S){var b={},c=(new g.$l(ne().location.href)).g;if(rm(c,"tcnfp"))try{b=g.Hc(c.get("tcnfp"))}catch(d){}a.S=new gda(b)}return a.S};
jda=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}};
Rm=function(a){g.Ve.call(this,a);this.F=[];this.D={};this.g=null;this.A=!0};
Sm=function(a,b,c){this.B=b;this.o=c;this.C=a;this.A=!0};
Tm=function(){};
Um=function(a,b,c,d){this.za=a;this.g=g.Rd(c||0,0,1);this.o=null!=d?d:!0};
Vm=function(a){this.za=a;this.o=new Tl;this.bb=this.g=null};
kda=function(a){var b=Math.random(),c=0,d=a.o.fb();(0,g.H)(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}};
mda=function(){this.A=null!=na.G_testRunner;this.g=new Tm;this.o=new Tl;Q.g()||(Wm(this,"GvnExternalLayer",31061774,.01),Wm(this,"GvnExternalLayer",31061775,.01),Wm(this,"GvnExternalLayer",41351088,.01),Wm(this,"GvnExternalLayer",41351089,.01),Wm(this,"GvnExternalLayer",420706008,.05),Wm(this,"GvnExternalLayer",420706009,.05),Wm(this,"GvnExternalLayer",420706024,.01),Wm(this,"GvnExternalLayer",420706025,.01),Wm(this,"GvnExternalLayer",420706029,.01),Wm(this,"GvnExternalLayer",420706074,.01),Wm(this,
"GvnExternalLayer",420706075,.01),Wm(this,"GvnExternalLayer",420706076,.01),Wm(this,"GvnExternalLayer",420706077,.01),Wm(this,"GvnExternalLayer",420706078,.01),Wm(this,"GvnExternalLayer",420706079,.01),Wm(this,"GvnExternalLayer",41351073,.01),Wm(this,"GvnExternalLayer",41351074,.01),Wm(this,"GvnExternalLayer",41351075,.01),Wm(this,"GvnExternalLayer",634360101,0),Wm(this,"GvnExternalLayer",634360102,0),Wm(this,"GvnExternalLayer",21592080,.1),Wm(this,"GvnExternalLayer",21592081,.1),Wm(this,"GvnExternalLayer",
21592082,.01),Wm(this,"GvnExternalLayer",413051059,.05),Wm(this,"GvnExternalLayer",413051060,.05),Wm(this,"GvnExternalLayer",324123E3,.05),Wm(this,"GvnExternalLayer",324123001,.05),Wm(this,"GvnExternalLayer",420706068,.01),Wm(this,"GvnExternalLayer",420706069,.01),Wm(this,"ActiveViewExternalLayer",111541710,.1),Wm(this,"ActiveViewExternalLayer",111541711,.1),Wm(this,"GvnExternalLayer",324123020,.01),Wm(this,"GvnExternalLayer",324123021,.01),Bi(!1)&&(Rh(P.top)?(Wm(this,"ActiveViewExternalLayer",509445010,
.01),Wm(this,"ActiveViewExternalLayer",509445011,.01)):(Wm(this,"ActiveViewExternalLayer",509445012,.01),Wm(this,"ActiveViewExternalLayer",509445013,.01))));lda(this);var a;a=Nm();a=ida(a);null!=a&&(this.A=!1,Xm(this,a.map(String)))};
Zm=function(){Ym||(Ym=new mda);return Ym};
nda=function(a,b){a.g=b};
oda=function(){var a=Zm();(0,g.H)(a.o.Bb(),function(a){g.Da(a,"FORCED_PUB_EXP_LAYER_")&&this.o.remove(a)},a)};
Wm=function(a,b,c,d){D(g.E(b))||(0,window.isNaN)(c)||0>=c||(c=new Um(c,0,d),$m(a,b).o.set(c.getId(),c))};
lda=function(a){hda()||(0,g.H)(a.o.fb(),function(a){kda(a)},a)};
Xm=function(a,b){(0,g.H)(b,function(a){var b=Number(a);a="FORCED_PUB_EXP_LAYER_"+a;(0,window.isNaN)(b)||0>=b||D(g.E(a))||($m(this,a).g=new Um(b,0,0,!0))},a)};
an=function(a,b){return a.A?!1:(0,g.Sk)(a.o.fb(),function(a){return!!a.g&&a.g.getId()==b})};
bn=function(a){if(a.A)return"";var b=[];(0,g.H)(a.o.fb(),function(a){(a=a.g)&&a.o&&b.push(a.getId())});
return b.sort().join(",")};
$m=function(a,b){var c=a.o.get(b);null==c&&(c=new Vm(b),a.o.set(b,c));return c};
qda=function(){var a=[],b=Zm();(0,g.H)(pda,function(c){(c=(c=$m(b,c))?c.g:null)&&a.push(c.getId())});
return a};
dn=function(a){return null!=a?cn(rda,a):!1};
cn=function(a,b){try{var c=(new g.$l(b)).o,c=c.replace(/^www./i,"");return(0,g.Sk)(a,function(a){return sda(a,c)})}catch(d){return!1}};
sda=function(a,b){if(D(g.E(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};
fn=function(a){var b=!1;en(a,tda)?b=!1:dn(a)?b=!0:"https:"==window.location.protocol&&(en(a,uda)||Q.g())&&(b=!0);if(b){b=new g.$l(a);if("https"==b.B)return a;am(b,"https");return b.toString()}return a};
en=function(a,b){return(new RegExp("^https?://([a-z0-9-]{1,63}\\.)*("+b.join("|").replace(/\./g,"\\.")+")(:[0-9]+)?([/?#]|$)","i")).test(a)};
gn=function(a){if(D(g.E(a)))return!1;a=new g.$l(a);if(!a.B||"http"!=a.B&&"https"!=a.B)return!1;a=a.o;return-1==a.indexOf(".")||a.match(/^[\.0-9]*$/)?!1:!0};
hn=function(a){D(g.E(a))||window.open(a,"_blank")};
kn=function(a,b,c){null!=a?(g.im(a,"label",b),null!=c&&g.im(a,"value",c.join(";")),a=a.toString()):a="";jn(a)};
ln=function(a,b,c,d){null!=a&&null!=b&&(a=g.Fm(a,b));try{if(null!=c){b=a;var e=(c||{}).viewability||"na";if(D(g.E(e)))a=b;else{var f=new g.$l(b);rm(f.g,"label")?(g.im(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.Fm(c,k);if(2048>l.length){a=l;break a}}a=c}}catch(m){}return a};
jn=function(a,b,c,d){a=ln(a,b,c,void 0);try{a=fn(a);var e=Zm(),f=!Q.g()||an(e,41351089);b=!1;Q.g()||!an(Zm(),634360102)||(b=!0);null!=d&&d?mn.lA(a,f):Q.L?mn.DP(a,f,b):mn.hA(a,f,b)}catch(k){}};
nn=function(a,b){null!=a&&(0,g.H)(a,function(a){jn(a,b)})};
vda=function(a,b){if(D(g.E(b)))return a;var c=new g.$l(a),d=c.o;return null!=d&&Ea(d,".g.doubleclick.net")?(g.im(c,"ged",b),c.toString()):a};
on=function(a,b){this.message=a;this.errorCode=b};
qn=function(a,b,c){return pn("adLoadError",a,b||null,g.qb(arguments,2))};
rn=function(a,b,c){return pn("adPlayError",a,b||null,g.qb(arguments,2))};
sn=function(a,b,c,d,e){var f=a.apply(null,g.lb([c,d],g.qb(arguments,3)));b.dispatchEvent(new Mm("log",null,f))};
tn=function(a,b,c){sn(rn,a,b,c,void 0)};
pn=function(a,b,c,d){if(c instanceof Sm)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 Sm(a,b,e);a.mk=c;return a};
un=function(a,b,c,d){var e=rn.apply(null,g.lb([b,c],g.qb(arguments,3)));a.dispatchEvent(new Lm(e))};
vn=function(a,b){g.Ve.call(this,"vpaidEventType");this.g=a;this.data=b};
wn=function(){return tk()||sk()};
zn=function(){return xn&&!yn||Ka(g.Gb,"iPod")};
An=function(){return zn()||yn};
Dn=function(a){return An()&&Bn(Cn,a)};
Gn=function(a){return g.En&&Bn(Fn,a)};
Bn=function(a,b){if(null==Hn[b]){var c=In(a);c?(c=c.replace(/_/g,"."),Hn[b]=0<=g.Ra(c,b)):Hn[b]=!1}return Hn[b]};
In=function(a){D(Jn)&&(a=a.exec(g.Gb))&&(Jn=a[1]);return Jn};
Kn=function(){var a=g.Gb;return a?Ka(a,"Nintendo WiiU"):!1};
Ln=function(){var a;(a=Ka(g.Gb,"CrKey")||Ka(g.Gb,"PlayStation")||Ka(g.Gb,"Roku"))||(a=(a=g.Gb)?Ka(a,"AppleTV")||Ka(a,"GoogleTV")||Ka(a,"HbbTV")||Ka(a,"NetCast.TV")||Ka(a,"Opera TV")||Ka(a,"POV_TV")||Ka(a,"SMART-TV")||Ka(a,"SmartTV")||Ka(a,"TV Store")||Ka(a,"OMI/")||Ka(a,"Presto")&&Ka(a,"Linux")&&!Ka(a,"X11")&&!Ka(a,"Android")&&!Ka(a,"Mobi"):!1);return a||Ka(g.Gb,"Xbox")};
Mn=function(){var a=Zm();return xn&&!yn&&Dn(10)&&Q.g()&&a.g.g("mweb_enable_skippables_on_iphone")||!Q.g()&&(xn&&!yn&&Dn(10),0)?!0:zn()||g.En&&!Gn(4)||!Q.g()&&Ln()?!1:!0};
Nn=function(){return Q.o||An()&&(xn&&!yn&&Dn(10),!0)||g.En&&!Gn(4)||Ln()?!0:!1};
On=function(){this.reset()};
Pn=function(a,b){null!=b&&a.o!=b?(a.g=1,a.o=b):a.g=null!=b?a.g+1:1;return a.g};
Qn=function(a,b,c,d,e,f){g.z(a)?(this.C="y"==a?b:0,this.B="m"==a?b:0,this.days="d"==a?b:0,this.g="h"==a?b:0,this.o="n"==a?b:0,this.A="s"==a?b:0):(this.C=a||0,this.B=b||0,this.days=c||0,this.g=d||0,this.o=e||0,this.A=f||0)};
g.Tn=function(a,b,c){g.ta(a)?(this.date=Rn(a,b||0,c||1),Sn(this,c||1)):g.va(a)?(this.date=Rn(a.getFullYear(),a.getMonth(),a.getDate()),Sn(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),Sn(this,a))};
Rn=function(a,b,c){b=new Date(a,b,c);0<=a&&100>a&&b.setFullYear(b.getFullYear()-1900);return b};
g.Un=function(a){a=a.getTimezoneOffset();if(0==a)a="Z";else{var b=Math.abs(a)/60,c=Math.floor(b),b=60*(b-c);a=(0<a?"-":"+")+g.Na(c,2)+":"+g.Na(b,2)}return a};
Sn=function(a,b){a.getDate()!=b&&a.date.setUTCHours(a.date.getUTCHours()+(a.getDate()<b?1:-1))};
Vn=function(){this.o=this.g=null};
Xn=function(){this.g=Wn();this.L=-1;this.M=this.N=this.C=this.J=this.o=null;this.B=Wn();this.A=null;this.aa=this.F=this.H="";this.G=this.S=this.ca=this.D=null;this.ba=!1;this.da=0};
Wn=function(){return Math.floor(4503599627370496*Math.random())};
Yn=function(a){null==a.C&&(a.C=new On);return a.C};
Zn=function(a){if(Q.o){var b;return"h.3.0.0"}b="h."+a.aa;null!=a.D&&(b+="/n."+a.D,null!=a.o&&(b+="/"+a.o));return b};
$n=function(){this.g=.01>Math.random();this.o=Math.floor(4503599627370496*Math.random())};
co=function(a,b,c,d){if(a.g||d){c=c||{};c.lid=b;c.sdkv=Zn(ao);b=bn(Zm());D(g.E(b))||(c.e=b);c=wda(a,c);var e=new g.$l("http://pagead2.googlesyndication.com/pagead/gen_204");g.Ib(c,function(a,b){g.im(e,b,null!=a?"boolean"==typeof a?a?"t":"f":""+a:"")},a);
a=bo();am(e,a.B);jn(e.toString())}};
wda=function(a,b){b.id="ima_html5";var c=bo();b.c=a.o;b.domain=c.o;return b};
bo=function(){var a=ne(),b=window.document;return new g.$l(a.parent==a?a.location.href:b.referrer)};
fo=function(){Q.g()||(an(Zm(),420706075)?Q.C=1E4:an(Zm(),420706076)?Q.C=8E3:an(Zm(),420706077)?Q.C=6E3:an(Zm(),420706078)?Q.C=5E3:an(Zm(),420706079)&&(Q.C=4E3));this.Xe=eo()};
eo=function(){return 0<Q.C?Q.C:15E3};
go=function(){g.zf.call(this)};
ho=function(){g.zf.call(this);this.g=new Tl;this.o=null;this.G=new g.sm(this);g.N(this,this.G);this.C="";this.B=this.H=this.A=null;this.F=-1};
jo=function(){null!=io||(io=new ho);return io};
ko=function(a,b){var c={};c.queryId=a;c.viewabilityString=b;jo().dispatchEvent(new Mm("measurable_impression",null,c))};
lo=function(a,b){var c={};c.queryId=a;c.viewabilityString=b;jo().dispatchEvent(new Mm("viewable_impression",null,c))};
mo=function(a,b,c){var d={};d.queryId=a;d.viewabilityString=b;d.eventName=c;jo().dispatchEvent(new Mm("externalActivityEvent",null,d))};
xda=function(a,b){if(a.o)if(a.B){var c=(0,g.G)()-a.F;b(a.B+"_ct"+c)}else{var d=a.g,c=window.setTimeout(function(){b("timeout");(0,g.H)(d.Bb(),function(a){d.get(a)===b&&d.remove(a)})},200);
a.g.set(c,b);var e={};e.osdId=a.C;e.eventId=c;$n.getInstance().isLoggingEnabled()&&(a.D=(0,g.G)(),e.loggingId=Math.random(),co($n.getInstance(),43,{step:"sendingMessage",logid:e.loggingId,time:a.D}));a.o.send("activityMonitor","fetchAdTagUrl",e)}else b("")};
yda=function(a,b,c,d){if(a.o){var e={};e.queryId=c;e.vastEvent=b;a.C&&(e.osdId=a.C);e.isOverlay=null!=a.A;a.A&&(e.overlayBounds=g.xh(a.A));var f=a.g;b=window.setTimeout(function(){d({viewability:"timeout"});(0,g.H)(f.Bb(),function(a){f.get(a)===d&&f.remove(a)})},200);
a.g.set(b,d);e.eventId=b;a.o.send("activityMonitor","reportVastEvent",e)}else d({})};
no=function(){};
qo=function(a,b){if(null==a||0>=a.width||0>=a.height)throw rn(oo,null,"ad slot size",a.toString());this.o=a;this.g=null!=b?b:new no;this.C=po(zda,this.g.A)?this.g.A:"All";this.B=po(Ada,this.g.creativeType)?this.g.creativeType:"All";this.F=po(Bda,this.g.B)?this.g.B:"SelectExactMatch";this.G=po(Cda,this.g.o)?this.g.o:"DisallowResize";this.A=null!=this.g.C?this.g.C:[];this.D=g.ta(this.g.g)&&0<this.g.g&&100>=this.g.g?this.g.g:90};
so=function(a,b){var c=[];(0,g.H)(b,function(a){a.Kw()&&((0,window.isNaN)(a.g.g)||(0,window.isNaN)(a.Up())||a.Up()==a.g.g)&&ro(this,a)?c.push(a):(a=Dda(this,a),null!=a&&a.Kw()&&c.push(a))},a);
return c};
ro=function(a,b){var c;if(c="Flash"!=b.ed()||to){if(c="All"==a.C||a.C==b.g.M)c=b.ed(),c=null!=c?"All"==a.B||a.B==c:!0;c&&(c=b.o,c=g.db(a.A)?!0:null!=c?0<=(0,g.bb)(a.A,c):!1)}if(c){var d=b.Sm();if("IgnoreSize"==a.F||g.Zd(a.o,d))c=!0;else if(c="SelectNearMatch"==a.F)"ResizeSmaller"==a.G&&(d=d.width<=a.o.width&&d.height<=a.o.height?d:uo(d,a.o)),c=d.width,d=d.height,c=c>a.o.width||d>a.o.height||c<a.D/100*a.o.width||d<a.D/100*a.o.height?!1:!0}else c=!1;return c};
Dda=function(a,b){var c=b.A;return null!=c?g.Za(c,function(a){return ro(this,a)},a):null};
uo=function(a,b){var c=Math.min(b.width/a.width,b.height/a.height);return new g.Yd(c*a.width,c*a.height)};
po=function(a,b){return null!=b&&Mb(a,b)};
vo=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)};
Eda=function(a){var b={};(0,g.H)(a.split(","),function(a){var c=a.split("=");2==c.length&&(a=Pa(c[0]),c=Pa(c[1]),0<a.length&&(b[a]=c))});
return b};
xo=function(a,b){if(a[b])return wo(a[b]);var c=b.toLowerCase(),d;for(d in a)if(d&&d.toLowerCase()==c)return wo(a[d]);return!1};
wo=function(a){return a?-1!=a.toString().search(/(?:true|1)/i):!1};
Fda=function(){this.g=this.Rf=1;this.o=this.B=0;this.A=1};
yo=function(){g.zf.call(this);this.g=null;this.D=new g.sm(this);g.N(this,this.D);this.o=new Tl;this.F=new Tl;this.B=null;this.A=!1;this.C=null};
Ao=function(){null!=zo||(zo=new yo);return zo};
Co=function(a){if(null==a)return!1;if(zn()&&null!=a.webkitDisplayingFullscreen)return a.webkitDisplayingFullscreen;var b=window.screen.availWidth||window.screen.width,c=window.screen.availHeight||window.screen.height;a=Bo(a);return 0>=b-a.width&&42>=c-a.height};
Bo=function(a){return g.ua(a.getBoundingClientRect)&&g.Fe(g.ae(a),a)?a.getBoundingClientRect():{left:a.offsetLeft,top:a.offsetTop,width:a.offsetWidth,height:a.offsetHeight}};
Do=function(a,b,c,d,e){if(a.A){if(a.C)return a.C(b,c,e);e=e||{};if(d=d?a.F.get(d):Q.H)null!=e.opt_fullscreen||(e.opt_fullscreen=Co(d)),null!=e.opt_adElement||(e.opt_adElement=d);a.B&&(Q.o&&(e.opt_overlayAdElement=a.B),null!=e.opt_bounds||(e.opt_bounds=Bo(a.B)));return hj("lidar::handlevast_html5",g.ya(Jl,b,c,e))||{}}return{}};
Eo=function(a,b){var c=[];a.o.forEach(g.ya(function(a,b,c,k){c==b&&a.push(k)},c,b));
(0,g.H)(c,a.o.remove,a.o)};
Fo=function(a){if(g.ua(window.Goog_AdSense_Lidar_getUrlSignalsArray)){var b={};b.pageSignals=window.Goog_AdSense_Lidar_getUrlSignalsArray();a.g.send("activityMonitor","pageSignals",b)}};
Gda=function(){if(!(na.ima&&na.ima.video&&na.ima.video.client&&na.ima.video.client.tagged)){g.u("ima.video.client.sdkTag",!0,void 0);var a=na.document,b=a.createElement("script"),c=a.location.protocol;"http:"!=c&&"https:"!=c&&(c="");b.src=c+"//s0.2mdn.net/instream/video/client.js";b.async=!0;b.type="text/javascript";a=a.getElementsByTagName("script")[0];a.parentNode.insertBefore(b,a)}};
Hda=function(a,b,c){if(!Q.J)return"";var d=b?a.F.get(b):Q.H;a={};null!=c&&(a.fullscreen=c);c="";try{c=vba(function(){return d},a)}catch(e){c="sdktle;"+Ia(e.name,12)+";"+Ia(e.message,40)}return c};
Go=function(a,b){g.Ve.call(this,a);this.g=b};
Ho=function(a,b){this.H=a;this.G=(0,g.I)(b,function(a){return a.clone()});
this.F="";this.g=null;this.o=this.B=0;this.A=!0;this.D=[];this.C=[]};
Io=function(a,b,c,d,e){a.F="<div></div>";a.g=b;a.B=c;a.o=d;a.A=!1;a.D=e||[];a.C=[]};
Jo=function(a){a.F="";a.g=null;a.B=0;a.o=0;a.A=!0;a.D=[];a.C=[]};
Ko=function(a){g.Ve.call(this,a)};
Lo=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.Pb(b,"thumbnails","default","url"));if(b=a.statistics)this.videoCount=b.videoCount;if(a=a.brandingSettings)this.g=g.Pb(a,"image","bannerImageUrl")}};
g.Mo=function(a){this.g="number"==typeof a?0<a?1:0>a?-1:null:null==a?null:a?-1:1};
g.No=function(a,b){var c=a.o(b,void 0);return-1==(0==c?a.g:c)?"rtl":"ltr"};
Oo=function(){throw Error("Do not instantiate directly");};
Po=function(a,b){this.content=String(a);this.eg=null!=b?b:null};
Qo=function(){Oo.call(this)};
Ro=function(){Oo.call(this)};
So=function(){Oo.call(this)};
To=function(){Oo.call(this)};
Uo=function(){Oo.call(this)};
Vo=function(){Oo.call(this)};
Wo=function(a,b){return null!=a&&a.rf===b};
Xo=function(a){if(null!=a)switch(a.eg){case 1:return 1;case -1:return-1;case 0:return 0}return null};
R=function(a){return null!=a&&a.rf===Yo?a:a instanceof g.Id?Zo(g.Jd(a),a.Gi()):Zo(Ha(String(String(a))),Xo(a))};
$o=function(a){function b(a){this.content=a}
b.prototype=a.prototype;return function(a){return new b(String(a))}};
cp=function(a,b,c){var d="key_"+a+":"+b,e=ap[d];if(void 0===e||0>e)ap[d]=0,bp[d]=c;else if(0==e)throw Error('Encountered two active delegates with the same priority ("'+a+":"+b+'").');};
dp=function(a,b){var c=bp["key_"+a+":"+b];c||""==b||(c=bp["key_"+a+":"]);return c?c:Ida;throw Error('Found no active impl for delegate call to "'+a+":"+b+'" (and not allowemptydefault="true").');};
Ida=function(){return""};
hp=function(a){return Wo(a,Yo)?String(String(a.dd()).replace(ep,"").replace(fp,"&lt;")).replace(Jda,gp):Ha(String(a))};
ip=function(a){return Wo(a,Yo)?String(String(a.dd()).replace(ep,"").replace(fp,"&lt;")).replace(Kda,gp):String(a).replace(Lda,gp)};
Mda=function(a){return"%"+a.charCodeAt(0).toString(16)};
kp=function(a){a=g.Fa(String(a));jp.lastIndex=0;return jp.test(a)?a.replace(jp,Mda):a};
qp=function(a){Wo(a,lp)||Wo(a,mp)?a=np(a):a instanceof Cd?a=np(Dd(a)):a instanceof yd?a=np(zd(a)):(a=String(a),a=Nda.test(a)?a.replace(op,pp):"about:invalid#zSoyz");return a};
rp=function(a){Wo(a,lp)||Wo(a,mp)?a=np(a):a instanceof Cd?a=np(Dd(a)):a instanceof yd?a=np(zd(a)):(a=String(a),a=Oda.test(a)?a.replace(op,pp):"about:invalid#zSoyz");return a};
tp=function(a){var b=sp[1]||(sp[1]=new g.Mo(1)),c=Xo(a);null==c&&(c=wd(a+"",Wo(a,Yo)));return Pda(c!=b.g?-1==c?'dir="rtl"':1==c?'dir="ltr"':"":"")};
gp=function(a){return Qda[a]};
pp=function(a){return Rda[a]};
np=function(a){return String(a).replace(op,pp)};
Sda=function(a){return'<div class="text-container '+(a.image?"pyv":"")+'"><div class="text-inner-container">'+(a.image?(a.Fc?'<a class="text-image-link" target="_blank" href="'+R(a.Fc)+'">':'<a class="text-image-link" target="_blank">')+'<img src="'+R(a.image)+'" class="text-image '+(a.QA?"yt-video-image":"")+'">'+(a.duration?'<div class="text-image-duration">'+R(a.duration)+"</div>":"")+"</a>":"")+(a.Fc?'<a class="text-title" href="'+R(a.Fc)+'" target="_blank" dir='+R(a.dir)+">"+R(a.title)+"</a>":
"")+'<div class="text-description" dir='+R(a.dir)+">"+R(a.text)+"</div>"+(a.RA&&a.Fc?'<a target="_blank" href="'+R(a.Fc)+'" class="text-ad-channel">'+R(a.RA)+"</a>":"")+"</div></div>"};
Tda=function(a){return'<div class="flash-container '+(a.capture?"click-capture":"")+'">'+(a.Fc?'<a class="click-layer" target="_blank" href="'+R(a.Fc)+'"></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="'+R(a.width)+'" height="'+R(a.height)+'"><param name="movie" value="'+R(a.url)+'"><param name="quality" value="high"><param name="wmode" value="transparent"><param name="AllowScriptAccess" value="never"><param name="FlashVars" value="clickTAG='+
kp(a.Fc)+'"><embed width="'+R(a.width)+'" height="'+R(a.height)+'" wmode="transparent" type="application/x-shockwave-flash" src="'+R(a.url)+'" allowscriptaccess="never" pluginspage="//www.macromedia.com/go/getflashplayer" flashvars="clickTAG='+kp(a.Fc)+'"></object></div>'};
Uda=function(a){return'<div class="image-container" id="'+R(a.id)+'" style="width:'+R(a.width)+";height:"+R(a.height)+';">'+(a.Fc?'<a target="_blank" href="'+R(a.Fc)+'">':'<a target="_blank">')+'<img src="'+R(a.url)+'" border="0"></a></div>'};
Vda=function(a){return'<div class="image-container" id="'+R(a.id)+'">'+(a.Fc?'<a target="_blank" href="'+R(a.Fc)+'">':'<a target="_blank">')+'<img src="'+R(a.url)+'" border="0" style="max-width:100%;max-height:100%;"></a></div>'};
up=function(a){return'<div class="image-container" id="'+R(a.id)+'" style="width:'+R(a.width)+";height:"+R(a.height)+';"></div>'};
vp=function(){this.g=new Tl};
wp=function(a,b){this.A=a;this.g=b};
xp=function(a,b){wp.call(this,"progress",a);this.o=b};
zp=function(a,b){(0,g.H)(b,function(a){var b=a.Wb().toLowerCase(),c=yp(this,b);c.push(a);this.g.set(b,c)},a)};
Ap=function(a,b,c,d){b=b.toLowerCase();c=null!=d?new xp(c,d):new wp(b,c);d=yp(a,b);d.push(c);a.g.set(b,d)};
yp=function(a,b){return null!=b?a.g.get(b.toLowerCase(),[]):[]};
Wda=function(a,b){var c=yp(a,"progress");(0,g.H)(c,function(a){Bp(a.o,b)});
g.xb(c,function(a,b){return Cp(a.o)-Cp(b.o)})};
Dp=function(a,b){return(0,g.I)(yp(a,b),function(a){return a.g})};
Ep=function(){this.ka=-1;this.G={};this.sa="";this.Wi=new vp};
Fp=function(a,b,c){a.sa=b;a.G=c};
Gp=function(a,b){var c=[],d=a.Am();(0,g.H)(d,function(a){a=yp(a.Wi,b)||[];c=g.lb(a,c)},a);
return c};
Hp=function(a,b,c){var d=c||!1;return g.Za(b.F,function(a){var b=a.g==this.g;return a instanceof this.constructor&&(d||b)},a)};
Jp=function(a,b,c,d,e,f,k,l,m,n){this.B=a;this.g=b;this.F=c;(0,window.isNaN)(d)&&(0,window.isNaN)(e)&&(0,window.isNaN)(f)?f=e=0:(0,window.isNaN)(e)&&!(0,window.isNaN)(f)?e=f:!(0,window.isNaN)(e)&&(0,window.isNaN)(f)?f=e:!(0,window.isNaN)(d)&&(0,window.isNaN)(e)&&(0,window.isNaN)(f)&&(e=f=d);this.Wg=e;this.Hf=f;this.D=k;this.C=l;this.o=fn(g.E(m));this.A=n};
Kp=function(a,b,c,d,e,f){Ep.call(this);this.ka=a;this.B=b;this.A=c;this.o=g.nb(d);this.C=null;this.D=e;this.Za=g.nb(f);sb(this.Za,null,function(a){return a.L})};
Lp=function(a){var b=new Tl,c=a.Am();(0,g.H)(c,function(a){if(a instanceof Kp){var c=a.A;(0,g.H)(c.Bb(),function(a){b.set(a,g.lb(c.get(a),b.get(a)||[]))},this)}},a);
return b};
Np=function(a){return Mp(a,"x-shockwave-flash")};
Mp=function(a,b){var c=g.Za(a.o,function(a){return!D(g.E(a.g))&&-1!=a.g.indexOf(b)&&("VPAID"==a.A||"surveys"==a.A)});
return null!=c?c:null};
Pp=function(a,b,c,d,e){Ep.call(this);D(g.E(a))&&(a=Ta()+"_ima");this.za=g.E(a);this.Ja=b;this.M=c;this.ra=d;this.A=e;this.L=[];null!=this.ra?this.ca=Op[this.ra]||"Other":this.ca=null};
Qp=function(a,b,c){g.M.call(this);this.o=a;this.C=b;this.J=c;this.B=0;this.g={};this.A=new g.sm(this);g.N(this,this.A);Xda(this)};
Xda=function(a){(0,g.H)(a.J,function(a){this.A.T(a.element,"mousedown",this.F,!0);this.A.T(a.element,"mouseup",g.ya(this.H,a),!0)},a);
a.A.T(a.C,"mouseenter",a.G)};
Yda=function(a,b){g.Ib(a.g,function(a,d){b=Lg(b,d,a)});
return b};
Rp=function(a,b,c,d,e){Pp.call(this,a,b,c,d,e);this.La=this.B=null;this.Ea=-2;this.o=null;this.fa=this.aa=g.y;this.ba=[];this.Ta=[];this.D=!1;this.bb=null};
Up=function(a,b){a.o=b;null!=a.B&&null!=b&&(Sp(a,a.aa),Tp(a,a.fa))};
Sp=function(a,b){null!=a.o&&null!=a.B&&(0,g.H)(a.ba,function(a){this.o.Ba(a,"click",this.aa);!D(g.E(this.Ue()))&&this.o.T(a,"click",b)},a);
a.aa=b};
Tp=function(a,b){null!=a.o&&null!=a.B&&(a.o.Ba(a.B,"creativeview",a.fa),a.o.T(a.B,"creativeview",b));a.fa=b};
Vp=function(a,b){var c=a.za,d={};d.style="cursor:default;position:relative;z-index:1001;height:"+a.getHeight()+"px;";"Text"!=a.ed()&&(d.style+="width:"+a.Db()+"px");D(g.E(c))||(d.id=c);return g.pe("DIV",d,b)};
Wp=function(a){if(!a.D)return null;var b=Gp(a,"start");ob(b,Gp(a,"creativeview"));if(null!=b&&!g.db(b)){var c=[];(0,g.H)(b,function(a){if(!D(g.E(a))){var b;b=g.ce().qG("IFRAME",{frameborder:0,style:"border:0;vertical-align:bottom;",src:Zda});g.dh(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",fn(a.g));b.setAttribute("id",d);this.Ta.push(d);g.gb(c,b)}},a);
return c}return null};
$da=function(a,b){if(null!=a.B)if(Zm().g.g("cleanup_text_overlay_spam_signals")){var c=[];(0,g.H)(a.ba,function(a){c.push({element:a,CF:this.Pp(a)})},a);
new Qp(b,a.B,c)}else c=new Tl,(0,g.H)(a.ba,function(a){c.set(a,this.Pp(a))},a),new Am(b,a.B,c)};
aea=function(a){var b=[],c=a.Am();(0,g.H)(c,function(a){b=g.lb(b,a.L)},a);
return b};
Xp=function(a,b,c){var d=c||!1;return g.Za(b.F,function(a){var b=a.g==this.g;return this instanceof a.constructor&&(d||b)},a)};
Yp=function(a,b){this.g=null!=a?a:new vp;this.H=null!=b?b:[]};
bea=function(a,b){var c=b.g;(0,g.H)(c.Bb(),function(a){zp(this.g,c.get(a))},a)};
Zp=function(a,b){var c=Dp(a.g,b);return null!=c?c:[]};
g.$p=function(a){if(a.classList)return a.classList;a=a.className;return g.z(a)&&a.match(/\S+/g)||[]};
g.aq=function(a,b){return a.classList?a.classList.contains(b):g.cb(g.$p(a),b)};
g.S=function(a,b){a.classList?a.classList.add(b):g.aq(a,b)||(a.className+=0<a.className.length?" "+b:b)};
g.bq=function(a,b){if(a.classList)(0,g.H)(b,function(b){g.S(a,b)});
else{var c={};(0,g.H)(g.$p(a),function(a){c[a]=!0});
(0,g.H)(b,function(a){c[a]=!0});
a.className="";for(var d in c)a.className+=0<a.className.length?" "+d:d}};
g.cq=function(a,b){a.classList?a.classList.remove(b):g.aq(a,b)&&(a.className=(0,g.Ae)(g.$p(a),function(a){return a!=b}).join(" "))};
g.dq=function(a,b){a.classList?(0,g.H)(b,function(b){g.cq(a,b)}):a.className=(0,g.Ae)(g.$p(a),function(a){return!g.cb(b,a)}).join(" ")};
g.T=function(a,b,c){c?g.S(a,b):g.cq(a,b)};
g.eq=function(a,b,c){g.aq(a,b)&&(g.cq(a,b),g.S(a,c))};
g.fq=function(a,b){var c=!g.aq(a,b);g.T(a,b,c);return c};
gq=function(a,b){var c;var d=a(b||cea,void 0,void 0);c=g.ce().createElement("DIV");d=dea(d);c.innerHTML=d;1==c.childNodes.length&&(d=c.firstChild,1==d.nodeType&&(c=d));return c};
dea=function(a){if(!g.va(a))return String(a);if(a instanceof Oo){if(a.rf===Yo)return a.dd();if(a.rf===hq)return Ha(a.dd())}return"zSoyz"};
iq=function(a,b){Rp.call(this,a,b,"Static","text","")};
jq=function(a){null!=a?cn(eea,a)?(a=a.match(/yt_vid\/([a-zA-Z0-9_-]{11})/),a=null!=a&&1<a.length?a[1]:null):a=dn(a)?fea(a):null:a=null;return a};
kq=function(a,b,c){if(null==a)return null;c=new g.$l((null!=c?c:"//www.youtube.com/")+"watch");var d=c.g;d.set("v",a);d.set("feature",b?"trueview-instream":"instream");em(c,d);return c.toString()};
lq=function(a){a=null!=a?a:{};var b=new g.$l("//www.youtube.com/gen_204");am(b,"https");a=pm(a);em(b,a);return b.toString()};
mq=function(a){return null===a?!1:"pharma"==(new g.$l(a)).Gh().toLowerCase()};
fea=function(a){if(D(g.E(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.$l(a)).g;return rm(a,"v")?a.get("v").toString():rm(a,"video_id")?a.get("video_id").toString():null};
nq=function(a){return D(g.E(a))?null:"//i1.ytimg.com/vi/"+a+"/mqdefault.jpg"};
tq=function(a,b,c){var d={};a=new oq(a,g.t(b)?b:null,g.t(c)?c:null);pq(d,a);b=a.error;d.ERRORCODE=1E3>b.o?b.o:900;qq(d);rq(d,a);sq(d,a);b=a.error.Nb();d.ERROR_MSG=a.error.rd();d.IMA_ERROR=b;d.INTERNAL_ID="0";d.BLOCKING_ERROR=-1!=(0,g.bb)(gea,b)?"1":"0";d.YT_ERROR_CODE=3;return d};
uq=function(a,b){var c={},d=new oq(null,a,g.t(b)?b:null);pq(c,d);qq(c);rq(c,d);sq(c,d);c.BREAK_TYPE="0";c.SLOT_POS="0";c.MIDROLL_POS="0";if(null!=d.g){var e=d.g.A;if(null!=e&&null!=e.vh&&null!=e.vh.video_start_delay)e=e.vh.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.C;c.BREAK_TYPE=0==e.B?"1":-1==e.B?"3":"2";var f=d.g.Pe();f&&(c.BREAK_TYPE=f);c.SLOT_POS=e.g-1;e=d.g.A;e=null!=e&&null!=e.zc&&null!=e.zc.GET_MIDROLL_POSITION_IN_SEC?e.zc.GET_MIDROLL_POSITION_IN_SEC:
null;f=Math.round(d.g.C.o);e=0<f&&e?e(f):f;0<e&&(c.MIDROLL_POS=e)}}hea(c,d);iea(c,d);d=a.qb;for(e=a;null!=e;)d=e.Qa+","+d,e=e.o;c.RWT=d;return c};
oq=function(a,b,c){this.error=a;this.g=b;this.o=c};
vq=function(a,b){null!=b&&(a.VIEWABILITY=b)};
wq=function(a,b,c,d){jea(c,b)?a[c]=d||"":a[c]=""};
jea=function(a,b){return(0,g.Sk)(kea[a],function(a){return null!=b.match(a)})};
pq=function(a,b){a.CACHEBUSTING={toString:function(){return Math.round(1E8*Math.random()+1E8).toString().slice(1)}};
a.ASSETURI={toString:function(){return null!=b.o?b.o.getVideoUrl():""}};
a.TIMESTAMP={toString:function(){return(new Date).toISOString()}}};
iea=function(a,b){a.AD_CPN={toString:function(){return b.o.ue()}};
a.AD_MT={toString:function(){return Math.round(Math.max(0,1E3*b.o.getCurrentTime())).toString()}};
a.MT={toString:function(){return b.o?Math.round(Math.max(0,1E3*b.o.getCurrentTime(1))).toString():"0"}};
a.P_W={toString:function(){return null!=b.o&&null!=b.o.Cf()?b.o.Cf().width.toString():""}};
a.P_H={toString:function(){return null!=b.o&&null!=b.o.Cf()?b.o.Cf().height.toString():""}}};
qq=function(a){a.SDKV=Zn(ao);a.EL="adunit";a.CONN="0";a.WT={toString:function(){return Date.now()}}};
rq=function(a,b){if(null!=b.g&&null!=b.g.A&&null!=b.g.A.zc&&Q.g()){var c=b.g.A.zc;(0,g.H)(lea,function(b){b in c&&(a[b]=c[b])})}};
sq=function(a,b){if(null!=b.g){a.AD_ID=mea(b.g);a.AD_SYS=nea(b.g);var c=xq(b.g);a.AQI=null!=c?c:"";a.AD_V={toString:function(){if(null!=b.o){var a=jq(b.o.getVideoUrl());if(null!=a)return a}return"0"}};
a.FORMAT_NAMESPACE="0";a.FORMAT_TYPE="0";a.FORMAT_SUBTYPE="0";c=[];try{c=yq(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"}};
hea=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.o?b.o.Ui()?"0":Math.round(100*b.o.getVolume()).toString():""}})};
Bq=function(a,b,c){var d=null,e=c+b;(0,g.H)(a.F,function(f){if(xo(f.G,"rm")){var k=uq(a);zq(a)&&(k.FILLED_OPPORTUNITY=0);nn(a.S,k);(k=a.A)&&k.afcRmFallback&&(d=f)}else{if(k=f instanceof Rp)0==c&&0==b||f instanceof iq?k=!0:(k=f.Ve(),k=k.width<=b&&k.height<=c);k&&(k=0==c&&0==b?0:c-f.Ve().height+b-f.Ve().width,"Flash"!=f.ed()||to)&&(null!=d?k<e?(d=f,e=k):k==e&&("Flash"==d.ed()&&"Javascript"==f.ed()?d=f:f.g<d.g&&(d=f)):(d=f,e=k))}});
Aq(a,d)};
Cq=function(a){var b=null;(0,g.H)(a.F,function(a){a instanceof Kp&&(null===b||a.g<b.g)&&(b=a)});
Aq(a,b)};
Dq=function(a,b,c,d){this.B=a;this.F=b;this.ads=0<this.B.length?this.B:this.F;this.D=c;this.C=this.G=!0;this.o=-1;this.g=null;this.J=this.A=0;this.L=d;this.logger=null};
Hq=function(a,b,c){var d=[],e=(0,g.A)(function(a){this.zf()?this.Oe(function(a){d.push(a);e(null)},function(a){301==a.Nb()?c(qn(Eq)):e(a)}):0<d.length?b(d):(null==a&&(a=qn(Fq)),1012==a.Nb()&&(a=qn(Gq)),c(a))},a);
e(null)};
oea=function(a,b){a.C=b;a.ads=a.Nv(a.B,a.F);a.o=-1};
pea=function(a,b,c,d){var e=a.D.clone();e.o="";e.g=b.Mb;Iq(a,b,e,c,d)};
Iq=function(a,b,c,d,e){var f=b.getExtension("LocalRedirect");null!=f&&(f=f.A,null!=f&&(c.o=f));a.L.fetch(c,(0,g.A)(function(a){a instanceof Dq?(qea(a,b,this.C&&b.tb,b.wb),d(a)):a instanceof Jq?e(new Sm("adLoadError","Ad source cannot contain playlist response.",2)):e(new Sm("adLoadError","Unknown ad source.",2))},a),e)};
rea=function(a){var b=0;for(a=a.o;null!=a;)a=a.o,b++;return b};
sea=function(a,b,c){a.g.zf()?a.g.Oe((0,g.A)(function(a){this.An(a,b,(0,g.A)(function(a){this.zf()?this.Oe(b,c):c(a)},this))},a),(0,g.A)(function(a){Kq(this.ads[this.o],a);
this.g=null;Q.g()||301!=a.Nb()?this.zf()?this.Oe(b,c):c(a):c(a)},a)):(0==a.g.A&&Kq(a.ads[a.o],qn(Lq)),a.g=null,a.Oe(b,c))};
Kq=function(a,b){if(b.A){1012==b.Nb()&&(b=qn(Gq));var c=tq(b,a);nn(a.na,c)}};
vea=function(a,b,c){a.o++;var d=a.ads[a.o];d.La||d.fa?d.fa?pea(a,d,(0,g.A)(function(a){this.g=a;this.Oe(b,c)},a),(0,g.A)(function(a){a=Mq(a);
Kq(d,a);c(a)},a)):rea(d)>=Q.N?(a=qn(tea,null,String(Q.N)),Kq(d,a),c(a)):a.G?a.Or(d,(0,g.A)(function(a){this.g=a;
this.Oe(b,c)},a),(0,g.A)(function(a){a=Mq(a);
Kq(d,a);c(a)},a)):c(qn(uea)):a.An(d,b,c)};
Mq=function(a){switch(a.Nb()){case 300:case 301:case 302:case 303:case 200:case 1012:break;default:a=qn(Lq)}return a};
qea=function(a,b,c,d){(0,g.H)(a.ads,function(a){a.o=b});
oea(a,c);a.G=d};
Nq=function(a){Yp.call(this);this.o=(0,window.isNaN)(a)?-1:a};
Oq=function(a,b,c,d){Dq.call(this,[],a,b,c);this.H=d};
Pq=function(a){var b=a.ads.length-a.o-1;return null!=a.g&&a.g instanceof Oq?b+Pq(a.g):b};
Qq=function(a){g.$l.call(this,a);this.F=new Tl;a=this.A;var b=a.indexOf(";"),c=null;0<=b?(g.dm(this,a.substring(0,b)),c=a.substring(b+1)):g.dm(this,a);wea(this,c)};
wea=function(a,b){D(g.E(b))||(0,g.H)(b.split(";"),function(a){var b=a.indexOf("=");if(0<b){var c=Ga(a.substring(0,b));a=Ga(a.substring(b+1));b=this.F.get(c);null!=b?g.cb(b,a)||b.push(a):b=[g.E(a)];this.F.set(c,b)}},a)};
Rq=function(a,b){if(D(g.E(b)))return null;var c=a.F.get(b);return null!=c?c:null};
Sq=function(a,b,c){D(g.E(b))||(c=g.I(c,g.E),a.F.set(b,c))};
Tq=function(a,b){var c=[g.E(b)];ob(c,xea(a));return c.join(";")};
xea=function(a){var b=Rq(a,"ord");null!=b?D(g.E("ord"))||a.F.remove("ord"):b=[g.E((0,g.G)())];var c=[];(0,g.H)(a.F.Bb(),function(a){(0,g.H)(this.F.get(a),function(b){ob(c,a+"="+b)})},a);
ob(c,"ord="+b[0]);Sq(a,"ord",b);return c};
Vq=function(a){if(null==a)return!1;a=new g.$l(a);var b=a.A;return Ea(a.o,"googleads.g.doubleclick.net")&&Uq("/pagead/(live/)?ads",b)};
Wq=function(a){a=a.g;return null!=a?"bid.g.doubleclick.net"==(new g.$l(a)).o:!1};
Xq=function(a){if(null==a)return!1;var b=new Qq(a);a=b.o;b=Tq(b,b.A);return!Ea(a,".g.doubleclick.net")&&Ea(a,"doubleclick.net")&&Uq("/(ad|pfad)[x|i|j]?/",b)};
Yq=function(a){if(null==a)return!1;a=new g.$l(a);var b=a.A;return Ea(a.o,"doubleclick.net")&&Uq("/gampad/(live/)?ads",b)};
yea=function(a){return Vq(a.g)||Xq(a.g)||Yq(a.g)||Wq(a)};
Zq=function(a){a=a.g;if(null==a)return!1;a=new g.$l(a);var b=a.A;return Ea(a.o,"youtube.com")&&Uq("/get_midroll_info",b)};
zea=function(a){a=a.g;if(null==a)return null;a=(new g.$l(a)).g;return null!=a.get("ms")?g.E(a.get("ms")):null};
Uq=function(a,b){return D(g.E(b))?!1:(new RegExp(a)).test(b)};
$q=function(a,b,c,d){this.g=a;this.A=b;this.o=c;this.B=null!=d?d:!1};
ar=function(a,b){a.g.H=b;(0,g.H)(a.A,function(a){ar(a,b)},a)};
br=function(a){return Zo('<div class="iv-endcap-background"><div class="iv-endcap-slot"><div class="iv-endcap-card"><a class="iv-endcap-image" href="'+hp(qp(a.target))+'" target="_blank"><img src="'+hp(rp(a.image))+'"></a><div class="iv-endcap-text" dir='+ip(a.dir)+'><a href="'+hp(qp(a.target))+'" target="_blank"><div class="iv-endcap-headline">'+R(a.headline)+'</div><div class="iv-endcap-description">'+R(a.description)+'</div></a></div><a class="iv-endcap-action" href="'+hp(qp(a.target))+'" target="_blank" dir='+
ip(a.dir)+">"+(a.action?R(a.action):'<span class="iv-endcap-action-icon"></span>')+'</a></div></div><div class="iv-endcap-bottom"><svg class="iv-endcap-countdown" viewBox="0 0 20 20"><circle class="iv-endcap-countdown-inner" r="5" cx="10" cy="10" /><circle class="iv-endcap-countdown-outer" r="10" cx="10" cy="10" /></svg></div></div>')};
Aea=function(){var a=Aa("Next");return Zo(""+a)};
Bea=function(){var a=Aa("Previous");return Zo(""+a)};
Cea=function(a){var b='<div class="iv-cards-companion"><div class="iv-cards-attribution"><span class="yt-badge yt-badge-ad">'+cr()+"</span>";if(a.Cu&&a.Fc)var c=Aa("Shop products from {$advertiserName}",{advertiserName:R(a.Cu)}),b=b+('<a class="ad-companion-clickthrough" href="'+hp(qp(a.Fc))+'" target="_blank">'+c+"</a>");for(var b=b+('<div class="yt-uix-hovercard ad-info-container"><span class="yt-uix-hovercard-target" data-position="topright" data-orientation="horizontal"><span class="ad-info-icon"></span></span><div class="yt-uix-hovercard-content"><p>'+
R(a.ge)+'</p></div></div></div><div class="iv-cards-slider"><div class="iv-cards-slider-body"><ul class="iv-cards-slider-list">'),c=a.cards,d=c.length,e=0;e<d;e++){var f;f=c[e];f=Zo('<div class="iv-cards-slider-unit"><a href="'+hp(qp(f.target))+'" target="_blank"><div class="iv-cards-slider-image"><span class="iv-cards-image-helper"></span><img src="'+hp(rp(f.image))+'"></div><div class="yt-ui-ellipsis yt-ui-ellipsis-4 iv-cards-slider-text">'+R(f.headline)+'</div><span class="iv-cards-slider-action">'+
R(f.action)+"</span></a></div>");b+='<li class="iv-cards-slider-item">'+f+"</li>"}b+="</ul></div>"+(a.wP?'<button class="iv-cards-slider-button iv-cards-slider-prev" type="button" onclick=";return false;"><span class="iv-cards-slider-prev-icon yt-uix-tooltip yt-sprite" data-tooltip-text="'+hp(a.Kz)+'" title="'+hp(a.Kz)+'" /></button><button class="iv-cards-slider-button iv-cards-slider-next" type="button" onclick=";return false;"><span class="iv-cards-slider-next-icon yt-uix-tooltip yt-sprite" data-tooltip-text="'+
hp(a.zy)+'" title="'+hp(a.zy)+'"></span></button>':"")+"</div></div>";return Zo(b)};
Dea=function(a){return Zo('<div class="iv-website-companion"><div class="yt-uix-hovercard ad-info-container iv-website-companion-ad-info"><span class="yt-uix-hovercard-target" data-position="topright" data-orientation="horizontal"><span class="ad-info-icon"></span></span><div class="yt-uix-hovercard-content"><p>'+R(a.ge)+'</p></div></div><a href="'+hp(qp(a.target))+'" target="_blank">'+(a.Mu?'<img class="iv-website-companion-banner" src="'+hp(rp(a.Mu))+'">':"")+'<div class="iv-website-companion-block"><div class="iv-website-companion-icon"><img src="'+
hp(rp(a.yH))+'"></div><div class="iv-website-companion-text"><div class="iv-website-companion-header">'+R(a.headline)+'</div><div class="iv-website-companion-desc"><span class="yt-badge yt-badge-ad">'+cr()+'</span><span class="iv-website-companion-domain">'+R(a.descriptionText)+'</span></div></div><div class="iv-website-companion-action yt-uix-button-size-default yt-uix-button-primary">'+(a.wu?R(a.wu):'<span class="iv-website-companion-action-icon"></span>')+'</div></div><a href="'+hp(qp(a.target))+
'" target="_blank"></div>')};
cr=function(){var a=Aa("Ad");return Zo(""+a)};
Eea=function(a){var b=dr(a);if(!b)return{};var c=er(b);return c?{shoppingCompanionItemRenderer:{headline:fr(b.fd()),merchant:fr(gr(c)),image:{thumbnails:[{url:hr(b).getImageUrl()}]},priceText:fr(ir(c)),clickthroughEndpoint:jr(kr(lr(a)))}}:{}};
fr=function(a){return{runs:[{text:a}]}};
jr=function(a){a=a||"";return{webNavigationEndpointData:{url:a},urlEndpoint:{url:a,target:"TARGET_NEW_WINDOW"}}};
mr=function(a){return{baseUrl:a}};
nr=function(a,b){this.g=a;this.o=b};
Cp=function(a){return a.o?-1:a.g};
Bp=function(a,b){a.o&&(a.o=!1,a.g=a.g*b/100)};
Fea=function(a,b,c){b=c||b;a=a||{};return""+dp("a",a.jm)(a,null,b)};
Gea=function(a){return'<div class="videoAdUi"><div class="videoAdUiTopBar"><div class="videoAdUiAttributionContainer videoAdUiAttributionContainer-gvn"><div class="videoAdUiAttribution"'+R(tp(a.attributionText))+">"+R(a.attributionText)+'</div></div></div><div class="videoAdUiProgressBar" dir="ltr"><div class="videoAdUiProgress"></div></div></div>'};
Hea=function(a){return'<div class="videoAdUi"><div class="videoAdUiTopBar"><div class="videoAdUiAttributionContainer videoAdUiAttributionContainer-gvn"><div class="videoAdUiAttribution"'+R(tp(a.attributionText))+">"+R(a.attributionText)+'</div></div><div class="videoAdUiLearnMoreText videoAdUiLearnMoreText-gvn">'+R(a.Tg)+'<div class="videoAdUiLearnMoreIcon"></div></div></div><div class="videoAdUiProgressBar" dir="ltr"><div class="videoAdUiProgress"></div></div></div>'};
or=function(){return Zo('<div class="videoAdUiPreSkipContainer"><div class="videoAdUiPreSkipButton"><div class="videoAdUiPreSkipText"></div><div class="videoAdUiPreSkipThumbnail" aria-hidden="true"></div></div></div>')};
Iea=function(){return Zo('<div class="videoAdUiPreSkipContainer videoAdUiPreSkipContainerPlainThumbnailCountdown"><div class="videoAdUiPreSkipButton"><div class="videoAdUiPreSkipText">You can skip to video in</div><div class="videoAdUiPreSkipThumbnail"><div class="videoAdUiPreSkipThumbnailCountdown"><span class="videoAdUiPreSkipTextTimeLeft"></span></div></div></div></div>')};
pr=function(a){a=a||{};return""+Aa("Your video will begin in {$xSeconds}",{xSeconds:R(a.wg)})};
Jea=function(a){return Zo('<div class="videoAdUiBrandPrecapContainer html5-stop-propagation"><div class="videoAdUiBrandPrecapContent"><div class="videoAdUiBrandPrecapImageContainer" aria-hidden="true"><img class="videoAdUiBrandPrecapBrandImage" src="'+hp(rp(a.vF))+'"></div><div class="videoAdUiBrandPrecapTextContainer"><div class="videoAdUiBrandPrecapBrandName">'+R(a.xF)+'</div><div class="videoAdUiBrandPrecapBrandMessage">'+R(a.wF)+"</div></div></div></div>")};
Kea=function(a){return Zo('<div class="videoAdUiBrandPrecapContainer html5-stop-propagation"><img class="videoAdUiBrandPrecapAutoGenImage" src="'+hp(rp(a.uF))+'"></div>')};
Lea=function(a){a=a||{};return Zo('<div class="videoAdUiBrandInteractionUnit html5-stop-propagation"><span class="videoAdUiBrandInteractionPreMessageText">'+R(a.preMessageText)+'</span><div class="videoAdUiBrandInteractionButtonContainer"><button class="videoAdUiBrandInteractionButton videoAdUiBrandInteractionLikeButton"><div class="videoAdUiBrandInteractionIcon videoAdUiBrandInteractionLikeIcon"></div></button><span class="videoAdUiBrandInteractionMessageBox videoAdUiLikeMsg"></span></div><div class="videoAdUiBrandInteractionButtonContainer"><button class="videoAdUiBrandInteractionButton videoAdUiBrandInteractionDislikeButton"><div class="videoAdUiBrandInteractionIcon videoAdUiBrandInteractionDislikeIcon"></div></button><span class="videoAdUiBrandInteractionMessageBox videoAdUiDislikeMsg"></span></div></div>')};
Mea=function(a){a=a||{};return Zo('<div class="videoAdUiReasonToWatchBox html5-stop-propagation"><div class="videoAdUiReasonToWatchText">'+R(a.lP)+"</div></div>")};
Nea=function(a){a=a||{};return Zo('<div class="videoAdUiReasonToWatchBox videoAdUiReasonToWatchDynamicBox html5-stop-propagation"><div class="videoAdUiReasonToWatchDynamicPrefixText">'+R(a.kP)+'</div><div class="videoAdUiReasonToWatchDynamicTopic">'+R(a.mP)+"</div></div>")};
Oea=function(a){return'<div class="videoAdUiSkipContainer html5-stop-propagation"><button class="videoAdUiSkipButton videoAdUiAction">'+R(a.ms)+'<div class="videoAdUiSkipIcon"></div></button></div>'};
Pea=function(a){return'<div class="videoAdUiSkipContainer html5-stop-propagation"><button class="videoAdUiSkipButton videoAdUiAction"><div class="videoAdUiSkipButtonExperimentalText">'+R(a.ms)+'</div><div class="videoAdUiSkipIcon"></div></button></div>'};
Qea=function(a){return'<div class="videoAdUiSkipContainer html5-stop-propagation videoAdUiSkipContainerWithThumbnail"><div class="videoAdUiSkipText">'+R(a.ms)+'</div><button class="videoAdUiSkipButton videoAdUiAction videoAdUiSkipButtonWithThumbnail"><div class="videoAdUiSkipIconContainer"><div class="videoAdUiSkipIcon"></div></div></button></div>'};
qr=function(a){var b="";a=2<=a.Qk&&1<=a.Ij?Aa("Ad {$adPosition} of {$totalAds} {$timeLeft}",{adPosition:R(a.Ij),totalAds:R(a.Qk),timeLeft:R(a.Pk)}):Aa("Ad {$timeLeft}",{timeLeft:R(a.Pk)});return b+=a};
sr=function(){var a=rr(),b=Zo("</a>"),a=Aa("Visit Google's {$beginFormat}Ad Settings{$endFormat} to learn more about how ads are targeted or to opt out of personalized ads.",{beginFormat:R(a),endFormat:R(b)});return Zo(""+("<div class='videoAdUiAdSettingsLongTooltip'>"+a+"</div>"))};
rr=function(){return Zo('<a href="https://www.google.com/settings/ads/onweb" target="_blank">')};
tr=function(a){return Zo("<div class='videoAdUiPopupBackground'><div class='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='videoAdUiPopupPositioner'><form class='videoAdUiPopupFrame'><div class='videoAdUiPopupHeading videoAdUiHideIfEmpty'>"+R(a.heading)+"</div><div class='videoAdUiPopupText'>"+R(a.message)+
"</div><div class='videoAdUiPopupButtons'>"+R(a.buttons)+"</div></form></div></div>")};
Rea=function(a){for(var b="<ul class='videoAdUiWhyThisAdReasons videoAdUiHideIfEmpty'>",c=a.targetingReasons,d=c.length,e=0;e<d;e++)b+="<li>"+R(c[e])+"</li>";b+="</ul><div class='videoAdUiWhyThisAdGenericMessage'>"+R(a.Lp)+"</div><a class='videoAdUiWhyThisAdMute videoAdUiHideIfEmpty'>"+R(a.mute)+"</a><a class='videoAdUiWhyThisAdControl videoAdUiHideIfEmpty' href='https://www.google.com/settings/ads/onweb' target='_blank'>"+R(a.control)+"</a>";a=""+tr({heading:ur(""+R(a.heading)),message:ur(b),buttons:ur("<button class='videoAdUiWhyThisAdCloseButton videoAdUiPopupDefaultButton'>"+
R(a.close)+"</button>")});return Zo(a)};
Sea=function(a){for(var b=""+R(a.question),c=a.options,d=c.length,e=0;e<d;e++)var f=c[e],b=b+("<label for='videoAdUiMuteOption"+hp(e)+"'><input type='radio' id='videoAdUiMuteOption"+hp(e)+"' name='videoAdUiMuteOption' class='videoAdUiMuteOption"+hp(e)+"' />"+R(f)+"</label>");a=""+tr({heading:ur(R(a.heading)+" <a class='videoAdUiMuteUndo'>"+R(a.undo)+"</a>"),message:ur(b),buttons:ur("<button class='videoAdUiMuteCancel videoAdUiPopupButton'>"+R(a.cancel)+"</button><button class='videoAdUiMuteConfirm videoAdUiPopupDefaultButton'>"+
R(a.confirm)+"</button>")});return Zo(a)};
Tea=function(a){var b=String(""+a.heading);return Zo(tr({heading:b?new Po(b,void 0):"",message:ur(""+R(a.message)),buttons:ur("<button class='videoAdUiMuteCancel videoAdUiPopupButton'>"+R(a.cancel)+"</button><button class='videoAdUiMuteConfirm videoAdUiPopupDefaultButton'>"+R(a.confirm)+"</button>")}))};
Uea=function(){return Zo('<div class=\'videoAdUiMuteToggleButton\'><div class=\'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=\'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>')};
vr=function(a,b,c){Rp.call(this,"1",Vea,"Html",null,"dummy");this.F=0;this.va=a.length;Up(this,new g.sm(this));this.N=Wea(a,b);this.Wa=g.K("iv-cards-slider-list",this.N);if(this.S=g.K("iv-cards-slider-prev",this.N))this.o.T(this.S,"click",this.Qa),g.O(this.S,!1);(this.da=g.K("iv-cards-slider-next",this.N))&&this.o.T(this.da,"click",this.Pa);this.o.T(this.N,"click",g.ya(function(a,b,c){c.target!=a&&nn(b)},g.K("ad-companion-clickthrough",this.N),c))};
Wea=function(a,b){var c=(0,g.I)(a,function(a){var b=dr(a),c=er(b);a=lr(a);return{headline:b.fd(),description:wr(b,"description"),image:hr(b).getImageUrl(),action:ir(c),target:kr(a),merchant:gr(c)}}),d=3<a.length;
return gq(Cea,{cards:c,Cu:c[0].merchant,zy:Aea(),Kz:Bea(),ge:sr(),Fc:b,wP:d})};
xr=function(a){a.Wa.style.left=125*-a.F+"px";a.S&&g.O(a.S,0<a.F);a.da&&g.O(a.da,a.F<a.va-3)};
yr=function(a){Rp.call(this,"1",Xea,"Html",null,"website_actions_companion");Up(this,new g.sm(this));var b=a.g(),c=b&&b.gg(),d=b&&b.ym();a=lr(a);b={headline:b&&b.fd()||"",yH:c&&c.getImageUrl()||"",Mu:d&&d.getImageUrl()||"",wu:a&&wr(a,"title")||"",descriptionText:b&&wr(b,"description")||"",target:a&&kr(a)||"",ge:sr()};this.F=gq(Dea,b)};
Yea=function(){if(!g.sc)return!1;try{return new window.ActiveXObject("MSXML2.DOMDocument"),!0}catch(a){return!1}};
Br=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(zr){var c=Ar();if(c)return a&&c.appendChild(c.createNode(1,a,b||"")),c}throw Error("Your browser does not support creating new documents");};
g.Cr=function(a){if("undefined"!=typeof window.DOMParser)return(new window.DOMParser).parseFromString(a,"application/xml");if(zr){var b=Ar();b.loadXML(a);return b}throw Error("Your browser does not support loading xml documents");};
Dr=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");};
Ar=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};
Er=function(a){return qn(Zea,null,a.parentNode.nodeName,a.nodeName)};
Fr=function(a){return qn($ea,null,a.parentNode.nodeName,a.nodeName)};
Gr=function(a){var b=Br(a.tagName,a.namespaceURI),c=g.De(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};
Hr=function(a,b){return null!=a?(0,g.Ae)(g.Be(a),function(a){return a.nodeName==b}):[]};
Ir=function(a,b){var c=a.getAttribute(b);return null!=c?c.toLowerCase():null};
Jr=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=Pa(c);b&&(c=Ja(c,"&")?"document"in na?naa(c):oaa(c):c);return c};
Kr=function(a,b,c,d){if(null!=a){a=g.Be(a);for(var e=0,f=a.length;e<f;e++){var k=a[e];if(k.nodeName!=b)throw Er(k);c.call(d,k)}}};
Lr=function(a){a=g.E(a);return D(a)?window.NaN:Ua(a)};
Mr=function(a,b){if(null!=a){var c=a.split(":");if(3==c.length)return c=new Qn(0,0,0,Ua(c[0]),Ua(c[1]),Ua(c[2])),60*(60*(24*c.days+c.g)+c.o)+c.A}return null!=b?b:-1};
Nr=function(a,b){var c=g.E(a);if(!D(c))switch(c.toLowerCase()){case "true":case "1":return!0;case "false":case "0":return!1}return null!=b?b:!1};
Pr=function(a,b){if(b)return a;var c=g.E(a);D(c)?c=a:afa.test(c)&&(Ja(c,"/pagead/adview")||Ja(c,"/pagead/conversion")||Ja(c,"/gampad/live/conversion")?bfa(c):Ja(c,"/pcs/view")&&cfa(c))?(c=Or(c,"&sdkv="+Zn(ao)),ao.ba&&(c=Or(c,"&ssss=gima"))):c=a;return c};
Or=function(a,b){var c=a.indexOf("&adurl=");return-1!=c?paa(a.substr(0,c),b,a.substr(c,a.length)):a+b};
bfa=function(a){a=a||"";return(0,g.Qr)(dfa,function(b){return 0<=Hg(a,0,b,a.search(Ig))})};
cfa=function(a){a=a||"";return(0,g.Qr)(efa,function(b){return 0<=Hg(a,0,b,a.search(Ig))})};
Tr=function(a,b,c){var d=new vp;Kr(a,"Tracking",function(a){var e=Ir(a,"event"),k=Pr(Jr(a),b);Rr(k)&&null!=e&&(null!=c&&(k=c(e,k)),"progress"==e?(a=Ir(a,"offset"),a=Sr(a),null!=a&&Ap(d,e,k,a)):Ap(d,e,k))});
return d};
ffa=function(a){if(D(g.E(a)))return null;a=new g.$l(a);if("thismessage"!=a.B||"extensions"!=a.o)return null;a=a.A;if(!g.Da(a,"/"))return null;a=a.substr(1);return D(g.E(a))?null:a};
Sr=function(a){if(D(g.E(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 nr(a,!0)}else if(a=Mr(a),0<=a)return new nr(a,!1);return null};
Rr=function(a){if(D(g.E(a)))return!1;try{new g.$l(a)}catch(b){return!1}return!0};
Ur=function(a,b){Yp.call(this);this.o=a;this.A=b};
Vr=function(){};
Wr=function(a,b){Yp.call(this,b);this.o=a};
Xr=function(a){Yp.call(this);this.o=a};
Zr=function(a,b,c,d,e,f,k,l,m,n,q,r,v,x,B,F,J,L){this.Ea=a;this.ra=b;this.N=c;this.Ab=e;this.Ta=(0,window.isNaN)(m)||""==m||0==m?-1:m;this.na=n?g.nb(n):[];this.S=q?g.nb(q):[];this.F=r?g.nb(r):[];this.da=[];this.L=[];this.J=null;this.aa=[];this.Pa=!0;this.sa=!1;this.o=this.g=this.ba=null;this.G=new Tl(x);this.fa=null!=L;this.tb=(this.La=null!=B)?F||!1:!1;this.wb=this.tI?J||!1:!1;this.Eb=g.E(B);this.Mb=g.E(L);this.yb=this.A=null;this.C=new Fda;this.ca=new g.Yd(0,0);this.H=String(Math.floor(1E9*Math.random()));
this.gb=this.ga=this.M=this.D=null;this.qb=(0,g.G)();this.Wa=this.Qa=0;this.va=this.Za=!1;this.B=[];this.ka=null;this.Ja=!1;(0,g.H)(this.F,function(a){a.H=this},this);
Yr(this,v)};
yq=function(a){var b=a.getExtension("AdFormat");if(null!=b&&Ea(b.o+"_"+b.A+"_"+b.B,"2_4"))return b.o+"_"+b.A+"_"+b.B;b=$r(a);b=as(a,bs)?"14":xo(b,"hideMaster")||xo(b,"blockAllAds")?"3":a.Sb()?cs(a)?"2_3":a.isSkippable()?ds(a)?"2_1":"2_2":"2":"1";return gfa(a)+"_"+b};
gfa=function(a){if(zq(a))return 4;if(as(a,bs))return 14;if(as(a,hfa))return 17;if(as(a,ifa))return 15;if(es(a,jfa)||es(a,fs))return 1;var b=Zm().g;return b&&b.g("fix_petra_ad_foramt")&&(b=gs(a),null!=b&&(Yq(b)||Xq(b)))?1:hs(a)?2:0};
is=function(a){return null!=a.ra?a.ra:""};
js=function(a){return null!=a.o?g.lb(js(a.o),a.na):a.na};
ks=function(a){return null!=a.o?g.lb(ks(a.o),a.S):a.S};
ls=function(a){return null!=a.o?g.lb(a.L,ls(a.o)):a.L};
$r=function(a){return null!=a.g?a.g.G:{}};
kfa=function(a){var b={};(0,g.H)(a.F,function(a){a=a.G;for(var c in a)b[c]=a[c]});
return b};
ms=function(a){return null!=a.g?a.g.sa:""};
ns=function(a,b){var c=[];(0,g.H)(a.G.fb(),function(a){ob(c,Zp(a,b))});
return c};
Aq=function(a,b){a.g=b;a.ca=new g.Yd(0,0);if(null!=a.g){a.g instanceof Rp&&(a.ca=a.g.Ve());var c=a.o;if(null!=c){var d=Hp(a.g,c)||Hp(a.g,c,!0);Aq(c,d)}}Q.g()&&lfa(a)&&g.db(ls(a))?Q.g()&&Q.A?(c=a.B,g.db(c)?c={}:(d=dr(c[0])&&er(dr(c[0]))&&gr(er(dr(c[0])))||"",d=Aa("Shop products from {$advertiserName}",{advertiserName:R(d)}),d=Zo(""+d),c={shoppingCompanionRenderer:{shopText:fr(d.toString()),itemList:{horizontalListRenderer:{items:(0,g.I)(c,Eea),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:fr(cr().toString()),clickToAdvSiteEndpoint:jr(os(a)),clickTrackingEndpoints:[{loggingUrls:(0,g.I)(ns(a,"companionClick"),mr)}],impressionEndpoints:[{loggingUrls:(0,g.I)(ns(a,"companionImpression"),mr)}]}}),a.ba=c,a.sa=!0):mfa(a,a.B):Q.g()&&g.db(ls(a))&&!Zm().g.g("website_actions_holdback")&&ps(a,a.B)};
qs=function(a){return null!=a.Ea?a.Ea:""};
ts=function(a){if(null==a.o||rs(a.o.N))return[];var b=[qs(a.o)];ob(b,ts(a.o));return b};
mea=function(a){var b=ts(a).reverse();b.push(qs(a));return b};
us=function(a){if(null==a.o||rs(a.o.N))return[];var b;b=a.o.g;null!=b?(b=b.ga,b=null!=b?b:""):b="";b=[b];ob(b,us(a.o));return b};
vs=function(a){if(null==a.o||rs(a.o.N))return[];var b=[is(a.o)];ob(b,vs(a.o));return b};
ws=function(a){if(a.o){var b=ws(a.o);if(b)return b}return(a=a.getExtension("metrics"))?a.o:null};
xq=function(a){if(a.o){var b=xq(a.o);if(b)return b}return Q.g()?(a=a.getExtension("viral"))?a.o:null:(a=a.getExtension("metrics"))?a.A:null};
nea=function(a){var b=vs(a).reverse();b.push(is(a));return b};
rs=function(a){return"YT:ADSENSE"==a||"YT:DOUBLECLICK"==a};
xs=function(a){if(null==a.o)return[a.N];var b=xs(a.o);b.push(a.N);rs(b[0])&&b.shift();return b};
ys=function(a){a=a.getExtension("waterfall");return null!=a&&-1!=a.Rd()?a.Rd():-1};
zs=function(a){if(-1!=a.Ta)return a.Ta;a=a.getExtension("pod");return null!=a&&-1!=a.o?a.o:-1};
As=function(a){a.Ja||(a.Ja=!0,a.ka.J++,null!=a.o&&As(a.o))};
Bs=function(a){return a.ka instanceof Oq?a.ka:null!=a.o?Bs(a.o):null};
Cs=function(a,b,c,d){a=ls(a);return so(new qo(new g.Yd(b,c),d),a)};
Ds=function(a){var b=a.A.Si,c=a.A.Ri;if(!b||!c)if(a=a.A.g?Jg(a.A.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.Yd(b,c)};
nfa=function(a,b){var c=g.Za(a.aa,function(a){return 4==a.Wb()&&Es(Fs(a))});
if(c){var d=c.g();if(!d.gg().getImageUrl()){var e=new Gs;Hs(e,b.channelIconThumbnailUrl);d.gg=function(){return e}}var f=Zm().g;
if(!d.fd()||f.g("website_actions_suppress_advertiser_supplied_text"))d.fd=function(){return b.authorName};
f.g("website_actions_suppress_advertiser_supplied_text")&&lr(c).setTitle("");c.g=function(){return d}}};
ofa=function(a){var b=(0,g.Ae)(a,function(a){return Es(Fs(a))});
0==b.length&&0<a.length&&Zm().g.g("enable_ad_video_end_renderers")&&(b=a.slice(1,2));return b};
mfa=function(a,b){var c=(0,g.Ae)(b,function(a){return Is(Fs(a))});
g.db(c)&&(c=b);c=new vr(c,os(a),ns(a,"companionClick"));c.H=a;c.D=!0;Js(a,new $q(c,[],null,!0))};
pfa=function(a,b){var c=g.Za(a.B,function(a){return 4==a.Wb()&&Is(Fs(a))});
if(!c)return null;var d=c.g();if(!d.gg().getImageUrl()){var e=new Gs;Hs(e,b.channelIconThumbnailUrl);d.gg=function(){return e}}var f=Zm().g;
if(!d.ym().getImageUrl()){var k=new Gs;if(f.g("website_actions_use_companion_image_as_banner")){var l=g.Za(ls(a),function(a){return"Image"==a.ed()});
Hs(k,l&&l.g.A||"")}else Hs(k,b.g);d.ym=function(){return k}}if(!d.fd()||f.g("website_actions_suppress_advertiser_supplied_text"))d.fd=function(){return b.authorName};
f.g("website_actions_suppress_advertiser_supplied_text")&&lr(c).setTitle("");c.g=function(){return d};
return c};
ps=function(a,b){var c=g.Za(b,function(a){return 4==a.Wb()&&Is(Fs(a))});
if(c){var d=c.g(),e=d&&d.gg().getImageUrl(),f=d&&d.ym().getImageUrl(),d=d&&d.fd();e&&f&&d&&(c=new yr(c),c.H=a,c.D=!0,Js(a,new $q(c,[],null,!0)))}};
qfa=function(a){if(!a.A||Ks(a)&&!as(a,["ADSENSE/ADX"]))return[];var b=Ds(a);if(0>=b.width||0>=b.height)return[];var c=new no;c.creativeType="All";c.A="All";c.B="SelectNearMatch";c.g=40;var d=Cs(a,b.width,b.height,c);if(!g.db(d))return d;c.o="ResizeSmaller";d=(0,g.Ae)(ls(a),function(a){return a.g.lk()},a);
return so(new qo(new g.Yd(b.width,b.height),c),d)};
Ms=function(a){if(g.db(a.aa))return!1;var b=Zm().g;if(Ls(a)<b.o("ad_duration_threshold_for_showing_endcap_seconds"))return!1;var c=rfa,d=a.aa[0].Wb();if(d==c.ru){var e=a.aa[0].g();a=e&&e.gg().getImageUrl();e=e&&e.fd();if(!a||!e)return!1}return b.g("enable_ad_video_end_renderers")&&d==c.UE||!b.g("website_actions_holdback")&&!b.g("website_actions_endcap_holdback")&&d==c.ru};
sfa=function(a){var b=null,c=0;(0,g.H)(qfa(a),function(a){var d;d=Ds(this);d=!a.g.lk()||a.Db()<=d.width&&a.getHeight()<=d.height?a.Sm():uo(a.Sm(),d);d=d.width*d.height;d>c&&(c=d,b=a)},a);
return b};
Ns=function(a,b){return b||null==a.o?a.da:g.lb(a.da,Ns(a.o))};
Yr=function(a,b){a.da=b?g.nb(b):[];(0,g.H)(a.da,function(a){ob(this.L,g.nb(a.g))},a);
(0,g.H)(a.L,function(a){ar(a,this)},a);
if(Q.g()&&(a.Sb()&&(a.L=(0,g.Ae)(a.L,function(a){return 60>=a.getHeight()})),Q.A)){var c=a.da[0];
if((c=c&&c.g[0])&&"Static"===c.g.M){var d=c.g.Ue(),e=c.g.L,f=c.Db(),k=c.getHeight();a.ba={imageCompanionRenderer:{url:c.g.A,clickThroughUrl:d,clickTrackingUrls:e,width:f,height:k}}}}};
Os=function(a,b){return(0,g.Sk)(a.F,function(a){return a instanceof Kp&&"linear"==b||a instanceof Rp&&"nonlinear"==b?!0:!1})};
Ps=function(a){return-1!=a.getDuration()&&0!=a.getDuration()&&7>=a.getDuration()};
Qs=function(a){var b=a.g;return Ks(a)&&null!=b&&b instanceof Rp&&(90<a.ca.height||null!=a.A&&a.A.Ei)};
Rs=function(a,b){if(null==b)return null;var c=b.getExtension("adx");return null!=c?c:Rs(a,b.o)};
Ss=function(a){var b=Rs(a,a.o);if(null!=b){if("skippable"==b.o)return b.A;if("nonskippable"==b.o)return null}var b=null,c=new nr(5,!1),d=tfa(a);"implicit"==d&&(b=c);var e=a.g;null==b&&null!=e&&e instanceof Kp&&(b=e.D);null!=b||"explicit"!=d||(b=c);return Q.g()&&a.Sb()&&null!=b?(0,window.isNaN)(a.A.C)?c:new nr(a.A.C,!1):b};
tfa=function(a){if(null!=g.Za(a.G.fb(),function(a){return!g.db(Zp(a,"skip"))}))return"implicit";
var b=a.G.get("DFP");if(b instanceof Wr)switch(b.o){case "InstreamSelect":return"implicit";case "Generic":return"explicit"}a=a.g;return Q.g()&&null!=a&&(a=a.Wi,null!=a&&!g.db(yp(a,"skip")))?"explicit":"none"};
Ts=function(a){a=gs(a);if(null!=a){var b;(b=Vq(a)||Yq(a)||Xq(a))||(null!=a?(a=(new g.$l(a)).o,b=Ea(a,"viral.adsense.net")):b=!1);a=b}else a=!1;return a};
ds=function(a){if(null!=a.ra&&null!=a.A){var b;(b=Q.g())||!(b=Ts(a)||!1)||(b=Ks(a)&&!as(a,["ADSENSE/ADX"]))||(as(a,fs)?(b=a.G.get("DFP"),b=null!=b?"InstreamSelect"==b.o:!1):b=!1);a=b||a.o&&a.o.fa&&Ts(a.o)?!0:!1}else a=!1;return a};
os=function(a){return null===a.g?null:a.g.Ue()};
Ls=function(a){return null!=a.g?a.g.getDuration():-1};
Us=function(a){return null!==a.J?10:Ms(a)?(a=Zm().g.o("ad_video_end_renderer_duration_milliseconds"),(0,window.isNaN)(a)?5:Math.round(a/1E3)):0};
Vs=function(a){return null===a.g?null:a.g.Kq()};
Ws=function(a){return null===a.g?null:a.g.Jq()};
Ks=function(a){return as(a,Xs)||as(a,["ADSENSE-VIRAL"])};
zq=function(a){return null!=a.o&&zq(a.o)||as(a,ufa)};
cs=function(a){var b=Vs(a);return as(a,["402"])||g.z(b)&&null!==b.match("//s0.2mdn.net/instream/html5/survey/survey.html")};
Ys=function(a){return Ks(a)&&ds(a)&&!Ps(a)&&!D(g.E(a.D))&&null!==Ss(a)&&0<Cp(Ss(a))};
hs=function(a){return es(a,Xs)||es(a,["402"])};
Zs=function(a){a=a.getExtension("InfoCards");return null!=a?a.o:null};
$s=function(a){a=a.getExtension("InfoCardsTracking");return null!=a?a.o:null};
as=function(a,b){return null!=a.ra?g.cb(b,a.N):!1};
es=function(a,b){for(var c=xs(a),d=c.length-1;0<=d;d--)if("UNKNOWN"!=c[d]){if(g.cb(b,c[d]))return!0;break}return!1};
Js=function(a,b){a.L=[b]};
lfa=function(a){return a.Sb()&&0<a.B.length&&(0,g.Qr)(a.B,function(a){return 1==a.Wb()})};
vfa=function(a){return 0<a.B.length&&(0,g.Qr)(a.B,function(a){return 4==a.Wb()})};
gs=function(a){if(null==a.A)return null;var b=a.A.g;null!=b&&Ea(b,"/PrefetchedAd")&&null!=a.o&&(a=a.o.G.get("LocalRedirect"),b=null!=a?a.Kg():null);return b};
at=function(a,b){g.zf.call(this);this.g=a;this.ne=new g.sm(this);g.N(this,this.ne);this.ne.T(b,["companion_impression","companion_click"],this.o)};
bt=function(){g.zf.call(this);this.D=this.H=this.L=this.F=!1;this.g=0;this.A=[];this.G=!1;this.N=this.M=window.Infinity;this.o=0;this.C=!1;this.B=new g.sm(this);this.J={}};
wfa=function(a){ct(a);!(a.Eh instanceof g.zf)&&"ontouchstart"in window.document.documentElement&&An()?(a.J={touchstart:(0,g.A)(a.hO,a),touchmove:(0,g.A)(a.gO,a),touchend:(0,g.A)(a.fO,a)},g.Ib(a.J,function(a,c){this.Eh.addEventListener(c,a,!1)},a)):a.B.T(a.Eh,"click",a.Lw)};
ct=function(a){a.B.Ba(a.Eh,"click",a.Lw);g.Ib(a.J,function(a,c){this.Eh.removeEventListener(c,a,!1)},a);
a.J={}};
xfa=function(a,b){a.A=[];(0,g.H)(b,function(a){g.gb(this.A,a.identifier)},a)};
dt=function(a,b){return(0,g.Sk)(b,function(a){return g.cb(this.A,a.identifier)},a)};
et=function(a){if(!yfa.test(a))throw Error("'"+a+"' is not a valid alpha hex color");5==a.length&&(a=a.replace(zfa,"#$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]};
ft=function(a){var b=a.slice(0);b[3]=Math.round(1E3*a[3])/1E3;return"rgba("+b.join(",")+")"};
g.gt=function(){g.zf.call(this);this.g=0;this.endTime=this.startTime=null};
ht=function(a,b){g.qa(b)||(b=[b]);var c=(0,g.I)(b,function(a){return g.z(a)?a:a.property+" "+a.duration+"s "+a.timing+" "+a.delay+"s"});
g.dh(a,"transition",c.join(","))};
it=function(a,b,c,d,e){g.gt.call(this);this.o=a;this.C=b;this.F=c;this.A=d;this.D=g.qa(e)?e:[e]};
jt=function(a,b){g.zf.call(this);this.D=b;this.C=a;this.Yh=null;this.A=new g.sm(this);g.N(this,this.A);this.g=new bt;g.N(this,this.g);var c=Vc(bd(a.g),id,6);this.B=(this.o=null!=Tc(c,5)&&!!Tc(c,5))||null==Tc(c,7)?"#000000FF":Tc(c,7);c=this.o?{uF:g.E(Tc(c,6))}:{xF:g.E(Tc(c,1)),wF:g.E(Tc(c,3)),vF:g.E(Tc(c,2))};this.ze=Afa(this,c);null!=this.ze&&g.O(this.ze,!1);b.appendChild(this.ze);this.A.T(this.g,"click",this.QH);this.g.Fb(this.ze)};
Afa=function(a,b){var c,d;a.o?(c=gq(Kea,b),d=g.K("videoAdUiBrandPrecapAutogenImage",c)):(c=gq(Jea,b),d=g.K("videoAdUiBrandPrecapContent",c),null!=a.B&&(c.style.backgroundColor=ft(et(a.B))),d=g.K("videoAdUiBrandPrecapBrandImage",g.K("videoAdUiBrandPrecapImageContainer",d)));null!=d&&(d.B0=function(){return!1});
return c};
kt=function(a,b,c,d,e){(new it(a.ze,.4,{paddingTop:b,opacity:d},{paddingTop:c,opacity:e},[{property:"padding-top",duration:.4,timing:"ease-in-out",delay:0},{property:"opacity",duration:.4,timing:"ease-in-out",delay:0}])).play()};
lt=function(a,b){var c=g.Oe(g.Ee(a.D),"html5-video-player");null!=c&&g.T(c,"ytp-ad-display-override",b)};
mt=function(a,b,c,d,e,f){Yp.call(this,f);this.A=a;this.C=b;this.D=c;this.B=d;this.o=e};
nt=function(a){return null!=a.o?a.o.length:0};
ot=function(a,b,c,d,e,f,k,l,m){Yp.call(this,e);this.B=a;this.A=b;this.C=c||"";this.D=d||[];this.o=f||null;this.G=k||null;this.F=l||null;this.J=m||null};
pt=function(a,b){this.C=a;this.o=b;this.A=this.B=this.D=this.g=null};
qt=function(a){return null!=a.C||null!=a.o};
rt=function(a,b,c){b=g.K(b,a.g);null!=b&&a.B.T(b,"click",c)};
tt=function(a,b,c){null!=a.g&&a.g.parentElement.removeChild(a.g);a.g=gq(b,c);rt(a,"videoAdUiPopupCloseIcon",a.Sl);a.D.appendChild(a.g);b=g.K("videoAdUiPopupFrame",a.g);null!=b&&g.kf(b,"submit",function(a){a.preventDefault()});
a=g.K("videoAdUiPopupDefaultButton",a.g);null!=a&&a.focus()};
ut=function(a,b){null!=a.A&&a.A.dispatchEvent(b)};
vt=function(){this.attributionText=qr({Pk:"",Ij:0,Qk:0});this.Tg=""+Aa("Learn More {$suffix}",{suffix:R("")});this.visitAdvertiserText=""+Aa("Visit Advertiser's Site");this.ge=sr();this.skipOffset=null;this.H=this.Pa=this.Qa=this.Ja=this.aa=!1;this.M=null;this.ca=6E3;this.F=!0;this.fa=!1;this.ga=this.o=this.La=!0;this.B=!1;this.N=!Q.F;this.ra=this.na=this.ka=!1;this.G=!0;this.S=this.Ea=this.va=this.sa=this.C=!1;this.D={};this.ba=null;this.showContentThumbnail=!0;this.A=this.J=!1;this.g=null;this.Za=
!1;this.Nf=-1};
wt=function(a,b,c,d,e,f){var k=new vt;k.C=a;k.Ta=b;k.skipOffset=c;k.da=null!=e?e.contentId:null;k.La=e.iQ;k.ba=Fea;k.Wa=kq(b,null!=c,e.ri);k.showContentThumbnail=null!=e.contentId&&e.showContentThumbnail;k.g=e.Gw;k.Za=e.TF;null!=f&&(k.D=f);null==c&&(a=Zm().g,d&&a.g("show_countdown_on_bumper")&&(k.Qa=!0,k.aa=!0),a.g("show_thumbnail_on_standard")&&(k.aa=!0),a.g("log_video_preview_interaction")&&(k.Ja=!0),!d&&a.g("persist_text_on_preview_button")&&(k.Pa=!0));Q.g()&&null!=k.g&&null!=Tc(k.g,1)&&(d=bd(k.g),
null!=Tc(d,6)&&(d=Vc(d,id,6),null!=Tc(d,1)&&null!=Tc(d,2)&&null!=Tc(d,3)&&(k.H=!0,null!=Tc(d,4)&&(k.M=Tc(d,4)))));return k};
xt=function(a,b,c,d,e){return new it(a,b,{opacity:d},{opacity:e},{property:"opacity",duration:b,timing:c,delay:0})};
zt=function(a,b){return xt(a,b,"ease-out",0,1)};
Bt=function(a,b){g.zf.call(this);this.L=new g.sm(this);g.N(this,this.L);this.N=a;this.o=this.F=null;this.M=0;this.B=[];this.C=[];this.D=[];this.H=0;this.G=!1;var c=a.g;this.A=null!=c&&null!=bd(c)?Vc(bd(c),gd,3):null;if(null==this.A||null==Tc(this.A,7))c=null;else var c=Tc(this.A,7),d=Tc(this.A,8),c=null!=d&&g.cb(Bfa,c)?d:null;c=gq(Lea,{preMessageText:c||""});g.He(g.K("videoAdUiLikeMsg",c),""+Aa("I like this"));g.He(g.K("videoAdUiDislikeMsg",c),""+Aa("I dislike this"));if(null!=this.A){var d=Tc(this.A,
7),e=null!=d?Cfa[d]:null;null!=e&&(this.J=d,g.S(c,e))}d=g.K("videoAdUiBrandInteractionLikeButton",c);null!=d&&At(this,d);d=g.K("videoAdUiBrandInteractionDislikeButton",c);null!=d&&At(this,d);g.O(c,!1);this.g=c;b.appendChild(this.g)};
At=function(a,b){var c=new bt;a.L.T(c,"click",a.S);c.Fb(b)};
Dt=function(){g.zf.call(this);this.g=!1;this.A=this.B=this.o=null;this.C=new g.sm(this);this.o=gq(Uea);this.B=g.K("videoAdUiUnmutedIcon",this.o);this.A=g.K("videoAdUiMutedIcon",this.o);Ct(this);this.C.T(this.o,"click",this.D)};
Ct=function(a){a.B&&a.A&&(a.g?(g.dh(a.B,"display","none"),g.dh(a.A,"display","block")):(g.dh(a.B,"display","block"),g.dh(a.A,"display","none")))};
Et=function(a,b){g.zf.call(this);this.D=a;this.F=1;this.C=this.A=this.g=this.o=null;this.B=a.Qa;this.H=new g.sm(this);g.N(this,this.H);this.G=new bt;g.N(this,this.G);this.L=!a.Pa;this.M=a.Ja;this.J=0;this.o=gq(or);this.g=g.K("videoAdUiPreSkipButton",this.o);this.A=g.K("videoAdUiPreSkipText",this.g);g.S(this.A,"videoAdUiPreviewText");this.C=g.K("videoAdUiPreSkipThumbnail",this.g);this.B?g.He(this.A,pr({wg:""})):g.He(this.A,""+Aa("Video will play after ad"));var c=nq(this.D.da)||"";if(this.D.showContentThumbnail&&
!D(g.E(c))){var d=g.re("img");d.setAttribute("src",c);g.S(d,"videoAdUiPreSkipThumbnailImage");this.C.appendChild(d)}else this.B?(g.O(this.C,!1),g.S(this.g,"videoAdUiPreSkipButtonNoThumbnail"),g.S(this.A,"videoAdUiPreSkipTextOnlyCentered")):g.O(this.g,!1);g.O(this.o,!1);b.appendChild(this.o);this.H.T(this.G,"click",this.N);this.G.Fb(this.C)};
Ft=function(a,b){g.zf.call(this);this.B=new g.sm(this);g.N(this,this.B);this.J=a;this.A=null;this.F=this.H=0;this.D=this.C=!1;var c=a.g,d;null!=c&&null!=Tc(c,1)!=null&&null!=Vc(bd(c),jd,7)&&(d=Vc(bd(c),jd,7));this.o=d||new jd;c=this.o;null!=Tc(c,7)&&null!=Tc(c,8)?(this.A=d=Tc(c,8),c={kP:Tc(c,7),mP:d},c=gq(Nea,c),Dfa(this,c)):c=gq(Mea,{lP:Tc(this.o,1)});null!=Tc(this.o,6)&&(d=Tc(this.o,6),g.S(c,Efa[d]));g.O(c,!1);this.g=c;b.appendChild(this.g)};
Dfa=function(a,b){var c=new bt;a.B.T(c,"click",(0,g.A)(function(){this.H++},a));
c.Fb(b);c=g.K("videoAdUiReasonToWatchDynamicTopic",b);if(null!=c){var d=new bt;a.B.T(d,"click",(0,g.A)(function(){this.F++},a));
d.Fb(c)}};
Ffa=function(a){var b=new it(a.g,1.25,{right:"-265px"},{right:"0px"},[{property:"right",duration:.25,timing:"ease-in-out",delay:1}]),c=new it(g.K("videoAdUiReasonToWatchText",a.g),.25,{opacity:0},{opacity:1},[{property:"opacity",duration:.25,timing:"ease-in-out",delay:0}]);b.play();g.og(function(){c.play()},1250,a);
a.C=!0;g.O(a.g,!0)};
Gfa=function(a){(new it(a.g,.25,{right:"0px"},{right:"-265px"},[{property:"right",duration:.25,timing:"ease-in-out",delay:0}])).play();a.D=!0;g.og(function(){g.O(this.g,!1)},250,a)};
g.Gt=function(a,b,c){g.M.call(this);this.za=null;this.A=!1;this.C=a;this.B=c;this.g=b||window;this.o=(0,g.A)(this.pG,this)};
Ht=function(a){a=a.g;return a.requestAnimationFrame||a.webkitRequestAnimationFrame||a.mozRequestAnimationFrame||a.oRequestAnimationFrame||a.msRequestAnimationFrame||null};
It=function(a){a=a.g;return a.cancelAnimationFrame||a.cancelRequestAnimationFrame||a.webkitCancelRequestAnimationFrame||a.mozCancelRequestAnimationFrame||a.oCancelRequestAnimationFrame||a.msCancelRequestAnimationFrame||null};
g.Jt=function(a,b,c){g.M.call(this);this.g=a;this.B=b||0;this.o=c;this.A=(0,g.A)(this.jw,this)};
g.Kt=function(a){a.stop();a.jw()};
g.Lt=function(a){a.isActive()&&g.Kt(a)};
g.Nt=function(){g.Mt||(g.Mt=new g.Jt(function(){Hfa()},20));
var a=g.Mt;a.isActive()||a.start()};
Hfa=function(){var a=(0,g.G)();g.Ib(g.Ot,function(b){b.HK(a)});
g.Tb(g.Ot)||g.Nt()};
Qt=function(a,b){g.zf.call(this);this.config=a;this.ca=0;this.aa=!1;this.state=0==Cp(this.config.skipOffset)?3:1;this.o=this.ba=this.skipButton=this.ra=this.fa=this.H=this.D=this.A=null;this.bc=new g.sm(this);this.G=this.B=null;this.S=new bt;this.ka="";this.na=!1;var c=a.g,c=this.g=null!=c&&null!=bd(c)?Vc(bd(c),ed,1):null;this.sa=null!=c&&Tc(c,19)?!0:!1;c=this.g;this.M=null!=c&&Tc(c,24)?!0:!1;c=this.g;this.va=null!=c&&Tc(c,23)?!0:!1;c=this.g;this.Ea=null!=c&&Tc(c,25)?!0:!1;this.A=gq(this.sa?Iea:or);
this.D=g.K("videoAdUiPreSkipButton",this.A);this.H=g.K("videoAdUiPreSkipText",this.D);this.fa=g.K("videoAdUiPreSkipTextTimeLeft",this.D);this.ra=g.K("videoAdUiPreSkipThumbnail",this.D);this.va&&g.O(this.H,!1);Zm().g.g("use_forced_linebreak_preskip_text")&&(this.na=!0,g.S(this.H,"videoAdUiPreSkipTextForcedLineBreak"));Pt(this,0);c=nq(this.config.da)||"";if(this.config.showContentThumbnail&&!D(g.E(c))){var d=g.re("img");d.setAttribute("src",c);g.S(d,"videoAdUiPreSkipThumbnailImage");this.ra.appendChild(d)}else Q.g()?
(g.S(this.D,"videoAdUiPreSkipButtonNoThumbnail"),g.S(this.H,"videoAdUiPreSkipTextOnlyCentered")):g.S(this.H,"videoAdUiPreSkipTextOnly");var d=!Q.g()&&Q.aa,e=null!=this.g&&null!=Vc(this.g,md,3)&&!this.M,f=Q.g()&&Zm().g.g("fixed_padding_skip_button")&&!this.M;this.o=gq(this.M?Qea:d||e||f?Pea:Oea,{ms:Pa(""+Aa("Skip Ad {$skipSymbol}",{skipSymbol:R("")}))});this.skipButton=g.K("videoAdUiSkipButton",this.o);e&&(this.ba=g.K("videoAdUiSkipButtonExperimentalText",this.skipButton));if(e=d||Q.g()&&Zm().g.g("use_new_skip_icon")){var k=
g.K("videoAdUiSkipIcon",this.skipButton);null!=k&&g.eq(k,"videoAdUiSkipIcon","videoAdUiExperimentalSkipIcon")}f||d?(g.S(this.skipButton,f?"videoAdUiFixedPaddingSkipButton":"videoAdUiRedesignedSkipButton"),c=g.K("videoAdUiSkipButtonExperimentalText",this.skipButton),null!=c&&g.S(c,"videoAdUiFixedPaddingSkipButtonText"),g.S(g.K(e?"videoAdUiExperimentalSkipIcon":"videoAdUiSkipIcon",this.skipButton),"videoAdUiFixedPaddingSkipButtonIcon")):this.M&&this.config.showContentThumbnail&&!D(g.E(c))&&(d=g.re("img"),
d.setAttribute("src",c),g.S(d,"videoAdUiPreSkipThumbnailImage"),this.skipButton.appendChild(d));this.Ea&&g.O(g.K("videoAdUiSkipText",this.o),!1);Ifa(this);"4.4.4"===(g.En?In(Fn):"")&&(this.D.style.backgroundColor="black",this.skipButton.style.backgroundColor="black");g.O(this.A,!1);b.appendChild(this.A);0==Cp(this.config.skipOffset)?this.dispatchEvent("skipshown"):(g.O(this.o,!1),g.yh(this.o,0));b.appendChild(this.o);Zm().g.g("move_skip_button_to_top")&&(g.S(this.A,"videoAdUiHighPreSkipContainer"),
g.S(this.o,"videoAdUiHighSkipContainer"));this.bc.T(this.S,"click",this.OP);this.S.Fb(this.skipButton)};
Pt=function(a,b){var c=null!=a.config.skipOffset&&-1!=Cp(a.config.skipOffset)?Cp(a.config.skipOffset):-1;if(!(0>c)){var d=Math.ceil(c-b),c=d.toString();60<=d&&(c=vo(d));d={jm:a.na?"forcedlinebreak":a.ka,wg:c,qK:"\n"};a.sa&&null!=a.fa?g.He(a.fa,c):(c=a.H,d=d||{},d=""+dp("b",d.jm)(d,null,void 0),g.He(c,d))}};
Rt=function(a){return new it(a,.5,{opacity:1,visibility:"shown"},{opacity:.9,visibility:"hidden"},{property:"opacity",duration:.5,timing:"ease-out",delay:0})};
St=function(a,b){null!=a.D&&g.O(a.D,b);null!=a.skipButton&&g.O(a.skipButton,b)};
Ifa=function(a){if(null!=a.g){var b=null!=Vc(a.g,kd,1)&&null!=Vc(Vc(a.g,kd,1),ld,1)?Tc(Vc(Vc(a.g,kd,1),ld,1),1):null,c=null!=Vc(a.g,kd,2)&&null!=Vc(Vc(a.g,kd,2),ld,1)?Tc(Vc(Vc(a.g,kd,2),ld,1),1):null;b&&(a.skipButton.style.backgroundColor=ft(et(b)),c&&(a.bc.T(g.Ee(a.skipButton),"mouseover",function(){this.skipButton.style.backgroundColor=ft(et(c))}),a.bc.T(g.Ee(a.skipButton),"mouseout",function(){this.skipButton.style.backgroundColor=ft(et(b))})));
if(null!=Vc(a.g,md,3)&&null!=a.ba){var d=Eaa(Vc(a.g,md,3));0<d.length&&Tc(d[0],1)&&g.He(a.ba,Tc(d[0],1))}d=Tc(a.g,7)||"";d=Jfa[d];null==d||D(d)||(g.S(a.A,d),g.S(a.o,d))}};
Xt=function(a,b){Qt.call(this,a,b);var c=this.g;this.ga=null!=c&&Tc(c,8)?!0:!1;this.da=!1;this.C=this.L=null;var c=this.g,d=Tt;null!=c&&(null!=Tc(c,10)&&Tc(c,10)||null!=Tc(c,9)&&!Tc(c,9))&&(d=Ut);this.J=d;c=this.g;d=Vt;null!=c&&(null!=Tc(c,12)&&Tc(c,12)||null!=Tc(c,11)&&!Tc(c,11))&&(d=Wt);this.N=d;this.F=0};
Yt=function(a){null==a.C&&"4.4.4"!=(g.En?In(Fn):"")&&1!=a.F&&(g.Te(a.B),a.B=null,a.C=g.og(function(){xt(this.o,.5,"ease-in",1,.5).play();this.F=1;this.C=null},0,a))};
$t=function(a,b){if(0!=a.F){if(b){if(null!=a.C||"4.4.4"==(g.En?In(Fn):""))return;a.C=g.og(function(){xt(this.o,.5,"ease-in",.5,1).play();this.C=null},0,a)}else Zt(a),g.yh(a.o,1);
a.F=0}};
Zt=function(a){null!=a.C&&(g.pg(a.C),a.C=null)};
au=function(a){null!=a.L&&(g.pg(a.L),a.L=null)};
bu=function(a,b,c){var d=null;switch(c){case Vt:null!=b&&null!=b.skipOffset&&(d=1E3*(a-Cp(b.skipOffset)));break;case Wt:a=g.w("window.yt.util.activity.getTimeSinceActive"),d=(a=null!=a?a().toString():null)?Wa(a):null}return d};
cu=function(a,b){var c=1E3*a.Av;null!=b&&null!=Tc(b,13)&&(c=Tc(b,13));return c};
du=function(a,b,c,d,e,f,k,l,m){this.A=a;this.L=b;this.C=c;this.D=d;this.o=e;this.F=f;this.G=k;this.H=l;this.J=m;this.g=this.A.dg()};
eu=function(a){var b=a.g,c=g.wh(a.B),c="left"==a.C?"0px":"right"==a.C?c.width-a.A.Ve().width+"px":a.C+"px",d=g.wh(a.B);a="bottom"==a.D?"0px":"top"==a.D?d.height-a.A.Ve().height+"px":d.height-a.A.Ve().height-Wa(a.D)+"px";g.dh(b,{position:"absolute",overflow:"hidden",left:c,bottom:a})};
Kfa=function(a){g.zh(a.g)||(g.O(a.g,!0),(0,g.H)(a.J,function(a){jn(a)}))};
ju=function(a,b,c){this.L=b||fu.mD;this.fa=c||0;this.N=40;this.o=1;this.ba=0;this.D=3;this.S=this.A=0;this.da=!1;this.M=this.G="";this.B="-";this.H="";this.g=1;this.F=!1;this.C=[];this.aa=this.ca=!1;this.J=0;if("number"==typeof a)switch(a){case 1:gu(this,fu.Gt);break;case 2:gu(this,fu.AE);break;case 3:gu(this,fu.pE);break;case 4:a=fu.iD;b=["0"];c=hu[this.L][0]&7;if(0<c){b.push(".");for(var d=0;d<c;d++)b.push("0")}a=a.replace(/0.00/g,b.join(""));gu(this,a);break;case 5:iu(this,1);break;case 6:iu(this,
2);break;default:throw Error("Unsupported pattern type.");}else gu(this,a)};
gu=function(a,b){b.replace(/ /g,"\u00a0");var c=[0];a.G=ku(a,b,c);for(var d=c[0],e=-1,f=0,k=0,l=0,m=-1,n=b.length,q=!0;c[0]<n&&q;c[0]++)switch(b.charAt(c[0])){case "#":0<k?l++:f++;0<=m&&0>e&&m++;break;case "0":if(0<l)throw Error('Unexpected "0" in pattern "'+b+'"');k++;0<=m&&0>e&&m++;break;case ",":0<m&&a.C.push(m);m=0;break;case ".":if(0<=e)throw Error('Multiple decimal separators in pattern "'+b+'"');e=f+k+l;break;case "E":if(a.aa)throw Error('Multiple exponential symbols in pattern "'+b+'"');a.aa=
!0;a.S=0;c[0]+1<n&&"+"==b.charAt(c[0]+1)&&(c[0]++,a.da=!0);for(;c[0]+1<n&&"0"==b.charAt(c[0]+1);)c[0]++,a.S++;if(1>f+k||1>a.S)throw Error('Malformed exponential pattern "'+b+'"');q=!1;break;default:c[0]--,q=!1}0==k&&0<f&&0<=e&&(k=e,0==k&&k++,l=f-k,f=k-1,k=1);if(0>e&&0<l||0<=e&&(e<f||e>f+k)||0==m)throw Error('Malformed pattern "'+b+'"');l=f+k+l;a.D=0<=e?l-e:0;0<=e&&(a.A=f+k-e,0>a.A&&(a.A=0));a.o=(0<=e?e:l)-f;a.aa&&(a.N=f+a.o,0==a.D&&0==a.o&&(a.o=1));a.C.push(Math.max(0,m));a.ca=0==e||e==l;d=c[0]-d;
a.M=ku(a,b,c);c[0]<b.length&&";"==b.charAt(c[0])?(c[0]++,1!=a.g&&(a.F=!0),a.B=ku(a,b,c),c[0]+=d,a.H=ku(a,b,c)):(a.B+=a.G,a.H+=a.M)};
iu=function(a,b){a.J=b;gu(a,fu.Gt);a.A=0;a.D=2;if(0<a.A)throw Error("Can't combine significant digits and minimum fraction digits");a.ba=2};
mu=function(a,b){var c=Math.pow(10,a.D),d;if(0>=a.ba)d=Math.round(b*c);else{d=b*c;var e=a.D;if(d){var f=a.ba-lu(d)-1;f<-e?(e=Math.pow(10,e),d=Math.round(d/e)*e):(e=Math.pow(10,f),d=Math.round(d*e)/e)}d=Math.round(d)}e=d;(0,window.isFinite)(e)?(d=Math.floor(e/c),c=Math.floor(e-d*c)):(d=b,c=0);return{intValue:d,fG:c}};
nu=function(a,b,c,d){if(a.A>a.D)throw Error("Min value must be less than max value");d||(d=[]);b=mu(a,b);var e=Math.pow(10,a.D),f=b.intValue,k=b.fG,l=0<a.A||0<k||!1;b=a.A;l&&(b=a.A);for(var m="",n=f;1E20<n;)m="0"+m,n=Math.round(n/10);var m=n+m,q=fu.Ht,n=fu.Uo.charCodeAt(0),r=m.length,v=0;if(0<f||0<c){for(f=r;f<c;f++)d.push(String.fromCharCode(n));if(2<=a.C.length)for(c=1;c<a.C.length;c++)v+=a.C[c];c=r-v;if(0<c)for(var f=a.C,v=r=0,x,B=fu.Fo,F=m.length,J=0;J<F;J++){if(d.push(String.fromCharCode(n+1*
Number(m.charAt(J)))),1<F-J)if(x=f[v],J<c){var L=c-J;(1===x||0<x&&1===L%x)&&d.push(B)}else v<f.length&&(J===c?v+=1:x===J-c-r+1&&(d.push(B),r+=x,v+=1))}else{c=m;m=a.C;f=fu.Fo;x=c.length;B=[];for(r=m.length-1;0<=r&&0<x;r--){v=m[r];for(F=0;F<v&&0<=x-F-1;F++)B.push(String.fromCharCode(n+1*Number(c.charAt(x-F-1))));x-=v;0<x&&B.push(f)}d.push.apply(d,B.reverse())}}else l||d.push(String.fromCharCode(n));(a.ca||l)&&d.push(q);a=""+(k+e);for(e=a.length;"0"==a.charAt(e-1)&&e>b+1;)e--;for(f=1;f<e;f++)d.push(String.fromCharCode(n+
1*Number(a.charAt(f))))};
ou=function(a,b,c){c.push(fu.Lt);0>b?(b=-b,c.push(fu.ZD)):a.da&&c.push(fu.qE);b=""+b;for(var d=fu.Uo,e=b.length;e<a.S;e++)c.push(d);c.push(b)};
pu=function(a){a=a.charCodeAt(0);if(48<=a&&58>a)return a-48;var b=fu.Uo.charCodeAt(0);return b<=a&&a<b+10?a-b:-1};
ku=function(a,b,c){for(var d="",e=!1,f=b.length;c[0]<f;c[0]++){var k=b.charAt(c[0]);if("'"==k)c[0]+1<f&&"'"==b.charAt(c[0]+1)?(c[0]++,d+="'"):e=!e;else if(e)d+=k;else switch(k){case "#":case "0":case ",":case ".":case ";":return d;case "\u00a4":if(c[0]+1<f&&"\u00a4"==b.charAt(c[0]+1))c[0]++,d+=a.L;else switch(a.fa){case 0:d+=hu[a.L][1];break;case 2:var k=a.L,l=hu[k],d=d+(k==l[1]?k:k+" "+l[1]);break;case 1:d+=hu[a.L][2]}break;case "%":if(!a.F&&1!=a.g)throw Error("Too many percent/permill");if(a.F&&
100!=a.g)throw Error("Inconsistent use of percent/permill characters");a.g=100;a.F=!1;d+=fu.Wt;break;case "\u2030":if(!a.F&&1!=a.g)throw Error("Too many percent/permill");if(a.F&&1E3!=a.g)throw Error("Inconsistent use of percent/permill characters");a.g=1E3;a.F=!1;d+=fu.Xt;break;default:d+=k}}return d};
tu=function(a,b){var c=1==a.J?qu.Et:qu.SC;null==c&&(c=qu.Et);if(3>b)return ru;b=Math.min(14,b);for(var d=c[Math.pow(10,b)],e=b-1;!d&&3<=e;)d=c[Math.pow(10,e)],e--;if(!d)return ru;c=d.other;return c&&"0"!=c?(c=/([^0]*)(0+)(.*)/.exec(c))?{prefix:c[1],BA:c[3],Gp:e+1-(c[2].length-1)}:ru:ru};
lu=function(a){if(!(0,window.isFinite)(a))return 0<a?a:0;for(var b=0;1<=(a/=10);)b++;return b};
xu=function(a,b,c,d){g.zf.call(this);this.g=a;this.Zb=this.da=!1;this.ra=c;this.Ec=d;this.ka=this.aa=this.F=this.D=this.N=this.Ea=this.ca=this.J=this.Ab=this.Ta=this.Mb=this.Qa=this.L=this.o=null;this.yb=!1;this.gb=this.Eb=this.Wa=this.qb=this.M=this.S=this.H=this.va=this.sa=this.na=this.B=this.C=this.wb=this.ga=this.fa=this.G=null;this.A=new g.sm(this);this.Ja=[];a=this.g;this.hc=null!=a&&null!=a.g&&null!=bd(a.g)?Vc(bd(a.g),fd,2):null;a=this.g;this.ac=null!=a&&null!=a.g&&null!=bd(a.g)?Vc(bd(a.g),
jd,7):null;this.ba=[];this.da=!this.g.J&&Q.g();this.tb=!Q.g()&&Q.tb;a="";this.da?a="redesign2014q4":this.tb&&(a="fixedDirectionality");a={attributionText:this.g.attributionText,Tg:this.g.Tg,ge:this.g.ge,jm:a};this.o=gq(this.g.ba,a);this.g.Za||this.A.T(this.o,"touchmove",this.RH);this.ga=g.K("videoAdUiProgress",this.o);this.wb=g.K("videoAdUiBuffer",this.o);this.L=g.K("videoAdUiAttributionContainer",this.o);this.Qa=g.K("videoAdUiAttributionIconContainer",this.o);this.Ta=g.K("videoAdUiAttribution",this.o);
this.g.A&&(g.S(b,"videoAdUiInstreamBadgeExperiment"),this.Mb=g.K("videoAdUiAttributionBadge",this.L),c=qr({Pk:"",Ij:0,Qk:0}),g.He(this.Mb,Pa(c)));this.gb=g.K("videoAdUiPreview",this.o);null!=this.gb&&g.O(this.gb,!1);this.Ab=g.K("videoAdUiVisitAdvertiserLink",this.o);this.J=g.K("videoAdUiVisitAdvertiserLinkText",this.o);this.ca=g.K("videoAdUiVisitAdvertiserIcon",this.o);this.Ea=g.K("videoAdUiBottomBarMessage",this.o);this.N=g.K("videoAdUiAuthorIcon",this.o);this.D=g.K("videoAdUiAuthorName",this.o);
this.F=g.K("videoAdUiLearnMore",this.o);this.aa=g.K("videoAdUiLearnMoreText",this.o);this.da?(this.M=g.K("videoAdUiTopButtonShare",this.o),this.qb=g.K("videoAdUiTopButtonShareTooltip",this.o),this.Wa=g.K("videoAdUiTopButtonInfo",this.o),this.Eb=g.K("videoAdUiTopButtonWatchLater",this.o)):this.M=g.K("videoAdUiShare",this.o);this.G=g.K("videoAdUiTitle",this.o);this.fa=g.K("videoAdUiTopBar",this.o);c=this.ka=g.K("videoAdUiBottomBar",this.o);d=this.hc;Q.g()&&null!=c&&null!=d&&null!=Tc(d,5)&&(d=Tc(d,5)||
"",d=Lfa[d],null!=d&&!D(d)&&g.S(c,d));null!=this.N&&this.A.T(this.N,"click",this.rF);null!=this.D&&(c=new bt,this.ba.push(c),this.A.T(c,"click",this.sF),c.Fb(this.D));null!=this.F&&(c=new bt,c.C=!0,this.ba.push(c),this.A.T(c,"click",this.qx),c.Fb(this.F));null!=this.aa&&(c=new bt,c.C=!0,this.ba.push(c),this.A.T(c,"click",this.qx),c.Fb(this.aa));null!=this.M&&this.A.T(this.M,"click",this.MP);null!=this.G&&(c=new bt,this.ba.push(c),this.A.T(c,"click",this.UP),c.Fb(this.G));null==this.fa||!Q.g()&&wn()||
this.A.T(this.o,"mouseover",this.JP);null!=this.J&&this.A.T(this.J,"click",this.jo);null!=this.ca&&this.A.T(this.ca,"click",this.jo);null!=this.L&&null!=this.g.L&&qt(this.g.L)&&(g.S(this.L,"videoAdUiWtaClickable"),this.A.T(this.L,"click",this.QO),this.A.T(this,"why_this_ad_got_it",this.mQ));null!=this.g.skipOffset?(this.B=Q.g()?new Xt(this.g,this.o):new Qt(this.g,this.o),this.B.hh(this),this.B.ka=a.jm):!this.g.aa||3==this.Ec&&3500>this.ra||(this.H=new Et(this.g,this.o),g.N(this,this.H),this.H.hh(this));
this.g.H&&(this.na=new jt(this.g,this.o),g.N(this,this.na),this.na.hh(this));a=this.g.g;Q.g()&&null!=a&&null!=Tc(a,1)&&null!=Tc(bd(a),3)&&Tc(Vc(bd(a),gd,3),1)&&(this.sa=new Bt(this.g,this.o));a=this.g.g;Q.g()&&null!=a&&null!=Tc(a,1)&&null!=Tc(bd(a),7)?(c=Vc(bd(a),jd,7),a=null!=Tc(c,1)||null!=Tc(c,7)&&null!=Tc(c,8),c=Tc(c,5),a=a&&c?!0:!1):a=!1;a&&(this.va=new Ft(this.g,this.o));this.g.ka&&(this.S=new Dt,this.S.hh(this),this.ka.insertBefore(this.S.o,this.L));400>=((0,window.parseInt)(g.hh(b,"width"),
10)||b.width)&&g.S(this.o,"videoAdUi-mobile");this.g.J&&(g.S(this.o,"blazer"),window.settings&&window.settings.isTablet?g.S(this.o,"tablet"):g.S(this.o,"phone"));a=g.Oe(b,"html5-video-player");null!=a&&(this.da&&g.S(a,"videoAdUiRedesign"),g.T(a,"ytp-video-ad-learn-more-ui",this.g.C));g.O(this.o,!1);b.appendChild(this.o);this.g.C||this.da||!this.g.La||(this.C=g.pe("DIV",{style:"width:100%;height:100%;pointer-events:auto;"}),this.o.appendChild(this.C));wu(this)};
Mfa=function(a){null!=a.C&&g.O(a.C,!1)};
yu=function(a,b,c){if(null!=a.sa){var d=a.sa,e=null!=a.g.skipOffset;if(!d.G){var f={action:"condor-brand-interaction"};null!=b&&(f.trigger="skip"==b?"s":"complete"==b?"c":"abandon"==b?"a":"u");f.skip=e?"t":"f";f.rt=c;f.numclk=d.M;g.db(d.B)&&(d.B.push("n"),d.C.push("0"),d.D.push("0"));f.opt=d.B.join(",");f.clk_time_ms=d.C.join(",");f.rel_clk_time_sec=d.D.join(",");null!=d.J&&(f.icon_sty=d.J);f.ei="[EID]";f.cpn="[CPN]";f.content_v="[CONTENT_V]";f.ad_cpn="[AD_CPN]";f.ad_v="[AD_V]";f.ad_id="[AD_ID]";
f.ad_len="[AD_LEN]";e=lq(f);e=g.Fm(e,d.N.D);jn(e);d.G=!0}}null!=a.va&&(d=a.va,a=null!=a.g.skipOffset,null!=d.A&&(e={action:"condor-robin"},e.topic=d.A,null!=b&&(e.trigger="skip"==b?"s":"complete"==b?"c":"abandon"==b?"a":"u"),e.skip=a?"t":"f",e.rt=c,e.num_clk_whole=d.H,e.num_clk_topic=d.F,e.ei="[EID]",e.cpn="[CPN]",e.content_v="[CONTENT_V]",e.ad_cpn="[AD_CPN]",e.ad_v="[AD_V]",e.ad_id="[AD_ID]",e.ad_len="[AD_LEN]",b=lq(e),b=g.Fm(b,d.J.D),jn(b),d.G=!0))};
zu=function(a){a.B&&(a.B.dispose(),a.B=null)};
Au=function(a,b){a.Ja=b;(0,g.H)(b,function(a){a.B=this.o;a.B.appendChild(a.g);eu(a);g.O(a.g,!1);var b=a.Ac();if(null!=b){var c=new bt;c.C=!0;this.ba.push(c);this.A.T(c,"click",(0,g.A)(this.wH,this,a));c.Fb(b)}},a)};
Bu=function(a){null!=a.J&&(g.O(a.J,!0),g.He(a.J,a.g.visitAdvertiserText));null!=a.ca&&g.O(a.ca,!0)};
Cu=function(a,b){if(null!=a.o){var c=g.Oe(g.Ee(a.o),"html5-video-player");null!=c&&(g.T(c,"ytp-ad-end-cap",b),g.T(c,"ytp-ad-display-override",b))}};
wu=function(a){var b=a.g.G&&(a.ra>a.g.ca||0==a.ra),c=b&&a.g.va,d=b&&a.g.Ea,e=b&&a.g.B,f=b&&a.g.ra,b=b&&a.g.S,k=a.g.na&&a.g.o,l="0px",m;m=a.hc;m=Q.g()&&null!=m&&Tc(m,1)?!1:!0;var n;n=a.g;var q=a.ac;if(Q.g()&&null!=q&&null!=Tc(q,1)&&Tc(q,2)){var r=Tc(q,1)||"";Ja(r,"[VC_RAW]")?(q=Tc(q,3),n=0<n.Nf&&null!=q&&0<q&&n.Nf>=q):n=!0}else n=!1;null!=a.G&&(g.O(a.G,b),null!=a.N&&g.O(a.N,c),null!=a.D&&g.O(a.D,d),null!=a.M&&(g.O(a.M,f),f&&a.dispatchEvent("videoShareShown")),null!=a.Wa&&g.O(a.Wa,!1),null!=a.Eb&&g.O(a.Eb,
!1),null!=a.fa&&g.O(a.fa,b||c||d||e));null!=a.L&&Du(a);null!=a.ga&&(g.O(a.ga,k),k&&(l=g.hh(a.ga,"height")));null!=a.ka&&!Q.g()&&g.dh(a.ka,"bottom",l);Eu(a);null!=a.Qa&&g.O(a.Qa,a.g.fa);null!=a.Ab&&g.O(a.Ab,m);if(null!=a.Ea&&n){a:if(c=a.g,d=a.ac,Q.g()&&null!=d&&null!=Tc(d,1)){d=Tc(d,1)||"";if(Ja(d,"[VC_RAW]")){c=(new ju(1)).format(c.Nf);if(D(c)){c="";break a}e=new RegExp(La("[VC_RAW]"),"g");d=d.replace(e,c.replace(/\$/g,"$$$$"))}c=d}else c="";g.He(a.Ea,c);g.O(a.Ea,!0)}Q.g()||!a.g.N||Q.F||(null!=a.F&&
g.O(a.F,!1),null!=a.aa&&g.O(a.aa,!1))};
Nfa=function(a,b,c,d,e){var f;f=a.g.A?"":qr({Pk:"",Ij:0,Qk:0});a.g.o&&a.g.ga&&(b=vo(c-b),b=a.g.A?b:a.g.J?" \u2022 "+b:a.da?" \u00b7 "+b:": ("+b+")",f=a.g.A?b:qr({Pk:b,Ij:d,Qk:e}));g.He(a.Ta,f);Du(a)};
Du=function(a){g.O(a.L,a.g.F&&(!a.g.o||a.yb))};
Ofa=function(a,b){null!=a.na&&a.na.show(b)};
Eu=function(a){var b=a.g.G&&(a.ra>a.g.ca||0==a.ra)&&a.g.B?a.g.N?!Q.F||a.Zb:!0:!1;null!=a.F&&g.O(a.F,b);null!=a.aa&&g.O(a.aa,Q.g()&&a.g.C&&!b)};
Fu=function(){g.M.call(this);this.B="";this.bb=null;this.A=new vp;this.o=new Tl;this.D=[];this.H=!1;this.g={};this.G={};this.C=-1;this.F=[]};
Gu=function(a,b,c){c=c||Dp(a.A,b.type);if(Q.o){var d=Do(Ao(),b.type,a.B);a.J(b.type,c,d)}else yda(jo(),b.type,a.B,(0,g.A)(a.J,a,b.type,c))};
Pfa=function(a,b){null!=b&&(0,g.H)(b,function(a){g.cb(this.F,a)||this.F.push(a)},a)};
Hu=function(a,b,c){null!=c.viewability&&vq(a.g,c.viewability);var d;Q.o||(d=jo().H||void 0);var e=[];(0,g.H)(b,function(a){var b=this.g;wq(b,a,"MOAT_INIT",c.moatInit);wq(b,a,"MOAT_VIEWABILITY",c.moatViewability);wq(b,a,"IAS_VIEWABILITY",c.integralAdsViewability);wq(b,a,"DV_VIEWABILITY",c.doubleVerifyViewability);wq(b,a,"GOOGLE_VIEWABILITY",c.googleViewability);e.push(ln(a,this.g,c,d))},a);
vq(a.g,"na");return e};
Iu=function(a,b,c){(0,g.H)(b,function(a){jn(a,void 0,void 0,c)},a)};
Qfa=function(a,b){switch(b){case "abandon":return!Vl(a.o,b)&&!Vl(a.o,"skip")&&!Vl(a.o,"instreamAdComplete")&&(Vl(a.o,"impression")||a.H);case "instreamAdComplete":case "complete":return!Vl(a.o,b)&&!Vl(a.o,"skip");case "progress":case "click":case "mute":case "unmute":case "rewind":case "fullscreen":case "exitfullscreen":case "expand":case "collapse":return!0;default:return!Vl(a.o,b)}};
Ju=function(a){g.zf.call(this);this.ads=a;this.Pc=null;this.ne=new g.sm(this);g.N(this,this.ne);this.Sc="normal";this.Sa=this.volume=null;this.Va=new fo;this.Df=!1;this.content={};this.Pb=new Fu;this.Ha=null;this.Wl=!1;jo();this.Ks=(0,g.A)(this.nG,this);this.xi=null;var b=0;(0,g.H)(a,function(a){b+=a.getDuration()});
(0,g.H)(a,function(b,d){var c=b.C;c.Rf=a.length;var f=d+1;c.g=f;c.A=f})};
Ku=function(a,b){if(a.Pc=b)a.Pb.B=b.H;if(Q.o){var c=Ao();Eo(c,a.Ks);b&&c.o.set(b.H,a.Ks)}};
Lu=function(a,b){return null==b?!1:null!=b.getExtension("adx")?!0:Lu(a,b.o)};
Rfa=function(a){return(0,g.Sk)(a.ads,function(a){return(0,g.Sk)(this.Lg(a),function(a){return!D(g.E(jq(a.o)))})},a)};
Mu=function(a){a=a.g;return null!=a&&a instanceof Kp};
Nu=function(a,b){Gu(a.Pb,new g.Ve(b));a.ia(b)};
Sfa=function(a,b){return(0,g.Qr)(g.Ob(b),function(a){return Qb(this.Va,a)},a)};
Pu=function(a){if(!a.Dc())throw rn(Ou,null,"Ads manager is not correctly configured.");};
Qu=function(a,b){for(var c=b;null!=c;)(0,g.H)(c.G.fb(),a.nP,a),c=c.o};
Tfa=function(a){if(!g.qa(a))throw rn(Ou,null,"adsRenderingSettings.mimeTypes should be an array");var b=g.lb(g.Nb(Ru),g.Nb(Op));(0,g.H)(a,function(a){if(!g.cb(b,a))throw rn(Ou,null,"Invalid or unsuppoted mime type "+a);})};
Su=function(a){var b=a.la();if(null!=b){var c=b.g;if(c instanceof Kp&&(c=c.Za,null!=c&&!g.db(c))){var d=window.document.body,e=uq(a.la()),e=wt(!1,null,null,!1,a.Va,e);e.G=!1;e.F=!1;e.o=!1;b=b.Pe();a.Ha=new xu(e,d,1E3*a.getDuration(),b);Au(a.Ha,c);a.Ha.show();a.Xa().T(a.Ha,"videoIconClicked",a.bM)}}};
Tu=function(a,b,c){null!=a.Ha&&0<=c&&0<=b&&a.Ha.update(b,0,c,0,0)};
Ufa=function(a,b){function c(a,b){for(var c in a)for(var d=c.toLowerCase(),e=0;e<Uu.length;e++){var m=Uu[e];if(d==m)throw Error('Cannot override "'+m+'" '+b+', got "'+c+'" with value "'+a[c]+'"');}}
c(a,"attribute");c(b,"param")};
g.Vu=function(){};
g.Wu=function(a){g.zf.call(this);this.H=a||g.ce();this.za=null;this.Ae=!1;this.g=null;this.D=void 0;this.F=this.L=this.B=null};
Xu=function(a,b){if(a.Ae)throw Error("Component already rendered");a.g||a.Km();b?b.insertBefore(a.g,null):a.H.g.body.appendChild(a.g);a.B&&!a.B.Ae||a.Ci()};
Yu=function(a,b){a.L&&(0,g.H)(a.L,b,void 0)};
Zu=function(a,b){g.Wu.call(this,b);this.J=a;this.A=new g.sm(this);this.o=new Tl};
$u=function(a){return a.pa()?a.pa().firstChild:null};
av=function(a){g.zf.call(this);this.bb=null;this.D=a;this.o=null;this.B=-1;this.C=!1;this.A=Ta()};
bv=function(){};
cv=function(a,b,c){this.g=a;this.nf=c;this.o=b};
Vfa=function(a,b){this.g=a;this.o=b};
dv=function(a,b,c,d){Rp.call(this,a,b,"Static",c,d);this.Qu=!1};
ev=function(a,b,c,d){Rp.call(this,a,b,"Html",c,d)};
fv=function(a,b,c,d){Rp.call(this,a,b,"Static",c,d)};
hv=function(a,b,c){if(g.db(c))return new Rp(a,b,"",null,"");var d=gv(c);c=d.o;var e=d.g,d=d.A;switch(c){case "Html":return new ev(a,b,e,d);case "Static":switch(Op[e]){case "Image":return new fv(a,b,e,d);case "Flash":return new dv(a,b,e,d);case "Text":return new iq(a,b)}}return new Rp(a,b,c,e,d)};
gv=function(a){var b=g.Za(a,function(a){return"Static"==a.o&&"Flash"==Op[a.g]}),c=g.Za(a,function(a){return"IFrame"==a.o}),d=g.Za(a,function(a){return"Html"==a.o}),e=g.Za(a,function(a){return"Static"==a.o&&"Image"==Op[a.g]}),f=g.Za(a,function(a){return"Static"==a.o&&"Text"==Op[a.g]});
return to&&null!=b?b:null!=c?c:null!=d?d:null!=e?e:null!=f?f:a[0]};
Wfa=function(a,b,c,d,e,f){var k=gv(f),l=hv(a.id,a.size,[k]);l.D=!0;l.J=a.apiFramework;l.na=b;l.L=c;l.g=d;e&&(l.Wi=e);g.jb(f,k);var m=[];(0,g.H)(f,function(f){f=hv(a.id,a.size,[f]);f.D=!0;f.J=a.apiFramework;f.na=b;f.L=c;f.g=d;e&&(f.Wi=e);m.push(new $q(f,[],a.adSlotId))});
return new $q(l,m,a.adSlotId)};
iv=function(a,b,c){this.o=a;this.g=b;this.A=c};
jv=function(a,b,c){Yp.call(this);this.o=a;this.A=b;this.B=c};
kv=function(){this.bb=null};
lv=function(){this.C=null;this.D="http://www.google.com/adsense/support";this.F=0;this.g=15;this.B=5;this.A=3;this.o=!1};
Xfa=function(a,b){a.g=b};
mv=function(a,b,c,d,e,f,k,l,m,n,q){Yp.call(this,n,q);this.C=a;this.D=b;this.B=c;this.F=m;this.G=k;this.o=f;this.A=e};
nv=function(){};
Zfa=function(a,b){var c;(0,g.H)(g.Be(b),function(a){switch(a.nodeName){case "context":c="default"==a.getAttribute("data")?new lv:null;break;case "params":null!=c&&Yfa(this,c,a)}},a);
return c};
Yfa=function(a,b,c){(0,g.H)(g.Be(c),function(a){var c=a.attributes[0].value;switch(a.nodeName){case "attribution_url":b.D=c;break;case "attribution_text":b.C=c;break;case "signals":b.F=(0,window.parseInt)(c,10);break;case "audio_muted_on_start":b.o=Nr(c,!1)}},a)};
ov=function(){this.bb=null};
pv=function(){};
qv=function(){};
rv=function(){};
tv=function(a){this.data=a||{}};
uv=function(a,b,c){a=a.data[b];return null!=a?a:c};
wr=function(a,b){return uv(a,b,"")};
vv=function(a,b,c){a=a.data;a[b]||(a[b]=[]);return a[b][c]};
wv=function(a,b){return a.data[b]?a.data[b].length:0};
xv=function(a){this.data=a||{}};
yv=function(a){this.data=a||{}};
zv=function(a){this.data=a||{}};
Av=function(a){this.data=a||{}};
Bv=function(a){this.data=a||{}};
Cv=function(a){this.data=a||{}};
Dv=function(a){this.data=a||{}};
Ev=function(a){this.data=a||{}};
Gs=function(a){this.data=a||{}};
dr=function(a){return new Cv(a.data.product_card)};
Fs=function(a){return new zv(a.data.placement)};
lr=function(a){return new Av(vv(a,"action",0))};
Es=function(a){return!!uv(a,"show_in_endcap",void 0)};
Is=function(a){return!!uv(a,"show_in_companion",void 0)};
Kv=function(){if(!Fv){var a={};Fv={g:a};a.type=Gv;a.id=Hv;a.link_url=Hv;a.title=Hv;a.image=Ph(Iv());var b=Jv();a.event=Oh(b);a.target=Hv}return Fv};
kr=function(a){return wr(a,"target")};
Jv=function(){if(!Lv){var a={};Lv={g:a};a.type=Gv;a.base_url=Hv}return Lv};
hr=function(a){return new Gs(a.data.image)};
er=function(a){return new Dv(vv(a,"offer",0))};
gr=function(a){return wr(a,"merchant")};
ir=function(a){return wr(a,"price")};
Mv=function(a){return new Av(vv(a,"action",0))};
Iv=function(){if(!Nv){var a={};Nv={g:a};a.image_url=Hv;a.thumbnail_url=Hv;a.image_height=Ov;a.image_width=Ov}return Nv};
Hs=function(a,b){a.data.image_url=b};
Pv=function(a,b,c){Yp.call(this,c);this.o=a;this.A=b||null};
Qv=function(a){this.g=a};
Sv=function(a,b,c){for(var d={},e=0;e<b.attributes.length;e++){var f=b.attributes[e],k=c.g[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]=Rv[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){var k=
c.g[f.nodeName],l=Sv(a,f,k.od);3==k.label?(d[f.nodeName]||(d[f.nodeName]=[]),d[f.nodeName].push(l)):d[f.nodeName]=l}return d};
$fa=function(a,b){var c=new vp;(0,g.H)(g.Be(b),function(a){"CustomTracking"==a.nodeName&&null!=g.Be(a)&&(c=Tr(a,!1,(0,g.A)(function(a,b){return Tv(a,b)},this)))},a);
return c};
Tv=function(a,b){return g.Fm(b,{ACTTYPE:{toString:function(){switch(a){case "video_card_endcap_action":return"action_headline_click";default:return""}}}})};
Uv=function(a,b){Yp.call(this);this.A=a;this.o=g.E(b)};
Vv=function(a,b){Yp.call(this);this.o=a;this.A=b};
Wv=function(){this.bb=null};
Xv=function(a,b){this.logger=null;this.A=b;this.g={};this.o=[];this.g.CustomTracking=Tr;this.g.UI=this.C};
Yv=function(a,b){if(null==b)return null;var c={};(0,g.H)(g.Be(b),function(a){c[a.nodeName]=null!=this.g[a.nodeName]?this.g[a.nodeName].call(this,a):null},a);
return null!=c.UI?c:null};
Zv=function(){Xv.call(this,0,"mute_");this.g.SurveyOptions=this.B};
$v=function(){Yp.call(this);this.o=""};
aw=function(){this.bb=null};
bw=function(a,b,c,d){Yp.call(this);this.B=a;this.A=b;this.C=c;this.o=d};
cw=function(){this.bb=null};
dw=function(){Yp.call(this)};
ew=function(){this.bb=null};
aga=function(a,b){(0,g.H)(g.Be(b),function(a){a.nodeName==this.g.OE&&Jr(a)},a)};
fw=function(a,b,c,d,e,f){Yp.call(this);this.C=a||"";this.D=b||"";this.F=c||"";this.B=d;this.o=e;this.A=f};
gw=function(){this.bb=null};
hw=function(a){Yp.call(this);this.o=a};
iw=function(){this.bb=null};
jw=function(){Xv.call(this,0,"why_this_ad_");this.o.push("targeting_reason")};
kw=function(a,b){return null!=a?(0,g.Qr)(b,function(b){return b in a}):!1};
cga=function(a,b){return null!=a?(0,g.Sk)(b,function(b){return b in a}):!1};
lw=function(){};
mw=function(){Yp.call(this)};
nw=function(){};
ow=function(){};
pw=function(a){this.B=a;this.logger=null};
qw=function(a){if(null==a)return!1;a=g.De(a);return null!=a&&"VAST"==a.nodeName};
tw=function(a,b){var c=[],d=null;try{var e=g.Cr(a),f=g.De(e);null!=f&&"CompanionAds"==f.nodeName&&(d=rw(pw.prototype,f,b))}catch(k){}null!=d&&c.push(d);return c};
uw=function(a){if(null==a)return 0;a=(0,window.parseInt)(a.getAttribute("version"),10);return g.ta(a)&&!(0,window.isNaN)(a)?a:0};
ega=function(a){var b=[],c=g.De(a.B),d=uw(c);Kr(c,a.g.zC,function(a){var c,e=vw(a);if(null==e)throw Er(a);c=a.getAttribute(this.o.rl);a=Number(a.getAttribute(this.o.au));var l=c||null;c=a||0;var m=null,n=null;a=[];for(var q=[],r=[],v=[],x=new Tl,B,F=e.nodeName==this.g.bF,J=F,L=F,eb=null,pb=g.Be(e),ka=0,td=pb.length;ka<td;ka++){var Bb=pb[ka];switch(Bb.nodeName){case this.g.AC:Jr(Bb);case this.g.rE:break;case this.g.XE:if(F){if(null!=B)throw Fr(Bb);B=Jr(Bb);eb=ffa(B);J=Nr(e.getAttribute(this.o.GC),
J);L=Nr(e.getAttribute(this.o.yD),L)}else throw Er(Bb);break;case this.g.DC:m=Jr(Bb);break;case this.g.EC:n=Jr(Bb);break;case this.g.oD:Jr(Bb);break;case this.g.ME:Jr(Bb);break;case this.g.tl:Bb=Jr(Bb);Rr(Bb)&&a.push(Pr(Bb));break;case this.g.ERROR:Bb=Jr(Bb);q.push(Pr(Bb));break;case this.g.fD:v=dga(this,Bb);r=v.creatives;v=v.GF;break;case this.g.vD:var Sf=Bb,x=eb,Bb=new Tl;try{for(var Tf=Hr(Sf,this.g.EXTENSION),Sf=0,Bk=Tf.length;Sf<Bk;Sf++){var wc=Tf[Sf],Yb=wc.getAttribute(this.o.qu);null!=Yb?Yb=
Yb.toLowerCase():Yb="generic";var mc;switch(Yb){case "programmatic":mc=(new aw).parse(wc);break;case "geo":mc=(new nw).parse(wc);break;case "pod":mc=(new lw).parse(wc);break;case "waterfall":mc=(new ow).parse(wc);break;case "dart":mc=(new pv).parse(wc);break;case "dfp":Yb="DFP";mc=(new qv).parse(wc);break;case "adsense":Yb="AdSense";mc=(new ov).parse(wc);break;case "textad":Yb="TextAd";mc=(new gw).parse(wc);break;case "templatead":Yb="TemplateAd";mc=(new ew).parse(wc);break;case "infocards":var Yb=
"InfoCards",uu=new Qv(!0);mc=uu.parse(wc);break;case "infocardstracking":Yb="InfoCardsTracking";uu=new Qv(!1);mc=uu.parse(wc);break;case x:case "prefetchedad":Yb="LocalRedirect";var ej=wc;if(null==ej)mc=null;else{var Ck=null,Ip=Hr(ej,"AdXml");if(1==Ip.length){var Im=g.De(Ip[0]);if(Zm().g.g("html5_reuse_parsed_xml")&&null!=Im)try{Ck=Gr(Im)}catch(Eg){Ck='<?xml version="1.0" encoding="UTF-8"?>'+Dr(Im)}else Ck='<?xml version="1.0" encoding="UTF-8"?>'+Dr(Im)}var Fd=Hr(ej,"VASTAdTagURI"),ej=null;1==Fd.length&&
(ej=Fd[0].textContent);mc=new Uv(Ck,ej)}break;case "viral":Yb="viral";mc=(new iw).parse(wc);break;case "metrics":Yb="metrics";mc=(new Wv).parse(wc);break;case "adx":Yb="adx";mc=(new Vr).parse(wc);break;case "why_this_ad":Yb="why_this_ad";mc=(new jw).parse(wc);break;case "mute":Yb="mute";mc=(new Zv).parse(wc);break;case "sodar":mc=(new cw).parse(wc);break;case "adformat":Yb="AdFormat";mc=(new kv).parse(wc);break;default:var Jm=new rv,Yb="generic";mc=Jm.parse(wc)}if(null!=mc){var vu=Bb.get(Yb);null!=
vu?"generic"==Yb&&(bea(vu,mc.g),Bb.set(Yb,vu)):Bb.set(Yb,mc)}}}catch(Eg){if(!g.ua(Eg.Nb)||1105==Eg.Nb())throw Eg;}x=Bb}}e=g.E(l);Tf=m;a:if(D(g.E(m)))Bk="UNKNOWN";else switch(Bk=m.toUpperCase(),Bk){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:Bk="UNKNOWN"}x.get("programmatic");
wc=x;Yb=null;x=x.get("AdSense");null!=x&&(x=Zp(x,"vast2tracking"),null!=x&&!g.db(x)&&(Yb=x[0]));c=new Zr(e,Tf,Bk,0,n,0,0,0,c,q,a,r,v,wc,B,J,L,Yb);null!=c&&(c.Wa=d,b.push(c))},a);
return b};
vw=function(a){var b=null;a=g.Be(a);for(var c=0,d=a.length;c<d;c++)switch(b=a[c],b.nodeName){case "InLine":case "Wrapper":break;default:throw Er(b);}return b};
fga=function(a){if(D(g.E(a)))return"none";switch(a){case "all":case "any":case "none":return a;default:return"none"}};
dga=function(a,b){var c=[],d=[];Kr(b,a.g.eD,function(a){var b=a.getAttribute(this.o.au),e=window.NaN;D(g.E(b))||(e=(0,window.parseFloat)(b));a.getAttribute(this.o.BC);var b=a.getAttribute(this.o.rl),l=!1,m=[];a=g.Be(a);for(var n=0,q=a.length;n<q;n++){var r=a[n];switch(r.nodeName){case this.g.VE:var v=r,x=Jr(v),x=g.E(x);D(x)&&v.getAttribute(this.o.ID);r.getAttribute(this.o.HD);break;case this.g.LINEAR:if(l)throw Fr(r);l=gga(this,r,(0,window.isNaN)(e)?0:e,b||null);ob(c,l);ob(m,l);l=!0;break;case this.g.UC:if(l)throw Fr(r);
l=rw(this,r,(0,window.isNaN)(e)?0:e);ob(d,l);l=!0;break;case this.g.gE:if(l)throw Fr(r);l=hga(this,r,(0,window.isNaN)(e)?0:e,b||null);ob(c,l);ob(m,l);l=!0}}n=0;for(q=m.length;n<q;n++);},a);
return{creatives:c,GF:d}};
hga=function(a,b,c,d){var e=[],f=new vp;b=g.Be(b);for(var k=0,l=b.length;k<l;k++){var m=b[k];switch(m.nodeName){case a.g.fE:m=iga(a,m,c,d);null!=m&&e.push(m);break;case a.g.So:f=Tr(m);break;default:throw Er(m);}}0!=e.length||f.isEmpty()||(a=new Rp(null,new g.Yd(-1,-1),"",null,""),a.g=c,a.ga=d,e.push(a));(0,g.H)(e,function(a){f&&(a.Wi=f)});
return e};
ww=function(a,b){var c={};c.id=b.getAttribute(a.o.rl);c.adSlotId=b.getAttribute(a.o.CC);c.apiFramework=b.getAttribute(a.o.ol);var d=Ua(b.getAttribute(a.o.xl)),e=Ua(b.getAttribute(a.o.pl));c.size=new g.Yd(d,e);d=b.getAttribute(a.o.uD);e=b.getAttribute(a.o.tD);D(g.E(d))||D(g.E(e))||(c.x0=new g.Yd(Ua(d),Ua(e)));return c};
iga=function(a,b,c,d){var e=ww(a,b);b.getAttribute(a.o.ol);b.getAttribute(a.o.zE);b.getAttribute(a.o.SD);var f=b.getAttribute(a.o.bE),f=Mr(f,-1),k=[];new Tl;var l={},m="",n=null,q=[];b=g.Be(b);for(var r=0,v=b.length;r<v;r++){var x=b[r];switch(x.nodeName){case a.g.iE:q.push(Jr(x));break;case a.g.hE:n=Jr(x);break;case a.g.yo:l=xw(x);m=g.E(Jr(x));break;case a.g.sl:case a.g.ul:case a.g.ql:x=yw(a,x);null!=x&&k.push(x);break;default:throw Er(x);}}a=hv(e.id,e.size,k);Fp(a,m,l);a.J=e.apiFramework;a.na=n;
a.L=q;a.Ea=f;a.g=c;a.ga=d;return a};
yw=function(a,b){var c=Ir(b,a.o.gD);if(null!=c&&"text/javascript"==c)return null;var d;a:switch(d=b.nodeName,d){case a.g.ul:d="Static";break a;case a.g.sl:d="IFrame";break a;case a.g.ql:d="Html";break a;default:throw qn(jga,null,d);}var e=Jr(b);null!=e||(e="");return new iv(d,c,e)};
rw=function(a,b,c){var d=[],e=fga(Ir(b,a.o.wE));Kr(b,a.g.TC,function(a){var b;b=ww(this,a);var e=[],f=new vp,n=null,q=[];a=g.Be(a);for(var r=0,v=a.length;r<v;r++){var x=a[r];switch(x.nodeName){case this.g.WC:q.push(Jr(x));break;case this.g.So:f=Tr(x,!0);break;case this.g.VC:n=Jr(x);break;case this.g.HC:Jr(x);break;case this.g.yo:Jr(x);break;case this.g.sl:case this.g.ul:case this.g.ql:x=yw(this,x);null!=x&&e.push(x);break;default:throw Er(x);}}b=g.db(e)?null:Wfa(b,n,q,c,f,e);null!=b&&d.push(b)},a);
return new Vfa(d,e)};
gga=function(a,b,c,d){var e=new vp,f={},k="",l=[],m=null,n=new Tl,q=[],r=[],v=0,x=Sr(Ir(b,a.o.EE));b=g.Be(b);for(var B=0,F=b.length;B<F;B++){var J=b[B];switch(J.nodeName){case a.g.CD:r=kga(a,J);break;case a.g.yo:f=xw(J);k=g.E(Jr(J));break;case a.g.Co:v=Mr(Jr(J),0);break;case a.g.So:e=Tr(J);break;case a.g.WD:q=lga(a,J);break;case a.g.YE:l=mga(a,J);n=l.customClicks;m=l.clickThrough;l=l.clickTrackingUrls;break;default:throw Er(J);}}(0,g.H)(l,function(a){Ap(e,"click",a)});
a=new Kp(v,m,n,q,x,r);Fp(a,k,f);a.g=c;a.ga=d;e&&(a.Wi=e);return a};
mga=function(a,b){for(var c=null,d=[],e=new Tl,f=g.Be(b),k=0,l=f.length;k<l;k++){var m=f[k];switch(m.nodeName){case a.g.QC:c=Jr(m);break;case a.g.RC:m=Jr(m);d.push(m);break;case a.g.jD:var n=Ir(m,a.o.rl);null!=n||(n="");var q=e.get(n,[]);q.push(Jr(m));e.set(n,q);break;default:throw Er(m);}}return{clickThrough:c,clickTrackingUrls:d,customClicks:e}};
lga=function(a,b){for(var c=[],d=Hr(b,a.g.VD),e=0,f=d.length;e<f;e++){var k=d[e],l=Ir(k,a.o.nD),m=Ir(k,a.o.qu),n=Ir(k,a.o.ZE),q=Ua(k.getAttribute(a.o.xl)),r=Ua(k.getAttribute(a.o.pl)),v=k.getAttribute(a.o.ol),x=Jr(k),B=Lr(k.getAttribute(a.o.Ct)),F=Lr(k.getAttribute(a.o.aE)),k=Lr(k.getAttribute(a.o.UD)),l=new Jp(l,m,n,B,F,k,q,r,x,v);c.push(l)}return c};
kga=function(a,b){var c=[];Kr(b,a.g.BD,function(a){var b;b=a.getAttribute(this.o.sE);var d=Ir(a,this.o.cF),k=Ir(a,this.o.fF),l=Ua(a.getAttribute(this.o.xl)),m=Ua(a.getAttribute(this.o.pl)),n=new g.Yd(l,m),l=a.getAttribute(this.o.ol),m=Sr(Ir(a,this.o.jE)),q=a.getAttribute(this.o.Co),q=Mr(q,-1),r=[],v=[],x={};a=g.Be(a);for(var B=0,F=a.length;B<F;B++){var J=a[B];switch(J.nodeName){case this.g.GD:v.push(Jr(J));break;case this.g.DD:for(var x=[],L=null,J=g.Be(J),eb=0,pb=J.length;eb<pb;eb++){var ka=J[eb];
switch(ka.nodeName){case this.g.ED:L=Jr(ka);break;case this.g.FD:x.push(Jr(ka));break;default:throw Er(ka);}}x={iconClickThrough:L,xH:x};break;case this.g.sl:case this.g.ul:case this.g.ql:L=yw(this,J);null!=L&&r.push(L);break;default:throw Er(J);}}g.db(r)?b=null:(a=x,n=hv("icon"+b,n,r),n.J=l,b=new du(n,b,d,k,q,m,a.iconClickThrough,a.xH,v));null!=b&&c.push(b)},a);
return c};
xw=function(a){a=Jr(a);return null!=a?Eda(a):{}};
zw=function(a){Ju.call(this,a);this.g=this.bb=null;this.M={};this.A=!0;this.J=this.H=this.F=!1;this.D=this.L=0;this.o=null;this.C=0;this.B=1;this.G=-1;this.S=!1;this.N=2==Q.G};
Aw=function(a){var b=a.Vc("getAdLinear");return g.sa(b)?b:a.A};
Bw=function(a){if(!a.A){var b;b=a.Vc("getAdRemainingTime");b=g.ta(b)?b:-2;if(!g.ta(b)||0>b)b=30;g.pg(a.G);a.G=g.og(a.stop,1E3*b,a)}};
Cw=function(a){a.S||(a.S=!0,Nu(a,"complete"))};
Ew=function(a,b){var c=rn(Dw,b,void 0),d=tq(c,a.la()),e=js(a.la());nn(e,d);Dw.message=c.rd();un(a,Dw,b)};
Fw=function(a){Ju.call(this,a);this.C=this.g=this.bb=null;this.A=!0;this.aa=this.L=this.F=!1;this.S=Ta();this.H=this.M=0;this.G=-1;this.o=null;this.D=0;this.B=1;this.J=-1;this.N=!1};
Gw=function(a){var b=a.bd("getAdLinear");return g.sa(b)?b:a.A};
Hw=function(a){if(!a.A){var b;b=a.bd("getAdRemainingTime");b=g.ta(b)?b:-2;if(!g.ta(b)||0>b)b=30;g.pg(a.J);a.J=g.og(a.stop,1E3*b,a)}};
Iw=function(a,b,c,d){d=rn(b,c,d);var e=tq(d,a.la()),f=js(a.la());nn(f,e);b.message=d.rd();un(a,b,c)};
Jw=function(a){a.N||(a.N=!0,Nu(a,"complete"))};
Kw=function(a){Mm.call(this,"adMetadata",a)};
Lw=function(a){switch(a){case 1:return"endslate";default:return"fullslot"}};
Mw=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"}};
Nw=function(){};
Pw=function(a){var b;(b=a.g)||(b={},Ow(a)&&(b[0]=!0,b[1]=!0),b=a.g=b);return b};
Qw=function(){};
Rw=function(a){return(a=Ow(a))?new window.ActiveXObject(a):new window.XMLHttpRequest};
Ow=function(a){if(!a.o&&"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.o=d}catch(e){}}throw Error("Could not create ActiveXObject. ActiveX might be disabled, or MSXML might not be installed");}return a.o};
Sw=function(a){g.zf.call(this);this.headers=new Tl;this.L=a||null;this.A=!1;this.J=this.g=null;this.S="";this.o=0;this.D="";this.B=this.N=this.H=this.M=!1;this.C=0;this.F=null;this.ba="";this.aa=this.G=!1};
Tw=function(a,b){a.C=Math.max(0,b)};
nga=function(a){return g.sc&&g.jc(9)&&g.ta(a.timeout)&&g.t(a.ontimeout)};
oga=function(a){return"content-type"==a.toLowerCase()};
Ww=function(a,b){a.A=!1;a.g&&(a.B=!0,a.g.abort(),a.B=!1);a.D=b;a.o=5;Uw(a);Vw(a)};
Uw=function(a){a.M||(a.M=!0,a.dispatchEvent("complete"),a.dispatchEvent("error"))};
Zw=function(a){if(a.A&&"undefined"!=typeof Xw)if(a.J[1]&&4==Yw(a)&&2==a.getStatus())a.getStatus();else if(a.H&&4==Yw(a))g.og(a.mw,0,a);else if(a.dispatchEvent("readystatechange"),4==Yw(a)){a.getStatus();a.A=!1;try{var b=a.getStatus(),c;a:switch(b){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:c=!0;break a;default:c=!1}var d;if(!(d=c)){var e;if(e=0===b){var f=g.ug(String(a.S))[1]||null;if(!f&&na.self&&na.self.location)var k=na.self.location.protocol,f=k.substr(0,k.length-1);e=!pga.test(f?
f.toLowerCase():"")}d=e}if(d)a.dispatchEvent("complete"),a.dispatchEvent("success");else{a.o=6;var l;try{l=2<Yw(a)?a.g.statusText:""}catch(m){l=""}a.D=l+" ["+a.getStatus()+"]";Uw(a)}}finally{Vw(a)}}};
Vw=function(a,b){if(a.g){$w(a);var c=a.g,d=a.J[0]?g.y:null;a.g=null;a.J=null;b||a.dispatchEvent("ready");try{c.onreadystatechange=d}catch(e){}}};
$w=function(a){a.g&&a.aa&&(a.g.ontimeout=null);g.ta(a.F)&&(g.pg(a.F),a.F=null)};
Yw=function(a){return a.g?a.g.readyState:0};
ax=function(a){try{return a.g?a.g.responseText:""}catch(b){return""}};
qga=function(a,b,c,d){var e=new g.$l("https://www.googleapis.com/youtube/v3/videos");g.im(e,"id",a);g.im(e,"part","snippet,status,statistics");g.im(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));bx(new Sw,e,b,c)};
rga=function(a,b,c,d){var e=new g.$l("https://www.googleapis.com/youtube/v3/channels");g.im(e,"id",a);g.im(e,"part","snippet,statistics,brandingSettings");g.im(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));bx(new Sw,e,b,c)};
bx=function(a,b,c,d){g.im(b,"key","AIzaSyA-dlBUjVQeuc4a6ZN4RkNUYDFddrVLxrA");Tw(a,2E3);var e=new g.sm(a);xm(e,a,"success",function(a){a=a.target;var b;b=a.g?g.Hc(a.g.responseText):void 0;c(b||{});e.dispose();a.dispose()});
xm(e,a,["error","timeout"],function(a){a=a.target;var b=null;0!=a.o&&(b=Error(Mw(a.o)));d(b);e.dispose();a.dispose()});
a.send(b)};
cx=function(a,b,c,d,e,f,k,l){f=void 0===f?window.Infinity:f;k=void 0===k?!1:k;Yi.call(this,a,l);this.C=0;this.H=f;this.S=b;this.J=c;this.N=d;this.aa=e;this.ba=!("csi.gstatic.com"!==this.J||!this.g.navigator||!this.g.navigator.sendBeacon);this.D={};this.g.performance&&this.g.performance.now||(this.D.dat=1);this.F={};this.L=!k;this.B=(0,g.A)(this.M,this);this.G=g.ya(this.g.setTimeout,this.B,1100);this.A=0;this.A=this.g.setTimeout(this.B,1E4);"complete"===this.g.document.readyState?this.g.setTimeout(this.B,
0):Vh(this.g,"load",this.G);Vh(this.g,"unload",this.B)};
dx=function(a){var b=a.label+"."+Math.round(a.value).toString(36);a=Math.round(a.duration);0<a&&(b+="_"+a.toString(36));return b};
sga=function(a,b){var c=new Yh(void 0,"~");Sh(a.D,function(a,b){ci(c,b,a)});
Sh(a.F,function(b,d){ci(c,d,b);delete a.F[d]});
Sh(b,function(a,b){ci(c,b,a)});
var d=di(c,a.S,a.J,""+a.N+a.aa+"&");a.ba&&a.g.navigator.sendBeacon(d,null)||ei(a.g,d)};
gx=function(){this.g=null;if((an(Zm(),21592081)||an(Zm(),21592082))&&!Q.g()){this.g=new cx(1,"https:","csi.gstatic.com","/csi?v=2&s=","ima",void 0,!0);var a;if(ex)a=ex;else{(a=Xh())?(a=a.master,a=Rh(a)?a:null):a=null;a=a||ki();var b=a.google_persistent_state_async;a=null!=b&&"object"==typeof b&&null!=b.Oo&&"object"==typeof b.Oo?ex=b:a.google_persistent_state_async=ex=new tca}var b=ki(),c=Xh(b);c?((b=c||Xh())?(c=b.pageViewId,g.z(b.clientId)&&(c+=b.clientId.replace(/\D/g,"").substr(0,6)),b=c):b=null,
b=+b):(b=pk(b).Os,(c=b.google_global_correlator)||(b.google_global_correlator=c=1+Math.floor(Math.random()*Math.pow(2,43))),b=c);c=tga[7]||"google_ps_7";a=a.Oo;var d=a[c];a=void 0===d?a[c]=b:d;fx(this,"c",a);a=bn(Zm());D(g.E(a))||fx(this,"e",a)}this.o="0"};
hx=function(){var a=gx.getInstance();a.g&&(a.g.ej(),a.g=null)};
fx=function(a,b,c){a.g&&c&&(a.g.D[b]=c)};
ix=function(a){var b=gx.getInstance();if(b.g&&uga){var c=b.g,d=Zi();c.o&&c.Fn(new Xi(a,4,d,0));an(Zm(),21592082)&&(a=b.g,!a.A&&a.o&&a.L&&(a.A=a.g.setTimeout(a.B,Math.min(1E3<<a.C,6E4))))}};
vga=function(a,b){if(b){var c=/iu\=\/(\d+)\//.exec(Ga(b)),d=g.E((new g.$l(b)).g.get("client"));a.o=c&&2==c.length?c[1]:D(d)?"0":d}else a.o="0"};
wga=function(a,b){this.o=a;this.g=b};
jx=function(a){this.J=a;this.g=[];this.o=new g.mg(500);g.N(this,this.o);this.C=new g.sm(this);tm(this.C,this.o,"tick",this.D,!1,this);g.N(this,this.C);this.B=1;this.H=!1;this.F=this.A=0;this.G=Q.ca};
kx=function(a){if(!a.o.enabled){a.D();a.o.start();var b=(0,g.G)();a.F=b;0===a.A&&(a.A=b)}};
lx=function(a){var b=0,c=0,d=0;2<a.g.length&&(b=a.g[a.g.length-1].g-a.g[0].g,c=a.g[a.g.length-1].o-a.g[0].o);0<a.g.length&&(d=a.g[a.g.length-1].o);var e=-1,f=(0,g.G)()-a.A;a.A===a.F&&0<e&&(e=d/f);co($n.getInstance(),47,{t:a.H,lpp:a.B,wl:a.g.length,se:b,me:c,n:!1,am:!1,mt:d,opp:e,ose:f,mwl:a.G},!0)};
mx=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=Wa(b.viewCount),this.Nf=(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}};
xga=function(a){return'<a target="_blank" href="'+R(a.url)+'" class="fullslot-attribution-button">'+R(a.text)+"</a>"};
yga=function(a){return'<div class="fullslot-autoclose">'+R(a.tF)+"</div></div>"};
nx=function(a){return""+Aa("Ad will close in {$xSeconds}",{xSeconds:R(a.wg)})};
ox=function(a){g.zf.call(this);this.C=new g.mg(200);g.N(this,this.C);this.A=0;this.o=!1;this.M=a;this.J=new g.sm(this);this.J.T(this.C,"tick",this.mN)};
px=function(a){a.C.stop();a.o=!1};
rx=function(a,b,c,d,e){ox.call(this,b.g);this.G=b;this.F=c;this.H=this.G.g;this.g=a;this.B=this.D=null;g.S(this.g,Lw(this.F));a=this.g;b=new vt;b.skipOffset=new nr(this.G.B,!1);this.B=new Qt(b,a);d&&d.text&&(d=gq(xga,d),this.g.appendChild(d));e?(e=this.g,d=nx({wg:qx(this.H)}),a=gq(yga,{tF:d}),g.He(a,d),e.appendChild(a),e=a):e=null;this.D=e};
zga=function(a){var b=g.K("videoAdUiSkipButton",a.g);return b?g.th(b,a.g):new g.Vd(0,0)};
qx=function(a){a=Math.ceil(a);return"0:"+(10>a?"0"+a:""+a)};
ux=function(a,b,c,d,e){ox.call(this,d);this.H=a;this.S=b;this.N=e;this.B=new g.sm(this);g.N(this,this.B);this.D=new bt;g.N(this,this.D);this.L=new bt;g.N(this,this.L);this.G=new bt;g.N(this,this.G);(a=sx(c))?(c=a(c),b.appendChild(c),b=g.K("iv-endcap-action",c),this.B.T(this.D,"click",this.F),this.D.Fb(b),b=g.K("iv-endcap-text",c),this.B.T(this.L,"click",this.F),this.L.Fb(b),b=g.K("iv-endcap-image",c),this.B.T(this.G,"click",this.F),this.G.Fb(b),b=c):b=null;this.g=b?g.K("iv-endcap-countdown-inner",
b):null;null!=this.g&&g.dh(this.g,"stroke-dasharray","0 "+tx)};
sx=function(a){switch(a.Wb()){case 1:return Aga;case 4:return Bga}return null};
Aga=function(a){var b=dr(a);a=0<wv(a,"action")?lr(a):null;return gq(br,{headline:b.fd(),description:wr(b,"description"),image:hr(b).getImageUrl(),action:a?wr(a,"title"):"",target:a?kr(a)||wr(a,"link_url"):""})};
Bga=function(a){var b=a.g();a=0<wv(a,"action")?lr(a):null;return gq(br,{headline:b.fd(),description:wr(b,"description"),image:b.gg().getImageUrl(),action:a?wr(a,"title"):"",target:a?kr(a)||wr(a,"link_url"):""})};
Cga=function(){var a=Aa("Your video will play after this ad.");return Zo(""+('<div class="videoAdInterstitial"><p>'+a+"</p></div>"))};
vx=function(){g.M.call(this);this.A=gq(Cga);this.g=0};
wx=function(a){a.g&&(g.pg(a.g),a.o(g.y))};
xx=function(a,b,c,d,e,f,k,l,m,n,q,r,v,x,B){this.B=a;this.C=n;this.D=b;this.F=d;this.H=l;this.J=r;this.L=e;this.N=f;this.M=v;this.g=k;this.o=m;this.A=q;this.G=x;this.S=B};
yx=function(a){g.Ve.call(this,a)};
zx=function(a){g.zf.call(this);this.bb=null;this.B=a;this.M=new Tl;this.J=-1;this.G=this.N=!1;this.F=""};
Ax=function(a){this.paused=!1;this.mute=a.Ui();this.volume=a.getVolume()};
Bx=function(a,b,c,d){if(!c||null==a.M.get(b)){d&&!a.G&&(b="error");a.M.set(b,!0);a:{c=b;if(a.A&&a.A.g.B){if("click"==c)break a;"videoLearnMoreClicked"==c&&Gu(a.B,new g.Ve("click"))}d=Dga[c]||null;null!=d&&null!=a.g&&a.g.Xr(d);Gu(a.B,new g.Ve(c))}a.dispatchEvent(b)}};
Cx=function(a){0>a.J||a.N||!a.g.Pj(a.J)&&!a.g.Rg()||!a.G||(a.N=!0,Bx(a,"engagedview",!0,!0),a.dispatchEvent(new yx("viewCount")))};
Dx=function(a){Cx(a);if(Q.g()){var b=a.B;if(!(Vl(b.o,"skip")||0>b.C)){for(var c=yp(b.A,"progress"),d=[],e=b.C;e<c.length;e++){var f=c[e];b.C=e+1;d.push(f.g)}0<d.length&&Gu(b,new g.Ve("progress"),d)}}Bx(a,"complete",!0,!0)};
Ex=function(a){Ju.call(this,a);this.g=null;this.F=!1;this.B=new zx(this.Pb);this.bb=null;this.M=this.aa=this.G=!1;this.S=this.D=1;this.A=null;this.N=new vx;this.H=new Cm;this.da=!1;this.J=[];this.L=!1;this.o=this.C=null;this.ba=!wn()&&Q.g();this.ca=!1;an(Zm(),324123001)&&(Q.aa=!0);an(Zm(),324123021)&&(Q.aa=!0);if(a=0<a.length?a[0]:null){var b=gx.getInstance();fx(b,"gqid",ws(a));fx(b,"qqid",xq(a))}Ega(this)};
Fx=function(a,b){var c=g.og(function(){this.H.remove(c);b.call(this)},0,a);
Em(a.H,c)};
Gx=function(a){a.C&&(g.Te(a.C),a.C=null);g.Te(a.Ha);a.Ha=null;g.Te(a.B);g.Te(a.Pb);a.M=!1};
Hx=function(a){a.Jk();null!=a.o&&lx(a.o);a.xb()?a.start():a.stop()};
Gga=function(a){if(!a.xb())return!1;var b=a.Sa.wf();if(null==b)return!1;var c=a.la(),d;if(d=c.J?c.J.g.lk()?c.J.g.Lq():c.J.dd():"")Fga(a,b,d);else if(Ms(c)&&(d=c.aa,d=g.db(d)?null:d[0],null!=d&&g.ua(sx(d)))){var e=1==d.Wb();a.g=new ux(a.Da,b,d,Us(c),e);a.Xa().T(a.g,"click",(0,g.A)(a.Gv,a,null));a.Ha&&Cu(a.Ha,!0);a.Sa.jd()}null!=a.g&&(a.Xa().T(a.g,"timeUpdate",a.Az),a.Xa().T(a.g,"end",a.VF),a.g.start(),Nu(a,"video_card_endcap_impression"));return null!=a.g};
Fga=function(a,b,c){co($n.getInstance(),34,{evt:"start"},!0);var d=g.pe("DIV");g.S(d,"controls");var e=g.pe("DIV");g.S(e,"adDisplay");g.S(e,"endslate");e.innerHTML=c;(c=g.Be(e)[0])&&g.dh(c,{margin:"0 auto"});(0,g.H)(c.getElementsByTagName("a"),function(a){var b=a.getAttribute("href");b&&this.Xa().T(a,"click",(0,g.A)(this.Gv,this,b))},a);
d.appendChild(e);e=new lv;Xfa(e,Us(a.la()));e.B=0;e.A=0;a.g=new rx(d,e,1,{},!0);a.Xa().T(a.g,"skip",a.Hv);b.appendChild(a.g.g);a.Sa.jd();a.Ha&&(Mfa(a.Ha),zu(a.Ha))};
Jx=function(a,b){Ix(a);null!=a.Da&&a.Da.Cq();a.ia("complete");Nu(a,b);a.Ga("instreamAdComplete");Hx(a)};
Ix=function(a){a.g&&(a.g.dispose(),a.g=null);a.Ha&&Cu(a.Ha,!1);a.F=!1};
Mx=function(a,b,c){Kx(a)&&c?Lx(a,b).then(a.Au,null,a):(a.Au(),c&&Lx(a,b))};
Hga=function(a){null!=a.Da&&a.Da.Bq();var b=Zm().g,b=b.g("use_forced_brand_precap_duration")?b.o("forced_brand_precap_duration_ms"):2E3;Ofa(a.Ha,b);var c=g.og(function(){null!=this.Da&&this.Da.Cq();this.H.remove(c);this.N.show(this.Sa.ek(),(0,g.A)(this.Da.play,this.Da))},b,a);
Em(a.H,c)};
Nx=function(a,b,c,d){b=yp(b.g,c);g.db(b)||(a[d]=b[0].g)};
Ox=function(a,b,c){b=c.getExtension(b);null!=b&&(Nx(a,b,"annotation_click","cta_annotation_clicked"),Nx(a,b,"annotation_close","cta_annotation_closed"),Nx(a,b,"annotation_start","cta_annotation_shown"))};
Iga=function(a,b){var c=Ks(b)&&!b.La?qs(b):null,d=b.isSkippable()&&!ds(b),e=null!=a.Ha&&a.Ha.g.C,f=b.A,k=mq(a.Ki());if(!k){var l=b.getExtension("AdSense");null!=l&&(k=l.isPharma())}var m=Zm().g,l=m.g("use_variable_load_timeout")?m.o("variable_load_timeout_ms"):a.Va.Xe,n=yq(b),q;a.Ha?(q={},Ox(q,"AdSense",b),Ox(q,"dart",b),Ox(q,"DFP",b)):q=null;var f=f?f.Tn:!1,r=xq(b),v=a.Va.ij,m=m.g("legacy_autoplay_flag"),x;x=ns(a.la(),"endscreenClick");x=g.db(x)?null:g.Lc({endscreenClick:x});return new xx(n,c,0,
q,e,d,l,f,!1,r,v,k,m,x,Kx(a))};
Ega=function(a){var b=0,c=0;(0,g.H)(a.ads,function(a){!Mu(a)||Q.g()&&0!=c||(c++,b+=a.getDuration())},a);
var d=1;(0,g.H)(a.ads,function(a){var b=a.C;b.Rf=c;Mu(a)&&(b.g=d,b.A=d,d++)},a)};
Px=function(a){var b=a.o;return b&&b.fa&&(b=b.F,!g.db(b)&&b[0]instanceof Kp)?b[0].Ue():os(a)};
Rx=function(a,b){if(!Mu(b))throw rn(Qx);var c=b.g,d=c.C;if(null!=d)return d;var d=a.Lg(b),e=a.Da.aA(d,a.Va.bitrate,a.Va.mimeTypes||[],null!=b&&!0&&(Q.g()||a.Sa.Rm()||a.Sa.uq()||wn()));Jga(d,a.Va.bitrate,e,is(b));if(null!=e)return c.C=e;try{Kga(a,b)}catch(f){}throw rn(Lga);};
Kga=function(a,b){if($n.getInstance().isLoggingEnabled()){var c=new Cm,d=!1;(0,g.H)(a.Lg(b),function(a){Em(c,a.g);"VPAID"==a.A&&(d=!0)},a);
var e=a.Da.Wp(),e={aid:qs(b),mt:c.fb().join(","),smt:e.join(","),hvp:d,st:xs(b).join(",")};co($n.getInstance(),28,e)}};
Jga=function(a,b,c,d){if(!Q.g())try{var e=(0,g.I)(a,function(a){return a.Hf}),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.Hf;a.selmt=null===c?"":c.g;a.ic=!1;a.nat=!1;a.iyh=dn(c.o)?"1":"0";a.as=d;co($n.getInstance(),22,a)}catch(k){}};
Sx=function(a){if(null!=a.A){var b=gx.getInstance();fx(b,"br",a.A.Wg);fx(b,"mt",a.A.g);fx(b,"iyh",dn(a.A.o)?"1":"0");fx(b,"smb",a.Va.bitrate);if(a.Da){var c=a.Da.Cf();c&&fx(b,"ps",c.width+"x"+c.height)}var c=a.A.Db(),d=a.A.getHeight();null!=c&&null!=d&&fx(b,"vs",c+"x"+d);a=a.A.F;D(g.E(a))||fx(b,"vc",a)}};
Tx=function(a,b){b in a.J||(a.J.push(b),a.ia(b))};
Mga=function(a){var b=a.la(),c={};c.pubbr=a.Va.bitrate;c.ic=!1;c.nat=!1;if(null!=b){a=a.Lg(b);var d=b.g,d=d?d.C:null,e=(0,g.I)(a,function(a){return a.Hf});
a=(0,g.I)(a,function(a){return a.g});
c.brs=e.join(",");c.mts=a.join(",");c.as=is(b);null===d?(c.selbr=-1,c.selmt="",c.iyh="0",c.murl=""):(c.selbr=d.Hf,c.selmt=d.g,c.iyh=dn(d.o)?"1":"0",c.murl=d.o)}co($n.getInstance(),45,c)};
Vx=function(a,b,c){Ux(a,c);a.Jk();a.xb()?(tn(a,b,c),a.start()):(un(a,b,c),a.stop())};
Ux=function(a,b){var c=rn(Wx,b),c=tq(c,a.la(),a.Da),d=js(a.la());nn(d,c)};
Xx=function(a){if(Q.o||Q.g()){var b=Px(a.la());null!=b&&hn(b);a.ia("click")}else a.ca&&a.ia("click")};
Yx=function(a,b){if(Mb(Nga,b)){var c=a.Xa();tm(c,a.B,b,a.xz,!1,a)}};
Zx=function(a){if(!a.L){var b=a.la(),c=b.D;if(Ys(b)&&!Q.g()&&!a.Sa.Rm()&&c){var b=a.Da.getCurrentTime(),d=a.Da.getDuration(),e=new g.$l("//s.youtube.com/s");g.im(e,"ns","yt");g.im(e,"el","adunit");g.im(e,"docid",c);g.im(e,"eurl",window.document.URL);g.im(e,"len",d.toFixed(2));g.im(e,"tv","1");g.im(e,"ps","trueview-instream");g.im(e,"st",b.toFixed(2));g.im(e,"et",b.toFixed(2));g.im(e,"rt",b.toFixed(2));jn(e.toString());a.L=!0}}};
Oga=function(a){var b=a.la().M;if(null!=b){var b=b.videoId,c=a.Va.ri;if(D(g.E(b)))b=null;else{var c=new g.$l((null!=c?c:"//www.youtube.com/")+"watch"),d=c.g;d.set("v",b);em(c,d);c.H="action=share";b=c.toString()}null!=b&&(hn(b),a.jA())}};
Pga=function(a){a=$x(a)||ay(a);null!=a&&kn(a,"sharebuttondisplayed")};
$x=function(a){a=a.la().getExtension("AdSense");return null!=a?new g.$l(a.B):null};
ay=function(a){if(a=a.la().g)if(a=Gp(a,"start"),!g.db(a))return new g.$l(a[0].g);return null};
Qga=function(a){var b=a.la(),c=b.M;null!=c&&(b=kq(c.videoId,null!=Ss(b),a.Va.ri),null!==b&&(a.Da.pause(),hn(b)))};
by=function(a){Fx(a,function(){this.ia("skip");Hx(this)})};
Lx=function(a,b){return g.eg(Rga(a,b).then(a.LP,null,a).then(a.rP,null,a).then(a.KP,null,a).then(a.IF,null,a),g.y)};
Rga=function(a,b){return new g.Vf(function(a,d){qga(b,function(b){b=new mx(b);this.xb()&&this.la().D==b.videoId?a(b):d()},function(){d()},this)},a)};
cy=function(a){return a.xb()&&null!=a.la().M&&a.la().M.isListed};
dy=function(a){var b=a.la().ga;if(cy(a)&&null!=b){var c;c=a.Va.ri;b=g.E(b.channelId);c=D(b)?null:(null!=c?c:"//www.youtube.com/")+"channel/"+(g.Da(b,"UC")&&24==b.length?b:"UC"+b);null!==c&&(a.Da.pause(),hn(c))}};
Kx=function(a){if(Zm().g.g("website_actions_holdback"))return!1;a=a.la();if(!a||!a.D)return!1;var b=g.Za(a.B,function(a){return 4==a.Wb()&&!!uv(Fs(a),"show_in_cta",void 0)});
return Q.g()&&Ys(a)&&null!=b};
Sga=function(a,b,c){var d=a.xb()?a.la().D:null;a=a.la();if(!a||!d)return b;a=g.Za(a.B,function(a){return 4==a.Wb()&&!!uv(Fs(a),"show_in_cta",void 0)});
if(!a)return b;var e,f,d=a.g();e=lr(a);a=Ha(e&&kr(e)||"");Zm().g.g("website_actions_suppress_advertiser_supplied_text")?(e=" ",f=Ha(c.authorName)):(e=Ha(e&&wr(e,"title")||" "),f=Ha(d.fd()||c.authorName));var k=Ha(wr(d,"description")||"");c=Ha(d.gg().getImageUrl()||c.channelIconThumbnailUrl);c='<card type="TYPE_WEBSITE"><action target="'+a+'" 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>';d=/(<\s*Extension\s+type\s*=\s*"\s*InfoCards\s*"\s*>)/i;return D(b)?b+'<Extension type="InfoCards">'+c+"</Extension>":b.replace(d,"$1"+c)};
ey=function(a){g.zf.call(this);this.sessionId=a||Ta();this.o=[]};
fy=function(a,b,c,d,e){g.Ve.call(this,a);this.Fd=b;this.If=c;this.Iw=d;this.A=e};
gy=function(a,b){ey.call(this,b);this.A=a;this.bf=null;this.B=new g.sm(this);this.logger=null;this.B.T(ne(),"message",this.receive)};
hy=function(a){if(null==a||!g.z(a)||!g.Da(a,"ima://"))return null;a=a.substr(6);try{return g.Hc(a)}catch(b){return null}};
Tga=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.A;return"ima://"+g.Lc(e)};
iy=function(a,b){if(null==b)return!1;var c=b.channel;if(null==c||c!=a.A)return!1;c=b.sid;return null==c||"*"!=a.sessionId&&c!=a.sessionId?!1:!0};
jy=function(a,b){g.Ve.call(this,"vpaidEvent");this.sessionId=b};
ky=function(a){Ju.call(this,a);this.ca=this.M=this.Oc=!1;this.G=[];this.D=Ta();this.bb=this.g=null;this.o=!0;this.J=-1;this.H=new g.mg(500);this.S=this.F=-1;this.B=1;this.ba=this.aa="";this.N=this.L=this.C=!1};
my=function(a){var b=ms(a.la());Q.g()&&(b=Uga(a,b));var c=g.E(os(a.la())),d=a.la();if(Mu(d)){var e=d.g,f=Mp(e,"javascript");null!=f&&(e.C=f)}d=Vs(d);c={desiredBitrate:a.Va.bitrate,creativeData:b,viewMode:a.Sc,clickThroughUrl:c,adUrl:d,volume:a.B};d.match("//s0.2mdn.net/instream/html5/survey/survey.html")&&0<=b.indexOf("yt_override")&&null!=a.Va.surveyCreativeData&&(c.creativeData=a.Va.surveyCreativeData);ly(a,"initAd",c);(0,g.H)(a.G,function(a){ly(this,a.type,a.params)},a);
a.Oc=!0;a.G=[]};
ny=function(a,b,c){c=c||null;a.Oc?ly(a,b,c):a.G.push({type:b,params:c})};
ly=function(a,b,c){c=c||{};c.session=a.D;c.type=b;oy()?window.parent.postMessage(g.Lc(c),"*"):null!=a.A.contentWindow&&a.A.contentWindow.postMessage(g.Lc(c),"*")};
Wga=function(a,b){var c={};b=Pa(b);var d;b.length?d=b.split(/\s+/):d=[];(0,g.H)(d,function(a){c[a]=!0});
g.Ib(Vga,function(a,b){Zm().g.g(b)&&(c[a]=!0)},a);
return g.Ob(c).join(" ")};
Uga=function(a,b){var c=g.Cr(b),d=a.la().getExtension("why_this_ad");if(null!=d){var e=d.o;e&&3==e.length&&(0,g.H)(c.firstChild.childNodes,function(a){a.setAttribute("ad_settings_text_prefix",e[0]);a.setAttribute("ad_settings_text_link",e[1]);a.setAttribute("ad_settings_text_suffix",e[2])},a)}return Dr(c)};
py=function(a,b,c,d){d=rn(b,c,d);var e=tq(d,a.la()),f=js(a.la());nn(f,e);b.message=d.rd();un(a,b,c)};
sy=function(a,b){if(g.z(b.type))switch(b.type){case "friendlyReady":my(a);break;case "videoCall":switch(b.func){case "load":case "play":a.Sa.kg();a.ba!=b.src&&(a.ba=b.src,a.g.load(b.src,b.mimetype));a.g.play();break;case "pause":a.g.pause()}break;case "returnDuration":a.F=b.duration;break;case "returnRemainingTime":a.J=b.remainingTime;break;case "AdClickThru":a.Ga("click");a.ia("click");break;case "AdDurationChange":a.F=b.duration;a.J=b.remainingTime;a.la().g.ka=a.F;a.ia("durationChange");break;case "AdError":py(a,
Dw,Error(b.message));a.stop();break;case "AdExpandedChange":a.ia("expandedChanged");break;case "AdImpression":var c=a.la();g.db(ls(c))||a.pd(c);Nu(a,"impression");a.L=!0;qy(a,51);break;case "AdLinearChange":c=b.isLinear;!a.o&&c?(a.ia("contentPauseRequested"),ny(a,"becameLinear")):!c&&a.o&&(a.ia("contentResumeRequested"),ny(a,"becameNonlinear"),ny(a,"getAdRemainingTime"),ny(a,"getAdDuration"));a.o=c;var d=a.la();d.Za=!0;d.va=c;a.ia("linearChanged");break;case "AdLoaded":g.pg(a.S);a.M=!0;d=b.companions;
c=a.la();g.db(ls(c))&&(d=tw(d,c.g.g),g.db(d)||Yr(c,d));ry(a);Nu(a,"loaded");break;case "AdPaused":a.C=!0;Nu(a,"pause");break;case "AdPlaying":a.C=!1;Nu(a,"resume");break;case "AdRemainingTimeChange":a.J=b.remainingTime;c=a.la().getDuration();d=c-a.Hc();Tu(a,d,c);break;case "AdSkipped":Nu(a,"skip");a.stop();break;case "AdSkippableStateChange":Nu(a,"skippableStateChanged");break;case "AdStarted":a.Ga("creativeview");qy(a,52);break;case "AdStopped":a.Ga("stop");a.stop();break;case "AdUserAcceptInvitation":a.o?
a.Ga("acceptinvitationlinear"):a.Ga("acceptinvitation");break;case "AdUserMinimize":a.Ga("collapse");break;case "AdUserClose":Nu(a,"userClose");break;case "AdVideoComplete":a.L&&a.N||(c={},c.aic=a.L,c.avc=a.N,qy(a,56,c));Nu(a,"complete");break;case "AdVideoFirstQuartile":Nu(a,"firstquartile");break;case "AdVideoMidpoint":Nu(a,"midpoint");break;case "AdVideoStart":a.Ga("start");a.ia("start");a.N=!0;break;case "AdVideoThirdQuartile":Nu(a,"thirdquartile");break;case "AdVolumeChange":c=b.volume;c!=a.B&&
a.ia("volumeChange");0==c&&0!=a.B?(a.Ga("mute"),a.ia("mute")):0==a.B&&0!=c&&a.Ga("unmute");a.B=c;a.g.setVolume(c);break;case "Ping":jn(b.url)}};
ty=function(a,b){oy()||ly(a,"wrapperCall",{messageType:b})};
ry=function(a){a.M&&a.ca&&(ny(a,"startAd"),a.H.start(),a.o||(ny(a,"becameNonlinear"),ny(a,"getAdRemainingTime")),ny(a,"getAdDuration"))};
qy=function(a,b,c){try{c=c||{};c.dn=a.aa;c["if"]=oy();c.pid=gx.getInstance().o;var d=us(a.la()).join();c.xy=d;co($n.getInstance(),b,c,!0)}catch(e){}};
oy=function(){return 2==Q.G};
uy=function(){Ju.call(this,[]);this.bb=null;this.Pd=this.Qd=-1;this.F=!1};
wy=function(a,b,c,d){if(a.g){var e=a.g,f=a.Xa();tm(f,e,vy,a.dispatchEvent,!1,a);f=a.Xa();tm(f,e,"companionBackfill",a.dispatchEvent,!1,a);f=a.Xa();tm(f,e,"adError",a.Iy,!1,a);f=a.Xa();tm(f,e,"allAdsCompleted",g.y,!1,a);f=a.Xa();tm(f,e,"contentPauseRequested",a.Py,!1,a);f=a.Xa();tm(f,e,"contentResumeRequested",a.Dr,!1,a);f=a.Xa();tm(f,e,"userClose",a.Xh,!1,a);f=a.Xa();tm(f,e,"autoClose",a.Wh,!1,a);a.g.sg(a.zd);a.g.Mc(b,c,d)}};
yy=function(a){a.g&&(a.g.destroy(),a.g=null);a.Sa&&a.Sa.Bf();g.Te(a.bc);a.bc=null};
Ay=function(a,b,c){uy.call(this);this.A=c;this.o=null;this.C=this.D=this.B=!1;this.g&&yy(this);this.g=b;zy(this,b)};
Cy=function(a,b,c){var d=(0,g.A)(function(a){tn(this,Xga,c);try{var b;var d=By([a[0]]);if(d)b=d;else throw Error("Ads manager creation failure, failed to determine ad type.");zy(this,b);a=b;try{this.g&&yy(this),this.g=a,wy(this,this.Sa,this.content,this.Va),this.F&&this.g.Xi(),this.g.zb(this.Qd,this.Pd,this.Sc),this.g.init(this.Sc),this.start()}catch(m){var e=a.Kb();As(e);Cy(this,Bs(e),Error(m.rd()))}}catch(m){un(this,m.rd(),m.mk)}},a);
a=(0,g.A)(function(){this.ia("contentResumeRequested");un(this,Yga,c);this.destroy()},a);
null!=b?Hq(b,d,a):a(null)};
zy=function(a,b){a.o&&a.o.dispose();a.o=new g.sm(a);g.N(a,a.o);tm(a.o,b,"start",a.BK,!1,a)};
Dy=function(a){Ju.call(this,[]);this.bb=null;this.o=a;this.A=0;this.g=this.o[this.A];this.B=this.D=this.C=null;this.Pd=this.Qd=-1;this.F=!1;Zga(this)};
Ey=function(a,b,c,d){if(a.g){a.C=new g.sm(a);var e=a.g,f=a.C;tm(f,e,vy,a.dispatchEvent,!1,a);tm(f,e,"start",a.JH,!1,a);tm(f,e,"companionBackfill",a.dispatchEvent,!1,a);tm(f,e,"adError",a.AK,!1,a);tm(f,e,"allAdsCompleted",g.y,!1,a);tm(f,e,"contentPauseRequested",a.Zg,!1,a);tm(f,e,"contentResumeRequested",a.Jf,!1,a);tm(f,e,"userClose",a.Xh,!1,a);tm(f,e,"autoClose",a.Wh,!1,a);a.g.Mc(b,c,d)}};
Zga=function(a){var b=0,c=a.o.length;(0,g.H)(a.o,function(a){b+=a.Me().getDuration()},a);
var d=1;(0,g.H)(a.o,function(a){a=a.Me().C;a.Rf=c;a.g=d;a.A=d;d++},a)};
Gy=function(a,b,c){a.A+1>=a.o.length?un(a,Wx,c.mk):(tn(a,Wx,c.mk),Fy(a,b))};
Fy=function(a,b){if(a.g===b)if(Hy(a),a.A++,a.A<a.o.length)try{a.g=a.o[a.A],a.g===a.B?(a.C=a.D,a.B=null,a.D=null,a.Sa.Bf(),a.Sa.tq()):(Ey(a,a.Sa,a.content,a.Va),a.g.zb(a.Qd,a.Pd,a.Sc),a.g.init(a.Sc)),a.start()}catch(c){Gy(a,a.g,c)}else a.ia("contentResumeRequested"),a.destroy()};
Hy=function(a){a.C&&(a.C.dispose(),a.C=null);a.g&&(a.g.destroy(),a.g=null);a.Sa&&a.Sa.Bf()};
$ga=function(a){return'<div class="close-padding"><a class="close-button" title="'+R(a.close)+'" role="button" tabindex="0"></a></div>'};
aha=function(){return'<div class="recall-button"></div>'};
bha=function(a){return'<a target="_blank" href="'+R(a.url)+'" class="attribution-button">'+R(a.text)+"</a>"};
Iy=function(a,b){this.J=a;this.H=g.pe("DIV",{"class":"controls"});this.g=g.pe("DIV",{"class":"adDisplay"});this.aa=b||g.y;this.yf=new g.sm(this)};
Jy=function(a){var b=g.pe("DIV",{"class":"ima-container"});ht(b,"opacity 0.4s");a.yf.T(b,"mouseover",a.uH);a.yf.T(b,"mouseout",a.cQ);b.appendChild(a.H);a.H.appendChild(a.g);return b};
Ky=function(a){var b=window.document.createEvent("Event");b.initEvent("creativeview",!0,!0);a.dispatchEvent(b)};
Ly=function(a){Ju.call(this,a);this.containerElement=null;this.J=g.pe("DIV",{style:"display:none;position:absolute;top:0;left:0;bottom:0;right:0;z-index:2000"});this.B=!1;this.F=[]};
My=function(a,b){var c=aea(b);(0,g.H)(c,function(a){Ap(this.Pb.A,"click",a)},a)};
Ny=function(a,b){var c=tq(b,a.la()),d=js(a.la());nn(d,c)};
Oy=function(a,b,c,d,e,f,k){g.zf.call(this);this.o=this.H=0;this.G=a;this.Kc=b;this.ka=c;this.D=null;this.jb=d;this.aa=f;this.ba=Q.B;this.L=this.C=this.F=this.g=null;this.Pd=this.Qd=-1;this.da="normal";this.S=null;this.B=e;this.A=[];this.fa=this.M=this.ga=this.N=!1;this.ca=k;this.bb=null;cha(this)};
Py=function(a,b,c,d){a.Qd=b;a.Pd=c;null!=d&&(a.da=d);null!=a.g&&a.g.zb(b,c,d)};
cha=function(a){(0,g.H)(a.G,function(a){dha(a)})};
Qy=function(a){return a.H<a.G.length&&null!=a.G[a.H]};
eha=function(a,b){var c;if(c=Q.g()&&!g.db(b)&&0==a.Kc)c=b[0],c=null!=c&&null==Vs(c)&&Os(c,"nonlinear");return c?(c=vs(b[0]),"ADSENSE"==(0<c.length?c.pop():is(b[0])).toUpperCase()):!1};
Wy=function(a){!Qy(a)||2<=a.A.length-a.o?a.ga||(Sy(a),a.Mf()&&Ty(a,a.o)&&Uy(a,a.o)&&Vy(a,a.o),a.ga=!0,a.dispatchEvent("adBreakInitialized")):Ry(a)};
Ry=function(a){var b=a.G[a.H];tm(a.J,a.jb,"adsLoaderSdkAdLoaded",a.Gy,!1,a);Q.B="on_master_ad";fha(a.jb,b.A,b)};
Sy=function(a){null==a.Kc||(0,g.Sk)(a.A,function(a){return!a.o})||(a.A=(0,g.Ae)(a.A,function(a){return!(a.o&&!a.A)}))};
Ty=function(a,b){var c;b<a.A.length?(c=a.A[b],g.db(c.g)?c=!1:(c=c.g[0],c=null!=c?!xo($r(c),"rm"):!1)):c=!1;return c};
cz=function(a){if(Ty(a,a.o)){var b=a.A[a.o];try{a.M?Xy(a,a.g):a.Mf()&&Uy(a,a.o)?(null===a.C&&Vy(a,a.o),Yy(a),a.g=a.C,a.F=a.L,a.C=null,a.L=null,a.B.tq()):(Yy(a),a.F=new g.sm(a),a.g=Zy(a,b,a.F),Xy(a,a.g));null!=a.D&&(a.D.dispose(),a.D=null);if($y(a.g)){var c=a.Kb();if(null==c||!Qs(c)){var d=a.g.la().g;if(null!==d){var e=d.Ea;0>=e&&!a.aa.Ku||(0>=e&&(e=15),a.D=new g.mg(1E3*e),ym(a.F,a.D,"tick",a.SM,a))}}}if($y(a.g))a.dispatchEvent("contentResumeRequested"),a.B.jd(),a.g.start(),null!=a.D&&a.D.start();
else{var f=a.g;if(null!=f&&f instanceof Ex)a.B.kg(),a.g.start();else{var k=a.g;if(null!=k&&k instanceof ky){var l=a.g;a.B.jd();l.Sb()?oy()||a.B.kg():a.dispatchEvent("contentResumeRequested");a.g.start()}else{var m=a.g;if(null!=m&&(m instanceof Fw||m instanceof zw))a.B.jd(),a.g.Sb()||a.dispatchEvent("contentResumeRequested"),a.g.start();else{var n;if(!(n=az(a.g))){var q=a.g;n=null!=q&&q instanceof Ay}if(n)a.g.start();else throw Error("Unknown ads manager type.");}}}}a.Mf()&&Ty(a,a.o+1)&&Uy(a,a.o+1)&&
1==bz(a)&&Vy(a,a.o+1)}catch(r){a.o++,cz(a)}Qy(a)&&Ry(a)}else a.dispatchEvent("contentResumeRequested"),dz(a)};
Xy=function(a,b){if(null===b)throw Error("Ads manager must be constructed before initialization");b.init(a.da);null!=a.S&&b.setVolume(a.S)};
Zy=function(a,b,c){b=ez(a.jb.A,b.g);var d=new Km(a.B,a.Mf());b.sg(a.ca);tm(c,b,vy,a.Hy,!1,a);tm(c,b,"companionBackfill",a.Hy,!1,a);tm(c,b,"adError",a.yK,!1,a);tm(c,b,"allAdsCompleted",g.y,!1,a);tm(c,b,"contentPauseRequested",a.Zg,!1,a);tm(c,b,"contentResumeRequested",a.Jf,!1,a);tm(c,b,"userClose",a.Xh,!1,a);tm(c,b,"autoClose",a.Wh,!1,a);b.Mc(d,{currentTime:0},a.aa);b.zb(a.Qd,a.Pd,a.da);return b};
Yy=function(a){a.B.Bf();null!=a.D&&(a.D.dispose(),a.D=null);null!=a.F&&(a.F.dispose(),a.F=null);null!=a.g&&(a.g.destroy(),a.g=null)};
fz=function(a){null!=a.L&&(a.L.dispose(),a.L=null);null!=a.C&&(a.C.destroy(),a.C=null)};
az=function(a){return null!=a&&a instanceof Dy};
$y=function(a){return null!=a&&a instanceof Ly};
dz=function(a){a.N=!1;a.dispatchEvent("allAdsCompleted")};
bz=function(a){return null===a.g||g.db(a.g.ads)?0:a.g.ads.length};
gha=function(a,b,c){if("loaded"==b||"start"==b||"adMetadata"==b||"companionBackfill"==b||"firstquartile"==b){var d=0,e=0;(0,g.H)(a.A,function(a,b){var c=a.g;d+=c.length;b<this.o&&(e+=c.length)},a);
b=c.C;c=e+b.A;b.Rf=d+(a.G.length-a.H);b.g=c;b.B=a.ka;b.o=a.Kc}};
Vy=function(a,b){var c=a.A[b];a.L=new g.sm(a);a.C=Zy(a,c,a.L);Xy(a,a.C)};
Uy=function(a,b){if(0<=b&&b<a.A.length){var c=a.A[b].g[0];return null!=Vs(c)||null!=Ws(c)?!1:!0}return!1};
hha=function(a){this.A=a};
gz=function(a){this.A=a;this.o=this.g=!1;this.B=null};
dha=function(a){if(null!=a.A.g&&(a=g.ug(a.A.g)[6]||null)){var b=null;yg(a,function(a,d){if(null==b)switch(a){case "max_ad_duration":case "pmxd":b=d/1E3}})}};
hz=function(){this.g=new Tl};
iz=function(a,b,c){if((0,window.isNaN)(c)||!g.ta(c))throw Error("Incorrect time offset.");var d=[];Vl(a.g,c)&&(d=a.g.get(c,[]));(0,g.H)(b,function(a){null!=a&&g.gb(d,a)});
a.g.set(c,d)};
jz=function(a,b){this.g=a;this.o=b};
jha=function(a){var b=new hz;(0,g.H)(g.Be(g.De(a.g)),function(a){switch(a.nodeName){case "Preroll":a=kz(this,a);iz(b,a,0);break;case "Midroll":var c=Ir(a,"timeOffset"),e=Mr(c);if(-1==e)throw qn(lz,null,"timeOffset",g.E(c));a=kz(this,a);iz(b,a,e);break;case "Postroll":a=kz(this,a);iz(b,a,-1);break;default:throw qn(mz,null,a.parentNode.nodeName,a.nodeName);}},a);
if(0==b.g.Bb().length)throw qn(iha);return b};
kz=function(a,b){var c=[];(0,g.H)(g.Be(b),function(a){switch(a.nodeName){case "Ad":var b=g.E(Jr(a));if(!D(b)){a=Ir(a,"bumper");var d=this.o.clone();d.g=b;b=new gz(d);b.g=null!=a;b.o="always"==a;g.gb(c,b)}break;default:throw qn(mz,null,a.parentNode.nodeName,a.nodeName);}},a);
return c};
nz=function(a){g.Ve.call(this,a);this.g=this.A=null};
oz=function(){g.zf.call(this);this.currentTime=0};
pz=function(a,b,c){g.zf.call(this);this.g=a;this.D=null!=c&&g.sa(c.backlog)?c.backlog:!1;this.C=null!=c&&g.ta(c.prefetch)&&0<=c.prefetch?c.prefetch:0;this.F=null!=c&&g.sa(c.prefetchPostroll)&&c.prefetchPostroll;this.B=null;this.o=!1;this.A=kha(b)};
qz=function(a){this.g=a.Kc;this.B=g.xa(a);this.A=this.o=!1;this.oI=5==a.Pe()};
rz=function(a,b){return ub(a.g,b.g)};
sz=function(a){a.g.start();a.o=!0};
lha=function(a){if(a.o){var b=g.Za(a.A,function(a){return-1==a.g},a);
null!=b&&tz(a,!0,b)}};
kha=function(a){var b=[];(0,g.H)(a,g.ya(function(a,b){a(new qz(b))},g.ya(function(a,b){Ab(a,b,rz)},b)));
return b};
mha=function(a,b){for(var c=[],d=0;d<a.A.length;d++){var e=a.A[d];-1!=e.g&&e.g<=b&&g.gb(c,e)}return c};
uz=function(a,b){return ab(a,g.ya(function(a,b){return b.oI==a},b))};
nha=function(a){var b=[],c=uz(a,!1);c&&b.push(c);(a=uz(a,!0))&&Ab(b,a,rz);return b};
oha=function(a,b){for(var c=0;c<a.A.length;c++){var d=a.A[c];if((-1==d.g?a.F&&0<a.g.duration&&b>=a.g.duration-a.C:b>=d.g-a.C&&b<d.g)&&!a.A[c].o)return d}return null};
vz=function(a,b){var c=new nz("contentTrackingError");c.setDescription(b);a.dispatchEvent(c)};
tz=function(a,b,c){null!=c&&(c.o||(wz(a,"requestAds",c),c.o=!0),b&&!c.A&&(wz(a,"playAds",c),c.A=!0))};
wz=function(a,b,c){b=new nz(b);b.A=c.g;b.g=c.B;a.dispatchEvent(b)};
xz=function(a){oz.call(this);this.currentTime=a.currentTime;if(!("currentTime"in a)||(0,window.isNaN)(a.currentTime))throw rn(oo,null,"content","currentTime");this.duration="duration"in a&&!(0,window.isNaN)(a.duration)?a.duration:-1;this.o=a;this.g=new g.mg(250);this.A=new g.sm(this);tm(this.A,this.g,"tick",this.B,!1,this)};
pha=function(){};
yz=function(a,b,c){if(g.db(a))return null;a=(0,g.Ae)(a,function(a){var b=a.B;return"application/x-mpegurl"==g.E(a.g).toLowerCase()||"application/dash+xml"==g.E(a.g).toLowerCase()||"progressive"==b});
g.db(c)||(c=(0,g.I)(c,function(a){return a.toLowerCase()}),a=(0,g.Ae)(a,function(a){return g.cb(c,g.E(a.g).toLowerCase())}));
if(!g.ta(b)||0>=b)b=tk()?500:1E3;return qha(a,b)};
qha=function(a,b){return rha(a,b)||sha(a,b)||tha(a,b)};
rha=function(a,b){var c=null;(0,g.H)(a,function(a){var d=a.Wg,f=a.Hf;d>b||f<b||!(null==c||c.Wg>d)||(c=a)});
return c};
sha=function(a,b){var c=null;(0,g.H)(a,function(a){var d=a.Wg,f=a.Hf;f>b||(null==c||c.Hf<f?c=a:null!=c&&c.Hf==f&&c.Wg>d&&(c=a))});
return c};
tha=function(a,b){var c=null;(0,g.H)(a,function(a){var d=a.Wg,f=a.Hf;if(!(d<b))if(null!=c&&c.Wg==d&&c.Hf<f)c=a;else if(null==c||c.Wg>d)c=a});
return c};
zz=function(a){this.o=0;this.A=a||100;this.g=[]};
Az=function(a,b){if(b>=a.g.length)throw Error("Out of bounds exception");return a.g.length<a.A?b:(a.o+Number(b))%a.A};
Bz=function(a){g.zf.call(this);this.g=a;this.S=new zz(4);this.A=0;this.N=this.B=this.Oc=this.F=!1;this.L=this.Cf();this.J=this.Ti();this.aa=eo();this.M=!1};
Dz=function(a){a.Oc=!1;a.B=!1;a.F=!1;a.A=0;a.N=!1;a.S.clear();Cz(a);g.Te(a.C)};
Ez=function(a){a.B||(a.B=!0,Cz(a),a.dispatchEvent("start"),g.ua(a.g.getAttribute)&&a.g.getAttribute("playsinline"),Mn()||!g.En||Gn(3)||zn()&&!Dn(4)||a.Dq())};
Fz=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};
Cz=function(a){a.H&&(g.pg(a.H),a.H=null)};
Hz=function(){g.zf.call(this);this.o=new Gz;this.g=new g.sm(this);var a=Nm();if(a){a:{if(Qb(a.g,"videoElementMockDuration")&&(a=a.g.videoElementMockDuration,g.ta(a)))break a;a=window.NaN}this.duration=a}};
uha=function(){var a=["video/mp4"],b=["video/ogg"],c=new Hz;c.canPlayType=function(c){return g.cb(a,c)?"probably":g.cb(b,c)?"maybe":""};
c.width=0;c.height=0;c.offsetWidth=0;c.offsetHeight=0;return c};
vha=function(a){this.startTime=0;this.endTime=a};
Gz=function(){this.length=0;this.g=[]};
Iz=function(a,b,c,d){if(null==a||!g.Fe(g.ae(a),a))throw rn(oo,null,"containerElement","element");this.C=a;this.o=this.g=null;this.B=b;this.F=!d;this.D=c||!1;this.A=null;this.g=g.pe("DIV",{style:"display:none;"});this.C.appendChild(this.g);this.F&&(a=Nm(),Om(a,"useVideoElementMock")?(a=uha(),b=g.pe("DIV",{style:"position:absolute;width:100%;height:100%;top:0px;left:0px;"}),g.za(b,a),a.Kj=g.pe("DIV",{style:"position:absolute;width:100%;height:100%;top:0px;left:0px;background-color:#000"}),a.Um=g.pe("P",
{style:"position:absolute;top:25%;margin-left:10px;font-size:24px;color:#fff;"}),a.Kj.appendChild(a.Um),b.appendChild(a.Kj),a.g.T(a,["loadeddata","playing","pause","ended"],a.wO),a=b):a=g.pe("VIDEO",{style:"background-color:#000;position:absolute;width:100%;height:100%;",title:""+Aa("Advertisement")}),a.setAttribute("webkit-playsinline",!0),a.setAttribute("playsinline",!0),this.o=a,this.g.appendChild(this.o));this.B&&(a="display:none;position:absolute;width:100%;height:100%;",Q.D||(a+="background-color:#000;"),
a=g.pe("DIV",{id:this.B,style:a}),this.g.appendChild(a));this.D&&(this.A=g.pe("DIV",{style:"position:absolute;width:100%;height:100%;"}),this.g.appendChild(this.A))};
Jz=function(a,b,c,d){g.M.call(this);this.B=b||null;this.F="*";this.o=c||null;this.sessionId=null;this.channel=d||null;this.J=!!a;this.C=(0,g.A)(this.G,this);window.addEventListener("message",this.C)};
Kz=function(a,b){"null"!=b.origin&&(a.o=a.F=b.origin);a.B=b.source};
Lz=function(a){Jz.call(this,!0);this.sessionId=a;this.channel="remoteplayer";this.o="*";this.g={};this.A=[];this.D=!1};
Mz=function(a){a.D=!0;(0,g.H)(a.A,function(a){this.sendMessage(a)},a);
a.A.length=0};
wha=function(){};
Nz=function(a,b){this.g=a;this.C=new Cm;this.F=(0,g.A)(this.G,this);this.J=Math.floor(2147483646*Math.random())+1;this.o=b||new Lz(this.J);g.N(this,this.o);this.A=new g.sm(this);g.N(this,this.A);var c=(0,g.A)(a.play,a);this.o.g.play=c;c=(0,g.A)(a.load,a);this.o.g.load=c;c=(0,g.A)(a.pause,a);this.o.g.pause=c;c=(0,g.A)(this.D,this);this.o.g.listen=c;c=(0,g.A)(this.H,this);this.o.g.unlisten=c;c=(0,g.A)(this.B,this,"src");this.o.g.setSource=c;c=(0,g.A)(this.B,this,"muted");this.o.g.setMuted=c;c=(0,g.A)(this.B,
this,"volume");this.o.g.setVolume=c};
Qz=function(a){g.zf.call(this);this.N="ima-chromeless-video";var b=null;null!=a&&(g.z(a)?this.N=a:b=a);this.S=new g.sm(this);this.D=null;this.B=!1;this.ra=this.Cf();this.ka=this.Ti();this.J=-1;this.da=!1;this.F=-1;this.A=this.ca=this.L=null;this.ba="";this.o=!1;this.ga=null!=b;this.sa=this.M=this.fa=this.g=null;this.C=void 0;this.H=this.na=null;this.G=this.va=0;this.ga?(this.o=!0,this.g=b,this.C=2):(a=(0,g.A)(this.JF,this),Oz?a():(Pz.push(a),a=g.re("script"),a.src="https://www.youtube.com/iframe_api",
b=window.document.getElementsByTagName("script")[0],b.parentNode.insertBefore(a,b)))};
Sz=function(a,b,c){null!==b&&(a.ba=b,a.o?Rz(a,b,c):(a.L=b,a.ca=c))};
Rz=function(a,b,c){var d={autoplay:"1"};Q.D&&(d.dash=0);if(null!=a.A){var e=a.A.D;null!=e&&(d.agcid=e);e=a.A.B;null!=e&&(d.adformat=e);e=a.A.C;null!=e&&(d.ad_query_id=e);(e=a.A.F)&&(d.cta_conversion_urls=e);(e=a.A.G)&&(d.endscreen_ad_tracking_data=e);(e=a.A.S)&&(d.wait_for_vast_info_cards_xml=e);a.A.isPharma()&&(d.is_pharma=1);d.iv_load_policy=a.A.L?1:3;a.A.H&&(d.noiba=1);a.A.N&&(d.utpsa=1);a.A.M&&(d.autoplay="1");a.A.A&&g.$b(d,a.A.A)}e=jq(b);null===e?d.url_encoded_third_party_media="url="+(0,window.encodeURIComponent)(b)+
"&type="+(0,window.encodeURIComponent)(null===c?"":c):d.videoId=e;!Q.g()&&(d.enabled_engage_types="3,4,5,6");a.B=!1;a.A&&a.A.o?(a.na=d,a.g.preloadVideoByPlayerVars(a.na)):a.g.cueVideoByPlayerVars(d);a.dispatchEvent("loaded")};
Tz=function(a){a.S.Ba(a.D,"tick",a.Sy);null!=a.D&&(a.D.stop(),a.D=null)};
Uz=function(a){null!=a.Ea&&g.pg(a.Ea)};
Vz=function(a,b){g.zf.call(this);this.B=a;this.A=b;this.g={};this.o=new g.sm(this);this.o.T(ne(),"message",this.C);this.bb=null};
Xz=function(a,b,c,d){a.g.hasOwnProperty(b)||(c=new gy(b,c),a.o.T(c,a.B,function(a){a=new Wz(a.type,a.Fd,a.If,a.Iw,a.getOrigin(),b);this.dispatchEvent(a)}),c.bf=d,c.connect(),a.g[b]=c)};
Wz=function(a,b,c,d,e,f){fy.call(this,a,b,c,d,e);this.g=f};
Zz=function(){var a=g.w("google.ima.gptProxyInstance",ne());if(null!=a)return a;g.sm.call(this);this.A=new Vz("gpt",!0);g.N(this,this.A);this.T(this.A,"gpt",this.D);this.bb=this.g=null;Yz()||ne().top===ne()||(this.g=new Vz("gpt",!1),g.N(this,this.g),this.T(this.g,"gpt",this.C))};
Yz=function(){return!!g.w("googletag.cmd",ne())};
$z=function(){var a=g.w("googletag.console",ne());return null!=a?a:null};
aA=function(){this.g=(0,g.G)()};
xha=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 bA[n].apply(null,arguments)})};
eA=function(a,b){g.zf.call(this);this.o=new g.sm(this);this.H=!1;this.J=Ta();this.G=new Tl;var c=this.J,d=(yba()?"https:":"http:")+xha("//imasdk.googleapis.com/js/core/bridge0.0.0_%s.html","en"),e;a:{var f=window;try{do{try{if(0==f.location.href.indexOf(d)||0==f.document.referrer.indexOf(d)){e=!0;break a}}catch(k){}f=f.parent}while(f!=f.top)}catch(k){}e=!1}e&&(d+="?f="+c);c=g.pe("IFRAME",{src:d+"#"+c,allowFullscreen:!0,style:"border:0; opacity:0; margin:0; padding:0; position:relative;"});xm(this.o,
c,"load",this.gG);a.appendChild(c);this.A=c;c=this.G.get("*");null==c&&(c=new gy(this.J,"*"),this.H&&(c.bf=Ge(this.A),c.connect()),this.G.set("*",c));this.F=c;this.D=b;this.g=this.D.o;this.bb=this.B=this.C=null;this.o.T(this.F,"mouse",this.CG);this.o.T(this.F,"touch",this.UG);null!=this.g&&(this.o.T(this.F,"displayContainer",this.xG),this.o.T(this.F,"videoDisplay",this.RG),this.o.T(this.F,"preloadVideoDisplay",this.LG),this.o.T(this.g,g.Nb(cA),this.Lf),this.o.T(this.g,dA,this.Lf));c=ne();d=g.w("google.ima.gptProxyInstance",
c);null==d&&(d=new Zz,g.u("google.ima.gptProxyInstance",d,c))};
fA=function(a,b){var c=g.oh(a.A),d=!!("TouchEvent"in window&&0<window.TouchEvent.length),e=(0,g.I)(b,function(a){return d?new window.Touch({identifier:a.identifier,target:this.A,clientX:a.clientX,clientY:a.clientY,screenX:a.screenX,screenY:a.screenY,pageX:a.pageX+c.x,pageY:a.pageY+c.y}):window.document.createTouch(window,this.A,a.identifier,a.pageX+c.x,a.pageY+c.y,a.screenX,a.screenY)},a);
return window.document.createTouchList.apply(window.document,e)};
gA=function(a){a=a.playbackOptions;return new xx(a.adFormat,a.adSenseAgcid,0,a.ctaAnnotationTrackingEvents,a.showAnnotations,a.viewCountsDisabled,a.loadVideoTimeout,a.ibaDisabled,a.enablePreloading,a.adQemId,null,a.isPharma,a.useAutoplayFlag,a.endscreenAdTracking,a.waitForVastInfoCardsXml)};
hA=function(a,b,c,d,e){if(!(e||null!=a&&g.Fe(g.ae(a),a)))throw rn(oo,null,"containerElement","element");this.D=a;var f=null!=b||null!=d;an(Zm(),136961005)&&(Q.M=!0);e=b?b:null;null!=e&&g.ua(e.getAttribute)&&e.getAttribute("playsinline");var k=f;e=!1;Q.M?Q.o||(Nn()&&f||(k=!1),!k&&Q.M&&!Q.g()&&wn()&&(Q.D=!0),!Q.D&&wn()||Ln()||(e=!0)):Q.o||Nn()&&f||(!Q.D&&wn()||Ln()||(e=!0),k=!1);this.F=k;this.L=e||k&&null!=d;Q.o?a=null:(f=g.pe("DIV",{style:"position:absolute"}),a.insertBefore(f,a.firstChild),a=f);this.A=
a;this.g=this.F||!this.A||Q.o||!wn()?null:new Iz(this.A,null,!0);f=a=null;this.F?b?(a=new Bz(b),f=b):d&&(a=new Qz(d)):this.g&&(a=new Bz(this.g.o),f=this.g.o);k=null;f&&Q.D&&e&&(k=new Nz(f));this.J=k;this.o=a;this.C=this.B=null;e=g.En&&!Gn(4);a=zn()&&wn();this.g&&this.o&&this.A&&!this.F&&!Ln()&&!e&&!a&&this.A&&(this.B=new Iz(this.A,null,!0),this.C=new Bz(this.B.o));this.G=this.o?c||null:null;this.M=null!=this.G;co($n.getInstance(),8,{enabled:this.F,yt:null!=d,customClick:null!=this.G});null===this.A?
(b=this.D,Q.H=b):this.F&&b&&!g.ua(b.getBoundingClientRect)&&(b=this.D,Q.H=b);this.H=null==this.A||Q.o?null:new eA(this.A,this)};
iA=function(a){return a.M&&a.G?a.G:null!=a.g?a.g.A:null};
jA=function(a){this.g=a};
kA=function(a,b){g.Ve.call(this,"adsManagerLoaded");this.g=a;this.A=b};
lA=function(a,b,c,d){a.g.Mc(new jA(b),c,d);return a.g};
mA=function(){};
nA=function(){g.zf.call(this);this.Df=!1;this.impressionUrls=[]};
oA=function(a,b,c){g.Ve.call(this,a);this.A=b||null;this.g=c||null};
qA=function(a,b){g.zf.call(this);this.g=a;this.D=!!b;this.B=pA(this);if(!this.B){var c=g.sc&&!g.jc("7")?"readystatechange":"load";this.o=g.kf(this.g,c,this.C,!1,this);this.A=window.setInterval((0,g.A)(this.C,this),100)}};
rA=function(a){a.A&&(window.clearInterval(a.A),a.A=null)};
pA=function(a){var b=!1;try{if(a.D||!g.sc||g.jc("11"))var c=a.g,d=(c.contentDocument||c.contentWindow.document).body,b=a.D?!!d&&!!d.firstChild:!!d;else b="complete"==a.g.readyState}catch(e){}return b};
sA=function(){nA.call(this);this.F=[];this.C=!1;this.A="not_loaded";this.o=null;this.B=0;this.g=this.bb=null;this.G=new $d};
tA=function(a){var b=["googletag","googletag.cmd"];return g.Za(a,function(a){return(0,g.Qr)(b,function(b){return null!==g.w(b,a)})})||null};
uA=function(a){return a.Df?(0,g.I)(a.F,function(a){return a.clone()}):[]};
yha=function(a){a=uA(a);if(null!=a)return(0,g.I)(a,function(a){return a.G})};
vA=function(a,b,c){var d=0,e=0;null!=b&&(b=new g.$l(b.g),d=Number(b.g.get("pod")||0),e=Number(b.g.get("ppos")||0));if(null!=a.setVideoSession)try{a.setVideoSession(ao.g,d,e,c)}catch(f){}};
zha=function(a,b){var c=wA(a);if(null!==c){vA(c,b,!0);try{c.refreshAllSlots()}catch(d){}}};
yA=function(a,b,c){a=xA(a);if(null!=a)try{a.setVideoContent(b,c)}catch(d){}};
zA=function(a,b){a.D=b;yA(a,"","");var c=wA(a);null===c||vA(c,null,!1)};
wA=function(a){null==a.g&&AA(a);return null!=a.g&&null!=a.g.googletag&&null!=a.g.googletag.companionAds?a.g.googletag.companionAds():null};
xA=function(a){null==a.g&&AA(a);return null!=a.g&&null!=a.g.googletag&&null!=a.g.googletag.pubads?a.g.googletag.pubads():null};
BA=function(a){a.o&&(a.o.stop(),a.o.Ba("tick",a.fz,!1,a),a.o.dispose(),a.o=null)};
FA=function(a){if("retrieved"!=a.A&&"not_available"!=a.A&&null!==wA(a)){var b;var c=wA(a);if(null!==c&&g.ua(c.getDisplayAdsCorrelator))try{b=g.E(c.getDisplayAdsCorrelator())}catch(f){b=null}else b=null;switch(b){case "not_loaded":case "not_available":a.A=b;break;default:b=Number(b),(0,window.isNaN)(b)?a.A="not_available":(a.D=b,a.A="retrieved")}}(b=CA(a))||(b=DA(a)&&"not_available"==a.A);if(b){if(!a.H&&DA(a)){var d;try{if(null==a.g)d=[];else{var e=a.g.googleGetCompanionAdSlots();d=(0,g.I)(e,a.EP,
a)}}catch(f){d=[]}a.F=d;a.H=!0}a.Df=!0;BA(a);CA(a)?a.dispatchEvent(new oA("companions_success")):EA(a)}else a.o||(a.B=(0,g.G)()+15E3,a.o=new g.mg(100),a.o.T("tick",a.fz,!1,a),a.o.start())};
CA=function(a){return DA(a)&&"retrieved"==a.A};
DA=function(a){a.C||(AA(a),a.C=null!=a.g&&null!=a.g.googleGetCompanionAdSlots);return a.C};
AA=function(a){var b=g.Qe(a.G);try{a.g=tA([b,b.top])}catch(c){a.g=null}};
EA=function(a){a.dispatchEvent(new oA("companion_initialization_failed",Error("Partial or full service initialization failure.")))};
Aha=function(a,b,c){var d=new qA(b,!0);d.Ob()?GA(a,c,b):sf(d,"ifload",g.ya(function(a){GA(this,c,a)},b),!1,a)};
GA=function(a,b,c){a.dispatchEvent(new oA("companion_slot_init",null,b));var d=c;"IFRAME"==c.tagName&&(d=(c.contentDocument||c.contentWindow.document).body);null!=d&&g.kf(d,"click",(0,g.A)(a.sL,a,b),!1,a)};
HA=function(){g.zf.call(this);this.A=[]};
IA=function(){return new Zr("empty-ad","GDFP","GDFP",0,"",0,0,0,0,[],[],[],[],new Tl)};
JA=function(a){HA.call(this);this.g=a;this.G=this.bb=null;this.F=!1;this.B=null;this.C=new g.sm;tm(this.C,this.g,["companions_success","companion_initialization_failed"],this.ON,!1,this);tm(this.C,this.g,"companion_display_error",this.uL,!1,this);tm(this.C,this.g,["companion_slot_init","companion_click"],this.qL,!1,this);this.g.Df?this.F=!0:this.g.initialize()};
LA=function(a){var b=a.B;a.B=null;if(null!=a.g)if(g.db(a.A))KA(a,Error("Companion slots not available."));else if(null!=b){var c=Bha(a,b);a.g.pd(a.A);if(0<c.length&&b.Pa){a=a.g;var d;if(d=0!=c.length)d=xs(b),d="GDFP"==(rs(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.A;c=wA(a);if(null!==c){vA(c,b,!1);try{c.notifyUnfilledSlots(d)}catch(f){}}}}}else KA(a,Error("Invalid master ad."))};
KA=function(a,b){a.dispatchEvent(new Go("companion_display_error",b))};
Bha=function(a,b){var c=[],d=[];(0,g.H)(a.A,function(a){Jo(a);(0,g.Sk)(a.G,function(d){a:{d=Cs(b,d.width,d.height);if(!g.db(d)&&(d=Cha(d,c),null!=d)){var e=d.o;if(null!=e&&0!=a.H.indexOf(e)){d=!1;break a}e=d.g.L;ob(e,ns(b,"companionClick"));var f=ns(b,"companionImpression"),k=Q.g()&&"Html"==d.g.M&&d.B;c.push(d);if(k)Io(a,d.Ac(),d.Db(),d.getHeight(),f);else{var k=d.dd(),q=d.Db(),r=d.getHeight();d="IFrame"!=d.g.M;a.F=k;a.g=null;a.B=q;a.o=r;a.A=d;a.D=f||[];a.C=e||[]}d=!0;break a}d=!1}return d},this)||
d.push(a)},a);
var e=MA(b);a.D=NA(e,c);a.D||(0,g.H)(a.A,function(a){Jo(a)},a);
return d};
NA=function(a,b){if(null==a)return!0;var c=a.g;return"all"==a.o?Dha(c,b):"any"==a.o?Eha(c,b):!0};
MA=function(a){return null==a||null==a.g||(0,window.isNaN)(a.g.g)?null:g.Za(Ns(a,!0),function(a){a=a.g;return g.db(a)?!1:(0,window.isNaN)(a[0].g.g)?!1:a[0].g.g==a[0].Up()})};
Dha=function(a,b){return(0,g.Qr)(a,function(a){return g.cb(b,a)})};
Eha=function(a,b){return(0,g.Sk)(a,function(a){return g.cb(b,a)})};
Cha=function(a,b){return g.Za(a,function(a){return!g.cb(b,a)})};
OA=function(a,b){this.B=a;this.o=b;this.g=this.bb=null};
Fha=function(a){var b=[],c=Hr(a,"vmap:Extensions")[0];if(c){var d;Kr(c,"vmap:Extension",function(a){"vmap:YTBreakTime"==c.getAttribute("type")&&(d=a)});
if(d&&(b=Hr(d,"yt:BreakTime"),!g.db(b)))return(0,g.I)(b,function(a){return Ir(a,"timeOffset")})}return[Ir(a,"timeOffset")]};
Gha=function(a,b){return(0,g.I)(b,function(a){var b=new gz(a.A.clone());b.g=a.g;b.o=a.o;return b},a)};
Hha=function(a){return(a=g.Za(g.Be(a),function(a){return"vmap:VASTData"==a.nodeName||"vmap:VASTAdData"==a.nodeName}))?g.Za(g.Be(a),function(a){return"VAST"==a.nodeName}):null};
Iha=function(a){a=g.Za(a,g.ya(PA,"type","youtube"));if(!a)return null;a=(0,g.Ae)(a.getElementsByTagName("*"),function(a){return"yt:BreakProperty"==a.tagName});
if(g.db(a))return null;a=a[0];return a.hasAttribute("break_type")?jda(a.getAttribute("break_type")):null};
PA=function(a,b,c){return Ir(c,a)==b};
Kha=function(a,b){if(null!=a){var c;null!=a?(c=g.De(a),c=null!=c&&"Playlist"==c.nodeName):c=!1;if(c)return hx(),new jz(a,b);null!=a?(c=g.De(a),c=null!=c&&"vmap:VMAP"==c.nodeName):c=!1;if(c)return hx(),new OA(a,b);if(qw(a)){if(!qw(a))throw qn(mz);c=g.De(a);var d=uw(c);if(1>d||4<d)throw qn(Jha);c=Hr(c,"Ad");if(g.db(c))throw qn(QA);c=vw(c[0]);if(null==c)throw qn(RA);if(1!=Hr(c,"AdSystem").length)throw qn(RA);return new pw(a)}}return null};
Lha=function(a){a=(0,g.Ae)(a,function(a){return 0<zs(a)});
g.xb(a,function(a,c){return zs(a)-zs(c)});
return a};
Mha=function(a){return(0,g.Ae)(a,function(a){return-1==zs(a)})};
Jq=function(a){this.nf=a};
SA=function(a,b){this.o=a;this.A=b};
TA=function(a,b){"auto"!=a.o.ii&&"click"!=a.o.ii||b.set("vpa",a.o.ii)};
UA=function(a){D(Q.getPlayerType())||(a.set("mpt",Q.getPlayerType()),D("")||a.set("mpv",""))};
VA=function(a,b){var c=a.A.D,d=a.A.o;null!=c&&b.set("js","ima-"+c);null!=d&&b.set("an",d);c=a.o.L;null!=c&&b.set("mv",c+"."+(a.o.J||""))};
WA=function(a,b){var c=2;(P&&P.o?0:0===ni())&&(c|=2048);b.set("osd",c);-1!=a.A.L&&b.set("frm",a.A.L);c=a.A.ca;null!=c&&b.set("ms",c);b.set("sdr",1)};
XA=function(a){return Q.o?"h.3.0.0":null!=a.A?Zn(a.A):null};
YA=function(){this.g=["video"]};
ZA=function(a,b){a.set("sz",Math.max(null!=b.Si?b.Si:0,null!=b.Te?b.Te:0)+"x"+Math.max(null!=b.Ri?b.Ri:0,null!=b.Se?b.Se:0))};
aB=function(a){var b={};gi(b);for(var c in b)a.set(c,b[c]);a.set("dt",$A)};
bB=function(a){if(a.zc&&a.zc.LACT){var b=a.zc.LACT.toString();if(b)return Wa(b)}return a.G};
cB=function(a){return Q.g()&&a.zc&&a.zc.VIS?a.zc.VIS.toString():null};
hB=function(a,b,c){var d=new Tl;d.set("ad_type",b.adType);to&&d.set("flash",xi);ZA(d,a);dB(b)&&(d.set("ea","0"),null!=a.Te&&null!=a.Se&&d.set("image_size",eB(b,a.Te,a.Se,a.Ei)));fB(d,c);d.set("lact",bB(a));(b=cB(a))&&d.set("yt_vis",b);d.set("videoad_start_delay",a.oo);aB(d);gB(a,d,!0);return d};
gB=function(a,b,c){D(g.E(a.referrer))||(a=a.referrer,c&&(a=g.Fa(a)),iB("ref",a,b))};
lB=function(a,b,c){a=null!=b?b.split("_"):a;(0,g.H)(a,function(a){if(!Mb(Nha,a))throw qn(oo,null,"ad_type",String(b));});
if(c){var d=[];(0,g.H)(a,function(a){g.cb(jB,a)||d.push(a)});
a=d}c=g.cb(a,"video");var e=g.cb(a,"skippablevideo");!An()||Q.g()||co($n.getInstance(),53,{playsInline:!1,iOS_version:An()?In(Cn):"",wv:(Hb("iPad")||Hb("iPhone"))&&!cc()&&!bc()&&!Hb("Coast")&&Hb("AppleWebKit"),rq_video:c,rq_skip:e,dis_cp:!1});var f=Zm();if(!Mn()){d=[];(0,g.H)(a,function(a){"video"==a?(d.push("standardvideo"),!Q.g()&&an(f,413051060)&&d.push("bumpervideo")):"skippablevideo"!=a&&d.push(a)});
if(0==d.length)throw qn(kB,null,"skippablevideo");a=d}return a};
mB=function(a,b){return null!=b?b.split(/[+, ]/):a};
eB=function(a,b,c,d){a.o&&(c=Math.min(c,90));var e=0,f=0;a=!Q.g();d=d&&a;a&&(e=15,f=65);var k=[];(0,g.H)(Oha,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(",")};
nB=function(a,b){return null==b||(0,window.isNaN)(b)?a:Number(b)};
oB=function(a,b){return null!=b?String(b):null!=a?a:null};
pB=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};
qB=function(a,b,c){return null!=b&&Mb(c,b)?b:a};
dB=function(a){return(0,g.Sk)(jB,function(b){return g.cb(a.g,b)})};
fB=function(a,b){to?a.set("ca_type","flash"):a.set("ca_type","image");if(null!=b){var c=b.A;null!=c&&0<c.length&&(c=c[0].G,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)};
sB=function(a,b,c){SA.call(this,a,b);var d=new YA,e=(new g.$l(a.g)).g;d.Gq=qB(d.Gq,e.get("cust_age"),Pha);d.Al=qB(d.Al,e.get("adsafe"),rB);d.g=lB(d.g,e.get("ad_type"));d.adType=d.g.join("_");d.Xo=nB(d.Xo,e.get("videoad_start_delay"));d.Yo=oB(d.Yo,e.get("slotname"));d.Fq=pB(d.Fq,e.get("adtest"))||"on"==e.get("adtest");d.cp=pB(d.cp,e.get("scs"));d.ep=oB(d.ep,e.get("alternate_ad_url"));d.channels=mB(d.channels,e.get("channel"));d.Ap=nB(d.Ap,e.get("cpm"));d.Rj=oB(d.Rj,e.get("description_url"));d.experimentIds=
oB(d.experimentIds,e.get("eid"));d.gender=qB(d.gender,e.get("cust_gender"),Qha);d.o=pB(d.o,e.get("overlay"));d.host=oB(d.host,e.get("host"));d.A=mB(d.A,e.get("h_ch"));d.hostTierId=nB(d.hostTierId,e.get("ht_id"));d.isLiveStream=pB(d.isLiveStream,e.get("lsv"));var f;null!=this.o.language?f=this.o.language:(f=na.navigator||null,f=Pm(f.language||f.userLanguage||f.browserLanguage||f.systemLanguage||""));var k=null!=e.get("hl")?String(e.get("hl")):null;f=oB(k,f);var l;null!=f&&!D(g.E(f))&&(l=Pm(f));d.language=
oB(d.language,l);d.Uw=nB(d.Uw,e.get("linearAdSlotWidth"));d.Tw=nB(d.Tw,e.get("linearAdSlotHeight"));d.hn=nB(d.hn,e.get("max_ad_duration"));d.jr=nB(d.jr,e.get("min_ad_duration"));d.jn=nB(d.jn,e.get("sdmax"));d.Ww=nB(d.Ww,e.get("nonLinearAdSlotWidth"));d.Vw=nB(d.Vw,e.get("nonLinearAdSlotHeight"));d.lj=oB(d.lj,e.get("client"));d.Cn=oB(d.Cn,e.get("t_pyv"));l=e.get("sdki");d.Ln=nB(d.Ln,g.z(l)?(0,window.parseInt)(l,16):l);d.tagForChildDirectedTreatment=nB(d.tagForChildDirectedTreatment,e.get("tfcd"));d.zn=
oB(d.zn,e.get("pucrd"));d.targeting=qB(d.targeting,e.get("targeting"),Rha);d.Tm=nB(d.Tm,e.get("video_format"));d.Ls=nB(d.Ls,e.get("video_cpm"));d.Hq=oB(d.Hq,e.get("loeid"));d.Ss=oB(d.Ss,e.get("yt_pt"));d.Ps=oB(d.Ps,e.get("ytdevice"));d.Qs=oB(d.Qs,e.get("ytdevicever"));d.Rs=oB(d.Rs,e.get("dbp"));d.B=oB(d.B,e.get("ms"));d.adBlock=nB(d.adBlock,e.get("adBlock"));d.url=oB(d.url,e.get("url"));d.mp=oB(d.mp,e.get("avo"));d.Js=oB(d.Js,e.get("v_p"));d.bI=a.D;d.cI=a.B;d.dI=a.F;d.mo=nB(d.mo,e.get("ad_block"));
this.g=d;this.H=b;this.J=c;D(g.E(this.g.experimentIds))||(a=this.g.experimentIds.split(","),Xm(Zm(),a))};
Tha=function(a){return(0,g.Sk)(Sha,function(a){return g.cb(this.g.g,a)},a)};
tB=function(a){return Q.g()?1:g.cb(a.g.adType.split("_"),"text")?3:1};
Uha=function(a){a=a.g.channels?a.g.channels:[];sb(a);a=g.qb(a,0,30);return a.join("+")};
Vha=function(){this.bb=null;this.g=0};
Wha=function(a,b,c,d,e,f,k){var l=(0,g.A)(function(a){d(a,Error(Mw(a)))},a),m=(0,g.A)(function(a){6==a?uB(this,b,!1,c,l,e,f):l(a)},a);
uB(a,b,!0,c,m,e,f,k)};
uB=function(a,b,c,d,e,f,k,l){var m=new Sw;m.G=c;Tw(m,Xha(f));var n=new g.sm,q=(0,g.A)(function(){n.dispose();m.dispose()},a);
c=(0,g.A)(function(){e(m.o);q()},a);
ym(n,m,"success",function(){var a;try{a=m.g?m.g.responseXML:null}catch(B){a=null}if(null==a){var b=ax(m);try{a=g.Cr(b)}catch(B){a=Br("parsererror")}}d(a);q()},a);
ym(n,m,["error","timeout"],c,a);var r;"POST"==k&&(b=new g.$l(b),r=b.g.toString(),em(b,""),b=b.toString());Q.g()&&"POST"!=k&&(l=Yha(b,k,l),b=l.url,k=l.BP,r=l.content);a.g=(0,g.G)();m.send(fn(b),k,r)};
Yha=function(a,b,c){var d=new mA;d.g=a;var e;if(Zq(d)){var d=new g.$l(a),f=d.g.get("post_data");g.t(f)&&(b="POST",d.g.remove("post_data"),a=d.toString(),e=(0,window.decodeURIComponent)(f),g.t(c)&&(c=c.clone(),c.g="https://googleads.g.doubleclick.net/pagead/ads?ad_type=text_image",c=new sB(c,ao,null),c=c.B(c.C()).toString(),e=e+"&cat="+(0,window.encodeURIComponent)(c)))}return{url:a,BP:b,content:e}};
vB=function(a,b){SA.call(this,a,b)};
wB=function(a,b){SA.call(this,a,b)};
xB=function(a){SA.call(this,a,null)};
yB=function(a){SA.call(this,a,null)};
zB=function(a,b){SA.call(this,a,b);Q.g()&&(this.A.B=Wn())};
Zha=function(a){var b=[];(0,g.H)(a,function(a){0<a.length&&b.push((0,g.I)(a,function(a){return a.width+"x"+a.height}).join("|"))});
return b.join(",")};
AB=function(a,b,c){zB.call(this,a,b);b=Zm();this.H=D(g.E(a.A));a=new YA;a.g=lB(a.g,this.o.A);a.adType=a.g.join("_");a.experimentIds=oB(a.experimentIds,this.o.H);this.g=a;this.F=c;D(g.E(this.g.experimentIds))||Xm(b,this.g.experimentIds.split(","))};
$ha=function(a){var b=hB(a.o,a.g,a.F);b.set("sdkv",XA(a));b.set("sdki",a.D().toString(16));return b};
aia=function(a,b){var c=$ha(a),d=(0,g.I)(c.Bb(),function(a){var b=c.get(a);return a+"="+(null!=b?b:"")});
g.im(b,"afvparams",d.join("&"))};
BB=function(a,b,c){SA.call(this,a,b);Zm();this.H=D(g.E(a.A));a=new YA;a.g=lB(a.g,this.o.A);a.adType=a.g.join("_");a.experimentIds=oB(a.experimentIds,this.o.H);this.g=a;this.F=c;D(g.E(this.g.experimentIds))||(a=this.g.experimentIds.split(","),c=Zm(),Xm(c,a))};
bia=function(a){var b=hB(a.o,a.g,a.F);b.set("sdkv",XA(a));return b};
cia=function(a,b){var c=bia(a),d=(0,g.I)(c.Bb(),function(a){var b=c.get(a);return a+"="+(null!=b?b:"")});
Sq(b,"afvparams",[g.Fa(d.join("&"))])};
CB=function(a,b){SA.call(this,a,b)};
DB=function(a,b){var c=new g.$l(g.Fm(a.o.g,dia(a,b)));am(c,"https");return c};
dia=function(a,b){if(null==a.o||null==a.o.zc)return{};var c={},d=a.o.zc;(0,g.H)(eia,function(a){a in d&&(c[a]=d[a])});
var e=fia(a,d.DESCRIPTION_URL);e&&(c.AD_BLOCK=e);null!=b&&(c.BISCOTTI_ID=b);return c};
fia=function(a,b){if(null==b)return null;var c=Pn(Yn(a.A),b);return 1!=c?c:null};
gia=function(a,b){var c;!Xq(a.g)&&!Yq(a.g)||D(g.E(a.A))||null==a.g||-1==a.g.search("afvbase=")?Xq(a.g)?c=new wB(a,ao):Vq(a.g)?c=new sB(a,ao,b):Yq(a.g)?c=new zB(a,ao):Wq(a)?c=new vB(a,ao):(c=a.g,null!=c?(c=(new g.$l(c)).o,c=Ea(c,".fwmrm.net")):c=!1,c=c?new xB(a):Zq(a)?new CB(a,ao):new yB(a)):c=Xq(a.g)?new BB(a,ao,b):new AB(a,ao,b);return c};
EB=function(a,b,c,d,e){this.C=a;this.A=b;this.B=c;this.g=d;this.D=e;this.bb=null};
hia=function(a,b,c,d){var e;if(b.o instanceof window.Document)e=b.o;else try{e=g.Cr(b.o)}catch(f){d(qn(mz,f));return}null!=e?FB(a,e,b,c,d):d(qn(mz))};
GB=function(a,b,c,d){var e;if(e=null!=b.g){a:{try{Ga(b.g)}catch(f){e=!1;break a}e=!0}e=!e}e?d(qn(iia,null,b.g)):Q.J?xda(jo(),(0,g.A)(a.o,a,b,c,d)):a.o(b,c,d)};
IB=function(a,b,c,d,e,f){b=vda(b,f);f=c.Om&&cn(jia,b)?"POST":"GET";Wha(a.A,b,(0,g.A)(function(a){FB(this,a,c,d,e)},a),(0,g.A)(function(a,b){var d;
d=8==a?qn(Eq):5==a||6==a?qn(kia):qn(HB,b);e(d);d="third_party";Vq(c.g)?d="adsense":Xq(c.g)?d="dart":Yq(c.g)&&(d="xfp");d={rt:d,ec:a};co($n.getInstance(),18,d,!0)},a),a.D,f,c);
lia(c)};
lia=function(a){var b="third_party";Vq(a.g)?b="adsense":Xq(a.g)?b="dart":Yq(a.g)?b="xfp":Wq(a)&&(b="dbm");a={rt:b};co($n.getInstance(),17,a,!0)};
FB=function(a,b,c,d,e){var f;try{var k=Kha(b,c);if(!k)throw qn(mz);f=k.A();mia(a,f,c,d)}catch(l){l instanceof Sm?e(l):e(qn(nia,l))}};
mia=function(a,b,c,d){var e=b.nf;if(null!=e)d(new Jq(e));else{e=b.o;if(null==e)throw qn(QA);(0,g.H)(e,function(a){a.A=c;var d=Nm();d&&Om(d,"useCompanionsAsEndSlate")&&(a.J=sfa(a));var d=[],e=a.getExtension("InfoCards");if(null!=e)for(var e=e.A?e.A:new xv,f=0;f<wv(e,"card");f++)d.push(new yv(vv(e,"card",f)));a.B=d;a.aa=ofa(a.B);a.Qa=this.A.g;Q.g()&&(a.yb=b.g)},a);
var f=Lha(e),k=Mha(e),l;0<k.length&&0<=ys(k[0])?l=new Oq(k,c,a,a.C):l=new Dq(f,k,c,a);(0,g.H)(e,function(a){a.ka=l});
d(l)}};
JB=function(a){this.g=a+(0,g.G)()};
Xha=function(a){var b=(0,g.G)();a=a.g-b;return 0<a?a:0};
KB=function(a,b,c){this.D=b;this.B=c;this.C=null;this.o=new g.sm(this);this.J=a;this.A=this.g=null;this.G=!1;this.bb=null};
oia=function(a){if(null===a.C)LB(a);else{var b=new g.$l(a.C.g),c=g.E(b.g.get("vid")),b=g.E(b.g.get("cmsid")),d=a.B.H,e=a.B.F;a.B.H=c;a.B.F=b;if(D(g.E(c))||D(g.E(b)))LB(a);else if(c==d&&b==e)LB(a);else{var f=a.D.Fh();yA(f,c,b);zha(f,a.C);a.A=new g.mg(100);g.um(a.o,a.A,"tick",function(){var a;a:{var b=xA(f);if(null!=b)try{a=!1!==b.isAdRequestFinished();break a}catch(m){a=!0;break a}a=!1}a&&LB(this)},!1,a);
a.A.start()}}};
pia=function(a){a.g=new g.mg;ym(a.o,a.g,"tick",function(){LB(this)},a);
ng(a.g,a.J);a.g.start()};
LB=function(a){null!=a.o&&(a.o.dispose(),a.o=null);null!=a.g&&(a.g.stop(),a.g=null);null!=a.A&&(a.A.stop(),a.A=null);a.G=!0;null===a.F||a.F()};
qia=function(a,b){this.g=a;this.o=b;this.bb=null;Q.o&&Ao().init();var c;a:{try{c=window.top.location.href}catch(d){c=2;break a}c=null!=c?c==window.document.location.href?0:1:2}ao.L=c};
ria=function(a,b,c,d){if(Q.g()){var e=b.no;e&&nda(Zm(),e)}e=null;null!=a.g&&!Q.g()&&(e=new KB(1E3,a.g,a.o));var f=zea(b);null!=f&&yea(b)&&(a.o.ca=f);f=8E3;!Q.g()&&an(Zm(),41351074)?f=5E3:!Q.g()&&an(Zm(),41351075)&&(f=2E3);(new EB(a.o,new Vha,a.g,e,new JB(f))).fetch(b,(0,g.A)(function(a){a instanceof Jq?c(a):Hq(a,c,d)},a),d)};
g.MB=function(){this.g=[];this.o=[]};
NB=function(a){g.db(a.g)&&(a.g=a.o,a.g.reverse(),a.o=[])};
g.OB=function(a,b){a.o.push(b)};
g.PB=function(a){NB(a);return a.g.pop()};
QB=function(a){NB(a);return g.Xa(a.g)};
sia=function(a){this.jb=a;this.g=new g.MB;this.Gf=!1;this.bb=null};
SB=function(a,b,c,d){var e=(0,g.A)(function(a){c(a);g.PB(this.g);this.Gf=!1;RB(this)},a),f=(0,g.A)(function(a){d(a);
g.PB(this.g);this.Gf=!1;RB(this)},a);
g.OB(a.g,(0,g.A)(function(){ria(this.jb,b,e,f)},a));
RB(a)};
RB=function(a){if(!a.Gf){var b=QB(a.g);null!=b&&(a.Gf=!0,b())}};
TB=function(a,b,c){g.zf.call(this);this.jb=new sia(new qia(b,c));this.A=a;this.o=b;this.g=!0;this.B=c;this.bb=null};
tia=function(a,b,c){if(a.g){var d=null!=c?c:{};vga(gx.getInstance(),b.g);SB(a.jb,b,(0,g.A)(function(a){UB(this,a,d)},a),(0,g.A)(function(a){VB(this,a,d)},a))}};
fha=function(a,b,c){if(!a.g){var d=null!=c?c:{};SB(a.jb,b,(0,g.A)(function(a){UB(this,a,d)},a),(0,g.A)(function(a){VB(this,a,d)},a))}};
UB=function(a,b,c){if(a.g)if(b instanceof Jq)b=new WB(b.nf,a,a.A.kv),b.sg(a.o),a.dispatchEvent(new kA(b,c));else{var d;try{d=ez(a.A,b),d.sg(a.o),a.dispatchEvent(new kA(d,c))}catch(e){VB(a,qn(XB,null),c)}}else b instanceof Jq?VB(a,qn(uia,null,"Unsupported ad format."),c):(d=new Rm("adsLoaderSdkAdLoaded"),d.F=b,d.D=c,a.dispatchEvent(d))};
VB=function(a,b,c){a.g?("always"==Q.B&&null!=a.o&&a.o.pd(IA()),a.dispatchEvent(new Lm(b,c))):(c=new Rm("adsLoaderSdkAdError"),c.g=b,a.dispatchEvent(c))};
YB=function(a,b){this.L=a;this.S=new Tl;this.N=15E3;this.F=g.pe("SPAN");Iy.call(this,a[0],b);this.g.appendChild(this.F)};
ZB=function(a,b){Iy.call(this,a[0],b);this.B=a;g.S(this.g,"ima-container-stack")};
$B=function(a){Ly.call(this,a);this.C=!1;this.o=this.A=null;this.G=!1};
aC=function(a){var b=a.ads[0].getExtension("AdSense"),c=b.C,b=b.D;a={text:null!=c?c:a.H.C,url:null!=b?b:a.H.D};null==a.text&&(c=Aa("Ads by Google"),c=Zo(""+c),a.text=c);return a};
bC=function(a){return a.xb()&&Qs(a.la())};
via=function(a){var b=cC(a);b.rba=a.B;co($n.getInstance(),37,b)};
cC=function(a){var b=[],c=[];(0,g.H)(a.A,function(a){b.push(a.Db()+"x"+a.getHeight());c.push(a.ed())},a);
var d={};d.pid=gx.getInstance().o;d.fsmode=null!=a.o;0<b.length&&(d.cz=b.join(","));0<c.length&&(d.ct=c.join(","));d.vm=a.Sc;return d};
dC=function(a,b){if(a.o){a.Lm(new g.Ve("close"));var c={};c.pid=gx.getInstance().o;c.evt=b;co($n.getInstance(),35,c)}};
eC=function(a,b){g.M.call(this);this.B=a;this.g=-1;this.A=b};
fC=function(a,b){eC.call(this,a,b)};
WB=function(a,b,c){Ju.call(this,[]);this.nf=a;this.Cb=new Tl;this.wc=this.sb=null;this.kv=c;this.Tj=new g.MB;this.Ad=null;this.jb=b;this.bp=this.Xl=!1;this.Rh=null;this.Rf=0;this.Pd=this.Qd=-1;this.cd=null;this.Nr=0;this.bb=null;this.Sj=!1};
xia=function(a,b){if(null!==a.Sa){var c=1;a.Rf=0;var d=new Cm;(0,g.H)(b,function(a){if((0,window.isNaN)(a))throw qn(lz,null,"timeOffset",String(a));if(-1!=a&&-1>=a){var b=this.nf;if((0,window.isNaN)(a)||!g.ta(a))throw Error("Incorrect time offset.");Vl(b.g,a)&&b.g.remove(a)}else if(b=g.ta(a)&&!(0,window.isNaN)(a)?this.nf.g.get(a,[]):[],!g.db(b)){this.Rf+=b.length;var e;e=0==a||-1==a?a:c++;b=new Oy(b,a,e,this.jb,this.Sa,this.Va,this.zd);if(d.contains(a))throw qn(wia,null,"Multiple ad breaks cannot share same ad play time.");
this.Cb.set(g.xa(b),b);Em(d,a)}},a)}};
yia=function(a,b){a.Rh=g.Xa(b);(0,g.Sk)(b,function(a){if(-1==a)return this.Rh=a,!0;this.Rh=this.Rh<a?a:this.Rh;return!1},a)};
iC=function(a,b){a.Sj=!1;a.zi(b);0==b.Kc?a.Jf():(-1==b.Kc?(gC(a)||!Q.g()&&a.Xl)&&hC(a):sz(a.wc),a.Ad=null)};
zia=function(a){if(null!=a.wc){jC(a);var b=a.Xa();tm(b,a.wc,["requestAds","playAds","contentTrackingError","discardAdBreak"],a.handleEvent,!1,a);tm(b,a.wc,"adBreakReady",a.vK,!1,a);tm(b,a.jb,"contentComplete",a.wL,!1,a);a.jb.g=!1}};
jC=function(a){null!=a.bc&&(a.bc.dispose(),a.bc=null);a.Xl=!1;null!=a.wc&&a.wc.Qc()};
kC=function(a){if(null==a.Ad){var b=g.PB(a.Tj);if(null!=b){a.Ad=b;var c=a.Cb.get(a.Ad.g);if(null!=c)if(b=b.type,"requestAds"!=b&&"playAds"!=b)a.Ad=null,kC(a);else if(null!=a.cd&&a.cd.o(c))a.Ad=null,kC(a);else if("requestAds"==b)a.Sj?(a.Tj.isEmpty()||"playAds"!=QB(a.Tj).type||g.PB(a.Tj),iC(a,c)):0==c.Kc&&a.Mf()||lC(a,c);else{if("playAds"==b)if(a.Sj)iC(a,c);else if(null!=a.sb&&a.sb.vb()&&a.zi(a.sb),a.sb=c,a.sb.setVolume(a.volume),Py(a.sb,a.Qd,a.Pd,a.Sc),a.sb.M&&a.Ad.A<a.Nr){c=a.sb;if(c.o<c.A.length){b=
c.A[c.o];Yy(c);try{c.F=new g.sm(c),c.g=Zy(c,b,c.F)}catch(e){c.o++,cz(c)}}var c=a.wc,b=a.Nr,d=new qz(a.sb);d.g=b;d.o=!0;Ab(c.A,d,rz);a.ia("contentResumeRequested");a.Ad=null;kC(a)}else a.sb.start()}else a.Ad=null,kC(a)}}};
lC=function(a,b){var c=a.Xa();tm(c,b,vy,a.dispatchEvent,!1,a);tm(c,b,"adError",a.Sv,!1,a);tm(c,b,"allAdsCompleted",a.By,!1,a);tm(c,b,"contentPauseRequested",a.Zg,!1,a);tm(c,b,"contentResumeRequested",a.Jf,!1,a);tm(c,b,"userClose",a.Xh,!1,a);tm(c,b,"autoClose",a.Wh,!1,a);tm(c,b,"adBreakInitialized",a.Cy,!1,a);b.init(a.Qd,a.Pd,a.Sc)};
hC=function(a){if(!a.bp){a.bp=!0;a.jb.g=!0;try{co($n.getInstance(),44,{cmpl:!0})}catch(b){}a.ia("allAdsCompleted");-1==a.Rh&&mC(a)}};
mC=function(a){an(Zm(),420706009)||ao.clear();null!=a.zd&&(a=a.zd.Fh(),null!=a&&zA(a,ao.g))};
gC=function(a){return 0==a.Cb.fb().length};
nC=function(a){return null!=a.sb?a.sb:null!=a.Ad?a.Cb.get(a.Ad.g):null};
Aia=function(){this.kv=new pha;this.bb=null};
ez=function(a,b){if(g.db(b))throw Error("Ads manager creation failure, no ads.");var c;if(Bia(a,b)&&(c=Cia(a,b),!g.db(c)))return new Dy(c);c=By(b);if(!Q.g()){var d;if(d=c)d=b[0],d=null!=Bs(d)&&0<Pq(Bs(d));c=d?new Ay(0,c,b[0]):c}if(c)return c;throw Error("Ads manager creation failure, failed to determine ad type.");};
Cia=function(a,b){var c=[];(0,g.H)(b,function(a){var b=By([a]);b&&a.Sb()&&g.gb(c,b)},a);
return c};
By=function(a){var b=a[0];switch(oC(b)){case "overlay":return Ks(b)?new $B(a):new Ly(a);case "video":return new Ex(a);case "vpaid":return new ky(a);case "flash_vpaid":return 2==Q.G?new zw(a):new Fw(a)}return null};
Bia=function(a,b){if(1==b.length)return!1;var c=oC(b[0]);return(0,g.Sk)(b,function(a){a=oC(a);return c!=a||"vpaid"==a||"flash_vpaid"==a?!0:!1},a)};
oC=function(a){var b=cs(a)&&Q.g(),b=0!=Q.G||b;return null!=Vs(a)&&b?"vpaid":to&&null!=Ws(a)&&0!=Q.G?"flash_vpaid":Ks(a)&&null==Vs(a)&&Os(a,"nonlinear")?"overlay":Os(a,"linear")?"video":Os(a,"nonlinear")&&null==Vs(a)?"overlay":null};
pC=function(a){g.zf.call(this);this.o=a;a=new JA(new sA);this.g=new TB(new Aia,a,ao);this.g.T("adsManagerLoaded",this.dispatchEvent,!1,this);this.g.T("adError",this.dispatchEvent,!1,this);this.g.T("adLoadError",this.dispatchEvent,!1,this)};
qC=function(a,b,c){oda();var d="",e=Fi(),f=e.o,e=e.g;f&&f.url?d=f.url:e&&e.url&&(d=e.url);b.location=d;b.referrer=window.document.referrer;b.Ee=Hm(b.g,a.o.D);b.rs=a.o.L;tia(a.g,b,c)};
rC=function(a,b){this.o=new Kc(a);this.g=b?Ic:g.Hc};
sC=function(a,b,c,d,e,f,k,l){this.g=a;this.F=b;this.A=c;this.C=d;this.B=e;this.D=f;this.o=k;this.G=l};
tC=function(a,b){if(0==b)return a.g;if(1==b)return a.o;var c=Td(a.g,a.A,b),d=Td(a.A,a.B,b),e=Td(a.B,a.o,b),c=Td(c,d,b),d=Td(d,e,b);return Td(c,d,b)};
Dia=function(a,b){var c=(b-a.g)/(a.o-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++){var f=tC(a,c),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(a,b,c,d){this.B=a;this.C=b;this.g=this.A=a;this.D=c||0;this.F=d||2};
vC=function(a,b,c,d,e){this.g=a;this.A=c;this.G=d;this.F=e||1;this.C=45E3;this.B=new g.sm(this);this.o=new g.mg;ng(this.o,250)};
xC=function(a,b,c){a.Qi=1;a.Pg=lm(b.clone());a.Zh=c;a.D=!0;wC(a,null)};
yC=function(a,b,c,d,e){a.Qi=1;a.Pg=lm(b.clone());a.Zh=null;a.D=c;e&&(a.bA=!1);wC(a,d)};
wC=function(a,b){a.Ik=(0,g.G)();zC(a);a.gh=a.Pg.clone();km(a.gh,"t",a.F);a.Tk=0;a.Yc=a.g.Cp(a.g.Lk()?b:null);0<a.hq&&(a.Dn=new g.qk((0,g.A)(a.UA,a,a.Yc),a.hq));a.B.T(a.Yc,"readystatechange",a.jP);var c=a.Kh?Wb(a.Kh):{};a.Zh?(a.ho="POST",c["Content-Type"]="application/x-www-form-urlencoded",a.Yc.send(a.gh,a.ho,a.Zh,c)):(a.ho="GET",a.bA&&!g.me&&(c.Connection="close"),a.Yc.send(a.gh,a.ho,null,c));a.g.Ye(1)};
GC=function(a,b,c){for(var d=!0;!a.yh&&a.Tk<c.length;){var e=Eia(a,c);if(e==AC){4==b&&(a.Lh=4,BC(),d=!1);break}else if(e==CC){a.Lh=4;BC();d=!1;break}else DC(a,e)}4==b&&0==c.length&&(a.Lh=1,BC(),d=!1);a.cf=a.cf&&d;d||(EC(a),FC(a))};
Eia=function(a,b){var c=a.Tk,d=b.indexOf("\n",c);if(-1==d)return AC;c=Number(b.substring(c,d));if((0,window.isNaN)(c))return CC;d+=1;if(d+c>b.length)return AC;var e=b.substr(d,c);a.Tk=d+c;return e};
JC=function(a,b){a.Ik=(0,g.G)();zC(a);var c=b?window.location.hostname:"";a.gh=a.Pg.clone();g.im(a.gh,"DOMAIN",c);g.im(a.gh,"t",a.F);try{a.df=new window.ActiveXObject("htmlfile")}catch(n){EC(a);a.Lh=7;BC();FC(a);return}var d="<html><body>";if(b){for(var e="",f=0;f<c.length;f++){var k=c.charAt(f);if("<"==k)e+="\\x3c";else if(">"==k)e+="\\x3e";else{var l=k;if(l in HC)k=HC[l];else if(l in IC)k=HC[l]=IC[l];else{var m=l.charCodeAt(0);if(31<m&&127>m)k=l;else{if(256>m){if(k="\\x",16>m||256<m)k+="0"}else k=
"\\u",4096>m&&(k+="0");k+=m.toString(16).toUpperCase()}k=HC[l]=k}e+=k}}d+='<script>document.domain="'+e+'"\x3c/script>'}d+="</body></html>";c=Qd(qd("b/12014412"),d);a.df.open();a.df.write(g.Jd(c));a.df.close();a.df.parentWindow.m=(0,g.A)(a.nO,a);a.df.parentWindow.d=(0,g.A)(a.wz,a,!0);a.df.parentWindow.rpcClose=(0,g.A)(a.wz,a,!1);c=a.df.createElement("DIV");a.df.parentWindow.document.body.appendChild(c);d=Gd(a.gh.toString());d=Ha(Dd(d));d=Qd(qd("b/12014412"),'<iframe src="'+d+'"></iframe>');c.innerHTML=
g.Jd(d);a.g.Ye(1)};
zC=function(a){a.Ns=(0,g.G)()+a.C;KC(a,a.C)};
KC=function(a,b){if(null!=a.Cj)throw Error("WatchDog timer not null");a.Cj=LC((0,g.A)(a.FO,a),b)};
MC=function(a){a.Cj&&(na.clearTimeout(a.Cj),a.Cj=null)};
FC=function(a){a.g.kw()||a.yh||a.g.vn(a)};
EC=function(a){MC(a);g.Te(a.Dn);a.Dn=null;a.o.stop();zm(a.B);if(a.Yc){var b=a.Yc;a.Yc=null;b.abort();b.dispose()}a.df&&(a.df=null)};
DC=function(a,b){try{a.g.nz(a,b),a.g.Ye(4)}catch(c){}};
OC=function(a,b,c,d,e){if(0==d)c(!1);else{var f=e||0;d--;NC(a,b,function(e){e?c(!0):na.setTimeout(function(){OC(a,b,c,d,f)},f)})}};
NC=function(a,b,c){var d=new window.Image;d.onload=function(){try{PC(d),c(!0)}catch(e){}};
d.onerror=function(){try{PC(d),c(!1)}catch(e){}};
d.onabort=function(){try{PC(d),c(!1)}catch(e){}};
d.ontimeout=function(){try{PC(d),c(!1)}catch(e){}};
na.setTimeout(function(){if(d.ontimeout)d.ontimeout()},b);
d.src=a};
PC=function(a){a.onload=null;a.onerror=null;a.onabort=null;a.ontimeout=null};
QC=function(a){this.g=a;this.o=new rC(null,!0)};
SC=function(a){var b=RC(a.g,a.Lj,"/mail/images/cleardot.gif");lm(b);OC(b.toString(),5E3,(0,g.A)(a.zF,a),3,2E3);a.Ye(1)};
UC=function(a){var b=a.g.J;if(null!=b)BC(),b?(BC(),TC(a.g,a,!1)):(BC(),TC(a.g,a,!0));else if(a.Yd=new vC(a,0,void 0,void 0,void 0),a.Yd.Kh=a.eq,b=a.g,b=RC(b,b.Lk()?a.hk:null,a.gq),BC(),!g.sc||g.kc(10))km(b,"TYPE","xmlhttp"),yC(a.Yd,b,!1,a.hk,!1);else{km(b,"TYPE","html");var c=a.Yd;a=!!a.hk;c.Qi=3;c.Pg=lm(b.clone());JC(c,a)}};
VC=function(a,b,c,d){this.G=a||null;this.g=1;this.o=[];this.B=[];this.C=new rC(null,!0);this.H=b||null;this.J=null!=c?c:null;this.D=d||!1};
Fia=function(a,b){this.g=a;this.map=b;this.context=null};
WC=function(a){g.Ve.call(this,"statevent",a)};
XC=function(a,b){g.Ve.call(this,"timingevent",a);this.size=b};
YC=function(a){g.Ve.call(this,"serverreachability",a)};
bD=function(a){ZC(a);if(3==a.g){var b=a.xk++,c=a.tm.clone();g.im(c,"SID",a.A);g.im(c,"RID",b);g.im(c,"TYPE","terminate");$C(a,c);b=new vC(a,0,a.A,b,void 0);b.Qi=2;b.Pg=lm(c.clone());(new window.Image).src=b.Pg;b.Ik=(0,g.G)();zC(b)}aD(a)};
dD=function(a){a.WF(1,0);a.tm=RC(a,null,a.cq);cD(a)};
ZC=function(a){a.Ig&&(a.Ig.abort(),a.Ig=null);a.uc&&(a.uc.cancel(),a.uc=null);a.ag&&(na.clearTimeout(a.ag),a.ag=null);eD(a);a.Cd&&(a.Cd.cancel(),a.Cd=null);a.Jg&&(na.clearTimeout(a.Jg),a.Jg=null)};
fD=function(a,b){if(0==a.g)throw Error("Invalid operation: sending map when state is closed");a.o.push(new Fia(a.rK++,b));2!=a.g&&3!=a.g||cD(a)};
cD=function(a){a.Cd||a.Jg||(a.Jg=LC((0,g.A)(a.uz,a),0),a.Yj=0)};
iD=function(a,b){if(1==a.g){if(!b){a.xk=Math.floor(1E5*Math.random());var c=a.xk++,d=new vC(a,0,"",c,void 0);d.Kh=null;var e=gD(a),f=a.tm.clone();g.im(f,"RID",c);a.G&&g.im(f,"CVER",a.G);$C(a,f);xC(d,f,e);a.Cd=d;a.g=2}}else 3==a.g&&(b?hD(a,b):0==a.o.length||a.Cd||hD(a))};
hD=function(a,b){var c,d;b?6<a.Ah?(a.o=a.B.concat(a.o),a.B.length=0,c=a.xk-1,d=gD(a)):(c=b.G,d=b.Zh):(c=a.xk++,d=gD(a));var e=a.tm.clone();g.im(e,"SID",a.A);g.im(e,"RID",c);g.im(e,"AID",a.aj);$C(a,e);c=new vC(a,0,a.A,c,a.Yj+1);c.Kh=null;c.setTimeout(Math.round(1E4)+Math.round(1E4*Math.random()));a.Cd=c;xC(c,e,d)};
$C=function(a,b){if(a.gd){var c=a.gd.Tv(a);c&&g.Ib(c,function(a,c){g.im(b,c,a)})}};
gD=function(a){var b=Math.min(a.o.length,1E3),c=["count="+b],d;6<a.Ah&&0<b?(d=a.o[0].g,c.push("ofs="+d)):d=0;for(var e=0;e<b;e++){var f=a.o[e].g,k=a.o[e].map,f=6>=a.Ah?e:f-d;try{Zl(k,function(a,b){c.push("req"+f+"_"+b+"="+(0,window.encodeURIComponent)(a))})}catch(l){c.push("req"+f+"_type="+(0,window.encodeURIComponent)("_badmap"))}}a.B=a.B.concat(a.o.splice(0,b));
return c.join("&")};
jD=function(a){a.uc||a.ag||(a.F=1,a.ag=LC((0,g.A)(a.rz,a),0),a.pi=0)};
lD=function(a){if(a.uc||a.ag||3<=a.pi)return!1;a.F++;a.ag=LC((0,g.A)(a.rz,a),kD(a,a.pi));a.pi++;return!0};
TC=function(a,b,c){a.fo=c;a.Re=b.jg;a.D||dD(a)};
eD=function(a){null!=a.Ch&&(na.clearTimeout(a.Ch),a.Ch=null)};
kD=function(a,b){var c=5E3+Math.floor(1E4*Math.random());a.isActive()||(c*=2);return c*b};
nD=function(a,b){if(2==b||9==b){var c=null;a.gd&&(c=null);var d=(0,g.A)(a.SP,a);c||(c=new g.$l("//www.google.com/images/cleardot.gif"),lm(c));NC(c.toString(),1E4,d)}else BC();mD(a,b)};
mD=function(a,b){a.g=0;a.gd&&a.gd.Uu(a,b);aD(a);ZC(a)};
aD=function(a){a.g=0;a.Re=-1;if(a.gd)if(0==a.B.length&&0==a.o.length)a.gd.up(a);else{var b=g.nb(a.B),c=g.nb(a.o);a.B.length=0;a.o.length=0;a.gd.up(a,b,c)}};
RC=function(a,b,c){var d=g.mm(c);if(""!=d.o)b&&g.bm(d,b+"."+d.o),g.cm(d,d.C);else var e=window.location,d=bda(e.protocol,b?b+"."+e.hostname:e.hostname,e.port,c);a.Vj&&g.Ib(a.Vj,function(a,b){g.im(d,b,a)});
g.im(d,"VER",a.Ah);$C(a,d);return d};
LC=function(a,b){if(!g.ua(a))throw Error("Fn must not be null and must be a function");return na.setTimeout(function(){a()},b)};
BC=function(){oD.dispatchEvent(new WC(oD))};
pD=function(){};
g.qD=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.Qg(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.rD=function(a){g.M.call(this);this.Ed=1;this.A=[];this.B=0;this.g=[];this.o={};this.C=!!a};
Gia=function(a,b,c){g.Of(function(){a.apply(b,c)})};
g.sD=function(a){this.g=a};
tD=function(a){this.g=a};
uD=function(a){this.data=a};
vD=function(a){return!g.t(a)||a instanceof uD?a:new uD(a)};
wD=function(a){this.g=a};
g.xD=function(a){var b=a.creation;a=a.expiration;return!!a&&a<(0,g.G)()||!!b&&b>(0,g.G)()};
g.yD=function(a){this.g=a};
Hia=function(){};
zD=function(){};
AD=function(a){this.g=a};
BD=function(){var a=null;try{a=window.localStorage||null}catch(b){}this.g=a};
CD=function(){var a=null;try{a=window.sessionStorage||null}catch(b){}this.g=a};
DD=function(a,b){this.o=a;this.g=b+"::"};
g.ED=function(a){var b=new BD;return b.isAvailable()?a?new DD(b,a):b:null};
FD=function(a,b){this.Ed=a;this.g=b};
GD=function(a){this.g=[];if(a)a:{var b;if(a instanceof GD){if(b=a.Bb(),a=a.fb(),0>=this.Gc()){for(var c=this.g,d=0;d<b.length;d++)c.push(new FD(b[d],a[d]));break a}}else b=g.Ob(a),a=g.Nb(a);for(d=0;d<b.length;d++)HD(this,b[d],a[d])}};
HD=function(a,b,c){var d=a.g;d.push(new FD(b,c));b=d.length-1;a=a.g;for(c=a[b];0<b;)if(d=b-1>>1,a[d].Ed>c.Ed)a[b]=a[d],b=d;else break;a[b]=c};
ID=function(){GD.call(this)};
JD=function(a,b){this.C=[];this.M=a;this.L=b||null;this.B=this.g=!1;this.A=void 0;this.H=this.N=this.F=!1;this.D=0;this.o=null;this.G=0};
LD=function(a,b,c){a.g=!0;a.A=c;a.B=!b;KD(a)};
ND=function(a){if(a.g){if(!a.H)throw new MD;a.H=!1}};
PD=function(a,b,c){OD(a,b,null,c)};
OD=function(a,b,c,d){a.C.push([b,c,d]);a.g&&KD(a)};
QD=function(a){return(0,g.Sk)(a.C,function(a){return g.ua(a[1])})};
KD=function(a){if(a.D&&a.g&&QD(a)){var b=a.D,c=RD[b];c&&(na.clearTimeout(c.za),delete RD[b]);a.D=0}a.o&&(a.o.G--,delete a.o);for(var b=a.A,d=c=!1;a.C.length&&!a.F;){var e=a.C.shift(),f=e[0],k=e[1],e=e[2];if(f=a.B?k:f)try{var l=f.call(e||a.L,b);g.t(l)&&(a.B=a.B&&(l==b||a.isError(l)),a.A=b=l);if(Rf(b)||"function"===typeof na.Promise&&b instanceof na.Promise)d=!0,a.F=!0}catch(m){b=m,a.B=!0,QD(a)||(c=!0)}}a.A=b;d&&(l=(0,g.A)(a.J,a,!0),d=(0,g.A)(a.J,a,!1),b instanceof JD?(OD(b,l,d),b.N=!0):b.then(l,d));
c&&(b=new SD(b),RD[b.za]=b,a.D=b.za)};
MD=function(){Ca.call(this)};
TD=function(){Ca.call(this)};
SD=function(a){this.za=na.setTimeout((0,g.A)(this.o,this),0);this.g=a};
UD=function(a){Sc(this,a,Iia,null)};
VD=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.XD=function(a){VD(g.WD,arguments)};
g.YD=function(a,b){return a in g.WD?g.WD[a]:b};
g.U=function(a,b,c){b=void 0===b?{}:b;a=(a=a in ZD?ZD[a]:c)||"";c={};for(var d in b)c.yn=d,a=a.replace(new RegExp("\\$"+c.yn,"gi"),function(a){return function(){return b[a.yn]}}(c)),c={yn:c.yn};
return a};
g.$D=function(a){VD(ZD,arguments)};
g.aE=function(){g.$D({YTP_TRANSLATE_MENU_ITEM:"Translate captions",YTP_CONTRIBUTE_MENU_ITEM:"Add subtitles/CC",YTP_ASR_SETTINGS_LABEL:"Automatic Captions",YTP_LANGUAGE_OFF:"Off",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_CLICK_FOR_SETTINGS:"Click $GEAR_ICON for settings"})};
g.cE=function(){return g.bE?{K:"div",ea:["ytp-icon","ytp-icon-cast-desktop-on"]}:{K:"svg",Z:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},O:[{K:"path",Ra:!0,Z:{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"}}]}};
g.dE=function(){return g.bE?{K:"div",ea:["ytp-icon","ytp-icon-chevron-back"]}:{K:"svg",Z:{height:"100%",version:"1.1",viewBox:"0 0 32 32",width:"100%"},O:[{K:"path",Z:{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.eE=function(){return g.bE?{K:"div",ea:["ytp-icon","ytp-icon-chevron-forward"]}:{K:"svg",Z:{height:"100%",version:"1.1",viewBox:"0 0 32 32",width:"100%"},O:[{K:"path",Z:{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"}}]}};
fE=function(){return g.bE?{K:"div",ea:["ytp-icon","ytp-icon-clip-clear"]}:{K:"svg",Z:{height:"100%",version:"1.1",viewBox:"0 0 14 14",width:"100%"},O:[{K:"path",Z:{d:"M14,14 L14,0 L0,0 L0,14 L14,14 Z"}},{K:"path",Z:{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"}}]}};
gE=function(){return g.bE?{K:"div",ea:["ytp-icon","ytp-icon-clip-end"]}:{K:"svg",Z:{height:"100%",version:"1.1",viewBox:"0 0 14 14",width:"100%"},O:[{K:"path",Ra:!0,Z:{d:"M2,14 L5,11 L5,3 L2,0 L9,0 L9,14 L2,14 L2,14 Z",fill:"#eaeaea"}}]}};
hE=function(){return g.bE?{K:"div",ea:["ytp-icon","ytp-icon-clip-start"]}:{K:"svg",Z:{height:"100%",version:"1.1",viewBox:"0 0 14 14",width:"100%"},O:[{K:"path",Ra:!0,Z:{d:"M12,14 L9,11 L9,3 L12,0 L5,0 L5,14 L12,14 Z",fill:"#eaeaea"}}]}};
g.iE=function(){return g.bE?{K:"div",ea:["ytp-icon","ytp-icon-close"]}:{K:"svg",Z:{height:"100%",viewBox:"0 0 24 24",width:"100%"},O:[{K:"path",Z:{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"}}]}};
jE=function(){return g.bE?{K:"div",ea:["ytp-icon","ytp-icon-closed-captioning"]}:{K:"svg",Z:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},O:[{K:"path",Ra:!0,Z:{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"}}]}};
kE=function(){return g.bE?{K:"div",ea:["ytp-icon","ytp-icon-forward-five-seconds"]}:{K:"svg",Z:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},O:[{K:"path",Ra:!0,W:"ytp-svg-fill",Z:{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"}}]}};
lE=function(){return g.bE?{K:"div",ea:["ytp-icon","ytp-icon-link"]}:{K:"svg",Z:{height:"100%",viewBox:"0 0 36 36",width:"100%"},O:[{K:"path",Z:{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"}}]}};
mE=function(){return g.bE?{K:"div",ea:["ytp-icon","ytp-icon-next"]}:{K:"svg",Z:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},O:[{K:"path",Ra:!0,W:"ytp-svg-fill",Z:{d:"M 12,24 20.5,18 12,12 V 24 z M 22,12 v 12 h 2 V 12 h -2 z"}}]}};
nE=function(){return g.bE?{K:"div",ea:["ytp-icon","ytp-icon-pause"]}:{K:"svg",Z:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},O:[{K:"path",Ra:!0,W:"ytp-svg-fill",Z:{d:"M 12,26 16,26 16,10 12,10 z M 21,26 25,26 25,10 21,10 z"}}]}};
oE=function(){return g.bE?{K:"div",ea:["ytp-icon","ytp-icon-play"]}:{K:"svg",Z:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},O:[{K:"path",Ra:!0,W:"ytp-svg-fill",Z:{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"}}]}};
pE=function(){return g.bE?{K:"div",ea:["ytp-icon","ytp-icon-prev"]}:{K:"svg",Z:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},O:[{K:"path",Ra:!0,W:"ytp-svg-fill",Z:{d:"m 12,12 h 2 v 12 h -2 z m 3.5,6 8.5,6 V 12 z"}}]}};
qE=function(){return g.bE?{K:"div",ea:["ytp-icon","ytp-icon-replay"]}:{K:"svg",Z:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},O:[{K:"path",Ra:!0,W:"ytp-svg-fill",Z:{d:"M17,9 C12,9 8,13 8,18 C8,23 12,27 17,27 C19.5,27 21.82,25.95 23.45,24.26 L22.04,22.85 C20.77,24.17 19,25 17,25 C13,25 10,21.86 10,18 C10,14.13 13.13,11 17,11 C20.86,11 24,14 24,18 L21,18 L25,22 L29,18 L26,18 C26,13 22,9 17,9 Z"}}]}};
rE=function(){return g.bE?{K:"div",ea:["ytp-icon","ytp-icon-rewind-five-seconds"]}:{K:"svg",Z:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},O:[{K:"path",Ra:!0,W:"ytp-svg-fill",Z:{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.sE=function(){return g.bE?{K:"div",ea:["ytp-icon","ytp-icon-settings"]}:{K:"svg",Z:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},O:[{K:"path",Ra:!0,Z:{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"}}]}};
tE=function(){return g.bE?{K:"div",ea:["ytp-icon","ytp-icon-stop"]}:{K:"svg",Z:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},O:[{K:"path",Ra:!0,W:"ytp-svg-fill",Z:{d:"M 12,25 19,25 19,11 12,11 z M 19,25 26,25 26,11 19,11 z"}}]}};
uE=function(){return g.bE?{K:"div",ea:["ytp-icon","ytp-icon-volume-high"]}:{K:"svg",Z:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},O:[{K:"path",Ra:!0,Z:{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"}}]}};
vE=function(){return g.bE?{K:"div",ea:["ytp-icon","ytp-icon-volume-low"]}:{K:"svg",Z:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},O:[{K:"path",Ra:!0,Z:{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"}}]}};
wE=function(){return g.bE?{K:"div",ea:["ytp-icon","ytp-icon-volume-muted"]}:{K:"svg",Z:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},O:[{K:"path",Ra:!0,W:"ytp-svg-fill",Z:{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"}}]}};
yE=function(a){a=a.split("");xE.Tp(a,66);xE.Fa(a,71);xE.Tp(a,54);return a.join("")};
g.zE=function(a,b){var c=g.w("yt.logging.errors.log");c?c(a,b,void 0,void 0,void 0):(c=g.YD("ERRORS",[]),c.push([a,b,void 0,void 0,void 0]),g.XD("ERRORS",c))};
AE=function(a){return a&&window.yterr?function(){try{return a.apply(this,arguments)}catch(b){g.zE(b)}}:a};
Jia=function(){if(!BE)return null;var a=BE();return"open"in a?a:null};
g.CE=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.DE=function(a){window.clearInterval(a)};
g.EE=function(a){window.clearTimeout(a)};
g.FE=function(a,b){g.ua(a)&&(a=AE(a));return window.setInterval(a,b)};
g.GE=function(a,b){g.ua(a)&&(a=AE(a));return window.setTimeout(a,b)};
g.HE=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=Ga(e[0]||""),e=Ga(e[1]||"");f in b?g.qa(b[f])?ob(b[f],e):b[f]=[b[f],e]:b[f]=e}}return b};
g.IE=function(a){"?"==a.charAt(0)&&(a=a.substr(1));return g.HE(a)};
JE=function(a,b,c){var d=a.split("#",2);a=d[0];var d=1<d.length?"#"+d[1]:"",e=a.split("?",2);a=e[0];var e=g.IE(e[1]||""),f;for(f in b)if(c||!Qb(e,f))e[f]=b[f];return g.Gg(a,e)+d};
g.KE=function(a,b){return JE(a,b||{},!1)};
LE=function(a){var b=[];g.Ib(a,function(a,d){var c=g.Fa(d),f;g.qa(a)?f=a:f=[a];(0,g.H)(f,function(a){""==a?b.push(c):b.push(c+"="+g.Fa(a))})});
return b.join("&")};
ME=function(){var a;a||(a=window.document.location.href);a=g.ug(a)[1]||null;return null!==a&&"https"==a};
NE=function(a){var b;b||(b=window.location.href);var c=g.ug(a)[1]||null,d=g.wg(a);c&&d?(a=g.ug(a),b=g.ug(b),a=a[3]==b[3]&&a[1]==b[1]&&a[4]==b[4]):a=d?g.wg(b)==d&&g.xg(b)==g.xg(a):!0;return a};
g.OE=function(a){return-1!=a.indexOf("?")?(a=(a||"").split("#")[0],a=a.split("?",2),g.IE(1<a.length?a[1]:a[0])):{}};
PE=function(a){a=a.split(",");return a=a.map(function(a){return g.IE(a)})};
g.QE=function(a,b){return JE(a,b||{},!0)};
Kia=function(a,b){b=void 0===b?{}:b;var c=NE(a),d;for(d in RE){var e=g.YD(RE[d]),f;if((f=e)&&!(f=c)){var k=a;f=d;var l=g.YD("CORS_HEADER_WHITELIST")||{};f=(k=g.wg(k))?(l=l[k])?g.cb(l,f):!1:!0}f&&(b[d]=e)}return b};
Lia=function(a,b){var c=g.YD("XSRF_FIELD_NAME",void 0),d;b.headers&&(d=b.headers["Content-Type"]);return!b.w0&&(!g.wg(a)||b.withCredentials||g.wg(a)==window.document.location.hostname)&&"POST"==b.method&&(!d||"application/x-www-form-urlencoded"==d)&&!(b.Rb&&b.Rb[c])};
g.TE=function(a,b){var c=b.format||"JSON";b.z0&&(a=window.document.location.protocol+"//"+window.document.location.hostname+(window.document.location.port?":"+window.document.location.port:"")+a);var d=g.YD("XSRF_FIELD_NAME",void 0),e=g.YD("XSRF_TOKEN",void 0),f=b.Rc;f&&(f[d]&&delete f[d],a=g.QE(a,f));var k=b.postBody||"",f=b.Rb;Lia(a,b)&&(f||(f={}),f[d]=e);f&&g.z(k)&&(d=g.IE(k),g.$b(d,f),k=b.Hz&&"JSON"==b.Hz?JSON.stringify(d):g.Dg(d));var l=!1,m,n=SE(a,function(a){if(!l){l=!0;m&&g.EE(m);var d=g.CE(a),
e=null;if(d||400<=a.status&&500>a.status)e=Mia(c,a,b.v0);if(d)a:if(204==a.status)d=!0;else{switch(c){case "XML":d=0==(0,window.parseInt)(e&&e.return_code,10);break a;case "RAW":d=!0;break a}d=!!e}var e=e||{},f=b.context||na;d?b.Lb&&b.Lb.call(f,a,e):b.onError&&b.onError.call(f,a,e);b.ud&&b.ud.call(f,a,e)}},b.method,k,b.headers,b.responseType,b.withCredentials);
b.Xc&&0<b.timeout&&(m=g.GE(function(){l||(l=!0,n.abort(),g.EE(m),b.Xc.call(b.context||na,n))},b.timeout));
return n};
Mia=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=Ic(a));break;case "XML":if(b=(b=b.responseXML)?Nia(b):null)d={},(0,g.H)(b.getElementsByTagName("*"),function(a){d[a.tagName]=Oia(a)})}c&&UE(d);
return d};
UE=function(a){if(g.va(a))for(var b in a)"html_content"==b||Ea(b,"_html")?a[b]=Qd(qd("HTML that is escaped and sanitized server-side and passed through yt.net.ajax"),a[b]):UE(a[b])};
Nia=function(a){return a?(a=("responseXML"in a?a.responseXML:a).getElementsByTagName("root"))&&0<a.length?a[0]:null:null};
Oia=function(a){var b="";(0,g.H)(a.childNodes,function(a){b+=a.nodeValue});
return b};
g.VE=function(a,b){b.method="POST";b.Rb||(b.Rb={});g.TE(a,b)};
SE=function(a,b,c,d,e,f,k){function l(){4==(m&&"readyState"in m?m.readyState:0)&&b&&AE(b)(m)}
c=void 0===c?"GET":c;d=void 0===d?"":d;var m=Jia();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;if(e=Kia(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};
XE=function(){return WE("android")&&WE("chrome")&&!(WE("trident/")||WE("edge/"))};
g.YE=function(){return WE("cobalt")};
ZE=function(){return WE("(ps3; leanback shell)")||WE("ps3")&&g.YE()};
$E=function(){return WE("(ps4; leanback shell)")||WE("ps4")&&g.YE()};
aF=function(){return g.YE()&&(WE("ps4 vr")||WE("ps4 pro vr"))};
bF=function(){var a=/WebKit\/([0-9]+)/.exec(g.Gb);return!!(a&&600<=(0,window.parseInt)(a[1],10))};
dF=function(){return g.cF&&WE("crkey")};
eF=function(){return WE("nintendo wiiu")};
fF=function(){return WE("iemobile")||WE("windows phone")&&WE("edge")};
gF=function(){return g.En&&WE("version/")};
WE=function(a){var b=g.Gb;return b?0<=b.toLowerCase().indexOf(a):!1};
g.hF=function(a,b,c){a&&(c&&!g.YE()?a&&(a=g.pe("IFRAME",{src:'javascript:"data:text/html,<body><img src=\\"'+a+'\\"></body>"',style:"display:none"}),g.ae(a).body.appendChild(a)):g.YD("USE_NET_AJAX_FOR_PING_TRANSPORT",!1)?SE(a,b):Pia(a,b))};
Pia=function(a,b){var c=new window.Image,d=""+Qia++;iF[d]=c;c.onload=c.onerror=function(){b&&iF[d]&&b();delete iF[d]};
c.src=a};
kF=function(a,b){var c=Wb(b);return new g.Vf(function(b,e){c.Lb=function(a){g.CE(a)?b(a):e(new jF("Request failed, status="+a.status,"net.badstatus",a))};
c.onError=function(a){e(new jF("Unknown request error","net.unknown",a))};
c.Xc=function(a){e(new jF("Request timed out","net.timeout",a))};
g.TE(a,c)})};
jF=function(a,b,c){Ca.call(this,a+", errorCode="+b);this.errorCode=b;this.g=c;this.name="PromiseAjaxError"};
lF=function(a,b,c,d){function e(d,l,m){return g.eg(d,function(d){return 0>=l||403===d.g.status?$f(new jF("Request retried too many times","net.retryexhausted",d.g)):f(m).then(function(){return e(kF(a,b),l-1,Math.pow(2,c-l+1)*m)})})}
function f(a){return new g.Vf(function(b){(0,window.setTimeout)(b,a)})}
return e(kF(a,b),c-1,d)};
mF=function(a){Ca.call(this,a.message||a.description||a.name);this.o=a instanceof Ria&&a.errorCode==Sia.TIMEOUT;this.A=a instanceof jg};
nF=function(){Ca.call(this,"Biscotti ID is missing from server")};
oF=function(a,b){this.o=a;this.g=b};
tF=function(){try{var a=g.w("yt.ads.biscotti.getId_")||g.w("yt.www.ads.biscotti.getId_"),b;if(a)b=a();else{if(!pF){var c=(0,g.A)(qF,na,2);pF=g.eg(kF("//googleads.g.doubleclick.net/pagead/id",rF).then(sF),c)}b=pF}return b}catch(d){return $f(d)}};
sF=function(a){a=a.responseText;if(!g.Da(a,")]}'"))throw new nF;a=JSON.parse(a.substr(4)).id;uF(a);pF=new oF(a);vF(18E5,2);return a};
qF=function(a,b){var c=new mF(b);uF("");pF=new oF(void 0,c);0<a&&vF(12E4,a-1);throw c;};
vF=function(a,b){g.GE(function(){var a=(0,g.A)(qF,na,b);g.eg(kF("//googleads.g.doubleclick.net/pagead/id",rF).then(sF,a),g.y)},a)};
uF=function(a){g.u("yt.ads.biscotti.lastId_",a,void 0)};
g.xF=function(a){return wF[a]||(wF[a]=String(a).replace(/\-([a-z])/g,function(a,c){return c.toUpperCase()}))};
g.yF=function(a,b){return a?a.dataset?a.dataset[g.xF(b)]:a.getAttribute("data-"+b):null};
g.zF=function(a,b,c){a&&(a.dataset?a.dataset[g.xF(b)]=String(c):a.setAttribute("data-"+b,c))};
AF=function(a,b){var c;(0,g.Sk)(a,function(a){c=b[a];return!!c});
return c};
CF=function(a,b){if(a in b)return b[a];var c=BF+a.charAt(0).toUpperCase()+a.substr(1);if(c in b)return b[c]};
DF=function(){return!!AF(["fullscreenEnabled","webkitFullscreenEnabled","mozFullScreenEnabled","msFullscreenEnabled"],window.document)};
g.EF=function(){var a=AF(["fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement"],window.document);return a?a:null};
FF=function(a){var b;DF()?g.EF()==a&&(b=window.document):b=a;b&&(a=AF(["exitFullscreen","webkitExitFullscreen","mozCancelFullScreen","msExitFullscreen"],b))&&a.call(b)};
Tia=function(){var a=window.document;return g.Za(["fullscreenerror","webkitfullscreenerror","mozfullscreenerror","MSFullscreenError"],function(b){return"on"+b.toLowerCase()in a})};
GF=function(a){return g.Za(["fullscreenchange","webkitfullscreenchange","mozfullscreenchange","MSFullscreenChange"],function(b){return"on"+b.toLowerCase()in a})};
HF=function(a){this.type="";this.state=this.source=this.data=this.currentTarget=this.relatedTarget=this.target=null;this.charCode=this.keyCode=0;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 Uia||(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.g=a.pageX;this.o=a.pageY}};
IF=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.o=a.clientY+b}};
Via=function(a,b,c,d){d=void 0===d?!1: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 Rb(JF,function(e){return e[0]==a&&e[1]==b&&e[2]==c&&e[4]==!!d})};
g.LF=function(a,b,c,d){d=void 0===d?!1:d;if(!a||!a.addEventListener&&!a.attachEvent)return"";var e=Via(a,b,c,d);if(e)return e;var e=++KF.count+"",f=!("mouseenter"!=b&&"mouseleave"!=b||!a.addEventListener||"onmouseenter"in window.document),k;k=f?function(d){d=new HF(d);if(!g.Me(d.relatedTarget,function(b){return b==a},!0))return d.currentTarget=a,d.type=b,c.call(a,d)}:function(b){b=new HF(b);
b.currentTarget=a;return c.call(a,b)};
k=AE(k);a.addEventListener?("mouseenter"==b&&f?b="mouseover":"mouseleave"==b&&f?b="mouseout":"mousewheel"==b&&"MozBoxSizing"in window.document.documentElement.style&&(b="MozMousePixelScroll"),a.addEventListener(b,k,d)):a.attachEvent("on"+b,k);JF[e]=[a,b,c,k,d];return e};
g.MF=function(a){a&&("string"==typeof a&&(a=[a]),(0,g.H)(a,function(a){if(a in JF){var b=JF[a],d=b[0],e=b[1],f=b[3],b=b[4];d.removeEventListener?d.removeEventListener(e,f,b):d.detachEvent&&d.detachEvent("on"+e,f);delete JF[a]}}))};
g.NF=function(a){a=a||window.event;a=a.target||a.srcElement;3==a.nodeType&&(a=a.parentNode);return a};
g.OF=function(a){a=a||window.event;return a.keyCode?a.keyCode:a.which};
PF=function(a){a=a||window.event;var b=a.pageX,c=a.pageY;window.document.body&&window.document.documentElement&&(g.ta(b)||(b=a.clientX+window.document.body.scrollLeft+window.document.documentElement.scrollLeft),g.ta(c)||(c=a.clientY+window.document.body.scrollTop+window.document.documentElement.scrollTop));return new g.Vd(b,c)};
QF=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};
RF=function(a){a=a||window.event;return a.path&&a.path.length?a.path[0]:g.NF(a)};
g.SF=function(a){a=a||window.event;return!1===a.returnValue||a.gx&&a.gx()};
g.TF=function(a,b,c){var d;return d=g.LF(a,b,function(){g.MF(d);c.apply(a,arguments)},!1)};
g.UF=function(a){a=a||window.event;a.returnValue=!1;a.preventDefault&&a.preventDefault()};
g.VF=function(a){this.o=a||window;this.g=[]};
g.WF=function(a){g.MF(a.g);a.g.length=0};
XF=function(a){g.M.call(this);this.g=[];this.o=a};
YF=function(a){for(;a.g.length;){var b=a.g.pop();b.target.removeEventListener(b.name,b.cg,!1)}};
g.ZF=function(){g.M.call(this);this.aa=new g.rD;g.N(this,this.aa)};
g.aG=function(a,b,c,d){g.ZF.call(this);this.A=!!b;this.D=a;this.H=c||a;this.G=!!d;this.g=new XF(this);g.N(this,this.g);this.C=this.F=null;this.B=this.o=!1;b&&(g.me&&a.setAttribute("draggable","true"),a.style.touchAction="none");$F(this)};
bG=function(a,b,c){a.g.U(a.H,b,c,void 0,!a.A)};
$F=function(a){a.C=null;a.F=null;bG(a,cG("over"),a.Ix);bG(a,"touchstart",a.nr);a.A&&bG(a,cG("down"),a.jK)};
dG=function(a,b){for(var c=0;c<b.changedTouches.length;c++){var d=b.changedTouches[c];if(d.identifier==a.F)return d}return null};
cG=function(a){return window.navigator.msPointerEnabled?"MSPointer"+a.charAt(0).toUpperCase()+a.substr(1):"mouse"+a};
g.eG=function(a){return g.YD("EXPERIMENT_FLAGS",{})[a]};
fG=function(a){a=a||{};this.url=a.url||"";this.urlV9As2=a.url_v9as2||"";this.args=a.args||Wb(Wia);this.assets=a.assets||{};this.attrs=a.attrs||Wb(Xia);this.params=a.params||Wb(Yia);this.minVersion=a.min_version||"8.0.0";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||{}};
Zia=function(a){a instanceof fG||(a=new fG(a));return a};
gG=function(a){for(var b=0;b<a.length;b++){var c=a[b];"send_follow_on_ping_action"==c.name&&c.data&&c.data.follow_on_url&&g.hF(c.data.follow_on_url)}};
g.hG=function(a,b,c){this.g=a;this.A=b;this.o=c};
g.mG=function(a,b,c){var d=g.iG();if(d){var e=d.subscribe(a,function(){var d=arguments,k;k=function(){g.jG[e]&&b.apply(c||window,d)};
try{kG[a]?k():g.GE(k,0)}catch(l){g.zE(l)}},c);
g.jG[e]=!0;g.lG[a]||(g.lG[a]=[]);g.lG[a].push(e);return e}return 0};
g.nG=function(a){var b=g.iG();b&&(g.ta(a)?a=[a]:g.z(a)&&(a=[(0,window.parseInt)(a,10)]),(0,g.H)(a,function(a){b.unsubscribeByKey(a);delete g.jG[a]}))};
g.iG=function(){return g.w("ytPubsubPubsubInstance")};
g.oG=function(a,b){var c=g.iG();return c?c.publish.apply(c,arguments):!1};
g.pG=function(a,b){var c=g.mG(a,function(a){b.apply(void 0,arguments);g.nG(c)},void 0)};
g.qG=function(a,b){kG[a]=!0;var c=g.iG();c&&c.publish.apply(c,arguments);kG[a]=!1};
g.wG=function(a,b){rG[a.endpoint]=b;var c;if(a.dm){c=a.dm;var d={};c.videoId?d.videoId=c.videoId:c.playlistId&&(d.playlistId=c.playlistId);sG[a.dm.token]=d;c=tG(a.endpoint,a.dm.token)}else c=tG(a.endpoint);c.push(a.Gz);d=Number(g.eG("web_logging_max_batch")||0)||20;c.length>=d?uG():vG()};
uG=function(){g.EE(xG);if(!g.Tb(yG)){for(var a in yG){var b=zG[a];if(!b){var c=rG[a];if(!c)continue;b=new c;zG[a]=b}var c=void 0,d=a,e=$ia[d];for(c in yG[d]){var f=b.o();f[e]=tG(d,c);f.requestTimeMs=Math.round((0,g.AG)());var k=sG[c];if(k)a:{var l,m=f,n=c;if(k.videoId)l="VIDEO";else if(k.playlistId)l="PLAYLIST";else break a;m.credentialTransferTokenTargetId=k;m.context=m.context||{};m.context.user=m.context.user||{};m.context.user.credentialTransferTokens=[{token:n,scope:l}]}delete sG[c];b.A(d,f,
{})}delete yG[a]}g.Tb(yG)||vG()}};
vG=function(){g.EE(xG);xG=g.GE(uG,g.YD("LOGGING_BATCH_TIMEOUT",1E4))};
tG=function(a,b){b||(b="");yG[a]=yG[a]||{};yG[a][b]=yG[a][b]||[];return yG[a][b]};
CG=function(){if(null==g.w("_lact",window)){var a=(0,window.parseInt)(g.YD("LACT"),10),a=(0,window.isFinite)(a)?(0,g.G)()-Math.max(a,0):-1;g.u("_lact",a,window);g.u("_fact",a,window);-1==a&&BG();g.LF(window.document,"keydown",BG);g.LF(window.document,"keyup",BG);g.LF(window.document,"mousedown",BG);g.LF(window.document,"mouseup",BG);g.mG("page-mouse",BG);g.mG("page-scroll",BG);g.mG("page-resize",BG)}};
BG=function(){null==g.w("_lact",window)&&(CG(),g.w("_lact",window));var a=(0,g.G)();g.u("_lact",a,window);-1==g.w("_fact",window)&&g.u("_fact",a,window);g.oG("USER_ACTIVE")};
g.DG=function(){var a=g.w("_lact",window);return null==a?-1:Math.max((0,g.G)()-a,0)};
FG=function(a,b,c){var d=g.EG,e={};e.eventTimeMs=Math.round(c||(0,g.AG)());e[a]=b;e.context={lastActivityMs:String(g.DG())};g.wG({endpoint:"log_event",Gz:e,dm:void 0},d)};
GG=function(a){a={client:{hl:a.Rq,gl:a.Qq,clientName:a.Pq,clientVersion:a.innertubeContextClientVersion}};g.YD("DELEGATED_SESSION_ID")&&(a.user={onBehalfOfUser:g.YD("DELEGATED_SESSION_ID")});return a};
HG=function(){return{apiaryHost:g.YD("APIARY_HOST",void 0),hp:g.YD("APIARY_HOST_FIRSTPARTY",void 0),gapiHintOverride:!!g.YD("GAPI_HINT_OVERRIDE",void 0),gapiHintParams:g.YD("GAPI_HINT_PARAMS",void 0),innertubeApiKey:g.YD("INNERTUBE_API_KEY",void 0),innertubeApiVersion:g.YD("INNERTUBE_API_VERSION",void 0),Pq:g.YD("INNERTUBE_CONTEXT_CLIENT_NAME","WEB"),innertubeContextClientVersion:g.YD("INNERTUBE_CONTEXT_CLIENT_VERSION",void 0),Rq:g.YD("INNERTUBE_CONTEXT_HL",void 0),Qq:g.YD("INNERTUBE_CONTEXT_GL",
void 0),xhrApiaryHost:g.YD("XHR_APIARY_HOST",void 0),Wm:g.YD("INNERTUBE_HOST_OVERRIDE",void 0)}};
IG=function(a,b,c){c.context&&c.context.capabilities&&(c=c.context.capabilities,c.snapshot||c.golden)&&(a="vix");return"/youtubei/"+a+"/"+b};
g.EG=function(a){this.g=a||HG()};
g.JG=function(){return!!g.w("yt.scheduler.instance")};
g.KG=function(a,b,c){(0,window.isNaN)(c)&&(c=void 0);var d=g.w("yt.scheduler.instance.addJob");return d?d(a,b,c):void 0===c?(a(),window.NaN):g.GE(a,c||0)};
g.LG=function(a){if(!(0,window.isNaN)(a)){var b=g.w("yt.scheduler.instance.cancelJob");b?b(a):g.EE(a)}};
MG=function(a){var b=g.w("yt.scheduler.instance.setPriorityThreshold");b&&b(a)};
OG=function(a,b){var c=Object.keys(a).join("");NG("info_"+c+"_"+b)||(a.clientActionNonce=b,FG("latencyActionInfo",a))};
NG=function(a){PG[a]=PG[a]||{count:0};var b=PG[a];b.count++;b.time=(0,g.AG)();QG||(QG=g.KG(aja,0,5E3));if(10<b.count){if(11==b.count){b=Error("CSI data exceeded logging limit with key: "+a);a={name:g.YD("INNERTUBE_CONTEXT_CLIENT_NAME",1),version:g.YD("INNERTUBE_CONTEXT_CLIENT_VERSION",void 0)};var c=window&&window.yterr||void 0||!1;if(b&&c&&!(5<=RG)){var c=b.stacktrace,d=b.columnNumber;var e=g.w("window.location.href");if(g.z(b))b={message:b,name:"Unknown error",lineNumber:"Not available",fileName:e,
stack:"Not available"};else{var f,k,l=!1;try{f=b.lineNumber||b.line||"Not available"}catch(q){f="Not available",l=!0}try{k=b.fileName||b.filename||b.sourceURL||na.$googDebugFname||e}catch(q){k="Not available",l=!0}b=!l&&b.lineNumber&&b.fileName&&b.stack&&b.message&&b.name?b:{message:b.message||"Not available",name:b.name||"UnknownError",lineNumber:f,fileName:k,stack:b.stack||"Not available"}}c=c||b.stack;f=b.lineNumber.toString();(0,window.isNaN)(f)||(0,window.isNaN)(d)||(f=f+":"+d);if(!(SG[b.message]||
0<=c.indexOf("/YouTubeCenter.js")||0<=c.indexOf("/mytube.js"))){k=b.fileName;f={Rc:{a:"logerror",t:"jserror",type:b.name,msg:b.message.substr(0,1E3),line:f,level:"ERROR"},Rb:{url:g.YD("PAGE_NAME",window.location.href),file:k},method:"POST"};c&&(f.Rb.stack=c);for(var m in a)f.Rb["client."+m]=a[m];if(m=g.YD("LATEST_ECATCHER_SERVICE_TRACKING_PARAMS",void 0))for(var n in m)f.Rb[n]=m[n];g.TE("/error_204",f);SG[b.message]=!0;RG++}}}return!0}return!1};
aja=function(){var a=(0,g.AG)(),b;for(b in PG)6E4<a-PG[b].time&&delete PG[b];QG=0};
g.VG=function(a,b,c){var d=c&&0<c?c:0;c=d?(0,g.G)()+1E3*d:0;if((d=d?g.TG:UG)&&window.JSON){g.z(b)||(b=JSON.stringify(b,void 0));try{d.set(a,b,c)}catch(e){d.remove(a)}}};
g.WG=function(a){if(!UG&&!g.TG||!window.JSON)return null;var b;try{b=UG.get(a)}catch(c){}if(!g.z(b))try{b=g.TG.get(a)}catch(c){}if(!g.z(b))return null;try{b=JSON.parse(b,void 0)}catch(c){}return b};
g.XG=function(a){UG&&UG.remove(a);g.TG&&g.TG.remove(a)};
g.YG=function(){var a=g.YD("client-screen-nonce",void 0);a||(a=g.YD("EVENT_ID",void 0));return a};
bja=function(a,b){this.action=a;this.params=b||{}};
ZG=function(a){this.app=this.name=this.id="";this.type="REMOTE_CONTROL";this.avatar=this.username="";this.A=!1;this.capabilities=new Cm;this.experiments=new Cm;this.theme="u";new Tl;this.g=this.o="";if(a){this.id=a.id||a.name;this.name=a.name;this.app=a.app;this.type=a.type||"REMOTE_CONTROL";this.username=a.user||"";this.avatar=a.userAvatarUri||"";this.theme=a.theme||"u";var b=a.capabilities||"";this.capabilities.clear();Bm(this.capabilities,(0,g.Ae)(b.split(","),g.ya(waa,cja)));b=a.experiments||
"";this.experiments.clear();Bm(this.experiments,b.split(","));this.o=a.remoteControllerUrl||"";this.g=a.localChannelEncryptionKey||""}};
aH=function(a,b){g.M.call(this);this.o=new g.Jt(this.C,0,this);g.N(this,this.o);this.A=this.g=0;if(g.ua(a))b&&(a=(0,g.A)(a,b));else if(a&&g.ua(a.handleEvent))a=(0,g.A)(a.handleEvent,a);else throw Error("Invalid listener argument");this.B=a;$G(this)};
$G=function(a){a.o.stop();a.g=5E3+2E4*Math.random()};
bH=function(a,b,c){this.L=a;this.D=b;this.A=new g.rD;this.o=new aH(this.vQ,this);this.g=this.bb=null;this.J=!1;this.C=null;this.H="";this.G=this.B=0;this.F=[];this.M=c||!1};
dja=function(a){return{firstTestResults:[""],secondTestResults:!a.g.fo,sessionId:a.g.A,arrayId:a.g.aj}};
cH=function(a,b){a.G=b||0;a.o.stop();a.g&&(3==a.g.g&&iD(a.g),bD(a.g));a.G=0};
dH=function(a){return!!a.g&&3==a.g.g};
eja=function(a,b){(a.D.loungeIdToken=b)||a.o.stop()};
fja=function(){var a=eH;fH();gH.push(a);hH(gH)};
g.iH=function(a,b){fH();var c=gH,d=gja(a,String(b));g.db(c)?hja(d):(hH(c),(0,g.H)(c,function(a){a(d)}))};
fH=function(){gH||(gH=g.w("yt.mdx.remote.debug.handlers_")||[],g.u("yt.mdx.remote.debug.handlers_",gH,void 0))};
hja=function(a){var b=(jH+1)%50;jH=b;kH[b]=a;lH||(lH=49==b)};
hH=function(a){var b=kH;if(b[0]){var c=jH,d=lH?c:-1;do{var d=(d+1)%50,e=b[d];(0,g.H)(a,function(a){a(e)})}while(d!=c);
kH=Array(50);jH=-1;lH=!1}};
gja=function(a,b){var c=((0,g.G)()-ija)/1E3;c.toFixed&&(c=c.toFixed(3));var d=[];d.push("[",c+"s","] ");d.push("[","yt.mdx.remote","] ");d.push(a+": "+b,"\n");return d.join("")};
mH=function(a){a=a||{};this.name=a.name||"";this.id=a.id||a.screenId||"";this.token=a.token||a.loungeToken||"";this.uuid=a.uuid||a.dialId||""};
g.nH=function(a,b){return!!b&&(a.id==b||a.uuid==b)};
oH=function(a){return{name:a.name,screenId:a.id,loungeToken:a.token,dialId:a.uuid}};
jja=function(a){return new mH(a)};
pH=function(a){return g.qa(a)?(0,g.I)(a,jja):[]};
g.qH=function(a){return a?'{name:"'+a.name+'",id:'+a.id.substr(0,6)+"..,token:"+(a.token?".."+a.token.slice(-6):"-")+",uuid:"+(a.uuid?".."+a.uuid.slice(-6):"-")+"}":"null"};
rH=function(a){return g.qa(a)?"["+g.I(a,g.qH).join(",")+"]":"null"};
g.sH=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(a){var b=16*Math.random()|0;return("x"==a?b:b&3|8).toString(16)})};
g.tH=function(a,b){return g.Za(a,function(a){return a||b?!a!=!b?!1:a.id==b.id:!0})};
g.uH=function(a,b){return g.Za(a,function(a){return g.nH(a,b)})};
g.vH=function(a){g.ZF.call(this);this.F=a;this.g=[]};
wH=function(a,b){var c=a.get(b.uuid)||a.get(b.id);if(c){var d=c.name;c.id=b.id||c.id;c.name=b.name;c.token=b.token;c.uuid=b.uuid||c.uuid;return c.name!=d}a.g.push(b);return!0};
kja=function(a,b){var c=a.g.length!=b.length;a.g=(0,g.Ae)(a.g,function(a){return!!g.tH(b,a)});
for(var d=0,e=b.length;d<e;d++)c=wH(a,b[d])||c;return c};
lja=function(a,b){var c=a.g.length;a.g=(0,g.Ae)(a.g,function(a){return!(a||b?!a!=!b?0:a.id==b.id:1)});
return a.g.length<c};
xH=function(a,b,c,d){g.ZF.call(this);this.F=a;this.D=b;this.B=c;this.C=d;this.A=0;this.g=null;this.o=window.NaN};
g.CH=function(){var a=yH(),b=g.zH();g.AH()&&Ab(a,b);a=mja(a);if(g.db(a))try{BH.remove("remote_sid","/","youtube.com")}catch(c){}else try{BH.set("remote_sid",a.join(","),-1,"/","youtube.com")}catch(c){}};
yH=function(){var a=g.WG("yt-remote-connected-devices")||[];g.xb(a);return a};
mja=function(a){if(g.db(a))return[];var b=a[0].indexOf("#"),c=-1==b?a[0]:a[0].substring(0,b);return(0,g.I)(a,function(a,b){return 0==b?a:a.substring(c.length)})};
DH=function(a){g.VG("yt-remote-connected-devices",a,86400)};
g.zH=function(){if(EH)return EH;var a=g.WG("yt-remote-device-id");a||(a=g.sH(),g.VG("yt-remote-device-id",a,31536E3));for(var b=yH(),c=1,d=a;g.cb(b,d);)c++,d=a+"#"+c;return EH=d};
FH=function(){return g.WG("yt-remote-session-browser-channel")};
g.AH=function(){return g.WG("yt-remote-session-screen-id")};
nja=function(a){5<a.length&&(a=a.slice(a.length-5));var b=(0,g.I)(GH(),function(a){return a.loungeToken}),c=(0,g.I)(a,function(a){return a.loungeToken});
(0,g.Qr)(c,function(a){return!g.cb(b,a)})&&HH();
g.VG("yt-remote-local-screens",a,31536E3)};
GH=function(){return g.WG("yt-remote-local-screens")||[]};
HH=function(){g.VG("yt-remote-lounge-token-expiration",!0,86400)};
oja=function(a,b){g.VG("yt-remote-session-browser-channel",a);g.VG("yt-remote-session-screen-id",b);var c=yH(),d=g.zH();g.cb(c,d)||c.push(d);DH(c);g.CH()};
g.IH=function(a){a||(g.XG("yt-remote-session-screen-id"),g.XG("yt-remote-session-video-id"));g.CH();a=yH();g.jb(a,g.zH());DH(a)};
g.KH=function(){if(!JH){var a=g.ED();a&&(JH=new g.sD(a))}return JH?!!JH.get("yt-remote-use-staging-server"):!1};
MH=function(a){g.vH.call(this,"LocalScreenService");this.A=a;this.o=window.NaN;LH(this);this.info("Initializing with "+rH(this.g))};
NH=function(a){if(a.g.length){var b=(0,g.I)(a.g,function(a){return a.id}),c=a.A.Ih("/pairing/get_lounge_token_batch");
a.A.Ts(c,{screen_ids:b.join(",")},(0,g.A)(a.AG,a),(0,g.A)(a.zG,a))}};
LH=function(a){var b=pH(GH()),b=(0,g.Ae)(b,function(a){return!a.uuid});
return kja(a,b)};
OH=function(a,b){nja((0,g.I)(a.g,oH));b&&HH()};
QH=function(a,b){g.ZF.call(this);this.D=b;for(var c=g.WG("yt-remote-online-screen-ids")||"",c=c?c.split(","):[],d={},e=this.D(),f=0,k=e.length;f<k;++f){var l=e[f].id;d[l]=g.cb(c,l)}this.g=d;this.C=a;this.A=this.B=window.NaN;this.o=null;PH("Initialized with "+g.Lc(this.g))};
RH=function(a,b,c){var d=a.C.Ih("/pairing/get_screen_availability");a.C.Ts(d,{lounge_token:b.token},(0,g.A)(function(a){a=a.screens||[];for(var d=0,e=a.length;d<e;++d)if(a[d].loungeToken==b.token){c("online"==a[d].status);return}c(!1)},a),(0,g.A)(function(){c(!1)},a))};
SH=function(a,b){var c;a:if(g.Lb(b)!=g.Lb(a.g))c=!1;else{c=g.Ob(b);for(var d=0,e=c.length;d<e;++d)if(!a.g[c[d]]){c=!1;break a}c=!0}c||(PH("Updated online screens: "+g.Lc(a.g)),a.g=b,a.V("screenChange"));pja(a)};
TH=function(a){(0,window.isNaN)(a.A)||g.EE(a.A);a.A=g.GE((0,g.A)(a.Tr,a),0<a.B&&a.B<(0,g.G)()?2E4:1E4)};
PH=function(a){g.iH("OnlineScreenService",a)};
UH=function(a){var b={};(0,g.H)(a.D(),function(a){a.token?b[a.token]=a.id:this.jc("Requesting availability of screen w/o lounge token.")});
return b};
pja=function(a){a=g.Ob(g.Jb(a.g,function(a){return a}));
g.xb(a);a.length?g.VG("yt-remote-online-screen-ids",a.join(","),60):g.XG("yt-remote-online-screen-ids")};
g.VH=function(a){g.vH.call(this,"ScreenService");this.D=a;this.o=this.A=null;this.B=[];this.C={};qja(this)};
XH=function(a,b,c,d,e,f){a.info("getAutomaticScreenByIds "+c+" / "+b);c||(c=a.C[b]);var k=a.Td();if(k=(c?g.uH(k,c):null)||g.uH(k,b)){k.uuid=b;var l=WH(a,k);RH(a.o,l,function(a){e(a?l:null)})}else c?rja(a,c,(0,g.A)(function(a){var f=WH(this,new mH({name:d,
screenId:c,loungeToken:a,dialId:b||""}));RH(this.o,f,function(a){e(a?f:null)})},a),f):e(null)};
YH=function(a,b){for(var c=0,d=a.g.length;c<d;++c)if(a.g[c].name==b)return a.g[c];return null};
rja=function(a,b,c,d){a.info("requestLoungeToken_ for "+b);var e={Rb:{screen_ids:b},method:"POST",context:a,Lb:function(a,e){var f=e&&e.screens||[];f[0]&&f[0].screenId==b?c(f[0].loungeToken):d(Error("Missing lounge token in token response"))},
onError:function(){d(Error("Request screen lounge token failed"))}};
g.TE(a.D.Ih("/pairing/get_lounge_token_batch"),e)};
ZH=function(a){a.g=a.A.Td();var b=a.C,c={},d;for(d in b)c[b[d]]=d;b=0;for(d=a.g.length;b<d;++b){var e=a.g[b];e.uuid=c[e.id]||""}a.info("Updated manual screens: "+rH(a.g))};
qja=function(a){$H(a);a.A=new MH(a.D);a.A.subscribe("screenChange",(0,g.A)(a.PG,a));ZH(a);a.B=pH(g.WG("yt-remote-automatic-screen-cache")||[]);$H(a);a.info("Initializing automatic screens: "+rH(a.B));a.o=new QH(a.D,(0,g.A)(a.Td,a,!0));a.o.subscribe("screenChange",(0,g.A)(function(){this.V("onlineScreenChange")},a))};
WH=function(a,b){var c=a.get(b.id);c?(c.uuid=b.uuid,b=c):((c=g.uH(a.B,b.uuid))?(c.id=b.id,c.token=b.token,b=c):a.B.push(b),g.VG("yt-remote-automatic-screen-cache",(0,g.I)(a.B,oH)));$H(a);a.C[b.uuid]=b.id;g.VG("yt-remote-device-id-map",a.C,31536E3);return b};
$H=function(a){a.C=g.WG("yt-remote-device-id-map")||{}};
aI=function(a,b,c){g.ZF.call(this);this.M=c;this.H=a;this.o=b;this.A=null};
bI=function(a,b){g.iH(a.M,b)};
dI=function(a,b){aI.call(this,a,b,"CastSession");this.g=null;this.B=0;this.D=(0,g.A)(this.EQ,this);this.C=(0,g.A)(this.OO,this);this.B=g.GE((0,g.A)(function(){cI(this,null)},this),12E4)};
sja=function(a){a.info("sendYoutubeMessage_: getMdxSessionStatus "+g.Lc(void 0));var b={type:"getMdxSessionStatus"};a.g?a.g.sendMessage("urn:x-cast:com.google.youtube.mdx",b,g.y,(0,g.A)(function(){bI(this,"Failed to send message: getMdxSessionStatus.")},a)):bI(a,"Sending yt message without session: "+g.Lc(b))};
cI=function(a,b){g.EE(a.B);if(b){if(a.info("onConnectedScreenId_: Received screenId: "+b),!a.A||a.A.id!=b){var c=(0,g.A)(a.wn,a),d=(0,g.A)(a.Wd,a);a.cw(b,c,d,5)}}else a.Wd(Error("Waiting for session status timed out."))};
eI=function(a,b){aI.call(this,a,b,"DialSession");this.B=this.G=null;this.J="";this.C=null;this.F=g.y;this.D=window.NaN;this.L=(0,g.A)(this.HQ,this);this.g=g.y};
fI=function(a){a.g=a.H.aB(a.J,a.o.label,a.o.friendlyName,(0,g.A)(function(a){this.g=g.y;this.wn(a)},a),(0,g.A)(function(a){this.g=g.y;
this.Wd(a)},a))};
gI=function(a){var b={};b.pairingCode=a.J;if(a.C){var c=a.C.currentTime||0;b.v=a.C.videoId;b.t=c}g.KH()&&(b.env_useStageMdx=1);return g.Dg(b)};
hI=function(a,b){aI.call(this,a,b,"ManualSession");this.g=g.GE((0,g.A)(this.bj,this,null),150)};
g.iI=function(a){g.ZF.call(this);this.o=a;this.g=null;this.C=!1;this.A=[];this.B=(0,g.A)(this.uN,this)};
jI=function(a,b){return b?g.Za(a.A,function(a){return g.nH(b,a.label)},a):null};
kI=function(a){g.iH("Controller",a)};
eH=function(a){window.chrome&&window.chrome.cast&&window.chrome.cast.logMessage&&window.chrome.cast.logMessage(a)};
lI=function(a){return a.C||!!a.A.length||!!a.g};
mI=function(a,b,c){b!=a.g&&(g.Te(a.g),(a.g=b)?(c?a.V("yt-remote-cast2-receiver-resumed",b.o):a.V("yt-remote-cast2-receiver-selected",b.o),b.subscribe("sessionScreen",(0,g.A)(a.pz,a,b)),b.A?a.V("yt-remote-cast2-session-change",b.A):c&&a.g.bj(null)):a.V("yt-remote-cast2-session-change",null))};
nI=function(a){var b=a.o.ZA(),c=a.g&&a.g.o;a=(0,g.I)(b,function(a){c&&g.nH(a,c.label)&&(c=null);var b=a.uuid?a.uuid:a.id,d=jI(this,a);d?(d.label=b,d.friendlyName=a.name):(d=new window.chrome.cast.Receiver(b,a.name),d.receiverType=window.chrome.cast.ReceiverType.CUSTOM);return d},a);
c&&(c.receiverType!=window.chrome.cast.ReceiverType.CUSTOM&&(c=new window.chrome.cast.Receiver(c.label,c.friendlyName),c.receiverType=window.chrome.cast.ReceiverType.CUSTOM),a.push(c));return a};
g.oI=function(a){this.index=-1;this.videoId=this.listId="";this.volume=this.g=-1;this.muted=!1;this.audioTrackId=null;this.A=this.D=0;this.o=null;this.hasNext=this.Af=!1;this.J=this.G=this.F=this.C=0;this.B=window.NaN;this.H=!1;this.reset(a)};
g.pI=function(a){a.audioTrackId=null;a.o=null;a.g=-1;a.Af=!1;a.hasNext=!1;a.D=0;a.A=(0,g.G)();a.C=0;a.F=0;a.G=0;a.J=0;a.B=window.NaN;a.H=!1};
g.qI=function(a,b){a.D=b;a.A=(0,g.G)()};
g.rI=function(a){switch(a.g){case 1:return((0,g.G)()-a.A)/1E3+a.D;case -1E3:return 0}return a.D};
g.sI=function(a,b,c){var d=a.videoId;a.videoId=b;a.index=c;b!=d&&g.pI(a)};
g.tI=function(a){var b={};b.index=a.index;b.listId=a.listId;b.videoId=a.videoId;b.playerState=a.g;b.volume=a.volume;b.muted=a.muted;b.audioTrackId=a.audioTrackId;b.trackData=Xb(a.o);b.hasPrevious=a.Af;b.hasNext=a.hasNext;b.playerTime=a.D;b.playerTimeAt=a.A;b.seekableStart=a.C;b.seekableEnd=a.F;b.duration=a.G;b.loadedTime=a.J;b.liveIngestionTime=a.B;return b};
uI=function(a,b,c){this.name=a;this.id=b;this.isDefault=c};
g.vI=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.wI=function(a){a=void 0===a?{}:a;this.L=a.formats||"";this.A=a.format||1;if(1==this.A)for(var b=this.L.split(","),c=0;c<b.length;c++){var d=(0,window.parseInt)(b[c],10);(0,window.isNaN)(d)||(this.A=Math.max(d,this.A))}this.o=a.languageCode||"";this.D=a.languageName;this.B=a.kind||"";this.C=a.name;this.za=a.id;this.M=a.is_servable;this.isDefault=a.is_default;this.G=a.is_translateable;this.H=a.url||null;this.F=a.vss_id||"";this.g=null;a.translationLanguage&&(this.g=new g.vI(a.translationLanguage))};
g.xI=function(a){var b=a.D||"",c=[b];"asr"==a.B&&-1==b.indexOf("(")&&c.push(" ("+g.U("YTP_ASR_SETTINGS_LABEL")+")");a.C&&c.push(" - "+a.C);a.g&&c.push(" >> "+a.g.languageName);return c.join("")};
yI=function(a,b){this.id=a;this.Nc=b;this.captionTracks=[];this.Xj=this.yi=null;this.Pu="UNKNOWN"};
g.zI=function(a,b,c){g.ZF.call(this);this.C=window.NaN;this.N=!1;this.J=this.H=this.L=this.M=window.NaN;this.S=[];this.B=this.F=this.A=this.ib=this.g=null;this.sa=a;this.S.push(g.LF(window,"beforeunload",(0,g.A)(this.rG,this)));this.o=[];this.ib=new g.oI;this.ca=b.id;this.g=tja(this,c);this.g.subscribe("handlerOpened",this.fL,this);this.g.subscribe("handlerClosed",this.cL,this);this.g.subscribe("handlerError",this.dL,this);this.g.subscribe("handlerMessage",this.eL,this);eja(this.g,b.token);this.subscribe("remoteQueueChange",
function(){var a=this.ib.videoId;g.AH()&&g.VG("yt-remote-session-video-id",a)},this)};
AI=function(a){g.iH("conn",a)};
tja=function(a,b){return new bH(a.sa.Ih("/bc",void 0,!1),b)};
BI=function(a,b){a.V("proxyStateChange",b)};
uja=function(a){a.C=g.GE((0,g.A)(function(){AI("Connecting timeout");this.D(1)},a),2E4)};
CI=function(a){g.EE(a.C);a.C=window.NaN};
DI=function(a){g.EE(a.M);a.M=window.NaN};
vja=function(a){EI(a);a.L=g.GE((0,g.A)(function(){FI(this,"getNowPlaying")},a),2E4)};
EI=function(a){g.EE(a.L);a.L=window.NaN};
HI=function(a,b){b&&(CI(a),DI(a));b==(dH(a.g)&&(0,window.isNaN)(a.C))?b&&(BI(a,1),FI(a,"getSubtitlesTrack")):b?(a.ba()&&a.ib.reset(),BI(a,1),FI(a,"getNowPlaying"),GI(a)):a.D(1)};
wja=function(a,b){var c=b.params.videoId;delete b.params.videoId;c==a.ib.videoId&&(g.Tb(b.params)?a.ib.o=null:a.ib.o=b.params,a.V("remotePlayerChange"))};
II=function(a,b){var c=b.params.videoId||b.params.video_id,d=(0,window.parseInt)(b.params.currentIndex,10);a.ib.listId=b.params.listId||a.ib.listId;g.sI(a.ib,c,d);a.V("remoteQueueChange")};
xja=function(a,b){b.params=b.params||{};II(a,b);JI(a,b);a.V("autoplayDismissed")};
JI=function(a,b){var c=(0,window.parseInt)(b.params.currentTime||b.params.current_time,10);g.qI(a.ib,(0,window.isNaN)(c)?0:c);c=(0,window.parseInt)(b.params.state,10);c=(0,window.isNaN)(c)?-1:c;-1==c&&-1E3==a.ib.g&&(c=-1E3);a.ib.g=c;c=Number(b.params.loadedTime);a.ib.J=(0,window.isNaN)(c)?0:c;c=Number(b.params.duration);a.ib.G=(0,window.isNaN)(c)?0:c;var c=a.ib,d=Number(b.params.liveIngestionTime);c.B=d;c.H=(0,window.isNaN)(d)?!1:!0;var c=a.ib,d=Number(b.params.seekableStartTime),e=Number(b.params.seekableEndTime);
c.C=(0,window.isNaN)(d)?0:d;c.F=(0,window.isNaN)(e)?0:e;1==a.ib.g?vja(a):EI(a);a.V("remotePlayerChange")};
yja=function(a,b){if(-1E3!=a.ib.g){var c=1083;switch((0,window.parseInt)(b.params.adState,10)){case 1:c=1081;break;case 2:c=1082}a.ib.g=c;a.V("remotePlayerChange")}};
zja=function(a,b){var c="true"==b.params.muted;a.ib.volume=(0,window.parseInt)(b.params.volume,10);a.ib.muted=c;a.V("remotePlayerChange")};
Aja=function(a,b){a.F=b.params.videoId;a.V("nowAutoplaying",(0,window.parseInt)(b.params.timeout,10))};
Bja=function(a,b){var c="true"==b.params.hasNext;a.ib.Af="true"==b.params.hasPrevious;a.ib.hasNext=c;a.V("previousNextChange")};
GI=function(a){g.EE(a.J);a.J=g.GE((0,g.A)(a.D,a,1),864E5)};
FI=function(a,b,c){c?AI("Sending: action="+b+", params="+g.Lc(c)):AI("Sending: action="+b);a.g.sendMessage(b,c)};
KI=function(a,b){this.g=a||0;this.spatialAudioType=b||0};
NI=function(a,b,c,d,e,f,k,l,m,n,q){this.width=a;this.height=b;if(!f)a:{f=Math.max(a,b);a=Math.min(a,b);b=LI[0];for(var r=0;r<LI.length;r++){var v=LI[r],x=MI[v];if(f>=Math.floor(16*x/9)*NI.prototype.B||a>=x*NI.prototype.B){f=b;break a}b=v}f="tiny"}this.quality=f;this.o=MI[this.quality];this.isAccelerated=!!k;this.fps=c||0;this.C=e||0;this.projectionType=d||0;(c=l)||(c=this.fps,d=this.projectionType,e=MI[this.quality],c=0==e?g.U("YTP_AUTO"):e+(2==d||3==d?"s":"p")+(55<c?"60":49<c?"50":39<c?"48":""));
this.qualityLabel=c;this.g=m||"";this.primaries=n||"";this.A=!1!==q};
OI=function(a){return"smpte2084"==a.g||"arib-std-b67"==a.g};
QI=function(a,b,c,d,e,f,k,l){this.id=a;this.o=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.B=l||0;this.audio=c||null;this.video=d||null;this.Nc=e||null;this.Tc=f||null;this.A=Cja[PI(this)]||""};
PI=function(a){return a.id.split(";",1)[0]};
RI=function(a){return"9"==a.A||"("==a.A||"9h"==a.A||"(h"==a.A};
SI=function(a){return"9h"==a.A||"(h"==a.A};
TI=function(a){return!(a.audio&&a.video)};
UI=function(a){return 0<=a.indexOf("opus")||0<=a.indexOf("vorbis")||0<=a.indexOf("mp4a")};
VI=function(a){return 0<=a.indexOf("vp9")||0<=a.indexOf("vp8")||0<=a.indexOf("avc1")};
WI=function(a,b,c,d,e,f,k){var l=new KI;b in MI||(b="small");d&&e?(e=(0,window.parseInt)(e,10),d=(0,window.parseInt)(d,10)):(e=MI[b],d=Math.round(16*e/9));b=new NI(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 QI(c,a,l,b)};
XI=function(a,b){this.experimentIds=a?a.split(","):[];this.flags=g.HE(b||"");var c={};(0,g.H)(this.experimentIds,function(a){c[a]=!0});
this.experiments=c;this.D=!!c["9405409"];this.F=!!c["9416855"];this.G=!!c["9406692"];this.A=!!c["9406693"]||!!c["9417210"]&&wi&&g.jc(8);this.enableAudioCast=!!c["9408394"];this.B=!!c["9414740"]};
YI=function(a,b){this.g=a;this.o=!!b;this.A=!1};
ZI=function(a){this.te=a};
$I=function(a,b,c){this.o=a||0;this.g=b||0;this.A=c};
aJ=function(a,b){return a.o==b.o&&a.g==b.g&&a.A==b.A};
bJ=function(a,b,c){return new $I(MI[a]||0,MI[b]||0,c)};
cJ=function(a){var b=MI.auto;return a.o==b&&a.g==b};
eJ=function(a,b){if(b.A&&cJ(b))return dJ;if(b.A||cJ(a))return b;if(a.A||cJ(b))return a;var c=a.o&&b.o?Math.max(a.o,b.o):a.o||b.o,d=a.g&&b.g?Math.min(a.g,b.g):a.g||b.g,c=Math.min(c,d);return c==a.o&&d==a.g?a:new $I(c,d,!1)};
g.fJ=function(a){var b=a.g||a.o;return Sb(Dja,function(a){return MI[a]==b})||"auto"};
gJ=function(a,b){var c=MI[b];return a.o<=c&&(!a.g||a.g>=c)};
Eja=function(){var a=g.WG("yt-player-volume")||{},b=a.volume;return{volume:(0,window.isNaN)(b)?100:g.Rd(Math.floor(b),0,100),muted:!!a.muted}};
hJ=function(a){g.VG("yt-player-bandwidth",a,2592E3)};
iJ=function(){return g.WG("yt-player-quality")||"auto"};
jJ=function(a){g.VG("yt-player-watch-later-pending",a)};
kJ=function(){return g.WG("yt-player-performance-cap")||0};
mJ=function(a,b,c){g.z(a)&&(a={mediaContentUrl:a,startSeconds:b,suggestedQuality:c});b=/\/([ve]|embed)\/([^#?]+)/.exec(a.mediaContentUrl);a.videoId=b&&b[2]?b[2]:null;return lJ(a)};
lJ=function(a,b,c){if(g.va(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}};
oJ=function(a,b){g.M.call(this);this.app=a;this.g=!0;this.o=null;this.B={};this.C={};this.F={};this.D={};this.A=null;this.playerType=b;V(this,"cueVideoById",this.gB);V(this,"loadVideoById",this.hR);V(this,"cueVideoByUrl",this.WQ);V(this,"loadVideoByUrl",this.iR);V(this,"playVideo",this.He);V(this,"pauseVideo",this.xd);V(this,"stopVideo",this.al);V(this,"clearVideo",this.UQ);V(this,"getVideoBytesLoaded",this.bR);V(this,"getVideoBytesTotal",this.cR);V(this,"getVideoLoadedFraction",this.Ys);V(this,"getVideoStartBytes",
this.dR);V(this,"cuePlaylist",this.VQ);V(this,"loadPlaylist",this.gR);V(this,"nextVideo",this.Hj);V(this,"previousVideo",this.Yk);V(this,"playVideoAt",this.lB);V(this,"setShuffle",this.setShuffle);V(this,"setLoop",this.kR);V(this,"getPlaylist",this.Uf);V(this,"getPlaylistIndex",this.jB);V(this,"getPlaylistId",this.getPlaylistId);V(this,"loadModule",this.Xk);V(this,"unloadModule",this.so);V(this,"setOption",this.Ie);V(this,"getOption",this.Zc);V(this,"getOptions",this.Gj);V(this,"mute",this.mute);
V(this,"unMute",this.xg);V(this,"isMuted",this.Ge);V(this,"setVolume",this.setVolume);V(this,"getVolume",this.getVolume);V(this,"seekTo",this.ad);V(this,"getPlayerState",this.Wk);V(this,"getPlaybackRate",this.Fe);V(this,"setPlaybackRate",this.Zk);V(this,"getAvailablePlaybackRates",this.Uk);V(this,"getPlaybackQuality",this.qo);V(this,"setPlaybackQuality",this.ro);V(this,"getAvailableQualityLevels",this.iB);V(this,"getCurrentTime",this.getCurrentTime);V(this,"getDuration",this.getDuration);V(this,"addEventListener",
this.addEventListener);V(this,"removeEventListener",this.removeEventListener);V(this,"getVideoUrl",this.getVideoUrl);V(this,"getDebugText",this.Vk);V(this,"getVideoEmbedCode",this.kB);V(this,"getVideoData",this.ha);V(this,"addCueRange",this.fB);V(this,"removeCueRange",this.mB);V(this,"setSize",this.setSize);V(this,"getApiInterface",this.XQ);V(this,"destroy",this.destroy);V(this,"showVideoInfo",this.pB);V(this,"hideVideoInfo",this.eR);V(this,"getMediaReferenceTime",this.ZQ);nJ(this,"getInternalApiInterface",
this.YQ);nJ(this,"getAdState",this.hB);nJ(this,"isNotServable",this.fR);nJ(this,"getUpdatedConfigurationData",this.aR);nJ(this,"sendAbandonmentPing",this.jR);nJ(this,"setAutonav",this.nB);nJ(this,"setAutonavState",this.oB);nJ(this,"startInteractionLogging",this.lR);nJ(this,"channelSubscribed",this.SQ);nJ(this,"channelUnsubscribed",this.TQ)};
V=function(a,b,c){a.B[b]=(0,g.A)(function(){pJ(this,b);return c.apply(this,arguments)},a)};
nJ=function(a,b,c){a.C[b]=(0,g.A)(function(){pJ(this,b);return c.apply(this,arguments)},a)};
qJ=function(a){a.A||(a.A=Wb(a.B),a.A.addEventListener=(0,g.A)(a.XF,a),a.A.removeEventListener=(0,g.A)(a.YF,a));return a.A};
pJ=function(a,b){var c=a.app.X;c.experiments.g("web_player_api_logging")&&(c={callerUrl:c.N,methodName:b},a.app.X.experiments.g("web_player_gel_logging_killswitch")||a.app.S.V("onLogToGel",{payload_name:"webPlayerApiCalled",payload:c}))};
sJ=function(a,b,c){b=g.Rd(Math.floor(b),0,100);(0,window.isFinite)(b)&&rJ(a.app,{volume:b,muted:a.Ge()},c)};
tJ=function(a,b){rJ(a.app,{muted:!0,volume:a.getVolume()},b)};
uJ=function(a,b){rJ(a.app,{muted:!1,volume:Math.max(5,a.getVolume())},b)};
vJ=function(a,b,c,d){this.videoData=a;this.g=b;this.reason=c;this.o=d};
yJ=function(a){this.o=a;this.g=0;this.C=window.NaN;this.B=0;this.kb=[];this.A=wJ(this.o);this.G=g.xJ(this.o);this.D=this.F=0};
g.zJ=function(a){a.A.startTime=a.B;a.A.endTime=a.g;a.kb.length&&g.Xa(a.kb).isEmpty()?a.kb[a.kb.length-1]=a.A:a.kb.length&&a.A.isEmpty()||a.kb.push(a.A);var b=g.xJ(a.o),c=a.o.g.experiments.o("html5_min_vss_watchtime_to_cut_secs_redux");if(c){var d=b-a.G,e;e=a.A;e=(e.endTime-e.startTime)/e.playbackRate;var f=a.o.g.experiments.o("html5_max_vss_watchtime_ratio");e>c&&e>d*f&&(c=Wb(a.A),a.A.endTime=a.A.startTime+.001,c.startTime=c.endTime-.001,a.kb.push(c))}a.F+=a.g-a.B;a.A=wJ(a.o);a.B=a.g;a.G=b};
AJ=function(a){return a.F+a.o.o()-a.B};
BJ=function(a){a.kb.length&&a.g==a.B||g.zJ(a);var b=a.kb;a.kb=[];return b};
CJ=function(a,b,c){c-=a.C;return b==a.g&&.5<c};
DJ=function(a,b){this.g=b;this.A=!1;this.videoData=a};
EJ=function(a,b,c){DJ.call(this,b,c);this.B=a};
FJ=function(){var a="";try{var b=g.re("CANVAS").getContext("webgl");b&&(b.getExtension("WEBGL_debug_renderer_info"),a=b.getParameter(37446),a=a.replace(/[ :]/g,"_"))}catch(c){}return a};
HJ=function(a){g.M.call(this);this.g=a;this.o={};this.na=1;this.N=window.NaN;this.A="N";this.aa=this.B=0;this.H=this.ca="";this.S=0;this.da=-1;this.G=this.J=0;this.M=this.F=!1;this.fa=[];this.D=null;(a=window.navigator.getBattery?window.navigator.getBattery():null)&&a.then&&a.then((0,g.A)(function(a){this.D=a},this));
this.L=(this.g.g.experiments.o("html5_disable_qoe_percentage")||0)>Math.floor(100*Math.random());this.g.g.experiments.g("html5_qoe_unstarted_in_initialization")&&g.GJ(this,0,"vps",["N"])};
g.GJ=function(a,b,c,d){var e=a.o[c];e||(e=[],a.o[c]=e);e.push(b.toFixed(3)+":"+d.join(":"))};
KJ=function(a,b){var c=0<=b?b:g.xJ(a.g),d=a.g.D();if(!(0,window.isNaN)(a.ba)&&!(0,window.isNaN)(d.B)){var e=d.B-a.ba;0<e&&g.GJ(a,c,"bwm",[e,(d.F-a.ka).toFixed(3)])}a.ba=d.B;a.ka=d.F;(0,window.isNaN)(d.o)||g.GJ(a,c,"bwe",[d.o.toFixed(0)]);a.g.videoData.Ph&&d.g&&IJ(a,"bwinfo",d.g);(0,window.isNaN)(d.A)||(e=d.A,d.C<e&&(e=d.C),g.GJ(a,c,"bh",[e.toFixed(3)]));a.D&&g.GJ(a,c,"bat",[a.D.level,a.D.charging?"1":"0"]);e=a.g.B();a.da!=e&&(g.GJ(a,c,"vis",[e]),a.da=e);g.GJ(a,c,"cmt",[a.g.o().toFixed(3)]);(e=JJ(a.g))&&
e!=a.S&&(g.GJ(a,c,"conn",[e]),a.S=e);0<d.D&&g.GJ(a,c,"e2el",[d.D,d.H.toFixed(3),d.G.toFixed(3),d.L.toFixed(3),d.J.toFixed(3)]);null!==a.g.videoData.yl&&(a.o.acc=[a.g.videoData.yl.join(":")])};
LJ=function(a){var b={event:"streamingstats"};if(a.g.videoData.Ma){b.fmt=PI(a.g.videoData.Ma);var c=a.g.videoData.nd;c&&PI(c)!=b.fmt&&(b.afmt=PI(c))}b.cpn=a.g.videoData.clientPlaybackNonce;b.ei=a.g.videoData.eventId;b.el=a.g.g.g;b.docid=a.g.videoData.videoId;b.ns=a.g.g.Ta;b.fexp=a.g.g.experiments.experimentIds.toString();b.cl=a.g.g.Pa;a.g.videoData.adFormat&&(b.adformat=a.g.videoData.adFormat);a.g.videoData.Aa&&(b.live=a.g.videoData.Zf?"dvr":"live");b.seq=a.na++;return b};
MJ=function(a,b){a.g.g.experiments.g("html5_ajax_qoe_retry")?g.eg(lF(b,{},3,500),g.y):g.hF(b)};
NJ=function(a){var b=0,c;for(c in a.o)b+=c.length+Ud(a.o[c],function(a,b){return a+b.length},0);
1E3<b&&(new g.Jt(a.C,0,a)).start()};
OJ=function(a,b,c,d){var e=a.g.o();c=[c,e.toFixed(3)];d&&c.push(d);g.GJ(a,b,"error",c)};
PJ=function(a,b){g.GJ(a,g.xJ(a.g),"lra",[b]);IJ(a,"live-readahead-seconds",b.toString())};
Gja=function(a){if(g.W(a,128))return"ER";if(g.W(a,512))return"SU";if(g.W(a,16)||g.W(a,32))return"S";var b=Fja[QJ(a)];"B"==b&&g.W(a,4)&&(b="PB");return b};
RJ=function(a,b){var c=a.o.cat||[];c.push(b);a.o.cat=c};
IJ=function(a,b,c,d){var e=a.o.ctmp||[],f=-1!=a.fa.indexOf(b);f||a.fa.push(b);d&&f||(d||(c="t."+g.xJ(a.g).toFixed(3)+";"+c),e.push(b+":"+c),a.o.ctmp=e,NJ(a))};
TJ=function(a,b,c,d){this.ka=b;this.segments=[];this.experimentIds=[];this.Ef=this.Pa=this.J=this.ra=this.Ea=this.S=this.autoplay=this.autonav=!1;this.da="yt";this.kh=this.o=this.D=null;this.aa=!1;this.C="watchtime"==c;this.B="playback"==c;this.H="delayplay"==c;this.G="atr"==c;this.Ja="engage"==c;this.rj=!1;this.ga=this.G?"/api/stats/"+c:"//"+b.Eg+"/api/stats/"+c;d&&(this.J=d.fs,d.rtn&&(this.o=d.rtn),this.C?(this.Ab=d.state,0<d.rti&&(this.D=d.rti)):(this.Qa=d.mos,this.Wa=d.volume,d.at&&(this.adType=
d.at)),d.autonav&&(this.autonav=d.autonav),d.inview&&(this.La=d.inview),d.size&&(this.fa=d.size));b.experiments.g("legacy_autoplay_flag")&&(this.autoplay=b.ca);this.tb=b.sa;this.wb=Wb(b.B);this.S=b.D;this.va=b.na;this.yb=b.g;this.experimentIds=b.experiments.experimentIds;this.na=b.Ea;this.da=b.Ta;this.region=b.region;this.Eb=b.Pa?b.Pa.toString():"";this.userAge=b.userAge;this.userGender=b.userGender;this.qb=g.DG();this.rj=b.Ja;this.F=a.oauthToken||this.F;this.adFormat=a.adFormat;this.autoplay=SJ(this.ka,
a,this.J);this.autonav=a.Ym||this.autonav;this.kh=a.kh;this.clientPlaybackNonce=a.clientPlaybackNonce;this.N=a.vssCredentialsToken;this.sa=a.ko;this.mdxEnvironment=a.mdxEnvironment;this.sf=a.sf;this.tf=a.tf;a.Ma&&(this.Za=PI(a.Ma),a.nd&&PI(a.nd)!=this.Za&&(this.M=PI(a.nd)));this.Ef=a.Ef;this.Yi=a.Yi;a.Aa&&(this.Ta=a.Zf?"dvr":"live");this.sk=a.sk;this.bh=a.bh;this.playbackId=a.playbackId;this.eventId=a.eventId;this.playlistId=a.us||a.playlistId;this.Gn=a.Gn;this.Pf=a.Pf;this.Ze=a.Ze;this.Sn=a.Sn;this.subscribed=
a.subscribed;this.videoId=a.videoId;this.videoMetadata=a.videoMetadata;this.visitorData=a.visitorData;this.osid=a.osid;this.Ir=a.Ir;this.referrer=a.referrer;this.fh=a.Qr||a.fh;this.Bj=a.Bj;this.Yn=a.Yn};
UJ=function(a,b){if(a.G)return null;var c=a.F&&ME(),d=a.rj&&!!a.visitorData;if(!c&&!d)return null;var e={};c&&(e.Authorization="Bearer "+a.F);d&&(e["X-Goog-Visitor-Id"]=a.visitorData);return{headers:e,withCredentials:!0,ud:b}};
Hja=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.Gg(a,b);c?g.TE(a,c):g.hF(a)};
WJ=function(a){var b={ns:a.da,el:a.yb,cpn:a.clientPlaybackNonce,docid:a.videoId,ver:2,referrer:a.referrer,cmt:a.g(a.sf),plid:a.playbackId,ei:a.eventId,fmt:a.Za,fs:a.J?"1":"0",rt:a.g(a.gb),of:a.Ir,adformat:a.adFormat,content_v:a.tb,euri:a.va,lact:a.qb,live:a.Ta,cl:a.Eb,mos:a.Qa,osid:a.osid,state:a.Ab,vm:a.videoMetadata,volume:a.Wa};a.subscribed&&(b.subscribed="1");g.za(b,a.wb);a.autonav&&(b.autonav="1");if(a.ka.experiments.g("legacy_autoplay_flag"))a.autoplay&&(b.autoplay="1");else if(a.autoplay||
a.Ef)b.autoplay="1";a.S&&(b.dni="1");a.ra&&(b["final"]="1");a.Ef&&(b.splay="1");a.tf&&(b.delay=a.tf);a.na&&(b.hl=a.na);a.region&&(b.cr=a.region);g.t(a.userAge)&&a.userGender&&(b.uga=a.userGender+a.userAge);g.t(a.ca)&&(b.len=a.g(a.ca));!a.C&&0<a.experimentIds.length&&(b.fexp=a.experimentIds.toString());null!=a.o&&(b.rtn=a.g(a.o));a.fh&&(b.feature=a.fh);a.playlistId&&(b.list=a.playlistId);a.Pf&&(b.ctrl=a.Pf);a.Ze&&(b.ytr=a.Ze);a.Sn&&(b.ssrt="1");a.M&&(b.afmt=a.M);a.ba&&(b.lio=a.g(a.ba));a.C?(b.idpj=
a.Yi,b.ldpj=a.sk,null!=a.D&&(b.rti=a.g(a.D))):g.t(a.adType)&&(b.at=a.adType);(a.B||a.H)&&a.kh&&(b.tst=a.kh);a.fa&&(a.B||a.H)&&(b.size=a.fa);null!=a.La&&(a.B||a.H)&&(b.inview=a.g(a.La));a.C&&(b.st=VJ(a,(0,g.I)(a.segments,function(a){return a.startTime})),b.et=VJ(a,(0,g.I)(a.segments,function(a){return a.endTime})),(0,g.Sk)(a.segments,function(a){return 1!=a.playbackRate})&&(b.rate=VJ(a,(0,g.I)(a.segments,function(a){return a.playbackRate}))));
(0,g.Sk)(a.segments,function(a){return 0!=a.visibilityState})&&(b.vis=VJ(a,(0,g.I)(a.segments,function(a){return a.visibilityState})));
(0,g.Sk)(a.segments,function(a){return 0!=a.connectionType})&&(b.conn=VJ(a,(0,g.I)(a.segments,function(a){return a.connectionType})));
(0,g.Sk)(a.segments,function(a){return 0!=a.xh})&&(b.blo=VJ(a,(0,g.I)(a.segments,function(a){return a.xh})));
(0,g.Sk)(a.segments,function(a){return"-"!=a.sp})&&(b.cc=(0,g.I)(a.segments,function(a){return a.sp}).join(","));
if((0,g.Sk)(a.segments,function(a){return!!a.kp})){var c="au";
a.B&&(c="au_d");b[c]=(0,g.I)(a.segments,function(a){return a.kp}).join(",")}ME()&&a.N&&(b.ctt=a.N,b.cttype=a.sa,b.mdx_environment=a.mdxEnvironment);
a.Ja&&(b.etype=g.t(a.A)?a.A:0);a.Bj&&(b.uoo=a.Bj);a.Yn&&(b.upt=a.Yn);return b};
VJ=function(a,b){return(0,g.I)(b,a.g).join(",")};
XJ=function(a){g.M.call(this);this.g=a;this.o=new HJ(a);g.N(this,this.o);this.A=new yJ(a);this.D="paused";this.F=window.NaN;this.H=[10,10,10,40];this.J=this.G=0;this.N=this.S=this.M=this.L=this.B=!1;this.C=window.NaN;this.aa=new EJ(this.A,this.g.videoData,this.g.g)};
YJ=function(a,b,c){var d=g.xJ(a.g);c=(0,window.isNaN)(c)?d:c;c=Math.ceil(c);var e=a.H[a.G];a.G+1<a.H.length&&a.G++;c+=e;d=1E3*(c-d);a.F=g.GE((0,g.A)(a.DL,a,c,b),d);return c};
aK=function(a,b){var c=ZJ(a.g);g.za(c,{state:a.D});c=new TJ(a.g.videoData,a.g.g,b,c);c.sf=a.g.o();a.g.videoData.Aa||(c.ca=a.g.C());if(a.g.videoData.ua){var d=$J(a.g.videoData.ua,c.sf);d&&(c.ba=d-c.sf)}c.gb=g.xJ(a.g);c.segments=[wJ(a.g)];return c};
bK=function(a,b){var c=aK(a,"watchtime");c.segments=b;c.sf=a.A.g;return c};
cK=function(a){a.A.update();return bK(a,BJ(a.A))};
fK=function(a){a.g.videoData.remarketingUrl&&!a.S&&(dK(a,a.g.videoData.remarketingUrl),a.S=!0);a.g.videoData.ppvRemarketingUrl&&!a.N&&(dK(a,a.g.videoData.ppvRemarketingUrl),a.N=!0);eK(a)};
hK=function(a,b){if(!a.ma()){g.W(b.state,2)?(a.D="paused",0<gK(b,2)&&a.B&&cK(a).send()):g.W(b.state,8)?(a.D="playing",a.B&&(0,window.isNaN)(a.F)&&YJ(a,!1)):a.D="paused";var c=a.o,d=b.state,e=g.xJ(c.g),f=Gja(b.state);if(f!=c.A){if(!(e<c.B)){if("PL"==c.A)c.G+=e-c.B;else if("B"==c.A&&c.F&&(c.F=!1,c.J+=e-c.B,!c.M&&10<=c.J&&180>=c.G)){c.g.G();if(!c.ma()&&!c.L){var k=LJ(c);k.qoealert="1";k=g.Gg(c.g.g.Cg,k);MJ(c,k)}c.M=!0}"B"!=f||"PL"!=c.A&&"PB"!=c.A||(c.F=!0);c.B=e}"B"==f&&"PL"==c.A||c.g.videoData.Ph?KJ(c,
e):g.GJ(c,e,"cmt",[c.g.o().toFixed(3)]);g.GJ(c,e,"vps",[f]);c.A=f;c.B=e}g.W(d,128)&&OJ(c,e,d.g.errorCode,d.g.errorDetail);(g.W(d,2)||g.W(d,128))&&c.C(e);NJ(c);a.C&&g.W(b.state,128)&&(a.Nn("error-100"),g.EE(a.C))}};
iK=function(a){a.C=g.FE((0,g.A)(a.Nn,a,"heartbeat"),3E4)};
eK=function(a){a.g.videoData.oe.eventLabel=a.g.g.g;a.g.videoData.oe.playerStyle=a.g.g.o;a.g.videoData.Bn&&(a.g.videoData.oe.feature="pyv");a.g.videoData.oe.vid=a.g.videoData.videoId;a.g.videoData.oe.isAd=!("adunit"!=a.g.g.g&&!a.g.videoData.Bn)};
dK=function(a,b,c){a.g.g.Ja&&a.g.videoData.visitorData&&NE(b)?g.TE(b,{ud:c,headers:{"X-Goog-Visitor-Id":a.g.videoData.visitorData}}):g.hF(b,c)};
jK=function(a,b){oJ.call(this,a,b);this.g=!1;V(this,"getPresentingPlayerType",this.ab);V(this,"addInfoCardXml",this.mR);V(this,"cueVideoByPlayerVars",this.oR);V(this,"loadVideoByPlayerVars",this.uo);V(this,"preloadVideoByPlayerVars",this.tB);V(this,"seekBy",this.be);V(this,"updatePlaylist",this.KR);V(this,"updateLastActiveTime",this.JR);V(this,"updateVideoData",this.LR);V(this,"getPlayerResponse",this.getPlayerResponse);V(this,"getStoryboardFormat",this.getStoryboardFormat);V(this,"getProgressState",
this.nh);V(this,"getHousebrandProperties",this.rR);V(this,"setPlaybackQualityRange",this.wB);V(this,"getCurrentPlaylistSequence",this.qR);V(this,"canPlayType",this.nR);V(this,"sendVideoStatsEngageEvent",this.ki);V(this,"setCardsVisible",this.dl);V(this,"handleGlobalKeyDown",this.uR);V(this,"getAudioTrack",this.ji);V(this,"setAudioTrack",this.vB);V(this,"getAvailableAudioTracks",this.qB);V(this,"getMaxPlaybackQuality",this.sR);V(this,"setSizeStyle",this.ER);V(this,"forceFrescaUpdate",this.pR);V(this,
"setAutonav",this.nB);V(this,"setAutonavState",this.oB);V(this,"showControls",this.HR);V(this,"hideControls",this.vR);V(this,"getVisibilityState",this.to);V(this,"shouldSendVisibilityState",this.GR);V(this,"getVideoContentRect",this.sB);V(this,"setSafetyMode",this.DR);V(this,"setFauxFullscreen",this.zR);V(this,"cancelPlayback",this.qp);V(this,"getVideoStats",this.iw);V(this,"updateSubtitlesUserSettings",this.Zs);V(this,"getSubtitlesUserSettings",this.bl);V(this,"resetSubtitlesUserSettings",this.uB);
V(this,"isFastLoad",this.wR);V(this,"isPeggedToLive",this.isPeggedToLive);V(this,"setMinimized",this.CR);V(this,"getSphericalConfig",this.tR);V(this,"setSphericalConfig",this.FR);V(this,"setBlackout",this.yR);V(this,"onAdUxClicked",this.xR);V(this,"toggleSettingsMenu",this.IR);V(this,"getPlayerSize",this.rB);V(this,"setGlobalCrop",this.AR)};
kK=function(a,b){jK.call(this,a,b)};
Ija=function(){this.g=8192;this.o=17;this.C=13E4;this.D=.5;this.B=.1;this.G=!1;this.L=!0;this.M=!1;this.F=60;this.A=0;this.J=this.H=!1};
lK=function(a){this.C=Math.exp(Math.log(.5)/a);this.A=this.B=0};
mK=function(a,b,c){this.H=0;this.F=a;this.C=b||.5;this.D=c||0;this.G="index";this.A=0;this.B=[]};
oK=function(a,b){nK(a,"value");var c=b*a.A,d=0,e=window.NaN;a.B.some(function(a){d+=a.weight;e=a.value;if(d>=c)return!0});
return e};
nK=function(a,b){a.G!=b&&(a.G=b,taa(a.B,b))};
pK=function(a){this.B=a;this.A=[]};
Jja=function(){this.A=0;this.o=this.F=this.B=this.C=window.NaN;this.D=0;this.J=this.L=this.G=this.H=window.NaN;this.g=""};
Kja=function(a){this.policy=a;this.H=this.J=0;this.B=-1;this.F=(0,g.AG)();this.D=new mK(4,.6);this.G=a.J?new mK(5,.5,.2):new lK(4);this.A=this.policy.G?new lK(this.policy.o):new mK(this.policy.o,.5,this.policy.B);this.C=new pK(this.policy.o);this.g=this.policy.M?new lK(this.policy.F):null;this.o=new mK(30,.5);a=g.WG("yt-player-bandwidth")||{};var b=0<a.byterate?a.byterate:this.policy.C;this.A.g(this.policy.D,b);this.g&&this.g.g(this.policy.D,0<a.ltByterate?a.ltByterate:b);0<a.delay&&this.D.g(1,Math.min(+a.delay,
2));0<a.stall?this.G.g(1,+a.stall):0<a.tailDelay&&this.G.g(1,+a.tailDelay);this.B=(0,g.AG)()};
qK=function(a,b,c){b=Math.max(b,.05);a.A.g(b,c/b);a.g&&a.g.g(b,c/b);a.F=(0,g.AG)()};
sK=function(a,b,c){b=Math.max(b,a.policy.g);a.G.g(1,c/b);rK(a)};
tK=function(a){a=a.D.o();a=(0,window.isNaN)(a)?.5:a;return a=Math.min(a,5)};
uK=function(a,b,c){(0,window.isNaN)(c)||(a.H+=c);(0,window.isNaN)(b)||(a.J+=b)};
vK=function(a){return a.G.o()||0};
wK=function(a){var b=a.A.o(),b=0<b?b:1;if(!a.policy.L)return b;a=a.C.o();a=0<a?a:1;return a>2*b?(b+a)/2:b};
xK=function(a){a=a.g.o();return 0<a?a:1};
yK=function(a){var b={};b.delay=tK(a);b.stall=vK(a);b.byterate=wK(a);a.g&&(b.ltByterate=xK(a));return b};
rK=function(a){-1<a.B&&3E4<(0,g.AG)()-a.B&&(hJ(yK(a)),a.B=(0,g.AG)())};
zK=function(a){return 4E3<=(0,g.AG)()-a.F};
AK=function(a){return a.A.o()==a.policy.C};
BK=function(a,b,c,d,e,f,k){this.duration=c;this.endTime=b+c;this.ingestionTime=d;this.Oa=a;this.sourceURL=e;this.startTime=b;this.g=k||0;this.range=f||null};
g.CK=function(){this.segments=[]};
g.DK=function(a,b){var c=g.vb(a.segments,new BK(b,0,0,0,""),function(a,b){return a.Oa-b.Oa});
return 0<=c?a.segments[c]:null};
Lja=function(a,b){var c=g.vb(a.segments,{startTime:b},function(a,b){return a.startTime-b.startTime});
return 0<=c?a.segments[c]:a.segments[Math.max(0,-c-2)]};
EK=function(a,b){if(b>a.Bc())a.segments=[];else{var c=g.Ya(a.segments,function(a){return a.Oa>=b},a);
0<c&&a.segments.splice(0,c)}};
FK=function(a,b,c,d,e){this.data=a;this.offset=b;this.size=c;this.type=d;this.o=e?0:8;this.g=this.offset+this.o};
GK=function(a){var b=a.data.getInt32(a.offset+a.o);a.o+=4;return b};
HK=function(a){var b=a.data.getUint32(a.offset+a.o);a.o+=4;return b};
Mja=function(a){var b=a.data,c=a.offset+a.o,b=4294967296*b.getUint32(c)+b.getUint32(c+4);a.o+=8;return b};
IK=function(a){var b,c=[];do b=a.data.getUint8(a.offset+a.o),c.push(b),a.o++;while(0!=b);c.pop()};
JK=function(a){this.data=new window.DataView(new window.ArrayBuffer(a));this.g=0};
KK=function(a,b){a.data.setInt32(a.g,b);a.g+=4};
LK=function(a,b){for(var c=0;c+4<=b.size;)KK(a,b.data.getUint32(b.offset+c)),c+=4;for(;c<b.size;)a.data.setUint8(a.g++,b.data.getUint8(b.offset+c++))};
MK=function(a,b,c){this.Jd=a;this.durationSecs=b;this.context=c};
NK=function(a){this.g=a;this.o=(0,window.parseInt)(this.g["Sequence-Number"],10)||0;this.ingestionTime=((0,window.parseInt)(this.g["Ingestion-Walltime-Us"],10)||0)/1E6;this.D=((0,window.parseInt)(this.g["Target-Duration-Us"],10)||0)/1E6;this.C="T"==this.g["Overlayed-With-Slate"];this.B="T"==this.g["Stream-Finished"];this.A="T"==this.g.Streamable};
OK=function(a){return a.g["Cuepoint-Type"]?new MK((0,window.parseFloat)(a.g["Cuepoint-Playhead-Time-Sec"])||0,(0,window.parseFloat)(a.g["Cuepoint-Total-Duration-Sec"])||0,a.g["Cuepoint-Context"]):null};
PK=function(a,b,c){this.A=a;this.yaw=b||0;this.o=c;this.g=c.getUint32(4)};
QK=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};
SK=function(a,b){var c=RK(a.data,a.g,1952868452),d=RK(a.data,a.g,1953658222),e=GK(c);GK(c);e&2&&GK(c);var c=e&8?GK(c):0,f=GK(d),k=f&1,e=f&4,l=f&256,m=f&512,n=f&1024,f=f&2048,q=HK(d);k&&GK(d);e&&GK(d);for(var r=k=0;r<q;r++){var v=l?GK(d):c;m&&GK(d);e&&0==r||!n||GK(d);f&&GK(d);k+=v}return k/b};
VK=function(a){a=new window.DataView(a.buffer,a.byteOffset,a.byteLength);return(a=TK(a,1836476516))?UK(a):window.NaN};
RK=function(a,b,c){for(;WK(a,b);){var d=XK(a,b);if(d.type==c)return d;b+=d.size}return null};
TK=function(a,b){for(var c=0;WK(a,c);){var d=XK(a,c);if(d.type==b)return d;c=YK(d.type)?c+8:c+d.size}return null};
ZK=function(a,b){if(a.data.getUint8(a.g)){var c=a.data,d=a.g+4;c.setUint32(d,Math.floor(b/4294967296));c.setUint32(d+4,b&4294967295)}else a.data.setUint32(a.g+4,b)};
$K=function(a){var b;a.data.getUint8(a.g)?(b=a.data,a=a.g+4,b=4294967296*b.getUint32(a)+b.getUint32(a+4)):b=a.data.getUint32(a.g+4);return b};
XK=function(a,b){var c=a.getUint32(b),d=a.getUint32(b+4);return new FK(a,b,c,d)};
UK=function(a){var b=a.data.getUint8(a.g)?20:12;return a.data.getUint32(a.g+b)};
aL=function(a){return a.data.getUint32(a.g+8)};
bL=function(a){var b=a.data.getUint8(a.g);a.data.getUint16(a.g+(0==b?22:30));return a.data.getUint32(a.g+(0==b?28:36))};
WK=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};
YK=function(a){return 1836019558==a||1836019574==a||1835297121==a||1835626086==a||1937007212==a||1953653094==a||1953653099==a};
Nja=function(a){a=new window.DataView(a.buffer,a.byteOffset,a.byteLength);var b=TK(a,1937011556);if(!b)return null;b=RK(a,b.g+8,1635148593);if(!b)return null;var c=RK(a,b.g+78,1936995172),d=RK(a,b.g+78,1937126244);if(!d)return null;b=null;if(c)switch(c.skip(4),b=c.data.getUint8(c.offset+c.o),c.o+=1,b){case 0:b=0;break;case 2:b=1;break;case 1:b=3;break;default:b=null}c=null;if(d=RK(a,d.g,1886547818)){var e=RK(a,d.g,1886546020),f=RK(a,d.g,2037673328);if(!f&&(f=RK(a,d.g,1836279920),!f))return null;e&&
(GK(e),c=GK(e)/65536,GK(e));a=new window.DataView(f.data.buffer,f.g,f.size-8);return new PK(b,c,a)}return null};
cL=function(a){return(a=RK(a,0,1836019558))?a.offset+a.size:null};
dL=function(a,b){for(var c=RK(a,0,b);c;)a.setUint32(c.offset+4,1936419184),c=RK(a,c.offset+c.size,b)};
eL=function(a,b,c,d){d=void 0===d?!1:d;var e=RK(a,0,1836019558);if(!e)return null;var f=RK(a,e.g,1835427940),k=RK(a,e.g,1953653094),l=RK(a,e.g,1886614376);if(!f||!k)return null;var m=RK(a,k.g,1952868452),n=RK(a,k.g,1953658222),q=RK(a,k.g,1952867444);if(!m||!n||!q)return null;var r=RK(a,k.g,1935763823),v=RK(a,k.g,1935763834),x;if(r){x=GK(r);var B=GK(r);if(0!=x||1!=B)return null;x=GK(r)}for(var B=RK(a,k.g,1935828848),k=RK(a,k.g,1936158820),F=GK(m),J=GK(m),L=F&2,eb=F&1?Mja(m):0,pb=L?GK(m):0,ka=F&8?GK(m):
0,td=F&16?GK(m):0,Bb=F&32?GK(m):0,F=GK(n),Sf=F&1,Tf=F&4,Bk=F&256,m=F&512,wc=F&1024,Yb=F&2048,F=GK(n),mc=Sf?GK(n):0,uu=Tf?GK(n):0,Sf=[],ej=[],Ck=[],Ip=[],Im=0,Fd=0,Jm=0;Jm<F;Jm++){var vu=Bk?GK(n):ka;m&&Sf.push(GK(n));var Eg=Bb;Tf&&0==Jm?Eg=uu:wc&&(Eg=GK(n));ej.push(Eg);Eg=Yb?GK(n):0;0==Jm&&(Im=Eg);Ck.push(Fd+Eg);Ip.push(Jm);Fd+=vu}1<=Math.abs(Fd-b)&&c({flaw:"segDurMismatch",dts:Fd.toFixed(),seg:b.toFixed()});g.xb(Ip,function(a,b){return Ck[a]-Ck[b]});
c=[];for(Fd=0;Fd<F;Fd++)c[Ip[Fd]]=Fd;Fd=L?4:0;Bb=16*F;Tf=68+Fd+q.size+Bb+(r?r.size:0)+(v?v.size:0)+(B?B.size:0)+(k?k.size:0)+(l?l.size:0);n=Tf-e.size;ka=new JK(Tf+(d?0:e.offset));!d&&e.offset&&ka.Yl(a,0,e.offset);KK(ka,Tf);KK(ka,1836019558);LK(ka,f);KK(ka,Tf-24-(l?l.size:0));KK(ka,1953653094);KK(ka,16+Fd);KK(ka,1952868452);KK(ka,131072|(L?2:0));KK(ka,J);L&&KK(ka,pb);LK(ka,q);KK(ka,20+Bb);KK(ka,1953658222);KK(ka,16781057);KK(ka,F);KK(ka,eb+mc+n);for(a=Fd=0;a<F;a++)e=c[a],d=Math.round(b*e/F),e=Math.round(b*
(e+1)/F)-d,d=d-Fd+Im,KK(ka,e),KK(ka,m?Sf[a]:td),KK(ka,ej[a]),KK(ka,d),Fd+=e;r&&(KK(ka,r.size),KK(ka,1935763823),KK(ka,0),KK(ka,1),KK(ka,x+n));v&&LK(ka,v);B&&LK(ka,B);k&&LK(ka,k);l&&LK(ka,l);return ka.data.buffer};
fL=function(){var a=g.w("yt.player.utils.videoElement_");a||(a=g.re("VIDEO"),g.u("yt.player.utils.videoElement_",a,void 0));return a};
gL=function(a){var b=fL();try{if(b.canPlayType){a=a?Oja:Pja;for(var c=0;c<a.length;c++)if(b.canPlayType(a[c]))return null}return"fmt.noneavailable"}catch(d){return"html5.missingapi"}};
hL=function(){var a=fL();try{var b=a.muted;a.muted=!b;return a.muted!=b}catch(c){}return!1};
iL=function(a){a=g.pe("DIV",{"class":a});window.document.body.appendChild(a);var b="none"==g.hh(a,"display");g.ye(a);return b};
jL=function(){};
kL=function(){this.buffered=new jL};
lL=function(a,b){if(!a)return-1;for(var c=0;c<a.length;c++)if(a.start(c)<=b&&a.end(c)>=b)return c;return-1};
mL=function(a,b){var c=lL(a,b);return 0<=c?a.end(c):window.NaN};
nL=function(a){return a&&a.length?a.end(a.length-1):window.NaN};
oL=function(){var a=[],b=[];return{start:function(b){return a[b]},
end:function(a){return b[a]},
length:a.length}};
pL=function(a,b){var c=mL(a,b);return 0<=c?c-b:0};
qL=function(a){var b="";if(a)for(var c=0;c<a.length;c++)b+=a.start(c).toFixed(3)+"-"+a.end(c).toFixed(3)+",";return b};
rL=function(){};
sL=function(){g.M.call(this);this.o=null;this.D=this.C=!1;this.B=new g.zf;g.N(this,this.B)};
vL=function(a,b){var c="";b&&(tL(a,b),c=b.g);a.sd()&&""==c||(c&&a.sd()!=c&&uL(a,c),b&&b.o||a.load(),a.D||(a.addEventListener("volumechange",a.cv,!1,a),a.D=!0))};
zL=function(a){a.g.ended&&wL(a,0);!a.sd()&&a.o&&(uL(a,a.o.g),a.o.o||a.load());a.play();xL&&7<=yL&&g.TF(a,"playing",(0,g.A)(function(){g.GE((0,g.A)(this.Rv,this,this.getCurrentTime(),0),500)},a))};
tL=function(a,b){a.o&&null!=b&&b.g==a.o.g||(a.o&&a.o.dispose(),a.o=b)};
BL=function(a){return pL(AL(a),a.getCurrentTime())};
wL=function(a,b){0<a.g.readyState&&(xL&&4>yL&&(b=Math.max(.1,b)),a.g.currentTime=b)};
DL=function(a){a.sd()&&(CL&&0<a.getCurrentTime()&&wL(a,0),a.g.removeAttribute("src"),a.load(),tL(a,null))};
EL=function(a){var b=AL(a);return 0<nL(b)&&a.getDuration()?mL(b,a.getCurrentTime()):0};
FL=function(a){var b=a.getDuration();return window.Infinity==b?1:b?EL(a)/b:0};
HL=function(a){return{vct:a.getCurrentTime().toFixed(3),vd:a.getDuration().toFixed(3),vpl:qL(a.g.played||oL()),vbu:qL(AL(a)),vpa:a.g.paused,vsk:a.g.seeking,ven:a.g.ended,vpr:GL(a),vrs:a.g.readyState,vns:a.g.networkState,vec:a.Nb(),vvol:a.getVolume()}};
IL=function(a,b,c){g.Ve.call(this,b,a);this.g=c||null};
JL=function(a){sL.call(this);this.g=a;this.A={}};
uL=function(a,b){var c=GL(a);a.g.src=b;KL(a,c)};
GL=function(a){try{return a.g.playbackRate}catch(b){return 1}};
KL=function(a,b){GL(a)!=b&&(a.g.playbackRate=b)};
AL=function(a){return a.g.buffered||oL()};
LL=function(a,b,c){g.dh(a.g,b,c)};
ML=function(a,b){this.o=a;this.A=b;this.B=0;Object.defineProperty(this,"timestampOffset",{get:this.pQ,set:this.tQ});Object.defineProperty(this,"buffered",{get:this.nQ})};
Qja=function(){this.length=0};
NL=function(a){this.activeSourceBuffers=this.sourceBuffers=[];this.g=a;this.o=window.NaN;this.A=0;Object.defineProperty(this,"duration",{get:this.oQ,set:this.sQ});Object.defineProperty(this,"readyState",{get:this.qQ});this.g.addEventListener("webkitsourceclose",(0,g.A)(this.rQ,this),!0)};
g.OL=function(a){g.M.call(this);this.N=[];this.Ab=a||this};
PL=function(a,b,c,d){for(var e=0;e<c.length;e++)a.U(b,c[e],d)};
g.QL=function(a){for(;a.N.length;){var b=a.N.pop();b.target.removeEventListener(b.name,b.cg)}};
RL=function(a,b,c,d,e,f){g.OL.call(this);this.o=this.g=null;this.C=b;this.A=window.MediaSource?new window.MediaSource:window.WebKitMediaSource?new window.WebKitMediaSource:new NL(a.pa());this.G=this.D=this.F=null;this.J=d;this.S=c;this.H=e;this.B=f;PL(this,this.A,["sourceopen","webkitsourceopen"],this.M);PL(this,this.A,["sourceclose","webkitsourceclose"],this.L)};
Rja=function(a,b){a.D=b};
Sja=function(a,b){a.G=b};
Tja=function(a){if(!a.F){var b;b=a.A;b=b.ZS?b.g.webkitMediaSourceURL:window.URL.createObjectURL(b);a.F=new YI(b,!0)}return a.F};
TL=function(a,b){SL(a)?a.A.duration=b:a.C=b};
SL=function(a){try{return"open"==a.A.readyState}catch(b){return!1}};
UL=function(a){try{return"closed"==a.A.readyState}catch(b){return!0}};
VL=function(a){return!!(a.g&&a.g.updating||a.o&&a.o.updating)};
WL=function(){return!(!window.MediaSource||!window.MediaSource.isTypeSupported)};
XL=function(a){return a.g?!!a.g.appendBuffer:WL()};
YL=function(a){if(/opus/.test(a)&&(g.cF&&!ui("38")||dF()))return!1;if(window.MediaSource&&window.MediaSource.isTypeSupported)return window.MediaSource.isTypeSupported(a);if(/webm/.test(a)&&!$E())return!1;'audio/mp4; codecs="mp4a.40.2"'==a&&(a='video/mp4; codecs="avc1.4d401f"');return!!fL().canPlayType(a)};
g.ZL=function(){this.Cg=this.Bg=!1;this.C=20971520;this.F=8388608;this.o=window.NaN;this.ca=3145728;this.L=62914560;this.da=10485760;this.jf=this.Wa=0;this.H=window.NaN;this.Zq=65536;this.th=this.oc=2;this.sh=25;this.G=2097152;this.rh=1048576;this.S=!1;this.N=1800;this.Ta=0;this.Qa=this.Je=5;this.gb=10;this.ra=30;this.Ab=1;this.g=1.15;this.B=1.05;this.kf=8;this.wm=!1;this.zg=!0;var a;!(a=WE("xboxone"))&&(a=bF())&&(a=/WebKit\/([0-9]+)/.exec(g.Gb),a=!(a&&602<=(0,window.parseInt)(a[1],10)));this.rq=
a||XE();this.Ea=15;this.yb=90;this.ka=!1;this.ga=!0;this.Ec=g.cF&&!0;this.ar=!0;this.lm=this.Za=!1;this.uh=.8;this.qh=this.ph=!1;this.La=!0;this.aa=0;this.Eb=this.J=this.ce=!1;this.va=25;this.mi=!0;this.li=this.wb=!1;this.M=6;this.ee=!1;this.Il=this.ac=this.Zb=0;this.Ag=this.Eg=!1;this.ba=0;this.qb=this.hc=this.na=!1;this.D=.5;this.fa=0;this.Dg=this.Mb=!1;this.Pa=0;this.Ld=this.lf=this.sa=!1;this.tb=0;this.yg=this.A=this.de=this.md=this.fe=this.Md=this.Nd=!1;this.Ja=0};
Uja=function(a,b){1080<b.video.o&&!a.Bg&&(a.C=36700160,a.F=5242880,a.ca=10485760,a.G=a.de?8388608:4194304,a.Bg=!0);2160<b.video.o&&!a.Cg&&(a.C=104857600,a.H=13107200,a.Cg=!0);a.hc&&(a.rh=Math.min(a.G,5*b.g))};
Vja=function(a,b){var c=new g.ZL;c.Ab=a.experiments.o("html5_throttle_rate")||c.Ab;a.experiments.g("html5_streaming_xhr")&&(c.Za=!0);c.aa=a.experiments.o("html5_idle_preload_secs");a.experiments.g("html5_use_mediastream_timestamp")&&(c.J=!0);c.wm=a.experiments.g("html5_use_long_term_bandwidth_estimator");c.M=a.experiments.o("html5_min_buffer_to_resume");c.Zb=a.experiments.o("html5_variability_discount");c.ac=a.experiments.o("html5_variability_no_discount_thresh");c.Il=a.experiments.o("html5_variability_full_discount_thresh");
a.experiments.o("html5_max_av_sync_drift")&&(c.va=a.experiments.o("html5_max_av_sync_drift"));c.Ag=a.experiments.g("html5_reduce_startup_rebuffers");AK(a.schedule)&&(c.ra=10);a.experiments.o("html5_min_secs_between_format_selections")&&(c.kf=a.experiments.o("html5_min_secs_between_format_selections"));c.ba=a.experiments.o("html5_local_max_byterate_lookahead");c.na=a.experiments.g("html5_stop_overlapping_requests");c.hc=a.experiments.g("html5_adjust_effective_request_size");c.Wa=a.experiments.o("html5_min_readbehind_secs");
c.jf=a.experiments.o("html5_min_readbehind_cap_secs");a.experiments.g("html5_no_clear_on_quota_exceeded")&&(c.qb=!0,c.D=.8);c.fa=a.experiments.o("html5_min_startup_smooth_target")||c.fa;c.Mb=a.experiments.g("html5_use_raw_bw_for_startup_smoothness");c.Dg=a.experiments.g("html5_preload_size_excludes_metadata");c.Pa=a.experiments.o("html5_max_readahead_bandwidth_cap");c.sa=a.experiments.g("disable_html5_copy_pre_moof");c.lf=a.experiments.g("html5_disable_audio_append_cap");c.Ld=a.experiments.g("html5_disable_non_contiguous");
c.tb=a.experiments.o("html5_post_interrupt_readahead");c.Nd=a.experiments.g("html5_enable_loader_dvr_window_check");c.Ta=a.experiments.o("html5_min_byterate_to_time_out");c.Md=a.experiments.g("html5_disable_urgent_upgrade_for_quality");c.fe=a.experiments.g("html5_log_quota_exceeded");a.experiments.g("html5_always_enable_timeouts")&&(c.Ec=!1);c.md=a.experiments.g("html5_clearance_fix");c.Qa=a.experiments.o("html5_repredict_misses")||c.Qa;a.experiments.g("html5_new_fallback")&&(c.A=!0,c.yb=10,c.Je=
10);c.yg=a.experiments.g("html5_no_downgrade_with_tbd");c.Ja=a.experiments.o("html5_observed_downgrade_prop");if(bF()||a.experiments.g("dash_html5_safari8_workarounds"))c.ka=!0;if(WE("trident/")||WE("edge/"))c.o=240;g.fh&&(c.L=41943040);g.$L(a)||!WL()?(c.C=8388608,c.F=524288,c.oc=5,c.ca=2097152,c.G=1048576,c.th=1.5,c.sh=15,c.S=!WL(),c.zg=!1,c.H=4587520,ZE()&&(c.H=786432),c.g*=1.1,c.B*=1.1,c.qh=!0,c.L=c.C,c.da=c.F):a.isMobile&&(c.g*=1.3,c.B*=1.3);if(dF()){var d="CHROMECAST/ANCHOVY"==a.B.cmodel;c.C=
20971520;c.F=1572864;d&&(c.H=812500,c.N=1E3)}c.ar=a.F;c.lm=!a.experiments.g("disable_fpa_sei_removal")&&WE("windows nt")&&(aM(b)||b.mg());b.We()&&(a.experiments.g("disable_html5_manifestless_delay")||(c.ce=!0),c.ga=!1);a.isAd()&&(c.M=0);a.experiments.g("html5_burst_less_for_no_bw_data")&&AK(a.schedule)&&(c.ra=10);a.experiments.g("html5_streaming_response_mediastream_rewrite")&&b.rb&&b.rb.videoInfos.length&&1==b.rb.videoInfos[0].o&&!g.YE()&&(c.Za=!0,c.J=!0,c.Eb=!0);/^re/.test(b.clientPlaybackNonce)&&
(c.Eg=!0,c.wb=!0);c.ee=b.Ph;/^pp/.test(b.clientPlaybackNonce)&&(c.li=!0,c.wb=!0);a.schedule.policy.A=b.We()?.5:0;a.experiments.D&&(c.H=window.NaN);if(d=a.experiments.o("html5_deadzone_multiplier"))c.g*=d,c.B*=d;if(d=a.experiments.o("html5_request_sizing_multiplier"))c.uh=d;a.experiments.g("html5_strip_emsg")&&(c.ph=!0);c.o=a.experiments.o("html5_max_buffer_duration")||c.o;c.Ea=a.experiments.o("html5_max_buffer_health_for_downgrade")||c.Ea;c.gb=a.experiments.o("html5_min_upgrade_health")||c.gb;a.experiments.g("disable_html5_streaming_response_timing")&&
(c.mi=!1);a.experiments.g("html5_trust_platform_bitrate_limits")&&bM(a.M,cM)&&(c.H=window.NaN);c.de=a.experiments.g("html5_large_4k_requests");return c};
dM=function(a,b){this.start=a;this.end=b;this.length=b-a+1};
eM=function(a){a=a.split("-");return 2==a.length&&(a=new dM((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};
fM=function(a,b){return new dM(a,a+b-1)};
gM=function(a,b,c,d,e,f,k,l,m){this.g=b;this.range=c;this.type=a;this.Oa=0<=d?d:-1;this.startTime=e||0;this.duration=f||0;this.o=k||0;this.ub=0<=l?l:this.range?this.range.length:window.NaN;this.D=!!m;this.range?(this.A=this.o+this.ub==this.range.length,this.C=this.startTime+this.duration*this.o/this.range.length,this.F=this.duration*this.ub/this.range.length):(this.A=0!=this.ub,this.C=this.startTime,this.F=this.duration);this.B=this.C+this.F};
Wja=function(a,b,c){var d=!(!b||b.g!=a.g||b.type!=a.type||b.Oa!=a.Oa);return c?d&&(a.range&&b.range?b.range.end==a.range.end:b.range==a.range)&&b.o+b.ub==a.o+a.ub:d};
hM=function(a){return 1==a.type||2==a.type};
iM=function(a,b,c){return c||a.g==b.g?a.range&&b.range?a.range.start+a.o+a.ub==b.range.start+b.o:a.Oa==b.Oa?a.o+a.ub==b.o:a.Oa+1==b.Oa&&0==b.o&&a.A:!1};
Xja=function(a){1==a.length||(0,g.Qr)(a,function(a){return!!a.range});
for(var b=1;b<a.length;b++);b=a[a.length-1];return new dM(a[0].range.start+a[0].o,b.range.start+b.o+b.ub-1)};
kM=function(a){var b="";g.Ib(jM(a),function(a,d){b+=d+"="+a+","});
return b.slice(0,-1)};
jM=function(a){var b={};b.itag=PI(a.g.info);b.seg=a.Oa;a.range&&(b.range=""+(a.range.start+a.o)+"-"+(a.range.start+a.o+a.ub-1));b.time=""+a.C.toFixed(1)+"-"+(a.C+a.F).toFixed(1);b.off=a.o;return b};
lM=function(a,b){this.o=a;this.g=0;this.A=b||0};
mM=function(a){return a.g>=a.o.byteLength};
Yja=function(a){var b=new lM(a);nM(b);if(!oM(b,408125543))return null;b=pM(b);if(!oM(b,374648427))return null;b=pM(b);if(!oM(b,174))return null;b=pM(b);if(!oM(b,224))return null;var b=pM(b),c=null;for(a=null;!mM(b);){var d=qM(b,!1);21432==d?(c=rM(b),c=-1!=[0,1,3].indexOf(c)?c:null):30320==d?a=pM(b):sM(b)}if(!a)return null;for(var b=null,e;!mM(a);)switch(d=qM(a,!1),d){case 30321:if(3!=rM(a))return null;break;case 30324:tM(a);break;case 30323:b=tM(a);break;case 30325:tM(a);break;case 30322:e=qM(a,!0);
e=new window.DataView(a.o.buffer,a.o.byteOffset+a.g,e);break;default:sM(a)}return e?new PK(c,b,e):null};
pM=function(a){var b=qM(a,!0),c=a.o.byteOffset+a.g,c=new window.DataView(a.o.buffer,c,Math.min(b,a.o.buffer.byteLength-c)),c=new lM(c,a.A+a.g);a.g+=b;return c};
rM=function(a){for(var b=qM(a,!0),c=uM(a),d=1;d<b;d++)c=256*c+uM(a);return c};
tM=function(a){var b=qM(a,!0),c=0;4==b?c=a.o.getFloat32(a.g):8==b&&(c=a.o.getFloat64(a.g));a.g+=b;return c};
sM=function(a){var b=qM(a,!0);a.g+=b};
nM=function(a){var b=a.g;a.g=0;var c=!1;oM(a,440786851)&&(a.g=0,oM(a,408125543)&&(c=!0));a.g=b;return c};
wM=function(a){var b=a.g;a.g=0;var c=1E6;vM(a,[408125543,357149030,2807729])&&(c=rM(a));a.g=b;return c};
Zja=function(a,b){var c=a.g;a.g=0;if(!xM(a)||!oM(a,160))return a.g=c,window.NaN;qM(a,!0);if(!oM(a,161))return a.g=c,window.NaN;var d=qM(a,!0);uM(a);var e=uM(a)<<8|uM(a);a.g+=d-3;if(!oM(a,155))return a.g=c,window.NaN;d=rM(a);a.g=c;return(e+d)*b/1E9};
xM=function(a){if(nM(a)){if(!oM(a,408125543))return!1;qM(a,!0)}if(!oM(a,524531317))return!1;qM(a,!0);return!0};
vM=function(a,b){for(var c=0;c<b.length;c++){if(!oM(a,b[c]))return!1;c!=b.length-1&&qM(a,!0)}return!0};
oM=function(a,b){if(mM(a))return!1;for(;qM(a,!1)!=b;)if(sM(a),mM(a))return!1;return!0};
qM=function(a,b){var c=uM(a);if(1==c){for(var d=c=0;7>d;d++)c=256*c+uM(a);return c}for(var e=128,d=0;6>d&&e>c;d++)c=256*c+uM(a),e*=128;return b?c-e:c};
uM=function(a){return a.o.getUint8(a.g++)};
$ja=function(a,b){var c=new window.Uint8Array(a.o.buffer,a.o.byteOffset+a.g,b);a.g+=b;return c};
yM=function(a,b,c,d,e){this.info=a;this.g=b;this.range=c;this.o=null;this.A=d;this.B=e};
zM=function(a){return a.range?new window.DataView(a.g,a.range.start,a.range.length):new window.DataView(a.g)};
AM=function(a,b){b=Math.min(b,a.info.ub);var c=fM(a.range.start,b);return[new yM(new gM(a.info.type,a.info.g,a.info.range,a.info.Oa,a.info.startTime,a.info.duration,a.info.o,b,!1),a.g,c,a.A,a.B),new yM(new gM(a.info.type,a.info.g,a.info.range,a.info.Oa,a.info.startTime,a.info.duration,a.info.o+b,a.info.ub-b,a.info.D),a.g,new dM(c.end+1,a.range.end),a.A,!1)]};
BM=function(a,b){if(1==a.info.g.info.o){for(var c=a.info.g.g,d=new window.DataView(a.g),e=window.NaN,f=window.NaN,k=0;WK(d,k);){var l=XK(d,k);(0,window.isNaN)(e)&&(1936286840==l.type?e=aL(l):1836476516==l.type&&(e=UK(l)));if(1952867444==l.type){!e&&c&&(e=VK(c));var m=$K(l);(0,window.isNaN)(f)&&(f=Math.round(b*e)-m);ZK(l,m+f)}k=YK(l.type)?k+8:k+l.size}return!0}c=new lM(new window.DataView(a.g));e=a.B?c:new lM(new window.DataView(a.info.g.g.buffer));d=b;f=wM(e);e=c.g;c.g=0;if(xM(c)&&oM(c,231))if(k=
qM(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.o.setUint8(c.g+f,d&255),d>>>=8;c.g=e;c=!0}else c=!1;return c};
CM=function(a){var b;if(1==a.info.g.info.o){for(var c=b=0,d=new window.DataView(a.g);WK(d,b);){var e=XK(d,b);if(1936286840==e.type)var f=aL(e),k=bL(e),c=c+k/f;b=YK(e.type)?b+8:b+e.size}b=c||window.NaN;if(!(0<=b))a:{b=a.info.g.g;for(var c=0,d=new window.DataView(a.g),l,e=0;WK(d,c);){f=XK(d,c);if(1836476516==f.type)l=UK(f);else if(1836019558==f.type){!l&&b&&(l=VK(b));if(!l){b=window.NaN;break a}k=RK(f.data,f.g,1953653094);e+=SK(k,l)}c=YK(f.type)?c+8:c+f.size}b=e||window.NaN}}else l=new lM(new window.DataView(a.g)),
b=a.B?l:new lM(new window.DataView(a.info.g.g.buffer)),b=Zja(l,wM(b));return b||a.info.F};
DM=function(a){var b;b=new window.DataView(a.g);b=(b=TK(b,1936286840))?aL(b):window.NaN;(0,window.isNaN)(b)&&(b=a.info.g.g,a=new window.DataView(a.g),b=(a=TK(a,1836476516))?UK(a):b?VK(b):window.NaN);return b};
EM=function(a){return 1==a.info.g.info.o?a.o?a.o.C&&!!RK(new window.DataView(a.g),0,1718909296):!1:nM(new lM(new window.DataView(a.g)))};
FM=function(a){return(a=aka.exec(a))?a[0]:""};
GM=function(a){return bka.test(a)||cka.test(a)||dka.test(a)};
HM=function(a){return eka.test("https://"+a+"/")};
IM=function(a){a=new g.$l(a);am(a,window.document.location.protocol);g.bm(a,window.document.location.hostname);window.document.location.port&&g.cm(a,window.document.location.port);return a.toString()};
JM=function(a){a=new g.$l(a);am(a,window.document.location.protocol);return a.toString()};
KM=function(a){this.B=a;this.C=this.o=this.D="";this.g={};this.A=""};
LM=function(a){a.A||(a.A=fka(a));return a.A};
NM=function(a){MM(a);return a.C};
OM=function(a){MM(a);return Kb(a.g,function(a){return null!==a})};
PM=function(a,b){MM(a);if("/videoplayback"!=a.o){var c=a.clone();c.set("playerfallback",""+b);return c}var c=LM(a),d=new g.$l(c),e=d.o.match("\\.a1\\.googlevideo\\.com$");d.o.match("\\.googlevideo\\.com$")?(g.bm(d,"redirector.googlevideo.com"),c=d.toString()):d.o.match("r[1-9].*\\.c\\.youtube\\.com$")?(g.bm(d,"www.youtube.com"),c=d.toString()):c=IM(c);c=new KM(c);b&&c.set("cmo=pf",""+b);e&&c.set("cmo=td","a1.googlevideo.com");return c};
MM=function(a){if(a.B){if(!QM.test(a.B))throw Error("Untrusted URL: "+a.B);var b=g.mm(a.B);a.D=b.B;a.C=b.o+(null!=b.C?":"+b.C:"");var c=b.A;if(0==c.indexOf("/videoplayback"))a.o="/videoplayback",c=c.substr(14);else if(0==c.indexOf("/api/manifest/")){var d=c.indexOf("/",14);0<d?(a.o=c.substr(0,d),c=c.substr(d+1)):(a.o=c,c="")}else a.o=c,c="";d=a.g;a.g=RM(c);g.za(a.g,SM(b.bw()));g.za(a.g,d);"index.m3u8"==a.g.file&&(delete a.g.file,a.o+="/file/index.m3u8");a.B="";a.A=""}};
fka=function(a){MM(a);var b=a.D+(a.D?"://":"//")+a.C+a.o;if(OM(a)){var c=[];g.Ib(a.g,function(a,b){null!==a&&c.push(b+"="+a)});
b+="?"+c.join("&")}return b};
RM=function(a){a=a.split("/");var b=0;a[0]||b++;for(var c={};b<a.length;b+=2)a[b]&&TM(c,a[b],a[b+1]);return c};
SM=function(a){a=a.split("&");for(var b={},c=0;c<a.length;c++){var d=a[c],e=d.indexOf("=");0<e?TM(b,d.substr(0,e),d.substr(e+1)):d&&(b[d]="")}return b};
TM=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};
UM=function(a){this.g=a;this.o={};this.A=""};
gka=function(a,b){var c=b.indexOf("?");if(0<c){var d=SM(b.substr(c+1));g.Ib(d,function(a,b){this.set(b,a)},a);
b=b.substr(0,c)}d=RM(b);g.Ib(d,function(a,b){this.set(b,a)},a)};
g.VM=function(a){a.A||(a.A=hka(a));return a.A};
hka=function(a){var b=LM(a.g),c=[];g.Ib(a.o,function(a,b){c.push(b+"="+a)});
if(!c.length)return b;var d=c.join("&");a=OM(a.g)?"&":"?";return b+a+d};
WM=function(a,b){var c=new KM(b),d=c.get("req_id");d&&a.set("req_id",d);g.Ib(a.o,function(a,b){c.set(b,null)});
return c};
XM=function(a,b){this.o=a[0].g.C;this.A=b||"";this.g=a;this.range=this.g[0].range&&0<this.g[0].ub?Xja(this.g):null;this.B=window.NaN;this.requestId=null};
g.$M=function(a,b,c,d){var e;if(/http[s]?:\/\//.test(a.A))e=new UM(new KM(a.A));else{var f=a.o;e=f.D;if(b.A){if(b=YM(c,NM(e)),2<=b.ug||1<=b.g)f=ZM(f),c=YM(c,NM(f)),c.ug+c.g<=b.ug+b.g&&(e=f)}else 0<f.A&&(e=ZM(f));e=new UM(e);a.A&&gka(e,a.A)}(d=d||a.range)&&e.set("range",d.toString());a.requestId&&e.set("req_id",a.requestId);(0,window.isNaN)(a.B)||e.set("headm",a.B.toString());return e};
aN=function(a){if(a.range)return a.range.length;a=a.g[0];return Math.round(a.F*a.g.info.g)};
ika=function(){this.g=this.ug=this.o=this.A=0};
bN=function(a){a.A=(0,g.AG)();a.o=0;a.ug=0;a.g=0};
YM=function(a,b){a[b]||(a[b]=new ika);return a[b]};
jka=function(a){this.C=a.clone();this.D=a;this.o=null;this.A=0;this.B=-1;this.g=0};
ZM=function(a){a.o||(a.o=PM(a.C,a.A||1));return a.o};
cN=function(a,b,c,d){this.index=null;this.info=b;this.initRange=c||null;this.wj=!(void 0===d||!d);this.g=null;this.B=this.o=!1;this.C=new jka(a);this.F=null};
dN=function(a){if(a.wj&&a.info&&a.info.video&&a.g&&4==a.info.video.projectionType)if(1==a.info.o)a.F=Nja(a.g);else if(2==a.info.o){var b=new window.DataView(a.g.buffer,a.g.byteOffset,a.g.byteLength);a.F=Yja(b)}};
eN=function(a,b,c,d,e,f,k){k=void 0===k?0:k;cN.call(this,a,b,d,void 0===f?!1:f);this.index=e||new g.CK;this.G=k;this.H=c;this.D=!0;if(this.A=!c)this.o=!0};
fN=function(){this.segments=[]};
gN=function(a,b){return g.vb(a.segments,{Oa:b},function(a,b){return a.Oa-b.Oa})};
hN=function(a,b,c,d){eN.call(this,a,b,"",void 0,new fN,c,d)};
iN=function(a){return a.match(/^(\d{4})-(\d{2})-(\d{2})T(\d{2})\:(\d{2})\:(\d{2})\.(\d{3})$/)?a+"Z":a};
jN=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""};
kN=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};
lN=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)};
kka=function(a,b,c,d,e){this.Oa=a;this.Jd=b;this.durationSecs=c;this.g=d||window.NaN;this.o=e||window.NaN};
mN=function(){this.g=[];this.o=null;this.C=0;this.B=[];this.A=!1;this.D=""};
lka=function(a){var b=a.B;a.B=[];return b};
mka=function(){this.B=[];this.g=null;this.o={};this.A={}};
qka=function(a,b,c){var d=[];b=b.getElementsByTagName("SegmentTimeline");for(var e=0;e<b.length;e++){var f=b[e].parentNode.parentNode,k=null;"Period"==f.nodeName?k=nka(a):"AdaptationSet"==f.nodeName?(f=f.attributes.id?f.attributes.id.value:f.attributes.mimetype.value,k=oka(a,f)):"Representation"==f.nodeName&&(f=f.attributes.id.value,k=pka(a,f));if(null==k)return;k.update(b[e],c);ob(d,lka(k))}yb(d,function(a){return a.Jd});
ob(a.B,d)};
rka=function(a){a.g&&(a.g.g=[]);g.Ib(a.o,function(a){a.g=[]});
g.Ib(a.A,function(a){a.g=[]})};
nka=function(a){a.g||(a.g=new mN);return a.g};
oka=function(a,b){a.o[b]||(a.o[b]=new mN);return a.o[b]};
pka=function(a,b){a.A[b]||(a.A[b]=new mN);return a.A[b]};
g.nN=function(){this.Ka=0;this.g=new window.Float64Array(128);this.o=new window.Float64Array(128);this.B=1;this.A=!1};
oN=function(a){if(a.g.length<a.Ka+1){var b=2*a.g.length,b=b+2,c=a.g;a.g=new window.Float64Array(b+1);var d=a.o;a.o=new window.Float64Array(b+1);for(b=0;b<a.Ka+1;b++)a.g[b]=c[b],a.o[b]=d[b]}};
pN=function(a,b,c,d,e,f,k){cN.call(this,a,b,c||void 0,void 0===k?!1:k);this.indexRange=d;this.D=null;this.index=new g.nN;this.A=e;this.lastModified=f};
qN=function(a,b,c,d){for(var e=[];b<=a.index.Bc();b++){var f=a.index,f=fM(f.kn(b),b+1<f.Ka||f.A?f.g[b+1]-f.g[b]:-1),k=a.index.ng(b),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 gM(3,a,f,b,k,l,m,n,b==a.index.Bc()&&m+n==f.length));if(f.start+m+n>=c+d)break}return new XM(e)};
rN=function(a,b,c){return a(b,c).then(function(b){var d=!b.responseText||2048<b.responseText.length?"":0==b.responseText.indexOf("https://")?b.responseText:"";return d?rN(a,d,c):b})};
ska=function(a,b){return rN(function(a,b){return lF(a,b,4,1E3)},a,b)};
sN=function(a,b,c){a=void 0===a?"":a;b=void 0===b?null:b;c=void 0===c?!1:c;g.ZF.call(this);this.S=this.duration=0;this.isLive=this.A=!1;this.J=(0,g.AG)();this.D=window.Infinity;this.g={};this.ba=a||"";this.F=this.L=0;this.C=null;this.ka=!!b&&b.g("html5_live_nonzero_first_segment_start_time");this.o=!1;this.G=[];this.na=!!b&&b.g("html5_live_self_init_segments");this.B=null;this.ra=c;this.ga=!b||!b.g("html5_manifest_without_credentials");this.M=0;this.N=!!b&&b.g("disable_html5_manifest_namespace_redux");
this.da="";this.H=window.NaN;this.fa=b&&b.g("disable_html5_duration_caching")?window.Infinity:10;this.ca=!!b&&b.o("html5_stale_dash_manifest_retry_factor")||1};
tka=function(a){return Kb(a.g,function(a){return!!a.info.video&&2160<=a.info.video.o})};
tN=function(a){return Kb(a.g,function(a){return!!a.info.Tc})};
uN=function(a,b,c,d,e){c=void 0===c?0:c;e=void 0===e?!1:e;return(void 0===d?0:d)?uka(a,b,e):vka(a,b,c,e)};
vka=function(a,b,c,d){c=void 0===c?0:c;d=void 0===d?!1:d;var e=new sN;e.duration=c||0;(0,g.H)(a,function(a){var c=vN(a,b,e.duration),f=eM(a.init),m=eM(a.index),n=(0,window.parseInt)(a.clen,10),q=wN(a.url,c,a.s);a=(0,window.parseInt)(a.lmt,10);q&&(c=new pN(q,c,f,m,n,a,d),e.g[c.info.id]=c)});
return e};
uka=function(a,b,c){c=void 0===c?!1:c;var d=new sN("",null,!0);(0,g.H)(a,function(a){var e=vN(a,b),k=wN(a.url,e,a.s);a=(0,window.parseInt)(a.target_duration_sec,10);k&&(e=new hN(k,e,c,a),d.g[e.info.id]=e)});
d.A=!0;d.o=!0;d.isLive=!0;return d};
vN=function(a,b,c){c=void 0===c?0:c;var d=a.type,e=a.itag,f=wka(a),k=null;VI(d)&&(k=(a.size||"640x360").split("x"),k=new NI(+k[0],+k[1],+a.fps,+a.projection_type,void 0,void 0,!!a.isAccelerated,a.quality_label,a.eotf,a.primaries,!!a.isAcceleratedUiEnabled),d=xka(d,k));var l=null,m=null;if(UI(d)){l=0;if("258"==e||"261"==e)l=6;l=new KI(l,+a.spatial_audio_type);a.name&&(m=new uI(a.name,a.audio_track_id,"1"==a.isDefault))}var e=(0,window.parseInt)(a.bitrate,10)/8,n=(0,window.parseInt)(a.clen,10);c=c&&
n?n/c:0;var q=null;b&&a.drm_families&&(q={},(0,g.H)(a.drm_families.split(","),function(a){q[a]=b[a]}));
return new QI(f,d,l,k,m,q,e,c)};
wka=function(a){var b=a.itag;a.xtags&&(b=a.itag+";"+a.xtags);return b};
wN=function(a,b,c){c=void 0===c?"":c;a=new KM(a);a.set("alr","yes");a.set("keepalive","yes");a.set("ratebypass","yes");a.set("mime",(0,window.encodeURIComponent)(b.mimeType.split(";")[0]));c&&a.set("signature",yE(c));return a};
zN=function(a,b){var c=jN(b,"id"),c=c.replace(":",";");"captions"==c&&(c=jN(b,"lang"));var d=jN(b,"mimeType"),e=jN(b,"codecs"),d=e?d+'; codecs="'+e+'"':d,e=(0,window.parseInt)(jN(b,"bandwidth"),10)/8,f=(0,window.parseInt)(kN(b,"BaseURL").getAttribute(xN(a,"contentLength")),10),f=a.duration&&f?f/a.duration:0,k=null;if(VI(d)){var k=(0,window.parseInt)(jN(b,"width"),10),l=(0,window.parseInt)(jN(b,"height"),10),m=(0,window.parseInt)(jN(b,"frameRate"),10),n=jN(b,xN(a,"projectionType")),q=jN(b,xN(a,"stereoLayout")),
n="equirectangular"==n,r,v;n&&"layout_top_bottom"==q?r=3:n&&!q?r=2:"layout_left_right"==q&&(v=1);k=new NI(k,l,m,r,v)}v=r=null;if(UI(d)){jN(b,"audioSamplingRate");r=(0,window.parseInt)(jN(b.getElementsByTagName("AudioChannelConfiguration")[0],"value"),10);var x;v=jN(b,xN(a,"spatialAudioType"));"spatial_audio_type_ambisonics_5_1"==v?x=1:"spatial_audio_type_ambisonics_quad"==v&&(x=2);r=new KI(r,x);x=jN(b,"lang")||"und";(v=kN(b,"Role"))?(m=jN(v,"value")||"",Qb(yN,m)?(v=x+"."+yN[m],l="main"==m,x=jN(b,
xN(a,"langName"))||x+" - "+m,v=new uI(x,v,l)):v=null):v=null}l=null;if(x=kN(b,"ContentProtection"))if(g.YE())if((l=x.attributes.schemeIdUri)&&"http://youtube.com/drm/2012/10/10"==l.value)for(l={},x=x.firstChild;null!=x;x=x.nextSibling)"yt:SystemURL"==x.nodeName&&(l[x.attributes.type.value]=x.textContent.trim());else l=null;else if((l=x.attributes.schemeIdUri)&&"http://youtube.com/drm/2012/10/10"==l.textContent)for(l={},x=x.firstChild;null!=x;x=x.nextSibling)"SystemURL"==x.localName&&"http://youtube.com/yt/2012/10/10"==
x.namespaceURI&&(l[x.attributes.type.textContent]=x.textContent.trim());else l=null;return new QI(c,d,r,k,v,l,e,f)};
AN=function(a,b){b=void 0===b?"":b;a.F=1;a.J=(0,g.AG)();return g.eg(ska(b||a.ba,{format:"RAW",method:"GET",withCredentials:a.ga}).then((0,g.A)(a.vG,a)),(0,g.A)(a.yG,a))};
yka=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=eM(a):d=d+"?range="+a));return new BK(b.Oa,b.Jd,b.durationSecs,b.g,d,e,b.o)};
BN=function(a){return a.isLive&&(0,g.AG)()-a.J>=a.D};
CN=function(a,b){var c=b||1<=a.ca?a.D:a.D*a.ca*(1+Math.random());(0,window.isFinite)(c)&&(BN(a)?a.Mx():(c=Math.max(0,a.J+c-(0,g.AG)()),a.B||(a.B=new g.Jt(a.Mx,c,a),g.N(a,a.B)),a.B.start(c)))};
DN=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.Ob()){b=0;for(c=d.Hi();c<=d.Bc();c++)b+=d.getDuration(c);b/=d.Em();b=.5*Math.round(b/.5);d.Em()>a.fa&&(a.H=b);return b}if(a.isLive&&(d=b[c],d.G))return d.G}return window.NaN};
$J=function(a,b){for(var c in a.g){var d=a.g[c].index;if(d&&d.Ob()){var e=d.Og(b),f=d.pr(e);if(f)return f+b-d.ng(e)}}return window.NaN};
zka=function(a,b){g.Ib(a.g,function(a){g.Ib(b,function(b,c){var d=a.C;d.D.set(c,b);d.C.set(c,b);d.o&&d.o.set(c,b)})})};
EN=function(a,b){var c=!1,d;for(d in a.g)b.Oa>=a.g[d].index.Bc()&&(a.g[d].index.Lx(b),c=!0);return c};
xN=function(a,b){return a.N?"yt:"+b:a.da+":"+b};
xka=function(a,b){if('video/webm; codecs="vp9.2"'!=a)return a;null===FN&&(FN=window.MediaSource&&window.MediaSource.isTypeSupported&&window.MediaSource.isTypeSupported('video/webm; codecs="vp09.02.51.10.01.09.16"')&&!window.MediaSource.isTypeSupported('video/webm; codecs="vp09.02.51.10.01.09.99"'));FN&&(a='video/webm; codecs="vp09.02.51.10.01.'+("bt2020"==b.primaries?"09":"01")+"."+("smpte2084"==b.g?"16":"arib-std-b67"==b.g?"18":"01")+'"');return a};
GN=function(a,b,c){this.g=a;this.o=b;this.C=c;this.B={};this.A=null;this.fairPlayCert=""};
IN=function(a){return!a.A&&!!HN()&&"com.microsoft.playready"==a.o};
JN=function(a){return!a.A&&!!HN()&&"com.apple.fps.1_0"==a.o};
HN=function(){var a=window.MSMediaKeys;bF()&&!a&&(a=window.WebKitMediaKeys);return a&&a.isTypeSupported?a:null};
MN=function(a){return window.navigator.requestMediaKeySystemAccess?g.cF?ui("45"):g.KN?a.g("edge_nonprefixed_eme"):g.LN?ui("47"):!a.g("html5_no_nonprefixed_eme_for_other"):!1};
NN=function(a,b,c){this.videoInfos=a;this.g=b||null;this.audioTracks=[];this.o=c||null;if(this.g){var d={};(0,g.H)(this.g,(0,g.A)(function(a){if(a.Nc&&!d[a.id]){var b=new yI(a.id,a.Nc);d[a.id]=b;this.audioTracks.push(b)}},this))}};
ON=function(a){this.A=a||null;this.o=0;this.g=null};
PN=function(a){var b=new ON;b.o=2;b.g=a;return b};
QN=function(a){var b=new ON;b.o=1;b.g=a;return b};
Aka=function(a,b,c){this.A=a;this.g=b;this.D=c;this.B={};this.C=!!g.w("cast.receiver.platform.canDisplayType");this.o=!this.C&&g.w("cast.receiver.platform.getValue")&&window.cast.receiver.platform.getValue("max-video-resolution-vpx")||null};
TN=function(a,b,c){if(2.2!=RN&&gL(a.g)||c)return PN();var d={};a=fL();b=g.ia(b);for(c=b.next();!c.done;c=b.next())if(c=c.value,PI(c.te)in Bka||"5"==PI(c.te)?0:SN(a,c.te.mimeType)){var e=c.te.video.quality;d[e]&&2!=d[e].te.o||(d[e]=c)}var f=[];d.auto&&f.push(d.auto);(0,g.H)(LI,function(a){(a=d[a])&&f.push(a)});
return QN(f)};
UN=function(){var a=XE()&&!ui(29),b=WE("google tv")&&WE("chrome")&&!ui(30);return a||b?!1:!!(window.MediaSource||window.WebKitMediaSource||window.HTMLMediaElement&&window.HTMLMediaElement.prototype.webkitSourceAddId)};
SN=function(a,b){var c=a.canPlayType(b);CL?c=c||Cka[b]:2.2==RN?c=c||Dka[b]:XE()&&(c=c||Eka[b]);return!!c};
g.VN=function(){return!(!SN(fL(),"application/x-mpegURL")&&!UN())};
WN=function(a,b){var c={},d;for(d in b.g){var e=b.g[d];("304"!=PI(e.info)||b.A)&&Fka(a,e.info)&&(c[e.info.A]=c[e.info.A]||[],c[e.info.A].push(e.info))}return c};
Gka=function(a,b,c){var d={},e;g.Ib(b,function(a,b){var f=a.filter(function(a){return a.Tc?c&&a.Tc[c.g]&&c.B[a.mimeType]?"261"!=PI(a)||bM(this,XN)?!0:(e||(e=fL()),!1):!1:!0},this);
f.length&&(d[b]=f)},a);
return d};
bO=function(a,b,c,d,e){function f(a){return!!k[a]}
var k=WN(a,b);tN(b)&&(k=Gka(a,k,c));var l=a.A.g("html5_disable_vp9_hdr_enc")?Hka:Ika;a.g?!WE("windows nt 5.1")||g.LN&&!a.A.g("html5_prefer_h264_on_xp")?(b.Qh()||b.mg())&&YN&&6>=RN&&(l=ZN):l=ZN:l=Jka;c=Kka;d&&(a.g&&(l=ZN),c=Lka);if(ZE()||$E()||bM(a,XN))c=Mka;(b.Qh()||b.mg())&&e&&(c=Nka.concat(c));b=g.Za(l,f);d=g.Za(c,f);if(!b||!d)return PN();"9"==b&&k.h&&(e=function(a,b){return Math.max(a,b.video.height)},c=Ud(k["9"],e,0),Ud(k.h,e,0)>1.5*c&&(b="h"));
e=k[b];c=k[d];e=$N(a,e);aO(e,c);return QN(new NN(e,c,Oka(a,k,b,d)))};
Oka=function(a,b,c,d){var e=a.g?b.h:b[c];b=b.a;c=a.g&&"h"!=c;return e&&b&&(c||"a"!=d)?(e=$N(a,e),aO(e,b),new NN(e,b)):null};
aO=function(a,b){g.xb(a,function(a,b){return b.video.height*b.video.width-a.video.height*a.video.width||b.g-a.g});
g.xb(b,function(a,b){return b.g-a.g})};
$N=function(a,b){var c=(0,g.Sk)(b,function(a){return 32<a.video.fps});
c&&(b=a.D||bM(a,cO)?(0,g.Ae)(b,function(a){var b;(b=32<a.video.fps)||(a=a.video,b=!(854<a.width||480<a.height));return b}):(0,g.Ae)(b,function(a){return!(32<a.video.fps)}));
c&&ZE()&&(b=(0,g.Ae)(b,function(a){return"299"!=PI(a)}));
return b};
Fka=function(a,b){if("0"==PI(b)&&!a.g)return!0;var c=b.mimeType;if(b.video&&(OI(b.video)||"bt2020"==b.video.primaries)&&48!=window.screen.pixelDepth&&!bM(a,dO)||"338"==PI(b)&&!(a.A.g("html5_chrome_ambisonics_opus")&&g.cF&&ui(53)))return!1;var d={};b.video&&(b.video.width&&(d[eO.name]=b.video.width),b.video.height&&(d[fO.name]=b.video.height),b.video.fps&&(d[cO.name]=b.video.fps),b.video.g&&(d[dO.name]=b.video.g),b.g&&(d[cM.name]=8*b.g),"("==b.A&&(d[gO.name]="subsample"));b.audio&&b.audio.g&&(d[XN.name]=
b.audio.g);for(var e in hO){var f=hO[e];if(d[f.name]&&!(f==dO&&0<b.mimeType.indexOf("vp09.02")))if(bM(a,f))if(a.o){if(a.o[f.name]<d[f.name])return!1}else c=c+"; "+f.name+"="+d[f.name];else if(SI(b)&&f==dO)return!1}!a.A.g("disable_html5_cast_hdcp_filter2")&&a.C&&b.video&&1080<b.video.o&&b.Tc&&(c+="; hdcp=2.2");return iO(a,c)};
bM=function(a,b){if(!(b.name in a.B)){var c=a.B,d=b.name,e;a.o?e=!!a.o[b.name]:(b.video?(e='video/webm; codecs="vp9"',iO(a,e)||(e='video/mp4; codecs="avc1.4d401e"')):(e='audio/webm; codecs="opus"',iO(a,e)||(e='audio/mp4; codecs="mp4a.40.2"')),e=iO(a,e+"; "+b.name+"="+b.valid)&&!iO(a,e+"; "+b.name+"="+b.Oh));c[d]=e}return a.B[b.name]};
iO=function(a,b){return a.C?window.cast.receiver.platform.canDisplayType(b):YL(b)};
jO=function(){g.ZF.call(this);this.Na={}};
kO=function(a,b,c){if(!a.Na[b]&&(c.zh||c.Aj)){var d=a.Na,e=c;Object.isFrozen&&!Object.isFrozen(c)&&(e=Object.create(c),Object.freeze(e));d[b]=e;a.V("vast_info_card_add",b)}};
pO=function(a,b){var c;(c=a.adformat)||(c=(c=a.attrib)&&Qb(lO,c)&&Qb(mO,c)?mO[c]+"_"+lO[c]:void 0);if(!c)return null;var d=c.match(nO);if(!d||5!=d.length)return null;d=oO(c,b.experiments);return b.A||b.Hb||d?c:null};
oO=function(a,b){var c=a.match(nO),d=(0,window.parseInt)(c[1],10),c=(0,window.parseInt)(c[3],10),e=[7,8,10];b.g("disable_indisplay_adunit_on_embedded")&&(e.push(5),e.push(6));return!(1==d&&8==c)&&0<=e.indexOf(c)};
qO=function(a,b){return void 0==b?a:"1"==b?!0:!1};
rO=function(a,b,c){for(var d in c)if(c[d]==b)return c[d];return a};
sO=function(a,b){return void 0==b?a:Number(b)};
tO=function(a,b){return void 0==b?a:b.toString()};
uO=function(a,b){if(b){if("fullwidth"==a)return window.Infinity;if("fullheight"==a)return 0}if(a){var c=a.match(Pka);if(c){var d=(0,window.parseFloat)(c[2]);if(0<d)return(0,window.parseFloat)(c[1])/d}}return window.NaN};
vO=function(a,b){var c=MI.auto,d=MI[b];return d>MI.medium?new $I(d,c,!1):d>=c?new $I(c,d,!1):a};
wO=function(a){return a.docid||a.video_id||a.videoId||a.id};
yO=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++){for(var c=(0,g.G)(),d=0;d<c%23;d++)a[b]=Math.random();a[b]=Math.floor(256*Math.random())}if(b=xO)for(c=1,d=0;d<b.length;d++)a[c%16]=a[c%16]^a[(c-1)%16]/4^b.charCodeAt(d),c++;return a};
zO=function(){for(var a=yO(),b=[],c=0;c<a.length;c++)b.push("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_".charAt(a[c]&63));return b.join("")};
g.AO=function(){return(0,g.I)(yO(),function(a){return(a&15).toString(16)}).join("")};
MO=function(a){g.M.call(this);a=Wb(a);this.g="detailpage";this.ba=null;this.Vq=this.Ab=this.da=!1;this.J={};this.ph=tO("",a.csp_nonce);this.experiments=new XI(a.fexp,a.fflags);this.forcedExperiments=a.forced_experiments||null;var b;try{b=window.document.location.toString()}catch(f){b=""}this.qb=b;var c=this.N=(this.A=Qka.test(this.qb))?tO("",a.loaderUrl):this.qb,d=this.experiments.g("disable_trusted_ad_domains_player_check");b=Rka.test(c);if(d=!d)d=(new RegExp("^(https?:)?//([a-z0-9-]{1,63}\\.)*("+
Ska.join("|").replace(/\./g,".")+")(:[0-9]+)?([/?#]|$)","i")).test(c);!b&&d&&(c=Error("isTrustedLoader("+c+") behavior is not consistent"),.01>Math.random()&&g.zE(c,"WARNING"));this.Hb=b||d;this.Je=BO.test(this.N);this.fa=(this.hP=(this.yg=qO(!1,a.ssl_stream))||qO(!1,a.ssl))?"https":"http";this.baseYtUrl=FM(a.BASE_YT_URL)||FM(this.qb)||this.fa+"://www.youtube.com/";"adunit"==a.el?this.g=this.Je?"adunit":"embedded":"embedded"==a.el||this.Hb?this.g=rO(this.g,a.el,Tka):a.el&&(this.g="embedded");CG();
b=null;c=a.ps;d=g.cb(CO,c);!c||d&&!this.Hb||(b=c);this.o=b;this.H=(this.xc=g.cb(CO,this.o))&&"play"!=this.o&&"jamboard"!=this.o;this.ee=!this.H;b={};this.B=(b.c=a.c||"web",b.cver=a.cver||"html5",b.cplayer="UNIPLAYER",b);this.va=!(!fL().defaultPlaybackRate||g.Xe&&!WE("chrome")||DO||EO||WE("android")||WE("silk"));this.isMobile=qO("blazer"==this.o,a.is_html5_mobile_device);this.li=this.experiments.g("uniplayer_dbp")&&this.isMobile&&(!this.A||XE()&&ui(54));this.S="3"==this.C||this.isMobile||qO(!1,a.use_media_volume);
this.L=hL();this.rq=FO;this.Ec=(g.GO(this)||"TV_UNPLUGGED_CAST"==this.B.c)&&this.experiments.g("use_rawcc_captions");this.D=qO(!1,a.is_dni);this.gb=tO("#cc181e",a.dni_color);this.Mb=qO("adunit"!=this.g&&"detailpage"!=this.g&&!this.xc,this.experiments.g("embed_show_infobar")&&!this.D||a.showinfo);this.kf=qO(!1,a.playsinline);b=this.isMobile&&YN&&2.3>=RN;c=this.isMobile&&!(this.experiments.g("html5_prefer_standard_controls")&&g.En&&!gF());c=HO(this)||!b&&qO(c,a.use_native_controls)?"3":"1";this.C="0"!=
a.controls?c:"0";this.useTabletControls=this.isMobile;this.color=rO("red",a.color,Uka);this.mi="3"==this.C||qO(!1,a.modestbranding)&&"red"==this.color;this.ga=0==this.N.indexOf(this.baseYtUrl);this.Ag=(c=!this.ga&&"detailpage"!=this.g&&!this.H&&!this.xc)&&(this.D||!this.mi)&&"1"==this.C;this.Bg="embedded"==this.g&&c&&!this.Mb&&!this.Ag;this.gP=this.Il=b;this.md=!EO||g.jc(601)?!0:!1;this.th=this.A||!1;this.na="detailpage"==this.g?"":(this.N||a.post_message_origin||"").substring(0,128);this.widgetReferrer=
tO("",a.widget_referrer);this.tb=(!this.Hb||qO(!0,a.enablecastapi))&&"1"==this.C&&!this.isMobile&&("detailpage"==this.g||"embedded"==this.g||"profilepage"==this.g);this.qh=(this.ca=qO(!1,a.autoplay))||"detailpage"==this.g;this.hc=!this.isMobile&&!eF()&&!WE("nintendo 3ds")||qO(!1,a.autoplayoverride);this.oc=this.L&&!HO(this)&&this.experiments.g("mweb_muted_autoplay")&&(zi&&g.jc(602)||g.En&&g.cF&&g.jc(53)&&!gF());b=("detailpage"==this.g||"adunit"==this.g)&&("blazer"==this.o||"mweb-polymer"==this.o);
this.yb=!qO(!0,a.fs);this.ra=!this.yb&&(b||DF());this.Zb=qO(!1,a.force_rel)||qO(!this.xc,a.rel);this.ar="adunit"!=this.g;this.Qa="profilepage"==this.g;this.Eb="blazer"==this.o||"mweb-polymer"==this.o;switch(this.o){case "blogger":b="bl";break;case "gmail":b="gm";break;case "books":b="gb";break;case "docs":b="gd";break;case "google-live":b="gl";break;case "play":b="gp";break;case "picasaweb":b="pw";break;default:b="yt"}this.Ta=b;this.tc=tO("",a.authuser);this.sK=(this.experiments.g("embed_show_watchlater_login")&&
this.A||!!this.tc)&&qO(!this.H,a.showwatchlater);this.Nd=qO(!1,a.disablekb);this.ce=tO("",a.ecver);this.sh=this.experiments.g("mweb_autonav")&&IO();this.loop=qO(!1,a.loop);this.pageId=tO("",a.pageid);this.lm=vO(dJ,a.vq);this.wm=tO("",a.playerapiid);this.Zq=qO(!0,a.canplaylive);this.rh=qO(this.xc,a.ss);(b=a.video_container_override)?(c=b.split("x"),2!=c.length?b=null:(b=(0,window.parseInt)(c[0],10),c=(0,window.parseInt)(c[1],10),b=(0,window.isNaN)(b)||(0,window.isNaN)(c)||0>=b*c?null:new g.Yd(b,c))):
b=null;this.Dg=b;this.mute=(this.Hb||this.Je)&&qO(!1,a.mute);this.storeUserVolume=!this.mute&&qO("0"!=this.C,a.store_user_volume);this.Gg="3"==this.C?3:rO(void 0,a.iv_load_policy,JO);this.wi=tO("",a.cc_lang_pref);b=rO(2,a.cc_load_policy,JO);"3"==this.C&&2==b&&(b=3);this.Hg=b;this.sa=void 0==a.content_v?void 0:a.content_v.toString();this.uh=void 0==a.framer?void 0:a.framer.toString();this.Ea=tO("en_US",a.hl);this.region=tO("US",a.cr);this.hostLanguage=tO("en",a.host_language);this.fe=qO(!1,a.privembed);
this.jf="";this.wb=new window.Set;this.F=qO(!0,a.deviceHasDisplay);this.lg=sO(this.lg,a.ismb);this.Sf(a);this.J=a;this.G=new jO;g.N(this,this.G);this.aa=this.isMobile;b=a;b.innertube_api_key&&b.innertube_api_version&&this.B.c&&b.innertube_context_client_version&&this.hostLanguage&&this.region||this.experiments.g("disable_innertube_config_reporting")||g.zE(Error("MISSING_INNERTUBE_CONFIG,api_key="+b.innertube_api_key+",api_version="+b.innertube_api_version+",interface="+this.B.c+",context_client_version="+
b.innertube_context_client_version+",host_language="+this.hostLanguage+",region="+this.region));var c=tO("",b.apiary_host),d=tO("",b.apiary_host_firstparty),e=tO("",b.xhr_apiary_host);this.experiments.g("disable_html5_apiary_url_validation")||(HM(c)||(c=""),HM(d)||(d=""),HM(e)||(e=""));this.de={apiaryHost:c,hp:d,gapiHintOverride:qO(!1,b.gapi_hint_override),gapiHintParams:tO("",b.gapi_hint_params),innertubeApiKey:tO("",b.innertube_api_key),innertubeApiVersion:tO("",b.innertube_api_version),Pq:this.B.c,
innertubeContextClientVersion:tO("",b.innertube_context_client_version),Rq:this.hostLanguage,Qq:this.region,Wm:"",xhrApiaryHost:e};this.zg=void 0!=window.WebKitPlaybackTargetAvailabilityEvent;this.M=new Aka(this.experiments,this.F,KO(this)||ZE()||$E()||/STEAK/.test(this.B.cmodel));b=new Ija;g.$L(this)&&(b.G=!0,b.D=.1);this.experiments.g("html5_ewma_bandwidth_estimator")&&(b.G=!0);this.experiments.g("html5_disable_aux_bandwidth_estimator")&&(b.L=!1);this.experiments.g("html5_use_long_term_bandwidth_estimator")&&
(b.M=!0,b.F=this.experiments.o("html5_long_term_bandwidth_window_size")||b.F);this.experiments.g("html5_elbow_tracking_tweaks")&&(b.H=!0,b.g=2048);this.lg&&(b.C=this.lg/8);b.B=this.experiments.o("html5_bandwidth_multisample_width")||b.B;b.o=this.experiments.o("html5_bandwidth_window_size")||b.o;b.J=this.experiments.g("html5_stall_pctile");this.schedule=new Kja(b);this.enableSafetyMode=qO(!1,a.enable_safety_mode);this.Ld=LO(this)&&"blazer"!=this.o&&"mweb-polymer"!=this.o;this.Ja=qO(!1,a.send_visitor_id_header)||
this.experiments.B;this.xh=!1;this.lf=dJ};
NO=function(a,b){a.Md=b.get("d",a.Md);a.ac=b.get("f",a.ac)};
SJ=function(a,b,c){return b.dh&&(a.experiments.g("legacy_autoplay_flag")||"detailpage"!=a.g||c||b.Ym)};
OO=function(a){return a.experiments.g("king_crimson_player_redux")&&!a.xc&&XE()&&ui(55)&&!a.isAd()};
PO=function(a){var b=g.wg(a.baseYtUrl);(a=g.xg(a.baseYtUrl))&&(b+=":"+a);return"www.youtube-nocookie.com"==b?"www.youtube.com":b};
QO=function(a){return"gaming"==a.o?"gaming.youtube.com":PO(a)};
RO=function(a,b,c){return a.fa+"://i1.ytimg.com/vi/"+b+"/"+(c||"hqdefault.jpg")};
SO=function(a){return"detailpage"==a.g&&"gaming"!=a.o&&!g.GO(a)};
HO=function(a){return EO&&!a.kf||eF()||WE("nintendo 3ds")?!0:!1};
g.$L=function(a){return dF()||"TV"==a.B.cplatform};
g.TO=function(){return 1<window.devicePixelRatio?window.devicePixelRatio:1};
KO=function(a){return"web"==a.B.c.toLowerCase().substr(0,3)};
g.GO=function(a){return"WEB_UNPLUGGED"==a.B.c};
IO=function(){g.w("yt.mobile.blazer.blazer_config.isMobilePersistentUniplayer");return!1};
g.UO=function(a){return a.F&&g.cF&&!CL&&"3"!==a.C?g.En?a.experiments.g("spherical_on_android_iframe")&&a.A&&g.jc(51):!0:!1};
g.VO=function(a){return a.F&&g.LN&&!CL&&"3"!==a.C?g.En?a.experiments.g("spherical_on_android_iframe")&&a.A&&g.jc(48):g.jc(38):!1};
XO=function(a){return g.UO(a)||g.VO(a)||(a.F&&g.Xe&&!CL&&"3"!==a.C?g.En?a.experiments.g("spherical_on_android_iframe")&&a.A&&g.jc(37):g.jc(27):!1)||a.F&&g.WO&&!fF()&&g.jc(11)};
Vka=function(a){return a.experiments.g("disable_html5_ambisonic_audio")||!(XO(a)||a.experiments.A||a.experiments.g("html5_enable_spherical3d"))||"embedded"==a.g&&YN||g.LN&&(!g.jc(47)||!g.jc(52)&&g.jc(51))?!1:window.AudioContext||window.webkitAudioContext?!0:!1};
LO=function(a){return"detailpage"==a.g||"detailpage"==a.ba};
g.YO=function(a,b){this.version=a;this.args=b};
g.ZO=function(a,b){this.topic=a;this.g=b};
g.aP=function(a,b){var c=$O();c&&c.publish.call(c,a.toString(),a,b)};
g.eP=function(a,b,c){var d=$O();if(!d)return 0;var e=d.subscribe(a.toString(),function(d,k){var f=g.w("ytPubsub2Pubsub2SkipSubKey");f&&f==e||(f=function(){if(bP[e])try{if(k&&a instanceof g.ZO&&a!=d)try{var f=a.g,l=k;if(!l.args||!l.version)throw Error("yt.pubsub2.Data.deserialize(): serializedData is incomplete.");var q;try{if(!f.mh){var r=new f;f.mh=r.version}q=f.mh}catch(v){}if(!q||l.version!=q)throw Error("yt.pubsub2.Data.deserialize(): serializedData version is incompatible.");try{k=window.Reflect.construct(f,
g.nb(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.zE(v)}},cP[a.toString()]?g.JG()?g.KG(f,1,void 0):g.GE(f,0):f())});
bP[e]=!0;dP[a.toString()]||(dP[a.toString()]=[]);dP[a.toString()].push(e);return e};
g.fP=function(a){var b=$O();b&&(g.ta(a)&&(a=[a]),(0,g.H)(a,function(a){b.unsubscribeByKey(a);delete bP[a]}))};
$O=function(){return g.w("ytPubsub2Pubsub2Instance")};
hP=function(a,b){var c=g.eP(gP,function(d){a.apply(b,arguments);g.fP(c)},b);
return c};
iP=function(a,b){g.YO.call(this,1,arguments);this.g=a};
kP=function(a){this.g=a||window;this.H=this.A=0;if(this.g.performance&&this.g.performance.timing&&this.g.performance.getEntriesByType){a=g.je(this.g||window);this.G=new g.Qg(0,0,a.width,a.height);a=[];for(var b=this.g.document.getElementsByTagName("*"),c=0,d=b.length;c<d;c++){var e=b[c];if("IMG"==e.tagName||"IFRAME"==e.tagName){var f=jP(this,e,e.src);if(f){if("IFRAME"==e.tagName){var k;try{k=(new kP(e.contentWindow)).A}catch(l){k=0}0<k&&(f.timing=k)}a.push(f)}}(f=this.g.getComputedStyle(e)["background-image"])&&
(f=kP.g.exec(f))&&1<f.length&&(f=jP(this,e,f[1]))&&a.push(f)}this.o=a;this.C=this.g.performance.getEntriesByType("resource");this.F=this.g.performance.getEntriesByType("mark");k={};a=0;for(b=this.C.length;a<b;a++)c=this.C[a],k[c.name]=c.responseEnd;a=0;for(b=this.F.length;a<b;a++)c=this.F[a],"mark_iframe_loaded: "==c.name.slice(0,20)&&(k[c.name.slice(20)]=c.startTime);a=0;for(b=this.o.length;a<b;a++)c=this.o[a],c.timing||(c.timing=k[c.url]||0);this.D=Wka(this);this.B=Xka(this);e=k=0;if(this.B.length)for(b=
a=0,c=this.B.length;b<c;b++)d=this.B[b],e=d.timing-e,0<e&&1>a&&(k+=(1-a)*e),e=d.timing,a=d.progress;this.A=Math.round(k||this.D);this.H=e}};
jP=function(a,b,c){return c&&b.getBoundingClientRect&&(b=b.getBoundingClientRect(),b=new g.Qg(b.left,b.top,b.width,b.height),g.Tg(b,a.G))?new lP(b,c):null};
Wka=function(a){var b,c=a.g,d=c.performance.timing.navigationStart;if("msFirstPaint"in c.performance.timing)b=c.performance.timing.g-d;else if("chrome"in c&&"loadTimes"in c.chrome){var e=c.chrome.loadTimes(),f=e.firstPaintTime;if(0<f){var k=e.startLoadTime;"requestTime"in e&&(k=e.requestTime);f>=k&&(b=1E3*(f-k))}}if(void 0===b||0>b||12E4<b){b=c.performance.timing.responseStart-d;for(var l={},c=c.document.getElementsByTagName("head")[0].children,d=0,e=c.length;d<e;d++)f=c[d],"SCRIPT"==f.tagName&&f.src&&
!f.async?l[f.src]=!0:"LINK"==f.tagName&&"stylesheet"==f.rel&&f.href&&(l[f.href]=!0);a.C.some(function(a){if(!l[a.name]||"script"!=a.initiatorType&&"link"!=a.initiatorType)return!0;a=a.responseEnd;if(void 0===b||a>b)b=a})}return Math.max(b,0)||0};
Xka=function(a){for(var b={0:0},c=0,d=a.D,e=0,f=a.o.length;e<f;e++){var k=a.o[e],l=d;k.timing>d&&(l=k.timing);b[l]||(b[l]=0);k=g.Ug(k.region).Lc();b[l]+=k;c+=k}e=g.Ug(a.G).Lc();0<e&&(e=.1*Math.max(e-c,0),d in b||(b[d]=0),b[d]+=e,c+=e);d=[];if(c){for(var m in b)a=new mP((0,window.parseFloat)(m),b[m]),d.push(a);d.sort(function(a,b){return a.timing-b.timing});
e=b=0;for(f=d.length;e<f;e++)a=d[e],b+=a.Lc,a.progress=b/c}return d};
lP=function(a,b){this.region=a;this.url=b};
mP=function(a,b){this.Lc=b;this.timing=a};
pP=function(a){nP(a);Yka();oP(!1,a);a||(g.YD("TIMING_ACTION")&&g.XD("PREVIOUS_ACTION",g.YD("TIMING_ACTION")),g.XD("TIMING_ACTION",""))};
DP=function(a,b){a:if(!qP(a)){if(!g.eG("send_empty_timing")){var c=g.YD("CSI_SERVICE_NAME","youtube");if(!g.YD((a||"")+"TIMING_ACTION",void 0)||!c)break a}g.rP("aa",void 0,a);g.sP("ap",1,a);g.sP("yt_fss","c",a);if(g.eG("enable_csi_abandonment_info")&&!a&&!tP("yt_lt")){var c=g.YD("TIMING_INFO",{}),d;for(d in c)g.sP(d,c[d]);g.sP("is_nav",1);(d=g.YG())&&g.sP("csn",d);(d=g.YD("PREVIOUS_ACTION",void 0))&&g.sP("pa",d);c=uP();c.p=g.YD("CLIENT_PROTOCOL")||"unknown";c.t=g.YD("CLIENT_TRANSPORT")||"unknown";
vP.now&&vP.timing?(d=vP.timing.navigationStart+vP.now(),d=Math.round((0,g.G)()-d)):d=null;null!=d&&g.sP("yt_hrd",d);window.navigator&&window.navigator.sendBeacon&&g.sP("ba",1);g.sP("yt_vis",wP());if("cold"==c.yt_lt){d=vP.timing||{};g.eG("cold_load_nav_start_web")&&d.navigationStart&&(g.rP("srt",d.responseStart),1!=c.prerender&&xP("n",d.navigationStart));b:if(d.msFirstPaint)c=Math.max(0,d.msFirstPaint);else{if(c=window.chrome)if(c=c.loadTimes,g.ua(c)){var c=c(),e=1E3*Math.min(c.requestTime||window.Infinity,
c.startLoadTime||window.Infinity),e=window.Infinity===e?0:d.navigationStart-e,c=Math.max(0,Math.round(1E3*c.firstPaintTime+e)||0);break b}c=0}0<c&&g.rP("fpt",c);g.rP("nreqs",d.requestStart,void 0);g.rP("nress",d.responseStart,void 0);g.rP("nrese",d.responseEnd,void 0);0<d.redirectEnd-d.redirectStart&&(g.rP("nrs",d.redirectStart,void 0),g.rP("nre",d.redirectEnd,void 0));0<d.domainLookupEnd-d.domainLookupStart&&(g.rP("ndnss",d.domainLookupStart,void 0),g.rP("ndnse",d.domainLookupEnd,void 0));0<d.connectEnd-
d.connectStart&&(g.rP("ntcps",d.connectStart,void 0),g.rP("ntcpe",d.connectEnd,void 0));d.secureConnectionStart>=d.navigationStart&&0<d.connectEnd-d.secureConnectionStart&&(g.rP("nstcps",d.secureConnectionStart,void 0),g.rP("ntcpe",d.connectEnd,void 0));vP.getEntriesByType&&Zka();d=g.YD("SPEEDINDEX_FOR_ACTIONS",void 0);c=g.YD("TIMING_ACTION",void 0);d&&-1<d.indexOf(c)&&(d=(0,g.AG)(),c=new kP,e=(0,g.AG)(),0<c.A&&(g.sP("si",c.A),g.rP("vsc",yP(c.H)),g.rP("sics",d),g.rP("sice",e)));d=[];if(window.document.querySelector&&
vP&&vP.getEntriesByName)for(var f in zP)c=zP[f],$ka(f,c)&&d.push(c);d.length&&g.sP("rc",d.join(","))}g.eG("csi_on_gel")&&(f={},f.actionType=ala[g.YD("TIMING_ACTION",void 0)]||"LATENCY_ACTION_UNKNOWN",d=AP(),OG(f,d))}BP(a)}pP(a);g.XD(a+"TIMING_AFT_KEYS",b);g.XD(a+"TIMING_ACTION",a);xP("c",void 0,a);g.u("ytglobal.timing"+(a||"")+"ready_",!0,void 0);CP(a)};
g.rP=function(a,b,c){if(!b&&"_"!=a[0]){var d=a;vP.mark&&(g.Da(d,"mark_")||(d="mark_"+d),c&&(d+=" ("+c+")"),vP.mark(d))}var d=EP(c),e=b||(0,g.AG)();d[a]&&(d["_"+a]=d["_"+a]||[d[a]],d["_"+a].push(e));d[a]=e;FP(c)["tick_"+a]=b;c||b||(0,g.AG)();g.eG("csi_on_gel")?(d=AP(c),"_start"==a?NG("baseline_"+d)||FG("latencyActionBaselined",{clientActionNonce:d},b):NG("tick_"+a+"_"+d)||FG("latencyActionTicked",{tickName:a,clientActionNonce:d},b),a=!0):a=!1;a||CP(c)};
GP=function(a){var b="above_the_fold";vP&&vP.measure&&(g.Da(b,"measure_")||(b="measure_"+b),a?vP.measure(b,a):vP.measure(b))};
xP=function(a,b,c){g.sP("yt_sts",a,c);g.rP("_start",b,c)};
HP=function(a,b){var c=EP(b);return a in c};
g.sP=function(a,b,c){var d=uP(c)[a]=b;FP(c)["info_"+a]=d;if(g.eG("csi_on_gel"))if(a in IP){b={};a=IP[a].split(".");g.cb(bla,a)&&(d=!!d);for(var e=b,f=0;f<a.length-1;f++)e[a[f]]=e[a[f]]||{},e=e[a[f]];b[a[a.length-1]]=d;c=AP(c);OG(b,c)}else g.cb(dla,a)||g.zE(Error("Unknown label "+a+" logged with GEL CSI."))};
tP=function(a){var b=uP(void 0);return a in b};
JP=function(a){var b=EP(a);if(b.aft)return b.aft;a=g.YD((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};
CP=function(a){if(!qP(a)){var b=g.YD((a||"")+"TIMING_ACTION",void 0),c=EP(a);if(g.w("ytglobal.timing"+(a||"")+"ready_")&&b&&c._start&&JP(a))if(a)BP(a);else{var b=!0,d=g.YD("TIMING_WAIT",[]);if(d.length)for(var e=0,f=d.length;e<f;++e)if(!(d[e]in c)){b=!1;break}b&&BP(a)}}};
wP=function(){switch(CF("visibilityState",window.document)){case "hidden":return 0;case "visible":return 1;case "prerender":return 2;case "unloaded":return 3}return-1};
BP=function(a){if(!g.eG("csi_on_gel")){var b=EP(a),c=uP(a),d=b._start,e;for(e in b)if(g.Da(e,"_")&&g.qa(b[e])){var f=e.slice(1);if(f in ela){var k=(0,g.I)(b[e],function(a){return Math.round(a-d)});
c["all_"+f]=k.join()}delete b[e]}f=!!c.ap;if(k=g.w("ytglobal.timingReportbuilder_")){if(k=k(b,c,a))KP(k,f),pP(a)}else{var l=g.YD("CSI_SERVICE_NAME","youtube"),k={v:2,s:l,action:g.YD((a||"")+"TIMING_ACTION",void 0)},m=c.srt;void 0!==b.srt&&delete c.srt;if(c.h5jse){var n=window.location.protocol+g.w("ytplayer.config.assets.js");(n=vP.getEntriesByName?vP.getEntriesByName(n)[0]:null)?c.h5jse=Math.round(c.h5jse-n.responseEnd):delete c.h5jse}b.aft=JP(a);fla(a)&&"youtube"==l&&(g.sP("yt_lt","hot_bg",a),l=
b.vc,n=b.pbs,delete b.aft,c.aft=Math.round(n-l));for(var q in c)"_"!=q.charAt(0)&&(k[q]=c[q]);b.ps=(0,g.AG)();c={};q=[];for(e in b)"_"!=e.charAt(0)&&(l=Math.round(b[e]-d),c[e]=l,q.push(e+"."+l));k.rt=q.join(",");(b=g.w("ytdebug.logTiming"))&&b(k,c);KP(k,f,a);g.aP(gP,new iP(c.aft+(m||0),a))}}};
yP=function(a){return Math.round(vP.timing.navigationStart+a)};
Zka=function(){var a=window.location.protocol,b=vP.getEntriesByType("resource"),c=b.filter(function(b){return 0==b.name.indexOf(a+"//fonts.googleapis.com/css?family=")})[0],b=b.filter(function(b){return 0==b.name.indexOf(a+"//fonts.gstatic.com/s/")}).reduce(function(a,b){return b.duration>a.duration?b:a},{duration:0});
c&&0<c.startTime&&0<c.responseEnd&&(g.rP("wfcs",yP(c.startTime)),g.rP("wfce",yP(c.responseEnd)));b&&0<b.startTime&&0<b.responseEnd&&(g.rP("wffs",yP(b.startTime)),g.rP("wffe",yP(b.responseEnd)))};
$ka=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=vP.getEntriesByName(d))&&c[0]&&(c=c[0],d=window.performance.timing.navigationStart,g.rP("rsf_"+b,d+Math.round(c.fetchStart)),g.rP("rse_"+b,d+Math.round(c.responseEnd)),void 0!==c.transferSize&&(tP("rc")||g.sP("rc",""),0===c.transferSize))?!0:!1:!1};
KP=function(a,b,c){if(g.eG("debug_csi_data")){var d=g.w("yt.timing.csiData");d||(d=[],g.u("yt.timing.csiData",d,void 0));d.push({page:window.location.href,time:new Date,args:a})}var d="",e;for(e in a)d+="&"+e+"="+a[e];a="/csi_204?"+d.substring(1);if(window.navigator&&window.navigator.sendBeacon&&b)try{window.navigator&&window.navigator.sendBeacon&&window.navigator.sendBeacon(a,"")||g.hF(a,void 0)}catch(f){g.hF(a,void 0)}else g.hF(a);oP(!0,c)};
AP=function(a){var b=LP(a).nonce;b||(b=zO(),LP(a).nonce=b);return b};
EP=function(a){return LP(a).tick};
uP=function(a){return LP(a).info};
FP=function(a){a=LP(a);"gel"in a||(a.gel={});return a.gel};
LP=function(a){return g.w("ytcsi."+(a||"")+"data_")||nP(a)};
nP=function(a){var b={tick:{},info:{}};g.u("ytcsi."+(a||"")+"data_",b,void 0);return b};
qP=function(a){return!!g.w("yt.timing."+(a||"")+"pingSent_")};
oP=function(a,b){g.u("yt.timing."+(b||"")+"pingSent_",a,void 0)};
fla=function(a){var b=EP(a),c=b.pbr,d=b.vc,b=b.pbs;return c&&d&&b&&c<d&&d<b&&1==uP(a).yt_pvis};
MP=function(a,b,c){this.X=a;this.g=void 0===b?"":b;this.A=c||null;this.B=!1};
NP=function(a,b){var c=a.X;if(c.Eb&&("detailpage"==c.g||"leanback"==c.g||"embedded"==c.g&&(c.ca&&c.hc||c.experiments.g("html5_playlist_preload")))&&!a.B){a.B=!0;a.X.experiments.g("html5_skip_default_csi_configs")||(g.YD("TIMING_ACTION")||g.XD("TIMING_ACTION",a.X.csiPageType),a.X.Wa&&g.XD("CSI_SERVICE_NAME",a.X.Wa));if(a.A){var c=a.A.aa,d;for(d in c)g.rP(d,c[d],a.g);d=a.A.S;for(var e in d)g.sP(e,d[e],a.g);e=a.A;e.aa={};e.S={}}g.sP("yt_pvis",wP(),a.g);g.sP("yt_pt","html5",a.g);b&&!HP("pbs",a.g)&&a.o("pbs",
b);e=a.X;("detailpage"!=e.g||"blazer"==e.o)&&HP("_start",a.g)&&BP(a.g)}};
g.OP=function(a,b,c){this.errorCode=a;this.g=b;this.details=c||{}};
PP=function(a){var b,c;for(c in a){var d=(""+a[c]).replace(/[:,]/g,"_");b=(b?b+";":"")+c+"."+d}return b||""};
QP=function(a,b){this.type=a||"";this.id=b||""};
g.RP=function(a){return new QP(a.substr(0,2),a.substr(2))};
SP=function(a){a=a.url;return 0==a.indexOf("//")?"https:"+a:a};
VP=function(a,b){var c={},d;for(d in TP){var e=b?b+d:d,e=a[e+"_webp"]||a[e];g.UP.test(e)&&(c[TP[d]]=e)}return c};
hla=function(a){var b={};if(!a||!a.thumbnails)return b;var c=null;a=g.ia(a.thumbnails);for(var d=a.next();!d.done;d=a.next()){var d=d.value,e=SP(d);if(g.UP.test(e)){var f=gla[d.width];f&&(b[f]=e);if(!c||c.width<d.width)c=d}}c&&1280<c.width&&(b["maxresdefault.jpg"]=SP(c));return b};
WP=function(a,b){g.M.call(this);this.o=[];this.g={};this.B={};this.A=null;this.C=b;ila(this,a)};
ila=function(a,b){for(var c in b)for(var d=g.ia(b[c]),e=d.next();!e.done;e=d.next()){e=e.value;if(!e.Tc)return;for(var f in e.Tc){if(!XP[f])return;for(var k=g.ia(XP[f]),l=k.next();!l.done;l=k.next())l=l.value,a.g[l]=a.g[l]||new GN(f,l,e.Tc[f]),a.B[f]=a.B[f]||{},a.B[f][e.mimeType]=!0}}a.o=jla.filter(function(b){return!!a.g[b]})};
lla=function(a){if(HN()&&wi)a.A(new GN("fairplay","com.apple.fps.1_0",""));else{var b=kla(),c=g.Za(a.o,function(c){var d=a.g[c],f=!1,k=!1,l;for(l in a.B[d.g])b(l,c)&&(d.B[l]=!0,f=f||0==l.indexOf("audio/"),k=k||0==l.indexOf("video/"));return f&&k}),c=c?a.g[c]:null;
a.o=[];a.A(c)}};
kla=function(){var a=HN();if(a)return function(b,d){return a.isTypeSupported(d,b)};
var b=fL();return b&&(b.addKey||b.webkitAddKey)?(0,g.A)(b.canPlayType,b):function(){return!1}};
YP=function(a){if(a){var b=[],c;for(c in a)mla.has(c)||b.push(c);b.length&&.01>Math.random()&&g.zE(Error("Unknown house brand player vars: "+b),"WARNING")}};
nla=function(a,b){this.o=a;this.g=b;this.A=0};
ola=function(a){for(var b=[],c=[],d=0,e=a.g.length;d<e;++d){var f=a.g[d];f.bitrate<=a.A?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)};
pla=function(a,b,c,d,e,f,k,l,m){this.itag=a;this.url=b;this.hv=c;this.width=d;this.height=e;this.bitrate=k;this.fps=f;this.audioItag=l||null;this.g=m||""};
qla=function(a){for(var b={},c=0,d=a.length;c<d;++c){var e;e=a[c];var f=e.type.match(/codecs="([^"]*)"/);e=new pla(e.itag,e.url,f?f[1]:"",+e.width,+e.height,+e.fps,+e.bitrate,e.audio_itag,e.drm_families);b[e.itag]=e}return b};
ZP=function(a,b){this.te=a;this.B=b;this.o=null};
$P=function(a,b,c,d,e,f,k,l,m){var n=new KI;d=new NI(d,e,f,null,void 0,k);c=new QI(c,"application/x-mpegURL",n,d,void 0,m);a=new nla(a,b);a.A=l?l:1369843;return new ZP(c,a)};
rla=function(a,b,c){if(!CL&&!bF())return PN();b=qla(b);if(!b)return PN();var d={y0:"https://youtube.com/api/drm/fps?ek=uninitialized"},e,f=[],k=[],l=[],m;for(m in b){var n=b[m];if(n.width){var q=b[n.audioItag];q&&(f.push(n),e="fairplay"==n.g?d:null,l.push($P([q],[n],n.itag,n.width,n.height,n.fps,void 0,void 0,e)))}else k.push(n)}e=l.reduce(function(a,b){return!!b.te.Tc&&a},!0)?d:null;
l.push($P(k,f,"93",0,0,0,"auto",c,e));return TN(a.M,l,OO(a))};
aQ=function(a,b){this.te=a;this.o=b};
bQ=function(a,b,c){for(var d=[],e=0;e<b.length;e++){var f=b[e];if(f.url){var k=new KM(f.url);f.sig?k.set("signature",f.sig):f.s&&k.set("signature",yE(f.s));for(var l in c)k.set(l,c[l]);f=WI(f.type,f.quality,f.itag,f.width,f.height,!!f.isAccelerated,!!f.isAcceleratedUiEnabled);d.push(new aQ(f,k))}}return TN(a.M,d,OO(a))};
cQ=function(a){g.ZF.call(this);this.B=new ID;this.o=null;this.G={};this.F=a||""};
fQ=function(a,b,c){for(c=dQ(a,c);0<=c;){var d=a.g[c];if(d.Ob(Math.floor(b/(d.columns*d.rows)))&&(d=eQ(d,b)))return d;c--}return eQ(a.g[0],b)};
hQ=function(a,b,c){c=dQ(a,c);for(var d,e;0<=c;c--)if(d=a.g[c],e=Math.floor(b/(d.columns*d.rows)),!d.Ob(e)){d=a;var f=c,k=f+"-"+e;d.G[k]||(d.G[k]=!0,HD(d.B,f,{rx:f,oy:e}))}gQ(a)};
gQ=function(a){if(!a.o&&!a.B.isEmpty()){var b=a.B.remove(),c=new window.Image;a.F&&(c.crossOrigin=a.F);c.src=iQ(a.g[b.rx],b.oy);c.onload=(0,g.A)(a.J,a,b.rx,b.oy);a.o=c}};
jQ=function(a,b,c,d){this.Oc={};this.L=a;this.H=b;a=c.split("#");this.F=(0,window.parseInt)(a[0],10);this.D=(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.B=(0,window.parseInt)(a[5],10);this.A=a[6];this.C=a[7];this.J=d};
iQ=function(a,b){var c=a.H,c=c.replace("$N",a.A),c=c.replace("$L",a.L.toString()),c=c.replace("$M",b.toString());a.C&&(c=g.Gg(c,{sigh:a.C}));return JM(c)};
eQ=function(a,b){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),k,l=a.wt()+1-d*c;l<a.columns?(k=l,d=1):(k=a.columns,d=l<d?Math.ceil(l/a.columns):a.rows);return{url:iQ(a,c),FF:f,columns:k,Ic:e,rows:d,qy:a.F*k,my:a.D*d}};
kQ=function(a,b,c){cQ.call(this,c);this.g=this.A(a,b);this.C={};1<this.g.length&&this.g[0].isDefault()&&this.g.splice(0,1)};
dQ=function(a,b){var c=a.C[b];if(c)return c;for(var c=a.g.length,d=0;d<c;d++)if(a.g[d].Db()>=b)return a.C[b]=d;a.C[b]=c-1;return c-1};
lQ=function(a,b,c,d){c=c.split("#");c=[c[1],c[2],0,c[3],c[4],-1,c[0],""].join("#");jQ.call(this,a,b,c,0);this.g=null;this.G=d?3:0};
mQ=function(a,b){this.L=b;kQ.call(this,a,0)};
nQ=function(a,b){this.te=a;this.o=b};
sla=function(a){var b=[];(0,g.H)(a,function(a){if(a.url){var c=WI(a.type,"medium","0");b.push(new nQ(c,a.url))}});
return b};
g.oQ=function(a){var b=[];if(a.runs)for(var c=0;c<a.runs.length;c++){var d=a.runs[c];d.text&&b.push(tla(d))}a=1==b.length?b[0]:g.pe("SPAN",null,b);b=g.re("div");b.appendChild(a);return b.textContent};
tla=function(a){var b=null,c=a.text;a.bold&&(b=g.pe("B",null,b||c));a.italics&&(b=g.pe("I",null,b||c));a.strikethrough&&(b=g.pe("STRIKE",null,b||c));if(a.navigationEndpoint&&a.navigationEndpoint.urlEndpoint){a=a.navigationEndpoint.urlEndpoint;var d={href:a.url};"TARGET_NEW_WINDOW"==a.target&&(d.target="_blank");b=g.pe("A",d,b||c)}return b||g.pe("SPAN",null,c)};
g.pQ=function(a){g.ZF.call(this);this.adModule=!1;this.adaptiveFormats="";this.Tc=null;this.allowEmbed=!0;this.Zf=this.backgroundable=!1;this.pf="";this.Fl=this.Dl=this.Cl=!1;this.relativeLoudness=0;this.sc=g.pQ.g;this.watchAjaxToken=this.kh=null;this.author="";this.sf=0;this.Ep=this.Nl=!1;this.clientScreenNonce=this.clientPlaybackNonce=this.ks=this.channelPath=this.Ol="";this.contentCheckOk=!1;this.tf=0;this.enableCardioBeforePlayback=this.enableCardio=!1;this.Bi=0;this.Cw=this.Vg=!1;this.lg=this.Yi=
0;this.Ym=!1;this.Cz=0;this.isMdxPlayback=this.isLowLatencyLiveStream=this.isLiveDefaultBroadcast=this.isLiveDestination=this.Aa=this.qk=this.isListed=this.Tq=this.dh=!1;this.mdxControlMode=null;this.isPharma=!1;this.ai=0;this.Sr="";this.Xq=this.kx=this.Ef=!1;this.liveChunkReadahead=window.NaN;this.liveStartWalltime=0;this.fr=null;this.sk=this.lengthSeconds=0;this.playerParams=null;this.paygated=!1;this.profilePicture=void 0;this.racyCheckOk=!1;this.rootVeType=0;this.autonavState=1;g.pQ.prototype.Kk=
dJ;this.fg=!1;this.ax=this.startSeconds=0;this.spacecastModule=!1;this.yl=null;g.pQ.prototype.Nk=dJ;this.yj=null;this.hlsFormats=this.lh=this.title="";this.Ib=null;this.ko="vvt";this.requiresPurchase=!1;this.clipStart=0;this.clipEnd=window.Infinity;this.Mr=this.Zi=this.Qj=!1;this.aq="";this.Zd=this.Ur=this.gw=0;this.hx=!1;this.zj={};this.pq=!1;this.captionTracks=[];this.Mj=[];this.rp=0;this.captionTranslationLanguages=[];this.Ml=!1;this.gm=new yI("und",new uI("Default","und",!0));this.dr=0;this.rj=
this.Uz=!1;this.Ff=null;this.wh=[];this.Aw=!1;this.ci={};this.dA=new g.Jt(this.eA,5E3,this);g.N(this,this.dA);this.Zp=0;this.hw=!0;this.wj=!1;this.gi=this.Yb=null;this.Ph=!1;this.Xd=[];this.Ub={};this.keywords={};this.oe={};this.setData(a)};
tQ=function(a,b,c){var d=b||{};b={};if(!c)b=a.Yb||{};else if(d.player_response)for(b=g.Hc(d.player_response)||{},a.Yb||(a.Yb={}),c=0;c<qQ.length;c++){var e=qQ[c];e in b&&(a.Yb[e]=b[e])}(c=rQ(b))?(a.pf=JM(c.invideoUrl),a.Cl=!!c.adsOnly,a.Dl=!!c.allowInPlaceSwitch):(d.iv_invideo_url&&(a.pf=JM(d.iv_invideo_url)),a.Cl=qO(a.Cl,d.iv_ads_only),a.Dl=qO(a.Dl,d.iv_allow_in_place_switch));d.cta_conversion_urls&&(a.Gu=d.cta_conversion_urls);a.isPharma=qO(a.isPharma,d.is_pharma);a.author=tO(a.author,d.author);
a.Nl=qO(a.Nl,d.cc_asr);c=d.ttsurl;sQ.test(c)?a.Ol=c:c&&(c=IM(c),sQ.test(c)&&(a.Ol=c));b.captions&&b.captions.playerCaptionsTracklistRenderer?ula(a,b.captions.playerCaptionsTracklistRenderer):(a.pq=void 0!=d.caption_tracks,d.caption_tracks&&d.caption_audio_tracks&&(vla(a,d.caption_tracks),wla(a,d.caption_audio_tracks),d.default_audio_track_index&&(a.rp=(0,window.parseInt)(d.default_audio_track_index,10)||0),d.caption_translation_languages&&xla(a,d.caption_translation_languages)),a.Ml=qO(a.Ml,d.cc_contribute));
a.channelPath=tO(a.channelPath,d.channel_path);a.ks=tO(a.ks,d.short_subscriber_count_text);a.clientPlaybackNonce=tO(a.clientPlaybackNonce,d.cpn);a.subscribed=qO(a.subscribed,d.subscribed);a.Nf=sO(a.Nf,d.view_count);a.shortViewCount=tO(a.shortViewCount,d.short_view_count_text);a.title=tO(a.title,d.title);a.ypcPreview=tO(a.ypcPreview,d.ypc_preview);a.ypcOrigin=tO(a.ypcOrigin,d.ypc_origin);a.paygated=qO(a.paygated,d.paygated);a.requiresPurchase=qO(a.requiresPurchase,d.requires_purchase);d.keywords&&
(a.keywords=yla(d.keywords));d.rvs&&(a.Qf=PE(d.rvs));a.contentCheckOk=qO(a.contentCheckOk,"1"==d.cco);a.racyCheckOk=qO(a.racyCheckOk,"1"==d.rco);a.oauthToken=tO(a.oauthToken,d.oauth_token);a.visitorData=tO(a.visitorData,d.visitor_data);d.session_data&&(a.Hd=g.HE(d.session_data));d.endscreen_autoplay_session_data&&(a.Jv=g.HE(d.endscreen_autoplay_session_data));a.Iv=tO(a.Iv,d.endscreen_ad_tracking_data);a.SA=qO(a.SA,d.wait_for_vast_info_cards_xml);a.us=tO(a.us,d.tracking_list||d.tv_list);(0,g.H)(g.pQ.A,
function(a){a in d&&(this.Ub[a]=d[a])},a)};
uQ=function(a){return!(!a.rb||!a.rb.videoInfos.length)};
zla=function(a){return a.o&&YL('video/webm; codecs="vp9"')&&Kb(a.g,function(a){return RI(a.info)})};
vQ=function(a){return!UN()||a.Ep?!0:!1};
g.wQ=function(a){if(!a.gi)return null;var b;b=g.t(a.gi.latitudeE7)&&g.t(a.gi.longitudeE7)?a.gi.latitudeE7+","+a.gi.longitudeE7:",";return b+=","+(a.gi.clientPermissionState||0)};
xQ=function(a){a.ma()||(a.Vg=!1,a.V("dataloaded",a.Ub))};
zQ=function(a,b,c){c&&a.ua&&a.ua.dispose();a.ua=b;g.N(a,b);(a.mg()||a.Qh()||g.yQ(a))&&a.Xd.push("webgl");a.ua.isLive||(a.Aa=!1)};
g.BQ=function(a,b){if(a.ma())return PN();a.rb=null;a.pg=null;a.Fk=null;var c=b.B,d=c.c,c=c.cmodel;a.Ph=/^rq/.test(a.clientPlaybackNonce)||/^r/.test(a.clientPlaybackNonce)&&/UNPLUGGED/.test(d)||/FUGU/.test(c);vQ(a)||b.Vq||!a.spacecastAdaptiveFormats?d=PN():(zQ(a,uN(AQ(a,a.spacecastAdaptiveFormats),a.Tc,a.lengthSeconds,void 0,a.wj),!0),d=bO(b.M,a.ua,a.Ff,!0,!1).then(a.es,void 0,a).then(a.Ov,void 0,a));return d.then(void 0,(0,g.A)(a.KI,a,b)).then(void 0,(0,g.A)(a.HI,a,b)).then(void 0,(0,g.A)(a.II,a,
b)).then(void 0,(0,g.A)(a.LI,a,b)).then(void 0,(0,g.A)(a.JI,a,b))};
CQ=function(a,b){var c={cpn:a.clientPlaybackNonce,c:b.B.c,cver:b.B.cver};a.Dk&&(c.ptk=a.Dk,c.oid=a.Ez,c.ptchn=a.Dz,c.pltype=a.Fz);return c};
DQ=function(a){var b=a.Yb&&a.Yb.paidContentOverlay&&a.Yb.paidContentOverlay.paidContentOverlayRenderer||null;return b&&b.text?g.oQ(b.text):a.SO};
EQ=function(a){var b=a.Yb&&a.Yb.paidContentOverlay&&a.Yb.paidContentOverlay.paidContentOverlayRenderer||null;return b&&b.durationMs?(a=b.durationMs,g.z(a)?Ua(a):a):a.Cz};
rQ=function(a){return a&&a.annotations&&(a=a.annotations[0],a.playerAnnotationsUrlsRenderer)?a.playerAnnotationsUrlsRenderer:null};
FQ=function(a){if(!a.Ib)if(a.Yb&&a.Yb.storyboards){var b=a.Yb.storyboards;b.playerStoryboardSpecRenderer?a.Ib=new kQ(b.playerStoryboardSpecRenderer.spec,a.lengthSeconds):b.playerLiveStoryboardSpecRenderer&&a.ua&&(a.Ib=new mQ(b.playerLiveStoryboardSpecRenderer.spec,a.ua))}else a.Ub.storyboard_spec?a.Ib=new kQ(a.Ub.storyboard_spec,a.lengthSeconds):a.Ub.live_storyboard_spec&&a.ua&&(a.Ib=new mQ(a.Ub.live_storyboard_spec,a.ua));return a.Ib};
GQ=function(a,b){if(a.ua&&a.Aa){var c=a.ua.g[a.Ma.id];if(!c||!c.index)return null;var d=c.index.Og(b),c=c.index.ng(d);return{sequence:d,elapsed:Math.floor(1E3*(b-c))}}return null};
HQ=function(a){return!!(a.pe||a.adaptiveFormats||a.lh||a.yj||a.spacecastFormatMap||a.spacecastAdaptiveFormats||a.hlsvp)};
IQ=function(a){var b=g.cb(a.Xd,"ypc");a.ypcPreview&&(b=!1);return a.Be()&&!a.Vg&&(HQ(a)||g.cb(a.Xd,"fresca")||g.cb(a.Xd,"heartbeat")||b)};
AQ=function(a,b,c){b=PE(b);var d={};c&&(0,g.H)(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.H)(b,function(a){var b=d[a.itag];b&&(a.width=b.width,a.height=b.height)},a);
return b};
yla=function(a){var b={};(0,g.H)(a.split(","),function(a){var c=a.split("=");2==c.length?b[c[0]]=c[1]:b[a]=!0});
return b};
Ala=function(a){a=PE(a);var b={};(0,g.H)(a,function(a){var c=a.family;a=a.url;c&&a&&(b[c]=a)});
return b};
vla=function(a,b){for(var c=PE(b),d=0;d<c.length;d++){var e=c[d],f=e.u;sQ.test(f)&&a.captionTracks.push(new g.wI({is_translateable:qO(!1,e.t),languageCode:e.lc,languageName:e.n,url:f,vss_id:e.v,kind:e.k,format:3}))}};
wla=function(a,b){var c=PE(b);a.Mj=[];(0,g.H)(c,function(a){var b={};g.t(a.aid)&&(b.audioTrackId=a.aid);a.i&&(b.captionTrackIndices=(0,g.I)(a.i.split(","),function(a){return(0,window.parseInt)(a,10)}));
b.hasDefaultTrack=g.t(a.d);b.hasDefaultTrack&&(b.defaultCaptionTrackIndex=(0,window.parseInt)(a.d,10)||void 0);b.hasForcedTrack=g.t(a.f);b.hasForcedTrack&&(b.forcedCaptionTrackIndex=(0,window.parseInt)(a.f,10));b.visibility=Bla[(0,window.parseInt)(a.v,10)]||"UNKNOWN";this.Mj.push(b)},a)};
xla=function(a,b){for(var c=PE(b),d=0;d<c.length;d++){var e=c[d];a.captionTranslationLanguages.push(new g.vI({languageCode:e.lc,languageName:e.n}))}};
ula=function(a,b){a.pq=!0;a.captionTracks=[];b.captionTracks&&(0,g.H)(b.captionTracks,function(a){var b=a.baseUrl;sQ.test(b)&&(a=new g.wI({is_translateable:!!a.isTranslatable,languageCode:a.languageCode,languageName:a.name&&g.oQ(a.name),url:b,vss_id:a.vssId,kind:a.kind,format:3}),this.captionTracks.push(a))},a);
a.Mj=b.audioTracks||[];a.rp=b.defaultAudioTrackIndex||0;a.captionTranslationLanguages=b.translationLanguages?(0,g.I)(b.translationLanguages,function(a){return new g.vI({languageCode:a.languageCode,languageName:g.oQ(a.languageName)})}):[];
a.Ml=!!b.contribute&&!!b.contribute.captionsMetadataRenderer};
g.JQ=function(a,b){return!!a.Ub[b]};
g.KQ=function(a){return a.Aa&&!a.Zf};
LQ=function(a){return a.Aa&&a.Zf};
MQ=function(a){var b=Wb(a.Ub);!a.Aa&&0<a.startSeconds&&(b.start=a.startSeconds);return b};
aM=function(a){if(a.Ok||a.vf["3D"])return!0;a=a.vf("yt3d:enable");return"true"==a||"LR"==a||"RL"==a};
g.NQ=function(a){if(!a.ua)return!1;for(var b in a.ua.g){var c=a.ua.g[b],d=c.info.video;if(d&&4==d.projectionType||c.F)return!0}return!1};
g.yQ=function(a){if(aM(a)&&3!=a.Ok&&4!=a.Ok)return!0;if(a.ua)for(var b in a.ua.g){var c=a.ua.g[b].info.video;if(c&&1==c.C)return!0}return!1};
Cla=function(a){a.rb=a.rb.o};
g.OQ=function(a){var b=a.Ub.iv_endscreen_url;b||(b=g.w("endscreen.endscreen_url_renderer.url",a.getPlayerResponse()));return b};
g.QQ=function(a){g.ZF.call(this);this.startSeconds=0;this.xA=!1;this.gc=0;this.title="";this.Ug=0;this.Na=[];this.Gf=this.Oc=!1;this.Hd=this.Jv=this.Gk=null;this.views=0;this.nF=0!=a.fetch;this.Gd=[];this.gc=Math.max(0,a.index||0);this.loop=!!a.loop;this.startSeconds=a.startSeconds||0;this.oK="1"==a.mob;this.title=a.playlist_title||"";this.description=a.playlist_description||"";this.author=a.author||a.playlist_author||"";this.zj={};a.video_id&&(this.Na[this.gc]=a);a.api&&("string"==typeof a.api&&
16==a.api.length?a.list="PL"+a.api:a.playlist=a.api);this.bn=0;if(a.list)switch(a.listType){case "user_uploads":Dla(this,a.list);break;case "user_favorites":Ela(this,a.list);break;case "search":Fla(this,a.list);break;default:a.playlist_length&&(this.Ug=a.playlist_length),this.listId=g.RP(a.list),a.video?(this.Na=a.video.slice(0),this.Oc=!0):Gla(this)}else if(a.playlist){var b=a.playlist.toString().split(",");0<this.gc&&(this.Na=[]);(0,g.H)(b,function(a){a&&this.Na.push({video_id:a})},this);
this.Ug=this.Na.length;b=(0,g.I)(this.Na,function(a){return a.video_id});
PQ(this,"/list_ajax?style=json&action_get_templist=1",{video_ids:b.join(",")});this.Oc=!0}this.setShuffle(!!a.shuffle);a.suggestedQuality&&(this.quality=a.suggestedQuality);this.zj=VP(a,"playlist_");this.EA=a.thumbnail_ids?a.thumbnail_ids.split(","):[]};
RQ=function(a){return!!(a.playlist||a.list||a.api)};
SQ=function(a){var b=a.gc+1;return b>=a.Ug?0:b};
TQ=function(a){var b=a.gc-1;return 0>b?a.Ug-1:b};
UQ=function(a,b){a.gc=g.Rd(b,0,a.Ug-1);a.startSeconds=0};
Dla=function(a,b){a.Gf||(a.listId=new QP("UU","PLAYER_"+b),PQ(a,"/list_ajax?style=json&action_get_user_uploads_by_user=1",{username:b}))};
Ela=function(a,b){a.Gf||(a.listId=new QP("FL","PLAYER_"+b),PQ(a,"/list_ajax?style=json&action_get_favorited_by_user=1",{username:b}))};
Fla=function(a,b){if(!a.Gf){a.listId=new QP("SR",b);var c={search_query:b};a.oK&&(c.mob="1");PQ(a,"/search_ajax?style=json&embeddable=1",c)}};
Gla=function(a){if(!a.Gf){var b={list:a.listId},c=a.dc();c&&c.videoId&&(b.v=c.videoId);PQ(a,"/list_ajax?style=json&action_get_list=1",b)}};
PQ=function(a,b,c){a.nF&&g.TE(g.Gg(b,c),{format:"JSON",Lb:(0,g.A)(function(a,b){VQ(this,b)},a),
onError:(0,g.A)(function(){this.V("error")},a)})};
VQ=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;b.loop&&(a.loop=b.loop);var c=a.dc();a.Na=[];(0,g.H)(b.video,function(a){a&&(a.video_id=a.encrypted_id,this.Na.push(a))},a);
a.Ug=a.Na.length;b.index?a.gc=b.index:a.Wj(c);a.setShuffle(!1);a.Gf=!1;a.Oc=!0;a.bn++;a.Gk&&a.Gk()}};
g.WQ=function(a){return(a=Hla[a.toString()])?a:"YTP_ERROR_LICENSE"};
Ila=function(){this.C=this.g=window.NaN;this.A=this.B=this.o=!1};
XQ=function(a,b,c,d){if(d=1<d)a.B=!0;if(a.o)b!=a.g&&(a.o=!1);else if(0<b&&a.g==b)return c-a.C>(d||!a.B?1500:400);a.g=b;a.C=c;return!1};
g.YQ=function(a,b){this.o=a||64;this.g=b||null};
ZQ=function(a,b){return XQ(a,b.getCurrentTime(),(0,g.AG)(),BL(b))};
$Q=function(a,b,c){return b==a.o&&c==a.g||b&128&&!c||b&2&&b&16?a:new g.YQ(b,c)};
aR=function(a,b){return $Q(a,a.o|b)};
bR=function(a,b){return $Q(a,a.o&~b)};
cR=function(a){return $Q(a,(a.o|4)&-9)};
g.W=function(a,b){return!!(a.o&b)};
g.dR=function(a,b){return b.o==a.o&&b.g==a.g};
eR=function(a){return g.W(a,8)&&!g.W(a,2)};
fR=function(a){return g.W(a,64)&&!g.W(a,8)&&!g.W(a,4)};
g.gR=function(a){return g.W(a,1)&&!g.W(a,2)};
QJ=function(a){return g.W(a,128)?-1:g.W(a,2)?0:g.W(a,1)&&!g.W(a,32)?3:g.W(a,64)?-1:g.W(a,8)?1:g.W(a,4)?2:-1};
g.iR=function(a){g.M.call(this);this.wa={};this.Pa={};this.element=hR(this,a)};
hR=function(a,b,c){if(g.qa(b)){c=0;var d=g.re(b[c++]);if(g.z(b[c])){var e=b[c++];if(e=jR(a,d,"class",e))kR(a,d,"class",e),a.wa[e]=d}else if(g.qa(b[c])){for(var f=b[c++],e=0;e<f.length;e++)a.wa[f[e]]=d;kR(a,d,"class",f.join(" "))}for(;c<b.length;c++){var k=b[c];g.qa(k)||k&&k.K?(e=hR(a,k),d.appendChild(e)):g.va(k)?k.element?d.appendChild(k.element):lR(a,d,k):g.z(k)&&(k=jR(a,d,"child",k),null!=k&&d.appendChild(g.se(k)))}}else{d=(c=c||"svg"==b.K)?window.document.createElementNS("http://www.w3.org/2000/svg",
b.K):g.re(b.K);if(e=b.W){if(e=jR(a,d,"class",e))kR(a,d,"class",e),a.wa[e]=d}else if(f=b.ea){for(e=0;e<f.length;e++)a.wa[f[e]]=d;kR(a,d,"class",f.join(" "))}if(f=b.O)for(var l=0,e=0;e<f.length;e++)if(k=f[e])if(g.z(k))k=jR(a,d,"child",k),null!=k&&d.appendChild(g.se(k));else{var m=k,k=hR(a,m,c);d.appendChild(k);m.Ra&&(m=g.iR.g(),k.id=m,k=window.document.createElementNS("http://www.w3.org/2000/svg","use"),k.setAttribute("class","ytp-svg-shadow"),k.setAttributeNS("http://www.w3.org/1999/xlink","href",
"#"+m),xe(d,k,l++))}(b=b.Z)&&lR(a,d,b)}return d};
jR=function(a,b,c,d){return"{{"==d.substr(0,2)?(a.Pa[d]=[b,c],null):d};
mR=function(a){return g.qa(a)&&g.z(a[0])||g.va(a)&&g.z(a.K)};
kR=function(a,b,c,d){if("child"==c){g.ve(b);if(!g.qa(d)||mR(d))d=[d];c=[];for(var e=0;e<d.length;e++){var f=d[e];if(null!=f)if(!f.nodeType||1!=f.nodeType&&3!=f.nodeType)if(mR(f))c.push(hR(a,f));else if(f.element)c.push(f.element);else if(g.z(f)&&-1!=f.indexOf("\n"))for(var f=f.split("\n"),k=0;k<f.length;k++)0<k&&c.push(g.re("BR")),c.push(g.se(f[k]));else c.push(g.se(f));else c.push(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())};
lR=function(a,b,c){for(var d in c){var e=c[d];null!=e&&kR(a,b,d,g.z(e)?jR(a,b,d,e):e)}};
g.nR=function(a,b){a&&(a.style.display=b)};
oR=function(a,b){var c=CF("requestAnimationFrame",window);return g.GE(function(){c?c.call(window,a):a()},b||0)};
pR=function(a){if(window.document.createRange){var b=window.document.createRange();b.selectNodeContents(a);window.getSelection().removeAllRanges();window.getSelection().addRange(b)}};
g.X=function(a){g.iR.call(this,a);this.o=!0;this.ba=[]};
qR=function(a,b,c){this.audio=a;this.video=b;this.reason=c};
rR=function(a){this.g=window.Float32Array?new window.Float32Array(a):Array(a);this.o=a-1};
sR=function(a,b){a.o=(a.o+1)%a.g.length;a.g[a.o]=b};
Jla=function(){this.C=new rR(50);this.o=null;this.D=this.B=0;this.g=[];this.A=null};
Kla=function(a,b){0!=a.g.length&&(b.D=a.g.length,b.H=Ud(a.g,function(a,b){return a+b},0),b.G=g.Xa(a.g),b.L=Math.min.apply(Math,a.g),b.J=Math.max.apply(Math,a.g),a.g=[])};
Lla=function(a,b){var c=(0,window.isNaN)(a.liveChunkReadahead)?3:a.liveChunkReadahead;a.qk&&c--;a.isLowLatencyLiveStream||c++;b.g("html5_live_4k_more_buffer")&&a.ua&&tka(a.ua)&&(c+=2);this.g=Math.max(0,c);this.o=[];this.A=0;this.B=a};
tR=function(a){return(a.B.ua?DN(a.B.ua)||5:5)*a.g};
vR=function(){this.g=new uR(0,0,null);this.B=8;this.C=[];this.A=this.D=window.NaN;this.H=this.o=this.G=0;this.F=window.NaN;this.J=0};
wR=function(a){return{startTime:a.F/a.o,duration:a.H/a.o}};
xR=function(a){return!(0,window.isNaN)(a.A)&&a.o?a.A/a.o:a.J};
yR=function(a,b,c){var d=b.getUint32(c);b=b.getUint32(c+4);a.g=new uR(b,d,a.g);return 8};
zR=function(a){a.o&&!(0,window.isNaN)(a.D)&&(a.A=Math.floor(a.D*a.o),a.D=window.NaN)};
AR=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};
BR=function(a,b,c){for(var d=c;d<b.byteLength;d++)a.C.push(b.getUint8(d));return new window.DataView(b.buffer,b.byteOffset,c)};
CR=function(a,b,c){return new FK(b,c,a.g.size,a.g.type,!0)};
uR=function(a,b,c){this.type=a;this.size=b;this.g=c;this.offset=this.version=0};
DR=function(a,b){g.ZF.call(this);this.C=0;this.B=a;this.g=[];this.A=null;this.L=b;this.F=this.D=window.NaN;this.N=null;this.ba=(0,g.A)(function(a){this.B.La&&(this.V("timestamprewrite",a),this.B.La=!1)},this);
this.S=this.M=this.G=this.o=null;this.J=!1;this.H=null;this.B.Eb&&(this.o=new vR)};
ER=function(a){return a.g.length?a.g[0]:null};
FR=function(a){return a.g.length?a.g[a.g.length-1]:null};
Nla=function(a,b){var c=Mla(a,b);(0,g.H)(c,function(a){this.g.push(a)},a)};
Ola=function(a){return(0,g.Sk)(a.g,function(a){return a.info.A})};
Pla=function(a,b){if(b){var c=g.Ya(a.g,function(a){return a.info.A});
-1!=c&&(a.g=g.qb(a.g,0,c+1))}else a.g=[]};
Qla=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};
GR=function(a){return(0,g.I)(a.g,function(a){return a.info})};
Mla=function(a,b){if(!b.verify()||b.info.g.Uq()){var c=jM(b.info);c.verification="1";a.V("error",c||{})}if(HR(a,b)){if(1==b.info.g.info.o)if(c=zM(b),c=RK(c,0,1701671783)){0==c.data.getUint32(c.g)&&c.skip(4);IK(c);IK(c);HK(c);HK(c);HK(c);HK(c);var d=new window.Uint8Array(new window.ArrayBuffer(c.size-c.o)),e=new window.Uint8Array(c.data.buffer,c.offset+c.o,c.size-c.o);d.set(e);c.o=c.size;c=String.fromCharCode.apply(String,new window.Uint8Array(d.buffer));c=(c=QK(c))?new NK(c):null}else c=null;else c=
new lM(zM(b)),d=c.g,c.g=0,e=null,vM(c,[408125543,307544935,29555,26568,17543])&&(e=qM(c,!0),e=String.fromCharCode.apply(String,$ja(c,e)),e=(e=QK(e))?new NK(e):null),c.g=d,c=e;b.o=c;b.o&&(a.G=b.o,a.J=!!a.o)}a.G&&(c=a.G,b.info.Oa=c.o,b.info.D=c.B);b.info.A&&(a.S=b.info);a.B.ph&&HR(a,b)&&dL(zM(b),1701671783);if(a.B.J){if(!a.L.ke()&&(a.M&&!iM(a.M,b.info,!0)&&(a.o&&a.o.reset(),a.D=window.NaN,a.C=0),a.M=b.info,a.o?((c=!(0,window.isNaN)(a.F))||(c=a.o,c=!(!(0,window.isNaN)(c.A)||!(0,window.isNaN)(c.D))),
c&&(c=a.o,c.D=(0,window.isNaN)(a.F)?(0,window.isNaN)(a.D)?b.info.startTime:a.D:a.F,zR(c),a.F=window.NaN),c=zM(b),d=a.o.process(c),d!=c&&(b.g=d.buffer,b.A=fM(d.byteOffset,d.byteLength),b.range=b.A)):(c=(0,window.isNaN)(a.F)?(0,window.isNaN)(a.D)?b.info.startTime:a.D:a.F,a.F=window.NaN,BM(b,c)?a.D=c+CM(b):(c=jM(b.info),c.smst=1,a.V("error",c||{}))),!b.range.length))return[];if(!a.L.ke()&&a.G)if(b.info.A){a.J=!1;a.H=null;c=a.G;if(a.o)e=wR(a.o),d=a.o,d.F=window.NaN,d.H=0,d=e.startTime,e=e.duration;else{for(var d=
b.info.g.g,f=e=window.NaN,k=0,l=new window.DataView(b.g);WK(l,k);){var m=XK(l,k);1936286840==m.type?f=aL(m):1836476516==m.type?f=UK(m):1952867444==m.type&&(0,window.isNaN)(e)&&(e=$K(m));k=YK(m.type)?k+8:k+m.size}!f&&d&&(f=VK(d));d=e/f||b.info.C;e=CM(b)}a.V("segmentinfo",IR(c,d,e));if(e=OK(c))e.Jd+=d,a.V("cuepoint",e,c.o)}else a.J&&!(0,window.isNaN)(a.o.F)&&(c=IR(a.G,wR(a.o).startTime,a.G.D),a.H=c,a.V("placeholderinfo",c),a.J=!1);if(a.B.ga&&!a.L.ke()&&(0==b.info.o||a.A)&&1==b.info.g.info.o&&3==b.info.type&&
!EM(b)&&b.info.duration&&!a.B.Eb&&(a.C+=1E3*(CM(b)-b.info.duration),a.N&&Math.abs(a.C-a.N.C)>=a.B.va))return c=(a.N.C-a.C)/1E3,d=CM(b)+c,e=d*DM(b),(e=JR(a,b,e))&&e.length&&(f=jM(b.info),f.fds=d.toFixed(3),f.com=a.C.toFixed(3),a.V("timestamprewrite",f),a.D+=c,a.C+=1E3*c),e?e:KR(a,b);if(a.B.ka&&a.L.ke()&&(0==b.info.o||a.A)&&1==b.info.g.info.o)return c=b.info.g.index.zm(b.info.Oa),(c=JR(a,b,c))?c:KR(a,b)}return[b]};
IR=function(a,b,c){return new BK(a.o,b,c,a.ingestionTime,"sq/"+a.o,void 0,void 0)};
HR=function(a,b){return!a.L.ke()&&3==b.info.type&&0==b.info.o&&(1==b.info.g.info.o||2==b.info.g.info.o)};
KR=function(a,b){if(a.A&&a.A!=b){var c=[a.A,b];a.A=null;return c}return[]};
JR=function(a,b,c){var d;if(a.A){d=a.A;var e=new window.Uint8Array(d.range.length+b.range.length);e.set(new window.Uint8Array(d.g,d.range.start,d.range.length));e.set(new window.Uint8Array(b.g,b.range.start,b.range.length),d.range.length);d=new window.DataView(e.buffer);cL(d)}else d=zM(b),d=(e=cL(d))&&e<d.byteLength?d:null;if(!d)return a.A=b,null;(c=eL(d,c,a.ba,a.B.sa))?(d=cL(d),a.A&&(d-=a.A.range.length,a.A=null),a=AM(b,d),a[0].g=c,a[0].range=fM(0,c.byteLength),a[0].A=fM(0,c.byteLength)):a=null;
return a};
Rla=function(a,b){this.g=a;this.D=this.C=!1;this.length=b?b:0;this.o=0;this.A=[];this.B=null;this.length?1!=this.g.length||this.g[0].ub||(this.g[0].ub=this.length):1==this.g.length||(0,g.Qr)(this.g,function(a){return!!a.range})};
Sla=function(a){var b=a.length-a.o;(0,g.H)(a.A,function(a){b+=a.range.length});
return b};
Tla=function(a,b,c,d,e){this.g=a;this.N=b;this.ca=c;this.ba=e;this.L=this.o=window.NaN;this.aa=0;this.A=this.D=window.NaN;this.M=this.S=this.C=!1;this.B=0;this.F=yK(this.g);this.J=this.H=window.NaN;this.G=d};
LR=function(a){return{rt:(((0,g.G)()-a.o)/1E3).toFixed(2),lb:a.A,pt:a.H.toFixed(2),pb:a.N,stall:a.B.toFixed(2),elbowTime:((a.L-a.o)/1E3).toFixed(2),elbowBytes:a.aa}};
MR=function(a,b,c){var d=(b-a.D)/1E3,e=c-a.A;if(a.C)!a.G&&0<e&&(.2<d||1024>e?(a.B+=d,.2<d&&qK(a.g,.05,e)):qK(a.g,d,e),a.M=!0);else if(c>=a.g.policy.g){if(!a.G){var f=a.g;f.D.g(1,(b-a.o)/1E3);rK(f)}a.L=b;a.aa=c;a.C=!0}uK(a.g,d,e);a.D=b;a.A=c};
NR=function(a){return a.A>=a.g.policy.g};
OR=function(a){var b=a.N-a.A,b=1E3*(b*a.F.stall+b/a.F.byterate),c=(0,g.G)(),b=NR(a)?b+c:b+Math.max(c,a.o+1E3*a.F.delay);a.J=b};
PR=function(a,b,c,d,e){this.status=0;this.G=this.response=null;this.L=d;this.D=c;this.N=e;this.o=[];this.B=null;this.A=this.g=0;this.za=Ula++;this.M=window.NaN;this.C=null;a=new window.Request(a,{method:"GET",credentials:"include"});(0,window.fetch)(a).then(AE((0,g.A)(this.iP,this)),AE((0,g.A)(this.ln,this)));(0,g.G)();this.J=this.H=this.F=!1;b()};
RR=function(a){a.J=!0;a.o.push(a.B.subarray(0,a.g));a.g=0;a.B=a.F?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.B,0);a.B=c}a.B.set(b,a.g);a.g+=b.length};
TR=function(a){a.C.read().then(AE((0,g.A)(a.gL,a)),AE((0,g.A)(a.sN,a)));var b=(0,g.G)();a.M=b};
QR=function(a){a=a.Qp()||0;return Math.max(16384,.125*a)};
UR=function(a,b,c,d,e){this.status=0;this.response=null;this.o=this.A=!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.YI,this);this.B=d;this.D=c;this.C=e;a=AE((0,g.A)(this.WI,this));this.g.addEventListener("load",a,!1);this.g.addEventListener("error",a,!1);this.g.send();b();this.g.addEventListener("progress",AE((0,g.A)(this.XI,this)),!1)};
VR=function(a,b,c,d){this.A=a;this.info=b;this.timing=c;this.N=d;this.state=1;this.g=null;this.J=this.Zd=this.G=0;this.D=window.NaN;this.F=this.B=this.L=null;this.C=0;this.H=this.o=null;this.M=0;this.S=!1};
WR=function(a){return a.B?NM(a.B.g):""};
YR=function(a){var b=LR(a.timing);b.shost=WR(a);b.rn=a.G.toString();a.C&&(b.rc=a.C.toString());b.itag=""+PI(a.info.g[0].g.info);b.ml=""+ +a.info.g[0].g.td();410!=a.C&&500!=a.C&&503!=a.C||(b.isPotentialFormatUnavaliable="true");(a=XR(a))&&(b.action=a);return b};
Vla=function(a){var b=LR(a.timing);return{rn:a.G.toString(),rt:b.rt,pt:b.pt,stall:b.stall,elt:b.elbowTime,elb:b.elbowBytes}};
XR=function(a){if(7==a.state&&!ZR(a)){var b=$R(a);if(b=0<b.o&&0==b.A)b=a.info.o,b=!(a.G>b.B&&0<b.A);return b?"fastfallback":10<=a.Zd?"fallback":"retry"}return""};
$R=function(a){WR(a);return YM(a.N,WR(a))};
aS=function(a){if(a.A.A){if(1==a.state)return!0;var b=$R(a);return 6>b.ug&&6>b.g&&8>a.info.o.g}10>a.Zd?a=!0:(b=a.info.o,a=!(a.G>b.B&&0<b.A));return a};
bS=function(a,b){a.state=b;if(5<=a.state){var c=a.timing;c.C&&(c.C=!1)}a.L&&a.L(a)};
cS=function(a){return(0,g.Qr)(a.info.g,function(a){return 3==a.type})};
ZR=function(a){return a.A.A?!0:a.info.g[0].g.td()||NR(a.timing)?7==a.state&&("net.timeout"==a.F||"net.connect"==a.F&&204==a.C):!1};
dS=function(a){if(a.g){var b=a.g;a.g=null;b.abort()}a=a.timing;a.C&&(a.C=!1)};
fS=function(a){var b=a.g.Xg("content-type"),c=a.g.Qp();return(!eS(a)||!b||-1!=b.indexOf("text/plain"))&&(!c||2048>=c)};
eS=function(a){return a.g?a.g.CA():!1};
gS=function(a){return 2<=a.state&&!!a.o&&!!a.o.A.length};
hS=function(a,b){if(b||eS(a)&&!fS(a)){if(!a.o){var c;eS(a)||(c=a.g.Mp());a.o=new Rla(a.info.g,c)}for(;a.g.Wq();){c=a.o;for(var d=a.g.vA(),e=b&&!a.g.Wq(),f=0,k=0,l=0;l<c.g.length;l++){var m=c.g[l];if(m.range&&f+m.ub<=c.o)f+=m.ub;else{var n;var q=c,r=m;1==r.type?(q.C=!0,n=!1):3==r.type||4==r.type?(r=q.C&&!q.D,q.D=!0,n=r):n=!1;var q=c,v=c.o-f,r=k,x=d,B=n||m.g.Nx(),F=x.length-r;m.range&&(F=Math.min(m.ub-v,F));n=m.range?m.o+v+F==m.range.length:!!e;v=new gM(m.type,m.g,m.range,m.Oa,m.startTime,m.duration,
m.o+v,F,n&&m.D);v.A=n;q.A.push(new yM(v,x.buffer,fM(x.byteOffset+r,F),fM(x.byteOffset,x.length),B));q=F;c.o+=q;k+=q;f+=m.ub;if(k==d.length)break}}}}};
iS=function(){this.g=this.o=!1};
jS=function(a,b){this.L=a;this.Ua=b;this.A=[];this.o=new DR(a,b);this.B=this.g=null;this.aa=0;this.H=b.info.g;this.N=this.M=!1;this.J=new iS;this.C=null;this.D=0;this.G=b.We();this.F=-1;this.S=0};
kS=function(a,b){a.A.push(b);a.g=g.Xa(b.info.g)};
mS=function(a,b){for(;a.A.length&&6==a.A[0].state;){var c=a.A.shift();lS(a,c);var d=c.timing;a.aa=(d.D-d.o)/1E3;a.M||(c=c.info,a.S=Math.max(a.S,Math.max(0,c.g[c.g.length-1].B-b)))}a.A.length&&gS(a.A[0])&&!hM(a.A[0].info.g[0])&&lS(a,a.A[0])};
lS=function(a,b){if(gS(b)){b.S=!0;var c=b.o,d=c.A;c.A=[];c.B=g.Xa(d).info;(0,g.H)(d,a.ba,a)}};
nS=function(a){return!(!a.o.g.length||1!=ER(a.o).info.g.info.o||0!=ER(a.o).info.o)};
oS=function(a){var b=zM(ER(a.o)),c=cL(b);return(!c||c>b.byteLength)&&1==a.o.g.length};
qS=function(a,b,c){oS(a);var d=ER(a.o),e=pS(a);if(!e)return null;c=c||d.info.g.index.zm(d.info.Oa);return(a=eL(e,c,b,a.L.sa))?a:null};
sS=function(a){var b=ER(a.o),c=pS(a);if(c&&(c=cL(c)))if(c>zM(b).byteLength){var d=a.o.g[1];rS(a,b.range);rS(a,fM(d.range.start,c-b.range.length))}else rS(a,fM(b.range.start,c))};
pS=function(a){var b=ER(a.o),c=zM(b),d=cL(c);if(!d||d>c.byteLength){d=a.o.g[1];a=new window.Uint8Array(b.range.length+d.range.length);a.set(new window.Uint8Array(b.g,b.range.start,b.range.length));a.set(new window.Uint8Array(d.g,d.range.start,d.range.length),b.range.length);d=cL(new window.DataView(a.buffer));if(!d||d>a.byteLength)return null;c=new window.DataView(a.buffer.slice(0,d))}return c};
rS=function(a,b){for(var c=a.o,d=[],e;c.g.length;){if(c.g[0].range.end>b.end){var f=AM(c.g[0],b.end-c.g[0].range.start+1);e=f[0];c.g[0]=f[1]}else e=c.g.shift();d.push(e);if(e.range.end==b.end)break}d.length&&(0,g.H)(d,a.da,a)};
vS=function(a,b){a.Ua.td();a.S=0;var c=tS(a,b);if(0<=c)return c;a.g=a.Ua.Ng(b).g[0];uS(a)&&(a.B=null);a.C=null;a.D=0;return a.g.startTime};
wS=function(a,b){a.G=!0;a.F=-1;vS(a,window.Infinity);a.L.J?a.o.F=b:a.C=b};
Wla=function(a,b){var c=a.o.g.length?FR(a.o).info:a.B;if(b&&c&&!c.A){for(var d=c.Oa,c=[],e=0;e<a.A.length;e++){var f=a.A[e];(0,g.Sk)(f.info.g,function(a){return a.Oa==d})?c.push(f):xS(a,f)}a.A=c;
a.g=a.A.length?g.Xa(g.Xa(a.A).info.g):null}else yS(a)};
zS=function(a){var b=0;(0,g.H)(a.A,function(a){var c=b;a=a.o&&a.o.length?Sla(a.o):aN(a.info);b=c+a},a);
return b+=Qla(a.o)};
AS=function(a,b){var c=!!a.Ua.info.video&&!!a.B&&!a.B.A,d=1<=b&&c;Pla(a.o,d);a.M=d;Wla(a,2<=b&&c)};
BS=function(a){a.J.o||a.J.start();AS(a,0);uS(a)&&(a.B=null)};
uS=function(a){return!!a.B&&a.B.D};
CS=function(a){var b=[];a.B&&b.push(a.B);b=g.lb(b,GR(a.o));(0,g.H)(a.A,function(a){(0,g.H)(a.info.g,function(a){3!=a.type&&4!=a.type||b.push(a)})});
a.g&&!Wja(a.g,g.Xa(b),a.g.g.ke())&&b.push(a.g);return b};
DS=function(a){if(!a.g||!a.g.ub)return!1;a=CS(a);if(!a.length)return!1;for(var b=1;b<a.length;b++)if(!(1E-6>=Math.abs(a[b].C-a[b-1].B)))return!1;return!0};
tS=function(a,b){if(DS(a)){var c;a:{c=CS(a);for(var d=0;d<c.length;d++)if(c[d].C<=b&&c[d].startTime+c[d].duration>=b){c=c[d];break a}c=null}if(c)return c.startTime}return window.NaN};
ES=function(a){return(0,g.Sk)(a.A,function(a){return 4<=a.state})};
FS=function(a){return!(!a.g||!a.Ua.td()||a.g.g==a.Ua)};
GS=function(a){return FS(a)&&a.g.g.info.g<a.Ua.info.g};
HS=function(a,b,c){return(a=FR(a.o)?FR(a.o).info:a.B)&&!a.D?a.B>b&&a.B<b+c:!1};
yS=function(a){(0,g.H)(a.A,function(a){xS(this,a)},a);
a.A=[];a.g=null};
xS=function(a,b){if(b.S){var c=a.o,d=b.info;c.J=!1;c.H&&(c.V("placeholderrollback",c.H),c.H=null);if(c.o){var e=window.NaN;(0,window.isNaN)(c.F)&&(e=d.g[0].range?d.g[0].C:wR(c.o).startTime);c.o.reset();c.M=c.S;(0,window.isNaN)(e)||(d=c.o,d.D=e,zR(d))}c.G=null}b.dispose()};
IS=function(a){return!!a.g&&-1!=a.g.Oa&&a.g.Oa<a.Ua.index.Hi()};
JS=function(a){if(a.g){var b=FR(a.o);b&&3==b.info.type&&-1==a.g.Oa&&(a.g.Oa=b.info.Oa)}};
KS=function(a){a.L.J?(a=a.o,a=a.o?xR(a.o):a.D||0):a=a.C||0;return a};
Xla=function(a,b){this.o=a;this.g=b;this.A=1};
LS=function(a,b,c,d){d/=a.A;var e=vK(a.o)+1/wK(a.o),f;f=Math.max(.9*(d-3),tK(a.o)+a.o.policy.g*e);c=f/e*a.g.uh/(b+c);c=Math.min(c,d);c=Math.max(a.g.th,Math.min(a.g.sh,c));return Math.min(a.g.G,Math.max(65536,Math.ceil(c*b)))};
MS=function(a,b){var c=a.g.rh;if(a.g.ce)return b;var d=1E-9+tK(a.o)+c*vK(a.o),c=b*Math.min(1,c/(b*d));a.g.Zb&&(d=((oK(a.o.o,.98)||0)-a.g.ac)/(a.g.Il-a.g.ac),d=Math.max(0,Math.min(1,d)),c*=1-a.g.Zb*d);return c};
NS=function(a){return MS(a,wK(a.o))};
OS=function(a){return NS(a)/a.A};
Yla=function(a,b,c,d){this.ba=a;this.A=b;this.F=c;this.J=d;this.o=this.M=this.D=null;this.G="i";this.N=-1;this.g=this.B=null;this.C=[];this.aa={};this.S=this.da=0;this.fa=null;this.L=this.H=!1;this.ca=0};
Zla=function(a,b,c){"m"==c&&a.D.isLocked()&&!b.isLocked()&&(c="a");a.H=a.H||!1;if("m"==c&&b.isLocked())return a.G=c,PS(a,b),QS(a),RS(a),a.L|=a.o!=a.g,a.o=a.g,new qR(a.B,a.o,c);var d=aJ(a.D,b);if("m"==a.G&&a.D.isLocked()&&d)return null;"r"!=c||d||(a.N=-1);PS(a,b);RS(a);if("r"==c&&a.g==a.o){if(d)return null;a.o=a.g;return new qR(a.B,a.g,c)}a.G=c;SS(a);return null};
TS=function(a){return!!a.S&&(0,g.AG)()-a.S<=1E3*a.A.yb};
$la=function(a){return US(a,a.C[0])+US(a,a.J.g[0])};
VS=function(a){return a.D.isLocked()};
SS=function(a){a.o&&a.g&&US(a,a.o.info)<US(a,a.g.info)&&(a.H|="r"==a.G,a.H=a.A.Md?a.H|("v"==a.G&&a.g.info.video.width>a.o.info.video.width):a.H|a.g.info.video.width>1.6*a.o.info.video.width)};
WS=function(a){var b=a.G;a.G="a";a.N=(0,g.AG)();a.H=!1;return new qR(a.M,a.o,b)};
PS=function(a,b){a.D=b;var c=a.J.videoInfos;if(!VS(a)&&(c=(0,g.Ae)(c,function(a){return a.g>this.A.H?!1:this.A.A?4<this.F.g[a.id].C.g?!1:!0:!this.F.g[a.id].B},a),TS(a))){var c=(0,g.Ae)(c,function(a){return a.id!=this.fa.id},a),d=(0,g.Ae)(c,function(a){a=PI(a);
return"140"==a||"134"==a||"243"==a});
d.length&&(c=d)}c.length||(c=a.J.videoInfos);d=(0,g.Ae)(c,b.B,b);d.length||(d=[c[0]]);d.sort((0,g.A)(function(a,b){return US(this,a)-US(this,b)},a));
for(c=1;c<d.length;c++){var e=d[c-1],f=d[c];e.video.width>f.video.width?(g.ib(d,c),c--):US(a,e)*a.A.g>US(a,f)&&(g.ib(d,c-1),c--)}c=d[d.length-1];a.C=d;Uja(a.A,c)};
ama=function(a,b){if(b)a.B=a.F.g[b];else{var c=g.Za(a.J.g,function(a){return!!a.Nc&&a.Nc.isDefault}),c=c||a.J.g[0];
a.B=a.F.g[c.id]}QS(a)};
QS=function(a){if(!a.B.info.Nc&&(a.B=a.F.g[a.J.g[0].id],1<a.J.g.length)){var b;if(a.D.isLocked())b=240>a.D.g;else{for(b=0;b+1<a.C.length&&"tiny"==a.C[b].video.quality;)b++;var c=OS(a.ba)/a.A.g;b=US(a,a.B.info)+US(a,a.C[b])>c}b&&(a.B=a.F.g[a.J.g[1].id])}};
RS=function(a){if(VS(a))a.g=a.F.g[a.C[a.C.length-1].id];else{for(var b=Math.min(a.da,a.C.length-1),c=OS(a.ba),d=US(a,a.B.info),e=c/a.A.B-d;0<b&&!(US(a,a.C[b])<=e);b--);c=c/a.A.g-d;a.A.wm&&(e=a.ba,d=MS(e,xK(e.o))/e.A/a.A.g-d,c=Math.min(c,d));for(;b<a.C.length-1&&!(US(a,a.C[b+1])>=c);b++);a.g=a.F.g[a.C[b].id];a.da=b;SS(a)}};
bma=function(a){var b=a.A.B,c=OS(a.ba)/b-US(a,a.B.info),b=g.$a(a.C,function(a){return US(this,a)<c},a);
0>b&&(b=0);a.da=b;a.g=a.F.g[a.C[b].id]};
US=function(a,b){if(!a.A.ba)return b.g;if(!a.aa[b.id]){var c=a.F.g[b.id].index.Zv(a.ca,a.A.ba),c=b.B&&a.o&&a.o.index.Ob()?c||b.B:c||b.g;a.aa[b.id]=c}return a.aa[b.id]};
cma=function(){this.g=this.o=0;this.A=[]};
XS=function(a,b){return(a[b]<<24)+(a[b+1]<<16)+(a[b+2]<<8)+a[b+3]};
YS=function(a,b,c,d){this.o=a;this.D=b;this.C=d;this.B=c;this.g=0};
g.ZS=function(a,b,c){this.start=a;this.end=b;this.A=dma++;a=c||{};this.za=a.id||"";this.B=a.priority||7;this.active=!0;this.visible=a.visible||!1;this.style=a.style||"ytp-ad-progress";this.namespace=a.namespace||"";this.color="";a.color&&(b=a.color.toString(16),this.color="#"+Array(7-b.length).join("0")+b);this.g=null;this.tooltip=a.tooltip;this.visible=this.visible;this.style=this.style;this.start=this.start};
ema=function(a){switch(a.style){case "ytp-chapter-marker":return 8;case "ytp-ad-progress":return 6;case "ytp-time-marker":return Number.POSITIVE_INFINITY;default:return 0}};
g.$S=function(a,b){return a.start-b.start||a.B-b.B||a.A-b.A};
fma=function(){this.g=[];this.o=g.$S};
aT=function(a,b){for(var c=[],d=g.ia(a.g),e=d.next();!e.done&&!(e=e.value,e.contains(b)&&c.push(e),e.start>b);e=d.next());return c};
gma=function(a){return a.g.slice(bT(a,0x7ffffffffffff),a.g.length)};
bT=function(a,b){var c=wb(a.g,function(a){return b-a.start||1});
return 0>c?-(c+1):c};
cT=function(a,b){for(var c=void 0,d=g.ia(a.g),e=d.next();!e.done;e=d.next())if(e=e.value,e.contains(b)&&(void 0==c||e.end<c)&&(c=e.end),e.start>b&&(void 0==c||e.start<c)){c=e.start;break}return c};
dT=function(a,b,c,d){g.M.call(this);this.B=window.NaN;this.H=!1;this.G=null;this.J=this.L=this.C=!1;this.ba=a;this.aa=b;this.M=c;this.S=d;this.N=new g.Jt(this.A,250,this);g.N(this,this.N);this.D=new g.Jt(this.A,0,this);g.N(this,this.D);this.o=[];this.g=new fma};
eT=function(a,b){a.A();var c=a.g;if(1<b.length&&b.length>c.g.length)c.g=c.g.concat(b),c.g.sort(c.o);else for(var d=g.ia(b),e=d.next();!e.done;e=d.next())e=e.value,!c.g.length||0<c.o(e,c.g[c.g.length-1])?c.g.push(e):Ab(c.g,e,c.o);a.B=window.NaN;a.A()};
hma=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.o.indexOf(e)&&(a.o.push(e),c.push([1,e]))}return c};
jma=function(a,b){var c=[];if(!b.length)return c;b.sort(g.$S);for(var d=0;d<b.length;d++){var e=b[d];a.o.splice(a.o.indexOf(e),1);c.push([2,e])}return c};
gT=function(a,b,c,d,e){g.ZF.call(this);this.L=a;this.o=b;this.C=c;this.Qa=e||null;this.g=this.B=null;this.H=new Xla(a,b);this.A=null;this.F=new Yla(this.H,b,this.C,d);this.D=this.va=this.ca=this.sa=window.NaN;this.M=!1;this.J=window.NaN;this.na=0;this.ba=this.G=!1;this.Ta={};this.S="";this.fa=this.ga=0;this.Ea=b.lm?new cma:null;this.Pa=new lK(5);this.Wa=(0,g.A)(function(a){this.o.La&&(fT(this,!1,"qoe.avsync",a),this.o.La=!1)},this);
this.ka=!1;this.gb={};this.ra="";this.Ja=window.NaN};
iT=function(a,b){b=b||a.g&&a.g.g&&a.g.g.startTime||a.D;var c=a.g,d=a.F;if(d.A.ba){var e=d.g&&d.g.index.Og(b)||0;d.ca!=e&&(d.aa={},d.ca=e,PS(d,d.D))}!VS(d)&&-1<d.N&&(0,g.AG)()-d.N<1E3*d.A.kf||(d.S&&!TS(d)&&(d.S=0,PS(d,d.D)),QS(d),RS(d),d.L|=d.g!=d.o);d.g.index.Ob()||(d.ca=-1);d=d.g;c.Ua!=d&&(c.Ua=d,d.o||hT(a,c,!1));c=a.B;d=a.F.B;c.Ua!=d&&(c.Ua=d,d.o||hT(a,c,!1))};
kT=function(a){0==a.D&&(a.g.Ua.o||hT(a,a.g,!0),a.B.Ua.o||hT(a,a.B,!0));a.seek(a.D);jT(a,"gv")};
g.lT=function(a,b){if(b.B){var c=a.g.Ua.info.mimeType;b.g=b.A.addSourceBuffer(a.B.Ua.info.mimeType);b.H?b.o=b.A.addSourceBuffer(c):b.o=new kL}a.A=b;a.B.N=!1;a.g.N=!1;a.B.B=null;a.g.B=null;a.resume();XL(b)&&(b.g.addEventListener("updateend",(0,g.A)(a.Ce,a),!1),b.o.addEventListener("updateend",(0,g.A)(a.Ce,a),!1),b.g.addEventListener("error",(0,g.A)(a.qn,a,!0),!1),b.o.addEventListener("error",(0,g.A)(a.qn,a,!1),!1));jT(a,"msa");g.rP("msa",void 0,"video_to_ad");vP.measure&&vP.getEntriesByName("mark_vta").length&&
vP.measure("measure_vta_to_msa","mark_vta");a.da&&a.N&&(c=g.w("yt.scheduler.instance.enablePriorityThreshold"))&&c(1);a.Ce();a.va=g.FE((0,g.A)(a.Ce,a),1E4)};
nT=function(a){a.A&&a.A.g&&a.A.g.removeEventListener&&(a.A.g.removeEventListener("updateend",(0,g.A)(a.Ce,a),!1),a.A.o.removeEventListener("updateend",(0,g.A)(a.Ce,a),!1),a.A.g.removeEventListener("error",(0,g.A)(a.qn,a,!0),!1),a.A.o.removeEventListener("error",(0,g.A)(a.qn,a,!1),!1));a.A=null;a.G=!0;mT(a)};
oT=function(a){a.A&&UL(a.A)&&nT(a)};
pT=function(a,b,c){if(!b.J.o||!c.remove)return!1;if(c.updating)return!0;if(!b.J.g&&c.buffered.length)return a=c.buffered.end(c.buffered.length-1),c.remove(0,a),b.J.g=!0;b.J.reset();a.V("seekrequired");return!1};
rT=function(a,b,c){if(a.G&&(!a.o.aa||!zK(a.L)))return!1;if(a.C.o){if(0<b.A.length&&!a.o.na)return!1;if(b.G)return!0}if(!(b.g||a.C.o&&a.o.na&&b.G)){if(!b.Ua.td())return b.Ua.o||hT(a,b,!1),!1;vS(b,a.D)}var d=b.A.length+c.A.length;(ES(b)||ES(c)||a.C.isLive&&(!a.o.na||!b.A.length))&&--d;if(2<=d+1)return!1;d=b.g;if(!d)return!0;4==d.type&&d.g.td()&&(b.g=g.Xa(d.g.Jn(d)),d=b.g);!d.D&&!d.g.Uh(d)||d.g.info.audio&&4==d.type?a=!1:GS(b)&&!a.o.S?a=!0:(!(c=d.D||zS(b)+zS(c)>a.o.ca||!!(c.g&&!c.g.D&&c.g.B<d.B)&&(!a.C.o||
c.g.B&&d.B))&&(c=3==d.type)&&(d=d.B,b=qT(a,b,!0),!VS(a.F)&&0<a.o.ra&&(c=((0,g.AG)()-a.na)/1E3,b=Math.min(b,a.o.ra+a.o.Ab*c)),b=a.D+b,a=a.o.tb?Math.min(b,kma(a)+a.o.tb):b,c=d>a),a=c?!1:!0);return a};
sT=function(a,b,c){if(!(a.A&&!SL(a.A)&&!XL(a.A)||a.M||a.o.md&&!a.F.H)){var d=a.D,e=a.H;c=LS(e,b.Ua.info.g,c.Ua.info.g,0);var f=tK(e.o)+c*vK(e.o)+c/wK(e.o),d=d+Math.max(f,f+e.g.gb-c/b.Ua.info.g);a:{a=a.F.H;if(b.A.length){if(b.A[0].info.g[0].startTime<=d)break a;yS(b)}e=b.o;for(c=e.g.length-1;0<=c;c--)e.g[c].info.startTime>d&&e.g.pop();b.A.length?b.g=g.Xa(g.Xa(b.A).info.g):b.o.g.length?b.g=FR(b.o).info:b.g=b.B;a&&b.g&&d<b.g.startTime&&(b.C=null,b.D=0,b.g=b.Ua.Ng(d,!0).g[0])}}};
vT=function(a,b,c){rT(a,b,c);var d=b.g;if(b.G)a.ka=!0,d=b.Ua.Ng(window.Infinity),d.B=a.Ja;else if(b.g.g.td()){!GS(b)||a.o.S||a.C.o||(sT(a,b,c),b.g||vS(b,a.D));var d=b.g,e=d.B-a.D,f=!d.range||0==d.ub&&0==d.o?0:d.range.length-(d.o+d.ub),k;if(FS(b)){k=a.o.Ja?Math.min(qT(a,b,!0),b.S)*a.o.Ja:Math.min(a.o.Ea,.5*qT(a,b,!0));var l;if(l=a.o.yg)if(l=!!b.A.length)l=b.A[0].info,l=4==l.g[l.g.length-1].type;k=GS(b)||e<=k&&!l}else k=!1;k&&0==f&&(a.C.o?d.g=b.Ua:(f=d.startTime+tT,d.ub&&(f+=d.duration),vS(b,f),d=b.g));
d.g.ke()?(c=LS(a.H,d.g.info.g,c.Ua.info.g,e),e=FS(b),c=d.g.Th(d,c),c.range&&1<c.g.length&&(e||a.o.A&&c.o.g?c=d.g.Th(d,c.g[0].ub):(e=c.g[c.g.length-1],f=e.ub/c.range.length,!e.A&&.4>f&&(c=d.g.Th(d,c.range.length-e.ub)))),d=c):d=d.g.tk(d)}else d.g.ke()?(c=LS(a.H,b.Ua.info.g,c.Ua.info.g,0),d=d.g.Th(d,c)):d=d.g.tk(d);kS(b,uT(a,d))};
uT=function(a,b){if(3==b.g[b.g.length-1].type){var c;a:{c=a.F;var d=b.g[0].g;if(d.info.video){if(c.o!=d){c.o=d;c=WS(c);break a}}else c.M=d;c=null}c&&a.V("videoformatchange",c)}c=aN(b);var d=a.L,e=a.H,f=Math.min(2.5,tK(e.o)),e=NS(e);c=new Tla(d,c,c-f*e,a.o.mi&&a.ka,hM(b.g[0]));c=new VR(a.o,b,c,a.gb);d=(0,g.A)(a.DN,a);c.L=d;c.start(Math.max(0,b.g[0].C-a.D));b.g[0].g.info.video&&(d=WR(c))&&(a.ra=d.substr(0,d.indexOf(".")));return c};
wT=function(a){if((0,window.isNaN)(a.sa)){var b=(0,g.A)(a.Ce,a);a.sa=g.GE(b,0)}};
xT=function(a){if((0,window.isNaN)(a.ca)){var b=(0,g.A)(function(){this.ca=window.NaN;this.Ce()},a);
a.ca=g.GE(b,1E3)}};
lma=function(a){if(a.C.A)return!1;if(a.M){var b;if(b=0<a.o.fa&&a.g&&a.B){b=a.H;var c=a.g,d=a.B,e=((0,g.AG)()-a.na)/1E3,f=a.o.fa;if(0==c.A.length&&0==d.A.length)b=!0;else{for(var k=0,l=GR(c.o).concat(GR(d.o)),l=g.ia(l),m=l.next();!m.done;m=l.next())k+=m.value.ub;c=c.H+d.H;d=k/c;d>f?b=!0:(c*=f-d,d=OS(b),b.g.Mb&&0<e&&0<k&&(d=k/e/b.A),b=c/d<f)}b=!b}if(b)return a.o.Mb&&a.gn("msst","vbr."+a.g.H+";abr."+a.B.H+";bwe."+OS(a.H)),!0;if(b=a.o.Ag)b=a.g,b=0<b.A.length&&1==b.o.g.length&&ER(b.o).info.F<b.aa;if(b)return!0}if(!a.ba||
!a.o.M||10>a.D||360<a.g.Ua.info.video.o)return!1;b=HS(a.g,a.D,a.o.M)||HS(a.B,a.D,a.o.M);return(0<a.g.A.length||0<a.B.A.length||rT(a,a.g,a.B)||rT(a,a.B,a.g))&&b};
AT=function(a,b,c,d,e){if(c.updating)return!0;var f=ER(b.o);if(!f)return!1;!b.B||b.B.A||iM(b.B,f.info)||(b.B=null,SL(a.A)&&c.abort(),c.g=null);var k=a.C.isLive&&EM(f),l=!a.C.A&&b.L.ka&&nS(b);a.o.qh&&a.C.A&&0==f.info.o&&1==f.info.g.info.o&&(a.C.o?null!=b.B&&b.B.g==f.info.g:null!=c.g&&c.g==f.info.g.g)&&(dL(zM(f),1836019574),dL(zM(f),1718909296),f.B=!1);if(!a.C.A||0==f.info.o)if(k=k||a.C.o||f.B,l||!k){if(f.info.g.td(),k=f.info.g.g,c.g==k?k=!1:(yT(a,c,k),c.g=k,a.V("initsegment",c.g),k=c.updating),k)return!0}else c.g=
null;k=qT(a,b,!1);k=a.D+k;null!==d&&0<=d&&(k=Math.min(k,d));d=k;if(b.M)d=ER(b.o).range;else if(k=b.o,!k.g.length||k.g[0].info.C>=d)d=null;else{var m;for(m=1;m<k.g.length;m++){var n=k.g[m].g!=k.g[m-1].g;if(k.g[m].info.C>d||n||k.B.ka)break}m--;d=new dM(k.g[0].B?0:k.g[0].range.start,k.g[m].range.end)}if(!d)return!1;if(l){if(oS(b))return!1;if(k=qS(b,a.Wa))return zT(a,c,new window.Uint8Array(k),f,b)?(sS(b),!0):!1}k=new window.Uint8Array(f.g,d.start,d.length);if(a.Ea&&f.info.g.info.video&&1==f.info.g.info.o&&
(m=a.Ea,0==f.info.o&&(m.o=0,m.g=0,m.A.length=0),!((0,window.isNaN)(m.o)||8>k.length))){for(var n=new window.DataView(k.buffer,k.byteOffset),q=!1;!q;)if(m.o==m.g)a:{var r,v,q=m,x=k.length;if(q.o+7>=x){for(r=q.o;r<x;r++)q.A.push(n.getUint8(r));q=!0}else{if(0<q.A.length){for(r=0;8>q.A.length;r++)q.A.push(n.getUint8(r));v=XS(q.A,0);r=XS(q.A,4);q.A.length=0}else v=n.getUint32(q.g),r=n.getUint32(q.g+4);if(1836019558==r||1836019574==r||1718909296==r||1936286840==r)q.o+=v,q.g=q.o;else if(1835295092==r)q.o+=
v,q.g+=8;else{q.o=window.NaN;q=!0;break a}q=q.g>=x}}else a:if(q=m,x=k.length,q.g+5>=x){for(r=q.g;r<x;r++)q.A.push(n.getUint8(r));q=!0}else{if(0<q.A.length){for(r=0;6>q.A.length;r++)q.A.push(n.getUint8(r));r=XS(q.A,0);12==r&&6==q.A[4]&&45==q.A[5]&&n.setUint8(q.g+5,63);q.g+=r+4;q.A.length=0}for(;q.g<q.o&&q.g+5<x;){r=n.getUint32(q.g);if(0>=r){q.o=window.NaN;q=!0;break a}12==r&&6==n.getUint8(q.g+4)&&45==n.getUint8(q.g+5)&&n.setUint8(q.g+5,63);q.g+=r+4}q=q.g>=x}(0,window.isNaN)(m.o)||(m.o-=k.length,m.g-=
k.length)}m=!1;if(3==f.info.type&&(1==f.info.g.info.o||2==f.info.g.info.o))if(m=1==f.info.g.info.o&&a.o.rq&&!l&&!b.N&&0==f.info.o&&0<f.info.startTime)BM(f,0);else if(a.C.A&&0==f.info.o&&!a.o.J){a:if(b.L.ga&&nS(b)&&!EM(ER(b.o))&&oS(b))e=!1;else{null===b.C||!a.o.Ld&&b.B&&!iM(b.B,f.info,!0)?(null!==b.C&&(l=jM(f.info),l.startTime="1",l.pSeg=b.B.Oa,l.seg=f.info.Oa,fT(a,!1,"qoe.avsync",l)),n=f.info.startTime):n=b.C;if(0==BM(f,n))l=jM(f.info),l.smst=1,fT(a,!0,"fmt.unparseable",l);else if(l=CM(f),b.C=n+l,
a.C.o&&f.info.g.info.video&&EN(a.C,new BK(f.info.Oa,n,l,f.o.ingestionTime,"sq/"+f.info.Oa))&&(l=OK(f.o)))l.Jd+=n,n=a.C,n.G.push(l),n.V("cuepointsadded");l=0;f.info.g.info.video&&null!==e&&f.info.duration&&!a.C.o&&(n=1E3*(CM(f)-f.info.duration),e-=b.D+n,Math.abs(e)>=a.o.va&&(l=e/1E3));e=l;l=CM(f);n=l+e;e&&!EM(f)&&(q=jM(f.info),q.deltaOffsetMs=1E3*(l-f.info.duration).toFixed(3),q.cumOffsetMs=b.D.toFixed(3),q.finalDurSecs=n.toFixed(3),fT(a,!1,"qoe.avsync",q));if(b.L.ga&&nS(b)&&!EM(ER(b.o))&&e&&0<n){if(b.D+=
1E3*(l-f.info.duration+e),b.C+=e,e=qS(b,g.y,n*DM(f))){if(zT(a,c,new window.Uint8Array(e),f,b)){sS(b);e=!0;break a}e=!1;break a}}else b.D+=1E3*(l-f.info.duration);e=null}if(null!=e)return e}if(!zT(a,c,k,f,b))return!1;b.N=!0;m?(BM(f,f.info.startTime),c.abort(),c.g=null):rS(b,d);f.B&&(c.g=f.info.g.g,a.V("initsegment",c.g));return!0};
zT=function(a,b,c,d,e){c=yT(a,b,c);if(0!=c){if(2!=c){if(d.info.g.info.video){var f=a.o;f.C=Math.floor(f.C*f.D);f.L=Math.floor(f.L*f.D);f.o=Math.floor(f.o*f.D);f.qb||(f.G=Math.floor(f.G*f.D))}else f=a.o,f.F=Math.floor(f.F*f.D),f.da=Math.floor(f.da*f.D),f.o=Math.floor(f.o*f.D);if(1==c&&a.o.qb&&b.remove&&!b.updating){a=!1;e=b.buffered.length;for(c=0;!a&&c<e;c++)b.buffered.start(c)>d.info.B&&(b.remove(b.buffered.start(c),b.buffered.end(e-1)),a=!0);a||b.remove(0,d.info.startTime-5)}else BS(e)}return!1}return!0};
yT=function(a,b,c){try{XL(a.A)?b.appendBuffer(c):b.append(c)}catch(d){if(11==d.code)return fT(a,!1,"html5.invalidstate",{updating:""+ +b.updating,mrs:a.A.A.readyState}),2;if(22!=d.code&&0!=d.message.indexOf("Not enough storage"))return g.zE(d),4;a.o.fe&&a.gn("quex","br."+qL(b.buffered).replace(/,/g,"_"));return 1}return UL(a.A)?3:0};
BT=function(a,b){b.o.subscribe("error",a.xM,a);b.o.subscribe("timestamprewrite",a.BM,a);b==a.g&&(b.o.subscribe("placeholderinfo",a.yM,a),b.o.subscribe("placeholderrollback",a.zM,a),b.o.subscribe("segmentinfo",a.AM,a),b.o.subscribe("cuepoint",a.wM,a))};
qT=function(a,b,c){if(a.o.aa&&a.G)return a.o.aa;var d=b.Ua.info.audio?a.o.F:a.o.C;!a.o.S&&VS(a.F)&&(d=Math.max(d,b.Ua.info.audio?a.o.da:a.o.L));c&&(d+=a.o.ca);c=VS(a.F)?b.g?b.g.g.info.g:b.Ua.info.g:b.H;d/=c;0<a.o.Wa&&a.A&&SL(a.A)&&(b=b.Ua.info.video?a.A.o:a.A.g)&&!b.updating&&(c=lL(b.buffered,a.D),0<=c&&(b=a.D-b.buffered.start(c),d+=Math.max(0,Math.min(b-a.o.Wa,a.o.jf))));0<a.o.o&&(d=Math.min(d,a.o.o));a.o.Pa&&!VS(a.F)&&(d=Math.min(d,Math.max(25,a.o.Pa*($la(a.F)/NS(a.H)))));return d};
kma=function(a){if(!a.Qa)return window.Infinity;for(var b=(0,g.Ae)(a.Qa.g.g,function(a){return"ad"==a.namespace}),b=g.ia(b),c=b.next();!c.done;c=b.next())if(c=c.value,c.start/1E3>a.D)return c.start/1E3;
return window.Infinity};
CT=function(a,b,c){var d=(0,g.A)(a.V,a,"error");a=a.o.wb?(0,g.A)(a.gn,a,"pathprobe"):null;(new YS(b,c,a,d)).send()};
DT=function(a,b,c,d){if(b.Ua.td())if(d){var e=mL(d.buffered,c),f=window.NaN,k=b.B;k&&(f=mL(d.buffered,k.g.index.ng(k.Oa)));if(e==f&&DS(b))return c;d=tS(b,c);if(0<=d)return d;AS(b,b.Ua.ke()?1:2);b.Ua.info.video&&b.B&&!b.B.A&&!Ola(b.o)&&b.Ua.ke()&&(d=b.B,b.o.g.length&&(d=FR(b.o).info),d=b.g||d,d=d.g.Th(d,d.range.length-(d.ub+d.o)),kS(b,uT(a,d)));if((0,window.isNaN)(e))return vS(b,c);vS(b,e+tT)}else vS(b,c);else b.Ua.o||hT(a,b,!1),0!=c&&yS(b);return c};
hT=function(a,b,c){c=b.Ua.Cm(a.o,c);(0,g.H)(c,function(a){if("f"!=a.g[0].g.info.A){var c=uT(this,a);!hM(a.g[a.g.length-1])&&kS(b,c)}},a);
b.Ua.o=!0};
fT=function(a,b,c,d){a.ma()||(a.V("error",new g.OP(c,b,d)),b&&a.dispose())};
ET=function(a){var b={lct:a.D.toFixed(3),lsk:a.M,lmf:VS(a.F),lbw:wK(a.L).toFixed(3),lhd:tK(a.L).toFixed(3),lst:(1E9*vK(a.L)).toFixed(3),laa:a.B.B?kM(a.B.B):"",lva:a.g.B?kM(a.g.B):"",lar:a.B.g?kM(a.B.g):"",lvr:a.g.g?kM(a.g.g):"",lvh:a.ra};a.A&&!UL(a.A)&&(b.lab=qL(a.A.g.buffered),b.lvb=qL(a.A.o.buffered));return b};
jT=function(a,b,c){a.Ta[b]=c?window.performance.timing.navigationStart+c:(0,g.AG)()};
mT=function(a){a.B&&AS(a.B,0);a.g&&AS(a.g,0)};
FT=function(a,b,c){if(!b||!c)return!0;c=-1!=lL(c.buffered,a);var d=FR(b.o)?FR(b.o).info.B>=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)};
mma=function(a,b,c){this.url=a;this.interval=b;this.g=c};
nma=function(a,b){this.message=a;this.number=b;this.g=new uC(5E3,2E4,.2)};
oma=function(a,b,c,d){this.g=a;this.statusMessage=b;this.headers=c;this.message=d};
pma=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=Wa(e[1]),e=e[2],b=QK(b.slice(d+2));return null==b?null:new oma(f,e,b,a.subarray(c+4))};
GT=function(a){return g.pc(a,!0).replace(/[\.]{1,2}$/,"")};
HT=function(a,b){this.g=a;this.contentType=(void 0===b?"":b)||null;this.A=this.o=window.NaN;this.B=!1;this.C=[]};
IT=function(a,b,c,d,e){g.M.call(this);this.C=a;this.L=b;this.G=c;this.g=d;this.o=e;this.sessionId="";this.A=this.J=this.H=this.D=this.F=null;this.B=new g.OL(this);g.N(this,this.B);this.g?(this.B.U(this.g,"message",this.hJ),this.B.U(this.g,"keystatuseschange",this.iJ)):this.o&&(PL(this.B,this.o,["mskeymessage","webkitkeymessage"],this.iz),PL(this.B,this.o,["mskeyerror","webkitkeyerror"],this.hz),PL(this.B,this.o,["mskeyadded","webkitkeyadded"],this.gz))};
JT=function(a){return!(!a.g||!a.g.keyStatuses)};
qma=function(a){var b=[];a.g.keyStatuses.forEach(function(a,d){"usable"==a&&b.push(GT(new window.Uint8Array(d)))});
return b};
rma=function(a,b){var c=[];if(!JT(a))return c;a.g.keyStatuses.forEach(function(a,e){var d=GT(new window.Uint8Array(e)),k={keyId:d};k.type=b[d];k.status=a;c.push(k)});
return c};
KT=function(a,b){g.M.call(this);this.o=a;this.g=b;this.F={};this.B=null;this.C=new g.OL(this);g.N(this,this.C);this.A=this.D=null};
LT=function(a){if(a.g.A)return a.g.A.createMediaKeys().then(AE((0,g.A)(function(a){this.D=a;this.o.setMediaKeys(a)},a)));
IN(a.g)?a.A=new (HN())(a.g.o):JN(a.g)?(a.A=new (HN())(a.g.o),a.o.webkitSetMediaKeys(a.A)):sma(a);return null};
sma=function(a){PL(a.C,a.o,["keymessage","webkitkeymessage"],a.J);PL(a.C,a.o,["keyerror","webkitkeyerror"],a.H);PL(a.C,a.o,["keyadded","webkitkeyadded"],a.G)};
tma=function(a,b){var c=b.g;if(a.g.A){var d=a.D.createSession(),c=d.generateRequest(b.contentType,c),d=new IT(null,null,null,d,null);c.then(null,AE((0,g.A)(d.Ky,d,"t.g")));return d}if(IN(a.g)){for(var d=new window.Uint8Array(270),e=0;135>e;e++)d[2*e]='<PlayReadyCDMData type="LicenseAcquisition"><LicenseAcquisition version="1.0" Proactive="true"></LicenseAcquisition></PlayReadyCDMData>'.charCodeAt(e);c=a.A.createSession("video/mp4",c,d);return new IT(null,null,null,null,c)}if(JN(a.g)){for(var d=c.subarray(4),
d=String.fromCharCode.apply(null,new window.Uint16Array(d.buffer,d.byteOffset,d.byteLength/2)).match(/ek=([0-9a-f]+)/)[1],e="",f=0;f<d.length;f+=2)e+=String.fromCharCode((0,window.parseInt)(d.substr(f,2),16));for(var f=a.g.fairPlayCert,d=new window.Uint8Array(new window.ArrayBuffer(f.length)),k=0;k<f.length;k++)d[k]=f.charCodeAt(k);for(var f=new window.ArrayBuffer(2*e.length),k=new window.Uint16Array(f),l=0;l<e.length;l++)k[l]=e.charCodeAt(l);e=new window.Uint8Array(f);f=0;l=new window.ArrayBuffer(c.byteLength+
4+e.byteLength+4+d.byteLength);k=new window.Uint8Array(l);l=new window.DataView(l);k.set(c);f+=c.byteLength;l.setUint32(f,e.length,!0);f+=4;k.set(e,f);f+=e.length;l.setUint32(f,d.byteLength,!0);k.set(d,f+4);c=a.A.createSession("video/mp4",k);return new IT(null,null,null,null,c)}a.o.generateKeyRequest?a.o.generateKeyRequest(a.g.o,c):a.o.webkitGenerateKeyRequest(a.g.o,c);a.B=new IT(a.o,a.g,c,null,null);return a.B};
MT=function(a,b){var c=a.F[b.sessionId];!c&&a.B&&(c=a.B,a.B=null,c.sessionId=b.sessionId,a.F[b.sessionId]=c);return c};
OT=function(a,b,c,d,e,f){f=void 0===f?!1:f;g.M.call(this);this.B=a;this.g=d;this.g.subscribe("oauthtoken",this.Ox,this);this.D={session_id:e};this.N=!!f;this.M=0;a=this.B.C;JN(this.B)&&(a=c.g.subarray(4),a=String.fromCharCode.apply(null,new window.Uint16Array(a.buffer,a.byteOffset,a.byteLength/2)).replace("skd://","https://"));NT(this,a);this.C=this.H=!1;var k;g.rP("drm_gk_s");try{k=tma(b,c)}catch(l){b="t.g",l instanceof window.DOMException&&(b+=";c."+l.code),this.g.V("licenseerror","drm.unavailable",
!0,b,"YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK"),k=null}if(this.A=k)b=this.A,k=this.aJ,a=this.ZI,d=this.cJ,b.F=this.bJ,b.D=k,b.H=a,b.J=d,b.A=this,g.N(this,this.A);this.S=c.C;this.F={};this.J=window.NaN;this.o=c.o||window.NaN};
NT=function(a,b){if(uma.test(b)){for(var c in a.D)b=Lg(b,c,a.D[c]);a.G=b}else PT(a,"drm.net",!0,"t.x")};
PT=function(a,b,c,d,e){a.ma()||a.g.V("licenseerror",b,c,d,e);c&&a.dispose()};
vma=function(a,b){var c=(0,g.I)(a,function(a){return b[a]});
return QT(c)};
QT=function(a){return g.cb(a,"UHD2")?"highres":g.cb(a,"UHD1")?"hd2160":g.cb(a,"HD")?"hd1080":g.cb(a,"HD720")?"hd720":"large"};
wma=function(a){if(!a)return{};var b={};(0,g.H)(a.split(";"),function(a){a=a.split(",");2==a.length&&(b[a[1]]=a[0])});
return b};
xma=function(a){var b={requestedKeyIds:a.S,cryptoPeriodIndex:a.o};a.A&&(b.receivedKeys=rma(a.A,a.F));return b};
RT=function(){this.keys=[];this.values=[]};
TT=function(a,b,c,d,e){e=void 0===e?"":e;g.ZF.call(this);a&&(a.addKey||a.webkitAddKey)||HN()||MN(c);this.L=c;this.H=a;this.g=b;this.subscribe("newlicense",this.QM,this);this.subscribe("newsession",this.RM,this);this.subscribe("sessionready",this.PN,this);this.subscribe("keystatuseschange",this.dJ,this);this.fa=e||g.AO();this.N=null;this.A=new RT;this.B=this.D=null;this.o=[];this.F="fairplay"==this.g.g?dJ:ST;this.M=new KT(a,b);g.N(this,this.M);this.C=null;IN(b)&&(this.C=new KT(a,b),g.N(this,this.C));
this.ca=2;this.J=new g.OL(this);g.N(this,this.J);this.S=!1;this.ba=null;this.G=!1;a=this.H;this.g.A?this.J.U(a,"encrypted",this.LL):PL(this.J,a,IN(this.g)?["msneedkey"]:["needkey","webkitneedkey"],this.NM);(a=LT(this.M))?a.then(AE((0,g.A)(this.uM,this)),AE((0,g.A)(this.QK,this))):this.G=!0;this.C&&LT(this.C);this.da=d};
VT=function(a,b,c){a.ma()||IN(a.g)==c||a.S&&a.da||(a.S=!0,a.o.push(b),1<a.o.length||a.G&&UT(a))};
UT=function(a){for(;a.o.length;){var b=a.o[0];if(g.zb(a.D,b.g))a.o.shift();else{if(a.A.get(b.g))if("fairplay"==a.g.g)a.A.remove(b.g);else{a.o.shift();continue}if("widevine"==a.g.g){var c;a:{var d=b.g;try{for(var e=0,f=new window.DataView(d.buffer);e<f.byteLength-8;){var k=f.getUint32(e);if(1>=k)break;if(1886614376==f.getUint32(e+4)){var l=32;if(0<f.getUint8(e+8))var m=f.getUint32(e+28),l=l+(16*m+4);var n=f.getUint32(e+l-4);try{for(var q,r=new Bc(d.subarray(e+l,e+l+n)),v=new UD,l=r;Cc(l)&&4!=l.o;)switch(l.A){case 1:var x,
B=l.g;b:{for(var F,J,L=B,eb=0,pb=0;4>pb;pb++)if(J=L.o[L.g++],eb|=(J&127)<<7*pb,128>J){L.F=eb>>>0;L.D=0;break b}J=L.o[L.g++];eb|=(J&127)<<28;F=0|(J&127)>>4;if(128>J)L.F=eb>>>0,L.D=F>>>0;else{for(pb=0;5>pb;pb++)if(J=L.o[L.g++],F|=(J&127)<<7*pb+3,128>J){L.F=eb>>>0;L.D=F>>>0;break b}L.C=!0}}var ka=B.F,td=B.D;if(L=td&2147483648)ka=~ka+1>>>0,td=~td>>>0,0==ka&&(td=td+1>>>0);eb=4294967296*td+ka;x=L?-eb:eb;Uc(v,1,x);break;case 2:L=x=Fc(l);Tc(v,2).push(L);break;case 3:x=Ec(l);Uc(v,3,x);break;case 4:x=Fc(l);
Uc(v,4,x);break;case 5:x=Ec(l);Uc(v,5,x);break;case 6:x=Ec(l);Uc(v,6,x);break;case 7:x=Ac(l.g);Uc(v,7,x);break;case 8:x=Fc(l);Uc(v,8,x);break;case 9:x=Ac(l.g);Uc(v,9,x);break;case 10:x=Ac(l.g);Uc(v,10,x);break;default:Dc(l)}q=v;if(null!=q){c=q;break a}}catch(Bb){}}e+=k}c=null}catch(Bb){c=null}}if(null!=c)for(d=Tc(c,7),null!=d&&(b.o=d),d=Tc(c,10),null!=d&&0<d&&(b.A=d),d=Tc(c,2),d=!d.length||d[0]instanceof window.Uint8Array?d:(0,g.I)(d,Daa),d=g.ia(d),e=d.next();!e.done;e=d.next())b.C.push(GT(e.value));
a:{if(!(a.L.g("disable_license_delay")||"widevine"!=a.g.g||b.B||(0,window.isNaN)(b.o)))for(d=g.ia(a.A.values),e=d.next();!e.done;e=d.next())if(1>=Math.abs(e.value.o-b.o)){d=!0;break a}d=!1}if(d){yma(a,b);a.o.shift();continue}}break}}a.o.length&&(b=a.o[0],a.A.get(b.g),c=new OT(a.g,a.M,b,a,a.fa,a.L.g("html5_use_drm_retry")),c.Ox(a.N),"playready"==a.g.g&&a.L.g("playready_on_borg")&&(g.$b(c.D,{prob:"1"}),NT(c,c.G)),a.A.set(b.g,c))};
yma=function(a,b){a.B&&a.B.dispose();a.D=b.g;a.B=new g.Jt(function(){a.D=null;a.B=null;b.B=!0;a.o.push(b);1<a.o.length||UT(a)},zma(b.A));
a.B.start()};
zma=function(a){return 1E3*Math.max(0,Math.random()*(((0,window.isNaN)(a)?120:a)-30))};
WT=function(a){var b={};this.A=(b.c1a=(0,g.A)(this.C,this),b.c3a=(0,g.A)(this.D,this),b.c6a=(0,g.A)(this.B,this),b);(this.g=a)&&this.g.Jj?this.o=g.IE(this.g.Jj):this.o=[]};
Ama=function(a,b){this.X=a;this.g=b};
XT=function(a,b){var c=eJ(eJ(a.X.lm,b.Kk),b.Nk);"auto"!=iJ()||(c=a.X.experiments.g("html5_restore_performance_cap")?eJ(c,new $I(0,kJ(),!1)):eJ(c,a.X.lf));return c};
ZT=function(a,b){var c=iJ(),d;if("auto"!=c)d=bJ("auto",c,!1);else if(g.$L(a.X)&&bM(a.X.M,fO))d=dJ;else{var e,c=!!b.rb.g;HO(a.X)&&(e=window.screen&&window.screen.width?new g.Yd(window.screen.width,window.screen.height):null);e||(e=a.X.Dg?a.X.Dg.clone():a.g.Ya());(EO||vi||c)&&e.scale(g.TO());c=b.rb.videoInfos;if(c.length){var f=.85,k=3==c[0].video.projectionType;2!=c[0].video.projectionType||YN?k&&!YN&&(f*=.25):f*=.5;for(k=0;k<c.length&&!(d=c[k].video,null===e||d.width*f<e.width&&d.height*f<e.height);k++);
d=bJ("auto",d.quality,!1)}else d=dJ;e=d.g;dF()&&(e=Math.max(e,MI.hd1080));(WE("armv7")||WE("android"))&&!g.$L(a.X)&&RI(b.rb.videoInfos[0])&&(e=Math.min(e,MI.large));e=Math.max(e,MI.medium);a.X.experiments.o("html5_default_quality_cap")&&(e=Math.min(e,a.X.experiments.o("html5_default_quality_cap")));d.g!=e&&(d=new $I(d.o,e,d.A))}return d};
g.$T=function(a,b){this.state=a;this.g=b};
gK=function(a,b){return g.W(a.state,b)&&!g.W(a.g,b)?1:!g.W(a.state,b)&&g.W(a.g,b)?-1:0};
aU=function(){g.M.call(this);this.A={};this.g={};this.o=new g.Jt(this.vP,500,this);g.N(this,this.o)};
bU=function(a,b){return a.g[b]?a.g[b].g.fb():[]};
cU=function(a){this.A=a;this.g=new rR(100);this.o=window.NaN};
dU=function(){var a=CF("visibilityState",window.document);return!(!a||"visible"==a)};
Bma=function(a){var b=eU();b&&window.document.addEventListener(b,a,!1)};
eU=function(){var a;if(window.document.visibilityState)a="visibilitychange";else{if(!window.document[BF+"VisibilityState"])return"";a=BF+"visibilitychange"}return a};
fU=function(){this.endTime=this.startTime=-1;this.sp="-";this.playbackRate=1;this.visibilityState=0;this.kp="";this.connectionType=this.xh=0};
Cma=function(a,b,c,d,e,f,k,l,m,n,q,r){this.videoData=a;this.g=b;this.hg=c;this.C=d;this.o=e;this.D=f;this.L=k;this.H=l;this.J=m;this.F=n;this.B=q;this.G=r||function(){};
this.A=null};
g.xJ=function(a){return gU(a)()};
gU=function(a){if(!a.A){var b=g.ya(function(a){var b=(0,g.AG)();a&&631152E6>=b&&(g.zE(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.ya(function(a){return Math.round(b()-a)/1E3},b())}return a.A};
ZJ=function(a){var b=a.hg();g.za(b,a.videoData.hg());return b};
JJ=function(a){return a.g.experiments.g("html5_report_conn")&&window.navigator.connection&&window.navigator.connection.type?hU[window.navigator.connection.type]||hU.other:0};
wJ=function(a){var b=new fU;b.sp=a.hg().cc||"-";b.playbackRate=a.J();var c=a.B();0!=c&&(b.visibilityState=c);a.g.xh&&(b.xh=1);c=a.H();c.Nc&&c.Nc.id&&"und"!=c.Nc.id&&(b.kp=c.Nc.id);b.connectionType=JJ(a);return b};
iU=function(a,b,c,d,e,f){g.ZF.call(this);this.Wa=new Ila;this.G=c;this.wb=d;this.ee=f;c=(0,g.A)(function(b,c){b!="crn_"+iU.g||!a.experiments.g("use_legacy_ended_cue_range_behavior")&&g.W(this.A,32)||g.jU(this);e(b,c)},this);
this.D=new dT((0,g.A)(this.getCurrentTime,this),(0,g.A)(this.eB,this),(0,g.A)(this.OQ,this),c);g.N(this,this.D);this.na=window.NaN;this.S=this.F=null;this.X=a;this.ra=new Ama(a,this.wb);this.Ea=!1;this.H=this.B=null;this.da=[];this.fa=new iS;this.M=new iS;this.Md=this.oc=this.fe=this.sa=!1;this.gb=window.NaN;this.A=new g.YQ;this.Pa=[];this.Nd=b;this.ga=null;this.N=window.NaN;this.ka=new g.OL;g.N(this,this.ka);this.g=new g.pQ;this.o=null;this.ca=window.NaN;this.C=null;this.md=this.Ja=!1;this.Qa=window.NaN;
this.Mb=this.Zb=this.qb=this.Ta=!1;this.tb=this.ac=window.NaN;this.jf=a.experiments.g("html5_force_play_on_suspend_event");this.kf=a.experiments.g("html5_force_play_on_suspend_event_limited");this.J=null;this.lf=this.X.experiments.g("html5_playing_event_buffer_underrun");this.ba=new aU;g.N(this,this.ba);this.ba.Fb("bufferhealth",(0,g.A)(this.Uv,this));this.ba.Fb("bandwidth",(0,g.A)(this.hG,this));this.ba.Fb("networkactivity",(0,g.A)(this.jG,this),!0);this.ba.start();this.Ld=!1;this.yb=!0;this.hc=
this.Eb=!1;this.va=1;this.L=null;this.ce=(0,g.A)(this.DO,this);Bma(this.ce);this.Je=new g.Jt(this.Pr,0,this);g.N(this,this.Je);this.de=this.Ec=0};
kU=function(a){g.JG()?g.LG(a.Qa):g.EE(a.Qa)};
qU=function(a,b,c,d){a.da.length=0;a.fa.reset();a.M.reset();a.na=window.NaN;a.N=window.NaN;a.Ja=!1;a.Eb=!1;a.o&&DL(a.o);lU(a);mU(a);nU(a);kU(a);a.ba.clear();a.Je.stop();a.J=null;a.L=null;g.Te(a.g);if(2==a.Nd||BO.test(a.X.N))b.kx=!0;var e=pO(b.Ub,a.X);e&&(b.adFormat=e);a.X.da&&(b.autonavState=a.g.autonavState);a.yb=0!=d;a.g=b;a.g.subscribe("dataupdated",a.vO,a);a.g.subscribe("dataloaded",a.bv,a);a.g.subscribe("dataloaderror",a.Fj,a);a.g.subscribe("onStatusFail",a.uO,a);b.Bi&&b.Bi>b.startSeconds&&(b=
b.Bi,a.S&&(a.D.F(a.S),a.S=null),a.S=new g.ZS(1E3*b,0x7ffffffffffff),a.S.namespace=iU.g,eT(a.D,[a.S]));mU(a);a.g.yj||(c=new Cma(a.g,a.X,c,(0,g.A)(a.getDuration,a),(0,g.A)(a.getCurrentTime,a),(0,g.A)(a.kG,a),(0,g.A)(a.wb.Ya,a.wb),(0,g.A)(a.Xs,a),(0,g.A)(a.eB,a),(0,g.A)(a.Yp,a),a.ee,(0,g.A)(a.wG,a)),a.C=new XJ(c));a.Ta=!1;oU(a,"newdata");pU(a,new g.YQ)};
mU=function(a){if(a.C){var b=a.C;if(!b.ma()&&b.B){b.D="paused";var c=cK(b);c.ra=!0;c.send();c=b.o;"PL"==c.A&&(c.A="N");var d=g.xJ(c.g);g.GJ(c,d,"vps",[c.A]);c.C(d);g.EE(b.C);b.dispose()}g.Te(a.C);a.C=null}};
sU=function(a){if(a.g.Be())return!0;g.rU(a,"api.invalidparam",void 0,"invalidVideodata.1");return!1};
tU=function(a,b){a.sa=!!b;if(sU(a)&&!a.fa.o){a.fa.start();if(a.C){var c=a.C.o;c.g.g.experiments.g("html5_qoe_unstarted_in_initialization")?g.xJ(c.g):g.GJ(c,g.xJ(c.g),"vps",["N"]);c.g.videoData.Mr&&RJ(c,"preload");c.g.videoData.ai&&(IJ(c,"reload",c.g.videoData.Sr),IJ(c,"reloadcount",c.g.videoData.ai.toString()));c.g.videoData.qk&&RJ(c,"monitor");c.g.videoData.Aa&&RJ(c,"live");c.g.videoData.Pf&&IJ(c,"ctrl",c.g.videoData.Pf,!0);c.g.videoData.Ze&&IJ(c,"ytp",c.g.videoData.Ze,!0);if(c.g.videoData.Qz){var d=
c.g.videoData.Qz.replace(/,/g,".");IJ(c,"ytrexp",d,!0)}c.g.g.experiments.g("html5_disable_gpu_reporting")||0!=c.g.videoData.clientPlaybackNonce.indexOf("gp")||(d=FJ())&&(c.o.gpu=[d]);c.N=g.FE((0,g.A)(c.C,c),1E4)}a.bv()}};
wU=function(a){a.o&&vL(a.o);tU(a);sU(a)&&!g.W(a.A,128)&&(a.M.o||(a.M.start(),a.X.experiments.g("html5_suspended_state")?pU(a,aR(aR(a.A,8),1)):(pU(a,aR(a.A,8)),a.g.Ob()||(pU(a,aR(a.A,1)),uU(a,"waiting_videodata")))),vU(a))};
vU=function(a){if(!a.M.g&&a.fa.g&&!g.W(a.A,128)&&!a.da.length){if(!a.D.C){var b=a.D;b.C=!0;b.A()}if(!xU(a)){a.B&&(b=a.B,a.fe=!!b.N&&!!b.da);a.M.g||(a.M.g=!0);a.g.Aa&&(yU(a,window.Infinity,!0),zU(a,!0),dU()&&(a.md=!0));if(a.C&&(b=a.C,b.g.videoData.enableCardio&&b.g.videoData.enableCardioBeforePlayback&&(b.Nn("connected"),iK(b)),b.g.videoData.Aa)){var b=b.o,c=b.g.videoData.ua;b.g.videoData.We()&&RJ(b,"manifestless");c&&DN(c)&&RJ(b,"live-segment-"+DN(c).toFixed(1))}a.V("playbackready",a);HP("pbr",a.G.g)||
(a.G.o("pbr"),g.rP("pbr",void 0,"video_to_ad"))}}};
g.jU=function(a,b){AU(a);pU(a,0==b?new g.YQ:new g.YQ(14))};
DU=function(a,b,c,d){a.g.Ma=c;a.g.nd=d||c;if(a.C){var e=BU(a),e=new vJ(a.g,c,b,e?PI(e):"");d&&"i"==b&&CU(a,b,d);d=a.C.o;c=g.xJ(d.g);g.GJ(d,c,"vfs",[e.g.id,e.o,d.ca,"b"==e.reason?"a":e.reason]);d.ca=e.g.id;e=d.g.L();if(0<e.width&&0<e.height){var e=[Math.round(e.width),Math.round(e.height)],f=g.TO();1<f&&e.push(f);g.GJ(d,c,"view",e)}g.GJ(d,c,"vps",[d.A]);d.C(c);a.X.experiments.g("html5_report_performance_cap")&&"i"==b&&(d=kJ())&&a.he("perfCap",""+d)}a.Ec=0;a.V("internalvideoformatchange",a.g,"m"==b)};
BU=function(a){if(!a.g.rb)return null;var b=eJ(eJ(ZT(a.ra,a.g),EU(a)),FU(a));return g.Za(a.g.rb.videoInfos,(0,g.A)(b.B,b))};
CU=function(a,b,c){a.g.nd=c;if(a.C){var d=a.C.o;c=new vJ(a.g,c,b,"");var e=g.xJ(d.g);c.g.id!=d.H&&(g.GJ(d,e,"afs",[c.g.id,d.H,c.reason]),d.H=c.g.id)}"i"!=b&&a.V("internalaudioformatchange",a.g,"m"==b)};
g.rU=function(a,b,c,d){var e,f;Mb(Dma,c)?e=c:c?f=c:e="YTP_ERROR_GENERIC_WITHOUT_LINK";b={errorCode:b,errorDetail:d,message:f||g.U(e),messageKey:e};pU(a,$Q(a.A,128,b));kU(a);nU(a);GU(a)};
Ema=function(a,b){a.da=a.da.filter(function(a){return b!=a});
a.M.o&&vU(a)};
xU=function(a){var b;(b=!!a.da.length)||(a=a.D.g.g[0],b=!!a&&-0x8000000000000>=a.start);return b};
IU=function(a,b){a.o&&HU(a);a.X.experiments.g("html5_suspended_state")&&!a.A.isError()&&pU(a,bR(a.A,512));a.o=b;a.o.g.loop=a.hc;KL(a.o,a.va);Fma(a)};
HU=function(a){a.g&&a.X.experiments.g("new_ended_replay")&&(a.g.startSeconds=a.getCurrentTime());a.H&&(a.H.dispose(),a.H=null);a.B&&(wT(a.B),a.B.G=!0);a.o&&(a.X.experiments.g("html5_suspended_state")&&a.M.o&&!a.A.isError()&&!g.W(a.A,2)?pU(a,aR(a.A,512)):a.C&&a.fa.o&&g.W(a.A,64)&&!a.g.fg&&JU(a),lU(a),g.QL(a.ka),DL(a.o),a.o=null)};
OU=function(a){if(!g.W(a.A,128))if(a.Ld)a.Ld=!1,KU(a);else if(wU(a),g.W(a.A,64)&&pU(a,aR(a.A,8)),a.M.g&&a.o)if(a.g.rb){a.X.experiments.g("new_ended_replay")&&g.W(a.A,2)&&yU(a,0,!0);if(a.g.Aa){var b=LU(a),c=g.KQ(a.g)&&g.W(a.A,4);if(b||c)!c&&a.X.experiments.g("html5_live_pin_to_tail")?yU(a,a.Uc(),!0):yU(a,window.Infinity,!0);MU(a)?zU(a,!0):a.isPeggedToLive()&&yU(a,window.Infinity,!0)}NU(a)?Gma(a):zL(a.o)}else b=a.g.Aa&&!g.VN()?"html5.unsupportedlive":"fmt.noneavailable",g.rU(a,b,"YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK",
"selectableFormats.1")};
QU=function(a){lU(a);nU(a);PU(a)};
RU=function(a){if(a.g.rb){var b=EU(a)||dJ;a=(0,g.Ae)(a.g.rb.videoInfos,(0,g.A)(b.B,b));for(var b=[],c={},d=0;d<a.length;d++){var e=a[d].video;c[e.quality]||(b.push(e),c[e.quality]=!0)}a=b}else a=[];return a};
SU=function(a){return eJ(eJ(eJ(XT(a.ra,a.g),ZT(a.ra,a.g)),EU(a)),FU(a))};
EU=function(a){return a.F?a.F.F:uQ(a.g)&&a.g.rb.g&&tN(a.g.ua)?ST:dJ};
TU=function(a,b,c){if(!a.ma()&&!g.W(a.A,128)&&(c&&(a.g.Nk=c),uQ(a.g))){"m"==b&&c&&cJ(c)&&(b="a");c=SU(a);if(a.g.rb.g){if(a.B&&"i"!=b){var d=a.B;if(!d.ma()&&d.g){(c=Zla(d.F,c,b))&&d.V("videoformatchange",c);iT(d);if(VS(d.F)&&"m"==b&&d.F.L||"b"==b)BS(d.g),BS(d.B);GS(d.g)&&sT(d,d.g,d.B);wT(d)}}}else{a:if(d=a.g.Fk,c.g){for(var e=0;e<d.length;e++){var f=d[e].te,k=MI[f.video.quality];if((!c.A||"auto"!=f.video.quality)&&k<=c.g){c=d[e];break a}}c=d[d.length-1]}else c=d[0];a.g.pg=c;DU(a,b,a.g.pg.te)}a.A.vb()&&
OU(a)}};
g.UU=function(a){zka(a.g.ua,{cpn:a.g.clientPlaybackNonce,c:a.X.B.c,cver:a.X.B.cver});var b=Vja(a.X,a.g);a.X.schedule.policy.A=a.g.We()?.5:0;a.B=new gT(a.X.schedule,b,a.g.ua,a.g.rb,a.D);a.B.subscribe("initsegment",a.dM,a);a.B.subscribe("videoformatchange",a.nM,a);a.B.subscribe("audioformatchange",a.mM,a);a.B.subscribe("error",a.Fj,a);a.B.subscribe("ctmp",a.he,a);a.B.subscribe("seekrequired",a.yP,a);a.B.subscribe("seektohead",(0,g.A)(function(){yU(this,window.Infinity,!0)},a));
var b=g.cb(a.da,"spacecast")||a.sa,c=a.Xs(),c=c.Nc.isDefault?void 0:c;a.B.initialize(a.g.startSeconds,SU(a),b,c);a.g.probeUrl&&(a.B.S=a.g.probeUrl);if(a.da.length||a.sa)a.B.G=!0;a.sa&&JU(a)};
FU=function(a){var b=a.X.experiments.o("html5_background_quality_cap");a=a.X.experiments.o("html5_background_cap_idle_secs");return!b||"auto"!=iJ()||g.DG()/1E3<a?dJ:dU()?new $I(0,b,!1):dJ};
JU=function(a){a.X.experiments.g("html5_suspended_state")||hK(a.C,new g.$T(new g.YQ(4),a.A))};
nU=function(a){a.B&&(a.B.dispose(),a.B=null);a.H&&(a.H.dispose(),a.H=null)};
PU=function(a){a.H||(a.B?a.B.seek(a.getCurrentTime()):g.UU(a),a.H=new RL(a.o,a.g.lengthSeconds,a.g.rb.videoInfos[0].mimeType,a.g.rb.g[0].mimeType,a.X.F,a.X.experiments.g("html5_deferred_source_buffer_creation")),Rja(a.H,(0,g.A)(a.vM,a)),Sja(a.H,(0,g.A)(function(a){this.X.experiments.g("html5_msi_error_fallback")?(this.Fj(new g.OP("qoe.restart",!1,{msi:"1",ename:a.name})),this.g.Ep=!0,a=(0,g.A)(function(){TU(this,"a");OU(this)},this),g.BQ(this.g,this.X).then(a,a)):g.rU(this,"fmt.unplayable",void 0,
"msi.1;ename."+a.name)},a)));
try{return Tja(a.H)}catch(b){return b.message="window.URL object overwritten by external code",window.setTimeout(function(){throw b;},0),g.rU(a,"html5.missingapi","YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK","updateMs.1"),null}};
Hma=function(a){return 403==a.details.rc?(a=a.errorCode,"net.badstatus"==a||"manifest.net.retryexhausted"==a):!1};
KU=function(a){!a.g.fg&&a.g.ai||a.qb||(a.qb=!0,a.V("signatureexpired"))};
VU=function(a){return"net.retryexhausted"==a.errorCode||"net.badstatus"==a.errorCode&&a.details.isPotentialFormatUnavaliable};
AU=function(a,b){if(g.W(a.A,64)&&!b)if(g.W(a.A,8))pU(a,cR(a.A));else if(!a.X.experiments.g("legacy_html5_unstarted_paused"))return;a.o&&(g.W(a.A,128)||(b?pU(a,aR(a.A,256)):pU(a,cR(a.A))),a.o&&a.o.pause())};
WU=function(a){var b=a.X.experiments.g("disable_html5_stopvideo_cancel_requests");AU(a,b);a.B&&(a.B.G=!0,b||mT(a.B))};
GU=function(a,b){a.o&&(a.o.pause(),lU(a),nU(a),a.g&&(a.g.startSeconds=a.getCurrentTime()),a.N=window.NaN,DL(a.o),g.W(a.A,128)||(b?pU(a,cR(a.A)):pU(a,$Q(a.A))),a.X.G.remove(a.g.videoId))};
yU=function(a,b,c,d){if(!a.o||!a.M.g||!a.o.sd()&&a.X.experiments.g("new_ended_replay"))a.g.startSeconds=b||0;else{if(a.L&&b&&!(0,window.isFinite)(b)&&a.B){if(a.X.experiments.g("html5_use_adaptive_live_readahead")&&a.g.isLowLatencyLiveStream){var e;e=a.L;if(e.o.length){var f=e.g;1<Math.min.apply(null,e.o)?e.g=Math.max(e.g-1,1):e.g=Math.min(e.g+1,8);if(f=f!=e.g)e.o=[],e.A=0;e=f}else e=!1;e&&a.C&&(e=tR(a.L),PJ(a.C.o,e))}a.B.Ja=Math.max(0,a.L.g-1)}var k;if(b&&!(0,window.isFinite)(b)&&a.g.fg&&a.g.We()&&
a.B){k=a.B;mT(k);e=Math.max(KS(k.g),KS(k.B));wS(k.g,e);wS(k.B,e);var f=k.C,l;for(l in f.g)EK(f.g[l].index,window.Infinity);wT(k);k=e+.1}k||(k=g.Rd(b||0,a.Uc(),XU(a,!1)));b=a.g.Aa&&!g.W(a.A,4)&&MU(a,k);zU(a,b);a.g.startSeconds=k;a.N=k;b=a.Wa;b.g=k;b.o=!0;c?a.dB():(g.W(a.A,32)||(pU(a,aR(a.A,32)),g.W(a.A,8)&&AU(a,!0),a.V("beginseeking",a)),d&&(a.ga||(a.ga=new g.Jt(a.dB,d,a)),a.ga.start()),YU(a,!0));a.S&&k>a.g.Bi&&(a.D.F(a.S),a.S=null);k<XU(a,!1)&&pU(a,bR(a.A,2));a.V("seekto",a,k)}};
ZU=function(a){return a.g.Aa&&a.g.ua?$J(a.g.ua,a.getCurrentTime()):window.NaN};
Ima=function(a){if(!a.o)return 0;if(g.KQ(a.g))return 1;if(LQ(a.g)){if(a.isPeggedToLive())return 1;var b=a.o,c=AL(b),b=(0<nL(c)&&b.getDuration()?c.end(c.length-1):0)-a.Uc();a=XU(a,!0)-a.Uc();return Math.max(0,Math.min(1,b/a))}return FL(a.o)};
$U=function(a,b){var c={};if(b){a.C?g.za(c,WJ(aK(a.C,"playback"))):a.g&&(c.cpn=a.g.clientPlaybackNonce);a.o&&g.za(c,HL(a.o));a.B&&g.za(c,ET(a.B));if(a.F){for(var d=a.F,e=d.g,e={systemInfo:{flavor:e.g,keySystem:e.o},sessions:[]},d=g.ia(d.A.values),f=d.next();!f.done;f=d.next())e.sessions.push(xma(f.value));c.drm=e}c.state=a.A.o.toString(16);g.W(a.A,128)&&(c.debug_error=a.A.g);xU(a)&&(c.preroll="1");a.g.lg&&(c.ismb=a.g.lg);a.g.isLowLatencyLiveStream&&(c.lowlatency="1");a.g.Aa&&(a.g.ua&&DN(a.g.ua)&&
(c.segduration=DN(a.g.ua)),a.J&&(e=a.J.C,c.lat=e.g[e.o]||0));c.relative_loudness=a.g.relativeLoudness.toFixed(3);if(e=BU(a))c["optimal format"]=e.video.qualityLabel}c.debug_videoId=a.g.videoId;return c};
oU=function(a,b){a.V("internalvideodatachange",b||"dataupdated",a,a.g)};
Fma=function(a){(0,g.H)("loadstart loadeddata loadedmetadata play playing pause ended suspend progress seeking seeked timeupdate durationchange ratechange error waiting abort".split(" "),function(a){this.ka.U(this.o,a,this.RQ,this)},a);
a.X.zg&&(a.ka.U(a.o,"webkitplaybacktargetavailabilitychanged",a.EK,a),a.ka.U(a.o,"webkitcurrentplaybacktargetiswirelesschanged",a.FK,a))};
aV=function(a){var b=a.getCurrentTime(),c=a.g;!HP("pbs",a.G.g)&&vP.measure&&vP.getEntriesByName&&(vP.getEntriesByName("mark_nr")[0]?GP("mark_nr"):GP());c.videoId&&a.G.info("docid",c.videoId);c.eventId&&a.G.info("ei",c.eventId);c.clientPlaybackNonce&&a.G.info("cpn",c.clientPlaybackNonce);0<c.startSeconds&&a.G.info("start",c.startSeconds.toString());a.o&&a.o.g.paused&&a.G.info("paused",1);c.Ma?a.G.info("fmt",PI(c.Ma)):a.G.info("fmt","-1");c.Mr&&a.G.info("yt_pre",a.fe?"2":"1");a.X.da&&a.G.info("yt_fs",
"1");a.G.info("cmt",b.toFixed(3));if(a.B){b=a.B;window&&window.performance&&window.performance.getEntriesByName&&(c=window.performance.getEntriesByName(b.da),c.length&&(c=c[0],jT(b,"vri",c.fetchStart),jT(b,"vdns",c.domainLookupEnd),jT(b,"vreq",c.requestStart),jT(b,"fvb",c.responseStart),jT(b,"vrc",c.responseEnd)),c=window.performance.getEntriesByName(b.N),c.length&&(c=c[0],jT(b,"ari",c.fetchStart),jT(b,"adns",c.domainLookupEnd),jT(b,"areq",c.requestStart),jT(b,"avb",c.responseStart),jT(b,"arc",c.responseEnd)));
var b=b.Ta,d;for(d in b)a.G.o(d,b[d])}};
YU=function(a,b){if(a.o&&a.g){var c=a.getCurrentTime();if(LU(a)&&a.A.vb())a.X.experiments.g("html5_live_pin_to_tail")?yU(a,a.Uc(),!0):yU(a,window.Infinity,!0);else{if(a.isPeggedToLive()){var d=XU(a,!1);if(c<d-bV(a)){if(a.A.vb()&&(a.g.qk||g.KQ(a.g))){yU(a,window.Infinity,!0);return}a.g.Aa&&zU(a,!1)}if(a.X.experiments.g("html5_use_adaptive_live_readahead")&&a.L){var d=a.L,e=a.Uv();d.A++;3>d.A||(d.o.push(e),50<d.o.length&&d.o.shift())}}else a.g.Aa&&MU(a,c)&&zU(a,!0);if(a.B&&(d=a.B,d.A)){d.D!=c&&d.resume();
if(d.M&&!UL(d.A)){var e=d.D<=c&&c<d.D+10,f=0<=lL(d.A.o.buffered,d.D+tT);e&&f&&(d.M=!1)}d.M||(d.D=c);xT(d)}5<c&&(a.g.startSeconds=c);(d=g.JG())?g.LG(a.Qa):g.EE(a.Qa);!g.gR(a.A)&&a.o.g.paused||g.W(a.A,128)||(e=(0,g.A)(a.NG,a),a.Qa=0==(a.o.g.played||oL()).length?d?g.KG(e,1,100):g.GE(e,100):d?g.KG(e,1,500):g.GE(e,500));a.g.sf=c;!b&&a.A.vb()&&a.C&&(c=a.C,c.A.update(),c.g.videoData.Ob()&&c.g.videoData.tf&&!c.M&&AJ(c.A)>=c.g.videoData.tf&&(c.B&&c.g.videoData.tf&&(d=aK(c,"delayplay"),d.Ea=!0,d.send(),c.M=
!0),fK(c)),d=c.aa,d.A||!d.g.ee||d.g.fe||!d.videoData.lengthSeconds?d=!1:(e=Math.min(.8*d.videoData.lengthSeconds,180),d=AJ(d.B)>=e),d&&c.aa.send());a.V("progresssync",a,b)}}};
pU=function(a,b){if(!g.dR(a.A,b)){var c=new g.$T(b,a.A);a.A=b;var d=!a.Pa.length;a.Pa.push(c);var e=a.X.experiments.g("html5_seeks_are_not_rebuffers")&&g.W(c.g,16);if(0<gK(c,1)&&!e&&g.W(a.A,8)&&!g.W(a.A,64)&&a.B){a.B.ba=!0;a.g.Ph&&a.o&&a.he("rbinfo","rs."+a.o.g.readyState+";lact."+g.DG());var f=a.X.experiments.o("html5_nnr_downgrade_count");f&&a.o&&5<=BL(a.o)&&(a.Ec++,e=a.g.Ma.video.o,a.Ec==f&&360<e&&(f=a.ra,f.X.lf=new $I(0,e-1,!1),f.X.experiments.g("html5_report_performance_cap")&&g.VG("yt-player-performance-cap",
e-1,2592E3),TU(a,"b"),a.X.experiments.g("html5_report_performance_cap")&&a.he("perfDowngrade",""+e)))}0>gK(c,8)&&(g.EE(a.ca),a.ca=window.NaN,zU(a,!1));0<gK(c,8)&&!a.g.fg&&(0,window.isNaN)(a.ca)&&(a.ca=g.GE((0,g.A)(a.Yy,a),15E3));0<gK(c,32)&&zU(a,!1);g.W(c.state,2)&&LQ(a.g)&&(e=a.getCurrentTime(),a.g.lengthSeconds!=e&&(a.g.lengthSeconds=e,oU(a)),YU(a,!0));0<gK(c,2)&&a.Vr();a.X.experiments.g("html5_suspend_manifest_on_pause")&&a.g.ua&&a.g.Aa&&(0>gK(c,8)?(e=a.g.ua,e.B&&e.B.stop()):0<gK(c,8)&&a.g.ua.resume());
0<gK(c,1)&&(a.tb=g.GE((0,g.A)(a.sP,a),5E3));a.C&&hK(a.C,c);if(d)try{for(d=0;d<a.Pa.length;d++){var c=a.Pa[d],k=a.D,e=c;if(k.C&&!k.H&&(k.A(),g.W(e.g,16))){var e=k,l=cT(e.g,Math.max(e.B-2E3,0));null!=l&&0x7ffffffffffff>l&&e.D.start()}a.V("statechange",c)}}finally{a.Pa.length=0}}};
cV=function(a){g.W(a.A,2)||g.W(a.A,32)||(a.N=window.NaN)};
zU=function(a,b){a.g.Aa&&a.Ea!=b&&(a.Ea=b)};
Gma=function(a){a.X.rq?g.GE((0,g.A)(function(){zL(this.o)},a),0):zL(a.o)};
NU=function(a){if(!a.o||!a.g.rb)return!1;var b;a.g.rb.g?(b=PU(a),a.B.resume()):(nU(a),b=a.g.pg.g());var c=a.o.o;if(!c||null==b||b.g!=c.g){a.G.o("vta");g.rP("vta",void 0,"video_to_ad");vL(a.o,b);a:if(b=a.g,b.Ma&&b.Ma.Tc&&a.o)if(b=a.g.Ff){if(a.F)if("fairplay"==b.g)lU(a);else break a;c=a.o.pa();a.F=new TT(c,b,a.X.experiments,"widevine"==b.g&&!a.g.Aa&&!a.g.Sq,a.g.drmSessionId);a.F.subscribe("newsession",a.PM,a);a.F.subscribe("licenseerror",a.hM,a);a.F.subscribe("qualitychange",a.iM,a);a.F.subscribe("heartbeatparams",
a.QQ,a);b=a.F;c=a.g.oauthToken;b.N=c;b.V("oauthtoken",c)}else g.rU(a,"fmt.unplayable","YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK","drm.1");a.H&&MG(4);g.EE(a.ca);!a.g.fg&&eR(a.A)&&(a.ca=g.GE((0,g.A)(a.Yy,a),15E3));return!0}return!1};
lU=function(a){a.F&&(a.F.dispose(),a.F=null)};
XU=function(a,b){if(!a.o)return 0;if(!a.g.Aa)return a.g.ck();if(b&&(a.isPeggedToLive()||g.KQ(a.g)))return a.getCurrentTime();if(a.g.rb&&a.g.rb.g){var c=a.Uc(),d=a.g.ck();a.L&&(d-=tR(a.L));return Math.max(d,c)||0}c=a.o.g.seekable||oL();return(1>c.length?window.NaN:c.end(c.length-1))||0};
dV=function(a,b){a.va=b;a.o&&KL(a.o,b)};
MU=function(a,b){void 0==b&&(b=a.getCurrentTime());return b>=XU(a,!1)-bV(a)};
bV=function(a){if(!a.g.ua)return window.NaN;var b=a.X.experiments.o("html5_allowable_liveness_drift_chunks")||2;0<b&&!a.Ea&&b--;a=DN(a.g.ua);return(0,window.isNaN)(a)?b:b*a};
LU=function(a){return a.getCurrentTime()<a.Uc()-15};
uU=function(a,b){a.X.experiments.g("html5_log_rebuffer_reason")&&a.he("bufreason","r."+b+";lact."+g.DG())};
eV=function(a,b){jK.call(this,a,b)};
g.fV=function(a){return a.app.A};
g.gV=function(a){a=g.fV(a).G;return!!a&&a.zB()};
hV=function(a){var b=g.fV(a);a=g.Y(a);var c=b.G;return c&&c.AB()?!a.experiments.g("mweb_autonav")||c.isAvailable:g.JQ(b.Y.ha(),"ypc_module")};
g.iV=function(a,b){3==a.ab()?a.V("mdxautoplaycancel"):a.V("autonavcancel",b)};
g.Y=function(a){return a.app.X};
g.mV=function(a){var b=a.app;a=a.playerType;return 3==jV(b)?g.kV(b.A).F:g.lV(b,a).A};
g.nV=function(a){return a.app.D};
oV=function(a){var b=g.kV(g.fV(a));return a.app.N&&!a.isFullscreen()||3==a.ab()&&b.hasNext()&&b.Af()||!!a.Uf()};
g.pV=function(a){if(DF())if(a.isFullscreen())FF(a.getRootNode());else{a=a.getRootNode();var b=AF(["requestFullscreen","webkitRequestFullscreen","mozRequestFullScreen","msRequestFullscreen"],a);b&&b.call(a)}else a.ya("onFullscreenToggled",a.isFullscreen())};
qV=function(a){return(a=g.lV(a.app))?g.fJ(XT(a.ra,a.g)):"unknown"};
g.rV=function(a){return(a=g.fV(a).B)?a.DB():{}};
g.tV=function(a,b){g.Y(a).experiments.g("ui_logging")&&g.sV(a,"controlclicked",{controlClicked:b})};
g.sV=function(a,b,c,d){var e=g.lV(a.app);c.event=b;a.isFullscreen()&&(c.fs=1);c.ux=1;e.logEvent(c,d)};
g.uV=function(a){a=g.fV(a).A;return!!a&&a.fl()};
g.vV=function(a){a=g.fV(a).A;return!!a&&a.xB()};
wV=function(a){a=g.lV(a.app);return!!a&&a.Mb};
g.yV=function(a,b,c){xV(a.app,b,c||a.playerType)};
g.AV=function(a,b,c){var d=a.app;a=c||a.playerType;if(c=g.lV(d,a))c.D.F.apply(c.D,b),a&&jV(d)!=a||zV(d,"cuerangesremoved",b)};
g.BV=function(a,b,c){var d=a.app;a=c||a.playerType;if(c=g.lV(d,a)){c=c.D;for(var e=[],f=c.g.g,k=f.length-1;0<=k;k--){var l=f[k];if(l.namespace==b){var m=c.o.indexOf(l);0<=m&&c.o.splice(m,1);var n=c.g,m=n.g,n=g.vb(m,l,n.o);0<=n&&g.ib(m,n);e.push(l)}}c.A();a&&jV(d)!=a||zV(d,"cuerangesremoved",e)}};
g.CV=function(a,b){var c=g.lV(a.app,a.playerType);c&&Ema(c,b)};
g.DV=function(a,b,c){a=g.nV(a).element;var d=wb(a.children,function(a){a=(0,window.parseInt)(a.getAttribute("data-layer"),10);return c-a||1});
0>d&&(d=-(d+1));xe(a,b,d);b.setAttribute("data-layer",c)};
g.EV=function(a){var b=g.Y(a);if(!b.Ld)return!1;var c=a.ha();if(!c||3==a.ab())return!1;b=c.Aa&&(!b.experiments.g("allow_live_autoplay")||c.isLiveDefaultBroadcast);return!c.ypcPreview&&!b&&!g.cb(c.Xd,"ypc")&&!a.Uf()};
GV=function(a,b,c){if(g.Y(a).experiments.g("player_interaction_logging")){a=a.app.ba;g.gb(a.A,b);var d=String(a.G++);b.element.setAttribute("data-visual-id",d);g.FV(a,"onLogClientVeCreated",{id:d,ve_type:c});g.Se(b,(0,g.A)(a.F,a,b))}};
g.HV=function(a,b){g.Y(a).experiments.g("player_interaction_logging")&&a.app.ba.click(b)};
g.IV=function(a,b,c){g.Y(a).experiments.g("player_interaction_logging")&&(a=a.app.ba,b=b.element.getAttribute("data-visual-id"),c?g.gb(a.g,b):g.jb(a.g,b),c&&!g.cb(a.o,b)&&(g.FV(a,"onLogVesShown",{ids:[b]}),g.gb(a.o,b)))};
Jma=function(){var a;a:{try{a=window.top.location.href}catch(b){a=2;break a}a=null!=a?a==window.document.location.href?0:1:2}a={dt:$A,flash:xi||"0",frm:a};gi(a);return a};
JV=function(a,b){var c=g.YD("VALID_SESSION_TEMPDATA_DOMAINS",[]),d=g.wg(window.location.href);d&&c.push(d);d=g.wg(a);if(g.cb(c,d)||!d&&g.Da(a,"/"))if(g.eG("autoescape_tempdata_url")&&(c=window.document.createElement("a"),g.Pd(c,a),a=c.href),a&&(c=g.ug(a),c=g.tg(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.YG();c="ST-"+g.Sa(c).toString(36);d=b?g.Dg(b):"";BH.set(""+c,d,5,"/","youtube.com");b&&(c=b.itct||b.ved,d=g.w("yt.logging.screen.storeParentElement"),
c&&d&&d(new g.hG(c)))}};
g.KV=function(a){var b,c,d;b=void 0===b?{}:b;c=void 0===c?"":c;d=void 0===d?window:d;d=d.location;a=g.Gg(a,b)+c;a=a instanceof Cd?a:Gd(a);d.href=Dd(a)};
LV=function(a){(window.ytspf||{}).enabled?window.spf.navigate(a):g.KV(a)};
g.MV=function(a,b,c){b=void 0===b?{}:b;c=void 0===c?!1:c;var d=g.YD("EVENT_ID");d&&(b.ei||(b.ei=d));b&&JV(a,b);if(c)return!1;LV(a);return!0};
g.NV=function(a,b,c){c&&JV(a,c);window.open(a,b||g.Sa(a).toString(36))};
g.OV=function(a){g.ZF.call(this);this.g=a;this.loaded=!1};
PV=function(a){g.OV.call(this,a);this.logEvent=this.od="";this.D=!1};
QV=function(a,b,c){for(var d=0;d<b.length;d++)b[d].namespace=a.od;g.yV(a.g,b,c)};
RV=function(a){g.CV(a.g,a.od)};
SV=function(a,b,c){var d={},e;for(e in b)d[a.od+"_"+e]=b[e];b={};for(var f in c)b[a.od+"_"+f]=c[f];a=g.fV(a.g);g.za(a.aa,d||null);g.za(a.S,b||null)};
g.TV=function(a){g.X.call(this,a);this.aa=new g.ZF;g.N(this,this.aa)};
g.UV=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),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.VV=function(a){return(!g.ta(a.button)||0==a.button)&&!a.shiftKey&&!a.altKey&&!a.metaKey&&!a.ctrlKey};
WV=function(a,b){(a=g.de(a))&&a.style&&(g.O(a,b),g.T(a,"hid",!b))};
g.XV=function(a){(0,g.H)(arguments,function(a){!g.ra(a)||a instanceof window.Element?WV(a,!0):(0,g.H)(a,function(a){g.XV(a)})})};
g.YV=function(a){(0,g.H)(arguments,function(a){!g.ra(a)||a instanceof window.Element?WV(a,!1):(0,g.H)(a,function(a){g.YV(a)})})};
g.ZV=function(a,b,c,d){g.M.call(this);this.o=a;c||a.oa();this.C=null==d?b:d;this.g=null;this.A=new g.Jt(this.B,0,this);g.N(this,this.A)};
g.aW=function(a){3!=a.g&&(1==a.g||2==a.g?(a.o.oa(),a.g=null,a.A.stop()):a.o.o&&($V(a,!0),a.g=3,a.A.start(a.C)))};
$V=function(a,b){var c=a.o.element;b?c.setAttribute("aria-hidden",!0):c.removeAttribute("aria-hidden")};
bW=function(){return{K:"div",W:"ytp-spinner-dots",O:[{K:"div",ea:["ytp-spinner-dot","ytp-spinner-dot-0"]},{K:"div",ea:["ytp-spinner-dot","ytp-spinner-dot-1"]},{K:"div",ea:["ytp-spinner-dot","ytp-spinner-dot-2"]},{K:"div",ea:["ytp-spinner-dot","ytp-spinner-dot-3"]},{K:"div",ea:["ytp-spinner-dot","ytp-spinner-dot-4"]},{K:"div",ea:["ytp-spinner-dot","ytp-spinner-dot-5"]},{K:"div",ea:["ytp-spinner-dot","ytp-spinner-dot-6"]},{K:"div",ea:["ytp-spinner-dot","ytp-spinner-dot-7"]}]}};
g.cW=function(a,b,c,d){if((void 0===c||!c)&&g.VV(a))return g.UF(a),!0;b.xd();a=a.currentTarget.getAttribute("href");g.MV(a,d,!0);return!1};
dW=function(a,b,c){if(SO(g.Y(b))&&2!=b.ab()){if(g.VV(c))return b.isFullscreen()&&g.pV(b),g.UF(c),!0}else{var d=g.VV(c);d&&b.xd();g.MV(a,void 0,!0);d&&(g.NV(a),g.UF(c))}return!1};
eW=function(a){var b=!g.Y(a).yb&&3!=a.ab();return a.isFullscreen()||b};
gW=function(a,b){this.g=a;this.o=g.ta(b)?b:null;if(g.cb(fW,this.g)){if(!g.ta(this.o)||0>this.o)throw Error("Must have valid offset");}else if(null!==this.o)throw Error("Must not have offset");};
hW=function(a){var b=a.o;if(null!==b)return b;switch(a.g){case 1:return 0;case 3:return-1;default:return-100}};
Kma=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.o,f=b.o;return e!=f?null===e?1:null===f?-1:e-f:c-d};
iW=function(a){this.o=a};
jW=function(a){return a?-1!=a.toString().search(/(?:true|1)/i):!1};
kW=function(a,b){if(a){var c="getErrorCode"in a?a.Nb():null;c?b.error_code=c:(c="getMessage"in a&&g.ua(a.getMessage)?a.rd():a.message,c=Ia(c||"",50),b.error_message=c)}};
lW=function(a,b){if(a){var c=ts(a).reverse();b.ad_id=g.lb(c,qs(a)).join(",");c=vs(a).reverse();b.ad_sys=g.lb(c,is(a)).join(",");c=xq(a);null!=c&&(b.aqi=c)}};
mW=function(a,b){if(a[b])return jW(a[b]);var c=b.toLowerCase(),d;for(d in a)if(d&&d.toLowerCase()==c)return jW(a[d]);return!1};
nW=function(a,b,c){var d=new fo;d.ri=b.baseYtUrl;d.contentId=c.videoId;d.Hs=!0;d.OA=!0;d.PA=a.S;d.showContentThumbnail=a.showContentThumbnail;d.ij={};c.Pf&&(d.ij.ctrl=c.Pf);c.Ze&&(d.ij.ytr=c.Ze);c.Vl&&(d.ij.ytrcc=c.Vl);c.isMdxPlayback&&(d.ij.mdx="1");a.D?(d.fp=!0,d.Bv=!0,d.showContentThumbnail=!1,d.Fs=!0,d.Gs=!0,d.Hs=!1):a.G&&(d.fp=!0);d.Gw=a.g;return d};
qW=function(a){var b=new mA;b.C=a.o.tb;var c=a.app.D.Ya();b.Si=c.width;b.Ri=c.height;b.Te=c.width;b.Se=100;b.Fv=!0;c=new Tm;c.g=(0,g.A)(oW(a).experiments.g,oW(a).experiments);c.o=(0,g.A)(oW(a).experiments.o,oW(a).experiments);c.A=(0,g.A)(oW(a).experiments.C,oW(a).experiments);b.no=c;if(c=b.Fv?g.DG():-1)b.G=c;a.o.tagForChildDirected&&(b.Tn=!0);a.o.md&&(b.Om=!0);c=pW(a);b.zc={CA_TYPE:to?"flash":"image",CONTENT_V:c.videoId,CPN:c.clientPlaybackNonce,EID:c.eventId,LACT:Lma(a),VIS:Mma(a)};g.Ib(Jma(),function(a,
c){b.zc[c.toUpperCase()]=a});
b.afcRmFallback=a.o.M;b.language=oW(a).Ea;var d=0;b.Jl=function(){var b=new iW(a),c=Nma(oW(a).experiments);if(0==d)if(a.ae("a_bid_s"),Rf(c)){var k=(0,g.A)(a.ae,a,"a_bid_f");c.then(k,k)}else a.ae("a_bid_f");Oma(c,oW(a).experiments,b,d);d++;return c};
return b};
Nma=function(a){function b(a){if(d)return"ERR_BID";throw a;}
var c=a.g("html5_serverside_call_server_on_biscotti_timeout"),d=a.g("html5_serverside_call_server_on_biscotti_error"),e=null,f=null;tF().then(function(a){e=a},function(a){c&&a.o?e="NO_BID":d?e="ERR_BID":f=a});
if(null!=e)return e;if(null!=f)return f;var k=a.o("html5_serverside_biscotti_id_wait_ms");if(0==k)return c?"NO_BID":d?"ERR_BID":rW;if((0,window.isNaN)(k))return a=g.eg(tF(),b),g.eg(a,g.y),a;var l;a=new g.Vf(function(a,b){l=new g.Jt(function(){c?a("NO_BID"):b(rW)},k);
l.start()});
a=g.eg(iba([tF(),a]),b);lba(g.eg(a,g.y),function(){l.dispose()});
return a};
Oma=function(a,b,c,d){function e(a){a==rW||a instanceof mF&&a.o?f({"bid.type":"timeout","bid.count":d,"bid.msg":a.toString(),"bid.timeout":b.o("html5_serverside_biscotti_id_wait_ms")}):f({"bid.type":"error","bid.count":d,"bid.msg":a.toString()})}
if(b.g("html5_serverside_get_biscotti_id_from_client")){var f=(0,g.A)(c.g,c,["html5_serverside_get_biscotti_id_from_client"],"coldwatch");Rf(a)?a.then(null,e):a instanceof Error&&e(a)}};
Lma=function(a){return{toString:function(){return null==a||a.ma()?a=null:g.DG().toString()}}};
Mma=function(a){return{toString:function(){return null==a||a.ma()?a=null:a.g.to().toString()}}};
Pma=function(a){return{toString:function(){if(null==a||a.ma())return a=null;var b=a.cd?a.cd.g:null;return null==b||0>b?"0":Math.ceil(.001*(0,g.G)()-b).toString()}}};
sW=function(a,b,c,d){this.o=this.B="";this.A=a;this.F=b;this.g=c;this.D=d};
tW=function(a){var b={};b.l_ns=a.F;b.l_state=a.D;b.break_type=a.A.g;b.sst=hW(a.A);b.sidx=0;a.B&&(b.at=a.B);a.o&&(b.ad_id=a.o);return b};
uW=function(){g.M.call(this);this.o=new g.Jt((0,g.A)(this.D,this),1E3);g.N(this,this.o);this.B=this.A=0;this.g=kba();this.C=!1};
wW=function(a){vW=a&&a.data};
yW=function(a){xW=a&&a.data};
zW=function(){vW=null};
CW=function(){var a=g.w("yt.www.watch.ads.loadAfc");g.ua(a)?(a(),AW=!0):BW=!0};
DW=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"};
GW=function(){var a=g.w("window.google_show_companion_ad"),b;b=g.w("yt.www.watch.ads.getGlobals");Q.A?b=g.ua(a):g.ua(a)&&g.ua(b)?(b=b(),b=!(!b||!b.length)):b=!1;b?a():EW=FW=!0};
JW=function(){GW();HW();return IW()};
IW=function(){KW||(KW=new uW);var a=KW;a.C||(a.o.start(),a.C=!0);return a.g.g};
HW=function(){KW&&(KW.dispose(),KW=null)};
LW=function(){var a=g.w("yt.www.watch.ads.setCompanion");a&&a()};
Qma=function(a){var b=g.w("yt.www.watch.ads.showForcedMpu");b&&b(a)};
MW=function(a,b,c,d){g.ZF.call(this);this.g=a;this.o=d;this.videoData=null;this.adType=c;this.adSystem=b};
Rma=function(a,b,c){this.g=a;this.o=b;this.A=c||0};
NW=function(a){var b=[];(0,g.H)(a.split("_"),function(a,b){this[b]=Ua(a)},b);
return new Rma(Mb(Sma,b[0])?b[0]:0,Mb(Tma,b[1])?b[1]:0,Mb(Uma,b[2])?b[2]:0)};
Vma=function(){this.clickThroughUrl="";this.isSkippable=!1;this.skipShown=this.skip=g.y;this.skipTime=0;this.videoUrl=this.videoId="";this.adSystem=0;this.muteAdInfo=this.whyThisAdInfo=null;this.whyThisAdClosed=this.whyThisAdClicked=this.muteAd=this.sendAdsPing=g.y};
OW=function(a){var b;b=["div","video-ads",["div","video-ad-status-bar",["div","video-ad-label",g.U("YTP_ADVERTISEMENT")]],["div","ad-container"]];g.X.call(this,b);this.A=a;this.B=this.g=null};
PW=function(a){a.g||(a.g=a.wa["ad-container"],g.Y(a.A).md&&(!EO||0<=g.Ra(Ai,"10.0")||!g.Y(a.A).experiments.g("disable_mweb_iphone_ad_click_handling_functionality")||g.Y(a.A).experiments.g("mweb_playsinline")||g.Y(a.A).experiments.g("mweb_playsinline_ads_backend"))&&g.S(a.g,"ad-container-single-media-element-annotations"));return a.g};
QW=function(a){if(!a.B){var b=g.re("div");g.bq(b,["video-click-tracking","ad-video"]);PW(a).appendChild(b);a.B=b}return a.B};
Wma=function(a){this.g=a};
Xma=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};
RW=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}};
Yma=function(a,b){this.C=null;this.A=window.NaN;this.o=null;this.g=a;this.B=b};
SW=function(a,b,c){a.g.V("AD_LOGGING_EVENT",b,c)};
VW=function(a,b,c){TW(a);var d=UW(a);c&&g.za(d,c);d.ad_error=b;SW(a,7,d)};
UW=function(a){var b={},c=a.g.videoData,d=a.g.xm(),e=a.g.ll();lW(a.g.Kb(),b);d&&0<d&&(b.ad_len=d);b.ad_v="0";c&&c.videoId?b.ad_v=c.videoId:e&&(c=g.wg(e),b.ad_dom=c,(c=a.B.o)&&c.G&&(b.ad_v_url=e.substr(0,512)));e=a.g;(e=e.o?e.o.ue():null)&&(b.ad_cpn=e);b.format=a.g.hf();b.at=a.g.Hh();b.ad_mt=Math.round(1E3*Math.max(Zma(a.g),0));return b};
TW=function(a){a.C||(a.C="InstreamAdDisplay ("+a.g.hf()+")")};
WW=function(a,b){g.M.call(this);this.B=Math.max(0,a);this.A=this.o=0;this.C=b;this.g=window.NaN};
XW=function(a,b){this.o=a;this.g=b};
YW=function(a,b){return a.o+b*a.getLength()};
ZW=function(a,b,c){if(!a.getLength())return null!=c?c:window.Infinity;a=(b-a.o)/a.getLength();return g.Rd(a,0,1)};
$W=function(){this.o=this.position=this.B=this.g=this.C=this.A=this.width=window.NaN};
aX=function(a,b,c,d,e){var f=b.my/b.rows,k=Math.min(c/(b.qy/b.columns),d/f),l=b.qy*k,m=b.my*k,l=Math.floor(l/b.columns)*b.columns,m=Math.floor(m/b.rows)*b.rows,n=l/b.columns,q=m/b.rows,r=-b.FF*n,v=-b.Ic*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.Yd(n,
q)};
cX=function(a,b,c,d,e,f,k){MW.call(this,b,a,2,c);this.N=!1;this.F=this.ca=this.S=null;this.g.subscribe("control_toggle_play_pause",this.VB,this);this.g.subscribe("control_play",this.Kr,this);this.g.subscribe("control_pause",this.Jr,this);this.C=new Yma(this,this.g);this.A=new g.VF(this);this.B=bX(b);this.B.subscribe("statechange",this.TB,this);this.B.subscribe("internalAbandon",this.Ay,this);this.B.subscribe("internalvideodatachange",this.UB,this);this.G=!1;this.H=this.M=null;this.D=!1;this.da=d;
this.ba=!!e;this.fa=!!f;this.L=k;this.J=new WW(15E3,(0,g.A)(this.abort,this));this.ga=b.o.S&&"3"==oW(b).C};
eX=function(a,b){if(!a.ma()&&a.ga){var c=a.g.app.D;c.F=!b;dX(c)}};
iX=function(a){DP("ad_to_video",["pbresume"]);a.L&&g.sP("yt_abt",a.L,"ad_to_video");a.videoData&&a.videoData.clientPlaybackNonce&&g.sP("ad_cpn",a.videoData.clientPlaybackNonce,"ad_to_video");a.videoData&&a.videoData.videoId&&g.sP("ad_docid",a.videoData.videoId,"ad_to_video");g.rP("adc",void 0,"ad_to_video");var b=a.g.o;if(b&&(b.Ja||b.Pa||b.Qa||b.Ta)){var c=fX(a.g);if(c&&null!==a.M&&null!==a.H){a.videoData.sc=a.H;var d=c.getVolume();1E-6>=Math.abs(d-a.M*b.J)&&c.setVolume(a.M)}}GU(bX(a.g));gX(a.g,0);
hX(a.g,0);a.V("adEnd",a);eX(a,!0)};
jX=function(a,b){oW(a.g).experiments.g("html5_ad_error_releases")?GU(a.B):g.jU(a.B);gX(a.g,0);a.V("adError",b)};
Zma=function(a){return a.B?a.B.getCurrentTime():0};
kX=function(a){a=a.Kb();return a?(a=a.G.get("why_this_ad"))?{menuTitle:a.B,closeButton:a.A,targetingReasonHeader:a.C,targetingReasons:g.nb(a.D),adSettingsLink:g.nb(a.o),controlText:a.G,continueButton:a.F,cancelButton:a.J}:null:null};
lX=function(a){a=a.Kb();if(!a)return null;a=a.G.get("mute");if(!a)return null;for(var b=nt(a),c=[],d=0;d<b;d++)c.push({label:a.o[d].label,url:a.o[d].url});return{goneText:a.A,questionText:a.C,undoText:a.D,hoverText:a.B,surveyOptions:c}};
mX=function(a,b){a.H=a.videoData.sc;a.M=b.getVolume()};
$ma=function(a,b){this.g=a;this.C=b;this.g.hf();this.o=this.B=0;this.A=null};
nX=function(a,b,c){a.g.V("AD_LOGGING_EVENT",b,c)};
oX=function(a){var b={};lW(a.g.Kb(),b);a.B&&a.o&&(b.ot=a.o-a.B);var c;c=a.C.isFullscreen()?2:a.C.app.ra?1:0;b.ad_ps=c;b.format=a.g.hf();b.at=a.g.Hh();return b};
pX=function(a,b,c,d){MW.call(this,b,a,1,c);this.A=null;this.D=!1;this.G=null;this.C=new $ma(this,b);this.B=new g.VF(this);this.F=!!d};
qX=function(a,b){var c=a.g.getRootNode();g.T(c,"ytp-ad-overlay-open",b);g.T(c,"ytp-ad-overlay-closed",!b)};
rX=function(a,b,c,d){g.M.call(this);this.H=null;this.F=a;this.o=b.Qb;this.G=b;this.J=b.getId();this.g=c;this.C=d;this.A=new sW(this.o,this.F,c,d);this.jb=null;this.M=new g.sm(this);this.B=new g.sm(this);this.L=/^(http(s)?:\/\/)(.*.)?youtube.com\/.*$/};
sX=function(a,b){a.H=b;var c=b.hf();a.A.B=c};
tX=function(a,b){var c=g.w("yt.www.watch.ads.setAdId");c&&c(b);a.A.o=b};
uX=function(a){JW().then(function(){this.A.C()},g.y,a)};
ana=function(a){this.g=a};
vX=function(a){MW.call(this,a,2,3,null)};
wX=function(a,b,c){rX.call(this,2,a,b,c);this.D=new ana(this.g.o);DW()};
bna=function(a,b){this.g=a?a:"";this.gc=b};
xX=function(a,b,c,d){pX.call(this,1,a,b,d);this.H=c};
yX=function(a,b,c){rX.call(this,1,a,b,c);this.D=new bna(this.g.o.adTag,this.J)};
zX=function(a,b){var c=b.o;this.D=c.forceAdUrl;var d=0,c=c.forceAdType.toUpperCase();"INVIDEO"==c?d=4:"INSTREAM"==c?d=1:"MPU"==c&&(d=8);rX.call(this,2,a,b,d)};
cna=function(a){a=dr(a);var b=er(a);return{plaShelfItemRenderer:{headline:AX(a.fd()),merchant:AX(gr(b)),image:{thumbnails:[{url:hr(a).getImageUrl()}]},priceText:AX(ir(b)),reviewText:AX(wr(b,"review_text")),rating:uv(b,"rating",0),clickthroughEndpoint:{webNavigationEndpointData:{url:kr(Mv(b))},urlEndpoint:{url:kr(Mv(b)),target:"TARGET_NEW_WINDOW"}}}}};
AX=function(a){return{runs:[{text:a}]}};
ena=function(){BX||(BX=dna()?Zf():new g.Vf(function(a){g.pG("watchAdsInit",a)}));
return BX};
dna=function(){var a=g.w("yt.www.watch.ads.promotionShelfShow");return g.ua(a)};
fna=function(a){var b=g.w("yt.www.watch.ads.promotionShelfClear");b&&b();b=g.w("yt.www.watch.ads.promotionShelfShow");null!=b&&b(a)};
CX=function(){this.B=new g.X(["button",["ad-carousel-nav-button","ad-carousel-nav-prev"],{type:"button",onclick:"return false;"},["span",["ad-carousel-prev-icon","yt-uix-tooltip","yt-sprite"],{"data-tooltip-text":"Prev",title:"Prev"}]]);g.N(this,this.B);this.B.T("click",this.F,this);this.A=new g.X(["button",["ad-carousel-nav-button","ad-carousel-nav-next"],{type:"button",onclick:"return false;"},["span",["ad-carousel-next-icon","yt-uix-tooltip","yt-sprite"],{"data-tooltip-text":"Next",title:"Next"}]]);
g.N(this,this.A);this.A.T("click",this.D,this);g.X.call(this,["div","ad-carousel",["div","ad-carousel-clip",["ul",["ad-carousel-list","ad-carousel-list-animation"],"{{items}}"]],this.B,this.A]);this.C=this.wa["ad-carousel-list"];this.g=0;this.Na=[]};
gna=function(a,b){a.clear();a.Na=(0,g.I)(b,function(a){var b=new g.X(["li","ad-carousel-listitem",["div","ad-carousel-item",a]]);g.N(b,a);return b});
a.Ca("items",a.Na)};
EX=function(a){a.C&&g.dh(a.C,"left",(2>a.Na.length?0:-a.g*a.Na[1].element.clientWidth)+"px");a.B.Jb(0<a.g);a.A.Jb(a.g<a.Na.length-DX(a))};
DX=function(a){return 2>a.Na.length?1:Math.round((a.element.clientWidth-a.Na[0].element.clientWidth)/a.Na[1].element.clientWidth)+1};
HX=function(a){var b=dr(a),c=er(b),d=["iv-btp-small-card"];d.push("yt-uix-hovercard-target");var e={href:kr(Mv(c)),target:"_blank"},f=["div",["iv-btp-card-image","yt-uix-hovercard-anchor"],["span"],["div","iv-btp-card-image-aligned",["img",{src:hr(b).getImageUrl()}]]],k=["div","iv-btp-card-info",["span","iv-btp-card-action",ir(c)],FX(a)],l;l=dr(a);var m=er(l);l=["div",["yt-uix-hovercard-content","iv-btp-hovercard"],["div","iv-btp-hovercard-text-box",["a",null,{href:kr(Mv(m)),target:"_blank"},["div",
["yt-ui-ellipsis","yt-ui-ellipsis-4","iv-btp-hovercard-headline"],l.fd()]],["div","iv-btp-hovercard-info",["span","iv-btp-hovercard-action",ir(m)],FX(a)],GX(a)]];d=["div",d,{"data-position":"bottomright","data-orientation":"vertical"},f,k,l];b=["div","iv-btp-large-card",["div","iv-btp-card-image",["span"],["div","iv-btp-card-image-aligned",["img",{src:hr(b).getImageUrl()}]]],["div","iv-btp-card-info",["div","iv-btp-card-text-box",["div","iv-btp-card-text-valign",["div",["yt-ui-ellipsis","yt-ui-ellipsis-4",
"iv-btp-card-headline"],b.fd()]]],["span","iv-btp-card-action",ir(c)],FX(a),GX(a)]];c=["div","iv-btp-impressions"];a=er(dr(a));f={TRIGGER_TYPE:"YOUTUBE_DRAWER_AUTO_OPEN"};for(k=0;k<wv(a,"event");k++)l=new Bv(vv(a,"event",k)),7==l.Wb()&&(l=g.Fm(wr(l,"base_url"),f),c.push(["img",{src:l}]));g.TV.call(this,["div","iv-btp-card",["a","iv-btp-card-content",e,["div",null,d,b,c]]])};
GX=function(a){a=er(dr(a));return.01>uv(a,"rating",0)?["div"]:["div","iv-btp-card-review",["div","iv-btp-card-rating",["span","iv-btp-card-rating-bg",["span","iv-btp-card-rating-fg",{style:"width: "+Math.floor(100*uv(a,"rating",0)/5)+"%;"}]]],["span","iv-btp-card-reviews",wr(a,"review_text")]]};
FX=function(a){return["div","iv-btp-card-merchant",["span","iv-btp-card-merchant-text",gr(er(dr(a)))]]};
IX=function(){this.g=new CX;this.C=new g.OL(this);g.N(this,this.C);this.D=new g.Jt(this.As,200,this);g.N(this,this.D);var a=["div","iv-btp-companion",["div","iv-btp-block-clicks"],["div","iv-btp-attribution",["span","iv-btp-title","{{title}}"],["div",["yt-uix-hovercard","ad-info-container"],["span","iv-btp-sponsored",g.U("YTP_SPONSORED"),["span","yt-uix-hovercard-target",{"data-position":"topright","data-orientation":"horizontal"},["span","ad-info-icon"]]],["div","yt-uix-hovercard-content",["span",
"ytp-ad_settings",g.U("YTP_SPONSORED_PRODUCT_INFO")]]]],this.g];g.TV.call(this,a);this.B=this.wa["iv-btp-block-clicks"];this.A=new g.Jt(g.ya(function(a){g.O(a,!1)},this.B),1E3);
g.N(this,this.A);this.C.U(window,"resize",this.HG)};
hna=function(a,b){a.clear();g.O(a.B,!0);var c=(0,g.I)(b,g.ya(function(a){return new HX(a)}));
a.Ca("title",0<b.length?wr(b[0],"teaser_text"):"");gna(a.g,c);a.As()};
JX=function(a,b){MW.call(this,a,14,14,b);this.A=new IX;g.N(this,this.A)};
KX=function(a){return(0,g.Ae)(a.o.Kb().B,function(a){return!!uv(Fs(a),"show_in_promotion_shelf",void 0)})};
LX=function(a,b,c){rX.call(this,14,a,b,c)};
MX=function(a,b,c){rX.call(this,14,a,b,c)};
ina=function(a,b,c,d,e){this.B=a;this.o=b;this.g=c;this.X=oW(this.B);this.C=d;this.D=pW(this.B).lengthSeconds;this.F=e;this.A="html5";"embedded"==this.X.g?this.A="html5_embed":EO||DO?this.A="html5_ios":WE("android")?this.A="html5_android":fF()?this.A="html5_wp":ZE()?this.A="html5_ps3":"leanback"==this.X.g?(a=(g.Pb(window,"environment","brand")||"").toLowerCase(),b=(g.Pb(window,"environment","model")||"").toLowerCase(),this.A="roku"==a||"bskyb"==a?"roku":"wiiu"==b?"wii":"html5_tv_leanback"):this.A=
eF()?"html5_wii":"html5_desktop"};
PX=function(a){return NX(a.o)?"preroll":OX(a.o)?"postroll":"midroll"};
RX=function(a){return(a=a.B.A)?(0,g.Sk)(a.Cb,function(a){return QX(a)||OX(a)}):!1};
SX=function(a,b){pX.call(this,4,a,b)};
TX=function(a,b,c){rX.call(this,4,a,b,c);var d=this.g.o;this.D=g.E(d.Ab);this.N=new ina(b,a,d,c,!(!pW(this.g)||!pW(this.g).spacecastModule))};
UX=function(a,b){this.o=a;this.g=b};
jna=function(a){return 0<(a.g&3)};
VX=function(a,b,c,d,e){g.ZF.call(this);this.F=!0;this.o=!1;this.isVisible=!0;this.B="unloaded";this.G=!1;this.za=b;this.A=a;this.Qb=c;this.D=d;this.C=this.g=null;this.H=!!e};
XX=function(a){return NX(a)?a.Ob()&&WX(a)?-0x8000000000000:0:g.ta(a.Qb.o)?1E3*hW(a.Qb):0x8000000000000};
kna=function(a){var b=!oW(a.A).experiments.g("disable_fetching_previous_nonadjacent_midrolls");return NX(a)||b&&a.A.g&&1E3*a.A.g.getCurrentTime()>=XX(a)?!1:(0,g.Qr)(a.D,function(a){switch(a.Wb()){case 1:case 2:case 5:return!0;default:return!1}})};
NX=function(a){return 1==a.Qb.g};
WX=function(a){if(!a.Ob())throw Error("Preroll status is undefined before ad load.");return NX(a)&&a.o};
QX=function(a){return 2==a.Qb.g};
OX=function(a){return 3==a.Qb.g};
cY=function(a){a.B="loading";NX(a)&&!(0,g.Sk)(a.D,jna)&&RV(a.A);if(a.H)a.B="loaded",a.o=!0,YX(a);else{var b=a.D.shift();b?(NX(a)&&a.A.ae("nl"),b=b.create(a,a.A),g.N(a,b),b.load()):oW(a.A).experiments.g("request_mpu_on_unfilled_ad_break")&&a.A.o.H&&5!=a.Qb.g?ZX(a,new vX(a.A),a.Qb):($X(a.A,2,aY(a,{})),bY(a,!1),a.B="error",YX(a))}};
dY=function(a){a.g&&(a.g.unsubscribe("adEnd",a.Ey,a),a.g.unsubscribe("adError",a.KB,a),a.g.unsubscribe("AD_LOGGING_EVENT",a.MB,a),a.g.unsubscribe("select",a.JB,a),a.g.unsubscribe("adCompanionInitialized",a.LB,a))};
ZX=function(a,b,c){a.g=b;a.Qb=c;g.N(a,a.g);0==a.za&&(b=a.g.Hh(),a.A.ba.at=b);a.g instanceof cX?a.o=!0:a.g instanceof vX?a.isVisible=!1:a.g instanceof SX?a.isVisible=!1:a.g instanceof xX&&(a.isVisible=!1);a.B="loaded";YX(a)};
YX=function(a){a.V("adBreakComplete",a)};
bY=function(a,b){a.C&&(a.C.qj({FILLED_OPPORTUNITY:b?1:0}),a.C.dispose(),a.C=null)};
aY=function(a,b){b.break_type=a.Qb.g;b.sst=hW(a.Qb);b.sidx=0;return b};
eY=function(a){var b=0;a.ba&&(b|=1);a.aa&&(b|=2);var c=0;a.L&&a.N&&(c=4);a=new Tl;a.set(3,b);a.set(4,c);return a};
fY=function(a,b){var c=[];if(a.fa)return c.push("pla"==(a.forceAdType||"").toLowerCase()?new UX(8,16):new UX(4,0)),c;if(a.independentBreakOffsets&&5==b)return a.ka&&c.push(new UX(7,16)),c;if(a.La){var d=0;if(a.B||a.C)d|=1;a.ga&&(d|=4);a.H&&(d|=8);c.push(new UX(5,d))}a.da&&(d=0,a.B&&(d|=1),a.C&&(d|=2),a.ga&&a.L&&(d|=4),a.H&&a.L&&(d|=8),d&&c.push(new UX(2,d)));var d=eY(a),e=d.get(3);e&&c.push(new UX(1,e));!a.independentBreakOffsets&&a.ka&&c.push(new UX(7,16));(d=d.get(4))&&c.push(new UX(1,d));return c};
gY=function(a){this.g=a};
hY=function(a){var b=[];(0,g.H)(lna(a),function(a,d){var c=new VX(this.g,d,a,fY(this.g.o,a.g));b.push(c)},a);
return b};
lna=function(a){var b=a.g.o;a=[];if(b.ra)for(var c=b.ra.split(","),d=0;d<c.length;d++){var e=Ua(c[d]),e=0>e?new gW(3):0<e?new gW(2,e):new gW(1);a.push(e)}else a=mna;if(b.independentBreakOffsets)for(b=b.independentBreakOffsets.split(","),d=0;d<b.length;d++)a.push(new gW(5,Ua(b[d])));g.xb(a,Kma);return a};
qna=function(a,b){this.X=a;this.D=this.X.isMobile;this.G="leanback"==this.X.g;this.A=this.D||this.G;this.S=!this.G&&!HO(a);this.B=jW(b.instream);this.isLiveStream=1==b.livestream;this.C=jW(b.trueview);this.ca=jW(b.aftv);this.ra=b.ad_slots;this.independentBreakOffsets=b.independent_break_offsets;this.adFlags=b.ad_flags||0;this.wb=b.cafe_experiment_id;this.adTag=b.ad_tag;this.oc=!!b.adtest;this.afvAdTag=b.afv_ad_tag;nna(this.afvAdTag);this.afvInvideoAdTag=b.afv_invideo_ad_tag;this.gb=(0,window.parseInt)(b.ad_age,
10);this.applyFadeOnMidrolls=!!b.apply_fade_on_midrolls&&(this.B||this.C)&&!this.X.S;this.yb=b.cid;this.qb=wO(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.tb=(0,window.parseInt)(b.forced_skip_offset,10);this.forceAdType=b.force_ad_type;this.forceAdUrl=b.force_ad_url;this.Ab=b.freewheel_ad_tag;this.gender=Sb(ona,function(a){return a==b.ad_gender});
this.Za=b.dbp;this.M=jW(b.afc_rm_fallback);this.N=jW(b.afv)&&!this.A;this.aa=this.ca&&this.C;this.ba=this.ca&&this.B&&!jW(b.no_afv_instream);this.da=jW(b.dclk);jW(b.gpt_migration);this.fa=jW(b.forced_ad);this.La=1==(0,window.parseInt)(b.tpas_ad_type_id,10);this.Ec=!!b.fqsf;this.ga=jW(b.invideo)&&!this.A;this.H=jW(b.mpu)&&!this.A;this.ka=!!b.pla;this.Zb=jW(b.shortform);this.L=jW(b.sffb);this.Ea=b.ad_language_iso639_2;this.o=this.A||!this.X.experiments.g("disable_client_side_midroll_freq_capping")?
(0,window.parseInt)(b.midroll_freqcap,10):-1;(0,window.isNaN)(this.o)&&(this.o=-1);this.midrollPrefetchSize=(0,window.parseInt)(b.midroll_prefetch_size,10)||0;this.ac=b.pla_ad_tag;this.tagForChildDirected=jW(b.tag_for_child_directed);this.serverPrefetchedVast=b.server_prefetched_vast;this.surveyCreativeData=b.surveyCreativeData;this.va=this.ca&&this.L&&!this.N;this.sa=this.N||this.va;this.hc=(0,window.parseInt)(b.ad_device,10);this.Wa=b.tpas_video_id;this.na=b.tpas_partner_id;this.vmap=b.vmap;this.xc=
this.X.xc;this.md=b.post_ad_requests;this.showContentThumbnail=!0;g.sa(b.show_content_thumbnail)&&(this.showContentThumbnail=b.show_content_thumbnail);this.g=pna(b.serialized_ad_ux_config);this.J=(this.F=!this.B&&!this.C||this.X.S||null==this.g||null==Tc(this.g,1)||null==Tc(bd(this.g),5)?!1:!0)&&null!=Tc(dd(bd(this.g)),5)?(0,window.parseInt)(Tc(dd(bd(this.g)),5),10)/100:1;this.Eb=this.F&&null!=Tc(dd(bd(this.g)),4)?(0,window.parseInt)(Tc(dd(bd(this.g)),4),10):null;this.Mb=this.F&&null!=Tc(dd(bd(this.g)),
8)?(0,window.parseInt)(Tc(dd(bd(this.g)),8),10):null;this.Qa=this.F&&Tc(dd(bd(this.g)),3)?!0:!1;this.Ja=this.F&&Tc(dd(bd(this.g)),6)?!0:!1;this.Pa=this.F&&Tc(dd(bd(this.g)),2)?!0:!1;this.Ta=this.F&&Tc(dd(bd(this.g)),7)?!0:!1};
nna=function(a){if(a&&!D(g.E(a))&&(a=g.ug(a)[6]||null)){var b=null;yg(a,function(a,d){b||"channel"!=a||(b=d)})}};
pna=function(a){if(a)try{var b=g.Hc(a);return new $c(b)}catch(c){}return null};
iY=function(a,b){g.M.call(this);this.C=a;this.ne=new g.sm(this);g.N(this,this.ne);this.o=null;this.g=!1;this.ne.T(b,"companionImpression",this.B);this.ne.T(b,"companionClick",this.A)};
jY=function(a){g.M.call(this);this.g=a;this.o=window.NaN;this.C={};a=a.o;this.D=a.fadeInDurationMilliseconds;this.F=a.fadeInStartMilliseconds;this.A=a.fadeOutDurationMilliseconds;this.B=a.fadeOutStartMilliseconds;this.AA()};
kY=function(a,b){a.C[b]&&(g.AV(a.g.g,[a.C[b]],void 0),delete a.C[b])};
lY=function(a,b,c,d){0>=c||((0,window.isNaN)(a.o)||g.EE(a.o),c=(0,g.G)()+c,a.o=0==d?oR((0,g.A)(a.YB,a,b,c,100),0):oR((0,g.A)(a.XB,a,b,c,100),0))};
mY=function(a){jY.call(this,a)};
nY=function(a,b,c){g.M.call(this);this.g=a;this.D=b;this.B=c;this.o=-1;this.C=window.NaN;this.B&&0<this.g.o.o&&this.g.subscribe("endseeking",this.A,this)};
rna=function(a,b){oY(a);0<b&&(a.C=g.GE((0,g.A)(a.A,a),1E3*b))};
oY=function(a){g.EE(a.C);a.C=window.NaN};
qY=function(a,b){if(!a.B||!QX(b)&&!OX(b))return!1;var c=a.g.o.o;if(0>=c||0>=a.o)return!1;var d=(0,g.G)()/1E3,e=pY(a,b)-a.g.g.getCurrentTime();0<e&&(d+=e);return d-a.o<=c};
pY=function(a,b){return OX(b)?a.g.g.ha().lengthSeconds:hW(b.Qb)};
rY=function(a,b){g.M.call(this);this.J=this.g=null;this.M=[];this.N=window.NaN;this.Cb=b;this.G=[];this.A={};this.D={};this.o=a;var c=a.o,d=!c.isLiveStream&&(0,g.Sk)(this.Cb,function(a){return QX(a)||OX(a)});
this.C=new nY(this.o,this,d);this.B=c.applyFadeOnMidrolls?new jY(a):new mY(a);this.ca=(0,g.Sk)(this.Cb,function(a){return NX(a)})};
sna=function(a){a.G.length||(a.G=(0,g.Ae)(a.Cb,function(a){return"unloaded"==a.B}),0==a.G.length?RV(a.o):(a.ca||RV(a.o),sY(a)))};
sY=function(a){if(a.G.length){var b=a.G.shift();b.subscribe("adBreakComplete",a.fj,a);b.subscribe("adCompanionInitialized",a.Cr,a);cY(b)}};
tna=function(a,b){function c(a){return a&&5!=a.Qb.g}
var d=(0,g.bb)(a.Cb,b),e=g.qb(a.Cb,d+1);return{previous:g.Za(g.qb(a.Cb,0,d),c),next:g.Za(e,c)}};
tY=function(a,b,c){var d=XX(b);if(!(0,window.isNaN)(d)){var e={};e.priority=-2!=hW(b.Qb)?2:3;e.id=String(b.getId());e.visible=b.isVisible;d=a.B.uA(b,d);c=a.B.tA(b,c);c=new g.ZS(d,c,e);a.D[b.getId()]=c;QV(a.o,[c]);a.B.yu(b)}};
uY=function(a,b){var c=b.getId();a.D[c]&&(kY(a.B,c),g.AV(a.o.g,[a.D[c]],void 0),delete a.D[c])};
xY=function(a,b){if(g.t(b)){var c=a.Fi(b);if(c)if(a.g==c&&!c.o&&c.isVisible)c.show();else{if(a.g){if(5==c.Qb.g){a.g.o?a.M.push(b):c.show();return}a.Dh(a.g)}if(qY(a.C,c))a.g=null,c=a.D[c.getId()],c.visible||(c.visible=!0,QV(a.o,[c],1));else{5!=c.Qb.g&&(a.g=c);c.subscribe("adBreakComplete",a.yk,a);c.subscribe("adCompanionInitialized",a.Cr,a);if(c.o){1!=c.Qb.g&&DP("video_to_ad",["apbs"]);var d=a.o;d.L=!0;d.B||vY(d);d=a.C.o;d={tfla:0<d?Math.floor((0,g.G)()/1E3-d):0};a.o.xi.g(wY,"show_instream_ads",d)}a.B.ZB(c);
c.show()}}}};
yY=function(a,b,c){rY.call(this,a,b);this.H=[];this.L=[];this.F=[];this.ba=c;this.aa=window.NaN;this.S=a.o.o;var d=!oW(a).experiments.g("disable_fetching_previous_nonadjacent_midrolls"),e=1E3*a.g.getCurrentTime(),d=d?null:ab(b,function(b){return a.g&&e>=XX(b)});
if(1<=c)for(c=0;c<b.length;c++){var f=b[c];if(kna(f)&&f!=d){var k=new VX(f.A,f.za,f.Qb,f.D,!0);b[c]=k;this.H.push(f)}}this.ca||this.jj()};
zY=function(a){g.EE(a.aa);a.aa=window.NaN};
AY=function(a,b){rY.call(this,a,b);this.aa=a;this.ba=!0;this.H=[];this.ga=1;this.L=0};
BY=function(a){if(null==a.g&&0<a.H.length){var b=a.H[0];b.isVisible?(a.ba=a.F.isPeggedToLive(),a.fa=Math.ceil((0,g.G)()/1E3),b.subscribe("adBreakComplete",a.S,a),a.g=b,b.show()):a.S()}else null!=a.g&&a.L++};
una=function(a,b){this.H=a;this.D=b;this.G=(0,g.G)();this.C=0;this.g=a.o;this.B={};this.F=new Wma(a);var c=[];this.g.La&&this.g.B&&c.push("4_2");this.g.da&&(this.g.B&&c.push("1_2"),this.g.C&&c.push("1_2_1"),this.g.ga&&c.push("1_1"),this.g.H&&c.push("1_3"));this.g.aa&&c.push("2_2_1");this.g.ba&&c.push("2_2");this.g.N&&c.push("2_1");(this.g.sa||this.g.M)&&c.push("2_3");this.g.ka&&c.push("14_14");this.o=c.join(",");this.A="";this.B.allowed=this.o;(c=this.g.excludedAds)&&(this.B.ex_ads=c)};
DY=function(a,b,c){g.M.call(this);this.o=a;this.B=b;this.cd=c;this.C=this.D=-1;this.g=CY(this.B.Le());a=this.B.Le();a.length&&(a=a[a.length-1],-1==a&&QV(this.o,[this.g[a]]));0<this.o.o.o&&this.o.subscribe("endseeking",this.A,this)};
vna=function(a,b){EY(a);0<b&&(a.C=g.GE((0,g.A)(a.A,a),1E3*b))};
EY=function(a){-1!=a.C&&(g.EE(a.C),a.C=-1)};
CY=function(a){if(!a.length)return{};for(var b={},c=0;c<a.length-1;c++){var d=a[c],e;e=a[c+1];e=-1==e?0x8000000000000:1E3*e;b[d]=new g.ZS(-1==d?0x8000000000000:1E3*d,0x8000000000000==e?e:e-1,{id:String(d),visible:!0})}d=a[a.length-1];b[d]=new g.ZS(-1==d?0x8000000000000:1E3*d,0x8000000000000,{id:String(d),visible:!0});return b};
FY=function(){g.M.call(this)};
GY=function(a){if(!/^\d+?(:\d+){0,2}(\.\d+)?$/.test(a))return null;var b=0;(0,g.H)(a.split(":"),function(a){b=60*b+Math.abs((0,window.parseFloat)(a))});
return 1E3*b};
HY=function(a){g.M.call(this);this.g=a;this.o=null;this.A={};this.C={};a=a.o;this.D=a.fadeInDurationMilliseconds;this.G=a.fadeInStartMilliseconds;this.H=a.fadeOutDurationMilliseconds;this.B=a.fadeOutStartMilliseconds;this.J=1E3*this.g.g.ha().lengthSeconds;this.F=this.B+this.H;this.g.g.addEventListener("applicationplayerstatechange",this.kC,this)};
IY=function(a,b){return 0!=b&&-1!=b&&-2!=b&&0<b&&b<a.J};
wna=function(a){a=a.getAttribute("breakType");return!!a&&(0,g.Sk)(a.split(","),function(a){a=Pa(a);return"linear"==a})};
xna=function(a){var b,c=3;b=!0;c=c?c:0;b=b?b:!1;var d=(0,window.parseFloat)(g.Na(a/1E3,2,c));a=Math.floor(d/60);var e=Math.floor(a/60);a%=60;c=g.Na(d%60,2,c);b=c=e||b?e+":"+g.Na(a,2)+":"+c:a+":"+c;return 1==b.split(":")[0].length?"0".concat(b):b};
zna=function(a,b){var c=Math.max(Math.abs(a.B),Math.abs(a.F));(0,g.H)(b,(0,g.A)(function(a){var d=(0,g.Sk)(b,function(b){return a!=b&&b>=a-c&&b<=a+c}),f=yna(this,a);
!d&&f&&(this.A[f]=a)},a));
return 0<g.Lb(a.A)};
yna=function(a,b){var c=1E3*Math.round((b+a.F)/1E3),d=b+a.B,e=b+a.G;return IY(a,b)&&IY(a,c)&&IY(a,d)&&IY(a,e)?c:null};
JY=function(a,b,c,d){0>=c||(d=0==d?a.jC:a.iC,c=(0,g.G)()+c,a.o=oR((0,g.A)(d,a,b,c,100),0))};
KY=function(a){g.M.call(this);this.cd=this.B=this.A=this.F=this.o=null;this.J=this.H=!1;this.g=a;this.G=this.jb=null;this.L={};this.M=new g.sm(this);this.D=new g.sm(this);this.C=null};
Ana=function(a,b,c){a=a.cloneNode(!0);a.setAttribute("timeOffset",b);(0,g.H)(a.getElementsByTagName("VASTAdTagURI"),function(a){var d,f,k;"end"==b?(d="post",f=-1,k="postroll"):(d="mid",f=GY(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};
Bna=function(a,b,c){var d=g.Cr(b);if(!d)return b;var e=g.De(d);if(!e)return c?b:d;var f=g.Za(g.Be(e),function(a){return"#1"==a.getAttribute("timeOffset")});
if(f){var k=g.Za(g.Be(f),function(a){return"vmap:Extensions"==a.tagName}),l=k?g.Be(k):[],l=g.Za(l,function(a){return"YTBreakTime"==a.getAttribute("type")}),k=(k=k.removeChild(l))?g.Be(k):[],m=f,n=1;
(0,g.H)(k,function(a){a=a.getAttribute("timeOffset");a=Ana(f,a,n);n++;e.insertBefore(a,m.nextSibling);m=a});
e.removeChild(f)}k=a.C.Mz(e);k||(g.Te(a.C),a.C=new FY);return f||k||!c?c?Dr(d):d:b};
Cna=function(a){var b=nW(a.g.o,oW(a.g),pW(a.g));b.NF=!0;b.Ku=!1;b.Iz=10;b.Lr=a.C.aw();return b};
LY=function(a,b){var c=a.cd?a.cd.g:0,c={tfla:0<c?Math.floor((0,g.G)()/1E3-c):0};a.g.xi.g(wY,b,c)};
Dna=function(a,b){var c=$r(b),d=MY(b);if(mW(c,"rm")&&a.g.o.M)return a.A=new vX(a.g),NY(a,a.A),a.A.show(),!1;if(mW(c,"blockAllAds"))return a.o.qj(),a.A=new xX(a.g,a.o,1,!0),!1;if(mW(c,"hideMaster")&&14!=d)return a.A=new xX(a.g,a.o,0,!0),!1;c=a.o;14==d?(a.A=new JX(a.g,c),5!=nC(a.o).Pe()&&OY(a,b)):a.A=new pX(d,a.g,c,!0);a.A.show();return!0};
OY=function(a,b){if(b){DW();var c=JW(),d=nC(a.o);if(d){var e=d.Pe(),d=g.cb(fW,e)?new gW(e,d.Kc):new gW(e),e=NW(yq(b)),d=new sW(d,e.g,a.g,14==e.o?16:4);c.then(d.C,g.y,d)}}else a.g.o.H&&(a.A=new vX(a.g),NY(a,a.A),a.A.show())};
QY=function(a,b){if(b&&"adLoadError"==b.Wb()){var c=a.g.o;c.A||!c.sa||oW(a.g).experiments.g("request_mpu_on_unfilled_ad_break")||(a.A=new vX(a.g),NY(a,a.A),a.A.show());oW(a.g).experiments.g("enable_no_ads_ping_for_mpu_disable")&&!a.g.o.H&&a.gC(nC(a.o),0,2,{});PY(a)}};
RY=function(a){a.A&&(a.A.dispose(),a.A=null)};
MY=function(a){var b=vs(a);a=0<b.length?b.pop():is(a);a=Ena[a.toUpperCase()];return null!=a?a:0};
PY=function(a){a.H||(RV(a.g),a.H=!0)};
NY=function(a,b){b.subscribe("AD_LOGGING_EVENT",(0,g.A)(a.gC,a,nC(a.o),b.adType))};
TY=function(a,b){PV.call(this,b);this.logEvent=this.od="ad";this.app=a;this.o=this.A=this.C=null;this.L=this.S=!1;this.B=this.jb=null;Q.o=!0;Q.J=!1;Q.da=!1;Q.ba=!0;Q.L=!g.YE();Q.G=0;var c=a.X.experiments.o("sdk_wrapper_levels_allowed");!(0,window.isNaN)(c)&&0<c&&(Q.N=c);SY(this)&&(Q.A=!0);this.H=null;this.ca={};this.ba={at:"0"};this.G=new OW(this.g);g.DV(this.g,this.G.element,5);this.M=this.F=null;this.N=-1;this.xi=new iW(this);this.J=new g.OL(this);g.N(this,this.J)};
pW=function(a){return a.app.o.g};
oW=function(a){return a.app.X};
$X=function(a,b,c){if(a.C){a=a.C;c=c||{};var d=((0,g.G)()-a.G)/1E3;c.art=d;d=oW(a.H);d.fh&&(c.feature=d.ac);c.ad_flags=a.g.adFlags;(d=a.g.yb)&&(c.cid=d);c.mt=a.D.getCurrentTime();(d=g.DG())&&(c.lact=d);(d=a.D.getDuration())&&(c.len=d);a.g.Ec&&(c.fqsf=1);c.sdkv="3";c.ad_event=b;if(3==b||4==b)a.A=c.at;b=a.F;a:{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 a}a=0!=(c&&c.ad_event?RW(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);oW(b.g).experiments.g("fix_api_stats_ads_companion_backfill_break_type")&&(a=Vb(c,"trsp","0"),"2_3"==e&&10==f&&"0"!=a&&(c.break_type=1));e={};e.device=b.g.o.hc;e.ns=1;e.sdkv="h.3.0";e.ver="2.0";for(var k in c){f=e;a=k;var d=c[k],l=c;switch(a){case "trsp":f.slot_pos=d;break;case "break_type":g.cb(fW,Ua(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=Xma(d);break;case "error_code":f.ima_error=d;case "error_message":f.error_msg=d;break;case "ad_event":f.event=RW(d);break;case "ck_xy":a=d.split("x"),2==a.length&&(f.i_x=a[0],f.i_y=a[1])}}f=bX(b.g);k=pW(b.g);e.cpn=k.clientPlaybackNonce;e.content_v=k.videoId;c.at&&c.at.match(/\d+_2.*/g)?(a=b.g.A,e.mt=null!=a&&null!=a.g?1E3*hW(a.g.Qb):0):e.mt=Math.round(1E3*f.getCurrentTime());e.ei=k.eventId;e.lact=g.DG();e.vol=Math.round(b.g.app.G.getVolume());e.vis=b.g.g.to();
a=UY(b.g);e.p_w=a.width;e.p_h=a.height;e.rt=(0,g.G)();if(f=(f=f.o?f.o.pa():null)&&g.ae(f)===window.document?g.ph(f):null)e.pv_h=f.getHeight(),e.pv_w=f.Db();oW(b.g).experiments.g("send_api_stats_ads_asr")&&2==(c&&c.ad_event?RW(c.ad_event):0)&&k.adSafetyReason&&(e.asr=k.adSafetyReason);c=pm(e);k=new g.$l(oW(b.g).baseYtUrl+"api/stats/ads");em(k,c);g.hF(k.toString())}}};
VY=function(a,b,c){c=c||{};c.ad_error=b;$X(a,7,c)};
WY=function(a,b,c){a.app.G.ya(b,c)};
XY=function(a){if(!a.S||a.app.X.experiments.g("enable_html5_midroll_tsla_update"))g.hF(oW(a).baseYtUrl+"mac_204?action_fcts=1"),a.S=!a.app.X.experiments.g("enable_html5_midroll_tsla_update")};
YY=function(a){return a.A instanceof AY?a.A:null};
fX=function(a){return g.lV(a.app).o};
bX=function(a){if(g.ZY(a)){if(!a.F){var b=Wb(oW(a).J);oW(a).experiments.g("legacy_autoplay_flag")&&(b.autoplay="1");b.eventid=pW(a).eventId;b.content_v=pW(a).videoId;b=new MO(b);b.g="adunit";a.F=new iU(b,2,new MP(b,""),a.app.D,(0,g.A)(a.app.J.V,a.app.J),(0,g.A)(a.app.Ej,a.app))}return a.F}return $Y(a.g.app,2)};
g.ZY=function(a){return a.app.X.experiments.g("legacy_ads_videoplayer")};
cZ=function(a){var b=g.Fe(PW(a.G),g.Pe());if(g.ZY(a)){if(!a.F||a.F!=g.lV(a.app))return;var c=a.app;a.F!=c.o?aZ(c,c.o):bZ(c)}else if(c=a.g,2==jV(c.app)){var c=c.app,d=g.lV(c,2);d&&(d!=c.o?aZ(c,c.o):bZ(c))}c=g.Y(a.g);"3"!=c.C||HO(c)||(c=g.nV(a.g),c.F=!1,dX(c));b&&a.g.getRootNode().focus()};
UY=function(a){return a.o.G?(a=a.app.D.Ya(),new g.Qg(0,0,a.width,a.height)):g.xh(a.getRootNode())};
dZ=function(a,b){a.ae("bd");var c;c=a.o;var d=c.midrollPrefetchSize;c=c.isLiveStream?new AY(a,b):0<d?new yY(a,b,d):new rY(a,b);a.A=c;sna(a.A)};
gZ=function(a){eZ(a);var b=a.app;g.GE(function(){fZ(b)},0)};
vY=function(a){var b=a.app;g.GE(function(){hZ(b)},0)};
jZ=function(a,b){var c=a.app;g.GE(function(){iZ(c,b)},0)};
eZ=function(a){a.L=!1;var b=g.lV(a.app,2);b&&a.app.X.G.remove(b.g.videoId)};
hX=function(a,b){switch(b){case 1:a.N=1;WY(a,"onAdStart");break;case 0:a.N=0,WY(a,"onAdEnd")}};
gX=function(a,b,c){c&&WY(a,"onAdInfoChange",c);a=a.app;1==b&&(a.H.o("vr"),a.da||(a.da=hP(a.Qy,a)),aV(a.C),NP(a.H,kZ(a)));c=a.X;("leanback"==c.g&&c.Hb||g.GO(c))&&a.g.ya("onAdStateChange",b)};
lZ=function(a){return!!(a.o.L&&a.A&&1<a.A.Cb.length)};
SY=function(a){a=a.app.X;return KO(a)&&!g.GO(a)&&"desktop-polymer"==a.o};
mZ=function(a,b,c){g.M.call(this);window._exportCheck=g.Ba;this.ba=b;this.da=c;this.C=this.J=this.F=this.A=this.L=this.M=this.N=this.B=this.G=this.g=null;this.S={};this.aa={};this.ca=null;this.Y=a;this.D=this.H=this.o=null};
g.nZ=function(a){var b=g.Y(a.Y);if("leanback"==b.g||b.xc||!b.Zb&&!b.Qa)return!1;var c=a.Y.ab();if(2==c)return!1;if(3==c)return b.experiments.g("desktop_enable_autoplay");if(b.experiments.g("allow_live_autoplay"))return!0;a=a.Y.ha();return b.sh&&!a.Qf?!1:!!a&&!a.Aa};
pZ=function(a,b,c,d){try{var e="ytmod.player."+b,f=g.w(e);if(d){if(f){var k=a.ba,l=f._version;if(l&&l!=k)g.u(e,null,void 0);else return f._version=k,new f(a.Y)}"creatorendscreen"==b?oZ(a,"annotations_module",c):oZ(a,b,c)}else g.CV(a.Y,b)}catch(m){g.CV(a.Y,b),g.zE(m)}return null};
qZ=function(a){a.g&&a.g.Id()&&(g.Te(a.g),a.g=null);a.G&&a.G.Id()&&(g.Te(a.G),a.G=null);a.B&&a.B.Id()&&(g.Te(a.B),a.B=null);a.N&&a.N.Id()&&(g.Te(a.N),a.N=null);a.M&&a.M.Id()&&(g.Te(a.M),a.M=null);a.L&&a.L.Id()&&(g.Te(a.L),a.L=null);a.A&&a.A.Id()&&(g.Te(a.A),a.A=null);a.F&&a.F.Id()&&(g.Te(a.F),a.F=null);a.J&&a.J.Id()&&(g.Te(a.J),a.J=null);a.C&&a.C.Id()&&(g.Te(a.C),a.C=null);a.H&&a.H.Id()&&(g.Te(a.H),a.H=null);a.o&&a.o.Id()&&(g.Te(a.o),a.o=null)};
g.kV=function(a){return g.Y(a.Y).tb?a.H:null};
oZ=function(a,b,c){if(a.ba){for(var d=a.ba+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.re("SCRIPT"),g.Y(a.Y).experiments.g("enable_player_async_scripts")&&(k.async=!0),f=!0);var n=(0,g.A)(function(){this.ma()||c.call(this)},a),q=(0,g.A)(function(){this.ma()||g.CV(this.Y,b)},a);
k.onload=g.ya(function(a){Hf(n);a&&a()},k.onload);
k.onerror=g.ya(function(a){Hf(q);a&&a()},k.onerror);
k.onreadystatechange=g.ya(function(a){switch(k.readyState){case "loaded":case "complete":Hf(n,this)}a&&a()},k.onreadystatechange);
f&&((e=g.Y(a.Y).ph)&&k.setAttribute("nonce",e),k.src=d,d=window.document.getElementsByTagName("HEAD")[0]||window.document.body,d.insertBefore(k,d.firstChild),g.Se(a,function(){k.parentNode&&k.parentNode.removeChild(k);g.u("ytmod.player."+b,null,void 0);"annotations_module"==b&&g.u("ytmod.player.creatorendscreen",null,void 0)}))}};
rZ=function(a){var b=a.X,c=["html5-video-player"];b.D&&c.push("ytp-dni");g.X.call(this,{K:"div",ea:c,Z:{tabindex:-1,id:a.aa.attrs.id},O:[{K:"div",W:"html5-video-container",Z:{"data-layer":0}}]});g.zF(this.element,"version",a.aa.assets.js);this.app=a;this.containerElement=this.wa["html5-video-container"];this.S=!!this.containerElement;this.B=new g.Qg(0,0,0,0);this.g=null;this.D=new g.Qg(0,0,0,0);this.H=this.M=this.L=window.NaN;this.F=!1;this.G=window.NaN;this.J=!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(){};
SO(b)&&"blazer"!=b.o&&"mweb-polymer"!=b.o&&window.matchMedia&&(this.N="desktop-polymer"==b.o?[{query:window.matchMedia("(max-width: 656px)"),size:new g.Yd(426,240)},{query:window.matchMedia("(max-width: 856px)"),size:new g.Yd(640,360)},{query:window.matchMedia("(max-width: 999px)"),size:new g.Yd(854,480)},{query:window.matchMedia("(min-width: 1720px) and (min-height: 980px)"),size:new g.Yd(1280,720)},{query:window.matchMedia("(min-width: 1294px) and (min-height: 630px)"),size:new g.Yd(854,480)},{query:window.matchMedia("(min-width: 1000px)"),
size:new g.Yd(640,360)}]:[{query:window.matchMedia("(max-width: 656px)"),size:new g.Yd(426,240)},{query:window.matchMedia("(min-width: 1720px) and (min-height: 980px)"),size:new g.Yd(1280,720)},{query:window.matchMedia("(min-width: 1294px) and (min-height: 630px)"),size:new g.Yd(854,480)},{query:window.matchMedia("(min-width: 657px)"),size:new g.Yd(640,360)}]);this.A=null;g.$D({YTP_AD_BADGE:"Ad",YTP_AD_POD_POSITION:"$AD_INDEX of $ADS_COUNT",YTP_ADVERTISEMENT:"Advertisement",YTP_AIRPLAY:"AirPlay",
YTP_AUDIO_TRACK_TITLE:"Audio track",YTP_AUTO:"Auto",YTP_AUTO_WITH_QUALITY_2:"Auto ($VIDEO_QUALITY)",YTP_CAN_SKIP_AD_SOON:"You can skip to video in $REMAINING_SECONDS",YTP_CARDS_BUTTON_ARIA_LABEL:"Show cards",YTP_CHANGE_QUALITY_WITH_QUALITY_2:"Change quality ($VIDEO_QUALITY)",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_DRAWER_CLOSE_BUTTON_ARIA_LABEL:"Hide cards",YTP_DRAWER_HEADER_TEXT_2:"More info",YTP_DRAWER_POLL_PERCENT:"$PERCENT%",
YTP_DRAWER_POLL_SIGNIN_TITLE:"Want to vote?",YTP_DRAWER_POLL_TITLE_ARIA_LABEL:"$POLL_TITLE - Sign in to vote.",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_DECREASE_PLAYBACK_SPEED:"Decrease playback speed",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_FEATURED:"Featured",
YTP_FULLSCREEN:"Full screen",YTP_INCREASE_PLAYBACK_SPEED:"Increase playback speed",YTP_INVIDEO_PROMOTION_ARIA_LABEL:"Promotion",YTP_GOTO_LIVE_TOOLTIP:"Skip ahead to live broadcast.",YTP_KEYBOARD_SHORTCUTS:"Keyboard shortcuts",YTP_LIVE:"Live",YTP_LIVE_NOW:"LIVE NOW",YTP_LOOP:"Loop",YTP_MIX:"Mix",YTP_MORE:"More",YTP_MORE_VIDEOS:"More videos",YTP_MDX_TITLE:"Play on",YTP_MDX_TOOLTIP:"Play on TV",YTP_MDX_MY_COMPUTER:"This computer",YTP_MDX_CAST_SELECTOR:"Cast...",YTP_MUTE:"Mute",YTP_NEXT:"Next",YTP_NEXT_VIDEO_IN:"Next video in $TIME_LEFT",
YTP_NORMAL_SPEED:"Normal",YTP_ON:"On",YTP_OFF:"Off",YTP_OPTIONS:"Options",YTP_PLAY_ALL:"Play all",YTP_PLAY_PAUSE:"Toggle play/pause",YTP_PREVIOUS:"Previous",YTP_PLAYBACK_STALLED_AT_START:"If playback doesn't begin shortly, try restarting your device.",YTP_MISSING_FORMATS:"Missing options?",YTP_PLAYLIST:"Playlist",YTP_PLAYLIST_UP_NEXT:"Up Next",YTP_QUALITY_TITLE:"Quality",YTP_SUGGESTED_VIDEOS:"Suggested videos",YTP_REPLAY:"Replay",YTP_TROUBLESHOOT_ISSUE:"Troubleshoot playback issue",YTP_SEEK_BACK:"Seek back 10 seconds",
YTP_SEEK_FORWARD:"Seek forward 10 seconds",YTP_SEEK_PERCENT:"Seek to 0%-90%.",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_SPHERICAL_CONTROL:"Spherical video control. Use the arrow keys to pan the video.",YTP_SKIP_AD:"Skip Ad",YTP_SPEED_TITLE:"Speed",YTP_ST_COLLAPSE:"Collapse",YTP_ST_EXPAND:"Expand",YTP_SUBSCRIBE:"Subscribe",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:"Tap to unmute",YTP_THREED_SHORT:"3D",YTP_THREED_VIEWMODE_2D:"2D",YTP_THREED_VIEWMODE_ANAGLYPH:"Anaglyph",YTP_THEATER_MODE:"Theater mode",YTP_TOGGLE_FULLSCREEN:"Toggle fullscreen.",YTP_TOGGLE_MUTE:"Toggle mute",YTP_UNMUTE:"Unmute",YTP_UNSUBSCRIBE:"Unsubscribe",YTP_URL_NAVIGATE:"Watch on YouTube.com",YTP_URL_NAVIGATE_TO:"Watch on $WEBSITE",YTP_WATCH_ALL:"Watch entire video",YTP_WATCH_LATER:"Watch Later",
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_WEBGL_3D_ANAGLYPH:"Anaglyph",YTP_WEBGL_3D_2D:"2D",YTP_SUBSCRIBE_AS:"Subscribe as $USER_NAME",YTP_LIKE_AS:"Like as $USER_NAME",YTP_DISLIKE_AS:"Dislike as $USER_NAME",YTP_WATCH_NEXT:"Watch next",YTP_PLAY:"Play",YTP_WATERMARK:"Watermark",YTP_ERROR_STREAMING_UNAVAILABLE:"Video playback is unavailable right now because this video has been downloaded for offline viewing.",
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_CANNOT_ACTIVATE_RENTAL:"An error occurred when activating your rental. Please reload this page or try again later.",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_UNUSUAL_ACTIVITY:"Due to unusual account activity, this video is not currently available.",YTP_ERROR_STREAM_LICENSE_NOT_FOUND:"Video playback interrupted. Please try again.",YTP_ERROR_NOT_SIGNED_IN:"Please sign in to resume watching.",YTP_CLOSE:"Close",YTP_EXPAND:"Expand",YTP_ANNOTATIONS:"Annotations",YTP_DONE:"Done",YTP_SHARE_THIS_PLAYLIST:"Share this playlist",YTP_UPLOADED_BY_2:"by $AUTHOR",YTP_SEEK_SLIDER:"Seek slider",YTP_PAUSE:"Pause",YTP_AUTOPLAY:"Autoplay",YTP_AUTOPLAY_COUNTDOWN_2:"Next video in $SECONDS_LEFT",
YTP_AUTOPLAY_NEXT:"Play next video",YTP_AUTOPLAY_PAUSED:"Busy? We've paused autoplay.",YTP_AUTOPLAY_PAUSED_2:"Autoplay is paused.",YTP_AUTOPLAY_PAUSED_3:"Autoplay is paused",YTP_AUTOPLAY_CANCEL:"Cancel autoplay",YTP_WATCH_VIDEO_OR_PLAYLIST:"Watch $TITLE",YTP_CANCEL:"Cancel",YTP_ON_GOOGLE_PLUS:"On Google+",YTP_STILL_THERE:"Are you still there? If so, please click the button below to continue watching the playlist.",YTP_DISMISS:"OK",YTP_RESET:"Reset",YTP_STOP:"Stop live playback",YTP_LIKE:"Like",YTP_DISLIKE:"Dislike",
YTP_SCREENREADER_VOLUME_SETTING:"volume",YTP_SCREENREADER_VOLUME_MUTED:"muted",YTP_SCREENREADER_VOLUME_MUTE:"mute",YTP_SCREENREADER_VOLUME_UNMUTE:"unmute",YTP_SCREENREADER_CONTROL_TOGGLE:"toggle",YTP_SAMPLE_SUBTITLES:"Captions look like this",YTP_HTML5_PROTECTED_FLASH_FALLBACK:"To watch this video, install the latest Flash Player, or try a different browser. $BEGIN_LINKGet Flash Player$END_LINK.",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_NO_AVAILABLE_FORMATS_FALLBACK_FLASH:"The Adobe Flash Player is required for video playback. $BEGIN_LINKGet the latest Flash Player$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_FORMAT_UNAVALIABLE:"This video isn't avaliable at the selected quality. Please try again later.",YTP_MDX_STATUS_CONNECTED_2:"Connected to $RECEIVER_NAME",YTP_MDX_STATUS_ERROR_2:"Error on $RECEIVER_NAME",YTP_MDX_STATUS_PLAYING_2:"Playing on $RECEIVER_NAME",YTP_MDX_PLAYER_ERROR:"This video is not available for remote playback.",YTP_MDX_PLAYER_RECONNECT_TIME:"Please check your Internet connection. Retrying in $FORMATTED_TIME...",
YTP_MDX_PLAYER_RECONNECT_BUTTON:"Reconnect",YTP_DEVICE_FALLBACK:"Sorry, this video is not available on this device.",YTP_AD_INTERRUPT_MESSAGE:"Your video will play after this ad.",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_PLAYER_NORMAL:"YouTube Video Player",YTP_PLAYER_FULLSCREEN:"YouTube Video Player in Fullscreen",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_SPONSORED_PRODUCT_BADGE:"Shop",YTP_AD_SETTINGS_INFO:"Visit Google's $BEGIN_FORMATAd Settings$END_FORMAT to learn more about how ads are targeted or to opt out of personalized ads.",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."});this.app.G.addEventListener("initializingmode",this.qH,this);this.app.G.addEventListener("videoplayerreset",this.WS,this);this.app.G.addEventListener("videodatachange",this.VS,this);this.app.G.addEventListener("presentingplayerstatechange",
this.MG,this);this.U(a.g,"mutedautoplaychange",this.XS)};
Gna=function(a,b){a.g=b;a.F=!1;if(!a.g.parentNode)try{xe(a.containerElement,a.g,0)}catch(c){throw Error("videoElement_: "+!!a.g+", containerElement: "+!!a.containerElement+", containerElement.childNodes: "+!(!a.containerElement||!a.containerElement.childNodes)+", containerInitiallyTruthy: "+a.S+", isDisposed: "+a.ma());}a.A&&(a.A.disconnect(),a.A=null);!a.app.X.experiments.g("no_detect_bad_extensions2")&&window.MutationObserver&&(a.A=new window.MutationObserver((0,g.A)(function(a){for(var b=0;b<a.length;b++){var c=
a[b];"style"==c.attributeName&&"100%"==c.target.style.height&&(window.console.warn("Detected an extension setting the video size to an invalid height, which hides video playback. Restoring the original height..."),this.D=new g.Qg(0,0,0,0),sZ(this))}},a)),a.A.observe(a.g,{attributes:!0}));
a.D=new g.Qg(0,0,0,0);sZ(a);dX(a);Fna(a)};
Fna=function(a){g.S(a.g,"video-stream");g.S(a.g,"html5-main-video");var b=a.app.X;b.yb&&a.g.setAttribute("data-no-fullscreen",!0);b.kf&&(a.g.setAttribute("webkit-playsinline",""),a.g.setAttribute("playsinline",""));b.Il&&a.g&&a.U(a.g,"click",a.g.play,a.g)};
tZ=function(a,b){if(a.g){var c=a.app.X;CL&&(a.g.setAttribute("x-webkit-airplay","allow"),b.title?a.g.setAttribute("title",b.title):a.g.removeAttribute("title"));a.g.setAttribute("controlslist","nodownload");c.gP&&b.videoId&&(a.g.poster=b.Vb(c,"default.jpg"))}c=b.vf("yt:bgcolor");a.containerElement.style.backgroundColor=c?c:"";a.L=uO(b.vf("yt:stretch"));a.M=uO(b.vf("yt:crop"),!0);a.app.X.experiments.g("use_legacy_crop_resize")||a.Xf()};
g.vZ=function(a){return(a=a.g)?uZ(a.videoWidth,a.videoHeight):window.NaN};
g.xZ=function(a,b){var c=a.Ya(),d=wZ(a,c,g.vZ(a),b);return new g.Qg((c.width-d.width)/2,(c.height-d.height)/2,d.width,d.height)};
wZ=function(a,b,c,d){(0,window.isNaN)(a.L)||(c=a.L);var e=c;(0,window.isNaN)(a.H)?(0,window.isNaN)(a.M)||(e=a.M):e=a.H;a=uZ(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};
uZ=function(a,b){return 1>Math.abs(yZ*b-a)||1>Math.abs(yZ/a-b)?yZ:a/b};
zZ=function(a){return 1==a.app.M?!1:(a=g.mV(a.app.g))&&!g.W(a,2)&&!fR(a)};
dX=function(a){var b=a.app.X,c=a.app.va&&b.experiments.g("mweb_muted_autoplay_tap_anywhere"),b="3"==b.C&&!a.F&&zZ(a)&&!c;a.g.controls=b;a.g.tabIndex=b?0:-1};
sZ=function(a){var b=g.vZ(a),c=a.Ya(),d=1,e=!1,f,k=wZ(a,c,b),l=fF();zZ(a)?(f=(0,window.isNaN)(b),CL&&!g.jc(601)?b=k.aspectRatio:f=f||"3"==a.app.X.C,f?f=new g.Qg(0,0,c.width,c.height):(d=k.aspectRatio/b,f=new g.Qg((c.width-k.width/d)/2,(c.height-k.height)/2,k.width/d,k.height),1==d&&wi&&(b=f.width-c.height*b,0<b&&(f.width+=b,f.height+=b))),l&&(a.g.style.display=""),a.J=!0):(b=-c.height,CL?b*=window.devicePixelRatio:g.WO&&(b-=window.screen.height),f=new g.Qg(0,b,c.width,c.height),l&&(a.g.style.display=
"none"),a.J=!1);g.Sg(a.D,f)||(a.D=f,g.GO(a.app.X)?(a.g.style.setProperty("width",f.width+"px","important"),a.g.style.setProperty("height",f.height+"px","important")):g.vh(a.g,g.Ug(f)),g.kh(a.g,g.Vg(f)),e=!0);c=new g.Qg((c.width-k.width)/2,(c.height-k.height)/2,k.width,k.height);g.Sg(a.B,c)||(a.B=c,e=!0);g.dh(a.g,"transform",1==d?"":"scaleX("+d+")");return e};
AZ=function(a,b,c,d){g.ZF.call(this);this.A=a;this.S=(0,g.A)(b,null);this.o=0;this.F=!1;this.C=new g.Vd(window.NaN,window.NaN);this.g=new g.OL(this);g.N(this,this.g);b=d?4E3:3E3;this.H=new g.Jt(g.ya(this.qc,1,!1),b,this);g.N(this,this.H);this.J=new g.Jt(g.ya(this.qc,2,!1),b,this);g.N(this,this.J);this.M=new g.Jt(g.ya(this.qc,512,!1),0,this);g.N(this,this.M);this.N=c&&0<c.wh.length?5E3:3E3;d||(this.B=this.g.U(a,"mouseover",this.xt),this.g.U(a,"mousemove",this.SS),this.g.U(a,"mouseleave",this.kK));
g.fh?this.g.U(a,"keypress",this.vI):this.g.U(a,"focusin",this.ZF);this.D=this.g.U(a,"mousedown",this.nC);this.G=this.g.U(a,"touchstart",this.pC,void 0,!0);this.ba=null;this.qc(640,!0)};
BZ=function(a){a.qc(4,!1);a.L&&(a.g.Ba(a.L),a.L=null,a.B=a.g.U(a.A,"mouseover",a.xt));a.B&&(a.g.Ba(a.B),a.B=a.g.U(a.A,"mouseover",a.xt))};
DZ=function(a,b){g.X.call(this,{K:"canvas",W:"ytp-tv-static"});this.A=this.element.getContext("2d");this.height=this.width=window.NaN;this.J=null;this.G=this.H=this.C=this.B=0;this.D=-75;this.g=new g.Gt(this.L,void 0,this);g.N(this,this.g);this.F=new g.Jt(this.g.fk,75,this.g);g.N(this,this.F);CZ(this,a,b)};
EZ=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};
CZ=function(a,b,c){if(b&&c){a.width=a.element.width=b;a.height=a.element.height=c;var d=g.re("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.J=d;a.H=EZ(b);a.G=EZ(c/10);a.A.scale(1.5,1.5);a.A.fillStyle="rgba(255, 255, 255, 0.02)"}};
FZ=function(a){g.X.call(this,["div",["ytp-error"],{role:"alert"},["div","ytp-error-content",["div","ytp-error-content-wrap","{{content}}"]]]);this.A=a;this.B=[];try{var b=new DZ(1,1);b.Ia(this.element,0);g.N(this,b)}catch(c){}this.g=b;a=g.nV(this.A).Ya();this.g&&CZ(this.g,a.width,a.height)};
GZ=function(a,b,c,d,e){e||(e=g.Y(a.A).A);a=d?{CPN:a.A.ha().clientPlaybackNonce}:null;b=g.U(b,a).split(/\$(BEGIN|END)_LINK/);return["span",null,b[0],["br"],["a",{href:c,target:e?"_blank":null},b[2]],b[4]]};
Hna=function(a,b,c){HZ("add_to_watch_later_list",a,b,c)};
Ina=function(a,b,c){HZ("delete_from_watch_later_list",a,b,c)};
HZ=function(a,b,c,d){a=c?c+"playlist_video_ajax?action_"+a+"=1":"/playlist_video_ajax?action_"+a+"=1";c={feature:b.feature||null,authuser:b.tc||null,pageid:b.pageId||null};var e={video_ids:b.videoIds||null,source_playlist_id:b.sourcePlaylistId||null,full_list_id:b.fullListId||null,delete_from_playlists:b.C0||null,add_to_playlists:b.t0||null,plid:g.YD("PLAYBACK_ID")||null};g.TE(a,{method:"POST",Rc:c,Rb:e,context:b.context,onError:b.onError,Lb:function(a,c){var d=c.result;d&&d.actions&&gG(d.actions);
b.Lb.call(this,a,c)},
ud:b.ud,withCredentials:!!d})};
IZ=function(){this.g=[];this.o=[];this.A=[]};
KZ=function(a,b,c){c=g.re(c?"AUDIO":"VIDEO");g.za(c,Jna);g.LF(c,"loadeddata",(0,g.A)(c.o,c));EO&&6<=yL&&g.LF(c,"webkitbeginfullscreen",(0,g.A)(c.play,c));a.o.push(c);b?a.A.push(c):JZ(a,c);return c};
JZ=function(a,b){g.cb(a.o,b)&&!g.cb(a.g,b)&&(b.src||b.load(),g.jb(a.A,b)||a.g.push(b))};
LZ=function(){g.X.call(this,{K:"div",W:"ytp-sparkline"})};
MZ=function(a,b){for(var c=a.element.children.length;c<b.length;c++){var d=g.re("SPAN");d.style.width=100/b.length+"%";a.element.appendChild(d)}d=Math.max.apply(Math,b)||1;for(c=0;c<b.length;c++)a.element.children[c].style.height=b[c]/d*100+"%";for(;a.element.children.length>b.length;)g.ye(a.element.lastChild)};
NZ=function(a){var b;b=["button",["html5-video-info-panel-close","ytp-button"],{title:"close"},"[x]"];g.X.call(this,["div","html5-video-info-panel",b,["div","html5-video-info-panel-content",["div","",["div","","Video ID:"],["span","","{{video_id}}"]],["div","",["div","","Dimensions:"],["span","","{{dimensions}}"]],["div","",["div","","Resolution:"],["span","","{{resolution}}"]],["div","",["div","","Optimal Resolution:"],["span","","{{optimal_resolution}}"]],["div","",["div","","Volume:"],["span",
"","{{volume}}"]],["div","",["div","","Stream Host:"],["span","","{{stream_host}}"]],["div","",["div","","Stream Type:"],["span","","{{stream_type}}"]],["div",{style:"{{cpn_style}}"},["div","","CPN:"],["span",{style:"font-family:monospace"},"{{cpn}}"]],["div","",["div","","Mime Type:"],["span","","{{mime}}"]],["div","",["div","","DASH:"],["span","","{{dash}}"]],["div",{style:"{{color_style}}"},["div","","Color:"],["span","","{{color}}"]],["div",{style:"{{drm_style}}"},["div","","Protected:"],["span",
"","{{drm}}"]],["div","",["div","","Connection Speed:"],["span","",["span","","{{bandwidth_sparkline}}"],["span","","{{bandwidth_kbps}}"]]],["div","",["div","","Buffer Health:"],["span","",["span","","{{buffer_health_sparkline}}"],["span","","{{buffer_health_seconds}}"]]],["div","",["div","","Network Activity:"],["span","",["span","","{{network_activity_sparkline}}"],["span","","{{network_activity_bytes}}"]]],["div",{style:"{{live_latency_style}}"},["div","","Live Latency:"],["span","",["span","",
"{{live_latency_sparkline}}"],["span","","{{live_latency_message}}"]]],["div","",["div","","Dropped Frames:"],["span","","{{dropped_frames}}"]],["div",{style:"{{sequence_number_style}}"},["div","","Sequence Number:"],["span","","{{sequence_number}}"]]]]);b&&this.U(this.wa["html5-video-info-panel-close"],"click",this.oa);this.A=new LZ;g.N(this,this.A);this.Ca("bandwidth_sparkline",this.A);this.C=new LZ;g.N(this,this.C);this.Ca("live_latency_sparkline",this.C);this.B=new LZ;g.N(this,this.B);this.Ca("buffer_health_sparkline",
this.B);this.D=new LZ;g.N(this,this.D);this.Ca("network_activity_sparkline",this.D);this.F=new g.Jt(this.G,500,this);g.N(this,this.F);this.g=a};
OZ=function(a,b){g.M.call(this);this.A=a||window.NaN;this.g=b||null;this.o=[]};
g.PZ=function(a){return RQ(a)?(a.fetch=0,new g.QQ(a)):new g.pQ(a)};
QZ=function(a){this.o=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.A,this),b):null)&&this.g.observe(a)};
RZ=function(a){g.X.call(this,{K:"div",W:"ytp-bezel",Z:{role:"status","aria-label":"{{label}}"},O:[{K:"div",W:"ytp-bezel-icon",O:["{{icon}}"]}]});this.A=new g.Jt(this.show,10,this);g.N(this,this.A);this.g=new g.Jt(this.oa,500,this);g.N(this,this.g);this.Y=a;this.oa()};
TZ=function(a,b){if(b)g.W(g.mV(a.Y),64)||SZ(a,oE(),g.U("YTP_PLAY"));else{var c=a.Y.ha();c.Aa&&!c.Zf?SZ(a,tE(),g.U("YTP_STOP")):SZ(a,nE(),g.U("YTP_PAUSE"))}};
UZ=function(a,b,c){0>=b?(c=wE(),b=g.U("YTP_SCREENREADER_VOLUME_MUTED")):(c=c?vE():uE(),b=Math.floor(b)+"% "+g.U("YTP_SCREENREADER_VOLUME_SETTING"));SZ(a,c,b)};
VZ=function(a,b,c){c=c?g.bE?{K:"div",ea:["ytp-icon","ytp-icon-fast-rewind"]}:{K:"svg",Z:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},O:[{K:"path",Ra:!0,W:"ytp-svg-fill",Z:{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.bE?{K:"div",ea:["ytp-icon","ytp-icon-fast-forward"]}:{K:"svg",Z:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},O:[{K:"path",Ra:!0,W:"ytp-svg-fill",Z:{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.U("YTP_PLAYBACK_SPEED_CHANGED",
{RATE:b});SZ(a,c,b)};
WZ=function(a){SZ(a,pE(),g.U("YTP_PREVIOUS"))};
SZ=function(a,b,c){a.Ca("label",void 0===c?"":c);a.Ca("icon",b);g.Lt(a.g);a.A.start()};
g.XZ=function(a,b){b=b||{K:"div",W:"ytp-thumbnail-overlay"};g.X.call(this,b);this.A=new g.ZV(this,250);g.N(this,this.A);this.g=a};
YZ=function(a){g.XZ.call(this,a,{K:"div",ea:["ytp-thumbnail-overlay","ytp-cued-thumbnail-overlay"],O:[{K:"div",W:"ytp-thumbnail-overlay-image"}]});this.C=new g.OL(this);g.N(this,this.C);this.D=this.wa["ytp-thumbnail-overlay-image"];this.B=new g.Jt(this.Tx,0,this);g.N(this,this.B);this.Tx();this.U(a,"presentingplayerstatechange",this.rJ);"detailpage"==g.Y(a).g&&this.U(a,"videoplayerreset",this.qJ)};
$Z=function(a,b,c){var d=fR(c),e=!g.Y(b).experiments.g("disable_new_pause_state3");b=g.W(c,2)&&!hV(b)&&(!e||!g.ZZ(b.app));d||b?a.show():(g.aW(a),g.W(c,1)||a.stop())};
b_=function(a){var b=["ytp-large-play-button","ytp-button"],c=g.Y(a);c.D&&c.gb?c=[{K:"div",W:"ytp-large-play-button-circle",Z:{style:"background-color: "+c.gb}},g.bE?{K:"div",ea:["ytp-icon","ytp-icon-dni-large-play-button"]}:{K:"svg",Z:{height:"100%",version:"1.1",viewBox:"4 -6 60 60",width:"100%"},O:[{K:"path",Z:{d:"m 26.96,13.67 18.37,9.62 -18.37,9.55 -0.00,-19.17 z",fill:"#fff"}}]}]:c.aa&&!c.xc?c=[g.bE?{K:"div",ea:["ytp-icon","ytp-icon-large-play-button-hover"]}:{K:"svg",Z:{height:"100%",version:"1.1",
viewBox:"0 0 68 48",width:"100%"},O:[{K:"path",W:"ytp-large-play-button-bg",Z:{d:"m .66,37.62 c 0,0 .66,4.70 2.70,6.77 2.58,2.71 5.98,2.63 7.49,2.91 5.43,.52 23.10,.68 23.12,.68 .00,-1.3e-5 14.29,-0.02 23.81,-0.71 1.32,-0.15 4.22,-0.17 6.81,-2.89 2.03,-2.07 2.70,-6.77 2.70,-6.77 0,0 .67,-5.52 .67,-11.04 l 0,-5.17 c 0,-5.52 -0.67,-11.04 -0.67,-11.04 0,0 -0.66,-4.70 -2.70,-6.77 C 62.03,.86 59.13,.84 57.80,.69 48.28,0 34.00,0 34.00,0 33.97,0 19.69,0 10.18,.69 8.85,.84 5.95,.86 3.36,3.58 1.32,5.65 .66,10.35 .66,10.35 c 0,0 -0.55,4.50 -0.66,9.45 l 0,8.36 c .10,4.94 .66,9.45 .66,9.45 z",
fill:"#cc181e"}},{K:"path",Z:{d:"m 26.96,13.67 18.37,9.62 -18.37,9.55 -0.00,-19.17 z",fill:"#fff"}},{K:"path",Z:{d:"M 45.02,23.46 45.32,23.28 26.96,13.67 43.32,24.34 45.02,23.46 z",fill:"#ccc"}}]}]:(c.isMobile&&b.push("ytp-touch-device"),c=[c.xc?g.bE?{K:"div",ea:["ytp-icon","ytp-icon-house-brand-large-play-button"]}:{K:"svg",Z:{height:"100%",version:"1.1",viewBox:"0 0 60 60",width:"100%"},O:[{K:"path",W:"ytp-large-play-button-bg",Z:{"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"}},{K:"path",Z:{d:"M21,41.65 L21,18 L43.7,29.85 L21,41.65 Z",fill:"#fff"}}]}:g.bE?{K:"div",ea:["ytp-icon","ytp-icon-large-play-button"]}:{K:"svg",Z:{height:"100%",version:"1.1",viewBox:"0 0 68 48",width:"100%"},O:[{K:"path",W:"ytp-large-play-button-bg",Z:{d:"m .66,37.62 c 0,0 .66,4.70 2.70,6.77 2.58,2.71 5.98,2.63 7.49,2.91 5.43,.52 23.10,.68 23.12,.68 .00,-1.3e-5 14.29,-0.02 23.81,-0.71 1.32,-0.15 4.22,-0.17 6.81,-2.89 2.03,-2.07 2.70,-6.77 2.70,-6.77 0,0 .67,-5.52 .67,-11.04 l 0,-5.17 c 0,-5.52 -0.67,-11.04 -0.67,-11.04 0,0 -0.66,-4.70 -2.70,-6.77 C 62.03,.86 59.13,.84 57.80,.69 48.28,0 34.00,0 34.00,0 33.97,0 19.69,0 10.18,.69 8.85,.84 5.95,.86 3.36,3.58 1.32,5.65 .66,10.35 .66,10.35 c 0,0 -0.55,4.50 -0.66,9.45 l 0,8.36 c .10,4.94 .66,9.45 .66,9.45 z",
fill:"#1f1f1e","fill-opacity":"0.81"}},{K:"path",Z:{d:"m 26.96,13.67 18.37,9.62 -18.37,9.55 -0.00,-19.17 z",fill:"#fff"}},{K:"path",Z:{d:"M 45.02,23.46 45.32,23.28 26.96,13.67 43.32,24.34 45.02,23.46 z",fill:"#ccc"}}]}]);g.X.call(this,{K:"button",ea:b,Z:{"aria-label":"{{label}}"},O:c});this.g=a;this.B=!1;this.A=new g.ZV(this,250);g.N(this,this.A);this.U(a,"presentingplayerstatechange",this.C);a_(this,g.mV(a))};
a_=function(a,b){if(g.Y(a.g).ar&&!a.B){$Z(a.A,a.g,b);var c;c=(c=a.g.ha())&&c.title?g.U("YTP_WATCH_VIDEO_OR_PLAYLIST",{TITLE:c.title}):g.U("YTP_PLAY");a.Ca("label",c)}else a.oa()};
d_=function(a,b){g.OL.call(this);this.Y=a;this.A=b;this.o=new window.Set;this.g=window.navigator.mediaSession;c_(this,"play",function(){TZ(b,!0);a.He()});
c_(this,"pause",function(){TZ(b,!1);a.xd()});
c_(this,"seekbackward",function(){SZ(b,rE());a.be(-5*a.Fe())});
c_(this,"seekforward",function(){SZ(b,kE());a.be(5*a.Fe())});
this.U(a,"videodatachange",this.C);this.U(a,"presentingplayerstatechange",this.B);this.C()};
c_=function(a,b,c){a.g.setActionHandler(b,c?(0,g.A)(c,a):null);a.o.add(b)};
e_=function(a){g.X.call(this,["div","ytp-paid-content-overlay",{"aria-live":"assertive","aria-atomic":"true"}]);this.H=new g.X({K:"div",ea:["ytp-button","ytp-paid-content-overlay-text"]});g.N(this,this.H);this.H.Ia(this.element);this.Y=a;this.A=null;this.F=!1;this.C=new g.ZV(this.H,250,!1,100);g.N(this,this.C);this.D=this.g=null;this.B={};this.G=0;this.U(a,"videodatachange",this.M);this.U(a,"presentingplayerstatechange",this.L)};
f_=function(a,b){var c=DQ(b),d=EQ(b);a.g?b.videoId&&b.videoId!=a.A&&(g.Lt(a.g),a.A=b.videoId,c=a.B[b.videoId]||0,a.F=!!d&&3E3>c):c&&d&&(a.g=new g.Jt(a.J,d,a),g.N(a,a.g),g.He(g.K("ytp-paid-content-overlay-text",a.element),c))};
g_=function(a,b){a.g&&g.W(b,8)&&a.F&&(a.F=!1,a.C.show(),a.G=(0,g.G)(),a.g.start())};
i_=function(a){g.X.call(this,{K:"div",W:"ytp-spinner",O:[bW(),{K:"div",W:"ytp-spinner-message",O:[g.U("YTP_PLAYBACK_STALLED_AT_START")]}]});this.B=this.wa["ytp-spinner-message"];this.A=a;this.g=new g.Jt(this.show,500,this);g.N(this,this.g);this.U(a,"presentingplayerstatechange",this.C);this.U(a,"onFrescaStateChange",this.D);this.U(a,"playbackstalledatstart",this.F);h_(this,g.mV(a))};
h_=function(a,b){var c;g.W(b,128)?c=0:!(c=g.W(b,16))&&(c=g.W(b,1))&&(c=g.fV(a.A).C,c=!(c&&c.loaded));c?a.g.start():a.oa()};
j_=function(a,b,c,d){d=void 0===d?!1:d;g.TV.call(this,b);this.Y=a;this.ca=d;this.J=null;this.H=new g.OL(this);g.N(this,this.H);this.L=new g.ZV(this,c,!0);g.N(this,this.L);this.C=null};
k_=function(a){a.C&&(window.document.activeElement&&g.Fe(a.element,window.document.activeElement)&&(g.Le(a.C),a.C.focus()),a.C.removeAttribute("aria-expanded"),a.C=null);g.QL(a.H);a.J=null};
l_=function(a){return a.o&&3!=a.L.g};
m_=function(a){var b=g.Y(a).experiments.g("mweb_muted_autoplay_slide"),c=[];b&&c.push("ytp-unmute-slide");var d=[];b&&d.push({K:"div",ea:["ytp-unmute-box"]});j_.call(this,a,{K:"div",ea:["ytp-unmute","ytp-popup"].concat(c),O:[{K:"div",W:"ytp-unmute-inner",O:[{K:"div",ea:["ytp-unmute-icon"],O:[b?g.bE?{K:"div",ea:["ytp-icon","ytp-icon-volume-muted-dark"]}:{K:"svg",Z:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},O:[{K:"path",Ra:!0,W:"ytp-svg-fill",Z:{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"}}]}:
wE()]},{K:"div",ea:["ytp-unmute-text"],O:[b?g.U("YTP_TAP_TO_UNMUTE"):g.U("YTP_UNMUTE")]}].concat(d)}]},100);this.g=a;this.A=!1;this.U(a,"mutedautoplaychange",this.B,this);this.T("click",this.onClick,this);this.Jb(a.app.va)};
n_=function(a){g.OL.call(this);g.aE();var b=g.Y(a),c=g.nV(a);this.g=a;this.wb=!1;this.M=null;this.sa=!1;var d=new YZ(a);g.N(this,d);g.DV(a,d.element,5);var e=new i_(a);g.N(this,e);g.DV(a,e.element,5);this.F=new RZ(a);g.N(this,this.F);g.DV(a,this.F.element,5);this.aa=new b_(a);g.N(this,this.aa);this.aa.Ia(d.element);var f=a.ha();this.B=new AZ(c,(0,g.A)(this.jJ,this),f,b.useTabletControls);g.N(this,this.B);this.B.subscribe("autohideupdate",this.Ar,this);var k=new e_(a);g.N(this,k);g.DV(a,k.element,
5);this.ba=new m_(a);g.N(this,this.ba);g.DV(this.g,this.ba.element,3);this.gb=!1;this.U(a,"mutedautoplaychange",this.kJ);this.ga=new g.Jt(this.Qx,200,this);g.N(this,this.ga);this.va=f.videoId;this.D=null;this.L=!1;this.Wa=null;this.ra=[];f=a.getRootNode();f.setAttribute("aria-label",g.U("YTP_PLAYER_NORMAL"));switch(b.color){case "white":g.S(f,"ytp-color-white")}g.En&&!gF()&&b.experiments.g("html5_prefer_standard_controls")&&g.S(f,"ytp-exp-std-controls");!g.Y(a).experiments.g("disable_mediasession2")&&
"mediaSession"in window.navigator&&!window.navigator.mediaSession.metadata&&window.navigator.mediaSession.setActionHandler&&(f=new d_(a,this.F),g.N(this,f));this.U(a,"appresize",this.zb);this.U(a,"presentingplayerstatechange",this.nN);this.U(a,"videodatachange",this.Px);this.U(a,"videoplayerreset",this.jN);this.U(a,"autonavvisibility",this.hi,this);this.U(a,"minimized",this.vg,this);this.U(a,"onFrescaStateChange",this.vg,this);this.U(c,"click",this.GN,this);this.U(c,"dblclick",this.HN,this);b.ra&&
(this.U(c,"gesturechange",this.IN,this),this.U(c,"gestureend",this.JN,this));this.qb=[c.containerElement,e.element,d.element,this.F.element,this.aa.element]};
o_=function(a,b){if(!b)return!1;var c=g.nV(a.g).g;if(c&&g.Fe(c,b))return c.controls;for(c=0;c<a.qb.length;c++)if(g.Fe(a.qb[c],b))return!1;return g.aq(b,"ytp-player-content")||g.aq(b,"html5-endscreen")||b==a.g.getRootNode()?!1:!0};
p_=function(a,b,c){a.g.isFullscreen()?c<1-b&&g.pV(a.g):c>1+b&&g.pV(a.g)};
q_=function(a){g.TV.call(this,{K:"div",W:"ytp-ad-persistent-progress-bar-container",O:[{K:"div",W:"ytp-ad-persistent-progress-bar"}]});this.A=a;this.D=this.wa["ytp-ad-persistent-progress-bar"];this.g=null;this.U(a,"presentingplayerstatechange",this.C);this.oa();this.C()};
r_=function(a,b){g.X.call(this,["div","ytp-cards-teaser",["div","ytp-cards-teaser-box"],["div","ytp-cards-teaser-text",["span","ytp-cards-teaser-label","{{text}}"]]]);this.Y=a;this.C=new g.ZV(this,250,!1,250);g.N(this,this.C);this.F=b;this.g=null;this.H=new g.Jt(this.MM,300,this);this.G=new g.Jt(this.KM,2E3,this);this.J=new g.Mo(null);this.D=[];this.B=this.A=null;this.U(b.element,"mouseover",this.Rx);this.U(b.element,"mouseout",this.ah);this.U(a,"cardsteasershow",this.cO);this.U(a,"cardsteaserhide",
this.uk);this.U(a,"cardstatechange",this.KA);this.U(a,"presentingplayerstatechange",this.KA);this.T("click",this.mJ);this.T("mouseenter",this.lJ)};
Kna=function(a,b){a.Ca("text",b.teaserText);a.element.setAttribute("dir",g.No(a.J,b.teaserText));a.C.show();a.A=new g.Jt(function(){g.S(this.Y.getRootNode(),"ytp-cards-teaser-shown")},0,a);
a.A.start();s_(a.F,!1);a.g=new g.Jt(a.uk,580+b.durationMs,a);a.g.start();a.D.push(a.T("mouseover",a.Rx,a));a.D.push(a.T("mouseout",a.ah,a))};
t_=function(a,b){var c=["button",["ytp-button","ytp-cards-button"],{"aria-label":g.U("YTP_CARDS_BUTTON_ARIA_LABEL"),"aria-owns":"iv-drawer","aria-haspopup":!0},["span","ytp-cards-button-icon-default",g.bE?{K:"div",ea:["ytp-icon","ytp-icon-info-card"]}:{K:"svg",Z:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},O:[{K:"path",Ra:!0,W:"ytp-svg-fill",Z:{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"}}]}],
["span","ytp-cards-button-icon-shopping",g.bE?{K:"div",ea:["ytp-icon","ytp-icon-shopping-card"]}:{K:"svg",Z:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},O:[{K:"path",W:"ytp-svg-shadow",Z:{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"}},{K:"path",W:"ytp-svg-fill",Z:{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"}},{K:"path",W:"ytp-svg-shadow-fill",Z:{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.X.call(this,
c);this.Y=a;this.B=b;this.g=null;this.A=new g.ZV(this,250,!0,100);g.N(this,this.A);this.oa();this.T("click",this.C);this.T("mouseover",this.D);s_(this,!0)};
s_=function(a,b){b?a.g=u_(a.B.o,a.element):(a.g(),a.g=null)};
w_=function(a,b,c,d){g.TV.call(this,a);this.priority=b;c&&v_(this,c);d&&this.Jc(d)};
x_=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{K:c?"a":"div",ea:b,Z:a,O:[{K:"div",W:"ytp-menuitem-label",O:["{{label}}"]},{K:"div",W:"ytp-menuitem-content",O:["{{content}}"]}]}};
v_=function(a,b){a.Ca("label",b)};
y_=function(a,b,c,d,e){var f={K:"div",W:"ytp-panel"},k,l;if(c){k="ytp-panel-title";var m={K:"div",W:"ytp-panel-header",O:[{K:"button",ea:["ytp-button",k],O:[c]}]};e&&(l="ytp-panel-options",m.O.push({K:"button",ea:["ytp-button",l],O:[d]}));f.O=[m]}g.TV.call(this,f);this.N=b;b.Ia(this.element);this.da=!1;c&&(this.U(this.wa[k],"click",this.ga),this.da=!0,e&&this.U(this.wa[l],"click",e));b.subscribe("size-change",this.fa,this);this.U(a,"fullscreentoggled",this.fa)};
z_=function(a,b,c,d,e){b=new g.TV({K:"div",W:"ytp-panel-menu",Z:{role:"menu",id:void 0===b?null:b}});y_.call(this,a,b,c,d,e);this.D=b;g.N(this,this.D);this.Na=[]};
A_=function(a,b,c){if(void 0===c?0:c)a.Na.push(b),a.D.element.appendChild(b.element);else{c=g.vb(a.Na,b,Lna);if(0<=c)return;c=~c;g.rb(a.Na,c,0,b);xe(a.D.element,b.element,c)}b.subscribe("size-change",a.S,a);a.D.V("size-change")};
Lna=function(a,b){return b.priority-a.priority};
B_=function(a,b){j_.call(this,a,{K:"div",ea:["ytp-popup",b||null]},100,!0);this.g=[];this.size=new g.Yd(0,0);this.D=this.F=null;this.M=this.N=0;this.T("keydown",this.DJ)};
C_=function(a){g.vh(a.element,a.N||"100%",a.M||"100%");var b=a.g[a.g.length-1];b.element.style.width="";b.element.style.height="";b.element.style.maxWidth="100%";b.element.style.maxHeight="100%";b.N.element.style.height="";var c=g.wh(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.da&&(d=g.wh(b.wa["ytp-panel-header"]).height);b.N.element.style.height=c.height-d+"px";a.size=
c};
E_=function(a,b){var c=a.g[a.g.length-1];a.g.push(b);D_(a,c,b)};
F_=function(a){var b=a.g.pop(),c=a.g[0];a.g=[c];D_(a,b,c,!0)};
D_=function(a,b,c,d){G_(a);!g.aq(c.element,"ytp-panel-animate-back")&&g.aq(c.element,"ytp-panel-animate-forward");b&&(b.unsubscribe("size-change",a.bo,a),b.unsubscribe("back",a.eh,a));c.subscribe("size-change",a.bo,a);c.subscribe("back",a.eh,a);if(a.o){g.S(c.element,d?"ytp-panel-animate-back":"ytp-panel-animate-forward");c.Ia(a.element);c.focus();a.element.scrollLeft=0;a.element.scrollTop=0;var e=a.size;C_(a);g.vh(a.element,e);a.F=new g.Jt(g.ya(a.PP,b,c,d),20,a);a.F.start()}else c.Ia(a.element),b&&
b.detach()};
G_=function(a){a.F&&g.Kt(a.F);a.D&&g.Kt(a.D)};
H_=function(a){var b=x_({"aria-haspopup":!0});w_.call(this,b,a);this.T("keydown",this.g)};
I_=function(a,b){a.element.setAttribute("aria-haspopup",b)};
J_=function(a,b){var c=x_({role:"menuitemcheckbox","aria-checked":!1});w_.call(this,c,b,a,{K:"div",W:"ytp-menuitem-toggle-checkbox"});this.g=!1;this.T("click",this.H)};
K_=function(a,b){a.g=b;a.element.setAttribute("aria-checked",a.g)};
N_=function(a,b,c){z_.call(this,a);this.Y=a;this.L=b;this.J=c;this.B=new H_(8);g.N(this,this.B);A_(this,this.B,!0);this.B.T("click",this.YL,this);GV(a,this.B,28659);this.A=new H_(7);g.N(this,this.A);A_(this,this.A,!0);this.A.T("click",this.XL,this);GV(a,this.A,28660);this.g=new H_(6);g.N(this,this.g);A_(this,this.g,!0);this.g.T("click",this.VL,this);GV(a,this.g,28658);this.F=new J_(g.U("YTP_LOOP"),5);g.N(this,this.F);A_(this,this.F,!0);this.F.T("click",this.qM,this);GV(a,this.F,28661);this.M=new w_(x_({href:"{{href}}",
target:"_blank"},void 0,!0),4,g.U("YTP_TROUBLESHOOT_ISSUE"));g.N(this,this.M);A_(this,this.M,!0);this.M.T("click",this.BN,this);this.H=new H_(3);g.N(this,this.H);A_(this,this.H,!0);this.H.T("click",this.UL,this);b=new w_(x_(),2,g.U("YTP_SHOW_VIDEO_INFO"));g.N(this,b);A_(this,b,!0);b.T("click",this.TN,this);this.G=new g.TV({K:"div",ea:["ytp-copytext","ytp-no-contextmenu"],Z:{draggable:!1,tabindex:1},O:["{{text}}"]});g.N(this,this.G);this.G.T("click",this.zL,this);this.ca=new y_(a,this.G);g.N(this,
this.ca);this.C=null;b=window.document.queryCommandSupported&&window.document.queryCommandSupported("copy");g.cF&&g.jc(43)&&(b=!0);g.LN&&!g.jc(41)&&(b=!1);b&&(this.C=new g.X({K:"textarea",W:"ytp-html5-clipboard"}),g.N(this,this.C),this.C.Ia(this.element));this.U(a,"loopchange",this.pM);this.U(a,"videodatachange",this.oJ);L_(this);M_(this,this.Y.ha())};
O_=function(a,b){var c;if(a.C){a.C.element.value=b;a.C.element.select();try{c=window.document.execCommand("copy")}catch(d){}}c?a.J.Xb():(a.G.Jc(b,"text"),E_(a.J,a.ca),pR(a.G.element),a.C&&(a.C=null,L_(a)));return c};
M_=function(a,b){var c=g.Y(a.Y),d=2!=a.Y.ab()||b.isListed,d=!c.H&&!!b.videoId&&d;"play"!=c.o?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.Ma&&(c.fmt=PI(b.Ma)),b.clientPlaybackNonce&&(c.cpn=b.clientPlaybackNonce),b.bh&&(c.partnerid=b.bh),c=g.Gg("//support.google.com/googleplay/",c));a.g.Jb(d&&b.allowEmbed);a.B.Jb(d);a.A.Jb(d&&!b.Aa);a.M.Jc(c,"href")};
L_=function(a){var b=!!a.C;v_(a.H,g.U(b?"YTP_COPY_DEBUG_INFO":"YTP_GET_DEBUG_INFO"));I_(a.H,!b);v_(a.g,g.U(b?"YTP_EMBED_COPY":"YTP_GET_EMBED"));I_(a.g,!b);v_(a.B,g.U(b?"YTP_COPY_VIDEO_URL":"YTP_GET_VIDEO_URL"));I_(a.B,!b);v_(a.A,g.U(b?"YTP_COPY_VIDEO_URL_AT_TIME":"YTP_GET_VIDEO_URL_AT_TIME"));I_(a.A,!b)};
P_=function(a,b){g.IV(a.Y,a.g,b);g.IV(a.Y,a.B,b);g.IV(a.Y,a.A,b);g.IV(a.Y,a.F,b)};
R_=function(a,b){B_.call(this,a);this.A=a;this.S=b;this.B=new g.OL(this);g.N(this,this.B);this.G=null;GV(a,this,28656);g.S(this.element,"ytp-contextmenu");g.Y(a).D&&g.S(this.element,"ytp-dni");Q_(this);this.oa()};
Q_=function(a){g.QL(a.B);"gvn"!=g.Y(a.A).o&&a.B.U(g.nV(a.A),"contextmenu",a.yL)};
S_=function(a){a.A.isFullscreen()?g.DV(a.A,a.element,10):a.Ia(window.document.body)};
T_=function(a,b,c,d,e,f){g.OL.call(this);this.g=a;this.F=c;this.C=d;this.o=e;this.D=f;this.B=new g.Jt(g.ya(this.Vx,!1),1E3,this);g.N(this,this.B);this.A="";a=g.ya(this.ds,!1);this.U(b,"mousedown",a);this.U(c.element,"mousedown",a);this.U(b,"keydown",this.xw);this.U(c.element,"keydown",this.xw);this.U(b,"keyup",this.yw);this.U(c.element,"keyup",this.yw)};
V_=function(a,b,c){var d=!1,e=g.Y(a.g);if(!e.Nd){switch(b){case 80:c&&(WZ(a.o),a.g.Yk(),d=!0);break;case 78:c&&(SZ(a.o,mE(),g.U("YTP_NEXT")),a.g.Hj(),d=!0);break;case 74:a.g.Dd()&&(SZ(a.o,g.bE?{K:"div",ea:["ytp-icon","ytp-icon-rewind-ten-seconds"]}:{K:"svg",Z:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},O:[{K:"path",Ra:!0,W:"ytp-svg-fill",Z:{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.be(-10*a.g.Fe()),d=!0);break;case 76:a.g.Dd()&&(SZ(a.o,g.bE?{K:"div",ea:["ytp-icon","ytp-icon-forward-ten-seconds"]}:{K:"svg",Z:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},O:[{K:"path",Ra:!0,W:"ytp-svg-fill",Z:{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.be(10*a.g.Fe()),d=!0);break;case 77:a.g.Ge()?(a.g.xg(),UZ(a.o,a.g.getVolume(),!1)):(a.g.mute(),UZ(a.o,0,!0));d=!0;break;case 75:d=!eR(g.mV(a.g));TZ(a.o,d);d?a.g.He():a.g.xd();d=!0;break;case 190:if(c){if(e.va)for(b=a.g.Uk(),c=a.g.Fe(),e=0;e<b.length-1;e++)b[e]==c&&(d=b[e+1],a.g.Zk(d,!0),VZ(a.o,d,!1),d=!0)}else a.g.Dd()&&(U_(a,1),d=!0);break;case 188:if(c){if(e.va)for(b=a.g.Uk(),c=a.g.Fe(),e=b.length-1;1<=e;e--)b[e]==c&&(d=b[e-1],a.g.Zk(d,!0),VZ(a.o,d,!0),d=!0)}else a.g.Dd()&&(U_(a,-1),d=!0);break;
case 70:eW(a.g)&&(g.pV(a.g),d=!0)}d&&a.C.qc(2,!0)}return d};
X_=function(a,b,c,d){if(g.fV(a.g).g){for(var e=a.g.bl(),f,k=0;k<W_.length;k++){var l=W_[k];if(l.option==b){f=l.options;break}}for(var m,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.Zs(d);a.Vx(!0);a.B.start();return!0}return!1};
U_=function(a,b){a.g.Dd();if(g.W(g.mV(a.g),4)){var c=a.g.ha().Ma;c&&(c=c.video)&&a.g.be(b/(c.fps||30))}};
Z_=function(a,b){g.X.call(this,{K:"div",W:"ytp-pause-overlay",O:[{K:"div",W:"ytp-suggestions"}]});this.g=a;this.ca=b;this.B=new g.OL(this);g.N(this,this.B);this.H=new g.ZV(this,250,!1,100);g.N(this,this.H);var c=g.Y(a);this.D=[];this.A=[];this.F=0;this.da=c.A&&!c.D;this.S=!1;this.M=new g.X({K:"button",ea:["ytp-button","ytp-previous"],Z:{"aria-label":g.U("YTP_PREVIOUS")},O:[g.dE()]});g.N(this,this.M);this.M.Ia(this.element);this.M.T("click",this.FJ,this);c=g.cF||g.Xe?{style:"will-change: opacity"}:
null;this.aa=new Y_((0,g.A)(this.LA,this));g.N(this,this.aa);this.N=this.C=0;this.L=this.wa["ytp-suggestions"];for(var d=0;16>d;d++){var e=new g.X({K:"a",W:"ytp-suggestion-link",Z:{href:"{{link}}",target:"_blank"},O:[{K:"div",W:"ytp-suggestion-image"},{K:"div",W:"ytp-suggestion-overlay",Z:c,O:[{K:"div",W:"ytp-suggestion-title",O:["{{title}}"]},{K:"div",W:"ytp-suggestion-author",O:["{{author_and_views}}"]},{K:"div",W:"ytp-suggestion-duration",O:["{{duration}}"]}]}]});g.N(this,e);e.Ia(this.L);var f=
e.wa["ytp-suggestion-link"];g.dh(f,"transitionDelay",d/20+"s");this.B.U(f,"click",g.ya(this.mL,d));this.D.push(e)}this.J=new g.X({K:"button",ea:["ytp-button","ytp-next"],Z:{"aria-label":g.U("YTP_NEXT")},O:[g.eE()]});g.N(this,this.J);this.J.Ia(this.element);this.J.T("click",this.EJ,this);c=new g.X({K:"button",ea:["ytp-button","ytp-collapse"],Z:{"aria-label":g.U("YTP_CLOSE")},O:[g.bE?{K:"div",ea:["ytp-icon","ytp-icon-small-close"]}:{K:"svg",Z:{height:"100%",viewBox:"0 0 16 16",width:"100%"},O:[{K:"path",
Z:{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.Ia(this.element);c.T("click",this.iL,this);this.G=new g.X({K:"button",ea:["ytp-button","ytp-expand"],O:[g.U("YTP_MORE_VIDEOS"),g.bE?{K:"div",ea:["ytp-icon","ytp-icon-keyboard-arrow-up"]}:{K:"svg",Z:{height:"100%",version:"1.1",viewBox:"0 0 24 24",width:"100%"},O:[{K:"path",Ra:!0,Z:{d:"M7.41 15.41L12 10.83l4.59 4.58L18 14l-6-6-6 6z",fill:"#fff"}}]}]});g.N(this,this.G);this.G.Ia(this.element);this.G.T("click",
this.kL,this);this.B.U(this.g,"appresize",this.sr);this.B.U(this.g,"fullscreentoggled",this.GJ);this.B.U(this.g,"presentingplayerstatechange",this.HJ);this.B.U(this.g,"videodatachange",this.IJ);this.sr(g.nV(this.g).Ya())};
a0=function(a,b){var c=g.Rd(b,a.F-a.A.length*(a.N+8),0);a.aa.start(a.C,c,1E3);a.C=c;$_(a)};
$_=function(a){var b=a.C,c=a.F-a.A.length*(a.N+8);g.T(a.element,"ytp-scroll-min",0<=b);g.T(a.element,"ytp-scroll-max",b<=c)};
Mna=function(a){for(var b=g.Y(a.g),c=0;c<a.A.length;c++){var d=a.A[c].dc(),e=a.D[c],f=d.shortViewCount?d.author+" \u2022 "+d.shortViewCount:d.author;e.element.style.display="";e.update({author_and_views:f,duration:d.lengthSeconds?g.UV(d.lengthSeconds):0,link:d.Hm(b),title:d.title});e=e.wa["ytp-suggestion-image"];d=d.Vb(b);e.style.backgroundImage=d?"url("+d+")":""}for(;c<a.D.length;c++)a.D[c].element.style.display="none";$_(a)};
Y_=function(a){g.M.call(this);this.C=a;this.B=new sC(0,0,.4,0,.2,1,1,1);this.o=new g.Gt(this.A,window,this);g.N(this,this.o)};
b0=function(a,b,c){var d=b.dc(c),e=g.Y(a),f=d.Vb(e,"default.jpg");g.X.call(this,{K:"a",ea:["ytp-video-menu-item","ytp-button"],Z:{role:"menuitemradio","aria-label":d.title,href:e.getVideoUrl(d.videoId,b.listId?b.listId.toString():null)},O:[{K:"div",W:"ytp-video-menu-item-index",O:[""+(c+1)]},{K:"div",W:"ytp-video-menu-item-now-playing",O:["\u25b6"]},{K:"div",W:"ytp-video-menu-item-thumbnail",Z:{style:f?"background-image: url("+f+");":null}},{K:"div",W:"ytp-video-menu-item-title",O:[d.title]},{K:"div",
W:"ytp-video-menu-item-author",O:[g.U("YTP_UPLOADED_BY_2",{AUTHOR:d.author})]}]});this.g=a;this.gc=c;this.T("click",this.A)};
c0=function(a){j_.call(this,a,{K:"div",W:"ytp-playlist-menu",Z:{role:"dialog",id:"ytp_playlist_menu"},O:[{K:"div",W:"ytp-playlist-menu-header",O:[{K:"div",W:"ytp-playlist-menu-title",O:[{K:"a",W:"ytp-playlist-menu-title-name",Z:{href:"{{playlisturl}}"},O:["{{title}}"]},{K:"button",ea:["ytp-playlist-menu-close","ytp-button"],Z:{"aria-label":g.U("YTP_CLOSE")},O:[g.iE()]}]},{K:"div",W:"ytp-playlist-menu-subtitle",O:["{{subtitle}}"]}]},{K:"div",W:"ytp-playlist-menu-items",Z:{role:"menu"}}]},250);this.U(this.wa["ytp-playlist-menu-close"],
"click",this.Xb);this.U(this.wa["ytp-playlist-menu-title-name"],"click",this.eO);this.A=a;this.B=this.F=this.g=null;this.Na=this.wa["ytp-playlist-menu-items"];this.D=[];this.oa()};
d0=function(a,b){if(a.g!=b)if(a.g&&a.g.unsubscribe("shuffle",a.In,a),a.g=b,a.F=null,b){b.subscribe("shuffle",a.In,a);var c=b.author;a.update({title:b.title,subtitle:g.U(c?"YTP_PLAYLIST_AUTHOR_AND_POSITION":"YTP_PLAYLIST_POSITION",{AUTHOR:c,CURRENT_POSITION:b.Rd()+1,PLAYLIST_LENGTH:b.getLength()}),playlisturl:a.A.getVideoUrl(!0)});a.In()}else a.o&&a.oa();else a.g&&a.In()};
e0=function(a,b,c){var d={K:"button",ea:["ytp-playlist-menu-button","ytp-button"],Z:{title:"{{title}}","aria-owns":"ytp_playlist_menu","aria-haspopup":!0,"aria-label":g.U("YTP_PLAYLIST")},O:[{K:"div",W:"ytp-playlist-menu-button-icon",O:[g.bE?{K:"div",ea:["ytp-icon","ytp-icon-playlist"]}:{K:"svg",Z:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},O:[{K:"path",Ra:!0,Z:{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"}}]}]},{K:"div",W:"ytp-playlist-menu-button-text",O:["{{text}}"]}]};g.X.call(this,d);this.B=a;this.g=null;this.C=b.o;this.U(a,"videodatachange",this.D);this.U(a,"onPlaylistUpdate",this.D);this.U(a,"presentingplayerstatechange",this.A);this.U(a,"appresize",this.A);this.oa();this.D();g.Se(this,u_(this.C,this.element));this.T("click",(0,g.A)(c.jh,c,this.element,!1))};
f0=function(a,b){g.X.call(this,{K:"button",ea:["ytp-replay-button","ytp-button"],Z:{title:g.U("YTP_REPLAY")},O:[qE()]});this.g=a;this.U(a,"presentingplayerstatechange",this.B);this.T("click",this.A,this);var c=g.mV(a);this.Jb(g.W(c,2));u_(b.o,this.element)};
g0=function(a,b){var c={K:"div",W:"ytp-share-panel",Z:{id:"ytp-share-panel",role:"dialog","aria-labelledby":"ytp-share-panel-title"},O:[{K:"button",ea:["ytp-share-panel-close","ytp-button"],Z:{title:g.U("YTP_CLOSE")},O:[g.iE()]},{K:"div",W:"ytp-share-panel-inner-content",O:[{K:"div",W:"ytp-share-panel-title",Z:{id:"ytp-share-panel-title"},O:[g.U("YTP_SHARE")]},{K:"a",ea:["ytp-share-panel-link","ytp-no-contextmenu"],Z:{href:"{{link}}",target:"_blank",title:g.U("YTP_SHARE_LINK"),"aria-label":g.U("YTP_SHARE_LINK")},
O:["{{linkText}}"]},{K:"label",W:"ytp-share-panel-include-playlist",O:[{K:"input",W:"ytp-share-panel-include-playlist-checkbox",Z:{type:"checkbox",checked:!0}},g.U("YTP_SHARE_WITH_PLAYLIST_2")]},{K:"div",W:"ytp-share-panel-loading-spinner",O:[bW()]},{K:"div",W:"ytp-share-panel-service-buttons",O:["{{buttons}}"]},{K:"div",W:"ytp-share-panel-error",O:[g.U("YTP_SHARE_PANEL_ERROR")]}]}]};j_.call(this,a,c,250);this.g=a;this.A=b.o;this.B=[];this.M=this.wa["ytp-share-panel-inner-content"];this.F=this.wa["ytp-share-panel-close"];
this.U(this.F,"click",this.Xb);g.Se(this,u_(this.A,this.F));this.G=this.wa["ytp-share-panel-include-playlist-checkbox"];this.U(this.G,"click",this.fy);this.D=this.wa["ytp-share-panel-link"];g.Se(this,u_(this.A,this.D));this.T("click",this.bN);this.U(a,"videoplayerreset",this.oa);this.U(a,"fullscreentoggled",this.WJ);this.oa()};
Nna=function(a){switch(a){case "facebook":return g.bE?{K:"div",ea:["ytp-icon","ytp-icon-share-facebook"]}:{K:"svg",Z:{height:"100%",version:"1.1",viewBox:"0 0 38 38",width:"100%"},O:[{K:"rect",Z:{fill:"#fff",height:"34",width:"34",x:"2",y:"2"}},{K:"path",Z:{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.bE?{K:"div",ea:["ytp-icon","ytp-icon-share-googleplus"]}:{K:"svg",Z:{height:"100%",version:"1.0",viewBox:"0 0 38 38",width:"100%"},O:[{K:"rect",Z:{fill:"#fff",height:"34",width:"34",x:"2",y:"2"}},{K:"path",Z:{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.bE?{K:"div",ea:["ytp-icon","ytp-icon-share-twitter"]}:{K:"svg",Z:{height:"100%",version:"1.1",viewBox:"0 0 38 38",width:"100%"},O:[{K:"rect",Z:{fill:"#fff",height:"34",width:"34",x:"2",y:"2"}},{K:"path",Z:{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}};
h0=function(a){for(var b=g.ia(a.B),c=b.next();!c.done;c=b.next())c=c.value,c.detach(),g.Te(c);a.B=[]};
i0=function(a,b,c,d){g.X.call(this,{K:"button",ea:["ytp-button","ytp-share-button"],Z:{title:g.U("YTP_SHARE"),"aria-haspopup":!0,"aria-owns":"ytp-share-panel"},O:[{K:"div",W:"ytp-share-icon",O:["{{icon}}"]},{K:"div",W:"ytp-share-title",O:["{{share}}"]}]});this.g=a;this.A=d;this.G=c;GV(a,this,28664);this.T("click",this.F);this.U(a,"videodatachange",this.C);this.U(a,"appresize",this.C);this.C();g.Se(this,u_(b.o,this.element))};
j0=function(a,b){g.X.call(this,{K:"button",ea:["ytp-airplay-button","ytp-button"],Z:{title:g.U("YTP_AIRPLAY")},O:["{{icon}}"]});this.g=a;this.T("click",this.B);this.U(a,"airplayactivechange",this.A);this.U(a,"airplayavailabilitychange",this.A);this.A();g.Se(this,u_(b.o,this.element))};
k0=function(a,b){g.TV.call(this,{K:"div",W:"ytp-storyboard",O:[{K:"div",W:"ytp-storyboard-filmstrip",O:[{K:"div",W:"ytp-storyboard-thumbnail"}]},{K:"div",W:"ytp-storyboard-lens",O:[{K:"div",W:"ytp-storyboard-lens-thumbnail"},{K:"div",W:"ytp-storyboard-lens-timestamp-wrapper",O:[{K:"span",W:"ytp-storyboard-lens-timestamp"}]}]}]});this.g=a;this.ca=b.o;this.M=new g.qk(this.tJ,250,this);g.N(this,this.M);this.H=g.nV(a).Ya().width;this.A=this.wa["ytp-storyboard-filmstrip"];this.da=this.wa["ytp-storyboard-lens"];
this.fa=this.wa["ytp-storyboard-lens-thumbnail"];this.ga=this.wa["ytp-storyboard-lens-timestamp"];this.S=this.wa["ytp-storyboard-thumbnail"];g.ye(this.S);this.J=0;this.N=!1;this.L=this.C=this.B=window.NaN;this.Ib=this.D=null;this.F=new g.OL(this);g.N(this,this.F);this.G=new g.ZV(this,100);g.N(this,this.G);this.U(this.g,"appresize",this.sJ);this.U(this.g,"presentingplayerstatechange",this.uJ)};
l0=function(a,b){var c=!!a.Ib;c&&a.Ib.unsubscribe("l",a.co,a);a.Ib=b&&FQ(b);a.N=!!b&&b.Aa;a.Ib?(c||(a.F.U(a.g,"videodatachange",a.vJ),a.F.U(a.g,"progresssync",a.mn),a.F.U(a.g,"videoplayerreset",a.mn)),a.Ib.subscribe("l",a.co,a),a.L=window.NaN,a.B=window.NaN,a.C=window.NaN,a.mn(),a.G.show(200)):(c&&g.QL(a.F),a.M.stop(),g.LG(a.J),g.aW(a.G),a.G.stop())};
m0=function(a,b,c,d){var e=a.S.cloneNode(!1);a=fQ(a.Ib,b,c);aX(e,a,c,d);return e};
n0=function(a){g.X.call(this,{K:"div",W:"ytp-storyboard-framepreview",O:[{K:"div",W:"ytp-storyboard-framepreview-img"}]});this.D=this.wa["ytp-storyboard-framepreview-img"];this.g=a;this.Ib=null;this.C=window.NaN;this.A=new g.OL(this);g.N(this,this.A);this.B=new g.ZV(this,100);g.N(this,this.B);this.U(this.g,"presentingplayerstatechange",this.yJ)};
p0=function(a,b){var c=!!a.Ib;a.Ib=b&&FQ(b);a.Ib?(c||(a.A.U(a.g,"videodatachange",a.AJ),a.A.U(a.g,"progresssync",a.zJ),a.A.U(a.g,"appresize",a.xJ)),a.C=window.NaN,o0(a),a.B.show(200)):(c&&g.QL(a.A),g.aW(a.B),a.B.stop())};
o0=function(a){var b=a.g.getCurrentTime(),c=g.nV(a.g).Ya(),d=dQ(a.Ib,c.width),b=a.Ib.g[d].xo(b);b!=a.C&&(a.C=b,hQ(a.Ib,b,c.width),b=fQ(a.Ib,b,c.width),aX(a.D,b,c.width,c.height))};
r0=function(a,b){g.X.call(this,{K:"button",ea:["ytp-fullscreen-button","ytp-button"],Z:{title:"{{title}}"},O:["{{icon}}"]});this.A=a;this.D=b;this.g=null;this.B=u_(b.o,this.element);this.C=new g.Jt(this.AF,2E3,this);g.N(this,this.C);this.U(a,"fullscreentoggled",this.pA);this.U(a,"presentingplayerstatechange",this.Ux);this.T("click",this.BJ);if(DF()){var c=g.nV(this.A);this.U(c,Tia(),this.Vy);this.U(c,GF(window.document),this.CJ)}g.Y(a).ra||q0(this);this.Ux();this.pA(a.isFullscreen())};
q0=function(a){if(!a.g){var b=g.U(null!=AF(["requestFullscreen","webkitRequestFullscreen","mozRequestFullScreen","msRequestFullscreen"],window.document.body)?"YTP_FULLSCREEN_GENERIC_ERROR":"YTP_FULLSCREEN_UNSUPPORTED_ERROR").split(/\$(BEGIN|END)_LINK/);a.g=new j_(a.A,{K:"div",ea:["ytp-popup","ytp-generic-popup"],Z:{role:"alert",tabindex:0},O:[b[0],{K:"a",Z:{href:"https://support.google.com/youtube/answer/6276924",target:"_blank"},O:[b[2]]},b[4]]},100,!0);a.g.oa();g.N(a,a.g);a.g.subscribe("show",(0,g.A)(a.D.Jp,
a.D,a.g));g.DV(a.A,a.g.element,5);a.element.setAttribute("aria-disabled",!0);a.element.setAttribute("aria-haspopup",!0);a.B();a.B=null}};
s0=function(a){var b={K:"div",W:"ytp-multicam-menu",Z:{role:"dialog"},O:[{K:"div",W:"ytp-multicam-menu-header",O:[{K:"div",W:"ytp-multicam-menu-title",O:[g.U("YTP_SWITCH_CAMERA"),{K:"button",ea:["ytp-multicam-menu-close","ytp-button"],Z:{"aria-label":g.U("YTP_CLOSE")},O:[g.iE()]}]}]},{K:"div",W:"ytp-multicam-menu-items"}]};j_.call(this,a,b,250);this.B=new g.OL(this);g.N(this,this.B);this.U(this.wa["ytp-multicam-menu-close"],"click",this.Xb);this.g=a;this.Na=this.wa["ytp-multicam-menu-items"];this.A=
[];this.oa()};
t0=function(a,b,c){g.X.call(this,{K:"button",ea:["ytp-multicam-button","ytp-button"],Z:{title:g.U("YTP_SWITCH_CAMERA"),"aria-haspopup":!0,"data-preview":"{{preview}}","data-tooltip-text":"{{text}}"},O:[g.bE?{K:"div",ea:["ytp-icon","ytp-icon-switch-camera"]}:{K:"svg",Z:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},O:[{K:"path",Ra:!0,Z:{d:"M 26,10 22.83,10 21,8 15,8 13.17,10 10,10 c -1.1,0 -2,.9 -2,2 l 0,12 c 0,1.1 .9,2 2,2 l 16,0 c 1.1,0 2,-0.9 2,-2 l 0,-12 c 0,-1.1 -0.9,-2 -2,-2 l 0,0 z m -5,11.5 0,-2.5 -6,0 0,2.5 -3.5,-3.5 3.5,-3.5 0,2.5 6,0 0,-2.5 3.5,3.5 -3.5,3.5 0,0 z",
fill:"#fff"}}]}]});this.g=a;this.C=!1;this.A=b.o;this.D=new g.Jt(this.G,400,this);g.N(this,this.D);this.T("click",(0,g.A)(c.jh,c,this.element,!1));this.U(a,"presentingplayerstatechange",g.ya(this.B,!1));this.U(a,"videodatachange",this.F);this.B(!0);g.Se(this,u_(this.A,this.element))};
u0=function(){g.M.call(this);this.A=null;this.C=this.g=0;this.B=new g.Gt(this.o,null,this);g.N(this,this.B)};
v0=function(a,b){if("path"==b.K)return b.Z.d;if(b.O)for(var c=0;c<b.O.length;c++){var d=b.O[c];if(d&&!g.z(d)&&(d=v0(a,d)))return d}};
z0=function(a,b,c){c=v0(a,c);var d=b.getElementsByTagName("path")[0],e=d.getAttribute("d");if(d.getAttribute("id")){var f=g.iR.g();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=w0(e),m=w0(c);x0(a,function(a){d.setAttribute("d",y0(l,m,a))},200)};
x0=function(a,b,c){a.A=b;a.C=(0,g.AG)();a.g=c;a.o()};
w0=function(a){var b=[];a=a.match(Ona);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};
y0=function(a,b,c){var d,e="";for(d=0;d<a.length;d++)var f=a[d],e=g.ta(f)?e+(f+(b[d]-f)*c):e+f;return e};
B0=function(a,b){var c=g.Y(a);g.X.call(this,{K:"button",ea:["ytp-mute-button","ytp-button"],Z:c.L?{title:"{{title}}"}:{"aria-disabled":!0,"aria-haspopup":!0},O:["{{icon}}"]});this.Ca("icon",wE());this.g=a;this.da=b.o;this.H=this.L=this.J=this.N=window.NaN;this.F=[];this.D=[];this.G=this.B=!1;g.Y(this.g).aa||(this.A=new g.iR({K:"svg",Z:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},O:[{K:"defs",O:[{K:"clipPath",Z:{id:"ytp-svg-volume-animation-mask"},O:[{K:"path",Z:{d:"m 14.35,-0.14 -5.86,5.86 20.73,20.78 5.86,-5.91 z"}},
{K:"path",Z:{d:"M 7.07,6.87 -1.11,15.33 19.61,36.11 27.80,27.60 z"}},{K:"path",W:"ytp-svg-volume-animation-mover",Z:{d:"M 9.09,5.20 6.47,7.88 26.82,28.77 29.66,25.99 z"}}]},{K:"clipPath",Z:{id:"ytp-svg-volume-animation-slash-mask"},O:[{K:"path",W:"ytp-svg-volume-animation-mover",Z:{d:"m -11.45,-15.55 -4.44,4.51 20.45,20.94 4.55,-4.66 z"}}]}]},{K:"path",Ra:!0,ea:["ytp-svg-fill","ytp-svg-volume-animation-speaker"],Z:{"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"}},{K:"path",Ra:!0,ea:["ytp-svg-fill","ytp-svg-volume-animation-hider"],Z:{"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.S=this.A.wa["ytp-svg-volume-animation-speaker"],this.ka=this.S.getAttribute("d"),this.F=g.fe("ytp-svg-volume-animation-mover",this.A.element),this.D=g.fe("ytp-svg-volume-animation-hider",this.A.element));this.C=null;this.aa=new u0;g.N(this,this.aa);this.M=new u0;g.N(this,
this.M);this.T("click",this.ga);this.U(a,"appresize",this.ld);this.U(a,"onVolumeChange",this.fa);var d=null;c.L?g.Se(this,u_(b.o,this.element)):(c=g.U("YTP_VOLUME_UNSUPPORTED_ERROR").split(/\$(BEGIN|END)_LINK/),d=new j_(a,{K:"span",ea:["ytp-popup","ytp-generic-popup"],Z:{tabindex:0},O:[c[0],{K:"a",Z:{href:"https://support.google.com/youtube/?p=noaudio",target:"_blank"},O:[c[2]]},c[4]]},100,!0),g.N(this,d),d.oa(),d.subscribe("show",(0,g.A)(b.Jp,b,d)),g.DV(a,d.element,5));this.ca=d;GV(a,this,28662);
this.ld(g.nV(a).Ya());A0(this,a.getVolume(),a.Ge())};
A0=function(a,b,c){var d=c?0:b/100,e=g.Y(a.g);if(e.aa)d=0==d?wE():0<d&&.5>d?vE():uE(),d!=a.C&&(a.Ca("icon",d),a.C=d);else{b=0==d?1:50<b?1:0;if(a.J!=b){var f=a.N;(0,window.isNaN)(f)?C0(a,b):x0(a.aa,(0,g.A)(function(a){C0(this,f+(this.J-f)*a)},a),250);
a.J=b}d=0==d?1:0;if(a.H!=d){var k=a.L;(0,window.isNaN)(k)?D0(a,d):x0(a.M,(0,g.A)(function(a){D0(this,k+(this.H-k)*a)},a),250);
a.H=d}}e.L&&(a.Ca("title",c?g.U("YTP_UNMUTE"):g.U("YTP_MUTE")),E0(a.da))};
C0=function(a,b){a.N=b;var c=a.ka;b&&(c+=y0(Pna,Qna,b));a.S.setAttribute("d",c)};
D0=function(a,b){a.L=b;for(var c=20*b,d=0;d<a.F.length;d++)a.F[d].setAttribute("transform","translate("+c+", "+c+")");var e;1==b?e=wE():e=a.A;for(c=0;c<a.D.length;c++)a.D[c].style.display=0==b?"none":"";e!=a.C&&(a.Ca("icon",e),a.C=e)};
F0=function(a,b){g.X.call(this,{K:"button",ea:["ytp-pip-button","ytp-button"],Z:{title:g.U("YTP_PIP")},O:[g.bE?{K:"div",ea:["ytp-icon","ytp-icon-pip"]}:{K:"svg",Z:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},O:[{K:"path",Ra:!0,Z:{d:"M25,17 L17,17 L17,23 L25,23 L25,17 L25,17 Z M29,25 L29,10.98 C29,9.88 28.1,9 27,9 L9,9 C7.9,9 7,9.88 7,10.98 L7,25 C7,26.1 7.9,27 9,27 L27,27 C28.1,27 29,26.1 29,25 L29,25 Z M27,25.02 L9,25.02 L9,10.97 L27,10.97 L27,25.02 L27,25.02 Z",fill:"#fff"}}]}]});
this.g=a;this.T("click",this.A);g.Se(this,u_(b.o,this.element))};
H0=function(a,b){g.X.call(this,{K:"button",ea:["ytp-play-button","ytp-button"],Z:{title:"{{title}}","aria-label":"{{label}}"},O:["{{icon}}"]});this.g=a;this.A=null;this.C=b.o;this.B=null;this.D=new u0;g.N(this,this.D);this.U(a,"fullscreentoggled",this.F);this.U(a,"presentingplayerstatechange",this.G);this.U(a,"videodatachange",this.F);G0(this,g.mV(a));this.T("click",this.H,this)};
I0=function(a){switch(a){case 1:return oE();case 2:return nE();case 3:return qE();case 4:return tE();default:return null}};
G0=function(a,b){var c,d=g.KQ(a.g.ha()),e=!1;eR(b)?c=d?4:2:g.W(b,2)?(c=3,e=d):c=1;a.element.disabled=e;if(a.A!=c){var f;switch(c){case 2:f=g.U("YTP_PAUSE");break;case 3:f=g.U("YTP_REPLAY");break;case 1:f=g.U("YTP_PLAY");break;case 4:f=g.U("YTP_STOP")}3==c?(a.B||(a.B=u_(a.C,a.element)),a.update({title:f,label:null,icon:I0(c)})):(a.B&&(a.B(),a.B=null),a.update({title:null,label:f}),(d=I0(c))&&a.A&&3!=a.A&&!g.Y(a.g).aa?z0(a.D,a.element,d):a.Ca("icon",d));E0(a.C);a.A=c}};
K0=function(a,b,c){var d,e;c?(d="ytp-next-button",e=mE()):(d="ytp-prev-button",e=pE());g.X.call(this,{K:"a",ea:[d,"ytp-button"],Z:{title:"{{title}}",href:"{{url}}","data-preview":"{{preview}}","data-tooltip-text":"{{text}}","data-duration":"{{duration}}","aria-disabled":"{{disabled}}","data-next":"{{next}}","data-prev":"{{prev}}"},O:[e]});this.g=a;this.L=b.o;this.B=c;this.A=this.F=null;this.J=!1;this.G=this.H=this.C=null;this.D=!1;this.U(a,"fullscreentoggled",this.dj);this.U(a,"videodatachange",this.dj);
this.U(a,"onPlaylistUpdate",this.dj);this.B||this.U(a,"appresize",this.ld);this.U(a,"mdxpreviousnextchange",function(){J0(this);this.ld()});
this.dj()};
L0=function(a){a.A&&a.A.unsubscribe("shuffle",a.dj,a)};
M0=function(a){return!!a.A&&!a.B&&3<=a.g.getCurrentTime()&&2!=a.g.ab()};
N0=function(a){var b=g.kV(g.fV(a.g));return b?a.B?b.hasNext():b.Af():!1};
J0=function(a){var b={duration:null,preview:null,text:null,title:null,url:null},c=g.Y(a.g),d=oV(a.g),e=a.B&&g.EV(a.g),f=N0(a);if(a.D)b.title=g.U("YTP_REPLAY");else if(d){var k=null;a.A&&(k=a.A.dc(a.B?SQ(a.A):TQ(a.A)));if(k){if(k.videoId){var l=a.A.listId;b.url=c.getVideoUrl(k.videoId,l?l.toString():void 0)}b.text=k.title;b.duration=k.lengthSeconds?g.UV(k.lengthSeconds):null;b.preview=k.Vb(c,"mqdefault.jpg")}b.title=g.U(a.B?"YTP_NEXT":"YTP_PREVIOUS")}else e&&(a.F.Qf&&a.F.Qf.length&&(k=g.PZ(a.F.Qf[0]),
b.url=k.Hm(c),b.text=k.title,b.duration=k instanceof g.pQ?g.UV(k.lengthSeconds):null,b.preview=k.Vb(c,"mqdefault.jpg")),b.title=g.U("YTP_NEXT"));b.disabled=!e&&!d&&!f;a.update(b);a.J=!!b.url;e||d||a.D||f?a.C||(a.C=u_(a.L,a.element),a.H=a.T("click",a.KJ,a)):a.C&&(a.C(),a.C=null,a.Ba(a.H),a.H=null);E0(a.L)};
P0=function(a,b){g.TV.call(this,{K:"div",W:"ytp-progress-bar-container",Z:{"aria-disabled":!0},O:[{K:"div",W:"ytp-progress-bar",Z:{tabindex:0,role:"slider","aria-label":g.U("YTP_SEEK_SLIDER"),"aria-valuemin":"{{ariamin}}","aria-valuemax":"{{ariamax}}","aria-valuenow":"{{arianow}}","aria-valuetext":"{{arianowtext}}"},O:[{K:"div",W:"ytp-progress-bar-padding"},{K:"div",W:"ytp-progress-list",O:[{K:"div",ea:["ytp-play-progress","ytp-swatch-background-color"]},{K:"div",W:"ytp-load-progress"},{K:"div",W:"ytp-hover-progress"},
{K:"div",W:"ytp-clip-start-exclude"},{K:"div",W:"ytp-clip-end-exclude"},{K:"div",W:"ytp-ad-progress-list"},{K:"div",W:"ytp-marker-crenellation-list"},{K:"div",W:"ytp-marker-progress-list"}]},{K:"div",W:"ytp-scrubber-container",O:[{K:"div",ea:["ytp-scrubber-button","ytp-swatch-background-color"],O:[{K:"div",W:"ytp-scrubber-pull-indicator"}]}]}]},{K:"div",W:"ytp-bound-time-left",O:["{{boundTimeLeft}}"]},{K:"div",W:"ytp-bound-time-right",O:["{{boundTimeRight}}"]},{K:"div",W:"ytp-clip-start",Z:{title:g.U("YTP_WATCH_ALL")},
O:["{{clipstarticon}}"]},{K:"div",W:"ytp-clip-end",Z:{title:g.U("YTP_WATCH_ALL")},O:["{{clipendicon}}"]}]});this.Ca("clipstarticon",hE());this.Ca("clipendicon",gE());this.A=a;this.Ja=b.o;this.Qa=!1;this.C=this.Mb=0;this.S=1;this.Ab=this.G=0;this.D=window.NaN;this.qb=!1;this.J=this.ca=0;this.Zb=this.wa["ytp-ad-progress-list"];this.ac=this.wa["ytp-marker-progress-list"];this.gb=this.wa["ytp-marker-crenellation-list"];this.N={};this.na={};this.L=window.Infinity;var c=b.o;this.fa=this.wa["ytp-clip-end"];
g.Se(this,u_(c,this.fa));this.ra=new g.aG(this.fa,!0);g.N(this,this.ra);this.ra.subscribe("hoverstart",this.Yx,this);this.ra.subscribe("hoverend",this.Xx,this);this.U(this.fa,"click",this.nn);this.Wa=this.wa["ytp-clip-end-exclude"];this.hc=this.wa["ytp-clip-start-exclude"];this.M=0;this.ga=this.wa["ytp-clip-start"];g.Se(this,u_(c,this.ga));this.sa=new g.aG(this.ga,!0);g.N(this,this.sa);this.sa.subscribe("hoverstart",this.Yx,this);this.sa.subscribe("hoverend",this.Xx,this);this.U(this.ga,"click",this.nn);
this.wb=this.wa["ytp-load-progress"];this.ka=0;this.oc=this.wa["ytp-play-progress"];this.da=this.wa["ytp-hover-progress"];this.F=0;this.yb=this.wa["ytp-progress-bar"];this.B=null;this.Eb=this.wa["ytp-scrubber-button"];this.Ec=this.wa["ytp-scrubber-container"];this.va=new g.Vd;this.tb=new $W;this.g=new XW(0,0);this.H=this.Ea=!1;this.Ta=null;this.U(a,"presentingplayerstatechange",this.MJ);this.U(a,"videodatachange",this.Wx);this.U(a,"videoplayerreset",this.JG);this.U(a,"cuerangesadded",this.by);this.U(a,
"cuerangesremoved",this.UJ);this.U(a,"cuerangemarkersupdated",this.by);this.U(a,"onPlaybackQualityChange",this.NJ);O0(this,a.ha(),!0)};
T0=function(a){if(a.C){var b=a.A.nh(),c=new XW(b.seekableStart,b.seekableEnd),d=ZW(c,b.loaded,0),b=ZW(c,b.current,0),e=a.g.o!=c.o||a.g.g!=c.g;a.g=c;Q0(a,b,d);e&&R0(a);S0(a)}};
O0=function(a,b,c){c=void 0===c?!1:c;var d=!!b&&b.Be();a.Ea=d&&b.Zf;U0(a,a.A.Dd());c&&(d?(c=b.clipEnd,a.M=b.clipStart,a.L=c,V0(a),Q0(a,a.F,a.ka)):a.nn(),b=a.Ja,1==b.g&&b.Ud());T0(a)};
W0=function(a){return!!a&&a.Be()&&!!a.Ma&&a.Ma.video.isAccelerated&&a.Ma.video.A};
X0=function(a,b){a.qb=b;g.T(a.wb,"ytp-fast-load",b)};
Y0=function(a,b,c,d){b=g.Rd(b,0,a.H?60:40);a.G=b;var e=a.S,f=Math.max(a.g.getLength()/a.C,1);a.S=b/(a.H?60:40)*(f-1)+1;b=a.C*a.S;a.J=g.Rd(d*b-c,0,b-a.C);e!=a.S&&R0(a)};
R0=function(a){var b=Z0(a),c=-b.A/b.g,d=(-b.A+b.width)/b.g,e=g.Be(a.gb),f=0;if(a.G>.2*(a.H?60:40))for(var k=c*(a.g.getLength()/60),l=d*(a.g.getLength()/60),k=Math.ceil(k);k<l;k++){var m=e[f];m||(m=g.re("DIV"),a.gb.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.g.getLength()-c)*b.g;m.style.left=n+"px"}b=a.Ea?a.g.g:0;a.update({boundTimeLeft:g.UV(YW(a.g,c)-b),boundTimeRight:g.UV(YW(a.g,d)-b)});for(c=e.length-
1;c>=f;c--)g.ye(e[c]);a.element.style.height=a.G+(a.H?8:5)+"px";a.V("height-change",a.G);a.Eb.style.height=a.G+(a.H?20:13)+"px";for(var q in a.N)$0(a,a.N[q],a.na[q]);V0(a);Q0(a,a.F,a.ka)};
Z0=function(a){var b=a.va.x,c=a.C*a.S,b=g.Rd(b,0,a.C);a.tb.update(b,a.C,-a.J,-(c-a.J-a.C));return a.tb};
Q0=function(a,b,c){a.F=b;a.ka=c;var d=Z0(a),e=a.g.g,f=YW(a.g,a.F);a.update({ariamin:Math.floor(a.g.o),ariamax:Math.floor(e),arianow:Math.floor(f),arianowtext:g.U("YTP_PROGRESS_LABEL_2",{PLAY_PROGRESS:g.UV(f),DURATION:g.UV(e)})});var e=ZW(a.g,a.M,0),k=ZW(a.g,a.L,1),f=g.Rd(b,e,k);c=a.qb?1:g.Rd(c,e,k);k=b*d.g+d.A;a.Eb.style.display=0<=k&&b<=d.width?"":"none";g.dh(a.Ec,"transform","translateX("+k+"px)");a1(a,a.oc,d,e,f);a1(a,a.wb,d,e,c)};
a1=function(a,b,c,d,e,f){b.style.left=Math.max(d*c.g+c.A,0)+"px";d=Math.min((e-d)*c.g+c.A,c.width);(void 0===f?0:f)||g.Y(a.A).isMobile?(b.style.width=d+"px",gh(b,"transform")):g.dh(b,"transform","scalex("+(c.width?d/c.width:0)+")")};
V0=function(a){var b=a.M>a.g.o,c=0<a.g.g&&a.L<a.g.g;g.T(a.element,"ytp-clip-start-enabled",b);g.T(a.element,"ytp-clip-end-enabled",c);b=b?ZW(a.g,a.M,0):0;c=c?ZW(a.g,a.L,1):1;a.ga.style.left=Math.round(1E3*b)/10+"%";a.fa.style.left=Math.round(1E3*c)/10+"%";a.hc.style.width=Math.round(1E3*b)/10+"%";a.Wa.style.left=Math.round(1E3*c)/10+"%";a.Wa.style.width=Math.round(1E3*(1-c))/10+"%"};
S0=function(a){var b=Z0(a);a1(a,a.da,b,a.F,b.o);g.T(a.da,"ytp-hover-progress-light",b.o>a.F)};
$0=function(a,b,c){var d=Z0(a),e=ZW(a.g,b.start/1E3,0),f,k=ema(b)/d.width;switch(b.style){case "ytp-chapter-marker":f=e+k/2;e-=k/2;break;default:f=ZW(a.g,b.end/1E3,1),k!=Number.POSITIVE_INFINITY&&(e=g.Rd(e,0,f-k)),f=Math.min(f,e+k),b.color&&(c.style.background=b.color)}a1(a,c,d,e,f,!0);c.className=b.style};
b1=function(a,b){var c=b.getId();a.N[c]==b&&(g.ye(a.na[c]),delete a.N[c],delete a.na[c])};
U0=function(a,b){b?a.B||(a.element.removeAttribute("aria-disabled"),a.B=new g.aG(a.yb,!0),a.B.subscribe("hovermove",a.RJ,a),a.B.subscribe("hoverend",a.QJ,a),a.B.subscribe("dragstart",a.PJ,a),a.B.subscribe("dragmove",a.TJ,a),a.B.subscribe("dragend",a.SJ,a),a.Ta=a.T("keydown",a.OJ)):a.B&&(a.element.setAttribute("aria-disabled",!0),a.Ba(a.Ta),a.B.cancel(),a.B.dispose(),a.B=null)};
c1=function(a,b){J_.call(this,g.U("YTP_ANNOTATIONS"),5);this.B=b;this.Y=a;this.A=!1;this.U(a,"videodatachange",this.C);this.U(a,"onApiChange",this.C);this.subscribe("select",this.D,this);this.C()};
g.d1=function(a,b,c,d,e,f){var k=x_({"aria-haspopup":!0});w_.call(this,k,b,a);this.A=d;this.G=!1;this.C=null;this.g={};this.D=new z_(c,void 0,a,e,f);g.N(this,this.D);this.T("keydown",this.VJ);this.T("click",this.open)};
g.e1=function(a,b){if(a.C){var c=a.g[a.C];c.element.getAttribute("aria-checked");c.element.removeAttribute("aria-checked")}a.g[b].element.setAttribute("aria-checked",!0);a.Jc(a.Ne(b));a.C=b};
g.f1=function(a,b){for(var c=a.D,d=g.ia(c.Na),e=d.next();!e.done;e=d.next())e.value.unsubscribe("size-change",c.S,c);c.Na=[];g.ve(c.D.element);c.D.V("size-change");c={};d=!1;for(e=0;e<b.length;e++){var f=b[e],k=a.g[f],l=f==a.C;l&&(d=!0);k&&k.priority==-e?(v_(a.g[f],a.Ne(f,!0)),delete a.g[f]):(k=new w_({K:"div",ea:["ytp-menuitem"],Z:{tabindex:0,role:"menuitemradio","aria-checked":l?!0:null},O:[{K:"div",ea:["ytp-menuitem-label"],O:["{{label}}"]}]},-e,a.Ne(f,!0)),k.T("click",(0,g.A)(a.WM,a,f)));c[f]=
k;A_(a.D,k,!0)}d||(a.C=null);for(var m in a.g)a.g[m].dispose();a.g=c};
g1=function(a,b){g.d1.call(this,g.U("YTP_AUDIO_TRACK_TITLE"),2,a,b);this.Y=a;this.H=new g.X({K:"div",O:[{K:"span",O:[g.U("YTP_AUDIO_TRACK_TITLE")]},{K:"span",W:"ytp-menuitem-label-count",O:["{{content}}"]}]});v_(this,this.H);this.J={};this.U(a,"videodatachange",this.F);this.U(a,"onPlaybackAudioChange",this.F);this.F()};
h1=function(a,b){J_.call(this,g.U("YTP_AUTOPLAY"),6);this.D=b;this.Y=a;this.B=!1;this.A=[];this.U(a,"presentingplayerstatechange",this.C);this.subscribe("select",this.G,this);this.C()};
i1=function(a,b){g.d1.call(this,g.U("YTP_QUALITY_TITLE"),1,a,b);g.S(this.D.element,"ytp-quality-menu");this.Y=a;this.H={};this.F="unknown";this.U(a,"videodatachange",this.B);this.U(a,"videoplayerreset",this.B);this.U(a,"onPlaybackQualityChange",this.J);this.B()};
j1=function(a,b,c){a=a.H[b];var d;d=a?a.qualityLabel:(d=MI[b])?d+"p":g.U("YTP_AUTO");c={K:"span",ea:c,O:[]};a&&a.isAccelerated&&a.A&&c.O.push({K:"div",W:"ytp-menuitem-badge-container",O:[{K:"svg",Z:{fill:"#00838f",height:"11px",viewBox:"0 0 48 48",width:"11px"},O:[{K:"path",Z:{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"}},{K:"path",Z:{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.O.push(d);var e;"highres"==b?e="8K":"hd2880"==b?e="5K":"hd2160"==b?e="4K":0==b.indexOf("hd")&&(e="HD");e&&(c.O.push(" "),c.O.push({K:"sup",W:"ytp-swatch-color",O:[e]}));return c};
k1=function(a,b,c){g.X.call(this,{K:"button",ea:["ytp-button","ytp-settings-button"],Z:{"aria-haspopup":!0,"aria-owns":"ytp-main-menu-id",title:g.U("YTP_SETTINGS")},O:[g.sE()]});this.A=c;this.Y=a;this.B=!0;this.T("click",this.C);this.U(a,"onPlaybackQualityChange",this.g);this.U(a,"settingsmenutoggle",this.C);this.U(a,"videodatachange",this.g);this.U(a,"webglsettingschanged",this.g);this.U(a,"appresize",this.ld);g.Se(this,u_(b.o,this.element));this.g();this.ld(g.nV(a).Ya())};
l1=function(a,b){a.B=!!b;a.ld(g.nV(a.Y).Ya())};
m1=function(a,b){g.d1.call(this,g.U("YTP_SPEED_TITLE"),4,a,b);this.Y=a;this.B=null;this.U(a,"presentingplayerstatechange",this.gy);this.gy()};
o1=function(a,b,c,d){var e=g.U("YTP_VIDEO_SUBTITLES_OVERRIDE"),f=new z_(b,void 0,e);g.d1.call(this,n1(d),a,b,c,e,function(){return E_(c,f)});
g.S(this.element,"ytp-subtitles-options-menu-item");this.N=d.option.toString();this.J=g.Cb(d.options,this.L,this);this.H=f;g.N(this,this.H);a=new w_({K:"div",W:"ytp-menuitemtitle",O:[g.U("YTP_VIDEO_SUBTITLES_OVERRIDE_DESC")]},0);g.N(this,a);A_(this.H,a,!0);this.F=new w_({K:"div",W:"ytp-menuitem",Z:{role:"menuitemradio",tabindex:0},O:[{K:"div",W:"ytp-menuitem-label",O:[g.U("YTP_ON")]}]},-1);g.N(this,this.F);A_(this.H,this.F,!0);this.U(this.F.element,"click",g.ya(this.M,!0));this.B=new w_({K:"div",
W:"ytp-menuitem",Z:{role:"menuitemradio",tabindex:0},O:[{K:"div",W:"ytp-menuitem-label",O:[g.U("YTP_OFF")]}]},-2);g.N(this,this.B);A_(this.H,this.B,!0);this.U(this.B.element,"click",g.ya(this.M,!1));g.f1(this,(0,g.I)(d.options,this.L))};
n1=function(a){return(a.message?g.U(a.message):a.text)||""};
p1=function(a,b){z_.call(this,a,void 0,g.U("YTP_OPTIONS"));this.g={};for(var c=0;c<W_.length;c++){var d=W_[c],e=new o1(-c,a,b,d);g.N(this,e);e.subscribe("settingChange",this.A,this);this.g[d.option.toString()]=e;A_(this,e,!0)}c=new w_(x_(),-W_.length,g.U("YTP_RESET"));g.N(this,c);c.T("click",(0,g.A)(this.A,this,"reset",!0));A_(this,c,!0)};
q1=function(a,b){for(var c in b){var d=a.g[c];if(d){var e=b[c].toString(),f=!!b[c+"Override"];d.g[e]&&(g.e1(d,e),d.F.element.setAttribute("aria-checked",!f),d.B.element.setAttribute("aria-checked",f))}}};
r1=function(a,b){g.d1.call(this,g.U("YTP_AUTO_TRANSLATE"),0,a,b);this.B={}};
s1=function(a,b){var c=new p1(a,b);g.d1.call(this,g.U("YTP_SUBTITLES"),3,a,b,g.U("YTP_OPTIONS"),function(){return E_(b,c)});
this.Y=a;this.B={};this.L=new g.Jt(g.ya(this.jy,!1),3E3,this);g.N(this,this.L);this.H=new g.X({K:"div",O:[{K:"span",O:[g.U("YTP_SUBTITLES")]},{K:"span",W:"ytp-menuitem-label-count",O:["{{content}}"]}]});g.N(this,this.H);v_(this,this.H);this.F=new r1(a,b);g.N(this,this.F);this.F.subscribe("select",this.kO,this);this.J=c;g.N(this,this.J);this.J.subscribe("settingChange",this.cK,this);this.U(a,"videodatachange",this.wk);this.U(a,"onApiChange",this.wk);this.U(a,"onCaptionsTrackListChanged",this.wk);this.U(a,
"captionschanged",this.wk);this.wk()};
t1=function(a){B_.call(this,a,"ytp-settings-menu");this.B=a;this.A=new z_(a);g.N(this,this.A);this.G=null;this.S=!1;this.oa();E_(this,this.A)};
u1=function(a){if(!a.S){a.S=!0;var b=new i1(a.B,a);g.N(a,b);b=new s1(a.B,a);g.N(a,b);b=new c1(a.B,a);g.N(a,b);g.Y(a.B).va&&(b=new m1(a.B,a),g.N(a,b));g.Y(a.B).Ld&&(b=new h1(a.B,a),g.N(a,b));b=new g1(a.B,a);g.N(a,b);l1(a.G,a.A.Na.length)}};
v1=function(a,b){A_(a.A,b);l1(a.G,a.A.Na.length)};
w1=function(a,b){a.o&&1>=a.A.Na.length&&a.oa();var c=a.A;b.unsubscribe("size-change",c.S,c);c.ma()||(g.jb(c.Na,b),c.D.element.removeChild(b.element),c.D.V("size-change"));l1(a.G,a.A.Na.length)};
x1=function(a,b,c){g.X.call(this,{K:"button",ea:["ytp-remote-button","ytp-button"],Z:{title:g.U("YTP_MDX_TOOLTIP"),"aria-haspopup":!0},O:["{{icon}}"]});this.Y=a;this.B=c;this.A=null;this.U(a,"onMdxReceiversChange",this.g);this.U(a,"presentingplayerstatechange",this.g);this.U(a,"appresize",this.g);this.g();this.T("click",this.C,this);g.Se(this,u_(b.o,this.element))};
y1=function(a,b){g.X.call(this,{K:"button",ea:["ytp-size-button","ytp-button"],Z:{title:"{{title}}"},O:["{{icon}}"]});this.g=a;this.C=b.o;this.B=null;this.D=new u0;g.N(this,this.D);this.U(a,"sizestylechange",this.A);this.U(a,"fullscreentoggled",this.A);this.U(a,"presentingplayerstatechange",this.A);this.A();this.T("click",this.F);g.Se(this,u_(this.C,this.element))};
z1=function(a,b){g.X.call(this,{K:"button",ea:["ytp-subtitles-button","ytp-button"],Z:{"aria-pressed":"{{pressed}}",title:g.U("YTP_SUBTITLES_TOOLTIP")},O:[jE()]});this.A=a;this.U(a,"videodatachange",this.g);this.U(a,"appresize",this.g);this.U(a,"onApiChange",this.g);this.U(a,"onCaptionsTrackListChanged",this.g);this.U(a,"captionschanged",this.g);this.g();this.T("click",this.B);g.Se(this,u_(b.o,this.element))};
A1=function(a,b){g.X.call(this,{K:"div",ea:["ytp-time-display","notranslate"],O:[{K:"span",W:"ytp-time-current",O:["{{currenttime}}"]},{K:"span",W:"ytp-time-separator",O:[" / "]},{K:"span",W:"ytp-time-duration",O:["{{duration}}"]}]});this.D=new g.X({K:"button",ea:["ytp-live-badge","ytp-button"],Z:{disabled:!0},O:[g.U("YTP_LIVE")]});g.N(this,this.D);this.D.Ia(this.element);this.g=a;this.J=b.o;this.A=null;this.F=this.B=!1;this.H=this.G=null;this.T("click",this.L);this.U(a,"presentingplayerstatechange",
this.C);this.U(a,"appresize",this.C);this.U(a,"videodatachange",this.M);var c=a.ha();c&&(this.B=c.Aa,g.T(this.element,"ytp-live",this.B));this.C()};
C1=function(a,b,c){g.X.call(this,{K:"div",W:"ytp-volume-panel",Z:{role:"slider","aria-valuemin":"0","aria-valuemax":"100","aria-valuenow":"{{valuenow}}","aria-valuetext":"{{valuetext}}",tabindex:0},O:[{K:"div",W:"ytp-volume-slider",O:[{K:"div",W:"ytp-volume-slider-handle"}]}]});this.g=a;this.F=b;this.M=c;this.J=!1;this.G=b.Vd();this.S=this.C=0;this.N=this.wa["ytp-volume-slider"];this.aa=this.wa["ytp-volume-slider-handle"];this.H=new g.aG(this.N,!0);g.N(this,this.H);this.H.subscribe("dragstart",this.YN,
this);this.H.subscribe("dragmove",this.XN,this);this.H.subscribe("dragend",this.WN,this);this.L=null;this.A=this.B=this.D=!1;this.U(a,"onVolumeChange",this.fK);this.U(a,"appresize",this.ld);this.U(a,"fullscreentoggled",this.dK);this.U(a,"onShowControls",this.av);this.U(a,"onHideControls",this.av);this.U(this.element,"keydown",this.ZN);this.U(this.element,"focus",g.ya(this.ly,!0));this.U(this.element,"blur",g.ya(this.ly,!1));this.ld(g.nV(a).Ya());B1(this,a.getVolume(),a.Ge())};
B1=function(a,b,c){var d=Math.floor(b),e=d+"% "+g.U("YTP_SCREENREADER_VOLUME_SETTING")+(c?" "+g.U("YTP_SCREENREADER_VOLUME_MUTED"):"");c=c?0:b/100;a.Ca("valuenow",d);a.Ca("valuetext",e);a.aa.style.left=(a.G?60:40)*c+"px";a.C=b};
D1=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.L=a.U(a.element,"wheel",a.eK):(a.Ba(a.L),a.L=null),g.T(a.M,"ytp-volume-slider-active",b))};
E1=function(a,b){var c=g.Y(a),d=QO(c);0==d.indexOf("www.")&&(d=d.substring(4));var e=["ytp-youtube-button","ytp-button","yt-uix-sessionlink"];(c="gaming"==c.o)&&e.push("ytp-youtube-gaming-button");g.X.call(this,{K:"a",ea:e,Z:{href:"{{url}}",target:"_blank",title:g.U("YTP_URL_NAVIGATE_TO",{WEBSITE:d}),"data-sessionlink":"feature=player-button"},O:[c?g.bE?{K:"div",ea:["ytp-icon","ytp-icon-logo-gaming"]}:{K:"svg",Z:{height:"100%",version:"1.1",viewBox:"0 0 98 36",width:"100%"},O:[{K:"path",Ra:!0,W:"ytp-svg-fill",
Z:{d:"M19.40,22.92 L19.40,22.08 C18.87,22.71 18.42,23.03 17.93,23.03 C17.50,23.03 17.20,22.82 17.05,22.44 C16.96,22.21 16.89,21.85 16.89,21.32 L16.89,15.23 L18.29,15.23 L18.29,21.47 C18.33,21.69 18.41,21.76 18.59,21.76 C18.86,21.76 19.10,21.52 19.40,21.09 L19.40,15.23 L20.80,15.23 L20.80,22.92 L19.40,22.92 Z M15.41,15.91 C15.04,15.39 14.45,15.17 13.86,15.17 C13.19,15.17 12.69,15.39 12.31,15.91 C12.02,16.30 11.87,16.93 11.87,17.75 L11.87,20.48 C11.87,21.30 12.01,21.86 12.29,22.25 C12.67,22.77 13.27,23.05 13.86,23.05 C14.45,23.05 15.07,22.77 15.44,22.25 C15.73,21.86 15.86,21.30 15.86,20.48 L15.86,17.74 C15.86,16.92 15.70,16.30 15.41,15.91 L15.41,15.91 Z M14.45,20.63 C14.53,21.40 14.30,21.77 13.86,21.77 C13.43,21.77 13.20,21.40 13.27,20.63 L13.27,17.59 C13.20,16.83 13.43,16.47 13.86,16.47 C14.30,16.47 14.53,16.83 14.45,17.59 L14.45,20.63 Z M10.32,22.92 L8.84,22.92 L8.84,18.73 C8.84,18.73 7.31,13.60 7,12.64 L8.55,12.64 L9.58,16.65 L10.61,12.64 L12.16,12.64 L10.32,18.73 L10.32,22.92 Z"}},
{K:"path",ea:["ytp-svg-fill","ytp-svg-fill-logo-tube-text"],Z:{d:"M23,12 L43,12 L43,24 L23,24 Z",fill:"none"}},{K:"path",Ra:!0,ea:["ytp-svg-fill","ytp-svg-fill-logo-tube-lozenge"],Z:{d:"M42.90,11.22 C42.06,10.32 41.12,10.32 40.69,10.26 C37.60,10.03 32.97,10.03 32.97,10.03 C32.96,10.03 28.34,10.03 25.25,10.26 C24.82,10.32 23.88,10.32 23.04,11.22 C22.38,11.91 22.16,13.47 22.16,13.47 C22.16,13.47 21.94,15.30 21.94,17.13 L21.94,18.85 C21.94,20.68 22.16,22.51 22.16,22.51 C22.16,22.51 22.38,24.07 23.04,24.76 C23.88,25.66 24.98,25.63 25.47,25.73 C27.24,25.90 32.97,25.96 32.97,25.96 C32.97,25.96 37.60,25.95 40.69,25.72 C41.12,25.67 42.06,25.66 42.90,24.76 C43.56,24.07 43.77,22.51 43.77,22.51 C43.77,22.51 43.99,20.68 43.99,18.85 L43.99,17.13 C43.99,15.30 43.77,13.47 43.77,13.47 C43.77,13.47 43.56,11.91 42.90,11.22 L42.90,11.22 Z M25.31,22.92 L25.31,14.16 L23.76,14.16 L23.76,12.72 L28.41,12.71 L28.41,14.16 L26.79,14.16 L26.79,22.92 L25.31,22.92 Z M30.70,22.92 L30.70,22.08 C30.17,22.71 29.72,23.03 29.23,23.03 C28.79,23.03 28.50,22.82 28.35,22.44 C28.25,22.21 28.19,21.85 28.19,21.32 L28.19,15.30 L29.59,15.30 L29.59,21.47 C29.63,21.69 29.71,21.76 29.89,21.76 C30.16,21.76 30.40,21.52 30.70,21.09 L30.70,15.30 L32.10,15.30 L32.10,22.92 L30.70,22.92 Z M37.05,22.16 C36.87,22.72 36.48,23.02 35.95,23.02 C35.48,23.02 34.95,22.72 34.50,22.15 L34.50,22.92 L32.98,22.92 L32.98,12.71 L34.50,12.71 L34.50,16.04 C34.93,15.49 35.46,15.18 35.95,15.18 C36.48,15.18 36.84,15.50 37.02,16.07 C37.11,16.37 37.20,16.87 37.20,17.59 L37.20,20.63 C37.20,21.34 37.14,21.83 37.05,22.16 L37.05,22.16 Z M40.73,21.21 C40.75,21.14 40.74,20.81 40.74,20.25 L42.15,20.25 L42.15,20.47 C42.15,20.91 42.11,21.23 42.10,21.37 C42.05,21.67 41.95,21.95 41.79,22.19 C41.42,22.74 40.87,23.02 40.17,23.02 C39.47,23.02 38.94,22.76 38.55,22.24 C38.27,21.86 38.09,21.29 38.09,20.48 L38.09,17.82 C38.09,17.00 38.25,16.37 38.54,15.99 C38.92,15.47 39.45,15.19 40.14,15.19 C40.81,15.19 41.34,15.47 41.71,15.99 C41.99,16.37 42.15,16.97 42.15,17.78 L42.15,19.34 L39.49,19.34 L39.49,20.71 C39.48,21.41 39.68,21.76 40.14,21.76 C40.47,21.76 40.66,21.58 40.73,21.21 L40.73,21.21 Z M40.12,16.45 C39.68,16.45 39.49,16.64 39.49,17.36 L39.49,18.20 L40.74,18.20 L40.74,17.37 C40.74,16.66 40.57,16.45 40.12,16.45 L40.12,16.45 Z M34.54,16.80 L34.54,21.42 C34.76,21.65 35.02,21.76 35.24,21.76 C35.62,21.76 35.80,21.47 35.80,20.71 L35.80,17.44 C35.80,16.67 35.62,16.45 35.24,16.45 C35.02,16.45 34.76,16.57 34.54,16.80 L34.54,16.80 Z",
fill:"#fff"}},{K:"g",Ra:!0,W:"ytp-svg-fill",O:[{K:"path",Z:{d:"M50.85,16.34 C50.14,16.34 49.78,16.77 49.72,17.30 C49.61,18.30 49.61,19.64 49.72,20.65 C49.78,21.18 50.14,21.61 50.85,21.61 C51.55,21.61 52.03,21.21 52.03,20.67 L52.03,20.16 C52.03,20.09 51.98,20.04 51.91,20.04 L51.12,20.04 C50.99,20.04 50.89,19.93 50.89,19.80 L50.89,18.66 C50.89,18.53 50.99,18.42 51.12,18.42 L53.39,18.42 C53.52,18.42 53.63,18.53 53.63,18.66 L53.63,20.67 C53.63,22.11 52.45,23.30 50.85,23.30 C49.25,23.30 48.25,22.09 48.08,20.65 C47.97,19.64 47.97,18.30 48.08,17.30 C48.25,15.86 49.25,14.65 50.85,14.65 C52.46,14.65 53.63,15.79 53.63,17.39 C53.63,17.52 53.52,17.63 53.39,17.63 L52.23,17.63 C52.10,17.63 52.01,17.52 52.00,17.39 C51.95,16.77 51.52,16.34 50.85,16.34"}},
{K:"path",Z:{d:"M57.57,19.76 C57.55,19.86 57.60,19.90 57.67,19.90 L58.74,19.90 C58.81,19.90 58.85,19.86 58.83,19.76 L58.27,16.89 C58.26,16.85 58.25,16.84 58.21,16.84 L58.19,16.84 C58.16,16.84 58.14,16.85 58.13,16.89 L57.57,19.76 Z M56.80,22.98 C56.78,23.09 56.69,23.16 56.58,23.16 L55.36,23.16 C55.17,23.16 55.10,23.03 55.13,22.93 L57.21,14.96 C57.24,14.85 57.33,14.78 57.43,14.78 L58.99,14.78 C59.10,14.78 59.19,14.85 59.21,14.96 L61.29,22.93 C61.31,23.03 61.24,23.16 61.06,23.16 L59.83,23.16 C59.73,23.16 59.65,23.09 59.61,22.98 L59.25,21.75 C59.23,21.66 59.18,21.57 59.08,21.57 L57.31,21.57 C57.20,21.57 57.15,21.64 57.13,21.75 L56.80,22.98 Z"}},
{K:"path",Z:{d:"M65.75,17.32 C65.78,17.44 65.92,17.44 65.96,17.32 L66.61,14.99 C66.64,14.84 66.73,14.78 66.85,14.78 L68.46,14.78 C68.59,14.78 68.69,14.89 68.69,15.02 L68.69,22.93 C68.69,23.06 68.59,23.16 68.46,23.16 L67.32,23.16 C67.19,23.16 67.09,23.06 67.09,22.93 L67.09,18.18 C67.09,18.12 67.02,18.11 66.99,18.17 L66.45,19.97 C66.40,20.11 66.33,20.17 66.20,20.17 L65.51,20.17 C65.39,20.17 65.32,20.11 65.27,19.97 L64.71,18.17 C64.69,18.11 64.62,18.12 64.62,18.18 L64.62,22.93 C64.62,23.06 64.51,23.16 64.38,23.16 L63.24,23.16 C63.12,23.16 63.01,23.06 63.01,22.93 L63.01,15.02 C63.01,14.89 63.12,14.78 63.24,14.78 L64.85,14.78 C64.98,14.78 65.06,14.84 65.10,14.99 L65.75,17.32 Z"}},
{K:"path",Z:{d:"M72.68,16.52 C72.68,16.45 72.63,16.40 72.56,16.40 L71.39,16.40 C71.27,16.40 71.16,16.29 71.16,16.16 L71.16,15.02 C71.16,14.89 71.27,14.78 71.39,14.78 L75.59,14.78 C75.72,14.78 75.82,14.89 75.82,15.02 L75.82,16.16 C75.82,16.29 75.72,16.40 75.59,16.40 L74.42,16.40 C74.35,16.40 74.31,16.45 74.31,16.52 L74.31,21.43 C74.31,21.50 74.35,21.55 74.42,21.55 L75.70,21.55 C75.83,21.55 75.94,21.66 75.94,21.79 L75.94,22.93 C75.94,23.06 75.83,23.16 75.70,23.16 L71.28,23.16 C71.15,23.16 71.05,23.06 71.05,22.93 L71.05,21.79 C71.05,21.66 71.15,21.55 71.28,21.55 L72.56,21.55 C72.63,21.55 72.68,21.50 72.68,21.43 L72.68,16.52 Z"}},
{K:"path",Z:{d:"M83.53,22.93 C83.53,23.06 83.42,23.16 83.30,23.16 L81.92,23.16 C81.72,23.16 81.64,23.06 81.61,22.96 L80.02,18.76 C80.00,18.69 79.92,18.71 79.92,18.78 L79.92,22.93 C79.92,23.06 79.81,23.16 79.69,23.16 L78.52,23.16 C78.39,23.16 78.29,23.06 78.29,22.93 L78.29,15.02 C78.29,14.89 78.39,14.78 78.52,14.78 L79.91,14.78 C80.08,14.78 80.16,14.89 80.20,15.00 L81.79,19.55 C81.82,19.62 81.90,19.60 81.90,19.52 L81.90,15.02 C81.90,14.89 82.00,14.78 82.13,14.78 L83.30,14.78 C83.42,14.78 83.53,14.89 83.53,15.02 L83.53,22.93 Z"}},
{K:"path",Z:{d:"M88.59,16.34 C87.88,16.34 87.52,16.77 87.46,17.30 C87.35,18.30 87.35,19.64 87.46,20.65 C87.52,21.18 87.88,21.61 88.59,21.61 C89.29,21.61 89.77,21.21 89.77,20.67 L89.77,20.16 C89.77,20.09 89.72,20.04 89.65,20.04 L88.86,20.04 C88.73,20.04 88.63,19.93 88.63,19.80 L88.63,18.66 C88.63,18.53 88.73,18.42 88.86,18.42 L91.13,18.42 C91.26,18.42 91.37,18.53 91.37,18.66 L91.37,20.67 C91.37,22.11 90.19,23.30 88.59,23.30 C86.99,23.30 85.99,22.09 85.82,20.65 C85.71,19.64 85.71,18.30 85.82,17.30 C85.99,15.86 86.99,14.65 88.59,14.65 C90.20,14.65 91.37,15.79 91.37,17.39 C91.37,17.52 91.26,17.63 91.13,17.63 L89.97,17.63 C89.84,17.63 89.75,17.52 89.74,17.39 C89.69,16.77 89.26,16.34 88.59,16.34"}}]}]}:
g.bE?{K:"div",ea:["ytp-icon","ytp-icon-logo"]}:{K:"svg",Z:{height:"100%",version:"1.1",viewBox:"0 0 51 36",width:"100%"},O:[{K:"path",Ra:!0,W:"ytp-svg-fill",Z:{d:"M19.40,22.92 L19.40,22.08 C18.87,22.71 18.42,23.03 17.93,23.03 C17.50,23.03 17.20,22.82 17.05,22.44 C16.96,22.21 16.89,21.85 16.89,21.32 L16.89,15.23 L18.29,15.23 L18.29,21.47 C18.33,21.69 18.41,21.76 18.59,21.76 C18.86,21.76 19.10,21.52 19.40,21.09 L19.40,15.23 L20.80,15.23 L20.80,22.92 L19.40,22.92 Z M15.41,15.91 C15.04,15.39 14.45,15.17 13.86,15.17 C13.19,15.17 12.69,15.39 12.31,15.91 C12.02,16.30 11.87,16.93 11.87,17.75 L11.87,20.48 C11.87,21.30 12.01,21.86 12.29,22.25 C12.67,22.77 13.27,23.05 13.86,23.05 C14.45,23.05 15.07,22.77 15.44,22.25 C15.73,21.86 15.86,21.30 15.86,20.48 L15.86,17.74 C15.86,16.92 15.70,16.30 15.41,15.91 L15.41,15.91 Z M14.45,20.63 C14.53,21.40 14.30,21.77 13.86,21.77 C13.43,21.77 13.20,21.40 13.27,20.63 L13.27,17.59 C13.20,16.83 13.43,16.47 13.86,16.47 C14.30,16.47 14.53,16.83 14.45,17.59 L14.45,20.63 Z M10.32,22.92 L8.84,22.92 L8.84,18.73 C8.84,18.73 7.31,13.60 7,12.64 L8.55,12.64 L9.58,16.65 L10.61,12.64 L12.16,12.64 L10.32,18.73 L10.32,22.92 Z"}},
{K:"path",ea:["ytp-svg-fill","ytp-svg-fill-logo-tube-text"],Z:{d:"M23,12 L43,12 L43,24 L23,24 Z",fill:"none"}},{K:"path",Ra:!0,ea:["ytp-svg-fill","ytp-svg-fill-logo-tube-lozenge"],Z:{d:"M42.90,11.22 C42.06,10.32 41.12,10.32 40.69,10.26 C37.60,10.03 32.97,10.03 32.97,10.03 C32.96,10.03 28.34,10.03 25.25,10.26 C24.82,10.32 23.88,10.32 23.04,11.22 C22.38,11.91 22.16,13.47 22.16,13.47 C22.16,13.47 21.94,15.30 21.94,17.13 L21.94,18.85 C21.94,20.68 22.16,22.51 22.16,22.51 C22.16,22.51 22.38,24.07 23.04,24.76 C23.88,25.66 24.98,25.63 25.47,25.73 C27.24,25.90 32.97,25.96 32.97,25.96 C32.97,25.96 37.60,25.95 40.69,25.72 C41.12,25.67 42.06,25.66 42.90,24.76 C43.56,24.07 43.77,22.51 43.77,22.51 C43.77,22.51 43.99,20.68 43.99,18.85 L43.99,17.13 C43.99,15.30 43.77,13.47 43.77,13.47 C43.77,13.47 43.56,11.91 42.90,11.22 L42.90,11.22 Z M25.31,22.92 L25.31,14.16 L23.76,14.16 L23.76,12.72 L28.41,12.71 L28.41,14.16 L26.79,14.16 L26.79,22.92 L25.31,22.92 Z M30.70,22.92 L30.70,22.08 C30.17,22.71 29.72,23.03 29.23,23.03 C28.79,23.03 28.50,22.82 28.35,22.44 C28.25,22.21 28.19,21.85 28.19,21.32 L28.19,15.30 L29.59,15.30 L29.59,21.47 C29.63,21.69 29.71,21.76 29.89,21.76 C30.16,21.76 30.40,21.52 30.70,21.09 L30.70,15.30 L32.10,15.30 L32.10,22.92 L30.70,22.92 Z M37.05,22.16 C36.87,22.72 36.48,23.02 35.95,23.02 C35.48,23.02 34.95,22.72 34.50,22.15 L34.50,22.92 L32.98,22.92 L32.98,12.71 L34.50,12.71 L34.50,16.04 C34.93,15.49 35.46,15.18 35.95,15.18 C36.48,15.18 36.84,15.50 37.02,16.07 C37.11,16.37 37.20,16.87 37.20,17.59 L37.20,20.63 C37.20,21.34 37.14,21.83 37.05,22.16 L37.05,22.16 Z M40.73,21.21 C40.75,21.14 40.74,20.81 40.74,20.25 L42.15,20.25 L42.15,20.47 C42.15,20.91 42.11,21.23 42.10,21.37 C42.05,21.67 41.95,21.95 41.79,22.19 C41.42,22.74 40.87,23.02 40.17,23.02 C39.47,23.02 38.94,22.76 38.55,22.24 C38.27,21.86 38.09,21.29 38.09,20.48 L38.09,17.82 C38.09,17.00 38.25,16.37 38.54,15.99 C38.92,15.47 39.45,15.19 40.14,15.19 C40.81,15.19 41.34,15.47 41.71,15.99 C41.99,16.37 42.15,16.97 42.15,17.78 L42.15,19.34 L39.49,19.34 L39.49,20.71 C39.48,21.41 39.68,21.76 40.14,21.76 C40.47,21.76 40.66,21.58 40.73,21.21 L40.73,21.21 Z M40.12,16.45 C39.68,16.45 39.49,16.64 39.49,17.36 L39.49,18.20 L40.74,18.20 L40.74,17.37 C40.74,16.66 40.57,16.45 40.12,16.45 L40.12,16.45 Z M34.54,16.80 L34.54,21.42 C34.76,21.65 35.02,21.76 35.24,21.76 C35.62,21.76 35.80,21.47 35.80,20.71 L35.80,17.44 C35.80,16.67 35.62,16.45 35.24,16.45 C35.02,16.45 34.76,16.57 34.54,16.80 L34.54,16.80 Z",
fill:"#fff"}}]}]});this.g=a;GV(a,this,28666);this.T("click",this.D);this.U(a,"videodatachange",this.C);this.C();g.Se(this,u_(b.o,this.element))};
F1=function(a,b,c){g.OL.call(this);var d=g.Y(a);this.Y=a;this.A=b;this.aa=window.NaN;this.S=null;this.L=c;this.L.subscribe("autohideupdate",this.iy,this);c=!fR(g.mV(a));var e=new g.X({K:"div",W:"ytp-gradient-bottom"});g.N(this,e);g.DV(a,e.element,9);this.J=new g.ZV(e,250,c,100);g.N(this,this.J);this.o=new g.X({K:"div",W:"ytp-chrome-bottom",O:[{K:"div",W:"ytp-chrome-controls"}]});g.N(this,this.o);g.DV(a,this.o.element,9);this.H=new g.ZV(this.o,250,c,100);g.N(this,this.H);c=this.o.element.children[0];
d.D&&(c.style.background=d.gb);this.g=new t1(a);g.N(this,this.g);g.DV(a,this.g.element,7);this.g.subscribe("show",this.hQ,this);this.g.subscribe("show",(0,g.A)(b.IP,b,this.g));this.B=new P0(a,b);g.N(this,this.B);this.B.Ia(this.o.element,0);e=new k0(a,b);g.N(this,e);g.DV(a,e.element,5);this.B.subscribe("height-change",e.wJ,e);e=new n0(a);g.N(this,e);g.DV(a,e.element,5);e=new g.iR({K:"div",W:"ytp-left-controls"});g.N(this,e);e.Ia(c);var f=new K0(a,b,!1);g.N(this,f);f.Ia(e.element);f=new H0(a,b);g.N(this,
f);f.Ia(e.element);f=new K0(a,b,!0);g.N(this,f);f.Ia(e.element);var k=new g.X({K:"span"});g.N(this,k);k.Ia(e.element);if(!d.S&&(this.C=new B0(a,b),g.N(this,this.C),this.C.Ia(k.element),d.L)){f=new C1(a,b,this.o.element);g.N(this,f);f.Ia(k.element);k=new g.aG(k.element);g.N(this,k);var l=(0,g.A)(f.qA,f,!0);k.subscribe("hoverstart",l);k=new g.aG(e.element);g.N(this,k);f=(0,g.A)(f.qA,f,!1);k.subscribe("hoverend",f)}this.M=new A1(a,b);g.N(this,this.M);this.M.Ia(e.element);e=new g.iR({K:"div",W:"ytp-right-controls"});
g.N(this,e);e.Ia(c);c=new z1(a,b);g.N(this,c);c.Ia(e.element);c=new k1(a,b,this.g);g.N(this,c);this.g.G=c;c.Ia(e.element);c=new s0(a);g.N(this,c);g.DV(a,c.element,6);c.subscribe("show",(0,g.A)(b.Ip,b,c));c=new t0(a,b,c);g.N(this,c);c.Ia(e.element);d.Ag&&(this.D=new E1(a,b),g.N(this,this.D),this.D.Ia(e.element));c=new y1(a,b);g.N(this,c);c.Ia(e.element);d.tb&&(c=new x1(a,b,this.g),g.N(this,c),c.Ia(e.element));d.zg&&(d=new j0(a,b),g.N(this,d),d.Ia(e.element));d=fL();d.webkitSetPresentationMode&&g.ua(d.webkitSupportsPresentationMode)&&
d.webkitSupportsPresentationMode("picture-in-picture")&&(d=new F0(a,b),g.N(this,d),d.Ia(e.element));this.ba=new r0(a,b);g.N(this,this.ba);this.ba.Ia(e.element);this.F=new g.Gt(this.aM,null,this);g.N(this,this.F);this.G=null;this.U(a,"appresize",this.vr);this.U(a,"fullscreentoggled",this.vr);this.U(a,"presentingplayerstatechange",this.Ds);this.vr()};
G1=function(a,b){if(fR(g.mV(a.Y))||b){if(b){g.aW(a.H);g.aW(a.J);if(a.C){var c=a.C;c.G=!1;g.IV(c.g,c,c.B&&!1)}a.D&&(c=a.D,c.B=!1,g.IV(c.g,c,c.A&&!1));a.A.o.ti(a.pa())}}else b||(a.H.show(),a.J.show(),a.C&&(c=a.C,c.G=!0,g.IV(c.g,c,c.B&&!0)),a.D&&(c=a.D,c.B=!0,g.IV(c.g,c,c.A&&!0)),a.iy())};
I1=function(a){var b=g.nV(a.Y).Ya().width;return Math.max(b-2*H1(a),100)};
H1=function(a){var b=a.A.Vd();return 12*(g.Y(a.Y).D?0:b?2:1)};
g.J1=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){e=g.Y(r).g;l={href:q};if("embedded"==e||"profilepage"==e)l.target="blank";g.X.call(this,["div",["ytp-button","ytp-sb"],["a","ytp-sb-subscribe",l,["div","ytp-sb-text",["div","ytp-sb-icon"],a],b?["div","ytp-sb-count",b]:""]]);this.T("click",function(a){a.stopPropagation()});
f&&g.S(this.element,"ytp-sb-classic")}else{g.X.call(this,["div",["ytp-button","ytp-sb"],["button","ytp-sb-subscribe",["div","ytp-sb-text",["div","ytp-sb-icon"],a],b?["div","ytp-sb-count",b]:""],["button","ytp-sb-unsubscribe",["div","ytp-sb-text",["div","ytp-sb-icon"],c],d?["div","ytp-sb-count",d]:""]]);var v=this;this.g=k;this.Y=r;a=this.wa["ytp-sb-subscribe"];b=this.wa["ytp-sb-unsubscribe"];f&&g.S(this.element,"ytp-sb-classic");if(e){l&&g.S(this.element,"ytp-sb-subscribed");var x=g.Y(r),B=null;"gaming"==
x.o&&(B="gaming_channels");m?(this.U(a,"click",function(a){a.stopPropagation();g.TE(x.baseYtUrl+"subscription_ajax",{method:"POST",Rc:{action_create_subscription_to_channel:1,c:v.g},Rb:{feature:m,silo_name:B},withCredentials:!0});r.ya("SUBSCRIBE");a.stopPropagation()}),this.U(b,"click",function(a){a.stopPropagation();
g.TE(x.baseYtUrl+"subscription_ajax",{method:"POST",Rc:{action_remove_subscriptions:1},Rb:{c:v.g,silo_name:B},withCredentials:!0});r.ya("UNSUBSCRIBE")})):n&&(this.U(a,"click",function(a){a.stopPropagation();
g.TE("/subscription_service",{method:"POST",Rc:{action_subscribe:1},Rb:{channel_ids:v.g,itct:n}});r.ya("SUBSCRIBE");a.stopPropagation()}),this.U(b,"click",function(a){a.stopPropagation();
g.TE("/subscription_service",{method:"POST",Rc:{action_unsubscribe:1},Rb:{channel_ids:v.g,itct:n}});r.ya("UNSUBSCRIBE");a.stopPropagation()}));
r.addEventListener("SUBSCRIBE",this.A,this);r.addEventListener("UNSUBSCRIBE",this.B,this)}else a.disabled=!0,b.disabled=!0}};
K1=function(a){g.X.call(this,{K:"div",W:"ytp-title",O:[{K:"div",W:"ytp-title-channel",O:[{K:"div",W:"ytp-title-beacon"},{K:"a",W:"ytp-title-channel-logo",Z:{href:"{{channelImageLink}}",target:"_blank"}},{K:"div",W:"ytp-title-channel-popup",O:[{K:"div",W:"ytp-title-channel-heading",O:[{K:"h2",W:"ytp-title-channel-text",O:[{K:"a",Z:{href:"{{channelNameLink}}",target:"_blank"},O:["{{channelName}}"]}]},{K:"h3",W:"ytp-title-channel-subtext",O:["{{subscriberCount}}"]}]}]}]},{K:"div",W:"ytp-title-text",
O:[{K:"a",ea:["ytp-title-link","yt-uix-sessionlink"],Z:{target:"_blank",href:"{{url}}","data-sessionlink":"feature=player-title"},O:["{{title}}"]},{K:"div",W:"ytp-title-subtext",O:[{K:"a",W:"ytp-title-channel-name",Z:{href:"{{uploadedByLink}}",target:"_blank"},O:["{{uploadedBy}}"]},{K:"span",W:"ytp-title-view-count",O:["{{viewCount}}"]}]}]}]});var b=this;this.g=a;this.B=null;this.J=this.wa["ytp-title-link"];this.F=this.wa["ytp-title-channel-logo"];this.G=null;var c=g.Y(a),d=c.experiments.g("embed_author_metadata");
d&&c.tc&&(c=a.ha(),this.A=new g.J1(g.U("YTP_SUBSCRIBE"),null,g.U("YTP_SUBSCRIBED"),null,!0,!1,c.Rk,!1,"embed_title",null,null,a),g.N(this,this.A),this.A.Ia(this.wa["ytp-title-channel-popup"]));this.H=null;GV(a,this,23851);this.U(a,"videodatachange",this.C);this.U(a,"videoplayerreset",this.C);d&&(this.U(this.F,"mouseenter",function(){b.D.stop();g.S(a.getRootNode(),"ytp-title-channel-expanded")}),this.U(this.element,"mouseleave",function(){b.D.start()}),this.D=new g.Jt(function(){g.cq(a.getRootNode(),
"ytp-title-channel-expanded")},500),g.N(this,this.D));
this.C()};
M1=function(a){var b=a.g.ha(),c=b.videoId&&(2==a.g.ab()||g.Y(a.g).experiments.g("embed_author_metadata")),d=a.g.getRootNode();c&&b.videoId==a.G?g.S(d,"ytp-title-extra-info"):(g.cq(d,"ytp-title-extra-info"),c&&(b.author&&b.channelPath&&b.profilePicture?L1(a,b.videoId,b.Rk,b.author,b.channelPath,b.profilePicture,b.ks):b.videoId!=a.H&&(c=g.Y(a.g),d={video_id:b.videoId,html5:1,page_subscribe:0},c.tc&&(d.authuser=c.tc),c.pageId&&(d.pageid=c.pageId),c=g.Gg(c.baseYtUrl+"get_video_metadata",d),g.TE(c,{method:"GET",
Lb:(0,g.A)(a.M,a,b.videoId),withCredentials:!0}),a.H=b.videoId)))};
L1=function(a,b,c,d,e,f,k){e=g.Y(a.g).fa+"://"+PO(g.Y(a.g))+e;a.F.style.backgroundImage="url("+f+")";a.A&&(a.A.g=c);a.Ca("channelImageLink",e);a.Ca("channelNameLink",e);a.Ca("uploadedByLink",e);a.Ca("channelName",d);a.Ca("subscriberCount",k);a.Ca("uploadedBy",g.U("YTP_UPLOADED_BY_2",{AUTHOR:d}));a.G=b;M1(a)};
N1=function(a,b){var c=g.nV(a).Ya();g.X.call(this,{K:"div",O:[{K:"div",W:"ytp-tooltip-bg",O:[{K:"div",W:"ytp-tooltip-duration",O:["{{duration}}"]}]},{K:"div",W:"ytp-tooltip-text-wrapper",O:[{K:"div",W:"ytp-tooltip-image"},{K:"div",W:"ytp-tooltip-title",O:["{{title}}"]},{K:"span",W:"ytp-tooltip-text",O:["{{text}}"]}]}]});this.M=a;this.ga=b;this.ca=g.Y(a).isMobile;this.G=this.wa["ytp-tooltip-bg"];this.ka=this.wa["ytp-tooltip-image"];this.fa=(0,g.A)(this.JM,this);this.N=(0,g.A)(this.LM,this);this.A=
null;this.H=new g.ZV(this,100);g.N(this,this.H);this.g=null;this.L=!1;this.B=null;this.C=window.NaN;this.F="";this.da=c.width;this.J=!0;this.D=1;this.S=new g.Jt(this.BI,250,this);g.N(this,this.S);this.aa=new g.Jt(this.Ud,5E3,this);g.N(this,this.aa)};
P1=function(a,b){if(null!=a.g)if(b)switch(a.g){case 3:case 2:O1(a);a.H.show();break;default:a.H.show()}else g.aW(a.H);a.J=b};
u_=function(a,b){if(a.ca)return g.y;b.addEventListener("mouseover",a.N);return(0,g.A)(function(){this.A==b&&this.Ud();b.removeEventListener("mouseover",this.N)},a)};
R1=function(a,b,c){if(a.g)if(3==a.g)a.Ud();else return;Q1(a,b,3,c)};
Q1=function(a,b,c,d){(0,window.isNaN)(a.C)||(a.C=window.NaN,a.G.style.background="");a.A=b;a.L=!!d;d?a.F=d:(a.F=b.getAttribute("title"),b.removeAttribute("title"));a.element.className="ytp-tooltip";if(b=b.getAttribute("data-tooltip-image"))a.ka.style.backgroundImage="url("+b+")";g.T(a.element,"ytp-tooltip-image-enabled",!!b);a.g=c;a.M.addEventListener("appresize",a.Ud,a);a.J&&(O1(a),a.H.show(0))};
O1=function(a){var b=a.A.getAttribute("data-tooltip-text");if(b&&!a.L){a.Ca("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.D,f=90*a.D,k=160*a.D,l=90*a.D;a.G.style.width=e+"px";a.G.style.height=f+"px";a.G.style.backgroundImage=d?"url("+d+")":"";a.G.style.backgroundPosition=(e-k)/2+"px "+(f-l)/2+"px";a.G.style.backgroundSize=k+"px "+l+"px";g.bq(a.element,["ytp-text-detail","ytp-preview"]);g.T(a.element,"ytp-has-duration",
!!c)}else a.Ca("text",a.F),g.dq(a.element,["ytp-text-detail","ytp-preview","ytp-has-duration"]);3==a.g?a.element.setAttribute("role","status"):a.element.removeAttribute("role");S1(a,!!b)};
S1=function(a,b,c){a.element.style.maxWidth=b?"":Math.min(a.da,200*a.D)+"px";T1(a.ga,a.element,a.A,c,1==a.g);a.element.style.top?g.S(a.element,"ytp-bottom"):a.element.style.bottom&&g.S(a.element,"ytp-top");3==a.g&&a.aa.start()};
E0=function(a){a.A&&!a.L&&a.A.hasAttribute("title")&&(a.F=a.A.getAttribute("title"),a.A.removeAttribute("title"),a.J&&O1(a))};
U1=function(a,b){g.T(a.element,"ytp-preview",0<=b);if(!(0>b||b==a.C)){a.C=b;var c=160*a.D,d=160*a.D,e=fQ(a.B,a.C,c);aX(a.G,e,c,d,!0);a.S.start()}};
g.V1=function(a,b,c,d,e){d=d||375;e=e||440;var f=window.document.location.protocol+"//"+window.document.domain+"/post_login";b&&(f=Fg(f,"mode",b));b=Fg("/signin?context=popup","next",f);c&&(b=Fg(b,"feature",c));if(c=window.open(b,"loginPopup","width="+d+",height="+e+",resizable=yes,scrollbars=yes",!0))b=g.mG("LOGGED_IN",function(b){g.nG(g.YD("LOGGED_IN_PUBSUB_KEY",void 0));g.XD("LOGGED_IN",!0);a(b)}),g.XD("LOGGED_IN_PUBSUB_KEY",b),c.moveTo((window.screen.width-d)/2,(window.screen.height-e)/2)};
Y1=function(a,b,c){g.X.call(this,{K:"button",ea:["ytp-watch-later-button","ytp-button"],Z:{title:"{{title}}","data-tooltip-image":"{{image}}"},O:[{K:"div",W:"ytp-watch-later-icon",O:["{{icon}}"]},{K:"div",W:"ytp-watch-later-title",O:["{{watch_later}}"]}]});this.g=a;this.G=b.o;this.F=c;g.S(c,"ytp-watch-later-button-visible");this.D=null;this.B=this.A=!1;GV(a,this,28665);this.T("click",this.gK,this);this.U(a,"videoplayerreset",this.hK);this.U(a,"appresize",this.ld);this.ld(g.nV(a).Ya());a=g.Y(this.g);
c=g.WG("yt-player-watch-later-pending");a.experiments.g("embed_show_watchlater_login")&&a.A&&c?(jJ(),W1(this,c.videoId)):X1(this,2);g.Se(this,u_(b.o,this.element))};
W1=function(a,b){if(!a.B){a.B=!0;X1(a,3);var c=g.Y(a.g);(a.A?Ina:Hna)({videoIds:b,tc:c.tc,pageId:c.pageId,onError:a.HO,Lb:a.A?a.IO:a.GO,context:a},c.baseYtUrl,!0)}};
X1=function(a,b,c){if(b!=a.D){var d;switch(b){case 3:d=bW();break;case 1:d=g.bE?{K:"div",ea:["ytp-icon","ytp-icon-watch-later-added"]}:{K:"svg",Z:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},O:[{K:"path",Ra:!0,W:"ytp-svg-fill",Z:{d:"M15.03,26 L7,17.91 L9.83,15.05 L14.94,20.19 L25.07,10 L28,12.94 L15.03,26 Z"}}]};break;case 2:d=g.bE?{K:"div",ea:["ytp-icon","ytp-icon-watch-later"]}:{K:"svg",Z:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},O:[{K:"path",Ra:!0,W:"ytp-svg-fill",
Z:{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.bE?{K:"div",ea:["ytp-icon","ytp-icon-alert"]}:{K:"svg",Z:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},O:[{K:"path",Ra:!0,W:"ytp-svg-fill",Z:{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.Ca("icon",
d);a.D=b}c?a.update({title:c,image:null}):(b=g.Y(a.g),b.userDisplayName?(c={USER_NAME:b.userDisplayName},a.update({title:a.A?g.U("YTP_ADDED_TO_WATCH_LATER_AS",c):g.U("YTP_WATCH_LATER_AS_2",c),image:b.userDisplayImage})):a.update({title:g.U("YTP_WATCH_LATER"),image:null}));E0(a.G)};
Z1=function(a){g.X.call(this,{K:"a",ea:["ytp-watermark","yt-uix-sessionlink"],Z:{target:"_blank",href:"{{url}}","aria-label":g.U("YTP_URL_NAVIGATE_TO",{WEBSITE:QO(g.Y(a))}),"data-sessionlink":"feature=player-watermark"},O:[g.bE?{K:"div",ea:["ytp-icon","ytp-icon-watermark"]}:{K:"svg",Z:{height:"100%",version:"1.1",viewBox:"0 0 77 34",width:"100%"},O:[{K:"path",Ra:!0,W:"ytp-svg-fill",Z:{d:"m 26.81,26.92 0,-1.67 c -1.06,1.25 -1.96,1.89 -2.94,1.89 -0.86,0 -1.46,-0.41 -1.76,-1.17 -0.18,-0.46 -0.31,-1.18 -0.31,-2.23 l 0,-12.18 2.80,0 0,12.48 c .06,.42 .24,.58 .59,.58 .53,0 1.02,-0.48 1.61,-1.34 l 0,-11.72 2.80,0 0,15.38 -2.80,0 0,0 z M 18.83,12.91 c -0.74,-1.05 -1.91,-1.48 -3.10,-1.48 -1.33,0 -2.35,.43 -3.10,1.48 -0.57,.77 -0.88,2.02 -0.88,3.66 l -0.00,5.46 c 0,1.63 .27,2.76 .84,3.53 .74,1.04 1.95,1.60 3.13,1.60 1.18,0 2.41,-0.55 3.16,-1.60 .56,-0.76 .82,-1.89 .82,-3.53 l 0,-5.48 c 0,-1.64 -0.32,-2.87 -0.88,-3.65 l 0,0 0,0 z m -1.91,9.44 c .14,1.52 -0.31,2.27 -1.18,2.27 -0.87,0 -1.32,-0.75 -1.18,-2.27 l 0,-6.09 c -0.14,-1.52 .31,-2.23 1.18,-2.23 .87,0 1.33,.71 1.18,2.23 l -0.00,6.09 0,0 z m -8.27,4.56 -2.95,0 0,-8.37 c 0,0 -3.06,-10.27 -3.69,-12.18 l 3.10,0 2.07,8.02 2.06,-8.02 3.10,0 -3.69,12.18 0,8.37 0,0 z"}},
{K:"path",ea:["ytp-svg-fill","ytp-svg-fill-logo-tube-text"],Z:{d:"m 34,5.07 40,0 0,24 -40,0 z",fill:"none"}},{K:"path",Ra:!0,ea:["ytp-svg-fill","ytp-svg-fill-logo-tube-lozenge"],Z:{d:"M 73.80,3.53 C 72.12,1.72 70.24,1.72 69.38,1.61 63.21,1.15 53.95,1.15 53.95,1.15 c -0.01,0 -9.27,0 -15.44,.45 -0.86,.10 -2.74,.11 -4.41,1.91 -1.32,1.37 -1.75,4.49 -1.75,4.49 0,0 -0.44,3.66 -0.44,7.32 l 0,3.43 c 0,3.66 .44,7.32 .44,7.32 0,0 .43,3.11 1.75,4.49 1.67,1.80 3.88,1.74 4.86,1.93 C 42.48,32.89 53.94,33 53.94,33 c 0,0 9.26,-0.01 15.43,-0.47 .86,-0.10 2.74,-0.11 4.41,-1.91 1.32,-1.37 1.75,-4.49 1.75,-4.49 0,0 .44,-3.66 .44,-7.32 l 0,-3.43 c 0,-3.66 -0.44,-7.32 -0.44,-7.32 0,0 -0.43,-3.11 -1.75,-4.49 l 0,0 0,0 z m -35.17,23.39 0,-17.51 -3.10,0 0,-2.89 9.30,-0.00 0,2.89 -3.24,0 0,17.51 -2.95,0 0,0 z m 10.78,0 0,-1.67 c -1.06,1.25 -1.96,1.89 -2.94,1.89 -0.86,0 -1.46,-0.41 -1.76,-1.17 -0.18,-0.46 -0.31,-1.18 -0.31,-2.23 l 0,-12.03 2.80,0 0,12.33 c .06,.42 .24,.58 .59,.58 .53,0 1.02,-0.48 1.61,-1.34 l 0,-11.57 2.80,0 0,15.23 -2.80,0 0,0 z m 12.70,-1.52 c -0.35,1.13 -1.13,1.71 -2.19,1.71 -0.95,0 -2.01,-0.58 -2.90,-1.72 l -0.00,1.53 -3.02,0 0,-20.40 3.02,0 -0.00,6.65 c .86,-1.09 1.92,-1.71 2.91,-1.71 1.06,0 1.78,.63 2.13,1.77 .17,.61 .35,1.59 .35,3.03 l 0,6.09 c 0,1.40 -0.11,2.40 -0.29,3.04 l 0,0 0,0 z m 7.36,-1.89 c .02,-0.15 .02,-0.80 .02,-1.91 l 2.80,0 0,.43 c 0,.88 -0.07,1.51 -0.09,1.79 -0.09,.61 -0.30,1.16 -0.62,1.65 -0.73,1.10 -1.83,1.64 -3.23,1.64 -1.39,0 -2.46,-0.51 -3.23,-1.55 -0.56,-0.76 -0.93,-1.89 -0.93,-3.51 l 0,-5.33 c 0,-1.62 .33,-2.88 .89,-3.65 .77,-1.04 1.83,-1.59 3.20,-1.59 1.34,0 2.40,.55 3.15,1.59 .55,.76 .86,1.95 .86,3.58 l 10e-4,3.11 -5.32,0 0,2.73 c -0.00,1.40 .37,2.11 1.29,2.11 .65,0 1.04,-0.36 1.19,-1.10 l 0,0 0,0 z m -1.21,-9.51 c -0.89,0 -1.27,.38 -1.27,1.81 l 0,1.68 2.51,-0.00 0,-1.66 c 0,-1.40 -0.35,-1.83 -1.23,-1.83 l 0,0 0,0 z m -11.16,.69 -0.00,9.23 c .44,.46 .95,.69 1.39,.69 .77,0 1.11,-0.58 1.11,-2.10 l 0,-6.54 c 0,-1.52 -0.34,-1.97 -1.11,-1.97 -0.44,0 -0.94,.23 -1.39,.69 l 0,0 0,0 z",
fill:"#fff"}}]}]});this.A=a;this.g=null;this.U(a,"videodatachange",this.B);this.U(a,"presentingplayerstatechange",this.D);a=g.mV(a);this.Jb(!g.W(a,2));this.B()};
$1=function(a){n_.call(this,a);var b=g.Y(a),c=g.nV(a),d=g.Y(this.g),e=d.aa;if(iL("ytp-normal-css-loaded")){var f=iL("ytp-sprite-mode-css-loaded");e!=f&&g.zE(Error("Player sprite mode mismatch. playerInSpriteMode: "+e+", spriteModeCssServed: "+f+", isMobile: "+d.isMobile),"WARNING")}this.S=null;this.H=[];d=new g.X({K:"div",W:"ytp-gradient-top"});g.N(this,d);g.DV(a,d.element,1);this.Ta=new g.ZV(d,250,!0,100);g.N(this,this.Ta);this.C=new g.X({K:"div",W:"ytp-chrome-top"});g.N(this,this.C);g.DV(a,this.C.element,
1);this.Qa=new g.ZV(this.C,250,!0,100);g.N(this,this.Qa);this.ka=[];this.o=new N1(a,this);g.N(this,this.o);g.DV(a,this.o.element,5);!b.experiments.g("related_on_pause_killswitch")&&b.A&&b.Zb&&(this.tb=new Z_(a,this),g.N(this,this.tb),g.DV(a,this.tb.element,5));this.G=new t_(a,this);g.N(this,this.G);g.DV(a,this.G.element,2);d=new r_(a,this.G);g.N(this,d);g.DV(a,d.element,6);d=new c0(a);g.N(this,d);g.DV(a,d.element,6);d.subscribe("show",(0,g.A)(this.Ip,this,d));this.ka.push(d);d=new e0(a,this,d);g.N(this,
d);d.Ia(this.C.element);this.Ja=new K1(a);g.N(this,this.Ja);this.Ja.Ia(this.C.element);d=new g.iR({K:"div",W:"ytp-chrome-top-buttons"});g.N(this,d);d.Ia(this.C.element);b.experiments.g("embed_show_top_buttons")&&b.A&&g.S(d.element,"ytp-chrome-top-show-buttons");b.sK&&(this.na=new Y1(a,this,this.C.element),g.N(this,this.na),this.na.Ia(d.element));e=new g0(a,this);g.N(this,e);g.DV(a,e.element,6);e.subscribe("show",(0,g.A)(this.Ip,this,e));this.ka.push(e);this.Pa=new i0(a,this,e,this.C.element);g.N(this,
this.Pa);this.Pa.Ia(d.element);(this.A="1"==b.C?new F1(a,this,this.B):null)&&g.N(this,this.A);"3"==b.C&&(d=new f0(a,this),g.N(this,d),g.DV(a,d.element,9));this.J=new R_(a,this);g.N(this,this.J);this.J.subscribe("show",this.Sx,this);this.Ea=!1;b.Bg&&(d=new Z1(a),g.N(this,d),g.DV(a,d.element,8));d=new q_(a);g.N(this,d);g.DV(a,d.element,5);this.da=new g.X({K:"div",Z:{tabindex:0}});this.da.T("focus",this.aG,this);g.N(this,this.da);this.ca=new g.X({K:"div",Z:{tabindex:0}});this.ca.T("focus",this.bG,this);
g.N(this,this.ca);(this.fa=b.useTabletControls?null:new T_(a,c,this.J,this.B,this.F,(0,g.A)(this.im,this)))&&g.N(this,this.fa);this.U(a,"fullscreentoggled",this.nJ);this.U(a,"offlineslatestatechange",this.UM,this);this.U(a,"cardstatechange",this.vg,this)};
T1=function(a,b,c,d,e){b.style.left="";b.style.top="";b.style.bottom="";var f=g.wh(b);e=e||a.A&&g.Fe(a.A.pa(),c);var k,l;null!=d&&e||(k=g.wh(c),l=g.th(c,a.g.getRootNode()));d=(null==d?l.x+k.width/2:d)-f.width/2;e?(k=H1(a.A),l=I1(a.A),c=g.nV(a.g).Ya().height,d=g.Rd(d,k,k+l-f.width),f=c-(a.A.A.Vd()?72:50)-f.height):g.Fe(a.C.element,c)?(k=g.nV(a.g).Ya().width,d=g.Rd(d,12,k-f.width-12),f=a.Vd()?69:48,"gvn"==g.Y(a.g).o&&(f+=20)):(a=g.nV(a.g).Ya(),d=g.Rd(d,12,a.width-f.width-12),f=l.y>(a.height-k.height)/
2?l.y-f.height-12:l.y+k.height+12);b.style.top=f+"px";b.style.left=d+"px"};
a2=function(a,b,c){b=c?b.lastElementChild:b.firstElementChild;for(var d=null;b;){if("none"!=g.hh(b,"display")&&"true"!=b.getAttribute("aria-hidden")){var e=void 0;0<=b.tabIndex?e=b:e=a2(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};
b2=function(a){this.H=a;this.D=null;this.A=[];this.o=[];this.C=[];this.G=1;this.g=[];this.B=!1};
g.FV=function(a,b,c){a.B?a.C.push({type:b,data:c}):a.H.V(b,c)};
c2=function(a,b){g.M.call(this);this.aa=Zia(b);var c=this.aa.args||{};this.X=new MO(c);g.N(this,this.X);this.X.experiments.g("legacy_autoplay_flag")||"detailpage"!=this.X.g||(c.autoplay="1");this.oc=qO("detailpage"==this.X.g&&"blazer"!=this.X.o,c.enablesizebutton);this.ra=qO(!1,c.player_wide);this.N=this.X.Hb&&qO(!1,c.external_list);this.sa=(this.Zb=this.X.Hb&&qO(!1,c.external_play_video))&&this.X.experiments.g("player_unified_fullscreen_transitions");this.ga=new g.OL(this);g.N(this,this.ga);Gc=function(a,
b){g.zE(b,"WARNING")};
this.Pa=null;this.J=new g.rD;this.S=new g.rD;this.ba=new b2(this.S);this.ba.pause();this.g=new eV(this);g.N(this,this.g);this.G=new eV(this,1);g.N(this,this.G);this.D=new rZ(this);g.N(this,this.D);this.M=1;this.Ta={};this.L=this.X.storeUserVolume?Eja():{volume:100,muted:this.X.mute};this.Y=this.X.Hb?new jK(this,1):new oJ(this,1);g.N(this,this.Y);this.F=null;this.Qa={};this.tb={internalAbandon:this.MK,internalvideodatachange:this.LK,playbackready:this.NK,playbackstarted:this.OK,statechange:this.PK,
signatureexpired:this.UN};this.A=Rna(this);g.N(this,this.A);this.H=new MP(this.X,"",this.A);this.o=Sna(this);this.hc={airplayactivechange:this.CK,airplayavailabilitychange:this.DK,beginseeking:this.XK,endseeking:this.ML,internalAbandon:this.eM,internalaudioformatchange:this.RK,internalvideodatachange:this.Ws,internalvideoformatchange:this.xO,liveviewshift:this.kM,playbackstalledatstart:this.aO,progresssync:this.KQ,seekto:this.LQ,onLoadProgress:this.lM,onVideoProgress:this.NQ,playbackready:this.hN,
statechange:this.zz,connectionissue:this.vL,newelementrequired:this.OM,heartbeatparams:this.IQ,videoelementevent:this.MQ};this.C=null;this.ka=new OZ(5,(0,g.A)(function(a){a!=g.lV(this,a.getPlayerType())&&a.dispose()},this));
g.N(this,this.ka);this.wb=this.yb=-1;this.qb=new g.Jt(this.D.Xf,16,this.D);g.N(this,this.qb);this.gb=!1;this.ca=!0;this.na=this.Ja=this.B=null;this.Ab=!1;this.Eb=this.ac=null;this.Wa=this.da=0;this.va=this.Ea=!1;this.fa=null;this.g.addEventListener("crn_"+c2.A,this.JK,this);this.g.addEventListener("crx_"+c2.A,this.KK,this);this.g.addEventListener("crn_"+c2.o,this.Jy,this);this.g.addEventListener("crx_"+c2.o,this.Jy,this);this.g.addEventListener("presentingplayerstatechange",this.JQ,this);this.ga.U(this.g,
"resize",this.EN,this);this.D.Ia(g.de(a));this.Mb=this.X.experiments.g("html5_enable_embedded_player_visibility_signals")&&this.X.A?new QZ(this.D.element):null;g.N(this,this.Mb);g.bE=this.X.aa;Tna(this);this.H.o("fs");Una(this);Vna(this);g.tV(this.G,"init")};
Vna=function(a){var b;b=new $1(a.g);a.A.D=b;b.init();g.N(a,b)};
Sna=function(a){var b=new iU(a.X,1,a.H,a.D,(0,g.A)(a.J.V,a.J),(0,g.A)(a.Ej,a));dV(b,a.X.A?1:d2(a,g.WG("yt-player-playback-rate")||1));e2(a,b,a.tb);return b};
Rna=function(a){var b="",c=a.aa.assets.js||"";0==c.indexOf("//")&&(c=a.X.fa+":"+c);"/base.js"==c.substr(-8)&&(b=c.substr(0,c.length-8)+"/");b=new mZ(a.g,b,a);c={};c.loaded=(0,g.A)(a.FM,a);c.unloaded=(0,g.A)(a.GM,a);c.destroyed=(0,g.A)(a.zr,a);b.ca=c;return b};
g2=function(a,b){a.Pa||(a.Pa=new NZ(a),g.N(a,a.Pa),g.DV(a.g,a.Pa.element,5));a.Pa.Jb(b);f2(a)&&g.kV(a.A).fS()};
i2=function(a){var b;b=h2.getTag(!0,!a.X.F);a.F=new JL(b);a.C&&IU(a.C,a.F);try{if(a.X.S)a.na&&a.ga.Ba(a.na),a.na=a.ga.U(a.F,"volumechange",a.CM);else{a.F.setVolume(a.L.volume/100);var c=a.F,d=a.L.muted;hL();c.g.muted=d}}catch(e){b="setvolume.1;emsg."+(e.message&&e.message.replace(/[;:,]/g,"_"));g.rU(a.o,"html5.missingapi","YTP_ERROR_UNSUPPORTED_DEVICE",b);return}Gna(a.D,b);try{vL(a.F)}catch(e){b="activate.1;emsg."+(e.message&&e.message.replace(/[;:,]/g,"_")),g.rU(a.o,"html5.missingapi","YTP_ERROR_UNSUPPORTED_DEVICE",
b)}};
j2=function(a){if(a.F){a.na&&(a.ga.Ba(a.na),a.na=null);a.C&&HU(a.C);var b=a.D;b.g&&(g.ye(b.g),b.g=null);h2.releaseTag(a.F.pa());a.F=null}};
aZ=function(a,b){if(a.C!=b){var c=null;a.C&&(c=a.C.A,qZ(a.A),zV(a,"cuerangesremoved",a.C.D.g.g||[]),bZ(a));k2(a,b);a.C=b;a.F&&IU(b,a.F);e2(a,b,a.hc);a.Ws("newdata",b,b.g);a.X.experiments.g("disable_new_presenting_state_change")||!c||g.dR(c,b.A)||a.zz(new g.$T(b.A,c));b.fa.g&&a.Ws("dataloaded",b,b.g);b.g.Ma&&a.g.ya("onPlaybackQualityChange",b.g.Ma.video.quality);zV(a,"cuerangesadded",a.C.D.g.g||[]);eR(b.A)&&OU(b)}};
e2=function(a,b,c){for(var d in c)b.subscribe(d,c[d],a)};
k2=function(a,b){if(b!=a.o){var c=b.getPlayerType();a.Qa[c]=b}};
bZ=function(a){HU(a.C);var b=a.C,c=a.hc,d;for(d in c)b.unsubscribe(d,c[d],a);b=a.C;b!=a.o&&(c=b.getPlayerType(),a.Qa[c]==b&&delete a.Qa[c]);a.C=null};
g.lV=function(a,b){return b?1==b?a.o:a.Qa[b]||null:a.C};
$Y=function(a,b){var c=g.lV(a,b);c||(c=l2(a,b),k2(a,c));return c};
l2=function(a,b){var c;2==b?(c=Wb(a.X.J),a.X.experiments.g("legacy_autoplay_flag")&&(c.autoplay="1"),c.eventid=m2(a).eventId,c.content_v=m2(a).videoId,c=new MO(c),c.g="adunit",c=new iU(c,2,new MP(c,""),a.D,(0,g.A)(a.J.V,a.J),(0,g.A)(a.Ej,a))):c=new iU(a.X,b,a.H,a.D,(0,g.A)(a.J.V,a.J),(0,g.A)(a.Ej,a));return c};
n2=function(a){var b=a.A;if(!b.o)try{b.Y.ha(1).adModule?(b.o=new TY(b.da,b.da.G),b.o.create()):g.CV(b.Y,"ad")}catch(c){g.CV(b.Y,"ad"),g.zE(c)}b.vv();b.qv();b.xv();b.zv();b.yv();b.uv();b.lv();b.ov();b.tv();b.rv();b.Bp();a.g.V("videoready",m2(a))};
m2=function(a){return a.C.g};
o2=function(a,b){var c=g.lV(a,b);return(c=c?c.o:null)?FL(c):0};
p2=function(a){var b=a.o.g;return a.X.experiments.g("legacy_autoplay_flag")?a.X.qh:b.dh};
Tna=function(a){var b=new g.pQ(a.aa.args);g.AH()&&b.Xd.push("remote");b.Be()&&(qU(a.o,b,(0,g.A)(a.hg,a)),p2(a)&&(a.X.hc||a.X.oc||a.X.experiments.F)&&tU(a.o))};
Una=function(a){var b=a.D,c=b.app.X;c.md||b.zt("tag-pool-enabled");c.xc&&b.zt("house-brand");"gvn"==c.o&&(b.zt("ytp-gvn"),b.element.style.backgroundColor="transparent");c.ga&&(b.G=g.mG("yt-dom-content-change",b.Xf,b));b.U(window,"resize",b.Xf,b);b=a.Y;b.o=a.D.element;for(var d in b.B)b.o[d]=b.B[d];for(d in b.C)b.o[d]=b.C[d];(d=GF(a.D.element))&&a.ga.U(a.D,d,a.TL);a.ga.U(window,"resize",a.FN);b=a.aa.args;i2(a);d=a.o.g;a.g.ya("onVolumeChange",a.L);if(b&&RQ(b))if((c=SO(a.X))&&!a.N&&(b.fetch=0),q2(a,
b),c&&!a.N)r2(a);else if(!d.Be())a.B.onReady((0,g.A)(a.Gr,a));if(b=a.aa.args.jsapicallback)g.ua(b)||(b=g.w(b)),b&&(0,g.A)(b,na,a.X.wm);aZ(a,a.o);g.W(a.o.A,128)||(b=gL(a.X.F),"fmt.noneavailable"==b?g.rU(a.o,"html5.missingapi","YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK","nocodecs.1"):"html5.missingapi"==b?g.rU(a.o,b,"YTP_ERROR_UNSUPPORTED_DEVICE","nocanplaymedia.1"):d&&d.Be()&&p2(a)&&(a.X.hc||a.X.oc)?s2(a):"leanback"!=a.X.g&&t2(a))};
t2=function(a){a.g.V("initializingmode");g.u2(a,2);a.A.Bp()};
s2=function(a){if(g.W(a.o.A,128))return!1;p2(a)&&a.X.oc&&(h2.hasTags(void 0)&&a.va?(rJ(a,{muted:!1,volume:a.L.volume},!1),v2(a,!1)):h2.hasTags(void 0)||a.L.muted||(rJ(a,{muted:!0,volume:a.L.volume},!1),v2(a,!0)));w2(a,1,a.o.g.videoId);a.g.V("initializingmode");aZ(a,a.o);g.u2(a,3);var b;if(!(b=!a.X.md||IO()&&!a.Ab)){if(b=a.fa)b=a.F,b=!!b&&b==a.fa.g;b=b&&a.Ab}b&&(j2(a),i2(a),IU(a.o,a.F));wU(a.o);if(g.W(a.o.A,128))return!1;x2(a,3);return a.Ab=!0};
f2=function(a){a=g.kV(a.A);return!!a&&a.loaded};
y2=function(a,b){if(a.C==a.o&&a.C.hc!=b){var c=a.C;c.hc=b;c.o&&(c.o.g.loop=b);a.g.V("loopchange",b)}};
z2=function(a,b,c){(0,window.isNaN)(b)||(b=d2(a,b),a.o.va!=b&&(dV(a.o,b),c&&!a.X.A&&g.VG("yt-player-playback-rate",b),a.g.ya("onPlaybackRateChange",b)))};
d2=function(a,b){var c=1,c=a.g.Uk();return c=1>b?g.Za(c,function(a){return a>=b}):ab(c,function(a){return a<=b})};
A2=function(a,b){var c=$U(a.o,b);a.C&&a.C!=a.o&&(c=c2.B(c,$U(a.C,b),"ad_"));if(b&&a.F){c["0sz"]=0==g.wh(a.F.g).Lc();c.op=gh(a.F.g,"opacity");var d=lh(a.F.g).y+g.wh(a.F.g).height;c.yof=0>=d;c.dis=gh(a.F.g,"display")}(d=b?FJ():null)&&(c.gpu=d);c.cgr=!0;c.debug_playbackQuality=a.G.qo();c.debug_date=(new Date).toString();delete c.uga;delete c.q;(d=a.A.C)&&(c=c2.B(c,d.BB(),"fresca_"));return JSON.stringify(c,null,2)};
jV=function(a){return 1==a.M?1:f2(a)?3:g.lV(a).getPlayerType()};
B2=function(a,b){return 3==jV(a)?QJ(g.kV(a.A).F):2==b?a.wb:a.yb};
C2=function(a){var b=a.A.o;b&&b.D&&b.destroy();y2(a,!1);a.Ta={};a=a.H;b=a.A;b.aa={};b.S={};a.B=!1};
r2=function(a){var b=D2();if(b)if(!b.list)a.Rl();else if(a.B&&a.B.listId.toString()==b.list)if(0<=b.index){var c=b.video;a.g.isFullscreen()&&((c=c[a.B.Rd()])&&c.encrypted_id!=a.B.dc().videoId||(b.index=a.B.Rd()));VQ(a.B,b);a.Ja&&E2(a,a.Ja)}else a.Ja=null};
q2=function(a,b){a.B&&(a.B.unsubscribe("error",a.Rl,a),g.Te(a.B),a.B=null);b&&(a.N&&(b.fetch=0),a.B=new g.QQ(b),a.B.subscribe("error",a.Rl,a))};
F2=function(a,b,c,d){b in a.Ta||(c=new g.ZS(c,d,{id:b,priority:1}),c.namespace=c2.o,eT(a.o.D,[c]),a.Ta[b]=c)};
G2=function(a,b,c){c={label:c};a.X.experiments.g("send_pyv_ad_mt_and_abandon_pings")&&(a=1E3*a.getCurrentTime(),c.ad_mt=Math.round(Math.max(0,a)).toString());return g.QE(b,c)};
g.u2=function(a,b){b!=a.M&&(2==b&&(x2(a,-1),x2(a,5)),a.M=b,a.g.V("appstatechange",b))};
x2=function(a,b){a.C&&2==a.C.getPlayerType()?a.wb!=b&&(a.wb=b,a.g.ya("onAdStateChange",b)):a.yb!=b&&(a.yb=b,a.g.ya("onStateChange",b))};
iZ=function(a,b,c,d,e){c=0!=c;if(e=g.lV(a,e))2==a.M&&s2(a),yU(e,b,c,d)};
I2=function(a,b,c,d,e){a.X.xc&&YP(b);a.X.experiments.g("legacy_autoplay_flag")||"detailpage"!=a.X.g||(b.autoplay="1");var f=new g.pQ(b);d||(b&&RQ(b)?(SO(a.X)&&!a.N&&(b.fetch=0),q2(a,b)):a.B&&q2(a,null),a.N=qO(!1,b.external_list),SO(a.X)&&!a.N&&r2(a));return H2(a,f,c,e)};
K2=function(a,b,c,d){a.ka.get(c+b.videoId)||(b.Mr=!0,d?(d=g.lV(a,c),J2(a,c)):d=l2(a,c),qU(d,b,(0,g.A)(a.hg,a)),tU(d,!0),a.ka.set(c+b.videoId,d))};
w2=function(a,b,c){var d=b+c;if(c=a.ka.get(d)){a.ka.remove(d);if(c==g.lV(a,b))return c;if(1==c.getPlayerType()){c.g.autonavState=a.o.g.autonavState;b=a.o;var d=a.tb,e;for(e in d)b.unsubscribe(e,d[e],a);e=a.o.va;a.o.dispose();a.o=c;dV(a.o,e);e2(a,c,a.tb);C2(a)}else(e=g.lV(a,b))&&e.dispose();a.C.getPlayerType()==c.getPlayerType()?aZ(a,c):k2(a,c)}return c};
H2=function(a,b,c,d){HP("_start",a.H.g)||(xP("p",void 0,a.H.g),a.H.info("srt",0));var e=w2(a,c||a.C.getPlayerType(),b.videoId);if(!e){e=g.lV(a,c);if(!e)return!1;a.qb.stop();J2(a,c);qU(e,b,(0,g.A)(a.hg,a),d)}if(!sU(e))return!1;a.gb&&(e.qb=!1,a.gb=!1);if(e==a.o)return g.u2(a,1),s2(a);wU(e);return!0};
L2=function(a,b,c){c=g.lV(a,c);b&&c==a.o&&(c.g.Ef=!0)};
N2=function(a,b,c){a.X.xc&&YP(b);if(b&&RQ(b))if(a.ca=!0,q2(a,b),(b=a.B.dc())&&b.Be())M2(a,b,c);else a.B.onReady((0,g.A)(a.Gr,a));else c||(c=jV(a)),1==c&&a.Rl(),M2(a,new g.pQ(b),c)};
M2=function(a,b,c){var d=g.lV(a,c);d&&(J2(a,c),qU(d,b,(0,g.A)(a.hg,a)),d.X.Sf(b.Ub),d==a.o&&(g.u2(a,1),t2(a)))};
g.P2=function(a,b,c,d,e,f){if(!b&&!d)throw Error("Playback source is invalid");a.g.isFullscreen()&&!a.sa||!LO(a.X)?(f=a.H,c=f.A,c.aa={},c.S={},f.B=!1,a.H.reset(),b={video_id:b},e&&(b.autoplay="1"),d?(b.list=d,a.ca=!1,O2(a,b,void 0,void 0,void 0)):I2(a,b,1)):(e=c||{},e.lact=g.DG(),e.vis=a.Ej(),a.Zb||"gaming"==a.X.o?a.g.ya("onPlayVideo",{videoId:b,sessionData:e,listId:d}):(d=f&&m2(a).isLiveDestination?a.X.N:a.X.getVideoUrl(b,d),b=g.w("yt.player.exports.navigate"),a.X.experiments.g("legacy_navigate_with_player")?
(b(d,e,!0),LV(d)):b(d,e)))};
O2=function(a,b,c,d,e){if(g.va(b)&&!g.qa(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 d={index:c,startSeconds:d,suggestedQuality:e},g.z(b)&&16==b.length?d.list="PL"+b:d.playlist=b,b=d;q2(a,b);a.B.onReady((0,g.A)(a.Gr,a))};
g.ZZ=function(a){if(3==jV(a))return!0;SO(a.X)&&!a.N&&r2(a);return!(!a.B||!a.B.hasNext())};
Q2=function(a,b){a.o.g.autonavState=b;a.g.V("autonavchange",b)};
R2=function(a,b,c){var d=g.lV(a,1).g.Qf;g.EV(a.g)&&d?(d=g.I(d,g.PZ),b=d[0],d=c?b.Jv:b.Hd,g.P2(a,b.dc().videoId,d,b.getPlaylistId(),c)):!a.N||a.g.isFullscreen()&&!a.sa?3==jV(a)?g.kV(a.A).dS():a.B&&(SO(a.X)&&!a.g.isFullscreen()?E2(a,"yt.www.watch.lists.next"):(a.B.hasNext(b)&&UQ(a.B,SQ(a.B)),a.B.Oc?H2(a,a.B.dc(void 0,c),1):a.ca=!1)):a.g.ya("onPlaylistNext")};
S2=function(a,b){!a.N||a.g.isFullscreen()&&!a.sa?3==jV(a)?g.kV(a.A).eS():a.B&&(SO(a.X)&&!a.g.isFullscreen()?E2(a,"yt.www.watch.lists.prev"):(a.B.Af(b)&&UQ(a.B,TQ(a.B)),a.B.Oc?H2(a,a.B.dc(),1):a.ca=!1)):a.g.ya("onPlaylistPrevious")};
E2=function(a,b){var c=g.w(b);if(c){var d=D2();d&&d.list&&c();a.Ja=null}else a.Ja=b};
D2=function(){var a=g.w("yt.www.watch.lists.getState");return a?a():null};
T2=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.ZS(1E3*c,1E3*d,b);c.namespace=c2.A;xV(a,[c],1);return!0};
xV=function(a,b,c){var d=g.lV(a,c);d&&(eT(d.D,b),c&&jV(a)!=c||zV(a,"cuerangesadded",b))};
kZ=function(a){var b=(0,g.AG)(),c=a.getCurrentTime();return b-Math.max(1E3*(c-m2(a).startSeconds),0)};
rJ=function(a,b,c){a.X.L&&(a.L=b,b.muted||v2(a,!1),c&&a.X.storeUserVolume&&!a.X.S&&(c={volume:Math.floor(b.volume),muted:b.muted},c.unstorable||(g.VG("yt-player-volume",c),g.VG("yt-player-volume",c,2592E3))),U2(a),c=g.cF&&!a.F.sd(),!a.X.S||c)&&(b=Wb(b),a.X.storeUserVolume||(b.unstorable=!0),a.g.ya("onVolumeChange",b))};
U2=function(a){var b=m2(a);b.Fl||(a.F.setVolume(a.L.volume*(a.X.S?g.pQ.g:b.sc)/100),b=a.F,a=a.L.muted,hL(),b.g.muted=a)};
v2=function(a,b){b!=a.va&&(a.va=b,a.g.V("mutedautoplaychange",b))};
W2=function(a,b){var c=window.screen&&window.screen.orientation;if(a.X.experiments.g("lock_fullscreen2")&&c&&c.lock&&(!g.cF||!g.V2))if(b){var d=0==c.type.indexOf("portrait"),e=g.vZ(a.D),f=d;1>e?f=!0:1<e&&(f=!1);if(!a.Ea||f!=d){if(c=c.lock(f?"portrait":"landscape"))c["catch"](g.y);a.Ea=!0}}else a.Ea&&(a.Ea=!1,c.unlock())};
X2=function(a,b){var c=!!b,d=!!a.Wa!=c;a.Wa=b;a.X.experiments.g("legacy_player_fullscreen_order")?d&&(a.H.o("fsc"),a.X.da=c,a.D.Xf()):(a.X.da=c,a.D.Xf(),d&&a.H.o("fsc"));d&&(a.g.V("fullscreentoggled",c),d=a.o.g,c={fullscreen:c,videoId:d.ypcOrigin||d.videoId,time:a.getCurrentTime()},a.G.getPlaylistId()&&(c.listId=a.G.getPlaylistId()),a.g.ya("onFullscreenChange",c))};
zV=function(a,b,c){a.g.V(b,c);var d=g.$L(a.X)||g.GO(a.X);if(c&&d){var e;switch(b){case "cuerangemarkersupdated":e="onCueRangeMarkersUpdated";break;case "cuerangesadded":e="onCueRangesAdded";break;case "cuerangesremoved":e="onCueRangesRemoved"}e&&a.g.ya(e,c)}};
fZ=function(a,b){var c=g.lV(a,b);c&&(2==a.M?s2(a):!a.X.experiments.g("new_ended_replay")&&g.W(c.A,2)?iZ(a,0):OU(c))};
hZ=function(a,b){var c=g.lV(a,b);c&&AU(c)};
Y2=function(a){var b=a.o.g,b=new g.pQ({video_id:b.videoId,oauth_token:b.oauthToken});M2(a,b,1)};
J2=function(a,b){g.fP(a.da);a.da=0;var c=g.lV(a,b);if(c&&1!=a.M&&2!=a.M){qZ(a.A);if(1==b){var d=a.A.o;d&&d.D&&d.destroy()}GU(c);zV(a,"cuerangesremoved",a.C.D.g.g||[]);c.D.reset()}};
Z2=function(a,b,c,d,e){c=0!=c;var f=g.lV(a,e);if(!f||2!=f.getPlayerType()&&!g.KQ(f.g))3==jV(a)?g.kV(a.A).il("control_seek",b,c):iZ(a,b,c,d,e)};
$2=function(a,b,c){a.oc=b;a.ra=c;a.g.V("sizestylechange",b,c);a.D.Xf()};
a3=function(a,b,c){if(!a.gb){c&&(j2(a),i2(a));a.gb=!0;c=g.lV(a);c.qb=!0;c.he("reloading","reason."+b);c=m2(a);var d={};d.video_id=c.videoId;c.Aa||(d.start=g.lV(a).getCurrentTime(),d.resume="1");c.Tf&&(d.vvt=c.Tf);c.vssCredentialsToken&&(d.vss_credentials_token=c.vssCredentialsToken,d.vss_credentials_token_type=c.ko);c.oauthToken&&(d.oauth_token=c.oauthToken);d.autoplay=1;d.reload_count=c.ai+1;d.reload_reason=b;c.Bj&&(d.unplugged_partner_opt_out=c.Bj);I2(a,d)}};
Wna=function(){};
b3=function(a,b,c){return a[b]=a[b]||c};
Xna=function(a){for(var b=0;b<this.length;b++)if(this[b]===a)return b;return-1};
Yna=function(a){a=a.sort();for(var b=[],c=void 0,d=0;d<a.length;d++){var e=a[d];e!=c&&b.push(e);c=e}return b};
c3=function(){var a;if((a=Object.create)&&Zna.test(a))a=a(null);else{a={};for(var b in a)a[b]=void 0}return a};
e3=function(){var a=$na.href,b;if(d3.dpo)b=d3.h;else{b=d3.h;var c=RegExp("([#].*&|[#])jsh=([^&#]*)","g"),d=RegExp("([?#].*&|[?#])jsh=([^&#]*)","g");if(a=a&&(c.exec(a)||d.exec(a)))try{b=(0,window.decodeURIComponent)(a[2])}catch(e){}}return b};
aoa=function(a){var b=b3(d3,"PQ",[]);d3.PQ=[];var c=b.length;if(0===c)a();else for(var d=0,e=function(){++d===c&&a()},f=0;f<c;f++)b[f](e)};
f3=function(a){return b3(b3(d3,"H",c3()),a,c3())};
i3=function(a,b,c){b&&0<b.length&&(b=g3(b),c&&0<c.length&&(b+="___"+g3(c)),28<b.length&&(b=b.substr(0,28)+(b.length-28)),c=b,b=b3(boa,"_p",c3()),b3(b,c,c3())[a]=(new Date).getTime(),b=h3.r,"function"===typeof b?b(a,"_p",c):b.push([a,"_p",c]))};
g3=function(a){return a.join("__").replace(/\./g,"_").replace(/\-/g,"_").replace(/\,/g,"_")};
j3=function(a){throw Error("Bad hint"+(a?": "+a:""));};
foa=function(a,b,c,d){var e=a.split(";"),f=e.shift(),k=k3[f],l=null;k?l=k(e,b,c,d):j3("no hint processor for: "+f);l||j3("failed to generate load url");b=l;c=b.match(coa);(d=b.match(doa))&&1===d.length&&eoa.test(b)&&c&&1===c.length||j3("failed sanity: "+a);return l};
ioa=function(a,b,c,d){function e(a){return(0,window.encodeURIComponent)(a).replace(/%2C/g,",")}
a=goa(a);hoa.test(c)||j3("invalid_callback");b=l3(b);d=d&&d.length?l3(d):null;return[(0,window.encodeURIComponent)(a.UO).replace(/%2C/g,",").replace(/%2F/g,"/"),"/k=",e(a.version),"/m=",e(b),d?"/exm="+e(d):"","/rt=j/sv=1/d=1/ed=1",a.xu?"/am="+e(a.xu):"",a.Yz?"/rs="+e(a.Yz):"",a.xC?"/t="+e(a.xC):"","/cb=",e(c)].join("")};
goa=function(a){"/"!==a.charAt(0)&&j3("relative path");for(var b=a.substring(1).split("/"),c=[];b.length;){a=b.shift();if(!a.length||0==a.indexOf("."))j3("empty/relative directory");else if(0<a.indexOf("=")){b.unshift(a);break}c.push(a)}a={};for(var d=0,e=b.length;d<e;++d){var f=b[d].split("="),k=(0,window.decodeURIComponent)(f[0]),l=(0,window.decodeURIComponent)(f[1]);2==f.length&&k&&l&&(a[k]=a[k]||l)}b="/"+c.join("/");joa.test(b)||j3("invalid_prefix");c=0;for(d=m3.length;c<d;++c)m3[c].test(b)&&
j3("invalid_prefix");c=n3(a,"k",!0);d=n3(a,"am");e=n3(a,"rs");a=n3(a,"t");return{UO:b,version:c,xu:d,Yz:e,xC:a}};
l3=function(a){for(var b=[],c=0,d=a.length;c<d;++c){var e=a[c].replace(/\./g,"_").replace(/-/g,"_");koa.test(e)&&b.push(e)}return b.join(",")};
n3=function(a,b,c){a=a[b];!a&&c&&j3("missing: "+b);if(a){if(loa.test(a))return a;j3("invalid: "+b)}return null};
moa=function(){var a=e3();if(!a)throw Error("Bad hint");return a};
o3=function(a,b){for(var c=[],d=0;d<a.length;++d){var e=a[d];e&&0>Xna.call(b,e)&&c.push(e)}return c};
s3=function(){var a=d3.nonce;if(void 0!==a)return a&&a===String(a)&&a.match(p3)?a:d3.nonce=null;var b=b3(d3,"us",[]);if(!b||!b.length)return d3.nonce=null;for(var c=q3.getElementsByTagName(r3),d=0,e=c.length;d<e;++d){var f=c[d];if(f.src&&(a=String(f.nonce||f.getAttribute("nonce")||"")||null)){for(var k=0,l=b.length;k<l&&b[k]!==f.src;++k);if(k!==l&&a&&a===String(a)&&a.match(p3))return d3.nonce=a}}return null};
ooa=function(a){if("loading"!=q3.readyState)noa(a);else{var b=s3(),c="";null!==b&&(c=' nonce="'+b+'"');q3.write("<"+r3+' src="'+(0,window.encodeURI)(a)+'"'+c+"></"+r3+">")}};
noa=function(a){var b=q3.createElement(r3);b.setAttribute("src",a);a=s3();null!==a&&b.setAttribute("nonce",a);b.async="true";(a=q3.getElementsByTagName(r3)[0])?a.parentNode.insertBefore(b,a):(q3.head||q3.body||q3.documentElement).appendChild(b)};
poa=function(a,b){var c=b&&b._c;if(c)for(var d=0;d<t3.length;d++){var e=t3[d][0],f=t3[d][1];f&&Object.prototype.hasOwnProperty.call(c,e)&&f(c[e],a,b)}};
roa=function(a,b,c){qoa(function(){var c;c=b===e3()?b3(u3,"_",c3()):c3();c=b3(f3(b),"_",c);a(c)},c)};
v3=function(a,b){var c=b||{};"function"==typeof b&&(c={},c.callback=b);poa(a,c);var d=a?a.split(":"):[],e=c.h||moa(),f=b3(d3,"ah",c3());if(f["::"]&&d.length){for(var k=[],l=null;l=d.shift();){var m=l.split("."),m=f[l]||f[m[1]&&"ns:"+m[0]||""]||e,n=k.length&&k[k.length-1]||null,q=n;n&&n.hint==m||(q={hint:m,features:[]},k.push(q));q.features.push(l)}var r=k.length;if(1<r){var v=c.callback;v&&(c.callback=function(){0==--r&&v()})}for(;d=k.shift();)soa(d.features,c,d.hint)}else soa(d||[],c,e)};
soa=function(a,b,c){function d(a,b){if(r)return 0;w3.clearTimeout(q);v.push.apply(v,B);var d=((u3||{}).config||{}).update;d?d(f):f&&b3(d3,"cu",[]).push(f);if(b){i3("me0",a,x);try{roa(b,c,n)}finally{i3("me1",a,x)}}return 1}
a=Yna(a)||[];var e=b.callback,f=b.config,k=b.timeout,l=b.ontimeout,m=b.onerror,n=void 0;"function"==typeof m&&(n=m);var q=null,r=!1;if(k&&!l||!k&&l)throw"Timeout requires both the timeout parameter and ontimeout parameter to be set";var m=b3(f3(c),"r",[]).sort(),v=b3(f3(c),"L",[]).sort(),x=[].concat(m);0<k&&(q=w3.setTimeout(function(){r=!0;l()},k));
var B=o3(a,v);if(B.length){var B=o3(a,m),F=b3(d3,"CP",[]),J=F.length;F[J]=function(a){function b(){var a=F[J+1];a&&a()}
function c(b){F[J]=null;d(B,a)&&aoa(function(){e&&e();b()})}
if(!a)return 0;i3("ml1",B,x);0<J&&F[J-1]?F[J]=function(){c(b)}:c(b)};
if(B.length){var L="loaded_"+d3.I++;u3[L]=function(a){F[J](a);u3[L]=null};
a=foa(c,B,"gapi."+L,m);m.push.apply(m,B);i3("ml0",B,x);b.sync||w3.___gapisync?ooa(a):noa(a)}else F[J](Wna)}else d(B)&&e&&e()};
qoa=function(a,b){if(d3.hee&&0<d3.hel)try{return a()}catch(c){b&&b(c),d3.hel--,v3("debug_error",function(){try{window.___jsl.hefn(c)}catch(d){throw c;}})}else try{return a()}catch(c){throw b&&b(c),c;
}};
g.y3=function(a){this.g=a||HG();x3||(x3=toa(this.g))};
toa=function(a){return(new g.Vf(function(b){try{var c={gapiHintOverride:a.gapiHintOverride,_c:{jsl:{h:a.gapiHintParams}},callback:b},d=g.ua(c)?{callback:c}:c||{};d._c&&d._c.jsl&&d._c.jsl.h||g.$b(d,{_c:{jsl:{h:g.YD("GAPI_HINT_PARAMS",void 0)}}});if(d.gapiHintOverride||g.YD("GAPI_HINT_OVERRIDE")){var e=g.OE(window.document.location.href).gapi_jsh;e&&g.$b(d,{_c:{jsl:{h:e}}})}v3("client",d)}catch(f){g.zE(f)}})).then(function(){})};
uoa=function(a,b,c,d){var e={path:IG(a.g.innertubeApiVersion,b,c),headers:{"X-Goog-Visitor-Id":g.YD("VISITOR_DATA")},method:"POST",body:g.Lc(c)},f=(0,g.A)(a.B,a);x3.then(function(){f();g.w("gapi.client.request")(e).execute(d||g.y)})};
g.aa=[];ea="function"==typeof Object.defineProperties?Object.defineProperty:function(a,b,c){a!=Array.prototype&&a!=Object.prototype&&(a[b]=c.value)};
da="undefined"!=typeof window&&window===this?this:"undefined"!=typeof window.global&&null!=window.global?window.global:this;baa=0;
la("String.prototype.startsWith",function(a){return a?a:function(a,c){var b;if(null==this)throw new TypeError("The 'this' value for String.prototype.startsWith must not be null or undefined");if(a instanceof RegExp)throw new TypeError("First argument to String.prototype.startsWith must not be a regular expression");b=this+"";a+="";for(var e=b.length,f=a.length,k=Math.max(0,Math.min(c|0,b.length)),l=0;l<f&&k<e;)if(b[k++]!=a[l++])return!1;return l>=f}});
la("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}});
la("Promise",function(a){function b(a){this.g=0;this.B=void 0;this.o=[];var b=this.C();try{a(b.resolve,b.reject)}catch(l){b.reject(l)}}
function c(){this.g=null}
if(a)return a;c.prototype.o=function(a){null==this.g&&(this.g=[],this.B());this.g.push(a)};
c.prototype.B=function(){var a=this;this.A(function(){a.D()})};
var d=da.setTimeout;c.prototype.A=function(a){d(a,0)};
c.prototype.D=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];delete a[b];try{c()}catch(m){this.C(m)}}}this.g=null};
c.prototype.C=function(a){this.A(function(){throw a;})};
b.prototype.C=function(){function a(a){return function(d){c||(c=!0,a.call(b,d))}}
var b=this,c=!1;return{resolve:a(this.L),reject:a(this.D)}};
b.prototype.L=function(a){if(a===this)this.D(new TypeError("A Promise cannot resolve to itself"));else if(a instanceof b)this.M(a);else{var c;a:switch(typeof a){case "object":c=null!=a;break a;case "function":c=!0;break a;default:c=!1}c?this.J(a):this.F(a)}};
b.prototype.J=function(a){var b=void 0;try{b=a.then}catch(l){this.D(l);return}"function"==typeof b?this.N(b,a):this.F(a)};
b.prototype.D=function(a){this.G(2,a)};
b.prototype.F=function(a){this.G(1,a)};
b.prototype.G=function(a,b){if(0!=this.g)throw Error("Cannot settle("+a+", "+b|"): Promise already settled in state"+this.g);this.g=a;this.B=b;this.H()};
b.prototype.H=function(){if(null!=this.o){for(var a=this.o,b=0;b<a.length;++b)a[b].call(),a[b]=null;this.o=null}};
var e=new c;b.prototype.M=function(a){var b=this.C();a.A(b.resolve,b.reject)};
b.prototype.N=function(a,b){var c=this.C();try{a.call(b,c.resolve,c.reject)}catch(m){c.reject(m)}};
b.prototype.then=function(a,c){function d(a,b){return"function"==typeof a?function(b){try{e(a(b))}catch(B){f(B)}}:b}
var e,f,k=new b(function(a,b){e=a;f=b});
this.A(d(a,e),d(c,f));return k};
b.prototype["catch"]=function(a){return this.then(void 0,a)};
b.prototype.A=function(a,b){function c(){switch(d.g){case 1:a(d.B);break;case 2:b(d.B);break;default:throw Error("Unexpected state: "+d.g);}}
var d=this;null==this.o?e.o(c):this.o.push(function(){e.o(c)})};
b.resolve=function(a){return a instanceof b?a:new b(function(b){b(a)})};
b.reject=function(a){return new b(function(b,c){c(a)})};
b.g=function(a){return new b(function(c,d){for(var e=g.ia(a),f=e.next();!f.done;f=e.next())b.resolve(f.value).A(c,d)})};
b.all=function(a){var c=g.ia(a),d=c.next();return d.done?b.resolve([]):new b(function(a,e){function f(b){return function(c){k[b]=c;l--;0==l&&a(k)}}
var k=[],l=0;do k.push(void 0),l++,b.resolve(d.value).A(f(k.length-1),e),d=c.next();while(!d.done)})};
b.$jscomp$new$AsyncExecutor=function(){return new c};
return b});
la("WeakMap",function(a){function b(a){this.za=(f+=Math.random()+1).toString();if(a){ca();ga();a=g.ia(a);for(var b;!(b=a.next()).done;)b=b.value,this.set(b[0],b[1])}}
function c(a){ma(a,e)||ea(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().toString().substring(2);d("freeze");d("preventExtensions");d("seal");var f=0;b.prototype.set=function(a,b){c(a);if(!ma(a,e))throw Error("WeakMap key fail: "+a);a[e][this.za]=b;return this};
b.prototype.get=function(a){return ma(a,e)?a[e][this.za]:void 0};
b.prototype.has=function(a){return ma(a,e)&&ma(a[e],this.za)};
b.prototype["delete"]=function(a){return ma(a,e)&&ma(a[e],this.za)?delete a[e][this.za]:!1};
return b});
la("Map",function(a){function b(){var a={};return a.previous=a.next=a.head=a}
function c(a,b){var c=a.g;return ha(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;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.o[c];if(d&&ma(a.o,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,qd:l}}return{id:c,list:d,index:-1,qd:void 0}}
function e(a){this.o={};this.g=b();this.size=0;if(a){a=g.ia(a);for(var c;!(c=a.next()).done;)c=c.value,this.set(c[0],c[1])}}
if(function(){if(!a||!a.prototype.entries||"function"!=typeof Object.seal)return!1;try{var b=Object.seal({x:4}),c=new a(g.ia([[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;
ca();ga();var f=new window.WeakMap;e.prototype.set=function(a,b){var c=d(this,a);c.list||(c.list=this.o[c.id]=[]);c.qd?c.qd.value=b:(c.qd={next:this.g,previous:this.g.previous,head:this.g,key:a,value:b},c.list.push(c.qd),this.g.previous.next=c.qd,this.g.previous=c.qd,this.size++);return this};
e.prototype["delete"]=function(a){a=d(this,a);return a.qd&&a.list?(a.list.splice(a.index,1),a.list.length||delete this.o[a.id],a.qd.previous.next=a.qd.next,a.qd.next.previous=a.qd.previous,a.qd.head=null,this.size--,!0):!1};
e.prototype.clear=function(){this.o={};this.g=this.g.previous=b();this.size=0};
e.prototype.has=function(a){return!!d(this,a).qd};
e.prototype.get=function(a){return(a=d(this,a).qd)&&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});
la("Set",function(a){function b(a){this.g=new window.Map;if(a){a=g.ia(a);for(var b;!(b=a.next()).done;)this.add(b.value)}this.size=this.g.size}
if(function(){if(!a||!a.prototype.entries||"function"!=typeof Object.seal)return!1;try{var b=Object.seal({x:4}),d=new a(g.ia([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;
ca();ga();b.prototype.add=function(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});
la("Reflect.apply",function(a){if(a)return a;var b=Function.prototype.apply;return function(a,d,e){return b.call(a,d,e)}});
la("Reflect.construct",function(a){return a?a:function(a,c,d){void 0===d&&(d=a);d=Object.create(d.prototype||Object.prototype);return window.Reflect.apply(a,d,c)||d}});
Xw=Xw||{};na=this;wa="closure_uid_"+(1E9*Math.random()>>>0);caa=0;g.G=Date.now||function(){return+new Date};g.C(Ca,Error);Ca.prototype.name="CustomError";var be;var Pa=String.prototype.trim?function(a){return a.trim()}:function(a){return a.replace(/^[\s\xa0]+|[\s\xa0]+$/g,"")},gaa=/&/g,haa=/</g,iaa=/>/g,jaa=/"/g,kaa=/'/g,laa=/\x00/g,faa=/[\x00&<>"']/,maa=/&([^;\s<&]+);?/g,IC={"\x00":"\\0",
"\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\x0B":"\\x0B",'"':'\\"',"\\":"\\\\","<":"<"},HC={"'":"\\'"},Ma=String.prototype.repeat?function(a,b){return a.repeat(b)}:function(a,b){return Array(b+1).join(a)},qaa=2147483648*Math.random()|0;var voa,Ud;g.bb=Array.prototype.indexOf?function(a,b,c){return Array.prototype.indexOf.call(a,b,c)}:function(a,b,c){c=null==c?0:0>c?Math.max(0,a.length+c):c;
if(g.z(a))return g.z(b)&&1==b.length?a.indexOf(b,c):-1;for(;c<a.length;c++)if(c in a&&a[c]===b)return c;return-1};
voa=Array.prototype.lastIndexOf?function(a,b,c){return Array.prototype.lastIndexOf.call(a,b,null==c?a.length-1:c)}:function(a,b,c){c=null==c?a.length-1:c;
0>c&&(c=Math.max(0,a.length+c));if(g.z(a))return g.z(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.H=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.z(a)?a.split(""):a,f=0;f<d;f++)f in e&&b.call(c,e[f],f,a)};
g.Ae=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.z(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.z(a)?a.split(""):a,k=0;k<d;k++)k in f&&(e[k]=b.call(c,f[k],k,a));
return e};
Ud=Array.prototype.reduce?function(a,b,c,d){d&&(b=(0,g.A)(b,d));return Array.prototype.reduce.call(a,b,c)}:function(a,b,c,d){var e=c;
(0,g.H)(a,function(c,k){e=b.call(d,e,c,k,a)});
return e};
g.Sk=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.z(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.Qr=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.z(a)?a.split(""):a,f=0;f<d;f++)if(f in e&&!b.call(c,e[f],f,a))return!1;
return!0};a:{var woa=na.navigator;if(woa){var xoa=woa.userAgent;if(xoa){g.Gb=xoa;break a}}g.Gb=""};var Zb="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");fc[" "]=g.y;var yoa,vi,xn,yn,zoa,zi,z3;g.Xe=Hb("Opera");g.sc=Hb("Trident")||Hb("MSIE");g.KN=Hb("Edge");g.WO=g.KN||g.sc;g.fh=Hb("Gecko")&&!(Ka(g.Gb,"WebKit")&&!Hb("Edge"))&&!(Hb("Trident")||Hb("MSIE"))&&!Hb("Edge");g.me=Ka(g.Gb,"WebKit")&&!Hb("Edge");yoa=g.me&&Hb("Mobile");vi=Hb("Macintosh");g.V2=Hb("Windows");g.En=Hb("Android");xn=dc();yn=Hb("iPad");zoa=Hb("iPod");zi=ec();
a:{var A3="",B3=function(){var a=g.Gb;if(g.fh)return/rv\:([^\);]+)(\)|;)/.exec(a);if(g.KN)return/Edge\/([\d\.]+)/.exec(a);if(g.sc)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(g.me)return/WebKit\/(\S+)/.exec(a);if(g.Xe)return/(?:Version)[ \/]?(\S+)/.exec(a)}();
B3&&(A3=B3?B3[1]:"");if(g.sc){var C3=hc();if(null!=C3&&C3>(0,window.parseFloat)(A3)){z3=String(C3);break a}}z3=A3}var ic=z3,xaa={},Aoa;var Boa=na.document;Aoa=Boa&&g.sc?hc()||("CSS1Compat"==Boa.compatMode?(0,window.parseInt)(ic,10):5):void 0;var zaa=Aoa;var EO,DO,FO,wi;g.LN=Hb("Firefox");EO=dc()||Hb("iPod");DO=Hb("iPad");FO=Hb("Android")&&!(bc()||Hb("Firefox")||Hb("Opera")||Hb("Silk"));g.cF=bc();wi=cc()&&!ec();var oc=null,uc=null,nc=null;var yc=[];xc.prototype.clone=function(){return zc(this.o,this.A,this.B-this.A)};
xc.prototype.clear=function(){this.o=null;this.g=this.B=this.A=0;this.C=!1};
xc.prototype.reset=function(){this.g=this.A};
xc.prototype.getError=function(){return this.C||0>this.g||this.g>this.B};Bc.prototype.getError=function(){return this.B||this.g.getError()};
Bc.prototype.reset=function(){this.g.reset();this.o=this.A=-1};var Gc=g.y,Oc={'"':'\\"',"\\":"\\\\","/":"\\/","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\x0B":"\\u000b"},Baa=/\uffff/.test("\uffff")?/[\\\"\x00-\x1f\x7f-\uffff]/g:/[\\\"\x00-\x1f\x7f-\xff]/g;var Qc="function"==typeof window.Uint8Array,Rc=[];Pc.prototype.toString=function(){Yc(this);return this.o.toString()};
Pc.prototype.getExtension=function(a){if(this.A){this.g||(this.g={});var b=a.A;if(a.B){if(a.o())return this.g[b]||(this.g[b]=(0,g.I)(this.A[b]||[],function(b){return new a.g(b)})),this.g[b]}else if(a.o())return!this.g[b]&&this.A[b]&&(this.g[b]=new a.g(this.A[b])),this.g[b];
return this.A[b]}};
Pc.prototype.clone=function(){return new this.constructor(Zc(Xc(this)))};g.C($c,Pc);g.C(ad,Pc);g.C(ed,Pc);var Faa=[[9,10],[11,12],[18,19,20,21]];g.C(fd,Pc);var Gaa=[[2,3]];g.C(gd,Pc);g.C(hd,Pc);g.C(id,Pc);g.C(jd,Pc);var Haa=[[2,4,5]];g.C(kd,Pc);g.C(ld,Pc);g.C(md,Pc);var Iaa=[1];g.C(Wc,Pc);g.C(cd,Pc);var Jaa=[[1,6,2,3,7]];window.console&&"function"===typeof window.console.log&&(0,g.A)(window.console.log,window.console);var Yaa,$aa,aba;Yaa=!g.sc||g.kc(9);$aa=!g.fh&&!g.sc||g.sc&&g.kc(9)||g.fh&&g.jc("1.9.1");g.Coa=g.sc&&!g.jc("9");aba=g.sc||g.Xe||g.me;var Vaa={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};od.prototype.Sg=!0;od.prototype.ig=function(){return this.g};
od.prototype.toString=function(){return"Const{"+this.g+"}"};
var nd={};qd("");sd.prototype.Sg=!0;var rd={};sd.prototype.ig=function(){return this.g};
var Taa=ud(""),Saa=/^([-,."'%_!# a-zA-Z0-9]+|(?:rgb|hsl)a?\([0-9.%, ]+\))$/;var Kaa=/<[^>]*>|&[^;]+;/g,Doa=RegExp("[\u0591-\u06ef\u06fa-\u07ff\u200f\ufb1d-\ufdff\ufe70-\ufefc]"),Oaa=RegExp("[A-Za-z\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02b8\u0300-\u0590\u0800-\u1fff\u200e\u2c00-\ufb1c\ufe00-\ufe6f\ufefd-\uffff]"),Maa=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]"),Naa=/^http:\/\/.*/,Laa=/\s+/,Paa=/[\d\u06f0-\u06f9]/;yd.prototype.Sg=!0;yd.prototype.ig=function(){return this.g};
yd.prototype.Nq=!0;yd.prototype.Gi=function(){return 1};
var xd={};Cd.prototype.Sg=!0;Cd.prototype.ig=function(){return this.g};
Cd.prototype.Nq=!0;Cd.prototype.Gi=function(){return 1};
var Qaa=/^(?:(?:https?|mailto|ftp):|[^&:/?#]*(?:[/?#]|$))/i,Bd={};Ed("about:blank");g.Id.prototype.Nq=!0;g.Id.prototype.Gi=function(){return this.o};
g.Id.prototype.Sg=!0;g.Id.prototype.ig=function(){return this.g};
var Md=/^[a-zA-Z0-9-]+$/,Uaa={action:!0,cite:!0,data:!0,formaction:!0,href:!0,manifest:!0,poster:!0,src:!0},Eoa={APPLET:!0,BASE:!0,EMBED:!0,IFRAME:!0,LINK:!0,MATH:!0,META:!0,OBJECT:!0,SCRIPT:!0,STYLE:!0,SVG:!0,TEMPLATE:!0},Hd={};Kd("<!DOCTYPE html>",0);Kd("",0);Kd("<br>",0);g.h=g.Vd.prototype;g.h.clone=function(){return new g.Vd(this.x,this.y)};
g.h.ceil=function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this};
g.h.floor=function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this};
g.h.round=function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this};
g.h.scale=function(a,b){var c=g.ta(b)?b:a;this.x*=a;this.y*=c;return this};g.h=g.Yd.prototype;g.h.clone=function(){return new g.Yd(this.width,this.height)};
g.h.Lc=function(){return this.width*this.height};
g.h.aspectRatio=function(){return this.width/this.height};
g.h.isEmpty=function(){return!this.Lc()};
g.h.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};
g.h.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};
g.h.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};
g.h.scale=function(a,b){var c=g.ta(b)?b:a;this.width*=a;this.height*=c;return this};var ge={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=$d.prototype;g.h.pa=function(a){return g.z(a)?this.g.getElementById(a):a};
g.h.getElementsByTagName=function(a,b){return(b||this.g).getElementsByTagName(String(a))};
g.h.qG=function(a,b,c){return oe(this.g,arguments)};
g.h.createElement=function(a){return this.g.createElement(String(a))};
g.h.appendChild=g.te;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.ye;g.h.contains=g.Fe;var rf=!g.sc||g.kc(9),Foa=g.sc&&!g.jc("9");!g.me||g.jc("528");g.fh&&g.jc("1.9b")||g.sc&&g.jc("8")||g.Xe&&g.jc("9.5")||g.me&&g.jc("528");g.fh&&!g.jc("8")||g.sc&&g.jc("9");g.M.prototype.Za=!1;g.M.prototype.ma=function(){return this.Za};
g.M.prototype.dispose=function(){this.Za||(this.Za=!0,this.P())};
g.M.prototype.P=function(){if(this.La)for(;this.La.length;)this.La.shift()()};g.Ve.prototype.stopPropagation=function(){this.o=!0};
g.Ve.prototype.preventDefault=function(){this.Zz=!1};var Goa={Ao:"click",bZ:"rightclick",fV:"dblclick",uX:"mousedown",AX:"mouseup",zX:"mouseover",yX:"mouseout",xX:"mousemove",vX:"mouseenter",wX:"mouseleave",hZ:"selectionchange",iZ:"selectstart",f0:"wheel",TW:"keypress",SW:"keydown",UW:"keyup",oU:"blur",cW:"focus",gV:"deactivate",dW:g.sc?"focusin":"DOMFocusIn",eW:g.sc?"focusout":"DOMFocusOut",HU:"change",RY:"reset",gZ:"select",PZ:"submit",FW:"input",IY:"propertychange",KV:"dragstart",FV:"drag",HV:"dragenter",JV:"dragover",IV:"dragleave",MV:"drop",GV:"dragend",
i_:"touchstart",h_:"touchmove",g_:"touchend",f_:"touchcancel",mU:"beforeunload",TU:"consolemessage",WU:"contextmenu",sV:"devicemotion",tV:"deviceorientation",yV:"DOMContentLoaded",ERROR:"error",qW:"help",LOAD:"load",nX:"losecapture",jY:"orientationchange",NY:"readystatechange",SY:"resize",dZ:"scroll",C_:"unload",wU:"canplay",xU:"canplaythrough",NV:"durationchange",RV:"emptied",ENDED:"ended",dX:"loadeddata",eX:"loadedmetadata",PAUSE:"pause",PLAY:"play",PLAYING:"playing",MY:"ratechange",eZ:"seeked",
fZ:"seeking",DZ:"stalled",QZ:"suspend",WZ:"timeupdate",Y_:"volumechange",c0:"waiting",BZ:"sourceopen",AZ:"sourceended",zZ:"sourceclosed",cT:"abort",H_:"update",J_:"updatestart",I_:"updateend",kW:"hashchange",mY:"pagehide",nY:"pageshow",BY:"popstate",XU:"copy",pY:"paste",cV:"cut",hU:"beforecopy",iU:"beforecut",kU:"beforepaste",gY:"online",dY:"offline",MESSAGE:"message",SU:"connect",VT:Ye("AnimationStart"),TT:Ye("AnimationEnd"),UT:Ye("AnimationIteration"),l_:Ye("TransitionEnd"),uY:"pointerdown",AY:"pointerup",
tY:"pointercancel",xY:"pointermove",zY:"pointerover",yY:"pointerout",vY:"pointerenter",wY:"pointerleave",jW:"gotpointercapture",oX:"lostpointercapture",FX:"MSGestureChange",GX:"MSGestureEnd",HX:"MSGestureHold",IX:"MSGestureStart",JX:"MSGestureTap",KX:"MSGotPointerCapture",LX:"MSInertiaStart",MX:"MSLostPointerCapture",NX:"MSPointerCancel",OX:"MSPointerDown",PX:"MSPointerEnter",QX:"MSPointerHover",RX:"MSPointerLeave",SX:"MSPointerMove",TX:"MSPointerOut",UX:"MSPointerOver",VX:"MSPointerUp",TEXT:"text",
TZ:g.sc?"textinput":"textInput",QU:"compositionstart",RU:"compositionupdate",PU:"compositionend",jU:"beforeinput",YV:"exit",bX:"loadabort",cX:"loadcommit",fX:"loadredirect",gX:"loadstart",hX:"loadstop",WY:"responsive",tZ:"sizechanged",E_:"unresponsive",X_:"visibilitychange",KZ:"storage",EV:"DOMSubtreeModified",zV:"DOMNodeInserted",BV:"DOMNodeRemoved",CV:"DOMNodeRemovedFromDocument",AV:"DOMNodeInsertedIntoDocument",wV:"DOMAttrModified",xV:"DOMCharacterDataModified",lU:"beforeprint",IT:"afterprint"};g.C(Ze,g.Ve);
Ze.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.fh&&(gc(e,"nodeName")||(e=null)):"mouseover"==c?e=a.fromElement:"mouseout"==c&&(e=a.toElement);this.relatedTarget=e;null===d?(this.B=g.me||void 0!==a.offsetX?a.offsetX:a.layerX,this.C=g.me||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.state=a.state;this.g=a;a.defaultPrevented&&this.preventDefault()};
Ze.prototype.stopPropagation=function(){Ze.R.stopPropagation.call(this);this.g.stopPropagation?this.g.stopPropagation():this.g.cancelBubble=!0};
Ze.prototype.preventDefault=function(){Ze.R.preventDefault.call(this);var a=this.g;if(a.preventDefault)a.preventDefault();else if(a.returnValue=!1,Foa)try{if(a.ctrlKey||112<=a.keyCode&&123>=a.keyCode)a.keyCode=-1}catch(b){}};var bba;g.$e="closure_listenable_"+(1E6*Math.random()|0);bba=0;cf.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.g))return!1;var e=this.g[a];b=df(e,b,c,d);return-1<b?(bf(e[b]),g.ib(e,b),0==e.length&&(delete this.g[a],this.o--),!0):!1};var of="closure_lm_"+(1E6*Math.random()|0),vf={},qf=0,yf="__closure_events_fn_"+(1E9*Math.random()>>>0);g.C(g.zf,g.M);g.zf.prototype[g.$e]=!0;g.h=g.zf.prototype;g.h.hh=function(a){this.Pa=a};
g.h.addEventListener=function(a,b,c,d){g.kf(this,a,b,c,d)};
g.h.removeEventListener=function(a,b,c,d){g.tf(this,a,b,c,d)};
g.h.dispatchEvent=function(a){var b,c=this.Pa;if(c){b=[];for(var d=1;c;c=c.Pa)b.push(c),++d}c=this.oc;d=a.type||a;if(g.z(a))a=new g.Ve(a,c);else if(a instanceof g.Ve)a.target=a.target||c;else{var e=a;a=new g.Ve(d,c);g.$b(a,e)}var e=!0,f;if(b)for(var k=b.length-1;!a.o&&0<=k;k--)f=a.currentTarget=b[k],e=Af(f,d,!0,a)&&e;a.o||(f=a.currentTarget=c,e=Af(f,d,!0,a)&&e,a.o||(e=Af(f,d,!1,a)&&e));if(b)for(k=0;!a.o&&k<b.length;k++)f=a.currentTarget=b[k],e=Af(f,d,!1,a)&&e;return e};
g.h.P=function(){g.zf.R.P.call(this);this.re&&g.gf(this.re);this.Pa=null};
g.h.T=function(a,b,c,d){return ef(this.re,String(a),b,!1,c,d)};
g.h.Ba=function(a,b,c,d){return this.re.remove(String(a),b,c,d)};Bf.prototype.get=function(){var a;0<this.o?(this.o--,a=this.g,this.g=a.next,a.next=null):a=this.A();return a};var Gf;var Nf=new Bf(function(){return new Jf},function(a){a.reset()},100);
If.prototype.remove=function(){var a=null;this.g&&(a=this.g,this.g=this.g.next,this.g||(this.o=null),a.next=null);return a};
Jf.prototype.set=function(a,b){this.g=a;this.scope=b;this.next=null};
Jf.prototype.reset=function(){this.next=this.scope=this.g=null};var Kf,Lf=!1,Mf=new If;Wf.prototype.reset=function(){this.context=this.o=this.B=this.g=null;this.A=!1};
var Xf=new Bf(function(){return new Wf},function(a){a.reset()},100);
g.Vf.prototype.then=function(a,b,c){return dg(this,g.ua(a)?a:null,g.ua(b)?b:null,c)};
Qf(g.Vf);g.Vf.prototype.cancel=function(a){0==this.g&&g.Of(function(){var b=new jg(a);fg(this,b)},this)};
g.Vf.prototype.H=function(a){this.g=0;Uf(this,2,a)};
g.Vf.prototype.J=function(a){this.g=0;Uf(this,3,a)};
g.Vf.prototype.G=function(){for(var a;a=gg(this);)hg(this,a,this.g,this.F);this.D=!1};
var lg=Ff;g.C(jg,Ca);jg.prototype.name="cancel";g.C(g.mg,g.zf);g.h=g.mg.prototype;g.h.enabled=!1;g.h.xe=null;g.h.oG=function(){if(this.enabled){var a=(0,g.G)()-this.B;0<a&&a<.8*this.o?this.xe=this.g.setTimeout(this.A,this.o-a):(this.xe&&(this.g.clearTimeout(this.xe),this.xe=null),this.dispatchEvent("tick"),this.enabled&&(this.xe=this.g.setTimeout(this.A,this.o),this.B=(0,g.G)()))}};
g.h.start=function(){this.enabled=!0;this.xe||(this.xe=this.g.setTimeout(this.A,this.o),this.B=(0,g.G)())};
g.h.stop=function(){this.enabled=!1;this.xe&&(this.g.clearTimeout(this.xe),this.xe=null)};
g.h.P=function(){g.mg.R.P.call(this);this.stop();delete this.g};var Hoa={};g.h=rg.prototype;g.h.isEnabled=function(){return window.navigator.cookieEnabled};
g.h.set=function(a,b,c,d,e,f){if(/[;=\s]/.test(a))throw Error('Invalid cookie name "'+a+'"');if(/[;\r\n]/.test(b))throw Error('Invalid cookie value "'+b+'"');g.t(c)||(c=-1);e=e?";domain="+e:"";d=d?";path="+d:"";f=f?";secure":"";c=0>c?"":0==c?";expires="+(new Date(1970,1,1)).toUTCString():";expires="+(new Date((0,g.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=Pa(d[e]);if(0==f.lastIndexOf(c,0))return f.substr(c.length);if(f==a)return""}return b};
g.h.remove=function(a,b,c){var d=g.t(this.get(a));this.set(a,"",0,b,c);return d};
g.h.Bb=function(){return sg(this).keys};
g.h.fb=function(){return sg(this).values};
g.h.isEmpty=function(){return!this.g.cookie};
g.h.Gc=function(){return this.g.cookie?(this.g.cookie||"").split(";").length:0};
g.h.clear=function(){for(var a=sg(this).keys,b=a.length-1;0<=b;b--)this.remove(a[b])};
var BH=new rg("undefined"==typeof window.document?null:window.document);BH.o=3950;var qba=/^(?:([^:/?#.]+):)?(?:\/\/(?:([^/?#]*)@)?([^/#?]*?)(?::([0-9]+))?(?=[/#?]|$))?([^?#]+)?(?:\?([^#]*))?(?:#([\s\S]*))?$/,Ig=/#|$/,rba=/[?&]($|#)/;Mg.prototype.remove=function(a){Ub(this.g,a)};
Mg.prototype.set=function(a,b){this.g[a]=b};
Mg.prototype.get=function(a){return Vb(this.g,a,null)};g.h=g.Og.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.Og(this.top,this.right,this.bottom,this.left)};
g.h.contains=function(a){return this&&a?a instanceof g.Og?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.va(a)?(this.top-=a.top,this.right+=a.right,this.bottom+=a.bottom,this.left-=a.left):(this.top-=a,this.right+=Number(b),this.bottom+=Number(c),this.left-=Number(d));return this};
g.h.ceil=function(){this.top=Math.ceil(this.top);this.right=Math.ceil(this.right);this.bottom=Math.ceil(this.bottom);this.left=Math.ceil(this.left);return this};
g.h.floor=function(){this.top=Math.floor(this.top);this.right=Math.floor(this.right);this.bottom=Math.floor(this.bottom);this.left=Math.floor(this.left);return this};
g.h.round=function(){this.top=Math.round(this.top);this.right=Math.round(this.right);this.bottom=Math.round(this.bottom);this.left=Math.round(this.left);return this};
g.h.scale=function(a,b){var c=g.ta(b)?b:a;this.left*=a;this.right*=a;this.top*=c;this.bottom*=c;return this};g.h=g.Qg.prototype;g.h.clone=function(){return new g.Qg(this.left,this.top,this.width,this.height)};
g.h.contains=function(a){return a instanceof g.Vd?a.x>=this.left&&a.x<=this.left+this.width&&a.y>=this.top&&a.y<=this.top+this.height:this.left<=a.left&&this.left+this.width>=a.left+a.width&&this.top<=a.top&&this.top+this.height>=a.top+a.height};
g.h.ceil=function(){this.left=Math.ceil(this.left);this.top=Math.ceil(this.top);this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};
g.h.floor=function(){this.left=Math.floor(this.left);this.top=Math.floor(this.top);this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};
g.h.round=function(){this.left=Math.round(this.left);this.top=Math.round(this.top);this.width=Math.round(this.width);this.height=Math.round(this.height);return this};
g.h.scale=function(a,b){var c=g.ta(b)?b:a;this.left*=a;this.width*=a;this.top*=c;this.height*=c;return this};var $g=null;Wg.prototype.getValue=function(){return this.g};
Wg.prototype.o=function(){return String(this.g)};
g.C(Xg,Wg);Xg.prototype.o=function(){return this.g?"1":"0"};
g.C(Yg,Wg);Yg.prototype.o=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 eh={};new g.mg(200);var Jh,Joa,Gh;g.Ih=Eh("loadGamesSDK")?"/cast_game_sender.js":"/cast_sender.js";g.Ioa=Eh("loadCastFramework");Jh=["boadgeojelhgndaghljhdicfkmllpafd","dliochdbjfkdbacpmhlcpmleaejidimm","enhhojjnijigcajfphajepfemndkmdlo","fmfcbgogabcbclcofgocippekhfcmgfj"];Joa=["pkedcjkdefgpdelpbcmbmeomcjbeemfm","fjhoaacokmgbjemoflkofnenfaiekifl"];Gh=50<=g.Dh()?Joa.concat(Jh):Jh.concat(Joa);var D3=Nh("f"),Ov=Nh("i"),E3=Nh("b"),Gv=Nh("e"),Hv=Nh("s");var ji=window.document,P=window;var Nca=/https?:\/\/[^\/]+/;var Uh=function(){var a=!1;try{var b=Object.defineProperty({},"passive",{get:function(){a=!0}});
na.addEventListener("test",null,b)}catch(c){}return a}();var hi=!!window.google_async_iframe_id,ii=hi&&window.parent||window;var Bba=[0,2,1],li=null;window.document.addEventListener&&window.document.addEventListener("mousedown",function(a){li=a},!0);
window.mb=function(a){if(a){var b=mi();b&&(window.css?(0,window.css)(a.id,"mb",b,void 0,void 0):a&&(a.href=Qh(a.href,"mb",b,void 0)))}};var pi={},qi=null;pi.le=0;pi.nt=2;pi.Fr=3;pi.Po=5;pi.me=1;pi.om=4;var F3=!1,G3="";
(function(){if(window.navigator.plugins&&window.navigator.plugins.length){var a=window.navigator.plugins["Shockwave Flash"];if(a&&(F3=!0,a.description)){G3=si(a.description);return}if(window.navigator.plugins["Shockwave Flash 2.0"]){F3=!0;G3="2.0.0.11";return}}if(window.navigator.mimeTypes&&window.navigator.mimeTypes.length&&(a=window.navigator.mimeTypes["application/x-shockwave-flash"],F3=!(!a||!a.enabledPlugin))){G3=si(a.enabledPlugin.description);return}try{var b=new window.ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");F3=
!0;G3=si(b.GetVariable("$version"));return}catch(c){}try{b=new window.ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");F3=!0;G3="6.0.21";return}catch(c){}try{b=new window.ActiveXObject("ShockwaveFlash.ShockwaveFlash"),F3=!0,G3=si(b.GetVariable("$version"))}catch(c){}})();
var to=F3,xi=G3;var Ai=function(){var a;return g.V2?(a=/Windows NT ([0-9.]+)/,(a=a.exec(g.Gb))?a[1]:"0"):vi?(a=/10[_.][0-9_.]+/,(a=a.exec(g.Gb))?a[0].replace(/_/g,"."):"10"):g.En?(a=/Android\s+([^\);]+)(\)|;)/,(a=a.exec(g.Gb))?a[1]:""):xn||yn||zoa?(a=/(?:iPhone|CPU)\s+OS\s+(\S+)/,(a=a.exec(g.Gb))?a[1].replace(/_/g,"."):""):""}();var Cba=function(){if(g.LN)return ti(/Firefox\/([0-9.]+)/);if(g.sc||g.KN||g.Xe)return ic;if(g.cF)return ec()?ti(/CriOS\/([0-9.]+)/):ti(/Chrome\/([0-9.]+)/);if(wi&&!ec())return ti(/Version\/([0-9.]+)/);if(EO||DO){var a=/Version\/(\S+).*Mobile\/(\S+)/.exec(g.Gb);if(a)return a[1]+"."+a[2]}else if(FO)return(a=ti(/Android\s+([0-9.]+)/))?a:ti(/Version\/([0-9.]+)/);return""}();var Koa={currentTime:1,duration:2,isVpaid:4,volume:8,isYouTube:16,isPlaying:32},ll={iu:"start",Mt:"firstquartile",St:"midpoint",ou:"thirdquartile",Ft:"complete",YD:"metric",PAUSE:"pause",xE:"resume",du:"skip",uu:"viewable_impression",cE:"mute",WE:"unmute",Nt:"fullscreen",sD:"exitfullscreen",Ot:"fully_viewable_audible_half_duration_impression",Rt:"measurable_impression",yC:"abandon",Jt:"engagedview",tl:"impression",hD:"creativeview",Ho:"loaded",GY:"progress",CLOSE:"close",KU:"collapse",kE:"overlay_resize",
lE:"overlay_unmeasurable_impression",mE:"overlay_unviewable_impression",oE:"overlay_viewable_immediate_impression",nE:"overlay_viewable_end_of_session_impression"},Wca="start firstquartile midpoint thirdquartile resume loaded".split(" "),rca=["abandon"],ml={UNKNOWN:-1,iu:0,Mt:1,St:2,ou:3,Ft:4,YD:5,PAUSE:6,xE:7,du:8,uu:9,cE:10,WE:11,Nt:12,sD:13,Ot:14,Rt:15,yC:16,Jt:17,tl:18,hD:19,Ho:20};Ci.prototype.isVisible=function(){return this.A?.3<=this.g:.5<=this.g};var ok=0,Eba=(new Date).getTime(),Hi=-1,Ji=!1,Ki=-1,Li=-1;g.C(Si,Ci);Ui.prototype.update=function(a,b,c,d,e,f){e=Wi(c.g);var k;k=Wi(b.g);k=-1==e||-1==k?-1:Math.max(e,k);e=d?k:e;this.C=-1!=this.C?Math.min(this.C,b.g):b.g;f&&(this.ka=Math.max(this.ka,b.g));-1!=e&&(this.ra[e]+=a);Vi(this.La,e,a);f=this.A;k=this.La;for(var l=[0,0,0,0,0],m=0;4>=m;m++)l[m]=Math.max(f[m],k[m]);this.A=l;f=this.La;k=Wi(b.g);for(l=0;4>=l;++l)if(l<k||b.C||-1==k)f[l]=0;(d?c.isVisible()&&b.isVisible():c.isVisible())?(this.L+=a,this.sa=Math.max(this.sa,this.L)):this.L=0;return e};var uga={B_:0,ZX:1,UY:2,XV:3,YZ:4,hW:5,mX:6,VY:7,gU:8};g.h=Yi.prototype;g.h.ej=function(){(0,g.H)(this.events,this.dv,this);this.events.length=0;this.o=!1};
g.h.Fn=function(a){this.o&&this.events.push(a)};
g.h.dv=function(a){var b=this.g.performance;a&&b&&b.clearMarks&&(b.clearMarks("goog_"+a.uniqueId+"_start"),b.clearMarks("goog_"+a.uniqueId+"_end"))};
g.h.start=function(a,b){if(!this.o)return null;var c=new Xi(a,b,Zi()),d=this.g.performance;d&&d.mark&&d.mark("goog_"+c.uniqueId+"_start");return c};
g.h.end=function(a){if(this.o){a.duration=Zi()-a.value;var b=this.g.performance;b&&b.mark&&b.mark("goog_"+a.uniqueId+"_end");this.Fn(a)}};$i.prototype.o=function(a,b,c,d,e){e=e||this.D;var f;try{var k=new Yh;k.C=!0;bi(k,1,"context",a);b instanceof fj||(b=aj(b));bi(k,2,"msg",b.message.substring(0,512));b.fileName&&bi(k,3,"file",b.fileName);0<b.lineNumber&&bi(k,4,"line",b.lineNumber.toString());b={};if(d)try{d(b)}catch(l){}d=[b];k.g.push(5);k.o[5]=d;f=Fi();f.o&&bi(k,6,"top",f.o.url||"");bi(k,7,"url",f.g.url||"");fi(this.B,e,k,c)}catch(l){try{fi(this.B,e,{context:"ecmserr",rctx:a,msg:gj(l),url:f.g.url},c)}catch(m){}}return this.A};var cj,H3=ki(),I3=new Yi(1,H3);cj=new $i(new function(){this.B="http:"===P.location.protocol?"http:":"https:";this.o="pagead2.googlesyndication.com";this.A="/pagead/gen_204?id=";this.g=.01},"jserror",!0,I3);
"complete"==H3.document.readyState?H3.g||I3.ej():I3.o&&Vh(H3,"load",function(){H3.g||I3.ej()});
var Hba=cj.o;if(ji&&ji.URL){var Th=ji.URL,Loa=!(Th&&0<zba().length);cj.A=Loa};lj.prototype.getStatus=function(){return this.g};
g.C(oj,lj);var uj={A_:-1,LOADING:0,zD:1,dD:2,ND:3,VISIBLE:4},Pba={LOADING:0,zD:1,dD:2,c_:3,eY:4,n_:5,o_:6,m_:7,hY:8,b_:9},xj={};qj.prototype.G=function(a,b){if(!this.g)return!1;this.g.style.position="absolute";rj(this,b);var c=!0;try{a.appendChild(this.g)}catch(d){c=!1}return c};
qj.prototype.F=function(a,b){if(!this.g||!a.parentNode)return!1;this.g.style.position="fixed";rj(this,b);var c=!0;try{g.we(this.g,a)}catch(d){c=!1}return c};
qj.prototype.remove=function(){if(this.g)try{g.ye(this.g)}catch(a){}this.g=null};
qj.prototype.H=function(a){this.A=a?3:4};
g.u("gteh",ij(145,function(a,b){var c=xj[a];g.ua(c)&&c(b)}),void 0);
var Uba={ND:0,VISIBLE:1},Moa=new g.Vd(-99999,0);Aj.prototype.ba=function(){var a=Cj(this);if(null===a)Ej(this);else if(null===this.B)this.B=a,Ej(this);else{var b=a-this.B;this.B=a;0==(4<=b?1:0)?(Ej(this),Bj(this,0)):(rj(this.o,Moa),this.G=P.setTimeout(ij(147,(0,g.A)(this.aa,this)),125))}};
Aj.prototype.aa=function(){var a=Cj(this),b=a-this.B;this.B=a;a=4<=b?1:0;Ej(this);Bj(this,0==a?1:0)};
g.C(Gj,lj);Gj.prototype.J=function(){var a=Wba(this);this.F!=a&&(this.F=a,this.G(a))};
g.C(Kj,lj);var $ba=[3,7,8,5,5],aca=[3,4,4,5,6],bca=[3,4,5,6],cca=[3,5];Lj.prototype.B=function(a){this.g&&this.g.contentWindow&&(this.g.contentWindow.requestAnimationFrame(dj(245,this.B,this,void 0)),this.o||(this.o=(0,g.G)()-a),this.A=a)};
Lj.prototype.isVisible=function(a){return 50>a-this.o-this.A};
Lj.prototype.remove=function(){try{g.ye(this.g)}catch(a){}this.g=null};g.oa(Nj);g.oa(Oj);var Pj=new g.Og(0,0,0,0),lca={threshold:[0,.3,.5,.75,1]};g.h=Qj.prototype;g.h.Dm=function(){return new Ui};
g.h.we=function(){return this.Ec};
g.h.zx=g.y;g.h.yx=g.y;g.h.pw=g.y;g.h.eo=g.y;
g.h.ff=function(a,b,c,d,e,f,k){var l=k||{};k=this.ew(c,l);l=this.pp(a,b,d,l);g.ta(b)||(this.Wa=new g.Yd(b.right-b.left,b.bottom-b.top));this.Cs(k,l,e&&.5<=this.g.g,f);this.S=c;0<l.g&&-1===this.Cg&&(this.Cg=c);-1==this.Dg&&Wj(this)&&(this.Dg=c);if(-2==this.oc)try{var m;a:{var n=g.ta(b)?null:b;if(a&&a!=Pj&&0!=this.Lc){if(!n){if(!this.Wa){m=-1;break a}n=new g.Og(0,this.Wa.width,this.Wa.height,0)}m=n.Db&&0<n.Db()&&n.getHeight&&0<n.getHeight()?this.Nj(a,n):-1}else m=-1}this.oc=m}catch(q){jj(207,q)}this.g=
l;d&&(this.g.g=0);this.md(this)};
g.h.Cs=function(a,b,c,d){this.we().update(a,b,this.g,c,.5,d)};
g.h.Vp=function(){return new Ci};
g.h.pp=function(a,b,c){var d=this.Vp();d.C=c;c=ni();d.o=0==c?-1:1==c?0:1;var e;g.ta(b)?d.g=this.Nj(b):(e=b,d.g=this.Nj(a,e));(a=e||null)?(a=(a.bottom-a.top)*(a.right-a.left),a=0<a?Math.min(this.Lc*d.g/a,1):0):a=0;d.D=a;d.A=!1;return d};
g.h.ew=function(a){if(-1==this.S)return 0;a=a-this.S||1;return 1E4<a?1:a};
g.h.Nj=function(a,b){if(g.ta(a))return a;if(b){var c=Rj(a,b),d;d=0>=this.Lc||0>=c.Db()||0>=c.getHeight()?!0:!1;return d?0:(c.bottom-c.top)*(c.right-c.left)/this.Lc}return 0};
g.h.Zo=function(a){if(this.B)return!0;if(this.va)return!1;this.aa=a||1;if(!this.J||yi())return this.va=!0,!1;a=new oj(!1,this.aa);var b=Iba(a,this.J,String(this.li));b?this.B=a:this.va=!0;return b};
g.h.hs=function(a,b){if(Vj(this))return!0;if(!this.element||!yi())return!1;this.aa=b||1;var c=new Gj(!1,this.aa),d=Tba(c,this.element,(0,g.A)(function(b){Xj(this,Ii(),!1,a,[0,.01,.5,1,.01,.3][b])},this));
d&&(this.D=c,Ij(c));return d};
g.h.Oi=function(){return 0};
g.h.gs=function(a){if(!this.J)return!1;a=a||1;var b=new Kj(!1,a),c=Xba(b,this.J);c&&(this.aa=a,this.fa=b);return c};bk.prototype.Ga=function(a){var b=this.g[a],c=b[1];this.A+=b[0];0<c&&0==this.o[a]&&(this.o[a]=1)};g.oa(dk);g.C(ek,Ui);ek.prototype.update=function(a,b,c,d,e,f){if(b.paused)return-1;d=ek.R.update.call(this,a,b,c,d,e,f);e=Wi(e);e=-1!=d&&d<=e;f=Ti(b)&&Ti(c);Ri(b.volume)&&(this.g=-1!=this.g?Math.min(this.g,b.volume):b.volume,this.B=Math.max(this.B,b.volume));e&&(this.ba+=a,this.ca+=a);this.o+=a;this.aa+=a;c.B&&(this.ga+=a,this.N+=a);0==d&&(this.S+=a);f&&(this.fa+=a,this.G+=a,Vi(this.da,d,a),0==d&&(this.F+=a),e?(this.H+=a,this.J+=a):this.M+=a,this.na=Math.max(this.M,this.na));if(e||!Ti(b))this.M=0;return d};g.C(gk,Qj);g.h=gk.prototype;g.h.gs=function(a){Oj.getInstance();var b=dk.getInstance(),c=g.cb(b.g,509445011);return g.cb(b.g,509445013)||c?(this.Ag=!0,gk.R.gs.call(this,a||3)):!1};
g.h.Zo=function(a){return gk.R.Zo.call(this,a||3)};
g.h.hs=function(a,b){return gk.R.hs.call(this,a,b||3)};
g.h.zx=function(a){if(!this.Ld||1E3<a-this.yg){var b=g.w("ima.bridge.getNativeViewability");g.ua(b)&&(b(this.C,(0,g.A)(this.FG,this)),this.Ld=!0,this.yg=a)}};
g.h.yx=function(a){var b=Oj.getInstance();a-this.lf>Mi(b.H)&&(a=g.w("ima.admob.getViewability"),g.ua(a)&&a(this.C))};
g.h.FG=function(a){this.Ld=!1;this.Ea&&(this.de=!0);g.Tb(a)&&this.Nd++;this.eo(a)};
g.h.pw=function(a){this.lf=Ii();this.eo(a)};
g.h.eo=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.Mb=!!f);b=new g.Og(b.top||0,b.left+b.width||0,b.top+b.height||0,b.left||0);c=a?Pj.clone():new g.Og(c.top||0,c.left+c.width||0,c.top+c.height||0,c.left||0);f=void 0;"n"==this.L&&(f={},f.volume=e);this.Lc=(b.bottom-b.top)*(b.right-b.left);this.position=b;this.ff(b,c,d,!1,!0,!0,f)};
g.h.ff=function(a,b,c,d,e,f,k){k=k||this.qb(this)||{};this.M=k.duration||this.M;this.ac=k.isVpaid||this.ac;this.tb=f;gk.R.ff.call(this,a,b,c,d,e,f,k)};
g.h.Cs=function(a,b,c,d){gk.R.Cs.call(this,a,b,c,d);this.ra[this.ra.length-1].update(a,b,this.g,c,.5,d);this.Zb=Ti(this.g)&&Ti(b);-1==this.Ta&&this.fe&&(this.Ta=this.we().o);this.A.A=0;a=this.g;b=Wj(this);.5<=a.g&&this.A.Ga("vs");b&&this.A.Ga("vw");Ri(a.volume)&&this.A.Ga("am");this.Zb&&this.A.Ga("a");this.F&&this.A.Ga("f");-1!=a.o&&(this.A.Ga("bm"),1==a.o&&this.A.Ga("b"));this.Zb&&b&&this.A.Ga("avw");this.tb&&this.A.Ga("cm");this.tb&&0<a.g&&this.A.Ga("pv");jk(this,this.we().o,!0)&&this.A.Ga("gdr")};
g.h.Dm=function(){return new ek};
g.h.we=function(){return this.Ec};
g.h.Vp=function(){return new Si};
g.h.pp=function(a,b,c,d){a=gk.R.pp.call(this,a,b,c,d);a.B=this.F;a.paused=this.ba;a.volume=d.volume;Ri(a.volume)||(this.Eg++,d=this.g,Ri(d.volume)&&(a.volume=d.volume));return a};
g.h.ew=function(a,b){var c=g.t(b.currentTime)?b.currentTime:this.sa,d=ik(this,a),e=c-this.sa,f=b.isYouTube,k=g.t(b.isPlaying)?b.isPlaying:!0,l=0;2!=this.Pa?(0<=e?(this.Ja+=d,this.ka+=Math.max(d-e,0),l=Math.min(e,this.Ja)):this.Md+=Math.abs(e),0!=e&&(this.Ja=0),-1==this.na&&0<e&&(this.na=0<=Li?Ii()-Li:-1)):(k||this.ba||(this.ka+=d),-1==this.na&&k&&(this.na=0<=Li?Ii()-Li:-1));this.sa=c;if(f){if(1==this.Pa)return l;if(2==this.Pa)return k?d:0}return ik(this,a)};
g.h.Nj=function(a,b){return this.Ea?0:this.F?1:gk.R.Nj.call(this,a,b)};
g.h.Oi=function(){return 1};var ex=null,tga={8:"google_prev_ad_formats_by_region",9:"google_prev_ad_slotnames_by_region"};g.Noa=!g.sc&&!cc();g.C(g.qk,g.M);g.h=g.qk.prototype;g.h.uj=!1;g.h.Ek=0;g.h.Jh=null;g.h.Pi=function(a){this.g=arguments;this.Jh||this.Ek?this.uj=!0:rk(this)};
g.h.stop=function(){this.Jh&&(g.pg(this.Jh),this.Jh=null,this.uj=!1,this.g=[])};
g.h.pause=function(){this.Ek++};
g.h.resume=function(){this.Ek--;this.Ek||!this.uj||this.Jh||(this.uj=!1,rk(this))};
g.h.P=function(){g.qk.R.P.call(this);this.stop()};
g.h.dO=function(){this.Jh=null;this.uj&&!this.Ek&&(this.uj=!1,rk(this))};var wk=null,yk=null,zk=null,Dk=null,Pk=null,vk=!1,Qk=[],Uk=[],Mk=!1,Nk=null,Lk=0,Jk=sk()||tk(),xca=0;var fl=null,Il="",Hl=!1;var el={sv:"sv",cb:"cb",e:"e",nas:"nas",msg:"msg","if":"if",sdk:"sdk",p:"p",tos:"tos",mtos:"mtos",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",fm:"sfm",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:"qmtos",qnc:"qnc",qmv:"qmv",qnv:"qnv",raf:"raf",rafc:"rafc",lte:"lte",tth:"tth",femt:"femt",femvt:"femvt",emc:"emc",emuc:"emuc",emb:"emb",avms:"avms",nvat:"nvat",qi:"qi"},Rca={c:Xk("c"),at:"at",atos:$k("atos",[0,2,4]),ta:function(a,b){return function(c){if(!g.t(c[a]))return b}}("tth","1"),
a:"a",dur:"dur",p:"p",tos:Zk(),j:"dom",mtos:$k("mtos",[0,2,4]),gmm:"gmm",gdr:"gdr",ss:Xk("ss"),vsv:Df("w2"),t:"t"},Uca={atos:"atos",avt:$k("atos",[2]),davs:"davs",dafvs:"dafvs",dav:"dav",ss:Xk("ss"),t:"t"},Sca={a:"a",tos:Zk(),at:"at",c:Xk("c"),mtos:$k("mtos",[0,2,4]),dur:"dur",fs:"fs",p:"p",vpt:"vpt",vsv:Df("ias_w2"),dom:"dom",gmm:"gmm",gdr:"gdr",t:"t"},Tca={tos:Zk(),at:"at",c:Xk("c"),mtos:$k("mtos",[0,2,4]),p:"p",vpt:"vpt",vsv:Df("dv_w4"),gmm:"gmm",gdr:"gdr",dom:"dom",t:"t",mv:"mv",qmpt:$k("qmtos",
[0,2,4]),qvs:function(a,b){return function(c){var d=c[a];if(g.ta(d))return(0,g.I)(b,function(a){return 0<d&&d>=a?1:0})}}("qnc",[1,
.5,0]),qmv:"qmv",qa:"qas",a:"a"};g.h=al.prototype;g.h.Gm=function(){};
g.h.ww=g.y;g.h.Rz=g.y;g.h.Yu=g.y;g.h.Bu=g.y;g.h.qw=function(a){window.clearTimeout(Nk);Nk=null;Il=a;Mk=!0};
g.h.nq=function(a){a&&(gl(a,"fp"),a.da=!0,this.Wr(a))};
g.h.mH=function(a){kk(a,0);return mk(a,"start")};
g.h.jH=function(a,b){Hk([a],!nk(),b);return mk(a,"progress")};
g.h.aH=function(a,b){return hl(a,"firstquartile",1,b)};
g.h.fH=function(a,b){a.fe=!0;return hl(a,"midpoint",2,b)};
g.h.nH=function(a,b){return hl(a,"thirdquartile",3,b)};
g.h.WG=function(a,b){var c=hl(a,"complete",4,b);a.F=!1;jl(a.C);return c};
g.h.iH=function(a,b){return il(a,"pause",b)};
g.h.VG=function(a,b){return il(a,"abandon",b)};
g.h.kH=function(a,b){var c=nk();a.ba&&!c&&(a.we().D=Ii());Hk([a],!c,b);a.ba=!1;return mk(a,"resume")};
g.h.pH=function(a){return mk(a,"viewable_impression")};
g.h.lH=function(a,b){var c=!nk();Hk([a],c,b);c=mk(a,"skip");a.F=!1;jl(a.C);return c};
g.h.gH=function(a,b){Hk([a],!nk(),b);return mk(a,"mute")};
g.h.oH=function(a,b){Hk([a],!nk(),b);return mk(a,"unmute")};
g.h.bH=function(a,b){a.F=!0;Hk([a],!nk(),b);return mk(a,"fullscreen")};
g.h.ZG=function(a,b){a.F=!1;Hk([a],!nk(),b);return mk(a,"exitfullscreen")};
g.h.cH=function(a){return mk(a,"fully_viewable_audible_half_duration_impression")};
g.h.eH=function(a){return mk(a,"measurable_impression")};
g.h.YG=function(a){return mk(a,"engagedview")};
g.h.dH=function(a){return mk(a,"impression")};
g.h.XG=function(a){return mk(a,"creativeview")};
g.h.hH=function(a,b){Hk([a],!nk(),b);return a.o()};
g.h.oq=function(a,b){Hk([a],!nk(),b);return a.o()};
g.h.Nm=function(a){Wj(a)&&!a.uh&&this.Rz(a);this.Yu(a)};
g.h.Wr=g.y;var rl=(new Date).getTime(),tl=!1,ul=!1,vl=!1,Jca=[function(a){return!(!a.chrome||!a.chrome.webstore)},
function(a){return!!a.document.documentMode},
function(a){return!!a.document.fonts.ready},
function(){return sl(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 sl(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 sl(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 sl(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 sl(4)},
function(a){return"srcset"in a.document.createElement("img")},
function(){return ul},
function(){return vl},
function(){return sl(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 sl(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]||ql(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 ql(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 sl(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 ql(a.CSS.supports)},
function(){return ql(window.Intl.Collator)},
function(a){return ql(a.document.createElement("dialog").show)},
function(){return sl(8)},
function(a){return ql(a.document.createElement("div").animate([{transform:"scale(1)",RF:"ease-in"},{transform:"scale(1.3)",RF:"ease-in"}],{duration:1300,A0:1}).reverse)},
function(a){return ql(a.document.createElement("div").animate)},
function(a){return ql(a.document.documentElement.webkitRequestFullScreen)},
function(a){return ql(a.navigator.getBattery)},
function(a){return ql(a.navigator.permissions.query)},
function(){return!1},
function(){return sl(9)},
function(){return ql(window.webkitRequestAnimationFrame)},
function(a){return ql(a.BroadcastChannel.call)},
function(a){return ql(a.FontFace)},
function(a){return ql(a.Gamepad)},
function(){return sl(10)},
function(a){return ql(a.MutationEvent)},
function(a){return ql(a.MutationObserver)},
function(a){return ql(a.crypto.getRandomValues)},
function(a){return ql(a.document.body.createShadowRoot)},
function(a){return ql(a.document.body.webkitCreateShadowRoot)},
function(a){return ql(a.fetch)},
function(){return sl(11)},
function(a){return ql(a.navigator.serviceWorker.register)},
function(a){return ql(a.navigator.webkitGetGamepads)},
function(a){return ql(a.speechSynthesis.speak)},
function(a){return ql(a.webkitRTCPeerConnection)},
function(a){return a.CSS.supports("--fake-var","0")},
function(){return sl(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 sl(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 sl(14)},
function(a){return"undefined"==typeof a.navigator.G0},
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")}],Kca=[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}],Lca=[function(a){return a.navigator.userAgent},
function(a){return a.navigator.platform},
function(a){return a.navigator.vendor}];g.C(wl,pba);wl.prototype.reset=function(){this.g[0]=1732584193;this.g[1]=4023233417;this.g[2]=2562383102;this.g[3]=271733878;this.B=this.A=0};
wl.prototype.update=function(a,b){g.t(b)||(b=a.length);for(var c=b-this.o,d=this.C,e=this.A,f=0;f<b;){if(0==e)for(;f<=c;)xl(this,a,f),f+=this.o;if(g.z(a))for(;f<b;){if(d[e++]=a.charCodeAt(f++),e==this.o){xl(this,d);e=0;break}}else for(;f<b;)if(d[e++]=a[f++],e==this.o){xl(this,d);e=0;break}}this.A=e;this.B+=b};
wl.prototype.digest=function(){var a=Array((56>this.A?this.o:2*this.o)-this.A);a[0]=128;for(var b=1;b<a.length-8;++b)a[b]=0;for(var c=8*this.B,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.C(Bl,al);g.oa(Bl);g.h=Bl.prototype;g.h.Gm=function(a,b){var c;switch(Oj.getInstance().g){case "nis":c=Tk(a);c||(c=Cl(this,a,"n",b.opt_nativeTime||-1),c.Ea=Oj.getInstance().G);break;case "gsv":(c=Tk(a))||(c=Cl(this,a,"m",b.opt_nativeTime||-1));break;case "exc":(c=Tk(a))||(c=Cl(this,a,"h",-1));break;default:b.opt_adElement?c=Gca(this,a,b.opt_adElement):(c=Pca(this,a,b.opt_sdkID||""))||(c=Tk(a)||void 0)}c&&c.qb==g.y&&(c.qb=(0,g.A)(this.Bu,this));return c};
g.h.Bu=function(a){var b=Oj.getInstance();a.o=0;a.Qa=0;var c;if("as"==a.L)if(b="getVideoMetadata"+a.oj,g.ua(a.element[b]))try{c=a.element[b]()}catch(e){a.o|=4}else a.o|=2;else if("h"==a.L)if(b=g.w("exc"==b.g?"ima.bridge.getVideoMetadata":"ima.common.getVideoMetadata"),g.ua(b))try{c=b(a.C)}catch(e){a.o|=4}else a.o|=2;else a.o|=1;a.o||(g.t(c)?null===c?a.o|=16:g.Tb(c)?a.o|=32:null!=c.errorCode&&(a.Qa=c.errorCode,a.o|=64):a.o|=8);null!=c||(c={});b=c;a.Za=0;for(var d in Koa)null==b[d]&&(a.Za|=Koa[d]);
pl(b,"currentTime");pl(b,"duration");Ri(c.volume)&&Ri(this.B)&&(c.volume*=this.B);return c};
g.h.Rz=function(a){El(a,"viewable_impression")&&(a.uh=!0)};
g.h.Yu=function(a){jk(a,a.we().da[0])&&!a.kf&&El(a,"fully_viewable_audible_half_duration_impression")&&(a.kf=!0)};
g.h.ww=function(a){a.th||a.da||this.A||!El(a,"measurable_impression")||(a.th=!0)};
g.h.Nm=function(a){this.A?Kl(this,a):Bl.R.Nm.call(this,a)};
g.h.Wr=function(a){this.A&&Kl(this,a)};
g.u("Goog_AdSense_Lidar_sendVastEvent",ij(193,Jl,void 0,function(){return{v:"575","if":Oj.getInstance().o?"1":"0",nas:String(Qk.length)}}),void 0);
g.u("Goog_AdSense_Lidar_getViewability",dj(194,function(a,b){var c;c=Bl.getInstance();var d={};g.$b(d,{opt_adElement:void 0,opt_fullscreen:void 0},b||{});if(d.opt_bounds)c=Gl(c,ol("ol"),!1);else{if(Hl)d=ol("ue");else if(d=c.Gm(a,d)){var e=ol();g.$b(e,lk(d,!0,!1));d=e}else d=ol("nf");c=Gl(c,d,!0)}return c},void 0,void 0),void 0);
g.u("Goog_AdSense_Lidar_getUrlSignalsArray",ij(195,function(){return Al()}),void 0);
g.u("Goog_AdSense_Lidar_getUrlSignalsList",ij(196,function(){return g.Lc(Al())}),void 0);
g.u("Goog_AdSense_Lidar_addExperimentId",dj(249,Ll,void 0,void 0),void 0);var $A=(new Date).getTime();var Ql="StopIteration"in na?na.StopIteration:{message:"StopIteration",stack:""};Pl.prototype.next=function(){throw Ql;};
Pl.prototype.Od=function(){return this};g.h=Tl.prototype;g.h.Gc=function(){return this.Ka};
g.h.fb=function(){Wl(this);for(var a=[],b=0;b<this.g.length;b++)a.push(this.o[this.g[b]]);return a};
g.h.Bb=function(){Wl(this);return this.g.concat()};
g.h.isEmpty=function(){return 0==this.Ka};
g.h.clear=function(){this.o={};this.mh=this.Ka=this.g.length=0};
g.h.remove=function(a){return Ul(this.o,a)?(delete this.o[a],this.Ka--,this.mh++,this.g.length>2*this.Ka&&Wl(this),!0):!1};
g.h.get=function(a,b){return Ul(this.o,a)?this.o[a]:b};
g.h.set=function(a,b){Ul(this.o,a)||(this.Ka++,this.g.push(a),this.mh++);this.o[a]=b};
g.h.forEach=function(a,b){for(var c=this.Bb(),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 Tl(this)};
g.h.Od=function(a){Wl(this);var b=0,c=this.mh,d=this,e=new Pl;e.next=function(){if(c!=d.mh)throw Error("The map has changed since the iterator was created");if(b>=d.g.length)throw Ql;var e=d.g[b++];return a?e:d.o[e]};
return e};g.h=g.$l.prototype;g.h.toString=function(){var a=[],b=this.B;b&&a.push(hm(b,Ooa,!0),":");var c=this.o;if(c||"file"==b)a.push("//"),(b=this.G)&&a.push(hm(b,Ooa,!0),"@"),a.push(g.Fa(c).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),c=this.C,null!=c&&a.push(":",String(c));if(c=this.A)this.o&&"/"!=c.charAt(0)&&a.push("/"),a.push(hm(c,"/"==c.charAt(0)?Poa:Qoa,!0));(c=this.g.toString())&&a.push("?",c);(c=this.Gh())&&a.push("#",hm(c,Roa));return a.join("")};
g.h.resolve=function(a){var b=this.clone(),c=!!a.B;c?am(b,a.B):c=!!a.G;c?b.G=a.G:c=!!a.o;c?g.bm(b,a.o):c=null!=a.C;var d=a.A;if(c)g.cm(b,a.C);else if(c=!!a.A){if("/"!=d.charAt(0))if(this.o&&!this.A)d="/"+d;else{var e=b.A.lastIndexOf("/");-1!=e&&(d=b.A.substr(0,e+1)+d)}e=d;if(".."==e||"."==e)d="";else if(Ja(e,"./")||Ja(e,"/.")){for(var d=g.Da(e,"/"),e=e.split("/"),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.dm(b,d):c=""!==a.g.toString();c?em(b,a.g.clone()):c=!!a.H;c&&(b.H=a.Gh());return b};
g.h.clone=function(){return new g.$l(this)};
g.h.bw=function(){return this.g.toString()};
g.h.Gh=function(){return this.H};
var Ooa=/[#\/\?@]/g,Qoa=/[\#\?:]/g,Poa=/[\#\?]/g,ada=/[\#\?@]/g,Roa=/#/g;g.h=g.gm.prototype;g.h.Gc=function(){om(this);return this.Ka};
g.h.remove=function(a){om(this);a=qm(this,a);return Vl(this.g,a)?(this.o=null,this.Ka=this.Ka-this.g.get(a).length,this.g.remove(a)):!1};
g.h.clear=function(){this.g=this.o=null;this.Ka=0};
g.h.isEmpty=function(){om(this);return 0==this.Ka};
g.h.Bb=function(){om(this);for(var a=this.g.fb(),b=this.g.Bb(),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.fb=function(a){om(this);var b=[];if(g.z(a))rm(this,a)&&(b=g.lb(b,this.g.get(qm(this,a))));else{a=this.g.fb();for(var c=0;c<a.length;c++)b=g.lb(b,a[c])}return b};
g.h.set=function(a,b){om(this);this.o=null;a=qm(this,a);rm(this,a)&&(this.Ka=this.Ka-this.g.get(a).length);this.g.set(a,[b]);this.Ka=this.Ka+1;return this};
g.h.get=function(a,b){var c=a?this.fb(a):[];return 0<c.length?String(c[0]):b};
g.h.toString=function(){if(this.o)return this.o;if(!this.g)return"";for(var a=[],b=this.g.Bb(),c=0;c<b.length;c++)for(var d=b[c],e=g.Fa(d),d=this.fb(d),f=0;f<d.length;f++){var k=e;""!==d[f]&&(k+="="+g.Fa(d[f]));a.push(k)}return this.o=a.join("&")};
g.h.clone=function(){var a=new g.gm;a.o=this.o;this.g&&(a.g=this.g.clone(),a.Ka=this.Ka);return a};var mn={JD:5E3,KD:15E3,uE:"://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(" "),vE:/\bocr\b/,zp:0,qg:{},DP:function(a,b,c){a&&(mn.rI(a)?mn.lA(a,b):mn.hA(a,b,c))},
rI:function(a){return D(g.E(a))?!1:0<=a.indexOf("://pagead2.googlesyndication.com/pagead/gen_204?id=yt3p&sr=1&")||(new g.$l(a)).Gh().match(mn.vE)?!0:null!=g.Za(mn.uE,function(b){return null!=a.match(b)})},
lA:function(a,b){if(a&&(a=mn.iG(a),!D(a))){var c='javascript:"<body><img src=\\""+'+a+'+"\\"></body>"';b?mn.ix(function(b){mn.fA(b?c:'javascript:"<body><object data=\\""+'+a+'+"\\" width=1 height=1 style=\\"visibility:hidden;\\"></body>"')}):mn.fA(c)}},
fA:function(a){var b=g.pe("IFRAME",{src:a,style:"display:none"});a=g.ae(b).body;var c,d=g.og(function(){g.uf(c);g.ye(b)},mn.KD);
c=sf(b,["load","error"],function(){g.og(function(){g.pg(d);g.ye(b)},mn.JD)});
a.appendChild(b)},
ix:function(a,b){var c=mn.qg.imageLoadingEnabled;if(null!=c)a(c);else{var d=!1,c=function(b,c){delete mn.qg[c];d||(d=!0,null!=mn.qg.imageLoadingEnabled||(mn.qg.imageLoadingEnabled=b),a(b))};
b?b(c):mn.CI(c)}},
CI:function(a){var b=new window.Image,c,d=""+mn.zp++;mn.qg[d]=b;b.onload=function(){(0,window.clearTimeout)(c);a(!0,d)};
c=(0,window.setTimeout)(function(){a(!1,d)},300);
b.src="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw=="},
CP:function(a){if(a){var b=g.re("OBJECT");b.data=a;b.width="1";b.height="1";b.style.visibility="hidden";var c=""+mn.zp++;mn.qg[c]=b;b.onload=b.onerror=function(){delete mn.qg[c]};
window.document.body.appendChild(b)}},
gA:function(a){if(a){var b=new window.Image,c=""+mn.zp++;mn.qg[c]=b;b.onload=b.onerror=function(){delete mn.qg[c]};
b.src=a}},
hA:function(a,b,c){if(a){if(c)try{if(na.navigator&&na.navigator.sendBeacon&&na.navigator.sendBeacon(a,""))return}catch(d){}b?mn.ix(function(b){b?mn.gA(a):mn.CP(a)}):mn.gA(a)}},
iG:function(a){a=Dd(Gd(a));if("about:invalid#zClosurez"===a)return"";a=g.Jd(Ld(a));return g.Fa(g.Lc(a))}};g.C(g.sm,g.M);var vm=[];g.sm.prototype.T=function(a,b,c,d){return tm(this,a,b,c,d)};
g.sm.prototype.Ba=function(a,b,c,d,e){if(g.qa(b))for(var f=0;f<b.length;f++)this.Ba(a,b[f],c,d,e);else c=c||this.handleEvent,e=e||this.B||this,c=lf(c),d=!!d,b=g.af(a)?hf(a.re,String(b),c,d,e):a?(a=g.nf(a))?hf(a,b,c,d,e):null:null,b&&(g.uf(b),delete this.o[b.key]);return this};
g.sm.prototype.P=function(){g.sm.R.P.call(this);zm(this)};
g.sm.prototype.handleEvent=function(){throw Error("EventHandler.handleEvent not implemented");};g.C(Am,g.M);Am.prototype.F=function(){this.B=(0,g.G)()};
Am.prototype.H=function(a){var b=null!=a.target.href?a.target:a.target.parentNode,c=[];this.o&1&&c.push("nm="+this.C);this.o&2&&c.push("nb="+this.D.get(b));if(this.o&8){var d=g.oh(this.A);c.push("nx="+(a.clientX-d.x));c.push("ny="+(a.clientY-d.y))}this.o&16&&null!=this.B&&c.push("clkt="+((0,g.G)()-this.B));0<c.length&&(b.href+=0<=b.href.indexOf("?")?"&"+c.join("&"):"?"+c.join("&"))};
Am.prototype.G=function(){this.C++};
Am.prototype.P=function(){Am.R.P.call(this);this.g.dispose()};g.h=Cm.prototype;g.h.Gc=function(){return this.g.Gc()};
g.h.remove=function(a){return this.g.remove(Dm(a))};
g.h.clear=function(){this.g.clear()};
g.h.isEmpty=function(){return this.g.isEmpty()};
g.h.contains=function(a){return Vl(this.g,Dm(a))};
g.h.fb=function(){return this.g.fb()};
g.h.clone=function(){return new Cm(this)};
g.h.Od=function(){return this.g.Od(!1)};var eda=/(?:\[|%5B)([a-zA-Z0-9_]+)(?:\]|%5D)/g;var Gm="ad_type vpos mridx pos vad_type videoad_start_delay".split(" ");g.h=Km.prototype;g.h.Op=function(){return this.g.Op()};
g.h.ek=function(){return this.g.ek()};
g.h.wf=function(){return this.g.wf()};
g.h.Pm=function(a){return this.Mf?this.g.sq():this.g.Pm(a)};
g.h.setSize=function(a,b){this.g.setSize(a,b)};
g.h.Dp=function(){return this.g.Dp()};
g.h.Qm=function(){return this.g.Qm()};
g.h.uq=function(){return this.g.uq()};
g.h.Rm=function(){return this.g.Rm()};
g.h.Bf=g.y;g.h.kg=g.y;g.h.jd=g.y;g.h.sq=function(){return this.g.sq()};
g.h.tq=g.y;g.C(Lm,g.Ve);Lm.prototype.getError=function(){return this.A};var vy="adMetadata callFlashVpaidMethod adCanPlay click companionBackfill companionInitialized complete destroyInsecureFlashVpaid durationChange firstquartile impression initInsecureFlashVpaid youtubeKevlarCompanionShow loaded log mediaUrlPinged midpoint mute pause resume skipshown skippableStateChanged skip start thirdquartile trackingUrlPinged videoClicked volumeChange vpaidEvent youTubeChannelMetadata".split(" "),J3="abandon acceptinvitation acceptinvitationlinear click close collapse companionClick complete creativeview endscreenClick engagedview exitfullscreen expand externalActivityEvent firstquartile fullscreen instreamAdComplete measurable_impression midpoint mute MUTE_AD pause progress replay resume rewind show_ad skipshown skip start stop 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(" "),
Soa="acceptinvitation click close collapse creativeview expand progress".split(" "),K3="viewable_impression measurable_impression overlay_unmeasurable_impression overlay_unviewable_impression overlay_viewable_immediate_impression overlay_viewable_end_of_session_impression externalActivityEvent".split(" "),L3={measurable_impression:"measurable_impression",viewable_impression:"viewable_impression",fully_viewable_audible_half_duration_impression:"fully_viewable_audible_half_duration_impression",overlay_unmeasurable_impression:"overlay_unmeasurable_impression",
overlay_unviewable_impression:"overlay_unviewable_impression",overlay_viewable_immediate_impression:"overlay_viewable_immediate_impression",overlay_viewable_end_of_session_impression:"overlay_viewable_end_of_session_impression"};g.C(Mm,g.Ve);Mm.prototype.Gb=function(){return this.A};
var Nga={eT:"adCanPlay",UU:"contentPauseRequested",VU:"contentResumeRequested",Ao:"click",S_:"videoClicked",U_:"videoIconClicked",Jt:"engagedview",ZV:"expandedChanged",FZ:"start",tl:"impression",Rt:"measurable_impression",uu:"viewable_impression",Ot:"fully_viewable_audible_half_duration_impression",kE:"overlay_resize",lE:"overlay_unmeasurable_impression",mE:"overlay_unviewable_impression",oE:"overlay_viewable_immediate_impression",nE:"overlay_viewable_end_of_session_impression",aW:"externalActivityEvent",
PAUSED:"pause",XY:"resume",Mt:"firstquartile",St:"midpoint",ou:"thirdquartile",Ft:"complete",OV:"durationChange",cU:"autoClose",L_:"userClose",M_:"userRecall",DY:"prefetched",Ho:"loaded",RT:"allAdsCompleted",du:"skip",FE:"skipshown",aX:"linearChanged",wZ:"skippableStateChanged",fT:"adMetadata",dT:"adBreakReady",lX:"log",VOLUME_CHANGED:"volumeChange",a0:"mute",LU:"companionBackfill",q0:"youTubeVideoMetadata",o0:"youTubeChannelMetadata",K_:"urlNavigationRequested",k_:"trackingUrlPinged",O_:"video_card_endcap_action",
P_:"video_card_endcap_collapse",Q_:"video_card_endcap_dismiss",R_:"video_card_endcap_impression",l0:"why_this_ad_url",k0:"why_this_ad_got_it",XX:"MUTE_AD",OU:"companionInitialized",NU:"companionImpression",MU:"companionClick",sX:"mediaUrlPinged",p0:"youtubeKevlarCompanionShow"};Qm.prototype.g=function(){return this.ba};
Qm.prototype.getPlayerType=function(){return""};
var Q=new Qm;var Toa={NORMAL:"normal",Nt:"fullscreen"};var Xs=["ADSENSE","ADSENSE/ADX"],jfa=["DART","DART_DFA","DART_DFP"],ufa=["FREEWHEEL","YT:FREEWHEEL"],bs=["SHOPPING","YT:SHOPPING"],fs=["GDFP"],ifa=["VIRAL","ADSENSE-VIRAL"],hfa=["VIRAL-RESERVE"],Op={"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"},Ru={eV:"application/dash+xml",CX:"video/mp4",
EX:"video/mpeg",pX:"application/x-mpegURL",fY:"video/ogg",UZ:"video/3gpp",d0:"video/webm",BX:"audio/mpeg",DX:"audio/mp4"};g.C(Rm,g.Ve);g.C(Sm,Error);Sm.prototype.rd=function(){return this.B};
Sm.prototype.Nb=function(){return this.o};
Sm.prototype.Wb=function(){return this.C};
Sm.prototype.toString=function(){return"AdError "+this.Nb()+": "+this.rd()+(null!=this.mk?" Caused by: "+this.mk:"")};Tm.prototype.g=function(){return!1};
Tm.prototype.o=function(){return window.NaN};
Tm.prototype.A=function(){return""};Um.prototype.getId=function(){return this.za};Vm.prototype.getId=function(){return this.za};var pda=["ActiveViewExternalLayer"],Ym=null;var eea=["*.googlesyndication.com","gcdn.2mdn.net"],rda=["*.youtu.be","*.youtube.com"],uda="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(" "),tda=["c.googlesyndication.com"],
jia=["googleads.g.doubleclick.net","pubads.g.doubleclick.net"];on.prototype.Nb=function(){return this.errorCode};
on.prototype.rd=function(){return this.message};
var uia=new on("Unable to request ads from server. Cause: {0}.",1005),kia=new on("Unable to request ads from server due to network error.",1012),lz=new on("Cannot parse the {0} value for the adslist response: {1}.",900),Ou=new on("Invalid usage of the API. Cause: {0}",900),Xga=new on("Asset fallback ad replacement.",1021),Yga=new on("Asset fallback no ad replacement.",1021),M3=new on("Unable to display one or more required companions.",602),HB=new on("There was a problem requesting ads from the server.",
1005),Uoa=new on("There was a problem requesting the biscotti ID.",1005),iia=new on("Ad tag URI {0} is invalid. It must be properly encoded before being passed.",1013),kB=new on("The provided ad type: {0} is not supported.",1005),oo=new on("The provided {0} information: {1} is invalid.",1101),Voa=new on("The provided skip offset was invalid.",1105),Woa=new on("The extension contained is neither skippable nor nonskippable.",1105),Fq=new on("The response does not contain any valid ads.",1009),Xoa=new on("The overlay ad content could not be displayed since creative dimensions do not align with display area.",
501),iha=new on("The ad playlist response was malformed or empty.",1010),mz=new on("The ad response was not understood and cannot be parsed.",1010),nia=new on("An unexpected error occurred and the cause is not known. Refer to the inner error for more info.",900),wia=new on("The ad response contains unexpected element. Cause {0}.",1010),XB=new on("No assets were found in the VAST ad response.",200),$ea=new on("Duplicate node in <{0}>: {1}",101),QA=new on("The VAST response document is empty.",1009),
Lga=new on("Linear assets were found in the VAST ad response, but none of them matched the video player's capabilities.",403),Eq=new on("Ad request reached a timeout.",301),RA=new on("VAST response was malformed and could not be parsed.",100),N3=new on("VAST media file loading reached a timeout of {0} seconds.",402),Gq=new on("Ad request could not be completed due to a network error.",301),Yoa=new on("Non linear assets were found in the VAST ad response, but none of them matched the video player's capabilities.",
503),Zoa=new on("There was an error displaying the media file.",405),tea=new on("The maximum number of VAST wrappers ({0}) has been reached.",302),$oa=new on("VAST media file duration differs from the VAST response duration by {0} seconds.",202),Qx=new on("Video player received an ad with unexpected or incompatible linearity",201),Zea=new on("Unknown node in <{0}>: {1}",101),jga=new on("Invalid VAST resource type: {0}",101),Jha=new on("Invalid VAST version",102),uea=new on("No additional VAST wrappers allowed.",
300),Lq=new on("No Ads VAST response after one or more Wrappers",303),Wx=new on("There was an error playing the video ad.",400),apa=new on("VMAP unsupported node in <{0}>: {1}",1010),Dw=new on("An unexpected error occurred within the VPAID creative. Refer to the inner error for more info.",901);g.C(vn,g.Ve);var dA="abort canplay canplaythrough durationchange emptied loadstart loadeddata loadedmetadata progress ratechange seeked seeking stalled suspend waiting".split(" ");var Hn={},Jn="",Cn=/OS (\S+) like/,bpa=/OS X (\S+)\)/,Fn=/Android ([\d\.]+)/;On.prototype.reset=function(){this.g=0;this.o=null};var cpa;
cpa={rD:["BC","AD"],qD:["Before Christ","Anno Domini"],eE:"JFMAMJJASOND".split(""),IE:"JFMAMJJASOND".split(""),Vt:"January February March April May June July August September October November December".split(" "),eu:"January February March April May June July August September October November December".split(" "),bu:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),fu:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),vu:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),hu:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),
cu:"Sun Mon Tue Wed Thu Fri Sat".split(" "),gu:"Sun Mon Tue Wed Thu Fri Sat".split(" "),YX:"SMTWTFS".split(""),JE:"SMTWTFS".split(""),BE:["Q1","Q2","Q3","Q4"],tE:["1st quarter","2nd quarter","3rd quarter","4th quarter"],Bt:["AM","PM"],Bo:["EEEE, MMMM d, y","MMMM d, y","MMM d, y","M/d/yy"],pu:["h:mm:ss a zzzz","h:mm:ss a z","h:mm:ss a","h:mm a"],lD:["{1} 'at' {0}","{1} 'at' {0}","{1}, {0}","{1}, {0}"],Do:6,aF:[5,6],Eo:5};g.O3=cpa;g.O3=cpa;Qn.prototype.clone=function(){return new Qn(this.C,this.B,this.days,this.g,this.o,this.A)};
Qn.prototype.times=function(a){return new Qn(this.C*a,this.B*a,this.days*a,this.g*a,this.o*a,this.A*a)};
g.h=g.Tn.prototype;g.h.pm=g.O3.Do;g.h.rm=g.O3.Eo;g.h.clone=function(){var a=new g.Tn(this.date);a.pm=this.pm;a.rm=this.rm;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.Im=function(a,b){return[this.getFullYear(),g.Na(this.getMonth()+1,2),g.Na(this.getDate(),2)].join(a?"-":"")+(b?g.Un(this):"")};
g.h.toString=function(){return this.Im()};
g.h.valueOf=function(){return this.date.valueOf()};Vn.prototype.reset=function(){this.o=this.g=null};var ao=new Xn;Xn.prototype.clear=function(){this.g=Wn();this.C=this.J=this.o=null;this.B=Wn();this.A=null;this.aa=this.F=this.H="";this.G=this.S=this.D=null;this.ba=!1};g.oa($n);$n.prototype.isLoggingEnabled=function(){return this.g};g.h=fo.prototype;g.h.oF=!1;g.h.Eu=!1;g.h.Ju=!0;g.h.ri=null;g.h.bitrate=-1;g.h.contentId=null;g.h.Bv=!1;g.h.mimeTypes=null;g.h.surveyCreativeData=null;g.h.iQ=!0;g.h.Gs=!1;g.h.jQ=!1;g.h.Hs=!1;g.h.Is=!1;g.h.OA=!1;g.h.PA=!0;g.h.TF=!1;g.h.kQ=!0;g.h.fp=!1;g.h.NF=!1;g.h.uQ=0;g.h.showContentThumbnail=!0;g.h.Fs=!1;g.h.ij=null;g.h.Xe=15E3;g.h.Ku=!0;g.h.Iz=0;g.h.Lr=-1;g.h.Gw=null;g.h.Nf=-1;g.h.shortViewCount=null;g.C(go,g.zf);var cA={nU:"beginFullscreen",Ao:"click",SV:"end",TV:"endFullscreen",ERROR:"error",Ho:"loaded",rX:"mediaLoadTimeout",PAUSE:"pause",PLAY:"play",vZ:"skip",FE:"skipShown",oZ:"shareClicked",iu:"start",XZ:"timeUpdate",zU:"cardsStateChange",VZ:"timedMetadata",Z_:"volumeChange"};g.h=go.prototype;g.h.Ow=function(){return!1};
g.h.vb=function(){return!0};
g.h.Xr=g.y;g.h.Qw=g.y;g.h.zq=g.y;g.h.ue=function(){return null};
g.h.Cq=g.y;g.h.Bq=g.y;g.C(ho,g.zf);var io=null;ho.prototype.sj=function(a){this.A=a};
ho.prototype.destroy=function(){this.G.Ba(this.o,"activityMonitor",this.J);this.o=null};
ho.prototype.J=function(a){var b=a.If;switch(a.Fd){case "appStateChanged":Vca(Bl.getInstance(),b.appState,b.nativeTime);break;case "externalActivityEvent":mo(b.queryId,b.viewabilityString,b.eventName);break;case "measurableImpression":ko(b.queryId,b.viewabilityString);break;case "pageSignals":this.H=b.pageSignals;break;case "viewableImpression":lo(b.queryId,b.viewabilityString);break;case "engagementData":b=b.engagementString;jo().B=b;jo().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=Bl.getInstance(),e=b.queryId,b=b.viewabilityData;a=Oj.getInstance();if("exc"==a.g){d.B=b.nativeVolume;var c=b.coverage||0,f=b.unmeasurable,d=d.Gm(e,{});-1==d.Eb&&(d.Eb=Ii(),d.sh=d.we().o);d.Ab+=f?1:0;d.zg++;d.jf[Wi(c)]++;e=b.insideIframe;g.t(e)&&0==e&&(a.o=!1);d.da=f||d.da;b.position&&Sj(d,P,a.o,new g.Og(b.position.top,b.position.right,b.position.bottom,b.position.left));d.g.g=g.Rd(c,0,1);d.hc=
d.g.g}break;case "engagement":a=b.eventId,window.clearTimeout(a),c=this.g.get(a),$n.getInstance().isLoggingEnabled()&&(f=-1,this.D&&(f=(0,g.G)()-this.D),d=!1,c||(d=!0),Qb(b,"loggingId")&&co($n.getInstance(),43,{step:"receivedResponse",time:(0,g.G)(),timeout:d,logid:b.loggingId,timediff:f})),c&&(this.g.remove(a),c(b.engagementString))}};
g.u("ima.bridge.getNativeViewability",function(a,b){jo();b({})},void 0);
g.u("ima.bridge.getVideoMetadata",function(){var a=(jo(),null);return g.ua(a)?a():{}},void 0);
g.u("ima.bridge.triggerViewEvent",lo,void 0);g.u("ima.bridge.triggerMeasurableEvent",ko,void 0);g.u("ima.bridge.triggerExternalActivityEvent",mo,void 0);var Ada={LD:"Image",xD:"Flash",ALL:"All"},zda={xW:"Html",BW:"IFrame",GZ:"Static",ALL:"All"},Bda={DW:"IgnoreSize",jZ:"SelectExactMatch",kZ:"SelectNearMatch"},Cda={vV:"DisallowResize",TY:"ResizeSmaller"};g.C(yo,g.zf);var zo=null;g.h=yo.prototype;g.h.destroy=function(){this.D.Ba(this.g,"activityMonitor",this.Jw);this.A=!1;this.o.clear()};
g.h.P=function(){this.destroy();yo.R.P.call(this)};
g.h.init=function(a){if(!this.A){if(this.g=a||null)this.D.T(this.g,"activityMonitor",this.Jw),Fo(this);Q.J&&Gda();Q.o||Q.g()||(Bl.getInstance().A=!0);this.C=(g.ua(null),null);this.A=!0;a=qda();(0,g.H)(a,function(a){Ll(a)})}};
g.h.sj=function(a){this.B=a};
g.h.Jw=function(a){var b=a.If,c=b.queryId,d={};d.eventId=b.eventId;switch(a.Fd){case "getPageSignals":Fo(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=Do(this,e,c,a,f);this.g.send("activityMonitor","viewability",d);break;case "fetchAdTagUrl":d={},d.eventId=b.eventId,a=b.osdId,c=null,Qb(b,"isFullscreen")&&(c=b.isFullscreen),Qb(b,"loggingId")&&(b=b.loggingId,d.loggingId=b,co($n.getInstance(),
43,{step:"beforeLookup",logid:b,time:(0,g.G)()},!0)),d.engagementString=Hda(this,a,c),this.g.send("activityMonitor","engagement",d)}};
g.u("ima.common.getVideoMetadata",function(a){a=Ao().o.get(a);return g.ua(a)?a():{}},void 0);
g.u("ima.common.triggerViewEvent",function(a,b){var c={};c.queryId=a;c.viewabilityString=b;var d=Ao().g;d?d.send("activityMonitor","viewableImpression",c):Ao().dispatchEvent(new Mm("viewable_impression",null,c))},void 0);
g.u("ima.common.triggerViewabilityMeasurementUpdate",function(a,b){var c=Ao().g,d={};d.queryId=a;d.viewabilityData=b;c&&c.send("activityMonitor","viewabilityMeasurement",d)},void 0);
g.u("ima.common.triggerMeasurableEvent",function(a,b){var c={};c.queryId=a;c.viewabilityString=b;var d=Ao().g;d?d.send("activityMonitor","measurableImpression",c):Ao().dispatchEvent(new Mm("measurable_impression",null,c))},void 0);
g.u("ima.common.triggerExternalActivityEvent",function(a,b,c){var d={};d.queryId=a;d.viewabilityString=b;d.eventName=c;(a=Ao().g)?a.send("activityMonitor","externalActivityEvent",d):Ao().dispatchEvent(new Mm("externalActivityEvent",null,d))},void 0);
g.u("ima.common.updateEngagementDetectionValue",function(a){if(Q.J){var b=Ao().g;if(b){var c={};c.engagementString=a;b.send("activityMonitor","engagementData",c)}}},void 0);
Ao();g.C(Go,g.Ve);Go.prototype.getError=function(){return this.g};Ho.prototype.dd=function(){return this.F};
Ho.prototype.Ac=function(){return this.g};
Ho.prototype.clone=function(){var a=new Ho(this.H,this.G);if(null!=this.g)Io(a,this.Ac(),this.B,this.o,this.D);else{var b=this.dd(),c=this.B,d=this.o,e=this.A,f=this.D,k=this.C;a.F=b;a.g=null;a.B=c;a.o=d;a.A=e;a.D=f||[];a.C=k||[]}return a};g.C(Ko,g.Ve);Lo.prototype.videoCount=0;g.sc&&g.jc(8);g.Mo.prototype.o=wd;var Yo={},lp={},mp={},hq={};Oo.prototype.eg=null;Oo.prototype.dd=function(){return this.content};
Oo.prototype.toString=function(){return this.content};
g.C(Po,Oo);Po.prototype.rf=hq;g.C(Qo,Oo);Qo.prototype.rf=Yo;g.C(Ro,Oo);Ro.prototype.rf={};Ro.prototype.eg=1;g.C(So,Oo);So.prototype.rf=lp;So.prototype.eg=1;g.C(To,Oo);To.prototype.rf=mp;To.prototype.eg=1;g.C(Uo,Oo);Uo.prototype.rf={};Uo.prototype.eg=1;g.C(Vo,Oo);Vo.prototype.rf={};Vo.prototype.eg=1;var Zo=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.eg=d);return c}}(Qo);
$o(Ro);$o(So);$o(To);var Pda=$o(Uo);$o(Vo);var ap={},bp={},ur=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.eg=d);return c}}(Qo),jp=/['()]/g,sp={},Qda={"\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;"},Rda={"\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"},Jda=/[\x00\x22\x27\x3c\x3e]/g,Lda=/[\x00\x09-\x0d \x22\x26\x27\x2d\/\x3c-\x3e`\x85\xa0\u2028\u2029]/g,Kda=/[\x00\x09-\x0d \x22\x27\x2d\/\x3c-\x3e`\x85\xa0\u2028\u2029]/g,op=/[\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,
Nda=/^(?![^#?]*\/(?:\.|%2E){2}(?:[\/?#]|$))(?:(?:https?|mailto):|[^&:\/?#]*(?:[\/?#]|$))/i,Oda=/^[^&:\/?#]*(?:[\/?#]|$)|^https?:|^data:image\/[a-z0-9+]+;base64,[a-z0-9+\/]+=*$|^blob:/i,ep=/<(?:!|\/?([a-zA-Z][a-zA-Z0-9:\-]*))(?:[^>'"]|"[^"]*"|'[^']*')*>/g,fp=/</g;wp.prototype.Wb=function(){return this.A};
g.C(xp,wp);vp.prototype.isEmpty=function(){return this.g.isEmpty()};g.h=Ep.prototype;g.h.getDuration=function(){return this.ka};
g.h.Kq=function(){return null};
g.h.Jq=function(){return null};
g.h.Iq=function(){return null};
g.h.Gb=function(){return this.H};
g.h.Am=function(){for(var a=[this],b=this.H.o;b;){var c=Hp(this,b)||Hp(this,b,!0);null!=c&&a.push(c);b=b.o}return a};Jp.prototype.Db=function(){return this.D};
Jp.prototype.getHeight=function(){return this.C};g.C(Kp,Ep);g.h=Kp.prototype;g.h.Ue=function(){return this.B};
g.h.Lg=function(){return this.o};
g.h.Mg=function(){return null!=this.C?this.C.o:null};
g.h.Kq=function(){var a=Mp(this,"javascript");return null!=a?a.o:null};
g.h.Jq=function(){var a=Np(this);return null!=a?a.o:null};
g.h.Iq=function(){return null!=this.C?this.C.A:1==this.o.length?this.o[0].A:null};g.C(Pp,Ep);g.h=Pp.prototype;g.h.dd=function(){return Ie(this.Ac())};
g.h.lk=function(){return!1};
g.h.Lq=function(){return this.lk()?Ie(this.Ac(!0)):""};
g.h.ed=function(){return this.ca};
g.h.Ve=function(){return this.Ja};
g.h.Db=function(){return this.Ve().width};
g.h.getHeight=function(){return this.Ve().height};
g.h.Mg=function(){return this.A};
g.h.Kq=function(){return"VPAID"==this.J&&"Javascript"==this.ca?this.A:null};
g.h.Jq=function(){return"VPAID"==this.J&&"Flash"==this.ca?this.A:null};
g.h.Iq=function(){return this.J};
g.h.Ue=function(){return this.na};g.C(Qp,g.M);Qp.prototype.F=function(){this.D=(0,g.G)()};
Qp.prototype.H=function(a,b){var c=a.element;1==(this.o&1)&&(0==this.B&&this.B++,this.g.nm=this.B);2==(this.o&2)&&(this.g.nb=a.CF);if(8==(this.o&8)){var d=g.oh(this.C);this.g.nx=Math.round(b.clientX-d.x);this.g.ny=Math.round(b.clientY-d.y)}16==(this.o&16)&&null!=this.D&&(d=(0,g.G)()-this.D,this.g.clkt=d);512==(this.o&512)&&(d=mi())&&(this.g.mb=d);"A"==c.tagName.toUpperCase()&&g.Pd(c,Yda(this,c.href))};
Qp.prototype.G=function(){this.B++};var Zda=g.sc?'javascript:""':"about:blank";g.C(Rp,Pp);g.h=Rp.prototype;g.h.ni=function(a){null==this.o||D(g.E(this.Ue()))||(this.o.T(a,"click",this.aa),this.ba.push(a))};
g.h.Ac=function(a){a?(null==this.La&&(this.La=this.dg(a),g.ue(this.La,Wp(this))),a=this.La):(null==this.B&&(this.B=this.dg(),g.ue(this.B,Wp(this))),a=this.B);null!=this.o&&this.o.T(a,"creativeview",this.fa);return a};
g.h.dg=function(){var a=g.E(this.A);D(g.E(this.Ue()))||(a=new g.$l(a),g.im(a,"clickTAG",g.Fa(this.Ue())),a=a.toString());var b=g.pe("IFRAME",{marginwidth:0,marginheight:0,hspace:0,vspace:0,frameborder:0,scrolling:"no"},null);b.height=this.getHeight();"Text"!=this.ed()&&(b.width=this.Db());b.setAttribute("src",fn(a));this.ni(b);return Vp(this,b)};
g.h.Pp=function(){Zm().g.g("cleanup_text_overlay_spam_signals");return 2};
g.h.Am=function(){for(var a=[this],b=this.Gb().o;b;){var c=this.D?Hp(this,b)||Hp(this,b,!0):Xp(this,b)||Xp(this,b,!0);null!=c&&a.push(c);b=b.o}return a};var cea={};g.C(iq,Rp);g.h=iq.prototype;g.h.Ve=function(){return new g.Yd(this.Db(),this.getHeight())};
g.h.getHeight=function(){return 63};
g.h.Db=function(){return null!=this.F?g.xh(this.F).width:0};
g.h.Pp=function(a){return Zm().g.g("cleanup_text_overlay_spam_signals")?g.aq(a,"text-image-link")?9:g.aq(a,"text-ad-channel")?1:0:g.aq(a,"text-image")?9:g.aq(a,"text-ad-channel")?1:0};
g.h.dg=function(){var a=this.Gb(),b=a.getExtension("AdSense"),c=a.getExtension("TextAd"),d=c.C,e="rtl";null!=d&&(e=Doa.test(vd(d,void 0))?"rtl":"ltr");d={title:d,text:c.D+" "+c.F,dir:e,Fc:this.Ue()};if(e=c.getImageUrl())d.image=fn(e),d.QA=!0,Q.g()&&(d.QA=0==c.o||0==c.A),a=g.Za(a.F,function(a){return a instanceof Kp}),null!=a&&(d.duration=vo(a.getDuration()));
b.A&&(d.RA=b.A);this.F=gq(Sda,d);(0,g.H)(this.F.getElementsByTagName("a"),this.ni,this);this.F.id=this.za;this.F.style.height=this.getHeight()+"px";return this.F};var gea=[202,1009],lea="CONTENT_V CPN DISALLOW EID LACT VIS".split(" "),kea={MOAT_INIT:["://yts.moatads.com","://pagead2.googlesyndication.com/pagead/gen_204"],MOAT_VIEWABILITY:["://[^.]*.moatads.com","://pagead2.googlesyndication.com/pagead/gen_204","://pubads.g.doubleclick.net"],IAS_VIEWABILITY:["://[^.]*.adsafeprotected.com","://[^.]*.test-adsafeprotected.com","://pagead2.googlesyndication.com/pagead/gen_204","://pubads.g.doubleclick.net"],DV_VIEWABILITY:["://[^.]*.yt.srs.doubleverify.com","://pagead2.googlesyndication.com/pagead/gen_204",
"://pubads.g.doubleclick.net"],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=Dq.prototype;g.h.zf=function(){return null!=this.g&&this.g.zf()?!0:0<this.ads.length&&this.o<this.ads.length-1};
g.h.Oe=function(a,b){null!=this.g?sea(this,a,b):this.zf()?vea(this,a,(0,g.A)(function(c){!this.zf()||!Q.g()&&301==c.Nb()?b(c):this.Oe(a,b)},this)):b(new Sm("adLoadError","The ad source contains no more ads.",1005))};
g.h.Nv=function(a,b){return this.C?0<a.length?a:b:g.qb(b,0,1)};
g.h.An=function(a,b,c){var d;if(!(d=null!=a.g)){var e=this.D;d=e.Te||0;e=e.Se||0;Ks(a)&&!a.La?Os(a,"nonlinear")?Bq(a,d,e):Cq(a):Os(a,"linear")?Cq(a):Os(a,"nonlinear")&&Bq(a,d,e);d=null!=a.g}d?(this.A++,b(a)):(b=g.db(a.F)?qn(RA):a.Sb()?qn(XB):qn(Yoa),d=tq(b,a),xo(kfa(a),"rm")?b.A=!1:nn(a.na,d),c(b))};
g.h.Or=function(a,b,c){var d=this.D.clone();d.o="";d.g=a.Eb;d.Ee=Hm(d.g,d.containerElement);Iq(this,a,d,b,c)};g.C(Nq,Yp);Nq.prototype.Rd=function(){return this.o};g.C(Oq,Dq);Oq.prototype.zf=function(){if(null!=this.g&&this.g.zf())return!0;var a=0==this.A||this.A==this.J;return 0<this.ads.length&&a&&this.o<this.ads.length-1};
Oq.prototype.Nv=function(a,b){return b};
Oq.prototype.An=function(a,b,c){var d;d=null==this.g?ys(a):ys(this.ads[this.o]);this.H.A=d;Oq.R.An.call(this,a,b,c)};
Oq.prototype.Or=function(a,b,c){this.H.A=-1;Oq.R.Or.call(this,a,b,c)};g.C(Qq,g.$l);Qq.prototype.toString=function(){return Tq(this,Qq.R.toString.call(this))};
Qq.prototype.bw=function(){return""};
Qq.prototype.Gh=function(){return""};
Qq.prototype.clone=function(){return new Qq(this.toString())};g.h=$q.prototype;g.h.dd=function(){return this.g.dd()};
g.h.Ac=function(){return this.g.Ac()};
g.h.ed=function(){return this.g.ed()};
g.h.Db=function(){return this.g.Db()};
g.h.getHeight=function(){return this.g.getHeight()};
g.h.Kw=function(){return!D(g.E(this.g.A))};
g.h.Up=function(){var a=this.g.Gb().g;return null!=a?a.g:window.NaN};
g.h.Sm=function(){return this.g.Ve()};
g.h.Gb=function(){return this.g.Gb()};cp("a","",function(a){a=a||{};return'<div class="videoAdUi"><div class="videoAdUiTopBar videoAdUiTopBarWithGradients"><div class="videoAdUiAuthorIcon"></div><div class="videoAdUiTitle ellipsisText"></div><div class="videoAdUiAuthorName ellipsisText"></div><div class="videoAdUiLearnMore">'+R(a.Tg)+'</div><div class="videoAdUiShare"></div></div><div class="videoAdUiBottomBar"><div class="videoAdUiLearnMoreText">'+R(a.Tg)+'<div class="videoAdUiLearnMoreIcon"></div></div><div class="videoAdUiAttributionContainer"><div class="videoAdUiAttribution"'+
R(tp(a.attributionText))+">"+R(a.attributionText)+'</div><div class="videoAdUiAttributionIconContainer"><div class="videoAdUiAttributionIcon" id="videoAdUiAttributionIcon"></div><div class="videoAdUiAdInfoPopup"><div class="videoAdUiAdInfoPopupCallout"></div><div class="videoAdUiAdInfoPopupText" '+R(tp(a.ge))+">"+R(a.ge)+'</div></div></div></div></div><div class="videoAdUiProgressBar" dir="ltr"><div class="videoAdUiBuffer"></div><div class="videoAdUiProgress"></div></div><div class="videoAdUiPreview"></div></div>'});
cp("a","fixedDirectionality",function(a){a=a||{};return'<div class="videoAdUi"><div class="videoAdUiTopBar videoAdUiTopBarWithGradients"><div class="videoAdUiAuthorIcon"></div><div class="videoAdUiTitle ellipsisText"></div><div class="videoAdUiAuthorName ellipsisText"></div><div class="videoAdUiLearnMore">'+R(a.Tg)+'</div><div class="videoAdUiShare"></div></div><div class="videoAdUiBottomBar"><div class="videoAdUiLearnMoreText">'+R(a.Tg)+'<div class="videoAdUiLearnMoreIcon"></div></div><div class="videoAdUiAttributionContainer"><div class="videoAdUiAttribution">'+
R(a.attributionText)+'</div><div class="videoAdUiAttributionIconContainer"><div class="videoAdUiAttributionIcon" id="videoAdUiAttributionIcon"></div><div class="videoAdUiAdInfoPopup"><div class="videoAdUiAdInfoPopupCallout"></div><div class="videoAdUiAdInfoPopupText">'+R(a.ge)+'</div></div></div></div></div><div class="videoAdUiProgressBar" dir="ltr"><div class="videoAdUiBuffer"></div><div class="videoAdUiProgress"></div></div><div class="videoAdUiPreview"></div></div>'});
cp("a","redesign2014q4",function(a){a=a||{};return'<div class="videoAdUi"><div class="videoAdUiTopBar videoAdUiTopBarWithGradients"><div class="videoAdUiAuthorIcon"></div><div class="videoAdUiTopButtons"><div class="videoAdUiTopButton videoAdUiTopButtonInfo"><div class="videoAdUiTopButtonCallout"><div class="videoAdUiTopButtonTooltip">'+R(a.infoText)+'</div></div></div><div class="videoAdUiTopButton videoAdUiTopButtonShare"><div class="videoAdUiTopButtonCallout"><div class="videoAdUiTopButtonTooltip videoAdUiTopButtonShareTooltip">'+
R(a.E0)+'</div></div></div><div class="videoAdUiTopButton videoAdUiTopButtonWatchLater"><div class="videoAdUiTopButtonCallout"><div class="videoAdUiTopButtonTooltip">'+R(a.F0)+'</div></div></div></div><div class="videoAdUiTitle ellipsisText"></div><div class="videoAdUiAuthorName ellipsisText"></div></div><div class="videoAdUiBottomBar"><div class="videoAdUiBottomBarText"><div class="videoAdUiAttributionContainer"><div class="videoAdUiAttributionBadge yt-badge yt-badge-ad"></div><div class="videoAdUiAttribution"'+
R(tp(a.attributionText))+">"+R(a.attributionText)+'</div><div class="videoAdUiAttributionIconContainer"><div class="videoAdUiAttributionIcon" id="videoAdUiAttributionIcon"></div><div class="videoAdUiAdInfoPopup"><div class="videoAdUiAdInfoPopupCallout"></div><div class="videoAdUiAdInfoPopupText" '+R(tp(a.ge))+">"+R(a.ge)+'</div></div></div></div><div class="videoAdUiVisitAdvertiserLink"><div class="videoAdUiVisitAdvertiserLinkText"></div><div class="videoAdUiVisitAdvertiserIcon"></div></div></div><div class="videoAdUiBottomBarMessage"></div></div><div class="videoAdUiProgressBar" dir="ltr"><div class="videoAdUiBuffer"></div><div class="videoAdUiProgress"></div></div><div class="videoAdUiPreview"></div></div>'});
cp("b","",function(a){a=a||{};return""+Aa("You can skip this ad in {$xSeconds}",{xSeconds:R(a.wg)})});
cp("b","redesign2014q4",function(a){a=a||{};return""+Aa("You can skip to video in {$xSeconds}",{xSeconds:R(a.wg)})});
cp("b","forcedlinebreak",function(a){a=a||{};return""+Aa("You can skip to{$newline}video in {$xSeconds}",{newline:R(a.qK),xSeconds:R(a.wg)})});g.C(vr,Rp);var Vea=new g.Yd(300,250);vr.prototype.Qa=function(){this.F=Math.max(0,this.F-1);xr(this)};
vr.prototype.Pa=function(){this.F=Math.min(this.va-3,this.F+1);xr(this)};
vr.prototype.dg=function(){return this.N};g.C(yr,Rp);var Xea=new g.Yd(300,250);yr.prototype.dg=function(){return this.F};var zr=g.sc&&Yea();var afa=/(doubleclick.net|googleadservices.com)/,dfa=["ai","sigh"],efa=["xai","sig"];g.C(Ur,Yp);Vr.prototype.parse=function(a){a=g.De(a);var b=Jr(a),c;"skippable"==b?c="skippable":"nonskippable"==b&&(c="nonskippable");if(null==c)throw qn(Woa);a=a.getAttribute("offset");a=Sr(a);if("skippable"==c&&null==a)throw qn(Voa);return new Ur(c,a)};g.C(Wr,Yp);g.C(Xr,Yp);g.h=Zr.prototype;g.h.ed=function(){if(null!=Vs(this))return"application/javascript";if(null!=Ws(this))return"application/x-shockwave-flash";var a=this.g,b="";if(null===a)return b;if(a instanceof Kp)a=a.C,null===a||(b=g.E(a.g));else if(a instanceof Rp)switch(a.M){case "IFrame":case "Html":case "Static":b=g.E(a.ra)}return b};
g.h.getExtension=function(a){return this.G.get(a)};
g.h.Sb=function(){return this.Za?this.va:Qs(this)?!0:Ks(this)?"video"==this.Ab:Os(this,"linear")};
g.h.isSkippable=function(){return null!=Ss(this)};
g.h.tI=function(){return this.La};
g.h.getDuration=function(){return Ls(this)+Us(this)};
g.h.Mg=function(){var a=null,b=this.g;null!=b&&(a=b.Mg(),D(g.E(a))&&(a=null));return a};
g.h.Db=function(){return this.Sb()?0:this.ca.width};
g.h.getHeight=function(){return this.Sb()?0:this.ca.height};
g.h.Pe=function(){return this.gb};
g.h.toString=function(){return"Ad: "+this.Ea};g.C(at,g.zf);at.prototype.o=function(a){switch(a.type){case "companion_impression":this.dispatchEvent(new Mm("companionImpression",this.g));break;case "companion_click":this.dispatchEvent(new Mm("companionClick",this.g))}};g.C(bt,g.zf);g.h=bt.prototype;g.h.Fb=function(a){null==a||this.F||(this.Eh=a,wfa(this),this.F=!0)};
g.h.Qc=function(){null!=this.Eh&&this.F&&(ct(this),this.D=this.H=this.F=!1,this.g=0,this.A=[],this.G=!1)};
g.h.hO=function(a){this.H=!0;this.g=a.touches.length;this.o&&(window.clearTimeout(this.o),this.o=0,this.L=!0);(this.G=dt(this,a.touches)||1!=a.touches.length)?this.N=this.M=window.Infinity:(this.M=a.touches[0].clientX,this.N=a.touches[0].clientY);xfa(this,a.touches)};
g.h.gO=function(a){this.g=a.touches.length;if(!Dn(8)||Math.pow(a.changedTouches[0].clientX-this.M,2)+Math.pow(a.changedTouches[0].clientY-this.N,2)>Math.pow(5,2))this.D=!0};
g.h.fO=function(a){this.C?this.Fp():(!this.H||1!=this.g||this.D||this.L||this.G||!dt(this,a.changedTouches)||(this.o=window.setTimeout((0,g.A)(this.Fp,this),300)),this.g=a.touches.length,0==this.g&&(this.D=this.H=!1,this.A=[]),this.L=!1)};
g.h.Lw=function(){this.Fp()};
g.h.Fp=function(){this.o=0;this.dispatchEvent(new g.Ve("click"))};
g.h.P=function(){this.Qc();this.B.dispose();this.B=null;bt.R.P.call(this)};var zfa=/#(.)(.)(.)(.)/,yfa=/^#(?:[0-9a-f]{4}){1,2}$/i;g.C(g.gt,g.zf);g.h=g.gt.prototype;g.h.vb=function(){return 1==this.g};
g.h.sn=function(){this.qe("begin")};
g.h.Bk=function(){this.qe("end")};
g.h.ud=function(){this.qe("finish")};
g.h.qe=function(a){this.dispatchEvent(a)};var dpa=Ef(function(){if(g.sc)return g.jc("10.0");var a=g.re("DIV"),b=g.me?"-webkit":g.fh?"-moz":g.sc?"-ms":g.Xe?"-o":null,c={transition:"opacity 1s linear"};b&&(c[b+"-transition"]="opacity 1s linear");b={style:c};if(!Md.test("div"))throw Error("Invalid tag name <div>.");if("DIV"in Eoa)throw Error("Tag name <div> is not allowed for SafeHtml.");b=Nd("div",b,void 0);a.innerHTML=g.Jd(b);return""!=gh(a.firstChild,"transition")});g.C(it,g.gt);g.h=it.prototype;g.h.play=function(){if(this.vb())return!1;this.sn();this.qe("play");this.startTime=(0,g.G)();this.g=1;if(dpa())return g.dh(this.o,this.F),this.B=g.og(this.WO,void 0,this),!0;this.qs(!1);return!1};
g.h.WO=function(){g.wh(this.o);ht(this.o,this.D);g.dh(this.o,this.A);this.B=g.og((0,g.A)(this.qs,this,!1),1E3*this.C)};
g.h.stop=function(){this.vb()&&this.qs(!0)};
g.h.qs=function(a){g.dh(this.o,"transition","");g.pg(this.B);g.dh(this.o,this.A);this.endTime=(0,g.G)();this.g=0;a?this.qe("stop"):this.ud();this.Bk()};
g.h.P=function(){this.stop();it.R.P.call(this)};
g.h.pause=function(){};g.C(jt,g.zf);g.h=jt.prototype;g.h.P=function(){null!=this.Yh&&(g.pg(this.Yh),this.Yh=null);null!=this.ze&&(g.ye(this.ze),this.ze=null);jt.R.P.call(this)};
g.h.pF=function(){this.Yh=null;kt(this,"0%","100%","1","0");this.Yh=g.og((0,g.A)(function(){this.Yh=null;lt(this,!1);null!=this.ze&&g.O(this.ze,!1);this.rk("complete")},this),400)};
g.h.show=function(a){this.rk("impression");kt(this,"100%","0%","0","1");lt(this,!0);null!=this.ze&&g.O(this.ze,!0);this.Yh=g.og(this.pF,a,this)};
g.h.QH=function(a){Q.g()||a.stopPropagation()};
g.h.rk=function(a){a=lq({action:"condor-brand-precap",event:a,ei:"[EID]",cpn:"[CPN]",content_v:"[CONTENT_V]",ad_v:"[AD_V]",ad_id:"[AD_ID]",ad_len:"[AD_LEN]"});a=g.Fm(a,this.C.D);jn(a)};g.C(mt,Yp);g.C(ot,Yp);g.h=pt.prototype;
g.h.Bz=function(){var a={heading:"",targetingReasons:[],learnMore:"",Lp:"",control:"",mute:""};if(null!=this.C){a.heading=this.C.C;var b=this.C.o;if(b&&3==b.length){var c=b[1],d=b[2],b=Zo(R(b[0])+rr()+R(c)+Zo("</a>")+R(d));a.Lp=b}a.targetingReasons=g.nb(this.C.D);a.close=this.C.A}else a.Lp=sr(),b=Aa("Got It"),a.close=""+b;null!=this.o&&(a.mute=this.o.B);tt(this,Rea,a);rt(this,"videoAdUiWhyThisAdCloseButton",this.Sl);rt(this,"videoAdUiWhyThisAdControl",this.Ev);rt(this,"videoAdUiWhyThisAdMute",this.PO);
a=g.K("videoAdUiWhyThisAdGenericMessage",this.g);null!=a&&(a=a.getElementsByTagName("A")[0],null!=a&&this.B.T(a,"click",this.Ev))};
g.h.Sl=function(){null!=this.B&&(this.B.dispose(),this.B=null);qt(this)&&null!=this.g&&(null!=this.A&&(ut(this,"why_this_ad_got_it"),this.A.dispose(),this.A=null),this.g.parentElement.removeChild(this.g),this.g=null)};
g.h.Ev=function(){ut(this,"why_this_ad_settings_url")};
g.h.PO=function(){if(null!=this.o){ut(this,"mute_interaction_url");var a,b=nt(this.o);if(0==b)a={heading:"",message:"Are you sure you want to stop seeing this ad?",confirm:"YES",cancel:"CANCEL"},tt(this,Tea,a),rt(this,"videoAdUiMuteCancel",this.Bz),rt(this,"videoAdUiMuteConfirm",this.HF);else{ut(this,"mute_url");a={heading:this.o.A,undo:this.o.D,question:this.o.C,options:[],confirm:"SEND",cancel:"CLOSE"};var c;c=this.o?(c=yp(this.o.g,"mute_undo_url"))&&0<c.length:!1;c||(a.undo="");for(c=0;c<b;c++)a.options.push(this.o.o[c].label);
tt(this,Sea,a);rt(this,"videoAdUiMuteUndo",this.bQ);rt(this,"videoAdUiMuteConfirm",this.QP);rt(this,"videoAdUiMuteCancel",this.xp)}}};
g.h.HF=function(){ut(this,"mute_url");this.xp()};
g.h.bQ=function(){ut(this,"mute_undo_url");this.Sl()};
g.h.QP=function(){if(null!=this.o){for(var a=nt(this.o),b=!1,c=0;c<a;c++){var d=g.K("videoAdUiMuteOption"+c,this.g);if(null!=d&&d.checked){b=!0;jn(this.o.o[c].url);break}}if(!b)return}this.xp()};
g.h.xp=function(){ut(this,"MUTE_AD");this.Sl()};g.C(Bt,g.zf);var Cfa={1:"videoAdUiBrandInteractionHorizontalRect"},Bfa=[1];Bt.prototype.isVisible=function(){return g.zh(this.g)};
Bt.prototype.update=function(a){this.isVisible()||(this.F=zt(this.g,.5),g.N(this,this.F),this.F.play(),g.O(this.g,!0));this.H=a};
Bt.prototype.S=function(a){Q.g()||a.stopPropagation();var b=a.target.Eh;null!=b&&(this.M++,a=(0,g.G)(),g.fq(b,"selected")?(g.S(this.g,"optionSelected"),null!=this.o&&g.cq(this.o,"selected"),this.o=b):(g.cq(this.g,"optionSelected"),this.o=null),b=null!=this.o?g.aq(this.o,"videoAdUiBrandInteractionLikeButton")?"l":g.aq(this.o,"videoAdUiBrandInteractionDislikeButton")?"d":"n":"n",this.B.push(b),this.C.push(a.toString()),this.D.push(this.H.toString()))};
Bt.prototype.P=function(){null!=this.g&&(g.ye(this.g),this.g=null);this.o=null;Bt.R.P.call(this)};g.C(Dt,g.zf);Dt.prototype.D=function(){this.g?this.dispatchEvent("videoUnmuteClicked"):this.dispatchEvent("videoMuteClicked")};
Dt.prototype.P=function(){this.C.dispose();this.C=null;Dt.R.P.call(this)};g.C(Et,g.zf);Et.prototype.P=function(){null!=this.o&&(g.ye(this.o),this.o=null);Et.R.P.call(this)};
Et.prototype.update=function(a,b){if(!(0>=b))if(0>a)this.F=1;else if(1==this.F)zt(this.o,.5).play(),g.O(this.o,!0),this.F=2,this.rk("i");else if(this.B){var c=Math.round(b-a);0>c||g.He(this.A,pr({wg:c}))}else this.L&&5<a&&(this.L=!1,g.O(this.A,!1))};
Et.prototype.N=function(){g.zh(this.A)||g.O(this.A,!0);this.J++;this.rk("c")};
Et.prototype.rk=function(a){this.M&&(a=lq({action:"condor-video-preview",event:a,ei:"[EID]",cpn:"[CPN]",content_v:"[CONTENT_V]",ad_v:"[AD_V]",ad_id:"[AD_ID]",ad_len:"[AD_LEN]",m_pos:"[MIDROLL_POS]",show_countdown:Number(this.B),num_clicks:this.J}),a=g.Fm(a,this.D.D),jn(a))};g.C(Ft,g.zf);var Efa={1:"videoAdUiReasonToWatchBoxWhiteTheme"};Ft.prototype.update=function(a){this.C||Ffa(this);!this.D&&10<=a&&Gfa(this)};
Ft.prototype.P=function(){null!=this.g&&(g.ye(this.g),this.g=null);Ft.R.P.call(this)};g.C(g.Gt,g.M);g.h=g.Gt.prototype;g.h.start=function(){this.stop();this.A=!1;var a=Ht(this),b=It(this);a&&!b&&this.g.mozRequestAnimationFrame?(this.za=g.kf(this.g,"MozBeforePaint",this.o),this.g.mozRequestAnimationFrame(null),this.A=!0):this.za=a&&b?a.call(this.g,this.o):this.g.setTimeout(fba(this.o),20)};
g.h.fk=function(){this.isActive()||this.start()};
g.h.stop=function(){if(this.isActive()){var a=Ht(this),b=It(this);a&&!b&&this.g.mozRequestAnimationFrame?g.uf(this.za):a&&b?b.call(this.g,this.za):this.g.clearTimeout(this.za)}this.za=null};
g.h.isActive=function(){return null!=this.za};
g.h.pG=function(){this.A&&this.za&&g.uf(this.za);this.za=null;this.C.call(this.B,(0,g.G)())};
g.h.P=function(){this.stop();g.Gt.R.P.call(this)};g.C(g.Jt,g.M);g.h=g.Jt.prototype;g.h.za=0;g.h.P=function(){g.Jt.R.P.call(this);this.stop();delete this.g;delete this.o};
g.h.start=function(a){this.stop();this.za=g.og(this.A,g.t(a)?a:this.B)};
g.h.Qe=function(a){this.isActive()||this.start(a)};
g.h.stop=function(){this.isActive()&&g.pg(this.za);this.za=0};
g.h.isActive=function(){return 0!=this.za};
g.h.jw=function(){this.za=0;this.g&&this.g.call(this.o)};g.Ot={};g.Mt=null;g.C(Qt,g.zf);var Jfa={0:"",2:"skipBottomMarginMedium"};g.h=Qt.prototype;g.h.P=function(){g.Te(this.B);this.B=null;g.Te(this.G);this.G=null;null!=this.A&&(g.ye(this.A),this.A=null);null!=this.skipButton&&(this.skipButton=null);null!=this.o&&(g.ye(this.o),this.o=null);this.S.dispose();this.S=null;this.bc.dispose();this.bc=null;Qt.R.P.call(this)};
g.h.update=function(a,b){this.ca=b;this.wp(a);2==this.state&&Pt(this,a)};
g.h.skip=function(){return null==this.config.skipOffset||3!=this.state||this.aa?!1:(this.aa=!0,this.dispatchEvent("PUBLISHER_INVOKED_SKIP"),!0)};
g.h.wp=function(a){if(!(0>=this.ca||null==this.config.skipOffset||0>Cp(this.config.skipOffset))){var b=Cp(this.config.skipOffset);b>=this.ca||3==this.state||(0>a?this.state=1:a<=b?(2!=this.state&&(Pt(this,0),zt(this.A,.5).play(),g.O(this.A,!0)),this.state=2):(3!=this.state&&this.Fu(),this.state=3,this.dispatchEvent("skipshown")))}};
g.h.Fu=function(){g.O(this.o,!0);this.G=Rt(this.A);this.G.play();this.B=zt(this.o,.5);this.B.play();this.skipButton.autofocus&&this.skipButton.focus()};
g.h.OP=function(a){Q.g()||a.stopPropagation();3!=this.state||this.aa||(this.aa=!0,this.dispatchEvent("skip"))};g.C(Xt,Qt);var Tt={Lv:0,Kv:1},Ut={Lv:1,Kv:0},Vt={Av:15},Wt={Av:300};g.h=Xt.prototype;g.h.P=function(){Xt.R.P.call(this);Zt(this);au(this)};
g.h.wp=function(a){Xt.R.wp.call(this,a);if(3==this.state&&!this.ga&&!this.da){var b=cu(this.N,this.g);if(a=bu(a,this.config,this.N))if(this.F==this.J.Lv&&a>=b)switch(this.J){case Tt:Yt(this);break;case Ut:$t(this,!0)}else if(this.F==this.J.Kv&&a<b)switch(this.J){case Ut:Yt(this);break;case Tt:$t(this,!0)}}};
g.h.Fu=function(){g.O(this.o,!0);this.G=Rt(this.A);this.G.play();var a;if(this.ga)a=!1;else{a=cu(this.N,this.g);var b=bu(Cp(this.config.skipOffset),this.config,this.N);if(null!=b){var c=!1;switch(this.J){case Ut:c=b<a;break;case Tt:c=b>a}a=c}else a=!1}a?(this.F=1,this.B=xt(this.o,.5,"ease-in",0,.5)):this.B=zt(this.o,.5);this.B.play();this.skipButton.autofocus&&this.skipButton.focus();this.ga||(this.bc.T(g.Ee(this.o),"mouseover",this.mK),this.bc.T(g.Ee(this.o),"mouseout",this.lK))};
g.h.mK=function(){au(this);0!=this.F&&$t(this,!1);this.da=!0};
g.h.lK=function(){au(this);this.L=g.og(function(){this.da=!1;this.L=null},5E3,this)};du.prototype.getDuration=function(){return this.o};
du.prototype.Ac=function(){return this.g};
du.prototype.update=function(a,b){var c=null!=this.F?Cp(this.F):0;this.o=0<=this.o?this.o:b;c<=a&&c+this.o>=a?Kfa(this):g.O(this.g,!1)};var epa={Et:{1E3:{other:"0K"},1E4:{other:"00K"},1E5:{other:"000K"},1E6:{other:"0M"},1E7:{other:"00M"},1E8:{other:"000M"},1E9:{other:"0B"},1E10:{other:"00B"},1E11:{other:"000B"},1E12:{other:"0T"},1E13:{other:"00T"},1E14:{other:"000T"}},SC:{1E3:{other:"0 thousand"},1E4:{other:"00 thousand"},1E5:{other:"000 thousand"},1E6:{other:"0 million"},1E7:{other:"00 million"},1E8:{other:"000 million"},1E9:{other:"0 billion"},1E10:{other:"00 billion"},1E11:{other:"000 billion"},1E12:{other:"0 trillion"},1E13:{other:"00 trillion"},
1E14:{other:"000 trillion"}}},qu=epa,qu=epa;var hu={AED:[2,"dh","\u062f.\u0625.","DH"],ALL:[0,"Lek","Lek"],AUD:[2,"$","AU$"],BDT:[2,"\u09f3","Tk"],BGN:[2,"lev","lev"],BRL:[2,"R$","R$"],CAD:[2,"$","C$"],CDF:[2,"FrCD","CDF"],CHF:[2,"CHF","CHF"],CLP:[0,"$","CL$"],CNY:[2,"\u00a5","RMB\u00a5"],COP:[32,"$","COL$"],CRC:[0,"\u20a1","CR\u20a1"],CZK:[50,"K\u010d","K\u010d"],DKK:[50,"kr.","kr."],DOP:[2,"RD$","RD$"],EGP:[2,"\u00a3","LE"],ETB:[2,"Birr","Birr"],EUR:[2,"\u20ac","\u20ac"],GBP:[2,"\u00a3","GB\u00a3"],HKD:[2,"$","HK$"],HRK:[2,"kn","kn"],HUF:[34,
"Ft","Ft"],IDR:[0,"Rp","Rp"],ILS:[34,"\u20aa","IL\u20aa"],INR:[2,"\u20b9","Rs"],IRR:[0,"Rial","IRR"],ISK:[0,"kr","kr"],JMD:[2,"$","JA$"],JPY:[0,"\u00a5","JP\u00a5"],KRW:[0,"\u20a9","KR\u20a9"],LKR:[2,"Rs","SLRs"],LTL:[2,"Lt","Lt"],MNT:[0,"\u20ae","MN\u20ae"],MVR:[2,"Rf","MVR"],MXN:[2,"$","Mex$"],MYR:[2,"RM","RM"],NOK:[50,"kr","NOkr"],PAB:[2,"B/.","B/."],PEN:[2,"S/.","S/."],PHP:[2,"\u20b1","PHP"],PKR:[0,"Rs","PKRs."],PLN:[50,"z\u0142","z\u0142"],RON:[2,"RON","RON"],RSD:[0,"din","RSD"],RUB:[50,"\u20bd",
"RUB"],SAR:[2,"Rial","Rial"],SEK:[50,"kr","kr"],SGD:[2,"$","S$"],THB:[2,"\u0e3f","THB"],TRY:[2,"TL","YTL"],TWD:[2,"NT$","NT$"],TZS:[0,"TSh","TSh"],UAH:[2,"\u0433\u0440\u043d.","UAH"],USD:[2,"$","US$"],UYU:[2,"$","$U"],VND:[48,"\u20ab","VN\u20ab"],YER:[0,"Rial","Rial"],ZAR:[2,"R","ZAR"]};var fpa={Ht:".",Fo:",",Wt:"%",Uo:"0",qE:"+",ZD:"-",Lt:"E",Xt:"\u2030",Go:"\u221e",dE:"NaN",Gt:"#,##0.###",AE:"#E0",pE:"#,##0%",iD:"\u00a4#,##0.00",mD:"USD"},fu=fpa,fu=fpa;ju.prototype.parse=function(a,b){var c=b||[0];if(0!=this.J)throw Error("Parsing of compact numbers is unimplemented");var d;a=a.replace(/ /g,"\u00a0");var e=a.indexOf(this.G,c[0])==c[0],f=a.indexOf(this.B,c[0])==c[0];e&&f&&(this.G.length>this.B.length?f=!1:this.G.length<this.B.length&&(e=!1));e?c[0]+=this.G.length:f&&(c[0]+=this.B.length);if(a.indexOf(fu.Go,c[0])==c[0])c[0]+=fu.Go.length,d=window.Infinity;else{d=a;var k=!1,l=!1,m=!1,n=1,q=fu.Ht,r=fu.Fo,v=fu.Lt;if(0!=this.J)throw Error("Parsing of compact style numbers is not implemented");
for(var x="";c[0]<d.length;c[0]++){var B=d.charAt(c[0]),F=pu(B);if(0<=F&&9>=F)x+=F,m=!0;else if(B==q.charAt(0)){if(k||l)break;x+=".";k=!0}else if(B==r.charAt(0)&&("\u00a0"!=r.charAt(0)||c[0]+1<d.length&&0<=pu(d.charAt(c[0]+1)))){if(k||l)break}else if(B==v.charAt(0)){if(l)break;x+="E";l=!0}else if("+"==B||"-"==B)x+=B;else if(1==this.g&&B==fu.Wt.charAt(0)){if(1!=n)break;n=100;if(m){c[0]++;break}}else if(1==this.g&&B==fu.Xt.charAt(0)){if(1!=n)break;n=1E3;if(m){c[0]++;break}}else break}1!=this.g&&(n=
this.g);d=(0,window.parseFloat)(x)/n}if(e){if(a.indexOf(this.M,c[0])!=c[0])return window.NaN;c[0]+=this.M.length}else if(f){if(a.indexOf(this.H,c[0])!=c[0])return window.NaN;c[0]+=this.H.length}return f?-d:d};
ju.prototype.format=function(a){if((0,window.isNaN)(a))return fu.dE;var b=[],c;c=a;if(0==this.J)c=ru;else{c=Math.abs(c);var d=tu(this,1>=c?0:lu(c)).Gp;c=tu(this,d+lu(mu(this,c/Math.pow(10,d)).intValue))}a/=Math.pow(10,c.Gp);b.push(c.prefix);d=0>a||0==a&&0>1/a;b.push(d?this.B:this.G);if((0,window.isFinite)(a))if(a=a*(d?-1:1)*this.g,this.aa){var e=a;if(0==e)nu(this,e,this.o,b),ou(this,0,b);else{a=Math.floor(Math.log(e)/Math.log(10)+2E-15);var f=Math.pow(10,a);(0,window.isFinite)(f)&&0!==f?e/=f:(f=Math.pow(10,
Math.floor(a/2)),e=e/f/f,1==a%2&&(e=0<a?e/10:10*e));f=this.o;if(1<this.N&&this.N>this.o){for(;0!=a%this.N;)e*=10,a--;f=1}else 1>this.o?(a++,e/=10):(a-=this.o-1,e*=Math.pow(10,this.o-1));nu(this,e,f,b);ou(this,a,b)}}else nu(this,a,this.o,b);else b.push(fu.Go);b.push(d?this.H:this.M);b.push(c.BA);return b.join("")};
var ru={prefix:"",BA:"",Gp:0};g.C(xu,g.zf);var Lfa={0:"",2:"bottomBarMarginMedium"};g.h=xu.prototype;g.h.show=function(){null!=this.o&&g.O(this.o,!0)};
g.h.skip=function(){var a;if(a=null!=this.B)a=this.B,a=null!=a.config.skipOffset&&3==a.state;return a?this.B.skip():!1};
g.h.P=function(){null!=this.o&&(g.ye(this.o),this.o=null);zu(this);(0,g.H)(this.ba,function(a){a.Qc()});
this.ba=[];this.C=null;this.A.dispose();this.A=null;this.yb=!1;xu.R.P.call(this)};
g.h.update=function(a,b,c,d,e){this.yb=!0;null!=this.o&&(null!=this.Ta&&Nfa(this,a,c,d,e),null!=this.ga&&g.uh(this.ga,a/c*100+"%"),null!=this.wb&&g.uh(this.wb,b/c*100+"%"),0<c&&null!=this.g.skipOffset&&null!=this.B&&(Bp(this.g.skipOffset,c),this.B.update(a,c)),0<c&&null!=this.sa&&this.sa.update(a),0<c&&null!=this.va&&this.va.update(a),0<c&&null!=this.H&&this.H.update(a,c),this.g.S&&0<c&&5>c-a&&g.S(this.fa,"videoAdUiTopBarNoFade"),(0,g.H)(this.Ja,function(b){b.update(a,c)},this))};
g.h.rF=function(){this.dispatchEvent("videoAuthorIconClicked")};
g.h.sF=function(){this.dispatchEvent("videoAuthorClicked")};
g.h.wH=function(a){var b=a.G;a=a.H;D(g.E(b))||this.dispatchEvent(new Mm("videoIconClicked",null,{clickThroughUrl:b}));(0,g.H)(a,function(a){jn(a)})};
g.h.qx=function(){this.dispatchEvent("videoLearnMoreClicked")};
g.h.MP=function(){this.dispatchEvent("videoShareClicked")};
g.h.UP=function(){this.dispatchEvent("videoTitleClicked")};
g.h.RH=function(a){a.preventDefault()};
g.h.jo=function(){this.dispatchEvent("click")};
g.h.zb=function(){null!=this.Ja&&(0,g.H)(this.Ja,function(a){eu(a)},this)};
g.h.JP=function(){g.S(this.fa,"videoAdUiTopBarTransitions")};
g.h.QO=function(){var a=g.Oe(this.o,"html5-video-player");if(null!=a){var b=this.g.L;null!=a&&(b.B=new g.sm(b),b.A=new g.zf,b.A.hh(this),b.D=a,b.Bz(),ut(b,"why_this_ad_url"));null!=this.B&&St(this.B,!1);null!=this.H&&(a=this.H,null!=a.g&&g.O(a.g,!1))}};
g.h.mQ=function(){null!=this.B&&St(this.B,!0);if(null!=this.H){var a=this.H;null!=a.g&&g.O(a.g,!0)}};g.C(Fu,g.M);Fu.prototype.J=function(a,b,c){c=Wb(c||{});if("timeout"==(c.viewability||"")){var d=this.G[a];null!=d&&(c.viewability=d)}if("impression"==a&&!this.H&&null!=this.D&&0<this.D.length){var d=Q.L&&g.cb(this.F,"impression"),e=Hu(this,this.D,c);Iu(this,e,d);this.H=!0}Qfa(this,a)&&0<b.length&&(d=Q.L&&g.cb(this.F,a),b=Hu(this,b,c),Iu(this,b,d),this.o.set(a,!0))};g.C(Ju,g.zf);g.h=Ju.prototype;g.h.bk=function(){if(this.xb()){var a=Zs(this.Pc);if(null!=a)return a}return""};
g.h.ak=function(){if(this.xb()){var a=$s(this.Pc);if(null!=a)return a}return""};
g.h.Me=function(){return g.db(this.ads)?null:this.ads[0]};
g.h.la=function(){if(this.xb()){if(this.Pc.isSkippable()&&!Mn())throw rn(kB,null,"skippablevideo");if(null!=Vs(this.Pc)&&Lu(this,this.Pc.o))throw rn(kB,null,"vpaidWithSkippabilityOverride");return this.Pc}throw rn(Ou,null,"An ad has not been selected.\n"+Error().stack);};
g.h.xb=function(){return null!==this.Pc};
g.h.Jk=function(){var a=(0,g.bb)(this.ads,this.Pc);-1!=a&&++a<this.ads.length?Ku(this,this.ads[a]):Ku(this,null)};
g.h.jk=function(){var a=(0,g.bb)(this.ads,this.Pc);return-1==a?!1:a+1<this.ads.length};
g.h.Oe=function(){return this.jk()?this.ads[(0,g.bb)(this.ads,this.Pc)+1]:null};
g.h.Lg=function(a){var b=a.o;if(b&&b.fa&&(b=b.F,!g.db(b)&&b[0]instanceof Kp))return b[0].Lg();b=a.g;return Mu(a)?b.Lg():[]};
g.h.Mn=function(){if(!this.xb()){if(g.db(this.ads))throw rn(XB);Ku(this,this.ads[0]);if(null==this.Pc.g)throw qn(XB);}};
g.h.ia=function(a,b){var c=this.xb()?this.la():null;this.dispatchEvent(new Mm(a,c,b))};
g.h.sg=function(a){this.zd=a};
g.h.Xa=function(){null==this.bc&&(this.bc=new g.sm(this));return this.bc};
g.h.rL=function(){};
g.h.Br=function(){};
g.h.pd=function(a){if(Q.g()&&Q.A){if(Zm().g.g("clear_kevlar_companion_data_after_used")){if(!a.sa)return;a.sa=!1}this.ia("youtubeKevlarCompanionShow")}else if(null!=this.zd){zm(this.ne);xm(this.ne,this.zd,"companion_display_error",function(){});
var b=this.zd.pd(a);null!=b&&(this.ne.T(b,"companion_impression",this.rL),this.ne.T(b,"companion_click",this.Br),Q.g()&&(a=new at(a,b),this.ia("companionInitialized",a)));if(!this.zd.Hu())throw rn(M3);}};
g.h.destroy=function(){this.dispose()};
g.h.P=function(){this.xb()&&(Aq(this.Pc,null),this.Pc=null);g.Te(this.bc);this.zd=this.bc=null;this.Wl=!1;Q.o&&Eo(Ao(),this.Ks);this.Ha&&(g.Te(this.Ha),this.Ha=null);Ju.R.P.call(this)};
g.h.Le=function(){return[]};
g.h.Kb=function(){return this.ads[0]};
g.h.Xi=function(){(0,g.H)(this.ads,function(a){var b;for(b=a.getExtension("sodar");!b&&(a=a.o);)b=a.getExtension("sodar");if(b){var c=b.B;a=b.A;var d=b.C,e=b.o;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){var d=window,c=d.document,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=
c.createElement("script");a.type="text/javascript";a.async=!0;a.src=b;c.getElementsByTagName("head")[0].appendChild(a)}}})};
g.h.init=function(a){Pu(this);this.yc(a);this.Df=!0;this.gj()};
g.h.gj=function(){this.ia("loaded")};
g.h.qj=function(a){this.xb()&&Q.g()&&nn(ks(this.la()),a)};
g.h.kA=g.y;g.h.Mc=function(a,b,c){if(!this.Wl){if(null==a)throw rn(oo,null,"displayContainer");null!=c&&this.De(c);this.content=b;this.Sa=a;this.Mn();this.Da=this.Sa.Pm(Rfa(this));this.Wl=!0}};
g.h.rg=function(a){a=xo($r(a),"rm")?a.S:ks(a);(0,g.H)(a,function(a){g.gb(this.Pb.D,a)},this)};
g.h.Of=function(a,b){(0,g.H)(b,function(b){b=Gp(a,b);zp(this.Pb.A,b)},this)};
g.h.mj=function(a){if(a instanceof Kp){var b=Lp(a);(0,g.H)(b.Bb(),function(a){var c=b.get(a);(0,g.H)(c,function(b){Ap(this.Pb.A,a,b)},this)},this)}};
g.h.Ga=function(a){Gu(this.Pb,new g.Ve(a))};
g.h.getCurrentTime=function(){return-1};
g.h.getDuration=function(){return-1};
g.h.Hc=function(){return-1};
g.h.vb=function(){return null!=this.Da?this.Da.vb():!1};
g.h.zb=function(a,b,c){this.yc(c)};
g.h.pause=g.y;g.h.resume=g.y;g.h.skip=g.y;g.h.muteAd=g.y;g.h.whyThisAdClicked=g.y;g.h.whyThisAdClosed=g.y;g.h.De=function(a){if(null==a||!Sfa(this,a))throw rn(oo,null,"adsRenderingSettings should be instance of AdsRenderingSettings");var b=this.Va;if(null==a.bitrate||0>=a.bitrate)a.bitrate=-1;null==a.mimeTypes&&(a.mimeTypes=[]);Tfa(a.mimeTypes);if(!g.ta(a.Xe)||0>=a.Xe)a.Xe=eo();g.$b(b,a)};
g.h.start=function(){Pu(this);if(!this.Df)throw qn(Ou,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)&&un(this,oo,null,"volume",String(a));this.volume=a};
g.h.expand=function(){Pu(this);this.yc("fullscreen")};
g.h.collapse=function(){Pu(this);this.yc("normal")};
g.h.yc=function(a){if(!Mb(Toa,a))throw rn(oo,null,"view mode",a);this.Sc=a};
g.h.Dc=function(){return this.Wl};
g.h.hasListeners=function(a){return(0,g.Qr)(a,function(a){if(g.af(this))a=jf(this.re,g.t(a)?String(a):void 0);else{var b=g.nf(this);a=!!b&&jf(b,a)}return a},this)};
g.h.Mg=function(){return null};
g.h.Ki=function(){return null};
g.h.oA=function(){return null};
g.h.ue=function(){return null};
g.h.af=function(){this.Ga("abandon")};
g.h.nG=function(){return{currentTime:this.getCurrentTime(),duration:this.getDuration(),isPlaying:this.vb(),isVpaid:this.xb()&&null!=Vs(this.la()),isYouTube:Q.g(),volume:this.getVolume()}};
g.h.pk=function(a){do if(Ks(a))return!1;while(a=a.o);return!0};
g.h.nk=function(){for(var a=0;a<this.ads.length;++a)if(!this.pk(this.ads[a]))return!1;return wn()};
g.h.nP=function(a){var b=g.lb(J3,g.Nb(L3));sb(b);(0,g.H)(b,function(b){var c=yp(a.g,b);g.db(c)||this.Rr(b,c)},this);
Pfa(this.Pb,a.H)};
g.h.Rr=function(a,b){(0,g.H)(b,function(a){Ap(this.Pb.A,a.Wb(),a.g)},this)};
g.h.bM=function(a){this.Va.Bv||(a=a.g,null!=a&&(a=a.clickThroughUrl,null!=a&&(hn(a),this.pause())))};
g.h.hj=function(a){var b=a.type;if(g.cb(K3,b)){if("externalActivityEvent"==b&&(b=a.g.eventName,!L3[b]))return;Nu(this,b)}};var Uu=["classid","data","movie","type","typemustmatch"];g.oa(g.Vu);g.Vu.prototype.g=0;g.C(g.Wu,g.zf);g.h=g.Wu.prototype;g.h.AH=g.Vu.getInstance();g.h.getId=function(){return this.za||(this.za=":"+(this.AH.g++).toString(36))};
g.h.pa=function(){return this.g};
g.h.hh=function(a){if(this.B&&this.B!=a)throw Error("Method not supported");g.Wu.R.hh.call(this,a)};
g.h.Km=function(){this.g=this.H.createElement("DIV")};
g.h.Ci=function(){this.Ae=!0;Yu(this,function(a){!a.Ae&&a.pa()&&a.Ci()})};
g.h.Uj=function(){Yu(this,function(a){a.Ae&&a.Uj()});
this.D&&zm(this.D);this.Ae=!1};
g.h.P=function(){this.Ae&&this.Uj();this.D&&(this.D.dispose(),delete this.D);Yu(this,function(a){a.dispose()});
this.g&&g.ye(this.g);this.B=this.g=this.F=this.L=null;g.Wu.R.P.call(this)};
g.h.Ac=function(){return this.g};
g.h.removeChild=function(a,b){if(a){var c=g.z(a)?a:a.getId();a=this.F&&c?Vb(this.F,c)||null:null;if(c&&a){Ub(this.F,c);g.jb(this.L,a);b&&(a.Uj(),a.g&&g.ye(a.g));c=a;if(null==c)throw Error("Unable to set parent component");c.B=null;g.Wu.R.hh.call(c,null)}}if(!a)throw Error("Child is not in parent component");return a};g.C(Zu,g.Wu);g.h=Zu.prototype;g.h.bb=null;g.h.lo="window";g.h.Bl="sameDomain";g.h.setSize=function(a,b){this.G=g.z(a)?a:Math.round(a)+"px";this.C=g.z(b)?b:Math.round(b)+"px";this.pa()&&g.vh($u(this),this.G,this.C);return this};
g.h.Ci=function(){Zu.R.Ci.call(this);for(var a=this.pa(),b=this.o.Bb(),c=this.o.fb(),d=[],e=0;e<b.length;e++)d.push(g.Fa(b[e])+"="+g.Fa(c[e]));var b=d.join("&"),f;if(g.sc&&!g.kc(11)){d=this.J;c={allowFullScreen:"true",AllowScriptAccess:this.Bl,allowNetworking:"all",bgcolor:"#000000",FlashVars:b,quality:"high",SeamlessTabbing:"false",wmode:this.lo};b={"class":"goog-ui-media-flash-object",id:this.getId(),name:this.getId()};Ufa(b,c);e={allownetworking:"none",allowscriptaccess:"never",movie:d};d={};for(f in e)d[f]=
e[f];for(f in c){var k=f.toLowerCase();k in e&&delete d[k];d[f]=c[f]}c=[];for(f in d)c.push(Nd("param",{name:f,value:d[f]}));f=Od({classid:"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"},{},b);f=Nd("object",f,c)}else f={AllowScriptAccess:this.Bl,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.lo},f=Od({src:this.J,type:"application/x-shockwave-flash",pluginspage:"https://www.macromedia.com/go/getflashplayer"},
{allownetworking:"none",allowscriptaccess:"never"},f),f=Nd("embed",f);a.innerHTML=g.Jd(f);this.G&&this.C&&this.setSize(this.G,this.C);this.A.T(this.pa(),g.Nb(Goa),We)};
g.h.Km=function(){if(null!=this.M&&!(0<=g.Ra(xi,this.M)))throw Error("Method not supported");var a=this.H.createElement("DIV");a.className="goog-ui-media-flash";this.g=a};
g.h.P=function(){Zu.R.P.call(this);this.o=null;this.A.dispose();this.A=null};
g.h.Ob=function(){return this.Ae&&this.pa()?g.WO&&$u(this).readyState&&"complete"==$u(this).readyState||$u(this).readyState&&4==$u(this).readyState||"PercentLoaded"in $u(this)&&100==$u(this).PercentLoaded()?!0:!1:!1};g.C(av,g.zf);var gpa=Ad(pd(qd("https://imasdk.googleapis.com/flash/sdkloader/flashinhtml.swf")));Ad(pd(qd("http://imasdk.googleapis.com/flash/sdkloader/flashinhtml.swf")));g.h=av.prototype;g.h.dispose=function(){this.g&&(this.g.dispose(),this.o=null);window[this.A]&&delete window[this.A];g.pg(this.B)};
g.h.load=function(a,b,c,d){window[this.A]=(0,g.A)(this.CH,this);this.g=new Zu(gpa);this.g.setSize(b,c);this.g.Bl="always";this.g.lo="transparent";this.g.o.set("vpaid",a);this.g.o.set("vpaidEventHandler",this.A);Xu(this.g,this.D);this.o=$u(this.g);this.B=g.og(this.DH,d,this)};
g.h.BH=function(a){if(!this.o)return null;var b=Array.prototype.slice.call(arguments),c=b.shift();if(!this.C&&"handshakeVersion"!=c&&"initAd"!=c)return null;try{if(this.o[c])return this.o[c].apply(this.o,b)}catch(d){}return null};
g.h.CH=function(a,b){"AdLoaded"==a&&(g.pg(this.B),this.C=!0);this.dispatchEvent(new vn(a,b||null))};
g.h.DH=function(){this.dispatchEvent("loadError")};g.C(dv,Rp);dv.prototype.dg=function(){var a=this.Iq(),a=null!=a&&"clicktag"==a.toLowerCase(),a={url:fn(g.E(this.A)),width:this.Db(),height:this.getHeight(),Fc:this.Ue(),capture:this.Qu||!a},b=Q.g()&&xo(this.G,"hideMaster")?up:Tda,a=gq(b,a);a.style.width=this.Db()+"px";a.style.height=this.getHeight()+"px";a.id=this.za;(0,g.H)(a.getElementsByTagName("object"),this.ni,this);(0,g.H)(a.getElementsByTagName("a"),this.ni,this);return a};g.C(ev,Rp);ev.prototype.dg=function(){var a=g.pe("DIV");a.innerHTML=this.A;this.ni(a);return Vp(this,a)};g.C(fv,Rp);fv.prototype.dd=function(){var a=fv.R.dd.call(this);this.D&&(a=a.replace('src=""','src="'+fn(g.E(this.A))+'"'));return a};
fv.prototype.Lq=function(){var a=fv.R.Lq.call(this);this.D&&(a=a.replace('src=""','src="'+fn(g.E(this.A))+'"'));return a};
fv.prototype.dg=function(a){var b="";this.D||(b=fn(g.E(this.A)));b={id:this.za,url:b,Fc:this.Ue(),width:this.Db()+"px",height:this.getHeight()+"px"};a=Q.g()&&xo(this.G,"hideMaster")?up:a?Vda:Uda;a=gq(a,b);(0,g.H)(a.getElementsByTagName("a"),this.ni,this);return a};
fv.prototype.lk=function(){return!0};iv.prototype.ed=function(){return null!=this.g?Op[this.g]||"Other":null};g.C(jv,Yp);kv.prototype.parse=function(a){if(null==a)return null;var b,c,d;(0,g.H)(g.Be(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 jv(b,c,d):null};g.C(mv,Yp);mv.prototype.isPharma=function(){return this.F};nv.prototype.parse=function(a){var b;Kr(a,"config",function(a){null!=b||(b=Zfa(this,a))},this);
return b};ov.prototype.parse=function(a){if(null==a)return null;var b,c,d,e,f,k,l,m=!1,n=!1;(0,g.H)(g.Be(a),function(a){switch(a.nodeName){case "AttributionText":c=Jr(a);break;case "AttributionUrl":d=Jr(a);break;case "ConversionUrl":f=Jr(a);break;case "CustomTracking":null!=g.Be(a)&&(e=Tr(a));break;case "is_pharma":a=Ir(a,"bool");n=Nr(g.E(a));break;case "CheckedEvents":a=g.Be(a);b=(0,g.I)(a,function(a){return Ir(a,"id")});
null!=b||(b=[]);break;case "PreviousAdInformation":Jr(a);break;case "VisibleUrl":k=Jr(a);break;case "UI":l=(new nv).parse(a);break;case "ShowYouTubeAnnotations":var q=Jr(a);m=Nr(g.E(q),!1);case "QueryId":Jr(a)}},this);
null!=l||(l=new lv);return new mv(c,d,f,0,k,l,m,0,n,e,b)};pv.prototype.parse=function(a){if(null==a)return null;var b;(0,g.H)(g.Be(a),function(a){switch(a.nodeName){case "CustomTracking":null!=g.Be(a)&&(b=Tr(a))}});
a=null;null!=b&&0<yp(b,"skip").length&&(a="Generic");return new Wr(a,b)};qv.prototype.parse=function(a){if(null==a)return null;var b,c;(0,g.H)(g.Be(a),function(a){switch(a.nodeName){case "SkippableAdType":b=Jr(a);break;case "CustomTracking":null!=g.Be(a)&&(c=Tr(a))}});
return new Wr(b,c)};rv.prototype.parse=function(a){if(null==a)return null;var b;(0,g.H)(g.Be(a),function(a){switch(a.nodeName){case "CustomTracking":null!=g.Be(a)&&(b=Tr(a))}},this);
return new Yp(b)};var P3;g.C(xv,tv);var Q3;g.C(yv,tv);var R3,S3;g.C(zv,tv);var Fv;g.C(Av,tv);var Lv;g.C(Bv,tv);var T3;g.C(Cv,tv);var U3;g.C(Dv,tv);var V3,W3;g.C(Ev,tv);var X3,Y3,Z3,Nv;g.C(Gs,tv);var $3,rfa={TE:0,UE:1,q_:2,y_:3,ru:4,x_:5},a4={TE:0,v_:1,t_:2,r_:3,s_:4,u_:5,p_:6,w_:7,SE:8,PE:9,QE:10,RE:11};yv.prototype.Wb=function(){return uv(this,"type",0)};
yv.prototype.g=function(){return new Ev(this.data.website_card)};
Av.prototype.Wb=function(){return uv(this,"type",0)};
Av.prototype.getId=function(){return wr(this,"id")};
Av.prototype.setTitle=function(a){this.data.title=a};
Bv.prototype.Wb=function(){return uv(this,"type",0)};
Cv.prototype.fd=function(){return wr(this,"headline")};
Cv.prototype.setDescription=function(a){this.data.description=a};
Dv.prototype.setDescription=function(a){this.data.description=a};
Ev.prototype.fd=function(){return wr(this,"headline")};
Ev.prototype.setDescription=function(a){this.data.description=a};
Ev.prototype.gg=function(){return new Gs(this.data.icon)};
Ev.prototype.ym=function(){return new Gs(this.data.banner_image)};
Gs.prototype.getImageUrl=function(){return wr(this,"image_url")};var Rv;
Rv={action:{type:{TYPE_APPLICATION_STORE:4,TYPE_ATTRIBUTION:5,TYPE_CHANNEL:2,TYPE_COLLAPSE:17,TYPE_EXTERNAL:16,TYPE_FUNDRAISING:10,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_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_LOCATION:5,TYPE_NONE:0,TYPE_PRODUCT:1,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_EXPAND:2,TYPE_HEADLINE_CLICK:5,TYPE_IMPRESSION:1,TYPE_IMPRESSION_ENDCAP:8,TYPE_IMPRESSION_GALLERY:7,TYPE_NONE:0}}};g.C(Pv,Yp);Qv.prototype.parse=function(a){var b=Dr(a);if(D(g.E(b)))return null;var c;if(this.g){c=Sv;if(!P3){var d={};P3={g:d};if(!Q3){var e={};Q3={g:e};e.type=Gv;if(!R3){var f={};R3={g:f};f.major_version=Ov;f.minor_version=Ov}e.version=Ph(R3);e.priority=Ov;e.start_time_ms=Nh("j");e.end_time_ms=Nh("j");e.action=Oh(Kv());e.event=Oh(Jv());X3||(f={},X3={g:f},f.headline=Hv,f.description=Hv,f.attribution_icon_url=Hv,f.skippable_seconds=Ov,f.attribution_position=Gv);e.ad_card=Ph(X3);if(!T3){f={};T3={g:f};f.headline=
Hv;f.image=Ph(Iv());f.description=Hv;f.rating=D3;f.review_text=Hv;if(!U3){var k={};U3={g:k};k.merchant=Hv;k.price=Hv;k.shipping=Hv;k.shipping_tax=Hv;k.condition=Hv;k.unit_price=Hv;k.energy_label=Hv;k.description=Hv;k.rating=D3;k.review_text=Hv;k.action=Oh(Kv());k.event=Oh(Jv())}f.offer=Oh(U3)}e.product_card=Ph(T3);V3||(f={},V3={g:f},f.app_id=Hv,f.app_name=Hv,f.icon=Ph(Iv()),f.price=Hv,f.rating_image=Hv,f.review_count=Ov,f.app_store_logo=Ph(Iv()),f.button_text=Hv,f.screenshots=Oh(Iv()),f.rating=D3,
f.back_button_text=Hv,f.screenshots_text=Hv,f.cover_photo=Ph(Iv()));e.app_card=Ph(V3);W3||(f={},W3={g:f},f.headline=Hv,f.description=Hv,f.icon=Ph(Iv()),f.banner_image=Ph(Iv()));e.website_card=Ph(W3);e.prominence=Gv;Y3||(f={},Y3={g:f},f.call_to_action_text=Hv);e.social_card=Ph(Y3);Z3||(f={},Z3={g:f},f.vote_line_1=Hv,f.vote_line_2=Hv,f.confirm_line_1=Hv,f.confirm_line_2=Hv);e.vote_card=Ph(Z3);e.sponsored=E3;e.teaser_text=Hv;S3||(f={},S3={g:f},f.hide_in_drawer=E3,f.show_in_endcap=E3,f.show_in_companion=
E3,f.show_in_cta=E3,f.override_clickthrough=E3,f.show_in_promotion_shelf=E3);e.placement=Ph(S3);$3||(f={},$3={g:f},f.latitude_e6=Ov,f.longitude_e6=Ov,f.address=Hv,f.image=Ph(Iv()),f.headline=Hv);e.location_card=Ph($3)}d.card=Oh(Q3);d.event=Oh(Jv())}a=c(this,a,P3);a=c=new xv(a);d=new vp;for(e=0;e<wv(a,"card");e++)if(f=new yv(vv(a,"card",e)),Es(Fs(f)))for(k=0;k<wv(f,"event");k++){var l=new Bv(vv(f,"event",k)),m=null;switch(l.Wb()){case a4.PE:m="video_card_endcap_action";break;case a4.QE:m="video_card_endcap_collapse";
break;case a4.RE:m="video_card_endcap_dismiss";break;case a4.SE:m="video_card_endcap_impression"}m&&Ap(d,m,Tv(m,wr(l,"base_url")))}a=d}else a=$fa(this,a);return new Pv(b,c,a)};g.C(Uv,Yp);Uv.prototype.Kg=function(){return this.o};g.C(Vv,Yp);Wv.prototype.parse=function(a){if(!a)return null;var b,c;(0,g.H)(g.Be(a),function(a){switch(a.nodeName){case "FeEventId":b=Jr(a);break;case "AdEventId":c=Jr(a)}},this);
return new Vv(b,c)};Xv.prototype.C=function(a){var b={};(0,g.H)(this.o,function(a){b[a]=[]});
var c=new RegExp("^"+this.A);(0,g.H)(g.Be(a),function(a){"config"==a.nodeName&&(0,g.H)(g.Be(a),function(a){"params"==a.nodeName&&(0,g.H)(g.Be(a),function(a){var d=this.A?a.nodeName.replace(c,""):a.nodeName,e=a.getAttribute("data");null!=e||(e=Jr(a));null!=a.getAttribute("learn_more")&&(e+="|");g.cb(this.o,d)?b[d].push(e):b[d]=e},this)},this)},this);
return b};g.C(Zv,Xv);Zv.prototype.parse=function(a){if(null==a)return null;a=Yv(this,a);var b=a.UI;return new mt(b.gone,b.question,b.undo,b.hover_text,a.SurveyOptions||[],a.CustomTracking)};
Zv.prototype.B=function(a){var b=[],c=0;(0,g.H)(g.Be(a),function(a){if("SurveyOption"==a.nodeName){var d,f;(0,g.H)(g.Be(a),function(a){switch(a.nodeName){case "DisplayName":d=Jr(a);break;case "URL":f=Jr(a)}},this);
null!=d&&null!=f&&(b.push({label:d,url:f}),c++)}},this);
return b};g.C($v,Yp);aw.prototype.parse=function(a){if(null==a)return null;var b=new $v;(0,g.H)(g.Be(a),function(a){if("DealId"!=a.nodeName)return null;a=Jr(a);a=g.E(a);D(a)||(b.o=a)},this);
return b};g.C(bw,Yp);cw.prototype.g={HE:"Siub",GE:"Scs",LC:"Bgub",KC:"Bgp"};cw.prototype.parse=function(a){if(null==a)return null;var b,c,d,e;(0,g.H)(g.Be(a),function(a){switch(a.nodeName){case this.g.HE:b=Jr(a);break;case this.g.GE:c=Jr(a);break;case this.g.LC:d=Jr(a);break;case this.g.KC:e=Jr(a)}},this);
return b&&c&&d&&e?new bw(b,c,d,e):null};g.C(dw,Yp);ew.prototype.g={NE:"TEMPLATE_PARAMETERS",OE:"TEMPLATE_URL"};ew.prototype.parse=function(a){if(null==a)return null;(0,g.H)(g.Be(a),function(a){switch(a.nodeName){case this.g.NE:aga(this,a)}},this);
return new dw};g.C(fw,Yp);fw.prototype.getImageUrl=function(){return this.B};gw.prototype.g={OD:"Line1",PD:"Line2",QD:"Line3",MD:"ImageUrl"};gw.prototype.parse=function(a){if(null==a)return null;var b,c,d,e,f=0,k=0;(0,g.H)(g.Be(a),function(a){switch(a.nodeName){case this.g.OD:b=Jr(a,!0);break;case this.g.PD:c=Jr(a,!0);break;case this.g.QD:d=Jr(a,!0);break;case this.g.MD:e=Jr(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 fw(b,c,d,e,f,k)};g.C(hw,Yp);iw.prototype.parse=function(a){if(null==a)return null;var b;(0,g.H)(g.Be(a),function(a){switch(a.nodeName){case "ViralExtensionData":a=a.getAttribute("query_id"),D(g.E(a))||(b=a)}},this);
return new hw(b)};g.C(jw,Xv);var hpa=["menu","got_it"],ipa=[["generic_message_left","generic_message_hypertext","generic_message_right"]];jw.prototype.parse=function(a){if(null==a)return null;a=Yv(this,a);var b=a.UI;if(!kw(b,hpa))return null;var c,d=!0,e=!1;(0,g.H)(ipa,function(a){cga(b,a)&&(kw(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 ot(b.menu,b.got_it,b.targeting_reason_header,b.targeting_reason,a.CustomTracking,c,b.control)};lw.prototype.parse=function(a){if(null==a)return null;a=a.getAttribute("sequence");a=null!=a?Ua(a):window.NaN;a=(0,window.isNaN)(a)?-1:a;return new Xr(a)};g.C(mw,Yp);nw.prototype.parse=function(a){return null!=a?new mw:null};ow.prototype.parse=function(a){if(null==a)return null;a=a.getAttribute("fallback_index");a=null!=a?Ua(a):window.NaN;return new Nq(a)};g.C(pw,bv);
pw.prototype.g={zC:"Ad",yo:"AdParameters",DC:"AdSystem",EC:"AdTitle",AC:"Advertiser",HC:"AltText",QC:"ClickThrough",RC:"ClickTracking",TC:"Companion",UC:"CompanionAds",VC:"CompanionClickThrough",WC:"CompanionClickTracking",eD:"Creative",YU:"CreativeExtensions",fD:"Creatives",jD:"CustomClick",oD:"Description",Co:"Duration",ERROR:"Error",EXTENSION:"Extension",vD:"Extensions",ql:"HTMLResource",BD:"Icon",CD:"Icons",DD:"IconClicks",ED:"IconClickThrough",FD:"IconClickTracking",GD:"IconViewTracking",sl:"IFrameResource",
tl:"Impression",EW:"InLine",LINEAR:"Linear",VD:"MediaFile",WD:"MediaFiles",fE:"NonLinear",gE:"NonLinearAds",hE:"NonLinearClickThrough",iE:"NonLinearClickTracking",rE:"Pricing",ul:"StaticResource",ME:"Survey",j_:"Tracking",So:"TrackingEvents",VE:"UniversalAdId",N_:"VAST",XE:"VASTAdTagURI",YE:"VideoClicks",bF:"Wrapper"};
pw.prototype.o={BC:"adId",CC:"adSlotID",GC:"allowMultipleAds",ol:"apiFramework",Ct:"bitrate",gD:"creativeType",nD:"delivery",Co:"duration",WV:"event",yD:"followAdditionalWrappers",tD:"expandedHeight",uD:"expandedWidth",pl:"height",rl:"id",HD:"idRegistry",ID:"idValue",SD:"maintainAspectRatio",UD:"maxBitrate",aE:"minBitrate",bE:"minSuggestedDuration",jE:"offset",sE:"program",wE:"required",zE:"scalable",au:"sequence",EE:"skipoffset",qu:"type",VERSION:"version",ZE:"codec",xl:"width",cF:"xPosition",fF:"yPosition"};
pw.prototype.A=function(){return new cv(this.B,ega(this),null)};g.C(zw,Ju);g.h=zw.prototype;g.h.P=function(){this.F=!1;null===this.g?this.N&&this.dispatchEvent(new Mm("destroyInsecureFlashVpaid",this.la())):this.g.dispose();this.A&&this.ia("contentResumeRequested");this.ia("allAdsCompleted");zw.R.P.call(this)};
g.h.Hc=function(){var a=this.Vc("getAdRemainingTime");return g.ta(a)?a:-1};
g.h.getVolume=function(){var a=this.Vc("getAdVolume");return g.ta(a)?a:-1};
g.h.Mc=function(a,b,c){zw.R.Mc.call(this,a,b,c);this.A=this.la().g instanceof Kp};
g.h.init=function(a){zw.R.init.call(this,a);a=this.la();var b=Ws(a),b=g.E(b);if(D(b))Ew(this,Error("Flash VPAID ad url is empty.")),this.stop();else{if(Mu(a)){var c=a.g,d=Np(c);null!=d&&(c.C=d)}this.Xa().T(jo(),K3,this.hj);this.N?this.dispatchEvent(new Mm("initInsecureFlashVpaid",a,{url:g.E(b)})):null===this.Sa.wf()?(Ew(this,Error("Container must be provided for flash VPAID.")),this.stop()):(this.Sa.jd(),null===this.g&&(this.g=new av(this.Sa.wf())),this.Xa().T(this.g,"loadError",this.SL),this.Xa().T(this.g,
"vpaidEventType",this.Kf),this.g.load(b,this.L,this.D,this.Va.Xe))}};
g.h.start=function(){if(this.F){zw.R.start.call(this);var a=this.la();this.Pb.B=a.H;var b=uq(a);this.Pb.g=b;if(b=a.g)this.rg(a),this.Of(b,J3),this.mj(b),Qu(this,a);this.Sa.jd();Su(this);this.Ga("show_ad");this.setVolume(this.B);this.o=new g.mg(250);this.Xa().T(this.o,"tick",this.FH);this.A?this.ia("contentPauseRequested"):(this.ia("contentResumeRequested"),Bw(this));this.o.start();this.Vc("startAd")}else this.H=!0};
g.h.stop=function(){this.J||(this.Vc("stopAd"),this.Sa.Bf(),null!=this.o&&(this.o.stop(),this.o=null),zw.R.stop.call(this),this.J=!0)};
g.h.zb=function(a,b,c){zw.R.zb.call(this,a,b,c);if(null!==this.g){var d=this.g;d.g&&d.g.setSize(a,b)}this.L=a;this.D=b;this.Vc("resizeAd",a,b,c)};
g.h.pause=function(){null!=this.o&&this.o.stop();this.Vc("pauseAd")};
g.h.resume=function(){null!=this.o&&this.o.start();this.Vc("resumeAd")};
g.h.setVolume=function(a){this.B=a;this.M.getAdVolume=a;this.Vc("setAdVolume",a)};
g.h.expand=function(){this.Vc("expandAd")};
g.h.collapse=function(){this.Vc("collapseAd")};
g.h.gj=g.y;g.h.Sb=function(){return Aw(this)};
g.h.skip=function(){this.Vc("skipAd")};
g.h.getDuration=function(){var a=this.Vc("getAdDuration");if(g.ta(a))return a;a=this.Hc();return 0<=a?this.C/1E3+a:-2};
g.h.FH=function(){this.C+=250;var a=this.getDuration(),b=a-this.Hc();Tu(this,b,a)};
g.h.Vc=function(a){if(this.J)return null;for(var b=[],c=0;c<arguments.length;c++)b.push(arguments[c]);return this.N?(c=b.shift(),this.dispatchEvent(new Mm("callFlashVpaidMethod",this.xb()?this.la():null,{methodName:c,args:b})),this.M[c]):null===this.g?null:this.g.BH.apply(this.g,b)};
g.h.SL=function(){Ew(this,Error("Flash VPAID loader failed to load."));this.stop()};
g.h.getCurrentTime=function(){return this.C/1E3};
g.h.Kf=function(a){var b=a.data;switch(a.g){case "flashVpaidMethodResults":b&&(this.M[b.methodName]=b.result);break;case "flashReady":this.Vc("handshakeVersion","2.0");b=ms(this.la());this.Vc("initAd",this.L,this.D,this.Sc,this.Va.bitrate,b);break;case "AdLoaded":this.F=!0;b=this.Vc("getAdCompanions");a=g.z(b)?b:"";b=this.la();g.db(ls(b))&&(a=tw(a,b.g.g),g.db(a)||Yr(b,a));Nu(this,"loaded");this.H&&(this.H=!1,this.start());break;case "AdStarted":this.Ga("impression");this.Ga("creativeview");this.ia("start");
break;case "AdVideoStart":this.Ga("start");break;case "AdClickThru":b&&b.playerHandles&&((b=b.url)||(b=g.E(os(this.la()))),b&&hn(b));this.Ga("click");this.ia("click");break;case "AdDurationChange":this.ia("durationChange");break;case "AdRemainingTimeChange":this.ia("durationChange");Bw(this);break;case "AdError":a="AdError";b&&(a=b.message);Ew(this,Error(a));this.stop();break;case "AdExpandedChange":this.ia("expandedChanged");break;case "AdImpression":b=this.la();g.db(ls(b))||this.pd(b);this.ia("impression");
break;case "AdLinearChange":b=Aw(this);!this.A&&b?(this.ia("contentPauseRequested"),g.pg(this.G)):this.A&&!b&&(this.ia("contentResumeRequested"),Bw(this));this.A=b;a=this.Pc;a.Za=!0;a.va=b;this.ia("linearChanged");break;case "AdVolumeChange":b=this.getVolume();b!=this.B&&(this.ia("volumeChange"),0==b&&0!=this.B?(this.Ga("mute"),this.ia("mute")):0==this.B&&0!=b&&this.Ga("unmute"),this.B=b);break;case "AdPaused":Nu(this,"pause");break;case "AdUserClose":Nu(this,"userClose");break;case "AdUserMinimize":this.Ga("collapse");
break;case "AdVideoFirstQuartile":Nu(this,"firstquartile");break;case "AdVideoMidpoint":Nu(this,"midpoint");break;case "AdVideoThirdQuartile":Nu(this,"thirdquartile");break;case "AdVideoComplete":Cw(this);break;case "AdUserAcceptInvitation":this.A?this.Ga("acceptinvitationlinear"):this.Ga("acceptinvitation");break;case "AdStopped":Cw(this);this.Ga("stop");this.stop();break;case "AdSkipped":Nu(this,"skip");break;case "AdSkippableStateChange":Nu(this,"skippableStateChanged");break;case "AdPlaying":Nu(this,
"resume");break;case "AdLog":this.ia("log")}};g.C(Fw,Ju);var jpa=Ad(pd(qd("https://imasdk.googleapis.com/flash/sdkloader/flashinhtml.swf")));Ad(pd(qd("http://imasdk.googleapis.com/flash/sdkloader/flashinhtml.swf")));g.h=Fw.prototype;g.h.P=function(){this.F=!1;this.g&&(this.g.dispose(),this.C=null);g.pg(this.G);this.A&&this.ia("contentResumeRequested");this.ia("allAdsCompleted");Fw.R.P.call(this)};
g.h.Hc=function(){var a=this.bd("getAdRemainingTime");return g.ta(a)?a:-1};
g.h.getVolume=function(){var a=this.bd("getAdVolume");return g.ta(a)?a:-1};
g.h.Mc=function(a,b,c){Fw.R.Mc.call(this,a,b,c);this.A=this.la().g instanceof Kp};
g.h.init=function(a){Fw.R.init.call(this,a);window[this.S]=(0,g.A)(this.GH,this);this.Xa().T(jo(),K3,this.hj);this.g=new Zu(jpa);this.g.setSize(this.M,this.H);this.g.Bl="always";var b=this.la();a=Ws(b);a=g.E(a);if(D(a))Iw(this,Dw,Error("Flash VPAID ad url is empty.")),this.stop();else{if(Mu(b)){var b=b.g,c=Np(b);null!=c&&(b.C=c)}this.g.o.set("vpaid",a);this.g.lo="transparent";this.g.o.set("vpaidEventHandler",this.S);this.Sa.jd();Xu(this.g,this.Sa.wf());this.C=$u(this.g);this.G=g.og(this.IH,this.Va.Xe,
this)}};
g.h.start=function(){if(this.F){Fw.R.start.call(this);var a=this.la();this.Pb.B=a.H;var b=uq(a);this.Pb.g=b;if(b=a.g)this.rg(a),this.Of(b,J3),this.mj(b),Qu(this,a);this.Sa.jd();Su(this);this.Ga("show_ad");this.setVolume(this.B);this.o=new g.mg(250);this.Xa().T(this.o,"tick",this.HH);this.A?this.ia("contentPauseRequested"):(this.ia("contentResumeRequested"),Hw(this));this.o.start();this.bd("startAd")}else this.L=!0};
g.h.stop=function(){this.aa||(this.aa=!0,this.bd("stopAd"),this.Sa.Bf(),null!=this.o&&(this.o.stop(),this.o=null),Fw.R.stop.call(this))};
g.h.zb=function(a,b,c){Fw.R.zb.call(this,a,b,c);this.M=a;this.H=b;null!=this.g&&this.g.setSize(a,b);this.bd("resizeAd",a,b,c)};
g.h.pause=function(){null!=this.o&&this.o.stop();this.bd("pauseAd")};
g.h.resume=function(){null!=this.o&&this.o.start();this.bd("resumeAd")};
g.h.setVolume=function(a){this.B=a;this.bd("setAdVolume",a)};
g.h.expand=function(){this.bd("expandAd")};
g.h.collapse=function(){this.bd("collapseAd")};
g.h.gj=function(){};
g.h.Sb=function(){return Gw(this)};
g.h.skip=function(){this.bd("skipAd")};
g.h.getDuration=function(){var a=this.bd("getAdDuration");if(g.ta(a))return a;a=this.Hc();return 0<=a?this.D/1E3+a:-2};
g.h.HH=function(){this.D+=250;var a=this.getDuration(),b=a-this.Hc();Tu(this,b,a)};
g.h.bd=function(a){if(!this.g||!this.C)return null;for(var b=[],c=0;c<arguments.length;c++)b.push(arguments[c]);var c=b.shift(),d=!1;this.F&&(d=!0);if("handshakeVersion"==c||"initAd"==c)d=!0;if(d)try{if(null!=this.C[c])return this.C[c].apply(this.C,b)}catch(e){}return null};
g.h.IH=function(){Iw(this,N3,null,(this.Va.Xe/1E3).toString());this.stop()};
g.h.getCurrentTime=function(){return this.D/1E3};
g.h.GH=function(a,b){switch(a){case "flashReady":this.bd("handshakeVersion","2.0");var c=ms(this.la());this.C.initAd(this.M,this.H,this.Sc,this.Va.bitrate,c);break;case "AdLoaded":g.pg(this.G);this.F=!0;var c=this.bd("getAdCompanions"),d=g.z(c)?c:"",c=this.la();g.db(ls(c))&&(d=tw(d,c.g.g),g.db(d)||Yr(c,d));Nu(this,"loaded");this.L&&(this.L=!1,this.start());break;case "AdStarted":this.Ga("impression");this.Ga("creativeview");this.ia("start");break;case "AdVideoStart":this.Ga("start");break;case "AdClickThru":b&&
b.playerHandles&&((c=b.url)||(c=g.E(os(this.la()))),null!=c&&hn(c));this.Ga("click");this.ia("click");break;case "AdDurationChange":this.ia("durationChange");break;case "AdRemainingTimeChange":this.ia("durationChange");Hw(this);break;case "AdError":c="AdError";b&&(c=b.message);Iw(this,Dw,Error(c));this.stop();break;case "AdExpandedChange":this.ia("expandedChanged");break;case "AdImpression":c=this.la();g.db(ls(c))||this.pd(c);this.ia("impression");break;case "AdLinearChange":c=Gw(this);!this.A&&c?
(this.ia("contentPauseRequested"),g.pg(this.J)):this.A&&!c&&(this.ia("contentResumeRequested"),Hw(this));this.A=c;d=this.Pc;d.Za=!0;d.va=c;this.ia("linearChanged");break;case "AdVolumeChange":c=this.getVolume();c!=this.B&&(c!=this.B&&this.ia("volumeChange"),0==c&&0!=this.B?(this.Ga("mute"),this.ia("mute")):0==this.B&&0!=c&&this.Ga("unmute"),this.B=c);break;case "AdPaused":Nu(this,"pause");break;case "AdUserClose":Nu(this,"userClose");break;case "AdUserMinimize":this.Ga("collapse");break;case "AdVideoFirstQuartile":Nu(this,
"firstquartile");break;case "AdVideoMidpoint":Nu(this,"midpoint");break;case "AdVideoThirdQuartile":Nu(this,"thirdquartile");break;case "AdVideoComplete":Jw(this);break;case "AdUserAcceptInvitation":this.A?this.Ga("acceptinvitationlinear"):this.Ga("acceptinvitation");break;case "AdStopped":Jw(this);this.Ga("stop");this.stop();break;case "AdSkipped":Nu(this,"skip");break;case "AdSkippableStateChange":Nu(this,"skippableStateChanged");break;case "AdPlaying":Nu(this,"resume");break;case "AdLog":this.ia("log")}};g.C(Kw,Mm);Nw.prototype.g=null;var b4;g.C(Qw,Nw);b4=new Qw;g.C(Sw,g.zf);Sw.prototype.bb=null;var pga=/^https?$/i,kpa=["POST","PUT"];g.h=Sw.prototype;
g.h.send=function(a,b,c,d){if(this.g)throw Error("[goog.net.XhrIo] Object is active with another request="+this.S+"; newUri="+a);b=b?b.toUpperCase():"GET";this.S=a;this.D="";this.o=0;this.M=!1;this.A=!0;this.g=this.L?Rw(this.L):Rw(b4);this.J=this.L?Pw(this.L):Pw(b4);this.g.onreadystatechange=(0,g.A)(this.mw,this);try{this.getStatus(),this.N=!0,this.g.open(b,String(a),!0),this.N=!1}catch(f){this.getStatus();Ww(this,f);return}a=c||"";var e=this.headers.clone();d&&Zl(d,function(a,b){e.set(b,a)});
d=g.Za(e.Bb(),oga);c=na.FormData&&a instanceof na.FormData;!g.cb(kpa,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.ba&&(this.g.responseType=this.ba);"withCredentials"in this.g&&this.g.withCredentials!==this.G&&(this.g.withCredentials=this.G);try{$w(this),0<this.C&&(this.aa=nga(this.g),this.getStatus(),this.aa?(this.g.timeout=this.C,this.g.ontimeout=(0,g.A)(this.ow,this)):this.F=g.og(this.ow,this.C,this)),this.getStatus(),this.H=!0,this.g.send(a),this.H=!1}catch(f){this.getStatus(),Ww(this,f)}};
g.h.ow=function(){"undefined"!=typeof Xw&&this.g&&(this.D="Timed out after "+this.C+"ms, aborting",this.o=8,this.getStatus(),this.dispatchEvent("timeout"),this.abort(8))};
g.h.abort=function(a){this.g&&this.A&&(this.getStatus(),this.A=!1,this.B=!0,this.g.abort(),this.B=!1,this.o=a||7,this.dispatchEvent("complete"),this.dispatchEvent("abort"),Vw(this))};
g.h.P=function(){this.g&&(this.A&&(this.A=!1,this.B=!0,this.g.abort(),this.B=!1),Vw(this,!0));Sw.R.P.call(this)};
g.h.mw=function(){this.ma()||(this.N||this.H||this.B?Zw(this):this.tN())};
g.h.tN=function(){Zw(this)};
g.h.isActive=function(){return!!this.g};
g.h.getStatus=function(){try{return 2<Yw(this)?this.g.status:-1}catch(a){return-1}};g.p(cx,Yi);cx.prototype.M=function(){if(this.o&&this.L){if(0<this.events.length||0<xba(this.F)){var a={};200<this.events.length&&(this.events.length=200);(0,g.H)(this.events,function(b){var c="met."+b.type;a[c]?a[c].push(dx(b)):a[c]=[dx(b)]});
sga(this,a);this.C++;this.C===this.H&&this.ej()}this.events.length=0;this.g.clearTimeout(this.A);this.A=0}};
cx.prototype.Fn=function(a){this.C<this.H&&(Yi.prototype.Fn.call(this,a),200<=this.events.length&&this.M())};
cx.prototype.ej=function(){Yi.prototype.ej.call(this);this.g.clearTimeout(this.A);this.A=0;Wh(this.g,"unload",this.B);Wh(this.g,"load",this.G)};gx.prototype.isLoggingEnabled=function(){return!!this.g};
g.oa(gx);g.C(jx,g.M);jx.prototype.P=function(){this.o.enabled&&this.o.stop();this.g=[];jx.R.P.call(this)};
jx.prototype.D=function(){var a=1E3*this.J.getCurrentTime(),b=(0,g.G)();this.g.push(new wga(a,b));for(a=b-this.g[0].g;1E4<a;)this.g.shift(),a=b-this.g[0].g;2>this.g.length?b=!0:(a=this.g.length-1,b=this.g[a].g-this.g[0].g,a=this.g[a].o-this.g[0].o,b<this.G||0>a?b=!0:(b=a/b,b<this.B&&(this.B=b),b=.5<=b));b||(this.H=!0,b=this.J,null!=b.o&&lx(b.o),Vx(b,Zoa,rn(Zoa)))};mx.prototype.isListed=!0;mx.prototype.Nf=-1;g.C(ox,g.zf);g.h=ox.prototype;g.h.start=function(){this.yq();this.A=0;px(this);this.o=!0;this.C.start()};
g.h.play=function(){this.o||(px(this),this.o=!0,this.C.start())};
g.h.pause=function(){this.o&&px(this)};
g.h.stop=function(){this.o&&px(this);this.dispatchEvent("end")};
g.h.yq=function(){};
g.h.mN=function(){this.A+=.2;this.xq(this.A,this.M);this.dispatchEvent("timeUpdate");0>=this.M-this.A&&this.stop()};
g.h.xq=g.y;g.h.P=function(){this.o=!1;this.J.dispose();ox.R.P.call(this)};g.C(rx,ox);g.h=rx.prototype;g.h.start=function(){this.yq();this.B.update(0,this.H);zt(this.g,this.G.A).play();this.J.T(this.B,"skip",this.lF);rx.R.start.call(this)};
g.h.yq=function(){var a=g.wh(this.g);if(1==this.F){var b=400>=(0,window.parseInt)(g.hh(this.g,"width"),10)||400>=a.width;g.T(this.g,"videoAdUi-mobile",b)}else if(2==this.F){var c=g.De(this.g),d=g.wh(c),e=65>=(a.height-d.height)/2;g.T(this.g,"fullslotAdUi-mobile",e);b=165>=(a.width-d.width)/2;g.T(this.g,"videoAdUi-mobile",b&&e);c.style.top=Math.max(5,Math.floor((a.height-d.height-65)/2))+"px"}};
g.h.lF=function(){this.pause();this.dispatchEvent("skip")};
g.h.xq=function(a,b){this.B.update(a,b);if(this.D){var c=nx({wg:qx(b-a)});g.He(this.D,c)}};
g.h.P=function(){this.B&&this.B.dispose();g.ve(this.g);rx.R.P.call(this)};g.C(ux,ox);var tx=Math.ceil(10*3.14);ux.prototype.F=function(a){Q.g()||a.stopPropagation();this.dispatchEvent("click")};
ux.prototype.start=function(){ux.R.start.call(this);null==this.g?this.stop():this.H&&(this.N&&780<=g.wh(this.S).width&&this.H.Qw(!0),this.H.Bq())};
ux.prototype.xq=function(a,b){var c=a/b*tx+" "+tx;null!=this.g&&g.dh(this.g,"stroke-dasharray",c)};g.C(vx,g.M);vx.prototype.show=function(a,b){wx(this);EO&&a?(a.appendChild(this.A),this.g=g.og((0,g.A)(this.o,this,b),2E3)):b()};
vx.prototype.o=function(a){this.g=0;g.ye(this.A);a()};
vx.prototype.P=function(){wx(this);vx.R.P.call(this)};xx.prototype.isPharma=function(){return this.J};g.C(yx,g.Ve);g.C(zx,g.zf);Ax.prototype.muted=function(a,b){return!this.mute&&a||0!=this.volume&&0==b};
var Dga={click:3,videoLearnMoreClicked:3,videoShareClicked:8,videoTitleClicked:14,videoAuthorClicked:15,videoAuthorIconClicked:15};g.h=zx.prototype;g.h.P=function(){this.Qc();zx.R.P.call(this)};
g.h.Qc=function(){null!=this.o&&this.o.dispose();null!=this.g&&this.g.Qc();null!=this.D&&this.D.dispose();this.D=null;null!=this.H&&this.H.dispose();this.H=null;this.M.clear();this.J=-1;this.F="";this.G=this.N=!1};
g.h.Fb=function(a,b,c,d){this.Qc();this.B.B=a.H;this.g=b;this.A=d||null;this.g.Fb();this.C=new Ax(this.g);this.L=c||null;this.o=new g.sm(this);this.F=a.H;a=Q.o?Ao():jo();this.o.T(a,"externalActivityEvent",this.QL);this.o.T(a,"measurable_impression",this.tM);this.o.T(a,"viewable_impression",this.CO);this.o.T(this.g,"timeUpdate",this.lI);this.o.T(this.g,"volumeChange",this.mI);this.o.T(this.g,"pause",this.iI);this.o.T(this.g,"play",this.jI);this.o.T(this.g,"end",this.NL);this.o.T(this.g,"beginFullscreen",
this.gI);this.o.T(this.g,"endFullscreen",this.PL);this.o.T(this.g,"skip",this.Yw);this.o.T(this.g,"skipShown",this.qz);this.o.T(this.g,"start",this.kI);this.o.T(this.g,"error",this.fI);this.o.T(this.g,"mediaLoadTimeout",this.hI);null!=this.A&&(this.o.T(this.A,"videoIconClicked",(0,g.A)(function(a){this.dispatchEvent(a)},this)),this.o.T(this.A,"urlNavigationRequested",(0,g.A)(function(a){this.dispatchEvent(a)},this)),this.o.T(this.A,"videoShareShown",this.BO),this.o.T(this.A,"skipshown",this.qz),this.o.T(this.A,
"skip",this.Yw),this.o.T(this.A,"PUBLISHER_INVOKED_SKIP",this.qN),this.o.T(this.A,"MUTE_AD videoAuthorIconClicked videoAuthorClicked videoClicked videoLearnMoreClicked videoMuteClicked videoTitleClicked videoShareClicked videoUnmuteClicked why_this_ad_url why_this_ad_got_it why_this_ad_settings_url why_this_ad_learn_more mute_interaction_url mute_url mute_undo_url".split(" "),this.eG))};
g.h.tM=function(a){var b=a.g;this.B.G.measurable_impression=null!=b?b.viewabilityString:null;a.g.queryId==this.F&&Bx(this,"measurable_impression",!0,!1)};
g.h.CO=function(a){a=a.g;a.queryId==this.F&&(this.B.G.viewable_impression=null!=a?a.viewabilityString:null,Bx(this,"viewable_impression",!0,!0))};
g.h.QL=function(a){a=a.g;var b=L3[a.eventName];b&&a.queryId==this.F&&(this.B.G[b]=null!=a?a.viewabilityString:null,Bx(this,b,!0,!0))};
g.h.lI=function(){if(this.G){var a=this.g.getDuration();if(-1!=a){this.g.Pj(.25*a)&&Bx(this,"firstquartile",!0,!0);this.g.Pj(.5*a)&&Bx(this,"midpoint",!0,!0);this.g.Pj(.75*a)&&Bx(this,"thirdquartile",!0,!0);var b=this.B,c=this.g.getCurrentTime();if(!Vl(b.o,"skip")){0>b.C&&(Wda(b.A,a),b.C=0);for(var a=yp(b.A,"progress"),d=[],e=b.C;e<a.length;e++){var f=a[e];if(Cp(f.o)>c)break;b.C=e+1;d.push(f.g)}0<d.length&&Gu(b,new g.Ve("progress"),d)}}Cx(this)}};
g.h.kI=function(){this.G=!0;Bx(this,"impression",!0,!0);Bx(this,"creativeview",!0,!0);null!=this.L||null!=this.A||this.o.T(this.g,"click",this.Mq);null!=this.L&&(this.D=new bt,this.o.T(this.D,"click",this.Mq,!1),this.D.Fb(this.L));null!=this.A&&(this.H=new bt,this.o.T(this.H,"click",this.Mq,!1),this.H.Fb(this.A));Bx(this,"start",!0,!0);(this.g.Ui()||0==this.g.getVolume())&&Bx(this,"mute",!1,!1)};
g.h.mI=function(){var a=this.g.Ui(),b=this.g.getVolume(),c=this.C;c.mute&&!a||!a&&0==c.volume&&0<b?Bx(this,"unmute",!1,!1):this.C.muted(a,b)&&Bx(this,"mute",!1,!1);this.C.mute=a;this.C.volume=b};
g.h.iI=function(){this.g.Rg()?Dx(this):this.g.Nh()&&!this.g.Pw()&&(this.C.paused=!0,Bx(this,"pause",!1,!1))};
g.h.jI=function(){this.C.paused&&(this.C.paused=!1,Bx(this,"resume",!1,!1))};
g.h.NL=function(){Dx(this)};
g.h.Mq=function(){Bx(this,"click",!1,!1)};
g.h.fI=function(){Bx(this,"error",!1,!1)};
g.h.hI=function(){Bx(this,"mediaLoadTimeout",!1,!1)};
g.h.qz=function(){Bx(this,"skipshown",!0,!1)};
g.h.eG=function(a){Bx(this,a.type,!1,!1)};
g.h.BO=function(){Bx(this,"videoShareShown",!0,!1)};
g.h.Yw=function(){Bx(this,"skip",!0,!1)};
g.h.qN=function(){Bx(this,"skip",!0,!1)};
g.h.gI=function(){Bx(this,"fullscreen",!1,!1)};
g.h.PL=function(){Bx(this,"exitfullscreen",!1,!1)};g.C(Ex,Ju);g.h=Ex.prototype;g.h.P=function(){Ix(this);this.N.dispose();Gx(this);g.H(this.H.fb(),g.pg);var a=!1;null!=this.Sa&&(a=this.Sa.Qm(),this.Sa.Bf(),this.Sa=null);this.G&&(this.G=!1,this.Da.Nh()||this.Da.Rg()||this.Da.pause(),An()&&!a&&(this.Da.Vi(.001),this.Da.load("","")),zn()&&this.Da.Ti()&&!a&&this.Da.Aq(),this.ia("contentResumeRequested"),this.ia("allAdsCompleted"));null!=this.Da&&this.Da.unload();null!=this.o&&(g.Te(this.o),this.o=null);Ex.R.P.call(this)};
g.h.muteAd=function(){Q.g()&&(this.Ga("mute_interaction_url"),this.Ga("mute_url"),this.ia("MUTE_AD"),Fx(this,function(){Hx(this)}))};
g.h.whyThisAdClicked=function(){Q.g()&&this.Ga("why_this_ad_url")};
g.h.whyThisAdClosed=function(){Q.g()&&this.Ga("why_this_ad_got_it")};
g.h.Jk=function(){Gx(this);Ex.R.Jk.call(this);this.xb()&&(this.Pb=new Fu,this.B=new zx(this.Pb),this.L=!1,this.ia("loaded"))};
g.h.Br=function(a){Ex.R.Br.call(this,a);null!=this.Da&&this.Da.Xr(1)};
g.h.Gv=function(a,b){b.preventDefault();this.F||(this.F=!0,Nu(this,"video_card_endcap_action"));a&&(this.g.pause(),hn(a))};
g.h.Hv=function(){Fx(this,function(){Jx(this,"video_card_endcap_dismiss")})};
g.h.VF=function(){Jx(this,"video_card_endcap_collapse")};
g.h.AI=function(a,b,c){var d=jq(b);d&&(a.D=d);var e=a.getExtension("AdSense");null!=e&&null!=e.o&&e.o.o&&this.setVolume(0);if(this.Va.PA){d=a.getExtension("AdSense");(e=this.ba)||(e=null===b?!1:"modules"==(new g.$l(b)).Gh().toLowerCase()||mq(b));var f=e||null!=d&&d.G,d=Ps(a)?null:Ss(a);if((Q.g()||Ln()?0:wn()&&(!this.nk()||null==this.Sa||!this.Sa.Dp())||Ys(a)||this.Va.Is)||!Q.g()&&f)this.Va.Gs=!0,this.Va.Is=!0;e=uq(a,this.Da);if(Q.g()||this.Va.Is){var k=D(g.E(os(a)))?!1:this.Va.Gs,l=Zm().g.g("enable_instream_ad_badge"),
m=Ps(a),n=this.Va,q=Q.g()||!1,r=Q.g(),d=wt(f,a.D,d,m,n,e);d.B=k;d.ka=n.jQ;d.na=q;d.ga=!0;d.fa=r;d.A=l;d.J=n.Fs;d.ra=n.Hs;d.sa=n.kQ;d.ca=0;n.Fs&&(d.Tg=""+Aa("Visit Advertiser"))}else hs(a)?(k=a.D,l=Ps(a),!D(g.E(k))&&null!==d&&0<Cp(d)&&(f=!0),d=wt(f,k,d,l,this.Va,e),d.ba=f?Hea:Gea):(k=Ps(a),d=wt(f,a.D,d,k,this.Va,e),d.G=!1,d.F=!1,d.o=!1);an(Zm(),420706069)&&(Q.F=!0);!Q.g()&&Q.F&&(d.N=!0);e=d;f=this.Sa.ek();null===f?f=window.document.body:g.ve(f);k=this.la();l=1E3*k.getDuration();n=k.getExtension("why_this_ad");
q=k.getExtension("mute");e.L=new pt(n,q);qt(e.L)&&(q=null!=n?n.B:void 0,n="<span class='videoAdUiAdSettingsShortTooltip'>",q?n+=R(q):(q=Aa("Click for Ad Settings"),n+=q),n=Zo(n+"</span>"),e.ge=n);this.Ha=new xu(e,f,l,k.Pe());f=k.D;null!=f&&Mx(this,f,e.sa);e=this.Ha;e.S&&(e=e.S,f=0==this.D,e.g!=f&&(e.g=f,Ct(e)));this.ba&&(f=a.getExtension("AdSense"),null!=f?(e=this.Ha,f=g.E(f.A),null!=e.J&&(g.O(e.J,!0),f=new g.$l(f),f=Ia((f.o+f.A).replace(/^www\./i,""),35),D(g.E(f))?Bu(e):g.He(e.J,f)),null!=e.ca&&
g.O(e.ca,!0)):Bu(this.Ha));e=[];d.F&&e.push("adAttribution");d.o&&e.push("countdown")}else d&&Mx(this,d,this.Va.fp);if(d=this.Da)this.os(a),d.On(Iga(this,a)),d.load(b,c)};
g.h.Au=function(a){var b=this.xb()?this.la().D:null;if(b){var c=this.bk();Kx(this)&&a&&(c=Sga(this,c,a));a=this.ak();c||a||!Kx(this)||(c=" ");(c||a)&&this.Da.zq(b,c||null,a||null)}};
g.h.VO=function(a,b,c){null!==a.J&&co($n.getInstance(),34,{evt:"filled"},!0);this.aa||(this.aa=!0,this.ia("contentPauseRequested"));this.AI(a,b,c);this.G=!0;this.setVolume(this.D);this.Ha&&(D(g.E(Px(a)))?(b=this.Ha,null!=b.C&&(b.A.Ba(b.C,"click",b.jo),g.dh(b.C,"cursor","default"))):(b=this.Ha,null!=b.C&&(b.A.T(b.C,"click",b.jo),null!=b.F&&!g.zh(b.F)&&g.dh(b.C,"cursor","pointer"))),b=a.g.Za,g.db(b)||Au(this.Ha,b),this.Ha.show());this.Ga("show_ad");this.Sa.kg();try{this.pd(a)}catch(d){Vx(this,M3,d);
return}Sx(this);ix("pi");if(b=null!=this.Ha)b=this.Ha,b=wn()?!1:null!=b.g.M?b.g.H&&b.g.M==qs(a):b.g.H;b?Hga(this):this.N.show(this.Sa.ek(),(0,g.A)(this.Da.play,this.Da))};
g.h.os=function(a){this.B.Fb(a,this.Da,this.Sa.Op(),this.Ha);this.Xa().T(this.B,"engagedview urlNavigationRequested videoAuthorIconClicked videoAuthorClicked videoClicked videoIconClicked videoLearnMoreClicked videoMuteClicked videoShareClicked videoShareShown videoTitleClicked videoUnmuteClicked start".split(" "),this.xz);this.Xa().T(this.Da,"loaded",this.yO);this.Xa().T(this.Da,"cardsStateChange",this.LH);this.Xa().T(this.Da,"timeUpdate",this.Az);this.Xa().T(this.Da,"volumeChange",this.OH);this.Xa().T(this.Da,
"shareClicked",this.jA);this.rg(a);var b=uq(a,this.Da);this.Pb.g=b;b=a.g;null!=b&&b instanceof Kp&&(this.Of(b,J3),this.mj(b),b=this.Xa(),tm(b,this.B,"error",this.MH,!1,this),tm(b,this.B,"mediaLoadTimeout",this.NH,!1,this));Qu(this,a);a.isSkippable()&&(this.B.J=30)};
g.h.gj=function(){this.ia("loaded");this.dispatchEvent(new Kw(this.la()))};
g.h.skip=function(){this.xb()&&this.la().isSkippable()&&(null!=this.Ha?this.Ha.skip():(this.Ga("skip"),by(this)))};
g.h.kA=function(){Nu(this,"skipshown")};
g.h.start=function(){Ex.R.start.call(this);this.J=[];try{var a=this.la();this.A=Rx(this,a);Sx(this);ix("am");Fx(this,(0,g.A)(Ex.prototype.VO,this,a,this.A.o,this.A.g))}catch(b){Ux(this,b),this.Jk(),this.xb()?(tn(this,Wx,b),this.start()):(this.G?tn(this,Wx,b):(null!=this.zd&&this.zd.pd(IA()),un(this,Wx,b)),this.stop())}};
g.h.getVolume=function(){Pu(this);return this.Da.Ui()?0:this.Da.getVolume()};
g.h.setVolume=function(a){Pu(this);this.G?this.Da.setVolume(a):this.D=a};
g.h.pause=function(){Pu(this);this.g?this.g.pause():this.Da.pause();if(null!=this.o){var a=this.o;a.o.enabled&&a.o.stop();a.g=[]}};
g.h.resume=function(){Pu(this);this.g?this.g.play():this.Da.play();null!=this.o&&kx(this.o)};
g.h.getCurrentTime=function(){Pu(this);var a=this.g?this.g.A:0;return this.Da.getCurrentTime()+a};
g.h.getDuration=function(){Pu(this);var a=this.xb()?Us(this.la()):0;return this.Da.getDuration()+a};
g.h.Hc=function(){Pu(this);var a=this.getDuration(),b=this.getCurrentTime();return 0<=a&&0<=b?Math.max(0,a-b):-1};
g.h.ue=function(){return this.Da.ue()};
g.h.MH=function(){Vx(this,Wx,rn(Wx,this.Da.getError()))};
g.h.NH=function(){Mga(this);Vx(this,N3,rn(N3,null,(this.Va.Xe/1E3).toString()))};
g.h.Rr=function(a,b){Ex.R.Rr.call(this,a,b);Yx(this,a)};
g.h.xz=function(a){switch(a.type){case "start":ix("ff");this.ia("start");this.Xi();null!=this.o&&(g.Te(this.o),this.o=null);an(Zm(),420706029)&&(Q.ca=5E3);!an(Zm(),420706025)&&!an(Zm(),420706029)||Q.g()||(this.o=new jx(this),kx(this.o));this.ca=!0;this.Ha&&(Q.F&&!Q.g()&&(this.Ha.Zb=!0),Eu(this.Ha));break;case "impression":this.ia("impression");break;case "viewable_impression":this.ia("viewable_impression");break;case "why_this_ad_url":this.da=this.Da.Nh();Tx(this,"why_this_ad_url");this.pause();break;
case "pause":this.ia("pause");break;case "why_this_ad_got_it":Tx(this,"why_this_ad_got_it");this.da||this.resume();break;case "resume":this.ia("resume");break;case "firstquartile":this.ia("firstquartile");break;case "midpoint":this.ia("midpoint");break;case "thirdquartile":this.ia("thirdquartile");break;case "complete":this.Ha&&yu(this.Ha,"complete",this.getCurrentTime(),Ls(this.la()));Gga(this)||(this.ia("complete"),this.Ga("instreamAdComplete"),Hx(this));break;case "click":this.Ha&&this.Ha.g.B?
this.Da.Nh()?this.resume():this.pause():Xx(this);break;case "engagedview":Zx(this);this.ia("engagedview");break;case "urlNavigationRequested":this.dispatchEvent(a);break;case "videoAuthorIconClicked":dy(this);break;case "videoAuthorClicked":dy(this);break;case "videoClicked":this.ia("videoClicked");break;case "videoIconClicked":this.dispatchEvent(a);break;case "videoLearnMoreClicked":this.g&&!this.F&&(this.F=!0,Nu(this,"video_card_endcap_action"));!Q.g()&&Zx(this);Xx(this);this.Da.pause();break;case "videoShareClicked":Oga(this);
break;case "videoShareShown":Pga(this);break;case "videoTitleClicked":Qga(this);break;case "videoMuteClicked":this.S=this.D;this.setVolume(0);break;case "videoUnmuteClicked":this.setVolume(this.S);break;case "skipshown":this.ia("skippableStateChanged");break;case "skip":this.Ha&&yu(this.Ha,"skip",this.getCurrentTime(),Ls(this.la()));this.g?this.Hv():by(this);break;case "MUTE_AD":this.ia("MUTE_AD"),Fx(this,function(){Hx(this)})}};
g.h.af=function(){Ex.R.af.call(this);this.Ha&&yu(this.Ha,"abandon",this.getCurrentTime(),Ls(this.la()));this.C&&(g.Te(this.C),this.C=null)};
g.h.jA=function(){var a=$x(this)||ay(this);null!=a&&kn(a,"sharebuttonclicked")};
g.h.rg=function(a){Ex.R.rg.call(this,a);Yx(this,"impression")};
g.h.Of=function(a,b){Ex.R.Of.call(this,a,b);(0,g.H)(b,function(a){Yx(this,a)},this)};
g.h.mj=function(a){Ex.R.mj.call(this,a);a instanceof Kp&&(a=Lp(a),(0,g.H)(a.Bb(),function(a){Yx(this,a)},this))};
g.h.Ki=function(){if(!this.xb())return null;try{var a=this.la();if(null==a)return null;var b=Rx(this,a);return null!=b?b.o:null}catch(c){return null}};
g.h.Mg=function(){if(!this.xb())return null;var a=this.la();if(!Mu(a))throw rn(Qx);a=a.g.Lg();return g.db(a)?null:a[0].o};
g.h.yO=function(){this.ia("adCanPlay")};
g.h.LH=function(){var a=this.Ha;null!=a.o&&g.T(a.o,"ytp-iv-drawer-open",this.Da.Ow())};
g.h.Az=function(){var a=this.getDuration(),b;Pu(this);b=this.g?this.getDuration():this.Da.Vv();var c=this.getCurrentTime(),d=0,e=0;this.xb()&&(e=this.la(),d=e.C.g,e=e.C.Rf);if(null!=this.Ha&&0<=a&&0<=c){if(!this.M&&3==this.la().Wa){var f=this.Da.getDuration(),k=Ls(this.la()),f=Math.abs(f-k);2<f&&(f=rn($oa,null,Number(f).toFixed(2)),f=tq(f,this.la(),this.Da),k=js(this.la()),nn(k,f));this.M=!0}this.Ha.update(c,b,a,d,e)}};
g.h.OH=function(){var a=this.Da.getVolume();if(a!=this.D&&(this.D=a,this.ia("volumeChange"),0==a&&this.ia("mute"),this.Ha)){var b=this.Ha;b.S&&(b=b.S,a=0==a,b.g!=a&&(b.g=a,Ct(b)))}};
g.h.rP=function(a){var b=this.xb()&&vfa(this.la());return!a||D(g.E(a.channelId))||!a.isListed&&!b?$f():new g.Vf(function(b,d){rga(a.channelId,function(a){a=new Lo(a);b(a)},function(){d()},this)},this)};
g.h.IF=function(a){var b=Zm().g,c=this.la();if((g.db(ls(c))||!ls(c)[0].B)&&!b.g("website_actions_holdback")&&Q.g()&&Ys(c)){var d=pfa(c,a);if(d){ps(c,[d]);try{this.pd(c)}catch(n){Vx(this,M3,n)}}}if(d=this.Ha)var d=this.la(),e=d.M,d=Q.g()&&g.db(ls(d))&&null!=d.ga&&null!=e&&e.isListed;Q.A&&(d=d&&!c.ba);if(d){this.Xa().T(window,"message",this.uG);var d=this.la(),e=d.ga.channelId,f=yq(d),k=this.Va.contentId,l=this.Va.ri,l=new g.$l((null!=l?l:"//www.youtube.com/")+"ad_companion"),m=l.g;m.set("adformat",
f);m.set("p",e);m.set("render","video_wall_companion");k&&m.set("content",k);e=new Rp("1",new g.Yd(300,250),"IFrame",null,l.toString());e.H=d;e.D=!0;d=new $q(e,[],null,!0);Q.A?Q.g()&&Q.A&&"IFrame"===d.g.M&&(e=d.Sm(),c.ba={iframeCompanionRenderer:{width:e.width,height:e.height,url:d.g.A}},c.sa=!0):Js(c,d);this.pd(c)}Ms(c)||b.g("website_actions_holdback")||b.g("website_actions_endcap_holdback")||!Ys(c)||nfa(c,a);return a};
g.h.uG=function(a){var b=a.g;if("companion-setup-complete"==b.data){a=this.la();var c=(0,window.encodeURIComponent)(g.E(os(a)))+","+(0,window.encodeURIComponent)(($x(this)||ay(this)).toString());b.source.postMessage(c,"*");b=b.source.frameElement;b.parentNode.style.cssText="";b.width=370;b.height=null!=os(a)?210:185}else"pause-video"==b.data&&this.pause()};
g.h.LP=function(a){if(null!=this.Ha&&a.isListed){var b=this.Ha,c=a.title;b.g.S=!D(g.E(c));b.g.title=c;null!=b.G&&g.He(b.G,b.g.title);wu(b);b=this.Ha;null!=b.qb?g.He(b.qb,""+Aa("Share")):null!=b.M&&g.He(b.M,""+Aa("Share"));b=this.Ha;c=a.Nf;null!=c&&(b.g.Nf=c);wu(b)}this.xb()&&(this.la().M=a,this.ia("youTubeVideoMetadata"));return a};
g.h.KP=function(a){if(null!=this.Ha&&cy(this)){var b=this.Ha,c=a.authorName;b.g.Ea=!D(g.E(c));b.g.authorName=c;null!=b.D&&(c=Aa("by {$userDisplayName}",{userDisplayName:""+b.g.authorName}),g.He(b.D,(new Po(""+c,void 0)).dd()));wu(b);b=this.Ha;c=a.channelIconThumbnailUrl;b.g.va=!D(g.E(c));if(null!=b.N){var d=g.re("img");d.setAttribute("src",c);g.S(d,"videoAdUiAuthorIconImage");b.N.appendChild(d);null!=b.G&&g.S(b.G,"videoAdUiTitleWithAuthorIcon");null!=b.D&&g.S(b.D,"videoAdUiAuthorNameWithAuthorIcon")}wu(b)}this.xb()&&
(this.la().ga=a,this.ia("youTubeChannelMetadata"));return a};
g.h.zb=function(a,b,c){Ex.R.zb.call(this,a,b,c);null!=this.Ha&&this.Ha.zb()};g.C(ey,g.zf);ey.prototype.g=!1;ey.prototype.connect=function(){for(this.g=!0;!g.db(this.o);){var a=this.o.shift();this.sendMessage(a.name,a.type,a.data)}};
ey.prototype.isConnected=function(){return this.g};
ey.prototype.send=function(a,b,c){this.g?this.sendMessage(a,b,c):this.o.push({name:a,type:b,data:c})};
g.C(fy,g.Ve);fy.prototype.getOrigin=function(){return this.A};
fy.prototype.toString=function(){return""};g.C(gy,ey);gy.prototype.sendMessage=function(a,b,c){null!=this.bf&&null!=this.bf.postMessage&&this.bf.postMessage(Tga(this,a,b,c),"*");null!=this.bf&&null==this.bf.postMessage&&co($n.getInstance(),11)};
gy.prototype.P=function(){this.B.dispose();gy.R.P.call(this)};
gy.prototype.receive=function(a){a=a.g;var b=hy(a.data);if(iy(this,b)){if(null==this.bf)this.bf=a.source,this.isConnected()||this.connect();else if(this.bf!=a.source)return;iy(this,b)&&this.dispatchEvent(new fy(b.name,b.type,b.data||{},b.sid,a.origin))}};g.C(jy,g.Ve);g.C(ky,Ju);g.h=ky.prototype;
g.h.init=function(a){ky.R.init.call(this,a);this.S=g.og(this.PH,this.Va.Xe,this);this.Xa().T(window,"message",this.EO);this.Xa().T(this.H,"tick",this.ZO);a=Q.o?Ao():jo();this.Xa().T(a,K3,this.hj);if(oy())this.dispatchEvent(new jy(0,this.D));else{a=Vs(this.la());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.Va.contentId&&(a=Lg(a,"v",this.Va.contentId));Q.g()&&(b=Jg(a,"st"),b=Wga(this,
b?b+" yt":"yt"),a=Lg(a,"st",b))}a=g.E(a)}else{var b=new g.$l(a),c=new g.$l("http://tpc.googlesyndication.com/pagead/js/loader13.html");"https"==b.B&&am(c,"https");this.aa=b.o;a=em(c,a||"",void 0).toString()}this.A=g.pe("IFRAME",{src:fn(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.Xa().T(this.A,"load",this.KF);this.Sa.wf().appendChild(this.A)}};
g.h.Mc=function(a,b,c){ky.R.Mc.call(this,a,b,c);this.o=this.la().g instanceof Kp;this.g=a.Pm(!1);oy()||(this.Xa().T(this.g,"click end error loaded mediaLoadTimeout pause play timeUpdate volumeChange".split(" "),this.AN),this.Xa().T(this.g,dA,this.pL))};
g.h.stop=function(){this.H.stop();this.Sa.Bf();ky.R.stop.call(this)};
g.h.Sb=function(){return 1==this.o};
g.h.start=function(){ky.R.start.call(this);if(!Q.g()){var a={};a.pid=gx.getInstance().o;a.dn=this.aa;a["if"]=oy();co($n.getInstance(),29,a,!0)}a=this.la();this.Pb.B=a.H;var b=uq(a,this.g);this.Pb.g=b;if(b=a.g)this.rg(a),this.Of(b,J3),this.mj(b),Qu(this,a);this.g.Fb();this.Ga("show_ad");this.Sa.jd();Su(this);null!=this.A&&(this.A.style.display="block");this.g.setVolume(this.B);this.ca=!0;this.o&&this.ia("contentPauseRequested");ry(this)};
g.h.zb=function(a,b,c){ky.R.zb.call(this,a,b,c);ny(this,"resizeAd",{width:a,height:b,viewMode:c})};
g.h.pause=function(){this.C||ny(this,"pauseAd")};
g.h.resume=function(){this.C&&(ny(this,"resumeAd"),ty(this,"play"))};
g.h.setVolume=function(a){this.B=a;ky.R.setVolume.call(this,a);ny(this,"setAdVolume",{value:a})};
g.h.P=function(){oy()&&this.dispatchEvent(new jy(0,this.D));g.ye(this.A);this.o&&(!this.M||this.g.Nh()||this.g.Rg()||this.g.pause(),this.ia("contentResumeRequested"));this.ia("allAdsCompleted");this.Oc=!1;this.G=[];g.pg(this.S);this.H.dispose();ky.R.P.call(this)};
g.h.gj=function(){};
g.h.KF=function(){if(!oy()){var a=this.g.Wp();g.db(a)&&(a=this.Va.mimeTypes);ny(this,"wrapperCall",{messageType:"supportedMimeTypes",supportedMimeTypes:a})}my(this)};
var Vga={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_skip_in_10s:"skip-10",use_skip_in_15s:"skip-15",use_skip_in_20s:"skip-20",use_survey_length_15s:"time-15",use_survey_length_45s:"time-45",use_skip_in_0s:"sec-0",use_survey_length_unlimited:"time-ul",hide_advertisement_text:"nat",use_skip_survey_text:"skip_survey"};g.h=ky.prototype;
g.h.EO=function(a){a=a.g;if(oy()){if(a=hy(a.data),null!=a){try{var b=g.Hc(a.data)}catch(c){return}null!=b&&b.session==this.D&&sy(this,b)}}else if(a.source==this.A.contentWindow){try{b=g.Hc(a.data)}catch(c){return}b.session==this.D&&sy(this,b)}};
g.h.PH=function(){py(this,N3,null,(this.Va.Xe/1E3).toString());this.stop()};
g.h.AN=function(a){switch(a.type){case "timeUpdate":a=this.g.getDuration();var b=this.g.getCurrentTime();ly(this,"wrapperCall",{messageType:"timeupdate",duration:a,currentTime:b});break;case "end":ty(this,"ended");break;case "loaded":ty(this,"loadstart");break;case "mediaLoadTimeout":ty(this,"stalled");break;case "play":ty(this,"playing");break;default:ty(this,a.type)}};
g.h.pL=function(a){a=a.type;"loadedmetadata"==a?(a=this.g.getDuration(),ly(this,"wrapperCall",{messageType:"loadedmetadata",duration:a})):ty(this,a)};
g.h.getCurrentTime=function(){return-1==this.getDuration()||-1==this.Hc()?-1:this.getDuration()-this.Hc()};
g.h.getDuration=function(){return this.F};
g.h.Hc=function(){return this.J};
g.h.vb=function(){return!this.C};
g.h.ZO=function(){ny(this,"getAdRemainingTime")};g.C(uy,Ju);g.h=uy.prototype;g.h.bk=function(){return this.Dc()?this.g.bk():""};
g.h.ak=function(){return this.Dc()?this.g.ak():""};
g.h.Me=function(){return this.Dc()?this.g.Me():null};
g.h.la=function(){if(this.g)return this.g.Me();throw rn(Ou,null,"Proxied ads manager not available.\n"+Error().stack);};
g.h.xb=function(){return null!=this.g&&null!=this.g.Me()};
g.h.jk=function(){return!1};
g.h.Oe=function(){return null};
g.h.Mn=function(){this.xb()&&(this.ads=[this.la()],this.Pc=this.la())};
g.h.destroy=function(){this.g&&(this.g.destroy(),this.g=null);uy.R.destroy.call(this)};
g.h.Kb=function(){return this.g?this.g.Kb():null};
g.h.Xi=function(){this.F=!0;this.g&&this.g.Xi()};
g.h.init=function(a){this.yc(a);this.Dc()&&this.g.init(a)};
g.h.Mc=function(a,b,c){a&&a instanceof Km&&(a=a.g);uy.R.Mc.call(this,a,b,c);wy(this,a,b,c)};
g.h.P=function(){this.ia("allAdsCompleted");yy(this);uy.R.P.call(this)};
g.h.getCurrentTime=function(){return this.Dc()?this.g.getCurrentTime():-1};
g.h.getDuration=function(){return this.Dc()?this.g.getDuration():-1};
g.h.Hc=function(){return this.Dc()?this.g.Hc():-1};
g.h.zb=function(a,b,c){this.Qd=a;this.Pd=b;this.yc(c);this.Dc()&&this.g.zb(a,b,c)};
g.h.pause=function(){this.Dc()&&this.g.pause()};
g.h.resume=function(){this.Dc()&&this.g.resume()};
g.h.skip=function(){this.Dc()&&this.g.skip()};
g.h.muteAd=function(){this.Dc()&&this.g.muteAd()};
g.h.whyThisAdClicked=function(){this.Dc()&&this.g.whyThisAdClicked()};
g.h.whyThisAdClosed=function(){this.Dc()&&this.g.whyThisAdClosed()};
g.h.start=function(){if(this.Dc()){var a=this.g,b=this.Sa;a&&b&&(null!=a&&a instanceof Ex?b.kg():null!=a&&a instanceof ky?(b.jd(),b.kg()):null!=a&&(a instanceof Fw||a instanceof zw)&&b.jd());null!=this.volume&&!(0,window.isNaN)(this.volume)&&this.g.setVolume(this.volume);this.g.start()}};
g.h.stop=function(){this.Kb()&&this.Kb().Sb()&&this.ia("contentResumeRequested");this.destroy()};
g.h.getVolume=function(){return this.Dc()?this.g.getVolume():0};
g.h.setVolume=function(a){a=(0,window.isNaN)(a)||0>a?0:a;uy.R.setVolume.call(this,a);this.Dc()&&this.g.setVolume(a)};
g.h.yc=function(a){uy.R.yc.call(this,a);this.g&&this.g.yc(a)};
g.h.ue=function(){return this.g?this.g.ue():null};
g.h.af=function(){this.g&&this.g.af()};
g.h.pk=function(a){return this.g?this.g.pk(a):!1};
g.h.nk=function(){return this.g?this.g.nk():!1};
g.h.Ki=function(){return this.g?this.g.Ki():null};
g.h.Iy=function(a){this.dispatchEvent(a)};
g.h.Py=function(a){this.dispatchEvent(a)};
g.h.Dr=function(a){this.dispatchEvent(a)};
g.h.sg=function(a){uy.R.sg.call(this,a);this.g&&this.g.sg(a)};
g.h.Xh=function(){this.ia("userClose")};
g.h.Wh=function(){this.ia("autoClose")};
g.h.Kf=function(a){this.g&&this.g instanceof zw&&this.g.Kf(a)};
g.h.Dc=function(){return null!=this.g&&this.g.Dc()};g.C(Ay,uy);g.h=Ay.prototype;g.h.Kb=function(){return this.A};
g.h.dispatchEvent=function(a){if(a instanceof Mm){if("loaded"==a.type&&this.C)return a.stopPropagation(),!1;"loaded"==a.type&&(this.C=!0)}return Ay.R.dispatchEvent.call(this,a)};
g.h.jk=function(){return null!=Bs(this.A)&&Bs(this.A).zf()};
g.h.Iy=function(a){if(this.B)this.dispatchEvent(a);else{var b=a.getError()||rn(Wx);a=a.target.Kb();As(a);Cy(this,Bs(a),Error(b.rd()))}};
g.h.Dr=function(a){this.B&&(Ay.R.Dr.call(this,a),this.destroy())};
g.h.Py=function(a){this.D||(this.D=!0,this.dispatchEvent(a))};
g.h.BK=function(){this.o&&this.o.dispose();this.B=!0};g.C(Dy,Ju);g.h=Dy.prototype;g.h.bk=function(){return this.g?this.g.bk():""};
g.h.ak=function(){return this.g?this.g.ak():""};
g.h.Me=function(){return this.g?this.g.Me():null};
g.h.la=function(){if(this.g)return this.g.Me();throw rn(Ou,null,"Current ads manager not available.\n"+Error().stack);};
g.h.xb=function(){return null!=this.g&&null!=this.g.Me()};
g.h.jk=function(){return this.A+1<this.o.length};
g.h.Oe=function(){return this.jk()?this.o[this.A+1].Me():null};
g.h.Mn=function(){this.xb()&&(this.ads=[this.la()],this.Pc=this.la())};
g.h.Xa=function(){};
g.h.destroy=function(){this.g&&this.g.destroy();Dy.R.destroy.call(this)};
g.h.Kb=function(){return this.g?this.g.Kb():null};
g.h.Xi=function(){this.g&&this.g.Xi()};
g.h.init=function(a){this.yc(a);this.g&&this.g.init(a)};
g.h.Mc=function(a,b,c){a&&a instanceof Km&&(a=a.g);Dy.R.Mc.call(this,a,b,c);Ey(this,a,b,c)};
g.h.P=function(){(0,g.H)(this.o,function(a){a!==this.g&&a.destroy()},this);
Hy(this);this.D&&(this.D.dispose(),this.D=null);this.B&&(this.B.destroy(),this.B=null);this.ia("allAdsCompleted");Dy.R.P.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.Hc=function(){return this.g?this.g.Hc():-1};
g.h.zb=function(a,b,c){this.Qd=a;this.Pd=b;this.yc(c);this.g&&this.g.zb(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.Sa;a&&b&&(null!=a&&a instanceof Ex?b.kg():null!=a&&a instanceof ky?(b.jd(),b.kg()):null!=a&&(a instanceof Fw||a instanceof zw)&&b.jd());null!=this.volume&&!(0,window.isNaN)(this.volume)&&this.g.setVolume(this.volume);this.g.start()}};
g.h.De=function(a){Dy.R.De.call(this,a);null!=this.g&&this.g.De(a);null!=this.B&&this.B.De(a);(0,g.H)(this.o,function(b){b.De(a)})};
g.h.stop=function(){this.destroy();this.ia("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;Dy.R.setVolume.call(this,a);this.g&&this.g.setVolume(a)};
g.h.yc=function(a){Dy.R.yc.call(this,a);this.g&&this.g.yc(a)};
g.h.ue=function(){return this.g?this.g.ue():null};
g.h.af=function(){this.g&&this.g.af()};
g.h.pk=function(a){return this.g?this.g.pk(a):!1};
g.h.nk=function(){return this.g?this.g.nk():!1};
g.h.Ki=function(){return this.g?this.g.Ki():null};
g.h.AK=function(a){var b=a.getError()||rn(Wx);Gy(this,a.target,b)};
g.h.Zg=function(){this.F||(this.ia("contentPauseRequested"),this.F=!0)};
g.h.Jf=function(a){Fy(this,a.target)};
g.h.JH=function(){};
g.h.sg=function(a){(0,g.H)(this.o,function(b){b.sg(a)},this)};
g.h.Xh=function(){this.ia("userClose")};
g.h.Wh=function(){this.ia("autoClose")};
g.h.Kf=function(a){this.g&&this.g instanceof zw&&this.g.Kf(a)};g.C(Iy,g.M);g.h=Iy.prototype;g.h.kk=!1;g.h.Nw=1E3;g.h.Ax=30;g.h.Bx=45E3;g.h.Pz=15E3;g.h.TA=!1;g.h.yp=function(){var a=Jy(this);this.g.appendChild(this.J);Ky(this.J);this.play();return a};
g.h.pa=function(){null==this.M&&(this.M=this.yp());return this.M};
g.h.play=function(){null==this.o&&(this.o=g.og(function(){this.kk||(this.wq(),this.TA=!0);this.o=null},this.TA?this.Pz:this.Bx,this))};
g.h.stop=function(){null!=this.o&&(g.pg(this.o),this.o=null)};
g.h.show=function(){g.yh(this.pa(),1);null!=this.A&&(g.pg(this.A),this.A=null)};
g.h.wq=function(){g.yh(this.pa(),this.Ax/100);null==this.A&&(this.A=g.og(function(){this.aa();this.A=null},400,this))};
g.h.uH=function(){this.show();this.kk=!0;this.D=g.og(function(){this.kk&&this.stop();this.D=null},this.Nw,this)};
g.h.cQ=function(){null!=this.D&&(g.pg(this.D),this.D=null);this.kk&&this.play();this.kk=!1};
g.h.P=function(){Iy.R.P.call(this);this.stop();g.Te(this.yf)};g.C(Ly,Ju);g.h=Ly.prototype;g.h.start=function(){Ly.R.start.call(this);this.Sa.jd();this.containerElement=this.Sa.wf();if(null!=this.containerElement){this.Ga("show_ad");g.ve(this.containerElement);var a=this.Ou(),b=this.xb()?this.la().g.Ac():a,c;Q.o?c=Ao():c=jo();c.sj(b);this.containerElement.appendChild(a);this.Pl();(0,g.H)(this.F,function(a){a()});
fb(this.F);this.B=!0}};
g.h.init=function(a){Ly.R.init.call(this,a);var b;Q.o?b=Ao():b=jo();this.Xa().T(b,K3,this.hj)};
g.h.expand=function(){null!=this.g&&this.g.show();this.Ga("expand")};
g.h.collapse=function(){null!=this.g&&this.g.wq();this.Ga("collapse")};
g.h.zb=function(a,b,c){Ly.R.zb.call(this,a,b,c);this.Pl();this.B&&this.Ga("overlay_resize")};
g.h.P=function(){g.Te(this.g);this.Sa=this.g=null;this.B=!1;Q.o?Ao().sj(null):jo().sj(null);null!=this.containerElement&&(g.ve(this.containerElement),this.containerElement=null);Ly.R.P.call(this)};
g.h.Ou=function(){var a=this.la().g;if(null==a)throw a=rn(XB),Ny(this,a),a;var b=this.la();Up(a,this.Xa());Sp(a,this.KH);a.D||Tp(a,g.ya(this.kq,b,a));try{this.pd(b)}catch(d){throw Ny(this,d),d;}this.rg(b);var c=uq(b,this.Da);this.Pb.g=c;b.g&&(this.rg(b),c=b.g)&&(this.Of(c,Soa),Qu(this,b));this.Of(a,["start"]);My(this,a);return this.El([a.Ac()])};
g.h.Mw=function(a,b){return new Iy(a[0],b)};
g.h.El=function(a){null!=this.g&&this.g.stop();this.g=this.Mw(a,(0,g.A)(this.km,this));a=this.g.pa();g.T(a,"autoalign",this.Va.Ju);Q.g()&&g.T(a,"viewmode-fullscreen","fullscreen"==this.Sc);a.appendChild(this.J);this.Xa().T(a,"click",We);(this.xb()&&Ks(this.la())||this.Va.OA)&&this.ip(this.g.g);return a};
g.h.ip=function(a){var b=this.Xa();this.D=gq(aha);b.T(this.D,"click",this.OG);var c=Aa("Close"),c=gq($ga,{close:""+c});b.T(c,"click",this.Lm);g.S(a,"extra-padding");null!=this.L&&728<=this.L.Db()&&g.S(a,"wide-overlay-ad");a.appendChild(c)};
g.h.Pl=function(a,b){if(null!=this.g){var c=a?a:0,d=b?b:0,e=g.wh(this.Sa.wf()),f;f=Q.g()?g.wh(g.De(this.g.g)):g.wh(this.g.g);if(f.width+c>e.width||f.height+d>e.height)throw c=rn(Xoa,null),Ny(this,c),d={},this.ads[0].A&&(d.pid=gx.getInstance().o),d.cz=f.width+"x"+f.height,d.sz=e.width+"x"+e.height,d.ct=this.la().g.ed(),d.vm=this.Sc,co($n.getInstance(),38,d,!0),this.stop(),c;}};
g.h.KH=function(a){Nu(this,"click");We(a)};
g.h.Lm=function(){this.Ga("close");this.km(!0)};
g.h.kq=function(a,b){Tp(b,g.y);this.B?this.Hk(a,b):this.F.push((0,g.A)(this.Hk,this,a,b))};
g.h.Hk=function(a){a=uq(a,this.Da);this.Pb.g=a;Nu(this,"impression");this.Ga("creativeview");Nu(this,"start")};
g.h.km=function(a){null!=this.g&&(this.g.stop(),null!=this.D&&g.ze(this.D,this.g.g),a?this.ia("userClose"):this.ia("autoClose"))};
g.h.OG=function(a){We(a);this.g.show();this.g.play();g.ze(this.g.g,this.D);g.og(function(){g.O(this.J,!1)},500,this);
g.O(this.J,!0);this.ia("userRecall")};
g.h.hj=function(a){this.xb()&&this.la().H==a.g.queryId&&Ly.R.hj.call(this,a)};g.C(Oy,g.zf);g.h=Oy.prototype;g.h.init=function(a,b,c){Py(this,a,b,c);null==this.J&&(this.J=new g.sm(this),tm(this.J,this.jb,"adsLoaderSdkAdError",this.xK,!1,this));Wy(this)};
g.h.start=function(){this.N=!0;Sy(this);0<this.A.length?cz(this):("always"==Q.B&&(null!=this.ca&&this.ca.pd(IA()),Q.g()&&Zm().g.g("request_mpu_on_unfilled_ad_break")&&5!=this.Pe()&&this.dispatchEvent(new Mm("companionBackfill",null))),sn(qn,this,Fq,void 0,void 0),0==this.Kc&&this.dispatchEvent("contentResumeRequested"),dz(this))};
g.h.destroy=function(){null!=this.J&&(this.J.dispose(),this.J=null);Yy(this);fz(this);Q.B=this.ba;this.N=!1};
g.h.Kb=function(){return this.o<this.A.length?this.A[this.o].g[0]:null};
g.h.vb=function(){return this.N};
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.af=function(){null!=this.g&&this.g.af()};
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.Hc=function(){return null!=this.g?this.g.Hc():-1};
g.h.setVolume=function(a){null!=a&&(this.S=a,null!=this.g&&this.g.setVolume(this.S))};
g.h.De=function(a){this.aa=a;null!=this.g&&this.g.De(a);null!=this.C&&this.C.De(a)};
g.h.Gy=function(a){Q.B=this.ba;var b=a.F;g.db(b)?this.H++:(a=a.D,(0,g.H)(b,g.ya(function(a,b){null!=a.B&&(b.gb=a.B);a.g&&(b.Pa=!1)},a)),this.M=eha(this,b),g.gb(this.A,new fda(b,a.g,a.o)),this.H++,this.J.Ba(this.jb,"adsLoaderSdkAdLoaded",this.Gy,!1,this));
Wy(this)};
g.h.xK=function(a){a=a.g;Q.B=this.ba;a.rd();sn(qn,this,Fq,void 0,void 0);this.H++;if(!Qy(this)||2<=this.A.length-this.o)a=qn(Fq),this.dispatchEvent(new Lm(a));Wy(this)};
g.h.SM=function(){Yy(this);fz(this);dz(this)};
g.h.yK=function(a){a=a.getError().Nb();try{var b={};b.ec=a;co($n.getInstance(),44,b)}catch(c){}this.o++;cz(this)};
g.h.Xh=function(){this.dispatchEvent("userClose")};
g.h.Wh=function(){this.dispatchEvent("autoClose")};
g.h.Jf=function(){this.o++;cz(this)};
g.h.Zg=function(){this.fa||(this.dispatchEvent("contentPauseRequested"),this.fa=!0)};
g.h.Pe=function(){return g.db(this.G)?null:this.G[0].B};
g.h.Kf=function(a){this.g instanceof zw?this.g.Kf(a):az(this.g)&&this.g.Kf(a)};
g.h.Hy=function(a){switch(a.type){case "impression":try{co($n.getInstance(),44,{imp:!0})}catch(c){}break;case "start":var b;if(b=this.Mf()&&Ty(this,this.o+1)&&1<bz(this))b=a.Gb(),b=null===b||null===this.g||g.db(this.g.ads)?!1:this.g.ads[this.g.ads.length-1]===b;b&&Vy(this,this.o+1)}"vpaidEvent"!=a.type&&gha(this,a.type,a.Gb());this.dispatchEvent(a)};
g.h.Mf=function(){var a;null===this.B?a=!1:(a=this.B,a=!(null===a||a.Qm()||Q.g()||zn()||Ln()||g.En&&!Gn(4))&&!1);return a};g.C(gz,hha);g.C(jz,bv);jz.prototype.A=function(){return new cv(this.g,null,jha(this))};g.C(nz,g.Ve);nz.prototype.setDescription=function(){};g.C(oz,g.zf);g.C(pz,g.zf);g.h=pz.prototype;g.h.Fb=function(){this.o||(null==this.B&&(this.B=new g.sm(this)),this.B.T(this.g,"currentTimeUpdate",this.Hw,!1),this.B.T(this.g,"contentWrapperError",this.eN,!1));this.g.start();this.o=!0};
g.h.getCurrentTime=function(){return this.g.currentTime};
g.h.Qc=function(){null!=this.B&&(this.B.dispose(),this.B=null);this.g.stop();this.o=!1};
g.h.Hw=function(){if(this.o){var a=this.g.currentTime;if((0,window.isNaN)(a)||0>a)vz(this,"The currentTime is not a valid time value:"+a);else{var b=mha(this,a);this.D?(0,g.H)(b,function(a){tz(this,!0,a)},this):(0,g.H)(nha(b),function(a){tz(this,!0,a)},this);
tz(this,!1,oha(this,a))}}};
g.h.eN=function(){vz(this,"There was an error while tracking the content:The content current time is invalid.")};g.C(xz,oz);xz.prototype.start=function(){this.g.start()};
xz.prototype.stop=function(){this.g.stop()};
xz.prototype.P=function(){xz.R.P.call(this);this.A.dispose();this.g.dispose()};
xz.prototype.B=function(){if("currentTime"in this.o&&!(0,window.isNaN)(this.o.currentTime)){var a=this.currentTime;this.currentTime=this.o.currentTime;a!=this.currentTime&&this.dispatchEvent(new g.Ve("currentTimeUpdate"))}else this.dispatchEvent(new g.Ve("contentWrapperError")),this.stop()};g.h=zz.prototype;g.h.get=function(a){a=Az(this,a);return this.g[a]};
g.h.set=function(a,b){a=Az(this,a);this.g[a]=b};
g.h.Gc=function(){return this.g.length};
g.h.isEmpty=function(){return 0==this.g.length};
g.h.clear=function(){this.o=this.g.length=0};
g.h.fb=function(){for(var a=this.Gc(),b=this.Gc(),c=[],a=this.Gc()-a;a<b;a++)c.push(this.get(a));return c};
g.h.Bb=function(){for(var a=[],b=this.Gc(),c=0;c<b;c++)a[c]=c;return a};g.C(Bz,go);g.h=Bz.prototype;g.h.aA=function(a,b,c,d){if(d&&(d=g.Za(a,function(a){return null!==jq(a.o)}),null!==d))return d;
a=(0,g.Ae)(a,function(a){var b=a.g;D(g.E(a.o))||"progressive"!=a.B&&"application/x-mpegurl"!=g.E(b).toLowerCase()?a=!1:(b=g.E(b).toLowerCase(),a=D(b)||Gn(2.3)&&Ja(b,"application/ogg")?!1:g.En&&(Ja(b,"video/mp4")||Ja(b,"video/3gpp"))||An()&&(Ja(b,"application/x-mpegurl")||Ja(b,"application/vnd.apple.mpegurl"))?!0:!D(this.g.canPlayType(b)));return a},this);
return yz(a,b,c)};
g.h.Wp=function(){return(0,g.Ae)(g.Nb(Ru),function(a){return!D(this.g.canPlayType(a))},this)};
g.h.On=function(a){this.aa=0<a.g?a.g:eo()};
g.h.load=function(a){Dz(this);a&&(this.g.src=a);this.g.load()};
g.h.unload=function(){Dz(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.M=!1;this.g.play();this.H||(this.H=g.og(this.BF,this.aa,this))};
g.h.pause=function(){this.M=!0;this.g.pause();Cz(this)};
g.h.Nh=function(){return this.g.paused?An()||g.cF?this.g.currentTime<this.g.duration:!0:!1};
g.h.Ui=function(){return this.g.muted};
g.h.Aq=function(){zn()&&this.g.webkitDisplayingFullscreen&&this.g.webkitExitFullscreen()};
g.h.Ti=function(){return Co(this.g)};
g.h.Pj=function(a){var b;a:{for(b=this.S.fb();b.length;){var c=b.pop();if(0<c){b=c;break a}}b=-1}return b>=a};
g.h.Vi=function(a){this.g.currentTime=a};
g.h.getCurrentTime=function(){return this.g.currentTime};
g.h.Vv=function(){return Fz(this)};
g.h.getDuration=function(){return(0,window.isNaN)(this.g.duration)?-1:this.g.duration};
g.h.Rg=function(){return this.g.ended};
g.h.Cf=function(){return new g.Yd(this.g.offsetWidth,this.g.offsetHeight)};
g.h.Pw=function(){return this.g.seeking};
g.h.P=function(){this.Qc();Bz.R.P.call(this)};
g.h.getError=function(){return null};
g.h.Fb=function(){this.Qc();this.o=new g.sm(this);this.o.T(this.g,dA,this.cN);this.o.T(this.g,"canplay",this.YK);this.o.T(this.g,"ended",this.TH);this.o.T(this.g,"webkitbeginfullscreen",this.Dq);this.o.T(this.g,"webkitendfullscreen",this.Sw);this.o.T(this.g,"pause",this.WH);this.o.T(this.g,"playing",this.lN);this.o.T(this.g,"timeupdate",this.XH);this.o.T(this.g,"volumechange",this.YH);this.o.T(this.g,"error",this.Rw);this.o.T(this.g,FO||An()&&!Dn(8)?"loadeddata":"canplay",this.VH);this.D=new bt;this.o.T(this.D,
"click",this.SH);this.D.Fb(this.g);this.G=new g.mg(1E3);this.o.T(this.G,"tick",this.UH);this.G.start()};
g.h.Qc=function(){null!=this.D&&(this.D.Qc(),this.D=null);null!=this.G&&this.G.dispose();null!=this.o&&(this.o.dispose(),this.o=null);Dz(this)};
g.h.cN=function(a){this.dispatchEvent(a.type)};
g.h.YK=function(){var a;if(a=wi)a=g.Gb,a=!(a&&(Ka(a,"SMART-TV")||Ka(a,"SmartTV")));a&&!this.N&&(this.Vi(.001),this.N=!0)};
g.h.VH=function(){this.Oc||(this.Oc=!0,this.dispatchEvent("loaded"))};
g.h.lN=function(){this.dispatchEvent("play");An()||FO||Ez(this)};
g.h.XH=function(){if(!this.B&&(An()||FO)){if(0>=this.getCurrentTime())return;if(FO&&this.Rg()&&1==this.getDuration()){this.Rw();return}Ez(this)}if(An()||Kn()){if(1.5<this.getCurrentTime()-this.A){this.F=!0;this.Vi(this.A);return}this.F=!1;this.getCurrentTime()>this.A&&(this.A=this.getCurrentTime())}var a=this.S;a.g[a.o]=this.g.currentTime;a.o=(a.o+1)%a.A;this.dispatchEvent("timeUpdate")};
g.h.YH=function(){this.dispatchEvent("volumeChange")};
g.h.WH=function(){var a;this.B&&An()&&!this.M&&(2>Fz(this)-this.g.currentTime||this.F)?(this.C=new g.mg(250),this.o.T(this.C,"tick",this.UK),this.C.start(),a=!0):a=!1;a||this.dispatchEvent("pause")};
g.h.TH=function(){var a=!0;if(An()||Kn())a=this.A>=this.g.duration-1.5;!this.F&&a&&this.dispatchEvent("end")};
g.h.Dq=function(){this.dispatchEvent("beginFullscreen")};
g.h.Sw=function(){this.dispatchEvent("endFullscreen")};
g.h.Rw=function(){Cz(this);this.dispatchEvent("error")};
g.h.SH=function(){this.dispatchEvent("click")};
g.h.UH=function(){var a=this.Cf(),b=this.Ti();if(a.width!=this.L.width||a.height!=this.L.height)!this.J&&b?this.Dq():this.J&&!b&&this.Sw(),this.L=a,this.J=b};
g.h.BF=function(){if(!this.B){try{co($n.getInstance(),16)}catch(a){}Dz(this);this.dispatchEvent("mediaLoadTimeout")}};
g.h.UK=function(){if(this.Rg()||!this.Nh())g.Te(this.C);else{var a=this.g.duration-this.g.currentTime,b=Fz(this)-this.g.currentTime;0<b&&(2<=b||2>a)&&(g.Te(this.C),this.play())}};g.C(Hz,g.zf);var lpa=new Tl;Gz.prototype.start=function(a){return this.g[a].startTime};
Gz.prototype.end=function(a){return this.g[a].endTime};
g.h=Hz.prototype;g.h.readyState=0;g.h.currentTime=0;g.h.duration=window.NaN;g.h.paused=!0;g.h.Xw=!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.eI=1;g.h.playbackRate=0;g.h.tg=null;g.h.cn=0;g.h.YO=4;g.h.Kj=null;g.h.Um=null;
g.h.play=function(){this.Xw&&(this.currentTime=0,this.dispatchEvent("timeupdate"));this.paused&&(this.paused=!1,this.dispatchEvent("play"),this.readyState=this.YO,2>=this.readyState?this.dispatchEvent("waiting"):this.dispatchEvent("playing"));if(null===this.tg||this.tg.ma())this.tg=new g.mg(10),this.tg.T("tick",(0,g.A)(this.FA,this));this.cn=(0,g.G)();this.tg.start();this.autoplay=!1};
g.h.pause=function(){this.autoplay=!1;this.paused||(this.tg.stop(),this.paused=!0,this.dispatchEvent("timeupdate"),this.dispatchEvent("pause"))};
g.h.load=function(){this.readyState=0;this.paused=!0;this.dispatchEvent("loadstart");this.setProperty("duration",(0,window.isNaN)(this.duration)?10+20*Math.random():this.duration);var a=this.o;a.g.push(new vha(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.eI};
g.h.setProperty=function(a,b){switch(a){case "currentTime":var c=Number(b);this.dispatchEvent("seeking");this.currentTime=c;this.dispatchEvent("seeked");this.FA();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&&lpa.set(a,b)};
g.h.getAttribute=function(a){return lpa.get(a)};
g.h.FA=function(){var a=(0,g.G)()-this.cn,b=this.currentTime+a/1E3;this.cn+=a;2<this.readyState&&(this.currentTime=Math.min(b,this.duration));this.dispatchEvent("timeupdate");this.currentTime==this.duration&&(this.Xw=this.paused=!0,this.tg.stop(),this.dispatchEvent("ended"))};
g.h.P=function(){this.tg&&this.tg.dispose();this.g.dispose()};
g.h.wO=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.Um&&(this.Um.innerText=b);c&&this.Kj&&(this.Kj.style.backgroundColor=c)};g.C(Iz,g.M);Iz.prototype.initialize=function(){this.o&&wn()&&this.o.load()};
Iz.prototype.P=function(){g.ye(this.g);Iz.R.P.call(this)};
Iz.prototype.show=function(){var a=this.g;null!=a&&(a.style.display="block")};g.C(Jz,g.M);Jz.prototype.G=function(a){if(!("*"!=this.o&&a.origin!=this.o||this.B&&a.source!=this.B)&&g.z(a.data)){var b;try{b=g.Hc(a.data)}catch(c){return}if(!(null==b||this.J&&(this.sessionId&&this.sessionId!=b.id||this.channel&&this.channel!=b.channel))&&b)switch(b.event){case "syn":Kz(this,a);Mz(this);this.sendMessage({event:"ack"});break;case "ack":Kz(this,a);Mz(this);break;case "command":a=b.func,a in this.g&&this.g[a].apply(null,b.args)}}};
Jz.prototype.sendMessage=function(a,b){var c=b||this.B;if(c){this.sessionId&&(a.id=this.sessionId);this.channel&&(a.channel=this.channel);try{var d=g.Lc(a);c.postMessage(d,this.F)}catch(e){}}};
Jz.prototype.P=function(){window.removeEventListener("message",this.C);Jz.R.P.call(this)};g.C(Lz,Jz);Lz.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.D?this.sendMessage(c):100>this.A.length&&this.A.push(c)};g.C(Nz,g.M);Nz.prototype.G=function(a){a=a.type;var b=new wha;b.duration=this.g.duration;b.currentTime=this.g.currentTime;b.readyState=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.o.H("notify",a,b)};
Nz.prototype.D=function(a){Em(this.C,a);this.A.T(this.g,a,this.F)};
Nz.prototype.H=function(a){this.C.remove(a);this.A.Ba(this.g,a)};
Nz.prototype.B=function(a,b){this.g[a]=b};g.C(Qz,go);var mpa=["video/mp4","video/webm"],npa={el:"adunit",controls:0,html5:1,playsinline:1,ps:"gvn",showinfo:0},Pz=[],Oz=!1;g.h=Qz.prototype;g.h.aA=function(a,b,c){var d=g.Za(a,function(a){return null!==jq(a.o)});
if(null!==d)return d;a=(0,g.Ae)(a,function(a){a=g.E(a.g);return this.o?this.g.canPlayType(a):g.cb(mpa,a)},this);
g.db(c)||(d=yz(a,b,c));return null!=d?d:yz(a,b,[])};
g.h.On=function(a){this.A=a};
g.h.load=function(a,b){Sz(this,a,b)};
g.h.unload=function(){Sz(this,"","")};
g.h.getVideoUrl=function(){return this.ba};
g.h.setVolume=function(a){this.ga?this.dispatchEvent("volumeChange"):this.o?(a=g.Rd(100*a,0,100),this.g.setVolume(a),this.F=-1,this.dispatchEvent("volumeChange")):this.F=a};
g.h.getVolume=function(){return this.o?this.g.getVolume()/100:this.F};
g.h.play=function(){if(!D(g.E(this.ba))){if(!this.B){Uz(this);var a=eo();null!=this.A&&0<this.A.g&&(a=this.A.g);this.Ea=g.og(this.fN,a,this)}this.o?(this.da=!1,!this.B&&this.A&&this.A.o?this.g.loadVideoByPlayerVars(this.na):this.g.playVideo()):this.da=!0}};
g.h.pause=function(){this.o&&this.B&&this.g.pauseVideo()};
g.h.Nh=function(){return this.o?2==this.g.getPlayerState(this.C):!1};
g.h.Ui=function(){return this.o?this.g.isMuted():0==this.getVolume()};
g.h.Aq=function(){};
g.h.Ti=function(){var a=Q.o?Q.H:window.document.getElementById(this.N);return a?Co(a):!1};
g.h.Pj=function(a){return this.o?this.g.getCurrentTime(this.C)>=a:!1};
g.h.Vi=function(a){this.o?this.g.seekTo(a,!1):this.J=a};
g.h.getCurrentTime=function(a){return this.o?this.g.getCurrentTime(a||this.C):-1};
g.h.Vv=function(){return this.o&&this.B?this.g.getVideoLoadedFraction(this.C)*this.g.getDuration(this.C):0};
g.h.getDuration=function(){return this.o&&this.B?this.g.getDuration(this.C):-1};
g.h.getError=function(){return null};
g.h.Wp=function(){return g.Nb(Ru)};
g.h.Rg=function(){return this.o?0==this.g.getPlayerState(this.C):!1};
g.h.Cf=function(){var a=Q.o?Q.H:window.document.getElementById(this.N);return a?new g.Yd(a.offsetWidth,a.offsetHeight):new g.Yd(0,0)};
g.h.Pw=function(){return!1};
g.h.Ow=function(){return 1==this.va};
g.h.vb=function(){return this.o?1==this.g.getPlayerState(this.C):!1};
g.h.aI=function(){var a=this.Cf(),b=this.Ti();if(a.width!=this.ra.width||a.height!=this.ra.height)!this.ka&&b?this.dispatchEvent("beginFullscreen"):this.ka&&!b&&this.dispatchEvent("endFullscreen"),this.ra=a,this.ka=b};
g.h.Fb=function(){this.fa=(0,g.A)(this.dz,this);this.M=(0,g.A)(this.Eq,this);this.sa=(0,g.A)(this.ez,this);this.Ja=(0,g.A)(this.RN,this);this.ga&&(this.g.addEventListener("onAdStateChange",this.M),this.g.addEventListener("onReady",this.fa),this.g.addEventListener("onStateChange",this.M),this.g.addEventListener("onVolumeChange",this.sa),this.g.addEventListener("onSharePanelOpened",this.Ja));this.aa=new g.mg(1E3);this.S.T(this.aa,"tick",this.aI);this.aa.start()};
g.h.Qc=function(){this.ga&&(this.g.removeEventListener("onAdStateChange",this.M),this.g.removeEventListener("onReady",this.fa),this.g.removeEventListener("onStateChange",this.M),this.g.removeEventListener("onVolumeChange",this.sa),this.g.removeEventListener("onSharePanelOpened",this.Ja));null!=this.aa&&this.aa.dispose()};
g.h.JF=function(){var a=Wb(npa);Q.D&&(a.ps="gvn",a.remoteve=ao.da,a.remotevewin="discover");var b=this.N,a={playerVars:a,events:{cardstatechange:(0,g.A)(this.ZH,this),onError:(0,g.A)(this.iN,this),onReady:(0,g.A)(this.dz,this),onAdStateChange:(0,g.A)(this.Eq,this),onStateChange:(0,g.A)(this.Eq,this),onVolumeChange:(0,g.A)(this.ez,this)}},c=g.w("YT");this.g=null!=c&&null!=c.Player?new c.Player(b,a):null};
g.h.iN=function(){this.dispatchEvent("error")};
g.h.dz=function(){this.o=!0;this.H&&this.zq(this.H.videoId,this.H.zh,this.H.Aj);-1!=this.F&&(this.setVolume(this.F),this.F=-1);null!=this.L&&(Rz(this,this.L,this.ca),this.ca=this.L=null);-1!=this.J&&(this.Vi(this.J),this.J=-1);this.da&&this.play()};
g.h.ZH=function(a){this.va=a.data;this.dispatchEvent("cardsStateChange")};
g.h.Eq=function(a){switch(a.data){case 0:this.B?this.dispatchEvent("end"):this.dispatchEvent("error");break;case 1:this.B||(Uz(this),this.B=!0,this.G=0,this.dispatchEvent("start"));this.dispatchEvent("play");Tz(this);this.D=new g.mg(100);this.S.T(this.D,"tick",this.Sy);this.D.start();break;case 2:this.dispatchEvent("pause"),Tz(this)}};
g.h.ez=function(){this.dispatchEvent("volumeChange")};
g.h.RN=function(){this.dispatchEvent("shareClicked")};
g.h.Sy=function(){var a=Zm().g;if(a.g("seek_back_for_all")||a.g("seek_back_for_all_no_leanback")&&!Ln()||a.g("seek_back_for_safari")&&vi&&Bn(bpa,10)&&Ka(g.Gb,"Safari")||EO||Kn()){if(1.5<this.getCurrentTime()-this.G){this.o&&this.g.seekTo(this.G,!0);return}this.getCurrentTime()>this.G&&(this.G=this.getCurrentTime())}this.dispatchEvent("timeUpdate")};
g.h.fN=function(){this.dispatchEvent("mediaLoadTimeout")};
g.h.zq=function(a,b,c){if(b||c)this.o?this.g.addInfoCardXml(a,b,c):this.H={videoId:a,zh:b,Aj:c}};
g.h.ue=function(){if(!this.o)return null;var a=this.g.getVideoData();return a?a.cpn:null};
g.h.Xr=function(a){this.o&&jq(this.getVideoUrl())&&this.g.sendVideoStatsEngageEvent(a)};
g.h.Qw=function(a){this.o&&this.g.setCardsVisible(a,!1,"YOUTUBE_DRAWER_AUTO_OPEN")};
g.h.Cq=function(){this.o&&this.g.showControls()};
g.h.Bq=function(){this.o&&this.g.hideControls()};
g.h.P=function(){Tz(this);Uz(this);this.Qc();this.o=!1;this.S.dispose();this.J=-1;this.ca=null;this.da=!1;this.L=null;this.F=-1;this.fa=this.g=this.A=null;this.B=!1;this.ba="";Qz.R.P.call(this)};
g.u("onYouTubeIframeAPIReady",function(){Oz=!0;(0,g.H)(Pz,function(a){a()});
fb(Pz)},window);g.C(Vz,g.zf);Vz.prototype.send=function(a){var b=a.g;this.g.hasOwnProperty(b)&&this.g[b].send(a.type,a.Fd,a.If)};
Vz.prototype.P=function(){this.o.dispose();for(var a in this.g)g.Te(this.g[a]);Vz.R.P.call(this)};
Vz.prototype.C=function(a){a=a.g;var b=hy(a.data);if(null!=b){var c=b.channel;if(this.A&&!this.g.hasOwnProperty(c)){var d=b.sid;Xz(this,c,d,a.source);this.dispatchEvent(new Wz(b.name,b.type,b.data||{},d,a.origin,c))}}};
g.C(Wz,fy);g.C(Zz,g.sm);
Zz.prototype.D=function(a){var b=a.getOrigin(),c=g.ug("//imasdk.googleapis.com"),b=g.ug(b);if(c[3]==b[3]&&c[4]==b[4])if(null!=this.g)Xz(this.g,a.g,a.Iw,ne().parent),null!=this.g&&this.g.send(a);else if(c=a.If,null!=c&&g.t(c.scope)){var b=c.scope,c=c.args,d;if("proxy"==b)c=a.Fd,"isGptPresent"==c?d=Yz():"isConsolePresent"==c&&(d=null!=$z());else if(Yz())if("pubads"==b||"companionAds"==b){d=a.Fd;var e,f=ne().googletag;if(null!=f&&null!=f[b]&&(f=f[b](),null!=f&&(d=f[d],null!=d)))try{e=d.apply(f,c)}catch(k){}d=
e}else if("console"==b){if(f=a.Fd,e=$z(),null!=e&&(f=e[f],null!=f))try{f.apply(e,c)}catch(k){}}else if(null===b){e=a.Fd;d=ne();if(g.cb(["googleGetCompanionAdSlots","googleSetCompanionAdContents"],e)&&(e=d[e],null!=e))try{f=e.apply(d,c)}catch(k){}d=f}g.t(d)&&(a.If.returnValue=d,this.A.send(a))}};
Zz.prototype.C=function(a){this.A.send(a)};new aA;aA.prototype.set=function(a){this.g=a};
aA.prototype.reset=function(){this.set((0,g.G)())};
aA.prototype.get=function(){return this.g};var bA={s:function(a,b,c){return(0,window.isNaN)(c)||""==c||a.length>=Number(c)?a:a=-1<b.indexOf("-",0)?a+Ma(" ",Number(c)-a.length):Ma(" ",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;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+Ma(" ",a):f+Ma(0<=b.indexOf("0",0)?"0":" ",a)+d},
d:function(a,b,c,d,e,f,k,l){return bA.f((0,window.parseInt)(a,10),b,c,d,0,f,k,l)}};
bA.i=bA.d;bA.u=bA.d;g.C(eA,g.zf);g.h=eA.prototype;g.h.P=function(){this.o.dispose();null!==this.B&&(this.B.dispose(),this.B=null);g.Sl(this.G.Od(!1),function(a){a.dispose()});
this.G.clear();g.ye(this.A);eA.R.P.call(this)};
g.h.CG=function(a){var b=a.If,c=g.oh(this.A),d=window.document.createEvent("MouseEvent");d.initMouseEvent(a.Fd,!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(!wi||An()||0==window.document.webkitIsFullScreen)this.A.blur(),window.focus();this.A.dispatchEvent(d)};
g.h.UG=function(a){var b=a.If,c=g.oh(this.A);if("TouchEvent"in window&&0<window.TouchEvent.length){var b={bubbles:!0,cancelable:!0,view:window,detail:b.detail,ctrlKey:b.ctrlKey,altKey:b.altKey,shiftKey:b.shiftKey,metaKey:b.metaKey,touches:fA(this,b.touches),targetTouches:fA(this,b.targetTouches),changedTouches:fA(this,b.changedTouches)},d=new window.TouchEvent(a.Fd,b);this.A.dispatchEvent(d)}else d=window.document.createEvent("TouchEvent"),d.initTouchEvent(a.Fd,!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,fA(this,b.touches),fA(this,b.targetTouches),fA(this,b.changedTouches),b.scale,b.rotation),this.A.dispatchEvent(d)};
g.h.RG=function(a){if(null!=this.g){var b=a.If;switch(a.Fd){case "startTracking":this.g.Fb();break;case "stopTracking":this.g.Qc();break;case "exitFullscreen":this.g.Aq();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.Vi(b.currentTime);break;case "setPlaybackOptions":this.g.On(gA(b));break;case "setVolume":this.g.setVolume(b.volume)}}};
g.h.LG=function(a){if(null!=this.C){var b=a.If;switch(a.Fd){case "startTracking":this.C.Fb();break;case "stopTracking":this.C.Qc();break;case "setPlaybackOptions":this.C.On(gA(b));break;case "load":this.C.load(b.videoUrl,b.mimeType)}}};
g.h.Lf=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.Rg();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.F.send("videoDisplay",a,b)};
g.h.xG=function(a){switch(a.Fd){case "showVideo":null!=this.B?this.B.Qc():(this.B=new bt,this.o.T(this.B,"click",this.tO));this.B.Fb(iA(this.D));a=this.D;null!=a.g&&a.g.show();break;case "hide":null!==this.B&&(this.B.dispose(),this.B=null);a=this.D;null!=a.g&&(a=a.g.g,null!=a&&(a.style.display="none"));break;case "getPreloadDisplay":null!=this.g&&null==this.C&&(this.C=this.D.C);break;case "swapVideoDisplays":if(null!=this.g&&null!=this.C){this.o.Ba(this.g,g.Nb(cA),this.Lf);this.o.Ba(this.g,dA,this.Lf);
a=this.D;if(a.g&&a.o&&a.B&&a.C){var b=a.o;a.o=a.C;a.C=b;b=a.g;a.g=a.B;a.B=b;if(a.J&&a.o instanceof Bz){var b=a.J,c=a.o.g;zm(b.A);b.g=c;(0,g.H)(b.C.fb(),b.D,b)}null!=a.H&&(b=a.H,a=a.o,null!=b.g&&(b.o.Ba(b.g,g.Nb(cA),b.Lf),b.o.Ba(b.g,dA,b.Lf)),b.g=a,b.o.T(b.g,g.Nb(cA),b.Lf),b.o.T(b.g,dA,b.Lf))}this.g=this.D.o;this.C=this.D.C;this.o.T(this.g,g.Nb(cA),this.Lf);this.o.T(this.g,dA,this.Lf)}}};
g.h.tO=function(){this.F.send("displayContainer","videoClick")};
g.h.gG=function(){g.Sl(this.G.Od(!1),function(a){a.bf=Ge(this.A);a.connect()},this);
this.H=!0};hA.prototype.initialize=function(){null!=this.g&&this.g.initialize();null!=this.B&&this.B.initialize()};
hA.prototype.destroy=function(){g.Te(this.g);g.Te(this.B);g.Te(this.H);g.Te(this.o);g.Te(this.C);g.Te(this.J);g.ye(this.A)};
hA.prototype.setSize=function(a,b){var c=this.A;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.H&&(c=this.H,c.A.width=-1==a?"100%":a,c.A.height=-1==b?"100%":b)};g.h=jA.prototype;g.h.Op=function(){return iA(this.g)};
g.h.ek=function(){return this.g.D};
g.h.wf=function(){return this.g.D};
g.h.Pm=function(){var a=this.g.o;return null!=a?a:new Qz};
g.h.kg=function(){var a=this.g;null!=a.g&&a.g.show()};
g.h.jd=function(){};
g.h.Dp=function(){return null!=this.g.G};
g.h.Qm=function(){return this.g.F};
g.h.uq=function(){return!1};
g.h.Rm=function(){return this.g.L};
g.h.setSize=function(a,b){this.g.setSize(a,b)};
g.h.Bf=function(){};
g.h.sq=function(){return null};
g.h.tq=function(){};g.C(kA,g.Ve);g.h=mA.prototype;
g.h.clone=function(){var a=new mA;"auto"==this.ii?a.ii="auto":"click"==this.ii&&(a.ii="click");a.g=this.g;a.vh=Wb(this.vh);a.o=this.o;a.Jl=this.Jl;a.D=this.D;a.B=this.B?g.nb(this.B):null;a.F=this.F;a.zc=Wb(this.zc);a.C=this.C;a.location=this.location;a.referrer=this.referrer;a.G=this.G;a.language=this.language;a.Si=this.Si;a.Ri=this.Ri;a.Te=this.Te;a.Se=this.Se;a.Ee=this.Ee;a.Tn=this.Tn;a.Om=this.Om;a.rs=this.rs;a.A=this.A;a.oo=this.oo;a.containerElement=this.containerElement;a.afcRmFallback=this.afcRmFallback;
a.L=this.L;a.J=this.J;a.Ei=this.Ei;a.no=this.no;a.tx=this.tx;a.fx=this.fx;a.Vo=this.Vo?this.Vo.clone():null;return a};
g.h.vh=null;g.h.Jl=null;g.h.zc=null;g.h.ii="unknown";g.h.tx=0;g.h.Si=0;g.h.Ri=0;g.h.Te=0;g.h.Se=0;g.h.Ei=!1;g.h.Ee=null;g.h.Tn=!1;g.h.Om=!1;g.h.rs=!0;g.h.no=new Tm;g.h.oo=0;g.h.Fv=!0;g.h.containerElement=null;g.h.afcRmFallback=!1;g.h.fx=!0;g.h.Vo=null;g.C(nA,g.zf);g.C(oA,g.Ve);oA.prototype.getError=function(){return this.A};g.C(qA,g.zf);qA.prototype.o=null;qA.prototype.Ob=function(){return this.B};
qA.prototype.P=function(){delete this.g;rA(this);g.uf(this.o);qA.R.P.call(this)};
qA.prototype.C=function(){pA(this)&&(rA(this),g.uf(this.o),this.o=null,this.B=!0,this.dispatchEvent("ifload"))};g.C(sA,nA);g.oa(sA);g.h=sA.prototype;g.h.P=function(){this.o&&this.o.dispose();sA.R.P.call(this)};
g.h.initialize=function(){if(!this.Df){var a;var b=g.Qe(new $d);try{g.w("googletag"),tA([b,b.top]),a=!0}catch(c){a=!1}a?FA(this):(this.Df=!0,this.A="not_available")}};
g.h.pd=function(a){try{this.g.googleSetCompanionAdContents((0,g.I)(a,this.mF,this)),this.qj()}catch(b){this.dispatchEvent(new oA("companion_display_error",b))}};
g.h.fz=function(){0<this.B&&(0,g.G)()>=this.B?(this.Df=!0,BA(this),EA(this)):FA(this)};
g.h.EP=function(a){var b=(0,g.I)(a.adSizes,function(a){return new g.Yd(a.adWidth,a.adHeight)});
return new Ho(a.slotId,b)};
g.h.mF=function(a){var b={};b.slotId=a.H;b.adContent=a.dd();b.adWidth=a.B;b.adHeight=a.o;b.friendlyIframeRendering=a.A;null==a.g&&g.db(a.C)||(b.onAdContentSet=(0,g.A)(this.tL,this,a));return b};
g.h.tL=function(a,b){if(null!=a.g){var c=g.De(b);c||(c=g.re("div"),b.appendChild(c));var d=a.Ac();c.appendChild(d);GA(this,a,c)}else c=a.A?b.querySelector("iframe"):(c=g.De(b))?g.De(c):null,(c=c&&"IFRAME"==c.tagName?c:null)&&Aha(this,c,a)};
g.h.sL=function(a){this.dispatchEvent(new oA("companion_click",null,a))};
g.h.qj=function(a){nn(this.impressionUrls,a)};g.C(HA,g.zf);HA.prototype.Hu=function(){return!0};
HA.prototype.Fh=function(){return null};g.C(JA,HA);g.h=JA.prototype;g.h.P=function(){this.destroy();JA.R.P.call(this)};
g.h.destroy=function(){null!=this.C&&this.C.dispose();this.B=null;(0,g.H)(this.A,function(a){Jo(a)},this);
this.o=null};
g.h.pd=function(a){g.Te(this.o);this.o=new g.zf;this.B=a;this.D=!0;this.F?LA(this):(this.D=NA(MA(a),[]),this.D||(this.o=this.B=null));return this.o};
g.h.Hu=function(){return this.D};
g.h.ON=function(){null!=this.G&&(this.G.stop(),this.G.dispose(),this.G=null);if(null!=this.g){var a=uA(this.g);null!=a&&(this.A=a)}this.F=!0;null!=this.B&&LA(this);this.dispatchEvent(new g.Ve("initialized"))};
g.h.uL=function(a){KA(this,a.getError())};
g.h.qL=function(a){if(null!=a.g){var b=a.g;"companion_slot_init"==a.type?(nn(b.D),Hf(function(){null!=this.o&&this.o.dispatchEvent(new Ko("companion_impression"))},this)):"companion_click"==a.type&&(nn(b.C),null!=this.o&&this.o.dispatchEvent(new Ko("companion_click")))}};
g.h.Fh=function(){return this.g};g.C(OA,bv);
OA.prototype.A=function(){if(null===this.g){for(var a=this.B,b=new hz,c=g.Be(g.De(this.B)),d=0,e=c.length;d<e;d++){var f=c[d];if("vmap:AdBreak"==f.nodeName){var k,l=f;k=[];for(var m="",n=null,q=!1,r=!1,v=null,x=g.Be(l),B=0,F=x.length;B<F;B++){var J=x[B];switch(J.nodeName){case "vmap:AdSource":if(!n&&(n=Hha(J),!n)){var m=J,J=Hr(m,"vmap:AdTagURI"),L="";J.length&&(L=g.E(Jr(J[0])));if(D(L))throw qn(apa,null,m.parentNode.nodeName,m.nodeName);m=L}break;case "vmap:Extensions":v=Hr(J,"vmap:Extension"),J=
g.Za(v,g.ya(PA,"type","bumper")),null!=J&&(q=!0,r=Ir(J,"suppress_bumper"),r=null!=r?"true"==r:!0),v=Iha(v)}}x=null;if(n){x=n;n=null;if(Zm().g.g("html5_reuse_parsed_xml"))try{n=Gr(x)}catch(eb){n=Dr(x)}else n=Dr(x);x=this.o.clone();x.o=n;x.g=""}else D(m)||(n=m,x=this.o.clone(),x.o="",x.g=n);x&&(Q.g()&&(n=x,l=Ir(l,"timeOffset"),B=Mr(l),n.oo="start"==l||0==B?0:"end"==l||-1==B?-1:1E3*B),l=new gz(x),l.g=q,l.o=q&&!r,l.B=v,g.gb(k,l));f=Fha(f);q=0;for(r=f.length;q<r;q++)if(l=f[q],v=Mr(l),0<q&&(k=Gha(this,
k)),"start"==l||0==v)iz(b,k,0);else if("end"==l)iz(b,k,-1);else{if(-1==v)throw qn(lz,null,"timeOffset",g.E(l));iz(b,k,v)}}}if(0==b.g.Bb().length)throw qn(Fq);this.g=new cv(a,null,b)}return this.g};SA.prototype.G=function(){var a=this.B(this.C());return Rf(a)?a.then(function(a){return a.toString()}):a instanceof Error?a:a.toString()};
SA.prototype.D=function(){var a;a=1;Mn()&&(a+=4);if(!Q.g()){var b;b=15360;Q.da&&(b+=8);a+=b}return a};var rB={z_:"ultrahigh",sW:"high",XD:"medium"},Pha={JT:1E3,KT:1001,LT:1002,NT:1003,OT:1004,PT:1005,QT:1006},Qha={TD:1,wD:2},Rha={ZC:"content",rZ:"site",sZ:"site_content"};g.h=YA.prototype;g.h.Al="high";g.h.Fq=!1;g.h.Xo=1;g.h.Yo=null;g.h.adType="video";g.h.adBlock=1;g.h.Gq=null;g.h.cp=!0;g.h.ep=null;g.h.Ap=null;g.h.Rj=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.Uw=null;g.h.Tw=null;g.h.hn=1E5;g.h.jn=null;g.h.Ww=null;g.h.Vw=null;
g.h.jr=0;g.h.lj=null;g.h.Cn=null;g.h.Ln=null;g.h.targeting=null;g.h.tagForChildDirectedTreatment=-1;g.h.zn=null;g.h.url=null;g.h.Tm=null;g.h.Ls=null;g.h.Hq=null;g.h.Ss=null;g.h.Ps=null;g.h.Qs=null;g.h.Rs=null;g.h.mp=null;g.h.Js=null;g.h.mo=null;g.h.bI=null;g.h.cI=null;g.h.dI=null;var Nha={uU:"bumpervideo",xD:"flash",LD:"image",xZ:"skippablevideo",EZ:"standardvideo",HZ:"staticimage",TEXT:"text",VIDEO:"video"},jB=["flash","image","staticimage"],Oha=[new g.Yd(200,200),new g.Yd(250,250),new g.Yd(300,250),new g.Yd(336,280),new g.Yd(450,50),new g.Yd(468,60),new g.Yd(480,70),new g.Yd(728,90)];g.C(sB,SA);var Sha=["bumpervideo","skippablevideo","standardvideo","video"];sB.prototype.F={FC:"allow",Kt:"exclude",QY:"require"};sB.prototype.D=function(){var a=sB.R.D.call(this);Q.g()&&this.g.Ln&&(a|=this.g.Ln);return a};
sB.prototype.B=function(a){var b=new g.$l(this.o.g),c=new g.$l("//"+b.o+b.A),b=a.Bb();(0,g.H)(b,function(b){g.im(c,b,a.get(b))});
am(c,"https");return c};
sB.prototype.C=function(){var a=new Tl;a.set("sdkv",XA(this));a.set("sdki",this.D().toString(16));a.set("video_product_type",null!=this.g.lj?Q.g()?5:g.Da(this.g.lj,"ca-games-")?4:g.Da(this.g.lj,"ca-video-")?0:-1:-1);a.set("correlator",this.H.g);a.set("client",this.g.lj);Q.g()&&!D(g.E(this.g.url))?a.set("url",this.g.url):a.set("url",this.o.location?this.o.location:this.o.referrer);null!=this.o.Ee&&a.set("adk",this.o.Ee);a.set("num_ads",tB(this));a.set("channel",Uha(this));a.set("output","xml_vast3");
this.g.Fq&&a.set("adtest","on");to&&a.set("flash",xi);iB("alternate_ad_url",this.g.ep,a);iB("cpm",this.g.Ap,a);ZA(a,this.o);Q.g()||Mb(rB,this.g.Al)&&a.set("adsafe",this.g.Al);this.g.host&&(a.set("host",this.g.host),iB("ht_id",this.g.hostTierId,a),null!=this.g.A&&iB("h_ch",this.g.A.join("+"),a));iB("hl",this.g.language,a);iB("cust_age",this.g.Gq,a);iB("cust_gender",this.g.gender,a);-1!=this.g.tagForChildDirectedTreatment&&iB("tfcd",this.g.tagForChildDirectedTreatment,a);null!=this.g.zn&&iB("pucrd",
this.g.zn,a);iB("slotname",this.g.Yo,a);if(dB(this.g)&&(a.set("ea","0"),null!=this.o.Te&&null!=this.o.Se)){var b=eB(this.g,this.o.Te,this.o.Se,this.o.Ei);a.set("image_size",b);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=bn(Zm());D(g.E(b))||a.set("eid",b);aB(a);var b=this.H,c=this.g,d=this.g.Rj;if(null!=d){var e=Yn(b),c=null!=c.mo?c.mo:Pn(e,d);1!=c&&a.set("ad_block",c);null==b.M&&(b.M=new Vn);var c=b.M,f=d!=b.N;(e=0==e.g%100||f)||
(e=36E5<(null===c.g?0:(new g.Tn).getTime()-c.g));e&&c.reset();b.N=d;b=c.o;null!==b&&a.set("tok",b)}a.set("unviewed_position_start","1");b=this.g.Xo;a.set("videoad_start_delay",null!=b?b:1);VA(this,a);WA(this,a);TA(this,a);Tha(this)&&a.set("video_format",null!=this.g.Tm&&Q.g()?this.g.Tm:g.cF&&ui(6)||g.LN&&ui(4)||Gn(2.3)?43:18);b=null!=this.g.Cn?this.g.Cn:g.cb(this.g.adType.split("_"),"text")?Q.g()&&Zm().g.g("exclude_pyv_overlays_on_desktop_watch")?this.F.Kt:this.F.FC:this.F.Kt;a.set("t_pyv",b);iB("min_ad_duration",
this.g.jr,a);0<this.g.hn&&a.set("max_ad_duration",Math.round(1.1*(this.g.hn||0)+0*tB(this)));0<this.g.jn&&a.set("sdmax",Math.round(1.1*(this.g.jn||0)+0*tB(this)));fB(a,this.J);Q.g()&&(b=jq(this.g.Rj),null!=b&&a.set("video_doc_id","yt_"+b));iB("description_url",this.g.Rj,a);Q.g()&&(iB("lact",bB(this.o),a),iB("loeid",this.g.Hq,a),iB("lsv",this.g.isLiveStream,a),this.g.cp||iB("scs","false",a),iB("targeting",this.g.targeting,a),iB("video_cpm",this.g.Ls,a),iB("yt_pt",this.g.Ss,a),iB("ytdevice",this.g.Ps,
a),iB("ytdevicever",this.g.Qs,a),iB("yt_vis",cB(this.o),a),iB("dbp",this.g.Rs,a),iB("avo",this.g.mp,a),iB("v_p",this.g.Js,a));null!=a.get("ms")||iB("ms",this.g.B,a);iB("vid_kw",this.o.B?this.o.B.join(","):null,a);iB("vid_d",this.o.D,a);iB("vid_t",this.o.F,a);UA(a);gB(this.o,a,!1);null!=this.o.vh&&iB("loc",this.o.vh.page_location,a);return a};g.C(vB,SA);vB.prototype.B=function(a){var b=new g.$l(this.o.g);(0,g.H)(a.Bb(),function(c){D(a.get(c))?b.g.remove(c):g.im(b,c,a.get(c))});
am(b,"https");return b};
vB.prototype.C=function(){var a=new Tl;a.set("sdkv",XA(this));WA(this,a);TA(this,a);UA(a);null!=this.o.Ee&&a.set("adk",this.o.Ee);return a};g.C(wB,SA);wB.prototype.C=function(){return new Tl};
wB.prototype.B=function(){var a=new Qq(this.o.g),b=XA(this);b&&Sq(a,"dc_sdkv",[b]);(b=this.D().toString(16))&&Sq(a,"dc_sdki",[b]);(b=this.A.J)&&Sq(a,"dc_submodel",[b]);null!=this.o.Ee&&Sq(a,"dc_adk",[this.o.Ee]);b=bn(Zm());D(g.E(b))||Sq(a,"dc_eid",[b]);b=Q.fa;null!=b&&Sq(a,"dc_rfl",[$h(b)]);b=new Tl;VA(this,b);WA(this,b);TA(this,b);UA(b);Vl(b,"js")&&Sq(a,"dc_js",[b.get("js")]);Vl(b,"msid")&&Sq(a,"dc_msid",[b.get("msid")]);Vl(b,"frm")&&Sq(a,"dc_frm",[b.get("frm")]);Vl(b,"osd")&&Sq(a,"dc_osd",[b.get("osd")]);
Vl(b,"sdr")&&Sq(a,"dc_sdr",[b.get("sdr")]);Sq(a,"dcmt",["text/xml"]);Vl(b,"vpa")&&Sq(a,"vpa",[b.get("vpa")]);Vl(b,"mpt")&&Sq(a,"mpt",[b.get("mpt")]);Vl(b,"mpv")&&Sq(a,"mpv",[b.get("mpv")]);b=Rq(a,"dc_output");null!=b&&(g.cb(b,"vast")||g.cb(b,"xml_vast2"))&&Sq(a,"dc_output",["xml_vast3"]);am(a,"https");return a};g.C(xB,SA);xB.prototype.B=function(a){a=new g.$l(a.get("adTagUrl"));am(a,"https");return a};
xB.prototype.G=function(){var a=g.E(this.C().get("adTagUrl"));return a=a.replace(/^http:/i,"https:")};
xB.prototype.C=function(){var a=new Tl;a.set("adTagUrl",this.o.g);a.set("adsResponse",this.o.o);return a};g.C(yB,SA);yB.prototype.B=function(a){return new g.$l(a.get("adTagUrl"))};
yB.prototype.C=function(){var a=new Tl;a.set("adTagUrl",this.o.g);a.set("adsResponse",this.o.o);return a};g.C(zB,SA);zB.prototype.B=function(a){var b=new g.$l(this.o.g);(0,g.H)(a.Bb(),function(c){D(a.get(c))?b.g.remove(c):g.im(b,c,a.get(c))});
am(b,"https");return b};
zB.prototype.C=function(){var a=new Tl,b=bn(Zm());D(g.E(b))||a.set("eid",b);a.set("sdkv",XA(this));a.set("sdki",this.D().toString(16));a.set("correlator",this.A.B);a.set("scor",this.A.g);null!=this.o.Ee&&a.set("adk",this.o.Ee);VA(this,a);WA(this,a);TA(this,a);UA(a);var b=(new g.$l(this.o.g)).g,c=new YA;c.o=pB(c.o,b.get("overlay"));a.set("afvsz",eB(c,this.o.Te,this.o.Se,this.o.Ei));b=this.A.A;null!=b&&(this.A.A=null,a.set("fbidx",b));b=this.A.S;null!=b&&a.set("ppid",b);b="null";c=this.A.o;null!=c?
b=c:gn(this.o.location)?b=this.o.location:gn(this.o.referrer)&&(b=this.o.referrer);a.set("url",b);b=this.A.J;null!=b&&a.set("submodel",b);b=this.A.G;null==b||Q.g()||(b=Zha(b),a.set("ciu_szs",b));b=(new g.$l(this.o.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.C(AB,zB);AB.prototype.B=function(a){a=AB.R.B.call(this,a);this.H||aia(this,a);return a};g.C(BB,wB);BB.prototype.B=function(a){a=BB.R.B.call(this,a);this.H||cia(this,a);return a};g.C(CB,SA);var eia="CA_TYPE CPN DT FLASH FRM LACT MT TSLA U_AH U_AW U_CD U_H U_HIS U_JAVA U_NMIME U_NPLUG U_TZ U_W VIS".split(" ");CB.prototype.B=function(){if(!/\[BISCOTTI_ID\]/.test(this.o.g))return DB(this);var a=this.o.Jl();return Rf(a)?a.then(function(a){return DB(this,a)},function(a){throw qn(Uoa,a);
},this):a instanceof Error?qn(Uoa,a):DB(this,a)};
CB.prototype.C=function(){return new Tl};EB.prototype.fetch=function(a,b,c){null!=a.o&&(g.z(a.o)&&!D(a.o)||a.o instanceof window.Document)?hia(this,a,b,c):Yq(a.g)&&null!=this.g&&!this.g.G?this.g.start(a,(0,g.A)(function(){GB(this,a,b,c)},this)):GB(this,a,b,c)};
EB.prototype.o=function(a,b,c,d){var e=gia(a,this.B).G();Rf(e)?e.then(function(e){IB(this,e,a,b,c,d)},function(a){a instanceof Sm?c(a):c(qn(HB,a))},this):e instanceof Sm?c(e):e instanceof Error?c(qn(HB,e)):IB(this,e,a,b,c,d)};JB.prototype.reset=function(a){this.g=a+(0,g.G)()};KB.prototype.start=function(a,b){this.C=a;this.F=b;pia(this);this.D.F?this.H():ym(this.o,this.D,"initialized",this.H,this)};
KB.prototype.H=function(){var a=this.D.Fh(),b;b=a.Df&&"retrieved"==a.A?a.D:void 0;a=yha(a);null!=b&&(this.B.B=b);null!=a&&(this.B.G=a);oia(this)};g.h=g.MB.prototype;g.h.Gc=function(){return this.g.length+this.o.length};
g.h.isEmpty=function(){return g.db(this.g)&&g.db(this.o)};
g.h.clear=function(){this.g=[];this.o=[]};
g.h.contains=function(a){return g.cb(this.g,a)||g.cb(this.o,a)};
g.h.remove=function(a){var b;b=this.g;var c=voa(b,a);0<=c?(g.ib(b,c),b=!0):b=!1;return b||g.jb(this.o,a)};
g.h.fb=function(){for(var a=[],b=this.g.length-1;0<=b;--b)a.push(this.g[b]);for(var c=this.o.length,b=0;b<c;++b)a.push(this.o[b]);return a};g.C(TB,g.zf);g.C(YB,Iy);g.h=YB.prototype;g.h.yp=function(){var a=Jy(this);g.S(a,"ima-container-rotator");this.G=g.pe("DIV");this.g.appendChild(this.G);(0,g.H)(this.L,function(a,c){g.S(a,"ima-container-highlight");var b=63/this.L.length*(c+.5)-5,e=g.pe("DIV",{id:Ta(),"class":"ima-container-selector"});e.style.top=b+"px";this.yf.T(e,"click",function(a){this.pj(a.target)});
this.S.set(e.id,a);this.F.appendChild(e)},this);
this.pj(g.De(this.F));this.play();return a};
g.h.play=function(){null==this.B&&(this.B=new g.mg(this.N),this.yf.T(this.B,"tick",this.uP));YB.R.play.call(this);this.B.start()};
g.h.stop=function(){null!=this.B&&this.B.stop();YB.R.stop.call(this)};
g.h.uP=function(){var a=this.C;this.pj((g.t(a.nextElementSibling)?a.nextElementSibling:Ce(a.nextSibling))||g.De(this.C.parentNode))};
g.h.pj=function(a){this.C&&g.cq(this.C,"ima-container-active");g.S(a,"ima-container-active");var b=this.S.get(a.id);g.ze(b,this.G);this.C=a;this.G=b;Ky(b)};g.C(ZB,Iy);ZB.prototype.wq=g.y;ZB.prototype.yp=function(){var a=Jy(this);(0,g.H)(this.B,function(a){g.S(a,"ima-container-highlight");this.g.appendChild(a);Ky(a)},this);
this.play();return a};g.C($B,Ly);g.h=$B.prototype;g.h.Mw=function(a,b){if(this.C||null==b)b=g.y;var c;Q.g()&&this.C?c=new Iy(a[0],b):1<a.length?bC(this)||"fullscreen"==this.Sc&&Q.g()?c=new ZB(a):(c=new YB(a),c.N=15E3):c=new Iy(a[0],b);c.Nw=100;this.C&&(c.Ax=30);c.Bx=45E3;c.Pz=6E3;g.T(c.g,"scalable",this.C);g.T(c.pa(),"yt-text-overlay",Q.g()&&this.C);return c};
g.h.zP=function(a){var b=a.g;null!=b?(null==this.H&&(this.H=a.getExtension("AdSense").o),Tp(b,g.ya(this.kq,a,b)),Sp(b,g.ya(this.sG,a,b)),"Text"==b.ed()&&(this.C=!0),this.A.push(b)):(b=qn(XB),b=tq(b,a),nn(js(a),b))};
g.h.Mc=function(a,b,c){$B.R.Mc.call(this,a,b,c);this.Va.Ju=!0;a=this.la();g.db(ls(a))?Q.g()&&this.ia("companionBackfill"):this.pd(a)};
g.h.Ou=function(){null==this.A&&(this.A=[],(0,g.H)(this.ads,this.zP,this));if(0==this.A.length)throw rn(XB);var a=[];(0,g.H)(this.A,function(b){Up(b,this.Xa());"Flash"!=b.ed()||b.Gb().getExtension("TemplateAd")||(b.Qu=!0);a.push(b.Ac());$da(b,this.H.F)},this);
if(0==a.length)throw rn(XB);via(this);return this.El(a)};
g.h.start=function(){$B.R.start.call(this);!this.G&&bC(this)&&(this.G=!0,this.ia("contentPauseRequested"));null!=this.o&&this.o.start();if(this.B){var a=cC(this);co($n.getInstance(),33,a)}};
g.h.Lm=function(a){$B.R.Lm.call(this,a);(0,g.H)(this.A,function(a){var b=uq(a.Gb(),this.Da);this.Pb.g=b;this.Of(a,["close"]);this.Ga("close");this.Pb=new Fu},this)};
g.h.km=function(a){$B.R.km.call(this,a);bC(this)&&(null!=this.containerElement&&g.ve(this.containerElement),Q.o?Ao().sj(null):jo().sj(null),this.G&&(this.G=!1,this.ia("contentResumeRequested")))};
g.h.El=function(a){a=$B.R.El.call(this,a);if(bC(this)){var b=Lw(2);g.S(this.g.g,b);g.S(a,b)}return a};
g.h.ip=function(a){if(bC(this)){var b=g.Ee(a);b&&((a=g.Be(a)[0])&&g.dh(a,{margin:"0 auto"}),a=this.ads[0].getExtension("AdSense").o||new lv,this.o=new rx(b,a,2,aC(this),!0),this.Xa().T(this.o,"skip",this.SG),this.Xa().T(this.o,"end",this.EH))}else $B.R.ip.call(this,a),b=gq(bha,aC(this)),a.appendChild(b)};
g.h.kq=function(a,b){this.B?this.Hk(a,b):this.F.push((0,g.A)(this.Hk,this,a,b));Tp(b,g.y);this.ia("impression")};
g.h.Hk=function(a,b){var c=uq(a,this.Da);this.Pb.g=c;this.rg(a);this.Of(b,["creativeview"]);this.Ga("impression");this.Ga("creativeview");Nu(this,"start");this.Pb=new Fu};
g.h.sG=function(a,b,c){a=a.getExtension("AdSense");a=new g.$l(a.B);var d=b.Db();(0,window.isNaN)(d)&&(d=g.wh(b.Ac()).width);var e=b.getHeight();(0,window.isNaN)(e)&&(e=g.wh(b.Ac()).height);var f=g.sh(c),k=c instanceof Ze;b=k&&g.t(c.B)?c.B:f.x;c=k&&g.t(c.C)?c.C:f.y;f=Zm();c=["0","aw="+d,"ah="+e,"nx="+b,"ny="+c,"viewMode="+this.Sc,"sdkv=h.0.0.0","eids="+bn(f)];Q.g()||(d=g.wh(this.Sa.wf()),e=this.o?zga(this.o):new g.Vd(-1,-1),c=c.concat(["bw="+d.width,"bh="+d.height,"sx="+e.x,"sy="+e.y]));kn(a,"elementclick",
c);(0,g.H)(this.A,function(a){var b=uq(a.Gb(),this.Da);this.Pb.g=b;My(this,a);this.Ga("click");this.Pb=new Fu},this);
this.ia("click")};
g.h.yc=function(a){this.Sc!=a&&($B.R.yc.call(this,a),this.ia("expandedChanged"))};
g.h.Pl=function(){$B.R.Pl.call(this,this.o?15:0,this.o?65:0)};
g.h.SG=function(){dC(this,"skip")};
g.h.EH=function(){dC(this,"close")};g.C(eC,g.M);eC.prototype.o=function(a){if(0==a.Kc||0>=this.A||0>=this.g)return!1;var b=(0,g.G)()/1E3;a=a.Kc-this.B.currentTime;0<a&&(b+=a);return b-this.g<=this.A};g.C(fC,eC);fC.prototype.o=function(a){return 5==a.Pe()?!1:fC.R.o.call(this,a)};g.C(WB,Ju);g.h=WB.prototype;g.h.Mc=function(a,b,c){null!=this.wc&&(this.wc.Qc(),this.wc.dispose(),this.wc=null);WB.R.Mc.call(this,a,b,c);a=this.nf.g.Bb();b=new xz(b);var d=4;c&&0<=c.Lr&&(d=c.Lr);var e=Zm().g.g("enable_prefetch_for_postrolls"),d={prefetch:d,prefetchPostroll:e};this.Nr=null!=c?c.Iz:0;xia(this,a);this.wc=new pz(b,this.Cb.fb(),d);a=this.nf.g.Bb();yia(this,a);zia(this);c=g.Za(this.Cb.fb(),function(a){return 0==a.Kc});
null!=c&&this.Mf()&&lC(this,c);try{c={cfg:!0},c.ads=this.Rf,co($n.getInstance(),44,c)}catch(f){}};
g.h.init=function(a){WB.R.init.call(this,a);this.os()};
g.h.gj=function(){this.Le();this.dispatchEvent(new Kw(null))};
g.h.destroy=function(){this.dispose()};
g.h.P=function(){this.jb.g=!0;if(0<this.Cb.Gc()){var a=this.Cb.fb();(0,g.H)(a,this.zi,this);this.Cb.clear()}jC(this);mC(this);null!=this.Sa&&(this.Sa.Bf(),this.Sa=null);WB.R.P.call(this)};
g.h.start=function(){WB.R.start.call(this)};
g.h.stop=function(){null!=this.sb&&(this.zi(this.sb),this.Jf())};
g.h.zb=function(a,b,c){WB.R.zb.call(this,a,b,c);this.Qd=a;this.Pd=b;this.Sc=c;null!=this.sb&&Py(this.sb,this.Qd,this.Pd,this.Sc)};
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.af=function(){null!=this.sb&&this.sb.af()};
g.h.setVolume=function(a){WB.R.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.Hc=function(){return null!=this.sb?this.sb.Hc():-1};
g.h.Le=function(){var a=g.nb(this.nf.g.Bb());(0,g.H)(this.Cb.fb(),g.ya(function(a,c){5==c.Pe()&&g.jb(a,c.Kc)},a));
return a};
g.h.Kb=function(){return null!=this.sb?this.sb.Kb():null};
g.h.Mn=function(){};
g.h.De=function(a){WB.R.De.call(this,a);null!=this.Cb&&(0,g.H)(this.Cb.fb(),function(b){b.De(a)})};
g.h.os=function(){this.wc.Fb();this.wc.Hw();var a=g.ta(0)&&!(0,window.isNaN)(0)?this.nf.g.get(0,[]):[];g.db(a)&&this.ia("contentResumeRequested")};
g.h.handleEvent=function(a){switch(a.type){case "contentTrackingError":break;case "discardAdBreak":iC(this,this.Cb.get(a.g));break;default:g.OB(this.Tj,a),kC(this)}};
g.h.Xh=function(){this.ia("userClose")};
g.h.Wh=function(){this.ia("autoClose")};
g.h.zi=function(a){a.destroy();this.Cb.remove(g.xa(a));this.sb=null;null!=this.bc&&(this.bc.Ba(a,vy,this.dispatchEvent,!1,this),this.bc.Ba(a,"adError",this.Sv,!1,this),this.bc.Ba(a,"allAdsCompleted",this.By,!1,this),this.bc.Ba(a,"contentPauseRequested",this.Zg,!1,this),this.bc.Ba(a,"contentResumeRequested",this.Jf,!1,this),this.bc.Ba(a,"adBreakInitialized",this.Cy,!1,this))};
g.h.wL=function(a){this.Xl=!0;-1==this.Rh?a.A=!1:Q.g()&&!gC(this)||hC(this);lha(this.wc)};
g.h.vK=function(a){var b=a.A,c=0==b,d=-1==b;this.Sj?(c?this.ia("contentResumeRequested"):!d||Q.g()&&!gC(this)||hC(this),this.Sj=!1):(d?g.og(function(){var b=this.Cb.get(a.g);b&&this.zi(b);Q.g()&&!gC(this)||hC(this)},500,this):c&&g.og(function(){this.ia("contentResumeRequested")},100,this),c={},c.adBreakTime=b,this.dispatchEvent(new Mm("adBreakReady",null,c)))};
g.h.Sv=function(a){var b=a.getError(),c=b.Nb();try{var d={};d.ec=c;co($n.getInstance(),44,d)}catch(e){}Q.g()&&b&&"adLoadError"==b.Wb()&&this.dispatchEvent(a)};
g.h.By=function(a){this.zi(a.target);(gC(this)||!Q.g()&&this.Xl)&&hC(this);this.Ad=null;kC(this)};
g.h.Zg=function(){var a=this.wc;a.g.stop();a.o=!1;this.ia("contentPauseRequested")};
g.h.Jf=function(){this.ia("contentResumeRequested");this.bp||sz(this.wc);this.Ad=null};
g.h.Cy=function(a){this.Ad=null;a=a.target;var b={};b.adBreakTime=a.Kc;this.dispatchEvent(new Mm("prefetched",a.Kb(),b));kC(this)};
g.h.ia=function(a){var b=null;null!=this.sb&&(b=this.sb.Kb());this.dispatchEvent(new Mm(a,b))};
g.h.Fi=function(a){return g.Za(this.Cb.fb(),g.ya(function(a,c){return c.Kc==a},a))};
g.h.oA=function(a,b){Q.g()?this.cd=new fC(a,b):this.cd=new eC(a,b);return this.cd};
g.h.ue=function(){return Q.g()&&null!=nC(this)&&null!=nC(this).g?nC(this).g.ue():null};
g.h.Kf=function(a){null!=nC(this)&&nC(this).Kf(a)};
g.h.Mf=function(){return!1};g.C(pC,g.zf);pC.prototype.P=function(){null!=this.g&&(this.g.Ba("adsManagerLoaded",this.dispatchEvent),this.g.Ba("adError",this.dispatchEvent),this.g.Ba("adLoadError",this.dispatchEvent),this.g=null);pC.R.P.call(this)};ac("A AREA BUTTON HEAD INPUT LINK MENU META OPTGROUP OPTION PROGRESS STYLE SELECT SOURCE TEXTAREA TITLE TRACK".split(" "));rC.prototype.stringify=function(a){return Jc(this.o,a)};
rC.prototype.parse=function(a){return this.g(a)};sC.prototype.clone=function(){return new sC(this.g,this.F,this.A,this.C,this.B,this.D,this.o,this.G)};uC.prototype.o=0;uC.prototype.reset=function(){this.g=this.A=this.B;this.o=0};
uC.prototype.getValue=function(){return this.A};g.h=vC.prototype;g.h.Kh=null;g.h.cf=!1;g.h.Cj=null;g.h.Ns=null;g.h.Ik=null;g.h.Qi=null;g.h.Pg=null;g.h.gh=null;g.h.Zh=null;g.h.Yc=null;g.h.Tk=0;g.h.df=null;g.h.ho=null;g.h.Lh=null;g.h.ik=-1;g.h.bA=!0;g.h.yh=!1;g.h.hq=0;g.h.Dn=null;var CC={},AC={};g.h=vC.prototype;g.h.setTimeout=function(a){this.C=a};
g.h.jP=function(a){a=a.target;var b=this.Dn;b&&3==Yw(a)?b.Pi():this.UA(a)};
g.h.UA=function(a){try{if(a==this.Yc)a:{var b=Yw(this.Yc),c=this.Yc.o,d=this.Yc.getStatus();if(g.sc&&!g.kc(10)||g.me&&!g.jc("420+")){if(4>b)break a}else if(3>b||3==b&&!g.Xe&&!ax(this.Yc))break a;this.yh||4!=b||7==c||(8==c||0>=d?this.g.Ye(3):this.g.Ye(2));MC(this);var e=this.Yc.getStatus();this.ik=e;var f=ax(this.Yc);(this.cf=200==e)?(4==b&&EC(this),this.D?(GC(this,b,f),g.Xe&&this.cf&&3==b&&(this.B.T(this.o,"tick",this.aP),this.o.start())):DC(this,f),this.cf&&!this.yh&&(4==b?this.g.vn(this):(this.cf=
!1,zC(this)))):(this.Lh=400==e&&0<f.indexOf("Unknown SID")?3:0,BC(),EC(this),FC(this))}}catch(k){}finally{}};
g.h.aP=function(){var a=Yw(this.Yc),b=ax(this.Yc);this.Tk<b.length&&(MC(this),GC(this,a,b),this.cf&&4!=a&&zC(this))};
g.h.nO=function(a){LC((0,g.A)(this.mO,this,a),0)};
g.h.mO=function(a){this.yh||(MC(this),DC(this,a),zC(this))};
g.h.wz=function(a){LC((0,g.A)(this.lO,this,a),0)};
g.h.lO=function(a){this.yh||(EC(this),this.cf=a,this.g.vn(this),this.g.Ye(4))};
g.h.cancel=function(){this.yh=!0;EC(this)};
g.h.FO=function(){this.Cj=null;var a=(0,g.G)();0<=a-this.Ns?(2!=this.Qi&&this.g.Ye(3),EC(this),this.Lh=2,BC(),FC(this)):KC(this,this.Ns-a)};g.h=QC.prototype;g.h.eq=null;g.h.Yd=null;g.h.En=!1;g.h.lw=null;g.h.qm=null;g.h.fq=null;g.h.gq=null;g.h.ye=null;g.h.jg=-1;g.h.hk=null;g.h.Lj=null;g.h.connect=function(a){this.gq=a;a=RC(this.g,null,this.gq);BC();this.lw=(0,g.G)();var b=this.g.H;null!=b?(this.hk=b[0],(this.Lj=b[1])?(this.ye=1,SC(this)):(this.ye=2,UC(this))):(km(a,"MODE","init"),this.Yd=new vC(this,0,void 0,void 0,void 0),this.Yd.Kh=this.eq,yC(this.Yd,a,!1,null,!0),this.ye=0)};
g.h.zF=function(a){if(a)this.ye=2,UC(this);else{BC();var b=this.g;b.Re=b.Ig.jg;nD(b,9)}a&&this.Ye(2)};
g.h.Cp=function(a){return this.g.Cp(a)};
g.h.abort=function(){this.Yd&&(this.Yd.cancel(),this.Yd=null);this.jg=-1};
g.h.kw=function(){return!1};
g.h.nz=function(a,b){this.jg=a.ik;if(0==this.ye)if(b){try{var c=this.o.parse(b)}catch(d){c=this.g;c.Re=this.jg;nD(c,2);return}this.hk=c[0];this.Lj=c[1]}else c=this.g,c.Re=this.jg,nD(c,2);else if(2==this.ye)if(this.En)BC(),this.fq=(0,g.G)();else if("11111"==b){if(BC(),this.En=!0,this.qm=(0,g.G)(),c=this.qm-this.lw,!g.sc||g.kc(10)||500>c)this.jg=200,this.Yd.cancel(),BC(),TC(this.g,this,!0)}else BC(),this.qm=this.fq=(0,g.G)(),this.En=!1};
g.h.vn=function(){this.jg=this.Yd.ik;if(this.Yd.cf)0==this.ye?this.Lj?(this.ye=1,SC(this)):(this.ye=2,UC(this)):2==this.ye&&((!g.sc||g.kc(10)?!this.En:200>this.fq-this.qm)?(BC(),TC(this.g,this,!1)):(BC(),TC(this.g,this,!0)));else{0==this.ye?BC():2==this.ye&&BC();var a=this.g;a.Re=this.jg;nD(a,2)}};
g.h.Lk=function(){return this.g.Lk()};
g.h.isActive=function(){return this.g.isActive()};
g.h.Ye=function(a){this.g.Ye(a)};g.h=VC.prototype;g.h.Vj=null;g.h.Cd=null;g.h.uc=null;g.h.cq=null;g.h.tm=null;g.h.Lu=null;g.h.Jm=null;g.h.xk=0;g.h.rK=0;g.h.gd=null;g.h.Jg=null;g.h.ag=null;g.h.Ch=null;g.h.Ig=null;g.h.fo=null;g.h.aj=-1;g.h.ox=-1;g.h.Re=-1;g.h.Yj=0;g.h.pi=0;g.h.Ah=8;var oD=new g.zf;g.C(WC,g.Ve);g.C(XC,g.Ve);g.C(YC,g.Ve);g.h=VC.prototype;g.h.connect=function(a,b,c,d,e){BC();this.cq=b;this.Vj=c||{};d&&g.t(e)&&(this.Vj.OSID=d,this.Vj.OAID=e);this.D?(LC((0,g.A)(this.jv,this,a),100),dD(this)):this.jv(a)};
g.h.jv=function(a){this.Ig=new QC(this);this.Ig.eq=null;this.Ig.o=this.C;this.Ig.connect(a)};
g.h.kw=function(){return 0==this.g};
g.h.uz=function(a){this.Jg=null;iD(this,a)};
g.h.rz=function(){this.ag=null;this.uc=new vC(this,0,this.A,"rpc",this.F);this.uc.Kh=null;this.uc.hq=0;var a=this.Lu.clone();g.im(a,"RID","rpc");g.im(a,"SID",this.A);g.im(a,"CI",this.fo?"0":"1");g.im(a,"AID",this.aj);$C(this,a);if(!g.sc||g.kc(10))g.im(a,"TYPE","xmlhttp"),yC(this.uc,a,!0,this.Jm,!1);else{g.im(a,"TYPE","html");var b=this.uc,c=!!this.Jm;b.Qi=3;b.Pg=lm(a.clone());JC(b,c)}};
g.h.nz=function(a,b){if(0!=this.g&&(this.uc==a||this.Cd==a))if(this.Re=a.ik,this.Cd==a&&3==this.g)if(7<this.Ah){var c;try{c=this.C.parse(b)}catch(f){c=null}if(g.qa(c)&&3==c.length)if(0==c[0])a:{if(!this.ag){if(this.uc)if(this.uc.Ik+3E3<this.Cd.Ik)eD(this),this.uc.cancel(),this.uc=null;else break a;lD(this);BC()}}else this.ox=c[1],0<this.ox-this.aj&&37500>c[2]&&this.fo&&0==this.pi&&!this.Ch&&(this.Ch=LC((0,g.A)(this.VK,this),6E3));else nD(this,11)}else b!=Hoa.dV.g&&nD(this,11);else if(this.uc==a&&
eD(this),!D(b)){c=this.C.parse(b);g.qa(c);for(var d=0;d<c.length;d++){var e=c[d];this.aj=e[0];e=e[1];2==this.g?"c"==e[0]?(this.A=e[1],this.Jm=e[2],e=e[3],null!=e?this.Ah=e:this.Ah=6,this.g=3,this.gd&&this.gd.Wu(this),this.Lu=RC(this,this.Lk()?this.Jm:null,this.cq),jD(this)):"stop"==e[0]&&nD(this,7):3==this.g&&("stop"==e[0]?nD(this,7):"noop"!=e[0]&&this.gd&&this.gd.Vu(this,e),this.pi=0)}}};
g.h.VK=function(){null!=this.Ch&&(this.Ch=null,this.uc.cancel(),this.uc=null,lD(this),BC())};
g.h.vn=function(a){var b;if(this.uc==a)eD(this),this.uc=null,b=2;else if(this.Cd==a)this.Cd=null,b=1;else return;this.Re=a.ik;if(0!=this.g)if(a.cf)1==b?((0,g.G)(),oD.dispatchEvent(new XC(oD,a.Zh?a.Zh.length:0)),cD(this),this.B.length=0):jD(this);else{var c=a.Lh,d;if(!(d=3==c||7==c||0==c&&0<this.Re)){if(d=1==b)this.Cd||this.Jg||1==this.g||2<=this.Yj?d=!1:(this.Jg=LC((0,g.A)(this.uz,this,a),kD(this,this.Yj)),this.Yj++,d=!0);d=!(d||2==b&&lD(this))}if(d)switch(c){case 1:nD(this,5);break;case 4:nD(this,
10);break;case 3:nD(this,6);break;case 7:nD(this,12);break;default:nD(this,2)}}};
g.h.WF=function(a){if(!g.cb(arguments,this.g))throw Error("Unexpected channel state: "+this.g);};
g.h.SP=function(a){a?BC():(BC(),mD(this,8))};
g.h.Cp=function(a){if(a)throw Error("Can't create secondary domain capable XhrIo object.");a=new Sw;a.G=!1;return a};
g.h.isActive=function(){return!!this.gd&&this.gd.isActive(this)};
g.h.Ye=function(){oD.dispatchEvent(new YC(oD))};
g.h.Lk=function(){return!(!g.sc||g.kc(10))};
g.h=pD.prototype;g.h.Wu=function(){};
g.h.Vu=function(){};
g.h.Uu=function(){};
g.h.up=function(){};
g.h.Tv=function(){return{}};
g.h.isActive=function(){return!0};g.C(g.rD,g.M);g.h=g.rD.prototype;g.h.subscribe=function(a,b,c){var d=this.o[a];d||(d=this.o[a]=[]);var e=this.Ed;this.g[e]=a;this.g[e+1]=b;this.g[e+2]=c;this.Ed=e+3;d.push(e);return e};
g.h.unsubscribe=function(a,b,c){if(a=this.o[a]){var d=this.g;if(a=g.Za(a,function(a){return d[a+1]==b&&d[a+2]==c}))return this.Kd(a)}return!1};
g.h.Kd=function(a){var b=this.g[a];if(b){var c=this.o[b];0!=this.B?(this.A.push(a),this.g[a+1]=g.y):(c&&g.jb(c,a),delete this.g[a],delete this.g[a+1],delete this.g[a+2])}return!!b};
g.h.V=function(a,b){var c=this.o[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.C)for(e=0;e<c.length;e++){var k=c[e];Gia(this.g[k+1],this.g[k+2],d)}else{this.B++;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.B--,0<this.A.length&&0==this.B)for(;c=this.A.pop();)this.Kd(c)}}return 0!=e}return!1};
g.h.clear=function(a){if(a){var b=this.o[a];b&&((0,g.H)(b,this.Kd,this),delete this.o[a])}else this.g.length=0,this.o={}};
g.h.Gc=function(a){if(a){var b=this.o[a];return b?b.length:0}a=0;for(b in this.o)a+=this.Gc(b);return a};
g.h.P=function(){g.rD.R.P.call(this);this.clear();this.A.length=0};g.sD.prototype.set=function(a,b){g.t(b)?this.g.set(a,g.Lc(b)):this.g.remove(a)};
g.sD.prototype.get=function(a){var b;try{b=this.g.get(a)}catch(c){return}if(null!==b)try{return g.Hc(b)}catch(c){throw"Storage: Invalid value was encountered";}};
g.sD.prototype.remove=function(a){this.g.remove(a)};g.C(tD,g.sD);tD.prototype.set=function(a,b){tD.R.set.call(this,a,vD(b))};
tD.prototype.o=function(a){a=tD.R.get.call(this,a);if(!g.t(a)||a instanceof Object)return a;throw"Storage: Invalid value was encountered";};
tD.prototype.get=function(a){if(a=this.o(a)){if(a=a.data,!g.t(a))throw"Storage: Invalid value was encountered";}else a=void 0;return a};g.C(wD,tD);wD.prototype.set=function(a,b,c){if(b=vD(b)){if(c){if(c<(0,g.G)()){wD.prototype.remove.call(this,a);return}b.expiration=c}b.creation=(0,g.G)()}wD.R.set.call(this,a,b)};
wD.prototype.o=function(a,b){var c=wD.R.o.call(this,a);if(c)if(!b&&g.xD(c))wD.prototype.remove.call(this,a);else return c};g.C(g.yD,wD);g.C(zD,Hia);zD.prototype.Gc=function(){var a=0;g.Sl(this.Od(!0),function(){a++});
return a};
zD.prototype.clear=function(){var a=Zca(this.Od(!0)),b=this;(0,g.H)(a,function(a){b.remove(a)})};g.C(AD,zD);g.h=AD.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.z(a)&&null!==a)throw"Storage mechanism: Invalid value was encountered";return a};
g.h.remove=function(a){this.g.removeItem(a)};
g.h.Gc=function(){return this.g.length};
g.h.Od=function(a){var b=0,c=this.g,d=new Pl;d.next=function(){if(b>=c.length)throw Ql;var d=c.key(b++);if(a)return d;d=c.getItem(d);if(!g.z(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.C(BD,AD);g.C(CD,AD);g.C(DD,zD);DD.prototype.set=function(a,b){this.o.set(this.g+a,b)};
DD.prototype.get=function(a){return this.o.get(this.g+a)};
DD.prototype.remove=function(a){this.o.remove(this.g+a)};
DD.prototype.Od=function(a){var b=this.o.Od(!0),c=this,d=new Pl;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.o.get(d)};
return d};FD.prototype.getValue=function(){return this.g};
FD.prototype.clone=function(){return new FD(this.Ed,this.g)};g.h=GD.prototype;g.h.remove=function(){var a=this.g,b=a.length,c=a[0];if(!(0>=b)){if(1==b)fb(a);else{a[0]=a.pop();for(var a=0,b=this.g,d=b.length,e=b[a];a<d>>1;){var f=2*a+1,k=2*a+2,f=k<d&&b[k].Ed<b[f].Ed?k:f;if(b[f].Ed>e.Ed)break;b[a]=b[f];a=f}b[a]=e}return c.getValue()}};
g.h.fb=function(){for(var a=this.g,b=[],c=a.length,d=0;d<c;d++)b.push(a[d].getValue());return b};
g.h.Bb=function(){for(var a=this.g,b=[],c=a.length,d=0;d<c;d++)b.push(a[d].Ed);return b};
g.h.clone=function(){return new GD(this)};
g.h.Gc=function(){return this.g.length};
g.h.isEmpty=function(){return g.db(this.g)};
g.h.clear=function(){fb(this.g)};g.C(ID,GD);/*
 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.
*/
JD.prototype.cancel=function(a){if(this.g)this.A instanceof JD&&this.A.cancel();else{if(this.o){var b=this.o;delete this.o;a?b.cancel(a):(b.G--,0>=b.G&&b.cancel())}this.M?this.M.call(this.L,this):this.H=!0;this.g||(a=new TD,ND(this),LD(this,!1,a))}};
JD.prototype.J=function(a,b){this.F=!1;LD(this,a,b)};
JD.prototype.cg=function(a){ND(this);LD(this,!0,a)};
JD.prototype.then=function(a,b,c){var d,e,f=new g.Vf(function(a,b){d=a;e=b});
OD(this,d,function(a){a instanceof TD?f.cancel():e(a)});
return f.then(a,b,c)};
Qf(JD);JD.prototype.isError=function(a){return a instanceof Error};
g.C(MD,Ca);MD.prototype.message="Deferred has already fired";MD.prototype.name="AlreadyCalledError";g.C(TD,Ca);TD.prototype.message="Deferred was canceled";TD.prototype.name="CanceledError";SD.prototype.o=function(){delete RD[this.za];throw this.g;};
var RD={};g.C(UD,Pc);var Iia=[2];var Sma={kT:0,iT:1,gT:2,kV:3,jT:4,pV:5,oV:6,mV:7,lV:8,iV:9,jV:10,nV:11,hV:12,lT:13,mT:14,hT:15,nT:16,oT:17},Tma={CT:0,AT:1,zT:2,BT:3,yT:4,tT:5,wT:6,xT:7,vT:8,sT:9,GT:10,rT:11,uT:12,qT:13,ET:14,pT:15,FT:16,DT:17},Uma={JW:0,KW:1,MW:2,LW:3,HW:4,IW:5,qV:6};g.AG=window.performance&&window.performance.timing&&window.performance.now?function(){return window.performance.timing.navigationStart+window.performance.now()}:function(){return(new Date).getTime()};g.WD=window.yt&&window.yt.config_||window.ytcfg&&window.ytcfg.data_||{};g.u("yt.config_",g.WD,void 0);var ZD=window.yt&&window.yt.msgs_||window.ytcfg&&window.ytcfg.msgs||{};g.u("yt.msgs_",ZD,void 0);Aa=function(a,b){b=void 0===b?{}:b;var c=a in ZD?ZD[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};g.bE=void 0;var xE={Fa:function(a){a.reverse()},
rU:function(a,b){a.splice(0,b)},
Tp:function(a,b){var c=a[0];a[0]=a[b%a.length];a[b]=c}};var bka,eka,aka,cka,sQ,uma,Qka,dka,QM,BO,Rka;bka=/^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\/)/;eka=/^https?:\/\/([A-Za-z0-9-]{1,63}\.)*(corp\.google\.com|borg\.google\.com|googleapis\.com|prod\.google\.com|sandbox\.google\.com|staging\-www\.sandbox\.googleapis\.com)(:[0-9]+)?\//;aka=/^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-z]+\.)?[a-z0-9\-]{1,63}\.([a-z]{3}|i)\.corp\.google\.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\/)/;
cka=/^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)/;sQ=/^https?:\/\/([A-Za-z0-9-]{1,63}\.)*(corp\.google\.com|docs\.google\.com|drive\.google\.com|prod\.google\.com|sandbox\.google\.com|plus\.google\.com|mail\.google\.com|youtube\.com|youtubeeducation\.com)(:[0-9]+)?\//;uma=/^https?:\/\/([A-Za-z0-9-]{1,63}\.)*(corp\.google\.com|borg\.google\.com|prod\.google\.com|sandbox\.google\.com|youtube\.com)(:[0-9]+)?\//;
Qka=/^https?:\/\/([A-Za-z0-9-]{1,63}\.)*(corp\.google\.com|borg\.google\.com|prod\.google\.com|video\.google\.com|youtube\.com|youtube\.googleapis\.com|youtube\-nocookie\.com|youtubeeducation\.com)(:[0-9]+)?\/\/*embed(\/+|\?|#|$)/;g.UP=/^((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\-lighthouse(-auth)?\.sandbox\.google\.com(\/image)?))\/|^https?:\/\/(([A-Za-z0-9-]{1,63}\.)*(corp\.google\.com|borg\.google\.com|docs\.google\.com|drive\.google\.com|googleplex\.com|play\.google\.com|prod\.google\.com|sandbox\.google\.com|plus\.google\.com|video\.google\.com|youtube\.com|ytimg\.com)(:[0-9]+)?\/|s2\.googleusercontent\.com\/s2\/favicons\?|yt[3-4]\.ggpht\.com\/)/;
dka=/^https?.*#ocr$|^https?:\/\/(aksecure\.imrworldwide\.com\/|cdn\.imrworldwide\.com\/|secure\-..\.imrworldwide\.com\/)/;g.c4=/^https?:\/\/(googleads\.g\.doubleclick\.net\/(aclk|pagead\/conversion)|www\.google\.com\/(aclk|pagead\/conversion)|www\.googleadservices\.com\/(aclk|pagead\/(aclk|conversion)))/;QM=/^((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\-lighthouse(-auth)?\.sandbox\.google\.com(\/image)?))\/|^https?:\/\/([A-Za-z0-9-]{1,63}\.)*(ba\.l\.google\.com|c\.googlesyndication\.com|corp\.google\.com|borg\.google\.com|docs\.google\.com|drive\.google\.com|googleplex\.com|googlevideo\.com|play\.google\.com|prod\.google\.com|sandbox\.google\.com|plus\.google\.com|mail\.google\.com|ed\.video\.google\.com|vp\.video\.l\.google\.com|youtube\.com|youtubeeducation\.com|xfx7\.com)(:[0-9]+)?\//;
BO=/^https?:\/\/(([A-Za-z0-9-]{1,63}\.)*(imasdk\.googleapis\.com|2mdn\.net|googlesyndication\.com|corp\.google\.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|tpc\.googlesyndication\.com\/safeframe\/|www\.gstatic\.com\/doubleclick\/studio\/innovation\/h5\/layouts\/tetris|www\.gstatic\.com\/doubleclick\/studio\/innovation\/ytplayer)/;
Rka=/^https?:\/\/(([A-Za-z0-9-]{1,63}\.)*(imasdk\.googleapis\.com|corp\.google\.com|borg\.google\.com|docs\.google\.com|drive\.google\.com|googleads\.g\.doubleclick\.net|googleplex\.com|play\.google\.com|prod\.google\.com|sandbox\.google\.com|photos\.google\.com|picasaweb\.google\.com|get\.google\.com|lh2\.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|youtubeeducation\.com|vevo\.com|jamboard\.google\.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]))\/(search|webhp)\?|24e12c4a-a-95274a9c-s-sites\.googlegroups\.com\/a\/google\.com\/flash-api-test-harness\/apiharness\.swf|lightbox-(demos|builder)\.appspot\.com\/|s[01](qa)?\.2mdn\.net\/ads\/richmedia\/studio\/mu\/templates\/tetris|tpc\.googlesyndication\.com\/safeframe\/|www\.gstatic\.com\/doubleclick\/studio\/innovation\/h5\/layouts\/tetris)/;(0,g.G)();var BE=g.t(window.XMLHttpRequest)?function(){return new window.XMLHttpRequest}:g.t(window.ActiveXObject)?function(){return new window.ActiveXObject("Microsoft.XMLHTTP")}:null;var RE={"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"};var CL=EO||DO;var iF={},Qia=0;var Sia={fU:"net.badstatus",ZY:"net.retryexhausted",TIMEOUT:"net.timeout",UNKNOWN:"net.unknown"};g.p(jF,Ca);var Ria=jF;g.C(mF,Ca);mF.prototype.name="BiscottiError";g.C(nF,Ca);nF.prototype.name="BiscottiMissingError";oF.prototype.then=function(a,b,c){try{if(g.t(this.o))return a?Zf(a.call(c,this.o)):Zf(this.o);if(g.t(this.g)){if(!b)return $f(this.g);var d=b.call(c,this.g);return!g.t(d)&&this.g.A?$f(this.g):Zf(d)}throw Error("Invalid Result_ state");}catch(e){return $f(e)}};
Qf(oF);var rF={format:"RAW",method:"GET",timeout:5E3,withCredentials:!0},pF=null;var wF={};var opa,BF;opa=0;BF=g.me?"webkit":g.fh?"moz":g.sc?"ms":g.Xe?"o":"";g.ppa=g.w("ytDomDomGetNextId")||function(){return++opa};
g.u("ytDomDomGetNextId",g.ppa,void 0);var Uia={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};HF.prototype.preventDefault=function(){this.event&&(this.event.returnValue=!1,this.event.preventDefault&&this.event.preventDefault())};
HF.prototype.gx=function(){return this.event?!1===this.event.returnValue:!1};
HF.prototype.stopPropagation=function(){this.event&&(this.event.cancelBubble=!0,this.event.stopPropagation&&this.event.stopPropagation())};
HF.prototype.stopImmediatePropagation=function(){this.event&&(this.event.cancelBubble=!0,this.event.stopImmediatePropagation&&this.event.stopImmediatePropagation())};var JF=g.w("ytEventsEventsListeners")||{};g.u("ytEventsEventsListeners",JF,void 0);var KF=g.w("ytEventsEventsCounter")||{count:0};g.u("ytEventsEventsCounter",KF,void 0);var qpa=Ef(function(){var a=!1;try{var b=Object.defineProperty({},"passive",{get:function(){a=!0}});
window.addEventListener("test",null,b)}catch(c){}return a});g.VF.prototype.T=function(a,b,c,d){c=(0,g.A)(c,d||this.o);a=g.LF(a,b,c);this.g.push(a);return a};
g.VF.prototype.Ba=function(a){g.MF(a);g.jb(this.g,a)};g.p(XF,g.M);XF.prototype.U=function(a,b,c,d,e){c=AE((0,g.A)(c,d||this.o));c={target:a,name:b,cg:c};var f;e&&qpa()&&(f={passive:!0});a.addEventListener(b,c.cg,f);this.g.push(c);return c};
XF.prototype.Ba=function(a){for(var b=0;b<this.g.length;b++)if(this.g[b]==a){this.g.splice(b,1);a.target.removeEventListener(a.name,a.cg,!1);break}};
XF.prototype.P=function(){YF(this);g.M.prototype.P.call(this)};g.C(g.ZF,g.M);g.ZF.prototype.subscribe=function(a,b,c){return this.ma()?0:this.aa.subscribe(a,b,c)};
g.ZF.prototype.unsubscribe=function(a,b,c){return this.ma()?!1:this.aa.unsubscribe(a,b,c)};
g.ZF.prototype.Kd=function(a){return this.ma()?!1:this.aa.Kd(a)};
g.ZF.prototype.V=function(a,b){return this.ma()?!1:this.aa.V.apply(this.aa,arguments)};g.p(g.aG,g.ZF);g.h=g.aG.prototype;g.h.cancel=function(){this.B&&(this.B=!1,this.V("dragend",0,0,null));this.o&&(this.o=!1,this.V("hoverend",0,0,null),YF(this.g),$F(this))};
g.h.Ix=function(a){YF(this.g);bG(this,cG("move"),this.Gx);bG(this,cG("out"),this.Hx);bG(this,"touchstart",this.nr);this.A&&bG(this,cG("down"),this.mr);var b=g.NF(a);a=PF(a);this.o=!0;this.V("hoverstart",a.x,a.y,b);this.V("hovermove",a.x,a.y,b)};
g.h.Gx=function(a){var b=g.NF(a);a=PF(a);if(this.C){var c=this.C;this.C=null;if(QF(c)==b&&Wd(PF(c),a))return}this.V("hovermove",a.x,a.y,b)};
g.h.Hx=function(a){var b=PF(a),c=QF(a);c&&g.Fe(this.D,c)?(this.C=a,this.V("hovermove",b.x,b.y,c)):(YF(this.g),$F(this),this.o=!1,this.V("hoverend",b.x,b.y,c))};
g.h.jK=function(a){this.Ix(a);this.mr(a)};
g.h.mr=function(a){if(!g.ta(a.button)||0==a.button){YF(this.g);this.g.U(window.document,cG("move"),this.iK);this.g.U(window.document,cG("up"),this.RI);var b=g.NF(a);if(g.me)bG(this,"dragstart",this.PF);else if(g.UF(a),(g.WO||g.fh)&&b)a:{for(var c=b;c;){if(g.Le(c)||"-1"===c.getAttribute("tabindex")){c.focus();break a}c=c.parentElement}window.document.activeElement.blur()}this.B=!0;a=PF(a);this.V("dragstart",a.x,a.y,b);this.V("dragmove",a.x,a.y,b)}};
g.h.PF=function(a){g.UF(a)};
g.h.iK=function(a){var b=g.NF(a);b==window.document&&(b=null);a=PF(a);this.V("hovermove",a.x,a.y,b);this.V("dragmove",a.x,a.y,b)};
g.h.RI=function(a){YF(this.g);this.B=!1;var b=RF(a),c=g.NF(a);a=PF(a);b&&g.Fe(this.D,b)?(bG(this,cG("move"),this.Gx),bG(this,cG("out"),this.Hx),bG(this,cG("down"),this.mr),bG(this,"touchstart",this.nr),this.V("dragend",a.x,a.y,c)):($F(this),this.o=!1,this.V("dragend",a.x,a.y,c),this.V("hoverend",a.x,a.y,c))};
g.h.nr=function(a){var b=a.changedTouches[0];b&&(YF(this.g),bG(this,"touchmove",this.SI),bG(this,"touchend",this.Jx),bG(this,"touchcancel",this.Jx),this.F=b.identifier,a=g.NF(a),this.o||(this.o=!0,this.V("hoverstart",b.pageX,b.pageY,a)),this.V("hovermove",b.pageX,b.pageY,a),this.A&&(this.B=!0,this.V("dragstart",b.pageX,b.pageY,a),this.V("dragmove",b.pageX,b.pageY,a)))};
g.h.SI=function(a){var b=dG(this,a);b&&(this.A&&g.UF(a),a=g.NF(a),this.V("hovermove",b.pageX,b.pageY,a),this.A&&this.V("dragmove",b.pageX,b.pageY,a))};
g.h.Jx=function(a){var b=dG(this,a);if(b){YF(this.g);$F(this);this.o=!1;var c=g.NF(a);this.A&&(this.G||g.UF(a),this.B=!1,this.V("dragend",b.pageX,b.pageY,c));this.V("hoverend",b.pageX,b.pageY,c)}};
g.h.P=function(){this.A&&(g.me&&this.D.removeAttribute("draggable"),this.D.style.touchAction="");YF(this.g);g.ZF.prototype.P.call(this)};var Wia={enablejsapi:1},Xia={},Yia={allowscriptaccess:"always",allowfullscreen:"true",bgcolor:"#000000"};fG.prototype.clone=function(){var a=new fG,b;for(b in this)if(this.hasOwnProperty(b)){var c=this[b];"object"==pa(c)?a[b]=Wb(c):a[b]=c}return a};var SG={},RG=0;var cja={bU:"atp",uZ:"ska",LY:"que",WX:"mus",qZ:"sus"};var rpa=g.w("ytPubsubPubsubInstance")||new g.rD;g.rD.prototype.subscribe=g.rD.prototype.subscribe;g.rD.prototype.unsubscribeByKey=g.rD.prototype.Kd;g.rD.prototype.publish=g.rD.prototype.V;g.rD.prototype.clear=g.rD.prototype.clear;g.u("ytPubsubPubsubInstance",rpa,void 0);g.jG=g.w("ytPubsubPubsubSubscribedKeys")||{};g.u("ytPubsubPubsubSubscribedKeys",g.jG,void 0);g.lG=g.w("ytPubsubPubsubTopicToKeys")||{};g.u("ytPubsubPubsubTopicToKeys",g.lG,void 0);var kG=g.w("ytPubsubPubsubIsSynchronous")||{};
g.u("ytPubsubPubsubIsSynchronous",kG,void 0);var $ia={log_event:"events",log_interaction:"interactions"},zG={},rG={},xG=0,yG=g.w("ytLoggingTransportLogPayloadsQueue_")||{};g.u("ytLoggingTransportLogPayloadsQueue_",yG,void 0);var sG=g.w("ytLoggingTransportTokensToCttTargetIds_")||{};g.u("ytLoggingTransportTokensToCttTargetIds_",sG,void 0);g.EG.prototype.o=function(){return{context:GG(this.g)}};
g.EG.prototype.A=function(a,b,c){g.YD("VISITOR_DATA")||g.zE(Error("Missing VISITOR_DATA when sending innertube request."));var d={headers:{"Content-Type":"application/json","X-Goog-Visitor-Id":g.YD("VISITOR_DATA","")},Rb:b,Hz:"JSON",Xc:c.Xc,Lb:function(a,b){c.Lb&&c.Lb(b)},
onError:function(a,b){if(c.onError)c.onError(b)},
timeout:c.timeout,withCredentials:!0},e=g.Ol([]);e&&(d.headers.Authorization=e,d.headers["X-Goog-AuthUser"]=g.YD("SESSION_INDEX",0));var f=this.g.xhrApiaryHost;f.startsWith("http")||(f="//"+f);if(g.eG("youtubei_for_web")||g.eG("unplugged_web_same_op_domain"))f="";var k=this.g.Wm;k&&(f=k);e&&!f&&(d.headers["x-origin"]=window.location.origin);g.VE(""+f+IG(this.g.innertubeApiVersion,a,b)+"?alt=json&key="+this.g.innertubeApiKey,d)};var PG=g.w("ytLoggingLatencyUsageStats_")||{};g.u("ytLoggingLatencyUsageStats_",PG,void 0);var QG=0;var spa;spa=new BD;g.TG=spa.isAvailable()?new g.yD(spa):null;var UG,tpa=new CD;UG=tpa.isAvailable()?new g.yD(tpa):null;ZG.prototype.Yl=function(){var a=new ZG({id:this.id,name:this.name,app:this.app,type:this.type,user:this.username,userAvatarUri:this.avatar,theme:this.theme,capabilities:this.capabilities.fb().join(","),experiments:this.experiments.fb().join(",")});a.A=this.A;a.o=this.o;a.g=this.g;return a};g.C(aH,g.M);aH.prototype.C=function(){500<this.g&&24E4>2*this.g&&(this.g*=2);this.B();this.A&&this.start()};
aH.prototype.start=function(){this.o.Qe(this.g);this.A=(0,g.G)()+this.g};
aH.prototype.stop=function(){this.o.stop();this.A=0};
aH.prototype.isActive=function(){return this.o.isActive()};g.C(bH,pD);g.h=bH.prototype;g.h.subscribe=function(a,b,c){return this.A.subscribe(a,b,c)};
g.h.unsubscribe=function(a,b,c){return this.A.unsubscribe(a,b,c)};
g.h.Kd=function(a){return this.A.Kd(a)};
g.h.V=function(a,b){return this.A.V.apply(this.A,arguments)};
g.h.dispose=function(){this.J||(this.J=!0,g.Te(this.A),cH(this),g.Te(this.o),this.o=null)};
g.h.ma=function(){return this.J};
g.h.connect=function(a,b,c){if(!this.g||2!=this.g.g){this.H="";this.o.stop();this.C=a||null;this.B=b||0;a=this.L+"/test";b=this.L+"/bind";var d=new VC("1",c?c.firstTestResults:null,c?c.secondTestResults:null,this.M),e=this.g;e&&(e.gd=null);d.gd=this;this.g=d;e?this.g.connect(a,b,this.D,e.A,e.aj):c?this.g.connect(a,b,this.D,c.sessionId,c.arrayId):this.g.connect(a,b,this.D)}};
g.h.sendMessage=function(a,b){var c={_sc:a};b&&g.$b(c,b);this.o.isActive()||2==(this.g?this.g.g:0)?this.F.push(c):dH(this)&&fD(this.g,c)};
g.h.Wu=function(){$G(this.o);this.C=null;this.B=0;if(this.F.length){var a=this.F;this.F=[];for(var b=0,c=a.length;b<c;++b)fD(this.g,a[b])}this.V("handlerOpened")};
g.h.Uu=function(a,b){var c=2==b&&401==this.g.Re;if(4!=b&&!c){if(6==b||410==this.g.Re)c=this.o,c.o.stop(),c.g=500;this.o.start()}this.V("handlerError",b)};
g.h.up=function(a,b,c){if(!this.o.isActive())this.V("handlerClosed");else if(c)for(a=0,b=c.length;a<b;++a){var d=c[a].map;d&&this.F.push(d)}};
g.h.Tv=function(){var a={v:2};this.H&&(a.gsessionid=this.H);0!=this.B&&(a.ui=""+this.B);0!=this.G&&(a.ui=""+this.G);this.C&&g.$b(a,this.C);return a};
g.h.Vu=function(a,b){"S"==b[0]?this.H=b[1]:"gracefulReconnect"==b[0]?($G(this.o),this.o.start(),bD(this.g)):this.V("handlerMessage",new bja(b[0],b[1]))};
g.h.vQ=function(){this.o.isActive();var a=this.g,b=0;a.uc&&b++;a.Cd&&b++;0!=b?this.o.start():this.connect(this.C,this.B)};var ija=(0,g.G)(),gH=null,kH=Array(50),jH=-1,lH=!1;g.C(g.vH,g.ZF);g.vH.prototype.Td=function(){return this.g};
g.vH.prototype.contains=function(a){return!!g.tH(this.g,a)};
g.vH.prototype.get=function(a){return a?g.uH(this.g,a):null};
g.vH.prototype.info=function(a){g.iH(this.F,a)};g.C(xH,g.ZF);var upa=[2E3,2E3,1E3,1E3,1E3,2E3,2E3,5E3,5E3,1E4];g.h=xH.prototype;g.h.start=function(){!this.g&&(0,window.isNaN)(this.o)&&this.YA()};
g.h.stop=function(){this.g&&(this.g.abort(),this.g=null);(0,window.isNaN)(this.o)||(g.EE(this.o),this.o=window.NaN)};
g.h.P=function(){this.stop();xH.R.P.call(this)};
g.h.YA=function(){this.o=window.NaN;this.g=g.TE(this.F.Ih("/pairing/get_screen"),{method:"POST",Rb:{pairing_code:this.D},timeout:5E3,Lb:(0,g.A)(this.AQ,this),onError:(0,g.A)(this.zQ,this),Xc:(0,g.A)(this.BQ,this)})};
g.h.AQ=function(a,b){this.g=null;var c=b.screen||{};c.dialId=this.B;c.name=this.C;this.V("pairingComplete",new mH(c))};
g.h.zQ=function(a){this.g=null;a.status&&404==a.status?this.A>=upa.length?this.V("pairingFailed",Error("DIAL polling timed out")):(a=upa[this.A],this.o=g.GE((0,g.A)(this.YA,this),a),this.A++):this.V("pairingFailed",Error("Server error "+a.status))};
g.h.BQ=function(){this.g=null;this.V("pairingFailed",Error("Server not responding"))};var JH,EH="";g.C(MH,g.vH);g.h=MH.prototype;g.h.start=function(){LH(this)&&this.V("screenChange");!g.WG("yt-remote-lounge-token-expiration")&&NH(this);g.EE(this.o);this.o=g.GE((0,g.A)(this.start,this),1E4)};
g.h.po=function(a,b){LH(this);wH(this,a);OH(this,!1);this.V("screenChange");b(a);a.token||NH(this)};
g.h.remove=function(a,b){var c=LH(this);lja(this,a)&&(OH(this,!1),c=!0);b(a);c&&this.V("screenChange")};
g.h.ao=function(a,b,c,d){var e=LH(this),f=this.get(a.id);f?(f.name!=b&&(f.name=b,OH(this,!1),e=!0),c(a)):d(Error("no such local screen."));e&&this.V("screenChange")};
g.h.P=function(){g.EE(this.o);MH.R.P.call(this)};
g.h.AG=function(a){LH(this);var b=this.g.length;a=a&&a.screens||[];for(var c=0,d=a.length;c<d;++c){var e=a[c],f=this.get(e.screenId);f&&(f.token=e.loungeToken,--b)}OH(this,!b);b&&g.iH(this.F,"Missed "+b+" lounge tokens.")};
g.h.zG=function(a){g.iH(this.F,"Requesting lounge tokens failed: "+a)};g.C(QH,g.ZF);g.h=QH.prototype;g.h.start=function(){var a=(0,window.parseInt)(g.WG("yt-remote-fast-check-period")||"0",10);(this.B=(0,g.G)()-144E5<a?0:a)?TH(this):(this.B=(0,g.G)()+3E5,g.VG("yt-remote-fast-check-period",this.B),this.Tr())};
g.h.isEmpty=function(){return g.Tb(this.g)};
g.h.update=function(){PH("Updating availability on schedule.");var a=this.D(),b=g.Jb(this.g,function(b,d){return b&&!!g.uH(a,d)},this);
SH(this,b)};
g.h.P=function(){g.EE(this.A);this.A=window.NaN;this.o&&(this.o.abort(),this.o=null);QH.R.P.call(this)};
g.h.Tr=function(){g.EE(this.A);this.A=window.NaN;this.o&&this.o.abort();var a=UH(this);if(g.Lb(a)){var b=this.C.Ih("/pairing/get_screen_availability");this.o=this.C.Ts(b,{lounge_token:g.Ob(a).join(",")},(0,g.A)(this.MN,this,a),(0,g.A)(this.LN,this))}else SH(this,{}),TH(this)};
g.h.MN=function(a,b){this.o=null;var c=g.Ob(UH(this));if(g.zb(c,g.Ob(a))){for(var c=b.screens||[],d={},e=0,f=c.length;e<f;++e)d[a[c[e].loungeToken]]="online"==c[e].status;SH(this,d);TH(this)}else this.jc("Changing Screen set during request."),this.Tr()};
g.h.LN=function(a){this.jc("Screen availability failed: "+a);this.o=null;TH(this)};
g.h.jc=function(a){g.iH("OnlineScreenService",a)};g.C(g.VH,g.vH);g.h=g.VH.prototype;g.h.start=function(){this.A.start();this.o.start();this.g.length&&(this.V("screenChange"),this.o.isEmpty()||this.V("onlineScreenChange"))};
g.h.po=function(a,b,c){this.A.po(a,b,c)};
g.h.remove=function(a,b,c){this.A.remove(a,b,c);this.o.update()};
g.h.ao=function(a,b,c,d){this.A.contains(a)?this.A.ao(a,b,c,d):(a="Updating name of unknown screen: "+a.name,g.iH(this.F,a),d(Error(a)))};
g.h.Td=function(a){return a?this.g:g.lb(this.g,(0,g.Ae)(this.B,function(a){return!this.contains(a)},this))};
g.h.ZA=function(){return(0,g.Ae)(this.Td(!0),function(a){return!!this.o.g[a.id]},this)};
g.h.aB=function(a,b,c,d,e){this.info("getDialScreenByPairingCode "+a+" / "+b);var f=new xH(this.D,a,b,c);f.subscribe("pairingComplete",(0,g.A)(function(a){g.Te(f);d(WH(this,a))},this));
f.subscribe("pairingFailed",function(a){g.Te(f);e(a)});
f.start();return(0,g.A)(f.stop,f)};
g.h.DQ=function(a,b,c,d){g.TE(this.D.Ih("/pairing/get_screen"),{method:"POST",Rb:{pairing_code:a},timeout:5E3,Lb:(0,g.A)(function(a,d){var e=new mH(d.screen||{});if(!e.name||YH(this,e.name)){var f;a:{f=e.name;for(var m=2,n=b(f,m);YH(this,n);){m++;if(20<m)break a;n=b(f,m)}f=n}e.name=f}c(WH(this,e))},this),
onError:(0,g.A)(function(a){d(Error("pairing request failed: "+a.status))},this),
Xc:(0,g.A)(function(){d(Error("pairing request timed out."))},this)})};
g.h.P=function(){g.Te(this.A);g.Te(this.o);g.VH.R.P.call(this)};
g.h.PG=function(){ZH(this);this.V("screenChange");this.o.update()};
g.VH.prototype.dispose=g.VH.prototype.dispose;g.C(aI,g.ZF);g.h=aI.prototype;g.h.wn=function(a){this.A=a;this.V("sessionScreen",this.A)};
g.h.Wd=function(a){this.ma()||(a&&bI(this,""+a),this.A=null,this.V("sessionScreen",null))};
g.h.info=function(a){g.iH(this.M,a)};
g.h.cB=function(){return null};
g.h.Zr=function(a){var b=this.o;a?(b.displayStatus=new window.chrome.cast.ReceiverDisplayStatus(a,[]),b.displayStatus.showStop=!0):b.displayStatus=null;window.chrome.cast.setReceiverDisplayStatus(b,(0,g.A)(function(){this.info("Updated receiver status for "+b.friendlyName+": "+a)},this),(0,g.A)(function(){bI(this,"Failed to update receiver status for: "+b.friendlyName)},this))};
g.h.P=function(){this.Zr("");aI.R.P.call(this)};g.C(dI,aI);g.h=dI.prototype;g.h.Yr=function(a){if(this.g){if(this.g==a)return;bI(this,"Overriding cast sesison with new session object");this.g.removeUpdateListener(this.D);this.g.removeMessageListener("urn:x-cast:com.google.youtube.mdx",this.C)}this.g=a;this.g.addUpdateListener(this.D);this.g.addMessageListener("urn:x-cast:com.google.youtube.mdx",this.C);sja(this)};
g.h.bj=function(a){this.info("launchWithParams no-op for Cast: "+g.Lc(a))};
g.h.stop=function(){this.g?this.g.stop((0,g.A)(function(){this.Wd()},this),(0,g.A)(function(){this.Wd(Error("Failed to stop receiver app."))},this)):this.Wd(Error("Stopping cast device witout session."))};
g.h.Zr=g.y;g.h.P=function(){this.info("disposeInternal");g.EE(this.B);this.B=0;this.g&&(this.g.removeUpdateListener(this.D),this.g.removeMessageListener("urn:x-cast:com.google.youtube.mdx",this.C));this.g=null;dI.R.P.call(this)};
g.h.OO=function(a,b){if(!this.ma())if(b){var c=Ic(b);if(c){var d=""+c.type,c=c.data||{};this.info("onYoutubeMessage_: "+d+" "+g.Lc(c));switch(d){case "mdxSessionStatus":cI(this,c.screenId);break;default:bI(this,"Unknown youtube message: "+d)}}else bI(this,"Unable to parse message.")}else bI(this,"No data in message.")};
g.h.cw=function(a,b,c,d){XH(this.H,this.o.label,a,this.o.friendlyName,(0,g.A)(function(e){e?b(e):0<=d?(bI(this,"Screen "+a+" appears to be offline. "+d+" retries left."),g.GE((0,g.A)(this.cw,this,a,b,c,d-1),300)):c(Error("Unable to fetch screen."))},this),c)};
g.h.cB=function(){return this.g};
g.h.EQ=function(a){this.ma()||a||(bI(this,"Cast session died."),this.Wd())};g.C(eI,aI);g.h=eI.prototype;g.h.Yr=function(a){this.B=a;this.B.addUpdateListener(this.L)};
g.h.bj=function(a){this.C=a;this.F()};
g.h.stop=function(){this.g();this.g=g.y;g.EE(this.D);this.B?this.B.stop((0,g.A)(this.Wd,this,null),(0,g.A)(this.Wd,this,"Failed to stop DIAL device.")):this.Wd()};
g.h.P=function(){this.g();this.g=g.y;g.EE(this.D);this.B&&this.B.removeUpdateListener(this.L);this.B=null;eI.R.P.call(this)};
g.h.HQ=function(a){this.ma()||a||(bI(this,"DIAL session died."),this.g(),this.g=g.y,this.Wd())};
g.h.Oq=function(a){this.J=g.sH();if(this.C){var b=new window.chrome.cast.DialLaunchResponse(!0,gI(this));a(b);fI(this)}else this.F=(0,g.A)(function(){g.EE(this.D);this.F=g.y;this.D=window.NaN;var b=new window.chrome.cast.DialLaunchResponse(!0,gI(this));a(b);fI(this)},this),this.D=g.GE((0,g.A)(function(){this.F()},this),100)};
g.h.pI=function(a,b){XH(this.H,this.G.receiver.label,a,this.o.friendlyName,(0,g.A)(function(a){a&&a.token?(this.wn(a),b(new window.chrome.cast.DialLaunchResponse(!1))):this.Oq(b)},this),(0,g.A)(function(a){bI(this,"Failed to get DIAL screen: "+a);
this.Oq(b)},this))};g.C(hI,aI);hI.prototype.stop=function(){this.Wd()};
hI.prototype.Yr=g.y;hI.prototype.bj=function(){g.EE(this.g);this.g=window.NaN;var a=g.uH(this.H.Td(),this.o.label);a?this.wn(a):this.Wd(Error("No such screen"))};
hI.prototype.P=function(){g.EE(this.g);this.g=window.NaN;hI.R.P.call(this)};g.C(g.iI,g.ZF);g.h=g.iI.prototype;
g.h.init=function(a,b){window.chrome.cast.timeout.requestSession=3E4;var c=new window.chrome.cast.SessionRequest("233637DE");c.dialRequest=new window.chrome.cast.DialRequest("YouTube");var d=window.chrome.cast.AutoJoinPolicy.TAB_AND_ORIGIN_SCOPED,e=a?window.chrome.cast.DefaultActionPolicy.CAST_THIS_TAB:window.chrome.cast.DefaultActionPolicy.CREATE_SESSION,c=new window.chrome.cast.ApiConfig(c,(0,g.A)(this.oz,this),(0,g.A)(this.yN,this),d,e);c.customDialLaunchCallback=(0,g.A)(this.GL,this);window.chrome.cast.initialize(c,
(0,g.A)(function(){this.ma()||(window.chrome.cast.addReceiverActionListener(this.B),fja(),this.o.subscribe("onlineScreenChange",(0,g.A)(this.bB,this)),this.A=nI(this),window.chrome.cast.setCustomReceivers(this.A,g.y,(0,g.A)(function(a){this.jc("Failed to set initial custom receivers: "+g.Lc(a))},this)),this.V("yt-remote-cast2-availability-change",lI(this)),b(!0))},this),(0,g.A)(function(a){this.jc("Failed to initialize API: "+g.Lc(a));
b(!1)},this))};
g.h.GP=function(a,b){kI("Setting connected screen ID: "+a+" -> "+b);if(this.g){var c=this.g.A;if(!a||c&&c.id!=a)kI("Unsetting old screen status: "+this.g.o.friendlyName),mI(this,null)}if(a&&b){if(!this.g){c=g.uH(this.o.Td(),a);if(!c){kI("setConnectedScreenStatus: Unknown screen.");return}var d=jI(this,c);d||(kI("setConnectedScreenStatus: Connected receiver not custom..."),d=new window.chrome.cast.Receiver(c.uuid?c.uuid:c.id,c.name),d.receiverType=window.chrome.cast.ReceiverType.CUSTOM,this.A.push(d),
window.chrome.cast.setCustomReceivers(this.A,g.y,(0,g.A)(function(a){this.jc("Failed to set initial custom receivers: "+g.Lc(a))},this)));
kI("setConnectedScreenStatus: new active receiver: "+d.friendlyName);mI(this,new hI(this.o,d),!0)}this.g.Zr(b)}else kI("setConnectedScreenStatus: no screen.")};
g.h.HP=function(a){this.ma()?this.jc("Setting connection data on disposed cast v2"):this.g?this.g.bj(a):this.jc("Setting connection data without a session")};
g.h.GQ=function(){this.ma()?this.jc("Stopping session on disposed cast v2"):this.g?(this.g.stop(),mI(this,null)):kI("Stopping non-existing session")};
g.h.requestSession=function(){window.chrome.cast.requestSession((0,g.A)(this.oz,this),(0,g.A)(this.QN,this))};
g.h.P=function(){this.o.unsubscribe("onlineScreenChange",(0,g.A)(this.bB,this));window.chrome&&window.chrome.cast&&window.chrome.cast.removeReceiverActionListener(this.B);var a=eH,b=g.w("yt.mdx.remote.debug.handlers_");g.jb(b||[],a);g.Te(this.g);g.iI.R.P.call(this)};
g.h.jc=function(a){g.iH("Controller",a)};
g.h.pz=function(a,b){this.g==a&&(b||mI(this,null),this.V("yt-remote-cast2-session-change",b))};
g.h.uN=function(a,b){if(!this.ma())if(a)switch(a.friendlyName=window.chrome.cast.unescape(a.friendlyName),kI("onReceiverAction_ "+a.label+" / "+a.friendlyName+"-- "+b),b){case window.chrome.cast.ReceiverAction.CAST:if(this.g)if(this.g.o.label!=a.label)kI("onReceiverAction_: Stopping active receiver: "+this.g.o.friendlyName),this.g.stop();else{kI("onReceiverAction_: Casting to active receiver.");this.g.A&&this.V("yt-remote-cast2-session-change",this.g.A);break}switch(a.receiverType){case window.chrome.cast.ReceiverType.CUSTOM:mI(this,
new hI(this.o,a));break;case window.chrome.cast.ReceiverType.DIAL:mI(this,new eI(this.o,a));break;case window.chrome.cast.ReceiverType.CAST:mI(this,new dI(this.o,a));break;default:this.jc("Unknown receiver type: "+a.receiverType)}break;case window.chrome.cast.ReceiverAction.STOP:this.g&&this.g.o.label==a.label?this.g.stop():this.jc("Stopping receiver w/o session: "+a.friendlyName)}else this.jc("onReceiverAction_ called without receiver.")};
g.h.GL=function(a){if(this.ma())return window.Promise.reject(Error("disposed"));var b=a.receiver;b.receiverType!=window.chrome.cast.ReceiverType.DIAL&&(this.jc("Not DIAL receiver: "+b.friendlyName),b.receiverType=window.chrome.cast.ReceiverType.DIAL);var c=this.g?this.g.o:null;if(!c||c.label!=b.label)return this.jc("Receiving DIAL launch request for non-clicked DIAL receiver: "+b.friendlyName),window.Promise.reject(Error("illegal DIAL launch"));if(c&&c.label==b.label&&c.receiverType!=window.chrome.cast.ReceiverType.DIAL){if(this.g.A)return kI("Reselecting dial screen."),
this.V("yt-remote-cast2-session-change",this.g.A),window.Promise.resolve(new window.chrome.cast.DialLaunchResponse(!1));this.jc('Changing CAST intent from "'+c.receiverType+'" to "dial" for '+b.friendlyName);mI(this,new eI(this.o,b))}b=this.g;b.G=a;return b.G.appState==window.chrome.cast.DialAppState.RUNNING?new window.Promise((0,g.A)(b.pI,b,(b.G.extraData||{}).screenId||null)):new window.Promise((0,g.A)(b.Oq,b))};
g.h.oz=function(a){if(!this.ma()){kI("New cast session ID: "+a.sessionId);var b=a.receiver;if(b.receiverType!=window.chrome.cast.ReceiverType.CUSTOM){if(!this.g)if(b.receiverType==window.chrome.cast.ReceiverType.CAST)kI("Got resumed cast session before resumed mdx connection."),b.friendlyName=window.chrome.cast.unescape(b.friendlyName),mI(this,new dI(this.o,b),!0);else{this.jc("Got non-cast session without previous mdx receiver event, or mdx resume.");return}var c=this.g.o,d=g.uH(this.o.Td(),c.label);
d&&g.nH(d,b.label)&&c.receiverType!=window.chrome.cast.ReceiverType.CAST&&b.receiverType==window.chrome.cast.ReceiverType.CAST&&(kI("onSessionEstablished_: manual to cast session change "+b.friendlyName),g.Te(this.g),this.g=new dI(this.o,b),this.g.subscribe("sessionScreen",(0,g.A)(this.pz,this,this.g)),this.g.bj(null));this.g.Yr(a)}}};
g.h.FQ=function(){return this.g?this.g.cB():null};
g.h.QN=function(a){this.ma()||(this.jc("Failed to estabilish a session: "+g.Lc(a)),a.code!=window.chrome.cast.ErrorCode.CANCEL&&mI(this,null))};
g.h.yN=function(a){kI("Receiver availability updated: "+a);if(!this.ma()){var b=lI(this);this.C=a==window.chrome.cast.ReceiverAvailability.AVAILABLE;lI(this)!=b&&this.V("yt-remote-cast2-availability-change",lI(this))}};
g.h.bB=function(){this.ma()||(this.A=nI(this),kI("Updating custom receivers: "+g.Lc(this.A)),window.chrome.cast.setCustomReceivers(this.A,g.y,(0,g.A)(function(){this.jc("Failed to set custom receivers.")},this)),this.V("yt-remote-cast2-availability-change",lI(this)))};
g.iI.prototype.setLaunchParams=g.iI.prototype.HP;g.iI.prototype.setConnectedScreenStatus=g.iI.prototype.GP;g.iI.prototype.stopSession=g.iI.prototype.GQ;g.iI.prototype.getCastSession=g.iI.prototype.FQ;g.iI.prototype.requestSession=g.iI.prototype.requestSession;g.iI.prototype.init=g.iI.prototype.init;g.iI.prototype.dispose=g.iI.prototype.dispose;g.oI.prototype.reset=function(a){this.listId="";this.index=-1;this.videoId="";g.pI(this);this.volume=-1;this.muted=!1;a&&(this.index=a.index,this.listId=a.listId,this.videoId=a.videoId,this.g=a.playerState,this.volume=a.volume,this.muted=a.muted,this.audioTrackId=a.audioTrackId,this.o=a.trackData,this.Af=a.hasPrevious,this.hasNext=a.hasNext,this.D=a.playerTime,this.A=a.playerTimeAt,this.C=a.seekableStart,this.F=a.seekableEnd,this.G=a.duration,this.J=a.loadedTime,this.B=a.liveIngestionTime,this.H=
!(0,window.isNaN)(this.B))};
g.oI.prototype.vb=function(){return 1==this.g};
g.oI.prototype.getDuration=function(){return this.H?this.G+((0,g.G)()-this.A)/1E3:this.G};
g.oI.prototype.clone=function(){return new g.oI(g.tI(this))};uI.prototype.o=function(){return this.name};
uI.prototype.getId=function(){return this.id};
uI.prototype.g=function(){return this.isDefault};
uI.prototype.toString=function(){return this.name};
uI.prototype.getName=uI.prototype.o;uI.prototype.getId=uI.prototype.getId;uI.prototype.getIsDefault=uI.prototype.g;g.vI.prototype.toString=function(){return this.languageCode+"_"+this.languageName+"_"+this.g+"_"+this.id+"_"+this.isDefault};g.wI.prototype.toString=function(){return this.o+": "+g.xI(this)+" - "+this.F};
g.wI.prototype.J=ba(0);g.wI.prototype.Be=function(){return!(!this.o||this.g&&!this.g.languageCode)};yI.prototype.g=function(){return this.Nc};
yI.prototype.toString=function(){return this.Nc.name};
yI.prototype.getLanguageInfo=yI.prototype.g;g.C(g.zI,g.ZF);g.h=g.zI.prototype;g.h.connect=function(a,b){if(b){var c=b.listId,d=b.videoId,e=b.index,f=b.currentTime||0;5>=f&&(f=0);var k={videoId:d,currentTime:f};c&&(k.listId=c);g.t(e)&&(k.currentIndex=e);c&&(this.ib.listId=c);this.ib.videoId=d;this.ib.index=e||0;this.ib.state=3;g.qI(this.ib,f);this.B="UNSUPPORTED";AI("Connecting with setPlaylist and params: "+g.Lc(k));this.g.connect({method:"setPlaylist",params:g.Lc(k)},a,FH())}else AI("Connecting without params"),this.g.connect({},a,FH());uja(this)};
g.h.dispose=function(){this.ma()||(this.V("beforeDispose"),BI(this,3));g.zI.R.dispose.call(this)};
g.h.P=function(){CI(this);EI(this);DI(this);g.EE(this.H);this.H=window.NaN;g.EE(this.J);this.J=window.NaN;this.A=null;g.MF(this.S);this.S.length=0;this.g.dispose();g.zI.R.P.call(this);this.B=this.F=this.o=this.ib=this.g=null};
g.h.rG=function(){this.D(2)};
g.h.fL=function(){AI("Channel opened");this.N&&(this.N=!1,DI(this),this.M=g.GE((0,g.A)(function(){AI("Timing out waiting for a screen.");this.D(1)},this),15E3));
oja(dja(this.g),this.ca)};
g.h.cL=function(){AI("Channel closed");(0,window.isNaN)(this.C)?g.IH(!0):g.IH();this.dispose()};
g.h.dL=function(a){g.IH();(0,window.isNaN)(this.G())?(AI("Channel error: "+a+" without reconnection"),this.dispose()):(this.N=!0,AI("Channel error: "+a+" with reconnection in "+this.G()+" ms"),BI(this,2))};
g.h.eL=function(a){a.params?AI("Received: action="+a.action+", params="+g.Lc(a.params)):AI("Received: action="+a.action+" {}");switch(a.action){case "loungeStatus":a=g.Hc(a.params.devices);this.o=(0,g.I)(a,function(a){return new ZG(a)});
a=!!g.Za(this.o,function(a){return"LOUNGE_SCREEN"==a.type});
HI(this,a);break;case "loungeScreenDisconnected":kb(this.o,function(a){return"LOUNGE_SCREEN"==a.type});
HI(this,!1);break;case "remoteConnected":var b=new ZG(g.Hc(a.params.device));g.Za(this.o,function(a){return b?a.id==b.id:!1})||g.gb(this.o,b);
break;case "remoteDisconnected":b=new ZG(g.Hc(a.params.device));kb(this.o,function(a){return b?a.id==b.id:!1});
break;case "gracefulDisconnect":break;case "playlistModified":II(this,a);break;case "nowPlaying":xja(this,a);break;case "onStateChange":JI(this,a);break;case "onAdStateChange":yja(this,a);break;case "onVolumeChanged":zja(this,a);break;case "onSubtitlesTrackChanged":wja(this,a);break;case "nowAutoplaying":Aja(this,a);break;case "autoplayDismissed":this.V("autoplayDismissed");break;case "autoplayUpNext":this.F=a.params.videoId||null;this.V("autoplayUpNext",this.F);break;case "onAutoplayModeChanged":this.B=
a.params.autoplayMode;this.V("autoplayModeChange",this.B);"DISABLED"==this.B&&this.V("autoplayDismissed");break;case "onHasPreviousNextChanged":Bja(this,a);break;default:AI("Unrecognized action: "+a.action)}};
g.h.tP=function(){if(this.A){var a=this.A;this.A=null;this.ib.videoId!=a&&FI(this,"getNowPlaying")}};
g.zI.prototype.subscribe=g.zI.prototype.subscribe;g.zI.prototype.unsubscribeByKey=g.zI.prototype.Kd;g.zI.prototype.ka=function(){var a=3;this.ma()||(a=0,(0,window.isNaN)(this.G())?dH(this.g)&&(0,window.isNaN)(this.C)&&(a=1):a=2);return a};
g.zI.prototype.getProxyState=g.zI.prototype.ka;g.zI.prototype.D=function(a){AI("Disconnecting with "+a);CI(this);this.V("beforeDisconnect",a);1==a&&g.IH();cH(this.g,a);this.dispose()};
g.zI.prototype.disconnect=g.zI.prototype.D;g.zI.prototype.ga=function(){var a=this.ib;this.A&&(a=this.ib.clone(),g.sI(a,this.A,a.index));return g.tI(a)};
g.zI.prototype.getPlayerContextData=g.zI.prototype.ga;
g.zI.prototype.ra=function(a){var b=new g.oI(a);b.videoId&&b.videoId!=this.ib.videoId&&(this.A=b.videoId,g.EE(this.H),this.H=g.GE((0,g.A)(this.tP,this),5E3));var c=[];this.ib.listId==b.listId&&this.ib.videoId==b.videoId&&this.ib.index==b.index||c.push("remoteQueueChange");this.ib.g==b.g&&this.ib.volume==b.volume&&this.ib.muted==b.muted&&g.rI(this.ib)==g.rI(b)&&g.Lc(this.ib.o)==g.Lc(b.o)||c.push("remotePlayerChange");this.ib.reset(a);(0,g.H)(c,function(a){this.V(a)},this)};
g.zI.prototype.setPlayerContextData=g.zI.prototype.ra;g.zI.prototype.ba=function(){var a=this.g.D.id,b=g.Za(this.o,function(b){return"REMOTE_CONTROL"==b.type&&b.id!=a});
return b?b.id:""};
g.zI.prototype.getOtherConnectedRemoteId=g.zI.prototype.ba;g.zI.prototype.G=function(){var a=this.g;return a.o.isActive()?a.o.A-(0,g.G)():window.NaN};
g.zI.prototype.getReconnectTimeout=g.zI.prototype.G;g.zI.prototype.da=function(){return this.B||"UNSUPPORTED"};
g.zI.prototype.getAutoplayMode=g.zI.prototype.da;g.zI.prototype.fa=function(){return this.F||""};
g.zI.prototype.getAutoplayVideoId=g.zI.prototype.fa;g.zI.prototype.va=function(){if(!(0,window.isNaN)(this.G())){var a=this.g.o;g.Kt(a.o);a.start()}};
g.zI.prototype.reconnect=g.zI.prototype.va;g.zI.prototype.na=function(a,b){FI(this,a,b);GI(this)};
g.zI.prototype.sendMessage=g.zI.prototype.na;g.VH.prototype.$_st=g.VH.prototype.start;g.VH.prototype.$_gspc=g.VH.prototype.DQ;g.VH.prototype.$_gsppc=g.VH.prototype.aB;g.VH.prototype.$_c=g.VH.prototype.contains;g.VH.prototype.$_g=g.VH.prototype.get;g.VH.prototype.$_a=g.VH.prototype.po;g.VH.prototype.$_un=g.VH.prototype.ao;g.VH.prototype.$_r=g.VH.prototype.remove;g.VH.prototype.$_gs=g.VH.prototype.Td;g.VH.prototype.$_gos=g.VH.prototype.ZA;g.VH.prototype.$_s=g.VH.prototype.subscribe;g.VH.prototype.$_ubk=g.VH.prototype.Kd;var yZ=16/9,vpa=[.25,.5,.75,1,1.25,1.5,2];var Cja={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",140:"a",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",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:"(",273:"(",274:"(",275:"(",276:"(",314:"(",277:"(",362:"(h",363:"(h",364:"(h",365:"(h",366:"(h",367:"(h",368:"(h"};var eO={name:"width",video:!0,valid:640,Oh:99999},fO={name:"height",video:!0,valid:360,Oh:99999},cO={name:"framerate",video:!0,valid:30,Oh:9999},cM={name:"bitrate",video:!0,valid:3E5,Oh:2E9},dO={name:"eotf",video:!0,valid:"bt709",Oh:"catavision"},XN={name:"channels",video:!1,valid:2,Oh:99},gO={name:"cryptoblockformat",video:!0,valid:"subsample",Oh:"invalidformat"},hO={xl:eO,pl:fO,gW:cO,Ct:cM,UV:dO,IU:XN,ZU:gO};var Dja={aU:"auto",ZZ:"tiny",ZW:"light",yZ:"small",XD:"medium",WW:"large",pW:"hd720",lW:"hd1080",mW:"hd1440",nW:"hd2160",oW:"hd2880",vW:"highres",UNKNOWN:"unknown"},MI={auto:0,tiny:144,light:144,small:240,medium:360,large:480,hd720:720,hd1080:1080,hd1440:1440,hd2160:2160,hd2880:2880,highres:4320},LI="highres hd2880 hd2160 hd1440 hd1080 hd720 large medium small tiny".split(" ");NI.prototype.B=1.3;XI.prototype.g=function(a){return"true"==this.flags[a]};
XI.prototype.o=function(a){return(0,window.parseFloat)(this.flags[a])||0};
XI.prototype.C=function(a){return this.flags[a]?this.flags[a].toString():""};YI.prototype.dispose=function(){if(!this.A){if(this.o)try{window.URL.revokeObjectURL(this.g)}catch(a){}this.A=!0}};
YI.prototype.ma=function(){return this.A};var Bka={52:!0,53:!0,54:!0,55:!0,60:!0,79:!0,87:!0};ZI.prototype.g=function(){return null};
ZI.prototype.A=function(){return!1};var ST=bJ("auto","large",!1),dJ=bJ("auto","auto",!1);$I.prototype.isLocked=function(){return this.A&&!!this.o&&this.o==this.g};
$I.prototype.B=function(a){return a.video?gJ(this,a.video.quality):!1};var d4={},wpa=(d4["api.invalidparam"]=2,d4.auth=150,d4["drm.auth"]=150,d4["heartbeat.net"]=150,d4["heartbeat.servererror"]=150,d4["heartbeat.stop"]=150,d4["html5.unsupportedads"]=5,d4["fmt.noneavailable"]=5,d4["fmt.decode"]=5,d4["fmt.unplayable"]=5,d4["html5.missingapi"]=5,d4["html5.unsupportedlive"]=5,d4["drm.unavailable"]=5,d4);g.C(oJ,g.M);g.h=oJ.prototype;g.h.XQ=function(){return g.Ob(this.B)};
g.h.YQ=function(){return g.Ob(this.C)};
g.h.pa=function(){return this.o};
g.h.addEventListener=function(a,b){if(g.z(b)){var c=b,d=function(){g.w(c).apply(window,arguments)};
b=this.F[c]=d}this.app.S.subscribe(a,b)};
g.h.XF=function(a,b){var c=g.z(b)?a+b:a+g.xa(b);if(!this.D[c]){var d;g.z(b)?d=function(){g.w(b).apply(window,arguments)}:d=b;
var e=(0,g.A)(function(a){d({target:this.A,data:a})},this);
this.D[c]=e;this.app.S.subscribe(a,e)}};
g.h.removeEventListener=function(a,b){if(g.z(b)){var c=this.F[b];Ub(this.F,b);b=c}this.app.S.unsubscribe(a,b)};
g.h.YF=function(a,b){var c=g.z(b)?a+b:a+g.xa(b),d=this.D[c];d&&(this.app.S.unsubscribe(a,d),Ub(this.D,c))};
g.h.Wk=function(){return B2(this.app)};
g.h.ad=function(a,b){this.g&&L2(this.app,!0,this.playerType);Z2(this.app,a,b,void 0,this.playerType)};
g.h.getCurrentTime=function(){return this.app.getCurrentTime(this.playerType)};
g.h.ZQ=function(){var a=g.lV(this.app,this.playerType);if(!a)return 0;a=ZU(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.L.volume};
g.h.setVolume=function(a){sJ(this,a)};
g.h.Ge=function(){return this.app.L.muted};
g.h.mute=function(){tJ(this)};
g.h.xg=function(){uJ(this)};
g.h.He=function(){this.g&&L2(this.app,!0,this.playerType);var a=jV(this.app);2==a?(a=this.app.A.o)&&a.V("control_play"):3==a?g.kV(this.app.A).il("control_play"):fZ(this.app,this.playerType)};
g.h.xd=function(){var a=jV(this.app);2==a?(a=this.app.A.o)&&a.V("control_pause"):3==a?g.kV(this.app.A).il("control_pause"):hZ(this.app,this.playerType)};
g.h.al=function(){var a=this.app;a.X.ga&&(a.g.isFullscreen()&&!a.X.experiments.g("player_external_control_on_classic_desktop")&&g.pV(a.g),a.g.V("pageTransition"));Y2(a)};
g.h.UQ=function(){};
g.h.Fe=function(){return g.lV(this.app,1).va};
g.h.Zk=function(a){z2(this.app,a)};
g.h.Uk=function(){return this.app.X.va?vpa:[1]};
g.h.qo=function(){var a=g.lV(this.app,this.playerType);return a&&(a=a.g.Ma)?a.video.quality:"unknown"};
g.h.ro=function(a){if(!this.app.X.isMobile){var b=g.lV(this.app,this.playerType);b&&TU(b,"p",bJ(a,a,!0))}};
g.h.iB=function(){var a=g.lV(this.app,this.playerType);return a?(a=(0,g.I)(RU(a),function(a){return a.quality}),a.length&&("auto"==a[0]&&a.shift(),a=a.concat(["auto"])),a):[]};
g.h.bR=function(){return this.Ys()};
g.h.cR=function(){return 1};
g.h.Ys=function(){return o2(this.app)};
g.h.dR=function(){return 0};
g.h.setSize=function(){this.app.D.Xf()};
g.h.nB=function(a){Q2(this.app,a?2:1)};
g.h.oB=function(a){Q2(this.app,a)};
g.h.SQ=function(){this.app.g.ya("SUBSCRIBE")};
g.h.TQ=function(){this.app.g.ya("UNSUBSCRIBE")};
g.h.Xk=function(a){"captions"==a&&(a=this.app.A.g)&&!a.loaded&&a.load()};
g.h.so=function(a){"captions"==a&&(a=this.app.A.g)&&a.loaded&&a.dQ()};
g.h.hR=function(a,b,c){a=I2(this.app,lJ(a,b,c),this.playerType);this.g&&L2(this.app,a,this.playerType)};
g.h.gB=function(a,b,c){N2(this.app,lJ(a,b,c),this.playerType)};
g.h.iR=function(a,b,c){a=mJ(a,b,c);b=I2(this.app,a,this.playerType);this.g&&L2(this.app,b,this.playerType);b=this.app;(a=(new g.$l(a.mediaContentUrl)).g)&&NO(b.X,a)};
g.h.WQ=function(a,b,c){b=mJ(a,b,c);N2(this.app,b,this.playerType);a=this.app;(b=(new g.$l(b.mediaContentUrl)).g)&&NO(a.X,b)};
g.h.getVideoUrl=function(){var a=this.app.X;if(a.H)return"";var b=this.app.o.g,c=void 0;b.Aa||(c=Math.floor(this.app.getCurrentTime(1)));return a.getVideoUrl(b.videoId,this.getPlaylistId()||void 0,c)};
g.h.Vk=function(){return A2(this.app)};
g.h.kB=function(){var a=this.app.X,b;if(a.H)b="";else{var c=this.app.o.g.videoId;b=this.app.D.Ya();var d=this.getPlaylistId()||void 0,c="https://"+QO(a)+"/embed/"+c;d&&(c=g.Gg(c,{list:d}));d=!a.experiments.g("enable_responsive_embed_snippet");a.experiments.g("embed_snippet_includes_version")&&(c=g.Gg(c,{ecver:d?"1":"2"}));a=b.width;b=b.height;d?(d=Ha(c),b='<iframe width="'+a+'" height="'+b+'" src="'+d+'" frameborder="0" 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="'+Ha(c)+'" style="position:absolute;width:100%;height:100%;left:0" width="'+d+'" height="360" frameborder="0" allowfullscreen></iframe></div>')}return b};
g.h.fB=function(a,b,c){return T2(this.app,a,b,c)};
g.h.mB=function(a){a:{for(var b=this.app,c=b.o.D.g.g||[],d=0;d<c.length;d++){var e=c[d];if(e.getId()==a){b.o.D.F(e);zV(b,"cuerangesremoved",[e]);a=!0;break a}}a=!1}return a};
g.h.gR=function(a,b,c,d){var e=this.app;e.ca=!1;O2(e,a,b,c,d);this.g&&L2(this.app,!0,this.playerType)};
g.h.VQ=function(a,b,c,d){var e=this.app;e.ca=!0;O2(e,a,b,c,d)};
g.h.Hj=function(){R2(this.app);this.g&&L2(this.app,!0,this.playerType)};
g.h.Yk=function(){S2(this.app);this.g&&L2(this.app,!0,this.playerType)};
g.h.lB=function(a){var b=this.app;!b.N||b.g.isFullscreen()&&!b.sa?b.B&&(b.B.Oc?H2(b,b.B.dc(a),1):b.ca=!1,UQ(b.B,a)):b.g.ya("onPlaylistIndex",a);this.g&&L2(this.app,!0,this.playerType)};
g.h.setShuffle=function(a){var b=this.app.B;b&&b.setShuffle(a)};
g.h.kR=function(a){var b=this.app.B;b&&(b.loop=a)};
g.h.Uf=function(){var a=this.app.B;if(!a)return null;for(var b=[],c=0;c<a.getLength();c++){var d=a.dc(c);d&&b.push(d.videoId)}return b};
g.h.jB=function(){var a=this.app.B;return a?a.Rd():-1};
g.h.getPlaylistId=function(){var a=this.app.B;return a&&a.listId?a.listId.toString():null};
g.h.Ie=function(a,b,c){if(!b)return null;var d=this.app.A;return"captions"==a?(a=d.g)&&a.CB(b,c):null};
g.h.Zc=function(a,b,c){return this.Ie(a,b,c)};
g.h.Gj=function(a){var b=this.app.A;return"captions"==a?(b=b.g)&&b.gS():a?null:(a=[],b.g&&a.push("captions"),a)};
g.h.ha=function(){var a={},b=g.lV(this.app,this.playerType);if(b&&(b=b.g,a.video_id=b.videoId,a.author=b.author,a.title=b.title,b.Ma)){a.video_quality=b.Ma.video.quality;var b=b.Ma.video,c=[];32<b.fps&&c.push("hfr");OI(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.pB=function(){g2(this.app,!0)};
g.h.eR=function(){g2(this.app,!1)};
g.h.hB=function(){var a=this.app.A.o;return a?a.qt():-1};
g.h.fR=function(a){if(a!=this.app.aa.args.video_id)return!1;a=(a=g.lV(this.app,1))?a.A:null;return!(!a||!g.W(a,128)||5!=wpa[a.g.errorCode])};
g.h.aR=function(){var a=this.app.aa.clone();g.za(a.args,MQ(this.app.o.g));return a};
g.h.lR=function(){this.app.X.experiments.g("player_interaction_logging")&&this.app.ba.resume()};
g.h.destroy=function(){this.app.dispose()};
g.h.jR=function(){var a=g.lV(this.app);a&&!g.W(a.A,128)&&(a.V("internalAbandon"),mU(a),kU(a))};
g.h.P=function(){if(this.o){for(var a in this.B)this.o[a]=null;for(a in this.C)this.o[a]=null;this.o=null}this.F=this.D=null;oJ.R.P.call(this)};g.e4={NONE:0,RAISED:1,DEPRESSED:2,tu:3,DROP_SHADOW:4};g.f4={To:"#fff",dF:"#ff0",AD:"#0f0",kD:"#0ff",JC:"#00f",RD:"#f0f",Zt:"#f00",zo:"#080808"};g.g4={It:0,Ut:1,Yt:2,Tt:3,Lo:4,CASUAL:5,CURSIVE:6,Qo:7};yJ.prototype.update=function(){var a=this.o.o()||0,b=g.xJ(this.o);if(a!=this.g||CJ(this,a,b)){if(a<this.g||a-this.g>b-this.C+2||CJ(this,a,b))g.zJ(this),this.B=a;this.C=b;this.g=a}};DJ.prototype.o=function(){return{ps:this.g.o,el:this.g.g}};
DJ.prototype.send=function(){if(!this.A){var a;a=this.o();a=g.Gg(this.g.baseYtUrl+"set_awesome",a);this.g.Ja&&this.videoData.visitorData&&NE(a)?g.TE(a,{headers:{"X-Goog-Visitor-Id":this.videoData.visitorData}}):g.hF(a);this.A=!0}};g.C(EJ,DJ);
EJ.prototype.o=function(){var a=EJ.R.o.call(this);g.za(a,this.g.B);g.za(a,{html5:"1",video_id:this.videoData.videoId,eurl:this.g.na,framer:this.g.uh,list:this.videoData.us||this.videoData.playlistId,w:g.Rd(this.videoData.sf/this.videoData.lengthSeconds,0,1),l:this.videoData.lengthSeconds,plid:this.videoData.playbackId,ei:this.videoData.eventId,access_token:this.videoData.oauthToken,tpmt:AJ(this.B),cpn:this.videoData.clientPlaybackNonce,feature:this.videoData.fh});this.videoData.adFormat&&(a.adformat=
this.videoData.adFormat);var b;(b=(b=this.videoData.referrer)?b.slice(0,128):"")&&(a.referrer=b);if(this.g.experiments.g("legacy_autoplay_flag")?this.g.ca:this.videoData.dh)a.autoplay="1";this.g.tc&&(a.authuser=this.g.tc);this.g.pageId&&(a.pageid=this.g.pageId);this.videoData.Ef&&(a.splay="1");this.videoData.subscribed&&(a.subscribed=this.videoData.subscribed);g.za(a,EJ.R.o.call(this));g.za(a,this.g.B);return a};g.C(HJ,g.M);var Fja={5:"N","-1":"N",3:"B",0:"EN",2:"PA",1:"PL"};
HJ.prototype.C=function(a){if(!this.ma()&&(a=0<=a?a:g.xJ(this.g),"PL"==this.A&&a>=this.B+30&&(g.GJ(this,a,"vps",[this.A]),this.B=a),!g.Tb(this.o)&&!this.L)){KJ(this,a);var b=this.g.F(),c=b.droppedVideoFrames,d=c-this.aa;if(c>b.totalVideoFrames||5E3<d)this.onError("html5.badframedropcount","df."+c+";tf."+b.totalVideoFrames);else 0<d&&g.GJ(this,a,"df",[d]);this.aa=c;a=LJ(this);g.$b(a,this.g.g.B);a=g.Gg(this.g.g.Cg,a);for(var e in this.o)null==this.o[e]?g.zE(Error("Stats report key has invalid value: "+
e),"WARNING"):a+="&"+e+"="+this.o[e].join(",");MJ(this,a);this.o={}}};
HJ.prototype.ga=function(){this.g.videoData.Ff&&RJ(this,"drm-"+this.g.videoData.Ff.g)};
HJ.prototype.onError=function(a,b){var c=g.xJ(this.g);OJ(this,c,a,b);KJ(this,c);NJ(this)};
HJ.prototype.P=function(){HJ.R.P.call(this);g.DE(this.N)};TJ.prototype.send=function(a){if(!this.aa){var b=WJ(this),b=g.Gg(this.ga,b);if(this.G)this.L&&(a={method:"POST",Rb:{atr:this.L}},this.rj&&this.visitorData&&(a.headers={"X-Goog-Visitor-Id":this.visitorData}),g.TE(b,a));else{var c=UJ(this,a);c?g.TE(b,c):g.hF(b,a)}this.aa=!0}};
TJ.prototype.g=function(a){void 0==a&&(a=window.NaN);return(1*a.toFixed(3)).toString()};g.C(XJ,g.M);g.h=XJ.prototype;g.h.DL=function(a,b){if(!this.ma()){this.F=window.NaN;this.A.update();var c=BJ(this.A),d=bK(this,c);b&&(d.D=a);var e=400<this.J;!(1<c.length)&&c[0].isEmpty()||e||(d.o=YJ(this,!0,a));d.send();this.J++}};
g.h.onError=function(a,b){if(!this.ma())this.o.onError(a,b)};
g.h.Nn=function(a){var b=this.g.g,c=this.g.videoData,d={ns:b.Ta,el:b.g,eurl:b.na,fmt:c.Ma?PI(c.Ma):0,html5:1,list:c.playlistId,plid:c.playbackId,cpn:c.clientPlaybackNonce,ei:c.eventId,ps:b.o,noflv:1,st:this.g.o(),video_id:c.videoId,metric:a};if(b.experiments.g("legacy_autoplay_flag")?b.ca:c.dh)d.autoplay="1";"heartbeat"==a&&(d.tpmt=AJ(this.A));g.za(d,b.B);dK(this,g.Gg("//www.youtube.com/live_204",d))};
g.h.bb=function(){};
g.h.P=function(){XJ.R.P.call(this);g.EE(this.F);this.F=window.NaN;var a=this.A;g.DE(a.D);a.D=window.NaN};g.C(jK,oJ);g.h=jK.prototype;g.h.ab=function(){return jV(this.app)};
g.h.fB=function(a,b,c,d,e){return T2(this.app,a,b,c,d,e)};
g.h.mR=function(a,b,c){kO(this.app.X.G,a,{zh:b,Aj:c})};
g.h.oR=function(a,b){N2(this.app,a,b||this.playerType)};
g.h.Wk=function(a){return B2(this.app,a)};
g.h.uo=function(a,b,c,d){I2(this.app,a,c||this.playerType,b,d)};
g.h.tB=function(a,b,c){var d=this.app;b=b||this.playerType||1;c=c||!1;d.ka.get(b+wO(a))||(a=new g.pQ(a),K2(d,a,b,c))};
g.h.Hj=function(a,b){R2(this.app,a,b)};
g.h.Yk=function(a){S2(this.app,a)};
g.h.be=function(a,b,c){Z2(this.app,this.app.getCurrentTime()+a,b,c,this.playerType)};
g.h.KR=function(a){if(a){var b=this.getPlaylistId();if(!b||b==a.list){var c=a.video;(b=this.app.B)?this.app.G.isFullscreen()&&((c=c[b.Rd()])&&c.encrypted_id!=b.dc().videoId||(a.index=b.Rd())):q2(this.app,{list:a.list,index:a.index,playlist_length:c.length});VQ(this.app.B,a);this.ya("onPlaylistUpdate")}}else a=this.app,r2(a),a.g.ya("onPlaylistUpdate")};
g.h.JR=function(){BG()};
g.h.LR=function(a,b){var c=g.lV(this.app,this.playerType||1);c&&c.g.Sf(a,b)};
g.h.getPlayerResponse=function(){var a=g.lV(this.app,this.playerType);return a?a.g.getPlayerResponse():null};
g.h.getStoryboardFormat=function(){return m2(this.app).getStoryboardFormat()};
g.h.rR=function(){var a=this.app.X;return{xc:a.xc,Hb:a.Hb}};
g.h.ha=function(){var a=jK.R.ha.call(this),b=g.lV(this.app,this.playerType);b&&(b=b.g,a.backgroundable=b.backgroundable,a.cpn=b.clientPlaybackNonce,a.isLive=b.Aa,a.itct=b.Vm,a.paidContentOverlayText=DQ(b),a.paidContentOverlayDurationMs=EQ(b));return a};
g.h.getCurrentTime=function(a){return a?this.app.getCurrentTime(a):jK.R.getCurrentTime.call(this)};
g.h.getDuration=function(a){return a?this.app.getDuration(a):jK.R.getDuration.call(this)};
g.h.nh=function(){if(3==this.ab())return g.kV(this.app.A).cS();var a=m2(this.app),b=g.lV(this.app),c=this.app.Dd(),d=a.clipEnd,a=a.clipStart,e=this.getCurrentTime(),f=this.getDuration(),k=ZU(b),l=b.isPeggedToLive(),m=g.lV(this.app,void 0);if(m)var n=EL(m.o),m=(0,window.isNaN)(n)?m.getCurrentTime():n;else m=0;return{allowSeeking:c,clipEnd:d,clipStart:a,current:e,displayedStart:-1,duration:f,ingestionTime:k,isPeggedToLive:l,loaded:m,seekableEnd:XU(b,!0),seekableStart:b.Uc()}};
g.h.Ys=function(a){return o2(this.app,a)};
g.h.nR=function(a){return!!fL().canPlayType(a)};
g.h.wB=function(a,b){var c=g.lV(this.app,this.playerType);if(c){b=b||a;var d=bJ(a,b,!0);g.VG("yt-player-quality",b,2592E3);TU(c,"m",d)}};
g.h.qR=function(){return GQ(m2(this.app),this.app.getCurrentTime())};
g.h.ki=function(a){var b=this.app,c=g.lV(b,this.playerType);c&&b.X.wb.has(a.toString())&&c.C&&(b=aK(c.C,"engage"),b.A=a,b.send(void 0))};
g.h.dl=function(a,b,c){var d=this.app.A.A;d&&d.fl()&&d.jt(a,b,c)};
g.h.uR=function(a,b){var c=this.app.A.D;c&&c.fa&&V_(c.fa,a,b)};
g.h.ji=function(){var a=g.lV(this.app,this.playerType);return a?a.Xs():m2(this.app).gm};
g.h.vB=function(a){3==this.ab()&&g.kV(this.app.A).il("control_set_audio_track",a);var b=g.lV(this.app,this.playerType),c;if(c=b)if(c=!b.ma()&&!g.W(b.A,128)&&!!b.g.rb.g){c=b.B;if(c.ma())a=!0;else{var d=c.F;a=a.id;d.G="m";d.B=d.F.g[a];d.M=d.B;c.V("audioformatchange",new qR(d.M,d.o,d.G));c.A&&!c.A.g.remove?a=!1:(iT(c),BS(c.g),BS(c.B),wT(c),a=!0)}c=!a}c&&(QU(b),OU(b))};
g.h.qB=function(){var a=g.lV(this.app,this.playerType);return a.g.rb?a.g.rb.audioTracks:[]};
g.h.sR=function(){var a=g.lV(this.app,this.playerType);return a&&a.g.Ma?g.fJ(ZT(a.ra,a.g)):"unknown"};
g.h.ER=function(a,b){$2(this.app,a,b)};
g.h.pR=function(){var a=this.app.A.C;a&&a.dG()};
g.h.HR=function(){var a=this.app.A.D;a&&(a.sa=!1,a.vg())};
g.h.vR=function(){var a=this.app.A.D;a&&(a.sa=!0,a.vg())};
g.h.to=function(){return this.app.Ej()};
g.h.GR=function(){return!0};
g.h.sB=function(a){a=g.xZ(this.app.D,a);return{left:a.left,top:a.top,width:a.width,height:a.height}};
g.h.DR=function(a){this.app.X.enableSafetyMode=a};
g.h.zR=function(a){DF();X2(this.app,a?2:0)};
g.h.qp=function(){var a=this.app.A.o;a&&a.destroy();(a=g.lV(this.app))&&WU(a);(a=this.app.A.G)&&a.qI()&&g.iV(this.app.G,!0)};
g.h.al=function(){var a=this.app.X;!a.experiments.g("disable_new_pause_state3")&&SO(a)&&"blazer"!=a.o?this.qp():jK.R.al.call(this)};
g.h.iw=function(){return $U(g.lV(this.app,this.playerType),!0)};
g.h.Zs=function(a){this.app.A.g.Es(a,!0)};
g.h.bl=function(){var a=this.app.A.g;return a?a.Xp():null};
g.h.uB=function(){this.app.A.g.Wz()};
g.h.wR=function(){var a=g.lV(this.app,this.playerType);if(!a)return!1;a=a.g;return!!a&&a.Be()&&!!a.Ma&&a.Ma.video.isAccelerated&&a.Ma.video.A};
g.h.isPeggedToLive=function(){return this.app.isPeggedToLive()};
g.h.CR=function(a){var b=this.app;b.X.Ab=a;b.g.V("minimized")};
g.h.Vk=function(a){return A2(this.app,a)};
g.h.tR=function(){var a=this.app.A.B;if(!a)return{};a=a.DB();return"Spherical"!=a.shader&&"Spherical3D"!=a.shader?{}:{yaw:g.Sd(180*(a.yaw||0)/Math.PI,360),pitch:180*(a.pitch||0)/Math.PI}};
g.h.FR=function(a){var b=this.app.A.B;if(b){var c={shader:"Spherical"};g.ta(a.yaw)&&!(0,window.isNaN)(a.yaw)&&(c.yaw=g.Sd(a.yaw,360)*Math.PI/180);g.ta(a.pitch)&&!(0,window.isNaN)(a.pitch)&&(c.pitch=g.Rd(a.pitch,-90,90)*Math.PI/180);b.EB(c)}};
g.h.yR=function(a){var b=this.app;b.X.xh=a;b.C&&(a=b.C,a.C&&g.zJ(a.C.A))};
g.h.V=function(a,b){this.app.X.Hb&&("videodatachange"==a||"audiotrackchanged"==a||"resize"==a||"cardstatechange"==a)&&this.app.S.V.apply(this.app.S,arguments);this.app.J.V.apply(this.app.J,arguments)};
g.h.ya=function(a,b){this.app.S.V.apply(this.app.S,arguments);this.app.J.V.apply(this.app.J,arguments)};
g.h.xR=function(){};
g.h.IR=function(){this.app.g.ya("settingsmenutoggle")};
g.h.setVolume=function(a,b){sJ(this,a,b)};
g.h.mute=function(a){tJ(this,a)};
g.h.xg=function(a){uJ(this,a)};
g.h.Xk=function(a){if("annotations_module"==a){var b=this.app.A.A;b&&!b.loaded&&b.load()}jK.R.Xk.call(this,a)};
g.h.so=function(a){if("annotations_module"==a){var b=this.app.A.A;b&&b.loaded&&b.unload()}jK.R.so.call(this,a)};
g.h.Ie=function(a,b,c){if(!b)return null;var d=this.app.A;switch(a){case "ad":return(c=d.o)&&c.QB&&c.QB(b);case "remote":return(a=g.kV(d))&&a.bS(b,c);case "spacecast":return(c=d.L)&&c.D(b);case "annotations_module":return(a=d.A)&&a.MR(b,c);case "creatorendscreen":return(a=d.F)&&a.ba(b,c)}return jK.R.Ie.call(this,a,b,c)};
g.h.Gj=function(a){var b=this.app.A;switch(a){case "ad":return(b=b.o)&&b.BS&&"addata adstate breakscount displaystate getContentVideoData loadedadbreaks midrollfreqcap".split(" ");case "remote":return g.kV(b)&&["casting","receivers","currentReceiver","quickCast"];case "annotations_module":return(b=b.A)&&b.NR()}return a?jK.R.Gj.call(this,a):(a=jK.R.Gj.call(this),b.o&&a.push("ad"),g.kV(b)&&a.push("remote"),b.A&&a.push("annotations_module"),b.F&&a.push("creatorendscreen"),a)};
g.h.rB=function(){var a=this.app.D.Ya();return{width:a.width,height:a.height}};
g.h.AR=function(a){var b=this.app.D;b.H=uO(a,!0);b.Xf()};g.p(kK,jK);g.h=kK.prototype;g.h.He=function(){L2(this.app,!0,this.playerType);fZ(this.app,this.playerType)};
g.h.xd=function(){hZ(this.app,this.playerType)};
g.h.be=function(a,b,c){L2(this.app,!0,this.playerType);var d=this.app,e=this.playerType;iZ(d,d.getCurrentTime()+a,b,c,e)};
g.h.ad=function(a,b){L2(this.app,!0,this.playerType);iZ(this.app,a,b,void 0,this.playerType)};
g.h.al=function(){Y2(this.app)};var Uka={Zt:"red",To:"white"};lK.prototype.g=function(a,b){var c=Math.pow(this.C,a);this.A=b*(1-c)+c*this.A;this.B+=a};
lK.prototype.o=function(){return this.A/(1-Math.pow(this.C,this.B))};mK.prototype.g=function(a,b){nK(this,"index");this.B.push({index:this.H++,weight:a,value:b});this.A+=a;for(nK(this,"index");this.A>this.F;){var c=this.A-this.F,d=this.B[0];d.weight<=c?(this.A-=d.weight,this.B.shift()):(this.A-=c,d.weight-=c)}};
mK.prototype.o=function(){return this.D?(oK(this,this.C-this.D)+oK(this,this.C)+oK(this,this.C+this.D))/3:oK(this,this.C)};pK.prototype.g=function(a,b){this.A.push(b);this.A.length>this.B&&this.A.shift()};
pK.prototype.o=function(){return Xaa.apply(null,this.A)};var Tka={HT:"adunit",rV:"detailpage",PV:"editpage",QV:"embedded",XW:"leanback",EY:"previewpage",FY:"profilepage",D_:"unplugged"};g.h=g.CK.prototype;g.h.Lx=function(a){this.segments.push(a)};
g.h.getDuration=function(a){return(a=g.DK(this,a))?a.duration:0};
g.h.zm=function(a){return this.getDuration(a)};
g.h.Hi=function(){return this.segments.length?this.segments[0].Oa:-1};
g.h.pr=function(a){return(a=g.DK(this,a))?a.ingestionTime:window.NaN};
g.h.Bc=function(){return this.segments.length?this.segments[this.segments.length-1].Oa:-1};
g.h.Bm=function(){var a=this.segments[this.segments.length-1];return a?a.endTime:window.NaN};
g.h.Uc=function(){return this.segments[0].startTime};
g.h.Em=function(){return this.segments.length};
g.h.kn=function(){return 0};
g.h.Og=function(a){return(a=Lja(this,a))?a.Oa:-1};
g.h.dw=function(a){return(a=g.DK(this,a))?a.sourceURL:""};
g.h.ng=function(a){return(a=g.DK(this,a))?a.startTime:0};
g.h.Fm=ba(2);g.h.Ob=function(){return 0<this.segments.length};
g.h.Zv=function(){return 0};FK.prototype.skip=function(a){this.o+=a};JK.prototype.Yl=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 xpa=UK;var RN,YN;var h4=g.Gb,h4=h4.toLowerCase();if(Ja(h4,"android")){var ypa=h4.match(/android\D*(\d\.\d)[^\;|\)]*[\;\)]/);if(ypa)RN=Number(ypa[1]);else{var zpa={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},Apa=h4.match("("+g.Ob(zpa).join("|")+")");RN=Apa?zpa[Apa[0]]:0}}else RN=void 0;YN=0<=RN;var Oja=['video/mp4; codecs="avc1.42001E, mp4a.40.2"','video/webm; codecs="vp8.0, vorbis"'],Pja=['audio/mp4; codecs="mp4a.40.2"'];jL.prototype.start=function(){return 0};
jL.prototype.end=function(){return window.Infinity};
jL.prototype.length=1;g.h=kL.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(){};var yL,xL;var Bpa=g.Gb,Cpa=Bpa.match(/\((iPad|iPhone|iPod)( Simulator)?;/);if(!Cpa||2>Cpa.length)yL=void 0;else{var i4=Bpa.match(/\((iPad|iPhone|iPod)( Simulator)?; (U; )?CPU (iPhone )?OS (\d+_\d)[_ ]/);yL=i4&&6==i4.length?Number(i4[5].replace("_",".")):0}(xL=0<=yL)&&0<=g.Gb.search("Safari")&&g.Gb.search("Version");var Dpa=xL&&4>yL?.1:0,Jna=new rL;rL.prototype.g=null;rL.prototype.getDuration=function(){return this.duration||0};
rL.prototype.getCurrentTime=function(){return this.currentTime||0};
rL.prototype.o=function(){this.hasAttribute("controls")&&this.setAttribute("controls","true")};g.C(sL,g.M);g.h=sL.prototype;g.h.Rv=function(a,b){this.g.paused||this.getCurrentTime()>a||10<b||(this.play(),g.GE((0,g.A)(this.Rv,this,this.getCurrentTime(),b+1),500))};
g.h.addEventListener=function(a,b,c,d){this.B.T(a,b,!1,d);this.A[a]||(b=(0,g.A)(this.YS,this),this.g.addEventListener(a,b),this.A[a]=b)};
g.h.removeEventListener=function(a,b,c,d){this.B.Ba(a,b,!1,d)};
g.h.dispatchEvent=function(a){return this.B.dispatchEvent(a)};
g.h.cv=function(){this.C&&!this.g.muted&&(hL(),this.g.muted=!0)};
g.h.P=function(){this.D&&this.removeEventListener("volumechange",this.cv,!1,this);sL.R.P.call(this)};g.p(IL,g.Ve);IL.prototype.preventDefault=function(){g.Ve.prototype.preventDefault.call(this);this.g&&this.g.preventDefault()};
IL.prototype.stopPropagation=function(){g.Ve.prototype.stopPropagation.call(this);this.g&&this.g.stopPropagation()};g.C(JL,sL);g.h=JL.prototype;g.h.pa=function(){return this.g};
g.h.sd=function(){return this.g.src};
g.h.getCurrentTime=function(){return this.g.currentTime};
g.h.getDuration=function(){return this.g.duration};
g.h.load=function(){var a=this.g.playbackRate;this.g.load();this.g.playbackRate=a};
g.h.pause=function(){this.g.pause()};
g.h.play=function(){var a=this.g.play();a&&a.then&&a.then(void 0,function(a){1E-4>Math.random()&&g.zE(a)})};
g.h.Nb=function(){return this.g.error?this.g.error.code:null};
g.h.setSize=function(a){return g.vh(this.g,a)};
g.h.getVolume=function(){return this.g.volume};
g.h.setVolume=function(a){hL();this.g.volume=a};
g.h.YS=function(a){this.dispatchEvent(new IL(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.P=function(){for(var a in this.A)this.g.removeEventListener(a,this.A[a]);JL.R.P.call(this)};g.h=ML.prototype;g.h.append=function(a){this.o.webkitSourceAppend(this.A,a)};
g.h.abort=function(){this.o.webkitSourceAbort(this.A)};
g.h.nQ=function(){return this.o.webkitSourceState==this.o.SOURCE_CLOSED?new Qja:this.o.webkitSourceBuffered(this.A)};
g.h.pQ=function(){return this.B};
g.h.tQ=function(a){this.B=a;this.o.webkitSourceTimestampOffset(this.A,a)};g.h=NL.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.ZS=function(){return this.g.webkitMediaSourceURL};
g.h.addSourceBuffer=function(a){var b=(this.A++).toString();this.g.webkitSourceAddId(b,a);a=new ML(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.A);for(a=b+1;a<this.sourceBuffers.length;a++)this.sourceBuffers[a-1]=this.sourceBuffers[a];this.sourceBuffers.pop();break}};
g.h.qQ=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.rQ=function(){fb(this.sourceBuffers)};
g.h.oQ=function(){return this.o};
g.h.sQ=function(a){this.o=a;this.g.webkitSourceSetDuration&&this.g.webkitSourceSetDuration(a)};g.C(g.OL,g.M);g.OL.prototype.U=function(a,b,c,d,e){c=AE((0,g.A)(c,d||this.Ab));c={target:a,name:b,cg:c};var f;e&&qpa()&&(f={passive:!0});a.addEventListener(b,c.cg,f);this.N.push(c);return c};
g.OL.prototype.Ba=function(a){for(var b=0;b<this.N.length;b++)if(this.N[b]==a){this.N.splice(b,1);a.target.removeEventListener(a.name,a.cg);break}};
g.OL.prototype.P=function(){g.QL(this);g.OL.R.P.call(this)};g.C(RL,g.OL);RL.prototype.M=function(){if(!this.ma()&&SL(this)&&!(0,window.isNaN)(this.C)){this.B||(this.A.duration=this.C,this.C=window.NaN);try{this.B||(this.g=this.A.addSourceBuffer(this.J),this.H?this.o=this.A.addSourceBuffer(this.S):this.o=new kL),this.D&&(this.D(this),this.D=null)}catch(a){this.G&&this.G(a)}}};
RL.prototype.L=function(){this.dispose()};dM.prototype.toString=function(){return this.start+"-"+(null==this.end?"":this.end)};yM.prototype.verify=function(){if(this.info.ub!=this.range.length)return!1;if(1==this.info.g.info.o){if(8>this.info.ub||4==this.info.type)return!0;var a=zM(this),b=a.getUint32(0,!1),a=a.getUint32(4,!1);if(2==this.info.type)return b==this.info.ub&&1936286840==a;if(3==this.info.type&&0==this.info.o)return 1836019558==a||1936286840==a||1937013104==a||1718909296==a||1701671783==a||1936419184==a}else if(2==this.info.g.info.o){if(4>this.info.ub||4==this.info.type)return!0;a=zM(this);b=a.getUint32(0,!1);
if(3==this.info.type&&0==this.info.o)return 524531317==b||440786851==b}return!0};var Ska=["2mdn.net"];KM.prototype.set=function(a,b){this.g[a]!==b&&(this.g[a]=b,this.A="")};
KM.prototype.get=function(a){MM(this);return this.g[a]||null};
KM.prototype.clone=function(){var a=new KM(this.B);a.D=this.D;a.o=this.o;a.C=this.C;a.g=Wb(this.g);a.A=this.A;return a};UM.prototype.set=function(a,b){this.g.get(a);this.o[a]=b;this.A=""};
UM.prototype.get=function(a){return this.o[a]||this.g.get(a)};var j4=0;g.h=cN.prototype;g.h.ke=function(){};
g.h.We=function(){};
g.h.Uq=function(){return!1};
g.h.td=function(){return!!this.g&&!!this.index&&this.index.Ob()};
g.h.Uh=function(){};
g.h.Nx=function(){return!1};
g.h.Cm=function(){};
g.h.Th=function(){};
g.h.tk=function(){};
g.h.Ng=function(){};
g.h.lq=function(){};
g.h.Xz=function(a){return[a]};
g.h.Jn=function(a){return[a]};g.p(eN,cN);g.h=eN.prototype;g.h.ke=function(){return!1};
g.h.We=function(){return!1};
g.h.Nx=function(){return this.A};
g.h.Cm=function(){return this.A?[]:[new XM([new gM(1,this,this.initRange)],this.H)]};
g.h.Th=function(){};
g.h.tk=function(a){this.Uh(a);return this.Zl(a.A?a.Oa+1:a.Oa,!1)};
g.h.Ng=function(a,b){b=void 0===b?!1:b;var c=this.index.Og(a);b&&(c=Math.min(this.index.Bc(),c+1));return this.Zl(c,!0)};
g.h.lq=function(a){this.g=new window.Uint8Array(zM(a).buffer);dN(this)};
g.h.Uq=function(){return!1};
g.h.Uh=function(a){return 0==a.ub?!0:this.index.Bc()>a.Oa&&this.index.Hi()<=a.Oa+1};
g.h.update=function(a,b,c){var d=this.index;if(0!=a.length)if(a=g.nb(a),0==d.segments.length)d.segments=a;else{var e=d.segments.length?g.Xa(d.segments).endTime:0,f=a[0].Oa-d.Bc();1<f&&fb(d.segments);for(f=0<f?0:-f+1;f<a.length;f++){var k=a[f];k.startTime=e;k.endTime=k.startTime+k.duration;e+=a[f].duration;d.segments.push(a[f])}}EK(this.index,c);this.D=b};
g.h.td=function(){return this.A?!0:cN.prototype.td.call(this)};
g.h.Zl=function(a,b){var c=this.index.dw(a),d=this.index.ng(a),e=this.index.getDuration(a),f;b?e=f=0:f=0<this.info.g?this.info.g*e:1E3;return new XM([new gM(3,this,null,a,d,e,0,f,a==this.index.Bc()&&!this.D&&0<f)],c)};g.p(fN,g.CK);fN.prototype.Lx=function(a){var b=gN(this,a.Oa);0<=b?this.segments[b]=a:this.segments.splice(-(b+1),0,a)};g.p(hN,eN);g.h=hN.prototype;g.h.We=function(){return!0};
g.h.td=function(){return!0};
g.h.Uh=function(){return!0};
g.h.Cm=function(){return[]};
g.h.Ng=function(a,b){return g.ta(a)&&!(0,window.isFinite)(a)?new XM([new gM(3,this,null,-1)],""):eN.prototype.Ng.call(this,a,b)};
g.h.Zl=function(a,b){return 0!=this.index.getDuration(a)?eN.prototype.Zl.call(this,a,b):new XM([new gM(3,this,null,a)],0<=a?"sq/"+a:"")};mN.prototype.update=function(a,b){var c=void 0;this.o&&(c=this.o);var d=new mN,e=a.getElementsByTagName("S");if(e.length){var f=+jN(a,"timescale")||1,k=(+e[0].getAttribute("t")||0)/f,l=+jN(a,"startNumber")||0,m;m=k;var n=+jN(a,"presentationTimeOffset")||0;m=c?c.Jd+c.durationSecs:b?m-n/f:0;n=Date.parse(iN(jN(a,"yt:segmentIngestTime")))/1E3;d.A="SegmentTemplate"==a.parentNode.tagName;d.A&&(d.D=jN(a,"media"));var q=c?l-c.Oa:1;d.C=0<q?0:-q+1;for(q=0;q<e.length;q++)for(var r=e[q],v=+r.getAttribute("d")/
f,x=(+r.getAttribute("yt:sid")||0)/f,B=+r.getAttribute("r")||0,F=0;F<=B;F++)if(c&&l<=c.Oa)l++;else{var J=new kka(l,m,v,n+x,k);d.g.push(J);var L;L=r;var eb=f,pb=J.Jd,ka=L.getAttribute("yt:cuepointTimeOffset"),J=L.getAttribute("yt:cuepointDuration");ka&&J?(pb=+ka/eb+pb,eb=+J/eb,L=L.getAttribute("yt:cuepointContext")||null,L=new MK(pb,eb,L)):L=null;L&&d.B.push(L);l++;m+=v;k+=v;n+=v+x}d.g.length&&(d.o=g.Xa(d.g))}this.C=d.C;this.o=d.o||this.o;ob(this.g,d.g);ob(this.B,d.B);this.A=d.A;this.D=d.D};
mN.prototype.Mg=function(a,b,c,d){for(var e=this.D.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.h=g.nN.prototype;g.h.kn=function(a){return this.g[a]};
g.h.ng=function(a){return this.o[a]/this.B};
g.h.Fm=ba(1);g.h.pr=function(){return window.NaN};
g.h.getDuration=function(a){a=this.zm(a);return 0<=a?a/this.B:-1};
g.h.zm=function(a){return a+1<this.Ka||this.A?this.o[a+1]-this.o[a]:-1};
g.h.Hi=function(){return 0};
g.h.Bc=function(){return this.Ka-1};
g.h.Bm=function(){return this.A?this.o[this.Ka]/this.B:window.NaN};
g.h.Uc=function(){return 0};
g.h.Em=function(){return this.Ka};
g.h.dw=function(){return""};
g.h.Og=function(a){a=g.vb(this.o.subarray(0,this.Ka),a*this.B);return 0<=a?a:Math.max(0,-a-2)};
g.h.Ob=function(){return 0<=this.Bc()};
g.h.Zv=function(a,b){if(a>=this.Bc())return 0;for(var c=0,d=this.ng(a)+b,e=a;e<this.Bc()&&d>this.ng(e);e++)c=Math.max(c,(e+1<this.Ka||this.A?this.g[e+1]-this.g[e]:-1)/this.getDuration(e));return c};
g.h.cap=function(a,b){oN(this);this.A=!0;this.o[this.Ka]=b;this.g[this.Ka]=a};g.p(pN,cN);g.h=pN.prototype;g.h.Cm=function(a,b){var c=new gM(1,this,this.initRange),d=new gM(2,this,this.indexRange),e=[],f=[c];iM(c,d)?f.push(d):(e.push(new XM([d])),b=!1);(0,window.isNaN)(this.A)&&(b=!1);var c=f[f.length-1],d=c.range.end-f[0].range.start+1,k=0;if(b){var k=a.Zq,l=this.info.video?2:a.oc;0<l&&(k=Math.floor(Math.max(k,l*this.info.g)));k=Math.min(a.G,k,this.A);k=a.Dg?Math.min(k,this.A-d):k-d}0<k&&f.push(new gM(4,this,fM(c.range.end+1,k)));e.push(new XM(f));return e};
g.h.lq=function(a){if(1==a.info.type){if(this.g)return;var b;a.g.slice?b=new window.Uint8Array(a.g.slice(a.range.start,a.range.end+1)):(b=new window.Uint8Array(a.g,a.range.start,a.range.end+1),b=new window.Uint8Array(b));this.g=b;dN(this)}else if(2==a.info.type){if(this.D||0<=this.index.Bc())return;if(1==this.info.o){b=this.index;var c=zM(a),d=a.info.range.start;a=0;var e=c.getUint32(0,!1),f=c.getUint8(a+8);a+=12;var k=c.getUint32(a+4,!1);b.B=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.o[0]=f;b.A=!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;var l=b;l.Ka++;oN(l);l.g[l.Ka]=l.g[l.Ka-1]+f;l.o[l.Ka]=l.o[l.Ka-1]+k}}else this.D=zM(a)}if(2==this.info.o&&this.g&&this.D){a=new window.DataView(this.g.buffer);b=this.index;k=this.D;c=this.indexRange.end;a=new lM(a);if(oM(a,440786851)&&(sM(a),oM(a,408125543)&&
(e=a,f=e.g,d=qM(e,!0),e.g=f,a=pM(a),e=a.A+a.g,oM(a,357149030)))){a=pM(a);for(var l=1E6,m=1E9,f=0;!mM(a);){var n=qM(a,!1);2807729==n?l=rM(a):2807730==n?m=rM(a):17545==n?f=tM(a):sM(a)}b.B=m/l;a=new lM(k);if(oM(a,475249515)){a=pM(a);k=!0;for(l=!1;oM(a,187);){m=pM(a);if(oM(m,179))if(n=rM(m),oM(m,183)){for(var m=pM(m),q=e;oM(m,241);)q=rM(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];oN(m);m.g[m.Ka]=n;m.o[m.Ka]=q;m.Ka++}b.cap(d+e,f)}}this.D=null}};
g.h.Xz=function(a){for(var b=this.Jn(a.info),c=[],d=a.B,e=0;e<b.length;e++)c.push(new yM(b[e],a.g,fM(b[e].range.start+b[e].o-a.info.range.start+a.range.start,b[e].ub),a.A,d)),d=!1;return c};
g.h.Jn=function(a){for(var b=0;b<this.index.Bc()&&a.range.start>=this.index.kn(b+1);)b++;return qN(this,b,a.range.start,a.range.length).g};
g.h.Uh=function(a){return this.td()?!0:(0,window.isNaN)(this.A)?!1:a.range.end+1<this.A};
g.h.Th=function(a,b){this.Uh(a);if(!this.td()){var c=fM(a.range.end+1,b);c.end+1>this.A&&(c=new dM(c.start,this.A-1));return new XM([new gM(4,a.g,c)])}4==a.type&&(c=this.Jn(a),a=c[c.length-1]);var c=0,d=a.range.start+a.o+a.ub;3==a.type&&(c=a.Oa,d==a.range.end+1&&(c+=1));return qN(this,c,d,b)};
g.h.tk=function(){return null};
g.h.Ng=function(a,b){var c=this.index.Og(a);b&&(c=Math.min(this.index.Bc(),c+1));return qN(this,c,this.index.kn(c),0)};
g.h.Uq=function(){var a;if(a=this.td()&&!(0,window.isNaN)(this.A))a=this.index,a=(a.A?a.g[a.Ka]:-1)!=this.A;return a};
g.h.ke=function(){return!0};
g.h.We=function(){return!1};g.p(sN,g.ZF);g.h=sN.prototype;g.h.Qh=function(){return Kb(this.g,function(a){return a.info.video?2==a.info.video.projectionType:!1})};
g.h.mg=function(){return Kb(this.g,function(a){return a.info.video?3==a.info.video.projectionType:!1})};
g.h.TO=function(a){var b=a.getElementsByTagName("Representation");if(0<a.getElementsByTagName("SegmentList").length||0<a.getElementsByTagName("SegmentTemplate").length){this.A=!0;this.C||(this.C=new mka);qka(this.C,a,this.ka);this.V("refresh");for(a=0;a<b.length;a++){var c=zN(this,b[a]),d=this.isLive&&1==c.o&&this.na;if(!this.g[c.id]){var e=wN(kN(b[a],"BaseURL").textContent,c),f=kN(b[a],"Initialization"),k=jN(f,"sourceURL"),f=eM(jN(f,"range"));d&&(k="",f=void 0);this.g[c.id]=new eN(e,c,k,null===f?
void 0:f)}c=this.g[c.id];e=jN(b[a],"id","AdaptationSet");e=""!=e?e:jN(b[a],"mimetype","AdaptationSet");k=this.C;e=k.A[c.info.id]||k.o[e]||k.g||null;k=e.g;if(e.A)for(d=[],k=g.ia(k),f=k.next();!f.done;f=k.next()){var f=f.value,l=e.Mg(c.info.id,8*c.info.g,f.Oa,f.Jd);d.push(new BK(f.Oa,f.Jd,f.durationSecs,f.g,l,null,f.o))}else{e=g.qb(kN(b[a],"SegmentList").getElementsByTagName("SegmentURL"),e.C);f=[];for(l=0;l<e.length;l++)f.push(yka(e[l],k[l],d));d=f}c.update(d,this.isLive,this.S)}rka(this.C);return!0}this.duration=
lN(jN(a,"mediaPresentationDuration"));a:{for(a=0;a<b.length;a++){k=b[a];c=zN(this,k);e=kN(k,"BaseURL");d=wN(e.textContent,c);f=kN(k,"SegmentBase");k=eM(f.attributes.indexRange.value);f=eM(f.getElementsByTagName("Initialization")[0].attributes.range.value);e=(0,window.parseInt)(e.getAttribute(xN(this,"contentLength")),10);c=new pN(d,c,f,k,e,window.NaN);if(!c){b=!1;break a}this.g[c.info.id]=c}b=!0}return b};
g.h.Le=function(a){return this.C?g.qb(this.C.B,a):this.G.length?g.qb(this.G,a):[]};
g.h.vG=function(a){if(this.ma())return this;this.L=a.status;a=a.responseText;a=(new window.DOMParser).parseFromString(a,"text/xml").getElementsByTagName("MPD")[0];this.D=1E3*lN(jN(a,"minimumUpdatePeriod"))||window.Infinity;if(!this.N){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.da=b}this.isLive=window.Infinity>this.D&&this.ra;this.S=(0,window.parseInt)(jN(a,xN(this,"earliestMediaSequence")),
10)||0;if(b=Date.parse(iN(jN(a,xN(this,"mpdResponseTime")))))this.M=((0,g.G)()-b)/1E3;a=this.isLive&&0>=a.getElementsByTagName("SegmentTimeline").length?!1:(0,g.Qr)(a.getElementsByTagName("Period"),this.TO,this);this.F=2;this.V("loaded");CN(this,a);return this};
g.h.yG=function(a){this.L=a.g.status;this.F=3;this.V("loaderror");return $f(a.g)};
g.h.Mx=function(){if(1!=this.F&&!this.ma()){var a=this.ba,b;a:{b=this.g;for(var c in b){var d=b[c].index;if(d&&d.Ob()){b=d.Bc()+1;break a}}b=0}a=g.Gg(a,{start_seq:b.toString()});AN(this,a)}};
g.h.resume=function(){CN(this,!0)};
g.h.ck=function(){var a=this.g,b=window.NaN,c;for(c in a){var d=a[c].index;d&&d.Ob()&&((0,window.isNaN)(b)||d.Bm()<b)&&(b=d.Bm())}return Math.floor(b)};
g.h.Uc=function(){var a=this.g,b;for(b in a){var c=a[b].index;if(c&&c.Ob())return c.Uc()}return 0};
g.h.VI=function(){return this.M};
var FN=null,yN={commentary:1,alternate:2,dub:3,main:4};var k4={},XP=(k4.playready=["com.youtube.playready","com.microsoft.playready"],k4.widevine=["com.widevine.alpha"],k4),jla=g.lb(XP.widevine,XP.playready);ON.prototype.then=function(a,b,c){return this.A?this.A.then(a,b,c):1==this.o&&a?(a=a.call(c,this.g),Rf(a)?a:QN(a)):2==this.o&&b?(a=b.call(c,this.g),Rf(a)?a:PN(a)):this};
Qf(ON);ON.prototype.getValue=function(){return this.g};var Ika="9h 9 h 8 (h ( H *".split(" "),Hka="9h 9 h 8 ( H *".split(" "),ZN="h98H(*".split(""),Kka="oMavAV".split(""),Nka=["so","sa"],Mka="moMavAV".split(""),Lka="aoMvAV".split(""),Jka=["f"],Dka={'video/mp4; codecs="avc1.42001E, mp4a.40.2"':"maybe"},Eka={"application/x-mpegURL":"maybe"},Cka={"application/x-mpegURL":"maybe"};var JO={iX:1,jX:2,kX:3};g.C(jO,g.ZF);jO.prototype.remove=function(a){var b=this.get(a);delete this.Na[a];return b};
jO.prototype.get=function(a){return this.Na[a]||null};
jO.prototype.isEmpty=function(){return g.Tb(this.Na)};var lO={"ad-trueview-indisplay-pv":6,"ad-trueview-insearch":7},mO={"ad-trueview-indisplay-pv":2,"ad-trueview-insearch":2},nO=/^(\d*)_((\d*)_?(\d*))$/;var Pka=/^([0-9\.]+)\:([0-9\.]+)$/;var xO=(0,g.G)().toString();var CO="blogger books docs google-live play picasaweb gmail jamboard".split(" ");g.p(MO,g.M);
MO.prototype.Sf=function(a){var b=pO(a,this),c=!0;b&&(this.J.adformat=a.adformat,oO(b,this.experiments)||(this.ba="adunit"==this.g?this.ba:this.g,this.g="adunit",c=!1));c&&this.ba&&(this.g=this.ba,this.ba=null);if(b=a.video_id&&a.video_id!=this.jf)this.jf=a.video_id;if(a.adpings||b)this.Wo=a.adpings?g.IE(a.adpings):null;this.ee?(c=a.videostats_playback_base_url&&a.videostats_playback_base_url.split("/")[2]||"s.youtube.com",this.experiments.g("www_for_videostats")&&"s.youtube.com"==c&&(c="www.youtube.com")):
c="video.google.com";this.Eg=c;this.Cg="//"+this.Eg+"/api/stats/qoe";if(a.feature||b)this.fh=c=a.feature,this.J.feature=c;if(a.referrer||b)this.referrer=b=a.referrer,this.J.referrer=b;for(var d in Epa)b=Epa[d],c=a[b],void 0!=c&&(this.B[b]=c);!this.Pa&&a.cl&&(this.Pa=+a.cl);this.userAge=sO(this.userAge,a.user_age);this.userDisplayImage=tO(this.userDisplayImage,a.user_display_image);g.UP.test(this.userDisplayImage)||(this.userDisplayImage="");this.userDisplayName=tO(this.userDisplayName,a.user_display_name);
this.userGender=tO(this.userGender,a.user_gender);if(this.ka=tO(this.ka,a.eventid))xO=this.ka;this.csiPageType=tO(this.csiPageType,a.csi_page_type);this.Wa=tO(this.Wa,a.csi_service_name);this.Eb=qO(this.Eb,a.enablecsi);a.enabled_engage_types&&(this.wb=new window.Set(a.enabled_engage_types.split(",")))};
MO.prototype.getVideoUrl=function(a,b,c,d,e){b={list:b};c&&(e?b.time_continue=c:b.t=c);c=QO(this);d&&"www.youtube.com"==c?d="https://youtu.be/"+a:g.GO(this)?(d="https://"+c+"/fire",b.v=a):(d=this.fa+"://"+c+"/watch",b.v=a,CL&&(a=g.w("yt.ads.biscotti.lastId_")||g.w("yt.www.ads.biscotti.lastId_")||"")&&(b.ebc=a));return g.Gg(d,b)};
MO.prototype.isAd=function(){return"adunit"==this.g};
var Epa={pU:"cbrand",qU:"cbr",sU:"cbrver",NW:"c",QW:"cver",PW:"ctheme",OW:"cplayer",tX:"cmodel",aY:"cnetwork",kY:"cos",lY:"cosver",qY:"cplatform"};g.ZO.prototype.toString=function(){return this.topic};var Fpa=g.w("ytPubsub2Pubsub2Instance")||new g.rD;g.rD.prototype.subscribe=g.rD.prototype.subscribe;g.rD.prototype.unsubscribeByKey=g.rD.prototype.Kd;g.rD.prototype.publish=g.rD.prototype.V;g.rD.prototype.clear=g.rD.prototype.clear;g.u("ytPubsub2Pubsub2Instance",Fpa,void 0);var bP=g.w("ytPubsub2Pubsub2SubscribedKeys")||{};g.u("ytPubsub2Pubsub2SubscribedKeys",bP,void 0);var dP=g.w("ytPubsub2Pubsub2TopicToKeys")||{};g.u("ytPubsub2Pubsub2TopicToKeys",dP,void 0);
var cP=g.w("ytPubsub2Pubsub2IsAsync")||{};g.u("ytPubsub2Pubsub2IsAsync",cP,void 0);g.u("ytPubsub2Pubsub2SkipSubKey",null,void 0);var vP=window.performance||window.mozPerformance||window.msPerformance||window.webkitPerformance||{};g.C(iP,g.YO);var gP=new g.ZO("timing-sent",iP);lP.prototype.toString=function(){return this.region.toString()+": "+this.timing+" => "+this.url};
mP.prototype.toString=function(){return["progress",this.progress,"timing",this.timing,"area",this.Lc].join(": ")};
kP.o=.1;kP.g=/url\(["']?(http[^'"\)]+)['"]?\)/i;kP.A="mark_iframe_loaded: ";kP.B=20;var ela={vc:!0},zP={'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",'script[name="mobile_polymer/mobile_polymer"]':"mpj",'link[rel="import"][name="mobile_polymer"]':"mph",'script[name="player-plasma-phone/base"]':"mpppj",'script[name="player-plasma-tablet/base"]':"mpptj",
'link[rel="stylesheet"][name="mobile-polymer-player"]':"mppc"},IP={ad_at:"adType",cpn:"clientPlaybackNonce",csn:"clientScreenNonce",is_nav:"isNavigation",yt_lt:"loadType",yt_ad:"isMonetized",yt_ad_pr:"prerollAllowed",yt_red:"isRedSubscriber",yt_vis:"isVisible",docid:"videoId",plid:"videoId",fmt:"playerInfo.itag"},dla="ap c cver ei yt_fss yt_li".split(" "),ala={ad_to_ad:"LATENCY_ACTION_AD_TO_AD",ad_to_video:"LATENCY_ACTION_AD_TO_VIDEO",browse:"LATENCY_ACTION_BROWSE",channels:"LATENCY_ACTION_CHANNELS",
embed:"LATENCY_ACTION_EMBED",home:"LATENCY_ACTION_HOME",library:"LATENCY_ACTION_LIBRARY",live:"LATENCY_ACTION_LIVE",results:"LATENCY_ACTION_RESULTS",search:"LATENCY_ACTION_RESULTS",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"},bla=["isNavigation","isMonetized","prerollAllowed","isRedSubscriber","isVisible"],
Yka=(0,g.A)(vP.clearResourceTimings||vP.webkitClearResourceTimings||vP.mozClearResourceTimings||vP.msClearResourceTimings||vP.oClearResourceTimings||g.y,vP);MP.prototype.reset=function(){pP(this.g)};
MP.prototype.o=function(a,b){g.rP(a,b,this.g)};
MP.prototype.info=function(a,b){g.sP(a,b,this.g)};QP.prototype.toString=function(){return this.type+this.id};var TP={iurl:"default.jpg",iurlmq:"mqdefault.jpg",iurlhq:"hqdefault.jpg",iurlsd:"sddefault.jpg",iurlpop1:"pop1.jpg",iurlpop2:"pop2.jpg",iurlhq720:"hq720.jpg",iurlmaxres:"maxresdefault.jpg"},gla={120:"default.jpg",320:"mqdefault.jpg",480:"hqdefault.jpg",560:"pop1.jpg",640:"sddefault.jpg",854:"pop2.jpg",1280:"hq720.jpg"};g.p(WP,g.M);
WP.prototype.D=function(){if(!this.ma())if(0==this.o.length)this.A(null);else{var a=this.o.shift(),b=this.g[a],c=b.g,d={initDataTypes:["cenc","webm"],audioCapabilities:[],videoCapabilities:[]},e;for(e in this.B[c]){var f=0==e.indexOf("audio/"),k=f?d.audioCapabilities:d.videoCapabilities;this.C.g("html5_widevine_robustness_strings")&&"widevine"==c?f?k.push({contentType:e,robustness:"SW_SECURE_CRYPTO"}):(k.push({contentType:e,robustness:"HW_DECODE_ALL"}),k.push({contentType:e,robustness:"SW_SECURE_DECODE"})):k.push({contentType:e})}window.navigator.requestMediaKeySystemAccess(a,
[d]).then(AE((0,g.A)(this.F,this,b)),AE((0,g.A)(this.D,this)))}};
WP.prototype.F=function(a,b){function c(b){a.B[b.contentType]=!0}
if(!this.ma()){a.A=b;var d=b.getConfiguration();d.audioCapabilities&&d.audioCapabilities.forEach(c);d.videoCapabilities&&d.videoCapabilities.forEach(c);this.A(a)}};var mla=new window.Set("BASE_URL BASE_YT_URL abd allow_embed authuser autoplay captions_load_policy cc_load_policy cc3_module dash dashmpd docid el enable_cardio enablecastapi enablepostapi fmt_list fmt_stream_map hl hlsdvr hlsrange hlsvp html5 iurl iurlhq iurlmq length_seconds live_playback nohtml5 origin override_hl partnerid plid postid ps public 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 wmode".split(" "));g.C(ZP,ZI);
ZP.prototype.g=function(){if(!this.o||this.o.ma()){var a=this.B;ola(a);for(var b=["#EXTM3U","#EXT-X-INDEPENDENT-SEGMENTS"],c={},d=0,e=a.o.length;d<e;++d){var f=a.o[d];c[f.itag]=f;b.push('#EXT-X-MEDIA:TYPE=AUDIO,NAME="audio",DEFAULT=YES,AUTOSELECT=YES,GROUP-ID="'+f.itag.toString()+'",URI="'+f.url+'"')}d=0;for(e=a.g.length;d<e;++d){var k=a.g[d],f=c[k.audioItag];b.push("#EXT-X-STREAM-INF:BANDWIDTH="+(k.bitrate+f.bitrate)+',CODECS="'+(k.hv+","+f.hv)+'",RESOLUTION='+(k.width+"x"+k.height)+',AUDIO="'+f.itag.toString()+
'",CLOSED-CAPTIONS=NONE');b.push(k.url)}this.o=new YI("data:application/x-mpegurl;charset=utf-8,"+(0,window.encodeURIComponent)(b.join("\n")))}return this.o};g.C(aQ,ZI);aQ.prototype.g=function(){return new YI(LM(this.o))};
aQ.prototype.A=function(){this.o=PM(this.o,1);return!0};g.C(cQ,g.ZF);cQ.prototype.J=function(a,b){this.o=this.o.onload=null;var c=this.g[a];c.Oc[b]=!0;gQ(this);var d=c.columns*c.rows,e=b*d,c=[e,Math.min(e+d-1,c.Rp()-1)];this.V("l",c[0],c[1])};
cQ.prototype.P=function(){this.o&&(this.o=this.o.onload=null);cQ.R.P.call(this)};g.h=jQ.prototype;g.h.Db=function(){return this.F};
g.h.getHeight=function(){return this.D};
g.h.Rp=function(){return this.o};
g.h.isDefault=function(){return-1!=this.A.indexOf("default")};
g.h.Ob=function(a){return!!this.Oc[a]};
g.h.xo=function(a){return g.Rd(0==this.B?Math.round(a*this.o/this.J):Math.round(1E3*a/this.B),0,this.Rp()-1)};
g.h.wt=function(){return this.o-1};
g.h.lC=function(){return this.o?0:-1};
g.h.mC=function(){};g.C(kQ,cQ);kQ.prototype.A=function(a,b){for(var c=[],d=a.split("|"),e=d[0],f=1;f<d.length;f++){var k=this.D(f-1,e,d[f],b);180>k.getHeight()&&c.push(k)}return c};
kQ.prototype.D=function(a,b,c,d){return new jQ(a,b,c,d)};
kQ.prototype.H=function(){};g.C(lQ,jQ);g.h=lQ.prototype;g.h.Rp=function(){return this.g?this.g.Em():-1};
g.h.xo=function(a){var b=this.rows*this.columns*this.G,c=-1,d=-1,e=this.g;e&&(c=e.Bc(),d=e.Og(a));return d>c-b?-1:d};
g.h.wt=function(){return this.g?this.g.Bc():-1};
g.h.lC=function(){return this.g?this.g.Hi():-1};
g.h.mC=function(a){this.g=a?a.index:null};g.C(mQ,kQ);mQ.prototype.A=function(a,b){return mQ.R.A.call(this,"$N|"+a,b)};
mQ.prototype.D=function(a,b,c){return new lQ(a,b,c,this.L.isLive)};
mQ.prototype.H=function(a){for(var b=0;b<this.g.length;b++)this.g[b].mC(a)};g.C(nQ,ZI);nQ.prototype.g=function(){return new YI(this.o)};var Bla={0:"UNKNOWN",1:"OFF",2:"ON",3:"FORCED_ON"},Gpa={ALWAYS:1,BY_REQUEST:3};g.C(g.pQ,g.ZF);g.pQ.C=/\/img\/watermark\/youtube_(hd_)?watermark(-vfl\S{6})?.png$/;g.pQ.g=1;g.pQ.B=18E3;g.pQ.o="ypc_buy_url ypc_full_video_message ypc_item_thumbnail ypc_item_title ypc_item_url ypc_module ypc_offer_button_text ypc_offer_description ypc_offer_headline ypc_offer_id ypc_offer_type ypc_overlay_timeout ypc_preview ypc_signin_message ypc_vid".split(" ");g.pQ.A="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_description ypc_offer_headline ypc_offer_id ypc_preview ypc_price_string ypc_video_rental_bar_text".split(" ");
g.h=g.pQ.prototype;g.h.Sf=function(a,b){b?(this.setData(a),IQ(this)&&xQ(this)):(tQ(this,a,!0),this.V("dataupdated"))};
g.h.setData=function(a){var b=a||{};b.player_response&&(this.Yb=g.Hc(b.player_response));this.Zf="1"!=b.hlsdvr?!1:UN()?!0:DO&&5>yL?!1:!0;this.jF=b.ad_query_id;this.adSafetyReason=b.encoded_ad_safety_reason;this.kF=b.agcid;this.Fl="1"==b.infringe||"1"==b.muted;this.Iu=b.authkey;this.tc=b.authuser;this.clientPlaybackNonce||(this.clientPlaybackNonce=b.cpn||zO());(0,g.G)();this.enableCardio=qO(this.enableCardio,b.enable_cardio);this.enableCardioBeforePlayback=qO(this.enableCardioBeforePlayback,b.enable_cardio_before_playback);
this.Bi=sO(this.Bi,b.end||b.endSeconds);this.Vm=tO(this.Vm,b.itct);this.Tq=qO(this.Tq,b.noiba);this.qk="1"==b.livemonitor;this.Aa="1"==b.live_playback||!!b.fresca_preroll||!!b.heartbeat_preroll;this.isLiveDestination=qO(this.isLiveDestination,b.is_live_destination);this.isLiveDefaultBroadcast="1"==b.live_default_broadcast;this.isLowLatencyLiveStream="1"==b.is_low_latency_live_stream;this.isMdxPlayback=qO(this.isMdxPlayback,b.mdx);b.mdx_control_mode&&(this.mdxControlMode=Ua(b.mdx_control_mode));this.ai=
sO(this.ai,b.reload_count);this.Sr=tO(this.Sr,b.reload_reason);this.Xq=qO(this.Xq,b.utpsa);this.cycToken=b.cyc;this.GA=b.tkn;this.zj="1"==b.innertube_thumbnail&&this.Yb.videoDetails.thumbnail?hla(this.Yb.videoDetails.thumbnail):VP(b);this.Tf=tO(this.Tf,b.vvt);this.mdxEnvironment=tO(this.mdxEnvironment,b.mdx_environment);this.tK=b.osig;this.Dz=b.ptchn;this.Ez=b.oid;this.Dk=b.ptk;this.Fz=b.pltype;this.playbackId=b.plid;this.eventId=b.eventid;this.osid=b.osid;this.videoMetadata=b.vm;this.Ir=b.of;this.Yn=
b.upt;this.playlistId=tO(this.playlistId,b.list);this.Nz=b.pyv_view_beacon_url;this.dP=b.pyv_quartile25_beacon_url;this.eP=b.pyv_quartile50_beacon_url;this.fP=b.pyv_quartile75_beacon_url;this.cP=b.pyv_quartile100_beacon_url;b.remarketing_url&&(this.remarketingUrl=b.remarketing_url);b.ppv_remarketing_url&&(this.ppvRemarketingUrl=b.ppv_remarketing_url);this.Gn=b.sdetail;!this.Qr&&b.session_data&&(this.Qr=g.HE(b.session_data).feature);this.isFling=1==sO(this.isFling?1:0,b.is_fling);this.vnd=sO(this.vnd,
b.vnd);this.Kp=tO(this.Kp,b.force_ads_url);this.Pf=tO(this.Pf,b.ctrl);this.Ze=tO(this.Ze,b.ytr);this.Vl=b.ytrcc;this.Qz=b.ytrexp;this.Kk=vO(this.Kk,b.vq);this.Nk=vO(this.Nk,b.suggestedQuality);this.Ok=b.approx_threed_layout||0;this.Sn=qO(this.Sn,b.ssrt);this.videoId=wO(b)||this.videoId;this.vssCredentialsToken=tO(this.vssCredentialsToken,b.vss_credentials_token);this.ko=tO(this.ko,b.vss_credentials_token_type);this.ypcGid=tO(this.ypcGid,b.ypc_gid);this.heartbeatToken=tO(this.heartbeatToken,b.heartbeat_token);
this.heartbeatInterval=sO(this.heartbeatInterval,b.heartbeat_interval);this.heartbeatRetries=sO(this.heartbeatRetries,b.heartbeat_retries);this.heartbeatSoftFail=qO(this.heartbeatSoftFail,b.heartbeat_soft_fail);this.Sq=qO(this.Sq,b.ithb);this.bx=qO(this.bx,b.strpro);if(b.ad3_module||b.ad_module)"1"==b.allow_html5_ads?(this.adModule=!0,"1"==b.ad_preroll&&this.Xd.push("ad")):"1"!=b.supported_without_ads&&(this.Cw=!0);b.adaptive_fmts&&(this.adaptiveFormats=b.adaptive_fmts);this.Yb&&this.Yb.attestation&&
this.Yb.attestation.playerAttestationRenderer?this.Jj=this.Yb.attestation.playerAttestationRenderer.challenge:void 0!=b.atc&&(this.Jj=b.atc);b.license_info&&(this.Tc=Ala(b.license_info));b.allow_embed&&(this.allowEmbed="1"==b.allow_embed);b.backgroundable&&(this.backgroundable="1"==b.backgroundable);b.autonav&&(this.Ym="1"==b.autonav);b.autoplay&&(this.dh="1"==b.autoplay);b.iv_load_policy?this.Gg=rO(this.Gg,b.iv_load_policy,JO):(a=rQ(this.Yb))&&a.loadPolicy&&(this.Gg=Gpa[a.loadPolicy]);b.cc_lang_pref&&
(this.wi=tO(b.cc_lang_pref,this.wi));b.cc_load_policy&&(this.Hg=rO(this.Hg,b.cc_load_policy,JO));"0"==b.dash&&(this.Ep=!0);if(b.dashmpd){this.pe=g.Gg(b.dashmpd,{cpn:this.clientPlaybackNonce});a=/\/s\/([0-9A-F.]+)/;var c=a.exec(this.pe);c&&(c=yE(c[1]),this.pe=this.pe.replace(a,"/signature/"+c))}b.delay&&(this.tf=Ua(b.delay));b.drm_session_id&&(this.drmSessionId=b.drm_session_id);void 0!=b.end&&(this.clipEnd=b.end);b.fair_play_cert&&window.atob&&(this.fairPlayCert=(0,window.atob)(b.fair_play_cert));
b.fmt_list&&(this.fmtList=b.fmt_list);b.fresca_preroll&&this.Xd.push("fresca");b.heartbeat_preroll&&this.Xd.push("heartbeat");b.idpj&&(this.Yi=Ua(b.idpj));b.ismb&&(this.lg=Ua(b.ismb));b.is_listed&&(this.isListed=qO(this.isListed,b.is_listed));b.paid_content_overlay_duration_ms&&(this.Cz=Ua(b.paid_content_overlay_duration_ms));b.paid_content_overlay_text&&(this.SO=b.paid_content_overlay_text);b.url_encoded_fmt_stream_map&&(this.lh=b.url_encoded_fmt_stream_map);b.hls_formats&&(this.hlsFormats=b.hls_formats);
b.hlsvp&&(this.hlsvp=b.hlsvp);b.length_seconds&&(this.lengthSeconds=Ua(b.length_seconds));b.live_chunk_readahead&&(this.liveChunkReadahead=sO(this.liveChunkReadahead,b.live_chunk_readahead));b.live_start_walltime&&(this.liveStartWalltime=Ua(b.live_start_walltime));b.live_manifest_duration&&(this.fr=Ua(b.live_manifest_duration));b.ldpj&&(this.sk=Ua(b.ldpj));b.player_params&&(this.playerParams=b.player_params);b.relative_loudness&&(this.relativeLoudness=Ua(b.relative_loudness),this.sc=Math.min(1,Math.pow(10,
-this.relativeLoudness/20)));b.partnerid&&(this.bh=Ua(b.partnerid));b.probe_url&&(this.probeUrl=JM(g.Gg(b.probe_url,{cpn:this.clientPlaybackNonce})));b.profile_picture&&(this.profilePicture=tO(b.profile_picture,this.profilePicture));b.pyv_billable_url&&g.c4.test(b.pyv_billable_url)&&(this.Bn=b.pyv_billable_url);b.pyv_conv_url&&g.c4.test(b.pyv_conv_url)&&(this.kj=b.pyv_conv_url);b.video_masthead_ad_quartile_urls&&(a=b.video_masthead_ad_quartile_urls,this.kr=a.quartile_0_url,this.Dx=a.quartile_25_url,
this.Ex=a.quartile_50_url,this.Fx=a.quartile_75_url,this.Cx=a.quartile_100_url);"1"==b.spacecast_playback&&(this.Xd.push("spacecast"),this.spacecastModule=!0,this.ci.XO=!0);b.spacecast_addrs&&(this.spacecastModule=!0,a={},a.addresses=b.spacecast_addrs.split(","),a.probe=!0,b.spacecast_query_params&&(a.applianceQueryParams=b.spacecast_query_params),this.ci.init=a);0<this.startSeconds||(this.ax=this.startSeconds=sO(this.startSeconds,b.start||b.startSeconds));void 0==b.start||"1"==b.resume||this.Aa||
(this.clipStart=b.start);b.two_stage_token&&(this.kh=b.two_stage_token);b.url_encoded_third_party_media&&(this.yj=PE(b.url_encoded_third_party_media));b.watch_ajax_token&&(this.watchAjaxToken=b.watch_ajax_token);b.ypc_module&&this.Xd.push("ypc");b.ypc_clickwrap_module&&this.Xd.push("ypc_clickwrap");this.Rk=tO(this.Rk,b.ucid);(0,g.H)("baseUrl uid oeid ieid ppe engaged subscribed".split(" "),function(a){b[a]&&(this.oe[a]=b[a])},this);
this.oe.focEnabled=qO(this.oe.focEnabled,b.focEnabled);this.oe.rmktEnabled=qO(this.oe.rmktEnabled,b.rmktEnabled);this.Ub=b;tQ(this,b,!1);vQ(this)||(this.adaptiveFormats&&!this.Aa?(zQ(this,uN(AQ(this,this.adaptiveFormats),this.Tc,this.lengthSeconds,void 0,this.wj)),tN(this.ua)&&(this.Zi=!0)):this.pe&&(this.Qj=!0));b.adpings&&(this.Wo=b.adpings?g.IE(b.adpings):null);b.feature&&(this.fh=b.feature);b.referrer&&(this.referrer=b.referrer);b.multifeed_metadata_list&&(this.wh=PE(b.multifeed_metadata_list));
this.clientScreenNonce=tO(this.clientScreenNonce,b.csn);this.rootVeType=sO(this.rootVeType,b.root_ve_type);b.unplugged_location_info&&(this.gi=b.unplugged_location_info);b.unplugged_partner_opt_out&&(this.Bj=tO("",b.unplugged_partner_opt_out))};
g.h.Dd=function(){return!this.Aa||this.Zf};
g.h.wI=function(a){(this.Ff=a)&&"fairplay"==this.Ff.g&&(this.Ff.fairPlayCert=this.fairPlayCert);xQ(this)};
g.h.We=function(){return!(!this.ua||!this.ua.o)};
g.h.BL=function(a){this.ma()||(zQ(this,a),this.Aa&&this.ua.subscribe("refresh",this.Ty,this),g.rP("mrc"),tN(this.ua)&&(this.Zi=!0),xQ(this))};
g.h.AL=function(a){this.ma()||(this.Vg=!1,this.V("dataloaderror",new g.OP("manifest.net.retryexhausted",!0,{backend:"manifest",rc:a.status})))};
g.h.Ty=function(){this.ma()||(this.ua.isLive||this.ua.unsubscribe("refresh",this.Ty,this),this.Zu())};
g.h.Zu=function(){var a=this.ua.Le(this.dr);0<a.length&&(this.V("cuepointupdated",a),this.dr+=a.length)};
g.h.KI=function(a){if(this.spacecastFormatMap){var b=AQ(this,this.spacecastFormatMap);return bQ(a,b,CQ(this,a)).then(this.Qn,void 0,this).then(this.Ov,void 0,this)}return PN()};
g.h.HI=function(a){var b=vQ(this)||a.Vq;if(this.ua&&!b){if(!a.F){var b=this.ua,c=this.Aa;if(!b.g["0"]){var d=new NI(0,0,0,void 0,void 0,"auto"),d=new QI("0","",void 0,d);b.g["0"]=c?new eN(new KM("http://www.youtube.com/videoplayback"),d,"fake"):new pN(new KM("http://www.youtube.com/videoplayback"),d,new dM(0,0),new dM(0,0),0,window.NaN)}}return bO(a.M,this.ua,this.Ff,!1,Vka(a)).then(this.es,void 0,this)}return PN()};
g.h.II=function(a){if(this.hlsFormats){var b=AQ(this,this.hlsFormats);return rla(a,b,this.lg).then(this.Qn,void 0,this)}return PN()};
g.h.LI=function(a){if(this.yj&&this.kx){var b=sla(this.yj);a=TN(a.M,b,OO(a)).then(this.Qn,void 0,this)}else a=PN();return a};
g.h.JI=function(a){var b=AQ(this,this.lh,this.fmtList);if(this.hlsvp){var c;c=this.hlsvp;var d=this.lg,e={cpn:this.clientPlaybackNonce};-1==c.indexOf("/ibw/")&&(e.ibw=d?String(d):"1369843");c={url:g.Gg(c,e),type:"application/x-mpegURL",quality:"auto",itag:"93"};b.push(c)}return bQ(a,b,CQ(this,a)).then(this.Qn,void 0,this)};
g.h.es=function(a){this.rb=a;this.Ph=this.Ph||/^r/.test(this.clientPlaybackNonce)&&!!this.rb.videoInfos.length&&1080<this.rb.videoInfos[0].video.o;a=this.rb?this.rb.audioTracks:[];a=a.concat(this.gm);for(var b=0;b<this.Mj.length;b++)for(var c=this.Mj[b],d=0;d<a.length;d++){var e=a[d],f=e.Nc.id==c.audioTrackId;if(e.Nc.isDefault&&b==this.rp||f){if(c.captionTrackIndices)for(f=0;f<c.captionTrackIndices.length;f++)e.captionTracks[f]=this.captionTracks[c.captionTrackIndices[f]];g.t(c.defaultCaptionTrackIndex)&&
(e.yi=this.captionTracks[c.defaultCaptionTrackIndex]);g.t(c.forcedCaptionTrackIndex)&&(e.Xj=this.captionTracks[c.forcedCaptionTrackIndex]);e.Pu=c.visibility||"UNKNOWN"}}};
g.h.Qn=function(a){this.Fk=a;this.es(new NN((0,g.I)(this.Fk,function(a){return a.te})))};
g.h.Ov=function(){var a=Ud(this.rb.videoInfos,function(a,c){return c.video.isAccelerated&&(!a||a.height<c.video.height)?c.video:a},null);
a&&(this.Nk=this.Kk=a=bJ(a.quality,a.quality,!0))};
g.h.hg=function(){var a={};this.Ma&&(a.fmt=PI(this.Ma),this.nd&&PI(this.nd)!=PI(this.Ma)&&(a.afmt=PI(this.nd)));a.plid=this.playbackId;a.ei=this.eventId;a.list=this.playlistId;a.cpn=this.clientPlaybackNonce;this.videoId&&(a.v=this.videoId);this.Fl&&(a.infringe=1);this.Ef&&(a.splay=1);this.Aa&&(a.live=this.Zf?"dvr":"live");this.dh&&(a.autoplay=1);this.Gn&&(a.sdetail=this.Gn);this.bh&&(a.partnerid=this.bh);this.osid&&(a.osid=this.osid);return a};
g.h.vf=function(a){return g.z(this.keywords[a])?this.keywords[a]:null};
g.h.getStoryboardFormat=function(){if(this.Yb&&this.Yb.storyboards){var a=this.Yb.storyboards;return(a=a.playerStoryboardSpecRenderer||a.playerLiveStoryboardSpecRenderer)&&a.spec||null}return this.Ub.storyboard_spec||this.Ub.live_storyboard_spec};
g.h.ck=function(){return this.ua&&!(0,window.isNaN)(this.ua.ck())?this.ua.ck():this.lengthSeconds};
g.h.Uc=function(){return this.ua&&!(0,window.isNaN)(this.ua.Uc())?this.ua.Uc():0};
g.h.Be=function(){return!this.ma()&&!(!this.videoId&&!this.yj)};
g.h.Ob=function(){return IQ(this)&&!this.Qj&&!this.Zi};
g.h.eA=function(){var a={format:"RAW",method:"GET",withCredentials:this.Uz};this.rj&&this.visitorData&&(a.headers={"X-Goog-Visitor-Id":this.visitorData});0<this.Zp&&(a.timeout=this.Zp);var b=this.aq;0<this.Zd&&(b=g.KE(b,{playerretry:this.Zd}));this.hw?rN(kF,b,a).then(AE(this.Wy),AE(this.WL),this):(a.context=this,a.Lb=this.Wy,a.onError=this.jq,g.TE(b,a));g.rP("vir");g.rP("vir",void 0,"video_to_ad");this.gw=(0,g.AG)()};
g.h.Vb=function(a,b){if(30==this.bh){var c=this.zj["default.jpg"];return c?c:this.videoId?g.Gg("//docs.google.com/vt",{id:this.videoId,authuser:this.tc,authkey:this.Iu}):"//docs.google.com/images/doclist/cleardot.gif"}b||(b="hqdefault.jpg");return(c=this.zj[b])||a.H||"pop1.jpg"==b||"pop2.jpg"==b||"sddefault.jpg"==b||"hq720.jpg"==b||"maxresdefault.jpg"==b?c:RO(a,this.videoId,b)};
g.h.Wy=function(a){if(!this.ma()){var b=a.responseText;if(b){this.Vg=!1;var c=g.IE(b);this.hx&&YP(c);"fail"==c.status?this.V("onStatusFail",c):(g.rP("virc"),g.rP("virc",void 0,"video_to_ad"),(0,g.H)(g.pQ.o,function(a){a in this.Ub&&(c[a]=this.Ub[a])},this),this.setData(c),IQ(this)?xQ(this):this.V("dataloaderror",new g.OP("manifest.net.retryexhausted",!0,{successButUnplayable:"1"})))}else this.jq(a)}};
g.h.WL=function(a){this.jq(a.g)};
g.h.jq=function(a){if(!this.ma()){var b=a?a.status:-1;a=this.Zd>=this.Ur||400==b;var c=200<b?"manifest.net.badstatus":"manifest.net.connect",d=(((0,g.AG)()-this.gw)/1E3).toFixed(3),b={backend:"gvi",rc:b,rt:d};a&&this.Ur?(c="manifest.net.retryexhausted",b.urllen=this.aq.length):a||(this.Zd++,this.dA.start());this.V("dataloaderror",new g.OP(c,a,b))}};
g.h.getPlayerResponse=function(){return this.Yb};
g.h.getPlaylistId=function(){return null};
g.h.dc=function(){return this};
g.h.Hm=function(a){return a.getVideoUrl(this.videoId)};
g.h.Qh=function(){return this.ua&&3!=this.Ok?this.ua.Qh():!1};
g.h.mg=function(){if(!this.ua)return!1;for(var a in this.ua.g){var b=this.ua.g[a].info.video;if(b&&2==b.projectionType&&3==this.Ok)return!0}return this.ua.mg()};
var qQ=["annotations","captions","storyboard"];g.C(g.QQ,g.ZF);g.h=g.QQ.prototype;g.h.hasNext=function(a){return this.loop||!!a||this.gc+1<this.Ug};
g.h.Af=function(a){return this.loop||!!a||0<=this.gc-1};
g.h.dc=function(a,b){var c=void 0!=a?a:this.gc,c=this.Na&&c in this.Na?this.Na[this.Gd[c]]:null,d=null;c&&(b&&(c.autoplay="1"),d=new g.pQ(c),d.startSeconds=this.startSeconds||d.clipStart||0,this.listId&&(d.playlistId=this.listId.toString()));return d};
g.h.setShuffle=function(a){this.xA=a;a=this.Gd&&null!=this.Gd[this.gc]?this.Gd[this.gc]:this.gc;this.Gd=[];for(var b=0;b<this.Na.length;b++)this.Gd.push(b);this.gc=a;this.bn++;if(this.xA){a=this.Gd[this.gc];for(b=1;b<this.Gd.length;b++){var c=Math.floor(Math.random()*(b+1)),d=this.Gd[b];this.Gd[b]=this.Gd[c];this.Gd[c]=d}for(b=0;b<this.Gd.length;b++)this.Gd[b]==a&&(this.gc=b);this.bn++}this.V("shuffle")};
g.h.Vb=function(a,b){b=b||"hqdefault.jpg";var c=this.zj[b];if(c||a.H||"sddefault.jpg"==b||"hq720.jpg"==b||"maxresdefault.jpg"==b)return c;if(this.EA.length)return RO(a,this.EA[0],b)};
g.h.Rd=function(){return this.gc};
g.h.getLength=function(){return this.Ug};
g.h.Wj=function(a){if(a&&(a=a.videoId,!this.Na[this.gc]||this.Na[this.gc].video_id!=a))for(var b=0;b<this.Na.length;b++)if(this.Na[b].video_id==a){this.gc=b;break}};
g.h.onReady=function(a){this.Gk=a;this.Oc&&g.GE(this.Gk,0)};
g.h.getPlaylistId=function(){return this.listId?this.listId.toString():null};
g.h.Hm=function(a){return a.getVideoUrl(this.dc().videoId,this.getPlaylistId())};
g.h.P=function(){this.Gk=null;g.Ue(this.Na);g.QQ.R.P.call(this)};var Dma={ST:"YTP_ERROR_ALREADY_PINNED_ON_A_DEVICE",AUTHENTICATION_EXPIRED:"ERROR_AUTHENTICATION_EXPIRED",XT:"ERROR_AUTHENTICATION_MALFORMED",ZT:"ERROR_AUTHENTICATION_MISSING",eU:"ERROR_BAD_REQUEST",vU:"YTP_ERROR_CANNOT_ACTIVATE_RENTAL",FU:"ERROR_CGI_PARAMS_MALFORMED",GU:"ERROR_CGI_PARAMS_MISSING",uV:"YTP_DEVICE_FALLBACK",VV:"YTP_ERROR_LICENSE",bW:"YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK_FLASH",fW:"YTP_ERROR_FORMAT_UNAVALIABLE",iW:"YTP_ERROR_GEO_FAILURE",yW:"YTP_ERROR_GENERIC_WITHOUT_LINK",AW:"YTP_HTML5_PROTECTED_FLASH_FALLBACK",
zW:"YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK",RW:"YTP_ERROR_INVALID_DRM_MESSAGE",YW:"LEARN_MORE",cY:"YTP_ERROR_NOT_SIGNED_IN",JY:"YTP_ERROR_PURCHASE_NOT_FOUND",KY:"YTP_ERROR_PURCHASE_REFUNDED",PY:"YTP_ERROR_RENTAL_EXPIRED",AU:"YTP_ERROR_CAST_SESSION_DEVICE_MISMATCHED",BU:"YTP_ERROR_CAST_SESSION_VIDEO_MISMATCHED",DU:"YTP_ERROR_CAST_TOKEN_FAILED",CU:"YTP_ERROR_CAST_TOKEN_EXPIRED",EU:"YTP_ERROR_CAST_TOKEN_MALFORMED",lZ:"YTP_ERROR_SERVER_ERROR",JZ:"YTP_ERROR_STOPPED_BY_ANOTHER_PLAYBACK",OZ:"YTP_ERROR_STREAM_LICENSE_NOT_FOUND",
LZ:"YTP_ERROR_STREAMING_DEVICES_QUOTA_PER_24H_EXCEEDED",MZ:"YTP_ERROR_STREAMING_NOT_ALLOWED",NZ:"YTP_ERROR_STREAMING_UNAVAILABLE",YY:"YTP_ERROR_RETRYABLE_ERROR",e_:"YTP_ERROR_TOO_MANY_STREAMS_PER_USER",d_:"YTP_ERROR_TOO_MANY_STREAMS_PER_ENTITLEMENT",F_:"YTP_ERROR_UNSUPPORTED_DEVICE",G_:"YTP_ERROR_UNUSUAL_ACTIVITY",T_:"YTP_ERROR_VIDEO_FORBIDDEN",V_:"YTP_ERROR_VIDEO_NOT_FOUND"},Hla={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"};g.YQ.prototype.vb=function(){return g.W(this,8)&&!g.W(this,64)&&!g.W(this,2)};
g.YQ.prototype.isError=function(){return g.W(this,128)};g.C(g.iR,g.M);g.h=g.iR.prototype;g.h.Ia=function(a,b){g.t(b)?xe(a,this.element,b):a.appendChild(this.element)};
g.h.detach=function(){g.ye(this.element)};
g.h.update=function(a){for(var b in a)this.Ca(b,a[b])};
g.h.Ca=function(a,b){var c=this.Pa["{{"+a+"}}"];c&&kR(this,c[0],c[1],b)};
g.h.P=function(){this.wa={};this.Pa={};this.detach();g.iR.R.P.call(this)};
g.iR.o=1;g.iR.g=function(){return"ytp-svg-"+g.iR.o++};g.C(g.X,g.iR);g.h=g.X.prototype;g.h.Jc=function(a,b){this.Ca(b||"content",a)};
g.h.show=function(){this.o||(g.nR(this.element,""),this.o=!0)};
g.h.oa=function(){this.o&&(g.nR(this.element,"none"),this.o=!1)};
g.h.Jb=function(a){a?this.show():this.oa()};
g.h.T=function(a,b,c){return this.U(this.element,a,b,c)};
g.h.U=function(a,b,c,d){c=(0,g.A)(c,d||this);d={target:a,type:b,listener:c};this.ba.push(d);a.addEventListener(b,c);return d};
g.h.Ba=function(a){for(var b=0;b<this.ba.length;b++)if(this.ba[b]==a){a=this.ba.splice(b,1)[0];a.target.removeEventListener(a.type,a.listener);break}};
g.h.focus=function(){g.Le(this.element);this.element.focus()};
g.h.P=function(){for(;this.ba.length;){var a=this.ba.pop();a.target.removeEventListener(a.type,a.listener)}g.X.R.P.call(this)};rR.prototype.forEach=function(a){for(var b=this.o+1;b<this.g.length;b++)a(this.g[b]||0);for(b=0;b<=this.o;b++)a(this.g[b]||0)};
rR.prototype.fb=function(){var a=[];this.forEach((0,g.A)(a.push,a));return a};
rR.prototype.clear=function(){for(var a=this.g.length,b=0;b<a;b++)this.g[b]=0;this.o=this.g.length-1};vR.prototype.reset=function(){this.J=xR(this);this.F=window.NaN;this.H=0;this.g=new uR(0,0,null);this.B=8;this.C=[];this.A=this.D=window.NaN;this.o=this.G=0};
vR.prototype.process=function(a){if(this.C.length){if(AR(this)&&this.C.length+a.byteLength<this.B)return BR(this,a,0);var b=this.C.length,c=new window.Uint8Array(b+a.byteLength);c.set(this.C,0);c.set(new window.Uint8Array(a.buffer,a.byteOffset,a.byteLength),b);this.C=[];a=new window.DataView(c.buffer)}for(b=0;b<a.byteLength;){var c=a.byteLength-b,d=window.NaN;if(AR(this)){if(c<this.B)return BR(this,a,b);switch(this.g.type){case 0:case 1836019574:case 1836019558:d=yR(this,a,b);break;case 1953653094:c=
a;d=b;this.G||(this.G=SK(CR(this,c,d),this.o));d=yR(this,c,d);break;case 1836476516:this.o=xpa(CR(this,a,b));zR(this);d=this.g.size-8;break;case 1952867444:c=a;d=b;(0,window.isNaN)(this.A)||((0,window.isNaN)(this.F)&&(this.F=this.A),ZK(CR(this,c,d),this.A),this.A+=this.G,this.H+=this.G);d=this.g.size-8;break;case 1936286840:c=CR(this,a,b),d=bL(c),this.o=aL(c),zR(this),this.G=d,d=this.g.size-8}}else d=Math.min(this.B,c);this.g.offset+=d;this.B-=d;b+=d;if(0==this.B){for(;0!=this.g.type&&this.g.offset==
this.g.size&&this.g.g;)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}}}return a};g.C(DR,g.ZF);var Ula=0;g.h=PR.prototype;g.h.iP=function(a){this.status=a.status;a.ok?(this.C=a.body.getReader(),this.D?(this.G=a.headers,this.N(),this.B=new window.Uint8Array(QR(this)),TR(this)):this.C.cancel("Cancelling")):this.ln()};
g.h.gL=function(a){if(this.D)if((0,g.G)(),a.done)this.C=null,this.ln();else{a=a.value;this.D({timeStamp:(0,g.G)(),loaded:this.A});this.A+=a.length;var b=a.length>=Math.max(QR(this)/2,16384),c=a.length+this.g>QR(this);this.J?((b||c)&&0!==this.g&&RR(this),b?this.o.push(a):SR(this,a)):(SR(this,a),16384<=this.A&&RR(this));TR(this)}};
g.h.ln=function(){this.D&&(this.F=!0,this.L())};
g.h.sN=function(){this.H=!0;this.ln()};
g.h.Xg=function(a){return this.G.get(a)};
g.h.Bw=function(){return!!this.G};
g.h.Mp=function(){return this.A};
g.h.Qp=function(){return+this.Xg("content-length")};
g.h.zw=function(){return 200<=this.status&&300>this.status&&!!this.A};
g.h.Wq=function(){return!!this.o.length||this.F&&0<this.g};
g.h.vA=function(){this.o.length||RR(this);return this.o.shift()};
g.h.Kx=function(){this.o.length||RR(this);return this.o[0]};
g.h.abort=function(){this.C&&this.C.cancel("Cancelling");this.L=this.D=null};
g.h.CA=function(){return!0};
g.h.Oz=function(){return this.H};g.h=UR.prototype;g.h.WI=function(a){if(!this.o){this.status=this.g.status;try{this.response=this.g.response}catch(b){}this.A=!0;this.B(a)}};
g.h.YI=function(){2==this.g.readyState&&this.C()};
g.h.XI=function(a){this.o||(this.status=this.g.status,this.D(a))};
g.h.Bw=function(){return 2<=this.g.readyState};
g.h.Xg=function(a){try{return this.g.getResponseHeader(a)}catch(b){return g.zE(b),""}};
g.h.Qp=function(){return+this.Xg("content-length")};
g.h.Mp=function(){return this.response.byteLength};
g.h.zw=function(){return 200<=this.status&&300>this.status&&!!this.response&&!!this.response.byteLength};
g.h.Wq=function(){return this.A&&!!this.response&&!!this.response.byteLength};
g.h.vA=function(){var a=this.response;this.response=null;return new window.Uint8Array(a)};
g.h.Kx=function(){return new window.Uint8Array(this.response)};
g.h.abort=function(){this.o=!0;this.g.abort()};
g.h.CA=function(){return!1};
g.h.Oz=function(){return!1};VR.DEBUG=!1;VR.o=1E4;VR.g=2048;VR.A="X-Bandwidth-Est";g.h=VR.prototype;g.h.Nb=function(){return this.F};
g.h.start=function(a){var b=1==this.state,c=XR(this);1==this.state||5==this.state||c&&aS(this);bS(this,2);if("fallback"==c||"fastfallback"==c)c=this.info.o,this.G<=c.B||(c.A++,c.B=j4-1),this.Zd=0;else if("retry"==c){this.Zd++;b=1E4*(.5+Math.random());1==this.Zd&&(b=2E3);g.GE((0,g.A)(this.gt,this,a),b);return}c=0;this.A.A&&1<this.info.o.g&&(c=1E3*Math.pow(2,this.info.o.g-1));b&&!c?this.gt(a):g.GE((0,g.A)(this.gt,this,a),c)};
g.h.gt=function(a){if(!this.ma()){this.G=j4++;if(this.o){var b=this.info,c=this.o.o;this.H=b.range?new dM(b.range.start+c,b.range.end):fM(c,this.o.length);this.B=g.$M(this.info,this.A,this.N,this.H)}else this.H=this.info.range,this.B=g.$M(this.info,this.A,this.N);this.B.set("rn",this.G.toString());this.Zd&&this.B.set("playerretry",this.Zd.toString());0<=a&&this.B.set("rbuf",(1E3*a).toFixed().toString());a=g.VM(this.B);try{var d=(0,g.A)(this.KO,this),e=(0,g.A)(this.NO,this),f=(0,g.A)(this.MO,this),
k=(0,g.A)(this.LO,this);this.g=this.A.Za&&"function"==typeof window.fetch&&window.ReadableStream&&cS(this)?new PR(a,e,f,d,k):new UR(a,e,f,d,k)}catch(l){this.F="net.ssl",bS(this,7)}(d=0<this.A.N)&&!(d=!this.A.Ta)&&(d=this.timing,d=1/(d.F.stall+1/d.F.byterate)>this.A.Ta);d&&(this.D=g.GE((0,g.A)(this.Sz,this),this.A.N))}};
g.h.NO=function(){this.J=0;var a=$R(this);(0,g.AG)();a.o+=1;a=this.timing;a.o=(0,g.G)();a.D=a.o;a.A=0;a.S=!1;a.M=!1;a.B=0;a.F=yK(a.g);OR(a);a.H=(a.J-a.o)/1E3};
g.h.MO=function(a){if(!this.ma()){this.C=this.g.status;hS(this,!1);var b=this.timing,c=a.timeStamp;a=a.loaded;c=c>b.o&&4E12>c?c:(0,g.G)();50>c-b.D&&(NR(b)||!b.g.policy.H)||MR(b,c,a);b=this.timing;b.A>b.ca&&b.A>b.g.policy.g&&4>this.state?bS(this,4):eS(this)&&gS(this)&&bS(this,Math.max(3,this.state))}};
g.h.LO=function(){if(!this.ma()&&!this.M&&this.g.Bw()&&this.g.Xg("X-Walltime-Ms")){var a=(0,window.parseInt)(this.g.Xg("X-Walltime-Ms"),10);this.M=((0,g.G)()-a)/1E3}};
g.h.KO=function(){var a=this.g;if(!this.ma()){this.D&&(g.EE(this.D),this.D=window.NaN);this.C=a.status;var b=!1;if(400<=a.status)b=!0,this.F="net.badstatus";else if(a.zw()){var c="";fS(this)&&(c=a.Kx(),2048<c.length?c="":(c=String.fromCharCode.apply(String,c),c=QM.test(c)?c:""));if(c){bN($R(this));var a=this.info,d=this.B,e=a.o;d.g===e.D&&(e.D=WM(d,c));d.g===e.o&&(e.o=WM(d,c));a.requestId=d.get("req_id");bS(this,5)}else if(c=a.Mp(),(d=!!this.H&&this.H.length)&&d!=c||a.Oz())b=!0,this.F="net.closed";
else{hS(this,!0);e=cS(this)?this.g.Xg("X-Bandwidth-Est"):0;a=this.timing;d=(0,g.G)();e=e?(0,window.parseInt)(e,10):0;if(!a.S){a.S=!0;d=d>a.o&&4E12>d?d:(0,g.G)();MR(a,d,c);a.G&&e?qK(a.g,a.A/e,a.A):(e=(d-a.o)/1E3,(e<=a.g.policy.A||!a.g.policy.A)&&!a.M&&NR(a)&&qK(a.g,e,c),NR(a)&&sK(a.g,c,a.B));var c=a.g,d=(d-a.o)/1E3,e=a.H,f=a.ba;c.C.g(d,a.A/d);c.F=(0,g.AG)();f||c.o.g(1,d-e);a.C&&(a.C=!1)}bN($R(this));this.info.o.g=0;bS(this,6)}}else b=!0,this.F="net.connect";b&&(aS(this),(0,g.G)(),b=$R(this),b.g+=1,
this.info.o.g+=1,bS(this,7))}};
g.h.Sz=function(){this.D=window.NaN;if(!(this.ma()||this.A.Ec&&this.g&&NR(this.timing)&&"quic"==this.g.Xg("client-protocol"))){var a=(0,g.G)(),b=!1;if(NR(this.timing)){var c=this.timing.J;OR(this.timing);this.timing.J-c>=.8*this.A.N?(this.J++,b=this.J>=this.A.Qa):this.J=0}else b=this.timing,b=a-(b.o+1E3*b.F.delay),c=1E3*this.A.Je,this.A.A&&0==$R(this).ug&&(c=2E3),b=b>c;if(b){b=this.timing;a=a>b.o&&4E12>a?a:(0,g.G)();c=(a-b.o)/1E3;if(!b.G)if(NR(b))b.B+=(a-b.D)/1E3,sK(b.g,b.N,b.B);else{var d=b.g;d.D.g(1,
c);rK(d);b.L=a}var d=b.g,e=b.H,f=b.ba;d.C.g(c,b.A/c);d.F=(0,g.AG)();f||d.o.g(1,c-e);uK(b.g,(a-b.D)/1E3,0);b=$R(this);b.ug+=1;this.info.o.g+=1;dS(this);this.F="net.timeout";bS(this,7)}else this.D=g.GE((0,g.A)(this.Sz,this),this.A.N)}};
g.h.ma=function(){return-1==this.state};
g.h.dispose=function(){hM(this.info.g[0])&&6!=this.state&&(this.info.g[0].g.o=!1);bS(this,-1);this.L=null;dS(this);g.EE(this.D);this.D=window.NaN};iS.prototype.start=function(){this.o=!0};
iS.prototype.reset=function(){this.g=this.o=!1};jS.prototype.ba=function(a){switch(a.info.type){case 1:case 2:this.ca(a);break;case 4:var b=a.info.g.Xz(a);a=a.info;var c=this.g;c&&c.g==a.g&&c.type==a.type&&(a.range&&c.range?c.range.start==a.range.start&&c.range.end==a.range.end:c.range==a.range)&&c.Oa==a.Oa&&c.o==a.o&&c.ub==a.ub&&(this.g=g.Xa(b).info);(0,g.H)(b,this.ba,this);break;case 3:Nla(this.o,a)}};
jS.prototype.ca=function(a){if(RI(a.info.g.info)&&!SI(a.info.g.info)&&1==a.info.type){var b=new window.DataView(a.g),c=new lM(b);nM(c);oM(c,408125543);c=pM(c);oM(c,374648427);c=pM(c);oM(c,174);c=pM(c);oM(c,224);c=pM(c);if(oM(c,21936)){var d=c.A+c.g,c=qM(c,!0);b.setUint8(d-2,236);b.setUint8(d-1,128|c+1)}}a.info.g.lq(a)};
jS.prototype.da=function(a){this.B=a=a.info;this.M&&this.B.A&&(this.M=!1);a.g.info.g>=this.H&&(this.H=a.g.info.g)};
jS.prototype.getDuration=function(){return this.Ua.index.Bm()};YS.prototype.send=function(){g.TE(this.o,{format:"RAW",responseType:"arraybuffer",timeout:1E4,ud:this.A,Xc:this.A,context:this});this.g=(0,g.AG)()};
YS.prototype.A=function(a){var b={rc:a.status,lb:a.response?a.response.byteLength:0,rt:(((0,g.AG)()-this.g)/1E3).toFixed(3),shost:g.wg(this.o),trigger:this.D};204==a.status||a.response?this.B&&this.B(PP(b)):this.C(new g.OP("pathprobe.net",!1,b))};var dma=1;g.ZS.prototype.getId=function(){return this.za};
g.ZS.prototype.getId=g.ZS.prototype.getId;g.ZS.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)};g.C(dT,g.M);dT.prototype.F=function(a){for(var b=arguments.length-1;0<=b;b--){var c=arguments[b];if(c){var d=this.o.indexOf(c);0<=d&&this.o.splice(d,1);var e=this.g,d=e.g,c=g.vb(d,c,e.o);0<=c&&g.ib(d,c)}}this.A()};
dT.prototype.reset=function(){this.C=this.H=!1;this.D.stop();this.g.g=[];this.o=[];this.A();this.G=null};
dT.prototype.A=function(){this.J=!0;if(!this.L){for(var a=3;this.J&&a;){this.J=!1;this.L=!0;var b;if(this.C&&!this.H){this.D.stop();b=this.M();g.W(b,32)&&this.N.start();for(var c=g.W(this.M(),2)?0x8000000000000:1E3*this.ba(),d=g.W(b,2),e=[],f=[],k=0;k<this.o.length;k++){var l=this.o[k];l.active&&(d?0x8000000000000>l.end:!l.contains(c))&&f.push(l)}e=e.concat(jma(this,f));if(d)b=aT(this.g,0x7ffffffffffff),b=b.concat(gma(this.g));else if(this.B<=c&&b.vb()&&!g.W(b,16)&&!g.W(b,32)){b=this.g;d=c;f=[];for(k=
bT(b,this.B);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=aT(this.g,c);e=e.concat(hma(this,b));this.B=c;!this.H&&this.G&&(this.G=null);c=e;for(e=0;e<c.length;e++)b=c[e],d=b[1],1==b[0]?(d.g&&d.g.V("onEnter",d),this.S("crn_"+d.namespace,d)):(d.g&&d.g.V("onExit",d),this.S("crx_"+d.namespace,d))}this.L=!1;a--}this.M().vb()&&(a=cT(this.g,this.B),null!=a&&0x7ffffffffffff>a&&(a=(a-this.B)/this.aa(),this.D.start(a)))}};
dT.prototype.P=function(){this.G=this.g=this.o=null;dT.R.P.call(this)};g.p(gT,g.ZF);g.h=gT.prototype;g.h.initialize=function(a,b,c,d){a=a||0;var e=this.F;d=d&&d.id;e.G="i";"auto"!=iJ()&&(e.G="s");PS(e,b);ama(e,d);e.M=e.B;bma(e);e.o=e.g;b=WS(e);this.B=new jS(this.o,b.audio);this.g=new jS(this.o,b.video);BT(this,this.B);BT(this,this.g);this.g.o.N=this.B.o;this.V("videoformatchange",b);this.D=a;c?(this.G=!0,xT(this)):kT(this)};
g.h.resume=function(){if(this.G||this.ba)this.ba=this.G=!1};
g.h.DN=function(a){if(!this.ma()&&3<=a.state){var b=a.info.g[0].g,c=!this.da&&b.info.video,d=!this.N&&b.info.audio,e=Math.max(0,a.info.g[0].C-this.D);this.o.ee&&5<=a.state&&this.gn("rqs",PP(Vla(a)));if(5==a.state)c?jT(this,"vrr"):d&&jT(this,"arr"),a.start(e);else if(6==a.state||this.o.Za&&3<=a.state&&!(5<=a.state)){c?(this.da=a.B?g.VM(a.B):"",MG(4)):d&&(this.N=a.B?g.VM(a.B):"");b=b.info.video?this.g:this.B;this.C.o&&(b.G=!1,a.M&&this.Pa.g(1,a.M));if(e=hM(a.info.g[0]))e=a.info,e=!!hM(e.g[e.g.length-
1]);e&&(0,g.H)(a.o.A,b.ca,b);this.Ce()}else if(4==a.state)this.Ce(),c&&MG(4);else if(7==a.state&&aS(a)){if(c=b.info.video&&(0<a.Zd||this.o.A&&1<b.C.g||410==a.C||500==a.C||503==a.C)&&this.o.yb&&!TS(this.F),d=YR(a),c&&(d.stun="1"),fT(this,!1,a.Nb(),d),!this.ma()){if(c){var d=this.F,f=b.info;TS(d);d.fa=f;d.S=(0,g.AG)();d.N=-1;PS(d,d.D)}if(ZR(a)||c){b=b.info.video?this.g:this.B;for(e=0;e<b.A.length&&a!==b.A[e];e++);if(e==b.A.length)xS(b,a);else{for(;e<b.A.length;)xS(b,b.A.pop());3==a.info.g[0].type?(a.o&&
a.o.B?(a=a.o.B,a=new gM(a.type,a.g,a.range,a.Oa,a.startTime+a.duration,0,a.o+a.ub,0,!1)):(a=a.info.g[0],a=new gM(a.type,a.g,a.range,a.Oa,a.startTime,0,a.o,0,!1)),b.g=a):b.g=null}this.Ce()}else a.start(e),this.o.li&&!aS(a)&&(a="https://www.youtube.com/generate_204?cpn="+(b.C.C.get("cpn")||"")+"&rn="+j4++,CT(this,a,"error"))}}else hM(a.info.g[0])?(b.B=!0,this.Ce()):fT(this,!0,"net.retryexhausted",YR(a))}};
g.h.Ce=function(){this.sa=window.NaN;oT(this);if(this.A&&SL(this.A)&&!VL(this.A))if(this.C.isLive)(0,window.isNaN)(this.J)?(this.J=this.D+3600,TL(this.A,this.J)):this.J<=this.D+1800&&(this.J+=1800,TL(this.A,this.J));else{var a=Math.max(this.B.getDuration(),this.g.getDuration());(!(0,window.isFinite)(this.J)||this.J!=a)&&0<a&&(TL(this.A,a),this.J=a)}if(!this.ma())if(BN(this.C)&&3==this.C.F)fT(this,!0,"manifest.net.retryexhausted",{rc:this.C.L.toString()});else if(this.o.Nd&&this.C.isLive&&(IS(this.g)||
IS(this.B)))this.V("seektohead");else if("prerender"==window.document.webkitVisibilityState)xT(this);else if(oT(this),mS(this.g,this.D),!this.ma()&&(mS(this.B,this.D),!this.ma())){if(this.C.o){JS(this.g);JS(this.B);var b=-1!=this.g.F,a=-1!=this.B.F;if(!b||!a)if(b=!b&&ER(this.g.o),a=!a&&ER(this.B.o),b||a){var a=b?this.g:this.B,b=b?this.B:this.g,c=ER(a.o).info.Oa;if(-1!=b.F&&b.F!=c){var d=b.F;AS(a,0);vS(a,window.Infinity);a.g.Oa=d-1;fT(this,!1,"qoe.avsync",{start:"1",target:b.F,actual:c})}else a.F=
c}(a=ER(this.g.o))&&a.o&&(this.ka=ER(this.g.o).o.A)}this.B.Ua.o&&this.g.Ua.o||(!this.G||zK(this.L)?kT(this):xT(this));if(this.A&&!pT(this,this.B,this.A.g)&&!pT(this,this.g,this.A.o)&&!lma(this)&&((a=AT(this,this.g,this.A.o,null,this.B.D))&&!this.ga&&(this.ga=(0,g.G)(),jT(this,"vda"),g.rP("vda",void 0,"video_to_ad"),this.fa&&MG(4)),!UL(this.A))){b=mL(this.A.o.buffered,this.D+tT);if(!(0,window.isNaN)(b)||uS(this.g)||!this.A.g.buffered.length){if(uS(this.g)||this.o.lf)b=window.NaN;b=AT(this,this.B,this.A.g,
b,null);a=a||b;b&&!this.fa&&(this.fa=(0,g.G)(),jT(this,"ada"),g.rP("ada",void 0,"video_to_ad"),this.ga&&MG(4))}uS(this.g)&&uS(this.B)&&SL(this.A)&&!VL(this.A)&&(b=this.A,SL(b)&&b.A.endOfStream(),b=this.L,hJ(yK(b)),b.B=(0,g.AG)());a&&!XL(this.A)&&wT(this)}iT(this);this.g.Ua.B||this.B.Ua.B?fT(this,!0,"net.retryexhausted",{metadata:"1",video:this.g.Ua.B?"1":"0",audio:this.B.Ua.B?"1":"0"}):(rT(this,this.g,this.B)&&vT(this,this.g,this.B),rT(this,this.B,this.g)&&vT(this,this.B,this.g),this.o.zg&&this.S&&
!this.G&&zK(this.L)&&(CT(this,this.S,"cms"),this.S="",this.o.Eg&&(a=LM(PM(this.B.Ua.C.C,0)),CT(this,a,"redir"),CT(this,a.replace("redirector.googlevideo.com","www.youtube.com"),"www-redir"))),this.C.A&&xT(this))}};
g.h.qn=function(a){a=(a=a?this.B:this.g)&&a.B;fT(this,!0,"fmt.unplayable",a?jM(a):void 0)};
g.h.xM=function(a){fT(this,!0,"fmt.unparseable",a)};
g.h.BM=function(a){fT(this,!1,"qoe.avsync",a)};
g.h.yM=function(a){this.C.o&&EN(this.C,a)};
g.h.zM=function(a){if(this.C.o){var b=this.C,c;for(c in b.g){var d=b.g[c].index,e=gN(d,a.Oa);0<=e&&d.segments.splice(e,1)}}};
g.h.AM=function(a){this.C.o&&EN(this.C,a)};
g.h.wM=function(a,b){if(this.g.Ua.index.Bc()<=b){var c=this.C;c.G.push(a);c.V("cuepointsadded")}};
g.h.seek=function(a){if(!this.ma()&&!this.g.G&&!this.B.G){oT(this);this.na=(0,g.AG)();iT(this,a);var b=DT(this,this.g,a,this.A&&this.A.o),c=DT(this,this.B,b,this.A&&this.A.g);this.D=Math.max(a,b,c);this.M=!0;wT(this)}};
g.h.P=function(){nT(this);this.B&&(yS(this.B),yS(this.g));g.DE(this.va);g.EE(this.ca);g.ZF.prototype.P.call(this)};
g.h.TI=function(){return this.Pa.o()||0};
g.h.gn=function(a,b){this.V("ctmp",a,b)};
var tT=2/24;g.p(IT,g.M);g.h=IT.prototype;g.h.hJ=function(a){this.F.call(this.A,new window.Uint8Array(a.message))};
g.h.iJ=function(){this.J.call(this.A,qma(this))};
g.h.Ky=function(a,b){g.zE(b);var c=a;b instanceof window.DOMException&&(c+=";n."+b.name+";m."+b.message);this.D.call(this.A,c)};
g.h.iz=function(a){this.F.call(this.A,a.message)};
g.h.hz=function(a){var b;this.o?(b=this.o.error.code,a=this.o.error.systemCode):(b=a.errorCode&&a.errorCode.code,a=a.systemCode);this.D.call(this.A,";c."+b+";sc."+a)};
g.h.gz=function(){this.H.call(this.A)};
g.h.update=function(a){if(this.g)return this.g.update(a).then(null,AE((0,g.A)(this.Ky,this,"t.u")));this.o?this.o.update(a):this.C.addKey?this.C.addKey(this.L.o,a,this.G,this.sessionId):this.C.webkitAddKey(this.L.o,a,this.G,this.sessionId);return QN()};
g.h.P=function(){this.g&&this.g.close();this.C=null;g.M.prototype.P.call(this)};g.p(KT,g.M);KT.prototype.J=function(a){var b=MT(this,a);b&&b.iz(a)};
KT.prototype.H=function(a){var b=MT(this,a);b&&b.hz(a)};
KT.prototype.G=function(a){(a=MT(this,a))&&a.gz()};
KT.prototype.P=function(){this.o=null;g.M.prototype.P.call(this)};g.p(OT,g.M);g.h=OT.prototype;g.h.Ox=function(a){this.L=a};
g.h.bJ=function(a){if(!this.ma()){this.H||(g.rP("drm_gk_f"),this.H=!0,this.g.V("newsession",this));if(IN(this.B)){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");a=new window.Uint8Array(rc(a.childNodes[0].data))}if(JN(this.B))for(b=g.pc(a),a=new window.Uint8Array(new window.ArrayBuffer(b.length)),c=0;c<b.length;c++)a[c]=b.charCodeAt(c);a=new nma(a,++this.M);this.iA(a)}};
g.h.ZI=function(){this.ma()||this.C||(this.g.V("sessionready"),this.C=!0)};
g.h.cJ=function(a){this.ma()||this.g.V("keystatuseschange",vma(a,this.F))};
g.h.iA=function(a){g.rP("drm_net_s");a={format:"RAW",method:"POST",postBody:a.message,responseType:"arraybuffer",withCredentials:!0,timeout:3E4,Lb:(0,g.A)(this.jM,this,a),onError:(0,g.A)(this.Xy,this,a)};var b=this.G;this.L&&(b=Lg(b,"access_token",this.L));g.TE(b,a)};
g.h.jM=function(a,b){if(!this.ma())if(0!=b.status&&b.response){g.rP("drm_net_r");var c=new window.Uint8Array(b.response);if(c=pma(c))if(0!=c.g)PT(this,"drm.auth",!0,"t.f;c."+c.g,g.WQ(c.g));else{g.rP("drm_kr_s");var d=null,e=c.headers["Heartbeat-Url"];e&&(d=new mma(e,(0,window.parseInt)(c.headers["Heartbeat-Interval-Secs"],10)||60,(0,window.parseInt)(c.headers["Heartbeat-Num-Retries"],10)||4));d&&this.g.V("newlicense",d);(d=c.headers["Authorized-Format-Types"])&&!JT(this.A)&&this.g.V("keystatuseschange",
QT(d?d.split(","):[]));c.headers["Key-Ids"]&&(this.F=wma(c.headers["Key-Ids"]));JN(this.B)&&(c.message=new window.Uint8Array(rc(String.fromCharCode.apply(null,c.message))));this.A.update(c.message).then(function(){g.rP("drm_kr_f")});
this.C&&(this.J=(0,g.AG)())}else PT(this,"drm.net",!0,"t.p","YTP_ERROR_SERVER_ERROR")}else this.Xy(a,b)};
g.h.aJ=function(a){this.ma()||PT(this,"drm.keyerror",!0,"t.s"+a)};
g.h.Xy=function(a,b){var c,d=!1;3<=a.g.o||this.N&&36E4<(0,g.AG)()-this.J?(c="drm.net.retryexhausted",d=!0):c=b.status?"drm.net.badstatus":"drm.net.connect";PT(this,c,d,"t.r;c."+b.status);if(this.N&&this.C?0:!d&&this.M==a.number)c=a.g.getValue(),c=new g.Jt((0,g.A)(this.iA,this,a),c),g.N(this,c),c.start(),c=a.g,c.g=Math.min(c.C,c.g*c.F),c.A=Math.min(c.C,c.g+(c.D?Math.round(c.D*(Math.random()-.5)*2*c.g):0)),c.o++};
g.h.P=function(){this.g=null;g.M.prototype.P.call(this)};RT.prototype.get=function(a){a=this.Wj(a);return-1!=a?this.values[a]:null};
RT.prototype.remove=function(a){a=this.Wj(a);-1!=a&&(this.keys.splice(a,1),this.values.splice(a,1))};
RT.prototype.set=function(a,b){var c=this.Wj(a);-1!=c?this.values[c]=b:(this.keys.push(a),this.values.push(b))};
RT.prototype.Wj=function(a){return g.$a(this.keys,function(b){return g.zb(a,b)})};g.p(TT,g.ZF);g.h=TT.prototype;g.h.LL=function(a){a=new HT(new window.Uint8Array(a.initData),a.initDataType);VT(this,a,!0)};
g.h.NM=function(a){VT(this,new HT(a.initData,a.contentType),!0)};
g.h.uM=function(){this.ma()||(this.G=!0,UT(this))};
g.h.QK=function(a){if(!this.ma()){g.zE(a);var b="t.a";a instanceof window.DOMException&&(b+=";n."+a.name+";m."+a.message);this.V("licenseerror","drm.unavailable",!0,b,"YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK")}};
g.h.QM=function(a){this.ma()||!a||this.ba||(this.ba=a,this.V("heartbeatparams",a))};
g.h.RM=function(){this.ma()||(this.o.shift(),UT(this))};
g.h.PN=function(){if(IN(this.g)&&(this.ca--,0==this.ca)){var a=this.C;a.o.msSetMediaKeys(a.A)}};
g.h.dJ=function(a){this.ma()||IN(this.g)||gJ(this.F,a)||(this.F=bJ("auto",a,!1),this.V("qualitychange"))};
g.h.P=function(){this.g.A&&this.H.setMediaKeys(null);this.H=null;this.o=[];for(var a=g.ia(this.A.values),b=a.next();!b.done;b=a.next())b.value.dispose();a=this.A;a.keys=[];a.values=[];this.B&&(this.B.dispose(),this.B=null);this.D=null;g.ZF.prototype.P.call(this)};WT.prototype.C=function(){var a=g.w("yt.abuse.botguardInitialized");return a&&a()?(a=g.w("yt.abuse.invokeBotguard")())?"r1a="+a:null:null};
WT.prototype.D=function(a){return"r3a="+Math.floor(this.g.lengthSeconds%Ua(a.c3a))};
WT.prototype.B=function(a){a=Ua(a.c);var b=g.w("yt.abuse.dclkstatus.checkDclkStatus")();return"r6a="+(a^b)};g.C(aU,g.M);g.h=aU.prototype;g.h.start=function(){this.o.start()};
g.h.stop=function(){this.o.stop()};
g.h.Fb=function(a,b,c){this.A[a]=b;this.g[a]=new cU(!!c)};
g.h.clear=function(){for(var a in this.g)this.g[a].clear()};
g.h.vP=function(){for(var a in this.A)this.g[a].update(this.A[a]());this.o.start()};
cU.prototype.update=function(a){this.A?(sR(this.g,a-this.o||0),this.o=a):sR(this.g,a)};
cU.prototype.clear=function(){this.g.clear();this.o=0};fU.prototype.isEmpty=function(){return this.endTime==this.startTime};var hU={other:1,none:2,wifi:3,cellular:7};g.C(iU,g.ZF);iU.o=2;iU.B=5;iU.C=5;iU.g="endcr";iU.A=96;g.h=iU.prototype;g.h.P=function(){g.EE(this.ca);g.DE(this.gb);g.EE(this.tb);var a=eU();a&&window.document.removeEventListener(a,this.ce,!1);mU(this);nU(this);kU(this);HU(this);g.Ue(this.ga,this.g);this.S=null;this.Ta=!1};
g.h.bv=function(){if(this.g.Ob())g.W(this.A,128)||(this.g.Ob(),this.yb=this.fa.g=!0,4!=this.Nd&&(this.da=g.nb(this.g.Xd)),g.BQ(this.g,this.X).then(this.Pv,this.Pv,this));else{var a=this.g;if(a.Aa&&a.adaptiveFormats&&!a.Aw&&(g.KQ(a)||this.X.experiments.g("html5_manifestless_always"))){if(a=this.g,!vQ(a)){a.Aw=!0;var b=uN(AQ(a,a.adaptiveFormats),a.Tc,a.lengthSeconds,!0,a.wj);zla(b)||a.pq?b.dispose():(a.Qj=!1,zQ(a,b),b.subscribe("cuepointsadded",a.Zu,a),tN(a.ua)&&(a.Zi=!0));xQ(a)}}else if(this.g.Qj){a=
this.g;b=this.X.experiments;a.Vg=!0;a.Qj=!1;QM.test(a.pe)||g.zE(Error("DASH MPD Origin invalid: "+a.pe),"WARNING");var c=a.pe,c=g.Gg(c,{mpd_version:b.o("dash_manifest_version")||4});!a.isLowLatencyLiveStream&&b.g("html5_live_disable_dg_pacing")&&(c=g.Gg(c,{pacing:0}));AN(new sN(c,b,a.Aa),c).then(a.BL,a.AL,a);g.rP("mrs")}else if(this.g.Zi)this.C&&(a=this.C.o,RJ(a,"protected"),a.g.videoData.Ff?a.ga():a.g.videoData.subscribe("dataloaded",a.ga,a)),a=this.g,b=this.X.M,c=this.X.experiments,tN(a.ua),b=new WP(WN(b,
a.ua),c),g.N(a,b),a.Zi=!1,a.Vg=!0,a=(0,g.A)(a.wI,a),b.A=a,MN(b.C)?b.D():lla(b);else if(!this.g.Vg&&this.yb){a:{var b=this.X,a=this.g,d=this.wb.Ya(),e=this.ee(),f=this.X.da;switch(a.bh){case 38:b=a.videoId.indexOf(":");a=g.Gg("//play.google.com/books/volumes/"+a.videoId.slice(0,b)+"/content/media",{aid:a.videoId.slice(b+1),sig:a.tK});break a;case 30:c="https://docs.google.com/get_video_info";b.experiments.g("restore_nonsense_docs_behavior")&&b.baseYtUrl!=MO.prototype.baseYtUrl&&(c=b.baseYtUrl+"get_video_info");
a=g.Gg(c,{docid:a.videoId,authuser:a.tc,authkey:a.Iu,eurl:b.na});break a;case 33:a=g.Gg("//google-liveplayer.appspot.com/get_video_info",{key:a.videoId});break a;default:c={html5:"1",video_id:a.videoId,cpn:a.clientPlaybackNonce,eurl:b.na,ps:b.o,el:b.g,hl:b.Ea,list:a.playlistId,agcid:a.kF,aqi:a.jF,sts:17277,lact:g.DG()},g.za(c,b.B),b.ce&&(c.ecver=b.ce),b.forcedExperiments&&(c.forced_experiments=b.forcedExperiments),a.Tf?(c.vvt=a.Tf,a.mdxEnvironment&&(c.mdx_environment=a.mdxEnvironment)):a.oauthToken&&
(c.access_token=a.oauthToken),a.adFormat&&(c.adformat=a.adFormat),b.wi&&(c.cc_lang_pref=b.wi),b.Hg&&2!=b.Hg&&(c.cc_load_policy=b.Hg),b.mute&&(c.mute=b.mute),a.Gg&&2!=b.Gg&&(c.iv_load_policy=a.Gg),a.Vm&&(c.itct=a.Vm),SJ(b,a,f)&&(c.autoplay="1"),a.Ym&&(c.autonav="1"),a.Tq&&(c.noiba="1"),a.isMdxPlayback&&(c.mdx="1",c.ytr=a.Ze),a.mdxControlMode&&(c.mdx_control_mode=a.mdxControlMode),a.Vl&&(c.ytrcc=a.Vl),a.Xq&&(c.utpsa="1"),a.isFling&&(c.is_fling="1"),a.vnd&&(c.vnd=a.vnd),a.Kp&&(c.force_ad_param_ad_type=
"video_ad",c.force_ad_param_url=a.Kp,c.force_ad_param_break_type="1",c.force_ad_param_offset_value=0),d.width&&(c.width=d.width),d.height&&(c.height=d.height),a.Ef&&(c.splay="1"),a.ypcPreview&&(c.ypc_preview="1"),b.sa&&(c.content_v=b.sa),a.qk&&(c.livemonitor=1),b.tc&&(c.authuser=b.tc),b.pageId&&(c.pageid=b.pageId),b.ka&&(c.ei=b.ka),b.yg&&(c.ssl_stream="1"),b.A&&(c.iframe="1"),a.kh&&(c.tst=a.kh),a.contentCheckOk&&(c.cco="1"),a.racyCheckOk&&(c.rco="1"),b.Hb&&a.liveStartWalltime&&(c.live_start_walltime=
a.liveStartWalltime),b.Hb&&a.fr&&(c.live_manifest_duration=a.fr),b.Hb&&a.playerParams&&(c.player_params=a.playerParams),b.Hb&&a.cycToken&&(c.cyc=a.cycToken),b.Hb&&a.GA&&(c.tkn=a.GA),0!=e&&(c.vis=e),b.enableSafetyMode&&(c.enable_safety_mode="1"),b.widgetReferrer&&(c.widget_referrer=b.widgetReferrer.substring(0,128)),(d=b.J.embedding_app)&&(c.embedding_app=d),(d=b.J.developer_api_key)&&(c.developer_api_key=d),(d=g.wQ(a))&&(c.uloc=d),a.bx&&(c.strpro="1"),a=g.Gg(b.baseYtUrl+"get_video_info",c)}}b=2;this.X.isAd()&&
(b=0);c=this.g;d=this.X.Ja;e=this.X.experiments;f=this.X.xc;c.ma()||(c.aq=a,c.Ur=b,c.rj=!!d,c.hx=!!f,e&&(c.Uz=!e.g("disable_gvi_cors"),c.Zp=e.o("html5_get_video_info_timeout_ms")||0,c.hw=e.g("html5_get_video_info_promiseajax"),c.wj=aF()&&!!e.g("enable_mesh_ps4")),c.Vg=!0,c.eA())}}};
g.h.Pv=function(){if(uQ(this.g)){if(this.g.Aa){this.J=new Jla;this.L=new Lla(this.g,this.X.experiments);if(this.C){var a=tR(this.L);PJ(this.C.o,a)}yU(this,XU(this,!1),!0)}this.g.rb.g&&g.UU(this);TU(this,"i");this.J&&(this.g.We()?(a=(0,g.A)(this.B.TI,this.B),this.J.A=a):this.g.ua&&(a=(0,g.A)(this.g.ua.VI,this.g.ua),this.J.A=a))}this.sa&&NU(this);oU(this,"dataloaded");this.M.o?vU(this):this.X.experiments.g("html5_suspended_state")&&this.sa&&pU(this,aR(aR(this.A,512),1))};
g.h.logEvent=function(a,b){if(this.C){var c=this.C,d={};d.rt=g.xJ(c.g).toFixed(3);g.za(d,ZJ(c.g));var e=c.g.g,f=c.g.videoData,k={ns:e.Ta,html5:"1",el:e.g,ps:e.o,fexp:e.experiments.experimentIds.join(",")||void 0,feature:f.Qr||e.fh||void 0,ctrl:f.Pf||void 0,ytr:f.Ze||void 0,list:f.playlistId,d:e.Md,f:e.ac};if(e.experiments.g("legacy_autoplay_flag")?e.ca:f.dh)k.autoplay="1";f.subscribed&&(k.subscribed=f.subscribed);g.za(d,k);delete d.fexp;g.za(d,a);d=g.QE(c.g.g.baseYtUrl+"player_204",d);dK(c,d,b)}};
g.h.isPeggedToLive=function(){return this.Ea};
g.h.OQ=function(){return this.A};
g.h.getPlayerType=function(){return this.Nd};
g.h.Xs=function(){var a=this.g,b=a.nd;if(!b)return a.gm;var c=g.Za(this.g.rb?this.g.rb.audioTracks:[],function(a){return a.id==b.id});
return c?c:a.gm};
g.h.DO=function(){this.X.experiments.o("html5_background_quality_cap")&&this.B&&TU(this,"v");this.X.li&&!this.g.backgroundable&&this.o&&(dU()&&this.o.o?(this.he("bgmobile","suspend"),GU(this,!0)):NU(this)&&this.he("bgmobile","resume"))};
g.h.vM=function(a){this.Md?this.oc=!0:(a.B&&TL(a,this.g.lengthSeconds),g.lT(this.B,a))};
g.h.dM=function(a){if(this.F){var b=this.F;if(IN(b.g)){for(var c=new window.Uint8Array(0),d=new window.DataView(a.buffer,a.byteOffset,a.length),e=0;e<a.length-8;){var f=d.getUint32(e);if(1>=f)break;var k=d.getUint32(e+4);if(1836019574==k)e+=8;else{if(1886614376==k){var k=a.subarray(e,e+f),l=new window.Uint8Array(c.length+k.length);l.set(c);l.set(k,c.length);c=l}e+=f}}a=c;0!=a.length&&VT(b,new HT(a),!1)}}};
g.h.nM=function(a){DU(this,a.reason,a.video.info,a.audio.info);var b=FQ(this.g);b&&b.H(a.video);this.J&&(this.J.o=a.audio.index)};
g.h.mM=function(a){CU(this,a.reason,a.audio.info)};
g.h.Fj=function(a){if("html5.invalidstate"==a.errorCode&&this.o){var b=this.o.Nb();a.details.merr=b?b.toString():"0"}b=/^pp/.test(this.g.clientPlaybackNonce);Hma(a)?g.W(this.A,4)?(this.Ld=!0,nU(this)):KU(this):VU(a)&&this.g.rb.o?(this.he("highrepfallback","1",!0),Cla(this.g),QU(this),OU(this)):a.g?(b=this.B?this.B.F.D:null,b=VU(a)&&b&&b.isLocked()?"YTP_ERROR_FORMAT_UNAVALIABLE":void 0,g.rU(this,a.errorCode,b,PP(a.details))):this.C&&(this.C.onError(a.errorCode,PP(a.details)),b&&"manifest.net.connect"==
a.errorCode&&(a="https://www.youtube.com/generate_204?cpn="+this.g.clientPlaybackNonce+"&t="+(0,g.AG)(),(new YS(a,"manifest",(0,g.A)(function(a){this.he("pathprobe",a)},this),(0,g.A)(function(a){this.onError(a.errorCode,PP(a.details))},this.C))).send()))};
g.h.dB=function(){if(!(0,window.isNaN)(this.N)&&this.o){var a=this.getDuration(),b=this.X.experiments.g("legacy_html5_seek_end")?Math.floor(a):XU(this,!1);!this.g.Aa&&this.N>=b?(this.N=a,this.V("endseeking",this),AU(this,!0),g.jU(this)):(this.B&&this.B.seek(this.N),(!this.g.Aa||1<=this.o.g.readyState)&&wL(this.o,this.N))}this.ga&&(this.ga.dispose(),this.ga=null);g.W(this.A,32)&&(pU(this,aR(bR(this.A,32),16)),this.V("endseeking",this))};
g.h.getCurrentTime=function(){if(!(0,window.isNaN)(this.N))return this.N;var a=0;this.o&&1<=this.o.g.readyState?a=this.o.getCurrentTime():this.g&&(a=this.X.experiments.g("new_ended_replay")?this.g.startSeconds||0:this.g.sf||this.g.startSeconds||0);this.X.experiments.g("new_ended_replay")&&(a=g.Rd(a,this.Uc(),XU(this,!1)));return a};
g.h.getDuration=function(){return this.g.lengthSeconds?this.g.lengthSeconds:XU(this,!1)?XU(this,!1):0};
g.h.kG=function(){var a=new Jja;if(this.B){var b=this.X.schedule;a.B=b.H;a.F=b.J;a.o=wK(b);a.g="d."+tK(b).toFixed(2)+";st."+(1E9*vK(b)).toFixed(2)+";bw."+b.A.o().toFixed(0)+";abw."+b.C.o().toFixed(0)+";v50."+oK(b.o,.5).toFixed(2)+";v92."+oK(b.o,.92).toFixed(2)+";v96."+oK(b.o,.96).toFixed(2)+";v98."+oK(b.o,.98).toFixed(2);b.g&&(a.g+=";ltbw."+b.g.o().toFixed(0));b=this.B;b.A&&!UL(b.A)&&(a.A=uS(b.g)?b.g.B.B:pL(b.A.o.buffered,b.D),a.C=uS(b.B)?b.B.B.B:pL(b.A.g.buffered,b.D));a.o=NS(b.H)}else this.o&&(a.A=
BL(this.o));this.J&&Kla(this.J,a);return a};
g.h.vO=function(){if(this.F){var a=this.F,b=this.g.oauthToken;a.N=b;a.V("oauthtoken",b)}oU(this)};
g.h.uO=function(a){g.rU(this,"auth",(0,window.unescape)(a.reason),a.errordetail||"sec."+a.errorcode)};
g.h.RQ=function(a){var b=a.target.sd();if(this.o&&this.o.sd()&&this.o.sd()==b){var c=!1;switch(a.type){case "error":if(!this.Eb&&(4==this.o.Nb()||3==this.o.Nb()||2==this.o.Nb())){this.Eb=!0;if(a=this.X.experiments.g("html5_progressive_signature_reload"))a=this.g,a=(a.pg&&+g.OE(a.pg.g().g).expire)<Date.now()/1E3+1800;this.C&&(c={e:3==this.o.Nb()?"decode":2==this.o.Nb()?"network":"unplayable"},this.H&&(c.msopened=""+ +!!this.H.g),a&&(c.stale="1"),this.C.onError("qoe.restart",PP(c)));if(a){KU(this);
return}if(WE("philips"))try{window.close()}catch(n){}this.Pr();return}break;case "durationchange":var d=this.o.getDuration();(!this.H||(0,window.isFinite)(d)&&0<d)&&1!=d&&this.g.lengthSeconds!=d&&(this.g.lengthSeconds=d,oU(this));break;case "ratechange":this.B&&(this.B.H.A=Math.max(1,GL(this.o)));d=this.D;d.C=!0;d.A();break;case "loadedmetadata":this.g.startSeconds&&(0<(this.o.g.seekable||oL()).length?this.X.experiments.g("new_ended_replay")?yU(this,this.g.startSeconds,!0):this.o.g.currentTime=this.g.startSeconds:
(this.na=this.g.startSeconds,AU(this,!0)));case "loadstart":g.DE(this.gb);this.vp()||(this.gb=g.FE((0,g.A)(this.vp,this),100));break;case "progress":this.na&&this.o&&(d=this.o.g.seekable||oL(),d.length&&d.end(0)>this.na&&(this.o.g.currentTime=this.na,this.na=window.NaN,this.Ab=this.ka.U(this.o,"canplay",this.CL,this)));case "suspend":YU(this);this.V("onLoadProgress",this,Ima(this));g.W(this.A,8)&&(this.jf?c=!0:this.kf&&((0,window.isNaN)(this.ac)||this.ac+1<this.o.getCurrentTime())&&(c=!0,this.ac=
this.o.getCurrentTime()));break;case "seeked":cV(this);break;case "seeking":d=this.X.experiments.g("disable_html5_videoplayer_seeking_time")?this.o.getCurrentTime():this.getCurrentTime();this.B&&this.B.seek(d);var e=this.Wa;e.g=d;e.o=!0;break;case "playing":this.G.o("plev");g.rP("plev",void 0,"video_to_ad");this.md&&(this.md=!1,MU(this)||yU(this,window.Infinity,!0));g.EE(this.tb);this.tb=window.NaN;break;case "timeupdate":d=this.o&&!this.o.getCurrentTime();e=!this.X.experiments.g("disable_have_nothing_timeupdate")&&
this.o&&0==this.o.g.readyState;if(d&&(!this.Ja||e))return;this.Ja|=!!this.o.getCurrentTime();this.vp();cV(this);YU(this);if(!this.o||this.o.sd()!=b)return;this.V("onVideoProgress",this,this.o.getCurrentTime());this.J&&this.Ea&&(d=this.J,e=this.o.getCurrentTime(),!d.o||e>=d.B&&e<d.D||(e=d.o.Og(e),-1!=e&&(d.B=d.o.ng(e),d.D=d.B+d.o.getDuration(e),e=(0,g.G)()/1E3-d.o.pr(e),d.A&&(e-=d.A()),sR(d.C,e),d.g.push(e))));break;case "waiting":if(0<(this.o.g.played||oL()).length&&0==AL(this.o).length&&0<this.o.getCurrentTime()&&
5>this.o.getCurrentTime()&&this.B)return}if(this.o&&this.o.sd()==b){this.V("videoelementevent",a);a:{var b=this.A,f=this.Wa,k=this.lf,l=this.X.experiments.g("html5_timeupdate_readystate_check");if(!g.W(b,128)){var d=b.o,e=b.g,m=a.target;if(!g.W(b,64)||"ended"!=a.type&&"pause"!=a.type)if("pause"==a.type&&m.g.ended||"ended"==a.type&&(m.g.ended||1>Math.abs(m.getCurrentTime()-m.getDuration())))0<m.g.networkState&&m.sd()&&(d=14,e=null);else if("pause"==a.type)g.W(b,256)?(d^=256)||(d=64):g.W(b,32)||g.W(b,
2)||g.W(b,4)||(d=4,g.W(b,1)&&g.W(b,8)&&(d|=1),e=null);else if("playing"==a.type)d=8,e=null,g.W(b,32)&&(d|=32),k&&g.W(b,1)&&ZQ(f,m)&&(d|=1);else if("error"==a.type){b:{if(2==m.Nb())f="progressive.net.retryexhausted";else if(3==m.Nb())f="fmt.decode";else if(4==m.Nb())f="fmt.unplayable";else{m=null;break b}l="mediaElem.1";m.g.error&&m.g.error.message&&(l+=";msg."+(m.g.error?m.g.error.message:""));.001>Math.random()&&(l+=";gpu."+FJ());m={errorCode:f,errorDetail:l,message:g.U("YTP_ERROR_GENERIC_WITHOUT_LINK"),
messageKey:"YTP_ERROR_GENERIC_WITHOUT_LINK"}}m&&(e=m,d|=128)}else if("progress"==a.type)eR(b)&&ZQ(f,m)&&(d|=1);else if("seeked"==a.type)d&=-17;else if("seeking"==a.type)d|=16,0>=BL(m)&&(d|=1),d&=-3;else if("waiting"==a.type)g.W(b,2)||(d|=1);else if("timeupdate"==a.type)k=2<m.g.readyState,f.A|=k,g.W(b,16)||g.W(b,4)||(ZQ(f,m)?d|=1:l&&!k&&f.A||(d&=-2)),1<m.g.readyState&&0<m.getCurrentTime()&&(d&=-65);else break a;b=$Q(b,d,e)}}!g.W(this.A,1)&&g.W(b,1)&&uU(this,"evt_"+a.type);pU(this,b);c&&this.o.play()}}};
g.h.EK=function(a){a="available"==a.g.availability;a!=this.Zb&&(this.Zb=a,this.V("airplayavailabilitychange"))};
g.h.FK=function(){var a=!!this.o.g.webkitCurrentPlaybackTargetIsWireless;a!=this.Mb&&(function(){this.X.Vq=a}.apply(this),this.Mb=a)&&(g.BQ(this.g,this.X),TU(this,"m"));
this.V("airplayactivechange")};
g.h.vp=function(){var a=this.o;a&&this.Ja&&!this.g.fg&&!HP("vfp",this.G.g)&&2<=a.g.readyState&&!a.g.ended&&0<nL(AL(a))&&this.G.o("vfp");if((a=this.o)&&!this.g.fg&&0<a.getDuration()&&(!HP("pbp",this.G.g)&&a.g.paused&&2<=a.g.readyState&&0<nL(AL(a))&&this.G.o("pbp"),0<a.getCurrentTime())){g.DE(this.gb);g.EE(this.ca);this.ca=window.NaN;this.g.fg=!0;aV(this);if(this.C){a=this.C;if(!a.B){var b=aK(a,"playback");a.H=[10+a.g.videoData.Yi,10,10,40+a.g.videoData.sk-a.g.videoData.Yi,40];var c=a.A;g.DE(c.D);c.D=
window.NaN;c.D=g.FE((0,g.A)(c.update,c),100);c.C=g.xJ(c.o);c.A=wJ(c.o);b.o=YJ(a,!0);b.Pa=!0;b.send();a.g.videoData.Dk&&(b=a.g.g,c=a.g.videoData,b=g.Gg(b.baseYtUrl+"ptracking",{html5:"1",video_id:c.videoId,cpn:c.clientPlaybackNonce,plid:c.playbackId,ei:c.eventId,ptk:c.Dk,oid:c.Ez,ptchn:c.Dz,pltype:c.Fz,content_v:b.sa}),dK(a,b));a.g.videoData.enableCardio&&(a.Nn("playback"),a.C||iK(a));a.g.videoData.tf||fK(a);a.B=!0;a=a.A;a.g=a.o.o();a.C=g.xJ(a.o);!(0==a.B&&5>a.g)&&2<a.g-a.B&&(a.B=a.g)}g.GE((0,g.A)(this.Vr,
this),4500)}this.V("playbackstarted");g.JG()&&((a=g.w("yt.scheduler.instance.clearPriorityThreshold"))?a():MG(0));return!0}return!1};
g.h.CL=function(){this.Ab&&(this.ka.Ba(this.Ab),delete this.Ab,zL(this.o))};
g.h.NG=function(){if(this.o){var a=this.getCurrentTime();if(g.W(this.A,8)&&XQ(this.Wa,a,(0,g.AG)(),BL(this.o))){var b=this.getDuration();!this.g.Aa&&b&&1.1>Math.abs(b-a)?this.o.g.loop?yU(this,0,!0):g.jU(this):(g.gR(this.A)||uU(this,"progress_fix"),pU(this,aR(this.A,1)))}else g.W(this.A,4)&&g.gR(this.A)&&5<BL(this.o)&&pU(this,bR(this.A,1));YU(this)}};
g.h.hG=function(){return this.B?NS(this.B.H):wK(this.X.schedule)};
g.h.Uv=function(){return this.o?BL(this.o):0};
g.h.jG=function(){return this.X.schedule.H};
g.h.sP=function(){var a;if(a=g.W(this.A,1)&&this.B){a=this.B;var b=this.getCurrentTime();a=!(!a.A||UL(a.A)||VL(a.A)||FT(b,a.g,a.A.o)&&FT(b,a.B,a.A.g))}a&&(a=ET(this.B),this.he("reseek","cur."+a.lct+";vb."+a.lvb+";ab."+a.lab),yU(this,this.getCurrentTime(),!0))};
g.h.wG=function(){this.g.Aa||this.V("connectionissue")};
g.h.yP=function(){wL(this.o,this.o.getCurrentTime()+.1)};
g.h.PM=function(a){var b={};g.za(b,this.X.B);b.cpn=this.g.clientPlaybackNonce;this.g.Tf&&(b.vvt=this.g.Tf,this.g.mdxEnvironment&&(b.mdx_environment=this.g.mdxEnvironment));this.X.tc&&(b.authuser=this.X.tc);this.X.pageId&&(b.pageid=this.X.pageId);g.$b(a.D,b);NT(a,a.G)};
g.h.hM=function(a,b,c,d){d=g.t(d)?d:"YTP_ERROR_LICENSE";c=c.substr(0,256);"drm.keyerror"==a&&1<this.F.A.keys.length&&96>this.de&&!this.X.experiments.g("html5_disable_drm_reload")&&(a="drm.sessionlimitexhausted",b=!1);if(b)g.rU(this,a,d,c);else if(this.C)this.C.onError(a,c);"drm.sessionlimitexhausted"==a&&(this.de++,this.Pr())};
g.h.iM=function(){TU(this,"r");oU(this)};
g.h.QQ=function(a){this.V("heartbeatparams",a)};
g.h.Yy=function(){if(!this.g.fg&&this.o){var a="0";0<this.o.g.readyState&&5<=BL(this.o)&&this.g.rb.g&&(pU(this,aR(this.A,1)),uU(this,"load_soft_timeout"),this.V("playbackstalledatstart"),a="1");this.C&&(a={preroll:""+ +xU(this),restartmsg:a},this.B&&g.za(a,ET(this.B)),this.o&&g.za(a,HL(this.o)),this.C.onError("qoe.start15s",PP(a)));this.V("loadsofttimeout")}};
g.h.Vr=function(){if(!this.Ta){var a=new WT(this.g),b;"c1a"in a.o?(b=g.w("yt.abuse.botguardInitialized"),b=!(b&&b())):b=!1;if(b)g.GE((0,g.A)(this.Vr,this),4500);else{var c;if(a.g&&a.g.Jj){b=[a.g.Jj];for(c in a.A)if(a.o[c]&&a.A[c]){var d=a.A[c](a.o);d&&b.push(d)}c=b.join("&")}else c=null;c&&this.C&&(a=this.C,a.L||(b=aK(a,"atr"),b.L=c,b.send(),a.L=!0),this.Ta=!0)}}};
g.h.Uc=function(){return this.g.Uc()};
g.h.eB=function(){return this.va};
g.h.Yp=function(){var a;if(this.o)a:{a=this.o;var b={};if(a.g){if(a.g.getVideoPlaybackQuality){a=a.g.getVideoPlaybackQuality();break a}a.g.webkitDecodedFrameCount&&(b.totalVideoFrames=a.g.webkitDecodedFrameCount,b.droppedVideoFrames=a.g.webkitDroppedFrameCount)}a=b}else a={};return a};
g.h.Pr=function(){this.o&&(this.H?QU(this):(this.g.pg&&this.g.pg.A(this.X.experiments),DL(this.o)),OU(this))};
g.h.he=function(a,b,c){if(this.C){var d=this.C;d.ma()||IJ(d.o,a,b,c)}};g.C(eV,jK);g.h=eV.prototype;g.h.getPlayerType=function(){return this.playerType};
g.h.getRootNode=function(){return g.nV(this).element};
g.h.Uf=function(){return this.app.B};
g.h.ha=function(a){return(a=g.lV(this.app,a||this.playerType))&&a.g};
g.h.isFullscreen=function(){return this.app.X.da};
g.h.He=function(a){3==this.ab()?g.kV(this.app.A).il("control_play"):fZ(this.app,a)};
g.h.al=function(a){WU(g.lV(this.app,a))};
g.h.addEventListener=function(a,b,c){this.app.J.subscribe(a,b,c)};
g.h.removeEventListener=function(a,b,c){this.app.J.unsubscribe(a,b,c)};
g.h.ro=function(a){this.wB(a,a)};
g.h.Vk=function(a){return A2(this.app,a)};
g.h.getVideoUrl=function(a,b,c,d){var e=this.ab(),f=2==e;if(d&&f||3==e)f=!1,e=1;d=this.ha(e);if(!d)return"";var k;a||d.Aa||(k=Math.floor(this.getCurrentTime(e)));return this.app.X.getVideoUrl(d.videoId,f?void 0:this.getPlaylistId()||void 0,k,b,c)};
g.h.dl=function(a,b,c){var d=g.fV(this).A;d&&d.jt(a,b,c)};
g.h.Dd=function(){var a=g.lV(this.app,1);if(!a)return!1;var b=a.g;return b.Be()&&!g.KQ(b)&&2!=this.ab()&&(!xU(a)||3==this.ab())};
g.h.ki=function(a,b){var c=this.app,d=g.lV(c,this.playerType);d&&c.X.wb.has(a.toString())?d.C?(c=aK(d.C,"engage"),c.A=a,c.send(b)):b&&b():b&&b()};
g.h.Zk=function(a,b){z2(this.app,a,b)};
g.h.setVolume=function(a){a=g.Rd(a,0,100);rJ(this.app,{volume:a,muted:this.Ge()},!0)};
g.h.mute=function(){rJ(this.app,{muted:!0,volume:this.getVolume()},!0)};
g.h.xg=function(){rJ(this.app,{muted:!1,volume:Math.max(5,this.getVolume())},!0)};g.C(g.OV,g.ZF);g.h=g.OV.prototype;g.h.load=function(){this.loaded=!0};
g.h.unload=function(){this.loaded=!1};
g.h.Id=function(){return!0};
g.h.P=function(){this.loaded&&this.unload();g.OV.R.P.call(this)};
g.h.BB=function(){return{}};g.C(PV,g.OV);g.h=PV.prototype;g.h.qt=function(){return-1};
g.h.create=function(){this.D||(g.S(this.g.getRootNode(),this.od+"-created"),this.g.addEventListener("crn_"+this.od,this.tn,this),this.g.addEventListener("crx_"+this.od,this.un,this),this.D=!0)};
g.h.destroy=function(){g.cq(this.g.getRootNode(),this.od+"-created");this.g.removeEventListener("crn_"+this.od,this.tn,this);this.g.removeEventListener("crx_"+this.od,this.un,this);this.D=!1;this.V("destroyed",this.od)};
g.h.tn=function(){};
g.h.un=function(){};
g.h.log=function(a){g.sV(this.g,this.logEvent,a)};
g.h.tt=function(){return null};
g.h.P=function(){this.D&&this.destroy();PV.R.P.call(this)};g.C(g.TV,g.X);g.TV.prototype.subscribe=function(a,b,c){return this.aa.subscribe(a,b,c)};
g.TV.prototype.unsubscribe=function(a,b,c){return this.aa.unsubscribe(a,b,c)};
g.TV.prototype.Kd=function(a){return this.aa.Kd(a)};
g.TV.prototype.V=function(a,b){return this.aa.V.apply(this.aa,arguments)};g.C(g.ZV,g.M);g.ZV.prototype.show=function(a){1!=this.g&&2!=this.g&&(3==this.g&&this.B(),4==this.g?(this.o.show(),this.g=null,this.A.stop()):this.o.o||($V(this,!0),this.g=1,a?this.A.start(a):this.B()))};
g.ZV.prototype.B=function(){switch(this.g){case 1:this.o.show();this.g=2;this.A.start(10);break;case 2:$V(this,!1);this.g=null;break;case 3:this.o.oa();$V(this,!1);this.g=4;this.A.start(0);break;case 4:this.g=null}};
g.ZV.prototype.stop=function(){for(;null!=this.g&&4!=this.g;)this.A.stop(),this.B()};
g.ZV.prototype.P=function(){this.o.ma()||this.o.element.removeAttribute("aria-hidden");g.ZV.R.P.call(this)};var fW=[2,5];var wY=[];iW.prototype.g=function(a,b,c){a=a||wY;(0,g.Sk)(a,function(a){return oW(this.o).experiments.g(a)},this)&&(a=c||{},a.cdp=1,a["var"]=b,a.sdkv="h.3.0",this.o.log(a))};var rW=Error("Timed out while waiting for Biscotti ID");sW.prototype.C=function(){var a=tW(this);a.format="2_3";a.at="2_3";a.trsp="1";$X(this.g,3,a)};g.C(uW,g.M);uW.prototype.P=function(){this.g.reject();uW.R.P.call(this)};
uW.prototype.D=function(){this.A++;var a=g.w("yt.www.watch.ads.isAfcAdVisible");a&&g.ua(a)&&a()&&this.B++;4<=this.B?this.g.resolve():5<=this.A?this.g.reject("Timed out waiting for MPU to become visible"):this.o.start()};var vW=null,xW=null,FW=!1;g.u("yt.www.ads.eventcache.getLastCompanionData",function(){return vW},void 0);
g.u("yt.www.ads.eventcache.clearCachedCompanionData",function(){vW=null},void 0);
g.u("yt.www.ads.eventcache.getLastPlaShelfData",function(){return xW},void 0);
g.u("yt.www.ads.eventcache.getPendingGoogleShowCompanionAdCall",function(){return FW},void 0);
g.u("yt.www.ads.eventcache.setPendingGoogleShowCompanionAdCall",function(a){FW=a},void 0);var KW,BW=!1,EW=!1,AW=!1;g.mG("showCompanionAdLoaded",function(){EW&&(GW(),EW=!1)});
g.mG("watchAdsInit",function(){BW&&(BW=!1,CW())});g.C(MW,g.ZF);MW.prototype.hf=function(){return this.adSystem+"_"+this.adType};
MW.prototype.Hh=function(){return this.hf()};
MW.prototype.Kb=function(){return this.o?this.o.Kb():null};
MW.prototype.abort=g.y;g.C(OW,g.X);OW.prototype.P=function(){OW.R.P.call(this);g.ve(PW(this));g.ve(QW(this));this.B=this.g=null;delete this.A};g.C(WW,g.M);WW.prototype.start=function(){!this.ma()&&(0,window.isNaN)(this.g)&&(this.A=(0,g.G)(),this.g=g.og(this.C,this.B-this.o,this))};
WW.prototype.stop=function(){(0,window.isNaN)(this.g)||(this.A=this.o=0,g.pg(this.g),this.g=window.NaN)};
WW.prototype.pause=function(){(0,window.isNaN)(this.g)||(this.o=(0,g.G)()-this.A,g.pg(this.g),this.g=window.NaN)};
WW.prototype.P=function(){(0,window.isNaN)(this.g)||g.pg(this.g);WW.R.P.call(this)};XW.prototype.getLength=function(){return this.g-this.o};$W.prototype.update=function(a,b,c,d){this.width=b;this.A=c;this.C=d;this.g=b-c-d;this.B=g.Rd(a-c,0,this.g);this.position=this.B+c;this.o=this.B/this.g};g.C(cX,MW);cX.g=15;cX.o=-21;g.h=cX.prototype;g.h.abort=function(){VW(this.C,13);this.ba||this.o.destroy();this.D=this.G=!1;iX(this)};
g.h.hf=function(){var a;a=this.Kb();var b=yq(a);if(4==NW(b).A)return b;if(cs(a))a=3;else if(a.isSkippable())a=ds(a)?1:2;else return this.adSystem+"_"+this.adType;return this.adSystem+"_"+this.adType+"_"+a};
g.h.Hh=function(){return this.adSystem+"_"+this.adType};
g.h.show=function(){LW();SY(this.g)&&WY(this.g,"updatekevlarcompanion",{});var a=this.g;if(g.ZY(a)){var b=bX(a);aZ(a.app,b)}else a=a.g.app,aZ(a,$Y(a,2));this.C.A=(0,g.AG)();this.F=this.g.getRootNode();this.B.subscribe("progresssync",this.Fy,this);this.g.o.S&&g.ye(g.K("video-ad-status-bar",this.F));g.bq(this.F,["ad-showing","ad-interrupting"]);this.g.subscribe("resize",this.ut,this);try{this.A.T(this.o,"adError",this.DS),this.A.T(this.o,"click",this.CS),this.A.T(this.o,"complete",this.FS),this.A.T(this.o,
"engagedview",this.OL),this.A.T(this.o,"pause",this.RB),this.A.T(this.o,"start",this.SB),this.A.T(this.o,"skip",this.HS),this.A.T(this.o,"MUTE_AD",this.abort),this.A.T(this.o,"skippableStateChanged",this.VN),this.A.T(this.o,"youTubeChannelMetadata",this.DM),this.A.T(this.o,"companionInitialized",this.ES),SY(this.g)&&this.A.T(this.o,"youtubeKevlarCompanionShow",this.fM),this.A.T(PW(this.g.G),"mouseup",this.GS),this.ut(),this.ba||this.o.start()}catch(c){jX(this,c)}this.g.o.D&&oW(this.g).experiments.g("ad_info_icon_in_card")&&
WY(this.g,"onAdMetadataAvailable",{showAdInfoIcon:!0})};
g.h.UB=function(a,b,c){if("newdata"==a&&this.videoData!=c){a=new Vma;a.isSkippable=this.da;a.skip=(0,g.A)(this.o.skip,this.o);a.muteAd=(0,g.A)(this.o.muteAd,this.o);a.whyThisAdClicked=(0,g.A)(this.o.whyThisAdClicked,this.o);a.whyThisAdClosed=(0,g.A)(this.o.whyThisAdClosed,this.o);a.sendAdsPing=g.hF;a.skipShown=(0,g.A)(this.o.kA,this.o);if(b=this.Kb()){a.clickThroughUrl=os(b)||"";var d;(d=this.g.o.tb)||(d=c.lengthSeconds,(b=Ss(b))?(Bp(b,d),d=Cp(b)):d=null);a.skipTime=d||0;a.adSystem=this.adSystem;
if(b=kX(this))a.whyThisAdInfo=b;if(d=lX(this))a.muteAdInfo=d;var e=oW(this.g);this.g.o.D&&e.experiments.g("ad_info_icon_in_card")&&(e={showAdInfoIcon:!0},e.whyThisAdInfo=b,e.muteAdInfo=d,WY(this.g,"onAdMetadataAvailable",e))}a.videoId=c.videoId;a.videoId||(a.videoUrl=this.ll()||"");c.spacecastModule=this.fa;gX(this.g,-1,a)}this.videoData=c};
g.h.TB=function(a){a=a.state;g.W(a,1)||this.J.pause();g.W(a,128)?jX(this,Error(a.g.message||"Video player error.")):g.W(a,1)&&this.J.start()};
g.h.SB=function(){this.N=!0;this.D=!1;if(!this.G){this.G=!0;var a=this.C;TW(a);var b=UW(a);if((0,window.isNaN)(a.A))TW(a);else{var c=(0,g.AG)()-a.A;b.ad_stl=c}SW(a,4,b);hX(this.g,1);eX(this,!1);b=this.g.o;b.Ja&&(a=fX(this.g))&&(mX(this,a),this.videoData.sc=Math.min(1,this.videoData.sc*b.J),c=Math.min(1,a.getVolume()*b.J),a.setVolume(c));if(b.Pa){var a=fX(this.g),d=Math.max(-21,pW(this.g).relativeLoudness),c=this.videoData.relativeLoudness;a&&0>d&&c>d&&(mX(this,a),this.videoData.sc=Math.min(this.videoData.sc,
Math.pow(10,-(c-d)/20)),c=Math.min(1,a.getVolume()/this.H*this.videoData.sc),a.setVolume(c))}b.Qa&&(a=fX(this.g),c=b.Eb,d=g.DG(),a&&null!==c&&d>c&&(mX(this,a),this.videoData.sc=Math.min(1,this.videoData.sc*b.J),c=Math.min(1,a.getVolume()*b.J),a.setVolume(c)));b.Ta&&(a=fX(this.g),c=this.videoData.relativeLoudness,b=b.Mb,a&&c>b&&(mX(this,a),this.videoData.sc=Math.min(this.videoData.sc,Math.pow(10,b/20)),c=Math.min(1,a.getVolume()/this.H*this.videoData.sc),a.setVolume(c)));this.L&&1!=this.L&&g.sP("yt_abt",
this.L,"video_to_ad");this.videoData&&this.videoData.clientPlaybackNonce&&g.sP("ad_cpn",this.videoData.clientPlaybackNonce,"video_to_ad");this.videoData&&this.videoData.videoId&&g.sP("ad_docid",this.videoData.videoId,"video_to_ad");g.sP("cpn",pW(this.g).clientPlaybackNonce,"video_to_ad");g.rP("apbs",void 0,"video_to_ad");(a=g.U("ADS_INSTREAM_FIRST_PLAY"))&&WY(this.g,"onAdAnnounce",a)}gX(this.g,1);this.V("adPlay",this)};
g.h.RB=function(){this.N&&(this.N=!1,gX(this.g,2))};
g.h.FS=function(){if(!this.D){var a=this.C;TW(a);var b=UW(a),c=a.g.Zj();c?b.ad_fmt=c:TW(a);SW(a,5,b);oW(this.g).Hb&&WY(this.g,"onAdComplete");iX(this);this.D=this.G=!1}};
g.h.OL=function(){var a=this.C;a.g.V("AD_LOGGING_EVENT",777,UW(a))};
g.h.HS=function(){this.D=!0;var a=this.C,b=UW(a),c=a.g.Zj();c?b.ad_fmt=c:TW(a);SW(a,14,b);oW(this.g).Hb&&WY(this.g,"onAdSkip");iX(this)};
g.h.VN=function(){oW(this.g).experiments.g("html5_ad_no_buffer_abort_after_skippable")&&this.J.dispose();var a=g.U("ADS_INSTREAM_SKIPPABLE");a&&WY(this.g,"onAdAnnounce",a)};
g.h.DM=function(){if(!this.ma()){var a=this.g.o;if(a){var b=this.Kb();if(b){var c=b.M,b=b.ga,d=oW(this.g),e=kX(this),f=lX(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.o.D&&d.experiments.g("ad_info_icon_in_card"),a.whyThisAdInfo=e,a.muteAdInfo=f,WY(this.g,"onAdMetadataAvailable",a)):a.D&&d.experiments.g("ad_info_icon_in_card")&&(a={showAdInfoIcon:!0},a.whyThisAdInfo=
e,a.muteAdInfo=f,WY(this.g,"onAdMetadataAvailable",a))}}}};
g.h.ES=function(a){a=a.event;var b=a.g;b&&b instanceof g.zf&&this.V("adCompanionInitialized",a.Gb(),b)};
g.h.fM=function(a){SY(this.g)&&(a=a.event,a.Gb()&&a.Gb().ba&&WY(this.g,"updatekevlarcompanion",a.Gb().ba))};
g.h.DS=function(a){var b={};try{b.error_code=a.event.getError().Nb()}catch(c){b.error_code=900,b.error_message=c.toString()}VW(this.C,32,b);jX(this,a.event.getError())};
g.h.CS=function(){var a=this.C;TW(a);var b=UW(a);if(a.o){var c=UY(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}SW(a,15,b);this.o.pause();this.V("select")};
g.h.Fy=function(){};
g.h.Ay=function(){this.o.af();if(this.G&&!this.D){var a=this.C;a.g.V("AD_LOGGING_EVENT",19,UW(a))}eX(this,!0)};
g.h.P=function(){this.g.unsubscribe("control_toggle_play_pause",this.VB,this);this.g.unsubscribe("control_play",this.Kr,this);this.g.unsubscribe("control_pause",this.Jr,this);this.g.unsubscribe("resize",this.ut,this);g.WF(this.A);this.B.unsubscribe("statechange",this.TB,this);this.B.unsubscribe("internalAbandon",this.Ay,this);this.B.unsubscribe("internalvideodatachange",this.UB,this);this.B.unsubscribe("progresssync",this.Fy,this);this.ba||this.o.destroy();this.S&&(g.ve(this.S),this.S=null);this.ca&&
(g.ye(this.ca),this.ca=null);this.F&&(g.dq(this.F,["ad-showing","ad-interrupting"]),this.F=null);this.D=!1;cZ(this.g);this.J.dispose();this.J=null;cX.R.P.call(this)};
g.h.xm=function(){return this.B.getDuration()};
g.h.Zj=function(){return this.videoData&&this.videoData.Ma?this.videoData.Ma.mimeType:null};
g.h.ll=function(){return this.videoData&&this.videoData.pg?this.videoData.pg.g().g:null};
g.h.VB=function(){this.N?this.Jr():this.Kr()};
g.h.Kr=function(){this.o.resume();this.SB()};
g.h.Jr=function(){this.o.pause();this.RB()};
g.h.ut=function(){g.vh(PW(this.g.G),this.g.app.D.Ya())};
g.h.GS=function(a){g.t(a.g)||IF(a);var b=a.g;g.t(a.o)||IF(a);this.C.o=new g.Vd(b,a.o)};g.C(pX,MW);g.h=pX.prototype;g.h.xm=function(){};
g.h.Zj=function(){};
g.h.ll=function(){};
g.h.show=function(){if(!this.D||!lZ(this.g)){var a=this.g.getRootNode();g.S(a,"ad-showing");this.A=PW(this.g.G);a=this.o.Kb().getHeight();this.A.style.height=jh(a,!0);g.S(this.A,"ad-overlay");this.B.T(this.A,"mouseup",this.KS);try{this.B.T(this.o,"autoClose",this.TK),this.B.T(this.o,"userClose",this.rO),this.B.T(this.o,"userRecall",this.sO),this.B.T(this.o,"click",this.JS),this.B.T(this.o,"impression",this.cM),this.B.T(this.o,"adError",this.IS),this.yc("normal"),this.F||this.o.start(),this.vt(),this.g.subscribe("resize",
this.wo,this),this.g.subscribe("presentingplayerstatechange",this.WB,this),this.V("adEnd",this)}catch(b){this.V("adError",b)}}};
g.h.P=function(){var a=this.g.getRootNode();g.dq(a,["ytp-ad-overlay-open","ytp-ad-overlay-closed"]);g.WF(this.B);this.g.unsubscribe("resize",this.wo,this);this.g.unsubscribe("presentingplayerstatechange",this.WB,this);g.cq(a,"ad-showing");this.o&&(this.F||this.o.destroy(),this.o=null);this.A&&g.cq(this.A,"ad-overlay");this.A=null;this.D=!1;pX.R.P.call(this)};
g.h.rO=function(){this.A&&this.o&&this.o.Kb()&&(this.A.style.height=jh(0,!0));this.D=!0;var a=this.C;a.o=(0,g.G)();var b=oX(a);nX(a,6,b);qX(this,!1)};
g.h.TK=function(){qX(this,!1)};
g.h.sO=function(){qX(this,!0)};
g.h.JS=function(){vY(this.g);var a=this.C;a.o=(0,g.G)();var b=oX(a);if(a.A){var c=UY(a.C);b.ck_xy=Math.round(a.A.x-c.left)+"x"+Math.round(a.A.y-c.top);b.ck_wh=c.width+"x"+c.height}nX(a,100,b)};
g.h.cM=function(){var a=g.U("ADS_OVERLAY_IMPRESSION");a&&WY(this.g,"onAdAnnounce",a);qX(this,!0)};
g.h.KS=function(a){this.C.A=a.target==a.currentTarget?null:new g.Vd(a.pageX,a.pageY)};
g.h.IS=function(a){this.V("adError",a.event.getError())};
g.h.WB=function(a){g.W(a.state,16)&&this.yc("normal")};
g.h.yc=function(a){this.G!=a&&(this.G=a)};
g.h.wo=function(){};
g.h.vt=function(){var a=this.C;a.B=(0,g.G)();var b=oX(a);nX(a,3,b)};g.C(rX,g.M);rX.o="rm";rX.g=10;rX.C=200;rX.A=200;rX.B=190;g.h=rX.prototype;
g.h.load=function(){var a;a=this.g.app.D.Ya();var b;this.g.o.A?b=!1:(b=0<(this.C&3)?190:200,b=200>a.width||a.height<b);if(b){b=this.A;var c=tW(b);c.ck_wh=a.width+"x"+a.height;VY(b.g,14,c);LW();this.Qg(Error("The player size is too small."))}else if(this.jb=this.g.jb)a=this.A,$X(a.g,9,tW(a)),a=qW(this.g),(b=this.g.o.serverPrefetchedVast)&&0<(this.C&3)?(a.o=b,this.g.o.serverPrefetchedVast=void 0):a.g=this.Kg(),this.jb.T("adsManagerLoaded",this.OB,!1,this),this.jb.T("adError",this.NB,!1,this),this.Tz(this.jb,
a)};
g.h.Np=function(){var a=nW(this.g.o,oW(this.g),pW(this.g));a.surveyCreativeData=this.g.o.surveyCreativeData;a.uQ=this.F;return a};
g.h.OB=function(a){if(a.A===this){g.rP("aml");g.rP("aml",void 0,"video_to_ad");try{var b=this.Np(),c=a.g}catch(d){this.Yg(d);return}this.B.T(c,"companionBackfill",(0,g.A)(this.AS,this,c));this.B.T(c,"loaded",(0,g.A)(this.zS,this,c));this.B.T(c,"adError",(0,g.A)(this.yS,this,c));this.B.T(c,"allAdsCompleted",g.y);this.B.T(c,"contentPauseRequested",g.y);this.B.T(c,"contentResumeRequested",g.y);c=lA(a,this.g.H,{},b);try{c.init("normal")}catch(d){c.destroy(),this.Yg(d)}}};
g.h.zS=function(a,b){zm(this.B);var c=b.Gb(),d=c.Sb(),e=this.A,f=tW(e);f.ad_man=d?"instream":"overlay";$X(e.g,12,f);e=a.Mg();switch(d?this.Mm(a,c,e):this.Mh(a,c)){case 0:ZX(this.G,this.H,this.o);break;case 1:a.destroy();this.Qg(Error("Unable to create a display state."));break;case 2:c=this.A;VY(c.g,21,tW(c));a.destroy();this.Qg(Error("Fallback to next ad."));break;case 3:this.Qg(Error("SpaceCast user skipping instream ad not hosted on YouTube."));break;default:a.destroy()}};
g.h.yS=function(a,b){zm(this.B);a.destroy();this.Yg(b.getError())};
g.h.NB=function(a){var b=a.getError();"adLoadError"==b.Wb()&&a.g===this&&this.Yg(b)};
g.h.AS=function(){uX(this)};
g.h.Mm=function(a,b,c){var d=pW(this.g)&&pW(this.g).spacecastModule;if(d&&c&&!this.L.test(c))return 3;tX(this,qs(b));sX(this,new cX(this.F,this.g,a,b.isSkippable(),void 0,d,this.o.g));return 0};
g.h.Mh=function(a,b){tX(this,qs(b));sX(this,new pX(this.F,this.g,a));return 0};
g.h.Yg=function(a){if(a){var b=this.A,c=tW(b);a&&kW(a,c);VY(b.g,32,c);this.Qg(a)}};
g.h.Qg=function(){cY(this.G)};
g.h.P=function(){this.jb&&(this.jb.Ba("adsManagerLoaded",this.OB,!1,this),this.jb.Ba("adError",this.NB,!1,this));zm(this.M);zm(this.B);rX.R.P.call(this)};
g.h.Tz=function(a,b){try{qC(a,b,this),g.rP("ar"),g.rP("ar",void 0,"video_to_ad")}catch(c){this.Yg(c)}};g.C(vX,MW);g.h=vX.prototype;g.h.xm=function(){};
g.h.Zj=function(){};
g.h.ll=function(){};
g.h.show=function(){SY(this.g)?WY(this.g,"updatekevlarcompanion",{afcMpu:{logImpression:this.PB.bind(this),logNoAd:this.mq.bind(this)}}):AW?this.mq():(CW(),HW(),IW().then((0,g.A)(this.PB,this),(0,g.A)(this.mq,this)))};
g.h.PB=function(){var a={};a.at=this.Hh();a.format=this.hf();this.V("AD_LOGGING_EVENT",3,a);this.V("adEnd",this)};
g.h.mq=function(){var a={};a.at=this.Hh();this.V("AD_LOGGING_EVENT",2,a);this.V("adEnd",this)};g.C(wX,rX);wX.prototype.Np=function(){var a=wX.R.Np.call(this);a.Eu=0==this.J;a.oF=lZ(this.g)?a.Eu:!0;return a};
wX.prototype.Kg=function(){var a=hW(this.o);var b=this.D;(b=4==this.C&&b.g.afvInvideoAdTag?b.g.afvInvideoAdTag:b.g.afvAdTag)?(g.Da(b,"http:")&&(b=b.substr(5)),a=g.QE(b,{videoad_start_delay:0==a||-1==a?a:1E3*a})):a="";return a};
wX.prototype.Mh=function(a,b){if(this.g.o.A)return 1;if(1==this.o.g){var c=new gW(2,10);this.o=c;this.A.A=c;$X(this.g,1)}return wX.R.Mh.call(this,a,b)};
wX.prototype.Qg=function(a){var b=this.g.o;b.A||oW(this.g).experiments.g("request_mpu_on_unfilled_ad_break")?wX.R.Qg.call(this,a):b.va||this.C&4?(sX(this,new vX(this.g)),ZX(this.G,this.H,this.o)):wX.R.Qg.call(this,a)};g.C(xX,pX);xX.prototype.wo=function(){};
xX.prototype.hf=function(){return"1_3"};
xX.prototype.vt=function(){1==this.H?this.V("AD_LOGGING_EVENT",2,{}):xX.R.vt.call(this)};g.C(yX,rX);yX.prototype.Kg=function(){var a;var b=this.D,c=hW(this.o);if(0<(this.C&3)){a="mid,"+b.gc;var d="midroll";0==c?(a="pre",d="preroll"):-1==c&&(a="post",d="postroll");var b=new g.$l(b.g),c=b.g,e=c.get("scp",""),e=(e?e+"&":"").replace(RegExp("&?pos=[^&]*","g"),"");c.set("scp",e+("pos="+a));c.set("vpos",d);a=b.toString()}else a=b.g;return a};
yX.prototype.Mh=function(a,b){tX(this,qs(b));var c=$r(b);if(mW(c,"rm"))return 1==this.C||lZ(this.g)||LW(),a.qj(),this.g.o.M?(sX(this,new vX(this.g)),0):2;if(mW(c,"blockAllAds"))return a.qj(),sX(this,new xX(this.g,a,1)),0;if(mW(c,"hideMaster"))return sX(this,new xX(this.g,a,0)),0;if(this.g.o.A)return 1;sX(this,new pX(this.F,this.g,a));return 0};g.C(zX,rX);zX.o="https://www.googleapis.com/urlshortener/v1/url?key=AIzaSyBbSB-E7SYd1iggX6r2b5C7ljvO6fVqaj0&shortUrl=";zX.A="43";zX.g=function(a){var b=new JD;g.TE(a,{format:"RAW",method:"GET",timeout:5E3,withCredentials:!0,Xc:function(){var c=Error(a+" timed out");ND(b);LD(b,!1,c)},
onError:function(c){c=Error("Problem loading "+a+" with status code "+c.status);ND(b);LD(b,!1,c)},
Lb:function(a){b.cg(a)}});
return b};
zX.prototype.Kg=function(){return""};
zX.prototype.Tz=function(a,b){var c=this.C;c&1||c&4||c&8?this.D?c&8?Qma(this.D):("goo.gl"==g.wg(this.D)?(c=zX.g("https://www.googleapis.com/urlshortener/v1/url?key=AIzaSyBbSB-E7SYd1iggX6r2b5C7ljvO6fVqaj0&shortUrl="+this.D),PD(c,function(a){a=g.Hc(a.responseText);if(!a)throw Error("Invalid expanded forced ad URL.");if(!a.longUrl)throw Error("Missing forced ad URL information.");a=new g.$l(a.longUrl);g.im(a,"video_format","43");return zX.g(a.toString())},this)):c=zX.g(this.D),PD(c,function(c){b.o=c.responseText;
qC(a,b,this)},this),OD(c,null,this.Yg,this)):this.Yg(Error("Invalid empty URL")):this.Yg(Error("Invalid request type: "+c))};var BX=null;g.C(CX,g.X);CX.prototype.clear=function(){for(var a=0;a<this.Na.length;a++)this.Na[a].detach(),g.Te(this.Na[a]);this.Na=[]};
CX.prototype.F=function(a){g.UF(a);this.g=Math.max(0,this.g-DX(this));EX(this)};
CX.prototype.D=function(a){g.UF(a);this.g=Math.min(this.Na.length-1,this.g+DX(this));EX(this)};g.C(HX,g.TV);g.C(IX,g.TV);g.h=IX.prototype;g.h.P=function(){IX.R.P.call(this);this.clear()};
g.h.clear=function(){this.g.clear();this.A.stop()};
g.h.start=function(){this.A.start();this.As()};
g.h.As=function(){EX(this.g)};
g.h.HG=function(){this.D.start()};g.C(JX,MW);JX.prototype.xm=function(){};
JX.prototype.Zj=function(){};
JX.prototype.ll=function(){};
JX.prototype.show=function(){var a=pW(this.g).videoId;if(a){var b=this.o.Kb();kO(oW(this.g).G,a,{zh:Zs(b)||null,Aj:$s(b)||null});oW(this.g).experiments.g("enable_pla_desktop_shelf")&&("desktop-polymer"!=oW(this.g).o?(a=KX(this),g.db(a)||(hna(this.A,a),a=this.A.element,ena().then(g.ya(fna,a)).then(this.A.start,null,this.A))):(a=KX(this),g.db(a)||(a={shopText:AX(wr(a[0],"teaser_text")),sponsoredText:AX(g.U("YTP_SPONSORED")),adInfoText:AX(g.U("YTP_SPONSORED_PRODUCT_INFO")),itemList:{horizontalListRenderer:{items:(0,g.I)(a,
cna),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"}}}}}}},WY(this.g,"onPlaShelfInfoCardsReady",a))));a={};a.format=this.hf();a.at=this.Hh();lW(b,a);this.V("AD_LOGGING_EVENT",3,a)}};g.C(LX,rX);LX.prototype.Kg=function(){return this.g.o.ac||""};
LX.prototype.Mh=function(a,b){tX(this,qs(b));sX(this,new JX(this.g,a));5!=this.o.g&&uX(this);return 0};
LX.prototype.Mm=function(){return 1};g.C(MX,LX);MX.prototype.Kg=function(){return this.g.o.forceAdUrl||""};g.C(SX,pX);SX.prototype.wo=function(){};
SX.prototype.hf=function(){return"4_3"};g.C(TX,rX);
TX.prototype.Kg=function(){var a;if(D(this.D)||0!=hW(this.o)){var b=this.N;if(b.g.na&&b.g.Wa){a={};var c="youtube_watch_"+b.A;a.nw="10613";a.asnw=b.g.na;a.ssnw=b.g.na;a.caid=b.g.Wa;a.vdur=b.D;a.csid=c;a.resp="vast2";a.metr="121";c={};(0,window.isNaN)(b.g.gb)||(c._fw_d_001=b.g.gb);b.g.gender&&(c._fw_d_002=b.g.gender);b.g.Ea&&(c["_fwu:10613:lang"]=b.g.Ea);b.g.Za&&(c._fw_dbp=b.g.Za);b.g.qb&&(c._fw_distributorvideoassetid=b.g.qb);c._fw_yt_type=RX(b)?"long":"short";a.prof=RX(b)?"10613:youtube_html5_w_midroll":"10613:10613_youtube_html5_2014";
a.crtp="youtube";a.flag=NX(b.o)?"+slcb+qtcb+amcb+exvt+emcr":"+slcb+qtcb+amcb+emcr";var d="",e;if(b.C&1&&!b.F){e={};d=PX(b);if(QX(b.o)){var f;if(QX(b.o)){f=0;var k=b.B.A;if(k)for(var k=k.Cb,l=0;l<k.length&&(QX(k[l])&&f++,k[l].getId()!=b.o.getId());l++);}else f=0;d+=f}e.slid=d;e.ptgt="a";d="";b.g.C&&!b.g.B?d=";linear-skippable":!b.g.C&&b.g.B&&(d=";video");e.slau=PX(b)+d;e.tpos=OX(b.o)?b.D.toString():hW(b.o.Qb).toString();d=LE(e)+";";e={slid:"page_display1",w:"300",h:"60",ptgt:"s",slau:"display",flag:"+cmpn"};
d+=LE(e)+";"}b.C&4&&(e={slid:"overlay",ptgt:"a",slau:"overlay"},e.tpos=NX(b.o)?"10":OX(b.o)?b.D.toString():hW(b.o.Qb).toString(),d+=LE(e)+";",e={slid:"page_display2",w:"300",h:"250",ptgt:"s",slau:"display",flag:"+cmpn"},d+=LE(e)+";");b.C&8&&(e={slid:"dis",w:"300",h:"250",ptgt:"s",slau:"display",flag:"+cmpn"},d+=LE(e)+";");b=d.substr(0,d.length-1);a="//2975c.v.fwmrm.net/ad/g/1?"+LE(a)+";"+LE(c)+";"+b}else a=""}else a=this.D;return a};
TX.prototype.Mm=function(a,b){return TX.R.Mm.call(this,a,b,null)};
TX.prototype.Mh=function(a,b){var c=$r(b);if(mW(c,"rm"))return this.G.C=Wb(a),2;if(this.g.o.A)return 1;if(mW(c,"hideMaster")){if(a.zd&&a.zd.Fh()){var c=a.zd.Fh(),d;d=a.Kb();if(Q.g()){var e=d.S;d.S=[];d=e}else d=[];c.impressionUrls=d}sX(this,new SX(this.g,a));return 0}return TX.R.Mh.call(this,a,b)};UX.prototype.Wb=function(){return this.o};
UX.prototype.create=function(a,b){switch(this.o){case 1:return new wX(a,b,this.g);case 2:return new yX(a,b,this.g);case 5:return new TX(a,b,this.g);case 4:return new zX(a,b);case 7:return new LX(a,b,this.g);case 8:return new MX(a,b,this.g);default:return null}};g.C(VX,g.ZF);g.h=VX.prototype;g.h.Ob=function(){return"loaded"==this.B||"error"==this.B};
g.h.getId=function(){return this.za};
g.h.show=function(){this.G?this.g instanceof pX&&this.g.yc("normal"):(this.G=!0,this.g instanceof cX&&this.A.ae("bs"),this.g.subscribe("adEnd",this.Ey,this),this.g.subscribe("adError",this.KB,this),this.g.subscribe("AD_LOGGING_EVENT",this.MB,this),this.g.subscribe("select",this.JB,this),this.g.subscribe("adCompanionInitialized",this.LB,this),this.g.show(),bY(this,!0))};
g.h.Ey=function(){this.o&&(dY(this),XY(this.A));YX(this)};
g.h.KB=function(a){if(a){var b={};kW(a,b);aY(this,b);VY(this.A,32,b)}dY(this);YX(this)};
g.h.MB=function(a,b){aY(this,b);$X(this.A,a,b)};
g.h.JB=function(){this.F=!1};
g.h.LB=function(a,b){this.V("adCompanionInitialized",a,b)};
g.h.P=function(){dY(this);this.g=null;null!=this.C&&(this.C.dispose(),this.C=null);VX.R.P.call(this)};var mna=[new gW(1)];var ona={TD:"m",wD:"f"};g.C(iY,g.M);iY.prototype.B=function(a){a=null!=a.Gb()?a.Gb().D:null;if(null!=a){var b=bX(this.C);b&&b.g.videoId==a?b.C?(b=b.C,a=aK(b,"engage"),a.A=1,b=gU(b.g),a=g.ya(Hja,a.ga,WJ(a),UJ(a),b)):a=null:a=null;this.o=a}};
iY.prototype.A=function(){this.g&&this.o&&this.o()};g.C(jY,g.M);g.h=jY.prototype;g.h.AA=function(){this.g.subscribe("beginseeking",this.Ql,this)};
g.h.uA=function(a,b){return a.o&&QX(a)?b+this.B+this.A:b};
g.h.tA=function(a,b){return!a.o||OX(a)||0x7ffffffffffff==b||0x8000000000000==b?b:b+this.B+this.A};
g.h.yu=function(a){if(a.o&&QX(a)&&!(0>=this.A)){var b={priority:2,id:String(a.getId()),style:"ytp-ad-fadeout"},c=XX(a)+this.B,b=new g.ZS(c,c+this.A-1,b);this.C[a.getId()]=b;QV(this.g,[b])}};
g.h.ZB=function(a){a.o&&QX(a)&&(kY(this,a.getId()),this.Ql())};
g.h.Ql=function(){(0,window.isNaN)(this.o)||(g.EE(this.o),this.o=window.NaN);var a=fX(this.g),b=this.g.app.G.getVolume()/100;a.setVolume(b*pW(this.g).sc);LL(a,"transition","");LL(a,"opacity","1")};
g.h.aC=function(a){var b=XX(a)+this.B+this.A,b=50>=1E3*this.g.getCurrentTime(1)-b;a.o&&QX(a)&&b&&(a=.001*(XX(a)+this.F),jZ(this.g,a),0>=this.D||(a=fX(this.g),LL(a,"opacity","0"),a.setVolume(0*pW(this.g).sc),g.GE((0,g.A)(this.LS,this),0)))};
g.h.LS=function(){var a=fX(this.g);LL(a,"transition","opacity "+String(this.D)+"ms linear");LL(a,"opacity","1");lY(this,a,this.D,1)};
g.h.YB=function(a,b,c){if(!(0,window.isNaN)(this.o)){var d=Math.max(1,b-(0,g.G)()),d=-1*a.getVolume()*c/d,d=Math.max(0,a.getVolume()+d);a.setVolume(d*pW(this.g).sc);this.o=0<d?oR((0,g.A)(this.YB,this,a,b,c),c):window.NaN}};
g.h.XB=function(a,b,c){if(!(0,window.isNaN)(this.o)){var d=Math.max(1,b-(0,g.G)()),e=this.g.app.G.getVolume()/100,d=(e-a.getVolume())*c/d,d=Math.min(e,a.getVolume()+d);a.setVolume(d*pW(this.g).sc);this.o=d<e?oR((0,g.A)(this.XB,this,a,b,c),c):window.NaN}};
g.h.P=function(){this.Ql();this.g.unsubscribe("beginseeking",this.Ql,this);jY.R.P.call(this)};g.C(mY,jY);g.h=mY.prototype;g.h.AA=g.y;g.h.uA=function(a,b){return b};
g.h.tA=function(a,b){return b};
g.h.yu=g.y;g.h.ZB=g.y;g.h.aC=g.y;g.h.P=g.y;g.C(nY,g.M);nY.prototype.A=function(){if(this.B){var a=this.g.o;if(null!=a&&(a=a.o,!(0>=a))){var b=this.g.g.getCurrentTime(),c=[],d=null,e=Number.MAX_VALUE;g.Ib(this.D.A,function(a){a.Ob();if(a.isVisible&&!(0>=pY(this,a))){var f;f=a.getId();f=this.D.D[f];if(pY(this,a)>b){var k=!qY(this,a);k!=f.visible&&(f.visible=k,c.push(f));k||(f=pY(this,a)-b,f<e&&(e=f,d=a))}else f.visible||(f.visible=!0,c.push(f))}},this);
0<c.length&&QV(this.g,c,1);if(d){var f=0;0<this.o&&(f=(0,g.G)()/1E3-this.o);rna(this,a-f-e+2)}else oY(this)}}};
nY.prototype.P=function(){oY(this);this.g.unsubscribe("endseeking",this.A,this);nY.R.P.call(this)};g.C(rY,g.M);g.h=rY.prototype;g.h.fj=function(a){a.unsubscribe("adBreakComplete",this.fj,this);a.unsubscribe("adCompanionInitialized",this.Cr,this);this.N=g.GE((0,g.A)(this.uK,this,a),0)};
g.h.Cr=function(a,b){g.Te(this.J);this.J=new iY(this.o,b)};
g.h.uK=function(a){var b=tna(this,a),c=b.previous,b=b.next;this.N=window.NaN;var d,e=!1;switch(a.Qb.g){case 5:d=0x7ffffffffffff;e=!0;break;case 3:d=0x8000000000000;break;default:d=b&&g.ta(b.Qb.o)?XX(b)-1:0x7ffffffffffff}0==a.za&&(this.o.ae("bl"),WX(a)||this.o.ae("fb"));"loaded"!=a.B||0==a.za&&WX(a)&&b&&1E3*this.o.g.getCurrentTime()>=XX(b)?(c&&c.Ob()&&!e&&(b=d,d=XX(c),d>b&&(b=d),uY(this,c),tY(this,c,b)),this.Dh(a)):(this.A[a.getId()]=a,tY(this,a,d),RV(this.o));g.Lb(this.A)==this.Cb.length&&this.C.A();
sY(this)};
g.h.Dh=function(a){a.unsubscribe("adBreakComplete",this.fj,this);a.unsubscribe("adBreakComplete",this.yk,this);this.g&&a==this.g&&(this.g=null,null!=this.J&&a.o&&(this.J.g=!0));uY(this,a);g.jb(this.Cb,a);delete this.A[a.getId()];g.Te(a)};
g.h.Fi=function(a){return this.A[a]};
g.h.yk=function(a){a.unsubscribe("adBreakComplete",this.yk,this);if(a.o){!OX(a)&&a.F?(gZ(this.o),this.B.aC(a)):WX(a)&&!a.F?gZ(this.o):eZ(this.o);this.Dh(a);a=this.C.o;a={tfla:0<a?Math.floor((0,g.G)()/1E3-a):0};this.o.xi.g(wY,"set_previous_ad_end_time",a);a=this.C;if(a.B){var b=a.g.o;b&&0<b.o&&(a.o=(0,g.G)()/1E3,a.A())}for(;!g.db(this.M);)xY(this,this.M.shift())}else a.isVisible||this.Dh(a)};
g.h.P=function(){g.EE(this.N);g.Te(this.B);g.Te(this.C);(0,g.H)(this.Cb,this.Dh,this);g.Te(this.J);rY.R.P.call(this)};g.C(yY,rY);g.h=yY.prototype;g.h.Fi=function(a){a=yY.R.Fi.call(this,a);if(!a)return null;if(!a.H)return a;var b;b=null;if(this.F.length){var c=b=this.F.shift();c.Qb=a.Qb;c.za=a.getId()}b&&"loaded"==b.B?(a.unsubscribe("adBreakComplete",this.fj,this),this.A[a.getId()]=b,this.Cb[this.Cb.indexOf(a)]=b,g.Te(a)):(this.jj(),b&&(g.Te(b),b=null,this.Dh(a)));b&&!b.o&&this.jj();return b};
g.h.fj=function(a){!NX(a)&&(2!=a.Qb.g||10!=hW(a.Qb))||"loaded"==a.B&&a.o||this.jj();yY.R.fj.call(this,a)};
g.h.yk=function(a){a.o&&10<this.S?(zY(this),this.aa=g.GE((0,g.A)(this.jj,this),1E3*(this.S-10))):this.jj();yY.R.yk.call(this,a)};
g.h.jj=function(){if(!this.ma())for(zY(this);this.H.length&&this.L.length+this.F.length<this.ba;){var a=this.H.shift();a.subscribe("adBreakComplete",this.Dy,this);this.L.push(a);cY(a)}};
g.h.Dy=function(a){a.unsubscribe("adBreakComplete",this.Dy,this);g.jb(this.L,a);this.F.push(a)};
g.h.P=function(){zY(this);g.H(this.L,g.Te);g.H(this.F,g.Te);g.H(this.H,g.Te);yY.R.P.call(this)};g.C(AY,rY);AY.prototype.da=function(a){"loaded"==a.B&&this.H.push(a);a.unsubscribe("adBreakComplete",this.da,this)};
AY.prototype.S=function(){if(null!=this.g&&0<this.H.length){var a=this.H.shift();delete this.A[hW(a.Qb)];var b=Math.floor((0,g.G)()/1E3)-this.fa;this.fa=null;a.unsubscribe("adBreakComplete",this.S,this);this.Dh(a);this.g=null}0<this.L?(this.L--,BY(this)):(gZ(this.aa),(0,window.isFinite)(b)&&(this.ba?yU(this.F,window.Infinity,!0):yU(this.F,this.F.getCurrentTime()+b,!0)))};g.C(DY,g.M);DY.prototype.F=function(){this.g||(this.g=CY(this.B.Le()));QV(this.o,g.Nb(this.g),1)};
DY.prototype.A=function(){if(this.g){var a=this.o.g.getCurrentTime(),b=[],c=null,d=Number.MAX_VALUE;(0,g.H)(this.B.Le(),function(e){var f=this.g[e];if(f){var k=this.B.Fi(e);k&&k.Kc>a?(e=!this.cd.o(k),e!=f.visible&&(f.visible=e,b.push(f)),e||(f=k.Kc-a,f<d&&(d=f,c=k))):!k||k.vb()?(g.AV(this.o.g,[f],void 0),delete this.g[e]):!f.visible&&k&&(f.visible=!0,b.push(f))}},this);
0<b.length&&QV(this.o,b,1);var e=this.o.o.o;if(0>=e)if(c){var f=0;0<this.D&&(f=(0,g.G)()/1E3-this.D);vna(this,e-f-d+2)}else EY(this)}};
DY.prototype.P=function(){this.o.unsubscribe("endseeking",this.A,this);EY(this);DY.R.P.call(this)};g.C(FY,g.M);g.h=FY.prototype;g.h.aw=function(){return 4};
g.h.Wn=function(a){return a};
g.h.Mz=function(){return!1};
g.h.zu=g.y;g.h.nl=g.y;g.h.bC=g.y;g.h.cC=g.y;g.h.dC=g.y;g.C(HY,g.M);g.h=HY.prototype;g.h.aw=function(){return 4-this.B/1E3};
g.h.Wn=function(a){return Qb(this.A,1E3*a)?this.A[1E3*a]/1E3:a};
g.h.Mz=function(a){var b=!1,c={};(0,g.H)(g.Be(a),(0,g.A)(function(a){var d;if(d=(d=a.getAttribute("timeOffset"))?GY(d):null)b=b||wna(a),c[d]=a},this));
if(!b||0==g.Lb(c))return!1;a=(0,g.I)(g.Ob(c),function(a){return(0,window.parseInt)(a,10)});
if(!zna(this,a))return!1;g.Ib(c,(0,g.A)(function(a,b){var c=(0,window.parseInt)(Rb(this.A,function(a){return a==b}),10);
c&&a.setAttribute("timeOffset",xna(c))},this));
return!0};
g.h.zu=function(a){if(!(0>=this.H)){var b=[];(0,g.H)(a,(0,g.A)(function(a){if(Qb(this.A,1E3*a)){var c=new g.ZS(1E3*this.Wn(a)+this.B,1E3*a+500,{priority:2,id:String(a),style:"ytp-ad-fadeout"});this.C[a]=c;b.push(c)}},this));
QV(this.g,b)}};
g.h.bC=function(a){if(Qb(this.A,1E3*a)){var b=fX(this.g);null!==b&&(a=Math.max(0,1E3*a-1E3*this.g.getCurrentTime(1)),LL(b,"transition","opacity "+String(a)+"ms linear"),LL(b,"opacity","0"),JY(this,b,a,0))}};
g.h.cC=function(a){IY(this,1E3*a)&&(this.C[a]&&(g.AV(this.g.g,[this.C[a]],void 0),delete this.C[a]),this.nl())};
g.h.kC=function(){g.W(g.mV(this.g.g),4)&&this.nl()};
g.h.nl=function(){var a=fX(this.g);if(null!==a){null!=this.o&&(g.EE(this.o),this.o=null);var b=this.g.app.G.getVolume()/100;a.setVolume(b*pW(this.g).sc);LL(a,"transition","");LL(a,"opacity","1")}};
g.h.dC=function(a){if(Qb(this.A,1E3*a)){var b=1E3*a;200>=1E3*this.g.getCurrentTime(1)-b&&(jZ(this.g,this.Wn(a)+this.G/1E3),0>=this.D||(a=fX(this.g),null!==a&&(LL(a,"opacity","0"),a.setVolume(0*pW(this.g).sc),null!=this.o&&g.EE(this.o),this.o=oR((0,g.A)(this.RS,this),0))))}};
g.h.RS=function(){var a=fX(this.g);null!==a&&(LL(a,"transition","opacity "+String(this.D)+"ms linear"),LL(a,"opacity","1"),JY(this,a,this.D,1))};
g.h.jC=function(a,b,c){if(null!==this.o){var d=Math.max(1,b-(0,g.G)()),d=-1*a.getVolume()*c/d,d=Math.max(0,a.getVolume()+d);a.setVolume(d*pW(this.g).sc);0<d?this.o=oR((0,g.A)(this.jC,this,a,b,c),c):this.o=null}};
g.h.iC=function(a,b,c){if(null!==this.o){var d=Math.max(1,b-(0,g.G)()),e=this.g.app.G.getVolume()/100,d=(e-a.getVolume())*c/d,d=Math.min(e,a.getVolume()+d);a.setVolume(d*pW(this.g).sc);d<e?this.o=oR((0,g.A)(this.iC,this,a,b,c),c):this.o=null}};
g.h.P=function(){this.nl();this.g.unsubscribe("applicationplayerstatechange",this.kC,this);HY.R.P.call(this)};g.C(KY,g.M);var Ena={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=KY.prototype;
g.h.load=function(a){if(this.jb=this.g.jb){var b=this.g.o,c=!oW(this.g).experiments.g("html5_reuse_parsed_xml");this.C=b.applyFadeOnMidrolls?new HY(this.g):new FY;var d=qW(this.g);d.o=Bna(this,a,c);d.containerElement=this.g.H.D;d.zc.TSLA=Pma(this);d.zc.GET_MIDROLL_POSITION_IN_SEC=(0,g.A)(this.C.Wn,this.C);d.zc.DESCRIPTION_URL="http://www.youtube.com/video/"+pW(this.g).videoId;if(a=eY(b).get(3))if(c="",a&2&&a&1?c="video":a&2?c="skippablevideo":a&1&&(c="standardvideo"),a&4&&(c&&(c+="_"),c+="text_image_flash"),
d.A=c,b=b.wb)d.H=b;this.jb.T("adsManagerLoaded",this.fC,!1,this);this.jb.T("adError",this.eC,!1,this);qC(this.jb,d,this);this.g.ae("bd")}};
g.h.fC=function(a){if(a.A===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.ha().lengthSeconds},this),
enumerable:!0});try{var c=Cna(this);this.o=lA(a,this.g.H,b,c)}catch(d){QY(this,d);return}if(this.cd=this.o.oA(b,this.g.o.o)){this.C.zu(this.o.Le());this.F=new DY(this.g,this.o,this.cd);g.N(this,this.F);g.GE((0,g.A)(this.F.F,this.F),0);g.cb(this.o.Le(),0)||PY(this);this.D.T(this.o,"companionBackfill",(0,g.A)(this.PS,this));this.D.T(this.o,"prefetched",(0,g.A)(this.zK,this));this.D.T(this.o,"loaded",(0,g.A)(this.NS,this));this.D.T(this.o,"adError",(0,g.A)(this.MS,this),!1);this.D.T(this.o,"start",(0,g.A)(this.OS,
this));this.D.T(this.o,"complete",(0,g.A)(this.wK,this));this.D.T(this.o,"companionInitialized",(0,g.A)(this.QS,this));this.D.T(this.o,"contentPauseRequested",(0,g.A)(this.Zg,this));this.D.T(this.o,"contentResumeRequested",(0,g.A)(this.Jf,this));this.D.T(this.o,"allAdsCompleted",g.y);this.g.g.addEventListener("applicationplayerstatechange",this.hC,this);try{this.o.init("normal"),this.o.start()}catch(d){this.g.xi.g(wY,"vmap_ads_manager_init_exception",void 0),this.o.destroy(),this.o=null,QY(this,d)}}}};
g.h.hC=function(){if(g.W(g.mV(this.g.g),16)||g.W(g.mV(this.g.g),32)){var a=this.o;null!=a.wc&&(a=a.wc,a.g.stop(),a.o=!1)}else a=this.o,null!=a.wc&&sz(a.wc)};
g.h.QS=function(a){if(a=a.g)g.Te(this.G),this.G=new iY(this.g,a)};
g.h.Zg=function(a){RY(this);if((this.B=a.Gb())&&this.B.Sb()){a=MY(this.B);var b;b=this.B.C.o;b=0==b?1:0<b?2:-1==b?3:0;this.A=new cX(a,this.g,this.o,this.B.isSkippable(),!0,void 0,b);NY(this,this.A);1!=b&&DP("video_to_ad",["apbs"]);a=this.g;a.L=!0;a.B||vY(a);this.C.cC(this.B.C.o);this.A.show();LY(this,"show_instream_ads")}};
g.h.Jf=function(a){PY(this);this.g.getCurrentTime(1)<this.g.g.ha().lengthSeconds&&(gZ(this.g),this.B&&this.B.Sb()&&(this.C.dC(this.B.C.o),null!=this.G&&(this.G.g=!0)));a=a.Gb();var b=nC(this.o);b&&b.M&&b.vb()?this.B=null:!a&&this.A instanceof vX||RY(this);var c=!0;if(a&&a!==this.B&&!a.Sb()){if(b&&b.M&&!b.vb()){b=this.F;null!=b.g[0]&&(c=b.g[0],delete b.g[0],b.g[0]=new g.ZS(1E4,c.end,{id:"10",visible:!0}),c.visible=!1,QV(b.o,[c,b.g[0]],1),QV(b.o,[b.g[0]]));this.B=a;return}c=Dna(this,a)}this.B&&this.B.Sb()&&
XY(this.g);this.B&&this.B.Sb()?(LY(this,"set_previous_ad_end_time"),b=this.cd,0<b.A&&(b.g=(0,g.G)()/1E3),b=this.F,b.D=(0,g.G)()/1E3,b.A()):a&&a!==this.B&&!a.Sb()&&c&&(b=this.F,b.D=(0,g.G)()/1E3,b.A());this.F.F();this.B=a};
g.h.OS=function(a){(a=a.Gb())&&this.A&&(a=MY(a),this.A.adSystem=a)};
g.h.wK=function(a){a.Gb().Sb()||this.B!==a.Gb()||(RY(this),this.B=null)};
g.h.zK=function(a){var b=a.Gb();if(null!=b){var c=a.g.adBreakTime;this.L[c]=b;this.J||(this.g.ae("bl"),0==c&&a.Gb().Sb()||this.g.ae("fb"),this.J=!0)}};
g.h.NS=function(a){null!=a.Gb()&&(a.Gb().Sb()&&this.g.ae("bs"),a.Gb().C.B||a.Gb().Sb()||PY(this))};
g.h.MS=function(a){QY(this,a.getError())};
g.h.eC=function(a){var b=a.getError();"adLoadError"==b.Wb()&&a.g===this&&QY(this,b)};
g.h.PS=function(a){OY(this,a&&a.Gb())};
g.h.P=function(){RY(this);this.jb&&(this.jb.Ba("adsManagerLoaded",this.fC,!1,this),this.jb.Ba("adError",this.eC,!1,this));zm(this.M);zm(this.D);this.g.g.removeEventListener("applicationplayerstatechange",this.hC,this);this.H=!1;this.o&&(this.o.destroy(),this.o=null);g.Te(this.C);g.Te(this.G);KY.R.P.call(this)};
g.h.gC=function(a,b,c,d){if(3==b||19==c||2==c)a&&(d.break_type=a.Pe(),d.sst=a.Kc,d.sidx=0),$X(this.g,c,d)};g.C(TY,PV);TY.A=10;TY.o=1E3;TY.g="livead";g.h=TY.prototype;
g.h.create=function(){TY.R.create.call(this);this.J.U(this.g,"beginseeking",(0,g.A)(this.V,this,"beginseeking"));this.J.U(this.g,"endseeking",(0,g.A)(this.V,this,"endseeking"));this.J.U(this.g,"resize",(0,g.A)(this.V,this,"resize"));this.J.U(this.g,"presentingplayerstatechange",(0,g.A)(this.V,this,"presentingplayerstatechange"));this.J.U(this.g,"webglsettingschanged",(0,g.A)(this.V,this,"webglsettingschanged"));if(SY(this)){var a=qJ(this.app.Y);a.addEventListener("updatekevlarcompanion",wW);a.addEventListener("onPlaShelfInfoCardsReady",
yW);window.addEventListener("yt-navigate-start",zW)}this.ae("i");a=this.g.ha().Ub||{};this.o=new qna(oW(this),a);this.C=new una(this,this.g);this.S=!1;if(this.jb)this.jb.g.B.B=Wn();else{var a=this.o.S?void 0:QW(this.G),b=new kK(this.app,2);this.H=new hA(PW(this.G),void 0,a,qJ(b),!0);this.H.setSize(-1,-1);this.jb=new pC(this.H)}if(this.o.vmap&&!this.o.fa){this.B=new KY(this);try{this.B.load(this.o.vmap)}catch(c){g.zE(c),this.xi.g(wY,"vmap_load_exception",void 0),this.B.dispose(),this.B=null,dZ(this,
hY(new gY(this)))}}else dZ(this,hY(new gY(this)));this.C&&(this.M=this.app.o.g,this.M.subscribe("cuepointupdated",this.Ry,this),a=YY(this),null!=a&&(a.F=g.lV(this.app)),a={},a.allowed=this.C.o,SV(this,{},a))};
g.h.destroy=function(){this.L&&eZ(this);this.app.X.experiments.g("disable_new_pause_state3")||g.BV(this.g,this.od,void 0);cZ(this);g.Ue(this.A,this.F,this.B);this.F=this.A=null;this.M.unsubscribe("cuepointupdated",this.Ry,this);this.C=this.o=this.B=this.M=null;EW=BW=AW=!1;HW();this.D&&TY.R.destroy.call(this);if(SY(this)){var a=qJ(this.app.Y);a.removeEventListener("updatekevlarcompanion",wW);a.removeEventListener("onPlaShelfInfoCardsReady",yW);window.removeEventListener("yt-navigate-start",zW);vW=
null}};
g.h.isFullscreen=function(){return this.g.isFullscreen()||this.o.G};
g.h.tt=function(){var a;if(this.C){a=this.C;var b={allowed:a.o};a.g.excludedAds&&(b.ex_ad=a.g.excludedAds);a.A&&(b.at=a.A);a=b}else a=TY.R.tt.call(this);return a};
g.h.getRootNode=function(){return this.g.getRootNode()};
g.h.getCurrentTime=function(a){return this.app.getCurrentTime(a)};
g.h.qt=function(){return this.N};
g.h.tn=function(a){TY.R.tn.call(this,a);var b=(0,window.parseInt)(a.getId(),10);if(this.A&&!(0,window.isNaN)(b))if("ytp-ad-fadeout"==a.style){var c=this.A,d=c.Fi(b);if(d&&!qY(c.C,d)&&(c=c.B,d.o)){var e=fX(c.g),d=Math.max(0,XX(d)+c.B+c.A-1E3*c.g.getCurrentTime(1));LL(e,"transition","opacity "+String(d)+"ms linear");LL(e,"opacity","0");lY(c,e,d,0)}}else xY(this.A,b);this.B&&!(0,window.isNaN)(b)&&("ytp-ad-fadeout"==a.style?(d=this.B,(c=d.L[b])&&c.Sb()&&d.C.bC(b)):0>b&&(b=this.jb.g,d=new Rm("contentComplete"),
b.dispatchEvent(d),d.A&&(an(Zm(),420706009)||b.B.clear(),null!=b.o&&(d=b.o.Fh(),null!=d&&zA(d,b.B.g)))));if("livead"===a.getId()&&null!=YY(this)){b=YY(this);for(a=Math.floor(a.start/1E3);g.t(b.A[a]);)a++;d=b.ga++;c=0==a?new gW(1):new gW(2,a);d=new VX(b.aa,d,c,fY(b.aa.o,c.g),!1);b.A[a]=d;d.subscribe("adBreakComplete",b.da,b);cY(d)}};
g.h.un=function(a){TY.R.un.call(this,a);var b=(0,window.parseInt)(a.getId(),10),c=1E3*this.getCurrentTime(1);this.A&&!(0,window.isNaN)(b)&&c>a.start&&(0x8000000000000==a.end||0x7ffffffffffff==a.end)&&(c=this.A,(b=c.A[b])&&c.g==b&&!b.o&&b.isVisible&&b.G&&b.g instanceof pX&&b.g.yc("fullscreen"));this.B&&"ytp-ad-fadeout"==a.style&&this.B.C.nl();"livead"===a.getId()&&null!=YY(this)&&1E3*this.getCurrentTime(1)>=a.start&&(g.AV(this.g,[a],1),BY(YY(this)))};
g.h.ae=function(a){var b=a;"nl"==a&&(a=this.C,a.C++,b=a.C.toString());this.ca[b]=(0,g.G)();"bs"!=b&&"fb"!=b||SV(this,this.ca,this.ba)};
g.h.Ry=function(a){var b=YY(this);if(null!=b&&null!=b.F){var c=YY(this).F.getCurrentTime();(0,g.H)(a,function(a){0!=c&&a.Jd>c&&(a=new g.ZS(1E3*Math.floor(c+Math.random()*Math.max(a.Jd-10-c,0)),1E3*a.Jd,{id:"livead",priority:2}),QV(this,[a],1))},this)}};
g.h.QB=function(a){switch(a){case "addata":var b=this.o;return{adTag:b.adTag,adTest:b.oc,forceAdType:b.forceAdType,isAfvSkippableInstreamEnabled:b.aa,isAfvStandardInstreamEnabled:b.ba,isBlazer:b.D,isDoubleClickEnabled:b.da,isForcedAd:b.fa,isFreeWheelEnabled:b.La,isHouseBrandPlayer:b.xc,isLeanback:b.G,isShortform:b.Zb,tagForChildDirected:b.tagForChildDirected};case "adstate":return this.qt();case "midrollfreqcap":if(this.B)return b=this.o.o,null!=b?b:0;b=this.A instanceof yY?this.A:null;return null!=
b?b.S:0;case "breakscount":return this.B?(b=this.B,b=null!=b.o?b.o.Le().length:0):b=this.A?this.A.Cb.length:0,b;case "displaystate":return b=null,this.A&&this.A.g&&(b=this.A.g.g),{adFormat:b instanceof MW?b.adType:!1,adSkipped:b instanceof cX?b.D:!1,hasVideoStarted:b instanceof cX?b.G:!1,skippable:b instanceof cX?b.da:!1};case "getContentVideoData":return b=pW(this),{adModule:b.adModule,partnerTrackingToken:b.Dk,title:b.title,videoId:b.videoId};case "loadedadbreaks":if(this.A){a=this.A.A;var c=[];
for(b in a)a.hasOwnProperty(b)&&c.push({isInterruptive:a[Number(b)].o});return c}return 0}};
g.h.BS=function(){return"addata adstate breakscount displaystate getContentVideoData loadedadbreaks midrollfreqcap".split(" ")};
g.h.Id=function(){return!1};g.C(mZ,g.M);g.h=mZ.prototype;g.h.vv=function(){if(!this.g){var a=this.vv,b;"lb3"==g.Y(this.Y).o?b=!1:(b=this.Y.ha(),b=b.Ol||b.captionTracks.length||b.Aa&&b.ua&&null!=b.ua.g.en?!0:!1);(a=pZ(this,"captions",a,b))&&!this.g&&(this.g=a,this.Y.ya("onApiChange"))}};
g.h.qv=function(){this.G=this.G||pZ(this,"endscreen",this.qv,g.nZ(this))};
g.h.xv=function(){var a;if(!(a=this.B)){a=this.xv;var b;b=g.Y(this.Y).experiments;var c=aF(),d=c&&b.g("enable_spherical_ps4"),c=c&&b.g("enable_mesh_ps4"),e=b.g("enable_spherical_kabuki"),f=this.Y.ha(),k=XO(g.Y(this.Y));b=g.NQ(f)?c:f.Qh()?k||b.A||d||e||!1:f.mg()?k||d||!1||b.g("html5_enable_spherical3d"):g.yQ(f)?k||b.G:k&&(b.g("enable_webgl_noop")||b.g("enable_white_noise"));a=pZ(this,"webgl",a,b)}this.B=a};
g.h.zv=function(){this.N=this.N||pZ(this,"ypc",this.zv,g.JQ(this.Y.ha(),"ypc_module"))};
g.h.yv=function(){this.M=this.M||pZ(this,"ypc_clickwrap",this.yv,g.JQ(this.Y.ha(),"ypc_clickwrap_module"))};
g.h.uv=function(){this.L=this.L||pZ(this,"spacecast",this.uv,this.Y.ha().spacecastModule)};
g.h.tv=function(){this.J=this.J||pZ(this,"heartbeat",this.tv,g.JQ(this.Y.ha(),"ypc_license_checker_module"))};
g.h.lv=function(){if(!this.A){var a=this.lv,b;b=g.Y(this.Y);if("3"==b.C)b=!1;else if(b.G.isEmpty()&&"annotation-editor"!=b.o&&"live-dashboard"!=b.o){var c=this.Y.ha();b=b.experiments.g("disable_new_iv_module_create_logic")?g.JQ(c,"iv3_module"):!!c.pf}else b=!0;if(this.A=pZ(this,"annotations_module",a,b)){var a=this.A,d;for(d in this.ca)a.subscribe(d,this.ca[d]);this.Y.ya("onApiChange")}}};
g.h.rv=function(){this.C=this.C||pZ(this,"fresca",this.rv,g.JQ(this.Y.ha(),"fresca_module"))};
g.h.Bp=function(){this.H||(this.H=pZ(this,"remote",this.Bp,g.Y(this.Y).tb))&&this.H.create()};
g.h.ov=function(){if(!this.F){var a=this.ov,b;b=g.Y(this.Y);"3"==b.C?b=!1:"creator-endscreen-editor"==b.o?b=!0:(b=this.Y.ha(),b=!!b&&!!g.OQ(b));(this.F=pZ(this,"creatorendscreen",a,b))&&this.Y.ya("onApiChange")}};
g.h.P=function(){mZ.R.P.call(this);qZ(this)};g.C(rZ,g.X);rZ.B="(max-width: 656px)";rZ.A="(min-width: 657px)";rZ.o="(min-width: 1294px) and (min-height: 630px)";rZ.g="(min-width: 1720px) and (min-height: 980px)";g.h=rZ.prototype;g.h.qH=function(){this.D=new g.Qg(0,0,0,0);this.B=new g.Qg(0,0,0,0)};
g.h.zt=function(a){g.bq(this.element,arguments)};
g.h.Xf=function(){if(this.g){var a=this.Ya();if(!a.isEmpty()){var b=!g.Zd(a,g.Ug(this.B)),c=sZ(this);b&&(this.B.width=a.width,this.B.height=a.height);a=this.app.X;(c||b||a.ga)&&this.app.g.V("resize",this.Ya())}}};
g.h.VS=function(a,b){tZ(this,b)};
g.h.WS=function(a){a.g&&tZ(this,a.g)};
g.h.Ya=function(){var a=this.app.X,b=g.EF()==this.element;if(b&&XE())return new g.Yd(window.outerWidth,window.outerHeight);if(b||a.th){var c;window.matchMedia&&(a="(width: "+window.innerWidth+"px) and (height: "+window.innerHeight+"px)",this.C&&this.C.media==a||(this.C=window.matchMedia(a)),c=this.C&&this.C.matches);if(c)return new g.Yd(window.innerWidth,window.innerHeight)}else if(this.N&&!this.app.ra)for(a=0;a<this.N.length;a++)if(b=this.N[a],b.query.matches)return new g.Yd(b.size.width,b.size.height);
return new g.Yd(this.element.clientWidth,this.element.clientHeight)};
g.h.MG=function(){this.g&&dX(this);(this.app.X.experiments.g("player_state_change_resize_killswitch")||zZ(this)!=this.J)&&this.Xf()};
g.h.XS=function(){dX(this)};
g.h.P=function(){this.A&&(this.A.disconnect(),this.A=null);this.G&&g.nG(this.G);this.g=this.containerElement=null;rZ.R.P.call(this)};g.C(AZ,g.ZF);g.h=AZ.prototype;g.h.SS=function(a){a=PF(a);if(!Wd(a,this.C)){var b=2;this.F&&(b|=8);this.C=a;this.qc(b,!0)}};
g.h.kK=function(){this.F&&this.qc(8,!0);this.qc(2,!1)};
g.h.xt=function(a){var b=PF(a);Wd(b,this.C)||(this.C=b,(a=g.NF(a))&&this.S(a)&&(this.qc(4,!0),this.g.Ba(this.B),this.B=this.g.U(this.A,"mouseover",this.oC),this.L=this.g.U(this.A,"mouseout",this.oC)))};
g.h.oC=function(a){a=QF(a);a&&this.S(a)||(this.C=new g.Vd(window.NaN,window.NaN),BZ(this))};
g.h.vI=function(){this.qc(1,!0)};
g.h.ZF=function(a){a=g.NF(a);a instanceof window.Element&&!(0<a.tabIndex)||this.qc(1,!0)};
g.h.nC=function(){this.F=!0;this.g.Ba(this.D);this.D=this.g.U(window.document,"mouseup",this.TS)};
g.h.TS=function(){this.F=!1;this.qc(8,!1);this.g.Ba(this.D);this.D=this.g.U(this.A,"mousedown",this.nC)};
g.h.pC=function(a){if(a=a.changedTouches[0])this.ba=a.identifier,this.g.Ba(this.G),this.G=this.g.U(this.A,"touchend",this.US,void 0,!0),this.qc(1024,!0)};
g.h.US=function(a){for(var b,c=0;c<a.changedTouches.length;c++){var d=a.changedTouches[c];if(d.identifier==this.ba){b=d;break}}b&&(this.g.Ba(this.G),this.G=this.g.U(this.A,"touchstart",this.pC,void 0,!0),this.qc(1024,!1))};
g.h.qc=function(a,b){var c=!this.o;b?(this.o|=a,a&1&&this.H.start(),a&2&&this.J.start()):(this.o&=~a,a&1&&this.H.stop(),a&2&&this.J.stop(),a&512&&this.M.stop());this.o&512&&!(this.o&128)&&this.M.Qe(this.N);var d=!this.o;c!=d&&this.V("autohideupdate",d)};g.C(DZ,g.X);DZ.prototype.show=function(){DZ.R.show.call(this);this.L()};
DZ.prototype.L=function(){var a=1-1/1.5;this.B=(this.B+this.H)%(this.width*a);this.C=(this.C+this.G)%(this.height*a);this.A.drawImage(this.J,-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.g.isActive()||this.F.Qe()};
DZ.prototype.oa=function(){this.g.stop();this.F.stop();DZ.R.oa.call(this)};g.C(FZ,g.X);var Hpa=/<a\s+href=["']([^"']+)["'](?:\s+target=["']([^"']+)["'])?>([^<>]+)<\/a>/;FZ.prototype.show=function(){FZ.R.show.call(this);this.g&&this.g.show()};
FZ.prototype.oa=function(){FZ.R.oa.call(this);this.g&&this.g.oa()};
FZ.prototype.C=function(a){if(g.cW(a,this.A,!SO(g.Y(this.A)))){a={as3:!1,html5:!0,player:!0,cpn:this.A.ha().clientPlaybackNonce};var b=this.A;b.ya("onFeedbackArticleRequest",{articleId:3037019,helpContext:"player_error",productData:a});b.isFullscreen()&&g.pV(b)}};g.oa(IZ);var h2=g.w("yt.player.utils.VideoTagPool.instance")||IZ.getInstance();g.u("yt.player.utils.VideoTagPool.instance",h2,void 0);g.h=IZ.prototype;g.h.Mv=function(a){if(!(this.g.length>=a)){a-=this.g.length;for(var b=0;b<a;b++)KZ(this)}};
g.h.mG=function(a,b){if(this.g.length)return this.g.pop();var c=KZ(this,a,b);a||g.jb(this.g,c);return c};
g.h.oP=function(a){if(a&&g.cb(this.o,a)){a.src&&(CL&&0<a.readyState&&(a.currentTime=Math.max(Dpa,0)),a.removeAttribute("src"),a.load(),a.g&&a.g.o&&(a.g&&a.g.dispose(),a.g=null));for(var b in JF)JF[b][0]==a&&g.MF(b);g.jb(this.o,a);g.jb(this.A,a)}};
g.h.rH=function(a){return this.g.length>=(a||1)};
g.h.iF=function(){for(var a=this.A.length-1;0<=a;a--)JZ(this,this.A[a]);this.g.length==this.o.length&&4<=this.g.length||(4>this.o.length?this.Mv(4):(this.g=[],(0,g.H)(this.o,function(a){JZ(this,a)},this)))};
IZ.prototype.fillPool=IZ.prototype.Mv;IZ.prototype.getTag=IZ.prototype.mG;IZ.prototype.releaseTag=IZ.prototype.oP;IZ.prototype.hasTags=IZ.prototype.rH;IZ.prototype.activateTags=IZ.prototype.iF;g.C(LZ,g.X);g.C(NZ,g.X);NZ.prototype.show=function(){NZ.R.show.call(this);this.G()};
NZ.prototype.oa=function(){NZ.R.oa.call(this);this.F.stop()};
NZ.prototype.G=function(){var a=g.lV(this.g),b=m2(this.g),c=this.g.D.g,d=this.g.X,e=a.Yp(),f=bU(a.ba,"bandwidth"),k=8*g.Xa(f)/1024,l=bU(a.ba,"networkactivity"),m=g.Xa(l)/1024,n=b.Aa,q;q=this.g;q=(q=q.o&&q.o.J)?q.C.fb():[0];var r=g.Xa(q),v=bU(a.ba,"bufferhealth"),x=g.Xa(v),r=120<r||0>r?"Uncertain":r.toFixed(1)+" s, "+(b.isLowLatencyLiveStream?"Optimized for Low Latency":"Optimized for Smooth Streaming"),B;a.F?(B=a.F.g,B=B.g+" / "+B.o,aJ(ST,EU(a))&&(B+=", SD only")):B="";var F=g.TO(),J=GQ(b,a.getCurrentTime()),
J=J?J.sequence:window.NaN,L=b.videoId,eb=b.clientPlaybackNonce,pb=b.clientPlaybackNonce?"":"display:none",e=e.totalVideoFrames?""+(e.droppedVideoFrames||0)+"/"+e.totalVideoFrames:"-",ka=a.B?a.B.ra:"",td;a:{if(b.lh&&(td=b.lh.match(/url=(https?)/))&&2==td.length){td=td[1];break a}td=""}c={video_id:L,cpn:eb,cpn_style:pb,mime:"",dash:"no",dropped_frames:e,stream_host:ka,stream_type:td||d.fa,dimensions:c.clientWidth+" x "+c.clientHeight+(1<F?" * "+F:""),resolution:c.videoWidth+" x "+c.videoHeight,volume:Math.round(this.g.G.getVolume())+
"%",bandwidth_kbps:k.toFixed(0)+" Kbps",buffer_health_seconds:x.toFixed(1)+" s",live_latency_style:n?"":"display:none",live_latency_message:r,drm_style:B?"":"display:none",drm:B,sequence_number:J,sequence_number_style:"display:none",network_activity_bytes:m.toFixed(0)+" KB"};b.Ma&&(d=TI(b.Ma)?"yes":"no",d+=" ("+PI(b.Ma),b.nd&&TI(b.Ma)&&(d+="/"+PI(b.nd)),c.dash=d+")",c.mime=b.Ma.mimeType,d=b.Ma.video.fps,1<d&&(c.resolution+="@"+d),b.Ma.video.g||b.Ma.video.primaries?(d=b.Ma.video.g||"unknown","smpte2084"==
d?d+=" (PQ)":"arib-std-b67"==d&&(d+=" (HLG)"),c.color=d+" / "+(b.Ma.video.primaries||"unknown"),c.color_style=""):c.color_style="display:none");(a=BU(a))&&a.video&&(c.optimal_resolution=a.video.width+" x "+a.video.height,1<a.video.fps&&(c.optimal_resolution+="@"+a.video.fps));MZ(this.A,f);MZ(this.D,l);MZ(this.C,q);MZ(this.B,v);this.update(c);this.F.start()};g.C(OZ,g.M);OZ.prototype.get=function(a){var b=g.Za(this.o,function(b){return b[0]==a});
return b?b[1]:null};
OZ.prototype.set=function(a,b){this.remove(a,!0);for(this.o.push([a,b]);this.o.length>this.A;){var c=this.o.shift();this.g&&this.g(c[1])}};
OZ.prototype.remove=function(a,b){if(b&&this.g){var c=this.get(a);if(c)this.g(c);else return}kb(this.o,function(b){return b[0]==a})};
OZ.prototype.P=function(){this.g&&(0,g.H)(this.o,function(a){this.g(a[1])},this)};g.C(QZ,g.M);QZ.prototype.A=function(a){this.o=a[a.length-1].intersectionRatio};
QZ.prototype.P=function(){QZ.R.P.call(this);this.o=null;this.g&&this.g.disconnect()};g.l4=Ef(function(){var a=na.AudioContext||na.webkitAudioContext;try{return new a}catch(b){return b.name}});g.p(RZ,g.X);RZ.prototype.show=function(){g.X.prototype.show.call(this);this.g.Qe()};
RZ.prototype.oa=function(){this.A.stop();g.X.prototype.oa.call(this)};g.p(g.XZ,g.X);g.p(YZ,g.XZ);g.h=YZ.prototype;g.h.show=function(){this.o||(this.C.U(this.g,"videodatachange",this.B.Qe,this.B),this.C.U(this.g,"videoplayerreset",this.B.Qe,this.B));g.XZ.prototype.show.call(this)};
g.h.oa=function(){this.C&&g.QL(this.C);g.XZ.prototype.oa.call(this)};
g.h.rJ=function(a){var b=g.Y(this.g);b.experiments.g("disable_new_pause_state3")&&SO(b)&&(a=fR(a.state)&&!fR(a.g)||oV(this.g)&&g.W(a.state,2),g.dh(this.element,"transition-delay",a?"2s":""));this.B.Qe()};
g.h.qJ=function(){this.element.style.backgroundImage=""};
g.h.Tx=function(){var a=g.mV(this.g);3==this.g.ab()&&(a.vb()||g.W(a,4))?this.A.show():$Z(this.A,this.g,a);this.o&&3!=this.A.g&&this.gQ(this.g.Uf(),this.g.ha())};
g.h.gQ=function(a){for(var b=[],c=0;c<arguments.length;++c)b[c-0]=arguments[c];for(var c=g.Y(this.g),d,b=g.ia(b),e=b.next();!e.done;e=b.next())if(e=e.value,!(!e||e instanceof g.pQ&&!e.videoId)){d=g.nV(this.g).Ya();var f=g.TO(),k=d.width*f,f=d.height*f;if(1280<k||720<f)if(d=e.Vb(c,"maxresdefault.jpg"))break;if(c.experiments.g("enable_popular_thumbnail_size_serving_for_embeds")){if(854<k||480<f)if(d=e.Vb(c,"hq720.jpg")||e.Vb(c,"maxresdefault.jpg"))break;if(640<k||360<f)if(d=e.Vb(c,"pop2.jpg"))break;
if(560<k||315<f)if(d=e.Vb(c,"sddefault.jpg"))break;if(480<k||270<f)if(d=e.Vb(c,"pop1.jpg"))break}if(640<k||480<f)if(d=e.Vb(c,"maxresdefault.jpg"))break;if(c.experiments.g("enable_embed_quality_improvement")){if(480<k||360<f)if(d=e.Vb(c,"sddefault.jpg"))break;if(320<k||180<f)if(d=e.Vb(c,"hqdefault.jpg"))break;if(120<k||90<f)if(d=e.Vb(c,"mqdefault.jpg"))break}if(320<k||180<f)if(d=e.Vb(c,"sddefault.jpg")||e.Vb(c,"hqdefault.jpg")||e.Vb(c,"mqdefault.jpg"))break;if(d=e.Vb(c,"default.jpg"))break}this.D.style.backgroundImage=
d?"url("+d+")":""};g.p(b_,g.X);b_.prototype.C=function(a){var b=g.Y(this.g);b.experiments.g("disable_new_pause_state3")&&SO(b)&&g.dh(this.element,"transition-delay",fR(a.state)&&!fR(a.g)?"2s":"");a_(this,a.state)};g.p(d_,g.OL);d_.prototype.C=function(){this.B();var a=g.Y(this.Y),b=this.Y.ha(),c=[];a.H||(c.push({src:b.Vb(a,"mqdefault.jpg"),sizes:"320x180"}),(a=b.Vb(a,"sddefault.jpg"))&&c.push({src:a,sizes:"640x480"}));this.g.metadata=new window.MediaMetadata({title:b.title,artist:b.author,artwork:c});b=oV(this.Y);this.o.has("nexttrack")!=b&&(a=c=null,b&&(c=(0,g.A)(function(){SZ(this.A,mE(),g.U("YTP_NEXT"));this.Y.Hj()},this),a=(0,g.A)(function(){WZ(this.A);
this.Y.Yk()},this)),c_(this,"nexttrack",c),c_(this,"previoustrack",a))};
d_.prototype.B=function(){var a;a=g.mV(this.Y);a=a.isError()?"none":eR(a)?"playing":"paused";this.g.playbackState=a};
d_.prototype.P=function(){this.g.playbackState="none";this.g.metadata=null;for(var a=g.ia(this.o),b=a.next();!b.done;b=a.next())c_(this,b.value,null);g.OL.prototype.P.call(this)};g.p(e_,g.X);e_.prototype.M=function(a,b){f_(this,b);this.D&&g_(this,this.D)};
e_.prototype.L=function(a){var b=this.Y.ha();this.A!=b.videoId&&f_(this,b);this.g&&g_(this,a.state);this.D=a.state};
e_.prototype.J=function(){g.aW(this.C);this.A&&(this.B[this.A]=(this.B[this.A]||0)+((0,g.G)()-this.G));this.G=0};g.p(i_,g.X);i_.prototype.oa=function(){this.g.stop();this.B.style.display="none";g.X.prototype.oa.call(this)};
i_.prototype.C=function(a){h_(this,a.state)};
i_.prototype.D=function(){h_(this,g.mV(this.A))};
i_.prototype.F=function(){this.B.style.display="block"};g.p(j_,g.TV);g.h=j_.prototype;g.h.show=function(){var a=l_(this);g.TV.prototype.show.call(this);this.ca&&(this.H.U(window,"blur",this.Xb),this.H.U(window.document,"click",this.LJ));a||this.V("show",!0)};
g.h.oa=function(){var a=l_(this);g.TV.prototype.oa.call(this);k_(this);a&&this.V("show",!1)};
g.h.og=function(a,b){this.C=a;this.L.show();b?(this.J||(this.J=this.H.U(this.Y,"appresize",this.Du)),this.Du()):this.J&&(this.H.Ba(this.J),this.J=null);a&&(a.getAttribute("aria-haspopup"),a.setAttribute("aria-expanded",!0),window.document.activeElement&&g.Fe(a,window.document.activeElement)&&this.focus())};
g.h.Du=function(){T1(g.fV(this.Y).D,this.element,this.C)};
g.h.Xb=function(){var a=l_(this);k_(this);g.aW(this.L);a&&this.V("show",!1)};
g.h.jh=function(a,b){l_(this)?this.Xb():this.og(a,b)};
g.h.LJ=function(a){var b=RF(a);b&&(g.Fe(this.element,b)||this.C&&g.Fe(this.C,b)||!g.VV(a))||this.Xb()};g.p(m_,j_);m_.prototype.B=function(a){a?(this.A||(this.A=!0,g.sV(this.g,"mutedAutoplayImpression",{})),this.og()):this.Xb()};
m_.prototype.onClick=function(){g.sV(this.g,"mutedAutoplayClick",{videoPlayedSeconds:this.g.getCurrentTime()-this.g.ha().ax});this.g.xg()};g.p(n_,g.OL);g.h=n_.prototype;g.h.init=function(){var a=g.mV(this.g);this.Pn(a);this.hi();this.zb()};
g.h.Px=function(a,b){if(this.va!=b.videoId){this.va=b.videoId;var c=this.B;c.N=b&&0<b.wh.length?5E3:3E3;c.qc(512,!0);this.hi()}};
g.h.jN=function(){this.Px(0,this.g.ha())};
g.h.vj=function(){var a=g.uV(this.g)&&g.vV(this.g);(a=this.sa||a)||(a=g.fV(this.g).C,a=!!a&&a.WR());return a||this.gb||this.g.app.X.Ab};
g.h.vg=function(){var a=!this.vj();g.T(this.g.getRootNode(),"ytp-menu-shown",!a);var b=this.aa,a=!a;(b.B=a)?b.oa():$Z(b.A,b.g,g.mV(b.g))};
g.h.jJ=function(a){if(!g.Fe(this.g.getRootNode(),a))return!1;for(;a&&!g.Le(a);)a=a==this.g.getRootNode()?null:g.Ee(a);return!!a};
g.h.Ar=function(a){var b=this.g.getRootNode();g.T(b,"ytp-autohide",a);a&&(this.L=!1,g.cq(b,"ytp-touch-mode"));b=this.g;a=!a;b.ya("onVideoAreaChange");b.ya(a?"onShowControls":"onHideControls")};
g.h.KN=function(a){if(fR(g.mV(this.g))&&!g.Y(this.g).fe){var b=this.g.ha();b.videoId&&this.g.tB(MQ(b))}this.B.o||o_(this,RF(a))||l_(this.ba)&&g.Y(this.g).experiments.g("mweb_muted_autoplay_tap_anywhere")||(g.mV(this.g),g.UF(a));this.L=!0;g.S(this.g.getRootNode(),"ytp-touch-mode");this.B.qc(2,!0)};
g.h.GN=function(a){g.VV(a)&&g.Y(this.g).experiments.g("mweb_muted_autoplay_tap_anywhere")&&l_(this.ba)?(this.ba.onClick(),2==this.g.ab()&&this.g.He()):o_(this,RF(a))||(this.B.qc(2,!0),g.VV(a)&&(this.im()?g.UF(a):(a=g.mV(this.g),g.W(a,2)&&hV(this.g)||TZ(this.F,!eR(a)),g.Y(this.g).ra&&!fR(a)?this.ga.isActive()?(this.F.oa(),this.ga.stop()):this.ga.start():this.Qx())))};
g.h.Qx=function(){var a=g.mV(this.g);g.W(a,2)&&hV(this.g)||(eR(a)?this.g.xd():(this.g.He(),window.document.activeElement==this.aa.element&&this.g.getRootNode().focus()))};
g.h.HN=function(a){o_(this,RF(a))||3!=this.g.ab()&&g.pV(this.g)};
g.h.IN=function(a){p_(this,.3,a.scale);g.UF(a)};
g.h.JN=function(a){p_(this,.1,a.scale)};
g.h.zb=function(){var a=this.Vd(),b=g.nV(this.g).Ya(),c=this.g.isFullscreen(),d=this.g.getRootNode();g.Y(this.g).experiments.g("autohide_resize_killswitch")||g.cF&&BZ(this.B);g.T(d,"ytp-fullscreen",c);g.T(d,"ytp-small-mode",!a&&(480>b.width||270>b.height));g.T(d,"ytp-big-mode",a);this.D&&(a=this.D,a.g&&CZ(a.g,b.width,b.height))};
g.h.nN=function(a){this.Pn(a.state);this.hi()};
g.h.hi=function(){var a=2==this.g.ab(),b=!0;if(a){var b=g.fV(this.g).o,c;if(c=m2(b.app).isListed)b=b.o,c=null!=b.g&&null!=Tc(b.g,1)&&null!=Tc(bd(b.g),4)&&Tc(Vc(bd(b.g),hd,4),1)?!1:!0;b=c}c=g.Y(this.g);var d=c.experiments.g("embed_show_infobar_on_playback")&&c.A&&!c.D&&5==this.g.app.M,a=!!this.va&&!g.gV(this.g)&&(a?b:c.Mb||this.g.isFullscreen()||d);this.M!=a&&(this.M=a,g.T(this.g.getRootNode(),"ytp-hide-info-bar",!a))};
g.h.Pn=function(a){var b=fR(a);b!=this.yb&&(this.yb=b,this.Wa&&this.Ba(this.Wa),this.Wa=this.U(g.nV(this.g),"touchstart",this.KN,void 0,b));var c;(c=a.vb()&&!g.W(a,32))||(c=g.fV(this.g).J,c=!!c&&c.M());this.B.qc(128,!c);c=3==this.g.ab();this.B.qc(256,c);c=this.g.getRootNode();var d;g.W(a,2)?d=["ended-mode"]:(d=[],g.W(a,8)?d.push("playing-mode"):g.W(a,4)&&d.push("paused-mode"),g.W(a,1)&&!g.W(a,32)&&d.push("buffering-mode"),g.W(a,32)&&d.push("seeking-mode"),g.W(a,64)&&d.push("unstarted-mode"));g.zb(this.ra,
d)||(g.dq(c,this.ra),this.ra=d,g.bq(c,d));d=g.Y(this.g);var e=g.W(a,2);g.T(c,"ytp-hide-controls",("3"==d.C?!e:"1"!=d.C)||b);g.T(c,"ytp-native-controls","3"==d.C&&!b&&!e);if(g.W(a,128)){this.D||(this.D=new FZ(this.g),g.N(this,this.D),this.D.Ia(c),g.DV(this.g,this.D.element,5));b=this.D;a=a.g;for(c=0;c<b.B.length;c++)b.Ba(b.B[c]);b.B=[];c=a.messageKey;d=g.Y(b.A);if("YTP_ERROR_GENERIC_WITHOUT_LINK"!=c||d.xc)if("YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK_FLASH"==c||"YTP_HTML5_PROTECTED_FLASH_FALLBACK"==
c)b.Jc(GZ(b,c,"https://get.adobe.com/flashplayer/",!1,!0));else if("YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK"!=c||d.xc){a=a.message.split(Hpa);c=["span",null];for(d=0;d<a.length;d+=3){e=a[d++].split("\n");c.push(e[0]);for(var f=1;f<e.length;f++)c.push(["br"]),c.push(e[f]);d<a.length&&c.push(["a",{href:a[d],target:a[d+1]},a[d+2]])}b.Jc(c)}else b.Jc(GZ(b,"YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK_WITH_LINK","//"+PO(d)+"/html5"));else if(b.Jc(GZ(b,"YTP_ERROR_GENERIC_WITH_LINK_AND_CPN","//support.google.com/youtube/?p=player_error1",
!0)),d.ga&&!d.A)for(a=(0,g.A)(b.C,b),c=b.element.getElementsByTagName("a"),d=0;d<c.length;d++)e=b.U(c[d],"click",a),b.B.push(e);this.D.show()}else this.D&&(this.D.dispose(),this.D=null)};
g.h.im=function(){return g.uV(this.g)&&g.vV(this.g)?(this.g.dl(!1,!1),!0):g.gV(this.g)?(g.iV(this.g,!0),!0):!1};
g.h.kJ=function(a){this.gb=a&&g.Y(this.g).experiments.g("muted_autoplay_tap_anywhere");this.vg()};
g.h.Vd=function(){return!1};g.C(q_,g.TV);q_.prototype.B=function(){var a=this.A.nh(),a=ZW(new XW(a.seekableStart,a.seekableEnd),a.current,0);this.D.style.width=100*a+"%"};
q_.prototype.C=function(){g.GO(g.Y(this.A))||(2==this.A.ab()?this.g||(this.show(),this.g=this.U(this.A,"progresssync",this.B),this.B()):this.g&&(this.oa(),this.Ba(this.g),this.g=null))};g.p(r_,g.X);g.h=r_.prototype;g.h.KA=function(){g.uV(this.Y)&&g.vV(this.Y)&&this.o&&3!=this.C.g&&this.uk()};
g.h.mJ=function(){this.uk();g.oG("iv-teaser-clicked",!!this.g);this.Y.dl(!0,!1,"YOUTUBE_DRAWER_MANUAL_OPEN")};
g.h.lJ=function(){g.oG("iv-teaser-mouseover");this.g&&this.g.stop()};
g.h.cO=function(a){this.g||!a||g.vV(this.Y)||this.A&&this.A.isActive()||(Kna(this,a),g.oG("iv-teaser-shown"))};
g.h.Rx=function(){this.G.stop();this.g&&this.g.isActive()&&this.H.start()};
g.h.ah=function(){this.H.stop();this.g&&!this.g.isActive()&&this.G.start()};
g.h.MM=function(){this.g&&this.g.stop()};
g.h.KM=function(){this.uk()};
g.h.uk=function(){!this.g||this.B&&this.B.isActive()||(g.aW(this.C),g.cq(this.Y.getRootNode(),"ytp-cards-teaser-shown"),this.B=new g.Jt(function(){for(var a=g.ia(this.D),b=a.next();!b.done;b=a.next())this.Ba(b.value);this.D=[];this.g&&(this.g.dispose(),this.g=null);s_(this.F,!0)},330,this),this.B.start())};
g.h.P=function(){var a=this.Y.getRootNode();a&&g.cq(a,"ytp-cards-teaser-shown");g.Ue(this.A,this.B,this.g);g.X.prototype.P.call(this)};g.p(t_,g.X);t_.prototype.P=function(){this.g&&this.g();g.X.prototype.P.call(this)};
t_.prototype.D=function(){g.oG("iv-button-mouseover")};
t_.prototype.C=function(a){g.uV(this.Y);var b=g.aq(this.Y.getRootNode(),"ytp-cards-teaser-shown");g.oG("iv-teaser-clicked",b);a=0==a.screenX&&0==a.screenY;this.Y.dl(!g.vV(this.Y),a,"YOUTUBE_DRAWER_MANUAL_OPEN")};g.p(w_,g.TV);w_.prototype.Ca=function(a,b){g.TV.prototype.Ca.call(this,a,b);this.V("size-change")};g.p(y_,g.TV);y_.prototype.fa=function(){this.V("size-change")};
y_.prototype.focus=function(){this.N.focus()};
y_.prototype.ga=function(){this.V("back")};g.p(z_,y_);z_.prototype.S=function(){this.D.V("size-change")};
z_.prototype.focus=function(){for(var a=0,b=0;b<this.Na.length;b++)if("true"==this.Na[b].element.getAttribute("aria-checked")){a=b;break}this.Na[a].focus()};g.p(B_,j_);g.h=B_.prototype;g.h.show=function(){j_.prototype.show.call(this);this.bo()};
g.h.oa=function(){j_.prototype.oa.call(this);1<this.g.length&&F_(this)};
g.h.bo=function(){G_(this);this.o&&(C_(this),g.vh(this.element,this.size))};
g.h.eh=function(){var a=this.g.pop();D_(this,a,this.g[this.g.length-1],!0)};
g.h.PP=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.cq(b.element,"ytp-panel-animate-back")):(g.S(a.element,"ytp-panel-animate-back"),g.cq(b.element,"ytp-panel-animate-forward"));g.vh(this.element,this.size);this.D=new g.Jt(g.ya(this.GK,a,b),250,this);this.D.start()};
g.h.GK=function(a){g.cq(this.element,"ytp-popup-animating");a.detach();g.dq(a.element,["ytp-panel-animate-back","ytp-panel-animate-forward"]);this.D.dispose();this.D=null};
g.h.DJ=function(a){if(!g.SF(a))switch(g.OF(a)){case 27:this.Xb();g.UF(a);break;case 37:1<this.g.length&&this.eh();g.UF(a);break;case 39:g.UF(a)}};
g.h.focus=function(){this.g[this.g.length-1].focus()};
g.h.P=function(){j_.prototype.P.call(this);this.F&&this.F.dispose();this.D&&this.D.dispose()};g.p(H_,w_);H_.prototype.g=function(a){g.SF(a)||39!=g.OF(a)||(this.element.click(),g.UF(a))};g.p(J_,w_);J_.prototype.H=function(){K_(this,!this.g);this.V("select",this.g)};
J_.prototype.getValue=function(){return this.g};g.p(N_,z_);g.h=N_.prototype;g.h.zL=function(){pR(this.G.element)};
g.h.UL=function(){O_(this,this.Y.Vk(!0))&&SZ(this.L.F,{K:"svg",Z:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},O:[{K:"path",Z:{d:"M13.5 24.3L7.2 18.0l-2.1 2.1L13.5 28.5 31.5 10.5l-2.1-2.1L13.5 24.3z",fill:"#fff"}}]})};
g.h.VL=function(){O_(this,this.Y.kB())&&SZ(this.L.F,g.bE?{K:"div",ea:["ytp-icon","ytp-icon-code"]}:{K:"svg",Z:{height:"100%",viewBox:"0 0 36 36",width:"100%"},O:[{K:"path",Z:{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.HV(this.Y,this.g)};
g.h.YL=function(){O_(this,this.Y.getVideoUrl(!0,!0))&&SZ(this.L.F,lE());g.HV(this.Y,this.B)};
g.h.XL=function(){O_(this,this.Y.getVideoUrl(!1,!0))&&SZ(this.L.F,lE());g.HV(this.Y,this.A)};
g.h.pM=function(a){K_(this.F,a)};
g.h.qM=function(){var a=this.F.getValue();y2(this.Y.app,a);this.J.Xb();g.HV(this.Y,this.F)};
g.h.BN=function(a){var b=g.lV(this.Y.app);b&&b.Fj(new g.OP("feedback",!1,{gpu:FJ()}));if(g.cW(a,this.Y,!SO(g.Y(this.Y)))){a=this.Y;var b={as3:!1,html5:!0,player:!0},c=a.iw();c.debug_error&&(b.player_error=c.debug_error.errorCode,b.player_error_details=c.debug_error.errorDetail);b.debug_text=a.Vk(!0);a.ya("onFeedbackStartRequest",b);a.isFullscreen()&&g.pV(a)}this.J.Xb()};
g.h.TN=function(){this.Y.pB();this.J.Xb()};
g.h.oJ=function(a,b){M_(this,b)};g.p(R_,B_);g.h=R_.prototype;g.h.show=function(){this.G||(this.G=new N_(this.A,this.S,this),g.N(this,this.G),E_(this,this.G));B_.prototype.show.call(this);g.IV(this.A,this,!0);P_(this.G,!0)};
g.h.oa=function(){Q_(this);B_.prototype.oa.call(this);g.IV(this.A,this,!1);this.G&&P_(this.G,!1)};
g.h.yL=function(a){var b=RF(a);this.o||b&&(g.Ne(b,"a")||g.Oe(b,"ytp-no-contextmenu"))||(g.UF(a),S_(this),this.element.style.left="",this.element.style.top="",a=PF(a),a.x++,a.y++,this.og(),b=g.ph(window.document.body),a=g.qD(a,this.size,0,void 0,b,5),g.kh(this.element,g.Vg(a.rect)),g.QL(this.B),this.B.U(window.document,"contextmenu",this.IL),this.B.U(this.A,"fullscreentoggled",this.pJ),this.B.U(this.A,"pageTransition",this.YM))};
g.h.IL=function(a){g.SF(a)||g.Fe(this.element,RF(a))||this.Xb()};
g.h.pJ=function(){this.Xb();S_(this)};
g.h.YM=function(){this.Xb()};var m4=[{option:g.f4.To,message:"YTP_COLOR_WHITE"},{option:g.f4.dF,message:"YTP_COLOR_YELLOW"},{option:g.f4.AD,message:"YTP_COLOR_GREEN"},{option:g.f4.kD,message:"YTP_COLOR_CYAN"},{option:g.f4.JC,message:"YTP_COLOR_BLUE"},{option:g.f4.RD,message:"YTP_COLOR_MAGENTA"},{option:g.f4.Zt,message:"YTP_COLOR_RED"},{option:g.f4.zo,message:"YTP_COLOR_BLACK"}],Ipa=[{option:0,text:"0%"},{option:.25,text:"25%"},{option:.5,text:"50%"},{option:.75,text:"75%"},{option:1,text:"100%"}],W_=[{option:"fontFamily",message:"YTP_FONT_FAMILY",
options:[{option:g.g4.Ut,message:"YTP_FONT_FAMILY_MONO_SERIF"},{option:g.g4.Yt,message:"YTP_FONT_FAMILY_PROP_SERIF"},{option:g.g4.Tt,message:"YTP_FONT_FAMILY_MONO_SANS"},{option:g.g4.Lo,message:"YTP_FONT_FAMILY_PROP_SANS"},{option:g.g4.CASUAL,message:"YTP_FONT_FAMILY_CASUAL"},{option:g.g4.CURSIVE,message:"YTP_FONT_FAMILY_CURSIVE"},{option:g.g4.Qo,message:"YTP_FONT_FAMILY_SMALL_CAPS"}]},{option:"color",message:"YTP_FONT_COLOR",options:m4},{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:m4},{option:"backgroundOpacity",message:"YTP_BACKGROUND_OPACITY",options:Ipa},{option:"windowColor",message:"YTP_WINDOW_COLOR",options:m4},{option:"windowOpacity",message:"YTP_WINDOW_OPACITY",options:Ipa},{option:"charEdgeStyle",message:"YTP_CHAR_EDGE_STYLE",options:[{option:g.e4.NONE,message:"YTP_EDGE_STYLE_NONE"},
{option:g.e4.DROP_SHADOW,message:"YTP_EDGE_STYLE_DROP_SHADOW"},{option:g.e4.RAISED,message:"YTP_EDGE_STYLE_RAISED"},{option:g.e4.DEPRESSED,message:"YTP_EDGE_STYLE_DEPRESSED"},{option:g.e4.tu,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.p(T_,g.OL);g.h=T_.prototype;
g.h.xw=function(a){var b=!1,c=g.OF(a),d=RF(a),e=!a.altKey&&!a.ctrlKey&&!a.metaKey,f=!1,k=!1,l=g.Y(this.g);g.SF(a)?(e=!1,k=!0):l.Nd&&(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.fV(this.g).B)&&e&&!f&&d.A&&d.A.o)switch(c){case 65:case 68:case 87:case 83:case 107:case 221:case 109:case 219:f=d.A.rw(c)}l.xc||!e||f||(f=String.fromCharCode(c).toLowerCase(),this.A+=f,0=="awesome".indexOf(this.A)?(f=!0,7==this.A.length&&g.fq(this.g.getRootNode(),
"ytp-color-party")):(this.A=f,f=0=="awesome".indexOf(this.A)));if(e&&!f){switch(c){case 32:k=!eR(g.mV(this.g));TZ(this.o,k);k?this.g.He():this.g.xd();k=f=!0;break;case 37:this.g.Dd()&&(SZ(this.o,rE()),this.g.be(-5*this.g.Fe()),k=f=!0);break;case 39:this.g.Dd()&&(SZ(this.o,kE()),this.g.be(5*this.g.Fe()),k=f=!0);break;case 38:k=Math.min(this.g.getVolume()+5,100);UZ(this.o,k,!1);this.g.setVolume(k);k=f=!0;break;case 40:k=Math.max(this.g.getVolume()-5,0);UZ(this.o,k,!0);this.g.setVolume(k);k=f=!0;break;
case 27:this.D()&&(k=f=!0);break;case 36:this.g.ad(0);k=f=!0;break;case 35:this.g.ad(window.Infinity),k=f=!0}if("3"!=l.C)switch(c){case 67:g.fV(this.g).g&&(k=this.g.Zc("captions","track"),(f=g.fV(this.g).g)&&f.HA(),f=this.o,k=k&&k.displayName?g.U("YTP_SUBTITLES_OFF"):g.U("YTP_SUBTITLES_ON"),SZ(f,jE(),k),k=f=!0);break;case 79:X_(this,"textOpacity")&&(f=!0);break;case 87:X_(this,"windowOpacity")&&(f=!0);break;case 187:X_(this,"fontSizeIncrement",!1,!0)&&(f=!0);break;case 189:X_(this,"fontSizeIncrement",
!0,!0)&&(f=!0)}var n;48<=c&&57>=c?n=c-48:96<=c&&105>=c&&(n=c-96);null!=n&&(k=this.g.nh(),this.g.ad(n/10*(k.seekableEnd-k.seekableStart)+k.seekableStart),k=f=!0)}}b&&this.ds(!0);(b||k)&&this.C.qc(2,!0);(f||e&&V_(this,c,a.shiftKey))&&g.UF(a);l.Hb&&(a={keyCode:g.OF(a),altKey:a.altKey,ctrlKey:a.ctrlKey,metaKey:a.metaKey,shiftKey:a.shiftKey,handled:g.SF(a),fullscreen:this.g.isFullscreen()},this.g.ya("onKeyPress",a))};
g.h.yw=function(a){a=g.OF(a);var b=g.fV(this.g).B;b&&b.A&&b.A.o&&b.A.uw(a);9==a&&this.ds(!0)};
g.h.ds=function(a){g.T(this.g.getRootNode(),"ytp-probably-keyboard-focus",a);g.T(this.F.element,"ytp-probably-keyboard-focus",a)};
g.h.Vx=function(a){g.fV(this.g).g&&this.g.Ie("captions","sampleSubtitles",a)};
g.h.P=function(){g.Lt(this.B);g.OL.prototype.P.call(this)};g.p(Z_,g.X);g.h=Z_.prototype;g.h.oa=function(){g.cq(this.g.getRootNode(),"ytp-expand-pause-overlay");g.X.prototype.oa.call(this)};
g.h.iL=function(){this.S=!0;g.cq(this.g.getRootNode(),"ytp-expand-pause-overlay");this.G.focus()};
g.h.kL=function(){this.S=!1;g.S(this.g.getRootNode(),"ytp-expand-pause-overlay")};
g.h.EJ=function(){a0(this,this.C-this.F)};
g.h.FJ=function(){a0(this,this.C+this.F)};
g.h.mL=function(a,b){if(g.cW(b,this.g,this.da)){var c=this.A[a],d=c.dc().videoId,e=c.getPlaylistId();g.P2(this.g.app,d,c.Hd,e,void 0,void 0)}};
g.h.GJ=function(){this.sr(g.nV(this.g).Ya())};
g.h.HJ=function(a){g.W(a.state,1)||g.W(a.state,16)||g.W(a.state,32)||(g.W(a.state,4)&&!g.W(a.state,2)?this.A.length&&(this.S||(g.S(this.g.getRootNode(),"ytp-expand-pause-overlay"),$_(this)),this.H.show()):g.aW(this.H))};
g.h.sr=function(a){var b=16/9,c=this.ca.Vd();a=a.width-(c?136:68);for(var c=Math.ceil(a/(c?320:192)),c=(a-8*c)/c,b=Math.floor(c/b),d=0;d<this.D.length;d++){var e=this.D[d].wa["ytp-suggestion-image"];e.style.width=c+"px";e.style.height=b+"px"}this.L.style.height=b+"px";this.N=c;this.F=a;this.C=0;this.LA(0);$_(this)};
g.h.IJ=function(){var a=this.g.ha();a.Qf?(a=(0,g.Ae)(a.Qf,function(a){return a&&!a.list}),this.A=(0,g.I)(a,function(a){return g.PZ(a)})):this.A.length=0;
Mna(this)};
g.h.LA=function(a){this.L.scrollLeft=-a};
g.p(Y_,g.M);Y_.prototype.start=function(a,b,c){this.g=a;this.G=b;this.D=c;this.F=(0,g.AG)();this.A()};
Y_.prototype.A=function(){var a=(0,g.AG)()-this.F,b=this.B;a=Dia(b,a/this.D);if(0==a)b=b.F;else if(1==a)b=b.G;else var c=Td(b.F,b.C,a),d=Td(b.C,b.D,a),b=Td(b.D,b.G,a),c=Td(c,d,a),d=Td(d,b,a),b=Td(c,d,a);b=g.Rd(b,0,1);this.C((this.G-this.g)*b+this.g);1>b&&this.o.start()};g.p(b0,g.X);b0.prototype.A=function(a){g.cW(a,this.g)&&this.g.lB(this.gc)};g.p(c0,j_);g.h=c0.prototype;g.h.show=function(){j_.prototype.show.call(this);this.A.addEventListener("videodatachange",this.vk,this);this.A.addEventListener("onPlaylistUpdate",this.vk,this);this.vk()};
g.h.oa=function(){j_.prototype.oa.call(this);this.A.removeEventListener("videodatachange",this.vk,this);this.A.removeEventListener("onPlaylistUpdate",this.vk,this);d0(this,null)};
g.h.vk=function(){d0(this,this.A.Uf())};
g.h.In=function(){var a=this.g.bn;if(a==this.F)this.B.element.setAttribute("aria-checked",!1),this.B=this.D[this.g.Rd()];else{for(var b=g.ia(this.D),c=b.next();!c.done;c=b.next())c.value.dispose();b=this.g.getLength();this.D=[];for(c=0;c<b;c++){var d=new b0(this.A,this.g,c);this.D.push(d);d.Ia(this.Na)}this.B=this.D[this.g.Rd()];this.F=a}this.B.element.setAttribute("aria-checked",!0)};
g.h.eO=function(a){var b=this.A.getVideoUrl(!0);dW(b,this.A,a)};
g.h.focus=function(){this.B.focus()};
g.h.P=function(){this.oa();j_.prototype.P.call(this)};g.p(e0,g.X);e0.prototype.A=function(){g.T(this.element,"ytp-playlist-menu-button-tiny",400>g.nV(this.B).Ya().width);this.g&&2!=this.B.ab()?(this.update({text:g.U("YTP_PLAYLIST_POSITION",{CURRENT_POSITION:this.g.Rd()+1,PLAYLIST_LENGTH:this.g.getLength()}),title:g.U("YTP_PLAYLIST_NAME",{PLAYLIST_NAME:this.g.title})}),this.o||(this.show(),E0(this.C))):this.o&&(this.oa(),E0(this.C))};
e0.prototype.D=function(){this.g&&this.g.unsubscribe("shuffle",this.A,this);(this.g=this.B.Uf())&&this.g.subscribe("shuffle",this.A,this);this.A()};g.p(f0,g.X);f0.prototype.B=function(a){this.Jb(g.W(a.state,2))};
f0.prototype.A=function(){g.mV(this.g);this.g.He()};g.p(g0,j_);g.h=g0.prototype;g.h.bN=function(a){a=RF(a);g.Fe(this.M,a)||g.Fe(this.F,a)||this.jh()};
g.h.Xb=function(){j_.prototype.Xb.call(this);this.A.ti(this.element)};
g.h.show=function(){var a=this.o;j_.prototype.show.call(this);this.fy();a||this.g.ya("onSharePanelOpened")};
g.h.fy=function(){g.S(this.element,"ytp-share-panel-loading");g.cq(this.element,"ytp-share-panel-fail");var a=this.g.ha(),b=this.g.getPlaylistId(),c=b&&this.G.checked;g.T(this.element,"ytp-share-panel-has-playlist",!!b);var d={action_get_share_info:1,feature:"player_embedded",video_id:a.videoId},e=g.Y(this.g);e.tc&&(d.authuser=e.tc);e.pageId&&(d.pageid=e.pageId);c&&(d.list=b);g.TE(g.Y(this.g).baseYtUrl+"share_ajax",{method:"GET",onError:(0,g.A)(this.ey,this),Lb:(0,g.A)(function(a,b){if(b){if(b.actions&&
gG(b.actions),!this.ma()){g.cq(this.element,"ytp-share-panel-loading");h0(this);for(var c=b.links,d=0,e=0;e<c.length&&3>d;e++){var f=c[e],k=Nna(f.img);k&&(k=new g.X({K:"a",ea:["ytp-share-panel-service-button","ytp-button"],Z:{href:f.url,target:"_blank",title:f.sname},O:[k]}),k.T("click",g.ya(this.NN,f.url)),g.Se(k,u_(this.A,k.element)),this.B.push(k),d++)}c=new g.X({K:"a",ea:["ytp-share-panel-service-button","ytp-button"],O:[{K:"span",W:"ytp-share-panel-service-button-more",O:[g.bE?{K:"div",ea:["ytp-icon",
"ytp-icon-share-more"]}:{K:"svg",Z:{height:"100%",version:"1.1",viewBox:"0 0 38 38",width:"100%"},O:[{K:"rect",Z:{fill:"#fff",height:"34",width:"34",x:"2",y:"2"}},{K:"path",Z:{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"}}]}]}],Z:{href:b.more,target:"_blank",title:g.U("YTP_MORE")}});c.T("click",(0,g.A)(this.HM,this,b.more));g.Se(c,u_(this.A,c.element));this.B.push(c);this.Ca("buttons",this.B)}}else this.ey()},this),
Rc:d,withCredentials:!0});a=e.getVideoUrl(a.videoId,c?b:void 0,void 0,!0);this.Ca("link",a);this.Ca("linkText",a);pR(this.D)};
g.h.ey=function(){g.cq(this.element,"ytp-share-panel-loading");g.S(this.element,"ytp-share-panel-fail")};
g.h.NN=function(a,b){if(g.VV(b)){var c=void 0,c=void 0===c?{}:c;c.target=c.target||"YouTube";c.width=c.width||"600";c.height=c.height||"600";var d=c;d||(d={});var c=window,e;e=a instanceof Cd?a:Gd("undefined"!=typeof a.href?a.href:String(a));var f=d.target||a.target,k=[],l;for(l in d)switch(l){case "width":case "height":case "top":case "left":k.push(l+"="+d[l]);break;case "target":case "noreferrer":break;default:k.push(l+"="+(d[l]?1:0))}l=k.join(",");ec()&&c.navigator&&c.navigator.standalone&&f&&
"_self"!=f?(l=c.document.createElement("A"),g.Pd(l,e),l.setAttribute("target",f),d.noreferrer&&l.setAttribute("rel","noreferrer"),e=window.document.createEvent("MouseEvent"),e.initMouseEvent("click",!0,!0,c,1),l.dispatchEvent(e),c={}):d.noreferrer?(c=c.open("",f,l),e=Dd(e),c&&(g.WO&&Ja(e,";")&&(e="'"+e.replace(/'/g,"%27")+"'"),c.opener=null,e=Qd(qd("b/12014412, meta tag with sanitized URL"),'<META HTTP-EQUIV="refresh" content="0; url='+Ha(e)+'">'),c.document.write(g.Jd(e)),c.document.close())):c=
c.open(Dd(e),f,l);c&&(c.opener||(c.opener=window),c.focus());g.UF(b)}};
g.h.HM=function(a,b){dW(a,this.g,b)&&this.g.ya("SHARE_CLICKED")};
g.h.WJ=function(a){!a&&l_(this)&&this.jh()};
g.h.focus=function(){this.D.focus()};
g.h.P=function(){j_.prototype.P.call(this);h0(this)};g.p(i0,g.X);i0.prototype.F=function(){this.G.jh(this.element,!1);g.HV(this.g,this)};
i0.prototype.C=function(){var a=g.Y(this.g);this.Ca("icon",a.experiments.g("embed_new_share_icon")&&a.A?g.bE?{K:"div",ea:["ytp-icon","ytp-icon-ios-share"]}:{K:"svg",Z:{height:"100%",version:"1.1",viewBox:"-6 -6 36 36",width:"100%"},O:[{K:"path",Ra:!0,W:"ytp-svg-fill",Z:{d:"M16 5l-1.42 1.42-1.59-1.59V16h-1.98V4.83L9.42 6.42 8 5l4-4 4 4zm4 5v11c0 1.1-0.9 2-2 2H6c-1.11 0-2-0.9-2-2V10c0-1.11.89-2 2-2h3v2H6v11h12V10h-3V8h3c1.1 0 2 .89 2 2z"}}]}:g.bE?{K:"div",ea:["ytp-icon","ytp-icon-sharrow"]}:{K:"svg",
Z:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},O:[{K:"path",Ra:!0,W:"ytp-svg-fill",Z:{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"}}]});var a=a.rh&&2!=this.g.ab(),b=g.nV(this.g).Ya().width;this.B=!!this.g.ha().videoId&&300<=b&&!a;g.T(this.A,"ytp-share-button-visible",this.B);a=480<b;b=g.Y(this.g);b.experiments.g("enable_share_button_title")&&
b.A&&(g.T(this.A,"ytp-show-share-title",a),this.Ca("share",a?g.U("YTP_SHARE"):""));g.IV(this.g,this,this.B&&this.D)};
i0.prototype.P=function(){g.X.prototype.P.call(this);g.cq(this.A,"ytp-share-button-visible")};g.p(j0,g.X);j0.prototype.B=function(){var a=g.lV(this.g.app);a&&a.o.g.webkitShowPlaybackTargetPicker()};
j0.prototype.A=function(){var a=g.lV(this.g.app);this.Jb(!!a&&a.Zb);this.Ca("icon",wV(this.g)?g.bE?{K:"div",ea:["ytp-icon","ytp-icon-airplay-on"]}:{K:"svg",Z:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},O:[{K:"path",Ra:!0,Z:{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.bE?{K:"div",ea:["ytp-icon","ytp-icon-airplay-off"]}:{K:"svg",Z:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},O:[{K:"path",Ra:!0,W:"ytp-svg-fill",Z:{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.p(k0,g.TV);g.h=k0.prototype;g.h.uJ=function(a){g.W(a.state,32)?l0(this,this.g.ha()):g.aW(this.G)};
g.h.mn=function(){var a=this.g.nh(),b=a.current,c=dQ(this.Ib,141),b=this.Ib.g[c].xo(b);b!=this.L&&(c=fQ(this.Ib,b,141),this.D=aX(this.fa,c,141,141,!0),g.kh(this.da,(this.H-this.D.width)/2),this.L=b);g.He(this.ga,g.UV(this.N?a.current-a.seekableEnd:a.current));g.LG(this.J);a=(0,g.A)(this.co,this);this.J=g.KG(a,1,void 0);this.M.Pi()};
g.h.vJ=function(a,b){l0(this,b)};
g.h.co=function(){g.O(this.A,!1);g.LG(this.J);var a=Math.round(.5*this.D.width),b=Math.round(.5*this.D.height),c=this.g.nh(),d=this.Ib.g[0].lC(),e=this.Ib.g[0].wt(),c=c.current/(c.seekableEnd-c.seekableStart)*(e-d+1)*a-this.H/2,f=Math.floor(c/a)+d,e=Math.min(f+Math.min(20,Math.ceil(this.H/a)),e),f=Math.max(f,d),k;if(this.C>=f&&this.B<=e){for(k=this.C;k>e;k--)g.ye(this.A.children[k-this.B]);for(k=f-1;k>=this.B;k--)g.ye(this.A.children[k-this.B]);for(k=this.B-1;k>=f;k--)this.A.insertBefore(m0(this,
k,a,b),this.A.firstChild);k=this.C+1}else g.ve(this.A),k=f;for(;k<=e;k++){var l=m0(this,k,a,b);this.A.appendChild(l)}for(k=f;k<=e;k++)g.dh(this.A.children[k-f],"transform","translatex("+(-c+(k-d)*a)+"px)");this.B=f;this.C=e;g.O(this.A,!0)};
g.h.tJ=function(){for(var a=this.B;a<=this.C;a++)hQ(this.Ib,a,this.D.width)};
g.h.sJ=function(){var a=g.nV(this.g).Ya();this.H!=a.width&&(this.H=a.width,this.Ib&&(this.mn(),this.co()))};
g.h.wJ=function(a){this.element.style.g=a+"px"};
g.h.show=function(){g.TV.prototype.show.call(this);P1(this.ca,!1)};
g.h.oa=function(){this.Ib&&l0(this,null);g.TV.prototype.oa.call(this);P1(this.ca,!0)};
g.h.P=function(){l0(this,null);g.TV.prototype.P.call(this)};
k0.g=200;g.p(n0,g.X);g.h=n0.prototype;g.h.yJ=function(a){g.W(a.state,32)?p0(this,this.g.ha()):this.o&&(g.W(a.state,16)||g.W(a.state,1))||g.aW(this.B)};
g.h.AJ=function(a,b){p0(this,b)};
g.h.zJ=function(){var a=g.mV(this.g);(g.W(a,32)||g.W(a,16))&&o0(this)};
g.h.xJ=function(){this.C=window.NaN;o0(this)};
g.h.oa=function(){this.Ib&&p0(this,null);g.X.prototype.oa.call(this)};g.p(r0,g.X);g.h=r0.prototype;g.h.BJ=function(){g.Y(this.A).ra?(g.tV(this.A,this.A.isFullscreen()?"fullscreen_exit":"fullscreen_enter"),g.pV(this.A)):this.g.jh(this.element,!0)};
g.h.Vy=function(){q0(this);this.g.og(this.element,!0)};
g.h.CJ=function(){g.EF()==this.A.getRootNode()?this.C.start():(this.C.stop(),this.g&&this.g.oa())};
g.h.AF=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.Vy()}};
g.h.Ux=function(){this.Jb(eW(this.A))};
g.h.pA=function(a){var b;a?(b=g.bE?{K:"div",ea:["ytp-icon","ytp-icon-full-screen-close"]}:{K:"svg",Z:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},O:[{K:"g",W:"ytp-fullscreen-button-corner-2",O:[{K:"path",Ra:!0,W:"ytp-svg-fill",Z:{d:"m 14,14 -4,0 0,2 6,0 0,-6 -2,0 0,4 0,0 z"}}]},{K:"g",W:"ytp-fullscreen-button-corner-3",O:[{K:"path",Ra:!0,W:"ytp-svg-fill",Z:{d:"m 22,14 0,-4 -2,0 0,6 6,0 0,-2 -4,0 0,0 z"}}]},{K:"g",W:"ytp-fullscreen-button-corner-0",O:[{K:"path",Ra:!0,W:"ytp-svg-fill",
Z:{d:"m 20,26 2,0 0,-4 4,0 0,-2 -6,0 0,6 0,0 z"}}]},{K:"g",W:"ytp-fullscreen-button-corner-1",O:[{K:"path",Ra:!0,W:"ytp-svg-fill",Z:{d:"m 10,22 4,0 0,4 2,0 0,-6 -6,0 0,2 0,0 z"}}]}]},a=g.U("YTP_EXIT_FULLSCREEN"),window.document.activeElement==this.element&&this.A.getRootNode().focus()):(b=g.bE?{K:"div",ea:["ytp-icon","ytp-icon-full-screen"]}:{K:"svg",Z:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},O:[{K:"g",W:"ytp-fullscreen-button-corner-0",O:[{K:"path",Ra:!0,W:"ytp-svg-fill",Z:{d:"m 10,16 2,0 0,-4 4,0 0,-2 L 10,10 l 0,6 0,0 z"}}]},
{K:"g",W:"ytp-fullscreen-button-corner-1",O:[{K:"path",Ra:!0,W:"ytp-svg-fill",Z:{d:"m 20,10 0,2 4,0 0,4 2,0 L 26,10 l -6,0 0,0 z"}}]},{K:"g",W:"ytp-fullscreen-button-corner-2",O:[{K:"path",Ra:!0,W:"ytp-svg-fill",Z:{d:"m 24,24 -4,0 0,2 L 26,26 l 0,-6 -2,0 0,4 0,0 z"}}]},{K:"g",W:"ytp-fullscreen-button-corner-3",O:[{K:"path",Ra:!0,W:"ytp-svg-fill",Z:{d:"M 12,20 10,20 10,26 l 6,0 0,-2 -4,0 0,-4 0,0 z"}}]}]},a=g.U("YTP_FULLSCREEN"));this.Ca("icon",b);this.Ca("title",this.g?null:a);E0(this.D.o)};
g.h.P=function(){this.g||(this.B(),this.B=null);g.X.prototype.P.call(this)};g.p(s0,j_);g.h=s0.prototype;g.h.show=function(){var a=this.o;j_.prototype.show.call(this);a||(this.B.U(this.g,"presentingplayerstatechange",this.rr),this.B.U(this.g,"videodatachange",this.rr),this.rr())};
g.h.oa=function(){this.B&&(g.QL(this.B),j_.prototype.oa.call(this))};
g.h.rr=function(){var a=this.g.ha(),b=a.wh,c;for(c=0;c<b.length;c++){var d=this.A[c];d||(d=new g.X({K:"button",ea:["ytp-multicam-menu-item","ytp-button"],Z:{"aria-checked":"{{selected}}","data-id":"{{videoId}}"},O:[{K:"div",W:"ytp-multicam-menu-item-title",O:["{{cameraName}}"]}]}),d.T("click",g.ya(this.lL,c),this),d.Ia(this.Na),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=RO(g.Y(this.g),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.mV(this.g);a=b.length||!a.Ob();eR(c)||g.W(c,4)||a||!l_(this)||this.jh()};
g.h.lL=function(a){this.g.ha();var b=this.g,c=this.g.ha().wh[a];a=g.lV(b.app,1).g;var d=b.getCurrentTime();if(c.id==a.videoId)g.lV(b.app)!=g.lV(b.app,1)&&(c=b.app,aZ(c,$Y(c,1)),a.Aa||b.ad(d));else{var e=b.app;aZ(e,$Y(e,4));I2(b.app,{videoId:c.id,title:a.title,start:a.Aa?null:d,multifeed_metadata_list:a.Ub.multifeed_metadata_list},4)}};
g.h.focus=function(){for(var a=this.g.ha(),b=a.wh,c=0;c<b.length;c++)if(b[c].id==a.videoId){this.A[c].focus();break}};
g.h.P=function(){g.Ue(this.A);j_.prototype.P.call(this)};g.p(t0,g.X);t0.prototype.F=function(a){this.B("newdata"==a)};
t0.prototype.B=function(a){var b=this.g.ha(),c=b.wh,d=g.mV(this.g),d=(eR(d)||g.W(d,4))&&0<c.length;this.Jb(d);a&&(this.C=!0);if(d){this.C&&this.D.Qe();a=null;for(var d="",e=0;e<c.length;e++)if(c[e].id==b.videoId){a=c[e].title;d=g.U("YTP_MULTICAM_INDEX",{CAMERA_INDEX:e+1,CAMERA_COUNT:c.length})+"\n";break}this.update({text:d+a,preview:b.Vb(g.Y(this.g),"default.jpg")});E0(this.A)}else this.D.stop()};
t0.prototype.G=function(){R1(this.A,this.element,g.U("YTP_MORE_CAMERAS_AVAILABLE"));this.C=!1};g.C(u0,g.M);var Jpa=new sC(0,0,.4,0,.2,1,1,1);u0.prototype.o=function(){var a=(0,g.AG)()-this.C,a=a<this.g?a/this.g:1;this.A(tC(Jpa,a));1>a&&this.B.start()};
var Ona=/[0-9.-]+|[^0-9.-]+/g;g.p(B0,g.X);B0.prototype.ld=function(a){this.B=300<=a.width;this.Jb(this.B);g.IV(this.g,this,this.B&&this.G)};
B0.prototype.ga=function(){g.Y(this.g).L?this.g.Ge()?(g.tV(this.g,"unmute"),this.g.xg()):(g.tV(this.g,"mute"),this.g.mute()):this.ca.jh(this.element,!0);g.HV(this.g,this)};
B0.prototype.fa=function(a){A0(this,a.volume,a.muted)};
var Pna=["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"],Qna=["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.p(F0,g.X);F0.prototype.A=function(){var a=g.lV(this.g.app);a&&(a=a.o,a.g.webkitSetPresentationMode("picture-in-picture"==a.g.webkitPresentationMode?"inline":"picture-in-picture"))};g.p(H0,g.X);H0.prototype.G=function(a){G0(this,a.state)};
H0.prototype.F=function(){g.T(this.element,"ytp-play-button-playlist",oV(this.g))};
H0.prototype.H=function(){2==this.A?g.tV(this.g,"pause"):3==this.A?g.tV(this.g,"replay"):1==this.A?g.tV(this.g,"play"):4==this.A&&g.tV(this.g,"stop");eR(g.mV(this.g))?this.g.xd():this.g.He()};
H0.prototype.P=function(){this.B&&this.B();g.X.prototype.P.call(this)};g.p(K0,g.X);g.h=K0.prototype;g.h.dj=function(){L0(this);this.G&&(this.Ba(this.G),this.G=null);this.F=this.g.ha(1);if(this.A=this.g.Uf())this.A.subscribe("shuffle",this.dj,this),this.G=this.U(this.g,"progresssync",this.JJ);this.D=M0(this);J0(this);this.ld(g.nV(this.g).Ya())};
g.h.ld=function(a){a=void 0===a?g.nV(this.g).Ya():a;var b=oV(this.g)||this.B&&g.EV(this.g)||N0(this);this.Jb(b&&(this.B||400<=a.width))};
g.h.KJ=function(a){g.tV(this.g,this.B?"next":"previous");var b=!0;this.J?b=g.cW(a,this.g):g.UF(a);b&&(this.B?this.g.Hj(!0):this.D?this.g.ad(0):this.g.Yk(!0))};
g.h.JJ=function(){var a=M0(this);a!=this.D&&(this.D=a,J0(this))};
g.h.P=function(){this.C&&(this.C(),this.C=null);L0(this);g.X.prototype.P.call(this)};g.p(P0,g.TV);g.h=P0.prototype;g.h.OJ=function(a){if(!g.SF(a)){var b=!1;switch(g.OF(a)){case 36:this.A.ad(0);b=!0;break;case 35:this.A.ad(window.Infinity);b=!0;break;case 34:this.A.be(-60);b=!0;break;case 33:this.A.be(60);b=!0;break;case 38:this.A.be(5);b=!0;break;case 40:this.A.be(-5),b=!0}b&&g.UF(a)}};
g.h.Wx=function(a,b){O0(this,b,"newdata"==a)};
g.h.JG=function(){this.Wx("newdata",this.A.ha())};
g.h.NJ=function(){W0(this.A.ha())?g.mV(this.A).vb()&&X0(this,!0):X0(this,!1)};
g.h.MJ=function(a){0<gK(a,64)||!W0(this.A.ha())?X0(this,!1):eR(a.state)&&0>gK(a,64)&&X0(this,!0);this.B&&!g.W(a.state,32)&&3!=this.A.ab()&&this.B.cancel()};
g.h.RJ=function(a,b,c){var d=g.oh(this.element),e=Z0(this).g,f=c?c.getAttribute("data-tooltip"):void 0;f&&(a=ZW(this.g,Number(c.getAttribute("data-position")),0)*e+g.oh(this.yb).x);this.va.x=a-d.x;this.va.y=b-d.y;c=Z0(this);a=YW(this.g,c.o);b=this.Ja;c=c.position+this.Mb;d=f||g.UV(this.Ea?a-this.g.g:a);f=!!f;b.ca||(3==b.g&&b.Ud(),1!=b.g&&(b.element.className="ytp-tooltip ytp-bottom",b.g=1,b.J&&b.H.show(),b.B=FQ(b.M.ha()),b.B&&b.B.subscribe("l",b.ky,b)),b.update({text:d,title:""}),g.T(b.element,"ytp-text-detail",
!!f),d=-1,b.B&&(d=dQ(b.B,160*b.D),d=b.B.g[d].xo(a)),U1(b,d),S1(b,!!f,c));g.T(this.da,"ytp-hover-progress-shown",!g.W(g.mV(this.A),64));S0(this)};
g.h.QJ=function(){var a=this.Ja;1==a.g&&a.Ud();g.cq(this.da,"ytp-hover-progress-shown")};
g.h.PJ=function(a,b){g.DE(this.D);this.D=window.NaN;this.Ab=b;this.A.ad(YW(this.g,Z0(this).o),!1);g.S(this.element,"ytp-drag");(this.Qa=eR(g.mV(this.A)))&&this.A.xd()};
g.h.SJ=function(){this.ca=0;g.cq(this.element,"ytp-pull-ui");g.cq(this.element,"ytp-pulling");if(0<this.G){var a=(0,g.AG)(),b=this.G,c=Z0(this).position;g.DE(this.D);this.D=oR((0,g.A)(this.ay,this,a,b,c),0)}if(g.W(g.mV(this.A),32)||3==this.A.ab())this.A.ad(YW(this.g,Z0(this).o)),g.cq(this.element,"ytp-drag"),this.Qa&&!g.W(g.mV(this.A),2)&&this.A.He()};
g.h.ay=function(a,b,c){var d=1-Math.pow(1-((0,g.AG)()-a)/200,3),e=c+d*(this.F*this.C-c);if(0>d||1<d)d=1;Y0(this,(1-d)*b,e,this.F);this.D=1>d?oR((0,g.A)(this.ay,this,a,b,c),0):window.NaN};
g.h.TJ=function(a,b){var c=!1,d=!1,e=Z0(this);3600<=this.g.getLength()&&(Y0(this,this.Ab-b-10,e.position,e.o),d=!0,c=this.G>.1*(this.H?60:40),e=Z0(this));g.T(this.element,"ytp-pull-ui",d);c&&g.S(this.element,"ytp-pulling");c=0;e.A&&0>=e.position?c=-1:e.C&&e.position>=e.width&&(c=1);(0,window.isNaN)(this.D)||c&&c==this.ca||g.EE(this.D);c&&(this.D=oR((0,g.A)(this.Zx,this,(0,g.AG)(),this.J),0));this.ca=c;this.A.ad(YW(this.g,e.o),!1)};
g.h.Zx=function(a,b){if(this.ca){var c=this.C*(this.S-1);this.J=g.Rd(b+this.ca*((0,g.AG)()-a)*.3,0,c);R0(this);this.A.ad(YW(this.g,Z0(this).o),!1);0<this.J&&this.J<c&&(this.D=oR((0,g.A)(this.Zx,this,a,b),0))}};
g.h.Yx=function(){this.Ca("clipstarticon",fE());this.Ca("clipendicon",fE());g.S(this.element,"ytp-clip-hover")};
g.h.Xx=function(){this.Ca("clipstarticon",hE());this.Ca("clipendicon",gE());g.cq(this.element,"ytp-clip-hover")};
g.h.nn=function(){this.M=0;this.L=window.Infinity;V0(this);Q0(this,this.F,this.ka)};
g.h.by=function(a){a=g.ia(a);for(var b=a.next();!b.done;b=a.next())if(b=b.value,b.visible){var c=b.getId();if(!this.N[c]){var d=g.re("DIV");b.tooltip&&(d.setAttribute("data-tooltip",b.tooltip),d.setAttribute("data-position",b.start/1E3));this.N[c]=b;this.na[c]=d;$0(this,b,d);"ytp-chapter-marker"==b.style?this.ac.appendChild(d):this.Zb.appendChild(d)}}else b1(this,b)};
g.h.UJ=function(a){a=g.ia(a);for(var b=a.next();!b.done;b=a.next())b1(this,b.value)};
g.h.P=function(){g.EE(this.D);this.D=window.NaN;U0(this,!1);g.TV.prototype.P.call(this)};g.p(c1,J_);c1.prototype.C=function(){g.fV(this.Y).A&&3!=this.Y.ab()?this.A||(v1(this.B,this),this.A=!0):this.A&&(w1(this.B,this),this.A=!1);var a=g.fV(this.Y).A;K_(this,!!a&&a.loaded)};
c1.prototype.D=function(a){a?this.Y.Xk("annotations_module"):this.Y.so("annotations_module")};
c1.prototype.P=function(){this.A&&w1(this.B,this);J_.prototype.P.call(this)};g.p(g.d1,w_);g.h=g.d1.prototype;g.h.open=function(){E_(this.A,this.D)};
g.h.enable=function(a){this.G?a||(this.G=!1,this.Ai(!1)):a&&(this.G=!0,this.Ai(!0))};
g.h.Ai=function(a){a?v1(this.A,this):w1(this.A,this)};
g.h.hd=function(a){this.V("select",a)};
g.h.WM=function(a){"true"!=this.g[a].element.getAttribute("aria-disabled")&&this.hd(a)};
g.h.Ne=function(a){return a.toString()};
g.h.VJ=function(a){g.SF(a)||39!=g.OF(a)||(this.open(),g.UF(a))};
g.h.P=function(){this.G&&w1(this.A,this);w_.prototype.P.call(this);for(var a in this.g)this.g[a].dispose()};g.p(g1,g.d1);g1.prototype.F=function(){var a=this.Y.qB();1<a.length?(g.f1(this,(0,g.I)(a,this.B)),this.J=g.Cb(a,this.B,this),this.H.Jc(a.length?" ("+a.length+")":""),this.V("size-change"),g.e1(this,this.B(this.Y.ji())),this.enable(!0)):this.enable(!1)};
g1.prototype.hd=function(a){g.d1.prototype.hd.call(this,a);this.Y.vB(this.J[a]);this.A.eh()};
g1.prototype.B=function(a){return a.toString()};g.p(h1,J_);h1.prototype.C=function(){var a=this.Y.ab();if(2!=a&&3!=a&&g.EV(this.Y))this.B||(v1(this.D,this),this.B=!0,this.A.push(this.U(this.Y,"videodatachange",this.C)),this.A.push(this.U(this.Y,"videoplayerreset",this.C)),this.A.push(this.U(this.Y,"onPlaylistUpdate",this.C)),this.A.push(this.U(this.Y,"autonavchange",this.F)),this.F(this.Y.ha().autonavState));else if(this.B){w1(this.D,this);this.B=!1;for(var a=g.ia(this.A),b=a.next();!b.done;b=a.next())this.Ba(b.value)}};
h1.prototype.F=function(a){K_(this,1!=a)};
h1.prototype.G=function(a){this.Y.app.g.ya("onAutonavChangeRequest",1!=(a?2:1))};
h1.prototype.P=function(){this.B&&w1(this.D,this);J_.prototype.P.call(this)};g.p(i1,g.d1);i1.prototype.B=function(){var a=this.Y.ab();if(2!=a&&3!=a){for(var a={},b=RU(g.lV(this.Y.app)),c=0;c<b.length;c++){var d=b[c];a[d.quality]=d}this.H=a;a=this.Y.iB();b=this.Y.ha().Ma;if(b=!!b&&!TI(b)&&"application/x-mpegURL"!=b.mimeType)b=this.Y.ha(),b=!!(b.adaptiveFormats||b.hlsFormats||b.pe);b&&a.unshift("missing-qualities");g.f1(this,a);if(a.length){this.J();this.enable(!0);return}}this.enable(!1)};
i1.prototype.J=function(){var a=qV(this.Y);this.g[a]&&(this.F=this.Y.qo(),g.e1(this,a),"auto"==a&&this.Jc(this.Ne(a)))};
i1.prototype.hd=function(a){"missing-qualities"!=a&&(g.d1.prototype.hd.call(this,a),this.Y.ro(a),this.A.Xb())};
i1.prototype.Ne=function(a,b){b=void 0===b?!1:b;if("missing-qualities"==a)return{K:"a",Z:{href:"https://support.google.com/youtube/?p=missing_quality",target:"_blank"},O:[g.U("YTP_MISSING_FORMATS")]};var c={K:"div",O:[j1(this,a)]},d=qV(this.Y);b||"auto"!=d||"auto"!=a||(c.O.push(" "),c.O.push(j1(this,this.F,["ytp-menu-label-secondary"])));return c};g.p(k1,g.X);k1.prototype.ld=function(a){this.Jb(this.B&&400<=a.width)};
k1.prototype.C=function(){g.tV(this.Y,"settings");if(this.A.o)this.A.Xb();else{var a=g.fV(this.Y).g;a&&!a.loaded&&(a.CB("tracklist",{includeAsr:!0}).length||a.load());this.A.og(this.element)}};
k1.prototype.g=function(){var a=this.Y.ab(),b=2!=a&&3!=a,c=g.rV(this.Y),c=(a=b&&("Anaglyph3D"==c.shader||"Spherical3D"==c.shader))&&1==(0,window.parseInt)(c.displayMode,10),b=a||!b?null:this.Y.qo();g.T(this.element,"ytp-hd-quality-badge","hd720"==b||"hd1080"==b||"hd1440"==b);g.T(this.element,"ytp-4k-quality-badge","hd2160"==b);g.T(this.element,"ytp-5k-quality-badge","hd2880"==b);g.T(this.element,"ytp-8k-quality-badge","highres"==b);g.T(this.element,"ytp-3d-badge-grey",a&&c);g.T(this.element,"ytp-3d-badge",
a&&!c)};g.p(m1,g.d1);g.h=m1.prototype;g.h.Sp=function(a){return a.toString()};
g.h.Ne=function(a){return"1"==a?g.U("YTP_NORMAL_SPEED"):a.toString()};
g.h.gy=function(){var a=this.Y.ab();this.enable(2!=a&&3!=a)};
g.h.Ai=function(a){g.d1.prototype.Ai.call(this,a);a?(this.B=this.U(this.Y,"onPlaybackRateChange",this.gN),g.f1(this,(0,g.I)(this.Y.Uk(),this.Sp)),g.e1(this,this.Sp(this.Y.Fe()))):(this.Ba(this.B),this.B=null)};
g.h.gN=function(a){g.e1(this,this.Sp(a))};
g.h.hd=function(a){g.d1.prototype.hd.call(this,a);this.Y.Zk((0,window.parseFloat)(a),!0);this.A.eh()};g.p(o1,g.d1);o1.prototype.L=function(a){return a.option.toString()};
o1.prototype.Ne=function(a){return n1(this.J[a])};
o1.prototype.hd=function(a){g.d1.prototype.hd.call(this,a);this.V("settingChange",this.N,this.J[a].option)};
o1.prototype.M=function(a){this.V("settingChange",this.N+"Override",!a);this.A.eh()};g.p(p1,z_);p1.prototype.A=function(a,b){this.V("settingChange",a,b)};g.p(r1,g.d1);r1.prototype.F=function(a){return a.languageCode};
r1.prototype.Ne=function(a){return this.B[a].languageName||""};
r1.prototype.hd=function(a){this.V("select",a);F_(this.A)};g.p(s1,g.d1);g.h=s1.prototype;g.h.wr=function(a){return g.Tb(a)?"__off__":a.displayName};
g.h.Ne=function(a){return"__off__"==a?g.U("YTP_LANGUAGE_OFF"):"__translate__"==a?g.U("YTP_AUTO_TRANSLATE"):"__contribute__"==a?g.U("YTP_CONTRIBUTE_MENU_ITEM"):("__off__"==a?{}:this.B[a]).displayName};
g.h.hd=function(a){"__translate__"==a?this.F.open():"__contribute__"==a?(this.Y.xd(),this.Y.isFullscreen()&&g.pV(this.Y),a=this.Y.ha(),g.NV(g.Y(this.Y).baseYtUrl+"timedtext_video?ref=player&v="+a.videoId)):(this.Y.Ie("captions","track","__off__"==a?{}:this.B[a]),g.d1.prototype.hd.call(this,a),this.A.eh())};
g.h.wk=function(){var a=-1!=this.Y.Gj().indexOf("captions"),b=this.Y.ha().Ml,c,d;if(a||b){var e,f,k;if(a){c=this.Y.Zc("captions","track");d=this.Y.Zc("captions","tracklist",{includeAsr:!0});k=this.Y.Zc("captions","translationLanguages");this.B=g.Cb(d,this.wr,this);e=(0,g.I)(d,this.wr);if(k.length){f=this.F;var l=k;f.B=g.Cb(l,f.F,f);g.f1(f,(0,g.I)(l,f.F));e.push("__translate__")}f=this.wr(c)}else this.B={},e=[],f="__off__";e.unshift("__off__");this.B.__off__={};b&&e.unshift("__contribute__");this.B[f]||
(this.B[f]=c,e.push(f));g.f1(this,e);g.e1(this,f);a?(q1(this.J,this.Y.bl()),this.H.Jc(d.length?" ("+d.length+")":""),this.V("size-change"),a&&k.length&&this.g.__translate__.element.setAttribute("aria-disabled",!!g.Tb(c))):(this.H.Jc(""),this.V("size-change"));this.enable(!0)}else this.enable(!1)};
g.h.jy=function(a){this.Y.Ie("captions","sampleSubtitles",a)};
g.h.kO=function(a){var b=this.Y.Zc("captions","track"),b=Wb(b);b.translationLanguage=this.F.B[a];this.Y.Ie("captions","track",b)};
g.h.cK=function(a,b){if("reset"==a)this.Y.uB();else{var c={};c[a]=b;this.Y.Zs(c)}this.jy(!0);this.L.start();q1(this.J,this.Y.bl())};
g.h.P=function(){g.Lt(this.L);g.d1.prototype.P.call(this)};g.p(t1,B_);t1.prototype.og=function(a){u1(this);0<this.A.Na.length&&B_.prototype.og.call(this,a)};
t1.prototype.show=function(){B_.prototype.show.call(this);g.S(this.B.getRootNode(),"ytp-settings-shown")};
t1.prototype.oa=function(){B_.prototype.oa.call(this);g.cq(this.B.getRootNode(),"ytp-settings-shown")};g.p(x1,g.X);
x1.prototype.g=function(){var a=!1;-1!=this.Y.Gj().indexOf("remote")&&(a=1<this.Y.Zc("remote","receivers").length);this.Jb(a&&400<=g.nV(this.Y).Ya().width);var b=1;a&&this.Y.Zc("remote","casting")&&(b=2);if(this.A!=b){this.A=b;switch(b){case 1:this.Ca("icon",g.bE?{K:"div",ea:["ytp-icon","ytp-icon-cast-desktop-off"]}:{K:"svg",Z:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},O:[{K:"path",Ra:!0,Z:{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.Ca("icon",g.cE())}g.T(this.element,"ytp-remote-button-active",!!this.Y.Zc("remote","casting"))}};
x1.prototype.C=function(){g.tV(this.Y,"remote");if(this.Y.Zc("remote","quickCast"))this.Y.Ie("remote","quickCast",!0);else{var a=this.B,b=this.element;if(l_(a))a.Xb();else{u1(a);var c;a:{c=g.ia(a.A.Na);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.og(b));a.og(b)}}};g.p(y1,g.X);y1.prototype.F=function(){g.tV(this.g,this.g.app.ra?"size_small":"size_large");var a=this.g.app,b=!a.ra;a.X.experiments.g("player_legacy_set_size_style")&&$2(a,!0,b);a.g.ya("SIZE_CLICKED",b)};
y1.prototype.A=function(){this.Jb(this.g.app.oc&&!this.g.isFullscreen()&&3!=this.g.ab());if(this.o){var a=this.g.app.ra;if(this.B!=a){var b=a?g.bE?{K:"div",ea:["ytp-icon","ytp-icon-default-view"]}:{K:"svg",Z:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},O:[{K:"path",Ra:!0,Z:{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.bE?{K:"div",ea:["ytp-icon","ytp-icon-theater-mode"]}:{K:"svg",Z:{height:"100%",version:"1.1",viewBox:"0 0 36 36",
width:"100%"},O:[{K:"path",Ra:!0,Z:{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.g).aa||null==this.B?this.Ca("icon",b):z0(this.D,this.element,b);a=(this.B=a)?g.U("YTP_DEFAULT_VIEW"):g.U("YTP_THEATER_MODE");this.Ca("title",a);E0(this.C)}}};g.p(z1,g.X);z1.prototype.B=function(){g.tV(this.A,"subtitles");var a=g.fV(this.A).g;a&&a.HA()};
z1.prototype.g=function(){var a=!!g.fV(this.A).g;this.Jb(a&&300<=g.nV(this.A).Ya().width);a&&this.Ca("pressed",!!this.A.Zc("captions","track").displayName)};g.p(A1,g.X);
A1.prototype.C=function(){var a=g.nV(this.g).Ya().width,b=350<=a&&(!this.B||!g.W(g.mV(this.g),64));this.Jb(b);g.T(this.element,"ytp-time-display-allow-autohide",b&&400>a);a=this.g.nh();b&&(b=g.UV(a.current),this.G!=b&&(this.Ca("currenttime",b),this.G=b),b=g.UV(a.duration),this.H!=b&&(this.Ca("duration",b),this.H=b));this.B&&(a=a.isPeggedToLive,this.F!=a&&(this.F=a,this.C(),b=this.D.element,(b.disabled=a)?this.A&&(this.A(),this.A=null,b.removeAttribute("title")):(b.title=g.U("YTP_GOTO_LIVE_TOOLTIP"),this.A=
u_(this.J,this.D.element))))};
A1.prototype.M=function(a,b){this.B=b.Aa;g.T(this.element,"ytp-live",this.B);this.C()};
A1.prototype.L=function(a){a.target==this.D.element?(g.tV(this.g,"live"),this.g.ad(window.Infinity),this.g.He()):g.tV(this.g,"time")};
A1.prototype.P=function(){this.A&&this.A();g.X.prototype.P.call(this)};g.p(C1,g.X);g.h=C1.prototype;g.h.dK=function(){var a=this.F.Vd();this.G!=a&&(this.G=a,B1(this,this.g.getVolume(),this.g.Ge()))};
g.h.ld=function(a){this.Jb(350<=a.width)};
g.h.ZN=function(a){if(!g.SF(a)){var b=g.OF(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.Rd(c,0,100),0==c?this.g.mute():(this.g.Ge()&&this.g.xg(),this.g.setVolume(c)),g.UF(a))}};
g.h.eK=function(a){var b=a.deltaX||-a.deltaY;a.deltaMode?this.g.setVolume(this.C+(0>b?-10:10)):this.g.setVolume(this.C+g.Rd(b/10,-10,10));g.UF(a)};
g.h.YN=function(){g.tV(this.g,"volume");D1(this,this.B,!0,this.A,this.F.L);this.S=this.C;this.g.Ge()&&this.g.xg()};
g.h.XN=function(a){a-=g.oh(this.N).x;this.g.setVolume(100*g.Rd(a/(this.G?78:52),0,1))};
g.h.WN=function(){D1(this,this.B,!1,this.A,this.F.L);0==this.C&&(this.g.mute(),this.g.setVolume(this.S))};
g.h.fK=function(a){B1(this,a.volume,a.muted)};
g.h.av=function(){D1(this,this.B,this.D,this.A,this.F.L)};
g.h.ly=function(a){D1(this,this.B,this.D,a,this.F.L)};
g.h.qA=function(a){g.T(this.element,"ytp-volume-control-hover",a);D1(this,a,this.D,this.A,this.F.L)};
g.h.P=function(){g.X.prototype.P.call(this);g.cq(this.M,"ytp-volume-slider-active")};g.p(E1,g.X);E1.prototype.C=function(){this.A=!!this.g.ha().videoId;this.Jb(this.A);g.IV(this.g,this,this.A&&this.B);if(this.A){var a=this.g.getVideoUrl(!0,!1,!1,!0);this.Ca("url",a)}};
E1.prototype.D=function(a){g.tV(this.g,"youtube");var b=this.g.getVideoUrl(!g.VV(a),!1,!0,!0);dW(b,this.g,a);g.HV(this.g,this)};g.p(F1,g.OL);g.h=F1.prototype;g.h.ur=function(){var a=this.B;T0(a);var b=a.A.getCurrentTime();(b<a.M||b>a.L)&&a.nn();this.M.C()};
g.h.iy=function(){this.Ds();!this.L.o||this.ur()};
g.h.aM=function(){this.ur();this.F.start()};
g.h.Ds=function(){var a;if(a=!g.Y(this.Y).isMobile){a=this.B;var b=2*a.C*g.TO();a=300>1E3*a.g.getLength()/a.A.Fe()/b}a=a&&g.mV(this.Y).vb()&&!!window.requestAnimationFrame;b=!a;this.L.o||(a=b=!1);b?this.G||(this.G=this.U(this.Y,"progresssync",this.ur)):this.G&&(this.Ba(this.G),this.G=null);a?this.F.isActive()||this.F.start():this.F.stop()};
g.h.hQ=function(a){P1(this.A.o,!a)};
g.h.vr=function(){var a=this.A.Vd(),b=g.nV(this.Y).Ya(),c=H1(this),d=Math.max(b.width-2*c,100);if(this.aa!=b.width||this.S!=a){this.aa=b.width;this.S=a;var e=I1(this);this.o.element.style.width=e+"px";this.o.element.style.left=c+"px";var f=this.B;f.Mb=c;f.C=e;f.H=a;R0(f);this.A.o.da=e}c=this.g;b=Math.min(413*(a?1.5:1),Math.round(.82*(b.height-(this.A.Vd()?72:50))));c.N=Math.min(570*(a?1.5:1),d);c.M=b;c.bo();this.Ds()};
g.h.pa=function(){return this.o.element};g.p(g.J1,g.X);g.J1.prototype.A=function(){g.S(this.element,"ytp-sb-subscribed")};
g.J1.prototype.B=function(){g.cq(this.element,"ytp-sb-subscribed")};
g.J1.prototype.P=function(){this.Y&&(this.Y.removeEventListener("SUBSCRIBE",this.A,this),this.Y.removeEventListener("UNSUBSCRIBE",this.B,this));g.X.prototype.P.call(this)};g.p(K1,g.X);K1.prototype.L=function(a){g.tV(this.g,"title");g.HV(this.g,this);var b=this.g.getVideoUrl(!g.VV(a),!1,!0);dW(b,this.g,a)};
K1.prototype.M=function(a,b,c){var d=c.user_info;if(d){b=d.channel_logo_url||d.image_url;c=d.channel_title||d.username;var e=d.channel_url,f=d.channel_external_id,d=d.subscriber_count;b&&e&&c&&g.UP.test(b)&&L1(this,a,f,c,e,b,d)}};
K1.prototype.C=function(){M1(this);var a=this.g.ha();this.Ca("title",a.title);this.A&&(this.A.g=a.Rk);var b=g.Y(this.g);if(b.experiments.g("embed_view_count")){var c=a.shortViewCount;g.T(this.g.getRootNode(),"ytp-show-title-view-count",!!c);this.Ca("viewCount",c)}!b.H&&a.videoId?(this.Ca("url",this.g.getVideoUrl(!0)),this.B||(this.B=this.U(this.J,"click",this.L))):this.B&&(this.Ca("url",null),this.Ba(this.B),this.B=null)};g.p(N1,g.X);g.h=N1.prototype;g.h.LM=function(a){3==this.g&&this.Ud();a=a.currentTarget;this.g||(a.removeEventListener("mouseover",this.N),a.addEventListener("mouseout",this.fa),Q1(this,a,2))};
g.h.JM=function(a){(a=QF(a))&&g.Fe(this.A,a)||this.Ud()};
g.h.ky=function(a,b){if(a<=this.C&&this.C<=b){var c=this.C;this.C=window.NaN;U1(this,c)}};
g.h.BI=function(){hQ(this.B,this.C,160*this.D)};
g.h.Ud=function(){switch(this.g){case 2:this.A.removeEventListener("mouseout",this.fa),this.A.addEventListener("mouseover",this.N);case 3:3==this.g&&this.aa.stop();this.M.removeEventListener("appresize",this.Ud,this);this.L||this.A.setAttribute("title",this.F);this.F="";this.A=null;break;case 1:this.B&&(this.B.unsubscribe("l",this.ky,this),this.B=null),this.M.removeEventListener("videoready",this.Ud,this),this.S.stop()}this.g=null;this.J&&g.aW(this.H)};
g.h.ti=function(a){if(this.A)for(var b=0;b<arguments.length;b++)g.Fe(arguments[b],this.A)&&this.Ud()};
g.h.P=function(){null!=this.g&&this.Ud();g.X.prototype.P.call(this)};g.u("yt.pubsub.publish",g.oG,void 0);g.p(Y1,g.X);g.h=Y1.prototype;g.h.ld=function(a){this.C=300<=a.width;this.Jb(this.C);a=480<a.width;var b=g.Y(this.g);b.experiments.g("enable_watch_later_button_title")&&b.A&&(g.T(this.F,"ytp-show-watch-later-title",a),this.Ca("watch_later",a?g.U("YTP_WATCH_LATER"):""));g.IV(this.g,this,this.C&&this.H)};
g.h.GO=function(){this.A=!0;this.B=!1;X1(this,1);g.Y(this.g).isMobile&&R1(this.G,this.element);g.Y(this.g).Hb&&this.g.ya("WATCH_LATER_VIDEO_ADDED")};
g.h.gK=function(){g.tV(this.g,"watchlater");g.HV(this.g,this);var a=this.g.ha().videoId;g.Y(this.g).tc?W1(this,a):g.V1(function(){jJ({videoId:a});window.location.reload()},null,"wl_button",800,600)};
g.h.HO=function(a,b){this.B=!1;var c=g.U("YTP_ERROR_GENERIC_WITHOUT_LINK");b&&(c=b.errors&&b.errors.length?b.errors[0]:b.error_message);X1(this,4,c);g.Y(this.g).Hb&&this.g.ya("WATCH_LATER_ERROR",c)};
g.h.IO=function(){this.B=this.A=!1;X1(this,2);g.Y(this.g).Hb&&this.g.ya("WATCH_LATER_VIDEO_REMOVED")};
g.h.hK=function(){this.B=this.A=!1;X1(this,2)};
g.h.P=function(){g.X.prototype.P.call(this);g.cq(this.F,"ytp-watch-later-button-visible")};g.p(Z1,g.X);Z1.prototype.D=function(a){this.Jb(!g.W(a.state,2))};
Z1.prototype.B=function(){if(this.A.ha().videoId){var a=this.A.getVideoUrl(!0,!1,!1,!0);this.Ca("url",a);this.g||(this.g=this.T("click",this.C))}else this.g&&(this.Ca("url",null),this.Ba(this.g),this.g=null)};
Z1.prototype.C=function(a){var b=this.A.getVideoUrl(!g.VV(a),!1,!0,!0);dW(b,this.A,a)};g.p($1,n_);g.h=$1.prototype;g.h.Ip=function(a,b){b?this.S=a:this.S=null;this.vg()};
g.h.Jp=function(a,b){if(b)this.H.push(a);else for(var c=this.H.length;0<=c;c--)if(this.H[c]==a){this.H.splice(c,1);break}this.B.qc(64,0<this.H.length)};
g.h.vj=function(){g.uV(this.g)&&g.vV(this.g);return!!this.S||n_.prototype.vj.call(this)};
g.h.vg=function(){var a=!this.vj(),b=a&&g.uV(this.g)&&!g.W(g.mV(this.g),2);a?(this.Qa.show(),this.Ta.show()):(g.aW(this.Qa),g.aW(this.Ta),this.o.ti(this.C.element,this.G.element));b?this.G.A.show():g.aW(this.G.A);g.T(this.C.element,"ytp-cards-available",b);this.A&&G1(this.A,!a);n_.prototype.vg.call(this)};
g.h.Ar=function(a){a&&(this.o.ti(this.C.element,this.G.element),this.A&&this.o.ti(this.A.pa()));n_.prototype.Ar.call(this,a)};
g.h.nJ=function(a){var b=this.g.getRootNode();a?b.parentElement?(b.setAttribute("aria-label",g.U("YTP_PLAYER_FULLSCREEN")),b.parentElement.insertBefore(this.da.element,b),b.parentElement.insertBefore(this.ca.element,b.nextSibling)):g.zE(Error("Player not in DOM.")):(b.setAttribute("aria-label",g.U("YTP_PLAYER_NORMAL")),this.da.detach(),this.ca.detach());this.zb();this.hi()};
g.h.Vd=function(){return this.g.isFullscreen()||g.En&&g.Y(this.g).experiments.g("html5_prefer_standard_controls_big")};
g.h.zb=function(){var a=this.Vd();this.o.D=a?1.5:1;g.T(this.J.element,"ytp-big-mode",a);n_.prototype.zb.call(this)};
g.h.hi=function(){n_.prototype.hi.call(this);g.IV(this.g,this.Ja,!!this.M);var a=this.Pa,b=!!this.M;a.D=b;g.IV(a.g,a,a.B&&b);this.na&&(a=this.na,b=!!this.M,a.H=b,g.IV(a.g,a,a.C&&b));if(!this.M)for(this.o.ti(this.C.element,this.G.element),a=0;a<this.ka.length;a++)b=this.ka[a],l_(b)&&b.Xb()};
g.h.Pn=function(a){this.A&&G1(this.A,this.vj());n_.prototype.Pn.call(this,a)};
g.h.UM=function(){this.B.qc(128,!1)};
g.h.im=function(){return this.J.o?(this.J.Xb(),!0):this.H.length?(this.H[this.H.length-1].Xb(),!0):this.S?(this.S.Xb(),!0):n_.prototype.im.call(this)};
g.h.IP=function(a,b){this.wb=b;this.Jp(a,b);this.Sx()};
g.h.Sx=function(){var a=this.wb||l_(this.J);this.Ea!=a&&(this.Ea=a,this.g.ya("onAutonavPauseRequest",this.Ea))};
g.h.aG=function(){a2(this,this.g.getRootNode(),!0).focus()};
g.h.bG=function(){a2(this,this.g.getRootNode(),!1).focus()};b2.prototype.click=function(a){a=a.element.getAttribute("data-visual-id");g.FV(this,"onLogVeClicked",{id:a})};
b2.prototype.F=function(a){var b=a.element.getAttribute("data-visual-id");g.jb(this.A,a);g.jb(this.o,b);g.jb(this.g,b);a.element.removeAttribute("data-visual-id")};
b2.prototype.pause=function(){this.B=!0};
b2.prototype.resume=function(){this.B=!1;for(var a=g.ia(this.C),b=a.next();!b.done;b=a.next())b=b.value,g.FV(this,b.type,b.data);this.C.length=0};g.C(c2,g.M);c2.D="defaultcontext";c2.g={};c2.A="appapi";c2.o="appad";c2.F=5;c2.create=function(a,b){try{var c=c2.C(a);if(c2.g[c]){try{c2.g[c].dispose()}catch(e){g.zE(e)}c2.g[c]=null}var d=new c2(a,b);g.Se(d,function(){c2.g[c]=null});
return c2.g[c]=d}catch(e){throw g.zE(e),e.stack;}};
c2.C=function(a){return g.z(a)?a:"player"+g.xa(a)};
g.h=c2.prototype;g.h.NK=function(){f2(this)||g.u2(this,5)};
g.h.hN=function(a){f2(this)||(U2(this),eR(a.A)&&fZ(this))};
g.h.hg=function(){var a=this.C?this.C.Yp():{},b=this.A,c={};b.g&&g.za(c,b.g.hS());g.za(a,c);(b=this.A.o)&&g.za(a,b.tt());a.fs=this.g.isFullscreen();a.volume=Math.round(this.G.getVolume());a.mos=this.G.Ge()?1:0;this.X.experiments.g("html5_enable_embedded_player_visibility_signals")&&this.X.A&&(this.Mb&&(b=this.Mb,b=null==b.o?null:Math.round(100*b.o)/100,null!=b&&(a.inview=b)),b=this.D.Ya(),0<b.height&&0<b.width&&(b=[Math.round(b.height),Math.round(b.width)],c=g.TO(),1<c&&b.push(c),a.size=b.join(":")));
return a};
g.h.getCurrentTime=function(a){return 3==jV(this)?g.kV(this.A).getCurrentTime():(a=g.lV(this,a))?a.getCurrentTime():0};
g.h.getDuration=function(a){return(a=g.lV(this,a))?a.getDuration():0};
c2.B=function(a,b,c){for(var d in b)a[c+d]=b[d];return a};
g.h=c2.prototype;
g.h.MQ=function(a){switch(a.type){case "loadedmetadata":HP("fvb",this.H.g)||this.H.o("fvb");g.rP("fvb",void 0,"video_to_ad");this.qb.start();break;case "loadstart":HP("gv",this.H.g)||this.H.o("gv");g.rP("gv",void 0,"video_to_ad");break;case "progress":case "timeupdate":!HP("l2s",this.H.g)&&2<=nL(AL(a.target))&&this.H.o("l2s");break;case "playing":g.WO&&this.qb.start();var b=this.A.B;a="none"==gh(this.F.g,"display")||0==g.wh(this.F.g).Lc();b=!zZ(this.D)||b||!this.X.F||this.X.xh;a&&!b&&(this.C.he("hidden",
"1",!0),m2(this).ai||a3(this,"hidden",!0))}};
g.h.lM=function(a,b){this.g.ya("onLoadProgress",b)};
g.h.aO=function(){this.g.V("playbackstalledatstart")};
g.h.NQ=function(a,b){this.g.ya("onVideoProgress",b)};
g.h.KQ=function(){this.G.V("progresssync")};
g.h.PK=function(a){!this.X.experiments.g("disable_live_head_slowdown")&&0<gK(a,1)&&!g.W(a.state,64)&&this.o.g.Aa&&MU(this.o)&&1<this.g.Fe()&&z2(this,1,!0);var b;if(b=0<gK(a,2))this.B&&("embedded"==this.X.g||this.g.isFullscreen()&&!this.sa)&&g.ZZ(this)?(R2(this,!1,!this.X.experiments.g("legacy_autoplay_flag")),b=!0):b=!1,b=!b;b&&(b=this.o.o)&&FF(b.g);g.W(a.state,128)&&(b=a.state,J2(this),b=b.g,this.g.ya("onError",wpa[b.errorCode]||5),this.g.ya("onDetailedError",b));a.state.vb()&&!g.gR(a.state)&&(b=
m2(this),g.sP("cpn",b.clientPlaybackNonce,"ad_to_video"),b.videoId&&g.sP("docid",b.videoId,"ad_to_video"),b.playbackId&&g.sP("plid",b.playbackId,"ad_to_video"),g.rP("pbresume",void 0,"ad_to_video"));this.g.V("applicationplayerstatechange",a)};
g.h.zz=function(a){3!=jV(this)&&(!g.W(a.state,32)&&0>gK(a,16)&&(!g.W(a.state,8)||g.W(a.state,64)||this.F.g.ended||g.W(a.state,2)||fZ(this)),this.g.V("presentingplayerstatechange",a))};
g.h.JQ=function(a){x2(this,QJ(a.state))};
g.h.LK=function(a){"newdata"==a&&C2(this)};
g.h.RK=function(){this.g.ya("onPlaybackAudioChange",this.g.ji().Nc.name)};
g.h.xO=function(a){a==this.C.g&&this.g.ya("onPlaybackQualityChange",a.Ma.video.quality)};
g.h.Ws=function(a,b,c){if("newdata"==a)qZ(this.A),this.g.V("videoplayerreset",b);else{if(!this.F)return;if("dataloaded"==a)if(b.X.Sf(c.Ub),this.C==this.o){if(this.X.experiments.g("disable_sap_error_check")||!this.o.A.isError()){var d=f2(this);if(d||!this.o.g.Cw||this.X.isMobile){var e=this.o.g;if(!HQ(e)||d||uQ(this.o.g))e.Ob(),d&&g.u2(this,6),n2(this),d||(e=this.A.o)&&!e.D&&this.A.Y.ha(1).adModule&&this.A.o.create();else{var d=e.Aa&&!g.VN()?"html5.unsupportedlive":"fmt.noneavailable",f="YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK";
(!KO(this.X)||yoa||fF()?0:g.sc||e.Tc&&wi)&&(f=e.Tc?"YTP_HTML5_PROTECTED_FLASH_FALLBACK":"YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK_FLASH");g.rU(this.o,d,f,"nosupported.1;f18."+ +(0<=e.lh.indexOf("itag=18"))+";f43."+ +(0<=e.lh.indexOf("itag=43")))}}else e="YTP_DEVICE_FALLBACK",(!KO(this.X)||yoa||fF()?0:g.sc)&&(e="YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK_FLASH"),g.rU(this.o,"html5.unsupportedads",e,void 0)}}else n2(this);1==b.getPlayerType()&&(this.X.L&&(m2(this).Fl?(e=this.F,e.C=!0,hL(),e.g.muted=!0):
(this.F.C=!1,rJ(this,this.L))),m2(this).Aa&&!this.X.Zq&&g.rU(this.o,"html5.unsupportedlive","YTP_DEVICE_FALLBACK",void 0),c.Ob()&&(c.Bn||c.kr||c.oe.focEnabled||c.oe.rmktEnabled||m2(this).Wo)&&(e=m2(this),F2(this,"part2viewed",1,0x8000000000000),F2(this,"engagedview",Math.max(1,1E3*e.tf),0x8000000000000),e.Aa||(e=1E3*e.lengthSeconds,F2(this,"videoplaytime25",.25*e,e),F2(this,"videoplaytime50",.5*e,e),F2(this,"videoplaytime75",.75*e,e),F2(this,"videoplaytime100",e,0x8000000000000),F2(this,"conversionview",
e,0x8000000000000))));this.g.V("videodatachange",a,c,b.getPlayerType())}this.X.Hb&&this.g.ya("onVideoDataChange",{type:a,playertype:b.getPlayerType()});a=c.clientScreenNonce;c=c.rootVeType;!this.X.experiments.g("player_change_screen_killswitch")&&a&&c&&(b=this.ba,a!=b.D&&(b.D=a,g.FV(b,"onScreenChanged",{csn:a,root_ve_type:c}),b.g.length&&g.FV(b,"onLogVesShown",{ids:b.g}),b.o=g.nb(b.g)))};
g.h.Rl=function(){q2(this,null);this.g.ya("onPlaylistUpdate")};
g.h.Jy=function(a){var b=a.getId(),c=this.o.g;if("part2viewed"==b)c.Nz&&g.hF(c.Nz),c.kr&&g.hF(c.kr);else if("conversionview"==b){var d=this.o;d.C&&eK(d.C)}else"engagedview"==b&&g.hF(c.Bn);c.kj&&(d=G2(this,c.kj,a.getId()),g.hF(d));switch(b){case "videoplaytime25":c.Dx&&g.hF(c.Dx);g.hF(c.dP);break;case "videoplaytime50":c.Ex&&g.hF(c.Ex);g.hF(c.eP);break;case "videoplaytime75":c.Fx&&g.hF(c.Fx);g.hF(c.fP);break;case "videoplaytime100":c.Cx&&g.hF(c.Cx),g.hF(c.cP)}(b=m2(this).Wo)&&b[a.getId()]&&(c=b[a.getId()],
g.hF(c,void 0,GM(c)),b=b[a.getId()+"gaia"],g.hF(b,void 0,GM(b)));this.o.D.F(a)};
g.h.isPeggedToLive=function(){return this.o.isPeggedToLive()};
g.h.LQ=function(a,b){var c=a.g;if(1==this.M||2==this.M)c.startSeconds=b;2==this.M?s2(this):this.g.V("seekto",b)};
g.h.CK=function(){this.g.V("airplayactivechange")};
g.h.DK=function(){this.g.V("airplayavailabilitychange")};
g.h.XK=function(){this.g.V("beginseeking")};
g.h.ML=function(){this.g.V("endseeking")};
g.h.Gr=function(){var a=this.B.dc(),b=m2(this);b.dh||!this.ca?(b=b.Ef,a=H2(this,a),b&&L2(this,a)):a&&M2(this,a);this.g.ya("onPlaylistUpdate")};
g.h.JK=function(a){this.g.ya("onCueRangeEnter",a.getId())};
g.h.KK=function(a){this.g.ya("onCueRangeExit",a.getId())};
g.h.OK=function(){this.da||(this.da=hP(this.Qy,this));NP(this.H,kZ(this));if(this.X.experiments.g("html5_playlist_preload")&&g.ZZ(this)){var a=this.B.dc(SQ(this.B));a&&K2(this,a,1,!1)}};
g.h.MK=function(){var a=this.o.g,b=this.o.D.g.g||[],c=this.Ta.videoplaytime100;this.X.experiments.g("send_pyv_ad_mt_and_abandon_pings")&&a.kj&&0<=b.indexOf(c)&&(a=G2(this,a.kj,"video_abandon"),g.hF(a))};
g.h.eM=function(){this.G.V("internalAbandon")};
g.h.Qy=function(a){a=a.g;if(!(0,window.isNaN)(a)&&0<a&&this.o){var b=this.o;b.C&&0<a&&(b.C.o.o.aft=[a])}};
g.h.FM=function(){this.zr()};
g.h.GM=function(){this.zr()};
g.h.zr=function(){this.X.Hb&&this.C?this.g.ya("onApiChange",this.C.getPlayerType()):this.g.ya("onApiChange")};
g.h.CM=function(){var a={volume:g.Rd(Math.floor(100*this.F.getVolume()),0,100),muted:this.F.g.muted};a.muted||v2(this,!1);this.L=Wb(a);this.g.ya("onVolumeChange",a)};
g.h.TL=function(){var a=g.EF();X2(this,a==this.D.element?1:0);W2(this,!!a&&g.Fe(this.D.element,a))};
g.h.FN=function(){2!=this.Wa&&X2(this,g.EF()==this.D.element?1:0)};
g.h.kM=function(a){3!=jV(this)&&this.g.V("liveviewshift",a)};
g.h.EN=function(a){var b=g.xZ(this.D);g.Sg(this.ac,b)||(this.ac=b,this.C&&TU(this.C,"r"),!this.X.experiments.g("disable_app_resize")&&this.o&&this.o!=this.C&&TU(this.o,"r"),1==this.Wa&&this.Ea&&W2(this,!0));this.Eb&&g.Zd(this.Eb,a)||(this.g.V("appresize",a),this.Eb=a)};
g.h.Dd=function(){return this.G.Dd()};
g.h.UN=function(){a3(this,"signature")};
g.h.OM=function(){j2(this);i2(this)};
g.h.vL=function(){this.g.ya("CONNECTION_ISSUE")};
g.h.IQ=function(a){this.g.V("heartbeatparams",a)};
g.h.Ej=function(){var a=this.g.isFullscreen()||HO(this.X),b=this.g.app.X.Ab;return wV(this.g)?4:dU()?3:a?2:b?1:0};
g.h.P=function(){this.o.dispose();j2(this);g.Ue(g.Nb(this.Qa),this.B);g.fP(this.da);this.da=0;c2.R.P.call(this)};g.u("yt.player.Application.create",c2.create,void 0);var Kpa=g.w("ytcsi.tick");Kpa&&Kpa("pe");/*
 gapi.loader.OBJECT_CREATE_TEST_OVERRIDE &&*/
var w3=window,q3=window.document,$na=w3.location,Zna=/\[native code\]/,u3=b3(w3,"gapi",{});var d3;d3=b3(w3,"___jsl",c3());b3(d3,"I",0);b3(d3,"hel",10);var h3=b3(d3,"perf",c3());b3(h3,"g",c3());var boa=b3(h3,"i",c3());b3(h3,"r",[]);c3();c3();var k3=c3(),t3=[];t3.push(["jsl",function(a){for(var b in a)if(Object.prototype.hasOwnProperty.call(a,b)){var c=a[b];"object"==typeof c?d3[b]=b3(d3,b,[]).concat(c):b3(d3,b,c)}if(b=a.u)a=b3(d3,"us",[]),a.push(b),(b=/^https:(.*)$/.exec(b))&&a.push("http:"+b[1])}]);
var joa=/^(\/[a-zA-Z0-9_\-]+)+$/,m3=[/\/amp\//,/\/amp$/,/^\/amp$/],loa=/^[a-zA-Z0-9\-_\.,!]+$/,hoa=/^gapi\.loaded_[0-9]+$/,koa=/^[a-zA-Z0-9,._-]+$/,eoa=/^https?:\/\/[a-z0-9_.-]+\.google\.com(:\d+)?\/[a-zA-Z0-9_.,!=\-\/]+$/,doa=/\/cb=/g,coa=/\/\//g;k3.m=function(a,b,c,d){(a=a[0])||j3("missing_hint");return"https://apis.google.com"+ioa(a,b,c,d)};
var r3=(0,window.decodeURI)("%73cript"),p3=/^[-+_0-9\/A-Za-z]+={0,2}$/;u3.load=function(a,b){return qoa(function(){return v3(a,b)})};g.y3.prototype.B=function(){var a=g.w("gapi.config.update");a("googleapis.config/auth/useFirstPartyAuth",!0);a("googleapis.config/auth/useFirstPartyAuthV2",!0);var b=this.g.apiaryHost;D(g.E(b))||a("googleapis.config/root",(-1==b.indexOf("://")?"//":"")+b);b=this.g.hp;D(g.E(b))||a("googleapis.config/root-1p",(-1==b.indexOf("://")?"//":"")+b);b=g.YD("SESSION_INDEX");a("googleapis.config/sessionIndex",b);g.w("gapi.client.setApiKey")(this.g.innertubeApiKey)};
g.y3.prototype.o=function(){return{context:GG(this.g)}};
g.y3.prototype.A=function(a,b,c){var d,e=!1;0<c.timeout&&(d=g.GE(function(){e||(e=!0,c.Xc&&c.Xc())},c.timeout));
uoa(this,a,b,function(a){if(!e)if(e=!0,d&&g.EE(d),a)c.Lb&&c.Lb(a);else if(c.onError)c.onError()})};
var x3=null;})(_yt_player);
